*{box-sizing:border-box}body{margin:0;background:#f5f7f8;color:#182d32;font:14px 'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,select,.import{cursor:pointer}button{border:0}aside{position:fixed;inset:0 auto 0 0;width:240px;background:#102c31;color:#c4d4d4;padding:34px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;color:white;text-decoration:none;font-size:27px;font-weight:700}.brand>span{font-size:19px;letter-spacing:-.6px}small{display:block}.brand small{font-size:7px;letter-spacing:1.25px;color:#91b6b5;margin-top:9px}.navlabel{font-size:10px;letter-spacing:1.7px;margin:57px 12px 17px;color:#7d9b9d}nav button{width:100%;text-align:left;background:none;color:#acc1c2;padding:15px;margin-bottom:6px;border-radius:7px}nav .active{background:#244449;color:white;box-shadow:inset 3px 0 #51d0af}.sidebottom{margin-top:auto;border-top:1px solid #304b50;padding-top:25px;display:flex;gap:12px;align-items:center}.sidebottom small{color:#87a4a6;font-size:11px;margin-top:5px}.avatar{background:#315359;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:#d5e6e5}.tiny{width:30px;height:30px;margin-left:20px;background:#e2edeb;color:#3d6864}main{margin-left:240px}header{height:79px;border-bottom:1px solid #e1e7e7;display:flex;justify-content:space-between;align-items:center;padding:0 40px;background:#fff;font-size:12px;color:#76878a}header b{margin:0 14px;color:#c5cecf}header>div{display:flex;align-items:center}.dot{width:6px;height:6px;background:#3c9c7e;border-radius:50%;margin-right:7px}.content{max-width:1550px;margin:auto;padding:43px 40px 20px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#668080;font-weight:700}h1{font-size:37px;letter-spacing:-1.4px;margin:10px 0}p{color:#7b8b8e;line-height:1.6;margin:7px 0}h2{font-size:18px;margin:0}h3{font-size:14px;margin:0 0 4px}.primary{background:#147b68;color:white;border-radius:6px;padding:13px 18px;font-weight:600;box-shadow:0 3px 5px #102c3110}.primary:hover{background:#0e6556}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.stats article{position:relative;background:white;border:1px solid #e0e7e7;border-radius:9px;padding:23px}.stats article>span{font-size:12px;color:#6d8083}.stats strong{display:block;font-size:34px;font-weight:600;margin:13px 0}.stats small{font-size:10px;color:#91a0a2}.stats em{font-style:normal}.stats i{position:absolute;right:20px;top:23px;font-style:normal;color:#819497}.red{color:#c06556!important}.amber{color:#b98730!important}.green{color:#25876a!important}.notice{display:flex;align-items:center;gap:17px;background:#eaf2ef;border:1px solid #d7e6df;border-radius:8px;padding:22px;margin:26px 0 31px}.noticeicon{font-size:25px;color:#438b75}.notice p{font-size:11px;color:#6e8981}.notice .light{margin-left:auto;white-space:nowrap}.light{display:inline-block;border:1px solid #d8e2df;background:white;padding:11px 15px;border-radius:5px;color:#386459;font-size:12px}.panel{background:white;border:1px solid #e0e7e7;border-radius:9px;overflow:hidden}.panelhead{display:flex;align-items:center;justify-content:space-between;padding:24px;gap:18px}.panelhead p{font-size:11px;margin-top:6px}#count{font-size:10px;border-radius:4px;background:#edf2f1;color:#67827e;padding:3px 7px;margin-left:6px}.tools{display:flex;gap:9px}input,select,textarea{border:1px solid #dce4e4;border-radius:5px;background:#fff;color:#344e53;padding:10px;font-size:12px}#search{width:240px}input:focus,select:focus,textarea:focus{outline:2px solid #86bcae;outline-offset:1px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{background:#f8fafb;color:#89999b;font-size:9px;letter-spacing:1px;text-align:left;padding:14px 23px;font-weight:600}td{border-top:1px solid #edf0f1;padding:20px 23px;font-size:12px}td:first-child{font-weight:600}td small{font-weight:400;font-size:10px;color:#8e9d9f;margin-top:5px}.plate{font-size:11px;border:1px solid #dce3e5;border-left:4px solid #5f829b;border-radius:3px;padding:5px 7px;letter-spacing:.5px;color:#42575d}.badge{font-size:10px;padding:5px 8px;border-radius:4px;background:#edf6f1;color:#4d8c72}.badge.late{background:#fbede9;color:#bd6c5c}.badge.soon{background:#faf3e3;color:#af873e}.edit{color:#6c898a;background:transparent;font-size:17px}.panelfoot{border-top:1px solid #e9eeee;padding:15px 24px;display:flex;justify-content:space-between;font-size:10px;color:#99a6a8}footer{display:flex;justify-content:space-between;margin-top:29px;color:#9aa8aa;font-size:10px}footer span:first-child{font-weight:600}.settings{padding:27px}.settings label{display:block;margin:25px 0}.settings h3{margin-top:30px}.settings .import{display:inline-block;margin:0}.muted{color:#92a0a2;font-size:11px}dialog{border:1px solid #dce5e2;border-radius:12px;padding:28px;width:min(510px,94vw);color:#183b3d;box-shadow:0 20px 100px #102c3140}dialog::backdrop{background:#102c3170;backdrop-filter:blur(3px)}.dialoghead{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.dialoghead button{font-size:25px;background:none;color:#78908a}form label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin:17px 0}form input,textarea{font-size:14px;padding:12px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}textarea{resize:vertical;min-height:70px}.dialogfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.danger{background:#fff1ed;color:#b56150;padding:10px;border-radius:6px;margin-right:auto}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173f37;color:white;padding:14px 22px;border-radius:6px;display:none}.empty{text-align:center;padding:55px;color:#8c9c9e}.empty strong{display:block;color:#45615e;font-size:16px;margin-bottom:9px}[hidden]{display:none!important}@media(min-width:1500px){td{padding-top:26px;padding-bottom:26px}}@media(max-width:1150px){aside{width:200px;padding:30px 16px}.brand>span{font-size:16px}main{margin-left:200px}.content{padding:30px 24px}.stats{gap:10px}.stats article{padding:17px}.stats i{display:none}.panelhead{align-items:flex-start;flex-direction:column}.tools{width:100%}#search{flex:1}.notice{flex-wrap:wrap}.notice .light{margin-left:40px}header{padding:0 24px}}@media(max-width:700px){aside{position:static;width:auto;padding:18px}.brand small,.navlabel,.sidebottom{display:none}nav{display:flex;margin-top:20px;overflow:auto}nav button{white-space:nowrap;width:auto;font-size:11px;padding:10px}main{margin-left:0}header{height:50px;font-size:10px}.content{padding:26px 16px}.heading{align-items:flex-start;flex-direction:column}h1{font-size:32px}.stats{grid-template-columns:1fr 1fr}.stats article>span{font-size:11px}.notice{padding:18px}.noticeicon{display:none}.notice .light{margin:0}.tools{flex-wrap:wrap}#search{min-width:160px}.panelfoot span:last-child,footer span:last-child{display:none}td,th{padding:16px}.formgrid{grid-template-columns:1fr}}
.damagefilters{display:flex;gap:12px;padding:0 24px 24px;flex-wrap:wrap}.damagefilters input{min-width:220px;flex:1}.damagecard{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;border-top:1px solid #e9eeee}.damagecard h3{margin:18px 0 6px;font-size:16px}.damagebody{white-space:pre-wrap;color:#50696b;font-size:13px}.damagecard .light{white-space:nowrap}@media(max-width:700px){.damagecard{flex-direction:column}.damagefilters select{max-width:100%}}

.overviewtabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:1px solid #dce5e2}.overviewtabs button{background:transparent;color:#6e8585;padding:13px 22px;border-bottom:3px solid transparent;font-weight:600}.overviewtabs button.active{color:#147b68;border-bottom-color:#147b68}

.workshop-panel{margin-bottom:28px}.workshopentry{border-top:1px solid #e9eeee;padding:22px 24px}.workshopvehicle{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.workshopvehicle strong{font-size:13px}.workshopreport{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 0;border-top:1px solid #f0f3f2}.workshopreport strong{font-size:12px}.workshopreport p{font-size:11px}.workshopreport .light{white-space:nowrap}@media(max-width:700px){.workshopreport{align-items:flex-start;flex-direction:column}}

.fleet-icon{width:28px;height:23px;display:inline-block;vertical-align:middle;object-fit:contain;flex-shrink:0;margin-right:5px}nav .fleet-icon{filter:brightness(0) invert(1);opacity:.8}nav button{display:flex;align-items:center;gap:5px}.overviewtabs button{display:inline-flex;align-items:center;gap:7px}.badge .fleet-icon{width:20px;height:16px}td .fleet-icon{color:#517773}

.tools{flex-wrap:wrap}#locationSearch{width:170px;min-width:140px}@media(max-width:700px){#locationSearch{flex:1}}

.syncbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 26px;padding:19px 22px;background:#eef4f2;border:1px solid #d8e5df;border-radius:8px}.syncbar strong{font-size:14px}.syncbar p{font-size:11px;max-width:620px;margin:5px 0 0}.syncactions,.damageactions{display:flex;gap:9px;flex-wrap:wrap}.damageactions{flex-direction:column;flex-shrink:0}.syncactions button{white-space:nowrap}.conflictcolumns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.conflictcolumns>div{background:#f3f7f5;padding:14px;border-radius:7px;overflow-wrap:anywhere}.conflictcolumns p{white-space:pre-wrap;font-size:12px}.conflictbuttons{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}#syncOverlay{position:fixed;inset:0;background:#102c3170;z-index:1000;display:grid;place-items:center;backdrop-filter:blur(2px)}#syncOverlay>div{background:white;padding:30px;border-radius:10px;text-align:center;font-size:17px}#syncOverlay small{font-size:12px;color:#69827b;margin-top:12px}#syncPhotos{width:min(820px,94vw)}#syncPhotoList img{max-width:100%;border-radius:8px;margin:10px 0}#syncPhotoList p{font-size:13px}@media(max-width:900px){.syncbar{align-items:flex-start;flex-direction:column}}@media(max-width:550px){.conflictcolumns{grid-template-columns:1fr}}

.progress-open{background:#fff1a8!important;color:#755600!important;font-weight:600}#damageForm select[name="progress"].progress-open{border-color:#e7c14e}

.autoswitch{display:flex;align-items:center;gap:7px;font-size:11px;color:#3d655a;white-space:nowrap}.autoswitch input{accent-color:#147b68}.autostate{font-size:11px;margin:-17px 0 22px;color:#6e8580}.incomingnotice{display:flex;align-items:center;gap:14px;padding:20px;background:#fff1a8;border:1px solid #e4c861;border-radius:8px;margin-bottom:24px}.incomingnotice>div{flex:1}.incomingnotice p{font-size:12px;color:#79683a}.incomingnotice strong{color:#755600}.syncactions{justify-content:flex-end;align-items:center}@media(max-width:700px){.incomingnotice{flex-wrap:wrap}.syncactions{justify-content:flex-start}}

.driverssummary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:0 24px 24px}.driverssummary article{padding:18px;background:#f3f7f5;border:1px solid #e1e9e5;border-radius:7px}.driverssummary span{display:block;color:#708580;font-size:12px}.driverssummary strong{display:block;font-size:27px;margin-top:10px}.driverstatus{padding:0 24px 18px;font-size:11px}#driversPanel td{white-space:normal;overflow-wrap:anywhere}@media(max-width:550px){.driverssummary{grid-template-columns:1fr;padding:0 18px 18px;gap:8px}.driverssummary article{display:flex;align-items:center;justify-content:space-between;padding:12px}.driverssummary strong{margin:0;font-size:23px}}

.messagehistory{padding:24px;border-top:1px solid #e1e9e5}.messagehistory>p{font-size:12px;line-height:1.6}.messagehistoryitem{border:1px solid #e1e9e5;border-radius:7px;padding:16px;margin-top:12px}.messagehistoryitem>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.messagehistoryitem p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.messagehistoryitem small{color:#708580}

.locationgroup th{background:#eaf2ee;color:#285d50;font-size:13px;text-align:left;padding:13px 24px;letter-spacing:0;text-transform:none}.locationgroup th span{font-size:11px;font-weight:400;color:#5f7d72;margin-left:12px}.locationassign{display:block;border:0;background:transparent;padding:6px 0 0;color:#147b68;font-size:11px;text-align:left;cursor:pointer}.locationassign:hover{text-decoration:underline}#driverLocationName{font-weight:600;overflow-wrap:anywhere}

.driveraccessbutton{display:block;border:0;background:transparent;color:#147b68;font-size:11px;padding:7px 0 0;text-align:left;cursor:pointer}.driveraccessbutton:hover{text-decoration:underline}.driveraccessbutton.delete-driver{color:#b14b3d}#driverActionName{font-weight:600;overflow-wrap:anywhere}#driverActionHelp{line-height:1.7;font-size:13px}

.damage-location{margin:12px 0 2px;font-size:14px;line-height:1.5;color:#285d50;overflow-wrap:anywhere}.damage-location span{font-size:12px;color:#6e8580}.damage-location strong{font-weight:600}

.overdue-split{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:13px 0}.overdue-split>div+div{border-left:1px solid #e0e7e7;padding-left:14px}.stats .overdue-split strong{margin:0 0 3px;color:#b34c35}.overdue-split span{font-size:11px;font-weight:600;color:#6d8083}

.overdue-plates{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:9px;max-height:150px;overflow:auto}.overdue-plates .overdue-plate{display:block;background:#fff0ea;border-radius:4px;padding:4px 6px;color:#9c432d;font-size:11px;font-weight:600;overflow-wrap:anywhere}.overdue-plates .overdue-none{font-size:10px;font-weight:400;color:#84928d}.overdue-split>div{min-width:0}

.stats .soon-split strong{color:#a47620}.soon-split .overdue-plate{background:#fff6dc;color:#8d651d}

.workshopduration{background:#fff7e3;border-radius:7px;padding:11px 14px;margin:0 0 12px;color:#85631f}.workshopduration strong{display:block;font-size:14px}.workshopduration small{display:block;font-size:11px;margin-top:5px;line-height:1.5;color:#7c7665}

/* German EU/D registration display; actual plate text remains unchanged. */
.plate{display:inline-flex;align-items:center;position:relative;box-sizing:border-box;min-height:32px;padding:5px 9px 5px 31px;border:1.5px solid #202020;border-radius:5px;background:#fff;color:#080808;font-family:'Arial Narrow','Roboto Condensed',Arial,sans-serif;font-size:15px;font-weight:800;line-height:1.1;letter-spacing:1px;white-space:nowrap;box-shadow:inset 0 0 0 1px #fff,0 1px 2px #102c3110;vertical-align:middle}.plate::before{content:'';position:absolute;left:0;top:0;bottom:0;width:23px;border-radius:3px 0 0 3px;background:#003399 url('plate-eu.svg') center/auto 100% no-repeat}.overdue-plate,.overdue-plates .overdue-plate,.soon-split .overdue-plate{display:inline-flex;align-self:flex-start;position:relative;min-height:25px;padding:4px 6px 4px 22px;border:1px solid #202020;border-radius:4px;background:#fff;color:#080808;font:700 12px/1.2 'Arial Narrow',Arial,sans-serif;letter-spacing:.5px;white-space:nowrap}.overdue-plate::before{content:'';position:absolute;inset:0 auto 0 0;width:17px;border-radius:2px 0 0 2px;background:#003399 url('plate-eu.svg') center/auto 100% no-repeat}
