/* ══════════════════════════════════════════════════════════════
   Harvey — dashboard styles

   Three rules the whole sheet follows:

   1. The interface carries no colour. Only STATUS is allowed a hue,
      so anything coloured on screen means something.
   2. Structure comes from hairlines, alignment and type weight —
      not from wrapping everything in a bordered card.
   3. Every figure is monospaced and tabular, so columns of numbers
      line up and a changing value doesn't shift the layout.

   Light and dark are the same design, re-tokenised. Nothing but the
   values in :root / [data-theme] changes between them.
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Newsreader'; font-style: normal; font-weight: 400 500;
  font-display: swap; src: url('/static/fonts/newsreader.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 400 600;
  font-display: swap; src: url('/static/fonts/geist.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500;
  font-display: swap; src: url('/static/fonts/geist-mono.woff2') format('woff2');
}

/* ── Tokens ──────────────────────────────────────────────────── */

:root {
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --serif: var(--sans);

  --r-sm: 6px;
  --r-md: 10px;
  --gut: 28px;

  /* Cosmic Midnight Navy Dark (HeyReach Vibe) */
  --bg:            #070A14;
  --panel:         #0D1224;
  --panel-raised:  #141B33;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --rule:          #10B981;
  --text:          #F8FAFC;
  --text-2:        #94A3B8;
  --text-3:        #64748B;
  --ink:           #10B981;
  --ink-contrast:  #070A14;
  --ink-soft:      rgba(16, 185, 129, 0.12);

  /* HeyReach Palette Tokens */
  --hey-indigo:    #6366F1;
  --hey-violet:    #8B5CF6;
  --hey-coral:     #FF6B6B;
  --hey-orange:    #FF8E53;
  --hey-emerald:   #10B981;
  --hey-mint:      #00E599;
  --hey-cyan:      #06B6D4;
  --hey-sky:       #38BDF8;

  --s-good:   #00E599;  --s-good-bg:   rgba(0, 229, 153, 0.12);   --s-good-line:   rgba(0, 229, 153, 0.32);
  --s-wait:   #F59E0B;  --s-wait-bg:   rgba(245, 158, 11, 0.12);  --s-wait-line:   rgba(245, 158, 11, 0.28);
  --s-bad:    #EF4444;  --s-bad-bg:    rgba(239, 68, 68, 0.12);   --s-bad-line:    rgba(239, 68, 68, 0.28);
  --s-active: #06B6D4;  --s-active-bg: rgba(6, 182, 212, 0.12);   --s-active-line: rgba(6, 182, 212, 0.28);
  --s-note:   #8B5CF6;  --s-note-bg:   rgba(139, 92, 246, 0.12);  --s-note-line:   rgba(139, 92, 246, 0.28);

  --shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.65);
  color-scheme: dark;
}

:root[data-theme='light'] {
  --bg:            #F8FAFC;
  --panel:         #FFFFFF;
  --panel-raised:  #F1F5F9;
  --border:        #E2E8F0;
  --border-strong: #CBD5E1;
  --rule:          #0F172A;
  --text:          #0F172A;
  --text-2:        #475569;
  --text-3:        #94A3B8;
  --ink:           #0F172A;
  --ink-contrast:  #FFFFFF;
  --ink-soft:      #E2E8F0;

  --s-good:   #059669;  --s-good-bg:   #ECFDF5;  --s-good-line:   #A7F3D0;
  --s-wait:   #D97706;  --s-wait-bg:   #FFFBEB;  --s-wait-line:   #FDE68A;
  --s-bad:    #DC2626;  --s-bad-bg:    #FEF2F2;  --s-bad-line:    #FECACA;
  --s-active: #0284C7;  --s-active-bg: #F0F9FF;  --s-active-line: #BAE6FD;
  --s-note:   #7C3AED;  --s-note-bg:   #F5F3FF;  --s-note-line:   #DDD6FE;

  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--ink-soft); color: var(--text); }

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background-color: #070A14;
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(99, 102, 241, 0.16), transparent 70%),
    radial-gradient(circle at 92% 25%, rgba(255, 107, 107, 0.08), transparent 45%),
    radial-gradient(circle at 8% 35%, rgba(0, 229, 153, 0.07), transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  background-attachment: fixed;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: underline; text-underline-offset: 2px;
    text-decoration-color: var(--border-strong); text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* ── Masthead ────────────────────────────────────────────────── */

header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px var(--gut) 12px;
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 32px; height: 32px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #fff;
  border-radius: 8px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand-title-wrap { display: flex; align-items: center; gap: 10px; }
.brand h1 {
  font-family: var(--sans); font-size: 16px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; color: #FFFFFF;
  margin: 0;
}
.brand-highlight {
  color: #10b981; font-weight: 700; font-size: 14px;
}
.brand .tagline {
  font-family: var(--sans); font-style: normal; font-size: 11px;
  color: var(--text-3); line-height: 1.2; margin-top: 3px;
  letter-spacing: 0.02em;
}
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #34d399;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3px;
}
.header-controls { display: flex; align-items: center; gap: 8px; }
.harvey-status {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px; color: var(--text-2);
  padding-right: 4px;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--text-3); }
.status-dot.running { 
  background: var(--s-good); 
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7); 
}
.status-dot.stopped { background: var(--text-3); }
.status-dot.offline { background: var(--s-bad); box-shadow: 0 0 8px rgba(239, 68, 68, 0.7); }

.icon-btn, .refresh-btn {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  color: var(--text-2); font-family: var(--sans); font-size: 12px; font-weight: 500;
  padding: 6px 12px; cursor: pointer; transition: all .15s ease;
}
.icon-btn:hover, .refresh-btn:hover { 
  color: var(--text); border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08); 
}
.icon-btn { font-family: var(--mono); font-size: 11px; padding: 6px 10px; }

/* ── Nav ─────────────────────────────────────────────────────── */

nav:not(.apple-dock) {
  display: flex; gap: 0; padding: 0 var(--gut);
  background: rgba(8, 9, 13, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
  position: sticky; top: 58px; z-index: 99;
}
nav:not(.apple-dock)::-webkit-scrollbar { display: none; }
nav:not(.apple-dock) button {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--text-3); font-family: var(--sans); font-size: 13px; font-weight: 500;
  padding: 12px 0 10px; margin-right: 24px; cursor: pointer; white-space: nowrap;
  transition: all .15s ease;
}
nav:not(.apple-dock) button:hover { color: var(--text-2); }
nav:not(.apple-dock) button.active { 
  color: #10B981; border-bottom-color: #10B981; font-weight: 600;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}
nav:not(.apple-dock) button:last-child { margin-right: 0; }
.nav-count {
  display: none; margin-left: 6px; padding: 1px 6px; border-radius: 4px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  background: var(--s-wait-bg); color: var(--s-wait);
  border: 1px solid var(--s-wait-line);
}
.nav-count.on { display: inline-block; }

main { padding: 36px var(--gut) 88px; max-width: 1400px; margin: 0 auto; }

.section { display: none; padding-top: 24px; scroll-margin-top: 170px; }
.section.active { display: block; animation: rise .22s cubic-bezier(.16,1,.3,1); }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* ── Headings ────────────────────────────────────────────────── */

.section-head { margin-bottom: 24px; }
.section-head h2 {
  font-family: var(--sans); font-size: 28px; font-weight: 750;
  letter-spacing: -0.025em; line-height: 1.15;
}
.section-head p {
  font-size: 13.5px; color: var(--text-2); margin-top: 6px;
  max-width: 66ch; text-wrap: pretty;
}
.subhead {
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-3);
  border-bottom: 1px solid var(--border); padding-bottom: 6px; margin: 34px 0 14px;
}

/* ── Today: an asymmetric two-column screen ──────────────────── */

.today-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 34px; align-items: start; }
.today-rail { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 22px; }
.rail-block > .subhead { margin-top: 0; }

@media (max-width: 1080px) {
  .today-grid { grid-template-columns: 1fr; gap: 26px; }
  .today-rail { position: static; }
}

/* The action queue — the only thing on the page with real weight */
.queue { border-top: 1px solid var(--rule); }
.queue-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 17px 2px 17px 0; border-bottom: 1px solid var(--border);
}
.queue-item::before {
  content: ''; width: 2px; align-self: stretch; flex: none; margin-right: 2px;
  background: var(--text-3);
}
.queue-item.warn::before { background: var(--s-wait); }
.queue-item.bad::before  { background: var(--s-bad); }
.queue-item.good::before { background: var(--s-good); }
.queue-item .qtext { flex: 1; min-width: 0; }
.queue-item .qtitle { font-size: 15px; font-weight: 500; letter-spacing: -0.006em; }
.queue-item .qdetail {
  font-size: 13px; color: var(--text-2); margin-top: 4px;
  max-width: 68ch; text-wrap: pretty;
}
.queue-item .btn { flex: none; margin-top: 1px; }

.queue-clear {
  display: flex; align-items: center; gap: 13px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--border);
  padding: 22px 2px;
}
.queue-clear .glyph { color: var(--s-good); font-size: 17px; line-height: 1; }
.queue-clear .qtitle { font-size: 15px; font-weight: 500; }
.queue-clear .qdetail { font-size: 13px; color: var(--text-2); margin-top: 3px; max-width: 60ch; }

/* Rail figures — a stacked ledger, not glowing tiles */
.figures { border-top: 1px solid var(--rule); }
/* A subhead already draws a rule; a second one right under it reads as a
   mistake. Anything that follows a subhead drops its own top border. */
.subhead + * > .figures,
.subhead + .figures,
.subhead + * > .activity-feed,
.subhead + .activity-feed { border-top: none; }
.figure {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.figure .k { font-size: 12.5px; color: var(--text-2); }
.figure .v {
  font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums;
  color: var(--text); letter-spacing: -0.01em;
}
.figure .v.zero { color: var(--text-3); }
.figure-note { font-size: 11.5px; color: var(--text-3); margin-top: 8px; }

/* Legacy stat grid (usage tab) */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--border);
}
.stat-card { padding: 15px 20px 17px; border-right: 1px solid var(--border); }
.stat-card:last-child { border-right: none; }
.stat-card .label { font-size: 12px; color: var(--text-3); margin-bottom: 7px; }
.stat-card .value {
  font-family: var(--mono); font-size: 26px; font-weight: 400;
  letter-spacing: -0.025em; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-card .breakdown { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.chip { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.chip b { color: var(--text-2); font-weight: 500; }

/* ── Panels ──────────────────────────────────────────────────── */

.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px 24px; margin-bottom: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--border-strong); }
.card h2 { font-size: 14px; font-weight: 650; margin-bottom: 14px; letter-spacing: -0.01em; }
.card .lede { font-size: 13px; color: var(--text-2); margin: -4px 0 16px; max-width: 66ch; }

/* ── Buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-size: 13px; font-weight: 550;
  padding: 7px 14px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(0.5px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { 
  background: linear-gradient(135deg, #10B981 0%, #059669 100%); 
  color: #08090D; 
  font-weight: 650;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover:not(:disabled) { 
  opacity: .95; 
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.55);
}
.btn-secondary { background: none; border-color: var(--border-strong); color: var(--text-2); }
.btn-secondary:hover:not(:disabled) { border-color: var(--text-3); color: var(--text); }
.btn-danger { background: none; border-color: var(--s-bad); color: var(--s-bad); }
.btn-danger:hover:not(:disabled) { background: var(--s-bad-bg); }
.btn-sm { padding: 5px 11px; font-size: 12px; }
.btn-group { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }

kbd {
  font-family: var(--mono); font-size: 10px; padding: 1px 4px;
  border: 1px solid var(--border-strong); border-radius: 2px;
  background: var(--panel-raised); color: var(--text-3);
}

/* ── Status: the only coloured thing on screen ───────────────── */

.badge {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  padding: 2px 6px; border-radius: 2px; border: 1px solid transparent;
  white-space: nowrap;
}
.badge.t-waiting { background: var(--s-wait-bg);   color: var(--s-wait);   border-color: var(--s-wait-line); }
.badge.t-active  { background: var(--s-active-bg); color: var(--s-active); border-color: var(--s-active-line); }
.badge.t-good    { background: var(--s-good-bg);   color: var(--s-good);   border-color: var(--s-good-line); }
.badge.t-bad     { background: var(--s-bad-bg);    color: var(--s-bad);    border-color: var(--s-bad-line); }
.badge.t-idle    { background: var(--panel-raised);color: var(--text-3);   border-color: var(--border); }
.badge.t-note    { background: var(--s-note-bg);   color: var(--s-note);   border-color: var(--s-note-line); }

/* ── Tables ──────────────────────────────────────────────────── */

.table-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: auto;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left; font-size: 11px; font-weight: 600; color: var(--text-3);
  padding: 9px 15px; border-bottom: 1px solid var(--border-strong);
  white-space: nowrap; position: sticky; top: 0; background: var(--panel);
}
td {
  padding: 10px 15px; border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums; vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--panel-raised); }
td a { text-decoration: none; }
td a:hover { text-decoration: underline; }
.muted { color: var(--text-3); }
.num { font-family: var(--mono); text-align: right; }

/* ── Signals ─────────────────────────────────────────────────── */

.sig-summary { display: flex; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.sig-stat { padding: 14px 24px 16px; border-right: 1px solid var(--border); min-width: 118px; }
.sig-stat:last-child { border-right: none; }
.sig-stat .n { font-family: var(--mono); font-size: 25px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.sig-stat .k { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.sig-stat.confirmed .n { color: var(--s-good); }
.sig-stat.proposed .n  { color: var(--s-wait); }
.sig-stat.rejected .n  { color: var(--text-3); }

.sig-group { margin-bottom: 26px; }
.sig-group-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.sig-group-head h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: -0.014em; }
.sig-group-head p { font-size: 13px; color: var(--text-2); margin-top: 4px; max-width: 62ch; text-wrap: pretty; }

.sig-row { display: flex; gap: 20px; align-items: flex-start; padding: 15px 20px; border-bottom: 1px solid var(--border); }
.sig-row:last-child { border-bottom: none; }
.sig-row.rejected { opacity: .5; }
.sig-row .sig-main { flex: 1; min-width: 0; }
.sig-row .sig-label { font-size: 14px; font-weight: 500; }
.sig-row .sig-code { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); margin-left: 8px; }
.sig-row .sig-desc { font-size: 13px; color: var(--text-2); margin-top: 5px; max-width: 68ch; text-wrap: pretty; }
.sig-row .sig-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; align-items: center; }
.sig-row .sig-decide { display: flex; gap: 6px; flex: none; }

.cost-chip {
  font-family: var(--mono); font-size: 10.5px; padding: 2px 6px; border-radius: 2px;
  border: 1px solid var(--border); color: var(--text-3); background: var(--panel-raised);
}
.cost-chip.free { color: var(--s-good); background: var(--s-good-bg); border-color: var(--s-good-line); }
.cost-chip.paid { color: var(--s-wait); background: var(--s-wait-bg); border-color: var(--s-wait-line); }

/* ── Cohort builder ──────────────────────────────────────────── */

