:root {
  --brand-blue: #2f6bff;
  --brand-violet: #795cff;
  --brand-gradient: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-violet) 100%);
  --ink: #112a46;
  --ink-soft: #5d6e82;
  --canvas: #f5f7fb;
  --surface: #ffffff;
  --line: #e4e9f1;
  --blue: var(--brand-blue);
  --blue-dark: #1c49c2;
  --blue-pale: #eaf1ff;
  --green: #159a70;
  --green-pale: #e8f8f1;
  --amber: #bf7d10;
  --amber-pale: #fff5df;
  --purple: #7656e6;
  --purple-pale: #f0ecff;
  --danger: #c84c55;
  --shadow: 0 14px 42px rgba(26, 55, 88, 0.08);
  --radius: 18px;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(40, 101, 233, 0.24); outline-offset: 2px; }

.app-shell { display: grid; grid-template-columns: 278px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 28px 17px 18px; background: #fff; border-right: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; margin: 0 13px 34px; color: var(--ink); text-decoration: none; font-size: 26px; font-weight: 800; letter-spacing: -1.4px; }
.brand-dot { color: var(--blue); }
.brand-mark { width: 32px; height: 32px; display: block; flex: 0 0 auto; }
.garage-identity { display: flex; align-items: center; gap: 10px; padding: 12px; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 14px; }
.garage-identity > div { min-width: 0; flex: 1; }.garage-identity strong, .garage-identity span:not(.avatar) { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }.garage-identity strong { font-size: 12px; }.garage-identity span:not(.avatar) { margin-top: 2px; color: var(--ink-soft); font-size: 10px; }
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 10px; color: var(--blue-dark); background: var(--blue-pale); font-size: 10px; font-weight: 800; }.avatar-dark { color:#fff; background: var(--ink); }.avatar-owner { color: #6f4cb9; background: var(--purple-pale); }
.icon-button { display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:10px; background:transparent; color:var(--ink-soft); font-size:22px; }.icon-button:hover { background:var(--canvas); color:var(--ink); }.icon-button.subtle { width:24px; height:24px; font-size:16px; }
.nav-list { display:grid; gap:5px; }.nav-link { display:flex; align-items:center; gap:12px; width:100%; padding:11px 13px; border:0; border-radius:11px; background:transparent; color:#647287; text-align:left; font-size:13px; font-weight:700; }.nav-link:hover { color:var(--ink); background:var(--canvas); }.nav-link.is-active { color:var(--blue-dark); background:var(--blue-pale); }.nav-icon { width:17px; color:currentColor; text-align:center; font-size:18px; font-weight:400; }.nav-badge { margin-left:auto; display:grid; place-items:center; min-width:19px; height:19px; padding:0 5px; border-radius:20px; background:#dbe5f9; color:var(--blue-dark); font-size:10px; }
.sidebar-bottom { display:grid; gap:12px; margin-top:auto; }.support-card { display:flex; gap:10px; align-items:center; padding:12px; border:0; border-radius:13px; background:#f6f8fc; color:var(--ink); text-align:left; }.support-icon { display:grid; place-items:center; width:28px; height:28px; border-radius:9px; background:#dde8ff; color:var(--blue); font-weight:800; }.support-card strong, .support-card small, .profile-button strong, .profile-button small { display:block; }.support-card strong { font-size:11px; }.support-card small, .profile-button small { margin-top:2px; color:var(--ink-soft); font-size:10px; }.profile-button { display:flex; align-items:center; gap:9px; width:100%; padding:8px 4px; border:0; background:transparent; color:var(--ink); text-align:left; }.profile-button > span:nth-child(2) { min-width:0; flex:1; }.profile-button strong { font-size:11px; }

.main-content { min-width:0; }.topbar { display:flex; align-items:center; justify-content:space-between; height:76px; padding:0 clamp(24px, 4vw, 62px); background:rgba(255,255,255,.8); border-bottom:1px solid var(--line); backdrop-filter: blur(14px); }.context-label span { display:block; margin-bottom:2px; color:var(--ink-soft); font-size:10px; font-weight:700; }.context-label strong { font-size:14px; }.topbar-actions { display:flex; align-items:center; gap:12px; }.today-button { padding:9px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink-soft); font-size:11px; font-weight:700; }.today-button .today-dot { color:var(--green); font-size:10px; }.notification-button { position:relative; display:grid; place-items:center; width:35px; height:35px; border:0; border-radius:10px; background:transparent; color:var(--ink); font-size:20px; }.notification-button:hover { background:var(--canvas); }.notification-button span { position:absolute; top:7px; right:7px; width:6px; height:6px; border:1px solid #fff; border-radius:50%; background:#ec5c56; }.mobile-menu { display:none; }
.view { display:none; max-width:1420px; margin:0 auto; padding:41px clamp(24px, 4vw, 62px) 70px; }.view.is-visible { display:block; }.hero-row, .page-heading-row { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }.eyebrow { margin:0 0 8px; color:var(--blue); font-size:10px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }.hero-row h1, .page-heading-row h1 { margin:0; color:var(--ink); font-size:clamp(26px,3vw,34px); line-height:1.13; letter-spacing:-1.4px; }.intro { margin:8px 0 0; color:var(--ink-soft); font-size:13px; }.button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:41px; padding:0 15px; border:0; border-radius:10px; font-size:12px; font-weight:800; transition:transform .15s, background .15s, box-shadow .15s; }.button:hover { transform:translateY(-1px); }.button-primary { background:var(--blue); color:#fff; box-shadow:0 8px 17px rgba(40,101,233,.2); }.button-primary:hover { background:var(--blue-dark); }.button-secondary { background:var(--blue-pale); color:var(--blue-dark); }.button-secondary:hover { background:#dce8ff; }.button-dark { background:var(--ink); color:#fff; }.button-dark:hover { background:#203d5c; }.button-ghost { background:#f2f5fa; color:var(--ink-soft); }.button-ghost:hover { background:#e7edf5; }.full-button { width:100%; }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:34px; }.metric-card { position:relative; min-height:147px; overflow:hidden; padding:19px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:0 5px 18px rgba(34,63,94,.025); }.metric-card::before { position:absolute; top:0; left:0; width:100%; height:3px; content:""; }.metric-label { display:block; color:var(--ink-soft); font-size:11px; font-weight:700; }.metric-value { display:block; margin:14px 0 5px; font-size:28px; line-height:1; letter-spacing:-1.2px; }.metric-card small { color:#7d8999; font-size:10px; }.metric-card small b { color:var(--green); }.metric-icon { position:absolute; right:17px; bottom:15px; color:#bcc9da; font-size:25px; }.accent-blue::before { background:var(--blue); }.accent-green::before { background:var(--green); }.accent-amber::before { background:var(--amber); }.accent-purple::before { background:var(--purple); }.accent-amber small b { color:var(--amber); }.accent-purple small b { color:var(--purple); }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr); gap:17px; margin-top:17px; }.content-card { border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:0 5px 18px rgba(34,63,94,.025); }.work-order-card, .earning-card { padding:22px; }.card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:17px; }.card-heading h2, .info-card h3, .report-card h2 { margin:0; font-size:14px; letter-spacing:-.35px; }.card-heading p { margin:4px 0 0; color:var(--ink-soft); font-size:10px; }.card-heading.compact { margin-bottom:7px; }.text-button { border:0; padding:2px 0; background:transparent; color:var(--blue); font-size:10px; font-weight:800; white-space:nowrap; }.text-button:hover { color:var(--blue-dark); }.work-order-list { display:grid; }.order-row { display:grid; grid-template-columns:34px minmax(130px,1fr) minmax(90px,.8fr) auto auto; align-items:center; gap:12px; padding:13px 0; border-top:1px solid #edf0f5; }.order-row:first-child { border-top:0; }.car-token { display:grid; place-items:center; width:33px; height:33px; border-radius:9px; background:#eff3fa; color:#587295; font-size:16px; }.order-main strong, .order-main small { display:block; }.order-main strong { font-family:"DM Mono",monospace; color:var(--ink); font-size:11px; }.order-main small, .order-type { margin-top:2px; color:var(--ink-soft); font-size:10px; }.order-type { line-height:1.4; }.order-time { min-width:40px; color:var(--ink-soft); font-family:"DM Mono",monospace; font-size:10px; text-align:right; }.status-pill { display:inline-flex; align-items:center; width:max-content; padding:5px 8px; border-radius:6px; font-size:9px; font-weight:800; white-space:nowrap; }.status-pill.success { color:#087655; background:var(--green-pale); }.status-pill.waiting { color:#9c6605; background:var(--amber-pale); }.status-pill.neutral { color:#617083; background:#eff2f7; }.status-pill.info { color:#3555a4; background:#eaf0ff; }
.earning-card { background:linear-gradient(145deg,#fff 0%,#fbfcff 100%); }.earnings-total { display:flex; align-items:flex-start; margin:21px 0 18px; color:var(--ink); }.earnings-total span { margin:5px 4px 0 0; color:var(--blue); font-size:16px; font-weight:800; }.earnings-total strong { font-size:34px; letter-spacing:-1.5px; }.earnings-breakdown { display:grid; gap:9px; }.earnings-breakdown div { display:grid; grid-template-columns:9px 1fr auto; align-items:center; gap:7px; font-size:10px; }.earnings-breakdown div span:nth-child(2) { color:var(--ink-soft); }.earnings-breakdown strong { font-size:10px; }.legend-dot { width:7px; height:7px; border-radius:50%; }.legend-dot.blue { background:var(--blue); }.legend-dot.purple { background:var(--purple); }.mini-chart { display:flex; align-items:end; gap:8px; height:55px; margin:23px 0 10px; padding:0 5px; border-bottom:1px solid #edf0f5; }.mini-chart span { flex:1; min-height:7px; border-radius:5px 5px 1px 1px; background:linear-gradient(180deg,#8aaeff,#346feb); }.mini-chart span:nth-child(2n) { background:linear-gradient(180deg,#c3b3ff,#8463e9); }.earning-note { margin:0; color:#8893a1; font-size:9px; line-height:1.45; }
.quick-register-panel { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:17px; padding:21px 24px; border:1px solid #dce5f8; border-radius:var(--radius); background:linear-gradient(105deg,#ebf2ff,#f5f8ff); }.quick-copy { display:flex; align-items:center; gap:13px; }.quick-icon { display:grid; place-items:center; width:37px; height:37px; border-radius:12px; background:var(--blue); color:#fff; font-size:22px; }.quick-copy h2 { margin:0; font-size:14px; }.quick-copy p { max-width:525px; margin:4px 0 0; color:#617188; font-size:10px; line-height:1.5; }.plate-search { display:flex; flex:0 0 370px; padding:4px; border:1px solid #d3def2; border-radius:12px; background:white; }.plate-search input { min-width:0; flex:1; border:0; outline:0; padding:0 11px; color:var(--ink); font-family:"DM Mono",monospace; font-size:12px; font-weight:500; text-transform:uppercase; }.plate-search input::placeholder { color:#a5afbd; text-transform:none; font-family:Manrope,sans-serif; font-weight:500; }.plate-search .button { min-height:35px; }
.filter-bar { display:flex; align-items:center; gap:8px; margin:30px 0 16px; overflow:auto; padding-bottom:2px; }.filter-search { display:flex; align-items:center; gap:8px; min-width:220px; padding:9px 11px; border:1px solid var(--line); border-radius:10px; background:#fff; color:#94a0af; }.filter-search input { width:100%; border:0; outline:0; background:transparent; color:var(--ink); font-size:11px; }.filter-chip { flex:0 0 auto; padding:8px 10px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--ink-soft); font-size:10px; font-weight:800; }.filter-chip:hover, .filter-chip.is-selected { border-color:#d7e3ff; background:var(--blue-pale); color:var(--blue-dark); }.filter-chip span { margin-left:3px; color:inherit; }.table-card { overflow:hidden; }.table-wrap { width:100%; overflow:auto; }table { width:100%; min-width:730px; border-collapse:collapse; }th { padding:13px 20px; border-bottom:1px solid var(--line); background:#fbfcfe; color:#78879a; font-size:9px; letter-spacing:.03em; text-align:left; text-transform:uppercase; }td { padding:15px 20px; border-bottom:1px solid #edf1f6; color:#52647a; font-size:11px; vertical-align:middle; }tbody tr:last-child td { border-bottom:0; }tr:hover td { background:#fbfdff; }.vehicle-cell { display:flex; align-items:center; gap:10px; }.vehicle-cell strong, .vehicle-cell span { display:block; }.vehicle-cell strong { color:var(--ink); font-family:"DM Mono",monospace; font-size:11px; }.vehicle-cell span { margin-top:3px; color:var(--ink-soft); font-size:10px; }.row-action { border:0; border-radius:8px; background:#f0f4f9; color:var(--blue-dark); font-size:10px; font-weight:800; padding:7px 9px; }.row-action:hover { background:#dfeaff; }
.registration-layout { display:grid; grid-template-columns:minmax(0,1fr) 272px; gap:18px; margin-top:29px; }.registration-form { padding:26px; }.form-section-label { display:flex; align-items:flex-start; gap:10px; margin:0 0 18px; }.form-section-label:not(:first-child) { margin-top:31px; }.form-section-label > span { display:grid; place-items:center; flex:0 0 auto; width:23px; height:23px; border-radius:50%; background:var(--blue-pale); color:var(--blue-dark); font-size:10px; font-weight:800; }.form-section-label h2 { margin:1px 0 0; font-size:14px; }.form-section-label p { margin:3px 0 0; color:var(--ink-soft); font-size:10px; }.plate-lookup-row { display:grid; grid-template-columns:1fr auto; gap:11px; align-items:end; }.field { display:grid; gap:7px; }.field label, .service-checklist legend { color:#53647a; font-size:10px; font-weight:800; }.field input, .field select, .field textarea { width:100%; border:1px solid #dce3ed; border-radius:9px; background:#fff; color:var(--ink); padding:10px 11px; font-size:11px; outline:0; transition:border .15s, box-shadow .15s; }.field input:focus, .field select:focus, .field textarea:focus { border-color:#8cadfa; box-shadow:0 0 0 3px rgba(40,101,233,.1); }.field textarea { resize:vertical; line-height:1.5; }.field small { color:#8793a3; font-size:9px; line-height:1.4; }.vehicle-summary { display:flex; align-items:center; gap:11px; margin:14px 0 4px; padding:12px; border:1px solid #dce5f4; border-radius:11px; background:#f8fbff; }.vehicle-summary.is-empty { background:#fbfcfe; border-style:dashed; }.vehicle-icon { display:grid; place-items:center; width:31px; height:31px; border-radius:8px; background:#e6efff; color:var(--blue); font-size:18px; }.vehicle-summary strong { display:block; font-size:11px; }.vehicle-summary p { margin:3px 0 0; color:var(--ink-soft); font-size:10px; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.field.full { grid-column:1/-1; }.input-suffix { position:relative; }.input-suffix input { padding-right:37px; }.input-suffix span { position:absolute; top:10px; right:11px; color:#7e8c9e; font-size:10px; }.service-checklist { margin:17px 0 0; padding:0; border:0; }.service-checklist legend { margin-bottom:9px; }.check-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }.check-grid label { display:flex; align-items:center; gap:7px; min-width:0; padding:9px; border:1px solid #e0e6ee; border-radius:8px; color:#5d6e82; font-size:10px; }.check-grid label:has(input:checked) { border-color:#abc4ff; background:#f1f5ff; color:var(--blue-dark); }.check-grid input { accent-color:var(--blue); }.owner-payment-box { padding:15px; border:1px solid #dbe5fa; border-radius:12px; background:#f8faff; }.owner-row { display:flex; align-items:center; gap:10px; }.owner-row > div { min-width:0; flex:1; }.owner-row strong { display:block; font-size:11px; }.owner-row p { margin:3px 0 0; overflow:hidden; color:var(--ink-soft); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.payment-split { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:15px 0; padding:12px 0; border-top:1px solid #dfe7f6; border-bottom:1px solid #dfe7f6; }.payment-split span, .payment-split strong { display:block; }.payment-split span { min-height:24px; color:#738197; font-size:9px; line-height:1.32; }.payment-split strong { margin-top:3px; color:var(--ink); font-size:12px; }.payment-split strong.positive { color:var(--green); }.consent-check { display:flex; gap:8px; color:#69788b; font-size:9px; line-height:1.45; }.consent-check input { flex:0 0 auto; margin:2px 0 0; accent-color:var(--blue); }.form-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:23px; }.registration-aside { display:grid; align-content:start; gap:13px; }.info-card { padding:18px; border:1px solid #dce5f7; border-radius:var(--radius); background:#f5f8ff; }.info-card-icon { display:grid; place-items:center; width:29px; height:29px; margin-bottom:13px; border-radius:9px; background:#e2ebff; color:var(--blue); }.info-card h3 { margin-bottom:10px; }.info-card ol { display:grid; gap:9px; margin:0; padding-left:18px; color:#65758a; font-size:10px; line-height:1.48; }.muted-card { background:#fff; border-color:var(--line); }.muted-card p { margin:8px 0 0; color:var(--ink-soft); font-size:10px; line-height:1.55; }.save-state { padding:7px 10px; border-radius:8px; background:#f0f3f8; color:#77869a; font-size:9px; font-weight:700; }
.lead-explainer { display:flex; align-items:center; gap:14px; margin:28px 0 17px; padding:14px 17px; border:1px solid #e2dbff; border-radius:13px; background:#f8f6ff; }.lead-symbol { display:grid; place-items:center; width:33px; height:33px; border-radius:10px; background:var(--purple-pale); color:var(--purple); font-size:17px; }.lead-explainer div { flex:1; }.lead-explainer strong { font-size:11px; }.lead-explainer p { margin:3px 0 0; color:#6d6992; font-size:10px; }.promotion-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.promotion-card { position:relative; overflow:hidden; padding:20px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:0 5px 18px rgba(34,63,94,.025); }.promotion-card::before { position:absolute; top:0; left:0; width:4px; height:100%; content:""; background:var(--purple); }.promotion-card .promotion-status { float:right; }.promotion-card h2 { margin:27px 0 6px; font-size:15px; letter-spacing:-.4px; }.promotion-card p { min-height:31px; margin:0; color:var(--ink-soft); font-size:10px; line-height:1.5; }.promotion-meta { display:flex; justify-content:space-between; margin-top:17px; padding-top:13px; border-top:1px solid var(--line); color:#77869a; font-size:9px; }.promotion-meta strong { color:var(--ink); }.lead-table-card { margin-top:17px; padding:22px; }.lead-list { display:grid; }.lead-item { display:grid; grid-template-columns:34px minmax(140px,1fr) minmax(100px,.7fr) auto; align-items:center; gap:12px; padding:12px 0; border-top:1px solid #edf0f5; }.lead-item:first-child { border-top:0; }.lead-name strong, .lead-name small { display:block; }.lead-name strong { font-size:11px; }.lead-name small, .lead-promotion { margin-top:3px; color:var(--ink-soft); font-size:10px; }.lead-promotion { margin-top:0; }.lead-confirmed { color:var(--green); font-size:10px; font-weight:800; }
.report-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:30px; }.report-card { padding:22px; }.report-card strong { display:block; margin:23px 0 13px; font-size:29px; letter-spacing:-1.1px; }.report-card p { margin:11px 0 0; color:var(--ink-soft); font-size:10px; }.progress { height:7px; overflow:hidden; border-radius:8px; background:#e8edf5; }.progress span { display:block; height:100%; border-radius:inherit; background:var(--blue); }.progress.green span { background:var(--green); }.progress.purple span { background:var(--purple); }.report-note { display:flex; align-items:flex-start; gap:13px; margin-top:17px; padding:20px; background:linear-gradient(105deg,#f0f6ff,#fbfdff); }.report-note > span { display:grid; place-items:center; flex:0 0 auto; width:31px; height:31px; border-radius:9px; background:#dce9ff; color:var(--blue); }.report-note h2 { margin:0; font-size:13px; }.report-note p { margin:5px 0 0; color:var(--ink-soft); font-size:10px; line-height:1.5; }
.modal { width:min(550px,calc(100vw - 32px)); padding:0; border:0; border-radius:18px; box-shadow:0 26px 80px rgba(18,42,70,.24); }.modal::backdrop { background:rgba(12,27,48,.42); backdrop-filter:blur(2px); }.modal-card { padding:25px; }.modal-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:21px; }.modal-heading h2 { margin:0; font-size:20px; letter-spacing:-.7px; }.modal-note { display:flex; gap:8px; margin-top:16px; padding:11px; border-radius:9px; background:#f7f4ff; color:#675f93; font-size:10px; line-height:1.45; }.modal-note span { display:grid; place-items:center; flex:0 0 auto; width:16px; height:16px; border-radius:50%; background:#ded3ff; font-weight:800; }.help-copy { display:grid; gap:12px; margin-bottom:20px; }.help-copy p { margin:0; color:var(--ink-soft); font-size:12px; line-height:1.6; }.small-modal { width:min(470px,calc(100vw - 32px)); }
.toast-region { position:fixed; z-index:20; right:20px; bottom:20px; display:grid; gap:9px; max-width:min(360px,calc(100vw - 40px)); }.toast { display:flex; align-items:flex-start; gap:10px; padding:13px; border:1px solid #cfe9dc; border-radius:12px; background:white; box-shadow:var(--shadow); animation:slide-in .2s ease-out; }.toast > span { display:grid; place-items:center; flex:0 0 auto; width:23px; height:23px; border-radius:50%; background:var(--green-pale); color:var(--green); font-weight:800; }.toast strong { display:block; font-size:11px; }.toast p { margin:2px 0 0; color:var(--ink-soft); font-size:10px; line-height:1.4; }@keyframes slide-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

@media (max-width: 1080px) { .app-shell { grid-template-columns:225px minmax(0,1fr); }.metric-grid { grid-template-columns:repeat(2,1fr); }.promotion-grid { grid-template-columns:1fr 1fr; }.quick-register-panel { align-items:flex-start; flex-direction:column; }.plate-search { flex-basis:auto; width:100%; max-width:470px; }.check-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 780px) { .app-shell { display:block; }.sidebar { position:fixed; z-index:30; top:0; left:0; width:274px; transform:translateX(-105%); transition:transform .22s ease; box-shadow:var(--shadow); }.sidebar.is-open { transform:translateX(0); }.mobile-menu { display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:9px; background:#edf2f9; color:var(--ink); font-size:17px; }.topbar { height:65px; padding:0 18px; }.topbar-actions .today-button { display:none; }.view { padding:28px 18px 50px; }.hero-row, .page-heading-row { align-items:flex-start; flex-direction:column; }.dashboard-grid, .registration-layout { grid-template-columns:1fr; }.metric-grid, .report-grid { grid-template-columns:1fr 1fr; }.quick-register-panel { padding:18px; }.plate-search { flex-direction:column; padding:8px; }.plate-search input { min-height:35px; }.promotion-grid { grid-template-columns:1fr; }.registration-form { padding:19px; }.check-grid { grid-template-columns:1fr; }.lead-explainer { align-items:flex-start; flex-wrap:wrap; }.lead-explainer .text-button { width:100%; text-align:left; }.lead-item { grid-template-columns:34px 1fr auto; }.lead-promotion { display:none; } }
@media (max-width: 480px) { .metric-grid, .report-grid, .form-grid { grid-template-columns:1fr; }.metric-card { min-height:122px; }.field.full { grid-column:auto; }.plate-lookup-row { grid-template-columns:1fr; }.payment-split { grid-template-columns:1fr; }.payment-split span { min-height:0; }.form-actions { align-items:stretch; flex-direction:column-reverse; }.form-actions .button { width:100%; }.order-row { grid-template-columns:34px 1fr auto; }.order-type { display:none; }.order-row .status-pill { display:none; }.earning-card, .work-order-card { padding:18px; } }

.theme-toggle { display:inline-flex; align-items:center; gap:7px; min-height:35px; padding:0 10px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink-soft); font-size:10px; font-weight:800; }
.theme-toggle:hover { border-color:#b9caf0; color:var(--ink); background:var(--canvas); }
.theme-toggle-icon { color:var(--blue); font-size:16px; line-height:1; }

body[data-theme="dark"] { --ink:#edf4fb; --ink-soft:#9db0c4; --canvas:#0d1724; --surface:#152535; --line:#2a3b4e; --blue-pale:#1d3965; --green-pale:#123e35; --amber-pale:#473516; --purple-pale:#30265e; background:var(--canvas); color:var(--ink); }
body[data-theme="dark"] .sidebar { background:#101e2d; border-color:var(--line); }
body[data-theme="dark"] .topbar { background:rgba(16,30,45,.86); border-color:var(--line); }
body[data-theme="dark"] .garage-identity, body[data-theme="dark"] .today-button, body[data-theme="dark"] .filter-search, body[data-theme="dark"] .filter-chip, body[data-theme="dark"] .content-card, body[data-theme="dark"] .metric-card, body[data-theme="dark"] .promotion-card, body[data-theme="dark"] .toast { background:var(--surface); border-color:var(--line); }
body[data-theme="dark"] .support-card { background:#172a3d; color:var(--ink); }
body[data-theme="dark"] .profile-button, body[data-theme="dark"] .notification-button { color:var(--ink); }
body[data-theme="dark"] .nav-link { color:#9db0c4; }
body[data-theme="dark"] .nav-link:hover { color:var(--ink); background:#192d42; }
body[data-theme="dark"] .nav-link.is-active { color:#c4d8ff; background:#1b3760; }
body[data-theme="dark"] .nav-badge { background:#29466d; color:#c4d8ff; }
body[data-theme="dark"] .button-ghost { background:#203348; color:#c0cede; }
body[data-theme="dark"] .button-secondary { background:#203f70; color:#d1e0ff; }
body[data-theme="dark"] .button-dark { background:#e8f0fa; color:#10243a; }
body[data-theme="dark"] .button-dark:hover { background:#fff; }
body[data-theme="dark"] .order-row, body[data-theme="dark"] .lead-item { border-color:#26394d; }
body[data-theme="dark"] .car-token { background:#203449; color:#aec5df; }
body[data-theme="dark"] th { background:#112131; color:#9cb0c5; border-color:var(--line); }
body[data-theme="dark"] td { color:#b7c6d6; border-color:#26394d; }
body[data-theme="dark"] tr:hover td { background:#1a2d41; }
body[data-theme="dark"] .quick-register-panel { border-color:#2c4f82; background:linear-gradient(105deg,#16335b,#17304f); }
body[data-theme="dark"] .quick-copy p, body[data-theme="dark"] .lead-explainer p { color:#a9bdd2; }
body[data-theme="dark"] .plate-search, body[data-theme="dark"] .plate-search input { background:var(--surface); border-color:var(--line); color:var(--ink); }
body[data-theme="dark"] .plate-search input::placeholder { color:#758ba3; }
body[data-theme="dark"] .earning-card { background:linear-gradient(145deg,#152535 0%,#192c40 100%); }
body[data-theme="dark"] .mini-chart { border-color:#2a3d52; }
body[data-theme="dark"] .field input, body[data-theme="dark"] .field select, body[data-theme="dark"] .field textarea { background:#102131; border-color:#30455c; color:var(--ink); }
body[data-theme="dark"] .field input::placeholder, body[data-theme="dark"] .field textarea::placeholder { color:#738ba4; }
body[data-theme="dark"] .vehicle-summary { background:#142b43; border-color:#2b4d72; }
body[data-theme="dark"] .vehicle-summary.is-empty { background:#122231; }
body[data-theme="dark"] .service-checklist label { border-color:#30445a; color:#b4c5d7; }
body[data-theme="dark"] .check-grid label:has(input:checked) { background:#1c3762; border-color:#4f76bd; color:#d8e5ff; }
body[data-theme="dark"] .owner-payment-box { background:#142b43; border-color:#2b4d72; }
body[data-theme="dark"] .payment-split { border-color:#2d4762; }
body[data-theme="dark"] .info-card { background:#142b43; border-color:#2b4d72; }
body[data-theme="dark"] .muted-card { background:var(--surface); border-color:var(--line); }
body[data-theme="dark"] .lead-explainer { background:#211c3b; border-color:#493d79; }
body[data-theme="dark"] .report-note { background:linear-gradient(105deg,#142b43,#172b3d); }
body[data-theme="dark"] .modal { background:var(--surface); color:var(--ink); }
body[data-theme="dark"] .modal-note { background:#211c3b; color:#c6bdf1; }
body[data-theme="dark"] .toast { box-shadow:0 14px 42px rgba(0,0,0,.3); }
body[data-theme="dark"] .toast p { color:#a9bacb; }

/* Blaxy huisstijl: snelheid in blauw, route/intelligentie in violet en helder wit contrast. */
.brand-dot { color:var(--brand-violet); }
.button-primary { background:var(--brand-gradient); }
.button-primary:hover { background:linear-gradient(135deg,#245be7 0%,#6748e4 100%); }
.quick-icon { background:var(--brand-gradient); }

.agenda-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:28px 0 16px; }
.agenda-day-switcher { display:flex; align-items:center; gap:6px; }
.agenda-day-switcher .icon-button { border:1px solid var(--line); background:var(--surface); }
.agenda-day-switcher div { min-width:205px; text-align:center; }
.agenda-day-switcher span, .agenda-day-switcher strong { display:block; }
.agenda-day-switcher span { color:var(--blue); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.agenda-day-switcher strong { margin-top:3px; font-size:13px; }
.calendar-view-toggle { display:flex; align-items:center; padding:3px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.calendar-view-toggle button { min-width:53px; padding:7px 9px; border:0; border-radius:7px; background:transparent; color:var(--ink-soft); font-size:10px; font-weight:800; }
.calendar-view-toggle button:hover { color:var(--ink); }
.calendar-view-toggle button.is-selected { background:var(--blue-pale); color:var(--blue-dark); box-shadow:0 2px 6px rgba(40,101,233,.12); }
.agenda-filters { display:flex; gap:8px; overflow:auto; }
.agenda-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr); gap:17px; }
.agenda-card { padding:22px; }
.appointment-list { display:grid; }
.appointment-row { display:grid; grid-template-columns:74px minmax(130px,1fr) minmax(145px,.8fr) auto; align-items:center; gap:14px; padding:16px 0; border-top:1px solid #edf0f5; }
.appointment-row:first-child { border-top:0; }
.empty-state { padding:22px 0; color:var(--ink-soft); font-size:11px; text-align:center; }
.appointment-time strong, .appointment-time small { display:block; }
.appointment-time strong { color:var(--ink); font-family:"DM Mono",monospace; font-size:14px; }
.appointment-time small { margin-top:3px; color:var(--ink-soft); font-size:9px; }
.appointment-customer { display:flex; align-items:center; gap:10px; min-width:0; }
.appointment-customer strong, .appointment-customer small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.appointment-customer strong { color:var(--ink); font-size:11px; }
.appointment-customer small { margin-top:3px; color:var(--ink-soft); font-size:10px; }
.appointment-service small, .appointment-service strong { display:block; }
.appointment-service strong { font-size:10px; font-weight:700; }
.appointment-service small { margin-top:3px; color:var(--ink-soft); font-size:9px; }
.appointment-actions { display:flex; align-items:center; gap:8px; justify-content:flex-end; }
.appointment-actions .row-action { white-space:nowrap; }
.agenda-rules { display:flex; align-items:center; gap:12px; margin-top:17px; padding:17px 20px; }.agenda-rules .info-card-icon { margin:0; flex:0 0 auto; }.agenda-rules div { min-width:0; flex:1; }.agenda-rules h2 { margin:0; font-size:13px; }.agenda-rules p { margin:4px 0 0; color:var(--ink-soft); font-size:10px; line-height:1.5; }
.appointment-context { display:flex; align-items:center; gap:10px; margin:0 0 18px; padding:11px; border:1px solid #dce5f4; border-radius:10px; background:#f8fbff; }.appointment-context strong, .appointment-context small { display:block; }.appointment-context strong { font-size:11px; }.appointment-context small { margin-top:3px; color:var(--ink-soft); font-size:10px; }.field-optional { color:var(--ink-soft); font-weight:500; }.appointment-send-note { display:flex; align-items:flex-start; gap:8px; margin-top:15px; padding:11px; border-radius:10px; background:var(--green-pale); color:var(--green); }.appointment-send-note > span { display:grid; place-items:center; flex:0 0 auto; width:17px; height:17px; border-radius:50%; background:#c9efdf; font-size:10px; font-weight:800; }.appointment-send-note p { margin:0; color:#397864; font-size:9px; line-height:1.45; }.appointment-modal { width:min(600px,calc(100vw - 32px)); }
body[data-theme="dark"] .agenda-day-switcher .icon-button, body[data-theme="dark"] .agenda-card { background:var(--surface); border-color:var(--line); }
body[data-theme="dark"] .calendar-view-toggle { background:var(--surface); border-color:var(--line); }
body[data-theme="dark"] .calendar-view-toggle button.is-selected { background:#1b3760; color:#c4d8ff; }
body[data-theme="dark"] .appointment-row { border-color:#26394d; }
body[data-theme="dark"] .appointment-context { background:#142b43; border-color:#2b4d72; }
body[data-theme="dark"] .agenda-rules { border-color:var(--line); }
body[data-theme="dark"] .appointment-send-note p { color:#9ed4be; }
@media (max-width: 900px) { .agenda-layout { grid-template-columns:1fr; } }
@media (max-width: 600px) { .agenda-toolbar { align-items:flex-start; flex-direction:column; }.agenda-day-switcher { width:100%; justify-content:center; }.calendar-view-toggle, .agenda-filters { width:100%; }.calendar-view-toggle button { flex:1; }.agenda-filters { display:flex; }.appointment-row { grid-template-columns:66px 1fr auto; gap:9px; }.appointment-service { display:none; }.appointment-actions { grid-column:2/-1; justify-content:flex-start; }.agenda-rules { align-items:flex-start; flex-wrap:wrap; } }
.button:disabled { cursor:wait; opacity:.68; }
.vehicle-summary > div { min-width:0; flex:1; }
.rdw-vehicle-details { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
.rdw-vehicle-details span { padding:5px 7px; border:1px solid #d9e5f8; border-radius:7px; background:#fff; color:#53647a; font-size:8px; font-weight:700; }
body[data-theme="dark"] .rdw-vehicle-details span { border-color:#2b4d72; background:#10243a; color:#b3c4d8; }

/*
 * Blaxy garageportaal 2026
 * Editoriale werkplaatsinterface: krachtige typografie, uitgesproken bento-opbouw
 * en rustige bediening. Geïnspireerd door hedendaags digitaal productdesign.
 */
:root {
  --brand-blue: #4b5cff;
  --brand-violet: #8f61ff;
  --brand-coral: #ff6a43;
  --brand-aqua: #78ddd0;
  --brand-gradient: linear-gradient(120deg, #ff6a43 0%, #9a5cff 52%, #4b5cff 100%);
  --ink: #111114;
  --ink-soft: #66676d;
  --canvas: #f1f1ed;
  --surface: #ffffff;
  --line: #d9dad5;
  --blue: var(--brand-blue);
  --blue-dark: #3545da;
  --blue-pale: #e9ebff;
  --green: #087f73;
  --green-pale: #dff5f1;
  --amber: #a85316;
  --amber-pale: #ffe9dc;
  --purple: var(--brand-violet);
  --purple-pale: #eee8ff;
  --danger: #d34d5e;
  --shadow: 0 22px 54px rgba(17, 17, 20, 0.08);
  --radius: 26px;
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% -10%, rgba(143, 97, 255, 0.14), transparent 28rem),
    var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(75, 92, 255, 0.24);
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(75, 92, 255, 0.28);
  outline-offset: 3px;
}

.app-shell {
  grid-template-columns: 252px minmax(0, 1fr);
}

.sidebar {
  z-index: 10;
  padding: 22px 14px 16px;
  border: 0;
  background: #0d0d10;
  color: #f9f9f7;
  box-shadow: 20px 0 54px rgba(0, 0, 0, 0.08);
}

.brand {
  gap: 12px;
  margin: 3px 12px 28px;
  color: #ffffff;
  font-size: 30px;
  letter-spacing: -1.9px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 10px 20px rgba(75, 92, 255, 0.34));
}

.brand-dot {
  color: #a989ff;
}

.garage-identity {
  margin-bottom: 23px;
  padding: 12px;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  transition: background 180ms ease, transform 180ms ease;
}

.garage-identity:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.garage-identity strong {
  color: #fff;
  font-size: 13px;
}

.garage-identity span:not(.avatar) {
  color: #898992;
  font-size: 11px;
}

.garage-identity .avatar {
  color: #fff;
  background: linear-gradient(140deg, #4b5cff, #9a5cff);
}

.garage-identity .icon-button {
  color: #8d8d96;
}

.nav-list {
  gap: 5px;
}

.nav-link {
  min-height: 46px;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 14px;
  color: #9d9da6;
  font-size: 13px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.nav-link.is-active {
  color: #111114;
  background: linear-gradient(110deg, #fff 0%, #fff 72%, #ded8ff 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.nav-icon {
  width: 19px;
  font-size: 19px;
}

.nav-badge {
  min-width: 22px;
  height: 22px;
  color: #fff;
  background: #4b5cff;
  font-size: 10px;
}

.nav-link.is-active .nav-badge {
  color: #fff;
  background: #111114;
}

.sidebar-bottom {
  gap: 11px;
}

.support-card {
  position: relative;
  overflow: hidden;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(143, 97, 255, 0.5), transparent 55%),
    #1a1a20;
}

.support-card:hover {
  border-color: rgba(255, 255, 255, 0.23);
}

.support-icon {
  color: #15151a;
  background: #fff;
}

.support-card strong,
.profile-button strong {
  color: #fff;
  font-size: 11px;
}

.support-card small,
.profile-button small {
  color: #92929b;
}

.profile-button {
  color: #fff;
}

.avatar-dark {
  color: #111114;
  background: #fff;
}

.main-content {
  position: relative;
}

.topbar {
  position: sticky;
  z-index: 8;
  top: 0;
  height: 82px;
  padding: 0 clamp(24px, 3.5vw, 56px);
  border: 0;
  background: rgba(241, 241, 237, 0.84);
  backdrop-filter: blur(22px) saturate(140%);
}

.context-label {
  display: flex;
  align-items: center;
  gap: 9px;
}

.context-label span {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.context-label span::after {
  margin-left: 9px;
  color: #a4a5a0;
  content: "/";
}

.context-label strong {
  font-size: 13px;
}

.topbar-actions {
  gap: 9px;
}

.today-button,
.theme-toggle,
.notification-button {
  min-height: 40px;
  border: 1px solid rgba(17, 17, 20, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 7px 20px rgba(17, 17, 20, 0.035);
}

.today-button,
.theme-toggle {
  padding: 0 14px;
  font-size: 11px;
}

.today-button .today-dot {
  color: #ff6a43;
}

.notification-button {
  width: 40px;
  height: 40px;
}

.notification-button:hover,
.theme-toggle:hover,
.today-button:hover {
  border-color: rgba(75, 92, 255, 0.32);
  background: #fff;
}

.view {
  max-width: 1540px;
  padding: 30px clamp(24px, 3.5vw, 56px) 72px;
}

.view.is-visible {
  animation: view-enter 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes view-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-row {
  position: relative;
  isolation: isolate;
  min-height: 220px;
  overflow: hidden;
  align-items: center;
  padding: 34px 38px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 10%, rgba(143, 97, 255, 0.78), transparent 23%),
    radial-gradient(circle at 93% 88%, rgba(75, 92, 255, 0.76), transparent 27%),
    #0d0d10;
  box-shadow: 0 30px 70px rgba(17, 17, 20, 0.14);
}

.hero-row::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 9%;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 27px rgba(255, 255, 255, 0.035),
    0 0 0 58px rgba(255, 255, 255, 0.025);
  content: "";
  transform: translateY(-50%);
}

.hero-row > * {
  position: relative;
  z-index: 1;
}

.hero-row .eyebrow {
  color: #ff9a7d;
}

.hero-row h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.98;
  letter-spacing: -3.5px;
}

.hero-row .intro {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}

.hero-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
}

.live-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78ddd0;
  box-shadow: 0 0 0 6px rgba(120, 221, 208, 0.14);
  animation: live-pulse 2.2s ease-in-out infinite;
}

@keyframes live-pulse {
  50% { box-shadow: 0 0 0 10px rgba(120, 221, 208, 0); }
}

.page-heading-row {
  align-items: center;
  padding: 14px 0 24px;
  border-bottom: 1px solid rgba(17, 17, 20, 0.13);
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--brand-coral);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.page-heading-row h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -3.5px;
}

.intro {
  margin-top: 11px;
  font-size: 14px;
}

.button {
  min-height: 45px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brand-gradient);
  box-shadow: 0 13px 30px rgba(94, 78, 245, 0.28);
}

.button-primary:hover {
  background: var(--brand-gradient);
  filter: saturate(1.12) brightness(1.04);
  box-shadow: 0 17px 36px rgba(94, 78, 245, 0.36);
}

.button-secondary {
  color: #fff;
  background: #111114;
}

.button-dark {
  color: #111114;
  background: #fff;
}

.button-dark:hover {
  color: #fff;
  background: #4b5cff;
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

.metric-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 13px;
  margin-top: 16px;
}

.metric-card {
  min-height: 180px;
  padding: 22px;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(17, 17, 20, 0.07);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(17, 17, 20, 0.11);
}

.metric-card::before {
  display: none;
}

.metric-card:nth-child(1) {
  grid-column: span 4;
  color: #fff;
  background: #4b5cff;
}

.metric-card:nth-child(2) {
  grid-column: span 3;
  color: #123a36;
  background: #bfeee7;
}

.metric-card:nth-child(3) {
  grid-column: span 2;
  color: #4a2113;
  background: #ffd8c7;
}

.metric-card:nth-child(4) {
  grid-column: span 3;
  color: #fff;
  background: #17171b;
}

.metric-label {
  max-width: 180px;
  color: currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.72;
  text-transform: uppercase;
}

.metric-value {
  margin: 25px 0 8px;
  color: currentColor;
  font-size: 46px;
  letter-spacing: -2.8px;
}

.metric-card small,
.metric-card small b,
.accent-amber small b,
.accent-purple small b {
  color: currentColor;
  opacity: 0.72;
}

.metric-icon {
  right: 18px;
  bottom: 12px;
  color: currentColor;
  font-size: 49px;
  opacity: 0.16;
  transform: rotate(-7deg);
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.72fr);
  gap: 14px;
  margin-top: 14px;
}

.content-card,
.promotion-card {
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(17, 17, 20, 0.055);
}

.work-order-card,
.earning-card,
.agenda-card,
.lead-table-card,
.report-card {
  padding: 25px;
}

.card-heading {
  margin-bottom: 19px;
}

.card-heading h2,
.info-card h3,
.report-card h2 {
  font-size: 16px;
  letter-spacing: -0.55px;
}

.card-heading p {
  margin-top: 5px;
  font-size: 11px;
}

.text-button {
  color: var(--brand-blue);
  font-size: 11px;
}

.order-row {
  grid-template-columns: 42px minmax(150px, 1fr) minmax(110px, 0.72fr) auto auto;
  gap: 14px;
  padding: 15px 0;
  border-color: rgba(17, 17, 20, 0.08);
}

.car-token {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #4b5cff;
  background: #ebeaff;
}

.order-main strong,
.vehicle-cell strong {
  font-size: 12px;
}

.order-main small,
.order-type,
.order-time {
  font-size: 10px;
}

.status-pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 9px;
}

.earning-card {
  color: #fff;
  background:
    radial-gradient(circle at 95% 0%, rgba(143, 97, 255, 0.8), transparent 39%),
    #151518;
}

.earning-card .card-heading h2,
.earning-card .earnings-total,
.earning-card .earnings-breakdown strong {
  color: #fff;
}

.earning-card .card-heading p,
.earning-card .earnings-breakdown div span:nth-child(2),
.earning-card .earning-note {
  color: rgba(255, 255, 255, 0.56);
}

.earnings-total {
  margin: 25px 0 20px;
}

.earnings-total strong {
  font-size: 44px;
  letter-spacing: -2.5px;
}

.earnings-total span {
  color: #a989ff;
}

.mini-chart {
  height: 68px;
  border-color: rgba(255, 255, 255, 0.12);
}

.mini-chart span {
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #b6fff6, #48bcb0);
}

.mini-chart span:nth-child(2n) {
  background: linear-gradient(180deg, #c8b4ff, #7551ef);
}

.quick-register-panel {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 26px 28px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 106, 67, 0.68), transparent 21%),
    linear-gradient(115deg, #4b5cff, #7e53e7 64%, #151518);
  box-shadow: 0 22px 52px rgba(75, 92, 255, 0.2);
}

.quick-copy h2 {
  color: #fff;
  font-size: 17px;
}

.quick-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.quick-icon {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #111114;
  background: #fff;
}

.plate-search {
  flex-basis: 390px;
  padding: 5px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(23, 23, 27, 0.2);
}

.plate-search input {
  padding-left: 17px;
  color: #111114;
  background: transparent;
}

.filter-bar,
.agenda-toolbar {
  margin-top: 22px;
}

.filter-bar {
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.filter-search {
  min-width: 270px;
  padding: 10px 13px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.1);
}

.filter-search input,
.filter-search input:focus,
#workOrderSearch,
#workOrderSearch:focus {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.filter-chip {
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 10px;
}

.filter-chip:hover,
.filter-chip.is-selected {
  color: #fff;
  background: #111114;
}

.table-card {
  margin-top: 20px;
}

th {
  padding: 16px 21px;
  border-color: rgba(17, 17, 20, 0.08);
  background: #f7f7f4;
  color: #77787e;
  font-size: 9px;
}

td {
  padding: 17px 21px;
  border-color: rgba(17, 17, 20, 0.07);
  font-size: 11px;
}

tr:hover td {
  background: #f7f7ff;
}

.row-action {
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: #111114;
}

.row-action:hover {
  color: #fff;
  background: #4b5cff;
}

.registration-layout {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 15px;
  margin-top: 22px;
}

.registration-form {
  padding: 30px;
}

.form-section-label {
  margin-bottom: 20px;
}

.form-section-label > span {
  width: 28px;
  height: 28px;
  color: #fff;
  background: #111114;
}

.form-section-label h2 {
  font-size: 16px;
}

.form-section-label p {
  font-size: 11px;
}

.plate-lookup-row {
  grid-template-columns: minmax(150px, 1fr) minmax(170px, 0.72fr) auto;
  gap: 12px;
}

.field label,
.service-checklist legend {
  color: var(--ink);
  font-size: 11px;
}

.field input,
.field select,
.field textarea {
  min-height: 45px;
  padding: 11px 13px;
  border-color: rgba(17, 17, 20, 0.14);
  border-radius: 13px;
  font-size: 12px;
}

.field textarea {
  min-height: 96px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #4b5cff;
  box-shadow: 0 0 0 4px rgba(75, 92, 255, 0.1);
}

.vehicle-summary,
.owner-payment-box,
.appointment-context {
  border-color: rgba(75, 92, 255, 0.15);
  border-radius: 17px;
  background: #f4f4ff;
}

.vehicle-summary {
  padding: 15px;
}

.check-grid label {
  min-height: 43px;
  border-radius: 13px;
  font-size: 11px;
}

.owner-payment-box {
  padding: 18px;
}

.info-card {
  border: 0;
  border-radius: 24px;
  background: #17171b;
  color: #fff;
}

.info-card h3 {
  color: #fff;
}

.info-card ol,
.info-card p {
  color: rgba(255, 255, 255, 0.64);
}

.info-card-icon {
  color: #111114;
  background: #a989ff;
}

.muted-card {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08);
}

.muted-card h3 {
  color: var(--ink);
}

.muted-card p {
  color: var(--ink-soft);
}

.lead-explainer,
.report-note,
.agenda-rules {
  border: 0;
  border-radius: 22px;
  background: #e7e3ff;
}

.promotion-grid {
  gap: 14px;
}

.promotion-card {
  min-height: 215px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.promotion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(17, 17, 20, 0.1);
}

.promotion-card::before {
  top: auto;
  right: -35px;
  bottom: -55px;
  left: auto;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6a43, #8f61ff);
  opacity: 0.2;
}

.promotion-card h2 {
  font-size: 19px;
  letter-spacing: -0.8px;
}

.report-grid {
  gap: 14px;
  margin-top: 22px;
}

.report-card {
  min-height: 205px;
}

.report-card:nth-child(1) {
  color: #fff;
  background: #4b5cff;
}

.report-card:nth-child(1) h2,
.report-card:nth-child(1) p,
.report-card:nth-child(1) strong {
  color: #fff;
}

.report-card:nth-child(2) {
  background: #bfeee7;
}

.report-card:nth-child(3) {
  background: #ffd8c7;
}

.report-card strong {
  font-size: 40px;
  letter-spacing: -2px;
}

.progress {
  height: 9px;
  background: rgba(17, 17, 20, 0.12);
}

.progress span,
.progress.green span,
.progress.purple span {
  background: #111114;
}

.agenda-toolbar {
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.agenda-day-switcher .icon-button,
.calendar-view-toggle {
  border: 0;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.1);
}

.calendar-view-toggle {
  border-radius: 999px;
}

.calendar-view-toggle button {
  border-radius: 999px;
}

.calendar-view-toggle button.is-selected {
  color: #fff;
  background: #111114;
  box-shadow: none;
}

.appointment-row {
  padding: 18px 0;
  border-color: rgba(17, 17, 20, 0.08);
}

.appointment-time strong {
  font-size: 16px;
}

.modal {
  border-radius: 27px;
  background: var(--surface);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28);
}

.modal::backdrop {
  background: rgba(9, 9, 11, 0.66);
  backdrop-filter: blur(10px);
}

.modal-card {
  padding: 30px;
}

.modal-heading h2 {
  font-size: 25px;
  letter-spacing: -1.2px;
}

.toast {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(17, 17, 20, 0.18);
}

body[data-theme="dark"] {
  --ink: #f5f5f2;
  --ink-soft: #a0a0a7;
  --canvas: #0a0a0c;
  --surface: #16161a;
  --line: #2b2b31;
  --blue-pale: #292850;
  --green-pale: #163a37;
  --amber-pale: #4b2d20;
  --purple-pale: #31284e;
  color-scheme: dark;
  background:
    radial-gradient(circle at 82% -8%, rgba(75, 92, 255, 0.16), transparent 30rem),
    var(--canvas);
}

body[data-theme="dark"] .sidebar {
  background: #000;
}

body[data-theme="dark"] .nav-link.is-active {
  color: #111114;
  background: linear-gradient(110deg, #fff 0%, #fff 72%, #ded8ff 100%);
}

body[data-theme="dark"] .nav-link.is-active .nav-badge {
  color: #fff;
  background: #111114;
}

body[data-theme="dark"] .topbar {
  background: rgba(10, 10, 12, 0.84);
}

body[data-theme="dark"] .today-button,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .notification-button,
body[data-theme="dark"] .filter-bar,
body[data-theme="dark"] .agenda-toolbar {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(22, 22, 26, 0.72);
}

body[data-theme="dark"] .today-button:hover,
body[data-theme="dark"] .theme-toggle:hover,
body[data-theme="dark"] .notification-button:hover {
  background: #202026;
}

body[data-theme="dark"] .page-heading-row {
  border-color: rgba(255, 255, 255, 0.14);
}

body[data-theme="dark"] .content-card,
body[data-theme="dark"] .promotion-card,
body[data-theme="dark"] .metric-card {
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .metric-card:nth-child(1) {
  background: #4b5cff;
}

body[data-theme="dark"] .metric-card:nth-child(2) {
  color: #dffaf6;
  background: #14534d;
}

body[data-theme="dark"] .metric-card:nth-child(3) {
  color: #ffe8de;
  background: #71371f;
}

body[data-theme="dark"] .metric-card:nth-child(4),
body[data-theme="dark"] .earning-card {
  background:
    radial-gradient(circle at 95% 0%, rgba(143, 97, 255, 0.46), transparent 42%),
    #18181d;
}

body[data-theme="dark"] .quick-register-panel {
  border: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 106, 67, 0.6), transparent 21%),
    linear-gradient(115deg, #3949d5, #7046ce 64%, #151518);
}

body[data-theme="dark"] .filter-search,
body[data-theme="dark"] .agenda-day-switcher .icon-button,
body[data-theme="dark"] .calendar-view-toggle {
  border: 0;
  background: #232329;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .filter-search input,
body[data-theme="dark"] #workOrderSearch {
  border: 0 !important;
  color: #fff;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-theme="dark"] .filter-chip {
  border: 0;
  background: transparent;
}

body[data-theme="dark"] .filter-chip:hover,
body[data-theme="dark"] .filter-chip.is-selected,
body[data-theme="dark"] .calendar-view-toggle button.is-selected {
  color: #111114;
  background: #fff;
}

body[data-theme="dark"] th {
  background: #111114;
}

body[data-theme="dark"] tr:hover td {
  background: #1b1b21;
}

body[data-theme="dark"] .row-action {
  color: #111114;
  background: #fff;
}

body[data-theme="dark"] .row-action:hover {
  color: #fff;
  background: #4b5cff;
}

body[data-theme="dark"] .field input,
body[data-theme="dark"] .field select,
body[data-theme="dark"] .field textarea {
  border-color: rgba(255, 255, 255, 0.14);
  background: #111114;
}

body[data-theme="dark"] .vehicle-summary,
body[data-theme="dark"] .owner-payment-box,
body[data-theme="dark"] .appointment-context {
  border-color: rgba(143, 97, 255, 0.3);
  background: #211d32;
}

body[data-theme="dark"] .info-card {
  background: #232329;
}

body[data-theme="dark"] .muted-card {
  background: #16161a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .lead-explainer,
body[data-theme="dark"] .report-note,
body[data-theme="dark"] .agenda-rules {
  color: #e9e3ff;
  background: #29233e;
}

body[data-theme="dark"] .report-card:nth-child(1) {
  background: #4b5cff;
}

body[data-theme="dark"] .report-card:nth-child(2) {
  color: #e6fffb;
  background: #14534d;
}

body[data-theme="dark"] .report-card:nth-child(3) {
  color: #fff0e9;
  background: #71371f;
}

body[data-theme="dark"] .modal {
  background: #16161a;
}

@media (max-width: 1180px) {
  .metric-card:nth-child(n) {
    grid-column: span 6;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .quick-register-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .plate-search {
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .view,
  .topbar {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-row {
    padding: 30px;
  }

  .hero-row h1 {
    font-size: 42px;
  }

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

@media (max-width: 780px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    width: 280px;
  }

  .mobile-menu {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: var(--surface);
  }

  .topbar {
    height: 70px;
    padding: 0 18px;
  }

  .context-label span {
    display: none;
  }

  .view {
    padding: 18px 18px 52px;
  }

  .hero-row,
  .page-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-row {
    min-height: 290px;
    padding: 28px 24px;
  }

  .hero-row::after {
    right: -50px;
    bottom: -80px;
    top: auto;
    transform: none;
  }

  .hero-row h1,
  .page-heading-row h1 {
    font-size: 39px;
    letter-spacing: -2.3px;
  }

  .hero-actions {
    justify-items: start;
  }

  .metric-card:nth-child(n) {
    grid-column: span 6;
  }

  .metric-card {
    min-height: 155px;
  }

  .registration-form {
    padding: 22px;
  }

  .plate-lookup-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .topbar-actions .theme-toggle-label,
  .topbar-actions .today-button {
    display: none;
  }

  .metric-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .metric-card {
    min-height: 145px;
  }

  .metric-value {
    margin-top: 18px;
  }

  .quick-register-panel {
    padding: 23px;
  }

  .plate-search {
    flex-direction: column;
    border-radius: 20px;
  }

  .plate-search input {
    min-height: 44px;
  }

  .plate-search .button {
    width: 100%;
  }

  .filter-bar {
    border-radius: 16px;
  }

  .filter-search {
    min-width: 235px;
  }

  .work-order-card,
  .earning-card,
  .agenda-card,
  .lead-table-card,
  .report-card,
  .modal-card {
    padding: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Inklapbare desktopnavigatie */
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 3px 6px 28px 12px;
}

.brand-row .brand {
  min-width: 0;
  margin: 0;
}

.sidebar-collapse {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  color: #d7d7dd;
  background: rgba(255, 255, 255, 0.07);
  font-size: 22px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sidebar-collapse:hover {
  color: #111114;
  background: #fff;
  transform: scale(1.05);
}

.nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 781px) {
  .app-shell,
  .app-shell .sidebar,
  .app-shell .brand-row,
  .app-shell .garage-identity,
  .app-shell .nav-link,
  .app-shell .support-card,
  .app-shell .profile-button {
    transition: grid-template-columns 260ms cubic-bezier(0.22, 1, 0.36, 1), padding 260ms ease, gap 180ms ease;
  }

  .app-shell.is-sidebar-collapsed {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .app-shell.is-sidebar-collapsed .sidebar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .app-shell.is-sidebar-collapsed .brand-row {
    flex-direction: column;
    gap: 11px;
    margin-right: 0;
    margin-bottom: 22px;
    margin-left: 0;
  }

  .app-shell.is-sidebar-collapsed .brand > span,
  .app-shell.is-sidebar-collapsed .garage-identity > div,
  .app-shell.is-sidebar-collapsed .garage-identity > .icon-button,
  .app-shell.is-sidebar-collapsed .nav-label,
  .app-shell.is-sidebar-collapsed .support-card > span:last-child,
  .app-shell.is-sidebar-collapsed .profile-button > span:nth-child(2),
  .app-shell.is-sidebar-collapsed .profile-button > span:last-child {
    display: none;
  }

  .app-shell.is-sidebar-collapsed .garage-identity,
  .app-shell.is-sidebar-collapsed .nav-link,
  .app-shell.is-sidebar-collapsed .support-card,
  .app-shell.is-sidebar-collapsed .profile-button {
    justify-content: center;
  }

  .app-shell.is-sidebar-collapsed .garage-identity {
    padding: 10px;
  }

  .app-shell.is-sidebar-collapsed .nav-link {
    position: relative;
    gap: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .app-shell.is-sidebar-collapsed .nav-badge {
    position: absolute;
    top: 5px;
    right: 4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid #0d0d10;
    font-size: 8px;
  }

  .app-shell.is-sidebar-collapsed .nav-link.is-active .nav-badge {
    border-color: #fff;
  }

  .app-shell.is-sidebar-collapsed .support-card,
  .app-shell.is-sidebar-collapsed .profile-button {
    padding: 10px;
  }

  .app-shell.is-sidebar-collapsed .nav-link::after {
    position: absolute;
    z-index: 50;
    top: 50%;
    left: calc(100% + 13px);
    width: max-content;
    max-width: 210px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    background: #17171b;
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.24);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(-5px, -50%);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .app-shell.is-sidebar-collapsed .nav-link:hover::after,
  .app-shell.is-sidebar-collapsed .nav-link:focus-visible::after {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@media (max-width: 780px) {
  .sidebar-collapse {
    display: none;
  }

  .brand-row {
    margin-right: 12px;
  }

  .sidebar {
    visibility: hidden;
    transition: transform 220ms ease, visibility 0s linear 220ms;
  }

  .sidebar.is-open {
    visibility: visible;
    transition-delay: 0s;
  }
}
