@font-face{font-family:Golos;src:url('/static/fonts/GolosText.ttf') format('truetype');font-weight:400 900;font-display:swap}
:root{--blue:#0757b5;--ink:#142b48;--muted:#52677f;--ground:#edf3f9;--tint:#f3f7fc;--line:#dce6f1;--success:#23846a;--danger:#b52c40;--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}body{margin:0;font:14px/1.5 Golos,Arial,sans-serif;color:var(--ink);background:var(--ground)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;color:inherit}a{color:var(--blue);text-underline-offset:4px}button,a{transition:background .2s,color .2s,transform .2s var(--ease)}button:disabled{opacity:.55;cursor:wait}:focus-visible{outline:3px solid #4d9df5;outline-offset:3px}input,textarea,select{caret-color:var(--blue);color:var(--ink)}::selection{background:#b8d9ff;color:#062d65}::placeholder{color:#61758b;opacity:1}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#b6c8dc;border-radius:8px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}h1{font-weight:500;letter-spacing:-.04em;line-height:1.1}h2{font-size:23px;font-weight:500;letter-spacing:-.025em}h3{font-size:15px;font-weight:500}small{font-size:12px}.icon{display:inline-block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
/* The entrance artwork is exact geometry, distinct from working controls. */
.login{min-height:100svh;position:relative;overflow:hidden;background:radial-gradient(ellipse at 27% 52%,#135cba,#063d91 42%,#052c6b 78%);color:#fff;padding:28px 4.5vw 22px;display:flex;flex-direction:column;isolation:isolate}.login:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(125deg,transparent 43%,#5d9de412 43.1%,transparent 65%);pointer-events:none}.login-top,.login-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;position:relative;z-index:2}.login-brand{display:block;width:208px;background:#fff;padding:9px 12px;border-radius:5px}.login-brand img{display:block;width:100%;height:auto}.demo-label{font-size:13px;color:#c6ddf9;display:flex;align-items:center;gap:9px}.demo-label>span{width:6px;height:6px;border-radius:50%;background:#97c6ff}.login-stage{width:100%;max-width:1600px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:4%;padding:32px 0 38px;flex:1}.login-copy{position:relative;z-index:2;max-width:620px;padding:8px 0}.login-copy h1{font-size:clamp(44px,4.65vw,76px);line-height:1.035;font-weight:500;letter-spacing:-.04em}.login-copy h1 span{color:#91c9ff}.login-description{color:#c7ddf8;line-height:1.7;font-size:16px;margin-top:24px}.login-form{margin-top:34px;max-width:440px}.login-form label{display:block;color:#e1edff;font-size:13px;margin-bottom:11px}.login-fields{display:flex;border:1px solid #729cce;border-radius:12px;padding:5px;gap:6px;background:#002b671a}.login-fields input{min-width:0;width:100%;border:0;background:transparent;color:#fff;padding:12px 14px;font-size:15px;border-radius:7px}.login-fields input::placeholder{color:#bdd3ee}.login-fields input:focus{outline:2px solid #91c9ff;outline-offset:-1px}.login-submit{display:flex;align-items:center;justify-content:space-between;gap:30px;background:white;color:#074491;border-radius:8px;padding:12px 18px;font-weight:500;min-height:48px}.login-submit:hover{background:#d8ebff;transform:translateX(1px)}.login-submit .icon{width:19px;height:19px}.login-form small{display:block;color:#aac7e9;margin-top:15px;font-size:11px}.login-form .error:empty{display:none}.login-form .error{color:#ffccd3;margin:10px 0 0;font-size:13px}.login-bottom{padding-top:16px;border-top:1px solid #8fbded33;color:#bed6f3;font-size:11px}.login-bottom>div{display:flex;gap:30px}.bottom-divider{margin:0 12px;color:#85b6ed}
.energy-scene{position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-height:500px;perspective:1000px}.scene-caption{font-size:11px;letter-spacing:.03em;color:#a9cef6;position:absolute;top:15px;left:14px}.energy-model{height:440px;position:relative;width:100%;max-width:650px;transform-style:preserve-3d;transform:rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));transition:transform 1.2s var(--ease)}.orbit{position:absolute;left:9%;top:3%;width:82%;height:94%;border-radius:50%;border:13px solid #85c6ff;box-shadow:inset 4px 5px 7px #d4f5ffb3,inset -5px -5px 8px #0c4f99,5px 16px 25px #001b514d;transform-style:preserve-3d}.orbit-one{transform:rotate(-30deg) rotateX(61deg);border-top-color:#d4f3ff;border-left-color:#4da4ed;border-bottom-color:#154f99;animation:orbit-breathe 12s ease-in-out infinite alternate}.orbit-two{transform:rotate(47deg) rotateX(63deg);border-width:10px;border-color:#5aa9f0;border-right-color:#c0e9ff;border-bottom-color:#164f94}.orbit-three{transform:rotate(112deg) rotateX(59deg);border-width:8px;border-color:#61b7fb;border-top-color:#e1f6ff;border-left-color:#0b4084}.core{width:164px;height:164px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:42px;background:linear-gradient(145deg,#f1fbff,#97d5ff 47%,#2779cf);box-shadow:inset 2px 3px 3px #fff,inset -5px -8px 8px #135eae,12px 28px 50px #001d5f77;display:grid;place-items:center}.core:after{content:"";position:absolute;inset:9px;border:1px solid #effbff99;border-radius:34px;pointer-events:none}.core>svg{width:100px;height:100px;fill:#0757b5;filter:drop-shadow(0 2px 1px #fff9)}.satellite{position:absolute;box-shadow:0 20px 40px #001b514d;background:#eef7ff;color:#17446f;border-radius:13px;z-index:2}.satellite-doc{left:8%;top:17%;width:142px;padding:17px 16px;transform:rotate(-10deg)}.satellite-doc .icon{display:block;color:#1772cc;width:28px;height:28px;margin-bottom:12px}.satellite-doc span{display:block;font-size:12px;font-weight:500;margin-bottom:12px}.satellite-doc i{display:block;height:3px;background:#b7d4ed;border-radius:2px;margin-top:6px;width:80%}.satellite-doc i:last-child{width:53%}.satellite-answer{right:0;bottom:13%;padding:13px 18px 13px 12px;display:flex;align-items:center;gap:10px;font-size:12px;transform:rotate(6deg)}.mini-check{background:#d6eaff;color:#0757b5;padding:6px;border-radius:50%;display:flex}.mini-check .icon{width:17px;height:17px}.scene-node{position:absolute;width:14px;height:14px;background:linear-gradient(140deg,#fff,#65b5ff);border-radius:50%;box-shadow:3px 5px 10px #001b5155}.node-one{right:20%;top:10%;width:20px;height:20px}.node-two{left:24%;bottom:8%;width:9px;height:9px}.node-three{right:10%;top:47%;width:11px;height:11px}.scene-foot{display:flex;align-items:center;gap:22px;color:#b3d3f6;font-size:12px;position:absolute;bottom:8px;left:14px;right:12%}.scene-rule{height:1px;flex:1;background:#8fbded44}.scene-foot>.icon{width:18px;height:18px}@keyframes orbit-breathe{to{transform:rotate(-19deg) rotateX(66deg)}}
/* Calm, evidence-first working surfaces. */
.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100svh;padding:12px 12px 12px 0}.rail{position:sticky;top:12px;height:calc(100svh - 24px);padding:22px 18px 14px;display:flex;flex-direction:column}.brand{display:block;width:194px;padding:10px;background:#fff;border-radius:6px;margin:0 0 34px 7px}.brand-logo{display:block;width:100%;height:auto}.workspace{display:flex;gap:10px;align-items:center;padding:0 10px 26px;font-size:12px;font-weight:500;line-height:1.4}.workspace small{display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:4px}.workspace>.icon{color:var(--blue)}.badge{display:none}.rail nav{display:grid;gap:5px}.nav{width:100%;display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 14px;background:transparent;color:#425d79;text-align:left;border-radius:9px;font-size:13px}.nav .icon{width:20px;height:20px}.nav:hover{background:#e1eaf5}.nav.active{background:#dbe8f8;color:#064a9e;font-weight:500}.nav i{font-style:normal;margin-left:auto;font-size:11px;min-width:20px;text-align:center;background:#fff9;border-radius:4px;line-height:20px;font-variant-numeric:tabular-nums}.rail-note{margin:auto 10px 34px;padding-top:40px}.rail-note>.icon{color:#467eae;width:23px;height:23px;margin-bottom:17px}.rail-note strong{font-size:15px;font-weight:500;line-height:1.5;display:block}.rail-note p{font-size:12px;line-height:1.7;color:var(--muted);margin:10px 0 14px}.text-btn{padding:0;background:none;display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:12px;font-weight:500}.text-btn .icon{width:16px;height:16px}.text-btn:hover{color:#002e75}.rail-bottom{border-top:1px solid #d4e0ed;padding:17px 4px 0;display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.dot{width:6px;height:6px;background:var(--success);border-radius:50%;flex-shrink:0;display:inline-block}.dot.off{background:var(--danger)}#logout{margin-left:auto;background:none;color:#526e8a;padding:5px;display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px}#logout .icon{width:17px;height:17px}main{min-width:0;background:#fff;border-radius:18px;padding:0 38px;display:flex;flex-direction:column;box-shadow:0 8px 30px #1c457308}header{height:74px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #edf1f6}.breadcrumb{font-size:11px;color:#62768d}.breadcrumb span{margin:0 12px;color:#abbacd}.breadcrumb b{font-weight:400;color:#354f6b}.header-right{display:flex;align-items:center;gap:14px}.model-tag{font-size:11px;color:#62768d}.demo-chip{font-size:11px;color:#14559e;background:#eaf3ff;padding:3px 9px;border-radius:5px}.view{display:none;padding:42px 0 26px;flex:1}.view.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:36px}.page-heading h1{font-size:clamp(32px,3.1vw,48px);font-weight:500}.page-heading p{font-size:13px;color:var(--muted);margin-top:13px;line-height:1.6}.primary,.secondary{min-height:43px;border-radius:9px;padding:11px 17px;font-size:12px;font-weight:500;display:inline-flex;justify-content:center;align-items:center;gap:9px;flex-shrink:0}.primary{background:var(--blue);color:#fff}.primary:hover,.send:hover{background:#034797}.secondary{background:#f0f5fb;color:#214d7b}.secondary:hover{background:#e3edf9}.primary .icon,.secondary .icon{width:18px;height:18px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px;align-items:stretch}.conversation{min-width:0;display:flex;flex-direction:column}#messages{flex:1;min-height:310px;max-height:570px;overflow-y:auto;padding:0 6px 24px 0;scroll-behavior:smooth}.welcome{padding:16px 0 10px;max-width:660px;margin:0 auto}.welcome-symbol{width:48px;height:48px;color:var(--blue);margin:0 0 18px;display:flex;align-items:center;justify-content:center}.welcome-symbol .icon{width:40px;height:40px;stroke-width:1.2}.welcome h2{font-size:27px;font-weight:400;letter-spacing:-.03em}.welcome>p{color:var(--muted);font-size:13px;line-height:1.7;margin:12px 0 24px}.suggestions{display:grid;gap:0}.suggestions button{display:grid;grid-template-columns:22px 1fr 18px;grid-template-rows:auto auto;text-align:left;background:transparent;padding:13px 0;column-gap:14px;row-gap:3px;border-bottom:1px solid #e4ecf5;align-items:center}.suggestions button:first-child{border-top:1px solid #e4ecf5}.suggestions button>.icon:first-child{color:#5d82ab;width:20px;height:20px;grid-row:1/3}.suggestions b{font-size:12px;font-weight:500;grid-column:2;grid-row:1}.suggestions small{font-size:11px;color:#647990;grid-column:2;grid-row:2}.suggestions button>.icon:last-child{width:17px;height:17px;color:#7592b1;grid-row:1/3;grid-column:3;transition:transform .2s var(--ease)}.suggestions button:hover{color:var(--blue);background:#f7faff}.suggestions button:hover>.icon:last-child{transform:translateX(4px)}.composer{background:#fff;border:1px solid #cbdced;border-radius:14px;padding:13px 17px 11px;margin-top:10px}.composer:focus-within{border-color:#468acf}.scope{display:flex;align-items:center;gap:6px;color:#5b7590;font-size:11px}.scope select{border:0;background:transparent;font-size:11px;padding:2px 14px 2px 2px;max-width:65%;color:#426586}.scope>span:last-child{margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:11px}.input-row{display:flex;align-items:flex-end;gap:12px;margin-top:13px}.input-row textarea{width:100%;min-height:52px;max-height:180px;resize:vertical;border:0;outline:0;background:none;font-size:14px;line-height:1.6;padding:3px 0}.send{background:var(--blue);color:#fff;width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;border-radius:9px;margin-bottom:3px}.send .icon{transform:rotate(-90deg);width:20px;height:20px}.composer-foot{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#62768d;margin-top:10px}.chat-disclaimer{font-size:11px;color:#65788e;padding:12px 0 0;line-height:1.6}.context-panel{background:var(--tint);border-radius:14px;padding:21px 19px;display:flex;flex-direction:column;min-height:440px}.panel-title{display:flex;align-items:center;gap:8px}.panel-title>.icon{width:17px;height:17px;color:#6685a5}.panel-title h3{font-size:12px;font-weight:500}.counter{margin-left:auto;font-size:11px;color:#587597;border:1px solid #d6e3f2;min-width:21px;border-radius:5px;text-align:center;line-height:21px;font-variant-numeric:tabular-nums}#sources{flex:1;min-width:0}.empty-sources{padding:62px 3px 20px;text-align:left;color:#4c6581}.empty-sources b{font-size:16px;font-weight:400;line-height:1.5;display:block;margin-bottom:12px}.empty-sources p{font-size:11px;line-height:1.8;color:#60768e}.source-visual{height:75px;position:relative;width:80px;margin:0 0 27px 8px}.source-visual span{position:absolute;width:46px;height:60px;border:1px solid #b6cce4;background:#f7faff;border-radius:5px;left:0;top:0;transform:rotate(-14deg)}.source-visual span:nth-child(2){left:12px;top:5px;transform:rotate(0deg)}.source-visual span:nth-child(3){left:24px;top:10px;transform:rotate(14deg)}.source-visual>.icon{position:absolute;right:0;bottom:0;width:30px;height:30px;color:#3a78ba;background:var(--tint)}.context-footer{border-top:1px solid #dde7f2;margin-top:25px;padding-top:15px;display:flex;gap:7px;align-items:center;font-size:11px;color:#627c97}.context-footer>.icon{width:15px;height:15px}.source-card{padding:20px 0;border-bottom:1px solid #dbe5f1;overflow-wrap:anywhere}.source-card b{font-size:12px;font-weight:500}.source-card small{display:block;color:#5d7691;font-size:11px;margin:6px 0}.source-card p{font-size:11px;line-height:1.8;white-space:pre-wrap;max-height:240px;overflow:auto}.source-card a{font-size:11px;display:inline-block;margin-top:10px}.message{font-size:14px;line-height:1.8;margin:0 0 20px;overflow-wrap:anywhere}.message.user{margin-left:15%;background:#edf4fd;padding:13px 17px;border-radius:12px 12px 3px 12px;white-space:pre-wrap}.message.assistant{padding:15px 0 20px;border-bottom:1px solid var(--line)}.message-label{font-size:11px;color:var(--blue);margin-bottom:14px;font-weight:500}.answer-text{white-space:pre-wrap;font-size:13px}.answer-status{display:flex;gap:10px;align-items:center;margin-top:18px;font-size:11px;color:#5a728a;flex-wrap:wrap}.status-pill{padding:3px 7px;border-radius:5px;background:#edf4f9;color:#476682}.status-pill.grounded{background:#e8f4ef;color:#23674f}.status-pill.conflict{background:#fff1da;color:#805700}.loading{padding:24px 0;color:#537392;font-size:12px;display:flex;align-items:center;gap:10px}.loading:before{content:"";display:block;width:14px;height:14px;border:2px solid #d2e3f6;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.dropzone{padding:35px 30px;background:var(--tint);border:1px dashed #b9cee5;border-radius:14px;display:grid;grid-template-columns:46px 1fr;column-gap:20px;cursor:pointer}.dropzone>.icon{width:35px;height:35px;color:#3c7bbb;grid-row:1/4}.dropzone h2{font-size:17px;margin-bottom:6px}.dropzone p{font-size:12px;color:var(--muted)}.dropzone small{font-size:11px;color:#5e7590;display:block;margin-top:12px}.dropzone:hover,.dropzone.dragging{border-color:var(--blue);background:#eaf3ff}.table-head{margin:36px 0 17px;display:flex;justify-content:space-between;gap:20px;align-items:center}.table-head h2{font-size:18px}.table-head h2>span{font-size:12px;color:#6b829b;margin-left:8px;font-weight:400}.table-head input{border:1px solid var(--line);border-radius:8px;padding:11px 13px;min-width:0;background:none;font-size:12px;width:220px}.documents{border-top:1px solid var(--line)}.doc-row{display:grid;grid-template-columns:44px minmax(0,1fr) 105px 65px 70px;gap:15px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.file-icon{font-size:11px;color:#326aa5;background:#edf4fc;display:grid;place-items:center;width:38px;height:46px;border-radius:6px;font-weight:500}.doc-name{font-size:13px;overflow-wrap:anywhere}.doc-name small{font-size:11px;color:#60768f;display:block;margin-top:5px}.doc-state{font-size:11px;color:#28775d}.doc-row a,.doc-row button{font-size:11px;background:none;padding:8px 0;white-space:nowrap}.doc-row button{color:#516b88}.fineprint{font-size:11px;color:#62768d;margin-top:20px;line-height:1.8}.empty{padding:45px 20px;color:#60768f;font-size:13px;text-align:center}.excel-layout{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:56px}.excel-card{padding:25px;background:var(--tint);border-radius:14px}.excel-card h2{font-size:19px;margin-bottom:25px}.excel-card label{font-size:11px;color:#506984;display:block;margin-bottom:16px}.excel-card input,.excel-card select{display:block;width:100%;border:1px solid #cddceb;border-radius:7px;background:#fff;padding:10px;font-size:12px;margin-top:7px;min-height:42px}.excel-card .primary{width:100%;margin-top:8px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.excel-result{align-self:center;padding:30px 0;max-width:440px}.excel-result>.icon{width:60px;height:60px;color:#87afd7;stroke-width:1;margin-bottom:30px}.excel-result h2{font-size:30px;line-height:1.2;font-weight:400}.excel-result p{font-size:13px;color:var(--muted);line-height:1.8;margin-top:20px;white-space:pre-wrap;overflow-wrap:anywhere}.excel-result small{font-size:11px;color:#61778f;display:block;line-height:1.9;margin-top:26px;max-width:350px}.result-value{font-size:64px;letter-spacing:-.04em;line-height:1.2;color:var(--blue);margin-top:24px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.result-label{font-size:11px;color:var(--muted);margin-bottom:12px}.error{color:var(--danger)}footer{display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:11px;color:#6b8098;border-top:1px solid #edf1f6;padding:20px 0;margin-top:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:15px 22px;background:#12365f;color:#fff;box-shadow:0 9px 25px #072c5040;border-radius:10px;z-index:100;font-size:13px;max-width:calc(100% - 32px)}
@media(min-width:1600px){.login-stage{gap:7%}.energy-model{height:530px}.energy-scene{min-height:600px}.login-copy h1{font-size:78px}.chat-layout{grid-template-columns:minmax(0,1fr) 320px;gap:40px}.view{max-width:1450px;width:100%;margin:0 auto}.welcome{padding-top:30px}#messages{min-height:390px}}
@media(max-width:1150px){.shell{grid-template-columns:215px minmax(0,1fr)}.rail{padding-left:12px;padding-right:12px}.brand{width:170px;margin-left:7px}main{padding:0 26px}.chat-layout{grid-template-columns:minmax(0,1fr) 235px;gap:20px}.page-heading h1{font-size:34px}.page-heading p{font-size:12px}.context-panel{padding:18px 15px}.composer-foot{font-size:11px}.composer-foot>span:last-child{display:none}.login-copy h1{font-size:52px}.login-stage{gap:3%;grid-template-columns:1fr 1fr}.energy-model{height:390px}.energy-scene{min-height:480px}.core{width:140px;height:140px;border-radius:35px}.core>svg{width:85px;height:85px}.satellite-doc{width:120px;padding:14px}.satellite-answer{font-size:11px;padding:10px}.scene-caption{font-size:11px}.login-bottom>div{gap:18px}.excel-layout{gap:30px}}
@media(max-width:900px){.shell{grid-template-columns:190px minmax(0,1fr)}.brand{width:150px;margin-left:5px}.rail{padding-left:10px;padding-right:10px}.workspace{font-size:11px;padding-left:5px;gap:7px}.workspace small{font-size:11px}.nav{font-size:12px;padding-left:11px;gap:8px}.rail-note{margin-left:5px;margin-right:5px}.rail-note strong{font-size:13px}.rail-bottom{font-size:11px;gap:5px}.chat-layout{grid-template-columns:minmax(0,1fr)}.context-panel{min-height:0;display:block}.empty-sources{padding:20px 0 4px}.empty-sources .source-visual{display:none}.empty-sources b br{display:none}.empty-sources b{font-size:14px}.context-footer{margin-top:18px}.context-panel #sources{max-height:400px;overflow:auto}.page-heading{align-items:flex-start}.page-heading h1{font-size:32px}.page-heading .secondary{font-size:0;padding:10px}.page-heading .secondary .icon{width:20px;height:20px}.excel-layout{grid-template-columns:1fr}.excel-result{padding:15px 0}.login-copy h1{font-size:44px}.login-description{font-size:13px}.energy-model{height:340px}.energy-scene{min-height:420px}.scene-caption{top:10px}.scene-foot{font-size:11px}.satellite-doc{left:2%;top:15%}.satellite-answer{right:-5%;bottom:15%}.core{width:115px;height:115px;border-radius:30px}.core:after{border-radius:24px}.core>svg{width:70px;height:70px}.orbit{border-width:9px}.orbit-two{border-width:7px}.orbit-three{border-width:6px}.login-form{margin-top:28px}.login-fields input{padding-left:8px}.login-submit{gap:14px;padding:10px 12px}.login-bottom{font-size:11px}.login-bottom>div span:last-child{display:none}.doc-row{grid-template-columns:35px minmax(0,1fr) 70px;gap:12px}.doc-state{grid-column:2}.doc-row a{grid-column:3;grid-row:1}.doc-row button{grid-column:3;grid-row:2}.doc-name{font-size:12px}.file-icon{width:32px;height:40px}.table-head{align-items:flex-start}.table-head input{width:160px}.table-head h2{font-size:16px}.page-heading .primary{font-size:11px;padding:10px}.dropzone{padding:26px 20px;column-gap:16px}}
@media(max-width:650px){.login{padding:20px 22px 18px;background:radial-gradient(ellipse at 40% 27%,#135cba,#063b8d 50%,#052c6b)}.login-top{gap:15px}.login-brand{width:151px;padding:6px 9px}.demo-label{font-size:11px;max-width:115px;line-height:1.6;gap:7px}.login-stage{display:flex;flex-direction:column;gap:0;padding:0 0 30px}.energy-scene{min-height:260px;max-height:260px;width:100%;max-width:390px;align-self:center;margin:4px 0 -3px}.energy-model{height:260px;width:94%;margin:auto;max-width:360px}.orbit{left:12%;width:76%;top:1%;height:97%;border-width:8px}.orbit-two{border-width:6px}.orbit-three{border-width:5px}.core{width:90px;height:90px;border-radius:23px}.core:after{inset:6px;border-radius:18px}.core>svg{width:55px;height:55px}.satellite-doc{left:5%;top:17%;width:89px;padding:11px 10px;border-radius:8px}.satellite-doc .icon{width:18px;height:18px;margin-bottom:7px}.satellite-doc span{font-size:11px;margin-bottom:6px}.satellite-doc i{height:2px;margin-top:4px}.satellite-answer{font-size:11px;gap:6px;right:0;bottom:16%;padding:8px 10px 8px 7px;border-radius:9px}.mini-check{padding:4px}.mini-check .icon{width:13px;height:13px}.node-one{width:13px;height:13px;top:8%}.node-three{width:7px;height:7px}.scene-caption,.scene-foot{display:none}.login-copy{max-width:440px;width:100%;padding:0}.login-copy h1{font-size:clamp(36px,10.2vw,48px);line-height:1.04;letter-spacing:-.04em}.desktop-break{display:none}.login-description{font-size:12px;margin-top:17px;line-height:1.7}.login-form{margin-top:24px;max-width:none}.login-form label{font-size:11px}.login-fields input{min-height:44px;font-size:14px}.login-submit{min-height:44px;font-size:13px;gap:20px;padding:10px 15px}.login-form small{font-size:11px;margin-top:12px}.login-bottom{padding-top:15px;font-size:11px}.login-bottom>div{display:none}.bottom-divider{margin:0 6px}.shell{display:block;padding:0}.rail{height:auto;position:relative;top:0;padding:18px 16px 0;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}.brand{width:156px;padding:7px 9px;margin:0}.workspace,.rail-note{display:none}.rail nav{display:flex;grid-column:1/-1;grid-row:2;gap:4px;padding:0 0 12px;justify-content:space-between}.nav{width:auto;flex:1;min-height:46px;justify-content:center;font-size:11px;gap:6px;padding:10px 8px}.nav .icon{width:18px;height:18px}.nav i{display:none}.rail-bottom{border:0;padding:0;gap:6px;margin:0;grid-column:2;grid-row:1;font-size:11px;max-width:138px}.rail-bottom>div{max-width:76px;line-height:1.4}#logout{min-width:36px;min-height:44px;padding:8px}.rail-bottom .dot{width:5px;height:5px}main{border-radius:18px 18px 0 0;padding:0 20px;box-shadow:none;min-height:calc(100svh - 144px)}header{height:50px}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 6px}.header-right{gap:5px}.model-tag{display:none}.demo-chip{font-size:11px}.view{padding:28px 0 15px}.page-heading{gap:12px;margin-bottom:24px}.page-heading h1{font-size:32px;line-height:1.13;max-width:280px}.page-heading p{font-size:12px;margin-top:12px;max-width:270px}.page-heading .secondary{min-width:44px;min-height:44px;border-radius:9px}.chat-layout{gap:23px}#messages{min-height:310px;max-height:540px;padding-right:0}.welcome{padding-top:5px}.welcome-symbol{width:40px;height:40px;margin-bottom:16px}.welcome-symbol .icon{width:36px;height:36px}.welcome h2{font-size:25px}.welcome>p{font-size:13px;margin:12px 0 20px}.suggestions b{font-size:13px}.suggestions small{font-size:11px}.suggestions button{min-height:64px;padding:13px 0}.composer{padding:12px 13px;margin-top:5px}.scope select{font-size:12px;max-width:65%;min-height:32px}.scope>span:last-child{font-size:11px}.input-row{margin-top:8px}.input-row textarea{font-size:16px;min-height:60px;padding-top:5px}.send{width:44px;height:44px}.composer-foot{font-size:11px;margin-top:8px}.composer-foot>span:last-child{display:none}.chat-disclaimer{font-size:11px;padding-top:12px}.context-panel{padding:19px 16px}.panel-title h3{font-size:13px}.counter{font-size:11px}.empty-sources p{font-size:12px}.context-footer{font-size:11px}.source-card b{font-size:13px}.source-card p{font-size:13px}.source-card small{font-size:11px}.source-card a{font-size:12px;min-height:44px;display:inline-flex;align-items:center}.answer-text{font-size:14px}.message.user{margin-left:8%}.answer-status{font-size:11px}.answer-status .text-btn{font-size:12px;min-height:44px}.loading{font-size:13px}.page-heading .primary{min-height:44px;font-size:0;padding:12px}.page-heading .primary .icon{width:20px;height:20px}.dropzone{padding:23px 18px;column-gap:13px;grid-template-columns:27px 1fr}.dropzone>.icon{width:26px;height:26px;margin-top:4px}.dropzone h2{font-size:15px}.dropzone p{font-size:12px}.dropzone small{font-size:11px;line-height:1.9}.table-head{display:block;margin-top:28px}.table-head h2{font-size:18px;margin-bottom:16px}.table-head input{font-size:14px;width:100%;min-height:44px}.doc-row{grid-template-columns:34px minmax(0,1fr) 68px;padding:18px 0;column-gap:10px;row-gap:4px}.doc-name{font-size:13px;line-height:1.6}.doc-name small{font-size:11px;line-height:1.8}.doc-state{font-size:11px}.doc-row a,.doc-row button{font-size:11px;min-height:44px;display:flex;align-items:center;justify-content:center}.file-icon{font-size:11px}.fineprint{font-size:11px}.excel-layout{gap:25px}.excel-card{padding:22px 18px}.excel-card h2{font-size:20px}.excel-card label{font-size:13px}.excel-card input,.excel-card select{font-size:14px;min-height:46px}.excel-card .primary{font-size:14px;min-height:46px}.excel-result{padding:10px 5px}.excel-result h2{font-size:29px}.excel-result p{font-size:14px}.excel-result small{font-size:12px}.result-value{font-size:54px}footer{font-size:11px;align-items:flex-start;padding:18px 0;gap:15px}footer>span:last-child{max-width:150px;text-align:right}#toast{font-size:13px;width:max-content;bottom:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}.energy-model{transform:none!important}}
/* Keep helper copy legible and the composer reachable on laptop screens. */
.breadcrumb,.model-tag,.demo-chip,.workspace small,.rail-bottom,.nav i,.scope,.scope>span:last-child,.composer-foot,.chat-disclaimer,.panel-title h3,.counter,.context-footer,.source-card small,.source-card a,.doc-name small,.doc-state,.doc-row a,.doc-row button,.fineprint,footer,.file-icon,.dropzone small,.answer-status,.message-label{font-size:11px}
@media(min-width:901px) and (max-height:800px){.view{padding-top:26px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:36px}.page-heading p{margin-top:10px}.welcome{padding:0}.welcome-symbol{display:none}.welcome h2{font-size:25px}.welcome>p{margin:9px 0 15px}.suggestions button{padding:9px 0}#messages{min-height:265px;max-height:390px;padding-bottom:15px}.context-panel{min-height:420px}.energy-scene{min-height:450px}.login-stage{padding-top:20px;padding-bottom:20px}.scene-caption{top:3px}.scene-foot{bottom:0}}
@media(max-width:650px){.breadcrumb,.demo-chip,.rail-bottom,footer{font-size:11px}.workspace small,.scope>span:last-child,.composer-foot,.chat-disclaimer,.context-footer,.doc-name small,.dropzone small{font-size:11px}.nav{font-size:12px}.nav>.icon{width:17px}.suggestions small{font-size:12px}.doc-row a,.doc-row button{font-size:12px}.panel-title h3{font-size:14px}.fineprint{font-size:12px}.login-form small{font-size:11px}}

.scene-caption,.scene-foot,.login-bottom,.login-form small{color:#c5e1ff}.login-copy h1 span{color:#addbff}.empty-sources p,.source-card p{font-size:13px}.answer-text{font-size:14px}
@media(max-width:650px){.welcome-symbol,.welcome>p{display:none}.welcome h2{font-size:22px;margin-bottom:16px}.welcome{padding-top:0}.suggestions button{min-height:62px;padding:11px 0}.page-heading h1{font-size:28px}.page-heading{margin-bottom:22px}.view{padding-top:24px}.rail nav{gap:2px}.nav{font-size:11px;white-space:nowrap;padding-left:6px;padding-right:6px}.nav[data-view=excel]{flex:1.3}.nav>.icon{width:16px}.composer{margin-top:0}.conversation #messages{min-height:0;padding-bottom:22px}.composer-foot{font-size:11px}}
/* Application entrance: compact authentication, dimensional environment. */
/* taste-skill-ignore: user explicitly retained the dimensional blue entrance; material lighting belongs only to this scene. */
.login{padding:24px 32px 20px;background:radial-gradient(ellipse at 36% 42%,#145db4,#073d8b 44%,#062e6b 85%)} /* taste-skill-ignore: dimensional entrance lighting requested by user. */
.login-top{z-index:3}.login-brand{width:180px;padding:7px 10px}.demo-label{font-size:12px}
.login-stage{display:grid;place-items:center;position:relative;max-width:none;min-height:560px;padding:48px 0;gap:0;flex:1;width:100%;margin:auto;isolation:isolate}
.energy-scene{position:absolute;inset:0;min-height:0;max-height:none;display:grid;place-items:center;perspective:1000px;z-index:-1;overflow:visible}
.energy-model{position:relative;width:740px;max-width:none;height:570px;margin:0 180px 0 0;opacity:.9}
.login-copy{width:420px;max-width:100%;margin:0;padding:34px 34px 28px;background:#fff;color:var(--ink);border-radius:16px;box-shadow:0 24px 70px #001a494d;z-index:1} /* taste-skill-ignore: the authentication panel is a real foreground overlay above the dimensional scene. */
.login-copy h1{font-size:28px;font-weight:500;line-height:1.2;letter-spacing:-.03em;text-align:left}
.login-description{font-size:13px;color:var(--muted);margin-top:12px;line-height:1.6}
.login-form{margin-top:30px;max-width:none}.login-form label{color:#3f5872;font-size:12px;margin-bottom:9px}.login-fields{display:flex;flex-direction:column;border:0;background:none;padding:0;gap:14px;border-radius:0}
.login-fields input{min-height:48px;border:1px solid #c9d9e9;background:#f8fafd;color:var(--ink);border-radius:8px;padding:13px 14px;font-size:15px;width:100%;caret-color:var(--blue)}
.login-fields input::placeholder{color:#61758b}.login-fields input:focus{outline:2px solid #4d9df5;outline-offset:2px}
.login-submit{width:100%;background:var(--blue);color:#fff;min-height:48px;padding:13px 15px;font-size:12px;font-weight:500;border-radius:8px;gap:12px}
.login-submit:hover{background:#034797;transform:none}.login-submit:hover .icon{transform:translateX(3px)}.login-submit .icon{transition:transform .2s var(--ease)}
.login-form small{font-size:11px;color:#5d738b;line-height:1.7;margin-top:18px}.login-form .error{color:var(--danger);font-size:12px;margin-top:12px}
.login-bottom{font-size:11px;border-top:0;padding-top:0;color:#c5e1ff}.login-bottom>div{display:none}
.page-heading h1{font-size:30px;letter-spacing:-.03em}.page-heading{margin-bottom:28px}.view{padding-top:30px}.page-heading p{font-size:13px;margin-top:9px}
.welcome-symbol{display:none}.welcome{padding:20px 0 14px;max-width:660px}.welcome h2{font-size:24px}.welcome>p{font-size:13px;margin:10px 0 24px}.rail-note strong{font-size:13px}.rail-note p{font-size:11px}
@media(min-width:901px) and (max-height:800px){.login-stage{min-height:480px;padding:28px 0}.energy-model{height:480px;width:660px;margin-right:150px}.login-copy{padding:28px 32px 24px}.login-form{margin-top:24px}.page-heading h1{font-size:30px}.welcome{padding-top:0}.welcome>p{margin:9px 0 15px}}
@media(max-width:900px){.login-stage{min-height:600px}.energy-model{width:620px;height:520px;margin-right:90px}.login-copy{width:390px;padding:30px}.login-copy h1{font-size:28px}.login-description{font-size:13px}.login-form{margin-top:27px}}
@media(max-width:650px){.login{padding:20px 20px 18px}.login-top{gap:16px}.login-brand{width:145px;padding:6px 9px}.demo-label{font-size:11px;max-width:115px}.login-stage{min-height:520px;padding:65px 0 55px;display:grid;place-items:center}.energy-scene{width:100%;max-width:none;min-height:0;max-height:none;margin:0;align-self:stretch}.energy-model{width:420px;height:370px;margin:0 0 160px;opacity:.8}.core{width:110px;height:110px;border-radius:28px}.orbit{width:88%;left:6%}.satellite-doc{left:0;top:3%}.satellite-answer{bottom:5%;right:-5%}.login-copy{width:100%;max-width:390px;padding:27px 24px 24px;border-radius:14px}.login-copy h1{font-size:26px}.login-description{font-size:12px;margin-top:10px}.login-form{margin-top:26px}.login-form label{font-size:12px}.login-fields input{font-size:16px;min-height:48px}.login-submit{font-size:12px;min-height:48px}.login-form small{font-size:11px;margin-top:16px}.login-bottom{font-size:11px}.page-heading h1{font-size:28px}.page-heading{margin-bottom:22px}.view{padding-top:24px}.welcome{padding-top:0}.welcome h2{font-size:22px}.welcome>p{display:none}}
.login-stage{grid-template-columns:minmax(0,1fr)}
.login .satellite{display:none}.login-bottom{border-top:0;padding-top:12px}
/* Centered kinetic sculpture; its lighting is rendered in WebGL. */
.energy-model{margin:0!important;opacity:1}.energy-scene{inset:0;perspective:1100px;pointer-events:none}.energy-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.energy-scene.is-webgl .energy-model{visibility:hidden}.login-copy{position:relative;isolation:isolate}.login-stage{overflow:visible}
@media(prefers-reduced-motion:reduce){.energy-model{animation:none!important;transform:none!important}}
.login-stage{padding-block:48px}

/* The Rosseti mark is the sole entrance sculpture. */
.login-stage{grid-template-columns:420px minmax(0,1fr);max-width:1240px;gap:72px;position:relative;min-height:650px;padding:48px 0}
.login-copy{grid-column:1;justify-self:start;z-index:1}.energy-scene{left:492px;right:0;top:0;bottom:0;width:auto;z-index:0}
.brand-fallback{width:100%;height:100%;color:#0963b8}.energy-model{width:100%;height:80%;max-width:600px}
@media(min-width:901px) and (max-height:800px){.login-stage{min-height:500px;padding:26px 0}}
@media(max-width:1100px){.login-stage{grid-template-columns:360px minmax(0,1fr);gap:28px}.login-copy{width:360px;padding:28px}.energy-scene{left:388px}}
@media(max-width:800px){.login-stage{grid-template-columns:330px minmax(0,1fr);gap:18px;min-height:620px}.login-copy{width:330px;padding:26px}.login-copy h1{font-size:26px}.energy-scene{left:348px}}
@media(max-width:650px){.login-stage{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:220px auto;gap:14px;min-height:0;padding:16px 0 22px;flex:0;width:100%}.energy-scene{position:relative;inset:auto;grid-column:1;grid-row:1;width:100%;height:220px;min-height:220px;z-index:0}.login-copy{grid-column:1;grid-row:2;width:100%;justify-self:center;padding:25px 24px}.login-bottom{margin-top:auto}.energy-model{width:220px;height:220px}}

/* Two complete reading environments, shared by sign-in and the workspace. */
:root{--surface:#fff;--field:#f8fafd;--accent-soft:#dbe8f8;--on-accent:#fff;--theme-hover:#e3edf9}
.login-tools{display:flex;align-items:center;gap:18px}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 14px;border-radius:9px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:500;white-space:nowrap}
.theme-toggle .icon{width:19px;height:19px}.theme-toggle:hover{background:var(--theme-hover)}
.login{background:#edf3f9;color:var(--ink)}.login:before{display:none}.login-bottom{color:var(--muted)}.bottom-divider{color:var(--muted)}
.login-copy{background:var(--surface);box-shadow:0 24px 70px #163f7220}.login-brand{border-radius:7px}
.login-form label{color:var(--muted)}.login-fields input{background:var(--field);border-color:var(--line)}
main{background:var(--surface)}.login-submit,.primary,.send{color:var(--on-accent)}
html[data-theme=dark]{--blue:#75b5ff;--ink:#e0eaf5;--muted:#a6b9cf;--ground:#081a30;--tint:#142a43;--line:#2d4561;--surface:#10243c;--field:#0b1c30;--accent-soft:#203e61;--on-accent:#061b34;--theme-hover:#203b58;--success:#65c9a4;--danger:#ff9aab}
html[data-theme=dark] .login{background:#081a30}
html[data-theme=dark] .login-copy{box-shadow:0 24px 70px #00000033}
html[data-theme=dark] .login-brand,html[data-theme=dark] .brand{background:#fff}
html[data-theme=dark] .nav{color:var(--muted)}
html[data-theme=dark] .nav:hover,html[data-theme=dark] .secondary:hover{background:var(--theme-hover)}
html[data-theme=dark] .nav.active,html[data-theme=dark] .demo-chip,html[data-theme=dark] .file-icon{background:var(--accent-soft);color:#b6d8ff}
html[data-theme=dark] .nav i{background:#10243c;color:var(--ink)}
html[data-theme=dark] .secondary,html[data-theme=dark] .status-pill{background:var(--tint);color:#c0d5ed}
html[data-theme=dark] .primary:hover,html[data-theme=dark] .send:hover,html[data-theme=dark] .login-submit:hover{background:#a2cdff}
html[data-theme=dark] header,html[data-theme=dark] footer,html[data-theme=dark] .rail-bottom,html[data-theme=dark] .suggestions button,html[data-theme=dark] .context-footer,html[data-theme=dark] .source-card{border-color:var(--line)}
html[data-theme=dark] .breadcrumb,html[data-theme=dark] .breadcrumb b,html[data-theme=dark] .model-tag,html[data-theme=dark] #logout,html[data-theme=dark] .suggestions small,html[data-theme=dark] .scope,html[data-theme=dark] .scope select,html[data-theme=dark] .composer-foot,html[data-theme=dark] .chat-disclaimer,html[data-theme=dark] .empty-sources,html[data-theme=dark] .empty-sources p,html[data-theme=dark] .context-footer,html[data-theme=dark] .source-card small,html[data-theme=dark] .answer-status,html[data-theme=dark] .loading,html[data-theme=dark] .dropzone small,html[data-theme=dark] .table-head h2>span,html[data-theme=dark] .doc-name small,html[data-theme=dark] .doc-row button,html[data-theme=dark] .fineprint,html[data-theme=dark] .empty,html[data-theme=dark] .excel-card label,html[data-theme=dark] .excel-result small,html[data-theme=dark] footer,html[data-theme=dark] .login-form small{color:var(--muted)}
html[data-theme=dark] .rail-note>.icon,html[data-theme=dark] .suggestions button>.icon,html[data-theme=dark] .panel-title>.icon,html[data-theme=dark] .dropzone>.icon{color:#8fb4de}
html[data-theme=dark] .text-btn:hover{color:#bddcff}
html[data-theme=dark] .suggestions button:hover,html[data-theme=dark] .dropzone:hover,html[data-theme=dark] .dropzone.dragging{background:#1a3451}
html[data-theme=dark] .composer{background:var(--field);border-color:var(--line)}
html[data-theme=dark] .composer:focus-within{border-color:var(--blue)}
html[data-theme=dark] .counter{color:#b8d2ee;border-color:var(--line)}
html[data-theme=dark] .source-visual span{background:#1a3451;border-color:#56799f}
html[data-theme=dark] .source-visual>.icon{color:var(--blue)}
html[data-theme=dark] .message.user{background:#1b3554}
html[data-theme=dark] .status-pill.grounded{background:#173c35;color:#8eddbe}
html[data-theme=dark] .status-pill.conflict{background:#44351d;color:#f0ce8f}
html[data-theme=dark] .doc-state{color:var(--success)}
html[data-theme=dark] .dropzone{border-color:#55708d}
html[data-theme=dark] .excel-card input,html[data-theme=dark] .excel-card select{background:var(--field);border-color:var(--line)}
html[data-theme=dark] ::placeholder{color:#9eb2ca}
html[data-theme=dark] ::selection{background:#315f94;color:#fff}
html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#47627e}
html[data-theme=dark] option{background:var(--field);color:var(--ink)}
html[data-theme=dark] .brand-fallback{color:#75b5ff}
@media(max-width:650px){.login-top{gap:8px}.login-tools{gap:0}.theme-toggle{padding:10px 11px;font-size:11px;gap:7px}.header-right{gap:6px}.header-right .model-tag{display:none}.header-right .theme-toggle{min-height:40px}.login-copy{box-shadow:none}}
/* Borderless monochrome brand and an icon-only theme action. */
.login-brand,.brand,html[data-theme=dark] .login-brand,html[data-theme=dark] .brand{background:transparent;padding:0;border:0;border-radius:0;box-shadow:none;color:#0757b5}
.login-brand{width:180px}.brand{width:180px}
.brand-logo{display:block;width:100%;aspect-ratio:1778/672;background:currentColor;mask:url('/static/rosseti-wordmark.svg?v=20261024-brand7') center/contain no-repeat;-webkit-mask:url('/static/rosseti-wordmark.svg?v=20261024-brand7') center/contain no-repeat}
html[data-theme=dark] .login-brand,html[data-theme=dark] .brand{color:#dce9ff}
.theme-toggle{width:44px;height:44px;min-height:44px;padding:0;gap:0;background:transparent;border-radius:50%;color:var(--ink)}.theme-toggle .icon{width:21px;height:21px}.theme-toggle:hover{background:var(--theme-hover)}
.login-copy{background:#f5f8ff}.login-fields input{background:#eaf1ff;border-color:#c6d6f3}
html[data-theme=light] .login-fields input::placeholder{color:#52677f}
html[data-theme=dark] .login{background:#08152f}
html[data-theme=dark] .login-copy{background:#12234b}
html[data-theme=dark] .login-fields input{background:#0b1938;border-color:#304b7c}
html[data-theme=dark] .login .theme-toggle{color:#dce9ff}
@media(max-width:650px){.login-brand{width:145px}.brand{width:155px}.theme-toggle,.header-right .theme-toggle{width:44px;height:44px;min-height:44px;padding:0;gap:0}}

/* The workspace uses the same blue family as the approved entrance. */
:root{--ground:#eef3ff;--tint:#f2f6ff;--field:#f5f8ff;--accent-soft:#e3ecff;--theme-hover:#e4edff}
.shell .secondary{background:#edf2ff}.shell .nav.active{background:var(--accent-soft)}
.shell .message.user{background:#eaf1ff}.shell .excel-card input,.shell .excel-card select{background:var(--field)}
html[data-theme=light] .shell ::placeholder{color:var(--muted)}
html[data-theme=dark]{--ground:#08152f;--surface:#12234b;--tint:#172d58;--field:#0b1938;--line:#304b7c;--accent-soft:#233e72;--theme-hover:#213961;--ink:#e2eaff;--muted:#aabbdc;--on-accent:#081b3d}
html[data-theme=dark] .shell .secondary{background:var(--tint)}
html[data-theme=dark] .shell .nav i{background:var(--surface)}
html[data-theme=dark] .suggestions button:hover,html[data-theme=dark] .dropzone:hover,html[data-theme=dark] .dropzone.dragging,html[data-theme=dark] .source-visual span{background:#1b3261}
html[data-theme=dark] .shell .message.user{background:#1d3665}
html[data-theme=dark] .status-pill.grounded{background:#203e70;color:#b3d3ff}
html[data-theme=dark] .doc-state{color:#a9ceff}


/* RAG library additions reuse the existing theme palette. */
.category-label{display:inline-block;margin-top:5px;padding:3px 8px;border-radius:7px;background:var(--accent-soft);color:var(--ink);font-size:12px;font-weight:500}
.doc-actions{display:flex;flex-direction:column;gap:8px}.doc-actions a,.source-card a,.answer-documents a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.source-card a{display:block;margin-top:10px}.answer-documents{display:flex;flex-direction:column;gap:8px;margin-top:12px;font-size:12px}.citation{font-weight:700;color:var(--blue)}
#upload-category,#category-filter{background:var(--field);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px;max-width:100%}.upload-category-label{display:block;margin-bottom:7px;color:var(--muted);font-size:13px}#upload-category{margin-bottom:14px}.table-head{flex-wrap:wrap;gap:12px}
.material-page{background:var(--ground);color:var(--ink)}.material-page main{max-width:960px;margin:auto;padding:32px;min-width:0}.material-page a{color:var(--blue)}.material-page h1{font-size:28px;margin:22px 0}.material-chunk{margin:20px 0;background:var(--surface);padding:20px;border:1px solid var(--line);border-radius:14px;scroll-margin:20px}.material-chunk:target{border:3px solid var(--blue)}.material-chunk h2{font-size:15px;margin-bottom:12px}.material-chunk pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65}
@media(max-width:650px){.table-head select,.table-head input{width:100%}.doc-actions{flex-direction:row;gap:18px}.material-page main{padding:18px}.material-page h1{font-size:22px}}
