/* Cyber-Geo 0.8.15 · role-aware local help center. No external assets. */
.help-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:20px;max-width:1480px}
.help-main,.help-side{min-width:0;display:grid;gap:16px}.help-search-panel,.help-side-panel,.help-detail,.help-article,.help-empty{background:var(--panel,#fff);border:1px solid var(--border,#dce6ed);border-radius:14px;color:var(--text,#172c46)}
.help-search-panel{padding:20px;display:grid;gap:12px}.help-search-panel>label{font-size:1rem;font-weight:720}.help-search-input{display:flex;align-items:center;gap:9px;border:1px solid var(--border,#dce6ed);background:var(--surface,#fff);border-radius:10px;padding:0 13px;min-height:48px}.help-search-input input{border:0;box-shadow:none!important;outline:0;flex:1;width:100%;font:inherit;font-size:1rem;background:transparent;color:inherit;min-width:0}
.help-controls{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px;color:var(--muted,#6a7a90);font-size:.89rem}.help-controls label{display:flex;align-items:center;gap:7px;cursor:pointer}.help-controls input{accent-color:#1882bf;width:16px;height:16px}
.help-categories{display:flex;flex-wrap:wrap;gap:7px}.help-category{border-radius:99px;background:transparent;border:1px solid var(--border,#dce6ed);color:var(--text,#172c46);font:inherit;font-size:.91rem;padding:8px 14px;cursor:pointer;min-height:40px}.help-category.active{background:var(--accent,#007bab);border-color:var(--accent,#007bab);color:#fff}
.help-article-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.help-article{display:flex;text-align:left;flex-direction:column;gap:8px;padding:20px;min-height:170px;cursor:pointer;font:inherit}.help-article:hover{border-color:var(--accent,#007bab);box-shadow:0 4px 16px rgba(35,70,105,.08)}.help-article strong{font-size:1.07rem;line-height:1.35}.help-article>span:nth-of-type(2){color:var(--muted,#6a7a90);line-height:1.55;font-size:.94rem}.help-article-category,.help-detail-category{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;font-weight:750;color:var(--accent,#007bab)}.help-article-more{display:flex;align-items:center;gap:6px;color:var(--accent,#007bab);font-weight:690;font-size:.86rem;margin-top:auto}.help-article-more svg{width:15px}
.help-side-panel{padding:20px}.help-side-panel h2{margin:0 0 12px;font-size:1.05rem;display:flex;align-items:center;gap:8px}.help-side-panel p{color:var(--muted,#6a7a90);font-size:.93rem;line-height:1.6;margin:0 0 14px}.help-side-panel button{max-width:100%}.help-detail{padding:24px}.help-detail-back{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.help-detail-back button .icon{transform:rotate(180deg)}.help-detail h2{font-size:1.5rem;margin:18px 0 9px;line-height:1.3}.help-detail-summary{color:var(--muted,#6a7a90);line-height:1.65;margin-bottom:16px}.help-steps{counter-reset:cghelp;list-style:none;padding:0;margin:14px 0 24px;display:grid;gap:12px}.help-steps>li{position:relative;min-height:38px;padding:12px 15px 12px 56px;background:var(--surface-soft,rgba(90,132,171,.06));border-radius:10px;line-height:1.55}.help-steps>li::before{counter-increment:cghelp;content:counter(cghelp);position:absolute;left:14px;top:12px;color:#fff;background:#177bad;display:grid;place-items:center;font-weight:700;width:27px;height:27px;border-radius:50%}.help-detail-actions{display:flex;flex-wrap:wrap;gap:10px}.help-empty{padding:26px;text-align:center;color:var(--muted,#6a7a90)}
.help-diagnostic-time{font-size:.78rem}.help-diagnostic-list{padding:0;list-style:none;display:grid;gap:6px;margin:12px 0}.help-diagnostic-list li{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--border,#dce6ed);font-size:.88rem}.help-diagnostic-list li small{flex-basis:100%;color:var(--muted,#6a7a90)}.help-diag-ok{color:#137c50}.help-diag-warning{color:#ba7404}.help-diag-error{color:#d33140}.help-diag-unknown{color:var(--muted,#6a7a90)}.help-muted{color:var(--muted,#6a7a90);font-size:.86rem;line-height:1.55}
.help-context-trigger,.topbar-help{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:transparent;border:1px solid var(--border,#dce6ed);border-radius:9px;color:inherit;cursor:pointer;min-height:40px;padding:7px 10px;font:inherit;font-size:.85rem}.topbar-help{min-width:40px;padding:8px}.topbar-help:hover,.help-context-trigger:hover{background:var(--surface-soft,rgba(90,132,171,.07))}.modal-header .help-context-trigger{margin-left:auto;margin-right:14px}.help-context-inline{padding:14px 20px;background:var(--surface-soft,#f3f8fc);border-bottom:1px solid var(--border,#dce6ed);font-size:.93rem;line-height:1.55}.help-context-inline strong{display:block;margin-bottom:6px}.help-context-inline p{margin:0 0 6px}.help-context-inline ol{padding-left:21px;margin:5px 0}
.help-tour-step{padding:8px 2px}.help-tour-step h3{font-size:1.3rem;margin:8px 0}.help-tour-step p{font-size:1rem;line-height:1.75}.help-tour-number{font-size:.78rem;letter-spacing:.09em;color:var(--accent,#007bab);font-weight:700}
.help-next-action{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--border,#dce6ed);border-radius:11px;background:var(--surface-soft,rgba(90,132,171,.06));margin-bottom:12px;color:inherit;flex-wrap:wrap}.help-next-action>.help-next-icon{display:grid;place-items:center;flex:0 0 31px}.help-next-action>div{flex:1;min-width:170px}.help-next-action strong{font-size:1rem}.help-next-action p{margin:3px 0 0;color:var(--muted,#6a7a90);line-height:1.45;font-size:.88rem}.help-next-action .help-next-explanation{width:100%;flex-basis:100%;font-weight:500}
/* Consistent strong keyboard focus, including compact/mobile targets. */
.help-category:focus-visible,.help-article:focus-visible,.help-context-trigger:focus-visible,.topbar-help:focus-visible,.help-layout button:focus-visible,.help-layout a:focus-visible{outline:3px solid #ed9b31;outline-offset:3px}
body.theme-dark .help-search-panel,body.theme-dark .help-side-panel,body.theme-dark .help-detail,body.theme-dark .help-article,body.theme-dark .help-empty{background:#132338;border-color:#304860;color:#e8f3fc}
body.theme-dark .help-search-input{background:#0d1b2c;border-color:#304860}
body.theme-dark .help-article>span:nth-of-type(2),body.theme-dark .help-side-panel p,body.theme-dark .help-detail-summary{color:#b6c8d9}
body.theme-dark .help-steps>li,body.theme-dark .help-context-inline,body.theme-dark .help-next-action{background:#172a42;border-color:#304860;color:#e8f3fc}
body.theme-dark .help-category{color:#e8f3fc;border-color:#304860}
body.theme-dark .help-category.active{color:#fff}
@media(max-width:1100px){.help-layout{grid-template-columns:minmax(0,1fr)}.help-side{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.help-search-panel,.help-detail,.help-side-panel{padding:15px}.help-article-list,.help-side{grid-template-columns:1fr}.help-article{min-height:auto;padding:15px}.help-next-action{align-items:flex-start}.help-next-action .btn{margin-left:auto}.help-detail h2{font-size:1.3rem}.topbar-help{min-height:40px}}
@media(prefers-reduced-motion:reduce){.help-article,.help-category{transition:none!important}}

.help-next-compact{padding:9px 6px;gap:8px;margin:8px 0 0;border:0;border-top:1px solid var(--border,#dce6ed);border-radius:0;background:transparent}.help-next-compact .help-next-icon{display:none}.help-next-compact strong{font-size:.89rem}.help-next-compact p{font-size:.81rem}.help-next-compact .btn{font-size:.8rem;padding:5px 8px;min-height:32px}
