/* Restaurant POS: shared screen design. Print layouts remain independent. */
:root {
  --ui-ink: #182b36;
  --ui-muted: #647783;
  --ui-green: #087f78;
  --ui-line: #e2e9ed;
  --ui-surface: #ffffff;
  --ui-canvas: #f3f6f8;
  --ui-nav: #ffffff;
  --line: var(--ui-line);
  --muted: var(--ui-muted);
  --yellow: #bce8df;
  color-scheme: light;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--ui-ink);
  background: var(--ui-canvas);
}
body {
  background: var(--ui-canvas);
  color: var(--ui-ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  touch-action: manipulation;
}
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #38b8aa;
  outline-offset: 3px;
}
.ui-icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}
:where(.button, .btn, .small-button, .logout, .print-button) {
  gap: 8px;
}
.sidebar,
.side {
  background: var(--ui-nav);
  border-color: #e2e9ed;
  color: #465e6b;
  scrollbar-width: thin;
  scrollbar-color: #cad8df transparent;
}
.sidebar .brand,
.side .brand {
  border-color: #e2e9ed;
  padding: 10px 8px 24px;
  gap: 12px;
}
.brand-mark,
.brand i,
.side .mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #bce8df;
  color: #123e3d;
  border-radius: 12px;
  box-shadow: none;
}
.sidebar .brand-title strong,
.side .brand strong,
.sidebar .brand strong {
  color: #182b36;
  font-size: 15px;
  letter-spacing: -0.4px;
}
.sidebar .brand-title span,
.sidebar .brand small,
.side .brand small {
  color: #647783;
  font-size: 11px;
  font-weight: 400;
}
.sidebar .nav,
.side .nav {
  gap: 5px;
  margin-top: 22px;
}
.sidebar .nav::before,
.side .nav::before {
  content: "WORKSPACE";
  color: #657c89;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  padding: 0 12px 10px;
}
.sidebar .nav-link,
.side .nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  border-radius: 9px;
  color: #465e6b;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.15s,
    color 0.15s;
}
.sidebar .nav-icon,
.side .nav a > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  flex: 0 0 22px;
  color: #647e8b;
}
.sidebar .nav-link:hover,
.side .nav a:hover {
  background: #f1f7f5;
  color: #176658;
}
.sidebar .nav-link.active,
.side .nav a.active {
  background: #e5f4ee;
  color: #176658;
  box-shadow: inset 3px 0 #3c9d86;
}
.sidebar .nav-link.active .nav-icon,
.side .nav a.active > span {
  color: #247c69;
}
/* Match the legacy canonical navigation's important rules. */
.sidebar .tenant-canonical-nav {
  gap: 5px !important;
  margin-top: 22px !important;
}
.sidebar .tenant-canonical-nav > .nav-link {
  min-height: 44px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #465e6b !important;
}
.sidebar .tenant-canonical-nav > .nav-link:hover {
  background: #f1f7f5 !important;
  color: #176658 !important;
}
.sidebar .tenant-canonical-nav > .nav-link.active {
  background: #e5f4ee !important;
  color: #176658 !important;
  box-shadow: inset 3px 0 #3c9d86 !important;
}
.sidebar-actions,
.mobile-sidebar-footer,
.sidebar-footer {
  border-color: #e2e9ed;
}
.sidebar-actions-title {
  color: #657c89;
  letter-spacing: 1.5px;
  font-size: 10px;
}
.side .back,
.sidebar .back {
  color: #647783;
}
.module-submenu {
  border-color: #d9e7e1;
}
.module-submenu a {
  color: #647783 !important;
}
.module-submenu a:hover {
  background: #e5f4ee !important;
  color: #176658 !important;
}
.header,
.top {
  background: #ffffffed;
  border-color: var(--ui-line);
  backdrop-filter: blur(16px);
}
.header {
  min-height: 88px;
}
.header-title h1,
.header h1,
.top h1 {
  color: var(--ui-ink);
  font-size: clamp(23px, 2.1vw, 29px);
  letter-spacing: -0.9px;
  font-weight: 650;
}
.header-title p,
.header p,
.top p {
  color: var(--ui-muted);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
}
.main,
.shell > .content > main {
  padding: 28px;
}
.panel,
.card,
.stat-card,
.table-card,
.summary {
  border: 1px solid var(--ui-line);
  border-radius: 15px;
  background: #fff;
  box-shadow:
    0 2px 4px #18354203,
    0 8px 26px #18354204;
}
.panel h2,
.panel-head h2,
.list-header h2,
.table-header h2,
.head h2 {
  color: var(--ui-ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.35px;
}
.panel-head,
.list-header,
.order-list-header,
.table-header {
  padding: 20px 22px;
  border-color: var(--ui-line);
}
.panel-head,
.toolbar,
.actions {
  flex-wrap: wrap;
}
.body {
  padding: 22px;
}
.card strong,
.stat-value,
.stat strong,
.metric,
.amount,
.price {
  font-variant-numeric: tabular-nums;
}
.card strong,
.stat-value,
.stat strong {
  letter-spacing: -0.9px;
}
.button,
.btn,
.small-button,
.logout,
.category,
.print-button {
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.button,
.btn {
  min-height: 42px;
}
.logout {
  background: #fff;
  border: 1px solid var(--ui-line);
  color: #526975;
  box-shadow: none;
}
.logout:hover {
  background: #f3f6f8;
  color: var(--ui-ink);
}
.small-button:not(.secondary),
.btn.primary,
.button.primary,
.btn-primary,
.category.active {
  background: var(--ui-green);
  border-color: var(--ui-green);
  color: #fff;
  box-shadow: 0 3px 6px #087f7814;
}
.small-button:not(.secondary):hover,
.btn.primary:hover,
.button.primary:hover,
.btn-primary:hover {
  background: #066a64;
  border-color: #066a64;
}
.button.secondary,
.small-button.secondary,
.category,
.print-button {
  background: #fff;
  border: 1px solid #d9e3e8;
  color: #415965;
}
.category.active {
  background: #e5f5f0;
  border-color: #a9d9cc;
  color: #116656;
  box-shadow: none;
}
.category:hover {
  border-color: #85baae;
}
.btn.yellow {
  background: #e8f5f1;
  border-color: #cce5de;
  color: #176658;
}
button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
select,
textarea {
  border-radius: 9px;
  border-color: #d7e2e8;
  background: #fff;
  color: var(--ui-ink);
  font-size: 13px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--ui-green);
}
.input,
select,
textarea {
  min-height: 44px;
}
label {
  font-weight: 600;
  color: #465d69;
}
.form-grid {
  gap: 20px;
}
.search-input {
  box-shadow: none;
  border-radius: 10px;
}
.search-input:hover,
.search-input:focus {
  border-color: #69b1a7;
  box-shadow: 0 0 0 3px #087f7810;
}
input::placeholder,
textarea::placeholder {
  color: #83949e;
  font-weight: 400;
}
:where(.table-wrap, .table-panel, .table-responsive) {
  overflow-x: auto;
}
th {
  background: #f7f9fa;
  color: #657c89;
  letter-spacing: 0.8px;
  font-size: 10px;
  font-weight: 650;
}
td,
th {
  border-color: #edf1f3;
  padding: 15px 18px;
}
td {
  color: #48606d;
}
td strong {
  color: var(--ui-ink);
  font-weight: 600;
}
tbody tr:hover {
  background: #f8fbfb;
}
.status,
.badge {
  font-weight: 600;
  letter-spacing: 0.1px;
}
.status.available,
.badge.good {
  background: #e8f6ef;
  color: #21734f;
}
.notice,
.toast {
  border-radius: 10px;
  font-weight: 500;
  line-height: 1.6;
}
.empty {
  padding: 44px 24px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ui-muted);
  text-align: center;
}
.footer {
  background: transparent;
  border-color: var(--ui-line);
  color: #798c98;
  font-size: 11px;
  font-weight: 400;
  padding: 20px 28px;
}
/* Page headers and operational summaries. */
.workspace-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.workspace-intro h2 {
  margin: 6px 0;
  font-size: 23px;
  letter-spacing: -0.6px;
  font-weight: 600;
}
.workspace-intro p {
  color: var(--ui-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: #6c8592;
  text-transform: uppercase;
}
.intro-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #dae8e8;
  border-radius: 14px;
  background: #e8f3f0;
  color: #247c70;
  flex-shrink: 0;
}
.intro-icon .ui-icon {
  width: 23px;
  height: 23px;
}
.dashboard-cards {
  gap: 18px;
}
.dashboard-cards .stat {
  position: relative;
  padding: 24px;
  overflow: hidden;
}
.dashboard-cards .stat > span {
  color: #657b88;
  font-size: 11px;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.dashboard-cards .stat strong {
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 650;
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  background: #eef6f4;
  border-radius: 10px;
  color: #267e70;
}
.dashboard-cards .stat:first-child {
  background: linear-gradient(120deg, #e6f5ef, #f5fbf8);
  border-color: #cce5da;
}
.dashboard-cards .stat:first-child > span {
  color: #52796c;
}
.dashboard-cards .stat:first-child strong {
  color: #185b49;
}
.dashboard-cards .stat:first-child .stat-icon {
  background: #d5eee2;
  color: #267e64;
}
.data-row {
  padding: 18px 22px;
  border-color: #edf1f3;
}
.data-row:hover {
  background: #f9fbfc;
}
.category-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: #3f5866;
}
.table-card {
  position: relative;
  padding: 22px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.table-card:hover {
  border-color: #8bbeb4;
  box-shadow: 0 8px 24px #193f4810;
}
.table-card > .table-illustration {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 13px;
  background: #edf5f3;
  color: #448b7b;
  margin-bottom: 18px;
}
.table-card h2,
.table-card h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
}
.table-card p {
  color: var(--ui-muted);
  font-weight: 400;
  line-height: 1.5;
}
/* Menu photography. */
.menu-list.panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.menu-list .menu-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 12px #18354204;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.menu-list .menu-item:nth-child(n) {
  border: 1px solid var(--ui-line);
}
.menu-list .menu-item:hover {
  border-color: #b3cfc9;
  box-shadow: 0 8px 25px #1835420c;
}
.menu-list .menu-item[hidden] {
  display: none;
}
.menu-photo {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #edf4f1;
  flex-shrink: 0;
}
.menu-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.menu-list .menu-photo { aspect-ratio: 2 / 1; }
.menu-list .menu-photo img { aspect-ratio: 2 / 1; }
.menu-list .item-name strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-ink);
}
.menu-list .item-name span {
  line-height: 1.7;
  color: var(--ui-muted);
}
.menu-list .item-meta {
  gap: 8px;
  font-size: 11px;
  color: var(--ui-muted);
}
.menu-list .price {
  color: #1c645b;
  margin-left: auto;
  font-size: 16px;
}
.menu-list .order-form {
  max-width: none;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid #edf1f3;
  padding-top: 12px;
}
.menu-list .order-form .small-button {
  flex: 1;
  min-height: 39px;
}
.menu-list .qty-input {
  min-height: 39px;
}
.menu-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-thumb .menu-photo {
  width: 56px;
  height: 48px;
}
.photo-field {
  display: grid;
  gap: 12px;
  border: 1px dashed #b5ccc6;
  border-radius: 12px;
  padding: 20px;
  background: #f7fbf9;
}
.photo-field .menu-photo {
  width: 160px;
}
.photo-field small {
  color: var(--ui-muted);
  font-weight: 400;
  line-height: 1.6;
}
.photo-field .remove-photo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-field input[type="file"] {
  max-width: 100%;
  font-size: 13px;
}
.photo-field input::file-selector-button {
  border: 1px solid #c5d9d3;
  border-radius: 8px;
  background: #fff;
  color: #216b5b;
  padding: 9px 12px;
  margin-right: 10px;
  cursor: pointer;
}
.menu-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 26px 28px;
  border: 1px solid #cde2dd;
  border-radius: 15px;
  background: linear-gradient(110deg, #e6f2ee, #f5faf8);
}
.menu-intro h2 {
  margin: 7px 0 8px;
  font-size: 26px;
  letter-spacing: -0.7px;
  font-weight: 600;
}
.menu-intro p {
  margin: 0;
  color: #607b76;
  font-size: 13px;
  line-height: 1.6;
}
.menu-intro .eyebrow {
  color: #367a6e;
}
/* Authentication and public pages. */
.login-shell {
  border-radius: 22px;
  border-color: var(--ui-line);
  background: #fff;
  box-shadow: 0 25px 90px #18354214;
}
.login-shell .brand-panel {
  overflow: hidden;
  background-image: linear-gradient(135deg, #f2faf6f5, #e4f3eceb), url("login-restaurant.jpg");
}
.login-shell .brand-panel::after {
  background: #8fe4ce14;
}
.login-shell .brand-kicker {
  color: #267e64;
  font-size: 10px;
  letter-spacing: 2px;
}
.login-shell .brand-title {
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.12;
}
.login-shell .brand {
  border: 0;
}
.login-shell .mark {
  background: #e4f4ed;
  color: #267b68;
  border-radius: 12px;
  box-shadow: none;
}
.login-shell .brand h1 {
  font-weight: 600;
  letter-spacing: -0.7px;
  font-size: 23px;
}
.login-shell button[type="submit"] {
  background: var(--ui-green);
  border-color: var(--ui-green);
  color: white;
  border-radius: 9px;
  font-weight: 600;
}
.login-shell input {
  border-color: #d7e2e8;
  border-radius: 9px;
}
.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}
.error-card {
  width: min(100%, 500px);
  padding: 48px 36px;
  text-align: center;
  border: 1px solid var(--ui-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px #18354209;
}
.error-card .intro-icon {
  margin: 0 auto 24px;
}
.error-code {
  color: #087f78;
  font-size: 70px;
  font-weight: 650;
  letter-spacing: -4px;
}
.error-card h1 {
  font-size: 25px;
  letter-spacing: -0.7px;
}
.error-card p {
  color: var(--ui-muted);
  line-height: 1.7;
  margin-bottom: 25px;
}
@media (min-width: 1081px) {
  .app-shell {
    grid-template-columns: 244px minmax(0, 1fr);
  }
}
@media (max-width: 1250px) {
  .menu-list.panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .mobile-menu::before {
    display: none;
  }
  .mobile-menu .ui-icon {
    color: #395662;
  }
  .sidebar .mobile-sidebar-footer .nav-link {
    color: #465e6b;
  }
}
@media (max-width: 720px) {
  .main,
  .shell > .content > main {
    padding: 16px;
  }
  .header {
    min-height: 76px;
  }
  .workspace-intro {
    margin-bottom: 20px;
    gap: 14px;
  }
  .workspace-intro h2 {
    font-size: 21px;
  }
  .workspace-intro p {
    font-size: 12px;
  }
  .workspace-intro .intro-icon {
    width: 42px;
    height: 42px;
  }
  .menu-intro {
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .menu-intro h2 {
    font-size: 23px;
  }
  .menu-list.panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .header-title h1 {
    font-size: 24px;
  }
  .panel-head,
  .list-header,
  .order-list-header,
  .body {
    padding: 18px;
  }
  .form-grid {
    gap: 16px;
  }
  .dashboard-cards .stat {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .menu-list.panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.table-category .table-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
  justify-items: stretch;
}
.table-category:nth-child(n) .table-card {
  width: auto;
  min-height: 190px;
  aspect-ratio: auto;
  padding: 22px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--ui-line);
  box-shadow: 0 3px 12px #18354204;
  text-align: left;
  align-items: flex-start;
}
.table-category .table-card::before { display: none; }
.table-category .table-card h2 { font-size: 18px; font-weight: 600; }
.table-category .table-card p { font-size: 12px; font-weight: 400; }
.table-category:nth-child(n) .table-card:hover {
  transform: none;
  border-color: #8bbeb4;
  box-shadow: 0 8px 24px #193f4810;
}
@media (max-width: 480px) {
  .table-category .table-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .table-category:nth-child(n) .table-card { padding: 16px; }
}
@media (min-width: 1025px) {
  .header .mobile { display: none; }
}
@media (max-width: 1080px) {
  #settingsSide { left: 0; }
}
.menu-suggestions {
  position: absolute;
  z-index: 15;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px #18354224;
}
.menu-suggestions[hidden] { display: none; }
.menu-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ui-ink);
  text-align: left;
  cursor: pointer;
}
.menu-suggestion:hover, .menu-suggestion[aria-selected="true"] { background: #e8f5f1; }
.suggestion-detail-cell { flex: 1; min-width: 0; }
.suggestion-select { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.menu-suggestion { gap: 8px; cursor: default; }
.menu-suggestion .suggestion-quantity { width: 54px; min-height: 38px; padding: 5px; border: 1px solid #c8d9d4; }
.suggestion-add { min-height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--ui-green); color: white; font-size: 12px; font-weight: 600; cursor: pointer; }
.suggestion-add:disabled { opacity: .6; cursor: wait; }
@media (max-width: 600px) {
  .suggestion-select { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 8px; }
  .menu-suggestion .suggestion-select img { grid-row: span 2; width: 32px; height: 36px; }
  .suggestion-select .suggestion-price { grid-column: 2; font-size: 11px; }
  .suggestion-select .suggestion-name { font-size: 12px; }
}
.menu-suggestion img { width: 44px; height: 40px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.suggestion-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.suggestion-price { color: #176658; font-size: 12px; font-weight: 600; white-space: nowrap; }
.suggestion-empty { padding: 16px; color: var(--ui-muted); font-size: 13px; }
.search-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.error-card .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; text-decoration: none; }

/* Light authentication panel text and translucent summary cards. */
.login-shell .brand-panel { color: #183e32; }
.login-shell .brand-copy { color: #526e62; }
.login-shell .status-pill { background: #ffffffb3; border-color: #cadfd3; color: #225b48; }
.login-shell .status-pill span { color: #526e62; }

/* Compact ordering cards retain usable touch controls. */
.menu-list .menu-item { min-width: 0; }
.menu-list .item-name strong { overflow-wrap: anywhere; }
.menu-list .item-name span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-list .order-form { gap: 6px; padding-top: 8px; }
.menu-list .order-form .small-button, .menu-list .qty-input { min-height: 44px; }
.menu-list .qty-input { width: 52px; min-width: 0; }
.item-cancel-form { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.item-cancel-form label { font-size: 12px; display: grid; gap: 4px; }
.item-cancel-form input[name="reason"] { width: 150px; }
.discount-help { color: var(--ui-muted); font-size: 12px; line-height: 1.5; }
.activity-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; padding: 18px; margin-bottom: 18px; }
.activity-filters label { display: grid; gap: 6px; }
.activity-entry { padding: 20px; border-bottom: 1px solid var(--ui-line); overflow-wrap: anywhere; }
.activity-entry:last-child { border-bottom: 0; }
.activity-entry-heading { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.activity-entry time, .activity-entry p { color: var(--ui-muted); font-size: 13px; }
.activity-entry li { margin-bottom: 6px; font-size: 14px; }
@media (max-width: 480px) {
  .menu-list .menu-item { padding: 8px; gap: 8px; }
  .menu-list .price { margin-left: 0; font-size: 14px; }
  .menu-list .item-meta { flex-wrap: wrap; gap: 5px; }
  .menu-list .order-form .small-button { padding-inline: 8px; }
}

.item-cancel-form input[name="reason"], .submitted-order .footer-actions input[name="reason"],
.activity-filters input, .activity-filters select {
  min-height: 40px; padding: 8px 10px; border: 1px solid var(--ui-line);
  border-radius: 8px; background: #fff; color: var(--ui-ink); font: inherit;
}
.submitted-order .footer-actions input[name="reason"] { max-width: 100%; }
