


/* ============================================================
   BLOOM - screen atlas, COMMUNICATE section, 18 frames.
   Style foundation inherited from the v2 flagship board:
   photographic sakura wallpaper under every screen, faked
   frosted glass (translucent pink gradient fills + 1px light
   border, no backdrop-filter, no blur), glossy bubble orb,
   pink-to-violet gradient #FF8FAB to #C77DFF, dashed rings,
   petal toggles. One looping animation: the orb breathing.
   Call screens are fully on-theme: round glass keys and
   action buttons, gradient End, no stock Android anywhere.
   ============================================================ */
:root {
  /* palette anchors */
  --pink: #FF8FAB;
  --violet: #C77DFF;
  --ground: #140A12;
  --warm: #FFF5F8;

  /* ink */
  --ink: var(--warm);
  --ink-dim: rgba(255,245,248,.66);
  --ink-faint: rgba(255,245,248,.42);
  --ink-ghost: rgba(255,245,248,.26);

  /* faked frost - translucent gradient fills over the wallpaper */
  --glass: linear-gradient(160deg, rgba(255,190,220,.14), rgba(255,190,220,.05));
  --glass-hi: linear-gradient(160deg, rgba(255,190,220,.22), rgba(255,190,220,.08));
  --glass-deep: linear-gradient(160deg, rgba(30,14,26,.55), rgba(30,14,26,.30));
  --glass-border: rgba(255,255,255,.18);
  --glass-border-hi: rgba(255,255,255,.30);
  --inner-hi: inset 0 1px 0 rgba(255,255,255,.16);

  /* accents */
  --cta-grad: linear-gradient(135deg, #FF8FAB, #C77DFF);
  --cta-ink: #2A0E1C;
  --dash-ring: rgba(255,143,171,.75);
  --live: #FF8FAB;
  --ok: #7FE0B2;
  --gold: #FFD58A;

  /* communicate additions, same palette family */
  --bad: #FF6B8E;
  --bad-tint: rgba(255,107,142,.12);
  --bad-line: rgba(255,107,142,.45);
  --gold-tint: rgba(255,213,138,.09);
  --gold-line: rgba(255,213,138,.40);
  --ok-tint: rgba(127,224,178,.10);
  --ok-line: rgba(127,224,178,.40);
  --violet-tint: rgba(199,125,255,.12);
  --violet-line: rgba(199,125,255,.40);

  /* radii */
  --r-card: 26px;
  --r-card-sm: 20px;
  --r-pill: 999px;

  /* type */
  --disp: 'Nunito', system-ui, sans-serif;
  --sans: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* page chrome */
  --page: #0E0810;
  --page-line: rgba(255,255,255,.09);
  --page-ink: rgba(255,245,248,.90);
  --page-muted: rgba(255,245,248,.48);
  --page-faint: rgba(255,245,248,.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background:
    radial-gradient(ellipse 55% 20% at 50% 0%, rgba(255,143,171,.08), transparent 70%),
    var(--page);
  font-family: var(--sans);
  color: var(--page-ink);
  min-height: 100vh;
  padding: 20px 24px 16px;
}

/* ---------- board chrome ---------- */
.board-header { max-width: 1660px; margin: 0 auto 12px; }
.board-eyebrow {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .30em;
  color: var(--page-faint); text-transform: uppercase; margin-bottom: 8px;
}
.board-eyebrow b { color: var(--pink); font-weight: 600; }
.board-title {
  font-family: var(--disp); font-weight: 800; font-size: 44px;
  letter-spacing: .01em; line-height: 1;
}
.board-title span {
  background: var(--cta-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.board-sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .03em;
  color: var(--page-muted); margin-top: 8px; max-width: 1240px; line-height: 1.7;
}
.board-sub b { color: var(--pink); font-weight: 600; }
.board-sub .pv {
  background: var(--cta-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: 600;
}
.board-links { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.board-link {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--page-muted); background: rgba(255,255,255,.04);
  border: 1px solid var(--page-line); border-radius: 999px;
  padding: 4px 12px; text-decoration: none; text-transform: uppercase;
}
.board-link:hover { color: var(--pink); border-color: rgba(255,143,171,.45); }
.legend-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em;
  color: var(--page-muted); background: rgba(255,255,255,.04);
  border: 1px solid var(--page-line); border-radius: 999px; padding: 4px 8px;
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.glassy { background: var(--glass); border: 1px solid var(--glass-border); }
.legend-dot.dashed { background: transparent; border: 1.5px dashed var(--dash-ring); }
.motion-pill {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  color: var(--pink); background: rgba(255,143,171,.10);
  border: 1px solid rgba(255,143,171,.42); border-radius: 999px;
  padding: 4px 12px; cursor: pointer;
}
.motion-pill.off { color: var(--page-faint); background: rgba(255,255,255,.04); border-color: var(--page-line); }

.board {
  display: grid; grid-template-columns: repeat(4, 390px);
  gap: 16px 20px; justify-content: center; max-width: 1660px; margin: 0 auto;
}
.frame-wrap { width: 390px; }
.frame-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: var(--pink); margin-bottom: 8px; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 8px; white-space: nowrap; overflow: hidden;
}
.frame-label .fn {
  color: var(--page-faint); font-size: 9.5px; letter-spacing: .05em;
  text-transform: none; overflow: hidden; text-overflow: ellipsis;
}

.board-foot {
  max-width: 1660px; margin: 12px auto 0; padding-top: 8px;
  border-top: 1px solid var(--page-line);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em;
  color: var(--page-faint); line-height: 1.9;
}
.board-foot b { color: var(--page-muted); font-weight: 500; }

/* ---------- phone frame ---------- */
.phone {
  width: 390px; height: 844px; border-radius: 44px;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  background: var(--ground);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 6px #17101A, 0 36px 80px rgba(0,0,0,.75);
}
.wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(20,10,18,.42) 0%, rgba(20,10,18,.10) 26%,
    rgba(20,10,18,.08) 52%, rgba(20,10,18,.34) 78%, rgba(20,10,18,.62) 100%);
}
.scrim.deep {
  background: linear-gradient(180deg,
    rgba(18,9,16,.62) 0%, rgba(18,9,16,.48) 40%, rgba(18,9,16,.72) 100%);
}
.scrim.dim {
  background: linear-gradient(180deg,
    rgba(14,7,12,.66) 0%, rgba(14,7,12,.52) 45%, rgba(14,7,12,.82) 100%);
}

/* ---------- status bar ---------- */
.statusbar {
  height: 44px; flex: none; display: flex; align-items: center;
  justify-content: space-between; padding: 4px 24px 0 24px;
  position: relative; z-index: 2;
}
.statusbar .time {
  font-family: var(--disp); font-size: 15px; font-weight: 700;
  letter-spacing: .03em; color: var(--ink);
}
.statusbar .tele { display: flex; align-items: center; gap: 8px; }
.sig { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.sig i { width: 3px; border-radius: 1px; background: rgba(255,245,248,.92); display: block; }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; }
.sig i:nth-child(3) { height: 8px; } .sig i:nth-child(4) { height: 11px; }
.statusbar .tele svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.bat { width: 22px; height: 11px; border-radius: 3.5px; border: 1px solid rgba(255,245,248,.75); position: relative; display: block; }
.bat i { position: absolute; inset: 1.5px; width: 72%; border-radius: 2px; background: var(--ink); display: block; }
.bat::after { content: ""; position: absolute; right: -3.5px; top: 3px; width: 2px; height: 5px; border-radius: 1px; background: rgba(255,245,248,.75); }

/* home indicator */
.homebar {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 134px; height: 5px; border-radius: 999px;
  background: rgba(255,245,248,.85); z-index: 3;
}

/* ---------- THE BUBBLE ORB (only looping thing) ---------- */
.orb {
  border-radius: 50%; position: relative; flex: none;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 33% 24%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.34) 7%, rgba(255,255,255,0) 19%),
    radial-gradient(ellipse 62% 44% at 30% 78%, rgba(255,225,240,0) 55%, rgba(255,215,235,.34) 72%, rgba(255,215,235,0) 88%),
    radial-gradient(ellipse 58% 40% at 70% 80%, rgba(255,170,205,.40) 0%, rgba(255,170,205,0) 70%),
    radial-gradient(circle at 50% 42%, rgba(24,10,22,.66) 0%, rgba(24,10,22,.34) 44%, rgba(24,10,22,0) 64%),
    radial-gradient(circle at 50% 50%,
      rgba(0,0,0,0) 50%, rgba(255,150,190,.26) 66%,
      rgba(255,196,226,.55) 79%, rgba(199,125,255,.62) 89%,
      rgba(255,238,246,.78) 96%, rgba(255,143,171,.30) 100%),
    radial-gradient(circle at 30% 22%, rgba(255,200,226,.24), rgba(199,125,255,.13) 55%, rgba(14,6,12,.30) 100%);
  box-shadow:
    0 0 26px rgba(255,143,171,.40),
    0 0 74px rgba(199,125,255,.26),
    inset 0 0 18px rgba(255,190,220,.28),
    inset 0 -9px 20px rgba(199,125,255,.26);
}
.orb svg { position: relative; z-index: 1; stroke: #FFFFFF; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .96; }

.loop { animation: breathe 3s ease-in-out infinite; transform-origin: center; }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .97; }
  50% { transform: scale(1.03); opacity: 1; }
}
body.still .loop { animation: none; }

