@font-face {
  font-family: "Rift";
  src: url("fonts/rift-demi.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rift";
  src: url("fonts/rift-bold-italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --vmi-violet: #57368C;
  --vmi-black: #050703;
  --vmi-blue-deep: #121124;
  --vmi-cyan: #3ABDDC;
  --vmi-white: #FFFFFF;
  --vmi-surface: #F6F4FB;
  --vmi-surface-2: #ECF7FB;
  --vmi-line: #D9D4E5;
  --vmi-line-strong: #B9B0CD;
  --vmi-text: #1A1726;
  --vmi-muted: #5F6174;
  --shadow-soft: 0 16px 36px rgba(18, 17, 36, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  background: #f5f4f8;
  color: var(--vmi-text);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--vmi-violet);
  z-index: 10;
}
img, svg { max-width: 100%; display: block; }
input, button { font: inherit; }
button, label, a, input { -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: min(760px, calc(100% - 20px));
  margin: 0 auto;
  padding: 16px 0 32px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--vmi-violet);
  border: 1px solid var(--vmi-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px 18px;
}
.hero__rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: transparent;
  display: none;
}
.hero::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -58px;
  height: 116px;
  background: var(--vmi-surface);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__top,
.hero__content {
  position: relative;
  z-index: 1;
}
.hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 0;
}
.hero__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.hero__eyebrow,
.section-ribbon,
.comparison-card h4,
.hero h1,
.curve-card__header h3,
.step-card h2,
.field-group__label {
  font-family: "Barlow Condensed", Roboto, Arial, sans-serif;
}
.hero__eyebrow {
  font-size: 0.98rem;
  line-height: 1;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vmi-cyan);
}
.hero__logo-pill {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero__logo {
  width: 122px;
  height: auto;
}
.hero__content {
  display: block;
  margin-top: 22px;
  padding-left: 0;
  width: 100%;
}
.hero__content--solo {
  max-width: 100%;
}
.hero h1 {
  margin: 0;
  color: var(--vmi-white);
  font-size: clamp(1.42rem, 5.8vw, 2.3rem);
  line-height: 0.96;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.01em;
  max-width: none;
  text-wrap: balance;
}
.hero h1 span {
  color: var(--vmi-cyan);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.panel {
  width: 100%;
  background: var(--vmi-white);
  border-radius: var(--radius-xl);
  padding: 18px;
  border: 1px solid var(--vmi-line);
  box-shadow: var(--shadow-soft);
}

.section-ribbon {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0 0 8px;
  margin-bottom: 16px;
  border-radius: 0;
  color: var(--vmi-violet);
  background: transparent;
  border-bottom: 3px solid rgba(107, 43, 150, 0.28);
  font-size: 1.14rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-form {
  display: grid;
  gap: 14px;
}

.step-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--vmi-line);
  background: var(--vmi-white);
}
.step-card__num {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--vmi-white);
  font-size: 1.12rem;
  font-weight: 900;
  background: var(--vmi-cyan);
}
.step-card h2 {
  margin: 0 0 6px;
  font-size: 1.38rem;
  line-height: 1;
  color: var(--vmi-violet);
  font-style: italic;
  font-weight: 800;
}
.step-card p {
  margin: 0 0 14px;
  color: var(--vmi-muted);
}

.field-group__label {
  margin-bottom: 8px;
  color: var(--vmi-violet);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.field-group--spaced {
  margin-top: 14px;
}

.option-grid {
  display: grid;
  gap: 10px;
}
.step-card__body .option-grid + .option-grid {
  margin-top: 16px;
}
.option-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.option-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.option-grid--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.choice-card {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-md);
  border: 1px solid var(--vmi-line-strong);
  padding: 12px;
  background: #fff;
  color: var(--vmi-blue-deep);
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  user-select: none;
}
.choice-card:hover {
  border-color: var(--vmi-violet);
  transform: translateY(-1px);
}
.choice-card input { display: none; }
.choice-card:focus-within { outline: none; }
.choice-card--active {
  color: var(--vmi-violet);
  border-color: var(--vmi-cyan);
  background: rgba(58,189,220,0.14);
  box-shadow: inset 0 0 0 1px var(--vmi-cyan), 0 10px 18px rgba(58,189,220,0.10);
}
.choice-card--active span {
  text-decoration: none;
}

