:root {
  --green: #495b3c;
  --green-light: #e5ead6;
  --lime: #f4d2c0;
  --ink: #343f2b;
  --muted: #566047;
  --line: #e5d5b9;
  --background: #fff8e9;
  --white: #fffdf5;
  --red: #b24e45;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #42675e;outline-offset:3px}
.receipt-email{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.receipt-email .muted{font-size:13px;line-height:1.5}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 550;
  color: inherit;
  background: none;
  min-height: 44px;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: -0.035em;
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 750;
  line-height: 1.35;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
  margin: 8px 0 16px;
}
small {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
input,
select,
textarea {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  min-height: 44px;
  padding: 10px 12px;
  max-width: 100%;
  color: var(--ink);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  flex-shrink: 0;
}
input[type="color"] {
  width: 100%;
  height: 44px;
  padding: 6px;
}
input::placeholder {
  color: #99a39b;
}
input:focus,
select:focus {
  border-color: var(--green);
  outline: 1px solid var(--green);
}
.primary {
  background: var(--green);
  color: white;
  border-radius: 10px;
  padding: 12px 18px;
  min-height: 46px;
  white-space: nowrap;
}
.primary:hover {
  background: #226553;
}
.secondary {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 13px;
  white-space: nowrap;
}
.secondary:hover {
  background: #f3f5ef;
}
.icon-button {
  padding: 8px;
  min-width: 38px;
  min-height: 40px;
  border-radius: 8px;
  color: #7e8c82;
}
.icon-button:hover {
  background: var(--green-light);
  color: var(--green);
}
.button-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #7e8f80;
}
.heading-dot {
  color: #93ad52;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0f2ed;
  color: #748377;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
  letter-spacing: 0;
}
.badge.green {
  color: #3b7153;
  background: #edf4e8;
}
.badge.amber {
  color: #9b783a;
  background: #faf1df;
}
.badge.muted {
  color: #8c9189;
  background: #f0f1ee;
}
.app-shell {
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  width: 216px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 26px 16px 18px;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -2px;
  padding: 0 12px 22px;
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  line-height: 30px;
  font-size: 30px;
  display: inline-block;
  text-align: center;
  position: relative;
  letter-spacing: -2px;
  margin-right: 7px;
}
.brand-icon > span {
  font-size: 19px;
  position: absolute;
  right: 2px;
  top: -7px;
  color: var(--lime);
}
.brand-dot {
  color: #a4b85d;
}
.store-label {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
}
.store-avatar {
  background: #f2f3ec;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.store-label small {
  display: block;
  font-weight: 400;
  font-size: 10px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #a3aca3;
  font-weight: 700;
  margin: 28px 12px 10px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 12px;
  color: #7d8b81;
  min-height: 44px;
}
.nav-item.active {
  color: var(--green);
  background: #ecf2e9;
  font-weight: 650;
}
.nav-item.active svg {
  stroke-width: 2.2;
}
.nav-item:hover {
  background: #f5f7f1;
}
.nav-dot {
  height: 6px;
  width: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 18px;
}
.demo-label {
  padding: 11px;
  color: #7e8d81;
  font-size: 11px;
  line-height: 1.5;
}
.demo-label small {
  display: block;
  font-size: 9px;
}
.profile {
  border-top: 1px solid var(--line);
  width: 100%;
  padding: 16px 7px 0;
  justify-content: flex-start;
  gap: 9px;
  font-size: 12px;
  text-align: left;
}
.profile small {
  display: block;
  text-transform: capitalize;
  font-size: 10px;
}
.profile > svg {
  margin-left: auto;
}
.avatar {
  border-radius: 50%;
  background: #e8e8da;
  color: #676d49;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  width: 35px;
  font-size: 13px;
  font-weight: 650;
  flex-shrink: 0;
}
.avatar.small {
  height: 29px;
  width: 29px;
  font-size: 11px;
}
.avatar.large {
  height: 52px;
  width: 52px;
  font-size: 20px;
  margin-bottom: 14px;
}
.main {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  font-size: 11px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #849184;
}
.topbar-left strong {
  color: #596a5e;
  font-weight: 550;
}
.slash {
  padding: 0 12px;
  color: #c6cdc2;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.connection {
  font-size: 10px;
  color: #748875;
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection i,
.catalog-footer > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #88a95a;
}
.connection.offline i {
  background: #dcad54;
}
.top-date {
  color: #849184;
  font-size: 11px;
}
.menu-toggle {
  display: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.page-heading .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.page-heading p {
  font-size: 12px;
  color: #8a968b;
  margin: 6px 0 0;
}
.page-heading > .secondary {
  font-size: 11px;
}
.page-content {
  padding: 32px;
  max-width: 1680px;
  margin: auto;
}
.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  min-height: calc(100dvh - 68px);
}
.catalog {
  padding: 30px 28px 20px;
  min-width: 0;
}
.catalog .page-heading {
  align-items: center;
}
.search-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 13px;
  flex: 1;
  min-width: 0;
  height: 44px;
  color: #99a497;
}
.search-input input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  font-size: 12px;
  outline: 0;
}
.search-input:focus-within {
  border-color: #80977c;
}
.search-input kbd {
  font-size: 10px;
  background: #f4f5f0;
  border: 1px solid var(--line);
  padding: 3px 6px;
  border-radius: 4px;
  color: #9aa493;
}
.product-count {
  font-size: 10px;
  white-space: nowrap;
  color: #99a396;
}
.device-settings, .native-setup {padding:32px; max-width:1000px; margin:auto; height:100%; overflow-y:auto;}
.device-settings section {padding:24px; border:1px solid #dce5df; border-radius:14px; margin:20px 0; background:white;}
.device-settings h2 {margin-bottom:16px;}
.device-settings p {margin:14px 0; line-height:1.6;}
.device-settings button {padding:12px 16px; border:1px solid #cbd9d0; border-radius:8px; background:#edf3ed; margin:6px 0;}
.device-actions {display:flex; flex-wrap:wrap; gap:10px;}
.order-type-controls {margin:0 0 20px; padding:16px; background:white; border:1px solid var(--line); border-radius:12px;}
.order-type-buttons {display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px;}
.delivery-details {display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:16px 0;}
@media(max-width:600px){.delivery-details{grid-template-columns:1fr;}.order-type-buttons button{flex:1; padding:10px 8px;}}
.device-settings textarea {width:100%; overflow-wrap:anywhere;}
.device-settings label {display:block; margin:12px 0;}
.native-setup {max-width:560px; min-height:100dvh; height:auto; padding:32px 24px;}
.native-setup > p {margin:14px 0 24px;}
.native-setup form {display:grid; gap:18px; margin-bottom:24px;}
.native-setup form .primary {width:100%; white-space:normal; min-height:52px;}
.native-setup .field input {width:100%;}
.native-setup > .secondary {width:100%; white-space:normal;}
.native-setup .device-settings {padding:12px 0; height:auto; overflow:visible;}
.native-setup .device-settings section {padding:18px;}
.pickup-reminders {
  max-height: 35vh;
  overflow-y: auto;
  position: fixed;
  bottom: 18px;
  left: 250px;
  right: 24px;
  z-index: 35;
  padding: 18px;
  background: #fff4d8;
  border: 1px solid #d2ad51;
  border-radius: 14px;
  box-shadow: 0 8px 30px #0002;
}
.pickup-reminders > div {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pickup-reminders button {
  padding: 9px 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid #d2ad51;
}
.ticket-item {
  border-top: 1px dashed #777;
  padding: 10px 0;
}
.preparation-ticket {
  color: #000;
  font-size: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .pickup-reminders {
    left: 12px;
    right: 12px;
    bottom: 80px;
  }
}
.category-tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
}
.category-tabs button {
  min-height: 35px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 10px;
  color: #7c897a;
}
.category-tabs button.selected {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.category-tabs i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.product-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  background: #fff;
  padding: 0;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #174f4310;
}
.product-art {
  height: 125px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.28),
    transparent 75%
  );
}
.product-art > span {
  font-size: 60px;
  filter: drop-shadow(0 10px 6px #453f2920);
  transition: transform 0.2s;
}
.product-card:hover .product-art > span {
  transform: rotate(-5deg) scale(1.08);
}
.product-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.add-circle {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #ffffffbb;
  color: #697662;
  display: grid;
  place-items: center;
}
.product-art .stock-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  filter: none;
  background: #ffffffca;
  color: #867342;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 9px;
}
.product-info {
  padding: 14px 14px 12px;
  min-height: 80px;
}
.product-info h3 {
  font-family: "DM Sans", sans-serif;
  letter-spacing: -0.01em;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 6px;
}
.product-info > span {
  font-size: 12px;
  color: #637459;
  font-weight: 550;
}
.product-info small {
  display: block;
  font-size: 9px;
  color: #acb3a8;
  margin-top: 5px;
}
.catalog-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9aa594;
  font-size: 9px;
  padding-top: 26px;
}
.catalog-footer > span {
  margin-left: auto;
}
.cart-panel {
  background: white;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: calc(100dvh - 68px);
  padding: 25px 22px 15px;
  min-height: 0;
  overflow: hidden;
}
.cart-content {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  padding-right: 5px;
  padding-bottom: 12px;
}
.cart-scroll-hint {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 11px;
  margin: 0 0 10px;
}
.cart-checkout {
  flex: 0 0 auto;
  background: white;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cart-checkout .grand {
  margin-top: 0;
  padding-top: 6px;
}
.cart-checkout .pay-button {
  margin-top: 8px;
}
.cart-heading {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 17px;
}
.cart-heading h2 {
  font-size: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.cart-heading p {
  font-size: 10px;
  color: #a1aa9f;
  margin: 5px 0 0;
}
.customer-select {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #dde5d8;
  border-radius: 8px;
  padding: 0 10px;
  color: #95a18d;
}
.customer-select select {
  border: 0;
  flex: 1;
  min-width: 0;
  padding-left: 0;
  font-size: 11px;
  color: #8e9c83;
  outline: 0;
}
.cart-lines {
  margin-top: 12px;
}
.cart-line {
  border-bottom: 1px solid #edf0e7;
  padding: 17px 0;
}
.line-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}
.line-title {
  display: block;
  min-height: 0;
  text-align: left;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  max-width: 70%;
}
.line-title small {
  display: block;
  font-weight: 400;
  font-size: 9px;
  margin-top: 5px;
}
.line-top > strong {
  font-size: 12px;
  white-space: nowrap;
  font-weight: 600;
}
.line-bottom {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}
.quantity {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 7px;
  align-items: center;
  overflow: hidden;
}
.quantity button {
  min-height: 30px;
  min-width: 30px;
  padding: 0;
  color: #8b9782;
}
.quantity span {
  padding: 0 5px;
  min-width: 22px;
  text-align: center;
  font-size: 11px;
}
.line-bottom small {
  font-size: 9px;
}
.line-bottom > .icon-button {
  margin-left: auto;
  min-height: 28px;
  height: 28px;
}
.cart-summary {
  padding-top: 14px;
}
.order-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.order-actions button {
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1;
  font-size: 10px;
  color: #7a8a70;
  min-height: 37px;
}
.cart-summary .field {
  font-size: 10px;
  margin-bottom: 12px;
}
.cart-summary .field input {
  font-size: 10px;
  min-height: 34px;
  padding: 8px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  color: #8c9885;
  font-size: 11px;
  line-height: 2.15;
}
.total-row.grand {
  color: var(--ink);
  border-top: 1px dashed #e2e7db;
  margin-top: 11px;
  padding-top: 12px;
  font-size: 15px;
}
.grand strong {
  font-size: 22px;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.04em;
}
.pay-button {
  width: 100%;
  margin-top: 16px;
  justify-content: space-between;
  font-size: 13px;
  min-height: 49px;
}
.cart-footnote {
  text-align: center;
  display: block;
  font-size: 9px;
  margin-top: 12px;
  color: #acb5a5;
}
.mobile-cart-button,
.mobile-cart-close {
  display: none;
}
.empty {
  text-align: center;
  padding: 46px 16px;
  color: #9aa792;
}
.empty-mark {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  background: #f0f4e9;
  border-radius: 16px;
  margin: 0 auto 16px;
  font-size: 26px;
  color: #a7b194;
}
.empty h3 {
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #7c8e75;
}
.empty p {
  font-size: 11px;
  margin: 8px auto;
  max-width: 240px;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 10px;
  margin-bottom: 24px;
}
.stat-strip > div {
  padding: 0 20px;
  border-right: 1px solid var(--line);
}
.stat-strip > div:last-child {
  border: 0;
}
.stat-strip strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 25px;
}
.stat-strip span {
  font-size: 11px;
  color: #93a08b;
  display: block;
  margin-top: 6px;
}
.table-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}
.table-toolbar > .search-input {
  max-width: 480px;
}
.table-toolbar select {
  font-size: 12px;
}
.table-toolbar .field {
  margin: 0;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7e8e75;
  margin: 16px 0;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 12px;
}
th {
  text-align: left;
  background: #fafbf8;
  font-size: 10px;
  color: #97a28f;
  font-weight: 550;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef0e9;
  color: #7b8b74;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: #455b3c;
  font-size: 12px;
  font-weight: 550;
}
td .secondary {
  min-height: 34px;
  font-size: 10px;
  padding: 6px 9px;
}
td .icon-button {
  min-height: 34px;
  min-width: 34px;
}
td small {
  display: block;
  font-size: 10px;
}
.table-product {
  padding: 0;
  gap: 12px;
  text-align: left;
  justify-content: flex-start;
}
.thumbnail {
  width: 43px;
  height: 43px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 25px;
  overflow: hidden;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.table-product strong {
  display: block;
}
.bulk-bar {
  display: flex;
  gap: 15px;
  align-items: center;
  background: var(--green-light);
  padding: 10px 15px;
  border-radius: 9px;
  margin-bottom: 14px;
  font-size: 11px;
  flex-wrap: wrap;
}
.bulk-bar button {
  font-size: 11px;
  min-height: 30px;
}
.muted {
  color: #8c9c83;
  font-size: 12px;
}
.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 20px;
}
.management-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.management-card h3 {
  margin-bottom: 8px;
}
.management-card p {
  color: #97a28f;
  font-size: 12px;
}
.category-swatch {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 8px 0 18px;
}
.section-heading p {
  font-size: 12px;
  color: #95a18c;
  margin: 5px 0;
}
.modifier-preview {
  border-top: 1px solid var(--line);
  margin: 16px 0;
  padding-top: 10px;
}
.modifier-preview > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #849178;
  padding: 7px 0;
}
.modifier-preview strong {
  font-size: 11px;
  font-weight: 500;
}
.modal {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 100px #132f3630;
  background: #fff;
  color: var(--ink);
  width: min(500px, calc(100% - 28px));
  max-height: 90dvh;
  padding: 25px;
  overflow-y: auto;
}
.modal::backdrop {
  background: #132e2855;
  backdrop-filter: blur(3px);
}
.modal.wide {
  width: min(820px, calc(100% - 28px));
}
.modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.modal header h2 {
  font-size: 22px;
}
.modal form > .primary {
  width: 100%;
  margin-top: 15px;
  justify-content: space-between;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #7e8e75;
  margin-bottom: 17px;
  min-width: 0;
}
.field > span {
  font-size: 11px;
  font-weight: 600;
}
.field small {
  font-size: 10px;
}
.field input,
.field select {
  width: 100%;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.choice-group {
  margin-bottom: 23px;
}
.choice-group h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 12px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  margin: 7px 0;
  font-size: 12px;
  cursor: pointer;
}
.choice:has(input:checked) {
  background: #f1f6ec;
  border-color: #96b782;
}
.choice > span {
  flex: 1;
}
.choice strong {
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
.choice small {
  display: block;
}
.choice.unavailable {
  opacity: 0.4;
}
.payment-total {
  text-align: center;
  background: #f6f8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.payment-total span {
  font-size: 11px;
  color: #8c9c7a;
}
.payment-total h1 {
  font-size: 38px;
  margin-top: 7px;
}
.payment-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.payment-methods button {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
}
.payment-methods button.selected {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.change-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 17px;
  background: #f1f5ea;
  border-radius: 9px;
  margin: 15px 0;
}
.change-row strong {
  font-size: 19px;
}
.list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px;
  margin: 10px 0;
}
.list-card small {
  display: block;
  margin-top: 5px;
}
.editor-tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  padding-bottom: 10px;
  overflow-x: auto;
}
.editor-tabs button {
  text-transform: capitalize;
  font-size: 11px;
  padding: 8px 13px;
  border-radius: 8px;
  min-height: 35px;
}
.editor-tabs button.selected {
  background: var(--green-light);
  color: var(--green);
}
.editor-card {
  border: 1px solid var(--line);
  background: #fafbf7;
  border-radius: 10px;
  padding: 17px;
  margin-bottom: 14px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}
