body.rider-view {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 100dvh;
  background: #f6f7f9;
  color: #0c1110;
  font-family: Arial, sans-serif;
}
@media (max-width: 380px) {
  body.rider-view .site-header .header-brand-row,
  body.rider-view .site-header .header-context {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }
  body.rider-view .site-header .brand-title { font-size: clamp(18px, 5.7vw, 21px); }
}
.rider-view .rider-order-page { margin-top: 18px; }
.rider-order-page-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.rider-order-page-heading > div { min-width: 0; }
.rider-view .rider-order-page-heading h2 { margin: 0; color: #10251a; font-size: clamp(22px, 6vw, 30px); line-height: 1.15; }
.rider-order-page-heading p { margin: 3px 0 0; color: #53665b; font-size: 14px; }
.rider-order-page-heading button { min-height: 40px; padding: 7px 12px; border: 1px solid #cfe7d7; border-radius: 12px; background: #effaf2; color: #075e35; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rider-view #rider-order-list { display: grid; gap: 12px; min-width: 0; }
.rider-view .rider-order-card { display: grid; gap: 12px; min-width: 0; }
.rider-order-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 15px 16px; border-radius: 18px; background: linear-gradient(120deg, #00683d, #004b2d); color: #fff; box-shadow: 0 2px 7px #123c2914; }
.rider-order-vendor { display: grid; min-width: 0; gap: 5px; }
.rider-order-vendor > small, .rider-delivery-fee > small { color: #e4f4e9; font-size: 12px; }
.rider-order-number { display: flex; align-items: center; gap: 7px; min-width: 0; }
.rider-order-summary h3 { margin: 0; color: #fff; font-size: clamp(19px, 5vw, 25px); line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rider-copy-order { display: grid; flex: 0 0 34px; width: 34px; min-height: 34px; place-items: center; padding: 6px; border: 1px solid #ffffff58; border-radius: 9px; background: #ffffff12; color: #fff; }
.rider-copy-order svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rider-delivery-fee { display: grid; flex: 0 0 auto; justify-items: end; gap: 5px; padding-left: 12px; border-left: 1px solid #ffffff7a; }
.rider-delivery-fee strong { color: #f9e92b; font-size: clamp(19px, 5vw, 25px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rider-detail-card { min-width: 0; padding: 14px 16px; border: 1px solid #e0e8e4; border-radius: 17px; background: #fff; box-shadow: 0 2px 8px #18352a0c; }
.rider-order-items h3 { margin: 0 0 10px; padding-bottom: 9px; border-bottom: 1px solid #e7ece9; color: #18251e; font-size: 17px; }
.rider-order-items h3 span { color: #64756a; font-weight: 600; }
.rider-order-items ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rider-order-items li { display: flex; align-items: baseline; gap: 10px; min-width: 0; color: #17241c; font-size: 15px; }
.rider-order-items li > strong { flex: 0 0 auto; color: #08683d; font-size: 15px; }
.rider-order-items li > span { min-width: 0; overflow-wrap: anywhere; font-weight: 650; }
.rider-order-items li > span > small { display: block; margin-top: 3px; color: #65756b; font-size: 12px; line-height: 1.35; }
.rider-order-items .rider-no-items { color: #65756b; font-size: 13px; font-weight: 400; }
.rider-order-status { display: grid; gap: 4px; padding: 14px 16px; border-color: #bde8c9; background: #ecf9ef; color: #075e25; }
.rider-order-status small { color: #54685a; font-size: 12px; }
.rider-order-status strong { font-size: 18px; line-height: 1.25; }
.rider-order-status.status-ready { border-color: #cfe5a9; background: #f3f8e8; color: #44670c; }
.rider-order-status.status-delivering { border-color: #c5dcf4; background: #eff6fd; color: #17517e; }
.rider-order-status.status-complete { border-color: #bde8c9; background: #ecf9ef; color: #075e25; }
.rider-order-status.status-cancelled { border-color: #f2d0d0; background: #fff2f1; color: #9c2d25; }
.rider-delivery-address { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rider-delivery-address > div { display: grid; min-width: 0; gap: 4px; }
.rider-delivery-address small { color: #53665b; font-size: 12px; }
.rider-delivery-address strong { color: #18251e; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.rider-address-map { display: grid; flex: 0 0 38px; width: 38px; min-height: 38px; place-items: center; border: 1px solid #bfe7cb; border-radius: 11px; background: #effaf2; color: #08683d; }
.rider-address-map svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rider-detail-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 0; padding: 8px; border-color: #bde8c9; border-radius: 17px; background: #effaf2; }
.rider-detail-action { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 38px; padding: 4px 2px; border: 0; border-radius: 0; background: transparent; color: #075e25; font: inherit; font-size: clamp(10px, 2.8vw, 13px); font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
.rider-detail-action + .rider-detail-action { border-left: 1px solid #bde8c9; }
.rider-detail-action svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rider-detail-action.is-unavailable { color: #77877d; cursor: not-allowed; }
.rider-detail-action:focus-visible, .rider-copy-order:focus-visible, .rider-address-map:focus-visible { outline: 2px solid #147c48; outline-offset: 2px; }
.rider-order-workflow { display: flex; justify-content: flex-end; }
.rider-order-workflow button { min-height: 36px; padding: 6px 10px; border: 1px solid #cfe7d7; border-radius: 10px; background: #effaf2; color: #075e35; font-size: 12px; font-weight: 700; }
.rider-order-workflow button[data-step="delivered"] { border-color: #087f52; background: #087f52; color: #fff; }
@media (max-width: 360px) {
  .rider-order-summary { padding: 13px 12px; }
  .rider-delivery-fee { padding-left: 8px; }
  .rider-detail-card { padding: 12px; }
  .rider-detail-actions { padding: 6px 4px; }
  .rider-detail-action { gap: 3px; font-size: 10px; }
  .rider-detail-action svg { width: 18px; height: 18px; flex-basis: 18px; }
}
@media (max-width: 340px) {
  .rider-detail-action { flex-direction: column; gap: 2px; font-size: 9px; }
  .rider-detail-action svg { width: 17px; height: 17px; flex-basis: 17px; }
}
.rider-view::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: min(100%, 784px);
  height: 350px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 12% 40%, #00ad59, transparent 70%), linear-gradient(#005534 10%, #008748 60%, #f6f7f9 100%);
}
.rider-view .vendor-header-profile { width: 44px; height: 44px; color: #fff; background: #536871; font-size: 15px; }
.rider-view > main { width: min(calc(100% - 28px), 736px); margin-top: 0; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.rider-view .food-toolbar { height: 0; margin: 0; position: relative; z-index: 3; }
.rider-view .food-toolbar #refresh { position: absolute; top: 72px; right: 66px; width: 28px; min-height: 28px; padding: 5px; background: #fff; border: 0; color: #008448; }
.rider-view .food-toolbar #refresh svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.rider-view #notice:empty { display: none; }
.rider-view #notice:not(:empty) { margin: 4px 2px 2px; font-size: 12px; line-height: 1.25; }
.rider-view .rider-map-card { overflow: visible; border: 0; background: transparent; border-radius: 0; }
.rider-view .rider-map-heading { justify-content: flex-start; gap: 7px; padding: 4px 2px; min-height: 52px; color: #fff; }
.rider-view .rider-map-heading .food-notification-control { flex: 0 0 auto; min-height: 34px; padding: 6px 8px; border: 1px solid #d6e7dc; border-radius: 12px; color: #086c47; background: #fff; font-size: 11px; }
.rider-active-order { display: grid; gap: 9px; margin: 3px 0 10px; padding: 11px; border: 1px solid #dcebe1; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px #123c2914; }
.rider-active-order-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.rider-active-order-heading > div { display: grid; min-width: 0; gap: 3px; }
.rider-active-order-heading small { overflow: hidden; color: #53665b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rider-active-order-heading strong, .rider-active-order-heading .rider-active-order-number { color: #123d28; font-size: 17px; font-variant-numeric: tabular-nums; }
.rider-active-order-heading .rider-active-order-number { width: fit-content; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-weight: 700; text-align: left; }
.rider-active-status { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #bde8c9; border-radius: 20px; background: #ecf9ef; color: #075e25; font-size: 11px; font-weight: 700; }
.rider-view .rider-map-heading #refresh, .rider-view .rider-active-order-heading #refresh { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; min-height: 30px; padding: 6px; border: 1px solid #cfe7d7; border-radius: 50%; color: #008448; background: #fff; }
.rider-view .rider-map-heading #refresh, .rider-view .rider-active-order-heading #refresh { margin-left: auto; }
.rider-view .rider-map-heading #refresh svg, .rider-view .rider-active-order-heading #refresh svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.rider-active-status.status-ready { border-color: #d7e8ad; background: #f3f8e8; color: #44670c; }
.rider-active-status.status-delivering { border-color: #c5dcf4; background: #eff6fd; color: #17517e; }
.rider-active-actions { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 1px; }
.rider-active-action { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 4px; min-width: max-content; min-height: 36px; padding: 4px 6px; border: 1px solid #cfe7d7; border-radius: 10px; background: #f4fbf6; color: #075e35; font: inherit; font-size: 10px; font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; }
.rider-active-action span { flex: 0 0 auto; white-space: nowrap; }
.rider-active-action svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rider-active-action.is-primary { border-color: #087f52; background: #087f52; color: #fff; }
.rider-active-action.is-unavailable { border-color: #e1e7e3; background: #f5f7f5; color: #77877d; cursor: not-allowed; }
.rider-active-action:focus-visible { outline: 2px solid #147c48; outline-offset: 2px; }
@media (max-width: 380px) {
  .rider-active-actions { gap: 3px; }
  .rider-active-action { gap: 3px; padding: 5px 6px; font-size: 10px; }
  .rider-active-action svg { width: 17px; height: 17px; flex-basis: 17px; }
}
.rider-avatar { position: relative; display: grid; place-items: center; overflow: hidden; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #ffffffb3; border-radius: 50%; color: #006a3a; background: #dff4e7; text-decoration: none; }
.rider-avatar-initial { font-size: 13px; font-weight: 700; }
.rider-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rider-view .rider-avatar { min-height: 30px; padding: 0; }
.vendor-header-profile[data-rider-avatar] { position: relative; }
.vendor-header-profile[data-rider-avatar] img { position: absolute; inset: 0; }
.rider-identity { flex: 1; min-width: 0; display: grid; gap: 3px; }
.rider-view .rider-identity strong { text-align: left; font-size: clamp(12px, 2.8vw, 14px); line-height: 1.15; }
.rider-identity > span { display: flex; align-items: center; gap: 4px; font-size: 10px; }
.rider-identity svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.rider-view .rider-online-switch { display: grid; place-items: center; flex: 0 0 auto; padding: 0 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; min-height: 44px; }
.rider-switch-track { display: block; position: relative; width: 48px; height: 24px; border-radius: 30px; background: #687e73; transition: background .2s; }
.rider-switch-thumb { position: absolute; display: grid; place-items: center; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #5b6860; box-shadow: 0 2px 5px #002b2426; transition: transform .2s, color .2s; }
.rider-online-switch[aria-checked="true"] .rider-switch-track { background: #009e51; }
.rider-online-switch[aria-checked="true"] .rider-switch-thumb { transform: translateX(24px); color: #008547; }
.rider-switch-thumb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.rider-hantar-capability { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 3px 0 10px; padding: 10px 12px; border: 1px solid #dcebe1; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px #123c2914; }
.rider-hantar-capability > span { display: grid; gap: 3px; }
.rider-hantar-capability strong { color: #123d28; font-size: 13px; }
.rider-hantar-capability small { color: #53665b; font-size: 11px; }
.rider-hantar-switch { position: relative; flex: 0 0 46px; width: 46px; height: 26px; min-height: 26px; padding: 0; border: 0; border-radius: 20px; background: #77877e; cursor: pointer; }
.rider-hantar-switch > span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px #002b2426; transition: transform .2s; }
.rider-hantar-switch[aria-checked="true"] { background: #009e51; }
.rider-hantar-switch[aria-checked="true"] > span { transform: translateX(20px); }
.rider-hantar-switch:disabled { opacity: .6; cursor: not-allowed; }
.rider-hantar-error { margin: 0 0 10px; padding: 9px 11px; border-radius: 10px; background: #fff0ef; color: #a23d43; font-size: 12px; }
.rider-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rider-map-frame { position: relative; overflow: hidden; border: 3px solid #fff; border-radius: 24px; box-shadow: 0 7px 22px #1f573714; }
.rider-view .rider-live-map { height: clamp(240px, 38dvh, 360px); min-height: 240px; }
.rider-view .rider-map-recenter { position: absolute; z-index: 500; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 10px; border: 0; border-radius: 50%; background: #fff; color: #008448; box-shadow: 0 3px 14px #235f4222; }
.rider-map-recenter svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.rider-map-status { position: absolute; z-index: 500; bottom: 20px; left: 8px; right: 8px; margin: 0; padding: 8px; border-radius: 10px; background: #fffffff0; color: #3a5548; font-size: 12px; }
.rider-map-status[role="alert"] { color: #9e2323; }
.rider-map-status[hidden] { display: none; }
.rider-vendor-summary { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 7px 12px; border: 2px solid #fff; border-radius: 40px; background: linear-gradient(110deg, #fff, #f8f9fb); box-shadow: 0 4px 12px #243d5410; }
.rider-vendor-summary > svg { width: 22px; height: 22px; fill: none; stroke: #008a47; stroke-width: 2; }
.rider-vendor-summary > svg:last-child { width: 18px; margin-left: auto; stroke: #48535d; }
.rider-vendor-summary > div { display: grid; gap: 3px; }
.rider-vendor-summary strong { font-size: 14px; }
.rider-vendor-summary span { color: #4a535d; font-size: 13px; }
.rider-view .vendor-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; margin-top: 16px; }
.rider-view .vendor-stats { gap: 10px; }
.rider-view .vendor-stat { display: grid; grid-template-columns: 20px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 5px; row-gap: 0; padding: 5px 7px; border: 2px solid #fff; border-radius: 12px; background: linear-gradient(120deg, #fff, #f1f5f7); box-shadow: 0 5px 14px #27394910; }
.rider-view .vendor-stat:first-child { background: linear-gradient(120deg, #fff, #edf7f3); border-color: #fff; }
.rider-view .vendor-stat > svg { grid-column: 1; grid-row: 1; align-self: center; width: 20px; height: 20px; color: #008b47; }
.rider-view .vendor-stat .rider-stat-label { grid-column: 2; grid-row: 1; min-width: 0; font-size: clamp(11px, 2.6vw, 14px); font-weight: 700; line-height: 1.1; }
.rider-view .vendor-stat strong { grid-column: 2; grid-row: 2; font-size: clamp(20px, 4vw, 24px); line-height: 1; margin-top: 0; }
.rider-view .vendor-totals { grid-template-columns: 1fr; margin-top: 8px; }
.rider-view .vendor-total-sales { position: relative; overflow: hidden; padding: 7px 9px; gap: 7px; border-radius: 10px; background: radial-gradient(ellipse at 95% 100%, #009753 0, transparent 55%), linear-gradient(110deg, #008f50, #005b36); }
.rider-view .vendor-total-sales > svg { width: 22px; height: 22px; z-index: 1; }
.rider-view .vendor-total-sales > svg:last-child { width: 22px; opacity: 1; }
.rider-view .vendor-total-sales span { font-size: 11px; font-weight: 700; }
.rider-view .vendor-total-sales strong { font-size: clamp(20px, 4vw, 24px); line-height: 1; margin-top: 1px; }
.rider-view .vendor-recent-heading { margin: 12px 0 6px; }
.rider-view .vendor-recent-heading h3 { font-size: clamp(15px, 3vw, 20px); font-weight: 500; margin: 0; }
.rider-view .vendor-recent-heading button { min-height: 28px; gap: 2px; background: transparent; color: #008943; padding: 2px 0; font-size: 11px; font-weight: 700; }
.rider-view .vendor-recent-heading button svg { width: 13px; height: 13px; }
.rider-view .vendor-recent-order { grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr) 14px; min-height: 0; gap: 5px; padding: 6px 8px; margin-top: 4px; margin-bottom: 4px; border: 1px solid #fff; border-radius: 10px; background: linear-gradient(110deg, #fff, #f7f8fb); box-shadow: 0 3px 10px #27394910; }
.rider-view .vendor-recent-order > svg { width: 14px; height: 14px; }
.rider-view .vendor-order-id, .rider-view .vendor-order-items { gap: 2px; }
.rider-view .vendor-order-id { border-right: 1px solid #d6dbe0; padding-right: 5px; font-size: 11px; }
.rider-view .vendor-order-items { font-size: 11px; }
.rider-view .vendor-order-id strong, .rider-view .vendor-order-items strong { font-size: 12px; line-height: 1.1; }
.rider-view .vendor-order-id small, .rider-view .vendor-order-items small { font-size: 10px; line-height: 1.1; }
.rider-view .rider-tabs { position: fixed; z-index: 1000; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 784px); box-sizing: border-box; min-height: 76px; margin: 0; padding: 4px 12px calc(5px + env(safe-area-inset-bottom)); gap: 8px; border-radius: 16px 16px 0 0; background: #fffffff5; box-shadow: 0 -3px 20px #334a5210; }
.rider-view .rider-tabs button, .rider-view .rider-tabs a { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 3px 2px; min-height: 56px; border: 0; border-radius: 12px; background: transparent; color: #29343b; font-size: 11px; text-decoration: none; }
.rider-view .rider-tabs svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.rider-view .rider-tabs button[aria-pressed="true"] { color: #075c3c; background: #eaf6ef; box-shadow: inset 0 1px 0 #fff, 0 2px 5px #163b2515; }
.rider-view .rider-tabs button[aria-pressed="true"]::after { display: none; }
.rider-view .rider-tabs .rider-nav-art { width: 30px; height: 30px; fill: initial; stroke: none; filter: drop-shadow(0 2px 1px #154c3626); }
.rider-view.rider-subpage::before { display: none; }
.rider-subpage .food-toolbar #refresh { top: 24px; color: #008448; }
.rider-view [data-rider-panel][hidden], .rider-view .rider-map-card[hidden], .rider-view [data-rider-current][hidden], .rider-view [data-rider-history][hidden] { display: none; }
.rider-task-switch { display: grid; grid-template-columns: 1fr 1fr; position: relative; isolation: isolate; padding: 4px; border: 1px solid #d5e5dd; border-radius: 30px; background: #e6eee9; margin: 0 36px 18px 0; }
.rider-offer-row { margin: 8px 0; padding: 10px 12px; border: 1px solid #dfe9e3; border-radius: 12px; background: #fff; }
.rider-hantar-section { margin: 18px 0 0; }
.rider-hantar-section > h3 { margin: 0 0 9px; color: #123d28; font-size: 16px; }
.rider-hantar-task { display: grid; gap: 11px; margin: 8px 0; padding: 12px; border: 1px solid #dcebe1; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px #123c2914; }
.rider-hantar-task > header, .rider-hantar-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rider-hantar-task > header > div { display: grid; gap: 3px; }
.rider-hantar-task > header small, .rider-hantar-route small { color: #617468; font-size: 11px; }
.rider-hantar-task > header strong { color: #123d28; font-size: 14px; }
.rider-hantar-route { display: grid; gap: 8px; }
.rider-hantar-route p { display: grid; gap: 3px; margin: 0; padding-left: 10px; border-left: 2px solid #b9ddc7; }
.rider-hantar-route strong { overflow-wrap: anywhere; color: #293d32; font-size: 12px; }
.rider-hantar-recipient { display: flex; flex-wrap: wrap; gap: 5px 10px; color: #53665b; font-size: 12px; }
.rider-hantar-recipient strong { color: #25392e; }
.rider-hantar-recipient a, .rider-hantar-footer a { color: #087f52; font-weight: 700; }
.rider-hantar-footer { flex-wrap: wrap; }
.rider-hantar-footer > strong { color: #075e35; font-size: 13px; }
.rider-hantar-footer > a { font-size: 12px; }
.rider-view .rider-hantar-task .rider-offer-accept { min-height: 40px; padding: 8px 12px; border: 1px solid #087f52; border-radius: 10px; background: #087f52; color: #fff; font-size: 12px; font-weight: 700; }
.rider-view .rider-hantar-offer-row .rider-offer-meta { align-items: flex-start; }
.rider-view .rider-hantar-offer-row .rider-offer-meta small { line-height: 1.4; }
.rider-offer-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rider-offer-heading > strong { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.rider-offer-actions { display: flex; flex: 0 0 auto; gap: 6px; }
.rider-view .rider-offer-actions button { min-height: 36px; padding: 7px 12px; border: 1px solid #d3e4da; border-radius: 9px; background: #f0f7f3; color: #086c45; font-size: 12px; font-weight: 700; }
.rider-view .rider-offer-actions .rider-offer-accept { border-color: #087f52; background: #087f52; color: #fff; }
.rider-view .rider-offer-actions .rider-offer-reject { border-color: #eadade; background: #fff5f5; color: #a23d43; }
.rider-offer-meta { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.rider-offer-meta strong { color: #086c45; font-size: 13px; }
.rider-offer-meta small { color: #617468; font-size: 11px; }
.rider-offer-dialog { width: min(420px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 20px; color: #173327; box-shadow: 0 18px 60px #102a1e35; }
.rider-offer-dialog::backdrop { background: #10251acc; backdrop-filter: blur(3px); }
.rider-offer-popup { padding: 24px; }
.rider-offer-popup-eyebrow { margin: 0 0 8px; color: #087f52; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rider-offer-popup h2 { margin: 0; font-size: 22px; }
.rider-offer-popup-vendor { margin: 6px 0 18px; color: #52665a; font-size: 15px; }
.rider-offer-popup-fee { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 12px; background: #eaf5ee; color: #345444; font-size: 13px; }
.rider-offer-popup-fee strong { color: #075e35; font-size: 20px; }
.rider-offer-popup-items { margin: 12px 0 0; color: #52665a; font-size: 13px; line-height: 1.5; }
.rider-offer-popup-countdown { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; color: #075e35; background: #eaf5ee; font-size: 13px; font-weight: 750; text-align: center; }
.rider-offer-popup-status { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff3e0; color: #704c12; font-size: 13px; }
.rider-offer-popup-status.error { background: #fff0ef; color: #a23d43; }
.rider-offer-popup-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 20px; }
.rider-offer-popup-actions button { min-height: 46px; padding: 10px 14px; border: 1px solid #d3e4da; border-radius: 12px; background: #fff; color: #46594e; font-size: 14px; font-weight: 750; }
.rider-offer-popup-actions .rider-offer-accept { border-color: #087f52; background: #087f52; color: #fff; }
.rider-view .rider-order-page-heading #refresh { position: static; display: grid; flex: 0 0 38px; width: 38px; min-height: 38px; place-items: center; padding: 8px; border: 1px solid #cfe7d7; border-radius: 12px; background: #effaf2; color: #075e35; }
.rider-order-page-heading #refresh svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rider-view #refresh[hidden] { display: none; }
.rider-subpage [data-rider-panel="earnings"], .rider-subpage [data-rider-panel="deliveries"] { padding-top: 38px; }
.rider-weekly-chart { min-width: 0; margin-bottom: 20px; padding: 16px 14px 12px; border: 1px solid #dfe9e3; border-radius: 18px; background: #fff; box-shadow: 0 5px 16px #16332112; }
.rider-weekly-chart > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.rider-weekly-chart h2 { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; color: #10251a; font-size: clamp(16px, 4vw, 21px); }
.rider-weekly-chart h2 .vendor-icon { flex: 0 0 24px; width: 24px; height: 24px; color: #078347; }
.rider-weekly-period { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid #d7e3dc; border-radius: 18px; color: #34443b; background: #fff; font-size: 11px; font-weight: 650; }
.rider-weekly-period input { width: 112px; min-height: 28px; padding: 2px 3px; border: 0; color: inherit; background: transparent; font: inherit; }
.rider-weekly-navigation { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; gap: 4px; min-width: 0; }
.rider-weekly-arrow { display: grid; width: 30px; min-height: 36px; place-items: center; padding: 0; border: 1px solid #d7e3dc; border-radius: 9px; color: #17613f; background: #fff; font-size: 24px; font-weight: 500; line-height: 1; }
.rider-weekly-arrow:disabled { opacity: .35; cursor: default; }
.rider-weekly-arrow:focus-visible { outline: 2px solid #087c49; outline-offset: 2px; }
.rider-weekly-pages { display: flex; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.rider-weekly-pages::-webkit-scrollbar { display: none; }
.rider-weekly-page { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.rider-weekly-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; min-width: 0; }
.rider-weekly-day { display: grid; grid-template-rows: 18px 120px 18px 16px; justify-items: center; align-items: end; min-width: 0; text-align: center; }
.rider-weekly-day.is-outside-month { visibility: hidden; }
.rider-weekly-value { max-width: 100%; color: #075b23; font-size: clamp(8px, 2.1vw, 11px); line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rider-weekly-bar-wrap { display: flex; align-items: end; justify-content: center; width: 100%; height: 120px; border-bottom: 1px solid #dce5df; }
.rider-weekly-bar { display: block; width: min(100%, 56px); max-height: 120px; border-radius: 11px 11px 0 0; background: linear-gradient(180deg, #24c600, #078b26); }
.rider-weekly-label { padding-top: 4px; color: #17231d; font-size: clamp(10px, 2.6vw, 13px); font-weight: 700; line-height: 1.15; white-space: nowrap; }
.rider-weekly-date { padding-top: 2px; color: #68746d; font-size: clamp(9px, 2.3vw, 11px); line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rider-subpage .rider-income-page { display: grid; gap: 12px; min-width: 0; padding-top: 12px; }
.rider-income-page .rider-weekly-chart { margin: 0; }
.rider-income-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.rider-income-kpi { display: grid; align-content: space-between; gap: 8px; min-width: 0; min-height: 142px; padding: 14px; border: 1px solid #e3eae5; border-radius: 17px; }
.rider-income-kpi > span { min-height: 34px; color: #26352e; font-size: 13px; font-weight: 700; line-height: 1.25; }
.rider-income-kpi > strong { min-width: 0; font-size: clamp(20px, 3.4vw, 30px); line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rider-income-kpi > small { display: block; padding: 7px 9px; border-radius: 18px; color: #26352e; background: #ffffffa8; font-size: 12px; font-weight: 650; text-align: center; }
.rider-income-kpi.is-month { border-color: #cdebd5; background: #eaf7ef; }
.rider-income-kpi.is-month > strong { color: #075b23; }
.rider-income-kpi.is-today { border-color: #cfe1fb; background: #eff6ff; }
.rider-income-kpi.is-today > strong { color: #174e9b; }
.rider-income-kpi.is-outstanding { border-color: #f3d9d9; background: #fff0f0; }
.rider-income-kpi.is-outstanding > strong { color: #b42323; }
.rider-income-history { min-width: 0; padding: 14px; border: 1px solid #e3eae5; border-radius: 17px; background: #fff; }
.rider-income-history > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #e3eae5; }
.rider-income-history > header h2 { min-width: 0; margin: 0; color: #17231d; font-size: clamp(17px, 4vw, 22px); }
.rider-income-history > header button { flex: 0 0 auto; min-height: 38px; padding: 6px 4px; border: 0; background: transparent; color: #087f32; font-size: 13px; font-weight: 750; }
.rider-income-note { margin: 9px 0; color: #68746d; font-size: 12px; line-height: 1.4; }
.rider-income-record-group { min-width: 0; }
.rider-income-record-group + .rider-income-record-group { margin-top: 14px; }
.rider-income-record-group > h3 { margin: 0; padding: 9px 0; color: #26352e; font-size: 14px; }
.rider-income-record-list, .rider-income-order-list { display: grid; min-width: 0; }
.rider-income-record, .rider-income-order { display: grid; grid-template-columns: minmax(70px, .7fr) minmax(0, 2fr) minmax(96px, auto); align-items: center; gap: 10px; min-width: 0; padding: 10px 0; border-top: 1px solid #e3eae5; }
.rider-income-record { grid-template-columns: minmax(72px, .58fr) minmax(0, 1.8fr) minmax(112px, .85fr); gap: 8px; padding: 7px; border: 1px solid #e1e6eb; border-radius: 14px; background: linear-gradient(110deg, #fff, #fbfcff); box-shadow: 0 2px 8px #13223810; }
.rider-income-date { display: block; padding: 8px 6px; border: 1px solid #d5efdc; border-radius: 12px; color: #164626; background: #eef9f0; font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; }
.rider-income-date-column { display: grid; align-content: start; gap: 5px; min-width: 0; }
.rider-income-record .rider-income-date-column { align-content: center; gap: 5px; min-height: 0; padding: 6px 5px; border-right: 3px solid #efb51e; border-radius: 10px 0 0 10px; background: linear-gradient(145deg, #175b94, #08294d); }
.rider-income-record .rider-income-date { padding: 0; border: 0; color: #fff; background: transparent; font-size: 14px; }
.rider-income-date-column > .rider-income-status { justify-self: stretch; padding: 4px 5px; font-size: 10px; }
.rider-income-record .rider-income-date-column > .rider-income-status { padding: 4px 5px; color: #503800; background: #ffdc60; font-size: 10px; }
.rider-income-record .rider-income-date-column > .rider-income-status.is-settled { color: #176232; background: #ddf5df; }
.rider-income-record .rider-income-date-column > .rider-income-status.is-disputed { color: #a32d2d; background: #ffe4e4; }
.rider-income-record .rider-income-date-column > .rider-income-status.is-unpaid { color: #8b4e14; background: #fff1df; }
.rider-income-detail { display: grid; gap: 2px; min-width: 0; color: #26352e; }
.rider-income-detail > strong { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.rider-income-detail > strong span { color: #65716a; font-weight: 500; }
.rider-income-detail > span, .rider-income-detail > small { color: #65716a; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.rider-income-record .rider-income-payment-heading > strong { font-size: 13px; }
.rider-income-payment-id { display: flex; align-items: center; justify-content: flex-start; gap: 5px; min-width: 0; margin: 0; color: #4b5662; font-size: 10px; line-height: 1.25; }
.rider-income-payment-id > span { min-width: 0; overflow-wrap: anywhere; }
.rider-income-payment-id > button { display: grid; width: 24px; height: 24px; min-height: 24px; flex: 0 0 auto; place-items: center; padding: 4px; border: 1px solid #d8dfe5; border-radius: 7px; color: #4c5965; background: #f7f9fa; }
.rider-income-payment-id .vendor-icon { width: 15px; height: 15px; padding: 0; color: inherit; background: none; box-shadow: none; }
.rider-income-payment-heading { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; }
.rider-income-payment-heading > strong { min-width: 0; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.rider-income-payment-heading > strong span { color: #65716a; font-weight: 500; }
.rider-income-order-tools { display: flex; align-items: center; min-width: 0; }
.rider-income-order-tools { flex: 0 0 auto; }
.rider-income-order-info { display: grid; width: 30px; height: 30px; min-height: 30px; place-items: center; padding: 5px; border: 0; border-radius: 8px; color: #087f52; background: transparent; }
.rider-income-order-info .vendor-icon { width: 18px; height: 18px; padding: 0; color: inherit; background: none; box-shadow: none; }
.rider-income-order-info .vendor-icon-depth { display: none; }
.rider-income-orders-dialog { width: min(360px, calc(100vw - 32px)); max-width: none; max-height: min(70dvh, 520px); margin: auto; padding: 16px; border: 1px solid #dfe9e3; border-radius: 16px; color: #26352e; background: #fff; box-shadow: 0 18px 60px #102a1e35; }
.rider-income-orders-dialog::backdrop { background: #10251acc; backdrop-filter: blur(3px); }
.rider-income-orders-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #e3eae5; }
.rider-income-orders-dialog > header h2 { margin: 0; color: #17231d; font-size: 18px; }
.rider-income-orders-dialog > header button { min-height: 34px; padding: 5px 9px; border: 1px solid #d7e3dc; border-radius: 9px; color: #075e35; background: #f3faf5; font-size: 12px; font-weight: 700; }
.rider-income-orders-dialog > ul { display: grid; gap: 6px; max-height: min(50dvh, 360px); overflow-y: auto; margin: 12px 0 0; padding: 0; list-style: none; }
.rider-income-orders-dialog > ul li { padding: 9px 10px; border: 1px solid #e3eae5; border-radius: 9px; color: #26352e; font-size: 14px; font-variant-numeric: tabular-nums; }
.rider-income-dispute-note { color: #a33636 !important; }
.rider-income-actions { display: grid; align-self: center; justify-items: end; gap: 6px; min-width: 0; }
.rider-income-status { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 7px 10px; border-radius: 20px; font-size: 12px; font-weight: 750; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.rider-income-status.is-pending { color: #93600a; background: #fff0bf; }
.rider-income-status.is-settled { color: #176232; background: #ddf5df; }
.rider-income-status.is-disputed { color: #a32d2d; background: #ffe4e4; }
.rider-income-status.is-unpaid { color: #8b4e14; background: #fff1df; }
.rider-income-actions button { min-height: 28px; height: auto; padding: 4px 7px; border: 1px solid #d7e3dc; border-radius: 9px; color: #075e35; background: #f3faf5; font-size: 11px; font-weight: 700; line-height: 1.2; }
.rider-income-actions button[data-action="dispute"] { color: #9e3434; border-color: #f0d7d7; background: #fff6f6; }
.rider-income-record .rider-income-actions { align-content: center; align-self: stretch; justify-items: stretch; gap: 5px; padding-left: 8px; border-left: 1px solid #d7dce1; }
.rider-income-record .rider-income-actions button { display: flex; width: 100%; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 5px; border: 1px solid #087c42; border-radius: 9px; color: #fff; background: linear-gradient(145deg, #0da34e, #05763d); font-size: 10px; white-space: nowrap; }
.rider-income-record .rider-income-actions button[data-action="dispute"], .rider-income-record .rider-income-actions button[data-action="dispute-group"] { color: #116b3c; border-color: #19824b; background: #fff; }
.rider-income-record .rider-income-actions .vendor-icon { width: 16px; height: 16px; flex: 0 0 auto; padding: 0; color: inherit; background: none; box-shadow: none; }
.rider-income-order .rider-income-status { justify-self: end; }
.rider-task-slider { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 24px; background: linear-gradient(120deg, #009651, #006540); box-shadow: 0 2px 5px #00553226; transition: transform .2s; }
.rider-task-switch[data-view="history"] .rider-task-slider { transform: translateX(100%); }
.rider-view .rider-task-switch button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px; border: 0; border-radius: 24px; background: transparent; color: #416052; font-size: 13px; }
.rider-view .rider-task-switch button[aria-pressed="true"] { color: #fff; }
.rider-task-switch svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rider-view .rider-tasks-panel h2 { font-size: 15px; margin: 16px 0 10px; }
.rider-view .rider-task-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; width: 100%; gap: 10px; align-items: center; min-height: 58px; padding: 10px 12px; margin-bottom: 8px; border: 1px solid #e0e9e3; border-radius: 12px; background: #fff; color: #172e23; text-align: left; font-size: 13px; }
.rider-task-row > span { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.rider-task-row > span:nth-child(2) { text-align: right; }
.rider-task-row small { font-size: 11px; color: #617468; }
.rider-task-row svg { width: 14px; height: 14px; fill: none; stroke: #698275; stroke-width: 2; }
.rider-date-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.rider-date-filter label { display: grid; flex: 1 1 120px; min-width: 0; gap: 5px; font-size: 12px; }
.rider-view .rider-date-filter input { min-width: 0; width: 100%; min-height: 40px; padding: 8px; font-size: 14px; }
.rider-view .rider-date-filter button { min-height: 40px; padding: 8px 12px; font-size: 12px; }
.rider-history-total { display: grid; grid-template-columns: 1fr auto; gap: 5px; margin: 14px 0; padding: 12px; border-radius: 12px; background: #e1f3e8; color: #006940; font-size: 14px; }
.rider-history-total small { grid-column: 1 / -1; font-size: 11px; }
.rider-account-form { display: grid; gap: 16px; max-width: 860px; margin: 0 auto 92px; padding: 8px 0 20px; color: #17231d; }
.partner-selection { padding: 22px 4px; text-align: center; }
.partner-selection h1 { font-size: 24px; color: #075638; }
.partner-eyebrow { color: #176f4c; font-weight: 700; font-size: 12px; }
.partner-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.partner-option { display: grid; justify-items: center; gap: 10px; padding: 22px 14px; border: 1px solid #cce3d3; border-radius: 20px; background: #f3fbf5; color: #174e34; text-decoration: none; }
.partner-option:hover, .partner-option:focus-visible { background: #e2f5e8; outline: 2px solid #14834f; }
.partner-option img, .partner-option svg { width: 80px; height: 80px; border-radius: 16px; }
.partner-option svg { fill: #d3efde; stroke: #127345; stroke-width: 3; }
.partner-option h2, .partner-option p { margin: 0; }
.partner-option strong { font-size: 13px; }
.partner-next { color: #53665b; font-size: 13px; line-height: 1.8; }
.partner-vendor-form input[readonly] { background: #eaf0ec; color: #53665b; }
@media (max-width: 479px) { .partner-options { grid-template-columns: 1fr; } }
.rider-account-hero { position: relative; isolation: isolate; display: grid; justify-items: center; overflow: hidden; min-height: 205px; padding: 13px 14px 16px; border: 1px solid #d5e8dc; border-radius: 20px; background: linear-gradient(145deg, #00623f 0%, #08734c 56%, #0c513a 100%); color: #fff; text-align: center; box-shadow: 0 8px 24px #123c2918; }
.rider-account-hero::before, .rider-account-hero::after { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.rider-account-hero::before { width: 360px; height: 210px; top: -105px; right: -115px; border: 18px solid #ffffff17; border-radius: 50%; transform: rotate(-18deg); }
.rider-account-hero::after { right: -8%; bottom: -124px; left: -8%; height: 135px; border-top: 4px solid #e8c86d; border-radius: 50% 50% 0 0; background: transparent; transform: rotate(-3deg); }
.rider-account-portrait { display: grid; justify-items: center; margin: 0 auto 6px; text-align: center; }
.rider-account-avatar { position: relative; width: 90px; height: 90px; }
.rider-account-portrait [data-rider-image-preview] { display: grid; place-items: center; width: 100%; height: 100%; box-sizing: border-box; border-radius: 50%; overflow: hidden; background: #e7f2eb; border: 4px solid #fff; outline: 2px solid #e8c86d; font-size: 10px; color: #53665b; box-shadow: 0 6px 18px #001c1233; }
.rider-account-portrait img { width: 100%; height: 100%; object-fit: cover; }
.rider-account-photo-picker { position: absolute; right: -3px; bottom: -2px; display: grid !important; width: 32px; height: 32px; place-items: center; overflow: hidden; border: 3px solid #fff; border-radius: 50%; background: #087c42; color: #fff; cursor: pointer; box-shadow: 0 3px 9px #0a3b2640; }
.rider-account-photo-picker svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rider-account-photo-picker input { position: absolute; inset: 0; width: 100% !important; height: 100%; padding: 0 !important; opacity: 0; cursor: pointer; }
.rider-account-photo-picker:focus-within { outline: 3px solid #f1cf68; outline-offset: 3px; }
.rider-account-eyebrow { margin: 2px 0 5px; color: #d7ed9f; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.rider-view .rider-account-form h2 { margin: 0; color: #fff; font-size: clamp(18px, 4vw, 22px); }
.rider-account-hero > p:last-child { margin: 3px 0 0; color: #fff; font-size: 12px; font-weight: 600; }
.rider-account-intro { margin: -2px 2px 0; color: #405248; font-size: 11.5px; line-height: 1.4; }
.rider-account-status { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; padding: 9px 12px; border: 1px solid #d5ebc8; border-radius: 13px; background: linear-gradient(100deg, #eaf8df, #f3fae9); color: #145a2b; }
.rider-account-status[data-status="pending"] { border-color: #f0dfb1; background: #fff8e6; color: #78520a; }
.rider-account-status[data-status="rejected"] { border-color: #f0c9c9; background: #fff0f0; color: #8d2929; }
.rider-account-status-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #138b39; color: #fff; }
.rider-account-status[data-status="pending"] .rider-account-status-icon { background: #be8313; }
.rider-account-status[data-status="rejected"] .rider-account-status-icon { background: #b73838; }
.rider-account-status-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rider-account-status > span:nth-child(2) { font-size: 12px; font-weight: 750; }
.rider-account-status small { display: block; margin-top: 2px; font-size: 10px; font-weight: 450; }
.rider-account-status > strong { text-align: right; font-size: 12px; }
.rider-account-pending { padding: 9px; border: 1px solid #eee0be; border-radius: 12px; background: #fffaf0; font-size: 11px; }
.rider-account-pending p { margin: 0 0 6px; }
.rider-account-section { min-width: 0; padding: 12px; border: 1px solid #e5ece7; border-radius: 16px; background: #fff; box-shadow: 0 5px 16px #1633210c; }
.rider-account-section > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; padding-bottom: 7px; border-bottom: 1px solid #b9d8bd; color: #18251d; font-size: clamp(15px, 3.5vw, 18px); }
.rider-account-section > h3 svg { flex: 0 0 21px; width: 21px; height: 21px; fill: none; stroke: #087b39; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.assigned-rider-card { display: flex; gap: 12px; align-items: center; margin: 14px 0; padding: 12px; border: 1px solid #cde2d4; border-radius: 12px; background: #f1f8f3; color: #183c2b; }
.assigned-rider-avatar { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; background: #dcebe1; overflow: hidden; display: grid; place-items: center; text-align: center; font-size: 10px; }
.assigned-rider-avatar > span { display: grid; place-items: center; width: 100%; height: 100%; }
.assigned-rider-avatar img { width: 100%; height: 100%; object-fit: cover; }
.assigned-rider-details { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.assigned-rider-details small { color: #53665b; }
.assigned-rider-details a { color: #136b45; }
.rider-account-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.rider-account-field, .rider-motorcycle-dropdown { display: grid; grid-template-columns: 26px minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 6px; min-width: 0; min-height: 44px; padding: 5px 8px; border: 1px solid #e1e7e4; border-radius: 11px; background: #fff; }
.rider-account-field:nth-child(odd), .rider-motorcycle-dropdown:nth-child(odd) { background: linear-gradient(100deg, #f0f7f0, #f7faf6); }
.rider-account-field > svg, .rider-motorcycle-dropdown > svg { grid-column: 1; grid-row: 1; width: 21px; height: 21px; color: #087b39; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rider-account-field > span, .rider-motorcycle-dropdown > label { grid-column: 2; grid-row: 1; min-width: 0; color: #263a2e; font-size: 11.5px; line-height: 1.25; }
.rider-motorcycle-dropdown > label { display: block; }
.rider-view .rider-account-form input, .rider-view .rider-account-form textarea { width: 100%; min-width: 0; min-height: 36px; box-sizing: border-box; padding: 5px 8px; border: 1px solid #cbd9d0; border-radius: 9px; background: #fff; color: #16231b; font-size: 14px; }
.rider-account-field > input, .rider-account-field > textarea, .rider-motorcycle-control { grid-column: 3; grid-row: 1; }
.rider-account-field input[readonly] { background: #eef3ef; color: #405248; }
.rider-account-address { min-height: 60px; }
.rider-account-field textarea { min-height: 44px; resize: vertical; }
.rider-motorcycle-dropdown { position: relative; align-content: center; }
.rider-motorcycle-dropdown > label { grid-column: 2; }
.rider-motorcycle-control { position: relative; }
.rider-view .rider-motorcycle-control input { padding-right: 44px; }
.rider-view .rider-account-form .rider-motorcycle-control button { position: absolute; right: 0; top: 0; bottom: 0; width: 34px; min-height: 0; margin: 0; padding: 8px; border: 0; background: transparent; color: #176f4c; }
.rider-motorcycle-control svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.rider-motorcycle-options { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 220px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #b5cebf; border-radius: 10px; box-shadow: 0 6px 20px #163c2526; }
.rider-motorcycle-options[hidden] { display: none; }
.rider-view .rider-account-form .rider-motorcycle-options button { display: block; width: 100%; min-height: 36px; margin: 0; padding: 7px 10px; border: 0; border-radius: 0; background: #fff; color: #183c2b; text-align: left; font-size: 12px; }
.rider-view .rider-account-form .rider-motorcycle-options button:hover, .rider-view .rider-account-form .rider-motorcycle-options .is-active { background: #e7f5ec; }
.rider-motorcycle-options [aria-selected="true"] { font-weight: 700; }
.rider-motorcycle-options p { padding: 9px; margin: 0; font-size: 10px; color: #405248; }
.rider-account-documents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rider-account-documents > h3, .rider-account-privacy { grid-column: 1 / -1; }
.rider-document { min-width: 0; margin: 0; padding: 9px; border: 1px solid #d5e5dd; border-radius: 12px; background: #f8fbf8; }
.rider-document legend { padding: 0 4px; color: #183c2b; font-size: 11px; font-weight: 750; }
.rider-document [data-rider-image-preview] { display: grid; min-height: 72px; margin-bottom: 6px; place-items: center; border: 1px dashed #bbd2c2; border-radius: 9px; background: #fff; color: #405248; font-size: 10px; text-align: center; }
.rider-document img { display: block; max-width: 100%; max-height: 200px; border-radius: 10px; object-fit: contain; }
.rider-document-upload { display: inline-flex !important; align-items: center; justify-content: center; min-height: 34px; padding: 0 9px; border: 1px solid #c6ddce; border-radius: 9px; background: #fff; color: #12643d; font-size: 10.5px; font-weight: 700; cursor: pointer; }
.rider-document-upload input { width: 1px !important; height: 1px; overflow: hidden; opacity: 0; }
.rider-account-privacy { margin: 2px 0 0; color: #405248; font-size: 10.5px; line-height: 1.4; }
.rider-account-form > p:not(.rider-account-intro) { font-size: 11px; line-height: 1.4; }
.rider-view .rider-account-form button { min-height: 36px; margin-top: 4px; font-size: 11px; }
.rider-account-form .rider-account-submit { min-height: 42px; border: 0; border-radius: 11px; background: linear-gradient(110deg, #078b4e, #06663e); color: #fff; font-size: 13px; font-weight: 750; box-shadow: 0 4px 12px #076b3d2c; }
.rider-account-form .rider-account-submit:hover { filter: brightness(1.05); }
.rider-account-form button:focus-visible, .rider-account-photo-picker:focus-within, .rider-document-upload:focus-within { outline: 3px solid #159457; outline-offset: 2px; }
.rider-document-upload:focus-within input { opacity: 1; width: 100% !important; }
@media (max-width: 560px) {
  .rider-account-form { gap: 9px; }
  .rider-account-hero { min-height: 190px; padding: 11px 10px 14px; border-radius: 16px; }
  .rider-account-avatar { width: 82px; height: 82px; }
  .rider-account-section { padding: 10px 8px; }
  .rider-account-field, .rider-motorcycle-dropdown { grid-template-columns: 23px minmax(0, .85fr) minmax(0, 1.15fr); gap: 5px; padding: 5px 7px; }
  .rider-account-field > svg, .rider-motorcycle-dropdown > svg { width: 19px; height: 19px; }
  .rider-account-field > span, .rider-motorcycle-dropdown > label { font-size: 11px; }
  .rider-account-documents { grid-template-columns: 1fr; }
  .rider-account-documents > h3, .rider-account-privacy { grid-column: auto; }
}
@media (max-width: 359px) {
  .rider-account-field, .rider-motorcycle-dropdown { grid-template-columns: 23px minmax(0, .8fr) minmax(0, 1.2fr); gap: 5px; padding: 6px; }
  .rider-account-field > span, .rider-motorcycle-dropdown > label { font-size: 11px; }
  .rider-view .rider-account-form input, .rider-view .rider-account-form textarea { padding: 7px; font-size: 14px; }
}
@media (max-width: 359px) {
  .rider-view .vendor-header-profile { width: 40px; height: 40px; }
  .rider-weekly-chart { padding-inline: 8px; }
  .rider-weekly-bars { gap: 2px; }
  .rider-weekly-value { font-size: 9px; }
}
@media (max-width: 460px) {
  .rider-income-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .rider-income-kpi { min-height: 126px; padding: 11px; }
  .rider-income-kpi.is-outstanding { grid-column: 1 / -1; }
  .rider-income-kpi > strong { font-size: clamp(20px, 6vw, 27px); }
  .rider-income-record, .rider-income-order { grid-template-columns: minmax(64px, .6fr) minmax(0, 1.4fr); gap: 8px; }
  .rider-income-record { grid-template-columns: minmax(68px, .55fr) minmax(0, 1.45fr); gap: 6px; padding: 6px; }
  .rider-income-record .rider-income-date-column { min-height: 0; padding: 6px 4px; }
  .rider-income-record .rider-income-detail { grid-column: 2; grid-row: 1; }
  .rider-income-record .rider-income-detail, .rider-income-order .rider-income-detail { grid-column: 2; grid-row: 1; }
  .rider-income-record .rider-income-actions { display: flex; grid-column: 1 / -1; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
  .rider-income-record .rider-income-actions { flex-direction: row; align-items: stretch; justify-content: space-between; flex-wrap: nowrap; gap: 6px; padding: 6px 0 0; border-top: 1px solid #d7dce1; border-left: 0; }
  .rider-income-record .rider-income-actions button { flex: 1 1 0; min-height: 30px; padding: 4px; font-size: 10px; }
  .rider-income-order > .rider-income-status { grid-column: 1 / -1; justify-self: start; }
  .rider-income-history > header { align-items: flex-start; }
}
@media (max-width: 359px) {
  .rider-income-history { padding: 10px; }
  .rider-income-record, .rider-income-order { grid-template-columns: minmax(58px, .55fr) minmax(0, 1.45fr); gap: 6px; }
  .rider-income-record { grid-template-columns: minmax(60px, .5fr) minmax(0, 1.5fr); gap: 5px; padding: 5px; }
  .rider-income-date { padding: 5px 4px; font-size: 11px; }
  .rider-income-detail > strong { font-size: 14px; }
  .rider-income-actions { gap: 4px; }
  .rider-income-actions button { padding-inline: 6px; }
  .rider-income-record .rider-income-actions button { gap: 3px; padding-inline: 3px; font-size: 9px; }
  .rider-income-record .rider-income-actions .vendor-icon { width: 14px; height: 14px; }
  .rider-income-kpi { padding: 9px; }
}
@media (min-width: 600px) {
  .rider-view::before { height: 460px; }
  .rider-view .rider-map-heading { min-height: 52px; }
  .rider-identity > span { font-size: 10px; }
  .rider-view .vendor-stat { padding: 5px 7px; }
  .rider-view .vendor-total-sales { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rider-switch-track, .rider-switch-thumb, .rider-task-slider { transition: none; }
}
