/* Staff POS: blue rail, cool surfaces and table-first service. Guest menu is scoped separately. */
body.staff-view {
  --ink: #141824;
  --muted: #858da1;
  --green: #2872ff;
  --blue: #2872ff;
  --lime: #2872ff;
  --paper: #eef1f7;
  --line: #e9edf5;
  --shadow: 0 8px 24px #263a6610;
  color: var(--ink);
  background: radial-gradient(ellipse at 45% 0, #f5f7fb, #e8ecf4 85%);
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  min-height: 100vh;
}
.staff-view .shell {
  display: flex;
  margin: 28px auto;
  width: calc(100% - 56px);
  max-width: 1740px;
  min-height: calc(100dvh - 56px);
  border-radius: 30px;
  overflow: clip;
  background: #f4f6fb;
  box-shadow: 0 24px 70px #283b6321;
}
.staff-view .sidebar {
  width: 82px;
  min-width: 82px;
  position: sticky;
  top: 0;
  height: calc(100dvh - 56px);
  padding: 25px 12px 18px;
  background: linear-gradient(155deg, #397eff, #246cf4);
  color: white;
  border: 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 20;
}
.staff-view .pos-logo {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: white;
  color: #2c73ff;
}
.staff-view .pos-logo .icon {
  width: 29px;
  height: 29px;
  stroke-width: 2.2;
}
.staff-view .sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  scrollbar-width: none;
}
.staff-view .nav-link {
  width: 56px;
  height: 49px;
  min-height: 49px;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  position: relative;
  color: #f8fbff;
  background: transparent;
  border: 0;
  border-radius: 13px;
}
.staff-view .nav-link.active,
.staff-view .nav-link:hover {
  background: #ffffff30;
  color: white;
}
.staff-view .nav-link.active:before {
  content: '';
  position: absolute;
  left: -12px;
  width: 4px;
  height: 33px;
  border-radius: 0 4px 4px 0;
  background: white;
}
.staff-view .nav-link .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}
.staff-view .nav-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.staff-view .nav-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #ff6d72;
  border: 2px solid white;
  border-radius: 50%;
  top: 10px;
  right: 12px;
}
.staff-view .sidebar-bottom {
  margin-top: auto;
  padding-top: 18px;
  border: 0;
  display: grid;
  gap: 8px;
}
.staff-view .workspace-main {
  margin-left: 0;
  flex: 1;
  min-width: 0;
}
.staff-view .topbar {
  height: 90px;
  padding: 20px 30px;
  background: #ffffffed;
  border: 0;
  display: flex;
  gap: 23px;
  position: relative;
}
.staff-view .pos-heading {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.staff-view .pos-heading strong {
  font-size: 22px;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.staff-view .pos-heading small {
  font-size: 11px;
  color: var(--muted);
}
.staff-view .notification-pill {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #edf0f6;
  padding: 10px 17px;
  border-radius: 28px;
  box-shadow: 0 4px 12px #283b6309;
  color: #778096;
  font-size: 13px;
}
.staff-view .notification-pill b {
  background: #ff626c;
  color: white;
  border-radius: 50%;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.staff-view .pos-date {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #9299aa;
  font-size: 13px;
}
.staff-view .online {
  font-size: 10px;
  gap: 6px;
}
.staff-view .online .dot {
  background: #52b770;
  width: 6px;
  height: 6px;
}
.staff-view .content {
  padding: 25px 28px 28px;
  max-width: none;
}
.staff-view h1 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.9px;
  color: #151823;
}
.staff-view h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.staff-view h3 {
  font-size: 17px;
}
.staff-view .page-head {
  margin-bottom: 24px;
  gap: 18px;
}
.staff-view .page-head .eyebrow {
  font-size: 10px;
  color: #979fb1;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.staff-view .page-head p {
  font-size: 13px;
  margin-top: 8px;
  color: var(--muted);
}
.staff-view .btn {
  border-color: #e8edf6;
  box-shadow: 0 3px 8px #31446704;
  border-radius: 12px;
  font-weight: 500;
  font-size: 13px;
  min-height: 42px;
  padding: 10px 16px;
  color: #5c6881;
}
.staff-view .btn.primary,
.staff-view .btn.lime {
  background: linear-gradient(105deg, #2f79ff, #276bfb);
  border-color: transparent;
  color: white;
}
.staff-view .btn.blue {
  background: #e5edff;
  color: #2670ff;
  border-color: transparent;
}
.staff-view .btn.green {
  background: #e8f6ed;
  color: #238c4d;
  border-color: transparent;
}
.staff-view .btn.purple {
  background: #f0ebff;
  color: #8964c9;
  border-color: transparent;
}
.staff-view .btn.danger {
  background: #fff0f1;
  color: #ed626a;
  border-color: transparent;
}
.staff-view .btn.soft {
  background: #eef1f7;
  border-color: transparent;
}
.staff-view .iconbtn {
  border-color: #e9edf5;
  color: #69748d;
  border-radius: 13px;
  background: white;
}
.staff-view :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid #75a2ff;
  outline-offset: 3px;
}
.staff-view .card,
.staff-view .stat,
.staff-view .menu-row,
.staff-view .table-wrap {
  background: white;
  border: 1px solid #edf0f7;
  box-shadow: var(--shadow);
  border-radius: 20px;
}
.staff-view .card {
  padding: 23px;
}
.staff-view .stat {
  padding: 22px;
}
.staff-view .stat.highlight {
  background: #edf3ff;
  color: var(--ink);
  border-color: #e0eaff;
}
.staff-view .stat.highlight .stat-icon {
  background: #deeaff;
  color: var(--blue);
}
.staff-view .stat-value {
  color: var(--blue);
  font-size: 30px;
}
.staff-view .stat-label {
  color: #798398;
  font-size: 13px;
}
.staff-view .stat-icon,
.staff-view .avatar {
  background: #e8efff;
  color: #2c73ff;
}
.staff-view .banner-strip,
.staff-view .alert {
  background: #edf2fc;
  color: #5c6e93;
  border-color: #dce6fa;
  border-radius: 13px;
}
.staff-view .alert.success {
  background: #edf7f0;
  color: #37794e;
}
.staff-view .pill {
  background: #edf2fc;
  color: #657899;
  font-weight: 500;
}
.staff-view .pill.blue {
  background: #e2ebff;
  color: #2e72ff;
}
.staff-view .pill.orange {
  background: #fff5e5;
  color: #ca8a1b;
}
.staff-view .pill.red {
  background: #fff0f1;
  color: #d45e64;
}
.staff-view .pill.purple {
  background: #f0ebfc;
  color: #9471c6;
}
.staff-view .search {
  background: white;
  box-shadow: 0 4px 12px #22355b05;
  border: 1px solid #e8edf6;
  border-radius: 13px;
  min-height: 48px;
  font-size: 14px;
  padding: 13px 18px;
}
.staff-view input,
.staff-view textarea,
.staff-view select {
  border-color: #e5eaf3;
  border-radius: 11px;
  background: white;
  color: var(--ink);
}
.staff-view .tabs,
.staff-view .panel-tabs {
  gap: 9px;
  border: 0;
  margin-bottom: 22px;
  overflow: auto;
  scrollbar-width: none;
}
.staff-view .tab {
  border-radius: 11px;
  background: white;
  border: 1px solid #e8edf6;
  color: #778198;
  padding: 11px 17px;
  white-space: nowrap;
}
.staff-view .tab.active {
  background: #2e74ff;
  color: white;
  border-color: transparent;
}
.staff-view .list-table th {
  background: #f7f9fd;
  color: #8993a7;
  font-size: 11px;
  letter-spacing: 0.3px;
}
.staff-view .list-table td {
  border-color: #edf0f6;
  font-size: 13px;
}
.staff-view .section-kicker {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #8a98b1;
  font-weight: 650;
}
/* The floor is a visual table selector; actual orders and receipts remain attached to each table. */
.staff-view .floor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 5px 22px;
}
.staff-view .floor-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.staff-view .floor-legend span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #333d51;
}
.staff-view .floor-legend i {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #ffffffa8;
}
.staff-view .available {
  --table-color: #2e77ff;
  --table-ink: #fff;
}
.staff-view .occupied {
  --table-color: #e9edf5;
  --table-ink: #748198;
}
.staff-view .ready {
  --table-color: #ffb326;
  --table-ink: #fff;
}
.staff-view .billed {
  --table-color: #4cb36b;
  --table-ink: #fff;
}
.staff-view .calling {
  --table-color: #fa6b78;
  --table-ink: #fff;
}
.staff-view .floor-legend i {
  background: var(--table-color);
}
.staff-view .floor-zones {
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
  overflow: auto;
}
.staff-view .floor-zones .btn {
  min-height: 32px;
  padding: 7px 15px;
  font-size: 11px;
  border-radius: 9px;
  flex-shrink: 0;
}
.staff-view .floor-plan {
  display: grid;
  grid-template-columns: repeat(10, minmax(65px, 1fr));
  gap: 28px 15px;
  padding: 20px 12px 28px;
  min-height: 480px;
  background: radial-gradient(ellipse at center, #edf1f8, #f1f4fa);
  border-radius: 23px;
}
.staff-view .floor-table {
  height: 120px;
  border: 0;
  background: transparent;
  position: relative;
  padding: 0;
  border-radius: 13px;
  min-width: 0;
}
.staff-view .table-top {
  position: absolute;
  inset: 13px 13px 27px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 15px #30437404;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: box-shadow 0.18s;
}
.staff-view .floor-table.selected .table-top {
  box-shadow:
    0 0 0 2px #6b9aff,
    0 7px 16px #2c73ff14;
}
.staff-view .floor-table:hover .table-top {
  box-shadow: 0 0 0 2px #adc9ff;
}
.staff-view .table-disc {
  background: var(--table-color);
  color: var(--table-ink);
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 1px 6px #ffffff3a;
}
.staff-view .chair {
  position: absolute;
  border-radius: 5px;
  background: white;
}
.staff-view .chair.north,
.staff-view .chair.south {
  width: 29px;
  height: 10px;
  left: calc(50% - 14.5px);
}
.staff-view .chair.north {
  top: 0;
}
.staff-view .chair.south {
  bottom: 14px;
}
.staff-view .chair.west,
.staff-view .chair.east {
  width: 10px;
  height: 29px;
  top: calc(50% - 22px);
}
.staff-view .chair.west {
  left: 0;
}
.staff-view .chair.east {
  right: 0;
}
.staff-view .table-time {
  padding: 2px 5px;
  border-radius: 5px;
  background: #e8efff;
  font-size: 9px;
  color: #3977ee;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.staff-view .table-time .icon {
  width: 10px;
  height: 10px;
}
.staff-view .calling .table-time {
  background: #ffe9ed;
  color: #db5c71;
}
.staff-view .table-caption {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  font-size: 9px;
  color: #94a0b3;
  white-space: nowrap;
}
.staff-view .floor-dock {
  position: sticky;
  bottom: 15px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 17px;
  border-radius: 21px;
  background: #ffffffee;
  backdrop-filter: blur(14px);
  padding: 16px 20px;
  box-shadow: 0 7px 30px #263a6610;
  z-index: 4;
}
.staff-view .dock-symbol {
  width: 48px;
  height: 48px;
  background: #f0f3f9;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  color: #6c7892;
}
.staff-view .floor-dock strong {
  display: block;
  font-size: 15px;
}
.staff-view .floor-dock small {
  display: block;
  font-size: 11px;
  color: #8a95ab;
  margin-top: 5px;
}
.staff-view .dock-orders {
  display: flex;
  overflow: auto;
  gap: 8px;
  max-width: 50%;
}
.staff-view .dock-orders .btn {
  display: block;
  min-width: 140px;
  text-align: left;
  border-color: #e0e9fb;
  color: #3176ff;
}
.staff-view .floor-dock > .btn.primary {
  border-radius: 23px;
  padding-inline: 24px;
  white-space: nowrap;
}
/* Calls are visible from every waitstaff page, regardless of the kitchen queue. */
.staff-view .service-alerts {
  display: flex;
  gap: 10px;
  padding: 12px 28px 0;
  overflow: auto;
}
.staff-view .service-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #ffd9df;
  box-shadow: 0 4px 16px #ec5c7010;
  border-radius: 16px;
  padding: 12px;
  flex: 0 0 auto;
}
.staff-view .call-bell {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff0f3;
  color: #e76e83;
}
.staff-view .service-alert > button:not(.btn) {
  background: none;
  border: 0;
  text-align: left;
  padding: 0;
  color: var(--ink);
}
.staff-view .service-alert strong {
  display: block;
  font-size: 13px;
}
.staff-view .service-alert small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.staff-view .order-service-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  border-radius: 14px;
  background: #fff0f3;
  margin-bottom: 17px;
  color: #b84d65;
}
.staff-view .order-service-call span {
  display: flex;
  align-items: center;
  gap: 8px;
}
#service-banner {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(550px, calc(100% - 28px));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px;
  border-radius: 20px;
  border: 1px solid #dfe8ff;
  background: #fff;
  color: #222a40;
  box-shadow: 0 15px 60px #143c6b35;
}
#service-banner[hidden] {
  display: none;
}
#service-banner strong {
  font-size: 16px;
}
#service-banner p {
  font-size: 13px;
  color: #6f7890;
  margin-top: 5px;
  line-height: 1.5;
}
#service-banner .service-banner-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  background: #e9f0ff;
  color: #2f74ff;
  border-radius: 50%;
}
#service-banner .iconbtn {
  border: 0;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}
