/* Design: radar/design/. One normal-width family, compact controls. Each colour has one job: magenta only for an alert,
   blue for rain, grey for no signal. A lack of alerts is never green. Sizes are assumptions, not tested outdoors. */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
:root {
  --ground: #f3f6f1; --surface: #fff; --ink: #14241c; --muted: #4c5e54; --line: #cfdad1; --brand: #14533c; --on-brand: #fff;
  --alert: #a3174f; --alert-soft: #fbe9f0; --warn: #835000; --warn-soft: #fbf0db; --rain: #155e94; --rain-soft: #e5f0f9;
  --quiet: #56625c; --quiet-soft: #eceeed; --error: #b91c1c; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e1612; --surface: #17231c; --ink: #e8f0ea; --muted: #a9baaf; --line: #2e3f35; --brand: #6bd3a3; --on-brand: #062015;
    --alert: #ff8cb5; --alert-soft: #3a1826; --warn: #f2b857; --warn-soft: #33260c; --rain: #86c3f2; --rain-soft: #10283b;
    --quiet: #a3b0a9; --quiet-soft: #222c26; --error: #fca5a5; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.45 "Source Sans 3", system-ui, sans-serif; }
.icon { width: 18px; height: 18px; flex: none; fill: currentColor; }

header { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
a.brand { color: inherit; text-decoration: none; }
.head-install { display: inline-flex; align-items: center; gap: 6px; }
.head-install .install-help { max-width: 16rem; }
.brand img { width: 26px; height: 26px; }
.lang button { width: auto; min-height: 32px; margin: 0; padding: 2px 10px; background: none; color: var(--muted); border: 1px solid transparent; }
.lang { display: flex; }
.lang button[aria-pressed="true"] { color: var(--ink); border-color: var(--line); }

main { max-width: 560px; margin: 0 auto; padding: 12px 16px; }
section, details { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin-bottom: 12px; }
h2 { font-size: 1.15rem; margin: 0 0 8px; }
h3 { font-size: 1rem; margin: 20px 0 8px; }
summary { cursor: pointer; font-weight: 600; min-height: 28px; }
label { display: grid; gap: 4px; margin: 10px 0; font-size: .95rem; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; min-width: 0; }
input, select { width: 100%; min-height: 44px; padding: 8px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }

button { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 8px; padding: 6px 12px; font: inherit; font-weight: 600; cursor: pointer; background: var(--brand); color: var(--on-brand); border: 1.5px solid var(--brand); border-radius: 6px; }
button.ghost { background: var(--surface); color: var(--brand); }
button.link { width: auto; min-height: 32px; justify-content: flex-start; padding: 0; background: none; border: 0; color: var(--muted); text-decoration: underline; font-weight: 400; }
button.danger { color: var(--error); margin-top: 16px; }
button:disabled { opacity: .5; }
:focus-visible { outline: 3px solid var(--rain); outline-offset: 2px; }

.note { color: var(--muted); font-size: .875rem; }
label.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--brand); }

#access { margin: 0 0 8px; }
#access:empty { display: none; }
.status { margin-top: 12px; padding: 10px; border: 1px dashed var(--line); border-radius: 4px; }
.offline { margin-bottom: 12px; padding: 8px 10px; background: var(--warn-soft); border: 1px solid var(--warn); border-radius: 4px; }
.offline p { margin: 0; }
output { display: block; overflow-wrap: anywhere; font-family: ui-monospace, monospace; margin-top: 8px; }

ol, ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
li { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px; overflow-wrap: anywhere; }
li p { margin: 4px 0; }
#lots { margin-bottom: 12px; }

.about { color: var(--brand); }

