:root {
  --ink: #243241;
  --muted: #718093;
  --line: #dce4ea;
  --panel: #ffffff;
  --canvas: #eef4f7;
  --nav: #173447;
  --nav-deep: #0f2433;
  --green: #35a852;
  --blue: #2e88b8;
  --amber: #d19a28;
  --orange: #e95b2c;
  --shadow: 0 2px 8px rgba(24, 47, 64, 0.14);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    PingFang SC,
    Hiragino Sans GB,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
.procurement-dashboard {
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.92),
      transparent 38%
    ),
    linear-gradient(135deg, #f4f6ef, #f8fafc 54%, #eef6f7);
}
.procurement-dashboard .toolbar {
  background: #ffffffb8;
  border-color: #3f526c1c;
  box-shadow: 0 18px 40px #1f2d3d14;
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}
.procurement-filter-panel-top {
  margin: 0 0 16px;
}
.procurement-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.28fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  margin: 16px 0;
}
.procurement-total-card,
.procurement-panel,
.procurement-stat-grid article,
.procurement-current-venue {
  border: 1px solid rgba(63, 82, 108, 0.1);
  background: #f8f8efd6;
  box-shadow: 0 18px 42px #1f2d3d14;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
}
.procurement-total-card {
  min-height: 330px;
  padding: 24px;
  display: grid;
  align-content: space-between;
}
.procurement-total-card span,
.procurement-panel header span,
.procurement-stat-grid span,
.procurement-current-venue span {
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 800;
}
.procurement-total-card strong {
  color: #ffc400;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 850;
  letter-spacing: 0;
}
.procurement-total-card small,
.procurement-stat-grid small,
.procurement-current-venue small {
  color: var(--muted);
  line-height: 1.5;
}
.procurement-panel {
  min-width: 0;
  padding: 18px 20px;
}
.procurement-hero-grid + .procurement-bar-panel {
  margin-bottom: 16px;
}
.procurement-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.procurement-panel h2 {
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 850;
}
.procurement-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.procurement-stat-grid-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}
.procurement-stat-grid article {
  padding: 14px 16px;
  display: grid;
  gap: 5px;
}
.procurement-stat-grid strong {
  color: #1d1d1f;
  font-size: 26px;
  font-weight: 760;
}
.procurement-chart-grid,
.procurement-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.procurement-bar-list {
  min-height: 288px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 14px;
  align-items: end;
  padding: 18px 8px 4px;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 55px,
    rgba(125, 134, 144, 0.12) 56px
  );
  border-bottom: 1px solid rgba(29, 29, 31, 0.24);
}
.procurement-bar-row {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 8px;
  justify-items: center;
  align-items: end;
}
.procurement-bar-row > span {
  max-width: 100%;
  min-height: 34px;
  color: #555;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.procurement-bar-track {
  width: min(58px, 72%);
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.procurement-bar-track i {
  width: 100%;
  height: var(--bar);
  min-height: 4px;
  display: block;
  background: var(--accent, #ef233c);
  border-radius: 4px 4px 0 0;
  box-shadow: inset 0 -10px 20px #00000014;
}
.procurement-bar-row strong {
  color: #5b0007;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.procurement-bar-panel.compact .procurement-bar-list {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 6px 0;
  background: transparent;
  border-bottom: 0;
}
.procurement-bar-panel.compact .procurement-bar-row {
  grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1fr) 74px;
  grid-template-rows: auto;
  justify-items: stretch;
  align-items: center;
  gap: 10px;
}
.procurement-bar-panel.compact .procurement-bar-row > span {
  min-height: 0;
  text-align: left;
  -webkit-line-clamp: 1;
}
.procurement-bar-panel.compact .procurement-bar-track {
  width: 100%;
  height: 10px;
  justify-content: flex-start;
  background: #74819424;
  border-radius: 999px;
  overflow: hidden;
}
.procurement-bar-panel.compact .procurement-bar-track i {
  width: var(--bar);
  height: 100%;
  border-radius: 999px;
}
.procurement-pie-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 270px;
}
.procurement-pie {
  position: relative;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow:
    inset 0 0 0 1px #1d1d1f14,
    0 12px 28px #1f2d3d14;
}
.procurement-pie:after {
  content: "";
  position: absolute;
  top: 31%;
  right: 31%;
  bottom: 31%;
  left: 31%;
  border-radius: 50%;
  background: #f8f8efeb;
  box-shadow: inset 0 0 0 1px #3f526c14;
}
.procurement-pie span,
.procurement-pie small {
  position: relative;
  z-index: 1;
}
.procurement-pie span {
  color: #1d1d1f;
  font-size: 24px;
  font-weight: 850;
}
.procurement-pie small {
  max-width: 88px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}
.procurement-legend {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.procurement-legend div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto 44px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.procurement-legend i {
  width: 8px;
  height: 18px;
  border-radius: 99px;
}
.procurement-legend span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.procurement-legend strong {
  color: #1d1d1f;
  font-weight: 740;
  white-space: nowrap;
}
.procurement-legend small {
  text-align: right;
}
.procurement-product-list {
  display: grid;
  gap: 8px;
}
.procurement-sort-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.procurement-sort-controls label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.procurement-sort-controls select,
.procurement-sort-controls button {
  min-height: 30px;
  border: 1px solid rgba(63, 82, 108, 0.14);
  border-radius: 999px;
  background: #ffffffc7;
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 780;
}
.procurement-sort-controls select {
  width: 76px;
  padding: 0 24px 0 10px;
}
.procurement-sort-controls button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 9px;
}
.procurement-product-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(63, 82, 108, 0.08);
}
.procurement-product-row .image-placeholder,
.procurement-product-row img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffffc7;
}
.procurement-product-row div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.procurement-product-row strong {
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.2;
}
.procurement-product-row span,
.procurement-product-row small {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.procurement-product-row b {
  min-width: 30px;
  color: #099ca5;
  font-size: 18px;
  text-align: right;
}
.procurement-product-row em {
  color: #1d1d1f;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}
.procurement-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(63, 82, 108, 0.2);
  background: #fff6;
}
.procurement-controls-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
}
.procurement-filter-panel > strong,
.dashboard-controls > strong {
  font-size: 15px;
}
.procurement-current-venue {
  padding: 12px;
  display: grid;
  gap: 4px;
}
.procurement-current-venue strong {
  color: #1d1d1f;
  font-size: 16px;
}
.order-export-filter-strip {
  margin: 0;
  border-top: 1px solid rgba(63, 82, 108, 0.1);
  border-bottom: 1px solid rgba(63, 82, 108, 0.1);
  background: #ffffffe6;
  box-shadow: 0 8px 24px #1f2d3d0f;
}
.order-export-filter-strip label {
  flex: 1 1 150px;
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}
.order-export-filter-strip label input {
  width: 100%;
}
@media (max-width: 1040px) {
  .procurement-hero-grid,
  .procurement-chart-grid,
  .procurement-detail-grid,
  .procurement-controls-layout {
    grid-template-columns: 1fr;
  }
  .procurement-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .procurement-dashboard {
    padding: 8px 10px 18px;
    background: transparent;
  }
  .procurement-dashboard .toolbar {
    gap: 7px;
    margin: 0 0 8px;
    padding: 8px;
    border-radius: 16px;
  }
  .procurement-dashboard .toolbar button {
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }
  .procurement-hero-grid,
  .procurement-chart-grid,
  .procurement-detail-grid {
    gap: 10px;
    margin: 10px 0;
  }
  .procurement-total-card,
  .procurement-panel,
  .procurement-stat-grid article,
  .procurement-current-venue {
    border-radius: 16px;
    background: #ffffffc7;
    box-shadow: 0 12px 28px #27344414;
  }
  .procurement-total-card {
    min-height: 132px;
    padding: 16px;
  }
  .procurement-total-card span,
  .procurement-panel header span,
  .procurement-stat-grid span {
    font-size: 12px;
  }
  .procurement-total-card strong {
    font-size: 38px;
  }
  .procurement-total-card small {
    font-size: 11px;
  }
  .procurement-panel {
    padding: 13px;
  }
  .procurement-hero-grid + .procurement-bar-panel {
    margin-bottom: 10px;
  }
  .procurement-panel h2 {
    font-size: 15px;
  }
  .procurement-product-panel header {
    align-items: flex-start;
  }
  .procurement-sort-controls {
    gap: 4px;
  }
  .procurement-sort-controls label > span {
    display: none;
  }
  .procurement-sort-controls select {
    width: 62px;
    min-height: 28px;
    padding-left: 8px;
    font-size: 11px;
  }
  .procurement-sort-controls button {
    min-height: 28px;
    padding: 0 7px;
    font-size: 11px;
  }
  .procurement-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0;
  }
  .procurement-stat-grid article {
    min-height: 64px;
    padding: 10px 11px;
  }
  .procurement-stat-grid strong {
    font-size: 20px;
  }
  .procurement-stat-grid small {
    font-size: 10px;
    line-height: 1.25;
  }
  .procurement-bar-list,
  .procurement-bar-panel.compact .procurement-bar-list {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 4px 0;
    background: transparent;
    border-bottom: 0;
  }
  .procurement-bar-row,
  .procurement-bar-panel.compact .procurement-bar-row {
    grid-template-columns: minmax(126px, 1.12fr) minmax(48px, 0.82fr) 72px;
    grid-template-rows: auto;
    gap: 8px;
    justify-items: stretch;
    align-items: center;
  }
  .procurement-bar-row > span {
    min-height: 0;
    font-size: 11px;
    text-align: left;
    -webkit-line-clamp: 1;
  }
  .procurement-bar-track,
  .procurement-bar-panel.compact .procurement-bar-track {
    width: 100%;
    height: 8px;
    justify-content: flex-start;
    background: #74819424;
    border-radius: 999px;
    overflow: hidden;
  }
  .procurement-bar-track i,
  .procurement-bar-panel.compact .procurement-bar-track i {
    width: var(--bar);
    height: 100%;
    border-radius: 999px;
  }
  .procurement-bar-row strong {
    font-size: 11px;
  }
  .procurement-pie-layout {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 160px;
    gap: 12px;
  }
  .procurement-pie {
    width: 132px;
  }
  .procurement-pie span {
    font-size: 18px;
  }
  .procurement-pie small {
    max-width: 56px;
    font-size: 9px;
  }
  .procurement-legend {
    gap: 6px;
  }
  .procurement-legend div {
    grid-template-columns: 8px minmax(0, 1fr) auto 36px;
    gap: 5px;
    font-size: 10.5px;
  }
  .procurement-legend i {
    width: 7px;
    height: 14px;
  }
  .procurement-product-row {
    grid-template-columns: 42px minmax(0, 1fr) 26px 62px;
    gap: 7px;
    min-height: 58px;
    padding: 7px 0;
  }
  .procurement-product-row .image-placeholder,
  .procurement-product-row img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    font-size: 8px;
  }
  .procurement-product-row strong {
    font-size: 12px;
  }
  .procurement-product-row span,
  .procurement-product-row small {
    font-size: 10px;
  }
  .procurement-product-row b {
    font-size: 14px;
  }
  .procurement-product-row em {
    font-size: 11px;
  }
  .procurement-empty {
    min-height: 94px;
    padding: 12px;
    font-size: 12px;
  }
  .procurement-controls-layout {
    gap: 10px;
  }
  .procurement-filter-panel,
  .procurement-controls-layout .dashboard-controls {
    border-radius: 16px;
  }
  .orders-filter-strip.order-export-filter-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 10px 0;
    padding: 10px;
    border: 1px solid rgba(63, 82, 108, 0.11);
    border-radius: 16px;
    background: #ffffffc7;
    box-shadow: 0 12px 28px #27344414;
    backdrop-filter: saturate(170%) blur(20px);
    -webkit-backdrop-filter: saturate(170%) blur(20px);
  }
  .orders-filter-strip.order-export-filter-strip input,
  .orders-filter-strip.order-export-filter-strip select,
  .orders-filter-strip.order-export-filter-strip button {
    width: 100%;
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
  .orders-filter-strip.order-export-filter-strip input:first-child {
    grid-column: 1 / -1;
  }
  .orders-filter-strip.order-export-filter-strip label {
    min-width: 0;
    font-size: 10px;
  }
  .orders-filter-strip.order-export-filter-strip button {
    grid-column: span 1;
    font-weight: 750;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background: var(--canvas);
  letter-spacing: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.file-button,
.file-chip {
  min-height: 36px;
  border: 1px solid #cfd9e1;
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
button:hover,
.file-button:hover,
.file-chip:hover {
  border-color: #9fb1bf;
}
button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
button:disabled,
input:disabled,
select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button.active {
  background: #e8f3f8;
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
}
input,
select,
textarea {
  min-height: 36px;
  border: 1px solid #cfd9e1;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  min-width: 0;
}
img {
  display: block;
  max-width: 100%;
}
.boot-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f5f5f7;
}
.boot-card {
  width: min(420px, 100%);
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #e5e5ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px #1c2a3814;
}
.boot-card img {
  justify-self: center;
  width: 182px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
}
.boot-copy {
  display: grid;
  gap: 5px;
}
.boot-copy p {
  margin: 0;
  color: #007aff;
  font-size: 12px;
  font-weight: 800;
}
.boot-copy h1 {
  margin: 0;
  color: #1d1d1f;
  font-size: 24px;
  line-height: 1.2;
}
.boot-copy span {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.5;
}
.boot-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f4;
}
.boot-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #007aff;
  animation: boot-slide 1.1s ease-in-out infinite alternate;
}
@keyframes boot-slide {
  0% {
    transform: translate(-25%);
  }
  to {
    transform: translate(165%);
  }
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  background: #f3f5f6;
  border-right: 1px solid #cbd6df;
  min-height: 100vh;
  width: 284px;
  padding: 0 0 18px;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  overflow-y: auto;
  transform: translate(-100%);
  transition: transform 0.18s ease;
  box-shadow: 4px 0 18px #0d1f2d38;
}
.app-shell .sidebar.open {
  transform: translate(0) !important;
}
.brand-mark {
  height: 76px;
  border-radius: 0;
  background: #143349;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 0 12px;
  padding: 0 68px;
}
.brand-mark img {
  width: 136px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}
.sidebar-venue {
  margin: 0 16px 12px;
  display: grid;
  gap: 6px;
}
.sidebar-venue span {
  color: #637789;
  font-size: 12px;
  font-weight: 700;
}
.sidebar-venue select {
  width: 100%;
  min-height: 38px;
  background: #fff;
  border-color: #d4dee6;
}
.close-sidebar {
  position: absolute;
  right: 10px;
  top: 18px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  color: #fff;
  background: #ffffff14;
  border-color: #ffffff2e;
  z-index: 1;
}
.menu-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  min-height: 100vh;
  width: 100vw;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #0816205c;
  cursor: default;
}
.nav-button,
.nav-child,
.nav-heading {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 44px;
  padding: 0 22px;
  color: #314354;
}
.nav-button.active,
.nav-child.active {
  color: var(--blue);
  font-weight: 700;
  border-left: 4px solid var(--blue);
  background: #eef5f9;
}
.nav-group {
  border-top: 1px solid #e0e7ed;
  padding: 6px 0;
}
.nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1f3445;
  font-weight: 700;
}
.nav-child {
  min-height: 34px;
  padding-left: 42px;
  font-size: 13px;
}
.sidebar-footer {
  margin-top: 28px;
  padding: 18px 22px 0;
  border-top: 1px solid #dce4ea;
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}
.sidebar-footer strong {
  color: #243241;
  font-weight: 700;
}
.sidebar-footer span {
  color: var(--muted);
}
.workspace {
  min-width: 0;
  padding-top: 60px;
}
.venue-gate {
  min-height: 100vh;
  background: var(--canvas);
  display: grid;
  place-items: center;
  padding: 24px;
}
.venue-gate-panel {
  width: min(960px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 18px;
}
.venue-gate-panel > img {
  justify-self: center;
  width: 220px;
  max-height: 112px;
  object-fit: contain;
  background: transparent;
}
.venue-gate-head h1 {
  margin: 0 0 8px;
  font-size: 26px;
}
.venue-gate-head p {
  margin: 0;
  color: var(--muted);
}
.venue-gate-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.venue-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.venue-pick {
  min-height: 96px;
  display: grid;
  justify-items: start;
  align-content: center;
  text-align: left;
  white-space: normal;
}
.venue-pick span {
  color: var(--muted);
  font-size: 13px;
}
.venue-enter {
  justify-self: end;
}
.topbar {
  height: 60px;
  background: var(--nav);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 25;
}
.hamburger {
  width: 34px;
  min-height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 4px;
}
.hamburger span,
.hamburger:before,
.hamburger:after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #dceaf1;
  margin: 0 auto;
}
.top-title {
  min-width: 72px;
  font-weight: 700;
}
.venue-select {
  width: min(420px, 36vw);
  background: var(--nav-deep);
  border-color: #26495f;
  color: #fff;
}
.lang-select,
.employee-select {
  background: transparent;
  color: #fff;
  border-color: transparent;
}
.employee-select {
  max-width: 180px;
}
.top-spacer {
  flex: 1;
}
.datacenter {
  font-size: 12px;
  color: #d6e1e8;
}
.user-pill {
  text-align: right;
  font-size: 12px;
  line-height: 1.25;
}
.user-pill small {
  color: #b8cad5;
}
.page {
  padding: 24px 32px 48px;
}
.notice-bar {
  margin: 16px 32px 0;
  min-height: 42px;
  border: 1px solid #b9d9e8;
  background: #eef8fc;
  color: #1f536a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  box-shadow: var(--shadow);
}
.notice-bar button {
  width: 30px;
  min-height: 30px;
  padding: 0;
}
.page-header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 14px;
}
.page-header h1 {
  font-size: 20px;
  margin: 0;
}
.page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.toolbar,
.action-row,
.inline-form {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.summary-strip,
.share-box {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.summary-strip span {
  color: var(--muted);
}
.stocktake-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.stocktake-progress article {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}
.stocktake-progress span,
.stocktake-progress small {
  color: var(--muted);
  font-size: 12px;
}
.activity-list {
  display: grid;
  gap: 10px;
}
.activity-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 48px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.activity-list span {
  color: var(--muted);
  white-space: nowrap;
}
.section-title {
  font-size: 16px;
  margin: 22px 0 12px;
}
.toolbar input {
  flex: 1 1 220px;
}
.checkline {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 18px;
  margin: 18px 0;
}
.kpi-grid.compact {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}
.kpi {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 128px;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow);
}
.kpi h3 {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
}
.kpi strong {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
}
.kpi span {
  color: var(--muted);
}
.kpi.amber h3 {
  color: var(--amber);
}
.kpi.green h3 {
  color: var(--green);
}
.kpi.dark h3 {
  color: var(--ink);
}
.kpi.cyan h3 {
  color: #2698b7;
}
.chart-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  margin: 18px 0;
}
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}
.dashboard-layout .chart-panel {
  margin: 0;
}
.dashboard-controls {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 12px;
}
.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.date-row label,
.check-stack label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}
.check-stack {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}
.check-stack label {
  grid-template-columns: 18px 1fr;
  align-items: start;
}
.chart-panel h2 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}
.chart-lines {
  height: 330px;
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    #fff,
    #fff 54px,
    #e7edf1 55px
  );
  overflow: hidden;
}
.chart-lines i {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 100%;
  background: #edf2f5;
}
.chart-lines i:nth-child(1) {
  left: 20%;
}
.chart-lines i:nth-child(2) {
  left: 40%;
}
.chart-lines i:nth-child(3) {
  left: 60%;
}
.chart-lines i:nth-child(4) {
  left: 80%;
}
.line {
  position: absolute;
  left: 4%;
  right: 4%;
  height: 3px;
  transform-origin: left center;
  border-radius: 999px;
}
.line.black {
  top: 34%;
  background: #111;
  transform: rotate(-2deg);
}
.line.green {
  top: 58%;
  background: var(--green);
  transform: rotate(-10deg);
}
.line.orange {
  top: 52%;
  background: var(--orange);
  transform: rotate(1deg);
}
.stock-report-tools {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 170px 170px auto auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.stock-report-tools strong {
  align-self: center;
  color: var(--text);
}
.stock-report-tools label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}
.stock-report-history {
  display: grid;
  gap: 12px;
}
.stock-report-history details {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.stock-report-history summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--blue);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.stock-report-history summary span {
  color: var(--muted);
  font-weight: 500;
}
.empty-state {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}
.report-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}
.report-detail article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}
.report-detail span {
  color: var(--muted);
  font-size: 12px;
}
.report-detail strong {
  color: var(--text);
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding-top: 12px;
  font-size: 13px;
}
.venue-grid,
.report-grid,
.recipe-grid,
.par-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.venue-card,
.report-card,
.recipe-card,
.par-card,
.employee-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 14px;
}
.recipe-card {
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}
.venue-card img,
.report-card img,
.recipe-card img,
.recipe-card .image-placeholder,
.venue-thumb {
  height: 142px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}
