/* The self-serve signup palette, sampled from the DRIVE Team Library onboarding frames
   (Figma 5gicDlouOyEB3YmGUP4hFc, node 287-2704). Add a colour here only from that file. */
:root {
  --ob-page: #060c24;
  --ob-bg: #00001c;
  --ob-rail-top: #031534;
  --ob-rail-bottom: #00041d;
  --ob-rink: #55617e;
  --ob-heading: #73ceea;
  --ob-brand: #ade6f5;
  --ob-cyan: #00ccff;
  --ob-link: #00d0ff;
  --ob-track: #002b4f;
  --ob-input: #005175;
  --ob-placeholder: #6a757e;
  --ob-muted: #888ea8;
  --ob-chip-border: #3c3e52;
  --ob-chip-on: #072b44;
  --ob-primary: #00456f;
  --ob-outline: #002649;
  --ob-tile: #00294e;
  --ob-tile-sub: #a2daeb;
  --ob-rail-title: #e0e6ed;
  --ob-error: #e95b65;
  --ob-autofill: #fbffc4;
  --ob-autofill-border: #c5cda1;
  --ob-autofill-text: #000000;
  --ob-autofill-focus: #0033d8;
  --ob-text: #fff;
  --ob-surface: var(--ob-tile);
  --ob-border: var(--ob-input);
  --ob-text-soft: var(--ob-tile-sub);
  --ob-cta: var(--ob-cyan);
  --ob-font: "Quicksand", "Segoe UI", Roboto, sans-serif;
  --ob-font-body: "Roboto", "Segoe UI", sans-serif;
  --ob-tap: 48px;
  --ob-gap: 16px;
  --ob-radius: 12px;
  --ob-field-radius: 4px;
}

[v-cloak] { display: none; }
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ob-bg);
  color: var(--ob-text);
  font-family: var(--ob-font);
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--ob-cta); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, .ob-tile:focus-visible {
  outline: 3px solid var(--ob-cyan);
  outline-offset: 2px;
}
.ob-choice:has(input:focus-visible) { outline: 3px solid var(--ob-cyan); outline-offset: 2px; }
@supports not selector(:has(*)) { .ob-choice:focus-within { outline: 3px solid var(--ob-cyan); outline-offset: 2px; } }
.ob-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ob-page { padding: var(--ob-gap); min-height: 100vh; min-height: 100dvh; }
.ob-brand { display: block; margin: 8px auto 20px; max-width: 200px; width: 60%; height: auto; }
.ob-shell { width: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--ob-gap); }
h1, h2 { margin: 0 0 12px; font-weight: 400; line-height: 1.2; color: var(--ob-heading); text-wrap: balance; }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h1:focus, h2:focus { outline: none; }
p { margin: 0 0 12px; }
.ob-soft { margin-bottom: 20px; font-family: var(--ob-font-body); font-size: 13px; line-height: 1.5; color: var(--ob-muted); }
.ob-small, .ob-hint { font-size: 14px; color: var(--ob-muted); }
.ob-hint { margin-top: 6px; font-size: 13px; }
.ob-note { font-size: 13px; color: var(--ob-muted); }

.ob-card, .ob-skater { padding: 20px var(--ob-gap); border-radius: var(--ob-radius); background: var(--ob-surface); }
.ob-card h2, .ob-skater h2 { font-weight: 600; color: var(--ob-text); }
.ob-card .ob-small, .ob-skater .ob-small { color: var(--ob-text-soft); }
.ob-skater h2 { margin-bottom: 4px; }
.ob-skater dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0 12px; }
.ob-skater dt { color: var(--ob-text-soft); }
.ob-skater dd { margin: 0; }
.ob-status { display: inline-block; padding: 2px 10px; border: 1px solid var(--ob-border); border-radius: 999px; font-size: 14px; color: var(--ob-text-soft); }
.ob-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ob-header h1 { margin: 0; }
details summary { min-height: var(--ob-tap); display: flex; align-items: center; cursor: pointer; color: var(--ob-cta); }

