/* =========================================================
   Vajram branding + v2 features (driver form, uploads, car art, intro)
   Loaded after app.css
   ========================================================= */

/* ---------- Brand ---------- */
.brand img { display: block; }
.brand b { font: 600 19px var(--f-head); letter-spacing: .22em; color: var(--brand); }
.brand small { color: var(--muted); }
.brand.full { flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px 8px 20px; }
.brand.full img { width: 150px; height: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.brand-tag {
  font: 600 10.5px var(--f-head); letter-spacing: .28em; text-transform: uppercase; color: var(--text);
  padding: 4px 10px 4px 22px; position: relative; background: rgba(255,255,255,.04); border-left: 2px solid var(--brand-red);
}
.brand-tag::before { /* logo stripes */
  content: ""; position: absolute; left: 7px; top: 50%; width: 10px; height: 10px; transform: translateY(-50%);
  background: repeating-linear-gradient(-55deg, var(--brand) 0 2px, transparent 2px 4px);
}
.side .brand.full { align-items: center; text-align: center; }
.login-card .brand.full { align-items: center; width: 100%; padding: 0 0 14px; }
.login-card .brand.full img { width: 210px; }
.ticket .brand.full { padding: 0; } .ticket .brand.full img { width: 150px; }
.ticket .brand-tag { color: #14171d; background: #f1f5ee; }
.dapp-top .brand img { width: 32px; height: auto; }

/* Logo-inspired heading marker: three slanted stripes */
.panel-h h3::before {
  width: 16px; height: 14px; background: repeating-linear-gradient(-55deg, var(--brand) 0 2.5px, transparent 2.5px 5px);
}
.nav a.on::before { background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.sw.s2 { background: var(--brand-red); }
.side::after { background: repeating-linear-gradient(180deg, var(--brand) 0 18px, transparent 18px 40px); animation: sideRoad 1.4s linear infinite; opacity: .7; }
@keyframes sideRoad { from { background-position: 0 0; } to { background-position: 0 40px; } }
.hero, .vhero, .dhero { position: relative; }
.hero::after { /* faint logo watermark */
  content: ""; position: absolute; left: 34%; top: 50%; width: 150px; height: 140px; transform: translateY(-50%); opacity: .07; pointer-events: none; filter: grayscale(.3);
  background: url(brand/vajram-mark.png) center / contain no-repeat;
}
.hero > * { position: relative; z-index: 1; }
.btn.danger-btn { --c: var(--red); }
.req { color: var(--brand-red); font-weight: 700; }
.hint { display: block; margin-top: 5px; font: 500 12px var(--f-body); text-transform: none; letter-spacing: 0; color: var(--muted); }
.hint.bad { color: var(--red); } .hint.ok { color: var(--green); } .hint.warn { color: var(--amber); }

/* photo avatars */
img.avatar { object-fit: cover; background: var(--panel3); border: 0; padding: 0; }

/* ---------- Finder (top bar search) ---------- */
.finder { position: relative; display: flex; align-items: center; gap: 8px; margin-left: 18px; padding: 0 10px; height: 36px; width: min(340px, 34vw);
  background: var(--bg2); border: 1px solid var(--line2); color: var(--muted); }
.finder:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.finder input { margin: 0; padding: 0; border: 0; background: none; box-shadow: none !important; font-size: 14px; height: 100%; }
.finder-pop { position: absolute; top: 40px; left: -1px; right: -1px; background: var(--panel); border: 1px solid var(--line2); border-top: 2px solid var(--brand);
  box-shadow: 0 18px 40px rgba(0,0,0,.6); max-height: 60vh; overflow: auto; z-index: 50; }
.finder-pop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14px; }
.finder-pop a small { color: var(--muted); margin-left: auto; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
.finder-pop a.on, .finder-pop a:hover { background: var(--brand-soft); }
.finder-pop .empty-s { padding: 14px; }

/* ---------- Quick actions & getting started ---------- */
.quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 20px; }
.quick a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14px; transition: .15s; }
.quick a .ic { color: var(--brand); }
.quick a:hover { border-color: var(--brand); background: linear-gradient(90deg, var(--brand-soft), var(--panel)); transform: translateY(-2px); }
.getting-started { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 20px;
  border: 1px dashed rgba(108,176,74,.55); background: linear-gradient(90deg, rgba(108,176,74,.1), transparent); }
.getting-started h3 { text-transform: none; letter-spacing: 0; font-size: 18px; }
.getting-started ol { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.getting-started a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--panel2); border: 1px solid var(--line2); font-size: 14px; }
.getting-started b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #0b1407; font-size: 12px; }
.getting-started li.done a { opacity: .55; text-decoration: line-through; } .getting-started li.done b { background: var(--green); }

