/* Sogilex Menus: the editor (Sogilex look) and the printed menu page (its own, paper-like look). */
@font-face { font-family: 'EB Garamond'; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/eb-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-weight: 600; font-display: swap; src: url('fonts/eb-garamond-latin-600-normal.woff2') format('woff2'); }

@font-face { font-family: 'Playfair Display'; font-weight: 600; font-display: swap; src: url('fonts/playfair-display-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/playfair-display-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Bebas Neue'; font-weight: 400; font-display: swap; src: url('fonts/bebas-neue-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 400; font-display: swap; src: url('fonts/fraunces-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/fraunces-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 600; font-display: swap; src: url('fonts/fraunces-latin-600-normal.woff2') format('woff2'); }

nav a[aria-current="page"] { color: var(--text); }
.menu-studio { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
.menu-studio .brief { position: static; }

/* ---------- editor ---------- */
.mfields { display: flex; flex-direction: column; gap: 18px; }
.mgroup { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; background: rgba(18, 10, 24, .45); }
.mgroup > h3 { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 400; }
.mrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mrow > .input { flex: 1 1 160px; width: auto; }
.mini { font-size: 13px; color: var(--mute); display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.mini input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--lime); }
.msec { border: 1px solid var(--ctl); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.msec-head .input { font-weight: 600; }
.mitems { display: flex; flex-direction: column; gap: 10px; }
.mitem { border-left: 2px solid var(--line); padding: 4px 0 4px 10px; display: flex; flex-direction: column; gap: 6px; }
.mprice { display: flex; gap: 6px; align-items: center; }
.mprice .input { min-height: 38px; padding: 8px 10px; font-size: 14px; }
.mprice .plabel { width: 92px; flex: 0 0 auto; }
.mprice .pamount { width: 110px; flex: 0 0 auto; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.iconbtn { min-width: 36px; min-height: 36px; border-radius: 10px; border: 1px solid var(--ctl); background: transparent; color: var(--mute); font: 14px var(--body); cursor: pointer; padding: 0 8px; }
.iconbtn:hover { color: var(--text); border-color: var(--mute); }
.iconbtn.danger:hover { color: var(--warn); border-color: var(--warn); }
.addbtn { align-self: flex-start; min-height: 40px; border-radius: 999px; border: 1px dashed var(--ctl); background: transparent; color: var(--text); font: 500 14px var(--body); padding: 0 16px; cursor: pointer; }
.addbtn:hover { border-color: var(--lime); color: var(--lime); }
.mhint { margin: 0; font-size: 13px; color: var(--mute); }

/* look choices */
.choice-label { font-size: 13px; color: var(--mute); margin-top: 2px; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.choice { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ctl); background: transparent; color: var(--text); font: 14px var(--body); cursor: pointer; }
.choice:hover { border-color: var(--mute); }
.choice[aria-pressed="true"] { border-color: var(--lime); box-shadow: 0 0 0 2px rgba(255, 154, 77, .35); }
.font-choice { font-size: 17px; }
.pal-choice { padding: 0 8px; }
.pal { display: inline-flex; border-radius: 50%; overflow: hidden; width: 24px; height: 24px; border: 1px solid rgba(255, 255, 255, .3); vertical-align: middle; }
.pal i { width: 50%; height: 100%; display: block; }

/* ---------- preview ---------- */
.menu-preview .chrome { flex-wrap: wrap; }
.paper-pick { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.paper-pick select { min-height: 36px; border-radius: 8px; background: #120A18; color: var(--text); border: 1px solid var(--ctl); font: 14px var(--body); padding: 0 8px; }
.fit { flex: 1; min-width: 0; font-size: 13px; color: var(--mute); }
.fit.warn { color: var(--warn); }
.menu-preview .btn { min-height: 40px; font-size: 15px; }
.sheet-wrap { position: relative; padding: 18px; background: #2A1F30; overflow: hidden; }
.sheets { display: flex; gap: 24px; width: max-content; transform-origin: top left; }
.sheets.stacked { flex-direction: column; }
.sheets .menu-page { box-shadow: 0 20px 60px rgba(0, 0, 0, .45); flex: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--lime); font: inherit; text-decoration: underline; cursor: pointer; min-height: 0; }
.mselect { min-height: 36px; border-radius: 8px; background: #120A18; color: var(--text); border: 1px solid var(--ctl); font: 14px var(--body); padding: 0 8px; }
.mextras { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px dashed var(--ctl); border-radius: 10px; }
.mextras .elead { width: 120px; flex: 0 0 auto; min-height: 38px; padding: 8px 10px; font-size: 14px; }
.mextras .ename { flex: 1 1 auto; min-width: 0; }
.msec-extras { display: flex; flex-direction: column; gap: 6px; }
.mextras > .iconbtn { align-self: flex-start; }

/* ---------- the printed menu ---------- */
/* Look = font pairing (font-*) + palette (--m-* colours, set by menus.js) + layout (layout-*) + border (border-*). */
.menu-page {
  --s: 1;
  --m-bg: #FBF8F2; --m-ink: #221C18; --m-muted: #6B5D52; --m-accent: #8E3B24;
  --m-rule: color-mix(in srgb, var(--m-muted) 45%, var(--m-bg));
  --m-body: 'EB Garamond', Georgia, serif; --m-bs: 1;
  --m-head: 'EB Garamond', Georgia, serif; --m-head-tf: uppercase; --m-head-ls: .14em; --m-head-w: 600; --m-head-style: normal; --m-hs: 1;
  --m-sec: 'EB Garamond', Georgia, serif; --m-sec-tf: uppercase; --m-sec-ls: .24em; --m-sec-w: 600; --m-sec-style: normal; --m-ss: 1;
  position: relative;
  width: 8.5in; height: 11in; box-sizing: border-box; padding: .6in .65in;
  background: var(--m-bg); color: var(--m-ink); font-family: var(--m-body);
  font-size: calc(12.5pt * var(--s) * var(--m-bs)); line-height: 1.32; overflow: hidden;
  display: flex; flex-direction: column;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.menu-page.a4 { width: 210mm; height: 297mm; }
.menu-page.font-elegant { --m-head: 'Playfair Display', Georgia, serif; --m-head-tf: none; --m-head-ls: .01em; --m-hs: 1.15;
  --m-sec: 'Playfair Display', Georgia, serif; --m-sec-tf: none; --m-sec-ls: .02em; --m-sec-w: 400; --m-sec-style: italic; --m-ss: 1.55; }
.menu-page.font-modern { --m-body: Inter, system-ui, sans-serif; --m-bs: .86; --m-head: Inter, system-ui, sans-serif; --m-head-ls: .12em; --m-hs: .95;
  --m-sec: Inter, system-ui, sans-serif; --m-sec-ls: .18em; }
.menu-page.font-bold { --m-body: Inter, system-ui, sans-serif; --m-bs: .86; --m-head: 'Bebas Neue', Impact, sans-serif; --m-head-ls: .04em; --m-head-w: 400; --m-hs: 1.6;
  --m-sec: 'Bebas Neue', Impact, sans-serif; --m-sec-ls: .08em; --m-sec-w: 400; --m-ss: 1.7; }
.menu-page.font-warm { --m-body: Fraunces, Georgia, serif; --m-bs: .94; --m-head: Fraunces, Georgia, serif; --m-head-tf: none; --m-head-ls: 0; --m-hs: 1.1;
  --m-sec: Fraunces, Georgia, serif; --m-sec-tf: none; --m-sec-ls: .01em; --m-ss: 1.45; }

.m-head { text-align: center; margin-bottom: calc(18pt * var(--s)); }
.m-logo { display: block; margin: 0 auto calc(10pt * var(--s)); max-height: calc(64pt * var(--s)); max-width: 60%; object-fit: contain; }
.m-name { margin: 0; font-family: var(--m-head); font-size: calc(28pt * var(--s) * var(--m-hs)); text-transform: var(--m-head-tf); letter-spacing: var(--m-head-ls); font-weight: var(--m-head-w); font-style: var(--m-head-style); line-height: 1.1; overflow-wrap: anywhere; }
.m-tagline { margin: calc(5pt * var(--s)) 0 0; font-style: italic; color: var(--m-muted); }
.m-rule { width: 48pt; height: 1px; background: var(--m-rule); margin: calc(12pt * var(--s)) auto 0; }
.m-body { flex: 1; min-height: 0; overflow: hidden; }
.m-body.two { column-count: 2; column-gap: calc(28pt * var(--s)); }
.m-sec { margin-bottom: calc(16pt * var(--s)); }
.m-sec h2 { margin: 0 0 calc(8pt * var(--s)); font-family: var(--m-sec); font-size: calc(10.5pt * var(--s) * var(--m-ss)); text-transform: var(--m-sec-tf); letter-spacing: var(--m-sec-ls); font-weight: var(--m-sec-w); font-style: var(--m-sec-style); color: var(--m-accent); break-after: avoid; line-height: 1.15; }
.m-note { margin: calc(-3pt * var(--s)) 0 calc(8pt * var(--s)); font-style: italic; color: var(--m-muted); font-size: .9em; }
.m-item { break-inside: avoid; display: flex; flex-wrap: wrap; align-items: baseline; margin-bottom: calc(8pt * var(--s)); }
.m-iname { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.m-itags { margin-left: 6pt; font-size: .68em; font-weight: 400; letter-spacing: .08em; color: var(--m-muted); white-space: nowrap; }
.m-dots { flex: 1 1 12pt; min-width: 12pt; }
.m-price { text-align: right; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.m-price small { font-size: .8em; color: var(--m-muted); }
.m-desc { flex-basis: 100%; font-style: italic; color: var(--m-muted); font-size: .9em; overflow-wrap: anywhere; }
.m-foot { text-align: center; font-size: .82em; color: var(--m-muted); border-top: 1px solid var(--m-rule); padding-top: calc(10pt * var(--s)); margin-top: calc(8pt * var(--s)); }
.m-foot p { margin: 0; }
.m-foot p + p { margin-top: 2pt; }
.m-extras { flex-basis: 100%; margin: calc(2pt * var(--s)) 0 0; font-size: .86em; color: var(--m-muted); overflow-wrap: anywhere; }
.m-extras em { color: var(--m-ink); }
.m-sec > .m-extras { margin: calc(-2pt * var(--s)) 0 0; break-inside: avoid; }
.m-item.noprice .m-dots { visibility: hidden; }
/* specials box: stands out without decoration; works in black and white */
.m-specials { border: 1.5px solid var(--m-accent); padding: calc(10pt * var(--s)) calc(12pt * var(--s)) calc(4pt * var(--s)); break-inside: avoid; }
.m-specials h2 { text-align: center; }
.m-specials > .m-extras { margin-bottom: calc(8pt * var(--s)); }
/* set price (prix fixe / tasting): one price on the section heading, dishes without prices */
.m-set { break-inside: avoid; }
.m-sethead { display: flex; align-items: baseline; margin: 0 0 calc(8pt * var(--s)); color: var(--m-accent); break-after: avoid; }
.m-sethead h2 { margin: 0; }
.m-sethead .m-price { font-family: var(--m-sec); font-size: calc(10.5pt * var(--s) * var(--m-ss)); font-weight: var(--m-sec-w); }
.m-set .m-item .m-dots { display: none; }
.m-set > .m-extras { margin-bottom: calc(4pt * var(--s)); }
/* page 2: the name small at the top */
.m-head-small { margin-bottom: calc(14pt * var(--s)); }
.m-name-small { margin: 0; font-family: var(--m-head); text-transform: var(--m-head-tf); letter-spacing: var(--m-head-ls); font-weight: var(--m-head-w); font-size: calc(11pt * var(--s) * var(--m-hs)); color: var(--m-muted); }
.m-empty { color: var(--m-muted); font-style: italic; text-align: center; margin-top: 30%; }

/* layouts */
.layout-left .m-head { text-align: left; }
.layout-left .m-logo { margin-left: 0; }
.layout-left .m-rule { margin-left: 0; width: 100%; }
.layout-left .m-sec h2 { padding-bottom: calc(4pt * var(--s)); border-bottom: 1px solid var(--m-rule); }
.layout-left .m-sethead { padding-bottom: calc(4pt * var(--s)); border-bottom: 1px solid var(--m-rule); }
.layout-left .m-sethead h2 { padding: 0; border: 0; }
.layout-left .m-foot { text-align: left; }
.layout-leaders .m-dots { margin: 0 5pt; border-bottom: 1.5px dotted var(--m-rule); transform: translateY(-.28em); }

/* layout: colour bands (section headings on solid bands of the accent colour; ornament under the name) */
.menu-page { --m-on: #FFFFFF; }
.menu-page.layout-banner { --m-sec-style: normal; --m-sec-tf: uppercase; --m-sec-ls: .14em; --m-ss: 1.15; }
.menu-page.layout-banner.font-bold { --m-sec-ls: .1em; --m-ss: 1.6; }
.layout-banner .m-name { color: var(--m-accent); }
.layout-banner .m-rule { width: 150pt; height: 0; background: none; border-top: 1px solid var(--m-accent); position: relative; margin-top: calc(14pt * var(--s)); }
.layout-banner .m-rule::after { content: ""; position: absolute; left: 50%; top: -4.5pt; width: 8pt; height: 8pt; background: var(--m-accent); transform: translateX(-50%) rotate(45deg); outline: 3pt solid var(--m-bg); }
.layout-banner .m-sec h2 { background: var(--m-accent); color: var(--m-on); text-align: center; padding: calc(4pt * var(--s)) 10pt calc(3.5pt * var(--s)); margin-bottom: calc(9pt * var(--s)); }
.layout-banner .m-sethead { background: var(--m-accent); color: var(--m-on); padding: calc(4pt * var(--s)) 10pt calc(3.5pt * var(--s)); }
.layout-banner .m-sethead h2 { background: none; padding: 0; margin: 0; text-align: left; }
.layout-banner .m-specials h2 { margin: calc(-10pt * var(--s)) calc(-12pt * var(--s)) calc(9pt * var(--s)); }
.layout-banner .m-note { text-align: center; }
.layout-banner .m-foot { border-top: 2px solid var(--m-accent); }

/* a featured section: a tinted panel with a bigger heading, so the page has a focal point */
.m-feature { break-inside: avoid; background: color-mix(in srgb, var(--m-accent) 9%, var(--m-bg)); border-top: 3pt solid var(--m-accent); padding: calc(10pt * var(--s)) calc(12pt * var(--s)) calc(3pt * var(--s)); }
.m-feature h2 { font-size: calc(10.5pt * var(--s) * var(--m-ss) * 1.35); }
.layout-banner .m-feature { border-top: 0; padding-top: 0; }
.layout-banner .m-feature h2 { margin: 0 calc(-12pt * var(--s)) calc(10pt * var(--s)); padding-top: calc(7pt * var(--s)); padding-bottom: calc(6pt * var(--s)); }

/* display lettering (SIL OFL fonts, self-hosted): for the name and section headings only */
@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url('fonts/anton-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Alfa Slab One'; font-weight: 400; font-display: swap; src: url('fonts/alfa-slab-one-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rye'; font-weight: 400; font-display: swap; src: url('fonts/rye-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lobster'; font-weight: 400; font-display: swap; src: url('fonts/lobster-latin-400-normal.woff2') format('woff2'); }
.menu-page.font-heavy { --m-body: Inter, system-ui, sans-serif; --m-bs: .86; --m-head: Anton, Impact, sans-serif; --m-head-tf: uppercase; --m-head-ls: .02em; --m-head-w: 400; --m-hs: 1.5;
  --m-sec: Anton, Impact, sans-serif; --m-sec-tf: uppercase; --m-sec-ls: .06em; --m-sec-w: 400; --m-ss: 1.45; }
.menu-page.font-slab { --m-body: Inter, system-ui, sans-serif; --m-bs: .86; --m-head: 'Alfa Slab One', Rockwell, serif; --m-head-tf: none; --m-head-ls: 0; --m-head-w: 400; --m-hs: 1.15;
  --m-sec: 'Alfa Slab One', Rockwell, serif; --m-sec-tf: uppercase; --m-sec-ls: .05em; --m-sec-w: 400; --m-ss: 1.2; }
.menu-page.font-western { --m-body: 'EB Garamond', Georgia, serif; --m-bs: 1; --m-head: Rye, Georgia, serif; --m-head-tf: none; --m-head-ls: .01em; --m-head-w: 400; --m-hs: 1.1;
  --m-sec: Rye, Georgia, serif; --m-sec-tf: uppercase; --m-sec-ls: .04em; --m-sec-w: 400; --m-ss: 1.15; }
.menu-page.font-script { --m-body: Inter, system-ui, sans-serif; --m-bs: .86; --m-head: Lobster, 'Brush Script MT', cursive; --m-head-tf: none; --m-head-ls: 0; --m-head-w: 400; --m-hs: 1.4;
  --m-sec: Lobster, 'Brush Script MT', cursive; --m-sec-tf: none; --m-sec-ls: .01em; --m-sec-w: 400; --m-ss: 1.55; }

/* photos (any layout): fixed heights, so fitting the page never waits for an image */
.m-logo-tile { display: block; }
.m-hero { --H: calc(2.4in * var(--s)); display: block; width: 100%; height: calc(1.6in * var(--s)); object-fit: cover; border-radius: 6pt; margin-top: calc(10pt * var(--s)); }
.m-sec-photo { --H: calc(1.7in * var(--s)); display: block; width: 100%; height: calc(1.1in * var(--s)); object-fit: cover; border-radius: 6pt; margin: 0 0 calc(8pt * var(--s)); break-inside: avoid; }
/* Photo boxes (2026-12-01): the photo inside is zoomed and focused; "whole" boxes take the photo's own shape. */
.m-ph { position: relative; overflow: hidden; }
.m-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.m-ph.whole { height: auto; margin-inline: auto; }
.layout-bold .m-hero.whole { --H: calc(2.6in * var(--s)); height: auto; }

/* layout: Bold (colour band with a curved edge at the top, boxed section labels, price tags, a band at the bottom) */
.menu-page.layout-bold {
  --m-sec-style: normal; --m-tint: color-mix(in srgb, var(--m-accent) 16%, var(--m-bg));
  /* two half-circles peeking in from the edges, kept inside the page margins so they never sit behind text */
  background: radial-gradient(circle at 100% 80%, var(--m-tint) 0 .5in, transparent .51in), radial-gradient(circle at 0 42%, var(--m-tint) 0 .48in, transparent .49in), var(--m-bg);
}
.layout-bold .m-head { margin: -.6in -.65in calc(16pt * var(--s)); padding: .42in .65in .5in; background: var(--m-accent); color: var(--m-on); text-align: left;
  border-radius: 0 0 50% 50% / 0 0 26pt 26pt; }
.layout-bold .m-head.has-hero { display: grid; grid-template-columns: minmax(0, 1fr) 2.7in; gap: 18pt; align-items: center; }
.layout-bold .m-name { color: var(--m-on); font-size: calc(36pt * var(--s) * var(--m-hs)); line-height: 1; }
.layout-bold .m-tagline { color: var(--m-on); opacity: .92; font-style: normal; letter-spacing: .05em; margin-top: calc(6pt * var(--s)); }
.layout-bold .m-rule { width: 56pt; height: 3pt; background: var(--m-on); opacity: .85; margin: calc(10pt * var(--s)) 0 0; }
.layout-bold .m-logo-tile { display: inline-flex; background: #FFFFFF; border-radius: 8pt; padding: 5pt 8pt; margin-bottom: calc(8pt * var(--s)); }
.layout-bold .m-logo { margin: 0; max-height: calc(48pt * var(--s)); max-width: 2.2in; }
.layout-bold .m-hero { height: calc(1.9in * var(--s)); margin: 0; border-radius: 14pt; border: 3pt solid var(--m-on); }
.layout-bold .m-head-small { margin: -.6in -.65in calc(14pt * var(--s)); padding: .26in .65in .22in; background: var(--m-accent); border-radius: 0 0 50% 50% / 0 0 16pt 16pt; text-align: left; }
.layout-bold .m-name-small { color: var(--m-on); }
.layout-bold .m-sec h2 { display: flex; align-items: center; gap: 8pt; }
.layout-bold .m-sec h2::after { content: ""; flex: 1 1 auto; height: 2px; background: var(--m-accent); opacity: .45; }
.layout-bold .m-sec-t { background: var(--m-accent); color: var(--m-on); padding: calc(3pt * var(--s)) 9pt calc(2pt * var(--s)); border-radius: 3pt; }
.layout-bold .m-sethead h2::after { display: none; }
.layout-bold .m-price { font-weight: 600; }
.layout-bold .m-item:not(.noprice) > .m-price { background: var(--m-tint); padding: 0 5pt; border-radius: 3pt; }
.layout-bold .m-dots { visibility: hidden; }
.layout-bold .m-feature { border-top: 0; border-radius: 10pt; background: color-mix(in srgb, var(--m-accent) 11%, var(--m-bg)); }
.layout-bold .m-feature .m-item:not(.noprice) > .m-price { background: var(--m-bg); }
.layout-bold .m-specials { border-radius: 8pt; border-width: 2px; }
.layout-bold .m-foot { margin: calc(10pt * var(--s)) -.65in -.6in; padding: calc(16pt * var(--s)) .65in .42in; background: var(--m-ink); color: var(--m-bg); border-top: 0;
  border-radius: 50% 50% 0 0 / 22pt 22pt 0 0; }
.layout-bold .m-qr-label { color: var(--m-bg); }

/* borders */
.border-thin::before, .border-double::before { content: ""; position: absolute; inset: .3in; pointer-events: none; }
.border-thin::before { border: 1px solid var(--m-rule); }
.border-double::before { border: 4px double var(--m-accent); }

#print-root { display: none; }
@media print {
  html, body { background: #fff !important; margin: 0 !important; }
  body > *:not(#print-root) { display: none !important; }
  #print-root { display: block !important; }
  #print-root .menu-page { transform: none !important; box-shadow: none !important; break-after: page; }
  #print-root .menu-page:last-child { break-after: auto; }
}

@media (min-width: 901px) {
  .menu-preview { position: sticky; top: 84px; }
}
@media (max-width: 900px) {
  .menu-studio { grid-template-columns: minmax(0, 1fr); }
}

/* read a menu from photos */
.mread-btn { align-self: flex-start; min-height: 44px; font-size: 15px; }
.mread-btn:disabled { opacity: .7; cursor: progress; }
.mread-status:empty { display: none; }
.mread-status.err { color: var(--warn); }
.mcheck { border: 1px solid #F2C14E; background: rgba(242, 193, 78, .1); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.mcheck p { margin: 0; }
.input.unchecked { border-color: #F2C14E; box-shadow: 0 0 0 2px rgba(242, 193, 78, .35); background: rgba(242, 193, 78, .1); }

/* QR code on the printed menu: a white tile so it scans on any colour; about 0.9 in, big enough for any phone */
.m-foot.has-qr { display: flex; align-items: center; justify-content: center; gap: calc(14pt * var(--s)); text-align: left; }
.layout-left .m-foot.has-qr { justify-content: flex-start; }
.m-qr { display: flex; align-items: center; gap: 8pt; flex: none; }
.m-qr-code { width: 0.9in; height: 0.9in; display: block; border-radius: 3pt; }
.m-qr-label { max-width: 1.4in; font-size: .95em; color: var(--m-ink); font-weight: 600; line-height: 1.25; }
.m-foot.has-qr .m-foot-text { min-width: 0; }
.qr-test { word-break: break-all; color: var(--lime); }
.qr-test[hidden] { display: none; }

/* Free trial only: the Sogilex line, in the bottom margin of the last page, so it never changes how the menu fits. */
.m-mark { position: absolute; left: 50%; bottom: .12in; transform: translateX(-50%); margin: 0; padding: 2pt 9pt; border-radius: 999px; background: rgba(255, 255, 255, .88); color: #3A3A3A; font: 500 8pt/1.3 Inter, system-ui, sans-serif; white-space: nowrap; z-index: 2; }

/* Menus editor: photo adjuster */
.m-adj { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--lime); border-radius: 12px; }
.m-adj .mini { min-height: 0; }
.m-adj-frame { position: relative; width: 100%; max-height: 240px; overflow: hidden; border-radius: 8px; cursor: grab; touch-action: none; background: #000; margin-inline: auto; }
.m-adj-frame:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.m-adj-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; pointer-events: none; }
.m-adj .m-adj-zoom { flex: 1 1 140px; accent-color: var(--lime); }
