.se-portal--driver {
	--driver-navy: #15344c;
	--driver-navy-deep: #0f293d;
	--driver-blue: #116fc7;
	--driver-blue-dark: #07599f;
	--driver-green: #168756;
	--driver-green-dark: #0d6a40;
	--driver-yellow: #f4c82e;
	--driver-ink: #162b3b;
	--driver-muted: #607385;
	--driver-line: #d6e0e7;
	--driver-surface: #fff;
	--driver-bg: #eef3f6;
	background: var(--driver-bg);
	color: var(--driver-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.se-portal--driver svg {
	display: block;
	width: 21px;
	height: 21px;
}

.se-driver-appbar {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 76px;
	padding: 12px max(18px, calc((100vw - 1080px) / 2));
	border-bottom: 4px solid var(--driver-yellow);
	background: var(--driver-navy);
	color: #fff;
	box-shadow: 0 4px 16px rgba(15, 41, 61, .16);
}

.se-driver-brand,
.se-driver-appbar__actions,
.se-driver-appbar__actions form {
	display: flex;
	align-items: center;
}

.se-driver-brand {
	gap: 11px;
	min-width: 0;
}

.se-driver-brand__mark {
	display: grid;
	place-items: center;
	flex: 0 0 58px;
	width: 58px;
	height: 50px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 4px;
	background: #fff;
	padding: 3px;
	box-shadow: none;
}

.se-driver-brand__mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.se-driver-brand div {
	display: grid;
	min-width: 0;
	gap: 1px;
}

.se-driver-brand strong {
	font-size: 18px;
	line-height: 1.15;
}

.se-driver-brand div span {
	overflow: hidden;
	color: #c6d4de;
	font-size: 12px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.se-driver-appbar__actions {
	gap: 8px;
}

.se-portal--driver .se-driver-icon-button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 6px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	box-shadow: none;
	text-decoration: none;
}

.se-portal--driver .se-driver-icon-button:hover,
.se-portal--driver .se-driver-icon-button:focus-visible {
	background: rgba(255, 255, 255, .16);
	outline: 3px solid rgba(244, 200, 46, .4);
	outline-offset: 1px;
}

.se-driver-main {
	width: min(1080px, calc(100% - 36px));
	margin: 0 auto;
	padding: 26px 0 48px;
}

.se-driver-notice {
	margin-bottom: 16px;
	padding: 13px 15px;
	border: 1px solid #9bd0b4;
	border-left: 4px solid var(--driver-green);
	border-radius: 6px;
	background: #effaf4;
	color: #155f3c;
	font-weight: 800;
}

.se-driver-notice--error {
	border-color: #e7aaa6;
	border-left-color: #b52e29;
	background: #fff2f1;
	color: #90221d;
}

.se-driver-live-state {
	display: grid;
	grid-template-columns: 12px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	margin-bottom: 17px;
	padding: 11px 13px;
	border: 1px solid #b9d9ca;
	border-left: 4px solid var(--driver-green);
	border-radius: 6px;
	background: #f4fbf7;
	color: var(--driver-green-dark);
}

.se-driver-live-state__dot {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--driver-green);
	box-shadow: 0 0 0 5px rgba(21, 141, 85, .11);
	animation: se-driver-live-pulse 2.2s ease-out infinite;
}

.se-driver-live-state > div {
	display: grid;
	min-width: 0;
	gap: 1px;
}

.se-driver-live-state strong {
	font-size: 13px;
	line-height: 1.3;
}

.se-driver-live-state > div span {
	color: var(--driver-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
}

.se-portal--driver .se-driver-live-state button {
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid var(--driver-blue-dark);
	border-radius: 5px;
	background: var(--driver-blue);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	white-space: nowrap;
}

.se-driver-live-state.has-update {
	border-color: #84b6e2;
	border-left-color: var(--driver-blue);
	background: #edf6fe;
	color: var(--driver-blue-dark);
}

.se-driver-live-state.has-update .se-driver-live-state__dot {
	background: var(--driver-blue);
	box-shadow: 0 0 0 5px rgba(17, 111, 199, .12);
}

.se-driver-live-state.is-offline {
	border-color: #e7aaa6;
	border-left-color: #b52e29;
	background: #fff4f3;
	color: #90221d;
}

.se-driver-live-state.is-offline .se-driver-live-state__dot {
	background: #b52e29;
	box-shadow: 0 0 0 5px rgba(181, 46, 41, .1);
	animation: none;
}

@keyframes se-driver-live-pulse {
	0%, 40% { box-shadow: 0 0 0 5px rgba(21, 141, 85, .11); }
	70%, 100% { box-shadow: 0 0 0 9px rgba(21, 141, 85, 0); }
}

.se-driver-intro {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.se-driver-intro div > span,
.se-driver-section__head div > span {
	display: block;
	margin-bottom: 3px;
	color: var(--driver-blue-dark);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.se-driver-intro h1 {
	margin: 0;
	font-size: 27px;
	line-height: 1.15;
}

.se-driver-intro p {
	margin: 0 0 2px;
	color: var(--driver-muted);
	font-size: 14px;
	font-weight: 700;
}

.se-driver-navigation-picker {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding: 12px 13px;
	border: 1px solid var(--driver-line);
	border-radius: 7px;
	background: var(--driver-surface);
	box-shadow: 0 4px 14px rgba(15, 41, 61, .05);
}

.se-driver-navigation-picker__copy {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.se-driver-navigation-picker__copy > span {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 5px;
	background: #e8f3fc;
	color: var(--driver-blue-dark);
}

.se-driver-navigation-picker__copy > div {
	display: grid;
	gap: 1px;
}

.se-driver-navigation-picker__copy strong {
	font-size: 14px;
}

.se-driver-navigation-picker__copy small {
	color: var(--driver-muted);
	font-size: 11px;
	font-weight: 700;
}

.se-driver-navigation-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: min(100%, 310px);
	padding: 3px;
	border: 1px solid var(--driver-line);
	border-radius: 6px;
	background: #f0f4f7;
}

.se-portal--driver .se-driver-navigation-options button {
	min-height: 40px;
	padding: 7px 12px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: var(--driver-muted);
	box-shadow: none;
	font-size: 13px;
	font-weight: 850;
}

.se-portal--driver .se-driver-navigation-options button[aria-pressed="true"] {
	background: var(--driver-navy);
	color: #fff;
	box-shadow: 0 2px 7px rgba(15, 41, 61, .18);
}

.se-portal--driver .se-driver-navigation-options button:focus-visible {
	outline: 3px solid rgba(17, 111, 199, .25);
	outline-offset: 2px;
}

.se-driver-mobile-route {
	display: none;
}

.se-driver-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.se-driver-metric {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 13px;
	border: 1px solid var(--driver-line);
	border-radius: 6px;
	background: var(--driver-surface);
}

.se-driver-metric__icon {
	display: grid;
	place-items: center;
	flex: 0 0 37px;
	width: 37px;
	height: 37px;
	border-radius: 5px;
	background: #e8f2fb;
	color: var(--driver-blue);
}

.se-driver-metric__icon svg {
	width: 19px;
	height: 19px;
}

.se-driver-metric div {
	display: grid;
	min-width: 0;
}

.se-driver-metric strong {
	font-size: 22px;
	line-height: 1;
}

.se-driver-metric div span {
	margin-top: 3px;
	color: var(--driver-muted);
	font-size: 12px;
	font-weight: 700;
}

.se-driver-section {
	margin-top: 18px;
}

.se-driver-section__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 9px;
}

.se-driver-section__head h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.15;
}

.se-driver-section__head > strong {
	color: var(--driver-muted);
	font-size: 13px;
}

.se-driver-route-list,
.se-driver-stop-list {
	display: grid;
	gap: 12px;
}

.se-driver-route-card,
.se-driver-stop-card,
.se-driver-empty {
	border: 1px solid var(--driver-line);
	border-radius: 7px;
	background: var(--driver-surface);
	box-shadow: 0 4px 14px rgba(21, 52, 76, .05);
}

.se-driver-route-card {
	overflow: hidden;
}

.se-driver-route-card > header {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 17px 12px;
}

.se-driver-route-card__date {
	display: grid;
	gap: 3px;
}

.se-driver-route-card__date > span {
	color: var(--driver-muted);
	font-size: 12px;
	font-weight: 800;
}

.se-driver-route-card__date > strong {
	font-size: 18px;
	line-height: 1.25;
}

.se-driver-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 4px 9px;
	border: 1px solid #c8d5de;
	border-radius: 5px;
	background: #eef3f6;
	color: #4d6272;
	font-size: 11px;
	font-weight: 900;
	white-space: nowrap;
}

.se-driver-status--planned,
.se-driver-status--draft {
	border-color: #e7cf73;
	background: #fff8d9;
	color: #735c0a;
}

.se-driver-status--in_progress,
.se-driver-status--on_route {
	border-color: #9bc2e7;
	background: #e8f3fd;
	color: #07599f;
}

.se-driver-status--arrived {
	border-color: #b8a9df;
	background: #f0ebfb;
	color: #594092;
}

.se-driver-status--done {
	border-color: #99d0b3;
	background: #e9f8f0;
	color: #0d6a40;
}

.se-driver-status--problem {
	border-color: #e7aaa6;
	background: #fff0ef;
	color: #9b231e;
}

.se-driver-route-card__facts {
  display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--driver-line);
	border-bottom: 1px solid var(--driver-line);
  background: #f8fafb;
}

