:root {
  color-scheme: light;
  --ink: #1e211f;
  --muted: #684e43;
  --line: #e6e1da;
  --paper: #fbfaf7;
  --panel: #fffefd;
  --green: #116b4e;
  --fig: #70465f;
  --mustard: #d7a62f;
  --blue: #346b90;
  --error: #9b3a27;
  --green-wash: #edf6f1;
  --fig-wash: #f3ebef;
  --fig-line: #dcc9d2;
  --error-wash: #fae7e2;
  --error-line: #e7b6aa;
  --mustard-wash: #fff8e4;
  --shadow: 0 22px 64px rgba(43, 37, 31, 0.12);
  --card-shadow: 0 14px 34px rgba(43, 37, 31, 0.06);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Syne", sans-serif;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
}

button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}

button {
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(52, 107, 144, 0.45);
  outline-offset: 3px;
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 248, 243, 0.9);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 11px 5px 11px 5px;
  background: var(--green);
  color: white;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a,
.mobile-menu a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.mobile-menu a:hover {
  color: var(--green);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-cta {
  display: none;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(260px, calc(100vw - 32px));
  display: grid;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px 6px 16px 6px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.mobile-menu nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--fig);
}

.nav-actions {
  display: flex;
  gap: 8px;
}

.start-over,
.site-footer a,
.text-button {
  color: var(--green);
  font-weight: 800;
}

.start-over {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, 1008px);
  margin: 0 auto;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer > div {
  display: grid;
  gap: 3px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 18px;
}

.site-footer a,
.coverage-attribution a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px clamp(16px, 5vw, 56px) 56px;
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: end;
  margin: 8px 0 24px;
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 9vw, 92px);
  line-height: 0.94;
  max-width: 780px;
  overflow-wrap: normal;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: min(620px, 100%);
}

.hero-actions {
  margin-top: 20px;
}

.product-preview {
  position: relative;
  min-height: 480px;
  border: 1px solid #cdd8cc;
  border-radius: 32px 8px 32px 8px;
  background: linear-gradient(145deg, #e7efe8 0%, #fff8e4 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: settle-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.preview-map {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background:
    linear-gradient(40deg, transparent 47%, rgba(17, 107, 78, 0.12) 48%, rgba(17, 107, 78, 0.12) 51%, transparent 52%) 20px 10px / 110px 110px,
    linear-gradient(-32deg, transparent 47%, rgba(17, 107, 78, 0.1) 48%, rgba(17, 107, 78, 0.1) 51%, transparent 52%) 0 0 / 140px 130px;
}

.preview-map i {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 12px 12px 12px 3px;
  background: var(--mustard);
  box-shadow: 0 6px 18px rgba(25, 34, 28, 0.2);
  transform: rotate(-45deg);
}

.preview-map i:nth-child(1) { top: 68px; left: 74px; }
.preview-map i:nth-child(2) { top: 124px; right: 54px; background: var(--green); }
.preview-map i:nth-child(3) { top: 206px; left: 152px; background: var(--fig); }

.preview-map span {
  position: absolute;
  top: 38px;
  right: 34px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 12px solid rgba(17, 107, 78, 0.12);
}

.preview-shortlist {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(17, 107, 78, 0.2);
  border-radius: 24px 8px 24px 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(8px);
}

.preview-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-shortlist article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px;
  border-radius: 10px;
  background: var(--green-wash);
}

.preview-shortlist b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff0c8;
  color: #604710;
  font-size: 12px;
}

.preview-shortlist article > span {
  display: grid;
  min-width: 0;
}

.preview-shortlist strong,
.preview-shortlist small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-shortlist small {
  color: var(--muted);
}

.preview-shortlist article > i {
  width: 8px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--green);
  transform: rotate(45deg);
}

.preview-decision-dot {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 74px;
  height: 74px;
  border: 10px solid var(--paper);
  border-radius: 50%;
  background: var(--fig);
}

.home-page {
  min-height: calc(100vh - 150px);
  display: grid;
  align-items: center;
}

.intent-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intent-copy {
  max-width: 610px;
  animation: settle-in 520ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intent-copy h1 {
  margin: 8px 0 14px;
  font-size: clamp(50px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.intent-copy > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.intent-form {
  display: grid;
  gap: 22px;
  max-width: 580px;
  margin-top: 28px;
}

.occasion-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.occasion-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.occasion-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.occasion-card > span {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 108px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f0f3ef;
  box-shadow: 0 6px 18px rgba(31, 35, 25, 0.05);
  text-align: center;
  transition: border-color 160ms ease-out, background-color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}

.intent-option-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  color: var(--green);
}

.intent-option-icon .ui-icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.occasion-card:nth-child(1) .intent-option-icon { color: var(--mustard); }
.occasion-card:nth-child(2) .intent-option-icon { color: #b85e28; }
.occasion-card:nth-child(3) .intent-option-icon { color: var(--fig); }
.occasion-card:nth-child(4) .intent-option-icon { color: var(--green); }

.occasion-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
}

.occasion-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.occasion-card:hover > span {
  transform: translateY(-2px);
  border-color: #b7c7bb;
  box-shadow: 0 10px 24px rgba(31, 35, 25, 0.09);
}

.occasion-card input:checked + span {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 1px var(--green), 0 10px 24px rgba(17, 107, 78, 0.12);
}

.occasion-card input:checked + span strong {
  color: var(--green);
}

.occasion-card input:focus-visible + span {
  outline: 3px solid rgba(52, 107, 144, 0.45);
  outline-offset: 3px;
}

.intent-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.intent-audience-fieldset {
  max-width: 360px;
}

.journey-preview {
  min-height: 42px;
  margin: -2px 0 -4px;
  padding-left: 12px;
  border-left: 3px solid var(--mustard);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.trust-line {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.intent-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.intent-fieldset legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.intent-step-number {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-right: 5px;
  border-radius: 8px;
  background: var(--mustard-wash);
  color: #8a6111;
  font-size: 12px;
}

.intent-card-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.segment-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef1e7;
}

.segment {
  position: relative;
  cursor: pointer;
}

.segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment > span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 850;
  transition: color 160ms ease-out, background-color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}

.segment:hover > span {
  color: var(--ink);
  transform: translateY(-1px);
}

.segment input:checked + span {
  background: #fff;
  color: var(--green);
  box-shadow: 0 3px 12px rgba(31, 35, 25, 0.1);
}

.segment input:focus-visible + span {
  outline: 3px solid rgba(52, 107, 144, 0.45);
  outline-offset: 2px;
}

.intent-choice-card > span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  place-items: center start;
  gap: 9px;
  min-height: 76px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f0f3ef;
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(31, 35, 25, 0.04);
}

.intent-choice-card > span .intent-option-icon {
  width: 30px;
  height: 30px;
  margin: 0;
}

.intent-choice-card > span .ui-icon {
  width: 25px;
  height: 25px;
}

.intent-choice-card .intent-option-copy {
  display: grid;
  place-items: initial;
  min-width: 0;
  min-height: 0;
  color: inherit;
  text-align: left;
}

.intent-choice-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.intent-choice-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.intent-choice-card:hover > span {
  border-color: #b7c7bb;
  background: #fff;
}

.intent-choice-card input:checked + span {
  border-color: var(--green);
  background: #fff;
  color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 8px 20px rgba(17, 107, 78, 0.1);
}

.intent-choice-card input:checked + span strong {
  color: var(--green);
}

.intent-time {
  padding: 14px;
  border: 1px solid #d5dfd5;
  border-radius: 14px;
  background: var(--green-wash);
}

.intent-time small {
  color: var(--muted);
  font-size: 12px;
}

.form-error {
  min-height: 18px;
  color: var(--error);
  font-size: 13px;
  font-weight: 700;
}

.intent-submit {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
  min-width: 0;
}

.panel,
.card,
.ad-slot {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(31, 35, 25, 0.05);
  min-width: 0;
}

.panel {
  padding: 18px;
  width: 100%;
  max-width: 100%;
}

.panel h2,
.panel h3,
.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label,
.label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 82px;
  resize: vertical;
}

.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  min-width: 0;
}

.chip input {
  width: auto;
  min-height: auto;
  padding: 0;
  accent-color: var(--green);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 800;
  background: var(--ink);
  color: white;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
}

