.help-info { position: relative; display: inline-grid; place-items: center; flex: none; width: 44px; min-width: 44px; height: 44px; padding: 0; background: transparent; color: var(--mint); font-size: 13px; font-weight: 650; border: 0; border-radius: 50%; }
.help-info::before { content: ''; position: absolute; width: 19px; height: 19px; border: 1px solid currentColor; border-radius: 50%; pointer-events: none; }
.help-label { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
.help-label label { margin: 0; }
.help-field-heading { display: flex; align-items: center; min-height: 44px; }
.help-field-heading label { margin: 0; }
.help-field-heading + .field { margin-top: 3px; }
.sheet-heading > .help-info { margin-left: auto; }
.program-actions > .help-info { flex: 0 0 44px; }
.help-header-button { min-height: 44px; gap: 8px; color: var(--mint); font-size: 12px; letter-spacing: .2px; }
.help-header-button svg { width: 20px; height: 20px; }
.help-dialog { position: fixed; inset: var(--help-top, 0px) 0 auto auto; margin: 0; padding: 0; width: min(540px, 100vw); height: var(--help-height, 100dvh); max-width: 100vw; max-height: var(--help-height, 100dvh); border: 0; border-left: 1px solid var(--line); border-radius: 0; background: var(--bg); color: var(--text); overflow: hidden; }
.help-dialog[open] { display: flex; flex-direction: column; animation: help-enter .18s ease-out; }
.help-dialog::backdrop { background: #02070580; }
.help-heading { display: flex; align-items: center; gap: 12px; flex: none; padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); }
.help-heading h2 { flex: 1; margin: 0; font-size: 18px; }
.help-heading button, .help-player button, .help-tip button { min-width: 44px; min-height: 44px; }
.help-heading .sheet-close { background: var(--raised); border-radius: 50%; }
.help-content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 18px max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left)); scrollbar-width: thin; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.help-content h3 { margin: 24px 0 10px; font-size: 16px; line-height: 1.45; scroll-margin-top: 12px; }
.help-content p { margin: 12px 0; }
.help-content a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.help-content li + li { margin-top: 8px; }
.help-content ul, .help-content ol { padding-left: 24px; }
.help-headphones { padding: 14px; background: var(--raised); border-left: 3px solid var(--mint); border-radius: 6px; margin-bottom: 18px; }
.help-headphones p { margin: 4px 0 0; color: var(--soft); }
.help-section { border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.help-section > summary, .help-question > summary { min-height: 48px; padding: 14px 0; color: var(--text); font-weight: 600; cursor: pointer; }
.help-section > summary::marker, .help-question > summary::marker { color: var(--mint); }
.help-section-body { padding-bottom: 18px; }
.help-question { margin-left: 4px; }
.help-question > summary { font-size: 14px; }
.help-table { max-width: 100%; overflow-x: auto; scrollbar-width: thin; margin: 16px 0; }
.help-table table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 13px; }
.help-table th, .help-table td { padding: 10px 8px; vertical-align: top; text-align: left; border: 1px solid var(--line); overflow-wrap: anywhere; }
.help-table th { background: var(--raised); color: var(--mint); }
.help-player { display: flex; align-items: center; gap: 12px; flex: none; padding: 12px max(18px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: var(--panel); }
.help-player > div { flex: 1; min-width: 0; }
.help-player p { margin: 0 0 4px; font-size: 12px; overflow-wrap: anywhere; }
.help-player time { font-size: 13px; color: var(--mint); font-variant-numeric: tabular-nums; }
.help-player .stop-button { width: 48px; height: 48px; padding: 12px; border-radius: 50%; flex: none; }
.help-player svg { width: 100%; height: 100%; }
.now-playing { position: relative; padding-right: 38px; }
.now-playing > .help-info { position: absolute; right: -4px; top: 0; }
.now-playing.player-help-hidden { padding-right: 0; }
.help-tip-dismiss { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; color: var(--soft); font-size: 13px; cursor: pointer; }
.help-tip-dismiss input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--mint); }
.help-back { color: var(--mint); background: none; padding: 8px; font-size: 12px; }
.help-tip { max-width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 20px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 18px; }
.help-tip::backdrop { background: #02070555; }
.help-tip-heading { display: flex; gap: 12px; align-items: center; }
.help-tip-heading h2 { flex: 1; font-size: 17px; }
.help-tip p { line-height: 1.65; }
.help-content :focus-visible, .help-info:focus-visible, .help-heading button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
@keyframes help-enter { from { transform: translateX(20px); opacity: .5; } to { transform: translateX(0); opacity: 1; } }
@media (max-width: 600px) { .help-dialog { width: 100vw; border: 0; } .help-heading { flex-wrap: wrap; } .help-heading h2 { min-width: 110px; } }
@media (max-height: 450px) { .help-heading { padding-top: 6px; padding-bottom: 6px; } .help-content { padding-top: 8px; } .help-player { padding-top: 6px; padding-bottom: max(6px, env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .help-dialog[open] { animation: none; } }