/* ---------- shared glass primitives ---------- */
.gcard {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-card); box-shadow: var(--inner-hi), 0 12px 28px rgba(8,3,8,.30);
}
.gpill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-pill); box-shadow: var(--inner-hi), 0 8px 22px rgba(8,3,8,.28);
}
.klabel {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint);
}
.klabel.pk { color: var(--pink); }
.klabel.wn { color: var(--gold); }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px rgba(255,143,171,.9); flex: none; }

/* small round icon chip, dashed when selected */
.ichip {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--glass-hi); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.ichip svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ichip.sel { border: 1.5px dashed var(--dash-ring); box-shadow: 0 0 14px rgba(255,143,171,.30); }

/* CTA button */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: var(--r-pill);
  background: var(--cta-grad); color: var(--cta-ink);
  font-family: var(--disp); font-weight: 800; font-size: 15px; letter-spacing: .01em;
  box-shadow: 0 6px 22px rgba(255,143,171,.45), 0 0 44px rgba(199,125,255,.28), inset 0 1px 0 rgba(255,255,255,.55);
}
.cta svg { width: 15px; height: 15px; stroke: var(--cta-ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cta.sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--ink-dim); font-family: var(--disp); font-weight: 700; font-size: 13px;
}
.btn-bad {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--bad-tint); border: 1px solid var(--bad-line);
  color: var(--bad); font-family: var(--disp); font-weight: 700; font-size: 13px;
}

/* petal toggle */
.ptgl {
  width: 48px; height: 28px; border-radius: 999px; flex: none; position: relative;
  background: rgba(255,190,220,.10); border: 1px solid var(--glass-border);
}
.ptgl i {
  position: absolute; top: 3px; left: 4px; width: 20px; height: 20px;
  border-radius: 50% 50% 50% 5px; transform: rotate(45deg);
  background: rgba(255,245,248,.45); display: block;
}
.ptgl.on { background: linear-gradient(135deg, rgba(255,143,171,.55), rgba(199,125,255,.55)); border-color: rgba(255,143,171,.60); box-shadow: 0 0 14px rgba(255,143,171,.30); }
.ptgl.on i { left: 23px; background: #FFFFFF; box-shadow: 0 0 10px rgba(255,143,171,.9); }

/* photo plate with scrim */
.plate { position: relative; overflow: hidden; border-radius: var(--r-card-sm); border: 1px solid var(--glass-border); }
.plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.plate .p-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,18,.30), transparent 40%, rgba(20,10,18,.55)); }
.p-meta {
  position: absolute; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .12em; color: rgba(255,245,248,.9); text-transform: uppercase;
}
.p-meta.p-tag { color: var(--pink); font-weight: 700; }

/* screen scroll column */
.screen { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; min-height: 0; }

/* ---------- tags ---------- */
.tag {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; padding: 4px 8px; border-radius: 999px; flex: none;
  text-transform: uppercase;
}
.tag.live { color: var(--pink); border: 1px solid rgba(255,143,171,.42); background: rgba(255,143,171,.12); }
.tag.ok { color: var(--ok); border: 1px solid var(--ok-line); background: var(--ok-tint); }
.tag.wait { color: var(--ink-ghost); border: 1px solid var(--glass-border); }
.tag.warn { color: var(--gold); border: 1px solid var(--gold-line); background: var(--gold-tint); }
.tag.bad { color: var(--bad); border: 1px solid var(--bad-line); background: var(--bad-tint); }
.tag.agent { color: var(--violet); border: 1px solid var(--violet-line); background: var(--violet-tint); }

