@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/manrope-latin.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/poppins-700.woff2') format('woff2');
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { color-scheme: light; --ink: #111111; --muted: #484848; --line: #d7d7d1; --paper: #f7f7f4; --yellow: #ffdd00; --yellow-light: #fff5ba; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 Poppins, system-ui, -apple-system, sans-serif; }
body.ride-app { font-family: Manrope, system-ui, -apple-system, sans-serif; }
body:has(.support-bubble) { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
.support-bubble {
  position: fixed;
  z-index: 1100;
  right: max(.85rem, env(safe-area-inset-right, 0px));
  bottom: calc(.85rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .6rem .95rem;
  border-radius: 99rem;
  background: #12653e;
  color: #fff;
  box-shadow: 0 4px 18px #0003;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.support-bubble:hover { background: #0b5030; }
.support-bubble-icon {
  position: relative;
  width: 1.05rem;
  height: .85rem;
  border: 2px solid currentColor;
  border-radius: .34rem;
}
.support-bubble-icon::after {
  content: "";
  position: absolute;
  bottom: -.24rem;
  left: .14rem;
  width: .29rem;
  height: .29rem;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  background: #12653e;
  transform: skewY(-36deg);
}
.support-bubble:hover .support-bubble-icon::after { background: #0b5030; }
header { background: var(--ink); color: white; }
.bar { max-width: 70rem; margin: auto; display: flex; min-height: 4.75rem; gap: 1rem; align-items: center; justify-content: space-between; padding: .15rem 1.25rem; }
#account-controls { display: flex; align-items: center; gap: .5rem; }
#profile-shortcut {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffdd00;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}
#profile-shortcut-photo { width: 100%; height: 100%; object-fit: cover; }
#profile-shortcut-photo:not([hidden]) + span { display: none; }
#account-menu { position: relative; z-index: 1120; }
#account-menu summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  border: 1px solid #858580;
  border-radius: .65rem;
  padding: .55rem .9rem;
  font-weight: 700;
}
#account-menu summary::-webkit-details-marker { display: none; }
.account-options {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  width: min(16rem, calc(100vw - 2rem));
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: white;
  box-shadow: 0 6px 24px #0003;
}
.account-options button { display: block; width: 100%; text-align: left; background: white; }
.account-options button:hover { background: var(--yellow-light); }
.brand { display: block; border-radius: .75rem; }
.brand img { display: block; width: 7rem; height: auto; border-radius: .45rem; }
main { max-width: 52rem; margin: auto; padding: 1.5rem 1.25rem 0; }
.intro { padding: clamp(1.2rem, 3vw, 2rem) 0 1.65rem; }
p, h1, h2, h3, dl, dd { margin: 0; }
.location { display: flex; gap: .55rem; align-items: center; color: #414141; font-weight: 700; }
.location span { width: .65rem; height: .65rem; border: 2px solid currentColor; border-radius: 50%; }
h1 { margin: .45rem 0 .5rem; font-size: clamp(2.5rem, 8vw, 4.8rem); line-height: 1; letter-spacing: -.07em; }
h1 em { color: #262626; font-style: normal; }
.intro > p:last-child, .panel p, #history p { color: var(--muted); }
h2 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
h3 { font-size: 1.1rem; }
.panel { margin: 0 0 1rem; }
.panel { border: 1px solid var(--line); border-radius: 1.25rem; background: white; padding: clamp(1rem, 4vw, 1.6rem); box-shadow: 0 5px 16px #0000000d; }
.panel > p { margin-top: .25rem; }
form { display: grid; gap: 1rem; margin-top: 1.1rem; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
legend, label { font-weight: 600; }
label { display: block; }
small { font-size: .875rem; color: var(--muted); font-weight: 500; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .4rem; }
.choices label { border: 1px solid var(--line); border-radius: .65rem; min-height: 2.75rem; padding: .5rem .55rem; display: flex; align-items: center; gap: .3rem; font-size: .9rem; }
.choices label:has(:checked) { background: var(--yellow-light); border-color: #8b7200; }
input[type=radio] { margin: 0; accent-color: #262626; }
input:not([type=radio]):not([type=checkbox]) { width: 100%; min-height: 2.85rem; display: block; margin-top: .35rem; border: 1px solid #9c9c96; border-radius: .65rem; padding: .56rem .75rem; background: #fcfcfb; color: var(--ink); font: inherit; font-weight: 500; }
#account-login select, #password-recovery-start select { display: block; width: 100%; min-height: 2.85rem; margin-top: .35rem; border: 1px solid #9c9c96; border-radius: .65rem; padding: .56rem .75rem; background: #fcfcfb; color: var(--ink); font: inherit; }
.recovery-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .35rem; color: var(--ink); font-weight: 600; }
.recovery-code { display: inline-block; padding: .55rem .7rem; border-radius: .6rem; background: var(--yellow-light); color: var(--ink); font-size: 1.1rem; letter-spacing: .06em; user-select: all; }
#password-recovery-ticket p, #password-recovery-status, #reset-approval-status { margin-top: .75rem; }
#reset-approval-result textarea { width: 100%; min-height: 6rem; padding: .6rem; border: 1px solid var(--line); border-radius: .6rem; font: inherit; }
#join-terms input { width: 1.25rem; height: 1.25rem; vertical-align: middle; accent-color: #262626; }
#verification-step button { margin: .25rem .25rem 0 0; }
#join-password-fields { display: grid; gap: .55rem; }
article.panel table { width: 100%; border-collapse: collapse; }
article.panel th, article.panel td { padding: .5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
button { cursor: pointer; min-height: 2.75rem; border: 1px solid transparent; border-radius: .65rem; padding: .55rem .9rem; color: var(--ink); font: inherit; font-weight: 700; }
button:disabled { opacity: .65; cursor: wait; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #795e00; outline-offset: 2px; }
.primary { background: var(--yellow); border-color: #d7b900; }
.primary:hover { background: #efcc00; }
.secondary { background: #efefed; border-color: var(--line); }
.quiet { background: transparent; color: white; border-color: #858580; }
.home-map-panel { position: relative; overflow: hidden; border: 1px solid #cfd8d0; border-radius: 1.55rem; isolation: isolate; }
#home-map { height: clamp(18rem, 52vh, 33rem); height: clamp(18rem, 52svh, 33rem); background: #dfe8e2; font-family: inherit; }
#home-map .leaflet-control-attribution { margin-bottom: .5rem; }
.home-map-panel[data-picking] #home-map { cursor: crosshair; }
.home-map-panel[data-picking]::after {
  content: "+";
  position: absolute;
  z-index: 450;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 1.55rem;
  height: 1.55rem;
  text-align: center;
  line-height: 1.4rem;
  background: white;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
}
.map-city, #home-map-locate {
  position: absolute;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 2rem;
  background: white;
  box-shadow: 0 2px 12px #233a3030;
}
.map-city {
  top: .75rem;
  left: 3.25rem;
  min-height: 2.1rem;
  padding: .25rem .7rem;
  font-size: .77rem;
  font-weight: 600;
  pointer-events: none;
}
.map-city > span, .availability-label::before {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #137455;
}
#home-map-locate {
  right: .65rem;
  bottom: 1.8rem;
  padding-inline: .8rem;
  font-size: .8rem;
}
.map-selection-actions {
  position: absolute;
  z-index: 1000;
  bottom: 1.8rem;
  inset-inline: .55rem;
  display: flex;
  gap: .4rem;
  justify-content: center;
  padding: .38rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 18px #243b332e;
}
.locate-icon { display: inline-grid; place-items: center; width: .95rem; height: .95rem; border: 2px solid currentColor; border-radius: 50%; }
.locate-icon::after { content: ""; width: .3rem; height: .3rem; border-radius: 50%; background: currentColor; }
.home-map-status { margin-bottom: .6rem; color: var(--muted); font-size: .8rem; }
.home-map-status:empty { display: none; }
.map-approach { margin: 0; padding: .45rem .75rem; background: white; color: var(--ink); font-size: .8rem; }
.map-approach:empty { display: none; }
.map-approach strong { display: block; font-size: 1rem; }
.driver-position {
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: #f5f5f5 url("/moto-localizacao-mototaxista.avif") no-repeat 50% 16% / 210% auto;
  box-shadow: 0 2px 6px #0005;
}
.ride-share-on-accept { display: flex; align-items: flex-start; gap: .5rem; }
.ride-share-on-accept input { flex: none; margin-top: .3em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.panel-head { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; }
.pill { border-radius: .45rem; padding: .25rem .55rem; background: var(--yellow-light); font-size: .875rem; font-weight: 600; }
.notice { margin-bottom: 1rem; background: #f9efda; border: 1px solid #d7ba84; border-radius: .65rem; padding: .55rem .8rem; }
.ride-card { min-width: 0; overflow-wrap: anywhere; }
#requests:empty { display: none; }
#requests .ride-card, #history-list .ride-card { border: 1px solid var(--line); margin-top: .75rem; background: white; padding: .85rem; border-radius: .8rem; }
.ride-card dl { display: grid; gap: .4rem; margin-top: .7rem; }
.ride-card dl > div { display: grid; grid-template-columns: 6rem 1fr; gap: .45rem; }
dt { font-size: .9rem; font-weight: 700; color: var(--muted); }
.fare-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .1rem .65rem;
  margin-top: .75rem;
  padding: .7rem .85rem;
  border: 1px solid #ebd36e;
  border-radius: .72rem;
  background: var(--yellow-light);
}
.fare-summary span { font-size: .89rem; font-weight: 700; }
.fare-summary strong { font-size: clamp(1.15rem, 4vw, 1.5rem); font-variant-numeric: tabular-nums; }
.fare-summary small { grid-column: 1 / -1; }
.ride-date { display: block; margin-top: .3rem; color: var(--muted); font-size: .82rem; }
.ride-card .distance-summary { margin-top: .6rem; padding: .42rem .65rem; border-radius: .55rem; background: #f2f4f4; font-size: .83rem; font-weight: 600; }
.ride-person { display: flex; align-items: center; gap: .65rem; margin-block: .65rem; font-weight: 700; }
.profile-avatar { width: 3rem; height: 3rem; object-fit: cover; border: 1px solid var(--line); border-radius: 50%; }
#profile-photo, #profile-settings, .account-dialog {
  width: min(28rem, calc(100% - 2rem));
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  color: var(--ink);
}
#profile-photo::backdrop, #profile-settings::backdrop, .account-dialog::backdrop { background: #0008; }
.account-dialog select, .account-dialog textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  border: 1px solid #9c9c96;
  border-radius: .65rem;
  padding: .55rem .7rem;
  color: var(--ink);
  background: #fcfcfb;
  font: inherit;
}
#complaint-status:not(:empty) { margin-top: .7rem; }
.ride-rating { flex-basis: 100%; padding: .7rem; border: 1px solid var(--line); border-radius: .65rem; }
.ride-rating summary { cursor: pointer; font-weight: 700; }
.ride-rating form { display: grid; gap: .65rem; margin-top: .65rem; }
.ride-rating form button { justify-self: start; }
.ride-rating p { white-space: pre-wrap; overflow-wrap: anywhere; }
.ride-rating p:empty { display: none; }
.ride-rating-stars { display: flex; flex-wrap: wrap; gap: .2rem; }
.ride-rating-stars legend { margin-bottom: .35rem; }
.ride-rating-stars label { position: relative; cursor: pointer; }
.ride-rating-stars span {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .5rem;
  border: 1px solid var(--line); color: var(--muted); font-size: 1.5rem;
}
.ride-rating-stars label:has(input:checked) span,
.ride-rating-stars label:has(~ label input:checked) span { background: var(--yellow); color: var(--ink); }
.ride-rating-stars input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
#profile-settings .profile-settings-photo { margin: .85rem 0 1.05rem; }
#profile-details-form input[readonly] { color: var(--muted); background: var(--paper); }
#profile-details-form small { margin-top: -.45rem; }
#profile-details-complete { border-top: 1px solid var(--line); padding-top: .85rem; }
#profile-settings-status { margin-top: .75rem; }
#profile-settings-status:empty { display: none; }
#profile-photo > p, #profile-photo > img, #profile-photo-required button { margin-top: .7rem; }
#profile-photo-status:empty { display: none; }
.photo-sources { display: grid; gap: .8rem; }
.photo-sources button { justify-self: start; }
#profile-camera-video, #profile-photo-preview {
  display: block;
  width: min(100%, 14rem);
  aspect-ratio: 1;
  border-radius: .75rem;
  background: var(--paper);
  object-fit: cover;
}
.ride-card:has(.ride-progress:not([hidden])) .panel-head { align-items: flex-start; flex-direction: column; }
.ride-card:has(.ride-progress:not([hidden])) h3 { font-size: clamp(1.35rem, 5vw, 1.8rem); line-height: 1.2; }
.ride-progress { margin-block: .8rem 1rem; }
.ride-next { color: var(--muted); }
.pickup-estimate {
  display: grid;
  gap: .2rem;
  margin-top: .8rem;
  border-radius: .7rem;
  border: 1px solid var(--line);
  background: var(--yellow-light);
  padding: .65rem .8rem;
  font-weight: 600;
}
.pickup-time { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
#active .actions .primary { flex-basis: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.actions:empty { display: none; }
.actions form { margin: 0; }
.actions form .primary { width: 100%; }
footer { padding: 1rem 0 2rem; color: var(--muted); font-size: .875rem; }
@media (max-width: 360px) { .choices { grid-template-columns: 1fr; } main, .bar { padding-left: .8rem; padding-right: .8rem; } }

.quiet:focus-visible, .brand:focus-visible { outline-color: var(--yellow); }
.download-android {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem .9rem;
  border-radius: .7rem;
  background: var(--yellow);
  color: #111;
  font-weight: 700;
}
.download-android[hidden] { display: none; }

#tracking-toggle { margin-top: .75rem; }
#notice-center #notifications {
  margin: .8rem 0;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--paper);
}
#notice-center #notifications-title { font-size: 1rem; }
#notice-center #notifications-status { margin-top: .25rem; font-size: .85rem; }
#notifications-toggle { margin-top: .55rem; }
.ride-alert { background: var(--yellow-light); border-color: #a78100; font-weight: 600; }

.driver-earnings[open] {
  display: grid;
  gap: .7rem;
  width: min(35rem, calc(100% - 2rem));
  max-height: 85vh;
  overflow-y: auto;
}
.earnings-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(8.3rem, 100%), 1fr)); gap: .45rem; }
.earnings-breakdown > div {
  min-width: 0;
  padding: .6rem .7rem;
  border: 1px solid #e1c747;
  border-radius: .66rem;
  background: #fffbea;
}
.earnings-breakdown dd { font-size: clamp(1.06rem, 3.9vw, 1.55rem); font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.earnings-breakdown > div:last-child { background: #ffed8a; }
#earnings-pending { margin: 0; font-weight: 600; }
.driver-statement { display: grid; gap: .45rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.driver-statement p { font-size: .84rem; }
.driver-statement p:empty { display: none; }
#statement-list { display: grid; gap: .45rem; list-style: none; margin: 0; padding: 0; }
#statement-list li { padding: .5rem .65rem; background: var(--paper); border-radius: .55rem; overflow-wrap: anywhere; }
#statement-list small { display: block; }
#statement-more { justify-self: start; }
#driver-billing-notice { width: min(100%,47rem); margin-inline: auto; }
.quote-commission, .ride-card .commission-summary { color: var(--ink); font-weight: 600; }
.ride-card .commission-summary { margin-top: .5rem; font-size: .85rem; }


.guest-nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); }
.guest-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: white; font-size: .9rem; font-weight: 600; text-decoration: none; }
.guest-nav a:hover { text-decoration: underline; }
.guest-nav a:focus-visible { outline-color: var(--yellow); }
#home-login { padding: .45rem .9rem; border: 1px solid #79796f; border-radius: .65rem; }
.site-main:has(#home-welcome:not([hidden])) { max-width: 70rem; }
.home-welcome {
  display: grid;
  align-items: center;
  gap: clamp(1.35rem, 4vw, 3rem);
  margin-bottom: clamp(1rem, 3vw, 1.8rem);
  padding: clamp(1.2rem, 4.7vw, 3.15rem);
  border-radius: clamp(1.1rem, 3vw, 1.85rem);
  background: radial-gradient(ellipse at 100% 0%, #3e3720 0%, #1d1c18 38%, #141414 80%);
  color: #fff;
}
.home-intro .location { color: #f6e6a0; font-size: .85rem; }
.home-welcome h1 { max-width: 12ch; margin-block: .75rem 1rem; font-size: clamp(2.5rem, 7vw, 4.85rem); line-height: 1.02; }
.home-welcome h1 em { display: block; color: var(--yellow); }
.home-description { max-width: 44ch; color: #eeeadf; font-size: clamp(.97rem, 2vw, 1.12rem); }
.home-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.home-action { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .72rem; text-decoration: none; font-size: .94rem; font-weight: 700; }
.home-action-primary { background: var(--yellow); color: var(--ink); }
.home-action-primary:hover { background: #fff183; }
.home-action-secondary { border-color: #a5a190; color: #fff; }
.home-action-secondary:hover { background: #fff1; }
.home-action:focus-visible { outline-color: white; }
.journey { scroll-margin-top: 1rem; padding: clamp(1rem, 3vw, 1.65rem); border-radius: 1.1rem; background: #fff7cc; color: var(--ink); }
.journey h2 { font-size: clamp(1.2rem, 3vw, 1.55rem); }
.journey ol { display: grid; list-style: none; counter-reset: journey; margin: .65rem 0 0; padding: 0; }
.journey li { position: relative; counter-increment: journey; padding: .7rem 0 .7rem 2.2rem; }
.journey li + li { border-top: 1px solid #d9cca0; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before { content: counter(journey); position: absolute; top: .68rem; left: 0; display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--ink); color: white; font-size: .78rem; font-weight: 700; }
.journey li p { margin-top: .17rem; color: var(--muted); font-size: .88rem; }
.access-layout { display: grid; gap: clamp(1rem, 3vw, 1.8rem); }
#gate { min-width: 0; scroll-margin-top: 1rem; }
#gate .primary { min-height: 3.05rem; }
.join-grid { display: grid; gap: .75rem; }
.join-grid label { min-width: 0; }
.join-rule { margin-top: .25rem; color: var(--muted); font-size: .8rem; }
.join-rule summary { cursor: pointer; }
.join-rule p { margin-top: .3rem; }
.join-password-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .7rem; }
.join-password-help label { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; }
#history { max-height: 85vh; overflow-y: auto; }
#history-empty { margin-top: .65rem; }
.home-audiences { display: grid; align-content: start; gap: .8rem; }
.audience-card { padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid #d7b500; border-radius: .8rem; background: #fff; }
.audience-card h2 { font-size: 1.15rem; }
.audience-card p { margin-top: .4rem; color: var(--muted); font-size: .9rem; }
#dashboard-intro { padding-bottom: 1.15rem; }
#dashboard-intro h1 { font-size: clamp(2rem, 6vw, 3.3rem); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1rem; border-top: 1px solid var(--line); margin-top: 1.35rem; }
.site-footer strong, .site-footer span { display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; }
.site-footer a:not(.download-android) { color: var(--muted); }
@media (min-width: 52rem) {
  .home-welcome { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .site-main:has(#home-audiences:not([hidden])) .access-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: start;
  }
}
@media (max-width: 31rem) {
  .guest-nav .guest-guide { display: none; }
  .home-actions { display: grid; }
  .home-action { justify-content: space-between; }
}
@media (min-width: 34rem) {
  .join-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.admin-page main { max-width: 70rem; }
.admin-page h1 { margin-bottom: 1.15rem; font-size: clamp(2.2rem, 7vw, 3.6rem); }
#admin-login { max-width: 28rem; }
.admin-toolbar, .admin-tabs, .admin-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.admin-toolbar { justify-content: space-between; margin-bottom: .8rem; }
.admin-tabs button { border-color: var(--line); background: #fff; }
.admin-tabs button[aria-pressed="true"] { border-color: #d7b900; background: var(--yellow); }
.admin-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; }
.admin-filters label { flex: 1 1 10.5rem; }
.admin-page select, .admin-page textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin-top: .35rem;
  border: 1px solid #9c9c96;
  border-radius: .65rem;
  padding: .55rem .7rem;
  background: #fcfcfb;
  color: var(--ink);
  font: inherit;
}
#admin-list { display: grid; gap: .75rem; margin-top: .9rem; }
.admin-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(11rem,100%),1fr)); gap: .7rem; }
.admin-metric, .admin-record { min-width: 0; border: 1px solid var(--line); border-radius: .8rem; padding: .85rem; }
.admin-metric { display: grid; gap: .25rem; background: #fff9df; }
.admin-metric span { color: var(--muted); font-size: .85rem; }
.admin-metric strong { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.admin-record { overflow-wrap: anywhere; }
.admin-record-details { display: grid; gap: .32rem; margin-top: .6rem; }
.admin-record-details > div { display: grid; grid-template-columns: minmax(5.5rem, .75fr) minmax(0, 1.25fr); gap: .5rem; }
.admin-record-details dd { font-size: .87rem; }
.admin-record .admin-complaint-message { margin-top: .7rem; white-space: pre-wrap; }
.admin-complaint-form { gap: .6rem; }
.admin-profile-photo { width: 5rem; height: 5rem; margin-top: .65rem; border-radius: .7rem; object-fit: cover; }
.admin-pagination { justify-content: center; margin-top: 1rem; }
#admin-action h2 + p, #admin-action-status:not(:empty) { margin-top: .55rem; }
#admin-week-info { margin-top: .85rem; padding: .65rem .8rem; border-radius: .6rem; background: var(--yellow-light); }
@media (min-width: 50rem) { #admin-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.passenger-map-view { background: #f2f4f1; }
.passenger-map-view #dashboard-intro { display: none; }
.passenger-map-view .bar { min-height: 3.8rem; }
.passenger-map-view .brand img { width: 3.75rem; }
.passenger-map-view .site-main { max-width: 69rem; padding-top: clamp(.45rem, 2vw, 1.1rem); }
.passenger-map-view .support-bubble { position: static; margin: 0 1.25rem 1rem; }
.passenger-map-view:has(.support-bubble) { padding-bottom: env(safe-area-inset-bottom, 0px); }
.passenger-map-view :is(.passenger-sheet, #active, #tracking) {
  width: min(100%, 43rem);
  margin-inline: auto;
}
.passenger-map-view :is(.passenger-sheet, #active) {
  position: relative;
  z-index: 10;
  margin-top: .65rem;
  border-radius: 1.5rem;
  padding: clamp(.9rem, 3.3vw, 1.65rem);
  box-shadow: 0 8px 30px #253a3014;
}
.passenger-map-view:has(#home-map-panel:not([hidden])) :is(.passenger-sheet, #active) {
  width: min(calc(100% - 1rem), 43rem);
  margin-top: -.5rem;
}
.passenger-sheet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem .65rem;
  flex-wrap: wrap;
}
#passenger-greeting { font-size: .85rem; font-weight: 600; }
.availability-label {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  font-size: .7rem;
  font-weight: 600;
  color: #28634b;
}
.availability-label::before { content: ""; flex: 0 0 .45rem; }
.availability-label[data-empty]::before { background: #767871; }
#passenger-step-title { flex: 0 0 100%; margin: 0; font-size: clamp(1.38rem, 5vw, 2rem); line-height: 1.2; letter-spacing: -.028em; }
#ride { margin-top: .75rem; gap: .65rem; }
#ride:has(#ride-review:not([hidden])) .route-fields { display: none; }
#ride input { margin-top: 0; min-height: 3.1rem; border-color: #6e7b72; background: #f4f6f3; }
#ride input::placeholder { color: #525d56; }
.point-actions, .booking-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.point-actions { margin-top: .35rem; }
.point-actions:has(button:not([hidden])) { margin-bottom: .12rem; }
.point-actions .secondary { min-height: 2.75rem; font-size: .78rem; background: #fff; border-color: #c9d4cb; }
#ride [data-point-summary] { padding: .65rem .75rem; border-radius: .65rem; background: #eaf0eb; font-size: .85rem; font-weight: 600; }
.booking-actions .primary { flex: 1 1 auto; min-height: 3.05rem; }
#ride-reference summary { width: fit-content; padding-block: .55rem; cursor: pointer; font-size: .82rem; }
.booking-route { display: grid; gap: .4rem; font-size: .86rem; overflow-wrap: anywhere; }
.booking-route > div { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: .5rem; }
.booking-route dt { font-weight: 600; }
.booking-fare {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 4.3rem;
  margin-top: .75rem;
  padding: .6rem .85rem;
  border: 1px solid #d5b32d;
  border-radius: .95rem;
  background: #fffdf3;
}
.booking-moto-icon {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .8rem;
  background: #ffe681 url("/favicon-moto.png") center / contain no-repeat;
}
.booking-moto-name { font-size: 1rem; }
#review-fare { text-align: right; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.booking-fare-note { margin: .35rem 0 0; color: var(--muted); font-size: .83rem; }
.booking-notice { margin: .65rem 0 0; font-size: .9rem; }
.booking-notice p { margin-top: .25rem; }
.driver-pilot-fares { display: flex; flex-wrap: wrap; gap: .4rem; }
.driver-pilot-fares legend { padding-bottom: .25rem; font-size: .85rem; }
#ride-form-status { color: #832b19; font-size: .85rem; }
.passenger-ride-card .ride-person {
  padding: .65rem;
  border-radius: .9rem;
  background: #f1f4ef;
}
.ride-person-details { min-width: 0; }
.ride-person-caption { color: var(--muted); font-size: .75rem; font-weight: 600; }
.passenger-ride-card .ride-person [data-field="driver"] { font-size: 1.1rem; line-height: 1.35; }
.passenger-ride-card .ride-driver-vehicle {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .45rem;
  margin: .55rem 0 0;
}
.passenger-ride-card .ride-driver-vehicle > div {
  display: block;
  background: #faf9f3;
  border-radius: .65rem;
  border: 1px solid var(--line);
  padding: .45rem .6rem;
}
.ride-driver-vehicle dt { color: var(--muted); font-size: .73rem; }
.ride-driver-vehicle dd { margin: 0; font-weight: 700; }
.passenger-pickup-card .ride-person .profile-avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; }
.passenger-pickup-card .pickup-estimate { display: flex; align-items: center; gap: .5rem; justify-content: space-between; }
.passenger-pickup-card .pickup-estimate > span { font-size: .79rem; }
.passenger-pickup-card .pickup-time { text-align: right; font-size: 1rem; }
#home-map-approach[data-passenger-pickup] { border-top: 3px solid var(--yellow); padding-block: .55rem .85rem; }
#home-map-approach[data-passenger-pickup] strong { color: #162e20; font-size: 1.12rem; }

.ride-driver-phone {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .84rem;
  color: #1a6249;
}
.passenger-ride-card .ride-person .profile-avatar { width: 3.25rem; height: 3.25rem; }
.passenger-searching .panel-head { position: relative; }
.passenger-searching .panel-head h3 { padding-left: 3.2rem; min-height: 2.5rem; }
.passenger-searching .panel-head::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: .8rem;
  background: #ffe681 url("/moto-localizacao-mototaxista.avif") center / 78% auto no-repeat;
  animation: search-pulse 2s ease-out infinite;
}
.passenger-searching .ride-progress { margin-block: .55rem .7rem; }
.passenger-searching .ride-next { font-size: .88rem; margin: 0; }
.search-timer {
  display: grid;
  gap: .35rem;
  padding: .55rem .7rem;
  margin-top: .65rem;
  background: #fff9db;
  border-radius: .7rem;
}
.search-timer > div { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .82rem; }
.search-time { font-size: 1rem; font-variant-numeric: tabular-nums; }
.search-timer progress { width: 100%; height: .43rem; accent-color: #a47800; }
.passenger-searching .actions button { width: 100%; }
@keyframes search-pulse {
  from { box-shadow: 0 0 0 0 #ffd52c99; }
  to { box-shadow: 0 0 0 .45rem #ffd52c00; }
}
@media (prefers-reduced-motion: reduce) { .passenger-searching .panel-head::before { animation: none; } }
@media (max-width: 36rem) {
  .passenger-map-view .site-main { padding-inline: .65rem; }
  .passenger-map-view:has(#home-map-panel:not([hidden])) :is(.passenger-sheet, #active) { width: 100%; }
  .home-map-panel { border-radius: 1.2rem; }
}

.driver-map-view { background: #f3f3ef; }
.driver-map-view #dashboard-intro { display: none; }
.driver-map-view .bar { min-height: 3.8rem; }
.driver-map-view .brand img { width: 3.75rem; }
.driver-map-view .site-main { max-width: 66rem; padding-top: clamp(.5rem, 2vw, 1rem); }
.driver-map-view :is(#active, #tracking, #driver-offers, .driver-today) {
  width: min(100%, 47rem);
  margin-inline: auto;
}
.driver-map-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #d1d5ce;
  border-radius: 1.45rem;
  background: #e6eae4;
}
#ride-map {
  height: clamp(17rem, 49vh, 31rem);
  height: clamp(17rem, 49svh, 31rem);
  background: #e6eae4;
  font-family: inherit;
}
#ride-map .leaflet-top.leaflet-left { top: auto; bottom: 2.1rem; }
.driver-map-status {
  position: absolute;
  z-index: 1000;
  top: .7rem;
  inset-inline: .7rem;
  width: min(calc(100% - 1.4rem), 32rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  padding: .65rem .8rem;
  color: #fff;
  border-radius: 1rem;
  background: #1b1c1a;
  box-shadow: 0 4px 18px #17201936;
}
.driver-map-frame:has(#ride-map[hidden]) .driver-map-status { position: relative; inset: auto; margin: .7rem auto; }
.driver-map-frame:has(#ride-map[hidden]) .driver-distance-tools { position: static; padding: 0 .7rem .7rem; text-align: right; }
#driver-title { margin: 0; font-size: clamp(1rem, 3.5vw, 1.25rem); letter-spacing: -.025em; line-height: 1.2; overflow-wrap: anywhere; }
#driver-availability { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; color: #eee; font-size: .79rem; }
#driver-availability::before { content: ""; width: .5rem; height: .5rem; flex: 0 0 .5rem; background: #aaa; border-radius: 50%; }
#driver-availability[data-online="true"]::before { background: #78e8a9; }
#availability { min-height: 2.85rem; flex: 0 0 auto; font-size: .84rem; }
.driver-distance-tools { position: absolute; z-index: 1000; bottom: 1.4rem; right: .65rem; }
.driver-distance-tools button { display: inline-flex; align-items: center; gap: .45rem; border-radius: 2rem; background: #fff; font-size: .8rem; }
#driver-location-status { margin: .3rem .5rem 0; font-size: .81rem; color: var(--muted); }
#driver-location-status:empty { display: none; }
.driver-today {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  margin-block: .65rem .85rem;
  padding: .8rem 1rem;
  border: 1px solid #e5d47b;
  border-radius: 1.05rem;
  background: #fff8d5;
}
.driver-today p { font-size: .82rem; color: #494636; }
#driver-today-net { font-size: 1.45rem; font-variant-numeric: tabular-nums; }
#driver-offers { margin-top: .65rem; }
#driver-offers #availability-text { font-size: .88rem; }
#requests .driver-offer { border: 1px solid #d7be56; border-left: .28rem solid #d9b400; padding: clamp(.75rem, 3vw, 1.05rem); }
.driver-offer .actions form { width: 100%; display: grid; gap: .6rem; }
.driver-offer-actions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: .5rem; }
.driver-offer-actions button { min-height: 3rem; }
.driver-map-view #active { margin-top: .75rem; }
.driver-map-view .trip-distance { margin-top: .35rem; font-size: .83rem; }
.driver-periods > div { background: #fff8d5; }
.driver-period-note { font-size: .8rem; }
@media (max-width: 36rem) {
  .driver-map-view .site-main { padding-inline: .65rem; }
  .driver-map-view .support-bubble { position: static; margin: 0 1.25rem 1rem; }
  .driver-map-view:has(.support-bubble) { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .driver-offer .pill { font-size: .75rem; }
  .driver-offer-actions button { padding-inline: .35rem; font-size: .86rem; }
}

#notice-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .65rem; }
#notice-list li { background: var(--surface, #f6f6f6); border: 1px solid #e2e2e2; padding: .85rem; border-radius: 1rem; overflow-wrap: anywhere; }
#notice-list small { display: block; margin-top: .25rem; }
#notice-list p { margin: .45rem 0; }
#notice-preferences { margin-top: 1rem; border-top: 1px solid #e2e2e2; padding-top: .75rem; }
#notice-preferences label { display: flex; align-items: center; gap: .5rem; }
#notice-preferences input[type=checkbox] { width: 1.25rem; height: 1.25rem; accent-color: #f4c300; }
#notice-badge, #admin-alert-count { background: #ffc900; color: #161616; padding: .15rem .45rem; margin-left: .35rem; border-radius: 999px; font-size: .78rem; }

.address-suggestions { margin: .35rem 0; border: 1px solid #dce4de; border-radius: .75rem; background: #fff; overflow: hidden; }
.address-suggestions ul { list-style: none; margin: 0; padding: 0; max-height: 15rem; overflow: auto; }
.address-suggestions li { display: grid; gap: .15rem; padding: .6rem .75rem; cursor: pointer; overflow-wrap: anywhere; }
.address-suggestions li + li { border-top: 1px solid #edf0ed; }
.address-suggestions li:hover, .address-suggestions [aria-selected="true"] { background: #fff1ad; }
.address-suggestions small, .address-suggestions a, .address-suggestions p { color: #424b45; font-size: .75rem; }
.address-suggestions a, .address-suggestions p:not(.sr-only) { display: block; padding: .4rem .75rem; margin: 0; }
.address-suggestions a[hidden] { display: none; }

#ride [data-house-number-field] { margin: .5rem 0; }

#active .ride-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .6rem .85rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  color: inherit;
  font-size: .85rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
#active .ride-directions:hover { background: #e6e6e2; }

.ride-board-code { display: grid; gap: .2rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff5bf; }
.ride-board-code strong { font-size: 1.5rem; letter-spacing: .18em; color: #191809; }
#active .ride-boarding { display: grid; gap: .4rem; width: 100%; }
#active .ride-boarding input { font-variant-numeric: tabular-nums; }

.ride-messages summary { cursor: pointer; }
#ride-message-preview { display: block; padding-left: 1.1rem; color: #4b524c; overflow-wrap: anywhere; }
#ride-message-preview:empty, #ride-message-list:empty, #ride-message-status:empty { display: none; }
#ride-message-list { display: grid; gap: .45rem; overflow-y: auto; max-height: 14rem; padding: .25rem 0; list-style: none; }
#ride-message-list li { justify-self: start; max-width: 92%; padding: .55rem .7rem; background: #eeefec; border-radius: .7rem; overflow-wrap: anywhere; }
#ride-message-list .own-message { justify-self: end; background: #fff2b3; }
#ride-message-list p { margin: .2rem 0 0; white-space: pre-wrap; }
#ride-message-form { margin: .65rem 0; }
#ride-message-status { margin-bottom: 0; }

.nearby-share { margin: .5rem; font-size: .82rem; }
.nearby-share label { display: flex; align-items: center; gap: .5rem; }
.nearby-share input { flex: none; width: 1rem; min-height: 1rem; margin: 0; }
.nearby-share small { display: block; margin: .25rem 0 0 1.5rem; }
.nearby-share small:empty { display: none; }
.nearby-moto {
  background: #fff url("/moto-localizacao-mototaxista.avif") center / 21px auto no-repeat;
  border: 2px solid #dfae00;
  border-radius: 50%;
  box-shadow: 0 2px 5px #0004;
}
.nearby-moto span {
  position: absolute;
  top: -.45rem;
  right: -.5rem;
  min-width: 1rem;
  padding: .08rem .22rem;
  border-radius: 1rem;
  background: #181818;
  color: #fff;
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
}

.booking-start, .booking-pickup {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: .85rem;
  padding: .75rem .95rem;
}
.booking-start {
  margin-top: .7rem;
  min-height: 3.5rem;
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 750;
}
.booking-pickup {
  margin: 0 0 .65rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.booking-pickup > span { display: block; font-size: .75rem; color: var(--muted); }
.booking-pickup > strong { display: block; overflow-wrap: anywhere; }

.saved-place-shortcuts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .35rem;
  margin: .55rem 0;
}
.saved-place-shortcuts button { min-width: 0; font-size: .83rem; padding-inline: .25rem; }
.saved-place-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  padding-block: .5rem;
  border-bottom: 1px solid var(--line);
}
.saved-place-row .saved-place-choice { flex: 1 1 10rem; min-width: 0; text-align: left; }
.saved-place-choice strong, .saved-place-choice small { display: block; overflow-wrap: anywhere; }
#add-saved-place { margin-top: .75rem; }
#saved-place-edit .booking-actions { margin-top: .75rem; }

.passenger-map-view {
  --passenger-surface: #fff;
  --passenger-soft: #f7f6f0;
  --passenger-border: #e7e3d6;
  background: #F8F5EC;
}
.passenger-map-view > header {
  background: #121212;
  border-bottom: 3px solid var(--yellow);
}
.passenger-map-view .home-map-panel {
  border-color: #d7d2c2;
  box-shadow: 0 6px 18px #1111;
}
.passenger-map-view :is(.passenger-sheet,#active) {
  border: 1px solid var(--passenger-border);
  background: var(--passenger-surface);
  box-shadow: 0 8px 24px #30260016;
}
#passenger-step-title { font-weight: 700; }
.booking-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.65rem;
  padding-inline: 1rem;
  border: 1px solid #e4bd00;
  box-shadow: 0 3px 0 #ba9500;
}
.booking-start::after {
  content: "";
  width: .58rem;
  height: .58rem;
  margin-right: .2rem;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.booking-pickup {
  position: relative;
  padding-left: 2.1rem;
  background: var(--passenger-soft);
  border-color: var(--passenger-border);
}
.booking-pickup::before {
  content: "";
  position: absolute;
  left: .78rem;
  top: 50%;
  width: .48rem;
  height: .48rem;
  border: 3px solid #1a1914;
  border-radius: 50%;
  background: var(--yellow);
  transform: translateY(-50%);
}
#ride input {
  border-color: #827c64;
  background: #fff;
  border-radius: .85rem;
}
.saved-place-shortcuts button {
  border-radius: .6rem;
  background: var(--passenger-soft);
  border-color: var(--passenger-border);
}
.passenger-map-view :is(.booking-route,.passenger-ride-card .ride-route) {
  gap: 0;
  padding: .1rem .75rem;
  border: 1px solid var(--passenger-border);
  border-radius: .85rem;
  background: var(--passenger-soft);
}
.passenger-map-view :is(.booking-route,.passenger-ride-card .ride-route) > div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  column-gap: .5rem;
  row-gap: .1rem;
  padding: .49rem 0 .49rem 1.15rem;
}
.passenger-map-view :is(.booking-route,.passenger-ride-card .ride-route) > div + div {
  border-top: 1px solid var(--passenger-border);
}
.passenger-map-view :is(.booking-route,.passenger-ride-card .ride-route) > div::before {
  content: "";
  position: absolute;
  top: .82rem;
  left: .02rem;
  width: .46rem;
  height: .46rem;
  border-radius: 50%;
  background: #2c2818;
}
.passenger-map-view :is(.booking-route,.passenger-ride-card .ride-route) > div:first-child::before {
  background: var(--yellow);
  outline: 1px solid #897000;
}
.passenger-map-view :is(.booking-route,.passenger-ride-card .ride-route) dt {
  grid-area: 1 / 1;
  color: var(--muted);
  font-size: .73rem;
}
.passenger-map-view :is(.booking-route,.passenger-ride-card .ride-route) dd {
  grid-area: 2 / 1;
  margin: 0;
  font-size: .84rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.passenger-map-view .booking-route > div > dd.route-edit {
  grid-area: 1 / 2 / span 2;
  align-self: center;
}
.route-edit button { background: #fff; padding-inline: .45rem; font-size: .73rem; }
.passenger-ride-card .ride-person { background: var(--passenger-soft); }
.passenger-ride-card .fare-summary { background: #fff7cc; }
#home-map-approach[data-passenger-pickup] { background: #242018; color: #fff; }
#home-map-approach[data-passenger-pickup] strong { color: #ffe462; }

.booking-home-question {
  margin-top: .75rem;
  color: #121212;
  font-size: clamp(1.12rem,4.8vw,1.42rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.018em;
}
.booking-local-shortcuts, .ride-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .36rem;
  margin-top: .6rem;
}
.booking-local-shortcuts button, .ride-contact-actions :is(a,button) {
  flex: 1 0 auto;
  min-height: 2.75rem;
  padding: .35rem .6rem;
  font-size: .8rem;
  font-weight: 700;
}
.booking-local-shortcuts button { background: #F8F5EC; border-color: #ded8c9; }
.ride-contact-actions a {
  display: inline-grid;
  place-items: center;
  border-radius: .65rem;
  background: #F8F5EC;
  color: #121212;
  border: 1px solid #ded8c9;
  text-decoration: none;
}
.ride-contact-actions .ride-driver-chat {
  border-color: #b75784;
  background: #fff1f8;
  color: #611d40;
}
.ride-driver-score { margin-top: .15rem; color: #701b46; font-size: .78rem; font-weight: 700; }
.ride-driver-score::before { content: "★"; margin-right: .25rem; color: #ac2d69; }
.ride-driver-vehicle [data-vehicle="plate"] dd { font-variant-numeric: tabular-nums; letter-spacing: .035em; }
.passenger-map-view #ride-alert { border-left: 4px solid #DF4F91; }

/* Mobile ride surfaces share the same brand without changing the public landing page. */
.booking-category { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; border: 0; margin: 0 0 .9rem; }
.booking-category legend { font-size: .9rem; font-weight: 700; margin-bottom: .35rem; }
.booking-category label { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: .8rem; background: white; cursor: pointer; }
.booking-category label:has(:checked) { background: var(--yellow-light); border-color: var(--ink); }
.booking-category input { accent-color: var(--ink); }
.driver-service-settings { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .8rem 0 1.1rem; }
.driver-service-settings label { flex-basis: 100%; font-size: .9rem; font-weight: 700; }
.driver-service-settings select { font: inherit; min-height: 2.75rem; border: 1px solid var(--line); border-radius: .7rem; padding: .35rem .6rem; background: white; color: var(--ink); }

.brand-app { display: none; }
:is(.passenger-map-view,.driver-map-view) {
  --app-card: #ffffff;
  --app-surface: #f8f5ec;
  --app-line: #e1dbcb;
  --app-radius: 1.2rem;
  background: var(--app-surface);
}
:is(.passenger-map-view,.driver-map-view) > header {
  border-bottom: 2px solid var(--yellow);
  background: #121212;
}
:is(.passenger-map-view,.driver-map-view) .bar { min-height: 4.2rem; gap: .55rem; }
:is(.passenger-map-view,.driver-map-view) .brand-full-logo { display: none; }
:is(.passenger-map-view,.driver-map-view) .brand-app { display: flex; align-items: center; gap: .6rem; line-height: 1.05; }
:is(.passenger-map-view,.driver-map-view) .brand-app img { width: 2.45rem; height: 2.45rem; border-radius: .7rem; }
.brand-app strong { display: block; font-size: .97rem; }
.brand-app small { display: block; margin-top: .25rem; color: #f5d64c; font-size: .73rem; font-weight: 600; }
:is(.passenger-map-view,.driver-map-view) #account-menu summary { border-color: #595650; padding-inline: .65rem; font-size: .82rem; }
:is(.passenger-map-view,.driver-map-view) #profile-shortcut { border-color: #615a36; }
:is(.passenger-map-view,.driver-map-view) .account-options { color: #121212; }
:is(.passenger-map-view,.driver-map-view) .site-main { padding-inline: clamp(.6rem,2vw,1.3rem); }
:is(.passenger-map-view,.driver-map-view) :is(.home-map-panel,.driver-map-frame) {
  border-color: var(--app-line);
  border-radius: var(--app-radius);
  background: #ece9df;
}
:is(.passenger-map-view,.driver-map-view) :is(#home-map,#ride-map) { background: #e9e9dd; }
:is(.passenger-map-view,.driver-map-view) :is(#home-map,#ride-map) .leaflet-bar {
  border: 1px solid #d9d2bf;
  border-radius: .75rem;
  box-shadow: 0 3px 11px #16140922;
}
:is(.passenger-map-view,.driver-map-view) :is(#home-map,#ride-map) .leaflet-bar a {
  width: 2.3rem;
  height: 2.3rem;
  line-height: 2.3rem;
}
:is(.passenger-map-view,.driver-map-view) :is(.passenger-sheet,#active,#driver-offers) {
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  box-shadow: 0 8px 22px #24201915;
  background: var(--app-card);
}
.passenger-map-view .passenger-sheet-heading { gap: .55rem; }
.passenger-map-view .availability-label {
  border: 1px solid #cfe2d6;
  border-radius: 2rem;
  background: #eef8f0;
  padding: .36rem .55rem;
  color: #214c35;
}
.passenger-map-view .availability-label[data-empty] { border-color: #e1ded5; background: #f4f3ed; color: #4b4941; }
.passenger-map-view #passenger-greeting { color: #4b4941; font-size: .78rem; }
#passenger:not([data-booking-stage="start"]) #passenger-greeting { display: none; }
#passenger:not([data-booking-stage="start"]) .passenger-sheet-heading { flex-direction: column-reverse; align-items: flex-start; }
.passenger-map-view .booking-home-question { max-width: 23ch; font-size: clamp(1.32rem,6vw,1.8rem); letter-spacing: -.04em; }
.passenger-map-view .booking-local-shortcuts,
.passenger-map-view .saved-place-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .42rem; margin-top: .7rem; }
.passenger-map-view :is(.booking-local-shortcuts,.saved-place-shortcuts) button {
  min-width: 0;
  border: 1px solid #e0dacb;
  border-radius: .7rem;
  padding: .45rem .2rem;
  background: #f8f5ec;
}
.passenger-map-view .booking-start {
  min-height: 3.6rem;
  border-radius: .85rem;
  border: 1px solid #dcb900;
  box-shadow: 0 3px 0 #bc990c;
  margin-top: .9rem;
}
.passenger-map-view .booking-start:hover, .passenger-map-view #ride-submit:hover { background: #f1cf00; }
.passenger-map-view #nearby-moto-info { margin-bottom: .6rem; min-height: 2.75rem; font-size: .74rem; }
.passenger-map-view :is(#ride-submit,#ride-back,#active .actions button) { min-height: 3.05rem; border-radius: .8rem; }
.passenger-map-view #ride-submit { font-weight: 700; }
.passenger-map-view #ride input { border-color: #938b76; }
.booking-service small { display: block; color: #555147; font-size: .72rem; }
.passenger-map-view .booking-fare { background: #fffae7; border-color: #dfc450; }
.passenger-map-view #review-fare { font-size: clamp(1.04rem,4.5vw,1.3rem); }
.passenger-map-view .passenger-ride-card :is(.ride-person,.ride-driver-vehicle > div) { background: var(--app-surface); border-color: var(--app-line); }
.passenger-searching .search-timer { border: 1px solid #e7d681; }
.driver-map-view .driver-map-status { border: 1px solid #444039; border-radius: .85rem; background: #121212; }
.driver-map-view .driver-map-status #availability { border-radius: .7rem; }
.driver-map-view #driver-availability { font-weight: 600; }
.driver-map-view .driver-today {
  border-radius: var(--app-radius);
  border-color: #e7d48f;
  background: #fff8d7;
  padding: .8rem 1rem;
}
.driver-today-value { min-width: 0; }
.driver-map-view #driver-today-net { display: block; line-height: 1.2; letter-spacing: -.045em; }
.driver-map-view #driver-today-rides { font-weight: 600; border: 1px solid #ebd47d; padding: .34rem .56rem; border-radius: .6rem; background: #fffdf7; }
.driver-map-view #requests .driver-offer { border-radius: 1rem; border-left-color: #e1bd00; }
.driver-map-view .driver-offer-actions button { border-radius: .75rem; }
@media (max-width: 40rem) {
  .passenger-map-view #home-map { height: clamp(17rem,50svh,29rem); }
  .passenger-map-view:has(#passenger:not([hidden]):is([data-booking-stage="destination"],[data-booking-stage="pickup"])) #home-map {
    height: clamp(12.2rem,32svh,20rem);
  }
}
@media (max-width: 24rem) {
  :is(.passenger-map-view,.driver-map-view) .bar { padding-inline: .68rem; }
  .passenger-map-view .booking-home-question { max-width: none; }
  .driver-map-view .driver-map-status { padding-inline: .6rem; }
}

#permissions-setup { max-height: calc(100dvh - 1rem); overflow: auto; }
#permissions-setup h2 { font-size: 1.35rem; line-height: 1.2; }
.permissions-intro { margin-top: .4rem; color: var(--muted); font-size: .86rem; }
.permissions-list { display: grid; gap: .55rem; margin: .8rem 0; }
.permissions-list section {
  border: 1px solid #e0dacb;
  border-radius: .8rem;
  background: #f8f5ec;
  padding: .65rem .72rem;
}
.permissions-list h3 { font-size: .98rem; }
.permissions-list p { color: #474337; font-size: .79rem; }
.permissions-list button { margin-top: .38rem; min-height: 2.75rem; background: #fff; font-size: .82rem; }
.permission-result { margin-top: .35rem; font-weight: 700; }
.permission-result:empty { display: none; }
#permissions-setup form { margin: 0; }
#permissions-setup button.primary { width: 100%; min-height: 3rem; }