/* place picker */
.map { height: 240px; margin: 8px 0 0; border: 1px solid var(--line); border-radius: 6px; z-index: 0; }
.map .pin { background: none; border: 0; }
.pin svg { width: 36px; height: 36px; fill: #14533c; stroke: #fff; stroke-width: 1.2; }

/* lot card: name and rain, one recommendation, then the reported weeds; the rest opens in a dialog */
.lot-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; line-height: 1.25; }
.rain { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .875rem; }
.rain .icon { width: 14px; height: 14px; color: var(--rain); }
li p.advice { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 0; padding: 6px 8px; border-radius: 4px; font-weight: 600; line-height: 1.3; }
.advice .icon { margin-top: 1px; }
li p.s-alert { background: var(--alert-soft); } .s-alert .icon { color: var(--alert); }
li p.s-rain { background: var(--rain-soft); } .s-rain .icon { color: var(--rain); }
li p.s-quiet { background: var(--quiet-soft); font-weight: 400; } .s-quiet .icon { color: var(--quiet); }
.advice .icon.i-drop { color: var(--rain); } /* a drop is always blue, also next to an alert */
.rows { margin-top: 4px; }
.species-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 8px; }
.hidden-count { color: var(--muted); font-size: .875rem; font-weight: 600; }
.qty { flex: none; color: var(--alert); font-size: .9rem; font-weight: 700; white-space: nowrap; }

/* New terms not accepted yet: nothing that adds records is offered. */
.terms-pending :is(#checkin, #start-visit, #new-lot, .lot-record, #push-offer) { display: none !important; }

/* A card's actions, side by side. Icons on the phone; the words show on a wide screen. */
.card-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
button.card-btn { width: auto; min-width: 52px; min-height: 40px; margin: 0; padding: 4px 12px; font-size: .95rem; }
.card-btn .icon { width: 22px; height: 22px; }
.card-btn .label { display: none; }

/* The screen's main action floats at the bottom right, above the navigation and any install card. */
button.fab {
  position: fixed; z-index: 900; right: 16px; bottom: calc(var(--nav-space) + var(--card-space, 0px) + 16px);
  width: auto; min-height: 52px; margin: 0; padding: 0 20px 0 16px; border-radius: 26px; font-size: 1.02rem; font-weight: 700;
  box-shadow: 0 6px 18px rgb(0 0 0 / .3);
}
.fab .icon { width: 24px; height: 24px; }

/* A lot's detail: a sheet from the bottom on the phone, a centred window on desktop. */
dialog#lot-dialog {
  width: 100%; max-width: 560px; max-height: 85vh; margin: auto auto 0; padding: 0; overflow-y: auto;
  color: var(--ink); background: var(--surface); border: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 28px rgb(0 0 0 / .3);
}
dialog#lot-dialog::backdrop { background: rgb(0 0 0 / .5); }
body:has(#lot-dialog[open]) { overflow: hidden; }
.dialog-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; }
#lot-dialog-body { padding: 4px 16px calc(16px + env(safe-area-inset-bottom)); }
#lot-dialog-body p { margin: 10px 0 0; }
#lot-dialog-body .note { font-size: .875rem; }
#lot-dialog-body button { margin-top: 16px; }
#lot-dialog-body p.advice { margin-top: 8px; }
p.advice { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 4px; font-weight: 600; line-height: 1.3; }
p.s-alert { background: var(--alert-soft); }
p.s-rain { background: var(--rain-soft); }
p.s-quiet { background: var(--quiet-soft); font-weight: 400; }
#lot-dialog-body h3 { margin: 16px 0 4px; color: var(--muted); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.reports { width: 100%; border-collapse: collapse; font-size: .95rem; }
.reports :is(th, td) { padding: 8px 0 8px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.reports tr > :first-child { padding-left: 0; }
.reports thead th { color: var(--muted); font-size: .8rem; font-weight: 600; }
.reports tbody th { font-weight: 600; }
.reports tr > :nth-child(2) { text-align: right; padding-right: 12px; }
.reports td.qty { font-variant-numeric: tabular-nums; }
.reports td:last-child { color: var(--muted); font-size: .875rem; }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.figure { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.figure dt { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .875rem; }
.figure dt .icon { width: 14px; height: 14px; color: var(--rain); }
.figure dd { margin: 0; font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
.figure dd.note { font-size: .8rem; font-weight: 400; }

/* A decision: same sheet as the lot detail, smaller, with both answers side by side. */
dialog#confirm-dialog, dialog#tour-dialog {
  width: 100%; max-width: 420px; max-height: 85vh; margin: auto auto 0; padding: 0; overflow-y: auto;
  color: var(--ink); background: var(--surface); border: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 28px rgb(0 0 0 / .3);
}
dialog#confirm-dialog::backdrop, dialog#tour-dialog::backdrop { background: rgb(0 0 0 / .5); }
body:has(#confirm-dialog[open], #tour-dialog[open]) { overflow: hidden; }
.tour { padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); }
.tour-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; }
.tour h2 { margin: 4px 0 8px; }
.tour p { margin: 8px 0 0; }
/* the three screens are about the same height, so the buttons stay put */
#tour-body { min-height: 190px; }
button.help-btn { width: auto; min-width: 36px; min-height: 36px; margin: 0 0 0 auto; padding: 2px 8px; background: none; color: var(--brand); border-color: transparent; }
.help-btn .mark { display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 50%; font-size: .9rem; line-height: 1; }
.help-btn .label { display: none; }

/* a card's buttons on the right; the destructive link, when there is one, on the left of the same row */
.account-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.account-actions button { width: auto; margin: 0; padding-inline: 20px; }
.account-actions button.danger { margin: 0 auto 0 0; padding-inline: 0; }

/* finding the place: the search and the location button in one row, the matches over the map */
.place { position: relative; margin-top: 10px; }
.place label { display: block; margin: 0 0 4px; }
.place-row { display: flex; gap: 8px; }
.place-row input { flex: 1; min-width: 0; }
.place-row button.locate { flex: none; width: auto; min-width: 44px; margin: 0; padding-inline: 10px; }
.locate .icon { width: 22px; height: 22px; }
.locate .label { display: none; }
#l-results {
  position: absolute; z-index: 1000; /* above the map's layers */ left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 20px rgb(0 0 0 / .25);
}
#l-results li { margin: 0; padding: 0; background: none; border: 0; } /* not the cards of the other lists */
#l-results li.note { padding: 10px 8px; }
#l-results button.result {
  justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; margin: 0; padding: 6px 8px; text-align: left; background: none; color: var(--ink); border-color: transparent;
}
#l-results button.result:hover, #l-results button.result:focus-visible { background: var(--ground); }
#l-results .note { font-weight: 400; }

