:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #263a58;
  background: #f5f8fc;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ui-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-width: 320px;
  background: #f5f8fc;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #fff 0%, #eef7ff 55%, #ffeceb 100%);
}
.pin-login-view {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr) 92px;
  color: #284766;
  background: #fff;
}
.pin-login-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  padding: 0 24px;
  color: #fff;
  background: #ff514f;
}
.pin-login-bar > span {
  font-weight: 800;
}
.pin-login-bar > b {
  justify-self: end;
  font-size: 12px;
}
.pin-login-content {
  width: min(1100px, calc(100% - 40px));
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  justify-self: center;
  padding: 28px 0 18px;
}
.pin-login-heading {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.pin-login-heading p,
.pin-login-heading h1 {
  margin: 0;
}
.pin-login-heading p {
  color: #ff514f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.pin-login-heading h1 {
  color: #2c9ce8;
  font-size: clamp(25px, 3vw, 38px);
}
.pin-dots {
  display: flex;
  gap: 24px;
  margin: 10px 0 4px;
}
.pin-dots i {
  width: 24px;
  height: 24px;
  border: 2px solid #2c9ce8;
  border-radius: 50%;
  transition: 0.15s ease;
}
.pin-dots i.filled {
  background: #2c9ce8;
  box-shadow: inset 0 0 0 5px #fff;
}
.pin-dots.error {
  animation: pin-shake 0.32s ease;
}
@keyframes pin-shake {
  25% {
    transform: translateX(-9px);
  }
  75% {
    transform: translateX(9px);
  }
}
.pin-link {
  padding: 4px;
  color: #82a9c5;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
}
#loginMessage {
  min-height: 20px;
  color: #cf4b4b;
  font-size: 13px;
  font-weight: 750;
}
.pin-keypad {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, minmax(80px, 1fr));
  border: 1px solid #cfe4f4;
  border-radius: 12px;
  overflow: hidden;
}
.pin-keypad button,
.pin-keypad > span {
  min-height: 80px;
  display: grid;
  place-items: center;
  color: #2c9ce8;
  background: #fff;
  border: 0;
  border-right: 1px solid #cfe4f4;
  border-bottom: 1px solid #cfe4f4;
  font-size: clamp(28px, 4vh, 42px);
  font-weight: 700;
  transition: 0.12s ease;
}
.pin-keypad > :nth-child(3n) {
  border-right: 0;
}
.pin-keypad > :nth-child(n + 10) {
  border-bottom: 0;
}
.pin-keypad button:hover,
.pin-keypad button:focus-visible {
  background: #edf7ff;
}
.pin-keypad button:active {
  background: #dcefff;
  transform: scale(0.985);
}
.pin-keypad .pin-delete .ui-icon {
  width: 34px;
  height: 34px;
}
.pin-login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: #f7f9fc;
  border-top: 1px solid #e2ebf2;
}
.pin-login-footer > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.pin-login-footer .kaysu-mark {
  color: #2c9ce8;
  font-size: 32px;
}
.pin-login-footer span {
  color: #8ba8bd;
  font-size: 12px;
}
.pin-login-footer button {
  min-height: 42px;
  padding: 0 15px;
  color: #2c9ce8;
  background: #eaf5ff;
  border: 0;
  border-radius: 8px;
  font-weight: 850;
}
.password-login-card {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 30;
  transform: translate(-50%, -50%);
}
.password-login-card::before {
  content: "";
  position: fixed;
  inset: -100vh -100vw;
  z-index: -1;
  background: rgba(18, 40, 61, 0.56);
}
.password-login-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  min-height: 38px !important;
  display: grid;
  place-items: center;
  color: #2c9ce8 !important;
  background: #eaf5ff !important;
  border-radius: 50% !important;
}
.login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 15px;
  padding: 38px;
  background: #fff;
  border: 1px solid #dce8f2;
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(36, 65, 96, 0.14);
}
.kaysu-mark {
  color: #0d1a2a;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -3px;
}
.login-card p,
.login-card h1 {
  margin: 0;
}
.login-card p {
  color: #ff514f;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.login-card label,
.ticket-dialog label,
.product-dialog label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.login-card input,
.ticket-dialog input,
.product-dialog textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #ceddea;
  border-radius: 10px;
  background: #f9fbfd;
}
.login-card button,
.primary {
  min-height: 52px;
  color: #fff;
  background: #2f9cf4;
  border: 0;
  border-radius: 9px;
  font-weight: 900;
}
.login-card span {
  min-height: 22px;
  color: #d33;
}
.waiter-app {
  height: 100vh;
  min-height: 650px;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr) 76px;
  overflow: hidden;
}
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  background: #ff514f;
  box-shadow: 0 2px 8px rgba(130, 24, 24, 0.18);
  z-index: 5;
}
.app-place,
.app-status {
  display: flex;
  align-items: center;
  gap: 13px;
}
.app-place strong,
.app-place b,
.app-bar button,
.cashier-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.app-bar button {
  padding: 7px 10px;
  color: #fff;
  background: rgba(39, 39, 55, 0.25);
  border: 0;
  border-radius: 7px;
}
.app-status .online {
  font-weight: 850;
}
.screen {
  min-height: 0;
}
.cashier-screen {
  display: grid;
  grid-template-columns: 260px minmax(400px, 1fr) 390px;
  grid-template-rows: 72px minmax(0, 1fr);
  gap: 1px;
  background: #d8e6f1;
}
.cashier-tools {
  grid-column: 1/3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
}
.cashier-tools button {
  height: 50px;
  padding: 0 20px;
  color: #26405f;
  background: #f3f7fb;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
}
.cashier-tools button.active {
  color: #2899e7;
  background: #eef7ff;
}
.cashier-tools .icon-button .ui-icon {
  width: 25px;
  height: 25px;
}
.product-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(350px, 35%);
  padding: 0 13px;
  background: #f3f7fb;
  border-radius: 7px;
}
.product-search > .ui-icon {
  color: #7596ad;
}
.product-search input {
  width: 100%;
  height: 50px;
  background: transparent;
  border: 0;
  outline: 0;
}
.category-pane {
  grid-row: 2;
  padding: 10px 0;
  background: #fff;
  overflow-y: auto;
}
.category-pane button {
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  color: #29415f;
  text-align: left;
  background: #fff;
  border: 0;
  font-size: 17px;
  font-weight: 750;
}
.category-pane button.active {
  color: #2297e5;
  background: #e8f5ff;
}
.product-pane {
  grid-row: 2;
  padding: 10px;
  background: #f8fbfe;
  overflow-y: auto;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 9px;
}
.product-card {
  position: relative;
  min-height: 158px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #f4f7fb;
  border: 1px solid #ccddeb;
  border-radius: 7px;
}
.product-card img,
.product-image-fallback {
  width: 100%;
  height: 105px;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: #2b4566;
  background: linear-gradient(145deg, #ecf2f8, #dfe8f1);
  font-size: 40px;
  font-weight: 300;
}
.product-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 11px 10px;
  color: #1e3554;
  background: rgba(255, 255, 255, 0.87);
  font-weight: 850;
}
.product-card small {
  display: block;
  margin-top: 2px;
  color: #2c98dd;
}
.product-card.unavailable {
  opacity: 0.45;
}
.category-card {
  min-height: 180px;
  border-color: #b9d8ee;
  background: #fff;
}
.category-card img,
.category-card .product-image-fallback {
  height: 125px;
}
.category-card span {
  color: #203b5e;
  font-size: 17px;
}
.category-card small {
  color: #8199ad;
  font-size: 12px;
  font-weight: 700;
}
.cart-pane {
  position: relative;
  grid-column: 3;
  grid-row: 1/3;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
  padding: 0 16px 14px;
  background: #fff;
  overflow: hidden;
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}
.cart-head h2,
.cart-head p {
  margin: 0;
}
.cart-head h2 {
  color: #2f9cf4;
  font-size: 25px;
}
.cart-head p {
  margin-top: 3px;
  color: #91a8b9;
}
.cart-head button {
  color: #2396e2;
  background: transparent;
  border: 0;
  font-size: 25px;
}
.cart-head button .ui-icon {
  transition: transform 0.2s ease;
}
.cart-head button.open .ui-icon {
  transform: rotate(180deg);
}
.cart-menu {
  position: absolute;
  z-index: 12;
  top: 78px;
  left: 0;
  right: 0;
  display: grid;
  padding: 14px 18px 20px;
  background: #fff;
  border-top: 1px solid #edf3f7;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 22px 45px rgba(32, 56, 82, 0.24);
}
.cart-menu[hidden] {
  display: none;
}
.cart-menu > button {
  min-height: 78px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 12px;
  color: #294468;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  font-size: 19px;
  font-weight: 750;
}
.cart-menu > button:hover,
.cart-menu > button:focus-visible {
  background: #f4f9fd;
}
.cart-menu > button .ui-icon {
  width: 31px;
  height: 31px;
  color: #2f9cf4;
}
.cart-menu > button.danger,
.cart-menu > button.danger .ui-icon {
  color: #eb6a74;
}
.cart-notice {
  padding: 11px;
  color: #9b5660;
  text-align: center;
  background: #fff5f5;
  border-radius: 7px;
}
.cart-lines {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px 0;
  overflow-y: auto;
}
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 22px;
  gap: 8px;
  align-items: start;
  padding: 9px 4px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf2f6;
  border-radius: 0;
  touch-action: pan-y;
  user-select: none;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
}
.cart-line.is-dragging {
  cursor: grabbing;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}
