/* TELEGET — isolated order-flow styles. Homepage and guide styles remain untouched. */
.order-page [hidden] { display: none !important; }
.order-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(56, 200, 245, .10), transparent 31rem),
    radial-gradient(circle at 92% 88%, rgba(124, 58, 237, .12), transparent 34rem),
    var(--c-bg);
}
.order-page.is-dialog-open { overflow: hidden; }
.order-page .btn--primary { background: linear-gradient(120deg, #2563eb 0%, #5146d8 52%, #6d28d9 100%); }
.order-topbar {
  width: min(100%, 1120px);
  margin-inline: auto;
  min-height: 76px;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.order-brand { display: inline-flex; align-items: center; }
.order-brand img { width: 142px; height: auto; }
.order-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-pill);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  background: rgba(16, 21, 47, .72);
  transition: border-color var(--tr-fast), background var(--tr-fast), transform var(--tr-fast);
}
.order-support-btn:hover { border-color: rgba(56,200,245,.55); background: var(--c-raised); transform: translateY(-1px); }
.order-support-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.order-main { padding: clamp(18px, 3vw, 42px) var(--gutter) clamp(52px, 7vw, 90px); }
.order-shell {
  width: min(100%, 780px);
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(16,21,47,.97), rgba(7,9,26,.98));
  border: 1px solid var(--c-line-2);
  border-radius: clamp(22px, 4vw, 34px);
  box-shadow: var(--sh-3), 0 0 0 1px rgba(56,200,245,.03) inset;
  overflow: clip;
}
.order-progress { padding: clamp(22px, 4vw, 34px) clamp(20px, 5vw, 42px) 18px; border-bottom: 1px solid var(--c-line); }
.order-progress__meta { display: flex; justify-content: space-between; gap: 16px; color: var(--c-muted); font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.order-progress__label { color: var(--c-cyan); }
.order-progress__track { height: 5px; margin-top: 15px; overflow: hidden; border-radius: var(--r-pill); background: rgba(131,142,173,.18); }
.order-progress__track span { display: block; height: 100%; width: 16.6667%; border-radius: inherit; background: var(--grad-brand); box-shadow: 0 0 18px rgba(56,200,245,.45); transition: width .32s var(--ease-out); }
#order-form { min-width: 0; }
.order-step { padding: clamp(28px, 5vw, 52px) clamp(20px, 5vw, 42px) clamp(24px, 4vw, 40px); min-height: 430px; }
.order-step--intro { min-height: 390px; }
.order-step--intro .order-lead { max-width: 52ch; }
.order-step--intro .order-field {
  max-width: 600px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(56,200,245,.045), rgba(8,12,32,.72) 45%, rgba(124,58,237,.04));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.012);
}
.order-step--intro .order-field label { margin-bottom: 8px; }
.order-step--intro .order-field input { background: rgba(5,7,25,.82); }
.order-step[hidden] { display: none !important; }
.order-eyebrow { margin-bottom: 10px; color: var(--c-cyan); font-family: var(--ff-mono); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.order-step h1, .order-step h2, .dialog-card h2 { font-size: clamp(1.75rem, 1.4rem + 1.45vw, 2.45rem); max-width: 18ch; }
.order-lead { margin-top: 12px; max-width: 60ch; color: var(--c-muted); font-size: clamp(1rem, .95rem + .25vw, 1.1rem); line-height: 1.62; }
.order-field { margin-top: 30px; }
.order-field label, .order-fieldset > legend { display: block; margin-bottom: 10px; color: var(--c-ink); font-size: .98rem; font-weight: 750; }
.order-field input, .order-field textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  color: var(--c-ink);
  background: rgba(5,7,25,.68);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-md);
  font: inherit;
  outline: none;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
}
.order-field textarea { min-height: 130px; resize: vertical; }
.order-field input::placeholder, .order-field textarea::placeholder { color: #707b9b; }
.order-field input:focus, .order-field textarea:focus { border-color: var(--c-cyan); box-shadow: 0 0 0 4px rgba(56,200,245,.12); background: rgba(8,12,32,.95); }
.order-field input[aria-invalid="true"] { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.12); }
.order-hint { margin-top: 8px; color: var(--c-faint); font-size: .84rem; line-height: 1.5; }
.order-error { min-height: 1.25em; margin-top: 7px; color: #fca5a5; font-size: .84rem; }
.order-fieldset { margin: 30px 0 0; padding: 0; border: 0; min-width: 0; }
.choice-grid { display: grid; gap: 14px; }
.choice-grid--contact { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice-card--wide { grid-column: 1 / -1; }
.choice-grid--devices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-height: 238px;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line-3) rgba(5,7,25,.42);
  border: 1px solid var(--c-line-2);
  border-radius: 14px;
  background: rgba(5,7,25,.5);
}
.choice-grid--devices .choice-card--compact {
  min-height: 44px;
  padding: 6px 9px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  transform: none;
}
.choice-grid--devices .choice-card--compact:last-child { border-bottom: 0; }
.choice-grid--devices .choice-card--compact:hover {
  transform: none;
  border-color: var(--c-line);
  background: rgba(16,21,47,.72);
  box-shadow: none;
}
.choice-grid--devices .choice-card--compact:has(input:checked) {
  border-color: var(--c-line);
  background: linear-gradient(90deg, rgba(56,200,245,.10), rgba(59,130,246,.06) 60%, rgba(124,58,237,.05));
  box-shadow: inset 2px 0 0 rgba(56,200,245,.72);
}
.choice-grid--devices .choice-card--compact::after {
  content: '';
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  flex: 0 0 20px;
  border: 1px solid var(--c-line-2);
  border-radius: 50%;
  color: var(--c-cyan);
  background: rgba(5,7,25,.42);
  font-size: .68rem;
  font-weight: 800;
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--tr-fast), transform var(--tr-fast), border-color var(--tr-fast), background var(--tr-fast);
}
.choice-grid--devices .choice-card--compact:has(input:checked)::after {
  content: '✓';
  border-color: rgba(56,200,245,.72);
  background: rgba(56,200,245,.14);
}
.choice-grid--devices .choice-card--compact strong {
  min-width: 0;
  color: var(--c-ink);
  font-size: .84rem;
  line-height: 1.2;
}
.choice-grid--devices .choice-card__device-icon {
  min-width: 28px;
  width: 28px;
  height: 28px;
  padding: 0 3px;
  border-radius: 8px;
  font-size: .52rem;
}
.choice-grid--binary { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 164px;
  padding: 22px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-lg);
  background: rgba(8,12,32,.76);
  cursor: pointer;
  transition: transform var(--tr-fast), border-color var(--tr-fast), background var(--tr-fast), box-shadow var(--tr-fast);
}
.choice-card:hover { transform: translateY(-2px); border-color: var(--c-line-3); background: rgba(16,21,47,.94); }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--c-cyan); outline-offset: 3px; }
.choice-card:has(input:checked) { border-color: rgba(56,200,245,.78); background: linear-gradient(145deg, rgba(56,200,245,.10), rgba(59,130,246,.09) 55%, rgba(124,58,237,.08)); box-shadow: 0 0 0 1px rgba(56,200,245,.15) inset, 0 16px 35px -28px rgba(56,200,245,.8); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card strong { color: var(--c-ink); font-size: 1.05rem; line-height: 1.3; }
.choice-card > span:not(.choice-card__icon):not(.choice-card__device-icon) { color: var(--c-muted); font-size: .89rem; line-height: 1.45; }
.choice-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border: 1px solid var(--c-line-2); border-radius: 13px; color: var(--c-cyan); background: rgba(21,27,58,.76); }
.choice-card__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.choice-card--compact { min-height: 118px; align-items: center; text-align: center; padding: 18px 14px; }
.choice-card__device-icon { display: grid; place-items: center; min-width: 42px; height: 38px; padding-inline: 7px; border-radius: 11px; border: 1px solid var(--c-line-2); color: var(--c-cyan); font-family: var(--ff-mono); font-size: .7rem; font-weight: 700; background: rgba(21,27,58,.72); }
.choice-card--binary { min-height: 128px; }
.order-info, .order-alert {
  margin-top: 24px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(56,200,245,.25);
  border-radius: var(--r-md);
  background: rgba(56,200,245,.07);
  color: var(--c-muted);
}
.order-info strong, .order-alert strong { color: var(--c-ink); }
.order-alert { border-color: rgba(244,200,74,.34); background: rgba(244,200,74,.07); }
.order-alert p { color: var(--c-muted); }
.order-alert__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.order-text-btn { color: var(--c-cyan); text-decoration: underline; text-underline-offset: 3px; font: inherit; }
.order-plan-edit { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.order-fieldset--inline { margin-top: 0; }
.segment-control { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); padding: 4px; gap: 4px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: rgba(5,7,25,.7); }
.segment-control--period { grid-template-columns: repeat(4, minmax(0,1fr)); }
.segment-control label { position: relative; cursor: pointer; }
.segment-control input { position: absolute; opacity: 0; pointer-events: none; }
.segment-control span { display: grid; place-items: center; min-height: 44px; padding: 7px 8px; border-radius: 12px; color: var(--c-muted); font-size: .88rem; font-weight: 750; transition: background var(--tr-fast), color var(--tr-fast), box-shadow var(--tr-fast); }
.segment-control input:checked + span { background: var(--c-raised); color: var(--c-ink); box-shadow: 0 0 0 1px rgba(56,200,245,.35) inset; }
.segment-control label:has(input:focus-visible) { outline: 2px solid var(--c-cyan); outline-offset: 2px; border-radius: 12px; }
.order-price-preview { margin-top: 24px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.order-price-preview span { color: var(--c-muted); }
.order-price-preview strong { color: var(--c-ink); font-size: 1.55rem; }
.order-price-preview small { grid-column: 1/-1; color: var(--c-faint); }
.order-summary { margin-top: 28px; padding: clamp(18px, 4vw, 28px); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: rgba(5,7,25,.46); }
.summary-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 18px; padding: 8px 0; align-items: start; }
.summary-row span { color: var(--c-muted); }
.summary-row strong { color: var(--c-ink); text-align: right; overflow-wrap: anywhere; }
.summary-row--total { margin-top: 6px; padding-top: 17px; }
.summary-row--total strong { color: var(--c-cyan); font-size: 1.35rem; }
.summary-divider { height: 1px; margin: 14px 0; background: var(--c-line); }
.order-info--guide { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
.order-info--guide > div { display: flex; flex-direction: column; gap: 3px; }
.order-info--guide a { flex: 0 0 auto; color: var(--c-cyan); font-weight: 750; }

.order-info--manual-payment { margin-top: 18px; }
.order-confirmation {
  margin-top: 24px;
  padding: clamp(22px, 5vw, 32px);
  border: 1px solid rgba(56,200,245,.38);
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(56,200,245,.10), rgba(59,130,246,.07) 58%, rgba(124,58,237,.06));
  box-shadow: 0 18px 52px -38px rgba(56,200,245,.9);
}
.order-confirmation__status {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(56,200,245,.42);
  border-radius: 15px;
  color: var(--c-cyan);
  background: rgba(56,200,245,.10);
  font-size: 1.35rem;
  font-weight: 800;
}
.order-confirmation h3 { margin: 0 0 10px; color: var(--c-ink); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.2; }
.order-confirmation > p:not(.order-eyebrow):not(.order-hint) { margin: 0; color: var(--c-muted); line-height: 1.65; }
.order-confirmation__payment-note {
  margin-top: 20px;
  padding: 16px 17px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(244,200,74,.26);
  border-radius: 14px;
  background: rgba(244,200,74,.06);
}
.order-confirmation__payment-note strong { color: var(--c-ink); }
.order-confirmation__payment-note span { color: var(--c-muted); font-size: .9rem; line-height: 1.5; }
.order-handoff-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.order-handoff-actions .btn { flex: 1 1 190px; }
.order-confirmation .order-hint { margin-top: 14px; }

