.desktop-app {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 812px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 18px;
  background: var(--neutral-0);
  box-shadow: var(--shadow-soft);
}

.desktop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  border-right: 1px solid var(--neutral-200);
  background: var(--neutral-900);
  padding: 18px;
  color: var(--neutral-0);
}

.desktop-sidebar .sidebar-brand span {
  color: rgba(255, 255, 255, 0.62);
}

.desktop-sidebar .brand-mark {
  background: var(--primary-600);
}

.desktop-nav {
  display: grid;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  padding: 0 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.nav-item.active,
.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--neutral-0);
}

.nav-item svg {
  width: 17px;
  height: 17px;
}

.desktop-main {
  min-width: 0;
  background: var(--neutral-50);
}

.desktop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--neutral-200);
  background: rgba(255, 255, 255, 0.92);
}

.desktop-toolbar h2 {
  margin: 2px 0 0;
  font-size: 20px;
}

.desktop-content {
  position: relative;
  min-height: 738px;
  padding: 18px;
}

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

.kpi-card,
.panel {
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  background: var(--neutral-0);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.kpi-card {
  padding: 16px;
}

.kpi-card span,
.panel-title span {
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.kpi-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.kpi-card p {
  margin: 8px 0 0;
  color: var(--success-600);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-command-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
  align-items: stretch;
}

.dashboard-command-grid > .panel,
.dashboard-grid > .panel {
  min-width: 0;
}

.dashboard-grid {
  margin-top: 14px;
}

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

.dashboard-kpi-card {
  padding: 14px;
}

.dashboard-kpi-card strong {
  font-size: 22px;
  white-space: nowrap;
}

.dashboard-kpi-card p {
  color: var(--neutral-500);
}

.dashboard-sales-panel {
  min-height: 326px;
}

.dashboard-sales-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-sales-head > div {
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  background: var(--neutral-50);
  padding: 12px;
}

.dashboard-sales-head strong,
.dashboard-sales-head p {
  display: block;
}

.dashboard-sales-head strong {
  margin-top: 6px;
  color: var(--neutral-900);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.dashboard-sales-head p {
  margin: 6px 0 0;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-hour-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  height: 158px;
  padding: 10px 0 0;
}

.dashboard-hour-column {
  display: grid;
  align-items: end;
  gap: 8px;
  min-width: 0;
  height: 100%;
}

.dashboard-hour-track {
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
  height: 116px;
}

.dashboard-hour-bar {
  display: flex;
  align-items: start;
  justify-content: center;
  width: min(62px, 100%);
  min-height: 36px;
  height: var(--h);
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(180deg, var(--primary-500), var(--primary-700));
  color: var(--neutral-0);
  padding-top: 8px;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.15);
}

.dashboard-hour-column.peak .dashboard-hour-bar {
  background: linear-gradient(180deg, #fb923c, var(--primary-700));
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.24);
}

.dashboard-hour-bar span {
  font-size: 10px;
  font-weight: 900;
}

.dashboard-hour-column small {
  overflow: hidden;
  color: var(--neutral-500);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 900;
}

.dashboard-hour-column.peak small {
  color: var(--neutral-900);
}

.dashboard-health-list,
.dashboard-top-menu-list,
.dashboard-crm-list,
.dashboard-transaction-list {
  display: grid;
  gap: 10px;
}

.dashboard-health-row,
.dashboard-menu-row,
.dashboard-crm-row,
.dashboard-transaction-row {
  min-width: 0;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  background: var(--neutral-50);
}

.dashboard-health-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
}

.dashboard-health-row > svg {
  width: 18px;
  height: 18px;
  color: var(--primary-700);
}

.dashboard-health-row.success {
  border-color: rgba(5, 150, 105, 0.18);
  background: var(--success-50);
}

.dashboard-health-row.success > svg {
  color: var(--success-600);
}

.dashboard-health-row.warning {
  border-color: rgba(217, 119, 6, 0.18);
  background: var(--warning-50);
}

.dashboard-health-row.warning > svg {
  color: var(--warning-600);
}

.dashboard-health-row strong,
.dashboard-health-row span,
.dashboard-health-row b {
  display: block;
}

.dashboard-health-row strong {
  color: var(--neutral-900);
  font-size: 13px;
  font-weight: 900;
}

.dashboard-health-row span {
  margin-top: 3px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-health-row b {
  color: var(--neutral-900);
  font-size: 11px;
  font-weight: 900;
}

.dashboard-top-menu-panel {
  min-height: 288px;
}

.dashboard-menu-row,
.dashboard-crm-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  text-align: left;
}

.dashboard-crm-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.dashboard-menu-row img {
  width: 44px;
  height: 38px;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  object-fit: cover;
  background: var(--neutral-100);
}

.dashboard-menu-row > strong,
.dashboard-crm-row > strong {
  color: var(--neutral-900);
  white-space: nowrap;
  font-weight: 900;
}

.dashboard-menu-row:hover,
.dashboard-crm-row:hover,
.dashboard-transaction-row:hover {
  border-color: rgba(249, 115, 22, 0.24);
  background: var(--primary-50);
}

.dashboard-transaction-panel {
  grid-column: 1 / -1;
}

.dashboard-transaction-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  border-bottom: 0;
  padding: 12px;
  text-align: left;
}

