*{box-sizing:border-box}body{margin:0;font:16px system-ui,Arial,sans-serif;background:#f2f4ef;color:#243326;display:flex;flex-direction:column;height:100vh;height:100dvh}header,footer{padding:10px;background:#386953;color:white}header{display:flex;justify-content:space-between;align-items:center}header strong{font-size:20px}small{display:block;font-size:12px}button,input,textarea,select{font:inherit}button{border:0;border-radius:12px;background:#386953;color:white;padding:12px;cursor:pointer;min-height:44px}.quiet{background:#ffffff20}#messages{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.bubble{background:white;border-radius:14px;padding:10px 12px;max-width:85%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere}.mine{background:#d1e8c8;align-self:flex-end}.bubble small{text-align:right;color:#526357;margin-top:5px}footer{background:#fff;color:#243326;border-top:1px solid #ddd}#compose{display:flex;gap:6px;align-items:center}textarea{flex:1;min-width:0;resize:none;border:1px solid #ccc;border-radius:12px;padding:10px;min-height:44px}#toggle{background:#edf1e9;color:#243326}#emoji:not([hidden]){display:flex;flex-wrap:wrap;gap:4px;padding-bottom:8px}.emoji{background:#edf1e9;font-size:23px;padding:6px;min-width:44px}.login{margin:auto;width:100%;max-width:360px;padding:24px}.login h1{font-size:28px}.login label{display:block;margin:16px 0}.login input,.login select{display:block;width:100%;padding:12px;border:1px solid #ccc;border-radius:10px;margin-top:6px}.login button{width:100%}#error{color:#a32222}
