:root{
  --bg:#fffdf9;
  --surface:#ffffff;
  --surface-soft:#fff7eb;
  --surface-strong:#f7ecd9;
  --text:#36291d;
  --muted:#796a59;
  --muted-2:#8b7b69;
  --line:#ebdcc6;
  --accent:#ffe8bd;
  --accent-strong:#ffdaa2;
  --accent-border:#ebc99d;
  --accent-text:#ba480d;
  --danger-bg:#fff3f1;
  --danger-line:#efd6d1;
  --radius-lg:24px;
  --radius-md:17px;
  --radius-sm:13px;
  --shadow:0 8px 24px rgba(20,24,32,.045);
  --shadow-soft:0 2px 10px rgba(20,24,32,.035);
}

*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%}
body{
  margin:0;
  min-height:100vh;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","Yu Gothic UI",Meiryo,sans-serif;
  color:var(--text);
  background:var(--bg);
  font-weight:400;
  padding-bottom:calc(30px + env(safe-area-inset-bottom));
}
button,input,select,textarea{font:inherit}
button{touch-action:manipulation}
a{color:inherit}
[hidden]{display:none!important}
:focus-visible{outline:3px solid rgba(89,151,204,.22);outline-offset:2px}

/* Header: app-like, quiet, no fixed navigation */
.topbar{
  width:min(100%,760px);
  margin:0 auto;
  padding:calc(22px + env(safe-area-inset-top)) 20px 10px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  background:transparent;
}
.eyebrow{
  margin-bottom:5px;
  color:var(--muted);
  font-size:11px;
  font-weight:500;
  letter-spacing:.08em;
}
h1{
  margin:0;
  font-size:25px;
  line-height:1.24;
  letter-spacing:-.025em;
  font-weight:600;
}
h1 span{
  color:var(--muted-2);
  font-size:12px;
  font-weight:500;
  vertical-align:middle;
}
.top-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:7px;
}
.top-link{
  flex:0 0 auto;
  border:0;
  border-radius:14px;
  background:var(--surface);
  color:#575b61;
  padding:10px 12px;
  font-size:12px;
  font-weight:500;
  box-shadow:var(--shadow-soft);
}

/* Main cards */
.wrap{
  width:min(100%,760px);
  margin:0 auto;
  padding:10px 16px 40px;
}
.hero,
.controls{
  background:var(--surface);
  border:1px solid rgba(229,230,233,.78);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
}
.hero{
  padding:22px 18px 18px;
  margin-bottom:16px;
}
.controls{
  padding:20px 18px 18px;
  margin-bottom:22px;
}
.results-section{margin-bottom:22px}
.service-overview{
  margin:0 0 22px;
  padding:18px 18px 17px;
  border:1px solid rgba(229,230,233,.75);
  border-radius:var(--radius-lg);
  background:var(--surface);
  box-shadow:var(--shadow);
}
.service-overview h2{
  margin:0 0 9px;
  font-size:15px;
  line-height:1.4;
  font-weight:600;
  letter-spacing:-.01em;
}
.service-overview p{
  margin:0;
  color:#656a71;
  font-size:10.5px;
  line-height:1.75;
}
.service-overview p+p{margin-top:7px}

.lead{
  margin:0 0 18px;
  font-size:20px;
  line-height:1.55;
  letter-spacing:-.015em;
  font-weight:500;
  color:#2a2d31;
}
.privacy-note{
  margin:0 0 16px;
  padding:13px 14px;
  border:0;
  border-radius:15px;
  background:var(--surface-soft);
}
.privacy-title{
  display:block;
  color:#51555b;
  font-size:12px;
  line-height:1.45;
  font-weight:500;
}
.privacy-note p{
  margin:4px 0 0;
  color:var(--muted-2);
  font-size:10.5px;
  line-height:1.55;
}

/* Paidy-like segmented control, adapted to this app */
.search-mode{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  padding:4px;
  margin-bottom:14px;
  border-radius:16px;
  background:var(--surface-strong);
}
.search-mode-button{
  min-height:43px;
  border:0;
  border-radius:13px;
  background:transparent;
  color:#6e7279;
  font-size:13px;
  font-weight:500;
}
.search-mode-button[aria-pressed="true"]{
  background:var(--surface);
  color:#36291d;
  box-shadow:0 1px 4px rgba(20,24,32,.08);
}
#currentSearchPanel{margin-top:2px}
.primary-button{
  width:100%;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--accent-border);
  border-radius:16px;
  background:var(--accent);
  color:var(--accent-text);
  box-shadow:none;
  font-size:15px;
  font-weight:500;
}
.primary-button:active{background:var(--accent-strong)}
.primary-button:disabled{opacity:.55}
.status{
  min-height:17px;
  margin:9px 2px 0;
  color:var(--muted-2);
  text-align:center;
  font-size:10.5px;
  line-height:1.45;
}

.place-search-panel{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  gap:9px;
}
.place-search-panel input{
  width:100%;
  min-height:50px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--surface-soft);
  color:var(--text);
  padding:0 14px;
  font-size:14px;
}
.place-search-panel input::placeholder{color:#a2a6ac}
.place-suggestions{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface);
  box-shadow:0 12px 28px rgba(20,24,32,.10);
}
.place-suggestion{
  width:100%;
  display:grid;
  gap:2px;
  border:0;
  border-bottom:1px solid var(--line);
  background:var(--surface);
  color:var(--text);
  padding:12px 14px;
  text-align:left;
  font-size:13px;
}
.place-suggestion:last-child{border-bottom:0}
.place-suggestion small{color:var(--muted);font-size:10px}

