:root{font-family:system-ui,-apple-system,sans-serif;color:#172033;background:#f2f5fa}*{box-sizing:border-box}body{margin:0;padding:env(safe-area-inset-top) 14px env(safe-area-inset-bottom)}main{max-width:760px;margin:22px auto}.card,#chat{background:#fff;border-radius:18px;padding:20px;box-shadow:0 8px 30px #26324a18;margin-bottom:16px}h1{font-size:1.6rem}label{display:block;margin:14px 0;font-weight:650}input,select,textarea,button{width:100%;font:inherit;padding:13px;border:1px solid #b9c1cf;border-radius:11px}textarea{resize:vertical;background:#fff;color:#172033}button{background:#1769e0;color:#fff;border:0;font-weight:750;cursor:pointer}button:disabled{opacity:.55}.danger{background:#c3283d}.qr{display:block;width:220px;max-width:100%;margin:16px auto}.talk{width:170px;height:170px;border-radius:50%;font-size:2rem;margin:15px auto;display:block;box-shadow:0 0 0 10px #1769e022}.talk.recording{background:#d9233f;animation:pulse 1s infinite}.cancel-recording{display:block;width:auto;margin:0 auto 15px;background:#687287}.timer{--progress:0deg;width:110px;height:110px;border-radius:50%;margin:10px auto;display:grid;place-items:center;background:conic-gradient(#1769e0 var(--progress),#dce2ec 0);position:relative}.timer:before{content:"";position:absolute;inset:9px;background:white;border-radius:50%}.timer span{z-index:1;font-size:1.6rem;font-weight:750}.timer.recording{color:#d9233f}.message{padding:14px;margin:10px 0;border-radius:13px;background:#eef4ff}.message h3{margin:0}.message time{font-size:.8rem;color:#687287}.message p{white-space:pre-wrap;overflow-wrap:anywhere}.message button{width:auto;padding:8px;margin-right:6px}.source-editor{margin:8px 0 14px}.source-editor summary{cursor:pointer;color:#1769e0;font-weight:700}.source-editor form{margin-top:10px;padding:12px;background:#fff;border-radius:10px}.source-editor label{margin:0 0 10px}.hidden{display:none}@keyframes pulse{50%{transform:scale(1.04);box-shadow:0 0 0 18px #d9233f22}}@media(min-width:600px){.card,#chat{padding:28px}}
