:root{--ink:#1a3036;--muted:#76858b;--bg:#f4f6f7;--panel:#fff;--line:#e2e8ea;--nav:#152d33;--accent:#35d6b6;--accent-ink:#124b44;--purple:#7970da;--radius:14px;--shadow:0 5px 20px #15303905;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}p{line-height:1.65}button svg,.button svg,nav svg,.settings-link svg{width:18px;height:18px;flex-shrink:0}svg{vertical-align:middle}button{border:0}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:9px;font-weight:650}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:16px;letter-spacing:-.2px}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--muted)}[hidden]{display:none!important}.skip{position:fixed;top:-100px;left:20px;background:white;padding:15px;z-index:100}.skip:focus{top:10px}.app{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#a2b6bb;padding:29px 18px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:246px;z-index:30;overflow:auto}.brand{display:flex;align-items:center;gap:11px;color:#fff;padding:0 9px}.brand b{font-size:16px;letter-spacing:1.1px;white-space:nowrap}.brand-light{font-weight:400;letter-spacing:.4px;font-size:12px}.brand small{display:block;color:#90a7ad;font-size:9px;letter-spacing:.5px;margin-top:5px}.brand-mark{width:34px;height:34px;border-radius:10px;background:#2ce0b926;color:#54e0c4;font-size:37px;line-height:26px;font-weight:700;position:relative;padding-left:6px}.brand-mark span{position:absolute;width:6px;height:6px;right:3px;top:14px;background:#54e0c4;border-radius:50%}.workspace-label{font-size:8px;letter-spacing:1.1px;display:flex;gap:6px;align-items:center;margin:28px 8px 24px;white-space:nowrap}.workspace-dot{width:5px;height:5px;border-radius:50%;background:var(--accent)}.version{margin-left:auto;color:#769197;background:#ffffff09;padding:3px 5px;border-radius:4px;font-size:9px;letter-spacing:0}.client-picker{position:relative;margin:0 5px 24px}.client-picker label{display:block;font-size:9px;letter-spacing:1.2px;margin-bottom:9px;color:#6f929a;font-weight:700}.client-picker select{width:calc(100% - 31px);background:#213c43;color:#eff6f8;border:1px solid #365057;border-radius:7px;padding:10px 8px;font-size:12px;appearance:auto}.client-add{position:absolute;right:0;bottom:2px;background:none;color:#8ea7ae;font-size:24px;padding:3px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar nav a{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 12px;border-radius:7px;font-size:12px;font-weight:500;transition:background .15s,color .15s}.sidebar nav a svg{color:#6d8b94;width:17px;height:17px}.sidebar nav a:hover{color:#fff;background:#ffffff07}.sidebar nav a.active{background:#28474c;color:#64e1c7;box-shadow:inset 3px 0 #51dcbd}.sidebar nav a.active svg{color:#64e1c7}.nav-count{margin-left:auto;background:#ffffff09;font-size:10px;padding:2px 6px;border-radius:4px}.nav-separator{height:1px;background:#2c444b;margin:12px 9px}.ai-nav small{font-size:7px;background:#6c73c82c;color:#b6b2ed;border:1px solid #7770b34d;border-radius:4px;padding:3px 4px;margin-left:auto;letter-spacing:.8px}.sidebar-bottom{margin-top:auto;padding-top:30px}.help-card{border:1px solid #344c52;border-radius:10px;background:linear-gradient(140deg,#25454c33,#1f343b);padding:16px 13px;margin:0 5px 18px}.help-card>span svg{width:15px;height:15px;color:#5bdcc3}.help-card b{font-size:11px;color:#d5e4e7;margin-left:7px}.help-card p{font-size:10px;line-height:1.7;color:#89a1a8;margin:9px 0 12px}.help-card button{background:none;color:#60d7bd;font-size:10px;padding:0;width:100%;text-align:left}.help-card button span{float:right}.settings-link{display:flex;gap:12px;align-items:center;padding:11px 12px;font-size:12px}.settings-link svg{color:#73929a}.user-row{display:flex;align-items:center;gap:9px;border-top:1px solid #30484e;padding:19px 6px 0;margin-top:14px}.user-row b{display:block;color:#d9e7e9;font-size:11px;font-weight:500}.user-row small{font-size:9px;color:#78949c;display:block;margin-top:3px}.avatar{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;color:#9de9d9;background:#315052;border:1px solid #436365;border-radius:50%;font-size:12px}.user-row .icon-button{margin-left:auto;color:#8ba7af}.workspace{grid-column:2;min-width:0;display:flex;flex-direction:column}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 36px;position:sticky;top:0;z-index:20}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px;color:#849399}.breadcrumb b{font-weight:500;color:#40545c}.crumb-slash{color:#cad2d5}.top-actions{display:flex;gap:10px;align-items:center}.private-label{display:flex;align-items:center;gap:5px;font-size:9px;color:#92a0a6;margin-right:13px}.private-label svg{width:12px;height:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:9px 15px;border-radius:7px;font-size:11px;font-weight:650;border:1px solid transparent;background:#fff;color:var(--ink);white-space:nowrap}.button.primary{background:var(--accent);color:#123e38;border-color:#31cfae}.button.primary:hover{background:#52dfc1}.button.quiet,.button.outline{border-color:var(--line);color:#52656e}.button.dark{background:var(--ink);color:white}.button.small{min-height:30px;padding:6px 10px;font-size:10px}.button.danger{background:#fff1f0;color:#be5c55;border-color:#f0d2cf}.icon-button{display:inline-grid;place-items:center;background:transparent;width:30px;height:30px;padding:5px;color:var(--muted);border-radius:6px}.icon-button:hover{background:#e6efef77}.mobile-menu{display:none}.demo-banner{display:flex;align-items:center;gap:10px;padding:10px 36px;background:#fff6df;border-bottom:1px solid #f2e5bc;color:#8b7338;font-size:10px}.demo-banner svg{width:14px;height:14px}.demo-banner b{font-size:8px;letter-spacing:1px}.demo-banner button{background:none;color:#8b7338;font-size:10px;margin-left:auto}.demo-banner span:nth-of-type(2){flex:1}main{padding:35px 36px 20px;flex:1;max-width:1800px;width:100%;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.page-head p{font-size:12px;color:var(--muted);margin-bottom:0}.head-controls{display:flex;align-items:center;gap:9px;margin-top:5px}.control{border:1px solid #dbe3e6;background:#fff;border-radius:7px;padding:9px 11px;min-height:37px;color:#4c626a;font-size:11px}.head-controls .control{min-width:130px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-head{padding:21px 22px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h3{margin-bottom:5px;font-size:13px}.panel-head p{font-size:10px;color:var(--muted);margin:0}.setup-strip{display:flex;align-items:center;gap:16px;padding:20px 23px;background:linear-gradient(110deg,#eaf7f4,#f2f8f7);border:1px solid #d3eae4;border-radius:12px;margin-bottom:24px}.setup-strip .icon-orb{color:#27a88c;background:#fff;width:39px;height:39px;border-radius:11px;display:grid;place-items:center}.setup-strip .icon-orb svg{width:21px;height:21px}.setup-strip b{font-size:13px}.setup-strip p{font-size:11px;color:#6b8983;margin:4px 0 0}.setup-strip .button{margin-left:auto}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.kpi{padding:19px 21px;position:relative;min-height:132px}.kpi-top{display:flex;align-items:center;justify-content:space-between;color:#72828a;font-size:10px;margin-bottom:14px}.metric-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;color:#5d8f84;background:#f0f7f5}.metric-icon svg{width:15px;height:15px}.kpi strong{font-size:26px;letter-spacing:-1px;font-weight:650}.kpi small{display:block;font-size:9px;color:#8a989e;margin-top:9px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(250px,1fr);gap:20px;margin-bottom:22px}.chart-wrap{height:224px;padding:0 20px 15px}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-label{font-size:9px;fill:#93a1a8}.chart-grid{stroke:#edf0f2;stroke-width:1}.chart-legend{display:flex;gap:14px;font-size:9px;color:#71858b}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px;background:var(--accent)}.dot.purple{background:var(--purple)}.ai-feature{position:relative;background:#192e36;color:#fff;border-color:#192e36;padding:25px 25px 22px;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;min-height:290px}.ai-feature:after{content:"";position:absolute;width:200px;height:200px;right:-90px;top:-60px;background:radial-gradient(circle,#3f8f8044,transparent 70%);pointer-events:none}.ai-feature .ai-star{color:#70e3cd;margin-bottom:20px}.ai-feature .ai-star svg{width:25px;height:25px}.ai-feature h2{font-size:21px;line-height:1.35;max-width:230px;letter-spacing:-.5px;margin-bottom:10px}.ai-feature p{font-size:10px;line-height:1.7;color:#a0b5bc;max-width:240px}.ai-feature .model-badge{font-size:8px;letter-spacing:1px;border:1px solid #40606a;color:#95c1bd;border-radius:4px;padding:4px 7px;margin-bottom:16px}.ai-feature .button{margin-top:auto;background:#2b494f;color:#85e8d3;border-color:#3b5f65;font-size:10px}.table-scroll{overflow:auto;border-radius:0 0 14px 14px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;letter-spacing:.25px;text-transform:none;color:#87979f;font-weight:550;padding:12px 22px;background:#fafcfc;border-top:1px solid #eaf0f2;border-bottom:1px solid #eaf0f2}td{padding:15px 22px;border-bottom:1px solid #edf1f2;font-size:11px;color:#48616b}tr:last-child td{border-bottom:0}td strong{font-weight:550;color:#2d4650}.number{text-align:right;font-variant-numeric:tabular-nums}.table-source{display:flex;align-items:center;gap:10px}.table-source small{display:block;color:#9aa7ad;font-size:9px;margin-top:4px}.platform-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;flex-shrink:0;font-weight:750;font-size:19px;letter-spacing:-1px;background:#edf4ff;color:#4e8de3}.platform-icon.ga4{background:#fff4e3;color:#e3a039}.platform-icon.google_ads{background:#eef7ee;color:#609d6e}.platform-icon.meta_ads{background:#edf4ff;color:#3972d5;font-size:26px}.platform-icon.csv{background:#f2edfb;color:#9674bc;font-size:13px}.badge{font-size:9px;display:inline-flex;align-items:center;gap:5px;border-radius:20px;background:#eef8f3;color:#438f76;padding:5px 9px;white-space:nowrap}.badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.badge.error{background:#fff0ee;color:#bf6a63}.badge.setup,.badge.select_account{background:#fff6e5;color:#b39050}.badge.demo{background:#f5efe0;color:#a38a4f}.badge.paused{background:#eff1f4;color:#8b929b}.text-link{color:#319a85;font-size:10px;background:none;padding:0;font-weight:550}.panel-foot{display:flex;justify-content:space-between;gap:12px;padding:13px 22px;border-top:1px solid var(--line);font-size:9px;color:#8b9aa1}.note{font-size:10px;line-height:1.7;color:#85979f;margin-top:16px;display:flex;align-items:flex-start;gap:7px}.note svg{width:13px;height:13px;flex-shrink:0;margin-top:2px}.app-footer{display:flex;justify-content:space-between;padding:20px 36px 24px;gap:20px;color:#95a3aa;font-size:9px}.workflow{display:flex;align-items:center;gap:0;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:25px}.workflow-step{display:flex;align-items:center;gap:9px;font-size:11px;color:#9aa7ae}.workflow-step span{width:25px;height:25px;border-radius:50%;border:1px solid #d7e1e4;display:grid;place-items:center;font-size:10px}.workflow-step.active{color:#328f7e;font-weight:600}.workflow-step.active span{background:#dff4ed;border-color:#c9eadd}.workflow-line{width:50px;height:1px;background:#dce5e7;margin:0 14px}.source-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:28px}.source-card{padding:22px;display:flex;flex-direction:column;gap:14px;transition:border .2s}.source-card:hover{border-color:#a9d9cf}.source-card-head{display:flex;justify-content:space-between;align-items:center}.source-card .tag{font-size:8px;letter-spacing:.5px;color:#94a2aa;background:#f6f8f9;border:1px solid #e7ecee;padding:4px 6px;border-radius:5px}.source-card h3{font-size:14px;margin-bottom:7px}.source-card p{font-size:11px;color:#85969d;margin:0;line-height:1.7}.source-card .button{align-self:flex-start;margin-top:auto}.source-card footer{display:flex;align-items:center;gap:8px;border-top:1px solid #eef1f2;padding-top:13px;margin-top:1px;font-size:9px;color:#8a9ba2}.source-card footer .dot{margin-right:0}.tools-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px;gap:15px}.tools-row h3{margin:0;font-size:13px}.search-input{position:relative}.search-input input{padding-left:33px;width:220px}.search-input svg{position:absolute;left:11px;top:11px;width:14px;height:14px;color:#9ca9af}.empty{padding:55px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.empty>.empty-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:#edf5f3;color:#5cae9a;margin-bottom:6px}.empty-icon svg{width:25px;height:25px}.empty h2,.empty h3{margin-bottom:0}.empty p{color:#86999f;max-width:420px;font-size:12px;margin:0 0 7px}.empty-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.query-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:20px;align-items:start}.query-toolbar{padding:16px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center}.query-toolbar h3{font-size:13px;margin:0}.query-toolbar small{font-size:9px;color:#93a1a9}.query-toolbar>div{display:flex;gap:7px;align-items:center}.query-data{min-height:430px}.query-data table th,.query-data table td{padding:12px 15px;font-size:10px}.filter-panel{padding:21px;position:sticky;top:98px}.filter-panel h3{font-size:12px;margin-bottom:21px}.filter-panel label,.form-field>label{display:block;font-size:10px;color:#667c85;font-weight:600;margin:0 0 8px}.filter-panel .control{width:100%}.form-field{margin-bottom:17px}.form-field input,.form-field select,.form-field textarea{width:100%;padding:10px 11px;background:#fff;border:1px solid #dce4e7;border-radius:7px;color:#35505a;font-size:12px}.form-field textarea{resize:vertical;min-height:90px}.form-field small{display:block;color:#92a0a8;font-size:10px;line-height:1.6;margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.field-checks{display:grid;grid-template-columns:1fr 1fr;gap:10px 8px}.field-checks label{display:flex;gap:6px;align-items:center;font-weight:400;font-size:10px;cursor:pointer;white-space:nowrap}.field-checks input{accent-color:#31b997;margin:0}.filter-divider{height:1px;background:#e8edef;margin:19px 0}.filter-panel .button{width:100%;margin-top:20px}.callout{background:#f4f8f8;border:1px solid #e0e9e9;border-radius:8px;padding:13px 15px;font-size:11px;color:#70868e;line-height:1.7}.callout.warning{background:#fff9ea;border-color:#f0e5c4;color:#a48a4d}.callout.error{background:#fff2ef;border-color:#f3dad3;color:#af6259}.query-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.saved-card{padding:23px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.saved-card h3{font-size:14px;margin:0}.saved-card p{font-size:11px;color:#8a9da5;margin:0}.saved-card .button{margin-top:10px}.saved-card .saved-icon{color:#5caf9a;background:#edf7f4;border-radius:10px;width:38px;height:38px;display:grid;place-items:center}.saved-icon svg{width:20px;height:20px}.tagline{display:flex;gap:5px;flex-wrap:wrap}.tagline span{font-size:9px;background:#f3f6f7;color:#879ca3;border-radius:4px;padding:4px 7px}.dest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.dest-card{padding:21px;display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:12px;text-align:left}.dest-card svg{width:24px;height:24px;color:#61a48e}.dest-card b{font-size:11px;display:block}.dest-card small{font-size:9px;color:#95a3a9;display:block;margin-top:4px}.dest-card:hover{border-color:#8bcabb}.status-detail{white-space:normal;max-width:360px;line-height:1.6;font-size:10px}.tabs{display:flex;gap:23px;border-bottom:1px solid var(--line);margin-bottom:24px}.tabs button{background:none;font-size:12px;padding:0 2px 14px;color:#8a9ba2;border-bottom:2px solid transparent}.tabs button.active{color:#269d84;border-color:#2dc6a3}.settings-layout{max-width:800px}.settings-panel{padding:26px;margin-bottom:20px}.settings-panel h3{margin-bottom:6px}.settings-panel>p{font-size:11px;color:#8b9ca4;margin-bottom:24px}.settings-panel code{font-size:11px;background:#f2f6f7;padding:8px;display:block;overflow:auto;border:1px solid var(--line);border-radius:6px;margin-bottom:18px}.ready-dot{display:inline-flex;font-size:9px;align-items:center;gap:6px;color:#509980}.ready-dot:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.ready-dot.off{color:#b89c63}.ai-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;min-height:590px}.conversations{padding:17px 13px;align-self:stretch}.conversations h3{font-size:11px;padding:5px 7px;margin-bottom:13px}.conversations .button{width:100%;font-size:10px;margin-bottom:15px}.thread-button{width:100%;text-align:left;background:none;padding:11px 9px;color:#81939b;font-size:10px;border-radius:7px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-button:hover,.thread-button.active{background:#edf7f4;color:#408d7c}.ai-chat{display:flex;flex-direction:column;min-width:0;overflow:hidden;min-height:590px;max-height:calc(100vh - 215px)}.ai-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line)}.ai-chat-head b{font-size:12px}.ai-chat-head small{font-size:9px;color:#8c9ea5;display:block;margin-top:4px}.luna-badge{color:#8171be;background:#f4f0fc;border:1px solid #e8e0f5;border-radius:5px;padding:5px 7px;font-size:8px;letter-spacing:.8px;white-space:nowrap}.chat-scroll{flex:1;overflow:auto;padding:25px 28px;min-height:260px;scroll-behavior:smooth}.chat-welcome{max-width:600px;margin:45px auto 25px;text-align:center}.chat-welcome .ai-symbol{display:inline-grid;place-items:center;width:54px;height:54px;background:linear-gradient(135deg,#e0f9f1,#eae6fa);color:#51b99e;border-radius:17px;margin-bottom:20px}.ai-symbol svg{width:29px;height:29px}.chat-welcome h2{font-size:24px}.chat-welcome p{color:#889da4;font-size:12px;max-width:390px;margin:0 auto 25px}.prompt-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left}.prompt{background:#fafcfc;border:1px solid #e3ebed;border-radius:9px;color:#6a848e;font-size:11px;line-height:1.6;padding:14px;text-align:left}.prompt:hover{background:#f1f9f6;border-color:#b7ded2}.chat-composer{padding:16px 22px 12px;border-top:1px solid #e8eef0;background:#fcfdfd}.composer-box{display:flex;gap:10px;align-items:flex-end;border:1px solid #dce6e8;background:#fff;border-radius:10px;padding:12px;box-shadow:0 3px 9px #102f3403}.composer-box textarea{border:0;outline:0;resize:vertical;min-height:40px;max-height:160px;flex:1;font-size:12px;color:#45616c;line-height:1.6;background:none}.composer-box .button{padding:8px 11px}.composer-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0 0;font-size:8px;color:#9babb1}.chat-message{display:flex;gap:12px;margin-bottom:24px;align-items:flex-start}.chat-avatar{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;flex-shrink:0;background:#e8f7f1;color:#40aa8d;font-size:10px;font-weight:600}.chat-avatar svg{width:16px;height:16px}.chat-message.user .chat-avatar{background:#edf0f5;color:#8196ae}.chat-message .message-body{font-size:12px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#55707b;flex:1}.message-body strong{color:#294650;font-weight:600}.message-meta{font-size:8px;color:#9aadb3;margin-top:10px}.chat-busy{display:flex;gap:6px;align-items:center;font-size:11px;color:#81a094;padding:5px 0}.chat-busy span{width:5px;height:5px;background:#66c7a9;border-radius:50%;animation:pulse 1.1s infinite alternate}.chat-busy span:nth-child(2){animation-delay:.2s}.chat-busy span:nth-child(3){animation-delay:.4s}@keyframes pulse{to{opacity:.2;transform:translateY(-3px)}}dialog{padding:0;border:1px solid #dbe5e7;border-radius:16px;width:min(590px,calc(100vw - 32px));max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #112a3340;overflow:hidden}dialog::backdrop{background:#142f3b70;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 27px 19px;border-bottom:1px solid #e9edef}.dialog-head h2{font-size:22px;margin:5px 0 0}.dialog-head .eyebrow{font-size:8px}#dialog-body{max-height:calc(90vh - 100px);overflow:auto;padding:24px 27px}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e6edef;padding-top:20px;margin-top:22px}.dialog-intro{font-size:12px;color:#859aa1;margin-bottom:22px}.provider-options{display:grid;gap:10px}.provider-option{display:flex;align-items:center;gap:13px;background:#fff;text-align:left;border:1px solid #dfe7e9;border-radius:10px;padding:15px}.provider-option>span:nth-child(2){flex:1}.provider-option b{font-size:12px;display:block}.provider-option small{font-size:10px;color:#91a1a8;display:block;margin-top:5px}.provider-option:hover{border-color:#77c9b2;background:#fbfefd}.provider-option>svg{width:17px;height:17px;color:#8b9fa7}.wizard-label{display:flex;gap:6px;margin-bottom:22px;font-size:9px;color:#a6b4b9;align-items:center}.wizard-label .done{color:#30aa89}.wizard-label svg{width:12px;height:12px}.account-option{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;border:1px solid var(--line);border-radius:8px;background:white;padding:13px;margin-bottom:8px}.account-option b{font-size:12px}.account-option small{display:block;font-size:9px;color:#91a3aa;margin-top:5px}.account-option:hover{border-color:#60bfa5;background:#f5fbf9}.code-box{white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.8 Consolas,monospace;background:#f1f6f7;border:1px solid #dce7e9;border-radius:8px;padding:14px;max-height:260px;overflow:auto}.form-error{font-size:11px;line-height:1.6;color:#b46359;background:#fff1ee;border:1px solid #f0d5d0;border-radius:7px;padding:10px 12px;margin-bottom:14px}.toasts{position:fixed;right:25px;bottom:25px;z-index:100;display:flex;flex-direction:column;gap:10px;max-width:min(430px,calc(100vw - 32px))}.toast{background:#1e3e43;color:#d4f2ea;border:1px solid #346263;border-radius:9px;padding:13px 18px;font-size:11px;line-height:1.6;box-shadow:0 8px 25px #122c3522}.toast.error{background:#fff3ef;color:#a45c51;border-color:#efcfc6}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:#152f35;padding:70px;display:flex;flex-direction:column;align-items:flex-start;color:#d9efed;position:relative;overflow:hidden}.auth-story .brand{padding:0}.auth-story h1{font-size:46px;line-height:1.16;max-width:450px;margin-top:auto;letter-spacing:-2px}.auth-story h1 span{color:#58dfc0}.auth-story p{color:#91b2b9;font-size:14px;max-width:360px;margin-bottom:auto}.auth-story small{font-size:10px;color:#6d949b}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form{max-width:370px;width:100%}.auth-form h2{font-size:28px;margin:10px 0}.auth-form>p{font-size:12px;color:#8b9ca3;margin-bottom:30px}.auth-form .button{width:100%;font-size:12px;margin-top:6px}.auth-form .auth-note{font-size:10px;text-align:center;margin-top:20px}.initial-loading{padding:100px;text-align:center;color:#819da4}.loading-inline{padding:30px 20px;text-align:center;color:#8a9ea6;font-size:12px}.field-preview{overflow:auto;max-height:180px;margin:15px 0;border:1px solid var(--line);border-radius:8px}.field-preview th,.field-preview td{font-size:9px;padding:8px}.date-custom{display:flex;gap:8px}.date-custom input{max-width:145px}.stack-actions{display:flex;gap:7px;align-items:center}.inline-error{font-size:10px;color:#ba6b61;margin-top:6px;white-space:normal;max-width:260px;line-height:1.5}.scope-pill{display:inline-flex;align-items:center;gap:6px;background:#f0f6f6;border:1px solid #e0e9e9;border-radius:6px;padding:5px 8px;font-size:9px;color:#769197}.connection-health{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:17px}.support-link{color:#3c9e89;text-decoration:underline;text-underline-offset:3px}.settings-description{font-size:11px;line-height:1.8;color:#879ba3}.settings-description li{margin-bottom:7px}.form-check{display:flex;gap:8px;align-items:flex-start;font-size:10px;color:#7c929b;line-height:1.7}.form-check input{accent-color:#37b99c;margin-top:4px}.ai-disabled{padding:12px 20px;background:#fff8e8;border-bottom:1px solid #f0e5c7;color:#9f864a;font-size:10px;line-height:1.7}.mini-stat{display:flex;align-items:center;gap:8px;color:#8c9fa6;font-size:9px}.progress-card{padding:30px;text-align:center}.progress-card svg{width:32px;height:32px;color:#3db497;margin-bottom:20px}.progress-card p{font-size:12px;color:#8ca1a8}.progress-bar{height:4px;background:#edf4f2;border-radius:6px;overflow:hidden;margin:20px 0}.progress-bar span{display:block;height:100%;width:35%;background:#55ccaa;animation:loading 1.8s infinite ease-in-out}@keyframes loading{50%{transform:translateX(185%)}100%{transform:translateX(0)}}
@media(min-width:1800px){main{padding-top:42px}.topbar{padding:0 48px}.dashboard-grid{grid-template-columns:2.1fr 1fr}.chart-wrap{height:260px}.kpi{min-height:145px}}@media(max-width:1200px){.app{grid-template-columns:215px minmax(0,1fr)}.sidebar{width:215px;padding-left:13px;padding-right:13px}.brand b{font-size:14px}.brand-light{font-size:10px}.private-label{display:none}main{padding:28px 25px 20px}.topbar{padding:0 25px}.kpi{padding:16px}.kpi strong{font-size:22px}.source-card{padding:17px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.query-layout{grid-template-columns:minmax(0,1fr) 245px}.field-checks{grid-template-columns:1fr}.dest-grid{grid-template-columns:repeat(2,1fr)}.ai-layout{grid-template-columns:160px minmax(0,1fr)}.query-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:960px){.dashboard-grid{grid-template-columns:1fr}.ai-feature{min-height:210px}.ai-feature h2,.ai-feature p{max-width:none}.ai-feature .ai-star{margin-bottom:13px}.ai-feature .model-badge{position:absolute;right:22px;top:22px}.ai-feature h2{font-size:20px}.ai-feature p{margin-bottom:15px}.source-cards{grid-template-columns:1fr}.source-card{display:grid;grid-template-columns:50px 1fr auto;gap:10px 15px;align-items:center}.source-card-head{grid-column:1;grid-row:1/3}.source-card-head .tag{display:none}.source-card h3{margin-bottom:4px}.source-card .button{grid-column:3;grid-row:1/3;align-self:center;margin:0}.source-card footer{grid-column:2;grid-row:2;margin:0;padding:0;border:0}.source-card>div:nth-child(2){grid-column:2;grid-row:1}.source-card p{display:none}.kpis{grid-template-columns:repeat(2,1fr)}.query-layout{grid-template-columns:1fr}.filter-panel{position:static;grid-row:1}.filter-panel form{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.filter-divider{display:none}.filter-panel h3{margin-bottom:15px}.filter-panel details{grid-column:1/-1}.field-checks{grid-template-columns:repeat(4,1fr)}.filter-panel .button{margin-top:0;align-self:end;margin-bottom:17px}.ai-layout{grid-template-columns:1fr}.conversations{display:none}.ai-chat{max-height:none;min-height:600px}.auth-story{padding:45px}.auth-story h1{font-size:36px}}@media(max-width:760px){.app{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:246px;box-shadow:15px 0 60px #152d3340}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-grid}.topbar{padding:0 15px;height:65px}.breadcrumb>span:not(.crumb-slash){display:none}.crumb-slash{display:none}.top-actions .quiet{display:none}.top-actions .primary{font-size:10px;padding:8px 10px}.top-actions .primary svg{width:14px;height:14px}main{padding:24px 17px 14px}.page-head{display:block;margin-bottom:20px}.page-head h1{font-size:26px}.head-controls{margin-top:17px}.head-controls .control{flex:1}.demo-banner{padding:10px 17px;align-items:flex-start;gap:7px;flex-wrap:wrap}.demo-banner>span:nth-of-type(2){flex-basis:70%;line-height:1.7;font-size:9px}.demo-banner button{margin:0 0 0 22px}.setup-strip{padding:17px;gap:12px;flex-wrap:wrap}.setup-strip .button{margin-left:51px}.setup-strip p{font-size:10px}.kpis{gap:11px}.kpi{min-height:121px;padding:14px}.kpi strong{font-size:23px}.kpi small{font-size:8px;line-height:1.6}.kpi-top{font-size:9px;margin-bottom:12px}.metric-icon{width:23px;height:23px}.panel-head{padding:17px}.chart-wrap{height:200px;padding-left:12px;padding-right:12px}.chart-legend{font-size:8px;gap:8px}th,td{padding:12px 16px}.panel-foot{padding:12px 16px;font-size:8px}.app-footer{padding:18px 17px;font-size:8px}.app-footer .muted{display:none}.workflow{gap:0;justify-content:space-between}.workflow-step{font-size:9px;gap:6px}.workflow-step span{width:22px;height:22px;font-size:9px}.workflow-line{width:13px;margin:0 4px}.source-card{padding:15px;gap:9px}.source-card h3{font-size:12px}.source-card .button{font-size:9px;padding:7px 10px}.tools-row{align-items:flex-start;flex-wrap:wrap}.search-input input{width:100%}.search-input{flex:1;min-width:170px}.query-toolbar{padding:14px;flex-wrap:wrap}.query-cards{grid-template-columns:1fr}.query-layout{gap:13px}.filter-panel{padding:17px}.filter-panel form{gap:7px 12px}.filter-panel .form-field input{min-width:0}.field-checks{grid-template-columns:repeat(3,1fr)}.filter-panel .control{font-size:10px;padding:9px 7px}.filter-panel .button{font-size:10px}.dest-grid{gap:10px}.dest-card{padding:15px 12px;gap:10px}.dest-card svg{width:21px;height:21px}.dest-card b{font-size:10px}.dest-card small{font-size:8px}.settings-panel{padding:20px}.tabs{gap:18px}.tabs button{font-size:11px}.form-grid{grid-template-columns:1fr}.chat-welcome{margin:20px auto}.chat-welcome h2{font-size:21px}.chat-welcome p{font-size:11px}.chat-scroll{padding:20px 17px}.chat-composer{padding:13px}.composer-note{font-size:7px;line-height:1.7;flex-wrap:wrap}.composer-box{padding:10px;gap:6px}.composer-box textarea{font-size:11px}.composer-box .button{font-size:0;gap:0;padding:10px}.composer-box .button svg{width:16px;height:16px}.ai-chat-head{padding:16px}.ai-chat-head small{font-size:8px}.ai-chat{min-height:550px}.prompt-grid{gap:8px}.prompt{font-size:10px;padding:11px}.chat-message .message-body{font-size:11px}.auth-screen{grid-template-columns:1fr}.auth-story{padding:30px;min-height:270px}.auth-story h1{font-size:29px;margin:40px 0 13px;max-width:300px;letter-spacing:-1px}.auth-story p{font-size:12px;margin:0;max-width:280px}.auth-story>small{display:none}.auth-form-wrap{padding:35px 25px;align-items:flex-start}.auth-form h2{font-size:24px}.toasts{right:16px;bottom:16px}#dialog-body{padding:20px}.dialog-head{padding:20px}.dialog-head h2{font-size:20px}.dialog-footer .button{font-size:10px}.private-label{display:none}.scope-pill{font-size:8px}.source-card footer{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.scope-pill svg{width:12px;height:12px;flex-shrink:0}@media(max-width:760px){.sidebar{box-shadow:none}.sidebar.open{box-shadow:15px 0 60px #152d3340}.connection-health{gap:6px}.scope-pill{padding:6px 8px}}

/* Mirnejši vmesnik po Windsorjevem toku: viri, podatki, pogovor. */
.sidebar{width:226px;padding-top:24px}.app{grid-template-columns:226px minmax(0,1fr)}.brand{margin-bottom:34px}.brand small,.workspace-label{display:none}.client-picker{margin-bottom:25px}.client-picker label{font-size:10px;letter-spacing:0;font-weight:500}.nav-count{background:none;padding:0;color:inherit}.more-nav summary{list-style:none;padding:10px 12px;font-size:11px;color:#8ba5ad;cursor:pointer}.more-nav summary:after{content:'⌄';float:right}.more-nav[open] summary:after{content:'⌃'}.more-nav a{font-size:11px!important}.flat-help{display:flex;align-items:center;gap:12px;padding:11px 12px;background:none;color:#a2b6bb;width:100%;font-size:12px}.flat-help svg{width:17px;height:17px;color:#73929a}.topbar{height:65px}.breadcrumb b{font-size:12px}.demo-banner{padding:7px 36px;font-size:10px;background:#fcf8ed}.badge{border-radius:0;background:none!important;padding:0;font-size:10px}.tagline span{background:none;padding:0;margin-right:9px}.source-card .tag,.source-card p,.source-card footer{display:none}.source-card{padding:19px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:13px}.source-card-head{grid-column:1;grid-row:1}.source-card>div:nth-child(2){grid-column:2;grid-row:1}.source-card h3{font-size:13px;margin:0}.source-card .button{grid-column:3;grid-row:1;align-self:center;margin:0;font-size:10px;padding:7px 10px;min-height:32px}.source-cards{gap:13px}.workflow,.connection-health,.private-label,.model-badge{display:none}.page-head{margin-bottom:23px}h1{font-size:27px}.query-layout .button{font-size:10px}.chat-welcome{margin:50px auto 20px}.chat-welcome h2{font-size:22px}.chat-welcome .ai-symbol{width:44px;height:44px;border-radius:12px}.chat-welcome .ai-symbol svg{width:24px;height:24px}.composer-note{font-size:9px;justify-content:space-between}.ai-chat-head small{font-size:10px}.ai-layout{min-height:570px}.chat-composer{background:#fff}.app-footer{font-size:9px}.ai-feature{display:none}.dashboard-grid{grid-template-columns:1fr}.setup-strip{background:#f5faf8}.source-card .platform-icon{width:34px;height:34px}.mini-stat{font-size:9px}.help-card{display:none}
@media(max-width:1200px){.source-cards{grid-template-columns:1fr}.source-card{padding:17px}.source-card h3{font-size:13px}}
@media(max-width:760px){.app{display:block}.sidebar{width:226px}.topbar{height:58px}.demo-banner{padding:7px 17px;display:block}.demo-banner>span:nth-of-type(1){display:block}.page-head h1{font-size:24px}.source-card{padding:15px;gap:12px}.source-cards{gap:10px}.source-card h3{font-size:12px}.composer-note{font-size:8px}.chat-welcome{margin:35px auto 20px}.ai-chat{min-height:500px}.ai-layout{min-height:500px}.chat-scroll{min-height:220px}.ai-chat-head small{font-size:9px}.breadcrumb b{font-size:11px}}

.source-cards + .tools-row .mini-stat,.source-cards ~ .note{display:none}

.ai-query-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.ai-query-bar input{flex:1;min-width:220px;padding:12px;border:1px solid var(--line,#dbe2e5);border-radius:7px;background:white;font:inherit}.ai-query-bar small{width:100%;color:var(--muted,#69777f)}.query-advanced{margin:18px 0;border-top:1px solid var(--line,#dbe2e5);padding-top:16px}.query-advanced summary{cursor:pointer;font-weight:600;margin-bottom:16px}.query-advanced h4{margin:20px 0 8px}.query-filter{display:grid;gap:7px;margin:14px 0}.query-filter input,.query-filter select{min-width:0;width:100%;padding:8px;border:1px solid #dbe2e5;border-radius:5px;background:white;font:inherit}.query-advanced code{white-space:normal;overflow-wrap:anywhere}.query-advanced small{font-size:11px;line-height:1.6}.query-advanced .form-field select+select{margin-top:8px}
.query-data,.filter-panel,.ai-query-bar,.ai-chat{min-width:0}.table-scroll{max-width:100%}@media(max-width:1100px){.query-layout{grid-template-columns:minmax(0,1fr)}.query-advanced{grid-column:1/-1;min-width:0}}
