/* Кнопка «?» у заголовка колонки или поля и окно пояснения к ней
   (assets/js/helpTip.js, templates/partials/help_tip.html.twig) */
.help-tip-button {
    margin-left: 0.25rem;
    padding: 0;
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 0.85em;
    line-height: 1;
    vertical-align: baseline;
    cursor: pointer;
}

.help-tip-button:hover,
.help-tip-button[aria-expanded="true"] {
    color: var(--accent-color, #3498db);
}

.help-tip {
    position: fixed;
    z-index: 1080;
    width: min(320px, calc(100vw - 16px));
    padding: 0.75rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    color: #334155;
}

.help-tip[hidden] {
    display: none;
}

.help-tip p {
    margin: 0 0 0.5rem;
}

.help-tip p:last-child {
    margin-bottom: 0;
}

.help-tip__title {
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: #2c3e50;
}

.help-tip__example {
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.08);
    color: #9a3412;
}

.help-tip__note {
    font-size: 0.78rem;
    color: #7f8c8d;
}
