html {
  color-scheme: light;
  font-size: 14px;
  min-height: 100%;
  position: relative;
}

.account-statement-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: auto minmax(13rem, 18rem) auto minmax(10rem, 12rem) auto minmax(10rem, 12rem) auto;
}

.account-statement-filter label {
  color: #334155;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.account-statement-filter input,
.account-statement-filter select {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .6rem;
}

.account-statement-actions {
  display: flex;
  gap: .5rem;
}

.account-statement-actions button,
.account-statement-actions a,
.statement-switcher a {
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  min-height: 2.4rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.account-statement-actions button,
.statement-switcher a.active {
  background: #16202c;
  border-color: #16202c;
  color: #fff;
}

.account-statement-actions a,
.statement-switcher a {
  background: #fff;
  color: #16202c;
}

.statement-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}

.account-statement-sheet {
  background: #fff;
  border: 1px solid #d7dee8;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .93rem;
  line-height: 1.25;
  margin: 0 auto 2rem;
  max-width: 980px;
  min-height: 980px;
  padding: 3.2rem 3.4rem;
}

.statement-header {
  text-align: center;
}

.statement-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 .15rem;
}

.statement-header p {
  margin: 0;
}

.statement-title {
  display: inline-block;
  font-size: 1.08rem;
  font-weight: 800;
  margin-top: .85rem;
}

.trial-balance-table {
  border-collapse: collapse;
  margin-top: 1.8rem;
  width: 100%;
}

.trial-balance-table th,
.trial-balance-table td {
  padding: .22rem .35rem;
  text-align: right;
  vertical-align: top;
}

.trial-balance-table th:first-child,
.trial-balance-table td:first-child {
  text-align: left;
}

.trial-balance-table thead th {
  border: 1px solid #000;
  font-weight: 700;
}

.trial-balance-table thead th:first-child {
  border-left: 0;
}

.trial-balance-table tfoot th,
.trial-balance-table tfoot td {
  border-bottom: 2px solid #000;
  border-top: 1px solid #000;
  font-weight: 800;
}

.trial-group td {
  font-weight: 800;
  padding-top: .75rem;
}

.trial-ledger {
  font-style: italic;
  padding-left: 2rem !important;
}

.statement-two-column {
  border-top: 1px solid #000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.8rem;
}

.statement-side {
  min-height: 650px;
  padding: 0 .25rem;
}

.statement-side + .statement-side {
  border-left: 1px solid #000;
}

.statement-side-head {
  border-bottom: 1px solid #000;
  display: flex;
  font-size: .92rem;
  justify-content: space-between;
  padding: .3rem .55rem .22rem;
}

.statement-side-head span:first-child {
  font-weight: 800;
}

.statement-group {
  margin: 1.05rem 0;
}

.statement-group-row,
.statement-line {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, auto);
  padding: .08rem .25rem;
}

.statement-group-row strong:last-child,
.statement-line span:last-child {
  text-align: right;
}

.statement-line {
  font-style: italic;
  padding-left: .7rem;
}

.statement-line.emphasis {
  font-weight: 800;
}

.statement-grand-total {
  border-bottom: 2px solid #000;
  border-top: 1px solid #000;
  display: grid;
  font-weight: 800;
  padding: .35rem .25rem;
}

.statement-grand-total.two {
  grid-template-columns: 1fr 8rem 1fr 8rem;
}

.statement-grand-total strong {
  text-align: right;
}

@media (max-width: 900px) {
  .account-statement-filter {
    grid-template-columns: 1fr;
  }

  .account-statement-actions {
    flex-wrap: wrap;
  }

  .account-statement-sheet {
    padding: 1.5rem;
  }

  .statement-two-column {
    grid-template-columns: 1fr;
  }

  .statement-side + .statement-side {
    border-left: 0;
    border-top: 1px solid #000;
  }
}

@media print {
  body {
    background: #fff !important;
  }

  body > header,
  body > footer,
  .no-print {
    display: none !important;
  }

  .container {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .account-statement-sheet {
    border: 0;
    box-shadow: none;
    margin: 0;
    max-width: none;
    min-height: auto;
    padding: .45in .55in;
  }

  .statement-side {
    min-height: 7.5in;
  }

  @page {
    margin: .25in;
    size: letter portrait;
  }
}

@media print {
  .stock-transfer-page .inventory-transfer-layout,
  .stock-transfer-page .inventory-transfer-editor,
  .stock-transfer-page .inventory-transfer-form {
    display: block !important;
  }

  .stock-transfer-page .inventory-transfer-editor {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .stock-transfer-page .inventory-transfer-side,
  .stock-transfer-page .inventory-transfer-actions,
  .stock-transfer-page .inventory-transfer-delete-form {
    display: none !important;
  }

  .stock-transfer-page .inventory-transfer-form > label,
  .stock-transfer-page .inventory-transfer-form > input,
  .stock-transfer-page .inventory-transfer-form > select,
  .stock-transfer-page .inventory-transfer-form .validation-summary {
    display: none;
  }

  .stock-transfer-page .inventory-transfer-lines-wrap {
    overflow: visible;
  }

  .stock-transfer-page .inventory-transfer-lines-table {
    font-size: .58rem;
    min-width: 0;
  }

  .stock-transfer-page .inventory-transfer-lines-table th,
  .stock-transfer-page .inventory-transfer-lines-table td {
    padding: .08rem .1rem;
  }

  .stock-transfer-page .inventory-transfer-lines-table input {
    border: 0;
    min-height: 0;
    min-width: 0;
    padding: 0;
  }

  .stock-transfer-page .inventory-transfer-totals {
    border: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: .2rem 0;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background: #f4f6f8;
  color: #17212b;
  margin-bottom: 60px;
}

.database-backup-grid,
.sql-backup-grid {
  align-items: stretch;
  margin-bottom: 1rem;
}

.database-backup-config-panel,
.database-backup-run-panel,
.sql-backup-config-panel,
.sql-backup-run-panel {
  padding: 1rem;
}

.database-backup-note,
.sql-backup-note {
  color: #725100;
  font-weight: 600;
  margin: 1rem 0 .6rem;
}

.database-backup-config-link,
.sql-backup-config-link {
  color: #17212b;
  font-weight: 700;
}

.database-backup-run-form,
.sql-backup-run-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
}

.database-backup-run-form label,
.sql-backup-run-form label {
  color: #314254;
  font-weight: 700;
  padding-top: .7rem;
}

.database-backup-run-form input,
.sql-backup-run-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.55rem;
  min-width: 0;
  padding: .45rem .65rem;
}

.database-backup-run-form button,
.sql-backup-run-form button {
  background: #8a1f11;
  border: 1px solid #8a1f11;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  grid-column: 2;
  min-height: 2.55rem;
  padding: .45rem .8rem;
}

.database-backup-run-form button:disabled,
.sql-backup-run-form button:disabled {
  background: #8794a1;
  border-color: #8794a1;
  cursor: not-allowed;
}

.database-backup-files-panel,
.database-backup-tables-panel,
.sql-backup-files-panel,
.sql-backup-tables-panel {
  margin-bottom: 1rem;
  padding: 1rem;
}

.database-backup-table-wrap,
.sql-backup-table-wrap {
  overflow-x: auto;
}

.database-backup-table,
.sql-backup-table {
  min-width: 54rem;
}

.financial-year-grid {
  align-items: stretch;
  margin-bottom: 1rem;
}

.financial-year-preview-panel,
.financial-year-run-panel,
.financial-year-clear-panel {
  padding: 1rem;
}

.financial-year-warning {
  color: #8a1f11;
  font-weight: 700;
  margin: 1rem 0 0;
}

.financial-year-run-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
}

.financial-year-run-form label {
  color: #314254;
  font-weight: 700;
  padding-top: .7rem;
}

.financial-year-run-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.55rem;
  min-width: 0;
  padding: .45rem .65rem;
}

.financial-year-run-form button {
  background: #8a1f11;
  border: 1px solid #8a1f11;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  grid-column: 2;
  min-height: 2.55rem;
  padding: .45rem .8rem;
}

.financial-year-run-form button:disabled {
  background: #8794a1;
  border-color: #8794a1;
  cursor: not-allowed;
}

.financial-year-prep-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.2fr);
}

.financial-year-prep-grid h3 {
  font-size: 1rem;
  margin: 0 0 .75rem;
}

.financial-year-prep-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}

.financial-year-table-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.financial-year-table-tags span {
  background: #eef3f7;
  border: 1px solid #d5dee7;
  border-radius: 6px;
  color: #314254;
  font-size: .86rem;
  font-weight: 700;
  padding: .35rem .5rem;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 .1rem white, 0 0 0 .25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.navbar {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(23, 33, 43, .08);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar .container-fluid {
  align-items: center;
  gap: .65rem;
}

.navbar-brand {
  background: #17212b;
  border-radius: 6px;
  color: #ffffff !important;
  font-weight: 700;
  line-height: 1;
  padding: .55rem .75rem;
}

.navbar-collapse,
.navbar-nav {
  min-width: 0;
}

.navbar-nav {
  flex-wrap: wrap;
  gap: .2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.app-main-nav .nav-link {
  border-radius: 6px;
  color: #273747 !important;
  font-size: .92rem;
  font-weight: 700;
  padding: .45rem .6rem;
}

.app-main-nav .nav-link.active,
.app-main-nav .nav-link:focus,
.app-main-nav .nav-link:hover {
  background: #eef3f7;
}

.app-main-nav .dropdown-menu {
  border-color: #dce3ea;
  border-radius: 8px;
  box-shadow: 0 .8rem 1.5rem rgba(23, 33, 43, .12);
  max-height: min(34rem, calc(100vh - 6rem));
  min-width: 16rem;
  overflow-y: auto;
  padding: .45rem;
}

.app-main-nav .dropdown-menu:not(.show) {
  display: none;
}

.app-main-nav .dropdown-item {
  border-radius: 6px;
  color: #17212b;
  font-size: .9rem;
  padding: .38rem .55rem;
}

.app-main-nav .dropdown-divider {
  margin: .35rem 0;
}

.nav-auth {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: .5rem;
}

.nav-auth span {
  color: #415161;
  font-weight: 600;
}

.nav-auth form {
  margin: 0;
}

.nav-auth a,
.nav-auth button {
  background: #17212b;
  border: 1px solid #17212b;
  border-radius: 6px;
  color: #ffffff;
  line-height: 1;
  padding: .55rem .75rem;
  text-decoration: none;
}

@media (min-width: 992px) {
  .app-main-nav .dropdown-menu {
    column-count: 2;
    column-gap: .35rem;
    min-width: 28rem;
  }

  .app-main-nav .dropdown-divider {
    break-after: avoid;
    break-before: avoid;
  }
}

.nav-auth button {
  cursor: pointer;
}

.page-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 1.5rem 0;
}

.page-heading h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.eyebrow {
  color: #5f6f7f;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08rem;
  margin: 0 0 .2rem;
  text-transform: uppercase;
}

.status-pill {
  border: 1px solid #cbd5df;
  border-radius: 999px;
  color: #324354;
  max-width: 36rem;
  overflow-wrap: anywhere;
  padding: .5rem .8rem;
}

.status-ready {
  background: #e9f7ef;
  border-color: #91d1aa;
  color: #165c31;
}

.status-muted {
  background: #fff8e6;
  border-color: #e8ca7a;
  color: #725100;
}

.metric-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.metric-card,
.panel {
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23, 33, 43, .05);
}

.metric-card {
  min-height: 7rem;
  padding: 1rem;
}

.metric-card span {
  color: #5f6f7f;
  display: block;
  font-size: .9rem;
}

.metric-card strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0;
  margin-top: .8rem;
  overflow-wrap: anywhere;
}

.dashboard-heading {
  align-items: flex-start;
}

.dashboard-subtitle {
  color: #5f6f7f;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .35rem 0 0;
}

.dashboard-subtitle span {
  background: #eef3f7;
  border: 1px solid #dce3ea;
  border-radius: 999px;
  padding: .2rem .55rem;
}

.dashboard-action-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.dashboard-action-card {
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23, 33, 43, .05);
  color: #17212b;
  min-height: 5.5rem;
  padding: .85rem;
  text-decoration: none;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus {
  border-color: #91b7d4;
  color: #17212b;
  outline: 0;
  transform: translateY(-1px);
}

.dashboard-action-card strong,
.dashboard-action-card span {
  display: block;
}

.dashboard-action-card span {
  color: #5f6f7f;
  font-size: .86rem;
  margin-top: .35rem;
}

.dashboard-module-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.dashboard-module-panel {
  min-width: 0;
}

.dashboard-module-links {
  display: grid;
  gap: .4rem;
}

.dashboard-module-links a,
.status-list a {
  color: #17212b;
  text-decoration: none;
}

.dashboard-module-links a {
  background: #f7fafc;
  border: 1px solid #e1e7ed;
  border-radius: 6px;
  padding: .45rem .55rem;
}

.dashboard-module-links a:hover,
.dashboard-module-links a:focus,
.status-list a:hover,
.status-list a:focus {
  text-decoration: underline;
}

.dashboard-overview {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .34fr);
  margin: 1rem 0;
}

.dashboard-title-block {
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23, 33, 43, .05);
  padding: 1rem;
}

.dashboard-title-block h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.dashboard-user-badge {
  align-items: center;
  background: #edf4fb;
  border: 1px solid #c9d9e9;
  border-radius: 6px;
  display: inline-flex;
  gap: .45rem;
  margin-top: .65rem;
  padding: .42rem .65rem;
}

.dashboard-user-badge span {
  color: #5f6f7f;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-user-badge strong {
  color: #17212b;
  font-size: .95rem;
  font-weight: 800;
}

.dashboard-side-actions {
  align-content: stretch;
  display: grid;
  gap: .75rem;
  min-width: 0;
}

.dashboard-status-card {
  border: 1px solid #dce3ea;
  border-radius: 8px;
  display: grid;
  gap: .35rem;
  min-width: 0;
  padding: 1rem;
}

.dashboard-status-card span,
.dashboard-status-card small {
  color: #5f6f7f;
  font-size: .82rem;
  font-weight: 700;
}

.dashboard-status-card strong {
  color: #17212b;
  font-size: .95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dashboard-status-card.is-ready {
  background: #e9f7ef;
  border-color: #91d1aa;
}

.dashboard-status-card.is-muted {
  background: #fff8e6;
  border-color: #e8ca7a;
}

.dashboard-logout-form {
  margin: 0;
}

.dashboard-logout-button {
  align-items: center;
  background: #17212b;
  border: 1px solid #17212b;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 800;
  justify-content: center;
  min-height: 2.65rem;
  padding: .55rem 1rem;
  width: 100%;
}

.dashboard-logout-button:hover,
.dashboard-logout-button:focus {
  background: #2c3c4d;
  border-color: #2c3c4d;
  color: #ffffff;
}

.dashboard-metrics {
  gap: .75rem;
}

.dashboard-metrics .metric-card {
  min-height: 5.6rem;
  padding: .85rem;
}

.dashboard-metrics .metric-card strong {
  font-size: 1.35rem;
  margin-top: .45rem;
}

.dashboard-primary-actions {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.dashboard-primary-card {
  border: 1px solid #dce3ea;
  border-radius: 8px;
  color: #17212b;
  display: grid;
  gap: .4rem;
  min-height: 5.6rem;
  padding: .85rem;
  text-decoration: none;
}

.dashboard-primary-card:hover,
.dashboard-primary-card:focus {
  border-color: #8aaecb;
  color: #17212b;
  outline: 0;
  transform: translateY(-1px);
}

.dashboard-primary-card span {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-primary-card strong {
  font-size: .92rem;
  line-height: 1.25;
}

.dashboard-primary-primary {
  background: #eef6fb;
}

.dashboard-primary-purchase {
  background: #f4f8ef;
}

.dashboard-primary-stock {
  background: #f8f3ec;
}

.dashboard-primary-bar {
  background: #f4f1f8;
}

.dashboard-primary-cash {
  background: #f7fafc;
}

.dashboard-primary-print {
  background: #fff8e6;
}

.dashboard-workspace-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.dashboard-workspace-card {
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-left: 5px solid #8aaecb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23, 33, 43, .05);
  min-width: 0;
  padding: .9rem;
}

.dashboard-workspace-card header {
  align-items: flex-start;
  border-bottom: 1px solid #e7edf2;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  margin-bottom: .7rem;
  padding-bottom: .65rem;
}

.dashboard-workspace-card h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.dashboard-workspace-card p {
  color: #5f6f7f;
  font-size: .84rem;
  margin: .25rem 0 0;
}

.dashboard-workspace-card header > span {
  background: #eef3f7;
  border: 1px solid #dce3ea;
  border-radius: 999px;
  color: #415161;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  padding: .35rem .45rem;
}

.dashboard-workspace-sales {
  border-left-color: #5b9bc4;
}

.dashboard-workspace-stock {
  border-left-color: #90a95d;
}

.dashboard-workspace-master {
  border-left-color: #b18b55;
}

.dashboard-workspace-accounts {
  border-left-color: #5e8e80;
}

.dashboard-workspace-bar {
  border-left-color: #8c75ad;
}

.dashboard-workspace-admin {
  border-left-color: #8794a1;
}

.dashboard-link-list,
.dashboard-report-links {
  display: grid;
  gap: .4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-link-list a,
.dashboard-report-links a {
  background: #f7fafc;
  border: 1px solid #e1e7ed;
  border-radius: 6px;
  color: #17212b;
  font-size: .86rem;
  font-weight: 700;
  overflow: hidden;
  padding: .42rem .5rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-link-list a:hover,
.dashboard-link-list a:focus,
.dashboard-report-links a:hover,
.dashboard-report-links a:focus {
  background: #eef3f7;
  border-color: #cbd5df;
  color: #17212b;
}

.dashboard-support-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr);
  margin-bottom: 1rem;
}

.dashboard-brand-table td,
.dashboard-brand-table th {
  padding: .48rem .4rem;
}

.dashboard-session-panel {
  min-width: 0;
}

.dashboard-report-links {
  margin-top: .85rem;
}

@media (max-width: 1200px) {
  .dashboard-primary-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 992px) {
  .dashboard-overview,
  .dashboard-support-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-workspace-grid {
    grid-template-columns: 1fr;
  }

  .app-main-nav .dropdown-menu {
    column-count: 1;
    min-width: 16rem;
  }
}

@media (max-width: 760px) {
  .dashboard-overview {
    margin-top: .65rem;
  }

  .dashboard-title-block h1 {
    font-size: 1.35rem;
  }

  .dashboard-metrics,
  .dashboard-primary-actions,
  .dashboard-link-list,
  .dashboard-report-links {
    grid-template-columns: 1fr;
  }

  .navbar .container-fluid {
    align-items: flex-start;
  }

  .nav-auth {
    align-items: stretch;
    flex-direction: column;
  }
}

.content-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(20rem, .75fr);
  margin-bottom: 1rem;
}

.panel {
  padding: 1rem;
}

.section-title {
  align-items: baseline;
  border-bottom: 1px solid #e7edf2;
  display: flex;
  justify-content: space-between;
  margin-bottom: .75rem;
  padding-bottom: .65rem;
}

.section-title h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.section-title span {
  color: #6d7c8a;
  font-size: .85rem;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid #edf1f5;
  padding: .65rem .4rem;
}

.data-table th {
  color: #5f6f7f;
  font-size: .78rem;
  text-transform: uppercase;
}

.numeric {
  text-align: right;
}

.empty-row {
  color: #6d7c8a;
  text-align: center;
}

.status-list {
  margin: 0;
}

.status-list div {
  border-bottom: 1px solid #edf1f5;
  padding: .65rem 0;
}

.status-list div:last-child {
  border-bottom: 0;
}

.status-list dt {
  color: #5f6f7f;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-list dd {
  margin: .15rem 0 0;
}

.route-map ol {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

.route-map li {
  background: #f7fafc;
  border: 1px solid #e1e7ed;
  border-radius: 6px;
  min-height: 4.25rem;
  padding: .75rem;
}

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

.filter-panel {
  margin-bottom: 1rem;
}

.master-search {
  align-items: end;
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr;
}

.master-search label {
  color: #415161;
  font-weight: 700;
}

.master-search div {
  display: flex;
  gap: .5rem;
}

.master-search input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: min(30rem, 100%);
}

.master-search button,
.master-search a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.master-search button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.master-search a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.master-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .6fr);
}

.compact-table th,
.compact-table td {
  padding: .55rem .35rem;
}

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

.stock-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(10rem, 14rem) max-content minmax(14rem, 1fr) auto auto;
}

.stock-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.stock-filter select,
.stock-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.stock-filter button,
.stock-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.stock-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.stock-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.stock-grid {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr);
}

.stock-table td:first-child strong,
.stock-table td:first-child span {
  display: block;
}

.stock-table td:first-child span {
  color: #6d7c8a;
  font-size: .82rem;
}

.low-stock-row td {
  background: #fff8e6;
}

.daily-item-status-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.daily-item-status-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(11rem, 1fr) max-content minmax(9rem, 12rem);
}

.daily-item-status-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.daily-item-status-filter select,
.daily-item-status-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.daily-item-status-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.daily-item-status-filter button,
.daily-item-status-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.daily-item-status-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.daily-item-status-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.daily-item-status-table-wrap {
  overflow-x: auto;
}

.daily-item-status-table {
  min-width: 84rem;
}

.daily-item-status-table td {
  overflow-wrap: anywhere;
}

.daily-item-status-table .supplier-column {
  min-width: 18rem;
}

.daily-item-status-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.daily-item-status-ft-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.daily-item-status-ft-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
}

.daily-item-status-ft-filter label,
.daily-item-status-ft-mode-set legend {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.daily-item-status-ft-filter input:not([type="radio"]),
.daily-item-status-ft-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.daily-item-status-ft-mode-set {
  border: 0;
  display: grid;
  gap: .4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.daily-item-status-ft-mode-set legend {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
}

.daily-item-status-ft-mode-set label {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  gap: .4rem;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.daily-item-status-ft-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.daily-item-status-ft-filter button,
.daily-item-status-ft-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.daily-item-status-ft-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.daily-item-status-ft-filter a,
.daily-item-status-ft-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.daily-item-status-ft-table-wrap {
  overflow-x: auto;
}

.daily-item-status-ft-table {
  min-width: 94rem;
}

.daily-item-status-ft-table td {
  overflow-wrap: anywhere;
}

.daily-item-status-ft-subtotal-row td {
  background: #fff8e6;
  font-weight: 700;
}

.daily-item-status-ft-grand-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.item-current-stock-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bar-current-stock-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.item-current-stock-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(12rem, 18rem) auto;
}

.bar-current-stock-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(12rem, 18rem) auto;
}

.item-current-stock-filter label,
.bar-current-stock-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.item-current-stock-filter select,
.bar-current-stock-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.item-current-stock-actions,
.bar-current-stock-actions {
  display: flex;
  gap: .5rem;
}

.item-current-stock-filter button,
.item-current-stock-filter a,
.bar-current-stock-filter button,
.bar-current-stock-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.item-current-stock-filter button,
.bar-current-stock-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.item-current-stock-filter a,
.bar-current-stock-filter a,
.bar-current-stock-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.item-current-stock-table-wrap,
.bar-current-stock-table-wrap {
  overflow-x: auto;
}

.item-current-stock-table {
  min-width: 112rem;
}

.bar-current-stock-table {
  min-width: 112rem;
}

.item-current-stock-table td,
.bar-current-stock-table td {
  overflow-wrap: anywhere;
}

.item-current-stock-mismatch-row td,
.bar-current-stock-mismatch-row td {
  background: #fff1f1;
}

.item-current-stock-total-row td,
.bar-current-stock-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.unlock-table-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.unlock-table-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(18rem, 1fr) auto;
}

.unlock-table-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.unlock-table-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.unlock-table-actions,
.unlock-table-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.unlock-table-filter button,
.unlock-table-filter a,
.unlock-table-post-actions button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.unlock-table-filter button,
.unlock-table-post-actions button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.unlock-table-filter a,
.unlock-table-post-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.unlock-table-post-actions .danger-command {
  background: #8a1f1f;
  border-color: #8a1f1f;
  color: #ffffff;
}

.unlock-table-process-form {
  margin: 0;
}

.unlock-table-post-actions {
  justify-content: flex-end;
  margin-bottom: .75rem;
}

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

.unlock-table {
  min-width: 90rem;
}

.unlock-table td {
  overflow-wrap: anywhere;
}

.unlock-table input[type="checkbox"] {
  height: 1rem;
  width: 1rem;
}

.unlock-table-locked-row td {
  background: #fff8e6;
}

.stock-status-badge {
  border: 1px solid #cbd5df;
  border-radius: 999px;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  justify-content: center;
  min-width: 5.5rem;
  padding: .25rem .55rem;
}

.stock-status-ok {
  background: #e9f7ef;
  border-color: #91d1aa;
  color: #165c31;
}

.stock-status-mismatch {
  background: #fff8e6;
  border-color: #e8ca7a;
  color: #725100;
}

.bill-printing-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bill-printing-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(7rem, 9rem) max-content minmax(8rem, 10rem) max-content minmax(8rem, 10rem);
}

.bill-printing-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bill-printing-filter input,
.bill-printing-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bill-printing-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.bill-printing-filter button,
.bill-printing-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bill-printing-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bill-printing-filter .secondary-command,
.bill-printing-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.bill-printing-table {
  min-width: 72rem;
}

.bill-printing-table td {
  overflow-wrap: anywhere;
}

.bill-printing-invoices {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.bill-invoice {
  background: #ffffff;
  border: 1px solid #c9d3dc;
  border-radius: 8px;
  color: #17212b;
  min-width: 0;
  padding: .9rem;
}

.bill-invoice-title {
  align-items: center;
  border-bottom: 2px solid #17212b;
  display: flex;
  justify-content: space-between;
  margin-bottom: .7rem;
  padding-bottom: .45rem;
}

.bill-invoice-title h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.bill-invoice-title span {
  font-weight: 700;
}

.bill-invoice-meta,
.bill-invoice-total {
  display: grid;
  gap: .4rem .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 .7rem;
}

.bill-invoice-meta div,
.bill-invoice-total div {
  min-width: 0;
}

.bill-invoice-meta dt,
.bill-invoice-total dt {
  color: #5f6f7f;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bill-invoice-meta dd,
.bill-invoice-total dd {
  margin: .1rem 0 0;
  overflow-wrap: anywhere;
}

.bill-invoice-lines {
  border-collapse: collapse;
  font-size: .86rem;
  margin-bottom: .7rem;
  width: 100%;
}

.bill-invoice-lines th,
.bill-invoice-lines td {
  border-bottom: 1px solid #e7edf2;
  padding: .4rem .3rem;
}

.bill-invoice-lines th {
  color: #415161;
  font-size: .72rem;
  text-transform: uppercase;
}

.bill-invoice-lines td:nth-child(2) {
  overflow-wrap: anywhere;
}

.bill-invoice-total {
  border-top: 2px solid #17212b;
  margin-bottom: 0;
  padding-top: .55rem;
}

.bill-invoice-total dd {
  font-weight: 700;
}

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

.qr-code-workspace {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, .9fr) minmax(20rem, .8fr);
  margin-bottom: 1rem;
}

.qr-code-form {
  display: grid;
  gap: .65rem;
}

.qr-code-form label {
  color: #415161;
  font-weight: 700;
}

.qr-code-form textarea,
.qr-code-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.qr-code-form textarea {
  font-family: Consolas, "Courier New", monospace;
  resize: vertical;
}

.qr-code-actions {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
}

.qr-code-form button,
.qr-code-form a,
.qr-code-preview .section-title a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.qr-code-form button,
.qr-code-preview .section-title a {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.qr-code-form .secondary-command,
.qr-code-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.qr-code-preview {
  min-width: 0;
}

.qr-code-artifact {
  align-items: center;
  background: #f7fafc;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 24rem;
  padding: 1rem;
}

.qr-code-artifact svg {
  display: block;
  height: auto;
  max-height: 21rem;
  max-width: 100%;
  width: min(21rem, 100%);
}

.qr-code-payload {
  background: #ffffff;
  border: 1px solid #e1e7ed;
  border-radius: 6px;
  color: #324354;
  font-size: .85rem;
  margin: .8rem 0 0;
  max-height: 10rem;
  overflow: auto;
  padding: .7rem;
  white-space: pre-wrap;
}

.qr-code-empty {
  align-items: center;
  border: 1px dashed #cbd5df;
  border-radius: 8px;
  display: flex;
  min-height: 24rem;
  justify-content: center;
}

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

.parties-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, .75fr);
}

.parties-grid td strong,
.parties-grid td span {
  display: block;
}

.parties-grid td span {
  color: #6d7c8a;
  font-size: .82rem;
}

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

.invbill-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(12rem, 1fr) max-content minmax(10rem, 14rem) max-content minmax(14rem, 1fr) auto auto;
}

.invbill-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.invbill-filter select,
.invbill-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.invbill-filter button,
.invbill-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.invbill-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.invbill-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.invbill-grid {
  grid-template-columns: minmax(0, 1fr) minmax(22rem, .85fr);
}

.invbill-table td strong,
.invbill-table td span {
  display: block;
}

.invbill-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

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

.company-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr);
}

.company-definition {
  display: grid;
  gap: .75rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

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

.company-definition div {
  border-bottom: 1px solid #edf1f5;
  min-width: 0;
  padding-bottom: .7rem;
}

.company-definition dt {
  color: #5f6f7f;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.company-definition dd {
  margin: .15rem 0 0;
  overflow-wrap: anywhere;
}

.company-tags {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.company-tags span {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 999px;
  color: #324354;
  display: inline-flex;
  font-size: .9rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: .4rem .65rem;
}

.company-table td strong,
.company-table td span {
  display: block;
}

.company-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

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

.purchase-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(10rem, 13rem);
}

.purchase-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.purchase-filter select,
.purchase-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.purchase-filter button,
.purchase-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.purchase-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.purchase-filter a,
.purchase-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.purchase-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(22rem, .75fr);
}

.purchase-table td strong,
.purchase-table td span {
  display: block;
}

.purchase-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

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

.bar-sale-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.daily-bar-status-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.void-stock-register-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.void-bar-stock-register-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.void-sale-summary-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-sale-modify-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.supplier-payment-entry-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.void-sales-item-details-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sales-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(10rem, 1fr) max-content minmax(12rem, 1fr);
}

.sales-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.sales-filter select,
.sales-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.sales-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.sales-filter button,
.sales-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.sales-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.sales-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-sale-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.daily-bar-status-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.void-stock-register-filter {
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem);
}

.void-stock-register-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.void-bar-stock-register-filter {
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem);
}

.void-bar-stock-register-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.void-sale-summary-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(5, minmax(10rem, 1fr)) auto;
}

.void-sales-item-details-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
}

.admin-sale-modify-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
}

.supplier-payment-entry-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
}