.ob-flow { padding: 0; }
.ob-frame { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.ob-main { display: flex; flex: 1 1 auto; }
.ob-sheet { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; margin: 0 auto; padding: 20px 20px 24px; background: var(--ob-bg); }
.ob-progress { height: 3px; margin-bottom: 14px; overflow: hidden; border-radius: 2px; background: var(--ob-track); }
.ob-progress-fill { width: 0; height: 100%; border-radius: 2px; background: var(--ob-cyan); transition: width 200ms ease-out; }
.ob-progress[aria-valuemax="4"][aria-valuenow="1"] .ob-progress-fill { width: 25%; }
.ob-progress[aria-valuemax="4"][aria-valuenow="2"] .ob-progress-fill { width: 50%; }
.ob-progress[aria-valuemax="4"][aria-valuenow="3"] .ob-progress-fill { width: 75%; }
.ob-progress[aria-valuemax="4"][aria-valuenow="4"] .ob-progress-fill { width: 100%; }
.ob-progress[aria-valuemax="5"][aria-valuenow="1"] .ob-progress-fill { width: 20%; }
.ob-progress[aria-valuemax="5"][aria-valuenow="2"] .ob-progress-fill { width: 40%; }
.ob-progress[aria-valuemax="5"][aria-valuenow="3"] .ob-progress-fill { width: 60%; }
.ob-progress[aria-valuemax="5"][aria-valuenow="4"] .ob-progress-fill { width: 80%; }
.ob-progress[aria-valuemax="5"][aria-valuenow="5"] .ob-progress-fill { width: 100%; }
.ob-progress[aria-valuemax="6"][aria-valuenow="1"] .ob-progress-fill { width: 16.667%; }
.ob-progress[aria-valuemax="6"][aria-valuenow="2"] .ob-progress-fill { width: 33.333%; }
.ob-progress[aria-valuemax="6"][aria-valuenow="3"] .ob-progress-fill { width: 50%; }
.ob-progress[aria-valuemax="6"][aria-valuenow="4"] .ob-progress-fill { width: 66.667%; }
.ob-progress[aria-valuemax="6"][aria-valuenow="5"] .ob-progress-fill { width: 83.333%; }
.ob-progress[aria-valuemax="6"][aria-valuenow="6"] .ob-progress-fill { width: 100%; }
.ob-wordmark { display: block; width: 104px; height: auto; margin: 4px 0 28px; }
.ob-sheet.is-first .ob-wordmark { width: 56%; max-width: 200px; margin: 32px auto 36px; }
.ob-sheet.is-first h1 { text-align: center; }
.ob-panel { display: flex; flex-direction: column; flex: 1 1 auto; animation: ob-in 180ms ease-out; }
.ob-panel > .ajax-form, .ob-panel > .ob-form { display: flex; flex-direction: column; flex: 1 1 auto; }
.ob-sheet.is-first { justify-content: center; }
.ob-sheet.is-first .ob-panel { flex: 0 0 auto; }
.ob-sheet.is-first > :first-child { margin-top: 0; }
.ob-sheet.is-first > :last-child { margin-bottom: 0; }
@keyframes ob-in { from { transform: translateY(6px); } to { transform: none; } }

.ob-field { margin-bottom: 14px; }
.ob-field > label { display: block; margin-bottom: 6px; font-weight: 600; }
.ob-control { position: relative; }
.ob-input {
  display: block;
  width: 100%;
  min-height: var(--ob-tap);
  padding: 10px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ob-text);
  background: var(--ob-input);
  border: 1px solid var(--ob-input);
  border-radius: var(--ob-field-radius);
}
.ob-input::placeholder { color: var(--ob-placeholder); opacity: 1; }
.ob-input[aria-invalid="true"] { border-color: var(--ob-error); color: var(--ob-error); }
.ob-input.is-valid { color: var(--ob-cyan); }
/* Figma Library Components, Input / Textbox (new design): 44px field, 10px label stacked on a 16px value. */
.ob-control .ob-input:has(+ .ob-float) {
  height: 44px;
  min-height: 44px;
  padding: 16px 14px 6px;
  font-weight: 600;
  line-height: 20px;
  color: var(--ob-cyan);
  border-radius: 6px;
}
.ob-control.has-lead .ob-input:has(+ .ob-float) { padding-left: 46px; }
.ob-control.has-trail .ob-input:has(+ .ob-float) { padding-right: 46px; }
.ob-control.has-trail-2 .ob-input:has(+ .ob-float) { padding-right: 80px; }
.ob-float {
  position: absolute;
  top: 50%;
  left: 15px;
  right: 15px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--ob-placeholder);
  transform: translateY(-50%);
  pointer-events: none;
  transition: top 160ms ease-out, font-size 160ms ease-out, transform 160ms ease-out, color 160ms ease-out;
}
.ob-control.has-lead .ob-float { left: 47px; }
.ob-input:focus + .ob-float, .ob-input:not(:placeholder-shown) + .ob-float {
  top: 4px;
  font-size: 10px;
  color: var(--ob-muted);
  transform: none;
}
.ob-input:-webkit-autofill + .ob-float { top: 4px; font-size: 10px; color: var(--ob-muted); transform: none; }
.ob-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--ob-autofill) inset; -webkit-text-fill-color: var(--ob-autofill-text); caret-color: var(--ob-autofill-text); border-color: var(--ob-autofill-border); }
.ob-input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ob-autofill-focus); caret-color: var(--ob-autofill-focus); }
.ob-input[aria-invalid="true"]:-webkit-autofill { border-color: var(--ob-error); -webkit-text-fill-color: var(--ob-error); }
.ob-control .ob-input[aria-invalid="true"]:has(+ .ob-float) { color: var(--ob-error); }
.ob-input[aria-invalid="true"] + .ob-float { color: var(--ob-error); }
.ob-input:disabled + .ob-float { color: var(--ob-muted); }
.ob-control.has-lead .ob-input { padding-left: 46px; }
.ob-control.has-trail .ob-input { padding-right: 46px; }
.ob-control.has-trail-2 .ob-input { padding-right: 80px; }
.ob-lead, .ob-trail { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; gap: 12px; color: var(--ob-muted); pointer-events: none; }
.ob-lead { left: 14px; }
.ob-trail { right: 14px; }
.ob-icon { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ob-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0 -8px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; pointer-events: auto; }
.ob-err-icon { color: var(--ob-error); }
.ob-field-error { margin-top: 4px; font-size: 13px; color: var(--ob-error); }
.ob-alert { margin-bottom: 16px; padding: 10px 12px; border: 1px solid var(--ob-error); border-radius: var(--ob-field-radius); }
.ob-alert:empty { display: none; }

