
/* Our menu product tokens. A validated external stylesheet supplies WebTintKit custom-tint
   inputs; the package resolves scheme-aware accent colours. Legacy reading fonts use WebTintKit;
   adopted Branding supplies product-owned font stacks. */
:root {
  color-scheme: light dark;
  --text: light-dark(#000, #fff); --text-2: light-dark(#59595f, #a1a1a8); --unavailable: var(--text-2);
  --warning: light-dark(#9a4700, #ff9f0a); --warning-tint: light-dark(rgba(255,149,0,.14), rgba(255,159,10,.14)); --ourmenu: light-dark(#111, #f2f2f2);
  --accent-tint: color-mix(in srgb, var(--om-accent) 8%, transparent);
  --dim: light-dark(rgba(0,0,0,.35), rgba(0,0,0,.5));
  --om-accent: var(--wtk-color-accent); --accent-on: var(--wtk-color-on-accent);
  --om-type-body: var(--wtk-type-body); --om-type-pick-title: var(--wtk-type-h3); --om-type-control: var(--wtk-type-control); --om-type-caption: var(--wtk-type-note);
  --om-choice-height: max(var(--wtk-size-control), calc(var(--wtk-size-control) * var(--wtk-reading-scale, 1))); --om-control-height: max(var(--wtk-size-control), calc(var(--wtk-size-control) * var(--wtk-reading-scale, 1)));
  --om-control-radius: .352941rem; --om-control-gap: .588235rem;
  --om-choice-gutter: .941176rem; --om-quantity-width: 1.882353rem;
  --font-ui: system-ui, -apple-system, Roboto, sans-serif;
}
/* Restaurant themes are owned here, never in WebTintKit. Bare admin chrome uses
   Paper; the restaurant renderer explicitly resolves missing legacy themes as Original.
   Repeat aliases on a scoped preview so they resolve against its roles,
   rather than inheriting already-resolved colours from the admin root. */
:root, [data-ourmenu-theme] {
  --bg: light-dark(#f7f6f2, #191a18);
  --surface: light-dark(#fffefa, #232521);
  --fill: light-dark(#eeede7, #2c2e2a);
  --sep: light-dark(#d3d2ca, #454840);
  --chip: var(--fill); --seg: var(--surface);
  /* Product-owned role aliases; vendored WebTintKit stays unchanged. */
  --wtk-color-reading-bg: var(--bg);
  --wtk-color-page-bg: var(--bg);
  --wtk-color-reading-surface: var(--surface);
  --wtk-color-glass-solid: var(--surface);
  --wtk-color-glass-background: var(--surface);
  --wtk-color-glass-topbar-background: var(--bg);
  --wtk-color-page-code-bg: var(--fill);
  --wtk-color-glass-segmented-bg: var(--fill);
  --wtk-color-contents-active-bg: var(--fill);
  --wtk-color-reading-separator: var(--sep);
  --wtk-color-page-rule: var(--sep);
  --wtk-color-glass-border: var(--sep);
  --wtk-color-glass-swatch-border: var(--sep);
  --wtk-color-contents-active-border: var(--sep);
}
[data-ourmenu-theme="original"] {
  --bg: light-dark(#ffffff, #000000);
  --surface: light-dark(#ffffff, #1c1c1e);
  --fill: light-dark(#f2f2f7, #1c1c1e);
  --sep: light-dark(#d1d1d6, #38383a);
}
[data-ourmenu-theme="slate"] {
  --bg: light-dark(#f2f3f3, #1c1e1f);
  --surface: light-dark(#fafbfb, #27292a);
  --fill: light-dark(#e7e9e9, #303334);
  --sep: light-dark(#cacdce, #484c4e);
}
[data-ourmenu-theme="sage"] {
  --bg: light-dark(#f5f7f2, #192019);
  --surface: light-dark(#fcfdf9, #222c21);
  --fill: light-dark(#e9eee4, #2c382a);
  --sep: light-dark(#ccd5c4, #485b43);
}
[data-ourmenu-theme="salmon"] {
  --bg: light-dark(#faf3f1, #241c1a);
  --surface: light-dark(#fffaf8, #302522);
  --fill: light-dark(#f2e5e0, #3b2e29);
  --sep: light-dark(#dfc7bf, #624a42);
}
[data-ourmenu-theme="grape"] {
  --bg: light-dark(#f6f3f8, #211d25);
  --surface: light-dark(#fcfaff, #2c2732);
  --fill: light-dark(#ece5f0, #37313e);
  --sep: light-dark(#d2c5db, #594e64);
}
[data-ourmenu-theme="peach"] {
  --bg: light-dark(#faf5ef, #241f19);
  --surface: light-dark(#fffcf7, #30291f);
  --fill: light-dark(#f2e9db, #3b3226);
  --sep: light-dark(#dfcfb6, #62533d);
}
:root[data-blog-resolved-scheme="light"] { color-scheme:light; }
:root[data-blog-resolved-scheme="dark"] { color-scheme:dark; }
/* WTK shares page tokens with native field/dialog surfaces. Assign the
   semantic surface role on those elements; no package component selectors. */
input, textarea, select, dialog { --wtk-color-reading-bg: var(--surface); }
input, select { --wtk-color-page-bg: var(--surface); }

/* The editor also loads this sheet's rules, so both documents use the same chrome tint. */
:root{--wtk-custom-accent-light:#1a6e52;--wtk-custom-on-light:#fff;--wtk-custom-accent-dark:#63c29f;--wtk-custom-on-dark:#111}
.qr-card{box-sizing:border-box;position:relative;background:#fff;color:#202522;border:1px solid #d3d2ca;padding:30px 20px 24px;text-align:center;width:100%;max-width:335px;margin:20px auto;overflow-wrap:anywhere;font-family:var(--preview-font,var(--wtk-font-reading-serif));display:flex;flex-direction:column;align-items:center;gap:0;color-scheme:light}
.qr-card::before{content:"";position:absolute;top:20px;width:64px;height:3px;background:var(--brand-light)}
.qr-card .qr-identity{box-sizing:border-box;width:100%;height:110px;flex:none;display:flex;align-items:center;justify-content:center}
.qr-card .qr-identity h2{font:700 1.6rem/1.12 var(--preview-font,var(--wtk-font-reading-serif));color:inherit;margin:0;border:0;padding:0;max-height:100%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow-wrap:anywhere}
.qr-card .qr-identity img{display:block;width:100%;height:100%;max-height:96px;object-fit:contain}
.qr-card .qr-identity-location{flex-direction:column;gap:8px}
.qr-card .qr-identity-location img{min-height:0;flex:1;width:100%;height:0}
.qr-card .qr-location{flex:none;margin:0;max-width:100%;font-size:14px;line-height:1.2;max-height:2.4em;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
.qr-card .qr-code{margin:16px auto 0;flex:none;max-width:100%}.qr-card .qr-code svg{width:48mm;height:48mm;max-width:100%;display:block}
.qr-card .qr-caption{display:block;width:30mm;height:auto;max-width:100%;margin:24px auto 14px;color:inherit;flex:none}
.qr-card .qr-caption-accent{color:var(--brand-light)}
.qr-target-caption{display:grid;gap:2px;margin:18px 0 10px;width:100%;line-height:1.15}
.qr-target-menu,.qr-target-section{overflow-wrap:anywhere}
.qr-target-menu{font-weight:700}
.qr-target-section{font-weight:700}
.qr-card .qr-address{font-size:12px;line-height:1.4;margin:0;color:#505852;max-width:100%;overflow-wrap:anywhere}
.qr-card.qr-style-b::before{display:none}.qr-card.qr-style-b .qr-identity{background:#18201e;color:#fff;border-bottom:5px solid var(--brand-dark);padding:8px 12px}.qr-card.qr-style-b .qr-code{margin-top:24px}
.output-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:20px}.output-actions button,.output-actions a{font:inherit;min-height:44px}.output-card,.output-menu{margin:0;background:var(--bg);color:var(--text);font-family:var(--wtk-font-reading-serif)}
.qr-sheet{position:relative;margin:0 auto;box-sizing:border-box;width:105mm}.qr-sheet-a4{width:210mm;height:297mm;display:grid;grid-template-columns:105mm 105mm;grid-template-rows:148mm 148mm;padding-top:.5mm}
.output-card .qr-card{width:105mm;height:148mm;max-width:none;padding:10mm 9mm 8mm;margin:0;gap:0;border:0}
.output-card .qr-card::before{top:8mm;width:20mm;height:1mm}
.output-card .qr-card .qr-identity{height:34mm}
.output-card .qr-card .qr-identity h2{font-size:22pt;-webkit-line-clamp:3;max-height:30mm}
.output-card .qr-card .qr-identity img{max-height:29mm}
.output-card .qr-card .qr-identity-location{gap:2mm}
.output-card .qr-card .qr-location{font-size:11pt}
.output-card .qr-card .qr-code{margin-top:4mm}
.output-card .qr-card .qr-caption{width:30mm;margin:6mm auto 4mm}
.output-card .qr-card .qr-address{font-size:9pt;line-height:1.4;max-height:16mm;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.output-card .qr-style-b{padding-top:8mm}.output-card .qr-style-b .qr-identity{height:38mm;border-bottom-width:1.5mm;padding:2mm 4mm}.output-card .qr-style-b .qr-identity h2{font-size:20pt}.output-card .qr-style-b .qr-code{margin-top:6mm}.output-card .qr-style-b .qr-caption{margin-top:4mm}
.output-card .qr-target-caption{margin:4mm 0 3mm;line-height:1.12;font-size:11pt}
.qr-section-card .qr-identity{height:auto;min-height:110px;flex-direction:column;gap:8px}
.qr-section-card .qr-identity img{flex:none;height:auto;max-height:70px}
.qr-section-card .qr-target-menu{max-width:100%;font:500 .8125rem/1.25 var(--font-ui);text-wrap:balance;color:#47514e}
.qr-section-card.qr-style-b .qr-target-menu{color:#e0e6e0}
.qr-section-card .qr-target-section{font-size:1.25rem;line-height:1.13;text-wrap:balance}
.output-card .qr-section-card .qr-identity{height:auto;min-height:34mm;gap:2mm}
.output-card .qr-section-card.qr-style-b .qr-identity{min-height:38mm}
.output-card .qr-section-card .qr-identity img{max-height:20mm}
.output-card .qr-section-card .qr-target-menu{font-size:10pt}
.output-card .qr-section-card .qr-target-section{font-size:17pt}
.output-card .qr-section-card .qr-address{margin-top:auto}
@media screen{.qr-sheet{zoom:var(--qr-sheet-fit,1)}}
.qr-cuts{position:absolute;inset:0;pointer-events:none}.qr-cuts i{position:absolute;display:block;background:#777}.qr-cuts i:nth-child(1),.qr-cuts i:nth-child(2){width:.2mm;height:4mm;left:104.9mm;top:1mm}.qr-cuts i:nth-child(2){top:auto;bottom:1mm}.qr-cuts i:nth-child(3),.qr-cuts i:nth-child(4){height:.2mm;width:4mm;top:148.4mm;left:1mm}.qr-cuts i:nth-child(4){left:auto;right:1mm}.qr-cuts i:nth-child(5){width:4mm;height:4mm;left:103mm;top:146.5mm;background:linear-gradient(transparent 1.9mm,#777 1.9mm,#777 2.1mm,transparent 2.1mm),linear-gradient(90deg,transparent 1.9mm,#777 1.9mm,#777 2.1mm,transparent 2.1mm)}
.output-menu main{max-width:210mm;margin:0 auto;padding:12mm}.output-menu img{max-width:100%;height:auto}.output-menu .editor-preview-item{padding:12px 0;border-bottom:1px solid var(--sep);break-inside:avoid}.output-menu .editor-preview-item-title{display:flex;justify-content:space-between;gap:12px}
@page{size:A4;margin:12mm}@page qr-card{size:105mm 148mm;margin:0}@page qr-four{size:A4;margin:0}
@media print{:root,:root[data-blog-resolved-scheme]{color-scheme:light;--bg:#fff;--surface:#fff;--text:#000}html:has(.output-card),html:has(.output-menu),.output-card,.output-menu{background:#fff;color:#000;transition:none}.output-actions{display:none!important}.output-card{page:qr-card}.output-card.output-a4{page:qr-four}.output-card .qr-card{border:0;margin:0;break-inside:avoid}.output-menu{font-size:11pt;line-height:1.35}.output-menu main{padding:0;max-width:none}.output-menu .editor-preview-items{display:block;padding:0;border:0;break-inside:auto}.output-menu .editor-preview-brand h2{display:none}.output-menu h1{font-size:20pt;margin:0 0 6mm}.output-menu h2{font-size:16pt}.output-menu h3{font-size:13pt}.output-menu :is(h1,h2,h3){break-after:avoid}.output-menu p{margin:.3em 0}.output-menu .editor-preview-item{padding:3mm 0}body{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