.dashboard-transaction-main,
.dashboard-transaction-meta {
  display: flex;
  align-items: center;
  min-width: 0;
}

.dashboard-transaction-main {
  gap: 10px;
}

.dashboard-transaction-meta {
  justify-content: flex-end;
  gap: 12px;
}

.dashboard-transaction-meta > strong {
  min-width: 92px;
  color: var(--neutral-900);
  text-align: right;
  white-space: nowrap;
  font-weight: 900;
}

.panel {
  min-width: 0;
  padding: 16px;
}

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

.panel-title h3 {
  margin: 0;
  font-size: 15px;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  height: 220px;
}

.bar {
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
  height: var(--h);
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--primary-500), var(--primary-700));
  color: var(--neutral-0);
  font-size: 10px;
  font-weight: 900;
  padding-bottom: 8px;
}

.split-row,
.rank-row,
.recent-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-100);
}

.split-row:last-child,
.rank-row:last-child,
.recent-row:last-child {
  border-bottom: 0;
}

.rank-index {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 900;
}

.row-main strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.row-main span {
  display: block;
  margin-top: 3px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.reports-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 12px;
}

.report-chart-panel {
  min-height: 312px;
}

.report-side-panel {
  min-height: 150px;
}

.report-table-panel {
  grid-column: 1 / -1;
}

.report-bar-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  height: 198px;
  padding-top: 8px;
}

.report-bar-chart::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 38px;
  left: 0;
  height: 1px;
  background: var(--neutral-100);
}

.report-bar-column {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 8px;
  min-width: 0;
  height: 100%;
}

.report-bar-track {
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
  height: 152px;
}

.report-bar {
  display: flex;
  align-items: start;
  justify-content: center;
  width: min(64px, 100%);
  min-height: 36px;
  height: var(--h);
  border-radius: 11px 11px 5px 5px;
  background: linear-gradient(180deg, var(--primary-500), var(--primary-700));
  color: var(--neutral-0);
  padding-top: 8px;
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.12);
}

.report-bar-column.peak .report-bar {
  background: linear-gradient(180deg, #fb923c, var(--primary-700));
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.18);
}

.report-bar span {
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.report-bar-column small {
  color: var(--neutral-500);
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}

.report-bar-column.peak small {
  color: var(--neutral-900);
}

.report-payment-list,
.report-top-list {
  display: grid;
  gap: 9px;
}

.report-payment-row,
.report-top-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  background: var(--neutral-50);
}

.report-payment-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.report-payment-row strong,
.report-payment-row small {
  display: block;
}

.report-payment-row strong {
  color: var(--neutral-900);
  font-size: 13px;
  font-weight: 900;
}

.report-payment-row small {
  margin-top: 3px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.report-top-row strong {
  color: var(--neutral-900);
  white-space: nowrap;
}

.report-top-count {
  color: var(--neutral-900);
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.reports-table tbody tr {
  cursor: pointer;
  transition: background 0.16s ease;
}

.report-action-cell {
  white-space: nowrap;
}

.report-actions {
  align-items: stretch;
}

.report-export-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  background: var(--info-50);
}

.report-export-band strong,
.report-export-band p {
  display: block;
}

.report-export-band strong {
  margin-top: 4px;
  color: var(--neutral-900);
  font-size: 15px;
  font-weight: 900;
}

.report-export-band p {
  margin: 5px 0 0;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 800;
}

.data-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.filter-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  background: var(--neutral-100);
}

