:root {
  --bg: #07101c;
  --ink: #f7f3ea;
  --muted: #d5deea;
  --soft: #b7c5d6;
  --line: rgba(247, 243, 234, 0.16);
  --card: rgba(9, 16, 32, 0.94);
  --gold: #ffd56a;
  --gold-deep: #1b1408;
  --peach: #ffb085;
  --coral: #ff8f6b;
  --mint: #b6f3d4;
  --sky: #9ad7ff;
  --header: 4.25rem;
  --sans: "Segoe UI", "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  --display: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--gold-deep);
  padding: .6rem 1rem;
  border-radius: 999px;
  z-index: 50;
}
.skip:focus { top: .6rem; }

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(86, 112, 196, 0.35), transparent 60%),
    radial-gradient(700px 480px at -10% 100%, rgba(196, 98, 64, 0.22), transparent 55%),
    linear-gradient(180deg, #050914 0%, #0b1733 48%, #07101c 100%);
}
.stars, .stars-b { position: absolute; inset: -10%; background-repeat: repeat; }
.stars {
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.4px 1.4px at 64% 22%, #fff, transparent),
    radial-gradient(1px 1px at 82% 64%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.6px 1.6px at 46% 48%, rgba(255, 230, 180, .95), transparent),
    radial-gradient(1px 1px at 90% 12%, #fff, transparent),
    radial-gradient(1px 1px at 8% 88%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.3px 1.3px at 54% 86%, #fff, transparent);
  background-size: 420px 360px;
  opacity: .85;
}
.stars-b {
  background-image:
    radial-gradient(1px 1px at 18% 40%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 36%, rgba(180, 220, 255, .95), transparent),
    radial-gradient(1px 1px at 40% 16%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 88% 80%, #fff, transparent);
  background-size: 520px 440px;
  animation: twinkle 5.5s ease-in-out infinite;
}
.planet { position: absolute; border-radius: 50%; }
.planet-1 {
  width: 220px; height: 220px; right: -70px; top: 90px;
  background: radial-gradient(circle at 32% 32%, #ffe1bf, #e28755 42%, #6d3148 76%);
  box-shadow: inset -24px -16px 40px rgba(0, 0, 0, .35), 0 0 40px rgba(255, 176, 120, .18);
}
.planet-2 {
  width: 140px; height: 140px; left: -46px; bottom: 14%;
  background: radial-gradient(circle at 32% 30%, #dff6ff, #3f86b0 46%, #173154 78%);
  box-shadow: inset -16px -10px 24px rgba(0, 0, 0, .35);
}
.planet-2 .ring {
  position: absolute; left: -36%; top: 40%; width: 172%; height: 26px;
  border: 7px solid rgba(198, 232, 255, .55); border-radius: 50%; transform: rotate(-16deg);
}
.planet-3 {
  width: 54px; height: 54px; right: 12%; bottom: 18%;
  background: radial-gradient(circle at 30% 30%, #fff1c2, #e2a45c 62%, #8a5424);
}
@keyframes twinkle { 50% { opacity: .55; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .stars-b, .robot-float svg { animation: none; }
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: var(--header); padding: .6rem 1rem;
  background: rgba(7, 16, 28, .86);
  border-bottom: 1px solid rgba(247, 243, 234, .08);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--display); font-size: 1.35rem;
}
.brand small {
  display: block; font-family: var(--sans); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.nav, .tabbar { display: none; }
body.is-guest .tabbar, body.is-in .tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; gap: .15rem;
  padding: .35rem .35rem calc(.4rem + env(safe-area-inset-bottom));
  background: rgba(7, 16, 28, .94);
  border-top: 1px solid rgba(247, 243, 234, .1);
  backdrop-filter: blur(14px);
}
body.is-guest .tabbar { grid-template-columns: repeat(3, 1fr); }
body.is-in .tabbar { grid-template-columns: repeat(5, 1fr); }
.tabbar a, .nav a, .account-link {
  color: var(--muted); text-decoration: none; text-align: center;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  min-height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.nav a[hidden], .tabbar a[hidden] { display: none !important; }
.tabbar a[aria-current="page"], .nav a[aria-current="page"] { color: var(--gold-deep); background: var(--gold); }
.account-link { display: none; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 999px; min-height: 40px; }
body.is-guest, body.is-in { padding-bottom: calc(4.8rem + env(safe-area-inset-bottom)); }
body.is-guest .account-link { display: inline-flex; }
.auth-why { margin: 0 0 1rem; color: var(--ink); line-height: 1.45; }
.auth-why strong { color: var(--gold); }
@media (min-width: 900px) {
  body.is-guest, body.is-in { padding-bottom: 0; }
  body.is-guest .tabbar, body.is-in .tabbar { display: none; }
  body.is-guest .desktop-nav, body.is-in .desktop-nav { display: flex; gap: .25rem; }
  body.is-guest .account-link, body.is-in .account-link { display: inline-flex; }
  .nav a { font-size: .95rem; padding: .35rem .7rem; }
}

.wrap { width: min(1080px, calc(100% - 1.5rem)); margin: 0 auto; }
.page { padding: 1.2rem 0 2rem; }
.hero-grid, .split { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.3fr .7fr; align-items: center; }
  .split { grid-template-columns: 1fr 1fr; }
}
.kicker {
  margin: 0 0 .35rem; color: var(--gold); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .55rem; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
.dek { margin: 0 0 1rem; color: var(--muted); }
.fine { color: var(--soft); font-size: .92rem; }
.robot-float { width: min(220px, 60vw); margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.robot-float svg { display: block; width: 100%; height: auto; animation: bob 5.2s ease-in-out infinite; }

.stack { display: grid; gap: .75rem; }
.card, .agent, .package, .connect-card, .bubble-row {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.card, .connect-card { padding: 1rem; }
.row { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn, .path-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .7rem 1rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; font-weight: 700;
}
.btn-gold { background: linear-gradient(180deg, #ffe08a, #f0b429); color: var(--gold-deep); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-small { min-height: 40px; padding: .4rem .8rem; font-size: .92rem; }
.path-switch, .chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.path-switch button, .chip {
  min-height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--ink); padding: .4rem .85rem; cursor: pointer;
}
.path-switch button[aria-pressed="true"], .chip[aria-pressed="true"], .package[aria-pressed="true"],
.package[aria-pressed="true"] strong,
.package[aria-pressed="true"] em,
.package[aria-pressed="true"] span {
  background: var(--gold); color: var(--gold-deep); border-color: var(--gold);
}
.packages { display: grid; gap: .7rem; }
@media (min-width: 800px) { .packages { grid-template-columns: 1fr 1fr; } }
.package {
  text-align: left; padding: 1rem; cursor: pointer; color: inherit; width: 100%;
}
.package strong { display: block; font-family: var(--display); font-size: 1.25rem; }
.package em { display: block; margin-top: .35rem; font-style: normal; color: var(--gold); font-weight: 700; }
.package span { display: block; margin-top: .3rem; color: var(--muted); font-size: .95rem; }

fieldset.card { margin: 0; }
legend h2 { margin: 0; }
.field { display: grid; gap: .3rem; margin-bottom: .75rem; }
.field span { font-size: .88rem; color: var(--soft); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border-radius: 14px;
  border: 1px solid var(--line); background: #0c1424; font-size: 1rem;
}
textarea { min-height: 4.5rem; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .35rem 0; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: #e2b340; }

.banner {
  border-radius: 14px; padding: .75rem .9rem; margin: 0 0 .9rem;
  background: rgba(255, 213, 106, .12); border: 1px solid rgba(255, 213, 106, .4);
}
.banner.error { background: rgba(255, 143, 107, .12); border-color: rgba(255, 143, 107, .5); }
.banner p { margin: 0; }

.agent {
  display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start;
  padding: .8rem .9rem; margin: .5rem 0; cursor: pointer;
}
.agent.is-on { border-color: var(--gold); }
.agent p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.agent input { margin-top: .25rem; width: 1.15rem; height: 1.15rem; accent-color: #e2b340; }
.cat { margin: 1.1rem 0 .2rem; }
.pill, .status {
  display: inline-flex; align-items: center; min-height: 1.6rem; padding: 0 .55rem;
  border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.tier-standard { background: rgba(154, 215, 255, .16); color: var(--sky); }
.tier-plus { background: rgba(255, 213, 106, .16); color: var(--gold); }
.tier-pro { background: rgba(255, 143, 107, .16); color: var(--coral); }
.status-live { background: rgba(182, 243, 212, .16); color: var(--mint); }
.status-setting_up { background: rgba(255, 213, 106, .16); color: var(--gold); }
.status-needs_details { background: rgba(154, 215, 255, .16); color: var(--sky); }
.status-needs_connection { background: rgba(255, 176, 133, .16); color: var(--peach); }
.counts { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }

.builder-layout { display: block; }
.summary {
  position: fixed; left: .75rem; right: .75rem; z-index: 8;
  bottom: calc(4.5rem + env(safe-area-inset-bottom));
  padding: .85rem 1rem; border-radius: 18px;
  background: #10182a; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.summary .totals { display: flex; justify-content: space-between; gap: .75rem; }
.summary strong { font-family: var(--display); font-size: 1.25rem; }
.summary .btn { width: 100%; margin-top: .6rem; }
.summary .picks { list-style: none; margin: .65rem 0 0; padding: 0; max-height: 14rem; overflow: auto; }
.summary .picks li { display: flex; justify-content: space-between; gap: .5rem; font-size: .82rem; line-height: 1.3; padding: .28rem 0; border-bottom: 1px solid var(--line); }
.summary .picks li span:last-child { color: var(--soft); white-space: nowrap; }
@media (max-width: 899px) {
  .page.has-summary { padding-bottom: 11rem; }
  .summary .note { display: none; }
  .summary .picks { max-height: 5.5rem; }
}
@media (min-width: 900px) {
  .builder-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; align-items: start; }
  .summary { position: sticky; top: 5.2rem; left: auto; right: auto; bottom: auto; }
  .page.has-summary { padding-bottom: 2rem; }
}

.connect-grid { display: grid; gap: .7rem; }
@media (min-width: 700px) { .connect-grid { grid-template-columns: 1fr 1fr; } }
.connect-card h3 { margin-bottom: .15rem; }
.dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--soft); display: inline-block; }
.dot.on { background: var(--mint); }

.talk { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.talk a, .talk span {
  border: 1px solid var(--line); border-radius: 999px; padding: .25rem .65rem;
  text-decoration: none; color: var(--ink); font-size: .85rem;
}
.talk .off { opacity: .6; }

.thread { display: grid; gap: .55rem; margin: .8rem 0 1rem; }
.bubble { max-width: 38rem; padding: .75rem .9rem; border-radius: 16px; }
.bubble.user { margin-left: auto; background: rgba(255, 213, 106, .16); border: 1px solid rgba(255, 213, 106, .35); }
.bubble.agent { background: var(--card); border: 1px solid var(--line); }
.bubble p { margin: 0; white-space: pre-wrap; }
.composer { display: grid; gap: .5rem; }
@media (min-width: 700px) {
  .composer { grid-template-columns: 1fr auto; align-items: end; }
}

.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.lines li { display: flex; justify-content: space-between; gap: .75rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.activity { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.activity li { color: var(--muted); }
.activity strong { color: var(--ink); font-weight: 650; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.steps li { padding: .85rem 1rem; }
.steps em { display: block; font-style: normal; color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.offer-block { margin: 1.5rem 0; }
.offer-tier { display: flex; flex-direction: column; gap: .4rem; }
.offer-tier em { font-style: normal; font-weight: 600; }
.offer-tier .btn { margin-top: auto; align-self: flex-start; }

/* Busy / saved states: a small orbit around the button label */
.btn.is-busy { position: relative; opacity: 1; cursor: progress; padding-left: 2.6rem; }
.btn.is-busy::before {
  content: ""; position: absolute; left: .9rem; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -.55rem;
  border: 2px dashed rgba(27, 20, 8, .35); border-radius: 50%;
  animation: orbit-spin 1.1s linear infinite;
}
.btn.is-busy::after {
  content: ""; position: absolute; left: .9rem; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -.55rem;
  animation: orbit-spin 1.1s linear infinite;
  background: radial-gradient(circle at 50% 0, var(--gold-deep) 0 2.5px, transparent 3px);
}
.btn-ghost.is-busy::before { border-color: rgba(247, 243, 234, .4); }
.btn-ghost.is-busy::after { background: radial-gradient(circle at 50% 0, var(--gold) 0 2.5px, transparent 3px); }
.btn.is-saved { background: linear-gradient(180deg, #d4f9e6, var(--mint)); color: #08281a; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.banner.flash { animation: banner-flash 1.4s ease-out 1; }
@keyframes banner-flash {
  0% { box-shadow: 0 0 0 0 rgba(255, 213, 106, .85); }
  70% { box-shadow: 0 0 0 14px rgba(255, 213, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 213, 106, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-busy::before, .btn.is-busy::after { animation-duration: 3s; }
  .banner.flash { animation: none; }
}

.reqs { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.req { border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; display: grid; gap: .5rem; }
.req.done { border-color: rgba(182, 243, 212, .4); }
.req .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.other-accounts { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1rem; }
.other-accounts summary { cursor: pointer; font-weight: 700; color: var(--gold); }
.other-accounts[open] summary { margin-bottom: .75rem; }

/* Live activity: a step-by-step look at what the client's agent is doing */
.live-activity {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 213, 106, .07), rgba(9, 16, 32, .35));
}
.live-activity-head {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: .9rem;
}
.live-orbit {
  position: relative;
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  margin-top: .15rem;
}
.live-orbit-ring, .live-orbit-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.live-orbit-ring { border: 2px dashed rgba(255, 213, 106, .45); }
.live-orbit-dot { background: radial-gradient(circle at 50% 0, var(--gold) 0 3px, transparent 3.5px); }
.live-orbit.is-running .live-orbit-ring,
.live-orbit.is-running .live-orbit-dot { animation: orbit-spin 1.1s linear infinite; }
.live-orbit.is-idle .live-orbit-ring { border-style: solid; border-color: rgba(247, 243, 234, .22); }
.live-orbit.is-idle .live-orbit-dot { background: radial-gradient(circle at 50% 50%, var(--soft) 0 3px, transparent 3.5px); }
.live-orbit.is-done .live-orbit-ring { border-style: solid; border-color: rgba(182, 243, 212, .6); }
.live-orbit.is-done .live-orbit-dot { background: radial-gradient(circle at 50% 50%, var(--mint) 0 5px, transparent 5.5px); }
.live-orbit.is-waiting .live-orbit-ring {
  border-style: solid;
  border-color: rgba(255, 213, 106, .6);
  animation: live-pulse 1.8s ease-in-out infinite;
}
.live-orbit.is-error .live-orbit-ring { border-style: solid; border-color: rgba(255, 143, 107, .75); }
.live-orbit.is-error .live-orbit-dot { background: radial-gradient(circle at 50% 50%, var(--coral) 0 5px, transparent 5.5px); }
.live-kicker { margin: 0; }
.live-title { margin: .15rem 0 .2rem; font-size: 1.2rem; font-family: var(--display); }
.live-now { margin: 0; color: var(--gold); font-weight: 650; }
.live-steps {
  list-style: none;
  margin: 0 0 .9rem;
  padding: 0;
}
.live-steps li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: .7rem;
  align-items: start;
  position: relative;
  padding: .42rem 0;
}
.live-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: .68rem;
  top: 1.5rem;
  bottom: -.1rem;
  width: 1px;
  background: var(--line);
}
.live-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 800;
  background: var(--card);
  position: relative;
  z-index: 1;
  color: var(--soft);
}
.live-steps .is-done .live-mark {
  border-color: rgba(182, 243, 212, .7);
  background: rgba(182, 243, 212, .16);
  color: var(--mint);
}
.live-steps .is-running .live-mark {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 213, 106, .16);
  animation: live-pulse 1.6s ease-in-out infinite;
}
.live-steps .is-running .live-mark::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 213, 106, .65);
  animation: orbit-spin 1.1s linear infinite;
}
.live-steps .is-error .live-mark {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(255, 143, 107, .12);
}
.live-step-label { font-weight: 650; }
.live-steps .is-pending .live-step-label { color: var(--soft); font-weight: 500; }
.live-step-detail { display: block; color: var(--muted); font-size: .9rem; }
.live-feed {
  list-style: none;
  margin: 0;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: .45rem;
  background: rgba(0, 0, 0, .18);
  max-height: 12.5rem;
  overflow: auto;
}
.live-feed li { color: var(--muted); font-size: .92rem; }
.live-feed .is-running { color: var(--ink); }
.live-feed time { display: block; color: var(--soft); font-size: .78rem; }
.live-docs {
  margin: 0 0 .95rem;
  padding: .85rem .95rem;
  border: 1px solid rgba(255, 213, 106, .45);
  border-radius: 14px;
  background: rgba(255, 213, 106, .1);
}
.live-docs-label { margin: 0 0 .65rem; color: var(--ink); font-weight: 650; }
.live-docs-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.live-doc-btn { display: inline-flex; text-decoration: none; }
.live-idle { margin: .8rem 0 0; color: var(--muted); }
.live-idle strong { color: var(--ink); }
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 213, 106, .3); }
  50% { box-shadow: 0 0 0 8px rgba(255, 213, 106, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-orbit-ring, .live-orbit-dot,
  .live-steps .is-running .live-mark,
  .live-steps .is-running .live-mark::after,
  .live-orbit.is-waiting .live-orbit-ring { animation-duration: 3s; }
}

.live-idle .live-next-detail { display:block; margin-top:.25rem; }
.help-desk { display: grid; gap: .75rem; margin-top: 1.5rem; }
.help-desk h2 { font-size: 1.45rem; }

/* In-page lead approvals on the Live activity card */
.live-approvals {
  margin: 0 0 .9rem;
  padding: .85rem .9rem;
  border: 1px solid rgba(255, 213, 106, .45);
  background: rgba(255, 213, 106, .1);
  border-radius: 14px;
}
.live-approvals-label { margin: 0 0 .25rem; font-weight: 700; }
.live-approvals-hint { margin: 0 0 .7rem; }
.live-leads { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.live-lead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .7rem;
  align-items: start;
  padding: .65rem .1rem;
  border-top: 1px solid var(--line);
}
.live-lead:first-child { border-top: 0; padding-top: 0; }
.live-lead-name { display: block; }
.live-lead-meta { display: block; color: var(--muted); font-size: .9rem; }
.live-lead-preview { margin: .35rem 0 0; color: var(--soft); font-size: .88rem; line-height: 1.4; }
.live-lead-actions, .live-approvals-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.live-approvals-actions { margin-top: .75rem; }
.live-approvals-error { margin: .55rem 0 0; color: var(--coral); font-weight: 650; }
@media (max-width: 640px) {
  .live-lead { grid-template-columns: 1fr; }
}

.live-approvals.is-auto { border-color: rgba(255, 213, 106, .7); }
.live-approvals-disclaimer { margin: .2rem 0 .6rem; font-size: .92rem; line-height: 1.45; }
.live-approvals-confirm {
  margin: .7rem 0;
  padding: .75rem .8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 213, 106, .7);
  background: rgba(255, 213, 106, .16);
}
.live-lead-status { color: var(--muted); font-size: .9rem; font-weight: 650; }

/* Approvals: one Send button + a differently colored Approve all with its disclaimer. */
.live-approvals-two .btn { flex: 1 1 12rem; justify-content: center; }
.btn-approve-all { background: transparent; border: 2px solid var(--sky); color: var(--sky); font-weight: 750; }
.btn-approve-all:hover:not(:disabled) { background: rgba(154, 215, 255, .12); }
.btn-approve-all.is-on { border-color: var(--mint); color: var(--mint); }
.live-approve-all-note { margin: .5rem 0 0; color: var(--soft); font-size: .82rem; line-height: 1.4; }
.live-batch { margin: .25rem 0 .5rem; }
.live-batch summary { cursor: pointer; color: var(--gold); font-weight: 700; margin-bottom: .5rem; }
