:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#f1f5fb;background:#0b101c;font-size:14px;line-height:1.55;--ink:#e7ecf7;--muted:#a0afc4;--line:#27354c;--blue:#8faefc;--aqua:#7adeca;--surface:#151e2e;--soft:#101829;--raised:#1a2639}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 88% 1%,#19254a 0,transparent 29%),radial-gradient(ellipse at 0 30%,#0f2340 0,transparent 25%),#0b101c}a{color:#a6bdff;text-decoration:none}a:hover{text-decoration:underline}button,select,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}h1,h2,h3,p{margin-top:0}.wrap{width:min(1250px,calc(100% - 48px));margin:auto}.topbar{height:69px;border-bottom:1px solid #243149;position:relative;z-index:1;background:#0c1320d4}.top-flex,.header-links,.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;height:100%}.brand{color:#e9efff;font-size:.94rem;font-weight:800;letter-spacing:.095em;display:flex;align-items:center;gap:11px}.brand:hover{text-decoration:none}.brand-symbol{font-size:2rem;line-height:1;color:var(--aqua)}.brand small{font-size:.7rem;font-weight:600;color:#8494b1;letter-spacing:.13em}.header-links{justify-content:end;color:var(--muted);font-size:.85rem}.offline-pill{display:flex;align-items:center;gap:7px;border:1px solid #275250;border-radius:99px;padding:6px 10px;background:#0b28291c;color:#a5d9c8;font-size:.73rem;font-weight:750;letter-spacing:.06em}.offline-pill span{height:6px;width:6px;background:#67e7b7;border-radius:50%;box-shadow:0 0 9px #67e7b7}.hero{padding:66px 0 45px}.overline,.eyebrow{font-weight:800;font-size:.71rem;letter-spacing:.155em;color:#8fa9f3}.hero h1{font-size:clamp(2.4rem,4.6vw,4.25rem);line-height:1.13;letter-spacing:-.04em;font-weight:780;margin:16px 0 20px}.hero h1 span{color:#a7c3ff}.hero>p{font-size:1.08rem;color:#b4c0d5;max-width:780px;line-height:1.75}.hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}.hero-tags span{border:1px solid #293b5c;color:#acbfdb;border-radius:100px;padding:5px 12px;font-size:.79rem}.workspace{display:grid;grid-template-columns:minmax(275px,350px) minmax(0,1fr);gap:22px;align-items:start}.control-column,.result-column{min-width:0}.panel,.method-card{border:1px solid #2a3951;background:linear-gradient(160deg,#172236 0%,#131c2c 90%);border-radius:15px;box-shadow:0 14px 35px #00000014}.controls{padding:22px}.controls h2{font-size:1.25rem;line-height:1.3;margin:9px 0 17px}.source-list{display:grid;gap:9px}.source-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #314058;border-radius:10px;background:#101a2a;cursor:pointer;transition:border-color .15s}.source-option:has(input:checked){background:#152741;border-color:#6a95e8}.source-option input{accent-color:#8baefa}.source-copy{display:flex;flex-direction:column;min-width:0;flex:1}.source-copy b{color:#e8eefc;font-size:.95rem}.source-copy small{color:#95a9c0;font-size:.77rem;line-height:1.35}.source-tag{font-size:.60rem;font-weight:800;letter-spacing:.08em;color:#91cabe;white-space:nowrap}.muted,.hint{color:var(--muted)}.small{font-size:.82rem}#source-hint{margin:13px 0 0}.custom-options{padding:14px 0 2px}.field-name{display:block;font-size:.80rem;font-weight:750;color:#cbd6e9;margin:15px 0 6px}.required{color:#8be6d0;font-size:.70rem;text-transform:uppercase;margin-left:4px}.custom-options input[type=file],.custom-options select{width:100%;font-size:.78rem;background:#0f1724;color:#ceddf4;border:1px solid #334057;border-radius:7px;padding:8px}.custom-options input[type=file]::file-selector-button{background:#293d5b;border:0;border-radius:5px;color:#e8f0fd;padding:5px 9px;margin-right:9px;cursor:pointer}.hint{font-size:.75rem;margin:5px 0 7px;line-height:1.6}.divider{border-top:1px solid var(--line);margin:22px 0}.check-grid{display:grid;gap:10px}.check-row{display:flex;gap:10px;align-items:flex-start;padding:2px 0;cursor:pointer}.check-row input{margin-top:5px;accent-color:#89aaff}.check-row span{display:grid}.check-row strong{font-weight:700;font-size:.87rem}.check-row small{color:#a0adc1;font-size:.76rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #3d5477;border-radius:8px;padding:10px 13px;color:#e5edfc;background:#243452;font-size:.89rem;font-weight:750;min-height:40px}.button:hover:not(:disabled){filter:brightness(1.13);text-decoration:none}.button.primary{background:#a1b9fb;color:#10203d;border-color:#a1b9fb}.button.primary span{font-size:1.2rem}.button.secondary{background:#1a2b45}.button.ghost{background:none}.button.wide{width:100%;margin:18px 0 8px;justify-content:space-between}.small-button{font-size:.8rem}.status{font-size:.79rem;color:#adc3e7;line-height:1.6;margin-top:9px;overflow-wrap:anywhere}.status.error{color:#ffa2a1}.status.success{color:#95e9c9}.progress-wrap{margin-top:12px}.progress-bar{height:6px;background:#2a3c5b;border-radius:20px;overflow:hidden}.progress-bar span{display:block;height:100%;width:0;background:#8daff8;transition:width .2s}.note-panel{padding:19px;margin-top:16px}.note-panel p{font-size:.85rem;color:#bdc9dd;margin:12px 0}.note-panel a{font-weight:700;font-size:.82rem}.empty-state{padding:55px 35px;text-align:center;min-height:455px;display:flex;align-items:center;flex-direction:column;justify-content:center}.empty-icon{width:80px;height:80px;border-radius:22px;display:grid;place-items:center;color:#b6ccfc;border:1px solid #3c5681;background:#1c2d48;font-size:3rem;margin-bottom:17px}.empty-state h2{font-size:1.6rem;letter-spacing:-.02em;margin:0 0 12px}.empty-state p{max-width:470px;color:#aebed5;font-size:.98rem}.mini-diagram{display:flex;align-items:center;gap:13px;margin-top:22px;color:#b9ccec}.mini-diagram span{border:1px solid #496389;background:#20314b;padding:8px 13px;border-radius:7px;font-weight:650}.mini-diagram i{font-size:.8rem;color:#80d9c2}.result-heading{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.result-heading h2{font-size:1.32rem;margin:4px 0}.result-heading p{margin:0;overflow-wrap:anywhere}.export-actions{display:flex;gap:8px;flex-shrink:0}.export-actions button{font-size:.8rem}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:13px 0}.metric-card{border:1px solid #2b3c58;border-radius:11px;padding:15px;background:linear-gradient(145deg,#1a293f,#121d2c)}.metric-card .metric-label{color:#a8b9d3;font-size:.78rem;font-weight:650;letter-spacing:.02em}.metric-card .metric-value{font-size:1.8rem;letter-spacing:-.04em;font-weight:800;line-height:1.35;margin:6px 0}.metric-card .metric-help{font-size:.70rem;color:#92a4ba}.report-body{padding:15px 20px 24px}.tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #30415a;margin:0 0 20px}.tab{border:0;border-bottom:2px solid transparent;background:transparent;color:#9eafc9;padding:11px 12px;font-size:.86rem;font-weight:650}.tab.active{color:#b6c9ff;border-color:#a2bafb}.tab-pane{min-width:0}.report-section{margin-bottom:24px}.report-section:last-child{margin-bottom:0}.section-title{font-size:1.04rem;letter-spacing:-.01em;margin:0 0 10px;color:#e3ecfd}.section-intro{color:#9daec5;font-size:.82rem;margin:0 0 13px}.table-box{max-width:100%;overflow-x:auto;border:1px solid #2b3c55;border-radius:8px}table{width:100%;border-collapse:collapse;text-align:left;font-size:.83rem}th{font-size:.72rem;text-transform:uppercase;letter-spacing:.075em;color:#9db0ca;background:#1b2940;padding:10px 12px}td{border-top:1px solid #29374e;padding:9px 12px;color:#d8e2f1}td.number,th.number{text-align:right;font-variant-numeric:tabular-nums}tbody tr:hover{background:#25334d44}.readout-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.table-foot{color:#899dbb;font-size:.72rem;margin-top:7px}.analysis-note{border-left:3px solid #70a8c8;background:#142941;padding:13px 15px;font-size:.81rem;color:#c2d4e6;border-radius:0 7px 7px 0;margin-bottom:15px}.analysis-note.warning{border-color:#dcac6c;background:#2d261d}.bars{display:flex;flex-direction:column;gap:8px;padding:4px 0}.bar-row{display:grid;grid-template-columns:minmax(80px,1.3fr) minmax(0,2fr) 62px;align-items:center;gap:10px;font-size:.81rem}.bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d3dff0}.bar-track{height:11px;border-radius:3px;background:#26364e;overflow:hidden}.bar-fill{height:100%;border-radius:3px;background:#89aafb}.bar-value{text-align:right;color:#bfd0ed;font-variant-numeric:tabular-nums}.plot-panel{border:1px solid #2d3c52;padding:14px;border-radius:9px;margin-bottom:15px;background:#121d2b}.plot-panel h3{font-size:.9rem;margin:0 0 12px}.two-charts{display:grid;grid-template-columns:1fr 1fr;gap:14px}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:26px 0 58px}.method-card{padding:25px}.method-card h2{font-size:1.32rem;margin:9px 0 12px}.method-card p{color:#b0c0d5;font-size:.88rem}.method-card p:last-child{margin-bottom:0}code{padding:2px 4px;border-radius:4px;background:#243653;color:#d3e3ff;font-size:.85em}.footer{border-top:1px solid #2a3951;min-height:76px;color:#8194ac;font-size:.77rem}.footer-inner{padding:22px 0}.footer-inner>div{display:flex;gap:17px;flex-wrap:wrap}.hidden{display:none!important}.emphasis{color:#89e7cd}.warning-text{color:#f5c691}@media(max-width:1050px){.workspace{grid-template-columns:290px minmax(0,1fr)}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-charts{grid-template-columns:1fr}}@media(max-width:760px){.wrap{width:min(100% - 28px,1250px)}.topbar{height:auto;min-height:62px}.top-flex{min-height:62px}.header-links .offline-pill{display:none}.hero{padding:43px 0 33px}.hero h1{font-size:2.5rem}.hero>p{font-size:.95rem}.workspace{grid-template-columns:1fr;gap:14px}.controls{padding:19px}.note-panel{display:none}.method-grid{grid-template-columns:1fr;gap:12px}.result-heading{flex-direction:column;align-items:flex-start}.metric-card .metric-value{font-size:1.62rem}.footer-inner{flex-direction:column;align-items:flex-start}.readout-row{grid-template-columns:1fr}.bar-row{grid-template-columns:minmax(65px,1.3fr) minmax(0,1.6fr) 52px}}@media(max-width:380px){.metrics-grid{grid-template-columns:1fr 1fr}.metric-card{padding:10px}.metric-card .metric-value{font-size:1.35rem}.hero h1{font-size:2.15rem}.tab{font-size:.76rem;padding:9px 8px}}