.void-sale-summary-filter label,
.admin-sale-modify-filter label,
.supplier-payment-entry-filter label,
.supplier-payment-entry-delete-form label,
.void-sales-item-details-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.void-sale-summary-filter select,
.void-sale-summary-filter input,
.admin-sale-modify-filter input,
.supplier-payment-entry-filter select,
.supplier-payment-entry-filter input,
.supplier-payment-entry-delete-form input,
.void-sales-item-details-filter select,
.void-sales-item-details-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.void-sale-summary-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.void-sales-item-details-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.admin-sale-modify-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.supplier-payment-entry-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.void-sale-summary-filter button,
.void-sale-summary-filter a,
.admin-sale-modify-filter button,
.admin-sale-modify-filter a,
.supplier-payment-entry-filter button,
.supplier-payment-entry-filter a,
.supplier-payment-entry-save-actions button,
.supplier-payment-entry-delete-form button,
.void-sales-item-details-filter button,
.void-sales-item-details-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.void-sale-summary-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.void-sales-item-details-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.admin-sale-modify-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.supplier-payment-entry-filter button,
.supplier-payment-entry-save-actions button,
.supplier-payment-entry-delete-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.supplier-payment-entry-save-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.void-sale-summary-filter a,
.void-sale-summary-filter .secondary-command,
.admin-sale-modify-filter a,
.admin-sale-modify-filter .secondary-command,
.supplier-payment-entry-filter a,
.supplier-payment-entry-save-actions .secondary-command,
.void-sales-item-details-filter a,
.void-sales-item-details-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.void-sale-summary-table-wrap {
  overflow-x: auto;
}

.admin-sale-modify-table-wrap {
  overflow-x: auto;
}

.supplier-payment-entry-table-wrap {
  overflow-x: auto;
}

.void-sales-item-details-table-wrap {
  overflow-x: auto;
}

.sales-table {
  min-width: 78rem;
}

.bar-sale-table {
  min-width: 96rem;
}

.daily-bar-status-table {
  min-width: 64rem;
}

.daily-bar-status-total-table {
  min-width: 72rem;
}

.void-stock-register-table {
  min-width: 118rem;
}

.void-bar-stock-register-table {
  min-width: 126rem;
}

.void-sale-summary-table {
  min-width: 128rem;
}

.admin-sale-modify-table {
  min-width: 116rem;
}

.supplier-payment-entry-table {
  min-width: 78rem;
}

.void-sales-item-details-table {
  min-width: 112rem;
}

.bar-sale-table td strong,
.bar-sale-table td span {
  display: block;
}

.void-sale-summary-table td {
  overflow-wrap: anywhere;
}

.admin-sale-modify-table td {
  overflow-wrap: anywhere;
}

.supplier-payment-entry-table td {
  overflow-wrap: anywhere;
}

.void-sales-item-details-table td {
  overflow-wrap: anywhere;
}

.void-stock-register-table td,
.void-bar-stock-register-table td {
  overflow-wrap: anywhere;
}

.void-sale-summary-table td strong,
.void-sale-summary-table td span,
.admin-sale-modify-table td strong,
.admin-sale-modify-table td span,
.void-sales-item-details-table td strong,
.void-sales-item-details-table td span,
.void-stock-register-table td strong,
.void-stock-register-table td span,
.void-bar-stock-register-table td strong,
.void-bar-stock-register-table td span {
  display: block;
}

.bar-sale-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.void-stock-register-table td span,
.void-sale-summary-table td span,
.admin-sale-modify-table td span,
.void-sales-item-details-table td span,
.void-bar-stock-register-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.void-sale-summary-type,
.void-sales-item-details-type,
.void-stock-register-type,
.void-bar-stock-register-type {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 999px;
  color: #324354;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  justify-content: center;
  min-width: 4.75rem;
  padding: .22rem .5rem;
}

.void-sale-summary-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.admin-sale-modify-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.supplier-payment-entry-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.supplier-payment-entry-message {
  border-color: #dbeafe;
  color: #1e3a8a;
  font-weight: 700;
  margin-bottom: 1rem;
}

.supplier-payment-entry-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .32fr);
}

.supplier-payment-entry-layout > * {
  min-width: 0;
}

.supplier-payment-entry-panel,
.supplier-payment-entry-side-panel {
  min-width: 0;
}

.supplier-payment-entry-paynow {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.25rem;
  padding: .35rem .45rem;
  text-align: right;
  width: 8rem;
}

.supplier-payment-entry-save-actions {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.supplier-payment-entry-delete-form {
  display: grid;
  gap: .75rem;
}

.supplier-payment-entry-recent-title {
  margin-top: 1.25rem;
}

.supplier-payment-entry-recent-list {
  display: grid;
  gap: .6rem;
}

.supplier-payment-entry-recent-list div {
  border-bottom: 1px solid #edf1f5;
  display: grid;
  gap: .15rem;
  padding-bottom: .6rem;
}

.supplier-payment-entry-recent-list div:last-child {
  border-bottom: 0;
}

.supplier-payment-entry-recent-list strong,
.supplier-payment-entry-recent-list span {
  overflow-wrap: anywhere;
}

.supplier-payment-entry-recent-list span {
  color: #6d7c8a;
  font-size: .86rem;
}

.admin-sale-modify-limit {
  color: #a16207;
  font-weight: 700;
  margin-left: .5rem;
}

.void-sales-item-details-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.sales-aggregate-row td {
  background: #f7fafc;
  font-weight: 700;
}

.sales-grand-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.bar-sale-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.daily-bar-status-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

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

.bar-item-sale-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.void-bar-sale-details-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bar-profit-report-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.void-bar-sale-details-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
}

.item-sales-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr);
}

.bar-profit-report-filter {
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 16rem) auto;
}

.item-sales-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.void-bar-sale-details-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.item-sales-filter select,
.item-sales-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.void-bar-sale-details-filter select,
.void-bar-sale-details-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.item-sales-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.void-bar-sale-details-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.item-sales-filter button,
.item-sales-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.void-bar-sale-details-filter button,
.void-bar-sale-details-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.item-sales-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.void-bar-sale-details-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.item-sales-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.void-bar-sale-details-filter a,
.void-bar-sale-details-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-item-sale-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-profit-report-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.void-bar-sale-details-table-wrap {
  overflow-x: auto;
}

.item-sales-table {
  min-width: 72rem;
}

.bar-item-sale-table {
  min-width: 86rem;
}

.void-bar-sale-details-table {
  min-width: 132rem;
}

.bar-profit-report-table {
  min-width: 112rem;
}

.bar-profit-report-message {
  background: var(--tdr-surface);
  border-color: var(--tdr-border-strong);
  color: var(--tdr-text);
}

.bar-profit-report-message.is-ready {
  background: var(--tdr-success-surface);
  border-color: var(--tdr-success-border);
  color: var(--tdr-success-text);
}

.bar-profit-report-message.is-warning {
  background: var(--tdr-warning-surface);
  border-color: var(--tdr-warning-border);
  color: var(--tdr-warning-text);
}

.bar-profit-report-message.is-danger {
  background: var(--tdr-danger-surface);
  border-color: var(--tdr-danger-border);
  color: var(--tdr-danger-text);
}

.bar-profit-cost-status {
  color: var(--tdr-text-secondary);
  font-size: .82rem;
  font-weight: 600;
}

.void-bar-sale-details-table td {
  overflow-wrap: anywhere;
}

.void-bar-sale-details-table td strong,
.void-bar-sale-details-table td span {
  display: block;
}

.void-bar-sale-details-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.void-bar-sale-details-type {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 999px;
  color: #324354;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  justify-content: center;
  min-width: 4.75rem;
  padding: .22rem .5rem;
}

.bar-item-sale-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.void-bar-sale-details-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.bar-profit-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.bar-profit-report-negative-row td {
  background: #fff1f1;
}

.profit-report-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.profit-report-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
}

.profit-report-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.profit-report-filter select,
.profit-report-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.profit-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.profit-report-filter button,
.profit-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.profit-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.profit-report-filter a,
.profit-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.profit-report-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

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

.profit-report-table {
  min-width: 94rem;
}

.profit-report-table td:first-child {
  min-width: 16rem;
  overflow-wrap: anywhere;
}

.profit-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.profit-report-negative-row td {
  background: #fff1f1;
}

.profit-report-panel,
.profit-report-filter > * {
  min-width: 0;
}

@media (max-width: 992px) {
  .profit-report-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .profit-report-actions {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .profit-report-counts,
  .profit-report-filter {
    grid-template-columns: 1fr;
  }
}

@media print {
  .profit-report-heading,
  .profit-report-counts,
  .profit-report-filter-panel {
    display: none;
  }

  .profit-report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .profit-report-table-wrap {
    overflow: visible;
  }

  .profit-report-table {
    font-size: .58rem;
    min-width: 0;
  }

  .profit-report-table th,
  .profit-report-table td {
    padding: .1rem .12rem;
  }
}

.bar-transfer-report-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bar-transfer-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr) max-content minmax(7rem, 9rem);
}

.bar-transfer-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bar-transfer-report-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bar-transfer-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.bar-transfer-report-filter button,
.bar-transfer-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bar-transfer-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bar-transfer-report-filter a,
.bar-transfer-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-transfer-report-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.bar-transfer-report-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.bar-transfer-report-summary-panel,
.bar-transfer-report-detail-panel {
  min-width: 0;
  overflow: hidden;
}

.bar-transfer-report-summary-wrap,
.bar-transfer-report-detail-wrap {
  contain: inline-size;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.bar-transfer-report-summary-table {
  min-width: 92rem;
}

.bar-transfer-report-detail-table {
  min-width: 84rem;
}

.bar-transfer-report-summary-table tfoot td,
.bar-transfer-report-detail-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.bar-transfer-report-selected-row td {
  background: #eef6ff;
}

.bar-transfer-report-print-header {
  background: #f8fafc;
  border: 1px solid #e1e7ed;
  border-radius: 6px;
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: .75rem;
  padding: .75rem;
}

.bar-transfer-report-print-header span,
.bar-transfer-report-signatures span {
  color: #5f6f7f;
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bar-transfer-report-print-header strong {
  display: block;
  overflow-wrap: anywhere;
}

.bar-transfer-report-signatures {
  display: none;
}

.bar-gst-report-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bar-gst-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(13rem, 16rem) max-content minmax(11rem, 13rem);
}

.bar-gst-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bar-gst-report-filter input,
.bar-gst-report-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bar-gst-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.bar-gst-report-filter button,
.bar-gst-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bar-gst-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bar-gst-report-filter a,
.bar-gst-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-gst-report-panel {
  min-width: 0;
  overflow: hidden;
}

.bar-gst-report-table-wrap {
  contain: inline-size;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.bar-gst-report-slab-table {
  min-width: 72rem;
}

.bar-gst-report-bill-table {
  min-width: 98rem;
}

.bar-gst-report-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.bar-food-ledger-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bar-food-ledger-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(14rem, 1fr) max-content minmax(10rem, 12rem);
}

.bar-food-ledger-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bar-food-ledger-filter input,
.bar-food-ledger-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bar-food-ledger-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.bar-food-ledger-filter button,
.bar-food-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bar-food-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bar-food-ledger-filter a,
.bar-food-ledger-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-food-ledger-panel {
  min-width: 0;
  overflow: hidden;
}

.bar-food-ledger-table-wrap {
  contain: inline-size;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.bar-food-ledger-summary-table {
  min-width: 64rem;
}

.bar-food-ledger-detail-table {
  min-width: 88rem;
}

.bar-food-ledger-table td {
  overflow-wrap: anywhere;
}

.bar-food-ledger-opening-row td {
  background: #f7fafc;
  font-weight: 700;
}

.bar-food-ledger-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.bar-food-purchase-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bar-food-purchase-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(3, max-content minmax(0, 1fr));
}

.bar-food-purchase-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bar-food-purchase-filter input,
.bar-food-purchase-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bar-food-purchase-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.bar-food-purchase-filter button,
.bar-food-purchase-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bar-food-purchase-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bar-food-purchase-filter a,
.bar-food-purchase-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-food-purchase-panel {
  min-width: 0;
  overflow: hidden;
}

.bar-food-purchase-table-wrap {
  contain: inline-size;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.bar-food-purchase-summary-table {
  min-width: 118rem;
}

.bar-food-purchase-detail-table {
  min-width: 158rem;
}

.bar-food-purchase-table td {
  overflow-wrap: anywhere;
}

.bar-food-purchase-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.bar-sale-report-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bar-sale-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(4, max-content minmax(0, 1fr));
}

.bar-sale-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bar-sale-report-filter input,
.bar-sale-report-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bar-sale-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.bar-sale-report-filter button,
.bar-sale-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bar-sale-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bar-sale-report-filter a,
.bar-sale-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-sale-report-panel {
  min-width: 0;
  overflow: hidden;
}

.bar-sale-report-table-wrap {
  contain: inline-size;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.bar-sale-report-summary-table {
  min-width: 174rem;
}

.bar-sale-report-detail-table {
  min-width: 196rem;
}

.bar-sale-report-date-table {
  min-width: 112rem;
}

.bar-sale-report-table td {
  overflow-wrap: anywhere;
}

.bar-sale-report-table tfoot td {
  background: #e9f7ef;
  font-weight: 700;
}

.message-banner {
  background: #e9f7ef;
  border: 1px solid #bfe6cd;
  border-radius: 6px;
  color: #183d27;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
}

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

.daily-visit-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(10rem, 14rem) max-content minmax(14rem, 1fr) auto;
}

.daily-visit-filter label,
.daily-visit-form label {
  color: #415161;
  font-weight: 700;
}

.daily-visit-filter label {
  padding-bottom: .55rem;
}

.daily-visit-filter select,
.daily-visit-filter input,
.daily-visit-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.daily-visit-filter-actions,
.daily-visit-actions,
.daily-visit-row-actions {
  display: flex;
  gap: .5rem;
}

.daily-visit-filter-actions {
  justify-content: flex-end;
}

.daily-visit-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.daily-visit-filter button,
.daily-visit-filter a,
.daily-visit-form button,
.daily-visit-form a,
.daily-visit-row-actions a,
.daily-visit-delete-form button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.daily-visit-filter button,
.daily-visit-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.daily-visit-filter a,
.daily-visit-filter .secondary-command,
.daily-visit-form a,
.daily-visit-row-actions a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.daily-visit-delete-form button {
  background: #ffffff;
  border: 1px solid #e1a5a5;
  color: #8a1f1f;
}

.daily-visit-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(18rem, .55fr) minmax(0, 1.45fr);
  min-width: 0;
}

.daily-visit-editor,
.daily-visit-panel {
  min-width: 0;
}

.daily-visit-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(0, 1fr);
}

.daily-visit-form .validation-summary {
  grid-column: 1 / -1;
}

.daily-visit-form span[data-valmsg-for] {
  color: #9a2a2a;
  grid-column: 2;
}

.daily-visit-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.daily-visit-table {
  min-width: 86rem;
}

.daily-visit-table td strong,
.daily-visit-table td span {
  display: block;
}

.daily-visit-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.daily-visit-row-actions {
  align-items: center;
}

.daily-visit-delete-form {
  margin: 0;
}

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

.visit-status-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.visit-status-table-wrap {
  max-width: 100%;
}

.visit-status-table {
  min-width: 86rem;
}

.visit-status-table td strong,
.visit-status-table td span {
  display: block;
}

.visit-status-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

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

.epos-mobile-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 12rem) max-content minmax(9rem, 12rem) minmax(28rem, 1fr);
}

.epos-mobile-filter label,
.epos-mobile-modes legend {
  color: #415161;
  font-weight: 700;
}

.epos-mobile-filter > label {
  padding-bottom: .55rem;
}

.epos-mobile-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.epos-mobile-modes {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.epos-mobile-modes legend {
  font-size: 1rem;
  padding-bottom: .35rem;
}

.epos-mobile-modes label {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: inline-flex;
  gap: .35rem;
  min-height: 2.5rem;
  padding: .45rem .65rem;
}

.epos-mobile-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.epos-mobile-actions button,
.epos-mobile-actions a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.epos-mobile-actions button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.epos-mobile-actions a,
.epos-mobile-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.epos-mobile-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.epos-mobile-table {
  min-width: 76rem;
}

.epos-mobile-table td span {
  color: #6d7c8a;
  display: block;
  font-size: .82rem;
}

.epos-mobile-qr {
  display: block;
  height: 4.5rem;
  width: 4.5rem;
}

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

.epos-upload-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 12rem) minmax(20rem, 1fr);
}

.epos-upload-filter label,
.epos-upload-sources legend {
  color: #415161;
  font-weight: 700;
}

.epos-upload-filter > label {
  padding-bottom: .55rem;
}

.epos-upload-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.epos-upload-sources {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.epos-upload-sources legend {
  font-size: 1rem;
  padding-bottom: .35rem;
}

.epos-upload-sources label {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: inline-flex;
  gap: .35rem;
  min-height: 2.5rem;
  padding: .45rem .65rem;
}

.epos-upload-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.epos-upload-actions button,
.epos-upload-actions a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.epos-upload-actions button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.epos-upload-actions a,
.epos-upload-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.epos-upload-table-wrap,
.epos-upload-json-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.epos-upload-table {
  min-width: 72rem;
}

.epos-upload-json {
  background: #101820;
  border-radius: 6px;
  color: #f6f8fb;
  font-size: .82rem;
  line-height: 1.55;
  margin: 0;
  max-height: 26rem;
  min-width: 44rem;
  overflow: auto;
  padding: 1rem;
}

.epos-upload-panel,
.epos-upload-json-panel,
.epos-upload-filter > * {
  min-width: 0;
}

.inventory-sale-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-sale-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.inventory-item-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(14rem, 1fr) auto;
}

.inventory-item-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.inventory-item-filter select,
.inventory-item-filter input,
.inventory-item-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.inventory-item-filter-actions,
.inventory-item-actions {
  display: flex;
  gap: .5rem;
}

.inventory-item-filter button,
.inventory-item-filter a,
.inventory-item-actions button,
.inventory-item-actions a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.inventory-item-filter button,
.inventory-item-actions button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.inventory-item-filter a,
.inventory-item-actions a,
.inventory-item-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-item-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(19rem, .45fr) minmax(0, 1fr);
}

.inventory-item-editor,
.inventory-item-table-panel {
  min-width: 0;
}

.inventory-item-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
}

.inventory-item-form label {
  color: #415161;
  font-weight: 700;
  padding-top: .55rem;
}

.inventory-item-form .validation-summary,
.inventory-item-image-field,
.inventory-item-actions {
  grid-column: 1 / -1;
}

.inventory-item-image-field {
  border-top: 1px solid #e7edf2;
  display: grid;
  gap: .5rem;
  grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
  padding-top: .75rem;
}

.inventory-item-current-image {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  grid-column: 2;
}

.inventory-item-current-image img {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  height: 4.5rem;
  object-fit: contain;
  width: 6rem;
}

.inventory-item-current-image label {
  align-items: center;
  display: inline-flex;
  gap: .35rem;
  padding-top: 0;
}

.inventory-item-current-image input {
  min-height: auto;
  width: auto;
}

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

.inventory-item-table {
  min-width: 78rem;
}

.inventory-item-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.inventory-item-delete-form {
  margin: 0;
}

.inventory-item-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  border-radius: 6px;
  color: #8a2f18;
  min-height: 2.25rem;
  padding: .35rem .6rem;
}

.inventory-stock-register-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-stock-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(14rem, 1fr) auto;
}

.inventory-stock-register-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.inventory-stock-register-filter select,
.inventory-stock-register-filter input,
.inventory-stock-register-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.inventory-stock-register-filter-actions,
.inventory-stock-register-actions {
  display: flex;
  gap: .5rem;
}

.inventory-stock-register-filter button,
.inventory-stock-register-filter a,
.inventory-stock-register-actions button,
.inventory-stock-register-actions a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.inventory-stock-register-filter button,
.inventory-stock-register-actions button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.inventory-stock-register-filter a,
.inventory-stock-register-actions a,
.inventory-stock-register-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-stock-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(20rem, .42fr) minmax(0, 1fr);
}

.inventory-stock-register-editor,
.inventory-stock-register-table-panel {
  min-width: 0;
}

.inventory-stock-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
}

.inventory-stock-register-form label {
  color: #415161;
  font-weight: 700;
  padding-top: .55rem;
}

.inventory-stock-register-form .validation-summary,
.inventory-stock-register-actions {
  grid-column: 1 / -1;
}

.inventory-stock-register-table-wrap {
  overflow-x: auto;
}

.inventory-stock-register-table {
  min-width: 86rem;
}

.inventory-stock-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.inventory-stock-register-negative-row td {
  background: #fff4f0;
}

.inventory-stock-register-delete-form {
  margin: 0;
}

.inventory-stock-register-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  border-radius: 6px;
  color: #8a2f18;
  min-height: 2.25rem;
  padding: .35rem .6rem;
}

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

.scheme-setting-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(15rem, 1fr) auto;
}

.scheme-setting-filter label,
.scheme-setting-form label {
  color: #415161;
  font-weight: 700;
}

.scheme-setting-filter label {
  padding-bottom: .55rem;
}

.scheme-setting-filter input,
.scheme-setting-form input,
.scheme-setting-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.scheme-setting-filter-actions,
.scheme-setting-actions,
.scheme-setting-row-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.scheme-setting-filter button,
.scheme-setting-filter a,
.scheme-setting-form button,
.scheme-setting-form a,
.scheme-setting-disable-form button,
.scheme-setting-row-actions a {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.scheme-setting-filter button,
.scheme-setting-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.scheme-setting-filter a,
.scheme-setting-filter .secondary-command,
.scheme-setting-form a,
.scheme-setting-row-actions a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.scheme-setting-disable-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.scheme-setting-disable-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
  width: 100%;
}

.scheme-setting-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(20rem, .42fr) minmax(0, 1fr);
}

.scheme-setting-editor,
.scheme-setting-panel {
  min-width: 0;
}

.scheme-setting-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr);
}

.scheme-setting-form label {
  padding-top: .55rem;
}

.scheme-setting-form .validation-summary,
.scheme-setting-active-field,
.scheme-setting-actions {
  grid-column: 1 / -1;
}

.scheme-setting-active-field {
  align-items: center;
  display: flex;
}

.scheme-setting-active-field label {
  align-items: center;
  display: inline-flex;
  gap: .45rem;
  padding-top: 0;
}

.scheme-setting-active-field input[type="checkbox"] {
  min-height: auto;
  width: auto;
}

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

.scheme-setting-table {
  min-width: 72rem;
}

.scheme-setting-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.scheme-setting-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  padding: .18rem .55rem;
}

.scheme-setting-status.is-active {
  background: #e9f7ef;
  color: #165c31;
}

.scheme-setting-status.is-inactive {
  background: #f3f6f9;
  color: #5f6f7f;
}

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

.customer-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.customer-register-filter label,
.customer-register-form label {
  color: #415161;
  font-weight: 700;
}

.customer-register-filter label {
  padding-bottom: .55rem;
}

.customer-register-filter input,
.customer-register-filter select,
.customer-register-form input,
.customer-register-form select,
.customer-register-form textarea {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.customer-register-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.customer-register-filter-actions,
.customer-register-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.customer-register-filter button,
.customer-register-filter a,
.customer-register-form button,
.customer-register-form a,
.customer-register-delete-form button,
.customer-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.customer-register-filter button,
.customer-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.customer-register-filter a,
.customer-register-filter .secondary-command,
.customer-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.customer-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(21rem, .42fr) minmax(0, 1fr);
}

.customer-register-editor,
.customer-register-panel {
  min-width: 0;
}

.customer-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
}

.customer-register-form label {
  padding-top: .55rem;
}

.customer-register-form .validation-summary,
.customer-register-actions {
  grid-column: 1 / -1;
}

.customer-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.customer-register-delete-form button,
.customer-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.customer-register-delete-form button {
  width: 100%;
}

.customer-register-row-delete-form {
  margin: 0;
}

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

.customer-register-table {
  min-width: 96rem;
}

.customer-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

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

.supplier-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.supplier-register-filter label,
.supplier-register-form label {
  color: #415161;
  font-weight: 700;
}

.supplier-register-filter label {
  padding-bottom: .55rem;
}

.supplier-register-filter input,
.supplier-register-filter select,
.supplier-register-form input,
.supplier-register-form select,
.supplier-register-form textarea {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.supplier-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.supplier-register-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.supplier-register-filter-actions,
.supplier-register-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.supplier-register-filter button,
.supplier-register-filter a,
.supplier-register-form button,
.supplier-register-form a,
.supplier-register-delete-form button,
.supplier-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.supplier-register-filter button,
.supplier-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.supplier-register-filter a,
.supplier-register-filter .secondary-command,
.supplier-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.supplier-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(21rem, .42fr) minmax(0, 1fr);
}

.supplier-register-editor,
.supplier-register-panel {
  min-width: 0;
}

.supplier-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
}

.supplier-register-form label {
  padding-top: .55rem;
}

.supplier-register-form .validation-summary,
.supplier-register-actions {
  grid-column: 1 / -1;
}

.supplier-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.supplier-register-delete-form button,
.supplier-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.supplier-register-delete-form button {
  width: 100%;
}

.supplier-register-row-delete-form {
  margin: 0;
}

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

.supplier-register-table {
  min-width: 96rem;
}

.supplier-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.stock-register-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stock-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.stock-register-filter label,
.stock-register-form label {
  color: #415161;
  font-weight: 700;
}

.stock-register-filter label {
  padding-bottom: .55rem;
}

.stock-register-filter input,
.stock-register-filter select,
.stock-register-form input,
.stock-register-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.stock-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.stock-register-filter-actions,
.stock-register-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.stock-register-filter button,
.stock-register-filter a,
.stock-register-form button,
.stock-register-form a,
.stock-register-delete-form button,
.stock-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.stock-register-filter button,
.stock-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.stock-register-filter a,
.stock-register-filter .secondary-command,
.stock-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.stock-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(22rem, .42fr) minmax(0, 1fr);
}

.stock-register-editor,
.stock-register-panel {
  min-width: 0;
}

.stock-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
}

.stock-register-form label {
  padding-top: .55rem;
}

.stock-register-form .validation-summary,
.stock-register-check-field,
.stock-register-actions {
  grid-column: 1 / -1;
}

.stock-register-check-field {
  align-items: center;
  display: flex;
  gap: .75rem;
}

.stock-register-check-field label {
  align-items: center;
  display: inline-flex;
  gap: .45rem;
  padding-top: 0;
}

.stock-register-check-field input[type="checkbox"] {
  min-height: auto;
  width: auto;
}

.stock-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.stock-register-delete-form button,
.stock-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.stock-register-delete-form button {
  width: 100%;
}

.stock-register-row-delete-form {
  margin: 0;
}

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

.stock-register-table {
  min-width: 118rem;
}

.stock-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.stock-register-badge {
  background: #f3f6f9;
  border-radius: 999px;
  color: #5f6f7f;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  padding: .18rem .55rem;
  white-space: nowrap;
}

.stock-register-badge.is-on {
  background: #e9f7ef;
  color: #165c31;
}

.stock-register-missing-item td {
  background: #fff8e6;
}

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

.category-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.category-register-filter label,
.category-register-form label {
  color: #415161;
  font-weight: 700;
}

.category-register-filter label {
  padding-bottom: .55rem;
}

.category-register-filter input,
.category-register-filter select,
.category-register-form input,
.category-register-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.category-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.category-register-filter-actions,
.category-register-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.category-register-filter button,
.category-register-filter a,
.category-register-form button,
.category-register-form a,
.category-register-delete-form button,
.category-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.category-register-filter button,
.category-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.category-register-filter a,
.category-register-filter .secondary-command,
.category-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.category-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(20rem, .34fr) minmax(0, 1fr);
}

.category-register-editor,
.category-register-panel {
  min-width: 0;
}

.category-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.category-register-form label {
  padding-top: .55rem;
}

.category-register-form .validation-summary,
.category-register-actions {
  grid-column: 1 / -1;
}

.category-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.category-register-delete-form button,
.category-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.category-register-delete-form button {
  width: 100%;
}

.category-register-row-delete-form {
  margin: 0;
}

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

.category-register-table {
  min-width: 52rem;
}

.category-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.item-register-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.item-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.item-register-filter label,
.item-register-copy-form label,
.item-register-form label {
  color: #415161;
  font-weight: 700;
}

.item-register-filter label {
  padding-bottom: .55rem;
}

.item-register-filter input,
.item-register-filter select,
.item-register-copy-form input,
.item-register-form input,
.item-register-form select,
.item-register-form textarea {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.item-register-form textarea {
  min-height: 5rem;
  resize: vertical;
}

.item-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.item-register-copy-form {
  border-bottom: 1px solid #e7edf2;
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
  margin-bottom: .9rem;
  padding-bottom: .9rem;
}

.item-register-copy-form label {
  padding-top: .55rem;
}

.item-register-copy-actions {
  grid-column: 1 / -1;
}

.item-register-filter-actions,
.item-register-copy-actions,
.item-register-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.item-register-filter button,
.item-register-filter a,
.item-register-copy-form button,
.item-register-form button,
.item-register-form a,
.item-register-delete-form button,
.item-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.item-register-filter button,
.item-register-copy-form button,
.item-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.item-register-filter a,
.item-register-filter .secondary-command,
.item-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.item-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(22rem, .36fr) minmax(0, 1fr);
}

.item-register-editor,
.item-register-panel {
  min-width: 0;
}

.item-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.item-register-form label {
  padding-top: .55rem;
}

.item-register-form .validation-summary,
.item-register-actions {
  grid-column: 1 / -1;
}

.item-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.item-register-delete-form button,
.item-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.item-register-delete-form button {
  width: 100%;
}

.item-register-row-delete-form {
  margin: 0;
}

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

.item-register-table {
  min-width: 108rem;
}

.item-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.item-register-badge {
  background: #f3f6f9;
  border-radius: 999px;
  color: #415161;
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  margin: 0 .2rem .2rem 0;
  padding: .18rem .45rem;
}

.item-register-badge.is-warning {
  background: #fff8e6;
  color: #755100;
}

.item-register-badge.is-missing {
  background: #fff4f0;
  color: #8a2f18;
}

.item-register-warning-row td {
  background: #fffaf0;
}

.bar-liquor-item-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bar-liquor-item-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.bar-liquor-item-filter label,
.bar-liquor-item-form label {
  color: #415161;
  font-weight: 700;
}

.bar-liquor-item-filter label {
  padding-bottom: .55rem;
}

.bar-liquor-item-filter input,
.bar-liquor-item-filter select,
.bar-liquor-item-form input,
.bar-liquor-item-form select,
.bar-liquor-item-form textarea {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .45rem .55rem;
}

.bar-liquor-item-form textarea {
  min-height: 5rem;
  resize: vertical;
}

.bar-liquor-item-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.bar-liquor-item-filter-actions,
.bar-liquor-item-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.bar-liquor-item-filter button,
.bar-liquor-item-filter a,
.bar-liquor-item-form button,
.bar-liquor-item-form a,
.bar-liquor-item-delete-form button,
.bar-liquor-item-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.bar-liquor-item-filter button,
.bar-liquor-item-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bar-liquor-item-filter a,
.bar-liquor-item-filter .secondary-command,
.bar-liquor-item-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-liquor-item-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(22rem, .36fr) minmax(0, 1fr);
}

.bar-liquor-item-layout > *,
.bar-liquor-item-editor,
.bar-liquor-item-panel,
.bar-liquor-item-form {
  min-width: 0;
}

.bar-liquor-item-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.bar-liquor-item-form label {
  padding-top: .55rem;
}

.bar-liquor-item-form .validation-summary,
.bar-liquor-item-actions {
  grid-column: 1 / -1;
}

.bar-liquor-item-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.bar-liquor-item-delete-form button,
.bar-liquor-item-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.bar-liquor-item-delete-form button {
  width: 100%;
}

