:root {
  color-scheme: light;
  --app-header-offset: 280px;
  --bg: #edf4f8;
  --panel: #ffffff;
  --panel-soft: #e7f0f5;
  --panel-alt: #f4f8fb;
  --line: rgba(21, 54, 79, 0.12);
  --line-strong: rgba(21, 54, 79, 0.22);
  --text: #122434;
  --muted: #61778a;
  --accent: #5ba8d6;
  --accent-strong: #2f7aa4;
  --accent-warm: #d4a35a;
  --accent-soft: rgba(91, 168, 214, 0.12);
  --accent-coral: #e1885d;
  --accent-green: #7dbd74;
  --brand-accent-start: #f2bd62;
  --brand-accent-end: #e07b66;
  --success: #9fd4b8;
  --warning: #d7be8a;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 18px 42px rgba(37, 64, 86, 0.12);
  font-family: "Aptos", "Segoe UI Variable", "Helvetica Neue", sans-serif;
  --brand-display: "Aptos Display", "Segoe UI Variable", "Helvetica Neue", sans-serif;
  --brand-accent-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.app-shell--landing {
  background:
    radial-gradient(circle at top, rgba(33, 102, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #fcfdff 0%, #f7f9fc 52%, #f3f6fa 100%);
}

.app-shell--landing .landing-content {
  width: min(1120px, calc(100vw - 40px));
  padding-top: 28px;
}

.landing-shell--v4 {
  display: grid;
  gap: 28px;
  color: #0f1f33;
}

.landing-shell--v4 .eyebrow {
  color: #4d6176;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-v4-topbar,
.landing-v4-topbar__brandline,
.landing-v4-topbar__nav,
.landing-v4-topbar__actions,
.landing-v4-hero,
.landing-v4-hero__copy,
.landing-v4-section,
.landing-v4-section__head,
.landing-v4-brand-mark,
.landing-v4-feature-card,
.landing-v4-panel,
.landing-v4-cta,
.landing-v4-cta__copy,
.landing-v4-shot-card__copy,
.landing-v4-stage-stack,
.landing-v4-stage-note,
.landing-v4-stage-mini,
.landing-v4-stage-mini__copy,
.landing-v4-stage-float,
.landing-v4-stage-inline,
.landing-v4-metric {
  display: grid;
}

.landing-v4-topbar {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 0;
}

.landing-v4-topbar__brandline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

.landing-v4-topbar__brand {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
}

.landing-v4-topbar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.landing-v4-topbar__nav-link {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5d7184;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 160ms ease;
}

.landing-v4-topbar__nav-link:hover,
.landing-v4-topbar__nav-link:focus-visible {
  color: #0f1f33;
}

.landing-v4-topbar__logo {
  display: block;
  width: clamp(176px, 18vw, 230px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(17, 31, 44, 0.12));
}

.landing-v4-topbar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.landing-shell--v4 .landing-locale__option,
.landing-shell--v4 .session-chip--landing {
  min-height: 44px;
  border-color: #dde5ee;
  background: #fff;
  box-shadow: none;
}

.landing-shell--v4 .session-chip--landing-action {
  cursor: pointer;
}

.landing-v4-hero,
.landing-v4-section,
.landing-v4-cta {
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 31, 51, 0.04);
}

.landing-v4-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 44px;
  padding: 46px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 251, 254, 1));
}

.landing-v4-hero__copy {
  gap: 18px;
  max-width: none;
  margin: 0;
  text-align: left;
}

.landing-v4-hero__copy h1,
.landing-v4-section__head h2,
.landing-v4-cta__copy h2 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.landing-v4-hero__copy h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 5.2vw, 5rem);
}

.landing-v4-hero__copy > p,
.landing-v4-section__head > p,
.landing-v4-feature-card p,
.landing-v4-shot-card__copy p,
.landing-v4-stage-float p,
.landing-v4-stage-inline p,
.landing-v4-panel__statement,
.landing-v4-panel__footnote,
.landing-v4-cta__copy p,
.landing-v4-cta__copy small,
.landing-shell--v4 .landing-step-card p,
.landing-shell--v4 .landing-output-card p,
.landing-shell--v4 .landing-usecase p,
.landing-shell--v4 .landing-faq__item p,
.landing-shell--v4 .landing-legal__head p,
.landing-shell--v4 .landing-legal__foot,
.landing-shell--v4 .landing-legal__list span {
  margin: 0;
  color: #5e7084;
  line-height: 1.62;
}

.landing-v4-hero__copy > p {
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.7;
}

.landing-shell--v4 .landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.landing-shell--v4 .landing-actions .button--hero,
.landing-shell--v4 .landing-actions .button--ghost,
.landing-shell--v4 .landing-final__actions .button--hero,
.landing-shell--v4 .landing-final__actions .button--ghost {
  min-height: 52px;
  min-width: 216px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
  text-shadow: none;
}

.landing-shell--v4 .landing-actions .button--hero,
.landing-shell--v4 .landing-final__actions .button--hero {
  border-color: transparent;
  background: linear-gradient(180deg, #1f5eff, #1a4fd5);
  color: #fff;
  box-shadow: 0 14px 26px rgba(33, 102, 255, 0.18);
}

.landing-shell--v4 .landing-actions .button--ghost,
.landing-shell--v4 .landing-final__actions .button--ghost {
  border-color: rgba(17, 31, 44, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: #0f1f33;
}

.landing-shell--v4 .utility-links {
  justify-content: flex-start;
  gap: 10px 14px;
}

.landing-shell--v4 .utility-link {
  color: #5f7287;
  font-size: 0.79rem;
}

.landing-shell--v4 .utility-link:hover {
  color: #0f1f33;
}

.landing-shell--v4 .landing-chip-grid--landing {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.landing-v4-brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 0;
}

.landing-v4-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: none;
}

.landing-v4-brand-mark strong {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.1;
  letter-spacing: 0;
  color: #56687c;
}

.landing-shell--v4 .landing-chip {
  min-height: 40px;
  padding: 0 15px;
  border-color: rgba(17, 31, 44, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: #506476;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.landing-v4-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
}

.landing-v4-metric {
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(17, 31, 44, 0.05);
}

.landing-v4-metric span,
.landing-v4-stage-note span,
.landing-v4-stage-mini__copy span,
.landing-v4-stage-float span,
.landing-v4-stage-inline span,
.landing-v4-feature-card__index {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2166ff;
}

.landing-v4-metric strong,
.landing-v4-stage-note strong,
.landing-v4-stage-mini__copy strong,
.landing-v4-stage-float strong,
.landing-v4-stage-inline strong {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #0f1f33;
}

.landing-v4-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.landing-v4-stage__trigger,
.landing-v4-shot-card__trigger,
.landing-v4-stage-mini {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  transition: transform 180ms ease;
}

.landing-v4-stage__trigger:hover,
.landing-v4-stage__trigger:focus-visible,
.landing-v4-shot-card__trigger:hover,
.landing-v4-shot-card__trigger:focus-visible,
.landing-v4-stage-mini:hover,
.landing-v4-stage-mini:focus-visible {
  transform: translateY(-2px);
}

.landing-v4-stage-card {
  height: 100%;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(21, 40, 72, 0.07);
}

.landing-v4-stage-card__frame,
.landing-v4-shot-card__frame,
.landing-v4-stage-mini__frame {
  overflow: hidden;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  background: #fff;
}

.landing-v4-stage-card__frame {
  aspect-ratio: 1280 / 860;
}

.landing-v4-stage-card__image,
.landing-v4-shot-card__image,
.landing-v4-stage-mini__image {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-v4-stage-card__image,
.landing-v4-shot-card__image,
.landing-v4-stage-mini__image {
  object-fit: cover;
  object-position: center top;
}

.landing-v4-stage-mini {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(21, 40, 72, 0.07);
}

.landing-v4-stage-mini__frame {
  aspect-ratio: 16 / 10;
}

.landing-v4-stage-mini__copy {
  gap: 4px;
}

.landing-v4-stage-note {
  grid-column: 1 / -1;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.landing-v4-stage-note p {
  margin: 0;
  color: #5e7084;
  line-height: 1.58;
}

.landing-v4-section {
  gap: 24px;
  padding: 42px;
}

.landing-v4-section--alt,
.landing-v4-section--muted,
.landing-v4-section--support {
  background: #fff;
}

.landing-v4-section__head {
  gap: 12px;
  max-width: 58ch;
}

.landing-v4-section__head h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
}

.landing-v4-section__head--compact h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.02;
}

.landing-v4-feature-grid,
.landing-v4-duo,
.landing-v4-shot-grid {
  display: grid;
  gap: 16px;
}

.landing-v4-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-v4-feature-card,
.landing-v4-shot-card,
.landing-v4-panel,
.landing-v4-cta,
.landing-shell--v4 .landing-step-card,
.landing-shell--v4 .landing-output-card,
.landing-shell--v4 .landing-usecase,
.landing-shell--v4 .landing-faq__item,
.landing-shell--v4 .landing-resource-card {
  gap: 10px;
  padding: 22px;
  border: 1px solid #e7edf4;
  border-radius: 20px;
  background: #fbfcfe;
}

.landing-v4-feature-card p {
  font-size: 0.97rem;
}

.landing-v4-panel {
  gap: 14px;
  height: 100%;
}

.landing-v4-panel--planning .landing-list {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}

.landing-v4-panel--planning .landing-list li {
  min-height: 100%;
  padding: 14px 16px 14px 34px;
  border: 1px solid #e7edf4;
  border-radius: 16px;
  background: #fff;
}

.landing-v4-panel--planning .landing-list li::before {
  top: 17px;
  left: 14px;
}

.landing-v4-panel__statement {
  font-size: 1rem;
}

.landing-v4-chip-panel {
  display: grid;
  gap: 10px;
}

.landing-v4-chip-panel strong,
.landing-v4-shot-card__copy strong,
.landing-shell--v4 .landing-step-card h3,
.landing-shell--v4 .landing-output-card h3,
.landing-shell--v4 .landing-usecase strong,
.landing-shell--v4 .landing-resource-card strong,
.landing-shell--v4 .landing-faq__item summary,
.landing-shell--v4 .landing-legal__head strong,
.landing-shell--v4 .landing-legal__list strong {
  margin: 0;
  color: #0f1f33;
  letter-spacing: -0.03em;
}

.landing-v4-chip-panel .landing-chip-grid--landing {
  justify-content: flex-start;
}

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

.landing-v4-shot-card__copy {
  gap: 8px;
}

.landing-v4-shot-card__frame {
  aspect-ratio: 1280 / 860;
}

.landing-v4-shot-card__image {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.landing-v4-output-wrap .landing-output-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.landing-shell--v4 .landing-step-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.landing-shell--v4 .landing-step-card strong {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2166ff;
}

.landing-shell--v4 .landing-step-card h3,
.landing-shell--v4 .landing-output-card h3 {
  font-size: 1.04rem;
}

.landing-shell--v4 .landing-output-grid,
.landing-shell--v4 .landing-usecases {
  gap: 12px;
}

.landing-shell--v4 .landing-usecases {
  grid-template-columns: 1fr;
}

.landing-shell--v4 .landing-faq {
  display: grid;
  gap: 10px;
}

.landing-shell--v4 .landing-faq__item {
  padding: 0;
  overflow: hidden;
}

.landing-shell--v4 .landing-faq__item summary {
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.landing-shell--v4 .landing-faq__item p {
  padding: 0 18px 18px;
}

.landing-shell--v4 .landing-resource-card {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.landing-shell--v4 .landing-resource-card:hover,
.landing-shell--v4 .landing-resource-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(33, 102, 255, 0.18);
  box-shadow: 0 18px 42px rgba(21, 40, 72, 0.08);
}

.landing-v4-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 251, 254, 1));
}

.landing-v4-cta__copy {
  gap: 10px;
  max-width: 76ch;
}

.landing-v4-cta__copy h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.9rem);
  max-width: 11ch;
}

.landing-shell--v4 .landing-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.landing-shell--v4 .landing-hero__legal {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.landing-shell--v4 .landing-legal__head {
  gap: 8px;
  max-width: 80ch;
}

.landing-shell--v4 .landing-legal__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-shell--v4 .landing-legal__list li {
  padding-top: 12px;
  border-top: 1px solid #e7edf4;
}

.landing-v4-story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.landing-v4-story--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.landing-v4-story--narrow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.landing-v4-story__body,
.landing-v4-story__media {
  display: grid;
  gap: 18px;
}

.landing-v4-story__body--surface {
  padding: 28px;
  border: 1px solid #e7edf4;
  border-radius: 22px;
  background: #fbfcfe;
}

.landing-shell--v4 .landing-showcase {
  gap: 14px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fbfcfe;
}

.landing-shell--v4 .landing-showcase__frame {
  min-height: 0;
  padding: 12px;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.landing-shell--v4 .landing-showcase__trigger:hover .landing-showcase__frame,
.landing-shell--v4 .landing-showcase__trigger:focus-visible .landing-showcase__frame {
  transform: translateY(-2px);
  border-color: #d6e2f0;
  box-shadow: 0 14px 34px rgba(18, 36, 52, 0.08);
}

.landing-shell--v4 .landing-showcase__image {
  border: 1px solid #e6edf5;
  border-radius: 12px;
  box-shadow: none;
}

.landing-shell--v4 .landing-list {
  gap: 14px;
}

.landing-shell--v4 .landing-list li {
  padding-left: 20px;
  color: #4f6377;
  font-size: 1rem;
  line-height: 1.68;
}

.landing-shell--v4 .landing-chip {
  min-height: 36px;
  border-color: #dde5ee;
  background: #f8fafc;
  color: #516477;
}

.landing-shell--v4 .landing-resource-card {
  background: #fff;
}

@media (max-width: 1120px) {
  .landing-v4-hero {
    grid-template-columns: 1fr;
  }

  .landing-v4-story,
  .landing-v4-story--reverse,
  .landing-v4-story--narrow {
    grid-template-columns: 1fr;
  }

  .landing-v4-topbar {
    grid-template-columns: 1fr;
  }

  .landing-v4-topbar__actions {
    justify-content: flex-start;
  }

  .landing-v4-hero__copy {
    margin: 0 auto;
    text-align: center;
  }

  .landing-v4-hero__copy h1 {
    max-width: none;
  }

  .landing-shell--v4 .landing-actions,
  .landing-shell--v4 .landing-chip-grid--landing,
  .landing-shell--v4 .utility-links {
    justify-content: center;
  }

  .landing-v4-topbar__brandline {
    justify-content: space-between;
  }

  .landing-v4-brand-strip,
  .landing-v4-metric-strip {
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .landing-v4-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-v4-shot-grid,
  .landing-v4-output-wrap .landing-output-grid,
  .landing-v4-panel--planning .landing-list {
    grid-template-columns: 1fr;
  }

  .landing-v4-cta {
    grid-template-columns: 1fr;
  }

  .landing-shell--v4 .landing-final__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .app-shell--landing .landing-content {
    width: min(100% - 18px, 1180px);
    padding-top: 16px;
  }

  .landing-v4-topbar__brandline {
    justify-content: flex-start;
  }

  .landing-v4-topbar__nav {
    width: 100%;
  }

  .landing-v4-hero,
  .landing-v4-section,
  .landing-v4-cta {
    padding: 24px;
    border-radius: 24px;
  }

  .landing-v4-metric-strip,
  .landing-v4-feature-grid,
  .landing-v4-brand-strip {
    grid-template-columns: 1fr;
  }

  .landing-v4-output-wrap .landing-output-grid,
  .landing-v4-shot-grid {
    grid-template-columns: 1fr;
  }

  .landing-shell--v4 .landing-legal__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-v4-hero__copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.3rem);
  }

  .landing-v4-section__head h2,
  .landing-v4-cta__copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .landing-shell--v4 .landing-actions,
  .landing-shell--v4 .landing-final__actions,
  .landing-v4-topbar__actions {
    display: grid;
  }

  .landing-shell--v4 .landing-actions .button--hero,
  .landing-shell--v4 .landing-actions .button--ghost,
  .landing-shell--v4 .landing-final__actions .button--hero,
  .landing-shell--v4 .landing-final__actions .button--ghost {
    width: 100%;
    min-width: 0;
  }

  .landing-v4-topbar__nav {
    gap: 8px;
  }

  .landing-v4-topbar__nav-link {
    width: 100%;
    justify-content: center;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 0 0, rgba(91, 168, 214, 0.18), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(212, 163, 90, 0.12), transparent 24%),
    radial-gradient(circle at 80% 100%, rgba(125, 189, 116, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 36, 52, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 36, 52, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(18, 36, 52, 0.16), transparent 75%);
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

#app {
  min-height: 100vh;
}

html.has-estimator-viewport,
body.has-estimator-viewport {
  height: 100%;
  overflow: hidden;
}

html.has-estimator-viewport #app {
  height: 100%;
  overflow: hidden;
}

.app-shell {
  width: min(1540px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.app-shell--landing {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 34px;
  background:
    linear-gradient(180deg, #f6f8fa 0%, #eef2f5 100%);
}

.landing-content {
  width: min(1640px, calc(100vw - 40px));
  margin: 0 auto;
  padding-top: 24px;
}

.landing-alert {
  width: min(1640px, calc(100vw - 40px));
  margin: 24px auto 0;
}

.app-header {
  position: sticky;
  top: 12px;
  z-index: 60;
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
}

.app-header .alert {
  margin-bottom: 0;
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(215, 168, 95, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(19, 38, 55, 0.96), rgba(10, 21, 32, 0.96));
  box-shadow: var(--shadow);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 168, 214, 0), rgba(91, 168, 214, 0.45), rgba(212, 163, 90, 0.45), rgba(91, 168, 214, 0));
}

.topbar h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.2vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-lockup__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-lockup__logo-image {
  display: block;
  width: clamp(190px, 21vw, 280px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(10, 18, 28, 0.12));
}

.brand-lockup__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-lockup__copy small,
.brand-lockup__copy span {
  color: var(--muted);
}

.brand-lockup__copy small {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-lockup__copy strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.brand-lockup__copy span {
  font-size: 0.82rem;
  line-height: 1.35;
}

.preference-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: end;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.session-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 4px 6px 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.session-chip--action {
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.session-chip--action:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line-strong));
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(9, 18, 29, 0.12);
}

.session-chip--action .session-chip__copy {
  text-align: left;
}

.session-chip--landing {
  min-height: 42px;
  padding-right: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(17, 31, 44, 0.12);
  color: #15202d;
  box-shadow: 0 10px 24px rgba(17, 31, 44, 0.05);
}

.session-chip--landing .session-chip__copy strong {
  color: #15202d;
}

.session-chip--landing .session-chip__copy small {
  color: #5f6d79;
}

.session-chip--landing .session-chip__logout {
  background: rgba(21, 32, 45, 0.04);
  border-color: rgba(17, 31, 44, 0.1);
  color: #15202d;
}

.session-chip__copy {
  display: grid;
  gap: 1px;
}

.session-chip__copy strong {
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.session-chip__copy small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.1;
}

.session-chip__logout {
  appearance: none;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.preference-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.preference-chip:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.preference-chip:focus-within {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line-strong));
  background: rgba(255, 255, 255, 0.05);
}

.preference-chip__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 65%, var(--text));
  background: rgba(255, 255, 255, 0.04);
}

.preference-chip__icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.preference-chip__icon--theme {
  color: color-mix(in srgb, var(--accent-warm) 72%, var(--text));
}

.preference-chip select {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  padding-right: 2px;
  min-width: 2.8rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.preference-chip select:focus {
  outline: none;
}

.preference-chip--select {
  padding-right: 12px;
}

.preference-chip--icon {
  padding: 0;
}

.preference-chip--icon .preference-chip__icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
}

.topbar p,
.content__head p,
.field small,
.toggle small,
.summary-card span,
.badge,
.muted,
.alert,
.block__head small {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.button--accent {
  border-color: rgba(122, 174, 208, 0.5);
  background: rgba(122, 174, 208, 0.14);
}

.button--hero {
  min-height: 48px;
  min-width: 220px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 740;
  letter-spacing: 0.015em;
  border-color: color-mix(in srgb, var(--accent) 54%, rgba(255, 255, 255, 0.16));
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 42%, rgba(255, 255, 255, 0.08)), color-mix(in srgb, var(--accent-warm) 26%, rgba(255, 255, 255, 0.05)));
  box-shadow: 0 18px 38px rgba(10, 19, 29, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button--hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(10, 19, 29, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button--ghost {
  background: transparent;
}

.button--compact {
  padding: 8px 12px;
  font-size: 0.76rem;
}

.button.preference-chip {
  min-height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border-color: transparent;
  background: transparent;
}

.button.preference-chip--icon {
  padding: 0;
}

.alert {
  padding: 14px 18px;
  border: 1px solid rgba(208, 106, 106, 0.24);
  border-radius: var(--radius-md);
  background: rgba(100, 27, 27, 0.25);
  margin-bottom: 20px;
}

.orientation-note {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--accent-warm) 28%, var(--line));
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, rgba(255, 255, 255, 0.03)), color-mix(in srgb, var(--panel-alt) 94%, rgba(255, 255, 255, 0.02)));
  color: var(--text);
  box-shadow: inset 4px 0 0 color-mix(in srgb, var(--accent-warm) 72%, transparent);
}

.orientation-note--compact {
  padding: 13px 15px;
  gap: 12px;
}

.orientation-note--print {
  border-color: rgba(180, 146, 92, 0.34);
  background: rgba(255, 248, 236, 0.94);
  color: #2c261d;
}

.orientation-note__copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.orientation-note__copy strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.orientation-note__copy p {
  margin: 0;
  color: var(--muted);
  max-width: 76ch;
}

.orientation-note--print .orientation-note__copy p,
.orientation-note--print .orientation-note__copy .eyebrow,
.orientation-note--print .orientation-note__progress {
  color: rgba(44, 38, 29, 0.78);
}

.orientation-note__meta {
  display: grid;
  justify-items: end;
  gap: 10px;
  flex: 0 0 auto;
}

.orientation-note__progress {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent-warm) 26%, var(--line));
  background: color-mix(in srgb, var(--accent-warm) 12%, transparent);
  color: color-mix(in srgb, var(--accent-warm) 72%, var(--text));
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

html[data-theme="light"] .orientation-note {
  border-color: rgba(161, 123, 61, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.94));
  box-shadow:
    inset 4px 0 0 rgba(212, 163, 90, 0.88),
    0 10px 24px rgba(27, 52, 73, 0.06);
}

html[data-theme="light"] .orientation-note__copy strong {
  color: #183041;
}

html[data-theme="light"] .orientation-note__copy p,
html[data-theme="light"] .orientation-note .eyebrow {
  color: #61778a;
}

html[data-theme="light"] .orientation-note__progress {
  border-color: rgba(161, 123, 61, 0.22);
  background: rgba(212, 163, 90, 0.12);
  color: #7b5622;
}

@media (max-width: 760px) {
  .orientation-note {
    flex-direction: column;
  }

  .orientation-note__meta {
    width: 100%;
    justify-items: start;
  }
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(17, 31, 44, 0.96), rgba(10, 20, 31, 0.96));
}

.step-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.step-tab:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--step-accent) 34%, rgba(255, 255, 255, 0.1));
}

.step-tab.is-current {
  border-color: color-mix(in srgb, var(--step-accent) 46%, rgba(255, 255, 255, 0.1));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--step-accent) 18%, rgba(255, 255, 255, 0.05)), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 20px rgba(0, 0, 0, 0.18);
}

