/* SikloAI dashboard Redesign v2. Design system and Agent Setup styles copied verbatim from the
   Claude Design export ("SikloAI Dashboard Redesign", 2026-10-08). Edit the design, not this file,
   where possible; V2-only additions are at the bottom. */
/* SikloAI design system v2 — Linear-style: dense, quiet, precise. Light by default, .dk = dark. */
.skt,.sk{
  --app:#F4F4F5;--bg:#FFFFFF;--surface:#FFFFFF;--surface-2:#F7F7F8;--surface-3:#EDEDEF;
  --border:#EAEAEC;--border-2:#DCDCE0;
  --text:#1A1A1E;--text-2:#55555E;--text-3:#6E6E78;
  --accent:#5562CF;--accent-h:#4854C2;--accent-soft:#EEF0FC;--accent-text:#4A56C2;--on-accent:#FFFFFF;
  --green:#1A7F4E;--green-soft:#EAF6EF;--amber:#A0570A;--amber-soft:#FDF3E6;--red:#C93A32;--red-soft:#FCEDEC;--blue:#2B6CC4;--blue-soft:#EBF2FC;--gray-soft:#F2F2F4;
  --c1:#5562CF;--c2:#0E8A7E;--c3:#C2700E;--c4:#C9406B;--c5:#2E7CC4;--c6:#8650C8;
  --scrim:rgba(20,20,26,.32);
  --shadow-xs:0 1px 1px rgba(16,16,24,.04);
  --pop:0 12px 32px -12px rgba(16,16,24,.20),0 2px 6px -2px rgba(16,16,24,.06),0 0 0 1px var(--border);
  --r1:5px;--r2:6px;--r3:10px;--r4:12px;
  --font:"Geist",ui-sans-serif,system-ui,sans-serif;--mono:"Geist Mono",ui-monospace,SFMono-Regular,monospace;
  font-family:var(--font);color:var(--text);font-size:13px;line-height:1.5;letter-spacing:-.003em;-webkit-font-smoothing:antialiased;
}
.skt.dk,.sk.dk{
  --app:#09090B;--bg:#111113;--surface:#141416;--surface-2:#1A1A1D;--surface-3:#232327;
  --border:#222226;--border-2:#2E2E34;
  --text:#ECECEF;--text-2:#A3A3AC;--text-3:#83838D;
  --accent:#5865CF;--accent-h:#6571D6;--accent-soft:#1C1E36;--accent-text:#A3ABF3;--on-accent:#FFFFFF;
  --green:#4CC38A;--green-soft:#0F2419;--amber:#EBA45A;--amber-soft:#2A1D0E;--red:#F07A72;--red-soft:#2C1514;--blue:#72A9F0;--blue-soft:#0F1D33;--gray-soft:#1D1D21;
  --c1:#8D97F0;--c2:#3DC2B2;--c3:#EDA555;--c4:#EE7BA0;--c5:#6AAEF0;--c6:#B48EEB;
  --scrim:rgba(0,0,0,.6);
  --shadow-xs:0 1px 1px rgba(0,0,0,.3);
  --pop:0 16px 40px -12px rgba(0,0,0,.75),0 0 0 1px var(--border-2);
}
.sk{background:var(--app);container-type:inline-size;position:relative;min-height:100vh}
.sk.locked{height:100vh;min-height:0;overflow:hidden}
.sk *,.skt *{box-sizing:border-box}
.sk button,.skt button,.sk input,.skt input,.sk select,.skt select,.sk textarea,.skt textarea{font-family:inherit;color:inherit;letter-spacing:inherit}
.sk a,.skt a{color:var(--accent-text);text-decoration:none}
.sk a:hover,.skt a:hover{text-decoration:underline;text-underline-offset:2px}
.sk h1,.sk h2,.sk h3,.sk h4,.sk p,.skt h1,.skt h2,.skt h3,.skt h4,.skt p{margin:0}

/* type */
.h1{font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.018em}
.h2{font-size:15px;line-height:22px;font-weight:600;letter-spacing:-.01em}
.h3{font-size:13px;line-height:20px;font-weight:600}
.t-lg{font-size:14px}.t-sm{font-size:12.5px}.t-xs{font-size:12px}.t-2xs{font-size:11px}
.muted{color:var(--text-2)}.faint{color:var(--text-3)}
.mono{font-family:var(--mono);letter-spacing:0}.num{font-variant-numeric:tabular-nums}
.w5{font-weight:500}.w6{font-weight:600}
.c-green{color:var(--green)}.c-red{color:var(--red)}.c-amber{color:var(--amber)}.c-accent{color:var(--accent-text)}
.trunc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.i{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.i-sm{width:13px;height:13px}.i-lg{width:18px;height:18px}
.eyebrow{font-size:11px;font-weight:500;color:var(--text-3);letter-spacing:.01em}

/* layout helpers */
.row{display:flex;align-items:center;gap:8px}
.row-t{display:flex;align-items:flex-start;gap:12px}
.col{display:flex;flex-direction:column}
.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1 1 auto;min-width:0}.end{justify-content:flex-end}
.gap4{gap:4px}.gap6{gap:6px}.gap12{gap:12px}.gap16{gap:16px}.gap20{gap:20px}.gap24{gap:24px}
.stack{display:flex;flex-direction:column;gap:20px}
.stack-16{display:flex;flex-direction:column;gap:14px}
.stack-12{display:flex;flex-direction:column;gap:10px}
.stack-8{display:flex;flex-direction:column;gap:6px}
.g{display:grid;gap:14px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.g5{grid-template-columns:repeat(5,minmax(0,1fr))}
.g-main{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.g-side{grid-template-columns:minmax(0,1fr) 380px}
.hr{height:1px;background:var(--border);border:0;margin:0}
.show-m{display:none!important}

/* shell — sidebar on the app canvas, content in an inset panel */
.shell{display:flex;min-height:100vh;background:var(--app)}
.sk.locked .shell{height:100%;min-height:0}
.sb{width:232px;flex:0 0 232px;background:var(--app);display:flex;flex-direction:column;gap:1px;padding:10px 8px 10px 10px;overflow-y:auto;position:relative}
.sb-scrim{display:none}
.sb-top{display:flex;align-items:center;justify-content:space-between;padding:2px 6px 8px}
.logo{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:15px;letter-spacing:-.02em;color:var(--text)!important;text-decoration:none!important}
.logo svg{width:24px;height:24px;flex:0 0 auto}
.logo-ai{color:#4F46E5}
.dk .logo-ai{color:#8F8AF7}
.ws{width:100%;display:flex;align-items:center;gap:9px;padding:5px 6px;border:1px solid transparent;border-radius:var(--r2);background:transparent;cursor:pointer;text-align:left}
.ws:hover{background:var(--surface-3)}
.ws-av{width:22px;height:22px;border-radius:5px;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:600;flex:0 0 auto}
.ws-n{display:block;font-size:13px;font-weight:500;line-height:17px}
.ws-p{display:block;font-size:11px;color:var(--text-3);line-height:14px}
.nav-l{font-size:11px;font-weight:500;color:var(--text-3);padding:14px 8px 4px}
.nav{display:flex;align-items:center;gap:9px;height:28px;padding:0 8px;border-radius:var(--r2);color:var(--text-2)!important;font-size:13px;font-weight:500;text-decoration:none!important;border:0;background:none;width:100%;cursor:pointer;text-align:left}
.nav:hover{background:var(--surface-3);color:var(--text)!important}
.nav.on{background:color-mix(in srgb,var(--ic,var(--accent)) 13%,var(--surface));color:var(--text)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--ic,var(--accent)) 22%,transparent)}
.nav .i{color:var(--ic,var(--text-3))}
.nav-c{margin-left:auto;font-family:var(--mono);font-size:11px;line-height:18px;height:18px;min-width:22px;padding:0 6px;border-radius:999px;text-align:center;color:var(--text-2);background:var(--surface-3);flex:0 0 auto}
.nav-c.hot{color:var(--accent-text);background:var(--accent-soft)}
.nav-live{width:6px;height:6px;border-radius:50%;background:var(--green);flex:0 0 auto}
.sb-foot{margin-top:auto;padding-top:8px;position:relative}
.me{display:flex;align-items:center;gap:9px;width:100%;padding:5px 6px;border:0;background:none;border-radius:var(--r2);cursor:pointer;text-align:left}
.me:hover{background:var(--surface-3)}
.main{flex:1 1 0;min-width:0;display:flex;flex-direction:column;margin:8px 8px 8px 0;background:var(--bg);border:1px solid var(--border);border-radius:var(--r4);box-shadow:var(--shadow-xs)}
.top{height:48px;flex:0 0 48px;display:flex;align-items:center;gap:6px;padding:0 12px 0 18px;border-bottom:1px solid var(--border);background:var(--bg);border-radius:var(--r4) var(--r4) 0 0}
.crumb{display:flex;align-items:center;gap:6px;font-size:13px;min-width:0}
.crumb b{font-weight:500;color:var(--text)}
.kbar{display:flex;align-items:center;gap:8px;width:260px;height:28px;padding:0 6px 0 9px;border:1px solid var(--border);border-radius:var(--r2);background:var(--surface-2);color:var(--text-3);font-size:12.5px;cursor:pointer;text-align:left}
.kbar:hover{border-color:var(--border-2);color:var(--text-2)}
.bell{position:relative}
.bell-dot{position:absolute;top:6px;right:7px;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--bg)}
.banner{display:flex;align-items:center;gap:10px;padding:8px 18px;background:var(--amber-soft);border-bottom:1px solid var(--border);font-size:12.5px}
.banner .i{color:var(--amber)}
.page{width:100%;max-width:1240px;margin:0 auto;padding:24px 28px 72px;flex:1 0 auto}
.page-wide{max-width:none}
.ph{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.ph-a{display:flex;gap:6px;flex-wrap:wrap}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:30px;padding:0 11px;border-radius:var(--r2);border:1px solid var(--border-2);background:var(--surface);color:var(--text)!important;font-size:12.5px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;text-decoration:none!important;box-shadow:var(--shadow-xs);transition:background .12s,border-color .12s}
.btn:hover{background:var(--surface-2);border-color:var(--border-2)}
.btn:focus-visible,.nav:focus-visible,.tab:focus-visible,.seg button:focus-visible,.chip:focus-visible,.mi:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.btn-p{background:var(--accent);border-color:transparent;color:var(--on-accent)!important;box-shadow:0 1px 1px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.12)}
.btn-p:hover{background:var(--accent-h);border-color:transparent}
.btn-g{background:transparent;border-color:transparent;color:var(--text-2)!important;box-shadow:none}
.btn-g:hover{background:var(--surface-3);color:var(--text)!important;border-color:transparent}
.btn-d{background:var(--red);border-color:transparent;color:#fff!important}
.skt.dk .btn-d,.sk.dk .btn-d{background:#B83A33}
.btn-dl{color:var(--red)!important}
.btn-sm{height:26px;padding:0 9px;font-size:12px;border-radius:var(--r1)}
.btn-lg{height:36px;padding:0 14px;font-size:13px}
.btn-icon{width:30px;padding:0}
.btn-sm.btn-icon{width:26px}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.btn-block{width:100%}
.lnk{background:none;border:0;padding:0;color:var(--accent-text)!important;font-size:12.5px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:4px}

/* forms */
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.lbl{font-size:12.5px;font-weight:500;color:var(--text)}
.lbl .faint{font-weight:400}
.hint{font-size:12px;color:var(--text-3)}
.err-t{font-size:12px;color:var(--red)}
.in{width:100%;height:32px;padding:0 10px;border:1px solid var(--border-2);border-radius:var(--r2);background:var(--surface);color:var(--text);font-size:13px;outline:none;transition:border-color .12s,box-shadow .12s}
.in::placeholder{color:var(--text-3)}
.in:hover{border-color:color-mix(in srgb,var(--border-2) 60%,var(--text-3))}
.in:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.in.bad{border-color:var(--red)}
textarea.in{height:auto;min-height:88px;padding:8px 10px;line-height:1.55;resize:vertical}
.sel{position:relative}
.sel select.in{appearance:none;-webkit-appearance:none;padding-right:28px;cursor:pointer}
.sel .i{position:absolute;right:9px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--text-3)}
.in-ic{position:relative}
.in-ic>.i{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--text-3);pointer-events:none}
.in-ic .in{padding-left:31px}
.in-ic .kbd{position:absolute;right:8px;top:50%;transform:translateY(-50%)}
.search{width:240px}
.cb{width:14px;height:14px;accent-color:var(--accent);margin:0;cursor:pointer}
.tg{display:inline-flex;align-items:center;gap:10px;cursor:pointer;position:relative;font-size:13px}
.tg input{position:absolute;opacity:0;width:1px;height:1px}
.tg-t{width:28px;height:16px;border-radius:8px;background:var(--surface-3);border:1px solid var(--border-2);position:relative;flex:0 0 auto;transition:background .15s}
.tg-t::after{content:"";position:absolute;top:1px;left:1px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
.tg input:checked+.tg-t{background:var(--accent);border-color:var(--accent)}
.tg input:checked+.tg-t::after{transform:translateX(12px)}
.tg input:focus-visible+.tg-t{outline:2px solid var(--accent);outline-offset:2px}
.set-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--border)}
.set-row:first-child{border-top:0;padding-top:0}
.radio-card{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--border);border-radius:var(--r2);background:var(--surface);cursor:pointer;font-size:12.5px;font-weight:500;text-align:left;width:100%}
.radio-card:hover{border-color:var(--border-2);background:var(--surface-2)}
.radio-card.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--accent-soft)}

