:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#15283e;background:#f4f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;gap:20px}body>header{background:#10243c;color:white;padding:18px max(24px,calc((100vw - 1280px)/2));box-shadow:0 2px 12px #09182a15}.brand{display:flex;align-items:center;gap:12px}.brand strong{display:block;font-size:18px;letter-spacing:-.03em}.brand small{display:block;color:#b9cadc;font-size:12px;margin-top:3px}.logo{width:42px;height:42px;border:1px solid #6389a8;border-radius:12px;display:grid;place-items:center;font-weight:900;font-size:26px}.header-actions{display:flex;align-items:center;gap:12px}.header-actions span{font-size:12px;color:#cbd5e1}main{max-width:1280px;margin:auto;padding:26px 20px 70px}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.eyebrow{color:#3265a0;font-weight:800;font-size:11px;letter-spacing:.13em}h1{font-size:clamp(28px,4vw,42px);letter-spacing:-.05em;margin:0 0 8px}h2{letter-spacing:-.03em;margin:0}h3{margin:0 0 12px}p{line-height:1.55}.intro p:not(.eyebrow){max-width:640px;color:#586778;font-size:14px;margin:0}.overview{display:flex;gap:10px}.stat{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:13px 18px;min-width:100px}.stat strong{font-size:23px;display:block}.stat small{font-size:11px;color:#64748b}.tools{background:white;border:1px solid #dce5ee;border-radius:16px;padding:15px;margin-bottom:24px}.filters{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px}.admin-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px;padding-top:13px;border-top:1px solid #e7edf4}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.layout aside{border:1px solid #dfe7ef;background:white;border-radius:16px;padding:20px;height:fit-content;font-size:13px;color:#415569}.layout aside h3{color:#183147}.layout aside hr{border:0;border-top:1px solid #e3e8ee;margin:22px 0}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head span{font-size:12px;color:#64748b}.hint{font-size:13px;color:#64748b;margin-top:7px}.cards{display:grid;gap:11px}.car{border:1px solid #dfe6ee;background:white;padding:16px;border-radius:15px;display:flex;gap:15px;align-items:start;box-shadow:0 2px 6px #172c4010}.car[draggable=true]{cursor:grab}.car.dragging{opacity:.45}.rank{font-size:18px;font-weight:800;background:#edf4fb;border-radius:11px;min-width:42px;height:42px;display:grid;place-items:center;color:#295e94}.car-body{flex:1;min-width:0}.car h3{margin:0;font-size:18px;letter-spacing:-.03em}.car .sub{font-size:12px;color:#6e8091;margin-top:3px}.car .detail{font-size:13px;display:flex;gap:14px;flex-wrap:wrap;margin:13px 0 10px;color:#44576c}.badges{display:flex;flex-wrap:wrap;gap:6px}.tag{display:inline-flex;border-radius:99px;padding:5px 9px;font-size:11px;background:#edf2f7;color:#4b5e73;font-weight:700}.tag.green{background:#e5f6eb;color:#147b43}.tag.amber{background:#fff2d4;color:#906111}.tag.red{background:#feeceb;color:#a43d39}.price{font-size:22px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}.right{min-width:132px;text-align:right}.actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-top:10px}button{border:0;background:#185a9d;color:white;border-radius:9px;padding:10px 13px;font:inherit;font-weight:650;font-size:13px;cursor:pointer}button:hover{filter:brightness(.95)}button.secondary{background:#edf2f7;color:#1c4365}button.danger{background:#b33b43}button.plain{background:transparent;color:inherit;font-size:23px;padding:2px 8px}button.sm{padding:6px 9px;font-size:12px}button:disabled{opacity:.5;cursor:wait}.header-actions button.secondary{background:#213e5b;color:#fff}.hidden{display:none!important}label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#41556a}input,select,textarea{font:inherit;color:#21354b;font-size:13px;width:100%;padding:11px 10px;border-radius:8px;border:1px solid #d1dce6;background:#fff;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #92b6e0}.muted{font-size:12px;color:#728196}dialog{border:1px solid #dae4ed;border-radius:17px;max-height:92vh;padding:0;max-width:calc(100% - 24px);box-shadow:0 20px 80px #0a1a2e66}dialog::backdrop{background:#0a1b2cb0}.modal{width:380px;padding:24px;display:flex;flex-direction:column;gap:14px;max-height:90vh;overflow-y:auto}.modal.wide{width:min(750px,94vw)}.modal-head{align-items:start}.modal-head h2{margin:0}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}.modal-actions .danger{margin-right:auto}.error{color:#a72c36;font-size:13px}#toast{position:fixed;bottom:24px;right:24px;background:#122941;color:white;padding:13px 18px;border-radius:10px;display:none;max-width:440px;box-shadow:0 6px 20px #10203055;font-size:13px;z-index:10}.scan-result{border:1px solid #dce5ed;border-radius:10px;padding:12px;margin:9px 0;font-size:13px;line-height:1.6}.scan-result button{margin-top:8px}.empty{border:1px dashed #c5d4e3;padding:30px;text-align:center;border-radius:13px;color:#52657a;background:white}.price-history{font-size:11px;color:#6f8190;margin-top:8px}a{color:#195d99;text-decoration:none}a:hover{text-decoration:underline}a.buttonlink{display:inline-block;border-radius:8px;padding:6px 9px;background:#edf2f7;font-size:12px;font-weight:650}.car a.buttonlink{margin-top:5px}.notice{padding:12px;background:#fff6e5;border:1px solid #f2d18c;border-radius:9px;font-size:12px;color:#845f17}@media(max-width:950px){.layout{grid-template-columns:1fr}.intro{flex-direction:column;align-items:flex-start}.filters{grid-template-columns:1fr 1fr}}@media(max-width:580px){body>header{padding:14px}main{padding:15px}.brand small{display:none}.header-actions span{display:none}.overview{width:100%}.stat{flex:1;min-width:0}.filters{grid-template-columns:1fr}.car{flex-wrap:wrap}.right{width:100%;text-align:left;margin-left:56px}.actions{justify-content:flex-start}.grid2{grid-template-columns:1fr}}

