:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#172b43;background:#f6f8fb}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}aside{width:285px;flex-shrink:0;background:#102b49;color:#f3f7fc;padding:30px 22px;display:flex;flex-direction:column;gap:22px;height:100vh;position:sticky;top:0}a{color:inherit}.brand{text-decoration:none;font-weight:800;font-size:24px}.brand span{font-weight:400}.brand small{display:block;font-size:11px;letter-spacing:4px;color:#a8c5e0;margin-top:7px}footer{margin-top:auto;font-size:12px;line-height:1.9;color:#acc0d4}button,.primary{border:0;border-radius:9px;padding:12px 17px;font:inherit;cursor:pointer;background:#176b85;color:white;text-decoration:none;display:inline-block}button:hover,.primary:hover{filter:brightness(1.12)}button:disabled{opacity:.5;cursor:wait}main{max-width:1100px;width:100%;padding:42px 6%;margin:0 auto}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:44px;gap:20px}#eyebrow{font-size:11px;letter-spacing:2px;color:#587088}h1{font-size:30px;margin:10px 0}h2{font-size:24px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0}.choices a{background:white;padding:25px;border:1px solid #dce4ed;border-radius:14px;text-decoration:none;line-height:1.6}.choices strong{font-size:19px}.choices a:hover{border-color:#176b85}.muted,.notice{font-size:13px;color:#5a6d81;line-height:1.6}.notice{background:#e8eff6;padding:13px 16px;border-radius:9px}#login{max-width:600px;line-height:1.7}.message{margin:22px 0;padding:20px;border:1px solid #e0e6ed;border-radius:12px;background:white;overflow-wrap:anywhere}.message.user{background:#e8f1f4;border-color:transparent;margin-left:35px}.message strong.label{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#547184;display:block;margin-bottom:10px}.body{white-space:pre-wrap;line-height:1.65;font-size:15px}.sources{display:flex;flex-direction:column;gap:7px;margin-top:16px;font-size:13px}.sources a{color:#126680}form{display:flex;gap:12px;position:sticky;bottom:0;background:#f6f8fb;padding:15px 0}textarea{flex:1;resize:vertical;min-height:64px;border:1px solid #c6d4df;border-radius:10px;padding:14px;font:inherit;background:white}textarea:focus{outline:2px solid #176b85}#history{overflow:auto;display:flex;flex-direction:column;gap:7px}#history button{font-size:13px;text-align:left;background:transparent;border:1px solid #29445f;padding:11px;overflow-wrap:anywhere}#history button.active{background:#254966}#account{font-size:13px;color:#bfd3e5}#logout{font-size:13px;background:#e3eaf1;color:#243c53}.danger{background:transparent;color:#a02f3c;font-size:12px;padding-left:0}#status{color:#8e3131;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:760px){body{display:block}aside{width:100%;height:auto;position:static;padding:18px;gap:14px}footer{display:none}#history{max-height:180px}main{padding:24px 20px}.choices{grid-template-columns:1fr}header{margin-bottom:24px}h1{font-size:25px}form{gap:7px}.message.user{margin-left:12px}}