.cart-line.swipe-delete {
  background: rgba(224, 84, 99, 0.11);
  box-shadow: inset 4px 0 0 #df5b69;
}
.cart-line.swipe-duplicate {
  background: rgba(47, 156, 244, 0.11);
  box-shadow: inset -4px 0 0 #2f9cf4;
}
.cart-line-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.cart-line-main strong,
.cart-line-main span,
.cart-line-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-line-main strong {
  color: #29415f;
  font-size: 16px;
  line-height: 1.1;
}
.cart-line-main small:empty {
  display: none;
}
.cart-line-main span {
  color: #83a6c0;
  font-size: 14px;
  font-weight: 750;
}
.cart-line-main small {
  color: #91a8b9;
  font-size: 13px;
  line-height: 1.1;
}
.cart-line-total {
  align-self: center;
  color: #2f9cf4;
  font-size: 16px;
  white-space: nowrap;
}
.cart-line-more {
  width: 22px;
  min-height: 30px;
  padding: 0;
  color: #2f9cf4;
  background: transparent;
  border: 0;
  font-size: 21px;
  line-height: 1;
}
.order-note {
  display: grid;
  gap: 5px;
  padding: 8px 0;
  color: #73889a;
  font-size: 12px;
  font-weight: 800;
}
.order-note textarea {
  min-height: 55px;
  resize: none;
  padding: 9px;
  border: 1px solid #d7e5ef;
  border-radius: 7px;
}
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #d8e6f0;
  font-size: 18px;
}
.cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cart-actions button {
  min-height: 62px;
  border-radius: 5px;
  font-weight: 900;
}
.cart-actions .secondary {
  color: #2797e3;
  background: #eaf5fe;
  border: 0;
}
.bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2eaf1;
  border-top: 1px solid #d5e1ea;
}
.bottom-nav button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #8aa9bf;
  background: #fff;
  border: 0;
  font-size: 18px;
  font-weight: 850;
}
.bottom-nav button.active {
  color: #2e9be7;
  background: #edf7ff;
}
.bottom-nav .ui-icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}
.bottom-nav b {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #fff;
  background: #ff514f;
  border-radius: 50%;
  font-size: 11px;
}
.sales-screen {
  --sales-blue: #278ff0;
  --sales-ink: #25436d;
  --sales-muted: #82a9d4;
  display: grid;
  grid-template-columns: minmax(350px, 38%) minmax(0, 1fr);
  min-height: 0;
  color: var(--sales-ink);
  background: #fff;
}
.sales-order-pane {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-right: 1px solid #d8e8f7;
}
.sales-list-head {
  display: grid;
  gap: 12px;
  padding: 18px 20px 10px;
  background: #fff;
}
.sales-list-top {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
}
.sales-list-top h1,
.sales-ticket-head h2 {
  margin: 0;
  color: var(--sales-blue);
  font-size: 24px;
  text-align: center;
}
.sales-list-top button {
  width: 42px;
  height: 42px;
  color: var(--sales-blue);
  background: #e5f2ff;
  border: 0;
  border-radius: 8px;
  font-size: 22px;
}
.sales-period-card {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--sales-ink);
  background: #edf6ff;
  border: 0;
  border-radius: 8px;
  text-align: left;
}
.sales-period-card > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--sales-blue);
  font-size: 22px;
}
.sales-period-card div,
.sales-list-title div {
  display: grid;
  gap: 2px;
}
.sales-period-card small,
.sales-list-title span {
  color: var(--sales-muted);
  font-size: 12px;
  font-weight: 750;
}
.sales-period-card > .ui-icon {
  width: 17px;
  height: 17px;
  color: var(--sales-blue);
}
.sales-list-title strong {
  color: var(--sales-blue);
  font-size: 19px;
}
.sales-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sales-list-title > button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: var(--sales-blue);
  background: #edf6ff;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.sales-list-title > button b {
  font-size: 20px;
}
.sales-search {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  color: var(--sales-muted);
  background: #edf6ff;
  border-radius: 8px;
  font-size: 22px;
}
.sales-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  color: var(--sales-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-weight: 750;
}
.sales-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.sales-filters button {
  min-height: 36px;
  padding: 5px;
  color: var(--sales-blue);
  background: #edf6ff;
  border: 0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 850;
}
.sales-filters button.active {
  color: #fff;
  background: var(--sales-blue);
}
.sales-list {
  min-height: 0;
  overflow-y: auto;
  border-top: 1px solid #edf3f8;
}
.sales-order {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--sales-ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #d9e9f8;
  text-align: left;
}
.sales-order:hover,
.sales-order.selected {
  background: #eaf5ff;
}
.sales-order-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--sales-blue);
  background: #e4f2ff;
  border-radius: 8px;
  font-size: 22px;
}
.sales-order-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.sales-order-copy strong,
.sales-order-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sales-order-copy small {
  color: var(--sales-muted);
  font-size: 12px;
  font-weight: 750;
}
.sales-order-total {
  color: var(--sales-blue);
  font-weight: 850;
  white-space: nowrap;
}
.sales-ticket-pane {
  min-width: 0;
  overflow-y: auto;
  padding: 24px 44px 40px;
  background: #fff;
}
.sales-ticket-head {
  display: grid;
  gap: 24px;
}
.sales-ticket-head h2 {
  overflow-wrap: anywhere;
}
.sales-ticket-summary {
  display: grid;
  gap: 4px;
  color: var(--sales-muted);
  font-weight: 750;
}
.sales-ticket-summary > strong {
  margin: 6px 0 2px;
  color: var(--sales-blue);
  font-size: 34px;
}
.sales-synced {
  color: #56bd7d;
}
.sales-ticket-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}
.sales-ticket-badges i {
  font-style: normal;
}
.sales-ticket-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 28px;
}
.sales-ticket-actions > button,
.sales-more-wrap > button {
  width: 100%;
  min-height: 84px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 10px 8px;
  color: var(--sales-blue);
  background: #e4f2ff;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}
.sales-ticket-actions button .ui-icon {
  width: 25px;
  height: 25px;
}
.sales-ticket-actions button:disabled {
  color: #adc5da;
  cursor: not-allowed;
  opacity: 0.66;
}
.sales-ticket-actions button:not(:disabled):active {
  color: #fff;
  background: var(--sales-blue);
}
.sales-more-wrap {
  position: relative;
}
.sales-more-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  right: 0;
  width: 230px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #d4e5f3;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(35, 76, 111, 0.18);
}
.sales-more-menu button {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  color: var(--sales-ink);
  background: transparent;
  border: 0;
  border-radius: 7px;
  text-align: left;
  font-weight: 800;
}
.sales-more-menu button:hover {
  color: var(--sales-blue);
  background: #edf6ff;
}
.sales-ticket-body {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}
.sales-detail-section {
  display: grid;
  gap: 12px;
}
.sales-detail-section h3 {
  margin: 0;
  color: var(--sales-blue);
  font-size: 18px;
}
.sales-detail-items,
.sales-operation-list {
  border-top: 1px solid #d9e9f8;
}
.sales-detail-items article {
  min-height: 72px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #d9e9f8;
}
.sales-item-image {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--sales-blue);
  background: #e4f2ff;
  border-radius: 8px;
}
.sales-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sales-detail-items article div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.sales-detail-items article div span,
.sales-detail-items article div small {
  color: var(--sales-muted);
}
.sales-detail-items article > b,
.sales-operation-list b,
.sales-transaction > b {
  color: var(--sales-blue);
  white-space: nowrap;
}
.sales-operation-list > div {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d9e9f8;
}
.sales-operation-list .total {
  min-height: 62px;
  color: var(--sales-blue);
  font-size: 19px;
}
.sales-transaction {
  min-height: 68px;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #edf6ff;
  border-radius: 8px;
}
.sales-transaction > span {
  color: var(--sales-blue);
  font-size: 24px;
}
.sales-transaction div {
  display: grid;
}
.sales-transaction small,
.sales-empty span,
.sales-detail-empty small {
  color: var(--sales-muted);
}
.sales-empty,
.sales-detail-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  min-height: 220px;
  padding: 30px;
  text-align: center;
}
.sales-detail-empty {
  height: 100%;
}
.sales-detail-empty > span {
  color: var(--sales-blue);
  font-size: 48px;
}
.status-pill {
  display: inline-block;
  padding: 5px 8px;
  color: #187dbd;
  background: #e8f5ff;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.status-pill.paid {
  color: #177d50;
  background: #e5f8ef;
}
.status-pill.cancelled {
  color: #b33b3b;
  background: #ffeaea;
}
.more-screen {
  display: grid;
  place-items: center;
  padding: 30px;
}
.more-card {
  max-width: 560px;
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(41, 76, 107, 0.1);
}
.more-card button {
  padding: 12px 18px;
  color: #fff;
  background: #2f9cf4;
  border: 0;
  border-radius: 8px;
}
.ticket-dialog,
.product-dialog,
.statistics-dialog,
.sales-range-dialog {
  width: min(720px, 90vw);
  padding: 0;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(20, 43, 65, 0.3);
}
.sales-range-dialog {
  width: min(650px, 92vw);
  color: #25436d;
}
.sales-range-shell {
  display: grid;
  gap: 18px;
  padding: 24px;
}
.sales-range-shell > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.sales-range-shell header p,
.sales-range-shell header h2 {
  margin: 0;
}
.sales-range-shell header p {
  color: #ff514f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.sales-range-shell header h2 {
  color: #278ff0;
  font-size: 28px;
}
.sales-range-shell header button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #278ff0;
  background: #e5f2ff;
  border: 0;
  border-radius: 50%;
}
.sales-range-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.sales-range-presets button {
  min-height: 44px;
  padding: 5px;
  color: #278ff0;
  background: #edf6ff;
  border: 0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 850;
}
.sales-range-presets button.active {
  color: #fff;
  background: #278ff0;
}
.sales-range-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sales-range-fields label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 850;
}
.sales-range-fields input {
  width: 100%;
  min-height: 50px;
  padding: 0 12px;
  color: #25436d;
  background: #f6faff;
  border: 1px solid #d2e4f3;
  border-radius: 8px;
}
.sales-range-dialog.staff-period-dialog {
  --stats-blue: #278ff0;
  --stats-ink: #25436d;
  --stats-muted: #82a9d4;
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 36px;
  overflow: hidden;
  background: rgba(18, 31, 45, 0.38);
  border-radius: 0;
  box-shadow: none;
}
.sales-range-dialog.staff-period-dialog::backdrop {
  background: rgba(18, 31, 45, 0.2);
}
#salesRangeContent {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.sales-period-picker {
  height: min(980px, calc(100vh - 72px));
}
.ticket-page-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  color: #263f5f;
  background: #f5f9fd;
  border-radius: 0;
}
.ticket-page-dialog::backdrop {
  background: #f5f9fd;
}
.ticket-page-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  overflow: hidden;
}
.ticket-filter-pane {
  padding: 24px 18px;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #d7e7f2;
}
.ticket-filter-pane h3 {
  margin: 12px 12px 10px;
  color: #2f9cf4;
  font-size: 17px;
}
.ticket-filter-pane button {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  color: #263f5f;
  background: #fff;
  border: 1px solid #e1ebf2;
  border-radius: 8px;
  text-align: left;
  font-weight: 850;
}
.ticket-filter-pane button + button {
  margin-top: 7px;
}
.ticket-filter-pane button.active {
  color: #197fc3;
  background: #e8f5ff;
  border-color: #c5e2f6;
}
.ticket-picker-main {
  min-width: 0;
  overflow-y: auto;
  padding: 24px;
}
.ticket-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.ticket-picker-head p,
.ticket-picker-head h2 {
  margin: 0;
}
.ticket-picker-head p {
  color: #ff514f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.ticket-picker-head h2 {
  color: #2f9cf4;
  font-size: 34px;
}
.ticket-picker-head > div:last-child {
  display: flex;
  gap: 10px;
}
.ticket-picker-head button {
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}
.ticket-more-button {
  color: #273e5a;
  background: #ece9e5;
}
.ticket-option-sections {
  display: grid;
  gap: 16px;
}
.ticket-option-section {
  padding: 16px;
  background: #fff;
  border: 1px solid #cfe1ed;
  border-radius: 10px;
}
.ticket-option-section h3 {
  margin: 0 0 10px;
  color: #86a7bc;
  font-size: 15px;
  text-transform: uppercase;
}
.ticket-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
}
.ticket-option-grid > p {
  color: #86a7bc;
}
.ticket-option {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  color: #263f5f;
  background: #fff;
  border: 1px solid #cfe1ed;
  border-radius: 8px;
  text-align: left;
}
.ticket-option > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.ticket-option strong,
.ticket-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticket-option small {
  color: #8da8ba;
  font-size: 11px;
}
.ticket-option b {
  color: #2f9cf4;
  font-size: 24px;
}
.ticket-option.selected {
  color: #fff;
  background: #2f9cf4;
  border-color: #2f9cf4;
  box-shadow: 0 8px 18px rgba(47, 156, 244, 0.22);
}
.ticket-option.selected small,
.ticket-option.selected b {
  color: #fff;
}
.ticket-option.inactive {
  opacity: 0.45;
}
.statistics-dialog {
  width: min(1080px, 94vw);
  max-height: 90vh;
  overflow: auto;
  color: #25436d;
}
.statistics-shell {
  padding: 26px;
}
.statistics-shell > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.statistics-shell > header p,
.statistics-shell > header h2 {
  margin: 0;
}
.statistics-shell > header p {
  color: #ff514f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.statistics-shell > header h2 {
  color: #278ff0;
  font-size: 34px;
}
.statistics-shell > header span {
  color: #82a9d4;
  font-weight: 750;
}
.statistics-shell > header button {
  width: 44px;
  height: 44px;
  color: #278ff0;
  background: #e5f2ff;
  border: 0;
  border-radius: 50%;
  font-size: 28px;
}
.statistics-net {
  display: grid;
  gap: 3px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #278ff0, #1578d5);
  border-radius: 14px;
}
.statistics-net strong {
  font-size: 38px;
}
.statistics-net small {
  opacity: 0.82;
}
.statistics-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0;
}
.statistics-cards article {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 17px;
  background: #f4f9fe;
  border: 1px solid #d8e8f7;
  border-radius: 11px;
}
.statistics-cards span,
.statistics-cards small,
.statistics-products header span,
.statistics-products article span {
  color: #82a9d4;
}
.statistics-cards strong {
  color: #278ff0;
  font-size: 23px;
}
.statistics-cards .discount strong {
  color: #e29a19;
}
.statistics-cards .refund strong {
  color: #d34b4b;
}
.statistics-products {
  padding: 20px;
  border: 1px solid #d8e8f7;
  border-radius: 12px;
}
.statistics-products h3 {
  margin: 0;
  color: #278ff0;
}
.statistics-products > div {
  margin-top: 12px;
  border-top: 1px solid #d8e8f7;
}
.statistics-products article {
  min-height: 58px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e5eff7;
}
.statistics-products article i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #278ff0;
  background: #e5f2ff;
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}
.statistics-products article div {
  display: grid;
}
.statistics-products article b {
  color: #278ff0;
}
.statistics-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  overflow: hidden;
  color: #25436d;
  background: #f5f9fd;
  border-radius: 0;
  box-shadow: none;
}
.statistics-dialog::backdrop {
  background: #f5f9fd;
}
#statisticsContent,
.staff-stats-page {
  height: 100%;
}
.staff-stats-page {
  --stats-blue: #278ff0;
  --stats-ink: #25436d;
  --stats-muted: #82a9d4;
  display: grid;
  grid-template-rows: 78px 56px minmax(0, 1fr);
  background: #f5f9fd;
}
.staff-stats-topbar {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #d9e9f8;
}
.staff-stats-topbar > button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--stats-blue);
  background: #e5f2ff;
  border: 0;
  border-radius: 50%;
}
.staff-stats-topbar > div:nth-child(2) {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.staff-stats-topbar h1 {
  margin: 0;
  color: var(--stats-blue);
  font-size: 25px;
}
.staff-stats-topbar span {
  color: var(--stats-muted);
  font-size: 12px;
  font-weight: 750;
}
.staff-stats-actions {
  display: flex;
  gap: 8px;
}
.staff-stats-actions button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  color: var(--stats-blue);
  background: #e5f2ff;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}
.staff-stats-period-tabs {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid #d9e9f8;
}
.staff-stats-period-tabs button {
  min-width: 105px;
  padding: 0 18px;
  color: var(--stats-muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: 13px;
  font-weight: 850;
}
.staff-stats-period-tabs button.active {
  color: var(--stats-blue);
  border-bottom-color: var(--stats-blue);
}
.staff-stats-shell {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}
.staff-stats-sidebar {
  padding: 18px;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #d9e9f8;
}
.staff-stats-period-card {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--stats-blue);
  background: #edf6ff;
  border: 0;
  border-radius: 9px;
  text-align: left;
}
.staff-stats-period-card > .ui-icon {
  width: 26px;
  height: 26px;
  justify-self: center;
}
.staff-stats-period-card div {
  display: grid;
  gap: 2px;
}
.staff-stats-period-card span {
  color: var(--stats-muted);
  font-size: 11px;
}
.staff-stats-period-card > b {
  display: grid;
  place-items: center;
}
.staff-stats-period-card > b .ui-icon {
  width: 17px;
  height: 17px;
}
.staff-stats-range-panel {
  position: absolute;
  top: 14px;
  left: 314px;
  z-index: 20;
  width: min(560px, calc(100% - 340px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #d2e4f3;
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(27, 72, 111, 0.2);
}
.staff-stats-range-panel header {
  grid-column: 1/-1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.staff-stats-range-panel header div {
  display: grid;
  gap: 3px;
}
.staff-stats-range-panel header strong {
  color: var(--stats-blue);
  font-size: 20px;
}
.staff-stats-range-panel header span {
  color: var(--stats-muted);
  font-size: 12px;
}
.staff-stats-range-panel header button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--stats-blue);
  background: #e5f2ff;
  border: 0;
  border-radius: 50%;
}
.staff-stats-range-panel label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 850;
}
.staff-stats-range-panel input {
  width: 100%;
  min-height: 50px;
  padding: 0 12px;
  color: var(--stats-ink);
  background: #f6faff;
  border: 1px solid #d2e4f3;
  border-radius: 8px;
}
.staff-stats-range-panel > .primary {
  grid-column: 1/-1;
}
.statistics-period-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(18, 31, 45, 0.38);
}
.statistics-period-picker {
  width: min(1120px, 100%);
  height: min(980px, calc(100vh - 72px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px 36px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 30px 90px rgba(20, 43, 65, 0.3);
}
.statistics-period-picker > header {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
}
.statistics-period-picker > header button {
  width: 48px;
  height: 48px;
  color: var(--stats-blue);
  background: transparent;
  border: 0;
}
.statistics-period-picker > header h2 {
  margin: 0;
  color: var(--stats-blue);
  text-align: center;
  font-size: 27px;
}
.statistics-period-body {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 0 4px 12px;
}
.statistics-period-body h3 {
  margin: 7px 0 0;
  color: var(--stats-blue);
  font-size: 22px;
}
.statistics-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.statistics-date-row > button {
  min-height: 90px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 4px 10px;
  padding: 12px 24px;
  border: 1px solid #d5e4ef;
  border-radius: 7px 0 0 7px;
  color: var(--stats-ink);
  background: #fff;
  text-align: left;
}
.statistics-date-row > button + button {
  border-left: 0;
  border-radius: 0 7px 7px 0;
}
.statistics-date-row .ui-icon {
  width: 27px;
  height: 27px;
  color: #86a6bc;
}
.statistics-date-row strong {
  font-size: 20px;
}
.statistics-date-row small {
  grid-column: 2;
  color: #86a6bc;
  font-size: 13px;
  font-weight: 750;
}
.statistics-all-dates {
  min-height: 78px;
  display: grid;
  place-items: center;
  color: var(--stats-ink);
  background: #fff;
  border: 1px solid #d5e4ef;
  border-radius: 7px;
  font-size: 20px;
}
.statistics-all-dates small {
  color: #86a6bc;
  font-size: 14px;
}
.statistics-preset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.statistics-preset-grid button {
  min-height: 82px;
  padding: 8px;
  color: var(--stats-ink);
  background: #fff;
  border: 1px solid #d5e4ef;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 850;
}
.statistics-all-dates.active,
.statistics-preset-grid button.active {
  color: #fff;
  background: var(--stats-blue);
  border-color: var(--stats-blue);
}
.statistics-all-dates.active small {
  color: rgba(255, 255, 255, 0.82);
}
.statistics-device-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.statistics-device-choice button {
  min-height: 105px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 0;
  color: var(--stats-ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 19px;
  font-weight: 850;
}
.statistics-device-choice i {
  width: 28px;
  height: 28px;
  border: 2px solid #d5e4ef;
  border-radius: 50%;
}
.statistics-device-choice button.active i {
  border: 7px solid var(--stats-blue);
}
.statistics-device-choice span {
  display: grid;
}
.statistics-device-choice small {
  margin-top: 6px;
  color: #86a6bc;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}
.statistics-period-submit {
  width: 100%;
  min-height: 68px;
  color: #fff;
  background: var(--stats-blue);
  border: 0;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 900;
}
.statistics-calendar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(18, 31, 45, 0.56);
}
.statistics-calendar-picker {
  width: min(1120px, 100%);
  height: min(820px, calc(100vh - 72px));
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 20px;
  padding: 34px 44px 24px;
  color: var(--stats-ink);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(20, 43, 65, 0.34);
}
.statistics-calendar-picker > h2 {
  margin: 0;
  color: var(--stats-blue);
  font-size: 25px;
}
.statistics-calendar-picker > header {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
}
.statistics-calendar-picker > header strong {
  text-align: center;
  text-transform: capitalize;
  font-size: 23px;
}
.statistics-calendar-picker > header button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--stats-blue);
  background: #eaf5ff;
  border: 0;
  border-radius: 50%;
  font-size: 27px;
}
.statistics-calendar-picker > header button:last-child {
  justify-self: end;
}
.statistics-calendar-weekdays,
.statistics-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.statistics-calendar-weekdays span {
  color: #87a6bc;
  text-align: center;
  font-size: 18px;
  font-weight: 750;
}
.statistics-calendar-grid {
  min-height: 0;
  grid-auto-rows: minmax(52px, 1fr);
  align-items: stretch;
}
.statistics-calendar-grid button,
.statistics-calendar-grid > span {
  min-height: 52px;
}
.statistics-calendar-grid button {
  width: 54px;
  height: 54px;
  place-self: center;
  color: var(--stats-ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 20px;
}
.statistics-calendar-grid button:hover {
  background: #eef7ff;
}
.statistics-calendar-grid button.selected {
  color: #fff;
  background: var(--stats-blue);
  box-shadow: 0 8px 18px rgba(39, 143, 240, 0.25);
}
.statistics-calendar-submit {
  width: 100%;
  min-height: 68px;
  color: #fff;
  background: var(--stats-blue);
  border: 0;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 900;
}
.statistics-time-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(18, 31, 45, 0.56);
}
.statistics-time-picker {
  width: min(1120px, 100%);
  height: min(620px, calc(100vh - 72px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 24px;
  padding: 38px 44px 24px;
  color: var(--stats-ink);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(20, 43, 65, 0.34);
}
.statistics-time-picker h2,
.statistics-time-picker p {
  margin: 0;
}
.statistics-time-picker h2 {
  color: var(--stats-blue);
  font-size: 25px;
}
.statistics-time-picker p {
  margin-top: 7px;
  color: #87a6bc;
  font-size: 17px;
}
.statistics-time-wheels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.statistics-time-wheels > div {
  width: 96px;
  display: grid;
  grid-template-rows: 62px 76px 62px;
  align-items: center;
}
.statistics-time-wheels > div button {
  height: 62px;
  color: #a8a8a8;
  background: transparent;
  border: 0;
  font-size: 18px;
}
.statistics-time-wheels > div strong {
  height: 76px;
  display: grid;
  place-items: center;
  border-top: 2px solid #8b8b8b;
  border-bottom: 2px solid #8b8b8b;
  font-size: 22px;
  font-weight: 500;
}
.statistics-time-wheels > span {
  font-size: 22px;
}
.statistics-time-submit {
  width: 100%;
  min-height: 68px;
  color: #fff;
  background: var(--stats-blue);
  border: 0;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 900;
}
.staff-stats-sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}
.staff-stats-sidebar nav button {
  min-height: 52px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  color: var(--stats-ink);
  background: #fff;
  border: 0;
  border-radius: 8px;
  text-align: left;
  font-weight: 850;
}
.staff-stats-sidebar nav button .ui-icon {
  color: var(--stats-blue);
}
.staff-stats-sidebar nav button b {
  color: var(--stats-muted);
  font-size: 20px;
}
.staff-stats-sidebar nav button.active {
  color: var(--stats-blue);
  background: #eaf5ff;
}
.staff-stats-main {
  min-width: 0;
  overflow-y: auto;
  padding: 24px;
}
.staff-stats-summary {
  display: grid;
  gap: 16px;
}
.staff-stats-net {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #278ff0, #1477d4);
  border-radius: 13px;
}
.staff-stats-net strong {
  font-size: 42px;
}
.staff-stats-net small {
  opacity: 0.82;
}
.staff-stats-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.staff-stats-lines article {
  min-height: 105px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 17px;
  background: #fff;
  border: 1px solid #d8e8f7;
  border-radius: 10px;
}
.staff-stats-lines span {
  color: var(--stats-muted);
}
.staff-stats-lines strong {
  color: var(--stats-blue);
  font-size: 23px;
}
.staff-stats-lines .discount strong {
  color: #db981e;
}
.staff-stats-lines .refund strong {
  color: #d34b4b;
}
.staff-stats-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.staff-stats-report {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e8f7;
  border-radius: 12px;
}
.staff-stats-report > header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 19px;
  background: #f8fbfe;
  border-bottom: 1px solid #d8e8f7;
}
.staff-stats-report h2,
.staff-stats-report p {
  margin: 0;
}
.staff-stats-report h2 {
  color: var(--stats-blue);
  font-size: 19px;
}
.staff-stats-report header p,
.staff-stats-report article span {
  color: var(--stats-muted);
  font-size: 12px;
}
.staff-stats-report header > strong {
  color: var(--stats-blue);
  font-size: 24px;
}
.staff-stats-report article {
  min-height: 62px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-bottom: 1px solid #e5eff7;
}
.staff-stats-report article i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: var(--stats-blue);
  background: #e5f2ff;
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.staff-stats-report article div {
  display: grid;
  gap: 2px;
}
.staff-stats-report article b {
  color: var(--stats-blue);
  white-space: nowrap;
}
.staff-stats-empty {
  padding: 40px;
  color: var(--stats-muted);
  text-align: center;
}
@media print {
  body > :not(.statistics-dialog),
  .staff-stats-topbar > button,
  .staff-stats-actions,
  .staff-stats-period-tabs,
  .staff-stats-sidebar {
    display: none !important;
  }
  .statistics-dialog {
    position: static;
  }
  .staff-stats-page {
    display: block;
  }
  .staff-stats-shell {
    display: block;
  }
  .staff-stats-main {
    overflow: visible;
  }
}
dialog::backdrop {
  background: rgba(21, 40, 60, 0.55);
}
.ticket-dialog form,
.product-dialog form {
  display: grid;
  gap: 16px;
  padding: 22px;
}
.ticket-dialog form header,
.product-dialog header {
  display: flex;
  justify-content: space-between;
}
.ticket-dialog form header p,
.ticket-dialog form header h2,
.product-dialog header p,
.product-dialog header h2 {
  margin: 0;
}
.ticket-dialog form header p,
.product-dialog header p {
  color: #ff514f;
  font-weight: 900;
}
.ticket-dialog form header button,
.product-dialog header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
}
.table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}
.table-button {
  min-height: 72px;
  color: #28425f;
  background: #f7fbfe;
  border: 1px solid #cfe1ed;
  border-radius: 8px;
  font-weight: 850;
}
.table-button.selected {
  color: #fff;
  background: #2f9cf4;
}
.table-button.busy {
  border-color: #ffb4a5;
}
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.quantity-control button {
  width: 48px;
  height: 48px;
  color: #2999e5;
  background: #edf7ff;
  border: 0;
  border-radius: 8px;
  font-size: 24px;
}
.quantity-control strong {
  font-size: 28px;
}
.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-list button {
  padding: 10px 13px;
  background: #f3f7fa;
  border: 1px solid #d5e4ed;
  border-radius: 7px;
}
.variant-list button.active {
  color: #fff;
  background: #2f9cf4;
}
.product-dialog {
  width: min(1400px, calc(100vw - 40px));
  height: min(900px, calc(100vh - 40px));
  max-width: none;
  color: #294468;
  border-radius: 8px;
}
.product-dialog form {
  height: 100%;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 18px;
  padding: 22px 30px 16px;
}
.product-dialog header {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
}
.product-dialog header h2 {
  color: #2f9cf4;
  text-align: center;
  text-transform: uppercase;
  font-size: 28px;
}
.product-dialog header button {
  width: 48px;
  height: 48px;
  color: #2f9cf4;
  background: #eef7ff;
}
.product-picker-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #2f9cf4;
  font-size: 19px;
}
.product-picker-toolbar .quantity-control {
  gap: 10px;
}
.product-picker-toolbar .quantity-control strong {
  min-width: 74px;
  min-height: 50px;
  display: grid;
  place-items: center;
  color: #294468;
  background: #fff;
  border: 1px solid #d5e4ed;
  border-radius: 6px;
  font-size: 21px;
}
.product-picker-section {
  min-height: 0;
  overflow: hidden;
}
.product-picker-section h3,
.product-picker-section p {
  margin: 0;
}
.product-picker-section h3 {
  color: #2f9cf4;
  font-size: 21px;
}
.product-picker-section p {
  margin: 3px 0 14px;
  color: #91aabd;
}
.product-picker-list {
  max-height: calc(100% - 54px);
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: min-content;
  gap: 10px 16px;
  padding: 2px 6px 12px 2px;
}
.product-picker-option {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 8px;
  padding: 0;
  color: #294468;
  background: transparent;
  border: 0;
  text-align: left;
}
.product-picker-option > span,
.product-picker-option > .product-picker-price {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #d5e4ed;
  border-radius: 7px;
  box-shadow: 0 5px 14px rgba(27, 67, 97, 0.04);
}
.product-picker-option > span {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.15;
}
.product-picker-option > .product-picker-price {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  color: #87a5bb;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  white-space: nowrap;
}
.product-picker-price input {
  width: 100%;
  min-height: 30px;
  padding: 0;
  color: #87a5bb;
  background: transparent;
  border: 0;
  text-align: right;
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
  appearance: textfield;
  -moz-appearance: textfield;
}
.product-picker-price input::-webkit-inner-spin-button,
.product-picker-price input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
.product-picker-price input[readonly] {
  pointer-events: auto;
}
.product-picker-price input:focus {
  outline: 0;
}
.product-picker-option small {
  margin-top: 2px;
  color: #9eb3c2;
  font-size: 12px;
  font-weight: 600;
}
.product-picker-option.active > span,
.product-picker-option.active > .product-picker-price {
  border-color: #2f9cf4;
  box-shadow: inset 0 0 0 1px #2f9cf4;
}
.product-picker-option.active > .product-picker-price,
.product-picker-price.editing {
  background: #f4faff;
}
.product-picker-price.editing {
  border-color: #2f9cf4;
  box-shadow: inset 0 0 0 1px #2f9cf4, 0 5px 14px rgba(47, 156, 244, 0.12);
}
.product-picker-option.unavailable {
  opacity: 0.48;
}
.product-picker-extras {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  gap: 28px;
  align-items: center;
}
.product-picker-extras > section,
.product-picker-extras > label {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #2f9cf4;
  font-size: 18px;
}
.product-picker-extras > label {
  padding-left: 28px;
  border-left: 1px solid #d5e4ed;
}
.discount-control {
  display: grid;
  grid-template-columns: 56px 56px 100px;
}
.discount-control button,
.discount-control input {
  min-height: 48px;
  color: #2f9cf4;
  background: #fff;
  border: 1px solid #d5e4ed;
  border-radius: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 850;
}
.discount-control button:first-child {
  border-radius: 6px 0 0 6px;
}
.discount-control button.active {
  background: #eaf5ff;
}
.discount-control input {
  margin-left: 10px;
  border-radius: 6px;
  cursor: pointer;
  appearance: textfield;
  -moz-appearance: textfield;
}
.discount-control input::-webkit-inner-spin-button,
.discount-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
.discount-control input[readonly] {
  color: #87a5bb;
  background: #f8fbfe;
  border-color: transparent;
}
.discount-control input.editing {
  color: #294468;
  background: #f4faff;
  border-color: #2f9cf4;
  box-shadow: inset 0 0 0 1px #2f9cf4, 0 5px 14px rgba(47, 156, 244, 0.12);
  outline: 0;
}
.product-picker-extras textarea {
  min-height: 58px;
  padding: 10px 13px;
  resize: none;
}
.product-dialog footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.product-dialog footer button {
  min-height: 62px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 900;
}
.picker-cancel {
  color: #d8606d;
  background: #fde7e7;
  border: 0;
}
.picker-empty {
  color: #91aabd;
}
.discount-dialog {
  width: min(1160px, calc(100vw - 48px));
  height: min(1020px, calc(100vh - 48px));
  max-width: none;
  max-height: none;
  padding: 0;
  color: #294468;
  background: #fff;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(20, 43, 65, 0.32);
}
.discount-dialog-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(340px, 1fr);
  gap: 22px;
  padding: 24px 58px 26px;
}
.discount-dialog-shell > header {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
}
.discount-dialog-shell > header h2 {
  margin: 0;
  color: #2f9cf4;
  text-align: center;
  font-size: 27px;
}
.discount-dialog-shell > header button {
  width: 48px;
  height: 48px;
  color: #2f9cf4;
  background: transparent;
  border: 0;
}
.discount-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 9px;
  background: #fff;
  border: 1px solid #d8e5ef;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(29, 66, 96, 0.08);
}
.discount-type-tabs button {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #91aabd;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 850;
}
.discount-type-tabs button.active {
  color: #294468;
  background: #eef5ff;
}
.discount-type-tabs .ui-icon {
  width: 29px;
  height: 29px;
  color: #2f9cf4;
}
.discount-value-panel {
  padding: 6px 2px 10px;
}
.discount-value-panel p,
.discount-value-panel strong {
  display: block;
  margin: 0;
}
.discount-value-panel p {
  margin-bottom: 8px;
  color: #91aabd;
  font-size: 18px;
}
.discount-value-panel strong {
  color: #83abd0;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1;
}
#applyDiscountButton {
  width: 100%;
  min-height: 68px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 900;
}
.discount-keypad {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  border-top: 1px solid #d2e1ec;
  border-left: 1px solid #d2e1ec;
  border-radius: 6px;
  overflow: hidden;
}
.discount-keypad button {
  min-height: 72px;
  color: #294468;
  background: #fff;
  border: 0;
  border-right: 1px solid #d2e1ec;
  border-bottom: 1px solid #d2e1ec;
  border-radius: 0;
  font-size: 31px;
  font-weight: 500;
}
.discount-keypad button:active {
  background: #eef7ff;
}
.discount-keypad .discount-backspace {
  color: #f06c76;
}
.discount-keypad .discount-backspace .ui-icon {
  width: 34px;
  height: 34px;
}
.checkout-dialog {
  width: min(1040px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  color: #294468;
  background: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(20, 43, 65, 0.34);
}
.checkout-dialog-shell {
  display: grid;
  gap: 18px;
  padding: 24px 34px 28px;
}
.checkout-dialog-shell > header {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  text-align: center;
}
.checkout-dialog-shell > header button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #2f9cf4;
  background: #eef7ff;
  border: 0;
  border-radius: 50%;
}
.checkout-dialog-shell > header p,
.checkout-dialog-shell > header h2 { margin: 0; }
.checkout-dialog-shell > header p {
  color: #ff514f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.checkout-dialog-shell > header h2 {
  margin-top: 3px;
  color: #2f9cf4;
  font-size: 26px;
}
.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f1f8ff;
  border: 1px solid #d4e9fa;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
}
.checkout-summary strong { color: #2f9cf4; font-size: 32px; }
.checkout-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.checkout-methods button {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #294468;
  background: #fff;
  border: 1px solid #d5e4ed;
  border-radius: 9px;
  font-size: 18px;
  font-weight: 850;
}
.checkout-methods button .ui-icon { width: 29px; height: 29px; color: #2f9cf4; }
.checkout-methods button.active {
  color: #fff;
  background: #2f9cf4;
  border-color: #2f9cf4;
  box-shadow: 0 8px 20px rgba(47, 156, 244, 0.24);
}
.checkout-methods button.active .ui-icon { color: #fff; }
.cash-payment-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  grid-template-rows: auto 1fr;
  gap: 12px 20px;
}
.cash-payment-panel[hidden] { display: none; }
.cash-payment-values { display: grid; gap: 10px; }
.cash-payment-values > div {
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  background: #f8fbfe;
  border: 1px solid #d8e7f1;
  border-radius: 8px;
}
.cash-payment-values span { color: #8ca7bb; font-size: 13px; font-weight: 750; }
.cash-payment-values strong { font-size: 26px; }
.cash-payment-values .change-value strong { color: #21a672; }
.cash-payment-values .change-value.insufficient strong { color: #e65d65; }
.cash-quick-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.cash-quick-values button {
  min-height: 43px;
  color: #2f91dd;
  background: #eef7ff;
  border: 1px solid #d4e9fa;
  border-radius: 7px;
  font-weight: 800;
}
.cash-quick-values button:first-child { grid-column: 1 / -1; }
.checkout-keypad {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d6e5ef;
  border-left: 1px solid #d6e5ef;
}
.checkout-keypad button {
  min-height: 62px;
  color: #294468;
  background: #fff;
  border: 0;
  border-right: 1px solid #d6e5ef;
  border-bottom: 1px solid #d6e5ef;
  font-size: 24px;
}
.checkout-keypad .checkout-backspace { color: #ff686d; }
.checkout-keypad .ui-icon { width: 30px; height: 30px; }
.checkout-dialog-shell > footer button {
  width: 100%;
  min-height: 62px;
  color: #fff;
  background: #2f9cf4;
  border: 0;
  border-radius: 7px;
  font-size: 19px;
  font-weight: 900;
}
.checkout-dialog-shell > footer button:disabled { opacity: 0.48; }
@media (max-width: 1050px) {
  .product-picker-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-picker-extras {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-picker-extras > label {
    padding-left: 0;
    border-left: 0;
  }
  .statistics-period-backdrop {
    padding: 16px;
  }
  .statistics-period-picker {
    height: calc(100vh - 32px);
    padding: 18px;
  }
}
@media (max-width: 700px) {
  .sales-range-dialog.staff-period-dialog {
    padding: 0;
  }
  .sales-period-picker {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .product-dialog {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .product-dialog form {
    padding: 14px;
  }
  .product-picker-list {
    grid-template-columns: 1fr;
  }
  .product-picker-option {
    grid-template-columns: minmax(0, 1fr) 118px;
  }
  .product-picker-extras > section,
  .product-picker-extras > label {
    grid-template-columns: 1fr;
  }
  .discount-dialog {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .discount-dialog-shell {
    gap: 14px;
    padding: 16px;
  }
  .discount-dialog-shell > header h2 {
    font-size: 21px;
  }
  .discount-keypad button {
    min-height: 60px;
  }
  .checkout-dialog {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }
  .checkout-dialog-shell { min-height: 100%; padding: 14px; }
  .cash-payment-panel { grid-template-columns: 1fr; }
  .checkout-keypad { grid-column: 1; grid-row: auto; }
  .statistics-period-backdrop {
    padding: 0;
  }
  .statistics-period-picker {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .statistics-period-picker > header h2 {
    font-size: 20px;
  }
  .statistics-date-row,
  .statistics-device-choice {
    grid-template-columns: 1fr;
  }
  .statistics-date-row > button,
  .statistics-date-row > button + button {
    border: 1px solid #d5e4ef;
    border-radius: 7px;
  }
  .statistics-preset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .statistics-calendar-backdrop {
    padding: 0;
  }
  .statistics-calendar-picker {
    width: 100vw;
    height: 100vh;
    padding: 22px 14px;
    border-radius: 0;
  }
  .statistics-calendar-grid button {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }
  .statistics-time-backdrop {
    padding: 0;
  }
  .statistics-time-picker {
    width: 100vw;
    height: 100vh;
    padding: 26px 16px;
    border-radius: 0;
  }
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 20;
  max-width: 520px;
  padding: 12px 18px;
  color: #fff;
  background: #263a58;
  border-radius: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1050px) {
  .cashier-screen {
    grid-template-columns: 190px minmax(320px, 1fr) 330px;
  }
  .app-place span,
  .app-place b {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  }
  .cashier-tools button {
    padding: 0 12px;
  }
  .ticket-page-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .ticket-option-grid {
    grid-template-columns: repeat(3, minmax(135px, 1fr));
  }
  .staff-stats-shell {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .staff-stats-bottom {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) and (orientation: portrait) {
  .pin-login-view {
    grid-template-rows: 48px minmax(0, 1fr) 70px;
  }
  .pin-login-bar {
    grid-template-columns: 1fr auto;
    padding: 0 14px;
  }
  .pin-login-bar > span {
    display: none;
  }
  .pin-login-content {
    width: calc(100% - 24px);
    padding-top: 18px;
  }
  .pin-login-heading {
    margin-bottom: 12px;
  }
  .pin-dots {
    gap: 18px;
  }
  .pin-keypad {
    grid-template-rows: repeat(4, minmax(70px, 1fr));
  }
  .pin-keypad button,
  .pin-keypad > span {
    min-height: 70px;
  }
  .pin-login-footer {
    padding: 8px 14px;
  }
  .pin-login-footer > div span {
    display: none;
  }
  .pin-login-footer .kaysu-mark {
    font-size: 27px;
  }
  .password-login-card {
    width: calc(100% - 28px);
    padding: 26px;
  }
  .waiter-app {
    height: auto;
    min-height: 100vh;
    grid-template-rows: 55px auto 70px;
  }
  .app-status span {
    display: none;
  }
  .cashier-screen {
    grid-template-columns: 120px 1fr;
    grid-template-rows: 62px 55vh auto;
  }
  .cashier-tools {
    grid-column: 1/3;
  }
  .cashier-tools button:nth-of-type(n + 2) {
    display: none;
  }
  .product-search {
    width: 100%;
  }
  .category-pane {
    grid-row: 2;
  }
  .product-pane {
    grid-row: 2;
  }
  .cart-pane {
    grid-column: 1/3;
    grid-row: 3;
    min-height: 430px;
  }
  .bottom-nav {
    position: sticky;
    bottom: 0;
  }
  .sales-screen {
    grid-template-columns: 1fr;
  }
  .sales-order-pane {
    max-height: 66vh;
    border-right: 0;
    border-bottom: 1px solid #d8e8f7;
  }
  .sales-ticket-pane {
    min-height: 70vh;
    padding: 24px 20px 36px;
  }
  .sales-filters {
    overflow-x: auto;
  }
  .sales-filters button {
    min-width: 76px;
  }
  .sales-range-presets {
    grid-template-columns: 1fr 1fr;
  }
  .sales-range-fields {
    grid-template-columns: 1fr;
  }
  .sales-detail-items article {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }
  .sales-ticket-actions {
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    overflow-x: auto;
  }
  .statistics-shell {
    padding: 18px;
  }
  .statistics-cards {
    grid-template-columns: 1fr 1fr;
  }
  .staff-stats-page {
    grid-template-rows: 70px 50px minmax(0, 1fr);
  }
  .staff-stats-topbar {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 10px;
  }
  .staff-stats-topbar h1 {
    font-size: 20px;
  }
  .staff-stats-topbar span {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .staff-stats-actions button {
    width: 42px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }
  .staff-stats-actions button .ui-icon {
    color: var(--stats-blue);
  }
  .staff-stats-period-tabs {
    justify-content: flex-start;
    padding: 0 8px;
    overflow-x: auto;
  }
  .staff-stats-period-tabs button {
    min-width: 88px;
    padding: 0 10px;
  }
  .staff-stats-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .staff-stats-sidebar {
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid #d9e9f8;
  }
  .staff-stats-period-card {
    display: none;
  }
  .staff-stats-range-panel {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    width: auto;
  }
  .staff-stats-sidebar nav {
    display: flex;
    margin: 0;
  }
  .staff-stats-sidebar nav button {
    min-width: 155px;
    grid-template-columns: 25px 1fr;
  }
  .staff-stats-sidebar nav button b {
    display: none;
  }
  .staff-stats-main {
    padding: 14px;
  }
  .staff-stats-net {
    min-height: 125px;
  }
  .staff-stats-net strong {
    font-size: 34px;
  }
  .staff-stats-lines {
    grid-template-columns: 1fr 1fr;
  }
  .staff-stats-bottom {
    grid-template-columns: 1fr;
  }
  .table-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ticket-page-dialog {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .ticket-page-shell {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .ticket-filter-pane {
    display: flex;
    gap: 7px;
    padding: 10px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #d7e7f2;
  }
  .ticket-filter-pane h3 {
    display: none;
  }
  .ticket-filter-pane button,
  .ticket-filter-pane button + button {
    width: auto;
    min-width: 90px;
    min-height: 42px;
    margin: 0;
    text-align: center;
  }
  .ticket-picker-main {
    overflow: visible;
    padding: 15px;
  }
  .ticket-picker-head,
  .ticket-picker-head > div:last-child {
    align-items: stretch;
  }
  .ticket-picker-head {
    flex-direction: column;
  }
  .ticket-picker-head h2 {
    font-size: 27px;
  }
  .ticket-picker-head button {
    flex: 1;
  }
  .ticket-option-grid {
    grid-template-columns: 1fr 1fr;
  }
}