.se-driver-office-messages {
  display: grid;
  gap: 8px;
  padding: 12px 17px;
  border-top: 1px solid var(--driver-line);
  background: #f8fafb;
}

.se-driver-office-message {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid #9bc2e7;
  border-left: 4px solid var(--driver-blue);
  border-radius: 6px;
  background: #edf6fe;
  color: var(--driver-blue-dark);
}

.se-driver-office-message.is-urgent {
  border-color: #e4aaa6;
  border-left-color: #b52f29;
  background: #fff2f1;
  color: #7d201c;
}

.se-driver-office-message.is-seen {
  border-color: #b9c8cf;
  border-left-color: #5f7782;
  background: #f5f7f8;
  color: #3f5964;
}

.se-driver-office-message__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: var(--driver-blue);
  color: #fff;
}

.se-driver-office-message.is-urgent .se-driver-office-message__icon {
  background: #b52f29;
}

.se-driver-office-message.is-seen .se-driver-office-message__icon {
  background: #5f7782;
}

.se-driver-office-message__icon svg {
  width: 19px;
  height: 19px;
}

.se-driver-office-message > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.se-driver-office-message > div > strong {
  font-size: 13px;
  line-height: 1.2;
}

.se-driver-office-message p {
  margin: 0;
  color: var(--driver-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.se-driver-office-message small {
  color: var(--driver-muted);
  font-size: 10px;
  font-weight: 700;
}

.se-driver-message-ack button {
  min-width: 74px;
  min-height: 44px;
  border: 1px solid var(--driver-blue);
  border-radius: 5px;
  background: var(--driver-blue);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.se-driver-office-message.is-urgent .se-driver-message-ack button {
  border-color: #9c2722;
  background: #9c2722;
}

.se-driver-message-ack button:focus-visible {
  outline: 3px solid rgba(18, 119, 197, 0.24);
  outline-offset: 2px;
}

.se-driver-route-card__facts div {
	display: grid;
	grid-template-columns: 26px 1fr;
	grid-template-rows: auto auto;
	column-gap: 5px;
	padding: 12px 14px;
	border-left: 1px solid var(--driver-line);
}

.se-driver-route-card__facts div:first-child {
	border-left: 0;
}

.se-driver-route-card__facts div > span {
	grid-row: 1 / 3;
	align-self: center;
	color: var(--driver-blue);
}

.se-driver-route-card__facts strong {
	font-size: 15px;
	line-height: 1.15;
}

.se-driver-route-card__facts small {
	color: var(--driver-muted);
	font-size: 10px;
	font-weight: 700;
}

.se-driver-route-cash {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 12px 17px 0;
	padding: 10px 12px;
	border: 1px solid #e4c75d;
	border-left-width: 4px;
	border-radius: 6px;
	background: #fff9df;
	color: #5d4a08;
}

.se-driver-route-cash > span {
	display: grid;
	flex: 0 0 34px;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 5px;
	background: var(--driver-yellow);
	color: var(--driver-navy);
}

.se-driver-route-cash svg {
	width: 20px;
	height: 20px;
}

.se-driver-route-cash div {
	display: grid;
	min-width: 0;
	gap: 1px;
}

.se-driver-route-cash strong {
	font-size: 13px;
	line-height: 1.25;
}

.se-driver-route-cash small {
	font-size: 11px;
	font-weight: 700;
}

.se-driver-route-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 14px;
	padding: 12px 17px 8px;
	color: var(--driver-muted);
	font-size: 12px;
	font-weight: 700;
}

.se-driver-route-update {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	margin: 2px 17px 12px;
	padding: 10px 12px;
	border: 1px solid #9bc2e7;
	border-left: 4px solid var(--driver-blue);
	border-radius: 6px;
	background: #edf6fe;
	color: var(--driver-blue-dark);
}

.se-driver-route-update > span {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 5px;
	background: var(--driver-blue);
	color: #fff;
}

.se-driver-route-update svg {
	width: 19px;
	height: 19px;
}

.se-driver-route-update > div {
	display: grid;
	gap: 2px;
}

.se-driver-route-update strong {
	font-size: 13px;
	line-height: 1.25;
}

.se-driver-route-update small {
	color: #47677f;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
}

.se-driver-progress {
	height: 7px;
	margin: 0 17px;
	overflow: hidden;
	border-radius: 4px;
	background: #dce6ec;
}

.se-driver-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--driver-green);
}

.se-driver-progress-label {
	margin: 6px 17px 13px;
	color: var(--driver-muted);
	font-size: 11px;
	font-weight: 700;
}

.se-driver-start-form {
	margin: 0;
	padding: 0 17px 17px;
}

