:root{--ink:#303649;--muted:#89909f;--line:#e6e8ee;--bg:#f5f6f9;--purple:#7561d4;--purple-soft:#f0ecfb;--teal:#26998d;--blue:#4d8db8;--green:#42a596;--pane:#fcfcfe;--shadow:0 8px 28px #20263b16;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:12px;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{opacity:.32;cursor:not-allowed}button:hover:not(:disabled){background:#eceef5}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #aa9ae9;outline-offset:2px}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}input,select,textarea{color:var(--ink);background:white;border:1px solid #dce0e9;border-radius:5px;padding:9px 11px}input[type=checkbox]{accent-color:var(--purple);width:14px;height:14px}input[type=range]{padding:0;accent-color:var(--purple)}input::placeholder,textarea::placeholder{color:#a0a6b2}select{cursor:pointer}a{color:inherit;text-decoration:none}#app{height:100dvh;min-height:640px;min-width:980px;display:flex;flex-direction:column;overflow:hidden}.topbar{height:53px;flex-shrink:0;background:#282c40;color:#eeeef8;display:flex;align-items:center;justify-content:space-between;padding:0 21px}.brand{display:flex;align-items:center;gap:8px}.brand>svg{width:25px;height:25px;color:#b5a4ff;stroke-width:2.3}.brand>span{font-size:25px;font-weight:650;letter-spacing:-1.2px}.brand-dot{color:#b6a3ff}.brand small{font-size:8px;letter-spacing:2px;color:#a4a6be;margin:5px 0 0 9px;font-weight:600}.workbook-title{position:absolute;left:50%;transform:translateX(-50%);display:flex;gap:11px;align-items:center;font-size:12px;letter-spacing:.1px}.title-chevron{color:#a7a7b8}#saved-indicator{font-size:10px;color:#9c9eb0;padding-left:12px;border-left:1px solid #515363}.header-actions{display:flex;align-items:center;gap:19px}.local-badge{color:#b5b8c9;font-size:10px;display:flex;align-items:center;gap:6px}.local-badge i,.live-dot{width:5px;height:5px;background:#67bb98;border-radius:50%;display:inline-block}.header-help{border:1px solid #707286;border-radius:50%;width:17px;height:17px;padding:0;color:#b4b8c9;font-size:11px}.avatar{width:29px;height:29px;display:grid;place-items:center;background:#48445f;color:#d9cdfb;font-size:10px;border-radius:50%;font-weight:600}.menubar{height:32px;flex-shrink:0;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 12px;gap:2px}.menubar>button{height:28px;padding:0 11px;color:#62697a;font-size:11px}.menubar-right{margin-left:auto;color:#9096a3;display:flex;align-items:center;gap:7px;font-size:10px;padding-right:12px}.menu-separator{padding:0 5px;color:#d1d4dc}.toolbar{height:48px;display:flex;align-items:center;flex-shrink:0;background:#fdfdfe;border-bottom:1px solid #dfe2e9;padding:0 14px;gap:7px}.tool-group{display:flex;align-items:center;gap:3px;padding-right:9px;border-right:1px solid #e1e4eb}.toolbar button{height:30px;min-width:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:#798191;padding:5px 7px;gap:7px}.toolbar button svg{width:17px;height:17px}.toolbar .tool-label{font-size:11px;padding:5px 9px;color:#60687a}.tiny-chevron{padding-left:4px;color:#9b9fa9}.calculation-tool{font-family:Georgia,serif;font-size:19px!important;font-style:italic}.toolbar select{border:none;background:transparent;font-size:11px;width:119px;color:#7a8190;padding:6px}.toolbar-spacer{flex:1}.toolbar .show-me-toggle{font-size:11px;color:#725cc5;background:#f0ecfa;border:1px solid #e7e0f7;padding:5px 12px;margin-left:7px}.toolbar .export-tool{color:#727a8b}.workspace{flex:1;display:flex;min-height:0;overflow:hidden}.data-pane{width:230px;flex-shrink:0;background:var(--pane);border-right:1px solid #dfe3eb;display:flex;flex-direction:column}.pane-tabs{display:flex;align-items:center;height:45px;padding:0 12px;border-bottom:1px solid var(--line);gap:13px}.pane-tabs button{height:45px;color:#8b91a0;font-weight:500;padding:0 8px;border-bottom:2px solid transparent;font-size:11px}.pane-tabs button.active{color:#7160ba;border-bottom-color:#8a76d5}.pane-tabs .pane-add{margin-left:auto;border:0;font-size:20px;padding:0 3px;color:#89909e}.source-picker{display:flex;align-items:center;gap:7px;padding:20px 17px 0;color:#838898}.source-picker>svg{width:16px;height:16px;color:#737c8d}.source-picker select{font-weight:550;font-size:11px;border:0;background:transparent;width:151px;padding:0;appearance:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-picker:after{content:'⌄';color:#adb1bc;font-size:11px}.source-check{color:#51a48c;font-size:10px}.source-meta{display:flex;justify-content:space-between;padding:7px 17px 17px 40px;font-size:9px;color:#999eac}.source-meta button{font-size:9px;padding:0;color:#8a85a2}.source-meta button span{padding-left:4px}.field-search{display:flex;align-items:center;margin:0 14px 16px;border:1px solid #e6e8ee;border-radius:4px;background:#fff;padding:6px 8px;gap:7px}.field-search>svg{width:13px;height:13px;color:#a2a8b5}.field-search input{padding:0;border:0;font-size:10px;width:132px;background:transparent;outline:0}.field-search>span{color:#b6bcc6;font-size:12px}.field-list{flex:1;overflow:auto;padding:0 11px;scrollbar-width:thin}.field-heading{font-size:9px;text-transform:uppercase;letter-spacing:1.4px;color:#8b92a2;display:flex;justify-content:space-between;align-items:center;padding:2px 9px 11px;font-weight:550}.field-heading button{font-size:13px;letter-spacing:0;color:#8f98a9;padding:0 4px}.field-item{height:30px;display:flex;align-items:center;padding:0 9px;gap:8px;border-radius:4px;cursor:grab;user-select:none;font-size:11px;color:#657187}.field-item:hover{background:#eef0f6}.field-item .field-type{width:19px;color:#4c91b5;text-align:center;font-size:10px;font-weight:500}.field-item.measure .field-type{color:#2a9d8b;font-size:14px}.field-item .field-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.field-item .field-options{opacity:0;padding:2px 0 2px 3px;color:#9b9eac;font-size:11px}.field-item:hover .field-options{opacity:1}.field-item.calculated .field-type{font-family:Georgia,serif;font-style:italic}.field-divider{height:1px;background:#e4e8ef;margin:17px 8px}.field-hint{padding:10px 9px;color:#a4aab7;font-size:10px;line-height:1.7}.field-count{color:#b2b7c1;font-size:9px;letter-spacing:0}.data-pane-footer{padding:12px 15px;border-top:1px solid #e7e9f0}.data-pane-footer>button{font-size:10px;color:#7e719e;display:flex;gap:9px;align-items:center;padding:3px 3px 13px}.data-pane-footer>button b{font-family:Georgia;font-style:italic;font-size:16px;font-weight:400}.data-pane-footer>div{display:flex;align-items:center;gap:6px;font-size:9px;color:#9a9fac}.data-pane-footer i{width:5px;height:5px;border-radius:50%;background:#6bac93}.data-pane-footer>div>button{margin-left:auto;color:#a0a8b3;padding:0}.center-workspace{flex:1;min-width:0;overflow:hidden;position:relative;background:#f5f6f9}#workspace-content{width:100%;height:100%;display:flex;flex-direction:column}.right-pane{width:185px;flex-shrink:0;background:#fdfdff;border-left:1px solid #e2e5ec;overflow:auto}.right-pane.hidden{display:none}.right-heading{height:46px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-size:11px;font-weight:550;color:#61687c}.right-heading button{color:#9299a8;font-size:16px;padding:0 3px}.right-section{padding:17px 15px;border-bottom:1px solid #e8eaf0}.right-section h4{margin:0 0 13px;font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:1.2px;color:#9399a8}.chart-types{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.chart-type{border:1px solid #e6e8ef;background:#fff;border-radius:6px;height:65px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#a2a7b5}.chart-type svg{height:26px;width:35px;stroke-width:1.3}.chart-type span{font-size:9px;color:#8f95a4}.chart-type.active{border-color:#b6a5e9;background:#f5f2fc;color:#8b77ce;box-shadow:0 0 0 1px #c6b9eb22}.chart-type.active span{color:#7e66c3}.right-help{font-size:10px;color:#969eac;line-height:1.7;margin:14px 0 0}.right-help b{font-weight:500;color:#76688e}.right-label{display:flex;align-items:center;justify-content:space-between;color:#7c8596;font-size:10px;margin-bottom:13px;gap:5px}.right-label select{font-size:10px;padding:5px;width:82px;border-color:#e0e3ec}.right-label input[type=number]{width:71px;font-size:10px;padding:5px}.right-label input[type=range]{width:72px}.toggle{display:flex;align-items:center;justify-content:space-between;color:#7e8798;font-size:10px;margin:13px 0;gap:5px}.toggle input{appearance:none;width:25px;height:14px;background:#dce0e8;border:0;border-radius:10px;position:relative;padding:0;outline-offset:3px}.toggle input:before{content:'';position:absolute;height:10px;width:10px;border-radius:50%;background:white;top:2px;left:2px;transition:left .15s}.toggle input:checked{background:#a392d7}.toggle input:checked:before{left:13px}.sheet-list{display:flex;flex-direction:column;gap:7px}.sheet-list button{padding:9px 9px;display:flex;align-items:center;gap:8px;border:1px solid #e7e9f0;border-radius:5px;background:white;text-align:left;color:#83869b;font-size:10px}.sheet-list button>svg{width:14px;height:14px;color:#9a8cbf}.sheet-list button>span{flex:1}.sheet-list button>small{color:#aba4ba;font-size:13px}.legend-list{display:flex;flex-direction:column;gap:12px}.legend-row{display:flex;align-items:center;gap:7px;font-size:10px;color:#8a91a0}.legend-row i{width:8px;height:8px;border-radius:2px}.legend-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.insight-note{border:1px solid #e7e2f2;border-radius:7px;background:#f8f6fd;padding:12px;font-size:10px;line-height:1.7;color:#9a90ad}.insight-note>svg{color:#a58fc8;width:16px;height:16px;margin-bottom:7px}.insight-note strong{display:block;color:#857397;font-weight:550;font-size:10px;margin-bottom:5px}.dashboard-wrap{height:100%;overflow:auto;padding:26px 28px 24px;scrollbar-width:thin}.dashboard-eyebrow{color:#939bab;text-transform:uppercase;letter-spacing:1.5px;font-size:9px;display:flex;align-items:center;gap:7px;margin-bottom:8px}.dashboard-eyebrow svg{width:13px;height:13px;color:#a99bcf}.dashboard-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-title-row h1{margin:0;font-size:25px;letter-spacing:-.85px;font-weight:600;color:#373b50}.dashboard-subtitle{font-size:10px;color:#9ca2af;margin:9px 0 0;line-height:1.5}.dashboard-header-right{display:flex;align-items:center;gap:8px}.date-badge{display:flex;align-items:center;gap:7px;border:1px solid #e1e3ed;border-radius:5px;padding:8px 10px;font-size:9px;color:#9299aa;background:#fbfbfd}.date-badge svg{width:12px;height:12px}.dashboard-edit{display:flex;align-items:center;gap:6px;background:white;border:1px solid #e1deeb;border-radius:5px;padding:8px 10px;font-size:10px;color:#9587b0}.dashboard-edit.active{color:#7155bd;background:#ece5fc;border-color:#baa7e0}.dashboard-edit svg{width:12px;height:12px}.selection-strip{display:flex;align-items:center;gap:8px;min-height:28px;font-size:10px;color:#8f7ab7;margin:12px 0 -5px}.selection-chip{display:flex;align-items:center;gap:8px;border:1px solid #d9cfee;border-radius:4px;background:#f1ecf9;padding:5px 8px}.selection-chip button{color:#8d75b2;font-size:14px;padding:0;line-height:10px}.clear-selection{font-size:10px;color:#9b8daa;text-decoration:underline}.metrics-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:24px;margin-bottom:20px}.metric-card{padding:17px 17px 15px;background:#fff;border:1px solid #e5e7ef;border-radius:7px;position:relative;min-height:99px}.metric-label{font-size:9px;color:#9199a9;display:flex;align-items:center;justify-content:space-between}.metric-label>svg{width:12px;height:12px;color:#beb7d2}.metric-value{font-size:25px;letter-spacing:-.8px;font-weight:570;color:#46455e;margin-top:8px;line-height:1.15}.metric-bottom{display:flex;align-items:center;gap:6px;margin-top:10px;color:#a5acb8;font-size:8px}.metric-bottom span{color:#589d8c;background:#edf7f3;padding:2px 4px;border-radius:3px;font-size:8px}.dashboard-grid{position:relative;min-height:470px}.dashboard-tile{position:absolute;background:#fff;border:1px solid #e2e5ed;border-radius:7px;box-shadow:0 2px 5px #333d501;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s}.dashboard-tile.editing{border-color:#c9bbed;box-shadow:0 0 0 1px #ad95dd12}.tile-header{height:49px;display:flex;align-items:center;padding:0 16px;gap:9px;flex-shrink:0}.tile-header .tile-title{font-size:11px;font-weight:550;color:#5c6177;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tile-header .tile-title small{display:block;font-size:8px;font-weight:400;color:#a5abba;margin-top:4px;letter-spacing:.05px}.tile-header .tile-menu{font-size:14px;color:#9fa6b5;letter-spacing:1px;padding:3px 5px}.tile-header .tile-type-icon>svg{width:13px;height:13px;color:#c2b7de}.tile-legend{display:flex;align-items:center;gap:12px;font-size:8px;color:#9198a9;flex-shrink:0}.tile-legend span{display:flex;align-items:center;gap:4px}.tile-legend i{height:5px;width:5px;border-radius:50%}.tile-chart{flex:1;min-height:0;margin:0 5px 4px}.dashboard-tile.editing .tile-header{cursor:move;background:#fdfbff;user-select:none;touch-action:none}.tile-drag-handle{display:none;color:#b8a6d9;letter-spacing:-2px;font-size:14px}.editing .tile-drag-handle{display:block}.tile-resize{display:none;position:absolute;right:0;bottom:0;width:19px;height:19px;cursor:nwse-resize;touch-action:none;z-index:8}.tile-resize:after{content:'';position:absolute;right:5px;bottom:5px;width:8px;height:8px;border-right:2px solid #beacdd;border-bottom:2px solid #beacdd}.editing .tile-resize{display:block}.dashboard-footnote{font-size:9px;color:#b0b5c1;display:flex;align-items:center;gap:6px;margin-top:13px}.dashboard-footnote>svg{width:11px;height:11px}.worksheet-layout{flex:1;min-height:0;display:flex;flex-direction:column}.shelves{background:#fdfdfe;border-bottom:1px solid #e0e4ec;padding:0 13px}.shelf{display:flex;min-height:41px;align-items:center;border-bottom:1px solid #eceef3;gap:8px}.shelf:last-child{border-bottom:0}.shelf-label{width:79px;flex-shrink:0;display:flex;align-items:center;gap:8px;color:#8c93a1;font-size:10px}.shelf-label>svg{width:13px;height:13px;color:#a2a8b4}.shelf-content{flex:1;display:flex;gap:7px;align-items:center;min-height:34px;flex-wrap:wrap;padding:4px 0}.shelf-placeholder{font-size:10px;color:#b8becc;font-style:italic;padding:0 4px}.drop-target.drag-over{background:#ece6ff!important;box-shadow:inset 0 0 0 1px #beaee8}.field-pill{display:inline-flex;align-items:center;border-radius:4px;gap:8px;padding:6px 9px;max-width:240px;font-size:10px;cursor:grab;user-select:none;color:#fff;background:#6b9fbc;box-shadow:inset 0 0 0 1px #578ca422}.field-pill.measure{background:#63a997}.field-pill>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.field-pill>button{font-size:10px;opacity:.8;padding:0;color:white}.field-pill>button:hover{background:#ffffff20}.worksheet-body{display:flex;flex:1;min-height:0}.cards-pane{width:156px;flex-shrink:0;padding:13px 9px;background:#f4f5f8;border-right:1px solid #e4e7ef;overflow:auto}.card{background:#fff;border:1px solid #e1e5ed;border-radius:4px;margin-bottom:13px}.card-title{font-size:10px;font-weight:550;color:#7e8496;display:flex;align-items:center;justify-content:space-between;padding:10px 10px 9px;border-bottom:1px solid #f0f1f6}.card-title>svg{width:12px;height:12px;color:#a4abba}.card-content{min-height:57px;padding:9px;display:flex;flex-direction:column;gap:7px}.card-content .field-pill{font-size:9px;padding:5px 7px;max-width:118px;gap:5px}.card-empty{font-size:9px;color:#bdc3cf;text-align:center;line-height:1.7;margin:auto}.mark-select{width:calc(100% - 16px);margin:9px 8px 4px;font-size:10px;color:#838a9b;padding:5px 6px;border-color:#e7eaf0}.mark-slots{display:grid;grid-template-columns:repeat(3,1fr);padding:7px 7px 9px;gap:5px}.mark-slot{height:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #e7e9ef;border-radius:3px;color:#a0a8b6;font-size:8px;cursor:pointer}.mark-slot>svg{width:14px;height:14px}.mark-slot.active{color:#8470b8;border-color:#ccbee7;background:#f7f3fd}.mark-fields{padding:0 8px 9px;display:flex;flex-direction:column;gap:6px}.mark-field-row{display:flex;gap:5px;align-items:center}.mark-field-row>svg{width:12px;height:12px;color:#a2a9b7}.mark-field-row .field-pill{max-width:110px;font-size:8px;padding:5px 6px;flex:1;gap:3px}.canvas-region{flex:1;min-width:0;margin:17px;background:white;border:1px solid #e1e5ec;border-radius:6px;display:flex;flex-direction:column;overflow:hidden}.worksheet-header{padding:21px 23px 4px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.worksheet-header h1{margin:0;font-size:21px;font-weight:560;letter-spacing:-.5px;color:#494c62;cursor:text}.worksheet-header p{font-size:10px;color:#a0a7b4;margin:8px 0 0}.worksheet-chart{flex:1;min-height:180px;margin:10px 16px 4px}.worksheet-footer{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-top:1px solid #f1f2f6;font-size:9px;color:#a4aab8;gap:7px}.worksheet-footer button{color:#9a8aac;font-size:9px;padding:0}.worksheet-selection{margin:0 22px 0}.chart-view{position:relative;overflow:hidden;touch-action:pan-y}.chart-axes,.chart-marks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.chart-axes{z-index:0}.chart-marks{z-index:1}.chart-tooltip{position:absolute;z-index:10;background:#fff;border:1px solid #e1deec;border-radius:7px;box-shadow:0 7px 30px #33334d22;min-width:204px;max-width:240px;padding:12px 14px;pointer-events:none;font-size:10px}.chart-tooltip>strong{display:block;font-size:11px;margin-bottom:10px;color:#5f5576}.chart-tooltip>div{display:flex;justify-content:space-between;gap:17px;margin:6px 0;color:#9698a8}.chart-tooltip b{font-weight:550;color:#616579;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-tooltip small{display:block;font-size:8px;border-top:1px solid #f1edf5;padding-top:8px;margin-top:9px;color:#aaa1b8;line-height:1.5}.chart-brush{position:absolute;background:#9071d525;border:1px solid #8a6acf;z-index:5;pointer-events:none}.heat-labels{position:absolute;inset:0;pointer-events:none;z-index:2}.heat-labels span{position:absolute;transform:translate(-50%,-50%);font-size:10px;font-weight:500;white-space:nowrap}.sheet-bar{height:42px;flex-shrink:0;background:#fafbfe;border-top:1px solid #dce1e9;display:flex;align-items:stretch;padding:0 9px;gap:2px}.data-source-tab{display:flex;align-items:center;gap:7px;font-size:10px;color:#8c92a1;padding:0 18px;border-right:1px solid #e3e7ef;margin-right:5px}.data-source-tab>svg{width:13px;height:13px}.data-source-tab.active{background:white;color:#8670bb;border-bottom:2px solid #a08bda}.sheet-tabs{display:flex;min-width:0;overflow:auto;scrollbar-width:none}.sheet-tab{display:flex;align-items:center;gap:7px;font-size:10px;color:#9297a7;padding:0 16px;border-bottom:2px solid transparent;white-space:nowrap}.sheet-tab>svg{height:12px;width:12px;color:#a8aec0}.sheet-tab.active{color:#7c67b8;background:#fff;border-bottom-color:#9e88d7;font-weight:500}.sheet-tab.active>svg{color:#947ccc}.sheet-tab .tab-dot{height:4px;width:4px;background:#b7a5de;border-radius:50%;margin-left:3px}.add-sheet-tab{font-size:18px;color:#a4abb9;padding:0 13px}.add-dashboard-tab{position:relative;padding:0 9px;color:#adb2c0}.add-dashboard-tab>svg{width:14px;height:14px}.add-dashboard-tab small{font-size:11px;position:absolute;top:8px;right:3px;color:#9286ad}.statusbar{height:27px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;background:#f0f2f7;border-top:1px solid #e2e6ee;padding:0 17px;font-size:9px;color:#939baa;gap:12px}.statusbar>div{display:flex;gap:11px;align-items:center;white-space:nowrap}.status-divider{color:#d0d5df}.statusbar button{font-size:9px;color:#9e93b6;padding:0 0 0 5px}.engine-badge{display:flex;align-items:center;gap:5px}.engine-badge i{width:5px;height:5px;border-radius:50%;background:#9890b0}.engine-badge.gpu i{background:#66b49b}.engine-badge.gpu{color:#718c83}.context-menu{position:fixed;z-index:1000;min-width:200px;max-height:80vh;overflow:auto;background:white;border:1px solid #dddfea;border-radius:7px;padding:5px;box-shadow:0 9px 36px #30314925}.context-menu>button{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:9px 10px;font-size:11px;border-radius:4px;width:100%;text-align:left;color:#767b8d}.context-menu>button small{font-size:9px;color:#b1b4c0}.context-menu>button.danger{color:#c47789}.context-menu>hr{margin:5px 7px;border:0;border-top:1px solid #ececf3}.context-label{padding:7px 10px;color:#a3a6b6;font-size:9px;letter-spacing:.8px;text-transform:uppercase}.context-menu>button.active{color:#8a6ac2;background:#f4effb}.context-menu>p{font-size:10px;color:#9ba0ae;margin:7px 10px;line-height:1.6}.context-menu>input{margin:5px;width:calc(100% - 10px)}#toast-stack{position:fixed;right:22px;bottom:85px;z-index:1500;display:flex;flex-direction:column;gap:9px;max-width:380px}.toast{background:#fff;border:1px solid #e2dceb;box-shadow:0 7px 25px #33334e20;padding:14px 17px;border-radius:7px;color:#81798f;font-size:11px;line-height:1.6;animation:toast-in .18s ease-out}.toast.error{border-left:3px solid #d58b8b;color:#aa6e7f}.toast.success{border-left:3px solid #7db69f}.toast strong{color:#625b76}.boot-screen{position:fixed;inset:0;background:#f7f6fc;z-index:2000;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity .3s}.boot-screen.dismiss{opacity:0;pointer-events:none}.boot-mark{display:grid;place-items:center;background:#7962bc;color:white;width:52px;height:52px;border-radius:15px;font-size:32px;font-weight:600;box-shadow:0 12px 30px #7962bc22}.boot-screen h1{font-weight:500;font-size:23px;color:#6d6183;margin-top:23px;letter-spacing:-.5px}.boot-screen p{font-size:12px;color:#a198ae}.boot-progress{height:3px;width:180px;overflow:hidden;border-radius:3px;background:#e3ddec;margin-top:17px}.boot-progress:after{content:'';display:block;height:100%;width:70px;background:#ad95d3;animation:loading 1s ease-in-out infinite}dialog{border:1px solid #e2ddec;border-radius:12px;padding:0;width:min(650px,92vw);max-height:88vh;color:var(--ink);box-shadow:0 20px 100px #15152535}dialog::backdrop{background:#2b294650;backdrop-filter:blur(3px)}dialog.wide{width:min(1030px,94vw)}#modal-form{display:flex;flex-direction:column;max-height:88vh}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:25px 27px 18px;border-bottom:1px solid #edebf2;flex-shrink:0}#modal-eyebrow{font-size:8px;color:#ad9cc6;letter-spacing:1.5px;margin-bottom:7px}.modal-header h2{margin:0;color:#61596f;font-size:21px;letter-spacing:-.4px;font-weight:550}.modal-header>button{font-size:23px;color:#ada7b8;border-radius:5px;padding:0 5px}#modal-body{padding:22px 27px;overflow:auto;font-size:11px;color:#868395;line-height:1.65}.modal-footer{padding:16px 27px;border-top:1px solid #eceaf2;display:flex;justify-content:flex-end;gap:9px;flex-shrink:0}.btn{padding:9px 14px;border:1px solid #e0dbea;border-radius:5px;background:#fff;color:#8a7d9b;font-size:11px;display:inline-flex;align-items:center;gap:7px}.btn.primary{background:#8a70bc;border-color:#8a70bc;color:white}.btn.primary:hover:not(:disabled){background:#795cad}.btn.danger{color:#c07084;border-color:#eac8d1}.btn svg{width:14px;height:14px}.form-row{display:flex;gap:14px;align-items:end;margin-bottom:16px}.form-row>label{flex:1}.form-field{display:block;margin-bottom:16px}.form-field>span,.form-row>label>span{display:block;font-size:10px;color:#9890a5;margin-bottom:6px}.form-field input,.form-field select,.form-field textarea,.form-row input,.form-row select{width:100%;font-size:11px}.form-field textarea{min-height:125px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.7;resize:vertical}.help-text{font-size:10px;line-height:1.7;color:#a5a0af}.help-text code,.function-chip{font-family:ui-monospace,monospace;background:#f4f0f9;padding:2px 5px;border-radius:3px;color:#9b80b8;font-size:10px}.expression-status{min-height:30px;font-size:10px;padding:8px 10px;border-radius:4px;background:#f7f4fb;color:#a48bb9;margin-top:12px}.expression-status.valid{color:#6c9c89;background:#f0f8f4}.expression-status.invalid{color:#b67b8c;background:#fcf1f5}.expression-functions{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.expression-preview{padding:8px 0;font-size:10px;color:#9a90a8}.checklist{border:1px solid #e8e3ef;border-radius:5px;max-height:260px;overflow:auto;margin:10px 0}.check-row{display:flex;align-items:center;gap:8px;padding:8px 11px;border-bottom:1px solid #f3eff6;font-size:11px;color:#8c8599}.check-row>small{margin-left:auto;color:#b7afc1;font-size:9px}.filter-tools{display:flex;gap:9px;font-size:10px;align-items:center;margin:7px 0}.filter-tools button{color:#9d7bb7;font-size:10px}.data-table-container{overflow:auto;max-height:440px;border:1px solid #e5e3ed;border-radius:6px;background:white;scrollbar-width:thin}.data-table{border-collapse:collapse;width:100%;font-size:10px;white-space:nowrap}.data-table th{position:sticky;top:0;background:#f6f4fa;text-align:left;font-weight:500;color:#91819f;padding:10px 12px;border-bottom:1px solid #e6ddec;z-index:1}.data-table td{padding:8px 12px;border-bottom:1px solid #eeecf3;border-right:1px solid #f3f1f7;color:#8d8499;max-width:260px;overflow:hidden;text-overflow:ellipsis}.data-table tr:nth-child(even){background:#fcfbfd}.data-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.data-table .null{font-style:italic;color:#c1b7ca}.table-meta{font-size:10px;color:#aba1b5;display:flex;justify-content:space-between;gap:12px;margin:10px 0}.plan-operator{border:1px solid #e7dfef;border-radius:6px;padding:13px 15px;background:#fcfafe;margin-bottom:10px}.plan-operator header{display:flex;gap:10px;align-items:center;color:#88709f;font-size:12px;font-weight:500}.plan-operator header span{display:grid;place-items:center;border-radius:50%;width:20px;height:20px;background:#eee4f7;font-size:9px;color:#ab89c5}.plan-operator pre{margin:10px 0 0 30px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.7;color:#a296ad}.plan-stats{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:17px}.plan-stats div{background:#f5f1f9;border-radius:5px;padding:10px 12px;font-size:10px;color:#ad98bb}.plan-stats b{display:block;color:#896e9f;font-size:15px;font-weight:500}.data-source-view{padding:24px 27px;height:100%;overflow:auto}.data-source-view h1{font-size:23px;color:#625a73;font-weight:550;letter-spacing:-.4px}.data-source-view p{color:#a69dac;font-size:11px}.source-actions{display:flex;gap:9px;margin:18px 0}.source-nodes{display:flex;gap:18px;align-items:center;margin:20px 0 26px;flex-wrap:wrap}.source-node{padding:16px 18px;border:1px solid #e2daed;border-radius:7px;background:#fff;min-width:180px;cursor:pointer}.source-node.active{border-color:#bea8d8;background:#fcf9ff}.source-node strong{display:block;color:#8f76a7;font-weight:500;margin-bottom:8px;font-size:12px}.source-node span{color:#b2a4bd;font-size:10px}.inline-alert{padding:13px 16px;border:1px solid #e8deef;background:#fcf8fe;border-radius:6px;color:#a088ad;font-size:11px;line-height:1.7;margin:15px 0}.analytics-card{padding:12px 9px;border-bottom:1px solid #e8e5ed;color:#9d90ac;font-size:10px;line-height:1.7}.analytics-card h4{color:#9984af;font-size:11px;font-weight:500;margin:0 0 8px}.analytics-card button{color:#a789bc;font-size:10px;padding:5px 0}.busy-overlay{position:absolute;right:20px;top:12px;font-size:10px;padding:8px 12px;border-radius:5px;background:#f4eff9e8;color:#a392b7;z-index:15;pointer-events:none}.empty-workspace{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;color:#b7afc5;gap:12px;font-size:12px}.empty-workspace>svg{width:40px;height:40px;color:#c9bce0}.empty-workspace h2{font-size:21px;font-weight:500;color:#9d88b4;letter-spacing:-.5px;margin:5px}.empty-workspace p{font-size:11px;max-width:300px;line-height:1.8;text-align:center}.error-message{padding:25px;color:#bb8b97;font-size:12px;line-height:1.7}.hidden{display:none!important}kbd{display:inline-block;padding:1px 5px;border:1px solid #e5ddec;background:#f7f3fa;border-radius:3px;font:10px ui-monospace,monospace;color:#a38bba}.shortcut-grid{display:grid;grid-template-columns:1fr auto;gap:12px 20px;font-size:11px;color:#a291af}.shortcut-grid span:nth-child(even){text-align:right}.workbook-info{padding:14px;background:#f7f3fa;border-radius:6px;font-size:11px;line-height:1.9;margin-top:20px;color:#a28ab5}.field-menu-hint{padding:8px 10px;font-size:9px;color:#b5a8c1;line-height:1.6}@keyframes loading{0%{transform:translateX(-70px)}100%{transform:translateX(190px)}}@keyframes toast-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}@media(min-width:1700px){.data-pane{width:245px}.right-pane{width:207px}.dashboard-wrap{padding:30px 36px}.metrics-row{gap:18px;margin-bottom:23px}.metric-card{padding:21px}.metric-value{font-size:29px}.dashboard-title-row h1{font-size:29px}.tile-header{height:57px}.tile-title{font-size:12px!important}}@media(max-width:1180px){.data-pane{width:200px}.source-picker select{width:118px}.right-pane{width:160px}.dashboard-wrap{padding:22px 19px}.dashboard-title-row h1{font-size:23px}.metric-card{padding:14px 11px}.metric-value{font-size:22px}.metric-bottom{font-size:7px}.toolbar-secondary{display:none}.workbook-title{left:49%}.brand small{display:none}.tile-legend{gap:7px;font-size:7px}.right-section{padding:14px 11px}.tile-header{padding:0 12px}.date-badge{display:none}.sheet-tab{padding:0 12px}.field-search input{width:105px}.cards-pane{width:145px}.workbook-title #saved-indicator{display:none}}@media(max-width:760px){#app{min-width:760px}.right-pane{display:none}.data-pane{width:175px}.source-picker{padding-left:12px}.source-picker select{width:109px}.source-meta{padding-left:35px;padding-right:12px}.field-search input{width:95px}.field-search>span{display:none}.header-actions .local-badge{display:none}.workbook-title{left:52%;font-size:10px}.brand>span{font-size:22px}.dashboard-header-right{display:none}.metrics-row{gap:8px}.metric-bottom{display:none}.metric-value{font-size:20px}.metric-card{min-height:78px}.metric-label{font-size:8px}.dashboard-title-row h1{font-size:22px}.menubar-right{display:none}.tool-group{padding-right:5px;gap:0}.toolbar{gap:5px;padding:0 9px}.toolbar .export-tool{display:none}.toolbar .tool-label{font-size:10px}.sheet-tab{padding:0 10px;font-size:9px}.data-source-tab{padding:0 10px}.statusbar{font-size:8px}.cards-pane{width:130px}.canvas-region{margin:11px}.worksheet-header{padding:17px}.field-item{font-size:10px}.source-check{display:none}.data-pane-footer>div{font-size:8px}.tile-legend{display:none}}@media print{body{background:white}#app{height:auto;min-height:0}.topbar,.menubar,.toolbar,.data-pane,.right-pane,.sheet-bar,.statusbar{display:none}.workspace,.center-workspace,#workspace-content,.dashboard-wrap{overflow:visible!important;height:auto!important}.dashboard-wrap{padding:0}.dashboard-edit,.tile-menu{display:none}.chart-tooltip{display:none}.metrics-row{break-inside:avoid}.dashboard-tile{break-inside:avoid}}