.filter-pills button {
  min-height: 32px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--neutral-500);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.filter-pills button.active {
  background: var(--neutral-0);
  color: var(--neutral-900);
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.08);
}

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

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

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

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

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

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

.order-kpi-card {
  padding: 14px;
}

.customer-kpi-card {
  padding: 14px;
}

.menu-kpi-card {
  padding: 14px;
}

.report-kpi-card {
  padding: 14px;
}

.staff-kpi-card {
  padding: 14px;
}

.settings-kpi-card {
  padding: 14px;
}

.order-kpi-card strong {
  font-size: 22px;
}

.customer-kpi-card strong {
  font-size: 22px;
}

.menu-kpi-card strong {
  font-size: 22px;
}

.report-kpi-card strong {
  font-size: 22px;
}

.staff-kpi-card strong {
  font-size: 22px;
}

.settings-kpi-card strong {
  font-size: 22px;
}

.order-kpi-card p {
  color: var(--neutral-500);
}

.customer-kpi-card p {
  color: var(--neutral-500);
}

.menu-kpi-card p {
  color: var(--neutral-500);
}

.report-kpi-card p {
  color: var(--neutral-500);
}

.staff-kpi-card p {
  color: var(--neutral-500);
}

.settings-kpi-card p {
  color: var(--neutral-500);
}

.orders-actions {
  align-items: stretch;
}

.customers-actions {
  align-items: stretch;
}

.menu-actions {
  align-items: stretch;
}

.settings-actions {
  align-items: stretch;
  flex-wrap: wrap;
}

.data-filter-row {
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.staff-actions {
  align-items: stretch;
  flex-wrap: wrap;
}

.staff-actions .data-filter-row {
  flex-wrap: wrap;
}

.settings-actions .data-filter-row {
  flex-wrap: wrap;
}

.customers-actions .primary-button {
  flex: 0 0 auto;
  min-width: 148px;
  white-space: nowrap;
}

.menu-actions .primary-button {
  flex: 0 0 auto;
  min-width: 124px;
  white-space: nowrap;
}

.data-result-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  margin: -4px 0 10px;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  background: var(--neutral-0);
  padding: 0 12px;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 800;
}

.data-result-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.data-result-strip svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.data-result-strip strong {
  color: var(--neutral-900);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.staff-actions .primary-button {
  flex: 0 0 auto;
  min-width: 118px;
  white-space: nowrap;
}

.desktop-search {
  position: relative;
  width: min(360px, 100%);
}

.desktop-search.orders-search {
  width: min(420px, 100%);
}

.desktop-search.customers-search {
  width: min(430px, 100%);
}

.desktop-search.menu-search {
  width: min(430px, 100%);
}

.desktop-search.reports-search {
  width: min(430px, 100%);
}

.desktop-search.staff-search {
  width: min(430px, 100%);
}

.desktop-search.settings-search {
  width: min(430px, 100%);
}

.desktop-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: var(--neutral-500);
  transform: translateY(-50%);
}

.desktop-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  background: var(--neutral-0);
  outline: 0;
  padding: 0 12px 0 36px;
  font-size: 13px;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.34) transparent;
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  background: var(--neutral-0);
}

.table-wrap::-webkit-scrollbar {
  height: 8px;
}

.table-wrap::-webkit-scrollbar-track {
  background: var(--neutral-50);
  border-radius: 999px;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.3);
  border: 2px solid var(--neutral-50);
  border-radius: 999px;
}