/* ============================================================
   COMMUNICATE components - all faked glass over the wallpaper
   ============================================================ */
.content { flex: 1; display: flex; flex-direction: column; padding: 8px 12px 0; position: relative; z-index: 1; min-height: 0; }
.big-title { font-family: var(--disp); font-weight: 800; font-size: 24px; color: var(--ink); margin-top: 4px; line-height: 1.1; }
.big-title span { background: var(--cta-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-line { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-faint); margin-top: 4px; }

/* screen header pattern */
.scr-head { display: flex; align-items: center; gap: 12px; }
.back-btn {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--inner-hi);
  display: flex; align-items: center; justify-content: center;
}
.back-btn svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.scr-title { flex: 1; font-family: var(--disp); font-weight: 800; font-size: 18px; color: var(--ink); }

/* section tabs */
.tabs {
  display: flex; gap: 4px; padding: 4px; flex: none;
  background: var(--glass-deep); border: 1px solid var(--glass-border);
  border-radius: 999px; margin-bottom: 12px; box-shadow: var(--inner-hi);
}
.tabs .tab {
  flex: 1; text-align: center; padding: 8px 0; border-radius: 999px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; color: var(--ink-faint); text-transform: uppercase;
}
.tabs .tab.on {
  background: linear-gradient(135deg, rgba(255,143,171,.30), rgba(199,125,255,.18));
  border: 1px solid rgba(255,143,171,.45); color: var(--ink);
}

/* search pill */
.search {
  display: flex; align-items: center; gap: 8px; height: 42px; flex: none;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 999px; padding: 0 16px; margin-bottom: 12px; box-shadow: var(--inner-hi);
}
.search svg { width: 14px; height: 14px; stroke: var(--ink-faint); fill: none; stroke-width: 2; flex: none; }
.search .s-ph { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-ghost); }

