/* ──────────────────────────────────────────────────────────────────────
   Frutiger Aero design system — extracted from signal-home-mockup.html
   Sky → grass background, glass panels, glossy aero buttons.
   ─────────────────────────────────────────────────────────────────── */

:root {
  --aero-text:        #0a2746;
  --aero-text-mid:    rgba(10,39,70,0.65);
  --aero-text-soft:   rgba(10,39,70,0.5);
  --aero-text-faint:  rgba(10,39,70,0.35);

  --aero-glass-rim:   rgba(255,255,255,0.75);
  --aero-glass-rim-2: rgba(170,215,245,0.25);

  --aero-blue:        #1f8fd8;
  --aero-blue-deep:   #135ea5;
  --aero-blue-bright: #45b1ec;

  --aero-green:       #45ad65;
  --aero-green-deep:  #226a3a;

  --aero-amber:       #e09228;
  --aero-amber-deep:  #9d5f0f;

  --aero-purple:      #8862c8;
  --aero-purple-deep: #533a8c;

  --aero-radius-lg:   22px;
  --aero-radius-md:   14px;
  --aero-radius-sm:   10px;
}

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

html, body {
  min-height: 100%;
  font-family:
    -apple-system, "Segoe UI", "Helvetica Neue",
    "Frutiger", "Frutiger Linotype", sans-serif;
  color: var(--aero-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 55% 35% at 78% 4%, rgba(255,255,255,0.85) 0%, transparent 60%),
    radial-gradient(ellipse 30% 22% at 50% 0%, rgba(255,255,255,0.55) 0%, transparent 70%),
    linear-gradient(180deg,
      #1f8fd8 0%,
      #45b1ec 18%,
      #7fcef2 38%,
      #b6e3f4 58%,
      #d6efef 70%,
      #b8e07a 78%,
      #6cb53e 90%,
      #4f9a25 100%);
  background-attachment: fixed;
  position: relative;
}

/* ── Scenery (sun, clouds, grass mound, bubbles) ───────────────── */

.scene { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.scene .sun {
  position: absolute;
  top: -60px; right: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,250,210,0.7) 0%, rgba(255,250,210,0) 65%);
}

.scene .cloud {
  position: absolute;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  filter: blur(18px);
}
.scene .cloud-1 { top: 5%;  left: -8%;  width: 320px; height: 90px; }
.scene .cloud-2 { top: 18%; right: -10%; width: 380px; height: 110px; opacity: 0.9; }
.scene .cloud-3 { top: 42%; left: -8%;  width: 280px; height: 90px; opacity: 0.7; }
.scene .cloud-4 { top: 28%; left: 38%;  width: 120px; height: 32px; opacity: 0.7; filter: blur(10px); }

.scene .grass {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background:
    radial-gradient(ellipse 120% 95% at 30% 100%, rgba(120,200,80,0.95) 0%, rgba(80,170,50,0.85) 50%, rgba(60,140,35,0) 80%),
    radial-gradient(ellipse 100% 80% at 80% 110%, rgba(140,210,90,0.85) 0%, rgba(90,180,55,0) 70%);
}

.scene .bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    rgba(255,255,255,0.98) 0%,
    rgba(220,245,255,0.5) 30%,
    rgba(180,225,255,0.15) 60%,
    transparent 78%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    inset 0 -3px 5px rgba(120,200,240,0.45),
    inset 0 1px 1px rgba(255,255,255,0.9),
    0 1px 3px rgba(20,80,140,0.15);
}
.scene .b-1 { top: 9%;   right: 12%; width: 38px; height: 38px; }
.scene .b-2 { top: 33%;  left: 5%;   width: 22px; height: 22px; }
.scene .b-3 { bottom: 22%; right: 14%; width: 50px; height: 50px; }
.scene .b-4 { top: 64%;  left: 22%;  width: 14px; height: 14px; }
.scene .b-5 { top: 17%;  left: 28%;  width: 12px; height: 12px; }
.scene .b-6 { top: 48%;  right: 8%;  width: 18px; height: 18px; }

/* ── App shell ─────────────────────────────────────────────────── */

.app-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 48px 110px; /* extra bottom padding to clear the nav */
  position: relative;
  z-index: 2;
}
@media (max-width: 720px) {
  .app-wrap { padding-left: 20px; padding-right: 20px; }
}

/* Centered SIGNAL wordmark at the top — replaces top nav */
.signal-mark {
  text-align: center;
  margin: 0 auto 24px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--aero-text);
  text-shadow: 0 1px 0 rgba(255,255,255,0.95), 0 0 12px rgba(255,255,255,0.5);
}
.signal-mark::before {
  content: '';
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  margin-right: 13px;
  transform: translateY(-1px);
  vertical-align: middle;
  background: radial-gradient(circle at 28% 24%, #d8ffb0 0%, #6ed02c 38%, #2c8d10 100%);
  box-shadow:
    0 0 14px rgba(110,210,50,0.85),
    inset 0 1px 1px rgba(255,255,255,0.95),
    inset 0 -2px 3px rgba(0,80,0,0.4);
}

/* Bottom nav — glass strip pinned to the bottom of the viewport */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 30;
  padding: 10px 18px max(14px, env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.78) 0%,
      rgba(255,255,255,0.45) 49%,
      rgba(220,240,255,0.32) 50%,
      rgba(255,255,255,0.55) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  border-top: 1px solid rgba(255,255,255,0.75);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 -4px 16px rgba(20,70,120,0.18);
}
.bottom-nav-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
  width: 100%;
}
.nav-tab {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px 4px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(10,39,70,0.55);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 12px;
  transition: filter 0.15s ease;
}
.nav-tab svg {
  width: 24px; height: 24px;
  fill: rgba(10,39,70,0.55);
  transition: fill 0.15s ease;
}
.nav-tab.active {
  color: #226a3a;
  background: linear-gradient(180deg, rgba(212,255,150,0.65), rgba(150,220,90,0.25));
  border: 1px solid rgba(110,200,50,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 0 10px rgba(110,210,50,0.4);
}
.nav-tab.active svg { fill: #226a3a; }
.nav-tab:hover:not(.active) { color: var(--aero-text); }
.nav-tab:hover:not(.active) svg { fill: var(--aero-text); }

/* ── Glassy tab pills ──────────────────────────────────────────── */

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }

.tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  font: 600 13px/1 inherit;
  letter-spacing: 0.02em;
  color: var(--aero-text);
  cursor: pointer;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.85) 0%,
      rgba(255,255,255,0.5)  49%,
      rgba(220,240,255,0.3)  50%,
      rgba(255,255,255,0.6)  100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(180,210,235,0.55),
    0 2px 5px rgba(20,70,120,0.16),
    0 0 0 1px rgba(170,215,245,0.2);
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}
.tab:hover { transform: translateY(-1px); }
.tab.on {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background:
    linear-gradient(180deg, #5fb6f0 0%, #2a8fdc 49%, #1c75c2 51%, #135ea5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(0,40,80,0.3),
    0 2px 8px rgba(20,70,120,0.4);
  text-shadow: 0 -1px 0 rgba(0,40,80,0.3);
}

/* ── Glass panels ──────────────────────────────────────────────── */

.panel {
  position: relative;
  padding: 22px 24px;
  margin-bottom: 16px;
  border-radius: var(--aero-radius-lg);
  border: 1px solid var(--aero-glass-rim);
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.78) 0%,
      rgba(255,255,255,0.45) 49%,
      rgba(220,240,255,0.30) 50%,
      rgba(255,255,255,0.55) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(1.85);
  backdrop-filter: blur(26px) saturate(1.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(255,255,255,0.4),
    inset 0 0 0 1px var(--aero-glass-rim-2),
    inset 0 -10px 20px rgba(180,220,250,0.15),
    0 12px 30px rgba(20,70,120,0.22),
    0 3px 8px rgba(20,70,120,0.12),
    0 1px 0 rgba(255,255,255,0.6);
  overflow: hidden;
}
.panel::before {
  content: '';
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.05) 100%);
  border-radius: var(--aero-radius-lg) var(--aero-radius-lg) 0 0;
  pointer-events: none;
}
.panel::after {
  content: '';
  position: absolute;
  top: 6px; left: 16px;
  width: 60%; height: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.2));
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  opacity: 0.85;
}
.panel > * { position: relative; z-index: 1; }

.panel h3 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aero-text-mid);
  font-weight: 600;
  margin-bottom: 16px;
}
.panel h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aero-text-soft);
  font-weight: 600;
  margin-bottom: 10px;
}

/* ── Hero greeting card ────────────────────────────────────────── */

.hero {
  text-align: left;
  padding: 26px 26px 22px;
}
.hero-greet {
  font-weight: 300;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(180deg, #0a2746 0%, #1f5286 45%, #0a2746 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.85));
}
.hero-date {
  margin-top: 6px;
  font-size: 13px;
  color: var(--aero-text-mid);
  letter-spacing: 0.04em;
}
.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Glossy aero buttons ───────────────────────────────────────── */

.btn {
  position: relative;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 999px;
  font: 600 13px/1 inherit;
  color: var(--aero-text);
  cursor: pointer;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.6)  49%,
      rgba(220,240,255,0.45) 50%,
      rgba(255,255,255,0.7)  100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(180,210,235,0.6),
    0 2px 5px rgba(20,70,120,0.18),
    0 0 0 1px rgba(170,215,245,0.2);
  transition: transform 0.08s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }

.btn.primary {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background:
    linear-gradient(180deg, #5fb6f0 0%, #2a8fdc 49%, #1c75c2 51%, #135ea5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(0,40,80,0.3),
    0 3px 10px rgba(20,70,120,0.4);
  text-shadow: 0 -1px 0 rgba(0,40,80,0.3);
}
.btn.warn {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background:
    linear-gradient(180deg, #fcdb88 0%, #e09228 49%, #c47918 51%, #9d5f0f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(80,40,0,0.3),
    0 3px 10px rgba(120,70,20,0.4);
  text-shadow: 0 -1px 0 rgba(80,40,0,0.3);
}
.btn.green {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background:
    linear-gradient(180deg, #a8eaba 0%, #45ad65 49%, #338a4f 51%, #226a3a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(0,60,20,0.3),
    0 3px 10px rgba(20,90,40,0.4);
  text-shadow: 0 -1px 0 rgba(0,60,20,0.3);
}
.btn.ghost { /* default style is already ghosty — alias */ }

/* ── Inputs ────────────────────────────────────────────────────── */

input[type=text], input[type=search], input:not([type]), select, textarea, input[type=file] {
  font: 14px/1.4 inherit;
  color: var(--aero-text);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--aero-radius-sm);
  padding: 9px 12px;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(180,210,235,0.55),
    0 1px 2px rgba(20,70,120,0.08);
  transition: box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 0 0 3px rgba(63,160,235,0.35),
    0 1px 4px rgba(20,70,120,0.18);
}
input::placeholder, textarea::placeholder { color: var(--aero-text-faint); }
select { cursor: pointer; }

input[type=file] {
  padding: 6px 10px;
  font-size: 13px;
}

.codebox {
  width: 100%;
  min-height: 160px;
  font: 13px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.9);
  resize: vertical;
}

/* ── Layout helpers ────────────────────────────────────────────── */

.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }

.muted { color: var(--aero-text-mid); font-size: 13px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── List items (recents, campaigns, clients) ─────────────────── */

.list-item {
  position: relative;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: var(--aero-radius-md);
  border: 1px solid rgba(255,255,255,0.65);
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.6) 0%,
      rgba(255,255,255,0.25) 49%,
      rgba(220,240,255,0.2) 50%,
      rgba(255,255,255,0.4) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(180,210,235,0.4),
    0 2px 8px rgba(20,70,120,0.12);
}
.list-item:hover {
  filter: brightness(1.02);
}
.list-item strong {
  color: var(--aero-text);
  font-weight: 600;
}

/* ── Campaigns list ────────────────────────────────────────────── */

.campaigns-page {
  overflow: visible;
}
.camp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.campaigns-page .camp-head h3 {
  margin-bottom: 0;
}
.camp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.camp-search-wrap {
  display: block;
  margin-bottom: 12px;
}
.camp-search {
  width: 100%;
}
.camp-bulk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(220,240,255,0.45));
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(20,70,120,0.12);
}
.camp-bulk-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--aero-text);
}
.camp-bulk-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--aero-text-mid);
}
.camp-row-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.camp-row .campaign-select-check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--aero-blue);
}
.camp-id {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.camp-name {
  display: block;
  font-weight: 700;
  color: var(--aero-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.camp-client {
  display: block;
  font-size: 12px;
  color: var(--aero-text-mid);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.camp-status {
  display: none;
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.camp-status.done {
  color: #fff;
  background: linear-gradient(180deg, #a8eaba, #226a3a);
  border: 1px solid rgba(255,255,255,0.4);
}
.camp-status.live {
  color: var(--aero-blue-deep);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(180,220,250,0.6));
  border: 1px solid rgba(255,255,255,0.75);
}
.camp-desktop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 0 auto;
}
.camp-row-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
}
.camp-lanes {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.camp-more {
  display: none;
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
}
.camp-more-btn {
  list-style: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.75);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(220,240,255,0.5));
  box-shadow: inset 0 1px 0 #fff, 0 1px 4px rgba(20,70,120,0.12);
  font-size: 18px;
  line-height: 1;
  color: var(--aero-text);
}
.camp-more-btn::-webkit-details-marker { display: none; }
.camp-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  min-width: 160px;
  padding: 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(230,245,255,0.92));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 10px 28px rgba(20,70,120,0.22), inset 0 1px 0 #fff;
}
.camp-more-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  font: 700 13px/1.2 inherit;
  color: var(--aero-text);
  cursor: pointer;
}
.camp-more-menu button:hover { background: rgba(63,160,235,0.12); }
.camp-more-menu button.danger { color: #9d2b2b; }

@media (max-width: 599px) {
  .signal-mark {
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: 0.36em;
  }
  .app-wrap {
    padding-top: 16px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  .bottom-nav {
    padding: 6px 10px max(8px, env(safe-area-inset-bottom));
  }
  .nav-tab {
    padding: 6px 2px;
    min-height: 44px;
    font-size: 10px;
  }
  .nav-tab svg { width: 20px; height: 20px; }
  .campaigns-page {
    padding: 14px 12px 16px;
  }
  .camp-head { margin-bottom: 8px; }
  .camp-new {
    padding: 6px 12px;
    font-size: 12px;
  }
  .camp-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: inset 0 1px 0 #fff;
  }
  .camp-filters .tab {
    min-width: 0;
    padding: 7px 2px;
    font-size: 10px;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .camp-search-wrap { margin-bottom: 8px; }
  .camp-search { padding: 7px 10px; font-size: 13px; }
  .camp-row {
    padding: 8px 10px;
    margin-bottom: 7px;
    min-height: 90px;
  }
  .camp-row-main { gap: 6px; }
  .camp-row .campaign-select-check {
    width: 20px;
    height: 20px;
  }
  .camp-row-meta { margin-top: 6px; }
  .camp-name { font-size: 14px; }
  .camp-client { font-size: 11px; }
  .camp-status { display: inline-flex; }
  .camp-open-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .camp-desktop-actions { display: none; }
  .camp-more { display: block; }
  .camp-lanes .badge {
    padding: 2px 7px;
    font-size: 10px;
  }
}

/* ── Aero badges / chips ───────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(220,240,255,0.5));
  color: var(--aero-text-mid);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 1px 2px rgba(20,70,120,0.12);
}
.badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #d8d8d8 0%, #888 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.9),
    inset 0 -1px 1px rgba(0,0,0,0.2);
}
.badge.ok    { color: var(--aero-green-deep); }
.badge.ok::before    { background: radial-gradient(circle at 30% 25%, #c5f0c8 0%, #45ad65 55%, #226a3a 100%); }
.badge.warn  { color: var(--aero-amber-deep); }
.badge.warn::before  { background: radial-gradient(circle at 30% 25%, #ffe2a3 0%, #e09228 55%, #9d5f0f 100%); }
.badge.live  { color: var(--aero-blue-deep); }
.badge.live::before  { background: radial-gradient(circle at 30% 25%, #9bd9f5 0%, #2a8fdc 55%, #135ea5 100%); }
.badge.three { color: var(--aero-purple-deep); }
.badge.three::before { background: radial-gradient(circle at 30% 25%, #e3cdf6 0%, #8862c8 55%, #533a8c 100%); }
button.badge {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
button.badge:hover {
  filter: brightness(1.04);
}

/* ──────────────────────────────────────────────────────────────────────
   HOME — bubble greeting, quick-action tiles, recent rows
   Lifted from signal-app-overview.html (.h-greeting / .h-pill / .h-recent / .reg-chip)
   ─────────────────────────────────────────────────────────────────── */

.home-column {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Bubble greeting hero — Fredoka chunky lettering inside an oval glass plate */
.h-greeting {
  position: relative;
  padding: 60px 14px 70px;
  text-align: center;
  overflow: visible;
}
.h-greet-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92%; height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,0.35) 0%, rgba(180,220,255,0.18) 40%, transparent 75%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(150,200,255,0.5),
    0 0 30px rgba(180,220,255,0.5),
    0 0 12px rgba(255,200,230,0.35);
  pointer-events: none;
}
.h-greet-glow::before {
  content: '';
  position: absolute;
  top: 5%; left: 12%;
  width: 30%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.7), rgba(255,255,255,0) 70%);
  filter: blur(2px);
}
.h-greet-time {
  position: relative;
  font-family: 'Fredoka', "SF Pro Rounded", -apple-system-rounded, "Avenir Next Rounded Pro", system-ui, sans-serif;
  font-weight: 700;
  font-size: 70px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: #5b97d8;
  text-shadow:
    0 -1.5px 0 rgba(255,255,255,1),
    0 -3px 1px rgba(255,255,255,0.85),
    0 -5px 4px rgba(255,255,255,0.45),
    0 1.5px 0 #4789cc,
    0 3px 0 #3675b8,
    0 4px 1px rgba(28,80,150,0.4),
    2px 1px 0 rgba(255,160,200,0.65),
    -2px 1px 0 rgba(160,220,255,0.65),
    0 0 16px rgba(180,220,255,0.6),
    0 0 28px rgba(180,220,255,0.35),
    0 8px 12px rgba(20,60,140,0.3);
}
.h-greet-sub {
  position: relative;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(10,39,70,0.5);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,0.85);
}

