@import url("../vendor/fontawesome/css/all.min.css");

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../vendor/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"), url("../vendor/fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../vendor/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"), url("../vendor/fontawesome/webfonts/fa-brands-400.ttf") format("truetype");
}

.fa-solid { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.fa-brands { font-family: "Font Awesome 6 Brands"; font-weight: 400; }
.fa-cubes::before { content: "\f1b3"; }
.fa-gears::before { content: "\f085"; }
.fa-couch::before { content: "\f4b8"; }
.fa-box-open::before { content: "\f49e"; }
.fa-car-side::before { content: "\f5e4"; }
.fa-store::before { content: "\f54e"; }
.fa-facebook-f::before { content: "\f39e"; }
.fa-house-user::before { content: "\e1b0"; }
.fa-ellipsis::before { content: "\f141"; }
.fa-truck::before { content: "\f0d1"; }
.fa-tractor::before { content: "\f722"; }
.fa-motorcycle::before { content: "\f21c"; }
.fa-truck-pickup::before { content: "\f63c"; }
.fa-trailer::before { content: "\e041"; }
.fa-van-shuttle::before { content: "\f5b6"; }
.fa-bus::before { content: "\f207"; }
.fa-caravan::before { content: "\f8ff"; }
.fa-truck-moving::before { content: "\f4df"; }
.fa-person-digging::before { content: "\f85e"; }
.fa-truck-ramp-box::before { content: "\f4de"; }

:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5e6a76;
  --line: #d8dee5;
  --panel: #ffffff;
  --soft: #f4f7fa;
  --brand: #0f766e;
  --brand-dark: #0b4f4b;
  --accent: #b45309;
  --danger: #a61b1b;
  --shadow: 0 14px 38px rgba(23, 32, 42, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #eef3f6;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: white;
  background: var(--brand);
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2f3a44;
  font-size: 0.94rem;
}

.nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  color: var(--ink);
  background: white;
}