.bar-liquor-item-row-delete-form {
  margin: 0;
}

.bar-liquor-item-table-wrap {
  overflow-x: auto;
}

.bar-liquor-item-table {
  min-width: 118rem;
}

.bar-liquor-item-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.bar-liquor-item-badge {
  background: #f3f6f9;
  border-radius: 999px;
  color: #415161;
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  margin: 0 .2rem .2rem 0;
  padding: .18rem .45rem;
}

.bar-liquor-item-badge.is-missing {
  background: #fff4f0;
  color: #8a2f18;
}

.bar-liquor-item-missing-row td {
  background: #fffaf0;
}

@media print {
  .bar-liquor-item-heading,
  .bar-liquor-item-counts,
  .bar-liquor-item-filter-panel,
  .bar-liquor-item-editor {
    display: none;
  }

  .bar-liquor-item-layout {
    display: block;
  }

  .bar-liquor-item-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-liquor-item-table-wrap {
    overflow: visible;
  }

  .bar-liquor-item-table {
    font-size: .58rem;
    min-width: 0;
  }

  .bar-liquor-item-table th,
  .bar-liquor-item-table td {
    padding: .1rem .12rem;
  }
}

.item-register-missing-row td {
  background: #fff8f5;
}

.bar-food-item-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bar-food-item-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.bar-food-item-filter label,
.bar-food-item-form label {
  color: #415161;
  font-weight: 700;
}

.bar-food-item-filter label {
  padding-bottom: .55rem;
}

.bar-food-item-filter input,
.bar-food-item-filter select,
.bar-food-item-form input,
.bar-food-item-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .45rem .55rem;
  width: 100%;
}

.bar-food-item-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.bar-food-item-filter-actions,
.bar-food-item-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.bar-food-item-filter button,
.bar-food-item-filter a,
.bar-food-item-form button,
.bar-food-item-form a,
.bar-food-item-delete-form button,
.bar-food-item-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.bar-food-item-filter button,
.bar-food-item-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bar-food-item-filter a,
.bar-food-item-filter .secondary-command,
.bar-food-item-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-food-item-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(23rem, .38fr) minmax(0, 1fr);
}

.bar-food-item-layout > *,
.bar-food-item-editor,
.bar-food-item-panel,
.bar-food-item-form {
  min-width: 0;
}

.bar-food-item-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.bar-food-item-form label {
  padding-top: .55rem;
}

.bar-food-item-form .validation-summary,
.bar-food-item-image-field,
.bar-food-item-actions {
  grid-column: 1 / -1;
}

.bar-food-item-image-field {
  border-top: 1px solid #e7edf2;
  display: grid;
  gap: .5rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
  padding-top: .75rem;
}

.bar-food-item-current-image {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  grid-column: 2;
}

.bar-food-item-current-image img {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  height: 4.5rem;
  object-fit: contain;
  width: 6rem;
}

.bar-food-item-current-image label {
  align-items: center;
  display: inline-flex;
  gap: .35rem;
  padding-top: 0;
}

.bar-food-item-current-image input {
  min-height: auto;
  width: auto;
}

.bar-food-item-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.bar-food-item-delete-form button,
.bar-food-item-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.bar-food-item-delete-form button {
  width: 100%;
}

.bar-food-item-row-delete-form {
  margin: 0;
}

.bar-food-item-table-wrap {
  overflow-x: auto;
}

.bar-food-item-table {
  min-width: 122rem;
}

.bar-food-item-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.bar-food-item-badge {
  background: #f3f6f9;
  border-radius: 999px;
  color: #415161;
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  margin: .15rem .2rem .2rem 0;
  padding: .18rem .45rem;
}

.bar-food-item-badge.is-missing {
  background: #fff4f0;
  color: #8a2f18;
}

.bar-food-item-missing-row td {
  background: #fffaf0;
}

@media (max-width: 992px) {
  .bar-food-item-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar-food-item-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bar-food-item-filter label {
    padding-bottom: 0;
    padding-top: 0;
  }

  .bar-food-item-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .bar-food-item-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .bar-food-item-counts {
    grid-template-columns: 1fr;
  }

  .bar-food-item-filter,
  .bar-food-item-form,
  .bar-food-item-image-field {
    grid-template-columns: minmax(0, 1fr);
  }

  .bar-food-item-filter-actions,
  .bar-food-item-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bar-food-item-current-image {
    grid-column: 1;
  }
}

@media print {
  .bar-food-item-heading,
  .bar-food-item-counts,
  .bar-food-item-filter-panel,
  .bar-food-item-editor {
    display: none;
  }

  .bar-food-item-layout {
    display: block;
  }

  .bar-food-item-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-food-item-table-wrap {
    overflow: visible;
  }

  .bar-food-item-table {
    font-size: .58rem;
    min-width: 0;
  }

  .bar-food-item-table th,
  .bar-food-item-table td {
    padding: .1rem .12rem;
  }
}

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

.food-lookup-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(15rem, 1fr) auto;
}

.food-lookup-filter label,
.food-lookup-form label {
  color: #415161;
  font-weight: 700;
}

.food-lookup-filter label {
  padding-bottom: .55rem;
}

.food-lookup-filter input,
.food-lookup-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .45rem .55rem;
  width: 100%;
}

.food-lookup-filter-actions,
.food-lookup-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.food-lookup-filter button,
.food-lookup-filter a,
.food-lookup-form button,
.food-lookup-form a,
.food-lookup-table a {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.food-lookup-filter button,
.food-lookup-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.food-lookup-filter a,
.food-lookup-filter .secondary-command,
.food-lookup-form a,
.food-lookup-table a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.food-lookup-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(20rem, .35fr) minmax(0, 1fr);
}

.food-lookup-layout > *,
.food-lookup-editor,
.food-lookup-panel,
.food-lookup-form {
  min-width: 0;
}

.food-lookup-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.food-lookup-form label {
  padding-top: .55rem;
}

.food-lookup-form .validation-summary,
.food-lookup-actions {
  grid-column: 1 / -1;
}

.food-lookup-missing-panel {
  border-top: 1px solid #e7edf2;
  margin-top: 1rem;
  padding-top: 1rem;
}

.food-lookup-missing-list {
  display: grid;
  gap: .45rem;
}

.food-lookup-missing-list a {
  align-items: center;
  background: #fffaf0;
  border: 1px solid #ecd09f;
  border-radius: 6px;
  color: #17212b;
  display: flex;
  justify-content: space-between;
  min-height: 2.5rem;
  padding: .45rem .6rem;
  text-decoration: none;
}

.food-lookup-missing-list small {
  color: #6b7785;
  font-weight: 700;
}

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

.food-lookup-table {
  min-width: 44rem;
}

.food-lookup-table td {
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.food-lookup-badge {
  background: #eef8f2;
  border-radius: 999px;
  color: #27633b;
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  padding: .18rem .45rem;
}

.food-lookup-badge.is-muted {
  background: #f3f6f9;
  color: #415161;
}

.food-lookup-unused-row td {
  background: #fbfcfd;
}

@media (max-width: 992px) {
  .food-lookup-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-lookup-filter {
    grid-template-columns: 1fr 1fr;
  }

  .food-lookup-filter label {
    padding-bottom: 0;
    padding-top: 0;
  }

  .food-lookup-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .food-lookup-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .food-lookup-counts {
    grid-template-columns: 1fr;
  }

  .food-lookup-filter,
  .food-lookup-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .food-lookup-filter-actions,
  .food-lookup-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .food-lookup-missing-list a {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .food-lookup-heading,
  .food-lookup-counts,
  .food-lookup-filter-panel,
  .food-lookup-editor {
    display: none;
  }

  .food-lookup-layout {
    display: block;
  }

  .food-lookup-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .food-lookup-table-wrap {
    overflow: visible;
  }

  .food-lookup-table {
    min-width: 0;
  }
}

.waiter-register-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.waiter-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.waiter-register-filter label,
.waiter-register-form label {
  color: #415161;
  font-weight: 700;
}

.waiter-register-filter label {
  padding-bottom: .55rem;
}

.waiter-register-filter input,
.waiter-register-filter select,
.waiter-register-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .45rem .55rem;
  width: 100%;
}

.waiter-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.waiter-register-filter-actions,
.waiter-register-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.waiter-register-filter button,
.waiter-register-filter a,
.waiter-register-form button,
.waiter-register-form a,
.waiter-register-delete-form button,
.waiter-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.waiter-register-filter button,
.waiter-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.waiter-register-filter a,
.waiter-register-filter .secondary-command,
.waiter-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.waiter-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(22rem, .34fr) minmax(0, 1fr);
}

.waiter-register-layout > *,
.waiter-register-editor,
.waiter-register-panel,
.waiter-register-form {
  min-width: 0;
}

.waiter-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.waiter-register-form label {
  padding-top: .55rem;
}

.waiter-register-form .validation-summary,
.waiter-register-actions {
  grid-column: 1 / -1;
}

.waiter-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.waiter-register-delete-form button,
.waiter-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.waiter-register-delete-form button {
  width: 100%;
}

.waiter-register-row-delete-form {
  margin: 0;
}

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

.waiter-register-table {
  min-width: 76rem;
}

.waiter-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

@media (max-width: 992px) {
  .waiter-register-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .waiter-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .waiter-register-filter label {
    padding-bottom: 0;
    padding-top: 0;
  }

  .waiter-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .waiter-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .waiter-register-counts,
  .waiter-register-filter,
  .waiter-register-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .waiter-register-filter-actions,
  .waiter-register-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .waiter-register-heading,
  .waiter-register-counts,
  .waiter-register-filter-panel,
  .waiter-register-editor {
    display: none;
  }

  .waiter-register-layout {
    display: block;
  }

  .waiter-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .waiter-register-table-wrap {
    overflow: visible;
  }

  .waiter-register-table {
    font-size: .72rem;
    min-width: 0;
  }
}

.table-register-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.table-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.table-register-filter label,
.table-register-form label {
  color: #415161;
  font-weight: 700;
}

.table-register-filter label {
  padding-bottom: .55rem;
}

.table-register-filter input,
.table-register-filter select,
.table-register-form input,
.table-register-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .45rem .55rem;
  width: 100%;
}

.table-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.table-register-filter-actions,
.table-register-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.table-register-filter button,
.table-register-filter a,
.table-register-form button,
.table-register-form a,
.table-register-delete-form button,
.table-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.table-register-filter button,
.table-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.table-register-filter a,
.table-register-filter .secondary-command,
.table-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.table-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(22rem, .34fr) minmax(0, 1fr);
}

.table-register-layout > *,
.table-register-editor,
.table-register-panel,
.table-register-form {
  min-width: 0;
}

.table-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.table-register-form label {
  padding-top: .55rem;
}

.table-register-form .validation-summary,
.table-register-actions {
  grid-column: 1 / -1;
}

.table-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.table-register-delete-form button,
.table-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.table-register-delete-form button {
  width: 100%;
}

.table-register-row-delete-form {
  margin: 0;
}

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

.table-register-table {
  min-width: 86rem;
}

.table-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.table-register-badge {
  background: #edf7ef;
  border-radius: 999px;
  color: #24553a;
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  margin: .12rem .2rem .12rem 0;
  padding: .18rem .45rem;
}

.table-register-badge.is-muted {
  background: #f3f6f9;
  color: #415161;
}

.table-register-badge.is-missing {
  background: #fff4f0;
  color: #8a2f18;
}

.table-register-inactive-row td {
  background: #f8fafc;
}

@media (max-width: 992px) {
  .table-register-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .table-register-filter label {
    padding-bottom: 0;
    padding-top: 0;
  }

  .table-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .table-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .table-register-counts,
  .table-register-filter,
  .table-register-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .table-register-filter-actions,
  .table-register-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .table-register-heading,
  .table-register-counts,
  .table-register-filter-panel,
  .table-register-editor {
    display: none;
  }

  .table-register-layout {
    display: block;
  }

  .table-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .table-register-table-wrap {
    overflow: visible;
  }

  .table-register-table {
    font-size: .66rem;
    min-width: 0;
  }
}

.sub-table-register-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sub-table-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.sub-table-register-filter label,
.sub-table-register-form label {
  color: #415161;
  font-weight: 700;
}

.sub-table-register-filter label {
  padding-bottom: .55rem;
}

.sub-table-register-filter input,
.sub-table-register-filter select,
.sub-table-register-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .45rem .55rem;
  width: 100%;
}

.sub-table-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.sub-table-register-filter-actions,
.sub-table-register-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.sub-table-register-filter button,
.sub-table-register-filter a,
.sub-table-register-form button,
.sub-table-register-form a,
.sub-table-register-delete-form button,
.sub-table-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.sub-table-register-filter button,
.sub-table-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.sub-table-register-filter a,
.sub-table-register-filter .secondary-command,
.sub-table-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.sub-table-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(22rem, .32fr) minmax(0, 1fr);
}

.sub-table-register-layout > *,
.sub-table-register-editor,
.sub-table-register-panel,
.sub-table-register-form {
  min-width: 0;
}

.sub-table-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.sub-table-register-form label {
  padding-top: .55rem;
}

.sub-table-register-form .validation-summary,
.sub-table-register-actions {
  grid-column: 1 / -1;
}

.sub-table-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.sub-table-register-delete-form button,
.sub-table-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.sub-table-register-delete-form button {
  width: 100%;
}

.sub-table-register-row-delete-form {
  margin: 0;
}

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

.sub-table-register-table {
  min-width: 64rem;
}

.sub-table-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.sub-table-register-badge {
  background: #f3f6f9;
  border-radius: 999px;
  color: #415161;
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  margin: .12rem .2rem .12rem 0;
  padding: .18rem .45rem;
}

.sub-table-register-badge.is-missing {
  background: #fff4f0;
  color: #8a2f18;
}

.sub-table-register-missing-row td {
  background: #fff8f5;
}

@media (max-width: 992px) {
  .sub-table-register-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sub-table-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .sub-table-register-filter label {
    padding-bottom: 0;
    padding-top: 0;
  }

  .sub-table-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .sub-table-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .sub-table-register-counts,
  .sub-table-register-filter,
  .sub-table-register-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .sub-table-register-filter-actions,
  .sub-table-register-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .sub-table-register-heading,
  .sub-table-register-counts,
  .sub-table-register-filter-panel,
  .sub-table-register-editor {
    display: none;
  }

  .sub-table-register-layout {
    display: block;
  }

  .sub-table-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .sub-table-register-table-wrap {
    overflow: visible;
  }

  .sub-table-register-table {
    font-size: .72rem;
    min-width: 0;
  }
}

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

.ledger-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.ledger-register-filter label,
.ledger-register-form label {
  color: #415161;
  font-weight: 700;
}

.ledger-register-filter label {
  padding-bottom: .55rem;
}

.ledger-register-filter input,
.ledger-register-filter select,
.ledger-register-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.ledger-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.ledger-register-filter-actions,
.ledger-register-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.ledger-register-filter button,
.ledger-register-filter a,
.ledger-register-form button,
.ledger-register-form a,
.ledger-register-delete-form button,
.ledger-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.ledger-register-filter button,
.ledger-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.ledger-register-filter a,
.ledger-register-filter .secondary-command,
.ledger-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.ledger-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(20rem, .34fr) minmax(0, 1fr);
}

.ledger-register-editor,
.ledger-register-panel {
  min-width: 0;
}

.ledger-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.ledger-register-form label {
  padding-top: .55rem;
}

.ledger-register-form .validation-summary,
.ledger-register-actions {
  grid-column: 1 / -1;
}

.ledger-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.ledger-register-delete-form button,
.ledger-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.ledger-register-delete-form button {
  width: 100%;
}

.ledger-register-row-delete-form {
  margin: 0;
}

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

.ledger-register-table {
  min-width: 64rem;
}

.ledger-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.store-register-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.store-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.store-register-filter label,
.store-register-form label {
  color: #415161;
  font-weight: 700;
}

.store-register-filter label {
  padding-bottom: .55rem;
}

.store-register-filter input,
.store-register-filter select,
.store-register-form input,
.store-register-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
}

.store-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.store-register-filter-actions,
.store-register-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.store-register-filter button,
.store-register-filter a,
.store-register-form button,
.store-register-form a,
.store-register-delete-form button,
.store-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.store-register-filter button,
.store-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.store-register-filter a,
.store-register-filter .secondary-command,
.store-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.store-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(20rem, .34fr) minmax(0, 1fr);
}

.store-register-editor,
.store-register-panel {
  min-width: 0;
}

.store-register-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(8rem, max-content) minmax(0, 1fr);
}

.store-register-form label {
  padding-top: .55rem;
}

.store-register-form .validation-summary,
.store-register-actions {
  grid-column: 1 / -1;
}

.store-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.store-register-delete-form button,
.store-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.store-register-delete-form button {
  width: 100%;
}

.store-register-row-delete-form {
  margin: 0;
}

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

.store-register-table {
  min-width: 48rem;
}

.store-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.staff-register-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.staff-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.staff-register-filter label,
.staff-register-form label {
  color: #415161;
  font-weight: 700;
}

.staff-register-filter label {
  padding-bottom: .55rem;
}

.staff-register-filter input,
.staff-register-filter select,
.staff-register-form input,
.staff-register-form textarea,
.staff-register-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
  width: 100%;
}

.staff-register-form textarea {
  min-height: 5rem;
  resize: vertical;
}

.staff-register-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.staff-register-filter-actions,
.staff-register-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.staff-register-filter button,
.staff-register-filter a,
.staff-register-form button,
.staff-register-form a,
.staff-register-delete-form button,
.staff-register-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.staff-register-filter button,
.staff-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.staff-register-filter a,
.staff-register-filter .secondary-command,
.staff-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.staff-register-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(28rem, .58fr) minmax(0, 1fr);
}

.staff-register-editor,
.staff-register-panel {
  min-width: 0;
}

.staff-register-form {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-register-field,
.staff-register-photo-field {
  display: grid;
  gap: .35rem;
  min-width: 0;
}

.staff-register-wide,
.staff-register-form .validation-summary,
.staff-register-photo-field,
.staff-register-actions {
  grid-column: 1 / -1;
}

.staff-register-photo-control {
  align-items: center;
  display: grid;
  gap: .65rem;
  grid-template-columns: auto minmax(8rem, max-content) minmax(0, 1fr);
}

.staff-register-photo-preview {
  aspect-ratio: 4 / 3;
  background: #f3f6f9;
  border: 1px solid #d6e0ea;
  border-radius: 6px;
  height: 7rem;
  object-fit: cover;
  width: 9rem;
}

.staff-register-check {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
  margin: 0;
}

.staff-register-check input {
  min-height: auto;
  width: auto;
}

.staff-register-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.staff-register-delete-form button,
.staff-register-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.staff-register-delete-form button {
  width: 100%;
}

.staff-register-row-delete-form {
  margin: 0;
}

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

.staff-register-table {
  min-width: 74rem;
}

.staff-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.staff-register-photo-badge {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  min-width: 3rem;
  padding: .2rem .55rem;
  justify-content: center;
}

.staff-register-photo-badge.is-present {
  background: #e9f8ef;
  color: #207044;
}

.staff-register-photo-badge.is-empty {
  background: #f4f6f8;
  color: #647283;
}

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

.user-control-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 14rem) max-content minmax(15rem, 1fr) auto;
}

.user-control-filter label,
.user-control-form label {
  color: #415161;
  font-weight: 700;
}

.user-control-filter label {
  padding-bottom: .55rem;
}

.user-control-filter input,
.user-control-filter select,
.user-control-form input,
.user-control-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
  width: 100%;
}

.user-control-form input[readonly] {
  background: #f3f6f9;
  color: #415161;
}

.user-control-filter-actions,
.user-control-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.user-control-filter button,
.user-control-filter a,
.user-control-form button,
.user-control-form a,
.user-control-delete-form button,
.user-control-row-delete-form button {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.user-control-filter button,
.user-control-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.user-control-filter a,
.user-control-filter .secondary-command,
.user-control-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.user-control-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(31rem, .48fr) minmax(0, 1fr);
}

.user-control-editor,
.user-control-panel {
  min-width: 0;
}

.user-control-form {
  display: grid;
  gap: 1rem;
}

.user-control-identity-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.user-control-field {
  display: grid;
  gap: .35rem;
  min-width: 0;
}

.user-control-permissions {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.user-control-permission-group {
  border: 1px solid #e0e7ee;
  border-radius: 6px;
  display: grid;
  gap: .5rem;
  grid-template-columns: minmax(9rem, 1fr) minmax(5.5rem, 7rem);
  margin: 0;
  min-width: 0;
  padding: .75rem;
}

.user-control-permission-group legend {
  color: #17212b;
  float: none;
  font-size: .95rem;
  font-weight: 800;
  margin: 0;
  padding: 0 .25rem;
  width: auto;
}

.user-control-permission-group label {
  align-self: center;
  overflow-wrap: anywhere;
}

.user-control-actions {
  justify-content: flex-start;
}

.user-control-delete-form {
  border-top: 1px solid #e7edf2;
  margin: .9rem 0 0;
  padding-top: .9rem;
}

.user-control-delete-form button,
.user-control-row-delete-form button {
  background: #fff4f0;
  border: 1px solid #e6a48e;
  color: #8a2f18;
}

.user-control-delete-form button {
  width: 100%;
}

.user-control-row-delete-form {
  margin: 0;
}

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

.user-control-table {
  min-width: 150rem;
}

.user-control-table th,
.user-control-table td {
  white-space: nowrap;
}

.user-control-permission-badge {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-width: 3.25rem;
  padding: .2rem .55rem;
}

.user-control-permission-badge.is-yes {
  background: #e9f8ef;
  color: #207044;
}

.user-control-permission-badge.is-no {
  background: #f4f6f8;
  color: #647283;
}

.administrator-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.administrator-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(26rem, .92fr);
}

.administrator-panel,
.administrator-table-panel {
  min-width: 0;
}

.administrator-action-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.administrator-action-form,
.administrator-repair-form {
  border: 1px solid #e0e7ee;
  border-radius: 6px;
  display: grid;
  gap: .5rem;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 1fr);
  min-width: 0;
  padding: .75rem;
}

.administrator-action-form strong,
.administrator-repair-form h3 {
  color: #17212b;
  grid-column: 1 / -1;
  margin: 0;
}

.administrator-action-form label,
.administrator-repair-form label {
  color: #415161;
  font-weight: 700;
  padding-top: .45rem;
}

.administrator-action-form input,
.administrator-repair-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .55rem;
  width: 100%;
}

.administrator-action-form button,
.administrator-repair-form button {
  background: #8a2f18;
  border: 1px solid #8a2f18;
  border-radius: 6px;
  color: #ffffff;
  grid-column: 1 / -1;
  min-height: 2.45rem;
  padding: .45rem .75rem;
}

.administrator-repair-grid {
  display: grid;
  gap: .75rem;
}

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

.administrator-table {
  min-width: 46rem;
}

.administrator-status-badge {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-width: 4.5rem;
  padding: .2rem .55rem;
}

.administrator-status-badge.is-present {
  background: #e9f8ef;
  color: #207044;
}

.administrator-status-badge.is-missing {
  background: #fff4f0;
  color: #8a2f18;
}

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

.licensee-info-form {
  display: grid;
  gap: 1rem;
}

.licensee-info-form .validation-summary {
  margin: 0;
}

.licensee-info-section {
  min-width: 0;
}

.licensee-info-grid {
  display: grid;
  gap: .65rem .85rem;
  grid-template-columns: minmax(11rem, max-content) minmax(0, 1fr) minmax(11rem, max-content) minmax(0, 1fr);
}

.licensee-info-grid label {
  color: #415161;
  font-weight: 700;
  padding-top: .55rem;
}

.licensee-info-grid input,
.licensee-info-grid select,
.licensee-info-grid textarea {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .45rem .55rem;
}

.licensee-info-grid textarea {
  min-height: 5.4rem;
  resize: vertical;
}

.licensee-info-actions {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.licensee-info-actions button,
.licensee-info-actions a {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .8rem;
  text-decoration: none;
}

.licensee-info-actions button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.licensee-info-actions a,
.licensee-info-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.licensee-info-readonly {
  grid-template-columns: minmax(0, 1.1fr) minmax(22rem, .9fr);
}

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

.scheme-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns:
    max-content minmax(8rem, 11rem)
    max-content minmax(8rem, 11rem)
    max-content minmax(11rem, 1fr)
    max-content minmax(11rem, 1fr)
    max-content minmax(7rem, 9rem)
    max-content minmax(7rem, 9rem);
}

.scheme-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.scheme-report-filter input,
.scheme-report-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .45rem .55rem;
  width: 100%;
}

.scheme-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.scheme-report-filter button,
.scheme-report-filter a {
  border-radius: 6px;
  min-height: 2.45rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.scheme-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.scheme-report-filter a,
.scheme-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.scheme-report-panel {
  min-width: 0;
}

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

.scheme-report-table {
  min-width: 78rem;
}

.scheme-report-detail-table {
  min-width: 112rem;
}

.scheme-report-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.scheme-report-table tfoot td {
  background: #f7fafc;
  border-top: 2px solid #cbd5df;
  font-weight: 700;
}

.inventory-stock-report-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-stock-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(10rem, 1fr) max-content minmax(8rem, 12rem) max-content minmax(10rem, 1fr) max-content minmax(10rem, 1fr);
}

.inventory-stock-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.inventory-stock-report-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.inventory-stock-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.inventory-stock-report-filter button,
.inventory-stock-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.inventory-stock-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.inventory-stock-report-filter a,
.inventory-stock-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-stock-report-table-wrap {
  overflow-x: auto;
}

.inventory-stock-report-table {
  min-width: 106rem;
}

.inventory-stock-report-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.inventory-stock-report-negative-row td {
  background: #fff4f0;
}

.inventory-stock-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.inventory-sale-table-wrap {
  max-width: 100%;
}

.inventory-sale-table {
  min-width: 118rem;
}

.inventory-sale-table td span {
  color: #6d7c8a;
  display: block;
  font-size: .82rem;
}

.inventory-sale-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.inventory-sale-summary-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-sale-summary-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-sale-summary-table-wrap {
  max-width: 100%;
}

.inventory-sale-summary-table {
  min-width: 88rem;
}

.inventory-sale-summary-table td strong,
.inventory-sale-summary-table td span {
  display: block;
}

.inventory-sale-summary-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.inventory-sale-summary-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.inventory-purchase-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-purchase-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-purchase-table-wrap {
  max-width: 100%;
}

.inventory-purchase-table {
  min-width: 124rem;
}

.inventory-purchase-table td span {
  color: #6d7c8a;
  display: block;
  font-size: .82rem;
}

.inventory-purchase-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.inventory-purchase-summary-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-purchase-summary-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-purchase-summary-table-wrap {
  max-width: 100%;
}

.inventory-purchase-summary-table {
  min-width: 92rem;
}

.inventory-purchase-summary-table td strong {
  display: block;
}

.inventory-purchase-summary-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.inventory-dsr-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-dsr-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-dsr-table-wrap {
  max-width: 100%;
}

.inventory-dsr-table {
  min-width: 74rem;
}

.inventory-dsr-table td strong {
  display: block;
}

.inventory-dsr-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.inventory-item-ledger-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.inventory-item-ledger-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-item-ledger-table-wrap {
  max-width: 100%;
}

.inventory-item-ledger-table {
  min-width: 78rem;
}

.inventory-item-ledger-table td {
  overflow-wrap: anywhere;
}

.inventory-item-ledger-table td strong {
  display: block;
}

.inventory-item-ledger-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

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

.inventory-transfer-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 10rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr) auto;
}

.inventory-transfer-filter label,
.inventory-transfer-form label {
  color: #415161;
  font-weight: 700;
}

.inventory-transfer-filter label {
  padding-bottom: .55rem;
}

.inventory-transfer-filter select,
.inventory-transfer-filter input,
.inventory-transfer-form select,
.inventory-transfer-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.inventory-transfer-filter-actions,
.inventory-transfer-actions {
  display: flex;
  gap: .5rem;
}

.inventory-transfer-filter-actions {
  justify-content: flex-end;
}

.inventory-transfer-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.inventory-transfer-filter button,
.inventory-transfer-filter a,
.inventory-transfer-form button,
.inventory-transfer-form a,
.inventory-transfer-delete-form button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.inventory-transfer-filter button,
.inventory-transfer-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.inventory-transfer-filter a,
.inventory-transfer-filter .secondary-command,
.inventory-transfer-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-transfer-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: .75rem 0 0;
}

.inventory-transfer-delete-form button {
  background: #ffffff;
  border: 1px solid #e1a5a5;
  color: #8a1f1f;
}

.inventory-transfer-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr);
  min-width: 0;
}

.inventory-transfer-editor,
.inventory-transfer-side,
.inventory-transfer-stock-panel,
.inventory-transfer-recent-panel {
  min-width: 0;
}

.inventory-transfer-side {
  display: grid;
  gap: 1rem;
}

.inventory-transfer-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(0, 1fr);
}

.inventory-transfer-form .validation-summary,
.inventory-transfer-lines,
.inventory-transfer-totals {
  grid-column: 1 / -1;
  min-width: 0;
}

.inventory-transfer-totals {
  background: #f5f8fb;
  border: 1px solid #dbe4ec;
  border-radius: 6px;
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: .65rem;
}

.inventory-transfer-totals span {
  color: #52616f;
  font-size: .86rem;
}

.inventory-transfer-totals strong {
  color: #17212b;
  display: block;
  font-size: 1.05rem;
}

.inventory-transfer-lines-wrap,
.inventory-transfer-stock-wrap,
.inventory-transfer-recent-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.inventory-transfer-lines-table {
  min-width: 46rem;
}

.inventory-transfer-lines-table td {
  padding: .35rem .3rem;
}

.inventory-transfer-lines-table input {
  min-height: 2.25rem;
}

.inventory-transfer-stock-table {
  min-width: 34rem;
}

.inventory-transfer-recent-table {
  min-width: 32rem;
}

.inventory-transfer-stock-table td strong,
.inventory-transfer-stock-table td span,
.inventory-transfer-recent-table td strong,
.inventory-transfer-recent-table td span {
  display: block;
}

.inventory-transfer-stock-table td span,
.inventory-transfer-recent-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.bar-purchase-entry-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bar-purchase-entry-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 10rem) max-content minmax(12rem, 16rem) auto;
}

.bar-purchase-entry-filter label,
.bar-purchase-entry-form label {
  color: #415161;
  font-weight: 700;
}

.bar-purchase-entry-filter label {
  padding-bottom: .55rem;
}

.bar-purchase-entry-filter select,
.bar-purchase-entry-filter input,
.bar-purchase-entry-form select,
.bar-purchase-entry-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bar-purchase-entry-filter-actions,
.bar-purchase-entry-actions {
  display: flex;
  gap: .5rem;
}

.bar-purchase-entry-filter-actions {
  justify-content: flex-end;
}

.bar-purchase-entry-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.bar-purchase-entry-filter button,
.bar-purchase-entry-filter a,
.bar-purchase-entry-form button,
.bar-purchase-entry-form a,
.bar-purchase-entry-delete-form button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bar-purchase-entry-filter button,
.bar-purchase-entry-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bar-purchase-entry-filter a,
.bar-purchase-entry-filter .secondary-command,
.bar-purchase-entry-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bar-purchase-entry-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: .75rem 0 0;
}

.bar-purchase-entry-delete-form button {
  background: #ffffff;
  border: 1px solid #e1a5a5;
  color: #8a1f1f;
}