/* list row - glass card */
.lrow {
  display: flex; align-items: center; gap: 12px; flex: none;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 8px 12px; margin-bottom: 8px;
  box-shadow: var(--inner-hi);
}
.lrow.hot {
  background: linear-gradient(160deg, rgba(255,143,171,.22), rgba(199,125,255,.10));
  border-color: rgba(255,143,171,.45);
  box-shadow: var(--inner-hi), 0 0 22px rgba(255,143,171,.18);
}
.av {
  width: 42px; height: 42px; border-radius: 50%; flex: none; overflow: visible;
  display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--glass-hi); border: 1px solid var(--glass-border);
  font-family: var(--disp); font-weight: 800; font-size: 15px; color: var(--ink-dim);
}
.av img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.av.pk { background: rgba(255,143,171,.14); border-color: rgba(255,143,171,.42); color: var(--pink); }
.av.vi { background: var(--violet-tint); border-color: var(--violet-line); color: var(--violet); }
.av.gr { background: var(--ok-tint); border-color: var(--ok-line); color: var(--ok); }
.av.bad { background: var(--bad-tint); border-color: var(--bad-line); color: var(--bad); }
.av .pres {
  position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--ok); border: 2px solid rgba(20,10,18,.9);
  box-shadow: 0 0 8px rgba(127,224,178,.7);
}
.lrow .ltxt { flex: 1; min-width: 0; }
.lrow .lname {
  font-family: var(--disp); font-weight: 800; font-size: 13px;
  color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lrow .lsub {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  color: var(--ink-faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lrow .lsub b { color: var(--pink); font-weight: 600; }
.lright { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ltime { font-family: var(--mono); font-size: 9.5px; color: var(--ink-ghost); letter-spacing: .06em; }
.unread {
  min-width: 18px; height: 18px; border-radius: 999px; padding: 0 4px;
  background: var(--cta-grad); color: var(--cta-ink);
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px rgba(255,143,171,.5);
}
.sec-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 2px 8px; flex: none; }
.sec-row .act { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .16em; color: var(--pink); text-transform: uppercase; }
.idx-letter { font-family: var(--mono); font-size: 9.5px; font-weight: 700; color: var(--pink); padding: 8px 2px 4px; letter-spacing: .2em; flex: none; }

/* avatar rail */
.rail { display: flex; gap: 12px; margin-bottom: 4px; flex: none; }
.rail .runit { width: 52px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rail .av { width: 50px; height: 50px; }
.rail .av.dash { border: 1.5px dashed var(--dash-ring); background: transparent; }
.rail .rname { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; color: var(--ink-faint); text-transform: uppercase; }

/* ---------- chat bubbles: glass in, gradient out ---------- */
.b-tag { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; color: var(--pink); }
.msg { max-width: 84%; padding: 8px 12px; margin-top: 12px; }
.msg .b-txt {
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: .01em; line-height: 1.45; margin-top: 2px;
}
.msg.in {
  align-self: flex-start; background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 22px 22px 22px 8px; color: var(--ink); box-shadow: var(--inner-hi);
}
.msg.in .b-tag { color: var(--ink-faint); }
.msg.in .b-txt { color: var(--ink); }
.msg.out {
  align-self: flex-end; background: var(--cta-grad);
  border-radius: 22px 22px 8px 22px;
  box-shadow: 0 6px 18px rgba(255,143,171,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.msg.out .b-tag { color: rgba(255,255,255,.85); }
.msg.out .b-txt { color: #FFFFFF; }
.b-meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; margin-top: 4px; text-transform: uppercase; }
.msg.in .b-meta { color: var(--ink-ghost); }
.msg.out .b-meta { color: rgba(255,255,255,.75); }

/* agent note / action card in a thread */
.agent-act {
  align-self: stretch; margin-top: 12px; padding: 12px 12px;
  background: linear-gradient(160deg, rgba(199,125,255,.16), rgba(255,143,171,.08));
  border: 1px solid var(--violet-line); border-radius: var(--r-card);
  box-shadow: var(--inner-hi), 0 0 22px rgba(199,125,255,.16);
}
.agent-act .aa-head { display: flex; align-items: center; gap: 8px; }
.agent-act .aa-orb { width: 24px; height: 24px; flex: none; }
.agent-act .aa-label { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .18em; color: var(--violet); text-transform: uppercase; }
.agent-act .aa-body { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink); line-height: 1.5; margin-top: 8px; }
.agent-act .aa-btns { display: flex; gap: 8px; margin-top: 12px; }
.agent-act .aa-btns .cta, .agent-act .aa-btns .btn-ghost { flex: 1; }
.agent-act .aa-title { font-family: var(--disp); font-weight: 800; font-size: 15px; color: var(--ink); margin-top: 8px; }

.day-split {
  align-self: center; margin-top: 12px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .22em; color: var(--ink-ghost); text-transform: uppercase;
}
.typing { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 4px; }
.typing .ty-txt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--ink-faint); text-transform: uppercase; }
.typing .ty-dots { font-family: var(--mono); font-size: 9.5px; color: var(--violet); letter-spacing: .2em; }

/* compose / command dock */
.chat-input {
  margin-top: auto; margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 999px;
  box-shadow: var(--inner-hi); flex: none;
}
.chat-input svg.ci-ic { width: 16px; height: 16px; stroke: var(--ink-faint); fill: none; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.chat-input .ci-ph { flex: 1; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink-ghost); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-input .ci-ph b { color: var(--pink); font-weight: 600; }
.chat-input .ci-mic {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--cta-grad); box-shadow: 0 0 14px rgba(255,143,171,.55);
  display: flex; align-items: center; justify-content: center;
}
.chat-input .ci-mic svg { width: 16px; height: 16px; stroke: var(--cta-ink); fill: none; stroke-width: 2.1; stroke-linecap: round; }

/* persistent command bar with the orb */
.cmdbar {
  flex: none; margin: 0 12px 8px; height: 54px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
  box-shadow: var(--inner-hi), 0 10px 26px rgba(8,3,8,.35);
  display: flex; align-items: center; gap: 12px; padding: 0 16px 0 8px;
  position: relative; z-index: 2;
}
.cmdbar .orb { width: 36px; height: 36px; }
.cmdbar .orb svg { width: 14px; height: 14px; }
.cmd-hint { flex: 1; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmd-hint b { color: var(--pink); font-weight: 600; }
.cmd-kbd { display: flex; gap: 2px; flex: none; opacity: .55; }
.cmd-kbd i { width: 4px; height: 4px; border-radius: 2px; background: var(--ink-faint); }

/* custom segmented bottom bar - floating glass pill */
.segbar {
  flex: none; height: 58px; margin: 0 12px 24px; padding: 4px;
  display: flex; align-items: stretch; gap: 4px;
  background: var(--glass-deep); border: 1px solid var(--glass-border);
  border-radius: 999px; box-shadow: var(--inner-hi); position: relative; z-index: 2;
}
.seg { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 999px; }
.seg svg { width: 15px; height: 15px; display: block; }
.seg .s-glyph { stroke: var(--ink-faint); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seg .s-name { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .22em; color: var(--ink-faint); text-transform: uppercase; }
.seg.active { background: linear-gradient(135deg, rgba(255,143,171,.28), rgba(199,125,255,.16)); border: 1px solid rgba(255,143,171,.45); }
.seg.active .s-glyph { stroke: var(--ink); }
.seg.active .s-name { color: var(--ink); }

/* notice card - gold for carrier, pink for mesh */
.notice {
  display: flex; align-items: flex-start; gap: 8px; flex: none;
  background: var(--gold-tint); border: 1px solid var(--gold-line);
  border-radius: 18px; padding: 8px 12px; margin-bottom: 12px; box-shadow: var(--inner-hi);
}
.notice svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex: none; margin-top: 1px; stroke-linecap: round; stroke-linejoin: round; }
.notice .n-txt { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-dim); line-height: 1.45; }
.notice .n-txt b { color: var(--gold); font-weight: 600; }
.notice.pk { background: rgba(255,143,171,.10); border-color: rgba(255,143,171,.42); }
.notice.pk svg { stroke: var(--pink); }
.notice.pk .n-txt b { color: var(--pink); }

/* channel picker tiles */
.chan-row { display: flex; gap: 8px; margin-bottom: 12px; flex: none; }
.chtile {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 12px 0 8px; box-shadow: var(--inner-hi);
}
.chtile svg { width: 16px; height: 16px; stroke: var(--ink-faint); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chtile .c-name { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink-faint); text-transform: uppercase; }
.chtile.on { background: linear-gradient(135deg, rgba(255,143,171,.24), rgba(199,125,255,.12)); border: 1.5px dashed var(--dash-ring); }
.chtile.on svg { stroke: var(--pink); }
.chtile.on .c-name { color: var(--pink); }

/* recipient chip field + member chips */
.to-field {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  background: var(--glass); border: 1px solid rgba(255,143,171,.45);
  border-radius: 20px; padding: 12px 12px; margin-bottom: 12px; flex: none; box-shadow: var(--inner-hi);
}
.to-field .to-lab { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .2em; color: var(--ink-ghost); }
.pchip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,143,171,.14); border: 1px solid rgba(255,143,171,.42);
  border-radius: 999px; padding: 4px 8px 4px 4px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--pink);
}
.pchip .av { width: 20px; height: 20px; font-size: 9.5px; }
.pchip svg { width: 10px; height: 10px; stroke: var(--pink); stroke-width: 2.4; fill: none; }
.pchip.more { background: transparent; border: 1.5px dashed var(--dash-ring); color: var(--ink-faint); padding: 4px 12px; font-weight: 500; }

/* settings rows inside a glass card */
.set-card { padding: 4px 4px; }
.setrow { display: flex; align-items: center; gap: 12px; padding: 8px 8px; }
.setrow + .setrow { border-top: 1px solid rgba(255,255,255,.06); }
.setrow .st { flex: 1; min-width: 0; }
.setrow .sname { font-family: var(--disp); font-weight: 800; font-size: 13px; color: var(--ink); }
.setrow .ssub { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-faint); margin-top: 2px; }
.kv-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; }
.kv-row + .kv-row { border-top: 1px solid rgba(255,255,255,.06); }
.kv-row .k { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-faint); }
.kv-row .v { font-family: var(--mono); font-size: 11px; color: var(--ink); letter-spacing: .04em; }

/* stat chips */
.chip {
  display: inline-flex; align-items: baseline; gap: 4px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 999px; padding: 8px 12px; box-shadow: var(--inner-hi);
}
.chip-num { font-family: var(--disp); font-weight: 800; font-size: 15px; color: var(--pink); }
.chip-text { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; color: var(--ink-faint); text-transform: uppercase; }

/* footer telemetry line */
.sys-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 4px 0 24px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
  color: var(--ink-ghost); text-transform: uppercase;
}
.sys-foot i { width: 16px; height: 1px; background: var(--glass-border-hi); flex: none; }

/* ============================================================
   CALL frames - round glass keys and buttons, gradient End
   ============================================================ */
