/* 메뉴통 — 분식집 벽 메뉴판. 노란 아크릴 띠, 먹색 괘선, 빨간 가격, 번호칸. */
:root {
  --yellow: #ffd21f;
  --yellow-soft: #fff3b8;
  --ink: #141414;
  --ink-2: #3d3a33;
  --muted: #5b5548;
  --ground: #f4f1e8;
  --paper: #ffffff;
  --red: #c8201a;
  --green: #11703a;
  --amber: #7d4a00;
  --rule: 2px solid var(--ink);
  --t-s: 14px;
  --t-m: 17px;
  --t-l: 22px;
  --t-xl: 28px;
  --gap: 16px;
  --tap: 48px;
  --ko: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
  --ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --zh: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  --en: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--t-m)/1.5 var(--ko); word-break: keep-all; overflow-wrap: anywhere;
}
:lang(ja) { font-family: var(--ja); }
:lang(zh-Hans) { font-family: var(--zh); word-break: normal; }
:lang(en) { font-family: var(--en); word-break: normal; }
:lang(ko) { font-family: var(--ko); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, ol, fieldset, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#print { display: none; }

/* ---------- 머리띠 ---------- */
.top { background: var(--yellow); border-bottom: 4px solid var(--ink); padding: 12px var(--gap) 12px; position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 720px; margin: 0 auto; }
.brand { font-size: var(--t-xl); font-weight: 900; letter-spacing: -0.04em; text-decoration: none; line-height: 1; }
.brand b { background: var(--ink); color: var(--yellow); padding: 0 6px 2px; margin-left: 2px; }
.top-free { font-size: var(--t-s); font-weight: 800; border: var(--rule); padding: 2px 8px; background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px auto 0; max-width: 720px; }
.step { min-width: 0; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 6px; border: var(--rule); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 800; white-space: nowrap; }
.step-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 12px; }
.step[aria-current="step"] { background: var(--ink); color: var(--yellow); }
.step[aria-current="step"] .step-n { background: var(--yellow); color: var(--ink); }
.step:disabled { opacity: .45; }