.ui-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(25, 34, 28, 0.12);
}

.button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.button.secondary {
  background: #eef1e7;
  color: var(--ink);
}

.button.green {
  background: var(--green);
}

.button.decision {
  background: var(--fig);
}

.button.danger {
  background: var(--error);
}

.button.refresh-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  box-shadow: none;
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.stack {
  display: grid;
  gap: 12px;
}

.card {
  padding: 14px;
}

.place-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.place-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.place-title {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -10px 0 -6px;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.place-title:hover {
  text-decoration: underline;
}

.score-pill,
.place-rank,
.status-pill {
  white-space: nowrap;
  align-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.score-pill,
.place-rank {
  background: #f8ebc7;
  color: #674909;
}

.place-rank {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 9px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill {
  background: #e4f1e9;
  color: #10593d;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.place-card-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.place-location {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.place-location span {
  color: var(--green);
  font-weight: 800;
}

.food-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.food-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid #ded8ce;
  border-radius: 999px;
  background: #f7f3ed;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.place-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.source {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 7px;
  color: var(--muted);
  font-size: 12px;
}

.vote-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.vote-button {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}

.vote-button.active[data-score="1"] {
  background: #dff3e9;
  border-color: var(--green);
  color: var(--green);
}

.vote-button.active[data-score="-1"] {
  background: var(--error-wash);
  border-color: var(--error);
  color: var(--error);
}

.vote-button.active[data-score="0"] {
  background: #eef1e7;
}

.vote-button.skip.active {
  border-color: var(--muted);
  background: #f4f4ef;
  color: var(--muted);
}

.vote-page {
  max-width: 980px;
}

.vote-heading {
  max-width: 780px;
  margin: 18px 0 24px;
}

.vote-heading h1 {
  margin: 6px 0 10px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.vote-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.vote-share-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px 7px 18px 7px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.vote-share-strip.is-created {
  border-color: rgba(17, 107, 78, 0.42);
  background: var(--green-wash);
}

.vote-share-strip > div:first-child {
  display: grid;
  gap: 3px;
}

.vote-share-strip > div:first-child span {
  color: var(--muted);
  font-size: 13px;
}

.vote-share-actions {
  display: flex;
  gap: 8px;
}

.vote-share-strip .footer-note {
  grid-column: 1 / -1;
  margin: 0;
}

.vote-panel {
  padding: clamp(18px, 4vw, 32px);
  border-radius: 24px 8px 24px 8px;
}

.vote-instructions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.vote-instructions h2 {
  margin: 5px 0 6px;
  font-size: clamp(28px, 4vw, 38px);
}

.vote-instructions p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
}

#vote-progress {
  flex: 0 0 auto;
  color: var(--green);
}

.vote-card-list {
  margin-top: 8px;
}

.vote-place-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 16px 6px 16px 6px;
}

.vote-place-card .place-title {
  margin: 0;
}

.vote-submit-bar {
  position: sticky;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #c5d4c6;
  border-radius: 16px 6px 16px 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(31, 35, 25, 0.14);
  backdrop-filter: blur(12px);
}

.vote-submit-bar > span {
  color: var(--muted);
  font-size: 13px;
}

.result-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.result-rank {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #fff0c8;
  color: #604710;
  font-weight: 900;
}

.result-score-bar {
  display: block;
  width: min(340px, 100%);
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ece4;
}

.result-score-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.vote-results-page {
  max-width: 980px;
}

.winner-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 5vw, 44px);
  border-radius: 24px 8px 24px 8px;
  background: var(--fig-wash);
  border: 1px solid var(--fig-line);
  box-shadow: var(--shadow);
}

.winner-panel h2 {
  margin: 6px 0 5px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
}

.winner-panel p {
  margin: 0;
  color: var(--muted);
}

.winner-actions,
.scoreboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shared-shortlist-page {
  max-width: 980px;
}

.shared-place-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.shared-place-copy {
  min-width: 0;
}

.shared-place-copy h3 {
  margin: 0 0 4px;
  font-size: 21px;
}

.shared-place-copy h3 a {
  color: inherit;
}

.shared-place-copy .food-tags,
.shared-place-copy .place-facts {
  margin-top: 9px;
}

.shared-place-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 360px;
}

.shared-choice-confirmation {
  margin-bottom: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-color: rgba(17, 107, 78, 0.45);
  background: var(--green-wash);
  scroll-margin-top: 90px;
}

.shared-choice-confirmation h2 {
  margin: 6px 0 8px;
  font-size: clamp(30px, 5vw, 44px);
}

.shared-choice-confirmation p {
  max-width: 620px;
  color: var(--muted);
}

.shared-choice-confirmation .actions {
  margin-top: 18px;
}

.shared-choice-winner {
  margin-bottom: 16px;
}

.shared-choice-winner .meal-banner,
.shared-choice-winner .notice {
  margin-top: 14px;
}

.shared-choice-share-back {
  margin-bottom: 18px;
}

.shared-other-options h2 {
  margin: 5px 0 14px;
}

#shared-winner-heading:focus {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  .shared-place-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .shared-place-actions {
    grid-column: 2;
    justify-content: flex-start;
    max-width: none;
  }

  .shared-place-actions .button {
    flex: 1 1 auto;
  }

  .shared-choice-confirmation .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.scoreboard {
  margin-top: 18px;
  padding: clamp(18px, 4vw, 30px);
  border-radius: 24px 8px 24px 8px;
}

.scoreboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.scoreboard-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(28px, 4vw, 38px);
}

.notice {
  border-left: 4px solid var(--mustard);
  background: #fff8e4;
  padding: 12px;
  border-radius: 8px;
  color: #604710;
}

.ad-slot {
  padding: 14px;
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #ffffff, #edf6f1);
}

.ad-slot strong {
  color: var(--green);
}

.empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.empty-action {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.empty-action strong {
  color: var(--ink);
  font-size: 17px;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}

.footer-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

.coverage-hero {
  grid-template-columns: 1fr;
  align-items: start;
}

.coverage-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
}

.coverage-list {
  display: grid;
  gap: 8px;
}

.coverage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.coverage-row .source-row {
  margin-top: 8px;
}

.coverage-row .meta,
#coverage-summary {
  overflow-wrap: anywhere;
}

.pick-page {
  max-width: 1040px;
}

.pick-page.has-results .pick-intro {
  margin-block: 10px 16px;
}

.pick-page.has-results .pick-intro h1 {
  max-width: 680px;
  font-size: clamp(36px, 5vw, 54px);
}

.pick-page.has-results .pick-intro p {
  font-size: 16px;
}

.pick-intro {
  margin: 18px 0 24px;
  max-width: 740px;
  min-width: 0;
}

.intent-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.intent-summary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-weight: 700;
}