/* segmented + tabs */
.seg{display:inline-flex;padding:2px;gap:2px;background:var(--surface-3);border-radius:var(--r2);max-width:100%}
.seg button{height:24px;padding:0 9px;border:0;background:transparent;border-radius:4px;color:var(--text-2);font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;flex:1 1 auto}
.seg button:hover{color:var(--text)}
.seg button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.skt.dk .seg button.on,.sk.dk .seg button.on{background:var(--border-2)}
.tabs{display:flex;gap:2px;border-bottom:0}
.tab{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:0;border-radius:var(--r2);background:none;color:var(--text-2);font-size:12.5px;font-weight:500;cursor:pointer;white-space:nowrap}
.tab:hover{color:var(--text);background:var(--surface-2)}
.tab.on{color:var(--accent-text);background:var(--accent-soft)}
.tab .tc{font-family:var(--mono);font-size:11px;color:var(--text-3)}
.tab.on .tc{color:var(--accent-text);opacity:.8}

/* surfaces */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r3);min-width:0}
.card-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border);flex-wrap:wrap;min-height:46px}
.card-h.nb{border-bottom:0;padding-bottom:2px}
.card-b{padding:14px 16px}
.card-f{display:flex;justify-content:flex-end;gap:6px;padding:10px 16px;border-top:1px solid var(--border);flex-wrap:wrap;background:var(--surface-2);border-radius:0 0 var(--r3) var(--r3)}
.well{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r2);padding:10px 12px}
.stats{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:0;border:1px solid var(--border);border-radius:var(--r3);overflow:hidden;background:var(--surface)}
.stat{background:var(--surface);padding:14px 16px;min-width:0;border-left:1px solid var(--border);box-shadow:inset 0 2px 0 var(--sc,var(--c1))}
.stats .stat:nth-child(6n+1){--sc:var(--c1)}.stats .stat:nth-child(6n+2){--sc:var(--c2)}.stats .stat:nth-child(6n+3){--sc:var(--c6)}
.stats .stat:nth-child(6n+4){--sc:var(--c5)}.stats .stat:nth-child(6n+5){--sc:var(--c3)}.stats .stat:nth-child(6n+6){--sc:var(--c4)}
.stat-l::before{content:"";width:6px;height:6px;border-radius:2px;background:var(--sc,var(--c1));flex:0 0 auto}
.stat-l:has(.ic-box)::before{display:none}
.stat:first-child{border-left:0}
.stat-l{font-size:12px;color:var(--text-2);display:flex;align-items:center;gap:6px}
.stat-v{font-size:20px;line-height:28px;font-weight:600;letter-spacing:-.02em;margin-top:4px;font-variant-numeric:tabular-nums}
.stat-v small{font-size:12px;font-weight:500;color:var(--text-3);margin-left:2px;letter-spacing:0}
.stat-d{font-size:11.5px;color:var(--text-3);margin-top:2px;display:flex;align-items:center;gap:6px}
.stat-d .up{color:var(--green)}.stat-d .dn{color:var(--red)}
.delta{display:inline-flex;align-items:center;height:18px;padding:0 5px;border-radius:4px;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}
.delta.up{background:var(--green-soft);color:var(--green)}.delta.dn{background:var(--red-soft);color:var(--red)}.delta.eq{background:var(--gray-soft);color:var(--text-2)}
.spark{width:100%;height:28px;display:block;margin-top:8px;overflow:visible}
.spark polyline{fill:none;stroke:var(--sc,var(--accent));stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.spark .area{fill:color-mix(in srgb,var(--sc,var(--accent)) 14%,transparent);stroke:none}
.tint{background:color-mix(in srgb,var(--tc,var(--accent)) 13%,var(--surface))!important;color:var(--tc,var(--accent))!important;border-color:transparent!important}
.ic-xs{width:22px;height:22px;border-radius:6px}

/* pills, tags, chips — status carried by the dot, text stays calm */
.pill{display:inline-flex;align-items:center;gap:6px;height:20px;padding:0 7px;border-radius:5px;font-size:11.5px;font-weight:500;background:var(--surface);border:1px solid var(--border);color:var(--text-2);white-space:nowrap;--dot:var(--text-3)}
.pill .dot{width:6px;height:6px;border-radius:50%;background:var(--dot);flex:0 0 auto}
.p-green{--dot:var(--green);background:var(--green-soft);color:var(--green);border-color:transparent}
.p-amber{--dot:var(--amber);background:var(--amber-soft);color:var(--amber);border-color:transparent}
.p-red{--dot:var(--red);background:var(--red-soft);color:var(--red);border-color:transparent}
.p-blue{--dot:var(--blue);background:var(--blue-soft);color:var(--blue);border-color:transparent}
.p-green.solid{background:var(--green-soft);color:var(--green);border-color:transparent}
.p-accent{background:var(--accent-soft);color:var(--accent-text);border-color:transparent;--dot:var(--accent-text)}
.p-red.solid{background:var(--red-soft);color:var(--red);border-color:transparent}
.p-amber.solid{background:var(--amber-soft);color:var(--amber);border-color:transparent}
.p-line{background:transparent}
.tag{display:inline-flex;align-items:center;gap:4px;height:19px;padding:0 6px;border-radius:4px;border:1px solid var(--border);font-size:11px;font-weight:500;color:var(--text-2);white-space:nowrap;background:var(--surface-2)}
.tag-a{border-color:transparent;background:var(--accent-soft);color:var(--accent-text)}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:2px 9px;border:1px solid var(--border);border-radius:var(--r2);background:var(--surface);color:var(--text-2);font-size:12px;cursor:pointer;text-align:left}
.chip:hover{border-color:var(--border-2);color:var(--text)}
.chip button{border:0;background:none;padding:0;display:inline-flex;color:var(--text-3);cursor:pointer}
.kbd{display:inline-flex;align-items:center;height:17px;min-width:17px;justify-content:center;padding:0 4px;border:1px solid var(--border-2);border-radius:4px;font-family:var(--mono);font-size:10.5px;color:var(--text-3);background:var(--surface);white-space:nowrap}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Initials: the tint colour mixed toward the text colour so they pass 4.5:1 contrast. */
.av{width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--avc,var(--c1)) 16%,var(--surface));color:color-mix(in srgb,var(--avc,var(--c1)) 70%,var(--text));display:grid;place-items:center;font-size:10px;font-weight:600;flex:0 0 auto}
.av-sm{width:20px;height:20px;font-size:9px}
.tbl tr:nth-child(6n+1) .av,.mem:nth-child(6n+1) .av{--avc:var(--c1)}.tbl tr:nth-child(6n+2) .av,.mem:nth-child(6n+2) .av{--avc:var(--c2)}
.tbl tr:nth-child(6n+3) .av,.mem:nth-child(6n+3) .av{--avc:var(--c6)}.tbl tr:nth-child(6n+4) .av,.mem:nth-child(6n+4) .av{--avc:var(--c3)}
.tbl tr:nth-child(6n+5) .av,.mem:nth-child(6n+5) .av{--avc:var(--c5)}.tbl tr:nth-child(6n+6) .av,.mem:nth-child(6n+6) .av{--avc:var(--c4)}
.av-lg{width:36px;height:36px;font-size:13px}
.av-xl{width:44px;height:44px;font-size:15px}
.ic-box{width:32px;height:32px;border-radius:var(--r2);border:1px solid var(--border);background:var(--surface);display:grid;place-items:center;color:var(--text-2);flex:0 0 auto}
.ic-box.lg{width:40px;height:40px;border-radius:var(--r3)}
.udot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex:0 0 auto}

/* progress, skeleton, chart */
.bar{height:4px;border-radius:2px;background:var(--surface-3);overflow:hidden}
.bar>span{display:block;height:100%;border-radius:2px;background:var(--bc,var(--accent))}
.bar.ok>span{background:var(--green)}.bar.warn>span{background:var(--amber)}.bar.bad>span{background:var(--red)}
.skl{background:var(--surface-3);border-radius:4px;animation:skp 1.4s ease-in-out infinite}
@keyframes skp{50%{opacity:.45}}
.chart{display:flex;gap:10px;height:200px}
.chart-y{display:flex;flex-direction:column;justify-content:space-between;font-size:10.5px;color:var(--text-3);font-family:var(--mono);padding-bottom:20px;text-align:right;width:26px}
.chart-p{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.chart-a{flex:1 1 auto;position:relative;display:flex;align-items:flex-end;gap:6px;border-bottom:1px solid var(--border-2);background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--border) calc(25% - 1px),var(--border) 25%)}
.chart-a .b{flex:1 1 0;background:var(--accent);border-radius:2px 2px 0 0;min-width:3px}
.chart-a .b.dim{opacity:.35}
.chart-x{display:flex;justify-content:space-between;font-size:10.5px;color:var(--text-3);font-family:var(--mono);padding-top:6px;height:20px}
.hbar{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px 12px;align-items:center}
.hbar .bar{grid-column:1/-1;height:3px}
.legend-dot{width:8px;height:8px;border-radius:2px;display:inline-block}

