:root{--bg:#f3f5f6;--panel:#fff;--ink:#17191b;--muted:#50565c;--line:#cbd0d5;--accent:#ffc400}
.model-entry{display:grid;gap:6px;min-width:0}.model-entry button{background:#fff;color:#202428;border:1px solid #a8afb6;font-size:13px;min-height:36px;padding:6px 10px}.model-entry-status{font-size:13px;font-weight:400;line-height:1.4}.model-entry-status:empty{display:none}
.plate-lookup{display:flex;gap:8px;align-items:stretch;min-width:0;flex-wrap:wrap}.plate-lookup>input{flex:1 1 100px;width:100px;min-width:0}.plate-lookup-link{display:flex;align-items:center;justify-content:center;flex:1 1 150px;min-height:44px;padding:8px 10px;background:#ffc400;color:#111;border:1px solid #c39500;border-radius:6px;text-decoration:none;font-size:13px;font-weight:700;text-align:center}.plate-lookup-link:focus-visible{outline:3px solid #111;outline-offset:2px}.plate-copy-status{font-size:13px;font-weight:400}.plate-copy-status:empty{display:none}
.mobile-new-job{display:block;text-align:center;text-decoration:none;background:#ffc400;color:#111;padding:12px;border-radius:6px;font-size:16px;font-weight:750}
.check-pill input[type=checkbox]{width:20px;min-height:20px;height:20px;flex:none;accent-color:#111}
button:disabled{opacity:.55;cursor:wait}
@media(max-width:820px){#formPanel{padding:14px}#formPanel h2{font-size:20px}#formPanel .top{gap:10px;margin-bottom:16px}#formPanel form{gap:16px}#formPanel .type-toggle,#formPanel .vehicle-toggle{grid-template-columns:1fr 1fr}#formPanel textarea{font-size:16px}#formPanel .actions{position:sticky;bottom:0;background:#fff;padding:12px 0;border-top:1px solid #ddd}#formPanel button[type=submit]{flex:1;min-height:48px}#formPanel .type-toggle button{font-size:14px;padding:10px 6px}}
body{background:var(--bg);color:var(--ink);line-height:1.45}
header{box-shadow:none;border-bottom:3px solid #ffc400}
main{max-width:1500px}
.panel{border:1px solid #cbd0d5;border-radius:8px;box-shadow:none}
h2{font-size:20px;line-height:1.3}
button,input,select,textarea{min-width:0;font-weight:600;border-radius:6px}
input,select,textarea{background:#fff;color:#17191b;border:1px solid #a8afb6;min-height:44px}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:3px solid #ffc400;outline-offset:2px}
select:has(option:checked:not([value=""])),input:not(:placeholder-shown):not([type="checkbox"]){border-color:#777}
label{font-size:14px;font-weight:600;color:#454b51}
.tabs,.type-toggle,.vehicle-toggle{background:#edf0f2;border:1px solid #cbd0d5}
.filters,.toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 0;margin-bottom:12px;background:transparent}
.filters>*,.toolbar>*{min-width:0;width:100%}
.filters .wide,.toolbar .filter-notes{grid-column:auto}
#archiveView .toolbar{padding:16px}
.table-wrap{max-height:65vh;overflow:auto;border:1px solid #dce0e3;border-radius:6px;scrollbar-gutter:stable}
table{width:100%;min-width:0;table-layout:fixed}
th{background:#222629;color:#fff;font-size:13px;font-weight:600;padding:12px 8px;white-space:normal}
td{font-size:14px;padding:13px 8px;border-bottom:1px solid #e1e5e8;line-height:1.5}
th:nth-child(1){width:9%}th:nth-child(2){width:9%}th:nth-child(3){width:6%}th:nth-child(4){width:18%}th:nth-child(5){width:5%}th:nth-child(6){width:10%}th:nth-child(7){width:9%}th:nth-child(8){width:26%}th:nth-child(9){width:8%}
tbody tr:nth-child(even){background:#f7f9fa}tbody tr:hover{background:#fff5cc;cursor:pointer}
td:nth-child(6){font-weight:750;font-variant-numeric:tabular-nums;color:#16191c}
.details,.record-details{color:#41484e;font-size:14px;max-height:110px;overflow:hidden;line-height:1.5;font-weight:400}
.badge{border-radius:4px;font-size:12px;padding:4px 6px;display:inline-block;white-space:normal}
.row-actions{gap:4px;flex-wrap:wrap}.row-actions button{width:30px;min-height:32px;border-width:1px}
.archive-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px;font-size:14px;font-weight:600}
.archive-pagination button{width:auto;min-height:40px;padding:8px 14px}.archive-pagination button:disabled{opacity:.35;cursor:default}
.archive-reader{width:min(760px,calc(100% - 24px));max-height:90vh;border:1px solid #9aa2a9;border-radius:8px;padding:24px;color:#17191b;box-shadow:0 24px 80px #0004}
.archive-reader::backdrop{background:#14181b80}.reader-top{display:flex;align-items:start;justify-content:space-between;gap:16px}.reader-top h2{margin:0}.reader-top button{width:auto}
.archive-reader dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.archive-reader dt{font-size:13px;color:#50565c}.archive-reader dd{margin:4px 0 0;font-size:16px;overflow-wrap:anywhere;white-space:pre-wrap}.reader-notes{grid-column:1/-1;border-top:1px solid #ddd;padding-top:16px}
.card{border-radius:8px;box-shadow:none;border:1px solid #cbd0d5;padding:16px;gap:12px}.chip{background:#f0f3f5;border:0;border-radius:4px;color:#30363c;font-size:14px}.notes{font-size:16px;font-weight:400;line-height:1.6}.tools{overflow-wrap:anywhere;line-height:1.6}.title{line-height:1.4}.stat{background:#f0f3f5;border:0;border-radius:4px}
@media(max-width:1000px){.filters,.toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}td,th{font-size:12px;padding:10px 6px}}
@media(max-width:600px){.filters,.toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.filters label:last-of-type{grid-column:1/-1}.archive-reader{padding:16px}.archive-reader dl{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-pagination{gap:6px;font-size:12px}.archive-pagination button{padding:8px;font-size:13px}.card .title{font-size:18px}.head{flex-wrap:wrap}}

