:root{color-scheme:dark;font:15px system-ui,sans-serif;background:#0d111b;color:#e6eef7}*{box-sizing:border-box}body{margin:0}header{min-height:76px;border-bottom:1px solid #273044;display:flex;align-items:center;justify-content:space-between;padding:16px 28px;gap:12px}header strong{font-size:21px}small{display:block;font-size:12px;color:#9cacbf;font-weight:400;line-height:1.6}nav{display:flex;gap:8px;flex-wrap:wrap}button{background:#202c3f;color:#e6eef7;border:1px solid #34455d;border-radius:10px;padding:10px 13px;cursor:pointer;font:inherit}button:hover{border-color:#5eead4}button:disabled{opacity:.5;cursor:wait}.primary{background:#127b70;border-color:#2c9f91}main{display:grid;grid-template-columns:245px 1fr;max-width:1320px;margin:auto;height:calc(100dvh - 78px)}aside{padding:24px 18px;border-right:1px solid #273044;overflow:auto}h2{font-size:17px}#chats{display:grid;gap:8px;margin-bottom:24px}#chats button{text-align:left;overflow-wrap:anywhere}.conversation{padding:20px 28px;display:flex;flex-direction:column;min-height:0;min-width:0}#messages{flex:1;overflow:auto;display:flex;flex-direction:column;gap:18px;padding:12px 0 24px}.bubble{padding:15px 18px;border-radius:16px;max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.user{background:#14584f;align-self:flex-end}.assistant{background:#192333;align-self:flex-start}.sources{margin-top:12px;border-top:1px solid #40506a;padding-top:8px;display:grid;gap:6px}.sources a{color:#8ce7d9}#form{display:flex;gap:10px}textarea,input{font:inherit;background:#111b2a;color:#e6eef7;border:1px solid #3b4d66;border-radius:10px;padding:12px}textarea{width:100%;resize:vertical;min-height:80px;max-height:240px}input:not([type=checkbox]){display:block;width:100%;margin:8px 0 15px}.search{display:flex;align-items:center;gap:7px;margin:12px 0;font-size:13px}dialog{background:#141e2d;color:#e6eef7;border:1px solid #3b4d66;border-radius:20px;width:min(680px,94vw);max-height:88dvh;padding:28px}dialog::backdrop{background:#020711e8}dialog button{margin:6px 4px 6px 0}dialog form{display:grid;gap:10px}#login{max-width:420px}#login h1{font-size:27px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0d1522;padding:14px;border-radius:10px;max-height:350px;overflow:auto}.proposal{border:1px solid #3b4d66;padding:12px;margin:10px 0;border-radius:10px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}#tests label{display:block;margin:12px 0}#status{margin:15px 0}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #5eead4;outline-offset:3px}@media(max-width:700px){header{padding:12px;align-items:flex-start}header strong{font-size:18px}nav{gap:4px;justify-content:flex-end}nav button{font-size:12px;padding:8px}main{grid-template-columns:1fr;height:calc(100dvh - 85px)}aside{padding:10px 12px;border-right:0;border-bottom:1px solid #273044;max-height:135px}aside h2{display:none}#chats{display:flex;overflow:auto;margin:7px 0 0}#chats button{white-space:nowrap;max-width:200px;overflow:hidden;flex-shrink:0}#status{margin:4px 0}main{display:flex;flex-direction:column}.conversation{padding:10px 12px;flex:1}.bubble{max-width:96%;padding:12px}dialog{padding:20px}#prompt{min-height:64px}}
/* Catarina: vector mascot, useful shortcuts, no tracking or external assets. */
:root{--accent:#72e6cc;--violet:#b4a9eb}header strong{color:#f4f0ff}#catWidget{position:fixed;left:20px;bottom:22px;z-index:5}#catToggle{position:relative;border:1px solid #8f82bc;background:#20203b;border-radius:23px;padding:0;width:68px;height:68px;box-shadow:0 8px 30px #0005}#catToggle img{display:block;border-radius:21px}#catToggle:hover img{transform:translateY(-2px)}.cat-signal{position:absolute;right:2px;bottom:3px;width:10px;height:10px;border-radius:50%;background:var(--accent);border:2px solid #172132}#catWidget.thinking .cat-signal{background:#e4bd77;animation:cat-pulse 1s ease-in-out infinite}#catPanel{width:265px;background:#171f30;border:1px solid #60587c;border-radius:18px;padding:20px;margin-bottom:12px;box-shadow:0 12px 42px #0007}#catPanel strong{font-size:19px;color:#e7dfff}#catPanel p{font-size:14px;color:#adb9cc}#catPanel>button:not(#catClose){display:block;width:100%;text-align:left;margin:7px 0}#catClose{float:right;font-size:22px;padding:0 8px;border:0;background:transparent}#catState{margin-top:12px}.knowledge-card{padding:14px;border:1px solid #34455d;border-radius:12px;margin:12px 0}.knowledge-card p{white-space:pre-wrap;overflow-wrap:anywhere}.knowledge-card button{margin:5px}#knowledgeList,#archiveResults{max-height:42dvh;overflow:auto}#archiveResults a{color:var(--accent)}.archive-item{border-bottom:1px solid #34455d;padding:12px 0}.archive-item small{margin-top:6px}@keyframes cat-pulse{50%{opacity:.4}}@media(prefers-reduced-motion:reduce){#catWidget *{animation:none!important;transition:none!important}}@media(max-width:700px){#catWidget{left:auto;right:15px;bottom:164px}#catToggle{width:52px;height:52px;border-radius:18px}#catToggle img{width:50px;height:50px;border-radius:17px}#catPanel{width:min(275px,85vw)}nav{max-width:240px}header{min-height:92px}main{height:calc(100dvh - 94px)}}
body:not(.app-ready)>header,body:not(.app-ready)>main,body:not(.app-ready)>#catWidget{visibility:hidden}#welcome{width:min(520px,94vw);padding:34px;background:radial-gradient(ellipse at top right,#30294c 0,transparent 55%),#131d2b}#welcome h1{font-size:36px;letter-spacing:-1.3px;line-height:1.15;margin:12px 0 18px}#welcome>p:not(.eyebrow){color:#b2bfd0;line-height:1.7}#welcome>button{display:block;width:100%;margin:12px 0;padding:14px}#welcome small{margin-top:16px}.welcome-mark img,.login-cat{border-radius:24px;box-shadow:0 10px 35px #0004}.eyebrow{color:#b4a9eb;font-size:11px;letter-spacing:2px;font-weight:700}.setup-steps{display:flex;gap:10px;margin:22px 0 14px}.setup-steps span{flex:1;font-size:12px;color:#a7b5c8;padding:9px 12px;border:1px solid #34455d;border-radius:9px}.setup-steps .active{color:#83ead4;border-color:#398b80;background:#18312f}#installHelp{background:#0e1724;border:1px solid #2b3b50;border-radius:12px;padding:8px 14px;font-size:12px;color:#acbace;line-height:1.6}#login{background:radial-gradient(ellipse at top right,#2d2647 0,transparent 55%),#141e2d}#login h1{font-size:29px;letter-spacing:-.7px}#loginForm button{width:100%}#backToInstall{border:0;background:transparent;color:#a9c0cf;padding-left:0}@media(max-width:700px){#welcome{padding:24px}#welcome h1{font-size:31px}header strong{max-width:110px}}