/* Hide identity (Figma 1646:17311): label left, switch right, the line, then the Alias field. */
.ob-alias { margin-top: 4px; }
.ob-switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--ob-tap); cursor: pointer; }
.ob-switch-text { font-size: 16px; font-weight: 500; color: var(--ob-text); }
.ob-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.ob-switch-track { position: relative; flex: none; width: 52px; height: 32px; border: 2px solid var(--ob-placeholder); border-radius: 16px; background: var(--ob-rail-title); }
.ob-switch-track::after { content: ""; position: absolute; top: 6px; left: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ob-placeholder); transition: left 150ms ease-out, top 150ms ease-out, width 150ms ease-out, height 150ms ease-out; }
.ob-switch input:checked + .ob-switch-track { border-color: var(--ob-link); background: var(--ob-link); }
.ob-switch input:checked + .ob-switch-track::after { top: 2px; left: 22px; width: 24px; height: 24px; background: var(--ob-text); }
.ob-switch input:focus-visible + .ob-switch-track { outline: 3px solid var(--ob-cyan); outline-offset: 2px; }
.ob-alias-line { margin: 0 0 10px; font-family: var(--ob-font-body); font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ob-muted); }

.ob-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--ob-tap);
  padding: 10px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ob-text);
  background: var(--ob-primary);
  border: 1px solid var(--ob-primary);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.ob-btn[disabled], .ob-btn[aria-disabled="true"] { opacity: 0.6; cursor: default; pointer-events: none; }
.ob-tile[disabled] { opacity: 0.6; cursor: default; }
.ob-btn.is-busy, .ob-tile.is-busy { opacity: 1; }
.ob-btn.is-busy::after, .ob-tile.is-busy::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ob-spin 700ms linear infinite;
}
@keyframes ob-spin { to { transform: rotate(360deg); } }
.ob-btn-secondary { background: transparent; border-color: var(--ob-outline); }
.ob-card .ob-btn-secondary, .ob-skater .ob-btn-secondary { border-color: var(--ob-border); }
.ob-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.ob-panel .ob-actions { margin-top: auto; padding-top: 24px; }
.ob-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ob-pair > :only-child { grid-column: 1 / -1; }
.ob-actions-row { flex-direction: row; flex-wrap: wrap; }
.ob-actions-row > .ob-btn { flex: 1 1 0; min-width: 0; }
.ob-actions-row > .ob-btn:not(.ob-btn-secondary) { order: -1; flex-basis: 100%; }
.ob-row { display: flex; gap: 12px; }
.ob-row > * { flex: 1 1 0; min-width: 0; }
.ob-fine { margin-top: 18px; font-size: 14px; text-align: center; color: var(--ob-muted); }
.ob-fine p { margin: 0 0 6px; }
.ob-fine #login_lnk { color: var(--ob-link); text-decoration: underline; }
.ob-fine #terms_lnk, .ob-fine #privacy_lnk { color: var(--ob-rail-title); text-decoration: underline; }

.ob-tiles { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 20px; padding: 0; border: 0; }
.ob-flow .ob-tiles { flex-direction: row; flex-wrap: wrap; }
.ob-flow .ob-tiles > .ob-tile { flex: 1 1 240px; }
button.ob-tile { width: 100%; font: inherit; color: inherit; text-align: left; }
.ob-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 18px 20px;
  background: var(--ob-tile);
  border: 1px solid var(--ob-tile);
  border-radius: var(--ob-radius);
  cursor: pointer;
}
.ob-tile input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ob-tile .ob-icon { flex-basis: 30px; width: 30px; height: 30px; color: var(--ob-heading); stroke-width: 1.4; }
.ob-tile.is-picked { border-color: var(--ob-cyan); box-shadow: inset 0 0 0 1px var(--ob-cyan); }
.ob-tile-title { display: block; font-size: 17px; font-weight: 600; }
.ob-tile-sub { display: block; font-size: 14px; color: var(--ob-tile-sub); }

