@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap");

:root {
  color-scheme: light;
  --ci-ink: #16181d;
  --ci-stone: #4d5562;
  --ci-muted: #737c89;
  --ci-faint: #9ba4af;
  --ci-paper: #ffffff;
  --ci-canvas: #f4f6f8;
  --ci-line: #e2e6ea;
  --ci-line-strong: #cdd3da;
  --ci-espresso: #4a2f1d;
  --ci-espresso-dark: #2d1c11;
  --ci-blue: #2f74c0;
  --ci-blue-dark: #245d9c;
  --ci-blue-soft: #eaf2fb;
  --ci-green: #177245;
  --ci-green-soft: #e9f6ef;
  --ci-red: #a83b32;
  --ci-red-soft: #fff0ee;
  --ci-gold: #f0b429;
  --ci-shadow: 0 1px 2px rgb(22 24 29 / 0.04), 0 14px 36px rgb(22 24 29 / 0.08);
  --ci-shadow-hover: 0 2px 6px rgb(22 24 29 / 0.06), 0 22px 54px rgb(22 24 29 / 0.13);
  --ci-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  font-family: "Geist", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgb(159 202 242 / 0.34), transparent 30rem),
    linear-gradient(180deg, #eaf2fb 0%, #f6f9fc 34rem, #ffffff 58rem);
  background-attachment: fixed;
  color: var(--ci-ink);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

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

.ci-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgb(226 230 234 / 0.9);
  background: rgb(255 255 255 / 0.78);
  box-shadow: 0 1px 10px rgb(22 24 29 / 0.035);
  backdrop-filter: blur(22px) saturate(150%);
}

.ci-wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--ci-ink);
  text-decoration: none;
}

.ci-wordmark strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.ci-wordmark span {
  margin-top: 5px;
  color: var(--ci-stone);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ci-topnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ci-topnav a {
  padding: 8px 10px;
  color: var(--ci-stone);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}

.ci-topnav a:hover,
.ci-topnav a:focus-visible {
  color: var(--ci-ink);
  transform: translateY(-1px);
}

.ci-demo-ribbon {
  padding: 9px 18px;
  border-bottom: 1px solid #dbe8f6;
  background: var(--ci-blue-soft);
  color: var(--ci-blue-dark);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.ci-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 78px) 0 80px;
}

.ci-shell--wide {
  width: min(1320px, calc(100% - 36px));
}

.ci-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ci-blue-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ci-kicker::before {
  width: 30px;
  height: 2px;
  background: var(--ci-blue);
  content: "";
}

.ci-heading {
  max-width: 820px;
  margin: 16px 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.ci-heading--compact {
  font-size: clamp(34px, 5vw, 52px);
}

.ci-lede {
  max-width: 690px;
  margin: 0;
  color: var(--ci-stone);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}

.coverage-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  min-height: 520px;
}

.coverage-stage--short {
  min-height: 390px;
}

.coverage-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--ci-line);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.78);
  box-shadow: var(--ci-shadow);
  backdrop-filter: blur(22px) saturate(145%);
  transition: transform 220ms var(--ci-ease), box-shadow 220ms var(--ci-ease), border-color 220ms ease;
}

.coverage-card:hover {
  transform: translateY(-3px);
  border-color: rgb(47 116 192 / 0.24);
  box-shadow: var(--ci-shadow-hover);
}

.coverage-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.coverage-card > p {
  margin: 0;
  color: var(--ci-muted);
  font-size: 14px;
  line-height: 1.55;
}

.coverage-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.coverage-input {
  min-width: 0;
  flex: 1;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ci-line-strong);
  border-radius: 12px;
  background: var(--ci-paper);
  color: var(--ci-ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 2px rgb(22 24 29 / 0.04);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.coverage-input:focus {
  border-color: var(--ci-blue);
  outline: none;
  background: white;
  box-shadow: 0 0 0 4px rgb(47 116 192 / 0.11), inset 0 1px 2px rgb(22 24 29 / 0.03);
  transform: translateY(-1px);
}

.ci-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--ci-paper);
  color: var(--ci-ink);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 150ms ease, filter 150ms ease, background 150ms ease;
}

.ci-btn:hover {
  transform: translateY(-2px) scale(1.015);
}

