:root {
  color-scheme: light;
  --ink: #3f2d2e;
  --muted: #7e6264;
  --paper: #fffaf6;
  --cream: #fff2e8;
  --rose: #ef6b82;
  --rose-dark: #c94661;
  --coral: #ff9d7e;
  --mint: #b7dfcf;
  --sky: #b9d9ef;
  --butter: #ffe08a;
  --line: #f1d4cd;
  --shadow: 0 18px 50px rgba(132, 69, 74, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 246, 240, 0.96), rgba(247, 252, 248, 0.92)),
    repeating-linear-gradient(90deg, rgba(239, 107, 130, 0.05) 0 1px, transparent 1px 64px);
}

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

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

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.app-shell {
  width: calc(100% - 32px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 16px;
  justify-content: space-between;
  padding: 12px;
  margin-bottom: 22px;
  background: rgba(255, 250, 246, 0.86);
  border: 1px solid rgba(241, 212, 205, 0.88);
  box-shadow: 0 10px 35px rgba(129, 78, 83, 0.08);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brand,
.user-chip,
.nav-links {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand {
  gap: 10px;
  min-width: 180px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--rose);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(239, 107, 130, 0.24);
}

.chef-mark {
  position: relative;
}

.chef-mark::before {
  content: "";
  width: 24px;
  height: 15px;
  border-radius: 8px 8px 5px 5px;
  background: white;
  transform: translateY(6px);
}

.chef-mark::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  box-shadow:
    8px -5px 0 white,
    16px 0 0 white;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  gap: 8px;
  padding: 4px;
  flex: 1;
  justify-content: center;
  background: #fff4ed;
  border: 1px solid #f4d7d0;
}

.nav-links a {
  min-width: 0;
  padding: 9px 14px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.nav-links a.active {
  background: white;
  color: var(--rose-dark);
  box-shadow: 0 8px 18px rgba(117, 70, 75, 0.08);
}

.user-chip {
  gap: 10px;
  flex-shrink: 0;
  color: var(--muted);
}

.icon-button,
.primary-button,
.secondary-button,
.ghost-button,
.logout-button {
  border: 0;
  border-radius: 8px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.icon-button {
  width: 40px;
  padding: 0;
  background: #fff;
  color: var(--rose-dark);
  border: 1px solid var(--line);
}

.logout-button {
  padding: 0 14px;
  background: white;
  color: var(--rose-dark);
  border: 1px solid var(--line);
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  padding: 0 18px;
  background: var(--rose);
  color: white;
  box-shadow: 0 12px 24px rgba(239, 107, 130, 0.25);
  border: 1px solid transparent;
}

.secondary-button {
  padding: 0 16px;
  background: white;
  color: var(--rose-dark);
  border: 1px solid var(--line);
}

.ghost-button {
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.danger {
  color: #b43d52;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover,
.logout-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(120, 71, 77, 0.12);
}

.full {
  width: 100%;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(340px, 520px);
}

.login-visual {
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255, 224, 138, 0.34), transparent 42%),
    linear-gradient(315deg, rgba(183, 223, 207, 0.45), transparent 45%),
    #fff6ef;
}

.login-kitchen {
  width: min(460px, 90vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
}

.plate-scene {
  width: min(400px, 86vw);
  aspect-ratio: 1;
  position: relative;
}

.plate {
  position: absolute;
  bottom: 96px;
  width: 172px;
  height: 132px;
  border-radius: 8px 8px 70px 70px;
  background: linear-gradient(180deg, #fffdf8, #ffe9de);
  box-shadow: 0 20px 45px rgba(132, 69, 74, 0.14);
}

.plate-left {
  left: 34px;
  transform: rotate(-5deg);
}

.plate-right {
  right: 34px;
  transform: rotate(5deg);
}

.plate::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(239, 107, 130, 0.12);
}

.bowl {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 36px;
  height: 64px;
  border-radius: 8px 8px 48px 48px;
  background: linear-gradient(180deg, #ffb08f, #ef6b82);
}

.bowl::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.steam-line {
  position: absolute;
  top: -26px;
  width: 14px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.steam-line.one {
  left: 66px;
  transform: rotate(11deg);
}

.steam-line.two {
  right: 66px;
  transform: rotate(-10deg);
  background: rgba(185, 217, 239, 0.7);
}

.shared-heart {
  position: absolute;
  left: 50%;
  top: 132px;
  width: 34px;
  height: 34px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--rose);
  box-shadow: 0 12px 28px rgba(239, 107, 130, 0.24);
}

.shared-heart::before,
.shared-heart::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rose);
}

.shared-heart::before {
  left: -17px;
}

.shared-heart::after {
  top: -17px;
}

.scene-sparkle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: rgba(255, 224, 138, 0.9);
  transform: rotate(45deg);
}

.scene-sparkle.s1 {
  left: 42px;
  top: 96px;
}

.scene-sparkle.s2 {
  right: 58px;
  top: 82px;
  background: rgba(183, 223, 207, 0.9);
}

.scene-sparkle.s3 {
  left: 50%;
  bottom: 52px;
  width: 16px;
  height: 16px;
  background: rgba(185, 217, 239, 0.9);
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(255, 250, 246, 0.96);
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--rose-dark);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

h2 {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p,
span,
strong,
em,
time,
a {
  min-width: 0;
}

.soft-copy,
.tiny-copy {
  color: var(--muted);
}

.tiny-copy {
  font-size: 13px;
  line-height: 1.7;
}

code {
  padding: 2px 5px;
  border-radius: 6px;
  background: #fff2e8;
  color: var(--rose-dark);
}

.form-stack,
.manager-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(239, 107, 130, 0.12);
}

.ribbon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: #f7fbf4;
  border: 1px solid #d5eadc;
  color: #496f5b;
}