.f-call .content { align-items: center; padding: 8px 16px 0; }
.call-chips { display: flex; gap: 8px; align-self: stretch; justify-content: center; flex-wrap: wrap; }
.agent-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--violet-line);
  font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--violet); text-transform: uppercase;
}
.agent-chip .orb { width: 18px; height: 18px; }
.caller-avatar {
  width: 116px; height: 116px; border-radius: 50%; margin-top: 16px;
  overflow: hidden; position: relative; flex: none;
  border: 1px solid var(--glass-border-hi);
  box-shadow: 0 0 0 8px rgba(255,190,220,.08), 0 0 34px rgba(255,143,171,.30);
}
.caller-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.call .name { font-family: var(--disp); font-weight: 800; font-size: 24px; color: var(--ink); margin-top: 12px; }
.call .number { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-faint); margin-top: 4px; }
.call .state { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.call .state .stxt { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .2em; color: var(--ok); }
.call .state .stxt.pk { color: var(--pink); }
.call .state .stxt.wn { color: var(--gold); }
.call .state .stxt.dim { color: var(--ink-faint); }
.call .state .timer { font-family: var(--disp); font-weight: 800; font-size: 18px; letter-spacing: .06em; color: var(--ink); }
.call-wave { display: flex; align-items: center; gap: 2px; height: 26px; margin-top: 8px; }
.call-wave i { width: 3px; border-radius: 1px; display: block; background: linear-gradient(180deg, var(--pink), var(--violet)); opacity: .9; }

/* custom keypad - round glass keys */
.kpad { margin-top: 12px; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 8px; justify-items: center; }
.kpad-key {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--inner-hi);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
}
.kpad-key .k-num { font-family: var(--disp); font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1; }
.kpad-key .k-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .24em; color: var(--ink-ghost); text-transform: uppercase; margin-top: 2px; }
.kpad-key.fn .k-num { color: var(--ink-dim); font-size: 18px; }
.dtmf {
  margin-top: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: .3em; color: var(--ink);
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 999px; padding: 8px 16px; box-shadow: var(--inner-hi);
}

/* round glass call actions */
.call-actions { display: flex; justify-content: center; gap: 16px; width: 100%; margin-top: 12px; }
.cact { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 66px; }
.cact .ca {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--inner-hi);
  display: flex; align-items: center; justify-content: center;
}
.cact .ca svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cact.on .ca { background: var(--cta-grad); border-color: rgba(255,255,255,.35); box-shadow: 0 0 18px rgba(255,143,171,.5), inset 0 1px 0 rgba(255,255,255,.5); }
.cact.on .ca svg { stroke: #FFFFFF; }
.cact .cn { font-family: var(--sans); font-weight: 600; font-size: 11px; color: var(--ink-dim); }

.end-wrap { margin-top: auto; width: 100%; padding-bottom: 24px; }
.end-call {
  width: 100%; height: 50px; border-radius: 999px;
  background: linear-gradient(135deg, #FF8FAB, #FF6B8E);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 8px 26px rgba(255,107,142,.45), inset 0 1px 0 rgba(255,255,255,.5);
}
.end-call svg { width: 19px; height: 19px; stroke: var(--cta-ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.end-call .ec-txt { font-family: var(--disp); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--cta-ink); }

/* incoming: answer / decline / text */
.ans-row { display: flex; justify-content: space-between; width: 100%; padding: 0 8px; }
.ans { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ans .ab {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ans .ab svg { width: 22px; height: 22px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ans .an { font-family: var(--sans); font-weight: 600; font-size: 11px; color: var(--ink-dim); }
.ans.no .ab { background: var(--bad-tint); border: 1px solid var(--bad-line); box-shadow: var(--inner-hi); }
.ans.no .ab svg { stroke: var(--bad); }
.ans.txt .ab { background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--inner-hi); }
.ans.txt .ab svg { stroke: var(--ink-dim); }
.ans.yes .ab { background: var(--cta-grad); box-shadow: 0 0 24px rgba(255,143,171,.55), inset 0 1px 0 rgba(255,255,255,.5); }
.ans.yes .ab svg { stroke: var(--cta-ink); }

/* decline-with-a-text sheet */
.sheet {
  margin-top: 12px; width: 100%;
  background: var(--glass-deep); border: 1px solid var(--glass-border);
  border-radius: 22px; padding: 12px 12px 8px; position: relative; box-shadow: var(--inner-hi);
}
.opt-row { display: flex; align-items: center; gap: 8px; padding: 8px 8px; border-radius: 12px; }
.opt-row + .opt-row { border-top: 1px solid rgba(255,255,255,.06); }
.opt-row .o-dot {
  width: 8px; height: 8px; border-radius: 50% 50% 50% 2px; transform: rotate(45deg);
  background: var(--pink); box-shadow: 0 0 6px rgba(255,143,171,.7); flex: none;
}
.opt-row .o-txt { flex: 1; font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-dim); }
.opt-row .o-arr { font-family: var(--mono); font-size: 11px; color: var(--ink-ghost); }
.sheet .s-back {
  margin-top: 4px; text-align: center;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .2em; color: var(--ink-faint); text-transform: uppercase;
  padding: 8px 0 4px; border-top: 1px solid rgba(255,255,255,.06);
}

/* two-call cards */
.ccard {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 12px 12px; margin-top: 8px; box-shadow: var(--inner-hi);
}
.ccard.live {
  background: linear-gradient(160deg, rgba(255,143,171,.22), rgba(199,125,255,.10));
  border-color: rgba(255,143,171,.45);
  box-shadow: var(--inner-hi), 0 0 22px rgba(255,143,171,.18);
}
.ccard .av { width: 40px; height: 40px; }
.ccard .cname { font-family: var(--disp); font-weight: 800; font-size: 15px; color: var(--ink); }
.ccard .csub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-faint); margin-top: 2px; text-transform: uppercase; }
.ccard .csub.wn { color: var(--gold); }
.ccard .csub.ok { color: var(--ok); }
.swap-row { display: flex; gap: 8px; width: 100%; margin-top: 12px; }
.swap-row .btn-ghost { flex: 1; height: 42px; }
.swap-row .cta { flex: 2; height: 42px; font-size: 13px; }

/* conference participants */
.confrow {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 8px 12px; margin-top: 8px; box-shadow: var(--inner-hi);
}
.confrow .av { width: 34px; height: 34px; font-size: 11px; }
.confrow .cname { font-family: var(--disp); font-weight: 800; font-size: 13px; color: var(--ink); }
.confrow .csub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-ghost); text-transform: uppercase; margin-top: 1px; }
.confrow.talking { border: 1.5px dashed var(--dash-ring); }
.confrow .cw { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.confrow .cw i { width: 2.5px; border-radius: 1px; background: var(--pink); display: block; }

/* ended strip */
.endstrip {
  width: 100%; margin-top: 12px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 8px 12px;
  display: flex; align-items: center; gap: 8px; box-shadow: var(--inner-hi);
}
.endstrip .e-x {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--bad-tint); border: 1px solid var(--bad-line);
  display: flex; align-items: center; justify-content: center;
}
.endstrip .e-x svg { width: 11px; height: 11px; stroke: var(--bad); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.endstrip .e-txt { flex: 1; font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-dim); line-height: 1.4; }
.endstrip .e-txt b { color: var(--ink); font-weight: 600; }
.endstrip .e-time { font-family: var(--mono); font-size: 9.5px; color: var(--ink-ghost); }

