:root {
  color-scheme: light;
  --blue-50: #edf6ff;
  --blue-100: #dcecff;
  --blue-500: #0874ee;
  --blue-600: #0866e5;
  --blue-700: #0752ba;
  --navy-950: #0d1724;
  --navy-900: #142133;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e4e9f0;
  --border-strong: #d6dde7;
  --text: #111827;
  --muted: #657084;
  --subtle: #8c96a7;
  --success: #118a55;
  --success-bg: #eaf8f0;
  --warning: #9a6300;
  --warning-bg: #fff7df;
  --danger: #db2335;
  --danger-bg: #fff0f2;
  --info: #0866e5;
  --shadow-xs: 0 1px 2px rgba(16, 32, 56, .04);
  --shadow-sm: 0 7px 24px rgba(22, 42, 70, .07), 0 1px 3px rgba(16, 32, 56, .04);
  --shadow-md: 0 18px 52px rgba(20, 40, 70, .14), 0 2px 8px rgba(20, 40, 70, .06);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --max: 1240px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(8, 102, 229, .28); outline-offset: 2px; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -64px; padding: 12px 18px; background: var(--navy-950); color: white; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.app-shell { min-height: 100vh; }
#app-main { min-height: calc(100vh - 76px); }
.page { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 36px 0 80px; }
.page-narrow { max-width: 840px; }

/* Header and navigation */
.site-header { position: sticky; z-index: 50; top: 0; height: 76px; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(220,226,235,.86); backdrop-filter: blur(18px); }
.header-inner { width: min(var(--max), calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--navy-950); color: white; font-size: 12px; font-weight: 900; letter-spacing: -.04em; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); position: relative; overflow: hidden; }
.brand-mark::before { content: ""; position: absolute; width: 27px; height: 27px; border: 4px solid var(--blue-500); border-left-color: #ffb000; border-bottom-color: #e62435; border-radius: 50%; }
.brand-mark span { position: relative; z-index: 1; }
.brand-mark-image { object-fit: cover; background: var(--navy-950); }
.brand-mark-image::before { content: none; }
.brand-word { font-size: 24px; line-height: 1; font-weight: 850; letter-spacing: -.05em; }
.brand-word b { color: var(--blue-600); }
.desktop-nav { margin-left: 10px; display: flex; align-items: center; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 11px; color: var(--muted); font-size: 14px; font-weight: 650; transition: .18s ease; }
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--blue-600); background: var(--blue-50); }
.nav-link .icon { width: 18px; height: 18px; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.vehicle-switch { min-width: 194px; max-width: 260px; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px; cursor: pointer; text-align: left; }
.vehicle-switch:hover { border-color: var(--blue-500); }
.vehicle-switch-copy { overflow: hidden; flex: 1; }
.vehicle-switch-copy small { display: block; color: var(--muted); font-size: 10px; font-weight: 650; }
.vehicle-switch-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: transparent; border-radius: 12px; color: var(--muted); cursor: pointer; position: relative; }
.icon-btn:hover { color: var(--blue-600); background: var(--blue-50); }
.icon-btn .icon { width: 21px; height: 21px; }
.cart-count { position: absolute; min-width: 18px; height: 18px; display: grid; place-items: center; right: 2px; top: 2px; padding: 0 4px; border-radius: 9px; background: var(--danger); color: white; font-size: 10px; font-weight: 800; border: 2px solid white; }
.bottom-nav { display: none; }