.pick-intro h1 {
  margin: 6px 0 10px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.pick-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pick-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.pick-grid.filters-collapsed {
  position: sticky;
  top: 76px;
  z-index: 4;
}

.pick-controls {
  min-width: 0;
  padding: 20px;
}

.filters-collapsed .pick-controls {
  padding: 9px;
  border-color: #cbd6c9;
  box-shadow: 0 12px 32px rgba(31, 35, 25, 0.11);
}

.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-summary-content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.filter-summary-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-summary-chips::-webkit-scrollbar {
  display: none;
}

.filter-summary-chips strong,
.filter-summary-chips span {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf1e8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.filter-summary-chips strong {
  max-width: 280px;
  overflow: hidden;
  background: #e1f0e8;
  color: var(--green);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-summary #edit-filters {
  flex: 0 0 auto;
  min-height: 42px;
}

.filter-editor {
  gap: 18px;
}

.filter-editor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.filter-editor-heading h2 {
  margin: 3px 0 0;
  font-size: 24px;
}

.filter-editor-heading p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.picker-occasion-fieldset {
  display: grid;
  gap: 7px;
}

.picker-occasion-control {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef1e7;
}

.picker-occasion-control .segment span {
  min-height: 44px;
}

.legacy-occasion-note {
  color: var(--muted);
  font-size: 12px;
}

.filter-summary-chips .occasion-summary-chip {
  background: var(--mustard-wash);
  color: #6d5110;
}

.filter-primary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dietary-filter {
  padding-top: 2px;
}

.more-filter-options {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.more-filter-options summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.more-filter-body {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.shortlist-length-field {
  max-width: 320px;
}

.more-filter-body small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.filter-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-form-actions .button {
  min-width: 142px;
}

.filter-form-actions .text-button {
  min-height: 44px;
  padding: 8px;
}

.filter-action-hint {
  flex-basis: 100%;
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
}

.filter-update-status {
  min-height: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.filter-update-status.is-error {
  color: var(--error);
}

.pick-results.results-updating {
  opacity: 0.58;
  pointer-events: none;
}

.location-block {
  display: grid;
  gap: 8px;
}

.location-current-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid #c8dbd0;
  border-radius: 11px;
  background: #edf6f1;
}

.location-current-state.is-error {
  border-color: var(--error-line);
  background: var(--error-wash);
}

.location-current-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
}

.location-current-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.location-current-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.location-current-copy strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-current-copy #location-status {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-current-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.location-change {
  min-height: 44px;
  padding: 0 4px;
  background: transparent;
  color: var(--green);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.location-search-panel {
  display: grid;
  gap: 8px;
  animation: location-search-reveal 180ms ease-out;
}

@keyframes location-search-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.location-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.location-search-row input {
  max-width: none;
}

.location-search-button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

.location-search-button.is-loading .ui-icon {
  animation: location-search-pulse 700ms ease-in-out infinite alternate;
}

@keyframes location-search-pulse {
  to { opacity: 0.35; }
}

.location-search-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.location-current {
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--green);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.coverage-hint {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.coverage-hint strong {
  color: var(--ink);
}

.shortcut-row,
.pick-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shortcut {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.shortcut:hover,
.shortcut:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.location-options {
  display: grid;
  gap: 8px;
  max-height: min(320px, 45vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.location-option {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.location-option:hover,
.location-option:focus-visible,
.location-option.is-active {
  border-color: var(--green);
  background: #f3f8f5;
}

.location-option span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.pick-results {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.results-explorer {
  display: grid;
  gap: 14px;
}

.pick-results-head,
.pick-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.pick-results-head h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.02;
}

.results-heading-copy > p:not(.meal-time) {
  max-width: 580px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.results-head-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.results-head-actions .button {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 13px;
}

.results-outcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #cce1d6;
  border-radius: 18px;
  background: #e9f6f0;
}

.results-outcome > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
}

.results-outcome strong {
  color: var(--green);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.results-outcome span:not(.results-outcome-arrow) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.results-outcome .is-shortlist-count strong {
  color: #9b5700;
}

.results-outcome-arrow {
  color: rgba(17, 107, 78, 0.45);
  font-size: 18px;
  font-weight: 800;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eef1e7;
  box-shadow: 0 8px 24px rgba(31, 35, 25, 0.05);
}

.shortlist-status {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-height: 28px;
  padding: 0 4px;
}

.shortlist-status strong {
  color: var(--green);
  font-size: 14px;
}

.shortlist-status > span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.segmented-control {
  display: inline-flex;
  gap: 4px;
}

.segmented-control button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.segmented-control button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.segmented-control button[aria-pressed="true"] {
  background: #fff;
  color: var(--green);
  box-shadow: 0 3px 12px rgba(31, 35, 25, 0.1);
}

.segmented-control button span:not([aria-hidden]) {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e9eee5;
  color: var(--muted);
  font-size: 11px;
}

.segmented-control button[aria-pressed="true"] span:not([aria-hidden]) {
  background: #e1f0e8;
  color: var(--green);
}

.results-list-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 4px 2px 0;
}

.results-list-summary > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.results-list-summary span {
  color: var(--muted);
  font-size: 13px;
}

.ordering-help {
  position: relative;
  margin-left: auto;
  color: var(--green);
  font-size: 13px;
}

.ordering-help summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
}

.ordering-help p {
  position: absolute;
  right: 0;
  z-index: 3;
  width: min(330px, calc(100vw - 40px));
  margin: 4px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px 5px 12px 5px;
  background: #fff;
  color: var(--muted);
  box-shadow: var(--card-shadow);
  line-height: 1.5;
}

.decision-dock {
  position: sticky;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid #c5d4c6;
  border-radius: 18px 7px 18px 7px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 44px rgba(31, 35, 25, 0.16);
  backdrop-filter: blur(14px);
}

.decision-dock-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.decision-dock-copy strong {
  color: var(--green);
  font-size: 14px;
}

.decision-dock-copy span {
  color: var(--muted);
  font-size: 12px;
}

.shortlist-schedule {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.shortlist-schedule .text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.shortlist-schedule .text-button .ui-icon {
  width: 17px;
  height: 17px;
}

.shortlist-schedule .remove-schedule {
  color: var(--muted);
  font-size: 12px;
}

.decision-dock-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.shortlist-share-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
}

.shortlist-share-label {
  margin-right: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.share-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #eef1e7;
  color: var(--green);
  text-decoration: none;
  transition: transform 150ms ease-out, border-color 150ms ease-out, background-color 150ms ease-out;
}

.share-icon-button:hover,
.share-icon-button:focus-visible {
  border-color: var(--green);
  background: #e1f0e8;
  transform: translateY(-1px);
}

.results-explorer.is-decided {
  display: block;
}

.decision-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
  min-height: 390px;
  padding: clamp(28px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid var(--fig-line);
  border-radius: 30px 9px 30px 9px;
  background: var(--fig-wash);
  box-shadow: var(--shadow);
  animation: settle-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.decision-focus h2 {
  max-width: 700px;
  margin: 8px 0 12px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.decision-focus-lead {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
}

.decision-focus-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.decision-focus-reasons {
  margin-top: 16px;
}

.decision-focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.decision-focus-next {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 210px;
  padding-left: clamp(24px, 4vw, 44px);
  border-left: 1px solid var(--fig-line);
}

.decision-focus-next strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.decision-focus-next > span {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.decision-focus-next .text-button {
  justify-self: start;
}

.pick-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-card-list.is-all {
  grid-template-columns: 1fr;
}

.result-card-list .place-card {
  border-color: #d5ddd2;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(31, 35, 25, 0.055);
  transition: transform 160ms ease-out, border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.result-card-list .place-card:hover {
  transform: translateY(-2px);
  border-color: #b9cabc;
  box-shadow: 0 16px 38px rgba(31, 35, 25, 0.09);
}

.result-card-list .place-card.is-shortlisted {
  border-color: rgba(17, 107, 78, 0.48);
  box-shadow: 0 12px 34px rgba(17, 107, 78, 0.11);
}

.result-card-list .place-card.is-shortlisted::after {
  content: "In your shortlist";
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}

.result-card-list .place-card {
  position: relative;
}

.result-card-list .place-rank {
  background: #fff0c8;
  color: #604710;
}

.place-card-compact {
  padding: 14px 16px;
}

.place-card-compact .place-card-body {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
}

.place-card-compact .place-head,
.place-card-compact .food-tags,
.place-card-compact .match-reasons,
.place-card-compact .place-facts {
  grid-column: 1;
}

.place-card-compact .pick-card-actions {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  justify-content: flex-end;
  max-width: 440px;
}

.pick-card-actions {
  margin-top: 4px;
}

.pick-card-actions .button {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 13px;
}

.pick-card-actions .text-button {
  min-height: 44px;
  padding: 8px;
}

.button.shortlist-toggle {
  border: 1px solid rgba(17, 107, 78, 0.45);
  background: #fff;
  color: var(--green);
  box-shadow: none;
}

.button.shortlist-toggle:hover:not(:disabled) {
  background: #edf6f1;
  box-shadow: none;
}

.button.shortlist-toggle.is-selected {
  border-color: transparent;
  background: #e1f0e8;
  color: var(--green);
}

.button.shortlist-toggle.is-compact {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 12px;
}

.shortlist-empty {
  min-height: 190px;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.results-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(31, 35, 25, 0.08);
}

.result-map-frame {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 580px;
  background:
    radial-gradient(circle at 30% 30%, rgba(17, 107, 78, 0.11), transparent 28%),
    linear-gradient(135deg, #e7ede2, #f5f2e8);
}

.result-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(244, 246, 238, 0.92);
}

.map-loading.map-error strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
}

.map-loading.map-error span {
  max-width: 330px;
  font-size: 14px;
}

.map-results-list {
  max-height: 580px;
  overflow: auto;
  padding: 10px;
  border-left: 1px solid var(--line);
  background: #fbfbf7;
}

.map-result-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 70px;
  padding: 5px;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
}

.map-result-item:hover,
.map-result-item.is-active {
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 35, 25, 0.08);
}

.map-result-item.is-active {
  color: var(--green);
}

.map-result-item.is-shortlisted {
  background: #edf6f1;
}

.map-result-focus {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 60px;
  padding: 5px;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.map-result-focus > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.map-result-item strong,
.map-result-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-result-item strong {
  font-size: 14px;
}

.map-result-item small {
  color: var(--muted);
  font-size: 12px;
}

.map-result-number {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #fff0c8;
  color: #604710;
  font-size: 12px;
  font-weight: 900;
}

.result-map-marker-wrap {
  background: transparent;
  border: 0;
}

.result-map-marker-wrap > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 13px 13px 13px 3px;
  background: #fff;
  color: var(--green);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px var(--green), 0 6px 16px rgba(25, 34, 28, 0.28);
  transform: rotate(-45deg);
}

.result-map-marker-wrap > span.is-shortlisted {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(25, 34, 28, 0.28);
}

.result-map-marker-wrap > span.is-active {
  background: var(--fig);
  color: #fff;
  box-shadow: 0 6px 16px rgba(25, 34, 28, 0.32);
  transform: rotate(-45deg) scale(1.12);
}

.result-map-marker-wrap b {
  line-height: 1;
  transform: rotate(45deg);
}

.result-map-popup {
  display: grid;
  gap: 4px;
  min-width: 150px;
  font-family: var(--font-body);
}

.result-map-popup strong {
  color: var(--ink);
  font-size: 14px;
}

.result-map-popup span {
  color: var(--muted);
  font-size: 12px;
}

.result-map-popup a {
  margin-top: 4px;
  color: var(--green);
  font-weight: 850;
}

.result-map-popup .shortlist-toggle {
  margin: 4px 0 2px;
}

.match-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.match-reasons span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #edf6f1;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.unknown-data {
  color: var(--muted);
  font-size: 12px;
}

.known-hours {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.meal-time {
  margin: 5px 0 0;
  color: var(--green);
  font-weight: 850;
}

.meal-banner {
  display: grid;
  gap: 3px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 8px;
  background: #edf6f1;
  color: var(--green);
}

.meal-banner span {
  color: var(--muted);
  font-size: 12px;
}

.contribute-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 8px 0;
}

.verification-section {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #e0c878;
  border-radius: 10px;
  background: #fffaf0;
}

.verification-head h3 {
  margin: 4px 0 6px;
  font-size: clamp(22px, 4vw, 30px);
}

.verification-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.coverage-attribution {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.coverage-attribution a {
  color: var(--green);
  font-weight: 700;
}

.discovery-loading {
  min-height: 160px;
}

.loading-bar {
  width: min(320px, 100%);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.loading-bar i {
  display: block;
  width: 24%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  animation: discovery-pulse 1.4s ease-in-out infinite;
}

.discovery-partial {
  margin-top: 16px;
}

.discovery-slot {
  min-height: 154px;
  pointer-events: none;
}

.discovery-slot i {
  display: block;
  width: 62%;
  height: 14px;
  margin: 12px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--line), #f7f6ef, var(--line));
  background-size: 200% 100%;
  animation: discovery-shimmer 1.4s linear infinite;
}

.discovery-slot i:first-child { width: 42%; height: 22px; }
.discovery-slot i:last-child { width: 76%; }

@keyframes discovery-pulse {
  0%, 100% { opacity: 0.55; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(250%); }
}

@keyframes discovery-shimmer {
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .loading-bar i,
  .discovery-slot i { animation: none; }
}

.text-button {
  min-height: 44px;
  padding: 8px 4px;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.surprise {
  margin-top: 4px;
}

.report-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.report-dialog::backdrop {
  background: rgba(32, 33, 29, 0.62);
}

.schedule-dialog {
  width: min(520px, calc(100vw - 32px));
}

.schedule-dialog > form > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.schedule-dialog input[type="datetime-local"] {
  width: 100%;
  max-width: none;
}

.shared-meal-banner {
  margin-bottom: 18px;
}

.hours-banner {
  background: #fffefd;
  border: 1px solid var(--line);
}

.moderation-page {
  max-width: 920px;
}

.moderation-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.moderation-card pre {
  max-height: 280px;
  overflow: auto;
  padding: 12px;
  border-radius: 8px;
  background: #20211d;
  color: #f7f7f0;
  font-size: 12px;
  white-space: pre-wrap;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.dialog-head h2 {
  margin: 4px 0 0;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #eef1e7;
  color: var(--ink);
  font-size: 26px;
}

.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;
}

.pick-footer {
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
}

.coverage-actions {
  display: flex;
  gap: 8px;
}

@keyframes settle-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Server-rendered discovery pages */
.seo-shell {
  min-height: 100vh;
}

.seo-nav,
.seo-footer nav,
.seo-inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.seo-nav a,
.seo-footer a,
.seo-inline-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.seo-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 92px) 0 80px;
}

.seo-hero {
  max-width: 900px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 42px 12px 42px 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(215, 166, 47, 0.22), transparent 38%),
    linear-gradient(145deg, #fff 0%, #f2f5ed 100%);
  box-shadow: var(--shadow);
}

.seo-hero.compact {
  margin: 6vh auto;
}

.seo-hero h1,
.seo-restaurant h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.seo-hero p,
.seo-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.5;
}

.seo-primary-cta {
  margin-top: 28px;
}

.seo-section,
.seo-restaurant,
.home-seo-copy {
  margin-top: clamp(52px, 8vw, 96px);
}

.seo-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.seo-section h2,
.home-seo-copy h2,
.restaurant-provenance h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.seo-section-heading > p,
.seo-method > p,
.coverage-report > p,
.restaurant-provenance p,
.home-seo-copy > p {
  color: var(--muted);
  line-height: 1.65;
}

.seo-place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seo-place-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px 8px 24px 8px;
  background: var(--panel);
  box-shadow: 0 10px 34px rgba(27, 43, 33, 0.07);
}

.seo-place-card h3 {
  max-width: calc(100% - 62px);
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.08;
}

.seo-place-card h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.seo-place-card > p {
  min-height: 44px;
  color: var(--muted);
  line-height: 1.45;
}

.seo-distance {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.seo-place-unknown {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.seo-method,
.coverage-report,
.home-seo-copy,
.restaurant-provenance {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 32px 8px 32px 8px;
  background: var(--panel);
}

.group-story,
.data-story {
  display: grid;
  align-items: center;
  gap: 28px;
  margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 24px 8px 24px 8px;
}

.group-story {
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--green);
  color: #fff;
  box-shadow: var(--card-shadow);
}

.group-story .eyebrow {
  color: #bfe5d5;
}

.group-story h2,
.data-story h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.group-story p,
.data-story p {
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}

.group-story p {
  color: rgba(255, 255, 255, 0.78);
}

.group-story .button.decision {
  min-width: 170px;
  box-shadow: 0 10px 28px rgba(25, 34, 28, 0.2);
}

.data-story {
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.15fr) auto;
  border: 1px solid var(--line);
  background: #fff;
}

.data-story > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.seo-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.seo-card-actions > a:first-child {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 800;
}

.seo-card-actions .button {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 12px;
}

.seo-related {
  padding-bottom: 12px;
}

.seo-related .seo-inline-links,
.home-seo-copy .seo-inline-links {
  margin-top: 24px;
}

.seo-related a,
.home-seo-copy .seo-inline-links a {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  text-decoration: none;
}

.seo-footer {
  align-items: flex-start;
  gap: 24px;
}

.seo-footer > div {
  display: grid;
  gap: 5px;
}

.seo-footer nav {
  justify-content: flex-end;
}

.seo-restaurant {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.restaurant-fact-grid,
.coverage-stat-grid,
.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0;
}

.restaurant-fact-grid > div,
.coverage-stat-grid > div,
.seo-feature-grid > article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 130px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px 6px 20px 6px;
  background: var(--panel);
}

.restaurant-fact-grid span,
.coverage-stat-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.coverage-stat-grid strong {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--green);
}

.seo-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-feature-grid article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.seo-copy-note {
  max-width: 820px;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .topbar-cta {
    display: inline-flex;
  }

  .seo-place-grid,
  .restaurant-fact-grid,
  .coverage-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .seo-nav {
    display: none;
  }

  .seo-main {
    width: calc(100% - 24px);
    padding-top: 28px;
  }

  .seo-hero {
    padding: 30px 22px;
    border-radius: 28px 8px 28px 8px;
  }

  .seo-hero h1,
  .seo-restaurant h1 {
    max-width: 100%;
    font-size: clamp(38px, 11.5vw, 50px);
    overflow-wrap: anywhere;
  }

  .seo-section-heading {
    display: block;
  }

  .seo-place-grid,
  .restaurant-fact-grid,
  .coverage-stat-grid,
  .seo-feature-grid {
    grid-template-columns: 1fr;
  }

  .seo-place-card,
  .restaurant-fact-grid > div,
  .coverage-stat-grid > div,
  .seo-feature-grid > article {
    min-height: 0;
  }

  .seo-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 860px) {
  .hero,
  .grid,
  .pick-grid,
  .intent-hero {
    grid-template-columns: 1fr;
  }

  .product-preview {
    min-height: 420px;
  }

  .group-story,
  .data-story {
    grid-template-columns: 1fr;
  }

  .vote-place-card {
    grid-template-columns: 1fr;
  }

  .filter-primary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .place-card-compact .place-card-body {
    grid-template-columns: 1fr;
  }

  .place-card-compact .place-head,
  .place-card-compact .food-tags,
  .place-card-compact .match-reasons,
  .place-card-compact .place-facts,
  .place-card-compact .pick-card-actions {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
  }

  .place-card-compact .pick-card-actions {
    justify-content: flex-start;
  }

  .results-map-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .result-map-frame {
    min-height: 480px;
  }

  .map-results-list {
    display: flex;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    padding: 10px;
    border-top: 1px solid var(--line);
    border-left: 0;
    scroll-snap-type: x proximity;
  }

  .map-result-item {
    flex: 0 0 min(280px, 80vw);
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: center;
    padding-block: 10px;
  }

  .nav-actions {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .topbar-cta {
    display: none;
  }

  .topbar.is-journey .brand > span:last-child {
    display: none;
  }

  .topbar.is-journey .start-over {
    white-space: nowrap;
  }

  .page {
    padding-top: 18px;
    width: calc(100vw - 32px);
    padding-right: 0;
    padding-left: 0;
  }

  .form-grid,
  .location-block,
  .pick-list,
  .moderation-auth {
    grid-template-columns: 1fr;
  }

  .vote-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .vote-share-strip,
  .vote-instructions,
  .vote-submit-bar {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .vote-share-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vote-share-actions .button,
  .vote-submit-bar .button {
    width: 100%;
  }

  .pick-grid.filters-collapsed {
    top: 70px;
  }

  .filter-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-summary #edit-filters {
    width: 100%;
  }

  .filter-editor-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .filter-editor-heading p {
    text-align: left;
  }

  .filter-primary-grid {
    grid-template-columns: 1fr;
  }

  .filter-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter-form-actions .button {
    width: 100%;
  }

  .filter-form-actions #apply-filters,
  .filter-action-hint {
    grid-column: 1 / -1;
  }

  .filter-form-actions .text-button {
    grid-column: 1 / -1;
  }

  .hero h1 {
    max-width: 310px;
    font-size: 36px;
    line-height: 0.98;
  }

  .hero p {
    max-width: 315px;
    font-size: 17px;
  }

  .product-preview,
  .panel,
  .card,
  .ad-slot {
    max-width: calc(100vw - 32px);
  }

  .home-page {
    min-height: auto;
    padding-top: 36px;
  }

  .intent-copy h1 {
    font-size: 48px;
  }

  .intent-copy > p {
    font-size: 16px;
  }

  .occasion-card-grid,
  .picker-occasion-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .occasion-card > span {
    min-height: 98px;
  }

  .intent-secondary-grid {
    grid-template-columns: 1fr;
  }

  .product-preview {
    min-height: 350px;
  }

  .preview-shortlist {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 12px;
  }

  .preview-map i:nth-child(1) { top: 45px; left: 46px; }
  .preview-map i:nth-child(2) { top: 90px; right: 44px; }
  .preview-map i:nth-child(3) { top: 152px; left: 130px; }

  .group-story .button,
  .data-story > a {
    width: 100%;
    justify-content: center;
  }

  .field input,
  .field select,
  .field textarea {
    max-width: calc(100vw - 70px);
  }

  .panel .meta,
  .ad-slot .meta {
    max-width: calc(100vw - 70px);
    overflow-wrap: anywhere;
  }

  .toggles {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chip {
    justify-content: center;
    border-radius: 8px;
    width: 100%;
    max-width: calc(100vw - 70px);
  }

  .place-head,
  .coverage-row,
  .coverage-tools {
    grid-template-columns: 1fr;
  }

  .winner-panel,
  .scoreboard-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .winner-actions,
  .scoreboard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .winner-actions .button,
  .scoreboard-actions .button {
    width: 100%;
  }

  .result-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .result-row .score-pill {
    grid-column: 2;
    justify-self: start;
  }

  .place-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .coverage-actions {
    flex-wrap: wrap;
  }

  .pick-intro h1 {
    font-size: 42px;
    max-width: 100%;
  }

  .location-search-row {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .location-current-state {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .location-current-actions {
    gap: 6px;
  }

  .pick-results-head,
  .pick-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .results-head-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .results-outcome {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
  }

  .results-outcome > div {
    align-content: start;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .results-outcome strong {
    font-size: 24px;
  }

  .results-outcome-arrow {
    display: none;
  }

  .pick-results-head .button,
  .pick-footer .button {
    width: 100%;
  }

  .results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .shortlist-status {
    display: grid;
    gap: 2px;
  }

  .shortlist-status > span {
    text-align: left;
  }

  .segmented-control {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .segmented-control button {
    padding-inline: 8px;
  }

  .results-list-summary {
    display: grid;
    gap: 2px;
  }

  .results-list-summary > div {
    display: grid;
    gap: 2px;
  }

  .ordering-help {
    margin-left: 0;
  }

  .ordering-help p {
    right: auto;
    left: 0;
  }

  .decision-dock,
  .decision-focus {
    align-items: stretch;
  }

  .decision-dock {
    bottom: 8px;
    border-radius: 16px 6px 16px 6px;
  }

  .decision-dock-actions,
  .decision-focus-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shortlist-share-actions {
    display: flex;
    justify-content: flex-start;
    padding: 4px 0 0;
  }

  .decision-dock .button,
  .decision-focus .button {
    width: 100%;
  }

  .decision-focus {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 28px 20px;
  }

  .decision-focus h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .decision-focus-next {
    min-height: 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--fig-line);
    border-left: 0;
  }

  .result-map-frame {
    min-height: 420px;
  }

  .result-card-list .place-card {
    border-radius: 14px;
  }

  #coverage-summary,
  .coverage-row .meta {
    width: min(100%, 278px);
    max-width: 278px;
    white-space: normal;
  }

  .coverage-row {
    overflow: hidden;
  }
}

/* File-based editorial guides */
.article-index-hero {
  max-width: 900px;
  margin-bottom: clamp(42px, 7vw, 78px);
}

.article-index-hero h1 {
  max-width: 860px;
  margin: 14px 0 18px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.article-index-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.article-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.article-index-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px 10px 30px 10px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.article-card-image {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: #e8efe9;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.article-index-card:hover .article-card-image img {
  transform: scale(1.025);
}

.article-index-card > div {
  padding: clamp(22px, 4vw, 34px);
}

.article-card-topic,
.article-card-date {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.article-card-date {
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.article-index-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.article-index-card h2 a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.article-index-card p {
  color: var(--muted);
  line-height: 1.6;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 38px 12px 38px 12px;
  background: linear-gradient(145deg, #fffefd 0%, #f0f5ef 100%);
  box-shadow: var(--shadow);
}

.article-page,
.article-hero-copy,
.article-layout {
  min-width: 0;
}

.article-hero h1 {
  margin: 14px 0 20px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.97;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.article-hero-copy > p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.article-hero img {
  width: 100%;
  height: auto;
  border-radius: 26px 8px 26px 8px;
  box-shadow: 0 18px 42px rgba(43, 37, 31, 0.12);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.article-meta a {
  color: var(--green);
  font-weight: 850;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 300px);
  justify-content: center;
  align-items: start;
  gap: clamp(30px, 6vw, 76px);
  margin-top: clamp(52px, 8vw, 92px);
}

.article-body {
  min-width: 0;
  font-size: 18px;
  line-height: 1.78;
  overflow-wrap: break-word;
}

.article-body h2 {
  margin: 2.2em 0 0.65em;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  scroll-margin-top: 30px;
}

.article-body h3 {
  margin: 1.8em 0 0.55em;
  font-size: 25px;
  line-height: 1.15;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 1.35em;
}

.article-body li + li {
  margin-top: 0.55em;
}

.article-body a {
  color: var(--green);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-body blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 5px solid var(--mustard);
  border-radius: 0 16px 16px 0;
  background: #fff6db;
  color: #514a42;
}

.article-side-cta {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 24px 8px 24px 8px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 38px rgba(17, 107, 78, 0.2);
}

.article-side-cta span {
  color: #bfe5d5;
  font-size: 13px;
  font-weight: 750;
}

.article-side-cta strong {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.1;
}

.article-side-cta .button {
  margin-top: 8px;
  background: #fff;
  color: var(--green);
}

.article-featured-places,
.article-cta,
.article-related {
  margin-top: clamp(58px, 9vw, 106px);
}

.article-place-card {
  min-height: 220px;
}

.article-place-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  color: var(--green);
  font-weight: 850;
}

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 32px 10px 32px 10px;
  background: var(--fig);
  color: #fff;
}

.article-cta .eyebrow {
  color: #efd8e5;
}

.article-cta h2,
.article-related h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.article-cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.article-related > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.article-related > div > a {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px 8px 22px 8px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}

.article-related strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
}

.article-related span {
  color: var(--muted);
  line-height: 1.5;
}

.editorial-copy {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .article-hero,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-side-cta {
    position: static;
  }

  .article-related > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .article-index-grid {
    grid-template-columns: 1fr;
  }

  .article-index-hero h1,
  .article-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .article-hero {
    padding: 22px;
    border-radius: 28px 8px 28px 8px;
  }

  .article-body {
    font-size: 17px;
  }

  .article-cta {
    grid-template-columns: 1fr;
  }
}

/* Internal, first-party search analytics */
.analytics-page { max-width: 1240px; }
.analytics-intro { max-width: 760px; }
.analytics-auth-panel { margin-bottom: 24px; }
.analytics-controls,
.analytics-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.analytics-controls {
  position: sticky;
  top: 76px;
  z-index: 20;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  backdrop-filter: blur(12px);
}
.analytics-geo-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.analytics-geo-control select { min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); }
.analytics-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.analytics-kpis article { display: grid; gap: 5px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.analytics-kpis span,
.analytics-kpis small { color: var(--muted); }
.analytics-kpis strong { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; }
.analytics-section { display: grid; gap: 18px; }
.analytics-section-heading h2,
.analytics-section h2,
.analytics-section h3 { margin: 0; }
.analytics-section-heading p { max-width: 440px; margin: 0; color: var(--muted); text-align: right; }
.analytics-trend { display: flex; align-items: end; gap: 3px; min-height: 180px; padding: 18px 12px 0; border-bottom: 1px solid var(--line); background: linear-gradient(to top, rgba(17, 107, 78, 0.06), transparent); }
.analytics-trend i { flex: 1; min-width: 3px; border-radius: 4px 4px 0 0; background: var(--green); }
.analytics-map { min-height: 440px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--green-wash); }
.analytics-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.analytics-breakdown { display: grid; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
.analytics-breakdown > div { display: grid; grid-template-columns: minmax(95px, 0.7fr) minmax(90px, 1.4fr) 42px; align-items: center; gap: 10px; font-size: 0.9rem; }
.analytics-breakdown i { height: 8px; overflow: hidden; border-radius: 999px; background: var(--green-wash); }
.analytics-breakdown b { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.analytics-breakdown strong { text-align: right; }
.table-scroll { overflow-x: auto; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table-scroll th,
.table-scroll td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.analytics-data-table { max-height: 260px; overflow: auto; }
.privacy-content { max-width: 800px; }
.privacy-content h2:not(:first-child) { margin-top: 34px; }

@media (max-width: 840px) {
  .analytics-kpis,
  .analytics-two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-controls,
  .analytics-section-heading { align-items: stretch; flex-direction: column; }
  .analytics-section-heading p { text-align: left; }
}

@media (max-width: 560px) {
  .analytics-kpis,
  .analytics-two-column { grid-template-columns: 1fr; }
  .analytics-controls .segmented-control { width: 100%; }
  .analytics-controls .segmented-control button { flex: 1; }
  .analytics-geo-control { align-items: stretch; flex-direction: column; }
  .analytics-map { min-height: 330px; }
}

/* Homepage refresh: warm, rounded, and intentionally simple. */
.home-page {
  width: min(calc(100% - 32px), 1240px);
  max-width: 1240px;
  padding: 34px 0 72px;
  align-items: start;
}

.seo-main:has(> .home-page) {
  width: 100%;
  padding: 0;
}

.home-page .intent-hero {
  position: relative;
  isolation: isolate;
  min-height: 660px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid #e4e5de;
  border-radius: 38px;
  background: linear-gradient(145deg, #f2f5ef 0%, #fbf8f2 100%);
  box-shadow: 0 18px 60px rgba(35, 39, 32, 0.08);
  overflow: hidden;
}

.home-page .intent-hero::before,
.home-page .intent-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.home-page .intent-hero::before {
  top: -180px;
  right: -90px;
  width: 440px;
  height: 440px;
  background: rgba(215, 166, 47, 0.13);
}

.home-page .intent-hero::after {
  bottom: -210px;
  left: 32%;
  width: 360px;
  height: 360px;
  background: rgba(17, 107, 78, 0.09);
}

.home-page .intent-copy {
  position: relative;
  z-index: 1;
}

.home-page .intent-copy h1 {
  max-width: 540px;
  margin-top: 12px;
  color: #1e211f;
  font-size: clamp(50px, 6vw, 76px);
  letter-spacing: -0.06em;
}

.home-page .intent-copy > p {
  color: #684e43;
  font-size: clamp(17px, 2vw, 20px);
}

.home-page .intent-form {
  gap: 22px;
  margin-top: 32px;
}

.home-page .intent-fieldset legend {
  margin-bottom: 10px;
  color: #1e211f;
}

.home-page .occasion-card-grid {
  gap: 10px;
}

.home-page .occasion-card > span {
  min-height: 108px;
  padding: 16px 14px;
  border-color: #e5e1da;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(41, 35, 30, 0.05);
}

.home-page .occasion-card:hover > span {
  border-color: #cfc7bc;
  box-shadow: 0 12px 28px rgba(41, 35, 30, 0.09);
}

.home-page .occasion-card input:checked + span {
  border-color: #116b4e;
  background: #e7f6ef;
  box-shadow: 0 0 0 1px #116b4e, 0 12px 28px rgba(17, 107, 78, 0.1);
}

.home-page .segment-control {
  padding: 6px;
  border-color: #e3ded6;
  border-radius: 14px;
  background: #ebece6;
}

.home-page .segment > span {
  border-radius: 10px;
}

.home-page .journey-preview {
  border-color: #d79a2d;
  color: #684e43;
}

.home-page .intent-submit {
  min-height: 56px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(17, 107, 78, 0.2);
}

.home-page .product-preview {
  z-index: 1;
  min-height: 540px;
  border-color: #d8ddd5;
  border-radius: 30px;
  background: linear-gradient(155deg, #e5f4ec 0%, #fff2d5 100%);
  box-shadow: 0 22px 54px rgba(35, 39, 32, 0.15);
}

.home-page .preview-shortlist {
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 20px;
  border-color: rgba(17, 107, 78, 0.15);
  border-radius: 24px;
}

.home-page .preview-shortlist article {
  border-radius: 12px;
}

.home-page .preview-decision-dot {
  border-color: #fbf8f2;
}

.home-page .home-seo-copy {
  margin-top: clamp(72px, 10vw, 126px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-section-heading {
  display: grid;
  justify-items: center;
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.home-section-heading .eyebrow {
  color: #9b3d16;
}

.home-page .home-section-heading h2 {
  margin-top: 10px;
  color: #1e211f;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.045em;
}

.home-section-heading p {
  margin: 12px 0 0;
  color: #684e43;
  font-size: 17px;
}

.home-page .seo-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}

.home-page .seo-feature-grid > article {
  position: relative;
  min-height: 278px;
  gap: 0;
  padding: 32px;
  border-color: #e6e1da;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(43, 37, 31, 0.055);
  overflow: hidden;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.home-page .seo-feature-grid > article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(43, 37, 31, 0.09);
}

.home-page .seo-feature-grid > article:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  border-bottom-left-radius: 96px;
  background: #f1ede7;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-icon-moment {
  background: #f9e2df;
  color: #a83712;
}

.feature-icon-shortlist {
  background: #ffdda2;
  color: #725000;
}

.feature-icon-decide {
  background: #9cebcf;
  color: #075b49;
}

.home-page .seo-feature-grid article strong {
  font-family: var(--font-display);
  color: #1e211f;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.15;
}

.home-page .seo-feature-grid article p {
  margin-top: 14px;
  color: #684e43;
  font-size: 16px;
  line-height: 1.5;
}

.home-page .group-story,
.home-page .data-story {
  border-radius: 30px;
  box-shadow: none;
}

.home-page .group-story {
  border: 1px solid #cfe6da;
  background: #e3f4ec;
  color: #1e211f;
}

.home-page .group-story .eyebrow {
  color: #116b4e;
}

.home-page .group-story p {
  color: #4d655a;
}

.home-page .data-story {
  border-color: #eaded8;
  background: #fbf1ed;
}

@media (max-width: 900px) {
  .home-page .intent-hero {
    min-height: 0;
  }

  .home-page .seo-feature-grid {
    gap: 14px;
  }

  .home-page .seo-feature-grid > article {
    min-height: 250px;
    padding: 24px;
  }
}

@media (max-width: 860px) {
  .home-page .intent-hero {
    gap: 46px;
  }

  .home-page .product-preview {
    min-height: 460px;
  }

  .home-page .seo-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-page .seo-feature-grid > article {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .home-page {
    width: calc(100% - 24px);
    padding-top: 16px;
  }

  .home-page .intent-hero {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .home-page .intent-copy h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .home-page .occasion-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .occasion-card > span {
    min-height: 104px;
  }

  .home-page .intent-secondary-grid {
    grid-template-columns: 1fr;
  }

  .home-page .product-preview {
    min-height: 400px;
    border-radius: 24px;
  }

  .home-page .preview-shortlist {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 14px;
  }

  .home-page .home-seo-copy {
    margin-top: 72px;
  }

  .home-section-heading {
    margin-bottom: 28px;
  }

  .home-page .seo-feature-grid > article {
    padding: 26px;
    border-radius: 24px;
  }

  .home-page .group-story,
  .home-page .data-story {
    padding: 26px;
    border-radius: 24px;
  }
}

/* App-wide design language shared with the refreshed homepage. */
.topbar {
  min-height: 76px;
  padding-inline: clamp(16px, 4vw, 48px);
  border-bottom-color: rgba(104, 78, 67, 0.12);
  background: rgba(251, 250, 247, 0.92);
}

.brand-mark {
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(17, 107, 78, 0.18);
}

.site-nav a,
.mobile-menu a {
  color: #3d332f;
}

.mobile-menu nav {
  padding: 12px;
  border-color: var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.site-footer {
  width: min(calc(100% - 32px), 1180px);
  padding-block: 30px 38px;
  border-top-color: rgba(104, 78, 67, 0.14);
}

.page:not(.home-page) {
  padding-top: clamp(32px, 5vw, 58px);
}

.page:not(.home-page) h1,
.seo-main h1 {
  color: #1e211f;
}

.pick-intro,
.vote-heading,
.analytics-intro {
  margin-top: 8px;
  margin-bottom: 32px;
}

.pick-intro h1,
.vote-heading h1,
.seo-hero h1,
.seo-restaurant h1 {
  letter-spacing: -0.055em;
}

.pick-intro p,
.vote-heading p,
.seo-lead,
.seo-hero p {
  color: var(--muted);
  line-height: 1.58;
}

.panel,
.card,
.ad-slot {
  border-color: var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.panel {
  padding: clamp(18px, 3vw, 26px);
}

.button {
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 13px;
}

.button.green {
  box-shadow: 0 9px 22px rgba(17, 107, 78, 0.16);
}

.button.secondary,
.share-icon-button,
.icon-button {
  background: #f0eee8;
}

.field input,
.field select,
.field textarea,
.analytics-geo-control select,
.location-search-row input {
  border-color: #ded8cf;
  border-radius: 14px;
  background: #fff;
}

.field input:hover,
.field select:hover,
.field textarea:hover,
.location-search-row input:hover {
  border-color: #c9c0b5;
}

.segment-control,
.picker-occasion-control,
.results-toolbar,
.analytics-controls {
  border-color: #e0dbd3;
  border-radius: 16px;
  background: #eeede7;
}

.segment span,
.segmented-control button {
  border-radius: 11px;
}

.segment input:checked + span,
.segmented-control button[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 5px 15px rgba(43, 37, 31, 0.09);
}

.chip,
.source,
.filter-summary-chips strong,
.filter-summary-chips span,
.shortcut,
.match-reasons span {
  border-color: #e1dcd4;
}

.pick-controls,
.vote-panel,
.scoreboard,
.analytics-controls {
  border-radius: 26px;
}

.filters-collapsed .pick-controls {
  border-color: rgba(17, 107, 78, 0.24);
  border-radius: 20px;
  background: rgba(255, 254, 253, 0.94);
  box-shadow: 0 16px 36px rgba(43, 37, 31, 0.1);
  backdrop-filter: blur(14px);
}

.filter-editor-heading h2,
.vote-instructions h2,
.scoreboard-heading h2,
.pick-results-head h2 {
  color: #1e211f;
  letter-spacing: -0.035em;
}

.location-current-state {
  min-height: 58px;
  border-color: #cce1d6;
  border-radius: 16px;
  background: #e9f6f0;
}

.location-current-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(17, 107, 78, 0.16);
}

.location-option {
  padding: 13px 14px;
  border-color: var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.location-option:hover,
.location-option:focus-visible {
  background: #eef7f2;
}

.results-toolbar {
  padding: 9px;
  box-shadow: none;
}

.place-card,
.vote-place-card,
.result-row,
.coverage-row,
.moderation-card {
  border-radius: 22px;
}

.result-card-list .place-card {
  border-color: var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.result-card-list .place-card:hover {
  border-color: #c9c0b5;
  box-shadow: 0 18px 40px rgba(43, 37, 31, 0.09);
}

.place-rank,
.result-rank {
  border-radius: 13px;
  background: #ffdda2;
  color: #725000;
}

.vote-button {
  min-height: 48px;
  border-color: #ded8cf;
  border-radius: 13px;
  background: #fff;
}

.vote-share-strip {
  padding: 18px;
  border-color: var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.vote-panel {
  background: linear-gradient(145deg, #fffefd 0%, #faf8f4 100%);
}

.vote-submit-bar,
.decision-dock {
  bottom: 12px;
  padding: 14px;
  border-color: rgba(104, 78, 67, 0.16);
  border-radius: 20px;
  background: rgba(255, 254, 253, 0.94);
  box-shadow: 0 18px 44px rgba(43, 37, 31, 0.13);
}

.winner-panel,
.decision-focus {
  border-radius: 32px;
  background: linear-gradient(145deg, #f5eaf0 0%, #fbf1ed 100%);
  box-shadow: 0 20px 54px rgba(62, 42, 54, 0.11);
}

.decision-focus-next {
  border-left-color: rgba(112, 70, 95, 0.2);
}

.results-map-layout {
  border-color: var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(43, 37, 31, 0.08);
}

.map-results-list {
  border-color: var(--line);
  background: #faf8f4;
}

.meal-banner,
.verification-section,
.notice,
.empty {
  border-radius: 16px;
}

.notice {
  border: 1px solid #ecd99f;
  border-left-width: 1px;
  background: #fff6db;
}

.meal-banner {
  padding: 14px 16px;
  background: #e9f6f0;
}

.verification-section {
  border-color: #ead69a;
  background: #fff9e9;
}

.empty {
  padding: 24px;
  border-color: #d8d1c8;
  background: #fffefd;
}

.report-dialog {
  padding: 26px;
  border-color: var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.seo-main {
  width: min(1180px, calc(100% - 32px));
  padding-top: clamp(48px, 7vw, 88px);
}

.seo-hero {
  padding: clamp(36px, 6vw, 68px);
  border-color: var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(215, 166, 47, 0.16), transparent 38%),
    linear-gradient(145deg, #fffefd 0%, #f3f5ef 100%);
}

.seo-place-card {
  border-color: var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.seo-method,
.coverage-report,
.restaurant-provenance {
  border-color: var(--line);
  border-radius: 30px;
  background: var(--panel);
}

.restaurant-fact-grid > div,
.coverage-stat-grid > div {
  border-color: var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.seo-related a,
.seo-inline-links a {
  border-color: var(--line);
  background: #f4f1ec;
}

.privacy-hero {
  background:
    radial-gradient(circle at 100% 0, rgba(156, 235, 207, 0.28), transparent 38%),
    linear-gradient(145deg, #fffefd 0%, #f6f1eb 100%);
}

.analytics-kpis article {
  padding: 24px;
  border-color: var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.analytics-map {
  border-color: var(--line);
  border-radius: 24px;
}

.table-scroll {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.coverage-tools .panel,
.coverage-list .card {
  background: var(--panel);
}

@media (max-width: 680px) {
  .seo-main {
    width: calc(100% - 24px);
  }

  .seo-hero {
    border-radius: 26px;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 64px;
  }

  .page:not(.home-page) {
    width: calc(100vw - 24px);
    padding-top: 26px;
  }

  .panel,
  .card,
  .pick-controls,
  .vote-panel,
  .scoreboard,
  .winner-panel,
  .decision-focus,
  .results-map-layout {
    border-radius: 20px;
  }

  .pick-intro h1,
  .vote-heading h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .filter-editor-heading {
    align-items: start;
    flex-direction: column;
  }

  .filter-editor-heading p {
    text-align: left;
  }

  .vote-submit-bar,
  .decision-dock {
    bottom: 8px;
    border-radius: 18px;
  }
}

@media (max-width: 400px) {
  .home-page .intent-card-control {
    grid-template-columns: 1fr;
  }
}

/* Search results inherit the homepage's ranked-shortlist composition. */
.filters-collapsed .pick-controls {
  border-color: rgba(17, 107, 78, 0.2);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(43, 37, 31, 0.08);
}

.filter-summary {
  gap: 10px;
}

.filter-summary-content {
  min-height: 42px;
  align-items: center;
}

.filter-summary-chips {
  gap: 7px;
}

.filter-summary-chips strong,
.filter-summary-chips span {
  min-height: 32px;
  border: 1px solid var(--line);
  background: #f3f0ea;
  color: var(--muted);
}

.filter-summary-chips strong {
  background: var(--forest-wash, #edf6f1);
  color: var(--green);
}

.filter-summary-chips .occasion-summary-chip {
  background: var(--saffron-wash, #fff8e4);
  color: #725000;
}

.pick-results-head {
  align-items: end;
  margin-top: 6px;
}

.pick-results-head h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1;
}

.results-heading-copy > p.meal-time {
  margin-top: 9px;
}

.results-head-actions .refresh-button {
  min-height: 44px;
  padding: 8px 4px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}

.results-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--card-shadow);
}

.results-panel .results-toolbar {
  min-height: 72px;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.results-panel .segmented-control {
  gap: 5px;
  padding: 4px;
  border-radius: 14px;
  background: #efede7;
}

.results-panel .segmented-control button {
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 10px;
}

.results-panel .segmented-control button[aria-pressed="true"] {
  color: var(--green);
  box-shadow: 0 4px 12px rgba(43, 37, 31, 0.08);
}

.results-panel .ordering-help {
  margin: 0;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
}

.results-panel .ordering-help summary {
  min-height: 46px;
  font-size: 13px;
}

.results-panel .ordering-help p {
  position: static;
  width: auto;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
}

.result-row-list {
  display: grid;
}

.shortlist-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease-out;
}

.shortlist-row:last-child {
  border-bottom: 0;
}

.shortlist-row:hover {
  background: #fcfaf6;
}

.shortlist-row .place-rank {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #ffdda2;
  color: #725000;
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}

.shortlist-row-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.shortlist-row .place-head {
  display: block;
}

.shortlist-row .place-title {
  min-height: 28px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.shortlist-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.shortlist-row-meta strong {
  color: var(--green);
  font-size: inherit;
  font-variant-numeric: tabular-nums;
}

.shortlist-row .food-tags {
  gap: 6px;
}

.shortlist-row .food-tags span {
  font-size: 12px;
}

.shortlist-row .result-match-reason {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.shortlist-row .place-facts {
  display: block;
  min-width: 0;
}

.shortlist-row .known-hours,
.shortlist-row .unknown-data {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shortlist-row .unknown-data {
  color: var(--muted);
}

.shortlist-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.shortlist-row-actions .button {
  min-height: 44px;
  white-space: nowrap;
}

.result-actions-menu,
.share-menu {
  position: relative;
}

.result-actions-menu > summary,
.share-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f0eee8;
  color: var(--green);
}

.result-actions-menu > summary::-webkit-details-marker,
.share-menu > summary::-webkit-details-marker {
  display: none;
}

.result-actions-menu > summary .ui-icon {
  width: 20px;
  height: 20px;
}

.result-actions-menu > div,
.share-menu-options {
  position: absolute;
  right: 0;
  z-index: 8;
  display: grid;
  min-width: max-content;
  margin-top: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 16px 34px rgba(43, 37, 31, 0.14);
}

.result-actions-menu .text-button,
.share-menu-options .text-button {
  justify-content: flex-start;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.result-actions-menu .text-button:hover,
.result-actions-menu .text-button:focus-visible,
.share-menu-options .text-button:hover,
.share-menu-options .text-button:focus-visible {
  background: var(--forest-wash, #edf6f1);
  color: var(--green);
}

.share-menu > summary {
  gap: 7px;
  padding: 0 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.share-menu > summary .ui-icon,
.share-menu-options .ui-icon {
  width: 18px;
  height: 18px;
}

.results-panel .results-map-layout {
  min-height: 580px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.results-panel .map-results-list {
  background: #faf8f4;
}

.decision-dock-copy strong {
  font-variant-numeric: tabular-nums;
}

.decision-dock-copy span:empty {
  display: none;
}

.decision-dock-actions {
  align-items: center;
}

.shortlist-share-actions,
.shortlist-share-label,
.decision-dock .share-icon-button {
  display: none;
}

@media (max-width: 680px) {
  .results-panel .results-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .results-panel .segmented-control {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .shortlist-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .shortlist-row .place-rank {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .shortlist-row-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .filters-collapsed .pick-controls {
    border-radius: 20px;
  }

  .filter-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-summary #edit-filters {
    width: 100%;
  }

  .pick-results-head {
    align-items: stretch;
  }

  .results-head-actions {
    display: flex;
  }

  .results-head-actions .refresh-button {
    width: auto;
  }

  .results-panel {
    border-radius: 24px;
  }

  .results-panel .ordering-help {
    padding-inline: 16px;
  }

  .shortlist-row {
    padding: 18px 16px;
  }

  .shortlist-row-actions {
    justify-content: space-between;
  }

  .shortlist-row-actions > .button {
    flex: 1 1 auto;
  }

  .result-actions-menu > div,
  .share-menu-options {
    right: 0;
    max-width: calc(100vw - 48px);
  }

  .results-panel .results-map-layout {
    min-height: 0;
  }

  .results-panel .result-map-frame {
    min-height: 400px;
  }

  .decision-dock-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .decision-dock-actions > .button {
    flex: 1 1 100%;
  }

  .decision-dock-actions .share-menu {
    flex: 1 1 100%;
  }

  .decision-dock-actions .share-menu > summary {
    width: 100%;
  }

  .shortlist-schedule {
    margin-top: 2px;
  }
}
