/* Onboarding wizard (/register/): sticky progress dial bar + accordion timeline of steps.
   Loaded only by templates/register_wizard*.tpl. Tokens mirror DESIGN.md; nothing here is global. */

.rt-onb {
  --onb-navy-900: #0B1A33;
  --onb-ink: #101828;
  --onb-ink-2: #475467;
  --onb-ink-3: #5D6B82;
  --onb-line: #E4E7EC;
  --onb-field: #8792A2;          /* input border, 3.3:1 on white */
  --onb-soft: #F5F7FB;
  --onb-blue: #1F5FBF;           /* link */
  --onb-accent: #2D6FE3;         /* dial arc, focus */
  --onb-blue-50: #F1F5FF;
  --onb-action: #2E7D32;
  --onb-action-hover: #246428;
  --onb-action-tint: #E7F4E8;
  --onb-danger: #B42318;
  --onb-danger-tint: #FEF3F2;
  --onb-header-h: 72px;
  --onb-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --onb-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 12px 32px rgba(16, 24, 40, 0.08);
  --onb-mark: 36px;
  --onb-pad: 24px;

  display: block;
  margin: 0;
  padding: 0 0 clamp(56px, 7vw, 96px);
  background: #fff;
  color: var(--onb-ink);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* css/facelift.css sets overflow-x:hidden on html and body, which makes body a scroll container and breaks
   position:sticky for the dial bar. clip still clips sideways without creating a scroll container. */
html:has(#rt-onb), body:has(#rt-onb) { overflow-x: clip; }
.rt-onb *, .rt-onb *::before, .rt-onb *::after { box-sizing: border-box; }
.rt-onb ::selection { background: rgba(45, 111, 227, 0.2); color: inherit; }
.rt-onb a { color: var(--onb-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rt-onb a:hover { text-decoration-thickness: 2px; }
.rt-onb :focus-visible { outline: 3px solid var(--onb-accent); outline-offset: 2px; }
.rt-onb :where(p) { margin: 0; }

.rt-onb-sr,
div#contentWrapper .rt-onb .rt-onb-sr {  /* beats the site-wide h1 rules (revamp.css div#contentWrapper h1) */
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
}

/* breadcrumb trail (templates/_breadcrumbs.tpl) above the sticky bar, same column as the steps */
.rt-onb-crumbs, .rt-onb-bar__in, .rt-onb-main { box-sizing: border-box; max-width: calc(760px + 2 * var(--rt-gutter, 24px)); margin-left: auto; margin-right: auto; padding-left: var(--rt-gutter, 24px); padding-right: var(--rt-gutter, 24px); }
/* the wizard is a focused 760px column, centered like the focused-task pages (css/pageband.css) */
.rt-onb-crumbs { padding-top: 16px; padding-bottom: 0; }
.rt-onb-crumbs .rt-bc { margin: 0 0 14px; }
.rt-onb .rt-bc a { text-decoration: none; }
.rt-onb .rt-bc a:hover { text-decoration: underline; }

/* ---------- sticky dial bar (the light page band of an inner page) ---------- */
.rt-onb-bar {
  position: sticky;
  top: var(--onb-header-h);
  z-index: 900;
  background:
    radial-gradient(40% 160% at 100% 0%, rgba(45, 111, 227, 0.08), transparent 70%),
    rgba(245, 247, 251, 0.96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--onb-line);
}
.rt-onb-bar__in {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.rt-onb-bar__text { flex: 1 1 auto; min-width: 0; }
.rt-onb-bar__title {
  font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--onb-ink);
  text-wrap: balance;
}
.rt-onb-bar__meta { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--onb-ink-3); font-variant-numeric: tabular-nums; }
.rt-onb-bar__order { flex: 0 0 auto; text-align: right; font-size: 14px; color: var(--onb-ink-2); font-variant-numeric: tabular-nums; }
.rt-onb-bar__order strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--onb-ink); }

