:root {
  --tallyk9-blue: #1246d8;
  --tallyk9-blue-dark: #0b2d91;
  --tallyk9-yellow: #ffd51f;
  --tallyk9-ink: #172033;
  --tallyk9-muted: #667085;
  --tallyk9-line: #d8deea;
  --tallyk9-bg: #f5f7fb;
  --tallyk9-danger: #b42318;
  --tallyk9-success: #067647;
}

.tallyk9-card,
.tallyk9-driver-shell,
.tallyk9-track-shell {
  box-sizing: border-box;
  color: var(--tallyk9-ink);
}

.tallyk9-card {
  max-width: 980px;
  margin: 24px auto;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--tallyk9-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(22, 34, 66, .08);
}

.tallyk9-card h2,
.tallyk9-card h3,
.tallyk9-driver-shell h2,
.tallyk9-driver-shell h3,
.tallyk9-driver-shell h4 {
  margin-top: 0;
  color: var(--tallyk9-ink);
}

.tallyk9-kicker {
  color: var(--tallyk9-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tallyk9-form label,
.tallyk9-form fieldset {
  display: block;
  margin: 0 0 18px;
  font-weight: 700;
}

.tallyk9-form label span,
.tallyk9-form legend span { color: var(--tallyk9-danger); }

.tallyk9-form input[type="text"],
.tallyk9-form input[type="email"],
.tallyk9-form input[type="tel"],
.tallyk9-form input[type="date"],
.tallyk9-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #b7c0d0;
  border-radius: 12px;
  background: #fff;
  color: var(--tallyk9-ink);
  font: inherit;
}

.tallyk9-form input:focus,
.tallyk9-form textarea:focus {
  border-color: var(--tallyk9-blue);
  box-shadow: 0 0 0 3px rgba(18,70,216,.13);
  outline: none;
}

.tallyk9-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tallyk9-form fieldset {
  padding: 12px 14px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 12px;
}

.tallyk9-form legend { padding: 0 6px; }

.tallyk9-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 !important;
  font-weight: 600 !important;
}

