:root{font:16px system-ui,sans-serif;color:#e7edf7;background:#0b1220}*[hidden]{display:none!important}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:0;border-radius:9px;padding:.65rem 1rem;background:#5c82fa;color:#fff;cursor:pointer}button:hover{filter:brightness(1.12)}button:disabled{opacity:.5;cursor:default}.quiet{background:#25324a}.danger{background:#bd3b4d}input,select,textarea{border:1px solid #33435c;background:#111c2e;color:#edf3ff;border-radius:8px;padding:.65rem;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #5c82fa}h1{font-size:1.7rem}p{color:#a8b8d0}.error{color:#ff8895}.login{min-height:100vh;display:grid;place-items:center;padding:1rem}.card{width:min(100%,420px);background:#18243a;border:1px solid #30415e;border-radius:16px;padding:2rem;display:grid;gap:1rem}.card input,.card button{width:100%}header{height:66px;display:flex;align-items:center;gap:1rem;padding:0 1.5rem;border-bottom:1px solid #30415e}header strong{font-size:1.2rem}header span{margin-left:auto;color:#9fb0c9}nav{display:flex;gap:.5rem;padding:.75rem 1.5rem;border-bottom:1px solid #30415e}nav button{background:transparent;color:#b5c6df}nav .selected{background:#263a60;color:#fff}main{height:calc(100vh - 127px)}section{height:100%}#assistantPanel{display:flex;flex-direction:column}.toolbar{display:flex;align-items:center;gap:.75rem;padding:1rem 1.5rem;flex-wrap:wrap}.toolbar label{display:flex;align-items:center;gap:.5rem}.toolbar input{min-width:280px}.messages{flex:1;overflow:auto;padding:1rem max(1.5rem,calc((100vw - 900px)/2));display:flex;flex-direction:column;gap:1rem}.hint{color:#9fb0c9;margin:auto;text-align:center}.message{max-width:90%;white-space:pre-wrap;overflow-wrap:anywhere;padding:1rem;border-radius:12px;line-height:1.5}.user{align-self:flex-end;background:#274578}.ai{align-self:flex-start;background:#1b2b42}.composer{display:flex;gap:.75rem;padding:1rem max(1.5rem,calc((100vw - 900px)/2));border-top:1px solid #30415e}.composer textarea{flex:1;resize:vertical;min-height:80px}.composer button{align-self:flex-end}#filesPanel{overflow:auto}#filePath{flex:1}.fileRow{display:flex;gap:1rem;align-items:center;padding:.6rem 1.5rem;border-bottom:1px solid #273650}.fileRow button{background:none;text-align:left;padding:.3rem;color:#dce8fb}.fileRow span{margin-left:auto;color:#8fa2be}#editor{padding:0 1.5rem 1.5rem}#editor .toolbar{padding-left:0}#content{width:100%;height:50vh;font-family:ui-monospace,monospace;resize:vertical}@media(max-width:600px){.toolbar label{width:100%}.toolbar input{min-width:0;flex:1}.message{max-width:100%}header{padding:0 .75rem}nav{padding:.5rem}#account{display:none}}
:root{--attachment-border:#3b5276}
.composeBody{display:flex;flex:1;min-width:0;flex-direction:column;gap:.5rem}.composeBody textarea{width:100%}.attachButton{display:inline-block;border:1px solid var(--attachment-border);border-radius:8px;padding:.4rem .7rem;cursor:pointer;color:#dbe7fc}.attachButton:hover{background:#253a59}#attachmentBar{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}#attachmentList{display:flex;gap:.4rem;flex-wrap:wrap}.attachmentChip{display:inline-flex;align-items:center;gap:.25rem;border:1px solid var(--attachment-border);border-radius:20px;padding:.2rem .5rem;color:#dbe7fc;font-size:.88rem}.attachmentChip button{background:transparent;padding:0 .25rem;color:#ff9ba6}
.settings{overflow:auto;padding:1rem 1.5rem;max-width:980px;margin:auto}.settings h2{margin:1rem 0}.settings h3{margin:2rem 0 .5rem}.settingsForm{display:flex;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.settingsForm input{flex:1;min-width:240px}.settings code{color:#c8dbff}#loginOutput{white-space:pre-wrap;word-break:break-word;background:#15233a;border:1px solid #33435c;border-radius:8px;padding:1rem;min-height:90px;max-height:300px;overflow:auto}nav{overflow-x:auto}
#loginTerminal{height:360px;background:#101827;border:1px solid #33435c;border-radius:8px;padding:.75rem;overflow:hidden}#loginTerminal .xterm{height:100%}