.se-portal--driver .se-driver-primary,
.se-driver-route-complete {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	width: 100%;
	min-height: 58px;
	padding: 9px 16px;
	border: 1px solid var(--driver-blue-dark);
	border-radius: 6px;
	background: var(--driver-blue);
	color: #fff;
	box-shadow: 0 5px 12px rgba(17, 111, 199, .18);
	text-align: left;
}

.se-portal--driver .se-driver-primary:hover,
.se-portal--driver .se-driver-primary:focus-visible {
	background: var(--driver-blue-dark);
	outline: 3px solid rgba(17, 111, 199, .22);
	outline-offset: 2px;
}

.se-driver-primary > span:last-child,
.se-driver-route-complete > span:last-child {
	display: grid;
	gap: 1px;
}

.se-driver-primary strong,
.se-driver-route-complete strong {
	font-size: 15px;
}

.se-driver-primary small,
.se-driver-route-complete small {
	font-size: 11px;
	font-weight: 700;
	opacity: .84;
}

.se-driver-primary small b,
.se-driver-quick b {
	font: inherit;
}

.se-driver-route-complete {
	width: auto;
	margin: 0 17px 17px;
	border-color: #99d0b3;
	background: #e9f8f0;
	color: var(--driver-green-dark);
	box-shadow: none;
}

.se-driver-stop-card {
	overflow: hidden;
}

.se-driver-stop-card.is-finished {
	background: #f9fbfa;
	opacity: .82;
}

.se-driver-stop-card__head {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 14px 16px 11px;
}

.se-driver-stop-number {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 6px;
	background: var(--driver-navy);
	color: #fff;
	font-size: 16px;
	font-weight: 900;
}

.se-driver-stop-card__head > div {
	display: grid;
	min-width: 0;
	gap: 3px;
}

.se-driver-stop-card__head > div strong {
	overflow: hidden;
	font-size: 16px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.se-driver-stop-card__head > div span {
	color: var(--driver-muted);
	font-size: 12px;
	font-weight: 700;
}

.se-driver-stop-card__info {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 16px;
	padding: 0 16px 12px 70px;
	color: var(--driver-muted);
	font-size: 12px;
	font-weight: 700;
}

.se-driver-stop-card__info span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.se-driver-stop-card__info svg {
	width: 15px;
	height: 15px;
}

.se-driver-stop-card__info .se-driver-customer-type {
	min-height: 21px;
	padding: 2px 7px;
	border: 1px solid #b7cae3;
	border-radius: 4px;
	background: #eef5fc;
	color: #245783;
	font-size: 10px;
	font-weight: 900;
}

.se-driver-stop-card__info .se-driver-customer-type--business {
	border-color: #9ccdbb;
	background: #e9f7f1;
	color: #176149;
}

.se-driver-stop-cash {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin: 0 16px 12px 70px;
	padding: 10px 12px;
	border: 1px solid #e0c050;
	border-left-width: 4px;
	border-radius: 6px;
	background: #fff9df;
	color: #5d4a08;
}

.se-driver-stop-cash > span {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 5px;
	background: var(--driver-yellow);
	color: var(--driver-navy);
}

.se-driver-stop-cash svg {
	width: 20px;
	height: 20px;
}

.se-driver-stop-cash div {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.se-driver-stop-cash strong {
	font-size: 13px;
	line-height: 1.25;
}

.se-driver-stop-cash small {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
}

.se-driver-stop-cash b {
	padding: 4px 7px;
	border: 1px solid #d8b842;
	border-radius: 4px;
	background: #fff;
	font-size: 10px;
	text-transform: uppercase;
}

.se-driver-stop-cash.is-collected {
	border-color: #8cc7a8;
	background: #eaf8f1;
	color: #105f3b;
}

.se-driver-stop-cash.is-collected > span {
	background: var(--driver-green);
	color: #fff;
}

.se-driver-stop-cash.is-collected b {
	border-color: #8cc7a8;
	color: #105f3b;
}

.se-driver-stop-note {
	display: grid;
	gap: 3px;
	margin: 0 16px 12px 70px;
	padding: 9px 11px;
	border-left: 3px solid var(--driver-yellow);
	background: #fffbeb;
	color: #576b7b;
	font-size: 12px;
	line-height: 1.45;
}

.se-driver-stop-note strong {
	color: var(--driver-ink);
	font-size: 11px;
	text-transform: uppercase;
}

.se-driver-pickup-destination {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	margin: 0 16px 13px 70px;
	padding: 11px 12px;
	border: 1px solid #b9cfe2;
	border-left: 4px solid var(--driver-blue);
	border-radius: 6px;
	background: #eff7fd;
}

.se-driver-pickup-destination > span svg {
	width: 22px;
	height: 22px;
	color: var(--driver-blue);
}

.se-driver-pickup-destination > div {
	display: grid;
	gap: 2px;
}

.se-driver-pickup-destination small,
.se-driver-pickup-destination p {
	margin: 0;
	color: #607487;
	font-size: 11px;
}

.se-driver-pickup-destination strong {
	color: var(--driver-navy);
	font-size: 14px;
}

.se-driver-pickup-destination > a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 6px;
	background: var(--driver-blue);
	color: #fff;
}

.se-driver-pickup-destination > a svg {
	width: 20px;
	height: 20px;
}

.se-driver-placement-photos {
	display: grid;
	gap: 8px;
	margin: 0 16px 13px 70px;
	padding: 11px;
	border: 1px solid #c7d6e2;
	border-radius: 6px;
	background: #f4f8fc;
}

.se-driver-placement-photos > strong {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--driver-navy);
	font-size: 12px;
}

.se-driver-placement-photos > strong svg {
	width: 18px;
	height: 18px;
	color: var(--driver-blue);
}

.se-driver-placement-photos > div {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.se-driver-placement-photos a {
	display: block;
	width: 96px;
	height: 74px;
	overflow: hidden;
	border: 1px solid #adbfce;
	border-radius: 5px;
	background: #dce6ee;
}

.se-driver-placement-photos img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.se-driver-placement-photos small {
	color: #607487;
	font-size: 11px;
}

.se-driver-quick-actions {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 7px;
	padding: 0 16px 14px;
}

.se-driver-quick-form {
	display: contents;
}

.se-portal--driver .se-driver-quick {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	min-height: 46px;
	padding: 8px 10px;
	border: 1px solid #b9c9d5;
	border-radius: 6px;
	background: #fff;
	color: var(--driver-navy);
	box-shadow: none;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
}

.se-portal--driver .se-driver-quick svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}

.se-portal--driver .se-driver-quick span {
	line-height: 1.15;
	text-align: center;
}

.se-portal--driver .se-driver-quick:hover,
.se-portal--driver .se-driver-quick:focus-visible {
	border-color: var(--driver-blue);
	background: #edf6fd;
	color: var(--driver-blue-dark);
	outline: 2px solid rgba(17, 111, 199, .14);
}

.se-portal--driver .se-driver-quick--navigate {
	border-color: var(--driver-blue);
	background: #eaf4fd;
	color: var(--driver-blue-dark);
}

.se-portal--driver .se-driver-quick--cash {
	border-color: #d7ac16;
	background: var(--driver-yellow);
	color: var(--driver-navy);
}