/* ============================================================
   VIDEO call - full bleed feed
   ============================================================ */
.f-vcall { background: #0B060A; }
.vc-feed { position: absolute; inset: 0; z-index: 0; }
.vc-feed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,10,18,.55) 0%, transparent 26%, transparent 58%, rgba(20,10,18,.82) 100%);
}
.vc-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding: 8px 16px 0; min-height: 0; }
.vc-top { display: flex; justify-content: space-between; align-items: center; }
.vc-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .1em;
  color: var(--ink-dim); background: var(--glass-deep);
  border: 1px solid var(--glass-border); border-radius: 999px; padding: 4px 12px;
}
.vc-pill .live-dot { background: var(--ok); box-shadow: 0 0 8px rgba(127,224,178,.8); }
.vc-id { margin-top: 12px; }
.vc-id .vc-name { font-family: var(--disp); font-weight: 800; font-size: 24px; color: var(--ink); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.vc-id .vc-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: rgba(255,245,248,.75); margin-top: 2px; text-transform: uppercase; }
.vc-pip {
  align-self: flex-end; width: 96px; height: 138px; margin-top: auto;
  border-radius: 20px; overflow: hidden; position: relative;
  border: 1px solid var(--glass-border-hi); background: var(--ground);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.vc-pip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-pip .pip-tag {
  position: absolute; left: 0; right: 0; bottom: 6px; text-align: center;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .24em;
  color: rgba(255,245,248,.9); text-transform: uppercase;
}
.vc-cap {
  margin-top: 12px; background: var(--glass-deep); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 12px 12px; box-shadow: var(--inner-hi);
}
.vc-cap .cap-txt { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.5; margin-top: 4px; }
.vc-cap .cap-txt b { color: var(--pink); font-weight: 600; }
.vc-controls { flex: none; position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 24px; }
.vc-btn {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--glass-deep); border: 1px solid var(--glass-border); box-shadow: var(--inner-hi);
  display: flex; align-items: center; justify-content: center;
}
.vc-btn svg { width: 19px; height: 19px; stroke: var(--ink-dim); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vc-btn.end { width: 60px; height: 60px; background: linear-gradient(135deg, #FF8FAB, #FF6B8E); border: none; box-shadow: 0 8px 26px rgba(255,107,142,.5), inset 0 1px 0 rgba(255,255,255,.5); }
.vc-btn.end svg { stroke: var(--cta-ink); width: 22px; height: 22px; }

/* ============================================================
   VOICEMAIL
   ============================================================ */
.vmcard {
  background: linear-gradient(160deg, rgba(255,143,171,.20), rgba(199,125,255,.09));
  border: 1px solid rgba(255,143,171,.45); border-radius: var(--r-card);
  padding: 12px 12px; position: relative; flex: none;
  box-shadow: var(--inner-hi), 0 0 24px rgba(255,143,171,.16);
}
.vm-head { display: flex; align-items: center; gap: 12px; }
.vm-play {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--cta-grad); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(255,143,171,.55), inset 0 1px 0 rgba(255,255,255,.5);
}
.vm-play svg { width: 15px; height: 15px; fill: var(--cta-ink); margin-left: 2px; }
.vm-prog { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.vm-prog .t { font-family: var(--mono); font-size: 9.5px; color: var(--ink-faint); flex: none; }
.vm-track { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,190,220,.14); position: relative; }
.vm-track .vm-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; border-radius: 3px; background: linear-gradient(90deg, var(--pink), var(--violet)); box-shadow: 0 0 10px rgba(255,143,171,.5); }
.vm-track .vm-thumb {
  position: absolute; left: 34%; top: 50%; width: 12px; height: 12px;
  border-radius: 50% 50% 50% 3px; transform: translate(-50%,-50%) rotate(45deg);
  background: #FFFFFF; box-shadow: 0 0 10px rgba(255,143,171,.9);
}
.vm-transcript { margin-top: 12px; background: rgba(255,190,220,.08); border: 1px solid var(--glass-border); border-radius: 16px; padding: 8px 12px; }
.vm-transcript .t-txt { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-dim); line-height: 1.5; margin-top: 4px; }
.vm-transcript .t-txt b { color: var(--ink); font-weight: 600; }

/* ============================================================
   SIGN IN
   ============================================================ */
.field {
  display: flex; align-items: center; gap: 8px; height: 48px; flex: none;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 999px; padding: 0 16px; margin-bottom: 8px; box-shadow: var(--inner-hi);
}
.field.hot { border-color: rgba(255,143,171,.5); }
.field .f-lab { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; color: var(--ink-ghost); width: 58px; flex: none; text-transform: uppercase; }
.field .f-val { flex: 1; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: .04em; }
.field svg { width: 15px; height: 15px; stroke: var(--ink-faint); fill: none; stroke-width: 1.8; flex: none; stroke-linecap: round; stroke-linejoin: round; }
.errbar {
  display: flex; align-items: flex-start; gap: 8px; flex: none;
  background: var(--bad-tint); border: 1px solid var(--bad-line);
  border-radius: 18px; padding: 8px 12px; margin-top: 4px; box-shadow: var(--inner-hi);
}
.errbar svg { width: 14px; height: 14px; stroke: var(--bad); fill: none; stroke-width: 1.8; flex: none; margin-top: 1px; stroke-linecap: round; stroke-linejoin: round; }
.errbar .e-txt { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-dim); line-height: 1.45; flex: 1; }
.errbar .e-txt b { color: var(--bad); font-weight: 600; }

/* ============================================================
   AGENT call cards (confirm / calling / outcome)
   ============================================================ */
