:root {
  color-scheme: light;
  --ink: #061f1d;
  --ink-soft: #29423f;
  --muted: #6e7775;
  --paper: #fffdf8;
  --surface: #f4f1ea;
  --line: #e0ddd4;
  --line-strong: #c9d1cb;
  --green: #00a870;
  --green-dark: #05704e;
  --blue: #206fff;
  --red: #e43322;
  --gold: #b97912;
  --shadow: 0 18px 55px rgba(6, 31, 29, 0.18);
  --soft-shadow: 0 10px 24px rgba(6, 31, 29, 0.10);
  --radius: 8px;
  --phone-width: min(100vw, 430px);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(32, 111, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #f8f6ef 0%, #e9eee9 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 24px 16px;
}

.phone {
  width: var(--phone-width);
  min-height: min(860px, calc(100vh - 48px));
  background: var(--paper);
  border: 1px solid rgba(6, 31, 29, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.status-bar {
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 253, 248, 0.86);
}

.sensor {
  width: 86px;
  height: 18px;
  border-radius: 999px;
  background: #050908;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.screen-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 18px 92px;
  scrollbar-width: none;
}

.screen-body::-webkit-scrollbar {
  display: none;
}

.auth-layout .screen-body {
  padding: 0 18px 24px;
}

.auth-screen {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px 0 30px;
}

.auth-hero {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffefb, #eff8f4);
  border: 1px solid var(--line);
}

.auth-hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}

.auth-hero p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.35;
}

.brand-logo {
  width: 180px;
  height: 90px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  background: #0b1320;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  background: #f0eee8;
}

.auth-tabs button {
  min-height: 42px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.auth-tabs button.active {
  background: #fffefb;
  color: var(--green-dark);
  box-shadow: 0 1px 0 rgba(6, 31, 29, 0.08);
}

.auth-form {
  margin-top: 0;
}

.registration-legal-links,
.checkout-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f6f1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.registration-legal-links span,
.checkout-legal-links span {
  flex-basis: 100%;
  color: var(--ink-soft);
}

.registration-legal-links a,
.checkout-legal-links a,
.legal-link-list a,
.site-legal-footer a {
  color: var(--green-dark);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-links-panel {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
}

.legal-links-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.legal-link-list a {
  font-size: 12px;
}

.site-legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  max-width: 760px;
  margin: -8px auto 24px;
  padding: 0 16px;
  font-size: 12px;
}

.auth-runtime-warning {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid #efb34e;
  border-radius: 8px;
  background: #fff5d6;
  color: var(--ink);
}

.auth-runtime-warning span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.auth-runtime-warning.all-good {
  border-color: rgba(0, 168, 112, 0.26);
  background: #eefaf4;
}

.auth-runtime-warning.has-issues {
  border-color: rgba(225, 48, 35, 0.22);
  background: #fff3ea;
}

.startup-check-list {
  display: grid;
  gap: 8px;
}

.startup-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(6, 31, 29, 0.06);
}

.startup-check span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.startup-check.ok span {
  background: rgba(0, 168, 112, 0.18);
  color: var(--green-dark);
}

.startup-check.warn span {
  background: rgba(225, 48, 35, 0.14);
  color: var(--red);
}

.startup-check strong,
.startup-check small {
  display: block;
}

.startup-check strong {
  font-size: 13px;
  line-height: 1.2;
}

.startup-check small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.auth-runtime-warning .secondary-button {
  margin-top: 3px;
  text-decoration: none;
}

.location-panel {
  gap: 0.75rem;
}

.location-panel.success {
  border: 1px solid rgba(0, 168, 112, 0.22);
}

.location-panel.warning {
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.location-panel.neutral {
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.schedule-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
}

.schedule-chip input {
  margin: 0;
}

.schedule-chip span {
  line-height: 1;
}

.compact-gap {
  gap: 0.75rem;
}

.schedule-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--green-dark);
  font-weight: 800;
}

.driver-location-pill {
  display: grid;
  gap: 0.2rem;
  margin: 0.25rem 0 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: rgba(6, 31, 29, 0.05);
  border: 1px solid rgba(6, 31, 29, 0.08);
}

.driver-location-pill span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.driver-location-pill strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.driver-route-pill {
  display: grid;
  gap: 0.2rem;
  margin: 0 0 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: rgba(14, 116, 144, 0.06);
  border: 1px solid rgba(14, 116, 144, 0.12);
}

.driver-route-pill span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.driver-route-pill strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.driver-route-pill small {
  line-height: 1.35;
}

.driver-route-note {
  margin: 0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.order-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-summary-banner,
.order-summary-card {
  display: grid;
  gap: 0.4rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(6, 31, 29, 0.05);
}

.order-summary-banner strong,
.order-summary-card strong {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}

.order-summary-banner small,
.order-summary-card small {
  color: var(--muted);
  line-height: 1.35;
}

.order-section {
  display: grid;
  gap: 0.75rem;
}

.order-section .job-list {
  gap: 0.75rem;
}

.auth-connect-error {
  padding: 11px;
  border: 1px solid rgba(225, 48, 35, 0.24);
  border-radius: 8px;
  background: #fff0ee;
}

.form-error {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.text-button {
  justify-self: center;
  padding: 8px 10px;
  background: transparent;
  color: var(--green-dark);
  font-weight: 800;
}

.text-button:hover,
.text-button:focus-visible {
  text-decoration: underline;
}

.auth-role-grid {
  display: grid;
  gap: 8px;
}

.auth-role-card {
  min-height: 64px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5ef;
}

.auth-role-card strong,
.auth-role-card small {
  display: block;
}

.auth-role-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.account-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
}

.account-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.account-card strong,
.account-card small {
  display: block;
}

.account-card strong {
  margin-top: 7px;
  overflow-wrap: anywhere;
}

.account-card small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.compact-button {
  min-height: 42px;
  padding: 0 14px;
}

.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}

