:root{color-scheme:dark;--bg:#071827;--panel:#10263a;--line:rgba(210,190,145,.22);--text:#f2f7fa;--muted:#9fb2c1;--gold:#e8ce94;--cyan:#27bfd0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
    *{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 60% -20%,#17405b 0,transparent 42%),var(--bg);color:var(--text);display:flex;flex-direction:column}[hidden]{display:none!important}a{color:inherit;text-decoration:none}.shell{width:min(100% - 48px,1320px);margin:0 auto}.topbar{height:76px;border-bottom:1px solid #ffffff18;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-weight:750;letter-spacing:.02em}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#f0d9a4,#b38b48);color:#071827}.brand small{display:block;margin-top:3px;font-size:9px;letter-spacing:.15em;color:var(--muted)}.nav{display:flex;gap:28px}.nav a{font-size:11px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:#c9d8e0}.nav a:hover{color:var(--cyan)}main{flex:1;display:grid;place-items:center;padding:64px 0}.resource{width:min(100%,780px);padding:clamp(28px,6vw,64px);border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#10283cdd,#0b2032ee);box-shadow:0 26px 80px #020a1266;text-align:center}.eyebrow{color:var(--cyan);font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.resource h1{margin:13px 0 14px;text-transform:uppercase;letter-spacing:.08em;font-size:clamp(28px,5vw,48px);background:linear-gradient(90deg,var(--cyan),var(--gold));-webkit-background-clip:text;background-clip:text;color:transparent}.resource p{color:#b5c6d0;line-height:1.7;max-width:560px;margin:0 auto}.action{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:30px;min-height:48px;padding:0 22px;border-radius:999px;background:linear-gradient(100deg,#27bfd0,#d6bd83);color:#071827;font-size:13px;font-weight:750;box-shadow:0 8px 28px #27bfd02b;transition:transform .18s ease,filter .18s ease}.action:hover{transform:translateY(-2px);filter:brightness(1.08)}.action.secondary{background:#18364b;border:1px solid #ffffff28;color:#e4edf1;box-shadow:none}.note{margin-top:24px!important;font-size:12px;color:#8ea5b5!important}.footer{border-top:1px solid #ffffff18;padding:18px 0 24px;display:flex;justify-content:space-between;gap:16px;color:#8298a8;font-size:11px}.footer a{color:#c1d1d9}.footer a:hover{color:var(--cyan)}
    @media(max-width:650px){.shell{width:min(100% - 32px,1320px)}.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:12px 0}.nav{width:100%;justify-content:space-between;gap:8px;margin-top:12px}.nav a{font-size:9px}.resource{border-radius:18px}main{padding:36px 0}.footer{flex-direction:column}}
    /* Approach chart library: public folder browser with an optional immersive preview. */
    body.chart-page{min-height:100vh;background:#071827}
    .chart-main{display:flex!important;flex:1;flex-direction:column;padding:14px 0 18px!important;min-height:0}
    .chart-library{overflow:hidden;flex:1;min-height:0;display:flex;flex-direction:column;border:1px solid rgba(210,190,145,.26);border-radius:14px;background:linear-gradient(145deg,#10283c,#091a29);box-shadow:0 24px 70px #020a1270}
    .chart-toolbar{min-height:62px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ffffff16}
    .chart-location{min-width:0;color:#dce8eb;font-size:13px;font-weight:650}.chart-location small{display:block;color:#91a8b7;font-size:10px;font-weight:400;margin-top:4px}
    .chart-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
    .chart-button{min-height:38px;padding:0 13px;border:1px solid rgba(222,198,146,.25);border-radius:10px;background:#142f43;color:#e6edf0;font-size:12px;font-weight:650;cursor:pointer}
    .chart-button:hover{border-color:#d8bd83;background:#1b3b50}.chart-button.primary{background:linear-gradient(105deg,#27bfd0,#d6bd83);border:0;color:#071827}
    .chart-frame-wrap{flex:1;min-height:400px;background:#f1f3f4}.chart-frame{display:block;width:100%;height:100%;min-height:400px;border:0;background:#f1f3f4}
    .chart-help{margin:0;padding:11px 18px;border-top:1px solid #ffffff16;color:#8fa5b3;font-size:11px;line-height:1.5}
    .chart-library:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;background:#071827;display:flex;flex-direction:column}
    .chart-library:fullscreen .chart-toolbar{flex:none}.chart-library:fullscreen .chart-frame-wrap{height:auto;min-height:0;flex:1}.chart-library:fullscreen .chart-help{flex:none}
    .chart-fallback{padding:20px;background:#0c2234;color:#b5c6d0;font-size:13px;line-height:1.6}.chart-fallback a{color:#49d6e0;text-decoration:underline;text-underline-offset:3px}
    body.tool-page{min-height:100vh;background:#071827}
    .tool-main{display:flex!important;flex:1;flex-direction:column;padding:14px 0 18px!important;min-height:0}
    .tool-library{overflow:hidden;flex:1;min-height:0;display:flex;flex-direction:column;border:1px solid rgba(210,190,145,.26);border-radius:14px;background:linear-gradient(145deg,#10283c,#091a29);box-shadow:0 24px 70px #020a1270}
    .tool-frame-wrap{flex:1;min-height:400px;background:#fff}.tool-frame{display:block;width:100%;height:100%;min-height:400px;border:0;background:#fff}
    .tool-library:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;background:#071827;display:flex;flex-direction:column}
    .tool-library:fullscreen .chart-toolbar{flex:none}.tool-library:fullscreen .tool-frame-wrap{min-height:0;flex:1}.tool-library:fullscreen .chart-help{flex:none}
    @media(max-width:650px){.tool-main{padding:10px 0 14px!important}.tool-frame-wrap,.tool-frame{min-height:420px}}
    @media(max-width:650px){.chart-main{padding:10px 0 14px!important}.chart-toolbar{align-items:flex-start;flex-direction:column}.chart-actions{justify-content:flex-start}.chart-frame-wrap{min-height:420px}.chart-frame{min-height:420px}.chart-button{font-size:11px;padding:0 10px}}
/* Document folders linked to a menu card */
.docs-resource{width:min(100%,920px);text-align:left}
.docs-resource .eyebrow,.docs-resource h1{text-align:left}
.docs-resource>p{margin:0;max-width:none}
.docs-gate{margin-top:28px;padding:26px;border:1px dashed rgba(39,191,208,.35);border-radius:16px;background:rgba(7,24,39,.45);text-align:center}
.docs-gate svg{width:38px;height:38px;fill:none;stroke:var(--cyan);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.docs-gate p{margin:10px auto 0!important}
.docs-gate .action{margin-top:20px}
.docs-tabs{display:flex;gap:6px;margin-top:24px;flex-wrap:wrap}
.docs-tabs a{padding:8px 14px;border-radius:999px;border:1px solid var(--line);font-size:12px;font-weight:650;color:#c9d8e0}
.docs-tabs a.active,.docs-tabs a:hover{border-color:var(--cyan);color:#fff;background:rgba(39,191,208,.1)}
.docs-browser{margin-top:22px;border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden;background:rgba(5,18,29,.5)}
.docs-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03)}
.docs-crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.docs-crumbs a{color:var(--cyan)}.docs-crumbs span{color:#5d7687}
.docs-meta{font-size:11.5px;color:#8ea5b5}.docs-meta a{color:var(--cyan)}
.docs-list{list-style:none;margin:0;padding:6px}
.docs-list a{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:10px;transition:background .15s ease}
.docs-list a:hover{background:rgba(39,191,208,.08)}
.docs-ico{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:10px}
.docs-ico.folder{background:rgba(39,191,208,.14)}
.docs-ico.folder svg{width:20px;height:20px;fill:rgba(39,191,208,.35);stroke:var(--cyan);stroke-width:1.5}
.docs-name{flex:1;min-width:0;color:#eef4f7;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.docs-info{font-size:11.5px;color:#8ea5b5;white-space:nowrap}
.docs-empty{padding:22px;text-align:center;color:#8ea5b5;font-size:13px}
.ft{font-size:10px;font-weight:800;letter-spacing:.04em;color:#071827}
.ft-pdf{background:#f08a96}.ft-doc{background:#81baff}.ft-xls{background:#7fd3b0}.ft-ppt{background:#ffb27a}.ft-img{background:#c5a3ff}.ft-zip{background:#e8ce94}.ft-other{background:#9fb2c1}
@media(max-width:650px){.docs-info{display:none}}
.docs-file{display:flex;align-items:center;gap:4px}
.docs-file>a.js-preview{flex:1;min-width:0}
.docs-dl{flex:none;width:36px;height:36px;display:grid!important;place-items:center;padding:0!important;border-radius:10px;color:#c8d6de;font-size:15px}
.docs-dl:hover{background:rgba(39,191,208,.12);color:#fff}