/* ---------- the dial ("cadran") ---------- */
.rt-onb-dial { flex: 0 0 auto; display: block; width: 88px; height: 88px; overflow: visible; }
.rt-onb-dial circle { fill: none; }
/* Owner rule: no dial on the account step (never a 0%); it animates in when the account exists. */
.rt-onb.is-nodial .rt-onb-dial { display: none; }
.rt-onb.is-dial-in .rt-onb-dial { animation: rt-onb-dial-in 0.6s var(--onb-ease) both; }
@keyframes rt-onb-dial-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
.rt-onb-dial__ticks { stroke: #AEB7C5; stroke-width: 3.5; stroke-dasharray: 0.08 0.92; }
.rt-onb-dial__track { stroke: #E3E8F0; stroke-width: 7; }
.rt-onb-dial__value {
  stroke: var(--onb-accent); stroke-width: 7; stroke-linecap: round;
  transition: stroke 0.4s ease;
}
.rt-onb-dial.is-empty .rt-onb-dial__value { stroke-opacity: 0; }
.rt-onb-dial__num {
  font-family: inherit; font-size: 22px; font-weight: 800; letter-spacing: -0.03em;
  fill: var(--onb-ink); font-variant-numeric: tabular-nums;
}
.rt-onb-dial__unit { font-size: 12px; font-weight: 700; letter-spacing: 0; fill: var(--onb-ink-3); }
.rt-onb[data-progress="100"] .rt-onb-dial__value { stroke: var(--onb-action); }  /* done = connected state */
.rt-onb-dial__ticks { transition: opacity 0.3s ease; }
.rt-onb-dial__scale { display: none; }
.rt-onb-dial__scale line { stroke: #AEB7C5; stroke-width: 1.5; stroke-linecap: round; }
.rt-onb-dial__scale line.is-major { stroke: var(--onb-ink-3); stroke-width: 2; }
.rt-onb.is-gauge .rt-onb-dial__scale { display: inline; }
.rt-onb.is-gauge .rt-onb-dial__ticks { opacity: 0; }
.rt-onb.is-gauge .rt-onb-dial__num { transform: translateY(-5px); }
.rt-onb.is-gauge .rt-onb-dial__unit { font-size: 10px; }
.rt-onb.is-gauge .rt-onb-bar__meta { color: var(--onb-accent); }

/* ---------- layout ---------- */
.rt-onb-main { padding-top: 28px; padding-bottom: 0; }
.rt-onb-lead { max-width: 62ch; margin-bottom: 24px; font-size: 16px; color: var(--onb-ink-2); }

.rt-onb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rt-onb-steps__item { position: relative; margin: 0; padding: 0; }
.rt-onb-steps__item::before { content: none; }
/* timeline connector between two step marks */
.rt-onb-steps__item + .rt-onb-steps__item::after {
  content: ""; position: absolute; top: -16px; height: 16px; width: 2px;
  left: calc(var(--onb-pad) + var(--onb-mark) / 2 - 1px);
  background: var(--onb-line);
  transition: background-color 0.4s ease;
}
.rt-onb-steps__item:has(> .rt-onb-step[data-state="done"]) + .rt-onb-steps__item::after { background: var(--onb-accent); }

/* ---------- a step card ---------- */
.rt-onb-step {
  min-width: 0;
  scroll-margin-top: calc(var(--onb-header-h) + 128px);
  background: #fff;
  border: 1px solid var(--onb-line);
  border-radius: 20px;
  transition: box-shadow 0.45s var(--onb-ease), border-color 0.45s var(--onb-ease);
}
.rt-onb-step.is-open { border-color: transparent; box-shadow: var(--onb-shadow); }

.rt-onb-step__header { display: flex; align-items: center; gap: 8px; padding-right: 16px; }
.rt-onb-step__h { flex: 1 1 auto; min-width: 0; margin: 0; font: inherit; }
.rt-onb-step__h:focus { outline: none; }  /* focused by script when a step opens; the content after it is the next Tab stop */
.rt-onb .rt-onb-step__head {
  display: flex; align-items: center; gap: 16px; width: 100%;
  margin: 0; padding: 20px 8px 20px var(--onb-pad);
  border: 0; border-radius: 20px; background: none; box-shadow: none;
  color: inherit; font: inherit; text-align: left; text-transform: none; letter-spacing: 0;
  cursor: default; min-height: 0; height: auto;
}
.rt-onb .rt-onb-step[data-state="done"]:not(.is-open) .rt-onb-step__head { cursor: pointer; }
.rt-onb .rt-onb-step__head:focus-visible { outline-offset: -3px; }
.rt-onb-step__mark {
  position: relative; flex: 0 0 auto; display: grid; place-items: center;
  width: var(--onb-mark); height: var(--onb-mark); border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1.5px #CDD3DD;
  color: var(--onb-ink-3); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
.rt-onb-step__check { position: absolute; inset: 0; margin: auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; opacity: 0; }
.rt-onb-step.is-open .rt-onb-step__mark { background: var(--onb-navy-900); box-shadow: none; color: #fff; }
.rt-onb-step[data-state="done"] .rt-onb-step__mark { background: var(--onb-action-tint); box-shadow: none; color: var(--onb-action); }
.rt-onb-step[data-state="done"] .rt-onb-step__num { opacity: 0; }
.rt-onb-step[data-state="done"] .rt-onb-step__check { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s var(--onb-ease) 0.1s; }
.rt-onb-step[data-state="done"].is-open .rt-onb-step__mark { background: var(--onb-navy-900); color: #fff; }

.rt-onb-step__text { display: flex; flex-direction: column; min-width: 0; }
.rt-onb-step__title { font-size: 20px; font-weight: 750; line-height: 1.3; letter-spacing: -0.01em; color: var(--onb-ink); }
.rt-onb-step[data-state="todo"] .rt-onb-step__title { color: var(--onb-ink-2); }
.rt-onb-step__summary {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--onb-ink-3);
}
.rt-onb-step[data-state="done"] .rt-onb-step__summary { color: var(--onb-ink-2); }
.rt-onb-step.is-open .rt-onb-step__summary { display: none; }

.rt-onb .rt-onb-step__edit {
  flex: 0 0 auto; height: 36px; margin: 0; padding: 0 14px;
  border: 0; border-radius: 999px; background: none; box-shadow: none;
  color: var(--onb-blue); font: inherit; font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0;
  cursor: pointer; transition: background-color 0.2s ease;
}
.rt-onb .rt-onb-step__edit:hover { background: var(--onb-blue-50); }
.rt-onb .rt-onb-step__edit[hidden], .rt-onb-step.is-open .rt-onb-step__edit { display: none; }

/* open/close: the panel animates its row from 0fr to 1fr; closed panels leave the tab order */
.rt-onb-step__panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 0.5s var(--onb-ease), visibility 0s linear 0.5s;
}
.rt-onb-step.is-open > .rt-onb-step__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.5s var(--onb-ease), visibility 0s; }
.rt-onb-step__body {
  min-height: 0; overflow: hidden;
  padding: 0 var(--onb-pad) 0 calc(var(--onb-pad) + var(--onb-mark) + 16px);
}
.rt-onb-step.is-open .rt-onb-step__body { padding-bottom: 28px; }
.rt-onb-step__body > :first-child { margin-top: 0; }

.rt-onb-intro { margin-bottom: 20px; color: var(--onb-ink-2); }
.rt-onb-note { color: var(--onb-ink-2); max-width: 60ch; }

/* ---------- form ---------- */
.rt-onb-form { margin: 0; max-width: 480px; }
.rt-onb-field { margin: 0 0 20px; }
.rt-onb .rt-onb-label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--onb-ink); text-transform: none; letter-spacing: 0; }
.rt-onb-optional { font-weight: 500; color: var(--onb-ink-3); }
.rt-onb .rt-onb-input {
  display: block; width: 100%; height: 48px; margin: 0; padding: 0 14px;
  border: 1px solid var(--onb-field); border-radius: 10px; background: #fff; box-shadow: none;
  color: var(--onb-ink); font: inherit; font-size: 16px; line-height: 1.2;
  caret-color: var(--onb-accent);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none; appearance: none;
}
.rt-onb .rt-onb-input:hover { border-color: #5D6B82; }
.rt-onb .rt-onb-input:focus { outline: none; border-color: var(--onb-accent); box-shadow: 0 0 0 3px rgba(45, 111, 227, 0.22); }
.rt-onb .rt-onb-input[aria-invalid="true"] { border-color: var(--onb-danger); }
.rt-onb .rt-onb-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.18); }
.rt-onb .rt-onb-input:disabled { background: var(--onb-soft); color: var(--onb-ink-3); }