.plan-step { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; }
.plan-step .p-dot { width: 7px; height: 7px; border-radius: 50% 50% 50% 2px; transform: rotate(45deg); background: var(--pink); flex: none; margin-top: 4px; }
.plan-step .p-txt { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-dim); line-height: 1.45; }
.disclosure { margin-top: 8px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--ink-faint); line-height: 1.5; }
.disclosure b { color: var(--gold); font-weight: 600; }
.callstrip {
  align-self: stretch; margin-top: 12px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,143,171,.12); border: 1px solid rgba(255,143,171,.42);
  border-radius: 18px; padding: 8px 12px; box-shadow: var(--inner-hi);
}
.callstrip .orb { width: 26px; height: 26px; }
.callstrip .cs-txt { flex: 1; min-width: 0; }
.callstrip .cs-name { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--ink); }
.callstrip .cs-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--pink); margin-top: 2px; text-transform: uppercase; }
.callstrip .cw { display: flex; align-items: center; gap: 2px; flex: none; }
.callstrip .cw i { width: 2.5px; border-radius: 1px; background: var(--pink); display: block; }
.callstrip.done { background: var(--glass); border-color: var(--glass-border); }
.callstrip.done .cs-sub { color: var(--ink-ghost); }

/* ================= v2.1 additions: icon weight + dark swirl orb ================= */

/* ---- Icons: one line weight everywhere. Small icons no longer go under 1px. ---- */
.phone svg[viewBox="0 0 24 24"] :is(path, line, polyline, polygon, circle, rect, ellipse) {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone svg[viewBox="0 0 24 24"] { overflow: visible; }
/* The orb glyph is big: keep it scaling with the orb, as before. */
.phone .orb svg[viewBox="0 0 24 24"] :is(path, line, polyline, polygon, circle, rect, ellipse) { vector-effect: none; }


/* ---- Orb: the look stays the same. Inside, soft colour light flows slowly.
   On an action (hover, tap, or a screen where the agent works) the flow gets brighter.
   Nothing goes outside the orb. ---- */
.orb {
  --sw-a: var(--pink, #FF8FAB);
  --sw-b: var(--violet, #C77DFF);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.orb > svg { z-index: 3; }
.orb::before, .orb::after {
  content: "";
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: .35;
  transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1);
}
.orb::before {
  background:
    radial-gradient(circle at 34% 38%, color-mix(in srgb, var(--sw-a) 85%, transparent) 0%, transparent 32%),
    radial-gradient(circle at 70% 64%, color-mix(in srgb, var(--sw-b) 80%, transparent) 0%, transparent 30%);
  filter: blur(6px);
  animation: orb-flow-a 9s ease-in-out infinite;
}
.orb::after {
  background:
    radial-gradient(ellipse 30% 18% at 60% 30%, rgba(255,240,250,.55) 0%, transparent 70%),
    radial-gradient(circle at 30% 72%, color-mix(in srgb, var(--sw-b) 70%, transparent) 0%, transparent 28%);
  filter: blur(5px);
  animation: orb-flow-b 13s ease-in-out infinite;
}
@keyframes orb-flow-a {
  0%, 100% { transform: rotate(0deg) translate(0, 0); }
  33%      { transform: rotate(120deg) translate(4%, -3%); }
  66%      { transform: rotate(240deg) translate(-3%, 4%); }
}
@keyframes orb-flow-b {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(-180deg) scale(1.08); }
}
.orb:hover::before, .orb:hover::after,
.orb:focus::before, .orb:focus::after,
.orb:active::before, .orb:active::after,
.orb.is-active::before, .orb.is-active::after { opacity: .9; }

/* Very small orbs: less blur so the colour still shows. */
.orb.aa-orb::before, .orb.sh-orb::before, .orb.d-orb::before, .orb.ai-orb::before, .orb.an-orb::before, .orb.mini-orb::before, .orb.a-orb::before,
.orb.aa-orb::after, .orb.sh-orb::after, .orb.d-orb::after, .orb.ai-orb::after, .orb.an-orb::after, .orb.mini-orb::after, .orb.a-orb::after { filter: blur(2px); }

body.still .orb::before, body.still .orb::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .orb::before, .orb::after { animation: none; }
}

/* ================= v2.2: command bar orb on the right, live motion, icon stroke ================= */

/* ---- Icons: one stroke for the whole set (Lucide grid: 24px, 2px stroke at 24px) ---- */
.phone svg[viewBox="0 0 24 24"] { fill: none; }
.phone svg[viewBox="0 0 24 24"] [fill="currentColor"] { fill: currentColor; }
.seg svg { width: 18px !important; height: 18px !important; }
.seg svg :is(path, line, polyline, polygon, circle, rect, ellipse) { stroke-width: 1.7; }

/* ---- Command bar: text first, voice orb on the right (thumb side, same as send buttons) ---- */
.cmdbar { padding-left: 16px !important; padding-right: 8px !important; }
.cmdbar > .orb, .cmdbar > .cmd-orb { order: 9; }
.cmdbar > .cmd-hint { order: 1; }
.cmdbar > .cmd-kbd { order: 2; }

/* ---- Voice bars: every bar breathes, each a little out of step ---- */
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i {
  transform-origin: 50% 50%;
  animation: bar-talk 1.1s ease-in-out infinite alternate;
}
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i:nth-child(3n+1) { animation-duration: .9s;  animation-delay: -.2s; }
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i:nth-child(3n+2) { animation-duration: 1.25s; animation-delay: -.55s; }
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i:nth-child(4n)   { animation-duration: .75s; animation-delay: -.35s; }
:is(.wave, .call-wave, .vc-wave, .cw, .rb-track, .waveform) > i:nth-child(5n)   { animation-duration: 1.4s; animation-delay: -.8s; }
@keyframes bar-talk { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1); } }
/* Recorded audio (played part) moves less: it is a recording, not a live voice. */
:is(.waveform, .rb-track) > i { animation-name: bar-play; }
@keyframes bar-play { 0% { transform: scaleY(.8); } 100% { transform: scaleY(1); } }
.cpu-bars > i.on { transform-origin: 50% 100%; animation: bar-talk 1.6s ease-in-out infinite alternate; }

