:root{color-scheme:light;--ink:#102a43;--muted:#52677a;--accent:#2563eb;--accent-hover:#1d4ed8;--accent-soft:#eff6ff;--brand-on-ink:#f5f7fa;--line:#d9e2ec;--paper:#f5f7fa;--surface:#fff;--surface-soft:#eef2f6;--control-border:#74879a;--focus:#2563eb;--danger:#b42318;--danger-soft:#fff1ef;--danger-border:#e8b7b2;--warning:#8a5100;--warning-soft:#fff8e7;--warning-border:#e7c77d;font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.shell{max-width:1200px;margin:0 auto;padding:0 34px}.site-header{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-decoration:none;font-size:29px;letter-spacing:-1.4px;font-weight:760}.brand-mark{display:grid;place-items:center;width:37px;height:37px;background:var(--ink);color:var(--brand-on-ink);border-radius:11px;margin-inline-end:11px;transform:rotate(-3deg)}.brand-mark svg{width:26px;height:26px;stroke-width:2}.brand-dot{color:var(--accent)}.header-right{display:flex;gap:28px;align-items:center}.language{background:transparent;border:1px solid var(--control-border);border-radius:7px;padding:9px 12px;font-size:12px;color:var(--ink)}.language span{margin-inline-start:13px;color:var(--muted)}
.hero-grid{display:grid;grid-template-columns:1fr 1.02fr;gap:75px;align-items:center;padding:48px 0 50px}.hero-copy{padding:0}.eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--accent)}h1{font-size:clamp(38px,4.3vw,54px);line-height:1.13;font-weight:660;letter-spacing:-2.5px;margin:0 0 20px}.accent{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:500;letter-spacing:-1.9px;color:var(--accent)}.intro{max-width:395px;font-size:15px;color:var(--muted);line-height:1.85;margin:0}.scope{display:flex;gap:8px;font-size:11px;line-height:1.7;max-width:360px;color:var(--muted);margin-top:29px}.scope>span:first-child{font-size:13px;margin-top:1px;flex-shrink:0}
.check-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:29px;box-shadow:0 18px 42px #102a430a;position:relative}.check-panel h2{font-size:28px;letter-spacing:-.9px;margin:0 0 9px;font-weight:650}.panel-description{font-size:12px;color:var(--muted);margin:0 0 22px}.vehicle-types{display:flex;padding:4px;border:0;background:var(--surface-soft);border-radius:9px;margin:0 0 23px;gap:4px;min-width:0}.vehicle-choice{flex:1;position:relative;cursor:pointer}.vehicle-choice input{position:absolute;opacity:0;width:1px;height:1px}.vehicle-choice>span{display:flex;justify-content:center;align-items:center;gap:9px;color:var(--muted);border-radius:6px;padding:11px 8px;font-size:12px;font-weight:600}.vehicle-choice input:checked+span{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--control-border),0 2px 6px #102a4312}.vehicle-choice input:focus-visible+span{outline:2px solid var(--accent);outline-offset:1px}.vehicle-choice svg{width:20px;height:20px}.label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.label-row>label{font-size:11px;font-weight:650}.text-button{padding:4px 0;border:0;background:transparent;color:var(--muted);font-size:10px}.text-button:hover{color:var(--accent)}
.plate-editor{display:flex;align-items:stretch;border:1.5px solid var(--control-border);border-radius:10px;overflow:hidden;background:#fff;min-height:107px;box-shadow:0 0 0 4px var(--paper)}.plate-band{background:var(--ink);color:#fff;width:32px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:17px 0 15px}.plate-band span{font-size:23px;color:var(--brand-on-ink);line-height:1}.plate-band strong{font-size:9px;letter-spacing:1.4px}.plate-field{display:flex;flex-direction:column;align-items:stretch;justify-content:start;padding:13px 5px 9px;min-width:0;text-align:center;position:relative;flex:1}.plate-field.first{flex:1.5}.plate-field.last{flex:.9}.plate-field label{font-size:9px;line-height:1.5;color:var(--muted);white-space:nowrap}.plate-field input,.plate-field select{width:100%;border:0;border-radius:3px;outline:none;background:transparent;color:var(--ink);height:43px;text-align:center;padding:4px 1px;font-weight:650;font-size:29px;letter-spacing:1px;min-width:0}.plate-field select{font-size:26px;letter-spacing:0;cursor:pointer;text-align-last:center}.plate-field input::placeholder{color:var(--muted);opacity:1;font-weight:550}.plate-field:focus-within{background:var(--accent-soft)}.plate-field input[aria-invalid=true],.plate-field select[aria-invalid=true]{color:var(--danger)}.plate-divider{width:1px;background:var(--line);margin:22px 2px;flex-shrink:0}.field-error{min-height:10px;font-size:8px;line-height:1.3;color:var(--danger)}.input-hint{font-size:10px;color:var(--muted);margin:11px 0 18px;line-height:1.6}.paste-details{border:1px dashed var(--control-border);border-radius:8px;margin:0}.paste-details summary{list-style:none;display:flex;gap:8px;align-items:center;font-size:10px;color:var(--muted);padding:12px;cursor:pointer}.paste-details summary::-webkit-details-marker{display:none}.paste-details summary svg{width:14px;height:14px;flex-shrink:0}.details-arrow{margin-inline-start:auto;font-size:15px}.paste-details[open] .details-arrow{transform:rotate(45deg)}.paste-row{display:flex;gap:7px;padding:0 12px 8px}.paste-row input{min-width:0;flex:1;border:1px solid var(--control-border);border-radius:5px;padding:8px;font-size:12px;color:var(--ink);background:#fff}.paste-row input:focus{outline:2px solid var(--focus);outline-offset:1px}.paste-row button{font-size:10px;border:0;border-radius:5px;background:var(--accent);color:#fff;padding:8px 11px}.paste-error{font-size:10px;color:var(--danger);margin:0 12px 9px;line-height:1.6}.paste-error:empty{display:none}
.feedback{display:flex;align-items:start;gap:10px;border:1px solid var(--warning-border);background:var(--warning-soft);padding:13px;border-radius:8px;margin-bottom:17px;color:var(--warning)}.feedback strong{font-size:11px;display:block;font-weight:650}.feedback p{font-size:10px;line-height:1.7;margin:5px 0 0}.feedback.error{border-color:var(--danger-border);background:var(--danger-soft);color:var(--danger)}.feedback.loading{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0;margin-top:4px}
.site-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:75px;font-size:9px;color:var(--muted);line-height:1.7}.site-footer a{text-decoration:none}.site-footer a:hover{color:var(--accent)}
.secondary{flex-shrink:0;font-size:11px;border:1px solid var(--accent);color:var(--accent);background:var(--accent-soft);border-radius:7px;padding:11px 14px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
[dir=rtl] .hero-copy h1{font-family:"Segoe UI",Arial,sans-serif;font-size:51px;letter-spacing:-1px;line-height:1.35}[dir=rtl] .accent{font-family:inherit;font-style:normal;letter-spacing:0}[dir=rtl] .eyebrow{letter-spacing:0}[dir=rtl] .plate-field label,[dir=rtl] .field-error{direction:rtl}
@media(max-width:1020px){.hero-grid{gap:35px}.shell{padding:0 26px}h1{font-size:47px}.check-panel{padding:24px}.plate-field input{font-size:25px}}
@media(max-width:760px){.shell{padding:0 21px}.site-header{height:79px}.brand{font-size:25px}.brand-mark{width:31px;height:31px;border-radius:9px}.brand-mark svg{width:23px}.header-right{gap:0}.hero-grid{grid-template-columns:1fr;gap:27px;padding:31px 0}.hero-copy{padding:0}.eyebrow{font-size:9px;letter-spacing:1.4px}h1{font-size:43px;line-height:1.08;margin:0 0 14px;letter-spacing:-1.8px}.intro{font-size:13px;line-height:1.75;max-width:410px}.scope{font-size:10px;margin:15px 0 0;max-width:430px}.check-panel{padding:23px;border-radius:17px}.check-panel h2{font-size:27px}.plate-field input{font-size:27px}.plate-editor{min-height:105px}.site-footer{flex-wrap:wrap;justify-content:space-between;padding-top:20px;padding-bottom:20px;min-height:70px}.site-footer>span:nth-child(2){order:3;width:100%}[dir=rtl] .hero-copy h1{font-size:40px;line-height:1.25}}
@media(max-width:370px){.shell{padding:0 15px}.check-panel{padding:18px}.plate-band{width:26px}.plate-field input{font-size:22px}.plate-field label{font-size:8px}.plate-field select{font-size:23px}.paste-details summary{font-size:9px;padding:10px}}
.plate-band svg{width:17px;height:17px;color:var(--brand-on-ink);stroke-width:1.2}.panel-description{font-size:13px}.label-row>label,.vehicle-choice>span{font-size:12px}.plate-field label{font-size:10px;color:var(--muted)}.field-error{font-size:10px;min-height:13px}.input-hint,.paste-details summary{font-size:11px;color:var(--muted)}.paste-row input{font-size:16px}.scope{color:var(--muted)}.feedback strong{font-size:12px}.feedback p{font-size:11px}.text-button{font-size:11px;color:var(--muted)}.intro{color:var(--muted)}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}
.feedback.success{border-color:#93c5fd;background:var(--accent-soft);color:var(--accent)}
.feedback-retry{margin-top:10px;min-height:44px;padding:10px 18px;color:var(--ink);background:#fff;border-color:currentColor;font-size:12px}.feedback-retry:hover{background:var(--accent-soft)}

/* One clear answer, with supporting information available on demand. */
.result-card{
  --result-accent:var(--accent);
  --result-soft:var(--accent-soft);
  --result-border:#93c5fd;
  --result-car:#bfdbfe;
  margin:24px 0 18px;
  padding:20px 20px 0;
  border:1px solid var(--result-border);
  border-radius:16px;
  background:linear-gradient(180deg,var(--result-soft),#fff 190px);
  overflow:hidden;
  outline:none;
  scroll-margin-block:24px;
}
.result-card.present{
  --result-accent:var(--danger);
  --result-soft:var(--danger-soft);
  --result-border:var(--danger-border);
  --result-car:#f3d3ce;
}
.result-top{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
.result-visual{position:relative;width:210px;max-width:100%;height:110px;color:var(--result-accent)}
.result-car{display:block;width:100%;height:100%;overflow:visible;stroke-width:2.5}
.result-car .vehicle-halo{fill:var(--result-soft);stroke:none}
.result-car .vehicle-body{fill:var(--result-car);stroke:var(--result-accent)}
.result-car .vehicle-glass{fill:#fff;stroke:var(--result-accent)}
.result-car .vehicle-wheel{fill:var(--ink);stroke:#fff;stroke-width:5}
.result-car .vehicle-light{fill:#fff;stroke:var(--result-accent);stroke-width:1.8}
.result-car .vehicle-road{stroke:var(--result-border);stroke-width:2}
.result-status-badge{
  position:absolute;
  inset-inline-end:6px;
  inset-block-end:9px;
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border:4px solid #fff;
  border-radius:50%;
  background:var(--result-accent);
  color:#fff;
  box-shadow:0 2px 5px #102a4314;
}
.result-status-badge #result-symbol{font-family:"Segoe UI",Arial,sans-serif;font-size:25px;line-height:1;font-weight:750}
.result-copy{min-width:0;width:100%;padding:0 1px}
.result-question{margin:5px 0 8px;font-size:11px;font-weight:700;line-height:1.5;letter-spacing:.8px;text-transform:uppercase;color:var(--muted)}
.result-card h3{margin:0;font-size:27px;font-weight:750;line-height:1.2;letter-spacing:-.8px;color:var(--result-accent);text-wrap:balance;overflow-wrap:anywhere}
.result-card #result-description{margin:11px auto 0;max-width:340px;font-size:14px;line-height:1.65;color:var(--muted);text-wrap:pretty}
.result-more{margin:21px -20px 0;border-top:1px solid var(--result-border);background:#fff}
.result-more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:15px 20px;cursor:pointer;font-size:12px;font-weight:650;line-height:1.5;color:var(--ink)}
.result-more>summary::-webkit-details-marker{display:none}
.result-more>summary::after{content:"+";flex-shrink:0;font-size:21px;line-height:1;font-weight:400;color:var(--result-accent)}
.result-more[open]>summary::after{content:"\2212"}
.result-more>summary:hover{background:var(--paper)}
.result-more>summary:focus-visible{outline-offset:-4px}
.result-details{display:grid;grid-template-columns:1fr;gap:13px;margin:0;padding:5px 20px 18px}
.result-details>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;min-width:0}
.result-details dt{font-size:11px;line-height:1.6;color:var(--muted)}
.result-details dd{margin:0;text-align:end;font-size:12px;font-weight:650;line-height:1.6;color:var(--ink);overflow-wrap:anywhere;min-width:0}
.result-details #result-plate{font-size:15px;white-space:nowrap;letter-spacing:.5px}
.result-bottom{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0 20px;padding:14px 0 18px;border-top:1px solid var(--line)}
.result-bottom p{margin:0;font-size:11px;line-height:1.7;color:var(--muted)}
.result-bottom .secondary{min-height:42px;font-size:12px;border-color:var(--accent);border-radius:8px;color:var(--accent);background:var(--accent-soft)}
.result-bottom .secondary:hover{background:#dbeafe}
[dir=rtl] .result-question{letter-spacing:0}
[dir=rtl] .result-card h3{letter-spacing:0;line-height:1.5;font-size:26px}
@media(max-width:370px){
  .result-card{padding:17px 14px 0}
  .result-card h3{font-size:24px}
  .result-visual{width:190px;height:100px}
  .result-more{margin-inline:-14px}
  .result-more>summary{padding-inline:14px}
  .result-details{padding-inline:14px}
  .result-details>div{flex-wrap:wrap;gap:3px 12px}
  .result-bottom{margin-inline:14px}
  [dir=rtl] .result-card h3{font-size:24px}
}

/* Shared control states keep keyboard focus visible on light surfaces. */
button,a,summary,.vehicle-choice>span{transition:color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.language:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-hover)}
.language:active{background:#bfdbfe;color:var(--accent-hover);border-color:var(--accent-hover)}
.vehicle-choice:hover>span{background:#eff6ff;color:var(--ink)}
.vehicle-choice input:checked+span{background:#fff}
.vehicle-choice input:active+span{background:#bfdbfe;color:var(--ink)}
.vehicle-choice input:disabled+span{color:var(--muted);background:var(--surface-soft);cursor:not-allowed}
.text-button:hover,.text-button:active{color:var(--accent-hover);text-decoration:underline;text-underline-offset:3px}
.plate-field:focus-within{box-shadow:inset 0 -3px 0 var(--focus)}
.plate-editor:focus-within{border-color:var(--accent)}
.plate-field input:disabled,.plate-field select:disabled{background:var(--surface-soft);color:var(--muted);cursor:not-allowed}
.paste-details summary:hover,.paste-details summary:active{background:var(--surface-soft);color:var(--ink)}
.paste-row input::placeholder{color:var(--muted);opacity:1}
.paste-row button:hover:not(:disabled){background:var(--accent-hover)}
.paste-row button:active:not(:disabled){background:var(--ink)}
.secondary:hover:not(:disabled){border-color:var(--accent-hover);color:var(--accent-hover);background:#dbeafe}
.secondary:active:not(:disabled){background:#bfdbfe;color:var(--accent-hover);border-color:var(--accent-hover)}
button:disabled{background:var(--surface-soft);color:var(--muted);border-color:var(--control-border)}
.result-bottom .secondary:hover:not(:disabled){border-color:var(--accent-hover);color:var(--accent-hover);background:#dbeafe}
.result-bottom .secondary:active:not(:disabled){background:#bfdbfe;color:var(--accent-hover);border-color:var(--accent-hover)}
.feedback-retry:hover:not(:disabled){color:var(--ink);background:var(--paper);border-color:var(--ink)}
.feedback-retry:active:not(:disabled){background:var(--surface-soft)}
