:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-900: #14532d;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --red: #dc2626;
  --blue: #2563eb;
  --orange: #ea580c;
  --shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

* { box-sizing: border-box; }
html, body, #app { min-height: 100%; margin: 0; }
body {
  color: var(--gray-900);
  background: var(--gray-50);
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: 14px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--gray-500); }
.small { font-size: 12px; }
.icon { width: 18px; height: 18px; stroke-width: 1.8; }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 15%, rgb(187 247 208 / 70%), transparent 28%),
    linear-gradient(135deg, #f0fdf4, #d1fae5);
}
.login-wrap { width: min(100%, 430px); }
.brand { text-align: center; margin-bottom: 28px; }
.brand-mark {
  width: 64px; height: 64px; display: grid; place-items: center;
  margin: 0 auto 14px; border-radius: 18px; color: white;
  background: var(--green-600); box-shadow: 0 12px 24px rgb(22 163 74 / 22%);
}
.brand-mark .icon { width: 34px; height: 34px; }
.brand h1 { margin: 0; color: var(--green-900); font-size: 28px; }
.brand p { margin: 6px 0 0; color: var(--green-700); }
.login-card {
  padding: 30px; background: white; border: 1px solid var(--green-100);
  border-radius: 20px; box-shadow: 0 20px 45px rgb(20 83 45 / 12%);
}
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--gray-700); font-size: 13px; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 12px; top: 12px; color: var(--gray-400); width: 16px; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--gray-200); border-radius: 9px;
  background: var(--gray-50); color: var(--gray-900); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input, .select { height: 42px; padding: 0 12px; }
