:root{font:17px/1.5 system-ui,sans-serif;color:#163f2f;background:#f4f7ee}
*{box-sizing:border-box}
body{margin:0}
header{background:#ffe34a;padding:1.4rem max(1rem,calc((100vw - 52rem)/2));color:#123f30}
header nav,.toolbar{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
header a{color:inherit;font-weight:700}
header h1{font-size:clamp(2rem,6vw,3.5rem);line-height:1.08;margin:.25em 0}
main{max-width:54rem;margin:auto;padding:1rem}
section,#chat-admin,article{background:#fff;padding:clamp(.8rem,3vw,1.4rem);border:1px solid #c7d8ca;border-radius:12px;margin:0 0 1rem}
h2,h3{margin:.1em 0 .55em}
h3,.message{overflow-wrap:anywhere}
.message{white-space:pre-wrap}
label{display:block;font-weight:650;margin-bottom:.7rem}
input,textarea{display:block;width:100%;max-width:100%;font:inherit;border:1px solid #6e887b;border-radius:6px;padding:.55rem;color:inherit}
button{font:inherit;font-weight:700;color:white;background:#086045;border:0;border-radius:7px;padding:.55rem .85rem;min-height:44px;cursor:pointer}
button:disabled{opacity:.58;cursor:default}
summary{font-weight:700;cursor:pointer;padding:.4rem 0}
.toolbar{justify-content:space-between}
.meta,.small{font-size:.88rem;color:#435f51}
.reply{margin:.75rem 0;padding:.6rem .85rem;border-left:4px solid #c4ddce;background:#f4f8f1}
.admin-button{background:#884024;margin-bottom:.4rem}
[data-feedback]:empty,#admin-status:empty{display:none}
:focus-visible{outline:3px solid #2364b2;outline-offset:3px}
