#help-topbar[hidden],#help-topbar-restore[hidden],#help-floating[hidden],#help-management-nav[hidden],[data-help-panel][hidden]{display:none!important}
#help-topbar{position:fixed;right:12px;top:8px;z-index:2600;display:flex;align-items:center;gap:6px}
#help-topbar button{min-height:32px;padding:5px 10px;border:1px solid #475569;border-radius:7px;background:#13243b;color:#eef6ff;cursor:pointer;white-space:nowrap;font:inherit;font-size:12px}
#help-topbar button:focus-visible{outline:3px solid #7dd3fc;outline-offset:2px}
html.help-floating-hidden{--help-topbar-space:156px}
#defense-zone-context-bar{padding-right:var(--help-topbar-space,78px)}
#app.live-mode #defense-zone-context-bar{padding-right:var(--help-topbar-space,78px)}
@media(max-width:1180px){#app.live-mode #defense-zone-context-bar{padding-right:14px}#app.live-mode .live-zone-brand{padding-right:var(--help-topbar-space,78px)}}
#help-floating{position:fixed;right:12px;top:45%;z-index:2000;display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px;border:1px solid #475569;border-radius:14px;background:#13243b;box-shadow:0 5px 22px #0008;color:#eef6ff;width:56px}
#help-floating button{border:0;background:transparent;color:inherit;cursor:pointer;min-height:30px;font-size:12px}
#help-drag-handle{touch-action:none;cursor:move!important;width:40px;user-select:none}
#help-open{min-height:42px!important;line-height:1.4}
#help-management-nav{width:100%;border:0;background:transparent;text-align:left;font:inherit;color:inherit}
.help-dialog{width:min(1020px,calc(100vw - 36px));height:min(800px,calc(100dvh - 36px));padding:0;border:1px solid #475569;border-radius:14px;background:#101a2a;color:#e5e7eb;overflow:hidden}
.help-dialog[open]{display:flex;flex-direction:column}
.help-header,.help-tabs,.help-state-row{flex-shrink:0}
.help-dialog::backdrop,.help-update-dialog::backdrop{background:#020617b3}
.help-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #334155;gap:10px}
.help-dialog button,.help-update-dialog button{padding:8px 12px;border:1px solid #475569;border-radius:7px;background:#1e304a;color:#edf6ff;cursor:pointer}
.help-dialog button:disabled,.help-update-dialog button:disabled{opacity:.5;cursor:wait}
.help-dialog button:focus-visible,.help-update-dialog button:focus-visible,#help-floating button:focus-visible{outline:3px solid #7dd3fc;outline-offset:2px}
.help-tabs{display:flex;gap:6px;padding:12px 20px;border-bottom:1px solid #334155}
.help-tabs [aria-selected=true]{background:#1d4ed8;border-color:#60a5fa}
.help-scroll{overflow:auto;flex:1;min-height:0;height:auto;padding:14px 20px;overscroll-behavior:contain}
.help-manual{display:grid;grid-template-columns:220px 1fr;gap:20px;min-height:100%}
#help-directory{display:flex;flex-direction:column;gap:7px;margin-top:12px}
#help-directory button{text-align:left}
.help-prose{line-height:1.85;overflow-wrap:anywhere}
.help-prose p,.help-prose ol,.help-prose figure,.help-prose aside{margin:12px 0}.help-prose ol{padding-left:26px}.help-prose h2,.help-prose h3{margin:16px 0 8px}
.help-prose img,#help-feedback-list img{max-width:100%;height:auto;max-height:600px;object-fit:contain;border-radius:8px;background:#0a1220}
.help-prose figcaption{font-size:13px;color:#94a3b8}.help-notice{padding:12px;border-left:4px solid #38bdf8;background:#172b43}
.help-publication-time{display:block;margin:6px 0 10px;color:#94a3b8;font-size:13px}
.help-dialog input,.help-dialog textarea,.help-dialog select{display:block;width:100%;margin:7px 0 12px;padding:9px;color:#e5e7eb;background:#0b1423;border:1px solid #475569;border-radius:6px;font:inherit}.help-dialog textarea{resize:vertical;min-height:100px}
.help-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.help-feedback-item{display:block;margin:10px 0;width:100%;text-align:left}
.help-audience{padding:12px;border:1px solid #475569;margin:12px 0}.help-audience label{display:inline-flex;align-items:center;gap:8px;margin-right:18px}.help-audience input{display:inline;width:auto;margin:0}.help-block-editor{border:1px solid #334155;border-radius:8px;padding:12px;margin:12px 0}.help-block-editor textarea{min-height:70px}
#help-feedback-images{display:flex;flex-wrap:wrap;gap:12px}#help-feedback-images img{display:block;width:140px;height:100px;object-fit:contain}#help-feedback-images figure{margin:0}
#help-state{margin:0 20px;min-height:20px;color:#94a3b8}#help-state.error,#help-update-state{color:#fca5a5}
.help-update-dialog{width:min(760px,calc(100vw - 36px));max-height:calc(100dvh - 36px);padding:22px;border:1px solid #475569;border-radius:14px;background:#101a2a;color:#e5e7eb}
#help-update-content{max-height:calc(100dvh - 240px);overflow:auto;overscroll-behavior:contain;padding-right:10px}
#help-update-content section+section{border-top:1px solid #334155;padding-top:18px;margin-top:18px}
@media(max-width:700px){.help-manual{grid-template-columns:1fr;gap:12px}#help-directory{max-height:140px;overflow:auto;overscroll-behavior:contain}.help-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.help-header,.help-tabs{padding:10px}.help-header{align-items:flex-start;flex-wrap:wrap}.help-header .help-actions{margin:0;gap:6px}.help-header h2{font-size:18px}.help-scroll{padding:12px}.help-tabs{flex-wrap:wrap}#help-topbar{right:8px}#help-topbar button{padding:5px 7px}#app:not(.live-mode) #defense-zone-context-bar{gap:6px}#app:not(.live-mode) .defense-zone-context-control{min-width:0;max-width:100%;overflow:auto}#app:not(.live-mode) .defense-zone-context-control label,#app:not(.live-mode) .defense-zone-context-state{display:none}#app:not(.live-mode) .defense-zone-context-select{min-width:0;max-width:100px}#app:not(.live-mode) .defense-zone-context-title{flex:1}#app:not(.live-mode) .defense-zone-context-title span{display:none}}
@media(prefers-reduced-motion:reduce){#help-floating,.help-dialog{scroll-behavior:auto}}