/* ---------- Driver form ---------- */
.steps { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; background: var(--panel2); border: 1px solid var(--line2); font: 600 12px var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); cursor: pointer; }
.steps li b { display: grid; place-items: center; width: 24px; height: 24px; background: var(--panel3); color: var(--text); font-size: 12px; }
.steps li.done { color: var(--text); border-color: rgba(108,176,74,.5); } .steps li.done b { background: var(--brand); color: #0b1407; }
.steps li.done b { font-size: 0; } .steps li.done b::after { content: "✓"; font-size: 13px; }
.step-panel { scroll-margin-top: 80px; }
.step-panel.invalid { border-color: var(--red); }
.person-grid { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.photo-pick { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; text-transform: none; letter-spacing: 0; margin: 0; }
.photo-pick input, .dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pp-frame { position: relative; width: 170px; height: 170px; display: grid; place-items: center; background: var(--bg2); color: var(--dim); overflow: hidden;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transition: .2s; }
.pp-frame::after { content: ""; position: absolute; inset: 0; border: 2px dashed var(--line2); clip-path: inherit; }
.pp-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-frame img + i { display: none; }
.photo-pick:hover .pp-frame, .photo-pick.drag .pp-frame { background: var(--brand-soft); color: var(--brand); }
.pp-cta { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.photo-pick small { color: var(--muted); font-size: 12px; }
.lic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dropzone { position: relative; display: block; margin: 0; cursor: pointer; aspect-ratio: 1.586; /* ID-card ratio */ background: var(--bg2);
  border: 2px dashed var(--line2); overflow: hidden; text-transform: none; letter-spacing: 0; transition: .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dropzone.missing { border-color: var(--red); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.dz-img { position: absolute; inset: 0; } .dz-img img { width: 100%; height: 100%; object-fit: cover; }
.dz-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--muted); padding: 10px; }
.dz-empty .ic { color: var(--brand); } .dz-empty b { color: var(--text); font: 600 15px var(--f-body); } .dz-empty small { font-size: 12.5px; }
.dz-bar { position: absolute; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: center; gap: 6px; padding: 8px;
  background: rgba(5,7,10,.75); color: #fff; font: 600 12px var(--f-head); text-transform: uppercase; letter-spacing: .08em; }
.dropzone.has { border-style: solid; border-color: rgba(108,176,74,.6); }
.dropzone.has .dz-empty { display: none; } .dropzone.has .dz-bar { display: flex; }
.pw-row { display: flex; gap: 6px; align-items: stretch; margin-top: 6px; }
.pw-row input { margin: 0; } .pw-row .btn { flex: none; }
.save-bar { position: sticky; bottom: 0; z-index: 20; display: flex; justify-content: flex-end; gap: 10px; padding: 14px 0; margin-top: -4px;
  background: linear-gradient(0deg, var(--bg) 70%, transparent); }

/* ---------- Driver profile: licence + share ---------- */
.share-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px;
  background: linear-gradient(90deg, rgba(108,176,74,.18), var(--panel)); border: 1px solid rgba(108,176,74,.5); }
.share-card p { margin: 0; }
.lic-row { display: grid; grid-template-columns: 240px 240px 1fr; gap: 16px; align-items: start; }
.lic-thumb { position: relative; display: block; aspect-ratio: 1.586; background: var(--bg2); border: 1px solid var(--line2); overflow: hidden; padding: 0; cursor: zoom-in; color: var(--muted); }
.lic-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.lic-thumb:hover img { transform: scale(1.05); }
.lic-thumb span { position: absolute; left: 0; bottom: 0; padding: 4px 10px; background: rgba(5,7,10,.75); color: #fff; font: 600 11px var(--f-head); text-transform: uppercase; letter-spacing: .08em; }
.lic-thumb.missing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed var(--line2); cursor: pointer; }
.lic-thumb.missing span { position: static; background: none; color: var(--muted); }
.lic-thumb.missing:hover { border-color: var(--brand); color: var(--brand); }
.lic-facts { display: grid; gap: 12px; }
.lic-facts small { display: block; font: 600 10.5px var(--f-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.lic-facts b { font-size: 17px; }
.warn-note { color: var(--amber); font-size: 14px; display: flex; gap: 6px; align-items: center; margin: 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(3,4,6,.88); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 94vw; max-height: 88vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .icon-btn { position: fixed; top: 16px; right: 16px; }

/* ---------- Driver app licence prompt ---------- */
.lic-prompt { padding: 16px; margin-bottom: 18px; border: 1px solid rgba(255,176,32,.5); background: linear-gradient(180deg, rgba(255,176,32,.1), var(--panel)); }
.lic-prompt.bad { border-color: var(--red); background: linear-gradient(180deg, var(--red-soft), var(--panel)); }
.lic-prompt p { display: block; line-height: 1.45; }
.lic-prompt p .ic { color: var(--amber); margin-right: 4px; vertical-align: -3px; }
.lic-upload { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.lic-upload .btn { grid-column: 1 / -1; margin-top: 4px; }
.dropzone.mini .dz-empty b { font-size: 13px; } .dropzone.mini .dz-empty small { font-size: 11px; }

/* ---------- Vehicle art ---------- */
.car-art { display: block; width: 100%; height: auto; overflow: visible; }
.car-art .ground { fill: rgba(0,0,0,.5); filter: blur(2px); }
.car-art .seam { stroke: rgba(0,0,0,.35); stroke-width: .9; fill: none; }
.car-art .belt { stroke: rgba(255,255,255,.28); stroke-width: 1; fill: none; }
.car-art .rail { stroke: #2b3039; stroke-width: 2.4; stroke-linecap: round; }
.car-art .handle { fill: rgba(0,0,0,.4); }
.car-art .stripe { fill: rgba(108,176,74,.75); }
.car-art .panel-hl { fill: rgba(255,255,255,.08); stroke: rgba(0,0,0,.25); stroke-width: .8; }
.car-art .cladding { stroke: rgba(0,0,0,.55); stroke-width: 5; }
.car-art .sill { stroke: rgba(0,0,0,.45); stroke-width: 2; }
.car-art .hl-light { fill: #fff5c9; filter: drop-shadow(0 0 3px #ffe58a); }
.car-art .tl-light { fill: #ff3b3b; filter: drop-shadow(0 0 2px #ff3b3b); }
.car-art .arch { fill: #0a0c10; }
.car-art .tyre { fill: #16181d; stroke: #2d3139; stroke-width: 1.4; }
.car-art .spokes line { stroke: #5d6573; stroke-width: 1.6; stroke-linecap: round; }
.car-art .hub { fill: #3a3f48; stroke: #9aa2ae; stroke-width: .8; }
.car-art .wheel { transform-box: view-box; }
.car-art.moving .wheel, .vcard:hover .car-art .wheel { animation: spin .45s linear infinite; }
.car-art.moving { animation: bounce .32s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce { to { transform: translateY(-1.2px); } }

.vcard-art { position: relative; height: 96px; display: flex; align-items: flex-end; justify-content: center; margin: 6px 0 6px; padding-bottom: 8px; }
.vcard-art .car-art { width: 80%; max-height: 86px; position: relative; z-index: 1; transition: transform .5s cubic-bezier(.3,.8,.3,1); }
.vcard:hover .vcard-art .car-art { transform: translateX(6%); }
.mini-road { position: absolute; left: 0; right: 0; bottom: 6px; height: 6px; background: #0c0f14;
  border-top: 1px solid var(--line2); overflow: hidden; }
.mini-road::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 10px, transparent 10px 22px); }
.vcard:hover .mini-road::after, .vcard .car-art.moving ~ .mini-road::after { animation: miniLane .35s linear infinite reverse; }
@keyframes miniLane { from { background-position: 22px 0; } to { background-position: 0 0; } }

.vh-track { position: relative; width: 100%; max-width: 420px; padding-bottom: 20px; }
.vh-track .car-art { position: relative; z-index: 1; width: 100%; }
.vh-road { position: absolute; left: -20px; right: -20px; bottom: 20px; height: 18px; background: linear-gradient(180deg, #1a1e27, #0e1116); overflow: hidden;
  border-top: 3px solid; border-image: repeating-linear-gradient(90deg, var(--brand-red) 0 18px, #e8e8e8 18px 36px) 3; }
.vh-road span { position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 14px, transparent 14px 30px); }
.vh-track.live .vh-road span { animation: road 0.4s linear infinite; }
.vh-track.live .vh-road { border-image-source: repeating-linear-gradient(90deg, var(--brand-red) 0 18px, #e8e8e8 18px 36px); }
@keyframes road { from { background-position: 30px 0; } to { background-position: 0 0; } }
.vh-state { position: absolute; right: 0; bottom: -2px; font: 600 11px var(--f-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; gap: 6px; align-items: center; }

/* ---------- Vehicle intro: car running on a track ---------- */
html.intro-lock body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 200; overflow: hidden; cursor: pointer; color: var(--text);
  animation: introOut .75s cubic-bezier(.7,0,.3,1) 2.45s forwards; }
.intro.skip { animation: introOut .35s ease forwards; }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); opacity: .6; } }
.intro { clip-path: inset(0 0 0 0); }
.intro-sky { position: absolute; inset: 0; background: radial-gradient(1200px 500px at 70% 110%, rgba(108,176,74,.18), transparent 60%), linear-gradient(180deg, #05070b 0%, #0b1118 55%, #121a22 72%, #0a0c10 100%); }
.intro-moon { position: absolute; right: 14%; top: 12%; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffbe8, #d9d3b8 60%, #9c967f);
  box-shadow: 0 0 60px rgba(255,250,220,.25); opacity: .8; }
.intro-city { position: absolute; left: 0; right: 0; background-repeat: repeat-x; background-position: 0 100%; }
.intro-city.far { bottom: 38%; height: 26%; opacity: .45; animation: pan 26s linear infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='200' viewBox='0 0 600 200'%3E%3Cpath fill='%23152230' d='M0 200V120h30V80h40v40h20V60h50v60h30V100h40V40h40v80h30V90h50v30h20V70h40v50h30V50h60v70h20V110h40v90z'/%3E%3C/svg%3E");
  background-size: 600px 100%; }
.intro-city.near { bottom: 36%; height: 20%; animation: pan 12s linear infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='160' viewBox='0 0 500 160'%3E%3Cpath fill='%230d151d' d='M0 160V90h40V50h60v40h30V30h70v60h40V70h50v90h20V60h60v30h40V40h50v50h40v70z'/%3E%3Cg fill='%236cb04a' opacity='.55'%3E%3Crect x='55' y='62' width='6' height='6'/%3E%3Crect x='75' y='78' width='6' height='6'/%3E%3Crect x='150' y='44' width='6' height='6'/%3E%3Crect x='170' y='62' width='6' height='6'/%3E%3Crect x='345' y='74' width='6' height='6'/%3E%3Crect x='420' y='54' width='6' height='6'/%3E%3C/g%3E%3Cg fill='%23ffd67a' opacity='.6'%3E%3Crect x='150' y='78' width='6' height='6'/%3E%3Crect x='260' y='84' width='6' height='6'/%3E%3Crect x='440' y='70' width='6' height='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 500px 100%; }
@keyframes pan { to { background-position: -600px 100%; } }
.intro-city.near { animation-name: pan2; } @keyframes pan2 { to { background-position: -500px 100%; } }
.intro-poles { position: absolute; left: 0; right: 0; bottom: 36%; height: 30%; animation: pan3 1.1s linear infinite; background-repeat: repeat-x; background-position: 0 100%; background-size: 340px 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='200' viewBox='0 0 340 200' preserveAspectRatio='none'%3E%3Cpath d='M40 200V20h3v180z' fill='%2322303c'/%3E%3Cpath d='M41 20h26' stroke='%2322303c' stroke-width='3'/%3E%3Cellipse cx='66' cy='24' rx='8' ry='3' fill='%23fff1c2'/%3E%3C/svg%3E"); }
@keyframes pan3 { to { background-position: -340px 100%; } }
.intro-road { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(180deg, #1b1f27 0%, #101318 100%); }
.intro-kerb { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, var(--brand-red) 0 60px, #ececec 60px 120px); animation: kerb .28s linear infinite; }
.intro-kerb.bottom { top: auto; bottom: 22%; height: 8px; background: repeating-linear-gradient(90deg, var(--brand) 0 60px, #ececec 60px 120px); opacity: .85; }
@keyframes kerb { from { background-position: 120px 0; } to { background-position: 0 0; } }
.intro-lane { position: absolute; left: 0; right: 0; top: 36%; height: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 70px, transparent 70px 150px); animation: introLane .22s linear infinite; }
@keyframes introLane { from { background-position: 150px 0; } to { background-position: 0 0; } }
.intro-speed i { position: absolute; height: 2px; right: -30%; width: 22%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55)); animation: streak .6s linear infinite; }
.intro-speed i:nth-child(1) { top: 52%; animation-delay: .05s; } .intro-speed i:nth-child(2) { top: 58%; animation-delay: .25s; width: 14%; }
.intro-speed i:nth-child(3) { top: 47%; animation-delay: .4s; } .intro-speed i:nth-child(4) { top: 70%; animation-delay: .15s; width: 30%; }
.intro-speed i:nth-child(5) { top: 64%; animation-delay: .5s; } .intro-speed i:nth-child(6) { top: 78%; animation-delay: .32s; width: 12%; }
@keyframes streak { from { transform: translateX(0); } to { transform: translateX(-560%); } }
.intro-car { position: absolute; left: 50%; bottom: 13%; width: min(560px, 82vw); transform: translateX(-160%);
  animation: carIn 1.05s cubic-bezier(.2,.9,.25,1) .1s forwards, carOut .6s cubic-bezier(.6,0,.9,.4) 2.05s forwards; }
@keyframes carIn { to { transform: translateX(-50%); } }
@keyframes carOut { from { transform: translateX(-50%); } to { transform: translateX(140%); } }
.intro-car .car-art { position: relative; z-index: 2; filter: drop-shadow(0 18px 18px rgba(0,0,0,.55)); }
.intro-beam { position: absolute; right: -55%; bottom: 22%; width: 70%; height: 46%; z-index: 1;
  background: radial-gradient(ellipse at 0% 50%, rgba(255,245,200,.35), transparent 70%); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%); }
.intro-dust { position: absolute; left: -12%; bottom: 0; width: 30%; height: 30%; background: radial-gradient(ellipse at 100% 80%, rgba(180,190,200,.25), transparent 70%); filter: blur(4px); animation: dust .3s ease-in-out infinite alternate; }
@keyframes dust { to { opacity: .4; transform: scaleX(1.2); } }
.intro-info { position: absolute; left: 0; right: 0; top: 9%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  opacity: 0; animation: fadeUp .5s ease .35s forwards; }
.intro-info h2 { font-size: 30px; } .intro-info h2 span { color: var(--muted); font-weight: 500; }
.intro-info .eyebrow { justify-content: center; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.intro-progress { position: absolute; left: 50%; bottom: 5%; width: min(320px, 70vw); height: 3px; transform: translateX(-50%); background: rgba(255,255,255,.1); }
.intro-progress i { display: block; height: 100%; width: 0; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: prog 2.3s linear forwards; }
@keyframes prog { to { width: 100%; } }
.intro-logo { position: absolute; left: 24px; top: 22px; width: 44px; opacity: .9; }
.intro-skip { position: absolute; right: 22px; top: 22px; display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  color: var(--text); font: 600 12px var(--f-head); text-transform: uppercase; letter-spacing: .1em; padding: 8px 12px; cursor: pointer; }
.intro-skip:hover { border-color: var(--brand); color: var(--brand); }
/* dashboard reveal */
html.intro-lock .content > *:not(.intro) { opacity: 0; transform: translateY(18px); animation: forceShow .3s 4s forwards; }
@keyframes forceShow { to { opacity: 1; transform: none; } }
html.intro-lock body { animation: unlockScroll 0s 4s forwards; }
@keyframes unlockScroll { to { overflow: auto; } }
.content > *:not(.intro) { transition: opacity .55s ease, transform .55s ease; }

/* ---------- Toast auto-hide ---------- */
.flash { transition: opacity .4s, transform .4s; }
.flash.hide { opacity: 0; transform: translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) { .quick { grid-template-columns: repeat(3, 1fr); } .lic-row { grid-template-columns: 1fr 1fr; } .lic-facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) {
  .finder { width: auto; flex: 1; margin-left: 4px; }
  .person-grid { grid-template-columns: 1fr; justify-items: center; }
  .steps { width: 100%; } .steps li { flex: 1; justify-content: center; }
}
@media (max-width: 640px) {
  .quick { grid-template-columns: 1fr 1fr; } .quick a { font-size: 13px; padding: 10px; }
  .lic-grid { grid-template-columns: 1fr; }
  .lic-row { grid-template-columns: 1fr; } .lic-facts { grid-template-columns: 1fr; }
  .steps li { font-size: 0; padding: 6px; } .steps li b { font-size: 12px; }
  .finder input::placeholder { color: transparent; }
  .finder input { font-size: 15px; }
  .crumb { display: none; }
  .intro-info h2 { font-size: 22px; } .intro-info .plate.xl { font-size: 24px; }
  .intro-car { bottom: 16%; }
  .lic-upload { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .car-art.moving .wheel, .car-art.moving, .lane-road span, .vh-road span { animation: none !important; }
}
@media print { .finder, .quick, .getting-started, .intro { display: none !important; } }