.recipe-card img.optimized-image,
.recipe-card .image-placeholder {
  display: block;
  background: linear-gradient(90deg, #eef3f6 0%, #f8fbfd 48%, #e8f0f5 100%);
}
.recipe-card .image-placeholder {
  position: relative;
  overflow: hidden;
}
.recipe-card .image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  animation: image-placeholder-sheen 1.4s ease-in-out infinite;
}
@keyframes image-placeholder-sheen {
  to {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .recipe-card .image-placeholder::after {
    animation: none;
  }
}
.venue-thumb {
  display: grid;
  place-items: center;
  background: #e8f3f8;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}
.venue-card h3,
.report-card h3,
.recipe-card h3,
.par-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.category-list {
  display: grid;
  gap: 14px;
}
.catalog-workbench {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.catalog-groups {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 76px;
}
.catalog-groups button {
  min-height: 72px;
  justify-content: start;
  align-items: start;
  text-align: left;
  white-space: normal;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}
.catalog-groups button.active {
  background: #e8f3f8;
  border-color: var(--blue);
  color: var(--ink);
}
.catalog-groups span,
.catalog-groups small {
  color: var(--muted);
  font-size: 12px;
}
.catalog-table-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
}
.catalog-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.catalog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 4px;
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.catalog-card.warn {
  border-color: #efc477;
}
.catalog-card-select {
  min-height: 28px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.catalog-card-select span,
.status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 8px;
  background: #eef5f7;
  color: #315063;
  font-size: 12px;
  font-weight: 700;
}
.status-pill.warn,
.catalog-card.warn .catalog-card-select span {
  background: #fff3dc;
  color: #9a5c00;
}
.status-pill.ok {
  background: #edf8f0;
  color: #2d6b3d;
}
.catalog-card-image {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #f6fafc;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.catalog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-card-image .image-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}
.catalog-card strong {
  font-size: 14px;
}
.catalog-card div span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.catalog-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 5px 8px;
  font-size: 12px;
}
.catalog-card dt {
  color: var(--muted);
}
.catalog-card dd {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.category-block {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.category-block > header {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 90px auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.product-row,
.order-line {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #edf2f5;
}
.product-row {
  grid-template-columns:
    auto 52px minmax(220px, 1fr)
    110px 98px 140px 88px 88px 92px;
}
.product-row img,
.order-line img,
.order-view-table img,
.table-thumb,
.image-placeholder {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}
.image-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed #c6d4dd;
  background: #f3f7fa;
  color: #738696;
  font-size: 12px;
  line-height: 1;
}
.product-main,
.order-line div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.product-main span,
.order-line span,
.recipe-card span,
.report-card span {
  color: var(--muted);
  font-size: 13px;
}
.product-main small {
  color: var(--blue);
  font-size: 12px;
}
.tag-input {
  min-height: 30px;
  font-size: 12px;
}
.product-row label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.product-row input {
  width: 100%;
}
.file-chip,
.file-button {
  position: relative;
  overflow: hidden;
}
.file-chip input,
.file-button input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}
.muted {
  opacity: 0.55;
}
.table-wrap,
.permission-table-wrap {
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.data-table,
.permission-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.data-table th,
.data-table td,
.permission-table th,
.permission-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e9eff3;
  text-align: left;
  vertical-align: middle;
}
.data-table th,
.permission-table th {
  background: #f3f7fa;
  font-size: 12px;
  color: #526577;
  text-transform: uppercase;
}
.data-table input,
.data-table select {
  width: 100%;
}
.data-table .table-long-text {
  display: inline-block;
  max-width: min(300px, 34vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.line-product {
  min-width: 220px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.line-product img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
}
.line-product .image-placeholder {
  width: 44px;
  height: 44px;
}
.line-product span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.line-product strong,
.line-product small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.line-product small {
  color: var(--muted);
  font-size: 12px;
}
.partial-layout,
.par-workbench {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.partial-board,
.par-category-list {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  gap: 10px;
}
.partial-board h3 {
  margin: 0;
  font-size: 15px;
}
.partial-board p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.partial-board article {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}
.partial-board span,
.partial-board small {
  color: var(--muted);
  font-size: 12px;
}
.par-category-list {
  position: sticky;
  top: 76px;
}
.par-category-list button {
  min-height: 62px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 4px;
  text-align: left;
  white-space: normal;
}
.par-category-list span {
  color: var(--muted);
  font-size: 12px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}
.order-list {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.order-line {
  grid-template-columns: 56px minmax(220px, 1fr) 110px 96px;
}
.source-stepper,
.status-tabs,
.supplier-info-strip {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.source-stepper {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.source-stepper span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.source-stepper span.active {
  border-color: var(--blue);
  background: #e8f3f8;
  color: var(--ink);
  font-weight: 700;
}
.supplier-info-strip,
.status-tabs {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}
.supplier-info-strip article,
.status-tabs button {
  min-height: 58px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 12px;
}
.supplier-info-strip span,
.status-tabs span {
  color: var(--muted);
  font-size: 12px;
}
.supplier-info-strip strong,
.status-tabs strong {
  color: var(--ink);
  font-size: 15px;
}
.cart-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  position: sticky;
  top: 78px;
  height: fit-content;
  display: grid;
  gap: 12px;
}
.cart-panel strong {
  font-size: 32px;
}
.share-box {
  display: grid;
  gap: 8px;
  align-items: stretch;
}
.share-box label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}
.share-box code {
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--blue);
}
.share-link-list {
  display: grid;
  gap: 8px;
}
.share-link-list article {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}
.share-link-card {
  border-radius: 8px;
}
.share-link-card-head,
.share-qr-row,
.share-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.share-link-card-head {
  justify-content: space-between;
}
.share-link-card-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
.share-qr-row {
  display: grid;
  place-items: center;
  align-items: center;
}
.share-qr-button {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.share-qr-button.opens-order {
  border-radius: 8px;
}
.share-qr-button.opens-order:active {
  transform: scale(0.985);
}
.share-qr-row img,
.share-qr-row .qr {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.share-qr-row code {
  max-height: 64px;
  min-width: 0;
  display: block;
  overflow: auto;
  padding: 6px 7px;
  border: 1px solid rgba(208, 220, 229, 0.78);
  border-radius: 6px;
  background: #ffffffd1;
  color: #1777c8;
  font-size: 10px;
  line-height: 1.22;
  word-break: break-all;
}
.share-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.share-card-actions button {
  min-height: 34px;
  padding: 0 9px;
  font-size: 12px;
}
.share-link-list strong {
  font-size: 12px;
}
.share-box small,
.muted-text {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.order-page {
  position: relative;
  min-height: calc(100vh - 60px);
  padding: 0 0 104px;
  background: #f6f7f9;
}
.order-source-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.order-source-head {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 32px 22px;
  background: #fff;
  border-bottom: 1px solid #edf1f4;
}
.order-source-head h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.1;
}
.order-source-head p {
  margin: 0;
  color: #9aa3ac;
  font-size: 18px;
}
.order-source-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.order-source-actions button,
.order-search-bar button,
.order-checkout-head button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8794;
}
.order-source-actions button.active,
.order-source-actions button:hover,
.order-search-bar button:hover,
.order-checkout-head button:hover {
  color: #1f8ccd;
  background: #eef7fc;
}
.order-help-box,
.order-search-panel,
.order-search-bar,
.order-context-strip {
  width: calc(100% - 64px);
  margin: 14px auto 0;
}
.order-help-box {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #bee1ee;
  background: #eff9fc;
  color: #31596b;
  font-size: 14px;
}
.order-search-bar {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--line);
  background: #f8fafb;
}
.order-search-bar input {
  border: 0;
  background: transparent;
  padding: 0;
}
.order-search-panel {
  position: relative;
  z-index: 30;
}
.order-search-panel .order-search-bar {
  width: 100%;
  margin: 0;
}
.order-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(21, 44, 59, 0.08);
  border-radius: 12px;
  background: #fffffff0;
  box-shadow: 0 18px 44px #10182829;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.order-search-suggestions section {
  min-width: 0;
}
.order-search-suggestions h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6f7b86;
}
.order-search-suggestions p {
  margin: 0;
  padding: 10px;
  color: #8a949e;
  font-size: 13px;
}
.order-search-result {
  width: 100%;
  min-height: 54px;
  display: grid;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.order-search-result:hover {
  background: #007aff14;
  color: var(--ink);
}
.order-search-result.product {
  grid-template-columns: 44px minmax(0, 1fr) auto;
}
.order-search-result.supplier {
  grid-template-columns: 12px minmax(0, 1fr) auto;
}
.order-search-result span {
  min-width: 0;
}
.order-search-result strong,
.order-search-result small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-search-result strong {
  font-size: 14px;
}
.order-search-result small {
  margin-top: 2px;
  color: #7b8794;
  font-size: 12px;
}
.order-search-result b {
  color: #14384d;
  font-size: 14px;
}
.order-search-thumb {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.order-search-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #32c7d2;
}
.order-tabbar {
  min-height: 96px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 32px 0;
  background: #fff;
  border-bottom: 1px solid #dce4ea;
  box-shadow: 0 2px 7px #162c3b24;
  position: sticky;
  top: 60px;
  z-index: 12;
}
.order-tabs {
  display: flex;
  align-items: end;
  gap: 26px;
  min-height: 62px;
}
.order-tabs button {
  min-height: 62px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 5px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #8a949e;
  font-size: 20px;
  font-weight: 700;
}
.order-tabs button.active {
  background: transparent;
  border-color: #1c9ad6;
  color: #1c9ad6;
}
.order-suggest-button {
  min-width: 220px;
  min-height: 58px;
  margin-bottom: 16px;
  border: 0;
  border-radius: 5px;
  background: #45bfd0;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 2px 5px #17758629;
}
.order-suggest-button:hover {
  background: #33adbf;
  color: #fff;
}
.order-context-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #6f7b86;
  font-size: 13px;
}
.order-context-strip span {
  padding: 6px 10px;
  background: #f3f6f8;
  border: 1px solid #e1e8ed;
}
.order-browse-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
}
.order-category-rail {
  position: sticky;
  top: 156px;
  align-self: start;
  max-height: calc(100vh - 156px);
  overflow-y: auto;
  background: #e4e4e4;
  scrollbar-width: thin;
}
.order-category-rail button {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6b7076;
  text-align: left;
  white-space: normal;
}
.order-category-rail button:hover,
.order-category-rail button.active {
  background: #fff;
  color: #111820;
}
.order-category-rail strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.32;
}
.order-category-rail span {
  min-width: 26px;
  color: #8b949e;
  font-size: 12px;
  text-align: right;
}
.order-product-pane {
  min-width: 0;
  padding: 28px 32px 110px;
  background: #fff;
}
.order-product-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.order-product-heading h2 {
  margin: 0;
  color: #151b22;
  font-size: 24px;
  line-height: 1.2;
}
.order-product-heading h2 span,
.order-product-heading small {
  color: #6f7b86;
}
.order-product-list {
  display: grid;
}
.order-product-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 128px;
  gap: 20px;
  align-items: center;
  min-height: 136px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f5;
}
.order-product-row.selected {
  background: linear-gradient(
    90deg,
    rgba(232, 246, 251, 0.72),
    transparent 46%
  );
}
.order-product-photo {
  position: relative;
  width: 118px;
  height: 118px;
}
.order-product-thumb,
.order-product-photo .image-placeholder {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e0e5ea;
}
.order-product-photo .image-placeholder {
  display: grid;
  place-items: center;
  color: #9aa3ac;
  font-size: 12px;
  text-align: center;
}
.order-add-button {
  position: absolute;
  right: 5px;
  bottom: 12px;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #d8dfe5;
  background: #fff;
  color: #3b4652;
  box-shadow: 0 2px 7px #19243038;
}
.order-add-button svg {
  width: 20px;
  height: 20px;
}
.order-add-button:hover {
  border-color: #1c9ad6;
  color: #1c9ad6;
}
.order-product-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.order-product-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1c2229;
  font-size: 20px;
  line-height: 1.28;
}
.order-product-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #858f99;
  font-size: 16px;
}
.order-product-copy small {
  color: #7d8791;
  font-size: 14px;
}
.order-spec-select {
  width: min(260px, 100%);
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #dce4ea;
  border-radius: 6px;
  background: #fff;
  color: #263445;
  font-size: 12px;
}
.order-spec-single {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f3f7fa;
  color: #6f7b86;
}
.order-quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.order-quantity-stepper button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
}
.order-quantity-stepper input {
  width: 72px;
  min-height: 34px;
  text-align: center;
}
.order-product-price {
  min-width: 0;
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}
.order-product-price span {
  color: #6f7b86;
  font-size: 16px;
}
.order-product-price strong {
  color: #111820;
  font-size: 22px;
  line-height: 1;
}
.order-floating-cart {
  position: fixed;
  right: max(28px, calc((100vw - 1180px) / 2 + 28px));
  bottom: 38px;
  z-index: 62;
  width: 82px;
  min-height: 82px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #2eb84f;
  color: #fff;
  box-shadow: 0 12px 30px #1f823952;
}
.order-floating-cart:hover {
  background: #27a744;
  color: #fff;
}
.order-floating-cart span {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #18384a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.long-text-trigger {
  cursor: help;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  user-select: none;
}
.long-text-preview {
  position: fixed;
  z-index: 2147483000;
  max-width: min(360px, calc(100vw - 28px));
  padding: 10px 12px;
  border-radius: 8px;
  background: #101c26f5;
  color: #fff;
  box-shadow: 0 12px 28px #0f1c263d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-line;
  pointer-events: none;
  transform: translate(-50%);
}
.long-text-preview.above {
  transform: translate(-50%, -100%);
}
.order-source-head {
  min-height: 96px;
  padding: 20px 28px 18px;
}
.order-source-head h1 {
  margin-bottom: 6px;
  font-size: 26px;
}
.order-source-head p {
  font-size: 15px;
}
.order-help-box,
.order-search-panel,
.order-search-bar,
.order-context-strip {
  margin-top: 10px;
}
.order-tabbar {
  min-height: 76px;
  padding: 12px 28px 0;
}
.order-tabs {
  min-height: 50px;
  gap: 22px;
}
.order-tabs button {
  min-height: 50px;
  padding-bottom: 10px;
  border-bottom-width: 4px;
  font-size: 17px;
}
.order-suggest-button {
  min-height: 50px;
  min-width: 190px;
  margin-bottom: 12px;
  font-size: 16px;
}
.order-browse-grid {
  grid-template-columns: 184px minmax(0, 1fr);
}
.order-category-rail {
  top: 136px;
  max-height: calc(100vh - 136px);
}
.order-category-rail button {
  min-height: 62px;
  padding: 10px 16px;
}
.order-category-rail strong {
  font-size: 16px;
  line-height: 1.24;
}
.order-product-pane {
  padding: 20px 26px 100px;
}
.order-product-heading {
  margin-bottom: 10px;
}
.order-product-heading h2 {
  font-size: 20px;
}
.order-product-heading h2 b {
  color: #151b22;
  font: inherit;
}
.order-product-heading small {
  font-size: 12px;
}
.order-product-row {
  grid-template-columns: 106px minmax(0, 1fr) 108px;
  gap: 14px;
  min-height: 106px;
  padding: 10px 0;
}
.order-product-photo {
  width: 96px;
  height: 96px;
}
.order-product-thumb,
.order-product-photo .image-placeholder {
  width: 88px;
  height: 88px;
}
.order-add-button {
  right: 4px;
  bottom: 10px;
  width: 34px;
  min-height: 34px;
}
.order-product-copy {
  gap: 3px;
}
.order-product-copy strong {
  font-size: 17px;
}
.order-product-copy span {
  font-size: 14px;
}
.order-product-copy small {
  font-size: 12px;
}
.order-spec-select {
  min-height: 30px;
  font-size: 11px;
}
.order-product-price {
  gap: 4px;
}
.order-product-price span {
  font-size: 13px;
}
.order-product-price strong {
  font-size: 18px;
}
.order-floating-cart {
  width: 72px;
  min-height: 72px;
}
.order-category-rail .long-text-preview,
.order-product-heading .long-text-preview,
.order-product-copy .long-text-preview,
.order-product-price .long-text-preview {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  color: #fff;
  font-size: 13px;
  text-align: left;
}
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 63;
  min-height: 100vh;
  width: 100vw;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #0a192359;
}
.order-checkout-panel {
  position: fixed;
  top: 78px;
  right: 22px;
  bottom: 22px;
  z-index: 64;
  width: min(430px, calc(100vw - 44px));
  overflow-y: auto;
  transform: translate(calc(100% + 36px));
  transition: transform 0.18s ease;
  visibility: hidden;
  pointer-events: none;
}
.order-checkout-panel.open {
  transform: translate(0);
  visibility: visible;
  pointer-events: auto;
}
.order-checkout-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.order-checkout-head h2 {
  margin: 0 0 4px;
}
.order-checkout-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.order-drawer-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.order-drawer-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}
.order-drawer-controls .wide {
  grid-column: 1 / -1;
}
.orders-overview-page,
.order-receive-page {
  width: min(944px, calc(100vw - 64px));
  min-height: calc(100vh - 60px);
  margin: 0 auto;
  padding: 0 0 96px;
  background: #f1f6f9;
  border-inline: 1px solid #dfe7ed;
  box-shadow: 0 4px 26px #1626321f;
  overflow: hidden;
}
.orders-source-head {
  min-height: 168px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  padding: 32px 34px 24px;
  background: #fff;
  border-bottom: 1px solid #e7edf1;
}
.orders-source-head h1 {
  margin: 0 0 12px;
  color: #263445;
  font-size: 32px;
  line-height: 1.15;
}
.orders-source-head p {
  margin: 0;
  color: #9aa4ad;
  font-size: 20px;
}
.orders-source-head button {
  width: 46px;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa4ad;
}
.orders-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
  padding: 26px 36px 32px;
  background: #fff;
  box-shadow: 0 2px 8px #1e303d2e;
}
.orders-action-grid button {
  min-height: 72px;
  border: 0;
  border-radius: 7px;
  background: #0c3042;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow:
    inset 0 -2px #00000026,
    0 2px 6px #112b3b33;
}
.orders-action-grid button.gallery {
  background: #2fbd48;
}
.orders-action-grid button:disabled {
  opacity: 0.45;
}
.orders-gallery-panel,
.orders-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 28px;
  background: #fff;
  border-top: 1px solid #e7edf1;
}
.orders-gallery-panel label {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.icon-upload input,
.orders-gallery-panel input {
  display: none;
}
.orders-filter-strip input,
.orders-filter-strip select {
  flex: 1 1 190px;
}
.order-source-section {
  margin-top: 64px;
  background: #fff;
  border-top: 1px solid #e1e8ed;
  border-bottom: 1px solid #e1e8ed;
  box-shadow: 0 2px 8px #22323e14;
}
.order-source-section.received {
  margin-top: 34px;
}
.order-section-title {
  width: 100%;
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #788696;
  font-size: 30px;
  font-weight: 900;
  text-align: left;
}
.order-section-title span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
}
.order-source-table-head {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(130px, 1.1fr) minmax(160px, 1.4fr) minmax(
      120px,
      1fr
    );
  align-items: center;
  gap: 18px;
  padding: 0 36px;
  background: #e7f5ff;
  color: #7b8998;
  font-size: 22px;
  font-weight: 800;
}
.order-source-list {
  display: grid;
}
.source-order-row {
  border-bottom: 1px solid #e5ebef;
  background: #fff;
}
.source-order-summary {
  width: 100%;
  min-height: 84px;
  display: grid;
  grid-template-columns:
    minmax(130px, 1.1fr) minmax(160px, 1.4fr) minmax(90px, 0.9fr)
    30px;
  align-items: center;
  gap: 18px;
  padding: 0 36px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #7b8794;
  text-align: left;
}
.source-order-summary span,
.source-order-summary strong,
.source-order-summary b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
}
.source-order-summary strong,
.source-order-summary b {
  color: #667382;
  font-weight: 900;
}
.source-order-row.expanded .source-order-summary,
.source-order-detail {
  background: #e7f5ff;
}
.source-order-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 42px;
  padding: 18px 36px 34px;
  color: #263445;
}
.source-order-detail span {
  display: block;
  margin-bottom: 26px;
  color: #263445;
  font-size: 18px;
}
.source-order-detail strong {
  display: block;
  color: #667382;
  font-size: 20px;
}
.source-order-icons {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 22px;
  padding-top: 34px;
}
.source-order-icons button,
.source-order-icons .icon-upload {
  width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8c97a3;
}
.source-order-icons button:hover,
.source-order-icons .icon-upload:hover {
  color: #0c3042;
}
.source-order-icons .icon-upload.has-receipt {
  color: #24a15b;
}
.order-receipt-strip,
.receipt-attachment-panel {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid rgba(36, 161, 91, 0.16);
  border-radius: 14px;
  background: #24a15b0f;
}
.order-receipt-strip span,
.receipt-attachment-panel span {
  color: #667382;
  font-size: 14px;
}
.order-receipt-strip button,
.receipt-chip-list button,
.receipt-attachment-panel label,
.receipt-preview-modal a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(36, 161, 91, 0.18);
  border-radius: 999px;
  background: #ffffffc2;
  color: #14384a;
  font-weight: 700;
  text-decoration: none;
}
.receipt-attachment-panel {
  justify-content: space-between;
  margin: 16px 0;
}
.receipt-attachment-panel > div:first-child {
  display: grid;
  gap: 4px;
}
.receipt-attachment-panel input,
.source-order-icons .icon-upload input {
  display: none;
}
.receipt-chip-list {
  flex: 1 1 100%;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.receipt-chip.with-thumb {
  min-height: 44px;
  max-width: min(100%, 230px);
  padding: 4px 11px 4px 5px;
  border-radius: 13px;
}
.receipt-chip img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: cover;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(63, 82, 108, 0.1);
}
.receipt-chip span {
  min-width: 0;
  max-width: 156px;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.receipt-preview-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background: #09151f75;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.receipt-preview-modal {
  width: min(720px, 100%);
  max-height: min(820px, 92vh);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 22px;
  background: #fafcffeb;
  box-shadow: 0 28px 80px #12263842;
}
.receipt-preview-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.receipt-preview-modal header button {
  width: 38px;
  min-height: 38px;
  border: 0;
  border-radius: 50%;
  background: #3f526c1a;
  font-size: 24px;
}
.receipt-preview-modal img,
.receipt-preview-modal iframe {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border: 0;
  border-radius: 14px;
  background: #fff;
}
.receipt-preview-modal iframe {
  min-height: 62vh;
}
@keyframes mobileAiSheen {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  to {
    background-position: 0% 50%;
  }
}
@media (max-width: 760px) {
  :root {
    --mobile-ai-line: rgba(88, 114, 145, 0.13);
    --mobile-ai-card: rgba(255, 255, 255, 0.78);
    --mobile-ai-shadow: 0 18px 46px rgba(28, 43, 67, 0.13);
  }
  body {
    background:
      linear-gradient(
        135deg,
        #4285f414,
        #34a8530f 34%,
        #fbbc050f 66%,
        #ea43350d
      ),
      #f5f7fb;
  }
  .workspace {
    position: relative;
    background: linear-gradient(180deg, #f7faffd1, #f2f6fcf0), #f5f7fb;
  }
  .workspace:before {
    content: "";
    position: sticky;
    top: 0;
    z-index: 24;
    display: block;
    height: 3px;
    margin: 0 14px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      #4285f4,
      #34a853,
      #fbbc05,
      #ea4335,
      #4285f4
    );
    background-size: 240% 100%;
    animation: mobileAiSheen 7s ease-in-out infinite;
  }
  .topbar {
    margin: 8px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 24px;
    background: #ffffffb8;
    box-shadow: var(--mobile-ai-shadow);
    backdrop-filter: saturate(190%) blur(26px);
    -webkit-backdrop-filter: saturate(190%) blur(26px);
  }
  .topbar select,
  .topbar button,
  .venue-enter,
  .order-source-actions button,
  .order-search-bar button,
  .order-checkout-head button,
  .orders-action-grid button,
  .source-order-icons button,
  .source-order-icons .icon-upload,
  .receipt-attachment-panel label,
  .receipt-chip-list button {
    transition:
      transform 0.16s ease,
      box-shadow 0.16s ease,
      background 0.16s ease;
  }
  .topbar button:active,
  .topbar select:active,
  .venue-enter:active,
  .order-source-actions button:active,
  .order-search-bar button:active,
  .order-checkout-head button:active,
  .orders-action-grid button:active,
  .source-order-icons button:active,
  .source-order-icons .icon-upload:active,
  .receipt-attachment-panel label:active,
  .receipt-chip-list button:active {
    transform: scale(0.97);
  }
  .page,
  .orders-overview-page,
  .order-receive-page {
    background: transparent;
  }
  .panel,
  .kpi,
  .orders-source-head,
  .orders-action-grid,
  .orders-filter-strip,
  .order-source-section,
  .receive-sheet,
  .receipt-attachment-panel,
  .procurement-total-card,
  .procurement-panel,
  .procurement-stat-grid article,
  .procurement-current-venue {
    border-color: var(--mobile-ai-line);
    background: var(--mobile-ai-card);
    box-shadow: var(--mobile-ai-shadow);
    backdrop-filter: saturate(185%) blur(24px);
    -webkit-backdrop-filter: saturate(185%) blur(24px);
  }
  .orders-source-head,
  .order-source-section,
  .receive-sheet {
    border-radius: 24px;
  }
  .orders-action-grid button.gallery,
  .order-checkout-panel > button.primary,
  .receive-action-bar .primary,
  .order-floating-cart {
    background: linear-gradient(135deg, #0f3550, #1f7a9a 50%, #33c475);
    background-size: 180% 180%;
    animation: mobileAiSheen 8s ease-in-out infinite;
  }
  .order-checkout-panel,
  .receipt-preview-modal,
  .modal-panel {
    border-color: #ffffffb8;
    background: linear-gradient(180deg, #ffffffe8, #f7faffc7), #ffffffd1;
  }
  .order-product-row,
  .source-order-row,
  .received-month-group button {
    transition:
      transform 0.17s ease,
      background 0.17s ease;
  }
  .order-product-row:active,
  .source-order-row:active,
  .received-month-group button:active {
    transform: scale(0.992);
  }
}
.received-summary-row {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 42px;
  background: #fff;
  border-top: 1px solid #e5ebef;
  border-bottom: 1px solid #e5ebef;
  color: #263445;
  font-size: 18px;
}
.received-history {
  background: #fff;
}
.received-month-group h3 {
  min-height: 94px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 42px;
  border-bottom: 1px solid #e9eef2;
  color: #7b8794;
  font-size: 24px;
}
.received-month-group button {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 30px;
  align-items: center;
  gap: 18px;
  padding: 0 42px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #7b8794;
  text-align: left;
  font-size: 22px;
  font-weight: 800;
}
.orders-empty-state {
  padding: 28px 36px;
  color: #7b8794;
  background: #fff;
}
.orders-load-more {
  width: calc(100% - 72px);
  min-height: 48px;
  margin: 18px 36px 24px;
  border: 1px solid rgba(22, 126, 168, 0.24);
  border-radius: 14px;
  background: #e7f5ffb8;
  color: #137ea5;
  font-size: 16px;
  font-weight: 800;
}
.receive-topbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  background: #0d3446;
  color: #fff;
}
.receive-topbar button,
.receive-topbar .icon-upload {
  width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.receive-topbar h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}
.receive-topbar > div {
  display: flex;
  gap: 16px;
}
.receive-sheet {
  background: #fff;
}
.receive-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  padding: 42px 36px 18px;
}
.receive-title-grid h2 {
  margin: 0 0 30px;
  color: #263445;
  font-size: 34px;
  line-height: 1.35;
  text-transform: uppercase;
}
.receive-title-grid p,
.receive-title-grid label {
  color: #7b8794;
  font-size: 18px;
  font-weight: 800;
}
.receive-title-grid input,
.receive-title-grid textarea {
  width: 100%;
  margin-top: 10px;
  min-height: 62px;
  font-size: 18px;
}
.receive-title-grid textarea {
  padding: 12px;
  resize: vertical;
}
.receive-title-grid button {
  min-height: 54px;
  margin-top: 22px;
  font-size: 17px;
  font-weight: 800;
}
.receive-meta-side {
  display: grid;
  align-content: start;
  gap: 34px;
}
.receive-meta-side strong {
  justify-self: end;
  color: #263445;
  font-size: 18px;
}
.receive-total-row {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 36px;
}
.receive-total-row h3 {
  margin: 0;
  color: #263445;
  font-size: 26px;
}
.receive-total-row strong {
  color: #0d3446;
  font-size: 42px;
}
.receive-line-list {
  display: grid;
  padding-bottom: 116px;
}
.receive-line-card {
  border-top: 1px solid #e5ebef;
  background: #fff;
}
.receive-line-head {
  min-height: 130px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 20px;
  padding: 20px 36px;
}
.receive-line-head img,
.receive-line-head .image-placeholder {
  width: 94px;
  height: 94px;
  border-radius: 0;
}
.receive-line-head strong,
.receive-line-head span,
.receive-line-head small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.receive-line-head strong {
  color: #263445;
  font-size: 20px;
}
.receive-line-head span,
.receive-line-head small {
  color: #6f7b86;
  font-size: 18px;
}
.receive-line-check {
  display: grid;
  place-items: center;
}
.receive-line-check input {
  width: 34px;
  height: 34px;
}
.receive-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.35fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 36px;
  background: linear-gradient(90deg, #e7f5ff 0, #e7f5ff 74%, #fff 74%, #fff);
}
.receive-edit-grid label,
.receive-edit-grid div {
  display: grid;
  gap: 10px;
  color: #7b8794;
  font-size: 18px;
}
.receive-edit-grid input {
  min-height: 58px;
  background: #fff;
  font-size: 18px;
  text-align: center;
}
.receive-edit-grid strong {
  color: #7b8794;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
.receive-action-bar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 58;
  width: min(944px, calc(100vw - 64px));
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 180px 180px;
  gap: 22px;
  align-items: center;
  padding: 12px 28px;
  transform: translate(-50%);
  background: #f8fafcf5;
  border-top: 1px solid #dce4ea;
  border-inline: 1px solid #dfe7ed;
  box-shadow: 0 -2px 12px #1624301f;
}
.receive-action-bar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5d6976;
  font-size: 18px;
  font-weight: 800;
}
.receive-action-bar input {
  width: 28px;
  height: 28px;
}
.receive-action-bar button {
  min-height: 56px;
  border-radius: 6px;
  background: #2eb84f;
  border-color: #279f43;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.orders-source-head {
  min-height: 124px;
  padding: 24px 32px 18px;
}
.orders-source-head h1 {
  margin-bottom: 8px;
  font-size: 26px;
}
.orders-source-head p {
  font-size: 16px;
}
.orders-source-head button {
  width: 40px;
  min-height: 40px;
}
.orders-action-grid {
  gap: 18px 28px;
  padding: 22px 36px 26px;
}
.orders-action-grid button {
  min-height: 60px;
  font-size: 17px;
}
.order-source-section {
  margin-top: 48px;
}
.order-source-section.received {
  margin-top: 26px;
}
.order-section-title {
  min-height: 68px;
  padding: 0 34px;
  font-size: 24px;
}
.order-section-title span:last-child {
  font-size: 17px;
}
.order-source-table-head {
  min-height: 54px;
  padding: 0 34px;
  font-size: 16px;
}
.source-order-summary {
  min-height: 62px;
  padding: 0 34px;
}
.source-order-summary span,
.source-order-summary strong,
.source-order-summary b {
  font-size: 16px;
}
.source-order-detail {
  gap: 12px 34px;
  padding: 12px 34px 22px;
}
.source-order-detail span {
  margin-bottom: 12px;
  font-size: 14px;
}
.source-order-detail strong {
  font-size: 16px;
}
.source-order-icons {
  gap: 16px;
  padding-top: 16px;
}
.source-order-icons button,
.source-order-icons .icon-upload {
  width: 34px;
  min-height: 34px;
}
.received-summary-row {
  min-height: 56px;
  padding: 0 34px;
  font-size: 15px;
}
.received-month-group h3 {
  min-height: 62px;
  padding: 0 34px;
  font-size: 18px;
}
.received-month-group button {
  min-height: 62px;
  padding: 0 34px;
  font-size: 17px;
}
.orders-empty-state {
  padding: 20px 34px;
}
.receive-topbar {
  min-height: 60px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 0 20px;
}
.receive-topbar button,
.receive-topbar .icon-upload {
  width: 38px;
  min-height: 38px;
}
.receive-topbar h1 {
  font-size: 24px;
}
.receive-title-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 30px 34px 12px;
}
.receive-title-grid h2 {
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 1.25;
}
.receive-title-grid p,
.receive-title-grid label {
  font-size: 15px;
}
.receive-title-grid input,
.receive-title-grid textarea {
  min-height: 48px;
  margin-top: 8px;
  font-size: 15px;
}
.receive-title-grid button {
  min-height: 44px;
  margin-top: 16px;
  font-size: 15px;
}
.receive-meta-side {
  gap: 24px;
}
.receive-meta-side strong {
  font-size: 15px;
}
.receive-total-row {
  min-height: 78px;
  padding: 0 34px;
}
.receive-total-row h3 {
  font-size: 21px;
}
.receive-total-row strong {
  font-size: 34px;
}
.receive-line-list {
  padding-bottom: 94px;
}
.receive-line-head {
  min-height: 100px;
  grid-template-columns: 88px minmax(0, 1fr) 44px;
  gap: 16px;
  padding: 14px 34px;
}
.receive-line-head img,
.receive-line-head .image-placeholder {
  width: 74px;
  height: 74px;
}
.receive-line-head .image-placeholder {
  font-size: 13px;
}
.receive-line-head strong {
  font-size: 17px;
}
.receive-line-head span,
.receive-line-head small {
  font-size: 15px;
}
.receive-line-check input {
  width: 28px;
  height: 28px;
}
.receive-edit-grid {
  gap: 14px;
  padding: 16px 34px;
}
.receive-edit-grid label,
.receive-edit-grid div {
  gap: 8px;
  font-size: 15px;
}
.receive-edit-grid input {
  min-height: 44px;
  font-size: 15px;
}
.receive-edit-grid strong {
  font-size: 15px;
}
.receive-action-bar {
  min-height: 66px;
  grid-template-columns: minmax(140px, 1fr) 150px 150px;
  gap: 16px;
  padding: 8px 24px;
}
.receive-action-bar label {
  font-size: 15px;
}
.receive-action-bar input {
  width: 22px;
  height: 22px;
}
.receive-action-bar button {
  min-height: 46px;
  font-size: 17px;
}
.supplier-summary {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.supplier-summary h3 {
  margin: 0;
  font-size: 14px;
}
.supplier-summary article {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}
.supplier-summary article.warn {
  border-color: #efc477;
  background: #fff8e9;
}
.supplier-summary article.ok {
  border-color: #a8d9b8;
  background: #f0fbf3;
}
.supplier-summary span {
  font-weight: 700;
}
.supplier-summary b {
  font-size: 18px;
}
.supplier-summary small,
.supplier-summary em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.order-split-preview {
  display: grid;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.order-split-preview h3 {
  margin: 0;
  font-size: 14px;
}
.order-split-preview > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.order-split-preview article {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}
.order-split-preview article.ok {
  border-color: #a8d9b8;
  background: #f1fbf4;
}
.order-split-preview article.warn {
  border-color: #efc477;
  background: #fff8e9;
}
.order-split-preview article header,
.order-preview-lines div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}
.order-split-preview article header strong,
.order-split-preview article header small {
  display: block;
}
.order-split-preview article header small,
.order-preview-lines small,
.order-preview-lines em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.order-split-preview article header b,
.order-preview-lines b {
  white-space: nowrap;
}
.order-preview-lines {
  display: grid;
  gap: 6px;
}
.order-preview-lines div {
  padding-top: 6px;
  border-top: 1px solid rgba(208, 220, 229, 0.75);
}
.order-preview-lines span {
  min-width: 0;
  font-weight: 800;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-dot {
  color: var(--green);
  font-weight: 700;
}
.report-thumb {
  height: 142px;
  border-radius: 4px;
  background: #edf3f6;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}
.report-card label,
.recipe-card label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}
.permission-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}
.invite-panel {
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr) minmax(210px, 1fr) 150px minmax(220px, 1.1fr)
    auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.invite-panel > div:first-child {
  display: grid;
  gap: 4px;
}
.invite-panel strong {
  color: var(--text);
  font-size: 15px;
}
.invite-panel span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.employee-list {
  display: grid;
  gap: 12px;
  align-content: start;
}
.employee-card {
  display: grid;
  gap: 10px;
}
.venue-access-list {
  max-height: 150px;
  overflow: auto;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}
.venue-access-list.compact {
  max-height: 92px;
  min-height: 42px;
}
.venue-access-list label {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
}
.employee-card.active {
  border-color: var(--blue);
}
.employee-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.employee-meta b {
  color: var(--green);
}
.employee-meta b.pending {
  color: var(--amber);
}
.employee-meta small {
  color: var(--muted);
}
.permission-table td:not(:first-child):not(:nth-child(2)),
.permission-table th:not(:first-child):not(:nth-child(2)) {
  text-align: center;
}
.public-order {
  min-height: 100vh;
  background: #ecf3f6;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 18px 16px 40px;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  background: #08162070;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-panel {
  width: min(820px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px #0a1d2b42;
}
.modal-panel > header {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.modal-panel h2 {
  margin: 0;
  font-size: 18px;
}
.group-manager {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.group-editor {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 90px auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}
.group-editor span {
  color: var(--muted);
  font-size: 13px;
}
.supplier-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}
.supplier-detail label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.supplier-detail .wide {
  grid-column: 1 / -1;
}
.product-detail-photo {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}
.product-detail-photo span:last-child {
  color: var(--muted);
  font-size: 12px;
}
.product-variant-editor {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dce4ea;
  background: #f8fbfd;
}
.product-variant-editor > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.product-variant-editor > div:first-child strong {
  color: #263445;
  font-size: 14px;
}
.variant-editor-head,
.variant-editor-row {
  display: grid;
  grid-template-columns:
    46px minmax(110px, 1fr) minmax(120px, 1fr) 92px minmax(90px, 0.8fr)
    minmax(90px, 0.8fr) 64px;
  gap: 6px;
  align-items: center;
}
.variant-editor-head {
  color: #7b8794;
  font-size: 11px;
  font-weight: 800;
}
.variant-editor-row input,
.variant-editor-row button {
  min-height: 36px;
  font-size: 12px;
}
.variant-editor-row label {
  place-items: center;
}
.product-variant-editor small {
  color: #7b8794;
}
.supplier-detail textarea {
  min-height: 92px;
  padding: 10px;
  resize: vertical;
}
.public-logo {
  background: #143349;
  color: #fff;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 14px;
}
.public-logo-img {
  width: 220px;
  height: auto;
  margin-bottom: 14px;
}
.public-lang {
  position: fixed;
  right: 18px;
  top: 18px;
}
.order-sheet {
  width: min(720px, 100%);
  background: #fff;
  border: 1px solid #d6e0e7;
  margin-bottom: 24px;
}
.invalid-order {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 34px;
}
.invalid-order h1 {
  margin: 0;
  font-size: 24px;
}
.invalid-order p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.invalid-order code {
  color: var(--blue);
  overflow-wrap: anywhere;
}
.order-head {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  padding: 24px 28px;
}
.order-head h1 {
  margin: 0 0 24px;
  font-size: 28px;
}
.order-head p,
.order-head span,
.order-head small {
  color: #657486;
  display: block;
  margin: 6px 0;
}
.order-head div:last-child {
  text-align: right;
  display: grid;
  align-content: start;
  gap: 8px;
}
.order-head em {
  color: var(--orange);
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
}
.order-view-table {
  width: 100%;
  border-collapse: collapse;
}
.order-view-table th,
.order-view-table td {
  border: 1px solid #dce5eb;
  padding: 14px 18px;
  text-align: left;
}
.order-view-table td:first-child {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 12px;
}
.order-view-table td:first-child img {
  grid-row: span 3;
}
.order-view-table td:nth-child(2) {
  text-align: right;
}
.order-view-table td:nth-child(2) span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.qr {
  width: 240px;
  height: 240px;
  padding: 12px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  grid-template-rows: repeat(21, 1fr);
  gap: 2px;
}
.qr span {
  background: transparent;
}
.qr span.on {
  background: #43baca;
}
.qr-img {
  width: 240px;
  height: 240px;
  padding: 12px;
  background: #fff;
  object-fit: contain;
}
.expiry {
  text-align: center;
  color: #354353;
  font-size: 18px;
}
.plain-line {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 14px;
}
.mobile-tabbar {
  display: none;
}
@media (max-width: 1040px) {
  .sidebar {
    width: 280px;
  }
  .kpi-grid,
  .kpi-grid.compact {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .stock-report-tools,
  .invite-panel {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .permission-layout,
  .catalog-workbench,
  .partial-layout,
  .par-workbench {
    grid-template-columns: 1fr;
  }
  .catalog-groups,
  .par-category-list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .source-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .boot-shell {
    align-items: start;
    padding: 88px 16px 24px;
  }
  .boot-card {
    gap: 16px;
    padding: 18px;
    box-shadow: none;
  }
  .boot-card img {
    width: 168px;
    max-height: 86px;
  }
  .boot-copy h1 {
    font-size: 22px;
  }
  :root {
    --ink: #1d1d1f;
    --muted: #6e6e73;
    --line: #e5e5ea;
    --canvas: #f5f5f7;
    --panel: #ffffff;
    --blue: #007aff;
    --shadow: none;
  }
  body {
    background: var(--canvas);
    font-size: 14px;
  }
  button,
  .file-button,
  .file-chip,
  input,
  select,
  textarea {
    min-height: 44px;
    border-radius: 8px;
    border-color: var(--line);
    font-size: 14px;
  }
  button,
  .file-button,
  .file-chip {
    background: #fff;
    padding: 0 12px;
  }
  button.primary {
    background: #34c759;
    border-color: #34c759;
  }
  button.active {
    background: #eef6ff;
    border-color: #8ec5ff;
    color: #007aff;
  }
  .workspace {
    padding-top: 64px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .venue-gate {
    align-items: start;
    padding: 24px;
  }
  .venue-gate-panel {
    gap: 14px;
    padding: 18px;
    border-radius: 8px;
    box-shadow: none;
  }
  .venue-gate-panel > img {
    width: 200px;
    max-width: 100%;
    max-height: 102px;
  }
  .venue-gate-head h1 {
    font-size: 26px;
  }
  .venue-gate-head p {
    line-height: 1.55;
  }
  .venue-gate-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 94px;
    gap: 8px;
  }
  .venue-picker-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .venue-pick {
    min-height: 94px;
    border-radius: 8px;
  }
  .venue-enter {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 52px;
    justify-self: stretch;
    margin-top: 4px;
    box-shadow: 0 10px 24px #34c75933;
  }
  .topbar {
    height: 64px;
    min-height: 64px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: var(--nav);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 3px 12px #0718242e;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hamburger {
    flex: 0 0 36px;
    width: 36px;
    min-height: 36px;
    border: 0;
    border-radius: 4px;
    background: transparent;
  }
  .hamburger span,
  .hamburger:before,
  .hamburger:after {
    background: #dceaf1;
  }
  .top-title {
    flex: 0 0 auto;
    min-width: 0;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 19px;
    font-weight: 800;
  }
  .venue-select,
  .employee-select {
    width: auto;
    max-width: none;
  }
  .venue-select {
    flex: 1 1 128px;
    min-width: 104px;
    max-width: 158px;
    background: var(--nav-deep);
    border-color: #ffffff14;
    color: #fff;
    border-radius: 4px;
  }
  .lang-select {
    flex: 0 0 72px;
    width: 72px;
    background: transparent;
    border-color: transparent;
    color: #fff;
    padding-right: 4px;
  }
  .topbar select option {
    color: var(--ink);
  }
  .employee-select,
  .datacenter,
  .top-spacer,
  .user-pill {
    display: none;
  }
  .notice-bar {
    margin: 10px 12px 0;
    border-radius: 8px;
    box-shadow: none;
  }
  .page {
    padding: 12px 12px calc(104px + env(safe-area-inset-bottom));
  }
  .page-header {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
  }
  .page-header h1 {
    font-size: 22px;
    letter-spacing: 0;
  }
  .page-header p {
    line-height: 1.4;
    font-size: 12px;
  }
  .toolbar,
  .action-row,
  .inline-form,
  .summary-strip,
  .share-box,
  .stock-report-tools,
  .invite-panel {
    min-height: 0;
    padding: 10px;
    gap: 8px;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 12px;
  }
  .toolbar,
  .action-row,
  .inline-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
  .toolbar > input:first-child,
  .inline-form > button {
    grid-column: 1 / -1;
  }
  .action-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    align-items: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .action-row::-webkit-scrollbar {
    display: none;
  }
  .action-row > span,
  .action-row button {
    flex: 0 0 auto;
  }
  .action-row select {
    flex: 0 0 min(270px, 72vw);
  }
  .toolbar input,
  .toolbar select,
  .action-row select,
  .inline-form input,
  .inline-form select,
  .inline-form textarea,
  .stock-report-tools label,
  .invite-panel input,
  .invite-panel select {
    width: 100%;
  }
  .toolbar button,
  .action-row button,
  .inline-form button,
  .summary-strip button {
    flex: 1 1 auto;
  }
  .toolbar .checkline,
  .inline-form .checkline {
    min-width: 0;
    width: 100%;
  }
  .summary-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-strip > span,
  .summary-strip > label,
  .summary-strip > code,
  .summary-strip > input,
  .summary-strip > select {
    min-width: 0;
  }
  .share-box {
    display: grid;
    grid-template-columns: 1fr;
  }
  .checkline {
    min-height: 44px;
    align-items: center;
  }
  .checkline input[type="checkbox"],
  .catalog-card-select input[type="checkbox"],
  .venue-access-list input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }
  .kpi-grid,
  .kpi-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
  }
  .kpi {
    min-height: 112px;
    border-radius: 8px;
    box-shadow: none;
    padding: 12px 8px;
    align-content: center;
  }
  .kpi strong {
    font-size: 24px;
    line-height: 1.05;
  }
  .kpi h3 {
    font-size: 13px;
  }
  .kpi span {
    font-size: 12px;
  }
  .chart-panel,
  .dashboard-controls,
  .stocktake-progress article,
  .activity-list article,
  .venue-card,
  .report-card,
  .recipe-card,
  .par-card,
  .employee-card,
  .cart-panel,
  .order-list,
  .partial-board,
  .par-category-list,
  .category-block,
  .table-wrap,
  .permission-table-wrap,
  .plain-line,
  .stock-report-history details,
  .catalog-card {
    border-radius: 8px;
    box-shadow: none;
  }
  .chart-panel,
  .dashboard-controls,
  .cart-panel,
  .partial-board,
  .par-category-list {
    padding: 12px;
  }
  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 3px;
    min-height: calc(76px + env(safe-area-inset-bottom));
    padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
    background: #fffffff5;
    border-top: 1px solid rgba(198, 198, 200, 0.76);
    box-shadow: 0 -10px 30px #00000014;
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
  }
  .mobile-tabbar button {
    position: relative;
    min-width: 0;
    min-height: 58px;
    padding: 6px 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6e6e73;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: normal;
  }
  .mobile-tabbar button.active {
    background: #eaf3ff;
    color: #007aff;
  }
  .mobile-tabbar button.active:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: #007aff;
    transform: translate(-50%);
  }
  .mobile-tabbar span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 8px;
  }
  .chart-lines {
    height: 220px;
  }
  .activity-list article {
    display: grid;
    gap: 4px;
  }
  .activity-list span {
    white-space: normal;
  }
  .venue-grid,
  .report-grid,
  .recipe-grid,
  .par-grid {
    gap: 10px;
    margin: 12px 0;
  }
  .stock-report-tools,
  .invite-panel,
  .report-detail {
    grid-template-columns: 1fr;
  }
  .category-block > header,
  .product-row {
    grid-template-columns: 1fr;
  }
  .category-block > header {
    min-height: 0;
    padding: 12px;
  }
  .product-row,
  .order-line {
    padding: 12px;
  }
  .group-editor,
  .supplier-detail {
    grid-template-columns: 1fr;
  }
  .order-line {
    grid-template-columns: 48px 1fr;
  }
  .date-row {
    grid-template-columns: 1fr;
  }
  .cart-panel {
    position: static;
    gap: 10px;
  }
  .cart-panel strong {
    font-size: 28px;
  }
  .source-stepper,
  .supplier-info-strip,
  .status-tabs,
  .catalog-card-grid {
    grid-template-columns: 1fr;
  }
  .source-stepper,
  .supplier-info-strip,
  .status-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .source-stepper {
    gap: 6px;
  }
  .source-stepper span,
  .supplier-info-strip article,
  .status-tabs button {
    min-height: 52px;
    border-radius: 8px;
    box-shadow: none;
  }
  .catalog-workbench,
  .partial-layout,
  .par-workbench,
  .split,
  .permission-layout,
  .dashboard-layout {
    gap: 12px;
  }
  .catalog-groups,
  .par-category-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px 4px;
    scrollbar-width: none;
  }
  .catalog-groups::-webkit-scrollbar,
  .par-category-list::-webkit-scrollbar {
    display: none;
  }
  .catalog-groups button,
  .par-category-list button {
    flex: 0 0 min(78vw, 290px);
    min-height: 58px;
    border-radius: 8px;
    padding: 8px 10px;
  }
  .catalog-card-grid {
    gap: 10px;
  }
  .catalog-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 10px;
  }
  .catalog-card-select,
  .catalog-card .row-actions {
    grid-column: 1 / -1;
  }
  .catalog-card-image {
    grid-column: 1;
    width: 68px;
    aspect-ratio: 1;
  }
  .catalog-card > div:not(.row-actions),
  .catalog-card dl {
    grid-column: 2;
    min-width: 0;
  }
  .catalog-card dl {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 4px 6px;
  }
  .catalog-card .row-actions {
    gap: 6px;
  }
  .catalog-card .row-actions button,
  .catalog-card .row-actions .file-chip {
    flex: 1 1 30%;
  }
  .table-wrap,
  .permission-table-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }
  .data-table th,
  .data-table td,
  .permission-table th,
  .permission-table td {
    padding: 10px 12px;
  }
  .data-table th,
  .permission-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f7f7f9;
  }
  .modal-backdrop {
    align-items: end;
    padding: 10px;
  }
  .modal-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 8px 8px 0 0;
    box-shadow: none;
  }
  .modal-panel > header {
    min-height: 54px;
    padding: 10px 12px;
  }
  .supplier-detail,
  .group-manager {
    padding: 12px;
  }
  .product-variant-editor {
    overflow-x: visible;
    padding: 10px;
  }
  .product-variant-editor > div:first-child {
    flex-wrap: wrap;
    align-items: stretch;
  }
  .product-variant-editor > div:first-child button {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }
  .variant-editor-head {
    display: none;
  }
  .variant-editor-row {
    min-width: 0;
    grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    padding: 8px;
    border: 1px solid #e5ebef;
    background: #fff;
  }
  .variant-editor-row label {
    grid-row: span 3;
  }
  .variant-editor-row input,
  .variant-editor-row button {
    min-width: 0;
    min-height: 34px;
    padding: 6px 8px;
    font-size: 12px;
  }
  .variant-editor-row button {
    grid-column: 2 / 4;
  }
  .order-head {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .order-head div:last-child {
    text-align: left;
  }
  .order-sheet {
    width: 100%;
    overflow: hidden;
  }
  .order-head h1 {
    font-size: 24px;
    margin-bottom: 14px;
  }
  .public-order {
    padding: 12px 10px 28px;
  }
  .public-logo-img {
    width: 180px;
  }
  .public-lang {
    position: static;
    justify-self: end;
    margin-bottom: 8px;
  }
  .qr-img,
  .qr {
    width: min(220px, 78vw);
    height: min(220px, 78vw);
  }
  .order-view-table,
  .order-view-table tbody,
  .order-view-table tr,
  .order-view-table th,
  .order-view-table td {
    box-sizing: border-box;
    display: block;
    width: 100%;
  }
  .order-view-table tr:first-child {
    display: grid;
    grid-template-columns: 1fr;
  }
  .order-view-table tr:first-child th:last-child {
    display: none;
  }
  .order-view-table th,
  .order-view-table td {
    border-width: 0 0 1px;
  }
  .order-view-table td:first-child {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .order-view-table td:first-child strong,
  .order-view-table td:first-child span,
  .order-view-table td:first-child small {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .order-view-table td:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }
  .order-view-table td:nth-child(2) span {
    margin-top: 0;
  }
  .order-view-table td:nth-child(2) b {
    margin-bottom: 8px;
    text-align: left;
  }
  .order-page {
    padding: 0 0 calc(24px + env(safe-area-inset-bottom));
    background: #fff;
  }
  .order-source-shell {
    border: 0;
    width: 100%;
  }
  .order-source-head {
    min-height: 92px;
    padding: 12px 18px 10px;
  }
  .order-source-head h1 {
    margin-bottom: 5px;
    font-size: 22px;
  }
  .order-source-head p {
    font-size: 13px;
  }
  .order-source-actions {
    gap: 10px;
  }
  .order-help-box,
  .order-search-panel,
  .order-search-bar,
  .order-context-strip {
    width: calc(100% - 40px);
  }
  .order-search-suggestions {
    grid-template-columns: 1fr;
    max-height: min(70vh, 520px);
    overflow: auto;
  }
  .order-tabbar {
    top: 88px;
    min-height: 70px;
    padding: 10px 14px 0;
    gap: 10px;
  }
  .order-tabs {
    gap: 20px;
    min-height: 46px;
  }
  .order-tabs button {
    min-height: 46px;
    padding-bottom: 9px;
    border-bottom-width: 4px;
    font-size: 15px;
  }
  .order-suggest-button {
    min-width: 132px;
    min-height: 46px;
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 13px;
  }
  .order-browse-grid {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .order-category-rail {
    top: 158px;
    max-height: calc(100vh - 240px);
  }
  .order-category-rail button {
    min-height: 58px;
    padding: 8px 7px;
  }
  .order-category-rail strong {
    font-size: 12px;
    line-height: 1.28;
  }
  .order-category-rail span {
    display: none;
  }
  .order-product-pane {
    padding: 12px 7px 116px 9px;
  }
  .order-product-heading {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
  }
  .order-product-heading h2 {
    font-size: 16px;
  }
  .order-product-heading small {
    font-size: 11px;
  }
  .order-product-row {
    grid-template-columns: 56px minmax(0, 1fr) 60px;
    gap: 6px;
    min-height: 92px;
    padding: 8px 0;
  }
  .order-product-photo {
    width: 54px;
    height: 54px;
  }
  .order-product-thumb,
  .order-product-photo .image-placeholder {
    width: 50px;
    height: 50px;
  }
  .order-add-button {
    right: 0;
    bottom: -9px;
    width: 34px;
    min-height: 34px;
  }
  .order-product-copy strong {
    font-size: 14px;
  }
  .order-product-copy span {
    font-size: 11px;
  }
  .order-product-copy small {
    font-size: 10px;
    line-height: 1.3;
  }
  .order-spec-select {
    min-height: 26px;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 10px;
  }
  .order-spec-single {
    padding: 1px 5px;
  }
  .order-product-price {
    gap: 4px;
  }
  .order-product-price span {
    font-size: 10px;
  }
  .order-product-price strong {
    font-size: 14px;
  }
  .order-quantity-stepper {
    gap: 4px;
  }
  .order-quantity-stepper button {
    width: 30px;
    min-height: 30px;
  }
  .order-quantity-stepper input {
    width: 48px;
    min-height: 30px;
    padding: 0 4px;
  }
  .order-floating-cart {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 58px;
    min-height: 58px;
  }
  .order-floating-cart span {
    min-width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .cart-drawer-backdrop {
    z-index: 63;
  }
  .order-checkout-panel {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 64;
    width: 100%;
    max-height: 82vh;
    max-width: 100%;
    overflow-y: auto;
    border-radius: 8px 8px 0 0;
    transform: translateY(100%);
  }
  .order-checkout-panel.open {
    transform: translateY(0);
  }
  .order-drawer-controls {
    grid-template-columns: 1fr;
  }
  .orders-overview-page,
  .order-receive-page {
    width: 100%;
    padding: 0 0 calc(96px + env(safe-area-inset-bottom));
    margin: 0;
    background: #f1f6f9;
    border-inline: 0;
    box-shadow: none;
    overflow: visible;
  }
  .order-receive-page {
    margin-top: -64px;
    padding-top: 70px;
  }
  .orders-source-head {
    min-height: 158px;
    padding: 18px 28px 20px;
  }
  .orders-source-head h1 {
    font-size: 30px;
  }
  .orders-source-head p {
    font-size: 19px;
  }
  .orders-action-grid {
    gap: 22px 26px;
    padding: 28px 36px 32px;
  }
  .orders-action-grid button {
    min-height: 76px;
    font-size: 18px;
  }
  .orders-filter-strip {
    display: none;
  }
  .orders-gallery-panel {
    padding: 12px 18px;
  }
  .order-source-section,
  .order-source-section.received {
    margin-top: 34px;
  }
  .order-section-title {
    min-height: 88px;
    padding: 0 28px;
    font-size: 30px;
  }
  .order-section-title span:last-child {
    font-size: 22px;
  }
  .order-source-table-head {
    min-height: 74px;
    grid-template-columns: 1fr 1.3fr 0.9fr;
    gap: 10px;
    padding: 0 28px;
    font-size: 20px;
  }
  .source-order-summary {
    min-height: 82px;
    grid-template-columns: 1fr 1.35fr 0.8fr 26px;
    gap: 10px;
    padding: 0 28px;
  }
  .source-order-summary span,
  .source-order-summary strong,
  .source-order-summary b {
    font-size: 18px;
  }
  .source-order-detail {
    grid-template-columns: 1fr 1fr;
    gap: 20px 26px;
    padding: 18px 28px 34px;
  }
  .source-order-detail span {
    margin-bottom: 24px;
    font-size: 17px;
  }
  .source-order-detail strong {
    font-size: 18px;
  }
  .source-order-icons {
    gap: 18px;
    padding-top: 30px;
  }
  .received-summary-row {
    min-height: 72px;
    padding: 0 42px;
    font-size: 17px;
  }
  .received-month-group h3 {
    min-height: 88px;
    padding: 0 42px;
    font-size: 24px;
  }
  .received-month-group button {
    min-height: 90px;
    padding: 0 42px;
    font-size: 22px;
  }
  .receive-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 58;
    min-height: 70px;
    padding: 0 18px;
  }
  .receive-topbar h1 {
    font-size: 28px;
  }
  .receive-title-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 38px 28px 14px;
  }
  .receive-title-grid h2 {
    font-size: 34px;
    line-height: 1.38;
  }
  .receive-title-grid p,
  .receive-title-grid label {
    font-size: 17px;
  }
  .receive-title-grid input,
  .receive-title-grid textarea {
    min-height: 60px;
  }
  .receive-meta-side {
    gap: 28px;
  }
  .receive-meta-side strong {
    font-size: 17px;
  }
  .receive-total-row {
    min-height: 104px;
    padding: 0 28px;
  }
  .receive-total-row h3 {
    font-size: 25px;
  }
  .receive-total-row strong {
    font-size: 40px;
  }
  .receive-line-list {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }
  .receive-line-head {
    min-height: 126px;
    grid-template-columns: 128px minmax(0, 1fr) 48px;
    gap: 18px;
    padding: 18px 28px;
  }
  .receive-line-head img,
  .receive-line-head .image-placeholder {
    width: 106px;
    height: 106px;
  }
  .receive-line-head strong {
    font-size: 20px;
  }
  .receive-line-head span,
  .receive-line-head small {
    font-size: 18px;
  }
  .receive-edit-grid {
    grid-template-columns: 1fr 1.35fr 1.35fr 1fr;
    gap: 14px;
    padding: 20px 28px;
  }
  .receive-edit-grid label,
  .receive-edit-grid div {
    font-size: 17px;
  }
  .receive-edit-grid input {
    min-height: 56px;
  }
  .receive-action-bar {
    left: 0;
    right: 0;
    width: auto;
    grid-template-columns: minmax(130px, 1fr) minmax(112px, 0.9fr) minmax(
        112px,
        0.9fr
      );
    gap: 12px;
    min-height: calc(86px + env(safe-area-inset-bottom));
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
    transform: none;
    border-inline: 0;
  }
  .receive-action-bar label {
    font-size: 17px;
  }
  .receive-action-bar button {
    min-height: 56px;
    font-size: 18px;
  }
  .orders-source-head {
    min-height: 96px;
    padding: 12px 24px 10px;
  }
  .orders-source-head h1 {
    margin-bottom: 6px;
    font-size: 22px;
  }
  .orders-source-head p {
    font-size: 13px;
  }
  .orders-source-head button {
    width: 38px;
    min-height: 38px;
  }
  .orders-action-grid {
    gap: 10px 12px;
    padding: 14px 24px 16px;
  }
  .orders-action-grid button {
    min-height: 50px;
    font-size: 14px;
  }
  .order-source-section {
    margin-top: 18px;
  }
  .order-section-title {
    min-height: 52px;
    padding: 0 22px;
    font-size: 20px;
  }
  .order-section-title span:last-child {
    font-size: 13px;
  }
  .order-source-table-head {
    min-height: 42px;
    padding: 0 22px;
    font-size: 13px;
  }
  .source-order-summary {
    min-height: 48px;
    padding: 0 22px;
  }
  .source-order-summary span,
  .source-order-summary strong,
  .source-order-summary b {
    font-size: 13px;
  }
  .source-order-detail {
    gap: 10px 18px;
    padding: 8px 22px 16px;
  }
  .source-order-detail span {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .source-order-detail strong {
    font-size: 13px;
  }
  .source-order-icons {
    gap: 12px;
    padding-top: 12px;
  }
  .source-order-icons button,
  .source-order-icons .icon-upload {
    width: 34px;
    min-height: 34px;
  }
  .received-summary-row {
    min-height: 48px;
    padding: 0 22px;
    font-size: 12px;
  }
  .received-month-group h3 {
    min-height: 50px;
    padding: 0 22px;
    font-size: 15px;
  }
  .received-month-group button {
    min-height: 50px;
    padding: 0 22px;
    font-size: 14px;
  }
  .order-receive-page {
    padding-top: 58px;
  }
  .receive-topbar {
    min-height: 58px;
    padding: 0 14px;
  }
  .receive-topbar button,
  .receive-topbar .icon-upload {
    width: 38px;
    min-height: 38px;
  }
  .receive-topbar h1 {
    font-size: 22px;
  }
  .receive-title-grid {
    gap: 16px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    padding: 18px 22px 8px;
  }
  .receive-title-grid h2 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.25;
  }
  .receive-title-grid p,
  .receive-title-grid label {
    font-size: 12px;
  }
  .receive-title-grid input,
  .receive-title-grid textarea {
    min-height: 44px;
    font-size: 14px;
  }
  .receive-title-grid button {
    min-height: 44px;
    margin-top: 10px;
    font-size: 13px;
  }
  .receive-meta-side {
    gap: 14px;
  }
  .receive-meta-side strong {
    font-size: 12px;
  }
  .receive-total-row {
    min-height: 60px;
    padding: 0 22px;
  }
  .receive-total-row h3 {
    font-size: 18px;
  }
  .receive-total-row strong {
    font-size: 28px;
  }
  .receive-line-list {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .receive-line-head {
    min-height: 82px;
    grid-template-columns: 72px minmax(0, 1fr) 34px;
    gap: 10px;
    padding: 10px 22px;
  }
  .receive-line-head img,
  .receive-line-head .image-placeholder {
    width: 64px;
    height: 64px;
  }
  .receive-line-head .image-placeholder {
    font-size: 12px;
  }
  .receive-line-head strong {
    font-size: 14px;
  }
  .receive-line-head span,
  .receive-line-head small {
    font-size: 12px;
  }
  .receive-line-check input {
    width: 28px;
    height: 28px;
  }
  .receive-edit-grid {
    gap: 8px;
    padding: 10px 22px;
  }
  .receive-edit-grid label,
  .receive-edit-grid div {
    gap: 6px;
    font-size: 12px;
  }
  .receive-edit-grid input {
    min-height: 40px;
    font-size: 13px;
  }
  .receive-action-bar {
    min-height: calc(66px + env(safe-area-inset-bottom));
    gap: 10px;
    padding: 7px 10px calc(9px + env(safe-area-inset-bottom));
  }
  .receive-action-bar label {
    font-size: 13px;
  }
  .receive-action-bar input {
    width: 22px;
    height: 22px;
  }
  .receive-action-bar button {
    min-height: 44px;
    font-size: 14px;
  }
}
:root {
  --ink: #1d1d1f;
  --muted: #6e7681;
  --line: rgba(60, 60, 67, 0.14);
  --panel: rgba(255, 255, 255, 0.84);
  --panel-solid: #ffffff;
  --canvas: #f5f6f8;
  --nav: rgba(248, 250, 253, 0.82);
  --nav-deep: rgba(255, 255, 255, 0.68);
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --blue: #007aff;
  --green: #34c759;
  --amber: #ff9f0a;
  --orange: #ff3b30;
  --shadow:
    0 1px 2px rgba(16, 24, 40, 0.05), 0 10px 28px rgba(16, 24, 40, 0.06);
  --soft-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
html {
  background: var(--canvas);
}
body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffffad, #f5f6f800 260px), var(--canvas);
}
button,
.file-button,
.file-chip,
input,
select,
textarea {
  border-color: var(--line);
  border-radius: 8px;
}
button,
.file-button,
.file-chip {
  background: #ffffffc7;
  color: var(--ink);
  box-shadow: var(--soft-shadow);
  transition:
    background 0.14s ease,
    border-color 0.14s ease,
    color 0.14s ease,
    transform 0.14s ease;
}
button:hover,
.file-button:hover,
.file-chip:hover {
  border-color: #007aff57;
  background: #fffffff5;
}
button:active,
.file-button:active,
.file-chip:active {
  transform: translateY(1px);
}
button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px #34c7592e;
}
button.active {
  background: #007aff1a;
  border-color: #007aff52;
  color: var(--blue);
}
input,
select,
textarea {
  background: #ffffffc7;
  color: var(--ink);
  box-shadow: inset 0 1px #ffffffad;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.file-button:focus-visible,
.file-chip:focus-visible {
  outline: 3px solid rgba(0, 122, 255, 0.18);
  outline-offset: 2px;
  border-color: #007aff80;
}
.workspace {
  min-height: 100vh;
  padding-top: 60px;
}
.topbar {
  background: var(--nav);
  color: var(--ink);
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  box-shadow:
    0 1px #ffffffa3,
    0 10px 26px #10182814;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.hamburger {
  border-radius: 8px;
}
.hamburger span,
.hamburger:before,
.hamburger:after {
  background: #2f3a45;
}
.top-title {
  color: var(--ink);
}
.venue-select,
.lang-select,
.employee-select {
  background: #ffffffa3;
  border-color: #3c3c4329;
  color: var(--ink);
}
.datacenter,
.user-pill small {
  color: #7a838d;
}
.user-pill {
  color: #2b3440;
}
.sidebar {
  background: #f7f9fcdb;
  border-right: 1px solid rgba(60, 60, 67, 0.14);
  box-shadow: 16px 0 42px #1018281f;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.brand-mark {
  background: #ffffffb3;
  border-bottom: 1px solid rgba(60, 60, 67, 0.1);
  color: var(--ink);
}
.close-sidebar {
  color: var(--ink);
  background: #ffffff9e;
  border-color: #3c3c431f;
}
.menu-backdrop,
.modal-backdrop {
  background: #121c263d;
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
}
.nav-button {
  border-radius: 8px;
  color: #3b4652;
}
.nav-button:hover,
.nav-button.active {
  background: #ffffffd1;
  color: var(--blue);
}
.page {
  background: transparent;
}
.page-header {
  align-items: end;
}
.page-header h1 {
  color: var(--ink);
  font-weight: 800;
}
.page-header p {
  color: var(--muted);
}
.notice-bar,
.toolbar,
.action-row,
.inline-form,
.summary-strip,
.share-box,
.stocktake-progress article,
.activity-list article,
.dashboard-controls,
.chart-panel,
.venue-card,
.report-card,
.recipe-card,
.par-card,
.employee-card,
.cart-panel,
.order-list,
.partial-board,
.par-category-list,
.category-block,
.table-wrap,
.permission-table-wrap,
.plain-line,
.stock-report-history details,
.catalog-card,
.catalog-table-panel,
.catalog-groups,
.supplier-detail,
.group-manager,
.product-detail-photo,
.product-variant-editor,
.group-editor,
.modal-panel {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}
.toolbar,
.action-row,
.inline-form,
.summary-strip,
.share-box,
.dashboard-controls,
.chart-panel,
.table-wrap,
.permission-table-wrap,
.modal-panel,
.catalog-card,
.catalog-table-panel {
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.kpi {
  background: var(--panel);
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}
.kpi strong,
.chart-panel h2,
.section-title {
  color: var(--ink);
}
.data-table,
.permission-table {
  background: transparent;
}
.data-table th,
.permission-table th {
  background: #f5f7faeb;
  color: #596574;
  letter-spacing: 0;
}
.data-table td,
.permission-table td {
  border-bottom-color: #3c3c431a;
}
.data-table tbody tr:hover,
.permission-table tbody tr:hover {
  background: #007aff0a;
}
.status-pill,
.catalog-card-select span,
.order-context-strip span,
.order-spec-single {
  border: 1px solid rgba(60, 60, 67, 0.1);
  background: #f5f7fadb;
}
.modal-panel {
  overflow: hidden auto;
}
.modal-panel > header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffffe0;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.catalog-groups button {
  border-radius: 8px;
}
.catalog-groups button.active {
  background: #007aff1a;
  color: var(--blue);
}
.catalog-card-image,
.image-placeholder,
.table-thumb,
.order-product-photo .image-placeholder,
.order-product-thumb,
.receive-line-head .image-placeholder {
  background: #f9fafce6;
  border-color: #3c3c431f;
}
.order-page {
  background: transparent;
}
.order-source-shell,
.orders-overview-page,
.order-receive-page,
.order-sheet {
  background: #ffffffb8;
  border-color: var(--line);
  box-shadow: var(--soft-shadow);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.order-source-head,
.order-tabbar,
.order-product-pane,
.orders-source-head,
.orders-action-grid,
.order-source-section,
.source-order-row,
.source-order-summary,
.received-summary-row,
.received-history,
.received-month-group h3,
.received-month-group button,
.orders-gallery-panel,
.orders-filter-strip,
.receive-sheet,
.receive-line-card,
.order-sheet,
.order-head {
  background: #ffffffdb;
}
.order-source-head,
.orders-source-head {
  border-bottom-color: #3c3c431a;
}
.order-tabbar {
  box-shadow: 0 1px #3c3c431a;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.order-tabs button.active {
  border-color: var(--blue);
  color: var(--blue);
}
.order-suggest-button {
  border-radius: 8px;
  background: #32c7d2;
  box-shadow: 0 10px 22px #32c7d22e;
}
.order-category-rail {
  background: #eff1f5e6;
}
.order-category-rail button.active,
.order-category-rail button:hover {
  background: #ffffffe6;
  color: var(--ink);
}
.order-product-row.selected {
  background: #007aff12;
}
.order-add-button,
.order-quantity-stepper button {
  background: #ffffffeb;
  box-shadow: 0 8px 18px #1018281f;
}
.order-floating-cart {
  background: var(--green);
  box-shadow: 0 16px 36px #34c75947;
}
.orders-action-grid {
  box-shadow: var(--soft-shadow);
}
.orders-action-grid button {
  border-radius: 8px;
  background: #0c3042eb;
  box-shadow: var(--soft-shadow);
}
.orders-action-grid button.gallery {
  background: var(--green);
}
.order-source-table-head,
.source-order-row.expanded .source-order-summary,
.source-order-detail {
  background: #007aff14;
}
.receive-topbar {
  background: #0d3446e6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.receive-edit-grid {
  background: linear-gradient(
    90deg,
    #007aff14 0,
    #007aff14 74%,
    #ffffffe0 74%,
    #ffffffe0
  );
}
.receive-action-bar {
  background: #f8fafde0;
  border-top-color: #3c3c4324;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.mobile-tabbar {
  display: none !important;
  background: #f8fafddb;
  border-top: 1px solid rgba(60, 60, 67, 0.14);
  box-shadow: 0 -12px 30px #10182814;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
@media (max-width: 640px) {
  :root {
    --canvas: #f5f6f8;
    --panel: rgba(255, 255, 255, 0.86);
    --shadow: var(--soft-shadow);
  }
  body {
    background: var(--canvas);
  }
  .topbar {
    background: #f8fafddb;
    color: var(--ink);
    border-bottom: 1px solid rgba(60, 60, 67, 0.14);
    box-shadow: 0 8px 24px #10182814;
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
  }
  .top-title,
  .venue-select,
  .lang-select {
    color: var(--ink);
  }
  .hamburger span,
  .hamburger:before,
  .hamburger:after {
    background: #2f3a45;
  }
  .venue-select,
  .lang-select {
    background: #ffffffb8;
    border-color: #3c3c431f;
    border-radius: 8px;
  }
  .toolbar,
  .action-row,
  .inline-form,
  .summary-strip,
  .share-box,
  .chart-panel,
  .dashboard-controls,
  .stocktake-progress article,
  .activity-list article,
  .venue-card,
  .report-card,
  .recipe-card,
  .par-card,
  .employee-card,
  .cart-panel,
  .order-list,
  .partial-board,
  .par-category-list,
  .category-block,
  .table-wrap,
  .permission-table-wrap,
  .plain-line,
  .stock-report-history details,
  .catalog-card,
  .modal-panel {
    background: #ffffffe0;
    border-color: #3c3c431f;
    box-shadow: var(--soft-shadow);
  }
  .order-source-shell,
  .orders-overview-page,
  .order-receive-page,
  .order-source-head,
  .order-tabbar,
  .order-product-pane,
  .orders-source-head,
  .orders-action-grid,
  .order-source-section {
    background: #ffffffe0;
  }
  .mobile-tabbar {
    display: none !important;
    background: #f8fafde0;
  }
  .mobile-tabbar button.active {
    background: #007aff1a;
    color: var(--blue);
  }
  .toolbar .checkline,
  .inline-form .checkline,
  .action-row .checkline {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    white-space: nowrap;
  }
}
.orders-overview-page,
.order-receive-page {
  width: min(900px, calc(100vw - 48px));
  padding-bottom: 72px;
}
.orders-source-head {
  min-height: 104px;
  padding: 18px 28px 14px;
}
.orders-source-head h1 {
  margin-bottom: 5px;
  font-size: 22px;
  line-height: 1.18;
}
.orders-source-head p {
  font-size: 14px;
}
.orders-source-head button {
  width: 34px;
  min-height: 34px;
}
.orders-action-grid {
  gap: 12px 16px;
  padding: 14px 28px 18px;
}
.orders-action-grid button {
  min-height: 46px;
  font-size: 14px;
  font-weight: 750;
}
.orders-gallery-panel,
.orders-filter-strip {
  gap: 8px;
  padding: 8px 22px;
}
.orders-gallery-panel label {
  min-height: 34px;
  font-size: 12px;
}
.order-source-section {
  margin-top: 24px;
}
.order-source-section.received {
  margin-top: 18px;
}
.order-section-title {
  min-height: 46px;
  padding: 0 24px;
  font-size: 18px;
}
.order-section-title span:last-child {
  font-size: 12px;
}
.order-source-table-head {
  min-height: 34px;
  gap: 12px;
  padding: 0 24px;
  font-size: 12px;
}
.source-order-summary {
  min-height: 42px;
  gap: 12px;
  padding: 0 24px;
}
.source-order-summary span,
.source-order-summary strong,
.source-order-summary b {
  font-size: 12px;
}
.source-order-detail {
  gap: 8px 18px;
  padding: 8px 24px 12px;
}
.source-order-detail span {
  margin-bottom: 5px;
  font-size: 11px;
}
.source-order-detail strong {
  font-size: 12px;
}
.source-order-icons {
  gap: 10px;
  padding-top: 8px;
}
.source-order-icons button,
.source-order-icons .icon-upload {
  width: 28px;
  min-height: 28px;
}
.received-summary-row {
  min-height: 42px;
  padding: 0 26px;
  font-size: 12px;
}
.received-month-group h3 {
  min-height: 42px;
  padding: 0 26px;
  font-size: 13px;
}
.received-month-group button {
  min-height: 42px;
  gap: 12px;
  padding: 0 26px;
  font-size: 13px;
}
.orders-empty-state {
  padding: 14px 24px;
  font-size: 12px;
}
.orders-load-more {
  width: calc(100% - 48px);
  min-height: 34px;
  margin: 8px 24px 14px;
  border-radius: 12px;
  font-size: 12px;
}
.receive-topbar {
  min-height: 48px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  padding: 0 14px;
}
.receive-topbar button,
.receive-topbar .icon-upload {
  width: 32px;
  min-height: 32px;
}
.receive-topbar h1 {
  font-size: 18px;
}
.receive-topbar > div {
  gap: 8px;
}
.receive-title-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  padding: 18px 24px 8px;
}
.receive-title-grid h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}
.receive-title-grid p,
.receive-title-grid label {
  font-size: 12px;
}
.receive-title-grid input,
.receive-title-grid textarea {
  min-height: 38px;
  margin-top: 5px;
  font-size: 13px;
}
.receive-title-grid textarea {
  padding: 8px;
}
.receive-title-grid button {
  min-height: 36px;
  margin-top: 8px;
  font-size: 12px;
}
.receive-meta-side {
  gap: 12px;
}
.receive-meta-side strong {
  font-size: 12px;
}
.receive-total-row {
  min-height: 54px;
  padding: 0 24px;
}
.receive-total-row h3 {
  font-size: 16px;
}
.receive-total-row strong {
  font-size: 26px;
}
.receive-line-list {
  padding-bottom: 72px;
}
.receive-line-head {
  min-height: 70px;
  grid-template-columns: 56px minmax(0, 1fr) 30px;
  gap: 10px;
  padding: 8px 24px;
}
.receive-line-head img,
.receive-line-head .image-placeholder {
  width: 48px;
  height: 48px;
}
.receive-line-head .image-placeholder {
  font-size: 10px;
}
.receive-line-head strong {
  font-size: 13px;
}
.receive-line-head span,
.receive-line-head small {
  font-size: 11px;
}
.receive-line-check input {
  width: 22px;
  height: 22px;
}
.receive-edit-grid {
  gap: 8px;
  padding: 8px 24px;
}
.receive-edit-grid label,
.receive-edit-grid div {
  gap: 5px;
  font-size: 11px;
}
.receive-edit-grid input {
  min-height: 34px;
  font-size: 12px;
}
.receive-edit-grid strong {
  font-size: 12px;
}
.receive-action-bar {
  width: min(900px, calc(100vw - 48px));
  min-height: 54px;
  grid-template-columns: minmax(120px, 1fr) 130px 130px;
  gap: 10px;
  padding: 7px 18px;
}
.receive-action-bar label {
  font-size: 12px;
}
.receive-action-bar input {
  width: 18px;
  height: 18px;
}
.receive-action-bar button {
  min-height: 38px;
  font-size: 13px;
}
@media (max-width: 640px) {
  .orders-overview-page,
  .order-receive-page {
    width: 100%;
    min-height: calc(100vh - 64px);
    padding-bottom: 56px;
  }
  .orders-source-head {
    min-height: 78px;
    padding: 9px 16px 8px;
  }
  .orders-source-head h1 {
    margin-bottom: 3px;
    font-size: 19px;
  }
  .orders-source-head p {
    font-size: 12px;
  }
  .orders-source-head button {
    width: 32px;
    min-height: 32px;
  }
  .orders-action-grid {
    gap: 8px;
    padding: 10px 16px 12px;
  }
  .orders-action-grid button {
    min-height: 42px;
    padding: 0 8px;
    font-size: 12px;
  }
  .order-source-section,
  .order-source-section.received {
    margin-top: 12px;
  }
  .order-section-title {
    min-height: 42px;
    padding: 0 16px;
    font-size: 17px;
  }
  .order-section-title span:last-child {
    font-size: 11px;
  }
  .order-source-table-head {
    min-height: 34px;
    grid-template-columns: minmax(84px, 1fr) minmax(104px, 1.2fr) minmax(
        72px,
        0.8fr
      );
    gap: 8px;
    padding: 0 16px;
    font-size: 11px;
  }
  .source-order-summary {
    min-height: 40px;
    grid-template-columns:
      minmax(84px, 1fr) minmax(104px, 1.2fr) minmax(58px, 0.75fr)
      20px;
    gap: 8px;
    padding: 0 16px;
  }
  .source-order-summary span,
  .source-order-summary strong,
  .source-order-summary b {
    font-size: 11px;
  }
  .source-order-detail {
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding: 8px 16px 10px;
  }
  .source-order-detail span {
    margin-bottom: 3px;
    font-size: 10px;
  }
  .source-order-detail strong {
    font-size: 11px;
  }
  .source-order-icons {
    gap: 8px;
    padding-top: 6px;
  }
  .source-order-icons button,
  .source-order-icons .icon-upload {
    width: 28px;
    min-height: 28px;
  }
  .received-summary-row {
    min-height: 38px;
    padding: 0 16px;
    font-size: 11px;
  }
  .received-month-group h3,
  .received-month-group button {
    min-height: 38px;
    padding: 0 16px;
    font-size: 12px;
  }
  .order-receive-page {
    margin-top: 0;
    padding-top: 0;
  }
  .receive-topbar {
    min-height: 44px;
    padding: 0 10px;
  }
  .receive-topbar button,
  .receive-topbar .icon-upload {
    width: 32px;
    min-height: 32px;
  }
  .receive-topbar h1 {
    font-size: 18px;
  }
  .receive-sheet {
    padding-top: 44px;
  }
  .receive-title-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 10px;
    padding: 12px 16px 6px;
  }
  .receive-title-grid h2 {
    margin-bottom: 6px;
    font-size: 18px;
  }
  .receive-title-grid p,
  .receive-title-grid label,
  .receive-meta-side strong {
    font-size: 10px;
  }
  .receive-title-grid input,
  .receive-title-grid textarea {
    min-height: 34px;
    font-size: 12px;
  }
  .receive-title-grid button {
    min-height: 34px;
    font-size: 11px;
  }
  .receive-meta-side {
    gap: 8px;
  }
  .receive-total-row {
    min-height: 48px;
    padding: 0 16px;
  }
  .receive-total-row h3 {
    font-size: 15px;
  }
  .receive-total-row strong {
    font-size: 24px;
  }
  .receive-line-list {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  .receive-line-head {
    min-height: 66px;
    grid-template-columns: 52px minmax(0, 1fr) 26px;
    gap: 8px;
    padding: 8px 16px;
  }
  .receive-line-head img,
  .receive-line-head .image-placeholder {
    width: 44px;
    height: 44px;
  }
  .receive-line-head strong {
    font-size: 12px;
  }
  .receive-line-head span,
  .receive-line-head small {
    font-size: 10px;
  }
  .receive-line-check input {
    width: 20px;
    height: 20px;
  }
  .receive-edit-grid {
    gap: 6px;
    padding: 7px 16px;
  }
  .receive-edit-grid label,
  .receive-edit-grid div {
    gap: 4px;
    font-size: 10px;
  }
  .receive-edit-grid input {
    min-height: 32px;
    font-size: 11px;
  }
  .receive-action-bar {
    width: 100%;
    min-height: calc(54px + env(safe-area-inset-bottom));
    grid-template-columns: minmax(90px, 1fr) minmax(88px, 0.9fr) minmax(
        88px,
        0.9fr
      );
    gap: 7px;
    padding: 6px 8px calc(7px + env(safe-area-inset-bottom));
  }
  .receive-action-bar label {
    gap: 5px;
    font-size: 11px;
  }
  .receive-action-bar input {
    width: 18px;
    height: 18px;
  }
  .receive-action-bar button {
    min-height: 38px;
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .suppliers-page {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .suppliers-page .page-header {
    margin-bottom: 8px;
  }
  .suppliers-page .page-header h1 {
    font-size: 20px;
  }
  .suppliers-page .page-header p {
    font-size: 11px;
  }
  .suppliers-page .toolbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    padding: 8px;
  }
  .suppliers-page .toolbar input {
    grid-column: auto;
  }
  .suppliers-page .toolbar input,
  .suppliers-page .toolbar button {
    min-height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }
  .suppliers-page .summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    font-size: 11px;
  }
  .suppliers-page .summary-strip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .suppliers-page .table-wrap {
    border-radius: 8px;
  }
  .suppliers-page .data-table {
    min-width: 620px;
    font-size: 11px;
  }
  .suppliers-page .data-table th,
  .suppliers-page .data-table td {
    padding: 6px 7px;
  }
  .suppliers-page .data-table th {
    font-size: 10px;
  }
  .suppliers-page .data-table input,
  .suppliers-page .data-table select,
  .suppliers-page .data-table button {
    min-height: 30px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 11px;
  }
  .suppliers-page .row-actions {
    gap: 4px;
    flex-wrap: nowrap;
  }
  .suppliers-page .row-actions button {
    min-width: 42px;
  }
  .suppliers-page .supplier-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }
  .suppliers-page .supplier-detail label {
    gap: 4px;
    font-size: 10px;
  }
  .suppliers-page .supplier-detail input,
  .suppliers-page .supplier-detail textarea {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
  .suppliers-page .supplier-detail textarea {
    min-height: 70px;
    padding: 8px;
  }
}
@media (max-width: 640px) {
  :root {
    --canvas: #f3f6fb;
    --panel: rgba(255, 255, 255, 0.78);
    --panel-solid: #ffffff;
    --line: rgba(69, 84, 105, 0.14);
    --blue: #007aff;
    --green: #28c45d;
    --amber: #ffb020;
    --orange: #ff453a;
    --mobile-blue-soft: rgba(0, 122, 255, 0.1);
    --mobile-green-soft: rgba(40, 196, 93, 0.12);
    --mobile-amber-soft: rgba(255, 176, 32, 0.14);
    --mobile-red-soft: rgba(255, 69, 58, 0.11);
    --mobile-glass: rgba(255, 255, 255, 0.72);
    --mobile-glass-strong: rgba(255, 255, 255, 0.9);
    --mobile-shadow: 0 10px 26px rgba(39, 56, 82, 0.08);
  }
  html,
  body,
  #root {
    min-height: 100%;
    background: #f3f6fb;
  }
  body {
    color: #17202c;
    background:
      linear-gradient(180deg, #dbebffb8 0, #f4f8fce0 190px, #f3f6fb), #f3f6fb;
    font-size: 13px;
  }
  .workspace {
    padding-top: 58px;
    background: transparent;
  }
  .topbar {
    height: 58px;
    min-height: 58px;
    gap: 7px;
    padding: 0 9px;
    overflow: visible;
    background: #f8fbffc2;
    color: #162232;
    border-bottom: 1px solid rgba(62, 79, 104, 0.16);
    box-shadow: 0 10px 30px #2d415e1a;
    backdrop-filter: saturate(190%) blur(24px);
    -webkit-backdrop-filter: saturate(190%) blur(24px);
  }
  .topbar:after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #007aff, #28c45d 55%, #ffb020);
    opacity: 0.72;
  }
  .hamburger {
    flex: 0 0 38px;
    width: 38px;
    min-height: 38px;
    border: 1px solid rgba(49, 64, 84, 0.12);
    border-radius: 999px;
    background: #ffffffa8;
    box-shadow: inset 0 1px #ffffffb8;
  }
  .hamburger span,
  .hamburger:before,
  .hamburger:after {
    width: 17px;
    background: #152233;
  }
  .top-title {
    min-width: 38px;
    max-width: 88px;
    color: #142133;
    font-size: 16px;
    font-weight: 850;
  }
  .venue-select,
  .lang-select {
    height: 36px;
    min-height: 36px;
    border: 1px solid rgba(63, 82, 108, 0.13);
    border-radius: 999px;
    background: #ffffffa3;
    color: #182435;
    font-size: 13px;
    box-shadow: inset 0 1px #ffffffd1;
  }
  .venue-select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    padding-inline: 11px 26px;
  }
  .lang-select {
    flex: 0 0 74px;
    width: 74px;
    padding-inline: 10px 20px;
  }
  .sidebar {
    width: min(332px, 90vw);
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    border-right: 1px solid rgba(63, 82, 108, 0.12);
    border-radius: 0 22px 22px 0;
    background: linear-gradient(180deg, #eff7ffdb, #fffc), #ffffffc2;
    box-shadow: 18px 0 46px #1a2c4633;
    backdrop-filter: saturate(190%) blur(28px);
    -webkit-backdrop-filter: saturate(190%) blur(28px);
  }
  .brand-mark {
    height: 66px;
    margin: 0 0 10px;
    padding: 0 64px;
    background: transparent;
    border-bottom: 1px solid rgba(63, 82, 108, 0.1);
  }
  .brand-mark img {
    width: 122px;
    max-height: 58px;
  }
  .close-sidebar {
    top: 14px;
    right: 12px;
    width: 38px;
    min-height: 38px;
    border-radius: 999px;
    color: #17202c;
    background: #ffffffa8;
    border-color: #3f526c24;
  }
  .sidebar-venue {
    margin: 0 12px 10px;
    padding: 10px;
    border: 1px solid rgba(0, 122, 255, 0.14);
    border-radius: 14px;
    background: #007aff12;
  }
  .sidebar-venue span {
    color: #3571b9;
    font-size: 11px;
  }
  .sidebar-venue select {
    min-height: 36px;
    border-radius: 10px;
    background: #ffffffd1;
    font-size: 13px;
  }
  .nav-button,
  .nav-child,
  .nav-heading {
    width: calc(100% - 20px);
    margin: 4px 10px;
    padding: 7px 10px;
    border-radius: 16px;
    color: #314057;
    font-size: 13px;
  }
  .nav-button {
    min-height: 52px;
  }
  .nav-icon {
    width: 34px;
    height: 34px;
  }
  .nav-heading {
    color: #7b8796;
    font-size: 11px;
    font-weight: 800;
  }
  .nav-group-card {
    width: calc(100% - 20px);
    margin: 8px 10px;
    padding: 7px;
    border-radius: 18px;
  }
  .nav-group-card .nav-heading {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 0 6px;
  }
  .nav-child {
    width: 100%;
    min-height: 34px;
    margin: 3px 0 0;
    padding-left: 47px;
  }
  .nav-button.active,
  .nav-child.active {
    border-left: 0;
  }
  .nav-button.active:before,
  .nav-child.active:before {
    content: none;
    display: none;
  }
  .nav-group {
    border-top-color: #3f526c14;
    padding: 5px 0;
  }
  .sidebar-footer {
    margin: 16px 12px 0;
    padding: 12px;
    border: 1px solid rgba(63, 82, 108, 0.1);
    border-radius: 14px;
    background: #ffffff9e;
  }
  .menu-backdrop,
  .modal-backdrop,
  .cart-drawer-backdrop {
    background: #121d2c47;
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
  }
  .page {
    padding: 10px 10px calc(28px + env(safe-area-inset-bottom));
  }
  .page-header {
    margin: 0 -10px 10px;
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(63, 82, 108, 0.08);
    background: #ffffff75;
    backdrop-filter: saturate(170%) blur(18px);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
  }
  .page-header h1 {
    color: #17202c;
    font-size: 19px;
    line-height: 1.15;
  }
  .page-header p {
    color: #738093;
    font-size: 11px;
  }
  button,
  .file-button,
  .file-chip,
  input,
  select,
  textarea {
    min-height: 38px;
    border-radius: 10px;
    font-size: 12px;
  }
  button,
  .file-button,
  .file-chip {
    border-color: #3f526c24;
    background: #ffffffbd;
    box-shadow: none;
  }
  button.primary {
    border-color: #28c45d;
    background: linear-gradient(180deg, #35d66a, #27b957);
    color: #fff;
    box-shadow: 0 10px 20px #28c45d33;
  }
  button.active {
    border-color: #007aff52;
    background: #007aff1f;
    color: #006edb;
  }
  input,
  select,
  textarea {
    background: #ffffffc7;
    border-color: #3f526c24;
  }
  .notice-bar,
  .toolbar,
  .action-row,
  .inline-form,
  .summary-strip,
  .share-box,
  .stock-report-tools,
  .invite-panel,
  .dashboard-controls,
  .chart-panel,
  .venue-card,
  .report-card,
  .recipe-card,
  .par-card,
  .employee-card,
  .partial-board,
  .par-category-list,
  .category-block,
  .table-wrap,
  .permission-table-wrap,
  .plain-line,
  .stock-report-history details,
  .catalog-card,
  .catalog-table-panel,
  .supplier-detail,
  .group-manager,
  .product-variant-editor {
    border: 1px solid rgba(63, 82, 108, 0.12);
    border-radius: 14px;
    background: var(--mobile-glass);
    box-shadow: var(--mobile-shadow);
    backdrop-filter: saturate(170%) blur(20px);
    -webkit-backdrop-filter: saturate(170%) blur(20px);
  }
  .toolbar,
  .action-row,
  .inline-form,
  .summary-strip,
  .share-box,
  .dashboard-controls,
  .chart-panel,
  .partial-board,
  .par-category-list {
    padding: 8px;
    gap: 7px;
    margin-bottom: 10px;
  }
  .toolbar input,
  .toolbar select,
  .toolbar button,
  .action-row select,
  .action-row button,
  .inline-form input,
  .inline-form select,
  .inline-form textarea,
  .inline-form button {
    min-height: 36px;
    padding-inline: 9px;
  }
  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-strip span,
  .summary-strip strong,
  .summary-strip label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .kpi-grid,
  .kpi-grid.compact {
    gap: 8px;
  }
  .kpi {
    position: relative;
    min-height: 88px;
    overflow: hidden;
    border: 1px solid rgba(63, 82, 108, 0.11);
    border-radius: 14px;
    background: #ffffffc2;
    box-shadow: var(--mobile-shadow);
    backdrop-filter: saturate(170%) blur(18px);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
  }
  .kpi:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: #007aff;
  }
  .kpi:nth-child(2):before {
    background: #28c45d;
  }
  .kpi:nth-child(3):before {
    background: #ffb020;
  }
  .kpi:nth-child(4):before {
    background: #32c7d2;
  }
  .kpi:nth-child(5):before {
    background: #ff453a;
  }
  .kpi strong {
    font-size: 20px;
  }
  .kpi h3,
  .kpi span {
    font-size: 11px;
  }
  .table-wrap,
  .permission-table-wrap {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table,
  .permission-table {
    font-size: 11px;
  }
  .data-table th,
  .permission-table th {
    padding: 7px 8px;
    background: #e5f1ffeb;
    color: #526072;
    font-size: 10px;
  }
  .data-table td,
  .permission-table td {
    padding: 7px 8px;
    background: #ffffff94;
  }
  .data-table .table-long-text {
    max-width: 168px;
  }
  .data-table tbody tr:nth-child(2n) td,
  .permission-table tbody tr:nth-child(2n) td {
    background: #f8fbffbd;
  }
  .data-table input,
  .data-table select,
  .data-table button,
  .permission-table input,
  .permission-table select,
  .permission-table button {
    min-height: 30px;
    padding: 0 7px;
    border-radius: 8px;
    font-size: 11px;
  }
  .modal-panel {
    max-height: calc(100vh - 18px);
    border: 1px solid rgba(63, 82, 108, 0.12);
    border-radius: 22px 22px 0 0;
    background: #ffffffdb;
    box-shadow: 0 -18px 44px #1d2a3e2e;
    backdrop-filter: saturate(180%) blur(26px);
    -webkit-backdrop-filter: saturate(180%) blur(26px);
  }
  .modal-panel > header {
    min-height: 50px;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(63, 82, 108, 0.1);
    background: #ffffffb8;
  }
  .modal-panel > header h2 {
    font-size: 17px;
  }
  .modal-panel > header button {
    width: 34px;
    min-height: 34px;
    border-radius: 999px;
    background: #eef3f8d6;
  }
  .order-page {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    background: transparent;
  }
  .order-source-shell {
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .order-source-head {
    min-height: 80px;
    padding: 11px 16px 9px;
    background: #ffffffb8;
    border-bottom: 1px solid rgba(63, 82, 108, 0.1);
    backdrop-filter: saturate(170%) blur(18px);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
  }
  .order-source-head h1 {
    font-size: 20px;
  }
  .order-source-head p {
    font-size: 12px;
  }
  .order-source-actions button,
  .order-search-bar button,
  .order-checkout-head button {
    width: 36px;
    min-height: 36px;
    border-radius: 999px;
    background: #ffffff9e;
  }
  .order-help-box,
  .order-search-panel,
  .order-search-bar,
  .order-context-strip {
    width: calc(100% - 24px);
    margin-top: 8px;
  }
  .order-help-box,
  .order-search-bar {
    border-radius: 14px;
    background: #e5f7ffc7;
  }
  .order-search-suggestions {
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: min(68vh, 480px);
    padding: 10px;
    overflow: auto;
    border-radius: 16px;
  }
  .order-tabbar {
    top: 58px;
    min-height: 58px;
    padding: 7px 10px 0;
    gap: 8px;
    background: #ffffffc7;
    border-bottom: 1px solid rgba(63, 82, 108, 0.12);
    box-shadow: 0 8px 22px #2a3d5914;
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
  }
  .order-tabs {
    min-height: 42px;
    gap: 14px;
  }
  .order-tabs button {
    min-height: 42px;
    padding-bottom: 7px;
    border-bottom-width: 3px;
    font-size: 14px;
  }
  .order-suggest-button {
    min-width: 112px;
    min-height: 38px;
    margin-bottom: 8px;
    border-radius: 11px;
    background: linear-gradient(180deg, #45d2dc, #29b7c7);
    font-size: 12px;
  }
  .order-browse-grid {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .order-category-rail {
    top: 116px;
    max-height: calc(100vh - 116px);
    background: #e7ecf4c2;
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
  }
  .order-category-rail button {
    min-height: 48px;
    padding: 7px;
    border-bottom: 1px solid rgba(63, 82, 108, 0.07);
  }
  .order-category-rail button.active {
    background: #ffffffdb;
    color: #17202c;
    box-shadow: inset 3px 0 #007aff;
  }
  .order-category-rail strong {
    font-size: 11px;
    line-height: 1.25;
  }
  .order-product-pane {
    padding: 9px 6px 92px 8px;
    background: #ffffffad;
  }
  .order-product-heading {
    margin-bottom: 6px;
  }
  .order-product-heading h2 {
    font-size: 15px;
  }
  .order-product-heading small {
    color: #708094;
    font-size: 10px;
  }
  .order-product-row {
    grid-template-columns: 50px minmax(0, 1fr) 54px;
    gap: 6px;
    min-height: 78px;
    padding: 6px 2px;
    border-bottom-color: #3f526c17;
  }
  .order-product-row.selected {
    margin: 0 -2px;
    padding-inline: 4px;
    border-radius: 12px;
    background: linear-gradient(90deg, #007aff1f, #28c45d0f);
  }
  .order-product-photo {
    width: 48px;
    height: 48px;
  }
  .order-product-thumb,
  .order-product-photo .image-placeholder {
    width: 45px;
    height: 45px;
    border-color: #3f526c1f;
    background: #ffffffd1;
  }
  .order-product-photo .image-placeholder {
    font-size: 9px;
  }
  .order-add-button {
    right: -1px;
    bottom: -6px;
    width: 26px;
    min-height: 26px;
    border-color: #2a435524;
    background: #fffffff2;
    color: #007aff;
    box-shadow: 0 2px 7px #1d314b2e;
  }
  .order-add-button svg {
    width: 18px;
    height: 18px;
  }
  .order-product-copy {
    gap: 3px;
  }
  .order-product-copy strong {
    color: #17202c;
    font-size: 12px;
  }
  .order-product-copy span,
  .order-product-copy small {
    color: #708094;
    font-size: 10px;
  }
  .order-spec-select {
    min-height: 24px;
    max-width: 150px;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 10px;
  }
  .order-product-price strong {
    font-size: 12px;
  }
  .order-product-price span {
    font-size: 9px;
  }
  .order-quantity-stepper button {
    width: 26px;
    min-height: 26px;
  }
  .order-quantity-stepper input {
    width: 42px;
    min-height: 26px;
    font-size: 11px;
  }
  .order-floating-cart {
    right: 15px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 54px;
    min-height: 54px;
    background: linear-gradient(180deg, #34d869, #25b955);
    box-shadow: 0 14px 30px #28c45d4d;
  }
  .order-floating-cart svg {
    width: 25px;
    height: 25px;
  }
  .order-floating-cart span {
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    font-size: 10px;
    background: #0c3042;
  }
  .order-checkout-panel {
    max-height: min(78vh, 680px);
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
    border: 1px solid rgba(63, 82, 108, 0.16);
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(180deg, #f2f9fff0, #ffffffd1), #ffffffd6;
    box-shadow: 0 -20px 52px #1a2a4133;
    backdrop-filter: saturate(190%) blur(30px);
    -webkit-backdrop-filter: saturate(190%) blur(30px);
  }
  .order-checkout-panel:before {
    content: "";
    justify-self: center;
    width: 42px;
    height: 4px;
    margin: -4px 0 2px;
    border-radius: 999px;
    background: #42546e3d;
  }
  .order-checkout-head {
    align-items: center;
    gap: 8px;
  }
  .order-checkout-head h2 {
    font-size: 19px;
  }
  .order-checkout-head p {
    font-size: 11px;
  }
  .order-drawer-controls {
    gap: 8px;
  }
  .order-drawer-controls label {
    gap: 4px;
    color: #637083;
    font-size: 11px;
  }
  .order-drawer-controls input,
  .order-drawer-controls select {
    min-height: 36px;
    border-radius: 11px;
  }
  .supplier-info-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 8px;
  }
  .supplier-info-strip article {
    min-height: 48px;
    padding: 7px 8px;
    border-color: #007aff21;
    border-radius: 12px;
    background: #007aff12;
  }
  .supplier-info-strip span,
  .supplier-info-strip strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .supplier-info-strip strong {
    font-size: 12px;
  }
  .order-checkout-panel > p {
    margin: 4px 0 0;
    color: #586678;
    font-size: 12px;
  }
  .order-checkout-panel > strong {
    color: #17202c;
    font-size: 34px;
    line-height: 1;
  }
  .order-checkout-panel > button {
    min-height: 38px;
    border-radius: 12px;
  }
  .supplier-summary {
    gap: 7px;
    padding: 8px 0;
    border-color: #3f526c1a;
  }
  .supplier-summary h3 {
    color: #17202c;
    font-size: 13px;
  }
  .supplier-summary article {
    padding: 9px;
    border-radius: 12px;
    background: #f6faffd1;
  }
  .supplier-summary article.ok {
    border-color: #28c45d42;
    background: #28c45d1a;
  }
  .supplier-summary article.warn {
    border-color: #ffb02052;
    background: #ffb0201f;
  }
  .supplier-summary b {
    font-size: 17px;
  }
  .orders-overview-page,
  .order-receive-page {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .orders-source-head,
  .orders-action-grid,
  .order-source-section,
  .received-history,
  .received-summary-row {
    border-color: #3f526c1c;
    background: var(--mobile-glass);
    box-shadow: var(--mobile-shadow);
    backdrop-filter: saturate(170%) blur(20px);
    -webkit-backdrop-filter: saturate(170%) blur(20px);
  }
  .orders-source-head,
  .orders-action-grid {
    margin: 8px 10px 0;
    border: 1px solid rgba(63, 82, 108, 0.11);
    border-radius: 16px;
  }
  .orders-action-grid button {
    min-height: 40px;
    border-radius: 12px;
    background: linear-gradient(180deg, #173d55, #0c3042);
    font-size: 12px;
  }
  .orders-action-grid button.gallery {
    background: linear-gradient(180deg, #35d66a, #27b957);
  }
  .order-source-section {
    margin-inline: 10px;
    overflow: hidden;
    border: 1px solid rgba(63, 82, 108, 0.11);
    border-radius: 16px;
  }
  .order-source-table-head,
  .source-order-row.expanded .source-order-summary,
  .source-order-detail {
    background: #007aff14;
  }
  .source-order-row {
    background: transparent;
  }
  .source-order-summary {
    background: #ffffff94;
  }
  .received-summary-row,
  .received-month-group h3,
  .received-month-group button {
    background: #ffffffa3;
  }
  .receive-topbar {
    background: #0d3446c7;
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
  }
  .receive-sheet,
  .receive-line-card {
    background: #ffffffc2;
  }
  .receive-edit-grid {
    background: linear-gradient(
      90deg,
      #007aff1a 0,
      #007aff1a 72%,
      #ffffffc7 72%,
      #ffffffc7
    );
  }
  .receive-action-bar {
    background: #f8fbffdb;
    box-shadow: 0 -12px 28px #25364e1f;
  }
  .suppliers-page .page-header,
  .catalog-page .page-header {
    background: #ffffff80;
  }
  .suppliers-page .summary-strip {
    background: #007aff14;
  }
  .suppliers-page .supplier-detail {
    background: #ffffffbd;
  }
  .suppliers-page .data-table th {
    background: #dcf2ffeb;
  }
  .catalog-groups,
  .par-category-list {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .catalog-groups button,
  .par-category-list button {
    min-height: 48px;
    border: 1px solid rgba(63, 82, 108, 0.12);
    border-radius: 14px;
    background: #ffffffb3;
  }
  .catalog-groups button.active,
  .par-category-list button.active {
    border-color: #007aff47;
    background: #007aff1a;
    color: #006edb;
  }
  .catalog-card {
    background: #ffffffbd;
  }
  .catalog-card-image,
  .image-placeholder,
  .table-thumb,
  .line-product .image-placeholder {
    border-color: #3f526c1f;
    background: #f9fbfedb;
  }
  .stocktake-progress article:nth-child(1) {
    background: #007aff14;
  }
  .stocktake-progress article:nth-child(2) {
    background: #28c45d1a;
  }
  .stocktake-progress article:nth-child(3) {
    background: #ffb0201f;
  }
  .long-text-preview {
    max-width: min(330px, calc(100vw - 24px));
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 14px;
    background: #152030e0;
    box-shadow: 0 16px 34px #0f192638;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
}
.public-order {
  min-height: 100vh;
  justify-items: center;
  align-content: start;
  padding: 18px 16px 42px;
  background: #eef4f7;
}
.public-order-topbar {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: minmax(86px, 1fr) auto minmax(86px, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.public-order-loading-topbar {
  grid-template-columns: 1fr;
  justify-items: center;
}
.public-order-loading-topbar .public-logo-img {
  justify-self: center;
}
.public-order-loading-shell {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 14% 18%, rgba(145, 0, 55, 0.11), transparent 31%),
    radial-gradient(
      circle at 86% 16%,
      rgba(36, 158, 154, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, #fff8f5, #eef6f8);
}
.orders-cloud-loading-state.public-order-loading-card {
  margin: 20px auto 26px;
}
.public-order-loading-card {
  width: min(420px, calc(100vw - 40px));
  margin: 34px auto 0;
  padding: 34px 26px 28px;
  display: grid;
  justify-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: linear-gradient(145deg, #ffffffe0, #fffbf6ad);
  box-shadow:
    0 24px 60px #5b362624,
    inset 0 1px #ffffffe6;
  backdrop-filter: blur(24px) saturate(1.16);
  -webkit-backdrop-filter: blur(24px) saturate(1.16);
  text-align: center;
}
.public-order-loading-orbit {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #91003714;
  box-shadow: inset 0 0 0 1px #9100371a;
}
.public-order-loading-orbit:before {
  content: "";
  width: 36px;
  height: 36px;
  border: 3px solid rgba(145, 0, 55, 0.14);
  border-top-color: #8a0030;
  border-right-color: #2a9d9b;
  border-radius: 50%;
  animation: publicOrderOrbit 1.05s linear infinite;
}
.public-order-loading-orbit span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a9d9b;
  box-shadow: 0 0 18px #2a9d9b66;
}
.public-order-loading-orbit span:nth-child(1) {
  transform: translate(-22px, 12px);
  background: #8a0030;
}
.public-order-loading-orbit span:nth-child(2) {
  transform: translate(23px, -8px);
}
.public-order-loading-orbit span:nth-child(3) {
  transform: translate(8px, 24px);
  background: #f05a28;
}
@keyframes publicOrderOrbit {
  to {
    transform: rotate(360deg);
  }
}
.public-order-loading-kicker {
  margin: 0;
  color: #8a0030;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}
.public-order-loading-card h1 {
  margin: 0;
  color: #253142;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}
.public-order-loading-card p {
  max-width: 280px;
  margin: 0;
  color: #687483;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}
.public-order-loading-card small {
  color: #8a95a3;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
.public-order-loading-bar {
  width: min(250px, 100%);
  height: 9px;
  margin: 4px 0 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #7a869424;
}
.public-order-loading-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a0030, #f05a28, #2a9d9b);
  animation: publicOrderLoadingBar 1.35s ease-in-out infinite;
}
@keyframes publicOrderLoadingBar {
  0% {
    transform: translate(-105%);
  }
  55% {
    transform: translate(80%);
  }
  to {
    transform: translate(245%);
  }
}
.public-topbar-spacer {
  justify-self: start;
  min-width: 1px;
  min-height: 1px;
}
.public-back {
  justify-self: start;
  min-height: 38px;
  border-color: #d6e0e7;
  border-radius: 999px;
  background: #ffffffd6;
  color: #263445;
  font-size: 13px;
  font-weight: 800;
}
.public-capture-button {
  justify-self: center;
  min-height: 38px;
  border-color: #bee1ee;
  border-radius: 999px;
  background: #e9f8fceb;
  color: #1f8da5;
  font-size: 13px;
  font-weight: 900;
}
.public-topbar-settings {
  position: relative;
  z-index: 20;
  grid-column: 3;
  justify-self: end;
  display: inline-grid;
  place-items: center;
}
.public-settings-button {
  width: 42px;
  height: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background:
    linear-gradient(145deg, #ffffffc7, #ebf8ff57 48%, #ffffff38), #add8ff47;
  color: #0a5fd3;
  box-shadow:
    0 12px 28px #367cc424,
    inset 0 1px #ffffffe6,
    inset 0 -1px #ffffff38;
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}
.public-settings-button[aria-expanded="true"] {
  background:
    linear-gradient(145deg, #ffffffdb, #e1f4ff6b 48%, #ffffff3d), #add8ff5c;
  box-shadow:
    0 14px 30px #367cc42e,
    inset 0 1px #fffffff0;
}
.public-settings-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 172px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  background: #ffffff7a;
  box-shadow:
    0 18px 42px #3c322a2b,
    inset 0 1px #ffffffe0;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}
.public-settings-menu:before {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffffff85, #ffffff1f);
  pointer-events: none;
}
.public-settings-menu-item {
  position: relative;
  z-index: 1;
  min-height: 42px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 12px;
  background: #ffffff94;
  color: #182333;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  box-shadow: inset 0 1px #ffffffb8;
}
.public-settings-menu-item svg {
  color: #0a5fd3;
}
.public-settings-menu-item:active {
  transform: scale(0.98);
  background: #ffffffb8;
}
.public-settings-language {
  grid-template-columns: minmax(0, 1fr) 76px;
  margin: 0;
}
.public-settings-language select {
  min-width: 0;
  min-height: 30px;
  padding: 0 24px 0 8px;
  border: 1px solid rgba(0, 122, 255, 0.18);
  border-radius: 9px;
  background: #ffffffad;
  color: #182333;
  font-size: 12px;
  font-weight: 850;
}
.public-capture-status {
  width: min(720px, 100%);
  margin: -4px 0 10px;
  color: #6f7d8c;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.capture-confirm-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #1e2a3661;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.capture-confirm-sheet {
  width: min(430px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  background: #fafcfff0;
  box-shadow: 0 24px 60px #14233238;
}
.capture-confirm-sheet header,
.capture-confirm-sheet footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}
.capture-confirm-sheet header {
  border-bottom: 1px solid rgba(215, 224, 232, 0.8);
}
.capture-confirm-sheet header span {
  color: #7a8794;
  font-size: 12px;
  font-weight: 800;
}
.capture-confirm-sheet h2 {
  margin: 2px 0 0;
  color: #263445;
  font-size: 18px;
  line-height: 1.25;
}
.capture-confirm-sheet header button {
  width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  color: #697787;
}
.capture-preview-frame {
  flex: 1 1 auto;
  min-height: 220px;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-padding-bottom: 120px;
  padding: 14px 14px 120px;
  background: #e8f0f5;
}
.capture-preview-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(211, 221, 229, 0.9);
  background: #eef4f7;
}
.capture-confirm-sheet footer {
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  border-top: 1px solid rgba(215, 224, 232, 0.8);
  background: #ffffffb8;
}
.capture-confirm-sheet footer button {
  flex: 1;
}
.capture-confirm-sheet footer .capture-save-button {
  flex: 1 1 100%;
}
.public-order-capture {
  width: min(720px, 100%);
  display: grid;
  justify-items: stretch;
}
.public-logo-img {
  justify-self: center;
  width: 230px;
  max-height: 116px;
  object-fit: contain;
  margin: 0 0 16px;
}
.public-order-topbar .public-logo-img {
  margin-bottom: 0;
}
.public-lang {
  position: static;
  justify-self: end;
  width: 82px;
  min-height: 38px;
  border-color: #d6e0e7;
  border-radius: 999px;
  background: #ffffffd6;
  color: #263445;
  font-size: 13px;
}
.order-sheet {
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid #dce4ea;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 3px #192a3a0a;
}
.order-head {
  min-height: 320px;
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 24px;
  padding: 26px 28px 30px;
  border-bottom: 1px solid #e3e9ef;
}
.order-head h1 {
  max-width: 360px;
  margin: 0 0 26px;
  color: #2c3340;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.28;
}
.order-head h2 {
  margin: 0 0 12px;
  color: #2c3340;
  font-size: 25px;
  line-height: 1.25;
}
.order-head-main p,
.order-head-side span,
.order-head-side small {
  margin: 0 0 8px;
  color: #7c8795;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.32;
}
.order-venue-address {
  display: block;
  max-width: 430px;
  margin: 0 0 14px !important;
  color: #7a8794 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}
.order-venue-address span {
  display: inline;
}
.order-venue-address a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  border: 1px solid rgba(67, 186, 202, 0.28);
  border-radius: 999px;
  background: #43baca1f;
  color: #0c3042;
  text-decoration: none;
  vertical-align: -7px;
}
.order-note-mark {
  min-height: 24px;
  margin: 0 0 14px !important;
  color: #e5483f !important;
  font-weight: 900 !important;
}
.personal-note {
  margin: 8px 0 2px !important;
  color: #e5483f !important;
}
.order-head-side {
  min-height: 254px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.order-head-side strong {
  color: #2c3340;
  font-size: 20px;
  font-weight: 900;
}
.order-head-side b {
  margin-top: auto;
  color: #2c3340;
  font-size: 22px;
  font-weight: 900;
}
.order-head-side em {
  color: #e95b2c;
  font-size: 43px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}
.public-order-share-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.public-order-share-actions button {
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #d9e2e8;
  border-radius: 999px;
  background: #f7fbfd;
  color: #7d8995;
  box-shadow: none;
}
.public-order-share-actions button:active {
  transform: translateY(1px);
  border-color: #bcdce7;
  background: #eef9fc;
  color: #244e60;
}
.public-order-copy-status {
  margin-top: 6px;
  color: #758392;
  font-size: 12px;
  font-weight: 800;
}
.public-order-table,
.public-order-table tbody {
  display: table !important;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.public-order-table col:first-child {
  width: 54%;
}
.public-order-table col:last-child {
  width: 46%;
}
.public-order-table tbody {
  display: table-row-group !important;
}
.public-order-table tr {
  display: table-row !important;
}
.public-order-table th,
.public-order-table td {
  display: table-cell !important;
  width: auto !important;
  border: 1px solid #e1e7ed;
  padding: 0;
  color: #2c3340;
  text-align: left;
  vertical-align: middle;
}
.public-status-row th {
  height: 64px;
  padding: 0 26px;
  background: #fbfcfd;
  font-size: 22px;
  font-weight: 900;
}
.public-status-row th:first-child {
  background: #fff;
}
.public-status-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.public-receipt-button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid #d9e2e8;
  border-radius: 999px;
  background: #f7fbfd;
  color: #7d8995;
  box-shadow: none;
}
.public-receipt-button:active {
  transform: translateY(1px);
  border-color: #bcdce7;
  background: #eef9fc;
  color: #244e60;
}
.public-receipt-thumb {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(63, 82, 108, 0.12);
}
.public-product-heading-row th,
.public-fee-heading-row th {
  height: 66px;
  padding: 0 26px;
  background: #f3f8fb;
  font-size: 22px;
  font-weight: 900;
}
.public-product-row td {
  height: 128px;
  background: #fff;
}
.public-product-row .public-order-qty-cell,
.public-total-row td,
.public-fee-row td,
.public-grand-row td {
  background: #f7f9fc;
}
.public-order-product-cell {
  display: table-cell !important;
}
.public-order-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 16px 12px 22px;
}
.public-order-thumb {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.public-order-thumb.image-placeholder,
.image-placeholder.public-order-thumb {
  display: grid;
  place-items: center;
  border: 1px solid #e3e9ef;
  border-radius: 8px;
  background: #fff;
  color: #9aa5b1;
  font-size: 11px;
}
.public-order-product strong,
.public-order-product span,
.public-order-product small {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
}
.public-product-title-line {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 8px;
  align-items: center;
}
.public-product-link {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a9b2bcb8;
  text-decoration: none;
  transform: rotate(-18deg);
  -webkit-tap-highlight-color: transparent;
}
.public-product-link svg {
  width: 100%;
  height: 100%;
}
.public-product-link:active {
  color: #7d8996e6;
  transform: rotate(-18deg) scale(0.94);
}
.public-order-product strong {
  color: #2c3340;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}
.public-order-product span {
  margin-top: 3px;
  color: #2c3340;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
}
.public-order-product small {
  margin-top: 3px;
  color: #88939f;
  font-size: 13px;
  font-weight: 700;
}
.public-order-qty-cell {
  display: table-cell !important;
}
.public-order-qty-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px 14px;
  padding: 14px 20px;
}
.public-order-qty-grid span {
  color: #84909d;
  font-size: 16px;
  font-weight: 800;
}
.public-order-qty-grid b {
  color: #2c3340;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
.public-order-qty-grid span:first-child,
.public-order-qty-grid b:first-of-type {
  grid-column: 1 / -1;
}
.public-order-qty-grid span:nth-of-type(3),
.public-order-qty-grid b:nth-of-type(3) {
  text-align: right;
}
.public-total-row th,
.public-total-row td,
.public-fee-row th,
.public-fee-row td,
.public-grand-row th,
.public-grand-row td {
  height: 76px;
  padding: 0 26px;
  font-size: 24px;
  font-weight: 900;
}
.public-total-row td,
.public-fee-row td,
.public-grand-row td {
  text-align: right;
}
.public-total-row td b,
.public-grand-row td b {
  color: #2c3340;
  font-size: 31px;
}
.public-fee-heading-row th {
  height: 70px;
}
.public-order-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 28px;
}
.public-order-qr .qr-img,
.public-order-qr .qr {
  width: 160px;
  height: 160px;
  padding: 8px;
  background: #fff;
}
.expiry {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin: 0;
  color: #2c3340;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
}
.expiry span {
  color: #8a95a3;
  font-size: 13px;
  font-weight: 800;
}
.expiry b {
  color: #2c3340;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}
.expiry small {
  color: #8a95a3;
  font-size: 12px;
  font-weight: 800;
}
@media (max-width: 640px) {
  .public-order {
    padding: 12px 14px calc(28px + env(safe-area-inset-bottom));
    background: #eef4f7;
  }
  .public-order-topbar {
    grid-template-columns: 78px minmax(0, 1fr) 70px;
    gap: 8px;
    margin-bottom: 12px;
  }
  .public-order-loading-topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .public-order-loading-topbar .public-logo-img {
    justify-self: center;
  }
  .public-back {
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }
  .public-capture-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
  .public-settings-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }
  .public-settings-menu {
    top: calc(100% + 8px);
    width: 158px;
    padding: 7px;
    border-radius: 16px;
  }
  .public-settings-menu-item {
    min-height: 38px;
    gap: 7px;
    padding: 0 9px;
    font-size: 12px;
  }
  .public-settings-language {
    grid-template-columns: minmax(0, 1fr) 70px;
  }
  .public-logo-img {
    width: min(190px, 100%);
    max-height: 94px;
    margin-bottom: 12px;
  }
  .public-lang {
    width: 70px;
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
  .order-sheet {
    width: 100%;
    margin-bottom: 0;
  }
  .order-head {
    min-height: 194px;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 8px;
    padding: 12px 10px;
  }
  .order-head h1 {
    max-width: 178px;
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.18;
  }
  .order-head h2 {
    margin-bottom: 6px;
    font-size: 15px;
  }
  .order-head-main p,
  .order-head-side span,
  .order-head-side small {
    margin-bottom: 3px;
    font-size: 11px;
  }
  .order-venue-address {
    max-width: 190px;
    margin-bottom: 7px !important;
    font-size: 10px !important;
    line-height: 1.34 !important;
  }
  .order-venue-address a {
    width: 21px;
    height: 21px;
    margin-left: 5px;
    vertical-align: -6px;
  }
  .order-note-mark {
    min-height: 14px;
    margin-bottom: 4px !important;
  }
  .personal-note {
    margin-top: 5px !important;
    margin-bottom: 1px !important;
  }
  .order-head-side {
    min-height: 168px;
  }
  .order-head-side strong {
    font-size: 12px;
  }
  .order-head-side b {
    font-size: 14px;
  }
  .order-head-side em {
    max-width: 100%;
    overflow: visible;
    font-size: 21px;
    white-space: nowrap;
  }
  .public-order-share-actions {
    gap: 6px;
    margin-top: 8px;
  }
  .public-order-share-actions button {
    width: 30px;
    min-height: 30px;
  }
  .public-order-copy-status {
    font-size: 10px;
  }
  .public-status-row th {
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }
  .public-status-cell {
    gap: 6px;
  }
  .public-receipt-button {
    width: 27px;
    min-height: 27px;
  }
  .public-product-heading-row th,
  .public-fee-heading-row th {
    height: 40px;
    padding: 0 10px;
    font-size: 14px;
  }
  .public-product-row td {
    height: 96px;
  }
  .public-order-product {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 6px;
    padding: 7px 7px 7px 8px;
  }
  .public-order-thumb {
    width: 36px;
    height: 42px;
  }
  .public-order-thumb.image-placeholder,
  .image-placeholder.public-order-thumb {
    height: 36px;
    font-size: 8px;
  }
  .public-order-product strong {
    font-size: 12px;
    line-height: 1.16;
  }
  .public-product-title-line {
    grid-template-columns: minmax(0, 1fr) 19px;
    gap: 5px;
  }
  .public-product-link {
    width: 19px;
    height: 19px;
  }
  .public-order-product span {
    margin-top: 1px;
    font-size: 9.5px;
    line-height: 1.15;
  }
  .public-order-product small {
    margin-top: 2px;
    font-size: 10px;
  }
  .public-order-qty-grid {
    gap: 4px 3px;
    padding: 8px 7px;
  }
  .public-order-qty-grid span {
    font-size: 10px;
  }
  .public-order-qty-grid b {
    font-size: 11px;
    white-space: nowrap;
  }
  .public-total-row th,
  .public-total-row td,
  .public-fee-row th,
  .public-fee-row td,
  .public-grand-row th,
  .public-grand-row td {
    height: 44px;
    padding: 0 10px;
    font-size: 14px;
  }
  .public-total-row td b,
  .public-grand-row td b {
    font-size: 18px;
  }
  .public-order-qr {
    gap: 7px;
    padding-top: 18px;
  }
  .public-order-qr .qr-img,
  .public-order-qr .qr {
    width: min(120px, 36vw);
    height: min(120px, 36vw);
    padding: 6px;
  }
  .expiry {
    font-size: 16px;
  }
  .expiry span {
    font-size: 10px;
  }
  .expiry b {
    font-size: 15px;
  }
  .expiry small {
    font-size: 9px;
  }
}
.public-order {
  background:
    radial-gradient(
      circle at top left,
      rgba(128, 0, 38, 0.06),
      transparent 34%
    ),
    radial-gradient(
      circle at top right,
      rgba(43, 151, 151, 0.06),
      transparent 30%
    ),
    linear-gradient(180deg, #fffdf9, #f9f3e9 54%, #fffaf4);
}
.public-order-capture {
  width: min(760px, 100%);
  gap: 18px;
}
.public-order-hero {
  display: grid;
  grid-template-columns: minmax(36px, 1fr) auto minmax(36px, 1fr);
  align-items: center;
  justify-items: center;
  gap: 18px;
  padding: 8px 4px 0;
}
.public-order-hero .public-logo-img {
  width: min(270px, 52vw);
  max-height: 118px;
  margin: 0;
  filter: drop-shadow(0 5px 11px rgba(113, 8, 40, 0.08));
}
.public-order-brand-line {
  width: min(74px, 13vw);
  height: 1px;
  background: #6f0726b8;
}
.public-order-card,
.public-order-info-card {
  border: 1px solid rgba(218, 202, 183, 0.78);
  border-radius: 16px;
  background: #ffffffeb;
  box-shadow: 0 12px 34px #4d341d1a;
  overflow: hidden;
}
.public-order-info-card {
  width: 100%;
}
.public-order-info-card .order-head {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(155px, 0.34fr);
  gap: 22px;
  padding: 28px 28px 20px;
  border-bottom: 0;
}
.public-venue-title-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.public-store-mark,
.public-share-mark {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  line-height: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #8a0030;
  color: #fff;
  box-shadow: 0 9px 18px #8a003026;
}
.public-store-mark svg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 25px;
  height: 25px;
  display: block;
  color: #fff;
  fill: none;
  stroke: #fff;
  stroke-width: 2.25;
  transform: translate(-50%, -50%);
}
.public-store-mark svg * {
  stroke: #fff;
}
.public-share-mark svg {
  display: block;
  transform: translateY(0);
}
.public-order-info-card .order-head h1 {
  max-width: none;
  margin: 0;
  color: #7b0a2b;
  font-size: clamp(27px, 5vw, 36px);
  font-weight: 900;
  line-height: 1.18;
}
.public-order-info-card .order-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 16px;
  color: #263040;
  font-size: 20px;
  font-weight: 850;
}
.public-order-info-card .order-head-main p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #59606b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.34;
}
.public-order-date-line {
  align-items: center;
}
.public-order-date-line svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #40444b;
  stroke-width: 1.9;
}
.public-order-info-card .order-venue-address {
  display: flex;
  max-width: none;
  margin: 0 0 14px !important;
  color: #59606b !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.42 !important;
}
.public-order-info-card .order-venue-address svg {
  flex: 0 0 auto;
  color: #248f8c;
}
.public-order-info-card .order-venue-address a {
  width: 33px;
  height: 33px;
  margin-left: 8px;
  border-color: #248f8c3d;
  background: #248f8c1a;
  color: #127c79;
}
.public-order-note-row {
  width: 100%;
  display: grid;
  align-items: flex-start;
  justify-content: flex-start;
  justify-items: start;
  gap: 8px;
  margin: 8px 0 0;
  color: #e5483f !important;
  font-weight: 900 !important;
  text-align: left;
}
.public-note-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}
.public-note-action svg {
  flex: 0 0 auto;
  margin-top: 1px;
}
.public-order-info-card .order-note-mark {
  margin: 0 !important;
  color: #e5483f !important;
  font-weight: 900 !important;
  line-height: 1.35;
}
.public-order-info-card .order-head .order-head-side,
.public-order-info-card .order-head-side {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
  padding-left: 34px;
  border-left: 1px solid rgba(218, 202, 183, 0.86);
  text-align: left;
}
.public-order-info-card .order-head-side span,
.public-order-info-card .order-head-side small {
  color: #76717a;
  font-size: 15px;
  font-weight: 800;
}
.public-order-info-card .order-head-side strong {
  margin: 8px 0 24px;
  color: #131820;
  font-size: 19px;
  font-weight: 900;
}
.public-order-info-card .order-head-side b {
  margin: 0 0 8px;
  color: #55515b;
  font-size: 17px;
}
.public-order-info-card .order-head-side em {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
  color: #f15a24;
  font-size: clamp(42px, 8vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.public-order-card-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 28px 26px;
  padding: 11px 14px;
  border: 1px solid rgba(224, 207, 186, 0.84);
  border-radius: 11px;
  background: #fffcf7e0;
}
.public-order-secondary-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.public-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #2b9696;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 8px 16px #2b969629;
}
.public-order-card-actions button,
.public-order-card-actions .public-receipt-button {
  width: auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #2d3037;
  box-shadow: none;
  font-size: 15px;
  font-weight: 800;
}
.public-order-card-actions button + button,
.public-order-card-actions .public-receipt-button + button {
  border-left: 1px solid rgba(218, 202, 183, 0.86);
  border-radius: 0;
  padding-left: 18px;
}
.public-order-copy-status {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 5;
  transform: translate(-50%);
  min-width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffffffeb;
  color: #2b9696;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px #18202e1f;
}
.public-order-products-card,
.public-order-summary-card,
.public-order-share-card {
  padding: 24px 28px;
}
.public-order-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #7b0a2b;
  font-size: 22px;
  font-weight: 900;
}
.public-order-card h3 svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #8a0030;
  stroke-width: 1.9;
}
.public-product-card-list {
  display: grid;
  gap: 12px;
}
.public-order-products-card .public-product-row {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  min-height: 148px;
  border: 1px solid rgba(225, 211, 195, 0.82);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.public-line-received-mark {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: #ffffff5c;
  box-shadow:
    0 8px 20px #34507829,
    inset 0 1px #ffffffb8,
    inset 0 -1px #7990a82e;
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  pointer-events: none;
}
.public-line-received-mark img {
  width: 29px;
  height: 29px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.9;
  filter: saturate(1.08) drop-shadow(0 1px 2px rgba(74, 103, 136, 0.18));
}
.public-order-products-card .public-order-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
}
.public-order-products-card .public-order-thumb {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.public-order-products-card .public-product-title-line {
  grid-template-columns: minmax(0, 1fr) 24px;
}
.public-order-products-card .public-order-product strong,
.public-order-products-card .public-order-product span {
  color: #1b1e27;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.22;
}
.public-order-products-card .public-order-product span {
  margin-top: 5px;
}
.public-order-products-card .public-order-product small {
  margin-top: 8px;
  color: #6f6f76;
  font-size: 16px;
}
.public-order-products-card .public-product-link {
  color: #aeb2b7ad;
}
.public-order-products-card .public-order-qty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "qty qty" "price total";
  align-content: center;
  align-items: center;
  justify-items: stretch;
  gap: 18px 18px;
  padding: 20px 24px;
  border-left: 1px solid rgba(225, 211, 195, 0.82);
  background: #fafafcc7;
}
.public-order-products-card .public-order-qty-grid > div {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  justify-items: start;
  text-align: left;
  gap: 9px;
}
.public-order-products-card .public-order-qty-grid > div:first-child {
  grid-area: qty;
}
.public-order-products-card .public-order-qty-grid > div:nth-child(2) {
  grid-area: price;
}
.public-order-products-card .public-order-qty-grid > div:nth-child(3) {
  grid-area: total;
  justify-items: end;
  text-align: right;
}
.public-order-products-card .public-order-qty-grid span {
  color: #6d707b;
  font-size: 16px;
  font-weight: 800;
}
.public-order-products-card .public-order-qty-grid b {
  color: #10151d;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}
.public-order-products-card .public-order-qty-grid > div:last-child b {
  color: #f15a24;
}
.public-order-summary-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.public-order-summary-card dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #1d212a;
  font-size: 20px;
  font-weight: 850;
}
.public-order-summary-card dt,
.public-order-summary-card dd {
  margin: 0;
}
.public-summary-grand {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px dashed rgba(218, 202, 183, 0.95);
}
.public-summary-grand dt {
  color: #7b0a2b;
}
.public-summary-grand dd {
  color: #f15a24;
  font-size: 38px;
  font-weight: 950;
}
.public-order-share-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  overflow: visible;
}
.public-share-copy {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.public-share-control {
  isolation: isolate;
  position: relative;
  display: inline-grid;
  place-items: center;
}
.public-share-mark {
  border: 0;
  background:
    linear-gradient(145deg, #ffffff47, #fff0 42%),
    linear-gradient(135deg, #31afae, #178f90);
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 14px 28px #1c95953d,
    inset 0 1px #ffffff57;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.public-share-mark:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px #2b969638;
}
.public-share-toggle[aria-expanded="true"] {
  background:
    linear-gradient(145deg, #ffffff57, #fff0 45%),
    linear-gradient(135deg, #278e91, #31b9b5);
  box-shadow:
    0 17px 34px #1f8f904d,
    inset 0 1px #ffffff6b;
}
.public-order-share-actions {
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  justify-items: center;
  padding: 10px 7px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: #ffffff7a;
  background:
    linear-gradient(180deg, #ffffffd1, #ffffff57 46%, #ffffff2e), #ffffff7a;
  box-shadow:
    0 18px 42px #5749382e,
    inset 0 1px #ffffffe6,
    inset 0 -1px #ffffff47;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate(-50%);
}
.public-order-share-actions:before {
  content: "";
  position: absolute;
  inset: 6px 6px auto;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffffb8, #fff0);
  pointer-events: none;
}
.public-order-share-actions button {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: #ffffff85;
  color: #20313b;
  box-shadow:
    0 8px 18px #4636261f,
    inset 0 1px #ffffffd1;
}
.public-order-share-actions button:first-child {
  border-color: #ffffffd1;
  background: #ffffffad;
  color: #20313b;
}
.public-order-share-actions button:active {
  transform: scale(0.96);
}
.public-share-copy h3 {
  margin-bottom: 8px;
  color: #111820;
}
.public-share-copy h3 span,
.public-share-copy p,
.public-share-copy small {
  color: #71717a;
}
.public-share-copy p,
.public-share-copy small {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.public-share-copy b {
  display: block;
  margin: 7px 0 5px;
  color: #2b9696;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.1;
}
.public-order-share-card .public-order-qr {
  padding: 0;
}
.public-order-share-card .public-order-qr .qr-img,
.public-order-share-card .public-order-qr .qr {
  width: 176px;
  height: 176px;
  padding: 10px;
  border: 1px solid rgba(43, 150, 150, 0.28);
  border-radius: 11px;
  background: #fff;
}
@media (max-width: 640px) {
  .public-order {
    padding: 10px 12px calc(24px + env(safe-area-inset-bottom));
    background:
      radial-gradient(
        circle at top left,
        rgba(128, 0, 38, 0.07),
        transparent 36%
      ),
      linear-gradient(180deg, #fffdf9, #f8f1e7 52%, #fffaf4);
  }
  .public-order-topbar {
    grid-template-columns: minmax(0, 1fr) auto 70px;
    margin-bottom: 8px;
  }
  .public-order-loading-topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .public-order-loading-topbar .public-logo-img {
    justify-self: center;
  }
  .public-order-capture {
    gap: 12px;
  }
  .public-order-hero {
    gap: 11px;
    padding-top: 4px;
  }
  .public-order-hero .public-logo-img {
    width: min(210px, 52vw);
    max-height: 92px;
  }
  .public-order-info-card .order-head {
    grid-template-columns: minmax(0, 1fr) 148px;
    gap: 8px;
    padding: 18px 15px 12px;
  }
  .public-venue-title-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
  }
  .public-store-mark,
  .public-share-mark {
    width: 38px;
    height: 38px;
  }
  .public-store-mark svg {
    width: 20px;
    height: 20px;
  }
  .public-order-info-card .order-head h1 {
    font-size: 22px;
    line-height: 1.18;
  }
  .public-order-info-card .order-head h2 {
    gap: 7px;
    margin: 13px 0 10px;
    font-size: 16px;
  }
  .public-order-info-card .order-head-main p,
  .public-order-info-card .order-venue-address {
    gap: 6px;
    margin-bottom: 7px !important;
    font-size: 12px !important;
  }
  .public-order-info-card .order-venue-address a {
    width: 28px;
    height: 28px;
  }
  .public-order-info-card .order-head-side {
    min-width: 0;
    align-items: center !important;
    padding-top: 28px;
    padding-left: 0 !important;
    overflow: visible;
    text-align: center !important;
  }
  .public-order-info-card .order-head-side span,
  .public-order-info-card .order-head-side small,
  .public-order-info-card .order-head-side strong,
  .public-order-info-card .order-head-side b,
  .public-order-info-card .order-head-side em {
    width: 100%;
    max-width: 100%;
    text-align: center !important;
  }
  .public-order-info-card .order-head-side span,
  .public-order-info-card .order-head-side small {
    font-size: 11px;
  }
  .public-order-info-card .order-head-side strong {
    margin: 6px 0 18px;
    font-size: 13px;
  }
  .public-order-info-card .order-head-side b {
    font-size: 12px;
  }
  .public-order-info-card .order-head-side em {
    overflow: visible;
    font-size: 18px;
    line-height: 1.04;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .public-order-card-actions {
    margin: 0 15px 16px;
    padding: 9px 10px;
  }
  .public-status-pill {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }
  .public-order-secondary-actions {
    gap: 7px;
  }
  .public-order-share-actions {
    position: absolute;
    bottom: 46px;
    display: grid;
    gap: 7px;
    padding: 8px 6px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    background: #ffffff7a;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .public-order-share-actions button {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }
  .public-order-card-actions button,
  .public-order-card-actions .public-receipt-button {
    min-height: 30px;
    gap: 5px;
    padding: 0 5px;
    font-size: 11px;
  }
  .public-receipt-thumb {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    border-radius: 5px;
  }
  .public-order-products-card,
  .public-order-summary-card,
  .public-order-share-card {
    padding: 17px 16px;
  }
  .public-order-card h3 {
    margin-bottom: 13px;
    font-size: 17px;
  }
  .public-order-products-card .public-product-row {
    grid-template-columns: minmax(0, 1fr) minmax(148px, 0.58fr);
    min-height: 132px;
  }
  .public-line-received-mark {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
  }
  .public-line-received-mark img {
    width: 24px;
    height: 24px;
  }
  .public-order-products-card .public-order-product {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 10px;
  }
  .public-order-products-card .public-order-thumb {
    width: 60px;
    height: 74px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .public-order-products-card .public-product-title-line {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 4px;
  }
  .public-order-products-card .public-product-link {
    width: 18px;
    height: 18px;
  }
  .public-order-products-card .public-order-product strong,
  .public-order-products-card .public-order-product span {
    font-size: 15px;
    line-height: 1.18;
  }
  .public-order-products-card .public-order-product span {
    margin-top: 3px;
  }
  .public-order-products-card .public-order-product small {
    margin-top: 6px;
    font-size: 12.5px;
  }
  .public-order-products-card .public-order-qty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "qty qty" "price total";
    justify-items: stretch;
    row-gap: 12px;
    column-gap: 4px;
    padding: 13px 10px 12px;
  }
  .public-order-products-card .public-order-qty-grid > div {
    min-width: 0;
    grid-template-rows: auto auto;
    align-items: start;
    justify-items: start;
    text-align: left;
    gap: 6px;
  }
  .public-order-products-card .public-order-qty-grid > div:first-child {
    grid-area: qty;
  }
  .public-order-products-card .public-order-qty-grid > div:nth-child(2) {
    grid-area: price;
  }
  .public-order-products-card .public-order-qty-grid > div:nth-child(3) {
    grid-area: total;
    justify-items: end;
    text-align: right;
  }
  .public-order-products-card .public-order-qty-grid span {
    text-align: inherit;
    font-size: 13px;
  }
  .public-order-products-card .public-order-qty-grid b {
    max-width: 100%;
    overflow: hidden;
    text-overflow: clip;
    text-align: inherit;
    font-size: 13px;
    line-height: 1.12;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .public-order-summary-card dl > div {
    font-size: 16px;
  }
  .public-summary-grand dd {
    font-size: 31px;
  }
  .public-order-share-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
  }
  .public-share-copy {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
  }
  .public-share-control {
    position: relative;
  }
  .public-share-copy p,
  .public-share-copy small {
    font-size: 11px;
  }
  .public-share-copy b {
    font-size: 18px;
  }
  .public-order-share-card .public-order-qr .qr-img,
  .public-order-share-card .public-order-qr .qr {
    width: 108px;
    height: 108px;
    padding: 6px;
  }
}
.public-order-capture-export-host {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 760px;
  pointer-events: none;
  transform: translate(-200vw);
}
.public-order-capture.public-order-capture-export {
  width: 760px !important;
  max-width: none !important;
  display: grid !important;
  gap: 18px !important;
  padding-bottom: 120px !important;
  background: transparent;
}
.public-order-capture-export .public-order-hero {
  grid-template-columns: minmax(36px, 1fr) auto minmax(36px, 1fr);
  gap: 18px;
  padding: 8px 4px 0;
}
.public-order-capture-export .public-order-hero .public-logo-img {
  width: min(270px, 52vw);
  max-height: 118px;
}
.public-order-capture-export .public-venue-title-row {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.public-order-capture-export .public-store-mark,
.public-order-capture-export .public-share-mark {
  width: 52px;
  height: 52px;
}
.public-order-capture-export .public-store-mark {
  display: inline-grid !important;
  place-items: center !important;
}
.public-order-capture-export .public-store-mark svg {
  position: static;
  width: 25px;
  height: 25px;
  transform: none;
}
.public-order-capture-export .public-capture-icon {
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  transform: none !important;
}
.public-order-capture-export .public-store-mark .public-capture-icon {
  width: 25px !important;
  height: 25px !important;
  margin: auto;
  align-self: center;
  justify-self: center;
}
.public-order-capture-export .public-order-info-card .order-head {
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  padding: 28px 28px 20px;
}
.public-order-capture-export .public-order-info-card .order-head h1 {
  font-size: 36px;
}
.public-order-capture-export .public-order-info-card .order-head h2 {
  margin: 20px 0 16px;
  font-size: 20px;
}
.public-order-capture-export .public-order-info-card .order-head-main p,
.public-order-capture-export .public-order-info-card .order-venue-address {
  gap: 8px;
  margin-bottom: 10px !important;
  font-size: 16px !important;
}
.public-order-capture-export .public-order-info-card .order-head-side {
  align-items: flex-start !important;
  justify-content: center;
  padding-top: 20px;
  padding-left: 34px !important;
  border-left: 1px solid rgba(218, 202, 183, 0.86);
  text-align: left !important;
}
.public-order-capture-export .public-order-info-card .order-head-side span,
.public-order-capture-export .public-order-info-card .order-head-side small,
.public-order-capture-export .public-order-info-card .order-head-side strong,
.public-order-capture-export .public-order-info-card .order-head-side b,
.public-order-capture-export .public-order-info-card .order-head-side em {
  width: auto;
  text-align: left !important;
}
.public-order-capture-export .public-order-info-card .order-head-side span,
.public-order-capture-export .public-order-info-card .order-head-side small {
  font-size: 15px;
}
.public-order-capture-export .public-order-info-card .order-head-side strong {
  margin: 8px 0 24px;
  font-size: 19px;
}
.public-order-capture-export .public-order-info-card .order-head-side b {
  font-size: 17px;
}
.public-order-capture-export .public-order-info-card .order-head-side em {
  overflow: visible;
  font-size: 38px;
}
.public-order-capture-export .public-order-card-actions {
  margin: 0 28px 26px;
  padding: 11px 14px;
}
.public-order-capture-export .public-status-pill {
  min-height: 38px;
  padding: 0 18px;
  font-size: 17px;
}
.public-order-capture-export .public-order-card-actions button,
.public-order-capture-export .public-order-card-actions .public-receipt-button {
  min-height: 36px;
  gap: 8px;
  padding: 0 10px;
  font-size: 15px;
}
.public-order-capture-export .public-status-pill,
.public-order-capture-export .public-receipt-button {
  align-items: center !important;
}
.public-order-capture-export .public-status-pill .public-capture-icon {
  width: 17px !important;
  height: 17px !important;
  margin: 0;
  align-self: center;
}
.public-order-capture-export .public-receipt-button .public-capture-icon {
  width: 18px !important;
  height: 18px !important;
  margin: 0;
  align-self: center;
}
.public-order-capture-export .public-order-products-card,
.public-order-capture-export .public-order-summary-card,
.public-order-capture-export .public-order-share-card {
  padding: 24px 28px;
}
.public-order-capture-export .public-order-card h3 {
  margin-bottom: 18px;
  font-size: 22px;
}
.public-order-capture-export .public-order-products-card .public-product-row {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  min-height: 148px;
}
.public-order-capture-export .public-order-products-card .public-order-product {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
}
.public-order-capture-export .public-order-products-card .public-order-thumb {
  width: 88px;
  height: 88px;
}
.public-order-capture-export
  .public-order-products-card
  .public-product-title-line {
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 4px;
}
.public-order-capture-export .public-order-products-card .public-product-link {
  width: 24px;
  height: 24px;
}
.public-order-capture-export
  .public-order-products-card
  .public-order-product
  strong,
.public-order-capture-export
  .public-order-products-card
  .public-order-product
  span {
  font-size: 19px;
  line-height: 1.22;
}
.public-order-capture-export
  .public-order-products-card
  .public-order-product
  span {
  margin-top: 5px;
}
.public-order-capture-export
  .public-order-products-card
  .public-order-product
  small {
  margin-top: 8px;
  font-size: 16px;
}
.public-order-capture-export
  .public-order-products-card
  .public-order-qty-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "qty qty" "price total";
  row-gap: 18px;
  column-gap: 18px;
  padding: 20px 24px;
}
.public-order-capture-export
  .public-order-products-card
  .public-order-qty-grid
  > div {
  gap: 9px;
}
.public-order-capture-export
  .public-order-products-card
  .public-order-qty-grid
  span {
  font-size: 16px;
}
.public-order-capture-export
  .public-order-products-card
  .public-order-qty-grid
  b {
  overflow: visible;
  font-size: 22px;
}
.page.procurement-dashboard {
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.92),
      transparent 38%
    ),
    linear-gradient(135deg, #f4f6ef, #f8fafc 54%, #eef6f7);
}
.procurement-hero-grid {
  grid-template-columns: minmax(330px, 0.32fr) minmax(0, 1fr);
}
.procurement-total-card strong {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.02;
  white-space: nowrap;
}
@media (max-width: 1040px) {
  .procurement-hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .page.procurement-dashboard {
    background: transparent;
  }
  .procurement-total-card strong {
    font-size: 38px;
  }
}
.workspace {
  background:
    linear-gradient(135deg, #4285f40a, #34a85306 36%, #fbbc0506 68%, #ea433506),
    var(--canvas);
}
.panel,
.kpi,
.orders-source-head,
.orders-action-grid,
.order-source-section,
.receive-sheet,
.receipt-attachment-panel,
.procurement-total-card,
.procurement-panel,
.procurement-stat-grid article,
.procurement-current-venue {
  border-color: #3f526c1b;
}
@media (max-width: 760px) {
  body {
    background:
      linear-gradient(
        135deg,
        #4285f414,
        #34a8530f 34%,
        #fbbc050f 66%,
        #ea43350d
      ),
      #f5f7fb;
  }
  .workspace {
    background: linear-gradient(180deg, #f7faffd1, #f2f6fcf0), #f5f7fb;
  }
  .workspace:before {
    content: "";
    position: sticky;
    top: 0;
    z-index: 24;
    display: block;
    height: 3px;
    margin: 0 14px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      #4285f4,
      #34a853,
      #fbbc05,
      #ea4335,
      #4285f4
    );
    background-size: 240% 100%;
    animation: mobileAiSheen 7s ease-in-out infinite;
  }
  .topbar {
    margin: 8px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 24px;
    background: #ffffffb8;
    box-shadow: 0 18px 46px #1c2b4321;
    backdrop-filter: saturate(190%) blur(26px);
    -webkit-backdrop-filter: saturate(190%) blur(26px);
  }
  .panel,
  .kpi,
  .orders-source-head,
  .orders-action-grid,
  .orders-filter-strip,
  .order-source-section,
  .receive-sheet,
  .receipt-attachment-panel,
  .procurement-total-card,
  .procurement-panel,
  .procurement-stat-grid article,
  .procurement-current-venue {
    border-color: #58729121;
    background: #ffffffc7;
    box-shadow: 0 18px 46px #1c2b4321;
    backdrop-filter: saturate(185%) blur(24px);
    -webkit-backdrop-filter: saturate(185%) blur(24px);
  }
  .orders-action-grid button.gallery,
  .order-checkout-panel > button.primary,
  .receive-action-bar .primary,
  .order-floating-cart {
    background: linear-gradient(135deg, #0f3550, #1f7a9a 50%, #33c475);
    background-size: 180% 180%;
    animation: mobileAiSheen 8s ease-in-out infinite;
  }
  .topbar button:active,
  .topbar select:active,
  .venue-enter:active,
  .order-product-row:active,
  .source-order-row:active,
  .orders-action-grid button:active,
  .receipt-attachment-panel label:active,
  .receipt-chip-list button:active {
    transform: scale(0.97);
  }
}
.theme-toggle {
  min-height: 32px;
  padding: 0 10px;
  border-color: #ffffff29;
  border-radius: 999px;
  background: #ffffff1a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.theme-toggle svg {
  flex: 0 0 auto;
}
.venue-theme-toggle {
  color: var(--ink);
  border-color: #3f526c29;
  background: #ffffffdb;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef4ff;
  --muted: #a7b3c6;
  --line: #263447;
  --panel: #111b2a;
  --canvas: #07111d;
  --nav: #071523;
  --nav-deep: #030912;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  background: var(--canvas);
}
:root[data-theme="dark"] body {
  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(66, 133, 244, 0.18),
      transparent 34%
    ),
    radial-gradient(
      circle at 86% 10%,
      rgba(52, 199, 89, 0.12),
      transparent 28%
    ),
    #07111d;
  color: var(--ink);
}
:root[data-theme="dark"] .workspace,
:root[data-theme="dark"] .page.procurement-dashboard,
:root[data-theme="dark"] .procurement-dashboard,
:root[data-theme="dark"] .venue-gate {
  background:
    linear-gradient(135deg, #4285f41a, #34a8530e 36%, #fbbc050d 68%, #ea43350e),
    #07111d;
}
:root[data-theme="dark"] .topbar,
:root[data-theme="dark"] .receive-topbar {
  background: #071523db;
  border-color: #a0b2cd24;
  box-shadow: 0 18px 44px #00000042;
  backdrop-filter: saturate(170%) blur(24px);
  -webkit-backdrop-filter: saturate(170%) blur(24px);
}
:root[data-theme="dark"] .top-title,
:root[data-theme="dark"] .hamburger span,
:root[data-theme="dark"] .hamburger:before,
:root[data-theme="dark"] .hamburger:after {
  color: #f5f8ff;
}
:root[data-theme="dark"] .hamburger span,
:root[data-theme="dark"] .hamburger:before,
:root[data-theme="dark"] .hamburger:after {
  background: #dce8f8;
}
:root[data-theme="dark"] .sidebar {
  background: linear-gradient(180deg, #0c1726fa, #080f1afa);
  border-color: #a6b8d629;
}
:root[data-theme="dark"] .sidebar-venue,
:root[data-theme="dark"] .sidebar-footer,
:root[data-theme="dark"] .nav-button,
:root[data-theme="dark"] .nav-group-card,
:root[data-theme="dark"] .nav-heading {
  border-color: #a6b8d61f;
  color: var(--ink);
}
:root[data-theme="dark"] .nav-button,
:root[data-theme="dark"] .nav-group-card {
  background: #111e30b8;
}
:root[data-theme="dark"] .nav-button.active,
:root[data-theme="dark"] button.active,
:root[data-theme="dark"] .catalog-groups button.active,
:root[data-theme="dark"] .status-tabs button.active,
:root[data-theme="dark"] .order-tabs button.active {
  background: #4285f42e;
  border-color: #52a0ff9e;
  color: #8fd0ff;
}
:root[data-theme="dark"] .nav-button.active {
  border-color: #ffc72c85;
  background: linear-gradient(180deg, #302a16e0, #1f242ac7);
  color: #fff3c4;
}
:root[data-theme="dark"] .nav-child.active {
  background: #ffc72c24;
  color: #ffe08a;
}
:root[data-theme="dark"] button,
:root[data-theme="dark"] .file-button,
:root[data-theme="dark"] .file-chip,
:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea {
  border-color: #9cb0cd38;
  background: #0a111dd1;
  color: var(--ink);
}
:root[data-theme="dark"] option {
  background: #111b2a;
  color: var(--ink);
}
:root[data-theme="dark"] button.primary,
:root[data-theme="dark"] .orders-action-grid button.gallery,
:root[data-theme="dark"] .order-checkout-panel > button.primary,
:root[data-theme="dark"] .receive-action-bar .primary,
:root[data-theme="dark"] .order-floating-cart {
  border-color: transparent;
  background: linear-gradient(135deg, #0f5bff, #10b6c8 48%, #31d073);
  color: #fff;
}
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .venue-theme-toggle {
  border-color: #92a4c247;
  background: #ffffff14;
  color: var(--ink);
}
:root[data-theme="dark"] .venue-select {
  background: #030912eb;
  border-color: #9cb0cd33;
}
:root[data-theme="dark"] .panel,
:root[data-theme="dark"] .kpi,
:root[data-theme="dark"] .page-header,
:root[data-theme="dark"] .toolbar,
:root[data-theme="dark"] .summary-strip,
:root[data-theme="dark"] .activity-list article,
:root[data-theme="dark"] .table-wrap,
:root[data-theme="dark"] .data-table,
:root[data-theme="dark"] .catalog-card,
:root[data-theme="dark"] .supplier-card,
:root[data-theme="dark"] .recipe-card,
:root[data-theme="dark"] .employee-card,
:root[data-theme="dark"] .invite-panel,
:root[data-theme="dark"] .modal-panel,
:root[data-theme="dark"] .orders-source-head,
:root[data-theme="dark"] .orders-action-grid,
:root[data-theme="dark"] .orders-filter-strip,
:root[data-theme="dark"] .order-source-section,
:root[data-theme="dark"] .source-order-row,
:root[data-theme="dark"] .order-checkout-panel,
:root[data-theme="dark"] .cart-drawer,
:root[data-theme="dark"] .receive-sheet,
:root[data-theme="dark"] .receipt-attachment-panel,
:root[data-theme="dark"] .receipt-preview-panel,
:root[data-theme="dark"] .procurement-total-card,
:root[data-theme="dark"] .procurement-panel,
:root[data-theme="dark"] .procurement-stat-grid article,
:root[data-theme="dark"] .procurement-current-venue,
:root[data-theme="dark"] .dashboard-controls,
:root[data-theme="dark"] .venue-gate-panel,
:root[data-theme="dark"] .venue-pick,
:root[data-theme="dark"] .order-export-filter-strip,
:root[data-theme="dark"] .public-order-shell,
:root[data-theme="dark"] .public-order-card {
  border-color: #9cb0cd24;
  background: #0f1928c7;
  color: var(--ink);
  box-shadow: 0 18px 48px #00000047;
  backdrop-filter: saturate(165%) blur(22px);
  -webkit-backdrop-filter: saturate(165%) blur(22px);
}
:root[data-theme="dark"] .data-table th,
:root[data-theme="dark"] .permission-table th,
:root[data-theme="dark"] .source-order-head,
:root[data-theme="dark"] .public-status-row th,
:root[data-theme="dark"] .public-product-heading-row th,
:root[data-theme="dark"] .public-fee-heading-row th,
:root[data-theme="dark"] .receive-line-edit {
  background: #223044bd;
  color: #dce8f8;
}
:root[data-theme="dark"] .data-table td,
:root[data-theme="dark"] .permission-table td,
:root[data-theme="dark"] .source-order-row,
:root[data-theme="dark"] .public-order-table td,
:root[data-theme="dark"] .public-order-table th,
:root[data-theme="dark"] .order-product-row,
:root[data-theme="dark"] .catalog-card,
:root[data-theme="dark"] .supplier-card {
  border-color: #9cb0cd1f;
}
:root[data-theme="dark"] .page h1,
:root[data-theme="dark"] .page h2,
:root[data-theme="dark"] .page h3,
:root[data-theme="dark"] .page-header h1,
:root[data-theme="dark"] .procurement-panel h2,
:root[data-theme="dark"] .procurement-total-card span,
:root[data-theme="dark"] .procurement-stat-grid span,
:root[data-theme="dark"] .procurement-current-venue span,
:root[data-theme="dark"] .procurement-current-venue strong,
:root[data-theme="dark"] .procurement-product-row strong,
:root[data-theme="dark"] .procurement-product-row em,
:root[data-theme="dark"] .procurement-legend strong,
:root[data-theme="dark"] .order-product-info strong,
:root[data-theme="dark"] .source-order-row strong,
:root[data-theme="dark"] .public-order-product strong,
:root[data-theme="dark"] .venue-gate-head h1,
:root[data-theme="dark"] .boot-copy h1 {
  color: #f5f8ff;
}
:root[data-theme="dark"] .page-header p,
:root[data-theme="dark"] .muted-text,
:root[data-theme="dark"] .summary-strip,
:root[data-theme="dark"] .procurement-total-card small,
:root[data-theme="dark"] .procurement-stat-grid small,
:root[data-theme="dark"] .procurement-current-venue small,
:root[data-theme="dark"] .procurement-product-row span,
:root[data-theme="dark"] .procurement-product-row small,
:root[data-theme="dark"] .procurement-legend,
:root[data-theme="dark"] .order-product-info span,
:root[data-theme="dark"] .order-product-info small,
:root[data-theme="dark"] .source-order-row span,
:root[data-theme="dark"] .source-order-row small,
:root[data-theme="dark"] .public-order-product span,
:root[data-theme="dark"] .public-order-product small,
:root[data-theme="dark"] .venue-gate-head p,
:root[data-theme="dark"] .venue-pick span,
:root[data-theme="dark"] .boot-copy span {
  color: var(--muted);
}
:root[data-theme="dark"] .procurement-total-card strong {
  color: #ffd447;
  text-shadow: 0 8px 28px rgba(255, 196, 0, 0.18);
}
:root[data-theme="dark"] .procurement-bar-track,
:root[data-theme="dark"] .procurement-bar-panel.compact .procurement-bar-track,
:root[data-theme="dark"] .order-quantity-stepper,
:root[data-theme="dark"] .boot-progress {
  background: #a0b1cd29;
}
:root[data-theme="dark"] .procurement-pie:after {
  background: #0f1928f0;
  box-shadow: inset 0 0 0 1px #9cb0cd1f;
}
:root[data-theme="dark"] .image-placeholder,
:root[data-theme="dark"] .procurement-product-row .image-placeholder,
:root[data-theme="dark"] .procurement-product-row img,
:root[data-theme="dark"] .public-order-thumb.image-placeholder {
  background: #0a111dad;
  border-color: #9cb0cd29;
  color: #91a0b5;
}
:root[data-theme="dark"] .notice-bar {
  border-color: #53c2ff52;
  background: #133248d1;
  color: #bdeaff;
}
:root[data-theme="dark"] .venue-access-list,
:root[data-theme="dark"] .checkline,
:root[data-theme="dark"] .toolbar .checkline,
:root[data-theme="dark"] .inline-form .checkline,
:root[data-theme="dark"] .action-row .checkline {
  border-color: #9cb0cd29;
  background: #0a111da8;
  color: var(--muted);
}
:root[data-theme="dark"] .modal-backdrop,
:root[data-theme="dark"] .cart-drawer-backdrop,
:root[data-theme="dark"] .receipt-preview-modal,
:root[data-theme="dark"] .capture-confirm-backdrop {
  background: #02060cb8;
}
:root[data-theme="dark"] .public-order-page {
  background: #e9eef4;
  color: #263445;
}
:root[data-theme="dark"] .public-order {
  background:
    radial-gradient(
      circle at top left,
      rgba(128, 0, 38, 0.06),
      transparent 34%
    ),
    radial-gradient(
      circle at top right,
      rgba(43, 151, 151, 0.06),
      transparent 30%
    ),
    linear-gradient(180deg, #fffdf9, #f9f3e9 54%, #fffaf4);
  color: #263445;
}
:root[data-theme="dark"] .public-order .public-back,
:root[data-theme="dark"] .public-order .public-lang {
  border-color: #d6e0e7;
  background: #ffffffd6;
  color: #263445;
}
:root[data-theme="dark"] .public-order .public-settings-menu {
  border-color: #ffffffb8;
  background: #ffffffb8;
  color: #263445;
}
:root[data-theme="dark"] .public-order .public-settings-menu-item,
:root[data-theme="dark"] .public-order .public-settings-language select {
  border-color: #007aff29;
  background: #ffffffb8;
  color: #263445;
}
:root[data-theme="dark"] .public-order .public-settings-button {
  border-color: #ffffffc2;
  background:
    linear-gradient(145deg, #ffffffc7, #ebf8ff57 48%, #ffffff38), #add8ff47;
  color: #0a5fd3;
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}
:root[data-theme="dark"] .public-order .public-capture-button {
  border-color: #bee1ee;
  background: #e9f8fceb;
  color: #1f8da5;
}
:root[data-theme="dark"] .public-order .order-sheet,
:root[data-theme="dark"] .public-order .public-order-card,
:root[data-theme="dark"] .public-order .public-order-info-card,
:root[data-theme="dark"] .public-order .public-status-row th:first-child,
:root[data-theme="dark"] .public-order .public-product-row td {
  border-color: #dacab7c7;
  background: #ffffffeb;
  color: #263445;
}
:root[data-theme="dark"]
  .public-order
  .public-order-products-card
  .public-product-row,
:root[data-theme="dark"]
  .public-order
  .public-order-products-card
  .public-order-product,
:root[data-theme="dark"] .public-order .public-order-summary-card,
:root[data-theme="dark"] .public-order .public-order-share-card,
:root[data-theme="dark"] .public-order .public-order-card-actions {
  border-color: #e1d3c3d1;
  background: #ffffffeb;
}
:root[data-theme="dark"]
  .public-order
  .public-order-products-card
  .public-order-qty-grid {
  border-color: #e1d3c3d1;
  background: #fafafcc7;
}
:root[data-theme="dark"] .public-order .public-status-row th {
  background: #fbfcfd;
  color: #2c3340;
}
:root[data-theme="dark"] .public-order .public-product-heading-row th,
:root[data-theme="dark"] .public-order .public-fee-heading-row th {
  background: #f3f8fb;
  color: #2c3340;
}
:root[data-theme="dark"] .public-order .public-order-table th,
:root[data-theme="dark"] .public-order .public-order-table td {
  border-color: #e1e7ed;
  color: #2c3340;
}
:root[data-theme="dark"]
  .public-order
  .public-product-row
  .public-order-qty-cell,
:root[data-theme="dark"] .public-order .public-total-row td,
:root[data-theme="dark"] .public-order .public-fee-row td,
:root[data-theme="dark"] .public-order .public-grand-row td {
  background: #f7f9fc;
}
:root[data-theme="dark"] .public-order .public-order-product strong,
:root[data-theme="dark"]
  .public-order
  .public-order-products-card
  .public-order-product
  strong,
:root[data-theme="dark"] .public-order .public-order-product span,
:root[data-theme="dark"] .public-order .public-order-qty-grid b,
:root[data-theme="dark"] .public-order .public-total-row td b,
:root[data-theme="dark"] .public-order .public-grand-row td b,
:root[data-theme="dark"] .public-order .order-head h1,
:root[data-theme="dark"] .public-order .order-head h2,
:root[data-theme="dark"] .public-order .order-head-side strong,
:root[data-theme="dark"] .public-order .order-head-side b {
  color: #1b1e27;
}
:root[data-theme="dark"] .public-order .public-order-product small,
:root[data-theme="dark"] .public-order .public-order-qty-grid span,
:root[data-theme="dark"] .public-order .order-head-main p,
:root[data-theme="dark"] .public-order .order-head-side span,
:root[data-theme="dark"] .public-order .order-head-side small {
  color: #7c8795;
}
:root[data-theme="dark"] .public-order .public-order-thumb.image-placeholder,
:root[data-theme="dark"] .public-order .image-placeholder.public-order-thumb {
  border-color: #e3e9ef;
  background: #fff;
  color: #9aa5b1;
}
@media (max-width: 760px) {
  .theme-toggle {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }
  .theme-toggle span {
    display: none;
  }
  .topbar .theme-toggle {
    border-color: #3f526c29;
    background: #ffffffad;
    color: #152233;
  }
  .venue-theme-toggle {
    width: auto;
    min-width: 40px;
    padding: 0 10px;
  }
  :root[data-theme="dark"] .workspace:before {
    background: linear-gradient(
      90deg,
      #5aa7ff,
      #31d073,
      #ffd447,
      #ff6a55,
      #5aa7ff
    );
  }
  :root[data-theme="dark"] .topbar {
    background: #0a121fbd;
    border-color: #9cb0cd29;
  }
  :root[data-theme="dark"] .top-title {
    color: #f5f8ff;
  }
  :root[data-theme="dark"] .topbar .theme-toggle {
    border-color: #92a4c247;
    background: #ffffff14;
    color: #eef4ff;
  }
  :root[data-theme="dark"] .panel,
  :root[data-theme="dark"] .kpi,
  :root[data-theme="dark"] .orders-source-head,
  :root[data-theme="dark"] .orders-action-grid,
  :root[data-theme="dark"] .orders-filter-strip,
  :root[data-theme="dark"] .order-source-section,
  :root[data-theme="dark"] .receive-sheet,
  :root[data-theme="dark"] .receipt-attachment-panel,
  :root[data-theme="dark"] .procurement-total-card,
  :root[data-theme="dark"] .procurement-panel,
  :root[data-theme="dark"] .procurement-stat-grid article,
  :root[data-theme="dark"] .procurement-current-venue {
    background: #0f1928bd;
    box-shadow: 0 18px 46px #0000003d;
  }
}
.dc-sheet-layer,
.dc-modal-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147482500;
  display: grid;
  align-items: end;
}
.dc-modal-layer {
  z-index: 2147482600;
  align-items: center;
  justify-items: center;
  padding: 18px;
}
.dc-sheet-scrim,
.dc-modal-scrim {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 0;
  background: #080e1494;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.dc-product-sheet {
  position: relative;
  z-index: 1;
  width: min(760px, 100vw);
  margin: 0 auto;
  padding: 18px 24px 22px;
  border-radius: 18px 18px 0 0;
  background: #fffffff0;
  box-shadow: 0 -18px 46px #0c182638;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.dc-sheet-close {
  position: absolute;
  left: 18px;
  top: 26px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6d7682;
  display: grid;
  place-items: center;
}
.dc-sheet-product-head {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 0 0 18px 56px;
  border-bottom: 1px solid rgba(28, 42, 54, 0.12);
}
.dc-sheet-thumb {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  border: 1px solid rgba(26, 47, 61, 0.1);
  background: #fff;
  object-fit: contain;
}
.dc-sheet-product-head h2 {
  margin: 0 0 4px;
  color: #1d2733;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 850;
}
.dc-sheet-product-head p,
.dc-sheet-product-head span {
  display: block;
  margin: 0;
  color: #747f8c;
  font-size: 13px;
  line-height: 1.35;
}
.dc-sheet-form {
  display: grid;
  gap: 18px;
  padding: 24px 0 18px;
}
.dc-sheet-form label,
.dc-sheet-form > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 44px;
}
.dc-sheet-form span {
  color: #182635;
  font-weight: 850;
}
.dc-sheet-form select,
.dc-sheet-form strong {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(45, 62, 78, 0.22);
  border-radius: 2px;
  background: #ffffffeb;
  color: #273442;
  font-size: 14px;
  font-weight: 650;
  padding: 0 14px;
}
.dc-sheet-form strong {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-color: transparent;
  background: transparent;
  text-align: right;
}
.dc-stepper {
  display: inline-grid;
  grid-template-columns: 46px 58px 46px;
  align-items: stretch;
  justify-self: end;
  border: 1px solid rgba(130, 144, 160, 0.42);
  border-radius: 8px;
  overflow: hidden;
  background: #fffffff0;
}
.dc-stepper.compact {
  grid-template-columns: 34px 42px 34px;
  border-radius: 999px;
}
.dc-stepper button,
.dc-stepper input {
  min-height: 42px;
  border: 0;
  border-right: 1px solid rgba(130, 144, 160, 0.32);
  background: transparent;
  color: #5d6e80;
  font-weight: 850;
  text-align: center;
}
.dc-stepper.compact button,
.dc-stepper.compact input {
  min-height: 34px;
}
.dc-stepper button:last-child {
  border-right: 0;
}
.dc-stepper input {
  width: 100%;
  color: #293545;
  font-size: 15px;
}
.dc-sheet-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 42, 54, 0.12);
}
.dc-sheet-footer .primary,
.dc-floating-action .primary,
.dc-send-modal .primary {
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #37c95a, #2db34c);
  color: #fff;
  box-shadow:
    inset 0 -1px #00000029,
    0 8px 18px #2ba84e3d;
  font-weight: 900;
}
.dc-sheet-footer .primary {
  min-width: 180px;
  min-height: 48px;
  font-size: 16px;
}
.dc-order-flow-panel {
  width: min(760px, 100vw);
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #edf4f7 !important;
  border-left: 1px solid rgba(41, 66, 82, 0.16);
}
.dc-order-flow-panel:before {
  content: none !important;
  display: none !important;
}
.dc-cart-view,
.dc-send-view,
.dc-complete-view {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #edf4f7;
}
.dc-flow-bar {
  min-height: 82px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #173c50, #133347);
  color: #fff;
}
.dc-flow-bar.simple {
  justify-content: flex-start;
  padding-left: 38px;
}
.dc-flow-bar button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dc-flow-bar h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
}
.dc-select-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #172332;
  background: #ffffffe6;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 850;
}
.dc-cart-body,
.dc-send-list,
.dc-complete-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 12px 14px 96px;
}
.dc-cart-card,
.dc-cart-total,
.dc-shared-cart-card,
.dc-send-card,
.dc-complete-body .share-link-card,
.dc-share-origin {
  border: 1px solid rgba(52, 74, 92, 0.1);
  border-radius: 8px;
  background: #ffffffdb;
  box-shadow: 0 2px 10px #1930401f;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.dc-cart-card {
  margin-bottom: 10px;
  padding: 12px 14px;
}
.dc-cart-card > header,
.dc-send-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(46, 62, 78, 0.12);
}
.dc-cart-card h3,
.dc-send-card strong {
  margin: 0;
  color: #141c26;
  font-size: 16px;
  font-weight: 900;
}
.dc-cart-card > header button,
.dc-send-card > header button {
  border: 0;
  background: transparent;
  color: #4d5c68;
  font-weight: 800;
}
.dc-cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(70px, auto) 24px;
  gap: 10px;
  align-items: center;
  padding: 13px 0 8px;
}
.dc-cart-line-main {
  min-width: 0;
}
.dc-cart-line-main strong {
  display: block;
  color: #17202c;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dc-cart-line-main span {
  color: #52606e;
  font-size: 12px;
  font-weight: 700;
}
.dc-cart-line > strong,
.dc-cart-subtotal b,
.dc-cart-total strong,
.dc-send-card-total {
  color: #1e2938;
  font-size: 15px;
  font-weight: 900;
}
.dc-icon-button {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #c7d0d8;
  display: grid;
  place-items: center;
}
.dc-cart-subtotal,
.dc-cart-total {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #263241;
  font-weight: 850;
}
.dc-cart-subtotal {
  justify-content: flex-end;
  padding-top: 8px;
}
.dc-cart-subtotal i,
.dc-cart-total i {
  flex: 1;
  border-bottom: 2px dotted rgba(54, 66, 78, 0.35);
}
.dc-cart-total {
  padding: 14px 16px;
  margin-top: 8px;
}
.dc-shared-cart-card {
  margin-top: 10px;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}
.dc-shared-cart-card > div:first-child {
  display: grid;
  gap: 3px;
}
.dc-shared-cart-card strong {
  color: #17202c;
  font-size: 15px;
  font-weight: 900;
}
.dc-shared-cart-card span {
  color: #647484;
  font-size: 12px;
  line-height: 1.4;
}
.dc-shared-cart-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.dc-shared-cart-link input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(144, 162, 178, 0.32);
  border-radius: 8px;
  background: #ffffffd6;
  color: #1777c8;
  font-size: 12px;
}
.dc-shared-cart-link button,
.dc-open-share-cart {
  min-height: 38px;
  border: 1px solid rgba(26, 139, 199, 0.2);
  border-radius: 8px;
  background: #e8f6fce6;
  color: #126b9f;
  font-size: 12px;
  font-weight: 850;
}
.dc-open-share-cart {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
}
.dc-floating-action {
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding: 12px 20px max(12px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(180deg, #edf4f700, #edf4f7f5 24%, #edf4f7fa);
}
.dc-floating-action .primary {
  min-width: min(360px, calc(100vw - 40px));
  min-height: 58px;
  border-radius: 999px;
  font-size: 19px;
}
.dc-send-intro {
  padding: 14px 18px;
  background: #ffffffd6;
  border-bottom: 1px solid rgba(45, 62, 78, 0.1);
  color: #738092;
  font-size: 14px;
  font-weight: 760;
}
.dc-send-card {
  position: relative;
  margin-bottom: 12px;
  padding: 14px;
}
.dc-send-card.selected {
  box-shadow:
    0 0 0 1px #2191be47,
    0 6px 18px #1930401f;
}
.dc-send-card header label,
.dc-hide-prices {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dc-send-fields {
  display: grid;
  gap: 12px;
  margin-top: 13px;
}
.dc-send-fields label {
  display: grid;
  gap: 7px;
  color: #758396;
  font-size: 13px;
  font-weight: 850;
}
.dc-send-fields select,
.dc-send-card textarea,
.dc-share-origin input,
.dc-send-modal select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(132, 148, 164, 0.38);
  border-radius: 2px;
  background: #ffffffeb;
  color: #243140;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 750;
}
.dc-send-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 14px 0;
}
.dc-send-links button,
.dc-details-toggle {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #283440;
  padding: 0 0 2px;
  font-size: 13px;
  font-weight: 850;
}
.dc-send-card textarea {
  min-height: 78px;
  padding: 10px 12px;
  resize: vertical;
}
.dc-hide-prices {
  color: #243140;
  font-size: 14px;
  font-weight: 900;
}
.dc-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  color: #2187b7;
}
.dc-send-lines {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.dc-send-lines > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: #273442;
  font-size: 13px;
}
.dc-send-lines small {
  grid-column: 1 / -1;
  color: #667484;
}
.dc-send-card-total {
  position: absolute;
  right: 20px;
  bottom: 20px;
}
.dc-complete-view {
  background: #fff;
}
.dc-complete-body {
  padding: 26px 18px 96px;
  text-align: center;
}
.dc-complete-body > p {
  color: #8090a6;
  font-size: 18px;
  font-weight: 850;
  margin: 12px 0 22px;
}
.dc-complete-links {
  display: grid;
  gap: 28px;
  max-width: 520px;
  margin: 0 auto;
}
.dc-complete-body .share-link-card {
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}
.dc-complete-body .share-link-card-head {
  justify-content: center;
  margin-bottom: 8px;
  color: #8090a6;
}
.dc-complete-body .share-qr-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 12px;
}
.dc-complete-body .share-qr-row img {
  width: 210px !important;
  height: 210px !important;
  flex: none;
  padding: 8px;
}
.dc-complete-body .share-qr-button {
  width: 210px;
  height: 210px;
}
.dc-complete-body .share-qr-row code {
  width: min(430px, 100%);
  max-height: none;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 44px 0 12px;
  border: 1px solid #dbe4ec;
  background: #fff;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.dc-complete-body .share-card-actions {
  justify-content: center;
}
.dc-share-origin {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin: 26px auto 8px;
  padding: 12px;
  text-align: left;
}
.dc-complete-footer {
  position: sticky;
  bottom: 0;
  padding: 12px 20px max(12px, env(safe-area-inset-bottom));
  text-align: center;
  background: #f6f9fcf0;
}
.dc-complete-footer button {
  min-width: 118px;
  min-height: 44px;
  border: 1px solid #cbd3df;
  border-radius: 8px;
  background: #fff;
  color: #8a96a7;
  font-size: 15px;
  font-weight: 850;
}
.dc-send-modal {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 26px 70px #00000047;
}
.dc-send-modal header {
  padding: 18px 22px;
  background: linear-gradient(180deg, #173c50, #133347);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}
.dc-send-modal-body {
  overflow: auto;
  padding: 22px;
  display: grid;
  gap: 16px;
}
.dc-send-modal-body p {
  margin: 0;
  color: #1e2732;
  font-size: 16px;
  line-height: 1.55;
}
.dc-send-modal-body small {
  color: #232b35;
  font-weight: 700;
}
.dc-send-modal-body label {
  display: grid;
  gap: 8px;
}
.dc-send-modal footer {
  margin-top: auto;
  padding: 18px 22px 22px;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}
.dc-send-modal footer button {
  min-width: 126px;
  min-height: 48px;
  border: 1px solid #cad2df;
  border-radius: 7px;
  background: #fff;
  color: #526170;
  font-size: 15px;
  font-weight: 850;
}
.order-product-price em {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
@media (max-width: 760px) {
  .dc-order-flow-panel {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    border-radius: 0 !important;
    transform: translateY(100%) !important;
  }
  .dc-order-flow-panel.open {
    transform: translateY(0) !important;
  }
  .dc-flow-bar {
    min-height: 82px;
    padding: 17px 16px;
    gap: 10px;
  }
  .dc-flow-bar h2 {
    font-size: 18px;
  }
  .dc-flow-bar > button:nth-of-type(2),
  .dc-flow-bar > button:nth-of-type(3) {
    font-size: 14px;
  }
  .dc-cart-body,
  .dc-send-list,
  .dc-complete-body {
    padding-left: 8px;
    padding-right: 8px;
  }
  .dc-cart-card {
    padding: 11px 10px;
  }
  .dc-cart-line {
    grid-template-columns: minmax(0, 1fr) auto minmax(62px, auto) 22px;
    gap: 7px;
  }
  .dc-cart-line-main strong {
    font-size: 14px;
  }
  .dc-shared-cart-card {
    padding: 12px;
  }
  .dc-shared-cart-link {
    grid-template-columns: 1fr;
  }
  .dc-shared-cart-link button,
  .dc-open-share-cart {
    width: 100%;
    justify-content: center;
  }
  .dc-stepper.compact {
    grid-template-columns: 30px 38px 30px;
  }
  .dc-stepper.compact button,
  .dc-stepper.compact input {
    min-height: 30px;
  }
  .dc-floating-action {
    padding-inline: 16px;
  }
  .dc-floating-action .primary {
    min-height: 56px;
    font-size: 18px;
  }
  .dc-product-sheet {
    padding: 16px 18px 20px;
  }
  .dc-sheet-product-head {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    padding-left: 52px;
  }
  .dc-sheet-thumb {
    width: 74px;
    height: 74px;
  }
  .dc-sheet-form label,
  .dc-sheet-form > div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }
  .dc-send-card {
    padding: 13px 12px 48px;
  }
  .dc-send-card-total {
    right: 14px;
    bottom: 14px;
  }
  .dc-complete-body .share-qr-row img {
    width: 184px;
    height: 184px;
  }
  .share-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dc-send-modal {
    min-height: min(680px, calc(100dvh - 90px));
  }
}
:root[data-theme="dark"] .dc-cart-view,
:root[data-theme="dark"] .dc-send-view,
:root[data-theme="dark"] .dc-order-flow-panel {
  background: #101928 !important;
}
:root[data-theme="dark"] .dc-product-sheet,
:root[data-theme="dark"] .dc-cart-card,
:root[data-theme="dark"] .dc-cart-total,
:root[data-theme="dark"] .dc-shared-cart-card,
:root[data-theme="dark"] .dc-send-card,
:root[data-theme="dark"] .dc-share-origin,
:root[data-theme="dark"] .dc-send-modal {
  background: #111b2af0;
  color: #eff5ff;
  border-color: #9cb0cd29;
}
:root[data-theme="dark"] .dc-sheet-product-head h2,
:root[data-theme="dark"] .dc-sheet-form span,
:root[data-theme="dark"] .dc-cart-card h3,
:root[data-theme="dark"] .dc-send-card strong,
:root[data-theme="dark"] .dc-cart-line-main strong,
:root[data-theme="dark"] .dc-cart-line > strong,
:root[data-theme="dark"] .dc-cart-subtotal b,
:root[data-theme="dark"] .dc-cart-total strong,
:root[data-theme="dark"] .dc-shared-cart-card strong,
:root[data-theme="dark"] .dc-send-card-total,
:root[data-theme="dark"] .dc-send-modal-body p {
  color: #f4f8ff;
}
:root[data-theme="dark"] .dc-sheet-form select,
:root[data-theme="dark"] .dc-stepper,
:root[data-theme="dark"] .dc-send-fields select,
:root[data-theme="dark"] .dc-send-card textarea,
:root[data-theme="dark"] .dc-share-origin input,
:root[data-theme="dark"] .dc-shared-cart-link input,
:root[data-theme="dark"] .dc-send-modal select {
  background: #080e18d6;
  border-color: #9cb0cd38;
  color: #f4f8ff;
}
:root[data-theme="dark"] .dc-shared-cart-card span {
  color: #aebcd0;
}
:root[data-theme="dark"] .dc-shared-cart-link button,
:root[data-theme="dark"] .dc-open-share-cart {
  background: #244e68c7;
  border-color: #559cc447;
  color: #d9f2ff;
}
.source-order-icons .copy-text-action {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8c97a3;
}
.receive-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.receive-share-actions button {
  min-height: 34px;
  margin-top: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffffbd;
  border-color: #0c304224;
  color: #17475d;
  font-weight: 800;
}
.receive-copy-status {
  display: inline-flex;
  margin-top: 8px;
  color: #1c9a50;
  font-size: 12px;
  font-weight: 800;
}
.received-order-copy-list {
  display: grid;
  gap: 8px;
  padding: 8px 18px 14px;
}
.received-order-copy-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(12, 48, 66, 0.08);
  border-radius: 12px;
  background: #ffffffad;
}
.received-order-history-card {
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.received-order-history-card:active {
  transform: scale(0.99);
  background: #e2f1ffe0;
  border-color: #2582be2e;
}
.received-order-history-card:focus-visible {
  outline: 2px solid rgba(23, 120, 210, 0.36);
  outline-offset: 2px;
}
.received-order-copy-list article div {
  min-width: 0;
}
.received-order-copy-list article strong,
.received-order-copy-list article span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.received-order-copy-list article span {
  color: #6c7886;
  font-size: 11px;
}
.received-order-copy-list article b {
  color: #17202b;
  font-size: 12px;
}
.received-order-copy-list article button {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #17475d;
  font-size: 12px;
}
:root[data-theme="dark"] .receive-share-actions button,
:root[data-theme="dark"] .received-order-copy-list article {
  background: #0d1826c7;
  border-color: #9cb0cd29;
  color: #d9f2ff;
}
:root[data-theme="dark"] .source-order-icons .copy-text-action {
  background: transparent;
  border-color: transparent;
  color: #9aa8b8;
}
@media (max-width: 640px) {
  .received-order-copy-list {
    padding-inline: 12px;
  }
  .received-order-copy-list article {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .received-order-copy-list article button {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }
}
.meal-ticket-page {
  display: grid;
  gap: 10px;
}
.meal-ticket-today-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.meal-ticket-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.08);
}
.meal-ticket-panel-head div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.meal-ticket-panel-head span {
  color: #1976d2;
  font-size: 12px;
  font-weight: 900;
}
.meal-ticket-panel-head strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}
.meal-ticket-panel-head small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}
.meal-ticket-total-line,
.meal-ticket-department-grid {
  display: grid;
  gap: 7px;
}
.meal-ticket-total-line {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.meal-ticket-department-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.meal-ticket-total-line article,
.meal-ticket-department-grid article {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 58px;
  padding: 8px 9px;
  border: 1px solid rgba(60, 60, 67, 0.1);
  border-radius: 8px;
  background: #f7fafdbd;
}
.meal-ticket-total-line article.is-primary {
  border-color: #34c75947;
  background: #ecfbf1e0;
}
.meal-ticket-total-line span,
.meal-ticket-department-grid span {
  color: #1976d2;
  font-size: 10px;
  font-weight: 900;
}
.meal-ticket-total-line strong,
.meal-ticket-department-grid strong {
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}
.meal-ticket-total-line small,
.meal-ticket-department-grid small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}
.meal-ticket-add {
  align-items: center;
}
.meal-ticket-add > input,
.meal-ticket-add > select {
  min-width: 120px;
  flex: 1 1 130px;
}
.meal-ticket-date-picker {
  display: flex;
  flex: 2 1 260px;
  gap: 4px;
  flex-wrap: wrap;
}
.meal-ticket-date-picker label,
.meal-cell-checks label,
.schedule-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  color: var(--ink);
  font-size: 11px;
}
.meal-ticket-date-picker label {
  min-width: 38px;
  justify-content: center;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffffa3;
}
.meal-ticket-page input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-grid;
  place-content: center;
  flex: 0 0 auto;
  width: 13px;
  min-width: 13px;
  height: 13px;
  min-height: 13px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(105, 121, 139, 0.42);
  border-radius: 4px;
  background: #ffffffeb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 10px;
}
.meal-ticket-page input[type="checkbox"]:checked {
  border-color: var(--green);
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.1 6.2 4.8 8.8 9.9 3.2' fill='none' stroke='white' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.meal-ticket-page input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(0, 122, 255, 0.28);
  outline-offset: 1px;
}
.meal-ticket-calendar-panel,
.meal-ticket-detail-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.meal-ticket-calendar-panel > header,
.meal-ticket-detail-panel > header,
.meal-ticket-edit-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.meal-ticket-calendar-panel > header div,
.meal-ticket-detail-panel > header div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.meal-ticket-calendar-panel > header span,
.meal-ticket-detail-panel > header span,
.meal-ticket-edit-caption strong {
  color: #1976d2;
  font-size: 12px;
  font-weight: 900;
}
.meal-ticket-calendar-panel > header strong,
.meal-ticket-detail-panel > header strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}
.meal-ticket-calendar-panel > header small,
.meal-ticket-detail-panel > header small,
.meal-ticket-edit-caption span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}
.meal-ticket-weekdays,
.meal-ticket-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.meal-ticket-weekdays span {
  color: #5b8743;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}
.meal-ticket-calendar-blank,
.meal-ticket-calendar-day {
  min-height: 78px;
}
.meal-ticket-calendar-day {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 3px;
  padding: 5px 3px;
  border: 1px solid rgba(60, 60, 67, 0.1);
  border-radius: 8px;
  background: #fcfaf4d1;
  color: var(--ink);
  text-align: center;
  box-shadow: none;
}
.meal-ticket-calendar-day.is-today {
  border-color: #007aff47;
  background: #e8f7ffe6;
}
.meal-ticket-calendar-day.is-selected {
  border-color: #34c7596b;
  background: #ecfbf1eb;
  box-shadow: inset 0 0 0 1px #34c7592e;
}
.meal-ticket-calendar-day.is-empty {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 0.7;
}
.meal-ticket-calendar-day.is-empty small {
  background: transparent;
  color: #98a188;
}
.meal-ticket-calendar-day span,
.meal-ticket-calendar-day strong,
.meal-ticket-calendar-day small {
  width: 100%;
  letter-spacing: 0;
}
.meal-ticket-calendar-day span {
  color: #5b8743;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.meal-ticket-calendar-day strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
}
.meal-ticket-calendar-day small {
  display: block;
  min-height: 20px;
  padding: 2px 1px;
  border-radius: 5px;
  background: #7ed35247;
  color: #3f6f2a;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.05;
  white-space: normal;
  overflow-wrap: anywhere;
}
.meal-ticket-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.meal-ticket-detail-grid article {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(60, 60, 67, 0.1);
  border-radius: 8px;
  background: #f7fafdb8;
}
.meal-ticket-detail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.08);
}
.meal-ticket-detail-title strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
.meal-ticket-detail-title span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.meal-ticket-detail-grid section {
  display: grid;
  gap: 5px;
}
.meal-ticket-detail-grid h3 {
  margin: 0;
  color: #1976d2;
  font-size: 10px;
  font-weight: 900;
}
.meal-ticket-person-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.meal-ticket-person-chips span,
.meal-ticket-person-chips em {
  min-width: 0;
  max-width: 100%;
  padding: 4px 6px;
  border-radius: 6px;
  background: #ffffffc7;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
}
.meal-ticket-person-chips span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.meal-ticket-person-chips b {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.meal-ticket-person-chips small {
  flex: 0 0 auto;
  color: #126b35;
  font-size: 9px;
  font-weight: 900;
}
.meal-ticket-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
}
.meal-ticket-edit-caption {
  min-width: 0;
}
.meal-ticket-roster-filter {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(42px, 1fr));
  gap: 4px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(60, 60, 67, 0.1);
  border-radius: 8px;
  background: #f7fafddb;
}
.meal-ticket-roster-filter button {
  min-height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.meal-ticket-roster-filter button.is-active {
  background: #34c75929;
  color: #126b35;
}
.meal-ticket-day-summary {
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 8px 10px;
  margin-bottom: 0;
}
.meal-ticket-day-summary strong {
  display: grid;
  align-content: center;
  gap: 1px;
  min-width: 112px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #34c7591a;
  color: #126b35;
  white-space: nowrap;
}
.meal-ticket-day-summary strong span,
.meal-ticket-day-summary strong b,
.meal-ticket-day-summary strong small {
  display: block;
  letter-spacing: 0;
}
.meal-ticket-day-summary strong span {
  font-size: 11px;
  font-weight: 900;
}
.meal-ticket-day-summary strong b {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.1;
}
.meal-ticket-day-summary strong small {
  color: #60706a;
  font-size: 9px;
  font-weight: 800;
}
.meal-ticket-day-summary strong.is-today {
  background: #007aff1f;
  color: #0057b7;
}
.meal-ticket-board-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
  -webkit-overflow-scrolling: touch;
}
.meal-ticket-board {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
}
.meal-ticket-board th,
.meal-ticket-board td {
  border-bottom: 1px solid rgba(60, 60, 67, 0.1);
  border-right: 1px solid rgba(60, 60, 67, 0.08);
  padding: 4px;
  text-align: left;
  vertical-align: middle;
}
.meal-ticket-board th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f5f9fdf5;
  color: #27384a;
}
.meal-ticket-board th span,
.meal-ticket-board th small,
.meal-ticket-board th em {
  display: block;
  letter-spacing: 0;
}
.meal-ticket-board th span {
  font-size: 11px;
  font-weight: 900;
}
.meal-ticket-board th small {
  margin-top: 2px;
  color: #126b35;
  font-size: 10px;
  font-weight: 900;
}
.meal-ticket-board th em {
  color: #6a7280;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.meal-ticket-board th.is-today {
  background: #e8f7fffa;
  box-shadow: inset 0 3px 0 var(--blue);
}
.meal-ticket-board .employee-col {
  width: 122px;
}
.meal-ticket-board .role-col {
  width: 104px;
}
.meal-ticket-board .total-col {
  width: 42px;
  text-align: center;
}
.meal-ticket-board .action-col {
  width: 38px;
  text-align: center;
}
.meal-ticket-board td.employee-col,
.meal-ticket-board td.role-col {
  background: #ffffff9e;
  text-align: center;
}
.meal-ticket-board td.employee-col > span,
.meal-ticket-board td.role-col > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.meal-ticket-board td.employee-col > span,
.meal-ticket-board td.role-col > span {
  color: var(--muted);
  font-size: 10px;
}
.meal-ticket-inline-input {
  width: 100%;
  min-height: 20px;
  padding: 1px 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0;
}
.meal-ticket-name-input {
  font-size: 12px;
  font-weight: 900;
}
.meal-ticket-inline-input:focus {
  outline: none;
  border-color: #007aff61;
  background: #fffffff5;
  box-shadow: 0 0 0 2px #007aff1a;
}
.meal-ticket-venue-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 16px;
  margin-top: 1px;
  padding: 0 6px;
  border-radius: 999px;
  background: #007aff17;
  color: #0057b7 !important;
  font-size: 9px !important;
  font-weight: 900;
  text-align: center;
}
.meal-ticket-department-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 16px;
  margin: 1px auto 0;
  padding: 0 7px;
  border-radius: 999px;
  background: #34c7591f;
  color: #126b35 !important;
  font-size: 9px !important;
  font-weight: 900;
  text-align: center;
}
.meal-ticket-board .total-col b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  border-radius: 999px;
  background: #007aff1a;
  color: var(--blue);
  font-size: 11px;
}
.meal-cell {
  min-width: 78px;
  background: #ffffff8a;
  text-align: center;
}
.meal-cell.is-today {
  background: #eff9ffeb;
}
.meal-cell.is-off {
  background: #f6f7f9bf;
}
.schedule-toggle {
  gap: 3px;
  justify-content: center;
  width: 100%;
  min-height: 18px;
  font-weight: 900;
}
.schedule-toggle span {
  color: #6c7280;
  font-size: 9px;
}
.meal-shift-input {
  width: 58px;
  min-width: 58px;
  min-height: 18px;
  padding: 0 2px;
  border: 1px solid rgba(60, 60, 67, 0.09);
  border-radius: 5px;
  background: #ffffffc2;
  color: #243241;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
.meal-shift-input:focus {
  outline: none;
  border-color: #007aff61;
  background: #fffffffa;
  box-shadow: 0 0 0 2px #007aff17;
}
.meal-cell-checks {
  display: grid;
  gap: 1px;
  margin-top: 2px;
}
.meal-cell-checks label {
  justify-content: center;
  min-height: 18px;
  padding: 1px 2px;
  border-radius: 6px;
  background: #ffffffbd;
}
.meal-cell-checks span {
  color: #243241;
  font-size: 9.5px;
  font-weight: 800;
}
.off-mark {
  display: block;
  margin-top: 4px;
  color: #a1a8b1;
  font-size: 9px;
  font-weight: 900;
}
.meal-ticket-board .action-col button {
  width: 26px;
  min-height: 26px;
  padding: 0;
  color: #c02b35;
}
:root[data-theme="dark"] .meal-ticket-today-panel,
:root[data-theme="dark"] .meal-ticket-total-line article,
:root[data-theme="dark"] .meal-ticket-department-grid article,
:root[data-theme="dark"] .meal-ticket-calendar-panel,
:root[data-theme="dark"] .meal-ticket-detail-panel,
:root[data-theme="dark"] .meal-ticket-detail-grid article,
:root[data-theme="dark"] .meal-ticket-calendar-day,
:root[data-theme="dark"] .meal-ticket-board-wrap,
:root[data-theme="dark"] .meal-ticket-board td.employee-col,
:root[data-theme="dark"] .meal-ticket-board td.role-col,
:root[data-theme="dark"] .meal-cell,
:root[data-theme="dark"] .meal-ticket-date-picker label,
:root[data-theme="dark"] .meal-cell-checks label,
:root[data-theme="dark"] .meal-shift-input {
  background: #0d1826bd;
  border-color: #9cb0cd29;
}
:root[data-theme="dark"] .meal-ticket-person-chips span,
:root[data-theme="dark"] .meal-ticket-person-chips em {
  background: #162334d1;
}
:root[data-theme="dark"] .meal-ticket-calendar-day small {
  color: #b9f7a1;
  background: #7ed35229;
}
:root[data-theme="dark"] .meal-ticket-inline-input:focus {
  background: #162334fa;
}
:root[data-theme="dark"] .meal-ticket-venue-pill {
  color: #9bd3ff !important;
  background: #007aff2e;
}
:root[data-theme="dark"] .meal-ticket-department-pill,
:root[data-theme="dark"] .meal-ticket-roster-filter button.is-active {
  color: #9ff2b7 !important;
  background: #34c7592e;
}
:root[data-theme="dark"] .meal-ticket-roster-filter {
  background: #0d1826bd;
  border-color: #9cb0cd29;
}
:root[data-theme="dark"] .meal-ticket-board th {
  background: #172232f5;
}
:root[data-theme="dark"] .meal-ticket-total-line article.is-primary,
:root[data-theme="dark"] .meal-ticket-calendar-day.is-today,
:root[data-theme="dark"] .meal-ticket-calendar-day.is-selected,
:root[data-theme="dark"] .meal-cell.is-today,
:root[data-theme="dark"] .meal-ticket-board th.is-today {
  background: #0d364cc2;
}
:root[data-theme="dark"] .meal-cell.is-off {
  background: #121c2a94;
}
:root[data-theme="dark"] .meal-ticket-day-summary strong {
  color: #9ff2b7;
  background: #34c75929;
}
@media (max-width: 980px) {
  .meal-ticket-total-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .meal-ticket-page {
    gap: 8px;
  }
  .meal-ticket-today-panel {
    gap: 7px;
    padding: 8px;
  }
  .meal-ticket-panel-head {
    align-items: flex-start;
  }
  .meal-ticket-panel-head div {
    display: grid;
    gap: 2px;
  }
  .meal-ticket-panel-head small {
    max-width: 46%;
    line-height: 1.25;
  }
  .meal-ticket-total-line,
  .meal-ticket-department-grid {
    gap: 5px;
  }
  .meal-ticket-total-line article,
  .meal-ticket-department-grid article {
    min-height: 54px;
    padding: 7px 6px;
  }
  .meal-ticket-total-line strong,
  .meal-ticket-department-grid strong {
    font-size: 22px;
  }
  .meal-ticket-total-line small,
  .meal-ticket-department-grid small {
    font-size: 9px;
  }
  .meal-ticket-calendar-panel,
  .meal-ticket-detail-panel {
    padding: 8px;
  }
  .meal-ticket-calendar-panel > header,
  .meal-ticket-detail-panel > header {
    align-items: flex-start;
  }
  .meal-ticket-calendar-panel > header div,
  .meal-ticket-detail-panel > header div {
    display: grid;
    gap: 2px;
  }
  .meal-ticket-calendar-panel > header small,
  .meal-ticket-detail-panel > header small {
    max-width: 52%;
    line-height: 1.25;
  }
  .meal-ticket-weekdays,
  .meal-ticket-calendar-grid {
    gap: 4px;
  }
  .meal-ticket-calendar-blank,
  .meal-ticket-calendar-day {
    min-height: 74px;
  }
  .meal-ticket-calendar-day {
    padding: 5px 2px;
  }
  .meal-ticket-calendar-day small {
    font-size: 7px;
  }
  .meal-ticket-detail-grid {
    grid-template-columns: 1fr;
  }
  .meal-ticket-edit-head {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .meal-ticket-edit-caption {
    flex: 1 1 150px;
  }
  .meal-ticket-roster-filter {
    flex: 1 1 180px;
  }
  .meal-ticket-add > input,
  .meal-ticket-add > select,
  .meal-ticket-add > button,
  .meal-ticket-date-picker {
    flex-basis: 100%;
  }
  .meal-ticket-date-picker {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .meal-ticket-date-picker label {
    min-width: 0;
    padding-inline: 4px;
  }
  .meal-ticket-board {
    min-width: 900px;
  }
  .meal-ticket-board th,
  .meal-ticket-board td {
    padding: 4px;
  }
  .meal-ticket-board .employee-col {
    width: 112px;
  }
  .meal-ticket-board .role-col {
    width: 92px;
  }
  .meal-ticket-board .total-col {
    width: 38px;
  }
  .meal-ticket-board th span {
    font-size: 10px;
  }
  .meal-ticket-board th small,
  .meal-ticket-board th em {
    font-size: 8px;
  }
  .meal-ticket-inline-input {
    min-height: 19px;
    font-size: 10px;
  }
  .meal-ticket-name-input {
    font-size: 11px;
  }
  .meal-ticket-venue-pill,
  .meal-ticket-department-pill {
    min-height: 15px;
    font-size: 8px !important;
  }
  .meal-cell-checks label,
  .schedule-toggle {
    min-height: 17px;
  }
  .meal-shift-input {
    width: 56px;
    min-width: 56px;
    min-height: 17px;
    font-size: 7.5px;
  }
}
@supports (-webkit-touch-callout: none) {
  @media (max-width: 760px) {
    .order-search-bar input,
    .order-spec-select,
    .order-quantity-stepper input,
    .order-drawer-controls input,
    .order-drawer-controls select,
    .dc-sheet-form select,
    .dc-stepper input,
    .dc-send-card select,
    .dc-send-card textarea,
    .share-cart-field input {
      font-size: 16px !important;
    }
  }
}
.sidebar .nav-button {
  width: calc(100% - 24px);
  min-height: 48px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 4px 12px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 31, 31, 0.06);
  border-radius: 16px;
  background: #ffffffc7;
  color: #24201a;
  box-shadow: 0 7px 18px #1f1f1f0f;
}
.nav-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f4eee0;
  color: #443a28;
}
.nav-heading .nav-icon {
  width: 31px;
  height: 31px;
  border-radius: 13px;
  background: #007aff1a;
  color: #006edb;
  box-shadow: inset 0 0 0 1px #007aff29;
}
.nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.sidebar .nav-button:hover,
.sidebar .nav-button.active {
  border-left: 1px solid rgba(31, 31, 31, 0.06);
  background: #fff;
  color: #1f1f1f;
}
.nav-button.active .nav-icon {
  background: #ffc72c;
  color: #1f1f1f;
}
.nav-group-card {
  width: calc(100% - 24px);
  margin: 6px 12px;
  padding: 6px;
  border: 1px solid rgba(31, 31, 31, 0.06);
  border-radius: 18px;
  background: #ffffffa8;
  box-shadow: 0 7px 18px #1f1f1f0d;
}
.nav-group-card .nav-heading {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 4px 6px;
  border-radius: 14px;
  color: #24201a;
}
.nav-heading-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-chevron {
  flex: 0 0 auto;
  color: #81735f;
}
.nav-group-card .nav-child {
  width: 100%;
  min-height: 34px;
  margin: 2px 0;
  padding: 0 10px 0 48px;
  border-radius: 12px;
}
.nav-group-card .nav-child.active {
  border-left: 0;
  background: #ffc72c42;
  color: #1f1f1f;
}
.nav-button.active:before,
.nav-child.active:before {
  display: none;
}
@media (max-width: 640px) {
  .sidebar .nav-button {
    min-height: 52px;
    margin-block: 5px;
  }
  .nav-group-card {
    margin-block: 7px;
  }
}
:root[data-theme="dark"] .sidebar .nav-button,
:root[data-theme="dark"] .nav-group-card {
  border-color: #a6b8d624;
  background: #111e30b8;
  color: #edf4ff;
}
:root[data-theme="dark"] .nav-icon {
  background: #ffc72c2e;
  color: #ffd766;
}
:root[data-theme="dark"] .nav-heading .nav-icon {
  background: #489dff29;
  color: #8fd0ff;
  box-shadow: inset 0 0 0 1px #8fd0ff33;
}
:root[data-theme="dark"] .sidebar .nav-button:hover,
:root[data-theme="dark"] .sidebar .nav-button.active {
  border-color: #ffc72c80;
  background: linear-gradient(180deg, #302a16e0, #1f242ac7);
  color: #fff3c4;
}
:root[data-theme="dark"] .nav-button.active .nav-icon {
  background: #ffc72c;
  color: #402100;
}
:root[data-theme="dark"] .nav-group-card .nav-child.active {
  background: #ffc72c24;
  color: #ffe08a;
}
.top-home-button {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 999px;
  background: #ffffff9e;
  color: #1f2937;
  box-shadow: inset 0 1px #ffffffb8;
}
.top-home-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-action-hub {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
}
.home-action-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.home-primary-card {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px;
  border: 0;
  border-radius: 22px;
  text-align: left;
  box-shadow: 0 16px 34px #1f1f1f1f;
}
.home-primary-card.order {
  background: linear-gradient(135deg, #ffc72c, #ffe281 58%, #fff8d7);
  color: #1f1f1f;
}
.home-primary-card.receive {
  background: linear-gradient(135deg, #1f1f1f, #263341 62%, #425466);
  color: #fff;
}
.home-primary-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffff61;
  box-shadow: inset 0 0 0 1px #ffffff52;
}
.home-primary-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.home-primary-text strong {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
}
.home-primary-text small {
  color: currentColor;
  font-size: 13px;
  font-weight: 760;
  opacity: 0.76;
}
.home-shortcut-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.home-shortcut {
  min-height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 12px 7px;
  border: 1px solid rgba(31, 31, 31, 0.06);
  border-radius: 20px;
  background: #ffffffd1;
  color: #24201a;
  box-shadow: 0 10px 24px #1f1f1f12;
}
.home-action-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f4eee0;
  color: #443a28;
}
.home-shortcut:first-child .home-action-icon {
  background: #ffc72c;
  color: #1f1f1f;
}
.home-shortcut span {
  max-width: 100%;
  color: #24201a;
  font-size: 13px;
  font-weight: 840;
  line-height: 1.16;
  text-align: center;
  overflow-wrap: anywhere;
}
.home-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.home-module-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(31, 31, 31, 0.06);
  border-radius: 20px;
  background: #ffffffc2;
  box-shadow: 0 12px 28px #1f1f1f12;
}
.home-module-card header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-module-card header strong {
  min-width: 0;
  overflow: hidden;
  color: #1f1f1f;
  font-size: 17px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-module-card header .home-action-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: #007aff1a;
  color: #006edb;
  box-shadow: inset 0 0 0 1px #007aff29;
}
.home-module-links {
  display: grid;
  gap: 6px;
}
.home-module-links button {
  min-height: 34px;
  justify-content: flex-start;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: #f4eee0b8;
  color: #344054;
  font-size: 13px;
  font-weight: 780;
  text-align: left;
}
:root[data-theme="dark"] .top-home-button,
:root[data-theme="dark"] .home-shortcut,
:root[data-theme="dark"] .home-module-card {
  border-color: #a6b8d624;
  background: #111e30bd;
  color: #edf4ff;
}
:root[data-theme="dark"] .home-shortcut span,
:root[data-theme="dark"] .home-module-card header strong {
  color: #edf4ff;
}
:root[data-theme="dark"] .home-action-icon {
  background: #ffc72c2e;
  color: #ffd766;
}
:root[data-theme="dark"] .home-module-card header .home-action-icon {
  background: #489dff29;
  color: #8fd0ff;
}
:root[data-theme="dark"] .home-module-links button {
  background: #ffffff12;
  color: #dbe7f8;
}
@media (max-width: 900px) {
  .home-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .top-home-button {
    max-width: 104px;
    min-height: 36px;
    padding: 0 10px;
  }
  .top-home-button svg {
    display: none;
  }
  .home-action-hub {
    gap: 12px;
    margin-bottom: 14px;
  }
  .home-action-primary {
    gap: 10px;
  }
  .home-primary-card {
    min-height: 86px;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 20px;
  }
  .home-primary-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }
  .home-primary-text strong {
    font-size: 20px;
  }
  .home-primary-text small {
    font-size: 11px;
    line-height: 1.22;
  }
  .home-shortcut-row {
    gap: 7px;
  }
  .home-shortcut {
    min-height: 78px;
    gap: 6px;
    padding: 9px 3px;
    border-radius: 17px;
  }
  .home-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 14px;
  }
  .home-shortcut span {
    font-size: 10.5px;
  }
  .home-module-grid {
    gap: 9px;
  }
  .home-module-card {
    padding: 11px;
    border-radius: 18px;
  }
  .home-module-card header strong {
    font-size: 15px;
  }
  .home-module-links button {
    min-height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
}
.workspace {
  padding-top: 132px;
  background: #f7fbff;
}
.topbar {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 18px 28px 12px;
  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(58, 132, 255, 0.12),
      transparent 36%
    ),
    #ffffffc7;
  color: #0f172a;
  border-bottom: 0;
  box-shadow: 0 12px 32px #17253f0f;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.top-brand-button {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #101828;
  box-shadow: none;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 920;
  letter-spacing: 0;
}
.top-brand-button img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 12px;
}
.top-controls-row {
  display: grid;
  grid-template-columns: minmax(220px, 440px) 64px minmax(104px, 138px);
  gap: 14px;
  align-items: center;
}
.top-venue-control,
.top-lang-control,
.topbar .theme-toggle {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  border-radius: 999px;
  background: #ffffffe6;
  color: #101828;
  box-shadow: 0 10px 24px #17253f0f;
}
.top-venue-control {
  min-width: 0;
  padding: 0 14px 0 18px;
}
.top-venue-control svg,
.top-lang-control svg {
  flex: 0 0 auto;
}
.topbar .venue-select,
.topbar .lang-select {
  width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  padding: 0 28px 0 0;
  border: 0;
  background: transparent;
  color: #101828;
  box-shadow: none;
  font-size: 18px;
  font-weight: 720;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}
.top-venue-control .venue-select {
  flex: 1 1 auto;
}
.top-lang-control .lang-select {
  width: auto;
  flex: 0 1 auto;
  padding-right: 0;
}
.topbar .theme-toggle {
  width: 64px;
  justify-content: center;
  padding: 0;
}
.topbar .theme-toggle span {
  display: none;
}
.top-lang-control {
  padding: 0 12px 0 18px;
}
.top-user-context,
.top-spacer,
.datacenter,
.employee-select,
.user-pill {
  display: none;
}
.page.procurement-dashboard {
  background:
    radial-gradient(circle at 18% 2%, rgba(66, 133, 244, 0.1), transparent 30%),
    linear-gradient(180deg, #fbfdff, #f6faff 42%, #f8fbff);
}
.procurement-dashboard {
  max-width: 1180px;
  margin: 0 auto;
}
.home-action-hub {
  gap: 18px;
  margin-bottom: 18px;
}
.home-ops-hero {
  position: relative;
  min-height: 252px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 36px 34px 28px;
  border: 1px solid rgba(54, 88, 145, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(90deg, #fffffffa, #f5f9ffdb 42%, #edf5ffb8), #f6faff;
  box-shadow: 0 18px 44px #17253f14;
}
.home-hero-copy {
  position: relative;
  z-index: 1;
  width: min(58%, 520px);
}
.home-hero-copy h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 920;
  line-height: 1.08;
}
.home-hero-copy p {
  margin: 10px 0 26px;
  color: #344054;
  font-size: 19px;
  font-weight: 650;
}
.home-hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.98;
}
.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 126px));
  gap: 14px;
}
.home-hero-stats article {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-content: center;
  gap: 8px 10px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  background: #ffffffe0;
  color: #0f172a;
  box-shadow: 0 12px 24px #17253f14;
}
.home-hero-stats article span {
  grid-column: 1 / -1;
  color: #475467;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.home-hero-stats article strong {
  color: #101828;
  font-size: 34px;
  font-weight: 920;
  line-height: 1;
}
.home-hero-stats article svg {
  align-self: end;
  color: #2f80ed;
}
.home-action-primary {
  gap: 20px;
}
.home-primary-card {
  min-height: 142px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 28px;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 28px;
  box-shadow: 0 18px 42px #17253f1a;
}
.home-primary-card.order {
  background: linear-gradient(135deg, #2c7dff, #6fb0ff);
  color: #fff;
}
.home-primary-card.receive {
  background: #ffffffe6;
  color: #101828;
}
.home-primary-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #ffffffb8;
  color: #1768f2;
  box-shadow:
    inset 0 0 0 1px #2f80ed14,
    0 12px 26px #2f80ed29;
}
.home-primary-card.order .home-primary-icon {
  color: #1463e8;
}
.home-primary-text strong {
  font-size: 30px;
  font-weight: 920;
}
.home-primary-text small {
  font-size: 17px;
  opacity: 0.82;
}
.home-primary-arrow {
  align-self: center;
  justify-self: end;
  opacity: 0.75;
}
.home-shortcut-row {
  gap: 20px;
}
.home-shortcut {
  min-height: 146px;
  gap: 14px;
  padding: 22px 10px;
  border-radius: 24px;
  background: #ffffffe6;
  box-shadow: 0 16px 34px #17253f14;
}
.home-action-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: #f4f7fb;
  color: #0f2745;
}
.home-shortcut:first-child .home-action-icon {
  background: #2f80ed1a;
  color: #1768f2;
}
.home-shortcut span {
  color: #101828;
  font-size: 16px;
  font-weight: 820;
}
.home-store-center {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: #ffffffe0;
  box-shadow: 0 16px 36px #17253f14;
}
.home-store-center header,
.home-store-center header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-store-center header {
  justify-content: space-between;
}
.home-store-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #2f80ed1f;
  color: #1768f2;
}
.home-store-center header strong {
  color: #101828;
  font-size: 25px;
  font-weight: 920;
}
.home-store-center header button {
  min-height: 42px;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #ffffffdb;
  color: #344054;
  font-weight: 820;
}
.home-store-tasks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffffb8;
}
.home-store-task {
  min-height: 82px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 0;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0;
  background: transparent;
  color: #101828;
  text-align: left;
}
.home-store-task:last-child {
  border-right: 0;
}
.home-store-task svg {
  flex: 0 0 auto;
}
.home-store-task.blue svg,
.home-store-task.indigo svg {
  color: #1768f2;
}
.home-store-task.amber svg {
  color: #f59e0b;
}
.home-store-task.green svg {
  color: #129663;
}
.home-store-task span {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.home-store-task strong {
  color: #101828;
  font-size: 15px;
  font-weight: 850;
}
.home-store-task small {
  color: #667085;
  font-size: 13px;
  font-weight: 650;
}
.home-store-task.indigo small {
  width: fit-content;
  padding: 1px 9px;
  border-radius: 999px;
  background: #1768f2;
  color: #fff;
  font-weight: 860;
}
.home-module-grid {
  gap: 20px;
}
.home-module-card {
  gap: 18px;
  padding: 22px 24px;
  border-radius: 24px;
  background: #ffffffe6;
  box-shadow: 0 16px 36px #17253f14;
}
.home-module-card header strong {
  color: #101828;
  font-size: 25px;
  font-weight: 920;
}
.home-module-card header .home-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #2f80ed1a;
  color: #1768f2;
}
.home-module-links {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
}
.home-module-links button {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 0;
  background: #ffffff9e;
  color: #101828;
  font-size: 15px;
}
.home-module-links button:last-child {
  border-bottom: 0;
}
.home-module-links button svg {
  transform: rotate(-90deg);
  color: #667085;
}
.home-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #101828;
}
.home-date-input {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: #ffffffe0;
}
.home-date-input input {
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.home-bottom-nav {
  display: none;
}
@media (max-width: 760px) {
  .workspace {
    padding-top: 98px;
  }
  .topbar {
    gap: 6px;
    margin: 6px 8px 7px;
    padding: 8px 10px 7px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff94, #ffffff61);
    box-shadow:
      0 10px 28px #1c2b431c,
      inset 0 1px #ffffff9e;
    backdrop-filter: blur(22px) saturate(1.85);
    -webkit-backdrop-filter: blur(22px) saturate(1.85);
  }
  .top-brand-button {
    gap: 8px;
    min-height: 28px;
    font-size: 20px;
  }
  .top-brand-button img {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
  .top-controls-row {
    grid-template-columns: minmax(0, 1fr) 44px 84px;
    gap: 6px;
  }
  .top-venue-control,
  .top-lang-control,
  .topbar .theme-toggle {
    min-height: 38px;
    border-color: #ffffff80;
    background: #ffffff80;
    box-shadow: inset 0 1px #ffffff8c;
    backdrop-filter: blur(18px) saturate(1.65);
    -webkit-backdrop-filter: blur(18px) saturate(1.65);
  }
  .top-venue-control {
    padding: 0 8px 0 10px;
  }
  .topbar .venue-select,
  .topbar .lang-select {
    height: 36px;
    min-height: 36px;
    font-size: 13px;
  }
  .topbar .theme-toggle {
    width: 44px;
  }
  .top-lang-control {
    padding: 0 8px 0 10px;
  }
  .page.procurement-dashboard {
    padding: 10px 10px calc(112px + env(safe-area-inset-bottom));
  }
  .home-action-hub {
    gap: 14px;
  }
  .home-ops-hero {
    min-height: 168px;
    padding: 18px 22px 14px;
    border-radius: 24px;
  }
  .home-hero-copy {
    width: 65%;
  }
  .home-hero-copy h1 {
    font-size: 26px;
  }
  .home-hero-copy p {
    margin: 6px 0 16px;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
  }
  .home-hero-art {
    width: 60%;
  }
  .home-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .home-hero-stats article {
    min-height: 58px;
    gap: 3px 5px;
    padding: 8px 8px 7px;
    border-radius: 13px;
  }
  .home-hero-stats article span {
    font-size: 10px;
  }
  .home-hero-stats article strong {
    font-size: 23px;
  }
  .home-hero-stats article svg {
    width: 17px;
    height: 17px;
  }
  .home-action-primary {
    gap: 10px;
  }
  .home-primary-card {
    min-height: 74px;
    grid-template-columns: 50px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
  }
  .home-primary-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
  .home-primary-text strong {
    font-size: 20px;
  }
  .home-primary-text small {
    font-size: 12px;
  }
  .home-shortcut-row {
    gap: 8px;
  }
  .home-shortcut {
    min-height: 84px;
    gap: 8px;
    padding: 12px 3px;
    border-radius: 18px;
  }
  .home-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .home-shortcut span {
    font-size: 11px;
  }
  .home-store-center {
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
  }
  .home-store-center header strong {
    font-size: 21px;
  }
  .home-store-icon {
    width: 35px;
    height: 35px;
    border-radius: 12px;
  }
  .home-store-center header button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
  .home-store-tasks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 16px;
  }
  .home-store-task {
    min-height: 70px;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 4px;
    text-align: center;
  }
  .home-store-task svg {
    width: 25px;
    height: 25px;
  }
  .home-store-task strong {
    font-size: 12px;
    white-space: nowrap;
  }
  .home-store-task small {
    font-size: 10px;
  }
  .home-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-module-card {
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
  }
  .home-module-card header strong {
    font-size: 20px;
  }
  .home-module-card header .home-action-icon {
    width: 34px;
    height: 34px;
  }
  .home-module-links button {
    min-height: 37px;
    padding: 0 10px;
    font-size: 13px;
  }
  .procurement-filter-panel-top {
    border-radius: 20px;
  }
  .home-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 8px 13px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffffe6;
    box-shadow: 0 -12px 34px #17253f1c;
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
  }
  .home-bottom-nav button {
    min-height: 68px;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 6px 4px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #101828;
    font-size: 12px;
    font-weight: 760;
  }
  .home-bottom-nav button.active {
    background: #2f80ed1a;
    color: #1768f2;
  }
}
:root[data-theme="dark"] .topbar,
:root[data-theme="dark"] .home-ops-hero,
:root[data-theme="dark"] .home-store-center,
:root[data-theme="dark"] .home-primary-card.receive,
:root[data-theme="dark"] .home-shortcut,
:root[data-theme="dark"] .home-module-card {
  border-color: #a6b8d624;
  background: #111e30d1;
  color: #edf4ff;
}
:root[data-theme="dark"] .top-brand-button,
:root[data-theme="dark"] .top-venue-control,
:root[data-theme="dark"] .top-lang-control,
:root[data-theme="dark"] .topbar .venue-select,
:root[data-theme="dark"] .topbar .lang-select,
:root[data-theme="dark"] .home-hero-copy h1,
:root[data-theme="dark"] .home-store-center header strong,
:root[data-theme="dark"] .home-store-task strong,
:root[data-theme="dark"] .home-module-card header strong,
:root[data-theme="dark"] .home-module-links button,
:root[data-theme="dark"] .home-bottom-nav button {
  color: #edf4ff;
}
:root[data-theme="dark"] .home-hero-copy p,
:root[data-theme="dark"] .home-store-task small {
  color: #a7b3c6;
}
:root[data-theme="dark"] .home-bottom-nav {
  border-color: #a6b8d624;
  background: #07111de6;
}
.order-page.order-mcd-page {
  min-height: calc(100vh - 60px);
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  background: #fff;
  color: #1f1f1f;
}
.order-mcd-page .order-source-shell {
  width: min(1100px, 100%);
  overflow: clip;
  border: 0;
  background: #fff;
  box-shadow: 0 18px 42px #211e1814;
}
.order-mcd-page .order-source-head {
  min-height: 116px;
  align-items: flex-end;
  padding: 18px 20px 16px;
  border: 0;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(135deg, #ffc72c, #ffe281 58%, #fff8d7);
  box-shadow: inset 0 -1px #1f1f1f14;
}
.order-mcd-title-block {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.order-mcd-eyebrow {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #1f1f1f1a;
  color: #3a2a00;
  font-size: 12px;
  font-weight: 900;
}
.order-mcd-page .order-source-head h1 {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  margin: 0;
  color: #1f1f1f;
  font-size: 34px;
  line-height: 1.08;
}
.order-mcd-page .order-source-head h1 > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-mcd-title-switch {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(31, 31, 31, 0.18);
  border-radius: 999px;
  background: #ffffffd1;
  color: #1f1f1f;
}
.order-mcd-store-line {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #423414;
  font-size: 13px;
  font-weight: 800;
}
.order-mcd-store-line strong {
  min-width: 0;
  max-width: min(42vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-mcd-store-line span {
  flex: 0 0 auto;
  padding-left: 8px;
  border-left: 1px solid rgba(31, 31, 31, 0.18);
}
.order-mcd-page .order-source-actions {
  gap: 10px;
}
.order-mcd-group-order {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 950;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.64);
}
.order-mcd-group-order svg {
  padding: 3px;
  border-radius: 7px;
  background: #fff;
  color: #e6a300;
  filter: drop-shadow(0 2px 1px rgba(31, 31, 31, 0.16));
}
.order-mcd-group-order:hover {
  background: #ffffff7a;
  color: #1f1f1f;
}
.order-mcd-page .order-source-actions button {
  width: 46px;
  min-height: 46px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 999px;
  background: #ffffffdb;
  color: #1f1f1f;
  box-shadow: 0 7px 18px #1f1f1f1a;
}
.order-mcd-page .order-source-actions button.active,
.order-mcd-page .order-source-actions button:hover {
  background: #1f1f1f;
  color: #ffc72c;
}
.order-mcd-page .order-help-box,
.order-mcd-page .order-search-panel,
.order-mcd-page .order-context-strip {
  width: calc(100% - 32px);
  margin-top: 10px;
}
.order-mcd-page .order-help-box {
  border: 1px solid rgba(219, 0, 7, 0.12);
  border-radius: 14px;
  background: #fff5d5;
  color: #5a4310;
}
.order-mcd-page .order-search-bar {
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px #1f1f1f14;
}
.order-mcd-page .order-search-suggestions {
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px #1f1f1f24;
}
.order-mcd-page .order-tabbar {
  top: 60px;
  min-height: 58px;
  align-items: center;
  padding: 10px 16px;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 20px #1f1f1f14;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.order-mcd-page .order-tabs {
  min-height: 0;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
}
.order-mcd-page .order-tabs button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #4d4638;
  font-size: 14px;
  font-weight: 900;
}
.order-mcd-page .order-tabs button.active {
  background: #1f1f1f;
  color: #ffc72c;
}
.order-mcd-page .order-suggest-button {
  min-width: 142px;
  min-height: 42px;
  margin: 0;
  border-radius: 999px;
  background: #db0007;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 8px 20px #db000733;
}
.order-mcd-page .order-suggest-button:hover {
  background: #bd0006;
}
.order-mcd-page .order-context-strip span {
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 999px;
  background: #fff4cc;
  color: #5a4310;
}
.order-mcd-page .order-browse-grid {
  grid-template-columns: 120px minmax(0, 1fr);
  background: #fff;
}
.order-mcd-page .order-category-rail {
  top: 118px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 3px;
  max-height: calc(100vh - 118px);
  padding: 8px 0 110px;
  background: #f7f7f7;
  border-right: 0;
  box-shadow: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.order-mcd-page .order-category-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.order-mcd-page .order-category-rail button {
  position: relative;
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 0;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  color: #5b5b5b;
  text-align: center;
  overflow: hidden;
  transform-origin: center left;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-radius 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.22s cubic-bezier(0.2, 1.2, 0.24, 1);
  will-change: transform;
}
.order-mcd-page .order-category-rail button > * {
  position: relative;
  z-index: 1;
}
.order-mcd-page .order-category-rail button:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: #ffc72c;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center;
  pointer-events: none;
}
.order-mcd-page .order-category-rail button.active,
.order-mcd-page .order-category-rail button:hover {
  background: #fff;
  color: #db0007;
  border-radius: 0 16px 16px 0;
  box-shadow: inset 4px 0 #ffc72c;
}
.order-mcd-page .order-category-rail button.active {
  animation: orderRailActivePop 0.34s cubic-bezier(0.2, 1.22, 0.24, 1) both;
}
.order-mcd-page .order-category-rail button.active:before {
  opacity: 1;
  transform: scaleY(1);
  animation: orderRailAccentSlide 0.26s ease-out both;
}
.order-mcd-page .order-category-rail button.active .order-category-thumb {
  animation: orderRailThumbPop 0.36s cubic-bezier(0.2, 1.22, 0.24, 1) both;
}
.order-mcd-page .order-category-rail button.active strong {
  animation: orderRailLabelSettle 0.26s ease-out both;
}
@keyframes orderRailActivePop {
  0% {
    transform: translate(0) scale(0.98);
  }
  58% {
    transform: translate(3px) scale(1.035);
  }
  to {
    transform: translate(2px) scale(1);
  }
}
@keyframes orderRailAccentSlide {
  0% {
    opacity: 0.2;
    transform: scaleY(0.22);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes orderRailThumbPop {
  0% {
    opacity: 0.78;
    transform: translateY(2px) scale(0.92);
  }
  56% {
    opacity: 1;
    transform: translateY(-2px) scale(1.08);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes orderRailLabelSettle {
  0% {
    opacity: 0.7;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .order-mcd-page .order-category-rail button,
  .order-mcd-page .order-category-rail button.active,
  .order-mcd-page .order-category-rail button.active:before,
  .order-mcd-page .order-category-rail button.active .order-category-thumb,
  .order-mcd-page .order-category-rail button.active strong {
    animation: none !important;
    transition: none !important;
  }
}
.order-mcd-page .order-category-rail.supplier-rail button {
  min-height: 64px;
  gap: 0;
  padding: 12px 9px;
}
.order-mcd-page .order-category-rail.supplier-rail strong {
  font-size: 13px;
  line-height: 1.22;
  -webkit-line-clamp: 3;
}
.order-category-thumb-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}
.order-mcd-page .order-category-thumb-wrap {
  width: 54px !important;
  height: 54px !important;
  display: grid !important;
  flex: 0 0 auto;
}
.order-category-thumb,
.order-category-thumb-wrap .image-placeholder {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  object-fit: contain;
  background: transparent;
}
.order-mcd-page .order-category-thumb,
.order-mcd-page .order-category-thumb-wrap .image-placeholder {
  width: 50px !important;
  height: 50px !important;
  display: grid !important;
}
.order-mcd-page .order-category-rail strong {
  max-width: 100%;
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.order-mcd-page .order-category-count {
  display: none;
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #1f1f1f14;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}
.order-mcd-page .order-product-pane {
  padding: 14px 18px 128px;
  background: #fff;
}
.order-mcd-page .order-product-heading {
  align-items: end;
  margin-bottom: 8px;
}
.order-mcd-page .order-product-heading h2 {
  color: #1f1f1f;
  font-size: 20px;
}
.order-mcd-page .order-product-heading small {
  color: #6c6254;
  font-weight: 800;
}
.order-mcd-page .order-product-list {
  gap: 0;
  background: #fff;
}
.order-mcd-page .order-product-row {
  grid-template-columns: 112px minmax(0, 1fr) 106px;
  gap: 12px;
  min-height: 124px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  background: #fff;
}
.order-mcd-page .order-product-row.selected {
  margin-inline: -8px;
  padding-inline: 8px;
  border-radius: 14px;
  background: #fff;
}
.order-mcd-page .order-product-photo {
  width: 106px;
  height: 106px;
}
.order-mcd-page .order-product-thumb,
.order-mcd-page .order-product-photo .image-placeholder {
  width: 102px;
  height: 102px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
  box-shadow: none;
}
.order-mcd-page .order-product-copy strong {
  color: #1f1f1f;
  font-size: 17px;
  line-height: 1.22;
}
.order-mcd-page .order-product-copy span,
.order-mcd-page .order-product-copy small {
  color: #70675b;
}
.order-mcd-page .order-spec-single {
  background: #fff2c2;
  color: #6a5012;
}
.order-mcd-page .order-product-price {
  align-self: stretch;
  justify-items: end;
  align-content: center;
  gap: 5px;
}
.order-mcd-page .order-product-price span {
  max-width: 100%;
  color: #756c60;
  font-size: 12px;
}
.order-mcd-page .order-product-price strong {
  color: #db0007;
  font-size: 18px;
}
.order-mcd-page .order-add-button {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #ffc72c;
  color: #1f1f1f;
  box-shadow: 0 6px 14px #ffc72c47;
  font-size: 13px;
  font-weight: 900;
}
.order-mcd-page .order-product-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
.order-mcd-page .order-product-actions.with-quantity {
  min-height: 38px;
  padding: 2px 3px;
  border-radius: 999px;
  background: #fff2c2;
  box-shadow: inset 0 0 0 1px #6a50121f;
}
.order-mcd-page .order-decrease-button {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #ffc72c;
  color: #1f1f1f;
  box-shadow: none;
}
.order-mcd-page .order-decrease-button svg {
  width: 20px;
  height: 20px;
}
.order-mcd-page .order-product-quantity {
  min-width: 26px;
  height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #1f1f1f;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}
.order-mcd-page .order-product-price .order-product-quantity {
  color: #1f1f1f;
}
.order-mcd-page .dc-stepper.order-product-actions.with-quantity {
  width: fit-content;
  min-height: 38px;
  justify-self: end;
  grid-template-columns: none;
  border: 0;
  background: #fff2c2;
  box-shadow: inset 0 0 0 1px #6a50121f;
  overflow: visible;
}
.order-mcd-page .dc-stepper.order-product-actions.with-quantity button {
  border: 0;
}
.order-mcd-page
  .dc-stepper.order-product-actions.with-quantity
  .order-product-quantity {
  color: #1f1f1f;
}
.order-mcd-page .order-product-actions.with-quantity .order-add-button.quick {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  box-shadow: none;
}
.order-mcd-page .order-add-button.variant {
  width: auto;
  min-width: 66px;
  min-height: 32px;
  padding: 0 13px;
}
.order-mcd-page .order-add-button.quick {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
}
.order-mcd-page .order-add-button span {
  color: #1f1f1f;
  font-size: inherit;
}
.order-mcd-page .order-add-button.quick svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
}
.order-mcd-page .order-add-button:hover {
  background: #ffbc0d;
  color: #1f1f1f;
}
.order-mcd-page .order-floating-cart {
  left: max(12px, calc((100vw - 1100px) / 2 + 14px));
  right: max(12px, calc((100vw - 1100px) / 2 + 14px));
  bottom: calc(14px + env(safe-area-inset-bottom));
  width: auto;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #1f1f1f;
  color: #fff;
  box-shadow: 0 14px 30px #1f1f1f42;
}
.order-mcd-page .order-floating-cart:hover {
  background: #121212;
}
.order-mcd-page .order-floating-cart span {
  position: static;
  inset: auto;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}
.order-mcd-page .order-cart-logo {
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px !important;
  background: #ffc72c !important;
  color: #1f1f1f !important;
}
.order-mcd-page .order-cart-bar-main {
  min-width: 0;
  display: grid !important;
  gap: 2px;
  justify-items: start;
  text-align: left;
}
.order-mcd-page .order-cart-bar-main strong,
.order-mcd-page .order-cart-bar-main small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-mcd-page .order-cart-bar-main strong {
  font-size: 15px;
  font-weight: 900;
}
.order-mcd-page .order-cart-bar-main small {
  color: #ffffffad;
  font-size: 12px;
  font-weight: 700;
}
.order-mcd-page .order-cart-bar-action {
  min-height: 42px !important;
  display: inline-grid !important;
  place-items: center;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #ffc72c !important;
  color: #1f1f1f !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}
.order-mcd-page .dc-order-flow-panel {
  background: #fff !important;
  border-left: 0;
  box-shadow: -18px 0 42px #1f1f1f24;
}
.order-mcd-page .dc-cart-view,
.order-mcd-page .dc-send-view,
.order-mcd-page .dc-complete-view {
  background: #fff;
}
.order-mcd-page .dc-flow-bar {
  background: #ffc72c;
  color: #1f1f1f;
}
.order-mcd-page .dc-cart-card,
.order-mcd-page .dc-cart-total,
.order-mcd-page .dc-shared-cart-card,
.order-mcd-page .dc-send-card {
  border-color: #1f1f1f14;
  border-radius: 14px;
  background: #fffffff0;
  box-shadow: 0 7px 18px #1f1f1f14;
}
.order-mcd-page .dc-sheet-footer .primary,
.order-mcd-page .dc-floating-action .primary,
.order-mcd-page .dc-send-modal .primary {
  border-radius: 999px;
  background: #1f1f1f;
  color: #ffc72c;
  box-shadow: 0 10px 22px #1f1f1f2e;
}
@media (max-width: 640px) {
  .order-page.order-mcd-page {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
    background: #fff;
  }
  .order-mcd-page .order-source-shell {
    box-shadow: none;
  }
  .order-mcd-page .order-source-head {
    min-height: 102px;
    align-items: center;
    gap: 6px;
    padding: 12px 12px 13px;
    border-radius: 0 0 18px 18px;
  }
  .order-mcd-eyebrow {
    padding: 3px 8px;
    font-size: 10px;
  }
  .order-mcd-page .order-source-head h1 {
    max-width: calc(100vw - 176px);
    font-size: 29px;
  }
  .order-mcd-title-switch {
    width: 24px;
    height: 24px;
  }
  .order-mcd-store-line {
    max-width: calc(100vw - 176px);
    gap: 5px;
    font-size: 11px;
  }
  .order-mcd-store-line strong {
    max-width: 142px;
  }
  .order-mcd-store-line span {
    padding-left: 6px;
  }
  .order-mcd-page .order-source-actions {
    gap: 6px;
  }
  .order-mcd-page .order-source-actions button {
    width: 38px;
    min-height: 38px;
  }
  .order-mcd-group-order {
    min-height: 38px;
    padding: 0 7px;
    gap: 4px;
    font-size: 16px;
  }
  .order-mcd-group-order svg {
    width: 21px;
    height: 21px;
    padding: 3px;
  }
  .order-mcd-page .order-help-box,
  .order-mcd-page .order-search-panel,
  .order-mcd-page .order-context-strip {
    width: calc(100% - 20px);
  }
  .order-mcd-page .order-tabbar {
    top: 58px;
    min-height: 52px;
    gap: 8px;
    padding: 7px 10px;
    overflow-x: auto;
  }
  .order-mcd-page .order-tabs {
    flex: 1 1 auto;
  }
  .order-mcd-page .order-tabs button {
    min-height: 32px;
    padding: 0 13px;
    font-size: 13px;
  }
  .order-mcd-page .order-suggest-button {
    min-width: 44px;
    min-height: 40px;
    padding: 0 12px;
  }
  .order-mcd-page .order-suggest-button span {
    display: none;
  }
  .order-mcd-page .order-browse-grid {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .order-mcd-page .order-category-rail {
    top: 110px;
    max-height: calc(100vh - 110px);
    padding: 6px 0 94px;
  }
  .order-mcd-page .order-category-rail button {
    min-height: 86px;
    gap: 5px;
    padding: 8px 7px;
  }
  .order-mcd-page .order-category-rail.supplier-rail button {
    min-height: 58px;
    padding: 10px 7px;
  }
  .order-category-thumb-wrap {
    width: 48px;
    height: 48px;
  }
  .order-mcd-page .order-category-thumb-wrap {
    width: 48px !important;
    height: 48px !important;
  }
  .order-category-thumb,
  .order-category-thumb-wrap .image-placeholder {
    width: 44px;
    height: 44px;
  }
  .order-mcd-page .order-category-thumb,
  .order-mcd-page .order-category-thumb-wrap .image-placeholder {
    width: 44px !important;
    height: 44px !important;
  }
  .order-mcd-page .order-category-rail strong {
    font-size: 11px;
  }
  .order-mcd-page .order-category-count {
    min-width: 22px;
    padding-inline: 6px;
    font-size: 10px;
  }
  .order-mcd-page .order-product-pane {
    padding: 8px 8px 108px;
  }
  .order-mcd-page .order-product-heading {
    display: grid;
    gap: 2px;
    margin-bottom: 5px;
  }
  .order-mcd-page .order-product-heading h2 {
    font-size: 15px;
  }
  .order-mcd-page .order-product-heading small {
    font-size: 10px;
  }
  .order-mcd-page .order-product-row {
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 8px;
    min-height: 96px;
    padding: 8px 0;
  }
  .order-mcd-page .order-product-row.selected {
    margin-inline: -4px;
    padding-inline: 4px;
    border-radius: 12px;
  }
  .order-mcd-page .order-product-photo {
    grid-row: 1 / span 2;
    width: 72px;
    height: 72px;
  }
  .order-mcd-page .order-product-thumb,
  .order-mcd-page .order-product-photo .image-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 14px;
  }
  .order-mcd-page .order-product-copy {
    min-width: 0;
    gap: 2px;
  }
  .order-mcd-page .order-product-copy strong {
    font-size: 13px;
  }
  .order-mcd-page .order-product-copy span,
  .order-mcd-page .order-product-copy small {
    font-size: 10px;
  }
  .order-mcd-page .order-spec-single {
    max-width: 100%;
    padding: 1px 6px;
  }
  .order-mcd-page .order-product-price {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    text-align: left;
  }
  .order-mcd-page .order-product-price > span {
    display: none;
  }
  .order-mcd-page .order-product-price strong {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .order-mcd-page .order-add-button.variant {
    min-width: 54px;
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
  }
  .order-mcd-page .order-add-button.quick {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
  }
  .order-mcd-page .order-decrease-button {
    width: 30px;
    min-width: 30px;
    min-height: 30px;
  }
  .order-mcd-page .order-product-actions {
    gap: 0;
  }
  .order-mcd-page .order-product-actions.with-quantity {
    min-height: 34px;
    padding: 2px;
  }
  .order-mcd-page .order-product-actions.with-quantity .order-add-button.quick {
    width: 30px;
    min-width: 30px;
    min-height: 30px;
  }
  .order-mcd-page .order-product-quantity {
    min-width: 24px;
    height: 30px;
    font-size: 11px;
  }
  .order-mcd-page .order-floating-cart {
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    min-height: 58px;
    gap: 8px;
    padding: 7px 8px;
  }
  .order-mcd-page .order-cart-logo {
    width: 42px !important;
    height: 42px !important;
  }
  .order-mcd-page .order-cart-bar-main strong {
    font-size: 13px;
  }
  .order-mcd-page .order-cart-bar-main small {
    font-size: 10px;
  }
  .order-mcd-page .order-cart-bar-action {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
  .order-mcd-page .dc-flow-bar {
    min-height: 72px;
    padding: 14px;
  }
}
:root[data-theme="dark"] .order-page.order-mcd-page {
  background: #17130a;
}
:root[data-theme="dark"] .order-mcd-page .order-source-shell,
:root[data-theme="dark"] .order-mcd-page .order-product-pane {
  background: #211b10;
}
:root[data-theme="dark"] .order-mcd-page .order-tabbar {
  background: #211b10eb;
}
:root[data-theme="dark"] .order-mcd-page .order-tabs {
  background: #ffffff14;
}
:root[data-theme="dark"] .order-mcd-page .order-category-rail {
  background: #1a160f;
}
:root[data-theme="dark"] .order-mcd-page .order-category-rail button.active,
:root[data-theme="dark"] .order-mcd-page .order-category-rail button:hover {
  background: #2a2316;
  color: #fff8e7;
}
:root[data-theme="dark"] .order-mcd-page .order-product-heading h2,
:root[data-theme="dark"] .order-mcd-page .order-product-copy strong {
  color: #fff8e7;
}
:root[data-theme="dark"] .order-mcd-page .order-product-copy span,
:root[data-theme="dark"] .order-mcd-page .order-product-copy small,
:root[data-theme="dark"] .order-mcd-page .order-product-heading small {
  color: #d8c79f;
}

.delivery-workbench {
  margin: 14px 0 12px;
  padding: 14px;
  border: 1px solid rgba(63, 82, 108, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px #1018280f;
}
.delivery-workbench-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}
.delivery-workbench-head span {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf8f2;
  color: #087443;
  font-size: 12px;
  font-weight: 850;
}
.delivery-workbench-head h2 {
  margin: 5px 0 3px;
  color: #101828;
  font-size: 22px;
  line-height: 1.1;
}
.delivery-workbench-head p {
  margin: 0;
  color: #667085;
  font-size: 13px;
}
.delivery-module-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 560px;
}
.delivery-module-links button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}
.delivery-module-links button.active {
  background: #148a5a;
  border-color: #148a5a;
  color: #fff;
}
.delivery-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.delivery-metrics article {
  min-height: 96px;
  padding: 12px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #f9fafb;
  display: grid;
  align-content: space-between;
  gap: 8px;
}
.delivery-metrics span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}
.delivery-metrics strong {
  color: #101828;
  font-size: 24px;
  line-height: 1;
}
.delivery-metrics small {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf8f2;
  color: #147849;
  font-size: 12px;
  font-weight: 800;
}
.delivery-metrics .danger small {
  background: #fff4f2;
  color: #a6322a;
}
.delivery-metrics .warning small {
  background: #fffaeb;
  color: #8b5c05;
}
.delivery-metrics .info small {
  background: #eff8ff;
  color: #126797;
}
.delivery-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 12px;
}
.delivery-queue,
.delivery-rules {
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
}
.delivery-queue h3,
.delivery-rules h3 {
  margin: 0 0 3px;
  color: #101828;
  font-size: 15px;
}
.delivery-rules p {
  margin: 0 0 10px;
  color: #667085;
  font-size: 12px;
}
.delivery-queue-list,
.delivery-rule-list {
  display: grid;
  gap: 8px;
}
.delivery-order-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(130px, 0.7fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
}
.delivery-order-card strong,
.delivery-rule-list strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #101828;
  font-size: 13px;
}
.delivery-order-card span,
.delivery-rule-list small {
  display: block;
  color: #667085;
  font-size: 12px;
}
.delivery-order-days {
  display: grid;
  gap: 2px;
}
.delivery-order-days b {
  color: #101828;
  font-size: 13px;
}
.delivery-order-days small {
  color: #667085;
}
.delivery-order-card em,
.delivery-row-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #eff8ff;
  color: #126797;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
.delivery-order-card.danger em,
.delivery-row-chip.danger {
  background: #fff4f2;
  color: #a6322a;
}
.delivery-order-card.warning em,
.delivery-row-chip.warning {
  background: #fffaeb;
  color: #8b5c05;
}
.delivery-order-card.ok em,
.delivery-row-chip.ok {
  background: #edf8f2;
  color: #147849;
}
.delivery-rule-list label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px 22px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
}
.delivery-rule-list input {
  width: 74px;
  min-height: 32px;
  border-radius: 8px;
  background: #f9fafb;
  font-weight: 850;
}
.delivery-rule-list em {
  color: #667085;
  font-size: 12px;
  font-style: normal;
}
.received-delivery-panels {
  display: grid;
  gap: 10px;
  padding: 14px 42px 22px;
  border-top: 1px solid #e9eef2;
  background: #fff;
}
.received-delivery-panel {
  overflow: hidden;
  border: 1px solid #e5ebef;
  border-radius: 8px;
  background: #fff;
}
.received-delivery-toggle {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #101828;
  text-align: left;
}
.received-delivery-toggle > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.received-delivery-toggle strong {
  color: #101828;
  font-size: 15px;
}
.received-delivery-toggle small {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}
.received-delivery-body {
  padding: 0 12px 12px;
}
.received-delivery-body > p,
.received-delivery-body .delivery-rule-list > p {
  margin: 0;
  color: #667085;
  font-size: 12px;
}
.orders-overview-page .source-order-summary {
  display: grid;
  grid-template-columns:
    minmax(92px, 0.75fr) minmax(0, 1.1fr) auto minmax(190px, 0.9fr)
    28px;
  gap: 10px;
  align-items: center;
}
.orders-overview-page .source-order-summary .delivery-row-chip {
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.orders-overview-page .source-order-summary > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.orders-overview-page .source-order-summary > b {
  white-space: nowrap;
}
@media (max-width: 960px) {
  .delivery-workbench-head,
  .delivery-split {
    grid-template-columns: 1fr;
  }
  .delivery-module-links {
    justify-content: flex-start;
    max-width: none;
  }
  .delivery-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .delivery-workbench {
    margin: 10px;
    padding: 11px;
    border-radius: 8px;
  }
  .delivery-workbench-head h2 {
    font-size: 19px;
  }
  .delivery-module-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .delivery-module-links button {
    width: 100%;
    min-height: 34px;
  }
  .delivery-metrics {
    gap: 8px;
  }
  .delivery-metrics article {
    min-height: 90px;
    padding: 10px;
  }
  .delivery-metrics strong {
    font-size: 21px;
  }
  .delivery-split {
    gap: 10px;
  }
  .delivery-queue,
  .delivery-rules {
    padding: 10px;
  }
  .delivery-order-card {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .delivery-order-card em {
    justify-content: flex-start;
    width: fit-content;
  }
  .delivery-rule-list label {
    grid-template-columns: 1fr 72px 18px;
  }
  .received-delivery-panels {
    padding: 10px;
  }
  .received-delivery-toggle {
    min-height: 58px;
    padding: 10px 12px;
  }
  .received-delivery-body {
    padding: 0 10px 10px;
  }
  .orders-overview-page .source-order-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    text-align: left;
  }
  .orders-overview-page .source-order-summary > span:first-child,
  .orders-overview-page .source-order-summary .delivery-row-chip {
    grid-column: 1 / -1;
  }
  .orders-overview-page .source-order-summary > b {
    justify-self: start;
  }
  .orders-overview-page .source-order-summary svg {
    justify-self: end;
  }
  .orders-overview-page .source-order-summary .delivery-row-chip {
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }
}

/* Apple frosted glass + Google AI palette override for the mobile ordering flow. */
.order-page.order-mcd-page {
  --ai-blue: #4285f4;
  --ai-violet: #a142f4;
  --ai-red: #ea4335;
  --ai-green: #34a853;
  --ai-ink: #111827;
  --ai-muted: #667085;
  --ai-line: rgba(83, 104, 142, 0.14);
  --ai-glass: rgba(255, 255, 255, 0.72);
  --ai-glass-strong: rgba(255, 255, 255, 0.88);
  --ai-gradient: linear-gradient(
    135deg,
    var(--ai-blue) 0%,
    var(--ai-violet) 46%,
    var(--ai-red) 70%,
    var(--ai-green) 100%
  );
  background:
    linear-gradient(118deg, rgba(66, 133, 244, 0.15), transparent 34%),
    linear-gradient(242deg, rgba(161, 66, 244, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(52, 168, 83, 0.12), transparent 42%),
    linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
  color: var(--ai-ink);
}
.order-mcd-page .order-source-shell {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.order-mcd-page .order-source-head {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(118deg, rgba(66, 133, 244, 0.13), transparent 35%),
    linear-gradient(248deg, rgba(161, 66, 244, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  box-shadow:
    0 18px 42px rgba(16, 24, 40, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.order-mcd-page .order-source-head:after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--ai-gradient);
  opacity: 0.86;
  pointer-events: none;
}
.order-mcd-title-block,
.order-mcd-page .order-source-actions {
  position: relative;
  z-index: 1;
}
.order-mcd-eyebrow {
  border: 1px solid rgba(66, 133, 244, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: #1d4ed8;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.74);
}
.order-mcd-page .order-source-head h1,
.order-mcd-page .order-source-head h1 > span:first-child {
  color: var(--ai-ink);
  letter-spacing: 0;
  text-shadow: none;
}
.order-mcd-title-switch,
.order-mcd-group-order,
.order-mcd-page .order-source-actions button {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ai-ink);
  box-shadow:
    0 10px 24px rgba(31, 41, 55, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}
.order-mcd-group-order {
  padding-inline: 11px;
  text-shadow: none;
}
.order-mcd-group-order svg {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ai-blue);
  filter: none;
}
.order-mcd-group-order:hover,
.order-mcd-page .order-source-actions button.active,
.order-mcd-page .order-source-actions button:hover {
  border-color: transparent;
  background: var(--ai-gradient);
  color: #fff;
}
.order-mcd-page .order-source-actions button.active svg,
.order-mcd-page .order-source-actions button:hover svg,
.order-mcd-group-order:hover svg {
  color: #fff;
}
.order-mcd-store-line,
.order-mcd-store-line span {
  color: #475467;
  border-color: rgba(83, 104, 142, 0.18);
}
.order-mcd-page .order-help-box,
.order-mcd-page .order-search-panel,
.order-mcd-page .order-context-strip,
.order-mcd-page .order-search-bar,
.order-mcd-page .order-search-suggestions {
  border-color: var(--ai-line);
  background: rgba(255, 255, 255, 0.78);
  color: #344054;
  box-shadow:
    0 14px 34px rgba(16, 24, 40, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}
.order-mcd-page .order-context-strip span {
  border-color: rgba(66, 133, 244, 0.16);
  background: rgba(239, 246, 255, 0.68);
  color: #175cd3;
}
.order-mcd-page .order-tabbar {
  border-bottom: 1px solid rgba(83, 104, 142, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.1);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.order-mcd-page .order-tabs {
  border: 1px solid rgba(83, 104, 142, 0.12);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.78);
}
.order-mcd-page .order-tabs button {
  color: #475467;
  letter-spacing: 0;
}
.order-mcd-page .order-tabs button.active,
.order-mcd-page .order-suggest-button {
  background: var(--ai-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(66, 133, 244, 0.22);
}
.order-mcd-page .order-suggest-button:hover {
  background: linear-gradient(135deg, #2f6fe4 0%, #8735df 52%, #239b54 100%);
  color: #fff;
}
.order-mcd-page .order-browse-grid,
.order-mcd-page .order-product-pane,
.order-mcd-page .order-product-list {
  background: transparent;
}
.order-mcd-page .order-category-rail {
  border-right: 1px solid rgba(83, 104, 142, 0.1);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset -1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.order-mcd-page .order-category-rail button {
  border-bottom-color: rgba(83, 104, 142, 0.1);
  color: #667085;
}
.order-mcd-page .order-category-rail button:before {
  background: var(--ai-gradient);
}
.order-mcd-page .order-category-rail button.active,
.order-mcd-page .order-category-rail button:hover {
  background: rgba(255, 255, 255, 0.78);
  color: #175cd3;
  box-shadow:
    inset 4px 0 rgba(66, 133, 244, 0.82),
    0 8px 18px rgba(16, 24, 40, 0.08);
}
.order-mcd-page .order-category-count {
  background: rgba(66, 133, 244, 0.1);
  color: #175cd3;
}
.order-mcd-page .order-product-heading h2,
.order-mcd-page .order-product-copy strong {
  color: var(--ai-ink);
  letter-spacing: 0;
}
.order-mcd-page .order-product-heading small,
.order-mcd-page .order-product-copy span,
.order-mcd-page .order-product-copy small,
.order-mcd-page .order-product-price span {
  color: var(--ai-muted);
}
.order-mcd-page .order-product-row {
  border-bottom-color: rgba(83, 104, 142, 0.12);
  background: rgba(255, 255, 255, 0.58);
}
.order-mcd-page .order-product-row.selected {
  border: 1px solid rgba(66, 133, 244, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}
.order-mcd-page .order-product-thumb,
.order-mcd-page .order-product-photo .image-placeholder,
.order-mcd-page .order-category-thumb,
.order-mcd-page .order-category-thumb-wrap .image-placeholder {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(83, 104, 142, 0.08);
}
.order-mcd-page .order-spec-single {
  background: rgba(66, 133, 244, 0.1);
  color: #175cd3;
}
.order-mcd-page .order-product-price strong {
  color: #2563eb;
}
.order-mcd-page .order-add-button,
.order-mcd-page .order-decrease-button,
.order-mcd-page .order-product-actions.with-quantity .order-add-button.quick {
  border: 0;
  background: var(--ai-gradient);
  color: #fff;
  box-shadow: 0 10px 22px rgba(66, 133, 244, 0.22);
}
.order-mcd-page .order-add-button span,
.order-mcd-page .order-add-button svg,
.order-mcd-page .order-decrease-button svg {
  color: #fff;
}
.order-mcd-page .order-add-button:hover {
  background: linear-gradient(135deg, #2f6fe4 0%, #8735df 52%, #239b54 100%);
  color: #fff;
}
.order-mcd-page .order-product-actions.with-quantity,
.order-mcd-page .dc-stepper.order-product-actions.with-quantity {
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(66, 133, 244, 0.14),
    0 8px 18px rgba(16, 24, 40, 0.08);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.order-mcd-page .order-product-quantity,
.order-mcd-page .order-product-price .order-product-quantity,
.order-mcd-page
  .dc-stepper.order-product-actions.with-quantity
  .order-product-quantity {
  color: var(--ai-ink);
}
.order-mcd-page .order-floating-cart {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(17, 24, 39, 0.8);
  color: #fff;
  box-shadow:
    0 18px 42px rgba(16, 24, 40, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.order-mcd-page .order-floating-cart:hover {
  background: rgba(17, 24, 39, 0.86);
}
.order-mcd-page .order-cart-logo,
.order-mcd-page .order-cart-bar-action,
.order-mcd-page .dc-sheet-footer .primary,
.order-mcd-page .dc-floating-action .primary,
.order-mcd-page .dc-send-modal .primary {
  background: var(--ai-gradient) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(66, 133, 244, 0.24);
}
.order-mcd-page .order-cart-bar-main small {
  color: rgba(255, 255, 255, 0.72);
}
.order-mcd-page .dc-order-flow-panel,
.order-mcd-page .dc-cart-view,
.order-mcd-page .dc-send-view,
.order-mcd-page .dc-complete-view {
  background: rgba(248, 251, 255, 0.94) !important;
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}
.order-mcd-page .dc-flow-bar {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ai-ink);
  box-shadow: inset 0 -1px rgba(83, 104, 142, 0.12);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.order-mcd-page .dc-cart-card,
.order-mcd-page .dc-cart-total,
.order-mcd-page .dc-shared-cart-card,
.order-mcd-page .dc-send-card {
  border-color: rgba(83, 104, 142, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.delivery-workbench,
.delivery-queue,
.delivery-rules,
.delivery-metrics article,
.delivery-order-card,
.received-delivery-panel {
  border-color: rgba(83, 104, 142, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  backdrop-filter: saturate(165%) blur(16px);
  -webkit-backdrop-filter: saturate(165%) blur(16px);
}
.delivery-workbench-head span,
.delivery-metrics .info small,
.delivery-metrics .warning small {
  background: rgba(66, 133, 244, 0.1);
  color: #175cd3;
}
.delivery-module-links button.active {
  border-color: transparent;
  background: var(--ai-gradient, linear-gradient(135deg, #4285f4, #a142f4, #34a853));
  color: #fff;
}
@media (max-width: 640px) {
  .order-page.order-mcd-page {
    background:
      linear-gradient(128deg, rgba(66, 133, 244, 0.14), transparent 38%),
      linear-gradient(232deg, rgba(161, 66, 244, 0.1), transparent 42%),
      linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
  }
  .order-mcd-page .order-source-head {
    border-radius: 0 0 20px 20px;
  }
  .order-mcd-page .order-source-head h1 {
    font-size: 28px;
  }
  .order-mcd-group-order {
    padding-inline: 8px;
  }
  .order-mcd-page .order-browse-grid {
    background: transparent;
  }
  .order-mcd-page .order-product-row {
    margin-bottom: 7px;
    padding: 8px;
    border: 1px solid rgba(83, 104, 142, 0.1);
    border-radius: 10px;
  }
  .order-mcd-page .order-floating-cart {
    border-radius: 28px;
  }
}
:root[data-theme="dark"] .order-page.order-mcd-page {
  background:
    linear-gradient(128deg, rgba(66, 133, 244, 0.16), transparent 36%),
    linear-gradient(240deg, rgba(161, 66, 244, 0.14), transparent 42%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #f8fafc;
}
:root[data-theme="dark"] .order-mcd-page .order-source-head,
:root[data-theme="dark"] .order-mcd-page .order-tabbar,
:root[data-theme="dark"] .order-mcd-page .order-tabs,
:root[data-theme="dark"] .order-mcd-page .order-category-rail,
:root[data-theme="dark"] .order-mcd-page .order-product-row,
:root[data-theme="dark"] .order-mcd-page .order-product-row.selected,
:root[data-theme="dark"] .order-mcd-page .order-product-actions.with-quantity,
:root[data-theme="dark"]
  .order-mcd-page
  .dc-stepper.order-product-actions.with-quantity {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
}
:root[data-theme="dark"] .order-mcd-page .order-source-head h1,
:root[data-theme="dark"] .order-mcd-page .order-product-heading h2,
:root[data-theme="dark"] .order-mcd-page .order-product-copy strong,
:root[data-theme="dark"] .order-mcd-page .order-product-quantity {
  color: #f8fafc;
}
:root[data-theme="dark"] .order-mcd-page .order-category-rail button.active,
:root[data-theme="dark"] .order-mcd-page .order-category-rail button:hover {
  background: rgba(30, 41, 59, 0.86);
  color: #bfdbfe;
}

/* Restore the original ordering palette and keep the side category rail static. */
.order-page.order-mcd-page {
  background: #fff;
  color: #1f1f1f;
  --ai-ink: #1f1f1f;
  --ai-muted: #70675b;
  --ai-gradient: linear-gradient(135deg, #ffc72c, #ffe281 58%, #fff8d7);
}
body:has(.order-mcd-page) .topbar:after,
body:has(.order-mcd-page) .topbar::after,
body:has(.order-mcd-page) .workspace::before {
  content: none !important;
  display: none !important;
}
body:has(.order-mcd-page),
body:has(.order-mcd-page) #root,
body:has(.order-mcd-page) .workspace {
  background: #fff !important;
  background-image: none !important;
}
.order-mcd-page .order-source-shell {
  background: #fff;
  box-shadow: 0 18px 42px #211e1814;
}
.order-mcd-page .order-source-head {
  border: 0;
  background: linear-gradient(135deg, #ffc72c, #ffe281 58%, #fff8d7);
  box-shadow: inset 0 -1px #1f1f1f14;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.order-mcd-page .order-source-head:after {
  display: none;
}
.order-mcd-eyebrow {
  border: 0;
  background: #1f1f1f1a;
  color: #3a2a00;
  box-shadow: none;
}
.order-mcd-page .order-source-head h1,
.order-mcd-page .order-source-head h1 > span:first-child {
  color: #1f1f1f;
  text-shadow: none;
}
.order-mcd-title-switch,
.order-mcd-group-order,
.order-mcd-page .order-source-actions button {
  background: #ffffffdb;
  color: #1f1f1f;
  box-shadow: 0 7px 18px #1f1f1f1a;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.order-mcd-group-order {
  background: transparent;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.64);
}
.order-mcd-group-order svg {
  background: #fff;
  color: #e6a300;
  filter: drop-shadow(0 2px 1px rgba(31, 31, 31, 0.16));
}
.order-mcd-group-order:hover {
  background: #ffffff7a;
  color: #1f1f1f;
}
.order-mcd-page .order-source-actions button.active,
.order-mcd-page .order-source-actions button:hover {
  background: #1f1f1f;
  color: #ffc72c;
}
.order-mcd-page .order-source-actions button.active svg,
.order-mcd-page .order-source-actions button:hover svg,
.order-mcd-group-order:hover svg {
  color: #ffc72c;
}
.order-mcd-store-line,
.order-mcd-store-line span {
  color: #423414;
  border-color: rgba(31, 31, 31, 0.18);
}
.order-mcd-page .order-help-box {
  border-color: rgba(219, 0, 7, 0.12);
  background: #fff5d5;
  color: #5a4310;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.order-mcd-page .order-search-panel,
.order-mcd-page .order-search-bar,
.order-mcd-page .order-search-suggestions {
  border-color: rgba(31, 31, 31, 0.08);
  background: #fff;
  color: #1f1f1f;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.order-mcd-page .order-context-strip {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.order-mcd-page .order-context-strip span {
  border-color: rgba(31, 31, 31, 0.08);
  background: #fff4cc;
  color: #5a4310;
}
.order-mcd-page .order-tabbar,
.order-mcd-page .order-tabs {
  background: #fff;
  box-shadow: 0 8px 20px #1f1f1f14;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.order-mcd-page .order-tabs {
  box-shadow: none;
}
.order-mcd-page .order-tabs button {
  color: #4d4638;
}
.order-mcd-page .order-tabs button.active {
  background: #1f1f1f;
  color: #ffc72c;
  box-shadow: none;
}
.order-mcd-page .order-suggest-button {
  background: #db0007;
  color: #fff;
  box-shadow: 0 8px 20px #db000733;
}
.order-mcd-page .order-suggest-button:hover {
  background: #bd0006;
}
.order-mcd-page .order-browse-grid,
.order-mcd-page .order-product-pane,
.order-mcd-page .order-product-list {
  background: #fff;
}
.order-mcd-page .order-category-rail {
  border-right: 0;
  background: #f7f7f7;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  scroll-behavior: auto;
}
.order-mcd-page .order-category-rail button {
  min-height: 64px;
  gap: 0;
  padding: 12px 8px;
  border-bottom-color: rgba(31, 31, 31, 0.08);
  color: #5b5b5b;
  transition: none;
  transform: none;
  will-change: auto;
}
.order-mcd-page .order-category-rail button:before {
  display: none;
}
.order-mcd-page .order-category-rail button.active,
.order-mcd-page .order-category-rail button:hover {
  background: #fff;
  color: #db0007;
  border-radius: 0 16px 16px 0;
  box-shadow: inset 4px 0 #ffc72c;
  animation: none;
  transform: none;
}
.order-mcd-page .order-category-rail button.active strong,
.order-mcd-page .order-category-rail button.active .order-category-thumb {
  animation: none;
  transform: none;
}
.order-mcd-page .order-category-thumb-wrap,
.order-mcd-page .order-category-thumb,
.order-mcd-page .order-category-thumb-wrap .image-placeholder {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.order-mcd-page .order-category-rail strong {
  color: inherit;
  font-size: 13px;
  -webkit-line-clamp: 3;
}
.order-mcd-page .order-product-row,
.order-mcd-page .order-product-row.selected {
  border-color: rgba(31, 31, 31, 0.08);
  background: #fff;
  box-shadow: none;
}
.order-mcd-page .order-product-copy strong {
  color: #1f1f1f;
}
.order-mcd-page .order-product-copy span,
.order-mcd-page .order-product-copy small,
.order-mcd-page .order-product-heading small,
.order-mcd-page .order-product-price span {
  color: #70675b;
}
.order-mcd-page .order-spec-single {
  background: #fff2c2;
  color: #6a5012;
}
.order-mcd-page .order-product-price strong {
  color: #db0007;
}
.order-mcd-page .order-add-button,
.order-mcd-page .order-decrease-button,
.order-mcd-page .order-product-actions.with-quantity .order-add-button.quick {
  background: #ffc72c;
  color: #1f1f1f;
  box-shadow: 0 6px 14px #ffc72c47;
}
.order-mcd-page .order-add-button span,
.order-mcd-page .order-add-button svg,
.order-mcd-page .order-decrease-button svg {
  color: #1f1f1f;
}
.order-mcd-page .order-add-button:hover {
  background: #ffbc0d;
  color: #1f1f1f;
}
.order-mcd-page .order-product-actions.with-quantity,
.order-mcd-page .dc-stepper.order-product-actions.with-quantity {
  background: #fff2c2;
  box-shadow: inset 0 0 0 1px #6a50121f;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.order-mcd-page .order-product-quantity,
.order-mcd-page .order-product-price .order-product-quantity,
.order-mcd-page .dc-stepper.order-product-actions.with-quantity .order-product-quantity {
  color: #1f1f1f;
}
.order-mcd-page .order-floating-cart {
  border: 0;
  background: #1f1f1f;
  color: #fff;
  box-shadow: 0 14px 30px #1f1f1f42;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.order-mcd-page .order-cart-logo,
.order-mcd-page .order-cart-bar-action,
.order-mcd-page .dc-sheet-footer .primary,
.order-mcd-page .dc-floating-action .primary,
.order-mcd-page .dc-send-modal .primary {
  background: #ffc72c !important;
  color: #1f1f1f !important;
  box-shadow: 0 10px 22px #ffc72c47;
}
.order-mcd-page .dc-flow-bar {
  background: #ffc72c;
  color: #1f1f1f;
}
.order-mcd-page .dc-order-flow-panel,
.order-mcd-page .dc-cart-view,
.order-mcd-page .dc-send-view,
.order-mcd-page .dc-complete-view {
  background: #fff !important;
}
@media (max-width: 640px) {
  .order-page.order-mcd-page {
    background: #fff;
  }
  .order-mcd-page .order-source-head {
    border-radius: 0 0 18px 18px;
  }
  .order-mcd-page .order-browse-grid {
    background: #fff;
  }
  .order-mcd-page .order-category-rail button {
    min-height: 58px;
    padding: 10px 7px;
  }
  .order-mcd-page .order-category-rail strong {
    font-size: 12px;
  }
  .order-mcd-page .order-product-row {
    border: 0;
    border-bottom: 1px solid rgba(31, 31, 31, 0.08);
    border-radius: 0;
  }
}
