/* Shortchanged. Lime + ink on a cool off-white, receipt-style figures in a monospace. */

@font-face { font-family: 'Bricolage Grotesque'; src: url('/static/fonts/bricolage-grotesque-latin-opsz-normal.woff2') format('woff2-variations'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/static/fonts/geist-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/static/fonts/geist-mono-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #F4F5F0;
  --surface: #FFFFFF;
  --sunk: #EEF0EA;
  --line: #E2E4DD;
  --line-2: #D3D6CD;
  --ink: #111412;
  --ink-2: #1E221F;
  --text-2: #3E443F;
  --muted: #5B615C;
  --on-dark: #C9CEC6;
  --lime: #CBF24A;
  --bad: #C93712;
  --bad-on-dark: #FF8A66;
  --amber: #F0B44C;
  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --body: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: #4A504B; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mono, .mono input { font-family: var(--mono); }
.fine { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.sub { color: var(--muted); }
.pre { white-space: pre-wrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 760px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.section > h2, .section-head h2, .section-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }
.section > h2 { margin-bottom: 36px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 420px; }
.section-head a { font-weight: 600; }
.section-head.tight { margin-bottom: 14px; align-items: center; }
.section-head.tight h2 { font-family: var(--body); font-size: 22px; font-weight: 700; letter-spacing: 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: #fff; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn .i { width: 18px; height: 18px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2F2B; color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); font-weight: 700; }
.btn-lime:hover { background: #BBE637; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--sunk); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); font-weight: 700; }
.btn-white:hover { background: var(--sunk); color: var(--ink); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.text-link.danger { color: var(--bad); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- chips and tags ---- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--sunk); color: var(--text-2); white-space: nowrap; }
.chip-ink { background: var(--ink); color: var(--lime); }
.chip-line { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag-live, .tag-soon { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: var(--lime); }
.tag-soon { background: var(--sunk); color: #4A504B; }
.tag-live.sm { font-size: 11px; padding: 3px 7px; vertical-align: 2px; }
.dark .tag-live { background: var(--lime); color: var(--ink); }
.pill { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--sunk); }
.result { font-family: var(--mono); font-size: 16px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.result.bad { color: var(--bad); }
.result.ok { color: var(--text-2); }
.result .i { width: 18px; height: 18px; stroke-width: 2.4; }

/* ---- header / footer ---- */
.site-head { border-bottom: 1px solid var(--line); background: var(--ground); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: var(--lime); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 21px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1 1 auto; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; }
.main-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; font-weight: 600; }
.site-foot { border-top: 1px solid var(--line); margin-top: 24px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-top: 36px; padding-bottom: 48px; }
.foot-about { max-width: 520px; display: flex; flex-direction: column; gap: 8px; }
.foot-about p { font-size: 14px; color: var(--muted); }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 20px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-content: flex-start; font-size: 15px; }
@media (max-width: 640px) {
  .head-row { gap: 6px 12px; padding-top: 12px; padding-bottom: 8px; }
  .brand { font-size: 19px; gap: 8px; }
  .mark { width: 30px; height: 30px; font-size: 18px; }
  .main-nav { order: 3; flex-basis: 100%; gap: 0 18px; }
  .main-nav a { font-size: 14px; }
  .site-head .btn { margin-left: auto; min-height: 40px; padding: 0 12px; font-size: 14px; }
  .section { padding-top: 32px; padding-bottom: 48px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
}

/* ---- home ---- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--bad); }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7vw, 100px); line-height: 0.94; letter-spacing: -0.04em; }
.hero h1 mark { display: inline; color: inherit; background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); }
.lede { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 560px; }
.hero-art { position: relative; min-height: 500px; }
.mono-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); display: flex; justify-content: space-between; }
.art-tag { position: absolute; right: 0; top: 0; width: min(330px, 78%); transform: rotate(4deg); background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(17,20,18,.12); padding: 20px 22px 24px; border-top: 10px solid var(--amber); }
.art-tag-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; }
.art-price { font-family: var(--display); font-weight: 800; font-size: 54px; letter-spacing: -0.03em; }
.art-unit { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; }
.art-unit s { font-size: 18px; font-weight: 600; color: var(--ink); text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
.art-math { margin-top: 14px; display: inline-block; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: var(--lime); font-family: var(--mono); font-size: 14px; font-weight: 600; }
.art-receipt { position: absolute; left: 0; top: 120px; width: min(390px, 92%); transform: rotate(-2.5deg); background: #fff; border-radius: 14px; box-shadow: 0 24px 50px rgba(17,20,18,.16); padding: 24px 26px 28px; font-family: var(--mono); }
.art-item { margin: 12px 0 14px; font-family: var(--body); font-size: 20px; font-weight: 700; }
.art-receipt dl, .receipt dl { margin: 0; display: flex; flex-direction: column; gap: 10px; border-top: 1.5px dashed var(--line-2); padding-top: 16px; font-size: 15px; }
.art-receipt dl div, .receipt dl div { display: flex; justify-content: space-between; gap: 16px; }
.art-receipt dt, .receipt dt { color: var(--muted); text-transform: uppercase; }
.art-receipt dd, .receipt dd { margin: 0; text-align: right; }
.art-receipt .hl, .receipt .hl { background: var(--lime); margin: 0 -10px; padding: 6px 10px; border-radius: 6px; font-weight: 600; }
.art-receipt .hl dt, .receipt .hl dt { color: var(--ink); }
.art-receipt .bad, .receipt .bad, .receipt .bad dt { color: var(--bad); font-weight: 600; }
@media (max-width: 420px) { .hero-art { min-height: 470px; } .art-receipt { top: 140px; } }

.kind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.kind-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; background: var(--ground); text-decoration: none; min-height: 190px; }
.kind-card.featured { box-shadow: inset 0 0 0 2px var(--ink); }
.kind-card.featured .kind-icon { background: var(--lime); }
.kind-card.soon { background: transparent; border: 1.5px dashed var(--line-2); }
.kind-top { display: flex; justify-content: space-between; align-items: center; }
.kind-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.kind-icon .i { width: 24px; height: 24px; stroke-width: 1.8; }
.kind-icon.lime { background: var(--lime); }
.soon .kind-icon { background: var(--sunk); color: var(--muted); }
.kind-name { font-size: 19px; font-weight: 700; }
.kind-desc { font-size: 15px; color: #4A504B; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.step-no { font-family: var(--mono); font-weight: 600; color: var(--muted); }
.step h3 { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.step p { color: var(--text-2); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.split-copy h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.02; }
.split-copy p { font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.split-art { display: flex; flex-direction: column; gap: 14px; }
.big-tag { background: #fff; color: var(--ink); border-radius: 16px; border-top: 12px solid var(--amber); padding: 22px 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.big-price { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 76px); letter-spacing: -0.04em; line-height: 1; }
.big-unit { display: flex; flex-direction: column; text-align: right; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.big-unit b { font-size: 24px; color: var(--ink); }
.tiles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-family: var(--mono); }
.tiles3 div { padding: 16px; border-radius: 14px; background: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.tiles3 span { font-size: 12px; letter-spacing: 0.06em; color: #A9AFA6; }
.tiles3 b { font-size: clamp(16px, 2vw, 22px); }
.tiles3 .lime { background: var(--lime); color: var(--ink); }
.tiles3 .lime span { color: var(--ink); }
.warm { color: var(--bad-on-dark); }

.row-list { display: flex; flex-direction: column; gap: 12px; }
.row-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 18px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.row-card:hover { border-color: var(--ink); color: var(--ink); }
.row-main { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; }
.row-title { font-size: 17px; font-weight: 700; }
.row-sub { font-size: 14px; color: var(--muted); }
.empty { padding: 32px; border-radius: 20px; border: 1.5px dashed var(--line-2); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.empty.small { padding: 20px; }
#recent .fine { margin-top: 16px; }

.trust { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.trust-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.trust-copy h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }
.trust-copy p { font-size: 17px; color: var(--text-2); }
.trust-grid { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.trust-card { padding: 24px; border-radius: 18px; background: var(--ground); display: flex; flex-direction: column; gap: 10px; }
.trust-card .i { width: 28px; height: 28px; stroke-width: 1.8; }
.trust-card h3 { font-size: 18px; }
.trust-card p { font-size: 15px; color: #4A504B; }

.cta { border-radius: 28px; background: var(--lime); padding: clamp(32px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.5vw, 72px); letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 12px; }
.cta p { font-size: 18px; }

/* ---- cards, notices ---- */
.card { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.card h2 { font-size: 17px; font-weight: 700; }
.card p { color: #4A504B; }
.card.ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.ink h2 { font-family: var(--display); font-size: 22px; font-weight: 800; }
.card.ink p { color: var(--on-dark); }
.notice { padding: 14px 18px; border-radius: 14px; background: var(--lime); font-weight: 500; margin-bottom: 20px; }
.notice.bad { background: #FFE9E1; color: #7A2008; }
.notice.warn { background: #FFF4DE; }
.msg { display: flex; flex-direction: column; gap: 16px; }
.msg h1 { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; }

/* ---- map ---- */
.main-wide { min-height: calc(100vh - 140px); }
.map-layout { display: flex; flex-wrap: wrap; min-height: calc(100vh - 72px); }
.map-side { flex: 1 1 340px; max-width: 100%; padding: 20px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border-right: 1px solid var(--line); }
.map-wrap { flex: 999 1 560px; min-width: 0; min-height: 560px; position: relative; background: #E7EAE1; }
.map { position: absolute; inset: 0; z-index: 0; }
.map-noscript { padding: 24px; }
.side-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.side-head h1 { font-size: 18px; font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.pill-link[aria-current] { background: var(--ink); color: #fff; }
.store-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.store-list a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); text-decoration: none; }
.store-list a:hover, .store-list a.on { border-color: var(--ink); background: var(--ground); }
.dotn { width: 40px; height: 40px; border-radius: 999px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 14px; }
.lvl-high { background: var(--bad); color: #fff; }
.lvl-mid { background: var(--amber); color: var(--ink); }
.lvl-low { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.legend { position: absolute; left: 16px; bottom: 16px; z-index: 500; display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(17,20,18,.12); font-size: 13px; font-weight: 500; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 999px; display: inline-block; }
.pin { border-radius: 999px; border: 3px solid #fff; display: flex !important; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 14px; box-shadow: 0 6px 16px rgba(17,20,18,.25); }
.pin.lvl-low { border-color: var(--ink); box-shadow: 0 6px 16px rgba(17,20,18,.2); }
.leaflet-popup-content { font-family: var(--body); font-size: 14px; margin: 14px 16px; }
.leaflet-popup-content b { font-size: 16px; display: block; }
.leaflet-container a.btn-ink { color: #fff; margin-top: 10px; }
.leaflet-container { font-family: var(--body); }

.search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); }
.search .i { color: var(--muted); }
.search input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }

/* ---- store ---- */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.back .i { width: 16px; height: 16px; }
.store-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.store-head > div { display: flex; flex-direction: column; gap: 8px; }
.store-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 0.98; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat span { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat b { font-family: var(--mono); font-size: clamp(24px, 6vw, 32px); font-weight: 600; white-space: nowrap; }
.stat b small { font-size: 18px; color: #A9AFA6; }
.stat b em { font-style: normal; color: var(--bad-on-dark); }
.stat.ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat.ink span { color: var(--on-dark); }
.stat.lime { background: var(--lime); border-color: var(--lime); }
.stat.lime span { color: var(--ink); }
.store-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.store-reports { flex: 999 1 560px; min-width: 0; }
.store-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: #E7EAE1; }
.seg a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; }
.seg a[aria-current] { background: #fff; box-shadow: 0 1px 3px rgba(17,20,18,.18); }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sunk); font-size: 15px; }
.kv b { font-family: var(--mono); font-weight: 600; color: var(--text-2); white-space: nowrap; }
.kv b.bad { color: var(--bad); }

/* ---- report page ---- */
.report-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.report-photos { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.report-photos figure { margin: 0; }
.report-photos img { border-radius: 18px; width: 100%; background: var(--sunk); }
.report-photos figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.photo-missing { aspect-ratio: 4 / 3; border-radius: 18px; background: var(--sunk); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.report-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.report-info h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; }
.store-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.store-link .i { width: 18px; height: 18px; }
.headline { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.headline.bad { color: var(--bad); }
.receipt { background: #fff; border-radius: 16px; padding: 4px 20px 16px; font-family: var(--mono); box-shadow: 0 10px 28px rgba(17,20,18,.08); }
.receipt dl { border-top: 0; }
.receipt-badges { border-top: 1.5px dashed var(--line-2); margin-top: 16px; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--body); }
.two-btn { display: flex; flex-wrap: wrap; gap: 10px; }
.flag summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; list-style: none; }
.flag summary::-webkit-details-marker { display: none; }
.flag form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; align-items: flex-start; }
.radio { display: flex; align-items: center; gap: 8px; min-height: 36px; }

.complaint { display: flex; flex-direction: column; gap: 18px; }
.complaint h1 { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; }
.complaint-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.complaint-photos img { border-radius: 12px; }
.print-only { display: none; }
@media print {
  .site-head, .site-foot, .no-print { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; }
  .card { border: 1px solid #999; }
}

/* ---- report flow ---- */
.flow { max-width: 520px; margin: 0 auto; padding: 16px 16px 48px; display: flex; flex-direction: column; gap: 18px; }
.flow h1 { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; }
.flow-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.flow-head .mono { width: 44px; text-align: right; font-size: 13px; color: var(--muted); font-weight: 400; }
.round { width: 44px; height: 44px; border-radius: 999px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.progress { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: -8px; }
.progress i { display: block; height: 100%; background: var(--ink); }
.here { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.here > .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--lime); }
.here > span { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.here .fine { font-size: 13px; }
.kind-pick, .store-pick { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kind-pick a, .kind-pick .soon, .store-pick a { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.kind-pick a:hover, .store-pick a:hover { border-color: var(--ink); color: var(--ink); }
.kind-pick .soon { background: transparent; border: 1.5px dashed var(--line-2); }
.kind-pick .soon .row-title { color: #4A504B; }
.store-pick a > .i:first-child { color: var(--muted); }
.store-pick .mi { font-family: var(--mono); font-size: 14px; color: var(--muted); white-space: nowrap; }
.locate { display: flex; flex-direction: column; gap: 10px; }
.add-store { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

.form { display: flex; flex-direction: column; gap: 16px; }
.card.form { padding: 18px; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span:first-child, .field > label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field small { font-weight: 400; color: var(--muted); }
input[type=text], input:not([type]), input[type=search], input[type=password], textarea, select { font: inherit; font-size: 16px; color: var(--ink); }
.field input:not([type=radio]):not([type=checkbox]), .field textarea, .field select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input.mono, .prefix input { font-family: var(--mono); font-size: 18px; }
.field select { background: var(--ground); padding: 0 10px; }
.prefix { display: flex; align-items: center; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; padding-left: 14px; flex: 1 1 auto; min-width: 0; }
.prefix i { font-style: normal; font-family: var(--mono); font-size: 18px; color: var(--muted); }
.field .prefix input:not([type=radio]):not([type=checkbox]) { border: 0; min-height: 46px; padding-left: 4px; background: transparent; }
.field .prefix input:not([type=radio]):not([type=checkbox]):focus { outline: none; }
.prefix:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.with-unit { display: flex; gap: 8px; align-items: center; }
.with-unit > input { flex: 1 1 auto; min-width: 0; }
.with-unit select { width: 110px !important; flex: none; }
.per { color: var(--muted); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 12px; background: var(--ground); }
.seg-in.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg-in label { position: relative; }
.seg-in input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-in span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 9px; font-weight: 600; font-size: 15px; }
.seg-in input:checked + span { background: #fff; box-shadow: 0 1px 3px rgba(17,20,18,.18); }
.seg-in input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); }
.check.soft { padding: 12px; border-radius: 12px; background: var(--ground); }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.photo-in { position: relative; display: block; border-radius: 16px; border: 1.5px dashed var(--line-2); background: #fff; min-height: 140px; overflow: hidden; cursor: pointer; }
.photo-in.req { border-color: #A9AFA6; }
.photo-in input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-in:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.photo-face { display: flex; flex-direction: column; gap: 8px; padding: 14px; pointer-events: none; }
.photo-face .kind-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--sunk); }
.photo-face .kind-icon.lime { background: var(--lime); }
.photo-face b { font-size: 15px; line-height: 1.25; }
.photo-face small { font-size: 12px; color: var(--muted); }
.photo-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.live:empty { display: none; }
.live-card { border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.live-card.bad { background: var(--ink); color: #fff; }
.live-card.bad .live-note { color: var(--on-dark); }
.live-card.warn { background: #FFF4DE; box-shadow: inset 0 0 0 1.5px var(--amber); }
.live-card.ok, .live-card.info { background: #fff; border: 1px solid var(--line); }
.live-chip { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 999px; background: var(--bad-on-dark); color: var(--ink); }
.live-title { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.live-card.ok .live-title, .live-card.info .live-title { font-family: var(--body); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.live-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-family: var(--mono); }
.live-tiles div { padding: 14px; border-radius: 12px; background: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.live-tiles span { font-size: 11px; letter-spacing: 0.06em; color: #A9AFA6; }
.live-tiles b { font-size: 20px; font-weight: 600; }
.live-tiles .lime { background: var(--lime); color: var(--ink); }
.live-tiles .lime span { color: var(--ink); }
.live-note { font-size: 14px; color: #4A504B; }
.live-math { font-family: var(--mono); font-size: 14px; }

/* ---- prose / admin ---- */
.prose h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.03em; margin-bottom: 16px; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose li { margin-bottom: 10px; }
.prose ol, .prose ul { padding-left: 22px; }
.admin-list { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 32px; }
.admin-item form { flex-direction: row; }

/* ---- scale check ---- */
.cal { border: 1px solid var(--line); margin: 0; }
.cal-head { display: flex; flex-direction: column; gap: 2px; }
.cal-head h2 { font-size: 17px; }
.cal-fields { display: flex; flex-direction: column; gap: 14px; }
[hidden] { display: none !important; }