#service-banner.drop-in {
  animation: service-drop 0.4s ease both;
}
@keyframes service-drop {
  from {
    opacity: 0;
    transform: translate(-50%, -130%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
/* Open orders and register payments. */
.staff-view .orders-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.staff-view .order-card {
  background: white;
  border: 1px solid #e9edf6;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.staff-view .order-card.red {
  border-top: 3px solid #f3787c;
}
.staff-view .order-card.orange {
  border-top: 3px solid #ffbc52;
}
.staff-view .order-card.blue {
  border-top: 3px solid #5e94ff;
}
.staff-view .table-number {
  background: #edf3ff;
  color: #3277fa;
  border-radius: 13px;
}
.staff-view .qty {
  background: #e8efff;
  color: #3576fa;
  border-radius: 10px;
}
.staff-view .order-bottom {
  border-color: #edf0f6;
}
.staff-view .order-bottom strong {
  color: #2f75ff;
}
.staff-view .payment-list {
  display: grid;
  gap: 14px;
}
.staff-view .payment-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: center;
  gap: 25px;
  border-radius: 18px;
  padding: 24px 25px;
  background: white;
  box-shadow: var(--shadow);
}
.staff-view .payment-row > div:nth-child(2) {
  border-inline: 1px solid #edf0f6;
  padding-inline: 22px;
}
.staff-view .payment-row h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.staff-view .payment-row span {
  font-size: 13px;
  color: #69748c;
}
.staff-view .payment-row small {
  display: block;
  color: #929bb0;
  font-size: 11px;
}
.staff-view .payment-row .payment-state {
  margin-top: 8px;
  color: #d4a02c;
}
.staff-view .payment-row > div > strong {
  display: block;
  margin-top: 7px;
  color: #2e75ff;
  font-size: 25px;
}
.staff-view .payment-row .btn {
  min-width: 95px;
}
.staff-view #modal {
  background: #f5f7fb;
  border-radius: 26px;
  border: 1px solid #e9edf7;
  box-shadow: 0 30px 100px #263a6635;
}
.staff-view #modal::backdrop {
  background: #323d5a55;
  backdrop-filter: blur(5px);
}
.staff-view #modal.wide {
  width: min(1120px, calc(100vw - 60px));
  max-width: 1120px;
}
.staff-view .dialog-head {
  background: white;
  padding: 23px 26px;
  border-bottom: 1px solid #edf0f6;
}
.staff-view .dialog-body {
  padding: 24px;
}
.staff-view .dialog-footer {
  background: white;
  border-color: #edf0f6;
}
.staff-view .order-detail-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: start;
}
.staff-view .order-detail-items {
  background: white;
  padding: 23px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.staff-view .detail-title {
  margin: 0 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.staff-view .order-confirm-hint {
  font-size: 12px;
  color: #7c8aa4;
  margin-bottom: 15px;
}
.staff-view .order-detail-items .batch {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 20px;
}
.staff-view .order-detail-items .batch h3 {
  font-size: 12px;
  color: #8a94aa;
  font-weight: 500;
}
.staff-view .order-detail-items .batch h3 .pill {
  margin-left: 5px;
}
.staff-view .detail-line {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #edf0f6;
  padding: 18px 0;
  font-size: 14px;
}
.staff-view .detail-line > div {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}
.staff-view .detail-line small {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 6px;
  font-weight: 400;
}
.staff-view .detail-line strong {
  color: #2e75ff;
  white-space: nowrap;
  font-size: 16px;
}
.staff-view .detail-food {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.staff-view .detail-line .qty {
  min-width: 32px;
  width: auto;
  padding: 6px;
  font-size: 12px;
}
.staff-view .order-information {
  display: grid;
  gap: 20px;
}
.staff-view .order-information .total-row {
  font-size: 12px;
  gap: 15px;
  padding: 14px 0;
}
.staff-view .order-information .total-row > strong {
  color: #3576fa;
  text-align: right;
}
.staff-view .receipt-summary {
  background: #f0f3f9;
  border-radius: 14px;
  margin: 18px 0;
  padding: 8px 18px;
}
.staff-view .receipt-summary .total-row.final {
  font-size: 19px;
  border-color: #dee5f0;
}
.staff-view .receipt-summary .total-row.final strong {
  color: #141824;
}
.staff-view .order-information .btn.full {
  margin-top: 16px;
  min-height: 49px;
}
.staff-view .order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px;
  margin-top: 20px;
  border-radius: 18px;
  background: white;
}
.staff-view .ledger {
  border: 0;
  border-radius: 16px;
  background: white;
  padding: 16px;
  font-size: 12px;
}
.staff-view .ledger summary {
  cursor: pointer;
  color: #8290a8;
}
/* Image-led order entry */
.staff-view .pos-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  gap: 22px;
  align-items: start;
}
.staff-view .pos-products > .search {
  width: 100%;
  margin-bottom: 18px;
}
.staff-view .pos-categories {
  display: flex;
  overflow: auto;
  gap: 9px;
  margin-bottom: 21px;
  padding-bottom: 5px;
  scrollbar-width: none;
}
.staff-view .pos-categories .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.staff-view .pos-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.staff-view .pos-product {
  border: 0;
  padding: 6px 6px 13px;
  background: white;
  border-radius: 15px;
  text-align: left;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.staff-view .pos-product img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}
.staff-view .pos-product > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 6px 0;
  font-size: 12px;
  line-height: 1.45;
}
.staff-view .pos-product strong {
  font-weight: 550;
}
.staff-view .pos-product span {
  color: #2d74ff;
  font-weight: 600;
  white-space: nowrap;
}
.staff-view .pos-basket {
  position: sticky;
  top: 20px;
  padding: 20px 17px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}