.ci-btn:active {
  transform: scale(0.96);
  filter: brightness(0.94);
}

.ci-btn:focus-visible,
.choice-card:focus-visible,
.wizard-step:focus-visible {
  outline: 3px solid rgb(47 116 192 / 0.22);
  outline-offset: 2px;
}

.ci-btn--primary {
  background: var(--ci-espresso);
  color: white;
  box-shadow: 0 10px 22px rgb(74 47 29 / 0.2);
}

.ci-btn--blue {
  background: linear-gradient(135deg, var(--ci-blue) 0%, #6366f1 100%);
  color: white;
  box-shadow: 0 10px 24px rgb(47 116 192 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.28);
}

.ci-btn--ghost {
  border-color: var(--ci-line-strong);
  color: var(--ci-stone);
}

.ci-btn--block {
  width: 100%;
}

.coverage-status {
  min-height: 24px;
  margin: 14px 0 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  transform-origin: top;
}

.coverage-status--success,
.coverage-status--error {
  padding: 11px 12px;
  border-radius: 10px;
  animation: status-in 240ms var(--ci-ease);
}

.coverage-status--success {
  border: 1px solid #c9e8d7;
  background: var(--ci-green-soft);
  color: var(--ci-green);
}

.coverage-status--error {
  border: 1px solid #f0cbc7;
  background: var(--ci-red-soft);
  color: var(--ci-red);
}

.coverage-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.coverage-demo-actions button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ci-blue-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ci-trust-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ci-trust-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--ci-stone);
  font-size: 14px;
  line-height: 1.5;
}

.ci-trust-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--ci-blue-soft);
  color: var(--ci-blue-dark);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.accepted-flow {
  scroll-margin-top: 96px;
  padding-top: 42px;
}

.coverage-passbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid #c9e8d7;
  border-radius: 13px;
  background: var(--ci-green-soft);
  color: var(--ci-green);
  box-shadow: 0 8px 22px rgb(23 114 69 / 0.08);
}

.coverage-passbar strong {
  font-size: 14px;
}

.coverage-passbar span {
  color: #38684f;
  font-size: 13px;
}

.coverage-passbar button {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ci-green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-card {
  overflow: hidden;
  border: 1px solid var(--ci-line);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.82);
  box-shadow: var(--ci-shadow);
  backdrop-filter: blur(22px) saturate(140%);
}

.form-card__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--ci-line);
}

.form-card__head h2,
.form-card__head h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.form-card__head p {
  margin: 5px 0 0;
  color: var(--ci-muted);
  font-size: 13px;
}