.topbar-title {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.sync-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 4px 8px;
  margin-top: 4px;
  background: #f0eee8;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.sync-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  background: var(--gold);
}

.sync-chip.online {
  background: #e3f8ef;
  color: var(--green-dark);
}

.sync-chip.online::before {
  background: var(--green);
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  background: #0b1320;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 0;
  background: #f0eee8;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-button {
  position: relative;
}

.notification-button.has-unread {
  color: var(--green-dark);
  background: #e4f5ef;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fffdf8;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 0 0 2px #fffdf8;
}

.role-top-button {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  background: #e4f5ef;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(0, 168, 112, 0.16);
}

.map-hero,
.tracking-map {
  position: relative;
  border-radius: 0 0 26px 26px;
  overflow: hidden;
  min-height: 230px;
  background:
    linear-gradient(35deg, rgba(0, 168, 112, 0.18), transparent 38%),
    linear-gradient(140deg, rgba(32, 111, 255, 0.18), transparent 42%),
    repeating-linear-gradient(28deg, transparent 0 23px, rgba(6, 31, 29, 0.10) 24px 26px),
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(185, 121, 18, 0.12) 39px 41px),
    #dfe7df;
}

.map-hero::before,
.tracking-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 253, 248, 0.52) 18% 21%, transparent 21% 100%),
    linear-gradient(0deg, transparent 0 44%, rgba(255, 253, 248, 0.55) 44% 47%, transparent 47% 100%);
  opacity: 0.8;
}

.map-hero {
  margin: 0 -18px 18px;
}

.driver-home-hero {
  background:
    linear-gradient(35deg, rgba(0, 168, 112, 0.24), transparent 40%),
    linear-gradient(140deg, rgba(32, 111, 255, 0.18), transparent 42%),
    repeating-linear-gradient(28deg, transparent 0 23px, rgba(6, 31, 29, 0.12) 24px 26px),
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(0, 168, 112, 0.14) 39px 41px),
    #dcece5;
}

.hero-overlay {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.hero-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.hero-title h1,
.page-title h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}

.hero-title p,
.page-title p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  line-height: 1.35;
}

.location-pill {
  align-self: flex-start;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 12px;
  box-shadow: var(--soft-shadow);
}

.sheet {
  margin-top: -42px;
  border-radius: 26px 26px 0 0;
  background: var(--paper);
  position: relative;
  padding-top: 22px;
}

.sheet::before {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #ddd8cf;
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}

.role-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: #f0eee8;
}

.role-switch button {
  min-height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.role-switch button.active {
  background: #fffefb;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(6, 31, 29, 0.08);
}

.role-switch + .driver-overview {
  margin-top: 0;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.mode-card {
  min-height: 128px;
  border-radius: 18px;
  background: linear-gradient(160deg, #092724, #183a46);
  color: #fffdf8;
  padding: 14px;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mode-card.secondary {
  background: linear-gradient(160deg, #10263a, #1f463d);
}

.mode-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 248, 0.10);
  font-size: 30px;
  font-weight: 900;
}

.mode-card strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
}

.mode-card span {
  color: rgba(255, 253, 248, 0.72);
  font-size: 12px;
  line-height: 1.25;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 10px;
}

.section-head.compact {
  margin: 0 0 10px;
}

.section-head h2 {
  margin: 0;
  font-size: 17px;
}

.text-link {
  background: transparent;
  color: var(--green-dark);
  font-weight: 800;
  padding: 4px;
}

.recent-list,
.job-list,
.timeline,
.profile-list {
  display: grid;
  gap: 10px;
}

.recent-item,
.job-card,
.driver-card,
.summary-card,
.profile-item,
.form-card,
.empty-state {
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(6, 31, 29, 0.03);
}

.recent-item,
.profile-item {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-align: left;
}

.recent-item .price {
  margin-left: auto;
  white-space: nowrap;
}

.profile-driver-card,
.profile-customer-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: #071f1d;
  color: #fffdf8;
  box-shadow: var(--soft-shadow);
}

.profile-customer-card {
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid var(--line);
}

.profile-driver-card strong,
.profile-driver-card small,
.profile-customer-card strong,
.profile-customer-card small {
  display: block;
}

.profile-driver-card small,
.profile-customer-card small {
  margin-top: 3px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.profile-driver-card small {
  color: rgba(255, 253, 248, 0.72);
}

.profile-customer-card small {
  color: var(--muted);
}

.profile-stats-grid,
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-stats-grid .wide {
  grid-column: 1 / -1;
}

.profile-readonly-card strong,
.profile-readonly-card small {
  display: block;
}

.profile-readonly-card strong {
  margin-top: 4px;
  font-size: 18px;
}

.profile-readonly-card small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.field:disabled {
  opacity: 1;
  background: #f7f5ef;
  color: var(--ink);
  cursor: default;
  -webkit-text-fill-color: var(--ink);
}

.dot-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #edf4f2;
  color: var(--green-dark);
  font-weight: 900;
}

.dot-icon.red {
  background: #fff0ee;
  color: var(--red);
}

.small-muted {
  color: var(--muted);
  font-size: 12px;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 12px 14px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(6, 31, 29, 0.07);
}

.nav-item {
  height: 50px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  font-size: 11px;
}

.nav-item.active {
  color: var(--ink);
  background: #edf4f2;
}

.page-title {
  padding: 10px 0 18px;
}

.notification-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-card {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefb;
  box-shadow: 0 1px 0 rgba(6, 31, 29, 0.03);
}

.notification-card.unread {
  border-color: rgba(0, 168, 112, 0.35);
  background: #f4fbf7;
}

.notification-card.danger {
  border-color: rgba(230, 57, 53, 0.28);
  background: #fff7f5;
}

.notification-card.success {
  border-color: rgba(0, 168, 112, 0.28);
  background: #f5fbf7;
}

.notification-card.warning {
  border-color: rgba(245, 158, 11, 0.34);
  background: #fffaf0;
}

.notification-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: #d8d5cd;
}