.orders-table-wrap {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.customers-table-wrap {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.menu-table-wrap {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.reports-table-wrap {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--neutral-100);
  padding: 13px 14px;
  text-align: left;
  font-size: 13px;
  vertical-align: middle;
}

th {
  background: var(--neutral-50);
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

td {
  color: var(--neutral-700);
  font-weight: 700;
}

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

tbody tr {
  transition: background 0.16s ease;
}

tbody tr:hover {
  background: var(--primary-50);
}

.orders-table tbody tr {
  cursor: pointer;
}

.customers-table tbody tr {
  cursor: pointer;
}

.menu-table tbody tr {
  cursor: pointer;
}

.table-empty-row {
  cursor: default;
}

tbody tr.table-empty-row:hover {
  background: transparent;
}

.table-empty-row td {
  padding: 18px;
}

.staff-table tbody tr {
  cursor: pointer;
}

.invoice-cell strong,
.invoice-cell span {
  display: block;
}

.invoice-cell strong {
  color: var(--neutral-900);
  font-weight: 900;
}

.invoice-cell span {
  margin-top: 4px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.payment-method-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.payment-method-chip svg {
  width: 14px;
  height: 14px;
}

.payment-method-chip.cash {
  background: var(--success-50);
  color: var(--success-600);
}

.payment-method-chip.qris {
  background: var(--info-50);
  color: var(--info-600);
}

.order-total-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.order-total-cell strong {
  color: var(--neutral-900);
  white-space: nowrap;
}

.order-detail-button {
  min-height: 28px;
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  background: var(--neutral-0);
  color: var(--neutral-700);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.order-detail-button:hover {
  border-color: var(--primary-500);
  color: var(--primary-700);
}

.customer-identity-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.customer-table-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  place-content: center;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 900;
  line-height: 0;
}

.customer-table-avatar svg {
  display: block;
  width: 17px;
  height: 17px;
}

.customer-identity-cell strong,
.customer-identity-cell span {
  display: block;
  min-width: 0;
}

.customer-identity-cell strong {
  overflow: hidden;
  color: var(--neutral-900);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.customer-identity-cell span {
  margin-top: 4px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.customer-tier-chip,
.points-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.customer-tier-chip.gold {
  background: var(--warning-50);
  color: var(--warning-600);
}

.customer-tier-chip.silver {
  background: var(--neutral-100);
  color: var(--neutral-700);
}

.customer-tier-chip.regular {
  background: var(--info-50);
  color: var(--info-600);
}

.points-chip {
  background: var(--primary-50);
  color: var(--primary-700);
}

.points-chip svg {
  width: 13px;
  height: 13px;
}

.customer-spend-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.customer-spend-cell strong {
  color: var(--neutral-900);
  white-space: nowrap;
}

.menu-identity-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.menu-identity-cell img {
  width: 46px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--neutral-200);
  object-fit: cover;
  background: var(--neutral-100);
}

.menu-identity-cell strong,
.menu-identity-cell span {
  display: block;
  min-width: 0;
}

.menu-identity-cell strong {
  overflow: hidden;
  color: var(--neutral-900);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.menu-identity-cell span {
  margin-top: 4px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.menu-category-chip,
.sold-chip,
.stock-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.menu-category-chip {
  background: var(--neutral-100);
  color: var(--neutral-700);
}

.sold-chip {
  background: var(--primary-50);
  color: var(--primary-700);
}

.stock-chip {
  display: inline-grid;
  grid-template-columns: 14px auto;
  justify-content: center;
  min-width: 48px;
  background: var(--success-50);
  color: var(--success-600);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stock-chip.warning {
  background: var(--warning-50);
  color: var(--warning-600);
}

.stock-chip.danger {
  background: var(--danger-50);
  color: var(--danger-600);
}

.sold-chip svg,
.stock-chip svg {
  display: block;
  width: 13px;
  height: 13px;
}

.stock-chip svg {
  width: 14px;
  height: 14px;
}

.staff-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 12px;
  margin-bottom: 12px;
}

.staff-role-panel,
.staff-access-panel {
  min-height: 226px;
}

.staff-role-grid,
.staff-access-list,
.staff-permission-list {
  display: grid;
  gap: 10px;
}

.staff-role-card,
.staff-access-card,
.staff-permission-card {
  display: grid;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  background: var(--neutral-50);
}

.staff-role-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 11px;
}

.staff-role-card > span:last-child {
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 900;
}

.staff-role-card strong,
.staff-role-card small {
  display: block;
}

.staff-role-card strong {
  color: var(--neutral-900);
  font-weight: 900;
}

.staff-role-card small {
  margin-top: 3px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.staff-role-icon,
.staff-avatar,
.staff-drawer-avatar {
  display: grid;
  place-items: center;
  place-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.staff-role-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--neutral-0);
  color: var(--primary-700);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.staff-role-icon svg,
.staff-avatar svg,
.staff-drawer-avatar svg {
  display: block;
}

.staff-role-icon svg {
  width: 17px;
  height: 17px;
}

.staff-access-card {
  grid-template-columns: auto minmax(0, 1fr);
  padding: 11px;
}

.staff-access-card > svg {
  width: 18px;
  height: 18px;
  color: var(--primary-700);
}

.staff-access-card strong,
.staff-access-card span {
  display: block;
}

.staff-access-card strong {
  color: var(--neutral-900);
  font-weight: 900;
}

.staff-access-card span {
  margin-top: 3px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.staff-table-wrap {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.staff-identity-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.staff-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  background: var(--neutral-50);
  color: var(--neutral-500);
}

.staff-avatar svg {
  width: 17px;
  height: 17px;
}

.staff-identity-cell strong,
.staff-identity-cell span {
  display: block;
  min-width: 0;
}

.staff-identity-cell strong {
  overflow: hidden;
  color: var(--neutral-900);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.staff-identity-cell span {
  margin-top: 4px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.staff-role-chip,
.staff-shift-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.staff-role-chip.cashier {
  background: var(--primary-50);
  color: var(--primary-700);
}

.staff-role-chip.manager {
  background: var(--info-50);
  color: var(--info-600);
}

.staff-role-chip.admin {
  background: var(--neutral-900);
  color: var(--neutral-0);
}

.staff-shift-pill {
  background: var(--neutral-100);
  color: var(--neutral-700);
}

.staff-shift-pill svg {
  width: 13px;
  height: 13px;
}

.align-right {
  text-align: right;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
}

.badge.paid,
.badge.active {
  background: var(--success-50);
  color: var(--success-600);
}

.badge.pending {
  background: var(--warning-50);
  color: var(--warning-600);
}

.badge.inactive {
  background: var(--neutral-100);
  color: var(--neutral-500);
}

.badge.danger,
.badge.void {
  background: var(--danger-50);
  color: var(--danger-600);
}

.customer-note-list {
  margin-top: 10px;
}

.customer-note-empty {
  margin: 4px 0 0;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 600;
}

.desktop-drawer {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: min(430px, calc(100% - 36px));
  overflow-y: auto;
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  background: var(--neutral-0);
  box-shadow: var(--shadow-pop);
}

.order-drawer-header h2 {
  margin: 4px 0 0;
}

.customer-drawer-header h2 {
  margin: 4px 0 0;
}

.menu-drawer-header h2 {
  margin: 4px 0 0;
}

.order-drawer-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(135deg, var(--neutral-900), rgba(30, 41, 59, 0.96)),
    var(--neutral-900);
  color: var(--neutral-0);
}

.order-drawer-hero h3 {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1;
}

.order-drawer-hero p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.customer-drawer-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(135deg, var(--neutral-900), rgba(30, 41, 59, 0.96)),
    var(--neutral-900);
  color: var(--neutral-0);
}

.customer-drawer-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  place-content: center;
  flex: 0 0 auto;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: var(--neutral-0);
  font-size: 16px;
  font-weight: 900;
  line-height: 0;
}

.customer-drawer-avatar svg {
  display: block;
  width: 24px;
  height: 24px;
}

.customer-drawer-hero h3 {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1;
}

.customer-drawer-hero p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.customer-insight-card {
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 14px;
  background: var(--primary-50);
  padding: 12px;
}

.customer-insight-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-700);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-insight-card span svg {
  width: 14px;
  height: 14px;
}

.customer-insight-card strong {
  display: block;
  margin-top: 8px;
  color: var(--neutral-900);
  font-size: 14px;
  font-weight: 900;
}

.customer-insight-card p {
  margin: 6px 0 0;
  color: var(--neutral-700);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.menu-drawer-hero {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  background:
    linear-gradient(135deg, var(--neutral-900), rgba(30, 41, 59, 0.96)),
    var(--neutral-900);
  color: var(--neutral-0);
}

.menu-drawer-hero img {
  width: 118px;
  height: 92px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
}

.menu-drawer-hero h3 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1;
}

.menu-drawer-hero p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.menu-performance-card {
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  background: var(--info-50);
  padding: 12px;
}

.menu-performance-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--info-600);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-performance-card span svg {
  width: 14px;
  height: 14px;
}

.menu-performance-card strong {
  display: block;
  margin-top: 8px;
  color: var(--neutral-900);
  font-size: 14px;
  font-weight: 900;
}

.menu-progress {
  height: 8px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
}

.menu-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--info-600);
}

.menu-performance-card p {
  margin: 8px 0 0;
  color: var(--neutral-700);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.staff-drawer-header h2 {
  margin: 4px 0 0;
}

.staff-drawer-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(135deg, var(--neutral-900), rgba(30, 41, 59, 0.96)),
    var(--neutral-900);
  color: var(--neutral-0);
}

.staff-drawer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: var(--neutral-0);
}

.staff-drawer-avatar svg {
  width: 24px;
  height: 24px;
}

.staff-drawer-hero h3 {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1;
}

.staff-drawer-hero p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.staff-performance-card {
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  background: var(--info-50);
  padding: 12px;
}

.staff-performance-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--info-600);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-performance-card span svg {
  width: 14px;
  height: 14px;
}

.staff-performance-card strong {
  display: block;
  margin-top: 8px;
  color: var(--neutral-900);
  font-size: 14px;
  font-weight: 900;
}

.staff-performance-card p {
  margin: 6px 0 0;
  color: var(--neutral-700);
  font-size: 12px;
  font-weight: 800;
}

.staff-permission-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 10px;
}

