* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f6fb;
  color: #142033;
}

.app-frame {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.shell.app-frame {
  width: 100%;
  max-width: none;
}

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

.hidden {
  display: none !important;
}

.shell {
  min-height: 100vh;
}

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

.login-card,
.panel,
.stat-card,
.order-card,
.product-card,
.activity-card {
  background: #fff;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 32, 51, 0.06);
}

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

.login-brand {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #1367d1;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.login-card h1 {
  margin: 0 0 6px;
  font-size: 30px;
}

.muted {
  color: #5f6f85;
}

.form-row {
  display: grid;
  gap: 6px;
  margin: 14px 0;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c6d3e5;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.form-row textarea {
  min-height: 88px;
  resize: vertical;
}

.form-row-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.btn,
.btn-secondary,
.btn-danger,
.btn-success,
.btn-ghost {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

.btn {
  background: #1367d1;
  color: #fff;
}

.btn-success {
  background: #dff5e7;
  color: #1e6f43;
}

.btn-secondary {
  background: #dceafe;
  color: #0f458b;
}

.btn-danger {
  background: #fce2e0;
  color: #912f28;
}

.btn-ghost {
  background: transparent;
  color: #2a476d;
  border: 1px solid #c6d3e5;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  color: #142033;
  padding: 10px 18px;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 225, 239, 0.9);
}

.topbar-inner {
  width: min(100%, 1000px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  color: #1367d1;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(19, 103, 209, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.topbar-context {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.topbar-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-title-row strong {
  font-size: 16px;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar-userline {
  font-size: 12px;
  color: #6b7b90;
}

.topbar-progress-row {
  width: min(100%, 1000px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.section-menu-toggle {
  display: none;
}

.section-nav {
  width: min(100%, 1000px);
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-nav-btn {
  border: 1px solid #d8e1ef;
  background: #fff;
  color: #17304d;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.section-nav-btn.active {
  border-color: #1367d1;
  background: rgba(19, 103, 209, 0.08);
  color: #0f4ea2;
}

.section-nav-mobile {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #eef3fa;
  color: #345072;
  padding: 9px 13px;
  font-size: 15px;
}

.badge-pending {
  background: rgba(255, 191, 71, 0.18);
  color: #8c5a00;
}

.badge-done {
  background: rgba(48, 204, 71, 0.12);
  color: #1f7d31;
}

.badge-alert {
  background: rgba(255, 37, 36, 0.14);
  color: #b8201f;
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #d8e1ef;
  border-radius: 999px;
  background: #fff;
}

.auth-lang-switch {
  margin-top: 4px;
}

.lang-chip {
  border: 0;
  background: transparent;
  color: #5f6f85;
  border-radius: 999px;
  min-width: 34px;
  min-height: 28px;
  padding: 0 7px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}

.lang-chip.active {
  background: #1367d1;
  color: #fff;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #d8e1ef;
  background: #fff;
  color: #2a476d;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.compact-badge {
  padding: 6px 10px;
  font-size: 13px;
}

.toolbar-wrap {
  flex-wrap: wrap;
}

.import-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.inline-divider {
  height: 1px;
  background: #d8e1ef;
  margin: 4px 0;
}

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

.global-nav {
  margin-bottom: 14px;
}

.packing-global-nav {
  margin-top: 4px;
}

.global-nav-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.global-nav-btn {
  width: 100%;
  border: 1px solid #d8e1ef;
  background: #fff;
  color: #17304d;
  border-radius: 8px;
  min-height: 46px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
}

.global-nav-btn.active {
  border-color: #1367d1;
  background: rgba(19, 103, 209, 0.08);
  color: #0f4ea2;
}

.global-nav-count {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 37, 36, 0.14);
  color: #b8201f;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  font-size: 13px;
}

.global-nav-count.neutral {
  background: rgba(48, 204, 71, 0.14);
  color: #1f7d31;
}

.pickup-card {
  border-left: 4px solid #3e4251;
}

.pickup-line-item {
  background: #fff;
}

.pickup-meta-stack .minor-meta {
  margin: 4px 0 0;
}

.pickup-meta-stack .minor-meta:first-child {
  margin-top: 0;
}

.pickup-head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pickup-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #d8e1ef;
  background: #fff;
  color: #17304d;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.pickup-icon-link:hover {
  border-color: #1367d1;
  background: rgba(19, 103, 209, 0.08);
  color: #0f4ea2;
}

.pickup-icon-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.pickup-icon-link-invoice {
  border-color: rgba(255, 102, 48, 0.35);
  background: rgba(255, 102, 48, 0.1);
  color: #d84a18;
}

.pickup-icon-link-invoice:hover {
  border-color: #FF6630;
  background: rgba(255, 102, 48, 0.18);
  color: #b43c12;
}

.pickup-icon-link-phone {
  border-color: rgba(18, 183, 106, 0.35);
  background: rgba(18, 183, 106, 0.1);
  color: #15803d;
}

.pickup-icon-link-phone:hover {
  border-color: #12b76a;
  background: rgba(18, 183, 106, 0.18);
  color: #166534;
}

.pickup-quick-button {
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid #d8e1ef;
  background: #fff;
  color: #17304d;
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
}

.pickup-quick-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.pickup-quick-button-invoice {
  border-color: rgba(255, 102, 48, 0.35);
  background: rgba(255, 102, 48, 0.1);
  color: #b43c12;
}

.pickup-quick-button-invoice:hover {
  border-color: #FF6630;
  background: rgba(255, 102, 48, 0.18);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.list-archive-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 2px;
}

.inline-alert {
  border-radius: 8px;
  background: #f5f8fc;
  color: #345072;
  border: 1px solid #d8e1ef;
  padding: 10px 12px;
}

.inline-alert.error {
  border-radius: 8px;
  background: rgba(255, 37, 36, 0.1);
  color: #b8201f;
  border: 1px solid rgba(255, 37, 36, 0.22);
  padding: 10px 12px;
}

.inline-alert.success {
  border-radius: 8px;
  background: rgba(48, 204, 71, 0.1);
  color: #1f7d31;
  border: 1px solid rgba(48, 204, 71, 0.24);
  padding: 10px 12px;
}

.inline-alert.warning {
  border-radius: 8px;
  background: rgba(255, 191, 71, 0.14);
  color: #8c5a00;
  border: 1px solid rgba(255, 191, 71, 0.28);
  padding: 10px 12px;
}

.hamar-current-cart-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.hamar-manual-modal {
  width: min(720px, calc(100vw - 24px));
}

.hamar-manual-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.hamar-manual-list {
  display: grid;
  gap: 8px;
  max-height: min(520px, 55vh);
  overflow: auto;
  padding-right: 4px;
}

.hamar-manual-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.hamar-manual-option span {
  min-width: 0;
}

.product-bulk-modal {
  width: min(780px, calc(100vw - 24px));
}

.product-bulk-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin: 12px 0;
}

.product-bulk-search-row {
  margin: 0;
}

.product-bulk-list {
  display: grid;
  gap: 8px;
  max-height: min(520px, 50vh);
  overflow: auto;
  padding-right: 4px;
  margin-top: 12px;
}

.product-bulk-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.product-bulk-option.is-missing {
  border-color: rgba(184, 32, 31, 0.28);
  background: #fff4f4;
}

.product-bulk-option span {
  min-width: 0;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.app-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(420px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #d8e1ef;
  box-shadow: 0 18px 40px rgba(20, 32, 51, 0.18);
  color: #17304d;
}

.app-toast-error {
  border-color: rgba(255, 37, 36, 0.26);
  background: #fff6f6;
  color: #9d211e;
}

.app-toast-success {
  border-color: rgba(48, 204, 71, 0.3);
  background: #f4fff6;
  color: #1f6f38;
}

.app-toast-warning {
  border-color: rgba(255, 191, 71, 0.34);
  background: #fffaf0;
  color: #785000;
}

.app-toast-close {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(20, 32, 51, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.procurement-toolbar {
  align-items: center;
}

.procurement-toolbar .active {
  border-color: #1367d1;
  background: rgba(19, 103, 209, 0.1);
  color: #0f4ea2;
}

.procurement-filter {
  min-height: 42px;
  border: 1px solid #c6d3e5;
  border-radius: 8px;
  background: #fff;
  color: #17304d;
  padding: 9px 12px;
  margin-left: auto;
}

.procurement-card .compact-order-head {
  margin-bottom: 8px;
}

.subsection + .subsection {
  margin-top: 18px;
}

.compact-section-header {
  margin-bottom: 10px;
}

.pickup-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pickup-search-wrap {
  flex: 1 1 auto;
}

.pickup-search-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c6d3e5;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.inventory-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.inventory-toolbar-single {
  grid-template-columns: minmax(0, 1fr);
}

.inventory-mode-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.inventory-summary {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inventory-progress {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid #d7e5fb;
  border-radius: 8px;
  background: #f7faff;
}

.inventory-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}

.inventory-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #dce8fb;
  overflow: hidden;
}

.inventory-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: #1367d1;
  transition: width 0.2s ease;
}

.inventory-search-row {
  min-width: 0;
}

.packing-search-panel {
  margin-bottom: 14px;
}

.packing-search-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.packing-search-row {
  min-width: 0;
}

.morning-import-panel {
  border-color: #bcd4f5;
  background: #f7fbff;
}

.archive-maintenance-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  box-shadow: none;
  background: #f8fbff;
}

.inventory-current-location {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.inventory-card {
  padding: 14px;
}

.inventory-card-main {
  display: grid;
  gap: 14px;
}

.inventory-product-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.inventory-thumb {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #d8e1ef;
  background: #fff;
  display: block;
}

.inventory-thumb.empty {
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #6b7b90;
}

.inventory-product-text {
  min-width: 0;
}

.inventory-product-text strong {
  display: block;
  margin-bottom: 4px;
}

.inventory-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.inventory-form-row {
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 200px) auto;
  gap: 10px;
  align-items: end;
}

.inventory-location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #d8e1ef;
  border-radius: 999px;
  background: #f6f9ff;
  color: #17304d;
  font-size: 13px;
}

.location-badge.is-current {
  border-color: rgba(19, 103, 209, 0.3);
  background: rgba(19, 103, 209, 0.08);
  color: #0f4ea2;
}

.location-badge-remove {
  border: 0;
  background: transparent;
  color: #8a2230;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.location-badge-remove:hover {
  color: #b8201f;
}

.compact-form-row {
  margin: 0;
}

.compact-action-row {
  min-width: 120px;
}

.compact-action-row .btn-danger,
.compact-action-row .btn-secondary {
  width: 100%;
  min-height: 42px;
}

.inventory-save-btn {
  min-height: 42px;
  min-width: 120px;
}

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

.pickup-action {
  border: 1px solid #d8e1ef;
  background: #fff;
  color: #17304d;
  border-radius: 8px;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.pickup-action:disabled {
  opacity: 0.45;
  cursor: default;
}

.pickup-action-ready {
  border-color: rgba(48, 204, 71, 0.35);
  background: rgba(48, 204, 71, 0.12);
  color: #1f7d31;
}

.pickup-action-completed {
  border-color: rgba(19, 103, 209, 0.3);
  background: rgba(19, 103, 209, 0.1);
  color: #0f4ea2;
}

.pickup-action-waiting {
  border-color: rgba(62, 66, 81, 0.22);
  background: rgba(62, 66, 81, 0.08);
  color: #3e4251;
}

.pickup-action-out {
  border-color: rgba(255, 191, 71, 0.4);
  background: rgba(255, 191, 71, 0.18);
  color: #8c5a00;
}

.pickup-action-cancel {
  border-color: rgba(255, 37, 36, 0.3);
  background: rgba(255, 37, 36, 0.12);
  color: #b8201f;
}

.compact-lang-switch {
  padding: 3px;
}

.status-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e8eef8;
  color: #2a476d;
}

.status-mehet { background: #dff5e7; color: #1e6f43; }
.status-hianyos { background: #fff0d9; color: #955d00; }
.status-reszben { background: #ece2ff; color: #5a2c9c; }
.status-varo { background: #dceafe; color: #0f458b; }
.status-elfogyott { background: #fce2e0; color: #912f28; }
.status-visszamondott { background: #ebedf0; color: #465569; }

.layout {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  border: 0;
  width: min(100%, 1000px);
  margin: 0 auto;
}

.layout-single {
  width: min(100%, 1200px);
}

.sidebar {
  border-bottom: 1px solid #d8e1ef;
  background: #fff;
  padding: 18px;
}

.import-panel summary {
  cursor: pointer;
  font-weight: 700;
}

.import-panel[open] summary {
  margin-bottom: 12px;
}

.sidebar h2 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #5f6f85;
  text-transform: uppercase;
}

.list-selector {
  display: grid;
  gap: 10px;
}

.list-section {
  display: grid;
  gap: 10px;
}

.list-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #5f6f85;
  letter-spacing: 0.04em;
}

.list-archive {
  border-top: 1px dashed #d8e1ef;
  padding-top: 10px;
  display: grid;
  gap: 10px;
}

.list-archive summary {
  cursor: pointer;
  font-weight: 700;
  color: #3e4a5d;
}

.list-archive[open] summary {
  margin-bottom: 4px;
}

.list-item-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.list-item {
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  background: #f9fbff;
}

.list-item.active {
  border-color: #1367d1;
  background: #edf5ff;
}

.list-delete-btn {
  align-self: stretch;
}

.main {
  padding: 18px;
  display: grid;
  gap: 18px;
}

.main-standalone {
  padding-top: 0;
}

.tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tab {
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d8e1ef;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 44px;
}

.tab.active {
  background: #1367d1;
  color: #fff;
  border-color: #1367d1;
}

.tab-label-with-alert {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tab-alert-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d92d20;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  min-width: 10px;
  flex: 0 0 auto;
}

.compact-duplicate-lines {
  gap: 4px;
  padding: 6px 0;
}

.duplicate-order-block {
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
}

.duplicate-order-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.duplicate-order-number {
  font-size: 1.02rem;
  color: #16365f;
}

.duplicate-order-meta {
  color: #5b6f86;
  font-size: 0.95rem;
}

.duplicate-order-total {
  font-weight: 700;
  color: #1f3550;
  margin-bottom: 8px;
}

.duplicate-order-items {
  padding: 0;
}

.duplicate-order-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  line-height: 1.45;
}

.duplicate-order-qty {
  color: #183a66;
}

.duplicate-order-sku {
  color: #425a74;
  font-weight: 600;
}

.duplicate-order-name {
  color: #1f3550;
}

.duplicate-order-price {
  color: #1f3550;
  font-weight: 600;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat-card {
  padding: 14px;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 10px;
  border-bottom: 1px solid #d8e4f2;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: #425a74;
  font-size: 12px;
  text-transform: uppercase;
}

.data-table tr.is-cart-ok td {
  background: #edf9f1;
}

.data-table tr.is-cart-partial td {
  background: #fff8ea;
}

.cart-qty-pill {
  display: inline-flex;
  min-width: 48px;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef4fb;
  color: #425a74;
  font-size: 12px;
  font-weight: 700;
}

.cart-qty-pill.ok {
  background: #dff5e7;
  color: #1e6f43;
}

.cart-qty-pill.partial {
  background: #fff0cf;
  color: #8c5a00;
}

.small-action-btn {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 12px;
}

.hamar-cart-checkline,
.hamar-history {
  margin: 10px 0;
}

.hamar-history summary {
  cursor: pointer;
  color: #0f458b;
  font-weight: 700;
  padding: 10px 0;
}

.list-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid #d4e4f5;
  border-radius: 8px;
  background: #fff;
}

.panel {
  padding: 16px;
}

.notice-panel {
  background: #f7fbff;
  border-color: #d4e4f5;
}

.confirm-modal {
  width: min(100%, 520px);
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(20, 32, 51, 0.18);
}

.confirm-message {
  margin: 0;
  color: #24364d;
  line-height: 1.5;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

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

.stack {
  display: grid;
  gap: 12px;
}

.activity-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 2px;
}

.product-card,
.order-card,
.activity-card {
  padding: 14px;
}

.product-card.is-pending {
  border-left: 5px solid #3E4251;
  border-color: #c9ccd3;
  background: linear-gradient(180deg, #fbfbfc 0%, #f2f3f6 100%);
}

.product-card.is-collected {
  border-left: 5px solid #30CC47;
  border-color: #91e09d;
  background: linear-gradient(180deg, #f7fff8 0%, #edfcef 100%);
}

.product-card.is-shortage {
  border-left: 5px solid #FF2524;
  border-color: #ff9d9d;
  background: linear-gradient(180deg, #fff8f8 0%, #fff0f0 100%);
}

.inventory-card.is-dirty {
  border-left: 5px solid #ffbf47;
  border-color: rgba(255, 191, 71, 0.75);
  background: linear-gradient(180deg, #fffaf0 0%, #fff4dc 100%);
}

.inventory-card.is-dirty input,
.inventory-card.is-dirty textarea,
.inventory-card.is-dirty select {
  background: #fffdf7;
  border-color: rgba(255, 191, 71, 0.85);
}

.inventory-bulk-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.inventory-bulk-input {
  margin: 0;
}

.product-head,
.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-layout {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
}

.order-layout {
  display: block;
}

.thumb {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  border: 1px solid #d8e1ef;
  background: #f1f4f8;
  object-fit: cover;
}

.thumb-button {
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
}

.thumb-image,
.thumb-image-frame {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.thumb.empty {
  display: grid;
  place-items: center;
  color: #7b8a9f;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

.qty-stepper {
  display: inline-grid;
  grid-template-columns: 58px 96px 58px;
  align-items: center;
  border: 1px solid #c6d3e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qty-stepper button {
  min-height: 52px;
  border: 0;
  background: #dceafe;
  color: #0f458b;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
}

.qty-stepper input {
  min-height: 52px;
  border: 0;
  border-left: 1px solid #c6d3e5;
  border-right: 1px solid #c6d3e5;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.compact-order-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

.compact-order-list li {
  padding: 10px;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  background: #f9fbff;
}

.compact-order-card {
  padding: 12px;
  color: #24364d;
  border-left: 5px solid #d2d5dc;
}

.compact-order-card .compact-order-lines {
  margin-top: 10px;
}

.compact-order-card.is-packed {
  border-left-color: #30CC47;
  border-color: #91e09d;
  background: linear-gradient(180deg, #f7fff8 0%, #edfcef 100%);
  box-shadow: 0 12px 30px rgba(48, 204, 71, 0.12);
}

.compact-order-card.is-handled {
  border-left-color: #30CC47;
  border-color: #91e09d;
  background: linear-gradient(180deg, #f7fff8 0%, #edfcef 100%);
  box-shadow: 0 12px 30px rgba(48, 204, 71, 0.12);
}

.compact-order-card.is-pack-waiting {
  border-left-color: #3E4251;
  border-color: #c9ccd3;
  background: linear-gradient(180deg, #fbfbfc 0%, #f4f5f7 100%);
  box-shadow: 0 10px 24px rgba(62, 66, 81, 0.08);
}

.compact-order-card .compact-order-lines li,
.compact-order-card .order-product-head span,
.compact-order-card .muted,
.compact-order-card .minor-meta {
  color: #24364d;
}

.compact-order-card.is-packed .compact-order-head {
  padding-bottom: 8px;
  border-bottom: 1px solid #d6eedf;
}

.compact-order-card.is-handled .compact-order-head {
  padding-bottom: 8px;
  border-bottom: 1px solid #d6eedf;
}

.compact-order-head {
  align-items: flex-start;
}

.order-head-right {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.order-submeta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.order-number-copy {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order-open-link {
  color: inherit;
  text-decoration: none;
}

.order-open-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.carrier-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #d8e1ef;
  background: #f1f4f8;
  color: #345072;
}

.carrier-pill.carrier-gls {
  background: #eef4fb;
  border-color: #d4ddea;
  color: #345072;
}

.carrier-pill.carrier-mpl {
  background: #fbf4e9;
  border-color: #ead8b8;
  color: #7a5a16;
}

.carrier-pill.carrier-fox {
  background: #edf6ef;
  border-color: #cde0d0;
  color: #2f6640;
}

.compact-order-lines {
  gap: 6px;
}

.pack-line-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.pack-line-item.is-removed {
  border-color: #ff9d9d;
  background: #fff3f3;
}

.pack-line-item.is-adjusted {
  border-color: #edc27b;
  background: linear-gradient(180deg, #fff9ef 0%, #fff4de 100%);
  box-shadow: inset 0 0 0 1px rgba(182, 118, 16, 0.08);
}

.pack-line-item.is-shortage {
  border-color: #ff9d9d;
  background: linear-gradient(180deg, #fff7f7 0%, #fff0f0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 37, 36, 0.10);
}

.pack-line-item.is-resolved {
  border-color: #91e09d;
  background: linear-gradient(180deg, #f7fff8 0%, #edfcef 100%);
}

.pack-line-item.is-added {
  border-color: #c9dff1;
  background: #f5faff;
}

.pack-line-item.is-removed strong,
.pack-line-item.is-removed span,
.pack-line-item.is-removed div {
  text-decoration: line-through;
  text-decoration-color: #c3372d;
  text-decoration-thickness: 2px;
}

.removed-note {
  margin-top: 4px;
  color: #d52222;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
}

.shortage-note {
  margin-top: 4px;
  color: #d52222;
  font-size: 12px;
  font-weight: 700;
}

.resolved-note {
  margin-top: 4px;
  color: #239257;
  font-size: 12px;
  font-weight: 700;
}

.added-note {
  margin-top: 4px;
  color: #255a8f;
  font-size: 12px;
  font-weight: 700;
}

.adjusted-note {
  margin-top: 4px;
  color: #9b5b00;
  font-size: 12px;
  font-weight: 700;
}

.qty-original {
  text-decoration: line-through;
  text-decoration-color: #c56a00;
  text-decoration-thickness: 2px;
  color: #9b5b00;
  margin-right: 8px;
}

.qty-current {
  color: #6e4200;
}

.packing-qty-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #ffb347;
  background: #fff1d6;
  color: #c44a00;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.18);
}

.line-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid #d8e1ef;
  background: #f1f4f8;
  object-fit: cover;
}

.line-thumb-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  align-items: flex-start;
}

.minor-meta {
  margin: 10px 0;
}

.compact-price-meta {
  margin-top: 4px;
  color: #4b5f78;
}

.order-note-banner {
  margin: 10px 0 2px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e8;
  border-left: 4px solid #ffbf47;
  color: #5f4300;
  font-size: 13px;
  line-height: 1.45;
}

.order-note-banner strong {
  color: #7a5100;
}

.order-note-banner.internal-note {
  background: #eef4ff;
  border-left-color: #5b8def;
  color: #29456f;
}

.order-note-banner.internal-note strong {
  color: #1f4f9a;
}

.change-note {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.change-note-danger {
  background: #fff1f1;
  color: #c61f1f;
}

.change-note-info {
  background: #eef4ff;
  color: #345a8f;
}

.success-text {
  color: #1f6f45;
  font-weight: 700;
}

.error-text {
  color: #c61f1f;
  font-weight: 700;
}

.warning-text {
  color: #8a5a00;
  font-weight: 700;
}

.slim-card {
  padding: 10px;
}

.change-card-remove {
  border-color: #ffb4b4;
  background: #fff6f6;
}

.change-card-adjust {
  border-color: #edc27b;
  background: #fff8ee;
}

.change-card-add {
  border-color: #b9dcff;
  background: #f5faff;
}

.carrier-section {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  background: #fbfdff;
}

.carrier-section.carrier-gls {
  background: #f4f7fb;
  border-color: #d7e0ea;
}

.carrier-section.carrier-mpl {
  background: #faf7f2;
  border-color: #e6ddd1;
}

.carrier-section.carrier-fox {
  background: #f4f7f4;
  border-color: #d7e2d7;
}

.carrier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e4ebf5;
}

.carrier-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.carrier-gls {
  background: #dceafe;
  color: #0f458b;
}

.carrier-mpl {
  background: #fff0d9;
  color: #955d00;
}

.carrier-fox {
  background: #fce2e0;
  color: #912f28;
}

.carrier-other {
  background: #ebedf0;
  color: #465569;
}

.details-box {
  margin-top: 10px;
  border-top: 1px dashed #d8e1ef;
  padding-top: 10px;
}

.parked-details {
  margin-top: 8px;
}

.details-box summary {
  cursor: pointer;
  font-weight: 700;
}

.mod-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.shortage-stack {
  margin-top: 10px;
}

.shortage-card {
  border: 1px solid #f0d7a6;
  border-radius: 8px;
  background: #fffaf0;
  padding: 12px;
}

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

.shortage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.decision-pill {
  background: #e9f0fb;
  color: #345072;
}

.mod-form-block {
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  padding: 12px;
  background: #f9fbff;
}

.order-product-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 31, 53, 0.74);
  padding: 18px;
  display: grid;
  place-items: center;
}

.image-modal {
  width: min(100%, 920px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.woo-import-overlay {
  z-index: 70;
  padding: 20px;
}

.woo-import-overlay-card {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 8px;
  border: 1px solid #d8e1ef;
  box-shadow: 0 18px 40px rgba(20, 32, 51, 0.18);
  padding: 22px 20px;
  display: grid;
  gap: 10px;
  text-align: center;
}

.woo-import-overlay-card h3 {
  margin: 0;
  font-size: 22px;
}

.woo-import-overlay-card p {
  margin: 0;
  color: #5f6f85;
  line-height: 1.45;
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #dce8fb;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 999px;
  background: #1367d1;
}

.progress-bar.indeterminate {
  width: 45%;
  animation: progress-indeterminate 1.1s ease-in-out infinite;
}

@keyframes progress-indeterminate {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(230%);
  }
}

.woo-import-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 4px;
  border-radius: 50%;
  border: 4px solid rgba(19, 103, 209, 0.14);
  border-top-color: #1367d1;
  animation: woo-import-spin 0.85s linear infinite;
}

@keyframes woo-import-spin {
  to {
    transform: rotate(360deg);
  }
}

.single-image-modal {
  width: min(100%, 760px);
}

.single-image-wrap {
  display: grid;
  place-items: center;
  background: #f5f8fc;
  border-radius: 8px;
  min-height: 320px;
  padding: 16px;
}

.single-image-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

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

.image-card {
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  padding: 10px;
}

.image-card.is-removed {
  border-color: #ff9d9d;
  background: #fff3f3;
}

.image-card.is-adjusted {
  border-color: #edc27b;
  background: linear-gradient(180deg, #fff9ef 0%, #fff4de 100%);
}

.image-card.is-shortage {
  border-color: #ff9d9d;
  background: linear-gradient(180deg, #fff7f7 0%, #fff0f0 100%);
}

.image-card.is-added {
  border-color: #c9dff1;
  background: #f5faff;
}

.image-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f1f4f8;
  border-radius: 8px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pill {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  background: #eef3fa;
  color: #345072;
}

.panel > .panel-header + .stack {
  gap: 14px;
}

.secondary-location {
  background: #f4f7fb;
  color: #4e627d;
}

.warning {
  background: #fff0d9;
  color: #955d00;
}

.danger {
  background: #fce2e0;
  color: #912f28;
}

.success {
  background: #dff5e7;
  color: #1e6f43;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.line-list,
.mini-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.modification {
  border-top: 1px dashed #d8e1ef;
  margin-top: 10px;
  padding-top: 10px;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: end;
}

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

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.filter-toolbar {
  margin-bottom: 12px;
}

.filter-toolbar .is-filter-done {
  border-color: #91e09d;
  color: #1d7d33;
}

.compact-label-row {
  margin-bottom: 0;
}

.action-row {
  margin-top: 0;
}

.picking-extra-panel {
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 0 12px 12px;
}

.picking-extra-panel summary {
  cursor: pointer;
  font-weight: 700;
  color: #345072;
  padding: 12px 0;
}

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

.print-area {
  display: none;
  width: min(100%, 1000px);
  margin: 0 auto;
}

@media print {
  body * {
    visibility: hidden;
  }
  .print-area,
  .print-area * {
    visibility: visible;
  }
  .print-area {
    display: block;
    position: absolute;
    inset: 0;
    background: #fff;
    padding: 16px;
  }
}

@media (min-width: 700px) {
  .product-layout {
    grid-template-columns: 88px 1fr;
  }

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

@media (max-width: 699px) {
  .product-bulk-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .login-wrap {
    padding: 14px;
  }

  .login-card,
  .panel,
  .stat-card,
  .order-card,
  .product-card,
  .activity-card {
    border-radius: 8px;
  }

  .topbar {
    padding: 10px 12px;
  }

  .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand tools"
      "meta meta";
    align-items: start;
    column-gap: 8px;
    row-gap: 6px;
  }

  .topbar-brand {
    grid-area: brand;
    width: auto;
    align-items: flex-start;
    gap: 8px;
  }

  .topbar-tools {
    grid-area: tools;
    width: auto;
    justify-content: flex-end;
    gap: 6px;
    align-self: start;
  }

  .topbar-context {
    gap: 4px;
    min-width: 0;
  }

  .topbar-title-row {
    gap: 6px;
    align-items: center;
  }

  .topbar-title-row strong {
    font-size: 15px;
    white-space: nowrap;
  }

  .topbar-meta {
    grid-area: meta;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .topbar-userline {
    font-size: 11px;
  }

  .topbar-progress-row {
    gap: 5px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

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

  .status-badge {
    padding: 5px 8px;
    font-size: 11px;
  }

  .compact-badge {
    flex: 0 0 auto;
    padding: 6px 9px;
    font-size: 13px;
  }

  .lang-switch {
    flex: 0 0 auto;
  }

  .lang-chip {
    min-width: 32px;
    min-height: 28px;
    padding: 0 6px;
    font-size: 11px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .section-menu-toggle {
    display: grid;
  }

  .section-nav-desktop {
    display: none;
  }

  .section-nav-mobile {
    display: flex;
    padding-bottom: 2px;
    overflow-x: auto;
  }

  .layout {
    align-content: start;
    align-items: start;
  }

  .sidebar,
  .main {
    padding: 12px;
    gap: 12px;
  }

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

  .global-nav-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-delete-btn {
    width: 100%;
  }

  .tabs {
    gap: 6px;
    margin: 0 -2px;
    padding-bottom: 2px;
  }

  .tab {
    min-height: 42px;
    padding: 9px 12px;
  }

  .panel {
    padding: 12px;
  }

  .panel-header,
  .product-head,
  .order-head {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .order-head-right {
    justify-items: start;
  }

  .product-layout {
    grid-template-columns: 64px 1fr;
    gap: 10px;
  }

  .thumb,
  .thumb-image-frame {
    width: 64px;
    height: 64px;
  }

  .qty-stepper {
    width: 100%;
    grid-template-columns: 52px 1fr 52px;
  }

  .qty-stepper button {
    min-height: 48px;
    font-size: 28px;
  }

  .qty-stepper input {
    min-height: 48px;
    font-size: 22px;
  }

  .compact-order-card,
  .product-card {
    padding: 12px;
  }

  .inventory-toolbar,
  .inventory-form-row,
  .inventory-bulk-panel,
  .packing-search-grid {
    grid-template-columns: 1fr;
  }

  .picking-extra-grid {
    grid-template-columns: 1fr;
  }

  .inventory-thumb {
    width: 64px;
    height: 64px;
  }

  .pack-line-item {
    grid-template-columns: 44px 1fr;
    gap: 8px;
    padding: 8px;
  }

  .line-thumb,
  .line-thumb.empty,
  .line-thumb-button {
    width: 44px;
    height: 44px;
  }

  .confirm-actions,
  .toolbar,
  .order-actions-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .confirm-actions .btn,
  .confirm-actions .btn-ghost,
  .toolbar .btn,
  .toolbar .btn-secondary,
  .toolbar .btn-danger,
  .toolbar .btn-success,
  .toolbar .btn-ghost,
  .order-actions-row .btn,
  .order-actions-row .btn-secondary,
  .order-actions-row .btn-danger,
  .order-actions-row .btn-success,
  .order-actions-row .btn-ghost {
    width: 100%;
  }

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

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