/* Dashboard metric selection and delayed term descriptions. */
.dashboard-modes{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px 18px;padding:14px 18px;margin-top:14px;background:#141e30;border:1px solid #30415c;border-radius:11px}
.dashboard-mode{display:flex;flex-direction:column;gap:5px;min-width:160px;flex:1 1 172px;max-width:290px}
.mode-label{font-size:.77rem;font-weight:700;color:#bfd1f2}
.dashboard-mode select{width:100%;background:#1b2a40;color:#e3efff;border:1px solid #49618b;border-radius:7px;min-height:37px;padding:6px 9px}
.dashboard-mode-caption{width:100%;font-size:.74rem;color:#91a7c5;margin:0}
.dashboard-modes + .metrics-grid{margin-top:12px}
.defined-term{cursor:help;text-decoration:underline dotted #799ac9;text-underline-offset:3px;text-decoration-thickness:1px;position:relative}
.defined-term:hover,.defined-term:focus-visible{color:#d5e6ff;text-decoration-color:#bad3ff}
.defined-term::after{content:attr(data-definition);position:absolute;z-index:300;left:0;bottom:calc(100% + 10px);width:max-content;max-width:min(290px,75vw);min-width:165px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;padding:10px 12px;border-radius:7px;border:1px solid #617aab;box-shadow:0 8px 24px #0009;background:#1e314b;color:#f0f5ff;font-weight:400;font-size:12px;line-height:1.45;letter-spacing:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease .7s,visibility 0s linear .85s}
.defined-term:hover::after,.defined-term:focus-visible::after{opacity:1;visibility:visible;transition:opacity .15s ease .7s,visibility 0s linear 0s}
.has-definition{cursor:help;text-decoration:underline dotted #799ac9;text-underline-offset:3px}
@media (max-width:760px){.dashboard-modes{padding:12px}.dashboard-mode{max-width:none}.defined-term::after{position:fixed;left:12px;right:12px;bottom:16px;width:auto;min-width:0;max-width:none}}

/* QA options incompatible with the currently selected graph are visible but unavailable. */
.source-option.source-option-unavailable{opacity:.38;cursor:not-allowed;background:#111927;border-color:#293346}
.source-option.source-option-unavailable .source-copy b{color:#9eacc0}
.source-option.source-option-unavailable input{cursor:not-allowed}
.qa-compat-hint{margin:14px 0 4px;padding:9px 11px;border-left:2px solid #8faefc;background:#141f31;border-radius:0 6px 6px 0;line-height:1.55}

/* Portable analysis presets */
.preset-name{width:100%;font-size:.86rem;background:#0f1724;color:#ceddf4;border:1px solid #334057;border-radius:7px;padding:10px}
.preset-name:focus-visible{outline:2px solid #8baefa;outline-offset:2px}
.preset-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0 7px}
.preset-buttons .button{flex:1;min-width:124px;font-size:.83rem;padding:10px 8px}
.preset-status{font-size:.78rem;color:#9fe4c9;line-height:1.6;overflow-wrap:anywhere;margin:8px 0 1px;min-height:1.4em}
.preset-status.error{color:#ffaaaa}

/* Path-only preset reconnection */
.preset-missing{padding:11px 12px;margin:12px 0 6px;border:1px solid #476080;background:#17273e;border-radius:8px;font-size:.79rem;color:#d3e3fa}
.preset-missing strong{display:block;margin-bottom:5px}
.preset-missing ul{margin:6px 0 12px;padding-left:19px;max-height:160px;overflow-y:auto;overflow-wrap:anywhere}
.preset-missing li{margin-bottom:4px}
.preset-missing .button{width:100%;font-size:.8rem}

/* Public dataset provider control */
.source-provider{padding:12px 13px 10px;margin:14px 0 8px;border:1px solid #354960;background:#102136;border-radius:9px}
.source-provider .field-name{margin:2px 0 7px}
.source-provider select{display:block;width:100%;background:#132036;border:1px solid #4a6084;border-radius:7px;color:#e5edfc;padding:8px 10px;min-height:36px;font-size:.88rem}
.source-provider .hint{margin:8px 0 0}

/* v11.1: session-scoped downloaded dataset cache */
.dataset-cache-panel{margin-top:16px;padding:12px 13px;border:1px solid #354960;border-radius:9px;background:#142035}
.dataset-cache-title{font-size:.73rem;font-weight:800;letter-spacing:.075em;color:#bbcbeb}
.dataset-cache-panel .hint{margin:7px 0 10px;font-size:.76rem;line-height:1.5}
.dataset-cache-panel button{width:100%;font-size:.8rem}
.dataset-cache-panel button:disabled{opacity:.47;cursor:not-allowed}

/* v11.3: individual downloaded-file cache controls and optional random walks */
.download-cache-list{display:flex;flex-direction:column;gap:7px;margin:10px 0}
.download-cache-item{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:9px 10px;border:1px solid #364b69;border-radius:7px;background:#101c30}
.download-cache-item-info{min-width:0;flex:1}
.download-cache-item-title{font-size:.75rem;color:#e5edfc;font-weight:650;overflow-wrap:anywhere}
.download-cache-item-detail{font-size:.69rem;color:#9db2d4;margin-top:3px;overflow-wrap:anywhere}
.dataset-cache-panel .download-cache-delete{width:auto;flex-shrink:0;padding:7px 10px;color:#fdc8c8;border-color:#674b56}
.rw-toggle{margin:14px 0 7px}
.rw-disabled{opacity:.50}
