:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#203942;background:#f3f6f7;font-size:16px}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:14px;padding:14px max(16px,calc((100vw - 880px)/2));background:#fff;border-bottom:1px solid #dce6e9;position:sticky;top:0;z-index:2}header strong{font-size:20px}header small{display:block;color:#647880;font-size:12px}#identity{margin-left:auto;font-size:12px;color:#526b74}button,.file-button,#login-link{border:0;border-radius:12px;background:#087f90;color:white;min-height:44px;padding:11px 16px;font:inherit;cursor:pointer;text-decoration:none}button:disabled{opacity:.55;cursor:wait}#logout{background:#edf3f5;color:#34535e;font-size:13px}main{max-width:880px;margin:auto;padding:18px 16px calc(16px + env(safe-area-inset-bottom))}#login{background:white;padding:28px;border-radius:18px}h1{font-size:24px}#messages{min-height:45vh;display:flex;flex-direction:column;gap:16px;padding:12px 0 24px}.message{max-width:85%;padding:12px 16px;border-radius:16px;background:white;align-self:flex-start;box-shadow:0 1px 3px #183f4810}.message.human{align-self:flex-end;background:#e0f0f2;border-bottom-right-radius:4px}.meta{font-size:12px;color:#536d75;margin-bottom:6px}.text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.file{display:block;margin-top:8px;font-size:14px;color:#096979;overflow-wrap:anywhere}.service-state{font-size:13px;color:#5d7079;border-left:3px solid #d5a443;padding:8px 12px;background:#fffaf0}.empty{color:#677f88;text-align:center;padding:40px 16px}#composer{position:sticky;bottom:0;background:#fff;border:1px solid #dce6e9;border-radius:16px;padding:12px;box-shadow:0 -5px 20px #eff3f6}textarea{width:100%;resize:vertical;max-height:220px;min-height:60px;border:0;background:transparent;font:inherit;outline-offset:2px}.actions{display:flex;align-items:center;gap:10px}#send{margin-left:auto}.hint{font-size:11px;color:#607983}.file-button{background:#eef4f5;color:#375961;font-size:14px}.file-button input{position:absolute;width:1px;height:1px;opacity:0}.file-button:focus-within{outline:2px solid #087f90}#attachments{display:flex;flex-wrap:wrap;gap:6px}.chip{font-size:12px;background:#eef4f5;border-radius:8px;padding:6px;overflow-wrap:anywhere}.chip button{min-height:32px;padding:2px 8px;background:transparent;color:#315966}#notice{color:#8a3d20;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:520px){header{padding:12px}main{padding:10px}.message{max-width:94%}.hint{display:none}header small{font-size:11px}#identity{max-width:90px}#logout{padding:8px}#composer{bottom:env(safe-area-inset-bottom)}}
