:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142d29;background:#f4f6f3;font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{cursor:pointer;border:1px solid #cad4ce;border-radius:12px;background:white;color:#142d29;padding:13px 17px;font-weight:650;min-height:48px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{border-color:#37655a}button:disabled{opacity:.55;cursor:wait}.primary{background:#f7cd46;border-color:#f7cd46;color:#142d29}.dark{background:#142d29;color:white;border-color:#142d29}.danger{color:#a63535}.full{width:100%}header{height:86px;padding:16px 24px;max-width:1050px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:24px;font-weight:750;letter-spacing:-1px}.brand b{display:grid;place-items:center;background:#f7cd46;border-radius:14px;width:44px;height:44px;font-size:35px}.brand small{display:block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;line-height:1.6}.icon{border:0;font-size:25px;background:transparent}main{max-width:1000px;margin:auto;padding:20px 24px 120px}.intro{margin:10px 0 26px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:750;color:#658074}h1{font-size:clamp(28px,5vw,40px);letter-spacing:-1.2px;margin:8px 0}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:19px;margin:8px 0}p{line-height:1.55}.intro p:last-child,.muted{color:#65766f}.filters,.actions,.metrics{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.filters{margin-bottom:22px;overflow:auto;flex-wrap:nowrap}.filters button{white-space:nowrap;padding:9px 16px;font-size:14px;min-height:42px}.filters .selected{background:#142d29;color:white;border-color:#142d29}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}.card{background:white;border:1px solid #e0e6e1;border-radius:20px;padding:22px;margin-bottom:16px}.cards .card{margin:0}.card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#5b7167}.badge{background:#eaf2ed;color:#2e6751;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:750;text-transform:uppercase}.badge.completed{background:#edf0f6;color:#526077}.route{padding:15px 0 15px 18px;border-left:2px solid #e3e9e5;margin:16px 0 16px 4px}.route small{display:block;color:#658074;font-size:11px;letter-spacing:1px;margin-bottom:4px;text-transform:uppercase}.route p{margin:0 0 12px}.route p:last-child{margin:0}.card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0ed;padding-top:15px;margin-top:16px}.card-foot b{font-size:21px}.metrics{gap:12px;margin:20px 0}.metric{background:#eaf1eb;border-radius:14px;padding:17px;flex:1;min-width:125px}.metric small{display:block;font-size:12px;color:#557064}.metric strong{display:block;font-size:22px;margin-top:6px}.notice{background:#fff6d6;border:1px solid #ead994;border-radius:12px;padding:14px;font-size:14px}.empty{text-align:center;padding:48px 24px;border:1px dashed #bdcdc2;border-radius:20px;background:#fafcf9}.empty b{font-size:23px;display:block;margin-bottom:10px}#nav,.customer-app nav{position:fixed;z-index:2;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1000px);background:#fffef9;border:1px solid #e0e6de;border-bottom:0;border-radius:22px 22px 0 0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:flex;box-shadow:0 -8px 36px #142d2908}#nav button,.customer-app nav button{flex:1;display:flex;flex-direction:column;border:0;background:none;padding:8px 4px;gap:5px;font-size:11px;color:#718278}#nav button span,.customer-app nav button span{font-size:21px;line-height:1.1}#nav button[aria-current=page],.customer-app nav button[aria-current=page]{color:#173b2d;background:#eef4ec}label{display:block;font-size:13px;font-weight:650;margin:15px 0 7px}input,select,textarea{display:block;border:1px solid #cbd5ce;border-radius:10px;padding:13px;width:100%;background:white;color:#142d29;margin-top:7px;min-height:48px}input[type=checkbox]{width:20px;min-height:20px;margin:0}.check{display:flex;gap:10px;align-items:center}.check span{font-weight:400}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}dialog{border:1px solid #d8e1d9;border-radius:24px;padding:24px;max-width:600px;width:calc(100% - 24px);max-height:90dvh;color:#142d29}dialog::backdrop{background:#0c211c85}.sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:-24px;background:white;padding:6px 0;z-index:1}.sheet-head button{padding:8px 14px}.sheet-head h2{margin:12px 0}dialog .actions{margin-top:20px}#message:empty,#sheet-message:empty{display:none}#message,#sheet-message{padding:12px;background:#fff1d5;border-radius:10px}a{color:#24614e}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:left;padding:12px 7px;border-bottom:1px solid #e7ece6}.table-wrap{overflow:auto}.time-picker{display:flex;gap:6px;flex-wrap:wrap}.time-picker select{flex:1;width:auto}.time-picker-day{width:100%}.skeleton{height:180px;border-radius:20px;background:linear-gradient(110deg,#e6ece5 20%,#f5f8f2 40%,#e6ece5 60%);background-size:200%;animation:shimmer 1.5s linear infinite}@keyframes shimmer{to{background-position:-200%}}:focus-visible{outline:3px solid #a98709;outline-offset:3px}.downloads{display:grid;gap:12px}.profile-row{display:flex;justify-content:space-between;border-bottom:1px solid #e6ebe5;padding:14px 0}.amount-due{color:#a15529}@media(max-width:550px){header{padding:14px 20px;height:76px}main{padding:14px 18px 110px}.intro{margin-top:0}.grid{grid-template-columns:1fr}.card{padding:18px}.metric strong{font-size:20px}dialog{padding:20px}.sheet-head{top:-20px}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}