.staff-permission-card > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: var(--neutral-0);
  color: var(--neutral-500);
}

.staff-permission-card.checked {
  border-color: rgba(5, 150, 105, 0.2);
  background: var(--success-50);
}

.staff-permission-card.checked > span {
  color: var(--success-600);
}

.staff-permission-card svg {
  width: 14px;
  height: 14px;
}

.staff-permission-card strong,
.staff-permission-card small {
  display: block;
}

.staff-permission-card strong {
  color: var(--neutral-900);
  font-size: 13px;
  font-weight: 900;
}

.staff-permission-card small {
  margin-top: 3px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.staff-permission-card input {
  width: 16px;
  height: 16px;
  accent-color: var(--success-600);
}

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

.drawer-meta-grid div {
  min-width: 0;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  background: var(--neutral-50);
  padding: 10px;
}

.drawer-meta-grid span,
.drawer-meta-grid strong {
  display: block;
}

.drawer-meta-grid span {
  color: var(--neutral-500);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.drawer-meta-grid strong {
  margin-top: 5px;
  overflow: hidden;
  color: var(--neutral-900);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}

.drawer-item-list {
  display: grid;
  gap: 8px;
}

.drawer-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  background: var(--neutral-50);
}

.drawer-item-card strong,
.drawer-item-card span {
  display: block;
}

.drawer-item-card strong {
  color: var(--neutral-900);
  font-size: 12px;
  font-weight: 900;
}

.drawer-item-card span {
  margin-top: 4px;
  color: var(--neutral-500);
  font-size: 10px;
  font-weight: 800;
}

.drawer-item-card > strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

.order-drawer-total {
  margin-top: 12px;
  border-top: 1px solid var(--neutral-200);
  padding-top: 12px;
  color: var(--neutral-900);
  font-size: 15px;
}

.drawer-actions {
  display: flex;
  gap: 8px;
}

.drawer-section {
  padding: 14px 16px;
  border-bottom: 1px solid var(--neutral-100);
}

.drawer-section:last-child {
  border-bottom: 0;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

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

.settings-grid .panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.settings-grid.single-result .panel,
.settings-empty-state {
  grid-column: 1 / -1;
}

.settings-grid.single-result .settings-profile-panel {
  grid-row: auto;
}

.settings-empty-state {
  min-height: 176px;
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  background: var(--neutral-0);
}

.settings-profile-panel {
  grid-row: span 2;
}

.settings-profile-panel .form-grid {
  grid-template-columns: 1fr;
}

.settings-brand-card,
.settings-policy-card,
.settings-toggle-row,
.settings-health-card {
  display: grid;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--neutral-100);
  border-radius: 14px;
  background: var(--neutral-50);
  padding: 12px;
}

.settings-brand-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.settings-brand-card strong,
.settings-brand-card p {
  display: block;
}

.settings-brand-card strong {
  color: var(--neutral-900);
  font-size: 15px;
  font-weight: 900;
}

.settings-brand-card p {
  margin: 4px 0 0;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 800;
}

.settings-policy-card {
  grid-template-columns: auto minmax(0, 1fr);
  border-color: rgba(217, 119, 6, 0.16);
  background: var(--warning-50);
}

.settings-policy-card > svg {
  width: 19px;
  height: 19px;
  color: var(--warning-600);
}

.settings-policy-card strong,
.settings-policy-card span {
  display: block;
}

.settings-policy-card strong {
  color: var(--neutral-900);
  font-weight: 900;
}

.settings-policy-card span {
  margin-top: 3px;
  color: var(--neutral-700);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.settings-toggle-list,
.settings-audit-list {
  display: grid;
  gap: 10px;
}

.settings-toggle-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.settings-toggle-row.active {
  border-color: rgba(5, 150, 105, 0.2);
  background: var(--success-50);
}

.settings-toggle-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--neutral-0);
  color: var(--primary-700);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.settings-toggle-icon svg {
  width: 17px;
  height: 17px;
}

.settings-toggle-row strong,
.settings-toggle-row small {
  display: block;
}

.settings-toggle-row strong {
  color: var(--neutral-900);
  font-weight: 900;
}

.settings-toggle-row small {
  margin-top: 3px;
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.settings-toggle-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--success-600);
}

