:root{--g:#14532d;--g2:#166534;--gl:#dcfce7;--ink:#111827;--mut:#6b7280;--line:#e5e7eb;--bg:#f8faf8;--warn:#b45309;--r:12px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}
button,input{font:inherit}
.hidden{display:none!important}
.top{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:var(--g);color:#fff;position:sticky;top:0;z-index:5}
.brand{display:flex;gap:8px;align-items:center;font-weight:700;font-size:18px}
.logo{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#fff;color:var(--g);font-weight:800}
.top-right{display:flex;gap:8px;align-items:center}
.badge{font-size:12px;background:rgba(255,255,255,.18);padding:3px 8px;border-radius:99px;white-space:nowrap}
.top .ghost{color:#fff;border-color:rgba(255,255,255,.5);background:transparent}
.tabs{display:flex;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:48px;z-index:4}
.tab{flex:1;border:0;background:none;padding:12px 4px;font-weight:600;color:var(--mut);border-bottom:3px solid transparent;cursor:pointer}
.tab.active{color:var(--g);border-bottom-color:var(--g)}
main{max-width:720px;margin:0 auto;padding:14px 14px 150px}
h2{font-size:18px;margin:0 0 8px}
.mt{margin-top:22px}.mt-s{margin-top:12px}
.muted{color:var(--mut)}.tiny{font-size:13px}.center{text-align:center}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px;margin-bottom:14px}
.field{display:block;margin-bottom:12px}
.field>span{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:4px}
input[type=text],input[type=date],input[type=search],input[type=email]{width:100%;padding:11px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;min-height:44px}
input:focus{outline:2px solid var(--g2);outline-offset:0;border-color:var(--g2)}
.row2{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}
.search{margin-bottom:8px}
.btnrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.btnrow input{flex:1;min-width:150px}
button,.btnlike{cursor:pointer;border-radius:10px;padding:10px 14px;min-height:44px;border:1px solid #d1d5db;background:#fff;color:var(--ink);font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.primary{background:var(--g);border-color:var(--g);color:#fff}
.primary:active{background:var(--g2)}
.ghost{background:#fff}
.small{padding:6px 10px;min-height:36px;font-size:14px}
.big{width:100%;font-size:17px;padding:14px;min-height:52px}
.empty{background:#fff;border:1px dashed #cbd5e1;border-radius:var(--r);padding:16px;margin:8px 0 14px}
.pickhead{display:flex;justify-content:space-between;align-items:baseline;margin-top:6px}
.picklist,.dishlist{list-style:none;margin:0 0 10px;padding:0}
.picklist li label{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-bottom:6px;cursor:pointer;min-height:52px}
.picklist input[type=checkbox]{width:22px;height:22px;accent-color:var(--g);flex:none}
.picklist li.on label{border-color:var(--g);background:var(--gl)}
.dname{font-weight:600}
.codes{font-size:13px;color:var(--mut);letter-spacing:.5px}
.codes b{color:var(--g)}
.sticky-cta{position:fixed;left:0;right:0;bottom:0;background:linear-gradient(transparent,var(--bg) 22%);padding:22px 14px calc(10px + env(safe-area-inset-bottom));z-index:3}
.sticky-cta>*{max-width:692px;margin-left:auto;margin-right:auto}
.sticky-cta p{margin:6px auto 0}
.chips{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
.chip{justify-content:flex-start;text-align:left;font-weight:500;font-size:14px;padding:8px 10px;min-height:44px;border-radius:10px}
.chip .k{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:6px;background:#f3f4f6;font-weight:700;color:#374151;flex:none}
.chip[aria-pressed=true]{background:var(--gl);border-color:var(--g);color:var(--g)}
.chip[aria-pressed=true] .k{background:var(--g);color:#fff}
.dishlist li{display:flex;justify-content:space-between;gap:8px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-bottom:6px}
.dishlist .acts{display:flex;gap:6px;flex:none}
.ticks{padding-left:0;list-style:none}.ticks li{padding-left:24px;position:relative;margin:4px 0}.ticks li:before{content:"✓";position:absolute;left:2px;color:var(--g);font-weight:800}
.modal{position:fixed;inset:0;background:rgba(17,24,39,.55);display:grid;place-items:center;z-index:20;padding:16px}
.modal-card{background:#fff;border-radius:16px;max-width:420px;width:100%;padding:20px;display:grid;gap:8px}
.modal-card h2{font-size:20px}
.toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);background:#111827;color:#fff;padding:10px 14px;border-radius:10px;z-index:30;font-size:14px;max-width:90vw}
/* sheet */
#sheetView{background:#e5e7eb;min-height:100vh}
.sheet-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}
.sheet-scroller{overflow:auto;padding:12px}
.sheet{background:#fff;width:277mm;min-height:190mm;margin:0 auto;padding:10mm 10mm 8mm;color:#000;box-shadow:0 2px 10px rgba(0,0,0,.15);transform-origin:top left}
.sh-head{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #000;padding-bottom:3mm;margin-bottom:4mm}
.sh-title{font-size:20pt;font-weight:800;margin:0;line-height:1.1}
.sh-sub{font-size:11pt;margin-top:1mm}
.sh-date{font-size:14pt;font-weight:700;text-align:right}
.sh-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10.5pt}
.sh-table th,.sh-table td{border:1px solid #444;padding:1.6mm 1mm;text-align:center;vertical-align:middle}
.sh-table th.dish,.sh-table td.dish{text-align:left;width:31%;padding-left:2mm}
.sh-table thead th{background:#f1f5f1;font-weight:700;vertical-align:bottom}
.sh-table thead th .vh{display:block;writing-mode:vertical-rl;transform:rotate(180deg);font-size:8.5pt;font-weight:600;margin:0 auto;height:30mm;white-space:nowrap;text-align:left}
.sh-table thead th .lt{display:block;font-size:11pt;font-weight:800;margin-top:1mm}
.sh-table td.x{font-size:13pt;font-weight:800}
.sh-table td .dn{font-weight:700}
.sh-table td .nt{font-size:8.5pt;color:#333}
.sh-table td .cd{font-size:8.5pt;color:#333;letter-spacing:.3px}
.sh-table tbody tr:nth-child(even) td{background:#fafafa}
.sh-legend{margin-top:4mm;font-size:8.5pt;columns:3;column-gap:6mm}
.sh-legend div{break-inside:avoid}
.sh-foot{margin-top:3mm;font-size:8pt;border-top:1px solid #999;padding-top:2mm;display:flex;justify-content:space-between;gap:6mm}
.sh-none{font-size:12pt;padding:10mm;text-align:center;color:#555}
@media (max-width:420px){.row2{grid-template-columns:1fr}.chips{grid-template-columns:1fr 1fr}}
@media print{
  @page{size:A4 landscape;margin:8mm}
  body{background:#fff}
  .no-print,.top,.tabs,main,.sticky-cta,.modal,.toast{display:none!important}
  #sheetView{display:block!important;background:#fff;min-height:0}
  .sheet-scroller{padding:0;overflow:visible!important;height:auto!important}
  .sheet{box-shadow:none;width:auto;min-height:0;margin:0;padding:0;transform:none!important;zoom:var(--pz,1);width:calc(280mm / var(--pz,1))}
  .sh-table thead th{background:#eee!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sh-table tr{break-inside:avoid}
}
.langsel{font:inherit;font-size:14px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);max-width:130px}
.legal-foot{padding:18px 0 120px}.legal-foot a,.legal-links a{color:var(--g2)}
.legal-page{max-width:720px;margin:0 auto;padding:20px 16px 60px;line-height:1.55;font-size:15px}
.legal-page h1{font-size:24px;margin-top:28px}.legal-page h2{font-size:17px;margin-top:20px}
.legal-page a{color:var(--g2)}
.todo{background:#fef3c7;color:#92400e;border:1px dashed #b45309;padding:1px 6px;border-radius:6px;font-weight:600}
.vh2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.warn{color:#b45309;font-weight:700}
.sheet.many .sh-table{font-size:9pt}
.sheet.many .sh-table th.dish,.sheet.many .sh-table td.dish{width:24%}
.sheet.many .sh-table thead th .vh{font-size:7.5pt;height:26mm}
.sheet.many .sh-table thead th .lt{font-size:9.5pt}
.sheet.many .sh-table td.x{font-size:11pt}
.sheet.many .sh-legend{font-size:7.5pt}
/* cookie consent banner (consent.js) */
.cc{position:fixed;left:12px;right:12px;bottom:12px;z-index:1000;max-width:560px;margin:0 auto;background:#fff;color:#1f2937;border:1px solid #d1d5db;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.18);padding:14px 16px;font:14px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.cc p{margin:0 0 10px}
.cc .cc-b{display:flex;gap:10px}
.cc button{flex:1;min-height:42px;border-radius:9px;border:2px solid #14532d;background:#fff;color:#14532d;font-weight:700;font-size:15px;cursor:pointer}
.cc button:focus-visible{outline:3px solid #86efac}
@media print{.cc{display:none!important}}
/* header fits two pickers on small phones */
.top{gap:8px}.brand{min-width:0}.top-right{min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:6px}
@media (max-width:430px){.brand{font-size:16px}.top-right .langsel{max-width:92px;font-size:13px;padding:5px 4px}.badge{font-size:11px;padding:3px 6px}}
@media (max-width:360px){.top-right .langsel{max-width:78px}}
/* branding (sheet header: name, logo, address line) */
.logo-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.logo-box{width:120px;height:72px;border:1px dashed var(--line);border-radius:10px;background:#fff;display:grid;place-items:center;overflow:hidden;flex:none}
.logo-box img{max-width:110px;max-height:62px;object-fit:contain}
.logo-btns{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.brand-prev{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;padding:0}
.bp-inner{width:257mm;padding:4mm 6mm 1mm;transform-origin:top left;color:#000}
.bp-inner .sh-head{margin-bottom:0}
.sh-head.branded{align-items:center;gap:6mm}
.sh-brand{display:flex;align-items:center;gap:4mm;min-width:0}
.sh-logo{display:block;height:18mm;max-width:60mm;width:auto;object-fit:contain;flex:none}
.sh-bt{min-width:0}
.sh-bname{font-size:18pt;font-weight:800;line-height:1.1}
.sh-bline{font-size:9.5pt;color:#333;margin-top:.6mm}
.sh-head.branded .sh-title{font-size:15pt}
.sh-head.branded .sh-sub{font-size:10pt}
.pos-left .sh-right{text-align:right;flex:none;max-width:55%}
.pos-left .sh-date{font-size:12pt;margin-top:1.2mm}
.sh-head.pos-center{flex-direction:column;align-items:stretch;gap:2mm}
.pos-center .sh-brand{flex-direction:column;justify-content:center;text-align:center;gap:1.2mm}
.pos-center .sh-logo{height:16mm;margin:0 auto}
.pos-center .sh-row{display:flex;justify-content:space-between;align-items:flex-end;gap:6mm}
.pos-center .sh-date{font-size:12pt}
@media print{.sh-logo{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
