:root {
  --paper: #f7f5ee;
  --surface: #fff;
  --ink: #243d32;
  --green: #2d604a;
  --green-dark: #1c4232;
  --green-pale: #edf2e8;
  --muted: #768078;
  --line: #e5e6dc;
  --sand: #f3e8d2;
  --gold: #c69551;
  --danger: #a54432;
  --shadow: 0 12px 32px rgba(37, 61, 44, 0.055);
  --radius: 20px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #bc8c45;
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
  text-wrap: balance;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 17px;
}
svg {
  display: block;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 48px;
  font-size: 16px;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
input::placeholder,
textarea::placeholder {
  color: #a0a59c;
}
input:disabled,
textarea:disabled {
  background: #f4f4ee;
  color: #7c8379;
  cursor: not-allowed;
}
input[type="checkbox"] {
  accent-color: var(--green);
}
button:disabled {
  opacity: 0.55;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 99;
  background: var(--green);
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.site-shell {
  max-width: 792px;
  margin: 0 auto;
  padding: 0 24px 140px;
}
.brand-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  min-height: 44px;
}
.brand-mark {
  font-size: 24px;
  color: var(--green);
  line-height: 1;
}
.wordmark {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.22em;
  color: #687568;
}
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  min-height: 44px;
  color: var(--muted);
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 290px;
  border-radius: 26px;
  background: #234c3d;
  background-image: radial-gradient(
    ellipse at 90% 110%,
    #4e6b43 0,
    transparent 65%
  );
  color: #fff9eb;
  padding: 38px 34px 52px;
  box-shadow: var(--shadow);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 19px;
  pointer-events: none;
  z-index: -1;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 63%;
  max-width: 445px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.19em;
  color: #8a9586;
  margin-bottom: 12px;
}
.eyebrow.light {
  color: #c7d8b8;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.hero h1 {
  font-size: 40px;
  letter-spacing: -0.035em;
  font-weight: 650;
  line-height: 1.27;
  max-width: 430px;
}
.hero-description {
  font-size: 13px;
  color: #d6dfd0;
  line-height: 1.8;
  margin-top: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 21px;
  border: 1px solid #77917e73;
  border-radius: 99px;
  padding: 7px 11px;
  font-size: 10px;
  line-height: 1.4;
  max-width: 100%;
  background: #1c423280;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8cc8b;
  flex: 0 0 auto;
}
.dinner-art {
  position: absolute;
  right: -45px;
  top: 28px;
  width: 350px;
  height: auto;
  transform: rotate(-8deg);
  z-index: 0;
  pointer-events: none;
}
.intro-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  margin: -20px 16px 36px;
  padding: 19px 0;
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow);
  z-index: 2;
}
.intro-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  border-right: 1px solid var(--line);
  padding: 0 4px;
}
.intro-stats > div:last-child {
  border: 0;
}
.intro-stats strong {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 650;
  color: #4b6e51;
  font-variant-numeric: tabular-nums;
}
.intro-stats span {
  font-size: 11px;
  color: #8a9387;
  margin-top: 5px;
}
.intro-stats .stat-symbol {
  font-weight: 400;
  font-size: 30px;
  line-height: 1.12;
}
.view-tabs {
  display: flex;
  background: #eaece2;
  border-radius: 13px;
  padding: 4px;
  margin-bottom: 27px;
  gap: 4px;
}
.view-tab {
  flex: 1;
  background: none;
  border: 0;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 650;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  color: #778171;
}
.view-tab.active {
  background: white;
  box-shadow: 0 2px 7px #3143290b;
  color: var(--green);
}
.view-tab:disabled {
  opacity: 0.55;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.section-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 17px;
}
.selection-meter {
  white-space: nowrap;
  color: #a2a99c;
  font-size: 12px;
  align-self: flex-end;
  padding-bottom: 3px;
}
.selection-meter strong {
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--green);
  font-weight: 600;
}
.menu-tools {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  padding: 8px 0 11px;
  margin-bottom: 5px;
}
.search-wrap {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e9e9e0;
  box-shadow: 0 3px 11px #2d49210a;
  border-radius: 13px;
  position: relative;
}
.search-wrap > svg {
  width: 18px;
  height: 18px;
  stroke: #94a08f;
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
  margin-left: 16px;
}
.search-wrap input {
  border: 0;
  background: transparent;
  padding: 14px 42px 14px 11px;
  border-radius: 13px;
  font-size: 14px;
  height: 50px;
}
.search-wrap input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-wrap input:focus-visible {
  outline-offset: 0;
}
.clear-search {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 23px;
  color: var(--muted);
}
.category-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 2px 3px;
  overscroll-behavior-x: contain;
}
.category-filters::-webkit-scrollbar {
  display: none;
}
.category-chip {
  border: 1px solid transparent;
  border-radius: 99px;
  background: #ecefe5;
  color: #7d8976;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 550;
}
.category-chip.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.gentle-hint {
  background: #f3e9d6;
  color: #a58b5f;
  border-radius: 10px;
  padding: 11px 13px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.65;
  margin-bottom: 27px;
}
.gentle-hint.saved {
  background: #e8efe3;
  color: #54714b;
}
.menu-category {
  margin: 0 0 31px;
  scroll-margin-top: 130px;
}
.category-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 13px;
  gap: 14px;
}
.category-index {
  font-size: 9px;
  letter-spacing: 0.17em;
  color: #aaae9f;
  margin-bottom: 5px;
}
.category-title h3 {
  font-size: 18px;
  font-weight: 650;
}
.category-total {
  font-size: 10px;
  color: #929c89;
  white-space: nowrap;
  margin-bottom: 2px;
}
.dish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.dish-option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 59px;
  gap: 9px;
  padding: 13px 13px;
  background: #fff;
  border: 1px solid #e8e9de;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.dish-option:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.dish-option:has(input:checked) {
  background: #eaf0e2;
  border-color: #77996c;
}
.dish-option:has(input:disabled) {
  cursor: default;
}
.dish-option:has(input:disabled):not(:has(input:checked)) {
  opacity: 0.65;
}
.dish-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.dish-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
  overflow-wrap: anywhere;
}
.dish-indicator {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid #e4e8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #a5b296;
  font-size: 17px;
  line-height: 1;
  background: #f9faf6;
}
.dish-option:has(input:checked) .dish-indicator {
  background: var(--green);
  border-color: var(--green);
  color: white;
  font-size: 12px;
}
.suggestion-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 11px;
  padding: 22px;
  background: #f0f0e5;
  border: 1px solid #e4e7d8;
  border-radius: 16px;
  margin-top: 10px;
}
.suggestion-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #79915c;
  background: #e4e9d5;
  border-radius: 10px;
  font-size: 22px;
}
.suggestion-card h3 {
  font-size: 15px;
  margin-top: 1px;
}
.suggestion-card p {
  font-size: 11px;
  color: #8b927f;
  margin-top: 5px;
  line-height: 1.7;
}
.optional {
  font-size: 11px;
  color: #8c9684;
  font-weight: 400;
}
.suggestion-card textarea,
.suggestion-card .field-note {
  grid-column: 1/-1;
}
.suggestion-card textarea {
  font-size: 14px;
  min-height: 95px;
  background: #ffffffb0;
  margin-top: 5px;
}
.field-note {
  display: block;
  font-size: 11px;
  color: #8b9386;
  line-height: 1.8;
}
.privacy-note {
  font-size: 11px;
  color: #959c8c;
  line-height: 1.8;
  margin: 18px 4px 0;
  display: flex;
  gap: 7px;
}
.privacy-note > span {
  font-size: 17px;
  flex-shrink: 0;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 38px;
  font-size: 10px;
  color: #98a08f;
}
.site-footer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #7d8f74;
}
.submit-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  padding: 0 14px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
  background: linear-gradient(transparent, #f7f5ee 80%);
}
.submit-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  background: #fffffff5;
  backdrop-filter: blur(18px);
  border: 1px solid #eceee5;
  border-radius: 18px;
  box-shadow: 0 -3px 32px #29412910;
  padding: 13px 16px;
  pointer-events: auto;
}
.submit-summary {
  min-width: 0;
  flex: 1;
}
.submit-summary strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.submit-summary span {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: #96a08c;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}
.button.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 5px 15px #2d604a19;
}
.button.primary:hover:not(:disabled) {
  background: var(--green-dark);
}
.button.secondary {
  background: white;
  border-color: #dce3d3;
  color: #4f6c47;
}
.button.secondary:hover:not(:disabled) {
  background: #f3f6ec;
}
.button.danger-outline {
  background: #fff9f5;
  border-color: #e6cabf;
  color: var(--danger);
}
.button.compact {
  min-height: 44px;
  font-size: 12px;
  padding: 10px 13px;
}
.button.full-width {
  width: 100%;
}
.submit-button {
  min-width: 167px;
  justify-content: space-between;
  white-space: nowrap;
}
.button.primary:disabled {
  background: #a0b29a;
  box-shadow: none;
  opacity: 1;
}
.text-button {
  border: 0;
  background: none;
  font-size: 12px;
  min-height: 44px;
  padding: 9px;
  color: var(--green);
  font-weight: 650;
}
.text-button.muted {
  color: #929b89;
}
.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  font-size: 26px;
  color: var(--green);
}
.notice {
  display: block;
  background: #edf2e5;
  border: 1px solid #dce5cf;
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #57724c;
  overflow-wrap: anywhere;
}
.notice.error {
  background: #fff2eb;
  border-color: #efd2c3;
  color: #a0523b;
}
.notice.soft {
  background: #f6f4e9;
  border-color: #e9e5d3;
  color: #8e805a;
}
.draft-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.draft-notice > div {
  display: flex;
  gap: 0;
  white-space: nowrap;
}
.loading-state {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 42px 12px;
  font-size: 13px;
  color: #7a8871;
}
.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid #dbe4d1;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.error-panel,
.empty-state {
  padding: 35px 24px;
  text-align: center;
  border: 1px dashed #d9dfce;
  border-radius: 16px;
  margin: 20px 0;
  color: #6e7c62;
}
.error-panel h2,
.empty-state h3 {
  font-size: 18px;
  margin: 13px 0 8px;
}
.error-panel p,
.empty-state p {
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.error-symbol,
.empty-state > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  border-radius: 50%;
  background: #e8eadd;
  color: #879775;
}
.toast {
  position: fixed;
  bottom: calc(110px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(90vw, 430px);
  width: max-content;
  background: #233f32;
  color: #fffbed;
  border-radius: 13px;
  padding: 13px 18px;
  font-size: 12px;
  line-height: 1.7;
  box-shadow: 0 8px 32px #152b272a;
  text-align: center;
  overflow-wrap: anywhere;
}
.results-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 22px;
  margin: 22px 0 15px;
}
.results-stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.results-stats strong {
  font-size: 32px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.results-stats span {
  font-size: 11px;
  color: #8e9885;
}
.results-stats .results-stats-note {
  font-size: 11px;
  align-self: center;
  color: #8f9a83;
  line-height: 1.9;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.chart-note {
  font-size: 11px;
  line-height: 1.8;
  color: #8c9681;
  margin: 12px 0 22px;
}
.ranking-list {
  margin-bottom: 20px;
}
.rank-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.rank-number {
  font-size: 13px;
  font-weight: 600;
  color: #a3ad97;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.rank-row:nth-child(-n + 3) .rank-number {
  color: #a27b45;
  background: #efe5cc;
  border-radius: 8px;
  padding: 5px 0;
}
.rank-body {
  min-width: 0;
}
.rank-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.rank-name {
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.rank-category {
  font-size: 9px;
  color: #9aa48c;
  white-space: nowrap;
  align-self: center;
}
.rank-track {
  height: 6px;
  border-radius: 99px;
  background: #e9eddf;
  overflow: hidden;
}
.rank-fill {
  height: 100%;
  min-width: 0;
  border-radius: 99px;
  background: #a6bc91;
  transition: width 0.25s;
}
.rank-row:nth-child(-n + 3) .rank-fill {
  background: #628957;
}
.rank-count {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 12px;
  min-width: 46px;
}
.rank-count strong {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.rank-count span {
  font-size: 10px;
  color: #98a287;
  margin-top: 2px;
}
.last-updated {
  font-size: 10px;
  color: #99a28f;
  line-height: 1.8;
  margin: 14px 0;
}
.noscript-note {
  padding: 24px;
  margin: 20px;
  background: #fff0dd;
  border: 1px solid #e1cbab;
  border-radius: 12px;
}
.form-error {
  color: var(--danger);
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  margin: 10px 0;
}
.small-muted {
  font-size: 11px;
  color: #929d87;
  white-space: nowrap;
}
/* Organizer: mobile first, the same warm paper and forest green. */
.admin-shell {
  max-width: 1050px;
  padding-bottom: 45px;
}
.admin-body .site-footer {
  margin-top: 35px;
}
.login-card {
  max-width: 420px;
  margin: 28px auto 55px;
  background: white;
  border: 1px solid #e7e9dd;
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: var(--shadow);
}
.login-emblem {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #edf2e6;
  color: #6c8659;
  font-size: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}
.login-card h1 {
  font-size: 31px;
  letter-spacing: -0.04em;
}
.login-description {
  font-size: 12px;
  color: #87927d;
  margin: 13px 0 29px;
}
.login-card label {
  font-size: 12px;
  font-weight: 650;
  display: block;
  margin: 0 0 8px;
}
.login-card .button {
  margin-top: 19px;
}
.login-card > .field-note {
  margin-top: 22px;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 22px 0 29px;
}
.admin-heading .eyebrow {
  margin-bottom: 7px;
}
.admin-heading h1 {
  font-size: 31px;
  letter-spacing: -0.035em;
}
.admin-heading p:not(.eyebrow) {
  font-size: 12px;
  color: #8b9680;
  margin-top: 10px;
}
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.poll-selector-card {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 19px;
}
.poll-selector-card .field-group {
  flex: 1;
}
.poll-selector-card select {
  background: #f9faf5;
  max-width: 100%;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field-group > label,
.catalog-fieldset > legend {
  font-size: 12px;
  font-weight: 650;
}
.status-badge {
  font-size: 11px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  background: #edf3e6;
  color: #668256;
  border-radius: 99px;
  padding: 7px 11px;
  margin-bottom: 9px;
}
.status-badge.closed {
  background: #f0eee6;
  color: #98917c;
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 12px;
}
.admin-stat {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  padding: 22px;
  min-width: 0;
}
.admin-stat > span {
  font-size: 11px;
  color: #8e9982;
}
.admin-stat strong {
  display: block;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  margin: 11px 0 8px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.admin-stat small {
  font-size: 10px;
  color: #a0a891;
}
.favorite-stat {
  background: #eaf0e2;
  border-color: #dce6ce;
}
.favorite-stat strong {
  font-size: 20px;
  line-height: 1.5;
  margin-top: auto;
  overflow-wrap: anywhere;
}
.favorite-stat > span {
  margin-bottom: 11px;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 17px 0 20px;
  flex-wrap: wrap;
}
.admin-toolbar .last-updated {
  margin: 0;
}
.export-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-tabs {
  max-width: 490px;
  margin-bottom: 18px;
}
.admin-content-panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 24px;
}
.admin-content-panel h2 {
  font-size: 20px;
}
.admin-content-panel .ranking-list {
  margin-bottom: 0;
}
.admin-content-panel .rank-row:last-child {
  margin-bottom: 0;
}
.ballot-card {
  border: 1px solid #e7eadf;
  border-radius: 13px;
  padding: 16px;
  margin-top: 12px;
  background: #fcfdf9;
}
.ballot-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #98a48a;
  margin-bottom: 11px;
}
.ballot-meta strong {
  font-size: 11px;
  color: #6c805c;
  font-weight: 650;
}
.ballot-choices {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ballot-choices span {
  font-size: 11px;
  background: #edf2e5;
  color: #6d845c;
  border-radius: 6px;
  padding: 5px 8px;
  overflow-wrap: anywhere;
}
.ballot-suggestion {
  font-size: 12px;
  color: #8e805e;
  line-height: 1.8;
  background: #f6f0e0;
  border-radius: 8px;
  padding: 9px 11px;
  margin-top: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.stacked-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}
.stacked-form > .notice {
  margin-bottom: 0;
}
.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}
.settings-footnote {
  margin-top: 18px;
}
.new-poll-card {
  margin-top: 28px;
  border: 1px solid #dce3d0;
  border-radius: 19px;
  background: #f0f3e7;
  overflow: hidden;
}
.new-poll-card details {
  padding: 24px;
}
.new-poll-card summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}
.new-poll-card summary::-webkit-details-marker {
  display: none;
}
.new-poll-card summary .eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #8c9b7b;
}
.new-poll-card h2 {
  font-size: 20px;
}
.new-poll-card summary p {
  font-size: 11px;
  color: #8e9a7e;
  margin-top: 7px;
}
.expand-icon {
  font-size: 25px;
  align-self: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #e5ebd8;
  display: grid;
  place-items: center;
  border-radius: 12px;
  transition: transform 0.2s;
}
.new-poll-card details[open] .expand-icon {
  transform: rotate(45deg);
}
.new-poll-card .stacked-form {
  border-top: 1px solid #dce3d0;
  padding-top: 23px;
  margin-top: 22px;
}
.new-poll-card .stacked-form > .button {
  align-self: flex-start;
}
.form-columns {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.2fr;
  gap: 14px;
}
.catalog-fieldset {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.catalog-fieldset > legend {
  padding: 0;
  margin-bottom: 5px;
}
.catalog-actions {
  display: flex;
  gap: 3px;
  justify-content: flex-end;
}
.admin-catalog {
  max-height: 390px;
  overflow: auto;
  border: 1px solid #dbe3ce;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  overscroll-behavior: contain;
}
.catalog-category + .catalog-category {
  margin-top: 20px;
}
.catalog-category h3 {
  font-size: 12px;
  color: #6d825b;
  margin-bottom: 7px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px 10px;
}
.catalog-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
}
.catalog-option input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin: 0;
}
.catalog-option span {
  overflow-wrap: anywhere;
}
.admin-body .toast {
  bottom: 30px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (hover: hover) {
  .dish-option:hover:not(:has(input:disabled)) {
    border-color: #a6b794;
    background: #f8faf2;
  }
  .dish-option:has(input:checked):hover {
    background: #e4eddc;
  }
  .category-chip:not(.active):hover {
    background: #e1e8d6;
  }
  .brand:hover,
  .header-link:hover,
  .site-footer a:hover {
    color: var(--green);
  }
}
@media (min-width: 680px) {
  .dish-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-description {
    max-width: 295px;
  }
  .hero h1 {
    max-width: 355px;
  }
  .suggestion-card {
    padding: 25px;
  }
  .hero {
    min-height: 295px;
  }
  .menu-tools {
    padding-top: 13px;
  }
  .rank-row {
    gap: 15px;
  }
}
@media (max-width: 600px) {
  .site-shell {
    padding: 0 18px 130px;
  }
  .brand-header {
    height: 67px;
  }
  .brand {
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .wordmark {
    font-size: 9px;
    letter-spacing: 0.16em;
  }
  .brand-mark {
    font-size: 22px;
  }
  .hero {
    min-height: 264px;
    border-radius: 21px;
    padding: 27px 23px 49px;
  }
  .hero:after {
    inset: 9px;
    border-radius: 15px;
  }
  .hero-copy {
    width: 78%;
  }
  .hero h1 {
    font-size: 32px;
    max-width: 255px;
    line-height: 1.3;
  }
  .hero-description {
    font-size: 11px;
    max-width: 220px;
    margin-top: 13px;
    padding-right: 8px;
  }
  .eyebrow.light {
    font-size: 9px;
  }
  .hero-status {
    font-size: 9px;
    max-width: 235px;
    margin-top: 18px;
    padding: 6px 9px;
  }
  .dinner-art {
    width: 252px;
    right: -84px;
    top: 65px;
    opacity: 0.7;
    transform: rotate(-15deg);
  }
  .hero-copy:after {
    content: "";
    position: absolute;
    inset: -10px -5px -15px -15px;
    z-index: -1;
    background: linear-gradient(90deg, #234c3d 55%, transparent);
    pointer-events: none;
  }
  .intro-stats {
    margin: -18px 9px 28px;
    padding: 17px 0;
    border-radius: 0 0 17px 17px;
  }
  .intro-stats strong {
    font-size: 24px;
  }
  .intro-stats span {
    font-size: 10px;
  }
  .intro-stats .stat-symbol {
    font-size: 28px;
  }
  .view-tabs {
    margin-bottom: 25px;
  }
  .view-tab {
    font-size: 12px;
  }
  h2 {
    font-size: 23px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .section-description {
    font-size: 11px;
  }
  .dish-name {
    font-size: 12px;
  }
  .dish-option {
    padding: 12px 10px;
    gap: 7px;
    min-height: 61px;
  }
  .dish-grid {
    gap: 8px;
  }
  .category-title h3 {
    font-size: 17px;
  }
  .category-chip {
    font-size: 10px;
    padding: 9px 11px;
  }
  .menu-category {
    margin-bottom: 27px;
  }
  .suggestion-card {
    padding: 18px;
    gap: 10px;
  }
  .suggestion-card h3 {
    font-size: 14px;
  }
  .suggestion-card p {
    font-size: 10px;
  }
  .suggestion-card textarea {
    font-size: 13px;
  }
  .privacy-note {
    font-size: 10px;
  }
  .submit-bar {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  .submit-inner {
    padding: 12px;
    gap: 10px;
    border-radius: 16px;
  }
  .submit-summary strong {
    font-size: 13px;
  }
  .submit-summary span {
    font-size: 9px;
    max-width: 145px;
  }
  .submit-button {
    min-width: 157px;
    padding: 13px 14px;
    font-size: 12px;
  }
  .site-footer {
    margin-top: 27px;
    font-size: 9px;
    gap: 10px;
  }
  .draft-notice {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 0;
  }
  .draft-notice .text-button {
    font-size: 11px;
    padding: 6px 8px;
  }
  .results-stats {
    gap: 10px;
    padding: 19px 16px;
  }
  .results-stats strong {
    font-size: 29px;
  }
  .results-stats .results-stats-note {
    font-size: 9px;
    padding-left: 12px;
  }
  .rank-row {
    gap: 9px;
    grid-template-columns: 24px minmax(0, 1fr) auto;
  }
  .rank-name {
    font-size: 12px;
  }
  .rank-category {
    display: none;
  }
  .rank-count {
    font-size: 11px;
    min-width: 43px;
  }
  .rank-count span {
    font-size: 9px;
  }
  .chart-note {
    font-size: 10px;
  }
  .admin-shell {
    padding-bottom: 35px;
  }
  .login-card {
    padding: 28px 24px;
    margin-top: 18px;
  }
  .admin-heading {
    margin-top: 16px;
    gap: 12px;
    align-items: flex-start;
  }
  .admin-heading h1 {
    font-size: 27px;
  }
  .admin-heading p:not(.eyebrow) {
    font-size: 11px;
  }
  .admin-heading .eyebrow {
    font-size: 9px;
  }
  .admin-header-actions {
    gap: 2px;
    margin-top: 12px;
  }
  .admin-header-actions .button {
    padding: 8px 12px;
    font-size: 11px;
  }
  .admin-header-actions .text-button {
    font-size: 11px;
  }
  .poll-selector-card {
    padding: 14px;
    gap: 9px;
  }
  .poll-selector-card select {
    font-size: 13px;
    padding: 12px 30px 12px 10px;
  }
  .poll-selector-card .field-group > label {
    font-size: 11px;
  }
  .status-badge {
    font-size: 10px;
    padding: 6px 8px;
  }
  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .admin-stat {
    padding: 18px;
    border-radius: 14px;
  }
  .admin-stat strong {
    font-size: 33px;
  }
  .favorite-stat {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
    align-items: center;
  }
  .favorite-stat > span {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 6px;
  }
  .favorite-stat strong {
    grid-column: 1;
    grid-row: 2;
    font-size: 17px;
    margin: 0;
  }
  .favorite-stat small {
    grid-column: 2;
    grid-row: 1/3;
    text-align: right;
    font-size: 10px;
  }
  .admin-toolbar {
    gap: 12px;
    margin-bottom: 17px;
  }
  .admin-toolbar .last-updated {
    width: 100%;
  }
  .export-actions {
    width: 100%;
    gap: 8px;
  }
  .export-actions .button {
    flex: 1;
    font-size: 11px;
    padding: 10px 8px;
  }
  .admin-tabs {
    margin-bottom: 14px;
  }
  .admin-tabs .view-tab {
    font-size: 11px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .admin-content-panel {
    padding: 18px 16px;
    border-radius: 15px;
  }
  .admin-content-panel h2 {
    font-size: 18px;
  }
  .new-poll-card details {
    padding: 20px 17px;
  }
  .new-poll-card h2 {
    font-size: 18px;
  }
  .new-poll-card summary p {
    font-size: 10px;
  }
  .new-poll-card summary .eyebrow {
    font-size: 9px;
  }
  .form-columns {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-option {
    font-size: 11px;
  }
  .admin-catalog {
    padding: 13px;
  }
  .ballot-meta {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .ballot-choices span {
    font-size: 10px;
  }
  .ballot-suggestion {
    font-size: 11px;
  }
  .settings-actions .button {
    font-size: 12px;
    padding: 11px 13px;
  }
  .field-group > label {
    font-size: 11px;
  }
  .new-poll-card .stacked-form > .button {
    width: 100%;
  }
  .settings-footnote {
    font-size: 10px;
  }
}
@media (max-width: 359px) {
  .site-shell {
    padding-left: 13px;
    padding-right: 13px;
  }
  .wordmark {
    font-size: 8px;
  }
  .hero {
    padding-left: 20px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-copy {
    width: 84%;
  }
  .dinner-art {
    right: -105px;
  }
  .submit-button {
    min-width: 143px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .dish-option {
    padding: 10px 8px;
  }
  .dish-name {
    font-size: 11px;
  }
  .dish-indicator {
    width: 20px;
    height: 20px;
  }
  .selection-meter strong {
    font-size: 25px;
  }
  .submit-summary span {
    max-width: 127px;
  }
  .favorite-stat {
    grid-template-columns: 1fr;
  }
  .favorite-stat small {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
    margin-top: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .brand-header,
  .site-footer,
  .submit-bar,
  .view-tabs,
  .menu-tools,
  .admin-header-actions,
  .export-actions,
  .new-poll-card,
  .settings-actions {
    display: none !important;
  }
  .site-shell {
    max-width: none;
    padding: 0;
  }
  .admin-content-panel {
    border: 0;
  }
  .rank-row {
    break-inside: avoid;
  }
  .admin-stat-grid {
    break-inside: avoid;
  }
}

/* Keep mobile text controls at 16px to avoid focus zoom while preserving pinch zoom. */
@media (max-width: 600px) {
  input:not([type="checkbox"]):not([type="radio"]),
  textarea,
  select,
  .search-wrap input,
  .suggestion-card textarea,
  .poll-selector-card select {
    font-size: 16px;
  }
}
