:root {
  --ink: #102a2e;
  --ink-soft: #52666a;
  --muted: #748589;
  --line: #dfe8e5;
  --surface: #ffffff;
  --surface-soft: #f4f8f6;
  --canvas: #edf3f0;
  --forest: #073c42;
  --forest-2: #0a4f4c;
  --green: #1c8c6a;
  --green-deep: #127354;
  --green-soft: #e6f5ef;
  --lime: #c8f26b;
  --lime-soft: #eefbcf;
  --amber: #e69428;
  --amber-soft: #fff4df;
  --red: #cf4a4a;
  --red-soft: #fff0ef;
  --blue: #3779c3;
  --blue-soft: #e9f3ff;
  --shadow: 0 14px 40px rgba(10, 47, 48, .075);
  --shadow-small: 0 6px 22px rgba(10, 47, 48, .07);
  --radius: 18px;
  --radius-small: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

button:not(:disabled),
label,
select {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: .58;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: 248px;
  padding: 28px 18px 20px;
  overflow-y: auto;
  flex-direction: column;
  background: var(--forest);
  color: #fff;
}

.brand,
.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand {
  margin: 0 10px 38px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  background: var(--lime);
  box-shadow: 0 6px 18px rgba(200, 242, 107, .15);
  color: var(--forest);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.brand-mark::after {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--forest);
  border-radius: 50%;
  background: #fff;
  content: "";
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 19px;
  letter-spacing: -.04em;
}

.brand-copy small {
  margin-top: 5px;
  color: #9bc1bd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}

.side-nav {
  display: grid;
  gap: 7px;
}

.nav-item {
  position: relative;
  display: flex;
  min-height: 49px;
  padding: 0 14px;
  align-items: center;
  gap: 13px;
  border-radius: 12px;
  background: transparent;
  color: #a9cac7;
  font-weight: 650;
  text-align: left;
  transition: background .2s, color .2s, transform .2s;
}

.nav-item svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.9;
}

.nav-item:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.nav-item.is-active {
  background: rgba(200, 242, 107, .13);
  color: var(--lime);
}

.nav-item.is-active::before {
  position: absolute;
  left: -18px;
  width: 4px;
  height: 25px;
  border-radius: 0 5px 5px 0;
  background: var(--lime);
  content: "";
}

.nav-count {
  display: grid;
  min-width: 21px;
  height: 21px;
  margin-left: auto;
  padding: 0 6px;
  place-items: center;
  border-radius: 20px;
  background: var(--lime);
  color: var(--forest);
  font-size: 10px;
  font-weight: 850;
}

.side-spacer {
  flex: 1;
  min-height: 40px;
}

.support-card {
  display: grid;
  width: 100%;
  padding: 13px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  color: #fff;
  text-align: left;
}

.support-card:hover {
  background: rgba(255, 255, 255, .08);
}

.support-card > span:nth-child(2) {
  display: grid;
}

.support-card strong {
  font-size: 12px;
}

.support-card small {
  margin-top: 2px;
  color: #87aaa7;
  font-size: 10px;
}

.support-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(200, 242, 107, .13);
  color: var(--lime);
}

.support-icon svg {
  width: 17px;
}

.support-arrow {
  width: 14px;
  color: #769d99;
}

.side-profile {
  display: flex;
  margin-top: 16px;
  padding: 16px 7px 0;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #dff8ad, var(--lime));
  color: var(--forest);
  font-size: 12px;
  font-weight: 850;
}

.side-profile-copy {
  display: grid;
  min-width: 0;
  flex: 1;
}

.side-profile-copy strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-profile-copy small {
  color: #7fa4a0;
  font-size: 9px;
  text-transform: uppercase;
}

.verified-dot {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
}

.verified-dot svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.main-shell {
  min-height: 100vh;
  margin-left: 248px;
}

.topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  height: 82px;
  padding: 0 36px;
  align-items: center;
  border-bottom: 1px solid rgba(203, 218, 214, .75);
  background: rgba(244, 248, 246, .92);
  backdrop-filter: blur(18px);
}

.topbar-copy {
  display: grid;
  line-height: 1.25;
}

.topbar-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.topbar-copy h1 {
  margin: 3px 0 0;
  font-size: 20px;
  letter-spacing: -.035em;
}

.mobile-brand {
  display: none;
}

