:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC",sans-serif;color:#1d1d1f;background:#f5f5f7}*{box-sizing:border-box}body{margin:0;min-height:100vh}.hidden{display:none!important}.login-card{width:min(380px,calc(100% - 40px));margin:14vh auto 0;text-align:center;background:#fff;padding:42px 36px;border-radius:28px;box-shadow:0 20px 60px #00000012}.mark{margin:auto;width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:#111;color:#fff;font-size:28px}.login-card h1{margin:22px 0 6px;font-size:30px}.login-card p{color:#86868b;margin:0 0 28px}.login-card form{display:grid;gap:12px}.login-card input,.composer textarea{border:1px solid #d2d2d7;border-radius:12px;padding:14px;font:inherit;outline:none}.login-card input:focus,.composer textarea:focus{border-color:#0071e3;box-shadow:0 0 0 3px #0071e322}.login-card button,.new-chat{border:0;border-radius:12px;padding:14px;background:#0071e3;color:#fff;font-weight:600;font-size:15px;cursor:pointer}.login-card small{color:#d70015;min-height:18px}.workspace{height:100vh;display:flex}aside{width:270px;padding:24px 16px;background:#ededf0;border-right:1px solid #d8d8dc;display:flex;flex-direction:column;gap:18px}.brand{font-size:20px;font-weight:700;display:flex;gap:9px;align-items:center;padding:0 10px}.mark.small{width:28px;height:28px;border-radius:9px;font-size:14px}.new-chat{background:#fff;color:#1d1d1f;text-align:left}.new-chat:hover{background:#f7f7f8}nav{display:grid;gap:4px;overflow:auto}.chat-item{border:0;background:none;text-align:left;font:inherit;padding:11px 12px;border-radius:10px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-item.active{background:#d9d9de;font-weight:600}.logout{margin-top:auto;border:0;background:none;color:#6e6e73;padding:12px;text-align:left;cursor:pointer}.chat{flex:1;min-width:0;display:flex;flex-direction:column;background:#fff}header{height:76px;padding:18px 30px;border-bottom:1px solid #ededf0;display:flex;align-items:center;justify-content:space-between}header h2{font-size:18px;margin:0 0 3px}header span{font-size:12px;color:#86868b}.file-button{background:#f5f5f7;padding:10px 14px;border-radius:10px;font-size:13px;cursor:pointer}.file-button input{display:none}.messages{flex:1;overflow:auto;padding:38px clamp(18px,8vw,130px)}.welcome{text-align:center;color:#86868b;margin:18vh auto}.welcome-icon{font-size:35px;color:#111}.welcome h3{color:#1d1d1f;font-size:24px;margin:12px 0 8px}.message{max-width:780px;margin:0 auto 24px;display:flex;gap:12px}.message .avatar{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-size:13px}.message.user .avatar{background:#0071e3}.message-body{white-space:pre-wrap;line-height:1.65;padding-top:3px}.composer{display:flex;gap:10px;align-items:flex-end;margin:0 auto 8px;width:min(860px,calc(100% - 36px));border:1px solid #d2d2d7;border-radius:17px;padding:8px 8px 8px 15px;box-shadow:0 5px 20px #0000000b}.composer textarea{border:0;box-shadow:none;resize:none;flex:1;padding:7px 0;max-height:160px}.composer textarea:focus{box-shadow:none}.composer button{width:35px;height:35px;border:0;border-radius:50%;background:#0071e3;color:#fff;font-size:20px;cursor:pointer}.composer button:disabled{background:#d2d2d7}.files{min-height:34px;width:min(860px,calc(100% - 36px));margin:0 auto 14px;display:flex;gap:7px;flex-wrap:wrap}.file-chip{font-size:12px;background:#f5f5f7;padding:7px 10px;border-radius:8px;color:#424245}@media(max-width:700px){aside{width:210px;padding:18px 10px}.messages{padding:24px 14px}header{padding:15px}.login-card{margin-top:9vh}}