/* tables */
.tbl-w{overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;font-size:12.5px}
.tbl th{text-align:left;font-size:11.5px;font-weight:500;color:var(--text-3);padding:0 18px;height:36px;border-bottom:1px solid var(--border);white-space:nowrap;background:var(--surface-2)}
.tbl th:first-child,.tbl td:first-child{padding-left:20px}
.tbl th:last-child,.tbl td:last-child{padding-right:20px}
.tbl td{padding:11px 18px;border-bottom:1px solid var(--border);vertical-align:middle}
.tbl th:first-child:has(.cb),.tbl td.tc{padding-right:4px;width:40px}
.tbl th:not(:first-child),.tbl td:not(:first-child){padding-left:24px;padding-right:24px}
.tbl th,.tbl td{white-space:nowrap}
.tbl td.tw{white-space:normal;min-width:220px}
.tbl th.r,.tbl td.r{text-align:left}
.tbl tr:last-child td{border-bottom:0}
.tbl tbody tr:hover td{background:var(--surface-2)}
.tbl tr.sel td{background:var(--accent-soft)}
.tbl tr.grp td{background:var(--surface);font-size:11.5px;font-weight:500;color:var(--text-3);padding-top:10px;padding-bottom:6px}
.tbl tr.grp:hover td{background:var(--surface)}
.tbl .r{text-align:right}
.th-s{display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:0;font-size:11.5px;font-weight:500;color:var(--text-2);cursor:pointer}
.tbl-more{display:flex;justify-content:center;align-items:center;gap:10px;padding:10px;border-top:1px solid var(--border);font-size:12px;color:var(--text-3)}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--text-2)}
.q{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-2);white-space:nowrap}
.q i{width:7px;height:7px;border-radius:2px;display:inline-block}
.q-g i{background:var(--green)}.q-a i{background:var(--amber)}.q-r i{background:var(--red)}
.bulk{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:4px 4px 4px 12px;border-radius:var(--r3);background:var(--text);color:var(--bg)}
.bulk .btn{background:transparent;border-color:color-mix(in srgb,var(--bg) 22%,transparent);color:var(--bg)!important;box-shadow:none}
.bulk .btn:hover{background:color-mix(in srgb,var(--bg) 12%,transparent)}

/* states */
.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:52px 24px}
.empty .ic-box{margin-bottom:8px;background:var(--accent-soft);color:var(--accent-text);border-color:transparent}
.empty .ic-box.ic-err{background:var(--red-soft);color:var(--red)}
.card-h h2::before,.card-h h3::before{content:"";display:inline-block;width:3px;height:12px;border-radius:2px;background:var(--hc,var(--accent));margin-right:8px;vertical-align:-1px}
.modal .card-h h2::before,.modal .card-h h3::before,.drawer .card-h h3::before{display:none}
.g>.card:nth-child(3n+2),.g>section:nth-child(3n+2){--hc:var(--c2)}
.g>.card:nth-child(3n+3),.g>section:nth-child(3n+3){--hc:var(--c6)}
.stack-16>.card:nth-child(2n),.stack-16>section:nth-child(2n){--hc:var(--c3)}
.stack-16>.card:nth-child(3n),.stack-16>section:nth-child(3n){--hc:var(--c4)}
.empty p{max-width:400px}
.empty-a{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:10px}
.ic-err{color:var(--red);background:var(--red-soft);border-color:transparent}
.alert{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r3);background:var(--surface);font-size:12.5px}
.alert>.i{align-self:flex-start;margin-top:2px}
.alert.warn{background:var(--amber-soft);border-color:color-mix(in srgb,var(--amber) 18%,transparent)}.alert.warn>.i{color:var(--amber)}
.alert.info{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 18%,transparent)}.alert.info>.i{color:var(--accent-text)}
.alert.bad{background:var(--red-soft);border-color:color-mix(in srgb,var(--red) 18%,transparent)}.alert.bad>.i{color:var(--red)}
.alert.ok{background:var(--green-soft);border-color:color-mix(in srgb,var(--green) 18%,transparent)}.alert.ok>.i{color:var(--green)}

/* overlays */
.ov{position:absolute;inset:0;z-index:80;background:var(--scrim);display:flex;align-items:flex-start;justify-content:center;padding:88px 24px 24px}
.ov.clear{background:transparent}
.ov.right{justify-content:flex-end;align-items:stretch;padding:8px}
.ov.pop-tr{justify-content:flex-end;padding:52px 16px 16px}
.modal{width:100%;max-width:500px;max-height:calc(100vh - 112px);display:flex;flex-direction:column;background:var(--surface);border-radius:var(--r4);box-shadow:var(--pop);overflow:hidden}
.modal.md{max-width:620px}.modal.lg{max-width:760px}.modal.sm{max-width:420px}
.modal-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px 2px}
.modal-b{padding:12px 18px 16px;overflow-y:auto;min-height:0}
.modal-f{display:flex;justify-content:flex-end;align-items:center;gap:6px;padding:10px 18px;border-top:1px solid var(--border);flex-wrap:wrap;background:var(--surface-2)}
.grab{display:none}
.drawer{width:460px;max-width:100%;height:100%;display:flex;flex-direction:column;background:var(--surface);border-radius:var(--r4);box-shadow:var(--pop);overflow:hidden}
.drawer.wide{width:540px}
.drawer-h{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--border);min-height:52px}
.drawer-b{flex:1 1 auto;overflow-y:auto;padding:18px;min-height:0}
.drawer-f{display:flex;gap:6px;justify-content:flex-end;padding:10px 14px;border-top:1px solid var(--border);flex-wrap:wrap;background:var(--surface-2)}
.pop{position:absolute;z-index:70;background:var(--surface);border-radius:var(--r3);box-shadow:var(--pop);padding:4px}
.mi{display:flex;align-items:center;gap:9px;width:100%;height:30px;padding:0 8px;border:0;background:none;border-radius:var(--r1);font-size:12.5px;color:var(--text);cursor:pointer;text-align:left;text-decoration:none!important}
.mi:hover,.mi.on{background:var(--surface-3)}
.mi .i{color:var(--text-3)}
.mi-l{font-size:11px;color:var(--text-3);padding:8px 8px 4px;font-weight:500}
.mi-sep{height:1px;background:var(--border);margin:4px -4px}
/* Top right, under the top bar: always on screen, and clear of Tala in the bottom-right corner. */
.toasts{position:fixed;right:20px;top:64px;z-index:98;display:flex;flex-direction:column;gap:8px;width:340px;max-width:calc(100vw - 28px)}
.toast{display:flex;align-items:flex-start;gap:10px;padding:10px 10px 10px 12px;background:var(--surface);border-radius:var(--r3);box-shadow:var(--pop);font-size:12.5px}
.toast .ti{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.toast .ti.ok{background:var(--green-soft);color:var(--green)}.toast .ti.bad{background:var(--red-soft);color:var(--red)}

/* code */
.code{font-family:var(--mono);font-size:12px;line-height:1.65;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r2);padding:12px 14px;white-space:pre;overflow-x:auto;color:var(--text);margin:0}
.code .k{color:var(--accent-text)}.code .s{color:var(--green)}

/* chat */
.msgs{display:flex;flex-direction:column;gap:12px}
.msg{display:flex;gap:8px;max-width:78%}
.msg .bub{padding:8px 11px;border-radius:10px;font-size:13px;line-height:1.5}
.msg .meta{font-size:11px;color:var(--text-3);margin-top:3px;display:flex;gap:6px;align-items:center}
.msg.vis .bub{background:var(--surface-2);border:1px solid var(--border);border-top-left-radius:3px}
.msg.ai{align-self:flex-end;flex-direction:row-reverse}
.msg.ai .bub{background:var(--accent-soft);color:var(--text);border-top-right-radius:3px;border:1px solid transparent}
.msg.hum{align-self:flex-end;flex-direction:row-reverse}
.msg.hum .bub{background:var(--accent);color:var(--on-accent);border-top-right-radius:3px}
.msg.note{align-self:stretch;max-width:none}
.msg.note .bub{background:var(--amber-soft);border:1px dashed color-mix(in srgb,var(--amber) 40%,transparent);width:100%}
.msg.ai .meta,.msg.hum .meta{justify-content:flex-end}
.who{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:9.5px;font-weight:600;flex:0 0 auto;margin-top:2px}
.who.ai{background:var(--accent-soft);color:var(--accent-text)}
.who.hum{background:var(--accent);color:var(--on-accent)}
.who.vis{background:var(--surface-3);color:var(--text-2)}
.typing{display:inline-flex;gap:3px;align-items:center;padding:11px}
.typing span{width:5px;height:5px;border-radius:50%;background:var(--text-3);animation:skp 1.2s infinite}
.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}
.sys{align-self:center;font-size:11px;color:var(--text-3);display:flex;align-items:center;gap:8px}
.dz{border:1px dashed var(--border-2);border-radius:var(--r3);padding:24px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:var(--surface-2)}
.step-n{width:20px;height:20px;border-radius:50%;border:1px solid var(--border-2);display:grid;place-items:center;font-size:10.5px;font-weight:600;flex:0 0 auto;color:var(--text-2);background:var(--surface)}
.step-n.done{background:var(--text);border-color:var(--text);color:var(--bg)}
.step-n.cur{border-color:var(--accent);color:var(--accent-text);box-shadow:0 0 0 3px var(--accent-soft)}
.check{width:18px;height:18px;border-radius:50%;border:1.5px dashed var(--border-2);display:grid;place-items:center;flex:0 0 auto;color:transparent}
.check.done{background:var(--green);border:1.5px solid var(--green);color:#fff}
.dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px 12px;font-size:12.5px;align-items:center}
.dl dt{color:var(--text-3)}.dl dd{margin:0;min-width:0}
details.acc{border-bottom:1px solid var(--border)}
details.acc summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;font-weight:500;cursor:pointer;font-size:13px}
details.acc summary::-webkit-details-marker{display:none}
details.acc[open] summary .i{transform:rotate(180deg)}
details.acc p{padding:0 0 12px;color:var(--text-2);font-size:12.5px}

