:root{
  color-scheme:dark;
  --canvas:#111928;--surface:#182235;--surface-soft:#1C293E;--surface-blue:#202F4C;--surface-orange:#352A25;
  --ink:#E7EDF7;--ink-2:#D0D8E6;--muted:#98A6BC;--muted-2:#6F7F98;
  --line:#2B3850;--line-strong:#3A4963;--blue:#84A2FF;--blue-dark:#A3B7FF;--blue-light:#273960;--blue-mid:#8DA7F8;
  --orange:#F1AD75;--orange-deep:#F1AD75;--orange-light:#3D3027;--teal:#43C8BA;--green:#65C8A8;--green-light:#1B3B35;--red:#EB8696;--red-light:#402A33;--yellow:#E2BA73;--yellow-light:#3B3327;
  --shadow-sm:0 1px 4px rgba(0,0,0,.15);--shadow-md:0 15px 45px rgba(0,0,0,.38);--radius:12px;--radius-sm:8px;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
}
*{box-sizing:border-box}html{min-width:320px;background:var(--canvas);scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--canvas);font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid rgba(132,162,255,.72);outline-offset:2px}button:disabled{opacity:.42;cursor:not-allowed!important}a{color:inherit;text-decoration:none}svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button{cursor:pointer}input,textarea{min-width:0}input::placeholder,textarea::placeholder{color:var(--muted-2)}.app-shell{min-height:100vh;display:flex;flex-direction:column;overflow:hidden;background:var(--canvas)}
.app-topbar{height:65px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 25px;background:var(--surface);border-bottom:1px solid var(--line);gap:20px;position:relative;z-index:30}.topbar-brand-group{display:flex;align-items:center;gap:18px;min-width:245px}.app-brand{display:flex;gap:10px;align-items:center}.app-brand>span:last-child{display:grid;line-height:1.1;gap:4px}.app-brand strong{font-size:16px;font-weight:760;letter-spacing:-.045em}.app-brand small{font-size:8px;letter-spacing:.19em;font-weight:800;color:var(--muted)}.brand-mark{width:26px;height:28px;display:flex;align-items:flex-end;gap:3px;position:relative}.brand-mark i{display:block;width:4px;border-radius:2px;background:var(--blue)}.brand-mark i:nth-child(1){height:11px}.brand-mark i:nth-child(2){height:19px}.brand-mark i:nth-child(3){height:15px}.brand-mark i:nth-child(4){height:24px;background:var(--orange)}.topbar-divider{width:1px;height:28px;background:var(--line)}.workspace-name{display:flex;flex-direction:column;gap:2px;min-width:0}.workspace-kicker{font-size:8px;font-weight:800;letter-spacing:.14em;color:var(--muted-2)}.workspace-name strong{font-size:11px;max-width:150px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:660}.topbar-center{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:11px;white-space:nowrap}.local-status-dot,.live-dot,.footer-live-dot{width:7px;height:7px;border-radius:100%;background:var(--green);display:inline-block;flex-shrink:0}.status-separator{color:#B6BFCD}.topbar-actions{display:flex;align-items:center;gap:7px;position:relative}.topbar-action-divider{height:24px;width:1px;background:var(--line);margin:0 4px}.icon-button{width:33px;height:33px;border:1px solid transparent;border-radius:8px;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);transition:background .15s,border-color .15s,color .15s;flex-shrink:0}.icon-button svg{width:17px;height:17px}.icon-button:hover:not(:disabled){background:var(--surface-blue);border-color:#DCE5FF;color:var(--blue)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:9px 13px;font-size:11px;line-height:1.15;font-weight:730;letter-spacing:-.005em;white-space:nowrap;transition:background .16s,border-color .16s,transform .16s,color .16s}.button svg{width:15px;height:15px}.button:hover:not(:disabled){transform:translateY(-1px)}.button-primary{background:var(--blue);color:#fff;box-shadow:0 2px 4px rgba(36,87,214,.12)}.button-primary:hover:not(:disabled){background:var(--blue-dark)}.button-outline{border-color:var(--line-strong);background:var(--surface);color:var(--ink-2)}.button-outline:hover:not(:disabled){border-color:#B2C3F8;background:#F9FAFF;color:var(--blue)}.button-quiet{background:transparent;border-color:transparent;color:var(--muted)}.button-quiet:hover:not(:disabled){background:var(--surface-blue);color:var(--blue)}.button-small{padding:7px 10px;font-size:10px}.button-danger{background:var(--red);color:#fff}.button-badge{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border-radius:5px;background:#EDF1F7;color:#68758A;font-size:9px;font-weight:800}.button-import{padding:9px 12px}.more-button{margin-left:1px}.more-menu{position:absolute;right:0;top:calc(100% + 9px);width:226px;background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:6px;box-shadow:var(--shadow-md);z-index:80}.more-menu button{display:flex;align-items:center;text-align:left;width:100%;border:0;background:transparent;border-radius:6px;padding:10px;font-size:11px;color:var(--ink-2)}.more-menu button:hover{background:var(--surface-blue);color:var(--blue)}.more-menu .menu-danger{color:var(--red)}.menu-separator{height:1px;background:var(--line);margin:5px 2px}
.mode-nav{min-height:56px;flex-shrink:0;background:#FBFCFE;display:flex;align-items:stretch;padding:0 25px;border-bottom:1px solid var(--line);gap:24px;position:relative;z-index:15}.mode-nav-label{display:flex;align-items:center;gap:7px;padding-right:21px;border-right:1px solid var(--line);font-size:9px;font-weight:820;letter-spacing:.14em;color:var(--muted)}.mode-nav-mark,.footer-mark{font-family:var(--mono);font-weight:800;color:var(--blue);letter-spacing:-.09em;font-size:14px}.mode-tabs{display:flex;align-items:stretch;gap:3px;min-width:0}.mode-tab{display:flex;align-items:center;gap:9px;background:transparent;border:0;border-bottom:2px solid transparent;color:#7C879A;padding:0 15px;font-size:11px;font-weight:680;white-space:nowrap;position:relative;top:1px;transition:color .14s,border-color .14s}.mode-tab:hover{color:var(--ink)}.mode-tab.is-active{color:var(--blue);border-bottom-color:var(--blue)}.mode-tab-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center}.mode-tab-icon svg{width:17px;height:17px}.tab-count{background:#E8EDF7;color:#78859A;border-radius:5px;font-size:9px;padding:2px 5px;font-weight:760}.mode-tab.is-active .tab-count{background:var(--blue-light);color:var(--blue)}.mode-nav-right{margin-left:auto;display:flex;align-items:center;gap:13px}.keyboard-hint{display:flex;align-items:center;gap:3px;color:var(--muted-2);font-size:10px}.keyboard-hint kbd,.table-search kbd,.tray-search kbd,.command-search kbd,.shortcut-list kbd,.command-footer kbd{font-family:var(--font);font-size:9px;font-weight:750;color:#7D899D;border:1px solid #DCE2EC;border-radius:4px;background:#fff;padding:2px 5px;box-shadow:0 1px 0 #DCE2EC}.keyboard-hint span{margin-left:3px}.help-button{width:24px;height:24px;border-radius:50%;display:flex;justify-content:center;align-items:center;border:1px solid #D5DEEB;background:var(--surface);font-size:11px;font-weight:800;color:#728098}.help-button:hover{color:var(--blue);border-color:#ACC0FF}
.app-body{flex:1;min-height:0;display:grid;grid-template-columns:238px minmax(0,1fr)}.dataset-tray{background:#F0F3F8;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:calc(100vh - 155px);padding:20px 12px 14px;gap:14px;min-width:0}.tray-heading{display:flex;justify-content:space-between;align-items:center;padding:0 7px}.eyebrow-label{font-size:8px;letter-spacing:.16em;font-weight:850;color:#8490A4}.tray-heading h2{font-size:15px;margin:4px 0 0;letter-spacing:-.045em;font-weight:770}.tray-heading h2 span{font-size:9px;color:#79869A;display:inline-flex;align-items:center;justify-content:center;height:17px;min-width:18px;border-radius:5px;background:#E1E7F0;margin-left:4px;vertical-align:2px;letter-spacing:0}.small-square-button{width:27px;height:27px;display:flex;align-items:center;justify-content:center;border:1px solid #D8E0EC;border-radius:7px;background:#fff;color:var(--blue);font-size:18px;font-weight:450}.small-square-button:hover{border-color:#BACBFF;background:var(--blue-light)}.tray-search{height:35px;display:flex;align-items:center;gap:8px;padding:0 9px;border:1px solid #DDE4EF;border-radius:7px;background:#F9FAFC;margin:0 3px}.tray-search svg{width:15px;height:15px;color:#94A0B2;flex-shrink:0}.tray-search input,.table-search input{border:0;outline:0;background:transparent;width:100%;font-size:10px;color:var(--ink)}.tray-search kbd{font-size:9px;padding:1px 4px;border-color:#E3E8F0;background:#fff;color:#9AA5B6}.tray-section-label{display:flex;align-items:center;justify-content:space-between;padding:4px 7px 0;color:#8995A8;font-size:8px;letter-spacing:.12em;font-weight:820}.tray-section-label span:last-child{font-family:var(--mono);font-size:9px;letter-spacing:0}.dataset-list{display:flex;flex-direction:column;gap:4px;min-height:30px}.dataset-list:empty{display:block}.dataset-item-row{display:flex;align-items:stretch;gap:3px;min-width:0;position:relative}.dataset-item-row>.dataset-item{flex:1;min-width:0}.dataset-item-row>.dataset-remove{align-self:center}.dataset-remove{width:25px;flex-shrink:0;border:1px solid transparent;background:transparent;color:#9AA5B6;border-radius:6px;font-size:15px;opacity:0;transition:opacity .12s,background .12s,color .12s,border-color .12s}.dataset-item-row:hover .dataset-remove,.dataset-item-row:focus-within .dataset-remove{opacity:1}.dataset-remove:hover{background:#FFF0F1;color:var(--red);border-color:#F1DADD}.dataset-item{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;border-radius:8px;background:transparent;padding:10px 8px;text-align:left;min-width:0;transition:background .14s,border-color .14s}.dataset-item:hover{background:#E8EDF5}.dataset-item.is-active{background:#fff;border-color:#D8E2F5;box-shadow:0 1px 2px rgba(36,56,90,.025)}.dataset-file-icon{width:29px;height:31px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:7px;background:#E2E9F8;color:#315CCC}.dataset-file-icon svg{width:16px;height:16px}.dataset-item[data-format="JSON"] .dataset-file-icon{background:#FCEBD9;color:#AD662B}.dataset-item[data-format="TSV"] .dataset-file-icon{background:#DFF2EF;color:#1B7C73}.dataset-item-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.dataset-item-copy strong{font-size:10px;font-weight:730;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:142px;color:#344259}.dataset-item-copy small{font-size:9px;color:#8B97A9}.dataset-item .active-marker{width:5px;height:5px;background:var(--blue);border-radius:50%;opacity:0}.dataset-item.is-active .active-marker{opacity:1}.add-dataset-row{border:1px dashed #CFD8E7;color:#77859A;border-radius:8px;background:transparent;text-align:left;padding:9px 10px;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:650;margin-top:1px}.add-dataset-row:hover{background:#fff;border-color:#B5C7F7;color:var(--blue)}.add-dataset-row>span{font-size:15px;color:var(--blue);line-height:1}.tray-bottom{margin-top:auto;display:flex;align-items:center;gap:9px;padding:11px 8px 3px;border-top:1px solid #DDE4EF}.tray-local-icon{width:29px;height:29px;border-radius:8px;background:#E1F2EC;color:#23795F;display:flex;align-items:center;justify-content:center;flex-shrink:0}.tray-local-icon svg{width:16px;height:16px}.tray-bottom>div:nth-child(2){display:flex;flex-direction:column;min-width:0;gap:3px;flex:1}.tray-bottom strong{font-size:10px;font-weight:740}.tray-bottom small{font-size:9px;color:#8591A4;line-height:1.35}.mini-info{width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #D7DFEA;border-radius:50%;background:#F7F9FC;color:#8793A7;font-size:10px;font-style:italic;flex-shrink:0}.dataset-empty{padding:18px 9px;text-align:center;color:#8995A7;font-size:10px;line-height:1.6}.dataset-empty strong{display:block;color:#4B5870;margin-bottom:4px}
.main-canvas{min-width:0;min-height:0;padding:27px 30px 40px;position:relative;overflow:hidden}.workspace-view{max-width:1540px;margin:0 auto;animation:fade-in .22s ease both}.workspace-view[hidden]{display:none!important}.workspace-view.is-current{display:block}@keyframes fade-in{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.view-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:1px 0 22px}.view-heading h1{font-size:26px;line-height:1.13;letter-spacing:-.065em;margin:9px 0 7px;font-weight:800;color:var(--ink)}.heading-period{color:var(--orange)}.view-subtitle{font-size:11px;color:#79859A;margin:0;line-height:1.5}.breadcrumb{display:flex;align-items:center;gap:7px;font-size:8px;font-weight:820;letter-spacing:.13em;color:#8C97A9}.crumb-slash{color:#CAD1DC}.heading-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.heading-actions .button svg{width:14px;height:14px}.updated-label{display:flex;align-items:center;gap:6px;color:#8995A7;font-size:10px;margin-right:7px;white-space:nowrap}.live-dot{width:6px;height:6px}
.dataset-summary-band{display:flex;align-items:center;gap:13px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:15px;box-shadow:var(--shadow-sm)}.summary-file-icon{width:38px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--blue);background:#EAF0FF;border-radius:8px;flex-shrink:0}.summary-file-icon svg{width:21px;height:21px}.summary-file-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.summary-file-copy strong{font-size:12px;font-weight:760;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.summary-file-copy span{font-size:9px;color:#8793A5}.summary-divider{height:32px;width:1px;background:var(--line);margin:0 6px}.summary-detail{display:flex;flex-direction:column;gap:3px;min-width:65px}.summary-detail small{font-size:8px;letter-spacing:.12em;color:#96A1B2;font-weight:800}.summary-detail strong{font-size:16px;line-height:1.1;letter-spacing:-.04em;font-weight:780}.summary-change-button{margin-left:8px;border:1px solid #DFE5EF;border-radius:6px;background:#fff;padding:7px 9px;font-size:10px;font-weight:690;color:#77849A}.summary-change-button span{color:var(--blue);margin-left:5px}.summary-change-button:hover{border-color:#ADC0F8;color:var(--blue)}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:15px 15px 13px;min-width:0;box-shadow:var(--shadow-sm)}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#727F94;font-size:10px;font-weight:650}.metric-mark{width:25px;height:25px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:500}.metric-mark-blue{background:#EDF2FF;color:#4168D4}.metric-mark-orange{background:#FFF1E5;color:#CB7A36}.metric-mark-red{background:#FFF0F1;color:#C65B67}.metric-mark-ink{background:#EEF1F6;color:#566983}.metric-card>strong{display:block;font-size:27px;line-height:1.05;letter-spacing:-.065em;font-weight:790;margin:11px 0 5px}.metric-card>small{display:block;color:#98A3B3;font-size:9px}.metric-track{height:4px;margin-top:13px;border-radius:6px;background:#EDF0F6;overflow:hidden}.metric-track span{height:100%;display:block;background:var(--blue);border-radius:6px;transition:width .2s}.metric-footer{display:flex;align-items:center;gap:6px;font-size:9px;color:#98A3B3;margin-top:10px}.mini-dot{width:5px;height:5px;border-radius:50%;display:inline-block}.dot-orange{background:var(--orange)}.dot-red{background:var(--red)}.type-summary{display:flex;gap:4px;margin-top:12px;flex-wrap:wrap}.type-summary span{font-size:8px;border:1px solid #E1E6EF;border-radius:4px;padding:2px 4px;color:#738097;background:#FAFBFD}.overview-main-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.82fr);gap:14px;margin-bottom:15px}.panel-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-sm);min-width:0}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 17px 12px}.panel-header h2{font-size:14px;line-height:1.3;margin:5px 0 4px;letter-spacing:-.035em;font-weight:770}.panel-header p{font-size:9px;color:#929DAE;margin:0;line-height:1.5}.panel-eyebrow{display:block;font-size:8px;color:#8995A8;letter-spacing:.14em;font-weight:830}.text-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;padding:5px 1px;font-size:10px;font-weight:720;color:var(--blue);white-space:nowrap}.text-action span{font-size:14px;font-weight:400;line-height:1}.text-action:hover{color:#143B9F}.overview-chart-panel{min-height:285px}.overview-chart{padding:0 18px;min-height:182px;display:flex;align-items:center}.overview-chart svg{width:100%;height:auto;max-height:190px;overflow:visible}.chart-gridline{stroke:#E9EDF4;stroke-width:1;stroke-dasharray:3 4}.chart-label-text{fill:#94A0B1;font-size:9px;font-family:var(--font)}.chart-bar-rect{fill:#416DDE;transition:opacity .15s}.chart-bar-rect:nth-child(2n){fill:#7593E9}.chart-bar-rect:hover{opacity:.75}.chart-value-text{fill:#4F5E76;font-size:9px;font-family:var(--font);font-weight:650}.panel-legend{display:flex;gap:15px;align-items:center;padding:6px 18px 15px;color:#8894A7;font-size:9px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:6px}.legend-dot{width:6px;height:6px;border-radius:2px;background:var(--blue)}.legend-dot.soft{background:#9AAEF1}.health-score{display:flex;align-items:baseline;font-size:24px;font-weight:800;letter-spacing:-.06em;color:var(--ink);white-space:nowrap}.health-score small{font-size:9px;letter-spacing:0;color:#9BA6B5;font-weight:650;margin-left:2px}.health-bar{height:5px;border-radius:5px;background:#EDF1F7;margin:0 17px 12px;overflow:hidden}.health-bar span{height:100%;width:0;display:block;background:var(--teal);border-radius:5px;transition:width .25s}.health-signal-list{padding:0 17px}.health-signal{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid #EFF2F6;align-items:flex-start}.health-signal:last-child{border-bottom:0}.signal-icon{width:21px;height:21px;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:11px;font-weight:800}.signal-icon.warning{color:#B57231;background:#FFF1E2}.signal-icon.info{color:#4B6DCA;background:#EDF2FF}.signal-icon.success{color:#19805F;background:#E8F7EF}.health-signal strong{display:block;font-size:10px;font-weight:730;margin-bottom:3px}.health-signal p{margin:0;color:#8B97A9;font-size:9px;line-height:1.45}.full-action{margin:7px 17px 12px}.recent-data-panel .panel-header{align-items:center}.preview-table-wrap{overflow:auto;padding:0 12px 12px}.preview-table,.data-grid-table{width:100%;border-collapse:separate;border-spacing:0;font-size:10px;white-space:nowrap}.preview-table th,.data-grid-table th{position:sticky;top:0;text-align:left;background:#F7F9FC;color:#77859A;font-size:9px;font-weight:760;padding:10px 12px;border-bottom:1px solid var(--line);border-top:1px solid #F1F4F8}.preview-table th:first-child,.data-grid-table th:first-child{border-radius:6px 0 0 0}.preview-table th:last-child,.data-grid-table th:last-child{border-radius:0 6px 0 0}.preview-table td,.data-grid-table td{padding:9px 12px;border-bottom:1px solid #F0F3F8;max-width:230px;overflow:hidden;text-overflow:ellipsis;color:#4A5870}.preview-table tr:last-child td,.data-grid-table tr:last-child td{border-bottom:0}.preview-table tr:hover td{background:#FAFBFD}.type-badge{display:inline-flex;align-items:center;gap:4px;font-size:8px;font-weight:730;color:#758197;border-radius:4px;background:#F1F4F9;padding:3px 5px}.type-badge.number{background:#EAF0FF;color:#4166CB}.type-badge.date{background:#FFF1E3;color:#B67535}.type-badge.boolean{background:#E6F6F1;color:#1C806D}.type-badge.text{background:#F2F3F7;color:#748095}.missing-value{color:#C3A0A0;font-style:italic}
/* Table explorer */
.table-toolbar{display:flex;align-items:center;gap:7px;margin-bottom:9px;flex-wrap:wrap}.table-search{height:35px;min-width:220px;max-width:420px;flex:1;display:flex;align-items:center;gap:9px;padding:0 10px;background:var(--surface);border:1px solid var(--line);border-radius:7px}.table-search:focus-within{border-color:#A9BCF7;box-shadow:0 0 0 3px rgba(36,87,214,.06)}.table-search svg{width:15px;height:15px;color:#909CAF;flex-shrink:0}.table-search kbd{flex-shrink:0}.toolbar-spacer{flex:1}.result-count{font-size:10px;color:#8692A4;white-space:nowrap}.table-data-card{background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow-sm);overflow:hidden}.data-table-wrap{overflow:auto;max-height:calc(100vh - 350px);min-height:300px;position:relative}.data-grid-table{font-size:10px}.data-grid-table thead th{top:0;z-index:3;min-width:100px;max-width:280px;background:#F7F9FC;border-top:0;border-bottom:1px solid #DEE5EF;border-right:1px solid #EDF0F5;color:#65738A;padding:11px 11px}.data-grid-table th:first-child{min-width:50px;width:50px;text-align:center;position:sticky;left:0;z-index:5;background:#F3F6FB;border-right:1px solid #E5EAF2}.data-grid-table td{min-width:100px;max-width:280px;padding:10px 11px;border-bottom:1px solid #EFF2F7;border-right:1px solid #F0F3F8;color:#42516A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:37px}.data-grid-table td:first-child{min-width:50px;width:50px;text-align:center;font-size:9px;color:#A0AAB9;font-family:var(--mono);background:#FAFBFD;position:sticky;left:0;z-index:1;border-right:1px solid #E8EDF5}.data-grid-table tr:hover td{background:#FAFBFF}.data-grid-table tr:hover td:first-child{background:#F2F5FB}.data-grid-table td.cell-selected{outline:2px solid #7291F0;outline-offset:-2px;background:#EDF2FF!important;color:#214BB7}.data-grid-table td.cell-missing{background:repeating-linear-gradient(135deg,#FFF 0,#FFF 5px,#FBF3F3 5px,#FBF3F3 7px);color:#C39D9D}.column-heading{display:flex;align-items:center;gap:7px;min-width:0}.column-heading .column-name{overflow:hidden;text-overflow:ellipsis;flex:1}.column-sort{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:0;background:transparent;color:#A6B0BF;padding:0;font-size:11px}.column-sort:hover{color:var(--blue)}.column-type-mark{font-family:var(--mono);font-size:8px;font-weight:800;color:#74829A;background:#E9EEF6;border-radius:3px;padding:3px 4px}.column-type-mark.number{background:#E7EDFF;color:#4165C8}.column-type-mark.date{background:#FFF0E0;color:#B36E30}.table-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;background:#FBFCFE;border-top:1px solid var(--line);min-height:48px}.table-foot-left{display:flex;align-items:center;gap:9px;color:#8995A7;font-size:9px;min-width:0}.foot-separator{height:13px;width:1px;background:#DCE2EC;display:inline-block;flex-shrink:0}.pagination{display:flex;align-items:center;gap:7px;color:#77849A;font-size:9px;white-space:nowrap}.page-size-label{color:#A0AABB}.page-button{width:24px;height:24px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#758198;font-size:17px;line-height:1}.page-button:hover:not(:disabled){border-color:#B4C5F8;color:var(--blue)}.filter-builder{padding:13px 14px;background:#fff;border:1px solid var(--line);border-radius:9px;margin:-1px 0 10px;box-shadow:var(--shadow-sm)}.filter-builder-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.filter-builder-heading strong{display:block;font-size:11px}.filter-builder-heading small{display:block;color:#97A2B1;font-size:9px;margin-top:2px}.filter-rows{display:flex;flex-direction:column;gap:7px}.filter-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(105px,.8fr) minmax(150px,1.2fr) 26px;gap:7px;align-items:center}.filter-row input{width:100%;height:32px;border:1px solid var(--line);border-radius:6px;background:#FCFDFE;padding:0 9px;font-size:10px}.filter-row .custom-select{min-width:0}.filter-row .select-trigger{height:32px;font-size:10px}.filter-remove{height:27px;width:27px;border:0;border-radius:5px;color:#A1AABA;background:transparent;font-size:15px}.filter-remove:hover{background:#FFF0F1;color:var(--red)}.filter-footer{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:10px;border-top:1px solid #EEF1F6}.filter-footer>div{display:flex;gap:7px}.column-menu{position:absolute;right:34px;top:132px;width:245px;max-height:65vh;overflow:auto;z-index:14}.floating-panel{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-md);padding:10px}.floating-panel-heading{display:flex;align-items:center;justify-content:space-between;padding:3px 3px 9px;border-bottom:1px solid #EEF1F6;margin-bottom:5px}.floating-panel-heading strong{font-size:11px}.column-menu-items{display:flex;flex-direction:column;gap:1px;padding:5px 0}.column-toggle{display:flex;align-items:center;gap:8px;padding:7px 4px;border-radius:5px;font-size:10px;color:#59677E}.column-toggle:hover{background:#F5F7FC}.column-toggle input{accent-color:var(--blue)}.compact-icon{width:25px;height:25px;font-size:18px}.column-menu>.text-action{padding:7px 3px}.cell-inspector{display:flex;align-items:center;gap:14px;padding:10px 13px;border:1px solid #CBD8F8;border-radius:8px;background:#F6F8FF;margin-top:10px}.cell-inspector>div{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.cell-inspector strong{font-size:10px}.cell-inspector code{font-family:var(--mono);font-size:10px;color:#345AC4;background:#fff;border:1px solid #E2E9FB;padding:5px 8px;border-radius:5px;max-width:55%;overflow:auto;white-space:pre-wrap}.cell-inspector[hidden]{display:none}
/* Preparation */
.prepare-intro{display:flex;align-items:center;gap:12px;padding:13px 15px;background:#F0F4FF;border:1px solid #DFE7FF;border-radius:9px;margin-bottom:14px}.prepare-intro-icon{width:31px;height:31px;border-radius:8px;background:#DFE7FF;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.prepare-intro>div{flex:1;min-width:0}.prepare-intro strong{font-size:10px;color:#304B88}.prepare-intro p{font-size:9px;margin:3px 0 0;color:#7081A4;line-height:1.5}.undo-count{padding:5px 8px;border:1px solid #DDE5FA;border-radius:5px;color:#6D80AD;font-size:9px;white-space:nowrap}.prepare-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(230px,.7fr);gap:14px;align-items:start}.prepare-main-column,.prepare-side-column{display:flex;flex-direction:column;gap:14px;min-width:0}.transform-card{overflow:visible}.transform-card-heading{align-items:center;border-bottom:1px solid #EEF1F6;padding:17px 18px 14px}.transform-illustration{display:flex;align-items:center;gap:3px;padding:9px 10px;border:1px solid #E8EDF5;border-radius:7px;background:#FBFCFE}.transform-illustration span{width:7px;height:7px;border-radius:2px;background:#8FA8F2}.transform-illustration span:nth-child(2){height:12px;background:#5579E4}.transform-illustration span:nth-child(3){height:16px;background:#315ED3}.transform-illustration i{font-style:normal;color:#B6C0D0;padding:0 5px}.transform-form{padding:17px 18px}.form-field{display:flex;flex-direction:column;gap:6px;min-width:0}.form-field>span{font-size:10px;font-weight:720;color:#516077}.form-field>span small{font-size:9px;color:#97A3B4;font-weight:500}.form-field input,.form-field textarea{width:100%;border:1px solid #DDE4EF;border-radius:7px;background:#FCFDFE;min-height:36px;padding:9px 10px;color:#293951;font-size:11px;outline:0;transition:border-color .15s,box-shadow .15s}.form-field input:focus,.form-field textarea:focus{border-color:#A8BBF7;box-shadow:0 0 0 3px rgba(36,87,214,.07)}.form-field textarea{resize:vertical;line-height:1.5}.transform-form>.form-field{max-width:380px}.transform-fields-note{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #E5EAF3;background:#F8FAFD;border-radius:7px;color:#8290A5;font-size:9px;line-height:1.5;align-self:end;min-height:42px}.transform-fields-note .preview-mark{flex-shrink:0}.history-time{font-size:8px;color:#A0AABA}.transform-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:13px}.transform-fields .form-field.full-field{grid-column:1/-1}.transform-preview{display:flex;align-items:flex-start;gap:8px;margin-top:16px;padding:11px 12px;border-radius:7px;border:1px solid #E2E8F1;background:#F8FAFD;font-size:9px;color:#7B899F;line-height:1.5}.preview-mark{width:17px;height:17px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#E8EEF9;color:#5470B6;font-size:10px;font-weight:800;flex-shrink:0}.transform-preview.is-warning{background:#FFF9EF;border-color:#F4E3C9;color:#9B6B32}.transform-preview.is-success{background:#EFFAF5;border-color:#D4EFE1;color:#21775D}.transform-form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px;padding-top:15px;border-top:1px solid #EEF1F6}.transform-safety{display:flex;align-items:center;gap:6px;color:#939EAF;font-size:9px}.transform-safety svg{width:15px;height:15px;color:#28846A;flex-shrink:0}.transform-history-card .panel-header{align-items:center}.transform-history-list{padding:0 17px 14px}.history-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;padding:11px 0;align-items:center;border-top:1px solid #EFF2F6}.history-index{width:26px;height:26px;border-radius:7px;background:#EEF2FA;color:#6D7FA2;display:flex;align-items:center;justify-content:center;font-size:10px;font-family:var(--mono)}.history-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.history-copy strong{font-size:10px;font-weight:740}.history-copy small{font-size:9px;color:#8E9AAD;line-height:1.4}.history-action{border:1px solid var(--line);border-radius:5px;background:#fff;color:#718098;padding:5px 7px;font-size:9px}.history-action:hover{color:var(--blue);border-color:#B9C8F5}.empty-history{padding:22px 10px;display:flex;flex-direction:column;align-items:center;gap:5px;color:#98A3B4}.empty-history>span{font-size:24px;color:#BDC8D8}.empty-history strong{font-size:10px;color:#65738A}.empty-history small{font-size:9px}.operation-guide{padding:18px}.operation-guide h3{font-size:16px;margin:7px 0 6px;letter-spacing:-.04em}.operation-guide>p{font-size:10px;color:#8692A5;line-height:1.65;margin:0 0 19px}.guide-step{display:flex;align-items:center;gap:9px;padding:10px 0;border-top:1px solid #EFF2F7}.guide-step>span:first-child{width:23px;height:23px;border-radius:6px;background:#EFF3FC;color:#4E6DC2;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800}.guide-step>span:last-child{display:flex;flex-direction:column;gap:3px}.guide-step strong{font-size:10px}.guide-step small{font-size:9px;color:#8E9AAC}.working-copy-card{padding:17px}.working-copy-card>.panel-eyebrow{margin-bottom:10px}.working-copy-stat{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-top:1px solid #EFF2F6;color:#8793A6;font-size:10px}.working-copy-stat strong{color:#34435A;font-size:12px;font-weight:760}.working-copy-note{display:flex;align-items:flex-start;gap:7px;border-radius:7px;padding:10px;background:#F8FAFE;color:#8A96A9;font-size:9px;line-height:1.5;margin-top:7px}.working-copy-note span{color:var(--blue)}
/* Charts */
.visualize-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;margin-bottom:14px;align-items:stretch}.chart-builder-panel{align-self:start;overflow:visible}.chart-builder-panel .panel-header{border-bottom:1px solid #EEF1F6;padding-bottom:14px}.chart-builder-glyph{width:38px;height:38px;border-radius:10px;background:#EAF0FF;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:24px}.chart-form{padding:15px 17px 17px;display:flex;flex-direction:column;gap:12px}.chart-form .form-field{gap:5px}.chart-control-muted{opacity:.55}.chart-control-muted .select-trigger{cursor:not-allowed}.chart-settings-note{display:flex;gap:8px;align-items:flex-start;padding:10px 9px;border-radius:7px;background:#F7F9FD;color:#7C8AA1}.chart-settings-note>span{color:#4A71DA;font-size:12px;font-weight:800}.chart-settings-note p{font-size:9px;margin:0;line-height:1.5}.full-width-button{width:100%;justify-content:center}.chart-result-panel{min-width:0;display:flex;flex-direction:column;overflow:hidden}.chart-result-header{border-bottom:1px solid #EEF1F6;align-items:center}.chart-result-actions{display:flex;gap:4px}.chart-canvas{min-height:330px;padding:15px 18px 7px;display:flex;align-items:center;justify-content:center;position:relative;overflow:auto}.chart-canvas>svg{width:100%;max-height:410px;min-width:250px;height:auto;overflow:visible}.chart-empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;text-align:center;color:#9AA5B4;padding:50px 15px}.chart-empty-state>span{width:48px;height:48px;border:1px dashed #D7DFEA;background:#F9FAFD;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:27px;color:#7C96E6}.chart-empty-state strong{font-size:12px;color:#617089}.chart-empty-state small{font-size:10px;max-width:255px;line-height:1.5}.chart-result-foot{display:flex;align-items:center;gap:9px;padding:11px 16px;border-top:1px solid #EEF1F6;color:#929DAE;font-size:9px}.chart-data-card .panel-header{align-items:center}.chart-data-table{overflow:auto;padding:0 13px 13px}.chart-data-table table{width:100%;border-collapse:collapse;font-size:10px}.chart-data-table th{text-align:left;color:#7F8BA0;font-size:9px;background:#F7F9FC;padding:9px 10px;border-bottom:1px solid var(--line)}.chart-data-table td{padding:9px 10px;border-bottom:1px solid #EFF2F6;color:#4E5C72}.chart-data-table td:last-child,.chart-data-table th:last-child{text-align:right}.chart-data-table .bar-cell{min-width:120px}.inline-bar{width:100%;height:5px;background:#EDF1F8;border-radius:5px;overflow:hidden}.inline-bar span{display:block;height:100%;border-radius:5px;background:var(--blue)}.chart-modal-content{min-height:260px;display:flex;align-items:center;justify-content:center;overflow:auto;padding:15px}.chart-modal-content>svg{width:100%;max-height:68vh;height:auto}.chart-modal-dialog{width:min(900px,calc(100% - 30px))}
/* Profile */
.profile-banner{display:flex;align-items:center;gap:13px;background:#ECF1FF;border:1px solid #DCE5FF;border-radius:10px;padding:15px 17px;margin-bottom:14px}.profile-banner-symbol{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#DDE6FF;color:#2B57C7;font-family:Georgia,serif;font-size:22px;flex-shrink:0}.profile-banner>div:nth-child(2){min-width:0;flex:1}.profile-banner>div:nth-child(2) strong{font-size:12px;color:#30467F}.profile-banner p{margin:4px 0 0;font-size:9px;color:#7D8EB8}.profile-banner-metrics{display:flex;align-items:center;gap:19px}.profile-banner-metrics>div{display:flex;flex-direction:column;gap:3px;min-width:44px}.profile-banner-metrics strong{font-size:15px;color:#2F4578;letter-spacing:-.04em}.profile-banner-metrics small{font-size:8px;color:#7F90BA;letter-spacing:.04em}.profile-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:14px}.profile-stat-card{padding:13px 15px;border:1px solid var(--line);background:#fff;border-radius:9px;box-shadow:var(--shadow-sm)}.profile-stat-card span{font-size:9px;color:#8591A5;display:block}.profile-stat-card strong{font-size:22px;font-weight:800;letter-spacing:-.06em;display:block;margin:6px 0 4px}.profile-stat-card small{font-size:9px;color:#9BA6B6}.profile-content-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,.8fr);gap:14px;align-items:start;margin-bottom:14px}.profile-columns-panel{overflow:hidden}.profile-columns-panel .panel-header{align-items:center}.profile-search{display:flex;align-items:center;gap:6px;padding:7px 8px;border:1px solid #E1E6EF;border-radius:6px;background:#FCFDFE;max-width:170px}.profile-search svg{width:14px;height:14px;color:#94A0B2;flex-shrink:0}.profile-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:9px}.profile-columns-table{overflow:auto;max-height:580px}.profile-table{width:100%;border-collapse:collapse;font-size:9px;white-space:nowrap}.profile-table th{position:sticky;top:0;background:#F7F9FC;color:#7B889D;text-align:left;padding:10px 11px;border-top:1px solid #EEF1F6;border-bottom:1px solid #E1E6EF;font-size:8px;letter-spacing:.03em;z-index:2}.profile-table td{padding:10px 11px;border-bottom:1px solid #EEF1F6;color:#64728A}.profile-table tr{cursor:pointer}.profile-table tr:hover td{background:#F9FBFF}.profile-table tr.is-selected td{background:#F0F4FF;color:#365CC0}.profile-table td:first-child{font-weight:750;color:#3A4860}.profile-missing-mini{width:70px;height:4px;background:#EEF1F6;border-radius:4px;overflow:hidden;display:inline-block;vertical-align:middle;margin-right:5px}.profile-missing-mini span{height:100%;display:block;background:var(--orange);border-radius:4px}.profile-detail-panel{padding:0;overflow:hidden}.profile-detail-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 15px 12px;border-bottom:1px solid #EEF1F6}.profile-detail-header .panel-eyebrow{white-space:nowrap}.profile-column-detail{padding:15px}.profile-detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:15px}.profile-detail-title h3{font-size:14px;margin:0 0 6px;letter-spacing:-.035em;overflow-wrap:anywhere}.profile-detail-title small{font-size:9px;color:#8F9BAC}.detail-type-chip{padding:4px 6px;border-radius:5px;background:#EDF2FF;color:#496AC3;font-size:8px;font-weight:760;white-space:nowrap}.detail-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:15px}.detail-stat{padding:9px;background:#F8FAFD;border:1px solid #EEF1F6;border-radius:6px;min-width:0}.detail-stat small{display:block;color:#909BAE;font-size:8px;margin-bottom:4px}.detail-stat strong{display:block;color:#34425A;font-size:14px;letter-spacing:-.04em;overflow:hidden;text-overflow:ellipsis}.detail-section-title{display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:760;color:#67758B;margin:13px 0 9px}.detail-section-title small{font-weight:500;color:#9BA5B5;font-size:8px}.distribution-list{display:flex;flex-direction:column;gap:9px}.distribution-item{display:grid;grid-template-columns:minmax(60px,.9fr) minmax(50px,1.1fr) 25px;gap:7px;align-items:center;font-size:9px;color:#718097}.distribution-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.distribution-track{height:6px;border-radius:5px;background:#EDF1F7;overflow:hidden}.distribution-track span{display:block;height:100%;border-radius:5px;background:#7390E7}.distribution-count{text-align:right;color:#78859B;font-family:var(--mono);font-size:8px}.range-values{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #ECF0F6;border-radius:7px;background:#FAFBFD}.range-values small{display:block;font-size:8px;color:#98A3B3;margin-bottom:3px}.range-values strong{font-family:var(--mono);font-size:10px;color:#3F4E66}.quality-rules-panel .panel-header{align-items:center}.rule-count{font-size:9px;padding:5px 7px;border-radius:5px;background:#F0F3F8;color:#7E8BA0;white-space:nowrap}.quality-rules-list{padding:0 17px 14px}.quality-rule{display:flex;align-items:flex-start;gap:10px;border-top:1px solid #EEF1F6;padding:12px 0}.quality-rule .signal-icon{width:24px;height:24px}.quality-rule>div:nth-child(2){flex:1;min-width:0}.quality-rule strong{display:block;font-size:10px;margin-bottom:4px}.quality-rule p{font-size:9px;color:#8C98AA;line-height:1.5;margin:0}.quality-rule .rule-action{font-size:9px;border:1px solid #E0E6F0;border-radius:5px;background:#fff;padding:5px 7px;color:#5B6C88;white-space:nowrap}.quality-rule .rule-action:hover{color:var(--blue);border-color:#B5C7F8}.quality-rule-empty{font-size:10px;color:#8A96A9;padding:15px 0}
/* Custom dropdowns: native select remains the data source; the visible control is custom. */
select{appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;min-height:36px;padding:8px 31px 8px 10px;border:1px solid #DDE4EF;border-radius:7px;background-color:#FCFDFE;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%237A879C' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;color:#34435A;font-size:10px;outline:0;cursor:pointer}select:focus{border-color:#9CB3F5;box-shadow:0 0 0 3px rgba(36,87,214,.06)}.custom-select{position:relative;display:block;width:100%;min-width:0}.custom-select .native-select-source{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;pointer-events:none!important;opacity:0!important}.select-trigger{width:100%;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px 10px;border:1px solid #DDE4EF;border-radius:7px;background:#FCFDFE;color:#34435A;font-size:10px;text-align:left;transition:border-color .14s,box-shadow .14s,background .14s}.select-trigger:hover{border-color:#C5D1E4;background:#fff}.select-trigger[aria-expanded="true"]{border-color:#9CB3F5;box-shadow:0 0 0 3px rgba(36,87,214,.06);background:#fff}.select-trigger:focus-visible{outline:3px solid rgba(36,87,214,.24);outline-offset:2px}.select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-chevron{width:8px;height:8px;border-right:1.5px solid #8692A5;border-bottom:1.5px solid #8692A5;transform:rotate(45deg) translateY(-2px);flex-shrink:0;transition:transform .14s}.select-trigger[aria-expanded="true"] .select-chevron{transform:rotate(225deg) translate(-1px,-1px)}.select-popover{position:absolute;top:calc(100% + 5px);left:0;right:0;min-width:max(100%,160px);max-height:260px;overflow:auto;padding:5px;border:1px solid #D9E1EF;border-radius:9px;background:#fff;box-shadow:0 12px 34px rgba(24,40,75,.15);z-index:90}.select-popover[hidden]{display:none}.select-option{display:flex;align-items:center;gap:8px;width:100%;border:0;border-radius:5px;background:transparent;padding:8px 9px;text-align:left;font-size:10px;color:#58677E;min-height:31px}.select-option:hover,.select-option.is-focused{background:#F1F4FD;color:#234EBB}.select-option[aria-selected="true"]{background:#EAF0FF;color:#234FBF;font-weight:760}.select-option[disabled]{opacity:.38;cursor:not-allowed}.select-option-check{margin-left:auto;color:#2457D6;font-size:11px}.select-option[aria-selected="true"] .select-option-check{display:inline}.select-option .select-option-check{display:none}.select-empty{padding:12px;color:#98A3B3;font-size:10px}.pagination .custom-select{width:58px}.pagination .select-trigger{min-height:27px;padding:5px 7px;font-size:9px;border-radius:5px;background:#fff}.pagination .select-popover{min-width:58px}.pagination .select-option{font-size:9px;padding:6px}.custom-select.is-disabled .select-trigger{opacity:.45;cursor:not-allowed}.select-native-focus{outline:3px solid rgba(36,87,214,.3)!important}
/* Dialogs, toast and commands */
.app-dialog{border:1px solid #DDE4EF;border-radius:14px;background:#fff;color:var(--ink);width:min(610px,calc(100% - 28px));padding:0;box-shadow:0 22px 80px rgba(20,35,67,.25);max-height:calc(100% - 30px);overflow:auto}.app-dialog::backdrop{background:rgba(15,28,49,.38);backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 23px 16px}.dialog-header h2{font-size:22px;letter-spacing:-.055em;line-height:1.15;margin:7px 0 6px}.dialog-header p{font-size:10px;color:#8591A5;margin:0;line-height:1.55}.dialog-close{width:28px;height:28px;border:1px solid #E5E9F0;background:#FAFBFD;font-size:19px}.import-tabs{display:flex;gap:19px;padding:0 23px;border-bottom:1px solid #E9EDF4}.import-tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:11px 0;color:#8D98A9;font-size:10px;font-weight:730}.import-tab.is-active{border-color:var(--blue);color:var(--blue)}.import-pane{padding:17px 23px 7px}.import-pane[hidden]{display:none!important}.file-dropzone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-height:190px;padding:20px;text-align:center;border:1.5px dashed #CCD7E9;border-radius:10px;background:#FAFBFE;cursor:pointer;transition:border .15s,background .15s}.file-dropzone:hover,.file-dropzone.is-dragging{border-color:#809BEC;background:#F1F5FF}.file-dropzone input[type=file]{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.upload-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#E8EEFF;color:#315CD0;margin-bottom:2px}.upload-icon svg{width:22px;height:22px}.file-dropzone strong{font-size:12px}.file-dropzone>span:nth-of-type(2){font-size:10px;color:#8C98AA}.file-dropzone u{color:var(--blue);font-weight:720}.file-dropzone small{font-size:9px;color:#9BA6B5;margin-top:3px}.import-options{display:flex;align-items:flex-end;gap:20px;padding:14px 0 8px}.import-options .form-field{width:180px}.check-field{display:flex;align-items:center;gap:7px;font-size:10px;color:#6E7C92;padding-bottom:10px}.check-field input{accent-color:var(--blue)}.import-file-list{display:flex;flex-direction:column;gap:5px;margin-top:10px}.import-file-row{display:flex;align-items:center;gap:8px;padding:7px 9px;background:#F6F8FC;border-radius:6px;font-size:9px;color:#66758C}.import-file-row span:first-child{color:var(--blue)}.import-file-row small{margin-left:auto;color:#9AA5B4}.paste-hint{font-size:9px;color:#97A2B2;margin:6px 0}.dialog-error{margin:0 23px 12px;border:1px solid #F0CCCC;background:#FFF4F4;color:#AD444E;border-radius:7px;padding:9px 10px;font-size:10px;line-height:1.5}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 23px 19px;border-top:1px solid #EEF1F6;margin-top:8px}.dialog-footer>div{display:flex;gap:8px}.dialog-local-note{display:flex;align-items:center;gap:6px;font-size:9px;color:#939EAF;line-height:1.4}.dialog-local-note .footer-live-dot{width:6px;height:6px}.small-dialog{width:min(480px,calc(100% - 28px))}.small-dialog form{padding:0 23px}.small-dialog form>.form-field{margin-bottom:14px}.small-dialog form .dialog-footer{margin:15px -23px 0}.help-dialog{width:min(525px,calc(100% - 28px))}.shortcut-list{padding:0 23px;display:flex;flex-direction:column}.shortcut-list>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #EFF2F6;font-size:10px;color:#5F6D83}.shortcut-list>div>span:last-child{display:flex;align-items:center;gap:4px}.shortcut-list small{color:#A0AABA;font-size:9px;margin:0 3px}.shortcut-muted{color:#9BA5B4;font-size:9px}.help-note{padding:15px 23px 4px}.help-note strong{font-size:11px}.help-note p{font-size:10px;color:#8591A3;line-height:1.6;margin:5px 0 9px}.help-note a{font-size:10px;color:var(--blue);font-weight:720}.toast-region{position:fixed;right:22px;bottom:24px;display:flex;flex-direction:column;gap:8px;z-index:150;pointer-events:none;max-width:min(370px,calc(100vw - 28px))}.toast{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border:1px solid #DDE5F0;border-radius:9px;background:#fff;box-shadow:0 12px 30px rgba(25,42,73,.14);animation:toast-in .2s ease;pointer-events:auto}.toast-icon{width:20px;height:20px;border-radius:6px;background:#E5F6EE;color:#16815D;display:flex;align-items:center;justify-content:center;font-weight:900;flex-shrink:0}.toast.is-error .toast-icon{background:#FFF0F1;color:var(--red)}.toast.is-warning .toast-icon{background:#FFF4E5;color:#AD702C}.toast strong{display:block;font-size:10px;margin-bottom:3px}.toast p{font-size:9px;color:#8B96A8;margin:0;line-height:1.5}.toast button{margin-left:auto;border:0;background:transparent;color:#A0AABB;font-size:15px;padding:0 1px}.toast[hidden]{display:none}@keyframes toast-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.command-overlay{position:fixed;inset:0;z-index:120;display:flex;justify-content:center;align-items:flex-start;padding:13vh 15px 20px}.command-overlay[hidden]{display:none}.command-backdrop{position:absolute;inset:0;background:rgba(17,29,51,.42);backdrop-filter:blur(2px)}.command-dialog{position:relative;width:min(570px,100%);border:1px solid #DCE4F0;border-radius:12px;background:#fff;box-shadow:0 25px 90px rgba(14,30,59,.3);overflow:hidden}.command-search{display:flex;align-items:center;gap:10px;padding:16px;border-bottom:1px solid #E8EDF5}.command-search svg{color:#8190A7;flex-shrink:0}.command-search input{flex:1;border:0;outline:0;background:transparent;font-size:12px}.command-label{font-size:8px;font-weight:820;letter-spacing:.12em;color:#99A4B3;padding:12px 16px 5px}.command-results{padding:2px 7px 7px;max-height:370px;overflow:auto}.command-item{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border:0;background:#fff;border-radius:7px;text-align:left}.command-item:hover,.command-item.is-active{background:#F0F4FF}.command-item-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:7px;background:#EFF3FC;color:#4264C5;flex-shrink:0}.command-item-icon svg{width:16px;height:16px}.command-item-copy{display:flex;flex:1;flex-direction:column;gap:3px}.command-item-copy strong{font-size:10px}.command-item-copy small{font-size:9px;color:#8D99AA}.command-item kbd{font-size:8px;color:#9AA5B4}.command-footer{display:flex;align-items:center;gap:14px;padding:10px 14px;border-top:1px solid #EDF0F5;background:#FBFCFE;color:#9AA5B4;font-size:9px}.command-footer span:last-child{margin-left:auto;display:flex;align-items:center;gap:3px}.command-no-results{padding:24px 15px;text-align:center;color:#919DB0;font-size:10px}
.app-footer{min-height:34px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px;border-top:1px solid var(--line);background:#FBFCFE;color:#8E9AAC;font-size:8px;letter-spacing:.035em}.app-footer>span{display:flex;align-items:center;gap:6px}.footer-mark{font-size:10px}.footer-muted{color:#A6AFBD}.footer-live-dot{width:5px;height:5px}.empty-inline{padding:17px;color:#929DAE;font-size:10px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Dark appearance */
html[data-theme="dark"]{color-scheme:dark;--canvas:#111928;--surface:#182235;--surface-soft:#1C293E;--surface-blue:#202F4C;--surface-orange:#352A25;--ink:#E7EDF7;--ink-2:#D0D8E6;--muted:#98A6BC;--muted-2:#6F7F98;--line:#2B3850;--line-strong:#3A4963;--blue:#84A2FF;--blue-dark:#A3B7FF;--blue-light:#273960;--orange:#F1AD75;--orange-deep:#F1AD75;--orange-light:#3D3027;--green-light:#1B3B35;--red-light:#402A33;--yellow-light:#3B3327;--shadow-sm:0 1px 4px rgba(0,0,0,.15);--shadow-md:0 15px 45px rgba(0,0,0,.38)}
html[data-theme="dark"] body,html[data-theme="dark"] .app-shell{background:var(--canvas);color:var(--ink)}html[data-theme="dark"] .app-topbar,html[data-theme="dark"] .panel-card,html[data-theme="dark"] .dataset-summary-band,html[data-theme="dark"] .table-data-card,html[data-theme="dark"] .app-dialog,html[data-theme="dark"] .more-menu,html[data-theme="dark"] .floating-panel,html[data-theme="dark"] .command-dialog,html[data-theme="dark"] .toast{background:var(--surface);color:var(--ink)}html[data-theme="dark"] .mode-nav,html[data-theme="dark"] .app-footer,html[data-theme="dark"] .table-foot,html[data-theme="dark"] .data-grid-table thead th,html[data-theme="dark"] .preview-table th,html[data-theme="dark"] .chart-data-table th,html[data-theme="dark"] .profile-table th,html[data-theme="dark"] .command-footer{background:#151F30;border-color:var(--line)}html[data-theme="dark"] .dataset-tray{background:#141E2E;border-color:var(--line)}html[data-theme="dark"] .dataset-item.is-active,html[data-theme="dark"] .dataset-item:hover{background:#1C2A41;border-color:#344867}html[data-theme="dark"] .dataset-item-copy strong,html[data-theme="dark"] .workspace-name strong,html[data-theme="dark"] .summary-file-copy strong,html[data-theme="dark"] .panel-header h2,html[data-theme="dark"] .metric-card>strong,html[data-theme="dark"] .view-heading h1,html[data-theme="dark"] .profile-stat-card strong,html[data-theme="dark"] .profile-table td:first-child{color:var(--ink)}html[data-theme="dark"] .tray-search,html[data-theme="dark"] .table-search,html[data-theme="dark"] .form-field input,html[data-theme="dark"] .form-field textarea,html[data-theme="dark"] select,html[data-theme="dark"] .select-trigger,html[data-theme="dark"] .pagination .select-trigger,html[data-theme="dark"] .profile-search{background-color:#141E2E;border-color:var(--line);color:var(--ink)}html[data-theme="dark"] .select-popover,html[data-theme="dark"] .select-option,html[data-theme="dark"] .more-menu button,html[data-theme="dark"] .command-item{background:#182235;color:var(--ink-2)}html[data-theme="dark"] .select-option:hover,html[data-theme="dark"] .select-option.is-focused,html[data-theme="dark"] .command-item:hover,html[data-theme="dark"] .command-item.is-active{background:#273756;color:#BDD0FF}html[data-theme="dark"] .select-option[aria-selected="true"]{background:#24365A;color:#BDD0FF}html[data-theme="dark"] .dataset-file-icon,html[data-theme="dark"] .summary-file-icon,html[data-theme="dark"] .metric-mark-blue,html[data-theme="dark"] .metric-mark-orange,html[data-theme="dark"] .metric-mark-red,html[data-theme="dark"] .metric-mark-ink{background:#263653;color:#B4C7FF}html[data-theme="dark"] .dataset-item[data-format="JSON"] .dataset-file-icon{background:#3A3028;color:#F1B37E}html[data-theme="dark"] .tray-heading h2 span,html[data-theme="dark"] .tab-count,html[data-theme="dark"] .type-summary span,html[data-theme="dark"] .type-badge,html[data-theme="dark"] .column-type-mark{background:#27344A;color:#B2BED1;border-color:#32415A}html[data-theme="dark"] .button-outline,html[data-theme="dark"] .summary-change-button,html[data-theme="dark"] .history-action,html[data-theme="dark"] .page-button,html[data-theme="dark"] .small-square-button,html[data-theme="dark"] .help-button,html[data-theme="dark"] .dialog-close{background:#1E2B40;border-color:var(--line);color:var(--ink-2)}html[data-theme="dark"] .button-quiet,html[data-theme="dark"] .icon-button,html[data-theme="dark"] .text-action{color:var(--muted)}html[data-theme="dark"] .dataset-summary-band,html[data-theme="dark"] .profile-banner,html[data-theme="dark"] .prepare-intro{background:#1C2941;border-color:#2C3D5B}html[data-theme="dark"] .summary-detail strong,html[data-theme="dark"] .working-copy-stat strong,html[data-theme="dark"] .detail-stat strong,html[data-theme="dark"] .history-copy strong,html[data-theme="dark"] .metric-top,html[data-theme="dark"] .preview-table td,html[data-theme="dark"] .data-grid-table td{color:#C7D2E4}html[data-theme="dark"] .preview-table td,html[data-theme="dark"] .data-grid-table td,html[data-theme="dark"] .profile-table td,html[data-theme="dark"] .chart-data-table td{border-color:#253149}html[data-theme="dark"] .data-grid-table td:first-child,html[data-theme="dark"] .preview-table tr:hover td,html[data-theme="dark"] .data-grid-table tr:hover td,html[data-theme="dark"] .profile-table tr:hover td{background:#182235}html[data-theme="dark"] .profile-table tr.is-selected td,html[data-theme="dark"] .data-grid-table td.cell-selected{background:#26395D;color:#DCE5FF}html[data-theme="dark"] .health-signal,html[data-theme="dark"] .history-row,html[data-theme="dark"] .guide-step,html[data-theme="dark"] .working-copy-stat,html[data-theme="dark"] .quality-rule,html[data-theme="dark"] .shortcut-list>div{border-color:#2A374D}html[data-theme="dark"] .health-signal strong,html[data-theme="dark"] .quality-rule strong,html[data-theme="dark"] .form-field>span{color:#D2DCEC}html[data-theme="dark"] .health-signal p,html[data-theme="dark"] .panel-header p,html[data-theme="dark"] .view-subtitle,html[data-theme="dark"] .profile-banner p{color:#94A3BB}html[data-theme="dark"] .overview-chart-panel .chart-label-text{fill:#9EADC4}html[data-theme="dark"] .chart-gridline{stroke:#2A3850}html[data-theme="dark"] .chart-value-text{fill:#C5D0E2}html[data-theme="dark"] .chart-settings-note,html[data-theme="dark"] .working-copy-note,html[data-theme="dark"] .detail-stat,html[data-theme="dark"] .range-values,html[data-theme="dark"] .transform-preview,html[data-theme="dark"] .empty-history,html[data-theme="dark"] .chart-empty-state>span{background:#141E2F;border-color:#2B3850;color:#9DABC1}html[data-theme="dark"] .profile-banner-symbol{background:#293D62;color:#B6C9FF}html[data-theme="dark"] .profile-banner strong,html[data-theme="dark"] .profile-banner-metrics strong{color:#D9E4FF}html[data-theme="dark"] .profile-banner-metrics small{color:#A0B0D1}html[data-theme="dark"] .column-inspector code,html[data-theme="dark"] .cell-inspector code{background:#141E2F;color:#B5C7FF;border-color:#2B3850}html[data-theme="dark"] .cell-inspector{background:#1B2942;border-color:#34496E}html[data-theme="dark"] .transform-preview.is-warning{background:#362E24;color:#E9C28D;border-color:#52402D}html[data-theme="dark"] .transform-preview.is-success{background:#1A342F;color:#92D9BE;border-color:#2D5247}html[data-theme="dark"] .profile-search input,html[data-theme="dark"] .command-search input{color:var(--ink)}html[data-theme="dark"] .select-chevron{border-color:#A8B5CA}html[data-theme="dark"] .metric-track,html[data-theme="dark"] .health-bar,html[data-theme="dark"] .distribution-track,html[data-theme="dark"] .inline-bar{background:#27354A}html[data-theme="dark"] .file-dropzone{background:#141E2E;border-color:#394B67}html[data-theme="dark"] .file-dropzone:hover{background:#1C2941;border-color:#728FE6}html[data-theme="dark"] .import-tab{color:#99A8BF}html[data-theme="dark"] .import-tab.is-active{color:#ADC1FF}html[data-theme="dark"] .import-tabs{border-color:var(--line)}html[data-theme="dark"] .import-file-row{background:#202D43;color:#B8C5D9}html[data-theme="dark"] .dialog-error{background:#39272E;border-color:#5A3B43;color:#F0A7AE}html[data-theme="dark"] .quality-rule .rule-action{background:#1E2B40;border-color:var(--line);color:#C7D2E4}html[data-theme="dark"] .profile-detail-header{border-color:var(--line)}html[data-theme="dark"] .column-menu .text-action{color:#ADC1FF}
/* Responsive composition */
@media(max-width:1260px){.main-canvas{padding:24px 22px 35px}.app-topbar{padding:0 20px}.mode-nav{padding:0 20px;gap:17px}.topbar-brand-group{min-width:220px}.workspace-name{display:none}.topbar-divider{display:none}.mode-tab{padding:0 12px}.overview-main-grid{grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr)}.profile-content-grid{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)}}
@media(max-width:1030px){.app-body{grid-template-columns:205px minmax(0,1fr)}.dataset-tray{padding-left:9px;padding-right:9px}.app-topbar{gap:10px}.topbar-center{font-size:10px}.topbar-actions{gap:4px}.theme-label{display:none}.mode-nav{gap:10px}.mode-nav-label{padding-right:12px}.mode-tab{padding:0 9px;gap:6px}.keyboard-hint span{display:none}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-main-grid{grid-template-columns:minmax(0,1fr)}.overview-chart-panel{min-height:240px}.overview-chart svg{max-height:230px}.prepare-layout{grid-template-columns:minmax(0,1fr)}.prepare-side-column{display:grid;grid-template-columns:1fr 1fr}.visualize-layout{grid-template-columns:235px minmax(0,1fr)}.profile-content-grid{grid-template-columns:minmax(0,1fr)}.profile-detail-panel{display:grid;grid-template-columns:1fr 1.5fr}.profile-detail-header{flex-direction:column;align-items:flex-start;border-right:1px solid var(--line);border-bottom:0}.profile-column-detail{min-width:0}.profile-banner{flex-wrap:wrap}.profile-banner-metrics{margin-left:auto}}
@media(max-width:760px){.dataset-item-row{flex-shrink:0;max-width:205px;align-items:center;gap:0}.dataset-item-row>.dataset-item{max-width:180px}.dataset-item-row .dataset-remove{opacity:1;width:20px;font-size:12px;height:28px}.app-topbar{height:auto;min-height:62px;padding:10px 13px;flex-wrap:wrap}.topbar-brand-group{min-width:0;flex:1}.app-brand strong{font-size:15px}.topbar-center{order:3;width:100%;justify-content:flex-start;padding:4px 0 0 2px;border-top:1px solid #EEF1F6}.topbar-actions{gap:3px}.topbar-actions .button-import{width:34px;height:34px;overflow:hidden;padding:0;font-size:0;gap:0}.topbar-actions .button-import svg{width:16px;height:16px}.topbar-action-divider{display:none}.topbar-actions #undoButton,.topbar-actions #redoButton{display:none}.topbar-actions .theme-label{display:none}.mode-nav{padding:0 10px;gap:8px;overflow:visible;align-items:center;min-height:52px}.mode-nav-label{display:none}.mode-tabs{overflow-x:auto;scrollbar-width:none;flex:1;align-self:stretch}.mode-tabs::-webkit-scrollbar{display:none}.mode-tab{font-size:10px;padding:0 10px;gap:6px}.mode-tab-icon{display:none}.mode-tab .tab-count{display:none}.mode-nav-right{gap:8px;margin-left:0}.keyboard-hint{display:none}.help-button{width:23px;height:23px}.app-body{display:flex;flex-direction:column;min-height:0}.dataset-tray{min-height:0;flex:none;display:flex;flex-direction:row;align-items:center;gap:9px;padding:9px 11px;border-right:0;border-bottom:1px solid var(--line);overflow:hidden}.tray-heading{padding:0;flex-shrink:0}.tray-heading>div .eyebrow-label{display:none}.tray-heading h2{font-size:11px;margin:0}.tray-heading h2 span{font-size:8px;height:15px}.tray-heading .small-square-button{display:none}.tray-search{display:none}.tray-section-label,.tray-bottom,.add-dataset-row{display:none}.dataset-list{display:flex;flex-direction:row;gap:5px;overflow-x:auto;min-width:0;flex:1;padding:1px 0;scrollbar-width:none}.dataset-list::-webkit-scrollbar{display:none}.dataset-item{width:auto;max-width:180px;flex-shrink:0;padding:6px 8px;gap:6px}.dataset-file-icon{width:23px;height:24px}.dataset-file-icon svg{width:13px;height:13px}.dataset-item-copy strong{max-width:120px;font-size:9px}.dataset-item-copy small{font-size:8px}.dataset-item .active-marker{display:none}.main-canvas{padding:20px 12px 27px;overflow:visible}.view-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:17px}.view-heading h1{font-size:23px;margin:7px 0 6px}.heading-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.heading-actions .updated-label{margin-right:auto}.dataset-summary-band{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;padding:12px;margin-bottom:11px}.summary-file-icon{width:34px;height:35px}.summary-file-copy strong{font-size:10px}.summary-file-copy span{font-size:8px}.summary-divider{display:none}.summary-detail{display:none}.summary-change-button{margin:0;font-size:9px}.metric-grid{gap:8px;margin-bottom:11px}.metric-card{padding:12px}.metric-card>strong{font-size:23px;margin:8px 0 4px}.metric-top{font-size:9px}.metric-mark{width:22px;height:22px}.overview-main-grid{gap:11px;margin-bottom:11px}.panel-header{padding:13px 13px 10px}.panel-header h2{font-size:13px}.panel-header p{font-size:9px}.panel-header .text-action{font-size:9px}.overview-chart{padding:0 12px;min-height:160px}.overview-chart svg{max-height:180px}.panel-legend{padding:5px 13px 13px}.health-signal-list{padding:0 13px}.full-action{margin-left:13px}.recent-data-panel .panel-header{align-items:flex-start}.preview-table-wrap{padding:0 8px 8px}.preview-table th,.preview-table td{padding:8px}.app-footer{padding:8px 12px;flex-wrap:wrap;justify-content:flex-start;gap:6px 14px}.app-footer>span:last-child{display:none}.data-table-wrap{max-height:calc(100vh - 390px);min-height:280px}.table-toolbar{gap:6px}.table-search{min-width:100%;max-width:none;flex-basis:100%}.toolbar-spacer{display:none}.result-count{margin-left:auto}.table-foot{align-items:flex-start;flex-direction:column;gap:9px;padding:9px 10px}.table-foot-left{width:100%;flex-wrap:wrap}.pagination{width:100%;justify-content:flex-end}.filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px}.filter-row .filter-value-wrap{grid-column:1/3;grid-row:2}.filter-row .filter-remove{grid-column:3;grid-row:1}.column-menu{right:12px;top:160px}.prepare-intro{align-items:flex-start;padding:11px;gap:9px}.prepare-intro-icon{width:26px;height:26px}.prepare-intro strong{font-size:9px}.prepare-intro p{font-size:8px}.undo-count{display:none}.prepare-layout{gap:11px}.transform-form{padding:13px}.transform-card-heading{padding:14px 13px}.transform-fields{grid-template-columns:minmax(0,1fr);gap:11px}.transform-fields .form-field.full-field{grid-column:auto}.transform-form-footer{align-items:flex-start;flex-direction:column;gap:11px}.transform-form-footer .button{width:100%}.prepare-side-column{grid-template-columns:minmax(0,1fr)}.operation-guide,.working-copy-card{padding:14px}.visualize-layout{grid-template-columns:minmax(0,1fr);gap:11px}.chart-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.chart-settings-note,.full-width-button{grid-column:1/-1}.chart-builder-panel .panel-header{padding:13px}.chart-canvas{min-height:250px;padding:10px}.chart-result-header{align-items:flex-start}.chart-result-actions{flex-shrink:0}.profile-banner{padding:12px;gap:9px}.profile-banner-symbol{width:31px;height:32px;font-size:19px}.profile-banner>div:nth-child(2){flex-basis:calc(100% - 50px)}.profile-banner-metrics{width:100%;margin:8px 0 0;justify-content:space-between;padding-top:9px;border-top:1px solid #DCE5FF}.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-stat-card{padding:11px}.profile-stat-card strong{font-size:20px}.profile-columns-panel .panel-header{align-items:flex-start;flex-direction:column}.profile-search{width:100%;max-width:none}.profile-detail-panel{display:block}.profile-detail-header{flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line)}.profile-column-detail{padding:12px}.quality-rules-panel .panel-header{align-items:flex-start}.quality-rule{gap:8px}.quality-rule .rule-action{display:none}.dialog-header{padding:17px 16px 13px}.dialog-header h2{font-size:19px}.dialog-footer{padding:12px 16px 15px;align-items:flex-start;flex-direction:column}.dialog-footer>div{width:100%;justify-content:flex-end}.import-tabs{padding:0 16px}.import-pane{padding:14px 16px 5px}.import-options{align-items:flex-start;flex-direction:column;gap:8px}.import-options .form-field{width:100%}.check-field{padding-bottom:5px}.dialog-error{margin-left:16px;margin-right:16px}.small-dialog form{padding:0 16px}.small-dialog form .dialog-footer{margin-left:-16px;margin-right:-16px}.shortcut-list,.help-note{padding-left:16px;padding-right:16px}.dialog-local-note{font-size:8px}.toast-region{right:10px;bottom:10px}.command-overlay{padding-top:8vh}.command-footer{gap:7px;font-size:8px}.command-footer span:last-child{display:none}}
@media(max-width:390px){.dataset-tray{gap:6px}.tray-heading h2{font-size:10px}.dataset-item{max-width:140px}.dataset-item-copy strong{max-width:83px}.mode-tab{padding:0 8px}.mode-nav-right{display:none}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-change-button{font-size:8px;padding:6px}.chart-form{grid-template-columns:minmax(0,1fr)}.chart-settings-note,.full-width-button{grid-column:auto}.profile-banner-metrics{gap:10px}.quality-rules-panel .panel-header{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* DataLab release polish: dark-only theme and a deliberate empty first run. */
.workspace-view.is-empty > :not(.view-heading):not(.workspace-empty-state){display:none!important}
.workspace-view .workspace-empty-state{display:none}
.workspace-view.is-empty .workspace-empty-state{display:flex;min-height:min(56vh,560px);flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:48px 24px 58px;margin:12px 0 22px;border:1px dashed #3A4963;border-radius:16px;background:radial-gradient(ellipse at 50% 0%,rgba(132,162,255,.085),transparent 58%),linear-gradient(145deg,rgba(24,34,53,.9),rgba(17,25,40,.94));}
.workspace-empty-mark{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border:1px solid #3A4C6C;border-radius:16px;background:#202E47;color:#AFC3FF;font-family:var(--mono);font-size:20px;font-weight:800;box-shadow:0 14px 34px rgba(0,0,0,.14);margin-bottom:22px}
.workspace-empty-eyebrow{font-size:9px;font-weight:850;letter-spacing:.18em;color:#9FB4F4}
.workspace-empty-state h2{max-width:640px;margin:12px 0 10px;font-size:clamp(25px,3vw,36px);line-height:1.13;letter-spacing:-.05em;color:var(--ink)}
.workspace-empty-state>p:not(.workspace-empty-note){max-width:520px;margin:0;color:#9DABC1;font-size:13px;line-height:1.8}
.workspace-empty-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:24px}
.workspace-empty-actions .button{min-height:42px;font-size:12px}
.workspace-sample-link{margin-top:22px;color:#AFC3FF;font-size:11px;font-weight:750;text-decoration:none}
.workspace-sample-link:hover{color:#D5DFFF;text-decoration:underline;text-underline-offset:4px}
.workspace-empty-note{max-width:460px;margin:18px 0 0;color:#73839C;font-size:10px;line-height:1.65}
.dataset-empty-first{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:12px 8px;border:1px dashed #34445D;border-radius:9px;background:#182235;color:var(--muted);font-size:10px;line-height:1.55}
.dataset-empty-first strong{color:var(--ink-2);font-size:11px}
.dataset-empty-first a{display:inline-block;color:#AFC3FF;font-size:10px;font-weight:720;margin-top:2px;text-decoration:none}
.dataset-empty-first a:hover{text-decoration:underline;text-underline-offset:3px}
.tray-sample-link{display:flex;align-items:center;justify-content:space-between;margin:-6px 5px 0;padding:6px 5px;color:#AFC3FF;font-size:10px;font-weight:700;text-decoration:none;border-radius:6px}
.tray-sample-link:hover{background:#1E2B40;color:#D4DEFF}
button:disabled,.button:disabled{opacity:.42;cursor:not-allowed;transform:none!important;box-shadow:none!important}
.workspace-view.is-empty .view-heading .updated-label{color:#8999B2}
@media(max-width:760px){.workspace-view.is-empty .workspace-empty-state{min-height:52vh;padding:38px 20px}.workspace-empty-state h2{font-size:26px}.workspace-empty-actions{width:100%;flex-direction:column}.workspace-empty-actions .button{width:min(100%,280px)}}


/* DataLab deep-audit fixes: chart contrast, legibility, and consistent panel alignment. */
html[data-theme="dark"] .chart-builder-panel .panel-header,
html[data-theme="dark"] .chart-result-header { border-color: var(--line); }
html[data-theme="dark"] .chart-data-table td { color: #C7D2E4; border-color: #253149; }
html[data-theme="dark"] .chart-empty-state { color: #98A6BC; }
html[data-theme="dark"] .chart-empty-state strong { color: #D2DCEC; }
html[data-theme="dark"] .chart-empty-state small { color: #94A3BB; }
.chart-canvas { justify-content: center; overflow: auto; overscroll-behavior-x: contain; }
.chart-canvas > svg { width: 100%; min-width: 700px; max-height: none; height: auto; flex: 0 0 auto; overflow: visible; }
.chart-modal-content { justify-content: flex-start; overflow: auto; overscroll-behavior-x: contain; }
.chart-modal-content > svg { width: 100%; min-width: 700px; max-height: 68vh; height: auto; flex: 0 0 auto; }
.overview-chart { overflow-x: auto; overscroll-behavior-x: contain; }
.overview-chart > svg { min-width: 520px; flex: 0 0 auto; max-height: none; }
@media (max-width: 760px) {
  .chart-canvas { justify-content: flex-start; }
  .chart-modal-content { justify-content: flex-start; }
  .overview-chart { justify-content: flex-start; }
}

/* Deep dark-surface pass: override legacy light-era component rules consistently. */
html[data-theme="dark"] {
  --surface-raised: #1D2A40;
  --surface-input: #121C2C;
  --surface-hover: #23334E;
  --text-strong: #E8EEF8;
  --text-body: #C7D2E4;
  --text-muted: #94A3BB;
  --focus-border: #718FE9;
}
html[data-theme="dark"] .app-topbar,
html[data-theme="dark"] .mode-nav,
html[data-theme="dark"] .app-footer,
html[data-theme="dark"] .panel-card,
html[data-theme="dark"] .table-data-card,
html[data-theme="dark"] .dataset-summary-band,
html[data-theme="dark"] .filter-builder,
html[data-theme="dark"] .floating-panel,
html[data-theme="dark"] .column-menu,
html[data-theme="dark"] .cell-inspector,
html[data-theme="dark"] .chart-builder-panel,
html[data-theme="dark"] .chart-result-panel,
html[data-theme="dark"] .chart-data-card,
html[data-theme="dark"] .profile-stat-card,
html[data-theme="dark"] .profile-columns-panel,
html[data-theme="dark"] .profile-detail-panel,
html[data-theme="dark"] .quality-rules-panel,
html[data-theme="dark"] .prepare-intro,
html[data-theme="dark"] .transform-form,
html[data-theme="dark"] .operation-guide,
html[data-theme="dark"] .working-copy-card {
  color: var(--ink);
  background-color: var(--surface);
  border-color: var(--line);
}
html[data-theme="dark"] .app-topbar,
html[data-theme="dark"] .mode-nav,
html[data-theme="dark"] .app-footer,
html[data-theme="dark"] .table-foot,
html[data-theme="dark"] .preview-table th,
html[data-theme="dark"] .data-grid-table thead th,
html[data-theme="dark"] .chart-data-table th,
html[data-theme="dark"] .profile-table th,
html[data-theme="dark"] .command-footer {
  background: #141E2E;
  border-color: var(--line);
  color: var(--muted);
}
html[data-theme="dark"] .button-outline:hover:not(:disabled),
html[data-theme="dark"] .icon-button:hover:not(:disabled),
html[data-theme="dark"] .summary-change-button:hover:not(:disabled),
html[data-theme="dark"] .small-square-button:hover:not(:disabled),
html[data-theme="dark"] .help-button:hover:not(:disabled),
html[data-theme="dark"] .dialog-close:hover:not(:disabled),
html[data-theme="dark"] .page-button:hover:not(:disabled),
html[data-theme="dark"] .column-toggle:hover,
html[data-theme="dark"] .more-menu button:hover,
html[data-theme="dark"] .command-item:hover,
html[data-theme="dark"] .command-item.is-active {
  background-color: var(--surface-hover);
  border-color: var(--line-strong);
  color: var(--blue-dark);
}
html[data-theme="dark"] .button-badge,
html[data-theme="dark"] .keyboard-hint kbd,
html[data-theme="dark"] .tray-search kbd,
html[data-theme="dark"] .tab-count,
html[data-theme="dark"] .type-summary span,
html[data-theme="dark"] .type-badge,
html[data-theme="dark"] .column-type-mark,
html[data-theme="dark"] .column-menu .column-toggle,
html[data-theme="dark"] .summary-file-icon,
html[data-theme="dark"] .dataset-file-icon,
html[data-theme="dark"] .metric-mark,
html[data-theme="dark"] .profile-banner-symbol {
  background: #25344B;
  border-color: #35445D;
  color: #B8C8E5;
}
html[data-theme="dark"] .dataset-item[data-format="JSON"] .dataset-file-icon,
html[data-theme="dark"] .dataset-item[data-format="JSONL"] .dataset-file-icon,
html[data-theme="dark"] .signal-icon.warning,
html[data-theme="dark"] .metric-mark-orange {
  background: #3B3028;
  border-color: #5C4635;
  color: #F1B783;
}
html[data-theme="dark"] .signal-icon.info,
html[data-theme="dark"] .metric-mark-blue,
html[data-theme="dark"] .metric-mark-ink {
  background: #263653;
  border-color: #354A70;
  color: #B5C8FF;
}
html[data-theme="dark"] .signal-icon.success,
html[data-theme="dark"] .type-badge.boolean {
  background: #1B3833;
  border-color: #31584F;
  color: #8DDBC2;
}
html[data-theme="dark"] .metric-mark-red,
html[data-theme="dark"] .transform-preview.is-warning,
html[data-theme="dark"] .dialog-error {
  background: #3A2931;
  border-color: #59404A;
  color: #F1A5B2;
}
html[data-theme="dark"] .type-badge.number,
html[data-theme="dark"] .column-type-mark.number {
  background: #243554;
  color: #AFC4FF;
}
html[data-theme="dark"] .type-badge.date,
html[data-theme="dark"] .column-type-mark.date {
  background: #3D3027;
  color: #F1BC8B;
}
html[data-theme="dark"] .type-badge.text,
html[data-theme="dark"] .column-type-mark.text {
  background: #263247;
  color: #B8C5D9;
}
html[data-theme="dark"] .mini-info,
html[data-theme="dark"] .tray-local-icon,
html[data-theme="dark"] .chart-builder-glyph,
html[data-theme="dark"] .transform-illustration,
html[data-theme="dark"] .preview-mark,
html[data-theme="dark"] .chart-empty-state > span,
html[data-theme="dark"] .upload-icon,
html[data-theme="dark"] .command-item-icon {
  background: #202F48;
  color: #AFC3FF;
  border-color: #344663;
}
html[data-theme="dark"] .metric-track,
html[data-theme="dark"] .health-bar,
html[data-theme="dark"] .distribution-track,
html[data-theme="dark"] .inline-bar,
html[data-theme="dark"] .quality-track {
  background: #29384F;
}
html[data-theme="dark"] .health-signal,
html[data-theme="dark"] .history-row,
html[data-theme="dark"] .guide-step,
html[data-theme="dark"] .working-copy-stat,
html[data-theme="dark"] .quality-rule,
html[data-theme="dark"] .shortcut-list > div,
html[data-theme="dark"] .profile-detail-header,
html[data-theme="dark"] .profile-banner-metrics,
html[data-theme="dark"] .transform-form-footer,
html[data-theme="dark"] .import-tabs {
  border-color: var(--line);
}
html[data-theme="dark"] .health-signal strong,
html[data-theme="dark"] .quality-rule strong,
html[data-theme="dark"] .form-field > span,
html[data-theme="dark"] .filter-builder-heading strong,
html[data-theme="dark"] .transform-card-heading h3,
html[data-theme="dark"] .operation-guide h3,
html[data-theme="dark"] .working-copy-card h3,
html[data-theme="dark"] .chart-result-header h2,
html[data-theme="dark"] .profile-stat-card strong,
html[data-theme="dark"] .profile-table td:first-child,
html[data-theme="dark"] .profile-banner strong {
  color: var(--ink);
}
html[data-theme="dark"] .view-subtitle,
html[data-theme="dark"] .panel-header p,
html[data-theme="dark"] .profile-banner p,
html[data-theme="dark"] .health-signal p,
html[data-theme="dark"] .filter-builder-heading small,
html[data-theme="dark"] .metric-footer,
html[data-theme="dark"] .result-count,
html[data-theme="dark"] .page-size-label,
html[data-theme="dark"] .working-copy-note,
html[data-theme="dark"] .empty-inline,
html[data-theme="dark"] .profile-stat-card small,
html[data-theme="dark"] .column-menu small {
  color: var(--muted);
}
html[data-theme="dark"] .preview-table th,
html[data-theme="dark"] .data-grid-table thead th,
html[data-theme="dark"] .chart-data-table th,
html[data-theme="dark"] .profile-table th {
  border-top-color: var(--line);
  border-bottom-color: var(--line-strong);
}
html[data-theme="dark"] .data-grid-table th:first-child,
html[data-theme="dark"] .data-grid-table td:first-child,
html[data-theme="dark"] .preview-table tr:hover td,
html[data-theme="dark"] .data-grid-table tr:hover td,
html[data-theme="dark"] .data-grid-table tr:hover td:first-child,
html[data-theme="dark"] .profile-table tr:hover td {
  background: #1C293E;
  border-color: var(--line);
  color: var(--ink-2);
}
html[data-theme="dark"] .preview-table td,
html[data-theme="dark"] .data-grid-table td,
html[data-theme="dark"] .profile-table td,
html[data-theme="dark"] .chart-data-table td {
  background: #182235;
  color: var(--text-body);
  border-color: #27354A;
}
html[data-theme="dark"] .data-grid-table td.cell-selected,
html[data-theme="dark"] .profile-table tr.is-selected td {
  background: #293D62 !important;
  color: #E4EBFF;
}
html[data-theme="dark"] .data-grid-table td.cell-missing {
  background: repeating-linear-gradient(135deg, #1C293E 0, #1C293E 5px, #342A34 5px, #342A34 7px);
  color: #E6A9B2;
}
html[data-theme="dark"] .table-foot,
html[data-theme="dark"] .filter-footer,
html[data-theme="dark"] .chart-result-foot,
html[data-theme="dark"] .profile-detail-header,
html[data-theme="dark"] .command-footer {
  background: #141E2E;
  border-color: var(--line);
  color: var(--muted);
}
html[data-theme="dark"] .filter-row input,
html[data-theme="dark"] .tray-search,
html[data-theme="dark"] .table-search,
html[data-theme="dark"] .profile-search,
html[data-theme="dark"] .profile-search input,
html[data-theme="dark"] .command-search input,
html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field textarea,
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background-color: var(--surface-input);
  color: var(--ink);
  border-color: var(--line-strong);
}
html[data-theme="dark"] input:disabled,
html[data-theme="dark"] textarea:disabled,
html[data-theme="dark"] select:disabled {
  background-color: #192337;
  color: #7889A3;
  border-color: #303D53;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #74849D;
  opacity: 1;
}
html[data-theme="dark"] select option {
  background: #182235;
  color: var(--ink-2);
}
html[data-theme="dark"] .select-trigger,
html[data-theme="dark"] .pagination .select-trigger {
  min-height: 34px;
  padding-right: 36px;
  background: var(--surface-input);
  border-color: var(--line-strong);
  color: var(--ink-2);
}
html[data-theme="dark"] .select-trigger:hover:not(:disabled),
html[data-theme="dark"] .select-trigger[aria-expanded="true"] {
  background: #1B2940;
  border-color: #667FC2;
}
html[data-theme="dark"] .select-chevron {
  border-color: #B2C1D8;
}
html[data-theme="dark"] .select-popover,
html[data-theme="dark"] .select-option {
  background: #182235;
  color: var(--ink-2);
  border-color: var(--line);
}
html[data-theme="dark"] .select-option:hover,
html[data-theme="dark"] .select-option.is-focused {
  background: #263650;
  color: #E7EDFF;
}
html[data-theme="dark"] .select-option[aria-selected="true"] {
  background: #24365A;
  color: #C1D1FF;
}
html[data-theme="dark"] .select-option-check {
  color: #AFC3FF;
}
html[data-theme="dark"] .filter-builder,
html[data-theme="dark"] .filter-row,
html[data-theme="dark"] .transform-preview,
html[data-theme="dark"] .chart-settings-note,
html[data-theme="dark"] .working-copy-note,
html[data-theme="dark"] .detail-stat,
html[data-theme="dark"] .range-values,
html[data-theme="dark"] .empty-history,
html[data-theme="dark"] .chart-empty-state > span {
  background: #141E2E;
  border-color: var(--line);
  color: var(--muted);
}
html[data-theme="dark"] .transform-preview.is-success {
  background: #19362F;
  border-color: #31584F;
  color: #A4E4CF;
}
html[data-theme="dark"] .prepare-intro,
html[data-theme="dark"] .dataset-summary-band,
html[data-theme="dark"] .profile-banner {
  background: linear-gradient(115deg, #1D2A40, #182235);
  border-color: var(--line-strong);
}
html[data-theme="dark"] .prepare-intro p,
html[data-theme="dark"] .summary-file-copy span,
html[data-theme="dark"] .summary-detail span,
html[data-theme="dark"] .range-values small,
html[data-theme="dark"] .working-copy-stat small,
html[data-theme="dark"] .profile-banner-metrics small {
  color: #A5B3C8;
}
html[data-theme="dark"] .chart-canvas {
  background: #111B2A;
  border-color: var(--line);
}
html[data-theme="dark"] .chart-data-table table {
  background: #182235;
}
html[data-theme="dark"] .chart-data-table th,
html[data-theme="dark"] .chart-data-table td {
  color: var(--text-body);
  border-color: #2A3850;
}
html[data-theme="dark"] .chart-table-note {
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: #141E2E;
  color: #A7B6CE;
  font-size: 11px;
  line-height: 1.5;
}
html[data-theme="dark"] .inline-bar.is-negative span {
  background: var(--orange);
}
html[data-theme="dark"] .profile-missing-mini {
  background: repeating-linear-gradient(135deg, #29364B 0, #29364B 5px, #3A2D35 5px, #3A2D35 7px);
}
html[data-theme="dark"] .column-inspector code,
html[data-theme="dark"] .cell-inspector code,
html[data-theme="dark"] pre,
html[data-theme="dark"] code {
  background: #111B2A;
  color: #C1D1FF;
  border-color: var(--line);
}
html[data-theme="dark"] .file-dropzone {
  background: #141E2E;
  border-color: #40516C;
  color: var(--ink-2);
}
html[data-theme="dark"] .file-dropzone:hover,
html[data-theme="dark"] .file-dropzone.is-dragging {
  background: #1D2A40;
  border-color: #8199EA;
}
html[data-theme="dark"] .import-file-row {
  background: #1D2A40;
  border-color: var(--line);
  color: var(--ink-2);
}
html[data-theme="dark"] .toast {
  background: #1D2A40;
  border-color: #394B65;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .38);
}
html[data-theme="dark"] .toast p,
html[data-theme="dark"] .toast small {
  color: #A7B6CB;
}
html[data-theme="dark"] .app-footer,
html[data-theme="dark"] .mode-nav,
html[data-theme="dark"] .table-toolbar,
html[data-theme="dark"] .profile-table,
html[data-theme="dark"] .chart-data-table {
  color: var(--text-muted);
}
html[data-theme="dark"] :is(.button, .button-outline, .page-button, .select-trigger, .column-toggle, .history-action, .text-action, .small-square-button):focus-visible,
html[data-theme="dark"] :is(input, textarea, select):focus-visible {
  outline-color: rgba(132, 162, 255, .82);
  border-color: #718FE9;
}
html[data-theme="dark"] .table-search:focus-within,
html[data-theme="dark"] .tray-search:focus-within,
html[data-theme="dark"] .profile-search:focus-within {
  border-color: #718FE9;
  box-shadow: 0 0 0 3px rgba(132, 162, 255, .12);
}
@media (max-width: 760px) {
  html[data-theme="dark"] .topbar-center { border-top-color: var(--line); }
  html[data-theme="dark"] .profile-banner-metrics { border-top-color: var(--line); }
  html[data-theme="dark"] .chart-result-header { gap: 12px; flex-wrap: wrap; }
  html[data-theme="dark"] .chart-result-actions { display: flex; flex-wrap: wrap; gap: 6px; }
  html[data-theme="dark"] .chart-canvas > svg { min-width: 760px; }
}
html[data-theme="dark"] .dataset-remove:hover,
html[data-theme="dark"] .filter-remove:hover {
  background: #3A2931;
  border-color: #65414C;
  color: #F1A5B2;
}
html[data-theme="dark"] .add-dataset-row:hover {
  background: #202F48;
  border-color: #3A4D6A;
  color: #D4DEEF;
}
html[data-theme="dark"] .history-index,
html[data-theme="dark"] .guide-step > span:first-child,
html[data-theme="dark"] .rule-count,
html[data-theme="dark"] .detail-type-chip {
  background: #24334A;
  border-color: #35445C;
  color: #B9C9E1;
}
html[data-theme="dark"] .toast-icon {
  background: #1C3A32;
  color: #91D9BC;
}
html[data-theme="dark"] .toast.is-error .toast-icon {
  background: #3A2931;
  color: #F1A5B2;
}
html[data-theme="dark"] .toast.is-warning .toast-icon {
  background: #3C3027;
  color: #F1BC8B;
}
html[data-theme="dark"] .toast.is-info .toast-icon {
  background: #263653;
  color: #AFC3FF;
}
html[data-theme="dark"] .profile-banner-metrics {
  border-color: var(--line);
}
html[data-theme="dark"] .dataset-remove:hover,
html[data-theme="dark"] .filter-remove:hover,
html[data-theme="dark"] .add-dataset-row:hover,
html[data-theme="dark"] .history-action:hover:not(:disabled),
html[data-theme="dark"] .rule-action:hover:not(:disabled) {
  box-shadow: none;
}

/* Deep audit: distinguish a missing aggregate from a genuine numeric zero. */
.value-missing{color:#9EADC4;font-size:10px;font-style:italic;white-space:nowrap}
.inline-bar.is-missing{background:transparent;border:1px dashed #42516A;min-height:7px}
.inline-bar.is-missing span{display:none}