.cohort-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 7px; }
.cohort-pick {
  display: flex; align-items: center; gap: 9px; padding: 8px 11px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 12.5px; cursor: pointer; user-select: none;
}
.cohort-pick:hover { border-color: var(--border-strong); }
.cohort-pick:has(input:checked) { border-color: var(--text-3); background: var(--panel-raised); }
.cohort-pick input { accent-color: var(--ink); }
.cohort-pick .n { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.cohort-size { font-family: var(--mono); font-size: 33px; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ── Decisions desk ──────────────────────────────────────────── */

.desk { display: grid; grid-template-columns: 254px minmax(0,1fr); gap: 16px; align-items: start; }
.desk-list { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden auto; max-height: 620px; }
.desk-item { padding: 11px 13px; border-bottom: 1px solid var(--border); border-left: 2px solid transparent; cursor: pointer; }
.desk-item:last-child { border-bottom: none; }
.desk-item:hover { background: var(--panel-raised); }
.desk-item.active { background: var(--panel-raised); border-left-color: var(--ink); }
.desk-item .to { font-family: var(--mono); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-item .sub { font-size: 11.5px; color: var(--text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.desk-pane { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px 32px; }
.desk-pane .to-line { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.desk-pane .subject { font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: -0.018em; margin: 12px 0 16px; line-height: 1.2; }
.desk-pane .body {
  font-size: 14.5px; line-height: 1.75; white-space: pre-wrap; max-width: 64ch;
  padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.desk-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }

@media (max-width: 900px) { .desk { grid-template-columns: 1fr; } .desk-list { max-height: 220px; } }

/* ── Discovery providers ─────────────────────────────────────── */

.prov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 26px; }
.prov-card {
  display: flex; flex-direction: column; gap: 8px; padding: 17px 18px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color .15s;
}
.prov-card:hover { border-color: var(--border-strong); }
.prov-card.selected { border-color: var(--text-3); background: var(--panel-raised); }
.prov-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.prov-card h3 { font-size: 14px; font-weight: 600; letter-spacing: -0.006em; }
.prov-card .blurb { font-size: 12.5px; color: var(--text-2); text-wrap: pretty; }
.prov-card .row { display: flex; gap: 8px; font-size: 11.5px; }
.prov-card .row .k { color: var(--text-3); min-width: 40px; flex: none; }
.prov-card .row .v { color: var(--text-2); }
.prov-card .caveat {
  font-size: 11.5px; color: var(--s-wait); background: var(--s-wait-bg);
  border-left: 2px solid var(--s-wait-line); padding: 7px 10px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0; text-wrap: pretty;
}

.estimate-box { border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 16px; background: var(--panel-raised); }
.estimate-box .amount { font-family: var(--mono); font-size: 27px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.estimate-box .amount.free { color: var(--s-good); }
.estimate-box .amount.paid { color: var(--s-wait); }
.query-list { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-top: 12px; line-height: 1.75; max-height: 150px; overflow-y: auto; }

/* ── Forms ───────────────────────────────────────────────────── */

.form-group { margin-bottom: 15px; }
.form-label { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-3); margin-bottom: 5px; }
.form-input {
  width: 100%; padding: 8px 11px; font-family: var(--sans); font-size: 13px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  transition: border-color .15s;
}
.form-input:focus { outline: none; border-color: var(--text-3); }
.form-input::placeholder { color: var(--text-3); }
.form-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 130px; }

.test-result { font-size: 12.5px; margin-top: 10px; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid transparent; }
.test-result.success { background: var(--s-good-bg); color: var(--s-good); border-color: var(--s-good-line); }
.test-result.error   { background: var(--s-bad-bg);  color: var(--s-bad);  border-color: var(--s-bad-line); }
.test-result.pending { background: var(--panel-raised); color: var(--text-2); border-color: var(--border); }

/* ── Setup checklist ─────────────────────────────────────────── */

.progress-wrap { margin-bottom: 18px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 7px; }
.progress-label .pct { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.progress-label .text { color: var(--text-3); }
.progress-bar { height: 3px; background: var(--border); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; transition: width .5s cubic-bezier(.16,1,.3,1); }
.progress-fill.green { background: var(--s-good); }
.progress-fill.yellow { background: var(--s-wait); }

.check-item { display: flex; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.check-item:last-child { border-bottom: none; }
.check-icon {
  width: 15px; height: 15px; flex: none; margin-top: 2px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 9px;
}
.check-icon.done { background: var(--s-good-bg); color: var(--s-good); border: 1px solid var(--s-good-line); }
.check-icon.pending { border: 1px dashed var(--border-strong); color: var(--text-3); }
.check-info { flex: 1; min-width: 0; }
.check-label { font-size: 13px; font-weight: 500; }
.check-label.done { color: var(--text-3); font-weight: 400; }
.check-help { font-size: 12px; color: var(--text-3); margin-top: 3px; text-wrap: pretty; }
.optional-tag { font-size: 10px; color: var(--text-3); font-weight: 400; margin-left: 5px; }

details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: '+ '; font-family: var(--mono); color: var(--text-3); }
details[open] summary::before { content: '– '; }

/* ── Campaigns, conversations, activity ──────────────────────── */

.campaign-card, .convo-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 13px;
}
.campaign-card h3, .convo-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; letter-spacing: -0.008em; }
.campaign-card .meta, .convo-card .meta { font-size: 12px; color: var(--text-3); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }

.email-step { border-left: 2px solid var(--border); padding: 2px 0 2px 15px; margin-bottom: 15px; }
.email-step .step-num { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); margin-bottom: 4px; }
.email-step .subject { font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.email-step .body { font-size: 13px; color: var(--text-2); line-height: 1.7; white-space: pre-wrap; }

.thread-msg { max-width: 78%; padding: 11px 14px; border-radius: var(--r-md); margin-bottom: 9px; font-size: 13px; line-height: 1.65; }
.thread-msg.sent { background: var(--panel-raised); border: 1px solid var(--border); margin-left: auto; }
.thread-msg.received { background: var(--bg); border: 1px solid var(--border); }
.thread-msg .sender { font-family: var(--mono); font-size: 10px; color: var(--text-3); margin-bottom: 4px; }

.activity-feed { border-top: 1px solid var(--rule); }
.activity-item { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 12.5px; align-items: baseline; }
.activity-item:last-child { border-bottom: none; }
.activity-item .time { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); min-width: 108px; flex: none; }
.activity-item .agent { font-family: var(--mono); font-size: 11px; color: var(--text-2); min-width: 62px; flex: none; }
.activity-item .action { color: var(--text-2); }

/* ── Help & misc ─────────────────────────────────────────────── */

.help-section { margin-bottom: 26px; }
.help-section h2 { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: -0.014em; margin-bottom: 9px; }
.help-section p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 9px; max-width: 70ch; }
.help-section code { font-family: var(--mono); font-size: 12px; background: var(--panel-raised); border: 1px solid var(--border); border-radius: 2px; padding: 1px 5px; }
.help-section pre { background: var(--panel-raised); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 13px 15px; overflow-x: auto; font-family: var(--mono); font-size: 12px; line-height: 1.6; }
.file-table { width: 100%; font-size: 12.5px; border-collapse: collapse; }
.file-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.file-table td:first-child { font-family: var(--mono); font-size: 11.5px; white-space: nowrap; width: 210px; }
.file-table td:last-child { color: var(--text-2); }
.file-table tr:last-child td { border-bottom: none; }

.control-panel { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
@media (max-width: 900px) { .control-panel { grid-template-columns: 1fr; } }
.status-big { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.status-big .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); }
.status-big .dot.running { background: var(--s-good); }
.status-big .label { font-size: 18px; font-weight: 600; letter-spacing: -0.012em; }
.status-big .label.running { color: var(--s-good); }
.status-meta { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-bottom: 16px; min-height: 15px; }
.log-viewer { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 13px 15px; font-family: var(--mono); font-size: 11.5px; line-height: 1.65; color: var(--text-2); height: 340px; overflow-y: auto; white-space: pre-wrap; }

.empty { text-align: center; padding: 46px 24px; border: 1px dashed var(--border-strong); border-radius: var(--r-md); }
.empty .glyph { font-size: 20px; color: var(--text-3); margin-bottom: 12px; }
.empty .title { font-family: var(--serif); font-size: 19px; font-weight: 400; margin-bottom: 6px; }
.empty .copy { font-size: 13px; color: var(--text-3); line-height: 1.65; max-width: 46ch; margin: 0 auto; text-wrap: pretty; }
.empty .copy b { color: var(--text-2); font-weight: 500; }

.toast {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  padding: 11px 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 450;
  box-shadow: var(--shadow); animation: toast-in .25s cubic-bezier(.16,1,.3,1);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.toast.success { background: var(--ink); color: var(--ink-contrast); }
.toast.error { background: var(--s-bad); color: #fff; }

@media (max-width: 700px) {
  :root { --gut: 18px; }
  .brand .tagline { display: none; }
  .section-head h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}.btn-sheets {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #22c55e;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-sheets:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: #22c55e;
  color: #fff;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════
   Apple Command Center & Motion Engine Additions
   ══════════════════════════════════════════════════════════════ */

/* ── Live Intent Radar ─────────────────────────────────────── */
.radar-orb {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, #0F1626 0%, #06080D 100%);
  border: 1px solid rgba(0, 229, 153, 0.4);
  box-shadow: 0 0 16px rgba(0, 229, 153, 0.25), inset 0 0 10px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  flex: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.radar-orb:hover {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(0, 229, 153, 0.45);
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 229, 153, 0.45) 0deg, rgba(0, 229, 153, 0.05) 60deg, transparent 90deg);
  animation: radar-spin 2.6s linear infinite;
  pointer-events: none;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.radar-ring.ring-1 { inset: 5px; }
.radar-ring.ring-2 { inset: 12px; }

.radar-blip {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #00E599;
  box-shadow: 0 0 8px #00E599;
  animation: blip-pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.radar-blip.blip-1 { top: 9px; right: 10px; animation-delay: 0.4s; }
.radar-blip.blip-2 { bottom: 10px; left: 11px; animation-delay: 1.6s; }

@keyframes blip-pulse {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.4); }
}

.radar-center-mark {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: #00E599;
  text-shadow: 0 0 8px rgba(0, 229, 153, 0.8);
  line-height: 1;
}

/* ── Apple Status Pill & Telemetry Strip ────────────────────── */
.apple-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #00E599;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E599;
  box-shadow: 0 0 8px #00E599;
  animation: pulse-glow 1.8s infinite;
}
.pulse-dot.cyan { background: #06B6D4; box-shadow: 0 0 8px #06B6D4; }

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.telemetry-pill-strip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.telemetry-chip strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .telemetry-pill-strip { display: none; }
}

/* ── Apple Floating Segmented Dock ─────────────────────────── */
.apple-dock-wrapper {
  padding: 8px var(--gut) 14px;
  background: rgba(7, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 56px;
  z-index: 90;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.apple-dock {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(14, 18, 28, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.6);
  overflow-x: auto;
  scrollbar-width: none;
}
.apple-dock::-webkit-scrollbar { display: none; }

.dock-slider {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: 0;
  border-radius: 999px;
  background: rgba(0, 229, 153, 0.14);
  border: 1px solid rgba(0, 229, 153, 0.35);
  box-shadow: 0 0 16px rgba(0, 229, 153, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  z-index: 1;
}

.apple-dock button {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  color: var(--text-3);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 550;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease;
  margin: 0;
}
.apple-dock button:hover { color: var(--text-2); }
.apple-dock button.active {
  color: #00E599;
  font-weight: 650;
  text-shadow: 0 0 12px rgba(0, 229, 153, 0.35);
}

/* ── CRM Table & Status Badges (Linear / Clay Minimal) ─────── */
.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  flex: none;
}
.status-indicator-dot.dot-blue   { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.5); }
.status-indicator-dot.dot-green  { background: #34d399; box-shadow: 0 0 6px rgba(52, 211, 153, 0.5); }
.status-indicator-dot.dot-amber  { background: #fbbf24; box-shadow: 0 0 6px rgba(251, 191, 36, 0.5); }
.status-indicator-dot.dot-purple { background: #c084fc; box-shadow: 0 0 6px rgba(192, 132, 252, 0.5); }
.status-indicator-dot.dot-red    { background: #f87171; box-shadow: 0 0 6px rgba(248, 113, 113, 0.5); }
.status-indicator-dot.dot-gray   { background: #94a3b8; }

.crm-table-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.crm-table-badge.crm-status-blue   { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.28); }
.crm-table-badge.crm-status-green  { background: rgba(52, 211, 153, 0.12); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.28); }
.crm-table-badge.crm-status-amber  { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.28); }
.crm-table-badge.crm-status-purple { background: rgba(192, 132, 252, 0.12); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.28); }
.crm-table-badge.crm-status-red    { background: rgba(248, 113, 113, 0.12); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.28); }
.crm-table-badge.crm-status-default{ background: rgba(255, 255, 255, 0.06); color: var(--text-2); border: 1px solid var(--border); }

.crm-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.pill-count {
  opacity: 0.75;
  font-family: var(--mono);
  font-size: 10.5px;
  margin-left: 4px;
}

/* ── Apple Bento Command Center ────────────────────────────── */
.apple-bento-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1100px) {
  .apple-bento-hero { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .apple-bento-hero { grid-template-columns: 1fr; }
}

.bento-card {
  position: relative;
  background: rgba(16, 20, 30, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 22px;
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bento-card:hover::after {
  opacity: 1;
}
.bento-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 229, 153, 0.08);
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
}
.bento-badge.green {
  background: rgba(0, 229, 153, 0.1);
  border-color: rgba(0, 229, 153, 0.3);
  color: #00E599;
}
.bento-badge.blue {
  background: rgba(10, 132, 255, 0.1);
  border-color: rgba(10, 132, 255, 0.3);
  color: #0A84FF;
}
.bento-badge.cyan {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
  color: #06B6D4;
}
.bento-badge.purple {
  background: rgba(191, 90, 242, 0.1);
  border-color: rgba(191, 90, 242, 0.3);
  color: #BF5AF2;
}

.bento-arrow {
  color: var(--text-3);
  font-size: 13px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.bento-card:hover .bento-arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}

.bento-stat {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 6px;
}
.bento-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  font-feature-settings: 'tnum';
}
.bento-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}
.bento-label {
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.bento-sub {
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.4;
}

/* ── 4-Stage Pipeline Conduit Banner ───────────────────────── */
.pipeline-conduit-card {
  background: rgba(14, 18, 28, 0.55);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.conduit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.conduit-active-pill {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #00E599;
  background: rgba(0, 229, 153, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 153, 0.2);
}

.conduit-stages {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .conduit-stages {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .conduit-pulse { display: none; }
}

.stage-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stage-step:hover {
  background: rgba(0, 229, 153, 0.05);
  border-color: rgba(0, 229, 153, 0.3);
  transform: translateY(-1px);
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  font-family: var(--mono);
  color: #00E599;
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.3);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step-info strong {
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
}
.step-info span {
  font-size: 11px;
  color: var(--text-3);
}

.conduit-pulse {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 229, 153, 0.2) 0%, #00E599 50%, rgba(0, 229, 153, 0.2) 100%);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.conduit-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  filter: blur(2px);
  animation: conduit-stream 1.8s infinite;
}

@keyframes conduit-stream {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ══════════════════════════════════════════════════════════════
   HeyReach-Style Unified Product Showcase Hero
   ══════════════════════════════════════════════════════════════ */

.heyreach-unified-hero {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 0 0 8px 0;
  position: relative;
}

@media (max-width: 1060px) {
  .heyreach-unified-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── Hero Left: Proposition & Copy ── */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
  padding-top: 6px;
}

.hero-pill-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hey-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.hey-pill.coral {
  background: rgba(255, 107, 107, 0.14);
  color: #FFA1A1;
  border: 1px solid rgba(255, 107, 107, 0.35);
}
.hey-pill.purple {
  background: rgba(139, 92, 246, 0.14);
  color: #C4B5FD;
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.hey-pill.green {
  background: rgba(0, 229, 153, 0.14);
  color: #6EE7B7;
  border: 1px solid rgba(0, 229, 153, 0.35);
}
.hey-pill.cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #7DD3FC;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.pulse-dot.coral {
  background: #FF6B6B;
  box-shadow: 0 0 8px #FF6B6B;
}

.hero-main-title {
  font-size: 36px;
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}

/* HeyReach Word Highlights */
.hl-coral {
  background: rgba(255, 107, 107, 0.18);
  color: #FFA1A1;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.32);
  display: inline-block;
}
.hl-purple {
  background: rgba(139, 92, 246, 0.18);
  color: #D8B4FE;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.32);
  display: inline-block;
}
.hl-green {
  background: rgba(0, 229, 153, 0.18);
  color: #A7F3D0;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 153, 0.32);
  display: inline-block;
}

.hero-main-sub {
  font-size: 14.5px;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: #FFFFFF;
  color: #0A0D14;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.16), 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  background: #F8FAFC;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.28), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 650;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  color: #64748B;
  font-family: var(--mono);
  margin-top: 4px;
}
.hero-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hero-trust-bar strong { color: #00E599; }

/* ── Hero Ecosystem Strip (100% Legit Integrations) ── */
.hero-ecosystem-strip {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eco-label {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  color: #64748B;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eco-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.eco-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #11141D;
  border: 1px solid #232A3B;
  color: #CBD5E1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.eco-pill:hover {
  background: #171C28;
  border-color: #38BDF8;
  color: #FFFFFF;
}

.eco-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.eco-dot.google { background: #4285F4; box-shadow: 0 0 5px #4285F4; }
.eco-dot.msft { background: #00A4EF; box-shadow: 0 0 5px #00A4EF; }
.eco-dot.sheets { background: #0F9D58; box-shadow: 0 0 5px #0F9D58; }
.eco-dot.reoon { background: #10B981; box-shadow: 0 0 5px #10B981; }
.eco-dot.instantly { background: #8B5CF6; box-shadow: 0 0 5px #8B5CF6; }
.eco-dot.telegram { background: #229ED9; box-shadow: 0 0 5px #229ED9; }

/* ── Hero Right: 3D Layered Product Stage ── */
.hero-stage {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 600px) {
  .hero-stage {
    min-height: auto;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

/* Background Card: Sequence Orchestrator */
.stage-workflow-card {
  width: 96%;
  min-width: 480px;
  background: rgba(14, 19, 38, 0.75);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  padding: 22px 24px 24px 24px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.75), 0 0 30px rgba(99, 102, 241, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.workflow-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 12px;
}
.senders-bubble-strip {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar-stack-mini {
  display: flex;
  align-items: center;
}
.avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #0E1326;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  margin-left: -6px;
}
.avatar-mini:first-child { margin-left: 0; }
.avatar-mini.av-1 { background: linear-gradient(135deg, #FF6B6B, #FF8E53); }
.avatar-mini.av-2 { background: linear-gradient(135deg, #8B5CF6, #6366F1); }
.avatar-mini.av-3 { background: linear-gradient(135deg, #00E599, #059669); }
.avatar-mini.av-more { background: #1E293B; color: #94A3B8; font-size: 8.5px; }

.workflow-pill {
  font-size: 10px;
  font-weight: 700;
  color: #00E599;
  background: rgba(0, 229, 153, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 153, 0.28);
}

.workflow-tree-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 145px;
}

.wf-step-node {
  background: rgba(20, 26, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  cursor: pointer;
}
.wf-step-node:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(26, 34, 64, 0.95);
  transform: translateX(3px);
}

.wf-step-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wf-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.wf-text strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
}
.wf-text span {
  font-size: 10px;
  color: #94A3B8;
}

.wf-badge {
  font-size: 9px;
  font-weight: 750;
  font-family: var(--mono);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}
.wf-badge.coral { background: rgba(255, 107, 107, 0.15); color: #FFA1A1; border: 1px solid rgba(255, 107, 107, 0.3); }
.wf-badge.green { background: rgba(0, 229, 153, 0.15); color: #6EE7B7; border: 1px solid rgba(0, 229, 153, 0.3); }
.wf-badge.purple { background: rgba(139, 92, 246, 0.15); color: #C4B5FD; border: 1px solid rgba(139, 92, 246, 0.3); }
.wf-badge.cyan { background: rgba(6, 182, 212, 0.15); color: #7DD3FC; border: 1px solid rgba(6, 182, 212, 0.3); }

.wf-connector-line {
  width: 2px;
  height: 8px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.5) 0%, rgba(99, 102, 241, 0.1) 100%);
  margin-left: 25px;
}

/* Foreground Floating Card: HeyReach Real Chat Inbox */
.stage-inbox-card {
  position: absolute;
  left: -20px;
  bottom: -15px;
  width: 320px;
  background: rgba(10, 14, 28, 0.94);
  backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(99, 102, 241, 0.2);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stage-inbox-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(99, 102, 241, 0.3);
}

@media (max-width: 600px) {
  .stage-inbox-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
  }
}

.inbox-top-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.inbox-tab-strip {
  display: flex;
  align-items: center;
  gap: 6px;
}
.inbox-pill-tab {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.inbox-pill-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.inbox-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  color: #64748B;
}

.inbox-chat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inbox-chat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}
.inbox-chat-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(2px);
}

.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.chat-avatar.red { background: linear-gradient(135deg, #FF6B6B, #FF8E53); }
.chat-avatar.blue { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.chat-avatar.green { background: linear-gradient(135deg, #00E599, #10B981); }

.chat-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.chat-name {
  font-size: 11.5px;
  font-weight: 750;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-time {
  font-size: 9.5px;
  color: #64748B;
  font-family: var(--mono);
}

.chat-preview {
  font-size: 10.5px;
  color: #94A3B8;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 750;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 2px;
  align-self: flex-start;
}
.chat-tag.hot {
  background: rgba(255, 107, 107, 0.16);
  color: #FFA1A1;
  border: 1px solid rgba(255, 107, 107, 0.3);
}
.chat-tag.booked {
  background: rgba(0, 229, 153, 0.16);
  color: #6EE7B7;
  border: 1px solid rgba(0, 229, 153, 0.3);
}
.chat-tag.sent {
  background: rgba(59, 130, 246, 0.16);
  color: #93C5FD;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ── High-Ticket Audit CTA & Floating Architect Widget ─────── */
.btn-cta-audit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #00E599 0%, #059669 100%);
  color: #041F16 !important;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  border: 1px solid rgba(0, 229, 153, 0.4);
  box-shadow: 0 0 14px rgba(0, 229, 153, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-cta-audit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 229, 153, 0.4);
  color: #041F16 !important;
}

.floating-architect-pill {
  position: fixed;
  bottom: 14px;
  right: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 10px 5px 12px;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
  transform: scale(0.92);
  transform-origin: bottom right;
}
.floating-architect-pill:hover {
  border-color: rgba(0, 229, 153, 0.4);
  box-shadow: 0 16px 42px rgba(0, 229, 153, 0.22), 0 0 0 1px rgba(0, 229, 153, 0.2);
  transform: translateY(-2px);
}
.fap-left {
  display: flex;
  align-items: center;
  gap: 9px;
}
.fap-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E599;
  box-shadow: 0 0 10px #00E599;
  animation: pulseGreen 2s infinite;
  flex: none;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(0, 229, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 153, 0); }
}
.fap-text strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}
.fap-text span {
  display: block;
  font-size: 9.5px;
  color: #94A3B8;
  line-height: 1.2;
}
.fap-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #25D366;
  color: #032511 !important;
  font-weight: 750;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.fap-btn:hover {
  background: #2ee672;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.6);
  color: #032511 !important;
}
@media (max-width: 768px) {
  .floating-architect-pill {
    bottom: 74px !important;
    right: 14px !important;
    left: auto !important;
    max-width: fit-content !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
  }
  .floating-architect-pill .fap-text span {
    display: none !important;
  }
}

/* ── 2-Step Outbound Pipeline Audit Slider Card ────────────── */
.audit-card-wrap {
  position: relative;
  background: rgba(13, 17, 28, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.audit-card-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 153, 0.15), transparent 70%);
  pointer-events: none;
}
.audit-card-inner {
  position: relative;
  z-index: 1;
  padding: 36px 32px 28px;
}
.audit-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
}
.audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.28);
  color: #00E599;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.audit-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 8px;
}
.audit-subtitle {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 auto;
}

/* Dual Mode Switcher (Audit Form vs Direct Calendar) */
.audit-mode-switcher-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px;
  margin: 20px auto 4px auto;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}
.audit-mode-tab {
  border: none;
  background: transparent;
  color: #94A3B8;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  outline: none;
  font-family: inherit;
}
.audit-mode-tab:hover {
  color: #FFFFFF;
}
.audit-mode-tab.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.mode-badge-direct {
  font-size: 9px;
  background: rgba(34, 197, 94, 0.18);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  padding: 1px 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Native Jarvis In-House Meeting Scheduler (Calendly / Cal.com Clean 2-Step Flow) */
.native-sched-card {
  margin: 0 auto;
  max-width: 580px;
  background: #0B0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all 0.25s ease;
}

.sched-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

.sched-pane-wrap {
  padding: 20px 22px;
}

.sched-sec-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sched-day-pill {
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.sched-day-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}
.sched-day-pill.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}
.sched-day-pill .s-day-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.sched-day-pill.active .s-day-name {
  color: #10B981;
}
.sched-day-pill .s-day-num {
  font-size: 16px;
  font-weight: 800;
  color: #F8FAFC;
}
.sched-day-pill.active .s-day-num {
  color: #FFFFFF;
}
.sched-day-pill .s-day-avail {
  display: none;
}

.sched-slot-pill {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono, monospace);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.sched-slot-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.sched-slot-pill.active {
  background: #10B981;
  color: #022c1c;
  border-color: #10B981;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.sched-input {
  width: 100%;
  height: 38px;
  font-size: 12.5px;
  padding: 8px 12px;
  background: #070A10;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: #F8FAFC;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.sched-input:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
  background: #0A0E17;
}
.sched-input::placeholder {
  color: #475569;
}

.sched-btn-confirm {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #022c1c;
  font-weight: 750;
  font-size: 13.5px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}
.sched-btn-confirm:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.sched-btn-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Stepper Bar */
.audit-stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.audit-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}
.audit-step-pill .step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-family: var(--mono);
}
.audit-step-pill .step-label {
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}
.audit-step-pill.active {
  background: rgba(0, 229, 153, 0.1);
  border-color: rgba(0, 229, 153, 0.35);
}
.audit-step-pill.active .step-num {
  background: #00E599;
  color: #032511;
}
.audit-step-pill.active .step-label {
  color: #00E599;
}
.step-divider-line {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Form Grid */
.audit-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-bottom: 24px;
}
.audit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.audit-field label {
  font-size: 12px;
  font-weight: 650;
  color: #E2E8F0;
  letter-spacing: 0.2px;
}
.audit-field label .req {
  color: #FF6B6B;
}
.audit-field input, .audit-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  outline: none;
  font-family: var(--sans);
  transition: all 0.2s ease;
}
.audit-field input:focus, .audit-select:focus {
  border-color: #00E599;
  box-shadow: 0 0 0 3px rgba(0, 229, 153, 0.15);
  background: rgba(15, 23, 42, 0.95);
}
.audit-select {
  cursor: pointer;
}
.audit-select option {
  background: #0F172A;
  color: #FFFFFF;
}
.field-hint {
  font-size: 10.5px;
  color: #64748B;
  margin-top: 2px;
}

/* Smart Global Phone Input */
.smart-phone-input-wrap {
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
  overflow: hidden;
  position: relative;
}
.smart-phone-input-wrap:focus-within {
  border-color: #00E599;
  box-shadow: 0 0 0 3px rgba(0, 229, 153, 0.15);
  background: rgba(15, 23, 42, 0.95);
}
.country-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 4px 0 8px;
  flex-shrink: 0;
}
.audit-country-select {
  border: none;
  background: transparent;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  padding: 10px 4px;
}
.audit-country-select option {
  background: #0F172A;
  color: #FFFFFF;
}
.phone-number-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.audit-phone-input {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 10px 32px 10px 12px !important;
  font-size: 13px !important;
  color: #FFFFFF !important;
  outline: none !important;
  font-family: var(--mono, monospace) !important;
  letter-spacing: 0.5px;
}
.phone-valid-icon {
  position: absolute;
  right: 10px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}
.phone-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
}
.phone-digit-counter {
  font-family: var(--mono, monospace);
  font-size: 10px;
  color: #64748B;
  font-weight: 600;
}

/* Light / Logged-out mode styling */
body.is-logged-out .smart-phone-input-wrap {
  background: #F9FAFB !important;
  border: 1px solid #D1D5DB !important;
}
body.is-logged-out .smart-phone-input-wrap:focus-within {
  background: #FFFFFF !important;
  border-color: #18181B !important;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08) !important;
}
body.is-logged-out .country-select-wrap {
  background: #F3F4F6 !important;
  border-right: 1px solid #E5E7EB !important;
}
body.is-logged-out .audit-country-select {
  color: #111827 !important;
}
body.is-logged-out .audit-country-select option {
  background: #FFFFFF !important;
  color: #111827 !important;
}
body.is-logged-out .audit-phone-input {
  color: #111827 !important;
}
body.is-logged-out .phone-digit-counter {
  color: #9CA3AF !important;
}

/* Actions Row */
.audit-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.audit-btn-next, .audit-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 750;
  background: linear-gradient(135deg, #00E599 0%, #059669 100%);
  color: #032511 !important;
  border: 1px solid rgba(0, 229, 153, 0.4);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 229, 153, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}
.audit-btn-next:hover, .audit-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 229, 153, 0.4);
}
.audit-btn-back {
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Success Card */
.audit-success-card {
  text-align: center;
  padding: 40px 20px;
}
.audit-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.audit-success-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.audit-success-desc {
  font-size: 13px;
  color: #94A3B8;
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.audit-success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Trust Footer */
.audit-footer-trust {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: #94A3B8;
}
.aft-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.aft-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00E599;
}

@media (max-width: 768px) {
  .audit-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .audit-card-inner {
    padding: 24px 18px;
  }
  .audit-title {
    font-size: 19px;
  }
}

/* ── Mission-Control Action Queue & Live Telemetry Terminal ── */
.today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 320px;
  gap: 20px;
  align-items: start;
  margin-top: 14px;
}
@media (max-width: 1080px) {
  .today-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.today-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Upgraded Action Queue Alert Card */
.queue-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.queue-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 107, 107, 0.04);
  border: 1px solid rgba(255, 107, 107, 0.22);
  box-shadow: 0 10px 30px -10px rgba(255, 107, 107, 0.15);
  transition: all 0.2s ease;
}
.queue-item-card:hover {
  border-color: rgba(255, 107, 107, 0.38);
  transform: translateY(-1px);
}
.qi-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qi-icon {
  font-size: 22px;
  flex: none;
}
.qi-title {
  font-size: 14px;
  font-weight: 750;
  color: #FFFFFF;
}
.qi-detail {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 3px;
  line-height: 1.4;
}
.btn-qi-action {
  flex: none;
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #FFFFFF;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.35);
  transition: all 0.2s ease;
}
.btn-qi-action:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.queue-clear-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(0, 229, 153, 0.04);
  border: 1px solid rgba(0, 229, 153, 0.18);
  border-radius: 14px;
}
.qc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 229, 153, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00E599;
  font-size: 16px;
}
.qc-body {
  flex: 1;
}
.qc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}
.qc-sub {
  font-size: 11.5px;
  color: #94A3B8;
  margin-top: 2px;
}
.qc-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #00E599;
  background: rgba(0, 229, 153, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 153, 0.25);
}

/* Live Telemetry Terminal Card */
.telemetry-terminal-card {
  background: rgba(10, 14, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
}
.telemetry-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.t-dot.red { background: #FF5F56; }
.t-dot.yellow { background: #FFBD2E; }
.t-dot.green { background: #27C93F; }

.terminal-title {
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  color: #94A3B8;
}
.terminal-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  color: #00E599;
}

.telemetry-log-feed {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
}
.telemetry-log-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1.5;
  color: #CBD5E1;
}
.t-time {
  font-size: 10px;
  color: #64748B;
  flex: none;
  width: 52px;
}
.t-badge {
  font-size: 9px;
  font-weight: 750;
  padding: 2px 6px;
  border-radius: 4px;
  flex: none;
}
.t-badge.green { background: rgba(0, 229, 153, 0.15); color: #00E599; border: 1px solid rgba(0, 229, 153, 0.3); }
.t-badge.coral { background: rgba(255, 107, 107, 0.15); color: #FFA1A1; border: 1px solid rgba(255, 107, 107, 0.3); }
.t-badge.blue { background: rgba(59, 130, 246, 0.15); color: #93C5FD; border: 1px solid rgba(59, 130, 246, 0.3); }
.t-badge.purple { background: rgba(139, 92, 246, 0.15); color: #C4B5FD; border: 1px solid rgba(139, 92, 246, 0.3); }
.t-msg {
  flex: 1;
  color: #E2E8F0;
}
.t-code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  color: #38BDF8;
}
.t-detail {
  color: #94A3B8;
  font-size: 10.5px;
}

.telemetry-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 10px;
  color: #64748B;
  font-family: var(--mono);
}

/* Upgraded Pipeline Rail Figures Panel */
.figures-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(14, 19, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
}
.figure-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.figure-row:last-child {
  border-bottom: none;
}
.fig-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fig-label {
  font-size: 11.5px;
  font-weight: 650;
  color: #F1F5F9;
}
.fig-hint {
  font-size: 9.5px;
  color: #64748B;
  font-family: var(--mono);
}
.fig-val {
  font-size: 12px;
  font-weight: 750;
  font-family: var(--mono);
  color: #64748B;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 7px;
  border-radius: 6px;
}
.fig-val.active {
  color: #00E599;
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.25);
}

/* Intent Radar Preview Card */
.intent-radar-preview-card {
  background: rgba(14, 19, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 16px 20px;
  cursor: pointer;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.intent-radar-preview-card:hover {
  border-color: rgba(255, 107, 107, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 20px 45px -10px rgba(255, 107, 107, 0.15);
}
.irp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.irp-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.irp-badge {
  font-size: 9.5px;
  font-weight: 750;
  font-family: var(--mono);
  padding: 2px 7px;
  border-radius: 4px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.irp-badge.coral {
  background: rgba(255, 107, 107, 0.15);
  color: #FFA1A1;
  border: 1px solid rgba(255, 107, 107, 0.3);
}
.irp-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}
.btn-irp-explore {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: none;
}
.btn-irp-explore:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}
.irp-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.irp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  color: #CBD5E1;
  font-weight: 550;
}
.irp-tag .t-icon {
  font-size: 12px;
}
.irp-tag.irp-more {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
  color: #C7D2FE;
  font-weight: 700;
  font-family: var(--mono);
}

/* ══════════════════════════════════════════════════════════════
   🚀 GOD-TIER INTERACTIVE LIVE SIMULATOR (60 FPS KINETIC HYBRID)
   ══════════════════════════════════════════════════════════════ */

.interactive-live-simulator {
  width: 100%;
  max-width: 550px;
  background: rgba(13, 17, 30, 0.94);
  backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(99, 102, 241, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  font-family: var(--sans);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.interactive-live-simulator:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 72px -12px rgba(0, 0, 0, 0.95), 0 0 50px rgba(16, 185, 129, 0.18);
}

/* ── Top Bar: Header & 3-Target ICP Switcher ── */
.sim-header {
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.015);
}

.sim-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-brand-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: simPulse 2s infinite ease-in-out;
}

@keyframes simPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.sim-tag {
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  color: #F8FAFC;
}

.sim-fps-badge {
  font-size: 9px;
  font-weight: 700;
  font-family: var(--mono);
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 6px;
  border-radius: 999px;
}

/* 3-Target ICP Tabs */
.sim-icp-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 11, 20, 0.6);
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-icp-btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 6px 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #94A3B8;
  font-family: var(--sans);
  text-align: left;
}

.sim-icp-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #E2E8F0;
}

.sim-icp-btn.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.icp-label-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  line-height: 1.15;
}

.sim-icp-btn .icp-name {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-icp-btn .icp-sub {
  font-size: 8.5px;
  opacity: 0.65;
  font-family: var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-icp-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-icp-icon.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10B981;
}

.sim-icp-icon.icon-indigo {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #818CF8;
}

.sim-icp-icon.icon-purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #C084FC;
}

.sim-icp-btn.active .sim-icp-icon.icon-emerald {
  background: #059669;
  border-color: #047857;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.sim-icp-btn.active .sim-icp-icon.icon-indigo {
  background: #4F46E5;
  border-color: #4338CA;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.sim-icp-btn.active .sim-icp-icon.icon-purple {
  background: #9333EA;
  border-color: #7E22CE;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.4);
}

.sim-context-sub-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #111520;
  border: 1px solid #232A3B;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-family: var(--mono);
  color: #94A3B8;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-context-sub-badge strong {
  color: #F1F5F9;
  font-weight: 700;
}

.ctx-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  flex-shrink: 0;
}

/* ── Kinetic Laser Wire: 4 Pipeline Nodes ── */
.sim-kinetic-wire {
  padding: 8px 16px 6px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-wire-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  position: relative;
  margin: 6px 12px 14px 12px;
}

.sim-wire-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF6B6B 0%, #10B981 33%, #8B5CF6 66%, #06B6D4 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.sim-wire-photon {
  position: absolute;
  top: -5px;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 12px #38BDF8, 0 0 20px #818CF8;
  transform: translateX(-50%);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-nodes-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: -6px;
}