.notification-card.unread .notification-dot {
  background: var(--green);
}

.notification-card.danger .notification-dot {
  background: var(--red);
}

.notification-card.success .notification-dot {
  background: var(--green);
}

.notification-card.warning .notification-dot {
  background: #d97706;
}

.notification-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.notification-card-head strong {
  font-size: 15px;
}

.notification-card-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f0eee8;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.notification-card p {
  margin: 5px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.notification-card small {
  color: var(--muted);
  font-weight: 800;
}

.notification-ride-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.notifications-empty .primary-button {
  display: none;
}

.mode-chip-row,
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f0eee8;
  color: var(--ink-soft);
  font-weight: 800;
  border: 1px solid transparent;
}

.chip.active {
  background: #e8f7f1;
  color: var(--green-dark);
  border-color: rgba(0, 168, 112, 0.32);
}

.form-stack {
  display: grid;
  gap: 12px;
}

.form-card {
  padding: 12px;
}

.address-card {
  position: relative;
}

.field-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.field-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.field {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5ef;
  color: var(--ink);
  padding: 12px;
  outline: none;
}

.field:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 168, 112, 0.13);
}

textarea.field {
  min-height: 90px;
  resize: vertical;
}

.photo-form-card {
  display: grid;
  gap: 10px;
}

.photo-upload-card {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  border: 1px dashed rgba(0, 168, 112, 0.38);
  background: #eef8f3;
  color: var(--ink);
  cursor: pointer;
}

.photo-upload-card.has-photo {
  border-style: solid;
  background: #fffefb;
}

.photo-upload-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #061f1d;
  color: #fffdf8;
  font-size: 20px;
  font-weight: 900;
}