.order-nav { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; gap: 14px; padding: 18px clamp(20px, 5vw, 42px) max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); background: rgba(7,9,26,.94); backdrop-filter: blur(14px); }
.order-nav .btn { min-height: 50px; min-width: 132px; }
.order-next { margin-left: auto; }
.order-model-note { padding: 0 clamp(20px,5vw,42px) 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; color: var(--c-faint); font-size: .77rem; }
.support-dialog { width: min(calc(100% - 28px), 650px); max-height: min(88vh, 760px); padding: 0; border: 1px solid var(--c-line-2); border-radius: var(--r-xl); color: var(--c-text); background: var(--c-surface-3); box-shadow: var(--sh-3); overflow: auto; }
.support-dialog::backdrop { background: rgba(1,3,15,.76); backdrop-filter: blur(6px); }
.dialog-card { padding: clamp(22px, 5vw, 38px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.dialog-head .order-eyebrow { margin-bottom: 7px; }
.dialog-close { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid var(--c-line-2); border-radius: 13px; color: var(--c-ink); font-size: 1.55rem; line-height: 1; background: rgba(5,7,25,.45); }
.support-fieldset { margin-top: 26px; }
.support-types { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.support-types label { position: relative; cursor: pointer; }
.support-types input { position: absolute; opacity: 0; pointer-events: none; }
.support-types span { display: flex; align-items: center; min-height: 50px; padding: 10px 13px; border: 1px solid var(--c-line); border-radius: 13px; color: var(--c-muted); font-size: .87rem; font-weight: 700; background: rgba(5,7,25,.48); }
.support-types input:checked + span { color: var(--c-ink); border-color: rgba(56,200,245,.55); background: rgba(56,200,245,.09); }
.support-types label:has(input:focus-visible) { outline: 2px solid var(--c-cyan); outline-offset: 2px; border-radius: 13px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.support-actions .btn { flex: 1 1 190px; }
@media (max-width: 560px) {
  .order-topbar { min-height: 66px; }
  .order-brand img { width: 122px; }
  .order-support-btn { padding-inline: 11px; }
  .order-main { padding-inline: 0; padding-top: 4px; padding-bottom: 0; }
  .order-shell { border-radius: 22px 22px 0 0; border-inline: 0; border-bottom: 0; min-height: calc(100vh - 70px); }
  .order-progress { padding-inline: 20px; }
  .order-step { min-height: 470px; padding-inline: 20px; }
  .choice-grid--contact, .choice-grid--devices { grid-template-columns: 1fr; }
  .choice-card--wide { grid-column: auto; }
  .choice-card { min-height: 140px; }
  .choice-card--compact { min-height: 102px; flex-direction: row; justify-content: flex-start; text-align: left; padding-inline: 18px; }
  .choice-card--binary { min-height: 110px; flex-direction: column; justify-content: center; text-align: center; }
  .order-nav { padding-inline: 20px; }
  .order-nav .btn { min-width: 0; flex: 1 1 0; }
  .order-next { flex-grow: 1.3 !important; }
  .order-info--guide { align-items: flex-start; flex-direction: column; }
  .summary-row { grid-template-columns: .8fr 1.2fr; gap: 12px; }
  .support-types { grid-template-columns: 1fr; }
  .order-handoff-actions { flex-direction: column; }
  .order-handoff-actions .btn { width: 100%; flex-basis: auto; }
}
@media (max-width: 370px) {
  .order-progress__meta { font-size: .69rem; letter-spacing: .09em; }
  .segment-control--period { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .order-model-note { font-size: .71rem; }
}
@media (prefers-reduced-motion: reduce) {
  .order-page *, .order-page *::before, .order-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* TELEGET — checkout mobile UX/UI refinement. Spatial-only changes; order logic and pricing stay intact. */
.order-page {
  --order-nav-height: 72px;
  --order-keyboard-inset: 0px;
  --order-visual-height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
}
.order-nav { bottom: var(--order-keyboard-inset, 0px); }
.order-field input,
.order-field textarea { scroll-margin-top: 16px; scroll-margin-bottom: calc(var(--order-nav-height) + 18px); }

@media (max-width: 900px) {
  .order-main { padding-top: 12px; padding-bottom: 32px; }
  .order-progress { padding-top: 18px; padding-bottom: 14px; }
  .order-step { min-height: 390px; padding-top: 30px; padding-bottom: 24px; }
  .order-plan-edit { gap: 16px; margin-top: 24px; }
  .order-summary { margin-top: 22px; }
}

@media (max-width: 560px) {
  .order-page { --order-nav-height: 64px; }
  .order-topbar {
    min-height: 56px;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 8px;
    gap: 10px;
  }
  .order-brand img { width: 112px; }
  .order-support-btn {
    min-height: 42px;
    padding: 7px 10px;
    gap: 6px;
    font-size: .8rem;
  }
  .order-support-btn svg { width: 18px; height: 18px; }

  .order-main {
    min-height: calc(100svh - 56px);
    min-height: calc(100dvh - 56px);
    padding: 0;
  }
  .order-shell {
    min-height: calc(100svh - 56px);
    min-height: calc(100dvh - 56px);
    border-radius: 18px 18px 0 0;
  }

  .order-progress {
    padding: 13px 16px 11px;
  }
  .order-progress__meta {
    gap: 10px;
    font-size: .68rem;
    letter-spacing: .095em;
  }
  .order-progress__track {
    height: 4px;
    margin-top: 9px;
  }

  .order-step {
    min-height: 0;
    padding: 20px 16px 19px;
  }
  .order-step--intro .order-field {
    margin-top: 18px;
    padding: 13px;
    border-radius: 15px;
  }
  .order-eyebrow {
    margin-bottom: 7px;
    font-size: .68rem;
    letter-spacing: .13em;
  }
  .order-step h1,
  .order-step h2,
  .dialog-card h2 {
    max-width: 22ch;
    font-size: clamp(1.38rem, 1.18rem + 1.1vw, 1.62rem);
    line-height: 1.12;
  }
  .order-lead {
    margin-top: 9px;
    font-size: .91rem;
    line-height: 1.48;
  }

  .order-field,
  .order-fieldset { margin-top: 22px; }
  .order-field label,
  .order-fieldset > legend {
    margin-bottom: 7px;
    font-size: .9rem;
  }
  .order-field input,
  .order-field textarea {
    min-height: 48px;
    padding: 11px 13px;
    border-radius: 13px;
    font-size: 16px;
  }
  .order-field textarea { min-height: 104px; }
  .order-hint { margin-top: 7px; font-size: .78rem; line-height: 1.4; }
  .order-error { min-height: 1em; margin-top: 5px; font-size: .78rem; }

  .choice-grid { gap: 10px; }
  .choice-grid--devices {
    gap: 0;
    max-height: min(224px, 36dvh);
    padding: 0;
  }
  .choice-grid--devices .choice-card--compact {
    min-height: 42px;
    padding: 5px 8px;
    gap: 8px;
  }
  .choice-grid--devices .choice-card--compact strong { font-size: .81rem; }
  .choice-grid--devices .choice-card__device-icon {
    min-width: 27px;
    width: 27px;
    height: 27px;
    font-size: .5rem;
  }
  .choice-grid--devices .choice-card--compact::after {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
  .choice-card--wide { grid-column: 1 / -1; }

  .choice-card {
    min-height: 74px;
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-auto-rows: auto;
    align-items: center;
    justify-content: initial;
    gap: 4px 10px;
    border-radius: 15px;
  }
  .choice-card:hover { transform: none; }
  .choice-card__icon {
    grid-row: 1 / span 2;
    grid-column: 1;
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 11px;
  }
  .choice-card__icon svg { width: 20px; height: 20px; }
  .choice-card strong {
    grid-column: 2;
    font-size: .92rem;
    line-height: 1.2;
  }
  .choice-card > span:not(.choice-card__icon):not(.choice-card__device-icon) {
    grid-column: 2;
    font-size: .75rem;
    line-height: 1.3;
  }

  .choice-card--compact {
    min-height: 60px;
    padding: 9px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }
  .choice-card--compact strong { font-size: .86rem; line-height: 1.2; }
  .choice-card__device-icon {
    flex: 0 0 auto;
    min-width: 34px;
    width: 34px;
    height: 34px;
    padding: 0 4px;
    border-radius: 9px;
    font-size: .61rem;
  }

  .choice-grid--binary { gap: 10px; }
  .choice-card--binary {
    min-height: 64px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }

  .order-info,
  .order-alert {
    margin-top: 18px;
    padding: 12px 14px;
    gap: 5px;
    border-radius: 13px;
    font-size: .86rem;
    line-height: 1.42;
  }
  .order-alert__actions { gap: 10px; margin-top: 7px; }

  .order-plan-edit { gap: 14px; margin-top: 21px; }
  .segment-control {
    padding: 3px;
    gap: 3px;
    border-radius: 13px;
  }
  .segment-control span {
    min-height: 40px;
    padding: 6px 5px;
    border-radius: 10px;
    font-size: .79rem;
  }
  .segment-control--period { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .order-price-preview {
    margin-top: 18px;
    padding: 12px 2px;
    gap: 4px 10px;
    font-size: .85rem;
  }
  .order-price-preview strong { font-size: 1.28rem; }
  .order-price-preview small { font-size: .72rem; }

  .order-summary {
    margin-top: 20px;
    padding: 14px;
    border-radius: 15px;
  }
  .summary-row {
    grid-template-columns: minmax(88px, .8fr) minmax(0, 1.2fr);
    gap: 10px;
    padding: 6px 0;
    font-size: .86rem;
  }
  .summary-row strong { line-height: 1.35; }
  .summary-row--total { margin-top: 3px; padding-top: 10px; }
  .summary-row--total strong { font-size: 1.08rem; }
  .summary-divider { margin: 10px 0; }

  .order-info--guide {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }
  .order-info--guide > div { gap: 3px; min-width: 0; }
  .order-info--guide a { font-size: .82rem; }
  .order-info--manual-payment { margin-top: 14px; }

  .order-confirmation {
    margin-top: 18px;
    padding: 17px 16px;
    border-radius: 15px;
  }
  .order-confirmation__status {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 11px;
    font-size: 1.05rem;
  }
  .order-confirmation h3 { margin-bottom: 8px; font-size: 1.28rem; }
  .order-confirmation > p:not(.order-eyebrow):not(.order-hint) { font-size: .86rem; line-height: 1.48; }
  .order-confirmation__payment-note { margin-top: 15px; padding: 12px; }
  .order-confirmation__payment-note span { font-size: .8rem; line-height: 1.4; }
  .order-handoff-actions { gap: 9px; margin-top: 16px; }
  .order-confirmation .order-hint { margin-top: 10px; }

  .order-nav {
    bottom: var(--order-keyboard-inset, 0px);
    gap: 8px;
    padding: 8px 16px max(8px, env(safe-area-inset-bottom));
  }
  .order-nav .btn {
    min-height: 46px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: .9rem;
  }
  .order-nav .order-back { flex-grow: .82; }
  .order-nav .order-next { flex-grow: 1.18 !important; }

  .order-model-note {
    padding: 7px 16px max(11px, env(safe-area-inset-bottom));
    gap: 6px;
    font-size: .68rem;
  }

  .support-dialog {
    width: min(calc(100% - 18px), 650px);
    max-height: min(calc(var(--order-visual-height, 100dvh) - 18px), 760px);
    border-radius: 18px;
  }
  .dialog-card { padding: 17px 16px; }
  .dialog-head { gap: 10px; }
  .dialog-close { width: 40px; height: 40px; border-radius: 11px; }
  .support-fieldset { margin-top: 18px; }
  .support-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .support-types span { min-height: 44px; padding: 8px 9px; font-size: .78rem; }
  .support-actions { gap: 8px; margin-top: 16px; }

  .order-page.is-keyboard-open .order-nav {
    padding-bottom: 8px;
  }
  .order-page.is-keyboard-open .order-model-note { display: none; }
}

@media (max-width: 350px) {
  .order-step { padding-inline: 13px; }
  .order-progress { padding-inline: 13px; }
  .order-step h1,
  .order-step h2,
  .dialog-card h2 { font-size: 1.34rem; }
  .choice-grid--devices { gap: 0; }
  .choice-card--compact { padding-inline: 8px; gap: 7px; }
  .choice-card--compact strong { font-size: .81rem; }
  .segment-control--period span { font-size: .74rem; }
  .order-nav { padding-inline: 13px; }
  .summary-row { grid-template-columns: 82px minmax(0, 1fr); font-size: .82rem; }
}

@media (max-width: 560px) {
  .order-nav .order-back { flex: 0 1 132px; }
  .order-nav .order-next { flex: 1 1 auto !important; }
}
@media (max-width: 350px) {
  .order-nav .order-back { flex-basis: 92px; }
  .order-nav .order-next { font-size: .86rem; }
}

/* Legal links shown before an order request is completed. */
.order-model-note a {
  color: var(--c-muted);
  text-decoration: underline;
  text-decoration-color: rgba(56, 200, 245, .34);
  text-underline-offset: .18em;
}
.order-model-note a:hover { color: var(--c-ink); }