/* Reusable UI */
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border-radius: 13px; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { color: white; background: var(--blue-600); box-shadow: 0 7px 18px rgba(8,102,229,.22); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 9px 24px rgba(8,102,229,.28); }
.btn-dark { color: white; background: var(--navy-950); }
.btn-secondary { color: var(--text); background: white; border: 1px solid var(--border-strong); box-shadow: var(--shadow-xs); }
.btn-ghost { color: var(--blue-600); background: var(--blue-50); }
.btn-danger { color: var(--danger); background: var(--danger-bg); }
.btn-sm { min-height: 38px; padding: 0 13px; border-radius: 11px; font-size: 13px; }
.btn-wide { width: 100%; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-600); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 5px var(--blue-100); }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-title { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.045em; }
.page-subtitle { margin: 8px 0 0; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.section-title { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.section-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue-600); font-weight: 700; font-size: 13px; }
.section-link .icon { width: 16px; }
.badge { min-height: 24px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.badge-success { color: var(--success); background: var(--success-bg); }
.badge-warning { color: var(--warning); background: var(--warning-bg); }
.badge-danger { color: var(--danger); background: var(--danger-bg); }
.badge-blue { color: var(--blue-700); background: var(--blue-50); }
.demo-banner { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 32px; padding: 6px 16px; color: #744900; background: #fff8db; border-bottom: 1px solid #f7e9a6; font-size: 12px; font-weight: 650; }
.demo-banner .icon { width: 15px; height: 15px; }
.form-field { display: grid; gap: 7px; }
.form-field label, .field-label { color: #344054; font-size: 12px; font-weight: 750; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 12px; background: white; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 112px; padding-top: 12px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #b8c3d1; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-100); outline: 0; }
.input::placeholder, .textarea::placeholder { color: #9aa4b2; }
.input-error { border-color: var(--danger); }
.field-error { min-height: 18px; color: var(--danger); font-size: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.divider { height: 1px; background: var(--border); margin: 22px 0; }
.empty-state, .error-state { min-height: 280px; display: grid; place-items: center; text-align: center; padding: 44px 24px; }
.state-illustration { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 18px; color: var(--blue-600); background: var(--blue-50); border-radius: 24px; transform: rotate(-4deg); }
.state-illustration .icon { width: 32px; height: 32px; }
.empty-state h2, .error-state h2 { margin: 0; font-size: 22px; }
.empty-state p, .error-state p { max-width: 430px; margin: 8px auto 20px; color: var(--muted); }
.skeleton { border-radius: 12px; background: linear-gradient(100deg,#eef1f5 20%,#f8fafc 45%,#eef1f5 70%); background-size: 300% 100%; animation: shimmer 1.3s infinite; }
.skeleton-heading { height: 72px; }
.skeleton-grid { margin-top: 22px; }
.skeleton-card { height: 360px; }
.skeleton-drawer { height: 560px; }
.skeleton-notices { height: 240px; }
.form-field-spaced { margin-top: 16px; }
@keyframes shimmer { to { background-position: -100% 0; } }

/* Home */
.home-page { padding-top: 30px; }
.home-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(330px,.75fr); gap: 24px; align-items: stretch; }
.hero { position: relative; min-height: 440px; padding: 50px; overflow: hidden; border: 1px solid #dce5f2; border-radius: var(--r-xl); background: radial-gradient(circle at 90% 10%, rgba(8,116,238,.13), transparent 38%), white; box-shadow: var(--shadow-sm); }
.hero::after { content: ""; position: absolute; right: -86px; bottom: -122px; width: 330px; height: 330px; border: 55px solid var(--blue-600); border-left-color: #ffb000; border-bottom-color: #df2638; border-radius: 50%; opacity: .98; transform: rotate(-18deg); }
.hero-gear { position: absolute; z-index: 1; right: 74px; bottom: 53px; width: 158px; height: 158px; display: grid; place-items: center; color: var(--navy-950); background: rgba(255,255,255,.96); border: 19px solid var(--navy-950); border-radius: 50%; box-shadow: var(--shadow-md); }
.hero-gear .icon { width: 67px; height: 67px; stroke-width: 1.5; }
.hero-mascot { position: absolute; z-index: 1; right: 42px; bottom: 32px; width: 190px; height: 190px; object-fit: cover; border-radius: 42px; box-shadow: var(--shadow-md); transform: rotate(2deg); }
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero h1 { max-width: 570px; margin: 18px 0 12px; font-size: clamp(38px, 5vw, 62px); line-height: .98; letter-spacing: -.06em; }
.hero h1 span { color: var(--blue-600); }
.hero-copy { max-width: 500px; margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.search-box { max-width: 640px; display: flex; align-items: center; gap: 10px; height: 64px; padding: 8px 8px 8px 18px; background: white; border: 1px solid var(--border-strong); border-radius: 17px; box-shadow: 0 12px 30px rgba(19,45,75,.11); }
.search-box:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-100), 0 12px 30px rgba(19,45,75,.11); }
.search-box .icon { width: 23px; height: 23px; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; font-size: 15px; }
.search-box .btn { min-height: 48px; }
.hero-foot { display: flex; gap: 19px; margin-top: 22px; color: var(--muted); font-size: 12px; }
.live-test-vin { align-self: flex-start; border: 0; background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 11px; cursor: pointer; text-align: left; }
.live-test-vin:hover { background: rgba(255,255,255,.14); color: #fff; }
.live-test-vin code { color: #fff; font-weight: 800; }
.hero-foot span { display: flex; align-items: center; gap: 6px; }
.hero-foot .icon { width: 15px; height: 15px; color: var(--success); }
.quick-actions { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.quick-action-card { position: relative; min-height: 210px; padding: 28px; overflow: hidden; cursor: pointer; text-align: left; border: 1px solid var(--border); border-radius: var(--r-xl); background: white; box-shadow: var(--shadow-sm); transition: transform .18s, border-color .18s; }
.quick-action-card:hover { transform: translateY(-2px); border-color: #bfd3ec; }
.quick-action-card.primary { color: white; background: var(--blue-600); border-color: var(--blue-600); }
.quick-action-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 17px; color: var(--blue-600); background: var(--blue-50); }
.primary .quick-action-icon { color: white; background: rgba(255,255,255,.16); }
.quick-action-icon .icon { width: 27px; height: 27px; }
.quick-action-card h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.03em; }
.quick-action-card p { max-width: 240px; margin: 0; color: var(--muted); font-size: 13px; }
.quick-action-card.primary p { color: rgba(255,255,255,.78); }
.action-arrow { position: absolute; right: 24px; bottom: 24px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); }
.primary .action-arrow { background: rgba(255,255,255,.16); }
.action-arrow .icon { width: 18px; }
.home-section { margin-top: 36px; }
.category-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.category-card { min-height: 116px; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 16px 8px; background: white; border: 1px solid var(--border); border-radius: 17px; cursor: pointer; box-shadow: var(--shadow-xs); transition: .16s ease; }
.category-card:hover { color: var(--blue-600); transform: translateY(-2px); border-color: #c7daf2; box-shadow: var(--shadow-sm); }
.category-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy-950); background: var(--surface-2); border-radius: 13px; }
.category-card:hover .category-icon { color: var(--blue-600); background: var(--blue-50); }
.category-icon .icon { width: 22px; height: 22px; }
.category-card span { font-size: 12px; font-weight: 700; }
.garage-strip { position: relative; padding: 24px; overflow: hidden; color: white; background: var(--navy-950); border-radius: var(--r-xl); }
.garage-strip::after { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; top: -150px; border: 33px solid var(--blue-600); border-radius: 50%; opacity: .7; }
.garage-strip .section-link { color: #b8d9ff; }
.vehicle-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; position: relative; z-index: 1; }
.vehicle-mini { display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 16px; color: var(--text); background: white; border-radius: 16px; cursor: pointer; }
.vehicle-mini:hover { outline: 2px solid var(--blue-500); }
.vehicle-art { width: 82px; height: 56px; display: grid; place-items: center; color: var(--blue-600); background: linear-gradient(145deg,#f7faff,#e6eef8); border-radius: 13px; flex: 0 0 auto; }
.vehicle-art .icon { width: 55px; height: 55px; stroke-width: 1.4; }
.vehicle-copy { min-width: 0; }
.vehicle-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.vehicle-copy small { color: var(--muted); font-size: 11px; }
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 36px; overflow: hidden; background: var(--border); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-sm); }
.trust-item { min-height: 112px; display: flex; align-items: center; gap: 14px; padding: 22px; background: white; }
.trust-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue-600); background: var(--blue-50); border-radius: 14px; }
.trust-icon .icon { width: 23px; height: 23px; }
.trust-item strong { display: block; font-size: 13px; }
.trust-item small { color: var(--muted); font-size: 11px; }

/* Universal ETK / EPC */
.vin-hero-search input { text-transform: uppercase; letter-spacing: .08em; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.etk-page { --etk-dark: #0a1420; }
.etk-vehicle-hero { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 24px 26px; position: relative; overflow: hidden; color: white; background: var(--etk-dark); border-radius: 24px; box-shadow: var(--shadow-sm); }
.etk-vehicle-hero::after { content: ""; position: absolute; right: -80px; top: -175px; width: 330px; height: 330px; border: 45px solid var(--blue-600); border-left-color: #ffb000; border-bottom-color: #e32638; border-radius: 50%; opacity: .62; }
.etk-vehicle-main, .etk-source { position: relative; z-index: 1; }
.etk-vehicle-main { display: flex; align-items: center; gap: 17px; min-width: 0; }
.etk-brand-tile { width: 64px; height: 64px; display: grid; place-items: center; flex: 0 0 auto; color: var(--etk-dark); background: white; border-radius: 18px; font-weight: 900; letter-spacing: -.05em; }
.etk-vehicle-main .eyebrow { color: #75b8ff; }
.etk-vehicle-main h1 { margin: 4px 0 3px; font-size: 26px; letter-spacing: -.04em; }
.etk-vehicle-main p { margin: 0; color: #aebdce; font-size: 12px; }
.etk-source { display: grid; justify-items: end; gap: 6px; }
.etk-source small { color: #9fb0c5; font-size: 10px; }
.etk-toolbar { display: flex; gap: 10px; margin-bottom: 18px; }
.etk-toolbar .search-box { flex: 1; max-width: none; height: 56px; box-shadow: var(--shadow-xs); }
.etk-toolbar > .btn { min-width: 225px; }
.etk-layout { display: grid; grid-template-columns: 286px minmax(0,1fr); gap: 20px; align-items: start; }
.etk-sidebar { position: sticky; top: 96px; padding: 20px; }
.etk-sidebar h2 { margin: 0 0 12px; font-size: 17px; }
.etk-sidebar .spec-row { padding: 9px 0; }
.etk-options { margin-top: 15px; border-top: 1px solid var(--border); }
.etk-options summary { padding: 14px 0 10px; color: var(--blue-700); cursor: pointer; font-size: 12px; font-weight: 750; }
.etk-option { display: flex; gap: 9px; padding: 7px 0; font-size: 10px; }
.etk-option code { height: fit-content; padding: 2px 5px; color: var(--blue-700); background: var(--blue-50); border-radius: 5px; }
.etk-option span { color: var(--muted); }
.etk-rights { margin-top: 15px; padding: 12px; color: #704b00; background: var(--warning-bg); border: 1px solid #f2dfa7; border-radius: 12px; }
.etk-rights strong { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.etk-rights .icon { width: 15px; }
.etk-rights p { margin: 5px 0 0; font-size: 9px; line-height: 1.5; }
.etk-workspace { min-width: 0; }
.etk-group-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.etk-group-card { min-height: 182px; display: grid; align-content: start; position: relative; padding: 17px; cursor: pointer; text-align: left; transition: transform .16s, border-color .16s, box-shadow .16s; }
.etk-group-card:hover { transform: translateY(-2px); border-color: #bed4ee; box-shadow: var(--shadow-sm); }
.etk-group-icon { width: 43px; height: 43px; display: grid; place-items: center; color: var(--blue-600); background: var(--blue-50); border-radius: 13px; }
.etk-group-icon .icon { width: 23px; height: 23px; }
.etk-group-code { position: absolute; right: 14px; top: 14px; color: #a1acba; font: 800 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.etk-group-card strong { margin-top: 15px; font-size: 14px; line-height: 1.25; }
.etk-group-card > small { min-height: 33px; margin-top: 4px; color: var(--muted); font-size: 10px; }
.etk-group-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 12px; padding-top: 10px; color: var(--blue-600); border-top: 1px solid var(--border); font-size: 10px; font-weight: 750; }
.etk-group-meta .icon { width: 14px; height: 14px; }
.etk-breadcrumb { display: flex; align-items: center; gap: 5px; margin: 6px 0 22px; overflow-x: auto; scrollbar-width: none; }
.etk-breadcrumb > span { color: #a7b0bd; }
.etk-breadcrumb .icon { width: 14px; height: 14px; }
.etk-breadcrumb button { min-height: 34px; display: flex; align-items: center; gap: 5px; padding: 0 9px; color: var(--muted); background: white; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; font-size: 10px; white-space: nowrap; }
.etk-breadcrumb button:hover { color: var(--blue-600); border-color: var(--blue-500); }
.etk-illustration-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.etk-illustration-card { min-height: 112px; display: grid; grid-template-columns: 84px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 13px; cursor: pointer; text-align: left; }
.etk-illustration-card:hover { border-color: var(--blue-500); }
.etk-illustration-preview { width: 84px; height: 82px; display: grid; place-items: center; color: #697687; background: linear-gradient(145deg,#fbfcfe,#edf1f5); border-radius: 12px; }
.etk-illustration-preview .icon { width: 42px; height: 42px; stroke-width: 1.2; }
.etk-illustration-card small, .etk-illustration-card em { display: block; color: var(--muted); font-size: 9px; font-style: normal; }
.etk-illustration-card strong { display: block; margin: 4px 0; font-size: 13px; }
.etk-illustration-card > .icon { width: 17px; color: var(--blue-600); }
.etk-illustration-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(350px,.65fr); gap: 18px; align-items: start; }
.etk-canvas-card { min-width: 0; overflow: hidden; }
.etk-canvas-toolbar { min-height: 58px; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--border); background: white; }
.etk-canvas-toolbar [data-etk-zoom] { min-width: 50px; color: var(--muted); text-align: center; font: 750 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.etk-canvas-toolbar .btn { margin-left: auto; }
.etk-canvas { min-height: 500px; display: grid; place-items: center; position: relative; overflow: hidden; padding: 24px; touch-action: none; cursor: grab; user-select: none; background: linear-gradient(145deg,#fbfcfe,#eef2f6); }
.etk-canvas.panning { cursor: grabbing; }
.etk-diagram-transform { width: 100%; will-change: transform; transform-origin: center; }
.etk-schematic { width: 100%; height: auto; max-height: 550px; fill: rgba(255,255,255,.72); stroke: #445161; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 9px 8px rgba(19,33,49,.12)); }
.etk-svg-hotspot { cursor: pointer; filter: none; }
.etk-svg-hotspot circle { fill: var(--blue-600); stroke: white; stroke-width: 5; }
.etk-svg-hotspot text { fill: white; stroke: none; font: 800 17px ui-sans-serif, sans-serif; }
.etk-svg-hotspot:hover circle, .etk-svg-hotspot:focus circle, .etk-svg-hotspot.selected circle { fill: var(--danger); }
.etk-canvas-card > p { margin: 0; padding: 10px 14px; color: var(--muted); border-top: 1px solid var(--border); font-size: 9px; }
.etk-canvas-card.is-fullscreen { position: fixed; z-index: 120; inset: 12px; display: grid; grid-template-rows: auto minmax(0,1fr) auto; background: white; box-shadow: 0 24px 80px rgba(3,12,24,.35); }
.etk-canvas-card.is-fullscreen .etk-canvas { min-height: 0; }
.diagram-fullscreen-open { overflow: hidden; }
.etk-position-list { overflow: hidden; }
.etk-position-list .table-head { display: flex; align-items: center; justify-content: space-between; }
.etk-position-row { width: 100%; min-height: 82px; display: flex; align-items: center; gap: 11px; padding: 12px 14px; background: white; border-top: 1px solid var(--border); cursor: pointer; text-align: left; }
.etk-position-row:hover { background: var(--blue-50); }
.etk-position-row.selected { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue-600); }
.etk-pos-number { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: var(--blue-600); border-radius: 10px; font-size: 12px; font-weight: 850; }
.etk-pos-copy { min-width: 0; flex: 1; }
.etk-pos-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.etk-pos-copy code { display: block; margin: 3px 0; color: var(--navy-950); font: 800 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.etk-pos-copy small { display: block; color: var(--success); font-size: 9px; }
.etk-position-row > .icon { width: 16px; color: var(--blue-600); }

/* Catalog */
.vehicle-context { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 13px; }
.vehicle-context .icon { width: 22px; }
.vehicle-context-copy { flex: 1; }
.vehicle-context-copy small { display: block; font-size: 10px; opacity: .72; }
.vehicle-context-copy strong { font-size: 13px; }
.catalog-search { display: flex; gap: 10px; margin-bottom: 18px; }
.catalog-search .search-box { flex: 1; max-width: none; height: 54px; box-shadow: var(--shadow-xs); }
.mobile-filter { display: none; }
.catalog-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-bottom: 24px; }
.catalog-tabs::-webkit-scrollbar { display: none; }
.chip { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; color: var(--muted); background: white; border: 1px solid var(--border); border-radius: 11px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { color: white; background: var(--blue-600); border-color: var(--blue-600); }
.catalog-layout { display: grid; grid-template-columns: 242px minmax(0,1fr); gap: 24px; }
.filters { align-self: start; position: sticky; top: 100px; padding: 20px; }
.filter-section { padding: 18px 0; border-bottom: 1px solid var(--border); }
.filter-section:first-child { padding-top: 0; }
.filter-section:last-child { padding-bottom: 0; border-bottom: 0; }
.filter-title { margin: 0 0 11px; font-size: 13px; }
.filter-options { display: grid; gap: 9px; }
.check-row { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; cursor: pointer; }
.check-row input { width: 17px; height: 17px; accent-color: var(--blue-600); }
.results-head { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.results-count { color: var(--muted); font-size: 13px; }
.results-count strong { color: var(--text); }
.sort-select { width: auto; min-height: 40px; padding-right: 36px; font-size: 12px; font-weight: 650; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.product-card { position: relative; min-width: 0; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.product-card:hover { transform: translateY(-3px); border-color: #cbd8e8; box-shadow: var(--shadow-sm); }
.product-click { display: block; cursor: pointer; }
.product-art { height: 172px; display: grid; place-items: center; position: relative; background: linear-gradient(145deg,#fafcff,#eef3f8); overflow: hidden; }
.product-art::before { content: ""; position: absolute; width: 130px; height: 130px; border: 18px solid rgba(8,102,229,.08); border-radius: 50%; transform: translate(72px,-56px); }
.part-illustration { width: 112px; height: 112px; color: #3e4855; filter: drop-shadow(0 14px 12px rgba(28,41,57,.15)); }
.part-illustration .accent { stroke: var(--blue-600); }
.product-origin { position: absolute; left: 12px; top: 12px; z-index: 2; }
.favorite-btn { position: absolute; right: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-xs); }
.favorite-btn.active { color: var(--danger); background: var(--danger-bg); }
.favorite-btn.active .icon { fill: currentColor; }
.product-body { padding: 16px; }
.product-brand { margin-bottom: 5px; color: var(--blue-600); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-name { height: 42px; margin: 0 0 3px; overflow: hidden; font-size: 15px; line-height: 1.35; letter-spacing: -.012em; }
.product-code { color: var(--muted); font-size: 10px; }
.compat-row { min-height: 29px; display: flex; align-items: center; margin-top: 10px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.rating { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; }
.rating .icon { width: 14px; height: 14px; color: #f5a000; fill: currentColor; stroke: none; }
.stock { color: var(--success); font-size: 10px; font-weight: 700; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--border); }
.price strong { display: block; font-size: 19px; line-height: 1; letter-spacing: -.03em; }
.price small { color: var(--muted); font-size: 9px; }
.add-cart-btn { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--blue-600); border-radius: 12px; cursor: pointer; }
.add-cart-btn:hover { background: var(--blue-700); }
.add-cart-btn .icon { width: 19px; height: 19px; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 28px; }

/* Garage, favorites, orders */
.vehicle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.vehicle-card { position: relative; overflow: hidden; }
.vehicle-card-top { height: 150px; display: grid; place-items: center; background: linear-gradient(145deg,#f6faff,#e9eff7); }
.vehicle-card-top .vehicle-art { width: 150px; height: 92px; background: transparent; }
.vehicle-card-top .vehicle-art .icon { width: 120px; height: 82px; }
.vehicle-card-body { padding: 19px; }
.vehicle-card h2 { margin: 0; font-size: 18px; }
.vehicle-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.vehicle-spec { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.vehicle-spec .icon { width: 15px; height: 15px; }
.vehicle-card-actions { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.vehicle-card-actions .btn { flex: 1; }
.default-ribbon { position: absolute; left: 13px; top: 13px; z-index: 2; }
.kebab { position: absolute; z-index: 2; right: 10px; top: 10px; background: rgba(255,255,255,.9); }
.list-stack { display: grid; gap: 12px; }
.order-card { padding: 20px; }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.order-number { font-size: 16px; font-weight: 800; }
.order-date { color: var(--muted); font-size: 11px; }
.order-items { display: grid; gap: 8px; margin: 17px 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.order-item { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; }
.order-total { display: flex; justify-content: space-between; align-items: center; }
.order-total strong { font-size: 17px; }
.status-timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; margin-top: 16px; }
.status-step { height: 4px; background: var(--border); border-radius: 5px; }
.status-step.done { background: var(--blue-600); }

/* Account and admin */
.account-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 24px; }
.profile-card { align-self: start; overflow: hidden; }
.profile-cover { height: 88px; background: var(--navy-950); position: relative; }
.profile-cover::after { content: ""; position: absolute; width: 145px; height: 145px; border: 24px solid var(--blue-600); border-radius: 50%; right: -34px; top: -92px; }
.profile-info { padding: 0 22px 22px; }
.avatar { width: 68px; height: 68px; display: grid; place-items: center; margin-top: -34px; position: relative; border: 5px solid white; border-radius: 22px; background: var(--blue-50); color: var(--blue-700); font-size: 22px; font-weight: 850; }
.profile-info h2 { margin: 11px 0 1px; font-size: 18px; }
.profile-info p { margin: 0; color: var(--muted); font-size: 12px; }
.account-menu { display: grid; gap: 4px; margin-top: 18px; }
.account-menu button { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 11px; color: var(--muted); background: transparent; border-radius: 10px; cursor: pointer; text-align: left; font-size: 13px; }
.account-menu button:hover, .account-menu button.active { color: var(--blue-600); background: var(--blue-50); }
.account-menu .icon { width: 18px; height: 18px; }
.account-content { padding: 25px; }
.settings-list { display: grid; gap: 12px; margin-top: 18px; }
.setting-row { min-height: 65px; display: flex; align-items: center; gap: 13px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 13px; }
.setting-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--blue-600); background: var(--blue-50); border-radius: 12px; }
.setting-icon .icon { width: 20px; }
.setting-copy { flex: 1; }
.setting-copy strong { display: block; font-size: 13px; }
.setting-copy small { color: var(--muted); font-size: 11px; }
.admin-shell { display: grid; gap: 22px; }
.admin-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; color: white; background: var(--navy-950); border-radius: var(--r-xl); overflow: hidden; position: relative; }
.admin-hero::after { content: ""; position: absolute; right: -65px; top: -100px; width: 250px; height: 250px; border: 40px solid var(--blue-600); border-radius: 50%; opacity: .7; }
.admin-hero > * { position: relative; z-index: 1; }
.admin-hero h1 { margin: 4px 0 4px; font-size: 30px; }
.admin-hero p { margin: 0; color: #aebbd0; }
.provider-quality-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 18px; align-items: start; }
.quality-card { padding: 19px; }
.quality-card h3 { margin: 0 0 9px; font-size: 16px; }
.quality-card p { margin: 13px 0 0; color: var(--muted); font-size: 10px; }
.table-note { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.metric-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; }
.metric-card { padding: 18px; }
.metric-card small { color: var(--muted); font-size: 11px; }
.metric-value { margin-top: 7px; font-size: 25px; font-weight: 850; letter-spacing: -.04em; }
.metric-delta { margin-top: 5px; color: var(--success); font-size: 10px; }
.admin-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 18px; }
.table-card { overflow: hidden; }
.table-head { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 11px 16px; color: var(--muted); background: var(--surface-2); text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
td { padding: 13px 16px; border-top: 1px solid var(--border); white-space: nowrap; }
td strong { font-size: 12px; }
.table-input { width: 105px; min-height: 36px; height: 36px; padding: 0 9px; font-size: 11px; }
.search-gaps { padding: 18px; }
.gap-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.gap-row:last-child { border: 0; }
.gap-row code { color: var(--blue-700); background: var(--blue-50); padding: 3px 6px; border-radius: 5px; }

/* Drawers, modals and toasts */
.overlay { position: fixed; z-index: 100; inset: 0; display: grid; background: rgba(8,17,30,.48); backdrop-filter: blur(3px); animation: fadeIn .16s ease; }
.overlay.drawer-overlay { justify-items: end; }
.drawer { width: min(520px,100%); height: 100%; overflow-y: auto; background: white; box-shadow: var(--shadow-md); animation: slideIn .25s cubic-bezier(.2,.75,.3,1); }
.drawer-wide { width: min(640px,100%); }
.drawer-head { position: sticky; z-index: 3; top: 0; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 22px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.drawer-head h2 { margin: 0; font-size: 18px; }
.drawer-body { padding: 22px; }
.modal-overlay { place-items: center; padding: 20px; }
.modal { width: min(620px,100%); max-height: min(820px,calc(100vh - 40px)); overflow-y: auto; background: white; border-radius: 24px; box-shadow: var(--shadow-md); animation: modalIn .2s ease; }
.modal-sm { width: min(470px,100%); }
.modal-head { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { margin: 0; font-size: 19px; }
.modal-body { padding: 24px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 17px 22px; border-top: 1px solid var(--border); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.toast-root { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 10px; pointer-events: none; }
.toast { min-width: 290px; max-width: 410px; display: flex; align-items: flex-start; gap: 11px; padding: 14px 15px; color: white; background: var(--navy-950); border-radius: 14px; box-shadow: var(--shadow-md); animation: toastIn .2s ease; pointer-events: auto; }
.toast.success .toast-icon { color: #57d99a; }
.toast.error .toast-icon { color: #ff7e8a; }
.toast-icon .icon { width: 20px; }
.toast-copy { flex: 1; }
.toast strong { display: block; font-size: 13px; }
.toast p { margin: 2px 0 0; color: #bdc8d8; font-size: 11px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
.stepper { display: flex; align-items: center; margin-bottom: 26px; }
.step { display: flex; align-items: center; flex: 1; }
.step:last-child { flex: 0; }
.step-dot { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--muted); background: white; font-size: 11px; font-weight: 800; }
.step-line { width: 100%; height: 2px; background: var(--border); }
.step.active .step-dot, .step.done .step-dot { color: white; background: var(--blue-600); border-color: var(--blue-600); }
.step.done .step-line { background: var(--blue-600); }
.wizard-panel { min-height: 240px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-card { min-height: 60px; display: flex; align-items: center; gap: 11px; padding: 12px; background: white; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; text-align: left; }
.option-card:hover { border-color: var(--blue-500); background: var(--blue-50); }
.option-card.selected { color: var(--blue-700); border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 3px var(--blue-100); }
.option-logo { width: 36px; height: 36px; display: grid; place-items: center; color: var(--blue-600); background: var(--surface-2); border-radius: 10px; font-weight: 850; font-size: 11px; }
.wizard-copy { margin-bottom: 18px; }
.wizard-copy h3 { margin: 0 0 4px; font-size: 18px; }
.wizard-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.vin-entry { display: grid; gap: 14px; padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; }
.vin-code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.vin-hint { color: var(--muted); font-size: 11px; }

/* Product and checkout */
.product-detail-art { height: 260px; display: grid; place-items: center; margin: -22px -22px 22px; background: linear-gradient(145deg,#f9fbfe,#e9eff6); }
.product-detail-art .part-illustration { width: 190px; height: 190px; }
.detail-brand { color: var(--blue-600); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.detail-title { margin: 6px 0 4px; font-size: 28px; line-height: 1.1; letter-spacing: -.04em; }
.detail-code { color: var(--muted); font-size: 12px; }
.compat-box { display: flex; gap: 11px; margin: 20px 0; padding: 14px; border-radius: 14px; }
.compat-box.success { color: #09653e; background: var(--success-bg); border: 1px solid #c6ead6; }
.compat-box.warning { color: #7a5200; background: var(--warning-bg); border: 1px solid #f3dfa4; }
.compat-box.danger { color: #9e1828; background: var(--danger-bg); border: 1px solid #f4c8cd; }
.compat-box .icon { margin-top: 2px; }
.compat-box strong { display: block; font-size: 13px; }
.compat-box p { margin: 2px 0 0; font-size: 11px; }
.detail-purchase { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px; background: var(--surface-2); border-radius: 16px; }
.detail-price strong { display: block; font-size: 27px; letter-spacing: -.04em; }
.detail-price small { color: var(--muted); font-size: 10px; }
.detail-section { margin-top: 25px; }
.detail-section h3 { margin: 0 0 11px; font-size: 16px; }
.detail-section p { color: var(--muted); font-size: 13px; }
.spec-list { display: grid; }
.spec-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.spec-row span { color: var(--muted); }
.offer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.offer-row + .offer-row { margin-top: 8px; }
.offer-row strong { font-size: 12px; }
.offer-row small { display: block; color: var(--muted); font-size: 10px; }
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 22px; align-items: start; }
.cart-items { padding: 6px 20px; }
.cart-row { display: grid; grid-template-columns: 82px minmax(0,1fr) auto; gap: 15px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-row:last-child { border: 0; }
.cart-thumb { width: 82px; height: 72px; display: grid; place-items: center; background: var(--surface-2); border-radius: 12px; }
.cart-thumb .part-illustration { width: 57px; height: 57px; }
.cart-copy { min-width: 0; }
.cart-copy strong { display: block; font-size: 14px; }
.cart-copy small { color: var(--muted); font-size: 10px; }
.cart-copy .badge { margin-top: 7px; }
.cart-control { display: flex; align-items: center; gap: 10px; }
.quantity { display: flex; align-items: center; height: 38px; border: 1px solid var(--border); border-radius: 10px; }
.quantity button { width: 34px; height: 36px; background: transparent; cursor: pointer; }
.quantity span { width: 28px; text-align: center; font-size: 12px; font-weight: 750; }
.cart-price { min-width: 85px; text-align: right; font-weight: 800; font-size: 13px; }
.summary-card { position: sticky; top: 100px; padding: 22px; }
.summary-card h2 { margin: 0 0 18px; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; margin: 11px 0; color: var(--muted); font-size: 12px; }
.summary-row.total { margin-top: 16px; padding-top: 16px; color: var(--text); border-top: 1px solid var(--border); font-size: 16px; font-weight: 850; }
.summary-note { display: flex; gap: 8px; margin: 15px 0; padding: 10px; color: var(--success); background: var(--success-bg); border-radius: 10px; font-size: 10px; }
.summary-note .icon { width: 16px; height: 16px; }
.checkout-steps { display: flex; gap: 7px; margin-bottom: 24px; }
.checkout-step { flex: 1; height: 5px; background: var(--border); border-radius: 5px; }
.checkout-step.active { background: var(--blue-600); }
.success-check { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 18px; color: white; background: var(--success); border-radius: 50%; }
.success-check .icon { width: 36px; height: 36px; stroke-width: 2.5; }
.confirmation { text-align: center; padding: 12px 0; }
.confirmation h2 { margin: 0; font-size: 26px; }
.confirmation p { color: var(--muted); }
.offline-page { min-height: 100vh; display: grid; place-content: center; justify-items: center; padding: 30px; text-align: center; }
.offline-page .brand-mark { width: 70px; height: 70px; border-radius: 23px; margin-bottom: 18px; }
.offline-page h1 { margin: 0; }
.offline-page p { max-width: 480px; color: var(--muted); }

/* Responsive */
@media (max-width: 1120px) {
  .desktop-nav .nav-link span { display: none; }
  .nav-link { padding: 11px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(5,1fr); }
  .vehicle-grid { grid-template-columns: repeat(2,1fr); }
  .metric-grid { grid-template-columns: repeat(3,1fr); }
  .etk-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .etk-illustration-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .site-header { height: 66px; }
  .header-inner { width: min(100% - 28px,var(--max)); }
  .desktop-nav { display: none; }
  .header-actions .vehicle-switch { min-width: 0; max-width: 220px; }
  .page { width: min(100% - 28px,var(--max)); padding-top: 26px; }
  .home-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .category-grid { grid-template-columns: repeat(4,1fr); }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .vehicle-mini-grid { grid-template-columns: repeat(2,1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.mobile-open { display: block; }
  .mobile-filter { display: inline-flex; }
  .account-layout { grid-template-columns: 1fr; }
  .profile-card { display: none; }
  .admin-grid { grid-template-columns: 1fr; }
  .provider-quality-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .etk-layout { grid-template-columns: 1fr; }
  .etk-sidebar { position: static; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .site-header { height: auto; min-height: 62px; padding-top: env(safe-area-inset-top); }
  .header-inner { width: calc(100% - 24px); min-height: 62px; gap: 10px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand-mark::before { width: 24px; height: 24px; }
  .brand-word { font-size: 20px; }
  .header-actions .vehicle-switch { width: 44px; min-width: 44px; padding: 0; justify-content: center; background: transparent; border: 0; }
  .vehicle-switch-copy, .vehicle-switch > .icon:last-child { display: none; }
  .header-actions .icon-btn[data-action="notifications"] { display: none; }
  #app-main { min-height: calc(100vh - 134px); }
  .page { width: calc(100% - 24px); padding: 20px 0 34px; }
  .bottom-nav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(66px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5,1fr); padding: 5px 5px env(safe-area-inset-bottom); background: rgba(255,255,255,.96); border-top: 1px solid var(--border); backdrop-filter: blur(16px); }
  .bottom-link { min-width: 0; display: grid; place-content: center; justify-items: center; gap: 2px; color: var(--subtle); border-radius: 10px; font-size: 9px; font-weight: 700; }
  .bottom-link .icon { width: 20px; height: 20px; }
  .bottom-link.active { color: var(--blue-600); }
  .demo-banner { font-size: 10px; padding: 5px 10px; }
  .home-page { padding-top: 12px; }
  .home-grid { gap: 12px; }
  .hero { min-height: 400px; padding: 26px 20px; border-radius: 22px; }
  .hero h1 { margin-top: 13px; font-size: 38px; }
  .hero-copy { margin-bottom: 20px; font-size: 14px; }
  .hero::after { width: 220px; height: 220px; right: -100px; bottom: -115px; border-width: 37px; }
  .hero-gear, .hero-mascot { display: none; }
  .search-box { height: 58px; padding: 7px 7px 7px 14px; }
  .search-box .btn { width: 44px; min-height: 44px; padding: 0; }
  .search-box .btn span { display: none; }
  .hero-foot { display: grid; gap: 6px; margin-top: 16px; }
  .vin-hero-search input { font-size: 11px; letter-spacing: .04em; }
  .quick-actions { gap: 10px; }
  .quick-action-card { min-height: 172px; padding: 18px; border-radius: 19px; }
  .quick-action-icon { width: 43px; height: 43px; margin-bottom: 19px; border-radius: 13px; }
  .quick-action-card h2 { font-size: 15px; }
  .quick-action-card p { font-size: 10px; }
  .action-arrow { right: 15px; bottom: 15px; width: 32px; height: 32px; }
  .home-section { margin-top: 26px; }
  .section-title { font-size: 18px; }
  .category-grid { grid-template-columns: repeat(4,1fr); gap: 8px; }
  .category-card { min-height: 88px; gap: 7px; padding: 10px 4px; border-radius: 14px; }
  .category-icon { width: 35px; height: 35px; }
  .category-card span { font-size: 9px; }
  .category-grid .category-card:nth-child(n+9) { display: none; }
  .garage-strip { padding: 18px; border-radius: 20px; }
  .vehicle-mini-grid { grid-template-columns: 1fr; }
  .vehicle-mini { min-height: 86px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { min-height: 86px; padding: 16px; }
  .page-heading { align-items: flex-start; margin-bottom: 18px; }
  .catalog-heading { flex-direction: column; align-items: stretch; }
  .catalog-heading .vehicle-context { width: 100%; max-width: 100%; }
  .page-title { font-size: 28px; }
  .page-subtitle { font-size: 12px; }
  .page-heading > .btn span.optional { display: none; }
  .catalog-search { gap: 7px; }
  .catalog-search .search-box { height: 50px; }
  .catalog-search .search-box .btn { display: none; }
  .mobile-filter { width: 50px; min-width: 50px; padding: 0; }
  .product-grid { grid-template-columns: 1fr; gap: 11px; }
  .etk-vehicle-hero { min-height: 160px; align-items: flex-start; padding: 18px; border-radius: 20px; }
  .etk-brand-tile { width: 50px; height: 50px; border-radius: 14px; }
  .etk-vehicle-main h1 { font-size: 20px; }
  .etk-vehicle-main p { max-width: 205px; font-size: 10px; }
  .etk-source { position: absolute; left: 85px; bottom: 18px; align-items: start; justify-items: start; }
  .etk-source small { display: none; }
  .etk-toolbar { display: grid; }
  .etk-toolbar > .btn { min-width: 0; width: 100%; }
  .etk-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .etk-group-card { min-height: 166px; padding: 13px; }
  .etk-group-card strong { font-size: 12px; }
  .etk-illustration-grid { grid-template-columns: 1fr; }
  .etk-illustration-card { grid-template-columns: 70px minmax(0,1fr) auto; }
  .etk-illustration-preview { width: 70px; height: 68px; }
  .etk-canvas { min-height: 340px; padding: 10px; }
  .etk-canvas-toolbar .btn { min-width: 94px; width: auto; }
  .etk-canvas-card.is-fullscreen { inset: 0; border: 0; border-radius: 0; }
  .etk-illustration-layout { margin: 0 -4px; }
  .product-card { display: grid; grid-template-columns: 118px minmax(0,1fr); min-height: 174px; }
  .product-click { display: contents; }
  .product-art { height: auto; min-height: 174px; }
  .part-illustration { width: 80px; height: 80px; }
  .product-origin { left: 7px; top: 7px; }
  .product-origin.badge { font-size: 8px; min-height: 20px; padding: 2px 5px; }
  .favorite-btn { right: 7px; top: 7px; width: 34px; height: 34px; }
  .product-body { padding: 13px 12px; }
  .product-brand { margin-right: 35px; }
  .product-name { height: auto; min-height: 38px; font-size: 14px; }
  .compat-row { margin-top: 7px; }
  .compat-row .badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .product-meta { margin-top: 8px; }
  .product-footer { margin-top: 8px; padding-top: 9px; }
  .price strong { font-size: 17px; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .vehicle-card-top { height: 130px; }
  .order-card { padding: 16px; }
  .admin-hero { padding: 22px; border-radius: 20px; }
  .admin-hero h1 { font-size: 25px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .metric-card { padding: 14px; }
  .metric-value { font-size: 21px; }
  .drawer { width: 100%; }
  .drawer-head { padding-top: env(safe-area-inset-top); min-height: calc(62px + env(safe-area-inset-top)); }
  .drawer-body { padding: 18px; padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .modal-overlay { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: calc(94vh - env(safe-area-inset-top)); border-radius: 24px 24px 0 0; animation-name: sheetIn; }
  .modal-head { min-height: 64px; }
  .modal-body { padding: 20px; }
  .modal-foot { padding-bottom: calc(17px + env(safe-area-inset-bottom)); }
  @keyframes sheetIn { from { transform: translateY(100%); } }
  .option-grid { grid-template-columns: 1fr; }
  .toast-root { left: 12px; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .toast { min-width: 0; max-width: none; }
  .product-detail-art { height: 220px; }
  .detail-title { font-size: 24px; }
  .detail-purchase { position: sticky; bottom: 0; margin: 20px -18px -18px; border-radius: 0; border-top: 1px solid var(--border); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
  .cart-items { padding: 3px 13px; }
  .cart-row { grid-template-columns: 62px minmax(0,1fr); gap: 11px; }
  .cart-thumb { width: 62px; height: 62px; }
  .cart-control { grid-column: 2; justify-content: space-between; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .brand-word { font-size: 18px; }
  .header-actions { gap: 0; }
  .hero { padding: 23px 17px; }
  .hero h1 { font-size: 34px; }
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .category-grid .category-card:nth-child(7), .category-grid .category-card:nth-child(8) { display: none; }
  .quick-action-card { padding: 15px; }
  .metric-grid { grid-template-columns: 1fr; }
  .etk-group-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1600px) {
  :root { --max: 1420px; }
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hero { min-height: 470px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Oh Piesa 2026 — VIN-first premium experience */
:root {
  --blue-500: #1576ff;
  --blue-600: #0b63e5;
  --blue-700: #064bb6;
  --navy-950: #06101e;
  --bg: #f3f6fa;
  --border: #dfe6ef;
  --shadow-sm: 0 14px 36px rgba(18,39,68,.08), 0 2px 8px rgba(18,39,68,.04);
  --shadow-md: 0 26px 70px rgba(7,24,47,.18), 0 4px 14px rgba(7,24,47,.08);
}
body { background: radial-gradient(circle at 8% 0,rgba(11,99,229,.055),transparent 25rem),var(--bg); }
.site-header { background: rgba(255,255,255,.86); box-shadow: 0 1px 0 rgba(255,255,255,.72); }
.nav-link { font-size: 13px; }
.hero-2026 { min-height: 560px; padding: 56px; color: white; background: var(--navy-950); border: 0; isolation: isolate; box-shadow: 0 28px 70px rgba(5,20,43,.2); }
.hero-2026::after { display: none; }
.hero-visual { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(3,10,21,.98) 0%,rgba(3,10,21,.92) 37%,rgba(3,10,21,.38) 67%,rgba(3,10,21,.08) 100%),linear-gradient(0deg,rgba(3,10,21,.48),transparent 52%); }
.hero-2026 .hero-content { max-width: 625px; }
.hero-2026 .eyebrow { color: #89c2ff; }
.hero-2026 .eyebrow-dot { background: #62b0ff; box-shadow: 0 0 0 5px rgba(98,176,255,.14); }
.hero-2026 h1 { max-width: 600px; margin-top: 26px; font-size: clamp(46px,5.2vw,72px); line-height: .96; }
.hero-2026 h1 span { color: #67afff; }
.hero-2026 .hero-copy { max-width: 555px; color: #c1ccda; font-size: 18px; line-height: 1.65; }
.hero-2026 .search-box { max-width: 625px; height: 70px; border-color: rgba(255,255,255,.18); box-shadow: 0 18px 40px rgba(0,0,0,.24); }
.hero-2026 .hero-foot { color: #b6c3d2; flex-wrap: wrap; }
.hero-2026 .hero-foot .icon { color: #70d5a2; }
.journey-panel { display: flex; flex-direction: column; gap: 0; min-height: 560px; padding: 32px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.9); border-radius: var(--r-xl); box-shadow: var(--shadow-md); backdrop-filter: blur(22px); }
.journey-head h2 { margin: 12px 0 8px; font-size: 28px; line-height: 1.08; letter-spacing: -.045em; }
.journey-head p { margin: 0; color: var(--muted); font-size: 13px; }
.journey-steps { display: grid; gap: 0; margin: 27px 0; padding: 0; list-style: none; }
.journey-steps li { position: relative; display: flex; gap: 14px; min-height: 77px; }
.journey-steps li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 43px; bottom: 5px; width: 1px; background: linear-gradient(var(--blue-500),var(--border)); }
.journey-steps li > span { z-index: 1; width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 12px; font-size: 10px; font-weight: 900; }
.journey-steps strong,.journey-steps small { display: block; }
.journey-steps strong { margin-top: 1px; font-size: 14px; }
.journey-steps small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.journey-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; }
.confidence-strip { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; padding: 14px 22px; color: var(--muted); background: rgba(255,255,255,.82); border: 1px solid rgba(217,226,237,.9); border-radius: 20px; box-shadow: var(--shadow-xs); backdrop-filter: blur(14px); font-size: 12px; font-weight: 750; }
.confidence-strip .icon { width: 15px; color: #b3becb; }
.confidence-strip strong { color: var(--blue-600); }
.pro-teaser { position: relative; min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 36px; padding: 38px 42px; overflow: hidden; color: white; background: linear-gradient(125deg,#071322 0%,#0a2245 58%,#0b63e5 150%); border-radius: 28px; box-shadow: var(--shadow-md); }
.pro-teaser::after { content: ''; position: absolute; width: 280px; height: 280px; right: 8%; top: -185px; border: 46px solid rgba(59,145,255,.5); border-radius: 50%; }
.pro-teaser > * { position: relative; z-index: 1; }
.pro-teaser .eyebrow { color: #78b9ff; }
.pro-teaser h2 { max-width: 660px; margin: 10px 0 8px; font-size: clamp(25px,3vw,39px); line-height: 1.05; letter-spacing: -.045em; }
.pro-teaser p { max-width: 720px; margin: 0; color: #adbbcd; }
.pro-teaser .btn { flex: 0 0 auto; background: white; color: var(--navy-950); box-shadow: none; }

/* Professional desktop workspace */
.pro-page { --pro-sidebar: #071321; max-width: 1480px; }
.pro-commandbar { min-height: 96px; display: grid; grid-template-columns: auto minmax(330px,1fr) auto; align-items: center; gap: 22px; padding: 18px 22px; color: white; background: linear-gradient(110deg,#071321,#0b203c); border-radius: 22px 22px 0 0; }
.pro-command-copy { display: flex; align-items: center; gap: 12px; }
.pro-command-copy h1 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.pro-command-copy p { margin: 2px 0 0; color: #8fa2bb; font-size: 10px; }
.pro-badge { min-width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--blue-600); border-radius: 13px; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.pro-global-search { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 5px 5px 5px 15px; color: var(--muted); background: white; border-radius: 14px; box-shadow: 0 12px 25px rgba(0,0,0,.15); }
.pro-global-search input { flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; }
.pro-global-search kbd,.kbd-hint { padding: 4px 7px; color: #728197; background: #eef2f6; border: 1px solid #dde4ec; border-radius: 6px; font: 9px ui-monospace,SFMono-Regular,Consolas,monospace; }
.pro-tabs { min-height: 77px; display: flex; gap: 1px; overflow-x: auto; padding: 9px 10px 0; background: #0b1a2b; scrollbar-width: thin; }
.pro-vehicle-tab { position: relative; min-width: 220px; display: flex; align-items: center; gap: 10px; padding: 10px 13px; color: #93a4b9; background: #0d2034; border-radius: 13px 13px 0 0; cursor: pointer; text-align: left; }
.pro-vehicle-tab.active { color: var(--text); background: var(--bg); }
.pro-vehicle-tab strong,.pro-vehicle-tab small { display: block; white-space: nowrap; }
.pro-vehicle-tab strong { font-size: 11px; }
.pro-vehicle-tab small { font-size: 8px; color: inherit; opacity: .72; }
.pro-brand-token { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; color: var(--navy-950); background: white; border-radius: 10px; font-size: 9px; font-weight: 900; }
.status-dot { position: absolute; right: 8px; top: 8px; width: 6px; height: 6px; background: var(--warning); border-radius: 50%; }
.status-dot.live { background: var(--success); }
.pro-shell { display: grid; grid-template-columns: 250px minmax(0,1fr); min-height: 690px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 22px 22px; box-shadow: var(--shadow-sm); }
.pro-sidebar { padding: 18px 12px; color: #b1c0d1; background: var(--pro-sidebar); }
.pro-side-section + .pro-side-section { margin-top: 22px; }
.pro-side-head { display: flex; justify-content: space-between; padding: 0 8px 8px; color: #6f829a; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pro-recent-list { display: grid; gap: 4px; }
.pro-recent-list > button { width: 100%; min-height: 54px; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 7px 8px; color: inherit; background: transparent; border-radius: 10px; cursor: pointer; text-align: left; }
.pro-recent-list > button:hover { color: white; background: #10243a; }
.pro-recent-list button > span:first-child { width: 29px; height: 29px; display: grid; place-items: center; color: #7ab9ff; background: #102942; border-radius: 8px; }
.pro-recent-list .icon { width: 15px; }
.pro-recent-list strong,.pro-recent-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-recent-list strong { font-size: 10px; color: #e5edf6; }
.pro-recent-list small,.pro-recent-list time,.pro-recent-list p { color: #71849c; font-size: 8px; }
.pro-side-link { min-height: 42px; display: flex; align-items: center; gap: 10px; margin-top: 5px; padding: 0 10px; border-radius: 9px; font-size: 10px; font-weight: 700; }
.pro-side-link:hover { color: white; background: #10243a; }
.pro-side-link .icon { width: 16px; }
.pro-side-link span { margin-left: auto; }
.pro-workarea { min-width: 0; padding: 22px; background: #f4f7fb; }
.pro-active-vehicle { min-height: 144px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px 28px; color: white; background: linear-gradient(115deg,#0a1727 0%,#0d2b52 75%,#0c65e8 170%); border-radius: 19px; box-shadow: 0 16px 36px rgba(7,29,59,.16); }
.pro-active-vehicle h2 { margin: 8px 0 3px; font-size: 29px; letter-spacing: -.045em; }
.pro-active-vehicle p { margin: 0; color: #a8b8cb; font-size: 11px; }
.pro-active-vehicle > div:last-child { display: grid; justify-items: end; gap: 13px; }
.pro-active-vehicle .eyebrow { color: #78b9ff; }
.pro-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 13px; }
.pro-stat-grid article { min-height: 78px; display: flex; align-items: center; gap: 12px; padding: 14px; background: white; border: 1px solid var(--border); border-radius: 14px; }
.pro-stat-grid article > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue-600); background: var(--blue-50); border-radius: 11px; }
.pro-stat-grid strong,.pro-stat-grid small { display: block; }
.pro-stat-grid strong { font-size: 19px; letter-spacing: -.03em; }
.pro-stat-grid small { color: var(--muted); font-size: 9px; }
.pro-content-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 13px; margin-top: 13px; }
.pro-panel { padding: 19px; background: white; border: 1px solid var(--border); border-radius: 17px; }
.pro-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.pro-panel-head h2 { margin: 5px 0 0; font-size: 17px; }
.pro-panel-head .eyebrow { font-size: 9px; }
.pro-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pro-action-grid > button { min-height: 96px; display: grid; grid-template-columns: 39px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 13px; background: #f8fafc; border: 1px solid var(--border); border-radius: 13px; cursor: pointer; text-align: left; }
.pro-action-grid > button:hover { border-color: #a9c9f3; background: var(--blue-50); }
.pro-action-grid > button:disabled { opacity: .5; cursor: not-allowed; }
.pro-action-grid > button > span { width: 39px; height: 39px; display: grid; place-items: center; color: var(--blue-600); background: white; border-radius: 11px; }
.pro-action-grid strong,.pro-action-grid small { display: block; }
.pro-action-grid strong { font-size: 11px; }
.pro-action-grid small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.pro-action-grid .icon { width: 17px; }
.pro-notes form { display: grid; gap: 8px; }
.pro-notes .textarea { min-height: 88px; font-size: 11px; }
.pro-notes form .btn { justify-self: end; }
.pro-note-list { max-height: 275px; overflow-y: auto; display: grid; gap: 7px; margin-top: 13px; }
.pro-note-list article { padding: 11px; background: #f8fafc; border: 1px solid var(--border); border-radius: 11px; }
.pro-note-list p { margin: 0; font-size: 10px; line-height: 1.5; }
.pro-note-list footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; color: var(--muted); font-size: 8px; }
.pro-note-list button { width: 27px; height: 27px; display: grid; place-items: center; color: var(--muted); background: white; border-radius: 7px; cursor: pointer; }
.pro-note-list .icon { width: 13px; }
.pro-note-empty { padding: 24px 8px; color: var(--muted); text-align: center; font-size: 10px; }
.pro-loading-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.pro-loading-grid .skeleton { height: 500px; }
.provider-diagram { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.provider-diagram > img { width: 100%; height: 100%; object-fit: contain; user-select: none; }
.provider-hotspot { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; transform: translate(-50%,-50%); color: white; background: var(--blue-600); border: 4px solid white; border-radius: 50%; box-shadow: 0 6px 18px rgba(5,32,70,.28); cursor: pointer; font-size: 12px; font-weight: 900; }
.provider-hotspot:hover,.provider-hotspot.selected { background: var(--navy-950); transform: translate(-50%,-50%) scale(1.08); }

@media (max-width: 1180px) {
  .home-grid { grid-template-columns: minmax(0,1.4fr) minmax(300px,.7fr); }
  .hero-2026 { padding: 42px; }
  .hero-shade { background: linear-gradient(90deg,rgba(3,10,21,.98),rgba(3,10,21,.86) 56%,rgba(3,10,21,.18)); }
  .pro-commandbar { grid-template-columns: auto minmax(300px,1fr); }
  .pro-commandbar > .btn { display: none; }
  .pro-shell { grid-template-columns: 215px minmax(0,1fr); }
  .pro-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
  .hero-2026,.journey-panel { min-height: auto; }
  .hero-2026 { min-height: 570px; }
  .journey-panel { padding: 26px; }
  .journey-steps { grid-template-columns: 1fr 1fr; gap: 15px; }
  .journey-steps li { min-height: 62px; }
  .journey-steps li::after { display: none; }
  .confidence-strip { overflow-x: auto; justify-content: flex-start; }
  .confidence-strip > * { flex: 0 0 auto; }
  .pro-page { width: 100%; padding-top: 0; }
  .pro-commandbar { border-radius: 0; grid-template-columns: 1fr; }
  .pro-commandbar > .btn { display: inline-flex; justify-self: start; }
  .pro-tabs { padding-left: 12px; }
  .pro-shell { grid-template-columns: 1fr; border-left: 0; border-right: 0; border-radius: 0; }
  .pro-sidebar { display: none; }
}
@media (max-width: 640px) {
  .hero-2026 { min-height: 610px; padding: 28px 20px 24px; }
  .hero-visual { object-position: 67% center; opacity: .72; }
  .hero-shade { background: linear-gradient(180deg,rgba(3,10,21,.98) 0%,rgba(3,10,21,.92) 49%,rgba(3,10,21,.44) 100%); }
  .hero-2026 h1 { max-width: 330px; font-size: 43px; }
  .hero-2026 .hero-copy { max-width: 340px; font-size: 14px; }
  .hero-2026 .search-box { margin-top: 20px; }
  .hero-2026 .hero-foot { gap: 8px 14px; font-size: 10px; }
  .journey-steps { grid-template-columns: 1fr; }
  .journey-actions { grid-template-columns: 1fr; }
  .confidence-strip { margin-top: 12px; border-radius: 15px; }
  .pro-teaser { display: grid; padding: 27px 23px; }
  .pro-teaser .btn { justify-self: start; }
  .pro-commandbar { padding: 20px 14px; }
  .pro-command-copy p,.pro-global-search kbd { display: none; }
  .pro-global-search { padding-left: 11px; }
  .pro-global-search .btn { width: 44px; min-width: 44px; padding: 0; font-size: 0; }
  .pro-global-search .btn::after { content: '→'; font-size: 18px; }
  .pro-workarea { padding: 13px; }
  .pro-active-vehicle { align-items: flex-start; flex-direction: column; padding: 20px; }
  .pro-active-vehicle > div:last-child { justify-items: start; }
  .pro-stat-grid { grid-template-columns: 1fr 1fr; }
  .pro-action-grid { grid-template-columns: 1fr; }
  .pro-tabs { min-height: 72px; }
  .pro-vehicle-tab { min-width: 205px; }
}