.se-portal--driver .se-driver-quick--cash:hover,
.se-portal--driver .se-driver-quick--cash:focus-visible {
	border-color: #b98e00;
	background: #f0c61f;
	color: var(--driver-navy);
}

.se-portal--driver .se-driver-quick--done {
	border-color: var(--driver-green);
	background: var(--driver-green);
	color: #fff;
}

.se-portal--driver .se-driver-quick--done:hover,
.se-portal--driver .se-driver-quick--done:focus-visible {
	background: var(--driver-green-dark);
	color: #fff;
}

.se-driver-stop-details {
	border-top: 1px solid var(--driver-line);
}

.se-driver-stop-details summary {
	display: grid;
	grid-template-columns: 20px 1fr 20px;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 16px;
	color: var(--driver-muted);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.se-driver-stop-details summary::-webkit-details-marker {
	display: none;
}

.se-driver-stop-details summary svg {
	width: 17px;
	height: 17px;
}

.se-driver-stop-details summary svg:last-child {
	transition: transform .18s ease;
}

.se-driver-stop-details[open] summary svg:last-child {
	transform: rotate(90deg);
}

.se-driver-stop-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 14px 16px 16px;
	border-top: 1px solid var(--driver-line);
	background: #f8fafb;
}

.se-driver-stop-form label {
	display: grid;
	gap: 6px;
	min-width: 0;
	color: var(--driver-muted);
	font-size: 12px;
	font-weight: 800;
}

.se-driver-stop-form label.is-wide {
	grid-column: 1 / -1;
}

.se-driver-stop-form select,
.se-driver-stop-form input,
.se-driver-stop-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 11px;
	border: 1px solid #b9c9d5;
	border-radius: 5px;
	background: #fff;
	color: var(--driver-ink);
	font: inherit;
}

.se-driver-stop-form textarea {
	min-height: 88px;
	resize: vertical;
}

.se-portal--driver .se-driver-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 9px 14px;
	border: 1px solid var(--driver-blue-dark);
	border-radius: 6px;
	background: var(--driver-blue);
	color: #fff;
	box-shadow: none;
	font-weight: 900;
}

.se-driver-photo-link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	color: var(--driver-blue-dark);
	font-size: 12px;
}

.se-driver-empty {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
}

.se-driver-empty > span {
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 6px;
	background: #e7f1f8;
	color: var(--driver-blue);
}

.se-driver-empty div {
	display: grid;
	gap: 4px;
}

.se-driver-empty strong {
	font-size: 15px;
}

.se-driver-empty p {
	max-width: 650px;
	margin: 0;
	color: var(--driver-muted);
	font-size: 13px;
	line-height: 1.5;
}

.se-driver-intro {
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--driver-line);
}

.se-driver-intro p strong {
	color: var(--driver-ink);
}

.se-driver-section--route {
	margin-top: 0;
}

.se-driver-section--active-stop {
	margin-top: 24px;
}

.se-driver-stop-card.is-active {
	border-color: #8eb7d7;
	box-shadow: 0 8px 24px rgba(21, 52, 76, .1);
}

.se-driver-workflow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0 16px 14px;
	list-style: none;
}

.se-driver-workflow li {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 5px;
	color: #80909c;
	font-size: 10px;
	font-weight: 900;
	text-align: center;
}

.se-driver-workflow li::before {
	position: absolute;
	top: 17px;
	right: 50%;
	left: -50%;
	height: 2px;
	background: #d8e2e8;
	content: "";
}

.se-driver-workflow li:first-child::before {
	display: none;
}

.se-driver-workflow li > span {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 2px solid #c8d5de;
	border-radius: 50%;
	background: #fff;
}

.se-driver-workflow svg {
	width: 17px;
	height: 17px;
}

.se-driver-workflow li.is-current,
.se-driver-workflow li.is-done {
	color: var(--driver-blue-dark);
}

.se-driver-workflow li.is-current > span {
	border-color: var(--driver-blue);
	background: #e8f3fd;
	color: var(--driver-blue);
}

.se-driver-workflow li.is-done > span {
	border-color: var(--driver-green);
	background: var(--driver-green);
	color: #fff;
}

.se-driver-workflow li.is-done::before,
.se-driver-workflow li.is-current::before {
	background: var(--driver-green);
}

.se-driver-stop-card.is-active .se-driver-quick-actions {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-bottom: 12px;
}

.se-driver-next-action {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-top: 1px solid #aac9e3;
	background: #edf6fd;
}

.se-driver-next-action > div {
	display: grid;
	gap: 3px;
}

.se-driver-next-action small {
	color: var(--driver-blue-dark);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.se-driver-next-action strong {
	font-size: 14px;
}

.se-driver-next-action .se-driver-quick-form {
	display: block;
}

.se-driver-next-action .se-driver-quick {
	width: 100%;
}

.se-driver-next-action--cash {
	border-top-color: #e0c050;
	background: #fff9df;
}

.se-driver-completion-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(210px, .7fr);
	gap: 12px 16px;
	padding: 16px;
	border-top: 1px solid #8cc7a8;
	background: #f2faf6;
}

.se-driver-completion-form > header {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	gap: 10px;
}

.se-driver-completion-form > header > span {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	background: var(--driver-green);
	color: #fff;
}

.se-driver-completion-form > header div {
	display: grid;
	gap: 1px;
}

