/* Counter tablet — dark "back of house" theme, landscape. */

body.tablet {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(169, 140, 107, 0.14), transparent 55%),
    var(--roast);
  color: var(--steam);
  min-height: 100vh;
  padding: 22px 26px;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.topbar .brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
}

.topbar .brand em { font-style: italic; color: #c09a72; }

.topbar .brand small {
  display: block;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--steam-dim);
  margin-top: 3px;
}

.top-tools { display: flex; gap: 10px; align-items: center; }

.clock {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.2px;
  font-variant-numeric: tabular-nums lining-nums;
  margin-right: 6px;
}

.tool {
  border: 1.5px solid rgba(243, 232, 215, 0.28);
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--steam);
  display: flex;
  gap: 8px;
  align-items: center;
}

.tool small { font-weight: 600; color: var(--steam-dim); }

.tool.charge { background: linear-gradient(140deg, #cdb795, #a98c6b); color: var(--roast); border: none; }

.tool.slammed.on {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--cream);
  animation: pop 0.3s ease;
}

/* ---------- board ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.col-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px 10px;
  border-bottom: 2px solid rgba(243, 232, 215, 0.18);
  margin-bottom: 12px;
}

.col-head h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
}

.col-head .count {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 13px;
  background: rgba(243, 232, 215, 0.14);
  border-radius: 999px;
  padding: 2px 10px;
}

.col.new .col-head h2 { color: #c09a72; }
.col.making .col-head h2 { color: var(--gold-soft); }
.col.ready .col-head h2 { color: #a3b295; }

/* ---------- order cards ---------- */
.order {
  background: var(--roast-2);
  border: 1px solid rgba(243, 232, 215, 0.12);
  border-left: 4px solid #c09a72;
  border-radius: 16px;
  padding: 15px 16px 13px;
  margin-bottom: 12px;
  animation: rise 0.4s ease both;
}

.order.making { border-left-color: var(--gold); }
.order.ready { border-left-color: #87977a; opacity: 0.92; }

.order .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.order .who {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.order .due {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--steam-dim);
}

.order .due.soon { color: #c09a72; font-weight: 600; }

.order ul { list-style: none; margin: 0 0 10px; }

.order li {
  font-size: 13.5px;
  padding: 3px 0;
  color: var(--steam);
  border-bottom: 1px dashed rgba(243, 232, 215, 0.1);
}

.order li:last-child { border-bottom: none; }

.order .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 3px 8px;
  border-radius: 999px;
}

.tag.wallet { background: rgba(185, 138, 47, 0.25); color: var(--gold-soft); }
.tag.card { background: rgba(243, 232, 215, 0.12); color: var(--steam-dim); }

.order .total { font-weight: 800; font-size: 14.5px; font-variant-numeric: tabular-nums lining-nums; }

.order .actions { display: flex; gap: 8px; margin-top: 11px; }

.act {
  flex: 1;
  border-radius: 11px;
  padding: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: rgba(243, 232, 215, 0.1);
  color: var(--steam);
  transition: transform 0.12s ease;
}

.act:active { transform: scale(0.97); }
.act.primary { background: #c09a72; color: var(--roast); }
.order.making .act.primary { background: var(--gold); }
.order.ready .act.primary { background: #87977a; }

.claimed {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-soft);
}

.claimed::before { content: '● '; font-size: 8px; vertical-align: 2px; }

.empty {
  text-align: center;
  color: var(--steam-dim);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  padding: 26px 0;
}

@media (max-width: 820px) {
  .board { grid-template-columns: 1fr; }
}

.txted {
  font-size: 11px;
  font-weight: 800;
  color: #a3b295;
}

.top-stats {
  display: flex;
  gap: 14px;
  margin-right: 8px;
}

.top-stats span {
  font-size: 11px;
  font-weight: 700;
  color: var(--steam-dim);
}

.top-stats b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--steam);
  font-variant-numeric: tabular-nums lining-nums;
}
