:root{font-family:Inter,Arial,sans-serif;color:#142c47;background:#f5f8fb;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.top{height:78px;background:white;display:flex;align-items:center;gap:30px;padding:12px 4%;border-bottom:1px solid #e6edf4;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:12px;min-width:200px}.brand img{width:160px;max-height:57px;object-fit:contain;object-position:left}.brand small{display:block;color:#68798b;font-size:10px}.nav{display:flex;gap:5px;flex:1;overflow:auto}.nav button{background:transparent;border:0;border-radius:11px;padding:13px 15px;color:#53677b;white-space:nowrap}.nav button.active,.nav button:hover{background:#eaf4ff;color:#0879d9}.profile{display:flex;align-items:center;gap:8px;white-space:nowrap}.avatar{background:linear-gradient(135deg,#002e5b,#00aaf0);color:white;border-radius:50%;padding:11px;font-weight:800}.container{max-width:1600px;margin:auto;padding:32px 4% 70px}.hero{background:linear-gradient(110deg,#092e54,#0871ae);border-radius:24px;color:white;padding:38px 42px;display:flex;justify-content:space-between;gap:20px;align-items:center;min-height:205px}.hero h1{font-size:32px;margin:10px 0}.hero p{color:#cde5f4;max-width:660px;line-height:1.7}.hero .hero-mark{font-size:85px;opacity:.18;font-weight:800}.eyebrow{letter-spacing:2px;text-transform:uppercase;font-size:11px;color:#66cfff}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.pagehead h1{font-size:28px;margin:0 0 6px}.muted{color:#718398}.sub{font-size:13px;color:#74859a}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px 0}.card,.panel{background:#fff;border:1px solid #e6edf4;border-radius:18px;box-shadow:0 7px 25px #14385b08}.card{padding:24px}.stat{display:flex;align-items:center;gap:17px}.stat-icon{display:grid;place-items:center;background:#eaf5ff;color:#1689d4;width:52px;height:52px;border-radius:14px;font-size:25px}.stat b{font-size:27px;display:block}.stat span{color:#718398;font-size:12px}.panel{padding:25px;margin-bottom:20px}.panel h2{font-size:19px;margin:0 0 16px}.cols{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.cols3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.btn{background:#087bd5;color:#fff;border:1px solid #087bd5;border-radius:10px;padding:11px 16px;font-weight:650;white-space:nowrap}.btn:hover{background:#065b9e}.btn.secondary{background:#fff;color:#17669e;border-color:#cddfeb}.btn.danger{background:#fff;color:#c13743;border-color:#e9c4c8}.btn.small{padding:7px 11px;font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:15px 0 22px}.toolbar input{flex:2;min-width:230px}.toolbar select{flex:1;min-width:150px}input,select,textarea{background:#fff;border:1px solid #d7e3ed;border-radius:9px;padding:11px 12px;min-width:0;color:#193954;width:100%}textarea{min-height:82px}label{font-size:12px;font-weight:650;display:block;margin:0 0 6px}.field{margin-bottom:16px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#718398;background:#f5f9fc}th,td{padding:13px;border-bottom:1px solid #edf1f5;vertical-align:middle}td{font-size:13px}tr:hover td{background:#fafcff}.pill{border-radius:30px;padding:5px 10px;background:#e7f7ee;color:#147d47;font-size:11px;display:inline-block;font-weight:650}.pill.warn{background:#fff1d9;color:#a46b08}.pill.bad{background:#ffe7e8;color:#bd3440}.pill.blue{background:#e7f2ff;color:#0875c5}.link{border:0;background:none;color:#087bd5;padding:4px;font-weight:650}.split{display:grid;grid-template-columns:1fr 340px;gap:20px}.toolgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.toolcard{border:1px solid #e4edf5;border-radius:15px;padding:14px;cursor:pointer;background:#fff}.toolcard:hover{border-color:#49a5e7}.toolpic{height:118px;background:#f3f8fc;border-radius:10px;display:grid;place-items:center;color:#98a9b8;font-size:42px;overflow:hidden}.toolpic img{width:100%;height:100%;object-fit:contain}.toolcard h3{font-size:15px;margin:10px 0 4px}.toolcard p{font-size:12px;color:#718398;margin:4px 0}.toolcard .foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.detail{position:sticky;top:100px;align-self:start}.detail img{width:100%;height:170px;object-fit:contain;background:#f5f9fc;border-radius:12px}.kv{display:grid;grid-template-columns:1fr 1.3fr;gap:9px;font-size:12px;margin:13px 0}.kv span:nth-child(odd){color:#788b9c}.notice{border-left:4px solid #f1a12a;background:#fff9ec;border-radius:8px;padding:12px 15px;margin:10px 0;color:#775018}.alertrow{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #edf1f5}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick button{background:#f0f7ff;border:1px solid #e2eef8;border-radius:14px;padding:22px 10px;color:#18517f;font-weight:700}.quick button:hover{background:#d9edff}.modalbg{position:fixed;inset:0;background:#0b274c77;display:grid;place-items:center;z-index:20;padding:20px}.modal{background:#fff;width:min(760px,100%);max-height:90vh;overflow:auto;border-radius:20px;padding:28px;box-shadow:0 25px 80px #001b3d45}.modal h2{margin-top:0}.modalfooter{display:flex;justify-content:flex-end;gap:10px;padding-top:15px;border-top:1px solid #edf1f5}.checks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.checks label{font-weight:400;font-size:13px}.checks input{width:auto;margin-right:7px}.report{background:#fff;padding:30px;max-width:900px;margin:auto}.reporthead{display:flex;justify-content:space-between;border-bottom:2px solid #092f54;padding-bottom:20px;margin-bottom:25px}.reporthead img{max-width:240px;max-height:85px;object-fit:contain}.empty{padding:40px;text-align:center;color:#7b8c9b}.note{font-size:12px;background:#eaf4ff;padding:11px;border-radius:9px;color:#315d80;margin-bottom:20px}.hide{display:none}.qrbox{padding:14px;border:1px dashed #a6bdcf;display:inline-block;background:#fff}.qrbox img{width:140px;height:140px}.footer{padding:20px;text-align:center;color:#8a99a8;font-size:11px}@media(max-width:1100px){.top{flex-wrap:wrap;height:auto}.nav{order:3;width:100%}.cards{grid-template-columns:repeat(2,1fr)}.split,.cols{grid-template-columns:1fr}.detail{position:static}.toolgrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.container{padding:20px 14px}.hero{padding:26px}.hero h1{font-size:24px}.cards,.cols3,.toolgrid,.formgrid,.checks{grid-template-columns:1fr}.hero-mark{display:none}.panel{padding:16px}.profile{display:none}}@media print{.top,.noprint,.footer,.btn{display:none!important}body{background:#fff}.container{padding:0}.panel{box-shadow:none;border:0}.report{padding:0}table{font-size:11px}}


body{background:#f5f8fc}
.top{height:78px;gap:16px;padding:12px 2%;box-shadow:0 2px 18px #0c2b4c0b}
.brand{min-width:215px}.brand img{width:200px;max-height:60px}
.nav{gap:1px}.nav button{padding:11px 10px;font-size:12px}
.nav button.active,.nav button:hover{background:#fff0f7;color:#ed2387}
.container{max-width:1800px;padding:0 2% 55px}
.bph-home{color:#0d2147}.bph-hero{min-height:320px;display:grid;grid-template-columns:39% 61%;background:linear-gradient(110deg,#f5faff,#e8f1f8);overflow:hidden;position:relative}
.bph-hero-copy{padding:42px 35px 25px;position:relative;z-index:1}
.bph-eyebrow{font-size:12px;font-weight:700;letter-spacing:2.4px}
.bph-hero h1{font-size:37px;letter-spacing:-1.4px;margin:12px 0 6px}
.bph-hero p{font-size:16px;color:#556985;line-height:1.55;max-width:475px}
.bph-hero-photo{background:url('workshop-banner.jpg') center center/cover no-repeat;mask-image:linear-gradient(to right,transparent,black 20%)}
.bph-company-selector{width:390px;max-width:100%;margin-top:18px;padding:13px 16px;display:flex;gap:17px;align-items:center;text-align:left;background:#fff;border:1px solid #e9eef5;border-radius:15px;box-shadow:0 8px 25px #12264c0c}
.bph-company-selector small,.bph-company-selector strong{display:block}.bph-company-selector small{font-size:11px;color:#687a95}.bph-company-selector strong{font-size:14px;margin-top:5px}
.bph-square{width:61px;height:61px;display:grid;place-items:center;border-radius:16px;font-size:28px;flex-shrink:0}.rose{background:#ffe7f1;color:#ff2588}.mint{background:#dffbed;color:#00985e}.sky{background:#e0f1ff;color:#1379d6}.lilac{background:#eee4ff;color:#8b45e9}
.bph-chevron{margin-left:auto;font-size:24px;color:#587092}
.bph-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 17px;position:relative;z-index:2}
.bph-metric{display:flex;align-items:center;gap:18px;text-align:left;padding:17px 20px;min-height:104px;background:white;border:1px solid #edf0f5;border-radius:15px;box-shadow:0 6px 18px #12264c0b}
.bph-metric strong{font-size:28px;display:block}.bph-metric small{font-size:13px;color:#667997;white-space:nowrap}
.bph-home-grid{display:grid;grid-template-columns:1.45fr .92fr .95fr;gap:16px}.bph-lower-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin-top:16px}
.bph-home-panel{background:white;border:1px solid #edf0f5;border-radius:14px;padding:22px;min-width:0;box-shadow:0 6px 18px #12264c08}
.bph-section-title{display:flex;align-items:center;gap:13px;margin-bottom:18px;min-height:42px}
.bph-section-title>span:nth-child(2){min-width:0;flex:1}.bph-section-title strong{font-size:16px;display:block}.bph-section-title small{font-size:12px;display:block;color:#71819a;margin-top:4px}
.bph-mini{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:20px;flex-shrink:0}
.bph-action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.bph-action-grid button{min-height:145px;border:0;border-radius:13px;background:#fff0f7;color:#11234c;font-weight:700;line-height:1.45}
.bph-action-grid button:nth-child(2){background:#e9f9f1}.bph-action-grid button:nth-child(3){background:#e9f4ff}.bph-action-grid button:nth-child(4){background:#f2edff}
.bph-action-grid button span{display:block;font-size:31px;color:#fa2b89;margin-bottom:14px}.bph-action-grid button:nth-child(2) span{color:#039e5a}.bph-action-grid button:nth-child(3) span{color:#087ce2}.bph-action-grid button:nth-child(4) span{color:#8d49eb}
.bph-soft-btn{border:0;background:#ffedf5;color:#f51c83;border-radius:20px;padding:8px 14px;font-size:12px}
.bph-alert{display:flex;align-items:center;gap:13px;width:100%;padding:16px 0;background:none;border:0;border-bottom:1px solid #edf0f4;text-align:left;color:#637391}.bph-alert strong{color:#10254a}.bph-alert b{margin-left:auto;font-size:22px}
.bph-activity{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #f0f2f6}.bph-activity-icon{background:#f1f4fa;border-radius:8px;padding:8px}.bph-activity strong,.bph-activity small{display:block}.bph-activity strong{font-size:12px}.bph-activity small{font-size:11px;color:#74839a}.bph-activity time{margin-left:auto;font-size:10px;color:#9aa7b9}.bph-empty-activity{padding:28px 10px;color:#7d8ca3;font-size:13px}
.bph-pink-btn{background:#fa2585;color:white;border:0;border-radius:8px;padding:10px 14px;font-size:12px;white-space:nowrap}
.bph-company-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.bph-company-card,.bph-location-card{position:relative;border:1px solid #e5ebf2;background:#fafdff;border-radius:13px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;min-height:180px}
.bph-company-initial{font-size:38px;color:#009cf0;font-weight:800}.bph-company-card strong,.bph-location-card strong{font-size:15px}.bph-company-card small,.bph-location-card small{color:#697d97}.bph-card-arrow{position:absolute;bottom:13px;right:15px;background:white;border:1px solid #e6edf4;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:22px}
.bph-location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.bph-location-card{min-height:180px;padding:12px}.bph-location-visual{width:100%;height:85px;background:linear-gradient(120deg,#e3edf7,#a9c5db);display:grid;place-items:center;font-size:36px;color:#426c8d;border-radius:8px}
@media(max-width:1200px){.bph-home-grid,.bph-lower-grid{grid-template-columns:1fr}.bph-hero{grid-template-columns:52% 48%}.bph-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.bph-hero{grid-template-columns:1fr}.bph-hero-photo{height:180px;mask-image:none}.bph-hero-copy{padding:25px}.bph-hero h1{font-size:27px}.bph-metrics{grid-template-columns:1fr 1fr;gap:8px}.bph-metric{padding:10px;gap:8px}.bph-metric .bph-square{width:40px;height:40px;font-size:19px}.bph-metric strong{font-size:21px}.bph-metric small{font-size:10px}.bph-action-grid{grid-template-columns:repeat(2,1fr)}.bph-location-grid,.bph-company-grid{grid-template-columns:1fr}.bph-section-title{flex-wrap:wrap}}

.bph-tech-profile{display:flex;gap:24px;align-items:flex-start;flex-wrap:wrap;padding:12px 0}.bph-tech-photo{width:155px;height:185px;object-fit:cover;border:1px solid #d9e2ee;border-radius:12px}.bph-tech-empty{background:#f2f5f9;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#65758b;gap:12px}.bph-tech-empty span{font-size:70px}.bph-tech-details{flex:1;min-width:200px}.bph-tech-qr{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px;border:1px solid #e3e9f1;border-radius:12px}.bph-tech-qr img{width:160px;height:160px}.bph-tech-qr small{color:#65758b}

.bph-cal-red{color:#c62828!important;font-weight:700}.bph-cal-amber{color:#b56800!important;font-weight:700}.toolpic img{object-fit:contain;background:#f8fafc}.bph-cal-fields{display:contents}

.bph-asset-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(350px,1fr);gap:18px;align-items:start}
.bph-asset-workspace .panel,.bph-asset-lower .panel{background:#fff;border:1px solid #e8eef5;border-radius:16px;box-shadow:0 5px 24px rgba(22,56,94,.035);padding:20px;margin-bottom:16px;min-width:0}
.bph-register-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.bph-register-filters input{flex:1 1 200px;min-width:160px}
.bph-asset-table{width:100%;font-size:12px;border-collapse:collapse}.bph-asset-table th{background:#f4f8fd;text-align:left;white-space:nowrap}.bph-asset-table th,.bph-asset-table td{padding:9px 7px;border-bottom:1px solid #edf1f6}.bph-asset-table tbody tr{cursor:pointer}.bph-asset-table tr:hover,.bph-asset-table .bph-selected-row{background:#eff6ff}
.bph-register-thumb{width:48px;height:43px;object-fit:contain;border-radius:7px;background:#f6f8fb}.bph-asset-identity{display:flex;align-items:flex-start;gap:16px}.bph-asset-mainpic{width:45%;max-width:220px;aspect-ratio:4/3;object-fit:contain;background:#f8fafc;border:1px solid #edf1f6;border-radius:12px}
.bph-asset-kv{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.bph-asset-kv>div{display:flex;flex-direction:column;gap:4px}.bph-asset-kv span{font-size:12px;color:#687f99}.bph-asset-kv b{font-size:13px;color:#17365b}.bph-asset-kv b.bph-cal-red{color:#c62828}.bph-asset-kv b.bph-cal-amber{color:#b56800}
.bph-asset-lower{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bph-issue-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.bph-issue-mini label{font-size:12px;font-weight:600}.bph-issue-mini input,.bph-issue-mini select{display:block;width:100%;margin-top:6px}
@media(max-width:1250px){.bph-asset-workspace,.bph-asset-lower{grid-template-columns:1fr}}@media(max-width:700px){.bph-issue-mini{grid-template-columns:1fr}}

/* Courtesy Vehicle module – follows the original light BPH design */
.cv-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}.cv-tabs button{border:1px solid #dbe5f2;background:white;color:#264766;padding:11px 18px;border-radius:10px;font-weight:600;cursor:pointer}.cv-tabs button.active{background:#e9f3ff;border-color:#a8c9f0;color:#114e8b}
.cv-filterbar{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.cv-filterbar input{flex:1 1 290px}.cv-filterbar select{flex:0 1 290px}.cv-filterbar input,.cv-filterbar select{padding:11px 13px;border:1px solid #dbe5ef;border-radius:9px;background:white}
.cv-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.cv-panel-title h2{margin:0}
.cv-matrix{font-size:12px;min-width:1200px}.cv-matrix th{white-space:nowrap;background:#f5f9fd;color:#244567}.cv-matrix td{vertical-align:middle}.cv-matrix td small{display:block;color:#7a8ca3;margin-top:5px}
.cv-mini-vehicle{display:flex;align-items:center;gap:10px;min-width:155px}.cv-mini-vehicle .cv-car-photo{width:68px;height:53px;min-width:68px;border-radius:8px}
.cv-car-photo{width:100%;max-width:270px;height:170px;object-fit:contain;background:#f5f8fc;border:1px solid #e3eaf3;border-radius:12px}
.cv-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#8191a5}.cv-placeholder span{font-size:35px}.cv-placeholder small{font-size:10px}
.cv-detail-grid{display:grid;grid-template-columns:270px minmax(220px,1fr) 150px;gap:22px;align-items:start}.cv-vehicle-data{display:flex;flex-direction:column;gap:12px}.cv-vehicle-data b{font-size:16px}.cv-qr{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px;border:1px solid #e6edf6;border-radius:12px}.cv-qr img{width:120px;height:120px}.cv-qr small{font-size:11px;color:#64748b}
.cv-actions{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.cv-hire-details{border-top:1px solid #e8eef5;padding-top:15px}
.cv-modal-bg{position:fixed;inset:0;background:#0b1d36a6;z-index:999999;display:flex;align-items:center;justify-content:center;padding:15px}
.cv-modal{position:relative;background:white;border-radius:16px;box-shadow:0 20px 80px #081b3850;width:min(850px,96vw);max-height:94vh;overflow:auto;padding:28px}
.cv-close{position:absolute;right:18px;top:14px;background:transparent;border:0;font-size:20px;cursor:pointer}
.cv-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:20px 0}
.cv-field{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#304d70}.cv-field input,.cv-field select{padding:11px;border:1px solid #dce5f1;border-radius:8px;background:white;width:100%;box-sizing:border-box}.cv-form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}
@media(max-width:900px){.cv-detail-grid{grid-template-columns:1fr 1fr}.cv-qr{grid-column:1/-1;max-width:160px}}@media(max-width:580px){.cv-form-grid,.cv-detail-grid{grid-template-columns:1fr}}

/* V1.0.14: airy, light, card-based Courtesy Vehicle dashboard */
.cv-live-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:24px 0 18px}
.cv-live-intro h2{font-size:23px;letter-spacing:-.45px;margin:0 0 7px;color:#17385c}
.cv-live-intro p{font-size:14px;line-height:1.65;color:#74879c;margin:0}
.cv-live-count{white-space:nowrap;font-size:13px;color:#607992;background:#edf5fc;border-radius:999px;padding:9px 15px}
.cv-live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(315px,1fr));gap:23px;margin-bottom:28px}
.cv-live-card{background:#fff;border:1px solid #e6edf5;border-radius:18px;padding:24px;box-shadow:0 8px 32px rgba(24,65,109,.045);cursor:pointer;transition:box-shadow .16s,border-color .16s,transform .16s;min-width:0}
.cv-live-card:hover,.cv-live-card:focus-visible{border-color:#afcde9;box-shadow:0 12px 34px rgba(24,65,109,.10);transform:translateY(-2px);outline:none}
.cv-live-top{display:flex;align-items:center;gap:17px;min-height:117px}
.cv-live-top .cv-car-photo{width:125px;height:104px;flex:0 0 125px;object-fit:contain;border-radius:12px;background:#f4f8fc}
.cv-live-vehicle{min-width:0;display:flex;flex-direction:column;gap:5px}
.cv-live-kicker{font-size:10px;letter-spacing:1px;font-weight:700;color:#8192a6;text-transform:uppercase}
.cv-live-vehicle h3{font-size:17px;line-height:1.3;margin:2px 0;color:#18385c}
.cv-live-plate{font-size:14px;font-weight:700;color:#214d7a}
.cv-live-vehicle small{font-size:12px;color:#8294a7}
.cv-live-status{margin:19px 0 16px}
.cv-live-status .pill{font-size:12px}
.cv-live-separator{height:1px;background:#edf1f6;margin-bottom:18px}
.cv-live-customer{display:flex;flex-direction:column;gap:7px;min-height:82px}
.cv-live-customer strong{font-size:17px;color:#18385c;font-weight:700}
.cv-live-customer .cv-unallocated{color:#718399;font-weight:600}
.cv-live-customer span{font-size:13px;color:#75879a}
.cv-live-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 22px}
.cv-live-facts>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.cv-live-facts span,.cv-live-finance span{font-size:11px;letter-spacing:.1px;color:#7c8ea3}
.cv-live-facts b{font-size:13px;color:#2a4969;overflow-wrap:anywhere}
.cv-fact-full{grid-column:1/-1}
.cv-live-finance{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:17px 11px;background:#f4f8fd;border-radius:12px}
.cv-live-finance>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.cv-live-finance strong{font-size:13px;color:#214a72;white-space:nowrap}
.cv-live-footer{display:flex;justify-content:space-between;align-items:center;color:#2e70b0;font-size:12px;font-weight:700;margin-top:20px}
.cv-live-footer span:last-child{font-size:20px}
.cv-record-modal .panel{box-shadow:none!important;border:0!important;padding:0!important;margin:0!important}
.cv-record-modal .cv-panel-title{padding-right:20px;margin-bottom:23px}
.cv-record-modal .cv-detail-grid{padding:4px 0 22px}
.cv-record-modal .cv-hire-details{margin-top:20px}
.cv-record-modal h3{margin:22px 0 12px;color:#1c4167}
.cv-modal:has(.cv-record-modal){width:min(1030px,96vw);padding:34px}
.cv-history-panel .cv-panel-title p{margin:7px 0 0}
.cv-history-filters{display:grid;grid-template-columns:1fr 1.5fr 1fr 1fr auto;align-items:end;gap:13px;background:#f6f9fd;padding:18px;border:1px solid #e9eff7;border-radius:13px;margin:20px 0}
.cv-history-filters label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#45617f}
.cv-history-filters input,.cv-history-filters select{width:100%;min-width:0;padding:11px;border:1px solid #dce5f0;border-radius:8px;background:white;font:inherit}
.cv-reset{border:1px solid #cad9e8;background:white;color:#2b608f;border-radius:8px;padding:12px;cursor:pointer}
.cv-results-count{font-size:12px;color:#758ba0;margin:12px 0}
.cv-archive-switch{font-size:12px;color:#496782}
.cv-deposit-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0}
.cv-deposit-stats>div{background:white;border:1px solid #e5edf5;border-radius:15px;padding:23px;display:flex;flex-direction:column;gap:12px;box-shadow:0 5px 20px #163c6508}
.cv-deposit-stats span{font-size:13px;color:#7c8ea3}
.cv-deposit-stats strong{font-size:23px;color:#1e4d7b}
.cv-matrix th,.cv-matrix td{padding:15px 14px;line-height:1.55}
@media(max-width:1200px){.cv-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cv-deposit-stats{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.cv-live-grid{grid-template-columns:1fr}.cv-live-card{padding:19px}.cv-history-filters,.cv-deposit-stats{grid-template-columns:1fr}.cv-live-top .cv-car-photo{width:100px;height:90px;flex-basis:100px}.cv-live-intro{align-items:flex-start;flex-direction:column}}

/* v1.0.15 – reference-inspired, clinical, line-by-line live dashboard */
.cv-clean-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}
.cv-clean-stat{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e8eef6;border-radius:13px;padding:18px 15px;min-height:88px;box-shadow:0 3px 14px #183c6009}
.cv-clean-stat>span{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;background:#e7f3fc;border-radius:12px;font-size:24px}
.cv-clean-stat:nth-child(2)>span{background:#e2f8eb}.cv-clean-stat:nth-child(4)>span{background:#f0e7ff}.cv-clean-stat:nth-child(5)>span{background:#fff0e0}
.cv-clean-stat>div{display:flex;flex-direction:column;gap:5px}.cv-clean-stat small{font-size:12px;color:#68809b}.cv-clean-stat strong{font-size:26px;color:#102c56;line-height:1.1}
.cv-clean-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:23px 0 16px}.cv-clean-heading h2{font-size:19px;margin:0 0 5px;color:#18375f}.cv-clean-heading p{font-size:13px;color:#8091a5;margin:0}.cv-clean-heading>span{font-size:12px;color:#617c98}
.cv-clinical-table{padding:0!important;overflow:hidden}.cv-main-table{border-collapse:collapse;width:100%;font-size:12px;min-width:1080px}.cv-main-table th{background:#f3f7fb;color:#405a7c;font-size:11px;text-align:left;font-weight:700;white-space:nowrap;padding:15px 12px;border-bottom:1px solid #e4edf6}
.cv-main-table td{padding:16px 12px;border-bottom:1px solid #edf2f8;vertical-align:middle;color:#304c6c;line-height:1.5}.cv-main-table td small{display:block;font-size:11px;color:#7f90a7;margin-top:5px}.cv-main-table tbody tr{cursor:pointer;transition:background .12s}.cv-main-table tbody tr:hover{background:#f3f8fe}
.cv-table-vehicle{display:flex;gap:12px;align-items:center;min-width:135px}.cv-table-vehicle .cv-car-photo{width:79px;height:54px;flex:0 0 79px;object-fit:cover;border-radius:7px;border:1px solid #e8edf4}.cv-table-vehicle b{color:#163b68}.cv-view-btn{background:#edf5ff;border:1px solid #dceaff;color:#1673c7;font-weight:700;border-radius:7px;padding:8px 13px;cursor:pointer;white-space:nowrap}.cv-view-btn:hover{background:#dbeeff}
.cv-table-footer{font-size:12px;color:#6884a3;padding:15px 20px;background:#fbfdff}
.cv-bottom-widgets{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin:20px 0}.cv-bottom-widgets>.panel{padding:20px}.cv-bottom-widgets h3{font-size:16px;color:#19375f;margin:0 0 17px}
.cv-status-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.cv-status-summary>div{display:flex;flex-direction:column;gap:8px;border-radius:9px;padding:12px;background:#e5f6ed;min-height:70px}.cv-status-summary>div:nth-child(2){background:#e3efff}.cv-status-summary>div:nth-child(3){background:#f0e7ff}.cv-status-summary>div:nth-child(4){background:#fff2df}.cv-status-summary>div:nth-child(5){background:#ffe8eb}.cv-status-summary>div:nth-child(6){background:#fff3e5}.cv-status-summary strong{font-size:21px;color:#1a4273}.cv-status-summary span{font-size:10px;color:#3d6186;line-height:1.4}
.cv-event-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf1f7;font-size:12px}.cv-event-row:last-child{border-bottom:0}.cv-event-row b{color:#174678;white-space:nowrap}.cv-event-row span{color:#56718c}.cv-event-row small{display:block;margin-top:5px;color:#8295a8}
.cv-admin-warning{font-size:12px;color:#677d93;background:#f5f8fc;border-radius:10px;padding:15px}.cv-modal textarea{font-family:inherit;font-size:13px;line-height:1.6;border:1px solid #dce5f1;border-radius:8px;padding:10px;resize:vertical}
.cv-record-modal .cv-panel-title h2{font-size:20px}.cv-record-modal .cv-vehicle-data{line-height:1.6}
@media(max-width:1400px){.cv-clean-stats{grid-template-columns:repeat(3,1fr)}.cv-bottom-widgets{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.cv-clean-stats{grid-template-columns:repeat(2,1fr)}.cv-bottom-widgets{grid-template-columns:1fr}}
@media(max-width:520px){.cv-clean-stats{grid-template-columns:1fr 1fr}.cv-clean-stat{padding:12px}.cv-clean-stat strong{font-size:20px}}

.cv-detail-tabs{display:flex;gap:4px;background:#f5f8fc;border-radius:9px;padding:4px;margin:16px 0}
.cv-detail-tabs button{flex:1;border:0;border-radius:7px;padding:12px 8px;background:transparent;color:#5b7391;font-weight:600;font-size:12px;cursor:pointer}
.cv-detail-tabs button.active{background:#fff;color:#146cc2;box-shadow:0 2px 9px #193c6112}
.cv-modal:has(.cv-record-modal){margin-left:auto;margin-right:0;max-height:100vh;height:100vh;width:min(730px,96vw);border-radius:18px 0 0 18px;overflow:auto}
.cv-modal-bg:has(.cv-record-modal){justify-content:flex-end;padding:0}

/* V1.0.16 – stronger status contrast and discreet fleet row separators */
.cv-main-table tbody tr+tr td{border-top:1px solid #d7dde5!important}
.cv-status-summary>div{box-shadow:inset 0 0 0 1px rgba(30,66,107,.08)}
.cv-status-summary>div:nth-child(1){background:#baf1d2}.cv-status-summary>div:nth-child(2){background:#c7e2ff}.cv-status-summary>div:nth-child(3){background:#e1ccff}.cv-status-summary>div:nth-child(4){background:#ffe2b5}.cv-status-summary>div:nth-child(5){background:#ffcbd4}.cv-status-summary>div:nth-child(6){background:#ffe2bf}
.cv-row-actions{display:flex;gap:6px;align-items:center;margin-bottom:6px}
.cv-checkout,.cv-checkin{border:0;border-radius:7px;padding:8px 10px;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.cv-checkout{background:#d4f6e3;color:#096b3d}.cv-checkin{background:#dceaff;color:#12569b}
.cv-checkout:disabled,.cv-checkin:disabled{background:#f0f2f5;color:#9ca8b6;cursor:not-allowed}
.cv-comment-section{border-top:1px solid #e5eaf1;margin-top:20px;padding-top:10px}
.cv-comment-list{max-height:350px;overflow:auto;margin-bottom:18px}
.cv-comment{background:#f7f9fc;border:1px solid #e6edf5;padding:14px;border-radius:9px;margin-bottom:9px}
.cv-comment-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px}
.cv-comment-meta time{color:#75879a}.cv-comment p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;margin:10px 0 0}
.cv-comment-section textarea{width:100%;box-sizing:border-box;margin:8px 0 10px}

/* v1.0.17 customer allocation and deposit exception */
.cv-field select{width:100%;padding:11px;border:1px solid #dce5f1;border-radius:8px;background:#fff;color:#25496b}
.cv-modal textarea{width:100%;box-sizing:border-box}

/* V1.0.18 – more prominent, accessible colour-coded live dashboard KPI tiles */
.cv-clean-stats{gap:16px}
.cv-clean-stat{
  border:1px solid transparent;
  min-height:102px;
  padding:20px 19px;
  box-shadow:0 5px 16px rgba(25,60,95,.075);
  transition:box-shadow .18s ease,transform .18s ease;
}
.cv-clean-stat:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(25,60,95,.12)}
.cv-clean-stat:nth-child(1){background:#dfeeff;border-color:#bcd8fa}
.cv-clean-stat:nth-child(2){background:#d5f4e1;border-color:#a9e5be}
.cv-clean-stat:nth-child(3){background:#d8ebff;border-color:#afd1f7}
.cv-clean-stat:nth-child(4){background:#e9dcff;border-color:#d1b9fa}
.cv-clean-stat:nth-child(5){background:#ffe6ce;border-color:#f6c99e}
.cv-clean-stat:nth-child(1)>span{background:#bad9ff}
.cv-clean-stat:nth-child(2)>span{background:#a8eac2}
.cv-clean-stat:nth-child(3)>span{background:#add5ff}
.cv-clean-stat:nth-child(4)>span{background:#d5b9ff}
.cv-clean-stat:nth-child(5)>span{background:#ffd1a7}
.cv-clean-stat>span{border-radius:13px;min-width:50px;height:50px}
.cv-clean-stat small{color:#405e7c;font-size:13px;font-weight:600}
.cv-clean-stat strong{color:#102e51;font-size:30px;font-weight:800}
@media(max-width:560px){.cv-clean-stat{min-height:84px;padding:14px 12px}.cv-clean-stat strong{font-size:25px}}

/* Courtesy status notification administration, user bell, and in-app toasts */
.cv-rule-section{background:#f7fafd;border:1px solid #e3ebf5;border-radius:12px;padding:18px;margin:18px 0}
.cv-rule-section h3{font-size:16px;margin:0 0 14px;color:#1b4673}
.cv-rule-toggle{display:flex;gap:10px;align-items:center;font-size:13px;color:#315777;margin-top:13px}
.cv-rule-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:16px}
.cv-rule-grid strong{font-size:13px;color:#315777}
.cv-rule-options{max-height:210px;overflow:auto;background:white;border:1px solid #e1e8f2;border-radius:9px;margin-top:9px;padding:10px}
.cv-rule-options label{display:block;padding:9px 5px;font-size:13px;color:#34516e;border-bottom:1px solid #f0f3f8}
.cv-rule-options label:last-child{border-bottom:0}
.cv-rule-options small{display:block;color:#8495a7;margin-left:22px}
.cv-bell{position:relative;background:#eef5fd;border:1px solid #dce9f7;border-radius:10px;padding:9px 12px;cursor:pointer;font-size:19px}
.cv-bell span:not([hidden]){position:absolute;right:-5px;top:-7px;background:#e34867;color:white;font-size:11px;min-width:17px;height:17px;border-radius:20px;display:flex;align-items:center;justify-content:center;padding:2px}
.cv-toast{position:fixed;right:22px;top:85px;width:min(390px,calc(100vw - 44px));background:#fff;border:1px solid #c9dff7;border-left:5px solid #3786d4;box-shadow:0 14px 40px #14345535;border-radius:12px;padding:17px;display:flex;gap:12px;align-items:center;z-index:999999}
.cv-toast>div{flex:1}.cv-toast b{font-size:13px;color:#153b65}.cv-toast p{font-size:13px;margin:8px 0}.cv-toast small{font-size:11px;color:#7a8ba0}
.cv-toast>button:last-child{border:0;background:transparent;font-size:19px;cursor:pointer}
.cv-inbox{position:fixed;right:25px;top:78px;z-index:99999;background:white;border:1px solid #dce6f2;border-radius:12px;box-shadow:0 16px 45px #12345435;width:min(385px,calc(100vw - 40px));max-height:70vh;overflow:auto}
.cv-inbox-title{padding:16px;display:flex;justify-content:space-between;border-bottom:1px solid #e6edf5}.cv-inbox-title button{background:transparent;border:0;cursor:pointer}
.cv-inbox-item{display:flex;flex-direction:column;text-align:left;width:100%;padding:15px;border:0;border-bottom:1px solid #edf2f8;background:white;cursor:pointer;gap:7px}
.cv-inbox-item.unread{background:#eef6ff}.cv-inbox-item b{font-size:12px;color:#194b7c}.cv-inbox-item small{font-size:11px;color:#7d90a3}
@media(max-width:600px){.cv-rule-grid{grid-template-columns:1fr}}