.ribbon span {
  color: var(--rose);
}

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-width: 0;
  gap: 16px;
  margin: 30px 0 22px;
}

.page-heading h1 {
  margin-bottom: 0;
}

.heading-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.category-tab {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-weight: 800;
}

.category-tab.active {
  background: var(--rose);
  border-color: var(--rose);
  color: white;
  box-shadow: 0 10px 22px rgba(239, 107, 130, 0.18);
}

.dish-card,
.cart-item,
.cart-summary,
.order-card,
.stat-card,
.manager-form,
.admin-dish-row,
.empty-state,
.success-panel {
  border: 1px solid rgba(241, 212, 205, 0.9);
  border-radius: 8px;
  background: rgba(255, 250, 246, 0.94);
  box-shadow: var(--shadow);
}

.dish-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.dish-link {
  display: grid;
  color: inherit;
}

.dish-image-wrap {
  aspect-ratio: 4 / 3;
  position: relative;
  background: #fff2e8;
  overflow: hidden;
}

.dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticker {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: white;
  color: var(--rose);
  box-shadow: 0 8px 20px rgba(107, 69, 73, 0.12);
}

.dish-body {
  padding: 16px;
}

.dish-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  min-width: 0;
  gap: 10px;
}

.dish-title-row h2 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
}

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

.price-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  color: #805423;
  background: #fff0bf;
  white-space: nowrap;
  font-weight: 800;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 9px;
  border-radius: 8px;
  background: #eef8f3;
  color: #4e745e;
  font-size: 13px;
  font-weight: 800;
}

.ingredient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ingredient-list span {
  padding: 6px 8px;
  border-radius: 8px;
  background: #eef8f3;
  color: #4e745e;
  font-size: 13px;
}

.card-button {
  margin: 0 16px 16px;
}

.dish-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 28px;
}

.dish-detail-image,
.dish-detail-body {
  border: 1px solid rgba(241, 212, 205, 0.9);
  border-radius: 8px;
  background: rgba(255, 250, 246, 0.94);
  box-shadow: var(--shadow);
}

