@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=Klee+One&family=Noto+Serif+JP:wght@400;500;700&display=swap');

:root {
  color-scheme: light;
  --paper: #f5efe3;
  --paper-deep: #e9ddc9;
  --ink: #2d2925;
  --muted: #6d645b;
  --rule: #cfc2ae;
  --red: #a9362b;
  --red-soft: #ead4c9;
  --tape: #d8c59c;
  --white: #fffaf0;
  --focus: #7d211b;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { min-width: 0; background: var(--paper); }
body { min-width: 0; margin: 0; background: var(--paper); }
button, select, input { font: inherit; }
button, a, select, label, summary { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button, select, summary { min-height: 44px; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
button { border-radius: 0; }
h1, h2, h3, h4, p, figure, dl { margin: 0; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
p { line-height: 1.85; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 10;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--ink);
}
.skip-link:focus { top: 8px; }

/* The masthead is the notebook cover: quiet type, one red price mark. */
.masthead {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 28px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--ink);
}
.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  font-family: "Klee One", "Yu Mincho", serif;
  font-size: 1.18rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
}
.brand > span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.brand-price {
  color: var(--red);
  font-family: "Klee One", "Yu Mincho", serif;
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -.08em;
  transform: rotate(-3deg);
}
.brand-price span {
  margin-left: 3px;
  font: 700 .82rem/1 "BIZ UDPGothic", sans-serif;
  letter-spacing: 0;
}
.site-mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.site-mini-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .84rem;
  font-weight: 700;
}

main { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.find {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  align-items: end;
  gap: 36px;
  padding: 34px 0 24px;
  border-bottom: 1px solid var(--rule);
}
.intro { min-width: 0; }
.intro::before {
  content: "値札を見て、寄り道を決める";
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .78rem;
  letter-spacing: .1em;
}
.intro h1 {
  font: 700 clamp(1.75rem, 3.2vw, 2.55rem)/1.35 "Klee One", "Yu Mincho", serif;
  letter-spacing: .02em;
}
.intro h1 span { display: inline-block; }
.intro p { max-width: 32rem; margin-top: 10px; color: var(--muted); font-size: .92rem; }
.filters { min-width: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-row select {
  flex: 1 1 14rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 9px 11px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
}
.filter-row button {
  flex-shrink: 0;
  padding: 9px 13px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .84rem;
}
.filter-row button:hover, .filter-row button:active { color: var(--red); border-color: var(--red); }
fieldset { min-width: 0; margin: 13px 0 0; padding: 0; border: 0; }
.categories { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.categories label { position: relative; cursor: pointer; }
.categories input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.categories span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 40px;
  padding: 7px 0 5px;
  border-bottom: 2px solid transparent;
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .86rem;
}
.categories small { color: var(--muted); font-size: .78rem; }
.categories input:checked + span { color: var(--red); border-color: var(--red); }
.categories input:checked + span small { color: var(--red); }
.categories input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.results { padding: 28px 0 34px; }
.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 12px;
}
.results-head h2, .document h2, .section-title {
  font-family: "Klee One", "Yu Mincho", serif;
  font-weight: 700;
}
.results-head h2 { font-size: 1.35rem; line-height: 1.5; }
.result-count { color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; }
.sort-note { max-width: 42rem; margin-bottom: 22px; color: var(--muted); font-size: .84rem; line-height: 1.75; }
.illustration-note { display: block; }
.region-page-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .84rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 34px;
  align-items: start;
}
.group-heading { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.group-heading h3 { font-family: "Klee One", "Yu Mincho", serif; font-size: 1.15rem; }
.group-heading h3 small, .group-heading p { color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; font-weight: 400; }
.group-heading p { margin-top: 4px; line-height: 1.7; }
.candidate-group { margin-top: 12px; }

/* Cards behave like clipped notebook entries, not app tiles. */
.product-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  background: transparent;
  border-top: 1px solid var(--rule);
}
.product-card:nth-child(3n + 2) { transform: translateY(12px); }
.product-card:nth-child(3n) { transform: translateY(-4px); }
.product-open {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 14px 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  text-decoration: none;
}
.text-card .product-open { display: block; }
.product-open:hover { background: #eee5d5; }
.product-open:focus-visible { outline-offset: -3px; }
.food-visual {
  position: relative;
  min-width: 0;
  margin: 0 14px 0 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--ink);
  transform: rotate(-1.4deg);
}
.product-card:nth-child(3n) .food-visual { transform: rotate(1.1deg); }
.food-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -8px;
  left: 50%;
  width: 54px;
  height: 16px;
  background: var(--tape);
  opacity: .88;
  transform: translateX(-50%) rotate(-2deg);
}
.product-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-deep); }
.food-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #dec8a7;
  border: 1px solid rgba(45, 41, 37, .35);
}
.food-art::before, .food-art::after { content: ""; position: absolute; display: block; }
.food-art::before {
  left: 18%;
  bottom: 16%;
  width: 58%;
  height: 48%;
  background: rgba(255, 250, 240, .78);
  border: 1px solid rgba(45, 41, 37, .25);
  border-radius: 48% 42% 44% 50%;
  transform: rotate(-7deg);
}
.food-art::after {
  right: 13%;
  top: 14%;
  width: 32%;
  height: 18%;
  background: rgba(169, 54, 43, .75);
  border-radius: 50%;
  transform: rotate(9deg);
}
.art-shoyu { background: #c99b63; }
.art-goma { background: #81705f; }
.art-manju { background: #b1bd77; }
.art-yubeshi { background: #a86d4e; }
.art-monaka { background: #d2ab72; }
.art-croquette { background: #c88b48; }
.art-antama { background: #8c5b4f; }
.art-milk { background: #d3bea7; }
.art-thin { background: #bba486; }
.art-castella { background: #d9ad5c; }
.art-general { background: #c8b99e; }
.image-label {
  display: block;
  max-width: 100%;
  padding: 6px 2px 0;
  color: var(--muted);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .76rem;
  line-height: 1.55;
  text-align: center;
}
.photo-quantity-label, .photo-quantity-label > span { display: block; }
.photo-quantity-label { font-weight: 700; }
.card-copy { min-width: 0; padding: 0 4px 0 0; overflow-wrap: anywhere; }
.card-region, .detail-region {
  display: inline-block;
  max-width: 100%;
  padding: 3px 7px 2px;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px 7px 3px 6px / 5px 2px 6px 3px;
  transform: rotate(-1.4deg);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .76rem;
  line-height: 1.45;
}
.card-copy h3 { margin-top: 9px; font-size: 1.08rem; line-height: 1.55; font-weight: 700; }
.card-shop { margin-top: 4px; color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .83rem; line-height: 1.65; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin: 12px 0 10px; }
.card-price strong {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 5px 9px 4px;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 50%;
  transform: rotate(2deg);
  font: 700 1.55rem/1 "Klee One", "Yu Mincho", serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.card-price strong small { font: 700 .72rem/1 "BIZ UDPGothic", sans-serif; }
.card-price > span { color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .77rem; }
.special-note {
  margin: 3px 0 10px;
  padding-left: 8px;
  color: var(--red);
  border-left: 2px solid var(--red);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .79rem;
  line-height: 1.7;
}
.card-note { margin: 0 0 10px; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.photo-credit-line {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 3px 0 8px;
  color: var(--muted);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .76rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.photo-credit-line a { display: inline-flex; align-items: center; min-height: 36px; padding: 2px 0; }
.photo-use-note, .photo-unit-note { display: block; margin-top: 4px; }
.card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin: auto 0 0;
  padding: 9px 0 0;
  border-top: 1px solid var(--rule);
  pointer-events: none;
}
.card-kind { color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .78rem; }
.card-detail { font-family: "BIZ UDPGothic", sans-serif; font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.external-mark { display: inline-block; width: 12px; height: 12px; margin-left: 4px; vertical-align: baseline; flex-shrink: 0; }
.more-row { display: flex; justify-content: center; margin-top: 32px; }
.more-row button, .dialog-end button {
  padding: 10px 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .84rem;
}
.more-row button:hover, .dialog-end button:hover { color: var(--red); border-color: var(--red); }

.blog-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 26px 0 0;
  padding: 17px 0 17px 16px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-left: 4px solid var(--red);
}
.blog-callout p { color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .78rem; }
.blog-callout h2 { margin: 2px 0; font: 700 1.18rem/1.55 "Klee One", "Yu Mincho", serif; }
.blog-callout span { color: var(--muted); font-size: .84rem; }
.blog-callout > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.blog-callout > a:hover { color: var(--red); border-color: var(--red); }
.guide-note { margin-top: 24px; border-top: 1px solid var(--rule); }
.guide-note summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .84rem;
}
.guide-note summary::after { content: "+"; color: var(--red); font-size: 1.25rem; }
.guide-note[open] > summary::after { content: "−"; }
.guide-note summary::-webkit-details-marker { display: none; }
.note-body { max-width: 48rem; padding: 0 0 24px; color: var(--muted); font-size: .9rem; }
.note-body p + p { margin-top: 12px; }
.references figure { max-width: 30rem; margin: 0 0 20px; }
.references img { display: block; width: 100%; height: auto; }
.references figcaption, .references li { font-size: .8rem; line-height: 1.8; }
.references ul { margin: 16px 0; padding: 0; list-style: none; }
.references li { margin-top: 12px; }
.references li span { display: block; }

footer {
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 20px 28px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 2px solid var(--ink);
}
footer > span { font-family: "BIZ UDPGothic", sans-serif; font-size: .84rem; font-weight: 700; }
footer p { color: var(--muted); font-size: .8rem; }
.footer-links { width: 100%; display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; }

/* Static documents use the same ruled-paper vocabulary. */
.document { max-width: 840px; padding-top: 30px; padding-bottom: 44px; }
.document .back-link, .breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: .82rem;
}
.document h1 {
  margin-bottom: 12px;
  font: 700 clamp(1.7rem, 3.1vw, 2.35rem)/1.45 "Klee One", "Yu Mincho", serif;
}
.document .lead { margin-bottom: 24px; color: var(--muted); font-size: .96rem; }
.document h2 { margin: 32px 0 11px; font-size: 1.28rem; line-height: 1.65; }
.document h3 { margin: 22px 0 8px; font-size: 1.04rem; line-height: 1.75; }
.document p { margin-bottom: 13px; }
.document ul, .document ol { padding-left: 1.35rem; line-height: 1.9; }
.document li { margin-bottom: 8px; overflow-wrap: anywhere; }
.document a { overflow-wrap: anywhere; }
.document .source, .method-link { color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; }
.document .info-box { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--rule); border-left: 3px solid var(--red); }
.comparison { display: grid; gap: 0; }
.comparison article { padding: 18px 0; border-top: 1px solid var(--rule); }
.comparison h2 { margin-top: 0; }
.research-index { display: flex; flex-wrap: wrap; gap: 0 17px; padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.research-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; font-family: "BIZ UDPGothic", sans-serif; font-size: .84rem; }
.ledger-entry { padding: 16px 0; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.ledger-entry h2 { margin-top: 0; }
.ledger-entry summary, .other-regions summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; }
.ledger-status { display: inline-block; margin-bottom: 10px; padding: 2px 7px; color: var(--red); border: 1px solid var(--red); font-family: "BIZ UDPGothic", sans-serif; font-size: .76rem; }
.ledger-status.pending { color: #71501e; border-color: #71501e; }
.ledger-status.missing { color: var(--muted); border-color: var(--rule); }
.download-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0; }
.download-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: "BIZ UDPGothic", sans-serif; font-size: .84rem; }
.draft-text { margin: 12px 0; padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid var(--rule); font: inherit; font-size: .9rem; line-height: 1.9; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 8px; color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; }
.breadcrumbs a { margin-bottom: 0; }
.region-page { max-width: 1120px; }
.region-page .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 10px; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 0 18px; margin: 22px 0; border-top: 1px solid var(--rule); }
.document .region-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 50px; padding: 8px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-family: "BIZ UDPGothic", sans-serif; font-size: .9rem; }
.region-grid a:hover { color: var(--red); }
.region-grid small { color: var(--muted); font-size: .78rem; }
.other-regions { margin-top: 20px; border-top: 1px solid var(--rule); }
.other-regions summary::before { content: "+"; margin-right: 8px; color: var(--red); }
.other-regions[open] summary::before { content: "−"; }
.other-regions p { color: var(--muted); font-size: .86rem; }
.page-end-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.page-end-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: "BIZ UDPGothic", sans-serif; font-size: .84rem; }

/* Product details and the modal are open spreads rather than dialog cards. */
.product-page { max-width: 900px; }
.product-page .detail-intro { padding-top: 4px; }
.detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(12rem, .65fr);
  align-items: start;
  gap: 28px;
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--rule);
}
.detail-heading { min-width: 0; }
.detail-intro h1, .detail-intro h2, .product-page .detail-intro #detail-title {
  margin-top: 10px;
  font: 700 clamp(1.55rem, 3vw, 2.2rem)/1.5 "Klee One", "Yu Mincho", serif;
}
.detail-shop { margin-top: 6px; color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .9rem; }
.detail-intro .card-price strong { font-size: 1.9rem; }
.detail-intro .food-visual { max-width: 280px; justify-self: end; margin-right: 0; }
.detail-intro .product-photo { aspect-ratio: auto; }
.detail-intro .image-label { font-size: .8rem; }
.detail-intro.text-detail { grid-template-columns: minmax(0, 1fr); }
.detail-body { padding: 0; }
.detail-section { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.detail-section:first-child { margin-top: 22px; }
.section-title { margin-bottom: 9px; font-size: 1.25rem; line-height: 1.6; }
.official-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 4px 0 8px; }
.official-links a, .evidence-grid a, .source-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 0; font-family: "BIZ UDPGothic", sans-serif; font-size: .84rem; font-weight: 700; }
.official-links a::after { content: "↗"; margin-left: 4px; color: var(--red); }
.purchase-note, .detail-description { font-size: .98rem; line-height: 1.95; }
.detail-description { margin-top: 0; }
.detail-body .photo-credit-line { margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.purchase-more { margin-top: 18px; border-top: 1px solid var(--rule); }
.purchase-more summary { padding: 10px 0; cursor: pointer; font-family: "BIZ UDPGothic", sans-serif; font-size: .86rem; font-weight: 700; }
.practical { margin: 0; font-size: .94rem; line-height: 1.85; }
.practical > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 16px; margin: 10px 0; }
.practical dt { font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; font-weight: 700; }
.practical dd { margin: 0; overflow-wrap: anywhere; }
.detail-evidence { margin-top: 24px; border-top: 1px solid var(--rule); }
.detail-evidence summary { padding: 15px 0; cursor: pointer; font-family: "BIZ UDPGothic", sans-serif; font-size: .9rem; font-weight: 700; }
.evidence-grid { display: grid; gap: 16px; margin: 4px 0 16px; }
.evidence-grid > div { padding-left: 14px; border-left: 2px solid var(--rule); }
.evidence-grid h4 { margin-bottom: 5px; font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; }
.evidence-grid p { font-size: .9rem; line-height: 1.8; }
.read-date { padding: 14px 0; color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .8rem; }
.story-text h3 { margin-top: 4px; font-family: "Klee One", "Yu Mincho", serif; font-size: 1.25rem; }
.story-text p { margin-top: 14px; font-size: .96rem; line-height: 1.95; }
.dialog-active { overflow: hidden; }
.product-dialog {
  width: min(820px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
}
.product-dialog::backdrop { background: rgba(45, 41, 37, .58); }
.dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.dialog-toolbar > span { color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .8rem; }
.dialog-toolbar button { padding: 7px 11px; color: var(--ink); background: transparent; border: 1px solid var(--ink); font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; }
.dialog-toolbar button span { font-size: 1.1rem; }
.dialog-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 16px 0 22px; }
.dialog-end a { display: inline-flex; align-items: center; min-height: 44px; font-family: "BIZ UDPGothic", sans-serif; font-size: .84rem; }
.empty { padding: 40px 24px; text-align: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.empty-label, .empty p { color: var(--muted); }
.empty h3 { margin: 10px 0; font-family: "Klee One", "Yu Mincho", serif; font-size: 1.25rem; }
.empty button { padding: 10px 16px; color: var(--ink); background: transparent; border: 1px solid var(--ink); }

/* Blog pages are the long-form notebook spread. */
.blog-page { padding-top: 24px; }
.blog-page .back-link { margin-bottom: 12px; }
.blog-kicker { color: var(--red) !important; font-family: "BIZ UDPGothic", sans-serif; font-size: .78rem !important; letter-spacing: .08em; font-weight: 700; }
.blog-index-hero { padding: 10px 0 24px; border-bottom: 2px solid var(--ink); }
.blog-index-hero h1 { margin: 3px 0 8px; font: 700 clamp(1.8rem, 3.2vw, 2.45rem)/1.45 "Klee One", "Yu Mincho", serif; }
.blog-index-hero .lead { max-width: 42rem; margin-bottom: 8px; }
.blog-index-count { color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .8rem; }
.blog-index-list { display: grid; gap: 0; }
.blog-index-card { position: relative; display: block; padding: 22px 0 22px 12px; border-top: 1px solid var(--rule); }
.blog-index-card::before { content: ""; position: absolute; left: 0; top: 26px; width: 3px; height: 34px; background: var(--red); transform: rotate(-1deg); }
.blog-card-number { color: var(--red); font: 400 1.65rem/1.4 "Klee One", Georgia, serif; }
.blog-index-card h2 { margin: 0 0 6px; font: 700 1.22rem/1.7 "Klee One", "Yu Mincho", serif; }
.blog-index-card h2 a { text-decoration: none; }
.blog-index-card h2 a:hover { color: var(--red); }
.blog-index-card p { margin: 0 0 6px; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.blog-read-link { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; font-family: "BIZ UDPGothic", sans-serif; font-size: .82rem; font-weight: 700; }
.blog-index-photo { max-width: 20rem; margin-top: 14px; }
.blog-index-photo .product-photo { aspect-ratio: 4 / 3; object-fit: cover; }
.blog-index-about { margin: 18px 0 12px; padding: 17px 18px; border-left: 4px solid var(--red); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.blog-index-about h2 { margin: 0 0 7px; font: 700 1.16rem/1.6 "Klee One", "Yu Mincho", serif; }
.blog-index-about p { margin: 0 0 8px; color: var(--muted); font-size: .88rem; line-height: 1.85; }
.blog-index-about a { display: inline-flex; align-items: center; min-height: 44px; font-family: "BIZ UDPGothic", sans-serif; font-size: .84rem; }
.blog-article-head { padding: 8px 0 20px; border-bottom: 2px solid var(--ink); }
.blog-article-head h1 { margin: 4px 0 7px; font: 700 clamp(1.65rem, 3.2vw, 2.2rem)/1.55 "Klee One", "Yu Mincho", serif; }
.blog-article-head .lead { color: var(--muted); font-size: 1rem; line-height: 1.9; }
.blog-copy { font-size: 1rem; line-height: 1.95; }
.blog-copy > p { margin: 18px 0; }
.blog-copy h2 { margin: 34px 0 8px; padding-left: 12px; border-left: 3px solid var(--red); font: 700 1.28rem/1.7 "Klee One", "Yu Mincho", serif; }
.blog-copy h3 { margin: 22px 0 7px; font: 700 1.08rem/1.7 "Klee One", "Yu Mincho", serif; }
.blog-checklist { margin: 22px 0; padding: 14px 18px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.blog-checklist h2 { margin: 0 0 8px; border: 0; padding: 0; }
.blog-checklist ol { margin: 0; padding-left: 1.4rem; font-size: .92rem; line-height: 1.9; }
.blog-picks { margin-top: 38px; padding-top: 6px; border-top: 2px solid var(--ink); }
.blog-picks > h2 { margin: 22px 0 14px; padding: 0; border: 0; }
.blog-pick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.blog-pick { min-width: 0; padding: 15px 0; border-top: 1px solid var(--rule); }
.blog-pick-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .78rem; }
.blog-pick-meta strong { color: var(--red); font-size: .78rem; }
.blog-pick h3 { margin: 8px 0 0; font-size: 1rem; }
.blog-pick h3 a { padding: 6px 0; }
.blog-pick-shop { margin: 1px 0 5px !important; color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .8rem !important; }
.blog-pick-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 8px; border-top: 1px solid var(--rule); }
.blog-pick-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: "BIZ UDPGothic", sans-serif; font-size: .8rem; font-weight: 700; }
.blog-photo { margin: 18px 0 10px; }
.blog-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); }
.blog-photo figcaption { margin-top: 8px; color: var(--muted); font-family: "BIZ UDPGothic", sans-serif; font-size: .78rem; line-height: 1.8; }
.blog-end-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 30px 0 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.blog-end-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: "BIZ UDPGothic", sans-serif; font-size: .84rem; }
.blog-end-links .primary-link { color: var(--red); font-weight: 700; }

