:root{color:#1f2933;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}.shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-panel{width:min(420px,100%);display:grid;gap:28px}.login-logo{width:min(280px,72vw);justify-self:center;filter:drop-shadow(0 18px 26px rgba(255,255,255,.95)) drop-shadow(0 26px 34px rgba(31,122,140,.18))}.login-form{display:grid;gap:16px;padding:28px;background:#fff;border:1px solid #e1e6ed;border-radius:8px;box-shadow:0 18px 60px #1f293314}label{display:grid;gap:7px;font-size:.9rem;color:#52616f}input,textarea{width:100%;border:1px solid #c9d3df;border-radius:8px;color:#1f2933;background:#fff;outline:0}input{height:44px;padding:0 12px}textarea{min-height:50px;max-height:180px;resize:vertical;padding:12px;line-height:1.45}input:focus,textarea:focus{border-color:#1f7a8c;box-shadow:0 0 0 3px #1f7a8c24}.login-form button,.composer-actions button{min-height:42px;padding:0 18px;color:#fff;background:#1f7a8c;border-radius:8px;font-weight:700}.error{margin:0;color:#b42318}.chat-app{width:min(1040px,100%);height:min(860px,calc(100vh - 32px));min-height:520px;display:grid;grid-template-rows:auto 1fr auto;background:#fff;border:1px solid #e1e6ed;border-radius:8px;overflow:hidden;box-shadow:0 18px 70px #1f29331a}.topbar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;border-bottom:1px solid #e8edf2}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand img{width:132px;flex:0 0 auto;filter:drop-shadow(0 12px 18px rgba(255,255,255,.98)) drop-shadow(0 18px 24px rgba(31,122,140,.16))}.brand strong,.brand span{display:block}.brand strong{font-size:1.05rem}.brand span{color:#657383;font-size:.9rem}.ghost-button{min-height:38px;padding:0 14px;color:#52616f;background:#f1f4f7;border-radius:8px}.messages{overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:14px;background:linear-gradient(#fff,#ffffffeb),#f6f7f9}.message{display:flex}.message.user{justify-content:flex-end}.bubble{width:fit-content;max-width:min(720px,86%);padding:13px 15px;border-radius:8px;line-height:1.5}.assistant .bubble{background:#eef4f5;color:#1f2933}.user .bubble{background:#1f7a8c;color:#fff}.bubble p{margin:0;white-space:pre-wrap}.thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.thumbs img,.attachments img{width:112px;height:76px;object-fit:cover;border-radius:6px;border:1px solid rgba(31,41,51,.16)}.composer{display:grid;gap:10px;padding:16px;border-top:1px solid #e8edf2;background:#fff}.attachments{display:flex;flex-wrap:wrap;gap:10px}.attachments figure{position:relative;margin:0}.attachments figure button{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:999px;color:#fff;background:#293845}.composer-actions{display:flex;justify-content:space-between;gap:12px}.file-button{min-height:42px;width:fit-content;display:inline-flex;align-items:center;padding:0 14px;color:#1f7a8c;background:#e8f3f5;border-radius:8px;font-weight:700}.file-button input{display:none}.hint{margin:0;color:#657383;font-size:.88rem}@media (max-width: 680px){.shell{padding:0}.chat-app{height:100vh;min-height:100vh;border:0;border-radius:0}.topbar{padding:12px}.brand img{width:104px}.brand span{display:none}.messages{padding:16px 12px}.bubble{max-width:92%}}
