:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#183047;background:#f5f7fa}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr)}.sidebar{background:#12354b;color:#fff;display:flex;flex-direction:column;padding:28px 15px}.identity{display:flex;gap:12px;align-items:center;padding:4px 9px 35px}.brand-mark{width:40px;height:40px;background:#d9e9ef;color:#12354b;border-radius:12px;display:grid;place-items:center;font-weight:850;letter-spacing:-1px}.identity strong{font-size:16px}.identity small{display:block;color:#a9c0cd;margin-top:4px;font-size:11px}.sidebar nav{display:grid;gap:5px}.nav-item{display:flex;gap:14px;align-items:center;text-align:left;width:100%;border:0;background:transparent;color:#c7d8e2;padding:13px 15px;border-radius:10px;font-weight:600}.nav-item span{font-size:19px;min-width:22px}.nav-item:hover,.nav-item[aria-current=page]{background:#27516a;color:#fff}.sidebar-foot{margin-top:auto;padding:24px 12px 4px;display:flex;flex-direction:column;gap:12px;font-size:13px}.sidebar-foot a{color:#c9e6f5}.workspace{min-width:0}.topbar{padding:25px 42px;border-bottom:1px solid #e4e9ee;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px}.topbar h1{margin:4px 0 0;font-size:25px}.eyebrow{color:#618094;font-size:11px;font-weight:800;letter-spacing:.12em}.env{font-size:12px;background:#eaf0f4;border-radius:99px;padding:9px 12px;color:#547083}.content{max-width:1200px;padding:36px 42px}.intro h2{font-size:26px;margin:0 0 8px}.intro p{color:#6a7c89;margin:0 0 29px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:35px}.stat{background:white;border:1px solid #e4e9ee;border-radius:14px;padding:24px;display:grid;gap:9px}.stat span{font-size:13px;color:#667b8b}.stat strong{font-size:36px}.stat small{color:#8799a4}.content h2{font-size:18px}.actions{display:flex;gap:12px;flex-wrap:wrap}.actions button{background:#fff;border:1px solid #dce5ea;padding:14px 18px;border-radius:10px;color:#12354b;font-weight:650}.actions button:hover{border-color:#5d91aa;background:#f7fbfd}.notice{margin-top:32px;padding:17px 20px;background:#fff6e6;border:1px solid #f2dfb3;border-radius:10px;color:#795a24;font-size:13px;line-height:1.6}.panel{background:#fff;border:1px solid #e4e9ee;border-radius:14px;padding:25px;max-width:760px}.panel h2{margin-top:0}.panel p{color:#667b8b;line-height:1.7}.login-shell{min-height:100vh;display:grid;place-items:center;padding:25px;background:#edf3f6}.login-card{width:min(100%,430px);background:#fff;padding:40px;border-radius:18px;box-shadow:0 14px 50px #15394b14}.login-card h1{font-size:30px;margin:16px 0 8px}.login-card p{line-height:1.5;color:#627889}.login-card label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.login-card input[type=text],.login-card input[type=password]{width:100%;border:1px solid #cbd7df;border-radius:9px;padding:13px}.login-card input[type=submit]{background:#12354b;color:#fff;border:0;border-radius:9px;padding:13px 23px;font-weight:700}.login-card .login-remember label{font-weight:400}.muted{font-size:12px}.alert{color:#9e2424!important}#menu-toggle{display:none}@media(max-width:760px){.app{grid-template-columns:1fr}.sidebar{display:none;position:absolute;z-index:5;top:78px;left:0;right:0;box-shadow:0 10px 30px #12354b44}.app.menu-open .sidebar{display:flex}.topbar{padding:20px}.content{padding:25px 18px}.stats{grid-template-columns:1fr}.env{display:none}#menu-toggle{display:block;background:transparent;border:0;font-size:24px}.login-card{padding:28px}}
input,select,textarea{font:inherit}input:not([type=checkbox]),select,textarea{width:100%;padding:11px;border:1px solid #cbd7df;border-radius:8px;background:#fff;color:#183047}label{display:grid;gap:7px;font-size:13px;font-weight:650;color:#344e61}fieldset{border:1px solid #dce5ea;border-radius:9px;padding:15px}legend{font-weight:700;font-size:13px}.day-options{display:flex;gap:13px;flex-wrap:wrap}.day-options label,.inline{display:flex;align-items:center;gap:6px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-head h2{margin:0}.section-head p{color:#718695}.section-head label{min-width:180px}.primary{background:#12354b!important;color:#fff!important;border:1px solid #12354b!important}.form-panel{max-width:920px;margin-top:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.wide{grid-column:1/-1}.stack{display:grid;gap:12px}.schedule-card{max-width:none;display:flex;justify-content:space-between;align-items:center;gap:18px}.schedule-card h3{margin:0 0 5px}.schedule-card p{margin:0 0 5px}.schedule-card button,.slot-add{background:#fff;border:1px solid #d5e1e7;border-radius:8px;padding:9px 13px}.scheduler-grid{display:flex;gap:16px;overflow-x:auto;padding:18px 0;align-items:flex-start}.lane{background:#fff;border:1px solid #e0e7eb;border-radius:13px;padding:15px;min-width:265px;flex:1}.lane h3{margin:0 0 6px}.lane>p{font-size:12px;color:#718695}.slot{border:1px dashed #c9d8e1;background:#f7fafc;border-radius:9px;padding:10px;margin:10px 0;min-height:90px;display:grid;gap:6px}.slot>small{font-size:11px;color:#7a8c97}.slot-add{justify-self:start;font-size:12px;padding:4px 9px}.job-card{width:100%;display:grid;text-align:left;gap:5px;background:#fff;border:1px solid #c8d8e2;border-radius:8px;padding:9px;cursor:grab}.job-card small{color:#607b8b}.pill{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#235e86}.pill.delivery{color:#8b5a1a}.error{background:#fff0f0;border-color:#f2b4b4;color:#9c2727}.pick-row{border-top:1px solid #cbd7df;padding:15px 0}.pick-row p{margin:5px 0!important}.muted{color:#718695;font-size:12px}@media(max-width:760px){.form-grid{grid-template-columns:1fr}.section-head{align-items:stretch;flex-direction:column}.schedule-card{align-items:flex-start;flex-direction:column}}@media print{.sidebar,.topbar,.section-head,.actions,.notice,.muted{display:none!important}.app{display:block}.content{max-width:none;padding:0}.print-sheet{border:0}.pick-row{break-inside:avoid}}

.slot-occupied{background:#edf2f7;border-color:#b8cbdc}
.slot-occupied>small{color:#35546b;font-weight:700}
.slot-continuation{margin-top:8px;padding:9px 11px;border-left:4px solid #27749a;background:#dcebf5;border-radius:5px;display:flex;flex-direction:column;gap:3px;color:#14384f}
.slot-continuation small{color:#35546b}

.request-card{max-width:none}.request-card h3{margin:10px 0}.request-card p{margin:5px 0!important}.request-status{display:inline-block;text-transform:capitalize;border-radius:50px;background:#fff3d5;color:#805e18;padding:5px 12px;font-size:12px;font-weight:750}.request-status.allocated{background:#e2f3e8;color:#286342}.request-status.declined{background:#f9e5e5;color:#9a3636}.request-card .actions{margin-top:15px}.request-card .form-panel{margin-top:15px}

/* Charity logo remains within the fixed staff identity area. */
.sidebar .charity-logo{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:8px;overflow:hidden;flex-shrink:0}.sidebar .charity-logo img{width:100%!important;height:100%!important;object-fit:contain!important}

/* v2.3.2: logos may be wide or tall; never crop */
.sidebar .identity{flex-wrap:wrap;gap:10px;align-items:center}
.sidebar .charity-logo{background:transparent;border-radius:0;width:auto;height:auto;max-width:150px;max-height:76px;flex:0 1 auto;overflow:visible}
.sidebar .charity-logo img{display:block;width:auto!important;height:auto!important;max-width:150px!important;max-height:76px!important;object-fit:contain!important}
.delivery-editor{margin-top:18px;max-width:920px}.delivery-item{padding:16px;border:1px solid #dce5ea;border-radius:10px;margin:12px 0}.item-title{display:flex;justify-content:space-between;gap:12px;align-items:center}.item-title button,.photo-remove{border:1px solid #d7e2e9;background:#fff;border-radius:7px;padding:6px 10px}.photo-strip,.pick-photos{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.photo-wrapper{position:relative}.photo-remove{position:absolute;right:-6px;top:-6px;border-radius:50%;padding:2px 7px}.photo-thumb{padding:0;border:1px solid #d7e2e9;background:#fff;border-radius:8px;overflow:hidden;width:100px;height:90px;display:flex;align-items:center;justify-content:center}.photo-thumb img{width:100%;height:100%;object-fit:contain}.photo-upload-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.photo-upload-form label{flex:1;min-width:180px}.photo-upload-form button,.delivery-editor button[type=submit]{padding:10px 14px;border-radius:8px;border:1px solid #b8cbd6}.pick-item{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:12px;border:1px solid #e0e7eb;border-radius:8px;margin:10px 0}.pick-photos{margin:0}.pick-photos .photo-thumb{width:95px;height:82px}.cl-photo-dialog{max-width:min(94vw,1000px);max-height:94vh;border:0;border-radius:12px;padding:16px;box-shadow:0 12px 55px #0a1c2d77}.cl-photo-dialog::backdrop{background:#061b2ad9}.cl-photo-dialog img{display:block;max-width:88vw;max-height:78vh;object-fit:contain}.photo-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.photo-dialog-head button{font-size:28px;border:0;background:transparent}
@media print{.pick-photos .photo-thumb{width:100px;height:90px;border:0}.pick-photos img{width:100%;height:100%;object-fit:contain}.photo-remove,.photo-upload-form,.delivery-editor{display:none!important}.pick-item{break-inside:avoid}.pick-row{break-inside:auto}}

.delivery-draft{margin:22px 0 12px;padding:20px;border:1px solid #dce5ea;border-radius:12px;background:#f8fafc}.delivery-draft h3{margin:0 0 8px}.delivery-draft .draft-item{background:white;border:1px solid #e0e7eb;padding:12px;border-radius:8px;margin:8px 0}.delivery-draft .draft-item p{margin:5px 0 0}.delivery-draft button{margin-top:8px}

/* v2.4.0: allow natural logo aspect ratio without clipping */
.sidebar .identity{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:8px 10px 30px;min-width:0}
.sidebar .charity-logo{display:block!important;width:100%!important;max-width:205px!important;height:auto!important;max-height:none!important;overflow:visible!important;flex:none!important;background:transparent!important}
.sidebar .charity-logo img{display:block!important;max-width:100%!important;width:auto!important;height:auto!important;max-height:110px!important;object-fit:contain!important;object-position:left center!important}
.request-photos{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.request-photos .photo-thumb{padding:3px;border:1px solid #dbe5ea;border-radius:8px;background:white}.request-photos img{display:block;width:96px;height:80px;object-fit:contain}

/* v2.4.5: full-width logo with no cropping */
.sidebar .identity{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;padding:12px 10px 30px!important;min-width:0!important}
.sidebar .identity .charity-logo{display:block!important;width:100%!important;max-width:210px!important;max-height:none!important;height:auto!important;overflow:visible!important;flex:initial!important;background:transparent!important}
.sidebar .identity .charity-logo img{display:block!important;width:100%!important;max-width:210px!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:left center!important}
.sidebar .identity>div:last-child{width:100%;min-width:0}
.requests-pending,.requests-history{margin-bottom:30px}.request-count{font-size:13px;border-radius:40px;background:#e9f0f5;padding:5px 10px;margin-left:8px;color:#294b61}.history-controls{display:flex;gap:15px;flex-wrap:wrap;margin:15px 0}.history-controls label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650}.history-controls input,.history-controls select{padding:10px;border:1px solid #c9d6df;border-radius:8px;background:white;min-width:180px}.history-row{background:white;border:1px solid #e1e9ef;border-radius:10px;margin:7px 0;max-width:1000px}.history-row summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 18px;cursor:pointer;list-style:none}.history-row summary::-webkit-details-marker{display:none}.history-row summary span:first-child{flex:1;display:grid;gap:5px}.history-row small{color:#6a7e8b}.history-detail{padding:0 18px 18px;border-top:1px solid #edf1f4}.history-detail p{line-height:1.5}.empty-requests{background:#fff;padding:20px;border:1px solid #e4e9ee;border-radius:10px;color:#64788a}.request-card{max-width:1000px}

/* v2.4.6: use original, uncropped logo and fit it inside a bounded frame. */
.sidebar .identity .charity-logo{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;max-width:210px!important;height:92px!important;max-height:92px!important;overflow:hidden!important;background:transparent!important}
.sidebar .identity .charity-logo img.cl-sidebar-logo-image{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:left center!important;flex-shrink:1!important}

/* UK-facing date controls: retain native date picker for accessibility and validation,
   but show a stable DD/MM/YYYY label instead of browser-dependent US formatting. */
.uk-date-picker{display:flex;align-items:center;justify-content:space-between;position:relative;min-width:170px;min-height:44px;background:#fff;border:1px solid #cad8e2;border-radius:9px;padding:10px 12px;color:#17364a;font-size:15px;font-weight:500;isolation:isolate}
.uk-date-picker .uk-date-icon{margin-left:12px;color:#526c7c;font-size:18px}
.uk-date-picker input[type=date]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;z-index:2;padding:0!important;margin:0!important;border:0!important}
.uk-date-picker:focus-within{outline:2px solid #3c819e;outline-offset:2px}

/* v2.5.3: Staff and locations settings layout */
#people-panel{display:grid;gap:20px;max-width:880px;margin-top:22px}
#people-panel .cl-manage-section{background:#fff;border:1px solid #dfe7ed;border-radius:14px;padding:24px;min-width:0}
#people-panel .cl-manage-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
#people-panel .cl-manage-heading h3{font-size:18px;margin:0 0 5px;color:#12354b}
#people-panel .cl-manage-heading p{font-size:13px;line-height:1.5;color:#667d8c;margin:0}
#people-panel .cl-count{white-space:nowrap;font-size:12px;font-weight:700;color:#547083;background:#eef4f7;border-radius:20px;padding:7px 11px}
#people-panel .cl-staff-list{border:1px solid #e3eaf0;border-radius:10px;overflow:hidden}
#people-panel .cl-staff-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px}
#people-panel .cl-staff-row+.cl-staff-row{border-top:1px solid #e3eaf0}
#people-panel .cl-staff-person{display:flex;align-items:center;gap:12px;min-width:0}
#people-panel .cl-staff-person strong{display:block;font-size:14px;color:#17384b}
#people-panel .cl-staff-person small{display:block;margin-top:3px;color:#708695;font-size:12px;overflow-wrap:anywhere}
#people-panel .cl-avatar{flex:none;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#e5eff5;color:#1a536e;font-weight:800}
#people-panel .cl-staff-controls{display:flex;align-items:center;gap:12px;flex:none}
#people-panel .cl-status{font-size:12px;font-weight:700;border-radius:20px;padding:5px 10px;background:#f0f1f3;color:#596570}
#people-panel .cl-status.is-active{background:#e7f5ed;color:#21714a}
#people-panel .cl-secondary-button{border:1px solid #cbdbe4;background:#fff;color:#20465c;border-radius:8px;padding:9px 14px;font-size:13px;font-weight:700}
#people-panel .cl-secondary-button:hover{background:#f2f7fa}
#people-panel .cl-manage-form .form-grid{margin:0 0 20px;gap:18px}
#people-panel .cl-manage-form label,#people-panel .cl-location-form label{font-size:13px;color:#344e61}
#people-panel input{min-height:44px}
#people-panel .cl-optional{display:inline;color:#8293a0;font-weight:400}
#people-panel .cl-form-actions{display:flex;justify-content:flex-start}
#people-panel .cl-action-button{background:#123d56;color:white;border:1px solid #123d56;border-radius:8px;padding:11px 18px;font-size:13px;font-weight:750;min-height:44px}
#people-panel .cl-action-button:hover{background:#20516b}
#people-panel .cl-empty{color:#728694;font-size:13px;background:#f7fafc;border:1px dashed #dce6ed;padding:16px;border-radius:9px;margin:0 0 16px}
#people-panel .cl-location-list{display:grid;gap:8px;margin-bottom:18px}
#people-panel .cl-location-row{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f8fafc;border:1px solid #e3eaf0;border-radius:9px;font-size:14px}
#people-panel .cl-location-row span{color:#5c8297}
#people-panel .cl-location-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding-top:16px;border-top:1px solid #e7edf1}
#people-panel .cl-location-form label{flex:1;min-width:220px}
@media(max-width:600px){#people-panel .cl-manage-section{padding:17px}#people-panel .cl-staff-row{align-items:flex-start;flex-direction:column}#people-panel .cl-staff-controls{padding-left:50px}#people-panel .cl-location-form button{width:100%}}

/* v2.6.0: streamlined shop movements */
#job-form .cl-movement-field{display:none}#job-form.cl-is-movement .cl-movement-field{display:block}#job-form.cl-is-movement .cl-customer-field{display:none}.cl-location-form{display:block}.cl-location-form .form-grid{margin:12px 0}.cl-location-row{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.cl-location-row small{color:#64748b}

/* v2.6.1: Location editor layout */
#people-panel .cl-location-form{display:block!important;width:100%;padding-top:20px;align-items:initial!important;flex-wrap:initial!important}
#people-panel .cl-location-form h4{font-size:18px;line-height:1.4;color:#12354b;margin:0 0 18px}
#people-panel .cl-location-form .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin:0 0 20px;width:100%}
#people-panel .cl-location-form .form-grid>label{display:flex;flex-direction:column;gap:7px;min-width:0!important;width:auto;flex:initial!important;margin:0}
#people-panel .cl-location-form .form-grid>label.wide{grid-column:1/-1}
#people-panel .cl-location-form input:not([type=checkbox]),#people-panel .cl-location-form textarea,#people-panel .cl-location-form select{width:100%;box-sizing:border-box;min-height:44px}
#people-panel .cl-location-form .cl-location-check{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;font-size:14px;min-height:28px}
#people-panel .cl-location-form .cl-location-check input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;position:static!important;width:18px!important;height:18px!important;min-height:0!important;max-width:18px!important;flex:0 0 18px!important;margin:0!important;transform:none!important;accent-color:#174d69}
#people-panel .cl-location-form .actions{display:flex;align-items:center;gap:12px;margin:16px 0 0}
#people-panel .cl-location-row>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
#people-panel .cl-location-row button{padding:8px 12px;border:1px solid #cbdbe4;border-radius:8px;background:#fff;color:#20465c;font-weight:650}
@media(max-width:640px){#people-panel .cl-location-form .form-grid{grid-template-columns:minmax(0,1fr)}}
/* Driver-only mobile interface */
.cl-driver{max-width:680px;margin:0 auto;padding:18px 16px 50px;color:#17283c}.cl-driver header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #dbe4ed;padding:12px 0 18px}.cl-driver h1{font-size:27px;margin:24px 0 4px}.cl-driver label{display:block;margin:15px 0 8px;font-weight:600}.cl-driver select,.cl-driver textarea,.cl-driver input[type=file]{width:100%;padding:12px;border:1px solid #b8c6d5;border-radius:8px;background:white}.driver-job{background:#fff;border:1px solid #dce5ee;border-radius:13px;margin:16px 0;padding:18px;box-shadow:0 2px 8px #142d4210}.driver-job h2{font-size:20px;margin:10px 0}.driver-job p{overflow-wrap:anywhere}.driver-job-top{display:flex;justify-content:space-between;gap:10px;text-transform:capitalize}.driver-job-top span{font-size:13px;color:#476078}.driver-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.driver-actions a,.driver-actions button,.cl-driver button{background:#163f72;color:white;border:0;border-radius:8px;padding:12px 14px;font-size:15px;text-decoration:none;cursor:pointer}.driver-actions .secondary,.cl-driver button.secondary{background:#e8edf4;color:#17395f}.driver-empty{padding:24px 0;color:#52667a}#driver-message{color:#a51f28;margin-top:10px}#driver-photo-dialog{max-width:95vw;border:0;border-radius:12px;padding:16px}

/* v2.7.1: Driver account control matches location checkboxes. */
#people-panel #add-user-form .cl-location-check{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;min-height:28px!important;margin:0!important;width:100%!important;cursor:pointer}
#people-panel #add-user-form .cl-location-check input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;position:static!important;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px!important;margin:0!important;padding:0!important;transform:none!important;vertical-align:middle!important;accent-color:#174d69}
#people-panel #add-user-form .cl-location-check span{display:inline!important;font-size:13px;font-weight:650;line-height:1.5}

/* v2.7.2 — unified Settings and Schedule Manager presentation */
.cl-settings-page{display:grid;gap:24px;max-width:1200px}
.cl-settings-page .cl-settings-people{padding:24px 26px}
.cl-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.cl-settings-heading h2{font-size:21px;line-height:1.3;margin:0 0 5px;color:#17384b}
.cl-settings-heading p{font-size:14px;color:#688091;line-height:1.5;margin:0}
.cl-settings-page .cl-settings-people .cl-settings-heading{margin:0}
.cl-settings-page .cl-settings-people:has(#people-panel:not(:empty)) .cl-settings-heading{margin-bottom:20px}
.cl-settings-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid #cbdbe4;border-radius:9px;background:white;color:#173c52;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.cl-settings-action:hover{background:#eef5f8}
.cl-settings-schedules>.cl-settings-heading{margin-bottom:18px}
.cl-settings-schedules>.cl-settings-heading .primary{min-height:42px;border-radius:9px;padding:10px 17px;font-weight:700;white-space:nowrap}
.cl-settings-schedule-list{display:grid;gap:14px}
.cl-settings-schedule-card{padding:22px 25px!important;display:block!important}
.cl-settings-schedule-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.cl-settings-schedule-top h3{font-size:19px;margin:0 0 5px;color:#17384b}
.cl-settings-schedule-top p{margin:0;color:#688091;font-size:14px}
.cl-settings-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:17px;border-top:1px solid #e5edf2}
.cl-settings-metrics>div{display:grid;align-content:start;gap:6px;min-width:0}
.cl-settings-metrics span{color:#718596;font-size:12px;font-weight:600}
.cl-settings-metrics strong{font-size:14px;color:#18394e;overflow-wrap:anywhere}
.cl-settings-metrics .cl-settings-enabled{color:#23704b}
.cl-settings-metrics .cl-settings-disabled{color:#647684}
.cl-settings-help{color:#6a7d8a;font-size:13px;line-height:1.5;margin:14px 0 0}
.cl-settings-page #editor:not(:empty){margin-top:18px}
.cl-settings-page #editor .form-panel{max-width:100%;padding:24px 26px}
.cl-settings-page #editor .form-panel h2{margin-top:0}
.cl-settings-page #editor .day-options label{display:inline-flex;align-items:center;gap:7px}
.cl-settings-page #editor input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:18px;height:18px;min-width:18px;min-height:18px;max-width:18px;max-height:18px;margin:0;flex:0 0 18px;accent-color:#174d69}
.cl-settings-page #editor label.inline{display:flex;align-items:center;gap:10px}
@media(max-width:900px){.cl-settings-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cl-settings-heading{align-items:stretch;flex-direction:column}.cl-settings-page .cl-settings-people{padding:18px}.cl-settings-schedule-card{padding:18px!important}.cl-settings-metrics{gap:15px 10px}.cl-settings-schedules>.cl-settings-heading .primary{align-self:flex-start}}

/* v2.7.3: CL secondary branding */
.sidebar .identity .cl-sidebar-wordmark{display:block;width:180px;max-width:100%;height:auto;object-fit:contain;object-position:left center;background:#fff;border-radius:5px;padding:7px 9px;margin:3px 0 0}
.sidebar .identity>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.sidebar .identity>div:last-child small{margin-top:0}
.cl-driver-brand{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.cl-driver-brand img{width:175px;max-width:100%;height:auto;display:block}
.cl-driver-brand small{font-size:12px;color:#58748a;font-weight:600}
.cl-login-wordmark{display:block;width:205px;max-width:100%;height:auto;margin:0 0 20px}
/* Driver App v2.7.4: scoped mobile-first visual refresh */
body:has(.cl-driver-v274){background:#f2f6f9}
.cl-driver-v274{max-width:740px;padding:0 0 64px;color:#143249;font-family:inherit}
.cl-driver-v274 .cl-driver-hero{background:#12384e;color:white;padding:25px 22px 28px;border-radius:0 0 24px 24px}
.cl-driver-v274 header{padding:0 0 27px;border-bottom:1px solid #ffffff30;align-items:flex-start}
.cl-driver-v274 .cl-driver-brand{gap:9px}
.cl-driver-v274 .cl-driver-brand img{width:205px;max-width:65vw;filter:brightness(0) invert(1)}
.cl-driver-v274 .cl-driver-app-label{display:inline-block;width:max-content;color:#7ce0eb;font-size:11px;font-weight:800;letter-spacing:2.4px;border-left:3px solid #35c6d9;padding-left:9px}
.cl-driver-v274 .cl-driver-signout{font-size:13px;color:#e1eff4;text-decoration:none;background:#ffffff1a;border:1px solid #ffffff38;padding:9px 12px;border-radius:10px;white-space:nowrap}
.cl-driver-v274 .cl-driver-hero-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:25px;gap:10px}
.cl-driver-v274 .cl-driver-eyebrow{font-size:11px;letter-spacing:1.6px;color:#7ce0eb;font-weight:800}
.cl-driver-v274 h1{font-size:30px;line-height:1.2;color:white;margin:7px 0}
.cl-driver-v274 #driver-date{font-size:15px;color:#d5e7ef;margin:0}
.cl-driver-v274 .cl-driver-truck{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#ffffff19;font-size:29px;color:#7ce0eb}
.cl-driver-v274 .cl-driver-content{padding:20px 17px}
.cl-driver-v274 .cl-driver-picker{background:white;border:1px solid #e0e8ef;border-radius:16px;padding:16px;box-shadow:0 4px 15px #18384a0b}
.cl-driver-v274 .cl-driver-picker label{margin:0 0 9px;font-size:14px;color:#25475c}
.cl-driver-v274 select{border:1px solid #bdced9;border-radius:10px;min-height:49px;font-size:16px}
.cl-driver-v274 .cl-driver-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0 23px}
.cl-driver-v274 .cl-driver-stats>div{background:white;border:1px solid #e0e8ef;border-radius:14px;padding:15px 5px;text-align:center;display:flex;flex-direction:column;gap:3px}
.cl-driver-v274 .cl-driver-stats strong{font-size:27px;color:#12384e;line-height:1.2}
.cl-driver-v274 .cl-driver-stats span{font-size:11px;color:#60798b;font-weight:600}
.cl-driver-v274 .cl-driver-list-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0 12px}
.cl-driver-v274 .cl-driver-list-heading h2{font-size:18px;margin:0}
.cl-driver-v274 .cl-driver-list-heading span{font-size:12px;color:#527084;background:#e4edf3;border-radius:20px;padding:6px 10px}
.cl-driver-v274 .driver-job{margin:12px 0;border-radius:17px;padding:17px;box-shadow:0 5px 18px #163a4e0a}
.cl-driver-v274 .driver-job-top{align-items:center;padding-bottom:13px;border-bottom:1px solid #e7edf2}
.cl-driver-v274 .cl-job-number{font-size:12px;letter-spacing:1px;font-weight:800;color:#668295}
.cl-driver-v274 .cl-job-type{font-size:12px;background:#e6f7f8;color:#096c7c;padding:6px 10px;border-radius:20px;font-weight:700;text-transform:capitalize}
.cl-driver-v274 .cl-driver-job-body h2{font-size:20px;color:#143249;margin:16px 0 7px}
.cl-driver-v274 .cl-driver-job-body p{font-size:14px;line-height:1.55;margin:8px 0}
.cl-driver-v274 .cl-job-address{color:#5c7586}
.cl-driver-v274 .driver-actions{margin:13px 0 0;gap:9px}
.cl-driver-v274 .driver-actions>a,.cl-driver-v274 .driver-actions>button{flex:1;min-width:110px;text-align:center;display:inline-flex;align-items:center;justify-content:center;min-height:46px;font-size:14px;font-weight:700}
.cl-driver-v274 .cl-driver-shortcuts a{background:#e8f2f6;color:#174a62}
.cl-driver-v274 .cl-driver-outcomes{border-top:1px solid #e7edf2;padding-top:14px;margin-top:15px}
.cl-driver-v274 .cl-driver-outcomes button:first-child{background:#117b75;color:white}
.cl-driver-v274 .cl-driver-outcomes button.secondary{background:#f0f3f6;color:#294c60}
.cl-driver-v274 .cl-driver-empty{background:white;border:1px dashed #cbdce5;border-radius:18px;padding:32px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:8px}
.cl-driver-v274 .cl-driver-empty-icon{width:54px;height:54px;border-radius:50%;background:#e2f7f3;color:#0b857a;font-size:30px;display:grid;place-items:center;margin-bottom:5px}
.cl-driver-v274 .cl-driver-empty strong{font-size:17px}
.cl-driver-v274 .cl-driver-empty p{margin:0;color:#637e8f;line-height:1.5;font-size:14px}
.cl-driver-v274 .cl-driver-photos{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0;font-size:13px}
.cl-driver-v274 .cl-driver-photos button{padding:8px 10px;font-size:13px}
.cl-driver-v274 .cl-driver-finished-status{margin-top:14px;padding:10px;background:#e7f5f0;color:#126b5d;border-radius:10px;font-weight:700;font-size:13px}
.cl-driver-v274 .driver-job-finished{opacity:.88}
.cl-driver-v274 form[data-outcome]{margin-top:14px;background:#f5f8fa;border-radius:12px;padding:14px}
.cl-driver-v274 form[data-outcome] label{font-size:13px;margin:12px 0}
.cl-driver-v274 #driver-message:not(:empty){background:#fff0f0;border:1px solid #f1c6c6;padding:12px;border-radius:10px}
@media(min-width:740px){.cl-driver-v274{margin:20px auto}.cl-driver-v274 .cl-driver-hero{border-radius:22px}.cl-driver-v274 .cl-driver-content{padding:24px 4px}}
@media(max-width:380px){.cl-driver-v274 .cl-driver-hero{padding:20px 16px}.cl-driver-v274 .cl-driver-content{padding:16px 12px}.cl-driver-v274 .cl-driver-brand img{width:175px}.cl-driver-v274 .driver-actions>a,.cl-driver-v274 .driver-actions>button{min-width:100px}}

/* v2.7.5: dual branding with the original full-colour charity and platform logos */
.cl-driver-v274 .cl-driver-brandbar{display:flex;align-items:center;justify-content:space-between;gap:13px;background:#fff;padding:17px 19px;border-bottom:1px solid #e3eaf0}
.cl-driver-v274 .cl-driver-platform-brand{background:#f7fafc;border:1px solid #e3eaf0;border-radius:13px;padding:11px 12px;display:flex;flex-direction:column;gap:6px;flex:1 1 51%;min-width:0}
.cl-driver-v274 .cl-driver-platform-brand img{width:100%;max-width:195px;height:auto;object-fit:contain;filter:none}
.cl-driver-v274 .cl-driver-platform-brand .cl-driver-app-label{font-size:10px;letter-spacing:1.5px;color:#42627a;border-color:#29bcd3}
.cl-driver-v274 .cl-driver-charity-brand{display:flex;align-items:center;justify-content:center;flex:1 1 49%;min-width:0;border-left:1px solid #dbe6ed;padding-left:12px;min-height:58px}
.cl-driver-v274 .cl-driver-charity-logo{display:block;max-width:100%;max-height:75px;width:auto;height:auto;object-fit:contain}
.cl-driver-v274 .cl-driver-charity-name{font-weight:700;font-size:14px;text-align:center;line-height:1.3;color:#16374e}
.cl-driver-v274 .cl-driver-hero{padding-top:21px}
.cl-driver-v274 .cl-driver-hero header{display:flex;align-items:center;justify-content:space-between;padding:0;border:0}
.cl-driver-v274 .cl-driver-hero-bottom{padding-top:12px}
@media(max-width:380px){.cl-driver-v274 .cl-driver-brandbar{padding:12px;gap:8px}.cl-driver-v274 .cl-driver-platform-brand{padding:9px}.cl-driver-v274 .cl-driver-charity-brand{padding-left:8px}.cl-driver-v274 .cl-driver-charity-logo{max-height:59px}.cl-driver-v274 .cl-driver-platform-brand .cl-driver-app-label{font-size:9px}}

/* v2.7.6 - supplied clean full-colour wordmark, no Driver App tagline */
.cl-driver-v274 .cl-driver-platform-brand{justify-content:center;min-height:67px}
.cl-driver-v274 .cl-driver-platform-brand img{max-width:210px;width:100%;height:auto;display:block;object-fit:contain}

/* v2.7.7: dedicated Driver App logo, including its own integrated subtitle */
.cl-driver-v274 .cl-driver-platform-brand img{width:100%;max-width:225px;height:auto;object-fit:contain}
.cl-driver-v274 .cl-driver-platform-brand{min-height:78px}

/* v2.7.8 Driver outcome badges on staff scheduler */
.job-card.cl-job-done{border-color:#a6d9c3;background:#edf9f2}.job-card.cl-job-failed{border-color:#efc5a6;background:#fff6ec}
.cl-driver-outcome-pill{display:block;margin-top:7px;border-radius:7px;padding:5px 8px;font-size:12px;font-weight:700;text-align:left}
.cl-driver-outcome-pill.is-complete{color:#176342;background:#d6f1e1}.cl-driver-outcome-pill.is-unable{color:#8a4516;background:#ffe5cf}

/* v2.8.0: paired, consistently sized portal brand lozenges */
.sidebar .identity{align-items:stretch!important;gap:12px!important}
.sidebar .identity .charity-logo,.sidebar .identity .brand-mark{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:205px!important;height:76px!important;max-height:76px!important;min-height:76px!important;background:#fff!important;border-radius:7px!important;padding:9px 12px!important;overflow:hidden!important;box-sizing:border-box!important}
.sidebar .identity .charity-logo img.cl-sidebar-logo-image{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important}
.sidebar .identity .cl-sidebar-wordmark{width:205px;max-width:100%;height:76px;object-fit:contain;object-position:center;background:#fff;border-radius:7px;padding:12px;margin:0;box-sizing:border-box}
.cl-schedule-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.cl-settings-delete{color:#9a2f35!important;border-color:#e8c9cb!important}
.cl-schedule-inactive{font-size:11px;font-weight:650;color:#6c7882;background:#edf0f2;padding:3px 8px;border-radius:20px;vertical-align:middle}
@media(max-width:550px){.cl-schedule-actions{justify-content:flex-start}}

/* v2.8.1 staff portal refinements */
.sidebar .identity .cl-sidebar-wordmark+small,.sidebar .identity>div:last-child>small{display:none!important}
#print-picking{margin-bottom:20px}
#print-picking+.print-sheet,.content .actions:has(#print-picking){margin-bottom:20px}
.cl-staff-request .cl-request-check{display:flex;align-items:center;gap:10px}
.cl-staff-request .cl-request-check input[type=checkbox]{width:18px!important;height:18px!important;flex:0 0 18px;margin:0}
.cl-staff-request .cl-staff-fire{border:1px solid #c8e1e8;background:#f4fafb;padding:15px;border-radius:10px}
.cl-staff-request .cl-staff-fire[hidden]{display:none!important}

/* Test-data reset controls */
.cl-test-data-reset{margin-top:24px;padding:24px}.cl-test-data-reset p{max-width:800px}.cl-test-data-reset button{border:1px solid #a52c2c;background:#fff;color:#a52c2c;border-radius:8px;padding:11px 16px;font-weight:700;cursor:pointer}.cl-test-data-reset button:hover{background:#fff1f1}

/* v2.8.4: prominent, accessible Requests action */
.section-head .cl-new-request-btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:48px;padding:11px 19px;border:1px solid #0d3045;border-radius:10px;background:#123a51;color:#fff;font-size:15px;font-weight:700;line-height:1.3;box-shadow:0 3px 9px rgba(13,48,69,.13);cursor:pointer;white-space:nowrap;transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}
.section-head .cl-new-request-btn:hover{background:#20546d;box-shadow:0 5px 14px rgba(13,48,69,.2);transform:translateY(-1px)}
.section-head .cl-new-request-btn:focus-visible{outline:3px solid #50b7db;outline-offset:3px}
.section-head .cl-new-request-btn:active{transform:translateY(0)}
.section-head .cl-new-request-icon{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;flex:0 0 25px;border-radius:50%;background:#fff;color:#123a51;font-size:23px;font-weight:500;line-height:1}
@media(max-width:700px){.section-head .cl-new-request-btn{width:100%;white-space:normal}.section-head:has(.cl-new-request-btn){align-items:stretch;gap:14px}}
@media(prefers-reduced-motion:reduce){.section-head .cl-new-request-btn{transition:none}}

/* v2.8.6: Use the native, visible browser date control. The previously invisible overlay prevented reliable picker interaction on ChromeOS. */
.uk-date-picker{padding:0;min-width:190px;overflow:hidden}
.uk-date-picker input[type="date"]{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:44px!important;opacity:1!important;pointer-events:auto!important;z-index:auto!important;padding:9px 12px!important;margin:0!important;border:0!important;background:#fff!important;color:#17364a!important;font:inherit!important;cursor:pointer!important;box-sizing:border-box!important}
.uk-date-picker input[type="date"]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:1}

/* v2.8.7: Browser-independent UK date display with a functional native calendar popover. */
.uk-date-picker{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 8px 0 13px!important;min-width:190px;min-height:44px;overflow:visible!important;gap:8px}
.uk-date-picker .uk-date-label{display:block;color:#17364a;font-size:15px;font-weight:600;white-space:nowrap;pointer-events:none}
.uk-date-picker input[type="date"]{position:absolute!important;width:1px!important;height:1px!important;left:12px!important;top:50%!important;opacity:0!important;padding:0!important;pointer-events:none!important;border:0!important;overflow:hidden!important}
.uk-date-picker .uk-date-open{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:0;background:transparent;color:#526c7c;font-size:21px;cursor:pointer;border-radius:5px}
.uk-date-picker .uk-date-open:hover{background:#eaf2f6}
.uk-date-picker .uk-date-open:focus-visible{outline:2px solid #3c819e;outline-offset:1px}

/* v2.8.9 delivery checkbox alignment and job actions */
#job-form .cl-delivery-extra .cl-delivery-check{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;flex-direction:row!important;margin:0!important;min-height:30px;cursor:pointer}
#job-form .cl-delivery-extra .cl-delivery-check input[type="checkbox"]{position:static!important;display:inline-block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;vertical-align:middle!important;opacity:1!important}
#job-form .cl-delivery-extra>strong{display:block;margin-bottom:4px}
.cl-reschedule-box{background:#f3f8fc;border:1px solid #d8e5ef;border-radius:12px;padding:15px;display:grid;gap:8px}.cl-reschedule-box p{margin:0}.cl-reschedule-box label{max-width:320px}.cl-cancel-job{background:#fff!important;border:1px solid #c74646!important;color:#a52a2a!important}.cl-cancel-job:hover{background:#fff0f0!important}

/* v2.8.10: Rescheduling uses the existing date and schedule fields; no start-time selector. */

/* v2.8.14: visible in-form booking rejection */
.cl-job-save-error{margin:16px 0;padding:14px 16px;border:1px solid #dc2626;border-left:5px solid #b91c1c;border-radius:10px;background:#fef2f2;color:#991b1b;font-weight:700;line-height:1.5}

/* Shared, charity-neutral sign-in branding */
.login-card .cl-login-wordmark{display:block;width:100%;max-width:320px;height:auto;margin:0 0 24px;object-fit:contain;object-position:left center}
.login-card .cl-login-wordmark+h1{margin-top:0}
@media(max-width:480px){.login-card .cl-login-wordmark{max-width:270px;margin-bottom:20px}}

/* v2.8.21 — customer booking settings form polish */
#booking-contact-panel .cl-booking-contact-form .form-grid{margin:18px 0 16px;gap:16px 18px}
#booking-contact-panel .cl-booking-contact-form .form-grid>label{min-width:0}
#booking-contact-panel .cl-booking-contact-form .cl-booking-contact-toggle{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;margin:0!important;font-size:13px;font-weight:650;cursor:pointer}
#booking-contact-panel .cl-booking-contact-toggle input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;position:static!important;float:none!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px!important;margin:0!important;padding:0!important;transform:none!important;vertical-align:middle!important;accent-color:#174d69}
#booking-contact-panel .cl-booking-contact-form .cl-form-actions{display:flex;justify-content:flex-start;align-items:center;margin:18px 0 0}
#booking-contact-panel .cl-booking-contact-form .cl-action-button{appearance:none;background:#123d56!important;color:#fff!important;border:1px solid #123d56!important;border-radius:8px!important;padding:11px 18px!important;min-height:44px;font-size:13px;font-weight:750;cursor:pointer;width:auto!important}
#booking-contact-panel .cl-booking-contact-form .cl-action-button:hover{background:#20516b!important}
#booking-contact-panel .cl-booking-contact-status:empty{display:none}

/* v2.8.29 reports */
.cl-report-head h2{font-size:25px;margin:0 0 5px}.cl-report-head p,.cl-report-panel p{color:#657b89}.cl-report-controls{max-width:none;margin:20px 0}.cl-report-controls form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.cl-report-controls label{display:grid;gap:6px;font-size:13px;font-weight:650}.cl-report-controls input{border:1px solid #cad8e1;border-radius:8px;padding:10px}.cl-report-controls button{border:1px solid #c8d7e1;border-radius:8px;padding:11px 15px;background:#fff;color:#12354b;font-weight:650}.cl-report-controls button.primary{background:#12354b;color:#fff}.cl-report-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.cl-report-presets button{font-size:12px;padding:7px 11px}.cl-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.cl-report-metric{background:#fff;border:1px solid #e0e9ef;border-radius:13px;padding:21px;display:grid;gap:8px}.cl-report-metric span{font-size:13px;color:#607789}.cl-report-metric strong{font-size:32px;color:#12354b}.cl-report-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cl-report-panel{max-width:none;min-width:0}.cl-report-panel small{display:block;margin-top:18px;color:#667d8b}.cl-report-bars{display:grid;gap:12px;margin-top:22px}.cl-report-bar{display:grid;grid-template-columns:65px minmax(0,1fr) 40px;gap:10px;align-items:center;font-size:13px}.cl-report-bar strong{text-align:right}.cl-report-track{height:16px;background:#edf3f6;border-radius:6px;overflow:hidden}.cl-report-track div{height:100%;background:#2c8199;border-radius:6px}@media(max-width:850px){.cl-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cl-report-panels{grid-template-columns:1fr}}

/* v2.8.30: Reports layout refinements; original colour scheme retained. */
.cl-report-controls{padding:20px 22px!important;min-width:0}
.cl-report-controls form{display:grid;grid-template-columns:repeat(2,minmax(145px,1fr)) auto auto;gap:12px;align-items:end}
.cl-report-controls form label{min-width:0;margin:0}
.cl-report-controls input{box-sizing:border-box;width:100%;min-width:0;min-height:43px}
.cl-report-controls form button{min-height:43px;white-space:nowrap}
.cl-report-presets{margin-top:12px}
.cl-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cl-report-metric{min-width:0;padding:19px 22px}
.cl-report-metric strong{line-height:1.1}
.cl-report-panels{grid-template-columns:1fr;gap:16px}
.cl-report-panel{padding:22px!important}
.cl-report-panel h2{margin-top:0}
.cl-report-panel p{margin:8px 0 12px}
.cl-report-panel small{margin-top:14px}
.cl-report-bars{margin-top:15px}
.cl-user-edit-form{margin:0 14px 14px!important;border:1px solid #dbe6ed;border-radius:10px;background:#f7fafc}
.cl-user-edit-form h4{margin:0 0 15px;color:#14374d}
.cl-user-edit-note{font-size:12px;color:#657b89;margin:10px 0 0}
#people-panel .cl-staff-controls{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1000px){.cl-report-controls form{grid-template-columns:repeat(2,minmax(0,1fr))}.cl-report-controls form button{width:100%}}
@media(max-width:540px){.cl-report-controls{padding:16px!important}.cl-report-controls form{grid-template-columns:1fr 1fr;gap:10px}.cl-report-controls form button{grid-column:span 1;white-space:normal}.cl-report-metric{padding:15px}.cl-report-metric strong{font-size:27px}.cl-report-panel{padding:17px!important}.cl-report-bar{grid-template-columns:56px minmax(0,1fr) 32px;gap:7px}#people-panel .cl-staff-controls{padding-left:0;justify-content:flex-start}.cl-user-edit-form{margin:0 0 12px!important}}

/* v2.8.31: UK-formatted report date controls and staff job status */
.cl-report-controls .uk-date-picker{width:100%;min-width:0;min-height:43px;border:1px solid #cad8e1;border-radius:8px;background:#fff;box-sizing:border-box}
.cl-report-controls .uk-date-picker input[type="date"]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important}
.cl-report-controls .uk-date-picker .uk-date-label{font-size:15px}
.cl-staff-status form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.cl-staff-status form label{display:grid;gap:6px;flex:1 1 210px}
.cl-staff-status form select,.cl-staff-status form textarea{width:100%;box-sizing:border-box}

/* v2.8.32 — integrated job status controls */
.cl-staff-status{width:100%;box-sizing:border-box;margin-top:22px;padding-top:20px;border-top:1px solid #dce6ed}
.cl-staff-status-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.cl-staff-status-heading h3{margin:0;color:#14374d;font-size:18px}
.cl-staff-status-heading span{font-size:14px;color:#647b8b}
.cl-staff-status-heading strong{color:#14374d}
.cl-staff-status form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end;margin:0}
.cl-staff-status form label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-weight:600}
.cl-staff-status form select,.cl-staff-status form textarea{width:100%;min-height:44px;box-sizing:border-box;margin:0}
.cl-staff-status form button.primary{min-height:44px;padding:10px 20px;border-radius:9px;font-weight:700;white-space:nowrap;background:#12364c;color:#fff;border:1px solid #12364c}
.cl-staff-status .cl-status-reason[hidden]{display:none!important}
@media(max-width:800px){.cl-staff-status form{grid-template-columns:minmax(0,1fr)}.cl-staff-status form button.primary{width:100%}}

/* v2.8.33 — accessible, responsive reporting charts */
.cl-report-svg{display:block;width:100%;height:auto;max-height:360px;margin:12px 0 4px;overflow:visible}
.cl-chart-grid{stroke:#e4edf2;stroke-width:1}
.cl-chart-tick{font:12px system-ui,-apple-system,sans-serif;fill:#647d8d}
.cl-chart-value{font:600 13px system-ui,-apple-system,sans-serif;fill:#12354b}
.cl-chart-bar{fill:#2c8199}
.cl-chart-line-collections,.cl-chart-line-deliveries{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.cl-chart-line-collections{stroke:#2c8199}.cl-chart-line-deliveries{stroke:#d28a42}
.cl-chart-line-collections-dot{fill:#2c8199;stroke:white;stroke-width:1.5}
.cl-chart-line-deliveries-dot{fill:#d28a42;stroke:white;stroke-width:1.5}
.cl-chart-legend{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;font-size:13px;color:#536e7e;margin:4px 0 12px}
.cl-chart-legend span{display:flex;gap:7px;align-items:center}
.cl-chart-legend i{width:16px;height:4px;border-radius:4px;display:inline-block}
.cl-chart-key-collections{background:#2c8199}.cl-chart-key-deliveries{background:#d28a42}
.cl-chart-empty{padding:25px 0;text-align:center}
@media(max-width:540px){.cl-report-svg{min-height:180px}.cl-chart-tick{font-size:11px}}

/* v2.8.34 — daily operations dashboard */
.cl-dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 24px}
.cl-dash-stats .stat{min-width:0}.cl-dash-stats .stat strong{font-size:36px}
.cl-dash-success strong{color:#16815d}.cl-dash-warning strong{color:#ae741a}.cl-dash-danger strong{color:#bd3a30}
.cl-dash-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.cl-dash-section-title h2,.cl-dash-progress h2{margin:0}.cl-dash-alert-count{color:#b52d26;background:#fff0ee;border:1px solid #f0c9c4;border-radius:20px;padding:5px 12px;font-size:13px;font-weight:700}.cl-dash-clear{color:#16815d;font-weight:700}
.cl-dash-issue-list{display:grid;gap:9px}.cl-dash-issue,.cl-dash-pending{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border-radius:10px;padding:13px 15px;cursor:pointer}
.cl-dash-issue{background:#fff4f2;border:1px solid #efc7c2;color:#78342e}.cl-dash-pending{background:#fff9ed;border:1px solid #eedbb4;color:#785622;margin-top:9px}
.cl-dash-issue span:nth-child(2),.cl-dash-pending span:nth-child(2){flex:1;min-width:0;display:grid;gap:3px}.cl-dash-issue small,.cl-dash-pending small{font-size:12px;opacity:.85}.cl-dash-issue-icon{border-radius:50%;background:#bd3a30;color:#fff;width:26px;height:26px;display:grid;place-items:center;font-weight:800;flex:none}.cl-dash-chevron{font-size:25px}.cl-dash-empty{margin:0;color:#537084}
.cl-dash-progress{margin:18px 0 24px}.cl-dash-progress-line{display:flex;justify-content:space-between;margin:16px 0 9px}.cl-dash-track{height:12px;border-radius:99px;overflow:hidden;background:#e7eef2}.cl-dash-track>div{height:100%;background:#16815d;border-radius:99px}.cl-dash-progress .muted{margin:9px 0 0}
.cl-issue-resolution{margin-top:18px;padding:18px;border:1px solid #edc1bb;background:#fff7f5;border-radius:12px}.cl-issue-resolution h3{margin:0 0 8px;color:#a22d24}.cl-issue-resolution form{display:grid;gap:12px}.cl-issue-resolution label{display:grid;gap:7px}.cl-issue-resolution button{justify-self:start}.cl-issue-resolved{margin-top:18px;padding:15px;background:#eef8f2;border:1px solid #bde1cb;border-radius:12px;color:#206444}
@media(max-width:1100px){.cl-dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.cl-dash-stats{gap:9px}.cl-dash-stats .stat{padding:14px}.cl-dash-stats .stat strong{font-size:28px}.cl-dash-issue,.cl-dash-pending{padding:11px}.cl-dash-issue strong{font-size:13px}}

/* v2.8.35: Progressive job form and touch-friendly spacing */
#job-form .cl-job-type-picker{margin:20px 0 24px;padding:20px;border:1px solid #dce5ea;border-radius:12px;background:#f8fbfd}
#job-form .cl-job-type-picker h3,#job-form .cl-job-details>h3{margin:0 0 10px;font-size:17px;color:#183047}
#job-form .cl-job-type-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
#job-form .cl-job-type-option{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;padding:17px 14px;min-height:88px;background:#fff;color:#183047;border:2px solid #d8e5ef;border-radius:11px;cursor:pointer}
#job-form .cl-job-type-option small{font-size:12px;color:#64748b;font-weight:400}
#job-form .cl-job-type-option.is-selected{border-color:#237b9c;background:#eaf5f9}
#job-form .cl-type-select-fallback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#job-form .cl-job-details[hidden]{display:none!important}
#job-form .cl-job-details .form-grid{gap:20px 22px;margin:18px 0 24px}
#job-form .cl-job-details .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
#job-form .cl-job-details .actions button{min-height:44px;padding:11px 18px}
#job-form .cl-delivery-extra{min-width:0}
@media(max-width:760px){#job-form .cl-job-type-options{grid-template-columns:1fr}#job-form .cl-job-type-option{min-height:64px;padding:12px 15px}#job-form .cl-job-type-picker{padding:15px}#job-form .cl-job-details .actions{flex-direction:column}#job-form .cl-job-details .actions button{width:100%}}

/* v2.8.36 — Accessible touch-friendly delivery options */
#job-form .cl-delivery-extra{gap:16px!important}
#job-form .cl-delivery-extra .cl-delivery-toggle{position:relative;display:flex!important;align-items:center;gap:14px;min-height:76px;padding:15px 18px;margin:0;border:2px solid #d8e5ef;border-radius:12px;background:#fff;cursor:pointer;box-sizing:border-box}
#job-form .cl-delivery-extra .cl-delivery-toggle:has(input:checked){border-color:#237b9c;background:#eaf5f9}
#job-form .cl-delivery-extra .cl-delivery-toggle:focus-within{outline:3px solid #80c6dc;outline-offset:2px}
#job-form .cl-delivery-extra .cl-delivery-toggle input[type=checkbox]{position:static!important;appearance:none!important;-webkit-appearance:none!important;width:23px!important;height:23px!important;min-width:23px!important;margin:0!important;opacity:1!important;border:2px solid #8299aa!important;border-radius:6px!important;background:white!important;flex:0 0 23px!important}
#job-form .cl-delivery-extra .cl-delivery-toggle input[type=checkbox]:checked{background:#237b9c!important;border-color:#237b9c!important}
#job-form .cl-delivery-extra .cl-delivery-toggle-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
#job-form .cl-delivery-extra .cl-delivery-toggle-copy strong{font-size:15px;color:#183047}
#job-form .cl-delivery-extra .cl-delivery-toggle-copy small{font-size:12px;line-height:1.4;color:#62778b;font-weight:400}
#job-form .cl-delivery-extra .cl-delivery-toggle-indicator{display:flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#dce6eb;color:transparent;font-size:16px}
#job-form .cl-delivery-extra .cl-delivery-toggle:has(input:checked) .cl-delivery-toggle-indicator{background:#237b9c;color:white}
@media(max-width:760px){#job-form .cl-delivery-extra .cl-delivery-toggle{min-height:84px;padding:14px 12px;gap:10px}}


/* v2.8.37 — New Job form spacing refinement (presentation only). */
#job-form .cl-job-details{padding-top:6px}
#job-form .cl-job-details>h3{margin:8px 0 18px;line-height:1.45}
#job-form .cl-job-details .form-grid{column-gap:26px;row-gap:28px;margin:22px 0 34px;align-items:start}
#job-form .cl-job-details .form-grid>label{gap:10px;min-width:0;line-height:1.5}
#job-form .cl-job-details .form-grid>label input:not([type=checkbox]),
#job-form .cl-job-details .form-grid>label select{min-height:48px;padding:12px 14px}
#job-form .cl-job-details .form-grid>label textarea{min-height:82px;padding:13px 14px;line-height:1.5}
#job-form .cl-delivery-extra{padding:24px!important;gap:18px!important;margin:6px 0 8px!important}
#job-form .cl-delivery-extra>strong{margin:0 0 4px!important;font-size:16px;line-height:1.5}
#job-form .cl-delivery-extra .cl-delivery-toggle{min-height:94px;padding:20px 22px;gap:17px;border-radius:12px}
#job-form .cl-delivery-extra .cl-delivery-toggle-copy{gap:6px}
#job-form .cl-delivery-extra .cl-delivery-toggle-copy strong{line-height:1.4}
#job-form .cl-delivery-extra .cl-delivery-toggle-copy small{line-height:1.55}
#job-form .cl-delivery-extra>label:not(.cl-delivery-toggle){display:grid;gap:10px;margin-top:8px;line-height:1.5}
#job-form .cl-delivery-extra>label:not(.cl-delivery-toggle) input{min-height:48px;padding:12px 14px}
#job-form .cl-job-details .actions{gap:14px;margin-top:30px;padding-top:12px}
#job-form .cl-job-details .actions button{min-height:48px;padding:13px 21px;line-height:1.35}
@media(max-width:900px){
 #job-form .cl-job-details .form-grid{column-gap:20px;row-gap:26px}
 #job-form .cl-delivery-extra{padding:20px!important;gap:17px!important}
}
@media(max-width:760px){
 #job-form .cl-job-details .form-grid{row-gap:24px;margin:22px 0 30px}
 #job-form .cl-delivery-extra{padding:17px!important;gap:16px!important}
 #job-form .cl-delivery-extra .cl-delivery-toggle{min-height:96px;padding:18px 15px;gap:13px}
 #job-form .cl-job-details .actions{gap:12px;margin-top:28px}
 #job-form .cl-job-details .actions button{min-height:50px;width:100%}
}

/* v2.8.38 — Consistent New Job form rhythm and alignment.
   The previous version added padding/margins to a full-width grid child,
   creating an apparent double gap and an inset Delivery details section. */
#job-form .cl-job-details .form-grid{
  column-gap:22px;
  row-gap:22px;
  margin:18px 0 26px;
  align-items:start;
}
#job-form .cl-job-details .form-grid > label{margin:0;min-width:0}
#job-form .cl-job-details .cl-delivery-extra{
  padding:0!important;
  margin:0!important;
  gap:14px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  min-width:0;
}
#job-form .cl-job-details .cl-delivery-extra > strong{
  margin:0 0 2px!important;
  padding:0;
  font-size:16px;
  line-height:1.4;
}
#job-form .cl-job-details .cl-delivery-extra .cl-delivery-toggle{
  min-height:82px;
  padding:16px 20px;
}
#job-form .cl-job-details .cl-delivery-extra > label:not(.cl-delivery-toggle){
  margin:2px 0 0!important;
  gap:9px;
}
#job-form .cl-job-details .actions{margin-top:22px;padding-top:0}
@media(max-width:760px){
  #job-form .cl-job-details .form-grid{row-gap:20px;margin:18px 0 24px}
  #job-form .cl-job-details .cl-delivery-extra{gap:12px!important}
  #job-form .cl-job-details .cl-delivery-extra .cl-delivery-toggle{min-height:82px;padding:15px 14px}
}

/* v2.8.39 — Edit staff account: keep driver checkbox compact and inline. */
#people-panel #cl-edit-user-form .cl-location-check{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;gap:11px!important;width:100%!important;
  min-height:28px!important;margin:0!important;cursor:pointer;
}
#people-panel #cl-edit-user-form .cl-location-check input[type="checkbox"]{
  appearance:auto!important;-webkit-appearance:checkbox!important;
  display:inline-block!important;position:static!important;float:none!important;
  width:18px!important;height:18px!important;min-width:18px!important;
  max-width:18px!important;min-height:18px!important;max-height:18px!important;
  flex:0 0 18px!important;margin:0!important;padding:0!important;
  transform:none!important;vertical-align:middle!important;accent-color:#174d69;
}
#people-panel #cl-edit-user-form .cl-location-check span{
  display:inline!important;font-size:13px;font-weight:650;line-height:1.5;
}

/* v2.8.44 location save feedback */
.cl-location-save-status{margin:0 0 10px;color:#167448;font-weight:600}.cl-location-save-status:empty{display:none}.cl-location-save-status.error{color:#b42318}

/* Clear allowance notice shown only when the charity reaches its location limit. */
.cl-location-limit-alert{display:flex;flex-direction:column;gap:5px;padding:14px 16px;margin:14px 0;border:1px solid #e9bd66;border-left:4px solid #bf7900;border-radius:8px;background:#fff8e9;color:#604000}
.cl-location-limit-alert strong{font-size:1rem}
.cl-location-limit-note:not([hidden]){padding:10px 12px;border-radius:6px;background:#fff8e9;color:#604000;font-weight:600}

/* v2.8.54: match retention controls to Staff Portal settings */
.cl-retention-settings{max-width:816px}
#retention-settings-form{display:grid;gap:14px}
#retention-settings-form>label{display:grid;gap:8px}
#retention-settings-form select{display:block;width:100%;min-height:44px}
.cl-retention-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#retention-settings-form .cl-action-button{appearance:none;background:#123d56!important;color:#fff!important;border:1px solid #123d56!important;border-radius:9px!important;padding:11px 18px!important;min-height:44px;font-size:13px;font-weight:750;cursor:pointer;width:auto!important}
#retention-settings-form .cl-action-button:hover{background:#20516b!important}
#retention-settings-form .cl-action-button:disabled{opacity:.55;cursor:wait}
.cl-retention-status{margin:0;color:#627889;font-size:13px}
.cl-retention-status.is-success{color:#167347;background:#eef9f1;border:1px solid #ccebd6;border-radius:8px;padding:10px 12px}
.cl-retention-status.is-error{color:#a52222;background:#fff2f2;border:1px solid #f0cccc;border-radius:8px;padding:10px 12px}
.cl-retention-status:empty{display:none}

/* Keep the Schedule Manager action aligned with its content column. */
.cl-settings-schedules>.cl-settings-heading{max-width:816px}
@media(max-width:640px){.cl-settings-schedules>.cl-settings-heading{max-width:100%}}

/* Documents & Policies v2.8.69 — shared portal components */
.sidebar nav a.nav-item,.sidebar nav a.nav-item:link,.sidebar nav a.nav-item:visited{display:flex;align-items:center;gap:14px;text-decoration:none!important;color:#c7d8e2!important;padding:13px 15px;border-radius:10px;font-weight:600;line-height:1.35;white-space:normal}
.sidebar nav a.nav-item:hover,.sidebar nav a.nav-item[aria-current="page"]{background:#27516a;color:#fff!important;text-decoration:none!important}
.sidebar nav a.nav-item span{font-size:19px;min-width:22px;text-decoration:none!important}
.cl-doc-shell .content{max-width:1200px;padding:36px 42px}
.cl-doc-shell .cl-doc-intro{margin-bottom:24px}
.cl-doc-shell .cl-doc-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.cl-doc-shell .cl-doc-header h2{font-size:24px;margin:0 0 8px}
.cl-doc-shell .cl-doc-header p{margin:0;color:#667b8b;line-height:1.6}
.cl-doc-shell .cl-doc-back{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid #dce5ea;border-radius:9px;background:white;color:#176d85;text-decoration:none;font-size:14px;font-weight:650}
.cl-doc-shell .cl-doc-card,.cl-doc-shell .cl-doc-empty{background:#fff;border:1px solid #e0e8ee;border-radius:14px;padding:26px;margin:18px 0;box-shadow:0 3px 12px rgba(10,35,55,.04)}
.cl-doc-shell .cl-doc-card>h2{font-size:20px;margin:0 0 12px}
.cl-doc-shell .cl-doc-version{padding:18px 0;border-top:1px solid #e6edf1}
.cl-doc-shell .cl-doc-version>strong{font-size:15px}
.cl-doc-shell .cl-doc-meta{color:#667b8b;font-size:14px;margin:12px 0;line-height:1.5}
.cl-doc-shell .cl-doc-pill{display:inline-block;background:#e6f6f8;color:#087b8b;padding:5px 11px;border-radius:99px;font-size:12px;font-weight:750;margin-left:8px}
.cl-doc-button,.cl-doc-shell .cl-doc-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;background:#15a7ba;border:1px solid #15a7ba;border-radius:9px;color:white!important;text-decoration:none!important;padding:10px 17px;font-size:14px;font-weight:750;cursor:pointer}
.cl-doc-button:hover,.cl-doc-shell .cl-doc-button:hover{background:#087f96}
.cl-doc-shell .cl-doc-accept{background:#f3f8fb;border:1px solid #e1ebf1;border-radius:11px;padding:18px;margin-top:18px;max-width:690px}
.cl-doc-shell .cl-doc-checkbox{display:flex;align-items:flex-start;gap:12px;font-size:14px;font-weight:550;line-height:1.55;margin-bottom:16px;cursor:pointer}
.cl-doc-shell .cl-doc-checkbox input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:#159bb0}
.cl-doc-attention{background:#fff;border:1px solid #e3eaf0;border-left:4px solid #15a7ba;border-radius:13px;padding:22px 24px;margin-bottom:28px;box-shadow:0 3px 12px rgba(10,35,55,.04)}
.cl-doc-attention-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.cl-doc-attention h2{font-size:19px;margin:5px 0 7px}
.cl-doc-attention p{margin:5px 0;color:#667b8b;font-size:14px;line-height:1.5}
.cl-doc-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#078da1}
.cl-doc-count{background:#e6f6f8;color:#087b8b;padding:7px 11px;border-radius:99px;font-size:12px;font-weight:750;white-space:nowrap}
.cl-doc-attention-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e6edf1;padding:16px 0 0;margin-top:16px}
.cl-doc-attention-row strong{font-size:15px}.cl-doc-muted{color:#728696;font-weight:500}
.cl-doc-warning{color:#9b4b16!important;font-weight:700}
@media(max-width:700px){.cl-doc-shell .content{padding:24px 18px}.cl-doc-shell .cl-doc-card{padding:20px}.cl-doc-attention-row{align-items:flex-start;flex-direction:column}.cl-doc-attention{padding:18px}}

/* v2.8.70: document reminders share the existing dashboard attention panel. */
.cl-dash-doc{display:flex;align-items:center;gap:13px;width:100%;padding:15px 16px;margin-top:10px;background:#eef8fa;border:1px solid #bfe4eb;border-radius:10px;text-decoration:none!important;color:#123650!important;transition:background .15s}
.cl-dash-doc:hover,.cl-dash-doc:focus-visible{background:#dff3f7;outline-offset:2px}
.cl-dash-doc-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;background:#117e95;color:#fff;font-size:17px}
.cl-dash-doc>span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.cl-dash-doc strong{font-size:14px;line-height:1.4;color:#123650}.cl-dash-doc small{font-size:12px;color:#557888}
.cl-dash-doc .cl-dash-chevron{font-size:24px;color:#117e95}