/* ---------- 작업 단 ---------- */
.work { max-width: 720px; margin: 0 auto; padding: 20px var(--gap) 120px; display: grid; gap: 20px; }
.intro h1 { font-size: var(--t-xl); font-weight: 900; letter-spacing: -0.03em; line-height: 1.25; text-wrap: balance; }
.intro p { margin-top: 10px; color: var(--ink-2); max-width: 60ch; }
.field { display: grid; gap: 6px; }
.field > label, legend { font-weight: 800; font-size: var(--t-m); }
.field.small > label { font-size: var(--t-s); }
.hint { font-size: var(--t-s); color: var(--muted); }
input:not([type="radio"]):not([type="checkbox"]), textarea {
  width: 100%; min-height: var(--tap); padding: 10px 12px; border: var(--rule); border-radius: 0; background: var(--paper);
  caret-color: var(--red); appearance: none;
}
textarea { resize: vertical; line-height: 1.6; }
#paste { min-height: 220px; font-size: var(--t-m); }
input::placeholder, textarea::placeholder { color: #77705f; }
[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 3px #f6c8c5; }
.samples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--t-s); font-weight: 700; }
.chip { min-height: 40px; padding: 0 14px; border: var(--rule); border-radius: 999px; background: var(--paper); font-size: var(--t-s); font-weight: 800; }
.chip:hover { background: var(--yellow-soft); }
.chip.on { background: var(--ink); color: var(--yellow); }
.actions { display: grid; gap: 10px; }
.actions.sticky { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--ground) 70%, transparent); }
.primary { min-height: var(--tap); padding: 0 18px; border: 0; background: var(--ink); color: var(--yellow); font-weight: 900; font-size: var(--t-m); }
.primary.big { min-height: 58px; font-size: var(--t-l); letter-spacing: -0.02em; }
.primary:hover:not(:disabled) { background: #000; color: #fff; }
.primary:disabled { background: #8f8a7e; color: #f4f1e8; }
.ghost { min-height: 44px; padding: 0 14px; border: var(--rule); background: var(--paper); font-weight: 800; font-size: var(--t-s); }
.ghost:hover { background: var(--yellow-soft); }
.ghost.wide { width: 100%; min-height: var(--tap); }
.ghost.tiny { min-height: 36px; padding: 0 10px; }
.danger { color: var(--red); border-color: var(--red); }
.privacy { font-size: var(--t-s); color: var(--muted); border-top: var(--rule); padding-top: 12px; }

/* ---------- 2. 확인 ---------- */
.summary h1 { font-size: var(--t-l); font-weight: 900; }
.summary { display: grid; gap: 8px; }
.tally { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--t-s); font-weight: 800; }
.tally b { font-size: var(--t-m); font-variant-numeric: tabular-nums; }
.tally .ok { color: var(--green); } .tally .check { color: var(--amber); } .tally .miss { color: var(--red); }
.meter { display: grid; gap: 4px; font-size: var(--t-s); font-weight: 700; }
.meter-bar { height: 10px; border: var(--rule); background: #e5dfcd; }
.meter-bar i { display: block; height: 100%; background: var(--red); max-width: 100%; }
.cat-block { display: grid; gap: 8px; }
.cat-head { display: grid; gap: 8px; }
.cat-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; border: 0; padding: 0; background: none; text-align: left; min-height: 36px; }
.cat-name .cat-ko { background: var(--ink); color: var(--paper); font-weight: 900; font-size: var(--t-m); padding: 2px 10px; }
.cat-name .cat-tr { font-size: var(--t-s); font-weight: 700; color: var(--ink-2); }
.strips { display: grid; gap: 8px; }
.strip { background: var(--paper); border: var(--rule); }
.strip-face { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: stretch; border: 0; padding: 0; background: none; text-align: left; min-height: 64px; }
.strip-no { display: grid; place-items: center; background: var(--yellow); border-right: var(--rule); font-weight: 900; font-size: var(--t-m); font-variant-numeric: tabular-nums; }
.strip-main { padding: 8px 10px; display: grid; gap: 2px; min-width: 0; }
.strip-name { font-size: var(--t-l); font-weight: 900; letter-spacing: -0.02em; line-height: 1.25; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.strip-tr { font-size: var(--t-s); color: var(--ink-2); line-height: 1.35; }
.strip-price { align-self: center; padding: 0 12px; font-size: var(--t-l); font-weight: 900; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip.is-open .strip-no { background: var(--ink); color: var(--yellow); }
.strip.is-soldout .strip-name, .strip.is-soldout .strip-price { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }
.strip-face:hover .strip-no { background: #ffe36b; }
.badge { font-size: 12px; font-weight: 800; letter-spacing: 0; padding: 1px 6px; border: 1.5px solid currentColor; line-height: 1.4; white-space: nowrap; }
.badge.ok { color: var(--green); } .badge.check { color: var(--amber); background: #fff4df; } .badge.miss { color: var(--red); background: #fdeceb; }
.editor { border-top: var(--rule); padding: 14px 12px 12px; display: grid; gap: 14px; background: #fffdf5; }
.cat-head .editor { border: var(--rule); }
.warn { font-size: var(--t-s); font-weight: 700; color: var(--red); background: #fdeceb; padding: 8px 10px; border-left: 0; }
.note { font-size: var(--t-s); font-weight: 700; color: var(--amber); background: #fff4df; padding: 8px 10px; }
fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { padding: 0; margin-bottom: 8px; font-size: var(--t-s); }
.seg label, .seg-opt, .chip-check, .toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: var(--rule); background: var(--paper);
  font-size: var(--t-s); font-weight: 700; cursor: pointer;
}
.seg input, .chip-check input, .toggle input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.seg label:has(input:checked), .chip-check:has(input:checked) { background: var(--ink); color: var(--yellow); }
.seg label:has(input:focus-visible), .chip-check:has(input:focus-visible), .toggle:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yellow); }
.toggle { justify-self: start; }
.suggest { width: 100%; font-size: var(--t-s); font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; background: var(--yellow-soft); }
.more { border: var(--rule); background: var(--paper); }
.more > summary { min-height: var(--tap); display: flex; align-items: center; padding: 0 12px; font-weight: 800; font-size: var(--t-s); cursor: pointer; }
.more[open] > summary { border-bottom: var(--rule); }
.more > :not(summary) { margin: 12px; }
.opts { display: grid; gap: 6px; }
.opts li { display: grid; grid-template-columns: 1fr auto auto; gap: 2px 8px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--muted); }
.opt-ko { font-weight: 800; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.opt-tr { grid-column: 1; font-size: var(--t-s); color: var(--ink-2); }
.opts .opt-price { grid-row: 1; grid-column: 2; color: var(--red); font-weight: 900; font-variant-numeric: tabular-nums; }
.opts .ghost { grid-row: 1 / 3; grid-column: 3; }
.inline-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.inline-add.stack { grid-template-columns: 1fr; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.row-actions .primary { margin-left: auto; }
.panel { background: var(--paper); border: var(--rule); padding: 16px; display: grid; gap: 14px; }
.panel h2 { font-size: var(--t-l); font-weight: 900; letter-spacing: -0.02em; }

/* ---------- 3. 미리보기·인쇄·QR ---------- */
.free-note { border: var(--rule); background: var(--yellow); padding: 14px 16px; display: grid; gap: 8px; }
.free-head { font-size: var(--t-l); font-weight: 900; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.free-head span { font-size: var(--t-s); font-weight: 800; background: var(--ink); color: var(--yellow); padding: 1px 8px; }
.ask { display: grid; gap: 8px; border-top: var(--rule); padding-top: 10px; font-weight: 800; }
.ask-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.thanks { font-weight: 700; border-top: var(--rule); padding-top: 10px; }
.lang-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--rule); border-bottom: 0; background: var(--paper); }
.lang-tabs button { min-height: var(--tap); border: 0; background: none; font-weight: 800; font-size: var(--t-s); }
.lang-tabs button + button { border-left: var(--rule); }
.lang-tabs [aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.phone { border: var(--rule); background: var(--ground); padding: 14px 12px; display: grid; gap: 14px; position: relative; }
.phone-shop { font-size: var(--t-l); font-weight: 900; }
.phone.sample::after { content: "견본 · SAMPLE"; position: absolute; inset: 40% 0 auto; text-align: center; font-size: 44px; font-weight: 900; color: rgb(200 32 26 / .18); transform: rotate(-14deg); pointer-events: none; }
.sample-note { font-size: var(--t-s); font-weight: 800; color: var(--red); }
.qr-box { width: min(240px, 70vw); border: var(--rule); background: #fff; justify-self: center; }
.qr-box svg { display: block; width: 100%; height: auto; }
.qr-url { text-align: center; font-weight: 800; word-break: break-all; }
.dirty { display: grid; gap: 8px; background: var(--yellow-soft); padding: 10px 12px; border: var(--rule); font-weight: 700; }
.saved { font-size: var(--t-s); font-weight: 700; color: var(--green); }
.error { font-weight: 800; color: var(--red); background: #fdeceb; padding: 8px 10px; }
.secret { border: 2px dashed var(--red); padding: 12px; display: grid; gap: 8px; background: #fffaf9; }
.secret h3 { font-size: var(--t-m); font-weight: 900; color: var(--red); }
.secret p { font-size: var(--t-s); }
.secret input { font-size: var(--t-s); }

/* ---------- 메뉴 띠 (손님 화면·미리보기 공통) ---------- */
.items { display: grid; gap: 8px; }
.item { display: grid; grid-template-columns: 40px 1fr auto; background: var(--paper); border: var(--rule); }
.item-no { display: grid; place-items: start center; padding-top: 12px; background: var(--yellow); border-right: var(--rule); font-weight: 900; font-variant-numeric: tabular-nums; }
.item-body { padding: 10px 12px; display: grid; gap: 4px; min-width: 0; }
.item-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; }
.item-name { font-size: var(--t-l); font-weight: 900; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: normal; hyphens: manual; }
.item-name .gloss { display: block; font-size: var(--t-s); font-weight: 700; letter-spacing: 0; color: var(--ink-2); margin-top: 2px; }
.item-price { font-size: var(--t-l); font-weight: 900; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-ko { font-size: var(--t-s); font-weight: 700; color: var(--ink-2); }
.item-marks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { font-size: 13px; font-weight: 800; padding: 1px 8px; border: 1.5px solid var(--ink); }
.tag-rec, .tag-best, .tag-new { background: var(--ink); color: var(--yellow); }
.spice { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--red); }
.spice svg { width: 14px; height: 14px; }
.spice .off { opacity: .25; }
.item-desc { font-size: var(--t-s); color: var(--ink-2); line-height: 1.55; }
.item-al { font-size: var(--t-s); }
.al-label { font-weight: 800; }
.item-opts { font-size: var(--t-s); display: grid; gap: 2px; border-top: 1px dashed var(--muted); padding-top: 6px; }
.item-opts li { display: flex; justify-content: space-between; gap: 8px; }
.item-opts .opt-price { font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }
.item.is-soldout .item-name, .item.is-soldout .item-body > :not(.item-head) { opacity: .5; }
.item.is-soldout .item-price { color: var(--muted); }
.notices { border: var(--rule); background: var(--paper); padding: 10px 12px; display: grid; gap: 6px; }
.notices h2 { font-size: var(--t-s); font-weight: 900; }
.notices ul { display: grid; gap: 4px; }
.notices li { font-size: var(--t-s); font-weight: 700; padding-left: 14px; position: relative; }
.notices li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--red); }
.g-cat { display: grid; gap: 8px; }
.g-cat h2 { font-size: var(--t-m); font-weight: 900; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.g-cat h2 { background: var(--ink); color: var(--paper); padding: 4px 10px; justify-self: start; }
.cat-ko { font-size: var(--t-s); font-weight: 700; color: var(--yellow); }

/* ---------- 손님 화면 ---------- */
.guest { padding-bottom: 96px; }
.g-loading, .g-error { max-width: 640px; margin: 0 auto; padding: 48px var(--gap); font-weight: 800; }
.g-error { display: grid; gap: 16px; }
.g-error h1 { font-size: var(--t-l); }
.g-top { background: var(--yellow); border-bottom: 4px solid var(--ink); padding: 14px var(--gap) 12px; }
.g-shop, .g-langs { max-width: 640px; margin: 0 auto; }
.g-shop h1 { font-size: var(--t-xl); font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }
.g-shop p { font-size: var(--t-s); font-weight: 800; margin-top: 2px; }
.g-langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.g-langs button { min-height: 44px; border: var(--rule); border-radius: 999px; background: var(--paper); font-weight: 800; font-size: 15px; padding: 0 4px; }
.g-langs [aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.g-cats { position: sticky; top: 0; z-index: 4; display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gap); background: var(--ground); border-bottom: var(--rule); scrollbar-width: none; }
.g-cats a { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: var(--rule); background: var(--paper); font-weight: 800; font-size: var(--t-s); text-decoration: none; }
.guest .notices, .g-menu, .g-allergy, .g-foot { max-width: 640px; margin-left: auto; margin-right: auto; }
.guest .notices { margin: 16px var(--gap) 0; }
@media (min-width: 672px) { .guest .notices { margin: 16px auto 0; } }
.g-menu { padding: 16px var(--gap); display: grid; gap: 22px; }
.g-cat { scroll-margin-top: 70px; }
.item.has-side { grid-template-columns: 40px 1fr 84px; }
.item-side { display: grid; grid-template-rows: auto 1fr; border-left: var(--rule); }
.item-side .item-price { font-size: var(--t-m); text-align: center; padding: 12px 4px 8px; }
.item .add { min-height: 48px; border: 0; border-top: 1.5px solid var(--ink); background: var(--paper); font-weight: 900; font-size: var(--t-s); padding: 0 4px; }
.item .add:hover { background: var(--yellow-soft); }
.item .add.is-in { background: var(--ink); color: var(--yellow); }
.item:has(.add.is-in) .item-no { background: var(--ink); color: var(--yellow); }
.g-allergy { padding: 0 var(--gap); font-size: var(--t-s); color: var(--muted); }
.g-foot { padding: 16px var(--gap); font-size: var(--t-s); }
.g-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px var(--gap) calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--ground) 75%, transparent); z-index: 6; }
.show { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 640px; margin: 0 auto; min-height: 56px; border: 0; background: var(--ink); color: var(--yellow); font-weight: 900; font-size: var(--t-l); }
.count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; background: var(--yellow); color: var(--ink); border-radius: 999px; font-size: var(--t-m); font-variant-numeric: tabular-nums; }
dialog.staff { width: min(640px, 100vw); max-width: 100vw; max-height: 100dvh; margin: auto auto 0; padding: 0; border: 0; border-top: 4px solid var(--ink); background: var(--paper); display: grid; }
dialog.staff::backdrop { background: rgb(20 20 20 / .55); }
dialog.staff h2 { padding: 14px var(--gap) 6px; font-size: 32px; font-weight: 900; letter-spacing: -0.03em; }
.staff-list { padding: 0 var(--gap); display: grid; gap: 0; overflow: auto; }
.staff-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: var(--rule); }
.staff-no { background: var(--yellow); border: var(--rule); font-weight: 900; font-size: var(--t-l); padding: 2px 8px; font-variant-numeric: tabular-nums; }
.staff-name { font-size: 26px; font-weight: 900; line-height: 1.2; display: grid; }
.staff-name small { font-size: var(--t-s); font-weight: 700; color: var(--ink-2); }
.staff-qty { display: flex; align-items: center; gap: 6px; font-size: var(--t-l); font-variant-numeric: tabular-nums; }
.qty { width: 44px; height: 44px; display: grid; place-items: center; border: var(--rule); background: var(--paper); }
.qty svg { width: 16px; height: 16px; }
.staff-empty { padding: 12px var(--gap); font-weight: 700; }
.staff-foot { padding: 12px var(--gap); font-size: var(--t-s); color: var(--muted); }
.staff-actions { display: flex; gap: 8px; padding: 0 var(--gap) calc(16px + env(safe-area-inset-bottom)); }
.staff-actions .primary { flex: 1; min-height: 52px; }

/* ---------- 운영 집계 ---------- */
.plain-page .single { max-width: 720px; margin: 0 auto; padding: 24px var(--gap) 64px; display: grid; gap: 16px; }
.grid-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: var(--t-s); }
.grid-table th, .grid-table td { border: var(--rule); padding: 8px; text-align: left; }
.grid-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }
.table-wrap { overflow-x: auto; }