/* motion */
@keyframes sk-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes sk-fade{from{opacity:0}to{opacity:1}}
@keyframes sk-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes sk-slide-r{from{opacity:.4;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes sk-slide-u{from{transform:translateY(100%)}to{transform:none}}
@keyframes sk-grow-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes sk-grow-x{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes sk-draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes sk-ping{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--green) 55%,transparent)}80%,100%{box-shadow:0 0 0 6px transparent}}
@keyframes sk-shimmer{from{background-position:-200% 0}to{background-position:200% 0}}
.sk{--ease:cubic-bezier(.2,.8,.2,1)}
.page>*,.page>.stack>*,.page>.stack-16>*,.page .stack>.stack>*{animation:sk-rise .45s var(--ease) both}
.page>*:nth-child(2),.page .stack>*:nth-child(2){animation-delay:.04s}
.page>*:nth-child(3),.page .stack>*:nth-child(3){animation-delay:.08s}
.page>*:nth-child(4),.page .stack>*:nth-child(4){animation-delay:.12s}
.page>*:nth-child(5),.page .stack>*:nth-child(5){animation-delay:.16s}
.page>*:nth-child(n+6),.page .stack>*:nth-child(n+6){animation-delay:.2s}
.stats .stat{animation:sk-rise .45s var(--ease) both}
.stats .stat:nth-child(2){animation-delay:.05s}.stats .stat:nth-child(3){animation-delay:.1s}.stats .stat:nth-child(4){animation-delay:.15s}.stats .stat:nth-child(5){animation-delay:.2s}.stats .stat:nth-child(6){animation-delay:.25s}
.chart-a .b{transform-origin:bottom;animation:sk-grow-y .7s var(--ease) both;animation-delay:calc(.25s + var(--i,0) * 30ms)}
.chart-a>:nth-child(1){--i:0}.chart-a>:nth-child(2){--i:1}.chart-a>:nth-child(3){--i:2}.chart-a>:nth-child(4){--i:3}.chart-a>:nth-child(5){--i:4}.chart-a>:nth-child(6){--i:5}.chart-a>:nth-child(7){--i:6}.chart-a>:nth-child(8){--i:7}.chart-a>:nth-child(9){--i:8}.chart-a>:nth-child(10){--i:9}.chart-a>:nth-child(11){--i:10}.chart-a>:nth-child(12){--i:11}.chart-a>:nth-child(13){--i:12}.chart-a>:nth-child(14){--i:13}
.chart-a>* .b{animation-delay:calc(.25s + var(--i,0) * 30ms)}
.chart-a .b:hover,.chart-a .pair:hover .b{filter:brightness(1.12)}
.bar>span{transform-origin:left;animation:sk-grow-x .9s var(--ease) .3s both}
.spark polyline{stroke-dasharray:100;animation:sk-draw 1.1s var(--ease) .35s both}
.spark .area{animation:sk-fade .8s ease .6s both}
.tbl tbody tr{animation:sk-fade .35s ease both}
.tbl tbody tr:nth-child(2){animation-delay:.03s}.tbl tbody tr:nth-child(3){animation-delay:.06s}.tbl tbody tr:nth-child(4){animation-delay:.09s}.tbl tbody tr:nth-child(5){animation-delay:.12s}.tbl tbody tr:nth-child(n+6){animation-delay:.15s}
.tbl tbody td{transition:background .12s}
.ov{animation:sk-fade .18s ease both}
.ov .modal,.pop{animation:sk-pop .22s var(--ease) both}
.ov.right .drawer{animation:sk-slide-r .28s var(--ease) both}
.toast{animation:sk-pop .3s var(--ease) both}
.toast:nth-child(2){animation-delay:.08s}
.alert{animation:sk-rise .4s var(--ease) both}
.nav,.mi,.tab,.chip,.card,.radio-card,.seg button{transition:background .14s,color .14s,border-color .14s,box-shadow .14s,transform .14s}
.btn:active:not([disabled]),.chip:active,.tab:active,.radio-card:active{transform:scale(.97)}
.nav-live,.pill.p-green .dot{animation:sk-ping 2s ease-out infinite}
.sb.open{animation:sk-slide-r .25s var(--ease) both;animation-name:sk-rise}
.skl{background:linear-gradient(90deg,var(--surface-3) 0%,color-mix(in srgb,var(--surface-3) 40%,var(--surface)) 50%,var(--surface-3) 100%);background-size:200% 100%;animation:sk-shimmer 1.4s linear infinite}
.tg-t::after{transition:transform .2s var(--ease)}
.lrow,.li{transition:background .12s}
a.card:hover,button.card:hover,.tool:hover,.plat:hover,.ob-card:hover{transform:translateY(-1px);box-shadow:0 6px 16px -10px rgba(16,16,24,.25)}
@media (prefers-reduced-motion:reduce){.sk *,.skt *{animation:none!important;transition:none!important}}

/* tablet */
@container (max-width:1180px){
  .g4,.g5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-side{grid-template-columns:minmax(0,1fr) 320px}
  .stats{grid-template-columns:repeat(min(var(--n,4),3),minmax(0,1fr))}
  .stats .stat:nth-child(3n+1){border-left:0}
  .stats .stat:nth-child(n+4){border-top:1px solid var(--border)}
  .kbar{width:200px}
}
/* phone */
@container (max-width:760px){
  .show-m{display:flex!important}
  .hide-m{display:none!important}
  .shell{background:var(--bg)}
  .main{margin:0;border:0;border-radius:0;box-shadow:none}
  .top{border-radius:0;padding:0 6px 0 10px;gap:2px}
  .sb{display:none}
  .sb.open{display:flex;position:absolute;left:0;top:0;bottom:0;z-index:90;width:300px;max-width:86%;box-shadow:var(--pop);background:var(--app);padding:10px}
  .sb-scrim.open{display:block;position:absolute;inset:0;z-index:85;background:var(--scrim);border:0;width:100%;padding:0}
  .nav{height:40px;font-size:14px}
  .banner{padding:8px 14px;flex-wrap:wrap;align-items:flex-start}
  .page{padding:18px 14px 56px}
  .ph{align-items:flex-start;margin-bottom:16px}
  .ph-a{width:100%}
  .ph-a .btn{flex:1 1 auto}
  .h1{font-size:19px;line-height:26px}
  .g2,.g3,.g4,.g5,.g-main,.g-side{grid-template-columns:minmax(0,1fr)}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats .stat{border-left:1px solid var(--border);border-top:1px solid var(--border)}
  .stats .stat:nth-child(odd){border-left:0}
  .stats .stat:nth-child(-n+2){border-top:0}
  .stat{padding:12px}
  .stat-v{font-size:18px}
  .stat:last-child:nth-child(odd){grid-column:1/-1}
  .btn{height:40px;padding:0 13px;font-size:13.5px}
  .btn-sm{height:34px;font-size:12.5px}
  .btn-icon{width:40px}.btn-sm.btn-icon{width:34px}
  .in{height:42px;font-size:16px}
  textarea.in{height:auto}
  .search{width:100%}
  .tabs{flex-wrap:wrap;gap:4px}
  .tab{height:32px;border:1px solid var(--border);background:var(--surface)}
  .tab.on{background:var(--text);color:var(--bg);border-color:var(--text)}
  .tab.on .tc{color:var(--bg)}
  .seg{display:flex;width:100%}
  .seg button{height:32px}
  .card-h,.card-b{padding-left:14px;padding-right:14px}
  .dl{grid-template-columns:minmax(0,1fr)}
  .dl dt{margin-top:6px}
  .code{white-space:pre-wrap;word-break:break-all}
  .tbl-w{overflow-x:visible}
  .tbl thead{display:none}
  .tbl,.tbl tbody{display:block}
  .tbl tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:12px 14px;border-bottom:1px solid var(--border);position:relative}
  .tbl tr:last-child{border-bottom:0}
  .tbl tr.grp{display:block;padding:10px 14px 6px;background:var(--surface-2)}
  .tbl td,.tbl td:first-child,.tbl td:last-child,.tbl td:not(:first-child){white-space:normal;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0;border:0;min-width:0}
  .tbl td[data-label]::before{content:attr(data-label);font-size:11px;color:var(--text-3);font-weight:500}
  .tbl td.tp{grid-column:1/-1;padding-right:40px}
  .tbl td.tw{grid-column:1/-1}
  .tbl td.tc{position:absolute;top:14px;right:14px}
  .tbl td.ta{position:absolute;top:8px;right:8px}
  .tbl td.hm{display:none}
  .tbl .r{text-align:left}
  .bulk{position:sticky;bottom:12px}
  .ov{align-items:flex-end;padding:0}
  .ov.right{padding:0}
  .ov.pop-tr{padding:0;justify-content:center;background:var(--scrim)}
  .modal,.modal.md,.modal.lg,.modal.sm{max-width:none;border-radius:14px 14px 0 0;max-height:92vh}
  .ov .modal{animation:sk-slide-u .3s var(--ease) both}
  .ov.right .drawer{animation:sk-fade .2s ease both}
  .modal-h{padding:4px 16px 2px}
  .modal-b{padding:12px 16px 16px}
  .modal-f{padding:10px 16px 18px}
  .modal-f .btn{flex:1 1 auto}
  .grab{display:block;width:36px;height:4px;border-radius:2px;background:var(--border-2);margin:8px auto 4px;flex:0 0 auto}
  .drawer,.drawer.wide{width:100%;border-radius:0}
  .drawer-b{padding:16px}

  .msg{max-width:88%}
  .chart{height:170px}
  .chart-a{gap:3px}
}

/* ---- Agent Setup page (from the export) ---- */