.dish-detail-image {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.dish-detail-body {
  padding: 24px;
}

.dish-detail-body h1 {
  margin-top: 16px;
}

.dish-detail-body p {
  margin: 18px 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-price {
  margin: 0 0 8px;
}

.detail-section {
  margin: 22px 0;
}

.detail-section h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.back-link {
  width: fit-content;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: start;
}

.cart-list,
.order-list,
.admin-dish-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.cart-item img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
}

.cart-item h2,
.cart-item p {
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.cart-item p {
  color: var(--muted);
}

.stepper {
  display: grid;
  grid-template-columns: 40px 36px 40px;
  align-items: center;
  justify-items: center;
}

.cart-summary {
  padding: 18px;
  position: sticky;
  top: 98px;
}

.cart-summary h2 {
  font-size: 28px;
  line-height: 1.2;
}

.empty-state,
.success-panel {
  padding: 42px;
  text-align: center;
}

.empty-state.slim {
  padding: 28px;
}

.success-panel {
  max-width: 760px;
  margin: 52px auto;
}

.success-heart {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--rose);
  color: white;
  font-size: 42px;
  box-shadow: 0 16px 36px rgba(239, 107, 130, 0.24);
}

.success-total {
  color: var(--muted);
  font-size: 20px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

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

.stat-card {
  padding: 18px;
  min-width: 0;
}

.stat-card span {
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 14px;
}

.section-title h2 {
  margin: 0;
}

.section-title a {
  color: var(--rose-dark);
  font-weight: 800;
}

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

.order-topline {
  display: flex;
  min-width: 0;
  gap: 14px;
  justify-content: space-between;
}

.order-status-panel {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 360px;
}

.order-status-panel.readonly {
  min-width: 140px;
}

.status-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.order-id,
.order-topline time,
.order-items span,
.order-card footer span {
  color: var(--muted);
}

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

.status-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 8px;
}

.status-button {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.status-button.pending.active {
  background: #fff5d8;
  border-color: #f0c46f;
  color: #6d4e11;
}

.status-button.cooking.active {
  background: #eaf6ff;
  border-color: #9bc8ed;
  color: #285b7e;
}

.status-button.done.active {
  background: #e9f7ee;
  border-color: #9bd4ae;
  color: #2f6c43;
}

.status-button.rejected.active {
  background: #ffecef;
  border-color: #f4a8b4;
  color: #9b3145;
}

.status-badge {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.status-badge.pending {
  background: #fff5d8;
  border-color: #f0c46f;
  color: #6d4e11;
}

.status-badge.cooking {
  background: #eaf6ff;
  border-color: #9bc8ed;
  color: #285b7e;
}

.status-badge.done {
  background: #e9f7ee;
  border-color: #9bd4ae;
  color: #2f6c43;
}

.status-badge.rejected {
  background: #ffecef;
  border-color: #f4a8b4;
  color: #9b3145;
}

.order-items {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.order-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fff6f1;
}

.order-item-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.order-item-row strong,
.order-item-row span,
.order-item-row em {
  overflow-wrap: anywhere;
}

.order-items em {
  color: var(--rose-dark);
  font-style: normal;
  font-weight: 800;
}

.item-status-button,
.item-status-badge {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.item-status-button {
  background: white;
  color: var(--muted);
}

.item-status-button.pending,
.item-status-badge.pending {
  background: #fff5d8;
  border-color: #f0c46f;
  color: #6d4e11;
}

.item-status-button.done,
.item-status-badge.done {
  background: #e9f7ee;
  border-color: #9bd4ae;
  color: #2f6c43;
}

.order-card footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.manager-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 18px;
  align-items: start;
}

.manager-form {
  padding: 18px;
  position: sticky;
  top: 98px;
}

.form-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.form-title h2 {
  margin: 0;
}

.file-input {
  background: #fff8f4;
}

.form-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
}

.split-fields {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch-row input {
  width: 18px;
  height: 18px;
}

.admin-dish-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.admin-dish-row img {
  width: 108px;
  aspect-ratio: 1;
  object-fit: cover;
}

.admin-dish-row h2 {
  margin-bottom: 6px;
}

.admin-dish-row p {
  color: var(--muted);
  margin-bottom: 6px;
}

.admin-dish-row span {
  color: var(--rose-dark);
  font-weight: 800;
}

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

.mini-switch {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8f4;
  color: var(--muted);
  font-weight: 800;
}

.mini-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 8px;
  background: #3f2d2e;
  color: white;
  box-shadow: 0 16px 36px rgba(63, 45, 46, 0.2);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 920px) {
  .login-page,
  .cart-layout,
  .manager-layout,
  .dish-detail {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 38vh;
  }

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

  .cart-summary,
  .manager-form {
    position: static;
  }

  .dish-detail-image {
    min-height: 320px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 680px) {
  .app-shell {
    width: calc(100% - 20px);
    padding-top: 8px;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    top: 8px;
    margin-bottom: 18px;
  }

  .page-heading,
  .order-topline {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 20px;
    line-height: 1.15;
  }

  .brand small {
    font-size: 13px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 4px;
    padding: 4px;
    border-radius: 8px;
  }

  .nav-links a {
    min-height: 38px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 16px;
  }

  .user-chip {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .user-chip span {
    display: none;
  }

  .user-chip .logout-button {
    width: 58px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .page-heading > .primary-button,
  .page-heading > .secondary-button {
    width: 100%;
  }

  .heading-actions {
    width: 100%;
  }

  .heading-actions .primary-button,
  .heading-actions .secondary-button {
    flex: 1 1 140px;
  }

  .dish-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .dish-detail {
    gap: 14px;
    margin-top: 18px;
  }

  .dish-detail-image {
    min-height: 240px;
  }

  .dish-detail-body {
    padding: 18px;
  }

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

  .category-tab {
    padding: 0 6px;
  }

  .cart-item,
  .admin-dish-row {
    grid-template-columns: 86px 1fr;
  }

  .cart-item img,
  .admin-dish-row img {
    width: 86px;
  }

  .cart-item .stepper,
  .cart-item .ghost-button,
  .admin-dish-row .row-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .cart-item .ghost-button,
  .row-actions .secondary-button,
  .row-actions .ghost-button,
  .row-actions .mini-switch {
    width: 100%;
  }

  .order-status-panel,
  .order-status-panel.readonly {
    min-width: 0;
    width: 100%;
  }

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

  .status-buttons {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .status-badge {
    width: 100%;
  }

  .item-status-button,
  .item-status-badge {
    width: 100%;
  }

  .order-card footer {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .split-fields {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }
}
