.page-help-host {
    position: relative;
    display: flex;
    align-items: center;
}

.page-help-details {
    position: relative;
}

.page-help-trigger {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid #d8e0e8;
    border-radius: 50%;
    background: #fff;
    color: #334155;
    cursor: pointer;
    list-style: none;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.page-help-trigger::-webkit-details-marker {
    display: none;
}

.page-help-trigger:hover,
.page-help-details[open] > .page-help-trigger {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.page-help-trigger:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}

.page-help-question {
    font-family: Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 650;
    line-height: 1;
}

.page-help-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-help-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    z-index: 1200;
    width: min(24rem, calc(100vw - 2rem));
    max-height: min(72vh, 34rem);
    overflow-y: auto;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 48px rgb(15 23 42 / 18%);
    color: #334155;
    white-space: normal;
}

.page-help-heading {
    margin-bottom: 0.85rem;
}

.page-help-kicker {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.page-help-heading h2 {
    margin: 0.25rem 0 0;
    color: #172033;
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1.35;
}

.page-help-description {
    margin: 0 0 0.85rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
}

.page-help-panel ol {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.2rem;
    color: #334155;
    font-size: 0.87rem;
    line-height: 1.5;
}

.page-help-panel li::marker {
    color: #2563eb;
    font-weight: 700;
}

.page-help-hint {
    margin: 1rem 0 0;
    padding: 0.75rem 0.85rem;
    border-radius: 0.7rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.5;
}

.page-help-close-hint {
    margin: 0.85rem 0 0;
    color: #94a3b8;
    font-size: 0.72rem;
}

@media (max-width: 480px) {
    .page-help-panel {
        position: fixed;
        top: 4rem;
        right: 0.75rem;
        max-height: calc(100vh - 5rem);
    }
}
