:root{font:16px system-ui,sans-serif;color:#212d26;background:#f7f6ef;--green:#234535;--line:#dfdfd3;--muted:#526357}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:12px;padding:14px max(16px,calc((100% - 1040px)/2));border-bottom:1px solid var(--line);white-space:nowrap}.logo{display:grid;place-items:center;background:var(--green);color:white;border-radius:12px;width:40px;height:40px;font-size:25px}.tag{margin-left:auto;color:var(--muted);font-size:10px;letter-spacing:.13em}main{max-width:1080px;margin:auto;padding:24px 20px}.hero{background:#e1ead8;border-radius:24px;padding:clamp(22px,5vw,52px);display:flex;justify-content:space-between;align-items:center;overflow:hidden}.art{font-size:clamp(48px,14vw,145px);color:#527452;line-height:1}h1,h2,p{margin:0}h1{font:500 clamp(39px,7vw,76px)/1.05 Georgia,serif;letter-spacing:-.045em;margin:8px 0 12px}h2{font:500 clamp(25px,4vw,37px) Georgia,serif}small{font-size:11px;letter-spacing:.13em;font-weight:750;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 22px}.stat{background:#fffdf8;padding:14px;border:1px solid var(--line);border-radius:14px;min-width:0}.stat strong{display:block;font-size:clamp(15px,3vw,25px);overflow-wrap:anywhere}.stat span,.meta{font-size:13px;color:var(--muted)}nav,#filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}button,select,input{font:inherit;min-height:44px;border:1px solid var(--line);border-radius:10px;background:#fffdf8;color:inherit;padding:8px 12px}button{cursor:pointer;font-weight:650}button[aria-pressed=true],.primary{background:var(--green);border-color:var(--green);color:white}button:disabled{opacity:.55;cursor:wait}.panel{border:1px solid var(--line);background:#fffdf8;border-radius:20px;padding:clamp(14px,3vw,28px)}.heading,.row,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.heading{margin-bottom:16px}.row{border-top:1px solid var(--line);padding:12px 0}.row div{min-width:0;overflow-wrap:anywhere}.meta{margin-top:3px}.empty{text-align:center;background:#f7f6ef;border-radius:12px;padding:28px 14px;color:var(--muted)}#status,#error{padding-top:10px;color:#8d392c}dialog{width:min(94vw,470px);max-height:90dvh;border:1px solid var(--line);border-radius:20px;padding:22px;background:#fffdf8;color:inherit}dialog::backdrop{background:#18281db0}label{display:grid;gap:5px;margin:10px 0;font-weight:650}input,select{width:100%;min-width:0}.actions{margin-top:12px}.actions .primary{margin-left:auto}#remove{color:#8d392c}:focus-visible{outline:3px solid #9a5d29;outline-offset:2px}@media(max-width:480px){main{padding:14px 12px}.tag{display:none}.stat{padding:9px}nav button{flex:1 1 auto}.hero p{font-size:14px}}

/* Large controls for a shared touchscreen. */
.hero { padding-block: clamp(18px, 3vw, 32px); }
.art { font-size: clamp(40px, 9vw, 88px); }
h1 { font-size: clamp(32px, 5vw, 54px); }
#quickMeal { width: 100%; min-height: 60px; margin-bottom: 12px; font-size: 19px; }
#nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
#nav button { min-height: 96px; padding: 10px; line-height: 1.2; }
.tile-icon { display: block; font-size: 27px; margin-bottom: 7px; }
button, input, select { min-height: 52px; }
.row { min-height: 72px; }
.row button { min-width: 66px; }
@media (max-width: 600px) {
  #nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #nav button { min-height: 74px; }
  #nav button:last-child { grid-column: 1 / -1; min-height: 54px; }
  #nav button:last-child .tile-icon { display: inline; margin-right: 8px; }
}