.stepper-list {
  display: grid;
  gap: 12px;
}
.stepper-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--vmi-line);
  border-radius: var(--radius-md);
  background: var(--vmi-white);
}
.stepper-item__text { min-width: 0; }
.stepper-item span {
  display: block;
  color: var(--vmi-blue-deep);
  line-height: 1.28;
  font-weight: 500;
  font-size: 0.98rem;
}
.stepper {
  display: inline-grid;
  grid-template-columns: 44px 58px 44px;
  gap: 8px;
  align-items: center;
}
.stepper__btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: var(--vmi-blue-deep);
  color: var(--vmi-white);
  font-size: 1.14rem;
  cursor: pointer;
}
.stepper__input {
  width: 58px;
  height: 44px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid var(--vmi-line-strong);
  font-size: 16px;
  font-weight: 900;
  color: var(--vmi-blue-deep);
  background: var(--vmi-white);
}
.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-primary {
  min-height: 62px;
  border: none;
  border-radius: 18px;
  color: var(--vmi-white);
  font-size: 0.92rem;
  font-weight: 900;
  background: var(--vmi-violet);
  box-shadow: 0 14px 28px rgba(87, 54, 140, 0.22);
  cursor: pointer;
}

.network-recap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.network-recap span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--vmi-violet);
  background: rgba(58,189,220,0.10);
  border: 1px solid rgba(58,189,220,0.28);
  font-size: 0.9rem;
  font-weight: 700;
}

.comparison-cards {
  display: grid;
  gap: 10px;
}
.comparison-cards--selector {
  margin-bottom: 16px;
}
.comparison-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--vmi-line);
  border-left: 4px solid var(--vmi-violet);
  background: var(--vmi-white);
}
.comparison-card--button {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.comparison-card--button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(18, 17, 36, 0.05);
}
.comparison-card--selected {
  border-left-color: var(--vmi-cyan);
  box-shadow: inset 0 0 0 2px rgba(58,189,220,0.5);
}
.comparison-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.comparison-card h4 {
  margin: 0;
  color: var(--vmi-violet);
  font-size: 1.18rem;
  line-height: 1;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.comparison-card p {
  margin: 10px 0 0;
  color: var(--vmi-muted);
  line-height: 1.35;
}
.comparison-card--ok { border-left-color: var(--vmi-cyan); }
.comparison-card--warning { border-left-color: var(--vmi-violet); }
.comparison-card--not_ok { border-left-color: var(--vmi-blue-deep); }

.display-panel {
  display: none;
}
.display-panel--active {
  display: block;
}

.curve-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--vmi-line);
  background: var(--vmi-white);
}
.curve-card--spaced {
  margin-top: 14px;
}
.curve-card__header {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.curve-card__header h3 {
  margin: 0 0 4px;
  font-size: 1.28rem;
  color: var(--vmi-violet);
  font-style: italic;
  font-weight: 800;
}
.curve-card__header p {
  margin: 0;
  color: var(--vmi-muted);
  font-weight: 700;
  text-transform: uppercase;
}
.curve-card__svg {
  width: 100%;
  background: var(--vmi-white);
  border-radius: 18px;
  padding: 8px;
  border: 1px solid #e8e3f0;
  overflow: hidden;
}
.curve-card__svg svg {
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  display: block;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid transparent;
}
.badge-pill--ok {
  color: var(--vmi-blue-deep);
  background: rgba(58,189,220,0.16);
  border-color: rgba(58,189,220,0.3);
}
.badge-pill--warning {
  color: var(--vmi-violet);
  background: rgba(87,54,140,0.09);
  border-color: rgba(87,54,140,0.18);
}
.badge-pill--not_ok {
  color: var(--vmi-white);
  background: var(--vmi-blue-deep);
  border-color: var(--vmi-blue-deep);
}

.status-card {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--vmi-line);
}
.status-card h3 {
  margin: 0 0 8px;
  color: var(--vmi-violet);
  font-size: 0.92rem;
}
.status-card__content p {
  margin: 8px 0 0;
  line-height: 1.4;
}
.status-card__content p:first-child { margin-top: 0; }
.status-card--ok {
  background: rgba(58,189,220,0.07);
  border-color: rgba(58,189,220,0.22);
}
.status-card--warning {
  background: rgba(87,54,140,0.05);
  border-color: rgba(87,54,140,0.14);
}
.status-card--not_ok {
  background: rgba(18,17,36,0.04);
  border-color: rgba(18,17,36,0.12);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--vmi-line);
  background: var(--vmi-white);
}
.table-wrap--spaced {
  margin-top: 18px;
}
.table-wrap table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
}
.table-wrap th,
.table-wrap td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--vmi-line);
  vertical-align: middle;
  font-size: 0.9rem;
  word-break: break-word;
}
.table-wrap thead th {
  background: rgba(58,189,220,0.18);
  color: var(--vmi-blue-deep);
  font-family: "Barlow Condensed", Roboto, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}
.table-wrap tbody tr:nth-child(odd) td {
  background: rgba(87,54,140,0.03);
}
.table-wrap tbody td:first-child {
  background: rgba(87,54,140,0.05);
  color: var(--vmi-blue-deep);
  font-weight: 700;
}


