:root {
  --ink: #142422;
  --muted: #75817c;
  --paper: #f6f7f4;
  --green: #174e42;
  --line: #e3e8e2;
  --card: #fff;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.topbar { height: 58px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
.brand { font-size: 15px; font-weight: 750; letter-spacing: .025em; }
.brand span { color: #819089; font-weight: 500; letter-spacing: 0; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.inline-form { display: inline; margin: 0; }
.quiet-link { color: #53635c; font-size: 12px; font-weight: 600; }
.quiet-link:hover { color: var(--green); }
.button-link { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; }
.page-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 72px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(27px, 4vw, 38px); line-height: 1.12; letter-spacing: -.045em; }
h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.eyebrow { margin: 0 0 8px; color: #73817a; font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.page-heading { margin-bottom: 24px; }
.page-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.welcome-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: clamp(35px, 8vw, 100px); min-height: 58vh; }
.welcome-copy h1 { max-width: 620px; font-size: clamp(38px, 6vw, 58px); }
.lead { max-width: 560px; margin: 18px 0 26px; color: var(--muted); font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: background .15s, border-color .15s; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: #103d34; }
.button-secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.button-secondary:hover { border-color: #b6c3b8; }
.button-small { min-height: 36px; padding: 0 12px; font-size: 12px; }
.welcome-card, .panel { border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.welcome-card { padding: 21px; box-shadow: 0 12px 35px #14242208; }
.step-list { display: grid; gap: 18px; margin: 19px 0 0; padding: 0; list-style: none; }
.step-list li { display: flex; align-items: center; gap: 12px; }
.step-list li > span, .vehicle-symbol { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: #f4f6f1; color: var(--green); font-size: 13px; font-weight: 750; }
.step-list strong, .step-list small { display: block; }
.step-list strong { font-size: 13px; }
.step-list small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.status-pill { margin-top: 7px; padding: 6px 10px; border-radius: 20px; background: #f4f1df; color: #705c1e; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status-active { background: #e7f2e6; color: #315e35; }
.status-rejected { background: #f9e9e6; color: #91483b; }
.stats-row { display: grid; grid-template-columns: repeat(2, minmax(150px, 220px)); gap: 10px; margin-bottom: 14px; }
.stat-card { min-height: 78px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; border-radius: 9px; background: #f4f6f1; }
.stat-card strong { font-size: 21px; line-height: 1.2; }
.stat-card span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.review-note, .notice { padding: 13px 15px; border: 1px solid #e7e2c9; border-radius: 8px; background: #faf8ed; color: #51491f; }
.review-note { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.review-note strong { font-size: 12px; }
.review-note span { font-size: 12px; }
.notice { margin-bottom: 16px; font-size: 13px; }
.panel { padding: 19px; }
.empty-panel { max-width: 650px; padding: 32px; }
.empty-icon { width: 42px; height: 42px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 11px; background: #edf3e6; color: var(--green); font-weight: 800; }
.empty-panel h2 { max-width: 440px; margin-bottom: 9px; }
.empty-panel p, .empty-message { color: var(--muted); font-size: 13px; }
.empty-panel .button { margin-top: 7px; }
.fleet-panel { padding: 18px 20px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #edf0eb; }
.panel-heading .eyebrow { margin-bottom: 3px; }
.empty-message { margin: 18px 0 4px; }
.vehicle-row { min-height: 67px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #edf0eb; }
.vehicle-row:last-child { border-bottom: 0; }
.vehicle-info { min-width: 0; flex: 1; }
.vehicle-info strong, .vehicle-info span { display: block; }
.vehicle-info strong { font-size: 13px; }
.vehicle-info span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.form-panel { max-width: 560px; padding: 22px; }
.form-field { margin-bottom: 17px; }
.form-field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 650; }
.form-field input, .form-field select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
.form-field input:focus, .form-field select:focus { outline: 3px solid #174e4230; border-color: var(--green); }
.form-hint { margin: 2px 0 18px; color: var(--muted); font-size: 12px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 15px; border-top: 1px solid #edf0eb; }
.field-error, .validation-summary { color: #a13f32; font-size: 12px; }
.validation-summary ul { margin-bottom: 14px; padding-left: 18px; }
.form-floating { margin-bottom: 14px; }
.form-floating > label { color: var(--muted); font-size: 13px; }
.form-floating > .form-control { min-height: 48px; border-color: var(--line); border-radius: 7px; font-size: 13px; }
.form-floating > .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px #174e4220; }
.form-check { margin: 10px 0; }
.btn-primary { border-color: var(--green); background: var(--green); }
.btn-primary:hover, .btn-primary:focus { border-color: #103d34; background: #103d34; }
.text-danger { color: #a13f32 !important; font-size: 12px; }
.text-center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.col-md-4, .col-md-6 { width: 100%; }
.form-control { border-color: var(--line); }
:focus-visible { outline: 3px solid #174e4270; outline-offset: 3px; }

@media (max-width: 700px) {
  .page-shell { width: min(100% - 28px, 560px); padding-top: 30px; }
  .welcome-grid { grid-template-columns: 1fr; align-content: center; gap: 28px; }
  .welcome-copy h1 { font-size: clamp(36px, 11vw, 49px); }
  .heading-row { flex-direction: column; gap: 12px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .topbar { height: 54px; padding: 0 14px; }
  .brand { font-size: 13px; }
  .brand span { font-size: 12px; }
  .topbar-actions { gap: 10px; }
  .actions { align-items: stretch; flex-direction: column; }
  .panel { padding: 15px; }
  .panel-heading { align-items: flex-start; }
}
.account-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; color: var(--green); font-size: 12px; }
.account-links a { text-decoration: underline; }
.review-panel { margin-bottom: 18px; }
.form-field textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.form-field textarea:focus { outline: 3px solid #174e4230; }
@media (max-width: 700px) {
  .topbar { height: auto; min-height: 58px; padding: 12px 14px; flex-wrap: wrap; gap: 12px; }
  .topbar-actions { flex-wrap: wrap; gap: 12px; }
}