.photo-upload-text {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.photo-upload-text strong,
.photo-upload-text small {
  overflow-wrap: anywhere;
}

.photo-upload-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.photo-upload-action {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.photo-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.photo-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f7f5ef;
}

.address-suggestions {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.google-places-active .address-suggestions {
  display: none;
}

.address-suggestion {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  font-size: 13px;
  font-weight: 750;
}

.address-suggestion span:first-child {
  color: var(--green-dark);
  font-size: 16px;
}

.address-suggestion:hover {
  border-color: rgba(0, 168, 112, 0.35);
  background: #eef8f3;
}

.pac-container {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  margin-top: 6px;
  overflow: hidden;
  z-index: 9999 !important;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.pac-item {
  min-height: 42px;
  padding: 8px 10px;
  cursor: pointer;
}

.pac-item:hover {
  background: #eef8f3;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calculated-price-field {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.calculated-price-field strong {
  font-size: 20px;
  line-height: 1.1;
}

.calculated-price-field small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.estimate-card {
  background: #071f1d;
  color: #fffdf8;
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.estimate-card span {
  color: rgba(255, 253, 248, 0.70);
  font-size: 12px;
}

.estimate-card strong {
  font-size: 24px;
}

.estimate-breakdown {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
}

.estimate-breakdown span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.09);
  color: rgba(255, 253, 248, 0.78);
  font-weight: 800;
}

.order-preview {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius);
  background: #fffefb;
  border: 1px solid var(--line);
}

.preview-line {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
}

.preview-line span {
  color: var(--muted);
  font-weight: 800;
}

.preview-line strong {
  min-width: 0;
  color: var(--ink);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.preview-line.total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.preview-line.total strong {
  font-size: 16px;
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: 52px;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
}

.primary-button {
  width: 100%;
  background: var(--ink);
  color: #fffdf8;
}

.secondary-button {
  background: #e9f4f0;
  color: var(--green-dark);
}

.danger-button {
  background: #fff0ee;
  color: var(--red);
}

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button-stack {
  display: grid;
  gap: 10px;
}

.rating-panel {
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefb;
}

.rating-panel strong,
.rating-panel span {
  display: block;
}

.rating-panel strong {
  color: var(--ink);
}

.rating-panel span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.rating-stars {
  display: flex;
  gap: 8px;
}

.rating-star {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5ef;
  color: #cfc8bb;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

button.rating-star {
  cursor: pointer;
}

.rating-star.active {
  border-color: rgba(245, 166, 35, 0.35);
  background: #fff6db;
  color: #f5a623;
}

.file-button {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.proof-file-button {
  min-height: 46px;
}

.proof-panel {
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefb;
}

.proof-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.handoff-panel {
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefb;
}

.handoff-panel.confirmed {
  border-color: #b9ead8;
  background: #effaf5;
}

.handoff-panel p,
.handoff-panel span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.handoff-panel strong {
  color: var(--ink);
}

.handoff-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.handoff-code-card {
  padding: 12px;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  background: var(--surface);
}

.handoff-code-card.done {
  background: #effaf5;
}

.handoff-code-card span,
.handoff-code-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.handoff-code-card strong {
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.handoff-driver-panel {
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
}

.handoff-driver-copy {
  display: grid;
  gap: 3px;
}

.handoff-code-input {
  width: 96px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.handoff-code-input:focus {
  border-color: #11b87a;
  outline: 3px solid #d7f7ea;
}

.issue-card {
  padding: 14px;
  display: grid;
  gap: 4px;
  border: 1px solid #cde9de;
  border-radius: 8px;
  background: #eef9f4;
}

.issue-card strong {
  color: var(--green-dark);
  font-size: 16px;
}

.issue-card span,
.issue-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.issue-card.danger {
  border-color: #ffd5cf;
  background: #fff4f1;
}

.issue-card.danger strong {
  color: var(--red);
}

.proof-actions {
  display: grid;
  gap: 10px;
}

.proof-action-card {
  padding: 12px;
  display: grid;
  gap: 10px;
  border-radius: 8px;
  background: #f4f2ed;
  border: 1px solid transparent;
}

.proof-action-card.required {
  border-color: rgba(32, 111, 255, 0.24);
  background: #f2f6ff;
}

.proof-action-card.done {
  border-color: rgba(0, 168, 112, 0.24);
  background: #eff9f4;
}

.proof-action-main {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.proof-status-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8e5dd;
  color: var(--ink-soft);
  font-weight: 900;
}

.proof-action-card.required .proof-status-dot {
  background: var(--blue);
  color: #fffdf8;
}

.proof-action-card.done .proof-status-dot {
  background: var(--green);
  color: #fffdf8;
}

.proof-action-card strong,
.proof-action-card span,
.proof-action-card small {
  display: block;
}

.proof-action-card strong {
  color: var(--ink);
  font-size: 15px;
}

.proof-action-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.proof-action-card small {
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.proof-action-card.required small {
  color: #0b51d8;
}

.job-card {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.job-card.active-job {
  border-color: rgba(0, 168, 112, 0.34);
  background: linear-gradient(180deg, #fffefb, #f1faf6);
}

.job-card.available-job {
  border-color: rgba(0, 168, 112, 0.24);
}

.job-card.history-job {
  opacity: 0.86;
}

.job-card.cancelled-job {
  border-color: rgba(230, 57, 53, 0.24);
  background: #fff8f6;
}

.job-status-note {
  margin: -2px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f3ed;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.job-status-note.danger {
  background: #fff0ee;
  color: var(--red);
}

.driver-section {
  margin-bottom: 16px;
}

.driver-focus-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 168, 112, 0.24);
  border-radius: var(--radius);
  background: #fffefb;
  box-shadow: var(--soft-shadow);
}

.driver-focus-card.active {
  border-color: rgba(32, 111, 255, 0.26);
  background: linear-gradient(180deg, #fffefb, #f5f9ff);
}

.driver-focus-card.empty {
  border-color: var(--line);
  background: #f7f5ef;
}

.driver-focus-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.driver-focus-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.driver-focus-head span:first-child {
  min-width: 0;
}

.driver-focus-head small,
.driver-focus-grid small,
.driver-job-meta small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.driver-focus-head strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.driver-focus-grid,
.driver-job-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.driver-focus-card.active .driver-focus-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.driver-focus-grid span,
.driver-job-meta span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 8px;
  background: #f3f1ec;
}

.driver-focus-grid strong,
.driver-job-meta strong {
  font-size: 13px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.driver-proof-summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(32, 111, 255, 0.22);
  background: #f2f6ff;
}

.driver-proof-summary.complete {
  border-color: rgba(0, 168, 112, 0.24);
  background: #eff9f4;
}

.driver-proof-summary strong {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.driver-proof-summary small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.driver-filter-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.driver-filter-tabs button {
  min-width: 0;
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f0eee8;
  color: var(--ink);
  font-weight: 900;
}

.driver-filter-tabs button.active {
  background: var(--ink);
  color: #fffdf8;
  border-color: var(--ink);
}

.driver-filter-tabs small {
  color: inherit;
  opacity: 0.72;
  font-size: 11px;
}

.driver-job-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.driver-empty .primary-button {
  display: none;
}

.job-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 8px;
}

.job-actions .primary-button,
.job-actions .secondary-button {
  width: 100%;
}

.driver-overview {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: #071f1d;
  color: #fffdf8;
  box-shadow: var(--soft-shadow);
}

.driver-status-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
}

.driver-avatar {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fffdf8;
  font-weight: 900;
}

.driver-overview .small-muted {
  color: rgba(255, 253, 248, 0.70);
}

.driver-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.driver-metric {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.09);
}

.driver-metric strong,
.driver-metric span,
.driver-tip span,
.driver-tip strong,
.driver-tip small {
  display: block;
}

.driver-metric strong {
  font-size: 17px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.driver-metric span,
.driver-tip span,
.driver-tip small {
  color: rgba(255, 253, 248, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.driver-tip {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
}

.driver-tip strong,
.driver-tip small {
  overflow-wrap: anywhere;
}

.driver-wallet-button {
  min-height: 46px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.14);
  color: #fffdf8;
  border: 1px solid rgba(255, 253, 248, 0.18);
  font-weight: 900;
}

.driver-search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefb;
  box-shadow: 0 1px 0 rgba(6, 31, 29, 0.03);
}

.driver-search-head,
.driver-search-field.wide,
.driver-search-actions {
  grid-column: 1 / -1;
}

.driver-search-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.driver-search-head strong {
  font-size: 16px;
}

.driver-search-head small,
.driver-search-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.driver-search-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.driver-search-field input,
.driver-search-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5ef;
  color: var(--ink);
  padding: 0 11px;
  font-weight: 800;
}

.driver-search-field input:focus,
.driver-search-field select:focus {
  outline: 2px solid rgba(0, 168, 112, 0.24);
  border-color: rgba(0, 168, 112, 0.58);
  background: #fffefb;
}

.driver-search-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wallet-title {
  padding-bottom: 12px;
}

.wallet-balance-card {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 16px;
  border-radius: var(--radius);
  background: #071f1d;
  color: #fffdf8;
  box-shadow: var(--soft-shadow);
}

.wallet-balance-card span,
.wallet-balance-card small {
  color: rgba(255, 253, 248, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.wallet-balance-card strong {
  font-size: 30px;
  line-height: 1;
}

.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.stripe-connect-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(69, 97, 181, 0.18);
  border-radius: var(--radius);
  background: #f6f8ff;
}

.stripe-connect-card.ready {
  border-color: rgba(0, 168, 112, 0.2);
  background: #eef8f4;
}

.stripe-connect-card.compact {
  margin-bottom: 12px;
}

.stripe-connect-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.stripe-connect-head small,
.stripe-connect-head strong {
  display: block;
}

.stripe-connect-head small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.stripe-connect-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.wallet-stat,
.wallet-info-card,
.wallet-entry {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffefb;
}

.wallet-stat {
  min-height: 86px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 12px;
}

.wallet-stat.wide {
  grid-column: 1 / -1;
}

.wallet-stat span,
.wallet-stat small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.wallet-stat strong {
  font-size: 18px;
}

.wallet-info-card {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
}

.wallet-info-card h2,
.wallet-info-card p {
  margin: 0;
}

.wallet-info-card p {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.wallet-list {
  display: grid;
  gap: 10px;
}

.wallet-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
}

.wallet-entry.pending {
  border-color: rgba(32, 111, 255, 0.26);
}

.wallet-entry.released,
.wallet-entry.paid {
  border-color: rgba(0, 168, 112, 0.28);
}

.wallet-entry strong,
.wallet-entry small {
  display: block;
  overflow-wrap: anywhere;
}

.wallet-entry strong {
  margin-top: 5px;
}

.wallet-entry small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.wallet-amount {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.stat-card {
  min-height: 70px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border-radius: var(--radius);
  background: #fffefb;
  border: 1px solid var(--line);
}

.stat-card.wide {
  grid-column: 1 / -1;
}

.stat-card strong {
  font-size: 18px;
}

.stat-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.job-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.job-main h3 {
  margin: 0;
  font-size: 17px;
}

.price {
  font-weight: 900;
  font-size: 18px;
}

.route {
  display: grid;
  gap: 8px;
}

.route-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
}

.route-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 3px;
  border: 4px solid var(--blue);
}

.route-marker.end {
  border-color: var(--red);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f0eee8;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.tag.green {
  background: #e3f8ef;
  color: var(--green-dark);
}

.tag.blue {
  background: #eaf0ff;
  color: #0b51d8;
}

.tag.red {
  background: #fff0ee;
  color: var(--red);
}

.tag.warning {
  background: #fff2c2;
  color: #725000;
}

.tag.orange {
  background: #fff2c2;
  color: #725000;
}

.tag.success {
  background: #d9f8eb;
  color: var(--green-dark);
}

.tag.neutral {
  background: #f0eee8;
  color: var(--ink-soft);
}

.tag.danger {
  background: #ffe7e2;
  color: var(--red);
}

.tracking-map {
  margin: 0 -18px 0;
  min-height: 310px;
  border-radius: 0;
}

.route-path {
  position: absolute;
  left: 22%;
  top: 34%;
  right: 18%;
  height: 90px;
  border-left: 5px solid rgba(32, 111, 255, 0.78);
  border-bottom: 5px solid rgba(32, 111, 255, 0.78);
  border-bottom-left-radius: 34px;
}

.map-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--blue);
  box-shadow: var(--soft-shadow);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fffdf8;
}

.map-pin.start {
  left: 19%;
  top: 29%;
}

.map-pin.end {
  right: 13%;
  top: 57%;
  background: var(--red);
}

.driver-bubble {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #061f1d;
  color: #fffdf8;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.tracking-status-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 58px;
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(6, 31, 29, 0.10);
  box-shadow: 0 16px 38px rgba(6, 31, 29, 0.15);
}

.tracking-status-card .tag {
  width: fit-content;
}

.tracking-status-card strong {
  font-size: 18px;
}

.tracking-status-card > span:last-child {
  color: var(--ink-soft);
  font-size: 13px;
}

.tracking-sheet {
  margin: -42px 0 0;
  border-radius: 26px 26px 0 0;
  padding: 22px 0 0;
  background: var(--paper);
  position: relative;
}

.tracking-sheet::before {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #ddd8cf;
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}

.summary-card,
.driver-card {
  padding: 14px;
}

.detail-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: #fffefb;
  border: 1px solid var(--line);
}

.detail-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.detail-item {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f7f5ef;
}

.detail-item span,
.detail-route span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 3px;
}

.detail-item strong,
.detail-route strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.payment-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #eef8f4;
  border: 1px solid rgba(0, 168, 112, 0.18);
}

.payment-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.payment-row span {
  min-width: 0;
}

.payment-row.driver {
  padding-top: 8px;
  border-top: 1px solid rgba(0, 99, 69, 0.12);
}

.payment-row small,
.payment-row strong,
.payment-row em {
  display: block;
}

.payment-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.payment-row strong {
  color: var(--ink);
  line-height: 1.2;
}

.payment-row em {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.25;
}

.payment-amount {
  white-space: nowrap;
  font-size: 18px;
}

.payment-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.stripe-reference {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.detail-route {
  display: grid;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.photo-grid {
  display: grid;
  gap: 10px;
}

.photo-card {
  margin: 0;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius);
  background: #fffefb;
  border: 1px solid var(--line);
}

.photo-card img {
  width: 92px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  background: #f7f5ef;
}

.photo-card figcaption {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.photo-card strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.photo-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.driver-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
}

.driver-card > span {
  min-width: 0;
}

.driver-card.pending-driver {
  grid-template-columns: 54px 1fr;
}

.driver-card-rich {
  grid-template-columns: 54px 1fr auto;
}

.driver-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.driver-card-actions .icon-button {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.mini-action-button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  background: #e8f4ef;
  color: var(--green-dark);
  font-weight: 900;
}

.mini-action-button:active,
.mini-action-button:hover {
  background: #d9eee6;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #071f1d, #206fff);
  color: #fffdf8;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.driver-card h3,
.summary-card h3 {
  margin: 0 0 4px;
}

.chat-title {
  margin-bottom: 12px;
}

.chat-context-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(6, 31, 29, 0.03);
}

.chat-context-card > div {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.chat-context-card strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.chat-context-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chat-route {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  background: #f3f1ec;
  border-radius: var(--radius);
}

.chat-route span {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.chat-route strong {
  color: var(--ink);
  font-size: 13px;
}

.chat-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.chat-quick-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  background: #f7f5ef;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chat-quick-head {
  display: grid;
  gap: 2px;
}

.chat-quick-head strong {
  font-size: 15px;
}

.chat-quick-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.chat-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chat-quick-button {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 10px 11px;
  text-align: left;
  color: var(--ink);
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(6, 31, 29, 0.03);
}

.chat-quick-button span {
  font-size: 13px;
  font-weight: 900;
}

.chat-quick-button small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.chat-empty {
  display: grid;
  gap: 4px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: #f7f5ef;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
}

.chat-empty strong {
  color: var(--ink);
}

.chat-message {
  display: flex;
}

.chat-message.own {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 82%;
  padding: 11px 12px;
  background: #f3f1ec;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.chat-message.own .chat-bubble {
  background: var(--ink);
  border-color: var(--ink);
  color: #fffdf8;
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.chat-message.own .chat-meta {
  color: rgba(255, 253, 248, 0.72);
}

.chat-bubble p {
  margin: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.chat-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.chat-field {
  min-height: 62px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e4e2db;
  color: #fffdf8;
  font-size: 13px;
  font-weight: 900;
}

.timeline-item.done .timeline-dot {
  background: var(--green);
}

.timeline-item.active .timeline-dot {
  background: var(--blue);
}

.timeline-item.cancelled .timeline-dot {
  background: var(--red);
}

.timeline-item strong {
  display: block;
  margin-bottom: 2px;
}

.empty-state {
  padding: 24px 16px;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 6px;
}

.business-home-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  margin: 0 0 16px;
  border: 1px solid rgba(183, 121, 18, 0.24);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 8px 18px rgba(6, 31, 29, 0.06);
}

.business-intro-card,
.business-setup-card {
  border-color: var(--line);
  background: #fffdf8;
  box-shadow: none;
}

.business-command-card {
  border-color: rgba(183, 121, 18, 0.34);
  background:
    linear-gradient(135deg, rgba(9, 39, 36, 0.08), rgba(255, 242, 194, 0.86) 56%),
    #fffdf8;
}

.business-command-card .business-rail {
  background: linear-gradient(180deg, #092724, #17423f);
}

.business-rail {
  width: 56px;
  min-height: 74px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #092724;
  color: #fffdf8;
  font-size: 12px;
  font-weight: 900;
}

.business-card-main {
  display: grid;
  gap: 4px;
}

.business-topline {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.business-card-main .business-tag,
.business-request-note .business-tag {
  width: fit-content;
}

.business-topline small {
  font-weight: 900;
  color: var(--gold);
}

.business-card-main h3 {
  margin: 2px 0 0;
  font-size: 19px;
  line-height: 1.1;
}

.business-card-main p,
.business-card-main small {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.business-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.business-mini-stats span {
  border-radius: 8px;
  padding: 8px;
  background: rgba(9, 39, 36, 0.06);
}

.business-mini-stats strong,
.business-mini-stats small {
  display: block;
}

.business-mini-stats strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}

.business-quick-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.business-link-button,
.business-action-chip {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
}

.business-link-button {
  grid-column: 2;
  background: #fff2c2;
  color: #725000;
}

.business-command-card .business-link-button {
  background: #092724;
  color: #fffdf8;
}

.business-action-chip {
  background: #f5f0e4;
  color: var(--ink);
  border: 1px solid rgba(183, 121, 18, 0.18);
}

.business-action-chip span {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fffdf8;
  color: var(--gold);
}

.business-tag {
  background: #fff2c2;
  color: #725000;
}

.company-title .business-tag {
  width: fit-content;
  margin-bottom: 8px;
}

.company-identity-panel,
.company-setup-panel,
.company-empty-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 123, 92, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224, 248, 240, 0.78), rgba(255, 253, 248, 0.98) 58%),
    #fffdf8;
}

.company-identity-panel.needs-setup,
.company-setup-panel {
  border-color: rgba(183, 121, 18, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 242, 194, 0.7), rgba(255, 253, 248, 0.98) 56%),
    #fffdf8;
}

.company-identity-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.company-identity-head small,
.company-stat span,
.company-template-card small,
.company-setup-panel p,
.company-empty-panel p,
.company-ride-row small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.company-identity-head h2,
.company-setup-panel h2,
.company-empty-panel h2 {
  margin: 2px 0 0;
  font-size: 23px;
  line-height: 1.05;
}

.company-address-stack {
  display: grid;
  gap: 8px;
}

.company-address-stack span {
  display: block;
  padding: 10px;
  border: 1px solid rgba(9, 39, 36, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  font-weight: 850;
}

.company-address-stack strong {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.company-edit-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #092724;
  color: #fffdf8;
  font-weight: 900;
  cursor: pointer;
}

.company-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 16px;
}

.company-stat {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.company-stat strong {
  display: block;
  margin: 2px 0;
  font-size: 22px;
  line-height: 1;
}

.company-stat small,
.company-stat span {
  display: block;
}

.company-quick-section {
  margin-bottom: 18px;
}

.company-template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.company-template-card {
  min-height: 116px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(0, 123, 92, 0.18);
  border-radius: 8px;
  background: #f5fbf7;
  color: var(--ink);
  cursor: pointer;
}

.company-template-card span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #092724;
  color: #fffdf8;
  font-weight: 900;
}

.company-template-card strong {
  font-size: 17px;
  line-height: 1.05;
}

.company-order-list {
  display: grid;
  gap: 10px;
}

.company-ride-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.company-ride-row h3 {
  margin: 6px 0 2px;
  font-size: 18px;
  line-height: 1.08;
}

.company-ride-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.company-ride-side strong {
  font-size: 18px;
}

.company-empty-list {
  border: 1px dashed rgba(0, 123, 92, 0.24);
  border-radius: 8px;
  background: #f7fbf8;
}

.company-setup-list {
  display: grid;
  gap: 8px;
}

.company-setup-list span {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 850;
}

.company-setup-list strong {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff2c2;
  color: #725000;
  font-size: 13px;
}

.company-setup-list .done strong {
  background: var(--green);
  color: #fffdf8;
}

.business-request-note {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid rgba(183, 121, 18, 0.28);
  border-radius: 8px;
  background: #fff9e7;
}

.business-request-note strong {
  font-size: 17px;
  line-height: 1.15;
}

.business-request-note small {
  color: var(--muted);
  font-weight: 750;
}

.business-request-preset {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 109, 79, 0.08);
}

.business-request-preset span {
  color: var(--green-strong);
  font-size: 14px;
  font-weight: 900;
}

.business-request-preset em {
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.account-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-type-toggle label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  cursor: pointer;
}

.account-type-toggle label.active,
.account-type-toggle label:has(input:checked) {
  border-color: rgba(0, 168, 112, 0.34);
  background: #f0fbf6;
}

.account-type-toggle input,
.business-check-card input {
  accent-color: var(--green-dark);
}

.account-type-toggle span,
.business-check-card span {
  display: grid;
  gap: 2px;
}

.account-type-toggle small,
.business-check-card small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.account-choice-card {
  order: -1;
}

.private-profile-fields,
.business-profile-fields {
  display: none;
  gap: 10px;
}

#customer-profile-form:has(input[name="accountType"][value="private"]:checked) .private-profile-fields,
#customer-profile-form:has(input[name="accountType"][value="business"]:checked) .business-profile-fields {
  display: grid;
  gap: 10px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field-label-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.company-address-card,
.company-pickup-address-card {
  display: grid;
  gap: 10px;
}

.company-field {
  display: grid;
  gap: 6px;
}

.sub-field-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.company-address-grid,
.company-pickup-address-grid {
  display: grid;
  grid-template-columns: minmax(88px, 0.42fr) 1fr;
  gap: 8px;
}

.company-address-suggestions,
.company-pickup-address-suggestions {
  margin-top: 0;
}

.mini-copy-button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #e7f4ef;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.mini-copy-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.business-check-card {
  grid-template-columns: auto 1fr;
  align-items: start;
  cursor: pointer;
}

.business-check-card input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.business-job-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8df;
  color: #705400;
  font-weight: 850;
  line-height: 1.35;
}