/* Tabs and choices share one uninterrupted white surface. */
.benefit-window{margin-bottom:22px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}
.benefit-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:8px 10px 0;border-bottom:1px solid var(--line)}
.benefit-tab{position:relative;min-width:0;margin:0;padding:14px 5px;min-height:48px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:15px;font-weight:400;line-height:1.5;cursor:pointer;white-space:nowrap}
.benefit-tab[aria-selected="true"]{color:var(--accent-text);font-weight:500}
.benefit-tab[aria-selected="true"]::after{content:"";position:absolute;left:20px;right:20px;bottom:-1px;height:2px;border-radius:2px;background:var(--accent-text)}
.benefit-body{padding:20px 22px 22px}
.benefit-body .section-title-row,.benefit-selection-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.benefit-body .selection-summary{margin-left:0;font-size:12px;font-weight:400;color:#843f55}
.selection-hint{margin-left:auto;font-size:12px;color:var(--muted);white-space:nowrap}
#expiryPanel{min-height:76px}
@media(max-width:520px){
  .benefit-tab{font-size:13px;padding:12px 3px}
  .benefit-tab[aria-selected="true"]::after{left:12px;right:12px}
  .benefit-body{padding:16px 14px 18px}
}

/* Benefit selector */
.section-title-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.section-title-row h2{
  margin:0;
  font-size:18px;
  line-height:1.35;
  font-weight:600;
  letter-spacing:-.015em;
}
.selection-summary,
.result-count{
  margin-left:auto;
  color:var(--muted);
  font-size:11px;
  font-weight:500;
}
.text-button{
  border:0;
  background:transparent;
  color:var(--accent-text);
  padding:6px 0 6px 8px;
  font-size:11px;
  font-weight:500;
}
.chips{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  width:100%;
  padding:15px 0 8px;
}
.chip{
  width:100%;
  min-width:0;
  min-height:51px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border:1px solid transparent;
  border-radius:15px;
  background:var(--surface-soft);
  color:#45494f;
  padding:9px 11px;
}
.chip-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:500;
  text-align:left;
}
.chip-state{
  flex:0 0 auto;
  color:var(--muted-2);
  font-size:9.5px;
  font-weight:400;
}
.chip[aria-pressed="true"]{
  border-color:var(--accent-border);
  background:var(--accent);
  color:#ba480d;
}
.chip[aria-pressed="true"] .chip-state{color:#796a59}

.radius-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:8px;
  padding-top:15px;
  border-top:1px solid var(--line);
}
.radius-row label{
  color:#4a4e54;
  font-size:12px;
  font-weight:500;
}
.radius-row select{
  min-width:116px;
  min-height:40px;
  border:0;
  border-radius:13px;
  background:var(--surface-soft);
  color:#383c42;
  padding:0 34px 0 12px;
  font-size:12px;
  font-weight:500;
}