.ob-choices { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.ob-legend { display: block; width: 100%; margin-bottom: 10px; padding: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ob-muted); }
.ob-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  padding: 8px 22px;
  font-size: 15px;
  color: var(--ob-muted);
  background: transparent;
  border: 1px solid var(--ob-chip-border);
  border-radius: 999px;
  cursor: pointer;
}
.ob-choice input { width: 18px; height: 18px; margin: 0 8px 0 0; accent-color: var(--ob-cyan); }
.ob-flow .ob-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.ob-choice.is-on, .ob-choice:has(input:checked) { font-weight: 600; color: var(--ob-cyan); background: var(--ob-chip-on); border-color: var(--ob-cyan); box-shadow: inset 0 0 0 1px var(--ob-cyan); }

.ob-rail { display: flex; flex-direction: column; width: 100%; margin: 0 auto; padding: 0 20px 28px; background: var(--ob-bg); }
.ob-desk-only { display: none; }
.ob-mobile-only { display: block; }
.ob-rink { display: block; width: 100%; max-width: 292px; height: auto; }
.ob-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ob-cyan); }
.ob-rail-title { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--ob-rail-title); }
.ob-rail-text { margin: 0 0 20px; font-family: var(--ob-font-body); font-size: 13px; color: var(--ob-muted); }
.ob-copy { margin: 16px 0 0; font-size: 11px; color: var(--ob-muted); }
.flatpickr-calendar { font-size: 16px; }
.ob-done { display: flex; flex: 1 1 auto; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ob-done .ob-actions { width: 100%; margin-top: 8px; }
.ob-done-icon { width: 56px; height: 56px; margin-bottom: 16px; fill: none; stroke: var(--ob-brand); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 992px) {
  .ob-done .ob-soft { max-width: 380px; }
  .ob-done .ob-actions { max-width: 340px; }
  .ob-flow { background: var(--ob-page); }
  .ob-frame { flex-direction: row; }
  .ob-rail {
    order: -1;
    flex: 0 0 300px;
    justify-content: space-between;
    max-width: none;
    margin: 0;
    padding: 28px 28px 24px;
    background: linear-gradient(180deg, var(--ob-rail-top), var(--ob-rail-bottom));
  }
  .ob-desk-only { display: block; }
  .ob-rail.ob-desk-only { display: flex; }
  .ob-mobile-only { display: none; }
  .ob-main { padding: 24px; }
  .ob-sheet { max-width: none; padding: 32px 48px 40px; border-radius: var(--ob-radius); }
  .ob-sheet.is-first .ob-wordmark { width: 220px; }
  .ob-panel .ob-field, .ob-panel .ob-tiles, .ob-panel .ob-choices, .ob-panel .ob-soft, .ob-panel .ob-fine { max-width: 440px; }
  .ob-panel .ob-alias { max-width: 440px; }
  .ob-sheet.is-first .ob-panel { align-items: center; }
  .ob-sheet.is-first .ob-panel .ajax-form, .ob-sheet.is-first .ob-panel .ob-form { width: 100%; max-width: 440px; }
  .ob-flow .ob-panel .ob-tiles { max-width: 720px; }
  .ob-panel .ob-actions { flex-direction: row-reverse; justify-content: space-between; align-items: flex-end; }
  .ob-panel .ob-actions-row { flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; align-items: center; }
  .ob-actions-row > .ob-btn, .ob-actions-row > .ob-btn:not(.ob-btn-secondary) { order: 0; flex: 0 0 auto; width: auto; min-width: 180px; }
  .ob-actions-row > #back_btn { margin-right: auto; }
  .ob-panel .ob-actions > .ob-btn, .ob-pair > .ob-btn { width: auto; min-width: 200px; }
  .ob-pair { display: flex; }
  .ob-sheet.is-first .ob-panel .ob-actions { flex-direction: column; align-items: stretch; }
  .ob-sheet.is-first .ob-panel .ob-actions > .ob-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ob-panel { animation: none; }
  .ob-float { transition: none; }
  .ob-btn.is-busy::after, .ob-tile.is-busy::after { animation: none; border-right-color: currentColor; opacity: 0.6; }
  .ob-progress-fill { transition: none; }
  .ob-switch-track::after { transition: none; }
}
