:root {
  --ground: #F2F2EE;
  --card: #FFFFFF;
  --ink: #111311;
  --text-2: #3F413C;
  --muted: #5E605A;
  --line: #E2E2DC;
  --line-2: #D6D6CF;
  --lime: #C6EA3F;
  --lime-dot: #9BC22A;
  --blue: #2450B8;
  --green: #1E7A46;
  --tomato: #D13A22;
  --off: #F7F7F3;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.top-nav { display: flex; flex-wrap: wrap; gap: 2px; font-weight: 500; font-size: 15px; }
.top-nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.top-nav a:hover { background: #E7E7E1; }
.status-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-pill.is-open .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(30,122,70,0.18); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 32px; }
.hero-copy { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 24px 0; }
.kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(50px, 7.4vw, 112px); line-height: 0.92; letter-spacing: -0.045em; }
mark { display: inline-block; line-height: 0.9; background: var(--lime); color: inherit; padding: 0.07em 0.12em 0.05em; border-radius: 0.14em; } /* inline-block + tight line-height trims the font's built-in space so the padding is even */
.lede { font-size: 20px; line-height: 1.5; max-width: 520px; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2D29; color: #fff; }
.btn-light { background: var(--card); border: 1px solid var(--line-2); }
.btn-light:hover { border-color: var(--ink); }

.bento { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.tile { border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tile-white { background: var(--card); border: 1px solid var(--line); }
.tile-wide { grid-column: span 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 18px 22px; }
.tile-count { grid-column: span 2; background: var(--ink); color: #fff; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 170px; padding: 24px 26px; }
.tile-count > div { display: flex; flex-direction: column; gap: 4px; }
.big-num { font-family: var(--display); font-weight: 700; font-size: 104px; line-height: 0.85; letter-spacing: -0.05em; color: var(--lime); }
.tile-sub { font-size: 17px; font-weight: 500; }
.cat-counts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.cat-counts li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #D9DAD4; }
.cat-counts b { font-family: var(--mono); font-weight: 500; min-width: 18px; text-align: right; color: #fff; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.chip { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip-lime { background: var(--lime); }
.fresh-list { display: flex; flex-direction: column; gap: 10px; }
.fresh-list li { display: flex; flex-direction: column; line-height: 1.25; }
.fresh-list strong { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.fresh-list span { font-size: 14px; color: var(--muted); }
.tile-blue { background: var(--blue); color: #fff; justify-content: space-between; text-decoration: none; }
.tile-blue:hover { background: #1D449F; color: #fff; }
.tile-title { display: block; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; }
.tile-link { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; }
.muted-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.away-list { display: contents; }
.away-list li { font-size: 15px; }
.away-list span { color: var(--muted); }

/* Sections */
.section { padding-top: 88px; display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.section h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.035em; }
.section-note { max-width: 420px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 26px; }
.scroll-x { overflow-x: auto; position: relative; } /* keeps the table's .sr-only labels inside the scroll box */

/* Week picker */
.week-track { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.week-track::-webkit-scrollbar { display: none; }
.week { flex: 1 0 96px; min-height: 60px; border: none; border-radius: 999px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 10px; }
.week:hover { background: #F0F0EB; }
.week strong { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.week small { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.week .today-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-dot); }
.week[aria-pressed="true"] { background: var(--ink); color: #fff; }
.week[aria-pressed="true"] small { color: #D9DAD4; }

/* Filters */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-weight: 600; font-size: 14.5px; }
.cat-chip:hover { border-color: var(--ink); }
.cat-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.result-count { font-size: 14px; color: var(--muted); margin: -8px 0 -8px; }

/* Vendor cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.vcard { text-align: left; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s; }
.vcard:hover { border-color: #BDBDB4; transform: translateY(-2px); }
.vcard.is-away { background: var(--off); border: 1.5px dashed #CFCFC7; }
.vcard.is-away .vname { color: var(--muted); }
.vnote { font-size: 12.5px; color: var(--muted); text-align: right; }
.vtop, .vbottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.vbottom { align-items: baseline; }
.vcat { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.vname { display: block; font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.08; letter-spacing: -0.02em; }
.vsells { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.vspacer { flex: 1; }
.vbooth { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--text-2); }
.vstatus { font-size: 13.5px; font-weight: 600; color: var(--green); }
.vcard.is-away .vstatus, .vcard.is-usual .vstatus { color: var(--muted); }
.strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; align-items: end; width: 100%; height: 16px; }
.strip i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.strip i.on { background: var(--ink); }
.strip i.pick { height: 16px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.strip i.pick.on { background: var(--lime); }
.strip i.unk { background: #fff; box-shadow: inset 0 0 0 1.5px #CFCFC7; }
.strip i.unk.pick { box-shadow: inset 0 0 0 1.5px var(--ink); }
.empty { padding: 28px; border-radius: 22px; background: var(--card); font-size: 16px; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--muted); align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 18px; height: 8px; border-radius: 4px; }
.lg-on { background: var(--ink); }
.lg-off { background: var(--line); }
.lg-unk { background: #fff; box-shadow: inset 0 0 0 1.5px #CFCFC7; }
.lg-pick { height: 14px; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sq { display: inline-block; width: 16px; height: 16px; border-radius: 5px; }
.sq-2 { background: var(--green); } .sq-1 { background: #B9DFC4; } .sq-0 { background: #EEEEE8; }

/* Heatmap */
.heat { width: 100%; min-width: 720px; table-layout: fixed; border-collapse: separate; border-spacing: 6px; padding: 18px 22px; }
.heat .rowhead-col { width: 150px; }
.heat .tag-col { width: 110px; }
.heat th { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; padding-bottom: 4px; }
.heat th.now span { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; }
.heat th[scope="row"] { text-align: left; width: 190px; padding: 0; }
.heat th[scope="row"] strong { display: block; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.heat th[scope="row"] span { font-family: var(--mono); font-size: 12px; font-weight: 400; }
.heat tr.is-gone th[scope="row"] strong { color: var(--muted); }
.heat td.cell { height: 30px; border-radius: 8px; background: #EEEEE8; }
.heat td.l1 { background: #B9DFC4; }
.heat td.l2 { background: var(--green); }
.heat td.now { box-shadow: inset 0 0 0 2px var(--ink); }
.heat td.tag { width: 120px; text-align: right; }
.ptag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.ptag-just { background: var(--lime); }
.ptag-now { background: var(--green); color: #fff; }
.ptag-last { background: var(--tomato); color: #fff; }
.ptag-gone, .ptag-off { border-color: var(--line-2); color: var(--muted); }
.ptag-soon { border-color: var(--green); color: var(--green); }

/* Market picker */
.market-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.chip-n { font-family: var(--mono); font-size: 12px; opacity: 0.7; }
.mcard { text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); min-height: 170px; transition: border-color 0.15s, transform 0.15s; }
.mcard:hover { border-color: #BDBDB4; transform: translateY(-2px); }
.mcard[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mtop, .mbottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
.mbottom { margin-top: auto; align-items: baseline; }
.marea { font-size: 13px; font-weight: 600; color: var(--muted); }
.mcard[aria-pressed="true"] .marea, .mcard[aria-pressed="true"] .mdays, .mcard[aria-pressed="true"] .mcount, .mcard[aria-pressed="true"] .mnext { color: #D9DAD4; }
.mname { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.05; letter-spacing: -0.02em; }
.mdays { font-size: 13.5px; color: var(--text-2); }
.mopen { font-size: 13px; font-weight: 700; color: var(--green); }
.mcard[aria-pressed="true"] .mopen { color: var(--lime); }
.mnext { font-size: 13px; font-weight: 600; color: var(--text-2); }
.mcount { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.badge { padding: 3px 9px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.badge-soft { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.mcard[aria-pressed="true"] .badge-soft { border-color: #55574F; color: #D9DAD4; }
.market-meta { font-size: 15px; color: var(--text-2); line-height: 1.5; }
.market-note { font-size: 14.5px; color: var(--muted); line-height: 1.5; max-width: 640px; }
.market-meta a { color: var(--text-2); }
.notice { padding: 12px 16px; border-radius: 14px; background: #FFF4D6; border: 1px solid #F0D58A; font-size: 15px; }

/* Search */
.search { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--muted); min-width: 240px; }
.search:focus-within { border-color: var(--ink); }
.search input { border: none; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--ink); width: 100%; min-width: 0; }
.search-big { width: 100%; min-height: 64px; padding: 0 22px; }
.search-big input { font-size: 18px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.find-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; align-items: start; }
.find-results > .result-count { grid-column: 1 / -1; margin: 0; }
.find-group { padding: 16px 18px; }
.find-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.find-market { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.find-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; min-height: 44px; padding: 8px 0; border: none; border-bottom: 1px solid #F0F0EB; background: none; font-size: 14.5px; }
.find-row span span { color: var(--muted); }
.find-row:hover b { text-decoration: underline; }
.find-row i { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.find-row i.ok { background: var(--lime); }
.find-row i.no { background: #EEEEE8; color: var(--muted); }
.more { padding-top: 8px; font-size: 13px; color: var(--muted); }
.linkish { border: none; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.find-head .linkish { text-decoration: none; }

/* Map */
.map-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.map { flex: 999 1 600px; min-width: 0; height: 460px; border-radius: 26px; overflow: hidden; background: #E6E8DF; border: 1px solid var(--line); }
.map-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.map-list { display: flex; flex-direction: column; gap: 6px; max-height: 400px; overflow-y: auto; padding: 4px; margin: -4px; }
.toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--ink); }
.dir-pin { width: 14px; height: 14px; padding: 0; border-radius: 50%; background: #8A8C84; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.3); cursor: pointer; }
.dir-pin:hover { background: var(--ink); }
.pop { display: flex; flex-direction: column; gap: 3px; font-family: var(--body); font-size: 13px; color: var(--text-2); }
.pop b { font-family: var(--display); font-size: 15px; color: var(--ink); }
.pop a { color: var(--blue); font-weight: 600; }
.map-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); min-height: 56px; }
.map-item[aria-pressed="true"] { border: 2px solid var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.map-item b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; }
.map-item small { font-size: 13px; color: var(--muted); }
.pin-num, .pin { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 14px; }
.pin { border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.3); cursor: pointer; padding: 0; width: 38px; height: 38px; }
.pin.is-on { background: var(--lime); color: var(--ink); border-color: var(--ink); }

.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.detail-name { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.detail-sells { font-size: 16px; line-height: 1.45; color: var(--text-2); }
.detail-status { display: inline-flex; align-self: flex-start; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--lime); font-weight: 600; font-size: 14.5px; }
.detail-status.is-off { background: #EEEEE8; }
.detail-weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.detail-weeks span { display: flex; flex-direction: column; align-items: center; padding: 8px 0; border-radius: 12px; background: var(--ground); color: var(--muted); font-size: 11px; font-weight: 600; }
.detail-weeks b { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.1; }
.detail-weeks .on { background: var(--ink); color: #fff; }
.detail-weeks .unk { background: #fff; box-shadow: inset 0 0 0 1.5px #CFCFC7; }
.detail-weeks .pick { box-shadow: inset 0 0 0 2px var(--ink); }
.detail-weeks .pick.on { background: var(--lime); color: var(--ink); }
.detail-about { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; align-self: flex-start; }
.fine { font-size: 13.5px; color: var(--muted); }

.site-footer { display: flex; flex-direction: column; gap: 10px; padding-top: 48px; padding-bottom: 56px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.site-footer a { color: var(--text-2); }
.site-footer .brand-word { font-size: 18px; }

/* Mobile dock + vendor sheet */
.dock { display: none; }
.sheet { border: none; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 88vh; border-radius: 28px 28px 0 0; background: var(--card); color: var(--ink); }
.sheet::backdrop { background: rgba(17,19,17,0.45); }
.sheet-inner { position: relative; padding: 28px 20px 32px; display: flex; flex-direction: column; gap: 16px; }
.sheet-inner > div { display: flex; flex-direction: column; gap: 16px; }
.sheet .detail-top { padding-right: 52px; }
@media (min-width: 721px) { .sheet { margin: auto; border-radius: 28px; } }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--ground); display: flex; align-items: center; justify-content: center; }

@media (max-width: 720px) {
  .top-nav { display: none; }
  .status-pill { margin-left: 0; width: 100%; justify-content: center; }
  .hero { padding-top: 8px; gap: 16px; }
  .hero-copy { padding: 8px 0; gap: 18px; }
  .lede { font-size: 17px; }
  .big-num { font-size: 76px; }
  .tile-count { min-height: 0; padding: 20px; }
  .tile { padding: 16px; border-radius: 20px; }
  .tile-title { font-size: 21px; }
  .fresh-list strong { font-size: 17px; }
  .section { padding-top: 64px; }
  .week { flex: 0 0 auto; padding: 0 16px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .vcard { min-height: 0; }
  .market-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; padding-bottom: 6px; }
  .map-list { max-height: none; }
  .search { width: 100%; }
  .map { height: 340px; }
  .find-results { grid-template-columns: minmax(0, 1fr); }
  .dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20; height: 60px; padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(17,19,17,0.14); }
  .dock a { display: flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 13.5px; }
  .dock a[aria-current="true"] { background: var(--ink); color: #fff; }
  .site-footer { padding-bottom: 110px; }
}

/* Directions */
.market-dirs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 6px; }
.dir-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.dir-btn:hover { background: #2A2D29; color: #fff; }
.dir-alt { font-size: 14px; color: var(--muted); padding: 10px 0; }
.dir-alt:hover { color: var(--ink); }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.detail-actions .market-dirs { margin: 0; }
.map-list li { display: flex; gap: 6px; align-items: stretch; }
.map-list li .map-item { flex: 1; min-width: 0; }
.map-dir { flex: none; width: 52px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.map-dir:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pop-links { display: flex; gap: 14px; margin-top: 4px; }
.blurb { padding: 12px 16px; border-radius: 16px; background: #F4FBDA; border: 1px solid #DCEFA0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.blurb b { color: var(--ink); }

/* Vendor card: the whole card opens details; the website link sits above that click layer */
.vcard { position: relative; cursor: pointer; }
.vcard-hit { position: absolute; inset: 0; z-index: 1; border: none; background: transparent; border-radius: inherit; cursor: pointer; padding: 0; }
.vcard-hit:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.vsite { position: relative; z-index: 2; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; padding: 6px 0 6px 10px; white-space: nowrap; }
.vsite:hover { text-decoration: underline; }

/* Show all vendors */
.more { display: flex; justify-content: center; }
.more:empty { display: none; }
.show-all { min-width: 240px; justify-content: center; }

/* Hero: next market tile */
.tile-blue { justify-content: flex-start; gap: 6px; }
.tile-kicker { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.linkish-plain { border: none; background: none; padding: 0; color: inherit; text-align: left; cursor: pointer; }
.linkish-plain:hover { text-decoration: underline; text-underline-offset: 4px; }
.tile-when { font-size: 14.5px; }
.tile-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tile-blue a { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.tile-blue a:hover { text-decoration: underline; }
.tile-dir { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,0.16); }
.tile-blue .tile-link { margin: 0; display: inline-flex; align-items: center; min-height: 36px; }

/* Phones: filter chip rows swipe sideways instead of wrapping */
@media (max-width: 720px) {
  .chips, .quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .chips::-webkit-scrollbar, .quick::-webkit-scrollbar { display: none; }
  .chips .cat-chip, .quick .cat-chip { flex: none; }
  .filter-row { flex-direction: column; align-items: stretch; }
}

/* Elements with display:flex/grid would otherwise ignore the hidden attribute */
[hidden] { display: none !important; }

/* Harvest calendar: 12 months from the Maryland chart */
.heat td.cell { height: 28px; }
.heat td.c-h { background: var(--green); }
.heat td.c-s { background: #F2B867; }
.sq-h { background: var(--green); } .sq-s { background: #F2B867; }
.crop-link { border: none; background: none; padding: 4px 0; font: inherit; font-weight: 600; font-size: 15.5px; color: var(--ink); text-align: left; cursor: pointer; }
.crop-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.heat tr.is-gone .crop-link { color: var(--muted); }
.ptag-stored { background: #FBE3BF; }
.ptag-off { border-color: var(--line-2); color: var(--muted); }
#crop-tabs { margin-top: -8px; }
.heat th[scope="row"] { padding: 2px 0; }
.crop-st { display: block; font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--muted); }
.st-just { color: #4D6A00; } .st-last { color: var(--tomato); } .st-now { color: var(--green); } .st-stored { color: #A2610B; }
.heat th[scope="row"] .crop-st { font-family: var(--body); font-size: 12px; font-weight: 600; }

/* Harvest calendar: compact crop tiles */
.month-now { font-size: 16px; color: var(--text-2); }
.month-now b { display: inline-block; padding: 1px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); }
.crop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 8px; }
.crop-tile { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 8px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: left; cursor: pointer; transition: border-color 0.15s, transform 0.15s; position: relative; }
.crop-tile:hover { border-color: #BDBDB4; transform: translateY(-2px); }
.crop-tile.is-off { background: var(--off); }
.crop-head { display: flex; align-items: center; gap: 10px; }
.crop-ic-wrap { width: 38px; height: 38px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c1) 16%, #fff); }
.crop-tile.is-off .crop-ic-wrap { filter: grayscale(0.6); opacity: 0.75; }
.crop-ic { width: 30px; height: 30px; display: block; }
.crop-body { display: flex; flex-direction: column; min-width: 0; }
.crop-name { font-family: var(--display); font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.15; }
.crop-tile .crop-st { font-size: 12.5px; font-weight: 600; font-family: var(--body); }
.crop-bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; align-items: end; height: 16px; }
.crop-bar i { display: block; height: 8px; border-radius: 3px; background: #EEEEE8; }
.crop-bar i.m-h { background: var(--green); }
.crop-bar i.m-s { background: #F2B867; }
.crop-bar i.cur { height: 16px; box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--ink); }
.crop-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; font-family: var(--mono); font-size: 10px; color: #8A8C84; text-align: center; }
.crop-months i { font-style: normal; border-radius: 4px; }
.crop-months i.cur { background: var(--lime); color: var(--ink); font-weight: 700; }
@media (max-width: 720px) { .crop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .crop-tile { padding: 10px 10px 8px; } .crop-ic-wrap { width: 36px; height: 36px; } .crop-ic { width: 28px; height: 28px; } .crop-name { font-size: 15px; } }
