:root{font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;color:#17242b;background:#f6f8fa;color-scheme:light;line-height:1.65}*{box-sizing:border-box}body{margin:0}a{color:#08765b;text-underline-offset:3px}header,main,footer{max-width:960px;margin:auto;padding:20px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe7e5}.brand{display:flex;gap:10px;align-items:center;font-weight:700;font-size:20px;text-decoration:none;color:inherit}.brand img{width:34px;height:34px;border-radius:10px}.auth{max-width:500px;margin:40px auto;padding:28px;border:1px solid #dfe7e5;border-radius:20px;background:white}h1{font-size:25px;margin:0 0 12px}.muted,footer{color:#60716d;font-size:14px}label{display:block;margin-top:16px}input:not([type=checkbox]),textarea{font:inherit;display:block;width:100%;padding:12px;border:1px solid #aabdb6;border-radius:10px;background:white;color:inherit}textarea{resize:vertical}button{font:inherit;cursor:pointer;border:0;border-radius:10px;padding:10px 20px;background:#08765b;color:white;margin-top:16px}button:disabled{opacity:.6;cursor:wait}.secondary{background:#e7efec;color:#23483b}.agreement{font-size:14px}.agreement input{margin-right:8px}.error,#status{color:#ae3030}footer{display:flex;justify-content:center;flex-wrap:wrap;gap:18px}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.toolbar>div{flex:1}.toolbar button{margin:0}.chat{max-width:860px;margin:auto}#messages{min-height:26vh;padding:20px 0;overflow-wrap:anywhere}.message{margin:16px 0;white-space:pre-wrap;padding:14px 18px;border-radius:14px;background:white;border:1px solid #e0e9e5}.message.user{background:#e0f5e9;margin-left:12%}.message.assistant{margin-right:5%}.message strong{display:block;font-size:12px;color:#48665a;margin-bottom:6px}#chat-form{background:white;border:1px solid #c5d9d0;border-radius:16px;padding:16px}#chat-form label{margin:0 0 8px}#status{min-height:26px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #54bb94;outline-offset:3px}@media(max-width:600px){header,main,footer{padding:14px}.auth{margin:16px auto;padding:20px}.toolbar h1{font-size:21px}.toolbar .muted{font-size:12px}.message.user{margin-left:6%}}
