:root{--bg:#f3f1e9;--panel:#fff;--ink:#151916;--muted:#4a514c;--line:rgba(21,25,22,.16);--acid:#d9ff43;--cobalt:#2747e8;--me:#e8ecff;--ai:#151916;--aitx:#f3f1e9;--ok:#1b6b3a}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#101311;--panel:#1a1e1b;--ink:#eef0ea;--muted:#b5bcb6;--line:rgba(238,240,234,.16);--me:#273055;--ai:#d9ff43;--aitx:#151916;--ok:#7be0a1}}
:root[data-theme=dark]{--bg:#101311;--panel:#1a1e1b;--ink:#eef0ea;--muted:#b5bcb6;--line:rgba(238,240,234,.16);--me:#273055;--ai:#d9ff43;--aitx:#151916;--ok:#7be0a1}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:var(--cobalt)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) a{color:var(--acid)}}
.banner{background:var(--acid);color:#151916;padding:8px 16px;font-size:.88rem}.banner a,.banner a:visited{color:#151916!important;font-weight:600}
.top{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;padding:14px 16px;max-width:1240px;margin:0 auto}
.top h1{font-size:clamp(1.3rem,2.6vw,1.8rem);margin:0;line-height:1.15}.top p{margin:2px 0 0;color:var(--muted);font-size:.95rem;max-width:70ch}
.btns{display:flex;gap:8px;flex-wrap:wrap}
.btn{font:600 .9rem system-ui,sans-serif;border:1.5px solid var(--ink);background:var(--acid);color:#151916;padding:10px 16px;min-height:44px;cursor:pointer}
.btn.ghost{background:transparent;color:var(--ink)}.btn:focus-visible,a:focus-visible{outline:3px solid var(--cobalt);outline-offset:2px}
main{display:grid;align-items:start;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) minmax(0,1fr);gap:12px;padding:0 16px 16px;max-width:1240px;margin:0 auto}
@media (max-width:980px){main{grid-template-columns:1fr}}
.card{background:var(--panel);border:1px solid var(--line);padding:14px;min-width:0}
.card h2{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 10px;font-weight:600}
.chan{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:var(--muted);margin-bottom:8px}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--muted);margin-right:6px}.live .dot{background:#d83a2e}
.thread{display:flex;flex-direction:column;gap:8px;min-height:340px}
.msg{max-width:88%;padding:9px 12px;border-radius:14px;font-size:.95rem;animation:in .25s ease}
.msg.c{align-self:flex-start;background:var(--me);border-bottom-left-radius:4px}
.msg.a{align-self:flex-end;background:var(--ai);color:var(--aitx);border-bottom-right-radius:4px}
.msg .who{display:block;font-size:.72rem;opacity:.75;margin-bottom:2px}
.typing{align-self:flex-end;color:var(--muted);font-size:.85rem}
@keyframes in{from{opacity:0;transform:translateY(4px)}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.msg{animation:none}}
.sms{display:flex;flex-direction:column;gap:8px}.sms .msg{max-width:100%}
.slot{border:1.5px dashed var(--line);padding:12px;font-weight:600;min-height:48px;color:var(--muted)}
.slot.on{border:1.5px solid var(--ok);color:var(--ink);background:color-mix(in srgb,var(--ok) 12%,transparent)}
dl.crm{display:grid;grid-template-columns:max-content 1fr;gap:6px 12px;margin:0}dl.crm dt{color:var(--muted);font-size:.85rem}dl.crm dd{margin:0;font-weight:600;font-size:.92rem}
.pending{color:var(--muted);font-size:.9rem}
.steps{list-style:none;padding:0;margin:0;display:grid;gap:6px;font-size:.9rem}.steps li{padding-left:22px;position:relative;color:var(--muted)}
.steps li::before{content:"";position:absolute;left:2px;top:.45em;width:10px;height:10px;border:1.5px solid var(--muted);border-radius:50%}
.steps li.done{color:var(--ink)}.steps li.done::before{background:var(--ok);border-color:var(--ok)}
footer{max-width:1240px;margin:0 auto;padding:6px 16px 22px;color:var(--muted);font-size:.85rem}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
