:root {
  --bg: #f2eee7;
  --card: #fffdf8;
  --ink: #1d2a24;
  --muted: #6b746e;
  --line: #d8d0c4;
  --green: #204d3a;
  --green-soft: #e6eee8;
  --accent: #c78440;
  --danger: #9d3f2c;
  --shadow: 0 18px 36px rgba(29, 42, 36, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(180deg, #f7f4ee 0%, #f2eee7 48%, #f6f2e9 100%);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }

.shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  padding: 1.5rem;
  background: linear-gradient(180deg, #17392c, #214836 48%, #17392c);
  color: #f6f1e8;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.06);
}

.brand {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.brand-mark {
  width: 68px;
  height: 68px;
  background: rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 0.85rem;
}

.brand h1, .topbar h2, .card-header h3, .login-card h1 { margin: 0; font-family: Georgia, serif; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.sidebar .eyebrow { color: rgba(255,255,255,0.72); }
.muted { color: var(--muted); }

.menu-group {
  margin-bottom: 0.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.menu-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.menu-group summary::-webkit-details-marker {
  display: none;
}
.menu-group summary span {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.menu-group summary small {
  color: rgba(255,255,255,0.64);
}
.menu-subgroups {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem 0 0.75rem;
}
.menu-subgroup {
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.menu-subgroup.is-active {
  background: transparent;
}
.menu-subgroup h3 {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
}
.menu-links { display: grid; grid-template-columns: 1fr; gap: 0.18rem; }
.menu-link {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 0.9rem;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  min-height: auto;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.84);
}
.menu-link:hover {
  background: rgba(255,255,255,0.08);
}
.menu-link.active {
  background: rgba(255,255,255,0.14);
  border-left-color: #f1c999;
  box-shadow: none;
}

.content {
  padding: 1.5rem 1.75rem 2rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: var(--shadow);
}

.topbar-actions, .toolbar, .search-row, .form-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-search {
  min-width: min(420px, 100%);
}
.topbar-search input {
  min-width: 220px;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
}
.button.primary { background: var(--green); color: #fff; }
.button.subtle { background: #efe9db; color: var(--ink); }
.button.dark { background: #112f23; color: #fff; }
.button:hover {
  filter: brightness(0.98);
}

.account-menu {
  position: relative;
}
.account-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: #fffaf0;
  border: 1px solid var(--line);
}
.account-menu summary::-webkit-details-marker {
  display: none;
}
.account-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}
.account-copy {
  display: grid;
}
.account-copy strong,
.account-copy small {
  display: block;
}
.account-copy small {
  color: var(--muted);
}
.account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 220px;
  padding: 1rem;
  border-radius: 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.45rem;
  z-index: 12;
}
.account-panel small {
  color: var(--muted);
}
.account-panel form {
  margin-top: 0.4rem;
}

.card,
.metric-card,
.login-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  box-shadow: var(--shadow);
}

.card,
.login-card { padding: 1.25rem; }
.metric-card {
  padding: 1.2rem;
  display: grid;
  gap: 0.3rem;
  background: linear-gradient(180deg, #fffef9, #fbf7ef);
}
.metric-card strong { font-size: 1.7rem; }
.metric-card.warning { background: #fff8ef; }
.list-summary {
  margin: -0.25rem 0 1rem;
}
.module-hero {
  background: linear-gradient(135deg, #fffef9, #f6f0e3 55%, #eef4ef);
}
.service-hero {
  background: linear-gradient(135deg, #fffef9, #edf3ee 45%, #f8f1e5);
}
.module-filter-grid {
  align-items: end;
}
.module-action-card a {
  text-decoration: none;
}
.module-inline-actions {
  margin-bottom: 1rem;
}
.inline-progress {
  display: grid;
  gap: 0.35rem;
  min-width: 180px;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.split-grid.wide-right { grid-template-columns: 1.5fr 1fr; }

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.card-header.compact { margin-bottom: 0.5rem; }

.table-wrap {
  overflow: auto;
}
.table-wrap.tall { max-height: 70vh; }

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
th {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.table-link { color: var(--green); font-weight: 700; }
.row-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}
.row-actions form {
  margin: 0;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.table-secondary {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.danger-text { color: var(--danger); }
.negative-text { color: var(--danger); }
.chart-stack {
  display: grid;
  gap: 0.95rem;
}
.chart-row {
  display: grid;
  gap: 0.45rem;
}
.chart-row-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}
.chart-track {
  width: 100%;
  height: 0.78rem;
  border-radius: 999px;
  background: #efe6d3;
  overflow: hidden;
}
.chart-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--green);
}
.chart-fill.negative {
  background: var(--danger);
}
.stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.stack-list.compact {
  gap: 0.6rem;
}
.stack-list li {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #faf6ee;
  border: 1px solid var(--line);
  display: grid;
  gap: 0.2rem;
}
.dashboard-subsection + .dashboard-subsection {
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-grid.single { grid-template-columns: 1fr; }
.form-grid label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}
.form-grid .span-2,
.form-actions.span-2 { grid-column: 1 / -1; }

input, select, textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(32, 77, 58, 0.18);
  border-color: rgba(32, 77, 58, 0.45);
  box-shadow: 0 0 0 4px rgba(32, 77, 58, 0.08);
}
textarea { resize: vertical; }
.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
}
.checkbox-row input { width: auto; }
.apartment-form-stack {
  display: grid;
  gap: 1rem;
}
.form-section {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1rem;
  background: #faf6ee;
}
.section-note {
  margin: -0.2rem 0 0.95rem;
  line-height: 1.55;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.apartment-help-list {
  margin-bottom: 1rem;
}
.apartment-help-list li {
  background: #f7f1e4;
}

.flash-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.flash {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
}
.flash.success { background: #e4f1e8; color: var(--green); }
.flash.error { background: #fde7e1; color: var(--danger); }
.flash.warning { background: #fff1df; color: #875214; }

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.login-card {
  width: min(560px, 100%);
}

.muted-box {
  margin-top: 1rem;
  background: #f8f4eb;
}
.muted-box pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.pos-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}
.pos-workbench {
  background: linear-gradient(135deg, #fffdf8, #eef4f0 58%, #f7efe3);
}
.pos-layout-enhanced {
  align-items: start;
}
.pos-main-panel {
  display: grid;
  gap: 1rem;
}
.pos-fastlane-card {
  background: linear-gradient(180deg, #ffffff, #f7f3ea);
}
.pos-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.pos-search-wide {
  grid-column: span 4;
}
.pos-counter-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
  align-items: stretch;
}
.pos-wide-card {
  grid-column: span 1;
}
.pos-counter-strip .mini-card {
  min-width: 0;
  padding: 0.72rem 0.8rem;
  gap: 0.18rem;
  background: #fffdf9;
}
.pos-counter-strip .mini-card strong {
  font-size: 1rem;
  line-height: 1.2;
  word-break: break-word;
}
.pos-counter-strip .mini-card .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
#pos-payment-mix {
  font-size: 0.9rem;
  line-height: 1.3;
}
.pos-serving-note {
  margin: 0 0 1rem;
  line-height: 1.5;
}
.pos-fastlane-helper {
  margin: 1rem 0 0;
  line-height: 1.45;
}
.pos-payment-quick {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  margin-top: 1rem;
  align-items: end;
}
.pos-payment-select {
  display: grid;
  gap: 0.45rem;
}
.pos-chip-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pos-category-row {
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.pos-chip {
  border: 1px solid #d8dce5;
  background: #f3f5fa;
  color: #2f3c4c;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.pos-chip span {
  opacity: 0.72;
  font-size: 0.84rem;
}
.pos-chip.is-active {
  background: #2a7de1;
  color: #fff;
  border-color: #2a7de1;
}
.pos-browser-card {
  background: #fcfbf8;
  display: grid;
  gap: 0.9rem;
}
.pos-results-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.pos-results-toolbar strong {
  display: block;
  margin-bottom: 0.15rem;
}
.pos-results-nav {
  flex-wrap: nowrap;
}
.pos-results-nav .button {
  padding-inline: 1rem;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.pos-results-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pos-results-list {
  display: grid;
  gap: 0.65rem;
  max-height: 31rem;
  overflow: auto;
  padding-right: 0.15rem;
}
.result-card {
  width: 100%;
  text-align: left;
  padding: 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #faf6ee;
  cursor: pointer;
  display: grid;
  gap: 0.25rem;
}
.result-card small {
  color: var(--muted);
  font-size: 0.82rem;
}
.pos-result-card {
  min-height: 148px;
  align-content: start;
  background: #fff;
  border-color: #dde3ec;
  box-shadow: 0 10px 22px rgba(30, 42, 56, 0.05);
}
.pos-result-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto auto;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  padding: 0.82rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid #dde3ec;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(30, 42, 56, 0.05);
}
.pos-result-row strong,
.pos-result-row small {
  display: block;
}
.pos-result-primary,
.pos-result-meta {
  min-width: 0;
}
.pos-result-primary strong {
  font-size: 0.98rem;
}
.pos-result-primary small,
.pos-result-meta small {
  color: var(--muted);
  margin-top: 0.18rem;
}
.pos-result-meta {
  text-align: right;
}
.pos-result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: #edf3ee;
  color: var(--green);
  font-weight: 700;
}
.cart-box {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: #faf6ee;
}
.pos-cart-box {
  max-height: 48vh;
  overflow: auto;
}
.stack-list-item {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: #fffdf7;
  border: 1px solid var(--line);
  display: grid;
  gap: 0.6rem;
}
.history-empty {
  color: var(--muted);
  text-align: center;
}
.pos-history-actions {
  justify-content: flex-end;
}

.mini-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #faf6ee;
  display: grid;
  gap: 0.35rem;
}
.pos-summary-grid {
  margin-bottom: 1rem;
}
.pos-payment-dock {
  margin-bottom: 1rem;
  background: #f6f9ff;
  border-color: #d9e3f2;
  gap: 0.8rem;
}
.pos-payment-dock-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.pos-payment-dock-head strong {
  display: block;
  margin-top: 0.15rem;
}
.pos-cart-panel-enhanced {
  position: sticky;
  top: 1.25rem;
  background: #f8fbff;
  border-color: #d9e5f5;
}
.pos-cart-grand-total {
  font-size: 1.45rem;
  color: #204f9c;
}
.pos-customer-box {
  margin-bottom: 1rem;
}
.pos-customer-box summary {
  cursor: pointer;
  font-weight: 700;
}
.pos-cart-line {
  gap: 0.85rem;
}
.pos-cart-line-head,
.pos-cart-line-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.pos-qty-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.pos-qty-cluster input {
  width: 88px;
  text-align: center;
  padding: 0.7rem 0.5rem;
}
.pos-qty-btn {
  padding: 0.65rem 0.9rem;
  min-width: 44px;
}
.pos-last-receipt-card {
  margin-top: 1rem;
}
.pos-history-drawer {
  margin-top: 1rem;
}
.pos-history-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.pos-history-summary::-webkit-details-marker {
  display: none;
}
.pos-history-summary h3 {
  margin: 0;
}
.pos-action-bar {
  margin-top: 1rem;
}
.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.inventory-filter-row {
  flex-wrap: wrap;
}
.inventory-filter-row select {
  min-width: 180px;
}

.document-body {
  margin: 0;
  background: #efe7d5;
}
.document-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(10px);
}
.document-toolbar h1 {
  margin: 0;
  font-family: Georgia, serif;
}
.document-shell {
  display: flex;
  justify-content: center;
  padding: 1.25rem;
}
.document-sheet {
  width: min(960px, 100%);
  background: #fff;
  border: 1px solid #ddd3bf;
  border-radius: 1.5rem;
  box-shadow: 0 18px 36px rgba(31, 42, 34, 0.12);
  padding: 1.5rem;
}
.document-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.document-mark {
  width: 64px;
  height: 64px;
  padding: 0.8rem;
  border-radius: 1rem;
  background: #f3f6f2;
  border: 1px solid var(--line);
}
.document-brand h2 {
  margin: 0;
  font-family: Georgia, serif;
}
.document-summary-grid,
.document-detail-grid {
  margin-bottom: 1rem;
}
.document-copy h3 {
  margin-bottom: 0.45rem;
  font-family: Georgia, serif;
}
.document-copy p {
  line-height: 1.65;
  margin: 0 0 1rem;
}
.document-note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #faf6ee;
}
.document-note p {
  margin: 0.45rem 0 0;
  line-height: 1.6;
}

.status-stack {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #edf3ee;
  color: var(--green);
  border: 1px solid #d3e0d5;
}
.status-chip.is-highlight {
  background: #dcebdd;
  border-color: #b9d2bf;
}

.service-form-stack {
  display: grid;
  gap: 1rem;
}

thead th {
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
}

.status-new,
.status-pending {
  background: #f5efde;
  color: #8a5a17;
  border-color: #eadbb6;
}

.status-confirmed,
.status-part-paid,
.status-preparing {
  background: #e7eef8;
  color: #2b5e92;
  border-color: #d5e0ef;
}

.status-ready,
.status-fulfilled,
.status-paid {
  background: #e2f1e6;
  color: #235b38;
  border-color: #cadecf;
}

.status-cancelled,
.status-refunded {
  background: #fde9e3;
  color: var(--danger);
  border-color: #f3d1c6;
}

.row-active td {
  background: #f6fbf7;
}

.order-desk-form {
  margin: 1rem 0;
}

.order-desk-sections {
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .shell,
  .split-grid,
  .split-grid.wide-right,
  .pos-layout,
  .card-grid.four,
  .card-grid.two,
  .pos-quick-grid,
  .pos-payment-quick,
  .pos-results-grid {
    grid-template-columns: 1fr;
  }
  .pos-counter-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 780px) {
  .content,
  .sidebar {
    padding: 1rem;
  }
  .topbar,
  .card-header {
    flex-direction: column;
  }
  .topbar-actions,
  .toolbar,
  .search-row,
  .form-actions,
  .status-stack {
    width: 100%;
    justify-content: stretch;
  }
  .topbar-search {
    min-width: 100%;
  }
  .topbar-actions > *,
  .toolbar > *,
  .search-row > * {
    flex: 1 1 100%;
  }
  .menu-links,
  .menu-subgroups,
  .form-grid,
  .result-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .pos-counter-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-menu,
  .account-menu summary,
  .account-panel {
    width: 100%;
  }
  .account-panel {
    position: static;
  }
  .pos-search-wide {
    grid-column: auto;
  }
  .pos-cart-panel-enhanced,
  .document-toolbar {
    position: static;
  }
  .pos-result-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .pos-result-meta {
    text-align: left;
  }
  .pos-payment-dock-head {
    flex-direction: column;
  }
  .document-brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .button {
    text-align: center;
  }
  th,
  td {
    padding: 0.7rem 0.55rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 540px) {
  .pos-counter-strip {
    grid-template-columns: 1fr;
  }
}

@media print {
  body.document-body {
    background: #fff;
  }
  .document-toolbar {
    display: none;
  }
  .document-shell {
    padding: 0;
  }
  .document-sheet {
    width: 100%;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
}
