[hidden] { display: none !important; }  /* anything marked hidden stays hidden, even buttons */
:root {
  --bg: #f6f4ef;
  --card: #ffffff;
  --ink: #1d2422;
  --quiet: #5b6662;
  --line: #e2ded5;
  --brand: #1f4e46;
  --brand-ink: #ffffff;
  --open: #2f7a4d;
  --taken: #8a8f8d;
  --error: #b3261e;
  --input: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141917;
    --card: #1e2523;
    --ink: #eef2f0;
    --quiet: #a8b3ae;
    --line: #2f3936;
    --brand: #5fb3a1;
    --brand-ink: #0d1412;
    --open: #6fcf97;
    --taken: #7c8582;
    --error: #f2b8b5;
    --input: #141917;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.page { max-width: 640px; margin: 0 auto; padding: 24px 16px 8px; }

.hero { padding: 16px 0 8px; }
.eyebrow { margin: 0 0 4px; color: var(--quiet); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.card-name { color: var(--brand); font-weight: 700; font-size: 13px; }
h1 { margin: 0 0 12px; font-size: 32px; line-height: 1.15; }
h2 { margin: 0 0 12px; font-size: 20px; }
.lead { margin: 0 0 16px; color: var(--quiet); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}
.card.muted { background: transparent; }

.button {
  display: block;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: var(--brand-ink);
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.button:disabled { opacity: .55; cursor: not-allowed; }
/* Every button, link-style or real, shows the pointing hand and lights up a little under the mouse (computers only;
   phones have no hover), and gets a clear outline when reached with the keyboard. */
/* Bill, 2026-11-25: the small buttons (demo bar, dashboard, lists) had no mouse-over at all, and the big ones only got
   15% brighter, which barely shows on dark green. Now every button-style control gets the pointing hand, a clear
   glow ring around it and a visible color change under the mouse; text links get underlined. */
.button, .small, .tab, .phone, .plan-box, .theme-pick, .month-pick, .pick-buttons button, .rest-of-dashboard > summary {
  cursor: pointer; transition: filter .15s, background-color .15s, box-shadow .15s;
}
@media (hover: hover) {
  :is(.button, .small, .tab, .phone, .plan-box, .theme-pick, .month-pick, .rest-of-dashboard > summary):hover:not(:disabled) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent);
  }
  :is(.button, .small, .tab.active):hover:not(:disabled) { filter: brightness(1.3); }
  :is(.button.secondary, .small.secondary, .tab:not(.active), .phone, .theme-pick, .month-pick,
      .rest-of-dashboard > summary):hover:not(:disabled) {
    filter: none; background: color-mix(in srgb, var(--brand) 14%, transparent);
  }
  .button.danger:hover:not(:disabled) { filter: none; background: color-mix(in srgb, var(--error) 12%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 30%, transparent); }
  :is(.link, .link-button, .back, .plan-show, .brand, .pick-buttons button, .topbar a):hover { text-decoration: underline; }
}
:is(.button, .small, .tab, .phone, .plan-box):focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.phone {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid var(--brand);
  border-radius: 10px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

ul.checks, ul.plain, ul.spaces { list-style: none; margin: 0; padding: 0; }
ul.checks li { padding: 6px 0 6px 28px; position: relative; }
ul.checks li::before { content: "\2713"; position: absolute; left: 4px; color: var(--open); font-weight: 700; }
ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border-bottom: 0; }

.space {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.space:last-child { border-bottom: 0; }
.space .detail { display: block; color: var(--quiet); font-size: 15px; }
.space .right { text-align: right; flex: 0 1 auto; min-width: 0; }  /* long season prices wrap instead of running off a phone screen */
.space .right strong { display: block; }
.badge { display: block; font-size: 14px; font-weight: 600; }
.space.open .badge { color: var(--open); }
.space.taken { color: var(--taken); }
.space.taken .badge { color: var(--taken); }

.footer { max-width: 640px; margin: 0 auto; padding: 16px; color: var(--quiet); font-size: 14px; text-align: center; }
.footer a { color: inherit; }

/* ---------- top bar ---------- */
.topbar {
  max-width: 640px;
  margin: 0 auto;
  padding: 14px 16px 0;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.topbar form { margin: 0; }
.brand { color: var(--brand); font-weight: 700; text-decoration: none; }
.link {
  background: none; border: 0; padding: 8px 0; color: var(--brand);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}

/* ---------- messages ---------- */
.flash {
  margin: 8px 0 0; padding: 12px 16px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--open); color: var(--ink);
}
.error { margin: 6px 0 0; color: var(--error); font-size: 16px; font-weight: 600; }
.hint { margin: 6px 0 0; color: var(--quiet); font-size: 15px; }
.back { color: var(--brand); text-decoration: none; font-weight: 600; }

/* ---------- buttons ---------- */
.button + .button { margin-top: 12px; }
.button.secondary { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.button.danger { background: transparent; color: var(--error); border: 2px solid var(--error); }
.card > .button { margin-top: 16px; }
.small {
  display: inline-block; padding: 10px 14px; border-radius: 8px; border: 0;
  background: var(--brand); color: var(--brand-ink);
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; text-align: center;
}
.small.secondary { background: transparent; color: var(--brand); border: 2px solid var(--brand); padding: 8px 14px; }

/* ---------- forms ---------- */
.form label { display: block; margin: 18px 0 6px; font-weight: 600; }
.form label:first-of-type { margin-top: 0; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
  width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--input); color: var(--ink); font: inherit;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form .button { margin-top: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .row label { margin-top: 18px; }
.form label.check { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.form label.check input { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--brand); }
.form fieldset.choices { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.form fieldset.choices[hidden] { display: none; }
.form fieldset.choices legend { font-weight: 600; padding: 0; margin-bottom: 2px; }
.form fieldset.choices label.check { margin: 10px 0 0; min-height: 44px; }
.address { display: flex; align-items: center; gap: 6px; }
.address input { flex: 1; min-width: 0; }
.address span { color: var(--quiet); white-space: nowrap; font-size: 16px; }
.address-line {
  padding: 12px 14px; border-radius: 10px; background: var(--bg);
  font-weight: 700; word-break: break-all;
}
.danger-zone { margin: 8px 0 24px; }

/* ---------- dashboard ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 0; }
.stats div {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 8px; text-align: center;
}
.stats strong { display: block; font-size: 28px; line-height: 1.1; }
.stats span { color: var(--quiet); font-size: 15px; }
.spaces.manage .space { flex-direction: column; align-items: stretch; gap: 10px; }
.spaces.manage .badge { margin-top: 2px; }
/* Owner's space list: a color for each space's status, so open and rented spaces stand out at a glance */
.spaces.manage .space { border-left: 6px solid var(--line); padding: 14px 12px; margin-bottom: 8px;
  border-bottom: 0; border-radius: 10px; }
.spaces.manage .space.taken { color: var(--ink); }
.spaces.manage .space.taken .badge { color: var(--quiet); }
.spaces.manage .space.state-open { border-left-color: #2f7a4d; background: rgba(47, 122, 77, 0.08); }
.spaces.manage .space.state-rented { border-left-color: #3b6ea8; background: rgba(59, 110, 168, 0.08); }
.spaces.manage .space.state-reserved { border-left-color: #b7791f; background: rgba(183, 121, 31, 0.10); }
.space-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pill { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 15px; font-weight: 700;
  color: #fff; white-space: nowrap; }
.pill-open { background: #2f7a4d; }
.pill-rented { background: #3b6ea8; }
.pill-reserved { background: #b7791f; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions form { margin: 0; }

/* ---------- renter requests ---------- */
.space { flex-wrap: wrap; }
.space .rent-link { flex-basis: 100%; margin-top: 4px; padding: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form h2 { margin: 0 0 8px; }
.form h2.section, h2.section { margin-top: 28px; }
.optional { color: var(--quiet); font-weight: 400; }
.center { text-align: center; }
.error.box {
  padding: 12px 16px; border: 2px solid var(--error); border-radius: 10px; background: var(--card);
}
.requests { border: 2px solid var(--brand); }
.request { padding: 14px 0; }
.request a { color: var(--ink); text-decoration: none; }
.request .detail { display: block; color: var(--quiet); font-size: 15px; }
.request .actions { margin-top: 10px; }
.badge a { color: inherit; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.facts dt { color: var(--quiet); }
.facts dd { margin: 0; font-weight: 600; }
.notes { white-space: pre-wrap; margin: 0; }
.decide { display: grid; gap: 12px; }
.decide form { margin: 0; }

/* ---------- agreements and signing ---------- */
:root { --wait: #9a5b00; }
@media (prefers-color-scheme: dark) { :root { --wait: #f2c46d; } }
.agreement { white-space: pre-wrap; font-size: 16px; line-height: 1.55; max-height: 60vh; overflow-y: auto; }
.agreement-text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.5; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em;
       background: var(--bg); padding: 1px 5px; border-radius: 4px; }
.blanks li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.blanks span { color: var(--quiet); font-size: 15px; }
.sr-only, .form input.sr-only { position: absolute; width: 1px !important; height: 1px; margin: -1px; padding: 0 !important; border: 0 !important;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; min-height: 0; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0 10px; }
.tab { padding: 12px; border-radius: 10px; border: 2px solid var(--brand); background: transparent;
       color: var(--brand); font: inherit; font-weight: 600; }
.tab.active { background: var(--brand); color: var(--brand-ink); }
.sig-box { display: block; width: 100%; border: 2px dashed var(--line); border-radius: 10px; background: #fff; }
canvas.sig-box { aspect-ratio: 3 / 1; height: auto; touch-action: none; cursor: crosshair; }
.typed-preview { font-family: 'Dancing Script', 'Snell Roundhand', 'Segoe Script', 'Brush Script MT', cursive; font-weight: 600; font-size: 40px; color: #111;
                 min-height: 90px; padding: 14px 16px; line-height: 1.4; overflow-wrap: anywhere; }
.sig-image { max-width: 100%; background: #fff; border-radius: 8px; }
.status-good { color: var(--open); font-weight: 600; }
.status-wait, .badge.wait, .badge.wait a { color: var(--wait); font-weight: 600; }
.send-buttons { display: grid; gap: 10px; margin: 12px 0 16px; }
.send-buttons .button + .button { margin-top: 0; }
.inline-form { margin: 14px 0 0; }
.inline-form .link { text-align: left; font-size: 15px; }
.blank .context { margin: 0 0 12px; color: var(--quiet); font-size: 15px; overflow-wrap: anywhere; }
.blank mark { background: #ffe58a; color: #111; padding: 0 3px; border-radius: 3px; font-weight: 700; }
.form > .card + .button { margin-top: 8px; }

/* ---------- payments ---------- */
.payment-list li { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.payment-list li span { color: var(--quiet); font-size: 15px; }
.payment-list li .detail { flex-basis: 100%; }
.payment-list li.failed strong { color: var(--error); text-decoration: line-through; }
details.record { margin-top: 16px; }
details.record summary { color: var(--brand); font-weight: 600; cursor: pointer; padding: 8px 0; }
details.record .form { margin-top: 12px; }
.hero form { margin: 12px 0; }
.hero .button.secondary { margin-top: 12px; }
details.stripe-help { margin: 4px 0 16px; }
details.stripe-help summary { color: var(--brand); font-weight: 600; cursor: pointer; padding: 8px 0; }
details.stripe-help .facts { grid-template-columns: 1fr; gap: 2px; margin-top: 8px; }
details.stripe-help .facts dt { margin-top: 12px; font-weight: 600; color: var(--ink); }
details.stripe-help .facts dd { font-weight: 400; color: var(--quiet); }
details.stripe-help .facts dd strong { color: var(--ink); overflow-wrap: anywhere; }
.needs { margin: 0 0 12px; padding: 12px 14px; border: 2px solid var(--wait); border-radius: 10px; }
.needs p { margin: 0 0 6px; }
.needs ul { margin: 0; padding-left: 20px; }
.back-to-lot { margin: 24px 0 8px; }
.stats.four { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stats.four div { padding: 12px 4px; }
.stats.four span { font-size: 14px; }
.stats div.wait strong { color: var(--wait); }
.pay-choices { display: grid; gap: 4px; margin: 12px 0 4px; }
.pay-choice { margin: 0 !important; }
.pay-choice .hint { margin: 6px 0 10px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.refund-tag { color: var(--wait); font-weight: 600; font-size: 15px; }
.payment-list li.refunded strong { text-decoration: line-through; color: var(--quiet); }
.payment-list li .refund-form { flex-basis: 100%; margin-top: 4px; }
.needs .small { margin-top: 6px; }
.nav-links { gap: 16px; }

/* ---------- reports ---------- */
.stats div.bad strong { color: var(--error); }
.needs.late { border-color: var(--error); }
.report-buttons { display: grid; gap: 10px; }
.report-buttons .button + .button { margin-top: 0; }
.rent-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rent-list li:last-child { border-bottom: 0; }
.rent-list li > a { color: var(--ink); text-decoration: none; display: block; }
.rent-list .state { display: block; font-weight: 600; }
.rent-list .detail { display: block; color: var(--quiet); font-size: 15px; }
.rent-list .rent-late .state, .rent-list .rent-failed .state { color: var(--error); }
.rent-list .rent-due .state { color: var(--wait); }
.rent-list .rent-ok .state { color: var(--open); }
.rent-list .rent-start .state { color: var(--quiet); }
.rent-list .actions { margin-top: 8px; }
.year-pick { display: flex; gap: 16px; flex-wrap: wrap; margin: 0 0 8px; }
.year-pick a { color: var(--brand); font-weight: 600; }
.year-total { margin: 0 0 8px; font-size: 24px; }
.year-total .detail { display: block; color: var(--quiet); font-size: 15px; }
.contact-card { margin-top: 16px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { display: block; }
.contact-list .detail { color: var(--quiet); font-size: 15px; }
.contact-list a { color: var(--brand); font-weight: 600; }

@media print {
  .topbar, .footer, .no-print, .flash { display: none !important; }
  body { background: #fff; color: #000; font-size: 13px; }
  .page { max-width: none; padding: 0; }
  .card { border: 0; box-shadow: none; padding: 0; background: #fff; }
  .stats div { border: 1px solid #ccc; background: #fff; }
  .contact-list li, .rent-list li, .payment-list li { break-inside: avoid; padding: 6px 0; }
  .contact-list a, .rent-list li > a { color: #000; }
  .hint, .lead, .detail, .contact-list .detail { color: #333 !important; }
  .contact-list strong, .rent-list strong { font-size: 15px; }
  .contact-list span, .contact-list .detail, .rent-list .state, .rent-list .detail,
  .payment-list li span { font-size: 13px; }
  .contact-list a { text-decoration: none; }
}

/* ---------- waitlist choices ---------- */
.form fieldset.wants label.want { align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; }
.form fieldset.wants label.want input { margin-top: 2px; }
.form fieldset.wants label.want > span { display: block; }
.form fieldset.wants .detail { display: block; color: var(--quiet); font-size: 15px; font-weight: 400; }
.form fieldset.wants .detail.open-now { color: var(--open); font-weight: 600; }
.form fieldset.wants label.want:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.form fieldset.wants > .hint { margin: 4px 0 0; }
.form fieldset.wants .hint a { color: var(--brand); font-weight: 600; }

/* ---------- month prices and month picking ---------- */
.month-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0; }
.form .month-grid label.month-price { margin: 0; font-size: 15px; font-weight: 600; }
.form .month-grid label.month-price input { margin-top: 4px; padding: 10px 8px; text-align: center; }
.month-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.month-pick { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px; text-align: center;
              cursor: pointer; background: var(--input); }
.form .month-picks label.month-pick { margin: 0; font-weight: 600; }
.month-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.month-pick .price { display: block; font-weight: 400; color: var(--quiet); font-size: 14px; }
.month-pick:has(input:checked) { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.month-pick:has(input:checked) .price { color: var(--brand-ink); }
.month-pick:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.year-sum { font-size: 20px; font-weight: 700; margin: 8px 0 0; }
.pick-buttons { display: flex; gap: 10px; margin-top: 4px; }
.pick-buttons button { font: inherit; font-size: 15px; background: none; border: 0; color: var(--brand); font-weight: 600;
                       padding: 6px 0; cursor: pointer; }
.month-pick:has(input:checked)::before { content: "\2713"; display: block; font-size: 14px; line-height: 1; margin-bottom: 2px; }
.month-pick:not(:has(input:checked))::before { content: ""; display: block; height: 16px; }
.form label.check.risk { align-items: flex-start; padding: 12px; border: 2px solid var(--wait); border-radius: 10px; margin-top: 16px; }
.form label.check.risk input { margin-top: 2px; }

/* ---------- printable lot sign with QR code ---------- */
.sign-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.lot-sign { background: #fff; border: 3px solid var(--ink, #1d2422); border-radius: 16px; padding: 28px 20px;
  text-align: center; margin: 20px 0; color: #000; }
.lot-sign p { margin: 0; }
.sign-name { font-size: 28px; font-weight: 800; line-height: 1.15; }
.sign-call { font-size: 18px; margin-top: 4px !important; }
.sign-qr { width: min(78vw, 340px); margin: 18px auto; }
.sign-qr svg { width: 100%; height: auto; display: block; }
.sign-scan { font-size: 18px; line-height: 1.35; }
.sign-url { font-size: 22px; font-weight: 700; margin-top: 12px !important; word-break: break-all; }
.sign-phone { font-size: 18px; margin-top: 8px !important; }
@media print {
  .lot-sign { border: 4px solid #000; margin: 0; padding: 0.5in 0.4in; page-break-inside: avoid; }
  .sign-name { font-size: 44px; }
  .sign-call { font-size: 26px; }
  .sign-qr { width: 5in; margin: 0.35in auto; }
  .sign-scan { font-size: 24px; }
  .sign-url { font-size: 30px; }
  .sign-phone { font-size: 24px; }
}

/* ---------- pricing tip on the space form ---------- */
.price-tip { background: #f3f7f5; border: 1px solid #d5e2dc; border-radius: 10px; padding: 12px 14px; margin: 8px 0 14px;
  font-size: 15px; line-height: 1.45; }
.price-tip p { margin: 0; }
.price-tip .tip-math { margin-top: 8px; }
.price-tip .tip-why { margin-top: 4px; }
.price-tip .tip-math ul.plain { margin: 4px 0 8px; padding-left: 0; list-style: none; }
.price-tip .tip-math p + p, .price-tip .tip-math ul + p { margin-top: 6px; }
.price-tip .tip-math ul + p + p { margin-top: 12px; }
.price-tip .tip-use { display: block; width: 100%; margin-top: 8px; min-height: 48px; }
.price-tip .tip-note { margin-top: 10px; font-size: 13px; color: var(--muted, #5b6b64); }
.link-button { background: none; border: 0; padding: 6px 0; color: var(--brand); font: inherit; text-decoration: underline;
  cursor: pointer; min-height: 40px; }
#tip-show-row { margin: 4px 0 12px; }

/* ---------- insurance: take a photo or choose a file ---------- */
.field-label { font-weight: 600; margin: 14px 0 6px; }
.ins-picker { display: grid; gap: 10px; margin-bottom: 8px; }
.ins-picker label.button { margin: 0; text-align: center; cursor: pointer; }
.ins-chosen { margin: 0; }
.ins-preview { max-width: 100%; max-height: 220px; border-radius: 8px; border: 1px solid #ddd; justify-self: start; }

/* ---------- lot map ---------- */
.lotmap { width: 100%; height: 62vh; min-height: 320px; border-radius: 12px; overflow: hidden; background: #dfe5e2;
  margin: 10px 0; }
.lotmap.renter { height: 52vh; }
.map-find { display: flex; gap: 8px; margin-bottom: 8px; }
.map-find input { flex: 1; margin: 0; }
.map-status { min-height: 1.4em; }
.map-selected { border: 2px solid #ff8a00; border-radius: 12px; padding: 12px; margin: 10px 0; background: #fff8ef; }
.map-selected p { margin: 0 0 6px; }
.map-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.map-spaces { display: flex; flex-wrap: wrap; gap: 8px; }
.map-spaces li { border: 0; padding: 0; }
.map-spaces .chosen { outline: 3px solid #ff8a00; }
.sg-map-label { position: absolute; transform: translate(-50%, -50%); color: #fff; font: 700 13px/1 system-ui, sans-serif;
  text-shadow: 0 0 3px #000, 0 0 3px #000; pointer-events: none; white-space: nowrap; }
.sg-map-info { font-size: 15px; line-height: 1.4; min-width: 170px; }
.sg-map-info .button { margin-top: 8px; display: inline-block; }
.map-key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; }
.map-key.open { background: #1fa65a; }
.map-key.taken { background: #d64541; }
.map-key.other { background: #8a9196; }

.tagline { font-size: 20px; font-weight: 600; color: var(--accent, #1f4e46); margin: 4px 0 10px; line-height: 1.3; }
.spaces.manage .add-renter { display: block; margin-top: 8px; text-align: center; }
.problems { color: #a3271c; padding-left: 20px; }
.problems li { margin: 6px 0; }

/* ---------- landing page lot picture ---------- */
.lot-picture { margin: 8px auto 20px; text-align: center; }
.lot-picture img { width: min(78vw, 300px); height: auto; display: block; margin: 0 auto 10px; }
.lot-picture figcaption { font-size: 15px; color: #5b6662; line-height: 1.5; }
.lot-picture .map-key { margin-left: 4px; }

/* ---------- landing page feature groups ---------- */
.features { display: grid; gap: 14px; }
.feature h2 { margin-top: 0; }
.feature-icon { font-size: 28px; margin: 0 0 4px; line-height: 1; }
.device-note { margin: 4px 0 18px; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* Footer legal links, sign-up agreement box, Terms / Privacy pages */
.footer .legal-links { display: block; margin-top: 6px; }
.footer .legal-links a { display: inline-block; padding: 8px 6px; }
.form label.check.terms { align-items: flex-start; margin-top: 18px; }
.form label.check.terms input { margin-top: 2px; }
.form label.check.terms a { color: var(--brand); font-weight: 600; }
.legal h2 { margin-top: 28px; font-size: 20px; }
.legal p, .legal li { line-height: 1.55; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .draft { border: 2px solid var(--wait); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; font-weight: 600; }
.legal .short { font-size: 17px; }

/* Shown only to the owner looking at their own lot page */
.preview-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 16px; padding: 12px 14px;
               border: 2px dashed var(--brand); border-radius: 10px; font-weight: 600; }
.preview-bar span { flex: 1 1 200px; }
.preview-bar .button { width: auto; padding: 10px 16px; }

/* Money page: the three downloads for the owner's accountant */
.downloads { margin-top: 28px; }
.downloads h3 { margin: 0 0 4px; }
.downloads > .button { margin-top: 16px; }

/* Call / Text / Email buttons on Help and Contact */
.contact-ways .button + .button { margin-top: 12px; }
.hero .contact-button { display: inline-block; width: auto; padding: 12px 20px; margin-top: 12px; }

/* Owners with several locations: a heading for each on the public page */
.location-head { margin: 28px 4px 10px; }
.location-head h2 { margin: 0; font-size: 24px; }
.location-head .detail, .location-head .hint { margin: 4px 0 0; }
.location-pick a, .location-pick strong { margin-right: 12px; }

/* Dashboard: one block per location */
.location-block { border-top: 1px solid var(--line, #e2ded5); padding-top: 14px; margin-top: 14px; }
.location-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.location-block h3 { margin: 0 0 4px; }
.location-links a { margin: 8px 8px 0 0; display: inline-block; }

.hero .lead.included { color: var(--open); }

/* Getting started checklist (new owners) */
.getting-started { border: 2px solid var(--wait); }
.setup-steps { list-style: none; margin: 8px 0 0; padding: 0; }
.setup-steps li + li { border-top: 1px solid #e5e7eb; }
.setup-steps a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; min-height: 48px;
  color: inherit; text-decoration: none; }
.setup-steps a:hover strong { text-decoration: underline; }
.setup-steps small { display: block; color: #555; font-size: .9rem; margin-top: 2px; }
.setup-steps .tick { flex: 0 0 30px; height: 30px; border-radius: 50%; border: 2px solid var(--wait);
  display: grid; place-items: center; font-weight: 700; }
.setup-steps li.done .tick { background: #16a34a; border-color: #16a34a; color: #fff; }
.setup-steps li.done strong { color: #555; text-decoration: line-through; }

/* Tap-to-open tips ("?") */
details.tip { display: inline-block; vertical-align: middle; margin-left: 4px; font-weight: normal; }
details.tip > summary { list-style: none; cursor: pointer; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #9ca3af; color: #4b5563; display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
details.tip > summary::-webkit-details-marker { display: none; }
details.tip[open] { display: block; margin: 6px 0 10px; }
details.tip[open] > summary { border-color: var(--wait); color: inherit; }
details.tip > p { margin: 6px 0 0; padding: 10px 12px; background: #f3f4f6; border-radius: 8px; font-size: .95rem;
  line-height: 1.45; }
details.how-to > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; }
details.how-to ol { margin: 10px 0 8px; padding-left: 22px; }
details.how-to li { margin-bottom: 8px; line-height: 1.45; }

.stats.two { grid-template-columns: repeat(2, 1fr); margin: 0 0 12px; }

/* Attention required (dashboard) */
.attention h2 { margin-top: 0; }
.attention-item + .attention-item { border-top: 1px solid #e5e7eb; margin-top: 10px; padding-top: 10px; }
.attention-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; }
.attention .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rent-list .rent-hold .state { color: var(--error); }
.rent-list li.needs-record { border-left: 4px solid var(--error); padding-left: 10px; background: #fff7f5; }

/* Price examples */
.table-wrap { overflow-x: auto; }
.price-examples { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: .95rem; }
.price-examples th { text-align: left; font-size: .85rem; color: #555; padding: 6px 8px 6px 0; border-bottom: 2px solid #e5e7eb; }
.price-examples td { padding: 8px 8px 8px 0; border-bottom: 1px solid #eee; vertical-align: top; }
.price-examples td span { display: block; font-size: .82rem; color: #666; }
.price-steps { list-style: none; counter-reset: step; padding: 0; margin: 12px 0; }
.price-steps > li { counter-increment: step; position: relative; padding: 0 0 14px 44px; }
.price-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  border-radius: 50%; background: #1f4e46; color: #fff; display: grid; place-items: center; font-weight: 700; }
.price-steps h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.price-steps p { margin: 0 0 8px; }
.price-tiers { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-tiers th { text-align: left; font-size: .82rem; color: #555; padding: 6px 8px 6px 0; border-bottom: 2px solid #e5e7eb; }
.price-tiers td { padding: 8px 8px 8px 0; border-bottom: 1px solid #eee; vertical-align: top; }
.examples-title { margin: 8px 0 0; font-size: 1rem; }
.price-tiers td span { display: block; font-size: .82rem; color: #666; }
.login-error { border: 2px solid var(--error); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.login-error p { margin: 0 0 4px; }
.how-to-phone ol { padding-left: 22px; margin: 8px 0; }
.how-to-phone li { margin-bottom: 8px; line-height: 1.45; }
.phone-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; }
.ios-icon { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; color: #0a84ff; }
.ios-icon.dots { width: auto; height: auto; font-weight: 700; letter-spacing: 1px; vertical-align: 0; }
.how-to-phone .sub-steps { margin: 6px 0 0; padding-left: 18px; font-size: .95rem; color: #444; }
.how-to-phone .sub-steps li { margin-bottom: 4px; }
.safe-list { margin: 14px 0 0; font-size: .95rem; }
.map-key.mine { background: #1e6fd9; }
.my-place + .my-place { border-top: 1px solid #e5e7eb; margin-top: 12px; padding-top: 12px; }
.map-key-line { margin: 6px 0 10px; }
.season-box { border: 2px solid #1f4e46; border-radius: 10px; padding: 10px 14px; margin: 14px 0; }
.season-box h2 { margin: 0 0 6px; font-size: 1.05rem; }
.close-link { margin-top: 28px; font-size: .9rem; } .close-link a { color: #666; }
.ins-check-warning { border: 2px solid var(--wait); border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.ins-check-warning p { margin: 0; }
.ins-confirm { margin-top: 10px; }
.ins-review { margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--line, #e3e3e3); }
.ins-review form { margin: 10px 0; }
.warn-line { color: var(--wait); font-weight: 600; margin: 4px 2px 8px; }
.sms-optin small { display: block; color: #555; margin-top: 2px; }
.lt-logo { display: inline-flex; align-items: center; gap: 7px; }
.lt-logo::before { content: ""; width: 26px; height: 26px; border-radius: 6px; flex: 0 0 26px;
  background: url("/static/icon-192.png") center / cover no-repeat; }
.save-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 14px;
  font-weight: 700; background: #e3f1ea; color: #1f6b4a; }
.season-plans .detail { display: block; font-size: 15px; color: var(--muted, #5b6662); }

/* Dark mode: boxes that were drawn with fixed light colors get dark ones, so their text stays readable
   (on phones in dark mode the light text sat on a light box and the box looked blank) */
@media (prefers-color-scheme: dark) {
  .price-tip { background: #22302b; border-color: #35473f; color: var(--ink); }
  details.tip > p { background: #26302d; color: var(--ink); }
  .map-selected { background: #2f2619; }
  .rent-list li.needs-record { background: #3a2422; }
  .save-tag { background: #1f3a2d; color: #9fe0bd; }
  .setup-steps small, .setup-steps li.done strong, .price-examples th, .price-tiers th, .sms-optin small {
    color: var(--quiet); }
  .setup-steps li + li, .attention-item + .attention-item, .my-place + .my-place,
  .price-examples th, .price-tiers th { border-color: var(--line); }
}
/* Lot page: a short welcome for new visitors (or "welcome back" for a renter of this lot) */
.welcome-box { margin: 10px 0 14px; padding: 12px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 8%, transparent); border-left: 5px solid var(--brand); font-size: 16px; line-height: 1.45; text-align: left; }
.welcome-box p { margin: 0; }
.welcome-box .button { margin-top: 10px; }
.welcome-own p { white-space: pre-line; }  /* keep the owner's line breaks */
/* Demo lot: a band at the top of every owner page */
.demo-bar { margin: 8px 0 12px; padding: 12px 14px; border-radius: 12px; background: #fff4d6; color: #3d2f00;
  border: 1px solid #f0d27a; }
.demo-bar p { margin: 0 0 8px; }
@media (prefers-color-scheme: dark) { .demo-bar { background: #3a3014; color: #f6e7b8; border-color: #6b5a24; } }
.setup-help { margin: 10px 0 0; }
.import-list li { padding: 8px 0; }
.import-list li.needs-record { border-left: 4px solid var(--error); padding-left: 10px; }
/* Owner's logo and lot photos */
h1.with-logo { display: flex; align-items: center; gap: 12px; }
.lot-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; flex: 0 0 64px; }
.lot-photos { display: flex; gap: 10px; overflow-x: auto; margin: 6px 0 14px; padding-bottom: 6px;
  scroll-snap-type: x mandatory; }
.lot-photos img { height: 170px; width: auto; max-width: 280px; object-fit: cover; border-radius: 12px;
  scroll-snap-align: start; display: block; }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 14px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 6px; }
.logo-preview { max-width: 140px; max-height: 140px; display: block; margin: 8px 0; border-radius: 12px; }
/* Color theme choices in Settings */
.theme-picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 6px 0; }
.theme-pick { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line);
  border-radius: 10px; font-weight: 600; cursor: pointer; }
.theme-pick input { width: 20px; height: 20px; accent-color: var(--brand); }
.theme-pick .swatch { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px; }

/* Gate code on the renter's My storage page: big and easy to read at the gate */
.gate-code { font-size: 2rem; font-weight: 700; letter-spacing: 0.08em; margin: 0.25rem 0 0.5rem;
  font-variant-numeric: tabular-nums; word-break: break-word; }
/* Sign in with Google */
.google-button { background: #ffffff; color: #1f1f1f; border: 1px solid #c7c7c7; display: flex; align-items: center;
  justify-content: center; gap: 10px; }
.google-button .g-mark { font-weight: 800; color: #4285f4; font-size: 20px; }
.or-line { text-align: center; color: var(--quiet); margin: 12px 0 4px; }
.know-your-lot { border-left: 4px solid var(--brand, #1f4e46); }
.know-your-lot ul { margin: 8px 0 0; padding-left: 22px; }
.know-your-lot li { margin-bottom: 6px; line-height: 1.45; }

/* Home page (2026-10-31) */
.cta-row { display: grid; gap: 12px; margin: 8px 0 14px; }
.cta-row .button + .button, .hero .cta-row .button.secondary { margin-top: 0; }
.price-line { font-size: 16px; color: var(--quiet); margin: 0 0 8px; }
.price-line .caps { display: block; margin-top: 4px; }
.section-title { font-size: 24px; margin: 28px 0 4px; }
.autopilot { border-left: 4px solid var(--brand); }
ol.timeline, ol.quick-setup { margin: 0 0 10px; padding-left: 24px; }
ol.timeline li, ol.quick-setup li { margin-bottom: 12px; line-height: 1.45; }
.bill-note { border-left: 4px solid var(--open); }
.bill-note .signature { font-weight: 700; margin-bottom: 0; }
.price-line a, .device-note a, .setup-help a { color: var(--brand); font-weight: 600; }
@media (prefers-color-scheme: dark) { .hero .tagline { color: var(--brand); } }
.map-key.summer { background: rgba(31, 166, 90, .45); box-shadow: inset 0 0 0 2px #f5d000; }
.summer-note { color: var(--open); font-weight: 600; }
.season-box.summer-only { border-left: 4px solid #f5d000; }
.map-next { margin: 10px 0; padding: 10px 12px; border: 2px solid var(--brand); border-radius: 10px; }
.map-next p { margin: 0 0 4px; }
.map-buttons.arrows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map-buttons.arrows .button { margin: 0; min-height: 48px; }
.price-math li { padding: 4px 0; }
.price-math .price-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.foot-price { margin: 8px 0 14px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--open) 12%, transparent); }
.signup-side { margin-top: 10px; padding: 10px 12px; border-left: 4px solid var(--brand); background: var(--card); border-radius: 8px; }
.signup-side p { margin: 4px 0; font-size: 16px; }
.signup-price { margin-top: 14px; }
.signup-price ul.checks li { padding: 3px 0 3px 28px; font-size: 16px; }
.today { border-left: 4px solid var(--open); }
.today.today-busy { border-left-color: var(--wait); }
.today p { margin: 0 0 6px; }
.group-title { font-size: 22px; margin: 30px 0 4px; padding-top: 10px; border-top: 2px solid var(--line); }
.signup-side a, .signup-price a { color: var(--brand); font-weight: 600; }
.hook { margin: 18px 0 8px; }
.hook-question { font-size: 19px; font-weight: 600; line-height: 1.4; margin: 0 0 6px; }
.hook-answer { color: var(--quiet); margin: 0 0 14px; }
.benefits { display: grid; gap: 10px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px; }
.benefit h3 { margin: 0 0 4px; font-size: 18px; }
.benefit p { margin: 0; color: var(--quiet); font-size: 16px; line-height: 1.45; }
.benefit-icon { flex: 0 0 48px; width: 48px; height: 48px; color: var(--brand); }
.hook-close { text-align: center; margin: 14px 0 0; }
@media (min-width: 700px) { .benefits { grid-template-columns: 1fr 1fr; } }
.included-list { columns: 1; }
@media (min-width: 600px) { .included-list { columns: 2; column-gap: 24px; } }
.included-list li { break-inside: avoid; padding: 4px 0 4px 28px; }
.final-cta { text-align: center; }
.price-rules li { padding: 4px 0 4px 28px; }
details.price-details { margin: 12px 0; }
details.price-details > summary { cursor: pointer; color: var(--brand); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.final-cta .hint a, .included .hint a { color: var(--brand); font-weight: 600; }
details.price-details > summary::after { content: " \25BE"; margin-left: 6px; }
details.price-details[open] > summary::after { content: " \25B4"; }
.price-calc { margin: 14px 0; padding: 14px; border-radius: 12px; border: 2px solid var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, var(--card)); }
.price-calc label { display: block; margin-bottom: 8px; }
.price-calc input { width: 120px; font-size: 22px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--input); color: var(--ink); }
.calc-result { margin: 10px 0 0; }
.calc-result span { display: block; }
.calc-total { font-size: 26px; font-weight: 800; color: var(--brand); }
.calc-each { color: var(--quiet); }
.calc-note { font-size: 15px; color: var(--quiet); margin-top: 4px; }
.calc-title { margin: 0 0 4px; font-size: 20px; }
.calc-ask { margin: 0 0 8px; color: var(--quiet); }

/* Services & invoices */
.stats.three { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 0; }
.stats.three div { padding: 12px 4px; }
.stats.three strong { font-size: 20px; }
.stats.three span { font-size: 14px; }
.invoice-list a { display: block; color: inherit; text-decoration: none; }
.invoice-list .detail, .service-row .detail { display: block; }
.service-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.service-row .actions { display: flex; gap: 8px; }
.service-pick { padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.service-pick:last-of-type { border-bottom: 0; }
.service-pick .row { grid-template-columns: 1fr 1fr; }
.form .row.wide-first { grid-template-columns: 2fr 1fr; }
.invoice-table { width: 100%; border-collapse: collapse; font-size: 17px; margin: 8px 0; }
.invoice-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.invoice-table td.amt { text-align: right; white-space: nowrap; padding-left: 12px; }
.invoice-table .detail { display: block; font-size: 14px; color: var(--quiet); }
.invoice-table tr.sub td { color: var(--quiet); font-size: 15px; }
.invoice-table tr.total td { font-weight: 700; font-size: 20px; border-bottom: 0; }
.invoice-note { white-space: pre-line; background: color-mix(in srgb, var(--brand) 8%, transparent); padding: 12px;
  border-radius: 10px; }
.hero .eyebrow .lot-logo { width: 36px; height: 36px; flex: none; vertical-align: middle; }
@media print { .no-print, .site-nav, footer { display: none !important; } }
.service-parts { margin: 8px 0 0 16px; padding-left: 12px; border-left: 3px solid var(--line); }
.service-parts .row { align-items: center; }
.service-parts .check { margin-top: 8px; }
.invoice-table .taxed { font-size: 13px; color: var(--quiet); }
.parts-box .row label { margin-top: 12px; }
.tax-report { margin: 24px 0; }
.tax-table thead td { font-size: 14px; color: var(--quiet); font-weight: 600; }

.optional-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--quiet); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; margin-right: 4px; }
.price-short { font-weight: 600; margin: 16px 0 0; }
.price-details > .examples-title:first-of-type { margin-top: 16px; }
.referral-list li { padding: 12px 0; }
.referral-list .detail { display: block; }
.referral-list .actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }

/* Owner's guide */
.guide-toc ul { columns: 2; column-gap: 16px; }
.guide-toc li { break-inside: avoid; }
@media (max-width: 420px) { .guide-toc ul { columns: 1; } }
.guide .card p { margin: 0 0 14px; }
.guide-table td:first-child { white-space: nowrap; }
@media (max-width: 480px) { .guide-table td:first-child { white-space: normal; } }
@media print {
  .guide .card { break-inside: auto; box-shadow: none; border: 0; padding: 0; margin: 0 0 18px; }
  .guide h2 { break-after: avoid; }
  .final-cta .button { display: none; }
}
.guide-toc a { color: var(--brand); font-weight: 600; text-decoration: none; }

.service-parts .part-math { margin: 0 0 6px 36px; }
.service-parts .part-math label { margin-top: 4px; font-size: 14px; }

@media (min-width: 700px) { .benefits .benefit-wide { grid-column: 1 / -1; } }
.benefit h3 .optional { font-size: 14px; font-weight: 400; }

.offer-list .detail { display: block; }
#offer h3 { margin: 16px 0 4px; font-size: 17px; }
#offer h3:first-of-type { margin-top: 4px; }
#offer a { color: var(--brand); font-weight: 600; }

/* Home page (2026-11-04 rebuild, Bill's section order) */
.home-hero h1 { font-size: clamp(32px, 8vw, 46px); }
.hero-promise { font-weight: 700; color: var(--brand); margin: 4px 0 18px; font-size: 18px; }
.problem h2, .find-rent h2, .routine h2, .do-more h2, .how-it-works h2, .included h2 { line-height: 1.2; }
.problem-ask { font-weight: 700; margin: 14px 0 6px; }
.problem-list { margin: 0 0 14px; padding-left: 0; list-style: none; }
.problem-list li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.problem-list li:last-child { border-bottom: 0; }
.problem-list li::before { content: "\2715"; position: absolute; left: 4px; top: 8px; color: var(--error); font-weight: 700; }
.problem-answer { font-size: 19px; font-weight: 700; color: var(--brand); margin: 0; }
.home-calc .price-calc { margin-top: 0; }
.calc-label { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--quiet); }
.price-calc input + .calc-label { margin-bottom: 0; }
.find-rent .lot-picture { margin: 12px auto 18px; }
.feature-table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 16px; }
.feature-table th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--quiet); padding: 6px 8px 6px 0; border-bottom: 2px solid var(--line); }
.feature-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.feature-table td:first-child { font-weight: 700; width: 44%; }
.feature-table tr:last-child td { border-bottom: 0; }
.vs-table td:first-child { font-weight: 400; color: var(--muted, #5b6b64); }
.vs-table td:last-child { font-weight: 600; }
.routine-phone { margin: 8px auto 10px; max-width: 240px; }
.routine-phone svg { width: 100%; height: auto; display: block; }
.routine-list li { margin-bottom: 4px; }
.control-callout { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; border-left: 5px solid var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, transparent); }
.control-callout p { margin: 0; font-size: 17px; line-height: 1.5; }
.do-more-close { margin: 14px 0 6px; }
.price-callout { margin: 0; padding: 10px 14px; border-radius: 10px; border: 2px dashed var(--line); }
.steps-3 { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 14px; }
.steps-3 li { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.steps-3 h3 { margin: 6px 0 4px; font-size: 18px; }
.steps-3 p { margin: 0; color: var(--quiet); }
.step-icon { width: 44px; height: 44px; color: var(--brand); }
@media (min-width: 760px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.bill-note { margin: 14px 0 4px; }
.included-grid { columns: 2; column-gap: 18px; }
.included-grid li { break-inside: avoid; font-size: 16px; }
@media (max-width: 400px) { .included-grid { columns: 1; } }
.how-it-works .bill-note { padding-left: 12px; }

.ask-title { font-size: 20px; }
.ask-box .eyebrow { margin: 0 0 4px; }

.ask-title { font-size: 20px; }
.ask-box .eyebrow { margin: 0 0 4px; }
.photo-grid figcaption { font-size: 13px; color: var(--muted); }
.photo-grid figcaption .link-button { padding: 2px 0; font-size: 13px; }
/* Your lot at a glance */
.glance-list li { border-bottom: 1px solid var(--line); }
.glance-list li:last-child { border-bottom: 0; }
.glance-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0;
  color: inherit; text-decoration: none; }
.glance-name { font-weight: 600; }
.glance-name .detail { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.glance-list .pill { font-size: 14px; padding: 4px 12px; white-space: nowrap; flex-shrink: 0; max-width: 55%;
  white-space: normal; text-align: center; }
.pill-on { background: #e3f1e8; color: #1f5c38; }
.pill-off { background: #eceeed; color: #5b6360; }
/* Slim Ask Tally box at the bottom of owner pages */
.tally-bar { margin: 28px 0 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card, #fff); }
.tally-bar label { display: block; margin-bottom: 8px; }
.tally-row { display: flex; gap: 8px; }
.tally-row input { flex: 1; min-width: 0; margin: 0; }
.tally-row .button { width: auto; margin: 0; padding-left: 20px; padding-right: 20px; }
.tally-bar .hint { margin: 8px 0 0; }
.tally-row input { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--input);
  color: var(--ink); font: inherit; }
.tally-row input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.tally-bar a { color: var(--brand); }

/* ---------- checklists (renter getting-ready / picking-up, owner lot inspections) ---------- */
a.tab { text-decoration: none; display: block; text-align: center; }
.checklist-note { margin: 10px 0 0; padding: 10px 12px; border-left: 4px solid var(--brand); background: var(--bg); border-radius: 6px; }
.progress-box { margin: 14px 0; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; }
.progress-box.finished { border-color: var(--open); }
.progress-title { margin: 0 0 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.progress-title span { color: var(--quiet); font-size: 16px; }
.progress-box.finished .progress-title span { color: var(--open); font-weight: 700; }
.progress-bar { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--brand); transition: width .2s; }
.progress-box.finished .progress-bar span { background: var(--open); }
.disclaimer { margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: var(--bg); font-size: 15px; color: var(--quiet); }
.ack-form { margin: 0 0 12px; }
.ack-form .check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-weight: 600; }
.ack-form input[type=checkbox] { width: 26px; height: 26px; flex: none; margin-top: 2px; }
ol.checklist { list-style: none; margin: 8px 0 0; padding: 0; }
ol.checklist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
                  padding: 12px 0; border-top: 1px solid var(--line); }
ol.checklist .check-text { flex: 1 1 200px; }
ol.checklist .check-text .detail { display: block; font-size: 14px; font-weight: 600; color: var(--open); }
ol.checklist li.na .check-text .detail { color: var(--quiet); }
ol.checklist li.done .check-text, ol.checklist li.na .check-text { color: var(--quiet); }
ol.checklist li.done .check-text::before { content: "\2713  "; color: var(--open); font-weight: 700; }
ol.checklist.locked { opacity: .6; }
.check-buttons { display: flex; gap: 8px; flex: none; }
.check-buttons .small { min-width: 64px; min-height: 44px; }
.check-buttons input[name=note] { width: 100%; }
.list-preview { margin: 6px 0 0; padding-left: 20px; color: var(--quiet); font-size: 15px; }
.renter-lists h3 { margin: 16px 0 4px; }
#checklist p a, #inspection p a, .renter-lists p a { color: var(--brand); font-weight: 600; }
.check-buttons input[name=note] { flex: 1 1 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--input); color: var(--ink); font: inherit; font-size: 16px; }
.check-buttons.with-note { flex: 1 1 100%; flex-wrap: wrap; min-width: 0; }
li.done .check-buttons.with-note, li.na .check-buttons.with-note { flex: none; }
.switches .check .detail { display: block; font-weight: 400; color: var(--quiet); font-size: 15px; margin-top: 2px; }
.switches .check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; }
.switches .check input { width: 24px; height: 24px; flex: none; margin-top: 3px; }

/* Already opened from the home screen icon: no need for the how-to */
@media (display-mode: standalone) { .homescreen-tip { display: none; } }
.homescreen-tip p { margin: 8px 0 0; }

/* ---------- Get renters page and the bulletin-board flyer ---------- */
.promo-list > details.record { margin: 0; border-top: 1px solid var(--line); padding: 4px 0; }
.promo-list > details.record:first-child { border-top: 0; }
.promo-list > details.record > summary { font-size: 18px; padding: 12px 0; }
.promo-list .small { margin: 6px 6px 0 0; }
.copy-text { padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 16px; line-height: 1.5;
  overflow-wrap: anywhere; margin: 8px 0 0; }
.keep-lines { white-space: pre-line; }
ol.steps { padding-left: 22px; margin: 10px 0; }
ol.steps li { margin: 0 0 10px; }
.flyer { background: #fff; color: #000; border: 2px dashed #999; border-radius: 6px; padding: 16px 16px 0;
  margin: 16px 0; }
.flyer p { margin: 0; }
.flyer-top { display: flex; gap: 14px; align-items: center; }
.flyer-words { flex: 1 1 auto; min-width: 0; }
.flyer-name { font-size: 22px; font-weight: 800; line-height: 1.15; }
.flyer-head { font-size: 18px; font-weight: 700; margin-top: 4px !important; }
.flyer-town { font-size: 15px; margin-top: 4px !important; }
.flyer-prices { margin: 8px 0 0; padding-left: 18px; font-size: 15px; font-weight: 600; }
.flyer-scan { font-size: 14px; margin-top: 8px !important; }
.flyer-qr { width: 120px; flex: none; }
.flyer-qr svg { width: 100%; height: auto; display: block; }
.flyer-url { font-size: 16px; font-weight: 700; text-align: center; margin: 10px 0 !important; word-break: break-all; }
.flyer-tabs { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 2px dashed #999; }
.flyer-tabs div { border-left: 1px dashed #999; height: 110px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 2px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; font-weight: 600; padding: 4px 0;
  text-align: center; overflow: hidden; }
.flyer-tabs div:first-child { border-left: 0; }
.flyer-tabs span { white-space: nowrap; }
.print-only { display: none; }
@media print {
  @page { size: letter; margin: 0.25in; }
  .print-only { display: block; }
  .demo-bar { display: none !important; }
  .flyer { border: 0; border-bottom: 1px dashed #000; border-radius: 0; margin: 0; height: 4.95in; padding: 0.25in 0.3in 0;
    display: flex; flex-direction: column; break-inside: avoid; }
  .flyer + .flyer { border-bottom: 0; }
  .flyer-name { font-size: 30px; }
  .flyer-head { font-size: 22px; }
  .flyer-town, .flyer-prices { font-size: 17px; }
  .flyer-scan { font-size: 15px; }
  .flyer-qr { width: 2in; }
  .flyer-url { font-size: 20px; }
  .flyer-tabs { margin-top: auto; border-top: 1px dashed #000; }
  .flyer-tabs div { height: 1.75in; font-size: 10px; border-left: 1px dashed #000; }
}

.plan-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.plan-list li:first-child { border-top: 0; }
.plan-list form { margin: 0; }
.plan-box { width: 36px; height: 36px; border-radius: 8px; border: 2px solid var(--brand); background: transparent;
  color: var(--brand-ink); font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer; padding: 0; }
.plan-list li.done .plan-box { background: var(--open); border-color: var(--open); }
.plan-text { flex: 1 1 auto; }
.plan-list li.done .plan-text { color: var(--quiet); }
.plan-text .detail { display: block; font-size: 14px; color: var(--open); font-weight: 600; }
.plan-show { color: var(--brand); font-weight: 600; font-size: 15px; white-space: nowrap; }
.plan-text .detail.repost { color: var(--wait, #a86b00); }
.card.tally-filled { border: 2px solid var(--brand); }
.card.tally-filled p { margin: 0 0 6px; }
.letter p { margin: 0 0 12px; line-height: 1.5; }
.letter h2 { text-align: center; margin: 18px 0; }
.signature-line { margin-top: 28px !important; }
@media print { .letter { border: 0; box-shadow: none; padding: 0; font-size: 12pt; color: #000; background: #fff; } }
@media print { .ask-box, .footer, .topbar, .demo-bar { display: none !important; } }
.feedback { display: block; font-style: italic; color: var(--quiet); margin-top: 4px; }
.game-plan { border: 2px solid var(--brand); }
.game-plan .eyebrow { margin: 0; }
.inline-form { display: inline; margin: 0; }
.plan-steps { padding-left: 22px; margin: 8px 0; }
.plan-steps li { margin: 0 0 6px; }
.plan-steps li.done { color: var(--quiet); }
.plan-steps li.now { font-weight: 700; }
.plan-steps .detail { font-weight: 400; color: var(--quiet); }

/* Tally in the top menu (Bill, 2026-11-10): one tap from every page; tighter menu so it fits small phones */
.nav-tally { white-space: nowrap; }
@media (max-width: 420px) {
  .topbar { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .nav-links { gap: 12px; }
  .nav-links .link { font-size: 16px; }
}
@media (max-width: 480px) {
  .topbar .brand-word { display: none; }   /* the house logo alone, so the menu fits on a phone */
  .topbar form .link { white-space: nowrap; }
}
@media (max-width: 345px) {
  .nav-links { gap: 6px; }
  .nav-links .link { font-size: 15px; }
  .topbar { padding-left: 10px; padding-right: 10px; gap: 6px; }
}

/* Home hero (Bill, 2026-11-10): LotTally means business */
.home-hero h1 { font-size: clamp(34px, 9vw, 52px); line-height: 1.08; font-weight: 800; }
.hero-next { font-size: clamp(22px, 5.5vw, 30px); font-weight: 800; color: var(--brand); margin: 10px 0 14px;
  line-height: 1.2; }
.hero-what { font-size: 17px; font-weight: 600; color: var(--quiet); margin: 0 0 10px; line-height: 1.4; }

.path-choices { display: grid; gap: 10px; margin: 12px 0; }
.path-choice { display: block; text-align: left; height: auto; padding: 14px 16px; line-height: 1.35; }
.path-choice strong { display: block; font-size: 18px; }
.path-choice span { display: block; font-weight: 400; font-size: 15px; margin-top: 4px; }

.plan-progress { list-style: none; padding: 0; margin: 8px 0 14px; font-size: 15px; }
.plan-progress li { padding: 3px 0 3px 22px; position: relative; color: var(--quiet); }
.plan-progress li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 10px;
  border-radius: 50%; border: 2px solid var(--line); }
.plan-progress li.done { color: var(--open); }
.plan-progress li.done::before { display: none; }
.plan-progress li.done { padding-left: 0; }
.plan-progress li.now { color: var(--ink); font-weight: 700; }
.plan-progress li.now::before { border-color: var(--brand); background: var(--brand); }
.plan-progress .detail { font-weight: 400; color: var(--quiet); }
.plan-more { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.rest-of-dashboard { margin: 18px 0; }
.rest-of-dashboard > summary { font-weight: 700; font-size: 18px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); cursor: pointer; }
.rest-of-dashboard[open] > summary { margin-bottom: 14px; }
.plan-start { margin: 6px 0 2px; font-size: 15px; color: var(--open); font-weight: 600; }
.plan-progress li.done { padding-left: 22px; }
.plan-progress li.done::before { display: block; content: "\2713"; border: 0; width: auto; height: auto; top: 3px;
  left: 2px; color: var(--open); font-weight: 700; }
.steps-3 .start-paths { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.steps-3 .start-paths li { padding: 0; border: 0; border-radius: 0; color: var(--quiet); }
.steps-3 .start-paths strong { color: var(--ink, inherit); }

/* Don't rent to them again (app/dontrent.py) */
.tag.warn { display: inline-block; margin: 4px 0; padding: 2px 8px; border-radius: 6px; font-size: 0.85rem;
  font-weight: 600; color: var(--error); border: 1px solid var(--error); }
.warn-card { border: 2px solid var(--error); }
.warn-card h2 { color: var(--error); }
.danger-zone label.check { margin: 0 0 8px; min-height: 44px; }
.danger-zone .dont-rent-note { margin-bottom: 12px; }
.danger-zone .dont-rent-note label { margin-top: 4px; }

/* Owner suggestions on /admin: a line between ideas */
.suggestion { margin-bottom: 1rem; }
.suggestion + .suggestion { border-top: 1px solid #ddd; padding-top: 1rem; }

/* Your yard and the yard crew page (app/crew.py) */
.button-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.button-row form { margin: 0; }
.tag { display: inline-block; margin: 2px 0; padding: 2px 8px; border-radius: 6px; font-size: 0.85rem;
  font-weight: 600; color: var(--quiet); border: 1px solid var(--line, #d9d6cf); }
.tag.good { color: var(--brand); border-color: var(--brand); }
.crew-link { word-break: break-all; font-size: 0.95rem; }
.crew-search .search-row { display: flex; gap: 8px; }
.crew-search .search-row input { flex: 1; min-width: 0; }
.crew-found li, .crew-jobs li { padding: 10px 0; border-bottom: 1px solid var(--line, #e6e3dc); }
.crew-jobs li:last-child, .crew-found li:last-child { border-bottom: 0; }
.crew-done { display: flex; gap: 8px; margin-top: 8px; }
.crew-done input { flex: 1; min-width: 0; }
.crew-spaces li { display: flex; gap: 12px; align-items: baseline; padding: 8px 6px; border-bottom: 1px solid var(--line, #e6e3dc); }
.crew-spaces .space-no { min-width: 3.2em; font-weight: 700; }
.crew-spaces li.lit { background: #e3eefc; border-radius: 6px; }
.crew-search .search-row .button, .crew-done .button { width: auto; flex: none; margin: 0; padding-left: 20px; padding-right: 20px; }
.crew-search .search-row input, .crew-done input { flex: 1 1 auto; width: auto; min-width: 0; min-height: 44px;
  padding: 8px 12px; border: 1px solid var(--line, #cfcac0); border-radius: 10px; font: inherit; }
.origin { margin: 16px 0 0; color: var(--quiet); }

/* A form sent back with mistakes: what to fix, at the top (Bill, 2026-11-14) */
.fix-list { border: 2px solid var(--error); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.fix-list p { margin: 0 0 6px; color: var(--error); }
.fix-list ul { margin: 0; padding-left: 20px; }
.fix-list a { color: inherit; }

/* Problems on the lot (issues.html) */
.issue-list > li.issue { border-top: 1px solid var(--line, #e3e6ea); padding: 14px 0; }
.issue-list > li.issue:first-child { border-top: 0; padding-top: 0; }

/* Owner test, 2026-11-15: menu items never break in two ("Log out" on narrow phones); if they don't fit, the menu
   wraps whole items onto a second row. Plain text links use the brand color, not the browser's default blue
   (zero specificity, so every styled link keeps its own look). */
.nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 2px; }
.nav-links .link, .nav-links form .link { white-space: nowrap; }
:where(a) { color: var(--brand); }
:where(.hint, .detail, small, label) :where(a) { font-weight: 600; }

/* Set up my spaces, step by step */
.setup-step h1 { font-size: 24px; margin: 0 0 6px; }
.setup-step .price-group { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 10px 14px 14px; margin: 14px 0 0; min-width: 0; }
.setup-step .price-group-title { font-weight: 700; margin: 0; }
.setup-summary li { margin-bottom: 8px; }

/* Start a rental (app/startrental.py): renter checklist, owner's in-progress list, space QR */
.progress-steps li { padding: 6px 0; font-size: 18px; }
.progress-steps li.done { color: var(--open); }
.progress-steps li.todo a { font-weight: 600; }
.on-lot-unfinished { border-left: 4px solid var(--error); padding-left: 8px !important; }
.error-text { color: var(--error); }
.start-spaces .actions { display: flex; gap: 8px; flex-shrink: 0; }
.space-qr-card { text-align: center; }
.space-qr-card .sign-qr { width: min(84vw, 380px); }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }

/* Move-in photo step at the end of the renter's checklist */
.checklist-photos { margin: 14px 0 0; padding: 12px; border: 2px solid var(--brand); border-radius: 10px; background: var(--bg); }
.checklist-photos.finished { border-color: var(--muted); }
.checklist-photos p { margin: 0 0 8px; }
.photo-grid .warn-line { margin: 0; font-size: 13px; }
.value-card { margin: 10px 0 14px; padding: 12px 14px; border-left: 4px solid var(--brand); background: var(--bg); border-radius: 6px; }
.value-card h3 { margin: 0 0 8px; }
.value-card ul { margin: 0 0 8px; }
.value-card p { margin: 0; }
.welcome-video { display: block; width: 100%; max-width: 360px; margin: 0 auto 12px; border-radius: 14px; background: #1d4b43; }
.watch-row { margin-top: 10px; }
.tagline { margin: 0 0 10px; font-size: 20px; font-weight: 700; color: var(--brand); }

/* Photo warning when an owner excuses a renter from insurance (Bill, 2026-12-03) */
.callout { background: #fff8e6; border-left: 4px solid #d8a31f; border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.callout p { margin: 0 0 8px; }
.callout .check { margin-bottom: 0; }
