:root{color-scheme:light;--bg:#f6f7fb;--surface:#fff;--soft:#f8f9fc;--hover:#f3f4fa;--ink:#20273b;--muted:#7c849b;--secondary:#606b83;--line:#e9ebf2;--border:#dfe3ed;--accent:#6554d9;--accent-soft:#eeebff;--blue:#6b96e2;--green:#25ac93;--orange:#e6a34c;--sidebar:236px;font-family:"Segoe UI Variable","Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:14px;background:var(--bg);color:var(--ink);font-synthesis:none}
:root[data-theme=dark]{color-scheme:dark;--bg:#11141f;--surface:#1a1e2e;--soft:#202536;--hover:#272d40;--ink:#e8ebf5;--muted:#8c97b0;--secondary:#a7b1c6;--line:#2a3044;--border:#363d55;--accent:#b0a0ff;--accent-soft:#332c56;--blue:#82a9f1;--green:#4ac6ad;--orange:#edb364}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{border:1px solid var(--border);background:var(--surface);color:var(--secondary);border-radius:8px;padding:9px 13px;cursor:pointer;font-weight:500;line-height:1.35;transition:background .16s,border-color .16s,color .16s;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}button:hover{background:var(--hover);border-color:#b8b4d2;color:var(--ink)}button:active{transform:translateY(1px)}button:disabled{color:var(--muted);background:var(--soft);border-color:var(--line);opacity:.55;cursor:default;transform:none}button[aria-busy=true]{opacity:.65;cursor:progress}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #9c90f1;outline-offset:3px}input,select,textarea{background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:7px;padding:10px 12px;line-height:1.3;min-width:0;max-width:100%}input:hover,select:hover,textarea:hover{border-color:#b7bad1}input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #7966e713}input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px;flex-shrink:0}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:500;color:var(--secondary)}p{line-height:1.65;margin:10px 0}h1,h2,h3{color:var(--ink);line-height:1.3}h1{font-size:28px;font-weight:650;letter-spacing:-.9px;margin:6px 0}h2{font-size:17px;font-weight:650;margin:0 0 10px;letter-spacing:-.25px}h3{font-size:14px;font-weight:600}svg.icon{height:18px;width:18px;flex-shrink:0;display:block;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.button-primary,button[type=submit]{background:#6554d9;border-color:#6554d9;color:#fff;box-shadow:0 2px 3px #5340aa15}.button-primary:hover,button[type=submit]:hover{background:#5544c4;border-color:#5544c4;color:#fff;box-shadow:0 3px 9px #6554d922}.button-secondary{color:var(--ink)}.button-subtle{border-color:transparent;background:transparent}.icon-button{width:34px;height:34px;padding:7px;border-color:transparent;background:transparent;color:var(--muted)}.mobile-only{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:260px;background:var(--accent);padding:12px 20px;color:#fff;z-index:200;text-decoration:none;border-radius:0 0 8px 8px}.skip-link:focus{top:0}[hidden]{display:none!important}
.app-shell{min-height:100vh}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;z-index:60;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:27px 17px 0;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;padding:0 9px 26px}.brand strong{font-size:22px;font-weight:700;letter-spacing:-.8px;color:var(--ink);line-height:1.1}.brand-dot{color:#8e7ae9}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.brand-mark{height:32px;width:32px;flex-shrink:0;display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.brand-mark i{border-radius:2px;background:#7662dc}.brand-mark i:nth-child(2),.brand-mark i:nth-child(6){background:#a89aec}.brand-mark i:nth-child(3),.brand-mark i:nth-child(8){background:#d6cff6}.brand-mark i:nth-child(5){background:#5544b9}.workspace-badge{border:1px solid var(--line);background:var(--soft);padding:10px 8px;border-radius:9px;display:flex;gap:8px;align-items:center;margin-bottom:15px}.workspace-symbol{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:5px;color:var(--accent)}.workspace-symbol .icon{width:16px;height:16px}.workspace-badge b{font-size:10px;font-weight:600;white-space:nowrap}.workspace-badge small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.workspace-arrow{margin-left:auto;color:var(--muted)}.workspace-arrow .icon{width:12px;height:12px}#tabs{display:flex;flex-direction:column;gap:4px}.nav-label{font-size:9px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:1.2px;padding:9px 12px 5px;margin:7px 0 1px}#tabs button{width:100%;justify-content:flex-start;border:0;background:transparent;text-align:left;padding:11px 12px;gap:10px;font-size:12px;font-weight:500;color:var(--secondary);white-space:normal;line-height:1.35}#tabs button:hover{background:var(--hover);color:var(--ink)}#tabs button.active{background:var(--accent-soft);color:var(--accent);font-weight:650}#tabs button .icon{height:17px;width:17px}.nav-active-dot{margin-left:auto;width:5px;height:5px;border-radius:50%;background:currentColor;display:none}#tabs .active .nav-active-dot{display:block}.sidebar-bottom{margin-top:auto;padding-top:34px}.book-card{position:relative;overflow:hidden;background:#29233f;color:#fff;border-radius:11px;padding:17px 15px}.book-icon{color:#c8baef;margin-bottom:12px}.book-icon .icon{height:22px;width:22px}.book-card small{display:block;color:#c1b4dc;font-size:9px;letter-spacing:.5px}.book-card b{position:relative;display:block;font-size:13px;line-height:1.6;margin:5px 0 12px;font-weight:550}.book-number{position:absolute;right:7px;top:8px;font-size:71px;line-height:1;font-weight:700;letter-spacing:-6px;color:#ffffff0c}.book-card button{background:#ffffff10;border:1px solid #ffffff17;color:#e0d6f5;font-size:10px;padding:8px;width:100%;justify-content:space-between}.book-card button:hover{background:#ffffff20}.book-card button .icon{height:13px;width:13px}.sidebar-version{display:flex;gap:6px;align-items:center;font-size:9px;color:var(--muted);padding:19px 2px 18px}.sidebar-version>span:last-child{margin-left:auto}.status-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:var(--green)}.workspace{margin-left:var(--sidebar);min-width:0}.topbar{height:72px;background:var(--surface);border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumbs{display:flex;align-items:center;gap:11px;font-size:11px;color:var(--muted);min-width:0}.breadcrumb-home .icon{height:16px;width:16px}.breadcrumb-divider{color:var(--border)}#breadcrumb-current{color:var(--ink);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-right{display:flex;align-items:center;gap:9px;flex-shrink:0}.privacy-pill{font-size:10px;display:flex;gap:7px;align-items:center;color:var(--secondary);margin-right:8px}.author-avatar{font-size:10px;font-weight:650;background:#f0ebfb;border:3px solid var(--surface);box-shadow:0 0 0 1px var(--line);width:30px;height:30px;border-radius:50%;color:#8b6bc3;display:grid;place-items:center;margin-left:3px}main{max-width:1880px;margin:0 auto;padding:29px 32px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.45px;color:var(--muted);line-height:1.5}.title-line{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.dataset-kind{font-size:9px;font-weight:500;border:1px solid #ded8f5;color:#8b77ba;background:#f6f3fd;border-radius:5px;padding:4px 7px;white-space:nowrap}.page-heading-copy{min-width:0;flex:1}.page-heading #source{margin:5px 0 0;font-size:11px;color:var(--muted);overflow-wrap:anywhere;max-width:670px}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.main-actions{justify-content:flex-end;flex-shrink:0}.main-actions button{font-size:11px;padding:10px 12px;border-radius:7px}.main-actions .icon{width:15px;height:15px}
.summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat-card{border:1px solid var(--line);background:var(--surface);border-radius:11px;box-shadow:0 3px 14px #25265303;padding:16px 17px;min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-top>span{font-size:11px;font-weight:500;color:var(--secondary)}.stat-icon{height:29px;width:29px;border-radius:8px;color:#8a7be0;background:#f3f0ff}.stat-icon .icon{width:15px;height:15px}.stat-blue .stat-icon{background:#edf4ff;color:#7497d6}.stat-teal .stat-icon{background:#eaf8f3;color:#53a68f}.stat-amber .stat-icon{background:#fff7eb;color:#cca15a}.stat-slate .stat-icon{background:#f1f3f8;color:#8b95ab}.stat-value{font-weight:650;font-size:29px;letter-spacing:-.9px;line-height:1.1;margin:12px 0 8px;font-variant-numeric:tabular-nums}.stat-description{font-size:9px;color:var(--muted);line-height:1.45}.overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:19px;margin-bottom:21px}.insight-card{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:20px 21px 16px;min-width:0}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.card-heading h2{font-size:13px;letter-spacing:-.15px;margin:0 0 5px}.card-heading p{color:var(--muted);font-size:10px;margin:0}.chart-select{max-width:230px;flex-shrink:0}.chart-select select{font-size:10px;max-width:210px;background:var(--soft);border-color:var(--line);padding:7px 9px}.card-heading-icon{color:var(--muted);margin-top:2px}.card-heading-icon .icon{width:17px;height:17px}.trend-chart{height:172px;margin-top:15px}.trend-chart>svg{display:block;width:100%;height:100%;overflow:visible}.chart-grid{stroke:var(--line);stroke-dasharray:3 4}.chart-axis{fill:var(--muted);font-size:10px;font-family:inherit}.chart-series{stroke:#8a78df;stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.chart-prediction{stroke:#8a78df;stroke-width:2;stroke-dasharray:5 5;fill:none}.chart-dot{fill:var(--surface);stroke:#8a78df;stroke-width:2}.chart-target-dot{fill:#8a78df;stroke:var(--surface);stroke-width:2}.chart-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px}.chart-legend{display:flex;gap:14px;font-size:9px;color:var(--secondary)}.chart-legend>span{display:flex;align-items:center;gap:5px}.legend-line{height:0;width:13px;border-top:2px solid #8a78df}.legend-line.dashed{border-top-style:dashed}.chart-horizon{font-size:9px;color:var(--muted)}.chart-empty{height:160px;display:grid;place-items:center;color:var(--muted);font-size:12px;text-align:center;padding:20px}.states-content{display:flex;gap:20px;align-items:center;justify-content:center;min-height:177px;padding-top:12px}.state-ring{width:123px;height:123px;flex-shrink:0}.state-ring svg{width:100%;height:100%}.ring-base{stroke:var(--hover)}.ring-main{font-size:25px;fill:var(--ink);font-weight:650;letter-spacing:-.5px}.ring-caption{fill:var(--muted);font-size:9px}.state-list{flex:1;max-width:150px;display:flex;flex-direction:column;gap:15px;font-size:10px;color:var(--secondary)}.state-list>div{display:flex;align-items:center;gap:7px;white-space:nowrap}.state-list b{margin-left:auto;font-size:11px;color:var(--ink);font-weight:600}.legend-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:2px}.state-0 .legend-dot{background:var(--blue)}.state-1 .legend-dot{background:var(--green)}.state-2 .legend-dot{background:var(--orange)}.state-null .legend-dot{background:#d6d9e6}.states-footnote{padding-top:10px;border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:6px;color:var(--muted);font-size:9px;line-height:1.6}.states-footnote .icon{width:12px;height:12px;margin-top:1px}
.settings-card{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:18px 21px 20px;margin-bottom:16px}.settings-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.settings-icon{border-radius:7px;padding:7px;background:var(--soft);color:var(--secondary)}.settings-icon .icon{width:16px;height:16px}.settings-heading h2{font-size:12px;margin:0 0 3px;letter-spacing:0}.settings-heading p{margin:0;font-size:10px;color:var(--muted)}.settings-caption{font-size:9px;color:var(--muted);margin-left:auto}#settings{display:grid;grid-template-columns:minmax(125px,1fr) 95px minmax(175px,1.65fr) minmax(195px,1.7fr) auto;gap:13px;align-items:end}#settings label{font-size:10px;gap:7px}#settings input,#settings select{font-size:11px;height:37px;width:100%;padding:8px 10px}#settings button{height:37px;font-size:11px;padding:8px 13px}#settings button .icon{width:14px;height:14px}.interpretation-band{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:10px;padding:0 3px;margin-bottom:21px}.code-legend{display:flex;align-items:center;gap:15px;flex-wrap:wrap;color:var(--secondary)}.code-legend-title{font-size:10px;color:var(--muted)}.code-legend>span{display:flex;align-items:center;gap:6px}.code-legend .code{min-width:19px;width:19px;height:19px;padding:0;border-radius:5px;font-size:9px;line-height:17px;font-style:normal}.semantics-details{flex-shrink:0;max-width:50%}.semantics-details summary{display:flex;gap:5px;align-items:center;cursor:pointer;color:var(--muted);list-style:none;white-space:nowrap;line-height:20px}.semantics-details summary::-webkit-details-marker{display:none}.semantics-details summary .icon{width:12px;height:12px}.semantics-details[open]{flex:1}.semantics-details .notice{color:var(--secondary);font-size:10px;max-width:600px;margin:9px 0 0;border-left:2px solid #c6bdee;padding:3px 12px;line-height:1.7}.results-card{background:var(--surface);border:1px solid var(--line);border-radius:11px;overflow:hidden;min-width:0}.results-toolbar{padding:14px 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.results-label{display:flex;align-items:center;gap:8px;min-width:0}.results-label>span:first-child{color:var(--accent)}.results-label .icon{width:16px;height:16px}.results-label b{font-size:11px;font-weight:600;white-space:nowrap}.live-indicator{display:flex;align-items:center;gap:5px;font-size:8px;color:var(--muted);padding-left:8px;white-space:nowrap}.live-indicator i{width:4px;height:4px;background:#55b69c;border-radius:50%}.exports{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.exports-caption{color:var(--muted);font-size:9px;margin-right:4px}.exports button{border-color:var(--line);border-radius:6px;padding:6px 8px;font-size:9px;gap:5px}.exports button .icon{height:12px;width:12px}.format-mark{font-size:8px;font-weight:750;width:13px;height:13px;border-radius:2px;display:grid;place-items:center}.format-mark.excel{background:#edf6f1;color:#488b6c}.format-mark.word{background:#edf2fc;color:#5f82bb}#status{color:var(--secondary);background:var(--soft);font-size:10px;padding:9px 21px;border-bottom:1px solid var(--line);line-height:1.5}#status:empty{display:none}#status.error{color:#c56560;background:#fff6f4}#view{padding:20px 21px 17px;min-width:0}#view>h2{font-size:15px;margin:0 0 7px}#view>p{font-size:11px;color:var(--secondary);max-width:1120px;margin:8px 0 15px;line-height:1.7}#view>p.muted{font-size:10px;color:var(--muted);margin-bottom:17px}.toolbar{display:flex;align-items:end;gap:13px;flex-wrap:wrap;margin:16px 0}.toolbar label{font-size:10px;gap:6px}.toolbar input,.toolbar select{font-size:11px;padding:8px 10px;max-width:450px}.toolbar input[type=search]{min-width:230px}.toolbar button{font-size:11px;min-height:33px}.toolbar>span{font-size:11px;color:var(--muted)}.table-wrap{overflow:auto;max-width:100%;max-height:570px;border:1px solid var(--line);border-radius:8px;scrollbar-width:thin;scrollbar-color:var(--border) transparent}table{border-collapse:separate;border-spacing:0;min-width:100%;font-size:11px;line-height:1.5;text-align:left}th{position:sticky;top:0;z-index:2;white-space:nowrap;background:var(--soft);color:var(--muted);font-size:9px;font-weight:600;padding:12px 13px;border-bottom:1px solid var(--line)}td{padding:13px;border-bottom:1px solid var(--line);vertical-align:middle;color:var(--secondary);font-variant-numeric:tabular-nums}tr:last-child td{border-bottom:0}tbody tr:hover td{background:var(--soft)}.scale-name{min-width:210px;max-width:340px;color:var(--ink)}.scale-name small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.link{padding:0;border:0;background:transparent;color:var(--ink);font-size:11px;font-weight:550;text-align:left;display:inline;white-space:normal;line-height:1.5;text-decoration:none}.link:hover{color:var(--accent);background:transparent;text-decoration:underline}.code{display:inline-block;min-width:24px;padding:3px 6px;border-radius:6px;text-align:center;font-size:10px;font-weight:600;line-height:1.35;border:1px solid transparent}.code-0{color:#6188c1;background:#edf3fc;border-color:#e4edfb}.code-1{color:#479d86;background:#eaf7f2;border-color:#ddf0e7}.code-2{color:#bf9454;background:#fff6e9;border-color:#f9eddb}.code-null{color:#9aa1b5;background:#f2f3f8;border-color:#eaecf2}.pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:14px 0 0;font-size:9px;color:var(--muted)}.pager button{font-size:10px;border-color:var(--line);padding:7px 10px}.pager span{margin:0 auto 0 0;order:-1}.empty-cell{text-align:center;padding:32px;color:var(--muted);font-size:12px}.number{text-align:right;white-space:nowrap}.pair-grid{max-width:580px;margin:24px 0}.pair-grid table{table-layout:fixed;min-width:100%}.pair-grid th{text-align:center;font-size:11px;padding:16px}.pair-grid td{text-align:center;font-size:20px;padding:22px;font-weight:600;color:var(--accent);background:var(--accent-soft);border-bottom:5px solid var(--surface);border-right:5px solid var(--surface)}.pair-grid td:first-child{color:var(--muted);background:var(--soft);font-size:12px;min-width:100px;font-weight:500}.pair-grid .table-wrap{border:0}.coordinate-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 15px;max-height:235px;overflow:auto;padding:14px;background:var(--soft);border:1px solid var(--line);border-radius:8px;margin:12px 0}.check{display:flex;flex-direction:row;align-items:center;gap:8px;line-height:1.5}.coordinate-list .check{font-size:10px}.check input{margin:0}.large-number{background:var(--accent-soft);color:var(--accent);border:1px solid var(--line);border-radius:8px;padding:16px;font-size:20px;font-family:Consolas,monospace;line-height:1.5;overflow-wrap:anywhere;font-weight:600;letter-spacing:.3px}.formulas{max-width:1050px}.formulas h2{font-size:17px;margin-bottom:20px}.formulas h3{margin:25px 0 9px;font-size:12px}.formula{font-family:Cambria,Georgia,serif;font-size:20px;border:1px solid var(--line);background:var(--soft);border-radius:7px;padding:16px 18px;margin:8px 0 12px;overflow-wrap:anywhere}.formulas p{font-size:11px;color:var(--secondary);line-height:1.8}.muted{font-size:11px;color:var(--muted)}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.sticky-label{position:sticky;left:0;z-index:1;background:var(--surface);white-space:nowrap}.tag{font-size:9px;color:#ac8b54;display:block;margin-top:3px}.narrow{max-width:100px}footer{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:9px;padding:19px 1px 24px;line-height:1.6}footer b{font-weight:550;color:var(--secondary)}footer i{font-style:normal;margin:0 6px;color:var(--border)}
dialog{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:17px;box-shadow:0 30px 120px #11112844;width:min(840px,94vw);max-height:90vh;padding:28px;overflow:auto}dialog::backdrop{background:#19203a66;backdrop-filter:blur(5px)}dialog h2{font-size:23px;margin:9px 0 11px}dialog p{font-size:12px;color:var(--secondary)}dialog label{font-size:11px}dialog .actions{margin-top:12px}dialog .actions button{font-size:11px}#rule-form{display:flex;flex-direction:column;gap:15px;max-width:100%}#rule-form h2{margin:0}#rule-title{margin:0}.rule-bounds{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialog-symbol{height:42px;width:42px;background:var(--accent-soft);color:var(--accent);border-radius:12px}.dialog-symbol .icon{width:22px;height:22px}#help-dialog{max-width:640px;padding:30px}.dialog-lead{margin-bottom:23px!important}.help-steps{list-style:none;margin:0;padding:0}.help-steps li{display:flex;gap:15px;margin-bottom:18px}.help-steps li>span{font-size:10px;font-weight:600;color:var(--accent);background:var(--accent-soft);border-radius:7px;flex-shrink:0;display:grid;place-items:center;height:29px;width:29px;margin-top:2px}.help-steps h3{margin:0 0 5px;font-size:12px}.help-steps p{margin:0;font-size:11px;color:var(--muted);line-height:1.7}.help-privacy{display:flex;align-items:flex-start;gap:9px;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:13px;margin:22px 0}.help-privacy>span{color:var(--green);margin-top:1px}.help-privacy .icon{height:16px;width:16px}.help-privacy p{font-size:10px;line-height:1.7;margin:0;color:var(--secondary)}#sample-excel{font-size:11px}#detail-dialog .table-wrap{margin:18px 0}#detail-close{margin-top:16px}
:root[data-theme=dark] .dataset-kind{background:#302942;color:#b4a5d7;border-color:#433657}:root[data-theme=dark] .stat-icon{background:#302a48;color:#b9a9f0}:root[data-theme=dark] .stat-blue .stat-icon{background:#25334b;color:#96b1de}:root[data-theme=dark] .stat-teal .stat-icon{background:#213d3b;color:#68bfa8}:root[data-theme=dark] .stat-amber .stat-icon{background:#3c3326;color:#d7b177}:root[data-theme=dark] .stat-slate .stat-icon{background:#2b3143;color:#9caac4}:root[data-theme=dark] .code-0{background:#26344c;color:#9ab9ec;border-color:#2a3b59}:root[data-theme=dark] .code-1{background:#203c38;color:#74cfb5;border-color:#254c42}:root[data-theme=dark] .code-2{background:#3c3426;color:#daba88;border-color:#4b3d29}:root[data-theme=dark] .code-null{background:#2a3042;color:#939db6;border-color:#31394f}:root[data-theme=dark] #status.error{background:#3d2a2f;color:#e89b94}:root[data-theme=dark] .format-mark.excel{background:#243c34;color:#91b9a5}:root[data-theme=dark] .format-mark.word{background:#25334b;color:#97b3df}:root[data-theme=dark] .author-avatar{background:#38304d;color:#c3ace5}
.breadcrumbs{font-size:12px}#tabs button{font-size:13px}.workspace-badge b{font-size:10px}.stat-top>span{font-size:12px}.stat-description{font-size:10px}.stat-value{font-size:30px}.main-actions button{font-size:12px}.page-heading #source{font-size:12px}.card-heading h2{font-size:14px}.card-heading p{font-size:11px}.chart-select select{font-size:11px}.state-list{font-size:11px}.state-list b{font-size:12px}.states-footnote{font-size:10px}.settings-heading h2{font-size:13px}.settings-heading p{font-size:11px}#settings label{font-size:11px}#settings input,#settings select,#settings button{font-size:12px}.settings-caption{font-size:10px}.results-label b{font-size:13px}.exports button{font-size:10px}.exports-caption{font-size:10px}#view>h2{font-size:16px}#view>p,#view>p.muted{font-size:12px}.toolbar label{font-size:11px}.toolbar input,.toolbar select{font-size:12px}table{font-size:12px}th{font-size:10px}td{padding:14px 13px}.scale-name small{font-size:10px}.link{font-size:12px}.code{font-size:11px}.pager{font-size:10px}.formulas p{font-size:12px}.formulas h3{font-size:13px}footer{font-size:10px}
@media(min-width:1700px){main{padding:34px 44px 0}.topbar{padding:0 44px}.summary{gap:19px}.stat-card{padding:19px 23px}.overview-grid{grid-template-columns:minmax(0,2fr) minmax(340px,1fr)}.trend-chart{height:194px}.states-content{min-height:198px}.state-ring{height:137px;width:137px}.main-actions button{font-size:12px;padding:11px 15px}.card-heading h2{font-size:14px}}
@media(max-width:1250px){:root{--sidebar:210px}.sidebar{padding-left:12px;padding-right:12px}.workspace-badge{padding:9px 7px}.workspace-badge b{font-size:9px}.workspace-arrow{display:none}.brand{padding-left:8px}.brand strong{font-size:21px}.brand-mark{width:29px;height:29px}.topbar{padding:0 23px}main{padding:25px 23px 0}.page-heading{align-items:flex-start;gap:14px}.main-actions{max-width:282px;gap:5px}.main-actions button{font-size:10px;padding:9px 10px}.main-actions .button-subtle{order:3}.page-heading h1{font-size:25px}.summary{gap:10px}.stat-card{padding:14px 12px}.stat-top>span{font-size:10px}.stat-icon{height:25px;width:25px}.stat-value{font-size:26px}.stat-description{font-size:8px}.overview-grid{grid-template-columns:minmax(0,1.45fr) minmax(265px,1fr);gap:14px}.insight-card{padding:17px 16px 15px}.card-heading h2{font-size:12px}.card-heading p{font-size:9px}.chart-select,.chart-select select{max-width:150px}.chart-select select{font-size:9px}.states-content{gap:13px;min-height:174px}.state-ring{height:108px;width:108px}.state-list{font-size:9px;gap:14px}.state-list b{font-size:10px}.states-footnote{font-size:8px}.settings-card{padding:17px}#settings{gap:10px;grid-template-columns:130px 77px minmax(155px,1.3fr) minmax(155px,1.3fr)}#settings>button{grid-column:4;justify-self:end;margin-top:2px;width:100%}.settings-heading{margin-bottom:15px}.live-indicator{display:none}.results-toolbar{padding:13px 17px}#view{padding:17px}.interpretation-band{font-size:9px}.code-legend{gap:10px}.code-legend-title{display:none}.semantics-details summary{font-size:9px}}
@media(max-width:1000px){:root{--sidebar:190px}.sidebar{padding-left:10px;padding-right:10px}.workspace-badge b{font-size:8px}.workspace-badge small{font-size:9px}.brand strong{font-size:19px}.brand small{font-size:10px}.brand-mark{width:25px;height:25px;gap:2px}#tabs button{padding:10px;font-size:11px;gap:9px}.book-card{padding:15px 12px}.book-card b{font-size:12px}.book-card button{font-size:9px}.sidebar-version{font-size:8px}.topbar{padding:0 18px}.privacy-pill{font-size:9px}.breadcrumbs{gap:8px;font-size:10px}main{padding:23px 18px 0}.page-heading{flex-direction:column;gap:14px}.main-actions{max-width:none;justify-content:flex-start}.main-actions .button-subtle{order:0}.page-heading h1{font-size:26px}.summary{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{padding:15px}.stat-top>span{font-size:11px}.stat-description{font-size:9px}.overview-grid{grid-template-columns:1fr}.states-content{min-height:145px;justify-content:flex-start;gap:30px}.state-ring{width:110px;height:110px}.state-list{max-width:240px;font-size:11px;display:grid;grid-template-columns:1fr 1fr;gap:21px 22px}.state-list b{font-size:11px}.states-footnote{font-size:10px}.chart-select,.chart-select select{max-width:240px}.chart-select select{font-size:10px}.card-heading h2{font-size:13px}.card-heading p{font-size:10px}#settings{grid-template-columns:1fr 100px}#settings>label:nth-child(3),#settings>label:nth-child(4),#settings>button{grid-column:1/-1}#settings>button{justify-self:stretch}.settings-caption{display:none}.results-toolbar{flex-direction:column;align-items:flex-start;gap:12px}.live-indicator{display:flex}.exports{width:100%}.exports-caption{margin-right:auto}.exports button{font-size:10px;padding:7px 9px}.interpretation-band{flex-direction:column;gap:10px}.semantics-details{max-width:100%;width:100%}.semantics-details summary{font-size:10px}.code-legend{gap:14px}.code-legend-title{display:block}.coordinate-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{--sidebar:0px}.mobile-only{display:inline-flex}.sidebar{width:236px;transform:translateX(-100%);transition:transform .2s ease;padding:24px 17px 0;box-shadow:15px 0 70px #17213b20}.menu-open .sidebar{transform:translateX(0)}body.menu-open{overflow:hidden}.nav-backdrop{position:fixed;inset:0;border:0;border-radius:0;background:#1a203e66;backdrop-filter:blur(3px);z-index:55;cursor:default}.brand{padding-left:4px;gap:9px}.brand strong{font-size:22px}.brand small{font-size:11px}.brand-mark{height:30px;width:30px;gap:3px}#nav-close{margin-left:auto;flex-shrink:0;width:28px;height:28px}.workspace-badge b{font-size:10px}.workspace-badge small{font-size:10px}#tabs button{font-size:12px;padding:11px 12px}.book-card b{font-size:13px}.book-card button{font-size:10px}.sidebar-version{font-size:9px}.workspace{margin-left:0}.topbar{height:58px;padding:0 15px}.breadcrumbs{gap:6px;font-size:10px}.breadcrumb-home,.breadcrumb-parent,.breadcrumb-divider{display:none}.topbar-right{gap:4px}.privacy-pill{font-size:8px;margin-right:4px;gap:5px}.topbar-right>.icon-button{width:29px;height:29px;padding:6px}.topbar-right>.icon-button[data-help]{display:none}.author-avatar{height:26px;width:26px;font-size:8px}.skip-link{left:12px}main{padding:23px 18px 0}.eyebrow{font-size:8px;letter-spacing:1.2px}.page-heading{margin-bottom:20px;gap:17px}.title-line{gap:9px}.page-heading h1{font-size:25px;letter-spacing:-.8px}.dataset-kind{font-size:8px;padding:3px 6px}.page-heading #source{font-size:10px;line-height:1.8;margin-top:7px}.main-actions{width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.main-actions button{font-size:10px;padding:9px 6px;gap:5px}.main-actions .icon{height:13px;width:13px}.summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:15px}.stat-card{padding:14px 15px;border-radius:10px}.stat-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:18px;padding:12px 15px}.stat-card:last-child .stat-top{grid-column:1;grid-row:1;gap:7px;flex-direction:row-reverse;justify-self:start}.stat-card:last-child .stat-value{grid-column:2;grid-row:1/3;margin:0;font-size:26px}.stat-card:last-child .stat-description{grid-column:1;margin-top:5px}.stat-card:last-child .stat-icon{width:20px;height:20px;border-radius:5px}.stat-card:last-child .stat-icon .icon{height:12px;width:12px}.stat-top>span{font-size:10px}.stat-icon{width:25px;height:25px}.stat-value{font-size:28px;margin:11px 0 7px}.stat-description{font-size:9px}.overview-grid{gap:14px;margin-bottom:15px}.insight-card{padding:17px 16px 15px}.card-heading h2{font-size:12px}.card-heading p{font-size:9px}.chart-select,.chart-select select{max-width:140px}.chart-select select{font-size:9px;padding:7px}.trend-chart{height:160px;margin-top:11px}.chart-legend{font-size:8px;gap:10px}.chart-horizon{font-size:8px}.states-content{min-height:144px;gap:22px;padding-top:12px}.state-ring{height:112px;width:112px}.state-list{font-size:10px;display:flex;gap:13px;max-width:none}.state-list b{font-size:11px}.states-footnote{font-size:9px}.settings-card{padding:17px 16px;margin-bottom:14px}.settings-heading{gap:9px}.settings-heading h2{font-size:12px}.settings-heading p{font-size:9px}#settings{grid-template-columns:minmax(0,1fr) 95px;gap:13px 11px}#settings label{font-size:10px}#settings input,#settings select{height:39px;font-size:11px}#settings>button{margin-top:2px;height:39px}.code-legend-title{width:100%;font-size:9px}.code-legend{gap:8px 13px;font-size:9px}.interpretation-band{padding:0 1px;margin-bottom:16px;gap:9px}.semantics-details summary{font-size:9px}.results-toolbar{padding:15px 14px;gap:13px}.results-label b{font-size:11px}.results-label .icon{height:15px;width:15px}.live-indicator{font-size:7px;padding-left:4px;gap:4px}.exports{gap:5px;flex-wrap:nowrap}.exports-caption{display:none}.exports button{font-size:9px;padding:7px;gap:4px;flex:1}.exports .format-mark{font-size:7px;width:11px;height:11px}.exports button .icon{width:11px;height:11px}#view{padding:17px 14px 15px}#view>h2{font-size:14px}#view>p,#view>p.muted{font-size:10px;line-height:1.75}.toolbar{align-items:stretch;flex-direction:column;gap:12px;margin:17px 0 14px}.toolbar input,.toolbar select{max-width:100%;width:100%;font-size:11px;height:36px}.toolbar input[type=search]{min-width:0;width:100%}.table-wrap{max-height:480px;border-radius:7px}th{font-size:9px;padding:11px}td{padding:13px 11px}.scale-name{min-width:185px}.scale-name small{font-size:9px}.link{font-size:10px}.pager{gap:7px;font-size:8px}.pager button{font-size:9px;padding:7px 8px}.pair-grid{max-width:100%;margin:18px 0}.pair-grid th{font-size:10px;padding:12px 7px;white-space:normal}.pair-grid td{font-size:18px;padding:17px 12px}.pair-grid .scale-name{min-width:0}.coordinate-list{grid-template-columns:1fr;padding:12px}.large-number{font-size:18px;padding:13px}.formulas h2{font-size:16px}.formula{font-size:18px;padding:14px}.formulas p{font-size:11px}.grid-two{grid-template-columns:1fr}footer{padding:17px 1px 23px;font-size:8px;flex-direction:column;gap:5px}#status{padding:9px 14px;font-size:9px}dialog{padding:21px;border-radius:13px;max-height:88vh}dialog h2{font-size:20px}#help-dialog{padding:23px}.dialog-heading{margin-bottom:20px}.help-steps li{gap:12px}.help-steps p{font-size:10px}.help-steps h3{font-size:11px}.rule-bounds{grid-template-columns:1fr;gap:14px}.dialog-lead{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.main-actions,.settings-card,.exports,.interpretation-band,.pager,footer{display:none}.workspace{margin:0}main{padding:0}.table-wrap{max-height:none;overflow:visible}.page-heading{margin-bottom:20px}#view{padding:0}.summary{gap:10px}.stat-card{padding:10px}body{background:#fff}}
