:root { --ink:#10251f; --muted:#687871; --paper:#f4f2eb; --card:#fffef9; --lime:#c9ff63; --green:#195f47; --border:#d9ded7; --red:#b53b32; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.shell { min-height:100vh; padding:0 5vw 64px; }
.topbar { height:84px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #ccd2cb; }
.brand { display:flex; align-items:center; gap:12px; font-weight:750; letter-spacing:-.02em; }
.brand-mark { display:grid; place-items:center; width:33px; height:33px; border-radius:50%; background:var(--ink); color:var(--lime); }
.connection { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:13px; }
.dot { width:8px; height:8px; border-radius:50%; background:#d19128; }
.dot.online { background:#34ad71; box-shadow:0 0 0 5px #34ad711c; }
.dot.offline { background:var(--red); }
.hero { padding:62px 0 42px; max-width:780px; }
.eyebrow,.step { font-size:11px; letter-spacing:.15em; font-weight:800; color:var(--green); margin:0 0 16px; }
.hero h1 { font-family:Georgia,"Times New Roman",serif; font-weight:500; font-size:clamp(48px,7vw,84px); line-height:.94; letter-spacing:-.055em; margin:0; }
.hero h1 span { color:var(--green); font-style:italic; }
.intro { max-width:580px; color:var(--muted); line-height:1.65; font-size:16px; margin:28px 0 0; }
.workspace { display:grid; grid-template-columns:minmax(380px,900px); gap:20px; }
.panel { background:var(--card); border:1px solid var(--border); border-radius:18px; padding:28px; box-shadow:0 12px 30px #1b33250a; }
.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; border-bottom:1px solid var(--border); padding-bottom:23px; margin-bottom:24px; }
.panel-heading .step { margin-bottom:7px; }
.panel h2 { font-family:Georgia,serif; font-weight:500; font-size:29px; margin:0; letter-spacing:-.03em; }
.count { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--lime); font-weight:800; }
.agent-line { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:18px; margin-bottom:18px; border:1px solid var(--border); border-radius:12px; background:#f7f7f1; }
.agent-line-label { margin:0 0 5px; color:var(--green); font-size:10px; font-weight:800; letter-spacing:.14em; }
.audio-status { margin:0; font-size:15px; font-weight:750; }
.audio-status.connected { color:var(--green); }
.audio-status.live { color:var(--red); }
.audio-status.error { color:var(--red); }
.audio-help { margin:5px 0 0; color:var(--muted); font-size:12px; }
.audio-connect { flex:0 0 auto; padding:11px 16px; border:0; border-radius:9px; background:var(--ink); color:white; cursor:pointer; font:inherit; font-size:13px; font-weight:750; }
.audio-connect:hover { background:var(--green); }
.empty { text-align:center; padding:64px 20px; color:var(--muted); }
.empty h3 { color:var(--ink); font-family:Georgia,serif; font-size:22px; font-weight:500; margin:18px 0 7px; }
.empty p { margin:0; font-size:13px; }
.pulse-icon { margin:auto; display:grid; place-items:center; width:54px; height:54px; border:1px solid var(--border); border-radius:50%; }
.pulse-icon span { width:12px; height:12px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 7px #c9ff6347; }
.call { border:1px solid var(--border); border-radius:12px; padding:18px; margin-bottom:12px; }
.call-top { display:flex; justify-content:space-between; gap:12px; }
.call h3 { font-size:16px; margin:0 0 6px; }
.route { font-size:12px; color:var(--muted); }
.badge { height:max-content; padding:5px 8px; border-radius:99px; background:#f0f0e9; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.badge.ringing { background:#fff0cf; color:#795313; }
.badge.connected,.badge.demo-connected { background:#dff5e8; color:#176441; }
.badge.failed { background:#fee6e3; color:#9d3028; }
.details { white-space:pre-wrap; background:#f6f5ef; border-radius:8px; padding:12px; margin:15px 0; color:#475750; font-size:13px; line-height:1.5; }
.accept { width:100%; padding:12px; border:0; cursor:pointer; font:inherit; font-weight:750; border-radius:9px; background:var(--lime); color:var(--ink); }
.accept:hover { filter:brightness(.95); }
.accept:disabled { background:#e9ebe6; color:#829087; cursor:default; }
.toast { position:fixed; right:24px; bottom:24px; background:var(--ink); color:white; padding:12px 16px; border-radius:8px; font-size:13px; opacity:0; transform:translateY(8px); transition:.2s; pointer-events:none; }
.toast.show { opacity:1; transform:none; }
@media(max-width:800px) {
  .shell { padding:0 18px 40px; }
  .hero { padding:44px 0 32px; }
  .workspace { grid-template-columns:1fr; }
  .panel { padding:22px; }
  .topbar { height:68px; }
  .hero h1 { font-size:50px; }
  .agent-line { align-items:flex-start; flex-direction:column; }
  .audio-connect { width:100%; }
}
