:root{--bg: #ffffff;--surface: #ffffff;--border: #cfd2d7;--border-strong: #1c1e22;--text: #1c1e22;--text-muted: #5b6068;--accent: #1f3a5f;--accent-soft: #eef2f7;--header-bg: var(--surface);--row-alt: var(--surface);--row-hover: #f3f5f8;--missing: #b91c1c;--search-hit: #ffe680;--search-hit-border: #d4a800;--label-text: var(--accent);--flash-cell-bg: rgba(31, 58, 95, .12);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--text);color-scheme:light}:root[data-theme=dark]{--bg: #1a1c20;--surface: #1a1c20;--border: #353841;--border-strong: #e2e5eb;--text: #e2e5eb;--text-muted: #8c919c;--accent: #8fb3d9;--accent-soft: #232a36;--header-bg: var(--surface);--row-alt: var(--surface);--row-hover: #232830;--missing: #f87171;--search-hit: #5a4d12;--search-hit-border: #b58a00;--label-text: var(--accent);--flash-cell-bg: rgba(143, 179, 217, .18);color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;background:var(--bg)}.app{display:flex;flex-direction:column;height:100vh;overflow:hidden}.app>.topbar,.app>.dataset-tabbar,.app>.tabs,.app>.bottompane,.app>.statusbar,.app>.inline-error{flex-shrink:0}.topbar{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--border);background:var(--surface)}.topbar h1{font-size:14px;font-weight:600;margin:0}.brand{display:inline-flex;align-items:center;gap:8px;color:var(--accent);letter-spacing:.02em;font-family:Charter,Iowan Old Style,"Source Serif 4","Source Serif Pro",Georgia,Cambria,Times New Roman,serif}.brand__icon{flex-shrink:0}.brand__name{font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:.06em}.brand__suffix{font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em}.topbar .filename{font-size:13px;color:var(--text-muted)}.topbar .stats{margin-left:auto;font-size:12px;color:var(--text-muted);display:flex;gap:16px}.topbar button{padding:6px 12px;border:1px solid var(--border-strong);background:var(--surface);border-radius:4px;cursor:pointer;font-size:13px}.topbar button:hover{background:var(--accent-soft)}.workbench-button{background:#a8a8a8;color:#000;font-family:Topaz,Topaz-8,Lucida Console,ui-monospace,monospace;font-size:12px;font-weight:400;letter-spacing:0;padding:3px 12px 4px;border:none;border-radius:0!important;outline:1px solid #000;outline-offset:-1px;box-shadow:inset 2px 2px #fff,inset -2px -2px #4a4a4a;cursor:pointer;text-transform:none;transition:none}.workbench-button:hover{background:#b4b4b4!important}.workbench-button:active{background:#989898!important;box-shadow:inset 2px 2px #4a4a4a,inset -2px -2px #fff;padding:4px 11px 3px 13px}:root[data-theme=dark] .workbench-button{background:#05a;color:#f80;outline-color:#000;box-shadow:inset 2px 2px #58c,inset -2px -2px #025}:root[data-theme=dark] .workbench-button:hover{background:#16b!important}:root[data-theme=dark] .workbench-button:active{background:#038!important;box-shadow:inset 2px 2px #025,inset -2px -2px #58c}.tabs{display:flex;border-bottom:1px solid var(--border);background:var(--surface);padding:0 16px;gap:4px}.tabs button{background:none;border:none;padding:10px 16px;font-size:13px;cursor:pointer;color:var(--text-muted);border-bottom:2px solid transparent;margin-bottom:-1px}.tabs button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.tabs--bottom{justify-content:center;border-bottom:none;border-top:1px solid var(--border);padding:0}.tabs--bottom button{border-bottom:none;border-top:2px solid transparent;margin-bottom:0;margin-top:-1px;padding:8px 18px}.tabs--bottom button.active{border-top-color:var(--accent);border-bottom-color:transparent}.tabs .viewer-tab-output{display:inline-flex;align-items:center;gap:6px}.viewer-tab-output__count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:16px;padding:0 5px;border-radius:9px;background:var(--border);color:var(--text-muted);font-size:10px;font-weight:600;line-height:1}.viewer-tab-output.active .viewer-tab-output__count{background:var(--accent);color:#fff}.viewer-tab-output__dot{color:var(--accent);font-size:14px;line-height:1;margin-left:-2px}.tabs .right{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-muted);padding:6px 0}.tabs__tools{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted)}.tabs__tools--left{margin-right:-14px;padding-left:8px}.tabs__tools:not(.tabs__tools--left){margin-left:-14px;padding-right:8px}.tabs label{display:flex;align-items:center;gap:6px;cursor:pointer}.tabs .toolbar-toggle{display:inline-flex;align-items:center;justify-content:center;width:28px;height:24px;padding:0;border:1px solid transparent;background:transparent;color:var(--text-muted);border-radius:3px;cursor:pointer;transition:background 80ms,color 80ms,border-color 80ms}.tabs .toolbar-toggle:hover{background:var(--accent-soft);color:var(--text);border-color:var(--border)}.tabs .toolbar-toggle[aria-pressed=true]{background:#d6e4fb;border-color:var(--accent);color:var(--accent);box-shadow:inset 0 1px 2px #1f6feb2e}.tabs .toolbar-toggle[aria-pressed=true]:hover{background:#c2d6f8}.tabs .toolbar-toggle svg{display:block;width:16px;height:16px;flex-shrink:0}.progress-bar{position:relative;height:22px;background:var(--surface);border-bottom:1px solid var(--border);overflow:hidden;display:flex;align-items:center}.progress-fill{position:absolute;inset:0;height:100%;background:var(--accent-soft);transition:width 80ms linear;border-right:1px solid #c5d8f5}.progress-bar.indeterminate .progress-fill{width:100%;background:linear-gradient(90deg,transparent 0%,var(--accent-soft) 40%,#b8d0f7 50%,var(--accent-soft) 60%,transparent 100%);background-size:240% 100%;animation:progress-stripe 1.4s linear infinite;border-right:none}@keyframes progress-stripe{0%{background-position:120% 0}to{background-position:-120% 0}}.progress-label{position:relative;z-index:1;padding:0 12px;font-size:11px;color:var(--accent);font-weight:500;font-variant-numeric:tabular-nums}.progress-pause{position:relative;z-index:1;margin-left:auto;margin-right:8px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--accent);cursor:pointer;padding:0}.progress-pause:hover{background:#1f6feb1f;border-color:var(--accent)}.progress-pause[aria-pressed=true]{background:#d6e4fb;border-color:var(--accent)}.progress-pause svg{display:block}.progress-bar.paused .progress-fill{background:#e5ecf7}.progress-bar.paused .progress-label{color:var(--text-muted)}.loading-cell{color:var(--border-strong);background:var(--row-alt);text-align:center}.status-bar{display:flex;align-items:center;gap:14px;padding:4px 14px;border-top:1px solid var(--border);background:var(--header-bg);font-size:11px;color:var(--text-muted);font-family:Inter,system-ui,sans-serif;user-select:none;flex-shrink:0}.status-item{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}.status-key{color:var(--text-muted)}.status-val{color:var(--text);font-weight:500}.status-val.on{color:var(--accent)}.status-muted{color:var(--text-muted);font-weight:400;margin-left:4px}.status-sep{width:1px;height:12px;background:var(--border-strong)}.status-spacer{flex:1}.status-state{display:inline-flex;align-items:center;gap:6px;font-weight:500}.status-state.ready{color:#1f7a3a}:root[data-theme=dark] .status-state.ready{color:#4ade80}:root[data-theme=dark] .status-state.paused{color:#fbbf24}.status-state.busy{color:var(--accent)}.status-state.paused{color:#b87800}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor}.status-state.busy .status-dot{animation:status-pulse 1.1s ease-in-out infinite}@keyframes status-pulse{0%,to{opacity:.35}50%{opacity:1}}.viewer{flex:1;overflow:hidden;position:relative}.tab-pane{position:absolute;inset:0;display:flex;flex-direction:column;min-height:0}.tab-pane.hidden{display:none}.tab-count{display:inline-block;margin-left:6px;padding:0 6px;font-size:11px;font-weight:600;line-height:16px;border-radius:9px;background:var(--accent-soft);color:var(--accent)}.tabs button.active .tab-count{background:var(--accent);color:#fff}.mrset-view{height:100%;overflow-y:auto;padding:16px 20px 24px}.mrset-summary{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:10px}.mrset-empty{padding:32px 20px;color:var(--text-muted);font-size:13px;text-align:center}.mrset-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.mrset-card{border:1px solid var(--border);border-radius:2px;padding:10px 12px;background:var(--surface)}.mrset-card-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mrset-name{font-family:ui-monospace,Menlo,monospace;font-weight:600;font-size:13px;color:var(--text)}.mrset-kind{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.mrset-counted{font-size:11px;color:var(--text-muted)}.mrset-counted code{font-family:ui-monospace,Menlo,monospace;background:var(--accent-soft);color:var(--accent);padding:1px 5px;border-radius:3px}.mrset-label{margin-top:4px;font-size:13px;color:var(--text)}.mrset-vars{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.mrset-var{display:inline-block;font-family:ui-monospace,Menlo,monospace;font-size:12px;padding:2px 8px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text);cursor:pointer}button.mrset-var:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.mrset-var.missing{color:var(--missing);font-style:italic;cursor:help}.drop-overlay{position:fixed;inset:0;background:#1f6feb2e;backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:200;pointer-events:none;animation:drop-overlay-in .12s ease-out}@keyframes drop-overlay-in{0%{opacity:0}to{opacity:1}}.drop-overlay-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:36px 56px;background:var(--surface);border:2px dashed var(--accent);border-radius:2px;box-shadow:0 20px 60px #0000002e;color:var(--accent)}.drop-overlay-text{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.drop-overlay-text strong{font-size:16px;font-weight:600}.drop-overlay-text span{font-size:12px;color:var(--text-muted)}.hero{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px 48px;gap:28px;overflow:auto;text-align:center}.hero__intro{max-width:640px;display:flex;flex-direction:column;align-items:center;gap:8px}.hero__mark{color:var(--accent);margin-bottom:8px}.hero__intro h1{margin:0;font-size:28px;letter-spacing:.08em;line-height:1;font-family:Charter,Iowan Old Style,"Source Serif 4","Source Serif Pro",Georgia,Cambria,Times New Roman,serif}.hero__intro h1 .brand__name{font-weight:800;color:var(--accent)}.hero__intro h1 .brand__suffix{font-weight:500;color:var(--text-muted)}.hero__intro p{margin:6px 0 0;color:var(--text-muted);font-size:13px;line-height:1.5}.hero__samples{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;width:100%;max-width:1000px}.hero__samples li{display:contents}.hero__sample{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px 16px;background:var(--surface);border:none;border-top:1px solid var(--border);border-bottom:1px solid var(--border);border-radius:0;cursor:pointer;text-align:left;font:inherit;color:var(--text);transition:background .1s ease,border-color .1s ease}.hero__sample:hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent)}.hero__sample:disabled{opacity:.5;cursor:not-allowed}.hero__sample[aria-busy=true]{border-color:var(--accent)}.hero__sample-label{font-size:14px;font-weight:600}.hero__sample-meta{font-size:12px;color:var(--text-muted);line-height:1.4}.hero__footer{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:12px}.hero__footer-sep{color:var(--border)}.hero__footer-action{background:transparent;border:none;padding:4px 6px;font:inherit;font-size:12px;color:var(--accent);cursor:pointer;border-radius:3px}.hero__footer-action:hover{background:var(--accent-soft, rgba(31, 111, 235, .08))}.hero__error{max-width:640px;color:var(--missing);font-size:12px;text-align:center}.modal-scrim{position:fixed;inset:0;background:#1c1e2273;display:flex;align-items:center;justify-content:center;z-index:300}.password-modal{background:var(--surface);border-radius:2px;padding:24px 28px;width:380px;display:flex;flex-direction:column;gap:14px;box-shadow:0 2px 8px #00000014;font-family:Inter,system-ui,sans-serif}.password-modal-title{font-size:16px;font-weight:600}.password-modal-file{font-size:12px;color:var(--text-muted);font-family:ui-monospace,Menlo,monospace;margin-top:-8px}.password-modal-label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:500;color:var(--text-muted)}.password-modal-label input{padding:8px 10px;font-size:14px;border:1px solid var(--border-strong);border-radius:4px;font-family:ui-monospace,Menlo,monospace}.password-modal-label input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.password-modal-error{color:var(--missing);font-size:12px}.password-modal-buttons{display:flex;justify-content:flex-end;gap:8px}.password-modal-buttons button{padding:7px 14px;border:1px solid var(--border-strong);background:var(--surface);border-radius:4px;cursor:pointer;font-size:13px;font-family:inherit}.password-modal-buttons button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.password-modal-buttons button.primary:disabled{background:var(--border-strong);border-color:var(--border-strong);color:#fff;cursor:not-allowed}.password-modal-note{font-size:11px;color:var(--text-muted);line-height:1.4}.help-modal{background:var(--surface);border-radius:2px;width:520px;max-width:calc(100vw - 48px);max-height:calc(100vh - 96px);display:flex;flex-direction:column;box-shadow:0 2px 8px #00000014;font-family:Inter,system-ui,sans-serif;overflow:hidden}.help-modal-title{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border);font-size:14px;font-weight:600}.help-modal-close{background:transparent;border:none;font-size:20px;line-height:1;color:var(--text-muted);cursor:pointer;padding:2px 8px;border-radius:4px}.help-modal-close:hover{background:var(--accent-soft);color:var(--text)}.help-modal-body{padding:12px 20px 18px;overflow-y:auto}.help-section{margin-top:14px}.help-section:first-child{margin-top:4px}.help-section h3{margin:0 0 6px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted)}.help-section dl{margin:0;display:flex;flex-direction:column;gap:4px}.help-row{display:flex;gap:12px;align-items:baseline;font-size:12.5px}.help-row dt{flex:0 0 220px;margin:0;font-weight:500;color:var(--text)}.help-row dd{margin:0;color:var(--text-muted);flex:1}.help-row kbd{display:inline-block;padding:1px 6px;border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:4px;background:var(--surface-alt, var(--surface));font-family:ui-monospace,Menlo,monospace;font-size:11px;color:var(--text);min-width:18px;text-align:center}.help-sep{color:var(--text-muted);font-size:11px;margin:0 4px}.recent-files{margin-top:28px;padding-top:16px;border-top:1px solid var(--border);text-align:left}.recent-files-header{display:flex;align-items:center;justify-content:space-between;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:8px}.recent-clear{background:transparent;border:none;font-size:11px;color:var(--text-muted);text-transform:none;letter-spacing:normal;cursor:pointer;padding:2px 6px;border-radius:3px}.recent-clear:hover{background:var(--accent-soft);color:var(--accent)}.recent-files ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:2px}.recent-item{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;background:transparent;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;font:inherit;text-align:left;color:inherit}.recent-item:hover{background:var(--accent-soft)}.recent-name{font-size:13px;font-family:ui-monospace,Menlo,monospace;color:var(--text)}.recent-meta{font-size:11px;color:var(--text-muted)}.error{margin-top:16px;color:var(--missing);font-size:13px}.table-scroll{position:absolute;inset:0;overflow:auto;background:var(--surface)}.table-scroll table{border-collapse:separate;border-spacing:0;font-size:12px;font-variant-numeric:tabular-nums;font-family:ui-monospace,SF Mono,Menlo,monospace;table-layout:fixed}.table-scroll thead th{position:sticky;top:0;z-index:2;background:var(--header-bg);border-right:1px solid var(--border);border-bottom:1px solid var(--border-strong);padding:6px 10px;text-align:left;font-weight:600;white-space:nowrap;font-family:Inter,system-ui,sans-serif;user-select:none}.table-scroll thead th .th-content{cursor:grab}.table-scroll thead th .th-content:active{cursor:grabbing}.col-resize-grip{position:absolute;top:0;right:-3px;width:7px;height:100%;cursor:col-resize;z-index:3}.col-resize-grip:after{content:"";position:absolute;top:4px;bottom:4px;left:3px;width:1px;background:transparent}.col-resize-grip:hover:after{background:var(--accent)}.table-scroll thead th.drop-target-left:before,.table-scroll thead th.drop-target-right:before{content:"";position:absolute;top:0;bottom:0;width:2px;background:var(--accent);z-index:4;pointer-events:none}.table-scroll thead th.drop-target-left:before{left:-1px}.table-scroll thead th.drop-target-right:before{right:-1px}.table-scroll thead th.sorted{background:linear-gradient(0deg,#e3ecfb 0%,var(--header-bg) 100%)}.table-scroll thead th.flash{background-color:#1f6feb!important;color:#fff!important;box-shadow:inset 0 0 0 2px #1f6feb,0 0 22px 6px #1f6feb8c}.table-scroll tbody tr td.flash-cell{background-color:#1f6feb38!important;box-shadow:inset 1px 0 #1f6feb,inset -1px 0 #1f6feb}.table-scroll tbody tr.flash-row td{background-color:#1f6feb38!important;box-shadow:inset 0 1px #1f6feb,inset 0 -1px #1f6feb;transition:background-color .35s ease-out,box-shadow .35s ease-out}:root[data-theme=dark] .table-scroll tbody tr.flash-row td{background-color:#6ea8fe52!important;box-shadow:inset 0 1px #6ea8fe,inset 0 -1px #6ea8fe}:root[data-theme=dark] .table-scroll thead th.flash{background-color:#6ea8fe!important;color:#16181d!important;box-shadow:inset 0 0 0 2px #6ea8fe,0 0 22px 6px #6ea8fe8c}:root[data-theme=dark] .table-scroll tbody tr td.flash-cell{background-color:#6ea8fe52!important;box-shadow:inset 1px 0 #6ea8fe,inset -1px 0 #6ea8fe}.table-scroll td.row-num.clickable{cursor:pointer}.table-scroll td.row-num.clickable:hover{background:var(--accent-soft);color:var(--accent)}.search-bar{position:sticky;top:0;left:0;right:0;z-index:10;display:flex;align-items:center;gap:6px;padding:6px 8px;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 4px 12px #00000014;font-family:Inter,system-ui,sans-serif;font-size:12px}.search-icon{flex-shrink:0;color:var(--text-muted);margin-left:4px}.search-bar input{flex:1;min-width:0;padding:4px 6px;border:1px solid var(--border);border-radius:3px;background:var(--surface);color:var(--text);font:inherit}.search-bar input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.search-status{flex-shrink:0;font-size:11px;color:var(--text-muted);min-width:120px;text-align:right;font-variant-numeric:tabular-nums}.search-status.no-matches{color:var(--missing)}.search-nav,.search-close,.search-opt{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid transparent;background:transparent;border-radius:3px;cursor:pointer;color:var(--text-muted);font-size:13px;font-family:inherit}.search-nav:hover:not(:disabled),.search-close:hover,.search-opt:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.search-nav:disabled,.search-opt:disabled{opacity:.4;cursor:not-allowed}.search-opt{margin-left:4px;font-size:11px;font-weight:600;letter-spacing:.03em}.search-opt[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.search-close{margin-left:4px;font-size:16px;line-height:1}.table-scroll td.search-hit{background:var(--search-hit)!important;color:var(--text);box-shadow:inset 0 0 0 1px var(--search-hit-border)}.sort-indicator{margin-left:4px;font-size:9px;color:var(--accent);flex-shrink:0}.context-menu{position:fixed;z-index:100;min-width:180px;background:var(--surface);border:1px solid var(--border-strong);border-radius:2px;box-shadow:0 6px 24px #00000029;padding:4px;display:flex;flex-direction:column;font-family:Inter,system-ui,sans-serif;font-size:13px;color:var(--text)}.context-menu-item{background:transparent;border:none;text-align:left;padding:6px 12px;border-radius:4px;cursor:pointer;color:inherit;font:inherit}.context-menu-item:hover:not(:disabled){background:var(--accent-soft)}.context-menu-item:disabled{color:var(--text-muted);cursor:default}.context-menu-sep{height:1px;background:var(--border);margin:4px 0}.freq-popover{position:fixed;z-index:100;width:380px;max-height:70vh;background:var(--surface);border:1px solid var(--border-strong);border-radius:2px;box-shadow:0 12px 36px #0003;display:flex;flex-direction:column;font-family:Inter,system-ui,sans-serif;font-size:12px;color:var(--text);overflow:hidden}.freq-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px 8px;border-bottom:1px solid var(--border);background:var(--header-bg)}.freq-title{display:flex;flex-direction:column;min-width:0}.freq-var-name{font-weight:700;font-size:13px}.freq-var-label{font-size:11px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.freq-close{background:transparent;border:none;cursor:pointer;color:var(--text-muted);font-size:18px;line-height:1;padding:0 4px;border-radius:4px}.freq-close:hover{background:var(--row-hover);color:var(--text)}.freq-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border);border-bottom:1px solid var(--border)}.freq-stat{background:var(--surface);padding:6px 10px;display:flex;flex-direction:column;gap:2px}.freq-stat-label{font-size:10px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.freq-stat-value{font-family:ui-monospace,Menlo,monospace;font-size:12px;font-weight:600}.freq-stat.highlight .freq-stat-value{color:var(--missing)}.freq-table-wrap{flex:1;overflow:auto}.freq-table{width:100%;border-collapse:collapse;font-size:12px;font-family:ui-monospace,Menlo,monospace}.freq-table thead th{position:sticky;top:0;background:var(--header-bg);text-align:left;padding:4px 10px;border-bottom:1px solid var(--border);font-family:Inter,system-ui,sans-serif;font-weight:600;font-size:11px}.freq-table thead th.numeric,.freq-table td.numeric{text-align:right}.freq-table tbody td{padding:3px 10px;border-bottom:1px solid #f0f1f4}.freq-table tbody tr:hover td{background:var(--row-hover)}.freq-value{white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}.freq-label{color:var(--accent);white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}.freq-empty{text-align:center;color:var(--text-muted);padding:12px}.freq-truncated{padding:6px 12px;font-size:11px;color:var(--text-muted);border-top:1px solid var(--border);background:var(--row-alt)}.freq-streaming{padding:6px 12px;font-size:11px;color:var(--accent);border-top:1px solid var(--border);background:var(--accent-soft)}.table-scroll thead th .th-content{display:flex;align-items:center;gap:6px}.table-scroll thead th .th-text{display:flex;flex-direction:column;min-width:0}.table-scroll thead th .var-name{font-weight:600;color:var(--text)}.table-scroll thead th .var-label{display:block;font-weight:400;font-size:11px;color:var(--text-muted);max-width:240px;overflow:hidden;text-overflow:ellipsis}.var-icons{display:inline-flex;align-items:center;gap:2px;flex-shrink:0}.var-icons svg{display:block}.fmt-icon{color:var(--text-muted)}.fmt-icon.fmt-number{color:#1858c4}.fmt-icon.fmt-string{color:#5b6068}.fmt-icon.fmt-date,.fmt-icon.fmt-time,.fmt-icon.fmt-datetime{color:#b87800}.msr-icon.msr-nominal{color:#c43c3c}.msr-icon.msr-ordinal{color:#c98a1d}.msr-icon.msr-scale{color:#2c8a4a}.table-scroll th.row-num,.table-scroll td.row-num{position:sticky;left:0;background:var(--header-bg);color:var(--text-muted);text-align:right;border-right:1px solid var(--border-strong);z-index:3;min-width:60px;padding:4px 8px}.table-scroll thead th.row-num{z-index:4}.table-scroll td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);padding:4px 10px;white-space:nowrap;max-width:320px;overflow:hidden;text-overflow:ellipsis}.table-scroll td.numeric{text-align:right}.table-scroll td.missing{color:var(--missing);font-style:italic;text-align:center}.table-scroll td.label{color:var(--label-text)}.table-scroll tbody tr:nth-child(2n) td:not(.row-num){background:var(--row-alt)}.table-scroll tbody tr:hover td:not(.row-num){background:var(--row-hover)}.loading{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-muted);font-size:14px;animation:pulse 1.6s ease-in-out infinite}.parse-progress{display:flex;flex-direction:column;align-items:center;gap:14px;padding:28px 36px}.parse-progress__counter{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:32px;font-weight:500;line-height:1;color:var(--text);font-variant-numeric:tabular-nums}.parse-progress__loaded{color:var(--accent)}.parse-progress__divider,.parse-progress__total{color:var(--text-muted)}.parse-progress__unit{font-size:14px;font-weight:400;color:var(--text-muted);margin-left:6px;letter-spacing:.04em;text-transform:uppercase;font-family:Inter,system-ui,sans-serif}.parse-progress__meta{font-size:12px;color:var(--text-muted);font-family:Inter,system-ui,sans-serif}.parse-progress__meta code{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;color:var(--text)}.modal-scrim--parse{z-index:350}.parse-progress-card{background:var(--surface);border:1px solid var(--border);border-radius:6px;min-width:380px;max-width:calc(100vw - 48px);box-shadow:0 4px 24px #0000002e}@keyframes pulse{0%,to{opacity:.55}50%{opacity:1}}:root[data-theme=dark] .table-scroll thead th.sorted{background:linear-gradient(0deg,#2c3a52 0%,var(--header-bg) 100%)}:root[data-theme=dark] .toolbar-toggle[aria-pressed=true],:root[data-theme=dark] .progress-pause[aria-pressed=true]{background:#1f2c47;border-color:var(--accent);color:var(--accent)}:root[data-theme=dark] .progress-pause[aria-pressed=true]:hover,:root[data-theme=dark] .toolbar-toggle[aria-pressed=true]:hover{background:#283b5e}:root[data-theme=dark] .progress-bar.paused .progress-fill{background:#2a313f}:root[data-theme=dark] .search-bar{box-shadow:0 4px 12px #0006}:root[data-theme=dark] .modal-scrim{background:#0000008c}.topbar .theme-toggle,.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);border-radius:4px;cursor:pointer;font-size:0}.topbar .theme-toggle:hover,.theme-toggle:hover{background:var(--accent-soft);color:var(--accent)}.theme-toggle.inline{margin-left:auto}.theme-toggle svg{display:block;width:14px;height:14px;flex-shrink:0}.topbar-themes{display:inline-flex;align-items:center;gap:4px;margin-left:auto}.topbar .topbar-iconbtn,.topbar-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid transparent;background:transparent;border-radius:4px;color:var(--text-muted);cursor:pointer}.topbar .topbar-iconbtn:hover,.topbar-iconbtn:hover{background:var(--accent-soft);border-color:var(--border-strong, var(--border));color:var(--text)}.topbar .topbar-iconbtn[aria-pressed=true],.topbar-iconbtn[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.topbar .topbar-iconbtn svg,.topbar-iconbtn svg{display:block;width:14px;height:14px}:root{--dirty: #c2410c;--dirty-soft: #fff1ea}:root[data-theme=dark]{--dirty: #fb923c;--dirty-soft: #2d1a0d}.dirty-marker{color:var(--dirty);font-weight:600;margin-left:2px}.workbench-button.primary{background:var(--accent);color:#fff;outline-color:#000;box-shadow:inset 2px 2px #ffffff73,inset -2px -2px #00000059}.workbench-button.primary:hover:not(:disabled){filter:brightness(1.08);background:var(--accent)!important;color:#fff}.workbench-button:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.4)}.inline-error{margin:8px 16px 0;padding:8px 12px;border:1px solid var(--missing);border-radius:2px;background:var(--dirty-soft);color:var(--missing);font-size:13px}.table-scroll.vareditor-scroll td{padding:0 4px}.table-scroll.vareditor-scroll td .cell-input{padding:2px 6px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.table-scroll.vareditor-scroll tr.dirty-row td.row-num{border-left:3px solid var(--dirty);padding-left:4px}.table-scroll.vareditor-scroll .muted{color:var(--text-muted)}.cell-input,.vareditor select{width:100%;padding:3px 6px;border:1px solid transparent;border-radius:4px;background:transparent;color:inherit;font:inherit}.cell-input:hover,.vareditor select:hover{border-color:var(--border);background:var(--surface)}.cell-input:focus,.vareditor select:focus{outline:none;border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 2px var(--accent-soft)}.cell-input:disabled{opacity:.5}.cell-input.narrow{width:5.5em}.cell-input.wide{min-width:14em}.cell-input.num{text-align:right;font-variant-numeric:tabular-nums}.dataeditor{flex:1;display:flex;flex-direction:column;min-height:0;background:var(--surface);position:relative}.viewer__view-tabs{flex:0 0 auto;display:flex;align-items:flex-start;gap:0;padding:0 12px;background:var(--surface);border-bottom:1px solid var(--border)}.viewer__view-tab{padding:6px 14px 5px;border:none;border-bottom:2px solid transparent;background:transparent;color:var(--text-muted);font-family:inherit;font-size:12px;cursor:pointer;line-height:1.4;letter-spacing:.02em;transition:color .1s ease,background .1s ease,border-color .1s ease;margin-bottom:-1px}.viewer__view-tab:hover{color:var(--text);background:var(--row-hover)}.viewer__view-tab.active{color:var(--text);border-bottom-color:var(--accent);font-weight:500}.viewer__view-tab.active:hover{background:transparent}@keyframes floating-icon-sparkle{0%,to{border-color:#7fc4f559;box-shadow:0 0 0 1px #7fc4f51a,0 0 6px #7fc4f526}50%{border-color:#7fc4f5;box-shadow:0 0 0 3px #7fc4f58c,0 0 36px #7fc4f5}}.viewer__view-toggle button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;background:transparent;border:none;border-radius:999px;color:var(--text-muted);cursor:pointer;transition:color .1s ease,background .1s ease}.viewer__view-toggle button:hover{color:var(--text);background:var(--accent-soft)}.viewer__view-toggle button.active{background:var(--accent-soft);color:var(--accent)}.grid-toolbar{display:flex;align-items:center;gap:12px;padding:6px 12px;border-bottom:1px solid var(--border);background:var(--surface);font-size:12px}.grid-toolbar button{padding:3px 10px;border:1px solid var(--border-strong);border-radius:4px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}.grid-toolbar button:hover:not(:disabled){background:var(--accent-soft)}.grid-toolbar button:disabled{opacity:.4;cursor:not-allowed}.grid-toolbar .muted{color:var(--text-muted)}.grid-scroll{flex:1;min-height:0;overflow:auto}.dataeditor table{border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums;table-layout:fixed}.dataeditor th{position:relative}.dataeditor th .th-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:8px}.dataeditor td{overflow:hidden;text-overflow:ellipsis}.dataeditor th,.dataeditor td{border-bottom:1px solid var(--border);border-right:1px solid var(--border);padding:0;white-space:nowrap}.dataeditor th{background:var(--header-bg);color:var(--text-muted);font-weight:600;padding:4px 8px;position:sticky;top:0;z-index:1}.dataeditor td.row-idx,.dataeditor th.row-idx{background:var(--header-bg);color:var(--text-muted);text-align:right;padding:4px 8px;position:sticky;left:0;z-index:2;font-variant-numeric:tabular-nums}.dataeditor th.row-idx{z-index:3}.dataeditor tbody tr:hover td{background:var(--row-hover)}.dataeditor td .cell-input{border-radius:0;padding:4px 8px;min-width:6em}.dataeditor td.cell-dirty .cell-input{background:var(--dirty-soft);color:var(--dirty)}.dataeditor td.cell-dirty .cell-input:focus{background:var(--surface)}.dataeditor td.flash .cell-input,.dataeditor td.row-idx.flash{background:var(--flash-cell-bg);transition:background .6s ease-out}.dataeditor td .cell-input.labelled{color:var(--label-text);font-style:italic}.dataeditor td .cell-input.labelled:focus{color:inherit;font-style:normal}.table-scroll.vareditor-scroll td.vl-cell{cursor:pointer;position:relative;padding-right:22px}.table-scroll.vareditor-scroll td.vl-cell:hover{background:var(--accent-soft);color:var(--accent)}.table-scroll.vareditor-scroll td.vl-cell .vl-cell-edit{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:11px;opacity:0;color:var(--text-muted);transition:opacity 80ms}.table-scroll.vareditor-scroll td.vl-cell:hover .vl-cell-edit{opacity:1;color:var(--accent)}.vl-modal{background:var(--surface);border:1px solid var(--border-strong);border-radius:2px;width:min(560px,96vw);max-height:86vh;display:flex;flex-direction:column;box-shadow:0 16px 48px #00000040}.vl-modal-header{padding:16px 20px 12px;border-bottom:1px solid var(--border)}.vl-modal-title{font-size:15px;font-weight:600;color:var(--text)}.vl-modal-subtitle{font-size:12px;color:var(--text-muted);margin-top:2px;font-variant-numeric:tabular-nums}.vl-modal-varlabel{color:var(--label-text)}.vl-modal-body{padding:12px 20px;overflow:auto;flex:1;min-height:0}.vl-modal-empty{padding:12px 0 16px;color:var(--text-muted);font-size:13px}.vl-modal-table{width:100%;border-collapse:collapse;font-size:13px}.vl-modal-table th{text-align:left;font-weight:600;color:var(--text-muted);font-size:11px;text-transform:uppercase;letter-spacing:.4px;padding:4px 6px;border-bottom:1px solid var(--border)}.vl-modal-table th:first-child{width:140px}.vl-modal-table th:last-child{width:28px}.vl-modal-table td{padding:4px 6px;vertical-align:middle}.vl-modal-input{width:100%;padding:5px 8px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text);font:inherit}.vl-modal-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.vl-modal-remove{background:transparent;border:1px solid transparent;border-radius:4px;width:24px;height:24px;font-size:16px;line-height:1;color:var(--text-muted);cursor:pointer}.vl-modal-remove:hover{background:var(--dirty-soft);border-color:var(--missing);color:var(--missing)}.vl-modal-add{margin-top:12px;padding:5px 12px;border:1px dashed var(--border-strong);border-radius:2px;background:transparent;color:var(--text-muted);font:inherit;cursor:pointer}.vl-modal-add:hover{border-color:var(--accent);color:var(--accent);border-style:solid}.vl-modal-error{margin-top:10px;padding:6px 10px;border:1px solid var(--missing);border-radius:4px;background:var(--dirty-soft);color:var(--missing);font-size:12px}.vl-modal-buttons{display:flex;gap:8px;justify-content:flex-end;padding:12px 20px;border-top:1px solid var(--border)}.vl-modal-buttons button{padding:6px 16px;border:1px solid var(--border-strong);border-radius:2px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}.vl-modal-buttons button:hover{border-color:var(--accent);color:var(--accent)}.vl-modal-buttons button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.vl-modal-buttons button.primary:hover{filter:brightness(1.08);color:#fff}.mv-modes{display:flex;flex-direction:column;gap:6px;padding-bottom:8px}.mv-mode-option{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;user-select:none}.mv-mode-option input[type=radio]{accent-color:var(--accent)}.mv-fields{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.mv-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--text-muted)}.mv-field input{color:var(--text)}.vareditor-wrap{flex:1;display:flex;flex-direction:column;min-height:0}.vareditor-toolbar{display:flex;align-items:center;gap:8px;padding:6px 12px;border-bottom:1px solid var(--border);background:var(--surface);font-size:12px}.vareditor-toolbar-spacer{flex:1}.vareditor-toolbar .small{font-size:11px}.vareditor-add{padding:4px 12px;border:1px dashed var(--border-strong);border-radius:2px;background:transparent;color:var(--text-muted);font:inherit;cursor:pointer}.vareditor-add:hover{border-color:var(--accent);border-style:solid;color:var(--accent);background:var(--accent-soft)}.table-scroll.vareditor-scroll td.row-num-actions{position:relative;padding:0}.row-num-actions .row-num-text{display:block;padding:4px 8px;text-align:right;transition:opacity 80ms}.row-num-actions .row-actions{position:absolute;inset:0;display:none;align-items:center;justify-content:center;gap:2px;background:var(--header-bg);padding:0 4px}.table-scroll.vareditor-scroll tr:hover td.row-num-actions .row-actions{display:flex}.table-scroll.vareditor-scroll tr:hover td.row-num-actions .row-num-text{opacity:0}.row-action{background:transparent;border:1px solid transparent;border-radius:3px;width:18px;height:18px;padding:0;font-size:10px;line-height:1;color:var(--text-muted);cursor:pointer}.row-action:hover:not(:disabled){background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.row-action.danger:hover:not(:disabled){background:var(--dirty-soft);color:var(--missing);border-color:var(--missing)}.row-action:disabled{opacity:.3;cursor:not-allowed}.dataeditor th.ghost-col-head{color:var(--text-muted);font-style:italic;font-weight:500;border-left:1px dashed var(--border-strong)}.dataeditor td.ghost-cell{border-left:1px dashed var(--border)}.dataeditor td.ghost-cell.ghost-col{border-left:1px dashed var(--border-strong)}.dataeditor tr.ghost-row td{border-bottom:1px dashed var(--border);background:transparent!important}.dataeditor tr.ghost-row td.row-idx{color:transparent}.dataeditor td.ghost-cell .cell-input.ghost{color:var(--text);background:transparent}.dataeditor td.ghost-cell .cell-input.ghost::placeholder{color:var(--text-muted);opacity:.6}.dataeditor td.ghost-cell:hover .cell-input.ghost{background:var(--accent-soft)}.dataeditor td.ghost-cell .cell-input.ghost:focus{background:var(--surface);outline:1px solid var(--accent);outline-offset:-1px}.search-bar.with-replace{flex-direction:column;align-items:stretch;padding:4px 6px 6px;gap:4px}.search-bar.with-replace .search-row{display:flex;align-items:center;gap:6px}.search-bar.with-replace .search-row>input[type=text]{flex:1}.search-bar .search-icon-spacer{width:13px;height:13px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:11px}.search-replace-row .search-status{min-width:6em;font-size:11px;color:var(--text-muted)}.search-bar .search-action{padding:2px 10px;border:1px solid var(--border-strong);border-radius:4px;background:var(--surface);color:var(--text);font:inherit;font-size:12px;cursor:pointer}.search-bar .search-action:hover:not(:disabled){border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.search-bar .search-action:disabled{opacity:.4;cursor:not-allowed}.mr-modal{background:var(--surface);border:1px solid var(--border-strong);border-radius:2px;width:min(880px,96vw);max-height:86vh;display:flex;flex-direction:column;box-shadow:0 16px 48px #00000040}.mr-modal-body{display:flex;flex:1;min-height:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.mr-list{width:200px;display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--header-bg)}.mr-list ul{flex:1;list-style:none;margin:0;padding:4px;overflow:auto}.mr-list li{display:flex;flex-direction:column;gap:2px;padding:6px 10px;border-radius:4px;cursor:pointer;font-size:13px}.mr-list li:hover{background:var(--row-hover)}.mr-list li.selected{background:var(--accent-soft);color:var(--accent)}.mr-list-name{font-weight:600}.mr-list-kind{font-size:11px;color:var(--text-muted)}.mr-list-empty{color:var(--text-muted);font-size:12px;padding:8px 10px}.mr-list .vl-modal-add{margin:4px 8px 8px}.mr-detail{flex:1;overflow:auto;padding:16px 20px;display:flex;flex-direction:column;gap:10px}.mr-detail-empty{color:var(--text-muted);font-size:13px;text-align:center;margin:auto}.mr-detail-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mr-detail-hint{color:var(--text-muted);font-size:11px;margin-top:-4px}.mr-members{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px;min-height:200px}.mr-members-col{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:2px;overflow:hidden}.mr-members-head{padding:5px 10px;background:var(--header-bg);font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.4px;border-bottom:1px solid var(--border)}.mr-members-list{list-style:none;margin:0;padding:4px 0;flex:1;overflow:auto}.mr-members-list li{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:3px 10px;font-size:13px;font-variant-numeric:tabular-nums}.mr-members-list li:hover{background:var(--row-hover)}.mr-members-empty{color:var(--text-muted);font-size:12px;padding:8px 10px;cursor:default}.mr-members-empty:hover{background:transparent!important}.mr-member-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mr-member-actions{display:flex;gap:2px}.mr-member-actions button{width:22px;height:22px;padding:0;font-size:10px;line-height:1;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--text-muted);cursor:pointer}.mr-member-actions button:hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.mr-member-actions button.danger:hover:not(:disabled){background:var(--dirty-soft);border-color:var(--missing);color:var(--missing)}.mr-member-actions button:disabled{opacity:.3;cursor:not-allowed}.mr-add-btn{padding:2px 10px;border:1px solid var(--border);border-radius:4px;background:transparent;color:var(--text-muted);font:inherit;font-size:11px;cursor:pointer}.mr-add-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.mr-detail-footer{margin-top:auto;padding-top:8px}.mr-detail-footer button{background:transparent;border:1px solid transparent;padding:4px 12px;font:inherit;cursor:pointer;border-radius:4px}.mr-detail-footer button:hover{border-color:var(--missing);background:var(--dirty-soft)}.mr-modal-error{margin:0 20px 8px}.app__repl-shell{display:flex;flex-direction:column;background:var(--surface);border-top:1px solid var(--border);height:26vh;min-height:140px;max-height:60vh}.app__repl-title{padding:6px 16px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);background:var(--header-bg);border-bottom:1px solid var(--border)}.app__repl-target{margin-left:8px;font-weight:500;text-transform:none;letter-spacing:0;color:var(--text-muted)}.app__repl-target strong{color:var(--text);font-weight:600}.bottompane{display:flex;flex-direction:column;background:var(--surface);border-top:1px solid var(--border);height:34vh;min-height:180px;max-height:85vh;position:relative}.bottompane[data-empty-body]{height:auto;min-height:0}.bottompane__resize-handle{position:absolute;top:-3px;left:0;right:0;height:6px;z-index:5;cursor:ns-resize;background:transparent;transition:background 80ms ease}.bottompane__resize-handle:hover{background:var(--accent-soft)}.bottompane__resize-handle.active{background:var(--accent);opacity:.6}.bottompane__tabs{display:flex;align-items:stretch;gap:0;padding:0 16px;background:var(--surface);border-bottom:1px solid var(--border);overflow-x:auto;white-space:nowrap}.bottompane__tab{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:none;border-bottom:1px solid transparent;background:transparent;color:var(--text-muted);font:inherit;font-size:12px;cursor:pointer;user-select:none;margin-bottom:-1px}.bottompane__tab:hover{color:var(--text)}.bottompane__tab.active{color:var(--text);border-bottom-color:var(--accent);font-weight:600}.bottompane__tab--repl{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase}.bottompane__tab--repl .bottompane__tab-kind{color:var(--accent);font-weight:700}.bottompane__tab--repl.active{color:var(--accent)}.bottompane__tab--repl.collapsed{opacity:.55}.bottompane__tab--repl.collapsed:hover{opacity:1}.bottompane__tab--repl .bottompane__tab-detail{text-transform:none;letter-spacing:0;font-family:ui-sans-serif,system-ui,sans-serif}.bottompane__tab.syntax{font-style:italic}.bottompane__tab-kind{font-size:12px;color:var(--text-muted)}.bottompane__tab.active .bottompane__tab-kind{color:var(--accent)}.bottompane__tab-label--editing{max-width:240px;min-width:60px;padding:1px 4px;background:var(--surface);border:1px solid var(--accent);border-radius:2px;outline:none;color:var(--text);font:inherit}.bottompane__tab-label{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottompane__tab-detail{color:var(--text-muted);font-weight:400;font-size:11px}.bottompane__tab-dirty{color:var(--accent);font-size:14px;line-height:1}.bottompane__tab-close,.bottompane__tab-download{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:3px;color:var(--text-muted);font-size:14px;line-height:1;cursor:pointer}.bottompane__tab-close:hover,.bottompane__tab-download:hover{background:var(--row-hover);color:var(--text)}.bottompane__newtab{border:1px dashed var(--border);background:transparent;color:var(--text-muted);font:inherit;font-size:11px;padding:4px 10px;margin-left:4px;border-radius:4px;cursor:pointer;align-self:center}.bottompane__newtab:hover{background:var(--row-hover);color:var(--text)}.bottompane__body{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}.bottompane__pane{flex:1;min-height:0;display:flex;flex-direction:column}.output-viewer{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--surface);position:relative}.output-viewer__toolbar{position:absolute;top:8px;right:16px;display:flex;align-items:center;gap:10px;z-index:2;font-size:11px;color:var(--text-muted)}.output-viewer__title,.output-viewer__spacer{display:none}.output-viewer__clear,.output-viewer__action{padding:3px 12px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text);font:inherit;font-size:11px;cursor:pointer}.output-viewer__clear:hover:not(:disabled),.output-viewer__action:hover:not(:disabled){background:var(--row-hover);border-color:var(--accent);color:var(--accent)}.output-viewer__clear:disabled,.output-viewer__action:disabled{opacity:.4;cursor:not-allowed}.output-viewer__layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 220px}@media(max-width:720px){.output-viewer__layout{grid-template-columns:minmax(0,1fr)}.output-viewer__toc{display:none}}.output-viewer__body{min-height:0;overflow:auto;padding:28px 36px 48px;--doc-width: 880px}.output-viewer__body>.output-section,.output-viewer__body>.output-viewer__empty{max-width:var(--doc-width);margin-left:auto;margin-right:auto}.output-viewer__empty{padding:64px 12px;text-align:center;color:var(--text-muted);font-size:13px}.output-viewer__empty p{margin:0 auto;max-width:36em;line-height:1.5}.output-section{margin:0 0 36px;padding:0;scroll-margin-top:24px}.output-section__head{display:flex;align-items:baseline;gap:12px;margin:0 0 6px}.output-section__heading{margin:0;font-family:Times New Roman,"Source Serif Pro",Georgia,serif;font-size:18px;font-weight:500;color:var(--text);letter-spacing:.01em;flex:1;min-width:0}.output-section__time{flex-shrink:0;font-size:11px;color:var(--text-muted);font-variant-numeric:tabular-nums;font-family:ui-monospace,Menlo,monospace}.output-section__code{margin:0 0 14px;padding:8px 12px;background:var(--row-hover);border-left:3px solid var(--accent);border-radius:0 4px 4px 0;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:12px;color:var(--text);white-space:pre-wrap;word-break:break-word;overflow-x:auto}.output-section__code code{font-family:inherit;background:transparent;padding:0}.output-viewer__toc{border-left:1px solid var(--border);background:var(--surface);padding:24px 18px 24px 22px;overflow-y:auto;position:sticky;top:0;align-self:start;max-height:100%}.output-viewer__toc-label{font-size:11px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}.output-viewer__toc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.output-viewer__toc-link{display:block;width:100%;text-align:left;border:none;background:transparent;padding:5px 8px;border-radius:4px;font-family:inherit;font-size:12.5px;color:var(--text);cursor:pointer;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.output-viewer__toc-link:hover{background:var(--row-hover);color:var(--accent)}.dataset-tabbar{display:flex;align-items:stretch;gap:0;padding:0 16px;background:var(--surface);border-bottom:1px solid var(--border);overflow-x:auto;white-space:nowrap}.dataset-tab{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:none;border-bottom:1px solid transparent;background:transparent;color:var(--text-muted);font-size:12px;cursor:pointer;user-select:none;margin-bottom:-1px}.dataset-tab:hover{color:var(--text)}.dataset-tab.active{color:var(--text);border-bottom-color:var(--accent);font-weight:600}.dataset-tab.active .dataset-tab__kind{color:var(--accent)}.dataset-tab--output{font-style:italic}.dataset-tab--output.active{font-style:normal}.dataset-tab--chooser{font-style:italic;color:var(--text-muted)}.dataset-tab--chooser.active{color:var(--text)}.dataset-tab--chooser .dataset-tab__kind{color:var(--accent)}.dataset-tab.syntax{font-style:italic}.dataset-tab__kind{color:var(--text-muted);font-size:13px}.dataset-tab__label{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dataset-tab__label--editing{max-width:220px;min-width:60px;padding:1px 4px;background:var(--surface);border:1px solid var(--accent);border-radius:2px;outline:none;color:var(--text);font:inherit}.dataset-tab__detail{color:var(--text-muted);font-size:11px;font-weight:400}.dataset-tab__dirty{color:var(--accent);font-size:14px;line-height:1}.dataset-tab__close,.dataset-tab__download{background:transparent;border:none;color:var(--text-muted);font-size:14px;line-height:1;padding:2px 4px;cursor:pointer;border-radius:3px}.dataset-tab__close{font-size:16px}.dataset-tab__close:hover,.dataset-tab__download:hover:not(:disabled){background:var(--row-hover);color:var(--text)}.dataset-tab__download:disabled{opacity:.4;cursor:not-allowed}.dataset-tabbar__new{position:relative;display:inline-flex;align-items:center;margin-left:4px}.dataset-tabbar__plus,.dataset-tabbar__analytics{width:28px;height:28px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text);font-size:18px;line-height:1;cursor:pointer}.dataset-tabbar__plus:hover,.dataset-tabbar__analytics:hover{background:var(--row-hover)}.dataset-tabbar__analytics{margin-left:4px;font-size:14px;font-weight:600;font-family:Times New Roman,"Source Serif Pro",Georgia,serif;letter-spacing:0}.tab-context-menu{position:fixed;z-index:250;margin:0;padding:4px 0;list-style:none;min-width:200px;background:var(--surface);border:1px solid var(--border);border-radius:2px;box-shadow:0 1px 4px #00000014;font-size:12px}.tab-context-menu li{padding:6px 14px;cursor:pointer;color:var(--text);white-space:nowrap}.tab-context-menu li:hover:not(.disabled){background:var(--row-hover)}.tab-context-menu li.disabled{color:var(--text-muted);opacity:.5;cursor:not-allowed}.tab-context-menu li.dangerous{color:var(--missing)}.tab-context-menu li.dangerous:hover:not(.disabled){background:#dc262614}.tab-context-menu li.sep-before{border-top:1px solid var(--border);margin-top:4px;padding-top:8px}.dataset-tabbar__menu{position:fixed;z-index:200;background:var(--surface);border:1px solid var(--border);border-radius:4px;box-shadow:0 1px 4px #00000014;min-width:180px;padding:4px 0}.dataset-tabbar__menu button{display:block;width:100%;text-align:left;padding:6px 12px;background:transparent;border:none;color:var(--text);font:inherit;font-size:12px;cursor:pointer}.dataset-tabbar__menu button:hover{background:var(--row-hover)}.syntax-tab{display:flex;flex-direction:column;height:100%;background:var(--surface)}.syntax-tab__running-bar{height:2px;background:var(--accent);position:relative;overflow:hidden}.syntax-tab__running-bar:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);animation:syntax-tab__running-shimmer 1.2s infinite linear}@keyframes syntax-tab__running-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.syntax-tab__menu{position:fixed;z-index:200;margin:0;padding:4px 0;list-style:none;min-width:160px;background:var(--surface);border:1px solid var(--border);border-radius:2px;box-shadow:0 1px 4px #00000014;font-size:12px}.syntax-tab__menu li{padding:6px 14px;cursor:pointer;color:var(--text)}.syntax-tab__menu li:hover:not(.disabled){background:var(--row-hover)}.syntax-tab__menu li.disabled{color:var(--text-muted);opacity:.6;cursor:not-allowed}.syntax-tab__error{padding:4px 12px;background:var(--missing-soft, rgba(220, 38, 38, .08));color:var(--missing);font-size:12px;border-bottom:1px solid var(--border)}.syntax-tab__editor{flex:1;position:relative;overflow:hidden;background:var(--surface)}.syntax-tab__editor .syntax-tab__textarea,.syntax-tab__editor .syntax-tab__highlight,.syntax-tab__editor .syntax-tab__highlight .syntax-hl{position:absolute;inset:0;margin:0;padding:10px 14px;border:none;outline:none;background:transparent;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:13px;line-height:1.5;tab-size:2;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;overflow:auto}.syntax-tab__editor .syntax-tab__highlight{overflow:hidden;pointer-events:none}.syntax-tab__editor .syntax-tab__highlight .syntax-hl{position:static;inset:auto;width:100%;height:auto;overflow:visible}.syntax-tab__editor .syntax-tab__textarea{color:transparent;caret-color:var(--text);resize:none;z-index:1}.syntax-tab__editor .syntax-tab__textarea::selection{background:var(--accent-soft)}.pane-repl__transcript{flex:1;overflow:auto;padding:6px 14px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:12px;background:var(--surface);color:var(--text)}.pane-repl__line{margin:0;white-space:pre-wrap}.pane-repl__prompt-glyph,.syntax-hl__keyword{color:var(--accent);font-weight:600}.syntax-hl__ident{color:var(--text)}.syntax-hl__number{color:#8b5e34}.syntax-hl__string{color:#5a7a4a}.syntax-hl__comment{color:var(--text-muted);font-style:italic}.syntax-hl__operator{color:var(--accent)}.syntax-hl__punctuation,.syntax-hl__terminator{color:var(--text-muted)}:root[data-theme=dark] .syntax-hl__keyword,:root[data-theme=dark] .syntax-hl__operator{color:var(--accent)}:root[data-theme=dark] .syntax-hl__number{color:#d2a373}:root[data-theme=dark] .syntax-hl__string{color:#a3c98b}.pane-repl__line--cmd{color:var(--accent)}.pane-repl__line--err{color:var(--missing)}.pane-repl__line--note{color:var(--text-muted)}.pane-repl__table-wrap{margin:8px 0 14px;padding:0;font-family:Charter,Iowan Old Style,"Source Serif 4","Source Serif Pro",Georgia,Cambria,Times New Roman,serif;font-size:13px;color:var(--text)}.pane-repl__table-title{font-style:italic;font-weight:400;padding:0 0 6px;color:var(--text)}.pane-repl__table{border-collapse:collapse;background:transparent;font-variant-numeric:tabular-nums;display:inline-block;max-width:100%;overflow:auto;border:none;border-top:2px solid var(--text);border-bottom:2px solid var(--text)}.pane-repl__table thead th{background:transparent;color:var(--text);font-weight:600;text-align:left;padding:4px 10px;border:none;border-bottom:1px solid var(--text);white-space:nowrap}.pane-repl__table-corner{background:transparent;border:none;border-bottom:1px solid var(--text)}.pane-repl__table tbody th{background:transparent;color:var(--text);font-weight:400;text-align:left;padding:3px 10px;border:none;white-space:nowrap}.pane-repl__table tbody tr:nth-child(2n) td{background:transparent}.pane-repl__table tbody tr:hover td{background:transparent}.pane-repl__table-cell{padding:3px 10px;border:none;white-space:nowrap}.pane-repl__table-cell--integer,.pane-repl__table-cell--number{text-align:right}.pane-repl__table-cell--text{text-align:left}.pane-repl__table-cell--empty{color:var(--text-muted)}.pane-repl__table-caption{margin-top:6px;font-size:11px;font-style:normal;color:var(--text-muted)}.pane-repl__table-footnotes{margin:4px 0 0;padding-left:16px;font-size:11px;font-style:italic;color:var(--text-muted)}.repl-input-bar{display:flex;align-items:center;border-top:1px solid var(--border);background:var(--surface);flex-shrink:0}.repl-input-bar__prompt{padding:6px 4px 6px 14px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;color:var(--text-muted);display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}.repl-input-bar__prompt-dataset{color:var(--accent);font-weight:500;font-size:11.5px;letter-spacing:.02em}.repl-input-bar__field{flex:1;padding:6px 8px 6px 4px;border:none;outline:none;background:transparent;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:12px;color:var(--text)}.repl-input-bar__newtab{margin:0 8px;padding:4px 10px;border:1px dashed var(--border);background:transparent;color:var(--text-muted);font:inherit;font-size:11px;border-radius:4px;cursor:pointer;white-space:nowrap}.repl-input-bar__newtab:hover{background:var(--row-hover);color:var(--text);border-style:solid}.analytics-doc{position:relative;display:flex;flex-direction:column;height:100%;width:100%;min-height:0;background:var(--surface)}.analytics-doc__column{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;width:100%;max-width:880px;margin:0 auto;font-family:Inter,system-ui,sans-serif}.analytics-doc__scroll{flex:1 1 auto;min-height:0;overflow-y:auto;padding:28px 40px 24px}.analytics-doc__header{margin-bottom:22px;border-bottom:1px solid var(--border);padding-bottom:14px}.analytics-doc__title{font-family:Times New Roman,"Source Serif Pro",Georgia,serif;font-size:22px;font-weight:500;letter-spacing:.01em;margin:0 0 6px;color:var(--text)}.analytics-doc__intro{margin:0;font-size:13px;line-height:1.55;color:var(--text-muted);max-width:60ch}.analytics-doc__context{margin:10px 0 0;font-size:12px;color:var(--text-muted)}.analytics-doc__context code{font-family:ui-monospace,Menlo,monospace;background:var(--row-hover);padding:1px 5px;border-radius:3px;font-size:11.5px;color:var(--text)}.analytics-doc__context--warn{color:var(--missing)}.analytics-doc__section{margin-bottom:26px;display:flex;flex-direction:column;gap:10px}.analytics-doc__h3{font-family:Times New Roman,"Source Serif Pro",Georgia,serif;font-size:16px;font-weight:600;margin:0;color:var(--text)}.analytics-doc__explain{margin:0;font-size:13px;line-height:1.55;color:var(--text-muted);max-width:60ch}.analytics-doc__fields{display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:12px 16px;margin-top:4px}.analytics-doc__field{display:flex;flex-direction:column;gap:5px;font-size:11.5px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.analytics-doc__field select{padding:7px 9px;font-size:13px;border:1px solid var(--border-strong);border-radius:4px;background:var(--surface);color:var(--text);font-family:ui-monospace,Menlo,monospace;text-transform:none;letter-spacing:0;font-weight:400}.analytics-doc__field select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.analytics-doc__field select:disabled{opacity:.55;cursor:not-allowed}.analytics-doc__preview-wrap{margin-top:6px;display:flex;flex-direction:column;gap:4px}.analytics-doc__preview-label{font-size:11px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.analytics-doc__preview{margin:0;padding:10px 12px;background:var(--row-hover);border:1px dashed var(--border-strong);border-radius:4px;font-family:ui-monospace,Menlo,monospace;font-size:12.5px;color:var(--text);white-space:pre-wrap;word-break:break-word}.analytics-doc__warn{margin:0;font-size:12px;color:var(--missing)}.analytics-doc__footer{flex:0 0 auto;display:flex;justify-content:flex-end;gap:8px;padding:12px 40px;border-top:1px solid var(--border);background:var(--surface)}.analytics-doc__footer button{padding:8px 18px;border:1px solid var(--border-strong);background:var(--surface);border-radius:4px;cursor:pointer;font-size:13px;font-family:inherit;color:var(--text)}.analytics-doc__footer button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.analytics-doc__footer button.primary:disabled{background:var(--border-strong);border-color:var(--border-strong);color:#fff;cursor:not-allowed}.analytics-doc__footer button.secondary{background:var(--surface);border-color:var(--accent);color:var(--accent)}.analytics-doc__footer button.secondary:hover:not(:disabled){background:var(--accent-soft)}.analytics-doc__footer button.secondary:disabled{border-color:var(--border-strong);color:var(--text-muted);cursor:not-allowed}.varpicker{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:stretch;margin-top:4px}.varpicker__pane{display:flex;flex-direction:column;min-width:0;border:1px solid var(--border-strong);border-radius:4px;background:var(--surface);overflow:hidden}.varpicker__pane-label{flex:0 0 auto;padding:6px 10px;font-size:11px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;background:var(--row-hover);border-bottom:1px solid var(--border)}.varpicker__list{flex:1 1 auto;min-height:200px;max-height:320px;margin:0;padding:4px 0;list-style:none;overflow-y:auto;font-family:ui-monospace,Menlo,monospace;font-size:12.5px;color:var(--text)}.varpicker__item{padding:4px 10px;cursor:pointer;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.varpicker__item:hover{background:var(--row-hover)}.varpicker__item.highlighted{background:var(--accent);color:#fff}.varpicker__arrows{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:0 4px}.varpicker__arrows button{width:36px;height:28px;border:1px solid var(--border-strong);border-radius:4px;background:var(--surface);color:var(--text);font-size:14px;font-family:inherit;cursor:pointer;line-height:1}.varpicker__arrows button:hover:not(:disabled){background:var(--row-hover);border-color:var(--accent);color:var(--accent)}.varpicker__arrows button:disabled{opacity:.4;cursor:not-allowed}
