.mobile-menu020{display:none}.call-alert020{border-left:6px solid #b91c1c;background:#fff1f2}.mot-icons020{display:inline-flex;gap:3px;align-items:center}.mot-icons020 svg{width:20px;height:20px}.labour-row020{display:flex;align-items:center;gap:8px}.labour-row020 strong{flex:1}
@media(max-width:1024px), (orientation:portrait) and (max-width:1600px){
 html,body,#app{width:100%;max-width:100%;margin:0;overflow-x:clip}
 *,*::before,*::after{box-sizing:border-box}
 .shell{display:block!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;width:100%!important}
 .sidebar{display:none!important}.shell>main,main.main{margin:0!important;width:100%!important;min-width:0!important;max-width:100%!important}
 .mobile-menu020{display:block;background:#122b2c;color:white;padding:12px;width:100%}
 .mobile-menu020 summary{cursor:pointer;padding:12px;font-weight:650;min-height:44px}
 .mobile-menu020 nav,.mobile-actions020{display:grid;grid-template-columns:1fr;gap:8px;padding:8px}
 .mobile-menu020 button{width:100%;min-height:44px;text-align:left;white-space:normal}
 .topbar{width:100%!important;min-width:0!important;display:block!important;padding:12px!important;position:static!important}
 .topbar .topbar-right{display:none!important}.topbar .search{width:100%!important;max-width:100%!important;min-width:0!important}
 .topbar .search input{width:100%;min-width:0}.content{padding:12px!important;width:100%!important;min-width:0!important}
 .content .card{width:100%;min-width:0;max-width:100%}.cardhead,.actions{flex-wrap:wrap;gap:8px}.cardbody{overflow-wrap:anywhere}
 .tablewrap{max-width:100%;overflow-x:auto}.formgrid,.settingsgrid,.facts{grid-template-columns:minmax(0,1fr)!important}
 dialog{max-width:calc(100vw - 20px)!important;width:calc(100vw - 20px)!important}.modalbody{padding:14px}.modalfoot{flex-wrap:wrap}
 input,select,textarea{max-width:100%;font-size:16px}.auth{display:block}.auth-story{display:none}.auth-form{padding:20px}.authbox{max-width:100%}
 .lineedit .formgrid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:1024px), (orientation:portrait) and (max-width:1600px){.mobile-menu020 nav a{display:block;min-height:44px;padding:12px;color:white;text-decoration:none;border-radius:8px}.mobile-menu020 nav a.active{background:#d5f578;color:#163a35}.mobile-menu020 [hidden]{display:none!important}}
.topbar{min-width:0;flex-wrap:wrap}.topbar-right{min-width:0;max-width:100%;flex-wrap:wrap}.main{min-width:0}.topbar .search{min-width:0}

.call-complaint019{border-left:6px solid #b91c1c;background:#fff1f2}.call-cancellation019{border-left:6px solid #c65d00;background:#fff0dd}.call-praise019{border-left:6px solid #15803d;background:#f0fdf4}

.topbar{height:auto!important;min-height:72px;align-items:center}.topbar-right{height:auto;flex-wrap:wrap}.topbar .search{flex-shrink:0}.scopepicker{position:relative}

/* 008.238: persistent job totals and grouped work editor */
#job-totals238{position:fixed;bottom:0;left:0;right:0;z-index:80;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;padding:12px 16px;background:#173f3a;color:white;box-shadow:0 -2px 10px #0002;font-size:14px}body.job-footer238{padding-bottom:100px}body.job-footer238 .floating-tools{bottom:90px}@media print{#job-totals238{display:none}}
body.job-footer238 #quick-actions0086,body.job-footer238 .job-floating{bottom:calc(var(--job-footer-height238,90px) + 12px)!important}body.job-footer238 .content{padding-bottom:calc(var(--job-footer-height238,90px) + 100px)}body.job-footer238 #toast{bottom:calc(var(--job-footer-height238,90px) + 80px);z-index:100}
.lineedit.labour238{border:2px solid #194b43;border-left:8px solid #194b43;background:#e5f0ed;margin-top:24px}.lineedit.part238{margin-left:24px;border:1px solid #aac4d8;border-left:5px solid #4682ab;background:#f3f8fc}.lineedit [data-heading238]{grid-column:1/-1;font-size:17px;margin:0 0 12px;color:#153f38}.lineedit.part238 [data-heading238]{color:#244e71}.lineedit[hidden]{display:none!important}.consumables-total238{padding:16px;border-top:2px solid #194b43;text-align:right}@media(max-width:600px){.lineedit.part238{margin-left:10px}}
#job-totals238 small{color:#e5f0ed!important}
.badge.po-created248{background:#e5e7eb;color:#374151}
.badge.po-ordered248{background:#ffcf91;color:#7c3200}
.badge.po-received248{background:#c6efd1;color:#14532d}

.quick-links250{position:sticky;top:0;z-index:35;background:#fff;display:flex;gap:8px;align-items:center;padding:10px 16px;overflow-x:auto;border-bottom:1px solid #d4dfdc;min-height:60px}.quick-links250 .btn{flex-shrink:0}.discount-summary250{padding:12px;background:#edf4e8;margin:12px 0}@media print{.quick-links250{display:none}}

.foh-search251 {border:2px solid #1b5148; margin:18px 0;}
.foh-search251 h2 {margin-top:0;}
#foh-registration251 {background:#ffe865;color:#172e2a;font-size:1.5rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;max-width:310px;min-height:48px;}
.foh-plate251 {display:inline-block;background:#ffe865;color:#172e2a;padding:8px 16px;font-size:1.4rem;border-radius:5px;}
#foh-result251 {margin-top:16px;overflow-wrap:anywhere;}
@media(max-width:600px){#foh-form251 .actions {display:flex;flex-wrap:wrap;}#foh-registration251 {width:100%;max-width:100%;box-sizing:border-box;}}

.settings-group251{margin:12px 0;border:1px solid #dbe4df;border-radius:12px;background:#fff;overflow:hidden}
.settings-group251>summary{padding:20px;font-size:1.1rem;font-weight:700;cursor:pointer;background:#edf3ef}
.settings-group251>.card{margin:12px;border:0}.settings-group251 [hidden]{display:none!important}
#settings-search251{width:100%;max-width:700px;font-size:1.1rem;padding:14px}
.photo-alert251{border-left:6px solid #d38300;background:#fff4dc}
@media print{.foh-search251,.photo-alert251,.vehicle-planning251{display:none!important}}

.job-jumps251{position:sticky;top:0;z-index:15;display:flex;gap:8px;overflow-x:auto;padding:10px;background:#fff;border-bottom:1px solid #dce5df}
.job-jumps251 a{white-space:nowrap;padding:8px;border:1px solid #dce5df;border-radius:8px;color:#163d37;text-decoration:none}
.estimated-mileage251{background:#fff0c9;border-left:5px solid #dc9c00;padding:12px}
.vehicle-planning251 details{margin-top:16px}.vehicle-planning251 summary{cursor:pointer;font-weight:700}
@media print{.job-jumps251{display:none!important}}

.nav [data-ref="reminders018"] .symbol{flex:0 0 43px;width:43px;min-width:43px}.nav [data-ref="reminders018"]{gap:10px}.nav .symbol{flex-shrink:0}

.unassigned-labour254{display:block;color:#b42318;font-weight:700}

/* Save failures must remain unmistakable without relying on colour alone. */
.formerror:not(:empty){display:block;padding:16px 20px;margin:18px 0;border:2px solid #b42318;border-left-width:6px;border-radius:8px;background:#fff0ee;color:#9b1c13;font-size:16px;font-weight:700;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;scroll-margin-block:24px}
.formerror:not(:empty)::before{content:"Action required";display:block;margin-bottom:6px;font-size:18px;font-weight:800}
.formerror:empty{display:none}
.formerror:focus-visible{outline:3px solid #b42318;outline-offset:3px}
.auth .support-login-entry{position:fixed;left:max(20px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));margin:0;padding:8px 12px;border-radius:6px;background:#122b2c;z-index:2}
.auth .support-login-entry a{color:#e6efeb;font-size:12px}
.auth{padding-bottom:64px;box-sizing:border-box}
