:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#e9eef8;background:#0b1421}*{box-sizing:border-box}body{margin:0}.hidden{display:none!important}button,input,textarea{font:inherit}button{cursor:pointer}.app{display:flex;height:100dvh}.sidebar{width:288px;flex-shrink:0;background:#111f31;border-right:1px solid #24354b;display:flex;flex-direction:column;padding:24px 17px;gap:19px}.brand{font-size:26px;font-weight:700;display:flex;align-items:center;gap:13px;padding:3px 12px}.brand-icon,.logo,.welcome-mark{color:#f3c67e}.brand-icon{font-size:30px}.new-chat{padding:13px 16px;text-align:left;border:1px solid #37506a;color:#e9eef8;background:#1c2c40;border-radius:13px}.new-chat:hover,.chat-item:hover{background:#2a3d54}.sidebar-label{font-size:11px;color:#8297ae;letter-spacing:.14em;text-transform:uppercase;padding:0 10px}.chat-list{overflow:auto;flex:1;min-height:0}.chat-item{border:0;color:#b8c7db;background:transparent;width:100%;padding:13px 12px;border-radius:10px;text-align:left;display:flex;gap:8px;align-items:center}.chat-item.selected{background:#2c4059;color:white}.chat-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1}.del-chat{padding:2px 5px;color:#96a9bf;background:transparent;border:0}.sidebar-bottom{border-top:1px solid #2a4058;padding:16px 10px 0;display:flex;justify-content:space-between;align-items:center}.private{font-size:12px;color:#8bcdb6}.text-btn{border:0;background:none;color:#b9cce3;font-size:12px}.main{display:flex;flex-direction:column;flex:1;min-width:0;background:radial-gradient(ellipse at 55% 16%,#172940 0%,#0c1625 60%)}header{height:78px;display:flex;align-items:center;gap:14px;padding:0 35px;border-bottom:1px solid #25374d}header strong{font-size:18px}.subtitle{font-size:12px;color:#8fa4bc;margin-top:3px}.status{margin-left:auto;color:#80d7ae;font-size:12px}.messages{flex:1;overflow:auto;display:flex;flex-direction:column;gap:24px;padding:34px max(25px,calc((100% - 800px)/2))}.welcome{margin:auto;text-align:center;max-width:540px}.welcome-mark{font-size:58px}.welcome h1{font-size:42px;font-weight:600;margin:8px}.welcome p{color:#91a5bf;line-height:1.7}.suggestions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:25px}.suggestions button{background:#192a40;border:1px solid #344a65;color:#dae4f2;border-radius:24px;padding:11px 15px}.bubble{max-width:92%;padding:16px 20px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:18px}.bubble.user{background:#284968;align-self:flex-end;border-bottom-right-radius:5px}.bubble.assistant{background:#1b2a3c;border:1px solid #2e4158;align-self:flex-start;border-bottom-left-radius:5px}.who{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a4bbd2;margin-bottom:5px}.composer{display:flex;align-items:flex-end;margin:0 auto;width:min(850px,calc(100% - 40px));border:1px solid #3b5069;border-radius:19px;background:#1a2a3e;padding:10px}.composer textarea{resize:none;flex:1;min-height:35px;max-height:160px;color:#fff;background:transparent;border:0;outline:0;padding:10px;line-height:1.5}.composer button{width:41px;height:41px;border:0;border-radius:12px;background:#e8bf82;color:#192739;font-size:20px}.composer button:disabled{opacity:.5}.footnote{text-align:center;color:#60768f;font-size:11px;padding:13px}.login{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 50% 10%,#203955,#0b1421 65%);padding:20px}.login-card{width:min(100%,400px);text-align:center;background:#17283b;border:1px solid #32465f;border-radius:25px;padding:40px 28px;box-shadow:0 25px 80px #050b15}.logo{font-size:60px}.login h1{margin:10px 0}.login p{color:#91a7c1}.login form{display:grid;gap:14px;margin-top:30px}.login input{background:#101d2d;color:white;border:1px solid #425571;border-radius:12px;padding:15px}.login form button{background:#ecc98e;border:0;border-radius:12px;padding:15px;font-weight:700;color:#182b3d}.error{color:#ffa6aa!important;min-height:20px;font-size:13px}.menu-toggle,.mobile-close{display:none}.loading{opacity:.65;font-style:italic}@media(max-width:700px){.sidebar{position:fixed;inset:0 auto 0 0;z-index:10;transform:translateX(-100%);transition:transform .2s;width:min(85vw,320px);box-shadow:15px 0 45px #060c17}.sidebar.open{transform:translateX(0)}.menu-toggle,.mobile-close{display:block;background:transparent;border:0;color:#d9e4ef;font-size:24px}.mobile-close{margin-left:auto}header{height:67px;padding:0 18px}.messages{padding:23px 16px}.welcome h1{font-size:34px}.bubble{max-width:97%}.composer{width:calc(100% - 20px)}.status{font-size:10px}}