.btn svg, .icon { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-muted { background: var(--soft); }

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.page-head {
  min-height: 180px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 36px 0 28px;
}

.kicker {
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 0; font-size: clamp(2.1rem, 5vw, 4.5rem); line-height: 1; }
h2 { margin-bottom: 14px; font-size: clamp(1.45rem, 2.5vw, 2.35rem); line-height: 1.08; }
h3 { margin-bottom: 7px; font-size: 1.05rem; }
p { color: var(--muted); }

.toolbar {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, 0.45fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.field { display: grid; gap: 7px; }
label { color: #2f3a44; font-size: 0.82rem; font-weight: 800; }
label em { color: var(--danger); font-style: normal; }

input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd4dd;
  border-radius: var(--radius);
  padding: 10px 12px;
  background: white;
  color: var(--ink);
}

textarea { min-height: 106px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(15, 118, 110, 0.18); border-color: var(--brand); }

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-pad { padding: 20px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.job-list { display: grid; gap: 14px; }

.job-row {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.job-row img {
  width: 156px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: #d8dee5;
}

.route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #2f3a44;
  font-size: 0.93rem;
}

.route span, .metric, .status, .quote-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #e6f4f1;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.pill.warn { background: #fff3d8; color: var(--accent); }
.pill.danger { background: #fde9e9; color: var(--danger); }

.summary {
  display: grid;
  gap: 14px;
}

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

.summary-item:last-child { border-bottom: 0; padding-bottom: 0; }
.summary-item span { color: var(--muted); }
.summary-item strong { text-align: right; }

.photo-hero {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

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

.step {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.step strong { display: block; }
.step span { color: var(--muted); font-size: 0.86rem; }

.quote-card, .stat-card, .company-card {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
}

.stat-card span, .quote-card p, .company-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.table th {
  background: var(--soft);
  color: #2f3a44;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.table tr:last-child td { border-bottom: 0; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.full { grid-column: 1 / -1; }

.footer {
  background: #111820;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 0.92rem;
}

.footer strong { color: white; }

.admin-body {
  background: #edf1f5;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 20px 16px;
  background: #111820;
  color: white;
}

.admin-brand {
  padding: 4px 6px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.admin-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.admin-nav-label {
  margin: 28px 10px 8px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-count {
  min-width: 20px;
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 0.72rem;
  text-align: center;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.11);
}

.admin-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.admin-account {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-account strong,
.admin-account span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-account span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
}

.admin-main {
  min-width: 0;
  padding: 22px;
}

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

.admin-utilitybar {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.admin-page-heading { margin-bottom: 18px; }
.admin-page-heading h1 { max-width: none; margin: 5px 0 0; font-size: clamp(1.75rem, 3vw, 2.6rem); }

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-topbar h1 {
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.admin-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.theme-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.theme-toggle:hover { background: var(--soft); }
.theme-toggle svg { width: 17px; height: 17px; color: var(--brand-dark); }

.user-menu { position: relative; }

.user-menu summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 2px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  list-style: none;
}

.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover, .user-menu[open] summary { border-color: var(--line); background: white; }
.user-menu .avatar { width: 32px; height: 32px; font-size: 0.75rem; }
.user-menu-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.88rem; font-weight: 800; }
.user-menu-chevron { width: 16px; height: 16px; color: var(--muted); transition: transform 150ms ease; }
.user-menu[open] .user-menu-chevron { transform: rotate(180deg); }

.user-menu-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.user-menu-identity { display: grid; gap: 3px; padding: 9px 10px 12px; border-bottom: 1px solid var(--line); }
.user-menu-identity span { overflow: hidden; color: var(--muted); font-size: 0.8rem; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-popover a, .user-menu-popover button { width: 100%; min-height: 38px; display: flex; align-items: center; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; font-size: 0.88rem; font-weight: 700; text-align: left; }
.user-menu-popover a:hover, .user-menu-popover button:hover { background: var(--soft); }
.user-menu-popover form { margin: 0; border-top: 1px solid var(--line); padding-top: 6px; }
.user-menu-popover button { color: var(--danger); }

.admin-body.dashboard-dark {
  --ink: #edf0f7;
  --muted: #aab3c3;
  --line: #30394a;
  --soft: #252c39;
  --panel: #181d27;
  --brand: #5b7cfa;
  --brand-dark: #92a7ff;
  background: #11151d;
  color: var(--ink);
}

.admin-body.dashboard-dark .admin-utilitybar,
.admin-body.dashboard-dark .admin-stat,
.admin-body.dashboard-dark .admin-panel,
.admin-body.dashboard-dark .search-box,
.admin-body.dashboard-dark .user-menu summary:hover,
.admin-body.dashboard-dark .user-menu[open] summary,
.admin-body.dashboard-dark .user-menu-popover,
.admin-body.dashboard-dark .theme-toggle,
.admin-body.dashboard-dark .icon-btn {
  background: #181d27;
  color: var(--ink);
}

.admin-body.dashboard-dark .search-box input { background: transparent; color: var(--ink); }
.admin-body.dashboard-dark .theme-toggle:hover,
.admin-body.dashboard-dark .user-menu-popover a:hover,
.admin-body.dashboard-dark .user-menu-popover button:hover { background: #252d3a; }
.admin-body.dashboard-dark .admin-table th { background: #212734; color: #c5cddd; }
.admin-body.dashboard-dark .dashboard-chart-placeholder { border-color: #3d485d; background: linear-gradient(135deg, #1a202c, #202838); }
.admin-body.dashboard-dark .task-list label { background: #1c222e; }
.admin-body.dashboard-dark .pill { background: #263d73; color: #c9d5ff; }
.admin-body.dashboard-dark .source-options label, .admin-body.dashboard-dark .condition-options label { background: #1c222e; }
.admin-body.dashboard-dark .photo-upload { border-color: #46536a; background: #1b222e; }

.search-box {
  width: min(360px, 34vw);
  min-height: 42px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.search-box input {
  min-height: 40px;
  border: 0;
  padding: 0;
}

.search-box input:focus {
  outline: 0;
}

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

.admin-stat,
.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.07);
}

.admin-stat {
  min-height: 118px;
  padding: 16px;
  display: grid;
  gap: 7px;
}

.admin-stat span,
.admin-stat small {
  color: var(--muted);
}

.admin-stat strong {
  font-size: 2rem;
  line-height: 1;
}

.admin-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.admin-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-panel {
  padding: 16px;
  min-width: 0;
}

.admin-panel h2 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.admin-panel p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.dashboard-verification {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-verification strong { display: block; margin-bottom: 4px; }
.dashboard-verification p { margin: 0; }
.dashboard-verification form, .settings-security form { margin: 0; }

.dashboard-chart-placeholder {
  min-height: 170px;
  display: grid;
  place-content: center;
  gap: 5px;
  text-align: center;
  border: 1px dashed #b9c6d0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7fbfb, #eef6f5);
}

.dashboard-chart-placeholder span { color: var(--brand-dark); font-size: 0.76rem; font-weight: 900; text-transform: uppercase; }
.dashboard-chart-placeholder strong { font-size: 1.1rem; }
.dashboard-chart-placeholder small { color: var(--muted); }

.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.settings-card { padding: 20px; }
.settings-card:last-child { grid-column: 1 / -1; }
.settings-form { display: grid; gap: 16px; }
.settings-actions { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 4px; }
.settings-note { max-width: 310px; color: var(--muted); font-size: 0.82rem; }
.settings-security { display: grid; gap: 18px; }
.settings-security .btn { justify-self: start; }

.quote-page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.quote-page-heading p { margin: 8px 0 0; font-size: 1rem; }
.quote-progress { color: var(--brand-dark); font-size: 0.82rem; font-weight: 900; white-space: nowrap; }
.quote-request-form { display: grid; gap: 18px; }
.quote-section { padding: 24px; }
.quote-section-head { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; margin-bottom: 22px; }
.quote-section-head > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e6f4f1; color: var(--brand-dark); font-size: 0.84rem; font-weight: 900; }
.quote-section-head h2 { margin: 2px 0 4px; font-size: 1.25rem; }.quote-section-head p { margin: 0; }
.quote-source-field { margin-bottom: 20px; }
.quote-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.quote-form-grid .full { grid-column: 1 / -1; }
.quote-form-grid .field-row { grid-column: 1 / -1; display: grid; gap: 16px; }
.vehicle-core-fields { grid-template-columns: minmax(130px, .55fr) minmax(0, 1fr) minmax(0, 1fr); }
.vehicle-extra-fields { grid-template-columns: minmax(0, 1.4fr) minmax(130px, .55fr) minmax(150px, .75fr) minmax(150px, .75fr); }
.vehicle-select2 { height: 44px; min-height: 44px; padding: 0 42px 0 12px; line-height: 44px; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.select2-hidden-accessible { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.field > .select2-container { display: block; width: 100% !important; min-height: 44px; }
.select2-container { display: block; width: 100% !important; }
.select2-container .select2-selection--single { height: 44px !important; }
.select2-container--default .select2-selection--single { position: relative; min-height: 44px; height: 44px; display: block; overflow: hidden; padding: 0; border: 1px solid #cbd4dd; border-radius: var(--radius); background-color: #fff; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.select2-container--default .select2-selection--single .select2-selection__rendered { position: absolute; inset: 0; display: flex !important; align-items: center; width: 100%; height: 42px; min-height: 42px; padding: 0 48px 0 12px !important; overflow: hidden; color: var(--ink); line-height: 1.2 !important; text-overflow: ellipsis; white-space: nowrap; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #7a8795; }
.select2-container--default .select2-selection--single .select2-selection__clear { position: absolute; z-index: 2; top: 50%; right: 30px; margin: 0; transform: translateY(-50%); color: var(--muted); line-height: 1; }
.select2-container--default .select2-selection--single .select2-selection__arrow { display: none; }
.select2-dropdown { margin-top: 4px; border: 1px solid #cbd4dd; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.select2-search--dropdown { padding: 10px; border-bottom: 1px solid var(--line); background: #fff; }
.select2-container--default .select2-search--dropdown .select2-search__field { min-height: 40px; border: 1px solid #cbd4dd; border-radius: 6px; padding: 8px 10px; background: #fff; color: var(--ink); font: inherit; outline: 0; }
.select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14); }
.select2-results > .select2-results__options { max-height: 240px; scrollbar-color: #9aa7b5 transparent; scrollbar-width: thin; }
.select2-results__option { min-height: 36px; display: flex; align-items: center; padding: 8px 12px; color: var(--ink); font-size: .9rem; }
.select2-container--default .select2-results__option--selected { background: #e6f4f1; color: var(--brand-dark); }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--brand); color: #fff; }
.map-address-field { gap: 8px; }.address-map { min-height: 260px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #eef3f6; color: var(--muted); font-size: .84rem; text-align: center; }.address-map-unconfigured { border-style: dashed; padding: 18px; }
.schedule-card { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }.schedule-card-head { display: grid; gap: 3px; }.schedule-card-head span { color: var(--muted); font-size: .84rem; }.schedule-date-fields, .date-range-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.schedule-date-fields > .field, .schedule-date-fields > .date-range-fields { grid-column: 1 / -1; }.flatpickr-input[readonly] { background: white; cursor: pointer; }.flatpickr-calendar { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-family: inherit; }.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--brand); border-color: var(--brand); }.flatpickr-day.today { border-color: var(--brand); }
.schedule-card input, .schedule-card select { background-color: #fff; }.flatpickr-calendar { background-color: #fff; }.schedule-card select { appearance: none; cursor: pointer; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }.schedule-card select:disabled { cursor: not-allowed; opacity: .58; }
.schedule-date-row { display: grid; grid-template-columns: minmax(170px, .42fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.flatpickr-calendar .flatpickr-current-month { display: flex; align-items: center; justify-content: center; gap: 3px; }.flatpickr-calendar .flatpickr-monthDropdown-months { width: auto; min-height: 0; padding: 0; border: 0; background: transparent; font: inherit; }.flatpickr-calendar .numInputWrapper { width: auto; height: auto; }.flatpickr-calendar input.cur-year { width: 4.5ch; min-height: 0; padding: 0 2px; border: 0; background: transparent; font: inherit; line-height: inherit; }
.schedule-date-fields [hidden] { display: none !important; }
.vehicle-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }.vehicle-card + .vehicle-card { margin-top: 14px; }
.vehicle-card-body[hidden] { display: none !important; }
.vehicle-card-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }.vehicle-card-collapsed .vehicle-card-head { margin-bottom: 0; }
.vehicle-collapse-toggle { min-width: 0; flex: 1 1 auto; display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.vehicle-collapse-toggle > span:first-child { display: grid; gap: 2px; min-width: 0; }
.vehicle-collapse-toggle strong { color: var(--ink); }
.vehicle-collapse-label { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--brand-dark); font-size: 0.8rem; font-weight: 900; white-space: nowrap; }
.vehicle-number { color: var(--brand-dark); font-size: 0.76rem; font-weight: 900; text-transform: uppercase; }
.vehicle-remove { border: 0; background: transparent; color: var(--danger); cursor: pointer; font-size: 0.84rem; font-weight: 800; }
.source-options, .condition-options { display: flex; flex-wrap: wrap; gap: 8px; }.source-options label, .condition-options label { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font-size: 0.84rem; font-weight: 700; }.source-options input, .condition-options input { width: 16px; min-height: 16px; accent-color: var(--brand); }
.source-options .source-option { width: max-content; min-width: 120px; min-height: 108px; flex: 0 0 auto; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; text-align: center; cursor: pointer; }.source-option .source-choice { max-width: 100%; display: inline-flex; align-items: center; gap: 6px; padding: 0 3px; white-space: nowrap; font-size: 0.84rem; font-weight: 700; }.source-option .source-mark { width: 34px; height: 34px; display: grid; place-items: center; margin: 0 3px; border-radius: 8px; background: #e6f4f1; color: var(--brand-dark); font-size: 0.78rem; font-weight: 900; }.source-option .source-logo { width: 112px; height: 34px; margin: 0 3px; object-fit: contain; }.source-option .source-icon { font-size: 1.25rem; }.source-option input { margin: 0; flex: 0 0 auto; }.source-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(15, 118, 110, .12); }.source-option:has(input:checked) .source-mark { background: var(--brand); color: white; }
.source-option .source-mark i { font-size: 1rem; line-height: 1; }
.colour-options { margin-bottom: 10px; }
.colour-options .colour-option { min-width: 92px; min-height: 92px; }
.colour-swatch { width: 34px; height: 34px; display: block; margin: 0 3px; border: 1px solid rgba(23, 32, 42, .18); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.colour-white { background: #f8fafc; }
.colour-black { background: #111827; }
.colour-silver { background: linear-gradient(135deg, #f8fafc, #aeb7c2); }
.colour-grey { background: #6b7280; }
.colour-blue { background: #2563eb; }
.colour-red { background: #dc2626; }
.colour-green { background: #15803d; }
.colour-orange { background: #f97316; }
.colour-yellow { background: #facc15; }
.colour-other { background: conic-gradient(from 90deg, #dc2626, #d6a21f, #15803d, #2563eb, #6b7280, #dc2626); }
.photo-upload { min-height: 88px; display: grid; align-content: center; gap: 3px; padding: 14px; border: 1px dashed #9db4b1; border-radius: var(--radius); background: #f7fbfa; cursor: pointer; }.photo-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }.photo-upload span { color: var(--brand-dark); font-weight: 900; }.photo-upload small { color: var(--muted); }
.admin-body.dashboard-dark .quote-section label { color: #dce3ef; }.admin-body.dashboard-dark .quote-section input, .admin-body.dashboard-dark .quote-section select, .admin-body.dashboard-dark .quote-section textarea { border-color: #3a465a; background-color: #202735; color: #edf0f7; }.admin-body.dashboard-dark .quote-section input::placeholder, .admin-body.dashboard-dark .quote-section textarea::placeholder { color: #95a1b4; }.admin-body.dashboard-dark .schedule-card, .admin-body.dashboard-dark .vehicle-card { border-color: #354055; background: #252c39; }.admin-body.dashboard-dark .schedule-card select { background-color: #202735; }.admin-body.dashboard-dark .source-option .source-mark { background: #263d4e; color: #b8ccff; }.admin-body.dashboard-dark .source-option:has(input:checked) .source-mark { background: var(--brand); color: #fff; }.admin-body.dashboard-dark .flatpickr-calendar { border-color: #3a465a; background: #202735; color: #edf0f7; }.admin-body.dashboard-dark .flatpickr-months .flatpickr-month, .admin-body.dashboard-dark .flatpickr-weekdays, .admin-body.dashboard-dark span.flatpickr-weekday, .admin-body.dashboard-dark .flatpickr-current-month .flatpickr-monthDropdown-months, .admin-body.dashboard-dark .flatpickr-current-month input.cur-year { background: transparent; color: #edf0f7; fill: #edf0f7; }.admin-body.dashboard-dark .flatpickr-day { color: #dce3ef; }.admin-body.dashboard-dark .flatpickr-day.prevMonthDay, .admin-body.dashboard-dark .flatpickr-day.nextMonthDay { color: #738097; }.admin-body.dashboard-dark .flatpickr-day:hover, .admin-body.dashboard-dark .flatpickr-day:focus { border-color: #5b7cfa; background: #2b3750; }.admin-body.dashboard-dark .flatpickr-day.selected, .admin-body.dashboard-dark .flatpickr-day.startRange, .admin-body.dashboard-dark .flatpickr-day.endRange { background: #5b7cfa; border-color: #5b7cfa; color: #fff; }
.admin-body.dashboard-dark .vehicle-select2 { background-color: #202735; background-image: linear-gradient(45deg, transparent 50%, #95a1b4 50%), linear-gradient(135deg, #95a1b4 50%, transparent 50%); color: #edf0f7; }
.admin-body.dashboard-dark .vehicle-collapse-toggle strong { color: #edf0f7; }
.admin-body.dashboard-dark .vehicle-collapse-label { border-color: #3a465a; background: #202735; color: #b8ccff; }
.admin-body.dashboard-dark .select2-container--default .select2-selection--single { border-color: #3a465a; background-color: #202735; background-image: linear-gradient(45deg, transparent 50%, #95a1b4 50%), linear-gradient(135deg, #95a1b4 50%, transparent 50%); }
.admin-body.dashboard-dark .select2-container--default .select2-selection--single .select2-selection__rendered { color: #edf0f7; }
.admin-body.dashboard-dark .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #95a1b4; }
.admin-body.dashboard-dark .select2-dropdown { border-color: #3a465a; background: #202735; color: #edf0f7; }
.admin-body.dashboard-dark .select2-search--dropdown { border-color: #3a465a; background: #202735; }
.admin-body.dashboard-dark .select2-container--default .select2-search--dropdown .select2-search__field { border-color: #3a465a; background: #151b26; color: #edf0f7; }
.admin-body.dashboard-dark .select2-results > .select2-results__options { scrollbar-color: #64748b transparent; }
.admin-body.dashboard-dark .select2-results__option { color: #edf0f7; }
.admin-body.dashboard-dark .select2-container--default .select2-results__option--selected { background: #2b3750; color: #edf0f7; }
.quote-add-vehicle { margin-top: 16px; }.quote-submit-bar { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 24px; border-radius: var(--radius); background: #111820; color: white; }.quote-submit-bar strong, .quote-submit-bar span { display: block; }.quote-submit-bar span { margin-top: 4px; color: rgba(255,255,255,.7); font-size: .86rem; }.quote-demo-note { margin: 0; padding: 12px; border: 1px solid #a6d9d1; border-radius: var(--radius); background: #e6f4f1; color: var(--brand-dark); font-size: .9rem; }

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-panel-head select {
  width: auto;
  min-width: 160px;
}

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

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 0.92rem;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td span:not(.pill) {
  color: var(--muted);
  font-size: 0.82rem;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  font-weight: 900;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-list label {
  min-height: 42px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.task-list input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--brand);
}

.admin-aside {
  display: grid;
  gap: 18px;
}

.payment-state {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.payment-state:last-child {
  border-bottom: 0;
}

.payment-state span {
  color: var(--muted);
}

.status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-body {
  min-height: 100vh;
  background: #edf1f5;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
}

.auth-intro {
  min-height: 100%;
  padding: 36px clamp(32px, 7vw, 100px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 40px;
  color: white;
  background: linear-gradient(135deg, rgba(10, 41, 42, 0.95), rgba(12, 67, 63, 0.9)), url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1500&q=80") center / cover;
}

.auth-brand { color: white; }
.auth-copy { align-self: center; max-width: 580px; }
.auth-copy .kicker { color: #b9eee6; }

.auth-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.auth-copy p {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.auth-points { display: grid; gap: 12px; max-width: 460px; }

.auth-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.auth-points svg { width: 18px; height: 18px; color: #8bdacf; }

.auth-panel-wrap {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 32px;
}

.auth-panel {
  width: min(100%, 450px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.auth-head h2 { margin-bottom: 8px; font-size: 1.75rem; }
.auth-head p { margin-bottom: 26px; }
.auth-form { display: grid; gap: 18px; }

.field-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.field-label-row a { color: var(--brand-dark); font-size: 0.82rem; font-weight: 800; }
.password-field { position: relative; }
.password-field input { padding-right: 64px; }

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 30px;
  padding: 0 7px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
}

.remember-row {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.remember-row input { width: 17px; min-height: 17px; accent-color: var(--brand); }
.auth-submit { width: 100%; }

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 28px 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); }
.auth-links { display: grid; gap: 8px; }

.auth-links a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.auth-links a:hover { border-color: var(--brand); }
.auth-links strong { font-size: 0.9rem; }
.auth-links span { color: var(--muted); font-size: 0.83rem; }
.auth-back { margin: 0; font-size: 0.9rem; }
.auth-back a { color: var(--brand-dark); font-weight: 800; }

.flash {
  margin: 0 0 18px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.flash-success { border-color: #a6d9d1; background: #e6f4f1; color: var(--brand-dark); }
.flash-error { border-color: #efb8b8; background: #fde9e9; color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.8rem; font-weight: 700; }
.dashboard-page { max-width: 860px; }
.dashboard-lead { margin-bottom: 28px; font-size: 1.05rem; }
.dashboard-notice { margin-bottom: 18px; }
.dashboard-notice h2, .dashboard-empty h2 { font-size: 1.25rem; }
.dashboard-notice p, .dashboard-empty p { margin-bottom: 18px; }
.account-name { color: var(--muted); font-size: 0.9rem; font-weight: 700; }

.home-body { background: white; }

.home-topbar { position: sticky; }

.home-hero {
  min-height: min(720px, calc(100vh - 68px));
  display: grid;
  align-items: stretch;
  color: white;
  background: linear-gradient(90deg, rgba(10, 24, 29, 0.91) 0%, rgba(10, 24, 29, 0.72) 48%, rgba(10, 24, 29, 0.15) 100%), url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=84") center / cover;
}

.home-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 46px;
  align-items: end;
}

.home-hero-copy { max-width: 710px; }
.home-hero-copy .kicker { color: #b9eee6; }

.home-hero-copy h1 {
  max-width: 660px;
  margin: 13px 0 22px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.home-hero-copy p { max-width: 590px; color: rgba(255, 255, 255, 0.84); font-size: 1.1rem; }
.home-hero-copy .actions { justify-content: flex-start; margin-top: 30px; }

.home-hero-statement {
  padding: 18px 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.home-hero-statement span, .home-hero-statement strong { display: block; }
.home-hero-statement span { color: #b9eee6; font-size: 0.82rem; font-weight: 900; text-transform: uppercase; }
.home-hero-statement strong { margin: 8px 0; font-size: 1.25rem; line-height: 1.2; }
.home-hero-statement p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }

.home-metrics { background: var(--brand-dark); color: white; }

.home-metrics-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-metrics article { min-height: 150px; padding: 30px 24px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.home-metrics article:first-child { border-left: 0; }
.home-metrics strong, .home-metrics span { display: block; }
.home-metrics strong { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; }
.home-metrics span { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }

.home-section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 88px 0; }
.home-section-head { max-width: 720px; }
.home-section-head h2, .home-band h2, .home-carrier-copy h2 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.6rem); }
.home-section-head p { font-size: 1.08rem; }

.home-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 50px; }
.home-flow article { padding-top: 18px; border-top: 2px solid var(--brand); }
.home-flow span { color: var(--brand-dark); font-weight: 900; }
.home-flow h3 { margin: 18px 0 9px; font-size: 1.2rem; }
.home-flow p { margin: 0; }

.home-band { background: #edf3f4; }
.home-band-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 78px 0; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 64px; }
.home-band h2 { max-width: 540px; }
.home-feature-list { display: grid; gap: 22px; }
.home-feature-list p { display: grid; grid-template-columns: minmax(160px, 0.7fr) 1fr; gap: 18px; margin: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.home-feature-list p:last-child { padding-bottom: 0; border-bottom: 0; }
.home-feature-list strong { color: var(--ink); }
.home-feature-list span { color: var(--muted); }

.home-carrier { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 88px 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); gap: 64px; align-items: center; }
.home-carrier img { width: 100%; aspect-ratio: 1.3 / 1; object-fit: cover; border-radius: var(--radius); }
.home-carrier-copy p { max-width: 510px; margin-bottom: 28px; font-size: 1.04rem; }

.carrier-page { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0 70px; }

.carrier-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
  align-items: end;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.carrier-page-head h1 { max-width: 760px; margin: 10px 0 15px; font-size: clamp(2.25rem, 5vw, 4.5rem); }
.carrier-page-head p { max-width: 680px; margin: 0; font-size: 1.06rem; }

.carrier-review-note { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0 0 16px; border-left: 2px solid var(--brand); }
.carrier-review-note svg { width: 25px; height: 25px; color: var(--brand); }
.carrier-review-note strong, .carrier-review-note span { display: block; }
.carrier-review-note span { margin-top: 4px; color: var(--muted); font-size: 0.88rem; }

.carrier-apply-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; padding-top: 34px; align-items: start; }

.carrier-sidebar { position: sticky; top: 92px; }
.carrier-sidebar h2 { font-size: 1.05rem; }

.carrier-checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.carrier-checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; color: var(--muted); }
.carrier-checklist li > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 0.8rem; font-weight: 900; }
.carrier-checklist li.active { color: var(--ink); }
.carrier-checklist li.active > span { border-color: var(--brand); background: var(--brand); color: white; }
.carrier-checklist strong, .carrier-checklist small { display: block; }
.carrier-checklist strong { font-size: 0.91rem; }
.carrier-checklist small { font-size: 0.8rem; }

.carrier-support { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.carrier-support h3 { margin-bottom: 6px; font-size: 0.95rem; }
.carrier-support p { margin-bottom: 10px; font-size: 0.86rem; }
.carrier-support a { color: var(--brand-dark); font-size: 0.88rem; font-weight: 800; }

.carrier-application { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); overflow: hidden; }
.application-section { padding: 28px; border-bottom: 1px solid var(--line); }
.application-section-head { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; margin-bottom: 22px; }
.application-section-head > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e6f4f1; color: var(--brand-dark); font-size: 0.84rem; font-weight: 900; }
.application-section-head h2 { margin-bottom: 4px; font-size: 1.25rem; }
.application-section-head p { margin: 0; font-size: 0.9rem; }
.field-help { color: var(--muted); font-size: 0.79rem; }

.declaration-list { display: grid; gap: 13px; }
.declaration-list label { display: grid; grid-template-columns: 19px minmax(0, 1fr); gap: 10px; align-items: start; color: #2f3a44; font-size: 0.9rem; font-weight: 500; }
.declaration-list input { width: 19px; min-height: 19px; margin-top: 2px; accent-color: var(--brand); }

.application-actions { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 28px; background: var(--soft); }
.application-actions strong, .application-actions span { display: block; }
.application-actions span { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 960px) {
  .nav { display: none; }
  .toolbar, .split { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-row { grid-template-columns: 126px minmax(0, 1fr); }
  .job-row .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .job-row img { width: 126px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    grid-template-rows: auto auto;
  }
  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-account { display: none; }
  .admin-content { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .quote-page-heading { align-items: start; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box { width: min(100%, 420px); }
  .auth-shell { grid-template-columns: 1fr; }
  .dashboard-verification { align-items: start; }
  .admin-utilitybar { padding: 12px 14px; }
  .auth-intro { min-height: 390px; }
  .home-hero-inner, .home-band-inner, .home-carrier { grid-template-columns: 1fr; }
  .home-hero-statement { max-width: 390px; }
  .home-metrics-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-metrics article:nth-child(3) { border-left: 0; }
  .home-flow { gap: 22px; }
  .carrier-page-head, .carrier-apply-layout { grid-template-columns: 1fr; gap: 28px; }
  .carrier-sidebar { position: static; }
}

@media (max-width: 640px) {
  .topbar-inner, .page, .footer-inner { width: min(100% - 24px, 1180px); }
  .topbar-inner { min-height: 78px; }
  h1 { font-size: clamp(2.2rem, 13vw, 3.65rem); }
  .grid-2, .grid-3, .steps, .form-grid { grid-template-columns: 1fr; }
  .job-row { grid-template-columns: 1fr; }
  .job-row img { width: 100%; }
  .footer-inner { display: grid; }
  .admin-main { padding: 14px; }
  .admin-utilitybar { display: grid; }
  .admin-topbar, .admin-panel-head { display: grid; align-items: start; }
  .dashboard-verification { display: grid; }
  .dashboard-verification .btn { width: 100%; }
  .settings-actions { display: grid; }
  .settings-actions .btn, .settings-security .btn { width: 100%; }
  .quote-form-grid { grid-template-columns: 1fr; }.quote-form-grid .full { grid-column: auto; }.quote-section { padding: 20px 18px; }.quote-submit-bar { display: grid; align-items: start; padding: 20px 18px; }.quote-submit-bar .btn { width: 100%; }
  .vehicle-core-fields, .vehicle-extra-fields { grid-template-columns: 1fr; }
  .condition-options { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .condition-options label { width: 100%; justify-content: flex-start; }
  .schedule-date-fields, .date-range-fields { grid-template-columns: 1fr; }
  .schedule-date-row { grid-template-columns: 1fr; }
  .admin-tools { justify-content: stretch; }
  .theme-toggle { width: 100%; justify-content: center; }
  .user-menu { width: 100%; }
  .user-menu summary { justify-content: space-between; }
  .user-menu-popover { width: 100%; }
  .admin-tools .btn, .search-box { width: 100%; }
  .admin-stats, .admin-nav { grid-template-columns: 1fr; }
  .admin-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .auth-intro { min-height: 330px; padding: 26px 24px; }
  .auth-copy h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .auth-points { display: none; }
  .auth-panel-wrap { padding: 18px 12px; }
  .auth-panel { padding: 24px 18px; }
  .home-hero { min-height: 640px; background: linear-gradient(180deg, rgba(10, 24, 29, 0.94) 0%, rgba(10, 24, 29, 0.74) 64%, rgba(10, 24, 29, 0.24) 100%), url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=900&q=84") center / cover; }
  .home-hero-inner { width: min(100% - 24px, 1180px); padding: 42px 0 30px; gap: 28px; }
  .home-hero-copy h1 { font-size: clamp(2.7rem, 14vw, 4.15rem); }
  .home-metrics-inner, .home-flow, .home-band-inner, .home-carrier { grid-template-columns: 1fr; }
  .home-metrics article, .home-metrics article:nth-child(3) { min-height: 100px; padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
  .home-metrics article:last-child { border-bottom: 0; }
  .home-section, .home-carrier { width: min(100% - 24px, 1180px); padding: 56px 0; }
  .home-band-inner { width: min(100% - 24px, 1180px); padding: 56px 0; gap: 30px; }
  .home-flow { margin-top: 34px; }
  .home-feature-list p { grid-template-columns: 1fr; gap: 4px; }
  .carrier-page { width: min(100% - 24px, 1180px); padding: 34px 0 50px; }
  .carrier-page-head { padding-bottom: 28px; }
  .application-section { padding: 22px 18px; }
  .application-actions { display: grid; align-items: start; padding: 20px 18px; }
  .application-actions .btn { width: 100%; }
}