.input.with-icon { padding-left: 38px; }
.textarea { padding: 10px 12px; min-height: 80px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: #4ade80; box-shadow: 0 0 0 3px var(--green-100);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; padding: 8px 14px; border: 1px solid transparent;
  border-radius: 9px; font-size: 13px; font-weight: 600; transition: .15s;
}
.btn-primary { color: white; background: var(--green-600); }
.btn-primary:hover { background: var(--green-700); }
.btn-secondary { background: white; border-color: var(--gray-200); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-50); }
.btn-danger { color: var(--red); background: #fef2f2; border-color: #fecaca; }
.btn-block { width: 100%; }
.demo-box { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gray-100); }
.demo-list { display: grid; gap: 8px; margin-top: 10px; }
.demo-account {
  display: flex; justify-content: space-between; width: 100%; padding: 9px 11px;
  border: 1px solid; border-radius: 8px; font-size: 12px; text-align: left;
}
.demo-account.owner { color: #166534; border-color: #86efac; background: #f0fdf4; }
.demo-account.staff { color: #1e40af; border-color: #bfdbfe; background: #eff6ff; }
.demo-account.customer { color: #9a3412; border-color: #fed7aa; background: #fff7ed; }
.error { display: none; margin-bottom: 14px; padding: 10px; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; font-size: 12px; }

.app-shell { min-height: 100vh; }
.sidebar-overlay { position: fixed; inset: 0; z-index: 40; background: rgb(0 0 0 / 35%); display: none; }
.sidebar {
  position: fixed; z-index: 50; inset: 0 auto 0 0; width: 240px; display: flex;
  flex-direction: column; background: white; border-right: 1px solid var(--gray-200);
  transform: translateX(-100%); transition: transform .2s ease; box-shadow: 12px 0 30px rgb(0 0 0 / 8%);
}
.sidebar.open { transform: translateX(0); }
.sidebar-overlay.open { display: block; }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 15px 16px; border-bottom: 1px solid var(--gray-100); }
.sidebar-brand .brand-mark { width: 34px; height: 34px; margin: 0; border-radius: 9px; box-shadow: none; }
.sidebar-brand .brand-mark .icon { width: 17px; height: 17px; }
.sidebar-brand strong { display: block; font-size: 13px; }
.sidebar-brand span { font-size: 11px; color: var(--gray-500); }
.icon-btn {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--gray-500);
}
.icon-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.sidebar-brand .icon-btn { margin-left: auto; }
.user-panel { display: flex; align-items: center; gap: 9px; padding: 12px 16px; background: var(--green-50); border-bottom: 1px solid var(--green-100); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--green-600); font-weight: 700; }
.user-panel strong { display: block; font-size: 12px; }
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.badge.green { color: #166534; background: var(--green-100); }
.badge.blue { color: #1e40af; background: #dbeafe; }
.badge.orange { color: #9a3412; background: #ffedd5; }
.badge.red { color: #991b1b; background: #fee2e2; }
.badge.gray { color: var(--gray-600); background: var(--gray-100); }
.nav { flex: 1; padding: 10px; overflow-y: auto; }
.nav-btn {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 11px;
  margin-bottom: 3px; border: 0; border-radius: 9px; color: var(--gray-600);
  background: transparent; font-size: 13px; text-align: left; text-decoration: none;
}
.nav-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.nav-btn.active { color: white; background: var(--green-600); box-shadow: var(--shadow); }
.logout-area { padding: 10px; border-top: 1px solid var(--gray-100); }
.logout-area .nav-btn { color: var(--red); margin: 0; }
.main { min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  height: 57px; padding: 0 24px; background: white;
  border-bottom: 1px solid var(--gray-200);
}
.topbar h2 { margin: 0; font-size: 15px; }
.date { margin-left: auto; color: var(--gray-400); font-size: 11px; }
.content { width: 100%; padding: 24px; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.page-head h1 { margin: 0; font-size: 20px; }
.page-head p { margin: 5px 0 0; color: var(--gray-500); font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.stat-card { padding: 16px; background: white; border: 1px solid var(--gray-200); border-radius: 13px; box-shadow: var(--shadow); }
.stat-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 11px; }
.stat-icon.green { color: var(--green-700); background: var(--green-100); }
.stat-icon.blue { color: var(--blue); background: #dbeafe; }
.stat-icon.orange { color: var(--orange); background: #ffedd5; }
.stat-icon.red { color: var(--red); background: #fee2e2; }
.stat-value { display: block; margin-bottom: 3px; font-size: 23px; font-weight: 700; }
.stat-label { color: var(--gray-400); font-size: 11px; }
.grid-2 { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.card { background: white; border: 1px solid var(--gray-200); border-radius: 13px; box-shadow: var(--shadow); overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--gray-100); }
.card-head h3 { margin: 0; font-size: 14px; }
.card-body { padding: 16px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 10px 13px; color: var(--gray-500); background: var(--gray-50); font-size: 11px; font-weight: 600; text-align: left; white-space: nowrap; }
td { padding: 12px 13px; border-top: 1px solid var(--gray-100); color: var(--gray-700); font-size: 12px; white-space: nowrap; }
tr:hover td { background: #fcfdfc; }
.right { text-align: right; }
.action-btn { width: 29px; height: 29px; display: inline-grid; place-items: center; border: 0; border-radius: 7px; color: var(--blue); background: transparent; }
.action-btn:hover { background: #eff6ff; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.search { position: relative; flex: 1; max-width: 420px; }
.search .icon { position: absolute; top: 10px; left: 11px; color: var(--gray-400); width: 16px; }
.search .input { padding-left: 37px; background: white; }
.toolbar .btn { margin-left: auto; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { padding: 16px; background: white; border: 1px solid var(--gray-200); border-radius: 13px; box-shadow: var(--shadow); }
.product-card h3 { margin: 0 0 5px; font-size: 15px; }
.product-card p { min-height: 36px; margin: 0 0 14px; color: var(--gray-500); font-size: 11px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.price { color: var(--green-700); font-weight: 700; }
.order-grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
.quantity { display: inline-flex; align-items: center; gap: 8px; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--gray-200); border-radius: 50%; background: white; }
.summary-line { display: flex; justify-content: space-between; margin: 10px 0; }
.total-line { padding-top: 13px; border-top: 1px solid var(--gray-200); font-size: 16px; font-weight: 700; }
.empty { padding: 38px 18px; color: var(--gray-400); text-align: center; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgb(17 24 39 / 45%); }
.modal { width: min(100%, 500px); max-height: 90vh; overflow-y: auto; background: white; border-radius: 15px; box-shadow: 0 24px 70px rgb(0 0 0 / 25%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--gray-100); }
.modal-head h3 { margin: 0; font-size: 15px; }
.modal-body { padding: 18px; }
.modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 100; padding: 11px 15px;
  color: white; background: var(--gray-900); border-radius: 9px; box-shadow: 0 12px 30px rgb(0 0 0 / 20%);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .order-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .content { padding: 16px; }
  .topbar { padding: 0 12px; }
  .date { display: none; }
  .stats, .product-grid { grid-template-columns: 1fr; }
  .page-head, .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar .btn { margin-left: 0; }
  .search { max-width: none; }
  .login-card { padding: 22px; }
}

/* Component layouts matching the React source */
.space-3 > * + * { margin-top: 12px; }
.space-4 > * + * { margin-top: 16px; }
.space-5 > * + * { margin-top: 20px; }
.space-6 > * + * { margin-top: 24px; }
.flex-row { display: flex; align-items: center; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.push { margin-left: auto; }
.no-margin { margin: 0; }
.section-title { margin: 0; font-size: 16px; font-weight: 700; }
.section-subtitle { margin: 3px 0 0; color: var(--gray-400); font-size: 12px; }
.react-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.react-search { position: relative; width: 256px; }
.react-search .icon { position: absolute; left: 12px; top: 10px; width: 16px; color: var(--gray-400); }
.react-search input { width: 100%; height: 38px; padding: 0 14px 0 36px; border: 1px solid var(--gray-200); border-radius: 8px; background: white; outline: none; box-shadow: var(--shadow); }
.react-search input:focus { border-color: #22c55e; }
.panel-footer { padding: 12px 16px; border-top: 1px solid var(--gray-100); background: var(--gray-50); color: var(--gray-400); font-size: 12px; }
.role-pill, .status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 11px; }
.pill-green { color: #15803d; background: #dcfce7; }
.pill-blue { color: #1d4ed8; background: #dbeafe; }
.pill-orange { color: #c2410c; background: #ffedd5; }
.pill-yellow { color: #854d0e; background: #fef9c3; }
.pill-red { color: #b91c1c; background: #fee2e2; }
.pill-gray { color: var(--gray-500); background: var(--gray-100); }
.table-action { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #3b82f6; }
.table-action.danger { color: #f87171; }
.table-action:hover { background: #eff6ff; }
.table-action.danger:hover { background: #fef2f2; }

.stats-five { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.stats-five .stat-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.stats-five .stat-value { font-size: 24px; line-height: 1; margin-bottom: 5px; }
.stat-icon.purple { color: #9333ea; background: #faf5ff; }

.price-strip .card-head { padding: 12px 20px; }
.price-strip td, .price-strip th { padding: 10px 16px; }
.trend-up { color: #16a34a; }
.trend-down { color: #ef4444; }
.trend-flat { color: var(--gray-400); }
.trend { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 500; }

.order-matrix input, .supply-card input { width: 56px; padding: 5px 6px; border: 1px solid var(--gray-200); border-radius: 8px; text-align: center; font-size: 12px; outline: none; }
.order-matrix input:focus { border-color: #4ade80; }
.matrix-total td { color: #166534; background: var(--green-50); border-top: 2px solid var(--green-200); font-weight: 600; }
.picker-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--gray-200); border-radius: 8px; background: white; color: var(--gray-600); font-size: 12px; }
.picker-count { min-width: 19px; padding: 2px 6px; border-radius: 999px; color: white; background: var(--green-600); text-align: center; }
.price-edit { cursor: pointer; transition: background-color .15s; }
.price-edit:hover { background: var(--green-50); }
.save-row { display: flex; justify-content: flex-end; gap: 12px; }
.print-only { display: none; }

.supply-heading { display: flex; align-items: center; justify-content: space-between; }
.supply-scroll { display: flex; gap: 16px; padding-bottom: 8px; overflow-x: auto; }
.supply-card { flex: 0 0 256px; background: white; border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.supply-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); }
.supply-card h4 { margin: 0; font-size: 14px; }
.supply-card th, .supply-card td { padding: 8px 12px; font-size: 11px; }
.stock-row td { background: #fffbeb; color: #92400e; }
.supply-total { display: flex; justify-content: space-between; padding: 10px 16px; background: var(--gray-50); border-top: 1px solid var(--gray-100); font-size: 12px; }

.vegetable-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.vegetable-card { overflow: hidden; background: white; border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow); }
.vegetable-image { height: 80px; display: grid; place-items: center; background: linear-gradient(135deg,#f0fdf4,#d1fae5); font-size: 38px; }
.vegetable-body { padding: 16px; }
.vegetable-body h4 { margin: 0; font-size: 14px; }
.vegetable-body p { margin: 5px 0 0; min-height: 0; font-size: 12px; }
.card-actions { display: flex; gap: 8px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--gray-100); }
.card-actions .btn { flex: 1; min-height: 30px; padding: 5px 8px; font-size: 11px; }

.supplier-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.supplier-card { padding: 20px; background: white; border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow); text-align: left; }
.supplier-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #2563eb; background: #eff6ff; }
.supplier-card h4 { margin: 12px 0 5px; font-size: 14px; }
.supplier-card p { margin: 3px 0; color: var(--gray-500); font-size: 12px; }

.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 16px; background: white; border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow); }
.control { height: 38px; padding: 0 12px; border: 1px solid var(--gray-200); border-radius: 8px; background: white; color: var(--gray-700); outline: none; font-size: 13px; }
.control:focus { border-color: #22c55e; }

.order-card, .invoice-card { overflow: hidden; background: white; border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow); }
.order-summary { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.order-meta { flex: 1; min-width: 0; }
.order-meta h4 { margin: 4px 0; font-size: 14px; }
.order-meta p { margin: 0; color: var(--gray-500); font-size: 12px; }
.order-amount { text-align: right; font-size: 14px; font-weight: 700; }
.order-actions { display: flex; gap: 4px; }
.detail-table { border-top: 1px solid var(--gray-100); }
.history { padding: 12px 20px; background: #fffbeb; border-top: 1px solid #fef3c7; color: #92400e; font-size: 12px; }

.invoice-card.pending-owner { border-color: #fdba74; box-shadow: 0 0 0 1px #fed7aa; }
.invoice-main { padding: 16px 20px; }
.invoice-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.invoice-code { display: flex; align-items: center; gap: 10px; }
.invoice-code-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: var(--green-600); background: var(--green-50); }
.invoice-code h4 { margin: 0 0 3px; font-size: 14px; }
.invoice-code p { margin: 0; color: var(--gray-400); font-size: 11px; }
.invoice-amount { color: var(--green-700); font-size: 17px; font-weight: 800; text-align: right; }
.invoice-info { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 16px; color: var(--gray-500); font-size: 12px; }
.invoice-info span { display: inline-flex; align-items: center; gap: 6px; }
.invoice-buttons { display: flex; align-items: center; gap: 8px; }
.alert-box { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid; border-radius: 12px; font-size: 13px; }
.alert-orange { color: #9a3412; background: #fff7ed; border-color: #fed7aa; }
.alert-blue { color: #1e40af; background: #eff6ff; border-color: #bfdbfe; }
.supplier-card { color: inherit; text-decoration: none; }
.invoice-print-sheet { overflow: hidden; }
.invoice-print-header { display: flex; justify-content: space-between; gap: 24px; padding: 24px; border-bottom: 2px solid var(--green-600); }
.invoice-print-header h1 { margin: 0 0 6px; color: var(--green-700); font-size: 24px; }
.invoice-print-header p { margin: 0; color: var(--gray-500); }
.invoice-print-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px 24px; background: var(--green-50); }
.invoice-day { border-top: 1px solid var(--gray-200); break-inside: avoid; }
.invoice-day-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--gray-50); }
.invoice-day-head > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.invoice-day-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--gray-100); }
.payment-qr-panel { padding: 14px; border: 1px solid var(--green-200); border-radius: 12px; background: var(--green-50); text-align: center; }
.payment-qr-panel p { margin: 0 0 10px; }
.payment-qr-panel img { display: block; width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto; border-radius: 10px; background: white; object-fit: contain; }

@media print {
  @page { size: A4 landscape; margin: 6mm; }
  body { background: white !important; }
  .sidebar, .topbar, .no-print, .toast, .modal-backdrop { display: none !important; }
  .app-shell, .main-shell, .content, main { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .printable-document { width: 100%; }
  .invoice-print-sheet { border: 0; box-shadow: none; }
  .invoice-day { break-inside: avoid; }
  .dashboard-print-sheet { width: 100%; color: #111827; }
  .dashboard-print-sheet .print-only { display: flex !important; }
  .dashboard-print-header { align-items: flex-start; justify-content: space-between; margin-bottom: 4mm; border-bottom: 1px solid #166534; padding-bottom: 2mm; }
  .dashboard-print-header h1 { margin: 0 0 1mm; font-size: 15pt; color: #166534; }
  .dashboard-print-header p { margin: 0; font-size: 9pt; }
  .dashboard-print-sheet .card { border: 1px solid #9ca3af; border-radius: 0; box-shadow: none; }
  .dashboard-print-sheet .card-head { padding: 2mm 3mm; }
  .dashboard-print-sheet .card-head h3 { font-size: 10pt; }
  .dashboard-print-sheet .section-subtitle,
  .dashboard-print-sheet .status-pill,
  .dashboard-print-sheet .supply-heading .status-pill,
  .dashboard-print-sheet .dashboard-add-supplier,
  .dashboard-print-sheet .picker-button { display: none !important; }
  .dashboard-print-sheet table { width: 100%; table-layout: fixed; }
  .dashboard-print-sheet th,
  .dashboard-print-sheet td { padding: 1.2mm 1.5mm; font-size: 7.5pt; line-height: 1.15; }
  .dashboard-print-sheet input { width: 100% !important; padding: 0 !important; border: 0 !important; background: transparent !important; font-size: 7.5pt !important; }
  .dashboard-print-sheet .order-matrix { margin-bottom: 3mm; break-inside: avoid; }
  .dashboard-print-sheet .supply-heading { margin-bottom: 2mm; }
  .dashboard-print-sheet .supply-heading h2 { margin: 0; font-size: 11pt; }
  .dashboard-print-sheet .supply-scroll { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2mm; overflow: visible; padding: 0; }
  .dashboard-print-sheet .supply-card { min-width: 0; border-radius: 0; box-shadow: none; break-inside: avoid; }
  .dashboard-print-sheet .supply-card-head { padding: 1.5mm 2mm; }
  .dashboard-print-sheet .supply-card h4 { font-size: 8.5pt; }
  .dashboard-print-sheet .supply-card th,
  .dashboard-print-sheet .supply-card td { padding: 1mm 1.5mm; font-size: 7pt; }
  .dashboard-print-sheet .supply-total { padding: 1.2mm 1.5mm; font-size: 7pt; }
}

.customer-price-list { width: min(100%, 672px); margin: 0 auto; }
.customer-price-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: white; border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow); }
.veg-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--green-50); font-size: 24px; }
.customer-order { width: min(100%,672px); margin: 0 auto; }
.product-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--gray-100); }
.product-row:first-child { border-top: 0; }
.product-info { flex: 1; min-width: 0; }
.product-info h4 { margin: 0 0 4px; font-size: 14px; }
.product-info p { margin: 0; font-size: 12px; }
.cart-summary { padding: 20px; background: white; border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow); }

@media (max-width: 1050px) {
  .stats-five { grid-template-columns: repeat(3,1fr); }
  .vegetable-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 800px) {
  .supplier-grid, .vegetable-grid { grid-template-columns: repeat(2,1fr); }
  .order-summary { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .stats-five, .supplier-grid, .vegetable-grid { grid-template-columns: 1fr; }
  .react-toolbar { align-items: stretch; flex-direction: column; }
  .react-search { width: 100%; }
  .invoice-top, .product-row { align-items: flex-start; }
}