/* Big primary "Start a new campaign ›" pill */
.aero-btn {
  display: block;
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 16px;
  border-radius: 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,90,0.55);
  background: linear-gradient(180deg, #6dc1f0 0%, #2387d6 50%, #1670c2 51%, #0d59a8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 1px rgba(0,30,80,0.4),
    0 1px 0 rgba(255,255,255,0.55),
    0 6px 14px rgba(15,75,150,0.4);
  position: relative;
  overflow: hidden;
  transition: transform 0.08s ease, filter 0.15s ease;
}
.aero-btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.aero-btn.secondary {
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(214,232,248,0.85));
  color: #0a2746;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 4px 10px rgba(20,70,120,0.16);
}
.aero-btn::before {
  content: ''; position: absolute;
  top: 1px; left: 1px; right: 1px; height: 49%;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
  border-radius: 15px 15px 0 0;
}
.aero-btn.green { background: linear-gradient(180deg, #95e2b2 0%, #2f8856 50%, #226a3a 100%); }
.aero-btn.amber { background: linear-gradient(180deg, #fcdb88 0%, #c47918 50%, #9d5f0f 100%); text-shadow: 0 1px 1px rgba(80,40,0,0.5); }

/* Quick-action tiles with colored orbs */
.h-tasks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.h-pill {
  padding: 14px 6px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.5) 49%, rgba(220,240,255,0.32) 50%, rgba(255,255,255,0.55) 100%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(255,255,255,0.45),
    0 4px 10px rgba(20,70,120,0.18),
    0 1px 2px rgba(20,70,120,0.1);
  text-align: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  font-family: inherit;
}
.h-pill::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}
.h-pill::after {
  content: '›';
  position: absolute;
  top: 6px; right: 8px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(10,39,70,0.4);
  line-height: 1;
}
.h-pill .orb {
  width: 22px; height: 22px; border-radius: 50%; margin: 0 auto 6px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.95), inset 0 -2px 3px rgba(0,40,80,0.28);
  position: relative; z-index: 1;
}
.h-pill .orb.html { background: radial-gradient(circle at 30% 25%, #9bd9f5, #2a8fdc 55%, #135ea5 100%); }
.h-pill .orb.lp   { background: radial-gradient(circle at 30% 25%, #c5f0c8, #45ad65 55%, #226a3a 100%); }
.h-pill .orb.gfx  { background: radial-gradient(circle at 30% 25%, #ffe2a3, #e09228 55%, #9d5f0f 100%); }
.h-pill .orb.push { background: radial-gradient(circle at 30% 25%, #e3cdf6, #8862c8 55%, #533a8c 100%); }
.h-pill .verb { font-size: 9.5px; letter-spacing: 0.06em; color: rgba(10,39,70,0.55); font-weight: 600; line-height: 1; position: relative; z-index: 1; }
.h-pill .nm { font-size: 12px; letter-spacing: 0.04em; font-weight: 800; color: #0a2746; line-height: 1.05; margin-top: 2px; position: relative; z-index: 1; }
.h-pill:hover { transform: translateY(-1px); }

/* Recent rows */
.h-recent {
  margin-top: 4px;
  padding: 10px 12px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.25));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.h-recent-h {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10,39,70,0.5);
  font-weight: 700;
  margin-bottom: 8px;
}
.h-recent-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(170,215,245,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
  margin-bottom: 5px;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  text-align: left;
}
.h-recent-row:last-child { margin-bottom: 0; }
.h-recent-row.top {
  background: linear-gradient(180deg, rgba(212,255,150,0.5), rgba(150,220,90,0.2));
  border: 1px solid rgba(110,200,50,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 0 6px rgba(110,210,50,0.35);
}
.h-recent-name {
  font-size: 13px;
  font-weight: 600;
  color: #0a2746;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.h-recent-arr { color: rgba(10,39,70,0.4); font-size: 14px; font-weight: 700; }

/* Client color chips (used in recent rows + everywhere a client label belongs) */
.reg-chip {
  display: inline-block;
  min-width: 50px;
  padding: 4px 8px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 1px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.25);
  line-height: 1;
}
.reg-chip.c-mira        { background: linear-gradient(180deg, #8a6bb8 0%, #6b4e9b 100%); }
.reg-chip.c-redline     { background: linear-gradient(180deg, #e05a4a 0%, #c0392b 100%); }
.reg-chip.c-glass       { background: linear-gradient(180deg, #3a9bb8 0%, #1f6f8b 100%); }
.reg-chip.c-nightschool { background: linear-gradient(180deg, #3d5368 0%, #2c3e50 100%); }
.reg-chip.c-lowvolt     { background: linear-gradient(180deg, #e0b84a 0%, #d4a017 100%); }
.reg-chip.c-omg     { background: linear-gradient(180deg, #2a2a2a 0%, #050505 100%); }
.reg-chip.c-alf     { background: linear-gradient(180deg, #e0651c 0%, #b03d00 100%); }
.reg-chip.c-lg      { background: linear-gradient(180deg, #56b9ec 0%, #1670c2 100%); }
.reg-chip.c-mfa     { background: linear-gradient(180deg, #8a3ec4 0%, #4a1a8c 100%); }
.reg-chip.c-ll      { background: linear-gradient(180deg, #d52424 0%, #8a0000 100%); }
.reg-chip.c-lgomg   { background: linear-gradient(180deg, #6cc8f5 0%, #3a8fbc 100%); }
.reg-chip.c-nclu    { background: linear-gradient(180deg, #2c2c4a 0%, #0a0a1a 100%); }
.reg-chip.c-ic      {
  background: linear-gradient(180deg, #4ea4d8 0%, #1565c0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 0 8px rgba(70,150,230,0.5), 0 2px 4px rgba(0,0,0,0.25);
}
.reg-chip.c-tld     {
  background: linear-gradient(180deg, #b8334d 0%, #6a0a1f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 0 8px rgba(180,50,80,0.5), 0 2px 4px rgba(0,0,0,0.25);
}

/* Slide-up sheet for "+ Start a new campaign" */
.sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 39, 70, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 50;
}
.sheet {
  width: 100%; max-width: 540px;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.55) 49%,
      rgba(220,240,255,0.45) 50%,
      rgba(255,255,255,0.7)  100%);
  -webkit-backdrop-filter: blur(28px) saturate(1.85);
  backdrop-filter: blur(28px) saturate(1.85);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-radius: 24px 24px 0 0;
  padding: 18px 22px 28px;
  box-shadow: 0 -10px 30px rgba(20,70,120,0.3);
  display: flex; flex-direction: column;
  gap: 10px;
  max-height: 85vh;
  overflow-y: auto;
  animation: sheet-up 0.22s ease-out;
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Grab handle pill at top of sheet */
.sheet::before {
  content: '';
  display: block;
  width: 38px; height: 4px;
  border-radius: 999px;
  background: rgba(10,39,70,0.25);
  margin: 0 auto 6px;
}

.sheet-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #0a2746;
  letter-spacing: -0.01em;
}
.sheet-sub {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: rgba(10,39,70,0.6);
  margin-bottom: 6px;
}

.sheet-field { margin-bottom: 4px; }
.sheet-field-lab {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10,39,70,0.6);
  font-weight: 700;
  margin-bottom: 6px;
}
.sheet-field-lab .lab-aux {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(10,39,70,0.4);
}

.sheet-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  border: 1px solid rgba(170,215,245,0.65);
  box-shadow: inset 0 1px 2px rgba(20,70,120,0.08);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #0a2746;
  outline: none;
}
.sheet-input:focus {
  box-shadow: inset 0 1px 2px rgba(20,70,120,0.08), 0 0 0 3px rgba(63,160,235,0.35);
}

/* Client chip grid — 4 columns, two rows for 7 clients */
.client-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.client-chip {
  border: 0;
  cursor: pointer;
  padding: 11px 8px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 4px rgba(0,0,0,0.25);
  text-align: center;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 0.12s ease, transform 0.08s ease;
}
.client-chip:hover { opacity: 1; transform: translateY(-1px); }
.client-chip.selected {
  opacity: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 0 0 2.5px rgba(110,210,50,0.95),
    0 0 14px rgba(110,210,50,0.6),
    0 2px 4px rgba(0,0,0,0.25);
}
.client-chip.c-mira        { background: linear-gradient(180deg, #8a6bb8 0%, #6b4e9b 100%); }
.client-chip.c-redline     { background: linear-gradient(180deg, #e05a4a 0%, #c0392b 100%); }
.client-chip.c-glass       { background: linear-gradient(180deg, #3a9bb8 0%, #1f6f8b 100%); }
.client-chip.c-nightschool { background: linear-gradient(180deg, #3d5368 0%, #2c3e50 100%); }
.client-chip.c-lowvolt     { background: linear-gradient(180deg, #e0b84a 0%, #d4a017 100%); }
.client-chip.c-omg   { background: linear-gradient(180deg, #2a2a2a 0%, #050505 100%); }
.client-chip.c-alf   { background: linear-gradient(180deg, #e0651c 0%, #b03d00 100%); }
.client-chip.c-lg    { background: linear-gradient(180deg, #56b9ec 0%, #1670c2 100%); }
.client-chip.c-mfa   { background: linear-gradient(180deg, #8a3ec4 0%, #4a1a8c 100%); }
.client-chip.c-ll    { background: linear-gradient(180deg, #d52424 0%, #8a0000 100%); }
.client-chip.c-lgomg { background: linear-gradient(180deg, #6cc8f5 0%, #3a8fbc 100%); }
.client-chip.c-nclu  { background: linear-gradient(180deg, #2c2c4a 0%, #0a0a1a 100%); }

/* Loading state inside the slide-up sheet (Claude extraction in flight) */
.sheet.sheet-loading {
  align-items: center;
  text-align: center;
  padding: 28px 22px 32px;
  gap: 10px;
}
.sheet-loader-spinner {
  width: 48px; height: 48px;
  margin: 6px auto 4px;
  border-radius: 50%;
  border: 4px solid rgba(70,150,230,0.18);
  border-top-color: #2387d6;
  border-right-color: #6dc1f0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 0 14px rgba(70,150,230,0.35);
  animation: sheet-spin 0.9s linear infinite;
}
@keyframes sheet-spin { to { transform: rotate(360deg); } }
.sheet-loader-meta {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: rgba(10,39,70,0.7);
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.sheet-loader-k {
  display: inline-block;
  min-width: 50px;
  margin-right: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10,39,70,0.5);
  font-family: inherit;
}
.sheet-loader-tip {
  margin-top: 14px;
  font-size: 12px;
  font-style: italic;
  color: rgba(10,39,70,0.55);
  line-height: 1.4;
}

/* Drop zone */
.sheet-dropzone {
  padding: 28px 16px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(220,240,255,0.6) 0%, rgba(180,220,250,0.3) 100%);
  border: 2px dashed rgba(70,150,230,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 0 24px rgba(70,150,230,0.18),
    0 4px 10px rgba(20,70,120,0.12);
  text-align: center;
  margin: 4px 0;
  cursor: pointer;
  position: relative;
  transition: filter 0.15s ease;
}
.sheet-dropzone:hover { filter: brightness(1.04); }
.sheet-dropzone.has-file {
  border-style: solid;
  border-color: rgba(110,210,50,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 0 24px rgba(110,210,50,0.18),
    0 4px 10px rgba(20,70,120,0.12);
}
.sheet-dropzone input[type=file] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}
.sheet-doc-icon {
  margin: 0 auto 12px;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,90,0.5);
  background: linear-gradient(180deg, #6dc1f0 0%, #2387d6 50%, #1670c2 51%, #0d59a8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 1px rgba(0,30,80,0.4),
    0 0 16px rgba(70,150,230,0.5),
    0 4px 10px rgba(15,75,150,0.3);
  position: relative;
}
.sheet-doc-icon::before {
  content: '';
  position: absolute;
  top: 1px; left: 1px; right: 1px;
  height: 49%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  border-radius: 13px 13px 0 0;
  pointer-events: none;
}
.sheet-dropzone h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0a2746;
  margin-bottom: 4px;
}
.sheet-dropzone .browse {
  font-size: 12px;
  color: rgba(10,39,70,0.6);
}

.sheet-cancel {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: rgba(10,39,70,0.7);
  background: transparent;
  cursor: pointer;
}

/* ──────────────────────────────────────────────────────────────────────
   QA / step screens (Step 2 QA1, etc.) — lifted from
   signal-app-overview.html (.qa-*), scaled for desktop column
   ─────────────────────────────────────────────────────────────────── */

.qa-column {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 90px; /* clear the qa-bottom-bar */
}

/* Top stepper bar: ← [orbs] → */
.qa-top-bar-c {
  padding: 9px 12px;
  border-radius: 16px;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.78),
      rgba(255,255,255,0.42) 49%,
      rgba(220,240,255,0.28) 50%,
      rgba(255,255,255,0.5));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.qa-steps-c {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  align-items: center;
  justify-items: center;
}
.qa-icon-btn {
  border: 0;
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(220,240,255,0.45));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 1px 3px rgba(20,70,120,0.12);
  color: rgba(10,39,70,0.7);
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.qa-icon-btn.next {
  background: linear-gradient(180deg, #6dc1f0, #2387d6 50%, #1670c2 51%, #0d59a8);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,90,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 2px 5px rgba(15,75,150,0.4);
}
.qa-orb {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.95);
}
.qa-orb.done {
  background: radial-gradient(circle at 30% 25%, #d8ffb0, #6ed02c 50%, #2c8d10 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 0 6px rgba(110,210,50,0.7);
}
.qa-orb.active {
  background: radial-gradient(circle at 30% 25%, #b8dffe, #3a90dc 50%, #155ba6 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 0 8px rgba(70,150,230,0.95);
}
.qa-orb.pending {
  background: rgba(255,255,255,0.65);
  color: rgba(10,39,70,0.5);
  border: 1px solid rgba(170,215,245,0.5);
}

.qa-step-name {
  font-size: 14px;
  font-weight: 700;
  color: #0a2746;
  text-align: center;
  padding: 4px 0;
}
.qa-step-name small {
  color: rgba(10,39,70,0.5);
  font-weight: 600;
  font-size: 11px;
  margin-right: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Glass panel (reuse .panel core but smaller padding for the dense QA layout) */
.qa-panel { padding: 18px 18px; border-radius: 18px; }
.qa-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.qa-panel-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #0a2746;
}
.qa-step-chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0d3a08;
  background: linear-gradient(180deg, #d4ff8a, #8ee047 50%, #4eb01c 51%, #2e8a07);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 0 8px rgba(110,210,50,0.6);
  flex-shrink: 0;
}

/* Field row + label */
.qa-field { margin-bottom: 12px; }
.qa-flab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.qa-flab .lab {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10,39,70,0.6);
  font-weight: 700;
}
.qa-flab .auto {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #226a3a;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(212,255,150,0.6);
  border: 1px solid rgba(110,200,50,0.4);
}
.qa-flab .auto.required {
  color: #a32d2d;
  background: rgba(255,200,200,0.55);
  border: 1px solid rgba(180,60,60,0.35);
}

.qa-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(10,39,70,0.6);
}
.qa-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  border: 1px solid rgba(170,215,245,0.65);
  box-shadow: inset 0 1px 2px rgba(20,70,120,0.08);
  font-family: inherit;
  font-size: 14px;
  color: #0a2746;
  outline: none;
  box-sizing: border-box;
}
.qa-input[type="color"],
.qa-input-color {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 3px;
  line-height: normal;
  overflow: visible;
  cursor: pointer;
  flex: 0 0 36px;
  appearance: auto;
  -webkit-appearance: auto;
}
.qa-input[type="color"]::-webkit-color-swatch-wrapper,
.qa-input-color::-webkit-color-swatch-wrapper {
  padding: 0;
}
.qa-input[type="color"]::-webkit-color-swatch,
.qa-input-color::-webkit-color-swatch {
  border: 1px solid rgba(0,20,60,0.25);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}
.reg-color-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reg-color-row .qa-input.mono {
  flex: 1 1 auto;
  min-width: 0;
}
.qa-input:focus {
  box-shadow: inset 0 1px 2px rgba(20,70,120,0.08), 0 0 0 3px rgba(63,160,235,0.35);
}
.qa-input.mono {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
}

.qa-textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  border: 1px solid rgba(170,215,245,0.65);
  box-shadow: inset 0 1px 2px rgba(20,70,120,0.08);
  font-family: inherit;
  font-size: 13px;
  color: rgba(10,39,70,0.85);
  line-height: 1.4;
  resize: vertical;
  outline: none;
}

/* RTF body editor — iframe + glassy toolbar (ported from signal-end-game.html) */
.qa-editor-shell {
  border-radius: 12px;
  border: 1px solid rgba(170,215,245,0.65);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  box-shadow: inset 0 1px 2px rgba(20,70,120,0.08);
  overflow: hidden;
}
.qa-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(220,240,255,0.6), rgba(180,220,250,0.25));
  border-bottom: 1px solid rgba(170,215,245,0.5);
}
.qa-tbtn {
  border: 0;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(10,39,70,0.8);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(220,240,255,0.5));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 1px 2px rgba(20,70,120,0.1);
}
.qa-tbtn:hover { filter: brightness(1.05); }
.qa-tbtn.primary {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,90,0.5);
  background: linear-gradient(180deg, #6dc1f0, #2387d6 50%, #1670c2 51%, #0d59a8);
  border-color: rgba(20,90,160,0.5);
}
.qa-tbtn .tbtn-b { font-weight: 900; }
.qa-tbtn .tbtn-i { font-style: italic; }
.qa-editor-frame {
  width: 100%;
  min-height: 200px;
  border: 0;
  background: #ffffff;
  display: block;
}
.qa-editor-status {
  padding: 4px 10px;
  background: rgba(220,240,255,0.5);
  border-top: 1px solid rgba(170,215,245,0.5);
  font-size: 11px;
  color: rgba(10,39,70,0.6);
  font-style: italic;
}
.qa-editor-status.warn { color: #9d5f0f; background: rgba(252,219,136,0.4); font-style: normal; font-weight: 600; }
.qa-editor-status.ok   { color: #226a3a; background: rgba(212,255,150,0.4); font-style: normal; font-weight: 600; }

/* ── Title preview chip (Frutiger Aero glassy bubble with separated segments) ── */
.qa-tp {
  position: relative;
  overflow: hidden;
  padding: 14px 18px;
  border-radius: 16px;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.92) 0%,
      rgba(220,240,255,0.55) 49%,
      rgba(180,220,250,0.4) 50%,
      rgba(220,240,255,0.7) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  backdrop-filter: blur(22px) saturate(1.85);
  border: 1px solid rgba(170,215,245,0.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(170,215,245,0.5),
    inset 0 0 0 1px rgba(170,215,245,0.22),
    inset 0 -12px 22px rgba(180,220,250,0.18),
    0 6px 18px rgba(20,70,120,0.18),
    0 2px 4px rgba(20,70,120,0.08),
    0 1px 0 rgba(255,255,255,0.5);
  font-size: 15px;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}
/* Top-half gloss (50% specular highlight) */
.qa-tp::before {
  content: '';
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}
/* Soft elliptical shine across the top */
.qa-tp::after {
  content: '';
  position: absolute;
  top: 5px; left: 16px;
  width: 60%; height: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.1));
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.85;
  pointer-events: none;
}
.qa-tp > * { position: relative; z-index: 1; }

/* Client (e.g. OMG) — deep navy gradient text */
.qa-tp .tp-c {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #1c5d8e 0%, #155ba6 50%, #0a3d70 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.9));
}
/* ( Slug ) — supportive copy weight */
.qa-tp .tp-s {
  color: rgba(10,39,70,0.78);
  font-weight: 600;
  letter-spacing: -0.005em;
}
/* [Route] — glossy green pill (the route is the load-bearing routing label) */
.qa-tp .tp-t {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0d3a08;
  background: linear-gradient(180deg, #d4ff8a 0%, #8ee047 50%, #4eb01c 51%, #2e8a07 100%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 0 8px rgba(110,210,50,0.55),
    0 1px 2px rgba(20,70,20,0.25);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}
/* — date — soft middle weight */
.qa-tp .tp-d {
  color: rgba(10,39,70,0.6);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
}
/* ×N iteration — subtle glassy chip */
.qa-tp .tp-i {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(10,39,70,0.65);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(220,240,255,0.45));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 1px 2px rgba(20,70,120,0.12);
}

/* Title chip is click-to-edit — show the affordance on hover */
.qa-tp[data-edit-title] {
  cursor: text;
  transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}
.qa-tp[data-edit-title]:hover {
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(170,215,245,0.5),
    inset 0 0 0 1px rgba(170,215,245,0.22),
    inset 0 -12px 22px rgba(180,220,250,0.18),
    0 8px 22px rgba(20,70,120,0.22),
    0 2px 4px rgba(20,70,120,0.08),
    0 1px 0 rgba(255,255,255,0.5);
}
.qa-tp[data-edit-title]:focus {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(170,215,245,0.5),
    0 0 0 3px rgba(63,160,235,0.35),
    0 6px 18px rgba(20,70,120,0.18);
}

/* Editing state — replaces the chip with an inline input that shares the same shell */
.qa-tp.qa-tp-editing {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
}
.qa-tp-edit-input {
  flex: 1;
  border: 0;
  outline: none;
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  padding: 8px 12px;
  font: 600 15px/1.4 inherit;
  color: #0a2746;
  box-shadow:
    inset 0 1px 2px rgba(20,70,120,0.1),
    inset 0 0 0 1px rgba(170,215,245,0.55);
}
.qa-tp-edit-input:focus {
  background: #ffffff;
  box-shadow:
    inset 0 1px 2px rgba(20,70,120,0.1),
    inset 0 0 0 1px rgba(170,215,245,0.55),
    0 0 0 3px rgba(63,160,235,0.35);
}
.qa-tp.qa-tp-editing .qa-tbtn { padding: 6px 11px; font-size: 13px; }

/* ── Editor "one card" layout — every section lives inside a single
      .panel.qa-panel, separated by .ed-section dividers + headers rather than
      stacked glass cards. ── */
.ed-variant-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 10px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(220,240,255,0.6), rgba(180,220,250,0.25));
  border: 1px solid rgba(170,215,245,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.ed-variant-bar .ed-variant-label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(10,39,70,0.55); font-weight: 700; margin-right: 4px;
}
.ed-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 18px;
}
.ed-fields, .ed-preview-col {
  display: flex; flex-direction: column;
}
.ed-preview-col { position: sticky; top: 20px; align-self: start; }
@media (max-width: 980px) { .ed-grid { grid-template-columns: 1fr; } .ed-preview-col { position: static; } }

.ed-section { padding: 10px 0 12px; }
.ed-section + .ed-section {
  border-top: 1px solid rgba(170,215,245,0.45);
  margin-top: 4px;
  padding-top: 14px;
}
.ed-section-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-bottom: 10px;
}
.ed-section-h h3 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 800; color: rgba(10,39,70,0.55);
}
.ed-section-tag {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #226a3a; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(212,255,150,0.55);
  border: 1px solid rgba(110,200,50,0.4);
}
.ed-section-tag.blue {
  color: #135ea5;
  background: rgba(220,240,255,0.7);
  border-color: rgba(70,150,230,0.4);
}
.ed-section-tag.amber {
  color: #9d5f0f;
  background: rgba(252,219,136,0.55);
  border-color: rgba(190,140,40,0.45);
}
.ed-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Collapsible sections (native <details>) ──
   Editor uses <details> elements styled to look like a normal .ed-section.
   summary is the click target; .ed-section-chev is a small caret on the
   right that rotates when the section opens. */
details.ed-section { padding: 0; }
details.ed-section + details.ed-section,
details.ed-section + .ed-section,
.ed-section + details.ed-section {
  border-top: 1px solid rgba(170,215,245,0.45);
  margin-top: 4px;
}
details.ed-section > summary.ed-section-h {
  cursor: pointer;
  list-style: none;
  padding: 12px 4px;
  margin: 0;
  user-select: none;
  border-radius: 8px;
  transition: background 0.12s ease;
}
details.ed-section > summary.ed-section-h::-webkit-details-marker { display: none; }
details.ed-section > summary.ed-section-h:hover {
  background: rgba(220,240,255,0.45);
}
details.ed-section > summary.ed-section-h:focus-visible {
  outline: 2px solid rgba(63,160,235,0.55);
  outline-offset: 2px;
}
.ed-section-chev {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(10,39,70,0.5);
  margin-left: auto;
  transition: transform 0.18s ease;
  transform: rotate(-90deg);
}
details.ed-section[open] > summary.ed-section-h .ed-section-chev {
  transform: rotate(0deg);
}
.ed-section-body {
  padding: 4px 4px 12px;
}

/* Read-only display — for fields that are clearly NOT editable (Client, etc).
   Visually different from inputs: dashed border, faded background, no caret. */
.qa-readonly-display {
  padding: 8px 12px;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(220,240,255,0.4), rgba(220,240,255,0.15));
  border: 1px dashed rgba(170,215,245,0.55);
  color: rgba(10,39,70,0.7);
  font-size: 13px;
  line-height: 1.35;
  cursor: default;
  user-select: text;
}
.qa-readonly-display strong {
  color: var(--aero-text);
  font-weight: 700;
}

/* ── Editor density pass — tighten the spacing between panels and rows so
      the editor reads as one cohesive surface, not a stack of bubbles. ── */
.qa-column .qa-panel { padding: 14px 16px; border-radius: 14px; }
.qa-column .qa-panel + .qa-panel { margin-top: 0; }
.qa-column .qa-panel-head { margin-bottom: 8px; }
.qa-column .qa-panel-head h2 { font-size: 14px; }
.ed-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px;
  padding: 0;
  border: none;
  background: none;
  color: var(--muted, #6b7280);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.ed-back-link:hover { color: var(--text, #111827); text-decoration: underline; }
.qa-column .qa-field { margin-bottom: 8px; }
.qa-column .qa-flab { margin-bottom: 4px; }
.qa-column .qa-row-split { gap: 8px; margin-bottom: 8px; }
.qa-column .qa-divider-2 { margin: 8px 0 6px; }
.qa-column .qa-input { padding: 7px 10px; font-size: 13px; }
.qa-column .qa-input[type="color"],
.qa-column .qa-input-color {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 3px;
}
.qa-column .qa-textarea { padding: 8px 10px; font-size: 12.5px; min-height: 60px; }
.qa-column .qa-help { margin-top: 4px; font-size: 10.5px; }
.qa-column .qa-subj-row { padding: 6px 10px; }
.qa-column .qa-subj-text { font-size: 12.5px; }
.qa-column .qa-amt-chip,
.qa-column .qa-type-chip,
.qa-column .qa-list-chip { padding: 5px 12px; font-size: 11.5px; }
/* Tighter title chip inside the editor too */
.qa-column .qa-tp { padding: 11px 14px; font-size: 14px; gap: 6px; }
.qa-column .qa-tp .tp-c { font-size: 16px; }
.qa-column .qa-tp .tp-d { font-size: 12.5px; }

/* Subject picker */
.qa-subj { display: flex; flex-direction: column; gap: 5px; }
.qa-subj-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.3));
  border: 1px solid rgba(170,215,245,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.qa-subj-row.picked {
  background: linear-gradient(180deg, rgba(212,255,150,0.6), rgba(150,220,90,0.25));
  border: 1px solid rgba(110,200,50,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 0 6px rgba(110,210,50,0.4);
}
.qa-subj-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(10,39,70,0.25);
  position: relative;
}
.qa-subj-row.picked .qa-subj-check {
  background: radial-gradient(circle at 30% 25%, #d8ffb0, #6ed02c 50%, #2c8d10 100%);
  border-color: rgba(40,120,20,0.5);
}
.qa-subj-row.picked .qa-subj-check::after {
  content: '';
  position: absolute;
  left: 4px; top: 7px;
  width: 4px; height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.qa-subj-text {
  font-size: 13px;
  color: #0a2746;
  line-height: 1.3;
  font-weight: 500;
}
.qa-subj-add {
  border: 0;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(10,39,70,0.65);
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.2));
  border: 1px dashed rgba(70,150,230,0.55);
  text-align: left;
}

/* Amount + Type chips share .qa-amt-row layout */
.qa-amt-row { display: flex; gap: 5px; flex-wrap: wrap; }
.qa-amt-chip {
  border: 0;
  cursor: pointer;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: rgba(10,39,70,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(220,240,255,0.45));
  border: 1px solid rgba(255,255,255,0.85);
}
.qa-amt-chip.on {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,0,0.45);
  background: linear-gradient(180deg, #95e2b2, #2f8856 50%, #226a3a 100%);
  border: 1px solid rgba(40,120,20,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 0 6px rgba(110,210,50,0.5);
}
.qa-amt-chip.custom {
  border: 1px dashed rgba(70,150,230,0.55);
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(220,240,255,0.2));
  color: rgba(10,39,70,0.65);
}
.qa-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.qa-half { margin-bottom: 0; }

.lp-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 8px;
  align-items: stretch;
}
.lp-form,
.lp-preview-col { min-width: 0; }
.lp-preview-frame {
  width: 100%;
  height: 720px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #111;
}
@media (max-width: 860px) {
  .lp-workspace {
    grid-template-columns: 1fr;
  }
  .lp-form { order: 1; }
  .lp-preview-col { order: 2; }
  .lp-preview-frame {
    height: min(70vh, 560px);
    margin-bottom: 12px;
  }
}

/* Signature sub-fields: avoid nested .qa-field box doubling */
.qa-field-stack > .qa-row-split { margin-bottom: 8px; }
.qa-split-cell { margin-bottom: 10px; }
.qa-field-stack > .qa-split-cell:last-child { margin-bottom: 0; }

.qa-type-chip {
  border: 0;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: rgba(10,39,70,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(220,240,255,0.45));
  border: 1px solid rgba(255,255,255,0.85);
  flex: 1;
}
.qa-type-chip.on {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,90,0.45);
  background: linear-gradient(180deg, #6dc1f0, #2387d6 50%, #1670c2 51%, #0d59a8);
  border: 1px solid rgba(20,90,160,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 0 6px rgba(70,150,230,0.5);
}

.qa-list-chip {
  border: 0;
  cursor: pointer;
  padding: 7px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(10,39,70,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(220,240,255,0.45));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
  flex: 1;
}
.qa-list-chip.on {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,0,0.45);
  background: linear-gradient(180deg, #95e2b2, #2f8856 50%, #226a3a);
  border: 1px solid rgba(40,120,20,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 0 6px rgba(110,210,50,0.5);
}
.qa-list-chip.disabled {
  color: rgba(10,39,70,0.32);
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(220,235,250,0.2));
  border: 1px dashed rgba(170,180,200,0.5);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(10,39,70,0.22);
}

.qa-divider-2 {
  height: 1px;
  margin: 14px 0 10px;
  background: linear-gradient(90deg, transparent, rgba(70,150,230,0.4) 20%, rgba(70,150,230,0.4) 80%, transparent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7);
}
.qa-block-h {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10,39,70,0.5);
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.qa-block-tag {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(10,39,70,0.45);
  font-style: italic;
  font-weight: 500;
}
.qa-help {
  font-size: 11px;
  color: rgba(10,39,70,0.5);
  font-style: italic;
  margin-top: 6px;
  line-height: 1.4;
}

/* Fixed bottom action bar (Back / Park / Process) — replaces bottom nav inside step views */
.qa-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 30;
  padding: 10px 16px max(14px, env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.78) 0%,
      rgba(255,255,255,0.45) 49%,
      rgba(220,240,255,0.32) 50%,
      rgba(255,255,255,0.55) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  border-top: 1px solid rgba(255,255,255,0.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 -4px 16px rgba(20,70,120,0.18);
}
.qa-bottom-actions {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 2fr;
  gap: 8px;
}
.qa-bb {
  border: 0;
  cursor: pointer;
  padding: 11px 14px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(220,240,255,0.45));
  border: 1px solid rgba(255,255,255,0.85);
  color: rgba(10,39,70,0.75);
  text-align: center;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}
.qa-bb.next {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,90,0.55);
  background: linear-gradient(180deg, #6dc1f0 0%, #2387d6 50%, #1670c2 51%, #0d59a8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 4px 12px rgba(15,75,150,0.4);
}

/* ── Iframe preview frame ──────────────────────────────────────── */

iframe {
  width: 100%;
  height: 600px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--aero-radius-md);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 4px 14px rgba(20,70,120,0.18);
}

/* ──────────────────────────────────────────────────────────────────────
   HTML done · Congrats screen — ported from signal-app-overview.html
   Aurora bubbles + spinning green medal + glassy summary card.
   ────────────────────────────────────────────────────────────────────── */

.cong-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 22px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cong-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.98) 0%, rgba(220,245,255,0.45) 30%, rgba(180,225,255,0.12) 60%, transparent 78%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 -3px 5px rgba(120,200,240,0.45), inset 0 1px 1px rgba(255,255,255,0.9), 0 1px 3px rgba(20,80,140,0.15);
  z-index: 1;
}
.cong-b1 { top: 60px;  left: 24px;  width: 28px; height: 28px; }
.cong-b2 { top: 100px; right: 30px; width: 18px; height: 18px; }
.cong-b3 { top: 280px; left: 40px;  width: 14px; height: 14px; }
.cong-b4 { top: 220px; right: 26px; width: 36px; height: 36px; }
.cong-b5 { bottom: 120px; left: 22px; width: 22px; height: 22px; }
.cong-b6 { bottom: 60px; right: 60px; width: 16px; height: 16px; }

.cong-medal {
  position: relative;
  width: 132px;
  height: 132px;
  margin-top: 12px;
  z-index: 2;
}
.cong-medal .cong-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(212,255,150,0.5), rgba(110,210,50,0.7), rgba(212,255,150,0.5));
  box-shadow: 0 0 30px rgba(110,210,50,0.7), 0 0 60px rgba(110,210,50,0.35);
  animation: cong-spin 8s linear infinite;
}
@keyframes cong-spin { to { transform: rotate(360deg); } }
.cong-medal .cong-check {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #d8ffb0, #6ed02c 50%, #2c8d10 100%);
  color: #fff;
  font-size: 64px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 3px rgba(0,60,0,0.5);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.5),
    inset 0 -2px 4px rgba(0,40,0,0.4),
    0 4px 12px rgba(20,70,20,0.45);
}

.cong-headline {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #2e8a07 0%, #6ed02c 50%, #2e8a07 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,0.85));
  margin: 0;
  text-align: center;
  z-index: 2;
}
.cong-sub {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: rgba(10,39,70,0.7);
  line-height: 1.4;
  text-shadow: 0 1px 0 rgba(255,255,255,0.85);
  margin-top: -4px;
  z-index: 2;
}

.cong-summary {
  width: 100%;
  padding: 16px 18px;
  z-index: 2;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--aero-radius-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 4px 14px rgba(20,70,120,0.15);
  backdrop-filter: blur(4px);
}
.cong-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(170,215,245,0.3);
}
.cong-row:last-child { border-bottom: 0; }
.cong-k {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10,39,70,0.5);
  font-weight: 700;
}
.cong-v {
  color: #0a2746;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cong-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,0,0.3);
  background: linear-gradient(180deg, #95e2b2, #2f8856);
  border: 1px solid rgba(40,120,20,0.4);
  box-shadow: 0 0 4px rgba(110,210,50,0.5);
  margin-right: 4px;
}

.cong-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  z-index: 2;
}
.cong-next {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 16px;
  border-radius: 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,90,0.55);
  background: linear-gradient(180deg, #6dc1f0 0%, #2387d6 50%, #1670c2 51%, #0d59a8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 1px rgba(0,30,80,0.4),
    0 1px 0 rgba(255,255,255,0.55),
    0 6px 14px rgba(15,75,150,0.4);
  position: relative;
  overflow: hidden;
}
.cong-next::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 49%;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
  border-radius: 15px 15px 0 0;
  pointer-events: none;
}
.cong-next:hover { filter: brightness(1.05); }
.cong-next:active { transform: translateY(1px); }
.cong-secondary {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 13px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #0a2746;
  background: rgba(255,255,255,0.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 2px 6px rgba(20,70,120,0.12);
}
.cong-secondary:hover { background: rgba(255,255,255,0.85); }
/* ──────────────────────────────────────────────────────────────────────
   Clients · Registry — colored client-code pills + glass rows.
   Matches the Frutiger Aero registry mockup.
   ────────────────────────────────────────────────────────────────────── */

.reg-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.clients-registry {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 18px 22px 20px;
  margin: 0;
}
.reg-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 12px;
  align-items: start;
}
.reg-index {
  min-width: 0;
  --reg-cols: 6;
  --reg-gap: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reg-editor { min-height: 280px; }
.reg-edit-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.reg-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
@media (max-width: 640px) {
  .reg-edit-grid { grid-template-columns: 1fr; }
}
.reg-list {
  display: grid;
  grid-template-columns: repeat(var(--reg-cols), minmax(0, 1fr));
  gap: var(--reg-gap);
}
@media (max-width: 1040px) {
  .reg-index { --reg-cols: 4; }
}

.reg-title {
  text-align: left;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: #0a2746;
  text-shadow: 0 2px 0 rgba(255,255,255,0.85);
}

.reg-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 2px 8px rgba(20,70,120,0.12);
  margin: 0;
}
.reg-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10,39,70,0.6);
  flex: 1 1 auto;
}
.reg-section-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 1px rgba(120,80,0,0.4);
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4d28a, #d49a3b);
  border: 1px solid rgba(170,120,40,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}
.reg-section-count {
  min-width: 28px;
  text-align: center;
  padding: 3px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6dc1f0, #1670c2);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(15,75,150,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 4px rgba(15,75,150,0.3);
  text-shadow: 0 1px 1px rgba(0,40,90,0.45);
}

.reg-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(220,238,252,0.55));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 3px 10px rgba(20,70,120,0.13);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: filter 0.15s ease, transform 0.1s ease;
  width: auto;
  min-width: 0;
  min-height: 78px;
  height: 100%;
  box-sizing: border-box;
}
.reg-row-add {
  align-items: flex-start;
  justify-content: space-between;
}
.reg-row:hover { filter: brightness(1.03); }
.reg-row:active { transform: translateY(1px); }
.reg-row.on {
  border-color: rgba(22,112,194,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 0 0 2px rgba(22,112,194,0.28);
}

.reg-code-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 10px;
  min-width: 44px;
  max-width: 100%;
  box-sizing: border-box;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -2px 4px rgba(0,0,0,0.25),
    0 2px 4px rgba(20,40,80,0.25);
  flex: 0 0 auto;
}

.reg-row-text { flex: 1 1 auto; min-width: 0; }
.reg-row-name {
  font-size: 12px;
  font-weight: 700;
  color: #0a2746;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.reg-row-sub {
  font-size: 12px;
  color: rgba(10,39,70,0.55);
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .qa-column.ws-page {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 110px;
  }
  .clients-registry {
    padding: 14px 12px 20px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(230,245,255,0.42) 100%);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: var(--aero-radius-lg);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.95),
      0 8px 28px rgba(20,70,120,0.16);
  }
  .reg-wrap {
    padding: 0;
    max-width: 100%;
  }
  .reg-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    width: 100%;
  }
  .reg-index,
  .reg-list,
  .reg-editor,
  .reg-section-header {
    width: 100%;
    max-width: 100%;
  }
  .reg-index { --reg-cols: 4; --reg-gap: 8px; }
  .reg-row,
  .reg-row-add {
    min-height: 0;
    height: auto;
    width: 100%;
    padding: 8px;
    gap: 5px;
    justify-content: flex-start;
    border-radius: 12px;
  }
  .reg-row-name { font-size: 11px; }
  .reg-code-pill {
    min-width: 0;
    padding: 3px 6px;
    font-size: 9px;
  }
  .reg-editor.ws-stage {
    min-height: 0;
    width: 100%;
    padding: 12px;
  }
  .reg-editor .ws-empty {
    padding: 16px 12px;
  }
  .reg-edit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .reg-index { --reg-cols: 3; --reg-gap: 7px; }
}
@media (max-width: 340px) {
  .reg-index { --reg-cols: 3; }
  .reg-code-pill { padding: 3px 5px; }
}

.reg-onboard-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,40,0,0.5);
  cursor: pointer;
  background: linear-gradient(180deg, #b8e898 0%, #5fb245 50%, #2c8d10 51%, #1f6a05 100%);
  border: 1px solid rgba(40,120,20,0.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 1px rgba(0,40,0,0.4),
    0 6px 14px rgba(40,120,20,0.4);
  position: relative;
  overflow: hidden;
}
.reg-onboard-btn::before {
  content: '';
  position: absolute;
  top: 1px; left: 1px; right: 1px; height: 49%;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
  border-radius: 17px 17px 0 0;
  pointer-events: none;
}
.reg-onboard-btn:hover { filter: brightness(1.05); }
.reg-onboard-btn:active { transform: translateY(1px); }

.reg-preview {
  margin: 0 0 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(230,244,255,0.7));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 2px 8px rgba(20,70,120,0.12);
}
.reg-preview-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.reg-preview-name {
  font-size: 13px;
  font-weight: 800;
  color: #0a2746;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reg-preview-from {
  font-size: 11px;
  color: rgba(10,39,70,0.7);
}
.reg-preview-signoff {
  font-size: 12px;
  font-style: italic;
  color: #0a2746;
}
.reg-preview-cta {
  align-self: flex-start;
  display: inline-block;
  border-radius: 6px;
  padding: 6px 12px;
  color: #fff;
  font: 700 11px/1 inherit;
  pointer-events: none;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 4px rgba(20,40,80,0.2);
}
.reg-preview-foot {
  font-size: 11px;
  font-weight: 600;
  color: rgba(10,39,70,0.62);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  text-align: center;
  line-height: 1.45;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid rgba(170,215,245,0.55);
}
.reg-preview-addr {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-weight: 700;
  color: #0a2746;
}
.reg-preview-copy,
.reg-preview-notice {
  font-weight: 500;
  color: rgba(10,39,70,0.62);
}
.reg-preview-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  color: #0a2746;
  text-decoration: underline;
}
.reg-preview-url {
  font-size: 11px;
  font-weight: 700;
  color: #1670c2;
  word-break: break-all;
  text-decoration: none;
}
.reg-pv-sep { opacity: 0.55; }
.reg-preview-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #0a2746;
}

.reg-subtabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.reg-subtab {
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.45);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: rgba(10,39,70,0.6);
  cursor: pointer;
  letter-spacing: 0.04em;
}
.reg-subtab.on {
  background: linear-gradient(180deg, #6dc1f0, #1670c2);
  color: #fff;
  border-color: rgba(15,75,150,0.5);
  text-shadow: 0 1px 1px rgba(0,40,90,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 4px rgba(15,75,150,0.3);
}

.cong-exit {
  border: 0;
  cursor: pointer;
  background: transparent;
  padding: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: rgba(10,39,70,0.55);
  text-decoration: underline;
  text-decoration-color: rgba(10,39,70,0.25);
  text-underline-offset: 3px;
  margin-top: 4px;
}

/* ── Batch hub ─────────────────────────────────────────────────────── */
.batch-column { display: flex; flex-direction: column; gap: 10px; max-width: 960px; margin: 0 auto; }
.batch-actions-top { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.batch-debug-btn { border-style: dashed; opacity: 0.85; font-size: 12px; }
.batch-config-details { margin-top: 8px; font-size: 12px; }
.batch-config-details summary { cursor: pointer; font-weight: 600; color: rgba(10,39,70,0.75); padding: 6px 0; }
.batch-table-panel .batch-row {
  border: 1px solid rgba(10,39,70,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.65);
}
.batch-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.batch-row-title { font-size: 14px; flex: 1 1 auto; min-width: 120px; }
.batch-type-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(10,39,70,0.5); background: rgba(10,39,70,0.06); padding: 2px 8px; border-radius: 999px;
}
.batch-row-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
@media (max-width: 640px) { .batch-row-fields { grid-template-columns: 1fr; } }
.batch-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.batch-field-wide { grid-column: 1 / -1; }
.batch-lab { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(10,39,70,0.5); }
.batch-row-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(10,39,70,0.08); }
.batch-status { display: flex; flex-wrap: wrap; gap: 4px; }
.batch-dot {
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: rgba(10,39,70,0.06); color: rgba(10,39,70,0.45);
}
.batch-dot.ok { background: rgba(40,140,60,0.12); color: #1a7030; }
.batch-dot.miss { background: rgba(180,80,20,0.08); color: rgba(120,60,10,0.7); }
.batch-dot.ready { background: rgba(40,100,200,0.15); color: #135ea5; text-transform: uppercase; letter-spacing: 0.06em; }
.batch-dot.opt { background: rgba(10,39,70,0.04); color: rgba(10,39,70,0.4); font-weight: 600; }
.batch-gfx-later { margin-top: 8px; font-size: 12px; }
.batch-gfx-later summary { cursor: pointer; color: rgba(10,39,70,0.55); font-weight: 600; padding: 4px 0; }
.qa-amt-chip.recur { font-size: 11px; letter-spacing: 0.02em; }
.qa-amt-chip.recur.on { background: rgba(40,140,60,0.16); border-color: rgba(40,140,60,0.5); color: #1a7030; font-weight: 700; }

.batch-import-panel { border-left: 3px solid rgba(40,140,60,0.35); }

/* Upload import — per-file progress while N extractions run in parallel */
.batch-up-progress { margin-top: 12px; }
.batch-up-summary {
  font-size: 12px;
  color: rgba(10,39,70,0.7);
  margin-bottom: 6px;
}
.batch-up-failct { color: #b4501e; font-weight: 700; }
.batch-up-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 260px;
  overflow-y: auto;
}
.batch-up-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(10,39,70,0.04);
}
.batch-up-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.batch-up-client {
  flex: 0 0 auto;
  font-weight: 700;
  color: rgba(10,39,70,0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}
.batch-up-state { flex: 0 0 auto; font-weight: 600; color: rgba(10,39,70,0.55); }
.batch-up-err {
  flex: 0 0 100%;
  color: #b4501e;
  font-size: 10px;
  line-height: 1.4;
}
.batch-up-row.extracting { background: rgba(40,100,200,0.1); }
.batch-up-row.extracting .batch-up-state { color: #135ea5; }
.batch-up-row.done { background: rgba(40,140,60,0.1); }
.batch-up-row.done .batch-up-state { color: #1a7030; }
.batch-up-row.failed { background: rgba(180,80,20,0.1); }
.batch-up-row.failed .batch-up-state { color: #b4501e; }
.batch-up-row.cancelled { opacity: 0.55; }
.batch-server-import summary { list-style: none; }
.batch-gfx-panel summary { list-style: none; }
.batch-subj-preview { font-size: 11px; flex: 1 1 200px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.batch-open { margin-left: auto; font-size: 11px; padding: 4px 10px; }
.batch-paste-gfx { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(10,39,70,0.08); }
.batch-select-all { margin-left: auto; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.batch-btn-hints { font-size: 11px; flex: 1 1 200px; }
.batch-btn-hints summary { cursor: pointer; color: rgba(10,39,70,0.65); font-weight: 600; }
.batch-btn-list { margin: 6px 0 0 16px; padding: 0; font-size: 11px; line-height: 1.5; }
.batch-row-check { flex: 0 0 auto; }
.batch-field-inline { flex: 0 0 auto; min-width: 88px; }
.batch-layout-hint {
  font-size: 10px;
  color: rgba(180, 100, 20, 0.85);
  font-weight: 600;
  white-space: nowrap;
}
.batch-field-inline select.qa-input { min-width: 0; padding-right: 24px; }

/* ── Tools + Distribution workspaces ────────────────────────────── */

.ws-page {
  max-width: 1180px;
  width: 100%;
  gap: 10px;
  padding-left: 8px;
  padding-right: 8px;
}
.ws-panel { padding-bottom: 18px; }
.ws-split {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.dist-split {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}
.dist-rail-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  color: #0a2746;
  line-height: 1.2;
}
.dist-pick-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 340px;
  overflow: auto;
}
.dist-pick {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 4px 4px 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(220,238,252,0.55));
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(20,70,120,0.1);
}
.dist-pick.on {
  border-color: rgba(22,112,194,0.55);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(22,112,194,0.28);
}
.dist-pick-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  text-align: left;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.dist-pick-del {
  flex: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5a7a96;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.dist-pick-del:hover {
  background: rgba(196, 50, 50, 0.12);
  color: #a32020;
}
.dist-pick-text { min-width: 0; display: flex; flex-direction: column; }
.dist-source {
  min-height: 160px;
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.45;
}
.dist-pick-name {
  font-size: 12px;
  font-weight: 700;
  color: #0a2746;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dist-campaign-frame {
  display: block;
  width: 100%;
  height: min(82vh, 900px);
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #dddddd;
}
@media (max-width: 860px) {
  .ws-split { grid-template-columns: 1fr; }
}
.ws-rail h3, .ws-stage-h h3 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aero-text-mid);
  margin: 14px 0 8px;
}
.ws-rail h3:first-child { margin-top: 0; }
.ws-rail .qa-label { margin-bottom: 8px; }
.ws-stage {
  min-height: 420px;
  padding: 14px;
  border-radius: var(--aero-radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(230,245,255,0.28) 100%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.ws-stage-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.ws-stage-h h3 { margin: 0; }
.ws-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--aero-text-mid);
}
.ws-empty strong { display: block; font-size: 16px; color: var(--aero-text); margin-bottom: 6px; }
.ws-embed { display: grid; gap: 12px; }

.ed-assist { margin: 4px 0 14px; }
.assist-shell { display: grid; gap: 12px; }
.assist-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.assist-head h2 {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--aero-text);
}
.assist-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--aero-text-mid);
}
.assist-head-r {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.assist-cols {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: start;
}
.assist-rail { display: grid; gap: 10px; }
.assist-card {
  padding: 14px 16px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(232,246,255,0.55) 100%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 22px rgba(20,70,120,0.12);
}
.assist-card-h {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.assist-card-h h3 {
  font-size: 15px;
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
  color: var(--aero-text);
  margin: 0;
}
.assist-card-h p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--aero-text-mid);
}
.assist-n {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #6ec4f4 0%, #1f8fd8 48%, #135ea5 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 8px rgba(20,70,120,0.28);
}
.assist-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.assist-count {
  display: block;
  text-align: right;
  font-size: 11px;
  color: var(--aero-text-faint);
  margin-top: 4px;
}
.assist-gen-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 4px;
}
.btn.assist-gen {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
  background: linear-gradient(180deg, #7fe8d4 0%, #3db8e8 42%, #2f9a6a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 4px 12px rgba(20,90,80,0.28);
  text-shadow: 0 1px 0 rgba(0,40,40,0.25);
}
.assist-stage {
  min-height: 420px;
  padding: 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(230,245,255,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px rgba(20,70,120,0.12);
  display: grid;
  gap: 12px;
}
.assist-stage-h h3 {
  margin: 0;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--aero-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.assist-stage-h p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--aero-text-mid);
}
.assist-eye { color: var(--aero-blue); }
.assist-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.assist-tab {
  border: 1px solid rgba(255,255,255,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(220,238,252,0.55));
  border-radius: 999px;
  padding: 7px 14px;
  font: 700 12px/1 inherit;
  color: var(--aero-text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff;
}
.assist-tab.on {
  color: #fff;
  background: linear-gradient(180deg, #5fb6f0, #135ea5);
  border-color: rgba(255,255,255,0.35);
}
.assist-mail {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.9);
}
.assist-mail-meta { font-size: 13px; margin-bottom: 4px; color: var(--aero-text); }
.assist-mail-body {
  width: 100%;
  min-height: 220px;
  margin-top: 10px;
  border: 0;
  background: transparent;
  font: 14px/1.55 inherit;
  color: var(--aero-text);
  resize: vertical;
}
.assist-assets { margin-top: 16px; }
.assist-assets h4, .cap-list h4 {
  font-size: 13px;
  margin: 0 0 8px;
  color: var(--aero-text);
}
.assist-asset-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.assist-asset-row figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.assist-asset-row img {
  display: block;
  width: 100%;
  height: 88px;
  object-fit: cover;
}
.assist-asset-row figcaption {
  padding: 6px 8px;
  font-size: 11px;
  background: rgba(255,255,255,0.92);
  color: var(--aero-text-mid);
}
.assist-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  padding-top: 4px;
}
.assist-lp-frame {
  width: 100%;
  min-height: 420px;
  border: 1px solid #d8e2ee;
  border-radius: 12px;
  background: #fff;
}
.cap-live {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.8fr);
  gap: 12px;
  align-items: start;
}
.cap-live img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 20px rgba(20,70,120,0.18);
}
.cap-live-meta {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.65);
  font-size: 12px;
  color: var(--aero-text-mid);
}
.cap-live-meta strong { display: block; color: var(--aero-text); margin-bottom: 4px; }
.cap-replace { margin-top: 8px; display: inline-flex; cursor: pointer; }
.cap-list { display: grid; gap: 8px; }
.cap-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
@media (max-width: 900px) {
  .assist-cols, .assist-duo, .cap-live { grid-template-columns: 1fr; }
}

.dest-row { display: flex; flex-wrap: wrap; gap: 6px; }
.dist-preview-stage .dest-row {
  justify-content: center;
  margin-top: 12px;
}
.dest-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(220,240,255,0.45));
  font: 700 12px/1 inherit;
  color: var(--aero-text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 1px 4px rgba(20,70,120,0.15);
}
.dest-pill .dest-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dest, var(--aero-blue));
  box-shadow: 0 0 6px var(--dest, var(--aero-blue));
}
.dest-pill.on {
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--dest, #2a8fdc) 80%, white), var(--dest, #135ea5));
  border-color: rgba(255,255,255,0.35);
}
.dest-pill .list-mark,
.dest-mini .list-mark,
.dist-preview-label .list-mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.95),
    0 0 8px color-mix(in srgb, var(--dest, #1f8fd8) 55%, transparent);
  background: radial-gradient(circle at 30% 26%, rgba(255,255,255,0.85), transparent 55%);
}
.dest-pill .list-mark svg,
.dest-mini .list-mark svg,
.dist-preview-label .list-mark svg {
  display: block;
  width: 22px;
  height: 22px;
}
.dest-pill-mark {
  padding-left: 8px;
  gap: 8px;
}
.dest-mini .list-mark {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}
.dest-mini .list-mark svg {
  width: 16px;
  height: 16px;
}
.dist-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dest, #135ea5);
}

.var-card, .file-card, .cap-card {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 14px rgba(20,70,120,0.12);
}
.var-card header, .file-card header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 8px;
}
.var-card iframe, .dist-preview iframe {
  width: 100%;
  height: 420px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
  margin-top: 8px;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(10,39,70,0.08);
  color: var(--aero-text-mid);
}
.status-chip.ok { background: rgba(40,140,60,0.16); color: #1a7030; }
.status-chip.warn { background: rgba(224,146,40,0.2); color: #9d5f0f; }
.dest-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--dest, #135ea5);
}

.drop-zone {
  padding: 18px 12px;
  text-align: center;
  border-radius: 14px;
  border: 1.5px dashed rgba(31,143,216,0.45);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.9), rgba(180,225,255,0.25));
}
.drop-zone.hot { border-color: #45ad65; box-shadow: 0 0 0 3px rgba(69,173,101,0.2); }
.dist-report {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
.dist-report.ok { background: rgba(40,140,60,0.14); color: #1a7030; }
.dist-report.warn { background: rgba(224,146,40,0.16); color: #9d5f0f; }
.dist-previews { display: grid; gap: 10px; margin-top: 10px; }

.cap-preview { display: grid; gap: 8px; }
.cap-card.pick { box-shadow: inset 0 0 0 1px #45ad65; }
.cap-card.over { box-shadow: inset 0 0 0 1px #e09228; }
.cap-lines {
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  font-size: 18px;
  color: var(--aero-text);
  margin-bottom: 8px;
}
.pitch-out { min-height: 280px; font-size: 13px; line-height: 1.55; }
.note-chip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.5);
  font-size: 12px;
}

.sim-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(10,40,70,0.28);
  backdrop-filter: blur(8px);
}
.sim-card {
  width: min(420px, calc(100vw - 32px));
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(210,240,255,0.75));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 20px 50px rgba(20,70,120,0.35);
}
.sim-banner {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9d5f0f;
  background: rgba(224,146,40,0.18);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.sim-card h2 { font-size: 20px; margin-bottom: 14px; }
.sim-steps { list-style: none; display: grid; gap: 10px; margin: 0 0 12px; }
.sim-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--aero-text-soft);
}
.sim-steps li.on { color: var(--aero-text); }
.sim-steps li.done { color: #1a7030; }
.sim-orb {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(10,39,70,0.15);
  box-shadow: inset 0 1px 1px #fff;
}
.sim-steps li.on .sim-orb {
  background: radial-gradient(circle at 30% 30%, #fff, #45b1ec 40%, #135ea5);
  box-shadow: 0 0 12px rgba(45,177,236,0.8);
  animation: simPulse 1s ease-in-out infinite;
}
.sim-steps li.done .sim-orb {
  background: radial-gradient(circle at 30% 30%, #d8ffb0, #45ad65);
}
@keyframes simPulse {
  50% { transform: scale(1.15); }
}
.batch-field-slug { flex: 1 1 160px; min-width: 120px; max-width: 280px; }
.batch-export-summary { font-size: 11px; color: rgba(10,39,70,0.55); margin-left: auto; }
.batch-bulk-summary {
  margin: 0 0 10px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.45;
  background: rgba(40,100,200,0.08);
  border-radius: 8px;
  color: rgba(10,39,70,0.75);
}