body{margin:0}
.as-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.as-prev{position:sticky;top:16px}
.sec-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px 0}
.sec-b{padding:16px 18px 18px;display:flex;flex-direction:column;gap:16px}
.hours{display:grid;grid-template-columns:120px 1fr;gap:8px 16px;align-items:center}
.hours .tm{display:flex;align-items:center;gap:8px}
.hours .tm .in{width:120px}
.savebar{position:sticky;bottom:0;z-index:20;margin:24px -28px -72px;padding:10px 28px;border-radius:0 0 12px 12px;background:var(--bg);border-top:1px solid var(--border);display:flex;align-items:center;gap:10px}
.wsite{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;height:560px;position:relative;overflow:hidden}
.wsite .lines{padding:20px;display:flex;flex-direction:column;gap:10px;opacity:.6}
.wchat{position:absolute;bottom:84px;width:300px;background:#fff;color:#18181A;border-radius:14px;box-shadow:0 16px 40px -12px rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.06);overflow:hidden;font-size:13px}
.wchat .wh{padding:12px 14px;color:#fff;display:flex;align-items:center;gap:10px}
.wchat .wb{padding:12px;display:flex;flex-direction:column;gap:8px;background:#fff}
.wchat .wbub{background:#F2F2F0;border-radius:12px;border-top-left-radius:4px;padding:8px 10px;max-width:85%}
.wchat .wq{border:1px solid #E2E2DE;border-radius:999px;padding:4px 10px;font-size:12px;background:#fff;color:#18181A}
.wchat .wi{display:flex;gap:6px;padding:10px 12px;border-top:1px solid #EEE;background:#fff}
.wchat .wi span{flex:1;color:#8A8A90}
.wlaunch{position:absolute;bottom:20px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 8px 20px -6px rgba(0,0,0,.35)}
.sw-c{width:28px;height:28px;border-radius:50%;border:2px solid var(--surface);box-shadow:0 0 0 1px var(--border-2);cursor:pointer;padding:0}
.sw-c.on{box-shadow:0 0 0 2px var(--text)}
@container (max-width:1180px){.as-grid{grid-template-columns:minmax(0,1fr) 320px}.wchat{width:260px}}
@container (max-width:760px){
 .as-grid{grid-template-columns:minmax(0,1fr)}
 .as-prev{display:none}
 .hours{grid-template-columns:1fr}
 .hours .tm .in{width:auto;flex:1 1 0}
 .savebar{margin:24px -14px -56px;padding:10px 14px;border-radius:0}
 .savebar .btn{flex:1 1 auto}
 .sec-h,.sec-b{padding-left:14px;padding-right:14px}
}

/* ---- Home page (from the Home export) ---- */
.steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.stp{padding:14px 16px;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:8px;min-width:0}
.stp:first-child{border-left:0}
.stp .t{font-size:12.5px;font-weight:500}
.stp.done .t{color:var(--text-3);text-decoration:line-through;text-decoration-color:var(--border-2)}
.cv-card{display:flex;flex-direction:column}
.cv-card>.card-b{flex:1 1 auto;display:flex;flex-direction:column}
.cv-card .chart{flex:1 1 auto;height:auto;min-height:220px}
.pair{flex:1 1 0;display:flex;align-items:flex-end;gap:2px;height:100%;min-width:0}
.chart-a .b.prev{background:color-mix(in srgb,var(--c2) 45%,transparent)}
.sumrow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--border)}
.sumrow>div{padding:10px 16px;border-left:1px solid var(--border)}
.sumrow>div:first-child{border-left:0}
.lrow{display:flex;align-items:center;gap:10px;padding:9px 16px;border-top:1px solid var(--border);color:var(--text);text-decoration:none!important;min-width:0}
.lrow:hover{background:var(--surface-2)}
.tl{position:relative;padding-left:22px}
.tl::before{content:"";position:absolute;left:9px;top:4px;bottom:4px;width:1px;background:var(--border)}
.tl-i{position:relative;padding:6px 0}
.tl-i .tdot{position:absolute;left:-17px;top:11px;width:9px;height:9px;border-radius:50%;border:2px solid var(--surface)}
@container (max-width:1180px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}.stp{border-top:1px solid var(--border)}.stp:nth-child(odd){border-left:0}}
@container (max-width:760px){.steps{grid-template-columns:minmax(0,1fr)}.stp{border-left:0}.sumrow{grid-template-columns:repeat(3,minmax(0,1fr))}.sumrow>div{padding:10px 12px}}

/* ---- Conversations page (from the Conversations export) ---- */
.vbtn{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;text-align:left;cursor:pointer;min-width:0;color:var(--text);width:100%}
.vbtn:hover .vn{text-decoration:underline;text-underline-offset:2px}
.meta-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border);border-radius:10px;overflow:hidden}
.meta-g>div{padding:10px 12px;border-left:1px solid var(--border);border-top:1px solid var(--border)}
.meta-g>div:nth-child(3n+1){border-left:0}
.meta-g>div:nth-child(-n+3){border-top:0}
.ct{table-layout:auto;width:100%;min-width:820px}
.ct .vtxt .trunc{max-width:240px}
.ct th,.ct td{height:56px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:12px;padding-right:12px}
.ct th{height:38px}
.ct th:first-child,.ct td:first-child{padding-left:20px;padding-right:0}
.ct th:last-child,.ct td:last-child{padding-right:20px}
.ct .c-cb{width:44px}
.ct th:not(:first-child),.ct td:not(:first-child){padding-left:24px;padding-right:24px}
.ct th.r,.ct td.r{text-align:left}
.ct th.r .th-s{margin-left:0}
.ct .cb{display:block}
.ct th.r .th-s{margin-left:auto}
.ct .vtxt{display:flex;flex-direction:column;min-width:0;line-height:18px}
.ct .cell{display:flex;align-items:center;gap:8px;min-width:0}
.ct .vbtn .av{flex:0 0 auto}
@container (max-width:760px){.ct{min-width:0}.ct th,.ct td,.ct td:first-child,.ct td:last-child{height:auto;white-space:normal;overflow:visible;padding:0}.ct td.tp{padding-right:40px}.ct .vtxt{line-height:1.4}}

/* ---- Live page (from the Live export) ---- */
.lh{display:flex;align-items:center;gap:12px;padding:10px 20px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.live{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:320px minmax(0,1fr) 320px}
.lp{min-height:0;display:flex;flex-direction:column}
.lp-list{border-right:1px solid var(--border);background:var(--surface);overflow-y:auto}
.lp-vis{border-left:1px solid var(--border);background:var(--surface);overflow-y:auto}
.lp-thread{overflow:hidden;background:var(--bg)}
.li{display:flex;gap:10px;align-items:flex-start;width:100%;padding:12px 14px;border:0;border-bottom:1px solid var(--border);background:none;text-align:left;cursor:pointer;color:var(--text)}
.li:hover{background:var(--surface-2)}
.li.on{background:var(--accent-soft)}
.li .av{position:relative}
.li .st{position:absolute;right:-1px;bottom:-1px;width:9px;height:9px;border-radius:50%;border:2px solid var(--surface)}
.th-h{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid var(--border);background:var(--surface);flex-wrap:wrap}
.th-m{flex:1 1 auto;min-height:0;overflow-y:auto;padding:20px 24px 56px;position:relative}
.jump{position:sticky;bottom:0;margin:0 auto;display:flex;width:max-content;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;border:0;background:var(--text);color:var(--bg);font-size:12px;font-weight:500;cursor:pointer;box-shadow:var(--pop)}
.comp{border-top:1px solid var(--border);background:var(--surface);padding:10px 16px 12px;position:relative}
.comp textarea{border:0;box-shadow:none!important;padding:8px 0;min-height:64px;resize:none;background:transparent}
.comp.note{background:var(--amber-soft)}
.vsec{padding:16px;border-bottom:1px solid var(--border)}
.vsec:last-child{border-bottom:0}
.vsec h3{font-size:12px;font-weight:500;color:var(--text-3);margin-bottom:10px}
@container (max-width:1180px){.live{grid-template-columns:280px minmax(0,1fr) 280px}}
@container (max-width:760px){
 .lh{padding:10px 16px}
 .live{display:flex;flex-direction:column}
 .live>.lp{display:none;flex:1 1 auto;width:100%;border:0}
 .live.p-list>.lp-list,.live.p-thread>.lp-thread,.live.p-vis>.lp-vis{display:flex}
 .th-m{padding:16px 14px 56px}
 .comp{padding:8px 12px 12px}
}

/* ---- Leads page (from the Leads export) ---- */
.ld-vbtn{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;text-align:left;cursor:pointer;min-width:0;color:var(--text)}
.ld-vbtn:hover .vn{text-decoration:underline}
.quote{border-left:2px solid var(--border-2);padding:2px 0 2px 12px;color:var(--text);font-size:14px}

/* ---- Test Assistant page (from the Test Assistant export) ---- */
.ta{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:320px minmax(0,1fr)}
.ta-info{border-right:1px solid var(--border);background:var(--surface);overflow-y:auto}
.ta-info summary{list-style:none;cursor:default;padding:16px 18px;display:flex;align-items:center;gap:10px}
.ta-info summary::-webkit-details-marker{display:none}
.ta-info summary .chev{display:none}
.ta-chat{display:flex;flex-direction:column;min-height:0}
.ta-msgs{flex:1 1 auto;min-height:0;overflow-y:auto;padding:24px}
.ta-in{border-top:1px solid var(--border);background:var(--surface);padding:12px 16px}
@container (max-width:760px){
 .ta{display:flex;flex-direction:column}
 .ta-info{border-right:0;border-bottom:1px solid var(--border);overflow:visible;flex:0 0 auto;max-height:60%;overflow-y:auto}
 .ta-info summary{cursor:pointer;padding:12px 16px}
 .ta-info summary .chev{display:block}
 .ta-info[open] summary .chev{transform:rotate(180deg)}
 .ta-chat{flex:1 1 auto}
 .ta-msgs{padding:16px}
 .ta-in{padding:10px 12px}
}

/* ---- Workflows page (from the Workflows export) ---- */
.wf-vbtn{border:0;background:none;padding:0;text-align:left;cursor:pointer;color:var(--text);font-weight:500}
.wf-vbtn:hover{text-decoration:underline}
.tpl{display:flex;flex-direction:column;gap:10px;padding:16px;text-align:left}
.step{border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.step-h{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--border)}
.step-b{padding:12px;display:flex;flex-direction:column;gap:10px}
.conn{width:1px;height:14px;background:var(--border-2);margin-left:22px}
.tok{display:inline-flex;font-family:var(--mono);font-size:11.5px;padding:2px 6px;border-radius:5px;background:var(--surface-2);border:1px solid var(--border);color:var(--accent-text);cursor:pointer}
details.log summary{list-style:none;cursor:pointer}
details.log summary::-webkit-details-marker{display:none}

/* ---- Install page (from the Install export) ---- */
.plat{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);cursor:pointer;text-align:left;color:var(--text);width:100%}
.plat:hover{border-color:var(--border-2)}
.mono-tile{width:40px;height:40px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border);display:grid;place-items:center;font-weight:600;font-size:14px;color:var(--text-2)}
.g5{grid-template-columns:repeat(5,minmax(0,1fr))}
.pulse{width:8px;height:8px;border-radius:50%;background:currentColor;animation:skp 1.4s infinite}
ol.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;counter-reset:s}
ol.steps li{display:flex;gap:12px;align-items:flex-start;font-size:14px}
@container (max-width:1180px){.g5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:760px){.g5{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---- AI Tools page (from the AI Tools export) ---- */
.tool{display:flex;flex-direction:column;gap:12px;padding:16px;text-align:left;cursor:pointer;width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:12px}
.tool:hover{border-color:var(--border-2)}
.tool .meta{display:flex;gap:12px;font-size:12px;color:var(--text-3);margin-top:auto;padding-top:10px;border-top:1px solid var(--border)}
.result{white-space:pre-line;font-size:14px;line-height:1.6}

/* ---- Integrations page (from the Integrations export) ---- */
.int{display:flex;flex-direction:column;gap:12px;padding:16px}
.logo-t{width:40px;height:40px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);display:grid;place-items:center;font-weight:600;font-size:13px;color:var(--text-2);flex:0 0 auto}
.int-f{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid var(--border);flex-wrap:wrap}
.grp-note{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);flex-wrap:wrap}

/* ---- Settings page (from the Settings export) ---- */
.set-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:40px;align-items:start}
.snav{display:flex;flex-direction:column;gap:2px}
.ssec{scroll-margin-top:16px}
.ssec .card-h{flex-direction:column;align-items:flex-start;gap:2px}
.mem{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--border);flex-wrap:wrap}
.danger{border-color:color-mix(in srgb,var(--red) 35%,var(--border))}
.dis{opacity:.55;pointer-events:none}
@container (max-width:760px){
 .set-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .snav{flex-direction:row;flex-wrap:wrap;gap:6px}
 .snav .nav{width:auto;height:36px;font-size:13px;border:1px solid var(--border);border-radius:999px;padding:0 12px;background:var(--surface)}
 .snav .nav .i{display:none}
}

