[data-help-tooltip] {
    position: relative;
    cursor: help;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(245, 166, 35, 0.3);
    background: rgba(245, 166, 35, 0.08);
    color: #f5a623;
    font-size: 10px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
    margin-left: 4px;
    transition: background 0.15s ease, border-color 0.15s ease;
    user-select: none;
}

[data-help-tooltip]:hover {
    background: rgba(245, 166, 35, 0.16);
    border-color: rgba(245, 166, 35, 0.5);
}

[data-help-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: 320px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(16, 24, 40, 0.98);
    border: 1px solid rgba(245, 166, 35, 0.2);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5000;
}

[data-help-tooltip]:hover::after {
    opacity: 1;
}

[data-help-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(245, 166, 35, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5000;
}

[data-help-tooltip]:hover::before {
    opacity: 1;
}
