:root {
  --primary: #f97316;
  --primary-dark: #c2410c;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --background: #fff7ed;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 12px 30px rgba(124, 45, 18, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.page-shell--authenticated {
  display: block;
  min-height: auto;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.page-heading--actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(20px, calc((100vw - 1140px) / 2));
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.brand-block,
.user-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.tenant-name,
.user-block {
  color: var(--muted);
  font-size: 0.9rem;
}

.app-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px max(20px, calc((100vw - 1140px) / 2));
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.nav-link {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
}

.nav-link:hover,
.nav-link--active {
  background: #ffedd5;
  color: var(--primary-dark);
}

.auth-card {
  width: min(100%, 440px);
  padding: 34px;
}

.auth-card__heading,
.page-heading {
  margin-bottom: 26px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.1;
}

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

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.form-stack label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.form-stack input,
.form-stack textarea,
.form-stack select,
.qr-url-label input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  outline: none;
}

.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}

.button--large {
  min-height: 52px;
}

.button--small {
  min-height: 36px;
  padding: 8px 12px;
}

.button--primary {
  background: var(--primary);
  color: white;
}

.button--primary:hover {
  background: var(--primary-dark);
}

.button--secondary {
  background: #f3f4f6;
  color: var(--text);
}

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

.button--success {
  background: #dcfce7;
  color: #166534;
}

.button--warning {
  background: #fef3c7;
  color: #92400e;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.alert {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 12px;
  font-weight: 700;
}

.alert--danger {
  background: #fef2f2;
  color: var(--danger);
}

.alert--success {
  background: #f0fdf4;
  color: #166534;
}

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

