/* Contextual Help Panel - unified informational messages */
.erp-contextual-help {
    position: relative;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 2.5rem 0.75rem 0.875rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid #c8ddf0;
    background: #f4f9fd;
    color: #2c5282;
    font-size: 0.875rem;
    line-height: 1.55;
    box-shadow: none;
}

[dir="rtl"] .erp-contextual-help {
    padding: 0.75rem 0.875rem 0.75rem 2.5rem;
}

.erp-contextual-help--important {
    border-color: #e8d4a8;
    background: #fdfaf3;
    color: #744210;
}

.erp-contextual-help.is-hidden {
    display: none !important;
}

.erp-contextual-help__icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.1rem;
    color: #3182ce;
    font-size: 1.15rem;
    line-height: 1;
}

.erp-contextual-help--important .erp-contextual-help__icon {
    color: #b7791f;
}

.erp-contextual-help__body {
    flex: 1;
    min-width: 0;
}

.erp-contextual-help__title {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: inherit;
}

.erp-contextual-help__message {
    color: inherit;
    opacity: 0.95;
}

.erp-contextual-help__message p:last-child,
.erp-contextual-help__message ul:last-child {
    margin-bottom: 0;
}

.erp-contextual-help__tips {
    margin: 0.45rem 0 0;
    padding-inline-start: 1.15rem;
    font-size: 0.8125rem;
    opacity: 0.9;
}

.erp-contextual-help__actions {
    margin-top: 0.45rem;
}

.erp-contextual-help__hide-forever {
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    font-size: 0.75rem;
    text-decoration: underline;
    opacity: 0.75;
    cursor: pointer;
}

.erp-contextual-help__hide-forever:hover {
    opacity: 1;
}

.erp-contextual-help__close {
    position: absolute;
    top: 0.45rem;
    inset-inline-end: 0.55rem;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.55;
    cursor: pointer;
}

.erp-contextual-help__close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

/* Legacy alert-info upgraded in place */
.alert.alert-info.erp-contextual-help--legacy {
    position: relative;
    padding: 0.75rem 2.5rem 0.75rem 0.875rem;
    border-radius: 8px;
    border: 1px solid #c8ddf0 !important;
    background: #f4f9fd !important;
    color: #2c5282 !important;
    box-shadow: none;
}

[dir="rtl"] .alert.alert-info.erp-contextual-help--legacy {
    padding: 0.75rem 0.875rem 0.75rem 2.5rem;
}

.alert.alert-info.erp-contextual-help--legacy > .fa,
.alert.alert-info.erp-contextual-help--legacy > .fas,
.alert.alert-info.erp-contextual-help--legacy > .far,
.alert.alert-info.erp-contextual-help--legacy > i:first-child {
    color: #3182ce !important;
}

.alert.alert-info.erp-contextual-help--legacy .erp-contextual-help__hide-forever {
    display: block;
    margin-top: 0.35rem;
}