.settings-save-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  background: var(--info-50);
}

.settings-save-band strong,
.settings-save-band p {
  display: block;
}

.settings-save-band strong {
  margin-top: 4px;
  color: var(--neutral-900);
  font-size: 15px;
  font-weight: 900;
}

.settings-save-band p {
  margin: 5px 0 0;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 800;
}

.settings-save-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.settings-audit-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  background: var(--neutral-50);
  padding: 10px;
}

.settings-audit-list span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  grid-row: span 2;
  border-radius: 9px;
  background: var(--neutral-0);
  color: var(--primary-700);
}

.settings-audit-list span svg {
  width: 15px;
  height: 15px;
}

.settings-audit-list strong,
.settings-audit-list small {
  display: block;
}

.settings-audit-list strong {
  color: var(--neutral-900);
  font-size: 13px;
  font-weight: 900;
}

.settings-audit-list small {
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 800;
}

.settings-health-card {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 128px;
  border-color: rgba(5, 150, 105, 0.18);
  background: var(--success-50);
}

.settings-health-card > svg {
  width: 28px;
  height: 28px;
  color: var(--success-600);
}

.settings-health-card strong {
  display: block;
  color: var(--neutral-900);
  font-size: 15px;
  font-weight: 900;
}

.settings-health-card p {
  margin: 6px 0 0;
  color: var(--neutral-700);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.empty-state {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 180px;
  border: 1px dashed var(--neutral-300);
  border-radius: 14px;
  background: var(--neutral-0);
  color: var(--neutral-500);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.empty-state strong {
  color: var(--neutral-900);
  font-size: 14px;
  font-weight: 900;
}

.empty-state span {
  max-width: 360px;
  color: var(--neutral-500);
  font-size: 12px;
  line-height: 1.45;
}

.table-empty-state {
  min-height: 156px;
}

.toast-stack {
  position: fixed;
  right: 18px;
  top: 96px;
  z-index: 100;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}

.toast {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  background: var(--neutral-0);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 800;
}

.toast.success {
  border-color: rgba(5, 150, 105, 0.24);
}

.toast.danger {
  border-color: rgba(220, 38, 38, 0.24);
}

.toast svg {
  width: 18px;
  height: 18px;
}

.toast.success svg {
  color: var(--success-600);
}

.toast.danger svg {
  color: var(--danger-600);
}

