:root {
  --bg: #f6f1ea;
  --panel: #ffffff;
  --ink: #2a2420;
  --muted: #8a7f76;
  --line: #e4dbd0;
  --top: #1f1a17;
  --gold: #c9a24a;
  --gold-2: #e8cf8e;
  --primary: #2f7de1;
  --orange: #f08a24;
  --danger: #e5484d;
  --warn: #f2b33d;
  --ok: #22a06b;
  --busy: #fff6c7;
  --busy-b: #e3c443;
  --warn-bg: #ffe2c2;
  --over-bg: #ffd3d5;
  --empty: #fbeff1;
  --radius: 14px;
  --shadow: 0 2px 8px rgba(40, 25, 10, .12);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); overscroll-behavior: none; }
body { -webkit-user-select: none; user-select: none; }
input, select, textarea { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { opacity: .45; cursor: default; }
h2 { font-size: 20px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 0 0 8px; }
h4 { font-size: 13px; margin: 10px 0 6px; color: var(--muted); }
.muted { color: var(--muted); }
.pad { padding: 24px; }
.r { text-align: right; } .c { text-align: center; }

/* 全画面: 100vw/100vhは使わず inset:0 で実表示領域に合わせる */
#app { position: fixed; inset: 0; display: flex; flex-direction: column; padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left); }
body.pseudo-fs #app { z-index: 50; }
#view { flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 上部バー ---------- */
#topbar { display: flex; align-items: stretch; gap: 8px; padding: 8px 10px; background: linear-gradient(#2b2420, var(--top)); color: #fff; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; justify-content: center; font-weight: 700; font-size: 17px; color: var(--gold-2); min-width: 0; max-width: 180px; }
.brand small { font-size: 11px; color: #bfb3a6; font-weight: 400; }
.brand, .brand small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sales { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: linear-gradient(135deg, #b8893a, #d9b766); color: #2a1c05; border-radius: 10px; padding: 4px 12px; min-width: 0; }
.sales-label { grid-row: 1 / 3; font-weight: 800; font-size: 18px; line-height: 1.1; }
.sales-sub { display: flex; gap: 10px; font-size: 11px; white-space: nowrap; }
.sales-total { font-size: 20px; font-weight: 800; text-align: right; white-space: nowrap; }
.clock { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #3a302a; border-radius: 10px; padding: 2px 10px; font-size: 11px; color: var(--gold-2); white-space: nowrap; }
.clock b { font-size: 18px; color: #fff; }
.navs { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.nav { position: relative; border: 0; border-radius: 999px; padding: 0 14px; min-height: 44px; background: #3a302a; color: #f4e7c9; font-weight: 700; font-size: 14px; white-space: nowrap; }
.nav.on { background: var(--gold); color: #24180a; }
.nav.icon { font-size: 20px; padding: 0 12px; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--danger); color: #fff; font-style: normal; font-size: 12px; line-height: 20px; text-align: center; }
.tab .badge { position: static; display: inline-block; margin-left: 4px; }

/* ---------- ボタン ---------- */
.btn { border: 0; border-radius: 999px; min-height: 44px; padding: 0 20px; font-weight: 700; font-size: 15px; background: #e9e1d6; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.orange { background: var(--orange); color: #fff; }
.btn.back { background: #b4642a; color: #fff; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.warn { background: #f47e7e; color: #fff; }
.btn.ghost { background: #fff; border: 1.5px solid var(--line); }
.btn.danger.ghost { background: #fff; color: var(--danger); border-color: #f2c3c4; }
.btn.on { background: var(--ok); color: #fff; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn.xs { min-height: 32px; padding: 0 10px; font-size: 12px; }
.btn.big { min-height: 56px; font-size: 18px; padding: 0 28px; }
.btn-row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 14px; }
.btn-row.left { justify-content: flex-start; }
.round { width: 64px; height: 64px; border-radius: 50%; border: 0; font-size: 34px; font-weight: 700; color: #fff; }
.round.plus { background: var(--warn); } .round.minus { background: var(--danger); }
.round.sm { width: 34px; height: 34px; font-size: 18px; }
.x { border: 0; background: none; color: var(--muted); font-size: 18px; width: 32px; height: 32px; flex: none; }

/* ---------- 卓マップ ---------- */
.map-wrap { padding: 14px; }
.map { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile { position: relative; min-width: 0; min-height: 132px; border-radius: var(--radius); border: 2px solid transparent; box-shadow: var(--shadow); padding: 8px 10px; display: flex; flex-direction: column; align-items: stretch; gap: 3px; text-align: left; background: var(--panel); }
.tile > * { min-width: 0; }
.tile .tname { font-size: 14px; color: var(--muted); text-align: center; font-weight: 700; }
.tile .tname small { font-weight: 400; }
.tile.empty { background: linear-gradient(160deg, #fff, var(--empty)); align-items: center; justify-content: center; }
.tile.empty .empty-l { font-size: 24px; font-weight: 700; letter-spacing: .2em; }
.tile.empty .plan-l { font-size: 11px; color: var(--muted); }
.tile.busy { background: var(--busy); border-color: var(--busy-b); }
.tile.warn { background: var(--warn-bg); border-color: var(--orange); }
.tile.over { background: var(--over-bg); border-color: var(--danger); animation: blink 1.6s infinite; }
.tile.left { background: #eceae6; border-color: #bbb; }
@keyframes blink { 50% { border-color: #ffb3b6; } }
.trow { display: flex; justify-content: space-between; font-weight: 700; }
.rem { font-size: 15px; }
.over .rem { color: var(--danger); }
.period { font-size: 12px; text-align: center; background: rgba(255,255,255,.7); border-radius: 8px; }
.amount { font-size: 18px; font-weight: 800; text-align: right; }
.casts { display: flex; flex-wrap: wrap; gap: 3px; }
.casts i { font-style: normal; font-size: 11px; background: #fff; border-radius: 6px; padding: 1px 6px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map.small { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.tile.small { min-height: 72px; align-items: center; justify-content: center; }
.legend { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--muted); }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; margin-left: 10px; border: 1px solid var(--line); }
.lg.busy { background: var(--busy); } .lg.warn { background: var(--warn-bg); } .lg.over { background: var(--over-bg); } .lg.empty { background: var(--empty); }

/* ---------- 伝票 ---------- */
.ticket-view { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 10px 12px 0; gap: 8px; }
.tabs, .subtabs { display: flex; gap: 6px; overflow-x: auto; flex: none; padding-bottom: 2px; }
.tab { border: 0; border-radius: 10px; min-height: 42px; padding: 0 18px; background: #e9e1d6; font-weight: 700; white-space: nowrap; flex: none; }
.tab.on { background: #c98a2e; color: #fff; }
.t-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #6b625b; color: #fff; border-radius: 10px; padding: 6px 12px; font-size: 14px; }
.t-head b { font-size: 18px; }
.t-head-btns { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.t-head .btn.ghost { background: rgba(255,255,255,.95); }
.paid-info { background: #e3f4ea; color: #1d6b45; border-radius: 10px; padding: 8px 12px; font-weight: 700; }
.paid-info.void { background: #fde4e4; color: var(--danger); }
.t-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 10px; }
.guests { overflow: auto; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.guest { background: var(--panel); border-radius: 12px; padding: 8px 10px; border-left: 6px solid var(--busy-b); box-shadow: var(--shadow); }
.guest.warn { border-left-color: var(--orange); } .guest.over { border-left-color: var(--danger); } .guest.left { border-left-color: #aaa; opacity: .75; }
.g-head { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; }
.g-rem { font-size: 20px; font-weight: 800; }
.guest.over .g-rem { color: var(--danger); }
.g-noms { font-size: 12px; margin: 2px 0 6px; }
.g-btns { display: flex; gap: 5px; flex-wrap: wrap; }
.detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 0; min-width: 0; }
.detail section { background: var(--panel); border-radius: 12px; display: flex; flex-direction: column; min-height: 0; min-width: 0; box-shadow: var(--shadow); overflow: hidden; }
.detail h3 { background: #6b625b; color: #fff; text-align: center; margin: 0; padding: 7px; font-size: 14px; }
.lines { overflow: auto; padding: 6px 8px; flex: 1; }
.li { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px solid #f0e9df; font-size: 14px; }
.li > span:nth-child(2) { white-space: nowrap; font-weight: 700; }
.li-name { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.li-name, .li-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-name small { color: var(--muted); font-size: 11px; }
.li.help { color: var(--muted); } .li.adj span:nth-child(2) { color: #b4642a; }
.t-foot { display: flex; align-items: center; gap: 12px; background: var(--panel); border-radius: 14px 14px 0 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(0,0,0,.06); flex-wrap: wrap; }
.totals { display: grid; grid-template-columns: auto auto; column-gap: 14px; font-size: 13px; min-width: 210px; }
.totals > div { display: contents; }
.totals span { color: var(--muted); } .totals b { text-align: right; }
.totals .grand span, .totals .grand b { font-size: 22px; color: var(--ink); font-weight: 800; }
.foot-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; justify-content: flex-end; }

/* ---------- 一般ページ ---------- */
.page { padding: 14px; max-width: 1200px; margin: 0 auto; }
.page-head { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpis > div { background: var(--panel); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); min-width: 0; }
.kpis small { display: block; color: var(--muted); font-size: 12px; }
.kpis b { font-size: 22px; } .kpis b.sm { font-size: 14px; } .kpis b.alert { color: var(--danger); }
.card { background: var(--panel); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); margin-bottom: 12px; min-width: 0; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.report-grid .wide { grid-column: 1 / -1; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.tbl th { background: #f4ede4; font-size: 12px; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:active { background: #fff6dc; }
.tbl.edit td { padding: 4px; }
.tbl.edit .ops { display: flex; gap: 4px; }
.hist-list { display: flex; flex-direction: column; gap: 6px; }
.hist { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; border: 1px solid var(--line); background: #fff; border-radius: 10px; min-height: 44px; padding: 0 14px; align-items: center; text-align: left; }
.hall { display: flex; flex-direction: column; gap: 8px; }
.hall-row { display: grid; grid-template-columns: 70px 50px minmax(0, 2fr) 90px minmax(0, 1.4fr) 100px; gap: 10px; align-items: center; border: 0; border-left: 6px solid var(--busy-b); border-radius: 10px; background: var(--panel); min-height: 54px; padding: 0 12px; text-align: left; box-shadow: var(--shadow); }
.hall-row > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hall-row.warn { border-left-color: var(--orange); } .hall-row.over { border-left-color: var(--danger); }
.h-name { font-weight: 800; font-size: 18px; }
.h-bar { position: relative; height: 26px; background: #f1ebe2; border-radius: 13px; overflow: hidden; }
.h-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #f6d77a, #f0a83a); }
.over .h-bar i { background: linear-gradient(90deg, #f9a0a3, var(--danger)); }
.h-bar em { position: relative; font-style: normal; font-size: 12px; line-height: 26px; padding-left: 10px; }
.h-rem { font-weight: 700; } .h-amt { text-align: right; font-weight: 800; }
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 12px; }
.cast-card { background: var(--panel); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); border-top: 5px solid #ccc; min-width: 0; }
.cast-card.waiting { border-top-color: var(--ok); } .cast-card.serving { border-top-color: var(--orange); } .cast-card.gone { opacity: .6; }
.cc-name { font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-status { font-size: 13px; margin: 2px 0 8px; display: flex; flex-direction: column; }
.cc-status small { color: var(--muted); }
.cc-btns { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- 設定 ---------- */
.subtabs { margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 16px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; min-width: 0; }
.field > span { color: var(--muted); }
.inp { font: inherit; font-size: 16px; min-height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; width: 100%; min-width: 0; }
.inp.num { width: 96px; }
.tbl.edit .inp { min-height: 40px; }
.tbl.edit .inp:not(.num) { min-width: 120px; }
.big-inp { font-size: 26px; min-height: 56px; text-align: right; font-weight: 700; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.chip { display: inline-flex; align-items: center; gap: 2px; background: #f1e8da; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 13px; }
.inline-form { display: flex; gap: 8px; max-width: 420px; }
.check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; }
.check input { width: 22px; height: 22px; }

/* ---------- モーダル ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20, 14, 10, .5); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 100; }
.overlay.dialog { z-index: 200; }
.sheet { background: var(--bg); border-radius: 18px; padding: 18px 20px; width: min(640px, 100%); max-height: 100%; overflow: auto; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.sheet.wide { width: min(920px, 100%); }
.sheet.full { width: min(1180px, 100%); height: 100%; display: flex; flex-direction: column; }
.sheet.small { width: min(440px, 100%); }
.dlg-msg { font-size: 18px; font-weight: 700; margin: 4px 0 8px; }
.dlg-detail { color: var(--muted); margin: 0 0 8px; font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; margin: 6px 0; }
.m-body { min-height: 200px; }
.steps { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.steps span { flex: 1; text-align: center; padding: 6px; border-radius: 8px; background: #e9e1d6; font-size: 13px; color: var(--muted); min-width: 0; }
.steps .on { background: var(--primary); color: #fff; font-weight: 700; } .steps .done { background: #cfe0f7; color: var(--primary); }
.plan-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.plan-btn { border: 0; border-radius: 14px; min-height: 120px; background: var(--c); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: var(--shadow); }
.plan-btn b { font-size: 24px; } .plan-btn.on { outline: 4px solid #1b2a44; }
.counter { display: flex; align-items: center; justify-content: center; gap: 40px; margin: 30px 0 20px; }
.counter b { font-size: 64px; display: flex; align-items: baseline; gap: 6px; } .counter small { font-size: 20px; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.segs { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.seg { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; min-height: 42px; padding: 0 16px; font-weight: 700; }
.seg.on { background: #d72f43; border-color: #d72f43; color: #fff; }
.cast-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.cp { border: 2px solid var(--line); background: #fff; border-radius: 12px; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 4px; }
.cp b { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp small { font-size: 11px; color: var(--muted); }
.cp.waiting small { color: var(--ok); } .cp.serving small { color: var(--orange); }
.cp.on { border-color: #d72f43; background: #ffe9ec; }
.ci-start { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ci-start b { font-size: 24px; }
.ci-rows { display: flex; flex-direction: column; gap: 8px; }
.ci-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border-radius: 10px; padding: 8px 12px; }
.ci-row label { display: flex; align-items: center; gap: 6px; }
.order { flex: 1; min-height: 0; display: grid; grid-template-columns: 130px minmax(0, 1fr) 300px; gap: 10px; }
.o-cats { display: flex; flex-direction: column; gap: 6px; overflow: auto; }
.o-cats button { border: 0; border-radius: 10px; min-height: 48px; background: #e9e1d6; font-weight: 700; flex: none; }
.o-cats button.on { background: #7c6bbd; color: #fff; }
.o-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; overflow: auto; align-content: start; min-width: 0; }
.o-item { border: 0; border-radius: 12px; min-height: 76px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px; min-width: 0; border-left: 6px solid #f2d36b; }
.o-item.cd { border-left-color: #d72f43; }
.o-item b { font-size: 14px; max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.o-item small { color: var(--muted); }
.o-item:active { transform: scale(.97); }
.o-side { display: flex; flex-direction: column; min-height: 0; background: #fff; border-radius: 12px; padding: 4px 10px 10px; min-width: 0; }
.o-targets { display: flex; flex-wrap: wrap; gap: 5px; }
.tg { border: 1.5px solid var(--line); background: #fff; border-radius: 8px; min-height: 38px; padding: 0 10px; font-size: 13px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg.here { border-color: #f0a83a; }
.tg.on { background: #d72f43; border-color: #d72f43; color: #fff; }
.cart { flex: 1; overflow: auto; min-height: 60px; }
.cart-row { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid #f0e9df; font-size: 13px; }
.cart-row b { min-width: 20px; text-align: center; }
.cart-sum { text-align: right; padding-top: 6px; } .cart-sum b { font-size: 20px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; }
.co-left, .co-right { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.co-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.co-line b { font-size: 18px; }
.co-line.grand b { font-size: 30px; color: #b4410e; }
.co-line.change b { font-size: 28px; color: var(--ok); }
.co-line.change.short b { color: var(--danger); }

/* ---------- トースト ---------- */
#toast { position: fixed; left: 50%; top: calc(76px + env(safe-area-inset-top)); transform: translate(-50%, -20px); background: #2a2420; color: #fff; padding: 12px 22px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s; z-index: 300; font-weight: 700; max-width: calc(100% - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.ok { background: #1d6b45; } #toast.err { background: var(--danger); }
.fatal { padding: 40px; }

/* ---------- 狭い画面(縦持ち・スマホ) ---------- */
@media (max-width: 900px) {
  .ticket-view { height: auto; }
  .t-body { grid-template-columns: 1fr; flex: none; }
  .guests { flex-direction: row; overflow-x: auto; overflow-y: visible; flex: none; padding-bottom: 4px; }
  .guest { flex: none; }
  .guest { min-width: 230px; }
  .detail { grid-template-columns: 1fr; }
  .detail section { min-height: 140px; }
  .order { grid-template-columns: 1fr; grid-template-rows: auto minmax(160px, 1fr) auto; }
  .o-cats { flex-direction: row; overflow-x: auto; }
  .o-cats button { padding: 0 14px; }
  .co { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .hall-row { grid-template-columns: 60px 44px minmax(0, 1fr) 80px; }
  .hall-row .h-casts, .hall-row .h-amt { display: none; }
  .brand { max-width: 120px; }
}
@media (max-width: 600px) {
  .map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sales-sub { display: none; }
  .nav { padding: 0 10px; font-size: 13px; }
}
@media print { #app, #modal-root, #dialog-root, #toast { display: none; } }