.sim-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 4px;
  border-radius: 10px;
  transition: all 0.2s ease;
  position: relative;
}

.sim-node:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sim-node-circle {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 01. RADAR */
.sim-node-circle.node-radar {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FBBF24;
}
.sim-node.active .sim-node-circle.node-radar {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  border-color: #F59E0B;
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.55);
  transform: translateY(-2px) scale(1.1);
}

/* 02. SHIELD */
.sim-node-circle.node-shield {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #60A5FA;
}
.sim-node.active .sim-node-circle.node-shield {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  border-color: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.55);
  transform: translateY(-2px) scale(1.1);
}

/* 03. OUTBOX GATE */
.sim-node-circle.node-outbox {
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(147, 51, 234, 0.3);
  color: #C084FC;
}
.sim-node.active .sim-node-circle.node-outbox {
  background: linear-gradient(135deg, #A855F7, #9333EA);
  border-color: #A855F7;
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(147, 51, 234, 0.55);
  transform: translateY(-2px) scale(1.1);
}

/* 04. BOOKED */
.sim-node-circle.node-booked {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
}
.sim-node.active .sim-node-circle.node-booked {
  background: linear-gradient(135deg, #10B981, #059669);
  border-color: #10B981;
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px) scale(1.1);
}

.sim-node-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sim-node-num {
  font-size: 9px;
  font-weight: 800;
  font-family: var(--mono);
  color: #64748B;
  transition: color 0.2s;
}

.sim-node.active .sim-node-num {
  font-weight: 800;
}
.sim-node.active#sim-node-1 .sim-node-num,
body.is-logged-out .sim-node.active#sim-node-1 .sim-node-num {
  color: #D97706 !important;
}
.sim-node.active#sim-node-2 .sim-node-num,
body.is-logged-out .sim-node.active#sim-node-2 .sim-node-num {
  color: #2563EB !important;
}
.sim-node.active#sim-node-3 .sim-node-num,
body.is-logged-out .sim-node.active#sim-node-3 .sim-node-num {
  color: #9333EA !important;
}
.sim-node.active#sim-node-4 .sim-node-num,
body.is-logged-out .sim-node.active#sim-node-4 .sim-node-num {
  color: #059669 !important;
}