.staff-view .pos-basket > p {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 20px;
}
.staff-view .pos-basket-lines {
  max-height: 48vh;
  overflow: auto;
}
.staff-view .pos-basket-line {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid #edf0f6;
}
.staff-view .pos-basket-line > img {
  width: 67px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}
.staff-view .pos-basket-line > div {
  flex: 1;
  min-width: 0;
}
.staff-view .pos-basket-line strong {
  font-size: 12px;
  font-weight: 600;
}
.staff-view .pos-basket-line small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin: 5px 0 11px;
}
.staff-view .pos-basket-line b {
  color: #2d75ff;
  font-size: 13px;
}
.staff-view .quantity {
  gap: 7px;
}
.staff-view .quantity button {
  width: 27px;
  height: 27px;
  border: 1px solid #edf0f7;
  border-radius: 8px;
  color: #3276ff;
  background: #f7f9fd;
}
.staff-view .quantity span {
  min-width: 15px;
  font-size: 12px;
}
.staff-view .pos-total {
  padding: 8px 17px;
  background: #f0f3f9;
  border-radius: 14px;
  margin: 20px 0;
}
.staff-view .pos-total .total-row {
  font-size: 12px;
}
.staff-view .pos-total .final {
  font-size: 18px;
}
.staff-view .pos-payment-note {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #929db2;
  margin-top: 13px;
  line-height: 1.6;
}
/* Kitchen tickets: large quantities, distinct status, preparation details without financial data. */
.staff-view .kitchen-mode {
  background: #eef2f8;
}
.staff-view .kds-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.staff-view .kds-toolbar h1 {
  margin-top: 7px;
  font-size: 29px;
}
.staff-view .kds-toolbar p {
  font-size: 12px;
  color: #8b97ad;
  margin-top: 7px;
}
.staff-view .kds-status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.staff-view .kds-filter,
.staff-view .kds-counter {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  font-size: 12px;
  color: #758098;
  border-radius: 11px;
  background: #ffffffb0;
}
.staff-view .kds-filter.active {
  background: #2e75ff;
  color: white;
}
.staff-view .kds-counter b,
.staff-view .kds-filter b {
  font-size: 13px;
  margin-left: 7px;
}
.staff-view .kds-counter i {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #7fa4ff;
}
.staff-view .kds-counter.processing i {
  background: #4e88ff;
}
.staff-view .kds-counter.hold i {
  background: #efb04a;
}
.staff-view .kds-counter.ready i {
  background: #5bb580;
}
.staff-view .kds-status-bar > .btn {
  margin-left: auto;
}
.staff-view .kds-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
  align-items: start;
}
.staff-view .kds-ticket {
  border-radius: 17px;
  background: white;
  box-shadow: 0 8px 22px #23375b0c;
  border: 1px solid #e3eaf7;
  overflow: hidden;
}
.staff-view .kds-ticket > header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 17px;
  background: #e2ecff;
  color: #265fba;
}
.staff-view .kds-ticket.processing > header {
  background: #3077f5;
  color: white;
}
.staff-view .kds-ticket.hold > header {
  background: #fff0d4;
  color: #986521;
}
.staff-view .kds-ticket.ready > header,
.staff-view .kds-ticket.served > header {
  background: #e0f3e8;
  color: #30734f;
}
.staff-view .kds-ticket.urgent {
  border-color: #eeb5b9;
}
.staff-view .kds-ticket.urgent > header {
  background: #ffeaee;
  color: #b85267;
}
.staff-view .kds-ticket > header strong {
  font-size: 19px;
  display: block;
  letter-spacing: -0.5px;
}
.staff-view .kds-ticket > header small {
  font-size: 10px;
  display: block;
  margin-top: 7px;
  opacity: 0.75;
}
.staff-view .kds-elapsed {
  text-align: right;
}
.staff-view .kds-elapsed > span {
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.staff-view .kds-elapsed small {
  text-transform: uppercase;
  font-size: 8px !important;
  letter-spacing: 1px;
}
.staff-view .kds-ticket-status {
  display: flex;
  justify-content: space-between;
  padding: 9px 16px;
  background: #f7f9fd;
  font-size: 10px;
  color: #7b8ba6;
  gap: 6px;
}
.staff-view .kds-ticket-status [data-deadline] {
  white-space: nowrap;
}
.staff-view .kds-ticket.urgent .kds-ticket-status {
  color: #c06074;
  background: #fff7f8;
}
.staff-view .kds-items {
  padding: 4px 17px 12px;
}
.staff-view .kds-item {
  display: flex;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid #eef1f7;
}
.staff-view .kds-item:last-child {
  border: 0;
}
.staff-view .kds-item > b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 29px;
  flex: 0 0 27px;
  border-radius: 7px;
  background: #edf2fc;
  color: #3971ca;
  font-size: 18px;
}
.staff-view .kds-item > div {
  min-width: 0;
}
.staff-view .kds-item strong {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 650;
}
.staff-view .kds-item small {
  display: block;
  color: #61738e;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 7px;
}
.staff-view .kds-item small span {
  color: #98a5ba;
}
.staff-view .kds-note,
.staff-view .kds-order-note {
  font-size: 12px;
  color: #a17130;
  background: #fff6e6;
  border-radius: 8px;
  padding: 9px 11px;
  margin-top: 9px;
  line-height: 1.6;
}
.staff-view .kds-order-note {
  display: flex;
  gap: 9px;
}
.staff-view .kds-order-note .icon {
  width: 15px;
}
.staff-view .kds-ticket footer {
  display: flex;
  gap: 9px;
  padding: 12px 16px 16px;
  border-top: 1px solid #edf0f6;
}
.staff-view .kds-ticket footer .btn {
  flex: 1;
  min-height: 40px;
  font-size: 12px;
  padding: 8px;
}
.staff-view .kds-board > .empty {
  grid-column: 1/-1;
  padding-block: 90px;
}
/* Entry and admin pages share the same palette. Existing authentication remains intact. */
.staff-view .login-layout {
  min-height: 760px;
  max-width: 1240px;
  width: calc(100% - 80px);
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px #283a6120;
  background: white;
}
.staff-view .login-art {
  background: white;
  color: #151823;
  padding: 45px;
  justify-content: space-between;
}
.staff-view .login-art h1 {
  font-size: 38px;
}
.staff-view .login-art h1 span {
  color: #367cff;
}
.staff-view .login-art p {
  color: #8c95a8;
  font-size: 16px;
}
.staff-view .login-art .eyebrow {
  color: #628bd1;
}
.staff-view .login-form {
  background: linear-gradient(140deg, #f4f6fb, #e9eef8);
  padding: 75px 60px;
  max-width: none;
}
.staff-view .login-form h1 {
  font-size: 29px;
}
.staff-view .login-form > p {
  color: #8993a8;
}
.staff-view .login-form .btn.primary {
  height: 55px;
  margin-top: 10px;
}
.staff-view .brand img {
  border-radius: 10px;
  filter: hue-rotate(170deg) saturate(1.2);
}
.staff-view .demo-home {
  max-width: 1020px;
  margin: 50px auto;
  padding: 55px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 24px 70px #283b6321;
}
.staff-view .demo-home h1 {
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -3px;
  margin: 25px 0;
  color: #1b243d;
}
.staff-view .demo-home p {
  color: #8993a7;
  max-width: 550px;
}
.staff-view .demo-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0;
}
.staff-view .demo-roles .btn {
  min-height: 65px;
  font-size: 15px;
}
.staff-view .demo-home > .section-kicker {
  display: block;
  margin-top: 45px;
}
.staff-view .demo-home > small {
  color: #9ba4b7;
}
@media (min-width: 1550px) {
  .staff-view .floor-plan {
    gap: 35px 24px;
    padding: 30px;
  }
  .staff-view .floor-table {
    height: 140px;
  }
  .staff-view .table-disc {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 18px;
  }
}
@media (max-width: 1250px) {
  .staff-view .shell {
    width: calc(100% - 28px);
    margin: 14px auto;
    min-height: calc(100dvh - 28px);
  }
  .staff-view .sidebar {
    height: calc(100dvh - 28px);
  }
  .staff-view .topbar {
    gap: 15px;
    padding-inline: 23px;
  }
  .staff-view .pos-date {
    display: none;
  }
  .staff-view .floor-plan {
    grid-template-columns: repeat(8, minmax(65px, 1fr));
  }
  .staff-view .kds-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .staff-view .pos-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .staff-view .pos-composer {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .staff-view .payment-row {
    gap: 13px;
    padding: 22px 18px;
  }
  .staff-view .payment-row .btn {
    min-width: 70px;
    padding-inline: 12px;
  }
  .staff-view .payment-row > div:nth-child(2) {
    padding-inline: 13px;
  }
}
@media (max-width: 950px) {
  .staff-view .floor-plan {
    grid-template-columns: repeat(6, minmax(65px, 1fr));
  }
  .staff-view .floor-toolbar {
    align-items: flex-start;
  }
  .staff-view .floor-toolbar > .small {
    display: none;
  }
  .staff-view .floor-legend {
    gap: 19px;
  }
  .staff-view .content {
    padding: 20px;
  }
  .staff-view .orders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-view .kds-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-view .kds-toolbar {
    align-items: flex-start;
  }
  .staff-view .kds-toolbar > .flex {
    flex-direction: column;
  }
  .staff-view .payment-row {
    grid-template-columns: 1fr 1fr;
  }
  .staff-view .payment-row > div:nth-child(2) {
    border: 0;
  }
  .staff-view .order-detail-layout {
    grid-template-columns: 1fr;
  }
  .staff-view .order-information {
    grid-template-columns: 1fr 1fr;
  }
  .staff-view .pos-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-view .pos-composer {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 15px;
  }
  .staff-view .pos-product > div {
    display: block;
  }
  .staff-view .pos-product span {
    display: block;
    margin-top: 5px;
  }
  .staff-view .floor-dock {
    flex-wrap: wrap;
    gap: 12px;
  }
  .staff-view .dock-orders {
    order: 5;
    max-width: 100%;
    width: 100%;
  }
  .staff-view .dock-orders:empty {
    display: none;
  }
  .staff-view .login-layout {
    width: calc(100% - 40px);
    min-height: 600px;
  }
  .staff-view .login-form {
    padding: 45px 30px;
  }
  .staff-view .login-art {
    padding: 30px;
  }
}
@media (max-width: 650px) {
  .staff-view .shell {
    margin: 0;
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
  }
  .staff-view .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    height: 100dvh;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .staff-view .menu-open .sidebar {
    transform: translateX(0);
  }
  .staff-view .mobile-menu {
    display: flex;
  }
  .staff-view .topbar {
    height: 80px;
    padding: 15px;
    gap: 10px;
  }
  .staff-view .pos-heading strong {
    font-size: 18px;
  }
  .staff-view .pos-heading small {
    font-size: 9px;
  }
  .staff-view .online {
    display: none;
  }
  .staff-view .notification-pill {
    padding: 9px;
  }
  .staff-view .notification-pill > span {
    display: none;
  }
  .staff-view .content {
    padding: 18px 13px;
  }
  .staff-view .floor-plan {
    grid-template-columns: repeat(4, minmax(55px, 1fr));
    gap: 25px 10px;
    padding: 15px 8px;
  }
  .staff-view .floor-table {
    height: 112px;
  }
  .staff-view .table-top {
    inset: 13px 10px 27px;
  }
  .staff-view .chair.east,
  .staff-view .chair.west {
    width: 7px;
  }
  .staff-view .table-disc {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 13px;
  }
  .staff-view .table-time {
    font-size: 8px;
    padding: 2px 3px;
  }
  .staff-view .floor-legend {
    gap: 15px;
  }
  .staff-view .floor-legend span {
    font-size: 10px;
    gap: 7px;
  }
  .staff-view .floor-legend i {
    width: 11px;
    height: 11px;
    box-shadow: 0 0 0 4px #ffffffa8;
  }
  .staff-view .floor-dock {
    padding: 13px;
    bottom: 10px;
  }
  .staff-view .floor-dock small {
    font-size: 9px;
  }
  .staff-view .dock-symbol {
    display: none;
  }
  .staff-view .floor-dock > .btn.primary {
    padding-inline: 15px;
    font-size: 11px;
  }
  .staff-view .service-alerts {
    padding: 12px 13px 0;
  }
  .staff-view .kds-toolbar h1 {
    font-size: 25px;
  }
  .staff-view .kds-toolbar p {
    max-width: 210px;
  }
  .staff-view .kds-toolbar > .flex .btn {
    font-size: 10px;
    min-height: 34px;
    padding: 7px 10px;
  }
  .staff-view .kds-status-bar {
    gap: 7px;
  }
  .staff-view .kds-counter,
  .staff-view .kds-filter {
    font-size: 10px;
    padding: 9px;
    gap: 6px;
  }
  .staff-view .kds-board {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .staff-view .kds-ticket > header strong {
    font-size: 22px;
  }
  .staff-view .kds-item strong {
    font-size: 18px;
  }
  .staff-view .orders-grid {
    grid-template-columns: 1fr;
  }
  .staff-view .payment-row {
    padding: 18px 15px;
  }
  .staff-view .payment-row h3 {
    font-size: 15px;
  }
  .staff-view .payment-row span {
    font-size: 11px;
  }
  .staff-view .payment-row > div > strong {
    font-size: 23px;
  }
  .staff-view .payment-row > .flex {
    justify-content: flex-end;
  }
  .staff-view .payment-row .btn {
    min-width: auto;
    font-size: 11px;
    padding: 9px;
  }
  .staff-view #modal.wide {
    width: calc(100vw - 20px);
  }
  .staff-view .dialog-head,
  .staff-view .dialog-body {
    padding: 17px;
  }
  .staff-view .order-detail-items {
    padding: 15px;
  }
  .staff-view .order-information {
    grid-template-columns: 1fr;
  }
  .staff-view .detail-food {
    width: 45px;
    height: 50px;
  }
  .staff-view .detail-line {
    gap: 9px;
    font-size: 12px;
  }
  .staff-view .detail-line strong {
    font-size: 13px;
  }
  .staff-view .detail-line .qty {
    min-width: 25px;
    font-size: 10px;
  }
  .staff-view .order-detail-actions {
    padding: 12px;
    gap: 8px;
  }
  .staff-view .order-detail-actions .btn {
    font-size: 11px;
    padding: 9px 11px;
  }
  .staff-view .pos-composer {
    grid-template-columns: 1fr;
  }
  .staff-view .pos-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .staff-view .pos-basket {
    position: static;
  }
  .staff-view .pos-basket-lines {
    max-height: none;
  }
  .staff-view .pos-products h1 {
    font-size: 24px;
  }
  .staff-view .login-layout {
    grid-template-columns: 1fr;
    margin: 20px auto;
  }
  .staff-view .login-art {
    min-height: 260px;
    gap: 30px;
  }
  .staff-view .login-art h1 {
    font-size: 30px;
  }
  .staff-view .login-art p {
    font-size: 13px;
  }
  .staff-view .login-form {
    padding: 35px 25px;
  }
  .staff-view .demo-home {
    margin: 20px 15px;
    padding: 30px 24px;
  }
  .staff-view .demo-home h1 {
    font-size: 53px;
  }
  .staff-view .demo-roles {
    grid-template-columns: 1fr 1fr;
  }
  .staff-view .demo-roles .btn {
    font-size: 12px;
  }
  .staff-view .demo-roles > a:first-child {
    grid-column: 1/-1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #service-banner.drop-in {
    animation: none;
  }
}
@media (min-width: 951px) {
  .staff-view .floor-plan.focused-floor {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
    gap: 35px 65px;
    padding: 30px 45px;
    min-height: 450px;
  }
  .staff-view .focused-floor .floor-table {
    height: 150px;
  }
  .staff-view .focused-floor .table-disc {
    width: 55px;
    height: 55px;
    flex-basis: 55px;
    font-size: 18px;
  }
  .staff-view .focused-floor .table-top {
    inset: 17px 17px 31px;
  }
  .staff-view .focused-floor .chair.north,
  .staff-view .focused-floor .chair.south {
    width: 36px;
    height: 12px;
    left: calc(50% - 18px);
  }
  .staff-view .focused-floor .chair.west,
  .staff-view .focused-floor .chair.east {
    width: 12px;
    height: 36px;
  }
}
.staff-view .pos-products > .search {
  max-width: none;
}
.staff-view .empty .icon {
  color: #8da5d0;
}
/* PIN sign-in follows the supplied two-panel reference, with a real credential check. */
.staff-view .pin-login-layout {
  width: min(1340px, calc(100% - 80px));
  min-height: 800px;
  margin: 55px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 34px;
  overflow: hidden;
  background: white;
  box-shadow: 0 25px 70px #233a6425;
}
.staff-view .pin-welcome {
  padding: 35px 45px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
}
.staff-view .pin-brand {
  display: flex;
  align-self: flex-start;
  gap: 10px;
  align-items: center;
  color: #2d71f5;
  font-size: 18px;
  font-weight: 650;
}
.staff-view .pin-brand > span {
  background: #eaf1ff;
  border-radius: 10px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.staff-view .pin-welcome > img {
  width: 77%;
  max-width: 370px;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 25px auto 42px;
}
.staff-view .pin-welcome h1 {
  font-size: 36px;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.staff-view .pin-welcome p {
  color: #8992a4;
  font-size: 16px;
  line-height: 1.6;
}
.staff-view .welcome-dots {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 40px;
}
.staff-view .welcome-dots i {
  background: #dce3ef;
  width: 8px;
  height: 8px;
  border-radius: 8px;
}
.staff-view .welcome-dots i:last-child {
  width: 31px;
  background: #2e75ff;
}
.staff-view .pin-login-form {
  padding: 65px 65px 45px;
  text-align: center;
  background: linear-gradient(135deg, #f3f6fb, #e9edf7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.staff-view .pin-login-form > h1 {
  font-size: 31px;
}
.staff-view .pin-login-form > p {
  color: #828c9f;
  font-size: 15px;
  margin: 13px 0 22px;
}
.staff-view .department-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.staff-view .department-tabs a {
  font-size: 10px;
  color: #8b96ab;
  padding: 6px 9px;
  border-radius: 7px;
}
.staff-view .department-tabs a.active {
  background: #e0eaff;
  color: #2e73f8;
}
.staff-view .pin-input-label {
  display: block;
}
.staff-view .pin-input {
  display: block;
  width: 200px;
  margin: 0 auto 25px;
  text-align: center;
  letter-spacing: 13px;
  padding: 7px 0 7px 13px;
  border: 0;
  border-bottom: 1px solid #dce5f4;
  border-radius: 0;
  background: transparent;
  color: #2d72ff;
  font-size: 24px;
  outline-offset: 4px;
}
.staff-view .pin-input::placeholder {
  color: #bdc8dc;
  opacity: 0.8;
}
.staff-view .pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 23px 35px;
  justify-content: center;
}
.staff-view .pin-keypad button {
  width: 64px;
  height: 64px;
  min-width: 64px;
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: 50%;
  color: #10141c;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 500;
  box-shadow: 0 4px 15px #2c426405;
}
.staff-view .pin-keypad button:active {
  background: #e0eaff;
  color: #2f72ff;
}
.staff-view .pin-sign-in {
  margin-top: 37px;
  height: 60px;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.staff-view .pin-login-form .form-error {
  font-size: 12px;
  text-align: center;
  margin-top: 17px;
  min-height: 18px;
}
.staff-view .pin-login-form form .field {
  text-align: left;
}
.staff-view .pin-login-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #8c98af;
  font-size: 11px;
  margin-top: 22px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 950px) {
  .staff-view .pin-login-layout {
    width: calc(100% - 32px);
    margin: 25px auto;
    min-height: 720px;
  }
  .staff-view .pin-login-form {
    padding: 45px 25px;
  }
  .staff-view .pin-welcome {
    padding: 30px;
  }
  .staff-view .pin-welcome h1 {
    font-size: 29px;
  }
  .staff-view .pin-welcome p {
    font-size: 14px;
  }
  .staff-view .pin-welcome > img {
    width: 100%;
  }
}
@media (max-width: 650px) {
  .staff-view .pin-login-layout {
    grid-template-columns: 1fr;
    min-height: unset;
    margin: 16px auto;
    border-radius: 27px;
  }
  .staff-view .pin-welcome {
    padding: 23px 25px 25px;
  }
  .staff-view .pin-welcome > img {
    width: 150px;
    margin: 12px auto 8px;
  }
  .staff-view .pin-welcome h1 {
    font-size: 23px;
    margin-bottom: 9px;
  }
  .staff-view .pin-welcome p {
    font-size: 11px;
  }
  .staff-view .pin-welcome .welcome-dots {
    display: none;
  }
  .staff-view .pin-login-form {
    padding: 28px 25px;
  }
  .staff-view .pin-login-form > h1 {
    font-size: 26px;
  }
  .staff-view .pin-keypad {
    grid-template-columns: repeat(3, 58px);
    gap: 17px 32px;
  }
  .staff-view .pin-keypad button {
    width: 58px;
    height: 58px;
    min-width: 58px;
    font-size: 24px;
  }
  .staff-view .pin-sign-in {
    margin-top: 20px;
    height: 52px;
  }
  .staff-view .pin-input {
    margin-bottom: 20px;
  }
  .staff-view .pin-brand {
    font-size: 15px;
  }
}
.staff-view .leaving {
  --table-color: #ffb326;
  --table-ink: white;
}
.staff-view .ready {
  --table-color: #8f9df4;
  --table-ink: white;
}
.staff-view .table-followup-art {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: #fff2d9;
  color: #e7a529;
  border-radius: 25px;
  margin: 10px auto 22px;
}
.staff-view .table-followup-art .icon {
  width: 40px;
  height: 40px;
}
.staff-view .followup-message {
  text-align: center;
  color: #77839a;
}
.staff-view .followup-buttons {
  display: grid;
  gap: 12px;
  margin: 25px 0;
}
.staff-view .followup-buttons .btn {
  min-height: 50px;
}
.staff-view .occupied-orders {
  display: grid;
  gap: 13px;
  margin: 20px 0;
}
.staff-view .occupied-orders p {
  margin: 8px 0 16px;
  font-size: 13px;
}

@media (min-width: 651px) and (max-height: 850px) {
  .staff-view .pin-login-layout {
    min-height: calc(100dvh - 40px);
    margin: 20px auto;
  }
  .staff-view .pin-login-form {
    padding: 24px 40px;
  }
  .staff-view .pin-login-form > h1 {
    font-size: 28px;
  }
  .staff-view .pin-login-form > p {
    margin: 10px 0 14px;
  }
  .staff-view .department-tabs {
    margin-bottom: 10px;
  }
  .staff-view .pin-input {
    margin-bottom: 15px;
  }
  .staff-view .pin-keypad {
    grid-template-columns: repeat(3, 56px);
    gap: 15px 32px;
  }
  .staff-view .pin-keypad button {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 24px;
  }
  .staff-view .pin-sign-in {
    height: 54px;
    margin-top: 16px;
  }
  .staff-view .pin-login-form .form-error {
    margin-top: 10px;
    min-height: 18px;
  }
  .staff-view .pin-login-links {
    margin-top: 16px;
  }
  .staff-view .pin-welcome {
    padding: 30px;
  }
  .staff-view .pin-welcome > img {
    max-width: 290px;
    margin: 20px auto;
  }
  .staff-view .pin-welcome h1 {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .staff-view .welcome-dots {
    margin-top: 25px;
  }
}
@media (max-width: 650px) and (max-height: 900px) {
  .staff-view .pin-login-layout {
    margin: 10px auto;
  }
  .staff-view .pin-welcome {
    padding: 16px 25px;
  }
  .staff-view .pin-welcome > img {
    width: 88px;
    margin: 8px auto;
  }
  .staff-view .pin-welcome h1 {
    font-size: 20px;
    margin: 0;
  }
  .staff-view .pin-welcome p {
    display: none;
  }
  .staff-view .pin-login-form {
    padding: 22px 25px;
  }
  .staff-view .pin-login-form > p {
    margin: 10px 0 14px;
  }
  .staff-view .pin-input {
    margin-bottom: 14px;
  }
  .staff-view .pin-login-form .form-error {
    margin-top: 10px;
    min-height: 16px;
  }
  .staff-view .pin-sign-in {
    margin-top: 12px;
  }
  .staff-view .pin-login-links {
    margin-top: 14px;
  }
}

.staff-view .restaurant-access { width: min(100% - 40px, 480px); margin: 8vh auto; padding: 36px; background: #fff; border-radius: 28px; box-shadow: 0 20px 70px #263c6712; }
.staff-view .restaurant-access .brand { margin-bottom: 40px; }
.staff-view .restaurant-access h1 { margin-bottom: 12px; }
.staff-view .restaurant-access p { color: #78849b; line-height: 1.6; margin-bottom: 28px; }
.staff-view .restaurant-access > a:last-child { display: block; font-size: 13px; margin-top: 28px; color: #376ff0; }
.staff-view .pin-login-form select { width: 100%; font-size: 14px; background: #fff; border-color: #e0e7f4; }
.staff-view .login-hours-note { padding: 12px 14px; background: #fff8e8; border-radius: 12px; color: #876516; font-size: 13px; line-height: 1.5; }
.staff-view .pin-login-form form .field { margin-bottom: 16px; }
.staff-view .pin-login-form .pin-input-label { margin-top: 10px; }
.staff-view .guest-item-name { font-size: 12px; margin-bottom: 8px; color: #73819a; }
.staff-view .kds-items .guest-item-group { margin-top: 12px; padding-top: 12px; }
.staff-view .kds-items .guest-item-group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (min-width: 760px) and (max-height: 900px) {
  .staff-view .pin-login-form { padding-top: 28px; padding-bottom: 28px; }
  .staff-view .pin-login-form > p { margin-bottom: 18px; }
  .staff-view .pin-keypad { gap: 12px 24px; }
  .staff-view .pin-keypad button { width: 58px; height: 58px; min-height: 58px; }
  .staff-view .pin-sign-in { margin-top: 22px; }
}
/* Named bill groups remain legible on the kitchen ticket and order detail. */
.staff-view .guest-item-group { border-top: 1px solid #e1e7f1; }
