.calls { display: grid; gap: 10px; margin: 0 16px 14px; }
.call-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--red); color: #fff; animation: blink 1.6s ease-in-out infinite; }
.call-card.extend { background: var(--orange); }
.call-card.check { background: var(--blue); }
.call-card .grow { font-weight: 600; font-size: 18px; }
.call-card .btn { background: rgba(255,255,255,.22); color: #fff; }
@keyframes blink { 50% { filter: brightness(1.15); } }
.cols { display: grid; gap: 14px; margin: 0 16px; }
@media (min-width: 760px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.col-h { display: flex; align-items: center; gap: 8px; color: var(--sub); font-size: 14px; font-weight: 600; margin: 4px 4px 8px; }
.ocard { background: var(--card); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.ocard .row { align-items: flex-start; flex-direction: column; gap: 6px; padding: 12px 14px; }
.ocard .top { display: flex; width: 100%; align-items: baseline; gap: 8px; }
.ocard .tname { font-size: 20px; font-weight: 700; }
.ocard .ago { color: var(--sub); font-size: 14px; margin-left: auto; }
.ocard .line { font-size: 17px; }
.ocard .line b { font-weight: 700; }
.ocard .note { font-size: 14px; color: var(--orange); }
.ocard .btn { width: 100%; margin-top: 4px; }
.ocard.fresh { box-shadow: 0 0 0 3px var(--tint); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 16px; }
.tcard { background: var(--card); border-radius: 16px; padding: 14px; min-height: 112px; border: 0; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.tcard .tname { font-size: 22px; font-weight: 700; }
.tcard .st { color: var(--sub); font-size: 14px; }
.tcard .left { font-size: 24px; font-weight: 700; margin-top: auto; }
.tcard.busy { box-shadow: inset 0 0 0 2px var(--tint); }
.tcard.warn { box-shadow: inset 0 0 0 3px var(--orange); }
.tcard.warn .left { color: var(--orange); }
.tcard.over { box-shadow: inset 0 0 0 3px var(--red); animation: blink 1.6s infinite; }
.tcard.over .left { color: var(--red); }
.login-box { max-width: 420px; margin: 8vh auto 0; }
.bill-row { display: flex; justify-content: space-between; }
.big-total { font-size: 32px; font-weight: 700; }
.ocard .line.done { opacity: .55; }
.ocard .tick { color: var(--green); font-weight: 700; }
.ocard.ready { box-shadow: 0 0 0 3px var(--green); }
.kpi-val { font-size: 22px; font-weight: 700; }
.t-red { color: var(--red) !important; }
.t-orange { color: var(--orange) !important; }
.t-green { color: var(--green) !important; }
.pill { white-space: nowrap; }
.bno { min-width: 40px; height: 40px; border-radius: 10px; background: var(--fill); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.meter { height: 8px; border-radius: 4px; background: var(--fill); margin: 6px 0 4px; overflow: hidden; max-width: 260px; }
.meter span { display: block; height: 100%; background: var(--tint); border-radius: 4px; }
.remain-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0 16px; }
.remain-pick button { min-height: 44px; border: 0; border-radius: 10px; background: var(--card); font-weight: 600; }
.remain-pick button[aria-checked="true"] { background: var(--tint); color: #fff; }
.print-only { display: none; }
@media print {
  body { background: #fff; padding: 0; }
  body > *:not(#print) { display: none !important; }
  .print-only { display: block !important; color: #000; }
  .receipt { width: 80mm; margin: 0 auto; padding: 6mm 4mm; font-size: 11pt; line-height: 1.6; }
  .receipt .r-title { text-align: center; font-size: 18pt; font-weight: 700; letter-spacing: .3em; margin-bottom: 4mm; }
  .receipt .r-to { border-bottom: 1px solid #000; margin-bottom: 4mm; }
  .receipt .r-amount { font-size: 20pt; font-weight: 700; text-align: center; border-top: 2px solid #000; border-bottom: 2px solid #000; padding: 2mm 0; margin-bottom: 3mm; }
  .receipt .r-date { margin-top: 3mm; }
  .receipt .r-store { margin-top: 4mm; font-weight: 700; }
  .receipt .r-pay { margin-top: 2mm; font-size: 9pt; }
}

/* 2026-11-18 作り直し：レジのメニューは押すだけのタイル（Airレジ・スマレジと同じ形） */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; margin: 0 16px; }
.mtile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 84px; padding: 12px; border: 0; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--sep); text-align: left; color: var(--text); }
button.mtile:active { transform: scale(.97); background: var(--tint-soft); }
.mtile .mt-name { font-weight: 700; font-size: 16px; line-height: 1.3; padding-right: 22px; }
.mtile .mt-price { color: var(--sub); font-size: 14px; }
.mtile .mt-n { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 24px; border-radius: 12px; background: var(--tint); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 6px; }
.mtile .mt-opts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 6px; }
.mtile .mt-opts button { border: 0; border-radius: 8px; background: var(--tint-soft); color: var(--tint); font-size: 13px; font-weight: 700; padding: 6px 9px; min-height: 32px; }
@media (min-width: 1024px) { .mgrid { margin: 0 24px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .tgrid, .cols, .calls, .remain-pick { margin-left: 24px; margin-right: 24px; } }

/* 席の札：状態を左の太い帯で（空き＝灰・食事中＝藍・ラストオーダー＝橙・すぎた＝赤） */
.tcard { box-shadow: 0 0 0 1px var(--sep); border-left: 6px solid var(--fill); border-radius: 14px; }
.tcard.busy { box-shadow: 0 0 0 1px var(--sep); border-left-color: var(--tint); }
.tcard.warn { box-shadow: 0 0 0 1px var(--sep); border-left-color: var(--orange); }
.tcard.over { box-shadow: 0 0 0 2px var(--red); border-left-color: var(--red); }
.ocard { box-shadow: 0 0 0 1px var(--sep); }
.ocard.fresh { box-shadow: 0 0 0 3px var(--shu); }
.mtile .mt-img { width: calc(100% + 24px); height: 72px; margin: -12px -12px 6px; border-radius: 12px 12px 0 0; object-fit: cover; }
.mtile .mt-img.noimg { display: flex; align-items: center; justify-content: center; background: var(--fill); color: var(--sub); }
.mtile .mt-img.noimg svg { width: 26px; height: 26px; opacity: .6; }
.mtile .mt-n { z-index: 1; }
.mtile .mt-name { padding-right: 0; }
/* ボトル：残りはボトルの形のゲージ・期限が近い順・期限の札（近い＝橙・すぎた＝赤） */
.bgauge { width: 22px; height: 44px; flex: none; position: relative; border-radius: 6px 6px 8px 8px; box-shadow: inset 0 0 0 2px var(--sub); background: linear-gradient(to top, var(--tint) var(--lv), transparent var(--lv)); clip-path: polygon(35% 0, 65% 0, 65% 22%, 100% 38%, 100% 100%, 0 100%, 0 38%, 35% 22%); }
.pill.exp-near { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); }
.pill.exp-over { background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); }
#bottleList .row .grow { display: grid; gap: 3px; justify-items: start; }
/* 締め：お札・硬貨の枚数で数える（手本：Airレジ） */
.den-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 0 16px 12px; }
.den { display: grid; grid-template-columns: 1fr 40px 56px 40px; align-items: center; gap: 6px; background: var(--card); border-radius: 12px; padding: 8px 10px; box-shadow: 0 0 0 1px var(--sep); }
.den-k { font-weight: 800; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.den.bill .den-k::before { content: ""; width: 22px; height: 13px; border-radius: 3px; background: #c8d9b8; box-shadow: inset 0 0 0 1px #8da877; }
.den.coin .den-k::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: #e2c88f; box-shadow: inset 0 0 0 1px #b39554; }
.den button { height: 40px; border: 0; border-radius: 10px; background: var(--tint-soft); color: var(--tint); font-size: 20px; font-weight: 700; }
.den input { height: 40px; border: 0; border-radius: 10px; background: var(--fill); text-align: center; font-size: 17px; font-weight: 700; width: 100%; }
@media (min-width: 1024px) { .den-grid { margin-left: 24px; margin-right: 24px; } }