.se-driver-completion-form > header small {
	color: var(--driver-green-dark);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.se-driver-completion-form > header strong {
	font-size: 16px;
}

.se-driver-completion-form > p {
	grid-column: 1 / -1;
	margin: -3px 0 2px;
	color: var(--driver-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
}

.se-driver-proof-field,
.se-driver-completion-note {
	display: grid;
	align-content: start;
	gap: 7px;
	min-width: 0;
	color: var(--driver-ink);
	font-size: 12px;
	font-weight: 900;
}

.se-driver-proof-field > span:first-child,
.se-driver-completion-note > span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.se-driver-proof-field b {
	color: #a3211c;
	font-size: 10px;
	text-transform: uppercase;
}

.se-driver-proof-field small,
.se-driver-completion-note small {
	color: var(--driver-muted);
	font-size: 10px;
	font-weight: 800;
}

.se-driver-proof-field input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.se-driver-proof-field__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 10px 12px;
	border: 1px solid var(--driver-blue);
	border-radius: 6px;
	background: #fff;
	color: var(--driver-blue-dark);
	cursor: pointer;
}

.se-driver-proof-field:focus-within .se-driver-proof-field__button {
	outline: 3px solid rgba(17, 111, 199, .2);
	outline-offset: 2px;
}

.se-driver-proof-preview {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 8px;
	border: 1px solid #abc9ba;
	border-radius: 6px;
	background: #fff;
}

.se-driver-proof-preview[hidden] {
	display: none;
}

.se-driver-proof-preview img {
	display: block;
	width: 72px;
	height: 58px;
	border-radius: 4px;
	object-fit: cover;
}

.se-driver-proof-preview figcaption {
	color: var(--driver-muted);
	font-size: 11px;
	font-weight: 800;
}

.se-driver-completion-note {
	grid-column: 2;
	grid-row: 3 / span 2;
}

.se-driver-completion-note textarea {
	width: 100%;
	min-height: 119px;
	padding: 10px 11px;
	border: 1px solid #afc2cd;
	border-radius: 6px;
	background: #fff;
	color: var(--driver-ink);
	font: inherit;
	font-weight: 500;
	resize: vertical;
}

.se-driver-complete-button {
	display: inline-flex;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 54px;
	padding: 10px 16px;
	border: 1px solid var(--driver-green-dark);
	border-radius: 6px;
	background: var(--driver-green);
	color: #fff;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}

.se-driver-complete-button:hover,
.se-driver-complete-button:focus-visible {
	background: var(--driver-green-dark);
	outline: 3px solid rgba(22, 135, 86, .2);
	outline-offset: 2px;
}

.se-driver-complete-button:disabled {
	cursor: wait;
	opacity: .7;
}

.se-driver-stop-completed {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	border-top: 1px solid #9acfb4;
	background: #eef9f3;
	color: var(--driver-green-dark);
}

.se-driver-stop-completed > svg {
	flex: 0 0 22px;
}

.se-driver-stop-completed div {
	display: grid;
	gap: 2px;
}

.se-driver-stop-completed small {
	color: var(--driver-muted);
	font-size: 11px;
}

.se-driver-route-queue {
	display: grid;
	gap: 7px;
}

.se-driver-queue-item {
	overflow: hidden;
	border: 1px solid var(--driver-line);
	border-radius: 6px;
	background: #fff;
}

.se-driver-queue-item.is-finished {
	background: #f5f8f6;
	opacity: .72;
}

.se-driver-queue-item summary {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto 20px;
	align-items: center;
	gap: 10px;
	min-height: 58px;
	padding: 8px 12px;
	cursor: pointer;
	list-style: none;
}

.se-driver-queue-item summary::-webkit-details-marker {
	display: none;
}

.se-driver-queue-item .se-driver-stop-number {
	width: 38px;
	height: 38px;
	font-size: 14px;
}

.se-driver-queue-item__address {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.se-driver-queue-item__address strong,
.se-driver-queue-item__address small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.se-driver-queue-item__address strong {
	font-size: 14px;
}

.se-driver-queue-item__address small {
	color: var(--driver-muted);
	font-size: 11px;
	font-weight: 700;
}

.se-driver-queue-item__chevron {
	color: var(--driver-muted);
	transition: transform .18s ease;
}

.se-driver-queue-item__chevron svg {
	width: 17px;
	height: 17px;
}

.se-driver-queue-item[open] .se-driver-queue-item__chevron {
	transform: rotate(90deg);
}

.se-driver-queue-item__body {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 12px 16px;
	border-top: 1px solid var(--driver-line);
	background: #f8fafb;
}

.se-driver-queue-item__body p {
	display: grid;
	gap: 2px;
	margin: 0;
	color: var(--driver-muted);
	font-size: 12px;
	line-height: 1.4;
}

.se-driver-queue-item__body strong {
	color: var(--driver-ink);
	font-size: 10px;
	text-transform: uppercase;
}

.se-driver-other-routes {
	margin-top: 22px;
	border-top: 1px solid var(--driver-line);
}

.se-driver-other-routes > summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 20px;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	color: var(--driver-muted);
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
	list-style: none;
}

.se-driver-other-routes > summary::-webkit-details-marker {
	display: none;
}

.se-driver-other-routes > summary > span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.se-driver-other-routes > summary svg {
	width: 18px;
	height: 18px;
}

.se-driver-other-routes > summary > svg {
	transition: transform .18s ease;
}

.se-driver-other-routes[open] > summary > svg {
	transform: rotate(90deg);
}

@media (max-width: 700px) {
	.se-driver-appbar {
		min-height: 58px;
		padding: 7px 10px;
	}

	.se-driver-brand__mark {
		flex-basis: 35px;
		width: 35px;
		height: 35px;
	}

	.se-driver-brand strong {
		font-size: 16px;
	}

	.se-driver-brand div span {
		max-width: 145px;
	}

	.se-portal--driver .se-driver-icon-button {
		width: 38px;
		height: 38px;
		min-height: 38px;
	}

	.se-driver-main {
		display: flex;
		flex-direction: column;
		width: calc(100% - 24px);
		padding: 12px 0 32px;
	}

	.se-driver-main > * {
		order: 10;
	}

	.se-driver-main > .se-driver-notice {
		order: 0;
	}

	.se-driver-live-state {
		order: 1;
		grid-template-columns: 12px minmax(0, 1fr);
		min-height: 38px;
		margin-bottom: 9px;
		padding: 8px 10px;
	}

	.se-driver-live-state button {
		grid-column: 1 / -1;
		width: 100%;
	}

	.se-driver-intro {
		display: none;
	}

	.se-driver-intro h1 {
		font-size: 23px;
	}

	.se-driver-navigation-picker {
		order: 2;
		margin-bottom: 9px;
		padding: 3px;
		border-color: #c7d5df;
		background: #e9eff3;
		box-shadow: none;
	}

	.se-driver-navigation-picker__copy {
		display: none;
	}

	.se-driver-navigation-options {
		width: 100%;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.se-portal--driver .se-driver-navigation-options button {
		min-height: 38px;
	}

	.se-driver-mobile-route {
		display: grid;
		order: 3;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px;
		margin-bottom: 10px;
		padding: 10px;
		border: 1px solid #a8c7de;
		border-radius: 7px;
		background: #fff;
		box-shadow: 0 5px 16px rgba(21, 52, 76, .08);
	}

	.se-driver-mobile-route__summary {
		display: grid;
		grid-template-columns: 34px minmax(0, 1fr);
		align-items: center;
		gap: 9px;
		min-width: 0;
	}

	.se-driver-mobile-route__summary > span:first-child {
		display: grid;
		place-items: center;
		width: 34px;
		height: 34px;
		border-radius: 5px;
		background: #e8f3fc;
		color: var(--driver-blue-dark);
	}

	.se-driver-mobile-route__summary > div {
		display: grid;
		min-width: 0;
		gap: 2px;
	}

	.se-driver-mobile-route__summary strong {
		overflow: hidden;
		font-size: 13px;
		line-height: 1.25;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.se-driver-mobile-route__summary small {
		color: var(--driver-muted);
		font-size: 10px;
		font-weight: 750;
	}

	.se-driver-mobile-route__summary > .se-driver-status {
		display: none;
	}

	.se-driver-mobile-route__form {
		margin: 0;
	}

	.se-portal--driver .se-driver-mobile-route__form button {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 7px;
		min-height: 46px;
		padding: 7px 11px;
		border: 1px solid var(--driver-blue-dark);
		border-radius: 5px;
		background: var(--driver-blue);
		color: #fff;
		box-shadow: none;
	}

	.se-driver-mobile-route__form button > span {
		display: grid;
		gap: 0;
		text-align: left;
	}

	.se-driver-mobile-route__form strong {
		font-size: 12px;
		white-space: nowrap;
	}

	.se-driver-mobile-route__form small,
	.se-driver-mobile-route__form b {
		font: inherit;
		font-size: 9px;
		opacity: .86;
	}

	.se-driver-section--active-stop {
		order: 4;
		margin-top: 0;
	}

	.se-driver-section--route {
		order: 5;
		margin-top: 20px;
	}

	.se-driver-section--active-stop .se-driver-section__head {
		min-height: 34px;
		padding-bottom: 7px;
	}

	.se-driver-section--active-stop .se-driver-section__head div > span {
		display: none;
	}

	.se-driver-section--active-stop .se-driver-section__head h2 {
		font-size: 17px;
	}

	.se-driver-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.se-driver-metric {
		gap: 8px;
		padding: 10px;
	}

	.se-driver-metric__icon {
		flex-basis: 33px;
		width: 33px;
		height: 33px;
	}

	.se-driver-metric strong {
		font-size: 19px;
	}

	.se-driver-section__head h2 {
		font-size: 19px;
	}

	.se-driver-route-card > header {
		padding: 14px 14px 11px;
	}

	.se-driver-route-card__date > strong {
		font-size: 16px;
	}

	.se-driver-route-card__facts div {
		grid-template-columns: 1fr;
		grid-template-rows: 23px auto auto;
		gap: 2px;
		padding: 10px;
		text-align: center;
	}

	.se-driver-office-messages {
		padding-right: 14px;
		padding-left: 14px;
	}

	.se-driver-office-message {
		grid-template-columns: 36px minmax(0, 1fr);
		align-items: start;
	}

	.se-driver-message-ack {
		grid-column: 1 / -1;
	}

	.se-driver-message-ack button {
		width: 100%;
	}

	.se-driver-route-card__facts div > span {
		grid-row: auto;
		justify-self: center;
	}

	.se-driver-route-card__facts small {
		line-height: 1.2;
	}

	.se-driver-route-card__meta {
		padding-right: 14px;
		padding-left: 14px;
	}

	.se-driver-route-update {
		margin-right: 14px;
		margin-left: 14px;
	}

	.se-driver-route-cash {
		margin-right: 14px;
		margin-left: 14px;
	}

	.se-driver-progress {
		margin-right: 14px;
		margin-left: 14px;
	}

	.se-driver-progress-label {
		margin-right: 14px;
		margin-left: 14px;
	}

	.se-driver-start-form {
		padding: 0 14px 14px;
	}

	.se-portal--driver .se-driver-primary {
		min-height: 60px;
	}

	.se-driver-stop-card__head {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 10px;
		padding: 12px 12px 9px;
	}

	.se-driver-stop-number {
		width: 38px;
		height: 38px;
	}

	.se-driver-stop-card__head > div strong {
		font-size: 15px;
	}

	.se-driver-stop-card__head > .se-driver-status {
		grid-column: 2;
		justify-self: start;
	}

	.se-driver-stop-card__info {
		flex-wrap: nowrap;
		gap: 10px;
		overflow-x: auto;
		padding: 0 12px 8px;
		scrollbar-width: none;
	}

	.se-driver-stop-card__info::-webkit-scrollbar {
		display: none;
	}

	.se-driver-stop-card__info > span {
		flex: 0 0 auto;
	}

	.se-driver-stop-note {
		margin: 0 12px 12px;
	}

	.se-driver-pickup-destination {
		margin: 0 12px 12px;
	}

	.se-driver-placement-photos {
		margin: 0 12px 12px;
	}

	.se-driver-stop-cash {
		grid-template-columns: 38px minmax(0, 1fr);
		margin: 0 12px 12px;
	}

	.se-driver-stop-cash b {
		grid-column: 2;
		justify-self: start;
	}

	.se-driver-quick-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 0 12px 12px;
	}

	.se-portal--driver .se-driver-quick {
		min-height: 50px;
		font-size: 13px;
	}

	.se-driver-stop-details summary {
		min-height: 50px;
		padding-right: 12px;
		padding-left: 12px;
	}

	.se-driver-stop-form {
		grid-template-columns: 1fr;
		padding: 12px;
	}

	.se-driver-stop-form label.is-wide {
		grid-column: auto;
	}

	.se-driver-photo-link,
	.se-portal--driver .se-driver-secondary {
		width: 100%;
	}

	.se-driver-live-state > div span {
		display: none;
	}

	.se-driver-intro {
		padding-bottom: 12px;
	}

	.se-driver-intro h1 {
		font-size: 21px;
	}

	.se-driver-intro p {
		font-size: 12px;
	}

	.se-driver-section--active-stop {
		margin-top: 0;
	}

	.se-driver-workflow {
		padding: 0 12px 8px;
	}

	.se-driver-workflow li > span {
		width: 30px;
		height: 30px;
	}

	.se-driver-workflow li::before {
		top: 15px;
	}

	.se-driver-next-action {
		grid-template-columns: minmax(0, 1fr) minmax(140px, auto);
		gap: 8px;
		padding: 10px 12px;
	}

	.se-driver-next-action strong {
		font-size: 12px;
		line-height: 1.25;
	}

	.se-driver-next-action .se-driver-quick {
		min-height: 46px;
		padding: 7px 10px;
	}

	.se-driver-completion-form {
		grid-template-columns: 1fr;
		padding: 14px 12px;
	}

	.se-driver-completion-form > header,
	.se-driver-completion-form > p,
	.se-driver-completion-note,
	.se-driver-complete-button {
		grid-column: auto;
		grid-row: auto;
	}

	.se-driver-proof-field__button {
		min-height: 56px;
	}

	.se-driver-proof-preview {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.se-driver-proof-preview img {
		width: 64px;
		height: 54px;
	}

	.se-driver-completion-note textarea {
		min-height: 94px;
	}

	.se-driver-complete-button {
		min-height: 58px;
		font-size: 14px;
	}

	.se-driver-queue-item summary {
		grid-template-columns: 34px minmax(0, 1fr) 18px;
		grid-template-rows: auto auto;
		gap: 5px 9px;
		min-height: 66px;
		padding: 8px 10px;
	}

	.se-driver-queue-item .se-driver-stop-number {
		grid-row: 1 / 3;
		width: 34px;
		height: 34px;
	}

	.se-driver-queue-item__address {
		grid-column: 2;
		grid-row: 1;
	}

	.se-driver-queue-item .se-driver-status {
		grid-column: 2;
		grid-row: 2;
		justify-self: start;
		min-height: 23px;
		padding: 2px 7px;
	}

	.se-driver-queue-item__chevron {
		grid-column: 3;
		grid-row: 1 / 3;
	}

	.se-driver-queue-item__body {
		grid-template-columns: 1fr;
		padding: 11px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.se-driver-live-state__dot {
		animation: none;
	}
}

@media (max-width: 390px) {
	.se-driver-brand div span {
		max-width: 116px;
	}

	.se-driver-appbar__actions {
		gap: 5px;
	}

	.se-portal--driver .se-driver-icon-button {
		width: 39px;
		height: 39px;
		min-height: 39px;
	}
}

/* Driver workflow refinement: show essentials, keep the next action within reach. */
.se-portal--driver [hidden] { display: none !important; }
.se-portal--driver .se-driver-workflow { gap: 8px; margin: 0; padding: 0 12px 12px; }
.se-portal--driver .se-driver-workflow li { display: flex; justify-content: center; gap: 5px; min-width: 0; }
.se-portal--driver .se-driver-workflow li::before { display: none; }
.se-portal--driver .se-driver-workflow li > span { width: 24px; height: 24px; flex: 0 0 24px; }
.se-portal--driver .se-driver-workflow svg { width: 15px; height: 15px; }
.se-portal--driver .se-driver-workflow li small { font-size: 12px; line-height: 1.3; }
.se-portal--driver .se-driver-stop-card__info { flex-wrap: wrap; overflow: visible; gap: 5px 12px; }
.se-portal--driver .se-driver-stop-card__info > span { flex: 0 1 auto; font-size: 13px; white-space: normal; }
.se-portal--driver .se-driver-stop-note { padding: 8px 10px; margin-bottom: 8px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.se-portal--driver .se-driver-stop-note strong { display: inline; margin-right: 7px; font-size: 13px; }
.se-portal--driver .se-driver-stop-cash { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 9px 10px; margin-bottom: 8px; }
.se-portal--driver .se-driver-stop-cash > span { width: 28px; height: 28px; }
.se-portal--driver .se-driver-stop-cash b { display: none; }
.se-portal--driver .se-driver-stop-cash strong { font-size: 14px; }
.se-portal--driver .se-driver-stop-cash small { font-size: 13px; }
.se-portal--driver .se-driver-job-details { border-top: 1px solid var(--driver-line); }
.se-portal--driver .se-driver-job-details > summary,
.se-portal--driver .se-driver-note-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 10px 12px; cursor: pointer; font-size: 14px; font-weight: 750; color: var(--driver-ink); }
.se-portal--driver .se-driver-job-details[open] > summary svg { transform: rotate(180deg); }
.se-portal--driver .se-driver-job-details > div { padding: 0 12px 12px; }
.se-portal--driver .se-driver-job-details p { margin: 6px 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.se-portal--driver .se-driver-note-details { grid-column: 1 / -1; border: 1px solid var(--driver-line); border-radius: 6px; }
.se-portal--driver .se-driver-note-details summary small { font-size: 12px; color: var(--driver-muted); }
.se-portal--driver .se-driver-note-details .se-driver-completion-note { padding: 0 10px 10px; }
.se-portal--driver .se-driver-completion-note textarea { min-height: 72px; font-size: 16px; }
.se-portal--driver .se-driver-stop-form textarea,
.se-portal--driver .se-driver-stop-form select { font-size: 16px; }
.se-portal--driver .se-driver-exception-help { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.45; }
.se-portal--driver .se-driver-problem-followup { display: grid; gap: 10px; padding: 14px 12px; background: #fff8e5; border-top: 1px solid #e5cd88; scroll-margin-top: 76px; }
.se-portal--driver .se-driver-problem-followup > strong { font-size: 16px; }
.se-portal--driver .se-driver-problem-followup p { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.se-portal--driver .se-driver-problem-followup form { margin: 0; }
.se-portal--driver .se-driver-problem-followup button { width: 100%; min-height: 48px; }
.se-portal--driver .se-driver-followup-copy { font-size: 14px; color: var(--driver-muted); }
.se-portal--driver .se-driver-route-complete--attention { color: #72521b; background: #fff8e5; border-color: #e5cd88; }
.se-portal--driver .se-driver-route-complete--attention small { color: #72521b; }
.se-portal--driver .se-driver-pickup-destination { grid-template-columns: 24px minmax(0, 1fr); padding: 10px; }
.se-portal--driver .se-driver-pickup-destination > a { grid-column: 2; display: inline-flex; gap: 7px; justify-self: start; width: auto; height: auto; min-height: 44px; padding: 8px 10px; font-size: 14px; font-weight: 750; text-decoration: none; }
.se-portal--driver .se-driver-live-state > div span { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.se-portal--driver .se-driver-live-state.has-update > div span,
.se-portal--driver .se-driver-live-state.is-offline > div span,
.se-portal--driver .se-driver-live-state.has-draft [data-driver-live-draft] { display: block; }
.se-portal--driver [data-driver-live-draft] { margin-top: 5px; font-weight: 700; }
.se-portal--driver .se-driver-action-dock { display: none; }
.se-portal--driver .se-driver-stop-card { scroll-margin-top: 76px; }
.se-portal--driver .se-driver-complete-button { min-height: 52px; }
.se-portal--driver .se-driver-proof-clear { grid-column: 1 / -1; min-height: 44px; font-size: 13px; }
.se-portal--driver .se-driver-mobile-route__form small,
.se-portal--driver .se-driver-mobile-route__form b,
.se-portal--driver .se-driver-mobile-route__summary small { font-size: 12px; }

@media (max-width: 760px) {
  .se-portal--driver .se-driver-main.has-driver-dock { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
  .se-portal--driver .se-driver-action-dock { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: block; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--driver-line); background: #fff; box-shadow: 0 -3px 14px rgba(15, 41, 61, .1); }
  .se-portal--driver .se-driver-action-dock button { display: flex; gap: 10px; justify-content: center; align-items: center; width: 100%; min-height: 52px; padding: 10px 14px; background: var(--driver-blue-dark); color: #fff; font-size: 16px; line-height: 1.3; border-radius: 7px; }
  .se-portal--driver .se-driver-action-dock button:disabled { opacity: .65; }
  .se-portal--driver .has-driver-dock .se-driver-next-action > .se-driver-quick-form,
  .se-portal--driver .has-driver-dock .se-driver-complete-button { display: none; }
  .se-portal--driver .has-driver-dock .se-driver-next-action { grid-template-columns: 1fr; }
  .se-portal--driver .se-driver-mobile-route { grid-template-columns: minmax(0, 1fr); padding: 8px 10px; gap: 8px; }
  .se-portal--driver .se-driver-mobile-route:has(.se-driver-mobile-route__form) { grid-template-columns: minmax(0, 1fr) auto; }
  .se-portal--driver .se-driver-mobile-route__summary { grid-template-columns: minmax(0, 1fr); }
  .se-portal--driver .se-driver-mobile-route__summary > span:first-child { display: none; }
  .se-portal--driver .se-driver-mobile-route__summary strong { font-size: 14px; }
  .se-portal--driver .se-driver-section--skipped { order: 6; }
  .se-portal--driver .se-driver-next-action strong { font-size: 14px; }
  .se-portal--driver .se-driver-quick { font-size: 14px; min-height: 48px; }
  .se-portal--driver .se-driver-stop-card__head > div strong { font-size: 17px; }
  .se-portal--driver .se-driver-completion-form { gap: 10px; padding: 12px; }
  .se-portal--driver .se-driver-completion-form > p { font-size: 13px; line-height: 1.4; }
}

/* Route overview precedes the driver's stop guidance. */
.se-driver-main--overview {
	max-width: 820px;
}

.se-driver-section--overview {
	margin-top: 0;
}

.se-driver-section--overview .se-driver-section__head h1 {
	margin: 0;
	font-size: 25px;
	line-height: 1.25;
}

.se-driver-main--overview .se-driver-route-card__date > strong {
	font-size: 23px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.se-driver-route-depot {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 17px 17px;
	padding: 13px;
	border: 1px solid var(--driver-line);
	border-radius: 6px;
	background: #f7f9fb;
}

.se-driver-route-depot > svg {
	flex: 0 0 21px;
	color: var(--driver-blue-dark);
}

.se-driver-route-depot > div {
	display: grid;
	gap: 3px;
	min-width: 0;
	font-size: 14px;
	line-height: 1.35;
}

.se-driver-route-depot span {
	color: var(--driver-muted);
	overflow-wrap: anywhere;
}

.se-portal--driver .se-driver-main--overview .se-driver-primary {
	min-height: 66px;
	text-align: center;
	text-decoration: none;
}

.se-driver-main--overview .se-driver-primary strong {
	font-size: 19px;
}

.se-driver-route-preview {
	margin-top: 16px;
	border: 1px solid var(--driver-line);
	border-radius: 7px;
	background: #fff;
}

.se-driver-route-preview > summary {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 58px;
	padding: 14px;
	color: var(--driver-ink);
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.se-driver-route-preview > summary::-webkit-details-marker {
	display: none;
}

.se-driver-route-preview > summary > span {
	display: flex;
	align-items: center;
	gap: 9px;
	flex: 1;
}

.se-driver-route-preview > summary > svg {
	width: 17px;
	height: 17px;
	transition: transform .15s ease;
}

.se-driver-route-preview[open] > summary > svg {
	transform: rotate(180deg);
}

.se-driver-route-preview > .se-driver-route-queue {
	padding: 0 12px 12px;
}

.se-driver-guidance-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
	padding: 14px 16px;
	border: 1px solid var(--driver-line);
	border-radius: 7px;
	background: #fff;
}

.se-driver-guidance-summary > div {
	min-width: 0;
}

.se-driver-guidance-summary h1 {
	margin: 3px 0;
	font-size: 21px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.se-driver-guidance-summary > div > span,
.se-driver-guidance-summary p {
	margin: 0;
	color: var(--driver-muted);
	font-size: 13px;
	line-height: 1.4;
}

.se-driver-guidance-summary > a {
	display: flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--driver-line);
	border-radius: 5px;
	color: var(--driver-blue-dark);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.se-driver-main--guidance > .se-driver-office-messages {
	padding: 0;
	margin-bottom: 15px;
}

.se-driver-route-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 64px;
	padding: 14px;
	border: 1px solid var(--driver-line);
	border-radius: 6px;
	background: #fff;
	color: var(--driver-ink);
	text-decoration: none;
}

.se-driver-route-link > span {
	display: grid;
	gap: 4px;
	min-width: 0;
	font-size: 15px;
	overflow-wrap: anywhere;
}

.se-driver-route-link small {
	color: var(--driver-muted);
	font-size: 13px;
}

.se-driver-route-link > svg {
	flex: 0 0 18px;
	transform: rotate(-90deg);
}

.se-driver-route-link:focus-visible,
.se-driver-guidance-summary > a:focus-visible,
.se-driver-route-preview > summary:focus-visible {
	outline: 3px solid rgba(17, 111, 199, .4);
	outline-offset: 2px;
}

@media (max-width: 760px) {
	.se-portal--driver .se-driver-section--overview,
	.se-portal--driver .se-driver-guidance-summary {
		display: block;
		order: 2;
		margin-top: 0;
	}

	.se-portal--driver .se-driver-section--overview .se-driver-section__head {
		min-height: 40px;
	}

	.se-portal--driver .se-driver-section--overview .se-driver-section__head h1 {
		font-size: 22px;
	}

	.se-driver-main--overview .se-driver-route-card__date > strong {
		font-size: 21px;
	}

	.se-driver-main--overview .se-driver-route-card > header {
		align-items: start;
		gap: 10px;
	}

	.se-driver-main--overview .se-driver-route-card__facts strong {
		font-size: 18px;
	}

	.se-driver-main--overview .se-driver-route-card__facts small {
		font-size: 12px;
	}

	.se-driver-route-depot {
		margin-right: 14px;
		margin-left: 14px;
	}

	.se-driver-route-preview > .se-driver-route-queue {
		padding-right: 8px;
		padding-left: 8px;
	}

	.se-portal--driver .se-driver-guidance-summary {
		display: flex;
		align-items: start;
		gap: 10px;
		padding: 11px;
		margin-bottom: 10px;
	}

	.se-driver-guidance-summary h1 {
		font-size: 17px;
	}

	.se-driver-guidance-summary > a {
		flex-direction: column;
		gap: 3px;
		padding: 5px 7px;
		font-size: 11px;
	}

	.se-portal--driver .se-driver-main--guidance > .se-driver-office-messages {
		order: 3;
	}
}

/* Stop evidence and retry-safe photo uploads. */
.se-portal--driver .se-driver-work-photos { margin:16px 0; padding:14px; background:#f5f8fa; border:1px solid #d8e2e8; border-radius:12px; }
.se-portal--driver .se-driver-work-photos h3 { margin:0 0 10px; font-size:15px; }
.se-portal--driver .se-driver-photo-gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:10px; }
.se-portal--driver .se-driver-photo-gallery figure { margin:0; min-width:0; }
.se-portal--driver .se-driver-photo-gallery img { display:block; width:100%; height:120px; object-fit:cover; border-radius:8px; }
.se-portal--driver .se-driver-photo-gallery figcaption { font-size:12px; margin-top:4px; overflow-wrap:anywhere; }
.se-portal--driver .se-driver-add-photo { margin-top:12px; }
.se-portal--driver .se-driver-add-photo summary { padding:10px 0; font-weight:750; color:#173c59; cursor:pointer; }
.se-portal--driver .se-driver-add-photo form { display:grid; gap:12px; }
.se-portal--driver .se-driver-add-photo label { display:grid; gap:6px; font-weight:650; }
.se-portal--driver .se-driver-add-photo input[type=file], .se-portal--driver .se-driver-add-photo textarea { box-sizing:border-box; width:100%; min-width:0; padding:10px; border:1px solid #becdd7; border-radius:8px; font:inherit; background:#fff; }
.se-portal--driver .se-driver-upload-message { grid-column:1/-1; margin:0; padding:12px; border-radius:8px; background:#eaf4fb; color:#173c59; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.se-portal--driver .se-driver-upload-message.is-error { background:#fff1ec; color:#842b12; border:1px solid #edbdad; }
.se-portal--driver .se-driver-upload-message[hidden] { display:none!important; }
.se-portal--driver [data-driver-photo-form] :disabled { opacity:.65; }
/* Vehicle capacity and physical depot visits. */
.se-vehicle-capacity{display:flex;flex-direction:column;gap:4px;min-width:150px}.se-vehicle-capacity input{max-width:170px}.se-vehicle-depot{display:flex!important;flex-direction:column;gap:4px;padding:14px 18px!important;margin:10px 0;border:1px solid #b9ced8;border-left:4px solid #20709a;border-radius:6px;background:#eef6fa}.se-vehicle-depot strong{width:auto!important}.se-vehicle-summary{padding:12px 16px;background:#eef6fa;border-radius:6px;color:#203e53}.se-vehicle-depot-active{padding:20px}.se-vehicle-depot-active form{margin-top:16px}