/* Results */
.category-row{margin:0 0 16px}
.category-filters{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px;
  padding:4px;
  border-radius:17px;
  background:var(--surface-strong);
}
.category-filter{
  position:relative;
  min-height:39px;
  border:0;
  border-radius:13px;
  background:transparent;
  color:#74787f;
  font-size:11px;
  font-weight:500;
}
.category-filters:has(.category-count){padding-top:26px;row-gap:24px}
.category-count{position:absolute;top:-20px;left:50%;transform:translateX(-50%);padding:3px 9px;border-radius:10px;background:#945025;color:white;font-size:11px;font-weight:700;white-space:nowrap;line-height:1.4}
.category-count::after{content:'';position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);border:4px solid transparent;border-top-color:#945025;border-bottom:0}
.category-filter[data-empty="true"] .category-count{background:#e0d5c5;color:#6b6257}
.category-filter[data-empty="true"] .category-count::after{border-top-color:#e0d5c5}
.category-filter[aria-pressed="true"]{
  background:var(--surface);
  color:#25282d;
  box-shadow:0 1px 4px rgba(20,24,32,.07);
}
.sticky-title{
  margin:0 3px 11px;
  padding:0;
}
.results{
  display:flex;
  flex-direction:column;
  gap:11px;
}
.card{
  overflow:hidden;
  border:1px solid rgba(229,230,233,.75);
  border-radius:21px;
  background:var(--surface);
  box-shadow:var(--shadow);
  padding:17px 16px 13px;
}
.card-top{
  display:flex;
  align-items:flex-start;
  gap:14px;
}
.distance{
  flex:0 0 70px;
  color:#2d3136;
  font-size:19px;
  line-height:1.15;
  font-weight:600;
  letter-spacing:-.025em;
}
.distance small{
  display:block;
  margin-top:5px;
  color:var(--muted-2);
  font-size:9px;
  line-height:1.35;
  font-weight:400;
}
.store{min-width:0;flex:1}
.store-name{
  margin:0;
  font-size:15.5px;
  line-height:1.42;
  font-weight:500;
  letter-spacing:-.01em;
  word-break:break-word;
}
.store-link{text-decoration:none}
.store-address{
  margin:5px 0 0;
  color:var(--muted);
  font-size:10.5px;
  line-height:1.5;
}
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}
.badge{
  border-radius:999px;
  background:#f1f2f4;
  color:#686d73;
  padding:5px 8px;
  font-size:9px;
  line-height:1;
  font-weight:500;
}
.badge.company{
  background:var(--accent);
  color:var(--accent-text);
}
.badge.beta{
  background:#f5f5f6;
  color:#8b8f95;
}
/* Saint Marc's per-store card percentage; existing issuer styling is unchanged. */
.badge.discount-20{
  background:#b3262d;
  color:#fff;
  font-weight:600;
  font-size:10px;
}
.badge.discount-10{
  background:#e9eaec;
  color:#41464d;
  font-weight:600;
  font-size:10px;
}
.card-actions{
  display:flex;
  align-items:center;
  gap:22px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.card-actions a,
.card-actions button{
  width:auto;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#696d74;
  text-decoration:none;
  font-size:11px;
  line-height:1.5;
  font-weight:500;
  text-align:left;
}
.card-actions a{color:var(--accent-text)}
.empty-state{
  min-height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(229,230,233,.75);
  border-radius:21px;
  background:var(--surface);
  box-shadow:var(--shadow);
  color:var(--muted);
  text-align:center;
}
.empty-state p{
  margin:0;
  font-size:12px;
  line-height:1.75;
}
.error-box{
  padding:16px;
  border:1px solid var(--danger-line);
  border-radius:16px;
  background:var(--danger-bg);
  color:#765650;
  font-size:12px;
  line-height:1.65;
}

/* Dialogs */
.privacy-dialog,
.feedback-dialog,
.history-dialog{
  width:min(92vw,560px);
  max-height:84vh;
  border:0;
  border-radius:26px;
  background:var(--surface);
  padding:0;
  box-shadow:0 24px 70px rgba(0,0,0,.20);
}
.privacy-dialog::backdrop,
.feedback-dialog::backdrop,
.history-dialog::backdrop{
  background:rgba(20,22,26,.36);
  backdrop-filter:blur(3px);
}
.dialog-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 18px 10px;
}
.dialog-head h2{
  margin:0;
  font-size:18px;
  font-weight:600;
}
.icon-button{
  width:38px;
  height:38px;
  border:0;
  border-radius:13px;
  background:var(--surface-soft);
  color:#555a60;
  font-size:20px;
}
.dialog-body{
  padding:0 18px 20px;
  color:#45494f;
  font-size:12px;
  line-height:1.7;
}
.dialog-body ul{padding-left:20px}
.dialog-body li{margin:7px 0}
.secondary-button{
  display:block;
  margin-top:14px;
  border:1px solid var(--accent-border);
  border-radius:15px;
  background:var(--accent);
  color:var(--accent-text);
  padding:12px;
  text-align:center;
  text-decoration:none;
  font-size:13px;
  font-weight:500;
}

.dialog-subtitle{
  margin:4px 0 0;
  color:var(--muted);
  font-size:10.5px;
  line-height:1.45;
}
.history-body{
  max-height:calc(84vh - 72px);
  overflow:auto;
  padding:4px 18px 20px;
}
.history-controls{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
.history-controls label{
  display:grid;
  gap:6px;
  color:#666a71;
  font-size:10.5px;
}
.history-controls select{
  width:100%;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--surface-soft);
  color:var(--text);
  padding:0 10px;
  font-size:12px;
}
.history-status{
  margin:13px 2px 9px;
  color:var(--muted);
  font-size:10.5px;
}
.history-list{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.history-item{
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface-soft);
  padding:13px;
}
.history-item-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.history-item-head time{
  color:var(--muted);
  font-size:10px;
}
.history-kind{
  border-radius:999px;
  padding:5px 8px;
  background:#eef0f2;
  color:#62676e;
  font-size:9px;
  line-height:1;
  font-weight:500;
}
.history-kind.added{background:#eef6f1;color:#4d6e59}
.history-kind.removed{background:#faf0ef;color:#805e59}
.history-kind.changed{background:#eef3f8;color:#536d84}
.history-store{
  margin-top:8px;
  color:#2f3338;
  font-size:13.5px;
  line-height:1.45;
  font-weight:600;
}
.history-address{
  margin-top:3px;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}
.history-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 10px;
  margin-top:8px;
  color:#71767d;
  font-size:9.5px;
}
.history-brand{color:#777c83}
.history-detail{
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid var(--line);
  color:#5f646b;
  font-size:10.5px;
  line-height:1.5;
}
.history-empty{
  min-height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface-soft);
  color:var(--muted);
  text-align:center;
  font-size:11px;
}
.history-pagination{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  margin-top:12px;
}
.history-pagination button{
  min-height:39px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  color:#555a61;
  font-size:10.5px;
}
.history-pagination button:disabled{opacity:.35}
.history-pagination span{
  min-width:52px;
  color:var(--muted);
  text-align:center;
  font-size:10px;
}
.history-note{
  margin:11px 2px 0;
  color:var(--muted-2);
  font-size:9px;
  line-height:1.55;
}

.feedback-form{
  display:grid;
  gap:13px;
  padding:0 18px 20px;
}
.feedback-intro,.feedback-note{
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.6;
}
.feedback-form label{
  display:grid;
  gap:6px;
  color:#666a71;
  font-size:11px;
}
.feedback-form input,
.feedback-form select,
.feedback-form textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface-soft);
  color:var(--text);
  padding:11px 12px;
  font-size:13px;
}
.feedback-form textarea{resize:vertical}
.feedback-submit{margin-top:2px}

/* Footer */
.footer{
  width:min(100%,760px);
  margin:8px auto 0;
  padding:0 18px 30px;
  color:#91959b;
  text-align:center;
  font-size:9.5px;
  line-height:1.65;
}
.footer a,.footer-button{color:#7e8288}
.footer-button{
  border:0;
  background:transparent;
  padding:0;
  font:inherit;
  text-decoration:underline;
}
.footer p{margin:8px 0 0}

/* Privacy page */
.policy{
  background:var(--surface);
  border:1px solid rgba(229,230,233,.75);
  border-radius:24px;
  padding:20px;
  line-height:1.75;
  font-size:13px;
  box-shadow:var(--shadow);
}
.policy h2{font-size:17px;margin:26px 0 6px;font-weight:600}
.policy h2:first-child{margin-top:0}
.policy p,.policy li{color:#45494f}
.policy ul{padding-left:20px}
.back{
  display:inline-block;
  margin:0 0 14px 3px;
  color:#666b72;
  text-decoration:none;
  font-size:12px;
  font-weight:500;
}

@media(min-width:640px){
  .wrap{padding:14px 22px 46px}
  .topbar{padding-left:26px;padding-right:26px}
  .hero{padding:26px 24px 22px}
  .controls{padding:22px 24px}
  .lead{font-size:23px}
  .chips{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-filters{grid-template-columns:repeat(6,1fr)}
}

@media(max-width:380px){
  h1{font-size:22px}
  .top-actions{gap:4px}
  .top-link{padding-left:9px;padding-right:9px}
  .history-controls{grid-template-columns:1fr}

  .topbar{padding-left:15px;padding-right:15px}
  .wrap{padding-left:12px;padding-right:12px}
  .hero,.controls{border-radius:21px}
  .chip{padding-left:9px;padding-right:9px}
  .chip-name{font-size:12px}
}

/* Compact header navigation */
.topbar>div:first-child{min-width:0}
.topbar h1{white-space:nowrap}
.top-actions{position:relative}
.header-icon-button{
  width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;
  border:0;border-radius:14px;background:var(--surface);color:#4f545a;
  box-shadow:var(--shadow-soft);font:600 22px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
#headerSearchButton svg{display:block}
.nav-menu{
  position:absolute;z-index:50;right:0;top:calc(100% + 8px);width:190px;
  padding:7px;border:1px solid rgba(229,230,233,.9);border-radius:17px;
  background:rgba(255,255,255,.98);box-shadow:0 14px 38px rgba(32,38,45,.14);
}
.nav-menu[hidden]{display:none}
.nav-menu button{
  width:100%;min-height:43px;border:0;border-radius:11px;background:transparent;
  color:#41464c;text-align:left;padding:0 13px;font-size:13px;font-weight:500;
}
.nav-menu button:hover,.nav-menu button:focus-visible{background:var(--surface-soft);outline:0}
@media(max-width:430px){
  .topbar{gap:8px}
  .topbar h1{font-size:21px}
  .header-icon-button{width:38px;height:38px;flex-basis:38px;border-radius:13px}
}
@media(max-width:350px){
  .eyebrow{font-size:10px}
  .topbar h1{font-size:19px}
  .header-icon-button{width:36px;height:36px;flex-basis:36px}
}

/* Approved warm palette and scalable issuer selection. */
.wrap{width:100%;max-width:720px;padding:24px 18px 32px}
.food-tool .top-actions{gap:4px}
.hero,.controls,.service-overview,.card,.empty-state{border-color:var(--line)}
.tool-title{font-size:clamp(27px,5vw,36px);font-weight:800;line-height:1.3;letter-spacing:-.035em;margin:0 0 10px}
.mobile-break{display:none}
.lead{font-size:14px;font-weight:400;color:var(--muted);margin-bottom:18px}
.primary-button{background:#ba480d;border-color:#ba480d;color:white;font-weight:700}
.primary-button:active{background:#9b3b0a}
.privacy-note{background:var(--surface-soft);border-color:var(--line)}
.privacy-note a{margin-left:5px;text-underline-offset:3px}
.search-mode-button[aria-pressed="true"],.category-filter[aria-pressed="true"]{color:var(--accent-text);font-weight:700}
.controls .section-title-row{flex-wrap:wrap;gap:8px}
.controls .text-button{margin-left:auto;min-height:44px;color:var(--accent-text);font-weight:700}
.chips{display:flex;flex-wrap:wrap;gap:7px;font-size:12px;color:var(--muted)}
.selected-more{align-self:center;color:var(--muted);font-size:11px;font-weight:700}
.issuer-tone-0{--issuer:#a34427;--issuer-soft:#fbe5dc;--issuer-line:#edd0c1}
.issuer-tone-1{--issuer:#96374a;--issuer-soft:#f8e0e4;--issuer-line:#ebc1ca}
.issuer-tone-2{--issuer:#58692e;--issuer-soft:#ecf0dc;--issuer-line:#d5deb9}
.issuer-tone-3{--issuer:#865c16;--issuer-soft:#fbeaca;--issuer-line:#ebd4a7}
.issuer-tone-4{--issuer:#7b5633;--issuer-soft:#f1e4d7;--issuer-line:#dbc6ae}
.issuer-tone-5{--issuer:#8f4b22;--issuer-soft:#f9e6d8;--issuer-line:#e9cbb5}
.issuer-tone-6{--issuer:#775075;--issuer-soft:#f2e5f0;--issuer-line:#dec9dc}
.issuer-tone-7{--issuer:#3f6860;--issuer-soft:#e3f0eb;--issuer-line:#bfd8ce}
.issuer-tone-8{--issuer:#496582;--issuer-soft:#e7eef7;--issuer-line:#c6d4e6}
.card .badge.company{background:var(--issuer-soft);color:var(--issuer)}
.card-actions{gap:10px 16px;flex-wrap:wrap}
.card-actions .issuer-map-button{padding:10px 13px;border-radius:12px;min-height:40px;background:var(--issuer);color:#fff;font-weight:700;font-size:11px;text-align:center}
.card .distance{color:var(--issuer)}
.company-picker{width:calc(100% - 32px);max-width:560px;max-height:min(680px,85dvh);padding:0;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);overflow:hidden}
.company-picker[open]{display:flex;flex-direction:column}
.company-picker::backdrop{background:#36291d66}
.picker-head{flex:none;padding:18px 18px 12px;border-bottom:1px solid var(--line)}
.picker-head .dialog-head{padding:0;border:0;margin-bottom:13px;align-items:center}
.picker-head h2{font-size:18px;font-weight:700;margin:0}
.picker-search-label{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}
#companyPickerSearch{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--text);padding:10px 12px;font-size:14px}
.picker-tools{display:flex;align-items:center;gap:10px;margin-top:9px;font-size:11px;color:var(--muted)}
.picker-tools span{margin-right:auto}
.picker-tools button{border:0;background:none;color:var(--accent-text);font:inherit;min-height:36px;padding:5px;cursor:pointer}
.picker-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 18px 12px}
.picker-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);cursor:pointer}
.picker-row input{width:22px;height:22px;flex:none;accent-color:var(--issuer);cursor:pointer}
.picker-row-text{min-width:0;display:flex;flex-direction:column;gap:4px}
.picker-row strong{font-size:14px;line-height:1.5;color:var(--issuer);overflow-wrap:anywhere}
.picker-row small{font-size:11px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}
.picker-foot{flex:none;padding:14px 18px 12px;border-top:1px solid var(--line);background:var(--surface)}
.picker-foot p{margin:8px 0 0;font-size:10px;text-align:center;color:var(--muted)}
.picker-empty{font-size:13px;color:var(--muted);text-align:center;padding:25px 0}
.service-overview{margin-top:22px}
@media(max-width:520px){
  .wrap{padding:20px 14px 28px}.hero,.controls{padding:20px 16px}.mobile-break{display:block}
  .food-tool .header-icon-button{width:32px;min-width:32px;flex-basis:32px;height:36px;border-radius:11px}
  .company-picker{width:100%;max-width:none;max-height:85dvh;margin:auto 0 0;border-radius:24px 24px 0 0;border-bottom:0}
  .picker-foot{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
}

/* Full issuer names remain readable on narrow screens. */
.badge.company{line-height:1.5;overflow-wrap:anywhere;max-width:100%}
.history-meta span{overflow-wrap:anywhere}

/* Brand search and private, browser-only notes. */
.special-features>.selection-heading{margin:0}
.special-features[hidden]{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.feature-note{font-size:12px;color:var(--muted);line-height:1.7}
.feature-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:0;align-items:flex-start}
.feature-item{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;max-width:100%}
.feature-caption{margin:0;font-size:11px;color:var(--muted);line-height:1.6}
.feature-radius-label{display:flex;flex-direction:column;gap:3px;margin-top:7px;max-width:100%;font-size:10px;color:var(--muted)}
.feature-radius{max-width:100%;min-width:0;min-height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);font:inherit;font-size:12px;padding:4px 3px}
.feature-results{display:grid;gap:10px;margin-top:12px}
.feature-results:empty{display:none}
.feature-conditions{font-size:13px;line-height:1.7;white-space:pre-line}
.feature-card .store-name{font-weight:400}
.brand-controls{display:grid;gap:8px;margin-top:16px;border-top:1px solid var(--line);padding-top:16px}
.brand-controls label{font-size:12px;font-weight:400;color:var(--muted)}
.brand-controls input,.brand-controls select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;box-sizing:border-box}
.personal-tools{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 12px;margin:18px 0 22px}
.personal-tools-caption{flex-basis:100%;margin:0;font-size:11px;color:var(--muted);font-weight:400}
.personal-tools>button{display:inline-flex;flex-direction:column;align-items:center;gap:5px;width:64px;min-height:58px;padding:2px;border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}
.personal-tool-icon{display:grid;place-items:center;width:40px;height:40px;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:transparent}
.personal-tool-icon svg{width:21px;height:21px}
.personal-tool-label{font-size:10px;line-height:14px;white-space:nowrap}
.personal-tools>button:hover .personal-tool-icon{background:var(--surface);color:var(--text)}
.personal-tools>button:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
.personal-dialog{width:calc(100% - 32px);max-width:600px;max-height:85dvh;padding:0;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);overflow:hidden}
.personal-dialog[open]{display:flex;flex-direction:column}.personal-dialog::backdrop{background:#36291d66}
.personal-dialog .dialog-head{flex:none}.personal-dialog h2{font-size:18px}
.personal-body{padding:0 18px 18px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.personal-note,.personal-empty{font-size:12px;color:var(--muted);line-height:1.8}
.personal-card{border:1px solid var(--line);border-radius:16px;padding:14px;margin:12px 0;background:var(--surface-soft);overflow-wrap:anywhere}
.personal-card h3{font-size:15px;margin:8px 0;line-height:1.6}.personal-card p{font-size:12px;margin:6px 0}.personal-meta{color:var(--muted)}
.personal-card .card-actions a,.personal-card .card-actions button,.favorite-toggle{font-size:12px}
.personal-card .issuer-map-button{background:var(--issuer);color:#fff;padding:10px 12px;border-radius:10px}
.favorite-toggle,.personal-card button{background:transparent;border:1px solid var(--line);border-radius:10px;padding:8px 10px;min-height:40px;color:var(--text);cursor:pointer}
.favorite-toggle[aria-pressed="true"]{color:var(--issuer);border-color:var(--issuer);background:var(--issuer-soft);font-weight:700}
@media(max-width:520px){.personal-dialog{width:100%;max-width:none;max-height:85dvh;margin:auto 0 0;border-radius:24px 24px 0 0}.personal-body{padding-bottom:calc(18px + env(safe-area-inset-bottom))}}

.storage-status:not(:empty){font-size:12px;color:#a43c23;line-height:1.7}


/* Brand suggestions: a short inline list instead of a native mega-select. */
.brand-input-row{display:flex;align-items:center;gap:8px}
.brand-input-row input{flex:1}
.brand-input-row button{flex:none;font-size:12px}
.brand-selection{margin:0;font-size:12px;font-weight:400;color:var(--muted);overflow-wrap:anywhere}
.brand-help{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.brand-help:empty{display:none}
.brand-suggestions{max-height:300px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.brand-suggestions[hidden],.brand-input-row button[hidden]{display:none}
.brand-option{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;min-height:48px;padding:12px;text-align:left;border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;overflow-wrap:anywhere}
.brand-option:last-child{border-bottom:0}
.brand-option strong{font-size:14px}
.brand-option small{font-size:11px;color:var(--muted)}
.brand-option:hover,.brand-option.is-selected{background:var(--issuer-soft,var(--bg))}
.brand-option:focus-visible{outline:2px solid var(--issuer,var(--text));outline-offset:-3px}
.brand-all,.brand-more{font-size:13px;font-weight:700}
@media(max-width:480px){.brand-input-row{flex-wrap:wrap}.brand-input-row input{flex-basis:100%}.brand-suggestions{max-height:250px}}

/* Keep distance selection beside either search action. */
.search-action-row{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:10px;align-items:end}
.search-action-row .primary-button{min-width:0;min-height:58px;margin:0;padding:12px 8px}
.search-radius{position:relative;min-width:0;height:58px;text-align:left}
.search-radius label{position:absolute;top:8px;left:13px;z-index:1;font-size:10px;line-height:14px;font-weight:700;color:var(--muted);pointer-events:none}
.search-radius select{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:58px;box-sizing:border-box;padding:24px 27px 7px 13px;border:1px solid #e5d3c1;border-radius:16px;background:var(--surface-soft);color:var(--text);font:inherit;font-size:16px;line-height:22px;font-weight:700;cursor:pointer}
.search-radius::after{content:'';position:absolute;right:14px;top:30px;width:6px;height:6px;border-right:2px solid var(--accent-text);border-bottom:2px solid var(--accent-text);transform:rotate(45deg);pointer-events:none}
.search-radius select:hover{border-color:var(--accent-text)}
.search-radius select:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}
#currentSearchPanel[hidden]{display:none}

/* Issuer selection: the whole summary remains clickable without a hover/tap fill. */
.issuer-selection{
  display:block;
  width:100%;
  min-width:0;
  box-sizing:border-box;
  padding:0 0 8px;
  margin:0;
  border:0;
  border-radius:12px;
  background:transparent;
  color:var(--text);
  font:inherit;
  text-align:left;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.issuer-selection .section-title-row{display:flex;width:100%}
.selection-heading{font-size:18px;font-weight:700;line-height:1.4}
.selection-change{margin-left:auto;white-space:nowrap}
.issuer-selection .chips{min-height:28px}

/* Dining cards fill each row, keeping company priority order. */
#companyChips{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,max(74px,calc((100% - 18px)/4))),1fr));
  align-items:stretch;
  gap:6px;
  padding-top:0;
}
#companyChips .selected-issuer-group{display:flex;align-items:stretch;width:100%}
#companyChips .benefit-choice{
  width:100%;
  align-items:center;
  justify-content:center;
  padding:6px 4px;
  gap:2px;
  font-size:13px;
  line-height:1.3;
  text-align:center;
}
#companyChips .benefit-choice-name{display:flex;align-items:center;justify-content:center;min-height:0;width:100%}
#companyChips .voucher-deadline-bubble{align-self:center;justify-content:center}
/* Hotel cards keep their content-sized layout. */
.selected-issuer-group{
  display:inline-flex;
  flex-direction:row;
  align-items:flex-start;
  gap:0;
  min-width:0;
  max-width:100%;
}
.benefit-choice{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  min-width:0;
  max-width:100%;
  min-height:44px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--surface);
  color:var(--text);
  font:inherit;
  font-size:14px;
  line-height:1.5;
  font-weight:400;
  text-align:left;
  overflow-wrap:anywhere;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.benefit-choice[aria-pressed="true"]{
  background:var(--issuer-soft,#f8e6e9);
  border-color:var(--issuer-line,#ce9aab);
  color:var(--issuer,#843f55);
}
.benefit-choice-name{min-width:0;white-space:normal;overflow-wrap:anywhere}
.benefit-choice-heading,.benefit-choice-detail{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;max-width:100%;min-width:0}
.benefit-choice-heading{gap:0}
.benefit-choice-status{font-size:11px;color:inherit}
.benefit-choice-count{display:inline-block;color:inherit;font-size:inherit;white-space:nowrap}
.benefit-choice .voucher-deadline-bubble{height:auto;min-height:0;padding:0;align-self:flex-start;justify-content:flex-start;border:0;border-radius:0;background:transparent;color:#98502d;font-size:11px;line-height:1.6}
.benefit-choice .voucher-deadline-bubble .deadline-count{font-size:inherit}
.benefit-choice .voucher-deadline-bubble::after{display:none}
.benefit-choice:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
@media(max-width:520px){
  .feature-buttons{gap:8px}
  .benefit-choice{padding:9px 12px}
  .feature-item{max-width:calc((100% - 8px)/2)}
  .feature-button .benefit-choice-heading{display:block}
}


/* Hotel choices fill the panel and share one height, even with wrapped labels. */
#hotelFeatures .feature-buttons{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,max(124px,calc((100% - 16px)/3))),1fr));
  grid-auto-rows:1fr;
  align-items:stretch;
  gap:8px;
}
#hotelFeatures .feature-item{width:100%;max-width:none;align-items:stretch}
#hotelFeatures .feature-button{
  width:100%;
  height:100%;
  display:grid;
  grid-template-rows:auto auto;
  align-content:center;
  justify-content:stretch;
  gap:4px;
  padding:8px 10px;
  font-size:13px;
  line-height:1.4;
}
#hotelFeatures .benefit-choice-heading{display:block;width:100%;min-height:0}
#hotelFeatures .benefit-choice-detail{
  width:100%;
  min-height:0;
  align-content:flex-start;
  align-items:baseline;
  font-size:11px;
  line-height:1.6;
}
#companyChips{grid-auto-rows:1fr}

/* Expiry notice sits inline inside its issuer chip. */
.voucher-deadline-bubble{
  position:static;
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:2px;
  width:auto;
  min-width:0;
  height:20px;
  padding:0 6px;
  flex-shrink:0;
  align-self:center;
  margin:0;
  border:1px solid #dfaa89;
  border-radius:999px;
  background:#fff0e2;
  background-image:none;
  color:#953f26;
  font-size:10px;
  line-height:1;
  font-weight:400;
  white-space:nowrap;
}
.voucher-deadline-bubble .deadline-count{font-size:10px;font-weight:400}
.voucher-deadline-bubble::after{display:none}
.voucher-deadline-bubble.is-today{background:#ffe4dc;color:#9b3025;border-color:#da9a8d}
.store>.voucher-deadline-bubble{margin-bottom:5px}

/* Keep expiry notice at the far right of the store title row. */
.store-title-row{display:flex;align-items:center;gap:12px;width:100%}
.store-title-row .store-name{flex:1;min-width:0;margin:0}
.store-title-row>.voucher-deadline-bubble{flex-shrink:0;align-self:center;margin:0 0 0 auto}

/* Concise illustrated help leads the hamburger menu. */
.nav-menu{width:min(360px,calc(100vw - 36px));max-height:calc(100dvh - 105px);overflow-y:auto;box-sizing:border-box;padding:10px}
.menu-howto{padding:10px 10px 16px;margin-bottom:7px;border-bottom:1px solid var(--line);text-align:center;color:var(--text)}
.menu-howto h2{font-size:15px;margin:0 0 10px}
.howto-catch{font-size:17px;font-weight:700;line-height:1.5;margin:0}
.howto-sub{font-size:11px;color:var(--muted);margin:6px 0 0}
.menu-howto img{display:block;width:100%;height:auto;margin:6px auto;max-height:130px;object-fit:contain}
.menu-howto ol{list-style:none;counter-reset:howto;padding:0;margin:6px 0 12px;text-align:left;display:grid;gap:6px}
.menu-howto li{counter-increment:howto;display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:18px;background:var(--surface-soft);font-size:12px}
.menu-howto li::before{content:counter(howto);display:grid;place-items:center;width:21px;height:21px;flex-shrink:0;border-radius:50%;background:#c37848;color:white;font-size:11px}
.howto-expiry{font-size:11px;background:#fff3db;padding:9px 5px;border-radius:10px;margin:0 0 10px}
.nav-menu #howtoSearchButton{width:auto;min-height:35px;padding:8px 25px;background:var(--accent-text);color:white;text-align:center;border-radius:12px;font-size:12px}

/* Expiry panel: shared navigation stays in the site's accent palette. */
#expiryPanel{color:#222;background:#fff}
#expiryPanel button{font-weight:400;box-shadow:none}
.expiry-heading h2{font-size:24px;font-weight:500;margin:0 0 4px}.expiry-heading p{color:#666;font-size:14px;margin:0 0 20px}
.expiry-register{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f3f3f4;border-radius:8px;padding:14px;margin-bottom:16px;font-size:14px}
#expiryPanel .expiry-register button,#expiryParse,#expiryImport{background:#262626;color:#fff;border:1px solid #262626;border-radius:6px;min-height:42px;padding:9px 14px;width:auto;white-space:nowrap}
#expiryBulk{padding:14px;border:1px solid #ddd;border-radius:8px;margin-bottom:16px;font-size:13px}
#expiryPaste{display:block;box-sizing:border-box;width:100%;margin:10px 0;resize:vertical;font:inherit;border:1px solid #aaa;border-radius:6px;padding:10px;background:#fff;color:#222}
#expiryParseResult ul{padding-left:20px;max-height:220px;overflow:auto}#expiryImport:disabled{opacity:.5;cursor:default}
.expiry-common{border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:14px 0 10px}.expiry-common>p{margin:0 0 10px;font-size:14px}
.expiry-common fieldset{border:0;padding:0;margin:0}.expiry-common legend{font-size:12px;color:#666;margin-bottom:8px}
.expiry-day-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:520px}
.expiry-day-options label{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border:1px solid #aaa;background:#fff;color:#444;border-radius:5px;cursor:pointer;font-size:13px}
.expiry-day-options label:has(input:checked){background:#292929;border-color:#292929;color:white}
#expiryPanel input[type=checkbox]{accent-color:#292929;width:16px;height:16px;flex-shrink:0;margin:0;cursor:pointer}
.expiry-day-options input{accent-color:#fff!important}
.expiry-note,.expiry-save-status{font-size:12px;line-height:1.6;color:#666;margin:10px 0}.expiry-save-status:empty{display:none}
.expiry-common .expiry-note{font-size:11px;margin:8px 0 0}.expiry-save-status{color:#a50e1b}
.expiry-view-tabs{display:flex;border-bottom:1px solid #ddd;margin:10px 0}
#expiryPanel .expiry-view-tabs button{background:#fff;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 20px;width:auto;min-height:44px;color:#666}
#expiryPanel .expiry-view-tabs button[aria-pressed=true]{border-bottom-color:#222;color:#111}
.expiry-search-label{display:block}.expiry-search-label input{width:100%;box-sizing:border-box;background:#f6f6f6;border:1px solid #ddd;color:#222;min-height:38px;font-size:12px;border-radius:6px}
.expiry-group{margin:24px 0 0}.expiry-group h2{font-weight:500;font-size:17px;margin:0 0 7px}
.expiry-list{list-style:none;padding:0;margin:0}.expiry-row{display:grid;grid-template-columns:100px minmax(0,1fr) 98px;align-items:center;gap:16px;border-bottom:1px solid #ddd;padding:14px 0}
.expiry-countdown{font-size:16px;white-space:nowrap;color:#626262;text-align:center;font-variant-numeric:tabular-nums;padding:10px 2px;border-radius:6px}.expiry-countdown strong{font-size:32px;font-weight:500;margin:0 2px;line-height:1.2}.expiry-countdown small{font-size:12px}
.expiry-countdown.is-critical{background:#c9081c;color:#fff}.expiry-countdown.is-soon{color:#bd1424}
.expiry-benefit{min-width:0;overflow-wrap:anywhere;border-left:1px solid #e7e7e7;padding-left:14px;line-height:1.55;font-size:15px}.expiry-benefit>span,.expiry-benefit small{display:block}.expiry-benefit small{font-size:11px;color:#686868;margin-top:3px}
.expiry-own-button{display:flex;gap:6px;align-items:center;justify-content:center;background:#f6f6f7;border:1px solid #ccc;border-radius:6px;min-height:44px;cursor:pointer;font-size:13px;white-space:nowrap}.expiry-own-button:has(input:checked){background:#292929;border-color:#292929;color:#fff}
.expiry-own-button:focus-within,.expiry-day-options label:focus-within{outline:2px solid #777;outline-offset:3px}
.expiry-future{margin-top:20px}.expiry-more-button{display:block;width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:13px;border-radius:10px;font:inherit;font-size:13px;cursor:pointer;text-align:center}.expiry-more-button:hover{background:var(--surface-soft)}.expiry-more-button:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}#expiryFutureItems{margin-top:16px}.expiry-storage-note{margin-top:22px}
.expiry-alerts{border:1px solid #cc1427;border-radius:8px;background:#fff7f8;color:#222;padding:14px 18px;margin-bottom:18px;font-size:13px;line-height:1.7}.expiry-alert-title{margin:0 0 5px;color:#b51022}.expiry-alerts ul{padding-left:18px;margin:5px 0}.expiry-alerts button{font-size:12px;color:#222}
.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}
@media(max-width:650px){
 .expiry-heading h2{font-size:21px}.expiry-register{font-size:12px;padding:10px;gap:8px}.expiry-register>span{max-width:210px}
 #expiryPanel .expiry-register button{font-size:12px;padding:8px 10px}.expiry-common>p{font-size:13px}.expiry-day-options{gap:5px}.expiry-day-options label{font-size:12px;gap:4px}
 .expiry-row{grid-template-columns:76px minmax(0,1fr) 78px;gap:8px;padding:13px 0}.expiry-countdown{font-size:12px}.expiry-countdown strong{font-size:29px;margin:0 1px}.expiry-benefit{padding-left:8px;font-size:13px}.expiry-benefit small{font-size:10px}.expiry-own-button{font-size:11px;gap:4px}.expiry-group h2{font-size:16px}
}
@media(max-width:360px){.expiry-row{grid-template-columns:65px minmax(0,1fr) 69px;gap:5px}.expiry-countdown{font-size:11px}.expiry-countdown strong{font-size:24px}.expiry-benefit{padding-left:5px}.expiry-own-button{font-size:10px;gap:3px}.expiry-day-options label{font-size:11px}}

.nav-menu .guide-menu-link{display:flex;align-items:center;min-height:43px;padding:0 13px;color:#41464c;font-size:13px;font-weight:500;text-decoration:none;border-radius:11px}.nav-menu .guide-menu-link:hover,.nav-menu .guide-menu-link:focus-visible{background:var(--surface-soft)}


/* Organized footer: compact on mobile, three-column on wide screens */
.site-footer{max-width:none;padding:36px max(22px,calc((100% - 1100px)/2)) 25px;background:#f8f5ef;color:#554f47;border-top:1px solid #e6ded1}
.site-footer .footer-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.site-footer .footer-eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;color:#987e5e;margin:0 0 8px}
.site-footer .site-footer-brand{font-size:18px;font-weight:750;line-height:1.4;margin:0;color:#403b34}
.site-footer .footer-description{font-size:12px;line-height:1.8;color:#716b62;margin:10px 0 16px;max-width:300px}
.site-footer .footer-nav,.site-footer .footer-support{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.site-footer .footer-nav h2,.site-footer .footer-support h2{font-size:12px;font-weight:700;color:#8a7560;margin:0 0 12px;letter-spacing:.04em}
.site-footer .footer-nav a,.site-footer .footer-support a,.site-footer .footer-support button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:10px 8px;min-height:44px;text-align:left;border:0;border-radius:7px;background:transparent;color:#554f47;font:inherit;font-size:13px;text-decoration:none;cursor:pointer}
.site-footer .footer-nav a:hover,.site-footer .footer-support a:hover,.site-footer .footer-support button:hover{background:#eee7db;color:#302b25}
.site-footer a:focus-visible,.site-footer button:focus-visible,.site-footer summary:focus-visible{outline:2px solid #6b5b48;outline-offset:3px}
.site-footer .creator-link{display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding:7px 11px;border:1px solid #dfd5c6;border-radius:100px;background:#fffaf2;text-decoration:none;font-size:12px;font-weight:650;color:#51483c}
.site-footer .creator-link img{border-radius:50%;flex:none}
.site-footer .footer-bottom{border-top:1px solid #e3dacd;margin-top:25px;padding-top:15px;display:flex;justify-content:space-between;align-items:start;gap:18px}
.site-footer .footer-caution{margin:0;font-size:11px;line-height:1.7;color:#777067}
.site-footer .footer-attribution{font-size:11px;color:#71695f;flex-shrink:0}
.site-footer .footer-attribution summary{cursor:pointer;padding:4px 0}
.site-footer .footer-attribution-links{display:flex;flex-direction:column;gap:7px;margin-top:8px}
.site-footer .footer-attribution-links a{font-size:11px;color:#6b635a}
@media(max-width:720px){.site-footer{padding:26px 20px 22px}.site-footer .footer-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.site-footer .footer-intro{grid-column:1/-1}.site-footer .footer-description{max-width:none}.site-footer .footer-nav a,.site-footer .footer-support a,.site-footer .footer-support button{font-size:12px;line-height:1.5;padding:9px 3px}.site-footer .footer-bottom{display:block;margin-top:18px}.site-footer .footer-attribution{margin-top:12px}.site-footer .footer-nav h2,.site-footer .footer-support h2{margin-bottom:7px}}
@media(max-width:370px){.site-footer .footer-layout{grid-template-columns:1fr}.site-footer .footer-intro{grid-column:auto}}