@media (max-width: 950px) {
  .find { grid-template-columns: 1fr; gap: 18px; }
  .filters { width: 100%; }
  .filter-row { max-width: 38rem; }
  .region-page .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .masthead { align-items: flex-start; gap: 10px 16px; padding: 17px 18px 14px; }
  .brand { flex: 1 1 14rem; font-size: 1.04rem; gap: 6px; }
  .brand-price { font-size: 2rem; }
  .brand-price span { font-size: .74rem; }
  .site-mini-nav { flex-basis: 100%; gap: 2px 14px; }
  .site-mini-nav a { font-size: .78rem; }
  main { padding: 0 18px; }
  .find { padding: 24px 0 18px; }
  .intro h1 { font-size: 1.78rem; }
  .intro p { font-size: .84rem; }
  .filter-row select { flex-basis: 12rem; }
  .categories { gap: 4px 14px; }
  .categories span { min-height: 38px; font-size: .82rem; }
  .results { padding: 22px 0 28px; }
  .results-head h2 { font-size: 1.15rem; }
  .cards, .region-page .cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-card:nth-child(3n + 2), .product-card:nth-child(3n) { transform: none; }
  .product-open { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 13px 0 11px; }
  .text-card .product-open { grid-template-columns: minmax(0, 1fr); }
  .food-visual { margin-right: 10px; padding: 6px; }
  .food-visual::before { width: 44px; height: 13px; top: -7px; }
  .card-copy h3 { font-size: 1rem; }
  .card-price strong { font-size: 1.42rem; padding: 5px 8px 4px; }
  .card-price > span { font-size: .74rem; }
  .compact-credit { padding: 3px 0 7px; }
  .blog-callout { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 15px 0 15px 12px; }
  .blog-callout > a { justify-self: start; }
  footer { margin-top: 26px; padding: 18px 18px 24px; }
  .document { padding-top: 22px; padding-bottom: 34px; }
  .document h1 { font-size: 1.72rem; }
  .document h2 { font-size: 1.14rem; }
  .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .detail-intro, .product-page .detail-intro { grid-template-columns: minmax(0, 1.25fr) minmax(9rem, .75fr); gap: 16px; padding: 8px 0 20px; }
  .detail-intro h1, .detail-intro h2, .product-page .detail-intro #detail-title { font-size: 1.4rem; }
  .detail-intro .food-visual { max-width: 170px; }
  .detail-intro.text-detail, .product-page .detail-intro.text-detail { grid-template-columns: minmax(0, 1fr); }
  .practical > div { grid-template-columns: 5rem minmax(0, 1fr); gap: 12px; }
  .product-dialog { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-width: 0; }
  .dialog-toolbar { padding: 10px 18px; }
  .blog-page { padding-top: 18px; }
  .blog-index-hero h1, .blog-article-head h1 { font-size: 1.7rem; }
  .blog-index-card { padding: 18px 0 18px 10px; }
  .blog-card-number { font-size: 1.32rem; }
  .blog-index-card h2 { font-size: 1.08rem; }
  .blog-index-card p, .blog-copy, .blog-article-head .lead { font-size: .94rem; }
  .blog-pick-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .masthead { flex-wrap: wrap; }
  .filter-row select { flex-basis: 100%; }
  .product-open { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .detail-intro, .product-page .detail-intro { grid-template-columns: 1fr; }
  .detail-intro .food-visual { justify-self: start; }
  .practical > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: no-preference) {
  .product-open, button, a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
}

@media print {
  .document .back-link, .research-index, .download-links { display: none; }
  body { background: #fff; }
  .masthead, .document, footer { max-width: none; }
  .ledger-entry, .comparison article { break-inside: avoid; }
  .document { padding: 12px; }
  a { color: inherit; }
}
