:root {
  --ink: #101b2b;
  --muted: #596980;
  --line: #d9e1ea;
  --soft-line: #e7edf3;
  --page: #f6f9fc;
  --panel: #ffffff;
  --pale: #eef4f9;
  --navy: #183b6a;
  --blue: #4cb4e7;
  --green: #58b866;
  --footer: #101b2b;
  --shadow: 0 10px 24px rgba(36, 54, 79, 0.09);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.app-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(448px, calc(100% - 32px));
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 900;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(145deg, #17335e, #4faee0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-mark span {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.brand-mark span:nth-child(1) {
  top: 11px;
  left: 10px;
  width: 17px;
}

.brand-mark span:nth-child(2) {
  top: 17px;
  left: 14px;
  width: 15px;
}

.brand-mark span:nth-child(3) {
  top: 23px;
  left: 9px;
  width: 19px;
}

.brand-mark.mini {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e8edf4;
  box-shadow: none;
}

.brand-mark.mini span {
  background: var(--navy);
}

.menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-lines {
  display: grid;
  gap: 4px;
}

.menu-lines span {
  width: 17px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--ink);
}

.menu-close {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
  font-size: 1.4rem;
  line-height: 1;
}

.site-menu {
  display: none;
  width: min(448px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 22px;
  border-top: 1px solid var(--line);
}

.site-menu a {
  display: block;
  padding: 14px 36px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}

.site-menu a.active,
.site-menu a:hover {
  color: #ffffff;
  background: var(--navy);
}

.app-header.nav-open .site-menu {
  display: grid;
  gap: 8px;
}

.app-header.nav-open .menu-lines {
  display: none;
}

.app-header.nav-open .menu-close {
  display: inline-flex;
}

.narrow,
.home-shell {
  width: min(448px, calc(100% - 32px));
  margin: 0 auto;
}

.home-shell {
  padding: 0 0 40px;
}

.hero-card,
.cta-panel {
  color: #ffffff;
  background: linear-gradient(145deg, #17335e 0%, #224d7d 55%, #49a7d1 100%);
  box-shadow: 0 18px 38px rgba(27, 69, 107, 0.14);
}

.hero-card {
  margin-top: 0;
  padding: 32px 20px 40px;
  border-radius: 0 0 40px 40px;
}

.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  font-weight: 800;
}

.spark {
  color: #ffffff;
}

.hero-card h1 {
  margin: 0;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-card h1 span {
  display: inline-block;
  padding: 0 8px 3px;
  border-radius: 8px;
  background: var(--blue);
}

.hero-card p,
.cta-panel p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 600;
}

.primary-action {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 28px;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  background: var(--green);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(62, 151, 74, 0.18);
}

.primary-action.full {
  margin-top: 18px;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 600;
}

.zones-strip,
.stack-section,
.soft-panel,
.browse-section,
.form-page {
  padding-top: 32px;
}

.zones-strip h2,
.admin-kicker {
  margin: 0 0 12px;
  color: #62728a;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zone-pills a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #1e2a3a;
  background: #eff4f8;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

.stack-section h2,
.soft-panel h2,
.browse-section h2,
.plain-section h2,
.cta-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-lede {
  margin: 4px 0 24px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.step-stack,
.benefit-stack,
.content-stack,
.legal-stack {
  display: grid;
  gap: 12px;
}

.step-card,
.icon-card,
.directory-card,
.zone-card,
.text-card,
.form-block,
.summary-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.step-card,
.icon-card,
.directory-card,
.zone-card,
.form-block,
.summary-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.step-card {
  min-height: 92px;
  padding: 16px;
}

.step-card > span,
.form-block > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--navy);
  background: #e8edf4;
  font-size: 0.875rem;
  font-weight: 800;
}

.step-card h3,
.icon-card h3,
.directory-card h3,
.zone-card h2,
.text-card h2,
.text-card h3,
.summary-card h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.step-card p,
.icon-card p,
.directory-card p,
.zone-card p,
.text-card p,
.summary-card p,
.text-card li {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.soft-panel {
  margin: 32px 2px 0;
  padding: 32px 14px;
  border-radius: 24px;
  background: #f0f5f9;
}

.soft-panel h2 {
  margin: 0 0 24px 10px;
}

.icon-card {
  min-height: 86px;
  padding: 16px;
}

.icon-card > span,
.pin {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: #e5f6ff;
  font-size: 1rem;
  font-weight: 900;
}

.browse-section h2 {
  margin-bottom: 16px;
}

.directory-card {
  grid-template-columns: auto 1fr auto;
  min-height: 76px;
  padding: 16px;
}

.directory-card strong,
.zone-card strong {
  color: var(--muted);
  font-size: 1.65rem;
  line-height: 1;
}

.cta-panel {
  margin: 32px 20px 0;
  padding: 24px;
  border-radius: 24px;
  text-align: center;
}

.cta-panel h2 {
  color: #ffffff;
}

.cta-panel .primary-action {
  min-height: 52px;
  margin-top: 20px;
  border-radius: 16px;
}

.page-hero {
  margin-bottom: 28px;
  padding: 40px 0;
  background: #e9eef4;
}

.blue-hero {
  color: #ffffff;
  background: linear-gradient(145deg, #17335e, #48a8d1);
  border-radius: 0 0 32px 32px;
}

.compact-hero {
  padding: 32px 0;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: 2.2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 570px;
  margin: 0;
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.legal-hero {
  padding: 40px 0 30px;
}

.legal-hero p + p {
  margin-top: 6px;
}

.zones-list {
  padding-bottom: 44px;
}

.zone-card {
  grid-template-columns: auto 1fr auto;
  min-height: 132px;
  padding: 20px;
}

.zone-card small {
  display: inline-flex;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.plain-section {
  padding-top: 28px;
}

.plain-section h2 {
  margin-bottom: 18px;
}

.text-card {
  padding: 24px;
}

.text-card + .text-card {
  margin-top: 14px;
}

.text-card p + p,
.text-card ul {
  margin-top: 16px;
}

.text-card ul {
  padding-left: 22px;
}

.accent-card {
  border-left: 5px solid var(--blue);
}

.legal-stack {
  padding-bottom: 56px;
}

.payment-form {
  display: grid;
  gap: 12px;
  padding-bottom: 48px;
}

.form-block {
  padding: 16px;
}

.form-block label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.form-block input,
.form-block select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
  font-weight: 700;
}

.form-error {
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 800;
}

.summary-card {
  grid-template-columns: 1fr auto;
  padding: 18px;
}

.summary-card strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.confirmation-page {
  padding: 44px 0 56px;
}

.highlight-card h1 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.order-summary {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--soft-line);
  padding-bottom: 12px;
}

.order-summary dt {
  color: var(--muted);
  font-weight: 500;
}

.order-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.app-footer {
  padding: 24px 16px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--footer);
  text-align: center;
}

.app-footer p {
  margin: 8px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-links {
  display: inline-flex;
  gap: 18px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 70px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.admin-sidebar-brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.admin-main {
  min-width: 0;
}

.admin-page-head {
  margin-bottom: 20px;
}

.admin-page-head h1 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: #ffffff;
  background: var(--navy);
}

.admin-user {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--soft-line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-user span {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user button {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-weight: 500;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stat-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.admin-stat-card strong {
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  color: var(--navy);
  background: #ffffff;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.secondary-action.subtle {
  min-height: 40px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  box-shadow: none;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #31445f;
  background: #f4f8fb;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--muted);
  font-weight: 400;
}

.admin-table a {
  color: var(--navy);
  font-weight: 500;
}

.table-action {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 500 !important;
}

.admin-detail-actions {
  margin-bottom: 14px;
}

.admin-detail-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.admin-detail-list div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  padding: 14px;
  background: #fbfdff;
}

.admin-detail-list .full {
  grid-column: 1 / -1;
}

.admin-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.admin-detail-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.admin-detail-list a {
  color: var(--navy);
  font-weight: 500;
}

.admin-panel,
.admin-auth-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-panel h2,
.admin-auth-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.admin-panel p,
.admin-auth-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 400;
}

.admin-auth-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.admin-auth-card {
  width: min(420px, 100%);
}

.admin-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.admin-form-narrow {
  max-width: 460px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
  font-weight: 400;
}

.admin-check {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
}

.admin-check input {
  width: 16px;
  min-height: 16px;
}

.admin-primary {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--navy);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(24, 59, 106, 0.18);
}

.admin-alert {
  margin-top: 18px;
  border: 1px solid #bde6ca;
  border-radius: 12px;
  padding: 12px 14px;
  color: #17663a;
  background: #effaf3;
  font-size: 0.9rem;
  font-weight: 500;
}

.pagination-wrap {
  margin-top: 22px;
}

.check-body main {
  min-height: calc(100vh - 56px);
}

.check-loader {
  min-height: calc(100vh - 56px);
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 32px 16px;
  text-align: center;
}

.loader-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 4px solid transparent;
  border-top-color: var(--navy);
  border-radius: 999px;
  animation: spin 900ms linear infinite;
}

.check-loader h1 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.check-loader p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.check-flow {
  width: min(28rem, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.flow-progress {
  margin-bottom: 28px;
  text-align: center;
}

.flow-progress p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.flow-progress ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.flow-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(50% + 27px);
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #e5ebf1;
}

.flow-progress li span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: #e9eef4;
  font-size: 1.1rem;
  font-weight: 800;
}

.flow-progress li strong {
  font-size: 0.78rem;
}

.flow-progress li.active {
  color: var(--navy);
}

.flow-progress li.active span,
.flow-progress li.complete span {
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(24, 59, 106, 0.2);
}

.flow-progress li.complete::after {
  background: var(--navy);
}

.check-card {
  width: 100%;
  min-height: 292px;
  display: grid;
  align-content: start;
  padding: 30px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.flow-step {
  display: none;
  text-align: center;
}

.flow-step.active {
  display: grid;
  gap: 12px;
}

.flow-step h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.2;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.flow-step label {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.flow-step input,
.flow-step select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbfdff;
  font-weight: 500;
}

.plate-input {
  justify-self: center;
}

.plate-input input {
  width: min(310px, 100%);
  min-height: 66px;
  border: 5px solid #050505;
  border-radius: 15px;
  color: #4a4327;
  background: #f8d64d;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}

.choice-card,
.terms-check {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.flow-step label.choice-card,
.flow-step label.terms-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.choice-card {
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 400;
}

.choice-card input,
.terms-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span,
.terms-check span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid var(--navy);
  border-radius: 999px;
}

.choice-card input:checked + span,
.terms-check input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
}

.choice-card input:checked + span::after,
.terms-check input:checked + span::after {
  content: "✓";
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.choice-card:has(input:checked),
.terms-check:has(input:checked) {
  border-color: #b9c7d8;
  background: #fbfdff;
}

.dates-list {
  padding-right: 2px;
}

.dates-list .choice-card {
  font-weight: 400;
}

.field-label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--ink);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
}

.total-card {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  border: 1px solid #d4dee9;
  border-radius: 14px;
  padding: 18px;
  color: var(--muted);
  background: #eaf0f6;
  text-align: left;
}

.total-card strong {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.1;
}

.total-card small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.terms-check {
  margin-top: 16px;
  font-size: 0.86rem;
  white-space: normal;
}

.terms-check a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.flow-errors {
  margin-top: 10px;
}

.flow-errors p {
  margin: 0 0 6px;
  color: #b42318;
  font-size: 0.85rem;
  font-weight: 700;
}

.flow-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.flow-next,
.flow-back {
  min-width: 108px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
}

.flow-next {
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(24, 59, 106, 0.18);
}

.flow-next:hover {
  background: #102f5d;
}

.flow-next:disabled {
  cursor: wait;
  opacity: 0.72;
}

.flow-back {
  color: var(--muted);
  border: 1px solid var(--line);
  background: #ffffff;
}

.vehicle-checking {
  min-height: 232px;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.vehicle-checking:not([hidden]) {
  display: grid;
}

.mini-loader {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 3px solid #e4ebf3;
  border-top-color: var(--navy);
  border-radius: 999px;
  animation: spin 800ms linear infinite;
}

.vehicle-checking h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.vehicle-checking p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-detail-list {
    grid-template-columns: 1fr;
  }

  .admin-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .admin-user button {
    width: auto;
  }

  .header-inner,
  .site-menu,
  .narrow,
  .home-shell {
    width: min(100% - 24px, 28rem);
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-card {
    padding: 32px 18px 34px;
    border-radius: 0 0 36px 36px;
  }

  .hero-card h1 {
    font-size: 2.45rem;
  }

  .primary-action {
    min-height: 56px;
  }

  .step-card,
  .icon-card,
  .zone-card,
  .form-block {
    gap: 16px;
    padding: 18px;
  }

  .zone-card {
    grid-template-columns: 1fr auto;
  }

  .zone-card .pin {
    display: none;
  }

  .text-card {
    padding: 24px 22px;
  }

  .check-flow {
    width: min(100% - 24px, 28rem);
    padding-top: 28px;
  }

  .flow-progress ol {
    gap: 8px;
  }

  .flow-progress li span {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .flow-progress li:not(:last-child)::after {
    top: 23px;
    left: calc(50% + 28px);
    width: 20px;
  }

  .flow-progress li strong {
    font-size: 0.74rem;
  }

  .check-card {
    padding: 26px 18px 20px;
  }

  .plate-input input {
    min-height: 64px;
  }

  .choice-card,
  .terms-check {
    gap: 10px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .choice-card span,
  .terms-check span {
    width: 17px;
    height: 17px;
  }
}
