.help-workspace {
    --paper:#fff; --canvas:#fafbf9; --ink:#1e2924; --muted:#596660; --edge:#dce2dc;
    --hover:#f1f5ef; --active:#e8f2e8; --accent:#26634d; --badge:#eaf0ea;
    background:var(--canvas);color:var(--ink);padding-top:70px;
}
body.night .help-workspace {
    --paper:#202421; --canvas:#191d1b; --ink:#eaf0ea; --muted:#b2bdb5; --edge:#3a423d;
    --hover:#2a322b; --active:#2d4034; --accent:#a9d9b7; --badge:#303b34;
}
.hc-frame {width:calc(100% - 64px);max-width:1120px;margin-inline:auto;box-sizing:border-box}
.hc-mast {background:var(--paper);border-bottom:1px solid var(--edge)}
.hc-mast-inner {display:flex;align-items:center;justify-content:space-between;gap:28px;padding-block:30px}
.hc-identity {display:flex;align-items:center;gap:16px;min-width:0}
.hc-book {display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;background:#f4d74c;color:#27291d;font-size:24px;border-radius:8px}
.hc-identity h1 {font-size:32px;line-height:1.25;font-weight:750;color:var(--ink)}
.hc-identity p {margin:5px 0 0;color:var(--muted);font-size:14px;line-height:1.55}
.hc-mast .help-search {flex:1;max-width:390px;min-width:0}
.help-workspace .help-search input {height:46px;background:var(--canvas);border-color:var(--edge);border-radius:7px;color:var(--ink)}
.help-workspace .help-search input:focus {border-color:var(--accent);box-shadow:0 0 0 2px var(--active)}
.hc-mast .help-search-clear {top:7px}
.hc-layout {display:grid;grid-template-columns:190px minmax(0,1fr);gap:48px;align-items:start;padding:28px 0 60px}
.hc-rail {position:sticky;top:84px;min-width:0}
.hc-rail h2 {margin:0 0 10px 10px;color:var(--muted);font-family:inherit;font-size:13px;font-weight:600;line-height:20px}
.help-workspace .help-filters {display:flex;flex-direction:column;align-items:stretch;gap:3px;background:transparent;border:0;border-radius:0;width:100%}
.help-workspace .help-filters button {display:flex;align-items:center;gap:12px;width:100%;height:auto;min-height:43px;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:15px;line-height:1.4;text-align:start;overflow-wrap:anywhere}
.help-workspace .help-filters button::before {content:"\f02b";display:inline-block;width:18px;flex:none;text-align:center;font:16px FontAwesome}
.help-workspace button[data-help-category="all"]::before {content:"\f009"}
.help-workspace button[data-help-category="c1"]::before {content:"\f187"}
.help-workspace button[data-help-category="c2"]::before {content:"\f11b"}
.help-workspace button[data-help-category="c3"]::before {content:"\f007"}
.help-workspace button[data-help-category="c4"]::before {content:"\f108"}
.help-workspace .help-filters button:hover {background:var(--hover);color:var(--ink)}
.help-workspace .help-filters button.is-active {color:var(--accent);background:var(--active);font-weight:700}
.hc-reader {min-width:0;padding-left:36px;border-left:1px solid var(--edge)}
.hc-reader-head {display:flex;align-items:center;justify-content:space-between;gap:12px}
.hc-reader-head h2 {font-size:23px;line-height:1.4;font-weight:700;color:var(--ink)}
.hc-reader-head .help-result-count {color:var(--muted);font-size:13px}
.help-workspace .help-intro {margin:4px 0 0;padding:0;color:var(--muted);background:none;border:0}
.help-workspace .help-intro::before {display:none!important}
.help-workspace .help-intro p,.help-workspace .help-intro span {font-size:14px!important;line-height:1.6!important}
.help-workspace .help-faq-list {border:0}
.help-group {margin-top:24px}
.help-group h2 {display:flex;align-items:center;gap:9px;margin:0 0 8px;color:var(--ink);font-size:17px;line-height:26px;font-weight:680}
.help-group small {min-width:21px;padding:0 4px;border-radius:4px;background:var(--badge);color:var(--muted);font:600 12px/20px system-ui,sans-serif;text-align:center}
.help-workspace [hidden],.help-workspace .help-spacer {display:none!important}
.help-workspace .help-faq-item {background:var(--paper);border-bottom:1px solid var(--edge)}
.help-group details:first-of-type {border-top:1px solid var(--edge)}
.help-workspace .help-faq-item summary {min-height:50px;padding:12px 45px 12px 14px;color:var(--ink);font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.help-workspace .help-faq-item summary:hover {color:var(--accent);background:var(--hover)}
.help-workspace .help-faq-item[open] summary {color:var(--accent);background:var(--active);box-shadow:inset 3px 0 var(--accent);font-weight:700}
.help-workspace .help-faq-item summary > i,.help-workspace .help-faq-item[open] summary > i {color:var(--accent)}
.help-workspace .help-faq-content {padding:18px 20px;border:0;color:var(--ink);overflow-wrap:anywhere}
.help-workspace .help-faq-content p {margin:0 0 10px!important;line-height:1.75!important}
.help-workspace .help-faq-content p[style],.help-workspace .help-faq-content strong[style],.help-workspace .help-faq-content font {font-size:inherit!important;color:inherit!important;background:transparent!important}
@media(max-width:800px) {
    .hc-frame {width:calc(100% - 32px)}
    .hc-mast-inner {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding-block:12px}
    .hc-mast .help-search {max-width:none}
    .hc-identity {gap:10px}
    .hc-book {flex-basis:40px;width:40px;height:40px;font-size:20px}
    .hc-identity h1 {font-size:23px}
    .hc-identity p {font-size:13px;margin-top:2px}
    .hc-layout {display:block;padding:0 0 36px}
    .hc-rail {position:static;border-bottom:1px solid var(--edge)}
    .hc-rail h2 {display:none}
    .help-workspace .help-filters {flex-flow:row nowrap;gap:3px;overflow-x:auto;padding:7px 0;scrollbar-width:thin}
    .help-workspace .help-filters button {width:auto;flex:1 0 auto;min-width:48px;min-height:42px;justify-content:center;gap:0;padding:6px 10px;font-size:14px}
    .help-workspace .help-filters button::before {display:none}
    .hc-reader {border:0;padding:14px 0 0}
    .hc-reader-head h2 {font-size:19px}
    .help-workspace .help-intro {margin:2px 0}
    .help-group {margin-top:13px}
    .help-group h2 {font-size:15px;margin:0 0 4px}
    .help-workspace .help-faq-item summary {min-height:47px;padding:10px 38px 10px 12px}
    .help-workspace .help-faq-content {padding:13px}
}

body.night .help-workspace .help-intro,body.night .help-workspace .help-filters {background:transparent;color:var(--muted)}
body.night .help-workspace .help-filters button {color:var(--muted);background:transparent}
body.night .help-workspace .help-filters button:hover {color:var(--ink);background:var(--hover)}
body.night .help-workspace .help-filters button.is-active,body.night .help-workspace .help-faq-item[open] summary {color:var(--accent);background:var(--active)}
@media(max-width:800px) {
    .hc-reader {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:0 8px;padding-top:10px}
    .hc-reader-head {display:contents}
    .hc-reader-head h2 {display:none}
    .hc-reader-head .help-result-count {grid-area:1/2}
    .help-workspace .help-intro {grid-area:1/1}
    .help-faq-list,.help-empty {grid-column:1/-1;min-width:0}
    .help-group {margin-top:9px}
}