.module-card {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.module-card__label {
  font-size: 1.2rem;
  font-weight: 800;
}

.module-card__action {
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.empty-state,
.error-card {
  max-width: 620px;
  padding: 36px;
  text-align: center;
}

.empty-state__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 16px;
  background: var(--primary);
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
}

.error-code {
  display: block;
  color: var(--primary);
  font-size: 3rem;
  font-weight: 900;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 20px;
  align-items: start;
}

.settings-aside {
  display: grid;
  gap: 20px;
}

.form-card,
.info-card {
  padding: 26px;
}

.form-card--narrow {
  max-width: 680px;
}

.logo-placeholder {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 18px;
  background: var(--primary);
  color: white;
  font-size: 1.8rem;
  font-weight: 900;
}

.small-text {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.status-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill--active {
  background: #dcfce7;
  color: #166534;
}

.status-pill--inactive {
  background: #f3f4f6;
  color: #4b5563;
}

.status-pill--warning {
  background: #fef3c7;
  color: #92400e;
}

.status-pill--hidden {
  background: #f3f4f6;
  color: #4b5563;
}

.status-pill--new {
  background: #ffedd5;
  color: #9a3412;
}

.status-pill--preparing {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-pill--ready {
  background: #dcfce7;
  color: #166534;
}

.status-pill--served {
  background: #ede9fe;
  color: #6d28d9;
}

.status-pill--completed,
.status-pill--empty,
.status-pill--payment,
.status-pill--payment-unpaid,
.status-pill--payment-pending,
.status-pill--payment-failed,
.status-pill--payment-refunded {
  background: #f3f4f6;
  color: #4b5563;
}

.status-pill--payment-paid {
  background: #dcfce7;
  color: #166534;
}

.status-pill--cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.status-pill--hold,
.status-pill--occupied {
  background: #fef3c7;
  color: #92400e;
}

.status-pill--updated {
  background: #cffafe;
  color: #0e7490;
}

.dashboard-metrics,
.kds-summary,
.kds-board,
.table-order-grid,
.table-detail-orders {
  display: grid;
  gap: 18px;
}

.dashboard-metrics {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 34px;
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 22px;
  align-content: center;
  border-top: 5px solid #fed7aa;
}

.metric-card span,
.metric-card small,
.kds-summary-card span,
.table-order-stats span {
  color: var(--muted);
  font-weight: 700;
}

.metric-card strong {
  color: var(--primary-dark);
  font-size: 2rem;
}

.metric-card--wide {
  grid-column: span 2;
}

.metric-card--new {
  border-top-color: #f97316;
}

.metric-card--preparing {
  border-top-color: #3b82f6;
}

.metric-card--ready {
  border-top-color: #22c55e;
}

.metric-card--served {
  border-top-color: #8b5cf6;
}

.metric-card--hold {
  border-top-color: #f59e0b;
}

.metric-card--warning {
  border-top-color: #f59e0b;
}

.metric-card--payment {
  border-top-color: #16a34a;
}

.metric-card--cancelled {
  border-top-color: #ef4444;
}

.metric-card__text {
  font-size: 1.25rem;
}

.dashboard-report-card {
  transition: transform 160ms ease, border-color 160ms ease;
}

.dashboard-report-card:hover {
  border-color: var(--success);
  transform: translateY(-3px);
}

.report-filter-card {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 20px;
}

.report-filter-form {
  grid-template-columns: minmax(220px, 280px) auto;
  align-items: end;
}

.report-filter-notice {
  color: var(--warning);
  font-weight: 700;
}

.report-metrics {
  margin-bottom: 30px;
}

.report-table-wrapper {
  overflow-x: auto;
  padding: 0;
}

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

.report-table th,
.report-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.report-table th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-table td:last-child,
.report-table th:last-child {
  text-align: right;
}

.report-table a {
  color: var(--primary-dark);
  font-weight: 800;
}

.kds-summary {
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  margin-bottom: 22px;
}

.kds-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
}

.kds-summary-card strong {
  color: var(--primary-dark);
  font-size: 1.7rem;
}

.kds-board {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  align-items: start;
}

.kds-order-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-top: 7px solid var(--border);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.kds-order-card--new {
  border-top-color: #f97316;
}

.kds-order-card--preparing {
  border-top-color: #3b82f6;
}

.kds-order-card--ready {
  border-top-color: #22c55e;
}

.kds-order-card--served {
  border-top-color: #8b5cf6;
}

.kds-order-card--cancelled {
  border-top-color: #ef4444;
  opacity: 0.72;
}

.kds-order-card--completed {
  border-top-color: #9ca3af;
  opacity: 0.72;
}

.kds-order-card--fresh {
  transform: translateY(-3px);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.22), var(--shadow);
}

.kds-order-card--hold {
  border-color: #f59e0b;
}

.kds-order-card--updating {
  opacity: 0.78;
}

.kds-order-card--updating .kds-order-actions {
  pointer-events: none;
}

.kds-order-card__header,
.kds-order-card__footer,
.kds-item__heading,
.table-order-card__header,
.table-detail-order__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.kds-order-card__header h2,
.table-order-card h2,
.table-detail-order h2 {
  margin-bottom: 5px;
}

.kds-order-time {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.kds-badges,
.table-order-badges,
.table-detail-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kds-badges {
  justify-content: flex-end;
}

.kds-hold-panel,
.kds-updated-panel,
.multi-order-panel {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fffbeb;
  color: #92400e;
}

.kds-updated-panel {
  border-left: 5px solid #60a5fa;
  background: #eff6ff;
  color: #1d4ed8;
}

.kds-order-actions {
  justify-content: flex-end;
  gap: 12px;
}

.kds-order-actions .button--danger {
  margin-left: 8px;
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.12);
}

.kds-item-list,
.table-detail-items {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kds-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.kds-item__heading {
  justify-content: flex-start;
}

.kds-item__quantity {
  min-width: 36px;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.kds-item__modifiers,
.kds-item__remark,
.kds-order-remark,
.order-note {
  margin: 5px 0 0 36px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.kds-item__remark,
.kds-order-remark,
.order-note {
  color: #92400e;
  font-weight: 700;
}

.kds-order-remark {
  margin-left: 0;
  padding: 12px;
  border-radius: 10px;
  background: #fff7ed;
}

.kds-order-card__footer {
  align-items: center;
}

.kds-order-total {
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.kds-empty {
  margin-top: 24px;
}

.table-order-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.operations-helper-card {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-left: 5px solid #fed7aa;
}

.operations-helper-card p {
  margin: 0;
  color: var(--muted);
}

.table-order-card,
.table-detail-order {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.table-order-card--warning {
  border-color: #f59e0b;
}

.table-order-badges {
  justify-content: flex-end;
}

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

.table-order-stats--wide {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.table-order-stats div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 12px;
  background: #fff7ed;
}

.latest-order-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.multi-order-panel {
  border-left: 5px solid var(--primary);
  background: #fff7ed;
}

.muted-panel--warning {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

.latest-order-panel time {
  margin-left: auto;
  font-size: 0.84rem;
}

.table-detail-summary {
  margin-bottom: 22px;
  padding: 18px;
}

.table-detail-summary {
  display: grid;
  gap: 10px;
}

.table-detail-summary p {
  margin: 0;
  color: var(--muted);
}

.table-detail-heading {
  margin-bottom: 16px;
}

.table-detail-order {
  max-width: 860px;
}

.table-detail-order--latest {
  border-color: #fed7aa;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.table-detail-multi-order {
  margin-bottom: 18px;
}

.table-detail-status-copy,
.table-detail-order__footer,
.table-detail-item__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.table-detail-status-copy {
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  color: var(--muted);
  font-size: 0.9rem;
}

.table-detail-payment-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
}

.table-detail-payment-card h3,
.table-detail-payment-card p {
  margin: 0;
}

.table-detail-payment-card h3 {
  color: var(--primary-dark);
}

.table-detail-payment-card p {
  color: var(--muted);
}

.table-detail-payment-form {
  padding-top: 4px;
}

.table-detail-correction-form {
  border-top: 1px solid #fed7aa;
  margin-top: 4px;
  padding-top: 16px;
}

.readonly-amount {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: white;
}

.readonly-amount span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.readonly-amount strong {
  color: var(--primary-dark);
  font-size: 1.15rem;
}

.table-detail-items li {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.table-detail-item__heading strong:last-child {
  white-space: nowrap;
}

.table-detail-modifiers {
  display: grid;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fffbeb;
}

.table-detail-modifiers div {
  display: grid;
  gap: 2px;
}

.table-detail-modifiers strong {
  color: var(--text);
  font-size: 0.86rem;
}

.table-detail-items span {
  color: var(--muted);
  font-size: 0.87rem;
}

.table-detail-items .order-note {
  margin: 0;
  color: #92400e;
}

.kds-item__heading strong:last-child,
.kds-item__modifiers,
.table-detail-item__heading strong:first-child,
.table-detail-modifiers span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.table-detail-total {
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.table-detail-order-note {
  margin-left: 0;
}

.table-detail-order__footer {
  align-items: center;
  flex-wrap: wrap;
}

.edit-warning {
  display: grid;
  gap: 5px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #f59e0b;
  border-radius: 12px;
  background: #fffbeb;
  color: #92400e;
}

.checkbox-row {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
  padding: 14px;
  border-radius: 12px;
}

.checkbox-row input {
  width: auto !important;
  margin-top: 3px;
}

.checkbox-row--warning {
  background: #fffbeb;
  color: #92400e;
}

.order-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
}

.order-edit-menu,
.order-edit-category {
  display: grid;
  gap: 18px;
}

.order-edit-category {
  margin-bottom: 24px;
}

.order-edit-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.order-edit-menu-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.order-edit-menu-card p {
  margin: 5px 0 0;
  font-size: 0.87rem;
}

.order-edit-menu-card > span {
  color: var(--primary-dark);
  font-weight: 900;
}

.order-edit-menu-card--sold-out {
  filter: grayscale(0.7);
  opacity: 0.65;
}

.order-edit-cart {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.section-stack,
.availability-list {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.setup-helper-card {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 5px solid #fed7aa;
}

.setup-helper-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.setup-helper-card li {
  line-height: 1.45;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.management-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.management-card,
.modifier-card,
.availability-card {
  padding: 24px;
  min-width: 0;
}

.item-image-placeholder {
  display: grid;
  width: 100%;
  min-height: 120px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: #ffedd5;
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 900;
}

.status-row,
.availability-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sort-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.price-text {
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.sold-out-note {
  padding: 9px 11px;
  border-radius: 10px;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.85rem;
  font-weight: 700;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.muted-panel--compact {
  margin: 8px 0;
  padding: 10px 12px;
  font-size: 0.84rem;
  line-height: 1.4;
}

.inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  min-width: 0;
}

.inline-form input {
  flex: 1;
  min-width: 140px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.inline-form--stack {
  align-items: stretch;
  flex-direction: column;
}

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

.muted-panel {
  padding: 16px;
  border: 1px dashed #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: var(--muted);
}

.muted-panel p {
  margin: 6px 0 0;
}

.modifier-card {
  display: grid;
  gap: 18px;
}

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

.option-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  min-width: 0;
}

.management-card h3,
.modifier-card h2,
.option-card h3,
.option-card h4,
.option-card h5,
.availability-card h2,
.availability-card h3,
.availability-card h4,
.availability-card h5 {
  overflow-wrap: anywhere;
}

.availability-helper-card {
  margin-bottom: 8px;
}

.availability-category {
  display: grid;
  gap: 16px;
}

.availability-category__heading {
  align-items: center;
  padding: 0 2px;
}

.availability-category__items {
  display: grid;
  gap: 18px;
}

.availability-status-stack {
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}

.availability-toggle-form {
  padding: 12px;
  border-radius: 14px;
  background: #fff7ed;
}

.availability-modifier-group {
  display: grid;
  gap: 12px;
}

.availability-modifier-group__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.availability-modifier-group__heading h4,
.availability-option-card h5 {
  margin-bottom: 4px;
}

.availability-options {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.table-grid {
  display: grid;
  gap: 22px;
}

.table-card {
  padding: 26px;
}

.table-card__header,
.qr-panel,
.button-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.table-card__header {
  justify-content: space-between;
}

.qr-panel {
  align-items: stretch;
  margin: 18px 0;
  padding: 18px;
  border-radius: 14px;
  background: #fff7ed;
}

.qr-image {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  background: white;
}

.qr-details {
  display: grid;
  flex: 1;
  gap: 14px;
  align-content: center;
  min-width: 0;
}

.qr-url-label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.qr-url-label input {
  padding: 11px 12px;
  color: var(--muted);
}

.button-row--wrap {
  flex-wrap: wrap;
}

.button-row--center {
  justify-content: center;
}

.public-entry-card {
  width: min(100%, 520px);
  padding: 36px;
  text-align: center;
}

.public-entry-card .logo-placeholder {
  margin-right: auto;
  margin-left: auto;
}

.table-code {
  color: var(--primary-dark);
  font-size: 1.15rem;
  font-weight: 800;
}

.page-shell--public-ordering {
  display: block;
  padding: 20px;
}

.customer-page {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.customer-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border: 1px solid #fed7aa;
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.18), transparent 32%),
    linear-gradient(135deg, #fff7ed 0%, #ffffff 62%);
}

.customer-hero__content {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.customer-hero__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.customer-hero__copy {
  display: grid;
  gap: 5px;
  max-width: 640px;
}

.customer-hero__copy p {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 800;
}

.customer-hero__copy span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.customer-hero__actions {
  flex: 0 0 auto;
}

.customer-hero h1,
.customer-hero p,
.customer-cart h2,
.customer-category h2 {
  margin-bottom: 0;
}

.logo-placeholder--compact {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 15px;
  font-size: 1.4rem;
}

.category-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 18px 0 22px;
  padding: 8px 4px 12px;
  border-radius: 18px;
  background: rgba(255, 247, 237, 0.92);
  backdrop-filter: blur(10px);
  scrollbar-width: thin;
}

.category-nav a {
  display: grid;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 118px;
  padding: 10px 15px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: white;
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(67, 20, 7, 0.06);
}

.category-nav a:hover,
.category-nav a:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
  outline: none;
}

.category-nav small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.customer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 22px;
  align-items: start;
}

.customer-menu,
.customer-category,
.cart-lines,
.modifier-selection-list {
  display: grid;
  gap: 18px;
}

.customer-category {
  scroll-margin-top: 92px;
}

.customer-category__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 2px;
}

.customer-category__heading p {
  max-width: 420px;
  margin-bottom: 0;
  text-align: right;
}

.customer-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.customer-item-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(254, 215, 170, 0.82);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.customer-item-card:hover {
  transform: translateY(-2px);
  border-color: #fdba74;
  box-shadow: 0 18px 40px rgba(67, 20, 7, 0.1);
}

.customer-item-card--sold-out {
  opacity: 0.76;
}

.customer-item-card--sold-out .customer-item-media,
.customer-item-card--sold-out .customer-item-card__body {
  filter: grayscale(0.45);
}

.customer-item-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #fff7ed;
}

.customer-item-image {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border-radius: 0;
  place-items: center;
}

.customer-item-image--photo {
  object-fit: cover;
}

.customer-item-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.94);
  color: white;
  font-size: 0.74rem;
  font-weight: 900;
}

.customer-item-card__body {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px 18px 16px;
}

.customer-item-card__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.customer-item-card__category {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.customer-item-card__body h3,
.customer-item-card__body p {
  margin-bottom: 0;
}

.customer-item-card__body h3 {
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.customer-item-card__body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.customer-item-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.customer-item-price {
  display: grid;
  gap: 2px;
}

.customer-item-price span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.customer-item-card__footer strong,
.dialog-price {
  color: var(--primary-dark);
}

.customer-empty-state {
  max-width: none;
}

.customer-cart {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.customer-cart__heading,
.cart-line__heading,
.cart-line__actions,
.cart-total-row,
.modifier-fieldset__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-empty {
  padding: 26px 16px;
  border: 1px dashed #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
  text-align: center;
}

.cart-empty p {
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 800;
}

.cart-empty span,
.cart-line__summary,
.cart-line__remark {
  color: var(--muted);
  font-size: 0.84rem;
}

.cart-line {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.cart-line__price {
  color: var(--primary-dark);
}

.cart-line__summary,
.cart-line__remark {
  margin-bottom: 0;
  line-height: 1.45;
}

.cart-line__remark {
  color: #92400e;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.quantity-button,
.cart-text-button,
.dialog-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.quantity-button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ffedd5;
  color: var(--primary-dark);
}

.cart-text-button {
  color: var(--primary-dark);
}

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

.quantity-button:disabled,
.cart-text-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.cart-remark,
.dialog-field {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.cart-remark textarea,
.dialog-field textarea,
.dialog-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  resize: vertical;
}

.cart-total-row {
  padding-top: 4px;
}

.cart-total-row--grand {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.item-dialog {
  width: min(calc(100% - 28px), 620px);
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(67, 20, 7, 0.25);
}

.item-dialog::backdrop {
  background: rgba(17, 24, 39, 0.55);
}

.item-dialog__shell {
  display: grid;
  gap: 18px;
  max-height: calc(100vh - 32px);
  padding: 26px;
  overflow-y: auto;
}

.item-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dialog-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 1.5rem;
}

.dialog-price {
  font-size: 1.2rem;
}

.modifier-fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fffdfb;
}

.modifier-fieldset legend {
  padding: 0;
  font-weight: 900;
}

.modifier-requirement {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.modifier-choices {
  display: grid;
  gap: 9px;
}

.modifier-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff7ed;
  cursor: pointer;
}

.modifier-choice:has(input:checked) {
  border-color: var(--primary);
  background: #ffedd5;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.modifier-choice--sold-out {
  background: #f9fafb;
  cursor: not-allowed;
  opacity: 0.55;
}

.modifier-choice__name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.modifier-choice__price {
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.dialog-field--quantity {
  max-width: 130px;
}

.order-success-card {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 38px;
  text-align: center;
}

.order-success-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  font-size: 2rem;
  font-weight: 900;
}

.order-number {
  display: grid;
  gap: 6px;
  margin: 24px 0 16px;
  padding: 18px;
  border-radius: 14px;
  background: #fff7ed;
}

.order-number span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.order-number strong {
  color: var(--primary-dark);
  font-size: 1.35rem;
}

.success-guidance {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7ed;
  color: var(--muted);
}

.success-guidance p {
  margin: 0;
}

.success-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--muted);
}

.success-summary strong {
  color: var(--text);
}

.customer-order-status-page {
  display: grid;
  width: min(100%, 760px);
  gap: 18px;
  margin: 0 auto;
}

.customer-status-hero,
.customer-status-card,
.customer-status-footer,
.customer-order-summary {
  padding: 24px;
}

.customer-status-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}

.customer-status-hero h1,
.customer-status-card h2,
.customer-order-summary h2 {
  margin-bottom: 4px;
}

.customer-status-card {
  display: grid;
  gap: 16px;
  border-top: 7px solid #f97316;
}

.customer-status-card--preparing {
  border-top-color: #3b82f6;
}

.customer-status-card--ready,
.customer-status-card--served,
.customer-status-card--completed {
  border-top-color: #22c55e;
}

.customer-status-card--cancelled {
  border-top-color: #ef4444;
}

.customer-status-card--hold {
  border-top-color: #f59e0b;
}

.customer-status-timeline-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.customer-status-timeline-card__heading h2 {
  margin-bottom: 0;
}

.customer-status-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-status-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.customer-status-step__dot {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #fed7aa;
  border-radius: 999px;
  background: white;
}

.customer-status-step--complete {
  color: #166534;
}

.customer-status-step--complete .customer-status-step__dot {
  border-color: #16a34a;
  background: #dcfce7;
}

.customer-status-step--complete .customer-status-step__dot::after {
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.customer-status-step--current {
  color: var(--primary-dark);
}

.customer-status-step--current .customer-status-step__dot {
  border-color: var(--primary);
  background: #ffedd5;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.customer-status-card__body,
.customer-status-meta,
.customer-order-summary__heading,
.customer-order-item__heading,
.customer-order-total,
.customer-order-modifier-group li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.customer-status-card__body {
  align-items: flex-start;
}

.customer-status-meta {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.customer-order-summary {
  display: grid;
  gap: 18px;
}

.customer-order-summary__heading,
.customer-order-total {
  align-items: center;
}

.customer-order-summary__heading strong,
.customer-order-total strong {
  color: var(--primary-dark);
}

.customer-order-items {
  display: grid;
  gap: 14px;
}

.customer-order-item {
  display: grid;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.customer-order-item__heading span,
.customer-order-modifier-group,
.customer-order-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.customer-order-modifiers {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #fff7ed;
}

.customer-order-modifier-group > span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 800;
}

.customer-order-modifier-group ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-order-note {
  margin: 0;
  color: #92400e;
  font-weight: 700;
}

.customer-order-total {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.customer-status-footer {
  display: grid;
  gap: 6px;
  color: var(--muted);
  text-align: center;
}

.customer-status-footer p {
  margin: 0;
}

.print-summary-shell {
  width: min(100%, 720px);
  margin: 0 auto;
}

.print-summary-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.print-summary-card {
  display: grid;
  gap: 22px;
  padding: 30px;
  background: white;
}

.print-summary-header {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.print-summary-header h1,
.print-summary-header p {
  margin: 0;
}

.print-summary-header p {
  color: var(--muted);
  font-weight: 700;
}

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

.print-summary-info div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #fff7ed;
}

.print-summary-info span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.print-summary-notice,
.print-summary-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.print-summary-notice {
  background: #fef3c7;
  color: #92400e;
}

.print-summary-note {
  background: #fff7ed;
  color: #92400e;
}

.print-summary-items {
  display: grid;
  gap: 16px;
}

.print-summary-item {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.print-summary-item__heading,
.print-summary-modifier-group li,
.print-summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.print-summary-item__heading {
  align-items: flex-start;
}

.print-summary-item__heading div {
  display: grid;
  gap: 4px;
}

.print-summary-item__heading span,
.print-summary-modifier-group,
.print-summary-footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.print-summary-modifiers {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #fff7ed;
}

.print-summary-modifier-group > span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 800;
}

.print-summary-modifier-group ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.print-summary-total {
  align-items: center;
  padding-top: 18px;
  border-top: 2px solid var(--text);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 900;
}

.print-summary-footer {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.print-summary-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .app-header,
  .user-block {
    align-items: flex-start;
  }

  .app-header {
    flex-direction: column;
  }

  .brand-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .user-block {
    width: 100%;
    justify-content: space-between;
  }

  .auth-card {
    padding: 26px 22px;
  }

  .page-heading--actions,
  .qr-panel {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .report-filter-form {
    grid-template-columns: 1fr;
  }

  .inline-form,
  .availability-card__heading,
  .availability-category__heading,
  .availability-modifier-group__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .setup-helper-card {
    margin-top: 16px;
    padding: 16px;
  }

  .management-card .button-row,
  .modifier-card .button-row,
  .availability-card .button-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .management-card .button-row .button,
  .modifier-card .button-row .button,
  .availability-card .button-row .button,
  .availability-card .inline-form .button,
  .availability-toggle-form .button {
    width: 100%;
  }

  .availability-status-stack {
    justify-items: start;
    text-align: left;
  }

  .inline-form input,
  .availability-toggle-form input {
    min-width: 0;
    width: 100%;
  }

  .qr-image {
    align-self: center;
  }

  .metric-card--wide {
    grid-column: span 1;
  }

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

  .table-order-grid,
  .kds-board {
    grid-template-columns: 1fr;
  }

  .table-order-stats,
  .table-order-stats--wide {
    grid-template-columns: 1fr;
  }

  .kds-order-card__header,
  .kds-order-card__footer,
  .table-order-card__header,
  .table-detail-order__header,
  .table-detail-status-copy,
  .table-detail-order__footer,
  .table-detail-item__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .kds-badges,
  .table-order-badges {
    justify-content: flex-start;
  }

  .table-detail-item__heading strong:last-child {
    white-space: normal;
  }

  .kds-order-card__footer .button-row,
  .kds-order-card__footer .button,
  .table-detail-order__footer .button-row,
  .table-detail-order__footer .button {
    width: 100%;
  }

  .kds-order-actions .button--danger {
    margin-top: 8px;
    margin-left: 0;
  }

  .latest-order-panel time {
    width: 100%;
    margin-left: 0;
  }

  .order-edit-layout {
    grid-template-columns: 1fr;
  }

  .order-edit-cart {
    position: static;
  }

  .page-shell--public-ordering {
    padding: 12px;
  }

  .customer-hero,
  .customer-hero__content,
  .customer-hero__brand,
  .customer-category__heading,
  .customer-item-card__title,
  .customer-item-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-hero {
    padding: 22px;
  }

  .customer-hero__brand {
    gap: 12px;
  }

  .customer-hero__copy {
    max-width: none;
  }

  .customer-hero .button,
  .customer-hero__actions {
    width: 100%;
  }

  .category-nav {
    margin-right: -4px;
    margin-left: -4px;
    border-radius: 14px;
  }

  .customer-category__heading p {
    text-align: left;
  }

  .customer-item-grid {
    grid-template-columns: 1fr;
  }

  .customer-item-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .customer-item-card__footer .button {
    width: 100%;
  }

  .customer-item-price {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 8px;
  }

  .cart-line__actions {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .item-dialog__shell {
    padding: 22px 18px;
  }

  .modifier-fieldset__heading,
  .modifier-choice {
    align-items: stretch;
  }

  .modifier-choice {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .modifier-choice__price {
    grid-column: 2;
    justify-self: start;
  }

  .success-summary {
    flex-direction: column;
  }

  .customer-status-hero,
  .customer-status-card__body,
  .customer-order-summary__heading,
  .customer-order-item__heading,
  .customer-order-total,
  .customer-order-modifier-group li {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-order-status-page .button,
  .order-success-card .button {
    width: 100%;
  }

  .print-summary-actions,
  .print-summary-item__heading,
  .print-summary-modifier-group li,
  .print-summary-total {
    align-items: stretch;
    flex-direction: column;
  }

  .print-summary-actions .button {
    width: 100%;
  }

  .print-summary-card {
    padding: 22px;
  }

  .print-summary-info {
    grid-template-columns: 1fr;
  }
}

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

  .customer-cart {
    position: static;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  body {
    background: white;
    color: #111827;
  }

  .no-print,
  .app-header,
  .alert {
    display: none !important;
  }

  .page-shell,
  .page-shell--authenticated,
  .page-shell--public-ordering {
    display: block;
    min-height: 0;
    max-width: none;
    padding: 0;
  }

  .print-summary-shell {
    width: 76mm;
    margin: 0 auto;
  }

  .print-summary-card {
    gap: 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .print-summary-header,
  .print-summary-footer,
  .print-summary-item,
  .print-summary-total {
    break-inside: avoid;
  }

  .print-summary-info {
    grid-template-columns: 1fr;
  }

  .print-summary-info div,
  .print-summary-modifiers,
  .print-summary-note,
  .print-summary-notice {
    background: white;
    border: 1px solid #e5e7eb;
  }

  .print-summary-item__heading,
  .print-summary-modifier-group li,
  .print-summary-total {
    gap: 8px;
  }
}