.sim-node-title {
  font-size: 10px;
  font-weight: 600;
  color: #94A3B8;
  white-space: nowrap;
}

.sim-node.active .sim-node-title {
  color: #F8FAFC;
  font-weight: 700;
}

/* ── Dynamic Morphing Stage Container ── */
.sim-screen-container {
  padding: 12px 16px;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(10, 14, 25, 0.5);
}

.sim-stage-view {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.sim-stage-view.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* View Topbar Pill */
.sim-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-view-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 750;
  font-family: var(--mono);
  padding: 3px 9px;
  border-radius: 999px;
}

.sim-view-badge.coral {
  background: rgba(255, 107, 107, 0.15);
  color: #FFA1A1;
  border: 1px solid rgba(255, 107, 107, 0.35);
}

.sim-view-badge.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.sim-view-badge.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #D8B4FE;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.sim-view-badge.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.live-blink {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: liveBlink 1.2s infinite ease-in-out;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.sim-view-meta, .sim-view-score {
  font-size: 10.5px;
  font-family: var(--mono);
  color: #94A3B8;
}
.sim-view-score {
  color: #10B981;
  font-weight: 700;
}

/* STAGE 1: Target Profile Card */
.sim-target-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
}

.target-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF6B6B, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.target-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.target-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.target-name {
  font-size: 13.5px;
  font-weight: 750;
  color: #FFFFFF;
}

.target-role-badge {
  font-size: 10px;
  font-weight: 650;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 7px;
  border-radius: 4px;
}

