:root{--asphalt:#1b1f24;--asphalt-2:#2a3038;--yellow:#fed100;--paper:#f6f7f8;--card:#fff;--ink:#1b1f24;--steel:#6b7480;--line:#dfe3e8;--ILLEGAL:#b00020;--REPLACE:#e65100;--PLAN:#f9a825;--OK:#2e7d32;--pending:#9a7400;--brand-red:#c8102e;--r:12px;--tap:48px;color:var(--ink);background:var(--paper);-webkit-text-size-adjust:100%;font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}h1,h2,h3{margin:0 0 .5em;line-height:1.15}h1{letter-spacing:-.01em;font-size:1.6rem}h2{font-size:1.25rem}h3{font-size:1.05rem}a{color:inherit}:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.appbar{z-index:10;padding:8px 14px;padding-top:max(8px, env(safe-area-inset-top));background:var(--asphalt);color:#fff;align-items:center;gap:12px;display:flex;position:sticky;top:0}.brand{color:#fff;align-items:center;gap:8px;text-decoration:none;display:flex}.brand img{width:auto;height:34px}.brand span{opacity:.85;font-weight:600}.appbar-slot{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-weight:600;overflow:hidden}button,.btn{min-height:var(--tap);border:1px solid var(--line);background:var(--card);color:var(--ink);font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-weight:600;text-decoration:none;display:inline-flex}button:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--yellow);border-color:var(--yellow);color:var(--asphalt)}.ghost{color:#fff;background:0 0;border-color:#4b535d;min-height:44px;padding:0 12px;font-size:.9rem}.danger{color:var(--ILLEGAL)}.wide{width:100%}input,select,textarea{width:100%;min-height:var(--tap);border:1px solid var(--line);font:inherit;background:#fff;border-radius:10px;padding:10px 12px}label{margin:12px 0 4px;font-size:.9rem;font-weight:600;display:block}.screen{max-width:560px;margin:0 auto;padding:16px 16px 112px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:14px}.stack>*+*{margin-top:12px}.row{align-items:center;gap:8px;display:flex}.row>*{flex:1}.muted{color:var(--steel);font-size:.9rem}.error{color:var(--ILLEGAL);background:#fdecee;border-radius:10px;padding:10px 12px}.actionbar{padding:12px 16px;padding-bottom:max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#f6f7f8f5;justify-content:center;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0}.actionbar>*{flex:1;max-width:528px}.light{color:#fff;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:.85rem;font-weight:700;display:inline-flex}.light.PLAN{color:var(--asphalt)}.light.none{color:var(--asphalt);background:#c4c9d0}.light.ILLEGAL{background:var(--ILLEGAL)}.light.REPLACE{background:var(--REPLACE)}.light.PLAN{background:var(--PLAN)}.light.OK{background:var(--OK)}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;align-items:center;min-height:44px;padding:0 14px;font-weight:600;display:inline-flex}.chip[aria-pressed=true]{background:var(--asphalt);color:#fff;border-color:var(--asphalt)}.chips{flex-wrap:wrap;gap:8px;display:flex}.spinner{border:3px solid var(--line);border-top-color:var(--asphalt);border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:3s}}.guide{border:1px solid var(--line);border-radius:var(--r);color:var(--steel);background:#fff;margin:0;padding:12px 12px 12px 32px}.guide li+li{margin-top:4px}.tabs{background:#e9ecef;border-radius:12px;gap:4px;padding:4px;display:flex}.tab{background:0 0;border:0;flex:1;min-height:44px}.tab.on{background:#fff;box-shadow:0 1px 2px #1b1f2426}.retake{border-color:var(--REPLACE);background:#fff6ef}.retake ul{margin:6px 0 0;padding-left:20px}.depths{text-align:center;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0;display:grid}.depths>div{flex-direction:column;display:flex}.depths strong{font-size:1.35rem}.plate{letter-spacing:.06em;font-variant-numeric:tabular-nums;font-size:2rem}.plate-input{letter-spacing:.08em;text-align:center;font-size:1.5rem;font-weight:700}.listlink{justify-content:space-between;align-items:center;min-height:64px;text-decoration:none;display:flex}.listlink>span:last-child{color:var(--steel);font-size:1.6rem}.car-hub{grid-template-rows:1fr 1fr;grid-template-columns:1fr 1.25fr 1fr;gap:18px 0;min-height:330px;padding:8px 0;display:grid;position:relative}.car-body{background:var(--asphalt);color:#8b939d;border-radius:46% 46% 30% 30%/18% 18% 10% 10%;grid-area:1/2/span 2;justify-content:center;margin:0 6px;padding-top:14px;font-size:.8rem;display:flex}.hub-tyre{border:2px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;justify-content:center;gap:2px;min-height:120px;padding:12px;text-decoration:none;display:flex}.hub-tyre b{font-size:1.1rem}.hub-tyre span{font-weight:600}.hub-tyre small{color:var(--steel)}.hub-tyre.FL{grid-area:1/1}.hub-tyre.FR{text-align:right;grid-area:1/3}.hub-tyre.RL{grid-area:2/1}.hub-tyre.RR{text-align:right;grid-area:2/3}.hub-tyre.todo{color:var(--steel);border-style:dashed}.hub-tyre.half{border-color:var(--asphalt)}.hub-tyre.ILLEGAL{border-color:var(--ILLEGAL);background:#fdecee}.hub-tyre.REPLACE{border-color:var(--REPLACE);background:#fff3e8}.hub-tyre.PLAN{border-color:var(--PLAN);background:#fff9e0}.hub-tyre.OK{border-color:var(--OK);background:#edf7ee}.diagram svg{width:100%;max-width:360px;height:auto;margin:0 auto;display:block}.diagram .zones>*{transition:fill .15s}.diagram.tappable .zones>*{cursor:pointer}.diagram .zones>.confirmed{fill:#f6c4cb;stroke:var(--brand-red);stroke-width:2px}.diagram .zones>.suggested{fill:#fbeab3;stroke:var(--pending);stroke-width:2px;stroke-dasharray:4 2}.diagram .zones>.selected{stroke:var(--asphalt);stroke-width:3px}.diagram .zones>:focus-visible{stroke:var(--asphalt);stroke-width:3px;outline:none}.sheet-backdrop{z-index:30;background:#1b1f2473;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--paper);width:100%;max-width:560px;max-height:88vh;padding:18px 16px;padding-bottom:max(18px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0;animation:.18s ease-out up;overflow:auto}@keyframes up{0%{opacity:.6;transform:translateY(24px)}}@media (prefers-reduced-motion:reduce){.sheet{animation:none}}.damage-list{margin:0;padding:0;list-style:none}.damage-list li+li{margin-top:10px}.pending-tag{color:var(--pending);margin-top:6px;font-size:.9rem;font-weight:600;display:inline-block}.report-preview{border:1px solid var(--line);border-radius:var(--r);background:#fff;width:100%;height:420px}.muted-light{color:#aab1ba;font-weight:500}.dash{max-width:1280px;margin:0 auto;padding:24px}.dash-head{align-items:baseline;gap:16px;display:flex}.dash-head h1:first-letter{text-transform:uppercase}.kpis{grid-template-columns:repeat(4,1fr);gap:12px;margin:8px 0 20px;display:grid}.kpi{background:var(--card);border:1px solid var(--line);border-radius:var(--r);border-left:6px solid var(--asphalt);flex-direction:column;padding:16px 18px;display:flex}.kpi.REPLACE{border-left-color:var(--REPLACE)}.kpi.PLAN{border-left-color:var(--PLAN)}.kpi-value{font-variant-numeric:tabular-nums;font-size:2.6rem;font-weight:700;line-height:1}.kpi-label{margin-top:6px;font-weight:600}.kpi-hint{color:var(--steel);font-size:.85rem}.dash-grid{grid-template:"leads heat""insp heat"1fr/1.3fr 1fr;align-items:start;gap:16px;display:grid}.leads{grid-area:leads}.heat{grid-area:heat}.inspections{grid-area:insp}.dash table{border-collapse:collapse;width:100%;font-size:.95rem}.dash th{text-align:left;color:var(--steel);border-bottom:1px solid var(--line);padding:6px 8px;font-size:.85rem;font-weight:600}.dash td{border-bottom:1px solid #eef0f3;padding:8px}.dash tr:last-child td{border-bottom:0}.dash .num{text-align:right;font-variant-numeric:tabular-nums}.plate-cell{letter-spacing:.04em;white-space:nowrap;font-weight:700}.links{white-space:nowrap}.links a{margin-left:12px;font-weight:600}.heat .diagram svg{max-width:220px}.heat-legend{color:var(--steel);justify-content:center;align-items:center;gap:8px;margin:8px 0 12px;font-size:.8rem;display:flex}.heat-legend i{background:linear-gradient(90deg,#c8102e2e,#c8102e);border-radius:4px;width:120px;height:8px}.empty{text-align:center;color:var(--steel);padding:40px}@media (width<=900px){.kpis{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr;grid-template-areas:"leads""heat""insp"}}.howto ol{margin:8px 0;padding-left:22px}.howto li+li{margin-top:4px}.howto a{font-weight:600}.link-btn{min-height:44px;color:var(--steel);background:0 0;border:0;padding:0 4px;text-decoration:underline}.help-link{min-height:44px;font-weight:600;line-height:44px;display:inline-block}.help-btn{color:#fff;border:1px solid #4b535d;border-radius:50%;flex:none;justify-content:center;align-items:center;width:44px;height:44px;font-size:1.1rem;font-weight:700;text-decoration:none;display:inline-flex}.guide-page section{margin-top:22px}.guide-page ol,.guide-page ul{padding-left:22px}.guide-page li+li{margin-top:6px}.legend td{padding:4px 8px 4px 0}.segmented{background:#e9ecef;border-radius:12px;gap:4px;padding:4px;display:flex}.segmented button{background:0 0;border:0;flex:1;min-height:44px}.segmented button.on{background:var(--asphalt);color:#fff}.coin-slots{gap:10px;display:grid}.coin-slot strong{font-size:1.2rem}.coin-slot .primary,.coin-slot button{margin-top:8px}.retake-line{color:var(--REPLACE);margin:6px 0 0;font-size:.92rem;font-weight:600}.camera{z-index:50;color:#fff;background:#000;position:fixed;inset:0}.camera-view,.camera-guide{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.camera-guide{pointer-events:none}.camera-guide circle,.camera-guide rect{fill:none;stroke:var(--yellow);stroke-width:.6px}.camera-guide line{stroke:#fff;stroke-width:.3px;stroke-dasharray:1.5 1}.camera-top{z-index:1;padding:12px 16px;padding-top:max(12px, env(safe-area-inset-top));background:linear-gradient(#000a,#0000);justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;left:0;right:0}.camera-hint{z-index:1;text-align:center;text-shadow:0 1px 3px #000;margin:0;font-size:.9rem;position:absolute;bottom:120px;left:16px;right:16px}.camera-bar{z-index:1;padding:16px;padding-bottom:max(16px, env(safe-area-inset-bottom));background:linear-gradient(#0000,#000a);justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;bottom:0;left:0;right:0}.camera-shutter{border:5px solid var(--yellow);background:#fff;border-radius:50%;flex:none;width:72px;height:72px;padding:0}.camera-zoom{flex-direction:column;flex:1;max-width:160px;font-size:.8rem;display:flex}.camera-problem{color:var(--asphalt);background:#fff;border-radius:10px;margin:80px 16px 0;padding:14px}.frame-strip{scroll-snap-type:x mandatory;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.frame-thumb{scroll-snap-align:start;border-radius:8px;flex:none;width:76px;padding:0;position:relative;overflow:hidden}.frame-thumb img{object-fit:cover;width:100%;height:120px;display:block}.frame-thumb span{color:#fff;background:#000a;padding:2px 0;font-size:.75rem;position:absolute;bottom:0;left:0;right:0}.video-notice{background:#fff8d6;border-radius:10px;margin:0;padding:10px 12px}.tagger-img{justify-content:center;align-items:center;display:flex;position:absolute;inset:56px 0 150px}.tagger-img img{object-fit:contain;max-width:100%;max-height:100%}.tagger-mark{border:3px solid var(--yellow);pointer-events:none;border-radius:50%;width:36px;height:36px;margin:-18px 0 0 -18px;position:absolute}.tagger-bar{flex-direction:column;align-items:stretch}.damage-row{align-items:flex-start;gap:10px;display:flex}.damage-thumb{object-fit:cover;border-radius:8px;flex:none;width:72px;height:72px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.login{text-align:center;align-items:center;padding-top:12vh}.user-menu{flex:none;align-items:center;gap:8px;display:flex}.user-name{text-overflow:ellipsis;white-space:nowrap;max-width:12ch;font-size:.85rem;overflow:hidden}
