:root{--ink:#1b302c;--green:#164e40;--soft:#e9f1eb;--paper:#fafaf5;--muted:#596c66;--line:#dbe3dd;--amber:#7c501c;font-family:"Noto Sans Thai",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}a{color:var(--green);text-underline-offset:4px}button:disabled{opacity:.65;cursor:wait}[hidden]{display:none!important}:focus-visible{outline:3px solid #ae731a;outline-offset:4px}input,select,textarea{width:100%;min-height:48px;border:1px solid #aebeb5;border-radius:10px;padding:11px 13px;background:white;color:var(--ink)}input[type=checkbox]{width:19px;min-height:19px;accent-color:var(--green);flex-shrink:0}label{display:flex;flex-direction:column;gap:7px;font-size:.88rem;font-weight:600}label small,.field-help{font-weight:400;color:var(--muted);font-size:.8rem}.wrap{width:min(1160px,calc(100% - 64px));margin-inline:auto}.skip{position:fixed;top:-100px;left:20px;z-index:10;background:white;padding:10px}.skip:focus{top:10px}.site-header{display:flex;align-items:center;gap:30px;min-height:100px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font:700 23px/1.2 system-ui,sans-serif;text-decoration:none;letter-spacing:-.6px}.brand-accent{font-weight:450}.brand small{display:block;font:400 10px/1.8 Tahoma,sans-serif;letter-spacing:0;color:var(--muted);margin-top:4px}nav{display:flex;gap:28px;margin-left:auto;align-items:center}nav a,nav button{font-size:.85rem;font-weight:600;text-decoration:none}nav button{border:0;background:none;padding:10px 0}.language{border:1px solid var(--line);background:transparent;font-size:.75rem;border-radius:100px;width:42px;height:36px}.hero{display:grid;grid-template-columns:1fr 335px;gap:100px;align-items:center;padding-block:64px 52px}.eyebrow{font-size:.77rem;font-weight:600;color:var(--green);display:flex;align-items:center;gap:8px;letter-spacing:.02em;margin:0 0 22px}.pulse{height:7px;width:7px;background:#3c765a;border-radius:50%}h1{font-size:clamp(42px,5.5vw,70px);line-height:1.3;font-weight:700;letter-spacing:-2px;margin:0 0 22px}h1 span{color:var(--green)}.hero-description{max-width:530px;font-size:1rem;color:var(--muted);margin:0 0 18px}.coverage{font-size:.76rem;color:var(--muted)}.help-card{background:var(--green);color:#fff;padding:32px;border-radius:20px;box-shadow:0 12px 30px #164e4010}.help-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #648477;border-radius:50%;font-size:22px;margin-bottom:20px}.help-card h2{font-size:1.25rem;margin:0 0 12px}.help-card p{color:#d1e2d7;font-size:.87rem;line-height:1.8;margin:0 0 24px}.help-card small{display:block;color:#c8dece;font-size:.69rem;margin-top:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:12px 22px;border:1px solid var(--green);background:var(--green);color:white;font-weight:600;font-size:.87rem;border-radius:10px;text-decoration:none}.button:hover{background:#0e3b30}.button.light{background:#edf3df;border-color:#edf3df;color:var(--green);width:100%;justify-content:space-between}.button.light:hover{background:white}.button.secondary{color:var(--green);background:transparent;border-color:#b9c9bd}.button.secondary:hover{background:var(--soft)}.section-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}h2{font-size:1.25rem;line-height:1.5;margin:0}.live-note{font-size:.7rem;color:var(--muted)}.search-panel{display:grid;grid-template-columns:1fr 250px 150px;gap:18px;background:white;border:1px solid var(--line);border-radius:16px;padding:26px 28px 18px;box-shadow:0 4px 14px #1b302c03;align-items:end}.plate-search input{font-size:1.2rem;padding-left:43px}.input-with-icon{position:relative}.input-with-icon>span{position:absolute;left:15px;top:6px;font:32px/1.4 system-ui}.search-panel select{font-size:.93rem;height:53px}.search-button{min-height:53px}.search-hint{grid-column:1/-1;font-size:.74rem;color:var(--muted);margin:0}.results-toolbar{display:flex;justify-content:space-between;gap:25px;align-items:center;padding:27px 0 20px}#result-count{font-weight:600;margin:0;font-size:.92rem}#result-description{font-size:.73rem}.toggle{display:flex;flex-direction:row;align-items:center;font-weight:400;font-size:.74rem;gap:8px}.muted{color:var(--muted)}.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.result-card{border:1px solid var(--line);border-radius:14px;background:white;padding:20px;display:flex;flex-direction:column;overflow:hidden}.result-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.64rem;margin-bottom:15px}.badge{color:var(--green);background:var(--soft);padding:4px 9px;border-radius:6px;font-weight:500}.badge.amber{background:#fbf1df;color:var(--amber)}.card-date{color:var(--muted)}.plate{border:2px solid #c4cec6;border-radius:9px;padding:12px 16px 9px;position:relative;text-align:center;min-height:99px;background:#fcfcf8;box-shadow:inset 0 0 0 3px white}.plate:before,.plate:after{content:"";position:absolute;top:9px;width:4px;height:4px;border-radius:50%;background:#b5c0b7}.plate:before{left:12px}.plate:after{right:12px}.plate strong{font-family:"Noto Sans Thai",system-ui,sans-serif;display:block;font-size:1.95rem;line-height:1.4;font-weight:700;letter-spacing:1px;white-space:nowrap}.plate span{font-size:.77rem;color:var(--muted)}.card-location{display:flex;gap:8px;font-size:.79rem;margin:17px 0 12px;color:var(--muted);min-height:44px}.card-location>span{flex-shrink:0;color:var(--green)}.card-status{font-size:.67rem;color:var(--muted);margin:0 0 17px}.card-status.warning{color:var(--amber)}.card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eaf0eb;padding-top:14px;margin-top:auto}.card-footer small{font-size:.66rem;color:var(--muted)}.card-footer button,.card-footer a{border:0;background:transparent;color:var(--green);font-size:.79rem;font-weight:600;padding:5px 0}.card-footer button:after{content:" ↗"}.pagination{text-align:center;margin:28px 0}.source-note{max-width:800px;font-size:.77rem;color:var(--muted);margin:15px auto 46px;text-align:center}.empty{text-align:center;padding:50px 15px;background:white;border:1px dashed var(--line);border-radius:14px}.empty>span{font-size:35px}.empty h3{font-size:1.1rem}.empty p{max-width:580px;margin:0 auto 22px;font-size:.87rem;color:var(--muted)}.how-section{border-top:1px solid var(--line);padding-block:42px 48px;display:grid;grid-template-columns:275px 1fr;gap:65px}.how-section h2{font-size:1.6rem}.how-section .eyebrow{margin-bottom:12px}.how-section ol{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;list-style:none;counter-reset:steps;margin:0;padding:0}.how-section li{counter-increment:steps}.how-section li:before{content:counter(steps,decimal-leading-zero);display:block;font:500 13px system-ui;color:var(--green);margin-bottom:15px}.how-section b{font-size:.87rem}.how-section p{font-size:.77rem;color:var(--muted);margin:9px 0 0}.review-banner{border:1px solid var(--line);border-radius:16px;background:#f0f4ee;padding:28px;display:flex;gap:35px;align-items:center;justify-content:space-between}.review-banner h2{font-size:1.05rem}.review-banner p{font-size:.78rem;color:var(--muted);max-width:750px;margin:10px 0}.review-banner small{font-size:.7rem;color:var(--muted)}.review-banner button{flex-shrink:0}footer{display:flex;gap:25px;align-items:center;padding-block:38px}footer .brand{font-size:17px}footer p{font-size:.69rem;color:var(--muted)}footer>a:last-child{margin-left:auto;font-size:.7rem}dialog{border:1px solid var(--line);border-radius:20px;width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 48px);padding:34px;color:var(--ink);background:var(--paper);overscroll-behavior:contain}dialog::backdrop{background:#112c22a6;backdrop-filter:blur(3px)}.close{position:sticky;top:0;margin-left:auto;margin-right:-12px;float:right;z-index:1;border:1px solid var(--line);background:var(--paper);width:35px;height:35px;border-radius:50%;font:24px/1 system-ui}.dialog-heading{padding:0 20px 20px 0}.dialog-heading .eyebrow{margin-bottom:7px}.dialog-heading h2{font-size:1.5rem}.dialog-heading p:last-child{font-size:.84rem;color:var(--muted)}.report-form{display:flex;flex-direction:column;gap:19px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.upload-box{border:1.5px dashed #8ca996;border-radius:13px;padding:24px;text-align:center;cursor:pointer;background:var(--soft);font-weight:400}.upload-symbol{font:32px system-ui;color:var(--green)}.upload-box>span:last-of-type{font-size:.72rem;color:var(--muted)}.upload-box input{border:0;font-size:.72rem;padding:9px;background:none;min-height:0}.photo-previews{display:flex;gap:8px;flex-wrap:wrap}.photo-previews img{width:90px;height:90px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.acknowledge{flex-direction:row;align-items:start;font-size:.74rem;font-weight:400;line-height:1.7;gap:10px}.notice{font-size:.74rem;border:1px solid var(--line);border-radius:9px;background:#f0f3ed;padding:13px;line-height:1.8;margin:0}.error{color:#922f2b;font-size:.82rem;background:#fff0ed;border-radius:10px;padding:13px}.honeypot{position:absolute;left:-10000px}.receipt-success{text-align:center}.success-icon{display:grid;place-items:center;width:62px;height:62px;background:var(--soft);color:var(--green);border-radius:50%;font-size:28px;margin:5px auto 20px}.receipt-success h3{font-size:1.2rem}.receipt-success p{font-size:.82rem;color:var(--muted)}.receipt-code{word-break:break-all;font-family:monospace;padding:12px;background:var(--soft);border-radius:8px}.text-button{border:0;background:none;color:var(--green);text-decoration:underline;text-underline-offset:4px;font-size:.82rem;padding:10px}#track-form{display:flex;flex-direction:column;gap:14px}#track-result{margin-block:20px;font-size:.85rem}#track-result a{display:block;margin-top:12px}.detail-dialog{width:min(720px,calc(100% - 24px))}.detail-plate{max-width:310px;margin:15px auto 22px}.detail-copy{font-size:.84rem;color:var(--muted)}.detail-heading{font-size:.9rem;margin:26px 0 12px}.source-item{border:1px solid var(--line);border-radius:12px;padding:16px;background:white;margin-block:12px}.source-item p{font-size:.79rem;line-height:1.8;margin:7px 0}.source-item small{font-size:.68rem;color:var(--muted)}.source-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:12px}.source-links a{font-size:.8rem}.detail-note{font-size:.78rem;color:var(--amber);background:#fbf1df;padding:13px;border-radius:9px}.detail-actions{margin-top:24px}.detail-actions button{width:100%}.detail-summary{display:flex;flex-wrap:wrap;gap:8px}.loading-error{border:1px solid #caa28b;color:#7c4124;padding:25px;border-radius:14px;grid-column:1/-1}
@media(max-width:950px){.hero{gap:35px;grid-template-columns:1fr 300px}.how-section{grid-template-columns:210px 1fr;gap:30px}.results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-panel{grid-template-columns:1fr 200px 120px}.wrap{width:calc(100% - 48px)}}
@media(max-width:650px){.wrap{width:calc(100% - 32px)}.site-header{min-height:80px;gap:14px;flex-wrap:wrap;padding-block:15px}nav{order:3;width:100%;border-top:1px solid var(--line);padding-top:10px;gap:22px}nav a,nav button{font-size:.74rem;padding:3px 0}.language{margin-left:auto}.brand{font-size:21px}.brand small{font-size:9px}.hero{padding-block:32px 28px;grid-template-columns:1fr;gap:26px}.hero .eyebrow{margin-bottom:16px}h1{font-size:44px;letter-spacing:-1px;margin-bottom:17px}.hero-description{font-size:.86rem;line-height:1.8}.coverage{font-size:.66rem}.help-card{padding:22px;border-radius:14px;display:grid;grid-template-columns:1fr auto;gap:8px 16px}.help-card .help-icon{display:none}.help-card h2{font-size:1rem;margin:0;grid-column:1/-1}.help-card p{font-size:.75rem;grid-column:1/-1;margin:0 0 8px}.help-card .button{width:auto;font-size:.75rem;min-height:42px;padding:9px 14px}.help-card small{font-size:.65rem;margin:0;align-self:center;max-width:130px}.section-top{align-items:start;flex-direction:column;gap:4px}.section-top h2{font-size:1.1rem}.search-panel{padding:18px;grid-template-columns:1fr;gap:15px}.search-panel label{font-size:.78rem}.search-panel select{height:48px}.plate-search input{font-size:1.1rem}.search-button{min-height:48px}.search-hint{font-size:.66rem}.results-toolbar{align-items:start;flex-direction:column;gap:12px;padding-block:23px 16px}.results-grid{gap:12px}.result-card{padding:13px;border-radius:12px}.plate{padding:15px 6px 9px;min-height:89px;border-width:1.5px}.plate strong{font-size:clamp(18px,5vw,24px);letter-spacing:.3px}.plate span{font-size:.64rem}.result-meta{align-items:start;flex-direction:column;gap:6px;font-size:.6rem;margin-bottom:10px}.badge{padding:3px 6px}.card-location{font-size:.67rem;gap:5px;margin:12px 0 8px;min-height:43px;overflow-wrap:anywhere}.card-status{font-size:.59rem;margin-bottom:12px}.card-footer{gap:8px;flex-direction:column;align-items:start;padding-top:10px}.card-footer small{font-size:.58rem}.card-footer button,.card-footer a{font-size:.69rem}.source-note{font-size:.67rem;line-height:1.8;margin-bottom:30px}.how-section{padding-block:30px;grid-template-columns:1fr;gap:25px}.how-section h2{font-size:1.35rem}.how-section h2 br{display:none}.how-section ol{grid-template-columns:1fr;gap:22px}.how-section li{padding-left:36px;position:relative}.how-section li:before{position:absolute;left:0;top:3px}.how-section p{font-size:.76rem}.review-banner{padding:21px;flex-direction:column;gap:12px;align-items:start}.review-banner h2{font-size:.94rem}.review-banner p{font-size:.73rem}.review-banner button{font-size:.73rem;min-height:42px}footer{flex-wrap:wrap;gap:12px;padding-block:30px}footer p{width:100%;order:3;margin:0;font-size:.65rem}footer>a:last-child{font-size:.65rem}dialog{padding:23px 20px;border-radius:16px;max-height:calc(100dvh - 24px)}.form-row{grid-template-columns:1fr}.dialog-heading h2{font-size:1.25rem}.report-form label{font-size:.8rem}.upload-box{padding:15px}.detail-copy{font-size:.76rem}.detail-plate strong{font-size:30px}.detail-plate span{font-size:.8rem}}
@font-face{font-family:"Noto Sans Thai";font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/noto-sans-thai-thai-wght-normal.woff2') format('woff2');unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Noto Sans Thai";font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/noto-sans-thai-latin-wght-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
/* Rodvaya's navy, blue, and warm gold, with comfortable phone-sized controls. */
:root{--ink:#122238;--green:#1d4ed8;--soft:#e7efff;--paper:#f7f9fc;--muted:#59677a;--line:#d9e1ea;--amber:#7a4b00;text-rendering:optimizeLegibility}
body{background:radial-gradient(ellipse 900px 520px at 15% 0,#eaf0ff 0,transparent 75%),var(--paper)}
.site-header{min-height:95px}.brand{color:#10233f}.brand-accent{color:#1d4ed8}.brand small{font-family:"Noto Sans Thai",sans-serif;font-size:11px}.pulse{background:#1d4ed8;box-shadow:0 0 0 4px #dfe9fd}.hero{padding-block:68px 56px}.eyebrow{font-size:13px}.hero h1{font-weight:750;letter-spacing:-1.7px}.hero-description{line-height:1.9}.help-card{background:linear-gradient(145deg,#18365f,#10233f);box-shadow:0 16px 40px #10233f19;border:1px solid #28466c;border-radius:24px}.help-icon{color:#f6c85f;border-color:#3e5777}.help-card p{color:#d1dced}.help-card small{color:#c2d1e6}.button.light{background:#f6c85f;border-color:#f6c85f;color:#10233f}.button.light:hover{background:#ffd984}.button:hover{background:#173ea5}.button.secondary{border-color:#b7c7dd}.search-panel{border-radius:20px;padding:28px;box-shadow:0 12px 34px #10233f09}.search-panel input,.search-panel select{border-color:#aebccc}.search-button{box-shadow:0 6px 14px #1d4ed81a}.badge.amber,.detail-note{background:#fff2cf}.plate{background:#fcfdff;border-color:#c4cfdd;box-shadow:inset 0 0 0 3px #fff}.plate:before,.plate:after{background:#aebccc}.plate span{color:#435269}.result-card{border-color:#d9e1ea;border-radius:18px;box-shadow:0 3px 15px #10233f04;transition:border-color .2s,box-shadow .2s}.result-card:hover{border-color:#b6c6e1;box-shadow:0 8px 24px #10233f09}.card-footer{border-color:#e8edf5}.review-banner{background:#edf3fc;border-color:#d4dfef;border-radius:20px}.notice{background:#edf3fc;border-color:#d4dfef}.upload-box{border-color:#93abd6;background:#eef4ff}.loading-error{background:#fff2e9}.close{border-color:#bac8da;background:white;min-width:40px;height:40px}.card-footer button,.card-footer a{min-height:40px}.source-links a{min-height:38px;display:inline-flex;align-items:center}.form-row input{min-width:0}
@media(max-width:650px){.site-header{min-height:80px}.hero{padding-block:35px 30px}.hero h1{font-size:46px;line-height:1.3;letter-spacing:-1px}.hero-description{font-size:15px;line-height:1.85}.eyebrow{font-size:12px}.coverage{font-size:11px}.help-card{padding:23px;border-radius:20px}.help-card h2{font-size:18px}.help-card p{font-size:13px;line-height:1.9}.help-card .button{font-size:13px;min-height:48px}.help-card small{font-size:11px}.search-panel{padding:20px;border-radius:18px;gap:18px}.search-panel label{font-size:13px}.search-hint{font-size:12px}.live-note{font-size:11px}nav a,nav button{font-size:13px;min-height:40px;display:flex;align-items:center}nav{gap:18px;padding-top:5px}.language{min-width:44px;height:40px}.brand small{font-size:10px}.results-grid{grid-template-columns:1fr;gap:15px}.result-card{padding:18px;display:grid;grid-template-columns:minmax(125px,.95fr) 1fr;gap:0 14px;border-radius:17px}.result-meta{grid-column:1/-1;flex-direction:row;font-size:11px;margin-bottom:16px}.badge{padding:4px 8px}.plate{grid-column:1;grid-row:2 / 4;align-self:start;margin:0;min-height:94px;padding:17px 7px 12px;border-width:1.5px}.plate strong{font-size:clamp(20px,5.6vw,26px);line-height:1.4}.plate span{font-size:11px}.card-location{grid-column:2;font-size:12px;margin:0 0 7px;line-height:1.8;min-height:0}.card-status{grid-column:2;font-size:11px;margin:0 0 10px;line-height:1.7}.card-footer{grid-column:1/-1;flex-direction:row;align-items:center;padding-top:8px;margin-top:14px}.card-footer small{font-size:11px}.card-footer button,.card-footer a{font-size:13px;min-height:44px}.toggle{font-size:12px;min-height:36px}.source-note{font-size:12px;line-height:1.85}.how-section p{font-size:13px}.how-section b{font-size:14px}.review-banner p{font-size:13px;line-height:1.85}.review-banner small{font-size:11px}.review-banner button{font-size:13px;min-height:48px}dialog{padding:25px 22px;border-radius:22px;max-height:calc(100dvh - 20px);width:calc(100% - 16px)}.report-form label{font-size:13px}.acknowledge{font-size:12px!important}.notice{font-size:12px}.field-help{font-size:12px}.detail-plate{display:block}.detail-plate .plate strong{font-size:32px}.detail-copy{font-size:13px}.source-item p{font-size:13px}.source-item small{font-size:12px}.source-links a{font-size:13px}.report-form textarea{font-size:16px}.report-form input,.report-form select,#track-form input{font-size:16px}.upload-box input{font-size:12px}footer p,footer>a:last-child{font-size:11px}}
@media(max-width:650px){main{display:flex;flex-direction:column}.hero{display:contents}.hero-copy{order:0;width:calc(100% - 32px);margin-inline:auto;padding:28px 0 22px}.hero-copy .eyebrow{margin-bottom:13px}.hero-copy h1{font-size:40px;margin-bottom:15px}.hero-copy .hero-description{font-size:14px;margin-bottom:12px}.hero-copy .coverage{margin-bottom:0}.search-section{order:1}.help-card{order:2;width:calc(100% - 32px);margin:0 auto 30px}.how-section{order:3}.review-banner{order:4}.search-section .section-top{margin-bottom:15px}.search-section .source-note{margin-bottom:30px}}
@media(max-width:650px){nav{flex-wrap:wrap;column-gap:15px;row-gap:0}}
@media(max-width:350px){.wrap{width:calc(100% - 24px)}.result-card{padding:14px;grid-template-columns:125px 1fr;gap:0 10px}nav{gap:0 14px}nav a,nav button{font-size:12px}.hero-copy h1{font-size:38px}.help-card{grid-template-columns:1fr}.help-card small{max-width:none}.brand{font-size:20px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s,color .15s}dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
.plate-photo{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:180px;margin:0 0 16px;padding:16px 12px 32px;border:1px solid #d6e0ee;border-radius:12px;background:#edf2f8;overflow:hidden;text-decoration:none;isolation:isolate}
.plate-photo img{width:100%;height:100%;object-fit:contain;border-radius:3px}
.plate-photo img.turn-90,.plate-photo img.turn-270{position:absolute;left:50%;top:calc(50% - 12px);width:146px;height:270px;object-fit:contain}
.plate-photo img.turn-90{transform:translate(-50%,-50%) rotate(90deg)}
.plate-photo img.turn-270{transform:translate(-50%,-50%) rotate(270deg)}
.plate-photo>span{position:absolute;bottom:0;left:0;right:0;padding:5px 10px;background:#e5edf8;color:#334b6d;font-size:11px;text-align:left;display:flex;justify-content:space-between}
.plate-photo:hover{border-color:#93add7;background:#e6edf8}
.detail-photo{height:260px;margin-top:16px}.detail-photo img.turn-90,.detail-photo img.turn-270{width:225px;height:500px}
.crop-caption{font-size:12px;color:var(--muted);margin:0 0 20px;text-align:center}
@media(max-width:650px){.result-card.has-preview .plate-photo{grid-column:1/-1;grid-row:2;height:180px;margin-bottom:16px}.result-card.has-preview .plate{grid-row:3/5}.result-card.has-preview .card-location{grid-row:3}.result-card.has-preview .card-status{grid-row:4}.result-card.has-preview .card-footer{grid-row:5}.detail-photo{height:200px}.detail-photo img.turn-90,.detail-photo img.turn-270{width:166px;height:260px}}
.optional-report{border:1px solid var(--line);border-radius:12px;padding:12px 15px}.optional-report summary{min-height:28px;cursor:pointer;font-size:14px;color:var(--green)}.optional-report[open]>.report-form{margin-top:16px}.quick-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:8px}.quick-actions .text-button{font-size:13px;min-height:44px}.freshness-note{font-size:11px;line-height:1.6;color:var(--amber);margin:0 0 12px}.similar-card{border:1px dashed #c6d4e7;padding:18px;border-radius:16px;background:#f0f4fa}.similar-card .text-button{width:100%;margin-top:8px;min-height:44px}#similar-section{margin-top:26px}#similar-section h3{font-size:16px;margin-bottom:5px}#similar-section>.field-help{margin-bottom:15px}
@media(max-width:650px){.freshness-note{grid-column:1/-1;margin:8px 0 0}.result-card.has-preview .card-footer{grid-row:auto}}
.result-meta{align-items:flex-start}.card-date{max-width:52%;line-height:1.6;text-align:right;overflow-wrap:anywhere}

.source-links .map-query-note{flex-basis:100%;margin-top:-8px;line-height:1.65;color:var(--muted)}

footer .footer-link{font-size:12px;min-height:44px;display:inline-flex;align-items:center;max-width:100%}

/* Plate letters and province use local Thai fonts; numerals use original SVG paths. */
@font-face{font-family:"Plate Thai";font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/plate-thai-regular.woff2') format('woff2');unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Plate Thai";font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/plate-thai-semibold.woff2') format('woff2');unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Plate Thai";font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/plate-thai-bold.woff2') format('woff2');unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Plate Numerals";font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/plate-numerals-semibold.woff2') format('woff2');unicode-range:U+0020-007E}
.plate{aspect-ratio:2.25/1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:12px 12px 8px;border:2px solid #272727;border-radius:7px;background:#fff;color:#111;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 4px #d7d7d7}
.plate:before,.plate:after{top:7px;width:3px;height:3px;background:#808080;box-shadow:0 0 0 1px #e5e5e5}
.plate strong{max-width:100%;font-family:"Plate Numerals","Plate Thai","Noto Sans Thai",sans-serif;font-size:clamp(28px,2.7vw,44px);font-weight:700;font-synthesis:none;line-height:1.12;letter-spacing:.035em;font-variant-numeric:lining-nums;word-spacing:.08em}
.plate span{max-width:100%;font-family:"Plate Thai","Noto Sans Thai",sans-serif;font-size:14px;line-height:1.4;font-weight:400;color:#111;letter-spacing:0}
.detail-plate .plate strong{font-size:44px}.detail-plate .plate span{font-size:17px}
@media(max-width:650px){.result-card .plate{min-height:0;padding:8px 6px 6px;gap:1px;border-width:1.5px}.result-card .plate strong{font-size:clamp(20px,5.8vw,28px);line-height:1.15;letter-spacing:.02em}.result-card .plate span{font-size:10px;line-height:1.3}.detail-plate .plate{padding:11px 9px 8px}.detail-plate .plate strong{font-size:clamp(35px,10vw,44px)}.detail-plate .plate span{font-size:16px}}
.plate{container-type:inline-size}.plate strong,.result-card .plate strong,.detail-plate .plate strong{font-size:clamp(18px,21cqw,64px)}

/* Match measured ink, rather than em sizes, to the inspected plate row.
   Glyphs share one visible height; numerals keep wider counters and stems. */
.plate strong,.result-card .plate strong,.detail-plate .plate strong{width:100%;font-size:clamp(18px,21cqw,64px);line-height:1;letter-spacing:0;word-spacing:0}
.plate-registration{display:block;width:100%;height:auto;overflow:visible}
.plate-registration text{font-size:1000px;letter-spacing:0;font-synthesis:none;fill:currentColor}
.plate-thai-glyph{font-family:"Plate Thai",sans-serif;font-weight:600}
.plate-numeral-glyph{font-family:"Plate Numerals",sans-serif;font-weight:600}
.plate{gap:5px}
.plate span,.detail-plate .plate span,.result-card .plate span{font-size:clamp(10px,11cqw,32px);line-height:1.3}

.plate-digit{fill:none;stroke:currentColor;stroke-width:9;stroke-linecap:butt;stroke-linejoin:round}

/* Photographic colours are explicit evidence, never a white/black default. */
.plate-illustration{min-width:0;width:100%}
.plate-colour-label{display:block;font-size:11px;line-height:1.5;margin:8px 0 0;text-align:center;color:var(--muted);overflow-wrap:anywhere}
.plate-colour-label.unverified{color:#654686}
.plate-possible{display:block;font-size:10px;margin-top:3px}
.plate.colour-unverified{color:#634385;border-color:#a491ba;border-style:dashed;background:repeating-linear-gradient(135deg,#f5effb 0 9px,#ece2f6 9px 10px);box-shadow:none}
.plate.colour-unverified .plate-province{color:inherit}
.plate[class*="colour-white-"]{background:#fff}
.plate.colour-white-green{color:#136b46;border-color:#136b46}
.plate.colour-white-blue{color:#153f91;border-color:#153f91}
.plate.colour-white-red{color:#a5192c;border-color:#a5192c}
.plate[class*="colour-yellow-"]{background:#ffdb4b;box-shadow:inset 0 0 0 3px #ffdb4b,inset 0 0 0 4px currentColor}
.plate.colour-yellow-red{color:#a5192c}.plate.colour-yellow-green{color:#136b46}.plate.colour-yellow-blue{color:#153f91}
.plate.colour-green-white{background:#176743;color:white;border-color:white;box-shadow:inset 0 0 0 3px #176743,inset 0 0 0 4px white}
.plate.colour-orange-black{background:#f3a44a}.plate.colour-red-black{background:#e76364}
.plate.colour-blue-white{background:#47799f;color:white}.plate.colour-grey-black{background:#c2c7cc}
.plate:not(.colour-unverified) .plate-province{color:inherit}
.plate.plate-motorcycle{aspect-ratio:17.2/22;max-width:190px;margin-inline:auto;gap:3px;padding:13px 8px 10px}
.plate-motorcycle strong{width:100%}
.plate.plate-motorcycle .plate-province{font-size:clamp(10px,10cqw,22px)}
.detail-plate:has(.plate-motorcycle){max-width:190px}
@media(max-width:650px){.result-card>.plate-illustration{grid-column:1;grid-row:2/4;align-self:start}.result-card.has-preview>.plate-illustration{grid-row:3/5}.result-card .plate-illustration>.plate{margin:0;width:100%}.plate-colour-label{font-size:10px}.plate.plate-motorcycle{max-width:150px}}

/* Search-first public interface. Guidance lives beside the relevant action. */
body{background:#f5f7fb}
.wrap{width:min(1160px,calc(100% - 48px))}
.site-header{min-height:80px;border-bottom:1px solid #dce4ef;gap:24px}
.brand{font-size:23px;letter-spacing:-.65px}.brand img{width:34px;height:34px}
nav{gap:8px}
nav a,nav button{min-height:44px;padding:10px 16px;border-radius:10px;font-size:13px}
nav a{background:#e6edfa;color:#173f9c}
nav button[data-action="report"]{background:#1d4ed8;color:white}
nav button[data-action="report"]:hover{background:#173ea5}
nav button[data-action="track"]{color:#4c5d75}
.language{min-width:44px;height:40px;background:white;border-color:#d4dce8}
.search-section{padding-top:34px;min-height:calc(100dvh - 160px)}
.section-top{align-items:center;margin-bottom:20px}
.section-top h1{font-size:30px;line-height:1.4;letter-spacing:-.6px;margin:0;font-weight:700;color:#132b4b}
.live-note{font-size:11px;color:#657389;line-height:1.6}
.search-panel{grid-template-columns:minmax(0,1fr) 220px 135px;gap:18px;padding:24px;border-radius:18px;border-color:#dce3ed;box-shadow:0 4px 20px #10233f05}
.search-panel label{font-size:12px;gap:8px;color:#52647d}
.plate-search input{font-size:21px;min-height:56px;letter-spacing:.025em}
.search-panel select,.search-button{height:56px;min-height:56px}
.search-panel input,.search-panel select{border-radius:10px;background:#f9fbff;border-color:#c3d0e0}
.search-button{font-size:15px;box-shadow:none}
.results-toolbar{padding:24px 0 18px;gap:18px}
#result-count{font-size:15px;color:#132b4b}#result-description:empty{display:none}
.toggle{font-size:12px;line-height:1.6}
.results-grid{gap:18px}.result-card{border-radius:16px;box-shadow:none;padding:18px}
.result-meta{font-size:11px;margin-bottom:14px;gap:12px}.badge{font-size:11px}
.card-date{font-size:10px;color:#66778d}.card-location{margin-top:15px;min-height:0;font-size:13px;line-height:1.7}
.card-footer{margin-top:auto;padding-top:10px}.card-footer button,.card-footer a{font-size:13px}
.card-footer small{font-size:11px}.card-status{font-size:11px}
.plate-photo{height:180px;border-radius:10px}
.empty{padding:40px 16px}.empty>span{display:none}.empty p{font-size:13px}
.pagination{margin:26px 0 34px}
footer{border-top:1px solid #dce4ef;padding-block:18px;gap:22px;font-size:12px;flex-wrap:wrap}
.footer-brand{font:600 13px system-ui;color:#63738a;margin-right:auto}
footer .footer-link,footer .text-button{font-size:12px;min-height:40px;color:#52647d;text-decoration:none}
footer>a:last-child{margin-left:0}
.dialog-heading{padding-bottom:16px}.dialog-heading h2{font-size:22px}
.dialog-heading p:last-child{font-size:13px;margin-bottom:0}
.report-form{gap:16px}.report-form label{font-size:13px}.report-form .field-help{margin:0}
.review-time{font-size:10px;color:#657389}.detail-copy{font-size:13px}
.detail-photo{height:260px}.detail-summary{justify-content:center}
.detail-note{font-size:12px;line-height:1.7}.source-item{border-radius:12px;padding:16px}
.source-item p{font-size:13px}.source-item small{font-size:11px}
@media(max-width:650px){
 .wrap{width:calc(100% - 32px)}
 .site-header{min-height:0;gap:12px;padding-block:16px 12px;flex-wrap:wrap}
 .brand{font-size:22px}.brand img{width:30px;height:30px}.language{margin-left:auto}
 nav{order:3;width:100%;padding-top:12px;border-top:0;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-left:0}
 nav a,nav button{padding:8px 4px;min-height:42px;font-size:12px;justify-content:center;white-space:nowrap}
 .search-section{padding-top:22px}.section-top{flex-direction:row;align-items:start;gap:12px;margin-bottom:16px}
 .section-top h1{font-size:24px;letter-spacing:-.4px;white-space:nowrap}
 .live-note{max-width:125px;font-size:10px;text-align:right}
 .search-panel{grid-template-columns:minmax(0,1fr) 105px;gap:14px 12px;padding:18px}
 .plate-search{grid-column:1/-1}.search-panel label{font-size:12px;gap:6px}
 .plate-search input{font-size:20px;min-height:54px}.search-panel select,.search-button{height:50px;min-height:50px;font-size:13px}
 .results-toolbar{flex-direction:row;align-items:center;gap:12px;padding:22px 0 16px}
 #result-count{font-size:13px}.results-toolbar .toggle{font-size:10px;gap:6px;max-width:58%}
 .results-toolbar .toggle input{width:17px;height:17px;min-height:17px}
 .results-grid{grid-template-columns:1fr;gap:14px}.result-card{padding:16px;gap:0 14px;grid-template-columns:minmax(115px,.9fr) minmax(0,1fr)}
 .result-meta{font-size:10px;margin-bottom:14px}.card-date{font-size:10px}
 .result-card.has-preview .plate-photo{height:175px;margin-bottom:15px}
 .card-location{font-size:12px;line-height:1.75;margin:0 0 8px}.card-footer{margin-top:14px}
 .result-card.has-preview .card-footer{grid-row:auto}.card-status{font-size:10px}
 .detail-photo{height:205px}.detail-plate{margin-top:18px;margin-bottom:18px}
 .source-item{padding:14px}.source-item p{font-size:12px}.source-links{gap:8px 16px}
 footer{gap:10px 16px;padding-block:12px}.footer-brand{width:100%;margin:0}
 footer .footer-link,footer .text-button{font-size:11px}
}
@media(max-width:350px){
 .wrap{width:calc(100% - 24px)}.section-top h1{font-size:22px}.live-note{max-width:95px}
 .search-panel{padding:16px;grid-template-columns:minmax(0,1fr) 93px}
 .result-card{padding:14px;grid-template-columns:115px minmax(0,1fr);gap:0 12px}
 nav a,nav button{font-size:11px}
}

/* Compact evidence controls; full captions and context open only on request. */
.ui-icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle}
.compact-date{display:inline-flex;align-items:center;gap:6px;line-height:1.5}.compact-date .ui-icon{width:13px;height:13px}
.badge.symbol{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;padding:4px;font:600 17px/1 system-ui}
.badge.symbol .ui-icon{width:17px;height:17px}
.plate-photo{padding-bottom:16px}.plate-photo>span{background:transparent;inset:auto 8px 8px;padding:0;justify-content:space-between;color:#45617e;pointer-events:none}
.plate-photo>span .ui-icon{width:17px;height:17px;background:#eef3faf0;padding:2px;box-sizing:content-box;border-radius:5px}
.detail-photo{margin-top:12px;margin-bottom:12px;padding:12px;height:240px}
.detail-plate{margin:16px auto 12px}.detail-summary{gap:8px;align-items:center;margin-bottom:16px}
.source-history{margin-top:18px}.source-item{padding:14px;margin:10px 0;background:white}
.source-top{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;color:#657389}.source-top small{max-width:48%;text-align:right;font-size:11px;line-height:1.6}
.source-place{display:flex;gap:8px;align-items:start;font-weight:500;line-height:1.6;margin:12px 0!important}.source-place .ui-icon{margin-top:2px;color:#436084;width:16px;height:16px}
.source-links{gap:8px;margin-top:10px;align-items:center}
.source-links .source-button{min-height:38px;padding:7px 10px;display:inline-flex;gap:6px;align-items:center;border:1px solid #dce4ee;border-radius:8px;text-decoration:none;font-size:12px;background:#f8faff}
.source-links .source-button .ui-icon{width:15px;height:15px}
.source-caption{margin-left:auto;position:relative}.source-caption summary{list-style:none;cursor:pointer;padding:6px 10px;min-height:38px;border:1px solid #dce4ee;border-radius:8px;display:flex;align-items:center;color:#61738c}
.source-caption summary::-webkit-details-marker,.status-info summary::-webkit-details-marker{display:none}
.source-caption[open]{width:100%;margin-left:0}.source-caption[open] p{margin:12px 0 0;font-size:12px;color:#607089;line-height:1.8}
.status-info{position:relative;color:#63718a;font-size:11px}.status-info summary{list-style:none;cursor:pointer;font:600 12px/1 system-ui;width:26px;height:26px;border:1px solid #d6dfeb;border-radius:50%;display:grid;place-items:center;background:white}
.status-info[open] div{position:absolute;z-index:3;width:190px;left:50%;transform:translateX(-50%);top:32px;border:1px solid #dce4ee;background:white;padding:12px;border-radius:9px;box-shadow:0 5px 20px #132b4b15;line-height:1.7}
.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.detail-actions .button{min-height:43px;font-size:12px;padding:9px 10px;gap:7px}.detail-actions .text-button{grid-column:1/-1;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#66768b}
.colour-chip{display:inline-flex;align-items:center;gap:5px;min-height:18px;color:#7e6a99}.colour-chip b{font:500 12px system-ui;width:16px;height:16px;border:1px solid #cabbd8;border-radius:50%;display:grid;place-items:center}
.colour-swatch{--back:#fff;--ink:#111;display:block;width:14px;height:14px;border:1px solid #a9b3c1;border-radius:50%;background:linear-gradient(90deg,var(--back) 0 50%,var(--ink) 50% 100%)}
.swatch-white-green{--ink:#136b46}.swatch-white-blue{--ink:#153f91}.swatch-white-red{--ink:#a5192c}.swatch-yellow-black{--back:#ffdb4b}.swatch-yellow-red{--back:#ffdb4b;--ink:#a5192c}.swatch-yellow-green{--back:#ffdb4b;--ink:#136b46}.swatch-yellow-blue{--back:#ffdb4b;--ink:#153f91}.swatch-green-white{--back:#176743;--ink:#fff}.swatch-orange-black{--back:#f3a44a}.swatch-red-black{--back:#e76364}.swatch-blue-white{--back:#47799f;--ink:#fff}.swatch-grey-black{--back:#c2c7cc}
.plate-colour-label{margin-top:4px;line-height:1}.detail-dialog>.close{margin-bottom:4px}
@media(max-width:650px){.detail-photo{height:200px}.source-item{padding:12px}.source-top{font-size:10px}.source-top small{font-size:10px}.source-links .source-button{font-size:11px;padding:6px 9px}.source-place{font-size:12px!important}.source-history{margin-top:14px}.detail-actions .button{font-size:11px}.compact-date{gap:4px}}

.card-footer a{text-decoration:none;display:inline-flex;align-items:center;min-height:44px}.similar-card a.text-button{display:flex;align-items:center;justify-content:center;text-decoration:none}
