:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17334a;background:#f4f6f9;line-height:1.6;font-size:16px}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:16px max(20px,calc((100% - 1080px)/2));background:white;border-bottom:1px solid #dae2e9;gap:20px}.logo{width:140px;height:55px;object-fit:contain}header span{color:#617381;font-size:.9rem}main{max-width:1080px;margin:32px auto;padding:0 20px 32px}.intro{display:grid;grid-template-columns:260px 1fr;gap:36px;align-items:center;margin-bottom:28px}.hero{width:260px;height:245px;object-fit:contain;border-radius:20px}.eyebrow{font-size:.73rem;letter-spacing:.12em;color:#487581;font-weight:700}h1{font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.15;margin:12px 0}h2{font-size:1.05rem;margin:0}.muted{color:#637685;font-size:.9rem}.chat{background:#fff;border:1px solid #d9e2ea;border-radius:20px;box-shadow:0 8px 30px #183a5010;padding:24px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e7edf2;padding-bottom:16px}.starters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}button{font:inherit;cursor:pointer;border:1px solid transparent;border-radius:10px;padding:11px 17px;background:#176f77;color:white;font-weight:600}button:hover{background:#125a61}button:disabled{opacity:.45;cursor:not-allowed}.quiet,.starters button{background:#f2f7f8;color:#1d5966;border-color:#d2e4e8}.quiet:hover,.starters button:hover{background:#e2eff0}.starters button{text-align:left;font-size:.94rem}.message{margin:20px 0;padding:18px;border-radius:12px;overflow-wrap:anywhere;min-width:0}.message.user{background:#edf3f8;margin-left:12%;white-space:pre-wrap}.message.assistant{background:#f8fafb;border:1px solid #e3eaee}.speaker{font-size:.78rem;color:#617788;font-weight:700;margin:0 0 8px}.message p{margin:.6em 0}.message h3,.message h4{font-size:1.05rem}.message ul,.message ol{padding-left:24px}.message pre{white-space:pre-wrap}.table-wrap{overflow-x:auto;max-width:100%;margin:12px 0}table{border-collapse:collapse;font-size:.9rem;width:100%}td,th{border:1px solid #dbe4ea;padding:8px;text-align:left;vertical-align:top}th{background:#e9f0f4}#status{font-size:.9rem;color:#497585;min-height:1.6em}.error{color:#a53237!important}label{display:block;font-weight:600;font-size:.9rem;margin:16px 0 8px}textarea{width:100%;resize:vertical;min-height:100px;border:1px solid #b9cbd5;border-radius:12px;padding:14px;font:inherit;color:inherit;background:#fff}textarea:focus{outline:2px solid #2a8b94;outline-offset:2px}.send-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}footer{font-size:.8rem;color:#667985;padding:20px 8px;max-width:850px}dialog{border:1px solid #ccdce2;border-radius:16px;max-width:460px;padding:28px;color:inherit}dialog::backdrop{background:#17334a66}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}[hidden]{display:none!important}@media(max-width:640px){main{margin-top:20px;padding:0 12px 20px}.intro{grid-template-columns:1fr;gap:12px}.hero{width:160px;height:150px;margin:auto}.intro div{text-align:center}.chat{padding:16px}.starters{grid-template-columns:1fr}.toolbar{align-items:flex-start}.toolbar button{font-size:.8rem;padding:8px 10px}.message{padding:13px}.message.user{margin-left:5%}.send-row{align-items:flex-end}header{padding:10px 16px}.logo{width:110px;height:45px}}

/* Visible activity feedback approved in Telegram 68954. */
#status.activity{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px 9px;padding:13px 15px;border:1px solid #fda4af;border-radius:10px;background:#fff1f2;color:#881337;font-size:.94rem;font-weight:600;overflow-wrap:anywhere}
#status.activity::before{content:'';display:block;flex:0 0 16px;width:16px;height:16px;margin-top:4px;border:2px solid #fda4af;border-top-color:#9f1239;border-radius:50%;animation:totf-spin .8s linear infinite}
#status .status-copy{flex:1 1 200px;min-width:0}#status .status-elapsed{flex-basis:100%;margin-left:25px;font-size:.8rem;font-weight:400;font-variant-numeric:tabular-nums}
#status.activity-stale{background:#fff7ed;border-color:#fdba74;color:#9a3412}#status.activity-stale::before{animation:none;border-style:dotted}
#status.error{padding:12px 14px;border:1px solid #bd5c38;border-left-width:4px;border-radius:8px;background:#fff8f2;color:#7c2d12!important;font-weight:600}
@keyframes totf-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){#status.activity::before{animation:none;border-style:dotted}}