.target-company {
  font-size: 11.5px;
  color: #94A3B8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Signal Box & Monospace Citation Tooltip */
.sim-signal-box {
  background: rgba(255, 107, 107, 0.05);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.signal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signal-title {
  font-size: 11.5px;
  font-weight: 750;
  color: #FFA1A1;
  margin-right: auto;
  margin-left: 6px;
}

.signal-citation-wrapper {
  position: relative;
  display: inline-block;
}

.signal-citation-pill {
  font-size: 9.5px;
  font-family: var(--mono);
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.signal-citation-pill:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38BDF8;
}

.citation-tooltip {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  width: 260px;
  background: rgba(11, 15, 28, 0.98);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 16px rgba(56, 189, 248, 0.2);
  z-index: 100;
  backdrop-filter: blur(20px);
}

.signal-citation-wrapper:hover .citation-tooltip,
.signal-citation-wrapper:focus-within .citation-tooltip,
.signal-citation-wrapper.active .citation-tooltip {
  display: block;
}

.tooltip-title {
  font-size: 10px;
  font-weight: 750;
  font-family: var(--mono);
  color: #38BDF8;
  margin-bottom: 4px;
}

.tooltip-body {
  font-size: 10px;
  line-height: 1.45;
  color: #CBD5E1;
  font-family: var(--mono);
}

.signal-text {
  font-size: 12px;
  line-height: 1.5;
  color: #E2E8F0;
}

.sim-telemetry-feed {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telemetry-line {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tel-time { color: #64748B; }
.tel-cmd { color: #818CF8; }
.tel-res { color: #34D399; font-weight: 600; }
.tel-tag { color: #F59E0B; }
.tel-val { color: #94A3B8; }

/* STAGE 2: Deliverability Shield Matrix */
.shield-inspect-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shield-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.shield-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.shield-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.shield-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.shield-item-text strong {
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.shield-item-text span {
  font-size: 10.5px;
  color: #94A3B8;
  font-family: var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shield-status-pill {
  font-size: 9px;
  font-weight: 800;
  font-family: var(--mono);
  padding: 2px 7px;
  border-radius: 5px;
}

.shield-status-pill.green {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.shield-status-pill.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.shield-guarantee-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  color: #A7F3D0;
  font-weight: 600;
}

/* STAGE 3: 1-to-1 Bespoke AI Writer */
.sim-email-envelope {
  background: rgba(14, 18, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-meta-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 8px;
}

.email-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}

.em-label {
  color: #64748B;
  font-family: var(--mono);
  font-weight: 600;
  width: 28px;
}

.em-val {
  color: #CBD5E1;
  font-family: var(--mono);
  font-size: 11px;
}

.em-bold {
  color: #FFFFFF;
  font-weight: 700;
  font-family: var(--sans);
  font-size: 12px;
}

.email-body-content {
  font-size: 12px;
  line-height: 1.6;
  color: #E2E8F0;
  min-height: 90px;
}

.sim-signal-highlight {
  background: rgba(139, 92, 246, 0.25);
  color: #EDE9FE;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid rgba(139, 92, 246, 0.5);
  font-weight: 600;
}

.sim-typing-cursor {
  display: inline-block;
  color: #8B5CF6;
  font-weight: 700;
  margin-left: 2px;
  animation: simBlinkCursor 0.5s infinite;
}

@keyframes simBlinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Outbox Safety Gate Action Bar */
.outbox-safety-action-bar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 2px;
}

.outbox-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outbox-reject {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #FCA5A5;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--sans);
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-outbox-reject:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-outbox-rehook {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #DDD6FE;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--sans);
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-outbox-rehook:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-1px);
}

.btn-outbox-rehook.active-rehook {
  background: rgba(139, 92, 246, 0.35);
  border-color: #A78BFA;
  color: #FFFFFF;
}

/* Reoon Deliverability Fill Meter */
.shield-meter-container {
  margin-top: 6px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 8px;
  padding: 6px 10px;
}

.shield-meter-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-family: var(--mono);
  font-weight: 700;
  color: #6EE7B7;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.shield-meter-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.shield-meter-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #10B981, #34D399);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outbox-approve {
  flex: 1;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 750;
  font-family: var(--sans);
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-outbox-approve:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
}

.btn-outbox-approve.approved {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: #34D399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
}

.outbox-timezone-stamp {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 11, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 9.5px;
  font-family: var(--mono);
  color: #94A3B8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tz-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  animation: tzPulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes tzPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

/* STAGE 4: Automated Calendar Drop */
.sim-reply-bubble {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reply-author {
  font-size: 11px;
  font-weight: 750;
  color: #FCD34D;
}

.reply-time {
  font-size: 9.5px;
  font-family: var(--mono);
  color: #78716C;
}

.reply-text {
  font-size: 11.5px;
  line-height: 1.45;
  color: #E2E8F0;
  font-style: italic;
}

.reply-sentiment-badge {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 750;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.sim-cal-ticket {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
}

.cal-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 10px;
  padding: 6px 10px;
  min-width: 44px;
}

.cal-day {
  font-size: 9px;
  font-weight: 800;
  font-family: var(--mono);
  color: #6EE7B7;
}

.cal-date {
  font-size: 18px;
  font-weight: 850;
  color: #FFFFFF;
  line-height: 1.1;
}

.cal-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cal-title {
  font-size: 12.5px;
  font-weight: 750;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-attendees {
  font-size: 11px;
  color: #CBD5E1;
}

.cal-time-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.cal-time-pill {
  font-size: 9.5px;
  font-family: var(--mono);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 1px 6px;
  border-radius: 4px;
}

.cal-link-pill {
  font-size: 9.5px;
  color: #38BDF8;
  font-weight: 600;
}

.cal-status-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
}

.sim-sync-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-family: var(--mono);
  color: #94A3B8;
  padding: 0 4px;
}

/* ── Interactive Controls (Bottom Bar) ── */
.sim-control-bar {
  padding: 10px 18px;
  background: rgba(8, 11, 22, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sim-ctrl-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-btn-playpause {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #F8FAFC;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--sans);
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.sim-btn-playpause:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.sim-step-pills {
  display: flex;
  align-items: center;
  gap: 4px;
}

.step-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-size: 10px;
  font-weight: 650;
  font-family: var(--mono);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.step-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
}

.step-pill.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  font-weight: 750;
}

.sim-ctrl-right {
  display: flex;
  align-items: center;
}

.sim-btn-cycle {
  background: #161B26;
  color: #E2E8F0;
  border: 1px solid #2E384D;
  font-size: 11px;
  font-weight: 650;
  font-family: var(--sans);
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sim-btn-cycle:hover {
  background: #1F2637;
  border-color: #38BDF8;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.sim-timer-bar {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
}

.sim-timer-progress {
  height: 100%;
  width: 0%;
  background: #38BDF8;
  transition: width 0.1s linear;
}

/* ══════════════════════════════════════════════════════════════
   APOLLO-FORMULA HERO COPY & CATEGORY POSITIONING
   ══════════════════════════════════════════════════════════════ */
.hero-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #11141D;
  border: 1px solid #262D3D;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
}

.hero-gradient-sub {
  display: block;
  font-size: 34px;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  background: none;
  font-weight: 850;
  margin-top: 4px;
  letter-spacing: -0.025em;
}

/* ══════════════════════════════════════════════════════════════
   CLAY-STYLE LIVE PIPELINE STREAM TABLE (DATA COCKPIT)
   ══════════════════════════════════════════════════════════════ */
.live-pipeline-section {
  margin: 32px 0 20px;
  background: rgba(13, 16, 23, 0.88);
  border: 1px solid #232A3B;
  border-radius: 14px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.live-pipeline-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.lph-left {
  max-width: 650px;
}

.lph-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--mono);
  color: #34D399;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-green 1.5s infinite;
}

.lph-title {
  font-size: 19px;
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: -0.02em;
  margin: 0 0 5px;
}

.lph-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

.lph-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.lph-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fps-pill {
  font-size: 10.5px;
  font-family: var(--mono);
  font-weight: 600;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 8px;
  border-radius: 6px;
}

.signals-armed-pill {
  font-size: 10.5px;
  font-family: var(--mono);
  font-weight: 600;
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.28);
  padding: 3px 8px;
  border-radius: 6px;
}

.lph-hint {
  font-size: 11.5px;
  color: #A78BFA;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Mobile Scroll Hint Bar */
.table-mobile-hint {
  display: none;
  background: rgba(139, 92, 246, 0.1);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding: 5px 16px;
  font-size: 11px;
  color: #C4B5FD;
  text-align: center;
  font-weight: 500;
}

/* Responsive Table Wrapper with Smooth Touch Scrolling */
.live-pipeline-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.live-pipeline-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}

.live-pipeline-table thead th {
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: #64748B;
  background: rgba(15, 23, 42, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.live-pipeline-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
  cursor: pointer;
}

.live-pipeline-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.07);
}

.live-pipeline-table tbody tr.active-row {
  background: rgba(139, 92, 246, 0.12);
  border-left: 3px solid #8B5CF6;
}

.live-pipeline-table td {
  padding: 14px 18px;
  vertical-align: middle;
}

/* Company Cell */
.co-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.grad-ramp { background: linear-gradient(135deg, #FF6B6B, #8B5CF6); }
.grad-brex { background: linear-gradient(135deg, #00E599, #059669); }
.grad-fintech { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.grad-retool { background: linear-gradient(135deg, #8B5CF6, #6366F1); }
.grad-supabase { background: linear-gradient(135deg, #10B981, #047857); }

.co-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.co-name {
  font-weight: 700;
  color: #F1F5F9;
  font-size: 13.5px;
}

.co-sub {
  font-size: 11px;
  color: #64748B;
  font-family: var(--mono);
}

/* Signal Tag */
.signal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.signal-tag.coral {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.28);
  color: #FFA1A1;
}

.signal-tag.emerald {
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.28);
  color: #6EE7B7;
}

.signal-tag.blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #93C5FD;
}

.signal-tag.purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.28);
  color: #D8B4FE;
}

.signal-tag.amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #FCD34D;
}

/* Decision Maker Cell */
.dm-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dm-name {
  font-weight: 700;
  color: #F8FAFC;
  font-size: 13px;
}

.dm-title {
  font-size: 11px;
  color: #94A3B8;
}

/* Deliverability SLA Badge */
.sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.sla-badge.green {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
}

.sla-badge.amber {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #FBBF24;
}

.sla-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.sla-dot.amber {
  background: #F59E0B;
  box-shadow: 0 0 6px #F59E0B;
}

.sla-mx {
  font-size: 9.5px;
  opacity: 0.75;
  margin-left: 2px;
}

/* Pipeline Status Pill */
.pipeline-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.pipeline-status-pill.booked {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #A7F3D0;
}

.pipeline-status-pill.drafting {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #E9D5FF;
}

.pipeline-status-pill.outbox {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #BAE6FD;
}

/* Table Inspect Button */
.btn-table-inspect {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-table-inspect:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.45);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Mobile Responsiveness for Live Table */
@media (max-width: 860px) {
  .live-pipeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .lph-right {
    align-items: flex-start;
  }
  .table-mobile-hint {
    display: block;
  }
}

/* ══════════════════════════════════════════════════════════════
   WEEKDAY-STYLE WARM EDITORIAL DESIGN SYSTEM & AI CHARACTERS
   ══════════════════════════════════════════════════════════════ */

/* Hero Fraunces Editorial Serif */
.editorial-serif-title {
  font-family: 'Fraunces', serif !important;
  font-size: 52px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  color: #FFFFFF !important;
}

.hero-serif-amber {
  color: #F59E0B !important;
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-weight: 600 !important;
  display: inline-block;
}

/* Tactile 3D Hero Floating Icons */
.hero-content {
  position: relative;
}

.tactile-hero-float {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  animation: floatBob 4s ease-in-out infinite alternate;
  z-index: 5;
}

.tactile-hero-float.left {
  top: -24px;
  right: -32px;
  transform: rotate(-12deg);
}

.tactile-hero-float.right {
  bottom: 80px;
  right: -40px;
  animation-delay: -2s;
  transform: rotate(8deg);
}

@keyframes floatBob {
  0% { transform: translateY(0px) rotate(-6deg); }
  100% { transform: translateY(-10px) rotate(4deg); }
}

@media (max-width: 1024px) {
  .tactile-hero-float {
    display: none;
  }
}

/* Weekday-Style Editorial 2-Offer Section */
.weekday-editorial-section {
  margin: 48px auto 24px;
  padding: 44px 36px;
  background: radial-gradient(circle at 50% 0%, #151926 0%, #0C0F17 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.weekday-header {
  margin-bottom: 32px;
}

.weekday-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FBBF24;
  margin-bottom: 12px;
}

.pulse-dot-amber {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
  animation: pulseDot 2s infinite;
}

.weekday-title {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 14px 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.weekday-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.weekday-opt-item {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
}

.weekday-opt-item strong {
  color: #F1F5F9;
}

/* 2-Column Cards Grid */
.weekday-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.weekday-card {
  background: rgba(18, 22, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.weekday-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
}

.weekday-card-visual {
  background: rgba(10, 13, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 22px;
  position: relative;
}

/* Card 1: SDR Persona Visual */
.sdr-persona-badge-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.sdr-node-icon-box {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #18181B;
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.sdr-node-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.6));
}

.sdr-avatar-ring {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #F59E0B 0%, #10B981 100%);
  flex-shrink: 0;
}

.sdr-avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #18181B;
}

.sdr-live-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0C0F17;
  box-shadow: 0 0 8px #10B981;
}

.sdr-persona-info {
  flex: 1;
}

.sdr-persona-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.sdr-persona-name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 3px 0;
}

.sdr-persona-role {
  font-size: 11px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.4;
}

.weekday-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.w-metric-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.w-metric-pill .w-icon {
  font-size: 14px;
}

.w-metric-pill strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Card 2: Multi-Channel Dock Visual */
.w-channels-dock-box {
  background: #090C13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  position: relative;
}

.w-dock-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dock-dot.red { background: #EF4444; }
.dock-dot.yellow { background: #F59E0B; }
.dock-dot.green { background: #10B981; }

.dock-title {
  font-size: 11px;
  font-family: var(--mono);
  color: #64748B;
  margin-left: 6px;
}

.dock-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.dock-acc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
}

.acc-badge {
  font-weight: 700;
  color: #FFFFFF;
}

.acc-sig {
  color: #94A3B8;
  font-size: 10px;
}

.acc-status {
  color: #10B981;
  font-weight: 600;
  font-size: 10px;
}

.dock-action-strip {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dock-channels-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.chan-pill {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #CBD5E1;
  font-weight: 500;
}

.chan-pill-send {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 16px;
  background: #10B981;
  color: #042F2E;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dock-pointer-cursor {
  position: absolute;
  right: 12px;
  bottom: -10px;
  animation: clickMotion 2.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

@keyframes clickMotion {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4px, -4px) scale(0.92); }
}

.dock-floating-icons {
  position: absolute;
  right: 12px;
  top: -16px;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.w-float-img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.w-float-img.envelope {
  transform: rotate(-10deg);
}

.w-float-img.calendar {
  transform: rotate(8deg);
}

/* Card Content Details */
.weekday-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.w-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.w-chip.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.w-chip.blue {
  background: rgba(56, 189, 248, 0.15);
  color: #7DD3FC;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.w-chip-sub {
  font-size: 11px;
  color: #64748B;
}

.w-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.w-card-desc {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.w-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-w-primary {
  width: 100%;
  background: #FFFFFF;
  color: #0A0D14;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
  text-align: center;
}

.btn-w-primary:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-w-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-w-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.w-footer-note {
  font-size: 11px;
  color: #64748B;
  text-align: center;
}

/* Mobile Responsiveness for Weekday Section */
@media (max-width: 860px) {
  .weekday-options-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .weekday-cards-grid {
    grid-template-columns: 1fr;
  }
  .weekday-editorial-section {
    padding: 30px 20px;
  }
  .editorial-serif-title {
    font-size: 36px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   WEEKDAY-STYLE WARM EDITORIAL LIGHT THEME (PUBLIC LANDING VIEW)
   ══════════════════════════════════════════════════════════════ */
body.is-logged-out {
  background: #FAF8F5 !important;
  color: #18181B !important;
}

/* Header in Warm Editorial Light Mode */
body.is-logged-out header {
  background: rgba(250, 248, 245, 0.92) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(16px) !important;
}

body.is-logged-out .brand h1 {
  color: #18181B !important;
}

body.is-logged-out .brand-highlight {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.is-logged-out .tagline {
  color: #64748B !important;
}

body.is-logged-out .radar-orb {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

body.is-logged-out #header-status-badge {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}

body.is-logged-out #header-status-text {
  color: #047857 !important;
}

body.is-logged-out .btn-cta-audit {
  background: #18181B !important;
  color: #FFFFFF !important;
  border: 1px solid #18181B !important;
  box-shadow: 0 4px 12px rgba(24, 24, 27, 0.15) !important;
}
body.is-logged-out .btn-cta-audit:hover {
  background: #27272A !important;
  transform: translateY(-1px);
}

body.is-logged-out .btn-signin-header {
  background: #FFFFFF !important;
  color: #18181B !important;
  border: 1px solid #D1D5DB !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.is-logged-out .theme-btn, 
body.is-logged-out .refresh-btn,
body.is-logged-out .icon-btn {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #374151 !important;
}

/* Hero Section in Warm Light Mode */
body.is-logged-out .heyreach-unified-hero {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 40px 0 20px 0 !important;
}

body.is-logged-out .hero-category-badge {
  background: #F4EFEA !important;
  border: 1px solid #E6DED4 !important;
  color: #78350F !important;
}

body.is-logged-out .hero-main-title,
body.is-logged-out .editorial-serif-title {
  color: #18181B !important;
  font-family: 'Fraunces', serif !important;
}

body.is-logged-out .hero-serif-amber,
body.is-logged-out .hero-gradient-sub {
  color: #D97706 !important;
  -webkit-text-fill-color: #D97706 !important;
  background: none !important;
}

body.is-logged-out .hero-main-sub {
  color: #4B5563 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

body.is-logged-out .btn-hero-primary {
  background: #18181B !important;
  color: #FFFFFF !important;
  border: 1px solid #18181B !important;
  box-shadow: 0 4px 14px rgba(24, 24, 27, 0.2) !important;
}

body.is-logged-out .btn-hero-secondary {
  background: #FFFFFF !important;
  color: #18181B !important;
  border: 1px solid #D1D5DB !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.is-logged-out .hero-trust-bar {
  color: #4B5563 !important;
  border-top: 1px solid #EAE5DC !important;
}

body.is-logged-out .hero-trust-bar strong {
  color: #059669 !important;
}

/* Ecosystem strip in Warm Light Mode */
body.is-logged-out .hero-ecosystem-strip {
  border-top: 1px solid #EAE5DC !important;
}

body.is-logged-out .eco-label {
  color: #6B7280 !important;
}

body.is-logged-out .eco-pill {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #374151 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* God-Tier Simulator in Crisp White Card */
body.is-logged-out .interactive-live-simulator {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

body.is-logged-out .sim-header {
  background: #FAF8F5 !important;
  border-bottom: 1px solid #E5E7EB !important;
}

body.is-logged-out .sim-tag {
  color: #18181B !important;
  font-weight: 700 !important;
}

body.is-logged-out .sim-fps-badge {
  background: #F3F4F6 !important;
  color: #4B5563 !important;
  border: 1px solid #E5E7EB !important;
}

body.is-logged-out .sim-icp-tabs {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  padding: 4px !important;
  border-radius: 10px !important;
  gap: 4px !important;
}

body.is-logged-out .sim-icp-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #475569 !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
  transition: all 0.15s ease !important;
}

body.is-logged-out .sim-icp-btn:hover {
  background: rgba(255, 255, 255, 0.65) !important;
  color: #0F172A !important;
}

body.is-logged-out .sim-icp-btn .icp-name {
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

body.is-logged-out .sim-icp-btn .icp-sub {
  color: #64748B !important;
  font-size: 8.5px !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

body.is-logged-out .sim-icp-btn.active {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.05) !important;
}

body.is-logged-out .sim-icp-btn.active .icp-name {
  color: #0F172A !important;
  font-weight: 800 !important;
}

body.is-logged-out .sim-icp-btn[data-icp="agency"].active .icp-sub {
  color: #059669 !important;
  font-weight: 700 !important;
}

body.is-logged-out .sim-icp-btn[data-icp="saas"].active .icp-sub {
  color: #4F46E5 !important;
  font-weight: 700 !important;
}

body.is-logged-out .sim-icp-btn[data-icp="devstudio"].active .icp-sub {
  color: #9333EA !important;
  font-weight: 700 !important;
}

body.is-logged-out .sim-icp-btn.active .sim-icp-icon.icon-emerald {
  background: rgba(5, 150, 105, 0.12) !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
  color: #059669 !important;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.2) !important;
}

body.is-logged-out .sim-icp-btn.active .sim-icp-icon.icon-indigo {
  background: rgba(79, 70, 229, 0.12) !important;
  border-color: rgba(79, 70, 229, 0.3) !important;
  color: #4F46E5 !important;
  box-shadow: 0 1px 4px rgba(79, 70, 229, 0.2) !important;
}

body.is-logged-out .sim-icp-btn.active .sim-icp-icon.icon-purple {
  background: rgba(147, 51, 234, 0.12) !important;
  border-color: rgba(147, 51, 234, 0.3) !important;
  color: #9333EA !important;
  box-shadow: 0 1px 4px rgba(147, 51, 234, 0.2) !important;
}

body.is-logged-out .sim-context-banner {
  background: #F8FAFC !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

body.is-logged-out .sim-context-sub-badge {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #334155 !important;
}

body.is-logged-out .sim-timeline-stepper {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E5E7EB !important;
}

body.is-logged-out .sim-step-node {
  color: #6B7280 !important;
}

body.is-logged-out .sim-step-node.active {
  color: #18181B !important;
}

body.is-logged-out .sim-step-icon-circle {
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  color: #4B5563 !important;
}

body.is-logged-out .sim-step-node.active .sim-step-icon-circle {
  background: #18181B !important;
  border-color: #18181B !important;
  color: #FFFFFF !important;
}

body.is-logged-out .sim-stage-pane {
  background: #FFFFFF !important;
}

body.is-logged-out .sim-prospect-card {
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
}

body.is-logged-out .sim-prospect-card h4 {
  color: #111827 !important;
}

body.is-logged-out .sim-prospect-role {
  color: #4B5563 !important;
}

body.is-logged-out .sim-prospect-co {
  color: #6B7280 !important;
}

body.is-logged-out .sim-signal-hero-card {
  background: #FFFBEB !important;
  border: 1px solid #FDE68A !important;
}

body.is-logged-out .sim-signal-head h5 {
  color: #92400E !important;
}

body.is-logged-out .sim-signal-text {
  color: #78350F !important;
}

body.is-logged-out .sim-terminal-strip {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

body.is-logged-out .sim-terminal-strip .t-cmd {
  color: #2563EB !important;
}

body.is-logged-out .sim-terminal-strip .t-res {
  color: #059669 !important;
}

body.is-logged-out .sim-terminal-strip .t-score {
  color: #475569 !important;
}

body.is-logged-out .sim-footer-controls {
  background: #FAF8F5 !important;
  border-top: 1px solid #E5E7EB !important;
}

body.is-logged-out .sim-btn-cycle {
  background: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  color: #18181B !important;
}

/* Weekday Section in Warm Light Mode */
body.is-logged-out .weekday-editorial-section {
  background: #F5EFE6 !important;
  border: 1px solid #E5D9C8 !important;
  box-shadow: 0 16px 40px -10px rgba(120, 53, 15, 0.05) !important;
}

body.is-logged-out .weekday-badge {
  background: #FEF3C7 !important;
  border: 1px solid #FDE68A !important;
  color: #92400E !important;
}

body.is-logged-out .weekday-title {
  color: #18181B !important;
}

body.is-logged-out .weekday-options-row {
  border-top-color: #E2D5C3 !important;
}

body.is-logged-out .weekday-opt-item {
  color: #57534E !important;
}

body.is-logged-out .weekday-opt-item strong {
  color: #1C1917 !important;
}

body.is-logged-out .weekday-card {
  background: #FFFFFF !important;
  border: 1px solid #E7E0D6 !important;
  box-shadow: 0 10px 30px -5px rgba(28, 25, 23, 0.05) !important;
}

body.is-logged-out .weekday-card:hover {
  border-color: #D6CBBF !important;
  box-shadow: 0 16px 40px -8px rgba(28, 25, 23, 0.09) !important;
}

body.is-logged-out .weekday-card-visual {
  background: #FAF8F5 !important;
  border: 1px solid #EDE5D8 !important;
}

body.is-logged-out .sdr-node-icon-box {
  background: #FFFFFF !important;
  border: 1px solid #E2D5C3 !important;
  box-shadow: 0 4px 16px rgba(120, 53, 15, 0.08) !important;
}

body.is-logged-out .sdr-persona-name {
  color: #18181B !important;
}

body.is-logged-out .sdr-persona-role {
  color: #57534E !important;
}

body.is-logged-out .w-metric-pill {
  background: #FFFFFF !important;
  border: 1px solid #E5DEC9 !important;
  color: #44403C !important;
}

body.is-logged-out .w-metric-pill strong {
  color: #1C1917 !important;
}

body.is-logged-out .w-card-title {
  color: #18181B !important;
}

body.is-logged-out .w-card-desc {
  color: #57534E !important;
}

.pillar-bullet-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #CBD5E1;
  line-height: 1.5;
}

.pillar-bullet-item strong {
  color: #F8FAFC;
}

body.is-logged-out .pillar-bullet-item {
  color: #475569 !important;
}

body.is-logged-out .pillar-bullet-item strong {
  color: #0F172A !important;
}

body.is-logged-out .btn-w-primary {
  background: #18181B !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(24, 24, 27, 0.2) !important;
}

body.is-logged-out .btn-w-secondary {
  background: #FFFFFF !important;
  color: #18181B !important;
  border: 1px solid #D6CBBF !important;
}

body.is-logged-out .w-channels-dock-box {
  background: #FFFFFF !important;
  border: 1px solid #E2D5C3 !important;
}

body.is-logged-out .dock-acc-row {
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
}

body.is-logged-out .acc-badge {
  color: #18181B !important;
}

body.is-logged-out .acc-sig {
  color: #6B7280 !important;
}

body.is-logged-out .dock-action-strip {
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
}

body.is-logged-out .chan-pill {
  background: #FFFFFF !important;
  color: #374151 !important;
  border: 1px solid #E5E7EB !important;
}

/* Live Pipeline Table in Warm Light Mode */
body.is-logged-out .live-pipeline-section {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05) !important;
}

body.is-logged-out .live-pipeline-header {
  border-bottom: 1px solid #E5E7EB !important;
}

body.is-logged-out .lph-badge {
  background: #FEF3C7 !important;
  border: 1px solid #FDE68A !important;
  color: #92400E !important;
}

body.is-logged-out .lph-title {
  color: #111827 !important;
}

body.is-logged-out .lph-desc {
  color: #4B5563 !important;
}

body.is-logged-out .stat-counter-pill {
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  color: #374151 !important;
}

body.is-logged-out .stat-counter-pill strong {
  color: #111827 !important;
}

body.is-logged-out .live-pipeline-table th {
  background: #F9FAFB !important;
  color: #6B7280 !important;
  border-bottom: 1px solid #E5E7EB !important;
}

body.is-logged-out .live-pipeline-table td {
  border-bottom: 1px solid #F3F4F6 !important;
  color: #111827 !important;
}

body.is-logged-out .pipeline-row:hover td {
  background: #F8FAFC !important;
}

body.is-logged-out .co-name {
  color: #111827 !important;
}

body.is-logged-out .co-sub {
  color: #6B7280 !important;
}

body.is-logged-out .dm-name {
  color: #111827 !important;
}

body.is-logged-out .dm-title {
  color: #6B7280 !important;
}

body.is-logged-out .btn-table-inspect {
  background: #F3F4F6 !important;
  border: 1px solid #D1D5DB !important;
  color: #1F2937 !important;
}

body.is-logged-out .btn-table-inspect:hover {
  background: #18181B !important;
  color: #FFFFFF !important;
  border-color: #18181B !important;
}

/* ══════════════════════════════════════════════════════════════
   HIGH-VIBRANCY DEEP INK BADGES (RAZOR-SHARP CONTRAST ON LIGHT)
   ══════════════════════════════════════════════════════════════ */
body.is-logged-out .signal-tag {
  font-weight: 750 !important;
  letter-spacing: -0.01em !important;
}

body.is-logged-out .signal-tag.coral {
  background: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  color: #B91C1C !important; /* Deep Vibrant Crimson */
}

body.is-logged-out .signal-tag.emerald {
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: #047857 !important; /* Deep Vibrant Emerald */
}

body.is-logged-out .signal-tag.blue {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1D4ED8 !important; /* Deep Vibrant Cobalt */
}

body.is-logged-out .signal-tag.purple {
  background: #F5F3FF !important;
  border: 1px solid #DDD6FE !important;
  color: #6D28D9 !important; /* Deep Vibrant Purple */
}

body.is-logged-out .signal-tag.amber {
  background: #FFFBEB !important;
  border: 1px solid #FDE68A !important;
  color: #B45309 !important; /* Deep Vibrant Amber */
}

/* Deliverability SLA Badges */
body.is-logged-out .sla-badge {
  font-weight: 750 !important;
}

body.is-logged-out .sla-badge.green {
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: #065F46 !important;
}

body.is-logged-out .sla-badge.green .sla-mx {
  color: #047857 !important;
  font-weight: 600 !important;
  opacity: 0.9 !important;
}

body.is-logged-out .sla-badge.amber {
  background: #FFFBEB !important;
  border: 1px solid #FDE68A !important;
  color: #92400E !important;
}

body.is-logged-out .sla-badge.amber .sla-mx {
  color: #B45309 !important;
  font-weight: 600 !important;
  opacity: 0.9 !important;
}

/* Pipeline Status Pills */
body.is-logged-out .pipeline-status-pill {
  font-weight: 750 !important;
}

body.is-logged-out .pipeline-status-pill.booked {
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: #065F46 !important;
}

body.is-logged-out .pipeline-status-pill.drafting {
  background: #F5F3FF !important;
  border: 1px solid #DDD6FE !important;
  color: #6D28D9 !important;
}

body.is-logged-out .pipeline-status-pill.outbox {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1D4ED8 !important;
}

/* Header Live Stream Pills */
body.is-logged-out .fps-pill {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1E40AF !important;
  font-weight: 750 !important;
}

body.is-logged-out .signals-armed-pill {
  background: #FEF3C7 !important;
  border: 1px solid #FDE68A !important;
  color: #92400E !important;
  font-weight: 750 !important;
}


/* 2-Step Outbound Audit Form Card in Warm Light Mode */
body.is-logged-out .audit-card-wrap {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.06) !important;
}

body.is-logged-out .audit-card-glow {
  display: none !important;
}

body.is-logged-out .audit-card-inner {
  background: #FFFFFF !important;
}

body.is-logged-out .audit-badge {
  background: #DCFCE7 !important;
  border: 1px solid #BBF7D0 !important;
  color: #166534 !important;
}

body.is-logged-out .audit-title {
  color: #111827 !important;
}

body.is-logged-out .audit-subtitle {
  color: #4B5563 !important;
}

body.is-logged-out .audit-step-pill {
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  color: #6B7280 !important;
}

body.is-logged-out .audit-step-pill.active {
  background: #18181B !important;
  border-color: #18181B !important;
  color: #FFFFFF !important;
}

body.is-logged-out .audit-field label {
  color: #374151 !important;
}

body.is-logged-out .audit-field input,
body.is-logged-out .audit-field select {
  background: #F9FAFB !important;
  border: 1px solid #D1D5DB !important;
  color: #111827 !important;
}

body.is-logged-out .audit-field input:focus,
body.is-logged-out .audit-field select:focus {
  background: #FFFFFF !important;
  border-color: #18181B !important;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08) !important;
}

body.is-logged-out .audit-btn-next,
body.is-logged-out .audit-btn-submit {
  background: #18181B !important;
  color: #FFFFFF !important;
  border: 1px solid #18181B !important;
  box-shadow: 0 4px 14px rgba(24, 24, 27, 0.2) !important;
}

body.is-logged-out .audit-btn-back {
  background: #F3F4F6 !important;
  border: 1px solid #D1D5DB !important;
  color: #374151 !important;
}

/* ══════════════════════════════════════════════════════════════
   BENTO COMMAND CENTER (WARM EDITORIAL LIGHT CARDS)
   ══════════════════════════════════════════════════════════════ */
body.is-logged-out .apple-bento-hero {
  margin: 28px 0 36px 0 !important;
}

body.is-logged-out .bento-card {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 4px 16px -2px rgba(24, 24, 27, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  backdrop-filter: none !important;
}

body.is-logged-out .bento-card::before,
body.is-logged-out .bento-card::after {
  display: none !important;
}

body.is-logged-out .bento-card:hover {
  transform: translateY(-2px) !important;
  border-color: #D1D5DB !important;
  box-shadow: 0 12px 28px -6px rgba(24, 24, 27, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.is-logged-out .bento-badge {
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  color: #374151 !important;
}

body.is-logged-out .bento-badge.green {
  background: #DCFCE7 !important;
  border-color: #BBF7D0 !important;
  color: #166534 !important;
}

body.is-logged-out .bento-badge.blue {
  background: #EFF6FF !important;
  border-color: #BFDBFE !important;
  color: #1E40AF !important;
}

body.is-logged-out .bento-badge.cyan {
  background: #ECFEFF !important;
  border-color: #A5F3FC !important;
  color: #0E7490 !important;
}

body.is-logged-out .bento-badge.purple {
  background: #F5F3FF !important;
  border-color: #DDD6FE !important;
  color: #6D28D9 !important;
}

body.is-logged-out .bento-arrow {
  color: #9CA3AF !important;
}

body.is-logged-out .bento-card:hover .bento-arrow {
  color: #18181B !important;
}

body.is-logged-out .bento-num {
  color: #18181B !important;
  font-family: 'Fraunces', serif !important;
  font-weight: 700 !important;
}

body.is-logged-out .bento-unit {
  color: #D97706 !important;
  font-weight: 700 !important;
}

body.is-logged-out .bento-label {
  color: #18181B !important;
  font-weight: 700 !important;
}

body.is-logged-out .bento-sub {
  color: #6B7280 !important;
}

/* ══════════════════════════════════════════════════════════════
   SIMULATOR INTERNAL INTERACTIVE STAGES (LIGHT EDITORIAL THEME)
   ══════════════════════════════════════════════════════════════ */
body.is-logged-out .sim-kinetic-wire {
  background: #FAF8F5 !important;
  border-bottom: 1px solid #E5E7EB !important;
}

body.is-logged-out .sim-wire-track {
  background: #E5E7EB !important;
}

body.is-logged-out .sim-wire-fill {
  background: linear-gradient(90deg, #10B981, #059669) !important;
}

body.is-logged-out .sim-node {
  color: #6B7280 !important;
}

body.is-logged-out .sim-node.active {
  color: #18181B !important;
}

body.is-logged-out .sim-node-circle.node-radar {
  background: #FFFBEB !important;
  border: 1px solid #FDE68A !important;
  color: #D97706 !important;
}
body.is-logged-out .sim-node.active .sim-node-circle.node-radar {
  background: linear-gradient(135deg, #F59E0B, #D97706) !important;
  border-color: #B45309 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
}

body.is-logged-out .sim-node-circle.node-shield {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #2563EB !important;
}
body.is-logged-out .sim-node.active .sim-node-circle.node-shield {
  background: linear-gradient(135deg, #3B82F6, #2563EB) !important;
  border-color: #1D4ED8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

body.is-logged-out .sim-node-circle.node-outbox {
  background: #FAF5FF !important;
  border: 1px solid #E9D5FF !important;
  color: #9333EA !important;
}
body.is-logged-out .sim-node.active .sim-node-circle.node-outbox {
  background: linear-gradient(135deg, #A855F7, #9333EA) !important;
  border-color: #7E22CE !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.35) !important;
}

body.is-logged-out .sim-node-circle.node-booked {
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: #059669 !important;
}
body.is-logged-out .sim-node.active .sim-node-circle.node-booked {
  background: linear-gradient(135deg, #10B981, #059669) !important;
  border-color: #047857 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

body.is-logged-out .sim-node-num {
  color: #9CA3AF !important;
}

body.is-logged-out .sim-node.active .sim-node-num {
  color: #D97706 !important;
  font-weight: 700 !important;
}

body.is-logged-out .sim-node-title {
  color: #4B5563 !important;
}

body.is-logged-out .sim-node.active .sim-node-title {
  color: #18181B !important;
  font-weight: 700 !important;
}

body.is-logged-out .sim-screen-container {
  background: #FFFFFF !important;
}

/* Stage Topbars */
body.is-logged-out .sim-card-topbar {
  border-bottom: 1px solid #F3F4F6 !important;
}

body.is-logged-out .sim-view-meta,
body.is-logged-out .sim-view-score {
  color: #6B7280 !important;
}

/* Stage 1: Radar Elements */
body.is-logged-out .sim-target-profile {
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
}

body.is-logged-out .target-name {
  color: #18181B !important;
}

body.is-logged-out .target-company {
  color: #6B7280 !important;
}

body.is-logged-out .target-role-badge {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #374151 !important;
}

body.is-logged-out .sim-signal-box {
  background: #FFFBEB !important;
  border: 1px solid #FDE68A !important;
}

body.is-logged-out .signal-title {
  color: #92400E !important;
}

body.is-logged-out .signal-text {
  color: #78350F !important;
}

body.is-logged-out .signal-citation-pill {
  background: #FFFFFF !important;
  border-color: #FCD34D !important;
  color: #B45309 !important;
}

body.is-logged-out .citation-tooltip {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

body.is-logged-out .tooltip-title {
  color: #1D4ED8 !important;
}

body.is-logged-out .tooltip-body {
  color: #475569 !important;
}

body.is-logged-out .sim-telemetry-feed {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}

body.is-logged-out .tel-time { color: #94A3B8 !important; }
body.is-logged-out .tel-cmd { color: #2563EB !important; }
body.is-logged-out .tel-res { color: #059669 !important; font-weight: 700 !important; }
body.is-logged-out .tel-tag { color: #D97706 !important; }
body.is-logged-out .tel-val { color: #334155 !important; }

/* Stage 2: Shield Elements */
body.is-logged-out .shield-row {
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
}

body.is-logged-out .shield-row:hover {
  background: #F3F4F6 !important;
  border-color: #D1D5DB !important;
}

body.is-logged-out .shield-item-text strong {
  color: #18181B !important;
}

body.is-logged-out .shield-item-text span {
  color: #6B7280 !important;
}

body.is-logged-out .shield-meter-container {
  background: #F0FDF4 !important;
  border: 1px solid #BBF7D0 !important;
}

body.is-logged-out .shield-meter-label-row {
  color: #166534 !important;
}

body.is-logged-out .shield-guarantee-bar {
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: #065F46 !important;
}

/* Stage 3: Outbox Gate Elements */
body.is-logged-out .sim-email-envelope {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

body.is-logged-out .email-meta-header {
  border-bottom: 1px solid #F3F4F6 !important;
}

body.is-logged-out .em-label {
  color: #6B7280 !important;
}

body.is-logged-out .em-val {
  color: #374151 !important;
}

body.is-logged-out .em-bold {
  color: #111827 !important;
}

body.is-logged-out .email-body-content {
  color: #374151 !important;
}

body.is-logged-out .sim-signal-highlight {
  background: #FEF3C7 !important;
  color: #92400E !important;
  padding: 1px 4px !important;
  border-radius: 4px !important;
}

body.is-logged-out .outbox-safety-action-bar {
  border-top: 1px solid #F3F4F6 !important;
}

body.is-logged-out .outbox-timezone-stamp {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #475569 !important;
}

body.is-logged-out .btn-outbox-reject {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  color: #DC2626 !important;
}

body.is-logged-out .btn-outbox-rehook {
  background: #F5F3FF !important;
  border-color: #DDD6FE !important;
  color: #7C3AED !important;
}

/* Stage 4: Booked Elements */
body.is-logged-out .sim-reply-bubble {
  background: #FFFBEB !important;
  border: 1px solid #FDE68A !important;
}

body.is-logged-out .reply-author {
  color: #92400E !important;
}

body.is-logged-out .reply-time {
  color: #A16207 !important;
}

body.is-logged-out .reply-text {
  color: #78350F !important;
}

body.is-logged-out .sim-cal-ticket {
  background: #F0FDF4 !important;
  border: 1px solid #BBF7D0 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08) !important;
}

body.is-logged-out .cal-left {
  background: #DCFCE7 !important;
  border-color: #86EFAC !important;
}

body.is-logged-out .cal-day {
  color: #166534 !important;
}

body.is-logged-out .cal-date {
  color: #14532D !important;
}

body.is-logged-out .cal-title {
  color: #111827 !important;
}

body.is-logged-out .cal-attendees {
  color: #4B5563 !important;
}

body.is-logged-out .cal-time-pill,
body.is-logged-out .cal-link-pill {
  background: #FFFFFF !important;
  border: 1px solid #BBF7D0 !important;
  color: #166534 !important;
}

body.is-logged-out .sim-sync-strip {
  border-top: 1px solid #E5E7EB !important;
  color: #4B5563 !important;
}

/* Simulator Footer Controls */
body.is-logged-out .sim-control-bar {
  background: #FAF8F5 !important;
  border-top: 1px solid #E5E7EB !important;
}

body.is-logged-out .sim-btn-playpause {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #4B5563 !important;
}

body.is-logged-out .step-pill {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #4B5563 !important;
}

body.is-logged-out .step-pill.active {
  background: #18181B !important;
  border-color: #18181B !important;
  color: #FFFFFF !important;
}

body.is-logged-out .step-pill:hover {
  background: #F3F4F6 !important;
  color: #18181B !important;
}

body.is-logged-out .sim-timer-bar {
  background: #E5E7EB !important;
}

/* ══════════════════════════════════════════════════════════════
   23 INTENT SIGNALS EXPLORER MODAL (WARM LIGHT EDITORIAL)
   ══════════════════════════════════════════════════════════════ */
#signals-explorer-modal.modal-overlay {
  background: rgba(24, 24, 27, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  z-index: 1000000 !important;
  padding: 20px;
}

.signals-modal-container {
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  background: #FAF8F5;
  border: 1px solid #E5D9C8;
  border-radius: 20px;
  box-shadow: 0 30px 80px -15px rgba(28, 25, 23, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.signals-modal-head {
  padding: 22px 28px 18px;
  background: #FAF8F5;
  border-bottom: 1px solid #EDE5D8;
  position: relative;
}

.signals-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.signals-modal-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.signals-modal-sub {
  font-size: 13.5px;
  color: #57534E;
  margin: 0;
  max-width: 780px;
  line-height: 1.5;
}

.btn-close-signals-modal {
  position: absolute;
  top: 22px;
  right: 24px;
  background: #FFFFFF;
  border: 1px solid #D6CBBF;
  color: #57534E;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-close-signals-modal:hover {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
}

/* Filter Strip & Search Bar */
.signals-filter-strip {
  padding: 12px 28px;
  background: #F5EFE6;
  border-bottom: 1px solid #EDE5D8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.signals-cat-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 2px;
}

.sig-cat-btn {
  background: #FFFFFF;
  border: 1px solid #E2D5C3;
  color: #57534E;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.sig-cat-btn:hover {
  background: #FAF8F5;
  color: #18181B;
  border-color: #D6CBBF;
}

.sig-cat-btn.active {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
  font-weight: 700;
}

.signals-search-input {
  background: #FFFFFF;
  border: 1px solid #D6CBBF;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: #18181B;
  outline: none;
  min-width: 220px;
  transition: all 0.2s ease;
}

.signals-search-input:focus {
  border-color: #18181B;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

/* Scrollable Cards Grid */
.signals-grid-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 16px;
  background: #FAF8F5;
}

@media (max-width: 600px) {
  .signals-grid-scroll {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .signals-filter-strip {
    padding: 12px 16px;
  }
  .signals-modal-head {
    padding: 18px 16px;
  }
}

/* Individual Signal Card */
.signal-directory-card {
  background: #FFFFFF;
  border: 1px solid #E7E0D6;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.signal-directory-card:hover {
  border-color: #D6CBBF;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.08);
  transform: translateY(-1px);
}

.sig-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sig-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sig-num-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #FDE68A;
}

.sig-name {
  font-size: 13.5px;
  font-weight: 750;
  color: #18181B;
  letter-spacing: -0.01em;
}

.sig-pill-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.sig-pill-status.fire {
  background: #FFF1F2;
  color: #BE123C;
  border: 1px solid #FECDD3;
}

.sig-pill-status.shield {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.sig-pill-status.router {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.sig-pill-status.tech {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

.sig-meta-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  line-height: 1.45;
}

.sig-detect-line {
  color: #78716C;
}

.sig-detect-line strong {
  color: #44403C;
}

.sig-intent-box {
  background: #FDFBF7;
  border: 1px solid #EDE5D8;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: #44403C;
  line-height: 1.4;
}

.sig-intent-box strong {
  color: #18181B;
}

.sig-action-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #047857;
  font-weight: 600;
  padding-top: 4px;
  border-top: 1px dashed #EDE5D8;
}

/* Modal Bottom Sticky CTA Bar */
.signals-modal-footer {
  padding: 16px 28px;
  background: #FFFFFF;
  border-top: 1px solid #EDE5D8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.signals-footer-text h5 {
  font-size: 13.5px;
  font-weight: 750;
  color: #18181B;
  margin: 0 0 2px 0;
}

.signals-footer-text p {
  font-size: 12px;
  color: #78716C;
  margin: 0;
}

.btn-signals-footer-cta {
  background: #18181B;
  color: #FFFFFF;
  border: 1px solid #18181B;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(24, 24, 27, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-signals-footer-cta:hover {
  background: #27272A;
  transform: translateY(-1px);
}









/* ══════════════════════════════════════════════════════════════
   WARM LIGHT EDITORIAL COCKPIT (AFTER LOGIN / JARVIS OS)
   Attio / Stripe / Linear Light Grade Unified Operating System
   ══════════════════════════════════════════════════════════════ */

body.is-logged-in {
  background-color: #FAF8F5 !important;
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(16, 185, 129, 0.07), transparent 70%),
    radial-gradient(circle at 92% 25%, rgba(245, 158, 11, 0.05), transparent 45%),
    linear-gradient(rgba(0, 0, 0, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.024) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px !important;
  color: #18181B !important;

  --bg: #FAF8F5;
  --panel: #FFFFFF;
  --panel-raised: #F8FAFC;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
  --rule: #10B981;
  --text: #18181B;
  --text-2: #52525B;
  --text-3: #71717A;

  --s-good: #047857;
  --s-good-bg: #ECFDF5;
  --s-good-line: #A7F3D0;
  --s-wait: #B45309;
  --s-wait-bg: #FFFBEB;
  --s-wait-line: #FDE68A;
  --s-bad: #B91C1C;
  --s-bad-bg: #FEF2F2;
  --s-bad-line: #FECACA;
  --s-active: #0369A1;
  --s-active-bg: #F0F9FF;
  --s-active-line: #BAE6FD;
  --s-note: #6D28D9;
  --s-note-bg: #F5F3FF;
  --s-note-line: #DDD6FE;

  color-scheme: light;
}

/* Header in Logged-In Warm Light Mode */
body.is-logged-in header {
  background: rgba(250, 248, 245, 0.94) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(16px) !important;
}
body.is-logged-in .brand h1 { color: #18181B !important; }
body.is-logged-in .brand-highlight {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
body.is-logged-in .tagline { color: #64748B !important; }
body.is-logged-in .radar-orb {
  border-color: rgba(16, 185, 129, 0.4) !important;
  background: rgba(16, 185, 129, 0.08) !important;
}
body.is-logged-in #header-status-badge {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
}
body.is-logged-in #header-status-text { color: #047857 !important; }
body.is-logged-in .btn-workspace-select {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #18181B !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
body.is-logged-in .btn-workspace-select:hover {
  background: #F8FAFC !important;
  border-color: #D1D5DB !important;
}
body.is-logged-in .ws-dropdown {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 14px 34px -6px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  border-radius: 14px !important;
}
body.is-logged-in .ws-item {
  color: #18181B !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
body.is-logged-in .ws-item:hover {
  background: #F8FAFC !important;
}
body.is-logged-in .ws-title {
  color: #18181B !important;
  font-weight: 700 !important;
}
body.is-logged-in .ws-sub {
  color: #64748B !important;
}
body.is-logged-in .btn-logout-header {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #71717A !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
body.is-logged-in .btn-logout-header:hover {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  color: #B91C1C !important;
}
body.is-logged-in .theme-btn,
body.is-logged-in .refresh-btn,
body.is-logged-in .icon-btn {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #475569 !important;
}

.mode-switcher-bar {
  display: none !important;
}

/* Apple Dock Navigation (Warm Light Pill Bar) */
body.is-logged-in .apple-dock-wrapper {
  background: transparent !important;
  padding: 8px 0 18px 0 !important;
}
body.is-logged-in .apple-dock {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 999px !important;
  padding: 5px 8px !important;
  box-shadow: 0 6px 24px -4px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  backdrop-filter: blur(14px) !important;
}
body.is-logged-in .apple-dock button {
  color: #64748B !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  padding: 7px 16px !important;
  font-size: 13px !important;
  transition: all 0.2s ease !important;
}
body.is-logged-in .apple-dock button:hover {
  color: #18181B !important;
  background: rgba(0, 0, 0, 0.04) !important;
}
body.is-logged-in .apple-dock button.active {
  background: #18181B !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
body.is-logged-in .apple-dock .nav-count {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border: 1px solid #A7F3D0 !important;
  font-weight: 750 !important;
  margin-left: 6px !important;
  padding: 1px 6px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
}
body.is-logged-in .apple-dock button.active .nav-count {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}
body.is-logged-in .apple-dock #nav-outbox.on {
  background: #FEF2F2 !important;
  color: #B91C1C !important;
  border: 1px solid #FECACA !important;
}
body.is-logged-in .apple-dock button.active #nav-outbox.on {
  background: #B91C1C !important;
  color: #FFFFFF !important;
  border-color: #B91C1C !important;
}

/* Mission Control Workspace Hero Banner */
body.is-logged-in .workspace-command-hero {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 20px !important;
  padding: 24px 28px !important;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  margin-bottom: 24px !important;
}
body.is-logged-in .wch-pill {
  background: #ECFDF5 !important;
  border: 1px solid #A7F3D0 !important;
  color: #047857 !important;
  font-weight: 750 !important;
  font-size: 11px !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  margin-bottom: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
body.is-logged-in .wch-pill .pulse-dot.green {
  background: #059669 !important;
  box-shadow: 0 0 0 rgba(5, 150, 105, 0.4) !important;
}
body.is-logged-in .wch-title {
  font-family: 'Fraunces', Georgia, serif !important;
  color: #18181B !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 6px !important;
}
body.is-logged-in .wch-sub {
  color: #64748B !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  max-width: 70ch !important;
}
body.is-logged-in .btn-wch-action {
  background: #047857 !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.25) !important;
  transition: all 0.2s ease !important;
}
body.is-logged-in .btn-wch-action:hover {
  background: #065F46 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(4, 120, 87, 0.35) !important;
}
body.is-logged-in .btn-wch-secondary {
  background: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  color: #18181B !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 10px 18px !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
}
body.is-logged-in .btn-wch-secondary:hover {
  background: #F8FAFC !important;
  border-color: #9CA3AF !important;
  transform: translateY(-1px) !important;
}

/* Action Queue & Telemetry Section */
body.is-logged-in .today-section-head h2,
body.is-logged-in .section-head h2 {
  font-family: 'Fraunces', Georgia, serif !important;
  color: #18181B !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 4px !important;
}
body.is-logged-in .today-section-head p,
body.is-logged-in .section-head p {
  color: #64748B !important;
  font-size: 13.5px !important;
}

/* Action Queue Alert Card */
body.is-logged-in .queue-item-card {
  background: #FFFFFF !important;
  border: 1px solid #FECACA !important;
  border-left: 4px solid #EF4444 !important;
  box-shadow: 0 8px 24px -6px rgba(239, 68, 68, 0.08) !important;
  border-radius: 16px !important;
  padding: 16px 22px !important;
}
body.is-logged-in .qi-title {
  color: #18181B !important;
  font-weight: 750 !important;
  font-size: 14.5px !important;
}
body.is-logged-in .qi-detail {
  color: #64748B !important;
  font-size: 12.5px !important;
}
body.is-logged-in .btn-qi-action {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  font-weight: 750 !important;
  font-size: 12.5px !important;
  padding: 9px 18px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25) !important;
  border: none !important;
  transition: all 0.2s ease !important;
}
body.is-logged-in .btn-qi-action:hover {
  background: #B91C1C !important;
  transform: scale(1.02) !important;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35) !important;
}

/* Clear Action Queue State */
body.is-logged-in .queue-clear-card {
  background: #FFFFFF !important;
  border: 1px solid #A7F3D0 !important;
  border-left: 4px solid #047857 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.06) !important;
}
body.is-logged-in .qc-title { color: #18181B !important; }
body.is-logged-in .qc-sub { color: #64748B !important; }
body.is-logged-in .qc-badge {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border: 1px solid #A7F3D0 !important;
}

/* Developer-Grade Telemetry Console Card (Framed Slate on Warm Ivory) */
body.is-logged-in .telemetry-terminal-card {
  background: #0F172A !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}
body.is-logged-in .telemetry-terminal-header {
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.is-logged-in .terminal-title {
  color: #94A3B8 !important;
  font-size: 11px !important;
}
body.is-logged-in .terminal-status {
  color: #34D399 !important;
  font-size: 10px !important;
}
body.is-logged-in .telemetry-log-row {
  color: #E2E8F0 !important;
}
body.is-logged-in .t-time {
  color: #64748B !important;
}
body.is-logged-in .t-code {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #38BDF8 !important;
}
body.is-logged-in .telemetry-footer-bar {
  background: rgba(0, 0, 0, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #94A3B8 !important;
}

/* Intent Radar Cohort Card */
body.is-logged-in .intent-radar-preview-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  padding: 18px 22px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
body.is-logged-in .intent-radar-preview-card:hover {
  border-color: #CBD5E1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08) !important;
}
body.is-logged-in .irp-badge.coral {
  background: #FEF2F2 !important;
  color: #B91C1C !important;
  border: 1px solid #FECACA !important;
  font-weight: 750 !important;
}
body.is-logged-in .irp-title {
  color: #18181B !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
}
body.is-logged-in .btn-irp-explore {
  background: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  color: #18181B !important;
  font-weight: 650 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}
body.is-logged-in .btn-irp-explore:hover {
  background: #F8FAFC !important;
}
body.is-logged-in .irp-tags-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
body.is-logged-in .irp-tag {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #334155 !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 11.5px !important;
}
body.is-logged-in .irp-tag.irp-more {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border: 1px solid #BFDBFE !important;
  font-weight: 700 !important;
}

/* Right Rail: Ledger & SLA Panels */
body.is-logged-in .today-rail .subhead {
  color: #64748B !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding-bottom: 8px !important;
  margin-bottom: 10px !important;
}
body.is-logged-in .figures-panel {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px !important;
  padding: 14px 18px !important;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.04) !important;
}
body.is-logged-in .figure-row {
  border-bottom: 1px solid #F1F5F9 !important;
  padding: 8px 0 !important;
}
body.is-logged-in .fig-label {
  color: #18181B !important;
  font-size: 12px !important;
  font-weight: 650 !important;
}
body.is-logged-in .fig-hint {
  color: #64748B !important;
  font-size: 10px !important;
}
body.is-logged-in .fig-val {
  background: #F1F5F9 !important;
  color: #64748B !important;
  border: 1px solid #E2E8F0 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
}
body.is-logged-in .fig-val.active {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border: 1px solid #A7F3D0 !important;
  font-weight: 750 !important;
}
body.is-logged-in #today-runs .figures {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px !important;
  padding: 8px 16px !important;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.04) !important;
}
body.is-logged-in #today-runs .figure {
  border-bottom: 1px solid #F1F5F9 !important;
  padding: 9px 0 !important;
}
body.is-logged-in #today-runs .figure .k {
  color: #18181B !important;
  font-weight: 600 !important;
}
body.is-logged-in #today-runs .figure .muted {
  color: #64748B !important;
}
body.is-logged-in #today-setup .engine-sla-list > div {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
}
body.is-logged-in #today-setup .engine-sla-list span {
  color: #18181B !important;
}
body.is-logged-in #today-setup .engine-sla-list span:first-child {
  color: #64748B !important;
}

/* Institutional Tab Tables (Signals, Discover, Companies, Outbox, etc.) */
body.is-logged-in .table-card,
body.is-logged-in .card,
body.is-logged-in .panel {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.03) !important;
  border-radius: 16px !important;
}
body.is-logged-in table th {
  background: #F8FAFC !important;
  color: #475569 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  font-weight: 700 !important;
}
body.is-logged-in table td {
  color: #1E293B !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
body.is-logged-in tbody tr:hover td {
  background: #F8FAFC !important;
}
body.is-logged-in .sig-summary {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 14px !important;
}
body.is-logged-in .sig-stat {
  border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
}
body.is-logged-in .sig-stat .n { color: #18181B !important; }
body.is-logged-in .sig-stat.confirmed .n { color: #047857 !important; }
body.is-logged-in .sig-stat.proposed .n { color: #B45309 !important; }
body.is-logged-in .sig-stat .k { color: #64748B !important; }
body.is-logged-in .sig-row { border-bottom: 1px solid #F1F5F9 !important; }
body.is-logged-in .sig-label { color: #18181B !important; }
body.is-logged-in .sig-desc { color: #52525B !important; }
body.is-logged-in .sig-code { color: #64748B !important; }
body.is-logged-in .cost-chip {
  background: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
  color: #475569 !important;
}
body.is-logged-in .cost-chip.free {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border-color: #A7F3D0 !important;
}
body.is-logged-in .cohort-pick {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #1E293B !important;
}
body.is-logged-in .cohort-pick:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}
body.is-logged-in input[type="text"],
body.is-logged-in input[type="search"],
body.is-logged-in select,
body.is-logged-in textarea {
  background: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  color: #18181B !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
body.is-logged-in input:focus,
body.is-logged-in select:focus,
body.is-logged-in textarea:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}


/* ── Workspace Dropdown & Header Polish in Warm Light Mode ── */
body.is-logged-in .workspace-badge-jarvis {
  background: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  color: #18181B !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
body.is-logged-in .workspace-badge-jarvis:hover {
  background: #F8FAFC !important;
  border-color: #9CA3AF !important;
}
body.is-logged-in #current-workspace-name {
  color: #18181B !important;
  font-weight: 650 !important;
}
body.is-logged-in .workspace-dropdown-menu {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 14px 34px -6px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
body.is-logged-in .ws-menu-header {
  color: #64748B !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
body.is-logged-in .ws-item {
  color: #18181B !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
body.is-logged-in .ws-item:hover {
  background: #F8FAFC !important;
}
body.is-logged-in .ws-title {
  color: #18181B !important;
}
body.is-logged-in .ws-sub {
  color: #64748B !important;
}
body.is-logged-in .ws-action-btn {
  color: #047857 !important;
  background: #ECFDF5 !important;
  border-top: 1px solid #A7F3D0 !important;
}

/* Outbox & CRM Vault Card Styling in Warm Light Mode */
body.is-logged-in .outbox-desk,
body.is-logged-in .decision-card,
body.is-logged-in #outbox-list .card,
body.is-logged-in .crm-table-container,
body.is-logged-in .data-table {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.04) !important;
  border-radius: 14px !important;
}
body.is-logged-in kbd {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08) !important;
}


/* ── Clean Vector Micro-Icons & Enterprise Metric Wraps ── */
.ui-icon {
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
}
.w-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
}
.w-icon-wrap.emerald {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}
.w-icon-wrap.cobalt {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.w-icon-wrap.amber {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}
.chan-pill .ui-icon {
  margin-right: 4px;
  color: #64748B;
}
.chan-pill-send .ui-icon {
  margin-right: 4px;
  color: #FFFFFF;
}
.tag-icon .ui-icon {
  margin-right: 2px;
}


/* ══════════════════════════════════════════════════════════════
   MOBILE COMPRESSED CARD DECK & BOTTOM SHEET (IPHONE / ANDROID)
   65% Vertical Height Compression & Zero Gesture Conflicts
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .mode-switcher-bar {
    display: none !important;
  }
  .floating-agent-pill,
  #floating-agent-pill {
    bottom: 74px !important;
  }
  header {
    padding: 12px 16px !important;
  }

  /* 2. Segmented Pill & Snap Deck for Two Ways to Scale */
  .mobile-offer-segmented-pill {
    display: flex;
    align-items: center;
    background: #EDE8E1;
    padding: 4px;
    border-radius: 999px;
    margin: 18px auto 16px auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 380px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  .m-pill-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
  }
  .m-pill-btn.active {
    background: #18181B;
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  .weekday-cards-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    touch-action: pan-y !important;
    overscroll-behavior-x: contain !important;
    gap: 16px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .weekday-cards-grid::-webkit-scrollbar {
    display: none !important;
  }
  .weekday-card {
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
  }
  .mobile-snap-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 20px 0;
  }
  .m-snap-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .m-snap-dot.active {
    width: 22px;
    border-radius: 999px;
    background: #18181B;
  }

  /* 3. Mobile Compact Pipeline Cards Deck & Hide Wide Table */
  .live-pipeline-table-wrap,
  .table-mobile-hint {
    display: none !important;
  }
  .mobile-pipeline-stream-deck {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
  }
  .mobile-pipeline-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
  }
  .mobile-pipeline-card:active {
    transform: scale(0.99);
    border-color: #CBD5E1;
  }
  .mpc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .mpc-mid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 0;
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  }
  .mpc-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .btn-open-mobile-drawer {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #18181B;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    transition: all 0.2s ease;
  }
  .btn-open-mobile-drawer:active {
    background: #F8FAFC;
    transform: scale(0.99);
  }
}

@media (min-width: 769px) {
  .mobile-offer-segmented-pill,
  .mobile-snap-dots,
  .mobile-pipeline-stream-deck {
    display: none !important;
  }
}

/* iOS Bottom Sheet Drawer Styles (Works on all screen sizes) */
.pipeline-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pipeline-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.pipeline-drawer-sheet {
  width: 100%;
  max-height: 85vh;
  background: #FAF8F5;
  border-radius: 24px 24px 0 0;
  padding: 16px 20px 32px 20px;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.pipeline-drawer-overlay.active .pipeline-drawer-sheet {
  transform: translateY(0);
}
.drawer-drag-pill {
  width: 36px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 999px;
  align-self: center;
  margin-bottom: 14px;
}
.drawer-header {
  position: relative;
  margin-bottom: 14px;
}
.drawer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 750;
  color: #047857;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.drawer-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 4px 0;
}
.drawer-sub {
  font-size: 12px;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}
.btn-drawer-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #FFFFFF;
  font-size: 13px;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.drawer-item-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}
.drawer-item-card:hover {
  border-color: #047857;
}


/* ══════════════════════════════════════════════════════════════
   STRICT MOBILE HORIZONTAL OVERFLOW PREVENTION (ANDROID / IOS)
   Eliminates 1,048px canvas zoom-out so mobile cards are 100% centered
   ══════════════════════════════════════════════════════════════ */

html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  *, *:before, *:after {
    box-sizing: border-box !important;
  }

  /* 0. Header Constraints to Prevent Blowout */
  header {
    padding: 10px 12px !important;
    gap: 8px !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .brand {
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .brand-text {
    min-width: 0 !important;
  }
  .brand h1 {
    font-size: 13.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .brand .tagline,
  .brand h1 span:last-child {
    display: none !important;
  }
  #header-status-badge {
    padding: 2px 6px !important;
    font-size: 10px !important;
  }
  .header-controls {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .header-controls .btn-sheets,
  .header-controls .refresh-btn,
  .header-controls #theme-btn,
  .header-controls .btn-logout-header {
    display: none !important;
  }
  .header-controls .btn-cta-audit {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }

  /* 1. Eliminate 1,048px table blow-out */
  .live-pipeline-section {
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .live-pipeline-table-wrap,
  .table-mobile-hint,
  .live-pipeline-table {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* 2. Hero Typography, Content, Trust Bar & Ecosystem Strip */
  .heyreach-unified-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px !important;
    padding: 16px 0 !important;
    box-sizing: border-box !important;
  }
  .hero-content {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .editorial-serif-title,
  .hero-main-title {
    font-size: clamp(26px, 6.2vw, 34px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-main-sub {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .hero-cta-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-secondary {
    padding: 10px 16px !important;
    font-size: 12.5px !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .hero-trust-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 6px 12px !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    font-size: 11px !important;
    box-sizing: border-box !important;
  }
  .hero-trust-bar span {
    white-space: nowrap !important;
  }
  .hero-ecosystem-strip {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 8px 0 0 0 !important;
    box-sizing: border-box !important;
  }
  .eco-pills-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .eco-pill {
    font-size: 10.5px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
  }

  /* 3. Interactive Simulator Container & Steps (Responsive Fit) */
  main {
    padding: 14px 12px 88px !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .hero-stage {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }
  .interactive-live-simulator {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
  }
  .sim-header {
    padding: 10px 12px 8px !important;
  }
  .sim-icp-tabs {
    display: flex !important;
    width: 100% !important;
    gap: 4px !important;
    box-sizing: border-box !important;
  }
  .sim-icp-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 6px 4px !important;
    gap: 4px !important;
  }
  .sim-icp-icon {
    width: 22px !important;
    height: 22px !important;
  }
  .sim-icp-icon svg {
    width: 13px !important;
    height: 13px !important;
  }
  .sim-icp-btn .icp-name {
    font-size: 10.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .sim-icp-btn .icp-sub {
    font-size: 8.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .sim-context-sub-badge {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 4px 8px !important;
  }
  #sim-context-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .sim-kinetic-wire {
    padding: 6px 10px 4px !important;
  }
  .sim-wire-track {
    margin: 4px 10px 12px 10px !important;
  }
  .sim-nodes-strip {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 3px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .sim-node {
    min-width: 0 !important;
    padding: 4px 2px !important;
    width: 100% !important;
  }
  .sim-node-circle {
    width: 28px !important;
    height: 28px !important;
  }
  .sim-node-circle svg {
    width: 14px !important;
    height: 14px !important;
  }
  .sim-node-meta {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-align: center !important;
  }
  .sim-node-num {
    font-size: 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .sim-node-title {
    font-size: 8.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .sim-screen-container {
    padding: 10px 12px !important;
  }
  .shield-row {
    padding: 6px 8px !important;
    gap: 6px !important;
  }
  .shield-item-text {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .shield-item-text strong,
  .shield-item-text span {
    font-size: 10.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .sim-control-bar {
    padding: 8px 10px !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }
  .sim-step-pills {
    flex-wrap: wrap !important;
    gap: 3px !important;
  }
  .step-pill {
    font-size: 9px !important;
    padding: 3px 6px !important;
  }

  /* Compact settings for split screens */
  .sim-header-row {
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .sim-fps-badge {
    font-size: 8.5px !important;
    padding: 2px 6px !important;
  }

  /* 4. Bento Grid & Bento Cards */
  .apple-bento-hero,
  .bento-grid {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .bento-card {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 5. Weekday Section & Card Snap Deck */
  .weekday-editorial-section {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .weekday-cards-grid {
    max-width: 100% !important;
    width: 100% !important;
  }
  .weekday-card {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 100% !important;
  }

  /* 6. Consultation Form */
  .audit-card-wrap,
  .audit-card-inner,
  #audit-consultation-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .audit-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .mode-switcher-bar {
    display: none !important;
  }
  .floating-architect-pill {
    right: 14px !important;
    bottom: 74px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Vance Dedicated Landing Route Switcher & Focused Pillar States
   ═══════════════════════════════════════════════════════════════ */
.vance-route-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(18, 22, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
  backdrop-filter: blur(12px);
  margin-right: 10px;
}

body.is-logged-out .vance-route-switcher-pill {
  background: #EAE3D8;
  border-color: #D6CBBF;
}

.v-route-btn {
  color: #94A3B8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.v-route-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

body.is-logged-out .v-route-btn {
  color: #57534E;
}

body.is-logged-out .v-route-btn:hover {
  color: #1C1917;
  background: rgba(255, 255, 255, 0.6);
}

.v-route-btn.active#v-route-all {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

body.is-logged-out .v-route-btn.active#v-route-all {
  background: #FFFFFF;
  color: #18181B;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.v-route-btn.active#v-route-speed {
  background: rgba(16, 185, 129, 0.22);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

body.is-logged-out .v-route-btn.active#v-route-speed {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.v-route-btn.active#v-route-outbound {
  background: rgba(59, 130, 246, 0.22);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.45);
}

body.is-logged-out .v-route-btn.active#v-route-outbound {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

/* Focused Pillar Elevation */
.weekday-card.is-focused-card {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.25) !important;
}

.weekday-card.card-intent-outbound.is-focused-card {
  box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.25) !important;
}

.weekday-card.is-dimmed-card {
  opacity: 0.75;
}

