/* Serve. Layout and type measured from airbnb.com's search and listing pages (Sep 2026); the
   accent is the Golden Gate Bridge's International Orange. */
:root {
  --ink: #222222;
  --ink-2: #6a6a6a;
  --line: #dddddd;
  --line-2: #ebebeb;
  --wash: #f7f7f7;
  --key: #f2f2f2;
  --bg: #ffffff;
  --bridge: #c0362c;
  --bridge-dark: #a32a21;
  --bridge-tint: #fbeeec;
  --ok: #0a7a4b;
  --r: 12px;
  --r-img: 16px;
  --float: 0 6px 16px rgba(0, 0, 0, .12);
  --pill: 0 3px 12px rgba(0, 0, 0, .1);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --gutter: 48px;
  color-scheme: light;
}
@media (max-width: 1127px) { :root { --gutter: 40px; } }
@media (max-width: 743px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
/* The page is a full-height column so the footer sits on the bottom edge of short pages. */
body {
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
  margin: 0; color: var(--ink); background: var(--bg); visibility: visible;
  font: 400 14px/1.43 Figtree, "Airbnb Cereal VF", Circular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.muted { color: var(--ink-2); }
/* In the body column, centred blocks keep their full width instead of shrinking to their content. */
body > * { flex-shrink: 0; }
.wrap, .narrow, .courier, .admin { width: 100%; }
.wrap { padding: 0 var(--gutter); max-width: 1760px; margin: 0 auto; }
.narrow { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { margin: 0; font-weight: 600; }
.h-section { font-size: 22px; line-height: 26px; font-weight: 500; letter-spacing: -.02em; }
.h-title { font-size: 26px; line-height: 30px; font-weight: 600; letter-spacing: -.01em; }
.h-page { font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -.02em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.home .top { background: #fafafa; border-bottom: 0; }
.finder { background: linear-gradient(#fafafa, #f7f7f7); border-bottom: 1px solid var(--line-2); padding-top: 4px; }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--bridge); text-decoration: none; justify-self: start; }
.logo svg { width: 32px; height: 32px; }
.logo span { font-size: 23px; font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-top: -2px; }
.tabs { display: flex; gap: 8px; }
.tab { display: flex; align-items: center; gap: 6px; padding: 4px 12px 10px; text-decoration: none; color: var(--ink-2);
       font-size: 16px; font-weight: 500; position: relative; }
.tab img { width: 44px; height: 44px; transition: transform .25s var(--ease); }
.tab:hover { color: var(--ink); }
.tab:hover img { transform: scale(1.08) rotate(-3deg); }
.tab[aria-current] { color: var(--ink); }
.tab[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 2px; background: var(--ink); }
.right { display: flex; align-items: center; gap: 8px; justify-self: end; }
.link-btn { border: 0; background: none; padding: 10px 12px; border-radius: 22px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.link-btn:hover { background: var(--key); }
.round { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--key); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.round:hover { background: #ebebeb; }
.wallet { height: 40px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; font-weight: 500;
          display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.wallet:hover { box-shadow: 0 2px 4px rgba(0,0,0,.18); }
.wallet .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.wallet .bal { color: var(--ink-2); }

/* Search pill */
.search { display: flex; align-items: center; margin: 0 auto 14px; max-width: 850px; height: 64px; background: var(--bg);
          border: 1px solid var(--line); border-radius: 33px; box-shadow: var(--pill); position: relative; }
.seg { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 32px; border-radius: 33px;
       position: relative; cursor: text; min-width: 0; }
.seg:hover { background: #ebebeb; }
.seg:focus-within { background: var(--bg); box-shadow: var(--float); }
.seg + .seg::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; border-left: 1px solid var(--line); }
.seg:hover::before, .seg:hover + .seg::before, .seg:focus-within::before, .seg:focus-within + .seg::before { opacity: 0; }
.seg label { font-size: 12px; font-weight: 600; line-height: 16px; }
.seg input { border: 0; outline: 0; background: transparent; padding: 0; font-size: 14px; line-height: 20px; color: var(--ink); text-overflow: ellipsis; }
.seg input::placeholder { color: var(--ink-2); }
.go { width: 48px; height: 48px; margin-right: 8px; border-radius: 50%; border: 0; background: var(--bridge); color: #fff; display: grid; place-items: center; flex: none; }
.go:hover { background: var(--bridge-dark); }
.go svg { width: 16px; height: 16px; }
.suggest { position: absolute; left: 0; top: calc(100% + 12px); width: min(520px, 100%); background: var(--bg); border-radius: 32px;
           box-shadow: 0 8px 28px rgba(0,0,0,.28); padding: 16px 0; z-index: 40; list-style: none; margin: 0; }
.suggest li { display: flex; gap: 16px; align-items: center; padding: 8px 32px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--key); }
.suggest .pin { width: 48px; height: 48px; border-radius: 12px; background: var(--key); display: grid; place-items: center; flex: none; }
.suggest li[aria-selected="true"] .pin, .suggest li:hover .pin { background: #e4e4e4; }
.suggest .pin svg { width: 20px; height: 20px; }
.suggest small { display: block; color: var(--ink-2); }
.suggest .note { padding: 8px 32px; color: var(--ink-2); cursor: default; }
.compact-search { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 24px; border: 1px solid var(--line);
                  border-radius: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05); background: var(--bg);
                  text-decoration: none; font-weight: 500; max-width: 460px; }
.compact-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-search .go { width: 32px; height: 32px; margin: 0; }
.compact-search .go svg { width: 12px; height: 12px; }

/* Filter chips */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; justify-content: center; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 34px; padding: 0 14px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg); font-size: 12px;
        white-space: nowrap; flex: none; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-sep { width: 1px; background: var(--line); margin: 6px 4px; flex: none; }

/* Results: list + map, as on Airbnb search */
.results { display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 24px; padding-top: 20px; }
.results-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.results-head p { margin: 6px 0 0; font-size: 12px; color: var(--ink-2); }
.promise { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.promise svg { width: 26px; height: 26px; color: var(--bridge); flex: none; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.card { text-decoration: none; display: block; position: relative; }
.card .ph { position: relative; aspect-ratio: 20 / 17; border-radius: 14px; overflow: hidden; background: var(--wash); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.card .ph img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .ph img + img { opacity: 1; }
.badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.95); border-radius: 16px; padding: 4px 10px;
         font-size: 13px; font-weight: 500; line-height: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.12); display: flex; gap: 6px; align-items: center; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.badge.closed i { background: var(--ink-2); }
.card .t span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .t { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 15px; line-height: 19px; font-weight: 500; }
.card .t span:last-child { white-space: nowrap; font-weight: 400; }
.card .s { font-size: 14px; line-height: 18px; color: var(--ink-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .p { font-size: 14px; line-height: 18px; margin-top: 4px; }
.card .p b { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.card.dim .ph { filter: grayscale(.4) brightness(1.04); }
.map-col { position: sticky; top: 88px; height: calc(100vh - 104px); min-height: 480px; }
.map-follow, .map-reset { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); background: var(--bg); border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.18); font-size: 13px; font-weight: 600; white-space: nowrap; }
.map-follow { top: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer; }
.map-follow input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.map-reset { bottom: 18px; border: 0; padding: 10px 16px; background: var(--ink); color: #fff; }
.map { width: 100%; height: 100%; border-radius: var(--r-img); overflow: hidden; background: #e8eef0; }
.empty { padding: 48px 0; }
.empty h3 { font-size: 18px; font-weight: 500; }
.empty p { color: var(--ink-2); margin: 6px 0 16px; }

/* Map pins */
.mk { background: var(--bg); color: var(--ink); border-radius: 28px; padding: 5px 10px; font-weight: 600; font-size: 14px; line-height: 18px;
      box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.18); white-space: nowrap; cursor: pointer; border: 0;
      transition: transform .15s var(--ease); }
.mk:hover, .mk.on { transform: scale(1.08); background: var(--ink); color: #fff; z-index: 2; }
.mk.off { color: var(--ink-2); }
.far .mk:not(.eta) { font-size: 0; width: 16px; height: 16px; padding: 0; border: 3px solid var(--ink); }
.far .mk.off:not(.eta) { border-color: #b0b0b0; }
.far .mk:not(.eta):hover { width: auto; height: auto; padding: 5px 10px; font-size: 14px; border: 0; }
.home-pin { width: 36px; height: 36px; border-radius: 50%; background: var(--bridge); color: #fff; display: grid; place-items: center;
            box-shadow: 0 0 0 4px rgba(192,54,44,.22), 0 2px 6px rgba(0,0,0,.3); }
.home-pin svg { width: 18px; height: 18px; }
.rider { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(34,34,34,.18), 0 2px 6px rgba(0,0,0,.3); }
.maplibregl-popup-content { padding: 0 !important; border-radius: var(--r) !important; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.2) !important; width: 272px; }
.maplibregl-popup-tip { display: none; }
.pop img { width: 100%; aspect-ratio: 20 / 13; object-fit: cover; }
.pop div { padding: 12px 14px 14px; }
.pop b { display: block; font-size: 15px; font-weight: 500; }
.pop span { color: var(--ink-2); font-size: 14px; }
.maplibregl-ctrl-group { border-radius: 8px !important; box-shadow: 0 2px 4px rgba(0,0,0,.18) !important; }
.maplibregl-ctrl-attrib { font-size: 10px; }

/* How it works + neighborhoods + footer */
.band { background: var(--wash); margin-top: 40px; padding: 32px 0; border-top: 1px solid var(--line-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; list-style: none; padding: 0; counter-reset: s; }
.steps li { background: var(--bg); border-radius: var(--r-img); padding: 18px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.steps img { width: 72px; height: 72px; }
.steps b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.steps b::before { counter-increment: s; content: counter(s) ". "; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 20px; }
.hoods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 24px; margin-top: 16px; }
.hoods a { text-decoration: none; }
.hoods b { display: block; font-weight: 500; }
.hoods span { color: var(--ink-2); }
.foot { background: var(--wash); border-top: 1px solid var(--line); padding: 32px 0 20px; margin-top: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot h3 { font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-base { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 8px; border: 0;
       font-size: 16px; font-weight: 600; text-decoration: none; background: var(--ink); color: #fff; }
.btn:hover { background: #000; }
.btn.accent { background: var(--bridge); }
.btn.accent:hover { background: var(--bridge-dark); }
.btn.line { background: var(--bg); color: var(--ink); border: 1px solid var(--ink); }
.btn.line:hover { background: var(--wash); }
.btn.wide { width: 100%; }
.btn[disabled] { background: var(--line); color: #fff; cursor: not-allowed; }
.u { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Restaurant page */
.listing { padding-top: 16px; padding-bottom: 40px; }
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(36vw, 420px); border-radius: var(--r); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; background: var(--wash); }
.mosaic img:first-child { grid-row: 1 / 3; }
.credit { font-size: 12px; color: var(--ink-2); margin: 8px 0 0; }
.credit a { color: inherit; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; margin-top: 28px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.facts.row3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.facts svg { width: 24px; height: 24px; }
.facts b { display: block; font-size: 16px; font-weight: 500; }
.facts span { color: var(--ink-2); }
.sec-nav { position: sticky; top: 72px; z-index: 5; background: var(--bg); display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.sec-nav a { padding: 16px 0 14px; text-decoration: none; font-weight: 500; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; }
.sec-nav a:hover, .sec-nav a.on { color: var(--ink); border-color: var(--ink); }
.menu-sec { scroll-margin-top: 130px; padding-top: 24px; }
.menu-sec .items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--r); align-items: center; min-height: 116px; transition: border-color .15s; }
.item:hover { border-color: #c4c4c4; }
.item.in { border-color: var(--ink); }
.item b { font-size: 16px; font-weight: 500; display: block; }
.item p { margin: 3px 0 6px; color: var(--ink-2); line-height: 19px; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .pr { font-size: 15px; }
.pop-tag { font-size: 12px; font-weight: 600; color: var(--bridge); margin-left: 8px; }
.item .side { position: relative; flex: none; }
.item .side img { display: block; width: 104px; height: 104px; border-radius: 10px; object-fit: cover; }
.add { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center;
       box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.add:hover { border-color: var(--ink); }
.add svg { width: 14px; height: 14px; }
/* On a photo, the control sits in its bottom-right corner and never spills past the photo. */
.item .side img ~ .add, .item .side img ~ .qty { position: absolute; right: 6px; bottom: 6px; }
.item .side img ~ .qty { gap: 4px; padding: 2px; }
.item .side img ~ .qty button { width: 26px; height: 26px; }
.qty { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--key); display: grid; place-items: center; }
.qty button:hover { background: #e4e4e4; }
.qty svg { width: 12px; height: 12px; }
.qty span { min-width: 12px; text-align: center; font-weight: 600; }
.bagcard { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--float); padding: 24px; }
.bagcard h2 { font-size: 22px; line-height: 26px; font-weight: 500; }
.bag-lines { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.bag-lines li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.bag-lines .qty { box-shadow: none; }
.box { border: 1px solid #b0b0b0; border-radius: 8px; margin: 16px 0; }
.box > * { padding: 10px 12px; display: block; }
.box > * + * { border-top: 1px solid #b0b0b0; }
.box small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.box a, .box button { text-decoration: none; text-align: left; width: 100%; border: 0; background: none; }
.fees { display: grid; gap: 12px; margin-top: 20px; font-size: 16px; }
.fees div { display: flex; justify-content: space-between; gap: 12px; }
.fees .tot { border-top: 1px solid var(--line); padding-top: 20px; font-weight: 600; }
.fees .off { color: var(--ok); }
.fine { text-align: center; color: var(--ink-2); margin: 12px 0 0; }
.mobile-bar { display: none; }
.where { margin-top: 32px; }
.where .map { height: 360px; margin-top: 16px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; padding-top: 28px; padding-bottom: 48px; }
.back { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.back a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin-left: -8px; }
.back a:hover { background: var(--key); }
.back svg { width: 16px; height: 16px; }
.step { padding: 20px 0; border-bottom: 1px solid var(--line); }
.step h2 { font-size: 22px; line-height: 26px; font-weight: 500; margin-bottom: 16px; }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.field { display: block; border: 1px solid #b0b0b0; border-radius: 8px; padding: 8px 12px; margin-top: 12px; }
.field:focus-within { outline: 2px solid var(--ink); outline-offset: -1px; }
.field small { display: block; font-size: 12px; color: var(--ink-2); }
.field input, .field textarea { width: 100%; border: 0; outline: 0; padding: 2px 0; font-size: 16px; background: none; resize: vertical; }
.tips { display: flex; gap: 8px; flex-wrap: wrap; }
.tips button { height: 44px; min-width: 72px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); font-weight: 500; }
.tips button:hover { border-color: var(--ink); }
.tips button[aria-pressed="true"] { border: 2px solid var(--ink); padding: 0 15px; background: var(--wash); }
.wallets { display: grid; gap: 8px; }
.wallet-opt { display: flex; align-items: center; gap: 12px; height: 56px; border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; background: var(--bg); font-weight: 500; font-size: 16px; }
.wallet-opt:hover { border-color: var(--ink); }
.wallet-opt small { margin-left: auto; color: var(--ink-2); font-weight: 400; font-size: 14px; }
.sum { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: sticky; top: 96px; box-shadow: var(--float); }
.sum-head { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.sum-head img { width: 104px; height: 88px; object-fit: cover; border-radius: 8px; }
.sum-head b { display: block; font-size: 16px; font-weight: 500; }
.sol-line { font-size: 13px; color: var(--ink-2); text-align: right; margin-top: 4px; }
.alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 8px; padding: 12px 14px; margin-top: 16px; font-size: 14px; }
.alert svg { width: 20px; height: 20px; flex: none; }
.alert.err { background: var(--bridge-tint); color: #8c2119; }
.alert.ok { background: #e7f5ee; color: #075b38; }
.alert.info { background: var(--wash); color: var(--ink); }
.tier { display: flex; gap: 12px; align-items: center; background: var(--wash); border-radius: 8px; padding: 12px; margin-top: 16px; }
.tier img { width: 40px; height: 40px; }

/* Order tracking */
.track { display: grid; grid-template-columns: 440px minmax(0, 1fr); height: calc(100vh - 73px); }
.track-panel { overflow-y: auto; padding: 32px var(--gutter) 48px; border-right: 1px solid var(--line-2); }
.track .map { border-radius: 0; }
.progress { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 0; }
.progress li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding-bottom: 20px; position: relative; color: var(--ink-2); }
.progress li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); margin: 4px 0 0 4px; z-index: 1; }
.progress li::after { content: ""; position: absolute; left: 11px; top: 18px; bottom: 0; border-left: 2px solid var(--line); }
.progress li:last-child::after { display: none; }
.progress li.done { color: var(--ink); }
.progress li.done::before { background: var(--ink); border-color: var(--ink); }
.progress li.done::after { border-color: var(--ink); }
.progress li.now { color: var(--ink); }
.progress li.now::before { border-color: var(--bridge); background: var(--bridge); box-shadow: 0 0 0 5px rgba(192,54,44,.2); }
.progress b { display: block; font-weight: 500; font-size: 16px; }
.receipt { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.receipt li { display: flex; justify-content: space-between; gap: 12px; }
.chain { display: grid; gap: 8px; margin-top: 16px; }
.chain a { color: var(--ink-2); }

/* Courier app */
.courier { max-width: 640px; margin: 0 auto; padding: 32px var(--gutter) 64px; }
.job { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-top: 16px; }
.job .route { display: grid; gap: 6px; margin: 12px 0 16px; }
.job .earn { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.job .map { height: 240px; margin: 16px 0; }
.todo { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 16px; counter-reset: t; }
.todo > li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.todo > li::before { counter-increment: t; content: counter(t); width: 28px; height: 28px; border-radius: 50%; background: var(--key); display: grid; place-items: center; font-weight: 600; }
.todo > li.done::before { background: var(--ink); color: #fff; }
.switch { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin-top: 16px; }
.switch input { appearance: none; width: 48px; height: 32px; border-radius: 16px; background: #b0b0b0; position: relative; cursor: pointer; flex: none; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(16px); }
.hero-courier { display: grid; grid-template-columns: 1fr 160px; gap: 16px; align-items: center; }
.hero-courier img { width: 160px; height: 160px; }

/* Token page */
.token-hero { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; padding: 28px 0 0; }
.token-hero img { width: 100%; max-width: 360px; }
.token-hero p { font-size: 18px; line-height: 26px; color: var(--ink-2); margin: 16px 0 24px; max-width: 560px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.tier-card { border: 1px solid var(--line); border-radius: var(--r-img); padding: 24px; }
.tier-card.hl { border: 2px solid var(--ink); padding: 23px; }
.tier-card b { display: block; font-size: 18px; font-weight: 600; }
.tier-card .need { color: var(--ink-2); margin: 4px 0 20px; }
.tier-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tier-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.tier-card li svg { width: 20px; height: 20px; }
.facts-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 16px; }
.facts-table td { padding: 16px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.facts-table td:first-child { color: var(--ink-2); width: 40%; }
.ca { display: flex; align-items: center; gap: 12px; border: 1px dashed #b0b0b0; border-radius: 8px; padding: 14px 16px; margin-top: 16px; font-size: 15px; word-break: break-all; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 60; max-width: min(520px, calc(100vw - 32px)); box-shadow: var(--float); }

/* Tablet */
@media (max-width: 1127px) {
  .tabs .tab span { display: none; }
  .results { grid-template-columns: minmax(0, 1fr) 40%; gap: 24px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts.row3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: minmax(0, 1fr) 332px; gap: 48px; }
  .checkout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
  .hoods { grid-template-columns: repeat(4, 1fr); }
  .track { grid-template-columns: 380px minmax(0, 1fr); }
}
/* Phone */
@media (max-width: 743px) {
  .bar { grid-template-columns: auto 1fr; height: 64px; }
  .bar .tabs, .right .link-btn, .right .round, .bar .compact-search { display: none; }
  .home .bar .tabs { display: flex; grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .home .bar { height: auto; padding-top: 8px; }
  .tab { padding: 4px 10px 10px; font-size: 12px; flex-direction: column; gap: 2px; }
  .home .tabs .tab span { display: inline; }
  .tab[aria-current]::after { left: 16px; right: 16px; }
  .tab img { width: 36px; height: 36px; }
  .search { height: auto; flex-direction: column; border-radius: 24px; margin-bottom: 16px; }
  .seg { width: 100%; padding: 12px 20px; border-radius: 24px; }
  .seg + .seg::before { left: 20px; right: 20px; top: 0; bottom: auto; border-left: 0; border-top: 1px solid var(--line); }
  .go { position: absolute; right: 8px; top: 8px; }
  .chips { justify-content: flex-start; }
  .results { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 20px 12px; }
  .menu-sec .items { grid-template-columns: minmax(0, 1fr); }
  .map-col { position: relative; top: 0; height: 58vh; min-height: 0; order: -1; }
  .results-head { flex-direction: column; }
  .steps, .foot-cols, .tiers { grid-template-columns: 1fr; }
  .hoods { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 62vw; border-radius: var(--r); }
  .mosaic img:not(:first-child) { display: none; }
  .mosaic img:first-child { grid-row: auto; }
  .split, .checkout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bagcard { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bg); border-top: 1px solid var(--line);
                padding: 12px var(--gutter); justify-content: space-between; align-items: center; gap: 12px; }
  .mobile-bar b { font-size: 16px; }
  .listing { padding-bottom: 96px; }
  .sum { position: static; }
  .checkout .sum { order: -1; }
  .track { grid-template-columns: minmax(0, 1fr); grid-template-rows: 46vh auto; height: auto; }
  .track .map-wrap { order: -1; height: 46vh; }
  .track-panel { border: 0; overflow: visible; }
  .item .side img { width: 92px; height: 92px; }
  .token-hero { grid-template-columns: 1fr; padding-top: 32px; }
  .token-hero img { max-width: 220px; order: -1; }
  .hero-courier { grid-template-columns: 1fr 96px; }
  .hero-courier img { width: 96px; height: 96px; }
  .h-page { font-size: 26px; line-height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Dish options sheet */
.item.pick { cursor: pointer; }
.opt-hint { display: block; font-size: 12px; margin-top: 2px; }
.count { position: absolute; left: -8px; top: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; z-index: 1; }
.sheet { border: 0; padding: 0; border-radius: 16px; width: min(560px, calc(100vw - 32px)); max-height: min(88vh, 860px); box-shadow: 0 8px 28px rgba(0,0,0,.28); overflow: hidden; }
.sheet::backdrop { background: rgba(0,0,0,.45); }
.sheet form { display: flex; flex-direction: column; max-height: inherit; position: relative; }
.sheet-body { overflow-y: auto; padding: 24px; }
.sheet-img { width: calc(100% + 48px); margin: -24px -24px 16px; aspect-ratio: 16 / 9; object-fit: cover; }
.sheet-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg); box-shadow: 0 1px 4px rgba(0,0,0,.25); display: grid; place-items: center; }
.sheet-x svg { width: 14px; height: 14px; transform: rotate(45deg); }
.grp { border: 0; padding: 0; margin: 20px 0 0; }
.grp legend { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 0 6px; }
.grp legend b { display: block; font-size: 16px; font-weight: 600; }
.grp legend small { color: var(--ink-2); }
.req { background: var(--key); border-radius: 12px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.opt small { color: var(--ink-2); margin-left: 8px; }
.opt input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; cursor: pointer; }
.opt input:disabled { opacity: .35; cursor: not-allowed; }
.opt .qty { box-shadow: none; }
.sheet-foot { display: flex; gap: 12px; align-items: center; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--bg); }
.sheet-foot .qty { box-shadow: none; }
@media (max-width: 743px) {
  .sheet { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
}
