@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&display=swap";:root,:root[data-palette=warm][data-theme=light]{--font-ui:"Manrope", system-ui, sans-serif;--radius-control:7px;--radius-panel:9px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#faf6ed;--surface:#fffcf6;--surface-muted:#f6f0e7;--surface-hover:#f1e8db;--text:#303238;--muted:#6d6f75;--border:#e3ded4;--accent:#e6b85c;--accent-text:#303238;--accent-hover:#dda947;--on-accent:#292b30;--accent-soft:#f8edd5;--accent-border:#73757c;--message-user:#f6edd9;--table-head:#f6f0e7;--error-bg:#fdeae4;--error-text:#9c3424;--error-border:#e6b7a8;--backdrop:#30251d66;--shadow:#44301b08}:root[data-palette=warm][data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#202126;--surface:#27292f;--surface-muted:#2e3036;--surface-hover:#363840;--text:#e8e7e2;--muted:#b1ada5;--border:#42434a;--accent:#e6b85c;--accent-text:#e6b85c;--accent-hover:#f1c875;--on-accent:#292b30;--accent-soft:#393329;--accent-border:#a4874d;--message-user:#353028;--table-head:#30323a;--error-bg:#422c2a;--error-text:#ffb4a4;--error-border:#805049;--backdrop:#101115aa;--shadow:#00000010}:root{font-family:var(--font-ui);color:var(--text);background:var(--page);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,.table-scroll:focus-visible{outline:3px solid var(--accent-border);outline-offset:2px}input:focus,textarea:focus{outline:2px solid var(--accent-border);outline-offset:2px}h1,h2,h3,p{margin:0}h2{font-size:16px;font-weight:750}.app-shell{margin:0 auto;padding:0 24px}.app-shell.working{flex-direction:column;height:100dvh;min-height:650px;display:flex}.topbar{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:24px;min-height:76px;display:flex}.brand{letter-spacing:-.8px;white-space:nowrap;font-size:24px;font-weight:800;text-decoration:none;display:inline-flex}.brand-domain{font-weight:650}.file-context{border-left:1px solid var(--border);align-items:center;gap:16px;min-width:0;padding-left:20px;display:flex}.file-name{text-overflow:ellipsis;white-space:nowrap;max-width:230px;font-size:14px;font-weight:650;overflow:hidden}.topbar-caption{color:var(--muted);font-size:14px}.header-actions{flex-shrink:0;align-items:center;gap:18px;margin-left:auto;display:flex}.theme-toggle{border:1px solid var(--border);background:var(--surface);width:38px;height:38px;color:var(--text);border-radius:8px;font-size:23px;line-height:1}.theme-toggle:hover{background:var(--surface-hover)}.button{border-radius:var(--radius-control);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:12px;padding:10px 15px;font-size:14px;font-weight:700;text-decoration:none;transition:background .15s;display:inline-flex}.button.primary{color:var(--on-accent);background:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.button.secondary{background:var(--surface);border-color:var(--border)}.button.secondary:hover:not(:disabled){background:var(--surface-hover)}.button.large{padding:15px 25px;font-size:14px}.button.disabled,a.disabled{opacity:.4;pointer-events:none}.text-button{color:var(--accent-text);background:0 0;border:0;padding:8px 0;font-size:14px;font-weight:650}.text-button:hover:not(:disabled){text-decoration:underline}.welcome{text-align:center;padding:64px 0 45px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);font-size:12px;font-weight:700}.welcome .eyebrow{color:var(--accent-text)}.status-dot{background:var(--accent);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.status-dot.offline{background:var(--muted)}.welcome h1{letter-spacing:-2.5px;margin:20px 0;font-size:clamp(36px,5vw,62px);font-weight:800;line-height:1.12}.welcome h1 span{color:var(--accent-text)}.welcome-copy{color:var(--muted);font-size:15px;line-height:1.8}.upload-card{border:1px dashed var(--accent-border);background:var(--surface);max-width:540px;box-shadow:0 8px 35px var(--shadow);border-radius:12px;margin:34px auto 28px;padding:28px 30px 20px}.file-icon{background:var(--accent-soft);width:48px;height:48px;color:var(--accent-text);border-radius:12px;place-items:center;margin:0 auto 14px;font-size:28px;display:grid}.upload-card h2{font-size:17px}.upload-card p{color:var(--muted);margin:8px 0 22px;font-size:14px}.upload-card .button{width:fit-content;margin:0 auto 8px;display:flex}.welcome-steps{color:var(--muted);justify-content:center;gap:30px;font-size:12px;display:flex}.welcome-steps span{color:var(--accent-text);margin-right:7px;font-size:12px;font-weight:800}.session-note{color:var(--muted);max-width:500px;margin:30px auto 0;font-size:12px}.workspace{flex-direction:column;flex:1;min-height:0;padding:18px 0;display:flex}.workspace-grid{flex:1;grid-template-columns:minmax(0,1fr) clamp(340px,28vw,420px);gap:16px;min-height:0;display:grid}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-panel);overflow:hidden}.panel-heading{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:18px;display:flex}.chat-panel{flex-direction:column;min-height:0;display:flex}.ai-badge{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:inline-flex}.chat-history{overscroll-behavior:contain;flex:1;min-height:100px;padding:0 18px 18px;overflow:auto}.assistant-intro{color:var(--muted);gap:10px;margin-top:20px;font-size:15px;line-height:1.8;display:flex}.mini-mark{background:var(--accent);width:24px;height:24px;color:var(--on-accent);border-radius:6px;flex-shrink:0;place-items:center;font-size:18px;display:grid}.message{border-radius:var(--radius-panel);overflow-wrap:anywhere;margin-top:16px;padding:13px 14px;font-size:15px;line-height:1.75}.message.user{background:var(--message-user);margin-left:24px}.message.assistant{border:1px solid var(--border);margin-right:12px}.message p{white-space:pre-wrap}.message-label{color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:700;display:block}.thinking{color:var(--muted);align-items:center;gap:7px;margin-top:20px;font-size:14px;display:flex}.thinking .status-dot{animation:1s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.3}}.quick-replies{border-top:1px solid var(--border);flex-shrink:0;padding:10px 16px}.quick-replies>span{margin-bottom:7px;display:block}.quick-replies>div{flex-wrap:wrap;gap:6px;display:flex}.quick-replies button{border:1px solid var(--accent-border);border-radius:var(--radius-control);color:var(--accent-text);text-align:left;background:0 0;padding:7px 9px;font-size:13px}.quick-replies button:hover:not(:disabled){background:var(--accent-soft)}.composer{border:1px solid var(--border);background:var(--surface);border-radius:8px;flex-shrink:0;margin:4px 14px 0;padding:11px}.composer:focus-within{border-color:var(--accent-border)}.composer textarea{resize:vertical;width:100%;max-height:180px;color:var(--text);background:0 0;border:0;min-height:65px;padding:0;font-size:16px;line-height:1.7;display:block}.composer textarea::placeholder{color:var(--muted)}.composer-footer{justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.composer-footer>span{color:var(--muted);font-size:12px}.composer .button{padding:9px 11px;font-size:13px}.composer-footer .composer-help{padding:0;font-size:13px}.privacy-note{color:var(--muted);flex-shrink:0;margin:12px 16px 16px;font-size:12px;line-height:1.6}.result-area{flex-direction:column;min-width:0;min-height:0;display:flex}.table-panel{flex-direction:column;flex:1;min-height:0;display:flex}.pipeline-panel{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:12px;min-width:0;padding:12px 16px;display:flex}.pipeline-heading{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.pipeline-heading h2{font-size:12px}.count{background:var(--accent-soft);width:20px;height:20px;color:var(--accent-text);border-radius:5px;place-items:center;margin-left:3px;font-size:12px;display:inline-grid}.compact-actions{gap:6px;display:flex}.compact-actions button,.pagination button:not(.text-button){border:1px solid var(--border);background:var(--surface);width:30px;height:28px;color:var(--muted);border-radius:6px;place-items:center;font-size:18px;display:grid}.pipeline-track{flex:1;align-items:center;gap:7px;min-width:0;padding:2px 2px 5px;display:flex;position:relative;overflow-x:auto}.step-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:6px;flex-shrink:0;grid-template-columns:20px minmax(0,1fr);gap:2px 6px;min-width:130px;max-width:240px;padding:8px 10px;display:grid}.step-card.selected{background:var(--accent-soft);border-color:var(--accent-border)}.step-number{background:var(--surface-muted);color:var(--muted);border-radius:4px;grid-row:1/3;align-self:start;place-items:center;width:20px;height:20px;font-size:12px;display:grid}.step-card.selected .step-number{color:var(--accent-text)}.step-card strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:650;overflow:hidden}.step-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:195px;font-size:12px;overflow:hidden}.pipeline-empty{color:var(--muted);padding:0 8px;font-size:12px}.table-title{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.table-title h2{font-size:20px}.muted,.sheet-name{color:var(--muted);font-size:12px}.sheet-picker{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex}.sheet-picker select{border:1px solid var(--border);background:var(--surface);border-radius:5px;max-width:140px;padding:6px}.history-banner{color:var(--accent-text);background:var(--accent-soft);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:9px 16px;font-size:12px;display:flex}.history-banner button{color:var(--accent-text);background:0 0;border:0;font-size:12px;font-weight:700}.table-scroll{overscroll-behavior:contain;flex:1;min-height:120px;overflow:auto}table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:14px}th,td{white-space:nowrap;border-bottom:1px solid var(--border);padding:10px 14px}th{background:var(--table-head);color:var(--text);z-index:1;font-size:12px;font-weight:750;position:sticky;top:0}td{text-overflow:ellipsis;max-width:350px;overflow:hidden}tr:nth-child(2n) td{background:var(--surface-muted)}tr:hover td{background:var(--surface-hover)}.row-number{width:44px;color:var(--muted);font-size:12px}.table-empty{color:var(--muted);text-align:center;padding:50px 24px;font-size:14px}.cell-link{color:var(--accent-text);text-underline-offset:3px;text-decoration:underline}.pagination{border-top:1px solid var(--border);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;display:flex}.pagination>span{color:var(--muted);font-size:12px}.pagination>div{gap:7px;display:flex}.pagination button:not(.text-button){font-size:14px}.save-pipeline{font-size:12px}.file-notes{color:var(--muted);border-top:1px solid var(--border);flex-shrink:0;max-height:150px;margin:0;padding:10px 16px;font-size:12px;overflow:auto}.file-notes summary{cursor:pointer}.file-notes p{margin:8px 0;line-height:1.7}.footer{color:var(--muted);border-top:1px solid var(--border);justify-content:space-between;gap:16px;padding:20px 0;font-size:12px;display:flex}.footer span:first-child{font-weight:700}.alert{overflow-wrap:anywhere;border-radius:8px;flex-shrink:0;justify-content:space-between;gap:15px;max-height:120px;margin:12px 0 0;padding:12px 16px;font-size:14px;display:flex;overflow:auto}.alert.error{background:var(--error-bg);color:var(--error-text);border:1px solid var(--error-border)}.alert.success{background:var(--accent-soft);color:var(--accent-text);border:1px solid var(--accent-border)}.alert button{color:inherit;background:0 0;border:0;font-size:18px}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.templates-dialog{border:1px solid var(--border);width:min(640px,100vw - 28px);max-height:85dvh;color:var(--text);background:var(--surface);border-radius:12px;padding:26px}.templates-dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.dialog-heading h2{margin-top:6px;font-size:23px}.close-button{background:var(--surface-muted);width:32px;height:32px;color:var(--text);border:0;border-radius:6px;flex-shrink:0;font-size:22px}.dialog-copy{color:var(--muted);margin:16px 0 22px;font-size:14px}.save-template-form{background:var(--accent-soft);border-radius:var(--radius-panel);margin-bottom:20px;padding:15px}.save-template-form label{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.save-template-form>div{gap:8px;display:flex}.save-template-form input{border:1px solid var(--border);background:var(--surface);border-radius:6px;width:100%;min-width:0;padding:8px 12px;font-size:14px}.template-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:15px;padding:15px 0;display:flex}.template-item h3{overflow-wrap:anywhere;font-size:14px;font-weight:750}.template-item>div>span{color:var(--muted);margin-top:4px;font-size:12px;display:inline-block}.template-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.icon-link{width:25px;height:28px;color:var(--accent-text);background:0 0;border:0;place-items:center;font-size:18px;text-decoration:none;display:inline-grid}.icon-link.danger{color:var(--error-text)}.empty-templates{color:var(--muted);text-align:center;padding:25px 0;font-size:14px}.dialog-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:15px;display:flex}.dialog-footer>span{color:var(--muted);font-size:12px}.help-trigger{flex-shrink:0}.help-dialog{width:min(700px,100vw - 28px)}.help-hint{color:var(--muted);font-size:12px;line-height:1.6}.help-group{margin-top:24px}.help-group h3{color:var(--accent-text);font-size:14px}.help-group ul{margin:10px 0 0;padding:0;list-style:none}.help-group li{border-bottom:1px solid var(--border);padding:10px 0}.help-group li>span{font-size:14px;line-height:1.5;display:block}.help-example{color:var(--muted);text-align:left;background:0 0;border:0;margin-top:5px;padding:0;font-size:12px;line-height:1.6;display:block}.help-example:hover:enabled{color:var(--accent-text)}.help-example:disabled{opacity:1;cursor:default}.help-notes{background:var(--accent-soft);color:var(--muted);border-radius:8px;margin-top:22px;padding:12px 15px;font-size:12px;line-height:1.7}.export-banner{background:var(--surface-muted);color:var(--muted);border-bottom:1px solid var(--border);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:10px 16px;font-size:12px;display:flex}.export-banner a{color:var(--accent-text);white-space:nowrap}.mobile-only{display:none}@media (width<=1200px){.app-shell{padding:0 18px}.topbar{gap:16px}.header-actions{gap:12px}.file-context{padding-left:12px}.file-name{max-width:150px}.file-context .sheet-name{display:none}.workspace-grid{grid-template-columns:minmax(0,1fr) 340px;gap:12px}.table-title{gap:6px}}@media (width<=1050px){.file-context{flex:1}.file-context .sheet-picker select{max-width:95px}.header-actions .desktop-action.secondary,.topbar-caption{display:none}}@media (width<=860px){.app-shell{padding:0 14px}.app-shell.working{min-height:0}.topbar{gap:12px;min-height:66px}.brand{font-size:22px}.header-actions{gap:14px}.header-actions .text-button{font-size:12px}.theme-toggle{width:36px;height:36px}.desktop-action,.file-context,.desktop-only{display:none!important}.mobile-only{display:flex}.workspace{padding:10px 0 12px}.workspace-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.mobile-file{min-width:0}.mobile-file h1{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.mobile-file-options{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mobile-file .sheet-picker select{max-width:110px;padding:2px}.mobile-file .text-button{padding:3px 0;font-size:12px}.workspace-heading .button{flex-shrink:0;padding:10px;font-size:14px}.mobile-tabs{border-bottom:1px solid var(--border);flex-shrink:0;margin-bottom:10px}.mobile-tabs button{width:50%;min-height:44px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;font-weight:650}.mobile-tabs button[aria-selected=true]{color:var(--accent-text);border-bottom-color:var(--accent-text)}.mobile-summary{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--muted);flex-shrink:0;justify-content:space-between;gap:8px;margin-bottom:10px;padding:9px 12px;font-size:12px;display:flex}.mobile-summary span{color:var(--accent-text)}.workspace-grid{flex-direction:column;display:flex}.workspace-grid .mobile-hidden{display:none}.result-area,.chat-panel{flex:1;min-height:0}.panel-heading{padding:13px 14px}.table-title h2{font-size:17px}.table-title{flex-direction:column;align-items:flex-start;gap:2px}.chat-history{padding:0 14px 14px}.message,.assistant-intro{font-size:15px}.quick-replies{padding:8px 12px}.quick-replies button{min-height:40px;font-size:13px}.composer{margin:4px 10px 0;padding:10px}.composer textarea{min-height:50px;max-height:100px;font-size:16px}.composer .button{min-height:44px}.privacy-note{margin:8px 12px 10px;font-size:12px}.pipeline-panel{gap:10px;padding:10px}.pipeline-track{min-height:54px}.pipeline-heading h2{font-size:12px}.step-card{min-height:44px}.pagination{gap:8px;padding:10px}.pagination .save-pipeline{text-align:right;flex-basis:100%;padding:3px 0}.compact-actions button,.pagination button:not(.text-button){width:36px;height:36px}.export-banner{padding:8px 12px;font-size:12px}.file-notes{max-height:100px}.welcome{padding-top:45px}.welcome-copy{font-size:14px}.welcome-steps{gap:15px;font-size:12px}.templates-dialog{padding:18px}.template-item{flex-direction:column;align-items:flex-start;gap:8px}.template-actions{align-self:flex-end}.dialog-heading h2{font-size:20px}.save-template-form>div{flex-direction:column}.footer span:nth-child(2){display:none}}@media (width<=480px){.topbar{flex-wrap:wrap;gap:5px 10px;padding:10px 0}.brand{font-size:20px}.header-actions{gap:10px}.header-actions .text-button{font-size:12px}.theme-toggle{width:32px;height:32px}.upload-card{padding:24px 16px 18px}.welcome h1{letter-spacing:-1.6px}}@media (width<=360px){.brand{font-size:18px}.header-actions{gap:8px}.header-actions .text-button{font-size:12px}}@media (height<=700px) and (width<=860px){.app-shell.working{height:auto;min-height:100dvh}.workspace-grid{min-height:440px}.chat-history{max-height:240px}.table-scroll{max-height:350px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