.rt-onb-help { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--onb-ink-3); }
.rt-onb-help--rule { display: flex; align-items: center; gap: 6px; }
.rt-onb-help--rule svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.35; transition: opacity 0.2s ease; }
.rt-onb-help--rule.is-met { color: var(--onb-action); }
.rt-onb-help--rule.is-met svg { opacity: 1; }

.rt-onb-error {
  display: flex; align-items: flex-start; gap: 6px; margin-top: 6px;
  font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--onb-danger);
}
.rt-onb-error[hidden] { display: none; }
.rt-onb-error::before {
  content: ""; flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' d='M12 7v6m0 4h.01'/><circle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.2'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' d='M12 7v6m0 4h.01'/><circle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2.2'/></svg>") center / contain no-repeat;
}
.rt-onb-error--form { margin: 0 0 20px; padding: 12px 14px; border-radius: 12px; background: var(--onb-danger-tint); }

/* password with show/hide */
.rt-onb-pass { position: relative; }
.rt-onb .rt-onb-pass .rt-onb-input { padding-right: 52px; }
.rt-onb .rt-onb-reveal {
  position: absolute; top: 4px; right: 4px; display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0; padding: 0;
  border: 0; border-radius: 8px; background: none; box-shadow: none; color: var(--onb-ink-3);
  cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease;
}
.rt-onb .rt-onb-reveal:hover { background: var(--onb-soft); color: var(--onb-ink); }
.rt-onb-reveal svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rt-onb-reveal__off, .rt-onb-reveal[aria-pressed="true"] .rt-onb-reveal__on { display: none; }
.rt-onb-reveal[aria-pressed="true"] .rt-onb-reveal__off { display: block; }