/* ---- Billing page (from the Billing export) ---- */
.cmp{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr)}
.cmp>div{padding:12px 16px;border-top:1px solid var(--border);font-size:13px;display:flex;align-items:center;gap:6px}
.cmp .hd{border-top:0;padding-top:16px;padding-bottom:16px;flex-direction:column;align-items:flex-start;gap:2px}
.cmp .pro{background:var(--accent-soft)}
.price{font-size:32px;line-height:40px;font-weight:600;letter-spacing:-.02em}
.pp{background:#FFC439;border-color:#FFC439;color:#111!important;font-weight:600}
.pp:hover{background:#F2B92E;border-color:#F2B92E}
.or{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--text-3)}
.or::before,.or::after{content:"";flex:1 1 auto;height:1px;background:var(--border)}
@container (max-width:760px){.cmp{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr)}.cmp>div{padding:10px 10px;font-size:12px}}

/* ---- V2-only additions (not in the export) ---- */
/* The save bar only appears once there are unsaved changes; the design's display:flex would
   otherwise override the hidden attribute. */
.savebar[hidden]{display:none}
/* Full-height pages (Live): the page fills the window and scrolls inside its own panes. */
.sk.v2-fill{height:100vh;min-height:0;overflow:hidden}
.sk.v2-fill .shell{height:100%;min-height:0}
.sk.v2-fill .main{min-height:0}
.sk.v2-fill .page{flex:0 1 auto}
.page.page-flush{max-width:none;padding:0;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.page.page-flush>*{animation:none}
/* Knowledge Base: highlight the dropzone while a file is dragged over it. */
.dz.on{border-color:var(--accent);background:var(--accent-soft)}
/* Home → Needs you: one row per item, actions on the right (stack under the text on phones). */
.ny-row{display:flex;align-items:center;gap:12px;padding:10px 16px;border-top:1px solid var(--border)}
.ny-bar{width:3px;align-self:stretch;border-radius:2px;flex:0 0 auto}
.ny-age{white-space:nowrap}
.ny-act{flex:0 0 auto}
@container (max-width:760px){
 .ny-row{flex-wrap:wrap}
 .ny-row>.grow{flex:1 1 calc(100% - 80px)}
 .ny-act{width:100%;justify-content:flex-end;padding-left:15px}
}
/* Home → What SikloAI did for you: value tiles. */
.val-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--border)}
.val-t{padding:12px 16px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:2px}
.val-t:nth-child(odd){border-right:1px solid var(--border)}
.val-t:last-child{border-bottom:0}
.val-t:last-child:nth-child(odd){grid-column:1/-1;border-right:0}
/* AI Team: agent avatars (owner-picked colour), colour swatches, card stats. */
.ag-av{display:inline-grid;place-items:center;flex:0 0 auto;border-radius:50%;font-weight:600;color:#fff;background:var(--ac)}
.ag-sw{width:28px;height:28px;border-radius:50%;border:2px solid transparent;background:var(--ac);color:#fff;display:grid;place-items:center;cursor:pointer}
.ag-sw.on{border-color:var(--surface);box-shadow:0 0 0 2px var(--ac)}
.ag-card{display:flex;flex-direction:column}
.ag-card .card-b{flex:1 1 auto}
.ag-stats{gap:8px;padding:10px 12px;background:var(--surface-2);border-radius:var(--r2)}
/* Guided setup: stepper, browser-frame preview, imported pages, spinner. */
.su{max-width:1040px;margin:0 auto;display:flex;flex-direction:column;gap:16px;width:100%}
.su-steps{display:flex;gap:6px;list-style:none;margin:0;padding:0;counter-reset:s}
.su-steps li{flex:1 1 0;display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--r2);background:var(--surface-2);font-size:12.5px;color:var(--text-3);min-width:0}
.su-steps li.on{background:var(--accent-soft);color:var(--accent-text);font-weight:500}
.su-steps li.done{color:var(--text-2)}
.su-n{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:var(--surface);border:1px solid var(--border);font-size:11px}
.su-steps li.on .su-n{background:var(--accent);border-color:var(--accent);color:#fff}
.su-steps li.done .su-n{background:var(--green);border-color:var(--green);color:#fff}
.su-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.su-browser{border:1px solid var(--border);border-radius:var(--r3);overflow:hidden;background:var(--surface)}
.su-bar{display:flex;align-items:center;gap:5px;padding:8px 10px;border-bottom:1px solid var(--border);background:var(--surface-2)}
.su-bar>span{width:8px;height:8px;border-radius:50%;background:var(--border-2)}
.su-url{flex:1;margin-left:8px;height:22px;border-radius:6px;background:var(--surface);border:1px solid var(--border);font-size:11px;color:var(--text-3);display:flex;align-items:center;padding:0 8px;overflow:hidden;white-space:nowrap}
.su-pages{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
.su-pages li{display:flex;align-items:center;gap:6px;font-size:12.5px;min-width:0}
.su-pages li .i{color:var(--green);flex:0 0 auto}
.wchat .wbub.typing{display:inline-flex}
.spin{width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:spin .8s linear infinite;flex:0 0 auto;opacity:.7}
@keyframes spin{to{transform:rotate(360deg)}}
@container (max-width:760px){
 .su-l{display:none}
 .su-steps li{justify-content:center}
 .su-steps li.on .su-l{display:inline}
 .su-steps li.on{flex:3 1 0}
 .su-pages{grid-template-columns:minmax(0,1fr)}
}

/* ---- Home hero (colour direction B “Fresh tint”, chosen 2026-10-09) ---- */
.hero{--hero-fg:var(--text);--hero-muted:var(--text-2);--hero-chip:var(--surface);--hero-chip-b:var(--border);--hero-ok:var(--green);--hero-warn:var(--amber);
  position:relative;overflow:hidden;isolation:isolate;border-radius:var(--r4);padding:22px 24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 28px;align-items:end;
  background:var(--surface);border:1px solid var(--border);color:var(--hero-fg)}
.hero-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.hero-eb{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--hero-muted);font-weight:500}
.hero-h{margin:0;font-size:28px;line-height:1.15;font-weight:600;letter-spacing:-.02em;text-wrap:balance}
.hero-p{margin:0;font-size:13.5px;color:var(--hero-muted)}
.hero-pills{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}
.hp{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;font-size:12.5px;background:var(--hero-chip);border:1px solid var(--hero-chip-b);color:var(--hero-fg)}
.hp .dot{width:7px;height:7px;border-radius:50%}
.hero-sel{width:146px}
.hero-sel .in{height:28px;font-size:12.5px;border-radius:999px;background:var(--hero-chip);border-color:var(--hero-chip-b);color:var(--hero-fg)}
.hero-sel .i{color:var(--hero-fg)}
.hero-stats{display:flex;gap:10px;flex-wrap:wrap}
.hs{display:flex;flex-direction:column;gap:2px;min-width:104px;padding:12px 14px;border-radius:12px;background:var(--hero-chip);border:1px solid var(--hero-chip-b);color:var(--hero-fg);text-align:left;font:inherit;cursor:default;text-decoration:none}
button.hs{cursor:pointer}
button.hs:hover{filter:brightness(1.04)}
.hs-v{font-size:24px;font-weight:600;line-height:1.1;letter-spacing:-.02em}
.hs-l{font-size:12px;color:var(--hero-muted)}
.hero-art{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-art span{position:absolute;border-radius:50%}
@container (max-width:760px){
 .hero{grid-template-columns:minmax(0,1fr);padding:18px;gap:14px}
 .hero-h{font-size:23px}
 .hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .hs{min-width:0;padding:10px}
 .hs-v{font-size:20px}
}

/* Fresh tint: light teal→sky wash, colourful mini-stats; every KPI tile gets its colour stripe + wash. */
.hero{border-color:color-mix(in srgb,var(--c2) 22%,var(--border));
  background:linear-gradient(115deg,color-mix(in srgb,var(--c2) 13%,var(--surface)) 0%,color-mix(in srgb,var(--c5) 12%,var(--surface)) 100%)}
.hero-art span:nth-child(1){width:260px;height:260px;right:-60px;bottom:-140px;background:color-mix(in srgb,var(--c5) 22%,transparent);filter:blur(2px)}
.hero-art span:nth-child(2){width:150px;height:150px;right:170px;top:-80px;background:color-mix(in srgb,var(--c2) 18%,transparent)}
.hero-art span:nth-child(3){width:70px;height:70px;right:40px;top:18px;background:color-mix(in srgb,var(--c3) 22%,transparent)}
.hs{border:0;box-shadow:0 1px 2px rgba(0,0,0,.06),0 0 0 1px var(--border)}
.hs:nth-child(1) .hs-v{color:var(--c1)}
.hs:nth-child(2) .hs-v{color:var(--c6)}
.hs:nth-child(3) .hs-v{color:var(--c3)}
.stat{box-shadow:inset 0 3px 0 var(--sc);background:linear-gradient(180deg,color-mix(in srgb,var(--sc) 7%,var(--surface)) 0%,var(--surface) 70%)}
.card-h .h3{display:inline-flex;align-items:center;gap:8px}
/* Stat tiles without their own colour take one by position (Home sets --sc per metric inline). */
.stats>.stat:nth-child(6n+1){--sc:var(--c1)}
.stats>.stat:nth-child(6n+2){--sc:var(--c2)}
.stats>.stat:nth-child(6n+3){--sc:var(--c6)}
.stats>.stat:nth-child(6n+4){--sc:var(--c5)}
.stats>.stat:nth-child(6n+5){--sc:var(--c3)}
.stats>.stat:nth-child(6n+6){--sc:var(--c4)}
/* Phones: keep only the soft corner blob so no shape sits behind the greeting. */
@container (max-width:760px){.hero-art span:nth-child(2),.hero-art span:nth-child(3){display:none}}

/* ---- Page colour (each page wears its sidebar colour; set in app.js pageColour) ---- */
.page.has-pi{position:relative;isolation:isolate}
.page.has-pi::before{content:"";position:absolute;left:0;right:0;top:0;height:220px;z-index:-1;pointer-events:none;
  background:radial-gradient(120% 100% at 0% 0%,color-mix(in srgb,var(--pc) 10%,transparent) 0%,transparent 60%),linear-gradient(180deg,color-mix(in srgb,var(--pc) 5%,transparent),transparent)}
.has-pi .ph .h1{position:relative;padding-left:46px;min-height:36px;display:inline-flex;align-items:center}
.has-pi .ph .h1::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:11px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--pc) 20%,var(--surface)),color-mix(in srgb,var(--pc) 9%,var(--surface)));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pc) 24%,transparent)}
.has-pi .ph .h1::after{content:"";position:absolute;left:9px;top:50%;transform:translateY(-50%);width:18px;height:18px;background:var(--pc);-webkit-mask:var(--pi) center/contain no-repeat;mask:var(--pi) center/contain no-repeat}
.has-pi .ph:has(.ag-av) .h1{padding-left:0;min-height:0}
.has-pi .ph:has(.ag-av) .h1::before,.has-pi .ph:has(.ag-av) .h1::after{display:none}
.has-pi .tab.on{color:color-mix(in srgb,var(--pc) 78%,var(--text));background:color-mix(in srgb,var(--pc) 13%,var(--surface))}
.has-pi .tab.on .tc{color:inherit}
.has-pi .snav .nav.on{background:color-mix(in srgb,var(--pc) 12%,var(--surface));box-shadow:0 0 0 1px color-mix(in srgb,var(--pc) 22%,transparent)}