.top-actions {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.sync-state {
  display: inline-flex;
  margin-right: 4px;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.sync-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(28, 140, 106, .1);
}

.sync-state.is-error i {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(207, 74, 74, .1);
}

.sync-state.is-loading i {
  background: var(--amber);
  animation: pulse 1.1s infinite;
}

.icon-button {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: #52676a;
  transition: .2s ease;
}

.icon-button:hover {
  border-color: #bdd0cc;
  color: var(--forest);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.icon-button.has-dot > span {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: #ef7b48;
}

.availability-control {
  display: flex;
  min-width: 148px;
  height: 48px;
  margin-left: 6px;
  padding: 0 7px 0 13px;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  transition: .25s ease;
}

.availability-control.is-online {
  border-color: #afd8c9;
  background: #f5fcf9;
}

.availability-label {
  display: grid;
  line-height: 1.15;
}

.availability-label strong {
  font-size: 12px;
}

.availability-label small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.availability-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch {
  display: flex;
  width: 49px;
  height: 29px;
  padding: 3px;
  align-items: center;
  border-radius: 20px;
  background: #d8e2df;
  transition: .25s ease;
}

.switch i {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(14, 45, 46, .16);
  color: #9aaba8;
  transition: .25s ease;
}

.switch svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

.availability-control input:checked + .switch {
  background: var(--green);
}

.availability-control input:checked + .switch i {
  color: var(--green);
  transform: translateX(20px);
}

.view {
  max-width: 1640px;
  margin: 0 auto;
  padding: 30px 36px 46px;
  animation: viewIn .28s ease both;
}

.view:not(.is-active) {
  display: none;
}

.status-banner {
  display: flex;
  margin-bottom: 24px;
  padding: 14px 16px;
  align-items: center;
  gap: 13px;
  border: 1px solid #c4e0d5;
  border-radius: 14px;
  background: #eaf8f2;
}

.status-banner-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #d3eee4;
  color: var(--green-deep);
}

.status-banner-icon svg {
  width: 20px;
}

.status-banner > div {
  flex: 1;
}

.status-banner strong {
  display: block;
  font-size: 13px;
}

.status-banner p {
  margin: 2px 0 0;
  color: #55716b;
  font-size: 11px;
}

.location-status.is-loading {
  border-color: #cbdde9;
  background: #f3f8fb;
}

.location-status.is-loading .status-banner-icon {
  background: #e0eef7;
  color: #276581;
}

.location-status.is-loading .status-banner-icon svg {
  animation: pulse 1.4s ease-in-out infinite;
}

.location-status.is-live {
  border-color: #b8decf;
  background: #f5fcf9;
}

.location-status.is-error {
  border-color: #efc9bf;
  background: #fff7f4;
}

.location-status.is-error .status-banner-icon {
  background: #f9dfd8;
  color: #a73f2f;
}

.location-status.is-error p {
  color: #7b4b42;
}

.welcome-row,
.page-intro {
  display: flex;
  margin-bottom: 24px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.welcome-row h2,
.page-intro h2 {
  margin: 3px 0 2px;
  font-size: clamp(24px, 2.2vw, 33px);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.welcome-row > div > p:last-child,
.page-intro > div > p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
}

.eyebrow,
.section-eyebrow,
.heading-kicker {
  margin: 0;
  color: var(--green-deep);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.road-status,
.secure-pill,
.verification-pill {
  display: inline-flex;
  min-height: 34px;
  padding: 0 13px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.road-status i,
.verification-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9eaaa8;
  box-shadow: 0 0 0 4px rgba(158, 170, 168, .13);
}

.road-status.is-online {
  border-color: #b8decf;
  background: #f5fcf9;
  color: var(--green-deep);
}

.road-status.is-online i,
.verification-pill.is-verified i {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(28, 140, 106, .12);
}

.secure-pill {
  color: var(--green-deep);
}

.secure-pill svg {
  width: 16px;
}

.metric-grid {
  display: grid;
  margin-bottom: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  position: relative;
  min-height: 151px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(216, 227, 223, .9);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.metric-card::after {
  position: absolute;
  right: -25px;
  bottom: -48px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(12, 77, 73, .025);
  border-radius: 50%;
  content: "";
}

.metric-primary {
  border-color: transparent;
  background: linear-gradient(145deg, var(--forest), #0c5651);
  color: #fff;
}

.metric-primary::after {
  border-color: rgba(200, 242, 107, .07);
}

.metric-top {
  display: flex;
  margin-bottom: 13px;
  align-items: center;
  justify-content: space-between;
}

.metric-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
}

.metric-primary .metric-icon {
  background: rgba(200, 242, 107, .14);
  color: var(--lime);
}

.metric-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.metric-icon.yellow {
  background: #fff8d5;
  color: #e0a20c;
}

.metric-icon.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.metric-icon svg {
  width: 18px;
  height: 18px;
}

.metric-trend {
  padding: 4px 7px;
  border-radius: 20px;
  background: rgba(200, 242, 107, .13);
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
}

.metric-caption {
  color: #91a09d;
  font-size: 9px;
  font-weight: 650;
}

.metric-card > p {
  margin: 0 0 1px;
  color: var(--muted);
  font-size: 11px;
}

.metric-primary > p,
.metric-primary > small {
  color: #9fc4c0;
}

.metric-card > strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.metric-card > strong em {
  color: #9aa8a5;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0;
}

.metric-card > small {
  display: block;
  margin-top: 4px;
  color: #91a09d;
  font-size: 9px;
}

.mini-link {
  display: inline-flex;
  min-height: 28px;
  padding: 4px 1px;
  align-items: center;
  gap: 2px;
  background: transparent;
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 750;
}

.mini-link:hover {
  color: var(--forest);
  text-decoration: underline;
}

.mini-link svg {
  width: 13px;
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
  gap: 20px;
}

.overview-main,
.overview-side {
  display: grid;
  align-content: start;
  gap: 20px;
}

.panel {
  border: 1px solid rgba(216, 227, 223, .95);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.active-job-panel,
.request-panel,
.earnings-panel,
.rating-panel,
.payout-card,
.profile-form,
.kyc-form,
.payout-history-panel {
  padding: 20px;
}

.section-heading {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.section-heading h3,
.dialog-head h3 {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.heading-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
}

.heading-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(28, 140, 106, .11);
  animation: pulse 1.8s infinite;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button svg {
  width: 16px;
  height: 16px;
}

.button-primary {
  background: var(--forest);
  box-shadow: 0 8px 18px rgba(7, 60, 66, .16);
  color: #fff;
}

.button-primary:hover:not(:disabled) {
  background: var(--forest-2);
}

.button-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
}

.button-ghost:hover:not(:disabled) {
  border-color: #bad0ca;
  color: var(--forest);
}

.button-danger-ghost {
  border: 1px solid #f0d4d1;
  background: #fff;
  color: var(--red);
}

.button-light {
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 3px 10px rgba(20, 90, 74, .08);
}

.button-small {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 10px;
}

.button-block {
  width: 100%;
}

.active-job-content > .empty-state {
  min-height: 211px;
}

.empty-state {
  display: flex;
  min-height: 250px;
  padding: 25px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed #d0ded9;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
}

.empty-state > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-deep);
}

.empty-state h4 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.empty-state p {
  max-width: 300px;
  margin: 4px 0 0;
  font-size: 10px;
}

.active-route-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 20px;
}

.active-route-main {
  min-width: 0;
}

.job-id-row {
  display: flex;
  margin-bottom: 14px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.status-chip {
  display: inline-flex;
  min-height: 23px;
  padding: 0 8px;
  align-items: center;
  border-radius: 20px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.status-chip.pending,
.status-chip.requested {
  background: var(--amber-soft);
  color: #a36511;
}

.status-chip.cancelled,
.status-chip.rejected {
  background: var(--red-soft);
  color: var(--red);
}

.status-chip.completed,
.status-chip.delivered,
.status-chip.paid,
.status-chip.approved {
  background: var(--green-soft);
  color: var(--green-deep);
}

.status-chip.accepted,
.status-chip.picked_up,
.status-chip.in_transit,
.status-chip.processing {
  background: var(--blue-soft);
  color: var(--blue);
}

.route-points {
  position: relative;
  display: grid;
  gap: 14px;
}

.route-points::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 7px;
  border-left: 1px dashed #acc1bc;
  content: "";
}

.route-point {
  position: relative;
  display: grid;
  padding-left: 28px;
}

.route-point::before {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 2px;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
  content: "";
}

.route-point.dropoff::before {
  border-radius: 3px;
  background: var(--forest);
  box-shadow: 0 0 0 1px var(--forest);
}

.route-point small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-point strong {
  overflow: hidden;
  margin-top: 1px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-point span {
  color: var(--muted);
  font-size: 9px;
}

.active-route-side {
  display: flex;
  padding: 14px;
  justify-content: space-between;
  flex-direction: column;
  border-radius: 13px;
  background: var(--surface-soft);
}

.active-route-map-wrap {
  --pb-map-heading-layer: 1002;
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e9ece6;
}

.active-map-heading {
  position: absolute;
  z-index: var(--pb-map-heading-layer);
  top: 12px;
  left: 12px;
  display: grid;
  max-width: calc(100% - 82px);
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 9px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-small);
  pointer-events: none;
}

.active-route-map-wrap .pb-map-status {
  top: 96px;
}

.active-map-heading span {
  font-size: 13px;
  font-weight: 850;
}

.active-map-heading small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.driver-route-map {
  min-height: 290px;
}

.map-unavailable {
  display: grid;
  min-height: 290px;
  place-content: center;
  gap: 4px;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.map-unavailable strong {
  color: var(--ink);
}

.active-fare {
  display: grid;
}

.active-fare small {
  color: var(--muted);
  font-size: 9px;
}

.active-fare strong {
  font-size: 23px;
  letter-spacing: -.04em;
}

.active-job-actions {
  display: grid;
  gap: 8px;
}

.active-job-actions .button {
  width: 100%;
}

.request-list {
  display: grid;
  gap: 11px;
}

.request-card {
  display: grid;
  padding: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.request-card:hover {
  border-color: #bfd2cd;
  box-shadow: 0 8px 24px rgba(12, 66, 64, .06);
  transform: translateY(-1px);
}

.request-main {
  min-width: 0;
}

.request-top {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  gap: 8px;
}

.request-top strong {
  font-size: 11px;
}

.request-top small {
  color: var(--muted);
  font-size: 8px;
}

.request-route {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 10px;
}

.request-route span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-route i {
  display: inline-block;
  width: 20px;
  height: 1px;
  flex: 0 0 auto;
  background: #bdcbc8;
}

.request-meta {
  display: flex;
  margin-top: 9px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
}

.request-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.request-meta svg {
  width: 12px;
  height: 12px;
}

.request-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fare-column {
  min-width: 70px;
  margin-right: 4px;
  text-align: right;
}

.fare-column strong {
  display: block;
  font-size: 15px;
}

.fare-column small {
  color: var(--muted);
  font-size: 8px;
}

.list-skeleton {
  display: grid;
  height: 76px;
  padding: 14px;
  grid-template-columns: 38px 1fr 90px;
  align-items: center;
  gap: 12px;
  border: 1px solid #e9efed;
  border-radius: 13px;
}

.list-skeleton i,
.list-skeleton span,
.list-skeleton b {
  display: block;
  border-radius: 7px;
  background: linear-gradient(90deg, #edf2f0 25%, #f6f9f8 50%, #edf2f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.list-skeleton i {
  width: 38px;
  height: 38px;
}

.list-skeleton span {
  width: 74%;
  height: 11px;
}

.list-skeleton b {
  height: 30px;
}

.earnings-panel .section-heading > strong {
  font-size: 17px;
  letter-spacing: -.04em;
}

.earnings-chart {
  display: flex;
  height: 142px;
  padding: 15px 4px 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(to bottom, transparent 32%, #edf1f0 33%, transparent 34%, transparent 65%, #edf1f0 66%, transparent 67%);
}

.chart-bar-wrap {
  display: flex;
  height: 100%;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 6px;
}

.chart-bar-wrap i {
  position: relative;
  width: min(21px, 80%);
  min-height: 4px;
  border-radius: 7px 7px 2px 2px;
  background: #afd9c8;
  transition: height .5s ease;
}

.chart-bar-wrap.today i {
  background: var(--green);
  box-shadow: 0 5px 11px rgba(28, 140, 106, .18);
}

.chart-bar-wrap i:hover::before {
  position: absolute;
  top: -24px;
  left: 50%;
  padding: 3px 5px;
  border-radius: 4px;
  background: var(--forest);
  color: #fff;
  content: attr(data-value);
  font-size: 7px;
  font-style: normal;
  transform: translateX(-50%);
  white-space: nowrap;
}

.chart-bar-wrap span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
}

.chart-legend {
  display: flex;
  margin-top: 13px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chart-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
}

.review-list {
  display: grid;
  gap: 13px;
}

.review-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.review-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #e7efec;
  color: var(--forest);
  font-size: 9px;
  font-weight: 850;
}

.review-body {
  min-width: 0;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.review-head strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-stars {
  display: flex;
  gap: 1px;
  color: #e9ad17;
}

.review-stars svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  stroke-width: 0;
}

.review-body p {
  display: -webkit-box;
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.empty-mini {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.filter-tabs {
  display: flex;
  margin-bottom: 18px;
  padding: 5px;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #e7eeeb;
  width: max-content;
  max-width: 100%;
}

.filter-tabs button {
  display: inline-flex;
  min-height: 34px;
  padding: 0 14px;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.filter-tabs button span {
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  place-items: center;
  border-radius: 10px;
  background: #d5e0dc;
  font-size: 8px;
}

.filter-tabs button.is-active {
  background: #fff;
  box-shadow: 0 3px 9px rgba(11, 53, 52, .09);
  color: var(--forest);
}

.filter-tabs button.is-active span {
  background: var(--green-soft);
  color: var(--green-deep);
}

.jobs-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.job-card {
  display: flex;
  min-height: 245px;
  padding: 18px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
  transition: .2s ease;
}

.job-card:hover {
  border-color: #bdd1cc;
  transform: translateY(-2px);
}

.job-card-head {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-card-head strong {
  font-size: 12px;
}

.job-card-head small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.job-card .route-points {
  flex: 1;
}

.job-card-foot {
  display: flex;
  margin-top: 16px;
  padding-top: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf1ef;
}

.job-card-facts {
  display: flex;
  align-items: center;
  gap: 13px;
}

.job-card-facts span {
  display: grid;
}

.job-card-facts small {
  color: var(--muted);
  font-size: 8px;
}

.job-card-facts strong {
  font-size: 11px;
}

.job-card-actions {
  display: flex;
  gap: 6px;
}

.jobs-board > .empty-state {
  grid-column: 1 / -1;
}

.wallet-layout {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 20px;
}

.wallet-hero {
  position: relative;
  display: flex;
  min-height: 235px;
  padding: 24px;
  overflow: hidden;
  justify-content: space-between;
  flex-direction: column;
  border-radius: 22px;
  background: linear-gradient(135deg, #073c42 0%, #0d6159 100%);
  box-shadow: 0 18px 35px rgba(7, 60, 66, .18);
  color: #fff;
}

.wallet-hero::before,
.wallet-hero::after {
  position: absolute;
  border: 1px solid rgba(200, 242, 107, .12);
  border-radius: 50%;
  content: "";
}

.wallet-hero::before {
  top: -80px;
  right: -50px;
  width: 250px;
  height: 250px;
}

.wallet-hero::after {
  right: 30px;
  bottom: -160px;
  width: 300px;
  height: 300px;
}

.wallet-brand-row,
.wallet-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}

.wallet-brand-row {
  color: #c7dedb;
  font-size: 10px;
  font-weight: 750;
}

.wallet-logo {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px 9px 9px 3px;
  background: var(--lime);
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.wallet-hero > p {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  color: #a2c5c1;
  font-size: 10px;
}

.wallet-hero > strong {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.05em;
}

.wallet-bottom {
  justify-content: space-between;
}

.wallet-bottom > span {
  display: grid;
}

.wallet-bottom small {
  color: #83aaa6;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .12em;
}

.wallet-bottom b {
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: .08em;
}

.wallet-stats {
  display: grid;
  margin-top: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wallet-stats article {
  display: flex;
  padding: 14px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.wallet-stats article > div {
  display: grid;
}

.wallet-stats small {
  color: var(--muted);
  font-size: 8px;
}

.wallet-stats strong {
  font-size: 14px;
}

.gcash-mark {
  color: #1768c6;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.gcash-mark span {
  font-size: 12px;
  letter-spacing: -.03em;
}

.field-label,
.form-grid label > span,
.notes-field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
}

.money-input {
  display: flex;
  height: 59px;
  padding: 0 15px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
  transition: border-color .2s, box-shadow .2s;
}

.money-input:focus-within {
  border-color: #83bbaa;
  box-shadow: 0 0 0 3px rgba(28, 140, 106, .09);
}

.money-input > span {
  color: var(--green-deep);
  font-size: 23px;
  font-weight: 700;
}

.money-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -.03em;
}

.money-input input::-webkit-inner-spin-button {
  appearance: none;
}

.quick-amounts {
  display: flex;
  margin: 9px 0 16px;
  gap: 6px;
}

.quick-amounts button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
}

.quick-amounts button:hover {
  border-color: #a8c9bf;
  background: var(--green-soft);
  color: var(--green-deep);
}

.payout-destination {
  display: flex;
  padding: 11px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.destination-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #e9f3ff;
  color: #1768c6;
  font-size: 15px;
  font-weight: 900;
}

.payout-destination > span:nth-child(2) {
  display: grid;
  flex: 1;
}

.payout-destination small {
  color: var(--muted);
  font-size: 8px;
}

.payout-destination strong {
  font-size: 11px;
}

.payout-destination > i {
  padding: 3px 7px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.form-note {
  display: flex;
  margin: 13px 0;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 8px;
}

.form-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.payout-history-panel table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap {
  overflow-x: auto;
}

th,
td {
  padding: 12px 11px;
  border-bottom: 1px solid #edf1f0;
  font-size: 10px;
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

td:last-child,
th:last-child {
  text-align: right;
}

.table-reference {
  font-weight: 750;
}

.table-subtext {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  align-items: start;
  gap: 20px;
}

.profile-form[hidden],
.kyc-form[hidden],
.signed-in-profile[hidden],
.kyc-unavailable[hidden] {
  display: none !important;
}

.registration-access {
  display: flex;
  margin-bottom: 16px;
  padding: 12px 13px;
  align-items: center;
  gap: 14px;
  border: 1px solid #d9e5df;
  border-radius: 13px;
  background: linear-gradient(135deg, #f7fbf9, #f0f7f4);
}

.registration-access > div {
  display: grid;
  min-width: 0;
  gap: 3px;
  margin-right: auto;
}

.registration-access strong {
  color: var(--green-deep);
  font-size: 10px;
}

.registration-access small {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.registration-access .button {
  min-height: 36px;
  padding: 0 14px;
  flex: 0 0 auto;
}

.registration-privacy-note {
  margin: 0 0 13px;
  padding: 10px 11px;
  border: 1px solid #ead8aa;
  border-radius: 10px;
  background: #fffaf0;
  color: #735a25;
  font-size: 9px;
  line-height: 1.55;
}

.registration-password-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.registration-password-note strong { color: var(--ink); }

.registration-privacy-note strong {
  color: #614715;
  font-weight: 850;
}

.form-status {
  min-height: 0;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.55;
}

.form-status:not(:empty) {
  min-height: 36px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.form-status.is-error {
  border-color: #ecc6bf;
  background: #fff5f3;
  color: #8d3b31;
}

.form-status.is-success {
  border-color: #bcdccd;
  background: #f1faf5;
  color: #17623f;
}

.signed-in-profile {
  min-height: 230px;
  padding: 20px;
}

.kyc-unavailable {
  display: flex;
  min-height: 280px;
  padding: 20px;
  align-items: flex-start;
  gap: 16px;
  border-color: #d9e3de;
  background: linear-gradient(145deg, #fff, #f4f8f6);
}

.kyc-unavailable-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: #e1efe8;
  color: var(--green);
}

.kyc-unavailable-icon svg {
  width: 23px;
  height: 23px;
}

.kyc-unavailable h3 {
  margin: 4px 0 10px;
  color: var(--green-deep);
  font-size: 18px;
}

.kyc-unavailable p:not(.section-eyebrow) {
  margin: 0;
  color: #5b6d65;
  font-size: 10px;
  line-height: 1.65;
}

.kyc-unavailable ul {
  display: grid;
  gap: 8px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.kyc-unavailable li {
  position: relative;
  padding-left: 20px;
  color: #4d6158;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.5;
}

.kyc-unavailable li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 50%;
  background: #dfeee6;
  color: var(--green);
  content: "✓";
  font-size: 8px;
  font-weight: 900;
}

.form-step {
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
}

.profile-identity {
  display: flex;
  margin-bottom: 20px;
  padding: 14px;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  background: var(--surface-soft);
}

.avatar-large {
  width: 48px;
  height: 48px;
  font-size: 14px;
}

.profile-identity > div {
  display: grid;
}

.profile-identity strong {
  font-size: 13px;
}

.profile-identity small {
  color: var(--muted);
  font-size: 9px;
}

.form-grid {
  display: grid;
  margin-bottom: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid input,
.form-grid select,
.full-input,
.notes-field textarea {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
  transition: border-color .2s, box-shadow .2s;
}

.form-grid input:focus,
.form-grid select:focus,
.full-input:focus,
.notes-field textarea:focus {
  border-color: #83bbaa;
  box-shadow: 0 0 0 3px rgba(28, 140, 106, .09);
}

.kyc-intro {
  margin: -4px 0 17px;
  padding: 11px;
  border-radius: 10px;
  background: var(--green-soft);
  color: #55716a;
  font-size: 9px;
}

.full-input {
  margin-bottom: 15px;
}

.document-number-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.document-number-grid > label:last-child {
  grid-column: 1 / -1;
}

.document-number-grid .field-label {
  margin-bottom: 6px;
}

.button.is-busy {
  color: transparent !important;
  pointer-events: none;
}

.button.is-busy::after,
.icon-button.is-busy::after {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: busySpin .65s linear infinite;
}

.button.is-busy::after {
  color: #fff;
}

.button-ghost.is-busy::after,
.button-light.is-busy::after {
  color: var(--green-deep);
}

.icon-button.is-busy svg {
  opacity: 0;
}

.upload-grid {
  display: grid;
  margin-bottom: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.upload-box {
  position: relative;
  display: flex;
  min-height: 165px;
  padding: 17px 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed #bacdc8;
  border-radius: 13px;
  background: var(--surface-soft);
  text-align: center;
  transition: .2s ease;
}

.upload-box:hover,
.upload-box.is-dragging {
  border-color: var(--green);
  background: #f0faf6;
}

.upload-box:focus-within {
  outline: 3px solid color-mix(in srgb, var(--green) 35%, transparent);
  outline-offset: 3px;
}

.upload-box.has-file {
  border-style: solid;
  border-color: #a9d6c6;
  background: #f4fbf8;
}

.upload-box > input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
}

.upload-icon svg {
  width: 18px;
}

.upload-box > strong {
  font-size: 10px;
}

.upload-box > small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
}

.upload-box > em {
  margin-top: 9px;
  color: var(--green-deep);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.file-selected {
  position: absolute;
  inset: 0;
  display: none;
  padding: 16px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 12px;
  background: #f4fbf8;
  color: var(--green-deep);
}

.upload-box.has-file > :not(.file-selected):not(input) {
  visibility: hidden;
}

.upload-box.has-file .file-selected {
  display: flex;
}

.file-selected > svg {
  width: 27px;
  height: 27px;
  margin-bottom: 7px;
}

.file-selected b {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-selected i {
  display: grid;
  width: 20px;
  height: 20px;
  margin-top: 8px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.file-selected i svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.consent-row {
  display: flex;
  margin: 14px 0;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
}

.consent-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--green);
}

.verification-pill.is-verified {
  border-color: #b8decf;
  background: #f5fcf9;
  color: var(--green-deep);
}

.proof-dialog {
  width: min(600px, calc(100% - 28px));
  max-height: calc(100dvh - 30px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(4, 29, 31, .28);
}

.proof-dialog::backdrop {
  background: rgba(5, 31, 33, .67);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  padding: 22px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-copy {
  margin: 9px 0 16px;
  color: var(--muted);
  font-size: 10px;
}

.proof-photo {
  position: relative;
  display: flex;
  min-height: 160px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px dashed #b7cbc5;
  border-radius: 14px;
  background: var(--surface-soft);
}

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

#proofPreview {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 160px;
  padding: 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--green-deep);
  text-align: center;
}

#proofPreview svg {
  width: 28px;
  height: 28px;
  margin-bottom: 9px;
}

#proofPreview strong {
  color: var(--ink);
  font-size: 11px;
}

#proofPreview small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

#proofPreview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#proofPreview img + span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(4, 36, 38, .83);
  color: #fff;
  font-size: 8px;
  font-weight: 750;
}

.signature-group {
  margin-top: 15px;
}

.signature-heading {
  display: flex;
  margin-bottom: 6px;
  align-items: center;
  justify-content: space-between;
}

.signature-heading label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
}

.signature-heading button {
  padding: 0;
  background: transparent;
  color: var(--green-deep);
  font-size: 8px;
  font-weight: 800;
}

#signatureCanvas {
  display: block;
  width: 100%;
  height: 130px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: #fff;
  background-image: linear-gradient(transparent 74%, #e4ebe9 75%, transparent 76%);
  touch-action: none;
}

.signature-group > small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.typed-signature {
  display: grid;
  gap: 6px;
  margin-top: 11px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.typed-signature > label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
}

.typed-signature > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.typed-signature input {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
}

.typed-signature input:focus {
  border-color: #83bbaa;
  box-shadow: 0 0 0 3px rgba(28, 140, 106, .09);
}

.typed-signature > small { color: var(--muted); font-size: 8px; line-height: 1.45; }

.support-dialog { width: min(680px, calc(100% - 28px)); }
.support-case-section { margin: 18px 0; }
.support-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.support-section-heading h4,
.support-form h4 { margin: 0; font-size: 11px; }
.support-ticket-list { display: grid; max-height: 220px; gap: 8px; overflow-y: auto; }
.support-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}
.support-ticket > div { display: grid; min-width: 0; gap: 2px; }
.support-ticket > div strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.support-ticket > div span,
.support-ticket > small { color: var(--muted); font-size: 8px; }
.support-ticket > p { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.5; }
.support-ticket > small { grid-column: 1 / -1; padding-top: 5px; border-top: 1px solid var(--line); }
.support-ticket-status { align-self: start; padding: 4px 7px; border-radius: 999px; background: #edf1ef; color: var(--muted); font-size: 7px; font-weight: 850; text-transform: uppercase; }
.support-ticket-status.is-resolved,
.support-ticket-status.is-closed { background: var(--green-soft); color: var(--green-deep); }
.support-ticket-status.is-pending { background: #fff2d7; color: #9c6610; }
.support-empty { display: grid; justify-items: center; gap: 2px; padding: 17px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); font-size: 9px; text-align: center; }
.support-empty strong { color: var(--ink); }
.support-empty span { font-size: 8px; }
.support-empty.is-error { border-color: #eab8b4; color: #a93b35; }
.support-form { display: grid; gap: 11px; padding-top: 17px; border-top: 1px solid var(--line); }
.support-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.support-field { display: grid; gap: 5px; }
.support-field > span { color: var(--ink-soft); font-size: 9px; font-weight: 750; }
.support-field input,
.support-field select,
.support-field textarea { width: 100%; padding: 0 11px; outline: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 10px; }
.support-field input,
.support-field select { min-height: 40px; }
.support-field textarea { min-height: 86px; padding-block: 10px; resize: vertical; }
.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus { border-color: #83bbaa; box-shadow: 0 0 0 3px rgba(28, 140, 106, .09); }

.notification-dialog { width: min(560px, calc(100% - 28px)); }
.notification-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 9px 0 14px; }
.notification-toolbar p { margin: 0; color: var(--muted); font-size: 9px; }
.notification-list { display: grid; max-height: min(520px, 65dvh); gap: 7px; overflow-y: auto; }
.notification-item { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; }
.notification-item:hover { border-color: #b8d1ca; background: var(--surface-soft); }
.notification-item.is-unread { border-color: #b9d9cf; background: #f3fbf8; }
.notification-item > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.notification-item strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.notification-item small { color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.notification-item time { color: var(--muted); font-size: 7px; }
.notification-item > i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #ef7b48; }
.notification-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); }
.notification-icon svg { width: 15px; height: 15px; }

@media (max-width: 520px) {
  .typed-signature > div,
  .support-field-grid { grid-template-columns: 1fr; }
  .typed-signature .button { width: 100%; }
  .notification-toolbar { align-items: flex-start; flex-direction: column; }
}

.notes-field {
  display: block;
  margin-top: 13px;
}

.notes-field textarea {
  min-height: 63px;
  padding: 10px 12px;
  resize: vertical;
}

.notes-field span small {
  color: var(--muted);
  font-weight: 500;
}

.dialog-actions {
  display: flex;
  margin-top: 17px;
  justify-content: flex-end;
  gap: 8px;
}

.toast-stack {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(360px, calc(100% - 28px));
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: grid;
  padding: 12px 13px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: #0c3438;
  box-shadow: 0 14px 35px rgba(3, 24, 25, .25);
  color: #fff;
  font-size: 10px;
  pointer-events: auto;
  animation: toastIn .24s ease both;
}

.toast.is-error {
  background: #713535;
}

.toast-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: rgba(200, 242, 107, .15);
  color: var(--lime);
}

.toast.is-error .toast-icon {
  background: rgba(255, 255, 255, .1);
  color: #ffd4d0;
}

.toast-icon svg {
  width: 14px;
  height: 14px;
}

.toast button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border-radius: 10px;
  background: transparent;
  color: #a8c5c3;
}

.toast button svg {
  width: 13px;
  height: 13px;
}

.screen-reader-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mobile-nav {
  display: none;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  50% { opacity: .5; }
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

@keyframes busySpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1240px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr);
  }

  .request-card {
    grid-template-columns: 1fr;
  }

  .request-actions {
    justify-content: flex-end;
    border-top: 1px solid #edf1ef;
    padding-top: 11px;
  }

  .fare-column {
    margin-right: auto;
    text-align: left;
  }
}

@media (max-width: 1050px) {
  .overview-layout {
    grid-template-columns: 1fr;
  }

  .overview-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .active-route-card {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .wallet-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .payout-card {
    max-width: none;
  }
}

@media (max-width: 880px) {
  body {
    padding-bottom: 74px;
  }

  .sidebar {
    display: none;
  }

  .main-shell {
    margin-left: 0;
  }

  .topbar {
    height: 70px;
    padding: 0 20px;
  }

  .mobile-brand {
    display: inline-flex;
    margin-right: 18px;
  }

  .mobile-brand .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .mobile-brand strong {
    font-size: 15px;
    letter-spacing: -.04em;
  }

  .topbar-copy p {
    display: none;
  }

  .topbar-copy h1 {
    margin: 0;
    font-size: 16px;
  }

  .sync-state,
  .availability-control {
    display: none;
  }

  .view {
    padding: 24px 20px 35px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 72px;
    padding: 7px max(10px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 25px rgba(8, 47, 51, .08);
    backdrop-filter: blur(16px);
  }

  .mobile-nav > button {
    display: flex;
    height: 54px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    background: transparent;
    color: #80908d;
    font-size: 8px;
    font-weight: 750;
  }

  .mobile-nav > button svg {
    width: 19px;
    height: 19px;
  }

  .mobile-nav > button.is-active {
    color: var(--green-deep);
  }

  .mobile-nav .mobile-online {
    position: relative;
    color: var(--forest);
    transform: translateY(-13px);
  }

  .mobile-online > span {
    display: grid;
    width: 51px;
    height: 51px;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #d7e1de;
    box-shadow: 0 7px 18px rgba(7, 60, 66, .18);
    color: #758784;
  }

  .mobile-online.is-online > span {
    background: var(--green);
    color: #fff;
  }

  .mobile-online > small {
    margin-top: 1px;
    font-size: 7px;
    font-weight: 800;
  }
}

@media (max-width: 650px) {
  .topbar {
    padding: 0 14px;
  }

  .mobile-brand {
    margin-right: 10px;
  }

  .mobile-brand strong {
    display: none;
  }

  .top-actions {
    gap: 7px;
  }

  .icon-button {
    width: 37px;
    height: 37px;
  }

  .view {
    padding: 20px 14px 30px;
  }

  .status-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .status-banner > div {
    min-width: calc(100% - 60px);
  }

  .status-banner .button {
    width: 100%;
  }

  .welcome-row,
  .page-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .road-status {
    align-self: flex-start;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-card {
    min-height: 145px;
    padding: 15px;
  }

  .metric-card > strong {
    font-size: 21px;
  }

  .metric-caption,
  .metric-trend {
    font-size: 8px;
  }

  .overview-layout,
  .overview-main,
  .overview-side {
    gap: 14px;
  }

  .overview-side {
    grid-template-columns: 1fr;
  }

  .active-job-panel,
  .request-panel,
  .earnings-panel,
  .rating-panel,
  .payout-card,
  .profile-form,
  .kyc-form,
  .signed-in-profile,
  .kyc-unavailable,
  .payout-history-panel {
    padding: 16px;
  }

  .active-route-card {
    grid-template-columns: 1fr;
  }

  .active-route-side {
    gap: 12px;
  }

  .driver-route-map,
  .map-unavailable {
    min-height: 250px;
  }

  .active-job-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
  }

  .fare-column {
    min-width: 0;
  }

  .request-actions .button {
    padding: 0 12px;
  }

  .jobs-board {
    grid-template-columns: 1fr;
  }

  .wallet-hero {
    min-height: 215px;
    padding: 20px;
  }

  .wallet-stats {
    gap: 9px;
  }

  .wallet-stats article {
    padding: 11px;
  }

  .form-grid,
  .document-number-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .form-grid input,
  .form-grid select,
  .full-input {
    font-size: 16px;
  }

  .registration-access,
  .kyc-unavailable {
    flex-direction: column;
  }

  .registration-access .button {
    width: 100%;
  }

  .upload-box {
    min-height: 145px;
  }

  .table-wrap {
    margin: 0 -16px -8px;
  }

  table {
    min-width: 600px;
  }

  .proof-dialog {
    max-height: calc(100dvh - 16px);
  }

  .dialog-shell {
    padding: 17px;
  }

  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .toast-stack {
    right: 14px;
    bottom: 84px;
  }
}

@media (max-width: 360px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 133px;
  }

  .request-actions {
    grid-template-columns: 1fr 1fr;
  }

  .fare-column {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