/* referral disclosure */
.rt-onb-more { margin: -4px 0 20px; }
.rt-onb-more > summary {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; cursor: pointer;
  list-style: none; font-size: 15px; font-weight: 600; color: var(--onb-blue);
}
.rt-onb-more > summary::-webkit-details-marker { display: none; }
.rt-onb-more > summary::after {
  content: ""; width: 8px; height: 8px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform 0.25s var(--onb-ease);
}
.rt-onb-more[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.rt-onb-more[open] > .rt-onb-field { margin: 12px 0 0; }

/* terms checkbox */
.rt-onb-field--check { margin-bottom: 20px; }
.rt-onb .rt-onb-check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--onb-ink-2); cursor: pointer; }
.rt-onb-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 1px 0 0; cursor: pointer; }
.rt-onb-check__box {
  flex: 0 0 22px; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid var(--onb-field); border-radius: 6px; background: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.rt-onb-check__box svg { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 0.25s var(--onb-ease); }
.rt-onb-check:hover .rt-onb-check__box { border-color: #5D6B82; }
.rt-onb-check input:checked + .rt-onb-check__box { background: var(--onb-action); border-color: var(--onb-action); }
.rt-onb-check input:checked + .rt-onb-check__box svg { stroke-dashoffset: 0; }
.rt-onb-check input:focus-visible + .rt-onb-check__box { outline: 3px solid var(--onb-accent); outline-offset: 2px; }
.rt-onb-check input[aria-invalid="true"] + .rt-onb-check__box { border-color: var(--onb-danger); }

.rt-onb-captcha { min-height: 65px; }
.rt-onb-captcha.is-compact { min-height: 140px; }

/* ---------- buttons ---------- */
.rt-onb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.rt-onb .rt-onb-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 220px; height: 54px; margin: 0; padding: 0 28px;
  border: 0; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--onb-ease), box-shadow 0.2s ease;
}
.rt-onb .rt-onb-btn--primary { background: var(--onb-action); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08), 0 8px 20px rgba(46, 125, 50, 0.22); }
.rt-onb .rt-onb-btn--primary:hover { background: var(--onb-action-hover); transform: translateY(-1px); }
.rt-onb .rt-onb-btn--primary:active { transform: translateY(0); }
.rt-onb .rt-onb-btn[aria-busy="true"] { cursor: progress; background: var(--onb-action-hover); transform: none; }
.rt-onb .rt-onb-btn:disabled:not([aria-busy="true"]) { cursor: not-allowed; opacity: 0.6; transform: none; }
.rt-onb-btn__spin {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: rt-onb-spin 0.8s linear infinite;
}
.rt-onb-btn[aria-busy="true"] .rt-onb-btn__spin { display: block; }
@keyframes rt-onb-spin { to { transform: rotate(360deg); } }
.rt-onb-aside { font-size: 15px; color: var(--onb-ink-2); }

/* ---------- step 2: plan ---------- */
.rt-onb-plan-step { max-width: 640px; }
.rt-onb-fieldset { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.rt-onb .rt-onb-legend {
  display: block; width: auto; margin: 0 0 10px; padding: 0; border: 0;
  font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--onb-ink); text-transform: none; letter-spacing: 0;
}

/* outline + small buttons */
.rt-onb .rt-onb-btn--outline {
  min-width: 0; height: 48px; padding: 0 20px; gap: 8px;
  background: #fff; color: var(--onb-ink); box-shadow: inset 0 0 0 1.5px var(--onb-ink);
}
.rt-onb .rt-onb-btn--outline:hover { background: var(--onb-ink); color: #fff; }
.rt-onb .rt-onb-btn--outline:disabled { opacity: 0.6; cursor: progress; }
.rt-onb .rt-onb-btn--sm { height: 48px; padding: 0 18px; font-size: 15px; }
.rt-onb .rt-onb-link {
  margin: 8px 0 0; padding: 0; border: 0; background: none; box-shadow: none;
  color: var(--onb-blue); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; text-transform: none; letter-spacing: 0; height: auto; min-height: 0;
}
.rt-onb .rt-onb-link[hidden] { display: none; }

/* speed test band */
.rt-onb-speed {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px 24px;
  margin: 0 0 28px; padding: 20px 22px; border-radius: 16px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(45, 111, 227, 0.09), transparent 70%),
    var(--onb-soft);
}
.rt-onb .rt-onb-speed__h { margin: 0 0 4px; font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -0.01em; color: var(--onb-ink); }
.rt-onb-speed__lead { max-width: 52ch; font-size: 15px; line-height: 1.55; color: var(--onb-ink-2); font-variant-numeric: tabular-nums; }
.rt-onb-speed[data-state="running"] .rt-onb-speed__lead { font-weight: 700; color: var(--onb-ink); }
.rt-onb-speed__lead[hidden] { display: none; }
.rt-onb-speed__btn { align-self: center; }
.rt-onb-speed__icon { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rt-onb-speed__icon circle { fill: currentColor; stroke: none; }
.rt-onb-speed[data-state="running"] .rt-onb-speed__icon path:nth-child(2) { transform-origin: 12px 14px; animation: rt-onb-needle 1.6s var(--onb-ease) infinite alternate; }
@keyframes rt-onb-needle { from { transform: rotate(-70deg); } to { transform: rotate(20deg); } }
.rt-onb-speed__result[hidden] { display: none; }
.rt-onb-speed__nums { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 6px 0 10px; }
.rt-onb-speed__nums dt { font-size: 13px; font-weight: 700; color: var(--onb-ink-3); }
.rt-onb-speed__nums dd { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--onb-ink); font-variant-numeric: tabular-nums; }
.rt-onb-speed__unit { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--onb-ink-3); }
.rt-onb-speed__rec { font-size: 15px; line-height: 1.5; color: var(--onb-ink-2); }
.rt-onb-speed__rec strong { color: var(--onb-ink); font-weight: 800; }
.rt-onb-speed__fine { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--onb-ink-3); max-width: 60ch; }
.rt-onb-speed .rt-onb-error { margin-top: 0; }

