@font-face{font-family:Inter;src:url(../assets/inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:Manrope;src:url(../assets/manrope.woff2) format("woff2");font-weight:200 800;font-display:swap}
:root{color-scheme:light;--ink:#10261f;--muted:#456257;--forest:#103c32;--accent:#dffa7c;--paper:#fff;--line:#dce5dd;--white:#fff;--radius:20px;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0}
h1,h2,h3,p{margin:0}
h1,h2,h3,.brand{font-family:Manrope,Inter,sans-serif;line-height:1.11;letter-spacing:-.04em}
p{line-height:1.65}
img{display:block;max-width:100%}
button,input,select{font:inherit}
a{color:inherit}
:focus-visible{outline:3px solid #299a71;outline-offset:4px}
[hidden]{display:none!important}
.skip{position:absolute;left:1rem;top:1rem;z-index:3;padding:.7rem 1rem;background:#fff;transform:translateY(-200%)}
.skip:focus{transform:none}
.wrap{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.top{background:var(--paper);border-bottom:1px solid var(--line)}
.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.nav nav{display:flex;align-items:center;gap:clamp(16px,3vw,38px);font-size:.94rem;font-weight:650}
.nav a{text-decoration:none}
.home-nav{display:grid;grid-template-columns:auto 1fr auto}
.home-nav .section-nav{justify-content:center}
.section-nav a:hover,.header-actions>a:not(.button):hover{text-decoration:underline;text-underline-offset:4px}
.header-actions{display:flex;align-items:center;gap:clamp(12px,2vw,26px);font-size:.94rem;font-weight:650}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:1.56rem;font-weight:800;text-decoration:none}
.mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--forest);color:var(--accent);font-size:1.2rem;letter-spacing:0}
.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:46px;padding:0 19px;border-radius:10px;font-weight:750;line-height:1.18;text-decoration:none;cursor:pointer}
.button:disabled{cursor:wait;opacity:.65}
.compact{min-height:39px;padding-inline:14px;font-size:.86rem}
.primary{background:var(--forest);color:#fff}
.primary:hover{background:#195b49}
.outline{background:#fff;border-color:var(--line);color:var(--forest)}
.outline:hover{background:#eaf2e8}
.hero{display:grid;grid-template-columns:minmax(0, .88fr) minmax(0, 1.12fr);align-items:center;gap:clamp(20px,3vw,50px);padding-block:clamp(45px,6vw,83px) 53px}
.hero-copy h1{font-size:clamp(3.1rem,6.5vw,5.75rem);font-weight:800;line-height:.98;letter-spacing:-.06em}
.hero-copy h1 span{display:block;color:#286045}
.vehicle-label{color:#286045;font-weight:800;letter-spacing:.09em;text-transform:uppercase;font-size:.78rem;margin-bottom:17px}
.hero-description{max-width:395px;color:var(--muted);margin:21px 0 26px;font-size:clamp(1rem,1.55vw,1.16rem)}
.hero-actions .button{min-height:51px}
.hero-art{width:100%;height:auto;align-self:center;object-fit:contain}
.info-section{border-top:1px solid var(--line);padding-block:clamp(38px,5vw,64px);scroll-margin-top:14px}
.info-section h2{font-size:clamp(2.2rem,4vw,3.3rem)}
.section-heading{margin-bottom:25px}
.project-intro,.project-detail{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(22px,6vw,90px);
  align-items:start;
}
.project-intro>p{color:var(--muted);font-size:clamp(1rem,1.6vw,1.16rem);max-width:60ch}
.project-detail{margin-top:clamp(28px,4vw,52px)}
.project-detail h3{font-size:1.32rem;line-height:1.25}
.project-goals,.partner-grid,.team-grid{margin:0;padding:0;list-style:none}
.project-goals{margin-top:13px}
.project-goals li{padding:13px 0;border-top:1px solid var(--line)}
.project-goals p,.contribution p,.partner-grid p,.team-grid p{color:var(--muted)}
.project-goals p,.partner-grid h3{margin-top:5px}
.contribution{border:1px solid var(--line);border-radius:var(--radius);padding:clamp(19px,3vw,32px)}
.contribution .contribution-amount{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:0 10px;
  margin:12px 0 15px;
  font-family:Manrope,Inter,sans-serif;
  font-size:clamp(2.65rem,5.5vw,4.25rem);
  font-weight:800;
  line-height:1;
  letter-spacing:-.06em;
  color:var(--forest);
}
.contribution-amount span{font-size:1rem;letter-spacing:0}
.contribution .contribution-note{margin-top:15px;border-top:1px solid var(--line);padding-top:13px;font-size:.87rem}
.vehicles,.service-band,.partner-grid,.team-grid{display:grid;gap:18px}
.vehicles{grid-template-columns:repeat(2,minmax(0,1fr))}
.service-band{grid-template-columns:repeat(3,minmax(0,1fr))}
.partner-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.vehicle-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:center;gap:14px;border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.vehicle-card img{width:100%;height:clamp(108px,14vw,175px);object-fit:contain}
.vehicle-card h3,.service-band h3{font-size:1.44rem;margin-bottom:7px}
.vehicle-card p,.service-band p{color:var(--muted)}
.service-band{margin-top:30px;border-top:1px solid var(--line);padding:27px 0 0}
.partner-grid li{border:1px solid var(--line);border-radius:var(--radius);padding:clamp(18px,2.25vw,27px)}
.partner-logo{width:108px;height:72px;margin-bottom:14px;object-fit:contain;object-position:left center}
.partner-logo.partner-icon{width:56px;height:56px;margin:8px 0 22px;border-radius:10px}
.partner-grid .partner-role{color:#286045;font-size:.83rem;font-weight:750}
.partner-grid h3{font-size:clamp(1.23rem,2vw,1.55rem);margin-bottom:10px;line-height:1.2;text-wrap:balance}
.team-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.team-grid li{border-top:1px solid var(--line);padding-top:14px}
.team-grid h3{font-size:1.27rem;margin-bottom:5px}
.site-footer{border-top:1px solid var(--line);padding:27px 0}
.site-footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:15px}
.site-footer p{font-size:.87rem;color:var(--muted)}
.workspace{padding-block:40px 68px}
.page-title{font-size:clamp(2rem,4.7vw,3.25rem);overflow-wrap:anywhere;margin-bottom:9px}
.page-intro{color:var(--muted);margin-bottom:23px}
.approval{max-width:960px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);align-items:center;gap:clamp(24px,6vw,90px);padding-block:25px 34px}
.approval h1{font-size:clamp(2rem,4.45vw,4rem);line-height:1.04}
.approval .page-intro{max-width:380px;margin:16px 0 23px}
.approval-mark{display:grid;place-items:center;width:43px;height:43px;margin-bottom:16px;border:1px solid #90b6a4;border-radius:50%;color:#286045;font-size:1.35rem;font-weight:800}
.approval-art{width:min(100%,340px);height:auto;margin-inline:auto;object-fit:contain}
.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(18px,3.5vw,30px);margin:0 0 20px}
.narrow{max-width:530px;margin-inline:auto}
.driver-access{max-width:460px;padding-top:clamp(12px,5vw,62px)}
.driver-access .page-intro{max-width:40ch}
.driver-access-actions{display:grid;gap:12px}
.driver-access-actions .button{min-height:52px}
.auth-resend{display:grid;justify-items:start;gap:8px;border-top:1px solid var(--line);padding-top:16px;margin-top:16px}
.panel h2{font-size:1.45rem;margin-bottom:14px}
.stack{display:grid;gap:16px}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.field{display:flex;flex-direction:column;gap:7px;font-size:.9rem;font-weight:700;min-width:0}
.field input,.field select{width:100%;min-height:46px;padding:9px 10px;border:1px solid #a2b9aa;border-radius:9px;background:#fff;color:var(--ink)}
.consent{display:flex;gap:10px;line-height:1.5;color:var(--muted);font-size:.9rem}
.consent input{width:19px;height:19px;flex:none;accent-color:var(--forest)}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.notice:not(:empty){position:sticky;bottom:1rem;margin-left:auto;max-width:45ch;padding:12px 16px;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:0 2px 15px #12332122;overflow-wrap:anywhere}
.notice.error:not(:empty){background:#fff2f0;border-color:#bd6759;color:#8c1f11}
.success:not(:empty){color:#1e603d}
.subtle{color:var(--muted);font-size:.88rem}
.payment-panel{margin-top:16px}
.data{display:grid;gap:10px;margin:0}
.data>div{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:12px}
.data dt{color:var(--muted);font-size:.9rem}
.data dd{margin:0;overflow-wrap:anywhere}
.scroll{overflow-x:auto}
table{width:100%;border-collapse:collapse;text-align:left}
th,td{border-bottom:1px solid var(--line);padding:13px 11px;font-size:.9rem}
th{color:var(--muted);font-weight:700}
tr:last-child td{border-bottom:0}
.inline-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.inline-form .field{flex:1;min-width:170px}
.mfa-secret{display:block;padding:9px 12px;background:#edf3e4;border-radius:8px;overflow-wrap:anywhere}
#registration{max-width:750px;margin-inline:auto}
@media(max-width:1040px){
  .partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:840px){
  .home-nav{grid-template-columns:1fr auto;gap:0 12px;padding-top:10px}
  .home-nav .section-nav{grid-row:2;grid-column:1/-1;justify-content:flex-start;gap:clamp(18px,4vw,32px)}
  .home-nav .section-nav a{display:inline-flex;align-items:center;min-height:44px}
  .header-actions{font-size:.82rem}
}
@media(max-width:720px){
  .wrap{width:calc(100% - 36px)}
  .nav{min-height:63px;gap:10px}
  .nav nav{gap:12px;font-size:.82rem}
  .hero,.approval{grid-template-columns:1fr}
  .hero{gap:27px;padding-block:36px 31px}
  .hero-copy h1{font-size:clamp(3rem,11vw,4.9rem)}
  .hero-description{margin:16px 0 21px}
  .hero-art{max-width:540px;max-height:340px;justify-self:center}
  .site-footer .wrap{align-items:flex-start;flex-direction:column;gap:10px}
  .project-intro,.project-detail,.vehicles,.service-band,.partner-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workspace{padding-top:25px}
  .approval{padding-top:8px;gap:22px}
  .approval-art{max-width:220px;grid-row:1}
}
@media(max-width:450px){.field-grid{grid-template-columns:1fr}.nav .mark{width:31px;height:31px}.brand{font-size:1.35rem}.vehicle-card{padding:16px}.hero-actions .button{padding-inline:14px}}

.driver-portal {
  --ink: #211719;
  --muted: #655859;
  --forest: #c91b29;
  --paper: #fbf8f4;
  --line: #e0d6ce;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.driver-portal .brand .mark {
  background: url('/site/soza-mark.webp') center / contain no-repeat;
  color: transparent;
  border-radius: 0;
}

.driver-portal :focus-visible { outline-color: var(--forest); }
.driver-portal .button { border-radius: 99px; }
.driver-portal .primary:hover { background: #991722; }
.driver-portal .outline { color: var(--ink); }
.driver-portal .outline:hover { background: #f4eee7; }
.driver-portal .field input, .driver-portal .field select { border-color: #bca9a3; font-size: 1rem; }

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 7vw, 108px);
  max-width: 1100px;
  margin: clamp(14px, 5vw, 68px) auto 0;
}

.access-copy { min-width: 0; }
.access-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.access-label::before { content: ''; width: 20px; height: 2px; background: currentColor; flex: none; }
.access-copy .page-title { font-size: clamp(2.6rem, 5vw, 4.25rem); letter-spacing: -.063em; text-wrap: balance; }
.access-copy .page-intro { max-width: 39ch; margin-top: 14px; }
.access-copy .panel { margin-bottom: 0; box-shadow: 0 18px 45px -34px #59142165; }
.access-copy .notice:not(:empty) { position: static; max-width: none; margin: 14px 0 0; box-shadow: none; }
.access-copy .button { min-height: 48px; }

.access-art {
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 30px;
  background: radial-gradient(ellipse at 55% 35%, #722031 0, #401823 48%, #26161b 84%);
  overflow: hidden;
}
.access-art::before, .access-art::after {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  content: '';
}
.access-art::before {
  width: 73%;
  background: url('/site/red-disc.webp') center / contain no-repeat;
}
.access-art::after {
  width: 82%;
  border: 1px solid #fff5ef49;
  transform: scaleY(.94) rotate(-22deg);
}
.access-art img { width: 98%; height: auto; filter: drop-shadow(0 18px 16px #26091180); }

@media(max-width: 760px) {
  .access-layout { grid-template-columns: 1fr; max-width: 480px; margin-top: 8px; }
  .access-art { display: none; }
  .access-copy .page-title { font-size: clamp(2.4rem, 9vw, 3.35rem); }
}

/* Driver and staff account */
.driver-portal { --soft: #f7f0e8; }

.account-toolbar { display: flex; align-items: center; margin-bottom: 16px; }

.account-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  padding: clamp(20px, 3.2vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(115% 150% at 100% 0%, #ffefec 0%, #fff8f4 42%, #fff 72%);
  box-shadow: 0 1px 0 #fff inset, 0 30px 60px -54px #5a2a1f;
}

.account-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px 24px;
  flex-wrap: wrap;
}

.account-identity { display: flex; align-items: center; gap: clamp(14px, 2vw, 20px); min-width: 0; }

.monogram {
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 74px);
  height: clamp(56px, 6vw, 74px);
  flex: none;
  border-radius: 22px;
  background: linear-gradient(150deg, #e4374b 0%, #a4131f 100%);
  color: #fff;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 16px 30px -20px #8d1522, inset 0 1px 0 #ffffff3d;
}

.account-identity__copy { min-width: 0; }

.eyebrow {
  color: var(--forest);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.account-name {
  margin-top: 4px;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.03;
  overflow-wrap: anywhere;
}

.account-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 550;
}
.account-meta__dot { margin: 0 9px; color: #bda99f; }

.account-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-left: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}
.status-pill::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.status-pill.pending_verification { background: #fff4dd; border-color: #f0d9a9; color: #8a5707; }
.status-pill.verified { background: #e9f1fb; border-color: #c8ddf3; color: #1b4f81; }
.status-pill.active { background: #e8f5eb; border-color: #c3e2cc; color: #1c6740; }
.status-pill.rejected { background: #fdecea; border-color: #f3cec8; color: #9c2014; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 12px;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: clamp(16px, 2.4vw, 22px) 0 0;
  border-top: 1px solid #eedfd6;
  list-style: none;
}
.step { display: grid; gap: 9px; min-width: 0; }
.step__rail { display: flex; align-items: center; }
.step__dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1.5px solid #cdbcb2;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.step__dot svg { width: 13px; height: 13px; stroke-width: 2.6; }
.step__line { height: 2px; flex: 1; margin-left: 8px; border-radius: 2px; background: #eaddd4; }
.step:last-child .step__line { visibility: hidden; }
.step.is-done .step__dot { border-color: #211719; background: #211719; color: #fff; }
.step.is-done .step__line { background: #211719; }
.step.is-current .step__dot { border-color: var(--forest); color: var(--forest); box-shadow: 0 0 0 4px #fdeceb; }
.step__label { color: var(--muted); font-size: .82rem; font-weight: 650; line-height: 1.3; }
.step.is-done .step__label, .step.is-current .step__label { color: var(--ink); }

.notice-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #f0cdc6;
  border-radius: 16px;
  background: #fff5f2;
}
.notice-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: #fbe0da;
  color: #a32a17;
}
.notice-card strong { display: block; font-family: Manrope, Inter, sans-serif; font-size: .98rem; }
.notice-card p { margin-top: 3px; color: #7d4a41; font-size: .88rem; }

.account-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.account-grid > .card--details { grid-column: span 7; }
.account-grid > .card--vehicle .vehicle-list { align-content: center; }
.account-grid > .card--vehicle { grid-column: span 5; }
.account-grid > .card--policies, .account-grid > .card--payments { grid-column: span 6; }

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 0 #fff inset, 0 24px 44px -48px #4b2a1f;
}
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card__title { display: flex; align-items: center; gap: 11px; min-width: 0; }
.card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: #f8efe7;
  color: #7c3f30;
}
.card__icon svg { width: 18px; height: 18px; }
.card h2 { font-size: 1.14rem; letter-spacing: -.025em; }
.card__badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 750;
  white-space: nowrap;
}

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

.details { display: grid; flex: 1; align-content: start; margin: 0; }
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 10px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.detail:first-child { padding-top: 0; border-top: 0; }
.detail:last-child { padding-bottom: 0; }
.detail dt { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .86rem; font-weight: 600; }
.detail__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: #f9f2ec;
  color: #8a5b4a;
}
.detail__icon svg { width: 15px; height: 15px; }
.detail dd { margin: 0; font-size: .95rem; font-weight: 650; overflow-wrap: anywhere; }
.detail__inline { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.detail__uuid { font-size: .85rem; font-weight: 600; letter-spacing: .01em; color: #3d2f2b; word-break: break-all; }
.icon-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}
.icon-button svg { width: 15px; height: 15px; }
.icon-button:hover { background: #f8f1ea; color: var(--ink); }

.vehicle-list { display: grid; gap: 12px; flex: 1; align-content: start; }
.vehicle {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, #fff 0%, #fdf7f1 100%);
}
.vehicle img { width: 104px; height: 80px; object-fit: contain; border-radius: 12px; background: #f7eee5; }
.vehicle__type { font-family: Manrope, Inter, sans-serif; font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; }
.plate {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #211719;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.vehicle__cover { display: flex; align-items: center; gap: 6px; margin-top: 9px; color: var(--muted); font-size: .78rem; font-weight: 650; }
.vehicle__cover svg { width: 13px; height: 13px; }
.vehicle__cover.is-live { color: #1c6740; }
.vehicle__cover.is-expired { color: #9c2014; }
.vehicle__cover.is-upcoming { color: #1b4f81; }

.stack-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.policy {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, #fff, #fdf8f3);
}
.policy__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.policy__state { font-size: .74rem; font-weight: 750; }
.policy__state.is-live { color: #1c6740; }
.policy__state.is-expired { color: #9c2014; }
.policy__state.is-upcoming { color: #1b4f81; }
.policy__insurer { margin-top: 7px; font-family: Manrope, Inter, sans-serif; font-size: 1.04rem; font-weight: 800; letter-spacing: -.02em; }
.policy__meta { margin-top: 3px; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.policy__term { margin-top: 8px; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.policy__remaining { margin-top: 4px; color: #1c6740; font-size: .78rem; font-weight: 700; }

.due {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid #ecdccf;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff8f1, #fdf1e9);
}
.due__label { color: #7a5450; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.due__value { margin-top: 2px; font-family: Manrope, Inter, sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.due__hint { color: var(--muted); font-size: .78rem; }

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  padding: 14px 16px;
  border: 1px solid #ecdccf;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff8f1, #fdf1e9);
}
.total span { color: #7a5450; font-size: .76rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.total strong { font-family: Manrope, Inter, sans-serif; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -.03em; }

.tx-list { margin-top: 4px; }
.tx { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.tx:first-child { border-top: 0; }
.tx__badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: #e8f5eb;
  color: #1c6740;
}
.tx__badge svg { width: 15px; height: 15px; stroke-width: 2.4; }
.tx__amount { font-family: Manrope, Inter, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tx__meta { margin-top: 2px; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }

.empty {
  display: grid;
  flex: 1;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: clamp(22px, 3vw, 30px) 18px;
  border: 1px dashed #e2d2c6;
  border-radius: 16px;
  background: #fdfaf6;
  text-align: center;
}
.empty__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: #f6ece3;
  color: #9c7a6b;
}
.empty__icon svg { width: 22px; height: 22px; }
.empty strong { font-family: Manrope, Inter, sans-serif; font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.empty p { max-width: 34ch; color: var(--muted); font-size: .83rem; line-height: 1.55; }

.driver-portal .panel { border-radius: 24px; }
.panel h2 { letter-spacing: -.025em; }
th { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
td { font-size: .88rem; }
.data { display: grid; margin: 0; }
.data > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.data > div:first-child { padding-top: 0; border-top: 0; }
.data dt { color: var(--muted); font-size: .86rem; }
.data dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }

@media(max-width:900px) {
  .account-grid > .card--details, .account-grid > .card--vehicle,
  .account-grid > .card--policies, .account-grid > .card--payments { grid-column: 1 / -1; }
}
@media(max-width:760px) {
  .account-meta { flex-direction: column; align-items: flex-start; gap: 3px; font-size: .88rem; }
  .account-meta__dot { display: none; }
}
@media(max-width:620px) {
  .account-hero__top { flex-direction: column; }
  .account-hero__aside { flex-direction: column; align-items: stretch; width: 100%; margin-left: 0; }
  .card__head { align-items: flex-start; }
  .card h2 { font-size: 1.05rem; }
  .card__badge { margin-top: 1px; }
  .account-hero__aside .status-pill { align-self: flex-start; }
  .account-hero__aside .button { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 11px; }
  .step { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .step__rail { display: contents; }
  .step__line { display: none; }
  .detail { grid-template-columns: 1fr; align-items: start; gap: 6px; }
  .vehicle { grid-template-columns: 88px minmax(0, 1fr); }
  .vehicle img { width: 88px; height: 68px; }
}
@media(max-width:400px) {
  .account-identity { align-items: flex-start; }
  .monogram { border-radius: 18px; }
  .total { flex-direction: column; align-items: flex-start; gap: 4px; }
}

.staff-portal {
  --ink: #221d20;
  --muted: #635d61;
  --forest: #be2338;
  --paper: #f1eeeb;
  --line: #e6e0dc;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}
.staff-portal .top { background: #fff; }
.staff-portal .brand .mark { color: transparent; background: url('/site/soza-mark.webp') center / contain no-repeat; }
.staff-portal :focus-visible { outline-color: var(--forest); }
.staff-portal .primary:hover { background: #95172a; }
.staff-portal .outline { border-color: #e3d9d5; color: var(--ink); }
.staff-portal .outline:hover { background: #f8efed; }
.staff-portal .field input, .staff-portal .field select { border-color: #ccbfb9; }
.staff-portal .panel { border-radius: 13px; }
.staff-signin { margin-top: clamp(12px, 5vw, 70px); }

.staff-in-app > .top { display: none; }
.staff-in-app .wrap { width: min(1530px, calc(100% - 68px)); }
.staff-in-app .workspace { padding-block: 28px; }
.desk-layout {
  --desk-sidebar-width: 218px;
  display: grid;
  grid-template-columns: var(--desk-sidebar-width) minmax(0, 1fr);
  min-height: calc(100vh - 56px);
  border: 1px solid #dcd5d0;
  border-radius: 12px;
  background: linear-gradient(90deg, #f5f3f1 var(--desk-sidebar-width), #fff var(--desk-sidebar-width));
  box-shadow: 0 10px 36px #3521250e;
}
.desk-sidebar {
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  height: calc(100svh - 58px);
  min-height: 300px;
  min-width: 0;
  border-right: 1px solid var(--line);
  border-radius: 11px 0 0 11px;
  background: #f5f3f1;
}
.desk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 69px;
  margin: 0 12px 14px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.desk-brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff url('/site/soza-mark.webp') center / 28px no-repeat;
}
.desk-brand b, .desk-brand small { display: block; }
.desk-brand b { font: 800 1rem/1.14 Manrope, Inter, sans-serif; letter-spacing: -.026em; }
.desk-brand small { margin-top: 4px; color: var(--muted); font-size: .75rem; }
.desk-nav { display: grid; gap: 3px; padding: 0 12px; }
.desk-nav-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.desk-nav-button svg { width: 16px; height: 16px; flex: none; }
.desk-nav-button:hover { background: #ede8e5; color: var(--ink); }
.desk-nav-button[aria-current] { background: #fff; color: #a31d31; border-color: #eadfda; box-shadow: 0 1px 2px #3521250b; }
.desk-sidebar-footer { margin: auto 12px 14px; padding: 13px 4px 0; border-top: 1px solid var(--line); }
.desk-roles { margin: 0 0 9px; color: var(--muted); font-size: .76rem; }
.desk-exit .button { width: 100%; min-height: 37px; border-radius: 7px; }
.desk-content, .desk-results { min-width: 0; }
.desk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 17px;
  min-height: 69px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
}
.desk-header h1 { margin: 0; font-size: clamp(1.25rem, 2.25vw, 1.72rem); line-height: 1.12; letter-spacing: -.046em; }
.desk-header p { max-width: 74ch; margin-top: 4px; color: var(--muted); font-size: .77rem; line-height: 1.45; }
.desk-header .button { min-height: 37px; border-radius: 7px; font-size: .8rem; }
.desk-feedback .notice:not(:empty) { position: static; max-width: none; margin: 12px 20px; box-shadow: none; }
.desk-content > .panel, .desk-content > .account-grid { margin: 0 20px 18px; }
.desk-content > .account-grid { gap: 14px; }
.desk-record-top { margin: 17px 20px; }
.desk-record-top .account-toolbar { margin-bottom: 12px; }

.desk-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.desk-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-width: 0;
  min-height: 90px;
  padding: 12px clamp(12px, 1.35vw, 20px);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--muted);
  font-size: .81rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.desk-metric:last-child { border-right: 0; }
.desk-metric:hover { background: #fcf7f5; }
.desk-metric:focus-visible { outline-offset: -3px; }
.desk-metric-copy { min-width: 0; display: grid; gap: 6px; }
.desk-metric strong { color: var(--ink); font: 760 1.78rem/1 Manrope, Inter, sans-serif; letter-spacing: -.054em; font-variant-numeric: tabular-nums; }
.desk-sparkline { width: 88px; height: 32px; max-width: 42%; flex: none; }

.desk-card { min-width: 0; }
.desk-status-nav { display: flex; gap: 1px; padding: 0 18px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.desk-status-button {
  flex: none;
  min-height: 44px;
  padding: 0 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: #fff;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 620;
  cursor: pointer;
}
.desk-status-button:hover { color: var(--ink); }
.desk-status-button[aria-pressed="true"] { border-color: #be2338; color: #a31d31; }
.desk-status-button:focus-visible { outline-offset: -3px; }
.desk-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 11px 17px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
}
.desk-tools h2 { align-self: center; font-size: .96rem; letter-spacing: -.028em; }
.desk-search { flex: 1 1 295px; display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.desk-search > .field { flex: 1 1 185px; max-width: 290px; }
.desk-filters { margin-left: auto; }
.desk-tools .field { gap: 4px; font-size: .75rem; }
.desk-tools .field input, .desk-tools .field select { min-height: 36px; border-color: #e4ddda; border-radius: 6px; background: #f7f5f3; font-size: .84rem; }
.desk-tools .button { min-height: 36px; padding-inline: 12px; border-radius: 6px; font-size: .79rem; }
.desk-empty { padding: 26px 20px; color: var(--muted); line-height: 1.55; font-size: .9rem; }
.desk-empty .button { margin-top: 12px; }
.desk-table { table-layout: auto; }
.desk-table :is(th, td) { padding: 10px 15px; vertical-align: middle; overflow-wrap: anywhere; border-color: #eee9e6; }
.desk-table thead th { background: #faf8f7; color: #675d61; font-size: .68rem; font-weight: 700; letter-spacing: .055em; white-space: nowrap; }
.desk-table tbody th { color: var(--ink); font-size: .84rem; font-weight: 720; letter-spacing: 0; text-transform: none; }
.desk-table tbody td { color: var(--muted); font-size: .82rem; }
.desk-table tbody tr:hover { background: #fdf9f7; }
.desk-table tbody td:last-child { width: 95px; }
.desk-table .status-pill { border-radius: 5px; padding: 4px 7px; gap: 5px; font-size: .72rem; line-height: 1.15; }
.desk-table .status-pill::before { width: 5px; height: 5px; }
.desk-open { min-height: 33px; padding-inline: 10px; border-radius: 6px; white-space: nowrap; font-size: .75rem; }
.desk-pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 11px 20px; border-top: 1px solid var(--line); font-size: .77rem; color: var(--muted); }

@media (max-width: 1030px) {
  .desk-layout { --desk-sidebar-width: 172px; }
  .desk-sparkline { max-width: 32%; }
  .desk-tools h2 { flex-basis: 100%; }
  .desk-table .desk-col-date { display: none; }
}
@media (max-width: 780px) {
  .staff-in-app .wrap { width: calc(100% - 28px); }
  .staff-in-app .workspace { padding-block: 14px; }
  .desk-layout { grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 28px); background: #fff; }
  .desk-sidebar { position: relative; top: auto; min-height: 0; height: auto; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 11px 11px 0 0; }
  .desk-brand { min-height: 58px; margin-bottom: 0; }
  .desk-nav { display: flex; flex-wrap: wrap; gap: 3px; padding: 7px 12px; }
  .desk-nav-button { flex: 1; justify-content: center; padding-inline: 6px; font-size: .8rem; }
  .desk-sidebar-footer { position: absolute; top: 11px; right: 13px; margin: 0; padding: 0; border: 0; }
  .desk-roles { display: none; }
}
@media (max-width: 535px) {
  .desk-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desk-metric { min-height: 76px; }
  .desk-metric:nth-child(2) { border-right: 0; }
  .desk-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .desk-metric strong { font-size: 1.55rem; }
  .desk-header, .desk-tools, .desk-pagination { padding-inline: 12px; }
  .desk-status-nav { padding-inline: 7px; }
  .desk-status-button { padding-inline: 9px; }
  .desk-tools .field input { max-width: none; }
  .desk-search > .field { flex-basis: 150px; }
  .desk-filters { margin-left: 0; }
  .desk-table :is(th, td) { padding: 9px 8px; }
  .desk-table .desk-col-region, .desk-table .desk-col-vehicle { display: none; }
  .desk-table tbody td:last-child { width: 65px; }
  .desk-table .status-pill { white-space: normal; }
  .desk-open { min-height: 40px; padding-inline: 7px; }
  .desk-content > .panel, .desk-content > .account-grid, .desk-record-top { margin-inline: 11px; }
}