.help-button.active,
.icon-button.active {
  background: #e4f6ef;
  color: var(--green-dark);
  border-color: #a9ded0;
}

.support-title {
  margin-bottom: 12px;
}

.readiness-panel,
.support-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 0 rgba(6, 31, 29, 0.04);
}

.readiness-panel.complete {
  border-color: rgba(0, 169, 117, 0.28);
  background: #f3fbf7;
}

.readiness-head,
.support-panel-head {
  display: grid;
  gap: 8px;
}

.readiness-head {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.readiness-head h2,
.support-panel h2 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.12;
}

.readiness-head p,
.support-panel p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-weight: 740;
  line-height: 1.35;
}

.readiness-head > strong {
  min-width: 54px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fffdf8;
  font-size: 18px;
  font-weight: 900;
}

.readiness-meter {
  height: 8px;
  border-radius: 999px;
  background: #eeeae2;
  overflow: hidden;
}

.readiness-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.readiness-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.readiness-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: center;
  padding: 9px;
  border-radius: 8px;
  background: #f5f2eb;
}

.readiness-item > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff8df;
  color: #8a6400;
  font-weight: 900;
}

.readiness-item.done > span {
  background: #d9f8eb;
  color: var(--green-dark);
}

.readiness-item strong,
.readiness-item small,
.support-step strong,
.support-step small {
  display: block;
}