.step-tab__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--step-accent) 18%, rgba(255, 255, 255, 0.04));
  border: 1px solid color-mix(in srgb, var(--step-accent) 30%, rgba(255, 255, 255, 0.08));
  color: var(--step-accent);
}

.step-tab__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.step-tab__body {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.step-tab__body small {
  color: color-mix(in srgb, var(--step-accent) 55%, var(--muted));
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-tab__body strong {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.2;
}

.estimator-stepper,
.estimator-stepper__head,
.estimator-stepper__copy,
.estimator-stepper__meta,
.estimator-stepper__progress,
.step-actions__group {
  display: grid;
}

.estimator-stepper {
  gap: 14px;
}

.estimator-stepper__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.estimator-stepper__copy {
  gap: 6px;
}

.estimator-stepper__copy strong {
  color: var(--text);
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.estimator-stepper__meta {
  gap: 10px;
  justify-items: end;
}

.estimator-stepper__status {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.estimator-stepper__status--dirty {
  border-color: rgba(212, 163, 90, 0.28);
  background: rgba(212, 163, 90, 0.1);
  color: #f2d8a8;
}

.estimator-stepper__status--syncing {
  border-color: rgba(91, 168, 214, 0.28);
  background: rgba(91, 168, 214, 0.1);
  color: #cfe6f7;
}

.estimator-stepper__status--ready {
  border-color: rgba(125, 189, 116, 0.28);
  background: rgba(125, 189, 116, 0.08);
  color: #cfe8c9;
}

.estimator-stepper__progress {
  gap: 8px;
  min-width: 200px;
  justify-items: end;
}

.estimator-stepper__progress small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 700;
}

.estimator-stepper__track {
  position: relative;
  display: block;
  width: min(220px, 100%);
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.estimator-stepper__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(91, 168, 214, 0.95), rgba(212, 163, 90, 0.85));
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
}

.layout--summary {
  grid-template-columns: minmax(0, 1fr);
}

.content,
.summary,
.step-tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.content,
.summary {
  background:
    linear-gradient(180deg, rgba(18, 35, 49, 0.96), rgba(9, 18, 29, 0.96));
}

.content {
  padding: 24px;
}

.content__head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.content__head h2 {
  margin: 6px 0 0;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.step-actions,
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.step-actions__group {
  gap: 10px;
}

.step-actions__group--nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.step-status--dirty {
  border-color: rgba(212, 163, 90, 0.28);
  background: rgba(212, 163, 90, 0.1);
  color: #f2d8a8;
}

.step-status--syncing {
  border-color: rgba(91, 168, 214, 0.28);
  background: rgba(91, 168, 214, 0.1);
  color: #cfe6f7;
}

.step-status--ready {
  border-color: rgba(125, 189, 116, 0.28);
  background: rgba(125, 189, 116, 0.08);
  color: #cfe8c9;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.wizard-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(348px, calc(100vw - 48px));
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(212, 163, 90, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(20, 36, 51, 0.97), rgba(10, 19, 29, 0.97));
  box-shadow: var(--shadow);
}

.wizard-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(240px, calc(100vw - 48px));
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(19, 35, 49, 0.96), rgba(11, 21, 32, 0.96));
  color: var(--text);
  text-align: left;
  box-shadow: var(--shadow);
}

.wizard-dock small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.65rem;
}

.wizard-dock strong {
  font-size: 0.9rem;
}

.wizard-dock span {
  color: var(--muted);
  font-size: 0.78rem;
}

.wizard-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(91, 168, 214, 0.95), rgba(91, 168, 214, 0.45));
}

.wizard-panel--pending::before {
  background: linear-gradient(180deg, rgba(212, 163, 90, 0.98), rgba(212, 163, 90, 0.48));
}

.wizard-panel__head,
.wizard-panel__body {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.wizard-panel__body {
  display: grid;
  gap: 10px;
}

.wizard-panel__eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  font-weight: 800;
  color: color-mix(in srgb, var(--accent) 60%, #d9ecf9);
}

.wizard-panel__head h3 {
  margin: 6px 0 4px;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.wizard-panel__head p,
.wizard-panel__next p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: 0.8rem;
}

.wizard-panel__progress,
.wizard-panel__next {
  display: grid;
  gap: 5px;
  padding: 11px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.wizard-panel__progress {
  position: relative;
  min-width: 132px;
  padding: 30px 12px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.wizard-panel__progress small,
.wizard-panel__next small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
}

.wizard-panel__progress strong,
.wizard-panel__next strong {
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.wizard-panel__flow {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 11px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.wizard-panel__flow small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6rem;
}

.wizard-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.wizard-panel__actions > :only-child {
  grid-column: 1 / -1;
}

.wizard-panel__actions .button,
.wizard-panel__actions .wizard-panel__done {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 36px;
}

.wizard-panel__toggle {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  display: grid;
  place-items: center;
}

.wizard-panel__done {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 189, 116, 0.28);
  background: rgba(125, 189, 116, 0.12);
  color: #bde0b7;
  font-weight: 700;
  font-size: 0.78rem;
}

.wizard-checklist {
  display: grid;
  gap: 7px;
  width: 100%;
  margin-top: 0;
}

.wizard-checklist__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
}

.wizard-checklist__item span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.wizard-checklist__item strong {
  font-size: 0.78rem;
  line-height: 1.2;
}

.wizard-checklist__item.is-current {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: rgba(91, 168, 214, 0.12);
}

.wizard-checklist__item.is-current span {
  background: rgba(91, 168, 214, 0.18);
  color: #d9ecf9;
}

.wizard-checklist__item.is-done {
  border-color: rgba(125, 189, 116, 0.3);
  background: rgba(125, 189, 116, 0.1);
}

.wizard-checklist__item.is-done span {
  background: rgba(125, 189, 116, 0.18);
  color: #d7f0d3;
}

.block {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  padding: 18px;
}

.block::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(91, 168, 214, 0.7), rgba(212, 163, 90, 0.7), rgba(125, 189, 116, 0.7));
  opacity: 0.9;
}