.bar-purchase-entry-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr);
  min-width: 0;
}

.bar-purchase-entry-editor,
.bar-purchase-entry-side,
.bar-purchase-entry-recent-panel,
.bar-purchase-entry-items-panel {
  min-width: 0;
}

.bar-purchase-entry-side {
  display: grid;
  gap: 1rem;
}

.bar-purchase-entry-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(0, 1fr);
}

.bar-purchase-entry-form .validation-summary,
.bar-purchase-entry-lines,
.bar-purchase-entry-totals {
  grid-column: 1 / -1;
  min-width: 0;
}

.bar-purchase-entry-lines-wrap,
.bar-purchase-entry-recent-wrap,
.bar-purchase-entry-items-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.bar-purchase-entry-lines-table {
  min-width: 118rem;
}

.bar-purchase-entry-lines-table td {
  padding: .32rem .25rem;
}

.bar-purchase-entry-lines-table input {
  min-height: 2.2rem;
  min-width: 5.5rem;
}

.bar-purchase-entry-lines-table td:first-child input {
  min-width: 16rem;
}

.bar-purchase-entry-recent-table {
  min-width: 34rem;
}

.bar-purchase-entry-items-table {
  min-width: 36rem;
}

.bar-purchase-entry-recent-table td strong,
.bar-purchase-entry-recent-table td span,
.bar-purchase-entry-items-table td strong,
.bar-purchase-entry-items-table td span {
  display: block;
}

.bar-purchase-entry-recent-table td span,
.bar-purchase-entry-items-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.bar-purchase-entry-totals {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: .75rem;
}

.bar-purchase-entry-totals span {
  color: #5f6f7f;
  font-size: .82rem;
  font-weight: 700;
}

.bar-purchase-entry-totals strong {
  color: #17212b;
  display: block;
  font-size: 1rem;
}

.inventory-purchase-entry-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-purchase-entry-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 10rem) auto;
}

.inventory-purchase-entry-filter label,
.inventory-purchase-entry-form label {
  color: #415161;
  font-weight: 700;
}

.inventory-purchase-entry-filter label {
  padding-bottom: .55rem;
}

.inventory-purchase-entry-filter input,
.inventory-purchase-entry-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.inventory-purchase-entry-filter-actions,
.inventory-purchase-entry-actions {
  display: flex;
  gap: .5rem;
}

.inventory-purchase-entry-filter-actions {
  justify-content: flex-end;
}

.inventory-purchase-entry-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.inventory-purchase-entry-filter button,
.inventory-purchase-entry-filter a,
.inventory-purchase-entry-form button,
.inventory-purchase-entry-form a,
.inventory-purchase-entry-delete-form button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.inventory-purchase-entry-filter button,
.inventory-purchase-entry-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.inventory-purchase-entry-filter a,
.inventory-purchase-entry-filter .secondary-command,
.inventory-purchase-entry-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-purchase-entry-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: .75rem 0 0;
}

.inventory-purchase-entry-delete-form button {
  background: #ffffff;
  border: 1px solid #e1a5a5;
  color: #8a1f1f;
}

.inventory-purchase-entry-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr);
  min-width: 0;
}

.inventory-purchase-entry-editor,
.inventory-purchase-entry-side,
.inventory-purchase-entry-recent-panel,
.inventory-purchase-entry-items-panel {
  min-width: 0;
}

.inventory-purchase-entry-side {
  display: grid;
  gap: 1rem;
}

.inventory-purchase-entry-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(0, 1fr);
}

.inventory-purchase-entry-form .validation-summary,
.inventory-purchase-entry-lines,
.inventory-purchase-entry-totals {
  grid-column: 1 / -1;
  min-width: 0;
}

.inventory-purchase-entry-lines-wrap,
.inventory-purchase-entry-recent-wrap,
.inventory-purchase-entry-items-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.inventory-purchase-entry-lines-table {
  min-width: 118rem;
}

.inventory-purchase-entry-lines-table td {
  padding: .32rem .25rem;
}

.inventory-purchase-entry-lines-table input {
  min-height: 2.2rem;
  min-width: 5.5rem;
}

.inventory-purchase-entry-lines-table td:first-child input {
  min-width: 16rem;
}

.inventory-purchase-entry-recent-table {
  min-width: 34rem;
}

.inventory-purchase-entry-items-table {
  min-width: 36rem;
}

.inventory-purchase-entry-recent-table td strong,
.inventory-purchase-entry-recent-table td span,
.inventory-purchase-entry-items-table td strong,
.inventory-purchase-entry-items-table td span {
  display: block;
}

.inventory-purchase-entry-recent-table td span,
.inventory-purchase-entry-items-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.inventory-purchase-entry-totals {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: .75rem;
}

.inventory-purchase-entry-totals span {
  color: #5f6f7f;
  font-size: .82rem;
  font-weight: 700;
}

.inventory-purchase-entry-totals strong {
  color: #17212b;
  display: block;
  font-size: 1rem;
}

.inventory-sale-entry-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inventory-sale-entry-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 10rem) max-content minmax(12rem, 16rem) auto;
}

.inventory-sale-entry-filter label,
.inventory-sale-entry-form label {
  color: #415161;
  font-weight: 700;
}

.inventory-sale-entry-filter label {
  padding-bottom: .55rem;
}

.inventory-sale-entry-filter input,
.inventory-sale-entry-filter select,
.inventory-sale-entry-form input,
.inventory-sale-entry-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.inventory-sale-entry-filter-actions,
.inventory-sale-entry-actions {
  display: flex;
  gap: .5rem;
}

.inventory-sale-entry-filter-actions {
  justify-content: flex-end;
}

.inventory-sale-entry-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.inventory-sale-entry-filter button,
.inventory-sale-entry-filter a,
.inventory-sale-entry-form button,
.inventory-sale-entry-form a,
.inventory-sale-entry-delete-form button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.inventory-sale-entry-filter button,
.inventory-sale-entry-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.inventory-sale-entry-filter a,
.inventory-sale-entry-filter .secondary-command,
.inventory-sale-entry-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inventory-sale-entry-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: .75rem 0 0;
}

.inventory-sale-entry-delete-form button {
  background: #ffffff;
  border: 1px solid #e1a5a5;
  color: #8a1f1f;
}

.inventory-sale-entry-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr);
  min-width: 0;
}

.inventory-sale-entry-editor,
.inventory-sale-entry-side,
.inventory-sale-entry-stock-panel,
.inventory-sale-entry-recent-panel {
  min-width: 0;
}

.inventory-sale-entry-side {
  display: grid;
  gap: 1rem;
}

.inventory-sale-entry-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(0, 1fr);
}

.inventory-sale-entry-form .validation-summary,
.inventory-sale-entry-lines,
.inventory-sale-entry-totals {
  grid-column: 1 / -1;
  min-width: 0;
}

.inventory-sale-entry-lines-wrap,
.inventory-sale-entry-stock-wrap,
.inventory-sale-entry-recent-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.inventory-sale-entry-lines-table {
  min-width: 108rem;
}

.inventory-sale-entry-lines-table td {
  padding: .32rem .25rem;
}

.inventory-sale-entry-lines-table input {
  min-height: 2.2rem;
  min-width: 5.5rem;
}

.inventory-sale-entry-lines-table td:first-child input {
  min-width: 16rem;
}

.inventory-sale-entry-stock-table {
  min-width: 42rem;
}

.inventory-sale-entry-recent-table {
  min-width: 34rem;
}

.inventory-sale-entry-stock-table td strong,
.inventory-sale-entry-stock-table td span,
.inventory-sale-entry-recent-table td strong,
.inventory-sale-entry-recent-table td span {
  display: block;
}

.inventory-sale-entry-stock-table td span,
.inventory-sale-entry-recent-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.inventory-sale-entry-totals {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: .75rem;
}

.inventory-sale-entry-totals span {
  color: #5f6f7f;
  font-size: .82rem;
  font-weight: 700;
}

.inventory-sale-entry-totals strong {
  color: #17212b;
  display: block;
  font-size: 1rem;
}

.inv-billing-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inv-billing-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(5rem, 7rem) max-content minmax(8rem, 10rem) max-content minmax(12rem, 16rem) auto;
}

.inv-billing-filter label,
.inv-billing-form label {
  color: #415161;
  font-weight: 700;
}

.inv-billing-filter label {
  padding-bottom: .55rem;
}

.inv-billing-filter input,
.inv-billing-filter select,
.inv-billing-form input,
.inv-billing-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.inv-billing-filter-actions,
.inv-billing-actions {
  display: flex;
  gap: .5rem;
}

.inv-billing-filter-actions {
  justify-content: flex-end;
}

.inv-billing-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.inv-billing-filter button,
.inv-billing-filter a,
.inv-billing-form button,
.inv-billing-form a,
.inv-billing-delete-form button,
.inv-billing-use-stock {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.inv-billing-filter button,
.inv-billing-form button,
.inv-billing-use-stock {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.inv-billing-filter a,
.inv-billing-filter .secondary-command,
.inv-billing-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.inv-billing-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: .75rem 0 0;
}

.inv-billing-delete-form button {
  background: #ffffff;
  border: 1px solid #e1a5a5;
  color: #8a1f1f;
}

.inv-billing-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(22rem, .7fr);
  min-width: 0;
}

.inv-billing-editor,
.inv-billing-side,
.inv-billing-stock-panel,
.inv-billing-recent-panel {
  min-width: 0;
}

.inv-billing-side {
  display: grid;
  gap: 1rem;
}

.inv-billing-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr);
}

.inv-billing-customer-line {
  display: grid;
  gap: .35rem;
  grid-template-columns: minmax(0, 1fr) 2.5rem;
  min-width: 0;
}

.inv-billing-form .inv-billing-customer-add {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  width: 2.5rem;
}

.inv-billing-form .validation-summary,
.inv-billing-client-message,
.inv-billing-lines,
.inv-billing-totals,
.inv-billing-actions {
  grid-column: 1 / -1;
  min-width: 0;
}

.inv-billing-lines-wrap,
.inv-billing-stock-wrap,
.inv-billing-recent-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.inv-billing-lines-table {
  min-width: 72rem;
}

.inv-billing-lines-table td {
  padding: .32rem .25rem;
}

.inv-billing-lines-table input {
  min-height: 2.2rem;
  min-width: 5.5rem;
}

.inv-billing-lines-table input[type="hidden"] {
  display: none;
}

.inv-billing-lines-table td:nth-child(2) input {
  min-width: 16rem;
}

.inv-billing-stock-table {
  min-width: 46rem;
}

.inv-billing-recent-table {
  min-width: 34rem;
}

.inv-billing-stock-table td strong,
.inv-billing-stock-table td span,
.inv-billing-recent-table td strong,
.inv-billing-recent-table td span {
  display: block;
}

.inv-billing-stock-table td span,
.inv-billing-recent-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.inv-billing-totals {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: .75rem;
}

.inv-billing-totals span {
  color: #5f6f7f;
  font-size: .82rem;
  font-weight: 700;
}

.inv-billing-totals strong {
  color: #17212b;
  display: block;
  font-size: 1rem;
}

@media (max-width: 1400px) and (min-width: 761px) {
  .inv-billing-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .inv-billing-form {
    gap: .5rem .55rem;
  }

  .inv-billing-lines-wrap {
    overflow-x: visible;
  }

  .inv-billing-lines-table {
    font-size: .78rem;
    min-width: 0;
    table-layout: fixed;
    width: 100%;
  }

  .inv-billing-lines-table th,
  .inv-billing-lines-table td {
    padding: .18rem .14rem;
  }

  .inv-billing-lines-table input {
    font-size: .78rem;
    min-height: 1.95rem;
    min-width: 0;
    padding: .26rem .3rem;
  }

  .inv-billing-lines-table td:nth-child(2) input {
    min-width: 0;
  }

  .inv-billing-lines-table th:nth-child(1),
  .inv-billing-lines-table td:nth-child(1) {
    width: 11%;
  }

  .inv-billing-lines-table th:nth-child(2),
  .inv-billing-lines-table td:nth-child(2) {
    width: 25%;
  }

  .inv-billing-lines-table th:nth-child(3),
  .inv-billing-lines-table td:nth-child(3) {
    width: 10%;
  }

  .inv-billing-lines-table th:nth-child(4),
  .inv-billing-lines-table td:nth-child(4),
  .inv-billing-lines-table th:nth-child(6),
  .inv-billing-lines-table td:nth-child(6) {
    width: 8%;
  }

  .inv-billing-lines-table th:nth-child(5),
  .inv-billing-lines-table td:nth-child(5),
  .inv-billing-lines-table th:nth-child(8),
  .inv-billing-lines-table td:nth-child(8) {
    width: 7%;
  }

  .inv-billing-lines-table th:nth-child(7),
  .inv-billing-lines-table td:nth-child(7) {
    width: 11%;
  }

  .inv-billing-lines-table th:nth-child(9),
  .inv-billing-lines-table td:nth-child(9) {
    width: 13%;
  }

  .inv-billing-stock-table,
  .inv-billing-recent-table {
    font-size: .8rem;
    min-width: 0;
    table-layout: fixed;
    width: 100%;
  }

  .inv-billing-totals {
    gap: .35rem;
    padding: .55rem;
  }
}

@media (max-width: 1180px) and (min-width: 761px) {
  .inv-billing-side {
    grid-template-columns: minmax(0, 1fr);
  }
}

.new-purchase-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (min-width: 1200px) {
  body:has(.new-purchase-heading) .container {
    max-width: 1330px;
  }
}

.new-purchase-heading {
  margin: .7rem 0 .6rem;
}

.new-purchase-heading h1 {
  font-size: 1.35rem;
}

.new-purchase-counts {
  gap: .65rem;
  margin-bottom: .65rem;
}

.new-purchase-counts .metric-card {
  min-height: 4.8rem;
  padding: .65rem .75rem;
}

.new-purchase-counts .metric-card span {
  font-size: .78rem;
}

.new-purchase-counts .metric-card strong {
  font-size: 1.15rem;
  margin-top: .35rem;
}

.new-purchase-filter-panel {
  margin-bottom: .65rem;
  padding: .65rem;
}

.new-purchase-tools {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(18rem, .42fr) minmax(0, 1fr);
}

.new-purchase-filter {
  align-items: end;
  display: grid;
  gap: .45rem;
  grid-template-columns: max-content minmax(8rem, 10rem) auto;
}

.new-purchase-filter label,
.new-purchase-import label,
.new-purchase-form label {
  color: #415161;
  font-weight: 700;
}

.new-purchase-filter label,
.new-purchase-import label {
  padding-bottom: .55rem;
}

.new-purchase-filter input,
.new-purchase-filter select,
.new-purchase-import input,
.new-purchase-form input,
.new-purchase-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.05rem;
  padding: .32rem .45rem;
  width: 100%;
}

.new-purchase-filter-actions,
.new-purchase-import-actions,
.new-purchase-actions {
  display: flex;
  gap: .5rem;
}

.new-purchase-filter-actions,
.new-purchase-import-actions {
  justify-content: flex-end;
}

.new-purchase-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.new-purchase-import {
  align-items: end;
  display: grid;
  gap: .45rem;
  grid-template-columns: max-content minmax(10rem, 1fr) max-content minmax(10rem, 1fr) auto;
}

.new-purchase-filter button,
.new-purchase-filter a,
.new-purchase-import button,
.new-purchase-form button,
.new-purchase-form a,
.new-purchase-delete-form button,
.new-purchase-use-item {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.05rem;
  padding: .32rem .6rem;
  text-decoration: none;
}

.new-purchase-filter button,
.new-purchase-import button,
.new-purchase-form button,
.new-purchase-use-item {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.new-purchase-filter a,
.new-purchase-filter .secondary-command,
.new-purchase-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.new-purchase-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: .75rem 0 0;
}

.new-purchase-delete-form button {
  background: #ffffff;
  border: 1px solid #e1a5a5;
  color: #8a1f1f;
}

.new-purchase-layout {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .3fr);
  min-width: 0;
}

.new-purchase-editor,
.new-purchase-items-panel,
.new-purchase-recent-panel {
  padding: .65rem;
}

.new-purchase-editor,
.new-purchase-side,
.new-purchase-items-panel,
.new-purchase-recent-panel {
  min-width: 0;
}

.new-purchase-side {
  display: grid;
  gap: .65rem;
  grid-template-rows: minmax(0, 1fr) minmax(0, .8fr);
  max-height: calc(100vh - 15.5rem);
}

.new-purchase-form {
  display: grid;
  gap: .42rem .55rem;
  grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr);
}

.new-purchase-form label {
  font-size: .82rem;
}

.new-purchase-form .validation-summary,
.new-purchase-lines,
.new-purchase-totals,
.new-purchase-actions {
  grid-column: 1 / -1;
  min-width: 0;
}

.new-purchase-lines-wrap,
.new-purchase-items-wrap,
.new-purchase-recent-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
}

.new-purchase-lines-wrap {
  max-height: calc(100vh - 27.5rem);
  overflow: auto;
}

.new-purchase-items-wrap,
.new-purchase-recent-wrap {
  max-height: 100%;
  overflow: auto;
}

.new-purchase-lines-table {
  font-size: .7rem;
  min-width: 0;
  table-layout: fixed;
  width: 100%;
}

.new-purchase-lines-table th {
  overflow-wrap: anywhere;
  padding: .22rem .14rem;
  vertical-align: bottom;
}

.new-purchase-lines-table td {
  padding: .18rem .12rem;
  vertical-align: middle;
}

.new-purchase-lines-table input {
  font-size: .72rem;
  min-height: 1.75rem;
  min-width: 0;
  padding: .18rem .22rem;
}

.new-purchase-lines-table th:nth-child(1),
.new-purchase-lines-table td:nth-child(1) {
  width: 7.2%;
}

.new-purchase-lines-table th:nth-child(2),
.new-purchase-lines-table td:nth-child(2) {
  width: 17.2%;
}

.new-purchase-lines-table th:nth-child(3),
.new-purchase-lines-table td:nth-child(3),
.new-purchase-lines-table th:nth-child(5),
.new-purchase-lines-table td:nth-child(5),
.new-purchase-lines-table th:nth-child(6),
.new-purchase-lines-table td:nth-child(6),
.new-purchase-lines-table th:nth-child(8),
.new-purchase-lines-table td:nth-child(8),
.new-purchase-lines-table th:nth-child(9),
.new-purchase-lines-table td:nth-child(9),
.new-purchase-lines-table th:nth-child(12),
.new-purchase-lines-table td:nth-child(12) {
  width: 6.1%;
}

.new-purchase-lines-table th:nth-child(4),
.new-purchase-lines-table td:nth-child(4) {
  width: 7%;
}

.new-purchase-lines-table th:nth-child(7),
.new-purchase-lines-table td:nth-child(7),
.new-purchase-lines-table th:nth-child(10),
.new-purchase-lines-table td:nth-child(10),
.new-purchase-lines-table th:nth-child(11),
.new-purchase-lines-table td:nth-child(11) {
  width: 4.8%;
}

.new-purchase-lines-table th:nth-child(13),
.new-purchase-lines-table td:nth-child(13) {
  width: 9.5%;
}

.new-purchase-lines-table th:nth-child(14),
.new-purchase-lines-table td:nth-child(14) {
  width: 9.8%;
}

.new-purchase-items-table {
  font-size: .76rem;
  min-width: 0;
  table-layout: fixed;
  width: 100%;
}

.new-purchase-recent-table {
  font-size: .76rem;
  min-width: 0;
  table-layout: fixed;
  width: 100%;
}

.new-purchase-items-table td strong,
.new-purchase-items-table td span,
.new-purchase-recent-table td strong,
.new-purchase-recent-table td span {
  display: block;
}

.new-purchase-items-table td span,
.new-purchase-recent-table td span {
  color: #6d7c8a;
  font-size: .82rem;
}

.new-purchase-totals {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  display: grid;
  gap: .35rem .45rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: .55rem;
}

.new-purchase-totals span,
.new-purchase-totals label {
  color: #5f6f7f;
  font-size: .75rem;
  font-weight: 700;
}

.new-purchase-totals strong {
  color: #17212b;
  display: block;
  font-size: .9rem;
}

.item-sales-aggregate-row td {
  background: #f7fafc;
  font-weight: 700;
}

.item-sales-grand-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.daily-sale-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.daily-sale-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.daily-sale-table {
  min-width: 58rem;
}

.daily-sale-category-table {
  min-width: 50rem;
}

.daily-sale-total-row td {
  background: #fff8e6;
  font-weight: 700;
}

.daily-sale-size-row td {
  background: #f1f8f3;
  color: #415161;
  font-style: italic;
}

.daily-sale-grand-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.daily-sale-support-grid {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .55fr) minmax(16rem, .55fr);
}

.daily-sale-receipts dd {
  font-weight: 700;
  text-align: right;
}

.item-sales-bl-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.item-sales-bl-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(10rem, 13rem) auto auto;
}

.item-sales-bl-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.item-sales-bl-filter select,
.item-sales-bl-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.item-sales-bl-filter button,
.item-sales-bl-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.item-sales-bl-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.item-sales-bl-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.purchase-summary-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr) auto auto;
}

.purchase-summary-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.purchase-summary-filter select,
.purchase-summary-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.purchase-summary-filter button,
.purchase-summary-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.purchase-summary-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.purchase-summary-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.purchase-summary-table {
  min-width: 92rem;
}

.purchase-summary-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

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

.purchase-details-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr);
}

.purchase-details-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.purchase-details-filter select,
.purchase-details-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.purchase-details-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.purchase-details-filter button,
.purchase-details-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.purchase-details-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.purchase-details-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.purchase-details-table {
  min-width: 86rem;
}

.purchase-details-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.stock-transfer-report-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stock-transfer-report-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(12rem, 1fr));
}

.stock-transfer-report-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .3rem;
}

.stock-transfer-report-filter select,
.stock-transfer-report-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.stock-transfer-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.stock-transfer-report-filter button,
.stock-transfer-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.stock-transfer-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.stock-transfer-report-filter a,
.stock-transfer-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.stock-transfer-report-filter button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.stock-transfer-report-table-wrap {
  overflow-x: auto;
}

.stock-transfer-report-table {
  min-width: 92rem;
}

.stock-transfer-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.transfer-summary-dtr-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.transfer-summary-dtr-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
}

.transfer-summary-dtr-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.transfer-summary-dtr-filter select,
.transfer-summary-dtr-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.transfer-summary-dtr-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.transfer-summary-dtr-filter button,
.transfer-summary-dtr-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.transfer-summary-dtr-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.transfer-summary-dtr-filter a,
.transfer-summary-dtr-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.transfer-summary-dtr-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.transfer-summary-dtr-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(22rem, .7fr);
}

.transfer-summary-dtr-table-wrap {
  overflow-x: auto;
}

.transfer-summary-dtr-table {
  min-width: 82rem;
}

.transfer-summary-dtr-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.purchase-summary-dpr-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.purchase-summary-dpr-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr));
}

.purchase-summary-dpr-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.purchase-summary-dpr-filter select,
.purchase-summary-dpr-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.purchase-summary-dpr-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.purchase-summary-dpr-filter button,
.purchase-summary-dpr-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.purchase-summary-dpr-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.purchase-summary-dpr-filter a,
.purchase-summary-dpr-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.purchase-summary-dpr-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.purchase-summary-dpr-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, .7fr);
}

.purchase-summary-dpr-table-wrap {
  overflow-x: auto;
}

.purchase-summary-dpr-table {
  min-width: 92rem;
}

.purchase-summary-dpr-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.purchase-summary-dpr-company-panel {
  margin-top: 1rem;
}

.brand-ledger-value-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-ledger-value-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(14rem, 1.3fr) repeat(3, minmax(10rem, 1fr)) minmax(15rem, 1.1fr) auto;
}

.brand-ledger-value-filter label,
.brand-ledger-value-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.brand-ledger-value-filter select,
.brand-ledger-value-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.brand-ledger-value-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.brand-ledger-value-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.brand-ledger-value-mode-option {
  display: block;
  position: relative;
}

.brand-ledger-value-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.brand-ledger-value-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.brand-ledger-value-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.brand-ledger-value-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.brand-ledger-value-filter button,
.brand-ledger-value-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.brand-ledger-value-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.brand-ledger-value-filter a,
.brand-ledger-value-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.brand-ledger-value-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.brand-ledger-value-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, .75fr);
}

.brand-ledger-value-table-wrap {
  overflow-x: auto;
}

.brand-ledger-value-table {
  min-width: 92rem;
}

.brand-ledger-value-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.brand-ledger-mrp-value-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-ledger-mrp-value-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}

.brand-ledger-mrp-value-filter label,
.brand-ledger-mrp-value-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.brand-ledger-mrp-value-filter select,
.brand-ledger-mrp-value-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.brand-ledger-mrp-value-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.brand-ledger-mrp-value-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.brand-ledger-mrp-value-mode-option {
  display: block;
  position: relative;
}

.brand-ledger-mrp-value-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.brand-ledger-mrp-value-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.brand-ledger-mrp-value-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.brand-ledger-mrp-value-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.brand-ledger-mrp-value-filter button,
.brand-ledger-mrp-value-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.brand-ledger-mrp-value-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.brand-ledger-mrp-value-filter a,
.brand-ledger-mrp-value-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.brand-ledger-mrp-value-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.brand-ledger-mrp-value-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, .75fr);
}

.brand-ledger-mrp-value-table-wrap {
  overflow-x: auto;
}

.brand-ledger-mrp-value-table {
  min-width: 108rem;
}

.brand-ledger-mrp-value-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.stock-with-images-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stock-with-images-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.stock-with-images-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.stock-with-images-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.stock-with-images-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.stock-with-images-filter button,
.stock-with-images-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.stock-with-images-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.stock-with-images-filter a,
.stock-with-images-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.stock-with-images-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.stock-with-images-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
}

.stock-with-images-card {
  background: #ffffff;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.stock-with-images-photo {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #f4f7fa;
  color: #6a7785;
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 9rem;
}

.stock-with-images-photo img {
  height: 100%;
  object-fit: contain;
  padding: .55rem;
  width: 100%;
}

.stock-with-images-card-body {
  display: grid;
  gap: .65rem;
  padding: .85rem;
}

.stock-with-images-card-body h3 {
  color: #17212b;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
}

.stock-with-images-card-body dl {
  display: grid;
  gap: .45rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.stock-with-images-card-body dl div {
  border-top: 1px solid #edf1f5;
  padding-top: .45rem;
}

.stock-with-images-card-body dt {
  color: #6a7785;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stock-with-images-card-body dd {
  color: #17212b;
  font-weight: 800;
  margin: 0;
}

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

.item-image-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(10rem, .45fr) minmax(14rem, 1fr) auto;
}

.item-image-filter label,
.item-image-form label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.item-image-filter label {
  align-self: center;
}

.item-image-filter input,
.item-image-filter select,
.item-image-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.item-image-form input[readonly] {
  background: #eef3f7;
  color: #5b6875;
}

.item-image-filter-actions,
.item-image-actions {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.item-image-filter button,
.item-image-filter a,
.item-image-form button,
.item-image-form a,
.item-image-delete-form button,
.item-image-row-delete-form button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.item-image-filter button,
.item-image-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.item-image-filter a,
.item-image-filter .secondary-command,
.item-image-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.item-image-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(19rem, .45fr) minmax(0, 1fr);
}

.item-image-layout > *,
.item-image-editor,
.item-image-panel,
.item-image-form {
  min-width: 0;
}

.item-image-form {
  display: grid;
  gap: .7rem;
}

.item-image-form .validation-summary,
.item-image-field,
.item-image-actions {
  grid-column: 1 / -1;
}

.item-image-field {
  border: 1px dashed #cbd5df;
  border-radius: 8px;
  display: grid;
  gap: .65rem;
  padding: .75rem;
}

.item-image-current {
  align-items: start;
  display: grid;
  gap: .6rem;
  grid-template-columns: 7rem minmax(0, 1fr);
}

.item-image-current img,
.item-image-thumb {
  background: #f4f7fa;
  border: 1px solid #dbe3eb;
  border-radius: 6px;
  object-fit: contain;
}

.item-image-current img {
  aspect-ratio: 4 / 3;
  width: 7rem;
}

.item-image-current label {
  align-items: center;
  display: flex;
  gap: .45rem;
}

.item-image-current input {
  min-height: auto;
  width: auto;
}

.item-image-delete-form {
  border-top: 1px solid #edf1f5;
  margin-top: .8rem;
  padding-top: .8rem;
}

.item-image-delete-form button,
.item-image-row-delete-form button {
  background: #fff1f1;
  border: 1px solid #f0b7b7;
  color: #9c1b1b;
}

.item-image-row-delete-form {
  margin: 0;
}

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

.item-image-table {
  min-width: 56rem;
}

.item-image-table td {
  vertical-align: middle;
}

.item-image-thumb {
  height: 3.75rem;
  width: 5rem;
}

.item-image-empty {
  color: #7b8794;
  font-weight: 700;
}

.item-image-badge {
  background: #e9f7ef;
  border-radius: 999px;
  color: #176236;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  padding: .25rem .5rem;
}

.item-image-badge.is-missing {
  background: #fff1f1;
  color: #9c1b1b;
}

.item-image-missing-row td {
  background: #fff8f8;
}

.store-brand-ledger-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-brand-ledger-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(13rem, 1.2fr) repeat(3, minmax(10rem, 1fr)) auto;
}

.store-brand-ledger-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.store-brand-ledger-filter select,
.store-brand-ledger-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.store-brand-ledger-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.store-brand-ledger-filter button,
.store-brand-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.store-brand-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.store-brand-ledger-filter a,
.store-brand-ledger-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.store-brand-ledger-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.store-brand-ledger-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, .75fr);
}

.store-brand-ledger-table-wrap {
  overflow-x: auto;
}

.store-brand-ledger-table {
  min-width: 84rem;
}

.store-brand-ledger-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.category-ledger-value-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-ledger-value-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(14rem, 1.3fr) repeat(3, minmax(10rem, 1fr)) minmax(15rem, 1.1fr) auto;
}

.category-ledger-value-filter label,
.category-ledger-value-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.category-ledger-value-filter select,
.category-ledger-value-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.category-ledger-value-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.category-ledger-value-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.category-ledger-value-mode-option {
  display: block;
  position: relative;
}

.category-ledger-value-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.category-ledger-value-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.category-ledger-value-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.category-ledger-value-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.category-ledger-value-filter button,
.category-ledger-value-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.category-ledger-value-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.category-ledger-value-filter a,
.category-ledger-value-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.category-ledger-value-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.category-ledger-value-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, .75fr);
}

.category-ledger-value-table-wrap {
  overflow-x: auto;
}

.category-ledger-value-table {
  min-width: 78rem;
}

.category-ledger-value-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.fl-beer-iml-ledger-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fl-beer-iml-ledger-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 1fr) minmax(16rem, 1.2fr) auto;
}

.fl-beer-iml-ledger-filter label,
.fl-beer-iml-ledger-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.fl-beer-iml-ledger-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.fl-beer-iml-ledger-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.fl-beer-iml-ledger-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.fl-beer-iml-ledger-mode-option {
  display: block;
  position: relative;
}

