:root {
  --brand: #246bfd;
  --brand-dark: #0b1830;
  --brand-soft: #eef4ff;
  --ink: #172033;
  --muted: #6f788b;
  --line: #e7eaf0;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --success: #168b5a;
  --success-soft: #eaf8f1;
  --warning: #b66b0f;
  --warning-soft: #fff5e6;
  --danger: #c23e4a;
  --shadow: 0 18px 50px rgba(14, 31, 57, 0.11);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { min-width: 320px; color-scheme: light; }
body { margin: 0; min-height: 100vh; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand-lockup strong { font-family: "Manrope", sans-serif; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, 44%) 1fr; background: white; }
.login-brand { position: relative; overflow: hidden; display: flex; min-height: 100vh; padding: 46px 9%; flex-direction: column; color: #fff; background: radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 35%), linear-gradient(145deg, #0b1830 0%, #102c52 100%); }
.login-brand::before { content: ""; position: absolute; width: 390px; height: 390px; right: -250px; top: 11%; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.brand-lockup { display: flex; gap: 12px; align-items: center; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--brand); font: 800 15px/1 "Manrope", sans-serif; letter-spacing: -.03em; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 30%, transparent); }
.brand-lockup strong, .brand-lockup span { display: block; }
.brand-lockup strong { font-size: 15px; line-height: 1.15; letter-spacing: -.02em; }
.brand-lockup span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.brand-lockup--light span { color: rgba(255,255,255,.62); }
.login-copy { position: relative; z-index: 1; margin: auto 0; max-width: 530px; padding: 65px 0 50px; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--brand); font: 800 11px/1.2 "Manrope", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--light { color: #92b6ff; }
.login-copy h1 { margin-bottom: 22px; font-size: clamp(42px, 4vw, 68px); line-height: 1.04; letter-spacing: -.055em; }
.login-copy h1 em { color: #79a8ff; font-style: normal; }
.login-copy p { max-width: 470px; margin: 0; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.65; }
.login-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.login-proof div { display: flex; flex-direction: column; }
.login-proof strong { font: 800 18px/1.2 "Manrope", sans-serif; }
.login-proof span { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 12px; }
.login-panel { display: flex; min-height: 100vh; padding: 42px; align-items: center; justify-content: center; flex-direction: column; }
.mobile-brand { display: none; }
.login-card { width: min(100%, 430px); }
.login-card header { margin-bottom: 32px; }
.login-card h2 { margin-bottom: 8px; font-size: 32px; letter-spacing: -.04em; }
.login-card header p { color: var(--muted); }
.field { display: block; margin-bottom: 18px; }
.field > span:first-child { display: block; margin-bottom: 8px; font-weight: 700; font-size: 13px; }
.field input, .field select, .field textarea, .toolbar select { width: 100%; border: 1px solid #dce1e9; border-radius: 11px; outline: 0; color: var(--ink); background: white; transition: .2s ease; }
.field input, .field select, .toolbar select { height: 48px; padding: 0 14px; }
.field textarea { padding: 13px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .toolbar select:focus, .search-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 13%, transparent); }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 50px; }
.icon-button { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 0; border-radius: 11px; background: transparent; }
.icon-button:hover { background: #f0f3f8; }
.password-wrap .icon-button { position: absolute; right: 3px; top: 3px; color: var(--muted); }
.login-options { display: flex; margin: -2px 0 22px; align-items: center; justify-content: space-between; font-size: 13px; }
.check { display: flex; align-items: flex-start; gap: 8px; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); }
.text-button { padding: 0; border: 0; color: var(--brand); background: transparent; font-weight: 700; font-size: 13px; }
.form-error { min-height: 20px; margin: -10px 0 8px; color: var(--danger); font-size: 12px; }
.button { display: inline-flex; min-height: 46px; padding: 0 18px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 11px; font-weight: 800; font-size: 13px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: white; background: var(--brand); box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 22%, transparent); }
.button--primary:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.button--ghost { border: 1px solid var(--line); color: var(--ink); background: white; box-shadow: none; }
.button--wide { width: 100%; }
.button svg { width: 18px; height: 18px; }
.demo-note { margin-top: 20px; padding: 15px 18px; text-align: center; border: 1px dashed #ccd5e5; border-radius: 11px; background: #f8faff; }
.demo-note span { color: var(--muted); font: 800 9px/1 "Manrope", sans-serif; letter-spacing: .1em; }
.demo-note p { margin: 7px 0 0; font-size: 12px; }
.login-support { margin: 24px 0 0; color: var(--muted); font-size: 12px; }

.portal { min-height: 100vh; padding-left: 245px; }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; width: 245px; padding: 28px 20px 20px; flex-direction: column; color: white; background: var(--brand-dark); }
.sidebar-brand { padding: 0 8px; }
.side-nav { display: flex; margin-top: 45px; flex-direction: column; gap: 6px; }
.nav-item { position: relative; display: flex; width: 100%; height: 47px; padding: 0 12px; align-items: center; gap: 12px; border: 0; border-radius: 11px; color: rgba(255,255,255,.62); background: transparent; text-align: left; font-weight: 600; font-size: 13px; }
.nav-item:hover { color: white; background: rgba(255,255,255,.07); }
.nav-item.is-active { color: white; background: color-mix(in srgb, var(--brand) 42%, transparent); }
.nav-item svg { width: 19px; height: 19px; }
.nav-badge { margin-left: auto; display: grid; width: 22px; height: 22px; place-items: center; color: white; background: rgba(255,255,255,.12); border-radius: 999px; font-size: 10px; }
.nav-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #ffb03a; box-shadow: 0 0 0 4px rgba(255,176,58,.13); }
.sidebar-foot { margin-top: auto; }
.profile-card { display: flex; width: 100%; margin-top: 16px; padding: 14px 8px 0; align-items: center; gap: 10px; border: 0; border-top: 1px solid rgba(255,255,255,.1); color: white; background: transparent; text-align: left; }
.avatar, .topbar-avatar { display: grid; place-items: center; border-radius: 50%; color: white; background: var(--brand); font-size: 11px; font-weight: 800; }
.avatar { width: 36px; height: 36px; }
.profile-card > span:nth-child(2) { min-width: 0; flex: 1; }
.profile-card strong, .profile-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-card strong { font-size: 11px; }
.profile-card small { margin-top: 3px; color: rgba(255,255,255,.45); font-size: 9px; }
.profile-card svg { width: 14px; color: rgba(255,255,255,.35); }
.topbar { position: sticky; z-index: 10; top: 0; display: flex; height: 70px; padding: 0 3.2vw; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); }
.topbar-title { color: var(--muted); font-size: 13px; font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.notification-button { position: relative; color: var(--muted); }
.notification-button span { position: absolute; right: 8px; top: 8px; width: 7px; height: 7px; border: 2px solid white; border-radius: 50%; background: #e4545e; }
.topbar-avatar { width: 34px; height: 34px; }
.mobile-menu { display: none; }
.main-content { max-width: 1500px; margin: 0 auto; padding: 40px 3.2vw 70px; }
.page-view { display: none; animation: fadeIn .25s ease; }
.page-view.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }
.welcome-row, .section-header { display: flex; margin-bottom: 28px; align-items: flex-end; justify-content: space-between; gap: 22px; }
.welcome-row h1, .section-header h1 { margin-bottom: 7px; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.045em; }
.welcome-row p, .section-header p { margin: 0; color: var(--muted); font-size: 14px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.metric-card { display: flex; min-height: 132px; padding: 23px; align-items: center; gap: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-align: left; transition: .2s ease; }
.metric-card:hover { transform: translateY(-2px); border-color: #d7dfec; box-shadow: 0 11px 25px rgba(16,35,63,.07); }
.metric-icon { display: grid; width: 50px; height: 50px; flex: 0 0 auto; place-items: center; border-radius: 14px; }
.metric-icon--blue { color: var(--brand); background: var(--brand-soft); }
.metric-icon--amber { color: var(--warning); background: var(--warning-soft); }
.metric-icon--green { color: var(--success); background: var(--success-soft); }
.metric-card small, .metric-card strong, .metric-card em { display: block; }
.metric-card small { color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-card strong { margin: 3px 0 1px; font: 800 25px/1.2 "Manrope", sans-serif; }
.metric-card em { color: var(--brand); font-style: normal; font-size: 10px; font-weight: 800; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(285px, .8fr); gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.panel-header { display: flex; padding: 22px 24px 18px; align-items: flex-start; justify-content: space-between; }
.panel-header h2 { margin-bottom: 4px; font-size: 17px; letter-spacing: -.025em; }
.panel-header p { margin: 0; color: var(--muted); font-size: 11px; }
.text-button--arrow { align-self: center; }
.text-button--arrow span { margin-left: 4px; }
.process-list { padding: 0 12px 12px; }
.process-row { display: grid; grid-template-columns: 44px minmax(150px, 1.3fr) minmax(110px, .8fr) auto 18px; min-height: 76px; padding: 12px; align-items: center; gap: 13px; border-top: 1px solid var(--line); cursor: pointer; }
.process-row:hover { background: #fafbfe; }
.vehicle-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; color: var(--brand); background: var(--brand-soft); }
.vehicle-icon svg { width: 22px; }
.process-row strong, .process-row small { display: block; }
.process-row strong { font-size: 12px; }
.process-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.process-row > small { margin: 0; }
.process-arrow { color: #a9afba; }
.status { display: inline-flex; width: max-content; min-height: 25px; padding: 0 10px; align-items: center; gap: 6px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status--blue { color: #225eca; background: #edf3ff; }
.status--amber { color: var(--warning); background: var(--warning-soft); }
.status--green { color: var(--success); background: var(--success-soft); }
.count-pill { display: grid; min-width: 26px; height: 26px; padding: 0 7px; place-items: center; color: var(--warning); background: var(--warning-soft); border-radius: 999px; font-size: 10px; font-weight: 800; }
.pending-list { padding: 0 12px 12px; }
.pending-item { display: flex; min-height: 90px; padding: 15px 12px; align-items: flex-start; gap: 12px; border-top: 1px solid var(--line); }
.pending-item > svg { flex: 0 0 auto; margin-top: 2px; color: var(--warning); }
.pending-item strong, .pending-item small { display: block; }
.pending-item strong { margin-bottom: 4px; font-size: 11px; }
.pending-item small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.pending-item button { margin-top: 7px; }

.toolbar { display: flex; margin-bottom: 18px; align-items: center; gap: 12px; }
.search-field { display: flex; height: 46px; max-width: 520px; flex: 1; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.search-field svg { width: 18px; color: var(--muted); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; }
.toolbar select { width: auto; min-width: 190px; padding: 0 35px 0 13px; font-size: 12px; }
.process-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.process-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: white; cursor: pointer; transition: .2s ease; }
.process-card:hover { transform: translateY(-2px); box-shadow: 0 11px 25px rgba(16,35,63,.07); }
.process-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.process-card h3 { margin: 18px 0 4px; font-size: 15px; }
.process-card p { margin-bottom: 18px; color: var(--muted); font-size: 11px; }
.plate { display: inline-flex; padding: 6px 9px; border: 1px solid #cfd5df; border-radius: 6px; background: #f9fafc; font: 800 11px/1 "Manrope", sans-serif; letter-spacing: .05em; }
.process-progress { height: 5px; overflow: hidden; border-radius: 999px; background: #edf0f4; }
.process-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.process-card-footer { display: flex; margin-top: 10px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); }

.document-panel { overflow: hidden; }
.document-head, .document-row { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 1fr) 110px 74px; align-items: center; gap: 18px; }
.document-head { padding: 13px 22px; color: var(--muted); background: #f8f9fc; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.document-row { min-height: 76px; padding: 13px 22px; border-top: 1px solid var(--line); }
.document-name { display: flex; min-width: 0; align-items: center; gap: 12px; }
.file-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #db4c55; background: #fff0f1; font-size: 9px; font-weight: 800; }
.file-icon--image { color: #2766c7; background: #eef4ff; }
.document-name strong, .document-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-name strong { font-size: 11px; }
.document-name small, .document-process, .document-date { color: var(--muted); font-size: 9px; }
.document-process strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 10px; }
.document-actions { display: flex; justify-content: flex-end; gap: 3px; }
.document-actions button { color: var(--muted); }
.document-actions button:hover { color: var(--brand); }

.closing-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: 20px; align-items: start; }
.closing-summary, .billing-form { padding: 24px; }
.closing-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.closing-hero div span, .closing-hero div strong { display: block; }
.closing-hero div span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.closing-hero div strong { margin-top: 5px; font: 700 16px/1.2 "Manrope", sans-serif; }
.closing-total { margin: 22px 0; padding: 25px; border-radius: 14px; color: white; background: linear-gradient(135deg, var(--brand-dark), color-mix(in srgb, var(--brand-dark) 78%, var(--brand))); }
.closing-total span, .closing-total strong, .closing-total small { display: block; }
.closing-total span { color: rgba(255,255,255,.6); font-size: 10px; }
.closing-total strong { margin: 7px 0 4px; font: 800 30px/1.2 "Manrope", sans-serif; }
.closing-total small { color: rgba(255,255,255,.67); font-size: 10px; }
.closing-items { margin-bottom: 20px; }
.closing-items > div { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.closing-items span strong, .closing-items span small { display: block; }
.closing-items span strong { font-size: 11px; }
.closing-items span small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.closing-items b { font-size: 11px; }
.billing-form header { margin-bottom: 22px; }
.billing-form h2 { margin-bottom: 6px; font-size: 17px; }
.billing-form header p, .form-hint { color: var(--muted); font-size: 10px; line-height: 1.5; }
.consent { margin: 5px 0 20px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.form-hint { margin: 11px 0 0; text-align: center; }

.bottom-nav { display: none; }
.modal { width: min(92vw, 520px); max-height: 90vh; padding: 30px; overflow: auto; border: 0; border-radius: 20px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(6,16,32,.62); backdrop-filter: blur(4px); }
.modal-close { position: absolute; right: 14px; top: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 9px; color: var(--muted); background: #f3f5f8; font-size: 22px; }
.modal header { margin-bottom: 24px; padding-right: 30px; }
.modal h2 { margin-bottom: 7px; font-size: 23px; letter-spacing: -.035em; }
.modal header p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.dropzone { display: flex; min-height: 155px; margin: 8px 0 20px; padding: 20px; align-items: center; justify-content: center; flex-direction: column; border: 1.5px dashed #cbd3e0; border-radius: 13px; background: #fafbfe; cursor: pointer; }
.dropzone:hover, .dropzone.is-dragging { border-color: var(--brand); background: var(--brand-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone svg { width: 27px; height: 27px; margin-bottom: 10px; color: var(--brand); }
.dropzone strong { font-size: 11px; }
.dropzone span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.color-field input { padding: 5px; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: min(380px, calc(100vw - 32px)); padding: 14px 17px; color: white; background: var(--brand-dark); border-radius: 11px; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s ease; font-size: 12px; font-weight: 700; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.process-detail-head { display: flex; margin-bottom: 22px; align-items: flex-start; gap: 14px; }
.process-detail-head .vehicle-icon { width: 48px; height: 48px; }
.process-detail-head h2 { margin: 0 0 4px; }
.process-detail-head p { margin: 0; color: var(--muted); font-size: 11px; }
.timeline { position: relative; margin: 26px 0 8px 10px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 7px; bottom: 16px; width: 2px; background: var(--line); }
.timeline-item { position: relative; min-height: 62px; padding-left: 32px; }
.timeline-item::before { content: ""; position: absolute; z-index: 1; left: 0; top: 3px; width: 11px; height: 11px; border: 2px solid white; border-radius: 50%; background: #cbd1db; box-shadow: 0 0 0 2px #cbd1db; }
.timeline-item.is-done::before { background: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.timeline-item strong, .timeline-item small { display: block; }
.timeline-item strong { font-size: 11px; }
.timeline-item small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.process-alert { margin-top: 18px; padding: 15px; border-radius: 11px; color: var(--warning); background: var(--warning-soft); font-size: 10px; line-height: 1.5; }

@media (max-width: 1020px) {
  .login-shell { grid-template-columns: 40% 1fr; }
  .login-brand { padding: 38px 11%; }
  .login-copy h1 { font-size: 43px; }
  .portal { padding-left: 218px; }
  .sidebar { width: 218px; }
  .content-grid, .closing-layout { grid-template-columns: 1fr; }
  .pending-panel { min-height: auto; }
}

@media (max-width: 760px) {
  .login-shell { display: block; }
  .login-brand { display: none; }
  .login-panel { min-height: 100vh; padding: 28px 22px; justify-content: flex-start; }
  .mobile-brand { display: flex; width: 100%; margin-bottom: auto; }
  .login-card { margin: 45px 0 auto; }
  .login-card h2 { font-size: 28px; }
  .login-support { margin-top: 28px; }

  .portal { padding: 0; }
  .sidebar { width: min(82vw, 280px); transform: translateX(-103%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .sidebar.is-open { transform: translateX(0); }
  .topbar { height: 62px; padding: 0 16px; }
  .mobile-menu { display: grid; }
  .topbar-title { display: none; }
  .topbar-actions { margin-left: auto; }
  .main-content { padding: 27px 16px 92px; }
  .welcome-row, .section-header { align-items: flex-start; }
  .welcome-row .button, .section-header--actions .button { width: 46px; min-width: 46px; padding: 0; }
  .welcome-row .button { font-size: 0; }
  .section-header--actions .button { font-size: 0; }
  .welcome-row .button svg, .section-header--actions .button svg { width: 19px; height: 19px; }
  .welcome-row h1, .section-header h1 { font-size: 27px; }
  .welcome-row p, .section-header p { max-width: 270px; font-size: 12px; line-height: 1.5; }
  .metric-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .metric-card { min-height: 115px; padding: 13px 8px; justify-content: center; flex-direction: column; gap: 8px; text-align: center; }
  .metric-icon { width: 37px; height: 37px; border-radius: 10px; }
  .metric-icon svg { width: 18px; height: 18px; }
  .metric-card small { font-size: 8px; }
  .metric-card strong { font-size: 20px; }
  .metric-card em { display: none; }
  .panel-header { padding: 19px 17px 15px; }
  .process-list { padding: 0 6px 6px; }
  .process-row { grid-template-columns: 39px 1fr auto; padding: 11px; gap: 10px; }
  .process-row > small, .process-row .process-arrow { display: none; }
  .process-row .status { grid-column: 2; margin-top: -10px; }
  .vehicle-icon { width: 37px; height: 37px; }
  .process-cards { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar select { width: 100%; }
  .document-head { display: none; }
  .document-row { position: relative; grid-template-columns: 1fr auto; min-height: 92px; padding: 16px; gap: 7px; }
  .document-name { grid-column: 1; }
  .document-process { grid-column: 1; padding-left: 50px; }
  .document-date { display: none; }
  .document-actions { grid-column: 2; grid-row: 1 / span 2; }
  .closing-summary, .billing-form { padding: 18px; }
  .closing-hero { align-items: flex-start; flex-direction: column; }
  .bottom-nav { position: fixed; z-index: 15; inset: auto 0 0; display: grid; height: 68px; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
  .bottom-nav button { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; border: 0; color: #8a92a1; background: transparent; font-size: 8px; font-weight: 700; }
  .bottom-nav button.is-active { color: var(--brand); }
  .bottom-nav svg { width: 19px; height: 19px; }
  .bottom-nav i { position: absolute; top: 9px; right: calc(50% - 15px); width: 6px; height: 6px; border: 1.5px solid white; border-radius: 50%; background: #f0a028; }
  .modal { padding: 25px 20px; }
  .toast { right: 16px; bottom: 83px; }
}

@media (max-width: 390px) {
  .main-content { padding-inline: 12px; }
  .metric-grid { gap: 6px; }
  .metric-card { padding-inline: 5px; }
  .closing-items b { white-space: nowrap; }
}