.form-card__body {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.section-label {
  color: var(--ci-stone);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 140ms ease, transform 140ms ease;
}

.field label em {
  color: var(--ci-blue);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid var(--ci-line-strong);
  border-radius: 10px;
  background: var(--ci-paper);
  color: var(--ci-ink);
  outline: none;
  box-shadow: inset 0 1px 2px rgb(22 24 29 / 0.035);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease,
    transform 150ms var(--ci-ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ci-blue);
  background: white;
  box-shadow: 0 0 0 4px rgb(47 116 192 / 0.1), inset 0 1px 2px rgb(22 24 29 / 0.025);
  transform: translateY(-1px);
}

.field:focus-within label {
  color: var(--ci-blue-dark);
  transform: translateX(2px);
}

.field input:disabled,
.field input[readonly] {
  border-style: dashed;
  background: var(--ci-canvas);
  color: var(--ci-stone);
}

.field textarea {
  min-height: 94px;
  resize: vertical;
}

.field small,
.form-note {
  color: var(--ci-muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.section-block + .section-block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--ci-line);
}

.section-block h3 {
  margin: 0 0 14px;
  color: var(--ci-stone);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
  display: grid;
  min-height: 76px;
  gap: 4px;
  padding: 12px 13px;
  border: 1px solid var(--ci-line-strong);
  border-radius: 12px;
  background: var(--ci-paper);
  color: var(--ci-ink);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(22 24 29 / 0.03);
  transition:
    transform 140ms var(--ci-ease),
    border-color 140ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.choice-card:hover {
  border-color: var(--ci-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgb(22 24 29 / 0.08);
}

.choice-card.is-selected {
  border-color: var(--ci-blue);
  background: var(--ci-blue-soft);
  box-shadow: inset 0 0 0 1px var(--ci-blue);
  transform: translateY(-1px);
}

.choice-card strong {
  font-size: 13px;
}

.choice-card span {
  color: var(--ci-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.choice-card.is-selected span {
  color: var(--ci-blue-dark);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ci-line);
}

.form-actions .form-note {
  margin-right: auto;
}

.wizard-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.wizard-rail {
  padding: 24px 18px;
  border-right: 1px solid var(--ci-line);
  background: rgb(250 251 252 / 0.78);
}

.wizard-rail h3 {
  margin: 0 0 16px;
  color: var(--ci-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wizard-steps {
  display: grid;
  gap: 6px;
}

.wizard-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ci-muted);
  cursor: pointer;
  text-align: left;
  transition: color 140ms ease, background 140ms ease, transform 140ms var(--ci-ease);
}

.wizard-step:hover {
  transform: translateX(2px);
}

.wizard-step span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--ci-line-strong);
  border-radius: 999px;
  background: var(--ci-paper);
  font-size: 11px;
  font-weight: 850;
}

.wizard-step strong {
  font-size: 12.5px;
}

.wizard-step.is-active {
  background: var(--ci-blue-soft);
  color: var(--ci-blue-dark);
}

.wizard-step.is-active span {
  border-color: var(--ci-blue);
  background: var(--ci-blue);
  color: white;
}

.wizard-step.is-complete span {
  border-color: var(--ci-green);
  background: var(--ci-green);
  color: white;
}

.wizard-main {
  min-width: 0;
}

.wizard-panel {
  padding: 26px;
}

.wizard-panel__title {
  margin-bottom: 22px;
}

.wizard-panel__title h3 {
  margin: 0 0 5px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.wizard-panel__title p {
  margin: 0;
  color: var(--ci-muted);
  font-size: 13px;
}

.dashboard-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.panel-stack {
  display: grid;
  gap: 16px;
}

.summary-card {
  position: sticky;
  top: 88px;
  padding: 20px;
  border: 1px solid var(--ci-line);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.82);
  box-shadow: var(--ci-shadow);
  backdrop-filter: blur(22px) saturate(140%);
  transition: transform 180ms var(--ci-ease), box-shadow 180ms ease;
}

.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ci-shadow-hover);
}

.summary-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 750;
}

.summary-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--ci-line);
}

.summary-row span {
  color: var(--ci-muted);
  font-size: 12px;
}

.summary-row strong {
  max-width: 170px;
  font-size: 12.5px;
  text-align: right;
}

.summary-checks {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.summary-checks li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ci-stone);
  font-size: 12.5px;
}

.summary-checks li::before {
  color: var(--ci-green);
  content: "✓";
  font-weight: 900;
}

.single-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.single-page-head h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.single-page-head p {
  max-width: 460px;
  margin: 0;
  color: var(--ci-muted);
  font-size: 13px;
  line-height: 1.5;
}

.two-column-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column-form > .form-column {
  padding: 24px;
}

.two-column-form > .form-column + .form-column {
  border-left: 1px solid var(--ci-line);
}

.batch-progress {
  display: grid;
  min-width: 132px;
  gap: 3px;
  padding: 11px 14px;
  border: 1px solid var(--ci-line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.7);
  text-align: right;
}

.batch-progress span {
  color: var(--ci-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.batch-progress strong {
  color: var(--ci-ink);
  font-size: 14px;
}

.batch-progress b {
  color: var(--ci-blue-dark);
}

.batch-form {
  overflow: visible;
}

.batch-form__head {
  align-items: center;
  border-radius: 18px 18px 0 0;
  background: rgb(255 255 255 / 0.6);
}

.profile-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ci-stone);
}

.profile-pill > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--ci-blue-soft);
  color: var(--ci-blue-dark);
  font-size: 11px;
  font-weight: 900;
}

.profile-pill div,
.profile-pill strong,
.profile-pill small {
  display: block;
}

.profile-pill strong {
  font-size: 12px;
}

.profile-pill small {
  margin-top: 2px;
  color: var(--ci-muted);
  font-size: 10.5px;
}