.fl-beer-iml-ledger-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.fl-beer-iml-ledger-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.fl-beer-iml-ledger-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.fl-beer-iml-ledger-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.fl-beer-iml-ledger-filter button,
.fl-beer-iml-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.fl-beer-iml-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.fl-beer-iml-ledger-filter a,
.fl-beer-iml-ledger-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.fl-beer-iml-ledger-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.fl-beer-iml-ledger-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(21rem, .7fr);
}

.fl-beer-iml-ledger-table-wrap {
  overflow-x: auto;
}

.fl-beer-iml-ledger-table {
  min-width: 72rem;
}

.fl-beer-iml-ledger-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.excise-statement-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.excise-statement-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(10rem, 12rem)) minmax(16rem, 18rem) auto;
}

.excise-statement-filter label,
.excise-statement-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.excise-statement-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.excise-statement-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.excise-statement-mode-set legend {
  color: #415161;
  font-size: 1rem;
  font-weight: 700;
  grid-column: 1 / -1;
  margin: 0;
}

.excise-statement-mode-option {
  cursor: pointer;
  display: block;
  min-width: 0;
  position: relative;
}

.excise-statement-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.excise-statement-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .45rem .65rem;
}

.excise-statement-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.excise-statement-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.excise-statement-filter button,
.excise-statement-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.excise-statement-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.excise-statement-filter a,
.excise-statement-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.excise-statement-filter button:disabled {
  background: #eef3f7;
  border-color: #d5dee7;
  color: #8794a1;
  cursor: not-allowed;
}

.excise-statement-grid {
  grid-template-columns: minmax(0, 1fr) minmax(26rem, .85fr);
}

.excise-statement-grid,
.excise-statement-panel,
.excise-statement-type-panel,
.excise-statement-filter > * {
  min-width: 0;
}

.excise-statement-table-wrap,
.excise-statement-type-wrap {
  overflow-x: auto;
}

.excise-statement-table {
  min-width: 44rem;
}

.excise-statement-type-table {
  min-width: 38rem;
}

.excise-statement-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.election-statement-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.election-statement-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, minmax(10rem, 12rem)) minmax(16rem, 18rem) auto;
}

.election-statement-filter label,
.election-statement-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.election-statement-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.election-statement-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.election-statement-mode-set legend {
  color: #415161;
  font-size: 1rem;
  font-weight: 700;
  grid-column: 1 / -1;
  margin: 0;
}

.election-statement-mode-option {
  cursor: pointer;
  display: block;
  min-width: 0;
  position: relative;
}

.election-statement-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.election-statement-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .45rem .65rem;
}

.election-statement-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.election-statement-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.election-statement-filter button,
.election-statement-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.election-statement-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.election-statement-filter a,
.election-statement-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.election-statement-filter button:disabled {
  background: #eef3f7;
  border-color: #d5dee7;
  color: #8794a1;
  cursor: not-allowed;
}

.election-statement-panel,
.election-statement-filter > * {
  min-width: 0;
}

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

.election-statement-table {
  min-width: 58rem;
}

.election-statement-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

@media (max-width: 992px) {
  .election-statement-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .election-statement-filter {
    grid-template-columns: 1fr 1fr;
  }

  .election-statement-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .election-statement-counts,
  .election-statement-filter,
  .election-statement-mode-set {
    grid-template-columns: 1fr;
  }

  .election-statement-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .election-statement-heading,
  .election-statement-counts,
  .election-statement-filter-panel {
    display: none;
  }

  .election-statement-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .election-statement-table-wrap {
    overflow: visible;
  }

  .election-statement-table {
    font-size: .72rem;
    min-width: 0;
  }

  .election-statement-table th,
  .election-statement-table td {
    padding: .16rem .2rem;
  }
}

.category-stock-ledger-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-stock-ledger-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr)) minmax(15rem, 1.1fr) auto;
}

.category-stock-ledger-filter label,
.category-stock-ledger-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.category-stock-ledger-filter select,
.category-stock-ledger-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.category-stock-ledger-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.category-stock-ledger-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.category-stock-ledger-mode-option {
  display: block;
  position: relative;
}

.category-stock-ledger-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.category-stock-ledger-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.category-stock-ledger-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.category-stock-ledger-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.category-stock-ledger-filter button,
.category-stock-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.category-stock-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.category-stock-ledger-filter a,
.category-stock-ledger-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.category-stock-ledger-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.category-stock-ledger-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(22rem, .7fr);
}

.category-stock-ledger-table-wrap {
  overflow-x: auto;
}

.category-stock-ledger-table {
  min-width: 112rem;
}

.category-stock-ledger-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

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

.pack-ledger-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr)) minmax(15rem, 1.1fr) auto;
}

.pack-ledger-filter label,
.pack-ledger-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.pack-ledger-filter select,
.pack-ledger-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.pack-ledger-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.pack-ledger-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.pack-ledger-mode-option {
  display: block;
  position: relative;
}

.pack-ledger-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.pack-ledger-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.pack-ledger-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.pack-ledger-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.pack-ledger-filter button,
.pack-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.pack-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.pack-ledger-filter a,
.pack-ledger-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.pack-ledger-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.pack-ledger-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, .7fr);
}

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

.pack-ledger-table {
  min-width: 58rem;
}

.pack-ledger-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.category-pack-ledger-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-pack-ledger-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr)) minmax(15rem, 1.1fr) auto;
}

.category-pack-ledger-filter label,
.category-pack-ledger-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.category-pack-ledger-filter select,
.category-pack-ledger-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.category-pack-ledger-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.category-pack-ledger-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.category-pack-ledger-mode-option {
  display: block;
  position: relative;
}

.category-pack-ledger-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.category-pack-ledger-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.category-pack-ledger-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.category-pack-ledger-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.category-pack-ledger-filter button,
.category-pack-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.category-pack-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.category-pack-ledger-filter a,
.category-pack-ledger-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.category-pack-ledger-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.category-pack-ledger-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, .7fr);
}

.category-pack-ledger-table-wrap {
  overflow-x: auto;
}

.category-pack-ledger-table {
  min-width: 66rem;
}

.category-pack-ledger-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.category-pack-ledger-grid,
.category-pack-ledger-panel,
.category-pack-ledger-category-panel,
.category-pack-ledger-filter > * {
  min-width: 0;
}

.brand-pack-ledger-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-pack-ledger-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr)) minmax(15rem, 1.1fr) auto;
}

.brand-pack-ledger-filter label,
.brand-pack-ledger-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.brand-pack-ledger-filter select,
.brand-pack-ledger-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.brand-pack-ledger-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.brand-pack-ledger-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.brand-pack-ledger-mode-option {
  display: block;
  position: relative;
}

.brand-pack-ledger-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.brand-pack-ledger-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.brand-pack-ledger-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.brand-pack-ledger-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.brand-pack-ledger-filter button,
.brand-pack-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.brand-pack-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.brand-pack-ledger-filter a,
.brand-pack-ledger-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.brand-pack-ledger-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.brand-pack-ledger-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, .7fr);
}

.brand-pack-ledger-table-wrap {
  overflow-x: auto;
}

.brand-pack-ledger-table {
  min-width: 58rem;
}

.brand-pack-ledger-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.brand-pack-ledger-grid,
.brand-pack-ledger-panel,
.brand-pack-ledger-brand-panel,
.brand-pack-ledger-filter > * {
  min-width: 0;
}

.brand-stock-register-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-stock-register-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(6, minmax(9rem, 1fr)) auto;
}

.brand-stock-register-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.brand-stock-register-filter select,
.brand-stock-register-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.brand-stock-register-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.brand-stock-register-filter button,
.brand-stock-register-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.brand-stock-register-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.brand-stock-register-filter a,
.brand-stock-register-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.brand-stock-register-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.brand-stock-register-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(20rem, .7fr);
}

.brand-stock-register-table-wrap {
  overflow-x: auto;
}

.brand-stock-register-table {
  min-width: 96rem;
}

.brand-stock-register-table thead tr:first-child th {
  text-align: center;
}

.brand-stock-register-table th[rowspan] {
  vertical-align: bottom;
}

.brand-stock-register-table th,
.brand-stock-register-table td {
  white-space: nowrap;
}

.brand-stock-register-table .stock-opening-column {
  background: #fff8e6;
}

.brand-stock-register-table .stock-in-column {
  background: #fff1f1;
}

.brand-stock-register-table .stock-out-column {
  background: #edf7ff;
}

.brand-stock-register-table .stock-closing-column {
  background: #e9f7ef;
}

.brand-stock-register-total-row td {
  background: #d5f2ea;
  color: #143a35;
  font-weight: 700;
}

.brand-stock-register-grid,
.brand-stock-register-panel,
.brand-stock-register-brand-panel,
.brand-stock-register-filter > * {
  min-width: 0;
}

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

.brand-register-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(9rem, 1fr)) auto;
}

.brand-register-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.brand-register-filter select,
.brand-register-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.brand-register-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.brand-register-filter button,
.brand-register-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.brand-register-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.brand-register-filter a,
.brand-register-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.brand-register-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.brand-register-panel,
.brand-register-filter > * {
  min-width: 0;
}

.brand-register-panel .table-scroll {
  overflow-x: auto;
}

.brand-register-table {
  min-width: 76rem;
}

.brand-register-table th,
.brand-register-table td {
  white-space: nowrap;
}

.brand-register-subtotal-row td {
  background: #fff7d8;
  color: #4c3d12;
  font-weight: 700;
}

.brand-register-grand-total-row td {
  background: #d5f2ea;
  color: #143a35;
  font-weight: 700;
}

.brand-excise-register-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-excise-register-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(9rem, 1fr)) auto;
}

.brand-excise-register-filter label {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.brand-excise-register-filter select,
.brand-excise-register-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.brand-excise-register-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.brand-excise-register-filter button,
.brand-excise-register-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.brand-excise-register-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.brand-excise-register-filter a,
.brand-excise-register-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.brand-excise-register-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.brand-excise-register-panel,
.brand-excise-register-filter > * {
  min-width: 0;
}

.brand-excise-register-panel .table-scroll {
  overflow-x: auto;
}

.brand-excise-register-table {
  min-width: 118rem;
}

.brand-excise-register-table thead tr:first-child th {
  text-align: center;
}

.brand-excise-register-table th[rowspan] {
  vertical-align: bottom;
}

.brand-excise-register-table th,
.brand-excise-register-table td {
  white-space: nowrap;
}

.brand-excise-register-table .stock-opening-column {
  background: #fff8e6;
}

.brand-excise-register-table .stock-in-column {
  background: #fff1f1;
}

.brand-excise-register-table .stock-total-column {
  background: #f5f1ff;
}

.brand-excise-register-table .stock-out-column {
  background: #edf7ff;
}

.brand-excise-register-table .stock-closing-column {
  background: #e9f7ef;
}

.brand-excise-register-subtotal-row td {
  background: #fff7d8;
  color: #4c3d12;
  font-weight: 700;
}

.brand-excise-register-grand-total-row td {
  background: #d5f2ea;
  color: #143a35;
  font-weight: 700;
}

.category-stock-ledger-mrp-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-stock-ledger-mrp-filter {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(10rem, 1fr)) minmax(15rem, 1.1fr) auto;
}

.category-stock-ledger-mrp-filter label,
.category-stock-ledger-mrp-mode-set {
  color: #415161;
  display: grid;
  font-weight: 700;
  gap: .35rem;
}

.category-stock-ledger-mrp-filter select,
.category-stock-ledger-mrp-filter input[type="date"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.category-stock-ledger-mrp-mode-set {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.category-stock-ledger-mrp-mode-set legend {
  font-size: .85rem;
  grid-column: 1 / -1;
  margin: 0;
}

.category-stock-ledger-mrp-mode-option {
  display: block;
  position: relative;
}

.category-stock-ledger-mrp-mode-option input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.category-stock-ledger-mrp-mode-option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .65rem;
}

.category-stock-ledger-mrp-mode-option input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.category-stock-ledger-mrp-actions {
  align-items: end;
  display: flex;
  gap: .5rem;
}

.category-stock-ledger-mrp-filter button,
.category-stock-ledger-mrp-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.category-stock-ledger-mrp-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.category-stock-ledger-mrp-filter a,
.category-stock-ledger-mrp-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.category-stock-ledger-mrp-filter button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.category-stock-ledger-mrp-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(22rem, .7fr);
}

.category-stock-ledger-mrp-table-wrap {
  overflow-x: auto;
}

.category-stock-ledger-mrp-table {
  min-width: 104rem;
}

.category-stock-ledger-mrp-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

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

.supplier-payment-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr) auto auto;
}

.supplier-payment-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.supplier-payment-filter select,
.supplier-payment-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.supplier-payment-filter button,
.supplier-payment-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.supplier-payment-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.supplier-payment-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.supplier-payment-table td {
  overflow-wrap: anywhere;
}

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

.supplier-outstanding-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr);
}

.supplier-outstanding-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.supplier-outstanding-filter select,
.supplier-outstanding-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.supplier-outstanding-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.supplier-outstanding-filter button,
.supplier-outstanding-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.supplier-outstanding-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.supplier-outstanding-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.supplier-outstanding-table td {
  overflow-wrap: anywhere;
}

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

.supplier-ledger-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr);
}

.supplier-ledger-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.supplier-ledger-filter select,
.supplier-ledger-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.supplier-ledger-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.supplier-ledger-filter button,
.supplier-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.supplier-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.supplier-ledger-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.supplier-ledger-table {
  min-width: 92rem;
}

.supplier-ledger-table td {
  overflow-wrap: anywhere;
}

.supplier-ledger-opening-row td {
  background: #fff8e6;
  font-weight: 700;
}

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

.receipt-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(10rem, 1fr);
}

.receipt-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.receipt-report-filter select,
.receipt-report-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.receipt-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.receipt-report-filter button,
.receipt-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.receipt-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.receipt-report-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.receipt-report-table {
  min-width: 102rem;
}

.receipt-report-table td {
  overflow-wrap: anywhere;
}

.receipt-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

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

.customer-status-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(14rem, 1fr) auto;
}

.customer-status-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.customer-status-filter select,
.customer-status-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.customer-status-actions {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
}

.customer-status-filter button,
.customer-status-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.customer-status-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.customer-status-filter a,
.customer-status-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.customer-status-filter button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

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

.customer-status-table {
  min-width: 56rem;
}

.customer-status-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

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

.payment-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(10rem, 1fr);
}

.payment-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.payment-report-filter select,
.payment-report-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.payment-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.payment-report-filter button,
.payment-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.payment-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.payment-report-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.payment-report-table {
  min-width: 102rem;
}

.payment-report-table td {
  overflow-wrap: anywhere;
}

.payment-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.ledger-summary-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ledger-summary-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) auto;
}

.ledger-summary-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.ledger-summary-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.ledger-summary-actions {
  display: flex;
  gap: .5rem;
}

.ledger-summary-filter button,
.ledger-summary-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.ledger-summary-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.ledger-summary-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.ledger-summary-table {
  min-width: 58rem;
}

.ledger-summary-table td {
  overflow-wrap: anywhere;
}

.ledger-summary-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.cash-book-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cash-book-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) auto;
}

.cash-book-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.cash-book-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.cash-book-actions {
  display: flex;
  gap: .5rem;
}

.cash-book-filter button,
.cash-book-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.cash-book-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.cash-book-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.cash-book-table {
  min-width: 76rem;
}

.cash-book-table td {
  overflow-wrap: anywhere;
}

.cash-book-balance-row td {
  background: #fff8e6;
  font-weight: 700;
}

.bank-book-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bank-book-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(12rem, 1fr) max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) auto;
}

.bank-book-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bank-book-filter select,
.bank-book-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bank-book-actions {
  display: flex;
  gap: .5rem;
}

.bank-book-filter button,
.bank-book-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bank-book-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bank-book-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.bank-book-table {
  min-width: 76rem;
}

.bank-book-table td {
  overflow-wrap: anywhere;
}

.bank-book-balance-row td {
  background: #fff8e6;
  font-weight: 700;
}

.journal-entry-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.journal-entry-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) max-content minmax(8rem, 10rem) max-content minmax(12rem, 1fr);
}

.journal-entry-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.journal-entry-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.journal-entry-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.journal-entry-filter button,
.journal-entry-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.journal-entry-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.journal-entry-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.journal-entry-table {
  min-width: 86rem;
}

.journal-entry-table td {
  overflow-wrap: anywhere;
}

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

.bank-transaction-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr) max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem);
}

.bank-transaction-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bank-transaction-filter select,
.bank-transaction-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bank-transaction-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.bank-transaction-filter button,
.bank-transaction-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bank-transaction-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bank-transaction-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.bank-transaction-table {
  min-width: 82rem;
}

.bank-transaction-table td {
  overflow-wrap: anywhere;
}

.bank-transaction-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.party-ledger-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.party-ledger-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(12rem, 1fr) max-content minmax(9rem, 11rem) max-content minmax(9rem, 11rem) auto;
}

.party-ledger-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.party-ledger-filter select,
.party-ledger-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.party-ledger-actions {
  display: flex;
  gap: .5rem;
}

.party-ledger-filter button,
.party-ledger-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.party-ledger-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.party-ledger-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.party-ledger-table {
  min-width: 76rem;
}

.party-ledger-table td {
  overflow-wrap: anywhere;
}

.party-ledger-balance-row td {
  background: #fff8e6;
  font-weight: 700;
}

.monthly-purchase-sale-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.monthly-purchase-sale-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 10rem) auto;
}

.monthly-purchase-sale-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.monthly-purchase-sale-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.monthly-purchase-sale-actions {
  display: flex;
  gap: .5rem;
}

.monthly-purchase-sale-filter button,
.monthly-purchase-sale-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.monthly-purchase-sale-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.monthly-purchase-sale-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.monthly-purchase-sale-table-wrap {
  overflow-x: auto;
}

.monthly-purchase-sale-table {
  min-width: 86rem;
}

.monthly-purchase-sale-table td {
  overflow-wrap: anywhere;
}

.monthly-purchase-sale-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.bill-monthly-summary-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bill-monthly-summary-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(11rem, 13rem) auto;
}

.bill-monthly-summary-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.bill-monthly-summary-filter input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.bill-monthly-summary-actions {
  display: flex;
  gap: .5rem;
}

.bill-monthly-summary-filter button,
.bill-monthly-summary-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.bill-monthly-summary-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.bill-monthly-summary-filter a,
.bill-monthly-summary-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.bill-monthly-summary-table-wrap {
  overflow-x: auto;
}

.bill-monthly-summary-table {
  min-width: 78rem;
}

.bill-monthly-summary-table td {
  overflow-wrap: anywhere;
}

.bill-monthly-summary-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.monthly-comparative-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.monthly-comparative-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 10rem) auto auto;
}

.monthly-comparative-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.monthly-comparative-filter input[type="number"] {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.monthly-comparative-mode {
  align-items: center;
  border: 0;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.monthly-comparative-mode legend {
  color: #415161;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 .65rem 0 0;
  padding: 0;
  width: auto;
}

.monthly-comparative-mode label {
  padding: 0;
}

.monthly-comparative-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.monthly-comparative-mode span {
  align-items: center;
  border: 1px solid #cbd5df;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 5.5rem;
  padding: .5rem .75rem;
}

.monthly-comparative-mode label:first-of-type span {
  border-radius: 6px 0 0 6px;
}

.monthly-comparative-mode label:last-of-type span {
  border-left: 0;
  border-radius: 0 6px 6px 0;
}

.monthly-comparative-mode input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.monthly-comparative-actions {
  display: flex;
  gap: .5rem;
}

.monthly-comparative-filter button,
.monthly-comparative-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.monthly-comparative-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.monthly-comparative-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.monthly-comparative-table {
  min-width: 86rem;
}

.monthly-comparative-table td {
  overflow-wrap: anywhere;
}

.monthly-comparative-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.staff-pay-report-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.staff-pay-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(12rem, 1fr) max-content minmax(8rem, 10rem) max-content minmax(10rem, 12rem) max-content minmax(9rem, 11rem);
}

.staff-pay-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.staff-pay-report-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.staff-pay-report-actions {
  display: flex;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.staff-pay-report-filter button,
.staff-pay-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.staff-pay-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.staff-pay-report-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.staff-pay-report-table-wrap {
  overflow-x: auto;
}

.staff-pay-report-table {
  min-width: 132rem;
}

.staff-pay-report-table td {
  overflow-wrap: anywhere;
}

.staff-pay-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.daily-figure-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.daily-figure-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(10rem, 12rem) max-content minmax(8rem, 10rem) auto auto;
}

.daily-figure-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.daily-figure-filter input[type="number"],
.daily-figure-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  width: 100%;
}

.daily-figure-mode {
  align-items: center;
  border: 0;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.daily-figure-mode legend {
  color: #415161;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 .65rem 0 0;
  padding: 0;
  width: auto;
}

.daily-figure-mode label {
  padding: 0;
}

.daily-figure-mode input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.daily-figure-mode span {
  align-items: center;
  border: 1px solid #cbd5df;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 5.5rem;
  padding: .5rem .75rem;
}

.daily-figure-mode label:first-of-type span {
  border-radius: 6px 0 0 6px;
}

.daily-figure-mode label:last-of-type span {
  border-left: 0;
  border-radius: 0 6px 6px 0;
}

.daily-figure-mode input:checked + span {
  background: #17212b;
  border-color: #17212b;
  color: #ffffff;
}

.daily-figure-actions {
  display: flex;
  gap: .5rem;
}

.daily-figure-filter button,
.daily-figure-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.daily-figure-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.daily-figure-filter a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.daily-figure-table {
  min-width: 92rem;
}

.daily-figure-table td {
  overflow-wrap: anywhere;
}

.daily-figure-table td:last-child {
  min-width: 18rem;
}

.daily-figure-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

.login-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 12rem);
}

.login-panel {
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(23, 33, 43, .05);
  max-width: 28rem;
  padding: 1rem;
  width: 100%;
}

.login-panel h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.login-form {
  display: grid;
  gap: .45rem;
}

.login-form label {
  color: #415161;
  font-weight: 700;
  margin-top: .35rem;
}

.login-form input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.6rem;
  padding: .55rem .65rem;
  width: 100%;
}

.login-form input:focus {
  border-color: #258cfb;
  box-shadow: 0 0 0 .2rem rgba(37, 140, 251, .15);
  outline: 0;
}

.login-form input[readonly] {
  background: #f7fafc;
  color: #415161;
}

.login-form button {
  background: #17212b;
  border: 1px solid #17212b;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  margin-top: .75rem;
  min-height: 2.75rem;
}

.login-form span,
.validation-summary {
  color: #b42318;
  font-size: .9rem;
}

.validation-summary ul {
  margin: 0;
  padding-left: 1rem;
}

.login-context {
  background: #f7fafc;
  border: 1px solid #e1e7ed;
  border-radius: 6px;
  display: grid;
  gap: .6rem;
  margin: 1rem 0 0;
  padding: .75rem;
}

