:root {
  --paper: #f8f6ef;
  --white: #fffef9;
  --ink: #183e30;
  --muted: #60665c;
  --line: #dddcd0;
  --soft: #efeee4;
  --clay: #a54d32;
  --sage: #e3e8d8;
  --warning: #f6ecdc;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}
button {
  color: var(--ink);
}
h1,
h2,
h3,
.brand,
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.05;
  margin: 14px 0 20px;
}
h2 {
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 20px;
}
h3 {
  font-size: 24px;
  line-height: 1.18;
  margin: 0 0 10px;
}
p {
  line-height: 1.65;
  margin: 0 0 16px;
}
small,
.small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.site-header {
  max-width: 1440px;
  padding: 27px 48px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 32px;
  display: grid;
  grid-template-columns: 38px auto;
  column-gap: 12px;
  line-height: 1;
}
.brand img {
  grid-row: span 2;
  border-radius: 11px;
}
.brand span {
  font: 8px Arial;
  letter-spacing: 0.16em;
  margin-top: 6px;
}
.site-header nav {
  display: flex;
  gap: 8px;
  margin: auto;
}
.nav-link {
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 7px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-link.active {
  background: var(--ink);
  color: var(--paper);
}
.nav-link svg {
  width: 17px;
  height: 17px;
}
.research-link {
  font-size: 12px;
  white-space: nowrap;
}
.research-link span {
  color: var(--clay);
}
main {
  max-width: 1344px;
  margin: auto;
  padding: 44px 48px 80px;
  min-height: 70vh;
}
main:focus {
  outline: 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 10px;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 14px;
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.intro p {
  max-width: 470px;
  color: var(--muted);
  font-size: 15px;
}
.intro h1 {
  margin-bottom: 0;
}
.text-link {
  font-size: 13px;
  color: var(--clay);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 308px;
  background: #efeee2;
  border: 1px solid #e5e4d5;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 34px;
}
.hero-copy {
  padding: 36px 44px;
  z-index: 1;
}
.hero h2 {
  font-size: 42px;
  margin-bottom: 16px;
}
.hero p {
  max-width: 390px;
  font-size: 14px;
}
.hero-art {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hero-art-wrap {
  position: relative;
  overflow: hidden;
}
.hero-art-wrap:after {
  content: "EDITORIAL ILLUSTRATION";
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 20px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--paper);
  font-size: 13px;
  min-height: 44px;
  text-decoration: none;
}
.button:hover {
  background: #2c5142;
  text-decoration: none;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #b9beaf;
}
.button.small {
  padding: 9px 13px;
  font-size: 12px;
  min-height: 38px;
}
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.search {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search svg {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 15px;
  top: 15px;
  color: var(--muted);
}
input,
select,
textarea {
  border: 1px solid #c9cdbf;
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  padding: 13px 14px;
  max-width: 100%;
}
.search input {
  padding-left: 44px;
  width: 100%;
  height: 48px;
}
select {
  height: 48px;
  font-size: 13px;
  max-width: 230px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid #c8cebf;
  border-radius: 22px;
  background: transparent;
  padding: 9px 17px;
  font-size: 12px;
  min-height: 38px;
}
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.catalogue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 32px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 27px 0 17px;
}
.section-heading h2 {
  font-size: 23px;
  margin: 0;
}
.section-heading span {
  font-size: 12px;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  padding: 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 146px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.card:hover {
  background: #f1f2e8;
  border-color: #9da98f;
}
.card-art {
  width: 97px;
  height: 105px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.card-body {
  min-width: 0;
  padding-right: 15px;
}
.card h3 {
  font-size: 21px;
  line-height: 1.2;
  margin: 6px 0 9px;
}
.card h3 a:after {
  content: "";
  position: absolute;
  inset: 0;
}
.card .meta {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.badge {
  font-size: 9px;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.save {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  border-radius: 4px;
  padding: 8px;
  min-width: 36px;
  min-height: 36px;
  align-self: flex-start;
  margin-left: auto;
  flex-shrink: 0;
}
.save svg {
  width: 18px;
  height: 18px;
}
.save[aria-pressed="true"] svg {
  fill: var(--ink);
}
.card .save {
  position: absolute;
  right: 5px;
  top: 6px;
}
.side-note {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
  margin-top: 26px;
}
.side-note h3 {
  font-size: 25px;
}
.side-note p {
  font-size: 12px;
  color: var(--muted);
}
.stat {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.stat strong {
  font-family: Georgia;
  font-size: 23px;
  font-weight: 400;
}
.side-callout {
  background: var(--sage);
  border-radius: 8px;
  padding: 22px;
  margin-top: 24px;
}
.side-callout h3 {
  font-size: 24px;
}
.side-callout p {
  font-size: 12px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 30px;
}
.detail-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 42px;
  align-items: center;
  margin-bottom: 28px;
}
.detail-head h1 {
  font-size: clamp(35px, 4vw, 56px);
}
.detail-head p {
  font-size: 15px;
  color: var(--muted);
}
.detail-art {
  height: 310px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.detail-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.detail-actions .save {
  margin: 0;
  border: 1px solid #b9beaf;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.notice {
  border: 1px solid #d8c5a6;
  border-left: 3px solid var(--clay);
  padding: 18px 22px;
  background: var(--warning);
  border-radius: 5px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.6;
}
.notice strong {
  display: block;
  margin-bottom: 4px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
}
.article-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.article-section h2 {
  font-size: 30px;
}
.article-section p,
.article-section li {
  font-size: 14px;
  line-height: 1.75;
}
.ingredient-row {
  display: grid;
  grid-template-columns: 1fr minmax(90px, 30%);
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.ingredient-row small {
  display: block;
  margin-top: 6px;
}
.ingredient-row .quantity {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  position: relative;
  padding: 0 0 25px 43px;
}
.steps li:before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--clay);
  font-family: Georgia;
  font-size: 24px;
}
.hazard {
  padding: 13px 0;
  border-bottom: 1px solid #ded3bd;
}
.hazard:last-child {
  border: 0;
}
.hazard p {
  font-size: 13px;
  margin: 5px 0;
}
.hazard a {
  font-size: 12px;
  text-decoration: underline;
}
.source {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.source a {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.source p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0;
}
.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.difficulty-rows div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.community {
  margin-top: 20px;
  padding: 25px;
  background: var(--soft);
  border-radius: 8px;
}
.community p {
  font-size: 13px;
}
.empty {
  border: 1px dashed #bac2af;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  margin: 20px 0;
}
.empty h2 {
  font-size: 30px;
}
.empty p {
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto 20px;
}
.empty svg {
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
}
.article-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.article-card {
  display: block;
  min-height: 270px;
  padding: 25px;
}
.article-card .card-art {
  width: 100%;
  height: 130px;
}
.article-card p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 0;
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, 1fr);
  gap: 30px;
}
.map-frame {
  background: #e9eeea;
  border: 1px solid #ced7cc;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  align-self: start;
}
.map-frame svg {
  width: 100%;
  height: auto;
  min-height: 300px;
  display: block;
}
.map-frame path {
  fill: #d5ddc8;
  stroke: #f8f6ef;
  stroke-width: 0.5;
  vector-effect: non-scaling-stroke;
}
.map-frame path.has-records {
  fill: #809575;
  cursor: pointer;
}
.map-frame path.has-records:hover,
.map-frame path.selected {
  fill: var(--ink);
  stroke: #b67755;
  stroke-width: 2;
}
.map-tools {
  display: flex;
  justify-content: space-between;
  padding: 15px 18px;
  background: #f5f5ed;
  font-size: 11px;
  align-items: center;
}
.map-legend {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #fffef9df;
  padding: 10px 13px;
  border-radius: 5px;
  font-size: 10px;
  pointer-events: none;
}
.map-caption {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 3px;
}
.place-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.place {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  padding: 15px;
  background: var(--white);
  border-radius: 6px;
  font-size: 13px;
  text-align: left;
  gap: 15px;
}
.place span {
  color: var(--muted);
  font-size: 11px;
}
.place.active {
  background: var(--sage);
  border-color: #839577;
}
.map-results .cards {
  grid-template-columns: 1fr;
}
.map-results h2 {
  font-size: 34px;
  margin: 12px 0;
}
.map-results p {
  font-size: 13px;
  color: var(--muted);
}
.geography-card {
  padding: 17px;
  background: var(--soft);
  border-radius: 5px;
  margin: 15px 0;
}
.geography-card h3 {
  font-size: 21px;
}
.geography-card p {
  font-size: 12px;
  margin-bottom: 8px;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  gap: 50px;
}
.field {
  display: block;
  margin: 22px 0;
  font-size: 13px;
}
.field input,
.field textarea,
.field select {
  display: block;
  width: 100%;
  margin-top: 10px;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.draft-result {
  margin: 20px 0;
  padding: 20px;
  background: var(--sage);
  border-radius: 6px;
  font-size: 13px;
}
.prose {
  max-width: 780px;
}
.prose h2 {
  margin-top: 35px;
}
.prose p {
  font-size: 15px;
}
footer {
  max-width: 1344px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 35px 48px 40px;
  display: flex;
  gap: 32px;
  align-items: center;
  color: var(--muted);
}
footer .wordmark {
  font-size: 30px;
  color: var(--ink);
}
footer p,
footer a,
footer span {
  font-size: 11px;
  line-height: 1.7;
}
footer p {
  margin: 0;
}
footer > span {
  margin-left: auto;
  font-size: 9px;
  max-width: 140px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 14px;
}
.skip:focus {
  top: 8px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  padding: 13px 20px;
  box-shadow: 0 4px 25px #183e3020;
  font-size: 13px;
  z-index: 10;
  max-width: 90vw;
  display: none;
}
#toast.show {
  display: block;
}
.loading {
  padding: 80px;
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1500px) {
  main {
    padding-top: 55px;
  }
  .hero {
    min-height: 330px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding: 22px 28px;
    gap: 20px;
  }
  .research-link {
    display: none;
  }
  main {
    padding: 32px 28px 70px;
  }
  .catalogue-layout {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 24px;
  }
  .card {
    gap: 10px;
    padding: 15px;
  }
  .card-art {
    width: 70px;
    height: 92px;
  }
  .card h3 {
    font-size: 19px;
  }
  .detail-grid {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .article-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy {
    padding: 30px;
  }
  .hero h2 {
    font-size: 36px;
  }
  .intro p {
    max-width: 330px;
  }
  .map-layout {
    grid-template-columns: 1.2fr 1fr;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 20px 20px 15px;
    display: block;
  }
  .brand {
    display: grid;
    width: max-content;
    font-size: 31px;
  }
  .brand span {
    font-size: 7px;
  }
  .site-header nav {
    margin-top: 22px;
    justify-content: space-between;
    gap: 3px;
  }
  .nav-link {
    padding: 10px 9px;
    font-size: 12px;
    gap: 5px;
  }
  .nav-link svg {
    width: 15px;
    height: 15px;
  }
  main {
    padding: 28px 20px 45px;
  }
  .intro {
    display: block;
    margin-bottom: 25px;
  }
  .intro h1 {
    font-size: 40px;
    max-width: 330px;
    margin-bottom: 15px;
  }
  .intro p {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 0;
  }
  .eyebrow {
    font-size: 9px;
  }
  .hero {
    grid-template-columns: 1fr 0.8fr;
    min-height: 240px;
    margin-bottom: 28px;
  }
  .hero-copy {
    padding: 24px 0 24px 22px;
  }
  .hero h2 {
    font-size: 31px;
  }
  .hero p {
    font-size: 12px;
    line-height: 1.6;
  }
  .hero .button {
    font-size: 11px;
    padding: 11px 12px;
    gap: 7px;
  }
  .hero-art {
    min-height: 220px;
    width: 125%;
    margin-left: -8%;
    height: 100%;
  }
  .hero-art-wrap:after {
    right: 10px;
    bottom: 10px;
    font-size: 6px;
  }
  .catalogue-layout {
    display: block;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 130px;
    padding: 16px;
    gap: 19px;
  }
  .card-art {
    width: 90px;
    height: 96px;
  }
  .card h3 {
    font-size: 23px;
  }
  .card-body {
    padding-right: 12px;
  }
  .card .meta {
    font-size: 11px;
  }
  .side-note {
    margin-top: 38px;
  }
  .catalogue-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .side-callout {
    margin-top: 38px;
    padding: 18px;
  }
  .side-note h3,
  .side-callout h3 {
    font-size: 22px;
  }
  .toolbar {
    gap: 8px;
  }
  .search {
    min-width: 100%;
    flex: auto;
  }
  .toolbar select {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    font-size: 12px;
    padding: 10px 7px;
  }
  .chips {
    gap: 6px;
  }
  .chip {
    font-size: 11px;
    padding: 8px 12px;
  }
  .section-heading {
    margin-top: 24px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading span {
    font-size: 10px;
  }
  .detail-head {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .detail-head h1 {
    font-size: 38px;
  }
  .detail-head p {
    font-size: 14px;
  }
  .detail-art {
    height: 230px;
    order: -1;
  }
  .detail-head .eyebrow {
    margin-top: 15px;
  }
  .detail-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .detail-grid > aside {
    order: -1;
  }
  .detail-grid > aside .side-note {
    margin: 15px 0;
  }
  .difficulty-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .detail-grid > aside .side-callout {
    display: none;
  }
  .notice {
    padding: 15px 17px;
    font-size: 12px;
  }
  .article-section {
    padding: 26px 0;
  }
  .article-section h2 {
    font-size: 28px;
  }
  .article-section p,
  .article-section li {
    font-size: 14px;
  }
  .breadcrumb {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .article-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .article-card {
    padding: 17px;
    min-height: 250px;
  }
  .article-card .card-art {
    height: 100px;
  }
  .article-card h3 {
    font-size: 22px;
  }
  .article-card p {
    font-size: 11px;
  }
  .map-layout {
    display: block;
  }
  .map-frame svg {
    min-height: 230px;
  }
  .map-results {
    margin-top: 28px;
  }
  .place {
    padding: 13px;
    font-size: 12px;
  }
  .map-results .card-art {
    width: 80px;
  }
  .form-layout {
    display: block;
  }
  .form-layout > aside {
    display: none;
  }
  .empty {
    padding: 30px 20px;
  }
  .empty h2 {
    font-size: 28px;
  }
  .empty p {
    font-size: 13px;
  }
  footer {
    padding: 28px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  footer > span {
    margin: 0;
  }
  .jump-links {
    gap: 15px;
    font-size: 11px;
  }
  #toast {
    bottom: 18px;
    font-size: 12px;
    width: max-content;
  }
  .prose p {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 760px) {
  .site-header nav {
    gap: 2px;
  }
  .nav-link {
    flex-direction: column;
    gap: 5px;
    padding: 8px 6px;
    font-size: 11px;
  }
  .nav-link svg {
    width: 17px;
    height: 17px;
  }
  .hero {
    grid-template-columns: 1.1fr 1fr;
  }
  .hero-copy {
    padding-left: 20px;
  }
}
.card { min-width: 0; }
.card h3, .detail-head h1, .source a, .place { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .article-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-layout { display: flex; flex-direction: column; gap: 0; }
  .map-layout > div { display: contents; }
  .map-frame { order: 0; }
  .map-caption { order: 1; }
  .map-results { order: 2; margin-bottom: 26px; }
  .map-layout > div > .search { order: 3; }
  .map-layout > div > .section-heading { order: 4; }
  .map-layout > div > .place-list { order: 5; }
  .map-layout > div > .empty { order: 6; }
}

.match-context { font-size: .8rem; line-height: 1.5; color: var(--muted); padding: 0 8px; overflow-wrap: anywhere; }
.cards > div { min-width: 0; }
@font-face { font-family: "Fermenta Flags"; src: url("assets/fonts/TwemojiCountryFlags.woff2") format("woff2"); font-display: swap; }
.country-flag { font-family: "Fermenta Flags", "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 21px; flex: 0 0 28px; }
.shop-location-picker { position: relative; width: min(100%, 600px); margin: 24px 0 30px; }
.shop-location-picker > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.place-input { display: flex; border: 1px solid #c8cec5; background: #fffefa; border-radius: 8px; }
.place-input:focus-within { outline: 2px solid #25543f; outline-offset: 2px; }
.place-input input { border: 0; background: transparent; width: 100%; min-width: 0; padding: 15px; font: inherit; color: #163d2c; outline: 0; }
.place-clear { border: 0; background: transparent; color: #365e49; font-size: 24px; padding: 8px 16px; cursor: pointer; }
.place-popup { position: absolute; top: 79px; left: 0; right: 0; z-index: 20; background: #fffefa; border: 1px solid #c8cec5; border-radius: 8px; box-shadow: 0 12px 28px #163d2c22; max-height: min(360px, 45dvh); overflow-y: auto; overscroll-behavior: contain; }
.place-popup[hidden] { display: none; }
.place-option { padding: 11px 13px 11px calc(13px + var(--depth) * 13px); display: flex; gap: 12px; align-items: center; justify-content: space-between; cursor: pointer; border-bottom: 1px solid #eeeee5; }
.place-option-name { display: flex; gap: 8px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.place-option.region { color: #163d2c; font-weight: 600; }
.place-option-meta { font-size: 11px; font-weight: 400; white-space: nowrap; }
.place-option[aria-disabled="true"] { color: #767b75; background: #f3f3ee; cursor: not-allowed; }
.place-option[aria-disabled="true"] .country-flag { opacity: .55; }
.place-option.active { outline: 2px solid #466e58; outline-offset: -2px; background: #e6eddf; }
.place-no-match { padding: 8px 16px; }
@media(max-width: 600px) { .place-option { gap: 6px; padding-left: calc(10px + var(--depth) * 9px); font-size: 13px; } .place-option-meta { font-size: 10px; } }

#shop-place-help { margin-top: 9px; }

/* Community contributions share the public reading layout. */
.account-link { color: var(--forest, #173e30); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.community-post { border-bottom: 1px solid #d9ded3; padding: 1rem 0; }
.contribution-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.creation-photo { max-width: 100%; width: 32rem; max-height: 32rem; object-fit: contain; border-radius: .75rem; }
.photo-permission { display: flex; align-items: flex-start; gap: .65rem; line-height: 1.5; margin: 1rem 0; }
.photo-permission input { width: auto; margin-top: .35rem; flex-shrink: 0; }
[data-result], [data-sync-status] { margin-top: 1rem; }
button:disabled { opacity: .6; cursor: progress; }
@media (max-width: 800px) { .account-link { margin-left: auto; } }