.readiness-item small,
.support-step small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.support-panel.urgent {
  background: #fff7f5;
  border-color: #ffd0c8;
}

.support-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.support-step-list {
  display: grid;
  gap: 10px;
}

.support-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
}

.support-step > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e9f2ff;
  color: #1266ea;
  font-weight: 900;
}

.support-check-grid {
  display: grid;
  gap: 8px;
}

.support-check-grid div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border-radius: 8px;
  background: #eef8f4;
}

.support-check-grid span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fffdf8;
  font-weight: 900;
}

.support-check-grid strong {
  line-height: 1.25;
}

.launch-title {
  margin-bottom: 12px;
}

.launch-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: #061f1d;
  color: #fffdf8;
}

.launch-summary h2 {
  margin: 6px 0 0;
  font-size: 34px;
  line-height: 1;
}

.launch-summary p {
  margin: 4px 0 0;
  color: rgba(255, 253, 248, 0.76);
  font-weight: 800;
}

.launch-meter {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.launch-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.launch-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.launch-stats div {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.launch-stats strong,
.launch-stats small {
  display: block;
}

.launch-stats strong {
  font-size: 20px;
}

.launch-stats small {
  margin-top: 3px;
  color: rgba(255, 253, 248, 0.74);
  font-weight: 800;
  line-height: 1.25;
}

.launch-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.launch-check-list {
  display: grid;
  gap: 9px;
}

.launch-check-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
}

.launch-check-card.done {
  border-color: rgba(0, 169, 117, 0.28);
  background: #f4fbf7;
}

.launch-check-card.open {
  border-color: #f2dfac;
  background: #fffaf0;
}

.launch-check-card.manual {
  border-color: #ffd3ca;
  background: #fff8f6;
}

.launch-check-card.optional {
  background: #f7f6f1;
}

.launch-check-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eeeae2;
  color: var(--ink);
  font-weight: 900;
}

