:root{color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#172b38;background:#f5f7f8;line-height:1.6;font-size:16px}*{box-sizing:border-box}body{margin:0}header,main,footer,#feedback{max-width:1040px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #cdd7de;font-size:14px}.brand{font-weight:750;color:#174d5e}h1{font-size:clamp(26px,4vw,38px);line-height:1.2;max-width:800px;margin:8px 0 18px}h2{font-size:22px;line-height:1.3}h3{font-size:16px;margin:22px 0 7px}p{margin:8px 0 14px;max-width:78ch}section,article,.card{background:white;border:1px solid #d9e1e5;border-radius:12px;padding:22px;margin:18px 0}article section{padding:14px}.notice{background:#fff8e7;border:1px solid #dfc88a;border-left:4px solid #916808;padding:16px;border-radius:8px}.progress{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.progress progress{height:12px;width:min(100%,280px);accent-color:#176f77}.muted{color:#526573;font-size:14px}.state{display:inline-block;padding:3px 10px;border-radius:20px;background:#edf3f4;font-size:13px;font-weight:650}details{border:1px solid #d9e1e5;border-radius:8px;background:white;margin:12px 0;padding:13px 16px}summary{cursor:pointer;font-weight:650;min-height:30px}details article{border:0;padding:8px 0;margin:0}.material-content{white-space:pre-wrap;overflow-wrap:anywhere}button{font:inherit;font-weight:600;cursor:pointer;border:1px solid #1b6370;background:#1b6370;color:white;border-radius:7px;padding:10px 15px;min-height:44px;margin:8px 8px 8px 0}button.secondary{color:#1b6370;background:#fff}button:disabled{opacity:.6;cursor:not-allowed}button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e3aa34;outline-offset:3px}label{display:block;font-weight:550;margin:14px 0 5px}input,textarea,select{display:block;font:inherit;max-width:100%;width:100%;border:1px solid #8195a4;border-radius:5px;padding:10px;background:#fff}textarea{min-height:105px;resize:vertical}input[type=checkbox]{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:9px}fieldset{border:1px solid #cdd7de;border-radius:8px;padding:14px;margin:14px 0;min-width:0}legend{font-weight:650;padding:0 6px}.row{border-top:1px solid #dae3e8;margin:15px 0;padding:8px 0}li{margin:6px 0}ul{padding-left:22px}footer{font-size:13px;color:#526573}#feedback:not(:empty){position:sticky;bottom:0;background:#173d48;color:#fff;border-radius:8px;padding:14px 24px}a{color:#185b72;overflow-wrap:anywhere}@media(max-width:600px){header,main,footer{padding:16px}article,section,.card{padding:16px}h2{font-size:20px}button{width:100%;margin-right:0}.progress{gap:8px}fieldset{padding:10px}}

#chat{max-width:960px;margin:2rem auto;padding:1rem}#chat-messages{max-height:32rem;overflow:auto}.chat-message{padding:1rem;border-bottom:1px solid #ddd}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}#chat-text{width:100%;min-height:6rem}#chat-unread{font-size:.8em}
