:root{font-family:Inter,"Segoe UI",sans-serif;color:#242c29;background:#eeeae3;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}main{max-width:900px;height:100vh;height:100dvh;margin:auto;background:#fcfbf7;display:grid;grid-template-rows:auto 1fr auto;box-shadow:0 0 70px #3832280e}
header,footer{padding:20px clamp(16px,5vw,48px)}header{border-bottom:1px solid #deded4;display:flex;align-items:center;justify-content:space-between;gap:8px}.brand{display:flex;align-items:center;gap:10px;font-weight:650}.mark,.send{background:#245743;color:white;border-radius:12px}.mark{display:grid;place-items:center;width:35px;height:35px;font-size:26px}
button,textarea{font:inherit}button{cursor:pointer;border:1px solid #c7cfc5;border-radius:20px;background:transparent;color:#254e3f;padding:8px 14px}button:hover{background:#e6eee4}button:disabled{opacity:.55;cursor:wait}button:focus-visible,textarea:focus-visible{outline:2px solid #397d60;outline-offset:2px}
#thread{overflow:auto;padding:18px clamp(16px,7vw,66px)}#intro{text-align:center;margin:clamp(28px,12vh,110px) auto 20px}.symbol{font-size:52px;color:#357259}h1{font:normal clamp(34px,6vw,58px)/1.1 Georgia,serif;letter-spacing:-.045em;margin:14px 0}p,small,#status{color:#526259}.suggestions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:26px}
.message{margin:18px 0;max-width:88%;width:fit-content}.message strong{font-size:12px;color:#516659}.message div{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin-top:5px;padding:12px 16px;border-radius:16px;background:#eeefe8}.message.user{margin-left:auto}.message.user div{background:#dfece0}
footer{border-top:1px solid #deded4;padding-bottom:max(15px,env(safe-area-inset-bottom))}form{display:flex;align-items:flex-end;gap:8px;background:white;border:1px solid #aebcaf;border-radius:19px;padding:9px}textarea{flex:1;min-width:0;resize:vertical;max-height:14vh;border:none;background:none;color:inherit;padding:7px}.send{width:42px;height:42px;border:none;font-size:24px;padding:0}.send:hover{background:#386e56}small{display:block;font-size:12px;margin:8px 6px 0}#status:not(:empty),#retry{margin-bottom:9px}
@media(max-width:480px){header,footer{padding:12px}.brand{font-size:14px}header button{font-size:13px}#thread{padding:12px}.message{max-width:95%}}
.embedded .brand{font-size:13px}.embedded header{padding:8px 12px}.embedded .mark{display:none}.embedded #intro{margin:18px 0}.embedded .symbol{font-size:32px}.embedded h1{font-size:32px}.embedded #thread{padding:12px}.embedded footer{padding:9px}.embedded .suggestions{margin-top:12px}