.tallyk9-check input { margin-top: 4px; }
.tallyk9-confirm { padding: 14px; background: #f7f9ff; border-radius: 12px; }
.tallyk9-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.tallyk9-address-field { position: relative; margin: 0 0 18px; }
.tallyk9-address-field > label { margin-bottom: 0; }
.tallyk9-address-suggestions {
  position: relative;
  z-index: 20;
  margin-top: 6px;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--tallyk9-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(22, 34, 66, .18);
}
.tallyk9-address-suggestions[hidden] { display: none !important; }
.tallyk9-address-option {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
  color: var(--tallyk9-ink);
  text-align: left;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.tallyk9-address-option:last-child { border-bottom: 0; }
.tallyk9-address-option:hover,
.tallyk9-address-option.is-active { background: #eef3ff; color: var(--tallyk9-blue-dark); }
.tallyk9-address-empty { padding: 14px; color: var(--tallyk9-muted); font-weight: 650; }
#tallyk9-address-help { margin: 7px 2px 0; }
#tallyk9-address-help[data-state="selected"] { color: var(--tallyk9-success); font-weight: 750; }
#tallyk9-address-help[data-state="working"] { color: var(--tallyk9-blue-dark); }
#tallyk9-address-help[data-state="error"] { color: var(--tallyk9-danger); font-weight: 700; }

.tallyk9-primary-button,
.tallyk9-danger-button,
.tallyk9-stop-actions button,
.tallyk9-track-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  text-decoration: none !important;
  font: inherit;
  font-weight: 800;
}

.tallyk9-primary-button {
  background: var(--tallyk9-blue);
  color: #fff !important;
}
.tallyk9-primary-button:hover { background: var(--tallyk9-blue-dark); }
.tallyk9-danger-button { background: var(--tallyk9-danger); color: #fff !important; }
.tallyk9-small { color: var(--tallyk9-muted); font-size: .9rem; }
.tallyk9-alert { margin: 18px 0; padding: 14px 16px; border-radius: 12px; }
.tallyk9-success { color: #05603a; background: #ecfdf3; border: 1px solid #abefc6; }
.tallyk9-error { color: #912018; background: #fef3f2; border: 1px solid #fecdca; }

.tallyk9-driver-shell {
  max-width: 1180px;
  margin: 20px auto;
  padding: 10px;
}

.tallyk9-driver-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--tallyk9-blue-dark), var(--tallyk9-blue));
  color: #fff;
}
.tallyk9-driver-header h2,
.tallyk9-driver-header p { color: #fff; margin-bottom: 0; }
.tallyk9-driver-header .tallyk9-kicker { color: var(--tallyk9-yellow); }

.tallyk9-gps-state {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}
.tallyk9-gps-state[data-state="live"] { background: #067647; }
.tallyk9-gps-state[data-state="error"] { background: #b42318; }
.tallyk9-gps-state[data-state="working"] { background: #b54708; }

.tallyk9-driver-warning {
  margin: 14px 0;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fff8db;
  border: 1px solid #f8dd75;
  color: #664d03;
  font-weight: 700;
}

.tallyk9-route-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tallyk9-route-controls .tallyk9-card { margin: 0; }
.tallyk9-route-state { color: var(--tallyk9-muted); }

.tallyk9-stop-list { display: grid; gap: 14px; }
.tallyk9-stop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: 18px;
  padding: 17px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 16px;
  background: var(--tallyk9-bg);
}
.tallyk9-stop h4 { margin-bottom: 6px; font-size: 1.18rem; }
.tallyk9-stop h4 small { color: var(--tallyk9-muted); font-size: .85em; font-weight: 600; }
.tallyk9-stop p { margin: 5px 0; }
.tallyk9-stop-status { margin-top: 10px; }
.tallyk9-stop-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.tallyk9-stop-actions button { min-height: 42px; padding: 9px 11px; background: #e8edff; color: var(--tallyk9-blue-dark); }
.tallyk9-stop-actions button.is-current { background: var(--tallyk9-blue); color: #fff; }
.tallyk9-track-link { grid-column: 1 / -1; min-height: 40px; background: #fff; border: 1px solid var(--tallyk9-line); color: var(--tallyk9-ink) !important; }

.tallyk9-track-shell { max-width: 820px; margin: 24px auto; }
.tallyk9-track-card { text-align: center; }
.tallyk9-track-dog { color: var(--tallyk9-muted); }
.tallyk9-big-status { margin: 20px 0 6px; font-size: clamp(1.55rem, 5vw, 2.5rem); font-weight: 900; color: var(--tallyk9-blue-dark); }
.tallyk9-map-wrap {
  position: relative;
  min-height: 340px;
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid var(--tallyk9-line);
  border-radius: 18px;
  background: #eef2f7;
}
.tallyk9-map-canvas { width: 100%; height: 340px; border: 0; }
.tallyk9-map-placeholder { display: flex; align-items: center; justify-content: center; min-height: 340px; padding: 24px; color: var(--tallyk9-muted); font-weight: 700; }
.tallyk9-map-canvas[hidden] { display: none; }
.tallyk9-map-wrap .leaflet-container { width: 100%; height: 340px; }
.tallyk9-map-placeholder[hidden],
.tallyk9-map-placeholder.is-hidden,
.tallyk9-map-canvas[hidden],
.tallyk9-map-canvas.is-hidden,
.tallyk9-route-summary[hidden] { display: none !important; }
.tallyk9-route-summary { margin: -8px 0 20px; font-weight: 800; color: var(--tallyk9-blue-dark); }
.tallyk9-bus-marker { filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }


.tallyk9-track-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tallyk9-track-details div { padding: 14px; border-radius: 12px; background: var(--tallyk9-bg); }
.tallyk9-track-details span { display: block; color: var(--tallyk9-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.tallyk9-track-details strong { display: block; margin-top: 4px; }
.tallyk9-privacy-note { margin-top: 18px; color: var(--tallyk9-muted); font-size: .86rem; }
#tallyk9-last-update.is-stale { color: var(--tallyk9-danger); font-weight: 800; }

.tallyk9-badge { display: inline-block; padding: 4px 8px; border-radius: 999px; font-weight: 700; background: #eef2f7; }
.status-approved, .status-active { background: #dcfae6; color: #05603a; }
.status-pending { background: #fef0c7; color: #93370d; }
.status-declined, .status-cancelled, .status-ended { background: #fee4e2; color: #912018; }
.tallyk9-table-scroll { overflow-x: auto; }
.tallyk9-bookings-table td { vertical-align: top; }
.tallyk9-filter-form { margin: 14px 0; display: flex; gap: 8px; align-items: end; }
.tallyk9-admin-note { margin-top: 22px; padding: 16px; background: #fff; border-left: 4px solid var(--tallyk9-blue); }


.tallyk9-driver-password-card { max-width: 520px; margin: 40px auto; }
.tallyk9-driver-password-form { display: grid; gap: 12px; margin-top: 18px; }
.tallyk9-driver-password-form label { font-weight: 800; }
.tallyk9-driver-password-form input[type="password"] { min-height: 48px; padding: 10px 12px; border: 1px solid var(--tallyk9-line); border-radius: 10px; font-size: 1rem; }
.tallyk9-driver-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.tallyk9-driver-header-actions form { margin: 0; }
.tallyk9-driver-lock-button { min-height: 40px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: transparent; color: #fff; font-weight: 800; cursor: pointer; }
.tallyk9-driver-lock-button:hover { background: rgba(255,255,255,.12); }

@media (max-width: 760px) {
  .tallyk9-grid-two,
  .tallyk9-route-controls,
  .tallyk9-stop,
  .tallyk9-track-details { grid-template-columns: 1fr; }
  .tallyk9-driver-header { flex-direction: column; }
  .tallyk9-gps-state { white-space: normal; }
  .tallyk9-stop-actions { grid-template-columns: 1fr 1fr; }
  .tallyk9-card { border-radius: 16px; padding: 18px; }
}

.tallyk9-route-summary {
  margin: -10px 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f4f7ff;
  color: var(--tallyk9-blue-dark);
  font-weight: 800;
  text-align: center;
}


/* DROOLBUS dispatch dashboard */
.tallyk9-dispatch-shell { max-width: 1240px; }
.tallyk9-dispatch-toolbar {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin: 16px auto;
  padding: 18px;
}
.tallyk9-dispatch-toolbar form {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  margin: 0;
}
.tallyk9-dispatch-toolbar label { display: grid; gap: 6px; font-weight: 800; }
.tallyk9-dispatch-toolbar input[type="date"] {
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 10px;
  font: inherit;
}
.tallyk9-dispatch-date-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 10px;
  background: #fff;
  color: var(--tallyk9-blue-dark) !important;
  font-weight: 800;
  text-decoration: none !important;
}
.tallyk9-dispatch-list { display: grid; gap: 18px; }
.tallyk9-dispatch-booking { max-width: none; margin: 0; border-left-width: 6px; }
.tallyk9-dispatch-booking.status-border-pending { border-left-color: #f79009; }
.tallyk9-dispatch-booking.status-border-approved { border-left-color: var(--tallyk9-success); }
.tallyk9-dispatch-booking.status-border-declined,
.tallyk9-dispatch-booking.status-border-cancelled { border-left-color: var(--tallyk9-danger); }
.tallyk9-dispatch-booking-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}
.tallyk9-dispatch-booking-head h3 small { color: var(--tallyk9-muted); font-size: .78em; }
.tallyk9-dispatch-booking-head .tallyk9-track-link { grid-column: auto; white-space: nowrap; }
.tallyk9-dispatch-info-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.tallyk9-dispatch-info-grid > div {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 14px;
  border-radius: 12px;
  background: var(--tallyk9-bg);
  overflow-wrap: anywhere;
}
.tallyk9-dispatch-info-grid span {
  color: var(--tallyk9-muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tallyk9-dispatch-info-grid small { color: var(--tallyk9-muted); }
.tallyk9-dispatch-notes {
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 11px;
  background: #fff8db;
  border: 1px solid #f8dd75;
}
.tallyk9-dispatch-form {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  gap: 12px;
  align-items: end;
  padding-top: 16px;
  border-top: 1px solid var(--tallyk9-line);
}
.tallyk9-dispatch-form > label:not(.tallyk9-check) {
  display: grid;
  gap: 7px;
  color: var(--tallyk9-ink);
  font-weight: 800;
}
.tallyk9-dispatch-form input[type="text"],
.tallyk9-dispatch-form select {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #b7c0d0;
  border-radius: 10px;
  background: #fff;
  color: var(--tallyk9-ink);
  font: inherit;
}
.tallyk9-dispatch-form .tallyk9-dispatch-notify { grid-column: 1 / span 2; margin: 0 !important; }
.tallyk9-dispatch-form > .tallyk9-primary-button { justify-self: end; min-width: 170px; }

@media (max-width: 860px) {
  .tallyk9-dispatch-toolbar,
  .tallyk9-dispatch-info-grid,
  .tallyk9-dispatch-form { grid-template-columns: 1fr; }
  .tallyk9-dispatch-toolbar form { align-items: stretch; flex-direction: column; }
  .tallyk9-dispatch-booking-head { flex-direction: column; }
  .tallyk9-dispatch-form .tallyk9-dispatch-notify { grid-column: auto; }
  .tallyk9-dispatch-form > .tallyk9-primary-button { justify-self: stretch; }
}

/* Address provider and requested-time controls */
.tallyk9-form select {
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #b7c0d0;
  border-radius: 12px;
  background: #fff;
  color: var(--tallyk9-ink);
  font: inherit;
}
.tallyk9-form select:focus {
  border-color: var(--tallyk9-blue);
  box-shadow: 0 0 0 3px rgba(18,70,216,.13);
  outline: none;
}
.tallyk9-form select:disabled {
  opacity: .55;
  background: #eef1f5;
}
.tallyk9-text-button {
  display: inline-block;
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tallyk9-blue-dark);
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}
.tallyk9-text-button[hidden] { display: none !important; }
.tallyk9-time-note { margin-top: -5px; margin-bottom: 18px; }

/* Custom Google address suggestions */
.tallyk9-address-option {
  display: block;
  width: 100%;
  text-align: left;
}
.tallyk9-address-main {
  display: block;
  font-weight: 800;
  color: var(--tallyk9-ink);
}
.tallyk9-address-secondary {
  display: block;
  margin-top: 2px;
  color: var(--tallyk9-muted);
  font-size: .86rem;
  font-weight: 600;
}
.tallyk9-google-attribution {
  margin: 5px 4px 0;
  text-align: right;
  color: #5f6368;
  font-size: .72rem;
  font-weight: 700;
}
.tallyk9-google-attribution[hidden] { display: none !important; }

/* Dispatch one-tap booking actions */
.tallyk9-dispatch-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-self: end;
}
.tallyk9-dispatch-action {
  min-height: 46px;
  padding: 9px 10px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.tallyk9-action-approve { background: #dcfae6; color: #05603a; }
.tallyk9-action-decline { background: #fee4e2; color: #912018; }
.tallyk9-action-pending { background: #fef0c7; color: #93370d; }
.tallyk9-action-cancel { background: #eef2f7; color: #344054; }
.tallyk9-dispatch-action.is-current {
  border-color: currentColor;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
.tallyk9-dispatch-action:disabled { opacity: .6; cursor: wait; }

@media (max-width: 620px) {
  .tallyk9-dispatch-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* DROOLBUS dispatch route optimizer */
.tallyk9-route-planner { max-width: none; margin: 18px 0; }
.tallyk9-route-planner-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.tallyk9-route-planner-head h3 { margin-bottom: 5px; }
.tallyk9-route-planner-head p { margin: 4px 0; }
.tallyk9-barn-key {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid #9bd6ae;
  border-radius: 12px;
  background: #e8f8ed;
  color: #0a4f25;
  white-space: nowrap;
}
.tallyk9-barn-key-icon { font-size: 1.35rem; filter: hue-rotate(70deg) saturate(1.4); }
.tallyk9-route-planner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tallyk9-route-plan-card { min-width: 0; padding: 16px; border: 1px solid var(--tallyk9-line); border-radius: 16px; background: var(--tallyk9-bg); }
.tallyk9-route-plan-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, auto) auto; gap: 10px; align-items: end; }
.tallyk9-route-plan-controls h4 { margin: 0 0 4px; font-size: 1.2rem; }
.tallyk9-route-plan-controls p { margin: 0; }
.tallyk9-route-plan-controls label { display: grid; gap: 5px; font-weight: 800; }
.tallyk9-route-plan-controls select {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #b7c0d0;
  border-radius: 10px;
  background: #fff;
  color: var(--tallyk9-ink);
  font: inherit;
}
.tallyk9-route-plan-status { min-height: 24px; margin: 12px 0; color: var(--tallyk9-muted); font-weight: 700; }
.tallyk9-route-plan-map { width: 100%; height: 320px; overflow: hidden; border: 1px solid var(--tallyk9-line); border-radius: 14px; background: #e9eef4; }
.tallyk9-route-plan-summary { margin: 12px 0; padding: 11px 13px; border-radius: 10px; background: #fff8db; border: 1px solid #f8dd75; }
.tallyk9-route-stop-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tallyk9-route-stop-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--tallyk9-line); border-radius: 11px; background: #fff; }
.tallyk9-route-stop-item.is-time-mismatch { border-color: #f79009; background: #fffaf0; }
.tallyk9-route-stop-number,
.tallyk9-numbered-stop { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffd400; border: 3px solid #183b63; color: #183b63; font-weight: 950; }
.tallyk9-route-stop-item strong,
.tallyk9-route-stop-item span,
.tallyk9-route-stop-item small { display: block; }
.tallyk9-route-stop-item span { margin-top: 2px; }
.tallyk9-route-stop-item small { margin-top: 4px; color: var(--tallyk9-muted); }
.tallyk9-numbered-stop-wrap,
.tallyk9-barn-leaflet-icon { background: transparent !important; border: 0 !important; }
.tallyk9-green-barn-marker { width: 48px; height: 48px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.3)); }
.tallyk9-green-barn-marker svg { display: block; width: 100%; height: 100%; }
.tallyk9-driver-route-order { display: flex; flex-wrap: wrap; gap: 6px; }
.tallyk9-driver-route-order span { padding: 4px 8px; border-radius: 999px; background: #fff8db; border: 1px solid #f8dd75; color: #664d03; font-size: .82rem; font-weight: 900; }

@media (max-width: 1050px) {
  .tallyk9-route-planner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .tallyk9-route-planner-head { flex-direction: column; }
  .tallyk9-route-plan-controls { grid-template-columns: 1fr; }
  .tallyk9-route-plan-controls .tallyk9-primary-button { width: 100%; }
  .tallyk9-route-plan-map { height: 290px; }
}


/* Full-screen DROOLBUS operations pages: remove the site's outer header/navigation. */
body.tallyk9-operations-page #wpadminbar,
body.tallyk9-operations-page #masthead,
body.tallyk9-operations-page .site-header,
body.tallyk9-operations-page .header-wrapper,
body.tallyk9-operations-page .main-header,
body.tallyk9-operations-page .elementor-location-header,
body.tallyk9-operations-page .wp-site-blocks > header,
body.tallyk9-operations-page > header,
body.tallyk9-operations-page #site-navigation,
body.tallyk9-operations-page .main-navigation,
body.tallyk9-operations-page .primary-navigation,
body.tallyk9-operations-page nav.wp-block-navigation,
body.tallyk9-operations-page .menu-primary-container,
body.tallyk9-operations-page article > .entry-header,
body.tallyk9-operations-page .entry-header:has(.entry-title),
body.tallyk9-operations-page .wp-block-post-title {
  display: none !important;
}

html:has(body.tallyk9-operations-page) { margin-top: 0 !important; }
body.tallyk9-operations-page,
body.tallyk9-operations-page .site,
body.tallyk9-operations-page .site-content,
body.tallyk9-operations-page .content-area,
body.tallyk9-operations-page main,
body.tallyk9-operations-page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.tallyk9-operations-page .tallyk9-driver-shell { margin-top: 0; }

/* Customer tracking uses the DROOLBUS card heading instead of the theme page title. */
body.tallyk9-tracking-page article > .entry-header,
body.tallyk9-tracking-page .entry-header:has(.entry-title),
body.tallyk9-tracking-page .wp-block-post-title,
body.tallyk9-tracking-page h1.entry-title,
body.tallyk9-tracking-page .page-title {
  display: none !important;
}


/* Keep the permanent home point highly visible without shrinking plugin content. */
.tallyk9-barn-leaflet-icon {
  z-index: 10000 !important;
}
.tallyk9-green-barn-marker {
  width: 64px;
  height: 64px;
  box-sizing: border-box;
  padding: 5px;
  border: 4px solid #0a4f25;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.42);
  filter: none;
}

/* Reduce only any theme-generated page-title strip above the plugin UI. */
body.tallyk9-operations-page .page-header,
body.tallyk9-operations-page .page-title-bar,
body.tallyk9-operations-page .page-header-wrap,
body.tallyk9-operations-page .page-title-section,
body.tallyk9-operations-page .titlebar,
body.tallyk9-tracking-page .page-header,
body.tallyk9-tracking-page .page-title-bar,
body.tallyk9-tracking-page .page-header-wrap,
body.tallyk9-tracking-page .page-title-section,
body.tallyk9-tracking-page .titlebar {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 10px !important;
}
body.tallyk9-operations-page .page-header h1,
body.tallyk9-operations-page .page-title-bar h1,
body.tallyk9-operations-page .page-header-wrap h1,
body.tallyk9-operations-page .page-title-section h1,
body.tallyk9-operations-page .titlebar h1,
body.tallyk9-tracking-page .page-header h1,
body.tallyk9-tracking-page .page-title-bar h1,
body.tallyk9-tracking-page .page-header-wrap h1,
body.tallyk9-tracking-page .page-title-section h1,
body.tallyk9-tracking-page .titlebar h1 {
  margin: 0 !important;
  font-size: .85rem !important;
  line-height: 1.05 !important;
}


/* Theme breadcrumb/page-title banner sizing requested for DROOLBUS pages.
   This deliberately changes only the outer theme banner, not plugin cards. */
body.tallyk9-tracking-page .tallyk9-theme-title-banner,
body.tallyk9-tracking-page .page-header,
body.tallyk9-tracking-page .page-title-bar,
body.tallyk9-tracking-page .page-header-wrap,
body.tallyk9-tracking-page .page-title-section,
body.tallyk9-tracking-page .titlebar,
body.tallyk9-tracking-page .page-banner,
body.tallyk9-tracking-page .breadcrumb-area {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
body.tallyk9-tracking-page .tallyk9-theme-title-banner h1,
body.tallyk9-tracking-page .page-header h1,
body.tallyk9-tracking-page .page-title-bar h1,
body.tallyk9-tracking-page .page-header-wrap h1,
body.tallyk9-tracking-page .page-title-section h1,
body.tallyk9-tracking-page .titlebar h1,
body.tallyk9-tracking-page .page-banner h1,
body.tallyk9-tracking-page .breadcrumb-area h1 {
  margin: 2px 0 0 !important;
  font-size: clamp(1.1rem, 4vw, 1.45rem) !important;
  line-height: 1.05 !important;
}
body.tallyk9-tracking-page .tallyk9-theme-title-banner .breadcrumb,
body.tallyk9-tracking-page .tallyk9-theme-title-banner .breadcrumbs,
body.tallyk9-tracking-page .tallyk9-theme-title-banner nav,
body.tallyk9-tracking-page .page-header .breadcrumb,
body.tallyk9-tracking-page .page-header .breadcrumbs,
body.tallyk9-tracking-page .page-title-bar .breadcrumb,
body.tallyk9-tracking-page .page-title-bar .breadcrumbs {
  margin: 0 !important;
  font-size: .68rem !important;
  line-height: 1.1 !important;
}

body.tallyk9-operations-page .tallyk9-theme-title-banner,
body.tallyk9-operations-page .page-header,
body.tallyk9-operations-page .page-title-bar,
body.tallyk9-operations-page .page-header-wrap,
body.tallyk9-operations-page .page-title-section,
body.tallyk9-operations-page .titlebar,
body.tallyk9-operations-page .page-banner,
body.tallyk9-operations-page .breadcrumb-area {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}
body.tallyk9-operations-page .tallyk9-theme-title-banner h1,
body.tallyk9-operations-page .page-header h1,
body.tallyk9-operations-page .page-title-bar h1,
body.tallyk9-operations-page .page-header-wrap h1,
body.tallyk9-operations-page .page-title-section h1,
body.tallyk9-operations-page .titlebar h1,
body.tallyk9-operations-page .page-banner h1,
body.tallyk9-operations-page .breadcrumb-area h1 {
  margin: 0 !important;
  font-size: .75rem !important;
  line-height: 1 !important;
}
body.tallyk9-operations-page .tallyk9-theme-title-banner .breadcrumb,
body.tallyk9-operations-page .tallyk9-theme-title-banner .breadcrumbs,
body.tallyk9-operations-page .tallyk9-theme-title-banner nav,
body.tallyk9-operations-page .page-header .breadcrumb,
body.tallyk9-operations-page .page-header .breadcrumbs,
body.tallyk9-operations-page .page-title-bar .breadcrumb,
body.tallyk9-operations-page .page-title-bar .breadcrumbs {
  margin: 0 !important;
  font-size: .54rem !important;
  line-height: 1 !important;
}

/* Dispatch global compact view */
.tallyk9-dispatch-booking-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tallyk9-dispatch-condensed-summary { display: none; }
.tallyk9-dispatch-booking.is-condensed {
  padding-top: 11px;
  padding-bottom: 11px;
}
.tallyk9-dispatch-booking.is-condensed .tallyk9-dispatch-booking-head,
.tallyk9-dispatch-booking.is-condensed .tallyk9-dispatch-info-grid,
.tallyk9-dispatch-booking.is-condensed .tallyk9-dispatch-notes,
.tallyk9-dispatch-booking.is-condensed .tallyk9-dispatch-form { display: none !important; }
.tallyk9-dispatch-booking.is-condensed .tallyk9-dispatch-condensed-summary {
  display: grid;
  grid-template-columns: minmax(130px, .9fr) minmax(110px, .7fr) minmax(260px, 2fr) minmax(130px, .8fr) minmax(140px, .9fr);
  gap: 8px 16px;
  align-items: center;
  color: var(--tallyk9-ink);
  font-size: .92rem;
}
.tallyk9-dispatch-booking.is-condensed .tallyk9-dispatch-condensed-summary span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tallyk9-dispatch-booking.is-condensed .tallyk9-dispatch-condensed-summary b { color: var(--tallyk9-blue-dark); }

/* Print-only chronological pickup list */
#tallyk9-print-sheet { display: none; }
@media print {
  @page { size: auto; margin: .28in; }
  html, body {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }
  body > *:not(#tallyk9-print-sheet) { display: none !important; }
  #tallyk9-print-sheet {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 8.5pt !important;
  }
  .tallyk9-print-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 7px !important;
    padding: 0 0 5px !important;
    border-bottom: 2px solid #111;
  }
  .tallyk9-print-header h1 { margin: 0 !important; font-size: 14pt !important; line-height: 1.1 !important; }
  .tallyk9-print-header p { margin: 0 !important; font-size: 9pt !important; }
  .tallyk9-print-pickup-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    page-break-inside: auto;
  }
  .tallyk9-print-pickup-table thead { display: table-header-group; }
  .tallyk9-print-pickup-table tr { page-break-inside: avoid; page-break-after: auto; }
  .tallyk9-print-pickup-table th,
  .tallyk9-print-pickup-table td {
    padding: 4px 5px !important;
    border: 1px solid #777 !important;
    text-align: left !important;
    vertical-align: top !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere;
    color: #111 !important;
    background: #fff !important;
  }
  .tallyk9-print-pickup-table th { font-weight: 800 !important; background: #eee !important; }
  .tallyk9-print-pickup-table th:nth-child(1),
  .tallyk9-print-pickup-table td:nth-child(1) { width: 22%; }
  .tallyk9-print-pickup-table th:nth-child(2),
  .tallyk9-print-pickup-table td:nth-child(2) { width: 43%; }
  .tallyk9-print-pickup-table th:nth-child(3),
  .tallyk9-print-pickup-table td:nth-child(3) { width: 17%; }
  .tallyk9-print-pickup-table th:nth-child(4),
  .tallyk9-print-pickup-table td:nth-child(4) { width: 18%; }
}

@media (max-width: 860px) {
  .tallyk9-dispatch-toolbar,
  .tallyk9-dispatch-info-grid,
  .tallyk9-dispatch-form { grid-template-columns: 1fr; }
  .tallyk9-dispatch-toolbar form { align-items: stretch; flex-direction: column; }
  .tallyk9-dispatch-booking-head { flex-direction: column; }
  .tallyk9-dispatch-form .tallyk9-dispatch-notify { grid-column: auto; }
  .tallyk9-dispatch-form > .tallyk9-primary-button { justify-self: stretch; }
}

/* Address provider and requested-time controls */
.tallyk9-form select {
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid #b7c0d0;
  border-radius: 12px;
  background: #fff;
  color: var(--tallyk9-ink);
  font: inherit;
}
.tallyk9-form select:focus {
  border-color: var(--tallyk9-blue);
  box-shadow: 0 0 0 3px rgba(18,70,216,.13);
  outline: none;
}
.tallyk9-form select:disabled {
  opacity: .55;
  background: #eef1f5;
}
.tallyk9-text-button {
  display: inline-block;
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tallyk9-blue-dark);
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}
.tallyk9-text-button[hidden] { display: none !important; }
.tallyk9-time-note { margin-top: -5px; margin-bottom: 18px; }

/* Custom Google address suggestions */
.tallyk9-address-option {
  display: block;
  width: 100%;
  text-align: left;
}
.tallyk9-address-main {
  display: block;
  font-weight: 800;
  color: var(--tallyk9-ink);
}
.tallyk9-address-secondary {
  display: block;
  margin-top: 2px;
  color: var(--tallyk9-muted);
  font-size: .86rem;
  font-weight: 600;
}
.tallyk9-google-attribution {
  margin: 5px 4px 0;
  text-align: right;
  color: #5f6368;
  font-size: .72rem;
  font-weight: 700;
}
.tallyk9-google-attribution[hidden] { display: none !important; }

/* Dispatch one-tap booking actions */
.tallyk9-dispatch-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-self: end;
}
.tallyk9-dispatch-action {
  min-height: 46px;
  padding: 9px 10px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.tallyk9-action-approve { background: #dcfae6; color: #05603a; }
.tallyk9-action-decline { background: #fee4e2; color: #912018; }
.tallyk9-action-pending { background: #fef0c7; color: #93370d; }
.tallyk9-action-cancel { background: #eef2f7; color: #344054; }
.tallyk9-dispatch-action.is-current {
  border-color: currentColor;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
.tallyk9-dispatch-action:disabled { opacity: .6; cursor: wait; }

@media (max-width: 620px) {
  .tallyk9-dispatch-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* DROOLBUS dispatch route optimizer */
.tallyk9-route-planner { max-width: none; margin: 18px 0; }
.tallyk9-route-planner-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.tallyk9-route-planner-head h3 { margin-bottom: 5px; }
.tallyk9-route-planner-head p { margin: 4px 0; }
.tallyk9-barn-key {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid #9bd6ae;
  border-radius: 12px;
  background: #e8f8ed;
  color: #0a4f25;
  white-space: nowrap;
}
.tallyk9-barn-key-icon { font-size: 1.35rem; filter: hue-rotate(70deg) saturate(1.4); }
.tallyk9-route-planner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tallyk9-route-plan-card { min-width: 0; padding: 16px; border: 1px solid var(--tallyk9-line); border-radius: 16px; background: var(--tallyk9-bg); }
.tallyk9-route-plan-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, auto) auto; gap: 10px; align-items: end; }
.tallyk9-route-plan-controls h4 { margin: 0 0 4px; font-size: 1.2rem; }
.tallyk9-route-plan-controls p { margin: 0; }
.tallyk9-route-plan-controls label { display: grid; gap: 5px; font-weight: 800; }
.tallyk9-route-plan-controls select {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #b7c0d0;
  border-radius: 10px;
  background: #fff;
  color: var(--tallyk9-ink);
  font: inherit;
}
.tallyk9-route-plan-status { min-height: 24px; margin: 12px 0; color: var(--tallyk9-muted); font-weight: 700; }
.tallyk9-route-plan-map { width: 100%; height: 320px; overflow: hidden; border: 1px solid var(--tallyk9-line); border-radius: 14px; background: #e9eef4; }
.tallyk9-route-plan-summary { margin: 12px 0; padding: 11px 13px; border-radius: 10px; background: #fff8db; border: 1px solid #f8dd75; }
.tallyk9-route-stop-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tallyk9-route-stop-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--tallyk9-line); border-radius: 11px; background: #fff; }
.tallyk9-route-stop-item.is-time-mismatch { border-color: #f79009; background: #fffaf0; }
.tallyk9-route-stop-number,
.tallyk9-numbered-stop { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffd400; border: 3px solid #183b63; color: #183b63; font-weight: 950; }
.tallyk9-route-stop-item strong,
.tallyk9-route-stop-item span,
.tallyk9-route-stop-item small { display: block; }
.tallyk9-route-stop-item span { margin-top: 2px; }
.tallyk9-route-stop-item small { margin-top: 4px; color: var(--tallyk9-muted); }
.tallyk9-numbered-stop-wrap,
.tallyk9-barn-leaflet-icon { background: transparent !important; border: 0 !important; }
.tallyk9-green-barn-marker { width: 48px; height: 48px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.3)); }
.tallyk9-green-barn-marker svg { display: block; width: 100%; height: 100%; }
.tallyk9-driver-route-order { display: flex; flex-wrap: wrap; gap: 6px; }
.tallyk9-driver-route-order span { padding: 4px 8px; border-radius: 999px; background: #fff8db; border: 1px solid #f8dd75; color: #664d03; font-size: .82rem; font-weight: 900; }

@media (max-width: 1050px) {
  .tallyk9-route-planner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .tallyk9-route-planner-head { flex-direction: column; }
  .tallyk9-route-plan-controls { grid-template-columns: 1fr; }
  .tallyk9-route-plan-controls .tallyk9-primary-button { width: 100%; }
  .tallyk9-route-plan-map { height: 290px; }
}


/* Full-screen DROOLBUS operations pages: remove the site's outer header/navigation. */
body.tallyk9-operations-page #wpadminbar,
body.tallyk9-operations-page #masthead,
body.tallyk9-operations-page .site-header,
body.tallyk9-operations-page .header-wrapper,
body.tallyk9-operations-page .main-header,
body.tallyk9-operations-page .elementor-location-header,
body.tallyk9-operations-page .wp-site-blocks > header,
body.tallyk9-operations-page > header,
body.tallyk9-operations-page #site-navigation,
body.tallyk9-operations-page .main-navigation,
body.tallyk9-operations-page .primary-navigation,
body.tallyk9-operations-page nav.wp-block-navigation,
body.tallyk9-operations-page .menu-primary-container,
body.tallyk9-operations-page article > .entry-header,
body.tallyk9-operations-page .entry-header:has(.entry-title),
body.tallyk9-operations-page .wp-block-post-title {
  display: none !important;
}

html:has(body.tallyk9-operations-page) { margin-top: 0 !important; }
body.tallyk9-operations-page,
body.tallyk9-operations-page .site,
body.tallyk9-operations-page .site-content,
body.tallyk9-operations-page .content-area,
body.tallyk9-operations-page main,
body.tallyk9-operations-page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.tallyk9-operations-page .tallyk9-driver-shell { margin-top: 0; }

/* Customer tracking uses the DROOLBUS card heading instead of the theme page title. */
body.tallyk9-tracking-page article > .entry-header,
body.tallyk9-tracking-page .entry-header:has(.entry-title),
body.tallyk9-tracking-page .wp-block-post-title,
body.tallyk9-tracking-page h1.entry-title,
body.tallyk9-tracking-page .page-title {
  display: none !important;
}


/* Keep the permanent home point highly visible without shrinking plugin content. */
.tallyk9-barn-leaflet-icon {
  z-index: 10000 !important;
}
.tallyk9-green-barn-marker {
  width: 64px;
  height: 64px;
  box-sizing: border-box;
  padding: 5px;
  border: 4px solid #0a4f25;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.42);
  filter: none;
}

/* Reduce only any theme-generated page-title strip above the plugin UI. */
body.tallyk9-operations-page .page-header,
body.tallyk9-operations-page .page-title-bar,
body.tallyk9-operations-page .page-header-wrap,
body.tallyk9-operations-page .page-title-section,
body.tallyk9-operations-page .titlebar,
body.tallyk9-tracking-page .page-header,
body.tallyk9-tracking-page .page-title-bar,
body.tallyk9-tracking-page .page-header-wrap,
body.tallyk9-tracking-page .page-title-section,
body.tallyk9-tracking-page .titlebar {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 10px !important;
}
body.tallyk9-operations-page .page-header h1,
body.tallyk9-operations-page .page-title-bar h1,
body.tallyk9-operations-page .page-header-wrap h1,
body.tallyk9-operations-page .page-title-section h1,
body.tallyk9-operations-page .titlebar h1,
body.tallyk9-tracking-page .page-header h1,
body.tallyk9-tracking-page .page-title-bar h1,
body.tallyk9-tracking-page .page-header-wrap h1,
body.tallyk9-tracking-page .page-title-section h1,
body.tallyk9-tracking-page .titlebar h1 {
  margin: 0 !important;
  font-size: .85rem !important;
  line-height: 1.05 !important;
}


/* Theme breadcrumb/page-title banner sizing requested for DROOLBUS pages.
   This deliberately changes only the outer theme banner, not plugin cards. */
body.tallyk9-tracking-page .tallyk9-theme-title-banner,
body.tallyk9-tracking-page .page-header,
body.tallyk9-tracking-page .page-title-bar,
body.tallyk9-tracking-page .page-header-wrap,
body.tallyk9-tracking-page .page-title-section,
body.tallyk9-tracking-page .titlebar,
body.tallyk9-tracking-page .page-banner,
body.tallyk9-tracking-page .breadcrumb-area {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
body.tallyk9-tracking-page .tallyk9-theme-title-banner h1,
body.tallyk9-tracking-page .page-header h1,
body.tallyk9-tracking-page .page-title-bar h1,
body.tallyk9-tracking-page .page-header-wrap h1,
body.tallyk9-tracking-page .page-title-section h1,
body.tallyk9-tracking-page .titlebar h1,
body.tallyk9-tracking-page .page-banner h1,
body.tallyk9-tracking-page .breadcrumb-area h1 {
  margin: 2px 0 0 !important;
  font-size: clamp(1.1rem, 4vw, 1.45rem) !important;
  line-height: 1.05 !important;
}
body.tallyk9-tracking-page .tallyk9-theme-title-banner .breadcrumb,
body.tallyk9-tracking-page .tallyk9-theme-title-banner .breadcrumbs,
body.tallyk9-tracking-page .tallyk9-theme-title-banner nav,
body.tallyk9-tracking-page .page-header .breadcrumb,
body.tallyk9-tracking-page .page-header .breadcrumbs,
body.tallyk9-tracking-page .page-title-bar .breadcrumb,
body.tallyk9-tracking-page .page-title-bar .breadcrumbs {
  margin: 0 !important;
  font-size: .68rem !important;
  line-height: 1.1 !important;
}

body.tallyk9-operations-page .tallyk9-theme-title-banner,
body.tallyk9-operations-page .page-header,
body.tallyk9-operations-page .page-title-bar,
body.tallyk9-operations-page .page-header-wrap,
body.tallyk9-operations-page .page-title-section,
body.tallyk9-operations-page .titlebar,
body.tallyk9-operations-page .page-banner,
body.tallyk9-operations-page .breadcrumb-area {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}
body.tallyk9-operations-page .tallyk9-theme-title-banner h1,
body.tallyk9-operations-page .page-header h1,
body.tallyk9-operations-page .page-title-bar h1,
body.tallyk9-operations-page .page-header-wrap h1,
body.tallyk9-operations-page .page-title-section h1,
body.tallyk9-operations-page .titlebar h1,
body.tallyk9-operations-page .page-banner h1,
body.tallyk9-operations-page .breadcrumb-area h1 {
  margin: 0 !important;
  font-size: .75rem !important;
  line-height: 1 !important;
}
body.tallyk9-operations-page .tallyk9-theme-title-banner .breadcrumb,
body.tallyk9-operations-page .tallyk9-theme-title-banner .breadcrumbs,
body.tallyk9-operations-page .tallyk9-theme-title-banner nav,
body.tallyk9-operations-page .page-header .breadcrumb,
body.tallyk9-operations-page .page-header .breadcrumbs,
body.tallyk9-operations-page .page-title-bar .breadcrumb,
body.tallyk9-operations-page .page-title-bar .breadcrumbs {
  margin: 0 !important;
  font-size: .54rem !important;
  line-height: 1 !important;
}

@media (max-width: 860px) {
  .tallyk9-dispatch-booking.is-condensed .tallyk9-dispatch-condensed-summary {
    grid-template-columns: 1fr 1fr;
  }
  .tallyk9-dispatch-booking.is-condensed .tallyk9-condensed-address { grid-column: 1 / -1; }
}

/* 60-day DROOLBUS availability calendars */
.tallyk9-service-date-picker,
.tallyk9-availability-manager {
  margin: 20px 0;
}
.tallyk9-service-date-picker {
  padding: 18px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 18px;
  background: var(--tallyk9-bg);
}
.tallyk9-service-date-picker-head,
.tallyk9-availability-manager-head,
.tallyk9-dispatch-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tallyk9-service-date-picker-head h3,
.tallyk9-availability-manager-head h3 { margin-bottom: 4px; }
.tallyk9-selected-service-date {
  margin: 0;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--tallyk9-blue-dark);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}
.tallyk9-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: .84rem;
  font-weight: 700;
}
.tallyk9-calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tallyk9-calendar-legend i {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 4px;
}
.tallyk9-calendar-legend i.is-available { background: #dcfae6; border-color: #75d59b; }
.tallyk9-calendar-legend i.is-full,
.tallyk9-calendar-legend i.is-unavailable { background: #e4e7ec; border-color: #98a2b3; }
.tallyk9-calendar-legend i.is-closed { background: #e4e7ec; border-color: #98a2b3; }
.tallyk9-availability-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.tallyk9-calendar-month {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 16px;
  background: #fff;
}
.tallyk9-calendar-month h4 {
  margin: 0 0 10px;
  text-align: center;
  color: var(--tallyk9-blue-dark);
}
.tallyk9-calendar-weekdays,
.tallyk9-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.tallyk9-calendar-weekdays { margin-bottom: 5px; }
.tallyk9-calendar-weekdays span {
  text-align: center;
  color: var(--tallyk9-muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.tallyk9-calendar-blank,
.tallyk9-calendar-filtered-blank { min-height: 50px; }
.tallyk9-calendar-day {
  min-width: 0;
  min-height: 54px;
  padding: 5px 2px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 9px;
  background: #fff;
  color: var(--tallyk9-ink);
  cursor: pointer;
  font: inherit;
  line-height: 1.05;
}
.tallyk9-calendar-day strong,
.tallyk9-calendar-day small { display: block; }
.tallyk9-calendar-day strong { font-size: .95rem; }
.tallyk9-calendar-day small { margin-top: 4px; font-size: .6rem; font-weight: 700; }
.tallyk9-calendar-day.is-available { background: #dcfae6; border-color: #75d59b; color: #05603a; }
.tallyk9-calendar-day.is-full,
.tallyk9-calendar-day.is-unavailable { background: #e4e7ec; border-color: #98a2b3; color: #475467; }
.tallyk9-calendar-day.is-closed { background: #e4e7ec; border-color: #98a2b3; color: #344054; }
.tallyk9-signup-card .tallyk9-calendar-day:disabled {
  cursor: not-allowed;
  opacity: .72;
}
.tallyk9-calendar-day.is-selected {
  outline: 3px solid var(--tallyk9-blue);
  outline-offset: 1px;
  box-shadow: 0 0 0 2px #fff inset;
}
.tallyk9-calendar-day:focus-visible {
  outline: 3px solid var(--tallyk9-blue);
  outline-offset: 1px;
}
.tallyk9-availability-editor {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(190px, 1fr) minmax(190px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: var(--tallyk9-bg);
}
.tallyk9-availability-editor label {
  display: grid;
  gap: 6px;
  margin: 0;
  font-weight: 800;
}
.tallyk9-availability-editor input[type="date"],
.tallyk9-availability-editor input[type="number"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 11px;
  border: 1px solid #b7c0d0;
  border-radius: 10px;
  background: #fff;
  color: var(--tallyk9-ink);
  font: inherit;
}
.tallyk9-availability-editor .tallyk9-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
}
.tallyk9-availability-editor #tallyk9-availability-status {
  grid-column: 1 / -1;
  margin: 0;
}
.tallyk9-dispatch-list-toolbar {
  max-width: 1240px;
  margin: 18px auto 10px;
  padding: 0 2px;
  justify-content: flex-start;
}

@media (max-width: 760px) {
  .tallyk9-service-date-picker-head,
  .tallyk9-availability-manager-head,
  .tallyk9-dispatch-list-toolbar { align-items: stretch; flex-direction: column; }
  .tallyk9-selected-service-date { white-space: normal; }
  .tallyk9-availability-calendar { grid-template-columns: 1fr; }
  .tallyk9-availability-editor { grid-template-columns: 1fr; }
  .tallyk9-availability-editor #tallyk9-availability-status { grid-column: auto; }
}

/* Multi-date calendar selections */
.tallyk9-selected-service-date {
  max-width: min(100%, 620px);
  white-space: normal;
  text-align: right;
  line-height: 1.35;
}
.tallyk9-availability-selected-wrap {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.tallyk9-availability-selected-summary {
  min-height: 44px;
  max-height: 110px;
  overflow: auto;
  box-sizing: border-box;
  padding: 10px 11px;
  border: 1px solid #b7c0d0;
  border-radius: 10px;
  background: #fff;
  color: var(--tallyk9-ink);
  font-weight: 700;
  line-height: 1.35;
}
@media (max-width: 760px) {
  .tallyk9-selected-service-date { max-width: 100%; text-align: left; }
}


/* Calendar collapse controls and dispatch bulk estimate save */
.tallyk9-calendar-head-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}
.tallyk9-calendar-collapse-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0 !important;
  border: 1px solid var(--tallyk9-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--tallyk9-blue-dark) !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer;
}
.tallyk9-calendar-collapse-button:hover,
.tallyk9-calendar-collapse-button:focus-visible {
  background: var(--tallyk9-bg) !important;
  border-color: var(--tallyk9-blue) !important;
}
[data-calendar-panel][hidden] { display: none !important; }
.tallyk9-dispatch-list-actions,
.tallyk9-dispatch-list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tallyk9-dispatch-list-meta { justify-content: flex-end; }
[data-save-all-status]:not(:empty) {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--tallyk9-bg);
  font-weight: 800;
}
@media (max-width: 760px) {
  .tallyk9-service-date-picker-head,
  .tallyk9-availability-manager-head { align-items: flex-start; }
  .tallyk9-calendar-head-actions { width: 100%; justify-content: space-between; }
  .tallyk9-calendar-head-actions .tallyk9-calendar-legend { flex: 1; }
  .tallyk9-dispatch-list-toolbar,
  .tallyk9-dispatch-list-actions,
  .tallyk9-dispatch-list-meta { align-items: stretch; }
  .tallyk9-dispatch-list-actions { width: 100%; }
  .tallyk9-dispatch-list-actions button { flex: 1 1 180px; }
  .tallyk9-dispatch-list-meta { width: 100%; justify-content: flex-start; }
}

/* Public bus stop booking mode */
.tallyk9-stop-type-picker {
  margin: 18px 0;
  padding: 0;
  border: 0;
}
.tallyk9-stop-type-picker legend { margin-bottom: 10px; font-weight: 900; }
.tallyk9-stop-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tallyk9-stop-type-option {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 26px;
  gap: 12px;
  align-items: center;
  min-height: 108px;
  padding: 16px 15px;
  border: 2px solid var(--tallyk9-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  color: var(--tallyk9-ink);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}
.tallyk9-stop-type-option:hover { transform: translateY(-1px); border-color: #98a2b3; }
.tallyk9-stop-type-option input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.tallyk9-stop-type-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef2ff;
  font-size: 1.65rem;
  line-height: 1;
}
.tallyk9-stop-type-copy { display: grid; gap: 5px; min-width: 0; }
.tallyk9-stop-type-copy strong { font-size: 1.02rem; line-height: 1.2; color: var(--tallyk9-blue-dark); }
.tallyk9-stop-type-copy small { color: var(--tallyk9-muted); line-height: 1.38; }
.tallyk9-stop-type-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #cfd4dc;
  border-radius: 999px;
  color: transparent;
  font-size: .82rem;
  font-weight: 900;
}
.tallyk9-stop-type-option:has(input:checked) {
  border-color: var(--tallyk9-blue);
  background: linear-gradient(180deg, #f7f9ff 0%, #edf2ff 100%);
  box-shadow: 0 0 0 4px rgba(37, 83, 235, .12);
}
.tallyk9-stop-type-option:has(input:checked) .tallyk9-stop-type-icon { background: #dfe7ff; }
.tallyk9-stop-type-option:has(input:checked) .tallyk9-stop-type-check {
  border-color: var(--tallyk9-blue);
  background: var(--tallyk9-blue);
  color: #fff;
}
.tallyk9-stop-type-option:focus-within { outline: 3px solid rgba(37, 83, 235, .24); outline-offset: 2px; }
.tallyk9-home-stop-fields[hidden],
.tallyk9-requested-times[hidden],
.tallyk9-public-stop-section[hidden] { display: none !important; }
.tallyk9-public-stop-section {
  margin: 18px 0;
  padding: 18px;
  border: 2px solid #e2b200;
  border-radius: 16px;
  background: #fffbea;
}
.tallyk9-public-stop-section h3 { margin-top: 0; }
#tallyk9-public-stop-choices { display: grid; gap: 12px; }
.tallyk9-public-stop-choice { display: grid; gap: 6px; }
.tallyk9-public-stop-choice select { width: 100%; }
.tallyk9-calendar-legend i.is-public { background: #fff0a8; border-color: #e2b200; }
.tallyk9-calendar-day.is-public { background: #fff0a8; border-color: #e2b200; color: #6b5000; }
.tallyk9-calendar-day.is-no-public { background: #f2f4f7; border-color: #d0d5dd; color: #667085; }
.tallyk9-stop-type-badge.is-public { background: #fff0a8; color: #6b5000; }
.tallyk9-stop-type-badge.is-home { background: #dcfae6; color: #05603a; }

.tallyk9-public-stop-manager {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--tallyk9-line);
}
.tallyk9-public-stop-manager-head { margin-bottom: 12px; }
.tallyk9-public-stop-manager-head p { margin: 4px 0 0; }
.tallyk9-public-stop-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tallyk9-public-stop-row {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2b200;
  border-radius: 12px;
  background: #fffbea;
}
.tallyk9-public-stop-row legend { padding: 0 5px; font-weight: 900; color: #6b5000; }
.tallyk9-public-stop-row label { display: grid; gap: 5px; margin-bottom: 9px; font-size: .82rem; font-weight: 800; }
.tallyk9-public-stop-row input { width: 100%; min-width: 0; }
.tallyk9-public-stop-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.tallyk9-public-stop-actions .tallyk9-small[data-state="error"] { color: var(--tallyk9-danger); font-weight: 800; }
.tallyk9-public-stop-actions .tallyk9-small[data-state="saved"] { color: var(--tallyk9-success); font-weight: 800; }


.tallyk9-stop-type-icon-image {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.tallyk9-public-stop-choice {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e2b200;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}
.tallyk9-public-stop-choice.is-map-active {
  border-color: #1c7c3c;
  box-shadow: 0 0 0 3px rgba(28,124,60,.10);
}
.tallyk9-public-stop-choice-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.tallyk9-secondary-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--tallyk9-blue);
  font-weight: 800;
  cursor: pointer;
}
.tallyk9-public-stop-map-wrap[hidden] { display: none !important; }
.tallyk9-public-stop-map-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(107,80,0,.18);
}
.tallyk9-public-stop-map-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 10px;
}
.tallyk9-public-stop-map {
  width: 100%;
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d8deea;
  background: #eef5ff;
}
.tallyk9-public-stop-map-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.tallyk9-public-stop-card {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d8deea;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15,23,42,.05);
}
.tallyk9-public-stop-card.is-selected {
  border-color: #1c7c3c;
  box-shadow: 0 0 0 3px rgba(28,124,60,.12);
}
.tallyk9-public-stop-card-icon img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.tallyk9-public-stop-card-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.tallyk9-public-stop-card-copy strong { color: var(--tallyk9-blue-dark); }
.tallyk9-public-stop-card-copy small { color: var(--tallyk9-muted); line-height: 1.35; }
.tallyk9-public-stop-card-copy small span { color: var(--tallyk9-ink); font-weight: 800; }

@media (max-width: 900px) {
  .tallyk9-public-stop-editor { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .tallyk9-stop-type-options { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .tallyk9-stop-type-options { grid-template-columns: 1fr; }
  .tallyk9-stop-type-option { min-height: 96px; }
}

@media (max-width: 900px) { .tallyk9-public-stop-map-list { grid-template-columns: 1fr; } }


/* Public-stop signup map, inspired by the approved DROOLBUS mockup. */
.tallyk9-stop-type-public { grid-template-columns: 72px minmax(0, 1fr) 26px; }
.tallyk9-stop-type-public .tallyk9-stop-type-icon {
  width: 68px;
  height: 58px;
  padding: 2px;
  background: #fff5bd;
}
.tallyk9-stop-type-public .tallyk9-stop-type-icon-image-bus {
  width: 64px;
  height: 52px;
}
.tallyk9-public-stop-map-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 24px;
  border: 1px dashed #d5ad18;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: #6b5000;
  text-align: center;
  font-weight: 800;
}
.tallyk9-public-stop-map-placeholder[hidden],
.tallyk9-public-stop-map[hidden] { display: none !important; }
.tallyk9-public-stop-map-head > div { display: grid; gap: 3px; }
.tallyk9-public-stop-map-info,
.tallyk9-public-stop-card-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  text-align: left;
}
.tallyk9-public-stop-map-info strong,
.tallyk9-public-stop-card-copy strong { color: #125a2a; line-height: 1.18; }
.tallyk9-public-stop-map-info small,
.tallyk9-public-stop-card-copy small { display: block; color: #475467; line-height: 1.3; }
.tallyk9-public-stop-map-info small span,
.tallyk9-public-stop-card-copy small span { color: #101828; font-weight: 900; }
.tallyk9-public-stop-card {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.tallyk9-public-stop-card:hover { border-color: #1c7c3c; transform: translateY(-1px); }
.tallyk9-public-stop-tooltip {
  border: 1px solid #cfd7d2 !important;
  border-radius: 10px !important;
  box-shadow: 0 7px 18px rgba(15,23,42,.16) !important;
  padding: 7px 9px !important;
  background: rgba(255,255,255,.97) !important;
}
.tallyk9-public-stop-tooltip::before { border-top-color: #fff !important; }
.tallyk9-public-stop-tooltip .tallyk9-public-stop-map-info { min-width: 145px; max-width: 190px; }
.tallyk9-public-stop-popup .leaflet-popup-content { margin: 10px 12px; }
.tallyk9-public-stop-marker-icon { filter: drop-shadow(0 3px 2px rgba(0,0,0,.24)); }

@media (max-width: 620px) {
  .tallyk9-stop-type-public { grid-template-columns: 66px minmax(0, 1fr) 26px; }
  .tallyk9-stop-type-public .tallyk9-stop-type-icon { width: 62px; height: 54px; }
  .tallyk9-stop-type-public .tallyk9-stop-type-icon-image-bus { width: 58px; height: 48px; }
  .tallyk9-public-stop-map { min-height: 280px; }
}

/* Date-driven Home/Public booking modes */
.tallyk9-calendar-mode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tallyk9-calendar-mode-actions button,
.tallyk9-calendar-mode-actions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tallyk9-ink);
  font-weight: 800;
  line-height: 1.1;
}
.tallyk9-calendar-mode-actions button {
  cursor: pointer;
}
.tallyk9-calendar-mode-actions button:hover:not(:disabled),
.tallyk9-calendar-mode-actions button.is-current {
  border-color: var(--tallyk9-blue);
  box-shadow: 0 0 0 3px rgba(37, 82, 180, .12);
}
.tallyk9-calendar-mode-actions button:disabled {
  cursor: not-allowed;
  opacity: .48;
}
.tallyk9-booking-mode-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 12px;
  padding: 14px 16px;
  border: 1px solid #75d59b;
  border-radius: 14px;
  background: #effcf4;
  color: #05603a;
}
.tallyk9-booking-mode-notice.is-public {
  border-color: #f1cb43;
  background: #fff9d9;
  color: #6b5000;
}
.tallyk9-booking-mode-notice strong,
.tallyk9-booking-mode-notice span { display: block; }
.tallyk9-booking-mode-notice span { font-size: .9rem; font-weight: 600; }
.tallyk9-calendar-day.service-public.is-available small::before {
  content: '🚌 ';
}
.tallyk9-calendar-day.service-home.is-available small::before {
  content: '⌂ ';
}
@media (max-width: 640px) {
  .tallyk9-booking-mode-notice { align-items: flex-start; flex-direction: column; }
  .tallyk9-calendar-mode-actions button,
  .tallyk9-calendar-mode-actions span { font-size: .8rem; padding: 6px 9px; }
}


/* Simplified customer availability: full green day cells or gray unavailable day cells. */
.tallyk9-signup-card .tallyk9-calendar-day {
  width: 100%;
  height: 100%;
  min-height: 58px;
}
.tallyk9-signup-card .tallyk9-calendar-day.is-unavailable {
  background: #e4e7ec;
  border-color: #98a2b3;
  color: #667085;
  opacity: 1;
}
.tallyk9-signup-card .tallyk9-calendar-day.is-available {
  background: #dcfae6;
  border-color: #75d59b;
  color: #05603a;
}


/* Wider customer calendar with all dates visible. Unavailable dates use a small red X. */
.tallyk9-signup-card .tallyk9-service-date-picker {
  padding: 14px 9px;
}
.tallyk9-signup-card .tallyk9-availability-calendar {
  gap: 12px;
  margin-top: 12px;
}
.tallyk9-signup-card .tallyk9-calendar-month {
  padding: 10px 8px;
}
.tallyk9-signup-card .tallyk9-calendar-weekdays,
.tallyk9-signup-card .tallyk9-calendar-grid {
  gap: 4px;
}
.tallyk9-signup-card .tallyk9-calendar-day:disabled {
  opacity: 1;
}
.tallyk9-signup-card .tallyk9-calendar-day.is-unavailable {
  background: #eaecf0;
  border-color: #c7cdd6;
  color: #667085;
}
.tallyk9-signup-card .tallyk9-calendar-day .tallyk9-unavailable-x {
  margin-top: 3px;
  color: #d92d20;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}
.tallyk9-calendar-legend i.is-unavailable {
  position: relative;
}
.tallyk9-calendar-legend i.is-unavailable::after {
  content: '×';
  position: absolute;
  inset: -3px 0 0;
  color: #d92d20;
  font-size: .9rem;
  font-style: normal;
  font-weight: 900;
  line-height: 13px;
  text-align: center;
}
@media (min-width: 900px) {
  .tallyk9-signup-card {
    max-width: 1180px;
  }
  .tallyk9-signup-card .tallyk9-service-date-picker {
    padding: 22px 20px;
    border-radius: 18px;
  }
  .tallyk9-signup-card .tallyk9-availability-calendar {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    margin-top: 18px;
  }
  .tallyk9-signup-card .tallyk9-calendar-month {
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(22, 34, 66, .07);
  }
  .tallyk9-signup-card .tallyk9-calendar-month h4 {
    margin-bottom: 14px;
    font-size: 1.18rem;
  }
  .tallyk9-signup-card .tallyk9-calendar-weekdays,
  .tallyk9-signup-card .tallyk9-calendar-grid {
    gap: 7px;
  }
  .tallyk9-signup-card .tallyk9-calendar-weekdays span {
    font-size: .75rem;
  }
  .tallyk9-signup-card .tallyk9-calendar-day {
    min-height: 74px;
    padding: 8px 3px;
    border-radius: 11px;
  }
  .tallyk9-signup-card .tallyk9-calendar-day strong {
    font-size: 1.08rem;
  }
  .tallyk9-signup-card .tallyk9-calendar-day small {
    margin-top: 6px;
    font-size: .68rem;
    line-height: 1.15;
  }
}

@media (max-width: 640px) {
  .tallyk9-signup-card {
    padding-left: 12px;
    padding-right: 12px;
  }
  .tallyk9-signup-card .tallyk9-service-date-picker {
    margin-left: -4px;
    margin-right: -4px;
    padding: 11px 5px;
  }
  .tallyk9-signup-card .tallyk9-calendar-month {
    padding: 9px 4px;
  }
  .tallyk9-signup-card .tallyk9-calendar-weekdays,
  .tallyk9-signup-card .tallyk9-calendar-grid {
    gap: 3px;
  }
  .tallyk9-signup-card .tallyk9-calendar-day {
    min-height: 60px;
    padding-left: 1px;
    padding-right: 1px;
  }
  .tallyk9-signup-card .tallyk9-calendar-day small {
    font-size: .57rem;
  }
}


/* Android-safe Google address suggestion overlay. The panel is moved to the
   document body by tallyk9-signup.js so theme overflow and the virtual keyboard
   cannot clip it. */
body > .tallyk9-address-suggestions {
  position: fixed !important;
  inset: auto !important;
  z-index: 2147483000 !important;
  margin: 0 !important;
  min-width: 0;
  max-width: calc(100vw - 16px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: #fff !important;
  color: #172033 !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.28) !important;
}
body > .tallyk9-address-suggestions .tallyk9-address-option {
  min-height: 50px;
  color: #172033 !important;
  background: #fff !important;
  -webkit-tap-highlight-color: rgba(18,70,216,.12);
}
body > .tallyk9-address-suggestions .tallyk9-address-option:active,
body > .tallyk9-address-suggestions .tallyk9-address-option.is-active {
  background: #eef3ff !important;
  color: #0b2d91 !important;
}
body > .tallyk9-address-suggestions .tallyk9-address-main,
body > .tallyk9-address-suggestions .tallyk9-address-secondary {
  display: block;
  color: inherit !important;
}
body > .tallyk9-address-suggestions .tallyk9-address-secondary {
  margin-top: 3px;
  font-size: .86em;
  font-weight: 500;
  color: #667085 !important;
}
@media (max-width: 760px) {
  body > .tallyk9-address-suggestions {
    border-radius: 14px;
    font-size: 16px;
  }
  body > .tallyk9-address-suggestions .tallyk9-address-option {
    padding: 13px 14px !important;
  }
}


/* Cross-platform Google address widget. Uses Google's official mobile-optimized
   PlaceAutocompleteElement and forces a readable light appearance regardless
   of the visitor's phone or website color scheme. */
.tallyk9-google-address-widget {
  width: 100%;
  min-height: 52px;
  position: relative;
  z-index: 100;
  color-scheme: light !important;
}
.tallyk9-google-address-widget[hidden] { display: none !important; }
.tallyk9-google-address-widget gmp-place-autocomplete,
.tallyk9-google-address-widget #tallyk9-google-place-autocomplete {
  display: block;
  width: 100%;
  min-height: 52px;
  color-scheme: light !important;
  font-family: inherit !important;
  --gmp-mat-color-surface: #ffffff;
  --gmp-mat-color-on-surface: #172033;
  --gmp-mat-color-on-surface-variant: #475467;
  --gmp-mat-color-outline: #cfd5e1;
  --gmp-mat-color-outline-decorative: #cfd5e1;
  --gmp-mat-color-primary: #1246d8;
  --gmp-mat-color-secondary-container: #eef3ff;
  --gmp-mat-font-body-medium: 16px/1.35 inherit;
  --gmp-mat-font-body-small: 14px/1.35 inherit;
}
.tallyk9-address-manual-toggle {
  appearance: none;
  display: inline-block;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: var(--tallyk9-blue-dark) !important;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}
.tallyk9-address-manual-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 9px;
}
.tallyk9-address-manual-wrap[hidden] { display: none !important; }
.tallyk9-address-manual-wrap input { min-width: 0; }
.tallyk9-address-manual-wrap .tallyk9-secondary-button {
  min-height: 48px;
  white-space: nowrap;
}
.tallyk9-selected-address {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #a6e5b8;
  border-radius: 10px;
  background: #ecfdf3;
  color: #05603a;
}
.tallyk9-selected-address[hidden] { display: none !important; }
.tallyk9-selected-address strong,
.tallyk9-selected-address span { display: block; color: inherit !important; }
.tallyk9-selected-address span { margin-top: 2px; font-size: .92rem; }
@media (max-width: 600px) {
  .tallyk9-google-address-widget,
  .tallyk9-google-address-widget gmp-place-autocomplete,
  .tallyk9-google-address-widget #tallyk9-google-place-autocomplete { min-height: 56px; }
  .tallyk9-address-manual-wrap { grid-template-columns: 1fr; }
  .tallyk9-address-manual-wrap .tallyk9-secondary-button { width: 100%; }
}

/* Anchored Google address suggestions. The results panel is appended to <body>
   and positioned beside the field so mobile browsers do not jump to the top. */
.tallyk9-google-address-input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #cfd5e1;
  border-radius: 10px;
  background: #fff !important;
  color: #172033 !important;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  color-scheme: light !important;
  -webkit-text-fill-color: #172033;
  box-sizing: border-box;
}
.tallyk9-google-address-input:focus {
  outline: 3px solid rgba(18,70,216,.16);
  border-color: #1246d8;
}
.tallyk9-floating-address-suggestions {
  position: absolute;
  z-index: 2147483647;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #cfd5e1;
  border-radius: 12px;
  background: #fff;
  color: #172033;
  box-shadow: 0 12px 30px rgba(16,24,40,.22);
  color-scheme: light !important;
  box-sizing: border-box;
  padding: 2px 0;
  scrollbar-gutter: stable;
}
.tallyk9-floating-address-suggestions[hidden] { display: none !important; }
.tallyk9-floating-address-suggestions[data-position="above"] { transform-origin: bottom center; }
.tallyk9-floating-address-suggestions[data-position="below"] { transform-origin: top center; }
.tallyk9-floating-address-option {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  min-height: 58px;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #eaecf0;
  border-radius: 0;
  background: #fff !important;
  color: #172033 !important;
  text-align: left;
  font: inherit;
  cursor: pointer;
  touch-action: pan-y;
  box-sizing: border-box;
  overflow: visible;
  white-space: normal;
  -webkit-tap-highlight-color: rgba(18,70,216,.10);
}
.tallyk9-floating-address-option:hover,
.tallyk9-floating-address-option:focus {
  background: #eef3ff !important;
  outline: none;
}
.tallyk9-floating-address-option strong,
.tallyk9-floating-address-option small {
  display: block;
  color: inherit !important;
}
.tallyk9-floating-address-option strong { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; word-break: normal; }
.tallyk9-floating-address-option small { margin-top: 4px; color: #667085 !important; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; word-break: normal; }
.tallyk9-address-no-results {
  padding: 13px 14px;
  color: #475467;
  font-size: 14px;
  line-height: 1.35;
}
.tallyk9-address-google-attribution {
  padding: 7px 12px;
  background: #f8fafc;
  color: #667085;
  font-size: 11px;
  text-align: right;
}
@media (max-width: 600px) {
  .tallyk9-google-address-input { min-height: 56px; font-size: 16px; }
  .tallyk9-floating-address-suggestions { border-radius: 10px; }
  .tallyk9-floating-address-option { min-height: 64px; padding: 15px 16px; }
  .tallyk9-floating-address-option strong { font-size: 16px; }
  .tallyk9-floating-address-option small { font-size: 14px; }
}

/* Optional closest public-stop finder. */
.tallyk9-closest-stop-tool {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 13px;
  border: 1px solid #d7dfec;
  border-radius: 14px;
  background: #f8fbff;
}
.tallyk9-closest-stop-tool > div:first-child {
  display: grid;
  gap: 3px;
}
.tallyk9-closest-stop-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}
.tallyk9-closest-stop-controls input {
  width: 100%;
  min-height: 46px;
}
#tallyk9-closest-stop-status {
  margin: 0;
}
#tallyk9-closest-stop-status[data-state="working"] { color: #b54708; font-weight: 800; }
#tallyk9-closest-stop-status[data-state="selected"] { color: #05603a; font-weight: 800; }
#tallyk9-closest-stop-status[data-state="error"] { color: #b42318; font-weight: 800; }
.tallyk9-closest-rank-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff1a8;
  color: #654a00;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.1;
}
.tallyk9-closest-rank-badge.rank-1 {
  background: #dcfae6;
  color: #05603a;
}
.tallyk9-stop-rank-line {
  color: #175cd3 !important;
  font-weight: 800;
}
.tallyk9-public-stop-card.is-selected {
  position: relative;
}
.tallyk9-public-stop-card.is-selected::after {
  content: "Selected";
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #1c7c3c;
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
}

@media (max-width: 620px) {
  .tallyk9-closest-stop-controls { grid-template-columns: 1fr; }
  .tallyk9-closest-stop-controls button { width: 100%; }
}

/* Client profile and prepaid-credit booking gate. */
.tallyk9-credit-gate {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.tallyk9-credit-create-account {
  margin-top: 13px;
  color: var(--tallyk9-muted);
  font-size: .86rem;
  font-weight: 650;
}
.tallyk9-credit-create-account a {
  margin-left: 3px;
  color: var(--tallyk9-blue-dark) !important;
  font-weight: 850;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.tallyk9-credit-create-account a:hover,
.tallyk9-credit-create-account a:focus-visible {
  color: #c59d00 !important;
}
.tallyk9-credit-gate-actions,
.tallyk9-credit-empty > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.tallyk9-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 2px solid var(--tallyk9-blue-dark);
  border-radius: 11px;
  background: #fff;
  color: var(--tallyk9-blue-dark) !important;
  font: inherit;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none !important;
  cursor: pointer;
}
.tallyk9-secondary-button:hover {
  background: #eef3ff;
}
.tallyk9-credit-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.tallyk9-credit-summary > div {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 96px;
  padding: 14px 16px;
  border: 2px solid #d7dfec;
  border-radius: 14px;
  background: #f8fbff;
}
.tallyk9-credit-summary span,
.tallyk9-credit-summary small {
  color: var(--tallyk9-muted);
  font-size: .8rem;
  line-height: 1.25;
}
.tallyk9-credit-summary strong {
  color: var(--tallyk9-blue-dark);
  font-size: 1.12rem;
  line-height: 1.15;
}
.tallyk9-credit-summary .has-credit {
  border-color: #86d3a3;
  background: #effcf4;
}
.tallyk9-credit-summary .has-credit strong { color: #05603a; }
.tallyk9-credit-summary .no-credit {
  border-color: #f3b5ae;
  background: #fff4f2;
}
.tallyk9-credit-summary .no-credit strong { color: #b42318; }
.tallyk9-credit-empty {
  margin-top: 18px;
  padding: 22px;
  border: 2px solid #f3b5ae;
  border-radius: 14px;
  background: #fff7f6;
  text-align: center;
}
.tallyk9-credit-empty > strong {
  color: #b42318;
  font-size: 1.18rem;
}
.tallyk9-profile-prefill input[readonly] {
  background: #f3f6fa;
  color: #344054;
  cursor: default;
}
.tallyk9-stop-type-copy em {
  color: #05603a;
  font-size: .8rem;
  font-style: normal;
  font-weight: 800;
}
.tallyk9-stop-type-option:has(input:disabled) {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.25);
}
.tallyk9-stop-type-option:has(input:disabled):hover {
  transform: none;
  border-color: #d0d5dd;
}
.tallyk9-stop-type-option:has(input:disabled) .tallyk9-stop-type-copy em {
  color: #b42318;
}

@media (max-width: 720px) {
  .tallyk9-credit-summary { grid-template-columns: 1fr; }
  .tallyk9-credit-summary > div { min-height: 0; }
  .tallyk9-credit-gate-actions,
  .tallyk9-credit-empty > div { flex-direction: column; }
  .tallyk9-credit-gate-actions a,
  .tallyk9-credit-empty a { width: 100%; }
}

/* v1.7.0 in-page driver navigation */
.tallyk9-driver-navigation { margin: 18px 0; overflow: hidden; }
.tallyk9-driver-navigation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.tallyk9-driver-navigation-head h3 { margin: 2px 0 4px; }
.tallyk9-driver-navigation-head p { margin: 0; }
.tallyk9-driver-navigation-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tallyk9-driver-navigation-actions button { min-height: 40px; }
.tallyk9-driver-navigation-actions button[aria-pressed="true"] { background: var(--tallyk9-yellow); color: var(--tallyk9-blue-dark); border-color: var(--tallyk9-yellow); }
.tallyk9-nav-setup-warning { margin-bottom: 14px; padding: 11px 13px; border: 1px solid #f0bf42; border-radius: 11px; background: #fff8db; color: #5d4500; }
.tallyk9-driver-navigation-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 16px; }
.tallyk9-driver-nav-map-wrap { position: relative; min-height: 420px; overflow: hidden; border: 2px solid var(--tallyk9-blue-dark); border-radius: 16px; background: #e9eef4; }
.tallyk9-driver-nav-map { width: 100%; min-height: 420px; height: 100%; }
.tallyk9-driver-nav-map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; background: linear-gradient(135deg, #edf2f7, #dce6ef); color: #344054; text-align: center; font-weight: 800; }
.tallyk9-driver-nav-map-placeholder[hidden] { display: none !important; }
.tallyk9-driver-nav-panel { display: grid; align-content: start; gap: 12px; }
.tallyk9-driver-nav-next,
.tallyk9-driver-nav-instruction,
.tallyk9-driver-nav-metrics > div { padding: 14px; border: 1px solid var(--tallyk9-line); border-radius: 13px; background: #f8fafc; }
.tallyk9-driver-nav-next span,
.tallyk9-driver-nav-instruction span,
.tallyk9-driver-nav-metrics span { display: block; margin-bottom: 5px; color: var(--tallyk9-muted); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tallyk9-driver-nav-next strong { display: block; color: var(--tallyk9-blue-dark); font-size: 1.3rem; line-height: 1.12; }
.tallyk9-driver-nav-next small { display: block; margin-top: 7px; color: var(--tallyk9-muted); line-height: 1.35; }
.tallyk9-driver-nav-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tallyk9-driver-nav-metrics strong { color: var(--tallyk9-blue-dark); font-size: 1.45rem; }
.tallyk9-driver-nav-instruction { border-color: #f0bf42; background: #fff8db; }
.tallyk9-driver-nav-instruction strong { display: block; color: #04182d; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.12; }
.tallyk9-driver-nav-instruction small { display: block; margin-top: 8px; color: #705600; font-weight: 800; }
.tallyk9-nav-google-link { width: 100%; justify-content: center; text-align: center; text-decoration: none !important; }
#tallyk9-nav-status[data-state="live"] { color: #067647; }
#tallyk9-nav-status[data-state="working"] { color: #b54708; }
#tallyk9-nav-status[data-state="error"] { color: #b42318; }

@media (max-width: 900px) {
  .tallyk9-driver-navigation-head { flex-direction: column; }
  .tallyk9-driver-navigation-actions { width: 100%; justify-content: stretch; }
  .tallyk9-driver-navigation-actions button { flex: 1 1 110px; }
  .tallyk9-driver-navigation-grid { grid-template-columns: 1fr; }
  .tallyk9-driver-nav-map-wrap,
  .tallyk9-driver-nav-map { min-height: 360px; }
}
@media (max-width: 520px) {
  .tallyk9-driver-nav-map-wrap,
  .tallyk9-driver-nav-map { min-height: 300px; }
  .tallyk9-driver-nav-metrics strong { font-size: 1.2rem; }
}

/* v1.8.0 app-style heading-up driver navigation */
.tallyk9-driver-navigation-actions .is-active {
  background: var(--tallyk9-yellow);
  color: var(--tallyk9-blue-dark);
  border-color: var(--tallyk9-yellow);
  box-shadow: 3px 3px 0 var(--tallyk9-blue-dark);
}
.tallyk9-driver-navigation-grid {
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, .68fr);
  align-items: stretch;
}
.tallyk9-driver-nav-map-wrap,
.tallyk9-driver-nav-map {
  min-height: 560px;
}
.tallyk9-driver-nav-map-wrap {
  border-width: 3px;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(4,24,45,.18);
}
.tallyk9-driver-turn-card {
  position: absolute;
  z-index: 8;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(540px, calc(100% - 84px));
  min-height: 92px;
  padding: 12px 18px 12px 12px;
  border: 3px solid var(--tallyk9-yellow);
  border-radius: 18px;
  background: rgba(4,24,45,.96);
  color: #fff;
  box-shadow: 7px 7px 0 rgba(248,196,0,.88), 0 12px 28px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
}
.tallyk9-driver-turn-card[hidden] { display: none !important; }
.tallyk9-driver-turn-icon {
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: var(--tallyk9-yellow);
  color: var(--tallyk9-blue-dark);
  font-family: Arial, sans-serif;
  font-size: 3.15rem;
  font-weight: 900;
  line-height: 1;
}
.tallyk9-driver-turn-copy { min-width: 0; }
.tallyk9-driver-turn-copy small {
  display: block;
  margin-bottom: 3px;
  color: var(--tallyk9-yellow);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.tallyk9-driver-turn-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.05;
  text-wrap: balance;
}
.tallyk9-driver-view-badge {
  position: absolute;
  z-index: 7;
  left: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 999px;
  background: rgba(4,24,45,.88);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.tallyk9-driver-upcoming-turns {
  padding: 14px;
  border: 1px solid var(--tallyk9-line);
  border-radius: 13px;
  background: #f8fafc;
}
.tallyk9-driver-upcoming-turns > span {
  display: block;
  margin-bottom: 7px;
  color: var(--tallyk9-muted);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tallyk9-driver-upcoming-turns ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tallyk9-driver-upcoming-turns li {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 46px;
  padding: 8px 9px;
  border-left: 4px solid var(--tallyk9-yellow);
  background: #fff;
}
.tallyk9-driver-upcoming-turns li b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--tallyk9-blue-dark);
  color: var(--tallyk9-yellow);
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}
.tallyk9-driver-upcoming-turns li small {
  min-width: 0;
  color: var(--tallyk9-blue-dark);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
}
.tallyk9-driver-upcoming-turns li em {
  color: var(--tallyk9-muted);
  font-size: .78rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .tallyk9-driver-navigation-grid { grid-template-columns: 1fr; }
  .tallyk9-driver-nav-map-wrap,
  .tallyk9-driver-nav-map { min-height: 470px; }
  .tallyk9-driver-nav-panel { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; }
  .tallyk9-driver-nav-next,
  .tallyk9-driver-upcoming-turns,
  .tallyk9-nav-google-link,
  #tallyk9-nav-status { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .tallyk9-driver-nav-map-wrap,
  .tallyk9-driver-nav-map { min-height: 430px; }
  .tallyk9-driver-turn-card {
    top: 10px;
    left: 10px;
    width: calc(100% - 58px);
    min-height: 80px;
    gap: 10px;
    padding: 9px 12px 9px 9px;
    border-radius: 15px;
    box-shadow: 5px 5px 0 rgba(248,196,0,.88), 0 9px 22px rgba(0,0,0,.22);
  }
  .tallyk9-driver-turn-icon {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    font-size: 2.65rem;
  }
  .tallyk9-driver-turn-copy small { font-size: .92rem; }
  .tallyk9-driver-turn-copy strong { font-size: 1.12rem; }
  .tallyk9-driver-view-badge { left: 10px; bottom: 10px; font-size: .66rem; }
  .tallyk9-driver-nav-panel { grid-template-columns: 1fr; }
  .tallyk9-driver-nav-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
}


/* v1.9.0 clean map surface and expandable Driver map */
.tallyk9-map-fullscreen-toggle {
  position: absolute;
  z-index: 12;
  top: 12px;
  right: 12px;
  min-height: 40px;
  padding: 8px 13px;
  border: 2px solid var(--tallyk9-yellow);
  border-radius: 10px;
  background: rgba(4,24,45,.94);
  color: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 3px 3px 0 rgba(248,196,0,.9), 0 7px 18px rgba(0,0,0,.22);
  cursor: pointer;
}
.tallyk9-map-fullscreen-toggle:hover,
.tallyk9-map-fullscreen-toggle:focus-visible,
.tallyk9-map-fullscreen-toggle[aria-pressed="true"] {
  background: var(--tallyk9-yellow);
  color: var(--tallyk9-blue-dark);
  outline: none;
}
.tallyk9-driver-nav-map-wrap:fullscreen,
.tallyk9-driver-nav-map-wrap:-webkit-full-screen,
.tallyk9-driver-nav-map-wrap.is-map-maximized {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #e9eef4;
}
.tallyk9-driver-nav-map-wrap.is-map-maximized {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
}
.tallyk9-driver-nav-map-wrap:fullscreen .tallyk9-driver-nav-map,
.tallyk9-driver-nav-map-wrap:-webkit-full-screen .tallyk9-driver-nav-map,
.tallyk9-driver-nav-map-wrap.is-map-maximized .tallyk9-driver-nav-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
}
body.tallyk9-map-maximized-open { overflow: hidden !important; }

/* Current and upcoming directions remain in the side panel, not on top of the road. */
.tallyk9-driver-turn-card { display: none !important; }
.tallyk9-driver-nav-instruction {
  border-color: #f0bf42;
  background: #fff8db;
}
.tallyk9-driver-nav-instruction strong {
  display: block;
  color: #04182d;
  font-size: clamp(1.16rem, 1.8vw, 1.55rem);
  line-height: 1.18;
}
.tallyk9-driver-nav-instruction small {
  display: block;
  margin-top: 7px;
  color: #705600;
  font-weight: 800;
}
@media (max-width: 900px) {
  .tallyk9-driver-nav-instruction { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .tallyk9-map-fullscreen-toggle {
    top: 10px;
    right: 10px;
    min-height: 38px;
    padding: 7px 10px;
    font-size: .72rem;
  }
}


/* v1.8.2 desktop customer calendar rebuild.
   This is intentionally scoped to the public signup card and loaded with a
   new module asset version so cached copies cannot mask the redesign. */
@media (min-width: 961px) {
  .tallyk9-card.tallyk9-signup-card {
    width: min(1320px, calc(100vw - 52px)) !important;
    max-width: 1320px !important;
    padding: 38px 42px !important;
  }

  .tallyk9-signup-card .tallyk9-service-date-picker {
    margin: 28px 0 30px !important;
    padding: 28px !important;
    border: 2px solid #bfd3f2 !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%) !important;
    box-shadow: 0 16px 38px rgba(11, 45, 145, .10) !important;
  }

  .tallyk9-signup-card .tallyk9-service-date-picker-head {
    align-items: flex-start !important;
    margin-bottom: 18px !important;
  }

  .tallyk9-signup-card .tallyk9-service-date-picker-head h3 {
    margin: 0 0 7px !important;
    font-size: clamp(1.65rem, 2.25vw, 2.15rem) !important;
    line-height: 1.05 !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-legend {
    gap: 12px 22px !important;
    padding: 12px 15px !important;
    border: 1px solid #c8d7ee !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.82) !important;
    font-size: .96rem !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-legend i {
    width: 17px !important;
    height: 17px !important;
    border-width: 2px !important;
  }

  .tallyk9-signup-card .tallyk9-availability-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    margin-top: 22px !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-month {
    overflow: hidden !important;
    padding: 0 18px 20px !important;
    border: 2px solid #c3d2e8 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(4, 24, 45, .11) !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-month h4 {
    margin: 0 -18px 16px !important;
    padding: 15px 18px !important;
    background: #0b3154 !important;
    color: #fff !important;
    font-size: 1.34rem !important;
    font-weight: 850 !important;
    letter-spacing: .015em !important;
    text-align: left !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-weekdays {
    gap: 8px !important;
    margin-bottom: 8px !important;
    padding: 8px 0 !important;
    border-radius: 9px !important;
    background: #eaf2ff !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-weekdays span {
    color: #294763 !important;
    font-size: .82rem !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-grid {
    gap: 8px !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-blank,
  .tallyk9-signup-card .tallyk9-calendar-filtered-blank {
    min-height: 78px !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-day {
    min-height: 78px !important;
    padding: 9px 5px !important;
    border-width: 2px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 0 rgba(4,24,45,.05) !important;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-day strong {
    font-size: 1.18rem !important;
    line-height: 1 !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-day small {
    margin-top: 7px !important;
    font-size: .74rem !important;
    line-height: 1.16 !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-day.is-available {
    background: #e5f8ec !important;
    border-color: #78c99a !important;
    color: #075d3b !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-day.is-available:hover {
    transform: translateY(-3px) !important;
    border-color: #26965e !important;
    box-shadow: 0 8px 18px rgba(6,118,71,.16) !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-day.is-unavailable {
    background: #f1f3f6 !important;
    border-color: #d2d7df !important;
    color: #667085 !important;
  }

  .tallyk9-signup-card .tallyk9-calendar-day.is-selected {
    background: #1246d8 !important;
    border-color: #0b2d91 !important;
    color: #fff !important;
    outline: 4px solid #ffd51f !important;
    outline-offset: 1px !important;
    box-shadow: 0 9px 20px rgba(18,70,216,.28) !important;
  }

  .tallyk9-signup-card #tallyk9-calendar-help {
    margin: 18px 2px 0 !important;
    padding: 13px 15px !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #344054 !important;
    font-size: .98rem !important;
    font-weight: 700 !important;
  }
}

@media (min-width: 961px) and (max-width: 1120px) {
  .tallyk9-signup-card .tallyk9-availability-calendar {
    grid-template-columns: 1fr !important;
  }
  .tallyk9-signup-card .tallyk9-calendar-day,
  .tallyk9-signup-card .tallyk9-calendar-blank,
  .tallyk9-signup-card .tallyk9-calendar-filtered-blank {
    min-height: 86px !important;
  }
}


/* v1.8.4 — yellow non-link headings on dark-blue operations surfaces. */
.tallyk9-driver-header h2,
.tallyk9-signup-card .tallyk9-calendar-month h4{color:var(--tallyk9-yellow)!important}
