/* 食券機のボタン：白い券に黒い太枠。トッピングはえんじの枠 */
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ticket { display: grid; gap: 2px; padding: 14px 12px; text-align: left; cursor: pointer; background: #fff; border: 2px solid #161412; border-radius: 4px; box-shadow: 4px 4px 0 #161412; transition: transform .1s, box-shadow .1s; }
.ticket:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #161412; }
.ticket b { font-size: 15px; font-weight: 900; }
.ticket span { font-size: 13px; color: var(--muted); }
.ticket.menu { background: linear-gradient(180deg, #fff 0 70%, #fbf1ef 70%); }
.ticket.top { border-color: #9e1b1b; box-shadow: 4px 4px 0 #9e1b1b; padding: 10px 12px; }
.ticket.top.on { background: #9e1b1b; color: #fff; }
.ticket.top.on span { color: #fbe1de; }
.topbar { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; margin-top: 8px; }
.topbar .bar { height: 10px; }
.topbar b { text-align: right; }
.recent { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.recent li { padding: 6px 0; border-top: 1px dashed var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
.recent li:first-child { border-top: 0; }
.recent time { font-weight: 900; color: #9e1b1b; min-width: 44px; }

/* 原価 */
.cost-sum h3 { font-size: 18px; }
.big { font-size: 56px; font-weight: 900; line-height: 1; margin-top: 8px; }
.big small { font-size: 22px; }
.big.ok { color: var(--ok); } .big.warn { color: var(--warn); } .big.danger { color: var(--danger); }
.cost-sum dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0; font-size: 14px; }
.cost-sum dd { margin: 0; text-align: right; }
.input.mini { width: 90px; padding: 5px 8px; text-align: right; }
.verdict { margin: 14px 0 8px; padding: 14px; font-size: 18px; font-weight: 900; border: 2px solid #161412; box-shadow: 4px 4px 0 #161412; }
.verdict.up { background: #eef6ef; color: var(--ok); }
.verdict.down { background: #fbf1ef; color: var(--danger); }
input[type=range] { width: 100%; accent-color: #9e1b1b; }