/* ---- Text caret blinks ---- */
:is(.caret, .kf-caret, .sb-caret) { animation: caret-blink 1.05s steps(1, end) infinite; }
@keyframes caret-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* ---- Live dots and live steps pulse ---- */
:is(.live-dot, .mstep.live .m-dot) { animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,143,171,.75); } 70% { box-shadow: 0 0 0 7px rgba(255,143,171,0); } }
.tag.live { animation: tag-glow 2.2s ease-in-out infinite; }
@keyframes tag-glow { 0%, 100% { background: rgba(255,143,171,.10); } 50% { background: rgba(255,143,171,.24); } }
.step.live .s-ic, .dial-key.live, .lrow.live { animation: ring-turn 2.4s ease-in-out infinite; }
@keyframes ring-turn { 0%, 100% { box-shadow: 0 0 0 rgba(255,143,171,0); } 50% { box-shadow: 0 0 18px rgba(255,143,171,.45); } }

/* ---- Typing dots ---- */
.ty-dots { animation: typing-fade 1.2s ease-in-out infinite; }
@keyframes typing-fade { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---- Scanner line sweeps, dashed rings turn slowly ---- */
.scan-box .scan-line { animation: scan-sweep 2.4s ease-in-out infinite alternate; }
@keyframes scan-sweep { 0% { top: 14%; } 100% { top: 86%; } }
:is(.orb-ring, .sos-ring) { animation: dash-spin 18s linear infinite; }
@keyframes dash-spin { to { transform: rotate(360deg); } }

body.still .phone *, body.still .phone *::before, body.still .phone *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .phone *:not(.orb), .phone *:not(.orb)::before { animation: none !important; }
}

/* ================= v2.2: every language fits ================= */
/* Chip rows wrap to a second line instead of running off the screen. */
.sugg-row { flex-wrap: wrap; row-gap: 8px; }
/* Long words (German, Russian) break instead of pushing the layout wide. */
.phone { overflow-wrap: break-word; hyphens: auto; }
/* CJK: own fonts, no wide letter spacing, no forced caps, a bit more line height. */
:lang(zh) .phone, :lang(zh) .phone * { font-family: "Noto Sans SC", var(--sans), sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
:lang(ja) .phone, :lang(ja) .phone * { font-family: "Noto Sans JP", var(--sans), sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }
:lang(zh) .phone, :lang(ja) .phone { line-height: 1.45; }

/* ---- Long languages (de, ru): row text gets 2 lines before it cuts. Android: maxLines = 2, ellipsize = end. ---- */
.phone :is(.m-txt, .sr-t1, .slabel, .ssub, .b-name, .lsub, .fname, .tname, .a-role, .l-t1, .l-t2, .n-t1, .n-t2, .sh-title, .tr-name, .tr-name, .q-name, .rr-name, .sc-x, .a-txt, .scr-title) {
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
}
.phone .n-t2 b { white-space: normal; }
.phone .step-head { flex-wrap: wrap; row-gap: 4px; }
.phone .step-head .klabel { white-space: normal !important; min-width: 0; flex-shrink: 1; max-width: 100%; }
.phone .chip-top { flex-wrap: wrap; gap: 2px 4px; }
.phone .chip-tag, .phone .chip-text { white-space: normal !important; min-width: 0; overflow-wrap: break-word; }
.phone .vf-ai { white-space: normal; width: max-content; max-width: calc(100% - 40px); box-sizing: border-box; }
.phone .vf-ai .ai-txt { white-space: normal; min-width: 0; line-height: 1.3; }

/* ---- real phone map (Pixel 9 Pro, read over adb) ----
   fingerprint sensor: centre 258 dp above the bottom edge, 78 dp wide, centred.
   In this 390 x 844 frame that is centre (195, 586), box 156-234 x 547-625.
   camera hole: centre x, y 18-50 dp. Back gesture strips: 30 dp each side. Bottom gesture zone: 32 dp. */
.f-lock .lock-orb-zone, .f-lock .lock-pills { transform: translateY(-20px); }
.f-lock .lock-corners { padding: 0 16px; box-sizing: border-box; }
.f-aod .aod-orb { position: absolute; left: calc(50% - 20px); top: 565px; width: 40px; height: 40px; z-index: 2; }
.phone.f-bio .bio-zone { position: absolute; left: 0; right: 0; width: auto; top: 457px; margin: 0; display: flex; flex-direction: column; align-items: center; }
.content.f-bio .fpzone { position: absolute; left: calc(50% - 98px); top: 443px; margin: 0; }

/* ---- bottom gesture zone: no tap target below y 812 (32 dp from the edge) ---- */
.phone .ob-actions { padding-bottom: 32px; }
.phone .ad-actions { margin-bottom: 32px; }
.phone .composer { margin-bottom: 32px; }
.phone .cmdbar { margin-bottom: 32px; }
.phone .vc-controls { padding-bottom: 32px; }
.phone .toast { margin-bottom: 16px; }
.phone > .content { padding-bottom: 8px; box-sizing: border-box; }
.phone > .content > .btn-row:last-child { margin-bottom: 24px; padding-bottom: 0; }
/* sheets with a bottom bar: the bar is pinned, the content above scrolls (here: it shrinks) */
.phone .sheet-wrap > .sheet { padding-bottom: 32px; }
.phone .sheet-body:has(> .composer) { display: flex; flex-direction: column; }
.phone .sheet-body:has(> .composer) > :not(.composer) { min-height: 0; flex-shrink: 1; overflow: hidden; }
.phone .sheet-body > .composer { flex-shrink: 0; margin-top: auto; }
.phone > .content:has(> [style*="margin-top:auto"]) > :not(:last-child) { min-height: 0; flex-shrink: 1; overflow: hidden; }
.phone > .content > [style*="margin-top:auto"]:last-child { flex-shrink: 0; }
/* recovery words: 4 x 3 grid so the actions stay above the gesture zone in every language */
.phone .ob .word-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
.phone .ob .wcell { padding: 4px 8px; }
.f-hand .note-strip { padding-top: 8px; padding-bottom: 8px; }
.f-hand .note-strip + .note-strip { margin-top: 4px !important; }

/* ---- build tokens: touch floors (Dimens.touchMin 44, Dimens.tagHeight 32) ---- */
.phone :is(.cta,.btn,.btn-ghost,.btn-bad,.pill-btn,.mic-btn,.stop-btn,.mc-btn,.g-pill){min-height:44px;box-sizing:border-box}
.phone :is(.back-btn,.mic-btn,.mc-btn,.g-pill){min-width:44px;min-height:44px;box-sizing:border-box}
.phone .tab{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}
.phone :is(.chip,.chip-tag,.chip-text,.chip-num,.chip-top,.agent-chip,.vf-chip,.legend-chip){min-height:32px;box-sizing:border-box;display:inline-flex;align-items:center}