.login-context div {
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.login-context dt {
  color: #5f6f7f;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.login-context dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

@media (max-width: 992px) {
  .metric-grid,
  .content-grid,
  .dashboard-action-grid,
  .dashboard-module-grid,
  .route-map ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stock-filter {
    grid-template-columns: 1fr 1fr;
  }

  .daily-item-status-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-item-status-ft-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-item-status-filter {
    grid-template-columns: 1fr 1fr;
  }

  .daily-item-status-ft-filter {
    grid-template-columns: 1fr 1fr;
  }

  .daily-item-status-filter label {
    padding-bottom: 0;
  }

  .daily-item-status-actions {
    justify-content: flex-start;
  }

  .daily-item-status-ft-actions {
    justify-content: flex-start;
  }

  .item-current-stock-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar-current-stock-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .item-current-stock-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bar-current-stock-filter {
    grid-template-columns: 1fr 1fr;
  }

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

  .unlock-table-filter {
    grid-template-columns: 1fr 1fr;
  }

  .item-current-stock-filter label,
  .bar-current-stock-filter label,
  .unlock-table-filter label {
    padding-bottom: 0;
  }

  .item-current-stock-actions,
  .bar-current-stock-actions,
  .unlock-table-actions,
  .unlock-table-post-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .bill-printing-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bill-printing-filter label {
    padding-bottom: 0;
  }

  .bill-printing-actions {
    justify-content: flex-start;
  }

  .bill-printing-invoices {
    grid-template-columns: 1fr;
  }

  .qr-code-counts,
  .qr-code-workspace {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stock-filter label,
  .invbill-filter label {
    padding-bottom: 0;
  }

  .invbill-filter {
    grid-template-columns: 1fr 1fr;
  }

  .company-definition {
    grid-template-columns: 1fr;
  }

  .purchase-filter {
    grid-template-columns: 1fr 1fr;
  }

  .purchase-filter label {
    padding-bottom: 0;
  }

  .sales-filter {
    grid-template-columns: 1fr 1fr;
  }

  .sales-filter label {
    padding-bottom: 0;
  }

  .sales-actions {
    justify-content: flex-start;
  }

  .item-sales-filter {
    grid-template-columns: 1fr 1fr;
  }

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

  .daily-sale-support-grid {
    grid-template-columns: 1fr;
  }

  .void-bar-sale-details-filter {
    grid-template-columns: 1fr 1fr;
  }

  .void-bar-sale-details-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar-profit-report-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar-transfer-report-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar-gst-report-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bar-food-ledger-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bar-food-purchase-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bar-sale-report-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .item-sales-filter label {
    padding-bottom: 0;
  }

  .item-sales-actions {
    justify-content: flex-start;
  }

  .void-bar-sale-details-actions {
    justify-content: flex-start;
  }

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

  .daily-visit-filter {
    grid-template-columns: 1fr 1fr;
  }

  .daily-visit-filter label {
    padding-bottom: 0;
  }

  .daily-visit-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .daily-visit-layout {
    grid-template-columns: 1fr;
  }

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

  .inventory-item-filter {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-item-filter label {
    padding-bottom: 0;
  }

  .inventory-item-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .inventory-item-layout {
    grid-template-columns: 1fr;
  }

  .inventory-stock-register-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-stock-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-stock-register-filter label {
    padding-bottom: 0;
  }

  .inventory-stock-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .inventory-stock-register-layout {
    grid-template-columns: 1fr;
  }

  .inventory-stock-report-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-stock-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-stock-report-filter label {
    padding-bottom: 0;
  }

  .inventory-stock-report-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

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

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

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

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

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

  .bar-liquor-item-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

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

  .scheme-setting-filter {
    grid-template-columns: 1fr 1fr;
  }

  .customer-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .supplier-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .stock-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .category-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .item-register-filter,
  .item-register-copy-form {
    grid-template-columns: 1fr 1fr;
  }

  .bar-liquor-item-filter {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .store-register-filter {
    grid-template-columns: 1fr 1fr;
  }

  .staff-register-filter,
  .staff-register-form {
    grid-template-columns: 1fr 1fr;
  }

  .user-control-filter,
  .user-control-identity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .user-control-permissions {
    grid-template-columns: minmax(0, 1fr);
  }

  .administrator-layout,
  .administrator-action-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .scheme-setting-filter label {
    padding-bottom: 0;
  }

  .customer-register-filter label {
    padding-bottom: 0;
  }

  .supplier-register-filter label {
    padding-bottom: 0;
  }

  .stock-register-filter label {
    padding-bottom: 0;
  }

  .category-register-filter label {
    padding-bottom: 0;
  }

  .item-register-filter label,
  .item-register-copy-form label,
  .bar-liquor-item-filter label {
    padding-bottom: 0;
    padding-top: 0;
  }

  .ledger-register-filter label {
    padding-bottom: 0;
  }

  .store-register-filter label {
    padding-bottom: 0;
  }

  .staff-register-filter label {
    padding-bottom: 0;
  }

  .user-control-filter label {
    padding-bottom: 0;
  }

  .scheme-setting-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .customer-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .supplier-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .stock-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .category-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .item-register-filter-actions,
  .item-register-copy-actions,
  .bar-liquor-item-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .ledger-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .store-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .staff-register-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .user-control-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .scheme-setting-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .supplier-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .stock-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .item-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .bar-liquor-item-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ledger-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .staff-register-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .user-control-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .licensee-info-grid {
    grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
  }

  .licensee-info-readonly {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .scheme-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .scheme-report-filter label {
    padding-bottom: 0;
  }

  .scheme-report-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .bar-purchase-entry-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-purchase-entry-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-sale-entry-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .new-purchase-tools {
    grid-template-columns: 1fr;
  }

  .inventory-transfer-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bar-purchase-entry-filter {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-purchase-entry-filter {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-sale-entry-filter {
    grid-template-columns: 1fr 1fr;
  }

  .inv-billing-filter {
    grid-template-columns: 1fr 1fr;
  }

  .new-purchase-filter {
    grid-template-columns: 1fr 1fr;
  }

  .new-purchase-import {
    grid-template-columns: 1fr 1fr;
  }

  .bar-transfer-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bar-gst-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bar-food-ledger-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bar-food-purchase-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bar-sale-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .inventory-transfer-filter label,
  .bar-purchase-entry-filter label,
  .inventory-purchase-entry-filter label,
  .inventory-sale-entry-filter label,
  .inv-billing-filter label,
  .new-purchase-filter label,
  .new-purchase-import label,
  .bar-transfer-report-filter label,
  .bar-gst-report-filter label,
  .bar-food-ledger-filter label,
  .bar-food-purchase-filter label,
  .bar-sale-report-filter label {
    padding-bottom: 0;
  }

  .inventory-transfer-filter-actions,
  .bar-purchase-entry-filter-actions,
  .inventory-purchase-entry-filter-actions,
  .inventory-sale-entry-filter-actions,
  .inv-billing-filter-actions,
  .new-purchase-filter-actions,
  .new-purchase-import-actions,
  .bar-transfer-report-actions,
  .bar-gst-report-actions,
  .bar-food-ledger-actions,
  .bar-food-purchase-actions,
  .bar-sale-report-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .bar-transfer-report-print-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-transfer-layout,
  .bar-purchase-entry-layout,
  .inventory-purchase-entry-layout,
  .inventory-sale-entry-layout,
  .inv-billing-layout,
  .new-purchase-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .inventory-transfer-form,
  .bar-purchase-entry-form,
  .inventory-purchase-entry-form,
  .inventory-sale-entry-form,
  .inv-billing-form,
  .new-purchase-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-transfer-form label,
  .bar-purchase-entry-form label,
  .inventory-purchase-entry-form label,
  .inventory-sale-entry-form label,
  .inv-billing-form label,
  .new-purchase-form label {
    padding-bottom: 0;
  }

  .inventory-transfer-actions,
  .inventory-transfer-delete-form,
  .bar-purchase-entry-actions,
  .bar-purchase-entry-delete-form,
  .inventory-purchase-entry-actions,
  .inventory-purchase-entry-delete-form,
  .inventory-sale-entry-actions,
  .inventory-sale-entry-delete-form,
  .inv-billing-actions,
  .inv-billing-delete-form,
  .new-purchase-actions,
  .new-purchase-delete-form {
    justify-content: flex-start;
  }

  .bar-purchase-entry-totals,
  .inventory-purchase-entry-totals,
  .inventory-sale-entry-totals,
  .inventory-transfer-totals,
  .inv-billing-totals,
  .new-purchase-totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .item-sales-bl-filter {
    grid-template-columns: 1fr 1fr;
  }

  .item-sales-bl-filter label {
    padding-bottom: 0;
  }

  .purchase-summary-filter {
    grid-template-columns: 1fr 1fr;
  }

  .purchase-summary-filter label {
    padding-bottom: 0;
  }

  .purchase-details-filter {
    grid-template-columns: 1fr 1fr;
  }

  .purchase-details-filter label {
    padding-bottom: 0;
  }

  .purchase-details-actions {
    justify-content: flex-start;
  }

  .stock-transfer-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .stock-transfer-report-actions {
    justify-content: flex-start;
  }

  .transfer-summary-dtr-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transfer-summary-dtr-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transfer-summary-dtr-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .transfer-summary-dtr-grid {
    grid-template-columns: 1fr;
  }

  .purchase-summary-dpr-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .purchase-summary-dpr-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .purchase-summary-dpr-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .purchase-summary-dpr-grid {
    grid-template-columns: 1fr;
  }

  .brand-ledger-value-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-ledger-value-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-ledger-value-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .brand-ledger-value-grid {
    grid-template-columns: 1fr;
  }

  .brand-ledger-mrp-value-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-ledger-mrp-value-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-ledger-mrp-value-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .brand-ledger-mrp-value-grid {
    grid-template-columns: 1fr;
  }

  .stock-with-images-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .item-image-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .stock-with-images-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .store-brand-ledger-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-brand-ledger-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-brand-ledger-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .store-brand-ledger-grid {
    grid-template-columns: 1fr;
  }

  .category-ledger-value-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-ledger-value-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-ledger-value-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .category-ledger-value-grid {
    grid-template-columns: 1fr;
  }

  .fl-beer-iml-ledger-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fl-beer-iml-ledger-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fl-beer-iml-ledger-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .fl-beer-iml-ledger-grid {
    grid-template-columns: 1fr;
  }

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

  .excise-statement-filter {
    grid-template-columns: 1fr 1fr;
  }

  .excise-statement-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .excise-statement-grid {
    grid-template-columns: 1fr;
  }

  .category-stock-ledger-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-stock-ledger-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-stock-ledger-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .category-stock-ledger-grid {
    grid-template-columns: 1fr;
  }

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

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

  .pack-ledger-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .pack-ledger-grid {
    grid-template-columns: 1fr;
  }

  .category-stock-ledger-mrp-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-stock-ledger-mrp-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-stock-ledger-mrp-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .category-stock-ledger-mrp-grid {
    grid-template-columns: 1fr;
  }

  .supplier-payment-filter {
    grid-template-columns: 1fr 1fr;
  }

  .supplier-payment-filter label {
    padding-bottom: 0;
  }

  .supplier-outstanding-filter {
    grid-template-columns: 1fr 1fr;
  }

  .supplier-outstanding-filter label {
    padding-bottom: 0;
  }

  .supplier-outstanding-actions {
    justify-content: flex-start;
  }

  .supplier-ledger-filter {
    grid-template-columns: 1fr 1fr;
  }

  .supplier-ledger-filter label {
    padding-bottom: 0;
  }

  .supplier-ledger-actions {
    justify-content: flex-start;
  }

  .receipt-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .receipt-report-filter label {
    padding-bottom: 0;
  }

  .receipt-report-actions {
    justify-content: flex-start;
  }

  .customer-status-filter {
    grid-template-columns: 1fr 1fr;
  }

  .customer-status-filter label {
    padding-bottom: 0;
  }

  .customer-status-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .payment-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .payment-report-filter label {
    padding-bottom: 0;
  }

  .payment-report-actions {
    justify-content: flex-start;
  }

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

  .ledger-summary-filter {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-summary-filter label {
    padding-bottom: 0;
  }

  .ledger-summary-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .cash-book-filter {
    grid-template-columns: 1fr 1fr;
  }

  .cash-book-filter label {
    padding-bottom: 0;
  }

  .cash-book-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .bank-book-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bank-book-filter label {
    padding-bottom: 0;
  }

  .bank-book-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .journal-entry-filter {
    grid-template-columns: 1fr 1fr;
  }

  .journal-entry-filter label {
    padding-bottom: 0;
  }

  .journal-entry-actions {
    justify-content: flex-start;
  }

  .bank-transaction-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bank-transaction-filter label {
    padding-bottom: 0;
  }

  .bank-transaction-actions {
    justify-content: flex-start;
  }

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

  .party-ledger-filter {
    grid-template-columns: 1fr 1fr;
  }

  .party-ledger-filter label {
    padding-bottom: 0;
  }

  .party-ledger-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .monthly-purchase-sale-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .monthly-purchase-sale-filter {
    grid-template-columns: 1fr 1fr;
  }

  .monthly-purchase-sale-filter label {
    padding-bottom: 0;
  }

  .monthly-purchase-sale-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .bill-monthly-summary-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bill-monthly-summary-filter {
    grid-template-columns: 1fr 1fr;
  }

  .bill-monthly-summary-filter label {
    padding-bottom: 0;
  }

  .bill-monthly-summary-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .monthly-comparative-filter {
    grid-template-columns: 1fr 1fr;
  }

  .monthly-comparative-filter label {
    padding-bottom: 0;
  }

  .monthly-comparative-mode,
  .monthly-comparative-actions {
    grid-column: 1 / -1;
  }

  .monthly-comparative-actions {
    justify-content: flex-start;
  }

  .staff-pay-report-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-pay-report-filter {
    grid-template-columns: 1fr 1fr;
  }

  .staff-pay-report-filter label {
    padding-bottom: 0;
  }

  .staff-pay-report-actions {
    justify-content: flex-start;
  }

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

  .daily-figure-filter {
    grid-template-columns: 1fr 1fr;
  }

  .daily-figure-filter label {
    padding-bottom: 0;
  }

  .daily-figure-mode,
  .daily-figure-actions {
    grid-column: 1 / -1;
  }

  .daily-figure-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-heading,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-grid,
  .content-grid,
  .dashboard-action-grid,
  .dashboard-module-grid,
  .route-map ol {
    grid-template-columns: 1fr;
  }

  .metric-card strong {
    font-size: 1.35rem;
  }

  .database-backup-run-form,
  .sql-backup-run-form {
    grid-template-columns: 1fr;
  }

  .database-backup-run-form label,
  .sql-backup-run-form label {
    padding-top: 0;
  }

  .database-backup-run-form button,
  .sql-backup-run-form button {
    grid-column: 1;
  }

  .master-search div {
    align-items: stretch;
    flex-direction: column;
  }

  .master-search input {
    width: 100%;
  }

  .stock-filter {
    grid-template-columns: 1fr;
  }

  .daily-item-status-counts {
    grid-template-columns: 1fr;
  }

  .daily-item-status-ft-counts {
    grid-template-columns: 1fr;
  }

  .void-stock-register-counts {
    grid-template-columns: 1fr;
  }

  .void-bar-stock-register-counts {
    grid-template-columns: 1fr;
  }

  .void-sale-summary-counts {
    grid-template-columns: 1fr;
  }

  .admin-sale-modify-counts {
    grid-template-columns: 1fr;
  }

  .supplier-payment-entry-counts {
    grid-template-columns: 1fr;
  }

  .void-sales-item-details-counts {
    grid-template-columns: 1fr;
  }

  .bar-current-stock-counts {
    grid-template-columns: 1fr;
  }

  .unlock-table-counts {
    grid-template-columns: 1fr;
  }

  .daily-item-status-filter {
    grid-template-columns: 1fr;
  }

  .daily-item-status-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-item-status-ft-filter,
  .daily-item-status-ft-mode-set {
    grid-template-columns: 1fr;
  }

  .daily-item-status-ft-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .item-current-stock-counts {
    grid-template-columns: 1fr;
  }

  .item-current-stock-filter {
    grid-template-columns: 1fr;
  }

  .bar-current-stock-filter {
    grid-template-columns: 1fr;
  }

  .unlock-table-filter {
    grid-template-columns: 1fr;
  }

  .item-current-stock-actions,
  .bar-current-stock-actions,
  .unlock-table-actions,
  .unlock-table-post-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bill-printing-counts {
    grid-template-columns: 1fr;
  }

  .inv-billing-counts {
    grid-template-columns: 1fr;
  }

  .new-purchase-counts {
    grid-template-columns: 1fr;
  }

  .inv-billing-filter,
  .inv-billing-form,
  .new-purchase-filter,
  .new-purchase-import,
  .new-purchase-form {
    grid-template-columns: 1fr;
  }

  .inv-billing-filter-actions,
  .inv-billing-actions,
  .inv-billing-delete-form,
  .new-purchase-filter-actions,
  .new-purchase-import-actions,
  .new-purchase-actions,
  .new-purchase-delete-form {
    align-items: stretch;
    flex-direction: column;
  }

  .bill-printing-filter {
    grid-template-columns: 1fr;
  }

  .bill-printing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bill-invoice-meta,
  .bill-invoice-total {
    grid-template-columns: 1fr;
  }

  .qr-code-counts,
  .qr-code-workspace {
    grid-template-columns: 1fr;
  }

  .qr-code-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .invbill-filter {
    grid-template-columns: 1fr;
  }

  .purchase-filter {
    grid-template-columns: 1fr;
  }

  .transfer-summary-dtr-counts {
    grid-template-columns: 1fr;
  }

  .transfer-summary-dtr-filter {
    grid-template-columns: 1fr;
  }

  .transfer-summary-dtr-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-summary-dpr-counts {
    grid-template-columns: 1fr;
  }

  .purchase-summary-dpr-filter {
    grid-template-columns: 1fr;
  }

  .purchase-summary-dpr-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-ledger-value-counts,
  .brand-ledger-value-filter,
  .brand-ledger-value-mode-set {
    grid-template-columns: 1fr;
  }

  .brand-ledger-value-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-ledger-mrp-value-counts,
  .brand-ledger-mrp-value-filter,
  .brand-ledger-mrp-value-mode-set {
    grid-template-columns: 1fr;
  }

  .brand-ledger-mrp-value-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .stock-with-images-counts,
  .stock-with-images-filter {
    grid-template-columns: 1fr;
  }

  .item-image-counts,
  .item-image-filter,
  .item-image-form,
  .item-image-field {
    grid-template-columns: 1fr;
  }

  .stock-with-images-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .item-image-filter-actions,
  .item-image-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .store-brand-ledger-counts,
  .store-brand-ledger-filter {
    grid-template-columns: 1fr;
  }

  .store-brand-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-ledger-value-counts,
  .category-ledger-value-filter,
  .category-ledger-value-mode-set {
    grid-template-columns: 1fr;
  }

  .category-ledger-value-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fl-beer-iml-ledger-counts,
  .fl-beer-iml-ledger-filter,
  .fl-beer-iml-ledger-mode-set {
    grid-template-columns: 1fr;
  }

  .fl-beer-iml-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .excise-statement-counts,
  .excise-statement-filter,
  .excise-statement-mode-set {
    grid-template-columns: 1fr;
  }

  .excise-statement-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-stock-ledger-counts,
  .category-stock-ledger-filter,
  .category-stock-ledger-mode-set {
    grid-template-columns: 1fr;
  }

  .category-stock-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pack-ledger-counts,
  .pack-ledger-filter,
  .pack-ledger-mode-set {
    grid-template-columns: 1fr;
  }

  .pack-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-stock-ledger-mrp-counts,
  .category-stock-ledger-mrp-filter,
  .category-stock-ledger-mrp-mode-set {
    grid-template-columns: 1fr;
  }

  .category-stock-ledger-mrp-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sales-filter {
    grid-template-columns: 1fr;
  }

  .sales-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .void-stock-register-filter {
    grid-template-columns: 1fr;
  }

  .void-bar-stock-register-filter {
    grid-template-columns: 1fr;
  }

  .void-sale-summary-filter {
    grid-template-columns: 1fr;
  }

  .admin-sale-modify-filter {
    grid-template-columns: 1fr;
  }

  .supplier-payment-entry-filter,
  .supplier-payment-entry-layout {
    grid-template-columns: 1fr;
  }

  .void-sales-item-details-filter {
    grid-template-columns: 1fr;
  }

  .void-sale-summary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-sale-modify-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .supplier-payment-entry-actions,
  .supplier-payment-entry-save-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .void-sales-item-details-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bar-profit-report-counts {
    grid-template-columns: 1fr;
  }

  .void-bar-sale-details-counts {
    grid-template-columns: 1fr;
  }

  .bar-transfer-report-counts {
    grid-template-columns: 1fr;
  }

  .bar-gst-report-counts {
    grid-template-columns: 1fr;
  }

  .bar-food-ledger-counts {
    grid-template-columns: 1fr;
  }

  .bar-food-purchase-counts {
    grid-template-columns: 1fr;
  }

  .bar-sale-report-counts {
    grid-template-columns: 1fr;
  }

  .item-sales-filter {
    grid-template-columns: 1fr;
  }

  .daily-sale-counts {
    grid-template-columns: 1fr;
  }

  .void-bar-sale-details-filter {
    grid-template-columns: 1fr;
  }

  .item-sales-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .void-bar-sale-details-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-visit-counts {
    grid-template-columns: 1fr;
  }

  .daily-visit-filter,
  .daily-visit-form {
    grid-template-columns: 1fr;
  }

  .daily-visit-actions,
  .daily-visit-filter-actions,
  .daily-visit-row-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-visit-form span[data-valmsg-for] {
    grid-column: 1;
  }

  .visit-status-counts {
    grid-template-columns: 1fr;
  }

  .epos-mobile-counts {
    grid-template-columns: 1fr;
  }

  .epos-mobile-filter {
    grid-template-columns: 1fr;
  }

  .epos-mobile-filter > label {
    padding-bottom: 0;
  }

  .epos-mobile-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .epos-upload-counts {
    grid-template-columns: 1fr;
  }

  .epos-upload-filter {
    grid-template-columns: 1fr;
  }

  .epos-upload-filter > label {
    padding-bottom: 0;
  }

  .epos-upload-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inventory-sale-counts {
    grid-template-columns: 1fr;
  }

  .inventory-sale-summary-counts {
    grid-template-columns: 1fr;
  }

  .inventory-purchase-counts {
    grid-template-columns: 1fr;
  }

  .inventory-purchase-summary-counts {
    grid-template-columns: 1fr;
  }

  .inventory-dsr-counts {
    grid-template-columns: 1fr;
  }

  .inventory-item-counts {
    grid-template-columns: 1fr;
  }

  .inventory-stock-register-counts {
    grid-template-columns: 1fr;
  }

  .inventory-stock-report-counts {
    grid-template-columns: 1fr;
  }

  .scheme-setting-counts {
    grid-template-columns: 1fr;
  }

  .customer-register-counts {
    grid-template-columns: 1fr;
  }

  .supplier-register-counts {
    grid-template-columns: 1fr;
  }

  .stock-register-counts {
    grid-template-columns: 1fr;
  }

  .category-register-counts {
    grid-template-columns: 1fr;
  }

  .item-register-counts {
    grid-template-columns: 1fr;
  }

  .bar-liquor-item-counts {
    grid-template-columns: 1fr;
  }

  .ledger-register-counts {
    grid-template-columns: 1fr;
  }

  .store-register-counts {
    grid-template-columns: 1fr;
  }

  .staff-register-counts {
    grid-template-columns: 1fr;
  }

  .user-control-counts {
    grid-template-columns: 1fr;
  }

  .administrator-counts {
    grid-template-columns: 1fr;
  }

  .licensee-info-counts {
    grid-template-columns: 1fr;
  }

  .scheme-report-counts {
    grid-template-columns: 1fr;
  }

  .inventory-item-ledger-counts {
    grid-template-columns: 1fr;
  }

  .inventory-transfer-counts {
    grid-template-columns: 1fr;
  }

  .bar-purchase-entry-counts {
    grid-template-columns: 1fr;
  }

  .inventory-purchase-entry-counts {
    grid-template-columns: 1fr;
  }

  .inventory-sale-entry-counts {
    grid-template-columns: 1fr;
  }

  .inventory-transfer-filter,
  .inventory-item-filter,
  .inventory-item-form,
  .inventory-stock-register-filter,
  .inventory-stock-register-form,
  .inventory-stock-report-filter,
  .scheme-setting-filter,
  .scheme-setting-form,
  .customer-register-filter,
  .customer-register-form,
  .supplier-register-filter,
  .supplier-register-form,
  .stock-register-filter,
  .stock-register-form,
  .category-register-filter,
  .category-register-form,
  .item-register-filter,
  .item-register-copy-form,
  .item-register-form,
  .bar-liquor-item-filter,
  .bar-liquor-item-form,
  .ledger-register-filter,
  .ledger-register-form,
  .store-register-filter,
  .store-register-form,
  .staff-register-filter,
  .staff-register-form,
  .user-control-filter,
  .user-control-identity-grid,
  .user-control-permission-group,
  .administrator-action-form,
  .administrator-repair-form,
  .licensee-info-grid,
  .scheme-report-filter,
  .inventory-transfer-form,
  .bar-purchase-entry-filter,
  .bar-purchase-entry-form,
  .inventory-purchase-entry-filter,
  .inventory-purchase-entry-form,
  .inventory-sale-entry-filter,
  .inventory-sale-entry-form,
  .bar-transfer-report-filter,
  .bar-gst-report-filter,
  .bar-food-ledger-filter,
  .bar-food-purchase-filter,
  .bar-sale-report-filter {
    grid-template-columns: minmax(0, 1fr);
  }

  .inventory-transfer-filter-actions,
  .inventory-item-filter-actions,
  .inventory-item-actions,
  .inventory-stock-register-filter-actions,
  .inventory-stock-register-actions,
  .inventory-stock-report-actions,
  .scheme-setting-filter-actions,
  .scheme-setting-actions,
  .customer-register-filter-actions,
  .customer-register-actions,
  .supplier-register-filter-actions,
  .supplier-register-actions,
  .stock-register-filter-actions,
  .stock-register-actions,
  .category-register-filter-actions,
  .category-register-actions,
  .item-register-filter-actions,
  .item-register-copy-actions,
  .item-register-actions,
  .bar-liquor-item-filter-actions,
  .bar-liquor-item-actions,
  .ledger-register-filter-actions,
  .ledger-register-actions,
  .store-register-filter-actions,
  .store-register-actions,
  .staff-register-filter-actions,
  .staff-register-actions,
  .user-control-filter-actions,
  .user-control-actions,
  .licensee-info-actions,
  .scheme-report-actions,
  .inventory-transfer-actions,
  .bar-purchase-entry-filter-actions,
  .bar-purchase-entry-actions,
  .inventory-purchase-entry-filter-actions,
  .inventory-purchase-entry-actions,
  .inventory-sale-entry-filter-actions,
  .inventory-sale-entry-actions,
  .bar-transfer-report-actions,
  .bar-gst-report-actions,
  .bar-food-ledger-actions,
  .bar-food-purchase-actions,
  .bar-sale-report-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .staff-register-photo-control {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .staff-register-photo-preview {
    height: auto;
    width: min(100%, 12rem);
  }

  .inventory-item-current-image {
    grid-column: 1;
  }

  .bar-transfer-report-print-header {
    grid-template-columns: 1fr;
  }

  .inventory-transfer-delete-form,
  .bar-purchase-entry-delete-form,
  .inventory-purchase-entry-delete-form,
  .inventory-sale-entry-delete-form {
    align-items: stretch;
    flex-direction: column;
  }

  .bar-purchase-entry-totals,
  .inventory-purchase-entry-totals,
  .inventory-sale-entry-totals {
    grid-template-columns: 1fr;
  }

  .item-sales-bl-filter {
    grid-template-columns: 1fr;
  }

  .purchase-summary-filter {
    grid-template-columns: 1fr;
  }

  .purchase-details-filter {
    grid-template-columns: 1fr;
  }

  .purchase-details-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .supplier-payment-filter {
    grid-template-columns: 1fr;
  }

  .supplier-outstanding-filter {
    grid-template-columns: 1fr;
  }

  .supplier-outstanding-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .supplier-ledger-filter {
    grid-template-columns: 1fr;
  }

  .supplier-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .receipt-report-filter {
    grid-template-columns: 1fr;
  }

  .receipt-report-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-status-filter {
    grid-template-columns: 1fr;
  }

  .customer-status-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-report-filter {
    grid-template-columns: 1fr;
  }

  .payment-report-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ledger-summary-counts {
    grid-template-columns: 1fr;
  }

  .ledger-summary-filter {
    grid-template-columns: 1fr;
  }

  .ledger-summary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cash-book-counts {
    grid-template-columns: 1fr;
  }

  .cash-book-filter {
    grid-template-columns: 1fr;
  }

  .cash-book-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bank-book-counts {
    grid-template-columns: 1fr;
  }

  .bank-book-filter {
    grid-template-columns: 1fr;
  }

  .bank-book-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .journal-entry-counts {
    grid-template-columns: 1fr;
  }

  .journal-entry-filter {
    grid-template-columns: 1fr;
  }

  .journal-entry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bank-transaction-counts {
    grid-template-columns: 1fr;
  }

  .bank-transaction-filter {
    grid-template-columns: 1fr;
  }

  .bank-transaction-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .party-ledger-counts {
    grid-template-columns: 1fr;
  }

  .party-ledger-filter {
    grid-template-columns: 1fr;
  }

  .party-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .monthly-purchase-sale-counts {
    grid-template-columns: 1fr;
  }

  .monthly-purchase-sale-filter {
    grid-template-columns: 1fr;
  }

  .monthly-purchase-sale-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bill-monthly-summary-counts {
    grid-template-columns: 1fr;
  }

  .bill-monthly-summary-filter {
    grid-template-columns: 1fr;
  }

  .bill-monthly-summary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .monthly-comparative-counts {
    grid-template-columns: 1fr;
  }

  .monthly-comparative-filter {
    grid-template-columns: 1fr;
  }

  .monthly-comparative-mode {
    align-items: stretch;
    flex-direction: column;
  }

  .monthly-comparative-mode legend {
    margin: 0 0 .35rem;
  }

  .monthly-comparative-mode span,
  .monthly-comparative-mode label:first-of-type span,
  .monthly-comparative-mode label:last-of-type span {
    border: 1px solid #cbd5df;
    border-radius: 6px;
    width: 100%;
  }

  .monthly-comparative-mode label + label {
    margin-top: .4rem;
  }

  .monthly-comparative-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .staff-pay-report-counts {
    grid-template-columns: 1fr;
  }

  .staff-pay-report-filter {
    grid-template-columns: 1fr;
  }

  .staff-pay-report-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-figure-counts {
    grid-template-columns: 1fr;
  }

  .daily-figure-filter {
    grid-template-columns: 1fr;
  }

  .daily-figure-mode {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-figure-mode legend {
    margin: 0 0 .35rem;
  }

  .daily-figure-mode span,
  .daily-figure-mode label:first-of-type span,
  .daily-figure-mode label:last-of-type span {
    border: 1px solid #cbd5df;
    border-radius: 6px;
    width: 100%;
  }

  .daily-figure-mode label + label {
    margin-top: .4rem;
  }

  .daily-figure-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  html,
  body {
    background: #ffffff;
    color: #000000;
  }

  header,
  footer,
  .bill-printing-heading,
  .bill-printing-counts,
  .bill-printing-filter-panel,
  .bill-printing-summary-panel {
    display: none;
  }

  .stock-transfer-report-heading,
  .stock-transfer-report-counts,
  .stock-transfer-report-filter-panel {
    display: none;
  }

  .stock-transfer-report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .daily-item-status-ft-heading,
  .daily-item-status-ft-counts,
  .daily-item-status-ft-filter-panel {
    display: none;
  }

  .daily-item-status-ft-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .daily-item-status-ft-table-wrap {
    overflow: visible;
  }

  .daily-item-status-ft-table {
    font-size: .58rem;
    min-width: 0;
  }

  .daily-item-status-ft-table th,
  .daily-item-status-ft-table td {
    padding: .1rem .12rem;
  }

  .stock-transfer-report-table-wrap {
    overflow: visible;
  }

  .stock-transfer-report-table {
    font-size: .66rem;
    min-width: 0;
  }

  .stock-transfer-report-table th,
  .stock-transfer-report-table td {
    padding: .14rem .18rem;
  }

  .transfer-summary-dtr-heading,
  .transfer-summary-dtr-counts,
  .transfer-summary-dtr-filter-panel,
  .transfer-summary-dtr-category-panel {
    display: none;
  }

  .transfer-summary-dtr-grid {
    display: block;
  }

  .transfer-summary-dtr-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .transfer-summary-dtr-table-wrap {
    overflow: visible;
  }

  .transfer-summary-dtr-table {
    font-size: .7rem;
    min-width: 0;
  }

  .transfer-summary-dtr-table th,
  .transfer-summary-dtr-table td {
    padding: .14rem .18rem;
  }

  .purchase-summary-dpr-heading,
  .purchase-summary-dpr-counts,
  .purchase-summary-dpr-filter-panel,
  .purchase-summary-dpr-category-panel,
  .purchase-summary-dpr-company-panel {
    display: none;
  }

  .purchase-summary-dpr-grid {
    display: block;
  }

  .purchase-summary-dpr-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .purchase-summary-dpr-table-wrap {
    overflow: visible;
  }

  .purchase-summary-dpr-table {
    font-size: .64rem;
    min-width: 0;
  }

  .purchase-summary-dpr-table th,
  .purchase-summary-dpr-table td {
    padding: .14rem .16rem;
  }

  .brand-ledger-value-heading,
  .brand-ledger-value-counts,
  .brand-ledger-value-filter-panel,
  .brand-ledger-value-brand-panel {
    display: none;
  }

  .brand-ledger-value-grid {
    display: block;
  }

  .brand-ledger-value-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .brand-ledger-value-table-wrap {
    overflow: visible;
  }

  .brand-ledger-value-table {
    font-size: .62rem;
    min-width: 0;
  }

  .brand-ledger-value-table th,
  .brand-ledger-value-table td {
    padding: .12rem .14rem;
  }

  .brand-ledger-mrp-value-heading,
  .brand-ledger-mrp-value-counts,
  .brand-ledger-mrp-value-filter-panel,
  .brand-ledger-mrp-value-brand-panel {
    display: none;
  }

  .brand-ledger-mrp-value-grid {
    display: block;
  }

  .brand-ledger-mrp-value-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .brand-ledger-mrp-value-table-wrap {
    overflow: visible;
  }

  .brand-ledger-mrp-value-table {
    font-size: .52rem;
    min-width: 0;
  }

  .brand-ledger-mrp-value-table th,
  .brand-ledger-mrp-value-table td {
    padding: .1rem .12rem;
  }

  .stock-with-images-heading,
  .stock-with-images-counts,
  .stock-with-images-filter-panel {
    display: none;
  }

  .stock-with-images-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .stock-with-images-gallery {
    gap: .35rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stock-with-images-card {
    break-inside: avoid;
  }

  .stock-with-images-photo {
    min-height: 5rem;
  }

  .stock-with-images-card-body {
    gap: .3rem;
    padding: .4rem;
  }

  .stock-with-images-card-body h3 {
    font-size: .74rem;
  }

  .stock-with-images-card-body dl {
    gap: .2rem;
  }

  .stock-with-images-card-body dt {
    font-size: .55rem;
  }

  .stock-with-images-card-body dd {
    font-size: .65rem;
  }

  .item-image-heading,
  .item-image-counts,
  .item-image-filter-panel,
  .item-image-editor {
    display: none;
  }

  .item-image-layout {
    display: block;
  }

  .item-image-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .item-image-table-wrap {
    overflow: visible;
  }

  .item-image-table {
    min-width: 0;
  }

  .item-image-table th,
  .item-image-table td {
    font-size: .68rem;
    padding: .18rem .22rem;
  }

  .item-image-thumb {
    height: 2.4rem;
    width: 3.2rem;
  }

  .store-brand-ledger-heading,
  .store-brand-ledger-counts,
  .store-brand-ledger-filter-panel,
  .store-brand-ledger-brand-panel {
    display: none;
  }

  .store-brand-ledger-grid {
    display: block;
  }

  .store-brand-ledger-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .store-brand-ledger-table-wrap {
    overflow: visible;
  }

  .store-brand-ledger-table {
    font-size: .64rem;
    min-width: 0;
  }

  .store-brand-ledger-table th,
  .store-brand-ledger-table td {
    padding: .12rem .14rem;
  }

  .category-ledger-value-heading,
  .category-ledger-value-counts,
  .category-ledger-value-filter-panel,
  .category-ledger-value-category-panel {
    display: none;
  }

  .category-ledger-value-grid {
    display: block;
  }

  .category-ledger-value-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .category-ledger-value-table-wrap {
    overflow: visible;
  }

  .category-ledger-value-table {
    font-size: .68rem;
    min-width: 0;
  }

  .category-ledger-value-table th,
  .category-ledger-value-table td {
    padding: .12rem .14rem;
  }

  .fl-beer-iml-ledger-heading,
  .fl-beer-iml-ledger-counts,
  .fl-beer-iml-ledger-filter-panel,
  .fl-beer-iml-ledger-category-panel {
    display: none;
  }

  .fl-beer-iml-ledger-grid {
    display: block;
  }

  .fl-beer-iml-ledger-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .fl-beer-iml-ledger-table-wrap {
    overflow: visible;
  }

  .fl-beer-iml-ledger-table {
    font-size: .72rem;
    min-width: 0;
  }

  .fl-beer-iml-ledger-table th,
  .fl-beer-iml-ledger-table td {
    padding: .14rem .18rem;
  }

  .excise-statement-heading,
  .excise-statement-counts,
  .excise-statement-filter-panel {
    display: none;
  }

  .excise-statement-grid {
    display: block;
  }

  .excise-statement-panel,
  .excise-statement-type-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .excise-statement-table-wrap,
  .excise-statement-type-wrap {
    overflow: visible;
  }

  .excise-statement-table,
  .excise-statement-type-table {
    font-size: .72rem;
    min-width: 0;
  }

  .excise-statement-table th,
  .excise-statement-table td,
  .excise-statement-type-table th,
  .excise-statement-type-table td {
    padding: .16rem .2rem;
  }

  .category-stock-ledger-heading,
  .category-stock-ledger-counts,
  .category-stock-ledger-filter-panel,
  .category-stock-ledger-category-panel {
    display: none;
  }

  .category-stock-ledger-grid {
    display: block;
  }

  .category-stock-ledger-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .category-stock-ledger-table-wrap {
    overflow: visible;
  }

  .category-stock-ledger-table {
    font-size: .55rem;
    min-width: 0;
  }

  .category-stock-ledger-table th,
  .category-stock-ledger-table td {
    padding: .12rem .12rem;
  }

  .pack-ledger-heading,
  .pack-ledger-counts,
  .pack-ledger-filter-panel,
  .pack-ledger-category-panel {
    display: none;
  }

  .pack-ledger-grid {
    display: block;
  }

  .pack-ledger-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .pack-ledger-table-wrap {
    overflow: visible;
  }

  .pack-ledger-table {
    font-size: .7rem;
    min-width: 0;
  }

  .pack-ledger-table th,
  .pack-ledger-table td {
    padding: .16rem .2rem;
  }

  .category-stock-ledger-mrp-heading,
  .category-stock-ledger-mrp-counts,
  .category-stock-ledger-mrp-filter-panel,
  .category-stock-ledger-mrp-category-panel {
    display: none;
  }

  .category-stock-ledger-mrp-grid {
    display: block;
  }

  .category-stock-ledger-mrp-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .category-stock-ledger-mrp-table-wrap {
    overflow: visible;
  }

  .category-stock-ledger-mrp-table {
    font-size: .58rem;
    min-width: 0;
  }

  .category-stock-ledger-mrp-table th,
  .category-stock-ledger-mrp-table td {
    padding: .12rem .14rem;
  }

  .customer-status-heading,
  .customer-status-counts,
  .customer-status-filter-panel {
    display: none;
  }

  .customer-status-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .customer-status-table-wrap {
    overflow: visible;
  }

  .customer-status-table {
    font-size: .72rem;
    min-width: 0;
  }

  .customer-status-table th,
  .customer-status-table td {
    padding: .16rem .2rem;
  }

  .bill-monthly-summary-heading,
  .bill-monthly-summary-counts,
  .bill-monthly-summary-filter-panel {
    display: none;
  }

  .bill-monthly-summary-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bill-monthly-summary-table-wrap {
    overflow: visible;
  }

  .bill-monthly-summary-table {
    font-size: .72rem;
    min-width: 0;
  }

  .bill-monthly-summary-table th,
  .bill-monthly-summary-table td {
    padding: .16rem .2rem;
  }

  .container {
    max-width: none;
    width: 100%;
  }

  main {
    padding: 0;
  }

  .bill-printing-invoices {
    display: block;
    margin: 0;
  }

  .bill-invoice {
    border: 1px solid #000000;
    border-radius: 0;
    box-shadow: none;
    break-inside: avoid;
    display: inline-block;
    margin: 0 1% .35in 0;
    min-height: 3.15in;
    padding: .12in;
    page-break-inside: avoid;
    vertical-align: top;
    width: 48%;
  }

  .bill-invoice-title,
  .bill-invoice-total {
    border-color: #000000;
  }

  .bill-invoice-lines th,
  .bill-invoice-lines td {
    border-bottom-color: #000000;
  }

  .qr-code-heading,
  .qr-code-counts,
  .qr-code-form {
    display: none;
  }

  .qr-code-workspace,
  .qr-code-preview {
    display: block;
  }

  .qr-code-preview {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .qr-code-preview .section-title a {
    display: none;
  }

  .qr-code-artifact {
    background: #ffffff;
    border: 0;
    min-height: 0;
  }

  .qr-code-artifact svg {
    max-height: 5in;
    width: 5in;
  }

  .bar-sale-heading,
  .bar-sale-counts,
  .bar-sale-filter-panel {
    display: none;
  }

  .bar-sale-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-sale-table-wrap {
    overflow: visible;
  }

  .bar-sale-table {
    font-size: .68rem;
    min-width: 0;
  }

  .bar-sale-table th,
  .bar-sale-table td {
    padding: .18rem .22rem;
  }

  .daily-bar-status-heading,
  .daily-bar-status-counts,
  .daily-bar-status-filter-panel {
    display: none;
  }

  .daily-bar-status-panel,
  .daily-bar-status-total-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .daily-bar-status-table-wrap,
  .daily-bar-status-total-wrap {
    overflow: visible;
  }

  .daily-bar-status-table,
  .daily-bar-status-total-table {
    font-size: .72rem;
    min-width: 0;
  }

  .daily-bar-status-table th,
  .daily-bar-status-table td,
  .daily-bar-status-total-table th,
  .daily-bar-status-total-table td {
    padding: .18rem .22rem;
  }

  .void-stock-register-heading,
  .void-stock-register-counts,
  .void-stock-register-filter-panel {
    display: none;
  }

  .void-stock-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .void-stock-register-table-wrap {
    overflow: visible;
  }

  .void-stock-register-table {
    font-size: .52rem;
    min-width: 0;
  }

  .void-stock-register-table th,
  .void-stock-register-table td {
    padding: .1rem .12rem;
  }

  .void-sale-summary-heading,
  .void-sale-summary-counts,
  .void-sale-summary-filter-panel {
    display: none;
  }

  .admin-sale-modify-heading,
  .admin-sale-modify-counts,
  .admin-sale-modify-filter-panel {
    display: none;
  }

  .supplier-payment-entry-heading,
  .supplier-payment-entry-counts,
  .supplier-payment-entry-filter-panel,
  .supplier-payment-entry-side-panel,
  .supplier-payment-entry-message {
    display: none;
  }

  .void-sale-summary-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .admin-sale-modify-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .supplier-payment-entry-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .void-sale-summary-table-wrap {
    overflow: visible;
  }

  .admin-sale-modify-table-wrap {
    overflow: visible;
  }

  .supplier-payment-entry-table-wrap {
    overflow: visible;
  }

  .void-sale-summary-table {
    font-size: .48rem;
    min-width: 0;
  }

  .admin-sale-modify-table {
    font-size: .48rem;
    min-width: 0;
  }

  .supplier-payment-entry-table {
    font-size: .58rem;
    min-width: 0;
  }

  .void-sale-summary-table th,
  .void-sale-summary-table td {
    padding: .08rem .08rem;
  }

  .admin-sale-modify-table th,
  .admin-sale-modify-table td {
    padding: .08rem .08rem;
  }

  .supplier-payment-entry-table th,
  .supplier-payment-entry-table td {
    padding: .1rem .12rem;
  }

  .void-sales-item-details-heading,
  .void-sales-item-details-counts,
  .void-sales-item-details-filter-panel {
    display: none;
  }

  .void-sales-item-details-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .void-sales-item-details-table-wrap {
    overflow: visible;
  }

  .void-sales-item-details-table {
    font-size: .5rem;
    min-width: 0;
  }

  .void-sales-item-details-table th,
  .void-sales-item-details-table td {
    padding: .08rem .1rem;
  }

  .void-bar-stock-register-heading,
  .void-bar-stock-register-counts,
  .void-bar-stock-register-filter-panel {
    display: none;
  }

  .void-bar-stock-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .void-bar-stock-register-table-wrap {
    overflow: visible;
  }

  .void-bar-stock-register-table {
    font-size: .5rem;
    min-width: 0;
  }

  .void-bar-stock-register-table th,
  .void-bar-stock-register-table td {
    padding: .08rem .1rem;
  }

  .bar-current-stock-heading,
  .bar-current-stock-counts,
  .bar-current-stock-filter-panel {
    display: none;
  }

  .bar-current-stock-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-current-stock-table-wrap {
    overflow: visible;
  }

  .bar-current-stock-table {
    font-size: .66rem;
    min-width: 0;
  }

  .bar-current-stock-table th,
  .bar-current-stock-table td {
    padding: .16rem .2rem;
  }

  .unlock-table-heading,
  .unlock-table-counts,
  .unlock-table-filter-panel,
  .unlock-table-post-actions,
  .message-banner {
    display: none;
  }

  .unlock-table-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .unlock-table-wrap {
    overflow: visible;
  }

  .unlock-table {
    font-size: .66rem;
    min-width: 0;
  }

  .unlock-table th,
  .unlock-table td {
    padding: .16rem .2rem;
  }

  .bar-item-sale-heading,
  .bar-item-sale-counts,
  .bar-item-sale-filter-panel {
    display: none;
  }

  .bar-item-sale-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-item-sale-table-wrap {
    overflow: visible;
  }

  .bar-item-sale-table {
    font-size: .7rem;
    min-width: 0;
  }

  .bar-item-sale-table th,
  .bar-item-sale-table td {
    padding: .18rem .22rem;
  }

  .void-bar-sale-details-heading,
  .void-bar-sale-details-counts,
  .void-bar-sale-details-filter-panel {
    display: none;
  }

  .void-bar-sale-details-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .void-bar-sale-details-table-wrap {
    overflow: visible;
  }

  .void-bar-sale-details-table {
    font-size: .46rem;
    min-width: 0;
  }

  .void-bar-sale-details-table th,
  .void-bar-sale-details-table td {
    padding: .07rem .08rem;
  }

  .bar-profit-report-heading,
  .bar-profit-report-counts,
  .bar-profit-report-filter-panel {
    display: none;
  }

  .bar-profit-report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-profit-report-table-wrap {
    overflow: visible;
  }

  .bar-profit-report-table {
    font-size: .72rem;
    min-width: 0;
  }

  .bar-profit-report-table th,
  .bar-profit-report-table td {
    padding: .18rem .22rem;
  }

  .bar-transfer-report-heading,
  .bar-transfer-report-counts,
  .bar-transfer-report-filter-panel,
  .bar-transfer-report-summary-panel {
    display: none;
  }

  .bar-transfer-report-detail-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-transfer-report-print-header {
    border-radius: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: .4rem;
  }

  .bar-transfer-report-detail-wrap {
    overflow: visible;
  }

  .bar-transfer-report-detail-table {
    font-size: .58rem;
    min-width: 0;
  }

  .bar-transfer-report-detail-table th,
  .bar-transfer-report-detail-table td {
    padding: .08rem .1rem;
  }

  .bar-transfer-report-signatures {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.4rem;
  }

  .bar-transfer-report-signatures span {
    border-top: 1px solid #17212b;
    color: #17212b;
    padding-top: .35rem;
    text-align: center;
  }

  .bar-gst-report-heading,
  .bar-gst-report-counts,
  .bar-gst-report-filter-panel {
    display: none;
  }

  .bar-gst-report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-gst-report-table-wrap {
    overflow: visible;
  }

  .bar-gst-report-table {
    font-size: .64rem;
    min-width: 0;
  }

  .bar-gst-report-table th,
  .bar-gst-report-table td {
    padding: .12rem .16rem;
  }

  .bar-food-ledger-heading,
  .bar-food-ledger-counts,
  .bar-food-ledger-filter-panel {
    display: none;
  }

  .bar-food-ledger-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-food-ledger-table-wrap {
    overflow: visible;
  }

  .bar-food-ledger-table {
    font-size: .66rem;
    min-width: 0;
  }

  .bar-food-ledger-table th,
  .bar-food-ledger-table td {
    padding: .14rem .18rem;
  }

  .bar-food-purchase-heading,
  .bar-food-purchase-counts,
  .bar-food-purchase-filter-panel {
    display: none;
  }

  .bar-food-purchase-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-food-purchase-table-wrap {
    overflow: visible;
  }

  .bar-food-purchase-table {
    font-size: .5rem;
    min-width: 0;
  }

  .bar-food-purchase-table th,
  .bar-food-purchase-table td {
    padding: .08rem .1rem;
  }

  .bar-sale-report-heading,
  .bar-sale-report-counts,
  .bar-sale-report-filter-panel {
    display: none;
  }

  .bar-sale-report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-sale-report-table-wrap {
    overflow: visible;
  }

  .bar-sale-report-table {
    font-size: .46rem;
    min-width: 0;
  }

  .bar-sale-report-table th,
  .bar-sale-report-table td {
    padding: .06rem .08rem;
  }

  .scheme-report-heading,
  .scheme-report-counts,
  .scheme-report-filter-panel {
    display: none;
  }

  .scheme-report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .scheme-report-table-wrap {
    overflow: visible;
  }

  .scheme-report-table,
  .scheme-report-detail-table {
    font-size: .56rem;
    min-width: 0;
  }

  .scheme-report-table th,
  .scheme-report-table td {
    padding: .08rem .1rem;
  }

  .daily-visit-heading,
  .daily-visit-counts,
  .daily-visit-filter-panel,
  .daily-visit-editor,
  .message-banner {
    display: none;
  }

  .daily-visit-layout,
  .daily-visit-panel {
    display: block;
  }

  .daily-visit-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .daily-visit-table-wrap {
    overflow: visible;
  }

  .daily-visit-table {
    font-size: .68rem;
    min-width: 0;
  }

  .daily-visit-table th,
  .daily-visit-table td {
    padding: .18rem .22rem;
  }

  .visit-status-heading,
  .visit-status-counts,
  .visit-status-filter-panel {
    display: none;
  }

  .visit-status-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .visit-status-table-wrap {
    overflow: visible;
  }

  .visit-status-table {
    font-size: .7rem;
    min-width: 0;
  }

  .visit-status-table th,
  .visit-status-table td {
    padding: .18rem .22rem;
  }

  .epos-mobile-heading,
  .epos-mobile-counts,
  .epos-mobile-filter-panel {
    display: none;
  }

  .epos-mobile-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .epos-mobile-table-wrap {
    overflow: visible;
  }

  .epos-mobile-table {
    font-size: .7rem;
    min-width: 0;
  }

  .epos-mobile-table th,
  .epos-mobile-table td {
    padding: .18rem .22rem;
  }

  .epos-mobile-qr {
    height: .8in;
    width: .8in;
  }

  .epos-upload-heading,
  .epos-upload-counts,
  .epos-upload-filter-panel,
  .epos-upload-json-panel {
    display: none;
  }

  .epos-upload-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .epos-upload-table-wrap {
    overflow: visible;
  }

  .epos-upload-table {
    font-size: .7rem;
    min-width: 0;
  }

  .epos-upload-table th,
  .epos-upload-table td {
    padding: .18rem .22rem;
  }

  .inventory-sale-heading,
  .inventory-sale-counts,
  .inventory-sale-filter-panel {
    display: none;
  }

  .inventory-sale-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .inventory-sale-table-wrap {
    overflow: visible;
  }

  .inventory-sale-table {
    font-size: .62rem;
    min-width: 0;
  }

  .inventory-sale-table th,
  .inventory-sale-table td {
    padding: .14rem .18rem;
  }

  .inventory-sale-summary-heading,
  .inventory-sale-summary-counts,
  .inventory-sale-summary-filter-panel {
    display: none;
  }

  .inventory-sale-summary-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .inventory-sale-summary-table-wrap {
    overflow: visible;
  }

  .inventory-sale-summary-table {
    font-size: .68rem;
    min-width: 0;
  }

  .inventory-sale-summary-table th,
  .inventory-sale-summary-table td {
    padding: .16rem .2rem;
  }

  .inventory-purchase-heading,
  .inventory-purchase-counts,
  .inventory-purchase-filter-panel {
    display: none;
  }

  .inventory-purchase-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .inventory-purchase-table-wrap {
    overflow: visible;
  }

  .inventory-purchase-table {
    font-size: .58rem;
    min-width: 0;
  }

  .inventory-purchase-table th,
  .inventory-purchase-table td {
    padding: .12rem .16rem;
  }

  .inventory-purchase-summary-heading,
  .inventory-purchase-summary-counts,
  .inventory-purchase-summary-filter-panel {
    display: none;
  }

  .inventory-purchase-summary-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .inventory-purchase-summary-table-wrap {
    overflow: visible;
  }

  .inventory-purchase-summary-table {
    font-size: .66rem;
    min-width: 0;
  }

  .inventory-purchase-summary-table th,
  .inventory-purchase-summary-table td {
    padding: .14rem .18rem;
  }

  .inventory-dsr-heading,
  .inventory-dsr-counts,
  .inventory-dsr-filter-panel {
    display: none;
  }

  .inventory-dsr-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .inventory-dsr-table-wrap {
    overflow: visible;
  }

  .inventory-dsr-table {
    font-size: .72rem;
    min-width: 0;
  }

  .inventory-dsr-table th,
  .inventory-dsr-table td {
    padding: .16rem .2rem;
  }

  .daily-sale-heading,
  .daily-sale-counts,
  .daily-sale-filter-panel {
    display: none;
  }

  .daily-sale-panel,
  .daily-sale-support-grid .panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .daily-sale-table-wrap {
    overflow: visible;
  }

  .daily-sale-table {
    font-size: .7rem;
    min-width: 0;
  }

  .daily-sale-table th,
  .daily-sale-table td {
    padding: .14rem .18rem;
  }

  .inventory-item-ledger-heading,
  .inventory-item-ledger-counts,
  .inventory-item-ledger-filter-panel {
    display: none;
  }

  .inventory-item-ledger-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .inventory-item-ledger-table-wrap {
    overflow: visible;
  }

  .inventory-item-ledger-table {
    font-size: .72rem;
    min-width: 0;
  }

  .inventory-item-ledger-table th,
  .inventory-item-ledger-table td {
    padding: .16rem .2rem;
  }

  .inventory-transfer-heading,
  .inventory-transfer-counts,
  .inventory-transfer-filter-panel,
  .inventory-transfer-editor,
  .inventory-transfer-recent-panel {
    display: none;
  }

  .inventory-transfer-layout,
  .inventory-transfer-side,
  .inventory-transfer-stock-panel {
    display: block;
  }

  .inventory-transfer-stock-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .inventory-transfer-stock-wrap {
    overflow: visible;
  }

  .inventory-transfer-stock-table {
    font-size: .72rem;
    min-width: 0;
  }

  .inventory-transfer-stock-table th,
  .inventory-transfer-stock-table td {
    padding: .16rem .2rem;
  }

  .bar-purchase-entry-heading,
  .bar-purchase-entry-counts,
  .bar-purchase-entry-filter-panel,
  .bar-purchase-entry-side,
  .bar-purchase-entry-actions,
  .bar-purchase-entry-delete-form,
  .inventory-purchase-entry-heading,
  .inventory-purchase-entry-counts,
  .inventory-purchase-entry-filter-panel,
  .inventory-purchase-entry-side,
  .inventory-purchase-entry-actions,
  .inventory-purchase-entry-delete-form,
  .inventory-sale-entry-heading,
  .inventory-sale-entry-counts,
  .inventory-sale-entry-filter-panel,
  .inventory-sale-entry-side,
  .inventory-sale-entry-actions,
  .inventory-sale-entry-delete-form,
  .inv-billing-heading,
  .inv-billing-counts,
  .inv-billing-filter-panel,
  .inv-billing-side,
  .inv-billing-actions,
  .inv-billing-delete-form,
  .message-banner {
    display: none;
  }

  .bar-purchase-entry-layout,
  .bar-purchase-entry-editor,
  .inventory-purchase-entry-layout,
  .inventory-purchase-entry-editor,
  .inventory-sale-entry-layout,
  .inventory-sale-entry-editor,
  .inv-billing-layout,
  .inv-billing-editor {
    display: block;
  }

  .bar-purchase-entry-editor,
  .inventory-purchase-entry-editor,
  .inventory-sale-entry-editor,
  .inv-billing-editor {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-purchase-entry-form,
  .inventory-purchase-entry-form,
  .inventory-sale-entry-form,
  .inv-billing-form {
    display: block;
  }

  .bar-purchase-entry-form > label,
  .bar-purchase-entry-form > input,
  .bar-purchase-entry-form > select,
  .bar-purchase-entry-form .validation-summary,
  .inventory-purchase-entry-form > label,
  .inventory-purchase-entry-form > input,
  .inventory-purchase-entry-form .validation-summary,
  .inventory-sale-entry-form > label,
  .inventory-sale-entry-form > input,
  .inventory-sale-entry-form > select,
  .inventory-sale-entry-form .validation-summary,
  .inv-billing-form > label,
  .inv-billing-form > input,
  .inv-billing-form > select,
  .inv-billing-form .validation-summary {
    display: none;
  }

  .bar-purchase-entry-lines-wrap,
  .inventory-purchase-entry-lines-wrap,
  .inventory-sale-entry-lines-wrap,
  .inv-billing-lines-wrap {
    overflow: visible;
  }

  .bar-purchase-entry-lines-table,
  .inventory-purchase-entry-lines-table,
  .inventory-sale-entry-lines-table,
  .inv-billing-lines-table {
    font-size: .58rem;
    min-width: 0;
  }

  .bar-purchase-entry-lines-table th,
  .bar-purchase-entry-lines-table td,
  .inventory-purchase-entry-lines-table th,
  .inventory-purchase-entry-lines-table td,
  .inventory-sale-entry-lines-table th,
  .inventory-sale-entry-lines-table td,
  .inv-billing-lines-table th,
  .inv-billing-lines-table td {
    padding: .08rem .1rem;
  }

  .bar-purchase-entry-lines-table input,
  .inventory-purchase-entry-lines-table input,
  .inventory-sale-entry-lines-table input,
  .inv-billing-lines-table input {
    border: 0;
    min-height: 0;
    min-width: 0;
    padding: 0;
  }

  .bar-purchase-entry-totals,
  .inventory-purchase-entry-totals,
  .inventory-sale-entry-totals,
  .inv-billing-totals {
    border: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: .2rem 0;
  }

  .daily-visit-row-actions {
    display: none;
  }
}

@media (max-width: 992px) {
  .category-pack-ledger-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-pack-ledger-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-pack-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-pack-ledger-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .category-pack-ledger-counts,
  .category-pack-ledger-filter,
  .category-pack-ledger-mode-set {
    grid-template-columns: 1fr;
  }

  .category-pack-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .category-pack-ledger-heading,
  .category-pack-ledger-counts,
  .category-pack-ledger-filter-panel,
  .category-pack-ledger-category-panel {
    display: none;
  }

  .category-pack-ledger-grid {
    display: block;
  }

  .category-pack-ledger-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .category-pack-ledger-table-wrap {
    overflow: visible;
  }

  .category-pack-ledger-table {
    font-size: .72rem;
    min-width: 0;
  }

  .category-pack-ledger-table th,
  .category-pack-ledger-table td {
    padding: .16rem .2rem;
  }
}

@media (max-width: 992px) {
  .brand-pack-ledger-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-pack-ledger-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-pack-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-pack-ledger-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-pack-ledger-counts,
  .brand-pack-ledger-filter,
  .brand-pack-ledger-mode-set {
    grid-template-columns: 1fr;
  }

  .brand-pack-ledger-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .brand-pack-ledger-heading,
  .brand-pack-ledger-counts,
  .brand-pack-ledger-filter-panel,
  .brand-pack-ledger-brand-panel {
    display: none;
  }

  .brand-pack-ledger-grid {
    display: block;
  }

  .brand-pack-ledger-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .brand-pack-ledger-table-wrap {
    overflow: visible;
  }

  .brand-pack-ledger-table {
    font-size: .72rem;
    min-width: 0;
  }

  .brand-pack-ledger-table th,
  .brand-pack-ledger-table td {
    padding: .16rem .2rem;
  }
}

@media (max-width: 992px) {
  .brand-stock-register-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-stock-register-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-stock-register-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-stock-register-grid {
    grid-template-columns: 1fr;
  }

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

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

  .brand-register-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-excise-register-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-excise-register-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-excise-register-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .brand-stock-register-counts,
  .brand-stock-register-filter,
  .brand-register-counts,
  .brand-register-filter,
  .brand-excise-register-counts,
  .brand-excise-register-filter {
    grid-template-columns: 1fr;
  }

  .brand-stock-register-actions,
  .brand-register-actions,
  .brand-excise-register-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .brand-stock-register-heading,
  .brand-stock-register-counts,
  .brand-stock-register-filter-panel,
  .brand-stock-register-brand-panel {
    display: none;
  }

  .brand-stock-register-grid {
    display: block;
  }

  .brand-stock-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .brand-stock-register-table-wrap {
    overflow: visible;
  }

  .brand-stock-register-table {
    font-size: .54rem;
    min-width: 0;
  }

  .brand-stock-register-table th,
  .brand-stock-register-table td {
    padding: .08rem .1rem;
  }

  .brand-register-heading,
  .brand-register-counts,
  .brand-register-filter-panel {
    display: none;
  }

  .brand-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .brand-register-panel .table-scroll {
    overflow: visible;
  }

  .brand-register-table {
    font-size: .58rem;
    min-width: 0;
  }

  .brand-register-table th,
  .brand-register-table td {
    padding: .08rem .1rem;
  }

  .brand-excise-register-heading,
  .brand-excise-register-counts,
  .brand-excise-register-filter-panel {
    display: none;
  }

  .brand-excise-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .brand-excise-register-panel .table-scroll {
    overflow: visible;
  }

  .brand-excise-register-table {
    font-size: .46rem;
    min-width: 0;
  }

  .brand-excise-register-table th,
  .brand-excise-register-table td {
    padding: .06rem .08rem;
  }
}

.bar-sale-entry-counts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bar-sale-entry-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(8rem, 12rem) auto;
}

.bar-sale-entry-filter-actions,
.bar-sale-entry-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.bar-sale-entry-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
}

.bar-sale-entry-form {
  display: grid;
  gap: 1rem;
}

.bar-sale-entry-editor,
.bar-sale-entry-side,
.bar-sale-entry-lines {
  min-width: 0;
}

.bar-sale-entry-header-grid,
.bar-sale-entry-payment-grid {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bar-sale-entry-header-grid label,
.bar-sale-entry-payment-grid label {
  color: #526274;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bar-sale-entry-header-grid input,
.bar-sale-entry-header-grid select,
.bar-sale-entry-payment-grid input {
  width: 100%;
}

.bar-sale-entry-mode-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.bar-sale-entry-mode-row label {
  align-items: center;
  background: #f7fafc;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  display: inline-flex;
  gap: .35rem;
  min-height: 2rem;
  padding: .25rem .55rem;
}

.bar-sale-entry-kot-summary {
  align-items: baseline;
  background: rgba(73, 189, 208, .08);
  border: 1px solid var(--tdr-line, #d8e2ec);
  border-left: 4px solid var(--tdr-cyan, #49bdd0);
  border-radius: 6px;
  color: var(--tdr-ink, #14202b);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding: .75rem;
}

.bar-sale-entry-kot-summary span {
  color: var(--tdr-muted, #526274);
  font-size: .82rem;
}

.bar-sale-entry-lines-wrap {
  overflow-x: auto;
}

.bar-sale-entry-lines-table {
  min-width: 76rem;
}

.bar-sale-entry-lines-table th {
  white-space: nowrap;
}

.bar-sale-entry-lines-table input,
.bar-sale-entry-lines-table select {
  border: 1px solid #d8e2ec;
  border-radius: 5px;
  font-size: .82rem;
  min-height: 2rem;
  padding: .3rem .4rem;
  width: 100%;
}

.bar-sale-entry-lines-table td:first-child {
  min-width: 15rem;
}

.bar-sale-entry-lines-table td:nth-child(11) {
  min-width: 10rem;
}

.bar-sale-entry-totals {
  background: #f7fafc;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: .75rem;
}

.bar-sale-entry-totals span {
  color: #526274;
  display: grid;
  font-size: .76rem;
  gap: .15rem;
}

.bar-sale-entry-totals strong {
  color: #0f1720;
  font-size: .95rem;
}

.bar-sale-entry-delete-form {
  margin-top: .75rem;
}

.bar-sale-entry-delete-form button {
  background: #8f1f2f;
}

.bar-sale-entry-side {
  display: grid;
  gap: 1rem;
}

.bar-sale-entry-stock-list {
  display: grid;
  gap: .45rem;
  max-height: 32rem;
  overflow: auto;
}

.bar-sale-entry-stock-list button {
  background: #ffffff;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  color: #0f1720;
  display: grid;
  gap: .15rem;
  padding: .5rem .6rem;
  text-align: left;
}

.bar-sale-entry-stock-list button:hover {
  border-color: #4f7cac;
}

.bar-sale-entry-stock-list strong {
  font-size: .86rem;
}

.bar-sale-entry-stock-list span {
  color: #526274;
  font-size: .74rem;
}

.bar-sale-entry-recent-table {
  font-size: .82rem;
}

.restaurant-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.restaurant-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(14rem, 1fr) max-content minmax(9rem, 12rem) auto;
}

.restaurant-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.restaurant-filter input,
.restaurant-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .5rem .65rem;
  width: 100%;
}

.restaurant-filter-actions,
.restaurant-table-actions,
.restaurant-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.restaurant-filter button,
.restaurant-filter a,
.restaurant-table-actions a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.5rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.restaurant-filter button,
.restaurant-table-actions a:first-child {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.restaurant-filter a,
.restaurant-table-actions a + a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.restaurant-toolbar {
  margin: 0 0 1rem;
}

.restaurant-legend {
  border-radius: 999px;
  color: #ffffff;
  font-size: .78rem;
  font-weight: 800;
  padding: .25rem .6rem;
}

.restaurant-legend.is-vacant {
  background: #247653;
}

.restaurant-legend.is-unprinted {
  background: #a43e48;
}

.restaurant-legend.is-printed {
  background: #6544a6;
}

.restaurant-legend.is-open {
  background: #657280;
}

.restaurant-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  margin-bottom: 1rem;
}

.restaurant-table-card {
  border: 1px solid transparent;
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: .85rem;
  min-height: 18rem;
  padding: 1rem;
}

.restaurant-table-card.is-vacant {
  background: #247653;
  border-color: #1f6548;
}

.restaurant-table-card.is-unprinted {
  background: #a43e48;
  border-color: #8f3039;
}

.restaurant-table-card.is-printed {
  background: #6544a6;
  border-color: #55388f;
}

.restaurant-table-card.is-open {
  background: #657280;
  border-color: #55616e;
}

.restaurant-table-card-head {
  align-items: flex-start;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.restaurant-table-card-head span,
.restaurant-table-details dt {
  color: rgba(255, 255, 255, .78);
  display: block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.restaurant-table-card-head strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.restaurant-table-card-head em {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: .78rem;
  font-style: normal;
  font-weight: 800;
  padding: .25rem .5rem;
  white-space: nowrap;
}

.restaurant-table-details {
  display: grid;
  gap: .45rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.restaurant-table-details div {
  min-width: 0;
}

.restaurant-table-details dd {
  font-weight: 800;
  margin: .08rem 0 0;
  overflow-wrap: anywhere;
}

.restaurant-table-actions {
  margin-top: auto;
}

.restaurant-table-actions a {
  flex: 1 1 6.5rem;
}

.restaurant-empty-panel {
  color: #5f6f7f;
  grid-column: 1 / -1;
  text-align: center;
}

.table-transfer-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.table-transfer-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.table-transfer-panel {
  min-width: 0;
}

.table-transfer-form {
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr);
}

.table-transfer-form label {
  color: #415161;
  font-weight: 700;
  padding-top: .7rem;
}

.table-transfer-form select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.55rem;
  min-width: 0;
  padding: .45rem .65rem;
  width: 100%;
}

.table-transfer-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  grid-column: 2;
}

.table-transfer-actions button,
.table-transfer-actions a,
.table-transfer-open-panel a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.35rem;
  padding: .4rem .7rem;
  text-decoration: none;
}

.table-transfer-actions button,
.table-transfer-open-panel a {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.table-transfer-actions a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.table-transfer-table {
  min-width: 58rem;
}

@media (max-width: 1180px) {
  .bar-sale-entry-layout {
    grid-template-columns: 1fr;
  }

  .bar-sale-entry-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .table-transfer-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-transfer-layout {
    grid-template-columns: 1fr;
  }

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

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

  .restaurant-filter-actions {
    grid-column: 1 / -1;
  }

  .bar-sale-entry-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar-sale-entry-header-grid,
  .bar-sale-entry-payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bar-sale-entry-totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .table-transfer-counts,
  .table-transfer-form {
    grid-template-columns: 1fr;
  }

  .table-transfer-form label {
    padding-top: 0;
  }

  .table-transfer-actions {
    align-items: stretch;
    flex-direction: column;
    grid-column: auto;
  }

  .table-transfer-actions > * {
    width: 100%;
  }

  .restaurant-counts,
  .restaurant-filter {
    grid-template-columns: 1fr;
  }

  .restaurant-filter label {
    padding-bottom: 0;
  }

  .restaurant-filter-actions,
  .restaurant-table-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .restaurant-filter-actions > *,
  .restaurant-table-actions > * {
    width: 100%;
  }

  .bar-sale-entry-counts,
  .bar-sale-entry-filter,
  .bar-sale-entry-header-grid,
  .bar-sale-entry-payment-grid,
  .bar-sale-entry-side,
  .bar-sale-entry-totals {
    grid-template-columns: 1fr;
  }

  .bar-sale-entry-filter-actions,
  .bar-sale-entry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bar-sale-entry-filter-actions > *,
  .bar-sale-entry-actions > * {
    width: 100%;
  }
}

@media print {
  .bar-sale-entry-heading,
  .bar-sale-entry-counts,
  .bar-sale-entry-filter-panel,
  .bar-sale-entry-side,
  .bar-sale-entry-actions,
  .bar-sale-entry-delete-form,
  .bar-sale-entry-mode-row,
  .bar-sale-entry-kot-summary {
    display: none;
  }

  .bar-sale-entry-layout {
    display: block;
  }

  .bar-sale-entry-editor {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .bar-sale-entry-header-grid,
  .bar-sale-entry-payment-grid,
  .bar-sale-entry-totals {
    border: 0;
    gap: .2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: .2rem 0;
  }

  .bar-sale-entry-lines-wrap {
    overflow: visible;
  }

  .bar-sale-entry-lines-table {
    font-size: .6rem;
    min-width: 0;
  }

  .bar-sale-entry-lines-table input,
  .bar-sale-entry-lines-table select {
    border: 0;
    min-height: 0;
    padding: 0;
  }
}

.category-stock-register-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-stock-register-filter {
  align-items: end;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
}

.category-stock-register-filter label {
  display: grid;
  gap: .25rem;
}

.category-stock-register-filter label span {
  color: #526274;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.category-stock-register-filter input[type="date"],
.category-stock-register-filter select {
  width: 100%;
}

.category-stock-register-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.category-stock-register-table-wrap {
  overflow-x: auto;
}

.category-stock-register-table {
  font-size: .82rem;
  min-width: 72rem;
}

.category-stock-register-table th {
  background: #edf4f9;
  text-align: center;
  white-space: nowrap;
}

.category-stock-register-table td:first-child,
.category-stock-register-table td:nth-child(2) {
  font-weight: 700;
  white-space: nowrap;
}

.category-stock-register-table .stock-opening {
  background: #fff7cc;
}

.category-stock-register-table .stock-in {
  background: #ffe1e1;
}

.category-stock-register-table .stock-out {
  background: #ddfbff;
}

.category-stock-register-table .stock-closing {
  background: #ddf8df;
}

.category-stock-register-total-row td {
  background: #72c7bd !important;
  color: #073b3a;
  font-weight: 800;
}

@media (max-width: 992px) {
  .category-stock-register-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-stock-register-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-stock-register-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .category-stock-register-counts,
  .category-stock-register-filter {
    grid-template-columns: 1fr;
  }

  .category-stock-register-actions > * {
    width: 100%;
  }
}

@media print {
  .category-stock-register-heading,
  .category-stock-register-counts,
  .category-stock-register-filter-panel {
    display: none;
  }

  .category-stock-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .category-stock-register-table-wrap {
    overflow: visible;
  }

  .category-stock-register-table {
    font-size: .56rem;
    min-width: 0;
  }

  .category-stock-register-table th,
  .category-stock-register-table td {
    padding: .08rem .1rem;
  }
}

.customer-receipt-entry-counts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-receipt-entry-message {
  border-left: 4px solid #4f7cac;
  color: #0f1720;
  font-weight: 700;
}

.customer-receipt-entry-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
}

.customer-receipt-entry-layout > *,
.customer-receipt-entry-form,
.customer-receipt-entry-header-grid,
.customer-receipt-entry-header-grid label,
.customer-receipt-entry-open-form label,
.customer-receipt-entry-delete-form label {
  min-width: 0;
}

.customer-receipt-entry-header-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.customer-receipt-entry-header-grid label,
.customer-receipt-entry-open-form label,
.customer-receipt-entry-delete-form label {
  display: grid;
  gap: .25rem;
}

.customer-receipt-entry-header-grid label span,
.customer-receipt-entry-open-form label span,
.customer-receipt-entry-delete-form label span {
  color: #526274;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-receipt-entry-header-grid input,
.customer-receipt-entry-header-grid select,
.customer-receipt-entry-open-form input,
.customer-receipt-entry-delete-form input {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.customer-receipt-entry-remarks {
  grid-column: span 2;
}

.customer-receipt-entry-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .85rem 0;
}

.customer-receipt-entry-actions button,
.customer-receipt-entry-actions a,
.customer-receipt-entry-open-form button,
.customer-receipt-entry-delete-form button {
  align-items: center;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 2.35rem;
  padding: .45rem .8rem;
  text-decoration: none;
}

.customer-receipt-entry-actions button,
.customer-receipt-entry-open-form button,
.customer-receipt-entry-delete-form button {
  background: #172331;
  color: #ffffff;
}

.customer-receipt-entry-actions a,
.customer-receipt-entry-actions .secondary-command {
  background: #e8eef4;
  color: #172331;
}

.customer-receipt-entry-table-wrap {
  overflow-x: auto;
}

.customer-receipt-entry-table {
  min-width: 48rem;
}

.customer-receipt-entry-table th {
  white-space: nowrap;
}

.customer-receipt-entry-table td:first-child {
  font-weight: 700;
}

.customer-receipt-entry-line-amount {
  border: 1px solid #d8e2ec;
  border-radius: 5px;
  min-height: 2rem;
  padding: .3rem .4rem;
  text-align: right;
  width: 8rem;
}

.customer-receipt-entry-balance-row {
  align-items: center;
  background: #f7fafc;
  border: 1px solid #d8e2ec;
  border-radius: 8px;
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: .75rem;
  padding: .65rem .75rem;
}

.customer-receipt-entry-balance-row span {
  color: #526274;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.customer-receipt-entry-balance-row strong {
  color: #0f1720;
  font-size: 1rem;
}

.customer-receipt-entry-open-form,
.customer-receipt-entry-delete-form {
  display: grid;
  gap: .75rem;
}

.customer-receipt-entry-open-form {
  margin-bottom: 1.2rem;
}

.customer-receipt-entry-delete-form button {
  background: #8f1f2f;
}

.customer-receipt-entry-recent-title {
  margin-top: 1.2rem;
}

.customer-receipt-entry-recent-list {
  display: grid;
  gap: .35rem;
  max-height: 34rem;
  overflow: auto;
}

.customer-receipt-entry-recent-list a {
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  color: #0f1720;
  display: grid;
  gap: .12rem;
  padding: .5rem .6rem;
  text-decoration: none;
}

.customer-receipt-entry-recent-list a:hover {
  border-color: #4f7cac;
}

.customer-receipt-entry-recent-list strong {
  font-size: .9rem;
}

.customer-receipt-entry-recent-list span {
  color: #526274;
  font-size: .76rem;
}

@media (max-width: 1180px) {
  .customer-receipt-entry-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .customer-receipt-entry-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-receipt-entry-header-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .customer-receipt-entry-counts,
  .customer-receipt-entry-header-grid {
    grid-template-columns: 1fr;
  }

  .customer-receipt-entry-remarks {
    grid-column: auto;
  }

  .customer-receipt-entry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-receipt-entry-actions > * {
    width: 100%;
  }
}

@media print {
  .customer-receipt-entry-heading,
  .customer-receipt-entry-counts,
  .customer-receipt-entry-message,
  .customer-receipt-entry-side-panel,
  .customer-receipt-entry-actions {
    display: none;
  }

  .customer-receipt-entry-layout {
    display: block;
  }

  .customer-receipt-entry-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .customer-receipt-entry-header-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .customer-receipt-entry-table-wrap {
    overflow: visible;
  }

  .customer-receipt-entry-table {
    min-width: 0;
  }
}

.kot-report-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.kot-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 11rem) max-content minmax(8rem, 11rem) max-content minmax(10rem, 1fr) max-content minmax(10rem, 1fr);
}

.kot-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.kot-report-filter input,
.kot-report-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .5rem .65rem;
  width: 100%;
}

.kot-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.kot-report-filter button,
.kot-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.kot-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.kot-report-filter a,
.kot-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

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

.kot-report-table {
  min-width: 98rem;
}

.kot-report-table td {
  overflow-wrap: anywhere;
}

.kot-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

@media (max-width: 992px) {
  .kot-report-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kot-report-filter {
    grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .kot-report-counts,
  .kot-report-filter {
    grid-template-columns: 1fr;
  }

  .kot-report-filter label {
    padding-bottom: 0;
  }

  .kot-report-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .kot-report-actions > * {
    width: 100%;
  }
}

@media print {
  .kot-report-heading,
  .kot-report-counts,
  .kot-report-filter-panel,
  .kot-report-message {
    display: none;
  }

  .kot-report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .kot-report-table-wrap {
    overflow: visible;
  }

  .kot-report-table {
    font-size: .56rem;
    min-width: 0;
  }

  .kot-report-table th,
  .kot-report-table td {
    padding: .08rem .1rem;
  }
}

.waiter-kot-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.waiter-kot-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 11rem) auto;
}

.waiter-kot-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.waiter-kot-filter input,
.waiter-kot-header-grid input,
.waiter-kot-lines-table input,
.waiter-kot-lines-table select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.35rem;
  min-width: 0;
  padding: .45rem .6rem;
  width: 100%;
}

.waiter-kot-filter-actions,
.waiter-kot-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.waiter-kot-filter button,
.waiter-kot-filter a,
.waiter-kot-actions button,
.waiter-kot-actions a,
.waiter-kot-delete-form button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.45rem;
  padding: .48rem .75rem;
  text-decoration: none;
}

.waiter-kot-filter button,
.waiter-kot-actions button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.waiter-kot-filter a,
.waiter-kot-filter .secondary-command,
.waiter-kot-actions a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.waiter-kot-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 2fr) minmax(18rem, .8fr);
}

.waiter-kot-editor,
.waiter-kot-side {
  min-width: 0;
}

.waiter-kot-side {
  display: grid;
  gap: 1rem;
}

.waiter-kot-header-grid {
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(9rem, 1fr) max-content minmax(9rem, 1fr);
  margin-bottom: 1rem;
}

.waiter-kot-header-grid label {
  color: #415161;
  font-weight: 700;
  padding-top: .6rem;
}

.waiter-kot-lines-wrap {
  overflow-x: auto;
}

.waiter-kot-lines-table {
  min-width: 64rem;
}

.waiter-kot-lines-table th,
.waiter-kot-lines-table td {
  vertical-align: middle;
}

.waiter-kot-lines-table td:first-child {
  min-width: 18rem;
}

.waiter-kot-lines-table td:nth-child(6) {
  min-width: 14rem;
}

.waiter-kot-totals {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: .9rem;
}

.waiter-kot-totals span {
  background: #f7fafc;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  color: #415161;
  display: flex;
  justify-content: space-between;
  padding: .65rem .75rem;
}

.waiter-kot-actions {
  justify-content: flex-end;
  margin-top: .9rem;
}

.waiter-kot-delete-form {
  display: flex;
  justify-content: flex-end;
  margin-top: .65rem;
}

.waiter-kot-delete-form button {
  background: #fff1f1;
  border: 1px solid #f0b4b4;
  color: #9b1c1c;
}

.waiter-kot-stock-list {
  display: grid;
  gap: .45rem;
  max-height: 30rem;
  overflow-y: auto;
}

.waiter-kot-stock-list button {
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  color: #17212b;
  display: grid;
  gap: .18rem;
  padding: .55rem .65rem;
  text-align: left;
}

.waiter-kot-stock-list button:hover {
  border-color: #4f7cac;
}

.waiter-kot-stock-list strong {
  font-size: .86rem;
}

.waiter-kot-stock-list span {
  color: #526274;
  font-size: .76rem;
}

.waiter-kot-recent-table {
  font-size: .86rem;
}

@media (max-width: 1180px) {
  .waiter-kot-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .waiter-kot-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .waiter-kot-header-grid {
    grid-template-columns: max-content minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .waiter-kot-counts,
  .waiter-kot-filter,
  .waiter-kot-header-grid,
  .waiter-kot-totals {
    grid-template-columns: 1fr;
  }

  .waiter-kot-filter label,
  .waiter-kot-header-grid label {
    padding-bottom: 0;
    padding-top: 0;
  }

  .waiter-kot-filter-actions,
  .waiter-kot-actions,
  .waiter-kot-delete-form {
    align-items: stretch;
    flex-direction: column;
  }

  .waiter-kot-filter-actions > *,
  .waiter-kot-actions > *,
  .waiter-kot-delete-form > * {
    width: 100%;
  }
}

@media print {
  .waiter-kot-heading,
  .waiter-kot-counts,
  .waiter-kot-filter-panel,
  .waiter-kot-message,
  .waiter-kot-side,
  .waiter-kot-actions,
  .waiter-kot-delete-form {
    display: none;
  }

  .waiter-kot-layout {
    display: block;
  }

  .waiter-kot-editor {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .waiter-kot-lines-wrap {
    overflow: visible;
  }

  .waiter-kot-lines-table {
    font-size: .7rem;
    min-width: 0;
  }

  .waiter-kot-lines-table th,
  .waiter-kot-lines-table td {
    padding: .16rem .2rem;
  }
}

.cocktail-sale-report-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cocktail-sale-report-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(8rem, 11rem) max-content minmax(8rem, 11rem) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr);
}

.cocktail-sale-report-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.cocktail-sale-report-filter input,
.cocktail-sale-report-filter select {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  min-height: 2.5rem;
  min-width: 0;
  padding: .5rem .65rem;
  width: 100%;
}

.cocktail-sale-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.cocktail-sale-report-filter button,
.cocktail-sale-report-filter a {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.5rem;
  padding: .5rem .75rem;
  text-decoration: none;
}

.cocktail-sale-report-filter button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.cocktail-sale-report-filter a,
.cocktail-sale-report-filter .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.cocktail-sale-report-table-wrap {
  overflow-x: auto;
}

.cocktail-sale-report-table {
  min-width: 86rem;
}

.cocktail-sale-report-table td {
  overflow-wrap: anywhere;
}

.cocktail-sale-report-total-row td {
  background: #e9f7ef;
  font-weight: 700;
}

@media (max-width: 992px) {
  .cocktail-sale-report-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cocktail-sale-report-filter {
    grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .cocktail-sale-report-counts,
  .cocktail-sale-report-filter {
    grid-template-columns: 1fr;
  }

  .cocktail-sale-report-filter label {
    padding-bottom: 0;
  }

  .cocktail-sale-report-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cocktail-sale-report-actions > * {
    width: 100%;
  }
}

@media print {
  .cocktail-sale-report-heading,
  .cocktail-sale-report-counts,
  .cocktail-sale-report-filter-panel {
    display: none;
  }

  .cocktail-sale-report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .cocktail-sale-report-table-wrap {
    overflow: visible;
  }

  .cocktail-sale-report-table {
    font-size: .62rem;
    min-width: 0;
  }

  .cocktail-sale-report-table th,
  .cocktail-sale-report-table td {
    padding: .12rem .16rem;
  }
}

.cocktail-item-register-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cocktail-item-register-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(10rem, 12rem) max-content minmax(14rem, 1fr) auto;
}

.cocktail-item-register-filter label,
.cocktail-item-register-form label {
  color: #415161;
  font-weight: 700;
}

.cocktail-item-register-filter label {
  padding-bottom: .55rem;
}

.cocktail-item-register-filter input,
.cocktail-item-register-filter select,
.cocktail-item-register-form input,
.cocktail-item-register-form select,
.cocktail-item-register-form textarea {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  box-sizing: border-box;
  min-height: 2.45rem;
  min-width: 0;
  padding: .48rem .62rem;
  width: 100%;
}

.cocktail-item-register-form textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.cocktail-item-register-form input[readonly] {
  background: #eef3f7;
  color: #5a6672;
}

.cocktail-item-register-filter-actions,
.cocktail-item-register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

.cocktail-item-register-filter button,
.cocktail-item-register-filter a,
.cocktail-item-register-form button,
.cocktail-item-register-form a,
.cocktail-item-register-delete-form button,
.cocktail-item-register-row-delete-form button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.45rem;
  padding: .48rem .75rem;
  text-decoration: none;
}

.cocktail-item-register-filter button,
.cocktail-item-register-form button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.cocktail-item-register-filter a,
.cocktail-item-register-filter .secondary-command,
.cocktail-item-register-form a {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.cocktail-item-register-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(26rem, .88fr) minmax(0, 1.35fr);
}

.cocktail-item-register-layout > *,
.cocktail-item-register-editor,
.cocktail-item-register-panel,
.cocktail-item-register-form {
  min-width: 0;
}

.cocktail-item-register-form {
  display: grid;
  gap: .65rem .8rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cocktail-item-register-form > *,
.cocktail-item-register-recipe-block,
.cocktail-item-register-lines-wrap,
.cocktail-item-register-table-wrap {
  max-width: 100%;
  min-width: 0;
}

.cocktail-item-register-form label {
  align-self: end;
}

.cocktail-item-register-validation,
.cocktail-item-register-recipe-block,
.cocktail-item-register-actions {
  grid-column: 1 / -1;
}

.cocktail-item-register-lines-wrap,
.cocktail-item-register-table-wrap {
  overflow-x: auto;
}

.cocktail-item-register-lines-table {
  min-width: 34rem;
}

.cocktail-item-register-lines-table th,
.cocktail-item-register-lines-table td {
  padding: .34rem .42rem;
}

.cocktail-item-register-lines-table td:first-child {
  min-width: 22rem;
}

.cocktail-item-register-lines-table td:nth-child(2) {
  width: 9rem;
}

.cocktail-item-register-delete-form {
  display: flex;
  justify-content: flex-end;
  margin-top: .75rem;
}

.cocktail-item-register-delete-form button,
.cocktail-item-register-row-delete-form button {
  background: #9f2d20;
  border: 1px solid #9f2d20;
  color: #ffffff;
}

.cocktail-item-register-row-delete-form {
  margin: 0;
}

.cocktail-item-register-table {
  min-width: 80rem;
}

.cocktail-item-register-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.cocktail-item-register-table td strong,
.cocktail-item-register-table td span {
  display: block;
}

.cocktail-item-register-table td span {
  color: #667586;
  font-size: .78rem;
  margin-top: .16rem;
}

@media (max-width: 1180px) {
  .cocktail-item-register-layout {
    grid-template-columns: 1fr;
  }

  .cocktail-item-register-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cocktail-item-register-counts,
  .cocktail-item-register-filter,
  .cocktail-item-register-form {
    grid-template-columns: 1fr;
  }

  .cocktail-item-register-filter label {
    padding-bottom: 0;
  }

  .cocktail-item-register-filter-actions,
  .cocktail-item-register-actions,
  .cocktail-item-register-delete-form {
    align-items: stretch;
    flex-direction: column;
  }

  .cocktail-item-register-filter-actions > *,
  .cocktail-item-register-actions > *,
  .cocktail-item-register-delete-form > * {
    width: 100%;
  }

  .cocktail-item-register-heading,
  .cocktail-item-register-counts,
  .cocktail-item-register-filter-panel,
  .cocktail-item-register-editor {
    min-width: 0;
  }

  .cocktail-item-register-lines-table {
    min-width: 31rem;
  }
}

@media print {
  .cocktail-item-register-heading,
  .cocktail-item-register-counts,
  .cocktail-item-register-filter-panel,
  .cocktail-item-register-editor,
  .cocktail-item-register-row-delete-form {
    display: none;
  }

  .cocktail-item-register-layout {
    display: block;
  }

  .cocktail-item-register-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .cocktail-item-register-table-wrap {
    overflow: visible;
  }

  .cocktail-item-register-table {
    font-size: .64rem;
    min-width: 0;
  }

  .cocktail-item-register-table th,
  .cocktail-item-register-table td {
    padding: .12rem .16rem;
  }
}

.sales-figure-less-counts {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sales-figure-less-filter {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: max-content minmax(10rem, 12rem) max-content minmax(11rem, 1fr) max-content minmax(10rem, 1fr) max-content minmax(12rem, 1fr) max-content minmax(12rem, 1fr) max-content minmax(8rem, 10rem) auto;
}

.sales-figure-less-filter label {
  color: #415161;
  font-weight: 700;
  padding-bottom: .55rem;
}

.sales-figure-less-filter input,
.sales-figure-less-filter select,
.sales-figure-less-table input {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  box-sizing: border-box;
  min-height: 2.35rem;
  min-width: 0;
  padding: .42rem .55rem;
  width: 100%;
}

.sales-figure-less-actions,
.sales-figure-less-save-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
}

.sales-figure-less-filter button,
.sales-figure-less-filter a,
.sales-figure-less-save-actions button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.4rem;
  padding: .45rem .75rem;
  text-decoration: none;
}

.sales-figure-less-filter button,
.sales-figure-less-save-actions button {
  background: #17212b;
  border: 1px solid #17212b;
  color: #ffffff;
}

.sales-figure-less-filter a,
.sales-figure-less-filter .secondary-command,
.sales-figure-less-save-actions .secondary-command {
  background: #ffffff;
  border: 1px solid #cbd5df;
  color: #17212b;
}

.sales-figure-less-save-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.sales-figure-less-table-wrap {
  overflow-x: auto;
}

.sales-figure-less-table {
  min-width: 132rem;
}

.sales-figure-less-table th,
.sales-figure-less-table td {
  padding: .34rem .42rem;
  vertical-align: middle;
}

.sales-figure-less-table td:nth-child(9) {
  min-width: 16rem;
}

.sales-figure-less-table td:nth-child(13) {
  min-width: 8rem;
}

.sales-figure-less-table td:nth-child(18) {
  min-width: 13rem;
}

.sales-figure-less-adjusted-row {
  background: #fff7df;
}

.sales-figure-less-save-actions {
  border-top: 1px solid #dde6ee;
  margin-top: .8rem;
  padding-top: .8rem;
}

@media (max-width: 1180px) {
  .sales-figure-less-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sales-figure-less-filter {
    grid-template-columns: max-content minmax(10rem, 1fr) max-content minmax(10rem, 1fr) max-content minmax(10rem, 1fr);
  }

  .sales-figure-less-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .sales-figure-less-counts,
  .sales-figure-less-filter {
    grid-template-columns: 1fr;
  }

  .sales-figure-less-filter label {
    padding-bottom: 0;
  }

  .sales-figure-less-actions,
  .sales-figure-less-save-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sales-figure-less-actions > *,
  .sales-figure-less-save-actions > * {
    width: 100%;
  }

  .sales-figure-less-heading,
  .sales-figure-less-counts,
  .sales-figure-less-filter-panel,
  .sales-figure-less-panel {
    min-width: 0;
  }
}

@media print {
  .sales-figure-less-heading,
  .sales-figure-less-counts,
  .sales-figure-less-filter-panel,
  .sales-figure-less-save-actions {
    display: none;
  }

  .sales-figure-less-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .sales-figure-less-table-wrap {
    overflow: visible;
  }

  .sales-figure-less-table {
    font-size: .58rem;
    min-width: 0;
  }

  .sales-figure-less-table input {
    border: 0;
    min-height: 0;
    padding: 0;
  }
}

/* 1366 x 768 desktop layout: stack entry/search panels above lists for migrated forms. */
@media screen and (max-width: 1366px) and (min-width: 768px) {
  body {
    margin-bottom: 44px;
  }

  body > .container,
  footer > .container {
    max-width: none;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
  }

  main.pb-3 {
    padding-bottom: 1rem !important;
  }

  .navbar {
    margin-bottom: .75rem !important;
  }

  .page-heading {
    margin: .85rem 0;
  }

  .page-heading h1 {
    font-size: 1.45rem;
  }

  .metric-grid {
    gap: .65rem;
    margin-bottom: .75rem;
  }

  .metric-card {
    min-height: 4.5rem;
    padding: .75rem;
  }

  .metric-card strong {
    font-size: 1.35rem;
  }

  .panel {
    padding: .75rem;
  }

  .filter-panel {
    margin-bottom: .75rem;
  }

  .section-title {
    margin-bottom: .55rem;
    padding-bottom: .45rem;
  }

  .administrator-layout,
  .bar-food-item-layout,
  .bar-liquor-item-layout,
  .bar-purchase-entry-layout,
  .bar-sale-entry-layout,
  .bar-transfer-report-layout,
  .category-register-layout,
  .cocktail-item-register-layout,
  .customer-receipt-entry-layout,
  .customer-register-layout,
  .daily-visit-layout,
  .food-lookup-layout,
  .inv-billing-layout,
  .inventory-item-layout,
  .inventory-purchase-entry-layout,
  .inventory-sale-entry-layout,
  .inventory-stock-register-layout,
  .inventory-transfer-layout,
  .item-image-layout,
  .item-register-layout,
  .ledger-register-layout,
  .new-purchase-layout,
  .scheme-setting-layout,
  .staff-pay-entry-layout,
  .staff-register-layout,
  .stock-register-layout,
  .store-register-layout,
  .sub-table-register-layout,
  .supplier-payment-entry-layout,
  .supplier-register-layout,
  .table-register-layout,
  .table-transfer-layout,
  .user-control-layout,
  .waiter-kot-layout,
  .waiter-register-layout {
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .administrator-layout > *,
  .bar-food-item-layout > *,
  .bar-liquor-item-layout > *,
  .bar-purchase-entry-layout > *,
  .bar-sale-entry-layout > *,
  .bar-transfer-report-layout > *,
  .category-register-layout > *,
  .cocktail-item-register-layout > *,
  .customer-receipt-entry-layout > *,
  .customer-register-layout > *,
  .daily-visit-layout > *,
  .food-lookup-layout > *,
  .inv-billing-layout > *,
  .inventory-item-layout > *,
  .inventory-purchase-entry-layout > *,
  .inventory-sale-entry-layout > *,
  .inventory-stock-register-layout > *,
  .inventory-transfer-layout > *,
  .item-image-layout > *,
  .item-register-layout > *,
  .ledger-register-layout > *,
  .new-purchase-layout > *,
  .scheme-setting-layout > *,
  .staff-pay-entry-layout > *,
  .staff-register-layout > *,
  .stock-register-layout > *,
  .store-register-layout > *,
  .sub-table-register-layout > *,
  .supplier-payment-entry-layout > *,
  .supplier-register-layout > *,
  .table-register-layout > *,
  .table-transfer-layout > *,
  .user-control-layout > *,
  .waiter-kot-layout > *,
  .waiter-register-layout > * {
    min-width: 0;
  }

  .data-table th,
  .data-table td {
    padding: .42rem .34rem;
  }
}

/* Accounting entry workspaces keep operational data opaque and compact. */
.accounting-entry-heading {
  margin-bottom: 16px;
}

.accounting-entry-message {
  background: rgba(240, 249, 255, .92);
  border: 1px solid rgba(23, 105, 170, .22);
  border-left: 4px solid var(--tdr-blue);
  border-radius: 8px;
  color: var(--tdr-ink);
  font-size: .86rem;
  font-weight: 650;
  margin-bottom: 16px;
  padding: 12px 16px;
}

.accounting-entry-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.accounting-entry-panel,
.accounting-entry-tools,
.accounting-entry-history {
  background: #fff;
  border-color: var(--tdr-line);
  min-width: 0;
}

.accounting-entry-section-title {
  align-items: flex-start;
}

.accounting-entry-section-title > div {
  display: grid;
  gap: 4px;
}

.accounting-entry-section-title span {
  color: var(--tdr-muted);
  font-size: .78rem;
}

.accounting-entry-document-number {
  background: rgba(23, 105, 170, .08);
  border: 1px solid rgba(23, 105, 170, .18);
  border-radius: 8px;
  color: var(--tdr-blue);
  font-size: .78rem;
  padding: 8px 12px;
}

.accounting-entry-form {
  display: grid;
  gap: 16px;
}

.accounting-entry-grid {
  display: grid;
  gap: 12px 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.accounting-entry-grid label,
.accounting-entry-open-form label,
.accounting-entry-delete-form label {
  display: grid;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.accounting-entry-grid label > span:first-child,
.accounting-entry-open-form label > span:first-child,
.accounting-entry-delete-form label > span:first-child {
  color: #334155;
  font-size: .74rem;
  font-weight: 750;
}

.accounting-entry-grid input,
.accounting-entry-grid textarea,
.accounting-entry-open-form input,
.accounting-entry-delete-form input {
  background: #fff;
  border: 1px solid #d7e0e7;
  border-radius: 8px;
  color: var(--tdr-ink);
  font: inherit;
  min-height: 40px;
  min-width: 0;
  padding: 8px 10px;
  width: 100%;
}

.accounting-entry-grid textarea {
  min-height: 72px;
  resize: vertical;
}

.accounting-entry-grid input:focus,
.accounting-entry-grid textarea:focus,
.accounting-entry-open-form input:focus,
.accounting-entry-delete-form input:focus {
  border-color: var(--tdr-blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 170, .12);
  outline: 0;
}

.accounting-entry-wide {
  grid-column: span 2;
}

.accounting-entry-balance {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  max-width: 320px;
  padding: 8px 12px;
}

.accounting-entry-balance span {
  font-size: .76rem;
  font-weight: 700;
}

.accounting-entry-balance strong {
  font-variant-numeric: tabular-nums;
}

.accounting-entry-balance.is-balanced {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.accounting-entry-actions,
.accounting-entry-open-form,
.accounting-entry-delete-form {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.accounting-entry-actions button,
.accounting-entry-actions a,
.accounting-entry-open-form button,
.accounting-entry-delete-form button {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 750;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  text-decoration: none;
}

.accounting-entry-actions .primary-command {
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #fff;
}

.accounting-entry-actions .secondary-command,
.accounting-entry-open-form .secondary-command {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.accounting-entry-delete-form .danger-command {
  background: #dc2626;
  border: 1px solid #dc2626;
  color: #fff;
}

.accounting-entry-actions a:hover,
.accounting-entry-actions button:hover,
.accounting-entry-open-form button:hover,
.accounting-entry-delete-form button:hover {
  box-shadow: 0 6px 14px rgba(15, 23, 42, .12);
  transform: translateY(-1px);
}

.accounting-entry-actions a:focus-visible,
.accounting-entry-actions button:focus-visible,
.accounting-entry-open-form button:focus-visible,
.accounting-entry-delete-form button:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .24);
  outline: 2px solid transparent;
}

.accounting-entry-tools {
  align-items: end;
  display: grid;
  gap: 12px 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.accounting-entry-tools .section-title {
  grid-column: 1 / -1;
}

.accounting-entry-open-form label,
.accounting-entry-delete-form label {
  flex: 1 1 220px;
}

.accounting-entry-table-wrap {
  max-height: min(42vh, 390px);
  min-height: 190px;
}

.accounting-entry-table {
  min-width: 920px;
}

.accounting-entry-table td,
.accounting-entry-table th {
  vertical-align: middle;
}

.accounting-entry-table td a {
  color: var(--tdr-blue);
  font-weight: 750;
  text-decoration: none;
}

.accounting-entry-table td a:hover {
  text-decoration: underline;
}

.field-validation,
.validation-summary {
  color: #b91c1c;
  font-size: .72rem;
}

.validation-summary:empty,
.field-validation:empty {
  display: none;
}

@media (max-width: 1100px) {
  .accounting-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .accounting-entry-grid,
  .accounting-entry-tools {
    grid-template-columns: 1fr;
  }

  .accounting-entry-wide,
  .accounting-entry-tools .section-title {
    grid-column: auto;
  }

  .accounting-entry-actions > *,
  .accounting-entry-open-form > *,
  .accounting-entry-delete-form > * {
    flex: 1 1 100%;
    width: 100%;
  }

  .accounting-entry-table-wrap {
    max-height: 360px;
  }
}