.comparison-table__col-label { width: 30%; }
.comparison-table__col-caisson { width: 23.333%; }
.table-wrap thead tr:first-child th {
  background: rgba(87,54,140,0.10);
  font-size: 1.02rem;
}
.table-wrap thead tr:nth-child(2) th {
  background: rgba(255,255,255,0.96);
  font-size: 0.92rem;
}
.table-wrap thead th[rowspan] {
  vertical-align: middle;
}
.table-wrap tbody td:first-child {
  text-align: left;
  padding-left: 16px;
}
.alert {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(87,54,140,0.18);
  background: rgba(87,54,140,0.05);
}
.alert--error {
  color: var(--vmi-blue-deep);
}
.alert p {
  margin: 6px 0 0;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 14px));
    padding: 12px 0 24px;
  }
  .hero,
  .panel {
    padding: 16px;
    border-radius: 24px;
  }
  .hero {
    padding: 16px 16px 66px;
    min-height: 210px;
  }
  .hero__content {
    padding-left: 0;
  }
  .hero h1 {
    font-size: clamp(1.24rem, 6vw, 1.72rem);
    max-width: none;
  }
  .step-card {
    grid-template-columns: 1fr;
  }
  .step-card__num {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .option-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .option-grid--3col {
    grid-template-columns: 1fr;
  }
  .stepper-item {
    grid-template-columns: 1fr;
  }
  .stepper {
    justify-content: flex-start;
  }
  .curve-card__header,
  .comparison-card__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 12px 8px;
    font-size: 0.8rem;
  }
  .table-wrap thead tr:first-child th {
    font-size: 0.98rem;
  }
  .table-wrap thead tr:nth-child(2) th {
    font-size: 0.78rem;
  }
  .comparison-table__col-label { width: 34%; }
  .comparison-table__col-caisson { width: 22%; }
}

@media (max-width: 420px) {
  .option-grid--compact,
  .option-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: clamp(1.18rem, 6vw, 1.5rem);
    max-width: none;
  }
  .step-card,
  .stepper-item,
  .curve-card,
  .comparison-card {
    padding-left: 14px;
    padding-right: 14px;
  }
}


.comparison-card--disabled {
  opacity: 0.72;
  cursor: not-allowed;
  box-shadow: none;
}
.comparison-card--disabled:hover {
  transform: none;
}
.comparison-card--disabled .badge-pill {
  opacity: 1;
}


@media (min-width: 520px) {
  .hero { padding-bottom: 76px; }
  .hero h1 { max-width: none; font-size: clamp(1.7rem, 4vw, 2.4rem); }
}

@media (max-width: 420px) {
  .hero { padding: 14px 14px 60px; min-height: 196px; }
  .hero__top, .hero__content { padding-left: 0; }
  .hero__logo { width: 104px; }
  .hero__text { max-width: none; }
  .hero h1 { max-width: none; font-size: clamp(1.12rem, 5.4vw, 1.36rem); line-height: 0.98; }
  .hero::after { right: 18px; bottom: 44px; width: 72px; }
}

.hero::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 58px;
  width: 96px;
  height: 14px;
  border-top: 3px solid rgba(255,255,255,0.92);
  border-radius: 999px;
  transform: rotate(-6deg);
}

.hero__text {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
}