/* period: a radio group of pills on a soft track */
.rt-onb-period {
  display: flex; gap: 4px; width: max-content; max-width: 100%; padding: 4px; border-radius: 999px;
  background: #EEF1F6; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rt-onb-period::-webkit-scrollbar { display: none; }
.rt-onb .rt-onb-period__opt {
  position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; margin: 0; padding: 0 16px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--onb-ink-2); white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.rt-onb-period__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rt-onb-period__opt:hover { color: var(--onb-ink); }
.rt-onb-period__opt:has(input:checked) { background: #fff; color: var(--onb-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08), 0 2px 8px rgba(16, 24, 40, 0.06); }
.rt-onb-period__opt:has(input:focus-visible) { outline: 3px solid var(--onb-accent); outline-offset: 1px; }
.rt-onb-period__chip {
  padding: 2px 7px; border-radius: 999px; background: var(--onb-action-tint); color: var(--onb-action);
  font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums;
}

/* plan cards: native radios, the whole card is the label */
.rt-onb-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 4px; }
.rt-onb .rt-onb-plan {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 2px 12px;
  margin: 0; padding: 18px 18px 16px; border-radius: 16px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--onb-line);
  font-weight: 500; color: var(--onb-ink); cursor: pointer;
  transition: box-shadow 0.25s var(--onb-ease), transform 0.25s var(--onb-ease);
}
.rt-onb-plan:hover { box-shadow: inset 0 0 0 1px #B9C1CD; }
.rt-onb-plan input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rt-onb-plan.is-selected, .rt-onb-plan:has(input:checked) { box-shadow: inset 0 0 0 2px var(--onb-navy-900); }
.rt-onb-plan.is-featured, .rt-onb-plan.is-featured:has(input:checked) { box-shadow: 0 0 0 3px var(--onb-accent), 0 4px 8px rgba(11, 26, 51, 0.08), 0 16px 36px rgba(11, 26, 51, 0.14); }
.rt-onb-plan:has(input:focus-visible) { outline: 3px solid var(--onb-accent); outline-offset: 3px; }
.rt-onb-plan__ribbon {
  position: absolute; top: -11px; left: 16px; display: none;
  padding: 3px 10px; border-radius: 999px; background: var(--onb-accent); color: #fff;
  font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: 0.01em;
}
.rt-onb-plan.is-featured .rt-onb-plan__ribbon { display: block; animation: rt-onb-pop 0.45s var(--onb-ease); }
@keyframes rt-onb-pop { from { opacity: 0; transform: translateY(4px) scale(0.92); } to { opacity: 1; transform: none; } }
.rt-onb-plan__radio {
  grid-row: 1; align-self: center; width: 20px; height: 20px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--onb-field); background: #fff;
  transition: box-shadow 0.2s var(--onb-ease);
}
.rt-onb-plan:has(input:checked) .rt-onb-plan__radio, .rt-onb-plan.is-selected .rt-onb-plan__radio { box-shadow: inset 0 0 0 6px var(--onb-action); }
.rt-onb-plan__head { display: flex; flex-direction: column; min-width: 0; }
.rt-onb-plan__name { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.rt-onb-plan__meta { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--onb-ink-3); }
.rt-onb-plan__price { grid-column: 2; display: flex; flex-direction: column; margin-top: 12px; }
.rt-onb-plan__amount { font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rt-onb-plan__unit { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--onb-ink-3); }
.rt-onb-plan__billed-short { display: none; }
.rt-onb-plan__billed { margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--onb-ink-3); font-variant-numeric: tabular-nums; }

/* coupon */
.rt-onb-coupon { margin: -8px 0 24px; }
.rt-onb-coupon__ctl { display: flex; gap: 8px; max-width: 420px; }
.rt-onb-coupon__ctl .rt-onb-input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.rt-onb-coupon__ctl .rt-onb-input::placeholder { text-transform: none; }
.rt-onb-coupon__msg { display: flex; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--onb-ink); }
.rt-onb-coupon__msg[hidden] { display: none; }
.rt-onb-coupon__msg[data-tone="warn"] { color: var(--onb-ink-2); }
.rt-onb-coupon__msg::before {
  content: ""; flex: 0 0 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--onb-accent);
}