.launch-check-card.done .launch-check-icon {
  background: #d9f8eb;
  color: var(--green-dark);
}

.launch-check-card.open .launch-check-icon {
  background: #fff1bf;
  color: #8a6400;
}

.launch-check-card.manual .launch-check-icon {
  background: #ffe0da;
  color: #d93025;
}

.launch-check-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 3px;
}

.launch-check-head span,
.launch-check-head strong {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
}

.launch-check-head strong {
  color: var(--green-dark);
}

.launch-check-card.manual .launch-check-head strong {
  color: #d93025;
}

.launch-check-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
}

.launch-check-card p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-weight: 750;
  line-height: 1.32;
}

.launch-next-step {
  margin-top: 2px;
}

.toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 78px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #071f1d;
  color: #fffdf8;
  font-weight: 800;
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
  z-index: 10;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 410px) {
  .launch-stats,
  .launch-action-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 860px) {
  .app-shell {
    align-items: center;
  }

  .phone {
    min-height: 852px;
  }
}

@media (max-width: 410px) {
  .app-shell {
    padding: 0;
  }

  .topbar {
    padding: 8px 12px;
  }

  .brand {
    gap: 6px;
    font-size: 18px;
  }

  .mark {
    width: 30px;
    height: 30px;
  }

  .topbar-actions {
    gap: 4px;
  }

  .topbar .icon-button {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .role-top-button {
    min-height: 38px;
    padding: 0 7px;
    font-size: 11px;
  }

  .phone {
    min-height: 100vh;
    border-radius: 0;
    border: 0;
    width: 100vw;
  }

  .two-col,
  .button-row,
  .job-actions,
  .account-card,
  .account-type-toggle,
  .business-quick-grid,
  .business-mini-stats,
  .company-stats-grid,
  .company-template-grid,
  .company-ride-row,
  .company-address-grid,
  .company-pickup-address-grid,
  .readiness-list {
    grid-template-columns: 1fr;
  }

  .company-ride-side {
    justify-items: start;
  }
}