/* Versie 1.1: voertuigfoto's, handmatige broncontrole en leesbare mobiele kaarten */
.photo-col{width:170px;flex:0 0 170px;min-width:0}
.car-photo{height:126px;overflow:hidden;border-radius:12px;background:#eef3f8;border:1px solid #dce4ec}
.car-photo img{display:block;width:100%;height:100%;object-fit:cover}
.photo-caption{font-size:10px;color:#728196;margin-top:6px;line-height:1.3}
.photo-editor{background:#f6f9fc;border:1px solid #dfe8f0;border-radius:12px;padding:15px}
.photo-editor h3{margin-bottom:4px}
.photo-edit-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px;align-items:start}
.photo-preview{height:160px;border:1px solid #d5e2ed;background:#eef3f8;border-radius:12px;overflow:hidden}
.photo-preview img{width:100%;height:100%;object-fit:contain;display:block}
.photo-fields{display:grid;gap:10px;min-width:0}
.inline-checkbox{display:flex;flex-direction:row;align-items:start;gap:8px;font-weight:500;line-height:1.5}
.inline-checkbox input{width:auto;flex:0 0 auto;margin-top:2px}
.preview-image{display:flex;gap:12px;align-items:center;padding:10px 0}
.preview-image img{width:135px;height:95px;object-fit:cover;border:1px solid #d5e2ed;border-radius:9px;background:#edf3f8}
.preview-image small{font-size:12px;color:#66758a}
@media(max-width:900px){.car{flex-wrap:wrap}.car .right{margin-left:auto}.photo-col{width:150px;flex-basis:150px}.car-photo{height:110px}}
@media(max-width:580px){.car{gap:10px}.rank{width:35px;height:35px;min-width:35px;font-size:15px}.photo-col{flex:1 1 calc(100% - 50px);width:auto}.car-photo{height:175px}.car-body{flex:1 1 100%}.right{margin-left:0!important}.photo-edit-layout{grid-template-columns:1fr}.photo-preview{height:200px}.preview-image{flex-wrap:wrap}}