.batch-columns > .form-column {
  padding-top: 20px;
  padding-bottom: 22px;
}

.batch-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid #d5e5f6;
  border-radius: 13px;
  background: var(--ci-blue-soft);
  color: var(--ci-blue-dark);
}

.batch-shortcut__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 12px rgb(47 116 192 / 0.12);
  font-size: 18px;
  font-weight: 800;
}

.batch-shortcut strong,
.batch-shortcut span {
  display: block;
}

.batch-shortcut strong {
  font-size: 12.5px;
}

.batch-shortcut span {
  margin-top: 3px;
  color: #4f6f91;
  font-size: 11.5px;
  line-height: 1.4;
}

.batch-submit-bar {
  position: sticky;
  bottom: 14px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 14px 14px;
  padding: 13px 14px;
  border: 1px solid rgb(205 211 218 / 0.9);
  border-radius: 15px;
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 16px 44px rgb(22 24 29 / 0.14);
  backdrop-filter: blur(22px) saturate(155%);
}

.carry-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  cursor: pointer;
}

.carry-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ci-blue);
}

.carry-toggle span,
.carry-toggle strong,
.carry-toggle small {
  display: block;
}

.carry-toggle strong {
  color: var(--ci-ink);
  font-size: 12.5px;
}

.carry-toggle small {
  margin-top: 2px;
  color: var(--ci-muted);
  font-size: 10.5px;
}

.batch-submit-bar__actions {
  display: flex;
  gap: 9px;
}

.batch-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  max-width: min(390px, calc(100vw - 44px));
  padding: 14px 16px;
  border: 1px solid #c9e8d7;
  border-radius: 13px;
  background: rgb(233 246 239 / 0.96);
  color: var(--ci-green);
  box-shadow: var(--ci-shadow-hover);
  font-size: 13px;
  font-weight: 750;
  backdrop-filter: blur(18px);
}

.batch-toast.is-showing {
  animation: toast-in 320ms var(--ci-ease) both;
}

.batch-form.is-resetting .two-column-form {
  animation: batch-refresh 380ms var(--ci-ease);
}

.compact-sections {
  display: grid;
  gap: 12px;
}

.compact-section {
  overflow: hidden;
  border: 1px solid var(--ci-line);
  border-radius: 15px;
  background: rgb(255 255 255 / 0.82);
  box-shadow: 0 8px 28px rgb(22 24 29 / 0.05);
  backdrop-filter: blur(18px) saturate(135%);
  transition: transform 180ms var(--ci-ease), box-shadow 180ms ease, border-color 180ms ease;
}

.compact-section:hover {
  transform: translateY(-2px);
  border-color: rgb(47 116 192 / 0.2);
  box-shadow: 0 14px 34px rgb(22 24 29 / 0.09);
}

.compact-section > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
  transition: background 150ms ease;
}

.compact-section > summary:hover {
  background: rgb(234 242 251 / 0.55);
}

.compact-section > summary::-webkit-details-marker {
  display: none;
}

.compact-section > summary::before {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 999px;
  background: var(--ci-blue-soft);
  color: var(--ci-blue-dark);
  content: attr(data-step);
  font-size: 11px;
  font-weight: 900;
}

.compact-section > summary span {
  margin-left: auto;
  color: var(--ci-muted);
  font-size: 11.5px;
  font-weight: 650;
}

.compact-section__body {
  padding: 2px 18px 20px 57px;
}

.mobile-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--ci-line);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.84);
  box-shadow: var(--ci-shadow);
  backdrop-filter: blur(18px);
}

.mobile-submit div {
  margin-right: auto;
}

.mobile-submit strong,
.mobile-submit span {
  display: block;
}

.mobile-submit strong {
  font-size: 13px;
}

.mobile-submit span {
  margin-top: 3px;
  color: var(--ci-muted);
  font-size: 11.5px;
}

.ci-footer {
  padding: 28px 18px;
  border-top: 1px solid var(--ci-line);
  background: var(--ci-paper);
  color: var(--ci-muted);
  font-size: 12px;
  text-align: center;
}

/* Manager-style motion: quick, tactile, and purposeful. */
.ci-topbar,
.coverage-stage > div,
.coverage-stage > .coverage-card {
  opacity: 0;
}