.block--commercial-focus {
  background:
    radial-gradient(circle at top right, rgba(224, 123, 102, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.block--commercial-focus::before {
  background: linear-gradient(90deg, rgba(224, 123, 102, 0.78), rgba(240, 189, 98, 0.78));
}

.block--dashboard {
  min-height: 100%;
}

.block__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.block__head--compact {
  margin-bottom: 12px;
}

.block__head h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.requirement-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.requirement-pill--missing {
  border-color: rgba(212, 163, 90, 0.35);
  background: rgba(212, 163, 90, 0.12);
  color: #f0cf8a;
}

.requirement-pill--ready {
  border-color: rgba(91, 168, 214, 0.35);
  background: rgba(91, 168, 214, 0.12);
  color: #a9d7f1;
}

.head-control {
  min-width: 190px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field,
.toggle {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.field span,
.toggle strong {
  color: var(--text);
  font-size: 0.9rem;
}

.field__text {
  display: grid;
  gap: 4px;
}

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

.field__text strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.35;
}

.help-dot {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  flex: 0 0 auto;
}

.help-dot:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 2px;
}

.field__meta,
.field__hint {
  color: var(--muted);
}

.field__meta {
  display: inline-flex;
  width: fit-content;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field__hint {
  font-size: 0.78rem;
  line-height: 1.45;
}

.field__control,
.table-input {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 12px;
  background: var(--panel-alt);
  color: var(--text);
}

.field__control {
  width: 100%;
}

.field__control--readonly,
.table-input--readonly {
  border-color: rgba(255, 255, 255, 0.08);
  background: color-mix(in srgb, var(--panel-alt) 82%, var(--panel));
  color: var(--muted);
}

.field__control:focus,
.table-input:focus {
  outline: none;
  border-color: rgba(122, 174, 208, 0.45);
}

.field--numeric .field__control--numeric {
  width: min(100%, 6.5rem);
  justify-self: start;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table-input--numeric {
  width: 5.5rem;
  min-width: 5.5rem;
  padding-inline: 10px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table-input--text {
  width: min(100%, 18rem);
  min-width: 12rem;
}

.table-input--select {
  width: min(100%, 11rem);
}

.field--readonly {
  cursor: default;
}

.field--minimum,
.toggle.field--minimum {
  border-width: 1px;
  position: relative;
}

.field--minimum-ready,
.toggle.field--minimum-ready {
  border-color: rgba(91, 168, 214, 0.34);
  background:
    linear-gradient(180deg, rgba(91, 168, 214, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(91, 168, 214, 0.08);
}

.field--minimum-missing,
.toggle.field--minimum-missing {
  border-color: rgba(212, 163, 90, 0.44);
  background: linear-gradient(180deg, rgba(212, 163, 90, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(212, 163, 90, 0.08);
}

.field--minimum::after,
.toggle.field--minimum::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
}

.field--minimum-ready::after,
.toggle.field--minimum-ready::after {
  background: linear-gradient(180deg, rgba(91, 168, 214, 0.95), rgba(91, 168, 214, 0.55));
}

.field--minimum-missing::after,
.toggle.field--minimum-missing::after {
  background: linear-gradient(180deg, rgba(212, 163, 90, 0.98), rgba(212, 163, 90, 0.6));
}

.field--targeted,
.toggle.field--targeted,
.table-field-shell--targeted {
  animation: field-focus-pulse 1.8s ease;
}

.field--targeted,
.toggle.field--targeted {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  box-shadow: 0 0 0 3px rgba(91, 168, 214, 0.18);
}

.table-field-shell--targeted .table-input,
.table-field-shell--targeted .table-static,
.table-field-shell--targeted .table-check {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  box-shadow: 0 0 0 3px rgba(91, 168, 214, 0.16);
}

@keyframes field-focus-pulse {
  0% {
    transform: scale(0.995);
  }

  30% {
    transform: scale(1.005);
  }

  100% {
    transform: scale(1);
  }
}

.field__readonly-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel-alt) 84%, transparent);
}

.field__readonly-value strong {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.readonly-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.toggle {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
}

.toggle input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.accordion-stack {
  display: grid;
  gap: 12px;
}

.accordion-block {
  padding: 14px 16px;
}

.accordion-block--open {
  border-color: color-mix(in srgb, var(--accent) 26%, var(--line));
}

.accordion-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.accordion-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.accordion-trigger__text {
  display: grid;
  gap: 4px;
}

.accordion-trigger__text strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.accordion-trigger__text small {
  color: var(--muted);
  font-size: 0.8rem;
}

.accordion-trigger__chevron {
  width: 0.72rem;
  height: 0.72rem;
  border-right: 2px solid color-mix(in srgb, var(--text) 72%, transparent);
  border-bottom: 2px solid color-mix(in srgb, var(--text) 72%, transparent);
  transform: rotate(45deg);
  transition: transform 160ms ease;
  flex: 0 0 auto;
}

.accordion-trigger[aria-expanded="true"] .accordion-trigger__chevron {
  transform: rotate(225deg);
}

.accordion-panel {
  margin-top: 14px;
}

.table-check {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.table-field-shell,
.field[data-help],
.toggle[data-help] {
  position: relative;
}

.table-field-shell {
  display: inline-flex;
  max-width: 100%;
}

.task-cell {
  display: grid;
  gap: 4px;
}

.task-cell--editable {
  gap: 8px;
}

.task-cell small {
  color: var(--muted);
}

.table-static {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  min-width: 5.5rem;
  padding: 9px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel-alt) 84%, transparent);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.field[data-help]:hover::after,
.field[data-help]:focus-within::after,
.toggle[data-help]:hover::after,
.toggle[data-help]:focus-within::after,
.table-field-shell[data-help]:hover::after,
.table-field-shell[data-help]:focus-within::after {
  display: none;
}

.field[data-help]:hover::before,
.field[data-help]:focus-within::before,
.toggle[data-help]:hover::before,
.toggle[data-help]:focus-within::before,
.table-field-shell[data-help]:hover::before,
.table-field-shell[data-help]:focus-within::before {
  display: none;
}

.floating-help {
  position: fixed;
  z-index: 200;
  max-width: min(28rem, calc(100vw - 24px));
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 24, 35, 0.98), rgba(8, 16, 25, 0.98));
  color: var(--text);
  white-space: normal;
  line-height: 1.45;
  font-size: 0.82rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.985);
  transform-origin: top left;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
  will-change: opacity, transform;
}

.floating-help.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.floating-help.is-hiding {
  opacity: 0;
  transform: translateY(-4px) scale(0.985);
}

.floating-help__row {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-help__row:last-child {
  border-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .floating-help {
    transition: none;
  }
}

.insight-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.insight-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.insight-card small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
}

.insight-card strong {
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.85rem;
}

.insight-card--info {
  border-color: rgba(91, 168, 214, 0.28);
  background: rgba(91, 168, 214, 0.08);
}

.insight-card--warning {
  border-color: rgba(212, 163, 90, 0.3);
  background: rgba(212, 163, 90, 0.1);
}

.insight-card--risk {
  border-color: rgba(224, 123, 102, 0.32);
  background: rgba(224, 123, 102, 0.1);
}

.block--briefing {
  background:
    radial-gradient(circle at top right, rgba(111, 158, 216, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.block--briefing::before {
  background: linear-gradient(90deg, rgba(111, 158, 216, 0.78), rgba(91, 168, 214, 0.78));
}

.briefing-field {
  display: grid;
  gap: 8px;
}

.briefing-field span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.briefing-result {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.briefing-result p {
  margin: 0;
}

.briefing-result--success {
  border-color: rgba(125, 189, 116, 0.32);
  background: rgba(125, 189, 116, 0.1);
}

.briefing-result--warning {
  border-color: rgba(212, 163, 90, 0.32);
  background: rgba(212, 163, 90, 0.1);
}

.briefing-result--error {
  border-color: rgba(224, 123, 102, 0.32);
  background: rgba(224, 123, 102, 0.1);
}

.briefing-result__warnings {
  display: grid;
  gap: 6px;
}

.briefing-result__warnings span {
  color: var(--muted);
  font-size: 0.84rem;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.table-wrap {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
}

.block--subsection {
  display: grid;
  gap: 12px;
}

.table-wrap--summary {
  background: rgba(6, 13, 21, 0.3);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  text-align: left;
}

th {
  position: sticky;
  top: 0;
  background: rgba(15, 28, 41, 0.98);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

tbody tr.is-active {
  background: rgba(122, 174, 208, 0.05);
}

.cell-fit {
  width: 96px;
}

.badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(122, 174, 208, 0.12);
  border: 1px solid rgba(122, 174, 208, 0.18);
  white-space: nowrap;
}

.summary {
  padding: 20px;
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: var(--app-header-offset);
  height: fit-content;
}

.summary-mobile-toggle {
  display: none;
}

.summary-preview-panel {
  display: grid;
  gap: 14px;
}

.summary-card,
.side-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  padding: 16px;
}

.summary-card:nth-child(1) {
  border-color: rgba(112, 182, 217, 0.24);
}

.summary-card:nth-child(2) {
  border-color: rgba(215, 168, 95, 0.24);
  background:
    radial-gradient(circle at top right, rgba(212, 163, 90, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.summary-card:nth-child(3) {
  border-color: rgba(159, 212, 184, 0.24);
  background:
    radial-gradient(circle at top right, rgba(125, 189, 116, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.summary-brief {
  display: grid;
  gap: 12px;
}

.summary-brief__head h3 {
  margin: 8px 0 6px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.summary-brief__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-card small {
  color: var(--muted);
}

.summary-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.side-table__head {
  margin-bottom: 12px;
}

.side-table h3 {
  margin: 0;
  font-size: 1rem;
}

.side-table table {
  min-width: 100%;
}

.summary-list {
  display: grid;
  gap: 2px;
}

.summary-list__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-list__row strong {
  font-variant-numeric: tabular-nums;
}

.summary-sheet {
  display: grid;
  gap: 18px;
}

.summary-sheet--compact {
  gap: 16px;
}

.summary-table {
  min-width: 980px;
}

.summary-table th,
.summary-table td {
  padding: 10px 11px;
  font-size: 0.82rem;
}

.summary-table th {
  font-size: 0.66rem;
}

.summary-table td {
  font-variant-numeric: tabular-nums;
}

.summary-table td:first-child {
  min-width: 220px;
}

.summary-table__message {
  min-width: 180px;
  white-space: normal;
}

.summary-sheet__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 31, 45, 0.94), rgba(10, 21, 32, 0.94));
}

.summary-sheet__header h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -0.05em;
}

.summary-sheet__header p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
}

.sheet-meta {
  display: grid;
  gap: 10px;
  min-width: 210px;
  margin: 0;
}

.sheet-meta div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.sheet-meta dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.sheet-meta dd {
  margin: 6px 0 0;
  font-weight: 700;
  font-size: 1rem;
}

.summary-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.summary-kpis--aside {
  grid-template-columns: 1fr;
  gap: 10px;
}

.proposal-sheet {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(240, 189, 98, 0.16), transparent 26%),
    radial-gradient(circle at left bottom, rgba(91, 168, 214, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(16, 31, 45, 0.96), rgba(10, 21, 32, 0.96));
  box-shadow: var(--shadow);
}

.proposal-sheet__watermark {
  position: absolute;
  top: 54%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-family: var(--brand-display);
  font-size: clamp(3.8rem, 11vw, 8.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.proposal-sheet__masthead,
.proposal-sheet__meta,
.proposal-sheet__kpis {
  position: relative;
  z-index: 1;
}

.proposal-sheet__masthead {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

.proposal-sheet__brand,
.proposal-ticket__brand,
.formal-offer__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.proposal-sheet__logo,
.proposal-ticket__logo,
.formal-offer__logo {
  display: block;
  width: clamp(190px, 24vw, 300px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.proposal-sheet__document,
.proposal-ticket__document,
.formal-offer__document {
  display: grid;
  gap: 5px;
  min-width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-align: right;
}

.proposal-sheet__document small,
.proposal-ticket__document small,
.formal-offer__document small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.proposal-sheet__document strong,
.proposal-ticket__document strong,
.formal-offer__document strong {
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.proposal-sheet__document span,
.proposal-ticket__document span,
.formal-offer__document span {
  color: var(--muted);
  font-size: 0.88rem;
}

.proposal-sheet__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.proposal-meta-card {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.proposal-meta-card small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.proposal-meta-card strong {
  display: block;
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.proposal-sheet__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proposal-sheet__kpis .summary-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.proposal-ticket {
  display: none;
}

.proposal-ticket__header,
.proposal-ticket__meta,
.proposal-ticket__grid {
  display: grid;
}

.proposal-ticket__header {
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: center;
}

.proposal-ticket__document {
  border-color: #dbe2e8;
  border-radius: 14px;
  background: #fff;
}

.proposal-ticket__meta-item small,
.proposal-ticket__hero-copy small,
.proposal-ticket__panel-head small {
  color: #6d7f8e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
}

.proposal-ticket__document strong,
.proposal-ticket__meta-item strong,
.proposal-ticket__row strong,
.proposal-ticket__hero-copy h3,
.proposal-ticket__bar-head strong {
  font-variant-numeric: tabular-nums;
}

.proposal-ticket__meta {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.proposal-ticket__meta-item {
  display: grid;
  gap: 6px;
  padding: 10px 12px 12px;
  border-top: 1px dashed #ccd6de;
}

.proposal-ticket__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #dbe2e8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fafcfd);
}

.proposal-ticket__hero--success {
  border-color: rgba(125, 189, 116, 0.45);
}

.proposal-ticket__hero--risk {
  border-color: rgba(224, 123, 102, 0.45);
}

.proposal-ticket__hero-copy {
  display: grid;
  gap: 8px;
}

.proposal-ticket__hero-copy h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.proposal-ticket__hero-copy p {
  margin: 0;
  color: #5f7180;
}

.proposal-ticket__hero-metrics,
.proposal-ticket__panel,
.proposal-ticket__bars {
  display: grid;
  gap: 10px;
}

.proposal-ticket__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed #d6dee6;
}

.proposal-ticket__row span {
  color: #5a6e7f;
}

.proposal-ticket__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.proposal-ticket__panel {
  padding: 14px 16px;
  border: 1px solid #dbe2e8;
  border-radius: 16px;
  background: #fff;
}

.proposal-ticket__panel-head {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.proposal-ticket__panel-head h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.proposal-ticket__bar-row {
  display: grid;
  gap: 6px;
}

.proposal-ticket__bar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.proposal-ticket__bar-head span {
  color: #5a6e7f;
}

.proposal-ticket__bar-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #ecf1f5;
}

.proposal-ticket__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6f9c, #8dbfdf);
}

.proposal-ticket__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.proposal-ticket__table th,
.proposal-ticket__table td {
  padding: 8px 6px;
  border-bottom: 1px dashed #d6dee6;
  text-align: left;
}

.proposal-ticket__watermark {
  display: none;
}

.commercial-hub {
  display: grid;
  gap: 18px;
}

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

.commercial-hub__grid--proposal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-field {
  display: grid;
  gap: 8px;
}

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

.hub-field span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.hub-input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: 0 0 0 4px rgba(91, 168, 214, 0.12);
}

.hub-input--textarea {
  min-height: 112px;
  resize: vertical;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hub-feedback {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.hub-feedback--success {
  border-color: rgba(125, 189, 116, 0.32);
  background: rgba(125, 189, 116, 0.12);
  color: #bde0b7;
}

.hub-feedback--error {
  border-color: rgba(225, 136, 93, 0.32);
  background: rgba(225, 136, 93, 0.12);
  color: #f2bea6;
}

.invoice-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.invoice-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.invoice-panel__head h4 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.invoice-panel__head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.invoice-lines,
.data-rows {
  display: grid;
  gap: 12px;
}

.invoice-line,
.data-row {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(6, 13, 21, 0.3);
}

.invoice-line__header,
.data-row__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.invoice-line__header h4,
.data-row__head h4 {
  margin: 0;
  font-size: 1rem;
}

.invoice-line__note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.invoice-line__total {
  min-width: 118px;
  text-align: right;
}

.invoice-line__total small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.invoice-line__total strong,
.data-row__value {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.metric-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.metric-strip--tight {
  margin-top: 0;
  justify-content: end;
}

.metric-chip {
  display: inline-grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-alt);
}

.metric-chip small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.65rem;
}

.metric-chip strong {
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.metric-chip--muted {
  color: var(--muted);
}

.summary-stack {
  display: grid;
  gap: 18px;
}

.print-only {
  display: none !important;
}

.dashboard-shell {
  display: grid;
  gap: 18px;
}

.dashboard-shell--proposal {
  gap: 14px;
}

.dashboard-appendix {
  break-before: page;
  padding-top: 2mm;
}

.dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 220px;
  gap: 18px;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid rgba(91, 168, 214, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(212, 163, 90, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(17, 33, 47, 0.98), rgba(9, 18, 29, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(320deg, rgba(255, 255, 255, 0.03), transparent 42%);
  pointer-events: none;
}

.dashboard-hero--success {
  border-color: rgba(125, 189, 116, 0.24);
}

.dashboard-hero--risk {
  border-color: rgba(224, 123, 102, 0.26);
}

.dashboard-hero__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.dashboard-hero__brandline {
  margin-bottom: -2px;
}

.dashboard-hero__copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.dashboard-hero__copy p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.dashboard-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-hero__metrics .metric-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.dashboard-hero__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.dashboard-hero__state {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-hero__state--accent,
.dashboard-card--accent {
  border-color: rgba(91, 168, 214, 0.28);
}

.dashboard-hero__state--accent {
  background: rgba(91, 168, 214, 0.15);
  color: #d9ecf9;
}

.dashboard-hero__state--success {
  background: rgba(125, 189, 116, 0.16);
  border-color: rgba(125, 189, 116, 0.28);
  color: #d6f0cf;
}

.dashboard-hero__state--risk {
  background: rgba(224, 123, 102, 0.16);
  border-color: rgba(224, 123, 102, 0.28);
  color: #ffd3cb;
}

.dashboard-hero__state--watch,
.dashboard-hero__state--pending {
  background: rgba(212, 163, 90, 0.16);
  border-color: rgba(212, 163, 90, 0.28);
  color: #f7deb0;
}

.dashboard-hero__caption {
  color: var(--muted);
  font-size: 0.84rem;
}

.dashboard-orbit {
  position: relative;
  width: 220px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  flex: 0 0 220px;
}

.dashboard-orbit__halo,
.dashboard-orbit__ring,
.dashboard-orbit__core {
  position: absolute;
  border-radius: 50%;
}

.dashboard-orbit__halo {
  inset: 10px;
  background: radial-gradient(circle, rgba(91, 168, 214, 0.16), transparent 70%);
  filter: blur(8px);
}

.dashboard-orbit__ring {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at center, transparent 58%, rgba(255, 255, 255, 0.04) 59%, transparent 60%),
    conic-gradient(from -90deg, var(--accent) 0 calc(var(--dashboard-ratio) * 1%), rgba(255, 255, 255, 0.08) 0);
  -webkit-mask: radial-gradient(circle, transparent 57%, #000 58%);
  mask: radial-gradient(circle, transparent 57%, #000 58%);
}

.dashboard-orbit__core {
  inset: 34px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 16px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 16, 24, 0.82);
}

.dashboard-orbit__core small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
}

.dashboard-orbit__core strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  font-size: clamp(1.52rem, 2.4vw, 2.18rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dashboard-orbit__core span {
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.dashboard-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
}

.dashboard-card small,
.bridge-segment small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.dashboard-card strong {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.dashboard-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.dashboard-card--accent {
  border-color: rgba(91, 168, 214, 0.28);
}

.dashboard-card--success {
  border-color: rgba(125, 189, 116, 0.3);
  background:
    radial-gradient(circle at top right, rgba(125, 189, 116, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
}

.dashboard-card--risk {
  border-color: rgba(224, 123, 102, 0.3);
  background:
    radial-gradient(circle at top right, rgba(224, 123, 102, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
}

.dashboard-card--watch,
.dashboard-card--pending {
  border-color: rgba(212, 163, 90, 0.3);
  background:
    radial-gradient(circle at top right, rgba(212, 163, 90, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
}

.cockpit-meter {
  display: grid;
  gap: 12px;
}

.cockpit-meter__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.cockpit-meter__header strong {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.cockpit-meter__header span {
  color: var(--muted);
}

.cockpit-meter__track,
.chart-bar__track {
  position: relative;
  overflow: hidden;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cockpit-meter__fill,
.chart-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #92d4fb);
}

.bridge-stack,
.chart-bars {
  display: grid;
  gap: 12px;
}

.bridge-stack {
  margin-top: 6px;
}

.bridge-segment {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 14px 16px;
  border: 1px solid rgba(91, 168, 214, 0.18);
  border-radius: 16px;
  background: rgba(91, 168, 214, 0.08);
}

.bridge-segment strong {
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.bridge-segment--warm {
  border-color: rgba(212, 163, 90, 0.24);
  background: rgba(212, 163, 90, 0.1);
}

.bridge-segment--success {
  border-color: rgba(125, 189, 116, 0.24);
  background: rgba(125, 189, 116, 0.1);
}

.chart-bar {
  display: grid;
  gap: 8px;
}

.chart-bar__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.chart-bar__head strong {
  font-size: 0.95rem;
}

.chart-bar__head span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chart-bar--effort .chart-bar__fill {
  background: linear-gradient(90deg, var(--accent-warm), #f1d196);
}

.block--role-load {
  overflow: hidden;
}

.role-load-chart {
  display: grid;
  gap: 12px;
}

.role-load-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--role-accent) 32%, var(--line));
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--role-accent) 18%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
}

.role-load-card__head,
.role-load-card__role,
.role-load-card__stats {
  display: flex;
  align-items: center;
}

.role-load-card__head {
  justify-content: space-between;
  gap: 14px;
}

.role-load-card__role {
  gap: 10px;
  min-width: 0;
}

.role-load-card__role strong,
.role-load-card__head > span {
  font-variant-numeric: tabular-nums;
}

.role-load-card__role strong {
  font-size: 0.98rem;
}

.role-load-card__head > span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.role-load-card__swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--role-accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--role-accent) 14%, transparent);
  flex: 0 0 auto;
}

.role-load-card__track {
  position: relative;
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.role-load-card__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--role-accent), color-mix(in srgb, var(--role-accent) 42%, white));
}

.role-load-card__stats {
  flex-wrap: wrap;
  gap: 8px;
}

.role-load-card__stat {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.role-load-card__stat--accent {
  border-color: color-mix(in srgb, var(--role-accent) 36%, transparent);
  background: color-mix(in srgb, var(--role-accent) 14%, transparent);
  color: color-mix(in srgb, var(--role-accent) 36%, white);
}

.block--gantt {
  grid-column: 1 / -1;
}

.gantt-board {
  display: grid;
  gap: 14px;
}

.gantt-scale,
.gantt-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(280px, 2.4fr) minmax(118px, 0.8fr);
  gap: 14px;
  align-items: center;
}

.gantt-scale {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gantt-scale__side {
  display: block;
}

.gantt-scale__months {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(91, 168, 214, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.gantt-scale__month {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.gantt-scale__month:last-child {
  border-right: 0;
}

.gantt-rows {
  display: grid;
  gap: 12px;
}

.gantt-row {
  padding: 10px 12px;
  border: 1px solid rgba(91, 168, 214, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.gantt-row__meta,
.gantt-row__stats {
  display: grid;
  gap: 5px;
}

.gantt-row__meta strong,
.gantt-row__stats strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.gantt-row__meta span,
.gantt-row__meta small,
.gantt-row__stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.gantt-row__meta small {
  line-height: 1.35;
}

.gantt-row__stats {
  justify-items: end;
  text-align: right;
}

.gantt-row__lane {
  position: relative;
  overflow: hidden;
  min-height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 14%, transparent 14% 15%, rgba(255, 255, 255, 0.04) 15% 29%, transparent 29% 30%, rgba(255, 255, 255, 0.04) 30% 44%, transparent 44% 45%, rgba(255, 255, 255, 0.04) 45% 59%, transparent 59% 60%, rgba(255, 255, 255, 0.04) 60% 74%, transparent 74% 75%, rgba(255, 255, 255, 0.04) 75% 89%, transparent 89% 90%, rgba(255, 255, 255, 0.04) 90% 100%);
}

.gantt-row__lane--critical::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px dashed rgba(224, 123, 102, 0.72);
  transform: translateY(-50%);
}

.gantt-row__lane--critical::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--gantt-left) + var(--gantt-width));
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e07b66;
  box-shadow: 0 0 0 6px rgba(224, 123, 102, 0.16);
  transform: translate(-50%, -50%);
}

.gantt-row__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, var(--accent), var(--accent-warm));
  box-shadow: 0 6px 18px rgba(9, 18, 29, 0.26);
}

.gantt-row--critical {
  border-color: rgba(224, 123, 102, 0.3);
}

.gantt-row__bar--critical {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, #e07b66, #f0a691);
}

.gantt-row:nth-child(4n + 1) .gantt-row__bar {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, #5ba8d6, #90d5f3);
}

.gantt-row:nth-child(4n + 2) .gantt-row__bar {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, #3eb7a3, #7ed9c3);
}

.gantt-row:nth-child(4n + 3) .gantt-row__bar {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, #d4a35a, #efca8a);
}

.gantt-row:nth-child(4n + 4) .gantt-row__bar {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, #e1885d, #f2b08d);
}

.loading {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  padding: 12px 14px;
  border: 1px solid rgba(112, 182, 217, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(112, 182, 217, 0.08), rgba(255, 255, 255, 0.03));
}

.status-pill strong {
  display: block;
  font-size: 0.92rem;
}

.status-pill small {
  color: var(--muted);
}

.status-pill.is-busy {
  border-color: rgba(215, 168, 95, 0.32);
  background:
    linear-gradient(180deg, rgba(215, 168, 95, 0.12), rgba(255, 255, 255, 0.03));
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), #dff4ff);
  box-shadow: 0 0 0 4px rgba(112, 182, 217, 0.14);
  flex: 0 0 auto;
}

.status-pill.is-busy .status-dot {
  background: linear-gradient(180deg, var(--accent-warm), #f7dfb5);
  box-shadow: 0 0 0 4px rgba(215, 168, 95, 0.14);
}

html[data-theme="light"] .topbar {
  background:
    radial-gradient(circle at top right, rgba(215, 168, 95, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.96));
}

html[data-theme="light"] .proposal-sheet {
  background:
    radial-gradient(circle at top right, rgba(240, 189, 98, 0.18), transparent 24%),
    radial-gradient(circle at left bottom, rgba(91, 168, 214, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.95));
}

html[data-theme="light"] .proposal-sheet__watermark {
  color: rgba(18, 36, 52, 0.04);
}

html[data-theme="light"] .proposal-sheet__document,
html[data-theme="light"] .proposal-meta-card {
  background: rgba(18, 36, 52, 0.035);
  border-color: rgba(18, 36, 52, 0.08);
}

html[data-theme="light"] .app-header {
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .content,
html[data-theme="light"] .summary,
html[data-theme="light"] .step-tabs {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.96));
}

html[data-theme="light"] .step-tab,
html[data-theme="light"] .block,
html[data-theme="light"] .field,
html[data-theme="light"] .toggle,
html[data-theme="light"] .summary-card,
html[data-theme="light"] .proposal-meta-card,
html[data-theme="light"] .side-table,
html[data-theme="light"] .invoice-panel,
html[data-theme="light"] .invoice-line,
html[data-theme="light"] .data-row,
html[data-theme="light"] .metric-chip,
html[data-theme="light"] .status-pill,
html[data-theme="light"] .hub-input,
html[data-theme="light"] .hub-feedback {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 252, 0.84));
}

html[data-theme="light"] .button,
html[data-theme="light"] .preference-bar,
html[data-theme="light"] .preference-chip {
  background: rgba(18, 36, 52, 0.035);
}

html[data-theme="light"] .button--hero {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, rgba(91, 168, 214, 0.24), rgba(212, 163, 90, 0.18));
  border-color: rgba(91, 168, 214, 0.34);
}

html[data-theme="light"] .landing-actions .button--hero {
  border-color: rgba(53, 124, 54, 0.9);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(91, 181, 74, 0.99), rgba(53, 139, 50, 0.99));
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(18, 40, 16, 0.28);
  box-shadow:
    0 22px 46px rgba(39, 97, 37, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .landing-actions .button--hero:hover {
  border-color: rgba(48, 117, 47, 0.98);
  box-shadow:
    0 26px 52px rgba(39, 97, 37, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

html[data-theme="light"] .landing-actions .button--ghost {
  min-height: 56px;
  min-width: 250px;
  padding: 15px 28px;
  border-color: rgba(42, 103, 199, 0.92);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(57, 124, 228, 0.98), rgba(33, 88, 184, 0.98));
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(14, 34, 73, 0.28);
  box-shadow:
    0 20px 42px rgba(29, 74, 151, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .landing-actions .button--ghost:hover {
  border-color: rgba(36, 92, 190, 0.98);
  box-shadow:
    0 24px 48px rgba(29, 74, 151, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

html[data-theme="light"] .preference-chip:hover,
html[data-theme="light"] .preference-chip:focus-within {
  background: rgba(18, 36, 52, 0.065);
}

html[data-theme="light"] .preference-chip__icon {
  background: rgba(18, 36, 52, 0.055);
}

html[data-theme="light"] .table-wrap--summary {
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] th {
  background: rgba(248, 251, 253, 0.98);
}

html[data-theme="light"] tbody tr:hover {
  background: rgba(18, 36, 52, 0.03);
}

html[data-theme="light"] tbody tr.is-active {
  background: rgba(91, 168, 214, 0.08);
}

html[data-theme="light"] .field[data-help]:hover::after,
html[data-theme="light"] .field[data-help]:focus-within::after,
html[data-theme="light"] .toggle[data-help]:hover::after,
html[data-theme="light"] .toggle[data-help]:focus-within::after,
html[data-theme="light"] .table-field-shell[data-help]:hover::after,
html[data-theme="light"] .table-field-shell[data-help]:focus-within::after {
  display: none;
}

html[data-theme="light"] .field[data-help]:hover::before,
html[data-theme="light"] .field[data-help]:focus-within::before,
html[data-theme="light"] .toggle[data-help]:hover::before,
html[data-theme="light"] .toggle[data-help]:focus-within::before,
html[data-theme="light"] .table-field-shell[data-help]:hover::before,
html[data-theme="light"] .table-field-shell[data-help]:focus-within::before {
  display: none;
}

html[data-theme="light"] .wizard-panel,
html[data-theme="light"] .wizard-dock,
html[data-theme="light"] .dashboard-card,
html[data-theme="light"] .bridge-segment {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88));
}

html[data-theme="light"] .dashboard-hero {
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(212, 163, 90, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.94));
}

html[data-theme="light"] .dashboard-orbit__core {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(18, 36, 52, 0.08);
}

html[data-theme="light"] .floating-help {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.98));
  color: var(--text);
  box-shadow: 0 16px 36px rgba(37, 64, 86, 0.18);
}

html[data-theme="light"] .dashboard-card--accent {
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.15), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88));
}

html[data-theme="light"] .dashboard-card--success,
html[data-theme="light"] .bridge-segment--success {
  background:
    radial-gradient(circle at top right, rgba(125, 189, 116, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88));
}

html[data-theme="light"] .dashboard-card--risk {
  background:
    radial-gradient(circle at top right, rgba(224, 123, 102, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88));
}

html[data-theme="light"] .dashboard-card--watch,
html[data-theme="light"] .dashboard-card--pending {
  background:
    radial-gradient(circle at top right, rgba(212, 163, 90, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88));
}

html[data-theme="light"] .bridge-segment--warm {
  background:
    radial-gradient(circle at top right, rgba(212, 163, 90, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88));
}

html[data-theme="light"] .cockpit-meter__track,
html[data-theme="light"] .chart-bar__track,
html[data-theme="light"] .role-load-card__track {
  background: rgba(18, 36, 52, 0.08);
}

html[data-theme="light"] .role-load-card {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--role-accent) 12%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88));
}

html[data-theme="light"] .role-load-card__stat {
  border-color: rgba(18, 36, 52, 0.08);
  background: rgba(18, 36, 52, 0.04);
}

html[data-theme="light"] .gantt-scale__months {
  background: rgba(18, 36, 52, 0.05);
  border-color: rgba(18, 36, 52, 0.08);
}

html[data-theme="light"] .gantt-row {
  border-color: rgba(18, 36, 52, 0.08);
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 250, 0.86));
}

html[data-theme="light"] .gantt-row--critical {
  border-color: rgba(224, 123, 102, 0.28);
}

html[data-theme="light"] .gantt-row__lane {
  background:
    linear-gradient(90deg, rgba(18, 36, 52, 0.05) 0 14%, transparent 14% 15%, rgba(18, 36, 52, 0.05) 15% 29%, transparent 29% 30%, rgba(18, 36, 52, 0.05) 30% 44%, transparent 44% 45%, rgba(18, 36, 52, 0.05) 45% 59%, transparent 59% 60%, rgba(18, 36, 52, 0.05) 60% 74%, transparent 74% 75%, rgba(18, 36, 52, 0.05) 75% 89%, transparent 89% 90%, rgba(18, 36, 52, 0.05) 90% 100%);
}

.button--compact {
  padding: 9px 14px;
  font-size: 0.78rem;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.utility-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: color 150ms ease, transform 150ms ease;
}

.utility-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.landing-shell {
  display: grid;
  gap: 18px;
}

.landing-masthead,
.landing-masthead__brand,
.landing-masthead__actions,
.landing-legal,
.landing-legal__head {
  display: grid;
}

.landing-masthead {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 2px 2px 0;
}

.landing-masthead__brand {
  align-items: center;
}

.landing-masthead__logo-image {
  display: block;
  width: clamp(180px, 24vw, 290px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(9, 18, 29, 0.12));
}

.landing-masthead__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.landing-locale {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.landing-locale__option {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(17, 31, 44, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #15202d;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 31, 44, 0.05);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.landing-locale__option:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 122, 179, 0.28);
}

.landing-locale__option.is-active {
  border-color: rgba(47, 122, 179, 0.36);
  box-shadow: 0 12px 28px rgba(17, 31, 44, 0.08);
}

.landing-locale__code {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locale-flag {
  display: inline-flex;
  width: 20px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(17, 31, 44, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.locale-flag--es {
  background: linear-gradient(180deg, #aa151b 0 28%, #f1bf00 28% 72%, #aa151b 72% 100%);
}

.locale-flag--fr {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #ffffff 33.33% 66.66%, #ef4135 66.66% 100%);
}

.locale-flag--pt {
  background: linear-gradient(90deg, #046a38 0 40%, #da291c 40% 100%);
}

.locale-flag--ca {
  background: repeating-linear-gradient(
    180deg,
    #ffd447 0 16.66%,
    #ffd447 16.66% 33.33%,
    #c8102e 33.33% 50%,
    #ffd447 50% 66.66%,
    #ffd447 66.66% 83.33%,
    #c8102e 83.33% 100%
  );
}

.locale-flag--us {
  background:
    linear-gradient(180deg,
      #b22234 0 7.69%,
      #ffffff 7.69% 15.38%,
      #b22234 15.38% 23.07%,
      #ffffff 23.07% 30.76%,
      #b22234 30.76% 38.45%,
      #ffffff 38.45% 46.14%,
      #b22234 46.14% 53.83%,
      #ffffff 53.83% 61.52%,
      #b22234 61.52% 69.21%,
      #ffffff 69.21% 76.9%,
      #b22234 76.9% 84.59%,
      #ffffff 84.59% 92.28%,
      #b22234 92.28% 100%);
  position: relative;
}

.locale-flag--us::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 45%;
  height: 54%;
  border-radius: 3px 0 3px 0;
  background: #3c3b6e;
}

.landing-hero,
.landing-section,
.landing-card,
.landing-note,
.landing-final {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.landing-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(560px, auto) auto;
  min-height: 760px;
  align-items: stretch;
  padding: 0;
  border-color: rgba(9, 18, 29, 0.22);
  background: #0b1620;
  box-shadow: 0 28px 70px rgba(9, 18, 29, 0.18);
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 16, 24, 0.84) 0%, rgba(8, 16, 24, 0.68) 24%, rgba(8, 16, 24, 0.34) 46%, rgba(8, 16, 24, 0.12) 64%, rgba(8, 16, 24, 0) 82%),
    linear-gradient(180deg, rgba(8, 16, 24, 0.18) 0%, rgba(8, 16, 24, 0.06) 34%, rgba(8, 16, 24, 0.38) 100%);
}

.landing-hero__copy,
.landing-hero__panel,
.landing-start,
.landing-card,
.landing-note,
.landing-section,
.landing-final {
  display: grid;
}

.landing-hero__copy {
  position: relative;
  z-index: 2;
  gap: 16px;
  align-content: center;
  max-width: min(690px, calc(100% - 72px));
  min-height: 560px;
  padding: clamp(34px, 4.8vw, 68px) clamp(34px, 5vw, 72px) 42px;
  color: #f4f7fa;
}

.landing-brandband {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #6e7c89;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-brandband__product {
  color: #2f7ab3;
}

.landing-brandband__by {
  color: #4b5865;
}

.landing-brandband__divider {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 122, 179, 0.85), rgba(76, 88, 101, 0.55));
}

.landing-hero__copy h1,
.landing-hero__copy h2 {
  margin: 0;
  max-width: 9.8ch;
  color: #f7fbfd;
  font-size: clamp(2.1rem, 3.4vw, 3.35rem);
  line-height: 0.97;
  letter-spacing: -0.052em;
  text-shadow: 0 10px 28px rgba(8, 16, 24, 0.34);
}

.landing-hero__copy > p {
  max-width: 34ch;
  color: rgba(239, 245, 249, 0.86);
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 8px 24px rgba(8, 16, 24, 0.28);
}

.landing-auth-note {
  max-width: 50ch;
  margin: 2px 0 0;
  color: rgba(239, 245, 249, 0.82);
  font-size: 0.88rem;
  line-height: 1.55;
  text-shadow: 0 8px 24px rgba(8, 16, 24, 0.24);
}

.landing-card p,
.landing-note p,
.landing-flow p,
.modal-card__head p,
.consent-option__copy p,
.cookie-banner__copy p,
.legal-point p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.landing-actions .button--hero {
  min-height: 56px;
  min-width: 250px;
  padding: 15px 28px;
  border-color: rgba(53, 124, 54, 0.9);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(91, 181, 74, 0.99), rgba(53, 139, 50, 0.99));
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(18, 40, 16, 0.28);
  box-shadow:
    0 22px 46px rgba(39, 97, 37, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.landing-actions .button--hero:hover {
  border-color: rgba(48, 117, 47, 0.98);
  box-shadow:
    0 26px 52px rgba(39, 97, 37, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.landing-actions .button--ghost {
  min-height: 56px;
  min-width: 250px;
  padding: 15px 28px;
  border-color: rgba(42, 103, 199, 0.92);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(57, 124, 228, 0.98), rgba(33, 88, 184, 0.98));
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(14, 34, 73, 0.28);
  box-shadow:
    0 20px 42px rgba(29, 74, 151, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.landing-actions .button--ghost:hover {
  border-color: rgba(36, 92, 190, 0.98);
  box-shadow:
    0 24px 48px rgba(29, 74, 151, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.landing-hero__panel h3,
.landing-card strong,
.landing-note strong,
.modal-card__head h3,
.consent-option__copy strong,
.legal-point strong {
  margin: 0;
  letter-spacing: -0.03em;
}

.landing-hero__legal {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 18px clamp(24px, 3.4vw, 40px) 20px;
  background:
    linear-gradient(180deg, rgba(8, 16, 24, 0.58), rgba(8, 16, 24, 0.78));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.landing-legal__head {
  display: grid;
  gap: 6px;
  max-width: none;
}

.landing-legal__head strong {
  color: #f8fbfd;
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.landing-legal__head p,
.landing-legal__foot {
  margin: 0;
  color: rgba(231, 238, 244, 0.78);
  font-size: 0.76rem;
  line-height: 1.55;
}

.landing-legal__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-legal__list li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-legal__list strong {
  color: #f7fbfd;
  font-size: 0.76rem;
  letter-spacing: -0.01em;
}

.landing-legal__list span {
  color: rgba(231, 238, 244, 0.74);
  font-size: 0.72rem;
  line-height: 1.5;
}

.landing-hero__visual {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 0;
}

.landing-hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 16, 24, 0.18));
  pointer-events: none;
}

.landing-hero__artwork {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.06);
}


.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-section__head,
.landing-section__copy,
.landing-usecase,
.landing-final__actions,
.legal-hub,
.legal-hub__section,
.legal-facts {
  display: grid;
}

.landing-section {
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(17, 31, 44, 0.06);
}

.landing-section--split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  align-items: center;
}

.landing-section--reverse {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
}

.landing-section--showcase-dominant {
  grid-template-columns: minmax(360px, 0.94fr) minmax(520px, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.landing-section--compact {
  gap: 18px;
}

.landing-section__head {
  gap: 8px;
  max-width: 68ch;
}

.landing-section__head h2,
.landing-section__copy h2,
.landing-final h2 {
  margin: 0;
  color: #111827;
  font-size: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.landing-section__head p,
.landing-section__copy > p,
.landing-usecase p,
.landing-faq__item p,
.landing-final p,
.landing-final small,
.legal-hub__section p,
.legal-facts dt,
.legal-facts dd {
  margin: 0;
  color: #5f6f7c;
  line-height: 1.6;
}

.landing-section__copy {
  gap: 10px;
  align-content: start;
}

.landing-section--showcase-dominant .landing-section__copy {
  max-width: none;
  justify-content: center;
  gap: 12px;
  padding-right: 6px;
}

.landing-list {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.landing-list li {
  position: relative;
  padding-left: 18px;
  color: #415262;
  font-size: 0.94rem;
  line-height: 1.58;
}

.landing-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5ba8d6, #2f7ab3);
}

.landing-chip-grid,
.landing-usecases {
  display: grid;
  gap: 12px;
}

.landing-chip-grid {
  grid-template-columns: repeat(auto-fit, minmax(116px, max-content));
}

.landing-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(47, 122, 179, 0.2);
  border-radius: 999px;
  background: rgba(47, 122, 179, 0.06);
  color: #1f4f75;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.landing-chip-grid--landing {
  grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
}

.landing-showcase,
.landing-placeholder {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px dashed rgba(47, 122, 179, 0.26);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(244, 248, 251, 0.96), rgba(250, 252, 253, 0.96));
}

.landing-placeholder--green {
  border-color: rgba(89, 150, 108, 0.24);
}

.landing-showcase--green {
  border-color: rgba(89, 150, 108, 0.24);
}

.landing-section--showcase-dominant .landing-showcase {
  min-height: 100%;
  padding: 22px;
  align-content: start;
}

.landing-showcase__frame,
.landing-placeholder__frame {
  display: grid;
  gap: 10px;
  min-height: 240px;
  padding: 16px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 248, 0.96));
}

.landing-section--showcase-dominant .landing-showcase__frame {
  min-height: 390px;
  padding: 20px;
  align-items: center;
}

.landing-showcase__trigger {
  appearance: none;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.landing-showcase__frame {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-showcase__trigger:hover .landing-showcase__frame,
.landing-showcase__trigger:focus-visible .landing-showcase__frame {
  transform: translateY(-2px);
  border-color: rgba(47, 122, 179, 0.18);
  box-shadow: 0 20px 40px rgba(18, 36, 52, 0.12);
}

.landing-showcase__trigger:focus-visible {
  outline: none;
}

.landing-showcase__image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  border-radius: 12px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  box-shadow: 0 16px 34px rgba(18, 36, 52, 0.12);
}

.landing-section--showcase-dominant .landing-showcase__image {
  min-height: 0;
  max-height: 520px;
  object-fit: contain;
}

.landing-section--showcase-dominant .landing-showcase figcaption {
  gap: 6px;
}

.landing-section--feature-focus,
.landing-section--planning-focus {
  grid-template-columns: 1fr;
  padding: 28px;
  gap: 20px;
}

.landing-section--feature-focus .landing-section__copy,
.landing-section--planning-focus .landing-section__copy {
  gap: 14px;
  max-width: none;
  padding-right: 0;
}

.landing-section--feature-focus .landing-section__copy h2,
.landing-section--planning-focus .landing-section__copy h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.landing-section--feature-focus .landing-section__copy > p,
.landing-section--planning-focus .landing-section__copy > p {
  max-width: none;
  font-size: 1.04rem;
  line-height: 1.68;
}

.landing-section--feature-focus .landing-list,
.landing-section--planning-focus .landing-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 2px;
}

.landing-section--feature-focus .landing-list li,
.landing-section--planning-focus .landing-list li {
  min-height: 100%;
  padding: 14px 16px 14px 34px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 251, 253, 0.96), rgba(243, 247, 250, 0.96));
  font-size: 0.99rem;
  line-height: 1.64;
}

.landing-section--feature-focus .landing-list li::before,
.landing-section--planning-focus .landing-list li::before {
  top: 20px;
  left: 16px;
}

.landing-section--feature-focus .landing-showcase,
.landing-section--planning-focus .landing-showcase {
  gap: 16px;
  padding: 20px;
}

.landing-section--feature-focus .landing-showcase__frame {
  min-height: 0;
  aspect-ratio: 1280 / 917;
  padding: 14px;
}

.landing-section--planning-focus .landing-showcase__frame {
  min-height: 0;
  aspect-ratio: 1280 / 664;
  padding: 14px;
}

.landing-section--feature-focus .landing-showcase__image,
.landing-section--planning-focus .landing-showcase__image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.landing-section--feature-focus .landing-showcase strong,
.landing-section--planning-focus .landing-showcase strong {
  font-size: 1rem;
}

.landing-section--feature-focus .landing-showcase p,
.landing-section--planning-focus .landing-showcase p {
  max-width: none;
  font-size: 0.96rem;
  line-height: 1.54;
}

.landing-placeholder__frame span {
  display: block;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(91, 168, 214, 0.16), rgba(255, 255, 255, 0.92), rgba(212, 163, 90, 0.12));
}

.landing-placeholder__frame span:nth-child(1) {
  width: 62%;
}

.landing-placeholder__frame span:nth-child(2) {
  width: 100%;
  height: 88px;
}

.landing-placeholder__frame span:nth-child(3) {
  width: 78%;
}

.landing-showcase figcaption,
.landing-placeholder figcaption {
  display: grid;
  gap: 4px;
}

.landing-showcase strong,
.landing-placeholder strong {
  color: #111827;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.landing-showcase p,
.landing-placeholder p {
  margin: 0;
  color: #617180;
  font-size: 0.86rem;
  line-height: 1.56;
}

.landing-chip-collection {
  display: grid;
  gap: 16px;
}

.landing-chip-block {
  display: grid;
  gap: 10px;
}

.landing-chip-block strong {
  color: #111827;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landing-pricing-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.94));
  box-shadow: 0 18px 40px rgba(17, 31, 44, 0.06);
}

.landing-pricing-card--featured {
  border-color: rgba(47, 122, 179, 0.22);
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 247, 251, 0.96));
  box-shadow: 0 22px 48px rgba(33, 67, 96, 0.1);
}

.landing-pricing-card__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.landing-pricing-card__head h3 {
  margin: 6px 0 0;
  color: #111827;
  font-size: 1.16rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.landing-pricing-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(47, 122, 179, 0.1);
  border: 1px solid rgba(47, 122, 179, 0.18);
  color: #245a85;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.landing-pricing-card__price {
  display: grid;
  gap: 4px;
}

.landing-pricing-card__price strong {
  color: #111827;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.landing-pricing-card__price span {
  color: #617180;
  font-size: 0.84rem;
  line-height: 1.45;
}

.landing-pricing-card > p {
  margin: 0;
  color: #5f6f7c;
  line-height: 1.6;
}

.landing-pricing-card .landing-list {
  margin-top: 0;
}

.landing-pricing-note {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  color: #617180;
  font-size: 0.88rem;
  line-height: 1.6;
}

.landing-step-grid,
.landing-output-grid {
  display: grid;
  gap: 14px;
}

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

.landing-step-card,
.landing-output-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.92);
}

.landing-step-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(47, 122, 179, 0.12);
  color: #2f7ab3;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.landing-step-card h3,
.landing-output-card h3 {
  margin: 0;
  color: #111827;
  font-size: 0.98rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.landing-step-card p,
.landing-output-card p {
  margin: 0;
  color: #617180;
  font-size: 0.88rem;
  line-height: 1.56;
}

.landing-output-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.landing-cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-top: 4px;
}

.landing-cta-row p {
  margin: 0;
  color: #5f6f7c;
  line-height: 1.6;
}

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

.landing-usecase {
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.landing-resource-card {
  display: grid;
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.landing-resource-card:hover,
.landing-resource-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(91, 168, 214, 0.38);
  background: rgba(91, 168, 214, 0.08);
  box-shadow: 0 18px 40px rgba(3, 9, 15, 0.12);
  outline: none;
}

.landing-resource-card__meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78a9c8;
}

.landing-usecase strong,
.landing-final strong {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.landing-faq {
  display: grid;
  gap: 10px;
}

.landing-faq__item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.landing-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-faq__item summary::-webkit-details-marker {
  display: none;
}

.landing-faq__item p {
  padding: 0 18px 16px;
  font-size: 0.88rem;
}

.landing-final {
  grid-template-columns: minmax(0, 1.15fr) auto;
  align-items: end;
  background:
    radial-gradient(circle at top left, rgba(125, 189, 116, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(18, 35, 49, 0.96), rgba(9, 18, 29, 0.96));
}

.landing-final > div:first-child {
  display: grid;
  gap: 8px;
  max-width: 68ch;
}

.landing-final small {
  font-size: 0.78rem;
}

.landing-final__actions {
  gap: 10px;
  min-width: 240px;
}

.landing-card {
  gap: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(18, 35, 49, 0.96), rgba(9, 18, 29, 0.96));
}

.landing-card strong,
.landing-note strong {
  font-size: 0.96rem;
  line-height: 1.16;
}

.landing-card p,
.landing-note p {
  font-size: 0.88rem;
  line-height: 1.48;
}

.landing-card--accent {
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(18, 35, 49, 0.96), rgba(9, 18, 29, 0.96));
}

.landing-card--warm {
  background:
    radial-gradient(circle at top right, rgba(212, 163, 90, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(18, 35, 49, 0.96), rgba(9, 18, 29, 0.96));
}

.landing-card--success {
  background:
    radial-gradient(circle at top right, rgba(125, 189, 116, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(18, 35, 49, 0.96), rgba(9, 18, 29, 0.96));
}

.landing-note {
  gap: 8px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(18, 35, 49, 0.94), rgba(9, 18, 29, 0.94));
}

.compliance-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.compliance-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.app-shell--estimator-v2 {
  color-scheme: light;
  --app-header-offset: 252px;
  --bg: #edf3fa;
  --panel: #ffffff;
  --panel-soft: #eef4fb;
  --panel-alt: #f5f8fc;
  --line: rgba(17, 31, 44, 0.08);
  --line-strong: rgba(17, 31, 44, 0.14);
  --text: #0f1f33;
  --muted: #64768b;
  --accent: #2166ff;
  --accent-strong: #174ec5;
  --accent-soft: rgba(33, 102, 255, 0.12);
  --accent-warm: #e6a742;
  --accent-coral: #e07b66;
  --accent-green: #359466;
  --success: #dff2e7;
  --warning: #f7e6bf;
  --shadow: 0 18px 54px rgba(17, 31, 44, 0.08);
  width: min(1640px, calc(100vw - 28px));
  padding: 18px 0 34px;
  position: relative;
  color: var(--text);
}

.app-shell--estimator-v2::before {
  content: "";
  position: absolute;
  inset: -6px -18px 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(33, 102, 255, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(230, 167, 66, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(252, 253, 255, 0.94), rgba(241, 246, 252, 0.96));
  z-index: -1;
}

html.has-estimator-viewport .app-shell--estimator-v2 {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  height: 100dvh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 0;
  box-sizing: border-box;
  overflow: hidden;
}

html.has-estimator-viewport .app-shell--estimator-v2 .app-header {
  position: relative;
  top: 0;
  margin-bottom: 0;
}

html.has-estimator-viewport .app-shell--estimator-v2 .layout {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
}

html.has-estimator-viewport .app-shell--estimator-v2 .content,
html.has-estimator-viewport .app-shell--estimator-v2 .summary {
  min-height: 0;
}

html.has-estimator-viewport .app-shell--estimator-v2 .content {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

html.has-estimator-viewport .app-shell--estimator-v2 .summary {
  position: relative;
  top: 0;
  max-height: 100%;
  overflow: auto;
  scrollbar-gutter: stable;
}

html.has-estimator-viewport .app-shell--estimator-v2 .compliance-bar {
  margin-top: 0;
}

.app-shell--estimator-v2 .eyebrow {
  color: #2166ff;
}

.app-shell--estimator-v2 .app-header {
  top: 14px;
  gap: 12px;
  margin-bottom: 18px;
  backdrop-filter: none;
}

.app-shell--estimator-v2 .topbar,
.app-shell--estimator-v2 .content,
.app-shell--estimator-v2 .summary,
.app-shell--estimator-v2 .step-tabs,
.app-shell--estimator-v2 .estimator-stepper {
  border-color: rgba(17, 31, 44, 0.08);
  box-shadow: 0 18px 54px rgba(17, 31, 44, 0.07);
}

.app-shell--estimator-v2 .topbar {
  gap: 20px;
  padding: 18px 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(33, 102, 255, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.app-shell--estimator-v2 .topbar::after {
  display: none;
}

.app-shell--estimator-v2 .brand-lockup__mark {
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(17, 31, 44, 0.06);
}

.app-shell--estimator-v2 .brand-lockup__logo-image {
  width: clamp(152px, 15vw, 198px);
  filter: drop-shadow(0 10px 20px rgba(17, 31, 44, 0.08));
}

.app-shell--estimator-v2 .brand-lockup__copy {
  gap: 4px;
}

.app-shell--estimator-v2 .brand-lockup__copy small {
  color: #61758a;
}

.app-shell--estimator-v2 .brand-lockup__copy strong {
  font-size: 1.05rem;
}

.app-shell--estimator-v2 .brand-lockup__copy span {
  max-width: 42ch;
  color: #5d7186;
}

.app-shell--estimator-v2 .topbar__actions {
  gap: 10px 12px;
}

.app-shell--estimator-v2 .preference-bar {
  padding: 5px;
  border-color: rgba(17, 31, 44, 0.08);
  background: rgba(248, 250, 253, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.app-shell--estimator-v2 .session-chip,
.app-shell--estimator-v2 .session-chip__logout,
.app-shell--estimator-v2 .preference-chip,
.app-shell--estimator-v2 .button--ghost {
  border-color: rgba(17, 31, 44, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.app-shell--estimator-v2 .session-chip--action:hover,
.app-shell--estimator-v2 .button--ghost:hover {
  box-shadow: 0 12px 28px rgba(17, 31, 44, 0.08);
}

.app-shell--estimator-v2 .preference-chip__icon,
.app-shell--estimator-v2 .preference-chip--icon .preference-chip__icon {
  background: rgba(33, 102, 255, 0.08);
}

.app-shell--estimator-v2 .preference-chip select {
  color: var(--text);
}

.app-shell--estimator-v2 .utility-link {
  color: #586c80;
}

.app-shell--estimator-v2 .utility-link:hover {
  color: var(--text);
}

.app-shell--estimator-v2 .estimator-stepper {
  padding: 18px 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.app-shell--estimator-v2 .estimator-stepper {
  gap: 12px;
}

.app-shell--estimator-v2 .estimator-stepper__copy strong {
  font-size: 1.08rem;
}

.app-shell--estimator-v2 .estimator-stepper__status {
  border-color: rgba(17, 31, 44, 0.08);
  background: #f6f9fc;
  color: #596d82;
}

.app-shell--estimator-v2 .estimator-stepper__status--dirty {
  border-color: rgba(230, 167, 66, 0.22);
  background: rgba(230, 167, 66, 0.12);
  color: #8a621b;
}

.app-shell--estimator-v2 .estimator-stepper__status--syncing {
  border-color: rgba(33, 102, 255, 0.18);
  background: rgba(33, 102, 255, 0.08);
  color: #1d57d6;
}

.app-shell--estimator-v2 .estimator-stepper__status--ready {
  border-color: rgba(53, 148, 102, 0.18);
  background: rgba(53, 148, 102, 0.08);
  color: #2a7d55;
}

.app-shell--estimator-v2 .estimator-stepper__track {
  background: rgba(17, 31, 44, 0.08);
}

.app-shell--estimator-v2 .step-tabs {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-shell--estimator-v2 .step-tab {
  padding: 13px 14px;
  border-color: rgba(17, 31, 44, 0.07);
  background: linear-gradient(180deg, #fbfcff, #f4f8fc);
  color: var(--text);
}

.app-shell--estimator-v2 .step-tab:hover {
  box-shadow: 0 12px 26px rgba(17, 31, 44, 0.08);
}

.app-shell--estimator-v2 .step-tab.is-current {
  border-color: color-mix(in srgb, var(--step-accent) 34%, rgba(17, 31, 44, 0.1));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--step-accent) 10%, #ffffff), #f3f7fd);
  box-shadow: 0 14px 30px rgba(17, 31, 44, 0.08);
}

.app-shell--estimator-v2 .step-tab__icon {
  background: color-mix(in srgb, var(--step-accent) 10%, #ffffff);
  border-color: color-mix(in srgb, var(--step-accent) 20%, rgba(17, 31, 44, 0.08));
}

.app-shell--estimator-v2 .layout {
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 18px;
  align-items: start;
}

.app-shell--estimator-v2 .layout--summary {
  grid-template-columns: minmax(0, 1fr);
}

.app-shell--estimator-v2 .content,
.app-shell--estimator-v2 .summary {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.app-shell--estimator-v2 .content {
  padding: 22px;
}

.app-shell--estimator-v2 .content__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 31, 44, 0.08);
}

.app-shell--estimator-v2 .content__head h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  letter-spacing: -0.05em;
}

.app-shell--estimator-v2 .content__head p {
  margin: 8px 0 0;
  max-width: 56ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.app-shell--estimator-v2 .content-stack {
  gap: 18px;
}

.app-shell--estimator-v2 .step-actions {
  gap: 10px;
  align-items: center;
}

.app-shell--estimator-v2 .step-actions__group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-shell--estimator-v2 .step-status {
  min-height: 40px;
  border-color: rgba(17, 31, 44, 0.08);
  background: #f6f9fc;
  color: #566a7f;
}

.app-shell--estimator-v2 .step-status--dirty {
  border-color: rgba(230, 167, 66, 0.22);
  background: rgba(230, 167, 66, 0.12);
  color: #8a621b;
}

.app-shell--estimator-v2 .step-status--syncing {
  border-color: rgba(33, 102, 255, 0.18);
  background: rgba(33, 102, 255, 0.08);
  color: #1d57d6;
}

.app-shell--estimator-v2 .step-status--ready {
  border-color: rgba(53, 148, 102, 0.18);
  background: rgba(53, 148, 102, 0.08);
  color: #2a7d55;
}

.app-shell--estimator-v2 .summary {
  padding: 20px;
  gap: 14px;
  background:
    radial-gradient(circle at top left, rgba(33, 102, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(243, 247, 253, 0.98));
}

.app-shell--estimator-v2 .summary-preview-panel,
.app-shell--estimator-v2 .summary-brief,
.app-shell--estimator-v2 .summary-sheet {
  gap: 14px;
}

.app-shell--estimator-v2 .summary-card,
.app-shell--estimator-v2 .side-table,
.app-shell--estimator-v2 .block,
.app-shell--estimator-v2 .field,
.app-shell--estimator-v2 .toggle,
.app-shell--estimator-v2 .insight-card,
.app-shell--estimator-v2 .briefing-result {
  border-color: rgba(17, 31, 44, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow: 0 10px 24px rgba(17, 31, 44, 0.05);
}

.app-shell--estimator-v2 .block::before {
  display: none;
}

.app-shell--estimator-v2 .block {
  padding: 22px;
  border-radius: 24px;
}

.app-shell--estimator-v2 .block__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 31, 44, 0.07);
}

.app-shell--estimator-v2 .block__head--compact {
  padding-bottom: 0;
  border-bottom: 0;
}

.app-shell--estimator-v2 .block__head h3 {
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.app-shell--estimator-v2 .field-grid {
  gap: 12px;
}

.app-shell--estimator-v2 .field,
.app-shell--estimator-v2 .toggle {
  gap: 10px;
  padding: 15px;
  border-radius: 18px;
  border-color: rgba(17, 31, 44, 0.07);
  background: linear-gradient(180deg, #f8fbff, #f4f8fd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.app-shell--estimator-v2 .field:hover,
.app-shell--estimator-v2 .toggle:hover {
  border-color: rgba(17, 31, 44, 0.12);
  background: linear-gradient(180deg, #fbfdff, #f6f9fe);
}

.app-shell--estimator-v2 .field:focus-within,
.app-shell--estimator-v2 .toggle:focus-within {
  border-color: rgba(33, 102, 255, 0.2);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(33, 102, 255, 0.08),
    0 12px 28px rgba(17, 31, 44, 0.06);
  transform: translateY(-1px);
}

.app-shell--estimator-v2 .field__text {
  gap: 6px;
}

.app-shell--estimator-v2 .field__titleline {
  gap: 8px;
}

.app-shell--estimator-v2 .field__text strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.app-shell--estimator-v2 .field__meta {
  padding: 3px 8px;
  background: rgba(33, 102, 255, 0.05);
  color: #5c7086;
}

.app-shell--estimator-v2 .field__hint {
  max-width: 34ch;
  color: #74869a;
}

.app-shell--estimator-v2 .help-dot {
  width: 1.15rem;
  height: 1.15rem;
  border-color: rgba(33, 102, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #2166ff;
}

.app-shell--estimator-v2 .field__meta,
.app-shell--estimator-v2 .readonly-chip,
.app-shell--estimator-v2 .badge,
.app-shell--estimator-v2 .requirement-pill {
  border-color: rgba(17, 31, 44, 0.08);
  background: rgba(33, 102, 255, 0.06);
  color: #5a6d82;
}

.app-shell--estimator-v2 .field__control,
.app-shell--estimator-v2 .table-input,
.app-shell--estimator-v2 .table-static,
.app-shell--estimator-v2 .field__readonly-value {
  border-color: rgba(17, 31, 44, 0.08);
  background: #ffffff;
  color: var(--text);
}

.app-shell--estimator-v2 .field__control,
.app-shell--estimator-v2 .table-input {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(17, 31, 44, 0.03);
}

.app-shell--estimator-v2 .field__control:focus,
.app-shell--estimator-v2 .table-input:focus {
  border-color: rgba(33, 102, 255, 0.22);
  box-shadow:
    0 0 0 4px rgba(33, 102, 255, 0.08),
    inset 0 1px 0 rgba(17, 31, 44, 0.03);
}

.app-shell--estimator-v2 .field--numeric .field__control--numeric {
  width: min(100%, 7.5rem);
}

.app-shell--estimator-v2 .field--minimum::after,
.app-shell--estimator-v2 .toggle.field--minimum::after {
  display: none;
}

.app-shell--estimator-v2 .field--minimum-ready,
.app-shell--estimator-v2 .toggle.field--minimum-ready {
  border-color: rgba(33, 102, 255, 0.16);
  background: linear-gradient(180deg, #f8fbff, #f4f8fd);
  box-shadow:
    inset 3px 0 0 rgba(33, 102, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.app-shell--estimator-v2 .field--minimum-missing,
.app-shell--estimator-v2 .toggle.field--minimum-missing {
  border-color: rgba(230, 167, 66, 0.18);
  background: linear-gradient(180deg, #fffaf2, #fff6ea);
  box-shadow:
    inset 3px 0 0 rgba(230, 167, 66, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.app-shell--estimator-v2 .field__readonly-value {
  min-height: 48px;
  border-style: solid;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.app-shell--estimator-v2 .table-wrap {
  border-color: rgba(17, 31, 44, 0.08);
  background: rgba(250, 252, 255, 0.98);
}

.app-shell--estimator-v2 .table-wrap--summary {
  background: transparent;
}

.app-shell--estimator-v2 th {
  background: #f6f9fd;
  color: #5b6e83;
  border-bottom-color: rgba(17, 31, 44, 0.08);
}

.app-shell--estimator-v2 td,
.app-shell--estimator-v2 .summary-list__row {
  border-bottom-color: rgba(17, 31, 44, 0.06);
}

.app-shell--estimator-v2 tbody tr:hover {
  background: rgba(33, 102, 255, 0.03);
}

.app-shell--estimator-v2 .summary-card strong,
.app-shell--estimator-v2 .dashboard-card strong,
.app-shell--estimator-v2 .data-row__value {
  color: var(--text);
}

.app-shell--estimator-v2 .summary-brief {
  padding: 18px;
  border: 1px solid rgba(17, 31, 44, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(33, 102, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
  box-shadow: 0 14px 30px rgba(17, 31, 44, 0.06);
}

.app-shell--estimator-v2 .summary-brief__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 31, 44, 0.07);
}

.app-shell--estimator-v2 .summary-brief__copy {
  display: grid;
  gap: 6px;
}

.app-shell--estimator-v2 .summary-brief__head h3 {
  margin: 0;
  font-size: 1.34rem;
  letter-spacing: -0.05em;
}

.app-shell--estimator-v2 .summary-brief__head p {
  max-width: 30ch;
}

.app-shell--estimator-v2 .summary-brief__type {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(33, 102, 255, 0.12);
  border-radius: 999px;
  background: rgba(33, 102, 255, 0.06);
  color: #1f5ddd;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-shell--estimator-v2 .summary-kpis--aside {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.app-shell--estimator-v2 .summary-card {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 10px 22px rgba(17, 31, 44, 0.05);
}

.app-shell--estimator-v2 .summary-card--cost {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at top right, rgba(33, 102, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f5f9ff);
}

.app-shell--estimator-v2 .summary-card small {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-shell--estimator-v2 .summary-card strong {
  margin: 10px 0 6px;
  font-size: clamp(1.62rem, 2vw, 2.12rem);
  letter-spacing: -0.06em;
}

.app-shell--estimator-v2 .summary-card span {
  color: #6c7e93;
  font-size: 0.8rem;
}

.app-shell--estimator-v2 .side-table {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.app-shell--estimator-v2 .side-table__head {
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 31, 44, 0.07);
}

.app-shell--estimator-v2 .side-table h3 {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.app-shell--estimator-v2 .summary-list {
  gap: 0;
}

.app-shell--estimator-v2 .summary-list__row {
  padding: 11px 0;
}

.app-shell--estimator-v2 .summary-list__row span {
  color: #6f8094;
  font-size: 0.83rem;
}

.app-shell--estimator-v2 .summary-list__row strong {
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

.app-shell--estimator-v2 .wizard-panel,
.app-shell--estimator-v2 .wizard-dock {
  border-color: rgba(17, 31, 44, 0.08);
  background:
    radial-gradient(circle at top right, rgba(33, 102, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  color: var(--text);
  box-shadow: 0 22px 56px rgba(17, 31, 44, 0.16);
}

.app-shell--estimator-v2 .wizard-panel__head p,
.app-shell--estimator-v2 .wizard-panel__next p,
.app-shell--estimator-v2 .wizard-dock small,
.app-shell--estimator-v2 .wizard-dock span,
.app-shell--estimator-v2 .wizard-panel__progress small,
.app-shell--estimator-v2 .wizard-panel__next small,
.app-shell--estimator-v2 .wizard-panel__flow small {
  color: var(--muted);
}

.app-shell--estimator-v2 .wizard-panel__progress,
.app-shell--estimator-v2 .wizard-panel__next,
.app-shell--estimator-v2 .wizard-panel__flow,
.app-shell--estimator-v2 .wizard-checklist__item,
.app-shell--estimator-v2 .wizard-panel__toggle {
  border-color: rgba(17, 31, 44, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.app-shell--estimator-v2 .wizard-checklist__item span {
  background: rgba(33, 102, 255, 0.06);
}

.app-shell--estimator-v2 .floating-help {
  border-color: rgba(17, 31, 44, 0.08);
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  box-shadow: 0 16px 38px rgba(17, 31, 44, 0.14);
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: min(760px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(212, 163, 90, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(17, 31, 44, 0.98), rgba(9, 18, 29, 0.98));
  box-shadow: var(--shadow);
}

.cookie-banner__copy strong {
  font-size: 1.02rem;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.cookie-banner__copy p {
  max-width: 60ch;
  font-size: 0.9rem;
  line-height: 1.58;
}

.cookie-banner__copy,
.modal-card,
.modal-card__head,
.consent-stack,
.consent-option,
.legal-points,
.legal-point {
  display: grid;
}

.cookie-banner__copy {
  gap: 4px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-banner__actions .button {
  min-height: 40px;
  padding-inline: 14px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 12, 19, 0.62);
  backdrop-filter: blur(12px);
}

.modal-shell__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-out;
}

.modal-card {
  gap: 20px;
  width: min(760px, calc(100vw - 32px));
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 40px max(40px, 1cm);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(17, 31, 44, 0.98), rgba(9, 18, 29, 0.98));
  box-shadow: var(--shadow);
}

.modal-card--legal {
  width: min(820px, calc(100vw - 32px));
  gap: 20px;
  padding: 40px max(40px, 1cm);
  background: linear-gradient(180deg, rgba(16, 29, 41, 0.985), rgba(10, 18, 28, 0.985));
}

.modal-card--legalhub {
  width: min(980px, calc(100vw - 32px));
  gap: 20px;
  padding: 40px max(40px, 1cm);
  background: linear-gradient(180deg, rgba(16, 29, 41, 0.985), rgba(10, 18, 28, 0.985));
}

.modal-card--consent {
  width: min(820px, calc(100vw - 32px));
  gap: 20px;
  padding: 40px max(40px, 1cm);
  background: linear-gradient(180deg, rgba(16, 29, 41, 0.985), rgba(10, 18, 28, 0.985));
}

.modal-card--auth {
  position: relative;
  width: min(1100px, calc(100vw - 32px));
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(250, 253, 255, 0.96), rgba(239, 245, 249, 0.96));
  box-shadow: 0 38px 90px rgba(6, 14, 24, 0.34);
}

.modal-card--media {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100vw - 44px));
  max-height: min(92vh, 1080px);
  padding: 18px;
  gap: 14px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 23, 34, 0.985), rgba(8, 16, 25, 0.985));
}

.modal-card__head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.modal-card__head--media {
  align-items: center;
  padding: 6px 4px 0;
}

.modal-card__head--media h3 {
  margin: 8px 0 6px;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.modal-card__head--media p {
  margin: 0;
  max-width: 76ch;
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
  font-size: 0.9rem;
  line-height: 1.5;
}

.modal-card--legal .eyebrow,
.modal-card--legalhub .eyebrow,
.modal-card--consent .eyebrow,
.modal-card--auth .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  letter-spacing: 0.14em;
  font-size: 0.67rem;
  line-height: 1.2;
}

.modal-card--legal .modal-card__head h3,
.modal-card--legalhub .modal-card__head h3,
.modal-card--consent .modal-card__head h3,
.modal-card--auth .modal-card__head h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.modal-card--legal .modal-card__head p,
.modal-card--legalhub .modal-card__head p,
.modal-card--consent .modal-card__head p,
.modal-card--auth .modal-card__head p {
  max-width: none;
  width: 100%;
  font-size: 0.92rem;
  line-height: 1.56;
  text-align: justify;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
}

.modal-card__close {
  appearance: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-card__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-card__foot .button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
}

.media-viewer {
  display: grid;
  min-height: 0;
  overflow: auto;
  padding: 4px;
}

.media-viewer__image {
  display: block;
  width: 100%;
  max-height: calc(92vh - 170px);
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(247, 250, 252, 0.98), rgba(235, 242, 246, 0.98));
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28);
}

.modal-card--legal .modal-card__foot,
.modal-card--legalhub .modal-card__foot,
.modal-card--consent .modal-card__foot,
.modal-card--auth .modal-card__foot {
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.modal-card--legal .modal-card__foot .button--ghost {
  background: rgba(255, 255, 255, 0.035);
}

.modal-card--legalhub .modal-card__foot .button--ghost {
  background: rgba(255, 255, 255, 0.035);
}

.modal-card--consent .modal-card__foot .button--ghost {
  background: rgba(255, 255, 255, 0.035);
}

.modal-card--auth .modal-card__foot .button--ghost {
  background: rgba(255, 255, 255, 0.035);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.auth-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.auth-layout--hero {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  min-height: 660px;
  align-items: stretch;
}

.auth-hero {
  position: relative;
  display: grid;
  min-height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.auth-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 26, 38, 0.38), rgba(8, 18, 29, 0.7)),
    radial-gradient(circle at top right, rgba(53, 179, 128, 0.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(76, 149, 194, 0.34), transparent 30%);
}

.auth-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: 40px 38px;
}

.auth-hero__logo {
  width: min(220px, 72%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.24));
}

.auth-hero__copy {
  display: grid;
  gap: 10px;
  align-self: center;
  width: min(100%, 470px);
}

.auth-hero__copy .eyebrow {
  color: rgba(242, 247, 250, 0.78);
  letter-spacing: 0.18em;
}

.auth-hero__copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.auth-hero__copy p {
  margin: 0;
  color: rgba(241, 247, 250, 0.82);
  font-size: 0.96rem;
  line-height: 1.72;
  max-width: 42ch;
}

.auth-main-column {
  display: grid;
  justify-items: center;
  align-content: center;
  align-items: center;
  min-height: 100%;
  gap: 18px;
  padding: 40px 36px;
  background:
    radial-gradient(circle at top right, rgba(81, 165, 213, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.96));
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(8, 17, 25, 0.26);
  color: #fff;
  backdrop-filter: blur(14px);
}

.auth-panel {
  display: grid;
  gap: 18px;
  align-self: center;
  width: min(100%, 430px);
  padding: 28px 28px 24px;
  border: 1px solid rgba(111, 149, 179, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(74, 160, 208, 0.09), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
}

.auth-panel--primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 40px rgba(11, 24, 36, 0.08);
}

.auth-panel__head {
  display: grid;
  gap: 8px;
  padding-bottom: 2px;
}

.auth-panel__head strong {
  color: rgba(72, 100, 120, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-panel__head p {
  margin: 0;
  color: rgba(57, 74, 88, 0.82);
  font-size: 0.96rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(108, 143, 169, 0.12);
  border-radius: 18px;
  background: rgba(231, 239, 245, 0.78);
}

.auth-mode-tab {
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
  color: rgba(61, 81, 98, 0.72);
  font-size: 0.81rem;
  font-weight: 700;
}

.auth-mode-tab.is-active {
  border-color: rgba(102, 176, 219, 0.42);
  background: linear-gradient(180deg, rgba(70, 150, 196, 0.92), rgba(45, 114, 153, 0.94));
  color: #f5fbff;
  box-shadow: 0 10px 22px rgba(58, 117, 153, 0.2);
}

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

.auth-field {
  display: grid;
  gap: 8px;
}

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

.auth-field span {
  color: rgba(84, 102, 116, 0.96);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-status {
  margin: 0;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(121, 151, 174, 0.16);
  background: rgba(242, 247, 250, 0.92);
  color: #21313d;
  font-size: 0.84rem;
  line-height: 1.55;
}

.auth-status--success {
  border-color: rgba(116, 180, 120, 0.34);
  background: rgba(116, 180, 120, 0.1);
}

.auth-status--warning {
  border-color: rgba(212, 163, 90, 0.34);
  background: rgba(212, 163, 90, 0.1);
}

.auth-status--error {
  border-color: rgba(224, 123, 102, 0.34);
  background: rgba(224, 123, 102, 0.1);
}

.auth-policy-note {
  margin: -2px 0 0;
  color: rgba(83, 102, 116, 0.76);
  font-size: 0.8rem;
  line-height: 1.55;
}

.auth-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-panel__actions--primary {
  display: grid;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  min-height: 46px;
  border-color: rgba(95, 199, 150, 0.42);
  background: linear-gradient(180deg, rgba(54, 165, 115, 0.96), rgba(36, 131, 89, 0.96));
  box-shadow: 0 14px 30px rgba(8, 67, 43, 0.26);
}

.auth-panel__switches {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  align-items: center;
}

.auth-inline-action {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(50, 121, 164, 0.94);
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-color: rgba(50, 121, 164, 0.25);
  text-underline-offset: 0.18em;
}

.auth-inline-action:hover {
  color: rgba(27, 95, 135, 1);
  text-decoration-color: rgba(27, 95, 135, 0.45);
}

.auth-side {
  display: grid;
  gap: 16px;
}

.auth-side__section {
  display: grid;
  gap: 12px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(111, 149, 179, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.auth-side__head {
  display: grid;
  gap: 5px;
}

.auth-side__head strong {
  color: var(--text);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.auth-side__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.56;
  text-wrap: pretty;
}

.auth-provider-list {
  display: grid;
  gap: 10px;
}

.auth-provider {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  text-align: left;
}

.auth-provider[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-provider__glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.auth-provider__copy {
  display: grid;
  gap: 3px;
}

.auth-provider__copy strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.2;
}

.auth-provider__copy small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.button--auth-google {
  border-color: rgba(91, 168, 214, 0.28);
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.button--auth-microsoft {
  border-color: rgba(109, 135, 233, 0.3);
  background:
    radial-gradient(circle at top right, rgba(109, 135, 233, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.auth-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.auth-panel .field__control {
  min-height: 46px;
  border-color: rgba(125, 170, 199, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: #182531;
}

.auth-panel .field__control::placeholder {
  color: rgba(123, 142, 156, 0.58);
}

.auth-panel .field__control:focus {
  border-color: rgba(107, 186, 232, 0.56);
  box-shadow: 0 0 0 4px rgba(86, 155, 196, 0.14);
}

.auth-helper--warning {
  color: #d4a35a;
}

.auth-helper--error {
  color: #e07b66;
}

.consent-stack {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.consent-option {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  background: transparent;
}

.consent-option--disabled {
  border-color: rgba(125, 189, 116, 0.28);
}

.consent-option__copy {
  gap: 8px;
}

.consent-option__copy strong {
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.consent-option__copy p {
  font-size: 0.86rem;
  line-height: 1.5;
}

.consent-switch {
  position: relative;
  display: inline-flex;
}

.consent-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.consent-switch span {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  transition: background 160ms ease, border-color 160ms ease;
}

.consent-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}

.consent-switch input:checked + span {
  background: color-mix(in srgb, var(--accent) 36%, rgba(255, 255, 255, 0.1));
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
}

.consent-switch input:checked + span::after {
  transform: translateX(22px);
}

.legal-points {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-point {
  gap: 6px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  background: transparent;
}

.modal-card--legal .legal-point strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.modal-card--legal .legal-point p {
  font-size: 0.88rem;
  line-height: 1.48;
}

.legal-hub {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-hub__section {
  gap: 12px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  background: transparent;
}

.legal-hub__section-head {
  display: grid;
  gap: 6px;
}

.legal-hub__section-head .eyebrow {
  width: fit-content;
}

.legal-hub__section-head h4 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.legal-hub__section p {
  max-width: none;
  width: 100%;
  font-size: 0.87rem;
  line-height: 1.5;
  text-align: justify;
}

.legal-facts {
  gap: 0;
  padding-top: 2px;
}

.legal-facts__row {
  display: grid;
  grid-template-columns: minmax(150px, 182px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
}

.legal-facts__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-facts dt {
  justify-self: end;
  text-align: right;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  line-height: 1.55;
}

.legal-facts dd {
  justify-self: start;
  text-align: left;
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.55;
}

.modal-card--legal .legal-point p,
.modal-card--legalhub .legal-hub__section-head p,
.modal-card--consent .consent-option__copy p,
.modal-card--consent .modal-card__head p,
.modal-card--legal .modal-card__head p,
.modal-card--legalhub .modal-card__head p {
  width: 100%;
  max-width: none;
  text-align: justify;
  text-wrap: pretty;
}

html[data-theme="light"] .utility-link {
  color: var(--muted);
}

html[data-theme="light"] .landing-hero,
html[data-theme="light"] .landing-section,
html[data-theme="light"] .landing-card,
html[data-theme="light"] .landing-note,
html[data-theme="light"] .cookie-banner,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .consent-option,
html[data-theme="light"] .landing-final {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.94));
}

html[data-theme="light"] .landing-card--accent {
  background:
    radial-gradient(circle at top right, rgba(91, 168, 214, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.94));
}

html[data-theme="light"] .landing-card--warm {
  background:
    radial-gradient(circle at top right, rgba(212, 163, 90, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.94));
}

html[data-theme="light"] .landing-card--success {
  background:
    radial-gradient(circle at top right, rgba(125, 189, 116, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.94));
}

html[data-theme="light"] .landing-usecase,
html[data-theme="light"] .landing-faq__item,
html[data-theme="light"] .legal-hub__section,
html[data-theme="light"] .landing-chip {
  border-color: rgba(18, 36, 52, 0.08);
  background: rgba(18, 36, 52, 0.03);
}

html[data-theme="light"] .landing-hero__panel,
html[data-theme="light"] .modal-card__close {
  background: rgba(18, 36, 52, 0.04);
}

html[data-theme="light"] .modal-card--media {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(245, 249, 252, 0.995));
}

html[data-theme="light"] .media-viewer__image {
  border-color: rgba(17, 31, 44, 0.08);
  box-shadow: 0 26px 50px rgba(37, 64, 86, 0.16);
}

@media (max-width: 1100px) {
  .landing-section--split,
  .landing-section--reverse,
  .landing-grid,
  .landing-usecases,
  .landing-final,
  .legal-hub {
    grid-template-columns: 1fr;
  }

  .landing-masthead,
  .landing-legal__list {
    grid-template-columns: 1fr;
  }

  .landing-step-grid,
  .landing-output-grid,
  .landing-pricing-grid,
  .landing-cta-row {
    grid-template-columns: 1fr;
  }

  .landing-section--feature-focus .landing-list,
  .landing-section--planning-focus .landing-list {
    grid-template-columns: 1fr;
  }

  .landing-masthead__actions {
    justify-items: start;
  }

  .landing-masthead__logo-image {
    width: min(250px, 60vw);
  }

  .landing-hero {
    min-height: 0;
  }

  .landing-hero__visual {
    position: relative;
    inset: auto;
    min-height: 360px;
    order: 2;
  }

  .landing-hero::before {
    background:
      linear-gradient(180deg, rgba(8, 16, 24, 0.24) 0%, rgba(8, 16, 24, 0.18) 20%, rgba(8, 16, 24, 0.06) 42%, rgba(8, 16, 24, 0.42) 100%);
  }

  .landing-hero__copy {
    max-width: none;
    min-height: 0;
    padding-bottom: 22px;
  }

  .landing-hero__legal {
    position: relative;
    inset: auto;
  }
}

@media (max-width: 1320px) {
  .step-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .summary {
    grid-column: 1 / -1;
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .dashboard-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-orbit {
    justify-self: start;
  }

  .dashboard-grid,
  .dashboard-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .app-shell {
    width: min(100vw - 16px, 100%);
    padding-top: 12px;
  }

  .app-shell--landing {
    width: 100%;
    padding-top: 0;
  }

  .landing-content,
  .landing-alert {
    width: min(100vw - 20px, 100%);
  }

  .app-header {
    top: 8px;
  }

  .topbar,
  .content__head {
    flex-direction: column;
  }

  .topbar {
    gap: 16px;
    padding: 16px 16px 14px;
    border-radius: 22px;
    background:
      radial-gradient(circle at top right, rgba(215, 168, 95, 0.08), transparent 24%),
      linear-gradient(180deg, rgba(16, 30, 42, 0.92), rgba(10, 18, 28, 0.92));
  }

  .app-shell--estimator-v2 {
    width: min(100vw - 16px, 100%);
  }

  .app-shell--estimator-v2::before {
    inset: -4px -8px 0;
    border-radius: 28px;
  }

  .app-shell--estimator-v2 .topbar {
    background:
      radial-gradient(circle at top left, rgba(33, 102, 255, 0.08), transparent 26%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  }

  .app-shell--estimator-v2 .estimator-stepper {
    padding: 16px;
    border-radius: 22px;
  }

  .estimator-stepper__head {
    flex-direction: column;
    align-items: start;
  }

  .estimator-stepper__meta,
  .estimator-stepper__progress {
    width: 100%;
    justify-items: start;
  }

  .estimator-stepper__track {
    width: 100%;
  }

  .app-shell--estimator-v2 .brand-lockup {
    align-items: flex-start;
  }

  .app-shell--estimator-v2 .brand-lockup__copy span {
    max-width: none;
  }

  .topbar h1 {
    font-size: clamp(1.35rem, 6.2vw, 1.9rem);
  }

  .brand-signature,
  .brand-pills {
    display: none;
  }

  .brand-kicker {
    letter-spacing: 0.16em;
    font-size: 0.62rem;
  }

  .preference-bar {
    justify-content: start;
    padding: 4px;
  }

  .topbar__actions,
  .utility-links,
  .compliance-bar,
  .cookie-banner,
  .cookie-banner__actions {
    justify-content: start;
  }

  .topbar__actions {
    width: 100%;
    gap: 10px;
  }

  .utility-links {
    order: 2;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .utility-links::-webkit-scrollbar {
    display: none;
  }

  .utility-link {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.72rem;
  }

  .app-shell--estimator-v2 .utility-link {
    border-color: rgba(17, 31, 44, 0.08);
    background: rgba(255, 255, 255, 0.94);
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(15, 28, 40, 0.92), rgba(9, 18, 29, 0.92));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .app-shell--estimator-v2 .step-tabs {
    background: rgba(255, 255, 255, 0.94);
  }

  .app-shell--estimator-v2 .step-actions {
    width: 100%;
    justify-content: space-between;
  }

  .step-tabs::-webkit-scrollbar,
  .step-actions::-webkit-scrollbar {
    display: none;
  }

  .step-tab {
    flex: 0 0 144px;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .step-tab__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .step-tab__icon svg {
    width: 17px;
    height: 17px;
  }

  .step-tab__body {
    gap: 0;
  }

  .step-tab__body small {
    display: none;
  }

  .step-tab__body strong {
    font-size: 0.8rem;
    line-height: 1.15;
  }

  .summary {
    gap: 0;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
  }

  .summary-mobile-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 14px 15px;
    border: 0;
    background:
      radial-gradient(circle at top right, rgba(91, 168, 214, 0.16), transparent 34%),
      linear-gradient(180deg, rgba(16, 30, 43, 0.96), rgba(9, 18, 29, 0.96));
    color: var(--text);
    text-align: left;
  }

  .app-shell--estimator-v2 .summary-mobile-toggle {
    background:
      radial-gradient(circle at top left, rgba(33, 102, 255, 0.08), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  }

  .summary-mobile-toggle__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .summary-mobile-toggle__copy small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.63rem;
  }

  .summary-mobile-toggle__copy strong {
    font-size: 0.96rem;
    letter-spacing: -0.03em;
  }

  .summary-mobile-toggle__copy span {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .summary-mobile-toggle__metrics {
    display: inline-flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .summary-mobile-toggle__metrics::-webkit-scrollbar {
    display: none;
  }

  .summary-mobile-toggle__metrics .metric-chip {
    flex: 0 0 auto;
    min-width: 0;
    padding: 8px 10px;
  }

  .summary-mobile-toggle__metrics .metric-chip strong {
    font-size: 0.82rem;
  }

  .summary-mobile-toggle__chevron {
    width: 11px;
    height: 11px;
    border-right: 2px solid color-mix(in srgb, var(--accent) 70%, var(--text));
    border-bottom: 2px solid color-mix(in srgb, var(--accent) 70%, var(--text));
    transform: rotate(45deg);
    transition: transform 160ms ease;
  }

  .summary.is-open .summary-mobile-toggle__chevron {
    transform: rotate(-135deg);
  }

  .summary-preview-panel {
    display: none;
    gap: 12px;
    padding: 0 14px 14px;
  }

  .summary.is-open .summary-preview-panel {
    display: grid;
  }

  .summary-card,
  .side-table {
    padding: 14px;
    border-radius: 16px;
  }

  .summary-card strong {
    font-size: 1.34rem;
  }

  .proposal-sheet__masthead {
    flex-direction: column;
    align-items: flex-start;
  }

  .proposal-sheet__document {
    min-width: 0;
    width: 100%;
    text-align: left;
  }

  .proposal-sheet__meta,
  .proposal-sheet__kpis {
    grid-template-columns: 1fr;
  }

  .wizard-panel,
  .wizard-dock {
    position: static;
    width: auto;
  }

  .content {
    padding: 16px;
    border-radius: 20px;
  }

  .content__head {
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .content__head h2 {
    font-size: 1.18rem;
  }

  .step-actions {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 8px;
  }

  .step-actions > * {
    flex: 0 0 auto;
  }

  .step-status,
  .step-actions .button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .step-actions__group,
  .step-actions__group--nav {
    flex: 0 0 auto;
  }

  .field-grid,
  .compact-grid,
  .commercial-hub__grid,
  .commercial-hub__grid--proposal {
    grid-template-columns: 1fr;
  }

  .status-pill {
    width: 100%;
  }

  .summary-kpis,
  .summary-stack {
    grid-template-columns: 1fr;
  }

  .app-shell--estimator-v2 .summary-brief__head,
  .app-shell--estimator-v2 .summary-kpis--aside {
    grid-template-columns: 1fr;
  }

  .app-shell--estimator-v2 .summary-brief__type {
    justify-self: start;
  }

  .dashboard-orbit {
    width: 192px;
    flex-basis: 192px;
  }

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

  .role-load-card__head {
    align-items: start;
    flex-direction: column;
  }

  .gantt-scale,
  .gantt-row {
    grid-template-columns: 1fr;
  }

  .gantt-scale__side {
    display: none;
  }

  .gantt-row__stats {
    justify-items: start;
    text-align: left;
  }

  .summary-sheet__header,
  .wizard-panel__head,
  .wizard-panel__body,
  .invoice-panel__head,
  .invoice-line__header,
  .data-row__head {
    flex-direction: column;
  }

  .accordion-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .head-control {
    width: 100%;
  }

  .toggle-inline {
    width: 100%;
    justify-content: space-between;
  }

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

  .metric-strip--tight {
    justify-content: start;
  }

  .landing-hero__copy {
    padding: 24px;
  }

  .landing-hero__copy h1,
  .landing-hero__copy h2 {
    max-width: none;
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .brand-lockup__logo-image {
    width: min(240px, 56vw);
  }

  .app-shell--estimator-v2 .brand-lockup__copy span {
    display: none;
  }

  .app-shell--estimator-v2 .brand-lockup__copy small {
    font-size: 0.62rem;
  }

  .app-shell--estimator-v2 .brand-lockup__mark {
    padding: 9px 12px;
  }

  .landing-hero__copy > p {
    max-width: none;
  }

  .landing-hero__visual {
    min-height: 280px;
  }

  .landing-actions {
    align-items: stretch;
  }

  .landing-placeholder__frame {
    min-height: 200px;
  }

  .landing-section--showcase-dominant .landing-showcase__frame {
    min-height: 280px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .app-shell--estimator-v2 .step-actions,
  .app-shell--estimator-v2 .step-actions__group,
  .app-shell--estimator-v2 .step-actions__group--nav {
    width: 100%;
  }

  .app-shell--estimator-v2 .step-actions {
    display: grid;
    justify-content: stretch;
  }

  .app-shell--estimator-v2 .step-actions__group,
  .app-shell--estimator-v2 .step-actions__group--nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .modal-shell {
    padding: 16px;
  }

  .modal-card,
  .modal-card--legal {
    width: min(100vw - 16px, 100%);
  }

  .modal-card,
  .modal-card--legal,
  .modal-card--legalhub,
  .modal-card--consent,
  .modal-card--auth {
    padding: 28px;
  }

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

  .auth-layout--hero {
    min-height: 0;
  }

  .auth-hero {
    min-height: 240px;
  }

  .auth-hero__content {
    gap: 18px;
    padding: 24px 24px 26px;
  }

  .auth-main-column {
    padding: 24px;
  }

  .auth-panel,
  .auth-side__section {
    padding: 18px;
  }

  .modal-card--media {
    width: min(100vw - 16px, 100%);
    max-height: min(94vh, 1080px);
    padding: 14px;
  }

  .legal-hub__section-head .eyebrow {
    min-width: 0;
  }

  .legal-facts__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-facts dt {
    justify-self: start;
    text-align: left;
  }

  .table-wrap--stackable {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .table-wrap--stackable table.table--stacked {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  .table-wrap--stackable table.table--stacked thead {
    display: none;
  }

  .table-wrap--stackable table.table--stacked,
  .table-wrap--stackable table.table--stacked tbody,
  .table-wrap--stackable table.table--stacked tr,
  .table-wrap--stackable table.table--stacked td {
    display: block;
    width: 100%;
  }

  .table-wrap--stackable table.table--stacked tbody {
    display: grid;
    gap: 12px;
  }

  .table-wrap--stackable table.table--stacked tr {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background:
      radial-gradient(circle at top right, rgba(91, 168, 214, 0.08), transparent 38%),
      linear-gradient(180deg, rgba(14, 26, 38, 0.9), rgba(8, 15, 24, 0.9));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .table-wrap--stackable table.table--stacked tr.is-active {
    border-color: color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, 0.08));
    background:
      radial-gradient(circle at top right, rgba(91, 168, 214, 0.14), transparent 40%),
      linear-gradient(180deg, rgba(16, 30, 43, 0.96), rgba(8, 17, 27, 0.96));
  }

  .table-wrap--stackable table.table--stacked td {
    display: grid;
    grid-template-columns: minmax(96px, 0.78fr) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .table-wrap--stackable table.table--stacked td:last-child {
    border-bottom: 0;
  }

  .table-wrap--stackable table.table--stacked td::before {
    content: attr(data-cell-label);
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table-wrap--stackable table.table--stacked td > * {
    min-width: 0;
  }

  .table-wrap--stackable .cell-fit {
    width: auto;
  }

  .table-wrap--stackable .table-field-shell,
  .table-wrap--stackable .task-cell,
  .table-wrap--stackable .table-static,
  .table-wrap--stackable .table-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .table-wrap--stackable .table-input--text,
  .table-wrap--stackable .table-input--select,
  .table-wrap--stackable .table-input--numeric {
    width: 100%;
    min-width: 0;
  }

  .table-wrap--stackable .badge {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .landing-content,
  .landing-alert {
    width: min(100vw - 16px, 100%);
  }

  .landing-shell {
    gap: 14px;
  }

  .landing-masthead {
    gap: 12px;
  }

  .landing-section {
    padding: 18px;
  }

  .landing-masthead .utility-links,
  .landing-masthead__actions {
    width: 100%;
    justify-items: start;
  }

  .landing-masthead .utility-links {
    display: grid;
    gap: 4px;
  }

  .landing-masthead .preference-bar {
    width: fit-content;
    max-width: 100%;
  }

  .landing-step-card,
  .landing-output-card {
    padding: 16px;
  }

  .step-tab {
    flex-basis: min(78vw, 196px);
    padding: 10px;
  }

  .preference-bar {
    width: fit-content;
    max-width: 100%;
  }

  .preference-chip--select {
    flex: 1 1 auto;
  }

  .preference-chip--icon {
    width: 40px;
    justify-content: center;
  }

  .compliance-bar,
  .consent-option {
    grid-template-columns: 1fr;
  }

  .compliance-bar,
  .compliance-bar__actions,
  .cookie-banner__actions,
  .modal-card__foot {
    justify-content: stretch;
  }

  .cookie-banner__actions .button,
  .modal-card__foot .button,
  .landing-actions .button {
    width: 100%;
  }

  .modal-card__head--media h3 {
    font-size: 1.08rem;
  }

  .media-viewer__image {
    max-height: calc(94vh - 150px);
  }

  .content {
    padding: 15px;
  }

  .content__head h2 {
    font-size: 1.08rem;
  }

  .topbar {
    padding: 14px;
  }

  .app-shell--estimator-v2 .brand-lockup__copy span {
    display: none;
  }

  .app-shell--estimator-v2 .brand-lockup__copy small {
    font-size: 0.62rem;
  }

  .app-shell--estimator-v2 .brand-lockup__mark {
    padding: 9px 12px;
  }

  .summary-mobile-toggle {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .summary-mobile-toggle__metrics {
    width: 100%;
  }

  .summary-mobile-toggle__metrics .metric-chip {
    flex: 1 1 0;
  }

  .summary-mobile-toggle__chevron {
    justify-self: end;
  }

  .table-wrap--stackable table.table--stacked td {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm 12mm 16mm;
  }

  :root {
    --app-header-offset: 0px;
  }

  html,
  body {
    background: #fff;
    color: #111;
  }

  body::before,
  body::after,
  .app-header,
  .wizard-panel,
  .wizard-dock,
  .summary,
  .step-actions,
  .commercial-hub,
  .cookie-banner,
  .compliance-bar,
  .utility-links,
  .modal-shell,
  .alert {
    display: none !important;
  }

  body::after {
    display: block !important;
    content: "SANTOSDOCASTRO";
    position: fixed;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-31deg);
    font-family: "Aptos Display", "Helvetica Neue", sans-serif;
    font-size: 96px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: rgba(20, 34, 46, 0.06);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
  }

  .app-shell {
    width: 100%;
    padding: 0;
  }

  .print-only {
    display: block !important;
  }

  .layout,
  .layout--summary {
    display: block;
  }

  .content,
  .block,
  .summary-card,
  .proposal-sheet,
  .proposal-meta-card,
  .proposal-sheet__document,
  .table-wrap--summary,
  .summary-sheet {
    border: 0;
    box-shadow: none;
    background: #fff;
  }

  .content {
    padding: 0;
  }

  .summary-sheet > :not(.proposal-ticket) {
    display: none !important;
  }

  .block {
    padding: 0;
    break-inside: avoid;
  }

  .block::before {
    display: none;
  }

  .proposal-sheet {
    position: relative;
    z-index: 1;
    padding: 0 0 10mm;
    margin-bottom: 8mm;
    break-inside: avoid;
  }

  .proposal-sheet__watermark {
    display: none;
  }

  .proposal-sheet__masthead {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 6mm;
    padding-bottom: 4mm;
    border-bottom: 1px solid #d6dce2;
  }

  .proposal-sheet__document span,
  .proposal-meta-card small {
    color: #5a6e7f;
  }

  .proposal-sheet__document {
    min-width: 70mm;
    padding: 0;
  }

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

  .proposal-sheet__meta {
    margin-bottom: 6mm;
  }

  .proposal-meta-card,
  .summary-card {
    padding: 10px 12px;
    border: 1px solid #dbe2e8;
    border-radius: 12px;
  }

  th {
    background: #f3f5f7;
    color: #334;
  }

  .summary-table td,
  .summary-table th {
    color: #111;
  }

  .summary-table {
    min-width: 0;
  }

  .summary-sheet {
    position: relative;
    z-index: 1;
    gap: 7mm;
  }

  .dashboard-appendix {
    display: none !important;
  }

  .proposal-ticket {
    position: relative;
    display: grid !important;
    gap: 5mm;
    padding: 0;
    color: #102535;
    background: #fff;
    break-inside: avoid;
  }

  .proposal-ticket__watermark {
    display: block;
    position: fixed;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-31deg);
    font-family: "Aptos Display", "Helvetica Neue", sans-serif;
    font-size: 78px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(16, 37, 53, 0.045);
    pointer-events: none;
    z-index: 0;
  }

  .proposal-ticket > * {
    position: relative;
    z-index: 1;
  }

  .proposal-ticket__header {
    grid-template-columns: 1fr 60mm;
    gap: 6mm;
    align-items: start;
    padding-bottom: 4mm;
    border-bottom: 1px solid #d6dce2;
  }

  .proposal-ticket__document,
  .proposal-ticket__panel,
  .proposal-ticket__hero {
    box-shadow: none;
    break-inside: avoid;
  }

  .proposal-ticket__meta {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3mm;
  }

  .proposal-ticket__meta-item {
    padding: 0 0 2mm;
  }

  .proposal-ticket__hero {
    grid-template-columns: 1fr 1fr;
    gap: 5mm;
    padding: 4mm;
    border-radius: 14px;
  }

  .proposal-ticket__hero-copy h3 {
    font-size: 22pt;
    color: #102535;
  }

  .proposal-ticket__hero-copy p,
  .proposal-ticket__row span,
  .proposal-ticket__bar-head span {
    color: #5a6e7f;
  }

  .proposal-ticket__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4mm;
  }

  .proposal-ticket__panel {
    padding: 4mm;
    border-radius: 12px;
  }

  .proposal-ticket__table th {
    background: #f3f5f7;
    color: #334;
  }
}

/* SANTOSDOCASTRO integration skin */
:root {
  --sdc-black: #070706;
  --sdc-ink: #11110f;
  --sdc-graphite: #262520;
  --sdc-paper: #f7f3ea;
  --sdc-white: #fffdf8;
  --sdc-gold: #b8944c;
  --sdc-gold-soft: #d6bd7c;
  --sdc-bronze: #806632;
  --sdc-shadow: 0 24px 70px rgba(7, 7, 6, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-display:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body {
  background: var(--sdc-paper);
  color: var(--sdc-ink);
}

body::before {
  background-image: none;
  mask-image: none;
}

.app-shell--landing,
.app-shell--landing .landing-content {
  background: var(--sdc-paper);
}

.app-shell--landing .landing-content {
  width: 100%;
  padding-top: 0;
}

.landing-shell--v4 {
  width: 100%;
  gap: 0;
  color: var(--sdc-ink);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: min(1440px, calc(100% - 32px));
  margin: 18px auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: clamp(10px, 1.1vw, 18px);
  align-items: center;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 7, 6, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.site-header a,
.site-header a:visited,
.site-header a:hover,
.site-header a:focus-visible {
  text-decoration: none;
}

.site-header .brand,
.site-header .brand:visited {
  color: #fff;
}

.nav-links {
  display: flex;
  justify-content: center;
  min-width: 0;
  gap: clamp(10px, 1vw, 18px);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 0.72vw, 0.9rem);
  font-weight: 760;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:visited {
  color: rgba(255, 255, 255, 0.78);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active {
  color: var(--sdc-gold-soft);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.language-switcher button,
.language-switcher a {
  display: inline-grid;
  min-width: 34px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  transition:
    color 180ms ease,
  background 180ms ease;
}

.language-switcher a:visited {
  color: rgba(255, 255, 255, 0.68);
}

.language-switcher button:hover,
.language-switcher button.is-active,
.language-switcher a:hover,
.language-switcher a.is-active {
  color: #15120c;
  background: var(--sdc-gold-soft);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.menu-button {
  display: none;
}

@media (max-width: 1240px) {
  .nav-links {
    display: none;
  }

  .site-header--menu-open .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(7, 7, 6, 0.94);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
  }

  .site-header--menu-open .nav-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 6px;
    white-space: normal;
  }

  .site-header--menu-open .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .menu-button {
    display: inline-grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 20px, 1220px);
    grid-template-columns: auto 1fr auto;
    margin-top: 10px;
  }

  .brand span:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-action {
    display: none;
  }

  .language-switcher {
    gap: 2px;
    justify-self: end;
    padding: 3px;
  }

  .language-switcher button,
  .language-switcher a {
    min-width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .site-header--menu-open .nav-links {
    grid-template-columns: 1fr;
  }
}

.landing-v4-topbar__brandline {
  display: contents;
  gap: 0;
  min-width: 0;
}

.landing-v4-topbar__brand {
  flex: 0 0 auto;
  min-height: 44px;
  gap: 11px;
  color: inherit;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.11em;
}

.landing-v4-topbar__brand::after {
  content: "SANTOSDOCASTRO";
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.landing-v4-topbar__logo,
.app-shell--estimator-v2 .brand-lockup__logo-image,
.brand-lockup__logo-image {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--sdc-black);
  filter: none;
}

.landing-v4-topbar__nav {
  justify-content: center;
  min-width: 0;
  gap: clamp(10px, 1vw, 18px);
}

.landing-v4-topbar__nav-link,
.landing-shell--v4 .utility-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 0.72vw, 0.9rem);
  font-weight: 760;
  letter-spacing: 0;
}

.landing-v4-topbar__nav-link:hover,
.landing-v4-topbar__nav-link:focus-visible,
.landing-shell--v4 .utility-link:hover {
  color: #fff;
}

.sdc-corporate-nav {
  flex: 0 1 auto;
  min-width: 0;
}

.sdc-corporate-nav__link.is-active {
  color: var(--sdc-gold-soft);
}

.sdc-language-switcher {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.sdc-language-switcher__option {
  display: inline-grid;
  min-width: 34px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #070706;
}

.footer-layout {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "brand note"
    "links legal";
  gap: 16px 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: inherit;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.11em;
}

.brand__mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sdc-black);
}

.brand__logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-layout > .brand {
  grid-area: brand;
}

.footer-links {
  grid-area: links;
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: start;
}

.footer-legal {
  grid-area: legal;
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
}

.footer-legal button {
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.2;
  text-align: left;
}

.footer-links a,
.footer-legal button {
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-legal button:hover {
  color: #fff;
}

.footer-note {
  grid-area: note;
  min-width: 0;
  text-align: right;
  font-size: 0.86rem;
  line-height: 1.35;
}

.cookie-panel {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(900px, calc(100% - 36px));
  margin-left: auto;
  padding: 16px;
  border: 1px solid rgba(214, 189, 124, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 7, 6, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.cookie-panel__copy {
  min-width: 0;
}

.cookie-panel__copy strong {
  display: block;
  color: var(--sdc-gold-soft);
  font-size: 0.9rem;
}

.cookie-panel__copy p {
  max-width: 660px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  line-height: 1.42;
}

.cookie-panel__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.cookie-action:hover {
  transform: translateY(-1px);
}

.cookie-action--primary {
  border: 1px solid transparent;
  color: #15120c;
  background: var(--sdc-gold-soft);
}

.cookie-action--secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 7, 6, 0.58);
}

.cookie-modal__card {
  display: grid;
  gap: 14px;
  width: min(840px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(214, 189, 124, 0.24);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 17, 15, 0.98), rgba(38, 37, 32, 0.97)),
    var(--sdc-ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.cookie-modal__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.cookie-modal__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.24rem, 2vw, 1.72rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.cookie-modal__header p:not(.eyebrow) {
  max-width: 720px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.52;
}

.cookie-modal__close {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-modal__policy {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.cookie-modal__policy strong {
  display: block;
  color: var(--sdc-gold-soft);
  font-size: 0.86rem;
}

.cookie-modal__policy p,
.cookie-modal__policy small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.44;
}

.cookie-modal__policy p {
  margin: 8px 0;
}

.cookie-category-list {
  display: grid;
  gap: 8px;
}

.cookie-category {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.cookie-category__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.cookie-category h3 {
  margin: 0;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.24;
}

.cookie-category p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  line-height: 1.42;
}

.cookie-category ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cookie-category li,
.cookie-category__status {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(214, 189, 124, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-weight: 760;
}

.cookie-category__status {
  color: #15120c;
  background: var(--sdc-gold-soft);
}

.cookie-toggle {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-toggle span {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 180ms ease;
}

.cookie-toggle span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 180ms ease;
}

.cookie-toggle input:checked + span {
  background: var(--sdc-gold-soft);
}

.cookie-toggle input:checked + span::after {
  transform: translateX(18px);
  background: #15120c;
}

.sdc-language-switcher__option:hover,
.sdc-language-switcher__option.is-active {
  color: #15120c;
  background: var(--sdc-gold-soft);
}

.landing-shell--v4 .session-chip--landing {
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.landing-v4-hero,
.landing-v4-section,
.landing-v4-cta {
  border-radius: 0;
  box-shadow: none;
}

.landing-v4-hero {
  position: relative;
  min-height: 100svh;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: #fff;
  background: var(--sdc-black);
  isolation: isolate;
}

.landing-v4-hero__image,
.landing-v4-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-v4-hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(0.94);
}

.landing-v4-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.9) 0%, rgba(7, 7, 6, 0.76) 42%, rgba(7, 7, 6, 0.36) 78%),
    linear-gradient(0deg, rgba(7, 7, 6, 0.82) 0%, transparent 42%);
}

.landing-v4-hero__content {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: clamp(34px, 6vh, 58px);
  padding: 120px 0 34px;
}

.landing-v4-hero__copy h1,
.landing-v4-section__head h2,
.landing-v4-cta__copy h2 {
  letter-spacing: 0;
}

.landing-v4-hero__copy h1 {
  max-width: 740px;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1;
}

.landing-shell--v4 .eyebrow,
.app-shell--estimator-v2 .eyebrow,
.landing-v4-metric span,
.landing-v4-stage-note span,
.landing-v4-stage-mini__copy span,
.landing-v4-stage-float span,
.landing-v4-stage-inline span,
.landing-v4-feature-card__index,
.landing-shell--v4 .landing-step-card strong {
  color: var(--sdc-gold-soft);
  letter-spacing: 0.08em;
}

.landing-v4-hero__copy > p {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.58;
}

.landing-v4-hero-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(214, 189, 124, 0.3);
}

.landing-v4-hero-proof > p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.48;
}

.landing-v4-hero-proof .landing-v4-brand-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.landing-v4-hero-proof .landing-v4-brand-mark {
  min-height: 42px;
  justify-content: flex-start;
  padding: 0 0 0 12px;
  border: 0;
  border-left: 1px solid rgba(214, 189, 124, 0.28);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
}

.landing-v4-hero-proof .landing-v4-brand-mark strong {
  font-size: 0.82rem;
  line-height: 1.18;
}

.landing-shell--v4 .landing-actions .button--hero,
.landing-shell--v4 .landing-final__actions .button--hero,
.app-shell--estimator-v2 .button--accent,
.button--accent {
  min-height: 44px;
  border-color: transparent;
  border-radius: 8px;
  color: #15120c;
  background: var(--sdc-gold-soft);
  box-shadow: none;
  font-weight: 850;
}

.landing-shell--v4 .landing-actions .button--ghost,
.landing-shell--v4 .landing-final__actions .button--ghost,
.app-shell--estimator-v2 .button--ghost,
.button--ghost {
  min-height: 44px;
  border-color: rgba(17, 17, 15, 0.14);
  border-radius: 8px;
  color: var(--sdc-ink);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: none;
  font-weight: 800;
}

.landing-v4-stage-card,
.landing-v4-stage-mini,
.landing-shell--v4 .landing-showcase,
.landing-v4-feature-card,
.landing-v4-shot-card,
.landing-v4-panel,
.landing-shell--v4 .landing-step-card,
.landing-shell--v4 .landing-output-card,
.landing-shell--v4 .landing-usecase,
.landing-shell--v4 .landing-faq__item,
.landing-shell--v4 .landing-resource-card,
.landing-v4-story__body--surface,
.landing-v4-cta {
  border-color: rgba(17, 17, 15, 0.12);
  border-radius: 8px;
  background: var(--sdc-white);
  box-shadow: none;
}

.landing-v4-section {
  width: 100%;
  padding: clamp(66px, 7vw, 104px) 0;
  border: 0;
  border-radius: 0;
  background: var(--sdc-white);
}

.landing-v4-section > * {
  width: min(1220px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.landing-v4-section--muted,
.landing-v4-section--support {
  background: var(--sdc-paper);
}

.landing-v4-section#landing-platforms {
  background: var(--sdc-paper);
}

.landing-v4-section__head h2,
.landing-v4-cta__copy h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.65rem);
  line-height: 1.08;
}

.landing-v4-cta {
  width: 100%;
  grid-template-columns: minmax(0, 0.95fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(66px, 7vw, 104px) max(16px, calc((100vw - 1220px) / 2));
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #070706, #211b10);
  color: #fff;
}

.landing-v4-cta__copy p,
.landing-v4-cta__copy small {
  color: rgba(255, 255, 255, 0.72);
}

.app-shell--estimator-v2 {
  --app-header-offset: 216px;
  --bg: var(--sdc-paper);
  --panel: var(--sdc-white);
  --panel-soft: #f4efe4;
  --panel-alt: #fbf8f0;
  --line: rgba(17, 17, 15, 0.12);
  --line-strong: rgba(17, 17, 15, 0.2);
  --text: var(--sdc-ink);
  --muted: #706b60;
  --accent: var(--sdc-gold);
  --accent-strong: var(--sdc-bronze);
  --accent-soft: rgba(184, 148, 76, 0.12);
  --accent-warm: var(--sdc-gold-soft);
  --accent-coral: #806632;
  --accent-green: #5f7f5a;
  --shadow: var(--sdc-shadow);
  width: min(1440px, calc(100vw - 32px));
  padding: 96px 0 28px;
}

.app-shell--estimator-v2::before {
  inset: -18px -24px 0;
  border-radius: 0;
  background: var(--sdc-paper);
}

.app-shell--estimator-v2 .topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: start;
  padding: 10px 10px 10px 14px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 7, 6, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.app-shell--estimator-v2 .brand-lockup__mark {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.app-shell--estimator-v2 .brand-lockup__copy small {
  color: var(--sdc-gold-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.app-shell--estimator-v2 .brand-lockup__copy strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
}

.app-shell--estimator-v2 .brand-lockup__copy span {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.68);
}

.app-shell--estimator-v2 .preference-bar,
.app-shell--estimator-v2 .session-chip,
.app-shell--estimator-v2 .session-chip__logout,
.app-shell--estimator-v2 .preference-chip {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.app-shell--estimator-v2 .preference-bar {
  border: 0;
  padding: 0;
  background: transparent;
}

.app-shell--estimator-v2 .topbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.app-shell--estimator-v2 .utility-links {
  justify-content: flex-end;
}

.app-shell--estimator-v2 .session-chip__copy strong,
.app-shell--estimator-v2 .preference-chip select {
  color: #fff;
}

.app-shell--estimator-v2 .session-chip__copy small {
  color: rgba(255, 255, 255, 0.62);
}

.app-shell--estimator-v2 .estimator-stepper {
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  border-color: rgba(17, 17, 15, 0.12);
  background: var(--sdc-white);
  box-shadow: none;
}

.app-shell--estimator-v2 .estimator-stepper__head {
  align-items: center;
}

.app-shell--estimator-v2 .estimator-stepper__copy strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.app-shell--estimator-v2 .estimator-stepper__status,
.app-shell--estimator-v2 .step-status {
  min-height: 32px;
  border-radius: 999px;
  border-color: rgba(17, 17, 15, 0.12);
  background: rgba(17, 17, 15, 0.04);
  color: #5e5b52;
}

.app-shell--estimator-v2 .estimator-stepper__status--dirty,
.app-shell--estimator-v2 .step-status--dirty {
  border-color: rgba(184, 148, 76, 0.3);
  background: rgba(184, 148, 76, 0.12);
  color: var(--sdc-bronze);
}

.app-shell--estimator-v2 .estimator-stepper__status--syncing,
.app-shell--estimator-v2 .step-status--syncing {
  border-color: rgba(184, 148, 76, 0.3);
  background: rgba(214, 189, 124, 0.14);
  color: var(--sdc-bronze);
}

.app-shell--estimator-v2 .estimator-stepper__status--ready,
.app-shell--estimator-v2 .step-status--ready {
  border-color: rgba(95, 127, 90, 0.24);
  background: rgba(95, 127, 90, 0.1);
  color: #4a7046;
}

.app-shell--estimator-v2 .estimator-stepper__track {
  height: 7px;
  background: rgba(17, 17, 15, 0.08);
}

.app-shell--estimator-v2 .estimator-stepper__fill {
  background: linear-gradient(90deg, var(--sdc-gold), var(--sdc-gold-soft));
}

.app-shell--estimator-v2 .step-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.app-shell--estimator-v2 .step-tab {
  min-width: 0;
  min-height: 54px;
  padding: 9px 10px;
  border-radius: 8px;
  border-color: rgba(17, 17, 15, 0.1);
  background: rgba(17, 17, 15, 0.035);
  box-shadow: none;
}

.app-shell--estimator-v2 .step-tab:hover {
  box-shadow: none;
  background: rgba(17, 17, 15, 0.055);
}

.app-shell--estimator-v2 .step-tab.is-current {
  border-color: rgba(184, 148, 76, 0.48);
  background: rgba(184, 148, 76, 0.12);
  box-shadow: inset 0 -3px 0 var(--sdc-gold);
}

.app-shell--estimator-v2 .step-tab__icon {
  display: none;
}

.app-shell--estimator-v2 .step-tab__body {
  gap: 4px;
}

.app-shell--estimator-v2 .step-tab__body small {
  color: var(--sdc-bronze);
}

.app-shell--estimator-v2 .step-tab__body strong {
  overflow: hidden;
  color: var(--sdc-ink);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell--estimator-v2 .layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
}

.app-shell--estimator-v2 .content,
.app-shell--estimator-v2 .summary {
  border-radius: 8px;
  border-color: rgba(17, 17, 15, 0.12);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: none;
}

.app-shell--estimator-v2 .content {
  padding: 18px;
}

.app-shell--estimator-v2 .content__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 0 14px;
  border-bottom-color: rgba(17, 17, 15, 0.1);
}

.app-shell--estimator-v2 .content__head h2 {
  margin-top: 5px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.app-shell--estimator-v2 .content__head p {
  max-width: 72ch;
  font-size: 0.86rem;
}

.app-shell--estimator-v2 .content-stack {
  gap: 14px;
}

.app-shell--estimator-v2 .wizard-panel,
.app-shell--estimator-v2 .wizard-dock {
  position: static;
  z-index: auto;
  width: 100%;
  margin: 0;
  border-radius: 8px;
  border-color: rgba(184, 148, 76, 0.24);
  color: var(--sdc-ink);
  background:
    linear-gradient(90deg, rgba(184, 148, 76, 0.14), rgba(255, 253, 248, 0.98)),
    var(--sdc-white);
  box-shadow: none;
}

.app-shell--estimator-v2 .wizard-panel {
  gap: 12px;
  padding: 14px;
}

.app-shell--estimator-v2 .wizard-panel::before {
  width: 3px;
  background: var(--sdc-gold);
}

.app-shell--estimator-v2 .wizard-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.app-shell--estimator-v2 .wizard-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.app-shell--estimator-v2 .wizard-panel__next,
.app-shell--estimator-v2 .wizard-panel__progress,
.app-shell--estimator-v2 .wizard-panel__flow,
.app-shell--estimator-v2 .wizard-checklist__item,
.app-shell--estimator-v2 .wizard-panel__toggle {
  border-color: rgba(17, 17, 15, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.app-shell--estimator-v2 .wizard-panel__flow {
  display: none;
}

.app-shell--estimator-v2 .wizard-panel__actions {
  min-width: min(320px, 34vw);
}

.app-shell--estimator-v2 .block,
.app-shell--estimator-v2 .summary-card,
.app-shell--estimator-v2 .side-table,
.app-shell--estimator-v2 .field,
.app-shell--estimator-v2 .toggle,
.app-shell--estimator-v2 .insight-card,
.app-shell--estimator-v2 .briefing-result,
.app-shell--estimator-v2 .table-wrap {
  border-radius: 8px;
  border-color: rgba(17, 17, 15, 0.1);
  background: var(--sdc-white);
  box-shadow: none;
}

.app-shell--estimator-v2 .block {
  padding: 18px;
}

.app-shell--estimator-v2 .block__head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom-color: rgba(17, 17, 15, 0.1);
}

.app-shell--estimator-v2 .block__head h3 {
  font-size: 1rem;
  letter-spacing: 0;
}

.app-shell--estimator-v2 .field-grid {
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.app-shell--estimator-v2 .field,
.app-shell--estimator-v2 .toggle {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 280px);
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(17, 17, 15, 0.085);
  background: rgba(255, 253, 248, 0.82);
  transform: none;
}

.app-shell--estimator-v2 .field:last-child,
.app-shell--estimator-v2 .toggle:last-child {
  border-bottom: 0;
}

.app-shell--estimator-v2 .field::before,
.app-shell--estimator-v2 .toggle::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: 0;
  background: var(--sdc-gold);
  transition: opacity 160ms ease;
}

.app-shell--estimator-v2 .field:hover,
.app-shell--estimator-v2 .toggle:hover,
.app-shell--estimator-v2 .field:focus-within,
.app-shell--estimator-v2 .toggle:focus-within {
  border-color: rgba(17, 17, 15, 0.085);
  background:
    linear-gradient(90deg, rgba(184, 148, 76, 0.06), rgba(255, 253, 248, 0.98) 26%),
    #fffdf8;
  box-shadow: inset 0 0 0 1px rgba(184, 148, 76, 0.16);
  transform: none;
}

.app-shell--estimator-v2 .field:hover::before,
.app-shell--estimator-v2 .toggle:hover::before,
.app-shell--estimator-v2 .field:focus-within::before,
.app-shell--estimator-v2 .toggle:focus-within::before {
  opacity: 1;
}

.app-shell--estimator-v2 .field__text {
  min-width: 0;
  gap: 5px;
}

.app-shell--estimator-v2 .field__titleline {
  justify-content: flex-start;
  gap: 8px;
}

.app-shell--estimator-v2 .field__text strong {
  font-size: 0.92rem;
  line-height: 1.28;
}

.app-shell--estimator-v2 .field__hint {
  max-width: 70ch;
  font-size: 0.78rem;
  line-height: 1.42;
}

.app-shell--estimator-v2 .field__meta {
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sdc-bronze);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-shell--estimator-v2 .readonly-chip,
.app-shell--estimator-v2 .badge,
.app-shell--estimator-v2 .requirement-pill,
.app-shell--estimator-v2 .help-dot {
  border-color: rgba(184, 148, 76, 0.2);
  background: rgba(184, 148, 76, 0.1);
  color: var(--sdc-bronze);
}

body.has-estimator-viewport .floating-help {
  border-color: rgba(17, 17, 15, 0.12);
  background: #fffdf8;
  color: var(--sdc-ink);
  box-shadow: 0 18px 42px rgba(17, 17, 15, 0.16);
}

body.has-estimator-viewport .floating-help__row {
  border-bottom-color: rgba(17, 17, 15, 0.08);
}

body.has-estimator-viewport .floating-help__row:first-child {
  background: rgba(184, 148, 76, 0.08);
}

.app-shell--estimator-v2 .field__control,
.app-shell--estimator-v2 .table-input,
.app-shell--estimator-v2 .table-static,
.app-shell--estimator-v2 .field__readonly-value {
  min-height: 42px;
  border-radius: 8px;
  border-color: rgba(17, 17, 15, 0.14);
  background: #fffdf8;
}

.app-shell--estimator-v2 .field__control,
.app-shell--estimator-v2 .field__readonly-value {
  width: 100%;
  justify-self: stretch;
}

.app-shell--estimator-v2 .field__control:focus,
.app-shell--estimator-v2 .table-input:focus {
  border-color: rgba(184, 148, 76, 0.62);
  box-shadow: 0 0 0 3px rgba(184, 148, 76, 0.12);
}

.app-shell--estimator-v2 .field--numeric .field__control--numeric {
  width: 100%;
  justify-self: stretch;
}

.app-shell--estimator-v2 .toggle {
  grid-template-columns: minmax(0, 1fr) minmax(72px, 96px);
}

.app-shell--estimator-v2 .toggle input {
  order: 2;
  justify-self: end;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--sdc-gold);
}

.app-shell--estimator-v2 .toggle .field__text {
  order: 1;
}

.app-shell--estimator-v2 .summary {
  padding: 16px;
  background: rgba(255, 253, 248, 0.96);
}

.app-shell--estimator-v2 .summary-brief {
  border-radius: 8px;
  border-color: rgba(184, 148, 76, 0.22);
  background:
    linear-gradient(180deg, rgba(184, 148, 76, 0.12), rgba(255, 253, 248, 0.98)),
    var(--sdc-white);
  box-shadow: none;
}

.app-shell--estimator-v2 .summary-brief__head {
  grid-template-columns: 1fr;
  border-bottom-color: rgba(17, 17, 15, 0.1);
}

.app-shell--estimator-v2 .summary-brief__type {
  width: max-content;
  border-color: rgba(184, 148, 76, 0.24);
  background: rgba(184, 148, 76, 0.12);
  color: var(--sdc-bronze);
}

.app-shell--estimator-v2 .summary-card strong {
  font-size: clamp(1.2rem, 1.6vw, 1.65rem);
  letter-spacing: 0;
}

.app-shell--estimator-v2 th {
  background: rgba(17, 17, 15, 0.04);
  color: #5e5b52;
}

html.has-estimator-viewport .app-shell--estimator-v2 {
  gap: 14px;
  padding: 96px 0 18px;
}

@media (max-width: 1320px) {
  .app-shell--estimator-v2 .step-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .app-shell--estimator-v2 .step-tab {
    flex: 0 0 132px;
  }
}

@media (max-width: 1120px) {
  .landing-v4-hero {
    min-height: 100svh;
    grid-template-columns: 1fr;
  }

  .landing-v4-hero-proof,
  .landing-v4-story,
  .landing-v4-story--reverse,
  .landing-v4-story--narrow {
    grid-template-columns: 1fr;
  }

  .landing-v4-hero-proof .landing-v4-brand-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-v4-hero__copy {
    margin: 0;
    text-align: left;
  }

  .landing-shell--v4 .landing-actions,
  .landing-shell--v4 .landing-chip-grid--landing,
  .landing-shell--v4 .utility-links {
    justify-content: flex-start;
  }

  .app-shell--estimator-v2 .content__head,
  .app-shell--estimator-v2 .wizard-panel__head,
  .app-shell--estimator-v2 .wizard-panel__body {
    grid-template-columns: 1fr;
  }

  .app-shell--estimator-v2 .wizard-panel__actions {
    min-width: 0;
  }

}

@media (max-width: 820px) {
  .app-shell--estimator-v2 .utility-links {
    width: 100%;
    justify-content: flex-start;
  }

  .app-shell--estimator-v2 .field,
  .app-shell--estimator-v2 .toggle {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    min-height: auto;
  }

  .app-shell--estimator-v2 .toggle input {
    justify-self: start;
  }

  .cookie-panel {
    grid-template-columns: 1fr;
  }

  .cookie-panel__actions,
  .cookie-modal__actions {
    justify-content: stretch;
  }

  .cookie-panel__actions .cookie-action,
  .cookie-modal__actions .cookie-action {
    width: 100%;
  }

  .landing-v4-hero,
  .landing-v4-section,
  .landing-v4-cta {
    border-radius: 0;
  }

  .landing-v4-hero {
    min-height: auto;
    margin-top: -1px;
    padding: 0;
  }

  .landing-v4-hero__content {
    padding: 44px 0 28px;
  }

  .landing-v4-hero-proof .landing-v4-brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-v4-section,
  .landing-v4-cta {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .landing-v4-cta {
    grid-template-columns: 1fr;
    padding-left: max(16px, calc((100vw - 1220px) / 2));
    padding-right: max(16px, calc((100vw - 1220px) / 2));
  }

  .footer-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "legal"
      "note";
    align-items: start;
  }

  .footer-legal,
  .footer-note {
    justify-content: flex-start;
    text-align: left;
  }

  .app-shell--estimator-v2 {
    width: min(100% - 20px, 1440px);
  }
}

@media (max-width: 640px) {
  .landing-v4-hero__copy h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .app-shell--estimator-v2 .wizard-panel__actions,
  .app-shell--estimator-v2 .step-actions,
  .app-shell--estimator-v2 .step-actions__group,
  .app-shell--estimator-v2 .step-actions__group--nav {
    display: grid;
    width: 100%;
  }
}

@keyframes sdc-flow-sheen {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes sdc-current-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(184, 148, 76, 0.22);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(184, 148, 76, 0);
  }
}

.app-shell--estimator-v2 .estimator-stepper {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 18px 20px 20px;
  border-color: rgba(17, 17, 15, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(244, 239, 228, 0.94)),
    var(--sdc-white);
}

.app-shell--estimator-v2 .estimator-stepper::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sdc-gold), #5f7f5a, #486b80);
}

.app-shell--estimator-v2 .estimator-stepper__head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.app-shell--estimator-v2 .estimator-stepper__copy strong {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.app-shell--estimator-v2 .estimator-stepper__track {
  overflow: hidden;
  height: 8px;
}

.app-shell--estimator-v2 .estimator-stepper__fill {
  overflow: hidden;
  background: linear-gradient(90deg, var(--sdc-gold), #5f7f5a, #486b80);
}

.app-shell--estimator-v2 .estimator-stepper__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: sdc-flow-sheen 2.8s ease-in-out infinite;
}

.app-shell--estimator-v2 .step-tabs {
  gap: 18px;
  align-items: stretch;
}

.app-shell--estimator-v2 .step-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 72px;
  overflow: visible;
  border-color: rgba(17, 17, 15, 0.1);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 243, 234, 0.92));
}

.app-shell--estimator-v2 .step-tab:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -18px;
  width: 18px;
  height: 1px;
  background: rgba(17, 17, 15, 0.24);
}

.app-shell--estimator-v2 .step-tab:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  right: -18px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(17, 17, 15, 0.28);
  border-right: 1px solid rgba(17, 17, 15, 0.28);
  transform: rotate(45deg);
  background: transparent;
}

.app-shell--estimator-v2 .step-tab__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: 8px;
  color: var(--sdc-bronze);
  background: rgba(184, 148, 76, 0.08);
}

.app-shell--estimator-v2 .step-tab__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.app-shell--estimator-v2 .step-tab.is-current {
  border-color: rgba(184, 148, 76, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 1), rgba(246, 238, 220, 0.98)),
    var(--sdc-white);
  box-shadow:
    inset 0 -3px 0 var(--sdc-gold),
    0 14px 30px rgba(17, 17, 15, 0.08);
}

.app-shell--estimator-v2 .step-tab.is-current .step-tab__icon {
  color: #fff;
  background: var(--sdc-gold);
  animation: sdc-current-pulse 2.2s ease-in-out infinite;
}

.app-shell--estimator-v2 .step-tab.is-done {
  border-color: rgba(95, 127, 90, 0.24);
}

.app-shell--estimator-v2 .step-tab.is-done .step-tab__icon {
  color: #fff;
  background: #5f7f5a;
}

.app-shell--estimator-v2 .step-tab.is-pending {
  opacity: 0.82;
}

.app-shell--estimator-v2 .step-tab__body strong {
  white-space: normal;
}

.app-shell--estimator-v2 .step-coach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 22px;
}

.app-shell--estimator-v2 .step-coach__card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 17px 18px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 243, 234, 0.94)),
    var(--sdc-white);
}

.app-shell--estimator-v2 .step-coach__card:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -18px;
  width: 18px;
  height: 1px;
  background: rgba(184, 148, 76, 0.46);
}

.app-shell--estimator-v2 .step-coach__card:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  right: -18px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(184, 148, 76, 0.56);
  border-right: 1px solid rgba(184, 148, 76, 0.56);
  transform: rotate(45deg);
}

.app-shell--estimator-v2 .step-coach__card--active {
  border-color: rgba(184, 148, 76, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.98), rgba(255, 253, 248, 0.98)),
    var(--sdc-white);
  box-shadow: inset 3px 0 0 var(--sdc-gold);
}

.app-shell--estimator-v2 .step-coach__card small,
.app-shell--estimator-v2 .wizard-panel__eyebrow,
.app-shell--estimator-v2 .wizard-panel__progress small,
.app-shell--estimator-v2 .wizard-panel__next small,
.app-shell--estimator-v2 .wizard-panel__flow small {
  color: var(--sdc-bronze);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-shell--estimator-v2 .step-coach__card strong {
  color: var(--sdc-ink);
  font-size: 1rem;
  line-height: 1.22;
}

.app-shell--estimator-v2 .step-coach__card p {
  max-width: 48ch;
  margin: 0;
  color: #6d675b;
  font-size: 0.82rem;
  line-height: 1.48;
}

.app-shell--estimator-v2 .wizard-panel,
.app-shell--estimator-v2 .wizard-dock {
  border-color: rgba(184, 148, 76, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(244, 239, 228, 0.96)),
    var(--sdc-white);
  box-shadow: 0 18px 42px rgba(17, 17, 15, 0.11);
}

.app-shell--estimator-v2 .wizard-panel {
  gap: 16px;
  padding: 18px;
}

.app-shell--estimator-v2 .wizard-panel__head {
  gap: 18px;
  align-items: stretch;
}

.app-shell--estimator-v2 .wizard-panel__head h3 {
  margin: 7px 0 6px;
  font-size: 1.1rem;
}

.app-shell--estimator-v2 .wizard-panel__head p,
.app-shell--estimator-v2 .wizard-panel__next p {
  color: #6d675b;
  line-height: 1.5;
}

.app-shell--estimator-v2 .wizard-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  grid-template-areas:
    "next actions"
    "flow flow";
  gap: 14px;
  align-items: stretch;
}

.app-shell--estimator-v2 .wizard-panel__next {
  grid-area: next;
}

.app-shell--estimator-v2 .wizard-panel__flow {
  grid-area: flow;
  display: grid;
}

.app-shell--estimator-v2 .wizard-panel__actions {
  grid-area: actions;
  align-content: center;
  min-width: 0;
}

.app-shell--estimator-v2 .wizard-panel__progress,
.app-shell--estimator-v2 .wizard-panel__next,
.app-shell--estimator-v2 .wizard-panel__flow,
.app-shell--estimator-v2 .wizard-checklist__item,
.app-shell--estimator-v2 .wizard-panel__toggle {
  border-color: rgba(17, 17, 15, 0.1);
  background: rgba(255, 253, 248, 0.78);
}

.app-shell--estimator-v2 .wizard-panel__next,
.app-shell--estimator-v2 .wizard-panel__flow {
  padding: 14px 16px;
}

.app-shell--estimator-v2 .wizard-checklist {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.app-shell--estimator-v2 .wizard-checklist__item {
  position: relative;
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 70px;
  padding: 12px;
  border-radius: 8px;
}

.app-shell--estimator-v2 .wizard-checklist__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 1px;
  background: rgba(17, 17, 15, 0.2);
}

.app-shell--estimator-v2 .wizard-checklist__item span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(184, 148, 76, 0.1);
  color: var(--sdc-bronze);
}

.app-shell--estimator-v2 .wizard-checklist__item.is-current {
  border-color: rgba(184, 148, 76, 0.38);
  background: rgba(184, 148, 76, 0.11);
}

.app-shell--estimator-v2 .wizard-checklist__item.is-current span {
  color: #fff;
  background: var(--sdc-gold);
}

.app-shell--estimator-v2 .wizard-checklist__item.is-done {
  border-color: rgba(95, 127, 90, 0.26);
  background: rgba(95, 127, 90, 0.08);
}

.app-shell--estimator-v2 .wizard-checklist__item.is-done span {
  color: #fff;
  background: #5f7f5a;
}

.app-shell--estimator-v2 .content {
  padding: clamp(18px, 2vw, 26px);
}

.app-shell--estimator-v2 .content-stack {
  gap: 22px;
}

.app-shell--estimator-v2 .block {
  padding: clamp(18px, 1.8vw, 24px);
}

.app-shell--estimator-v2 .block__head {
  margin-bottom: 18px;
}

.app-shell--estimator-v2 .field-grid {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(247, 243, 234, 0.72)),
    var(--sdc-white);
}

.app-shell--estimator-v2 .field,
.app-shell--estimator-v2 .toggle {
  min-height: 76px;
  padding: 16px 18px;
}

.app-shell--estimator-v2 .field__hint {
  color: #716b5f;
}

@media (prefers-reduced-motion: reduce) {
  .app-shell--estimator-v2 .estimator-stepper__fill::after,
  .app-shell--estimator-v2 .step-tab.is-current .step-tab__icon {
    animation: none;
  }
}

@media (max-width: 1320px) {
  .app-shell--estimator-v2 .step-tabs {
    gap: 12px;
  }

  .app-shell--estimator-v2 .step-tab:not(:last-child)::before,
  .app-shell--estimator-v2 .step-tab:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 1120px) {
  .app-shell--estimator-v2 .step-coach {
    grid-template-columns: 1fr;
  }

  .app-shell--estimator-v2 .step-coach__card:not(:last-child)::before,
  .app-shell--estimator-v2 .step-coach__card:not(:last-child)::after {
    display: none;
  }

  .app-shell--estimator-v2 .wizard-panel__body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "next"
      "flow"
      "actions";
  }

  .app-shell--estimator-v2 .wizard-checklist {
    grid-template-columns: 1fr;
  }

  .app-shell--estimator-v2 .wizard-checklist__item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .app-shell--estimator-v2 .estimator-stepper {
    padding: 16px;
  }

  .app-shell--estimator-v2 .estimator-stepper__head {
    display: grid;
    justify-items: stretch;
  }

  .app-shell--estimator-v2 .estimator-stepper__meta,
  .app-shell--estimator-v2 .estimator-stepper__progress {
    justify-items: stretch;
  }

  .app-shell--estimator-v2 .estimator-stepper__track {
    width: 100%;
  }

  .app-shell--estimator-v2 .step-tabs {
    gap: 10px;
  }

  .app-shell--estimator-v2 .step-tab {
    flex-basis: 156px;
    min-height: 70px;
  }

  .app-shell--estimator-v2 .step-coach {
    gap: 10px;
    margin-bottom: 16px;
  }
}

body.has-estimator-viewport {
  background:
    linear-gradient(180deg, #070706 0%, #12100c 235px, #2a2417 330px, var(--sdc-paper) 540px),
    var(--sdc-paper);
}

body.has-estimator-viewport::before {
  inset: 0 0 auto;
  height: min(500px, 58vh);
  opacity: 1;
  background-image:
    linear-gradient(90deg, rgba(7, 7, 6, 0.94) 0%, rgba(7, 7, 6, 0.78) 44%, rgba(7, 7, 6, 0.56) 100%),
    linear-gradient(180deg, rgba(7, 7, 6, 0.12) 0%, rgba(7, 7, 6, 0.56) 68%, rgba(247, 243, 234, 0) 100%),
    url("./fondo_stimator_web-DwPaeEgv.jpg");
  background-position: center 42%;
  background-size: cover;
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
}

.app-shell--estimator-v2 {
  position: relative;
  isolation: isolate;
  width: min(1440px, calc(100vw - 32px));
  padding-top: 112px;
}

.app-shell--estimator-v2::before {
  inset: 336px calc(50% - 50vw) -80px;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0) 0%, rgba(247, 243, 234, 0.94) 82px, var(--sdc-paper) 100%),
    var(--sdc-paper);
}

html.has-estimator-viewport .app-shell--estimator-v2 {
  gap: 16px;
  padding: 112px 0 18px;
}

.app-shell--estimator-v2 .app-header {
  gap: 14px;
}

.app-shell--estimator-v2 .estimator-stepper {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(7, 7, 6, 0.82), rgba(28, 23, 15, 0.76)),
    rgba(7, 7, 6, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.05);
}

.app-shell--estimator-v2 .estimator-stepper::after {
  background: linear-gradient(180deg, var(--sdc-gold-soft), var(--sdc-gold), #5f7f5a);
}

.app-shell--estimator-v2 .estimator-stepper__head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.app-shell--estimator-v2 .estimator-stepper__copy strong {
  color: #fff;
}

.app-shell--estimator-v2 .estimator-stepper__copy small,
.app-shell--estimator-v2 .estimator-stepper__progress small {
  color: rgba(255, 255, 255, 0.62);
}

.app-shell--estimator-v2 .estimator-stepper__status {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.app-shell--estimator-v2 .estimator-stepper__status--dirty,
.app-shell--estimator-v2 .estimator-stepper__status--syncing {
  border-color: rgba(214, 189, 124, 0.36);
  background: rgba(214, 189, 124, 0.14);
  color: var(--sdc-gold-soft);
}

.app-shell--estimator-v2 .estimator-stepper__status--ready {
  border-color: rgba(140, 173, 132, 0.34);
  background: rgba(95, 127, 90, 0.18);
  color: #d7ead0;
}

.app-shell--estimator-v2 .estimator-stepper__track {
  background: rgba(255, 255, 255, 0.12);
}

.app-shell--estimator-v2 .step-tab {
  color: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.app-shell--estimator-v2 .step-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.05);
}

.app-shell--estimator-v2 .step-tab:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.26);
}

.app-shell--estimator-v2 .step-tab:not(:last-child)::before {
  border-color: rgba(255, 255, 255, 0.32);
}

.app-shell--estimator-v2 .step-tab__icon {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--sdc-gold-soft);
  background: rgba(214, 189, 124, 0.12);
}

.app-shell--estimator-v2 .step-tab__body small {
  color: rgba(214, 189, 124, 0.8);
}

.app-shell--estimator-v2 .step-tab__body strong {
  color: #fff;
}

.app-shell--estimator-v2 .step-tab.is-current {
  border-color: rgba(214, 189, 124, 0.58);
  background:
    linear-gradient(180deg, rgba(214, 189, 124, 0.24), rgba(184, 148, 76, 0.12)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 -3px 0 var(--sdc-gold-soft),
    0 16px 34px rgba(0, 0, 0, 0.18);
}

.app-shell--estimator-v2 .step-tab.is-current .step-tab__icon {
  color: #15120c;
  background: var(--sdc-gold-soft);
}

.app-shell--estimator-v2 .step-tab.is-done {
  border-color: rgba(140, 173, 132, 0.3);
  background: rgba(95, 127, 90, 0.14);
}

.app-shell--estimator-v2 .step-tab.is-done .step-tab__icon {
  color: #fff;
  background: #5f7f5a;
}

.app-shell--estimator-v2 .step-tab.is-pending {
  opacity: 0.72;
}

.app-shell--estimator-v2 .layout {
  position: relative;
  z-index: 1;
}

.app-shell--estimator-v2 .content,
.app-shell--estimator-v2 .summary {
  border-color: rgba(17, 17, 15, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.985), rgba(247, 243, 234, 0.96)),
    var(--sdc-white);
  box-shadow: 0 24px 70px rgba(7, 7, 6, 0.12);
}

.app-shell--estimator-v2 .content {
  border-top: 4px solid rgba(184, 148, 76, 0.48);
}

.app-shell--estimator-v2 .summary {
  border-top: 4px solid rgba(95, 127, 90, 0.38);
}

.app-shell--estimator-v2 .content__head {
  border-bottom-color: rgba(17, 17, 15, 0.12);
}

.app-shell--estimator-v2 .content__head h2 {
  color: var(--sdc-ink);
}

.app-shell--estimator-v2 .step-coach__card,
.app-shell--estimator-v2 .wizard-panel,
.app-shell--estimator-v2 .wizard-dock,
.app-shell--estimator-v2 .block,
.app-shell--estimator-v2 .summary-card,
.app-shell--estimator-v2 .side-table,
.app-shell--estimator-v2 .table-wrap {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 243, 234, 0.88)),
    var(--sdc-white);
}

.app-shell--estimator-v2 .step-coach__card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.app-shell--estimator-v2 .step-coach__card--active {
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.98), rgba(255, 253, 248, 0.96)),
    var(--sdc-white);
}

.app-shell--estimator-v2 .field-grid {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(244, 239, 228, 0.78)),
    var(--sdc-paper);
}

.app-shell--estimator-v2 .field,
.app-shell--estimator-v2 .toggle {
  background: rgba(255, 253, 248, 0.9);
}

@media (max-width: 1120px) {
  body.has-estimator-viewport::before {
    height: min(480px, 62vh);
  }

  .app-shell--estimator-v2,
  html.has-estimator-viewport .app-shell--estimator-v2 {
    padding-top: 104px;
  }
}

@media (max-width: 820px) {
  body.has-estimator-viewport {
    background:
      linear-gradient(180deg, #070706 0%, #17130c 260px, var(--sdc-paper) 500px),
      var(--sdc-paper);
  }

  body.has-estimator-viewport::before {
    height: 420px;
    background-position: center top;
  }

  .app-shell--estimator-v2,
  html.has-estimator-viewport .app-shell--estimator-v2 {
    width: min(100% - 20px, 1440px);
    padding-top: 88px;
  }
}

.app-shell--estimator-v2 .step-tab {
  opacity: 1;
  color: var(--sdc-ink);
  border-color: rgba(255, 253, 248, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(239, 232, 216, 0.96)),
    var(--sdc-white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 22px rgba(0, 0, 0, 0.16);
}

.app-shell--estimator-v2 .step-tab:hover {
  border-color: rgba(214, 189, 124, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 1), rgba(246, 238, 220, 0.98)),
    var(--sdc-white);
}

.app-shell--estimator-v2 .step-tab__icon {
  border-color: rgba(184, 148, 76, 0.24);
  color: var(--sdc-bronze);
  background: rgba(184, 148, 76, 0.12);
}

.app-shell--estimator-v2 .step-tab__body small {
  color: var(--sdc-bronze);
  text-shadow: none;
}

.app-shell--estimator-v2 .step-tab__body strong {
  color: var(--sdc-ink);
  font-weight: 850;
  text-shadow: none;
}

.app-shell--estimator-v2 .step-tab.is-current {
  border-color: rgba(184, 148, 76, 0.78);
  background:
    linear-gradient(180deg, #f6df9b, #d1ab58),
    var(--sdc-gold-soft);
  box-shadow:
    inset 0 -3px 0 rgba(128, 102, 50, 0.42),
    0 16px 34px rgba(0, 0, 0, 0.18);
}

.app-shell--estimator-v2 .step-tab.is-current .step-tab__icon {
  border-color: rgba(21, 18, 12, 0.24);
  color: #15120c;
  background: rgba(255, 253, 248, 0.32);
}

.app-shell--estimator-v2 .step-tab.is-current .step-tab__body small,
.app-shell--estimator-v2 .step-tab.is-current .step-tab__body strong {
  color: #15120c;
  text-shadow: none;
}

.app-shell--estimator-v2 .step-tab.is-done {
  border-color: rgba(95, 127, 90, 0.34);
  background:
    linear-gradient(180deg, rgba(239, 248, 233, 0.98), rgba(219, 235, 209, 0.96)),
    #eef7e9;
}

.app-shell--estimator-v2 .step-tab.is-done .step-tab__icon {
  border-color: rgba(95, 127, 90, 0.24);
  color: #355331;
  background: rgba(95, 127, 90, 0.14);
}

.app-shell--estimator-v2 .step-tab.is-done .step-tab__body small {
  color: #4d7148;
}

.app-shell--estimator-v2 .step-tab.is-done .step-tab__body strong {
  color: #172214;
}

.app-shell--estimator-v2 .step-tab.is-pending {
  opacity: 1;
}

.app-shell--estimator-v2 {
  --stimator-radius-lg: 18px;
  --stimator-radius-md: 14px;
  --stimator-radius-sm: 10px;
  --stimator-rhythm-gap: clamp(18px, 1.7vw, 26px);
}

.app-shell--estimator-v2 .estimator-stepper {
  border-radius: var(--stimator-radius-lg);
}

.app-shell--estimator-v2 .step-tabs {
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 253, 248, 0.1);
  border-radius: var(--stimator-radius-md);
  background: rgba(255, 253, 248, 0.08);
}

.app-shell--estimator-v2 .step-tab {
  border-radius: var(--stimator-radius-sm);
}

.app-shell--estimator-v2 .step-tab__icon {
  border-radius: var(--stimator-radius-sm);
}

.app-shell--estimator-v2 .layout {
  gap: var(--stimator-rhythm-gap);
  padding: clamp(10px, 1.1vw, 16px);
  border: 1px solid rgba(184, 148, 76, 0.14);
  border-radius: var(--stimator-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.52), rgba(244, 239, 228, 0.66)),
    rgba(247, 243, 234, 0.42);
  box-shadow: 0 22px 62px rgba(7, 7, 6, 0.1);
  box-sizing: border-box;
}

.app-shell--estimator-v2 .content,
.app-shell--estimator-v2 .summary {
  position: relative;
  overflow: hidden;
  border-top: 0;
  border-radius: var(--stimator-radius-lg);
  border-color: rgba(17, 17, 15, 0.09);
  box-shadow:
    0 20px 54px rgba(7, 7, 6, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.app-shell--estimator-v2 .content::before,
.app-shell--estimator-v2 .summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  pointer-events: none;
}

.app-shell--estimator-v2 .content::before {
  background: linear-gradient(90deg, rgba(184, 148, 76, 0.72), rgba(214, 189, 124, 0.22), transparent);
}

.app-shell--estimator-v2 .summary::before {
  background: linear-gradient(90deg, rgba(95, 127, 90, 0.58), rgba(184, 148, 76, 0.22), transparent);
}

.app-shell--estimator-v2 .content {
  padding: clamp(20px, 2vw, 28px);
}

.app-shell--estimator-v2 .summary {
  padding: clamp(16px, 1.4vw, 20px);
}

.app-shell--estimator-v2 .content__head {
  margin-bottom: var(--stimator-rhythm-gap);
  padding: 6px 4px 18px;
  border-bottom-color: rgba(17, 17, 15, 0.08);
}

.app-shell--estimator-v2 .content-stack {
  gap: var(--stimator-rhythm-gap);
}

.app-shell--estimator-v2 .step-coach {
  gap: 14px;
  margin-bottom: var(--stimator-rhythm-gap);
  padding: 10px;
  border: 1px solid rgba(184, 148, 76, 0.12);
  border-radius: var(--stimator-radius-lg);
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.72), rgba(255, 253, 248, 0.48)),
    rgba(244, 239, 228, 0.5);
}

.app-shell--estimator-v2 .step-coach__card {
  border-radius: var(--stimator-radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(7, 7, 6, 0.045);
}

.app-shell--estimator-v2 .wizard-panel,
.app-shell--estimator-v2 .wizard-dock,
.app-shell--estimator-v2 .block,
.app-shell--estimator-v2 .summary-brief,
.app-shell--estimator-v2 .summary-card,
.app-shell--estimator-v2 .side-table,
.app-shell--estimator-v2 .insight-card,
.app-shell--estimator-v2 .briefing-result,
.app-shell--estimator-v2 .table-wrap {
  border-radius: var(--stimator-radius-md);
  border-color: rgba(17, 17, 15, 0.085);
  box-shadow:
    0 14px 34px rgba(7, 7, 6, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.app-shell--estimator-v2 .wizard-panel,
.app-shell--estimator-v2 .block {
  padding: clamp(20px, 1.8vw, 26px);
}

.app-shell--estimator-v2 .wizard-panel::before {
  top: 18px;
  bottom: 18px;
  border-radius: 999px;
}

.app-shell--estimator-v2 .block__head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom-color: rgba(17, 17, 15, 0.07);
}

.app-shell--estimator-v2 .field-grid {
  border-radius: var(--stimator-radius-md);
  border-color: rgba(17, 17, 15, 0.085);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 239, 228, 0.76)),
    var(--sdc-paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.app-shell--estimator-v2 .field,
.app-shell--estimator-v2 .toggle {
  padding: 17px 20px;
  border-bottom-color: rgba(17, 17, 15, 0.065);
  background: rgba(255, 253, 248, 0.82);
}

.app-shell--estimator-v2 .field::before,
.app-shell--estimator-v2 .toggle::before {
  inset: 12px auto 12px 0;
  width: 3px;
  border-radius: 999px;
}

.app-shell--estimator-v2 .field:hover,
.app-shell--estimator-v2 .toggle:hover,
.app-shell--estimator-v2 .field:focus-within,
.app-shell--estimator-v2 .toggle:focus-within {
  box-shadow: inset 0 0 0 1px rgba(184, 148, 76, 0.12);
}

.app-shell--estimator-v2 .field__control,
.app-shell--estimator-v2 .table-input,
.app-shell--estimator-v2 .table-static,
.app-shell--estimator-v2 .field__readonly-value {
  border-radius: var(--stimator-radius-sm);
}

@media (max-width: 1120px) {
  .app-shell--estimator-v2 .layout {
    gap: 16px;
    padding: 10px;
  }
}

@media (max-width: 820px) {
  .app-shell--estimator-v2 {
    --stimator-radius-lg: 14px;
    --stimator-radius-md: 12px;
    --stimator-radius-sm: 9px;
  }

  .app-shell--estimator-v2 .layout,
  .app-shell--estimator-v2 .step-coach {
    padding: 8px;
  }
}

.app-shell--estimator-v2 .estimator-stepper {
  z-index: 0;
  overflow: visible;
  border-radius: 24px;
  border-color: rgba(255, 253, 248, 0.18);
  background:
    linear-gradient(135deg, rgba(18, 15, 10, 0.9), rgba(7, 7, 6, 0.78)),
    rgba(7, 7, 6, 0.72);
}

.app-shell--estimator-v2 .estimator-stepper::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px -12px -16px;
  border-radius: 30px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.12), rgba(255, 253, 248, 0.02)),
    rgba(7, 7, 6, 0.18);
}

.app-shell--estimator-v2 .estimator-stepper::after {
  z-index: 0;
  inset: 22px auto 22px 12px;
  width: 4px;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(184, 148, 76, 0.24);
}

.app-shell--estimator-v2 .estimator-stepper > * {
  position: relative;
  z-index: 1;
}

.app-shell--estimator-v2 .step-tabs {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.1), rgba(255, 253, 248, 0.045)),
    rgba(255, 253, 248, 0.05);
}

.app-shell--estimator-v2 .content::before,
.app-shell--estimator-v2 .summary::before {
  inset: 14px 20px auto;
  height: 4px;
  border-radius: 999px;
}

.app-shell--estimator-v2 .content,
.app-shell--estimator-v2 .summary {
  padding-top: clamp(26px, 2vw, 32px);
}

@media (max-width: 820px) {
  .app-shell--estimator-v2 .estimator-stepper {
    border-radius: 18px;
  }

  .app-shell--estimator-v2 .estimator-stepper::before {
    inset: -6px -7px -10px;
    border-radius: 22px;
  }

  .app-shell--estimator-v2 .estimator-stepper::after {
    inset: 18px auto 18px 10px;
  }

  .app-shell--estimator-v2 .content::before,
  .app-shell--estimator-v2 .summary::before {
    inset-inline: 16px;
  }
}

.app-shell--estimator-v2 .summary,
.app-shell--estimator-v2 .summary *,
.app-shell--estimator-v2 .summary-mobile-toggle,
.app-shell--estimator-v2 .summary-mobile-toggle * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.app-shell--estimator-v2 .summary {
  overflow-x: hidden;
}

.app-shell--estimator-v2 .summary-preview-panel,
.app-shell--estimator-v2 .summary-brief,
.app-shell--estimator-v2 .summary-brief__copy,
.app-shell--estimator-v2 .summary-card,
.app-shell--estimator-v2 .side-table,
.app-shell--estimator-v2 .summary-list {
  overflow: hidden;
}

.app-shell--estimator-v2 .summary-brief__head {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.app-shell--estimator-v2 .summary-brief__head h3,
.app-shell--estimator-v2 .summary-brief__head p,
.app-shell--estimator-v2 .summary-brief__type,
.app-shell--estimator-v2 .summary-card small,
.app-shell--estimator-v2 .summary-card strong,
.app-shell--estimator-v2 .summary-card span,
.app-shell--estimator-v2 .summary-list__row span,
.app-shell--estimator-v2 .summary-list__row strong,
.app-shell--estimator-v2 .metric-chip small,
.app-shell--estimator-v2 .metric-chip strong,
.app-shell--estimator-v2 .summary-mobile-toggle__copy small,
.app-shell--estimator-v2 .summary-mobile-toggle__copy strong,
.app-shell--estimator-v2 .summary-mobile-toggle__copy span {
  overflow-wrap: anywhere;
  word-break: normal;
}

.app-shell--estimator-v2 .summary-brief__head h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.app-shell--estimator-v2 .summary-brief__type {
  width: 100%;
  min-height: auto;
  justify-content: center;
  padding: 8px 10px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.app-shell--estimator-v2 .summary-kpis--aside {
  grid-template-columns: 1fr;
}

.app-shell--estimator-v2 .summary-card strong {
  font-size: clamp(1.08rem, 1.45vw, 1.46rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.app-shell--estimator-v2 .summary-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 7.5rem);
  gap: 10px;
  align-items: start;
}

.app-shell--estimator-v2 .summary-list__row strong {
  justify-self: end;
  text-align: right;
}

.app-shell--estimator-v2 .metric-chip {
  overflow: hidden;
}

.app-shell--estimator-v2 .summary-mobile-toggle {
  width: 100%;
  overflow: hidden;
}

.app-shell--estimator-v2 .summary-mobile-toggle__copy {
  overflow: hidden;
}

.app-shell--estimator-v2 .summary-mobile-toggle__metrics {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

@media (max-width: 820px) {
  .app-shell--estimator-v2 .summary-list__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 6.5rem);
  }

  .app-shell--estimator-v2 .summary-card strong {
    font-size: clamp(1rem, 5vw, 1.32rem);
  }
}

body.has-estimator-viewport .floating-help {
  border-color: rgba(184, 148, 76, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.99), rgba(246, 238, 220, 0.97)),
    var(--sdc-white);
  color: var(--sdc-ink);
  box-shadow:
    0 22px 54px rgba(7, 7, 6, 0.22),
    0 0 0 4px rgba(184, 148, 76, 0.11),
    inset 4px 0 0 rgba(184, 148, 76, 0.92);
}

body.has-estimator-viewport .floating-help::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--sdc-gold), rgba(95, 127, 90, 0.86), transparent);
}

body.has-estimator-viewport .floating-help__row {
  padding: 11px 14px 11px 16px;
  border-bottom-color: rgba(184, 148, 76, 0.14);
}

body.has-estimator-viewport .floating-help__row:first-child {
  color: #4f3914;
  background:
    linear-gradient(90deg, rgba(184, 148, 76, 0.17), rgba(255, 253, 248, 0.86)),
    rgba(184, 148, 76, 0.09);
  font-weight: 820;
}