:root{font-family:system-ui,sans-serif;color:#20333d;background:#f2f5f7;color-scheme:light}*{box-sizing:border-box}body{margin:0}main{max-width:720px;margin:auto;background:white;min-height:100dvh;padding:20px}h1{margin:0;font-size:26px}header p,footer{color:#536672;font-size:14px;line-height:1.5}#messages{min-height:35vh;padding:10px 0}.message{padding:13px 15px;border-radius:16px;background:#edf3f7;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.message.user{background:#dff2e8;margin-left:28px}.buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}button,.buttons a{border:1px solid #b9ccd7;background:white;color:#153e54;border-radius:12px;padding:12px;font:inherit;cursor:pointer;text-decoration:none}button:disabled{opacity:.5;cursor:wait}textarea{display:block;width:100%;font:inherit;padding:12px;border-radius:12px;border:1px solid #a4b7c2;resize:vertical;margin:7px 0}.tools{display:flex;gap:8px;flex-wrap:wrap}#send{background:#126447;color:white;border-color:#126447;margin-left:auto}#status{color:#8a3e17;min-height:24px}footer{padding-top:16px}a{color:#075475}#composer{position:sticky;bottom:0;background:white;padding:10px 0}@media(max-width:430px){main{padding:14px}button{padding:10px}.tools{gap:6px}}
:root #messages{height:50dvh;min-height:240px;overflow-y:auto;overscroll-behavior:contain}
#composer{position:relative;bottom:auto}
