:root {
  --bg: #171013;
  --panel: #23191e;
  --panel-2: #2f2328;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f8f1ea;
  --muted: #c9b8ad;
  --soft: #8f7c72;
  --gold: #d6a85f;
  --gold-2: #f0d18c;
  --danger: #ff8d82;
  --ok: #80d7b0;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(214, 168, 95, 0.18), transparent 34%),
    linear-gradient(135deg, #171013 0%, #21171b 50%, #150f12 100%);
  color: var(--text);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.vendor-app {
  min-height: 100vh;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card,
.panel {
  background: rgba(35, 25, 30, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.login-card {
  width: min(460px, 100%);
  padding: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.app-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 96px;
  border-right: 1px solid var(--line);
  background: rgba(20, 14, 17, 0.86);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.sidebar-backdrop,
.sidebar-toggle,
.sidebar-close {
  display: none;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.brand > div:nth-child(2) {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3a222d, #1d1419);
  border: 1px solid rgba(240, 209, 140, 0.34);
  color: var(--gold-2);
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
}

.brand span,
.user-box span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-list {
  display: grid;
  gap: 14px;
  padding-bottom: 28px;
}

.nav-group {
  display: grid;
  gap: 7px;
}

.nav-group-title {
  margin: 0;
  color: #f8dda4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav-group-items {
  display: grid;
  gap: 7px;
}

.nav-list button,
.ghost,
.small-button,
.primary,
.danger-button {
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-list button {
  width: 100%;
  padding: 11px 12px;
  text-align: left;
  color: #fff8ea;
  line-height: 1.35;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.nav-list button:hover {
  border-color: rgba(240, 209, 140, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf7;
}

.nav-list button.is-active {
  border-color: rgba(214, 168, 95, 0.54);
  background: rgba(214, 168, 95, 0.14);
  box-shadow: inset 3px 0 0 var(--gold-2);
  color: #fff8ea;
}

.user-box {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.content {
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.topbar-main {
  display: flex;
  gap: 12px;
  align-items: center;
}

.status-line {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.status-line.is-error {
  color: var(--danger);
}

.status-line.is-ok {
  color: var(--ok);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: start;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.metric span,
.table-note,
.muted {
  color: var(--muted);
}

.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-2);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.ops-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-metric p {
  margin: 8px 0 0;
  color: #e0cec2;
  font-size: .86rem;
  line-height: 1.45;
}

.ops-priority ul,
.ops-block ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.ops-block h3 {
  margin: 0 0 6px;
  color: #f8dda4;
}

.ops-template-panel {
  margin: 18px 0;
}

.ops-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.ops-template-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.ops-template-card strong {
  color: #f8dda4;
}

.ops-template-text {
  color: #f5ece3;
  font-size: .92rem;
  line-height: 1.55;
}

.reservation-hero {
  display: grid;
  gap: 16px;
}

.reservation-hero h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.reservation-hero p,
.reservation-link-panel p {
  margin: 0;
  line-height: 1.55;
}

.reservation-metrics {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.reservation-link-panel .panel-head {
  align-items: flex-start;
}

.reservation-owner-dashboard {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  border-color: rgba(240, 209, 140, .26);
  background:
    linear-gradient(135deg, rgba(8, 15, 22, .96), rgba(22, 18, 24, .78)),
    radial-gradient(circle at 88% 0%, rgba(240, 209, 140, .2), transparent 34%);
}

.reservation-owner-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .055) 48%, transparent 72%);
}

.reservation-owner-dashboard > * {
  position: relative;
  z-index: 1;
}

.reservation-owner-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: stretch;
}

.reservation-owner-head h2 {
  margin: 4px 0 10px;
  color: #fff8ea;
  font-family: "Noto Serif TC", "Noto Sans TC", serif;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.14;
}

.reservation-owner-head p {
  max-width: 760px;
  margin: 0;
  color: #f5e6d9;
  line-height: 1.65;
  font-weight: 760;
}

.reservation-owner-status {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(240, 209, 140, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
}

.reservation-owner-status span,
.reservation-owner-kpi span {
  color: #d8b97a;
  font-size: .88rem;
  font-weight: 950;
}

.reservation-owner-status strong {
  color: #fff8ea;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.reservation-owner-status small,
.reservation-owner-kpi small {
  color: #ecd7c8;
  line-height: 1.42;
  font-weight: 760;
}

.reservation-owner-status.is-good {
  border-color: rgba(142, 233, 195, .42);
  background: linear-gradient(145deg, rgba(70, 198, 137, .16), rgba(255, 255, 255, .055));
}

.reservation-owner-status.is-watch {
  border-color: rgba(240, 209, 140, .42);
  background: linear-gradient(145deg, rgba(240, 209, 140, .16), rgba(255, 255, 255, .055));
}

.reservation-owner-status.is-risk {
  border-color: rgba(255, 141, 130, .5);
  background: linear-gradient(145deg, rgba(201, 69, 69, .2), rgba(255, 255, 255, .055));
}

.reservation-owner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reservation-owner-kpi {
  min-height: 140px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 17px;
  border: 1px solid rgba(240, 209, 140, .18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
}

.reservation-owner-kpi strong {
  color: #fff8ea;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1;
  font-weight: 950;
}

.reservation-owner-kpi.tone-good {
  border-color: rgba(142, 233, 195, .3);
}

.reservation-owner-kpi.tone-watch {
  border-color: rgba(240, 209, 140, .34);
}

.reservation-owner-kpi.tone-risk {
  border-color: rgba(255, 141, 130, .48);
  box-shadow: inset 0 0 0 1px rgba(255, 141, 130, .14);
}

.reservation-owner-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reservation-owner-action-row article {
  padding: 17px;
  border: 1px solid rgba(240, 209, 140, .2);
  border-radius: 20px;
  background: rgba(255, 255, 255, .065);
}

.reservation-owner-action-row strong {
  display: block;
  margin-bottom: 10px;
  color: #f0d18c;
  font-size: 1.06rem;
  font-weight: 950;
}

.reservation-owner-action-row ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reservation-owner-action-row li {
  position: relative;
  padding-left: 18px;
  color: #fff8ea;
  line-height: 1.45;
  font-weight: 820;
}

.reservation-owner-action-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0d18c;
}

.reservation-staff-workspace {
  gap: 18px;
}

.reservation-staff-handoff {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.15fr);
  gap: 18px;
  align-items: stretch;
  border-color: rgba(240, 209, 140, .24);
  background:
    linear-gradient(120deg, rgba(8, 15, 22, .96), rgba(18, 23, 29, .72)),
    radial-gradient(circle at 82% 8%, rgba(240, 209, 140, .18), transparent 34%);
}

.reservation-staff-handoff h2 {
  margin: 4px 0 10px;
  color: #fff8ea;
  font-family: "Noto Serif TC", "Noto Sans TC", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
}

.reservation-staff-handoff p {
  max-width: 620px;
  margin: 0;
  color: #f5e6d9;
  font-size: 1.06rem;
  line-height: 1.7;
  font-weight: 760;
}

.reservation-step-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reservation-step-strip article {
  min-height: 148px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(240, 209, 140, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
}

.reservation-step-strip span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1f1711;
  background: linear-gradient(135deg, #f0d18c, #b97835);
  font-weight: 950;
}

.reservation-step-strip strong {
  color: #fff8ea;
  font-size: 1.15rem;
  font-weight: 950;
}

.reservation-step-strip small {
  color: #ecd7c8;
  line-height: 1.45;
  font-weight: 760;
}

.reservation-staff-quick-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reservation-staff-control-row {
  align-items: start;
}

.reservation-board-panel {
  display: grid;
  gap: 18px;
}

.reservation-board-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.reservation-board-intro p {
  max-width: 760px;
  margin: 8px 0 0;
}

.reservation-board-intro.is-staff {
  align-items: stretch;
}

.reservation-next-actions {
  min-width: min(100%, 340px);
  padding: 16px;
  border: 1px solid rgba(240, 209, 140, .25);
  border-radius: 18px;
  background: rgba(240, 209, 140, .1);
}

.reservation-next-actions strong {
  display: block;
  color: #f0d18c;
  font-size: 1.05rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.reservation-next-actions ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reservation-next-actions li {
  position: relative;
  padding-left: 18px;
  color: #fff8ea;
  line-height: 1.45;
  font-weight: 850;
}

.reservation-next-actions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0d18c;
}

.reservation-sticky-summary {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(240, 209, 140, .28);
  border-radius: 16px;
  background: rgba(26, 18, 22, .96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

.reservation-summary-stat {
  min-height: 92px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}

.reservation-summary-stat span,
.reservation-summary-stat strong {
  display: block;
}

.reservation-summary-stat span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 850;
}

.reservation-summary-stat strong {
  margin-top: 4px;
  color: #fff8ea;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.reservation-summary-stat small {
  display: block;
  margin-top: 7px;
  color: #ecd7c8;
  line-height: 1.35;
  font-weight: 750;
}

.reservation-ops-metrics {
  display: grid;
  gap: 12px;
}

.reservation-ops-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.reservation-ops-metric {
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(240, 209, 140, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.reservation-ops-metric span,
.reservation-ops-metric strong,
.reservation-ops-metric small {
  display: block;
}

.reservation-ops-metric span {
  color: var(--muted);
  font-weight: 850;
}

.reservation-ops-metric strong {
  margin-top: 6px;
  color: #fff8ea;
  font-size: clamp(1.42rem, 3vw, 2rem);
  line-height: 1.08;
}

.reservation-ops-metric small {
  margin-top: 8px;
  color: #ead8c9;
  line-height: 1.35;
}

.reservation-alert {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 202, 112, .52);
  border-radius: 14px;
  color: #2a1708;
  background: #ffd36f;
  font-size: 1rem;
  font-weight: 950;
  animation: reservationAlertPulse 1.8s ease-in-out infinite;
}

.reservation-alert.is-calm {
  color: #102119;
  border-color: rgba(128, 215, 176, .42);
  background: #9ee6c1;
  animation: none;
}

@keyframes reservationAlertPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 211, 111, 0); }
  50% { box-shadow: 0 0 0 6px rgba(255, 211, 111, .16); }
}

.reservation-board-head p {
  margin: 8px 0 0;
}

.reservation-board-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.reservation-board-tabs span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #f8eee4;
  background: rgba(255, 255, 255, .06);
  font-size: .95rem;
  font-weight: 900;
}

.reservation-board-tabs .is-active {
  color: #21140f;
  border-color: transparent;
  background: linear-gradient(135deg, #d6a85f, #f0d18c);
}

.reservation-board-tabs strong {
  font-size: 1.32rem;
}

.reservation-board-section {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.reservation-section-title p {
  margin: 6px 0 0;
}

.reservation-entry-grid {
  display: grid;
  gap: 12px;
}

.reservation-entry-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid rgba(240, 209, 140, .22);
  border-left: 7px solid #4fc3ff;
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
}

.reservation-entry-card.is-called {
  border-left-color: #ffd36f;
}

.reservation-entry-card.is-seated {
  border-left-color: var(--ok);
  opacity: .9;
}

.reservation-entry-card.is-ended {
  border-left-color: var(--danger);
  opacity: .82;
}

.reservation-entry-card.is-long-wait {
  border-color: rgba(255, 141, 130, .7);
  box-shadow: inset 0 0 0 1px rgba(255, 141, 130, .28);
}

.reservation-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.reservation-code {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #21140f;
  background: var(--gold-2);
  font-size: .85rem;
  font-weight: 950;
}

.reservation-card-top h3 {
  margin-top: 8px;
  color: #fff8ea;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.reservation-status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff8ea;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
  white-space: nowrap;
}

.reservation-wait {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 12px;
  color: #102119;
  background: #9ee6c1;
  font-size: 1.08rem;
  font-weight: 950;
}

.reservation-wait.is-long {
  color: #fff8ea;
  background: #c94545;
}

.reservation-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reservation-card-details span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #f8eee4;
  background: rgba(255, 255, 255, .08);
  font-weight: 850;
}

.reservation-card-note {
  margin: 0;
  color: #f5e6d9;
}

.reservation-card-next {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: #1d1510;
  background: #f0d18c;
  font-weight: 900;
}

.reservation-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reservation-card-actions button {
  min-height: 54px;
  width: 100%;
  font-size: 1rem;
  font-weight: 950;
}

.reservation-card-actions button:disabled {
  cursor: wait;
  opacity: .72;
}

.reservation-main-action {
  background: linear-gradient(135deg, #42c781, #9ee6c1);
  color: #102119;
}

.reservation-secondary-action {
  border: 1px solid var(--line);
  color: #fff8ea;
  background: rgba(255, 255, 255, .08);
}

.reservation-card-actions .danger-button {
  color: #fff8ea;
  border-color: rgba(255, 141, 130, .56);
  background: rgba(201, 69, 69, .76);
}

.compact-form {
  grid-template-columns: minmax(180px, 260px) auto;
  align-items: end;
}

.panel {
  padding: 20px;
}

.panel-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 14px;
}

.panel-subhead {
  display: grid;
  gap: 6px;
  margin: 20px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.panel-subhead p {
  margin: 0;
  color: #d8c7bb;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(240, 209, 140, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
}

.checkbox-group legend {
  padding: 0 6px;
  color: #fff8ea;
  font-size: .9rem;
  font-weight: 900;
}

.checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(240, 209, 140, .28);
  border-radius: 999px;
  color: #fff8ea;
  background: rgba(255, 255, 255, .065);
  font-weight: 800;
}

.checkbox-options input {
  width: auto;
}

.required-star {
  display: inline-block;
  margin-left: 3px;
  color: #ff6b7a;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

select option,
select optgroup {
  background: #fff8ea;
  color: #21140f;
}

select:disabled,
input:disabled,
textarea:disabled {
  color: #cdb9ad;
  opacity: 1;
}

input[type="file"] {
  padding: 9px 10px;
}

input[type="file"]::file-selector-button {
  margin-right: 10px;
  border: 1px solid rgba(240, 209, 140, 0.34);
  border-radius: 10px;
  padding: 7px 10px;
  color: #21140f;
  background: #f0d18c;
  font-weight: 900;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(240, 209, 140, 0.62);
}

.primary {
  padding: 11px 14px;
  background: linear-gradient(135deg, #d6a85f, #f0d18c);
  color: #21140f;
  font-weight: 900;
}

.ghost,
.small-button,
.danger-button {
  padding: 9px 11px;
}

.danger-button {
  color: var(--danger);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qr-action-stack {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.qr-thumb {
  width: 86px;
  height: 86px;
  padding: 7px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.qr-url-line,
.danger-text {
  margin: 0;
  overflow-wrap: anywhere;
}

.danger-text {
  color: var(--danger);
}

.knowledge-section {
  margin-top: 18px;
}

.menu-inline-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.menu-inline-form .primary {
  width: fit-content;
}

.action-card:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.action-card:disabled:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, .055);
}

.knowledge-preview {
  min-height: 130px;
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 14px;
  border: 1px solid rgba(240, 209, 140, 0.22);
  border-radius: 14px;
  color: #f4e7dc;
  background: rgba(255, 255, 255, 0.055);
  line-height: 1.7;
}

.small-button[href] {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.qr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(10, 7, 9, .72);
  backdrop-filter: blur(10px);
}

.qr-modal {
  position: relative;
  width: min(620px, 100%);
  max-height: min(880px, calc(100vh - 44px));
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(35, 25, 30, .98);
  box-shadow: var(--shadow);
}

.qr-creative-modal {
  width: min(1080px, 100%);
}

.qr-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.reservation-reason-modal {
  width: min(560px, 100%);
}

.reservation-reason-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.reservation-reason-options .small-button {
  min-height: 48px;
  font-size: 1rem;
}

.reservation-reason-text {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.reservation-reason-text textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
}

.qr-preview-image {
  display: block;
  width: min(320px, 100%);
  height: auto;
  margin: 18px auto;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
}

.qr-preview-url {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: .86rem;
}

.product-image-preview {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px dashed rgba(240, 209, 140, .34);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.product-image-preview img {
  width: min(100%, 220px);
  max-height: 150px;
  object-fit: cover;
  border-radius: 12px;
  background: #ffffff;
}

.qr-creative-layout {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
}

.qr-creative-side,
.qr-creative-main,
.qr-creative-search,
.qr-creative-prompt,
.qr-creative-copy,
.qr-local-image-box,
.qr-asset-library-box {
  display: grid;
  gap: 12px;
}

.qr-creative-copy,
.qr-local-image-box,
.qr-asset-library-box {
  padding: 14px;
  border: 1px solid rgba(240, 209, 140, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
}

.qr-creative-copy strong,
.qr-local-image-box strong,
.qr-asset-library-box strong {
  color: #fff8ea;
}

.qr-creative-copy p,
.qr-local-image-box p,
.qr-asset-library-box p {
  margin: 0;
  color: #e0cec2;
}

.qr-local-image-box input[type="file"] {
  width: 100%;
}

.qr-asset-library-box button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.qr-creative-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qr-creative-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.qr-creative-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: #fff8ea;
  background: rgba(255, 255, 255, .06);
  text-align: left;
}

.qr-creative-card:hover,
.qr-creative-card:focus-visible {
  border-color: rgba(240, 209, 140, .58);
  background: rgba(214, 168, 95, .12);
}

.qr-creative-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, .08);
}

.qr-creative-card span {
  color: #fff8ea;
  font-weight: 900;
}

.qr-creative-card small,
.qr-creative-search p {
  color: #e0cec2;
  line-height: 1.5;
}

.qr-creative-url input,
.qr-creative-prompt textarea,
.qr-creative-copy textarea {
  margin-top: 8px;
}

.qr-creative-prompt textarea,
.qr-creative-copy textarea {
  min-height: 150px;
  resize: vertical;
  font-size: .86rem;
  line-height: 1.6;
}

.qr-creative-copy textarea {
  min-height: 86px;
}

.qr-standee-preview {
  overflow: hidden;
  border: 1px solid rgba(240, 209, 140, .30);
  border-radius: 26px;
  background: linear-gradient(150deg, #2b171a, #5b2730 48%, #221511);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
}

.qr-standee-preview-white {
  border-color: rgba(15, 23, 42, .18);
  background: #ffffff;
  color: #0f172a;
}

.qr-standee-preview-image {
  border-color: rgba(217, 184, 111, .55);
  background: #ffffff;
  color: #0f172a;
}

.qr-standee-preview-brand {
  background: linear-gradient(150deg, #2b171a, #5b2730 48%, #221511);
}

.qr-standee-preview-brand-image {
  background: radial-gradient(circle at 18% 10%, rgba(247, 217, 148, .18), transparent 30%), linear-gradient(150deg, #2b171a, #5b2730 48%, #221511);
}

.qr-standee-preview-brand-image .qr-standee-visual {
  min-height: 230px;
  margin: 18px 18px 0;
  border: 1px solid rgba(247, 217, 148, .28);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.qr-standee-mode-badge {
  margin: 16px 18px 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: #fff8ea;
  font-size: .78rem;
  font-weight: 900;
}

.qr-standee-preview-white .qr-standee-mode-badge {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.qr-standee-preview-image .qr-standee-mode-badge {
  background: #fff7e6;
  color: #8a6a2b;
  border: 1px solid rgba(217, 184, 111, .42);
}

.qr-standee-visual {
  min-height: 250px;
  background-size: cover;
  background-position: center;
}

.qr-standee-missing-image {
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 28px;
  background: rgba(255, 255, 255, .84);
  color: #334155;
  text-align: center;
}

.qr-standee-missing-image strong {
  color: #0f172a;
  font-size: 1rem;
}

.qr-standee-missing-image span {
  color: #475569;
  font-size: .86rem;
  font-weight: 700;
}

.qr-standee-brand-block {
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 210px;
  background: radial-gradient(circle at 20% 15%, rgba(247, 217, 148, .20), transparent 34%), linear-gradient(135deg, #2b171a, #6c2f34);
  text-align: center;
}

.qr-standee-brand-block span {
  color: #f7d994;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.qr-standee-brand-block strong {
  color: #fff8ea;
  font-size: 1.4rem;
}

.qr-standee-copy {
  padding: 22px;
}

.qr-standee-copy span {
  color: #f7d994;
  font-weight: 900;
  letter-spacing: .08em;
}

.qr-standee-copy strong {
  display: block;
  margin-top: 8px;
  color: #fff8ea;
  font-size: 1.55rem;
  line-height: 1.2;
}

.qr-standee-copy p {
  margin: 10px 0 0;
  color: #f1dfd2;
}

.qr-standee-preview-white .qr-standee-copy span {
  color: #8a6a2b;
}

.qr-standee-preview-image .qr-standee-copy span {
  color: #8a6a2b;
}

.qr-standee-preview-white .qr-standee-copy strong {
  color: #0f172a;
}

.qr-standee-preview-image .qr-standee-copy strong {
  color: #0f172a;
}

.qr-standee-preview-white .qr-standee-copy p {
  color: #334155;
}

.qr-standee-preview-image .qr-standee-copy p {
  color: #334155;
}

.qr-standee-bottom {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  margin: 0 18px 18px;
  padding: 14px;
  border-radius: 18px;
  color: #241712;
  background: #fff8ea;
}

.qr-standee-bottom img {
  width: 120px;
  height: 120px;
}

.qr-standee-bottom small {
  color: #4c3326;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.qr-standee-preview-white .qr-standee-bottom {
  border: 2px solid #0f172a;
  background: #fff;
}

.qr-standee-preview-image .qr-standee-bottom {
  border: 2px solid #0f172a;
  background: #fff;
}

.qr-standee-preview-white .qr-standee-bottom small {
  color: #0f172a;
}

.qr-standee-preview-image .qr-standee-bottom small {
  color: #0f172a;
}

.qr-standee-meta {
  padding: 0 22px 18px;
  color: #f1dfd2;
  font-size: .82rem;
}

.qr-standee-preview-white .qr-standee-meta {
  color: #64748b;
}

.qr-standee-preview-image .qr-standee-meta {
  color: #64748b;
}

.qr-layout-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.qr-layout-controls label {
  color: #fff8ea;
  font-size: .84rem;
  font-weight: 900;
}

.qr-layout-controls select {
  margin-top: 7px;
  background: #fff8ea;
  color: #21140f;
  border-color: rgba(240, 209, 140, .62);
  font-weight: 800;
}

.qr-template-note {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(240, 209, 140, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.qr-template-note strong {
  color: #fff8ea;
}

.qr-template-note span {
  color: #e0cec2;
  font-size: .88rem;
  line-height: 1.5;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

th {
  color: var(--gold-2);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

tr:last-child td {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  background: rgba(214, 168, 95, 0.1);
  font-size: 0.8rem;
}

.empty {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
}

.staff-order-home {
  display: grid;
  gap: 16px;
}

.staff-hero {
  overflow: hidden;
}

.staff-guide,
.staff-alert-list {
  margin-top: 14px;
}

.staff-guide {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(240, 209, 140, .34);
  border-radius: 12px;
  background: rgba(214, 168, 95, .12);
}

.staff-guide strong {
  color: var(--gold-2);
}

.staff-guide p {
  margin: 6px 0 0;
  color: #f1dfd2;
  line-height: 1.55;
}

.staff-alert-list {
  display: grid;
  gap: 8px;
}

.staff-alert {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(255, 141, 130, .28);
  border-radius: 10px;
  color: #fff3ee;
  background: rgba(255, 141, 130, .1);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.staff-status-grid,
.staff-action-grid,
.staff-preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.staff-preset-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-mini-card,
.staff-action-card,
.staff-preset-card,
.staff-returned-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
  overflow-wrap: anywhere;
}

.staff-mini-card {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.staff-mini-card span,
.staff-card-meta,
.staff-single-branch {
  color: var(--muted);
  font-size: .86rem;
}

.staff-mini-card strong {
  color: #fff8ea;
  font-size: 1.25rem;
}

.staff-mini-card p,
.staff-action-card span,
.staff-preset-card p,
.staff-returned-card p {
  margin: 0;
  color: #e0cec2;
  line-height: 1.55;
}

.staff-action-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  min-height: 132px;
  text-decoration: none;
  color: inherit;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.staff-action-card:hover,
.staff-action-card:focus-visible {
  border-color: rgba(240, 209, 140, .62);
  background: rgba(214, 168, 95, .12);
  transform: translateY(-1px);
}

.staff-action-card strong,
.staff-preset-card strong,
.staff-returned-card strong {
  color: var(--gold-2);
  font-size: 1.02rem;
}

.staff-section {
  scroll-margin-top: 20px;
}

.staff-single-branch {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}

.staff-preset-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.staff-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-card-meta span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(214, 168, 95, .08);
}

.staff-returned-list {
  display: grid;
  gap: 10px;
}

.staff-returned-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.form-message {
  min-height: 24px;
  margin-top: 12px;
  color: var(--danger);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  body.vendor-sidebar-open {
    overflow: hidden;
  }

  .app-layout {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    width: min(86vw, 330px);
    max-width: 330px;
    height: 100vh;
    transform: translateX(-106%);
    transition: transform .2s ease;
    box-shadow: 18px 0 44px rgba(0, 0, 0, .38);
  }

  body.vendor-sidebar-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    pointer-events: none;
    background: rgba(10, 7, 9, .62);
    opacity: 0;
    transition: opacity .2s ease;
  }

  body.vendor-sidebar-open .sidebar-backdrop {
    pointer-events: auto;
    opacity: 1;
  }

  .sidebar-toggle,
  .sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(240, 209, 140, .34);
    border-radius: 12px;
    color: #fff8ea;
    background: rgba(214, 168, 95, .14);
    font-weight: 900;
  }

  .sidebar-toggle {
    min-width: 54px;
    min-height: 40px;
    padding: 0 12px;
  }

  .sidebar-close {
    margin-left: auto;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    font-size: 1.3rem;
    line-height: 1;
  }

  .nav-list {
    grid-template-columns: 1fr;
  }

  .grid.two,
  .metrics,
  .form-grid,
  .staff-status-grid,
  .staff-action-grid,
  .staff-preset-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .content,
  .login-card {
    padding: 18px;
  }

  .sidebar {
    padding: 18px 18px 88px;
  }

  .topbar,
  .panel-head {
    display: grid;
  }

  .topbar-main {
    align-items: flex-start;
  }

  .nav-list {
    grid-template-columns: 1fr;
  }

  .staff-action-card {
    min-height: 0;
    padding: 16px;
  }

  .staff-guide {
    display: grid;
  }

  .staff-returned-card {
    display: grid;
  }
}

.simple-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.report-preview {
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  line-height: 1.7;
}

button[disabled] {
  cursor: not-allowed;
  opacity: .74;
  color: #e9d7c8;
  border-color: rgba(240, 209, 140, .22);
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.quick-start-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
}

.quick-start-item span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: #16100b;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-size: .78rem;
  font-weight: 900;
}

.quick-start-item strong {
  display: block;
  color: var(--text);
  font-size: .96rem;
}

.quick-start-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .quick-start-grid {
    grid-template-columns: 1fr;
  }
}

/* Backend contrast polish: keep dark-gold style, improve readability */
:root {
  --muted: #e0cec2;
  --soft: #c7b3a7;
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 255, 255, 0.30);
}

.brand span,
.user-box span,
p,
.status-line,
.metric span,
.table-note,
.muted,
label,
.empty,
.qr-preview-url,
.simple-list,
.quick-start-item p {
  color: #e0cec2;
}

.panel,
.metric,
.quick-start-item,
.report-preview,
input,
select,
textarea {
  border-color: rgba(255, 255, 255, 0.18);
}

input,
select,
textarea {
  color: #fff8ea;
  background: rgba(255, 255, 255, 0.095);
}

input::placeholder,
textarea::placeholder {
  color: #cdb9ad;
}

th,
.tag,
.eyebrow,
.metric strong {
  color: #f8dda4;
}

td,
.panel,
.quick-start-item strong,
.report-preview {
  color: #fff8ea;
}

.message {
  color: #fff1df;
  background: rgba(255, 248, 234, 0.095);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-list button,
.ghost,
.small-button,
.danger-button {
  color: #fff8ea;
  background: rgba(255, 255, 255, 0.075);
}

.nav-list button.is-active {
  color: #fff8ea;
  background: rgba(214, 168, 95, 0.22);
}

.field-help {
  margin: -4px 0 6px;
  color: #f1dfd2;
  font-size: .86rem;
  line-height: 1.65;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tags span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(240, 209, 140, .34);
  border-radius: 999px;
  color: #fff2d7;
  background: rgba(214, 168, 95, .12);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.role-notice,
.permission-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(240, 209, 140, .28);
  border-radius: 16px;
  color: #f8efe6;
  background: rgba(214, 168, 95, .10);
  line-height: 1.55;
}

.role-notice strong,
.permission-note strong {
  color: #ffe5aa;
  white-space: nowrap;
}

.role-notice span,
.permission-note span {
  color: #f1dfd2;
}

.role-notice-staff {
  border-color: rgba(143, 188, 255, .32);
  background: rgba(93, 132, 190, .16);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-item {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.detail-item span {
  display: block;
  margin-bottom: 6px;
  color: #e0cec2;
  font-size: .82rem;
}

.detail-item strong {
  display: block;
  color: #fff8ea;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.action-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.action-card {
  width: 100%;
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(240, 209, 140, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  color: #fff8ea;
  text-align: left;
}

.action-card:hover {
  border-color: rgba(240, 209, 140, .54);
  background: rgba(214, 168, 95, .13);
}

.action-card span {
  display: block;
  color: #f8dda4;
  font-size: .82rem;
  font-weight: 900;
}

.action-card strong {
  display: block;
  margin-top: 8px;
  color: #fff8ea;
  font-size: 1.45rem;
}

.action-card p {
  margin: 8px 0 0;
  color: #f1dfd2;
  font-size: .9rem;
  line-height: 1.55;
}

.metrics.compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.readiness-card {
  display: grid;
  gap: 14px;
}

.readiness-score {
  display: flex;
  align-items: end;
  gap: 14px;
}

.readiness-score strong {
  color: #f8dda4;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: .95;
}

.readiness-score span {
  color: #fff8ea;
  font-weight: 900;
}

.readiness-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.readiness-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d6a85f, #f0d18c);
}

.wizard-steps,
.funnel-list {
  display: grid;
  gap: 10px;
}

.wizard-step,
.funnel-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
}

.wizard-step > span,
.funnel-step > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(214, 168, 95, .18);
  color: #f8dda4;
  font-weight: 900;
}

.wizard-step strong,
.funnel-step strong {
  color: #fff8ea;
}

.wizard-step p {
  margin: 4px 0 0;
  color: #f1dfd2;
  font-size: .9rem;
}

.wizard-step em,
.funnel-step em {
  font-style: normal;
  color: #f8dda4;
  font-weight: 900;
}

.wizard-step.is-done {
  border-color: rgba(128, 215, 176, .34);
}

.wizard-step.is-done > span {
  color: #d8ffed;
  background: rgba(128, 215, 176, .22);
}

.wizard-step.is-missing {
  border-color: rgba(255, 220, 154, .24);
}

.workbench-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.workbench-hero h2 {
  margin: 2px 0 6px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.workbench-hero p {
  margin: 0;
  color: #f1dfd2;
  line-height: 1.55;
}

.workbench-hero-actions,
.workbench-task,
.workbench-progress,
.workbench-risk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workbench-task-list,
.workbench-progress-list,
.workbench-risk-list,
.workbench-suggestion-list {
  display: grid;
  gap: 10px;
}

.workbench-task-list.compact {
  margin-top: 10px;
}

.workbench-task-archive {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .035);
}

.workbench-task-archive summary {
  cursor: pointer;
  color: #f8dda4;
  font-weight: 900;
}

.workbench-task,
.workbench-progress,
.workbench-risk,
.workbench-action,
.workbench-module-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.workbench-task strong,
.workbench-progress strong,
.workbench-risk strong,
.workbench-action strong,
.workbench-module-card h3 {
  color: #fff8ea;
}

.workbench-task p,
.workbench-progress p,
.workbench-risk p,
.workbench-action span,
.workbench-module-card p,
.workbench-suggestion-list li {
  margin: 4px 0 0;
  color: #f1dfd2;
  line-height: 1.5;
}

.workbench-task-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.workbench-task-title span {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 8px;
  color: #2d1a17;
  background: #f0d18c;
  font-size: .74rem;
  font-weight: 900;
}

.workbench-task-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.workbench-task.is-done {
  border-color: rgba(128, 215, 176, .34);
}

.workbench-task.is-snoozed {
  border-color: rgba(255, 220, 154, .32);
}

.workbench-task.is-needs_ai {
  border-color: rgba(214, 168, 95, .5);
  background: rgba(214, 168, 95, .09);
}

.workbench-progress > span,
.workbench-module-card > div > span,
.workbench-suggestion-list span {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 4px 9px;
  color: #2d1a17;
  background: #f0d18c;
  font-size: .76rem;
  font-weight: 900;
}

.workbench-progress.is-missing > span,
.workbench-module-card.is-missing > div > span {
  background: #ffd1a8;
}

.workbench-module-grid,
.workbench-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.workbench-module-card {
  display: grid;
  align-content: space-between;
  gap: 12px;
}

.workbench-module-card h3 {
  margin: 8px 0 0;
  font-size: 1.02rem;
}

.workbench-action {
  display: grid;
  gap: 4px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.workbench-suggestion-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workbench-suggestion-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.single-store-hero {
  margin-bottom: 16px;
}

.single-store-advice-list {
  display: grid;
  gap: 12px;
}

.single-store-advice {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
}

.single-store-advice strong {
  display: block;
  margin-bottom: 8px;
  color: #fff8ea;
  font-size: 1.02rem;
}

.single-store-advice ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-store-advice li {
  color: #f1dfd2;
  line-height: 1.55;
}

.single-store-advice li span {
  display: inline-flex;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff8ea;
  font-weight: 900;
}

.single-store-advice.is-danger {
  border-color: rgba(255, 141, 130, .48);
  background: rgba(255, 141, 130, .1);
}

.single-store-advice.is-watch {
  border-color: rgba(240, 209, 140, .42);
  background: rgba(240, 209, 140, .08);
}

.single-store-advice.is-ok {
  border-color: rgba(128, 215, 176, .42);
  background: rgba(128, 215, 176, .08);
}

@media (max-width: 760px) {
  .workbench-hero,
  .workbench-hero-actions,
  .workbench-task,
  .workbench-progress,
  .workbench-risk {
    align-items: stretch;
    flex-direction: column;
  }

  .workbench-hero-actions .primary,
  .workbench-hero-actions .ghost,
  .workbench-task .small-button,
  .workbench-task-actions .ghost,
  .workbench-progress .ghost,
  .workbench-risk .ghost {
    width: 100%;
  }

  .workbench-task-actions {
    justify-content: stretch;
  }
}

.console-copilot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: min(360px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  color: #34221c;
}

.console-copilot-toggle {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(77, 33, 16, .16);
  border-radius: 999px;
  color: #fff9ef;
  background: #5d2732;
  box-shadow: 0 14px 35px rgba(22, 10, 8, .22);
  font-weight: 950;
  cursor: pointer;
}

.console-copilot-body {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(77, 33, 16, .12);
  border-radius: 18px;
  background: rgba(255, 252, 246, .97);
  box-shadow: 0 18px 50px rgba(22, 10, 8, .24);
  overflow: auto;
  max-height: calc(100vh - 96px);
}

.console-copilot.is-collapsed .console-copilot-body {
  display: none;
}

.console-copilot-head h2 {
  margin: 2px 0 0;
  font-size: 1.05rem;
  color: #351b22;
}

.console-copilot-desc,
.console-copilot-safe,
.console-copilot-section p,
.console-copilot-section li {
  margin: 0;
  color: #66504a;
  font-size: .88rem;
  line-height: 1.55;
}

.console-copilot-section {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(93, 39, 50, .07);
}

.console-copilot-section strong,
.console-copilot-answer strong {
  color: #5d2732;
}

.console-copilot-section ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.console-copilot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.console-copilot-chips button {
  border: 1px solid rgba(93, 39, 50, .18);
  border-radius: 999px;
  color: #5d2732;
  background: #fff7eb;
  padding: 7px 10px;
  font-weight: 850;
  cursor: pointer;
}

.console-copilot-form {
  display: grid;
  gap: 8px;
}

.console-copilot-form textarea {
  width: 100%;
  min-height: 88px;
  border-radius: 12px;
  resize: vertical;
}

.console-copilot-answer {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(93, 39, 50, .18);
  border-radius: 14px;
  color: #241713;
  background: #fff9ed;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62);
}

.console-copilot-answer p {
  margin: 0;
  color: #241713;
  line-height: 1.65;
}

.console-copilot-answer .ghost {
  border-color: rgba(93, 39, 50, .24);
  color: #4a1f28;
  background: #fff4df;
}

.console-copilot-answer .ghost:hover {
  border-color: rgba(93, 39, 50, .42);
  color: #2f1218;
  background: #ffe8bd;
}

.console-copilot-answer .ghost.is-selected {
  border-color: rgba(93, 39, 50, .54);
  color: #fff9ef;
  background: #5d2732;
}

.console-copilot-feedback-status {
  margin: 0;
  color: #5d2732;
  font-size: .84rem;
  font-weight: 850;
  line-height: 1.5;
}

.console-copilot-learning {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(93, 39, 50, .12);
  border-radius: 14px;
  background: rgba(255, 249, 237, .92);
  color: #2d1a16;
}

.console-copilot-learning strong {
  color: #4a1f28;
  font-size: .94rem;
}

.console-copilot-learning p,
.console-copilot-learning li {
  margin: 0;
  color: #5b463f;
  font-size: .86rem;
  line-height: 1.55;
}

.console-copilot-learning ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.console-copilot-learning-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.console-copilot-learning-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff4df;
  color: #5d2732;
  font-size: .78rem;
  font-weight: 850;
}

.progress-meter {
  --progress: 0%;
  display: grid;
  gap: 7px;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(93, 39, 50, .12);
  border-radius: 14px;
  background: rgba(255, 249, 237, .82);
}

.progress-meter.is-compact {
  margin: 10px 0 0;
  padding: 8px 10px;
}

.progress-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #4a1f28;
  font-size: .84rem;
  font-weight: 900;
}

.progress-meter-head strong {
  color: #2d1a16;
  font-size: .9rem;
}

.progress-meter-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(93, 39, 50, .12);
}

.progress-meter-bar i {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: #d96a61;
}

.progress-meter.tone-warn .progress-meter-bar i {
  background: #d7a840;
}

.progress-meter.tone-good .progress-meter-bar i {
  background: #38a46d;
}

.progress-meter p {
  margin: 0;
  color: #6c5148;
  font-size: .82rem;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .ops-metrics {
    grid-template-columns: 1fr;
  }

  .ops-template-grid {
    grid-template-columns: 1fr;
  }

  .role-notice,
  .permission-note {
    display: block;
  }

  .role-notice strong,
  .permission-note strong {
    display: block;
    margin-bottom: 4px;
    white-space: normal;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .action-card-grid,
  .metrics.compact {
    grid-template-columns: 1fr;
  }

  .reservation-staff-handoff,
  .reservation-owner-head,
  .reservation-owner-kpi-grid,
  .reservation-owner-action-row,
  .reservation-step-strip,
  .reservation-staff-quick-stats,
  .reservation-staff-control-row,
  .reservation-board-intro.is-staff {
    grid-template-columns: 1fr;
  }

  .reservation-step-strip article {
    min-height: 118px;
  }

  .reservation-next-actions {
    min-width: 0;
  }

  .wizard-step,
  .funnel-step {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wizard-step em,
  .funnel-step em {
    grid-column: 2;
  }

  .qr-creative-layout,
  .qr-creative-options,
  .qr-creative-copy-grid,
  .qr-layout-controls {
    grid-template-columns: 1fr;
  }

  .qr-standee-visual {
    min-height: 190px;
  }

  .qr-standee-bottom {
    grid-template-columns: 96px 1fr;
  }

  .qr-standee-bottom img {
    width: 96px;
    height: 96px;
  }

  .console-copilot {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .console-copilot-body {
    max-height: 62vh;
  }
}

/* Backoffice layout readability polish: keep the AI helper visible without covering the dashboard. */
@media (min-width: 981px) {
  .content {
    padding: 22px;
  }

  .topbar {
    margin-bottom: 12px;
  }

  .grid,
  .staff-order-home,
  .stack-form,
  .workbench-task-list,
  .workbench-progress-list,
  .workbench-risk-list,
  .workbench-suggestion-list,
  .staff-returned-list {
    gap: 10px;
  }

  .panel {
    padding: 16px;
    border-radius: 14px;
  }

  .panel-head {
    gap: 10px;
    margin-bottom: 10px;
  }

  .panel-head h2 {
    font-size: 1.08rem;
  }

  .panel-head p,
  .workbench-hero p,
  .workbench-task p,
  .workbench-progress p,
  .workbench-risk p,
  .workbench-module-card p,
  .staff-mini-card p,
  .staff-action-card span,
  .staff-preset-card p,
  .staff-returned-card p {
    line-height: 1.45;
  }

  .metrics,
  .ops-metrics,
  .form-grid,
  .compact-form,
  .staff-status-grid,
  .staff-action-grid,
  .staff-preset-grid,
  .workbench-module-grid,
  .workbench-action-grid,
  .action-card-grid,
  .ops-template-grid {
    gap: 10px;
  }

  .metric,
  .workbench-task,
  .workbench-progress,
  .workbench-risk,
  .workbench-action,
  .workbench-module-card,
  .staff-mini-card,
  .staff-preset-card,
  .staff-returned-card {
    padding: 12px;
    border-radius: 12px;
  }

  .metric strong {
    margin-top: 4px;
    font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  }

  .metric p,
  .ops-metric p,
  .table-note {
    margin-top: 5px;
    line-height: 1.4;
  }

  .action-card {
    min-height: 92px;
    padding: 13px;
  }

  .staff-action-card {
    min-height: 104px;
    padding: 14px;
  }

  .workbench-hero {
    gap: 12px;
  }

  .workbench-hero h2 {
    font-size: clamp(1.22rem, 2vw, 1.65rem);
  }

  .workbench-module-grid,
  .workbench-action-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .ops-template-panel,
  .panel-subhead {
    margin-top: 12px;
  }

  th,
  td {
    padding: 9px 10px;
    font-size: .88rem;
  }
}

@media (min-width: 1180px) {
  .app-layout {
    grid-template-columns: 248px minmax(0, 1fr) minmax(300px, 352px);
  }

  .sidebar {
    padding: 18px 18px 72px;
  }

  .console-copilot {
    position: sticky;
    top: 18px;
    right: auto;
    bottom: auto;
    align-self: start;
    z-index: 18;
    width: auto;
    max-height: calc(100vh - 36px);
    padding: 18px 18px 18px 0;
  }

  .console-copilot-toggle {
    min-height: 38px;
  }

  .console-copilot-body {
    gap: 10px;
    max-height: calc(100vh - 96px);
    padding: 14px;
    border-radius: 16px;
  }

  .console-copilot-section,
  .console-copilot-answer {
    padding: 10px;
  }
}

@media (min-width: 981px) and (max-width: 1179px) {
  .content {
    padding-bottom: 168px;
  }

  .console-copilot-body {
    max-height: 45vh;
  }
}

@media (max-width: 760px) {
  .reservation-sticky-summary,
  .reservation-ops-metric-grid,
  .reservation-board-tabs,
  .reservation-card-actions {
    grid-template-columns: 1fr;
  }

  .reservation-sticky-summary {
    position: static;
  }

  .reservation-card-top {
    display: grid;
  }

  .reservation-card-details {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* V-1 restaurant operations visual system */
body {
  background:
    radial-gradient(circle at 78% 8%, rgba(240, 209, 140, .13), transparent 34%),
    radial-gradient(circle at 12% 22%, rgba(56, 120, 104, .16), transparent 28%),
    linear-gradient(135deg, #120c10 0%, #201316 48%, #0e1519 100%);
}

.content {
  background:
    linear-gradient(135deg, rgba(255, 248, 234, .025), transparent 35%),
    transparent;
}

.panel {
  border-color: rgba(240, 209, 140, .18);
  background:
    linear-gradient(145deg, rgba(42, 28, 31, .94), rgba(18, 13, 17, .92)),
    rgba(29, 19, 23, .94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.panel-head h2 {
  color: #fff8ea;
}

.workbench-hero {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 24px;
  border-color: rgba(240, 209, 140, .3);
  background:
    linear-gradient(110deg, rgba(14, 20, 24, .98) 0%, rgba(31, 19, 22, .94) 54%, rgba(117, 79, 40, .28) 100%),
    rgba(18, 13, 17, .96);
}

.workbench-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% 38%;
  height: 150%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(240, 209, 140, .28), transparent 58%);
  opacity: .42;
}

.workbench-hero > * {
  position: relative;
  z-index: 1;
}

.workbench-hero h2 {
  font-size: 2.35rem;
  line-height: 1.08;
  color: #fff8ea;
}

.workbench-hero p {
  max-width: 42rem;
  color: #f4e6cf;
  font-size: 1.04rem;
}

.workbench-hero .eyebrow {
  color: #f0d18c;
}

.workbench-hero-actions .primary,
.workbench-hero-actions .ghost {
  min-height: 52px;
}

.command-metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.command-metric-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(240, 209, 140, .2);
  border-radius: 14px;
  background:
    linear-gradient(155deg, rgba(255, 248, 234, .09), rgba(255, 255, 255, .025)),
    rgba(11, 17, 21, .58);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.command-metric-card span,
.command-metric-card small {
  display: block;
}

.command-metric-card span {
  color: #f0d18c;
  font-size: .86rem;
  font-weight: 950;
}

.command-metric-card strong {
  display: block;
  margin: 8px 0 6px;
  color: #fff8ea;
  font-size: 2.25rem;
  line-height: 1;
}

.command-metric-card small {
  color: #e8d7c3;
  line-height: 1.42;
}

.command-metric-card.tone-good {
  border-color: rgba(126, 202, 153, .34);
}

.command-metric-card.tone-warn {
  border-color: rgba(240, 209, 140, .42);
}

.command-metric-card.tone-risk {
  border-color: rgba(236, 118, 106, .45);
}

.command-metric-card.tone-accent {
  border-color: rgba(80, 164, 151, .4);
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  width: 58px;
  height: 58px;
}

.mini-bars i {
  flex: 1;
  min-width: 8px;
  height: var(--bar);
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, #f0d18c, #a66c35);
  box-shadow: 0 0 18px rgba(240, 209, 140, .18);
}

.workbench-task,
.workbench-progress,
.workbench-risk,
.workbench-action,
.workbench-module-card,
.workbench-suggestion-list li {
  border-color: rgba(240, 209, 140, .17);
  background:
    linear-gradient(135deg, rgba(255, 248, 234, .065), rgba(255, 255, 255, .025)),
    rgba(255, 255, 255, .045);
}

.workbench-task {
  border-left: 4px solid #f0d18c;
}

.workbench-task.is-done {
  border-left-color: #7ed39a;
}

.workbench-task.is-snoozed {
  border-left-color: #8bb5c9;
}

.progress-meter {
  padding: 12px;
  border: 1px solid rgba(240, 209, 140, .16);
  border-radius: 12px;
  background: rgba(12, 18, 22, .35);
}

.progress-meter-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.progress-meter-bar i {
  background: linear-gradient(90deg, #5fc29c, #f0d18c);
}

.progress-meter.tone-risk .progress-meter-bar i {
  background: linear-gradient(90deg, #d86f5f, #f0d18c);
}

.progress-meter.tone-warn .progress-meter-bar i {
  background: linear-gradient(90deg, #d59b4a, #f0d18c);
}

.metric {
  border-color: rgba(240, 209, 140, .17);
  background:
    linear-gradient(145deg, rgba(255, 248, 234, .08), rgba(255, 255, 255, .025)),
    rgba(255, 255, 255, .04);
}

.metric strong {
  color: #fff8ea;
}

.chart-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.visual-ops-panel {
  display: grid;
  gap: 16px;
  margin: 14px 0;
}

.boss-insight-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}

.boss-insight-card {
  min-width: 0;
  min-height: 138px;
  padding: 16px;
  border: 1px solid rgba(240, 209, 140, .2);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 248, 234, .09), rgba(255, 255, 255, .028)),
    rgba(10, 16, 20, .56);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.boss-insight-card span,
.boss-insight-card strong,
.boss-insight-card p {
  display: block;
}

.boss-insight-card span {
  color: #f0d18c;
  font-size: .84rem;
  font-weight: 950;
}

.boss-insight-card strong {
  margin: 8px 0 6px;
  color: #fff8ea;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.06;
}

.boss-insight-card p {
  margin: 0;
  color: #ead8c9;
  line-height: 1.45;
}

.boss-insight-card.tone-good {
  border-color: rgba(128, 215, 176, .36);
}

.boss-insight-card.tone-warn {
  border-color: rgba(240, 209, 140, .42);
}

.boss-insight-card.tone-risk {
  border-color: rgba(255, 141, 130, .42);
}

.boss-insight-card.tone-accent {
  border-color: rgba(143, 216, 255, .36);
}

.ops-health-board {
  display: grid;
  grid-template-columns: minmax(210px, .82fr) minmax(0, 1.9fr);
  gap: 14px;
  align-items: stretch;
}

.ops-health-lead,
.ops-health-card {
  min-width: 0;
  border: 1px solid rgba(240, 209, 140, .2);
  background:
    linear-gradient(150deg, rgba(255, 248, 234, .095), rgba(255, 255, 255, .026)),
    rgba(10, 16, 20, .55);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

.ops-health-lead {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
}

.ops-health-lead span,
.ops-health-card-head strong {
  color: #f0d18c;
  font-size: .86rem;
  font-weight: 950;
}

.ops-health-lead strong {
  color: #fff8ea;
  font-size: clamp(2.7rem, 8vw, 5.5rem);
  line-height: .95;
}

.ops-health-lead p,
.ops-health-card p,
.ops-health-card em {
  margin: 0;
  color: #ead8c9;
  line-height: 1.5;
}

.ops-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.ops-health-card {
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 16px;
}

.ops-health-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.ops-health-card-head span {
  color: #fff8ea;
  font-size: 1.35rem;
  font-weight: 950;
}

.ops-health-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.ops-health-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0d18c, #9d6236);
}

.ops-health-card em {
  display: block;
  color: #fff8ea;
  font-style: normal;
  font-weight: 850;
}

.ops-health-board.tone-good .ops-health-lead,
.ops-health-card.tone-good {
  border-color: rgba(128, 215, 176, .38);
}

.ops-health-board.tone-warn .ops-health-lead,
.ops-health-card.tone-warn {
  border-color: rgba(240, 209, 140, .45);
}

.ops-health-board.tone-risk .ops-health-lead,
.ops-health-card.tone-risk {
  border-color: rgba(255, 141, 130, .48);
}

.ops-health-card.tone-good .ops-health-bar i {
  background: linear-gradient(90deg, #6fc894, #cfeecb);
}

.ops-health-card.tone-warn .ops-health-bar i {
  background: linear-gradient(90deg, #d59b4a, #f0d18c);
}

.ops-health-card.tone-risk .ops-health-bar i {
  background: linear-gradient(90deg, #d86f5f, #f0d18c);
}

.analysis-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(240, 209, 140, .18);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 248, 234, .075), rgba(255, 255, 255, .025)),
    rgba(10, 16, 20, .45);
}

.analysis-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.analysis-head strong {
  color: #fff8ea;
  font-size: 1.02rem;
}

.analysis-head span {
  border: 1px solid rgba(240, 209, 140, .25);
  border-radius: 999px;
  padding: 4px 8px;
  color: #f0d18c;
  font-size: .76rem;
  font-weight: 950;
}

.analysis-card p {
  margin: 12px 0 0;
  color: #e8d7c3;
  line-height: 1.45;
}

.analysis-bar-list,
.analysis-rank {
  display: grid;
  gap: 10px;
}

.analysis-bar-row,
.rank-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.analysis-bar-row span,
.rank-row span {
  color: #f5e6cf;
  font-size: .9rem;
  font-weight: 850;
}

.analysis-bar-row > div,
.rank-row > div {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.analysis-bar-row i,
.rank-row i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0d18c, #a66c35);
}

.analysis-bar-row strong,
.rank-row strong {
  color: #fff8ea;
  font-size: .94rem;
}

.analysis-bar-row.tone-good i {
  background: linear-gradient(90deg, #6fc894, #cfeecb);
}

.analysis-bar-row.tone-warn i {
  background: linear-gradient(90deg, #d59b4a, #f0d18c);
}

.analysis-bar-row.tone-risk i {
  background: linear-gradient(90deg, #d86f5f, #f0d18c);
}

.analysis-bar-row.tone-accent i {
  background: linear-gradient(90deg, #50a497, #b7efe3);
}

.donut-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.donut {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #181114 0 55%, transparent 56%),
    conic-gradient(#f0d18c calc(var(--p) * 1%), rgba(255, 255, 255, .12) 0);
}

.donut strong {
  color: #fff8ea;
  font-size: 1.45rem;
}

.spark-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  gap: 10px;
  min-height: 132px;
  align-items: end;
}

.spark-bars div {
  display: grid;
  gap: 7px;
  align-items: end;
  min-width: 0;
}

.spark-bars i {
  display: block;
  height: var(--h);
  min-height: 12px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #f0d18c, #6e4528);
}

.spark-bars span {
  color: #e8d7c3;
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
}

@media (max-width: 760px) {
  .workbench-hero {
    display: grid;
    padding: 18px;
  }

  .workbench-hero h2 {
    font-size: 1.72rem;
  }

  .command-metric-strip,
  .command-metric-card {
    grid-template-columns: 1fr;
  }

  .mini-bars {
    width: 100%;
    height: 38px;
  }

  .workbench-task,
  .workbench-risk,
  .workbench-progress {
    display: grid;
  }

  .analysis-bar-row,
  .rank-row {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }

  .donut-wrap {
    grid-template-columns: 1fr;
  }

  .ops-health-board {
    grid-template-columns: 1fr;
  }
}

/* R-6 reservation premium operations board */
.reservation-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 36px);
  border-color: rgba(240, 209, 140, .32);
  background:
    linear-gradient(112deg, rgba(10, 16, 22, .98), rgba(20, 14, 17, .88)),
    url("../assets/event-qr-scan-real.jpg") right center / cover no-repeat;
}

.reservation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 16, 22, .98) 0%, rgba(12, 16, 22, .88) 58%, rgba(12, 16, 22, .5));
}

.reservation-hero > * {
  position: relative;
  z-index: 1;
}

.reservation-hero h2 {
  max-width: 760px;
  font-family: "Noto Serif TC", "Noto Sans TC", serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
}

.reservation-hero h2::after,
.reservation-board-intro h2::after,
.reservation-section-title h3::after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, #f0d18c, transparent);
}

.reservation-hero p {
  max-width: 680px;
  color: #f2ddc5;
  font-size: 1.02rem;
}

.reservation-metrics {
  margin-top: 18px;
}

.reservation-metrics .metric {
  border-color: rgba(240, 209, 140, .24);
  background: rgba(8, 15, 21, .72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.reservation-link-panel,
.reservation-board-panel {
  border-color: rgba(240, 209, 140, .26);
  background:
    linear-gradient(145deg, rgba(255, 248, 234, .075), rgba(255, 255, 255, .025)),
    rgba(10, 16, 20, .54);
}

.reservation-sticky-summary {
  top: 20px;
  border-color: rgba(240, 209, 140, .38);
  border-radius: 22px;
  background: rgba(7, 13, 18, .96);
}

.reservation-summary-stat {
  border: 1px solid rgba(240, 209, 140, .16);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
}

.reservation-summary-stat strong {
  color: #f0d18c;
}

.reservation-alert {
  border-radius: 18px;
  color: #201307;
  background: linear-gradient(135deg, #ffd678, #e2a544);
}

.reservation-alert.is-calm {
  color: #092017;
  background: linear-gradient(135deg, #96ecc8, #48c588);
}

.reservation-ops-metric {
  border-color: rgba(240, 209, 140, .2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
}

.reservation-ops-metric strong {
  color: #fff8ea;
}

.reservation-board-tabs span {
  min-height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
}

.reservation-entry-card {
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
}

.reservation-entry-card.is-long-wait {
  box-shadow: 0 18px 54px rgba(255, 141, 130, .16);
}

.reservation-card-top h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.reservation-code {
  background: linear-gradient(135deg, #f0d18c, #c28c42);
}

.reservation-wait {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #94edc7, #45c489);
}

.reservation-card-next {
  border: 1px solid rgba(240, 209, 140, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, #f0d18c, #c28c42);
}

.reservation-card-actions button {
  min-height: 60px;
  border-radius: 16px;
}

.reservation-main-action {
  box-shadow: 0 14px 26px rgba(66, 199, 129, .16);
}

.reservation-card-actions .danger-button {
  background: linear-gradient(135deg, rgba(201, 69, 69, .92), rgba(145, 42, 42, .9));
}

/* R-7 vendor reservation visual depth polish */
.reservation-board-panel {
  position: relative;
  overflow: hidden;
}

.reservation-board-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(240, 209, 140, .15), transparent 32%),
    radial-gradient(circle at 95% 8%, rgba(91, 198, 255, .1), transparent 30%);
}

.reservation-board-panel > * {
  position: relative;
  z-index: 1;
}

.reservation-board-intro {
  min-height: 168px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(240, 209, 140, .18);
  border-radius: 26px;
  background:
    linear-gradient(112deg, rgba(8, 15, 22, .94), rgba(12, 16, 22, .72)),
    url("../assets/event-qr-scan-real.jpg") right center / cover no-repeat;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

.reservation-board-intro h2 {
  font-family: "Noto Serif TC", "Noto Sans TC", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.18;
}

.reservation-sticky-summary {
  backdrop-filter: blur(18px);
}

.reservation-summary-stat {
  min-height: 126px;
}

.reservation-summary-stat span,
.reservation-ops-metric span {
  font-weight: 900;
}

.reservation-summary-stat strong {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1;
}

.reservation-ops-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .7fr) minmax(0, 1fr);
  gap: 16px;
  margin: 18px 0 22px;
}

.reservation-ops-chart {
  min-height: 248px;
  padding: 20px;
  border: 1px solid rgba(240, 209, 140, .22);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035)),
    rgba(8, 14, 20, .66);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.reservation-ops-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.reservation-ops-chart-head strong {
  color: #fff8ea;
  font-size: 1.12rem;
}

.reservation-ops-chart-head span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(240, 209, 140, .22);
  border-radius: 999px;
  color: #f0d18c;
  background: rgba(240, 209, 140, .08);
  font-size: .84rem;
  font-weight: 900;
}

.reservation-ops-bars {
  display: grid;
  gap: 11px;
}

.reservation-ops-bar-row {
  display: grid;
  grid-template-columns: minmax(72px, .55fr) minmax(120px, 1fr) minmax(36px, auto);
  gap: 10px;
  align-items: center;
}

.reservation-ops-bar-row span,
.reservation-ops-bar-row strong {
  color: #fff8ea;
  font-weight: 800;
}

.reservation-ops-bar-row div {
  overflow: hidden;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.reservation-ops-bar-row i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0d18c, #ba7b35);
}

.reservation-ops-bar-row.tone-good i {
  background: linear-gradient(90deg, #8de9c3, #45c489);
}

.reservation-ops-bar-row.tone-risk i {
  background: linear-gradient(90deg, #ffb09d, #e35d55);
}

.reservation-ops-bar-row.tone-warn i {
  background: linear-gradient(90deg, #ffd678, #df9e36);
}

.reservation-ops-bar-row.tone-accent i {
  background: linear-gradient(90deg, #8fd8ff, #3c9fd6);
}

.reservation-ops-chart p {
  margin: 16px 0 0;
  color: #d9c9b0;
  line-height: 1.65;
}

.reservation-ops-gauge {
  display: grid;
  justify-items: center;
  text-align: center;
}

.reservation-ops-donut {
  width: min(156px, 70%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #101922 0 57%, transparent 58%),
    conic-gradient(#f0d18c calc(var(--p) * 1%), rgba(255, 255, 255, .13) 0);
  box-shadow: inset 0 0 0 1px rgba(240, 209, 140, .12);
}

.reservation-ops-donut strong {
  color: #fff8ea;
  font-size: 1.7rem;
  font-weight: 900;
}

.reservation-board-tabs {
  padding: 10px;
  border: 1px solid rgba(240, 209, 140, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .045);
}

.reservation-entry-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.reservation-entry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 209, 140, .38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

@media (max-width: 1120px) {
  .reservation-ops-chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .reservation-board-intro {
    min-height: 0;
    padding: 22px;
  }

  .reservation-ops-bar-row {
    grid-template-columns: 1fr;
  }

  .reservation-ops-bar-row div {
    width: 100%;
  }
}

/* V-3 backend design system unification */
.content {
  min-width: 0;
  padding: clamp(18px, 2.6vw, 34px);
}

.panel,
.metric,
.quick-start-item,
.report-preview,
.reservation-link-panel,
.reservation-board-panel,
.reservation-ops-chart,
.reservation-entry-card,
.single-store-action-card,
.single-store-insight-card,
.staff-home-card,
.staff-status-card,
.staff-preset-card,
.staff-returned-card,
.workbench-task,
.workbench-progress,
.workbench-risk,
.workbench-action,
.workbench-module-card {
  border-color: rgba(240, 209, 140, .22);
  border-radius: 22px;
  box-shadow: 0 22px 64px rgba(0, 0, 0, .24);
}

.panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .026)),
    rgba(18, 24, 30, .72);
}

.panel-head {
  gap: 16px;
  margin-bottom: 16px;
}

.panel-head h2,
.panel-head h3,
.reservation-board-head h2,
.workbench-hero h2 {
  color: #fff8ea;
  font-size: var(--font-section);
  letter-spacing: 0;
}

.panel-head p,
.reservation-board-head p,
.workbench-hero p,
.workbench-task p,
.workbench-progress p,
.workbench-risk p,
.workbench-action span,
.workbench-module-card p,
.staff-home-card p,
.staff-status-card p,
.staff-preset-card p,
.staff-returned-card p {
  color: #d9c8b4;
  font-size: .96rem;
  line-height: 1.55;
}

.topbar {
  gap: 14px;
  border-bottom: 1px solid rgba(240, 209, 140, .13);
  background:
    linear-gradient(90deg, rgba(22, 16, 20, .94), rgba(19, 27, 34, .82)),
    rgba(20, 14, 17, .92);
  backdrop-filter: blur(18px);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(18, 13, 16, .98), rgba(16, 22, 28, .94)),
    rgba(20, 14, 17, .92);
}

.nav-list button,
.nav-list a {
  min-height: 46px;
  border-radius: 14px;
}

.nav-list button.is-active,
.nav-list a.is-active {
  border-color: rgba(240, 209, 140, .3);
  background: linear-gradient(135deg, rgba(240, 209, 140, .18), rgba(255, 255, 255, .06));
  box-shadow: inset 0 0 0 1px rgba(240, 209, 140, .08);
}

.metrics,
.ops-metrics,
.reservation-metrics,
.reservation-ops-metric-grid,
.staff-status-grid {
  gap: 16px;
}

.metric,
.ops-metric,
.reservation-summary-stat,
.reservation-ops-metric,
.staff-status-card {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(240, 209, 140, .12), rgba(255, 255, 255, .034)),
    rgba(10, 17, 23, .7);
}

.metric span,
.ops-metric span,
.reservation-summary-stat span,
.reservation-ops-metric span,
.staff-status-card span {
  color: #f0d18c;
  font-size: .84rem;
  font-weight: 950;
}

.metric strong,
.ops-metric strong,
.reservation-summary-stat strong,
.reservation-ops-metric strong {
  color: #fff8ea;
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.metric p,
.ops-metric p,
.reservation-summary-stat small,
.reservation-ops-metric small {
  color: #d9c8b4;
}

.primary,
.ghost,
.small-button,
.danger-button,
.reservation-main-action,
.reservation-secondary-action {
  min-height: 46px;
  border-radius: 14px;
  font-size: .96rem;
  font-weight: 950;
}

.primary,
.reservation-main-action {
  border-color: rgba(240, 209, 140, .36);
  color: #21140f;
  background: linear-gradient(135deg, #f5d88d, #d6a85f);
  box-shadow: 0 14px 34px rgba(214, 168, 95, .24);
}

.ghost,
.small-button,
.reservation-secondary-action {
  border-color: rgba(240, 209, 140, .2);
  color: #fff8ea;
  background: rgba(255, 255, 255, .075);
}

.danger-button,
.reservation-card-actions .danger-button {
  border-color: rgba(255, 141, 130, .36);
  color: #fff8ea;
  background: linear-gradient(135deg, #d96c61, #87332e);
}

.tag,
.reservation-status-pill,
.workbench-task-title span,
.workbench-module-card > div > span,
.workbench-suggestion-list span {
  min-height: 30px;
  border: 1px solid rgba(240, 209, 140, .24);
  border-radius: 999px;
  color: #f0d18c;
  background: rgba(240, 209, 140, .11);
  font-size: .82rem;
  font-weight: 950;
}

.table-wrap {
  border-color: rgba(240, 209, 140, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  color: #f0d18c;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: 0;
}

td {
  color: #fff8ea;
  line-height: 1.5;
}

.workbench-hero,
.reservation-board-intro,
.staff-home-hero {
  border: 1px solid rgba(240, 209, 140, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 209, 140, .16), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035)),
    rgba(8, 14, 20, .72);
  box-shadow: 0 28px 74px rgba(0, 0, 0, .28);
}

.workbench-task,
.workbench-progress,
.workbench-risk,
.workbench-action,
.workbench-module-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .028)),
    rgba(12, 18, 23, .7);
}

.workbench-task.is-done {
  border-color: rgba(98, 200, 145, .32);
}

.workbench-task.is-snoozed {
  border-color: rgba(240, 189, 90, .34);
}

.workbench-task.is-needs_ai {
  border-color: rgba(109, 168, 216, .36);
}

.progress-meter {
  border-color: rgba(240, 209, 140, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
}

.progress-meter-head strong {
  color: #fff8ea;
}

.progress-meter-bar {
  height: 12px;
  background: rgba(255, 255, 255, .12);
}

.progress-meter-bar i {
  background: linear-gradient(90deg, #8fd8ff, #f0d18c);
}

.progress-meter.tone-good .progress-meter-bar i {
  background: linear-gradient(90deg, #8de5be, #52c18c);
}

.progress-meter.tone-warn .progress-meter-bar i {
  background: linear-gradient(90deg, #ffd983, #d6a85f);
}

.progress-meter.tone-risk .progress-meter-bar i {
  background: linear-gradient(90deg, #ffb09d, #d96c61);
}

.progress-meter p {
  color: #d9c8b4;
}

.console-copilot {
  z-index: 60;
}

.console-copilot-body,
.console-copilot-answer,
.console-copilot-section {
  border-color: rgba(93, 39, 50, .16);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .14);
}

.console-copilot-answer p {
  color: #241713;
  font-weight: 650;
}

.reservation-entry-card {
  min-height: 250px;
  border-left-width: 7px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .034)),
    rgba(8, 15, 21, .76);
}

.reservation-card-top h3,
.reservation-code,
.reservation-wait {
  color: #fff8ea;
}

.reservation-wait.is-long {
  background: linear-gradient(135deg, rgba(255, 141, 130, .95), rgba(135, 51, 46, .92));
}

@media (max-width: 860px) {
  .content {
    padding: 14px;
  }

  .panel,
  .workbench-hero,
  .reservation-board-intro {
    border-radius: 18px;
  }

  .primary,
  .ghost,
  .small-button,
  .danger-button,
  .reservation-card-actions button {
    min-height: 52px;
  }

  .table-wrap {
    border-radius: 16px;
  }
}