[hidden]{display:none!important}

.report-period {display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:16px 0 22px}
.report-period label {margin:0;flex:1;min-width:135px}
.office-report-table {background:white;margin:12px 0 20px;min-width:540px}
.office-report-table :is(td,th) {padding:12px;vertical-align:top}
.office-report-table td small {display:block;margin-top:5px;color:#51685f}
[data-app="office"] #nav {overflow-x:auto}
[data-app="office"] #nav button {min-width:62px;white-space:nowrap}

@media (min-width:1024px) {
 [data-app="office"] {display:grid;grid-template-columns:190px minmax(0,1000px);column-gap:24px;justify-content:center;padding-inline:24px}
 [data-app="office"] header {grid-column:1 / -1;max-width:none;width:100%;padding-inline:0}
 [data-app="office"] main {grid-column:2;grid-row:2;width:100%;padding-inline:0}
 [data-app="office"] #nav {grid-column:1;grid-row:2;position:sticky;top:16px;align-self:start;transform:none;left:auto;width:100%;flex-direction:column;border:1px solid #e0e6de;border-radius:16px;box-shadow:none;margin-top:20px}
 [data-app="office"] #nav:empty {display:none}
 [data-app="office"] #nav button {flex-direction:row;justify-content:flex-start;gap:12px;font-size:.875rem;padding:10px 12px}
}

#team-access-message:empty {display:none}
#team-access-message:not(:empty) {padding:12px;background:#fff1d5;border-radius:10px}
.team-downloads {margin-top:24px}

.road-charge-list {margin:20px 0}
.road-charge {border-top:1px solid #e0e6de;padding:12px 0}
.road-charge p {margin:5px 0 9px}
.road-charge button {padding:8px 12px;min-height:38px}
.road-receipt {display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0}
.road-receipt span {flex-basis:100%}
.road-total {font-size:.875rem}
#mobile-desk fieldset {min-width:0;border:1px solid #e0e6de;border-radius:12px;margin:18px 0;padding:12px}
#mobile-desk legend {font-weight:700}

.commission-rates {min-width:0;margin:16px 0}
.commission-rates th[scope="row"] {font-weight:600;text-align:left}
.commission-rates th small {display:block;font-weight:400;margin-top:4px}
.commission-rates input {max-width:120px}

#nav:empty {display:none}
.brand b {flex-shrink:0}
.card,.grid > *,#sheet-body,fieldset {min-width:0}
.cards {grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr))}
.card,.route,.profile-row,#sheet-body {overflow-wrap:anywhere}
.card-head,.card-foot,.profile-row {flex-wrap:wrap;gap:10px}
input,select,textarea {min-width:0;max-width:100%;font-size:1rem}
.table-wrap {max-width:100%;overscroll-behavior-x:contain}
dialog {max-height:90dvh;overscroll-behavior:contain}
.sheet-head button {flex:0 0 auto;min-width:48px}

.running-trips {display:grid;gap:12px;margin-bottom:20px}
.running-trip {
 display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;
 border-color:#d9be5d;background:#fffbdf;margin:0;
}
.running-trip h2 {margin:8px 0 3px}
.running-trip p {margin:0;color:#52635a;font-size:.875rem}
.running-trip .badge {background:#dcebdd;color:#215940}
.trip-clock {display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0;color:#51685f;font-size:.875rem}
.trip-clock b {color:#142d29}
.trip-time-settings summary {cursor:pointer;min-height:44px;display:flex;align-items:center;color:#24614e;font-weight:650}
.trip-time-settings summary::before {content:'▸';margin-right:7px}
.trip-time-settings[open] summary::before {content:'▾'}

@media (max-width:550px) {
 header {height:auto;min-height:76px;gap:10px}
 header .actions {gap:6px;justify-content:flex-end}
 header .actions .button {padding-inline:12px}
 header .actions .icon {padding-inline:10px}
 main {padding-bottom:calc(110px + env(safe-area-inset-bottom))}
 .running-trip button {width:100%}
 .metric {min-width:min(125px,100%);overflow-wrap:anywhere}
 .road-charge button {min-height:44px}
 dialog {width:calc(100% - 16px);max-height:calc(100dvh - 24px)}
}