/* ---- Knowledge Base: views + filter chips ---- */
.kb-views{display:flex;gap:4px;padding:3px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--border);flex-wrap:wrap}
.kb-view{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 12px;border:0;border-radius:9px;background:none;color:var(--text-2);font:inherit;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}
.kb-view:hover{color:var(--text)}
.kb-view .i{color:var(--text-3)}
.kb-view.on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.07),0 0 0 1px var(--border)}
.kb-view.on .i{color:var(--pc,var(--accent))}
.kb-view:focus-visible,.kb-chip:focus-visible{outline:2px solid var(--pc,var(--accent));outline-offset:2px}
.kb-n{min-width:22px;height:20px;padding:0 7px;border-radius:999px;display:inline-grid;place-items:center;font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums;background:var(--surface-3);color:var(--text-2)}
.kb-view.on .kb-n{background:color-mix(in srgb,var(--pc,var(--accent)) 14%,var(--surface));color:color-mix(in srgb,var(--pc,var(--accent)) 80%,var(--text))}
.kb-n.warn{background:var(--amber-soft,#FDF1DC);color:var(--amber)}
.kb-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid var(--border);background:color-mix(in srgb,var(--surface-2) 60%,var(--surface))}
.kb-fl{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);font-weight:500;margin-right:2px}
.kb-sep{width:1px;height:18px;background:var(--border);margin:0 6px}
.kb-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font:inherit;font-size:12.5px;cursor:pointer}
.kb-chip span{font-size:11.5px;font-variant-numeric:tabular-nums;color:var(--text-3)}
.kb-chip:hover:not(:disabled){border-color:color-mix(in srgb,var(--pc,var(--accent)) 40%,var(--border));color:var(--text)}
.kb-chip.on{border-color:color-mix(in srgb,var(--pc,var(--accent)) 45%,var(--border));background:color-mix(in srgb,var(--pc,var(--accent)) 11%,var(--surface));color:color-mix(in srgb,var(--pc,var(--accent)) 80%,var(--text))}
.kb-chip.on span{color:inherit}
.kb-chip:disabled{opacity:.45;cursor:default}
@container (max-width:760px){.kb-views{width:100%}.kb-view{flex:1 1 auto;justify-content:center;padding:0 8px}.kb-sep{display:none}}
/* Tab counts everywhere: small pill badges in the body font (were monospace digits). */
.tab .tc{font-family:inherit;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;min-width:20px;height:18px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:var(--surface-3);color:var(--text-2);opacity:1}
.tab.on .tc{background:color-mix(in srgb,var(--pc,var(--accent)) 16%,var(--surface));color:inherit;opacity:1}
/* Vendor logos (public/js/v2/logos.js): official full-colour marks on a white tile in both themes. */
.logo-t.sm{width:32px;height:32px;font-size:12px;border-radius:9px}
.logo-i{background:#fff;border-color:var(--border)}
.dk .logo-i{border-color:transparent;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.logo-i img{width:22px;height:22px;object-fit:contain;display:block}
.logo-t.sm.logo-i img{width:18px;height:18px}

/* ---- Lively (motion, charts, people) ---- */
.hero-eb{display:inline-flex;align-items:center;gap:6px}
.hero-sky{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%}
.hero-sky.sun{background:color-mix(in srgb,#F2A93B 22%,transparent);color:#C27A0E}
.hero-sky.moon{background:color-mix(in srgb,var(--c6) 18%,transparent);color:var(--c6)}
.hp-ms .i{color:#C27A0E}
.hp-ms{background:linear-gradient(90deg,color-mix(in srgb,#F2A93B 18%,var(--hero-chip)),var(--hero-chip));border-color:color-mix(in srgb,#F2A93B 35%,var(--hero-chip-b));font-weight:500}
.hero-art span:nth-child(3){background:color-mix(in srgb,var(--brand,var(--c3)) 24%,transparent)}

/* Home: conversation volume area chart */
.cv-plot{flex:1 1 auto;position:relative;border-bottom:1px solid var(--border-2);min-height:0}
.cv-plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cv-grid{stroke:var(--border);stroke-width:1;vector-effect:non-scaling-stroke}
.cv-line{fill:none;stroke:var(--accent);stroke-width:2.2;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.cv-prev{fill:none;stroke:color-mix(in srgb,var(--c2) 60%,transparent);stroke-width:1.6;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}
.cv-guide{position:absolute;top:0;bottom:0;width:1px;background:var(--border-2);transform:translateX(-.5px);pointer-events:none}
.cv-dot{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px var(--surface),0 0 0 5px color-mix(in srgb,var(--accent) 30%,transparent);transform:translate(-50%,-50%);pointer-events:none}
.cv-tip{position:absolute;top:-6px;transform:translate(-50%,-100%);background:var(--text);color:var(--bg);border-radius:8px;padding:7px 10px;font-size:12px;display:flex;flex-direction:column;gap:2px;white-space:nowrap;pointer-events:none;box-shadow:var(--pop);z-index:2}
.cv-tip span{display:flex;align-items:center;gap:6px;opacity:.9}
.cv-k{width:8px;height:3px;border-radius:2px;display:inline-block}
.cv-k.cur{background:var(--accent)}.cv-k.prev{background:var(--c2)}
@media (prefers-reduced-motion:no-preference){.cv-area{animation:cv-in .8s var(--ease,ease) both}.cv-line{stroke-dasharray:2000;stroke-dashoffset:2000;animation:cv-draw 1.1s var(--ease,ease) .1s forwards}}
@keyframes cv-in{from{opacity:0}to{opacity:1}}
@keyframes cv-draw{to{stroke-dashoffset:0}}

/* New rows slide in and glow briefly; hot leads carry a warm tint */
@keyframes row-new{0%{background:color-mix(in srgb,var(--accent) 16%,var(--surface));transform:translateY(-4px);opacity:.3}30%{transform:none;opacity:1}100%{background:transparent}}
.row-new>td,.row-new{animation:row-new 2.4s var(--ease,ease) both}
.lead-hot>td{background:color-mix(in srgb,#F2A93B 7%,var(--surface))}
.lead-hot>td:first-child{box-shadow:inset 3px 0 0 #F2A93B}

/* Visitor country + device */
.vmeta{display:inline-flex;align-items:center;gap:4px;margin-left:6px;vertical-align:middle;color:var(--text-3)}
.vmeta .cc{font-size:10px;font-weight:600;letter-spacing:.04em;padding:1px 5px;border-radius:5px;background:var(--surface-3);color:var(--text-2)}
.vmeta .i{width:13px;height:13px}

/* Empty-state illustrations */
.ill{width:148px;height:auto;margin:0 auto 6px;display:block}

/* Gentle hover lift on cards you can act on; pressed buttons give way a little */
@media (prefers-reduced-motion:no-preference){
 .int,.plat,.tool,.ag-card,.hs,.stats .stat{transition:transform .18s var(--ease,ease),box-shadow .18s var(--ease,ease)}
 .int:hover,.plat:hover,.tool:hover,.ag-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px -12px rgba(20,20,40,.28)}
 button.hs:hover{transform:translateY(-1px)}
 .btn:active:not(:disabled){transform:scale(.97)}
}
/* Approvals: the email exactly as it will be sent. */
.ap-mail{border:1px solid var(--border);border-radius:var(--r2);background:var(--surface-2);overflow:hidden}
.ap-subj{padding:10px 14px;border-bottom:1px solid var(--border);font-weight:600;font-size:13.5px}
.ap-body{padding:12px 14px;white-space:pre-wrap;font-size:13.5px;line-height:1.55;color:var(--text)}
@container (max-width:760px){.ap-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.ap-actions .btn-p{grid-column:1/-1;height:44px}}
/* Agent page → Ask: a small chat with the agent. */
.ask{display:flex;flex-direction:column}
.ask-msgs{display:flex;flex-direction:column;gap:12px;padding:18px;max-height:440px;min-height:180px;overflow-y:auto}
.ask-hi{display:flex;align-items:center;gap:12px;margin:auto 0}
.ask-m{display:flex;gap:8px;align-items:flex-end;max-width:85%}
.ask-m.me{align-self:flex-end}
.ask-b{padding:9px 12px;border-radius:12px;font-size:13.5px;line-height:1.5;white-space:pre-wrap;background:var(--surface-2);border:1px solid var(--border)}
.ask-m.me .ask-b{background:var(--accent);color:var(--on-accent);border-color:transparent}
.ask-sug{display:flex;flex-wrap:wrap;gap:6px;padding:0 18px 12px}
.ask-in{display:flex;gap:8px;padding:12px 18px;border-top:1px solid var(--border)}
/* Agent results, Try it, follow-up settings. */
.ag-res{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;padding:8px 10px;border-radius:10px;background:color-mix(in srgb,var(--green) 7%,var(--surface));color:var(--text-2)}
.ag-res .i{color:var(--green)}
.ag-results{overflow:hidden}
.ag-rt{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));border-top:1px solid var(--border)}
.ag-rt>div{padding:14px 16px;border-left:1px solid var(--border)}.ag-rt>div:first-child{border-left:0}
.ag-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;padding:10px 16px;border-top:1px solid var(--border);background:var(--surface-2)}
@container (max-width:640px){.ag-rt{grid-template-columns:1fr 1fr}.ag-rt>div:nth-child(odd){border-left:0}.ag-rt>div:nth-child(n+3){border-top:1px solid var(--border)}}
.ap-to{padding:8px 14px 0}
.ap-quote{padding:8px 12px;border-left:3px solid var(--border-2);color:var(--text-2);white-space:pre-wrap;line-height:1.5}
.ap-sms{margin:0 14px 12px;padding:9px 12px;border-radius:14px 14px 14px 4px;background:color-mix(in srgb,var(--green) 12%,var(--surface));font-size:13.5px;line-height:1.5;max-width:420px;white-space:pre-wrap}
.ap-sms .t-xs{margin-bottom:2px}
.try-run{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:var(--r2);border:1px dashed var(--border-2)}
.try-out{display:flex;flex-direction:column;gap:14px}
.try-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.try-steps li{display:flex;gap:10px;align-items:flex-start;position:relative;padding:0 0 12px}
.try-steps li:not(:last-child)::before{content:"";position:absolute;left:10px;top:22px;bottom:2px;width:2px;background:var(--border)}
.try-dot{flex:0 0 auto;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--green-soft);color:var(--green)}
.try-steps li.bad .try-dot{background:var(--red-soft);color:var(--red)}
.try-score{display:flex;gap:14px;align-items:center;padding:14px;border-radius:var(--r2);border:1px solid var(--border);background:var(--surface-2)}
.score-ring{flex:0 0 auto;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:18px;border:4px solid var(--border-2)}
.score-ring.hot{border-color:var(--red);color:var(--red)}.score-ring.warm{border-color:var(--amber);color:var(--amber)}.score-ring.cold{border-color:var(--blue);color:var(--blue)}
.set-h{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-3);padding-top:4px}
.stop-note{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:var(--surface-2);color:var(--text-2);line-height:1.5}
.stop-note .i{flex:0 0 auto;margin-top:1px;color:var(--green)}
/* Agent handoff card inside a chat thread (not a bubble). */
.handoff{display:flex;align-items:center;gap:10px;margin:4px auto;max-width:440px;width:100%;padding:8px 12px;border-radius:12px;border:1px dashed color-mix(in srgb,var(--c4) 35%,var(--border));background:color-mix(in srgb,var(--c4) 5%,var(--surface))}

/* Tala, the dashboard assistant (js/v2/tala.js). Lives on <body> as .skt.tala, outside the .sk size
   container, so position:fixed keeps the bubble in the corner while the page scrolls. */
.tala{position:static;font-size:13px}
/* The bubble: Tala's avatar (online dot) at rest; a status pill when something needs you. */
.tala-fab{position:fixed;right:20px;bottom:20px;z-index:96;display:inline-flex;align-items:center;gap:10px;height:56px;min-width:56px;padding:0;border:0;border-radius:28px;background:transparent;color:var(--text);font:500 13px/1 var(--font);cursor:pointer;transition:transform .15s var(--ease,ease)}
.tala-fab:hover{transform:translateY(-1px)}
.tala-fab:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.tala-face{position:relative;width:56px;height:56px;flex:0 0 auto;box-sizing:border-box;border-radius:50%;border:3px solid var(--bg);display:grid;place-items:center;background:linear-gradient(150deg,#13A08F 0%,#0E8A7E 45%,#2E7CC4 100%);color:#fff;font-weight:600;font-size:21px;box-shadow:0 10px 24px -8px rgba(14,100,110,.55),0 0 0 1px var(--border-2)}
.tala-online{position:absolute;right:-1px;bottom:1px;width:14px;height:14px;box-sizing:border-box;border-radius:50%;background:#2FB67A;border:2.5px solid var(--bg)}
.tala-tip{position:absolute;right:66px;top:50%;transform:translate(6px,-50%);opacity:0;pointer-events:none;white-space:nowrap;background:#1A1A1E;color:#fff;border-radius:8px;padding:7px 10px;display:flex;flex-direction:column;gap:2px;font-size:11.5px;text-align:left;color-scheme:dark;transition:opacity .15s,transform .15s}
.tala-tip b{font-size:12.5px;font-weight:600}
.tala-tip{color:#B9B9C2}.tala-tip b{color:#fff}
.tala-fab:hover .tala-tip,.tala-fab:focus-visible .tala-tip{opacity:1;transform:translate(0,-50%)}
/* With a status: one pill, avatar on the left. */
.tala-fab.has-status{height:48px;padding:0 16px 0 5px;gap:9px;border-radius:24px;background:var(--surface);border:1px solid var(--border-2);box-shadow:0 10px 24px -12px rgba(16,16,24,.35)}
.tala-fab.has-status .tala-face{width:38px;height:38px;font-size:15px;border-width:2px;box-shadow:none}
.tala-fab.has-status .tala-online{width:11px;height:11px;border-width:2px}
.tala-st{display:flex;align-items:center;gap:9px;white-space:nowrap}
.tala-sep{width:1px;height:16px;background:var(--border-2)}
.tala-stx{display:flex;align-items:center;gap:6px;font-weight:600}
.tala-stx i{width:7px;height:7px;border-radius:50%;flex:0 0 auto}
.tala-fab.warn{background:var(--amber-soft);border-color:color-mix(in srgb,var(--amber) 25%,transparent)}
.tala-fab.warn .tala-stx{color:var(--amber)}.tala-fab.warn .tala-stx i{background:var(--amber)}.tala-fab.warn .tala-sep{background:color-mix(in srgb,var(--amber) 25%,transparent)}
.tala-fab.bad{background:var(--red-soft);border-color:color-mix(in srgb,var(--red) 25%,transparent)}
.tala-fab.bad .tala-stx{color:var(--red)}.tala-fab.bad .tala-stx i{background:var(--red)}.tala-fab.bad .tala-sep{background:color-mix(in srgb,var(--red) 25%,transparent)}
.tala-fab.open{width:48px;height:48px;min-width:0;justify-content:center;border-radius:50%;background:var(--surface);border:1px solid var(--border-2);box-shadow:0 10px 24px -12px rgba(16,16,24,.35)}
.tala-fab.open .i{width:18px;height:18px;color:var(--text-2)}
.tala.raise .tala-fab{bottom:84px}
.tala.raise .tala-nudge{bottom:148px}
.tala-av{width:30px;height:30px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;background:linear-gradient(150deg,#13A08F,#0E8A7E 45%,#2E7CC4);color:#fff;font-weight:600;font-size:13px}
.tala-av.sm{width:22px;height:22px;font-size:11px}
/* The nudge: Tala's chat bubble above the button. */
.tala-nudge{position:fixed;right:20px;bottom:88px;z-index:96;width:290px;max-width:calc(100vw - 32px);box-sizing:border-box;background:var(--surface);color:var(--text);border-radius:16px 16px 4px 16px;box-shadow:var(--pop);padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px}
.tala-nudge-h{display:flex;align-items:baseline;gap:6px;font-size:13px}
.tala-nudge-h .faint{font-size:11.5px}
.tala-nudge-h .btn{margin-left:auto;align-self:center}
.tala-nudge p{margin:0;font-size:13px;color:var(--text);line-height:1.45}
.tala-go{background:#0E8A7E;border-color:transparent;color:#fff!important}
.tala-go:hover{background:#0B776D}
.tala-panel{position:fixed;right:20px;bottom:84px;z-index:97;width:390px;max-width:calc(100vw - 32px);height:min(600px,calc(100vh - 100px));display:flex;flex-direction:column;background:var(--bg);color:var(--text);border-radius:16px;box-shadow:var(--pop);overflow:hidden}
.tala.raise .tala-panel{bottom:148px;height:min(600px,calc(100vh - 172px))}
.tala-h{position:relative;display:flex;align-items:center;gap:10px;padding:12px 10px 12px 14px;border-bottom:1px solid var(--border);background:var(--surface)}
.tala-pop{right:10px;top:46px;min-width:200px}
.tala-b{flex:1 1 auto;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.tala-msg{max-width:92%;align-self:flex-start;background:var(--surface-2);border:1px solid var(--border);border-radius:4px 14px 14px 14px;padding:9px 12px;font-size:13px;line-height:1.5;display:flex;flex-direction:column;gap:8px}
.tala-msg p{margin:0}
.tala-msg ul,.tala-msg ol{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:3px}
.tala-msg{text-align:left}
.tala-msg.me{display:block;align-self:flex-end;background:var(--accent);border-color:transparent;color:var(--on-accent);border-radius:14px 4px 14px 14px;white-space:pre-wrap}
/* Keep the dashboard's toasts clear of an open Tala panel. */
@media (min-width:761px){body:has(.tala-panel) .toasts{right:430px}}
.tala-card{align-self:stretch;border:1px solid var(--border-2);border-radius:12px;background:var(--surface);padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.tala-qa{display:flex;flex-direction:column;gap:10px}
.tala-qa textarea.in{height:auto;min-height:52px;padding:6px 9px;line-height:1.45;resize:vertical}
.tala-ins{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:10px 12px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.tala-ins p{margin:0;font-size:12.5px;line-height:1.45}
.tala-sugg{display:flex;flex-wrap:wrap;gap:6px}
.tala-chip{border:1px solid var(--border-2);background:var(--surface);color:var(--text);border-radius:99px;padding:5px 11px;font:500 12.5px var(--font);cursor:pointer;text-align:left}
.tala-chip:hover{border-color:var(--accent);color:var(--accent-text)}
.tala-up{border:1px dashed color-mix(in srgb,var(--accent) 50%,transparent);background:var(--accent-soft);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.tala-up .btn{margin-top:4px}
.tala-f{display:flex;align-items:flex-end;gap:8px;padding:10px;border-top:1px solid var(--border);background:var(--surface)}
.tala-f textarea.in{height:auto;min-height:36px;max-height:120px;padding:8px 10px;line-height:1.4;resize:none}
.tala-f .btn{height:36px;width:36px;flex:0 0 auto}
.tala-foot{padding:0 12px 8px;background:var(--surface);text-align:center}
.tala-typing{display:inline-flex;gap:4px;padding:4px 0}
.tala-typing i{width:6px;height:6px;border-radius:50%;background:var(--text-3);animation:tala-blink 1s infinite}
.tala-typing i:nth-child(2){animation-delay:.15s}.tala-typing i:nth-child(3){animation-delay:.3s}
@keyframes tala-blink{50%{opacity:.25}}
/* "Show me": the control Tala pointed at. */
.tala-spot{position:relative;z-index:5;border-radius:8px;box-shadow:0 0 0 3px color-mix(in srgb,#0E8A7E 45%,transparent)!important;animation:tala-pulse 1.6s ease-in-out 3}
@keyframes tala-pulse{50%{box-shadow:0 0 0 7px color-mix(in srgb,#0E8A7E 25%,transparent)!important}}
@media (max-width:760px){
  .toasts{left:14px;right:14px;top:58px;width:auto}
  .tala-fab{right:14px;bottom:14px}
  .tala-face{width:52px;height:52px;font-size:19px}
  .tala-tip{display:none}
  /* On a phone the status pill shrinks back to the avatar with a coloured badge. */
  .tala-fab.has-status{height:52px;padding:0;border:0;background:transparent;box-shadow:none}
  .tala-fab.has-status .tala-face{width:52px;height:52px;font-size:19px;border-width:3px;box-shadow:0 10px 24px -8px rgba(14,100,110,.55),0 0 0 1px var(--border-2)}
  .tala-fab.has-status .tala-online{width:16px;height:16px;border-width:2.5px}
  .tala-fab.warn .tala-online{background:var(--amber)}
  .tala-fab.bad .tala-online{background:var(--red)}
  .tala-st{display:none}
  .tala.raise .tala-fab{bottom:80px}
  .tala-nudge{right:14px;bottom:78px}
  .tala.raise .tala-nudge{bottom:144px}
  .tala-panel,.tala.raise .tala-panel{right:0;left:0;bottom:0;width:100%;max-width:none;height:calc(100% - 48px);border-radius:16px 16px 0 0}
  .tala-panel ~ .tala-fab{display:none}
  .tala-h{padding-top:14px}
  .tala-f{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){.tala-fab,.tala-typing i,.tala-spot{animation:none!important;transition:none!important}}
