.cfs-garage-page{margin:0;min-height:100vh;background:#0b1d2b;color:#eef8ff;font:16px/1.55 system-ui,sans-serif;padding:24px;box-sizing:border-box}
.cfs-garage-card{margin:32px auto;max-width:560px;padding:24px;border:1px solid #456578;border-radius:16px;background:#142e40}
.cfs-garage-kicker{font-size:12px;font-weight:800;letter-spacing:.1em;color:#8ed9db}
.cfs-garage-card h1{font-size:25px}.cfs-garage-card fieldset{padding:12px;border:1px solid #557286;border-radius:10px;margin-bottom:16px}
.cfs-slot{display:block;padding:10px;border-bottom:1px solid #456578}.cfs-garage-card input:not([type=radio]){display:block;width:100%;box-sizing:border-box;padding:10px;font:inherit;margin:8px 0 15px}
.cfs-garage-card button,.cfs-external-booking button{background:#087e86;color:white;border:0;padding:12px 16px;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}
.cfs-garage-card button:disabled,.cfs-external-booking button:disabled{opacity:.5}
.cfs-external-booking{padding:18px;border:1px solid #456578;border-radius:12px;margin:16px 0}.cfs-external-booking label{display:block;margin:8px 0}.cfs-external-booking textarea{width:100%;min-height:90px;box-sizing:border-box}.cfs-external-booking [data-result]{white-space:pre-wrap}
.cfs-garage-batch .cfs-garage-card{max-width:1050px}.cfs-batch-summary{margin:16px 0}.cfs-batch-table-wrap{overflow-x:auto}.cfs-batch-table{border-collapse:collapse;width:100%;min-width:620px;text-align:left}.cfs-batch-table th,.cfs-batch-table td{border-bottom:1px solid #456578;padding:13px 10px;vertical-align:middle}.cfs-batch-table th{background:#0f293b;color:#bde4e8;font-size:13px}.cfs-batch-table small{display:block;color:#bcd4df;margin-top:4px}.cfs-booked{color:#a9ecd4;font-weight:700}.cfs-garage-card select{display:block;width:100%;padding:12px;margin:8px 0 16px;font:inherit;border-radius:8px}.cfs-garage-card #garageAppointment:not(:empty){margin-top:20px;padding:18px;border:1px solid #456578;border-radius:12px}
/* External garage portal: restrained, high-contrast business workspace. */
.cfs-garage-page{background:#f2f5f8;color:#142b40;padding:0;font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.cfs-garage-header{background:#142d43;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px max(24px,calc((100% - 1120px)/2));box-sizing:border-box}
.cfs-garage-brand{display:flex;align-items:center;gap:12px}.cfs-garage-brand img{border-radius:9px;object-fit:contain;background:#fff}.cfs-garage-brand strong{font-size:17px}.cfs-garage-brand small{display:block;font-size:12px;color:#b7cbdc}.cfs-secure-label{color:#d6e4ec;font-size:12px;border:1px solid #496277;border-radius:20px;padding:5px 12px}
.cfs-garage-card,.cfs-garage-batch .cfs-garage-card{margin:34px auto;max-width:1120px;width:calc(100% - 48px);padding:32px;box-sizing:border-box;background:#fff;color:#142b40;border:1px solid #d8e2eb;border-radius:12px;box-shadow:0 4px 18px #142d430b}
.cfs-garage-card h1{font-size:32px;line-height:1.2;margin:9px 0 12px;letter-spacing:-.6px}.cfs-garage-card h2{font-size:20px;line-height:1.3;margin:0 0 8px}.cfs-garage-kicker{color:#126b76;font-size:12px;letter-spacing:1.2px}.cfs-garage-intro{max-width:780px;color:#50677b;margin:0 0 26px}
.cfs-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0 28px}.cfs-metrics>div{background:#f5f8fb;border:1px solid #dee7ef;border-radius:9px;padding:16px 20px}.cfs-metrics span{display:block;color:#50677b;font-size:13px;font-weight:600}.cfs-metrics strong{display:block;font-size:29px;line-height:1.3;margin-top:6px}.cfs-success{color:#16734d}
.cfs-batch-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}.cfs-batch-summary p{color:#50677b;margin:4px 0 0}.cfs-batch-table-wrap{border:1px solid #dee7ef;border-radius:9px}.cfs-batch-table{min-width:740px}.cfs-batch-table th{background:#f0f5f9;color:#40596d;font-size:12px;letter-spacing:.3px;white-space:nowrap}.cfs-batch-table td,.cfs-batch-table th{border-bottom:1px solid #e5ecf2;padding:15px 14px}.cfs-batch-table tbody tr:last-child td{border-bottom:0}.cfs-batch-table tbody tr:hover{background:#f8fafc}.cfs-batch-table small{color:#526779}.cfs-reg{font-weight:750;letter-spacing:.4px}.cfs-mileage{font-variant-numeric:tabular-nums;white-space:nowrap}.cfs-status{display:inline-block;font-size:12px;font-weight:650;white-space:nowrap;border-radius:5px;padding:5px 8px}.cfs-booked{background:#e7f4ec;color:#17653f}.cfs-pending{background:#edf2f7;color:#425a70}.cfs-unavailable{background:#fff0e1;color:#864710}
.cfs-garage-card button{background:#087e86;color:#fff;font-size:13px;padding:10px 14px;white-space:nowrap;border-radius:6px}.cfs-garage-card button:hover{background:#066a72}.cfs-garage-card button:focus-visible,.cfs-garage-card input:focus-visible,.cfs-garage-card select:focus-visible{outline:3px solid #83c8dc;outline-offset:2px}.cfs-garage-card .cfs-secondary{background:#fff;border:1px solid #b9cad7;color:#23475d}.cfs-garage-card .cfs-secondary:hover{background:#eef4f8}.cfs-garage-card #garageAppointment:not(:empty){border-color:#d8e2eb;background:#f7fafc;padding:24px}.cfs-garage-card form{max-width:560px}.cfs-garage-card label{display:block;font-weight:600}.cfs-garage-card input:not([type=radio]),.cfs-garage-card select{background:white;border:1px solid #bdcdd9;border-radius:7px;color:#142b40;font-size:15px;padding:12px}.cfs-confirmation strong{color:#17653f}.cfs-confirmation p{margin:5px 0}.cfs-garage-footer{text-align:center;color:#526779;font-size:12px;padding:0 24px 28px}
@media(max-width:640px){.cfs-garage-header{padding:16px}.cfs-secure-label{display:none}.cfs-garage-card,.cfs-garage-batch .cfs-garage-card{width:calc(100% - 24px);margin:16px auto;padding:18px}.cfs-garage-card h1{font-size:27px}.cfs-metrics{gap:8px}.cfs-metrics>div{padding:12px}.cfs-metrics span{font-size:11px}.cfs-batch-summary{align-items:flex-start;flex-direction:column;gap:10px}}
.cfs-demo-notice{border:1px solid #e6ca8c;border-radius:8px;background:#fff8e9;padding:12px 16px;color:#775416;margin:12px 0 24px}
.cfs-inline-row[hidden]{display:none!important}.cfs-batch-table .cfs-inline-row>td{padding:0;background:#f4f8fb}.cfs-inline-appointment{padding:18px 22px;border-left:3px solid #087e86}.cfs-inline-appointment h2{font-size:17px}.cfs-inline-appointment p{margin:6px 0 14px;color:#50677b}.cfs-inline-appointment form{max-width:none}.cfs-appointment-fields{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px;align-items:start}.cfs-appointment-fields label{min-width:0}.cfs-appointment-fields select{box-sizing:border-box;height:46px;margin:6px 0 12px}.cfs-appointment-fields input:not([type=radio]){height:46px;margin:6px 0 12px}.cfs-inline-appointment [data-status]:empty{display:none}.cfs-inline-appointment [data-status]{color:#8c3a28}.cfs-batch-table button[aria-expanded="true"]{background:#fff;border:1px solid #b9cad7;color:#23475d}
@media(max-width:640px){.cfs-appointment-fields{grid-template-columns:1fr;gap:4px}.cfs-inline-appointment{padding:14px;max-width:calc(100vw - 80px)}}
/* Compact cards on narrow screens; the same inline form and booking logic. */
@media(max-width:760px){
 .cfs-batch-table-wrap{overflow:visible;border:0;border-radius:0}
 .cfs-batch-table,.cfs-batch-table tbody{display:block;width:100%;min-width:0}
 .cfs-batch-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .cfs-batch-table tr[data-register-row]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 12px;border:1px solid #d8e2eb;border-radius:10px;background:#fff;margin:12px 0 0;padding:14px}
 .cfs-batch-table tr[data-register-row] td{display:block;padding:5px 0;border:0;min-width:0;white-space:normal;overflow-wrap:anywhere}
 .cfs-batch-table tr[data-register-row] td:first-child{grid-column:1/-1}
 .cfs-batch-table tr[data-register-row] td:nth-child(2):before{content:"Recorded mileage";display:block;font-size:11px;color:#526779;font-weight:600}
 .cfs-batch-table tr[data-register-row] td:nth-child(3):before{content:"Booking status";display:block;font-size:11px;color:#526779;font-weight:600;margin-bottom:3px}
 .cfs-batch-table tr[data-register-row] td:nth-child(4){grid-column:1/-1}
 .cfs-batch-table tr[data-register-row] td:nth-child(4):before{content:"Appointment";display:block;font-size:11px;color:#526779;font-weight:600}
 .cfs-batch-table tr[data-register-row] td:last-child{grid-column:1/-1}
 .cfs-batch-table tr[data-register-row] button{width:100%;min-height:44px}
 .cfs-batch-table .cfs-inline-row:not([hidden]){display:block;border:1px solid #c9dce4;border-top:0;border-radius:0 0 10px 10px;margin:0 0 12px}
 .cfs-batch-table .cfs-inline-row>td{display:block;width:100%;box-sizing:border-box;border:0;border-radius:0 0 10px 10px}
 .cfs-inline-appointment{max-width:none;padding:14px}
 .cfs-appointment-fields{grid-template-columns:1fr;gap:4px}
 .cfs-inline-appointment button[type=submit]{width:100%;min-height:44px}
 .cfs-garage-card input,.cfs-garage-card select{max-width:100%;font-size:16px}
}