.ci-topbar {
  transform: translateY(-8px);
}

.coverage-stage > div {
  transform: translateY(14px);
}

.coverage-stage > .coverage-card {
  transform: translateY(18px) scale(0.985);
}

body.is-ready .ci-topbar {
  animation: page-enter 500ms var(--ci-ease) both;
}

body.is-ready .coverage-stage > div {
  animation: page-enter 620ms var(--ci-ease) 80ms both;
}

body.is-ready .coverage-stage > .coverage-card {
  animation: card-enter 650ms var(--ci-ease) 150ms both;
}

.accepted-flow.is-entering .coverage-passbar {
  animation: success-drop 420ms var(--ci-ease) both;
}

.accepted-flow.is-entering .form-card,
.accepted-flow.is-entering .single-page-head,
.accepted-flow.is-entering .dashboard-form {
  animation: card-enter 520ms var(--ci-ease) 70ms both;
}

.wizard-panel.is-entering {
  animation: panel-slide 260ms var(--ci-ease) both;
}

.choice-card.is-popping {
  animation: choice-pop 240ms var(--ci-ease);
}

.coverage-input.is-shaking {
  animation: input-shake 300ms ease;
}

.ci-btn.is-loading {
  cursor: wait;
  filter: saturate(0.86);
}

.ci-btn.is-loading::before {
  width: 14px;
  height: 14px;
  border: 2px solid rgb(255 255 255 / 0.45);
  border-top-color: white;
  border-radius: 999px;
  content: "";
  animation: spin 600ms linear infinite;
}

.compact-section[open] .compact-section__body {
  animation: panel-slide 220ms var(--ci-ease) both;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panel-slide {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes success-drop {
  0% {
    opacity: 0;
    transform: translateY(-9px) scale(0.98);
  }
  65% {
    transform: translateY(2px) scale(1.005);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes status-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scaleY(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes choice-pop {
  0% { transform: scale(1); }
  48% { transform: scale(0.965); }
  100% { transform: translateY(-1px) scale(1); }
}

@keyframes input-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes batch-refresh {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  48% {
    opacity: 0.42;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .coverage-stage,
  .dashboard-form {
    grid-template-columns: 1fr;
  }

  .coverage-stage {
    min-height: 0;
  }

  .summary-card {
    position: static;
  }

  .wizard-layout {
    grid-template-columns: 1fr;
  }

  .wizard-rail {
    border-right: 0;
    border-bottom: 1px solid var(--ci-line);
  }

  .wizard-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wizard-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .two-column-form {
    grid-template-columns: 1fr;
  }

  .two-column-form > .form-column + .form-column {
    border-top: 1px solid var(--ci-line);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .ci-topnav {
    display: none;
  }

  .ci-shell,
  .ci-shell--wide {
    width: min(100% - 24px, 1180px);
    padding-top: 32px;
  }

  .coverage-form,
  .form-actions,
  .mobile-submit,
  .single-page-head,
  .batch-submit-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .coverage-form {
    display: grid;
  }

  .coverage-passbar {
    align-items: start;
    flex-wrap: wrap;
  }

  .coverage-passbar button {
    margin-left: 0;
  }

  .form-grid,
  .form-grid--3,
  .choice-grid,
  .choice-grid--3 {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .form-actions .form-note {
    margin-right: 0;
  }

  .batch-progress {
    text-align: left;
  }

  .batch-submit-bar {
    position: static;
    margin: 0 10px 10px;
  }

  .carry-toggle {
    margin-right: 0;
  }

  .batch-submit-bar__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-pill div {
    display: none;
  }

  .ci-btn {
    width: 100%;
  }

  .wizard-panel,
  .form-card__body,
  .two-column-form > .form-column {
    padding: 18px;
  }

  .compact-section__body {
    padding: 0 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .ci-topbar,
  .coverage-stage > div,
  .coverage-stage > .coverage-card {
    opacity: 1;
    transform: none;
  }
}

@media (scripting: none) {
  .ci-topbar,
  .coverage-stage > div,
  .coverage-stage > .coverage-card {
    opacity: 1;
    transform: none;
  }
}