.text-danger {
  color: var(--red);
  font-size: 11px;
  min-height: 30px;
}
.option-editor {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.option-editor .field {
  margin: 0;
  flex: 1;
}
.option-editor .field:nth-child(2) {
  max-width: 150px;
}
.option-editor .checkbox-row {
  font-size: 10px;
  white-space: nowrap;
}
.info-card {
  background: #f2f6ec;
  border: 1px solid #e4ecd9;
  border-radius: 10px;
  padding: 17px;
  color: #829375;
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 0;
}
.image-preview {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}
.error-text {
  color: var(--red);
  font-size: 12px;
  line-height: 1.6;
}
.inline-link {
  color: var(--green);
  font-size: 11px;
  display: block;
  margin-top: 10px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #253c34;
  color: white;
  padding: 13px 18px;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: 0 5px 25px #1236;
  font-size: 12px;
  max-width: 90%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.toast button {
  color: white;
  min-height: 25px;
  font-size: 20px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: #eef3e5;
  font-size: 12px;
  color: #7c8f65;
  flex-wrap: wrap;
}
.notice.warning {
  background: #fff0d6;
  color: #9e7131;
}
.notice button {
  margin-left: auto;
  min-height: 30px;
}
.receipt {
  text-align: center;
  border: 1px dashed #dce4d3;
  padding: 24px;
  border-radius: 10px;
  font-size: 12px;
}
.receipt-brand {
  font-size: 38px;
  letter-spacing: -3px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  margin-bottom: 8px;
}
.receipt h3 {
  font-size: 15px;
}
.receipt p {
  font-size: 11px;
  color: #8e9c81;
}
.receipt-meta {
  border-top: 1px dashed var(--line);
  padding: 15px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  color: #7e8e71;
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  margin: 12px 0;
  font-size: 11px;
}
.receipt-line small {
  display: block;
  font-size: 9px;
}
.receipt-totals {
  border-top: 1px dashed var(--line);
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
}
.receipt-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  margin: 7px 0;
}
.receipt-totals .grand {
  font-size: 18px;
  font-weight: 700;
  padding: 10px 0;
}
.no-print.primary {
  width: 100%;
  margin-top: 20px;
}
.refund-line {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.refund-line > div:first-child {
  flex: 1;
}
.refund-line small {
  display: block;
}
.refund-line .field {
  width: 100px;
  margin: 0;
}
.refund-line input[type="number"] {
  width: 100%;
}
.shift-card {
  display: flex;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 15px;
  padding: 30px;
}
.shift-card h2 {
  font-size: 40px;
  margin: 14px 0 8px;
}
.shift-card p {
  font-size: 12px;
  color: #91a17f;
  margin-bottom: 6px;
}
.shift-icon {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: #edf2e1;
  color: #95a776;
}
.subheading {
  font-size: 18px;
  margin: 30px 0 16px;
}
.standalone {
  max-width: 490px;
  margin-bottom: 22px;
}
.text-button {
  padding: 0;
  justify-content: flex-start;
  min-height: 30px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 22px 0;
}
.metric-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 24px;
}
.metric-card > span {
  font-size: 11px;
  color: #92a17f;
}
.metric-card h2 {
  font-size: 27px;
  margin: 18px 0 13px;
}
.metric-card small {
  font-size: 10px;
}
.report-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
}
.report-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  min-width: 0;
}
.report-card h3 {
  font-size: 15px;
  margin-bottom: 15px;
}
.report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #eff2e8;
  padding: 16px 0;
  font-size: 12px;
  color: #879679;
}
.report-row strong {
  font-size: 13px;
  color: #526944;
  font-weight: 600;
}
.report-row small {
  display: block;
}
.rank {
  background: #f0f4e8;
  color: #91a179;
  border-radius: 5px;
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  margin-right: 12px;
  font-size: 10px;
}
.capitalize {
  text-transform: capitalize;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  gap: 10px;
  min-height: 250px;
  overflow-x: auto;
  padding-top: 20px;
}
.chart-column {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-width: 33px;
  gap: 12px;
}
.chart-column small {
  font-size: 8px;
  white-space: nowrap;
}
.chart-column > span {
  font-size: 9px;
  color: #a4b094;
}
.bar {
  width: 65%;
  max-width: 50px;
  background: #a9c38a;
  border-radius: 5px 5px 0 0;
  min-height: 3px;
}
.bar.negative {
  background: #d4a372;
}
.mono {
  font-family: monospace;
  font-size: 10px;
}
.audit-json {
  font-size: 10px;
  background: #f5f7f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  overflow: auto;
  max-height: 450px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  background: #fff;
}
.login-art {
  background: var(--green);
  color: #ecf2df;
  padding: 50px 65px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.login-logo {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -4px;
  font-family: "Manrope", sans-serif;
}
.login-copy {
  margin: auto 0;
  position: relative;
}
.login-copy .eyebrow {
  color: #b9c794;
  font-size: 10px;
}
.login-copy h1 {
  font-size: 55px;
  line-height: 1.2;
  margin: 23px 0;
}
.login-copy p {
  color: #a3b8a1;
  font-size: 14px;
}
.login-illustration {
  font-size: 130px;
  transform: rotate(-10deg);
  text-align: center;
  margin: 30px 0;
}
.login-illustration span {
  font-size: 85px;
  display: inline-block;
  transform: rotate(25deg);
  margin-left: 10px;
}
.login-art > small {
  color: #a1b89a;
  font-size: 10px;
}
.login-form {
  max-width: 430px;
  align-self: center;
  justify-self: center;
  width: 100%;
  padding: 35px;
}
.login-form h2 {
  font-size: 30px;
  margin-top: 14px;
}
.login-form > p {
  font-size: 12px;
  color: #95a18b;
  margin: 14px 0 28px;
}
.login-form .primary {
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
}
.demo-callout {
  margin-top: 30px;
  padding: 17px;
  border-radius: 10px;
  background: #f4f7ed;
  border: 1px solid var(--line);
  font-size: 11px;
  color: #819371;
}
.demo-callout p {
  font-size: 10px;
  line-height: 1.8;
  margin: 8px 0 0;
}
.scrim {
  display: none;
}
@media (min-width: 1600px) {
  .sidebar {
    width: 240px;
  }
  .pos-layout {
    grid-template-columns: minmax(0, 1fr) 375px;
  }
  .catalog {
    padding: 40px;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  }
  .product-art {
    height: 155px;
  }
  .cart-panel {
    padding: 30px;
  }
  .product-info h3 {
    font-size: 14px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 184px;
    padding: 24px 10px 15px;
  }
  .nav-item {
    font-size: 11px;
    gap: 9px;
  }
  .catalog {
    padding: 25px 20px;
  }
  .pos-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .cart-panel {
    padding: 23px 18px;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
    gap: 12px;
  }
  .product-art {
    height: 110px;
  }
  .product-art > span {
    font-size: 52px;
  }
  .product-info {
    padding: 12px;
  }
  .product-info h3 {
    font-size: 11px;
  }
  .catalog .page-heading p {
    max-width: 260px;
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
  }
  .page-content {
    padding: 25px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-card {
    padding: 20px;
  }
  .catalog-footer > span {
    display: none;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 75px;
    padding: 25px 10px;
  }
  .brand {
    font-size: 0;
    padding: 0 0 24px;
    justify-content: center;
  }
  .brand-dot {
    display: none;
  }
  .brand-icon {
    margin: 0;
    font-size: 30px;
    letter-spacing: -2px;
  }
  .store-label,
  .nav-label,
  .nav-item > span,
  .demo-label,
  .profile > span:not(.avatar),
  .profile > svg {
    display: none;
  }
  .sidebar nav {
    margin-top: 15px;
  }
  .nav-item {
    justify-content: center;
    padding: 12px;
  }
  .sidebar-bottom .profile {
    justify-content: center;
    padding: 15px 0 0;
  }
  .topbar {
    padding: 0 23px;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
  .pos-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .page-heading {
    gap: 12px;
  }
  .page-heading > .secondary {
    padding: 8px;
    font-size: 10px;
  }
  .stat-strip > div {
    padding: 0 15px;
  }
  .stat-strip span {
    font-size: 10px;
  }
  .stat-strip strong {
    font-size: 23px;
  }
  .report-grid {
    grid-template-columns: 1fr 1fr;
  }
  .login-art {
    padding: 35px;
  }
  .login-copy h1 {
    font-size: 45px;
  }
  .login-illustration {
    font-size: 90px;
  }
  .login-illustration span {
    font-size: 70px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    position: fixed;
    left: -230px;
    top: 0;
    width: 216px;
    padding: 26px 16px 18px;
    transition: left 0.2s;
  }
  .sidebar.visible {
    left: 0;
  }
  .sidebar .brand {
    font-size: 34px;
    padding: 0 12px 22px;
    justify-content: flex-start;
  }
  .sidebar .brand-dot {
    display: inline;
  }
  .sidebar .brand-icon {
    margin-right: 7px;
  }
  .sidebar .store-label {
    display: flex;
  }
  .sidebar .nav-label {
    display: block;
  }
  .sidebar nav {
    margin-top: 0;
  }
  .sidebar .nav-item {
    justify-content: flex-start;
  }
  .sidebar .nav-item > span {
    display: inline;
  }
  .sidebar .demo-label {
    display: block;
  }
  .sidebar .profile {
    justify-content: flex-start;
  }
  .sidebar .profile > span:not(.avatar) {
    display: inline;
  }
  .sidebar .profile > svg {
    display: block;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #172b3c40;
    z-index: 19;
  }
  .topbar {
    height: 60px;
    padding: 0 14px;
  }
  .topbar-right {
    gap: 12px;
  }
  .top-date {
    display: none;
  }
  .topbar-left {
    font-size: 10px;
  }
  .slash {
    padding: 0 6px;
  }
  .pos-layout {
    display: block;
  }
  .catalog {
    padding: 22px 18px 90px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .catalog .page-heading p {
    max-width: 220px;
  }
  .catalog .page-heading .secondary {
    font-size: 0;
    gap: 6px;
  }
  .catalog .page-heading .secondary .badge {
    font-size: 10px;
  }
  .search-row {
    margin-bottom: 17px;
  }
  .search-input {
    height: 46px;
  }
  .product-count {
    display: none;
  }
  .category-tabs {
    margin-bottom: 14px;
    gap: 6px;
  }
  .category-tabs button {
    min-height: 40px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .product-art {
    height: 115px;
  }
  .product-info {
    min-height: 83px;
    padding: 12px;
  }
  .product-info h3 {
    font-size: 11px;
  }
  .product-info > span {
    font-size: 11px;
  }
  .product-info small {
    font-size: 8px;
  }
  .cart-panel {
    position: fixed;
    inset: 0;
    top: 0;
    height: 100dvh;
    z-index: 16;
    display: none;
    width: 100%;
    padding: 22px;
    background: white;
  }
  .cart-panel.cart-visible {
    display: flex;
  }
  .mobile-cart-close {
    display: inline-flex;
    margin-left: auto;
  }
  .cart-heading .mobile-cart-close + .icon-button {
    margin-left: 0;
  }
  .cart-heading { margin-bottom: 8px; }
  .cart-lines .cart-line {
    padding: 15px 0;
  }
  .quantity button {
    min-height: 40px;
    min-width: 40px;
  }
  .mobile-cart-button {
    display: flex;
    position: fixed;
    bottom: 15px;
    left: 18px;
    right: 18px;
    background: var(--green);
    color: #fff;
    border-radius: 11px;
    padding: 14px 17px;
    z-index: 10;
    box-shadow: 0 5px 20px #1b4c432e;
    font-size: 12px;
  }
  .mobile-cart-button strong {
    margin-left: auto;
  }
  .page-content {
    padding: 22px 18px;
  }
  .page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-heading .button-row {
    gap: 7px;
  }
  .page-heading .primary {
    font-size: 11px;
    padding: 10px 13px;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 8px;
    gap: 20px 0;
  }
  .stat-strip > div:nth-child(2) {
    border: 0;
  }
  .table-toolbar {
    flex-wrap: wrap;
  }
  .table-toolbar > .search-input {
    flex-basis: 100%;
    max-width: none;
  }
  .table-toolbar select {
    flex: 1;
  }
  .table-wrap table {
    font-size: 11px;
  }
  .management-grid {
    grid-template-columns: 1fr;
  }
  .management-card {
    padding: 22px;
  }
  .metric-grid {
    gap: 12px;
  }
  .metric-card {
    padding: 18px;
  }
  .metric-card h2 {
    font-size: 23px;
  }
  .metric-card small {
    font-size: 9px;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
  .report-card {
    padding: 20px;
  }
  .shift-card {
    padding: 22px;
    gap: 18px;
  }
  .shift-icon {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }
  .shift-card h2 {
    font-size: 33px;
  }
  .option-editor {
    flex-wrap: wrap;
  }
  .option-editor .field {
    flex-basis: 60%;
  }
  .option-editor .field:nth-child(2) {
    max-width: none;
    flex-basis: 30%;
  }
  .option-editor .checkbox-row {
    margin: 0;
  }
  .form-grid {
    gap: 0 12px;
  }
  .modal {
    padding: 20px;
    max-height: 92dvh;
    border-radius: 13px;
  }
  .modal h2 {
    font-size: 20px;
  }
  .modal .field {
    font-size: 11px;
  }
  .choice {
    padding: 13px;
    font-size: 11px;
  }
  .choice strong {
    font-size: 10px;
  }
  .refund-line {
    flex-wrap: wrap;
  }
  .refund-line > div:first-child {
    flex-basis: 100%;
  }
  .refund-line .field {
    flex: 1;
  }
  .login-page {
    display: block;
  }
  .login-art {
    padding: 24px;
    background: var(--green);
    min-height: 180px;
  }
  .login-copy {
    margin: 15px 0 0;
  }
  .login-copy h1 {
    font-size: 28px;
    margin: 12px 0 0;
  }
  .login-copy h1 br {
    display: none;
  }
  .login-copy .eyebrow {
    font-size: 8px;
  }
  .login-copy p,
  .login-illustration,
  .login-art > small {
    display: none;
  }
  .login-logo {
    font-size: 33px;
    letter-spacing: -2px;
  }
  .login-form {
    max-width: 500px;
    padding: 35px 25px;
  }
  .login-form h2 {
    font-size: 27px;
  }
  .notice {
    font-size: 10px;
    padding: 10px 18px;
  }
  .toast {
    bottom: 80px;
  }
}
@media (max-width: 400px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-art {
    height: 130px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .metric-card h2 {
    font-size: 20px;
  }
}
/* Short landscape screens and an open keyboard still need access to every row. */
@media (max-height: 560px) {
  .cart-panel {
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .cart-content {
    flex: 0 0 auto;
    overflow: visible;
  }
}
@media print {
  body > * {
    visibility: hidden !important;
  }
  .modal:has(.receipt) {
    position: absolute;
    inset: 0;
    width: 80mm;
    max-height: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
    visibility: visible !important;
  }
  .modal:has(.receipt) * {
    visibility: visible !important;
  }
  .modal:has(.receipt) > header,
  .modal:has(.receipt) .no-print {
    display: none !important;
  }
  .receipt {
    border: 0;
    padding: 5mm;
  }
  .modal::backdrop {
    background: transparent;
  }
  .receipt-brand {
    font-size: 28px;
  }
  @page {
    size: 80mm auto;
    margin: 0;
  }
}
.category-tabs {
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar {
  display: none;
}
.quantity button {
  min-width: 44px;
  min-height: 44px;
}
.icon-button {
  min-width: 44px;
  min-height: 44px;
}
.category-tabs button {
  min-height: 44px;
}

.item-note-actions {display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;}
.item-note-actions button {font-size:12px;min-height:44px;}
.finance-form {max-width:900px;}
.finance-stats {display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:20px 0;}
.journal-line {display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;align-items:end;}
@media(max-width:600px){.journal-line {grid-template-columns:1fr;} .finance-stats {grid-template-columns:1fr 1fr;}}

.device-settings summary {cursor:pointer;font-weight:600;padding:16px 0;min-height:48px;}
.device-settings button.primary {background:var(--green);border-color:var(--green);color:white;}
.restore-panel {border:1px solid var(--line);border-radius:12px;padding:18px;margin-top:20px;}

/* Preserve the existing tablet layout with the longer café identity. */
.brand{font-size:19px;line-height:1.2;white-space:normal}.login-logo{font-size:clamp(28px,5vw,48px)}
.product-image img[src*="menu-art"],.thumbnail img[src*="menu-art"]{object-fit:cover;object-position:center bottom}

.product-art img[src*="menu-art"]{object-fit:cover;object-position:center bottom}.product-card:disabled{opacity:.8}.product-card:disabled .product-art{filter:none}

.product-art{overflow:hidden}.product-art img[src*="menu-art"]{position:absolute;bottom:0;left:50%;top:auto;width:220%;max-width:none;height:auto;transform:translateX(-50%);object-fit:contain}.product-card:disabled .add-circle{display:none}

.product-art img[src*="product-art"]{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;transform:none;background:#faf7ef}

/* Restaurant POS isolated demonstration */
.restaurant-demo{background:#fff1cf;color:#493200;border:1px solid #d2aa48;padding:12px 18px;line-height:1.5;font-size:13px}
.ticket-selector{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.ticket-selector button{min-height:44px;padding:10px 16px;border:1px solid #68764f;border-radius:8px}
.ticket-selector button[aria-pressed="true"]{background:#304833;color:white}
.receipt-line small{font-size:11px;line-height:1.5;overflow-wrap:anywhere}

/* Shared tablet polish: screen-only rules never change receipt print geometry. */
@media screen {
  .report-row, .change-row, .receipt-totals > div { gap: 12px; }
  .report-row > span, .change-row, .receipt-meta span { overflow-wrap: anywhere; }
  .report-row > span { min-width: 0; }
  .report-row > strong, .change-row > strong { flex-shrink: 0; white-space: nowrap; }
  .change-row { flex-wrap: wrap; }
  .restaurant-demo { overflow-wrap: anywhere; }
  .modal { max-width: calc(100vw - 24px); overscroll-behavior: contain; }
  .modal .field input, .modal .field select, .modal .field textarea { min-width: 0; max-width: 100%; }
  .ticket-selector button { white-space: normal; }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid #8f4e08; outline-offset: 3px;
  }
}
@media screen and (min-width: 721px) and (max-width: 1100px) {
  .sidebar { width: 84px; padding: 18px 10px; }
  .sidebar .brand { font-size: 0; padding: 0 0 18px; justify-content: center; }
  .sidebar .brand-icon { font-size: 28px; margin: 0; }
  .sidebar .store-label, .sidebar .nav-label, .sidebar .nav-item > span,
  .sidebar .demo-label, .sidebar .profile > span:not(.avatar), .sidebar .profile > svg { display: none; }
  .sidebar .nav-item, .sidebar-bottom .profile { justify-content: center; padding: 12px; }
  .sidebar nav { margin-top: 10px; }
  .pos-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .catalog, .page-content { padding: 24px 18px; }
  .cart-panel { padding: 20px 14px 16px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .report-grid, .management-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-card { min-width: 0; padding: 20px; }
  .page-heading, .table-toolbar { flex-wrap: wrap; gap: 12px; }
  .table-toolbar select { max-width: 100%; }
  .topbar { padding: 0 18px; }
  .login-page { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .login-form { padding: 28px; min-width: 0; }
}
@media screen and (pointer: coarse), screen and (min-width: 721px) and (max-width: 1366px) {
  button, .icon-button, .nav-item, .category-tabs button, .quantity button,
  .choice, .checkbox-row { min-height: 44px; }
  .icon-button, .quantity button { min-width: 44px; }
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px; }
  .field input:not([type="checkbox"]), .field select { min-height: 44px; }
  .choice, .checkbox-row { align-items: center; line-height: 1.45; }
  .cash-presets { gap: 10px; }
  .cash-presets button { flex: 1 0 90px; }
  .modal .field, .choice, .report-row { font-size: 14px; }
  .product-info h3 { font-size: 14px; line-height: 1.35; }
  .product-info > span, .product-info small { font-size: 12px; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .table-wrap td, .table-wrap th { padding-top: 14px; padding-bottom: 14px; }
}
@media screen and (prefers-reduced-motion: reduce) {
  .sidebar { transition: none; }
}