/* v15 overrides: solid color system + simplified VMI header */
.hero {
  background: var(--vmi-violet);
  color: var(--vmi-white);
  border-color: rgba(87, 54, 140, 0.32);
  padding: 18px 20px 76px;
  min-height: 220px;
}
.hero::before {
  left: -4%;
  right: -4%;
  bottom: -58px;
  height: 118px;
  background: var(--vmi-surface);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 56px;
  width: 96px;
  height: 14px;
  border-top: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transform: rotate(-6deg);
}
.hero__rail {
  display: none;
}
.hero__top {
  padding-left: 0;
}
.hero__logo-pill {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.hero__logo {
  width: 122px;
}
.hero__content {
  width: 100%;
  margin-top: 20px;
  padding-left: 0;
}
.hero__text {
  width: 100%;
  max-width: 35rem;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  color: var(--vmi-white);
  font-size: clamp(1.42rem, 5.8vw, 2.26rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  max-width: none;
}
.hero h1 span {
  color: var(--vmi-cyan);
}

@media (max-width: 720px) {
  .hero {
    padding: 16px 16px 66px;
    min-height: 204px;
  }
  .hero__content {
    padding-left: 0;
  }
  .hero h1 {
    font-size: clamp(1.2rem, 5.8vw, 1.58rem);
    max-width: none;
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 14px 14px 58px;
    min-height: 192px;
  }
  .hero__logo {
    width: 104px;
  }
  .hero__text {
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(1.08rem, 5.2vw, 1.28rem);
    line-height: 0.98;
    max-width: none;
  }
  .hero::after {
    right: 18px;
    bottom: 44px;
    width: 70px;
  }
}


/* v18 overrides from functional v15: simple solid hero + colored comparison table */
.hero {
  background: var(--vmi-violet);
  color: var(--vmi-white);
  border-color: rgba(87, 54, 140, 0.36);
  padding: 18px 18px 22px;
  min-height: 0;
}
.hero::before,
.hero::after {
  content: none !important;
  display: none !important;
}
.hero__content {
  margin-top: 14px;
}
.hero__text {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.24rem, 4.5vw, 2rem);
  line-height: 1.02;
  max-width: none;
}
.hero h1 span {
  color: var(--vmi-cyan);
}
@media (max-width: 720px) {
  .hero {
    padding: 16px 16px 20px;
  }
  .hero__text {
    max-width: 28rem;
  }
  .hero h1 {
    font-size: clamp(1.08rem, 5.2vw, 1.48rem);
  }
}
@media (max-width: 420px) {
  .hero {
    padding: 14px 14px 18px;
  }
  .hero__logo {
    width: 104px;
  }
  .hero__content {
    margin-top: 12px;
  }
  .hero__text {
    max-width: 22rem;
  }
  .hero h1 {
    font-size: clamp(1rem, 5vw, 1.2rem);
    line-height: 1.03;
  }
}

.table-wrap {
  border-color: rgba(87, 54, 140, 0.18);
}
.table-wrap thead tr:first-child th,
.table-wrap thead tr:nth-child(2) th,
.table-wrap thead th[rowspan] {
  background: var(--vmi-violet) !important;
  color: var(--vmi-white) !important;
}
.table-wrap tbody tr:nth-child(odd) td {
  background: #f2f2f6;
}
.table-wrap tbody tr:nth-child(even) td {
  background: #e8e8ee;
}
.table-wrap tbody td:first-child {
  color: var(--vmi-blue-deep);
  font-weight: 700;
}


.supply-title {
  margin: 0 0 12px;
  color: var(--vmi-violet);
  font-family: "Barlow Condensed", Roboto, Arial, sans-serif;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 800;
}


.field-group__label--with-help {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.help-badge {
  width: 20px;
  height: 20px;
  border: 1px solid #b8b4c8;
  border-radius: 999px;
  background: #e4deef;
  color: var(--vmi-violet);
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.table-intro {
  margin: 18px 0 6px;
  color: var(--vmi-blue-deep);
  font-weight: 700;
  line-height: 1.4;
}

.comparison-table__col-supply-label { width: 86%; }
.comparison-table__col-supply-qty { width: 14%; }
.comparison-table--supply td:last-child,
.comparison-table--supply th:last-child {
  white-space: nowrap;
}


.hero__logo-link { display: inline-flex; }
.help-inline { display: none; width: 100%; margin-top: 6px; padding: 8px 10px; border-radius: 10px; border: 1px solid #d5cde8; background: #f5f1fb; color: var(--vmi-blue-deep); font-size: 0.92rem; font-weight: 500; text-transform: none; }
.help-inline--open { display: block; }
.recommended-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(29,185,198,0.14); color: var(--vmi-violet); font-size: 0.8rem; font-style: normal; font-weight: 800; text-transform: none; }
.status-card__subtitle { margin: 10px 0 0; font-weight: 700; line-height: 1.45; }
.table-intro { margin: 18px 0 6px; color: var(--vmi-muted); font-weight: 500; line-height: 1.4; }
.comparison-table--supply th:first-child { text-align: left; }
.comparison-table--supply td:first-child { font-weight: 400; }
.comparison-table__col-supply-label { width: 92%; }
.comparison-table__col-supply-qty { width: 8%; }


/* v0.4 overrides */
.section-ribbon {
  font-size: 1.64rem;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom-width: 2px;
}
.step-card h2 {
  font-size: 1.34rem;
}
.form-actions {
  margin-top: 4px;
}
.calculate-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--vmi-violet);
  color: var(--vmi-white);
  font-family: "Barlow Condensed", Roboto, Arial, sans-serif;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.calculate-button:hover {
  filter: brightness(1.04);
}
.calculate-button:active {
  transform: translateY(1px);
}
.body--stale-result #resultats {
  display: none;
}
.table-intro {
  margin: 14px 0 2px;
  color: var(--vmi-muted);
  font-weight: 500;
  line-height: 1.4;
}
.table-wrap--spaced {
  margin-top: 6px;
}
.comparison-table--supply {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}
.comparison-table--supply th,
.comparison-table--supply td {
  word-break: normal;
  overflow-wrap: anywhere;
}
.comparison-table__col-supply-label {
  width: 84%;
}
.comparison-table__col-supply-qty {
  width: 16%;
}
.comparison-table--supply th:first-child,
.comparison-table--supply td:first-child {
  text-align: left;
}
.comparison-table--supply td:first-child {
  font-weight: 400 !important;
}
.status-card__content {
  margin-top: 14px;
}
.status-card__content p {
  margin: 14px 0 0;
}
@media (max-width: 720px) {
  .section-ribbon {
    font-size: 1.5rem;
  }
  .comparison-table__col-supply-label {
    width: 80%;
  }
  .comparison-table__col-supply-qty {
    width: 20%;
  }
}


/* v0.6 overrides */
.choice-card span { white-space: pre-line; }
.choice-card__subtle { display: inline; font-size: 0.86em; font-weight: 500; opacity: 0.72; }
.comparison-table--supply td,
.comparison-table--supply td *,
.comparison-table--supply tbody strong,
.comparison-table--supply tbody b { font-weight: 400 !important; }
.curve-card__svg { padding: 12px 14px; }


/* v0.7 overrides */
.comparison-table--supply { font-size: 0.92rem; }
.comparison-table--supply th,
.comparison-table--supply td { padding-top: 12px; padding-bottom: 12px; }
.table-wrap--spaced { margin-top: 4px; }
.curve-card__svg { padding: 8px 10px 8px; }
.curve-card__svg svg { display: block; width: 100%; height: auto; }


/* v0.10 VMI brand alignment */
:root {
  --vmi-violet: #57368C;
  --vmi-black: #050703;
  --vmi-blue-deep: #121124;
  --vmi-cyan: #3ABDDC;
  --vmi-white: #FFFFFF;
  --vmi-surface: #F5F4F8;
  --vmi-surface-2: #EEF8FC;
  --vmi-line: #D8D2E6;
  --vmi-line-strong: #B7ABD0;
  --vmi-text: #121124;
  --vmi-muted: #55556B;
  --shadow-soft: 0 18px 36px rgba(18, 17, 36, 0.08);
}

html, body {
  background: linear-gradient(180deg, #f7f6fa 0%, #f0eef6 100%);
  color: var(--vmi-text);
}

.hero__eyebrow,
.section-ribbon,
.comparison-card h4,
.hero h1,
.curve-card__header h3,
.step-card h2,
.field-group__label,
.table-wrap thead th,
.calculate-button,
.supply-title {
  font-family: "Rift", "Barlow Condensed", Roboto, Arial, sans-serif;
}

.hero {
  background: linear-gradient(135deg, var(--vmi-violet) 0%, #4b2e7c 58%, var(--vmi-blue-deep) 100%);
  border-color: rgba(87, 54, 140, 0.42);
  box-shadow: 0 24px 42px rgba(18, 17, 36, 0.14);
}

.hero__eyebrow {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
}

.hero h1 span {
  color: var(--vmi-cyan);
}

.panel,
.step-card,
.curve-card,
.comparison-card,
.stepper-item,
.table-wrap,
.alert,
.status-card {
  border-color: rgba(87, 54, 140, 0.16);
  box-shadow: 0 12px 28px rgba(18, 17, 36, 0.05);
}

.section-ribbon {
  color: var(--vmi-violet);
  border-bottom: 2px solid rgba(58, 189, 220, 0.55);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.step-card__num,
.badge-pill--not_ok,
.stepper__btn {
  background: var(--vmi-blue-deep);
}

.step-card h2,
.curve-card__header h3,
.comparison-card h4,
.supply-title {
  font-style: italic;
  font-weight: 700;
  color: var(--vmi-violet);
}

.field-group__label {
  color: var(--vmi-blue-deep);
  font-weight: 600;
}

.choice-card {
  border-radius: 14px;
  border-color: rgba(18, 17, 36, 0.12);
  color: var(--vmi-blue-deep);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,245,251,0.98) 100%);
}

.choice-card:hover {
  border-color: rgba(87, 54, 140, 0.5);
  box-shadow: 0 8px 18px rgba(87, 54, 140, 0.08);
}

.choice-card--active {
  color: var(--vmi-violet);
  border-color: var(--vmi-cyan);
  background: linear-gradient(180deg, rgba(58,189,220,0.16) 0%, rgba(255,255,255,0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(58,189,220,0.6), 0 12px 20px rgba(58,189,220,0.10);
}

.stepper__btn,
.calculate-button {
  background: linear-gradient(135deg, var(--vmi-violet) 0%, #4a2d7a 100%);
}

.calculate-button {
  box-shadow: 0 14px 28px rgba(87, 54, 140, 0.22);
}

.help-badge {
  background: #ece7f7;
  border-color: #c7bfdc;
  color: var(--vmi-violet);
}

.help-inline,
.network-recap span,
.status-card--ok,
.badge-pill--ok {
  background: rgba(58, 189, 220, 0.10);
}

.network-recap span,
.badge-pill--ok {
  color: var(--vmi-blue-deep);
  border-color: rgba(58, 189, 220, 0.28);
}

.badge-pill--warning,
.status-card--warning {
  background: rgba(87, 54, 140, 0.08);
  border-color: rgba(87, 54, 140, 0.18);
}

.table-wrap thead tr:first-child th,
.table-wrap thead tr:nth-child(2) th,
.table-wrap thead th[rowspan] {
  background: var(--vmi-violet) !important;
  color: var(--vmi-white) !important;
}

.table-wrap tbody tr:nth-child(odd) td {
  background: rgba(87, 54, 140, 0.035);
}

.table-wrap tbody tr:nth-child(even) td {
  background: rgba(18, 17, 36, 0.03);
}

.table-wrap tbody td:first-child {
  background: rgba(87, 54, 140, 0.06);
  color: var(--vmi-blue-deep);
}

.table-intro {
  color: var(--vmi-muted);
}

.hero__logo-link img {
  filter: brightness(0) invert(1);
}

@media (max-width: 720px) {
  .hero {
    box-shadow: 0 18px 28px rgba(18, 17, 36, 0.12);
  }
}


/* v0.11 overrides */
.hero,
.calculate-button {
  background: var(--vmi-violet) !important;
}

.step-card__num {
  background: var(--vmi-cyan) !important;
  color: var(--vmi-white) !important;
}

.help-inline {
  font-family: Roboto, Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
}


/* multivair_selector_lite_v0.11: Neoventil theme without mobile horizontal scroll */
:root {
  --vmi-violet: #008080;
  --vmi-black: #000C0C;
  --vmi-blue-deep: #000C0C;
  --vmi-cyan: #E0AC00;
  --vmi-white: #FFFDF7;
  --vmi-surface: #FFFFFF;
  --vmi-surface-2: #FFFFFF;
  --vmi-line: #D8E4E4;
  --vmi-line-strong: #9FBFBF;
  --vmi-text: #000C0C;
  --vmi-muted: #586666;
}
html, body {
  background: #FFFFFF !important;
  color: var(--vmi-text);
  font-family: "Acumin Pro", Roboto, Arial, sans-serif !important;
  overflow-x: hidden;
}
body::before { background: #FFFFFF !important; }
.hero,
.calculate-button { background: var(--vmi-violet) !important; }
.hero::before { background: #FFFFFF !important; }
.hero__eyebrow {
  color: #F9CB33 !important;
  font-family: "Anona Medium Italic", "Anona", "Barlow Condensed", Arial, sans-serif !important;
  font-style: italic;
}
.hero h1,
.section-ribbon,
.comparison-card h4,
.curve-card__header h3,
.step-card h2,
.field-group__label,
.table-wrap thead th,
.calculate-button {
  font-family: "Anona Bold", "Anona", "Barlow Condensed", Arial, sans-serif !important;
}
.hero h1 span,
.section-ribbon,
.comparison-card h4,
.curve-card__header h3,
.field-group__label,
.table-wrap tbody td:first-child {
  color: var(--vmi-violet) !important;
}
.panel, .step-card, .table-wrap, .curve-card, .status-card, .comparison-card, .choice-card, .stepper-item {
  background: #FFFFFF !important;
}
.section-ribbon { border-bottom-color: rgba(0, 128, 128, 0.28) !important; }
.step-card__num {
  background: var(--vmi-cyan) !important;
  color: var(--vmi-black) !important;
}
.choice-card--active {
  border-color: var(--vmi-violet) !important;
  box-shadow: inset 0 0 0 1px var(--vmi-violet), 0 10px 18px rgba(0,128,128,0.10) !important;
}
.choice-card--active span, .choice-card:hover span { color: var(--vmi-violet) !important; }
.comparison-card--selected {
  border-left-color: var(--vmi-violet) !important;
  box-shadow: 0 0 0 2px rgba(0,128,128,0.18), 0 14px 28px rgba(0,128,128,0.10) !important;
}
.comparison-card--ok { border-left-color: var(--vmi-cyan) !important; }
.comparison-card--warning { border-left-color: var(--vmi-violet) !important; }
.comparison-card--not_ok { border-left-color: var(--vmi-black) !important; }
.badge-pill--ok { background: rgba(224,172,0,0.18) !important; color: var(--vmi-black) !important; }
.badge-pill--warning { background: rgba(0,128,128,0.14) !important; color: var(--vmi-violet) !important; }
.badge-pill--not_ok {
  background: rgba(0,12,12,0.08) !important;
  color: var(--vmi-black) !important;
  border: 1px solid rgba(0,12,12,0.45) !important;
}
.recommended-tag {
  background: rgba(0,128,128,0.12) !important;
  color: var(--vmi-violet) !important;
}
.curve-card, .curve-card__svg, .curve-card__svg svg { background: #FFFFFF !important; }
.table-wrap thead tr:first-child th,
.table-wrap thead tr:nth-child(2) th,
.table-wrap thead th[rowspan] {
  background: var(--vmi-violet) !important;
  color: #FFFFFF !important;
}
.table-wrap tbody tr:nth-child(odd) td { background: #FFFDF7 !important; }
.table-wrap tbody tr:nth-child(even) td { background: #FFFFFF !important; }
.help-inline {
  border-color: #BFE0E0 !important;
  background: #F3FBFB !important;
  color: var(--vmi-black) !important;
  font-family: "Acumin Pro", Roboto, Arial, sans-serif !important;
}
.hero__logo-link img {
  filter: none !important;
}
#selected-caisson-supply {
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 14px)) !important;
    padding: 10px 0 20px !important;
  }
  .hero,
  .panel,
  .step-card,
  .comparison-card,
  .status-card,
  .curve-card,
  .table-wrap {
    border-radius: 20px !important;
  }
  .curve-card {
    padding: 14px !important;
  }
  .curve-card__header h3 { font-size: 1.06rem !important; }
  .curve-card__header p { font-size: 0.94rem !important; }
  .curve-card__svg {
    padding: 8px !important;
    overflow: hidden !important;
  }
  .curve-card__svg svg {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .table-wrap {
    overflow-x: hidden !important;
  }
  .comparison-table,
  .comparison-table--supply {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }
  .comparison-table colgroup,
  .comparison-table--supply colgroup {
    display: none;
  }
  .comparison-table__col-label { width: 38% !important; }
  .comparison-table__col-caisson { width: 20.666% !important; }
  .comparison-table thead tr:first-child th {
    font-size: 0.86rem !important;
    padding: 10px 4px !important;
  }
  .comparison-table thead tr:nth-child(2) th {
    font-size: 0.58rem !important;
    line-height: 1.15 !important;
    padding: 8px 3px !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .comparison-table tbody td,
  .comparison-table tbody th {
    padding: 10px 4px !important;
    font-size: 0.66rem !important;
    line-height: 1.22 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .comparison-table tbody td:first-child {
    padding-left: 8px !important;
  }
  .comparison-table__metric {
    font-size: 0.64rem !important;
  }
  .comparison-table--supply thead tr,
  .comparison-table--supply tbody tr {
    display: table-row !important;
  }
  .comparison-table__col-supply-label { width: 84% !important; }
  .comparison-table__col-supply-qty { width: 16% !important; }
  .comparison-table--supply th,
  .comparison-table--supply td {
    font-size: 0.68rem !important;
    line-height: 1.22 !important;
    padding: 10px 8px !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align: left;
  }
  .comparison-table--supply th:last-child,
  .comparison-table--supply td:last-child {
    text-align: center !important;
  }
}

@media (max-width: 420px) {
  .curve-card { padding: 12px !important; }
  .curve-card__svg { padding: 6px !important; }
  .comparison-table__col-label { width: 39% !important; }
  .comparison-table__col-caisson { width: 20.333% !important; }
  .comparison-table thead tr:first-child th {
    font-size: 0.8rem !important;
    padding: 9px 3px !important;
  }
  .comparison-table thead tr:nth-child(2) th {
    font-size: 0.54rem !important;
    padding: 7px 2px !important;
  }
  .comparison-table tbody td,
  .comparison-table tbody th {
    font-size: 0.62rem !important;
    padding: 9px 3px !important;
  }
  .comparison-table__metric { font-size: 0.6rem !important; }
  .comparison-table--supply th,
  .comparison-table--supply td {
    font-size: 0.64rem !important;
    padding: 9px 7px !important;
  }
}

/* v0.12 overrides */
.hero__logo {
  width: 150px !important;
}
.hero h1 {
  font-size: clamp(1.08rem, 3.8vw, 1.68rem) !important;
  line-height: 1.06 !important;
}
.hero h1 span {
  color: #E0AC00 !important;
}
.calculate-button {
  min-height: 50px !important;
  font-size: 1.08rem !important;
  letter-spacing: 0.02em !important;
}
.stepper__btn {
  background: #008080 !important;
  color: #FFFDF7 !important;
  box-shadow: none !important;
}
.help-badge {
  background: #FFF4C2 !important;
  border-color: #E0AC00 !important;
  color: #000C0C !important;
}
.status-card {
  background: #FFF6CC !important;
  border-color: #F1D66A !important;
}
.step-card__num {
  background: #F9CB33 !important;
  color: #000C0C !important;
}
.table-wrap thead th {
  font-size: 0.88rem !important;
}
.comparison-table--supply thead th {
  font-size: 0.84rem !important;
}

@media (max-width: 720px) {
  .hero__logo {
    width: 132px !important;
  }
  .hero h1 {
    font-size: clamp(0.96rem, 4.2vw, 1.22rem) !important;
  }
  .calculate-button {
    min-height: 46px !important;
    font-size: 0.98rem !important;
  }
  .comparison-table--supply colgroup { display: table-column-group !important; }
  .comparison-table__col-supply-label { width: 88% !important; }
  .comparison-table__col-supply-qty { width: 12% !important; }
  .comparison-table--supply th,
  .comparison-table--supply td {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .comparison-table--supply thead th {
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 420px) {
  .hero__logo {
    width: 124px !important;
  }
  .hero h1 {
    font-size: clamp(0.92rem, 4vw, 1.08rem) !important;
  }
  .calculate-button {
    min-height: 44px !important;
    font-size: 0.92rem !important;
  }
  .comparison-table--supply thead th {
    font-size: 0.66rem !important;
  }
  .comparison-table__col-supply-label { width: 89% !important; }
  .comparison-table__col-supply-qty { width: 11% !important; }
}

/* v0.13 overrides */
:root {
  --neo-pale-yellow: #FFF8E1;
  --neo-pale-yellow-border: #D8C985;
}
.help-badge,
.badge-pill--ok,
.status-card,
.status-card--ok,
.network-recap span {
  background: var(--neo-pale-yellow) !important;
  border-color: var(--neo-pale-yellow-border) !important;
  color: var(--vmi-black) !important;
}
.badge-pill--ok {
  box-shadow: none !important;
}
.status-card {
  box-shadow: none !important;
}


/* v0.14 overrides */
@media (max-width: 720px) {
  .comparison-table--supply colgroup { display: table-column-group !important; }
  .comparison-table__col-supply-label { width: 85% !important; }
  .comparison-table__col-supply-qty { width: 15% !important; }
  .comparison-table--supply thead th {
    font-size: 0.68rem !important;
    letter-spacing: 0 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: nowrap !important;
  }
  .comparison-table--supply th,
  .comparison-table--supply td {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

@media (max-width: 420px) {
  .comparison-table__col-supply-label { width: 84% !important; }
  .comparison-table__col-supply-qty { width: 16% !important; }
  .comparison-table--supply thead th {
    font-size: 0.62rem !important;
    white-space: nowrap !important;
  }
  .comparison-table--supply td:last-child,
  .comparison-table--supply th:last-child {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}

/* v0.15 overrides */
:root {
  --neo-pale-yellow: #FFFCEF;
  --neo-pale-yellow-border: #E7DEB0;
}
.help-badge,
.badge-pill--ok,
.status-card,
.status-card--ok,
.network-recap span {
  background: var(--neo-pale-yellow) !important;
  border-color: var(--neo-pale-yellow-border) !important;
  color: var(--vmi-black) !important;
}


/* v0.16 overrides */
.table-wrap thead tr:first-child th {
  font-size: 0.84rem !important;
}
.table-wrap thead tr:nth-child(2) th,
.comparison-table--supply thead th {
  font-size: 0.78rem !important;
}

@media (max-width: 720px) {
  .comparison-table thead tr:first-child th {
    font-size: 0.8rem !important;
    padding: 9px 3px !important;
  }
  .comparison-table thead tr:nth-child(2) th {
    font-size: 0.52rem !important;
    padding: 7px 2px !important;
  }
  .comparison-table__col-supply-label { width: 82% !important; }
  .comparison-table__col-supply-qty { width: 18% !important; }
  .comparison-table--supply thead th {
    font-size: 0.64rem !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em !important;
  }
  .comparison-table--supply th,
  .comparison-table--supply td {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

@media (max-width: 420px) {
  .comparison-table thead tr:first-child th {
    font-size: 0.76rem !important;
  }
  .comparison-table thead tr:nth-child(2) th {
    font-size: 0.5rem !important;
  }
  .comparison-table__col-supply-label { width: 81% !important; }
  .comparison-table__col-supply-qty { width: 19% !important; }
  .comparison-table--supply thead th {
    font-size: 0.58rem !important;
    letter-spacing: -0.015em !important;
  }
}

/* v0.17 overrides */
.section-ribbon {
  border-bottom-color: #E0AC00 !important;
}

.choice-card--active {
  border-color: #00A8A8 !important;
  background: rgba(0, 168, 168, 0.10) !important;
  box-shadow: inset 0 0 0 1px #00A8A8, 0 10px 18px rgba(0, 168, 168, 0.12) !important;
}

.choice-card--active span,
.choice-card:hover span {
  color: #00A8A8 !important;
}

.choice-card:hover {
  border-color: rgba(0, 168, 168, 0.55) !important;
  box-shadow: 0 8px 18px rgba(0, 168, 168, 0.10) !important;
}

/* v0.18 overrides */
.choice-card--active {
  background: #FFFFFF !important;
  border-color: #00A8A8 !important;
  box-shadow: inset 0 0 0 1px #00A8A8, 0 10px 18px rgba(0, 168, 168, 0.10) !important;
}
.choice-card--active span,
.choice-card--active .choice-card__hint,
.choice-card:hover span,
.choice-card:hover .choice-card__hint {
  color: #00A8A8 !important;
}
.choice-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(0, 168, 168, 0.55) !important;
}