@media (min-width: 760px) {
  .work { padding-top: 28px; }
  .strip-face { grid-template-columns: 48px 1fr auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .strip-face, .chip, .ghost, .primary, .item .add { transition: background-color .15s cubic-bezier(.2, .8, .2, 1), color .15s cubic-bezier(.2, .8, .2, 1); }
  .editor { animation: unfold .22s cubic-bezier(.16, 1, .3, 1); }
  @keyframes unfold { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- 인쇄 ---------- */
@media print {
  body { background: #fff; }
  body > :not(#print) { display: none !important; }
  #print { display: block; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet { break-after: page; }
  .sheet:last-child { break-after: auto; }
}
.sheet { font-size: 10.5pt; line-height: 1.35; }
.paper-A3 .sheet { font-size: 14pt; }
.p-top { display: flex; align-items: baseline; gap: 4mm; border-bottom: 1.2mm solid #000; padding-bottom: 2mm; margin-bottom: 3mm; }
.p-top h1 { font-size: 2.2em; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.p-top p { font-weight: 700; font-size: 1.05em; }
.sheet .notices { border: 0.4mm solid #000; margin-bottom: 3mm; padding: 2mm 3mm; }
.sheet .notices h2, .sheet .notices li { font-size: .9em; }
.p-cols { columns: 2; column-gap: 7mm; }
.layout-all .p-cols { columns: 2; }
.p-cat { break-inside: auto; margin-bottom: 3mm; }
.p-cat h2 { display: inline-flex; flex-wrap: wrap; gap: 0 2mm; align-items: baseline; background: #000; color: #fff; padding: .3mm 2.5mm; font-size: 1.05em; font-weight: 900; margin-bottom: 1.5mm; break-after: avoid; }
.p-cat h2 small { font-weight: 700; font-size: .8em; color: #ddd; }
.p-cat h2 span { white-space: nowrap; }
.p-keep { break-inside: avoid; }
.p-made { white-space: nowrap; }
.p-item { display: grid; grid-template-columns: 7mm 1fr; gap: 2mm; padding: 1.4mm 0; border-bottom: 0.3mm solid #000; break-inside: avoid; }
.p-no { font-weight: 900; text-align: center; border: 0.4mm solid #000; background: #ffd21f; align-self: start; font-variant-numeric: tabular-nums; }
.p-head { display: flex; justify-content: space-between; gap: 2mm; align-items: baseline; }
.p-head strong { font-size: 1.15em; font-weight: 900; }
.p-head .gloss { display: block; font-size: .8em; font-weight: 700; }
.p-price { font-weight: 900; font-size: 1.1em; color: #b3140f; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-tr { font-size: .92em; }
.p-marks { display: flex; flex-wrap: wrap; gap: 2mm; font-size: .85em; }
.p-marks .spice { font-size: 1em; color: #b3140f; }
.p-desc, .p-opts { font-size: .85em; color: #222; }
.p-item.is-soldout { opacity: .45; }
.p-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 4mm; border-top: 0.6mm solid #000; padding-top: 2mm; font-size: .85em; }
.p-qr { display: flex; align-items: center; gap: 3mm; font-weight: 800; }
.p-qr svg { width: 24mm; height: 24mm; }
.paper-A3 .p-qr svg { width: 34mm; height: 34mm; }
.cards { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 148.5mm 148.5mm; width: 210mm; }
.paper-A3 .cards { width: 297mm; grid-template-rows: 210mm 210mm; }
.card { border: 0.3mm dashed #888; display: grid; justify-items: center; align-content: center; gap: 4mm; padding: 8mm; text-align: center; }
.card-title { display: flex; gap: 4mm; font-size: 20pt; font-weight: 900; }
.card-qr { width: 62mm; background: #fff; }
.card-qr svg { width: 100%; height: auto; display: block; }
.card-how { display: grid; gap: 1mm; font-size: 10pt; font-weight: 700; }
.card-langs { font-size: 9pt; font-weight: 800; background: #ffd21f; padding: 1mm 3mm; }
.card-shop { font-size: 11pt; font-weight: 900; }
