:root{color:#f4f7f8;font-synthesis:none;text-rendering:optimizelegibility;background:#0b0d0f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 10% 0,#e3272f3d,#0000 30rem),linear-gradient(135deg,#0b0d0f 0%,#111716 55%,#0b0d0f 100%);min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.authShell{place-items:center;min-height:100vh;padding:24px;display:grid}.authCard{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#080a0bc7;border:1px solid #ffffff1a;border-radius:8px;width:min(720px,100%);padding:28px}.brand{align-items:center;gap:12px;display:flex}.brand.large{margin-bottom:32px}.brandMark{color:#fff;background:#e3272f;border-radius:8px;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.brand strong,.brand span{display:block}.brand span,.eyebrow,.projectButton small,.resultEmpty p,.downloadCard p{color:#99a6a6}h1,h2,p{margin-top:0}h1{margin-bottom:18px;font-size:clamp(30px,5vw,48px);line-height:1.05}h2{margin-bottom:8px;font-size:22px}.eyebrow{text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:800}.loginForm{gap:18px;display:grid}.departmentGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.departmentButton,.secondaryButton,.projectButton,.chatComposer button,.actionRow button,.uploadButton,.submitButton{border:0;border-radius:8px;transition:background-color .16s,transform .16s,color .16s}.departmentButton{color:#d7dfdf;text-align:left;background:#ffffff14;min-height:58px;padding:12px}.departmentButton.selected,.submitButton,.chatComposer button{color:#fff;background:#e3272f}.loginForm label{gap:8px;display:grid}.loginForm label span{color:#d7dfdf;font-weight:700}.loginForm input,.chatComposer textarea{color:#f4f7f8;background:#0000003d;border:1px solid #ffffff1f;border-radius:8px;outline:none;width:100%;padding:13px 14px}.submitButton{min-height:48px;font-weight:800}.formError{color:#ff9ca0;margin:0}.botShell{grid-template-columns:300px minmax(420px,1fr) 360px;min-height:100vh;display:grid}.projectRail,.resultPane{background:#080a0bd1;padding:22px}.projectRail{border-right:1px solid #ffffff14}.resultPane{border-left:1px solid #ffffff14}.projectList{gap:10px;margin:28px 0;display:grid}.projectButton{color:#f4f7f8;text-align:left;background:#ffffff0e;gap:6px;padding:14px 46px 14px 14px;display:grid;position:relative}.projectButton:hover,.projectButton.active{background:#e3272f33;transform:translateY(-1px)}.projectButton span{font-weight:800}.projectButton em{color:#d7dfdf;background:#ffffff1a;border-radius:999px;padding:4px 7px;font-size:11px;font-style:normal;position:absolute;top:12px;right:12px}.secondaryButton{color:#d7dfdf;background:#ffffff14;width:100%;min-height:44px}.chatPane{grid-template-rows:auto 1fr auto auto;min-height:100vh;padding:22px;display:grid}.chatHeader{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:18px;display:flex}.chatHeader h1{margin-bottom:0}.modeBadge{color:#77e6a6;background:#58d68d1f;border-radius:999px;align-items:center;gap:8px;padding:8px 10px;font-weight:800;display:inline-flex}.messageList{flex-direction:column;gap:12px;padding:22px 0;display:flex;overflow-y:auto}.message{white-space:pre-wrap;border-radius:8px;max-width:min(760px,88%);padding:14px 16px}.message p{margin-bottom:0;line-height:1.55}.message.bot{background:#ffffff14;align-self:flex-start}.message.user{background:#e3272f;align-self:flex-end}.actionRow{border-top:1px solid #ffffff14;flex-wrap:wrap;gap:10px;padding:14px 0;display:flex}.actionRow button,.uploadButton,.inlineToggle{color:#f4f7f8;background:#ffffff17;align-items:center;gap:8px;min-height:44px;padding:0 14px;display:inline-flex}.uploadButton{position:relative;overflow:hidden}.uploadButton input{opacity:0;cursor:pointer;position:absolute;inset:0}.inlineToggle{border-radius:8px}.inlineToggle input{accent-color:#e3272f;width:18px;height:18px}.chatComposer{border-top:1px solid #ffffff14;grid-template-columns:minmax(0,1fr) 132px;gap:10px;padding-top:14px;display:grid}.chatComposer textarea{resize:vertical}.chatComposer button{justify-content:center;align-items:center;gap:8px;min-height:52px;font-weight:800;display:inline-flex}.resultEmpty,.resultStack{background:#ffffff0e;border:1px solid #ffffff1a;border-radius:8px;padding:18px}.resultEmpty svg{color:#ff6a70;margin-bottom:14px}.progressTrack{background:#ffffff14;border-radius:999px;height:10px;overflow:hidden}.progressFill{border-radius:inherit;background:linear-gradient(90deg,#e3272f,#58d68d);height:100%;transition:width .22s}.jobMeta{color:#99a6a6;justify-content:space-between;margin:10px 0 18px;display:flex}.eventList{gap:10px;display:grid}.eventItem{grid-template-columns:80px minmax(0,1fr);gap:10px;display:grid}.eventItem span{color:#99a6a6;font-variant-numeric:tabular-nums}.eventItem p{margin-bottom:0}.downloadCard{color:inherit;background:#58d68d1f;border-radius:8px;gap:12px;margin-top:18px;padding:14px;text-decoration:none;transition:background-color .16s,transform .16s;display:flex}.downloadCard:hover{background:#58d68d2e;transform:translateY(-1px)}.downloadCard svg{color:#77e6a6;flex:none}.historyPanel{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;margin-top:14px;padding:16px}.historyList{gap:10px;display:grid}.historyItem{background:#0000002e;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.historyItem strong,.historyItem span{display:block}.historyItem span{color:#99a6a6;margin-top:4px;font-size:13px}.historyItem a{color:#77e6a6;font-size:13px;font-weight:800;text-decoration:none}@media (width<=1180px){.botShell{grid-template-columns:260px minmax(0,1fr)}.resultPane{border-top:1px solid #ffffff14;border-left:0;grid-column:1/-1}}@media (width<=760px){.authCard,.projectRail,.chatPane,.resultPane{padding:16px}.departmentGrid,.botShell,.chatComposer{grid-template-columns:1fr}.projectRail{border-bottom:1px solid #ffffff14;border-right:0}.chatPane{min-height:72vh}.message{max-width:96%}}