/* price block: the dark pricing panel, in small */
.rt-onb-price {
  position: relative; margin: 0; padding: 22px 24px 20px; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(45, 111, 227, 0.28), transparent 70%),
    var(--onb-navy-900);
  color: #F4F7FC;
}
.rt-onb .rt-onb-price__h { margin: 0 0 12px; font-size: 16px; font-weight: 800; line-height: 1.3; color: #fff; letter-spacing: -0.01em; }
.rt-onb-price__rows { margin: 0; display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.rt-onb-price__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.rt-onb-price__row[hidden] { display: none; }
.rt-onb-price__row dt { min-width: 0; font-size: 15px; font-weight: 500; color: #B4C2D9; }
.rt-onb-price__row dd { margin: 0; flex: 0 0 auto; font-size: 15px; font-weight: 700; color: #F4F7FC; white-space: nowrap; }
.rt-onb-price__row--total { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); align-items: flex-end; }
.rt-onb-price__row--total dt { font-size: 17px; font-weight: 800; color: #fff; }
.rt-onb-price__total { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -0.035em; color: #fff; transition: opacity 0.2s ease; }
.rt-onb-price__cur { font-size: 16px; font-weight: 700; color: #B4C2D9; }
.rt-onb-price[aria-busy="true"] .rt-onb-price__rows dd { opacity: 0.55; }
.rt-onb-price__monthly[hidden] { display: none; }
.rt-onb-price__monthly { margin-top: 4px; text-align: right; font-size: 14px; color: #B4C2D9; font-variant-numeric: tabular-nums; }
.rt-onb-price__note { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: #B4C2D9; }
.rt-onb-price__note[hidden], .rt-onb-badge[hidden] { display: none; }
.rt-onb-badge {
  display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; vertical-align: 1px;
  background: rgba(255, 255, 255, 0.1); color: #DDE8FF; font-size: 12px; font-weight: 700;
}
.rt-onb-error--dark { margin-top: 12px; color: #FDA29B; }
.rt-onb-moneyback { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 24px; font-size: 14px; line-height: 1.5; color: var(--onb-ink-2); }
.rt-onb-moneyback b { color: var(--onb-ink); }
.rt-onb-moneyback svg { flex: 0 0 auto; margin-top: 0; fill: none; stroke: var(--onb-accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- step 3: billing (fields: css/billing_form.css) + the total and pay button under them ---------- */
.rt-onb-billing { max-width: 560px; }
.rt-onb-step.is-open.is-settled > .rt-onb-step__panel > .rt-onb-step__body { overflow: visible; }
.rt-onb-btn__icon { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rt-onb .rt-onb-btn--outline .rt-onb-btn__spin { border-color: rgba(16, 24, 40, 0.2); border-top-color: var(--onb-ink); }
.rt-onb .rt-onb-btn--outline[aria-busy="true"] { background: #fff; color: var(--onb-ink); }
.rt-onb .rt-onb-btn[aria-busy="true"] .rt-onb-btn__icon { display: none; }
.rt-onb-billing > .rt-onb-notice { margin-bottom: 20px; }

.rt-onb-notice {
  display: flex; gap: 8px; padding: 12px 14px; border-radius: 12px;
  background: var(--onb-blue-50); font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--onb-ink);
}
.rt-onb-notice[hidden] { display: none; }
.rt-onb-notice::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--onb-accent); }
.rt-onb-notice--warn { background: #FFF8E6; }
.rt-onb-notice--warn::before { background: #B54708; }
.rt-onb-warn { padding: 10px 12px; border-radius: 10px; background: #FFF8E6; font-size: 14px; font-weight: 600; line-height: 1.45; color: #7A2E0E; }
.rt-onb-warn[hidden] { display: none; }

/* the total due: the plan step's navy price block, one line */
.rt-onb-due { margin-top: 8px; padding: 20px 22px 18px; }
.rt-onb-due__line { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.rt-onb-due__what { min-width: 0; }
.rt-onb .rt-onb-due .rt-onb-price__h { margin: 0 0 2px; }
.rt-onb-due__plan { font-size: 14px; font-weight: 600; color: #B4C2D9; font-variant-numeric: tabular-nums; }
.rt-onb-due__amount { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; }
.rt-onb-due__vat { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #B4C2D9; }
.rt-onb-due__vat:empty { display: none; }
.rt-onb-due[aria-busy="true"] .rt-onb-price__total { opacity: 0.55; }
.rt-onb-due .rt-onb-price__note { margin-top: 10px; }
.rt-onb-due__cur-note { color: #F4F7FC; font-weight: 600; }


/* ---------- summary panel: billing saved, ready to pay (not a step: no number, no accordion header) ---------- */
.rt-onb-sum { display: grid; gap: 14px; margin: 16px 0 0; scroll-margin-top: calc(var(--onb-header-h) + 128px); }
.rt-onb-sum[hidden] { display: none; }
.rt-onb-sum[aria-busy="true"] .rt-onb-price__total { opacity: 0.55; }
.rt-onb .rt-onb-sum__h { margin: 0 0 12px; font-size: 16px; font-weight: 800; line-height: 1.3; color: #fff; letter-spacing: -0.01em; }
.rt-onb-sum__h:focus { outline: none; }
.rt-onb-sum .rt-onb-price__row dd { white-space: normal; text-align: right; overflow-wrap: anywhere; }
.rt-onb-sum .rt-onb-price__row--total dd { flex: 0 0 auto; white-space: nowrap; }
.rt-onb-sum .rt-onb-price__row--total dd .rt-onb-due__vat { text-align: right; }

.rt-onb-pay { display: grid; gap: 14px; justify-items: start; margin-top: 4px; }
.rt-onb .rt-onb-btn--pay { min-width: 260px; height: 56px; font-size: 17px; text-decoration: none; color: #fff; }
.rt-onb .rt-onb-btn--pay:hover { color: #fff; text-decoration: none; }
.rt-onb .rt-onb-btn--pay[aria-disabled="true"]:not([aria-busy="true"]) { opacity: 0.6; cursor: not-allowed; transform: none; }
.rt-onb .rt-onb-btn--pay[aria-disabled="true"], .rt-onb .rt-onb-btn--pay[aria-busy="true"] { pointer-events: none; }
.rt-onb-pay__notes { display: grid; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.rt-onb-pay__notes li { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; font-size: 14px; line-height: 1.5; color: var(--onb-ink-2); }
.rt-onb-pay__notes li::before { content: none; }
.rt-onb-pay__notes b { color: var(--onb-ink); }
.rt-onb-pay__notes svg { flex: 0 0 auto; fill: none; stroke: var(--onb-accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rt-onb-pay__notes.rt-onb-due__notes { margin: 16px 0 24px; }
.rt-onb-sum__coupon { margin: 0; }
.rt-onb-pay__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.rt-onb-pay__logos img { display: block; height: 24px; width: auto; }

/* ---------- terms modal (tingle) ---------- */
.rt-onb-terms .tingle-modal-box { max-width: 760px; border-radius: 20px; font-family: "Manrope", "Segoe UI", system-ui, sans-serif; }
.rt-onb-terms .tingle-modal-box__content { padding: 32px; max-height: 70vh; overflow: auto; font-size: 15px; line-height: 1.6; color: #475467; }
.rt-onb-terms .tingle-modal-box__content h2 { margin: 0 0 16px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #101828; }
.rt-onb-terms .tingle-modal-box__footer { padding: 16px 32px; border-radius: 0 0 20px 20px; background: #F5F7FB; text-align: right; }
.rt-onb-terms .tingle-btn--primary { height: 46px; padding: 0 22px; border-radius: 999px; background: #2E7D32; font-weight: 700; }
.rt-onb-terms .tingle-btn--primary:hover { background: #246428; }

/* ---------- phones ---------- */
@media (max-width: 600px) {
  .rt-onb { --onb-pad: 16px; --onb-mark: 30px; }
  .rt-onb-bar__in { flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
  .rt-onb-dial { width: 44px; height: 44px; }
  .rt-onb-dial__ticks { display: none; }
  .rt-onb-dial__track, .rt-onb-dial__value { stroke-width: 9; }
  .rt-onb-dial__num { font-size: 27px; }
  .rt-onb-dial__unit { display: none; }
  .rt-onb-bar__title { font-size: 17px; }
  .rt-onb-bar__meta { margin-top: 0; font-size: 13px; }
  .rt-onb-bar__order { flex-basis: 100%; padding-left: 56px; text-align: left; }
  .rt-onb-bar__order strong { display: inline; font-size: 16px; }
  .rt-onb-main { padding-top: 20px; }
  .rt-onb-lead { margin-bottom: 20px; font-size: 15px; }
  .rt-onb-steps { gap: 12px; }
  .rt-onb-steps__item + .rt-onb-steps__item::after { top: -12px; height: 12px; }
  .rt-onb-step { border-radius: 16px; scroll-margin-top: calc(var(--onb-header-h) + 76px); }
  .rt-onb .rt-onb-step__head { gap: 12px; padding: 16px 4px 16px var(--onb-pad); border-radius: 16px; }
  .rt-onb-step__header { padding-right: 8px; }
  .rt-onb-step__mark { font-size: 14px; }
  .rt-onb-step__title { font-size: 18px; }
  .rt-onb-step__body { padding-left: var(--onb-pad); }
  .rt-onb-step.is-open .rt-onb-step__body { padding-bottom: 20px; }
  .rt-onb .rt-onb-btn { width: 100%; min-width: 0; }
  .rt-onb.is-gauge .rt-onb-dial__num { transform: none; }
  .rt-onb-dial__scale { display: none !important; }
  .rt-onb-speed { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .rt-onb-speed__btn { justify-self: stretch; }
  .rt-onb .rt-onb-period__opt { flex-direction: column; justify-content: center; gap: 1px; min-width: 0; height: 52px; padding: 0 6px; font-size: 14px; border-radius: 18px; }
  .rt-onb-period { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border-radius: 22px; }
  .rt-onb-period__chip { padding: 0 6px; font-size: 11px; }
  .rt-onb-plans { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rt-onb .rt-onb-plan { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 16px 14px; }
  .rt-onb-plan__name { font-size: 19px; }
  .rt-onb-plan__meta { font-size: 13px; }
  .rt-onb-plan__price { grid-column: 3; grid-row: 1; margin-top: 0; text-align: right; }
  .rt-onb-plan__amount { font-size: 20px; }
  .rt-onb-plan__unit { display: block; font-size: 12px; }
  .rt-onb-plan__billed { display: none; }
  .rt-onb-plan__billed-short { grid-column: 2 / -1; margin-top: 4px; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--onb-ink-3); font-variant-numeric: tabular-nums; }
  .rt-onb-plan__billed-short:not(:empty) { display: block; }
  .rt-onb-bar__order strong { margin-left: 2px; }
  .rt-onb.is-nodial .rt-onb-bar__order { padding-left: 0; }
  .rt-onb-price { padding: 20px 18px 18px; border-radius: 16px; }
  .rt-onb-price__total { font-size: 30px; }
  .rt-onb .rt-onb-coupon__ctl .rt-onb-btn { width: auto; }
  .rt-onb-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .rt-onb-due { padding: 18px 18px 16px; }
  .rt-onb-pay { justify-items: stretch; }
  .rt-onb .rt-onb-btn--pay { min-width: 0; }
  .rt-onb-terms .tingle-modal-box__content { padding: 20px; }
  .rt-onb-terms .tingle-modal-box__footer { padding: 12px 20px; }
}

/* ---------- thank-you page (/payment/card/return/, payment_return*.tpl) ----------
   One block for three states on data-ty-state: pending (arc turning while the webhook confirms),
   slow (still unconfirmed after the poll window), paid (ring closes to 100%, green = connected). */
.rt-onb.rt-ty { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); background: transparent; }
.rt-ty [hidden] { display: none !important; }
.rt-ty__in { max-width: 600px; margin: 0 auto; text-align: center; }
.rt-ty .rt-ty__dial { width: 112px; height: 112px; margin: 0 auto 24px; }
.rt-ty .rt-onb-dial__num { font-size: 21px; }
/* CSS transform replaces the attribute rotate(-90 44 44), so the spin keyframes and the static arc share one origin */
.rt-ty .rt-ty__arc { transform-box: view-box; transform-origin: 44px 44px; transform: rotate(-90deg); }
.rt-ty[data-ty-state="pending"] .rt-ty__arc,
.rt-ty[data-ty-state="slow"] .rt-ty__arc { stroke-dasharray: 22 78; }
.rt-ty[data-ty-state="pending"] .rt-ty__arc { animation: rt-ty-turn 1.2s linear infinite; }
.rt-ty[data-ty-state="slow"] .rt-ty__arc { stroke: #AEB7C5; }
.rt-ty[data-ty-state="paid"] .rt-ty__arc { stroke-dasharray: 100 100; animation: rt-ty-settle 0.9s var(--onb-ease) both; }
.rt-ty__num, .rt-ty__check { opacity: 0; transition: opacity 0.4s ease 0.3s; }
.rt-ty[data-ty-state="paid"] .rt-ty__num, .rt-ty[data-ty-state="paid"] .rt-ty__check { opacity: 1; }
.rt-ty__check { fill: none; stroke: var(--onb-action); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rt-ty-turn { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
@keyframes rt-ty-settle { from { stroke-dasharray: 88 100; } to { stroke-dasharray: 100 100; } }
/* revamp.css styles div#contentWrapper h1 site-wide: this title keeps the wizard's type */
div#contentWrapper .rt-ty .rt-ty__title {
  margin: 0 0 12px; padding: 0; border: 0;
  font-family: inherit; font-size: clamp(28px, 4.2vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em;
  color: var(--onb-ink); text-transform: none; text-align: center; text-wrap: balance;
}
.rt-ty__lead { max-width: 52ch; margin: 0 auto; font-size: 17px; line-height: 1.6; color: var(--onb-ink-2); text-wrap: pretty; }
.rt-ty__done { margin-top: 28px; }
.rt-ty .rt-ty__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; padding: 0; border: 1px solid var(--onb-line); border-radius: 12px; background: var(--onb-soft);
  text-align: left;
}
.rt-ty__facts > div { min-width: 0; padding: 14px 18px; }
.rt-ty__facts > div + div { border-left: 1px solid var(--onb-line); }
.rt-ty .rt-ty__facts dt { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--onb-ink-3); }
.rt-ty .rt-ty__facts dd {
  margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--onb-ink);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.rt-ty__note { max-width: 52ch; margin: 16px auto 0; font-size: 14px; line-height: 1.5; color: var(--onb-ink-3); }
.rt-ty__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 28px; }
.rt-ty .rt-onb-btn { text-decoration: none; }
.rt-ty .rt-onb-btn--outline { height: 54px; padding: 0 26px; }
.rt-ty .rt-ty-link { font-size: 15px; font-weight: 700; }
@media (max-width: 600px) {
  .rt-ty .rt-ty__dial { width: 96px; height: 96px; margin-bottom: 20px; }
  .rt-ty__lead { font-size: 16px; }
  .rt-ty .rt-ty__facts { grid-template-columns: minmax(0, 1fr); }
  .rt-ty__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; }
  .rt-ty__facts > div + div { border-left: 0; border-top: 1px solid var(--onb-line); }
  .rt-ty .rt-ty__facts dd { text-align: right; font-size: 16px; }
  .rt-ty__actions { flex-direction: column; align-items: stretch; }
  .rt-ty .rt-onb-btn { width: 100%; min-width: 0; white-space: normal; text-align: center; line-height: 1.25; }
  .rt-ty .rt-ty-link { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rt-ty .rt-ty__arc { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .rt-onb *, .rt-onb *::before, .rt-onb *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; }
  .rt-onb-btn__spin { animation: none; border-top-color: rgba(255, 255, 255, 0.35); border-right-color: #fff; }
}

/* phones: the four periods as a 2x2 grid, all fully visible (no sideways scroll, no wider card in EN) */
@media (max-width: 480px) {
  .rt-onb-period { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
  .rt-onb .rt-onb-period__opt { flex-direction: row; justify-content: center; gap: 6px; height: 42px; padding: 0 8px; border-radius: 14px; }
}