/* where to count */
.count-mark { display: block; width: 40px; height: 40px; margin: 0 auto; color: var(--brand); }
.how-to-count { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.how-to-count .count-mark { flex: none; margin: 0; }
.how-to-count p { margin: 0; font-size: .95rem; }
#wizard .or { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; color: var(--muted); font-size: .875rem; }
/* the record wizard: no space above its first line; the select keeps the same gap from the button above as the button has from the select */
#wizard > :first-child { margin-top: 0; }
#wizard > p { margin: 0 0 6px; }
#wizard > select { margin-top: 8px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.choices.amounts.off { opacity: .45; }
.choices.amounts.off button:disabled { opacity: 1; }
#confirm-dialog form { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
#confirm-dialog p { margin: 0; }
#confirm-extra { margin-top: 12px; }
#confirm-extra label { margin: 0 0 4px; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.dialog-actions button { flex: 1 1 130px; width: auto; margin: 0; }
button.destructive { background: var(--error); border-color: var(--error); color: var(--surface); }

/* Toasts: at the top, because the bottom has the navigation, the floating button and the install card.
   Full width on the phone, the top right corner on desktop. While a dialog is open they live inside it. */
#toasts {
  position: fixed; z-index: 1100; top: calc(8px + env(safe-area-inset-top)); left: 8px; right: 8px;
  display: grid; gap: 8px; pointer-events: none;
}
.toast {
  --tone: var(--rain); pointer-events: auto; touch-action: none; user-select: none; cursor: grab;
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 4px 6px 12px;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--tone); border-radius: 8px;
  box-shadow: 0 6px 20px rgb(0 0 0 / .25); font-size: .93rem; line-height: 1.3;
}
.toast-new { animation: toast-in .2s ease-out; }
.toast-success { --tone: var(--brand); }
.toast-warning { --tone: var(--warn); }
.toast-error { --tone: var(--error); }
.toast > .icon { width: 20px; height: 20px; color: var(--tone); }
.toast p { flex: 1; min-width: 0; margin: 0; padding: 2px 0; overflow-wrap: anywhere; }
button.toast-close { flex: none; align-self: flex-start; width: 32px; min-height: 32px; margin: 0; padding: 0; background: none; color: var(--muted); border: 0; }
.toast-close .icon { width: 16px; height: 16px; }
@keyframes toast-in { from { opacity: 0; translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .toast-new { animation: none; } }

#outbox p { margin: 0 0 4px; }
#outbox button.ghost { width: auto; min-height: 36px; margin: 4px 8px 0 0; }
.day-picker { margin-top: 0; }

/* record: one question per screen */
.question { font-size: 1.125rem; font-weight: 700; line-height: 1.25; margin: 4px 0 8px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.choices button { margin: 0; }
.choices.pair { grid-template-columns: 1fr 1fr; }
.choices.amounts { grid-template-columns: repeat(3, 1fr); }
.choices.amounts button { flex-direction: column; gap: 2px; padding: 8px 4px; }

/* Install: a floating card at the bottom of the phone screen, in the bottom right corner on desktop. */
.install-card {
  position: fixed; z-index: 1000; inset: auto 12px calc(var(--nav-space) + 12px) 12px; /* above the map's layers */
  max-width: 440px; max-height: 70vh; overflow-y: auto; margin: 0 auto; padding: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 28px rgb(0 0 0 / .28);
  animation: install-in .25s ease-out;
}
@keyframes install-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .install-card { animation: none; } }
.install-head { display: flex; align-items: center; gap: 10px; }
.install-head img { width: 36px; height: 36px; flex: none; border-radius: 8px; }
.install-head p { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.install-card ol { display: block; list-style: decimal; padding-left: 20px; margin: 8px 0 0; font-size: .95rem; }
.install-card ol li { padding: 0; margin: 4px 0 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.install-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 8px; }
.install-actions button { width: auto; min-height: 36px; margin: 0; padding-inline: 18px; }
.install-actions button.link { display: inline-flex; align-items: center; padding-inline: 4px; }
/* It stays out of the way while recording or editing a lot, and the end of the page can be scrolled above it. */
body:has(#member:not([hidden]) :is(#checkin, #lot-page, #calib-page):not([hidden])) .install-card { display: none; }
body.is-offline .online-only { display: none !important; }

/* Member home: four sections (alerts, records, lots, account). On the phone, a bar at the bottom of the screen. */
.tabs {
  position: fixed; z-index: 950; inset: auto 0 0 0; display: flex; padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--line);
}
.tab { flex: 1; flex-direction: column; gap: 2px; min-height: 58px; margin: 0; padding: 6px 2px 4px; background: none; color: var(--muted); border: 0; border-radius: 0; font-size: .8rem; font-weight: 600; }
.tab .icon { width: 24px; height: 24px; }
.tab[aria-pressed="true"] { color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }
/* --nav-space is what the bar takes. The end of the page scrolls clear of it, the install card and the floating button. */
:root { --nav-space: env(safe-area-inset-bottom); }
body:has(#member:not([hidden]) #home:not([hidden])) { --nav-space: calc(59px + env(safe-area-inset-bottom)); }
main { padding-bottom: calc(var(--nav-space) + var(--card-space, 0px) + 12px); }
body:has(#member:not([hidden]) #home:not([hidden])) main { padding-bottom: calc(var(--nav-space) + var(--card-space, 0px) + 84px); }
#tab-account h3 { margin: 0 0 4px; }
/* Nothing to list: an icon and the words in the middle of the screen. The height leaves out the header and the bar. */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; grid-column: 1 / -1;
  min-height: calc(100vh - var(--nav-space) - 170px); min-height: calc(100dvh - var(--nav-space) - 170px);
  padding: 16px; color: var(--muted); text-align: center;
}
li.empty-state { background: none; border: 0; }
.empty-state .icon { width: 40px; height: 40px; opacity: .6; }
.empty-state p { max-width: 320px; margin: 0; }
/* with something below it, it takes less room, so that stays in sight */
:is(#tab-lots:has(#zone-status:not([hidden])), #tab-alerts:has(#push-offer:not([hidden]))) .empty-state { min-height: 240px; }
.screen-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.screen-head h2 { margin: 0; }
.screen-head button { margin: 0; }
.choices + .new-lot { margin-top: 12px; border-style: dashed; }

/* Lot rows: icon actions on the right, 40px targets. */
.lot-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.lot-name { flex: 1; min-width: 0; font-weight: 600; }
.lot-row > input { flex: 1; width: auto; }
.lot-row > p { flex-basis: 100%; }
.lot-row > button.link { flex-basis: 100%; margin: 0; }
.lot-actions { display: inline-flex; gap: 2px; flex: none; }
.icon-btn { width: 40px; height: 40px; min-height: 40px; padding: 0; margin: 0; display: inline-grid; place-items: center; background: none; color: var(--muted); border: 0; border-radius: 8px; }
.icon-btn:hover, .icon-btn:focus-visible { color: var(--brand); background: var(--surface); }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn.danger-hover:hover { color: var(--alert); }

/* Calibration screen: its own page, one card per topic. */
.calib-page { display: grid; gap: 12px; }
.calib-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.calib-head h2 { margin: 0; font-size: 1.15rem; }
.calib-page fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 12px; margin: 0; min-width: 0; background: var(--surface); }
.calib-page legend { padding: 0 6px; font-weight: 600; }
.calib-grid { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .calib-grid { grid-template-columns: 1fr 1fr; } }
.calib-grid label { margin: 6px 0; }
.calib-list { list-style: none; padding: 0; margin: 4px 0; font-size: .95rem; }
.calib-list li { padding: 2px 0; }

/* Desktop. Lists use the width as a grid; forms and questions stay in a narrow column; buttons keep a compact width.
   Last in the file so it wins over the phone rules. The landing page has its own width (info.css). */
@media (min-width: 900px) {
  main:not(.landing, .legal) { max-width: 1040px; padding: 20px 24px; }
  header:not(.calib-head) { padding-inline: max(24px, calc((100% - 992px) / 2)); }

  #visitor, #checkin, #lot-page, #calib-page, #tab-account, #offline, #outbox { max-width: 560px; margin-inline: auto; }
  .install-card { inset: auto 20px 20px auto; width: 360px; margin: 0; }
  dialog#lot-dialog, dialog#confirm-dialog, dialog#tour-dialog { margin: auto; border-radius: 12px; }
  .help-btn .label { display: inline; }
  .account-actions button:not(.link) { min-height: 38px; }
  .dialog-actions button { flex: 0 0 auto; min-height: 38px; padding-inline: 20px; }
  #toasts { top: auto; right: auto; bottom: 16px; left: 16px; width: 340px; }
  .toast-new { animation-name: toast-in-below; }
  @keyframes toast-in-below { from { opacity: 0; translate: 0 8px; } }
  .card-btn .label { display: inline; }
  button.fab { right: 24px; bottom: calc(var(--card-space, 0px) + 24px); }
  #lot-page .map { height: 360px; }
  .locate .label { display: inline; }
  /* Stand-alone buttons take only the width of their text; grids of answers keep their cells. */
  #visitor button, #lot-page > button, #wizard > button:not(.link), .calib-page fieldset > button {
    display: inline-flex; width: auto; min-width: 160px; min-height: 38px; margin-right: 8px; padding-inline: 20px;
  }
  #wizard > select { display: block; margin-bottom: 4px; }

  /* the navigation goes back to the top of the page */
  .tabs { position: static; gap: 8px; margin: -4px 0 16px; padding-bottom: 0; background: none; border-top: 0; border-bottom: 1px solid var(--line); }
  .tab { flex: none; flex-direction: row; gap: 6px; width: auto; min-height: 42px; padding: 6px 16px; font-size: 1rem; }
  .tab .icon { width: 18px; height: 18px; }
  .tab[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--brand); }
  body:has(#member:not([hidden]) #home:not([hidden])) { --nav-space: 0px; }

  #push-offer { width: auto; min-width: 160px; }

  #lots:not(:empty), #my-lots, #checkins { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: start; }
  #zone-status { max-width: 560px; }
}
