
*{box-sizing:border-box}body{margin:0;font:16px/1.5 Arial,Helvetica,sans-serif;color:#101312;background:#fff}button,input,select{font:inherit}button{cursor:pointer}a{color:#00563f;text-underline-offset:4px}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #008562;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}h1,h2,h3,p{margin:0}h1{font-size:2.5rem;line-height:1.05;letter-spacing:-.05em}h2{font-size:1.2rem;letter-spacing:-.025em}h3{font-size:1.05rem}svg{width:24px;height:24px}.brand{font-size:1.9rem;letter-spacing:-.07em;font-weight:800;color:#101312;text-decoration:none;line-height:1;display:inline-flex;flex-direction:column;gap:7px}.brand span{letter-spacing:.2em;font-size:.65rem;color:#00563f}.primary,.secondary{min-height:52px;border:0;border-radius:10px;padding:14px 20px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:14px;text-decoration:none}.primary{background:#00563f;color:white}.primary:hover{background:#003f2e}.secondary{background:#edf3ef;color:#00563f}.text-link{font-size:.9rem;font-weight:700}.eyebrow{font-size:.75rem;letter-spacing:.16em;color:#00563f;font-weight:700;margin-bottom:16px}.subtle{color:#627069;font-size:.875rem}.landing-header{max-width:1120px;margin:auto;padding:30px 36px;display:flex;justify-content:space-between;align-items:center}.landing-main{max-width:560px;margin:30px auto 50px;padding:0 24px;text-align:center}.app-mark{width:86px;height:86px;background:#00563f;color:white;border-radius:22px;font-size:2.3rem;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;margin:0 auto 28px;box-shadow:0 12px 32px #00563f22}.app-mark small{font-size:.55rem;letter-spacing:.12em;margin-top:9px}.landing h1{font-size:clamp(2.8rem,6vw,4.1rem)}.intro{font-size:1.05rem;color:#52615b;margin:20px auto 26px;max-width:390px}.landing-main>.primary{margin-bottom:14px}.install-guide{margin-top:32px;border:1px solid #d6e0db;border-radius:16px;padding:24px;text-align:left;background:#f7f9f8}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading select{padding:9px 8px;border:1px solid #d6e0db;background:white;border-radius:8px;font-size:.875rem;max-width:160px}.install-guide ol{padding-left:23px;margin-bottom:0}.install-guide li{padding-left:6px;margin:18px 0;color:#44534b;font-size:.9375rem}.install-guide li::marker{color:#00563f;font-weight:700}.preview-note{font-size:.8rem;line-height:1.5;color:#627069;margin-top:24px}.landing-footer{text-align:center;border-top:1px solid #e7ece9;padding:22px;font-size:.875rem;color:#52615b}.driver-body{background:#edf2ef}.driver-shell{max-width:520px;margin:auto;min-height:100dvh;background:#fff;position:relative}.preview-strip{font-size:.65rem;letter-spacing:.1em;padding:7px;text-align:center;background:#f1f5f3;color:#52615b}.app-header{padding:22px 22px 16px;display:flex;justify-content:space-between;align-items:center}.icon-button{border:1px solid #dce5df;background:white;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;color:#00563f}.driver-shell main{padding:14px 22px 110px}.greeting{font-size:.9375rem;color:#617168;margin-bottom:6px}.page-title{font-size:2rem;line-height:1.1;margin-bottom:24px}.availability{background:#00563f;color:white;padding:20px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;margin:22px 0}.availability p{font-size:.875rem;color:#d5e8df;margin-top:4px}.switch{border:1px solid #ffffff50;border-radius:24px;width:53px;height:31px;background:#ffffff33;position:relative}.switch::after{content:'';position:absolute;top:4px;left:5px;width:21px;height:21px;border-radius:50%;background:white}.switch[aria-checked=true]::after{left:25px}.stats-row{display:flex;padding:2px 0 25px;border-bottom:1px solid #e2e9e4;margin-bottom:24px}.stat{flex:1}.stat+.stat{border-left:1px solid #e2e9e4;padding-left:25px}.stat strong{font-size:1.6rem;display:block;letter-spacing:-.04em}.stat span{font-size:.8rem;color:#617168}.job-card{border:1px solid #d6e0db;border-radius:15px;padding:20px;margin:15px 0}.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.service{display:flex;gap:9px;align-items:center;color:#00563f;font-size:.8rem;font-weight:700}.pill{font-size:.75rem;border-radius:6px;padding:5px 8px;background:#eef4f0;color:#00563f}.pill.offer{background:#fff3d6;color:#765200}.reference{font-size:.75rem;color:#64736b;margin-top:5px}.stops{margin:20px 0;padding-left:17px;border-left:2px solid #d6e0db;display:grid;gap:18px}.stops span{font-size:.75rem;color:#64736b;display:block}.stops strong{font-size:.9rem}.job-bottom{border-top:1px solid #e5eae7;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.job-pay{font-size:1.3rem;font-weight:700}.job-pay small{display:block;font-size:.7rem;font-weight:400;color:#627069}.job-bottom button{min-height:44px;font-size:.9rem;padding:10px 16px}.all-link{border:0;background:none;color:#00563f;font-size:.875rem;font-weight:700;padding:8px}.info-card{background:#f1f5f3;padding:18px;border-radius:12px;margin-top:22px}.info-card p{font-size:.875rem;color:#52615b;margin-top:5px}.empty{padding:36px 22px;background:#f6f8f7;text-align:center;border-radius:14px;margin:20px 0}.empty p{font-size:.9rem;color:#617168;margin-top:8px}.tabs{display:flex;gap:8px;background:#f1f5f3;border-radius:10px;padding:5px;margin-bottom:22px}.tabs button{flex:1;border:0;border-radius:7px;background:transparent;color:#52615b;padding:10px 4px;font-size:.85rem}.tabs button[aria-selected=true]{background:white;color:#00563f;font-weight:700}#bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:520px;width:100%;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #dce5df;background:#fff;padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:20}#bottom-nav button{border:0;background:white;color:#7a877f;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:55px;border-radius:9px;font-size:.75rem;font-weight:600}#bottom-nav button[aria-current=page]{color:#00563f;background:#eef5f0}#bottom-nav svg{margin-top:4px;width:23px;height:23px}.profile-top{display:flex;align-items:center;gap:16px;margin:18px 0 28px}.avatar{width:60px;height:60px;background:#e5f0e9;color:#00563f;font-size:1.4rem;border-radius:50%;display:grid;place-items:center;font-weight:700}.menu-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;border:0;border-bottom:1px solid #e1e8e3;background:white;text-align:left;width:100%;color:#101312;font-size:.9375rem}.menu-row small{display:block;color:#64736b;font-size:.8rem;margin-top:4px}.back{background:none;border:0;padding:10px 0;color:#00563f;font-weight:700;margin-bottom:14px;min-height:44px}.full{width:100%;margin-top:12px}.detail-copy{font-size:.9rem;color:#52615b;margin:18px 0}.warning{font-size:.85rem;line-height:1.5;background:#fff6df;color:#765200;padding:15px;border-radius:10px;margin:20px 0}.button-row{display:flex;gap:10px}.button-row button{flex:1}.permission-status{padding:20px;border:1px solid #d6e0db;border-radius:12px;margin:24px 0}.permission-status small{color:#64736b;display:block;font-size:.8rem;margin-bottom:8px}.permission-status strong{font-size:1.2rem}.loading{padding:32px;color:#617168}.connection{font-size:.75rem;color:#64736b;margin-bottom:16px}#toast:not(:empty){position:fixed;left:50%;transform:translateX(-50%);bottom:94px;width:calc(100% - 36px);max-width:470px;background:#172f23;color:white;padding:15px 18px;border-radius:10px;font-size:.9rem;z-index:25}#install-status{font-size:.875rem;color:#00563f;margin-top:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:600px){.landing-header{padding:24px}.landing-header .text-link{font-size:.8rem}.landing-main{margin:18px auto 36px}.install-guide{padding:20px}.section-heading{gap:8px}.section-heading h2{font-size:1.1rem}}@media(min-width:600px){.driver-shell{box-shadow:0 0 60px #143c2110}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.field{display:grid;gap:8px;margin:18px 0;color:#344b40;font-size:.9rem}.field input,.field select{width:100%;min-height:50px;padding:12px;border:1px solid #cddbd3;border-radius:9px;background:white;color:#101312}.field input:focus-visible{outline:3px solid #008562}.nav-symbol{font-size:1.6rem;line-height:1.2;margin-top:2px}details summary{cursor:pointer;min-height:44px;font-weight:700}

/* Mobile inputs remain readable without disabling pinch zoom. */
body[data-surface="team"] #bottom-nav {
  grid-template-columns: repeat(5, 1fr);
}
body[data-surface="team"] #bottom-nav button {
  font-size: 0.68rem;
}
.reviewed-heading {
  margin-top: 32px;
}
.field input,
.field select,
.field textarea,
input,
select,
textarea {
  font-size: 16px !important;
  line-height: 1.5;
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 54px !important;
}
.password-reveal {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #426452;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.password-reveal svg {
  width: 22px;
  height: 22px;
}
.text-action {
  display: block;
  border: 0;
  background: none;
  color: #00563f;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.875rem;
  padding: 12px 0;
  min-height: 44px;
  cursor: pointer;
}
.auth-help {
  margin: 12px 0;
  color: #52615b;
  font-size: 0.875rem;
}
.form-error {
  color: #873a21;
  font-size: 0.9rem;
  margin: 12px 0;
}
.form-error:empty {
  display: none;
}
#toast:not(:empty) {
  top: calc(12px + env(safe-area-inset-top));
  bottom: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 480px;
  box-shadow: 0 8px 30px #10281930;
  z-index: 1000;
  padding: 14px 14px 14px 18px;
}
#toast span {
  flex: 1;
}
.notice-close {
  background: transparent;
  color: inherit;
  border: 0;
  font-size: 24px;
  line-height: 1;
  width: 32px;
  min-height: 32px;
  flex: none;
  cursor: pointer;
}
.notification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.notification-row p {
  margin-top: 6px;
  font-size: 0.875rem;
  color: #617168;
}
.notification-toggle {
  flex: none;
  border: 0;
  background: #c5d1ca;
  width: 54px;
  height: 32px;
  border-radius: 30px;
  padding: 0;
  position: relative;
}
.notification-toggle:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: white;
  width: 24px;
  height: 24px;
  box-shadow: 0 1px 3px #0002;
}
.notification-toggle[aria-checked="true"] {
  background: #00563f;
}
.notification-toggle[aria-checked="true"]:after {
  left: 26px;
}
.driver-list-row {
  border: 1px solid #d6e0db;
  border-radius: 14px;
  padding: 18px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.driver-list-row h3 {
  margin-bottom: 5px;
}
.driver-list-row p {
  font-size: 0.85rem;
  color: #617168;
}
.driver-list-row button {
  flex: none;
}
.roster-tabs button {
  min-height: 46px;
}
.driver-dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: calc(100% - 28px);
  max-width: 520px;
  max-height: calc(100dvh - 40px);
  color: #101312;
  background: white;
  box-shadow: 0 20px 70px #0003;
}
.driver-dialog::backdrop {
  background: #10271dc0;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #e3eae6;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.dialog-close {
  border: 0;
  background: #edf3ef;
  color: #00563f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 26px;
}
.dialog-body {
  padding: 22px;
}
.driver-details {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin: 20px 0;
}
.driver-details dt {
  color: #617168;
  font-size: 0.875rem;
}
.driver-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.document-links {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.document-links a {
  overflow-wrap: anywhere;
  font-size: 0.875rem;
}
.dialog-notice {
  font-size: 0.9rem;
  color: #00563f;
  margin: 10px 0;
}
.screen-loader {
  min-height: 65dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.loader-mark {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -3px;
  color: #00563f;
}
.loader-ring {
  width: 34px;
  height: 34px;
  border: 3px solid #d9e8df;
  border-top-color: #00563f;
  border-radius: 50%;
  animation: loader-turn 0.8s linear infinite;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes loader-turn {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader-ring {
    animation: none;
    border-style: dotted;
  }
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  font-size: 0.9rem;
}
.consent-row input {
  width: 22px;
  min-height: 22px;
  flex: none;
  margin-top: 3px;
}
form h2 {
  margin: 28px 0 16px;
}
.driver-details {
  grid-template-columns: minmax(90px, 1fr) minmax(0, 1.5fr);
}
.address-results {
  display: grid;
  gap: 4px;
}
.address-results button {
  text-align: left;
  padding: 12px;
  border: 1px solid #d6e0db;
  background: white;
  border-radius: 8px;
  font-size: 16px;
  color: #143526;
}
.address-results img {
  width: 120px;
  height: auto;
  margin: 8px 0;
}
.address-results p {
  font-size: 0.8rem;
  color: #617168;
}
.required {
  color: #b53b1d;
  font-weight: 800;
}
.compact-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 12px;
}
.compact-tabs button {
  border: 1px solid #cfdcd5;
  background: white;
  color: #40564a;
  border-radius: 999px;
  padding: 8px 13px;
  text-transform: capitalize;
  white-space: nowrap;
}
.compact-tabs.small button {
  font-size: 0.75rem;
  padding: 6px 10px;
}
.compact-tabs button[aria-selected="true"] {
  background: #00563f;
  color: white;
  border-color: #00563f;
}
.compact-list {
  display: grid;
  border-top: 1px solid #dce6e1;
}
.compact-row {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  width: 100%;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid #dce6e1;
  background: white;
  color: #14251d;
  text-align: left;
}
.compact-row > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compact-row > span:not(.status-dot) {
  grid-column: 2/4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compact-row > small {
  grid-column: 2/3;
  color: #6b7c72;
}
.compact-view {
  grid-column: 3;
  grid-row: 1/4;
  min-height: 40px;
  padding: 8px 12px;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #87948d;
}
.status-dot.pending,
.status-dot.offered {
  background: #d59016;
}
.status-dot.accepted,
.status-dot.delivered {
  background: #07805c;
}
.status-dot.rejected,
.status-dot.failed {
  background: #ba442a;
}
.status-dot.expired,
.status-dot.withdrawn {
  background: #747b77;
}
.assigned-driver {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 10px;
  background: #edf5f0;
  margin-bottom: 12px;
}
.assigned-driver small {
  color: #697970;
}
.assigned-driver strong {
  font-size: 1.05rem;
}
.driver-dialog .job-card {
  border: 0;
  padding: 0;
  margin: 0;
}
.driver-dialog .job-card > h3 {
  display: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.photo-action {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}
.photo-help {
  margin-top: -4px;
}
.evidence-saved {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  padding: 10px;
  border: 1px solid #cfdcd5;
  border-radius: 14px;
  background: #f3f8f5;
}
.evidence-saved img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}
.evidence-saved div {
  display: grid;
  gap: 3px;
}
.evidence-saved span {
  color: #62746a;
  font-size: 0.84rem;
}
.evidence-saved .photo-action {
  grid-column: 1 / -1;
  min-height: 44px;
  margin: 0;
}
.field small {
  display: block;
  margin-top: 6px;
  color: #62746a;
  font-size: 0.78rem;
  line-height: 1.35;
}
