:root {
  --paper: #ffffff;
  --paper-2: #ffffff;
  --panel: #e0e0e0;
  --ink: #222222;
  --spruce: #4a90d9;
  --spruce-2: #3a78b8;
  --lime: #e0e0e0;
  --coral: #e53935;
  --line: #c8c8c8;
  --muted: #555555;
  --label: #2f6fad;
  --shadow: none;
  --brand: #EE8031;
  color: var(--ink);
  background: #ffffff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
}
a { color: #1a1a1a; }
h1, h2, .mark, .code { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-weight: 700; letter-spacing: 0; }
h1 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { margin: 0 0 0.5rem; font-size: 1.05rem; }

.preview-banner {
  background: #fff3c4;
  color: var(--ink);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid var(--line);
}

.top, .foot, main { width: min(1040px, calc(100% - 2rem)); margin: 0 auto; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0 0.55rem;
  border-bottom: 1px solid #d0d0d0;
}
.mark { text-decoration: none; color: var(--ink); font-size: 1.25rem; display: inline-flex; align-items: center; }
.mark img { height: 72px; width: auto; display: block; }
.brand-logo { display: block; width: min(240px, 70%); height: auto; margin: 0 auto 0.8rem; }
.top nav { display: flex; gap: 1rem; align-items: center; }
.top nav a { text-decoration: none; font-weight: 600; }
.top nav a.quiet { color: var(--muted); font-weight: 500; }

main { padding-bottom: 3rem; }
main.wide { width: min(880px, calc(100% - 2rem)); }

.hero { max-width: 44rem; margin: 0.6rem 0 1.4rem; }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.1rem 0 0.4rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; list-style: none; padding: 0; margin: 1.2rem 0 0; max-width: 36rem; }
.facts li { background: white; border: 1px solid var(--line); border-radius: 2px; padding: 0.75rem 0.85rem; }
.facts strong { display: block; font-size: 1.35rem; }
.facts span { color: var(--muted); font-size: 0.85rem; }
.button.ghost { background: transparent; color: var(--spruce); border: 1px solid var(--spruce); }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--spruce-2);
  margin: 0 0 0.4rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.card, .ticket-stub, .panel {
  background: var(--panel);
  border: 1px solid #bdbdbd;
  border-radius: 2px;
  padding: 0.9rem 1rem 1rem;
  box-shadow: none;
}
.card.narrow { max-width: 440px; margin: 1rem auto; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0.45rem 0; }
.sandbox-badge {
  display: inline-block;
  margin: 0 0 0.8rem;
  background: #fff3cd;
  color: #6a4b00;
  border: 2px solid #d4a017;
  border-radius: 2px;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}
.pay-link { word-break: break-all; font-size: 1.05rem; }
.note, .todo {
  background: #fff8dc;
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e6d98a;
}
.todo { border: 1px dashed var(--coral); color: #7a2e1d; }

.steps { display: flex; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1rem; flex-wrap: wrap; }
.steps li {
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
  background: #e0e0e0;
  color: var(--ink);
}
.steps li.on { background: #4a90d9; color: white; }
.steps li.done { background: #d6e6f7; color: var(--ink); }

label { display: grid; gap: 0.35rem; font-size: 0.92rem; font-weight: 600; margin: 0.7rem 0; }
input, select, textarea, button {
  font: inherit;
  border-radius: 3px;
  border: 1px solid #b0b0b0;
  padding: 0.55rem 0.7rem;
  background: white;
  color: var(--ink);
  min-height: 48px;
  font-size: 16px;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid #4a90d9;
  outline-offset: 1px;
}
button, .button {
  background: #4a90d9;
  color: white;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1rem;
  box-shadow: none;
}
button.ghost { background: transparent; color: #4a90d9; border: 1px solid #4a90d9; }
button:disabled, button.is-loading { opacity: 0.6; cursor: not-allowed; }
input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; }
.alert { background: #fde4dc; color: #7a2e1d; border-radius: 2px; padding: 0.8rem 0.9rem; border: 1px solid #f3c2b4; }
.empty { background: transparent; border-radius: 0; padding: 0.4rem 0; color: var(--muted); }

.slot-grid, .ticket-list { display: grid; gap: 0.55rem; }
.slot-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.slot-grid button {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  text-align: left;
  display: grid;
}
.slot-grid button strong { font-weight: 700; }
.slot-grid button span { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.slot {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.7rem;
  background: white;
  text-align: left;
}
.slot strong { display: block; }
.slot small { color: var(--muted); }
.slot.full { background: #eeeae1; color: var(--muted); }
.ticket { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.ticket span { display: block; color: var(--muted); font-size: 0.9rem; }
.book-table { width: 100%; border-collapse: collapse; }
.book-table th { text-align: right; width: 38%; color: var(--label); font-weight: 700; padding: 0.45rem 0.8rem 0.45rem 0; vertical-align: middle; }
.book-table td { padding: 0.25rem 0; }
.book-table select, .book-table input { width: 100%; }
.book-go { background: #4a90d9; color: white; width: auto; min-width: 220px; min-height: 52px; font-size: 1.15rem; font-weight: 800; margin: 0.9rem auto 0; display: flex; border-radius: 4px; }
.is-off { display: none; }
.stepper { display: flex; align-items: center; gap: 0.35rem; }
.stepper button { width: 48px; height: 48px; min-height: 48px; padding: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); font-size: 1.3rem; }
.stepper input { width: 4.2rem; text-align: center; padding-inline: 0.2rem; }
.ticket.off { opacity: 0.55; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.7rem; }
.split { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 1rem; align-items: start; }
.ticket-stub ul, .ticket-stub p { display: flex; justify-content: space-between; gap: 1rem; }
.ticket-stub ul { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.ticket-stub .total { font-weight: 700; font-size: 1.15rem; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 0.25rem; }
.stack { display: grid; }
.waiver-text {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1rem 1.1rem;
  max-height: 280px;
  overflow: auto;
  font-size: 0.92rem;
  line-height: 1.45;
  -webkit-overflow-scrolling: touch;
}
.waiver-text p { margin: 0 0 0.85rem; }
.waiver-text center { display: block; text-align: center; font-weight: 700; margin-bottom: 0.85rem; }
.waiver-text b { font-weight: 700; }
fieldset { border: 1px solid var(--line); border-radius: 14px; margin: 0.6rem 0; }
.code { font-size: 2.4rem; letter-spacing: 0.06em; margin: 0.2rem 0 0.8rem; }
.qr { display: inline-block; background: white; border-radius: 18px; padding: 0.6rem; border: 1px solid var(--line); }
.qr svg { width: 180px; height: auto; display: block; }
.confirm { max-width: 640px; }
main.desk-main { width: min(1480px, calc(100% - 1.25rem)); }
.desk-head {
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.15rem 0.4rem;
  background: #ffffff;
  border-bottom: 1px solid #bdbdbd;
  border-radius: 0;
  box-shadow: none;
}
.desk-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.55rem;
  min-width: 0;
}
.desk-brand {
  margin: 0;
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-decoration: none;
}
.desk-brand img { height: 44px; width: auto; display: block; }
.desk h1 { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.desk-user { margin-left: 0; display: flex; align-items: center; gap: 0.45rem; font-weight: 700; flex-shrink: 0; }
.desk-user form { margin: 0; }
.desk-user button { min-height: 48px; min-width: 48px; }
body:has(.desk) .top { display: none; }
body[data-installable="1"] { overscroll-behavior: none; }
.icon-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.icon-row form { display: flex; }
.icon-row a,
.icon-row button {
  flex: 0 0 auto;
  min-width: 84px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-decoration: none;
  background: white;
  color: #222;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.4rem 0.55rem;
}
.icon-row svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-row a.is-on { background: #3a78b8; color: white; }
.icon-row a.round {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  border-radius: 50%;
  background: #2ec4d6;
  color: white;
  border: 0;
  padding: 0.15rem;
  font-size: 0.62rem;
  line-height: 1.05;
  box-shadow: none;
}
.icon-row a.round svg { stroke: white; width: 22px; height: 22px; }
.icon-row a.round.is-on { background: #149aab; box-shadow: none; color: white; }
.desk form button,
.desk a.button,
.desk input,
.desk select {
  min-height: 56px;
  font-size: 1.05rem;
}
.desk select { width: 100%; background: white; }
.desk table td, .desk table th { padding: 0.85rem 0.4rem; font-size: 1.05rem; }
.desk table a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.home-banner {
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  padding: 1.15rem 1.25rem 1rem;
  margin: 0 0 1rem;
}
.desk .home-banner { background: #ffffff; }
.home-banner h1 { font-size: 1.7rem; margin: 0 0 0.45rem; }
.home-banner p { margin: 0.2rem 0; }
.home-meta { color: #333; }
.home-start { margin: 0 0 1.15rem; }
.desk a.home-start-btn {
  min-height: 64px;
  width: min(440px, 100%);
  font-size: 1.3rem;
  background: #4a90d9;
  color: white;
  border-radius: 4px;
}
.home-guide-title { margin: 0 0 0.55rem; }
.home-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.7rem; }
.home-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  padding: 0.85rem 0.95rem;
  text-decoration: none;
  color: #222;
}
.home-card strong { display: block; font-size: 1.05rem; margin-bottom: 0.2rem; }
.home-card span span { display: block; line-height: 1.4; }
.home-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2ec4d6;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}
.home-icon svg { width: 26px; height: 26px; fill: none; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-signout { margin: 0; }
.home-signout button { margin-top: 0.55rem; min-height: 48px; }
.sale { display: grid; grid-template-columns: minmax(0, 60fr) minmax(280px, 35fr); gap: 0.8rem; align-items: start; }
.categories { display: flex; gap: 0.45rem; overflow-x: auto; margin-bottom: 0.7rem; }
.categories button {
  min-height: 48px;
  min-width: 92px;
  background: #4a90d9;
  color: white;
  border: 0;
  border-radius: 4px;
}
.categories button.is-on { background: #3a78b8; color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; }
.product-grid button {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #4a90d9;
  color: white;
  border: 0;
  border-radius: 3px;
  padding: 0.45rem 0.4rem;
  box-shadow: none;
  font-weight: 700;
}
.product-grid button[hidden] { display: none; }
.product-grid button.swatch.jump { background: #3aa04a; color: white; }
.product-grid button.swatch.toddler { background: #7cb342; color: white; }
.product-grid button.swatch.group,
.product-grid button.swatch.extra-time { background: #8d2b2b; color: white; }
.product-grid button.swatch.special,
.product-grid button.swatch.tip,
.product-grid button.swatch.party { background: #6a1b9a; color: white; }
.product-grid button.swatch.food { background: #e4572e; color: white; }
.product-grid button.swatch.retail,
.product-grid button.swatch.socks,
.product-grid button.swatch.party-weekend,
.product-grid button.swatch.misc { background: #1565c0; color: white; }
.product-grid button.swatch.gift,
.product-grid button.swatch.party-weekday,
.product-grid button.swatch.party-jump,
.product-grid button.swatch.online { background: #2e7d32; color: white; }
.product-grid button.swatch.extra { background: #7cb342; color: white; }
.product-grid button.swatch.pizza,
.product-grid button.swatch.locker { background: #1a1a1a; color: white; }
.sale-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 0.7rem; }
.sale-tabs button, .sale-tabs a {
  flex: 1 1 140px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  background: #4a90d9;
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.sale-tabs button.is-on, .sale-tabs a.is-on { box-shadow: none; filter: brightness(0.88); }
.sale-board { background: #e0e0e0; border: 1px solid #c8c8c8; border-radius: 2px; padding: 0.45rem 0.55rem 0.8rem; min-height: 64vh; }
.sale-panel[hidden] { display: none; }
.tile-heading { margin: 0.7rem 0 0.3rem; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0; color: #222; }
.sale-id { margin: 0.15rem 0 0.45rem; font-weight: 700; }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin: 0.45rem 0; }
.cart-actions .cart-span { grid-column: 1 / -1; }
.btn-blue, .btn-sky, .sale-back {
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.btn-blue, .btn-sky, .sale-back { background: #4a90d9; color: white; }
.customer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  margin: 0.15rem 0 0.35rem;
  font-weight: 700;
}
.customer-who { display: flex; align-items: center; justify-content: flex-end; gap: 0.45rem; min-width: 0; }
.customer-who form { margin: 0; display: flex; }
.customer-who strong { text-align: right; }
.customer-none { color: #d32f2f; }
.desk button.remove-customer,
button.remove-customer {
  background: #e53935;
  color: white;
  font-weight: 800;
  border: 0;
  border-radius: 4px;
  min-height: 48px;
  min-width: 96px;
  padding: 0.4rem 0.9rem;
}
.remove-customer[hidden] { display: none; }
.cart-totals { width: 100%; margin: 0.3rem 0 0.6rem; }
.cart-totals th { text-align: left; }
.cart-totals td { text-align: right; font-weight: 700; }
.sale-amount { width: 100%; font-size: 1.45rem; text-align: right; min-height: 56px; margin: 0.35rem 0; }
.notes-line { min-height: 48px; display: flex; align-items: center; gap: 0.4rem; }
.text-link, .reset-link { background: transparent; color: #222; border: 0; font-weight: 600; min-height: 48px; padding: 0 0.4rem; text-decoration: underline; display: inline-flex; align-items: center; }
.cart li span { flex: 1; line-height: 1.35; }
.cart li { align-items: flex-start; }
.cart-x { color: #d32f2f; background: transparent; border: 0; font-weight: 800; font-size: 1.3rem; min-width: 48px; min-height: 48px; }
main.plain-main { width: min(1180px, calc(100% - 2rem)); margin: 0.85rem auto 2rem; }
.detail-page .sale-back { min-width: 148px; min-height: 48px; padding: 0.45rem 1.4rem; border-radius: 4px; font-weight: 700; }
.detail-card {
  max-width: 720px;
  margin: 0.35rem auto 1.4rem;
  background: #ffffff;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  padding: 0.75rem 1rem 1.05rem;
  box-shadow: none;
}
.detail-reset { margin: 0; }
.detail-sheet { background: #e0e0e0; border: 1px solid #c8c8c8; border-radius: 0; padding: 0.15rem 0.85rem 0.85rem; }
.detail-sheet .book-go { width: fit-content; min-width: 220px; margin: 0.9rem auto 0.25rem; }
.detail-page .detail-title { text-align: center; font-size: 1.45rem; font-weight: 400; line-height: 1.35; margin: 0.15rem 0 0.85rem; }
.detail-page .detail-title span { display: block; }
.detail-page .detail-title em { font-style: italic; font-weight: 400; }
.detail-title { text-align: center; font-size: 1.55rem; margin: 0.2rem 0 0.7rem; }
.detail-title em { font-style: italic; font-weight: 700; }
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr { border-top: 1px solid #d0d0d0; }
.detail-table th { text-align: right; color: var(--label); width: 38%; padding: 0.55rem 0.85rem 0.55rem 0; font-weight: 700; vertical-align: middle; border-bottom: 0; background: transparent; }
.detail-table td { vertical-align: middle; border-bottom: 0; padding: 0.4rem 0; }
.detail-table input, .detail-table select, .detail-table textarea { width: 100%; max-width: 420px; background: white; }
.detail-table input:disabled, .detail-table select:disabled, .detail-table textarea:disabled { background: #cfcfcf; color: #444; opacity: 1; border-color: #b5b5b5; }
.detail-table tr[data-jump-row][hidden] { display: none; }
.waiver-line { display: flex; gap: 0.5rem; align-items: center; }
.waiver-line input { flex: 1; background: #e6e6e6; }
.field-error { color: #d32f2f; font-weight: 700; margin: 0.15rem 0 0; }
.waiver-search { background: #e0e0e0; border: 1px solid #c8c8c8; padding: 0.8rem; margin: 0.6rem 0 1rem; border-radius: 2px; }
.search-label { color: var(--label); font-weight: 700; }
.waiver-picked { padding-left: 1.2rem; }
.waiver-picked li { min-height: 48px; display: flex; align-items: center; gap: 0.4rem; }
.waiver-table thead th { background: #4a90d9; color: white; }
.waiver-table tbody tr:nth-child(even) { background: #f4f7fb; }
.age { color: #d32f2f; display: block; font-weight: 700; }
.detail-back { margin: 0 0 0.6rem; }
.flow-steps, .steps { gap: 0.35rem; }
.flow-steps { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 0.8rem; }
.flow-steps li {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  background: #e0e0e0;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-weight: 700;
}
.flow-steps li.on { background: #4a90d9; color: white; border-color: #4a90d9; }
.package-grid, .room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.package button, .room-grid a, .choice .check { min-height: 48px; }
.choice { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.room-grid a.button { min-width: 96px; }
.taken { min-height: 48px; display: inline-flex; align-items: center; color: var(--muted); padding: 0 0.4rem; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; margin: 0.6rem 0 1rem; }
.month-grid a, .month-grid .pad {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
}
.month-grid a.is-on { outline: 2px solid #4a90d9; }
.blue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.65rem; }
.blue-grid a.button { background: #4a90d9; min-height: 56px; border-radius: 4px; }
.party-picks h3 { margin: 0.8rem 0 0.2rem; }
.cart p { display: flex; justify-content: space-between; align-items: center; min-height: 32px; margin: 0.15rem 0; }
.cart {
  position: sticky;
  top: 0.6rem;
  background: #e0e0e0;
  border: 1px solid #bdbdbd;
  border-radius: 2px;
  padding: 0.75rem 0.8rem 0.9rem;
  box-shadow: none;
}
.cart ul { list-style: none; padding: 0; margin: 0 0 0.5rem; }
.cart li { display: flex; justify-content: space-between; gap: 0.4rem; align-items: center; min-height: 48px; }
.cart li button { min-width: 48px; min-height: 48px; padding: 0; background: transparent; color: var(--ink); border: 0; }
.tracker-page .tracker-grid { display: flex; flex-direction: column; gap: 0; background: #e0e0e0; border: 1px solid #c8c8c8; border-radius: 2px; padding: 0.35rem 0.7rem; }
.tracker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 0.45rem; }
.tracker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; border-bottom: 1px solid #c8c8c8; min-height: 48px; }
.tracker-row > a { min-height: 48px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; background: transparent; border: 0; border-radius: 0; padding: 0; color: #14221c; box-shadow: none; }
.tracker-row form { display: flex; gap: 0.25rem; margin: 0; }
.tracker-row.is-on { background: #fff4c2; }
.tracker-people { flex-basis: 100%; margin: 0.15rem 0 0.45rem; padding-left: 1rem; }
.tracker-total { font-weight: 800; }
.date-red { color: #d32f2f; }
.date-bar { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; font-weight: 800; }
.date-bar a { min-height: 48px; display: inline-flex; align-items: center; }
.party-row, .party-row td { background: #ffe56a; }
.date-cell { position: relative; }
.date-pop { position: absolute; z-index: 8; left: 0; top: 100%; background: white; border: 1px solid #bdbdbd; border-radius: 2px; padding: 0.55rem; box-shadow: none; }
.date-pop[hidden] { display: none; }
.date-pop-bar { display: flex; gap: 0.35rem; margin-bottom: 0.4rem; }
.date-pop-bar select { min-height: 48px; }
.date-pop-grid { display: grid; grid-template-columns: repeat(7, minmax(40px, 1fr)); gap: 0.15rem; }
.date-pop-grid button { min-width: 40px; min-height: 40px; padding: 0; background: white; color: #14221c; }
.cust-top { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 0.8rem; align-items: start; }
.stack-buttons { display: flex; flex-direction: column; gap: 0.45rem; }
.mode-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.45rem; margin-bottom: 0.8rem; }
.receipt-sm { max-width: 340px; margin: 0 auto; background: white; padding: 1rem; }
.receipt-lg { max-width: 760px; margin: 0 auto; background: white; padding: 1.2rem; }
.sign-line { border-bottom: 1px solid #333; min-height: 2.2rem; margin-top: 1.1rem; }
.waiver-met a { color: #1b7a32; font-weight: 800; }
.waiver-short a { color: #c62828; font-weight: 800; }
.logout-x { background: #e53935; color: white; border-radius: 50%; width: 48px; height: 48px; min-width: 48px; padding: 0; font-size: 1.45rem; }
.switch-user { background: transparent; color: #14221c; border: 0; box-shadow: none; font-weight: 700; padding: 0 0.2rem; }
.occupancy-link { min-height: 48px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cart-edit { cursor: pointer; flex: 1; min-height: 48px; display: flex; align-items: center; }
.sticker-sheet { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sticker { width: 180px; min-height: 72px; border: 2px dashed #4a90d9; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; padding: 0.4rem 0.6rem; background: white; }
.desk .panel, .desk .card { background: #e0e0e0; border: 1px solid #c8c8c8; border-radius: 2px; box-shadow: none; }
.desk table thead th { background: #4a90d9; color: white; font-weight: 700; }
.desk:not(.lily-page):not(.cal-reference) button:not(.swatch):not(.logout-x):not(.text-link):not(.cart-x):not(.switch-user):not(.remove-customer):not(.cal-x):not(.stk-print):not(.mail-link):not(.cal-remind):not(.cal-help),
.desk:not(.lily-page):not(.cal-reference) a.button { background: #4a90d9; color: white; font-weight: 700; border: 0; border-radius: 4px; }
.month-grid a.is-today { background: #fff3c4; box-shadow: inset 0 0 0 2px #4a90d9; }
.login-desk {
  display: flex;
  justify-content: center;
  padding: 2.2rem 0 0.4rem;
}
.desk .card.login-card {
  width: min(540px, calc(100% - 1.5rem));
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  padding: 1.5rem 1.45rem 1.25rem;
  box-shadow: none;
}
.login-card .brand-logo { width: min(280px, 80%); margin: 0 auto 0.35rem; }
.login-card h1 { text-align: center; font-size: 1.55rem; margin: 0 0 0.85rem; }
.login-form { margin-top: 0.2rem; }
.login-form label {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}
.login-form input,
.login-form select {
  width: 100%;
  min-height: 56px;
  font-size: 20px;
  padding: 0.35rem 0.75rem;
  background: #ffffff;
}
.desk .login-form button[type="submit"],
.login-form button[type="submit"] {
  width: 100%;
  min-height: 60px;
  margin-top: 1.15rem;
  font-size: 1.25rem;
  font-weight: 700;
  background: #4a90d9;
  color: white;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}
.month-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; font-weight: 800; text-align: center; }
.tracker-grid a {
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  text-decoration: none;
  border-radius: 0;
  padding: 0.2rem 0.15rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.tracker-grid a.busy { background: #fff4c2; }
.tracker-grid a.full { background: #e53935; color: white; }
.tracker-grid a.is-on { outline: 2px solid #4a90d9; }
.desk .date-pop button { background: white; color: #222; border: 1px solid #c8c8c8; }
.desk .tracker-page.card { background: transparent; border: 0; padding: 0; }
.keyboard { display: grid; gap: 0.35rem; margin: 0.45rem 0 0.8rem; overflow-x: auto; }
.keyboard-row { display: flex; gap: 0.3rem; }
.keyboard button {
  min-width: 48px;
  min-height: 48px;
  flex: 1 0 48px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 1rem;
  padding: 0.15rem;
}
.desk .icon-row a,
.desk .icon-row button { min-height: 72px; min-width: 84px; }
.desk .desk-top .icon-row {
  min-width: 0;
  gap: 0.28rem;
  overflow: visible;
}
.desk .desk-top .icon-row a.round {
  flex: 1 1 48px;
  width: auto;
  max-width: 72px;
  min-width: 48px;
  height: auto;
  aspect-ratio: 1;
  min-height: 48px;
  border-radius: 50%;
  background: #2ec4d6;
  color: white;
  border: 0;
  padding: 0.1rem;
  font-size: clamp(0.52rem, 0.7vw, 0.62rem);
}
.desk .categories button { min-height: 56px; min-width: 92px; }
.desk .product-grid button { min-height: 64px; }
.desk .keyboard button { min-height: 48px; min-width: 48px; background: #f7f7f7; color: #222; border: 1px solid #bdbdbd; font-weight: 700; border-radius: 2px; }
.desk .cart li button { min-width: 48px; min-height: 48px; padding: 0; background: transparent; color: #222; border: 0; }
.keypad { display: grid; grid-template-columns: repeat(3, minmax(72px, 1fr)); gap: 0.5rem; max-width: 420px; margin: 0.4rem 0 0.8rem; }
.keypad button {
  min-height: 64px;
  font-size: 1.35rem;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.45rem 0.3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.foot { color: var(--muted); font-size: 0.9rem; padding-bottom: 2rem; }
.staff-foot { text-align: center; padding: 0.15rem 0 1.1rem; }
.staff-foot .credit { margin: 0; font-size: 0.82rem; }
.credit { color: var(--muted); font-size: 0.82rem; margin: 0.35rem 0 0; }
.powered { color: var(--spruce-2); font-size: 0.95rem; font-weight: 600; margin: 0.2rem 0 1rem; }
.pay-status { min-height: 1.2rem; color: var(--coral); font-weight: 600; }

html, body, button, a, input, select, textarea, label {
  touch-action: manipulation;
}
button, a, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}
button:active, a.button:active, .sale-tabs a:active, .sale-tabs button:active, .icon-row a:active, .keyboard button:active, .tracker-grid a:active, .month-grid a:active, .text-link:active, .cart-x:active, .sale-back:active, .product-grid button:active, .is-tapped:active {
  filter: brightness(0.82);
}
button:disabled:active, button.is-loading:active, a.is-loading:active { filter: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .waiver-text:focus-visible {
  outline: 2px solid #4a90d9;
  outline-offset: 2px;
}
.product-grid button.is-on { outline: 2px solid #222; outline-offset: 1px; }
.product-grid button.is-tapped { filter: brightness(0.9); }
.cart li.is-fresh { background: #e7f3dc; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 30;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  background: #222;
  color: white;
  font-weight: 700;
  box-shadow: none;
}
.toast[hidden] { display: none; }
button.is-loading, a.is-loading { opacity: 0.72; pointer-events: none; }

main.desk-main:has(.tracker-page) { padding-bottom: 0; }
.desk:has(.tracker-page) .desk-head { margin: 0; padding: 0.05rem 0; }
.desk:has(.tracker-page) .desk-top .icon-row a.round {
  width: 36px;
  height: 36px;
  max-width: 36px;
  min-width: 36px;
  min-height: 36px;
  font-size: 0.42rem;
  padding: 0;
}
.desk:has(.tracker-page) .icon-row { gap: 0.28rem; padding-bottom: 0; }
.desk:has(.tracker-page) .icon-row a.round svg { width: 14px; height: 14px; }
.desk:has(.tracker-page) .desk-brand { min-height: 28px; }
.desk:has(.tracker-page) .desk-brand img { height: 26px; }
.desk:has(.tracker-page) .desk-user button,
.desk:has(.tracker-page) .occupancy-link { min-height: 28px; min-width: 28px; font-size: 0.78rem; padding: 0 0.35rem; }
body:has(.tracker-page) .staff-foot { padding: 0; }
body:has(.tracker-page) main.desk-main { padding-top: 0.1rem; padding-bottom: 0; }
.tracker-page h1 { font-size: 1rem; line-height: 1.1; margin: 0; }
.tracker-page h2 { font-size: 0.88rem; line-height: 1.1; margin: 0.05rem 0; }
.tracker-page p { margin: 0.05rem 0; }
.tracker-page form.panel > p,
.tracker-page .hint { display: none; }
.desk .tracker-page label { margin: 0.1rem 0; font-size: 0.82rem; gap: 0.15rem; }
.desk .tracker-page input,
.desk .tracker-page select,
.desk .tracker-page .tracker-tools button,
.desk .tracker-page .panel > button,
.desk .tracker-page .date-bar a,
.desk .tracker-page .tracker-links .button,
.desk .tracker-page .tracker-jump .button {
  min-height: 30px;
  padding: 0.05rem 0.4rem;
  font-size: 0.85rem;
}
.tracker-page .panel { padding: 0.15rem 0.35rem; margin: 0; }
.tracker-page .tracker-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) auto minmax(160px, 0.7fr);
  gap: 0.2rem;
  align-items: start;
}
.tracker-page .tracker-links { display: flex; flex-direction: column; gap: 0.15rem; margin: 0; }
.tracker-jump { margin: 0.1rem 0; }
.tracker-jump .button { min-width: 88px; display: inline-flex; align-items: center; justify-content: center; }
.tracker-page .tracker-grid.tracker-compact {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(13, minmax(0, auto));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 0.25rem;
  padding: 0.05rem 0.25rem 0.1rem;
}
.tracker-page .tracker-compact .tracker-row {
  min-height: 0;
  flex-wrap: nowrap;
  gap: 0.1rem;
  border-bottom: 1px solid #d0d0d0;
}
.tracker-page .tracker-compact .tracker-row > a {
  min-height: 28px;
  font-size: 0.74rem;
  font-weight: 700;
  flex: 1 1 auto;
  white-space: nowrap;
}
.desk .tracker-page .tracker-row form button {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  background: #4a90d9;
  color: white;
  border: 0;
  border-radius: 2px;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: none;
}
.tracker-row.is-now,
.tracker-row.is-now > a,
.desk .tracker-row.is-now form button { background: #e53935; color: white; }
.tracker-row.is-past > a { color: #9aa0a6; }
.desk .tracker-row.is-past form button { background: #d7d7d7; color: #666; }
.tracker-page h1,
.tracker-page h2 { margin: 0.05rem 0; }
.tracker-page .hint { font-weight: 500; color: #555; }
.search-box input[name="q"] {
  width: min(720px, 100%);
  min-height: 52px;
  font-size: 1.2rem;
  background: white;
}
.desk label.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  margin: 0.45rem 0;
  cursor: pointer;
  font-weight: 700;
}
.desk label.check input[type="checkbox"] {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  margin: 0;
  accent-color: #4a90d9;
  flex: 0 0 34px;
}
.edit-sale .sale-panel { display: block; }
.edit-sale .sale-board { min-height: 0; max-height: 78vh; overflow: auto; }
.edit-sale .cart form { margin: 0.2rem 0; }
.edit-sale .cart-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.edit-sale .cart-actions form,
.edit-sale .cart-actions button,
.edit-sale .cart-actions a { margin: 0; }

@media (max-width: 1280px) {
  .desk-brand img { height: 32px; }
  .desk-user { gap: 0.3rem; font-size: 0.92rem; }
}
@media (max-width: 800px) {
  .toast { left: 0.6rem; right: 0.6rem; transform: none; }
  .desk-brand img { height: 34px; }
  .mark img { height: 56px; }
  .desk-top { align-items: flex-start; }
}

@media (max-width: 800px) {
  .split, .facts { grid-template-columns: 1fr; }
  .top { align-items: flex-start; flex-direction: column; }
  .top nav { flex-wrap: wrap; }
  .ticket { align-items: flex-start; flex-direction: column; }
  .sale { grid-template-columns: 1fr; }
  .cart { position: static; }
  .code { font-size: 1.8rem; word-break: break-all; }
  .desk .icon-row { gap: 0.35rem; }
  .desk .icon-row form { flex: 1 1 0; min-width: 48px; }
  .desk .icon-row a,
  .desk .icon-row button {
    flex: 1 1 0;
    min-width: 48px;
    min-height: 64px;
    padding: 0.25rem 0.1rem;
    font-size: 0.68rem;
    line-height: 1.1;
  }
  .desk .icon-row form button { width: 100%; }
  .desk .desk-top .icon-row { overflow-x: auto; }
  .desk .desk-top .icon-row a.round {
    flex: 0 0 56px;
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    height: 56px;
    min-height: 56px;
    aspect-ratio: auto;
    border-radius: 50%;
    padding: 0.1rem;
    font-size: 0.58rem;
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cust-top, .mode-grid { grid-template-columns: 1fr 1fr; }
  .sale-tabs button { flex-basis: calc(50% - 0.5rem); }
  .detail-table, .detail-table tbody, .detail-table tr, .detail-table th, .detail-table td { display: block; width: 100%; }
  .detail-table th { text-align: left; padding: 0.45rem 0 0; }
  .waiver-line { flex-wrap: wrap; }
  .month-grid a, .month-grid .pad { min-height: 48px; }
}

/* Preview gate: touch-friendly fields. */
.gate-field { display: block; font-size: 1.05rem; margin-bottom: 0.9rem; }
.gate-field input { display: block; width: 100%; min-height: 52px; font-size: 1.15rem; padding: 0.6rem 0.8rem; box-sizing: border-box; margin-top: 0.35rem; }
.card.narrow form button[type="submit"] { min-height: 52px; width: 100%; font-size: 1.15rem; }

/* Calendar measured against the live Kettering LilYPad reference. */
main.desk-main:has(.cal-reference) { width: min(1250px, calc(100% - 24px)); }
.cal-reference { background: #fff; color: #000; font: 13px/1.2 Arial,Helvetica,sans-serif; }
.cal-reference [hidden] { display: none !important; }
.cal-reference .cal-wrap { width: 100%; margin: 0 auto; font-family: Arial,Helvetica,sans-serif; }
.cal-reference .cal-top { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 32px; align-items: start; padding: 0 26px; }
.desk.cal-reference .cal-pick { width: 260px; margin: 0; padding: 10px 20px; background: #eee; border: 0; border-radius: 0; }
.cal-reference .cal-pick-title { display: block; text-align: center; margin: 0 0 4px; color: #000; font: 700 13px Arial; }
.desk.cal-reference .cal-pick input[type="date"] { width: 220px; min-height: 26px; height: 26px; margin: 0 0 10px; padding: 2px 4px; background: #fff; border: 1px solid #aaa; border-radius: 0; font: 13px Arial; }
.desk.cal-reference .cal-pick button { width: 224px; min-height: 50px; padding: 5px; background: #5c91c6; color: #fff; border: 3px solid #bad5e6; border-radius: 3px; box-shadow: inset 0 0 2px #fff,0 0 1px #aaa; font: 700 16px Arial; letter-spacing: 1px; }
.cal-reference .cal-side { position: relative; min-width: 0; }
.cal-reference .cal-times { margin: 0; }
.cal-reference .cal-times summary { display: inline; cursor: pointer; list-style: none; color: #000; text-decoration: underline; font: 700 13px Arial; }
.cal-reference .cal-times summary::-webkit-details-marker { display: none; }
.cal-reference .cal-times-title { margin: 4px 0 0; font: 700 12px Arial; }
.desk.cal-reference .cal-help { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; min-height: 0; margin-left: 4px; padding: 0; border: 1px solid #416d9b; border-radius: 50%; background: #7ba9d8; color: #fff; font: 700 11px Arial; vertical-align: middle; }
.cal-reference .cal-times ol { margin: 2px 0 0; padding-left: 30px; font: 700 12px/20px Arial; }
.cal-reference .cal-times li { display: list-item; padding: 0; white-space: nowrap; }
.cal-reference .cal-times li > span { display: inline-block; min-width: 174px; margin-left: 7px; }
.cal-reference .cal-x-form { display: inline; margin: 0; }
.desk.cal-reference .cal-x { min-height: 0; height: auto; padding: 0 1px; border: 0; background: transparent; color: #df8080; font: 700 12px Arial; text-decoration: underline; }
.cal-reference .cal-datebar { position: absolute; top: 48px; left: 176px; display: flex; gap: 20px; align-items: baseline; margin: 0; white-space: nowrap; color: #000; font: 700 22px/1.2 Arial; }
.cal-reference .cal-datebar a { margin: 0; color: #000; text-decoration: underline; }
.cal-reference .cal-datebar strong { margin: 0; }
.cal-reference .cal-side:has(details[open]) .cal-datebar { left: 230px; }
.cal-reference .cal-parties-label { margin: 18px 6px 16px; font: 700 14px Arial; }
.cal-reference .cal-table-scroll { width: 100%; overflow-x: auto; }
.desk.cal-reference .party-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 2px; background: #fff; font: 700 12px/1.15 Arial; }
 .desk.cal-reference .party-table .c-edit { width: 2.8%; }
.desk.cal-reference .party-table .c-sale { width: 4.5%; }
.desk.cal-reference .party-table .c-name { width: 7.5%; }
.desk.cal-reference .party-table .c-time { width: 5%; }
.desk.cal-reference .party-table .c-room { width: 10%; }
.desk.cal-reference .party-table .c-child { width: 9%; }
.desk.cal-reference .party-table .c-size { width: 5.5%; }
.desk.cal-reference .party-table .c-note { width: 9%; }
.desk.cal-reference .party-table .c-note + .c-note { width: 4.5%; }
.desk.cal-reference .party-table .c-sale-note { width: 12.2%; }
.desk.cal-reference .party-table .c-pid { width: 6.5%; }
.desk.cal-reference .party-table .c-stick, .desk.cal-reference .party-table .c-waiver { width: 6.5%; }
.desk.cal-reference .party-table .c-mail { width: 5.5%; }
.desk.cal-reference .party-table th, .desk.cal-reference .party-table td { padding: 5px; border: 0; text-align: center; vertical-align: middle; font: 700 12px/1.15 Arial; overflow-wrap: anywhere; color: #000; }
.desk.cal-reference .party-table th { overflow-wrap: normal; word-break: normal; height: 48px; background: #4890d0; color: #fff; font-size: 16px; }
.desk.cal-reference .party-table td { height: 66px; background: transparent; }
.desk.cal-reference .party-table .cal-payment-paid { background: #00ff00; }
.desk.cal-reference .party-table .cal-payment-deposit { background: #ffff00; }
.desk.cal-reference .party-table .cal-payment-unpaid { background: #ff6666; }
.desk.cal-reference .party-table a { display: inline; min-height: 0; color: #000; font: inherit; text-decoration: underline; }
.desk.cal-reference .party-table th a { color: #fff; font-size: 16px; }
.desk.cal-reference .party-table .pid span { display: block; }
.desk.cal-reference .stk-form { display: flex; flex-direction: column; align-items: center; gap: 1px; margin: 0; }
.desk.cal-reference .stk-form select { width: 52px; height: 18px; min-height: 18px; padding: 0; border: 1px solid #aaa; border-radius: 0; font: 12px Arial; background: #fff; }
.desk.cal-reference .stk-print { min-height: 18px; height: 18px; padding: 0 6px; border: 1px solid #aaa; border-radius: 2px; background: #eee; color: #000; font: 12px/1 Arial; }
.desk.cal-reference .party-table td.waiver-met { background: #9999ff; }
.cal-reference .waiver-mark { color: #000; font: 900 26px Arial; vertical-align: middle; text-decoration: none; }
.cal-reference .waiver-n { margin-left: 8px; color: #000; font: 700 12px Arial; text-decoration: underline; }
.desk.cal-reference td.mail form { margin: 0; }
.desk.cal-reference .mail-link { display: block; width: 100%; min-height: 26px; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: #000; font: 700 12px/1.1 Arial; text-decoration: underline; white-space: nowrap; }
.cal-reference .cal-under { display: grid; gap: 12px; margin: 0 6px 12px; }
.cal-reference .cal-under form { grid-row: 1; justify-self: end; margin: 0; }
.cal-reference .cal-print { grid-row: 2; }
.cal-reference .cal-print, .desk.cal-reference .cal-remind { display: inline; min-height: 0; height: auto; padding: 0; border: 0; background: transparent; color: #000; font: 700 13px Arial; text-decoration: underline; }
.desk.cal-reference .cal-month { width: calc(100% - 36px); max-width: 1200px; margin: 0 auto; border-collapse: collapse; table-layout: fixed; font: 700 12px Arial; }
.desk.cal-reference .cal-month th, .desk.cal-reference .cal-month td { padding: 5px; border: 1px solid #999; text-align: center; vertical-align: top; font: 700 12px/1.2 Arial; background: #fff; color: #000; }
.desk.cal-reference .cal-month .cal-title th, .desk.cal-reference .cal-month tfoot td { height: 30px; background: #5c91c6; color: #000; font-size: 16px; vertical-align: middle; padding: 4px; }
.desk.cal-reference .cal-month .cal-dow th { height: 24px; background: #f2f2f2; font-size: 12px; vertical-align: middle; padding: 3px; }
.desk.cal-reference .cal-month tbody td { height: 100px; }
.desk.cal-reference .cal-month a { display: inline; min-height: 0; color: #000; font: inherit; text-decoration: underline; }
.desk.cal-reference .cal-month .cal-count { display: block; margin-top: 14px; color: #000; font: 700 12px/1.2 Arial; text-decoration: none; }
.desk.cal-reference .cal-month .cal-count + .cal-count { margin-top: 0; }
.desk.cal-reference .cal-month td.is-on { background: #5c91c6; }
.desk.cal-reference .cal-month tfoot a, .desk.cal-reference .cal-month tfoot span { margin: 0 8px; }
.cal-reference .cal-elapsed { margin: 16px 6px 0; color: #000; font: 12px Arial; }
/* Match the other completed counter pages without changing their headers. */
.desk.cal-reference .desk-head { margin: 0; padding: 0 0 4px; border-bottom: 2px solid #9986ad; }
.desk.cal-reference .desk-top { min-height: 76px; grid-template-columns: 140px minmax(0,1fr) auto; }
.desk.cal-reference .desk-brand { min-height: 70px; justify-content: center; }
.desk.cal-reference .desk-brand img { height: 64px; max-width: 110px; object-fit: contain; }
.desk.cal-reference .desk-top .icon-row { gap: 8px; }
.desk.cal-reference .desk-top .icon-row a.round { flex: 0 0 58px; width: 58px; max-width: 58px; min-width: 58px; min-height: 68px; height: 68px; aspect-ratio: auto; background: transparent; color: #555; border-radius: 0; font: 11px/1.1 Arial; padding: 0; gap: 2px; }
.desk.cal-reference .icon-row a.round svg { width: 52px; height: 52px; padding: 11px; background: linear-gradient(135deg,#65c1de,#42a5d6); border-radius: 50%; stroke: #fff; }
.desk.cal-reference .desk-user { display: grid; grid-template-columns: auto 32px; gap: 0; text-align: right; font-size: 14px; }
.desk.cal-reference .desk-user .occupancy-link { grid-column: 1/-1; min-height: 22px; font-size: 14px; font-weight: 400; }
.desk.cal-reference .desk-user form:last-child { grid-column: 1/-1; }
.desk.cal-reference .desk-user form:has(.logout-x) { grid-column: 2; }
.desk.cal-reference .desk-user .logout-x { min-width: 30px; min-height: 30px; width: 30px; height: 30px; padding: 0; font-size: 24px; }
.desk.cal-reference .desk-user .switch-user { min-height: 22px; padding: 0; font-size: 14px; }
@media (max-width:1100px) {
  .cal-reference .cal-top { grid-template-columns: 260px minmax(0,1fr); padding: 0; gap: 20px; }
  .cal-reference .cal-datebar { left: 0; gap: 12px; font-size: 18px; }
  .cal-reference .cal-side:has(details[open]) .cal-datebar { position: static; margin-top: 12px; white-space: normal; flex-wrap: wrap; }
  .desk.cal-reference .desk-top { grid-template-columns: 90px minmax(0,1fr) auto; }
  .desk.cal-reference .desk-top .icon-row { gap: 2px; }
  .desk.cal-reference .desk-top .icon-row a.round { flex-basis: 48px; width: 48px; min-width: 48px; max-width: 48px; }
}
@media (max-width:800px) {
  .cal-reference .cal-top { grid-template-columns: 1fr; gap: 14px; }
  .cal-reference .cal-side { min-height: 72px; }
  .cal-reference .cal-datebar { position: static; margin-top: 12px; white-space: normal; flex-wrap: wrap; font-size: 18px; }
  .desk.cal-reference .party-table { min-width: 1200px; }
  .desk.cal-reference .cal-month { width: 100%; }
  .desk.cal-reference .cal-month th, .desk.cal-reference .cal-month td { font-size: 11px; padding: 3px 1px; }
  .desk.cal-reference .cal-month .cal-dow th { font-size: 10px; overflow-wrap: anywhere; }
  .desk.cal-reference .cal-month tbody td { height: 80px; }
  .desk.cal-reference .desk-top { grid-template-columns: 64px minmax(0,1fr); }
  .desk.cal-reference .desk-user { grid-column: 1/-1; justify-self: end; }
  .desk.cal-reference .desk-brand img { height: 48px; max-width: 60px; }
  .desk.cal-reference .desk-top .icon-row { overflow-x: auto; }
}

/* LilYPad Sale reference. Keep every rule scoped to the Sale screen. */
main.desk-main:has(.sale-page) { width: min(1244px, calc(100% - 24px)); }
.sale-page { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); column-gap: 8px; font-family: Arial, sans-serif; font-size: 13px; line-height: 1.2; color: #000; }
.sale-page > .desk-head { grid-column: 1 / -1; margin-bottom: 14px; border-color: #9986ad; }
.sale-page .desk-top { min-height: 76px; }
.sale-page .desk-brand { width: 142px; justify-content: center; }
.sale-page .desk-brand img { height: 70px; max-width: 115px; object-fit: contain; }
.sale-page .icon-row { gap: 8px; }
.desk.sale-page .desk-top .icon-row a.round { flex: 0 0 58px; width: 58px; min-width: 58px; height: 68px; border-radius: 0; background: transparent; color: #555; font-size: 11px; font-weight: 400; padding: 0; gap: 2px; }
.sale-page .icon-row a.round svg { width: 52px; height: 52px; padding: 11px; border-radius: 50%; background: linear-gradient(135deg, #65c1de, #42a5d6); stroke: white; }
.desk.sale-page .desk-top .icon-row a.round.is-on { box-shadow: none; }
.sale-page .desk-user { font-size: 14px; }
.sale-page > .sale-id { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.sale-page > .sale-tabs { grid-column: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-self: start; gap: 6px; margin: 0 4px; }
.sale-page .sale-tabs button, .sale-page .sale-history .button, .sale-page .sale-history button, .sale-page .cart-actions > a, .sale-page .cart-actions button { min-height: 50px; background: #5c91c6; color: #fff; border: 3px solid #bad5e6; border-radius: 3px; box-shadow: inset 0 0 2px #fff, 0 0 1px #aaa; font-family: Arial, sans-serif; font-weight: 700; letter-spacing: 0; padding: 6px; }
.sale-page .sale-tabs button { font-size: 18px; }
.sale-page .sale-tabs button.is-on { filter: none; }
.sale-page .sale-tabs button:focus-visible, .sale-page .product-grid button:focus-visible, .sale-page .sale-history a:focus-visible { outline: 3px solid #222; outline-offset: 2px; }
.sale-page > .sale-history { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin: 0 4px 12px 24px; }
.sale-page .sale-history .button, .sale-page .sale-history button { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-size: 13px; width: 100%; }
.sale-page .sale-history form, .sale-page .sale-history > button:last-child { grid-column: 2; margin: 0; }
.sale-page .sale-history button:disabled { opacity: .65; cursor: default; }
.sale-page > .alert { grid-column: 1 / -1; }
.sale-page > .sale { grid-column: 1 / -1; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 4px; }
.sale-page .sale-board { padding: 3px 4px 10px; background: #e3e3e3; border: 3px ridge #e7e7e7; border-radius: 0; min-height: calc(100vh - 214px); }
.sale-page .tile-heading { margin: 0 0 4px; padding: 0; font-family: Arial, sans-serif; font-size: 13px; line-height: 16px; }
.sale-page .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 6px; margin-bottom: 4px; }
.sale-page .product-grid button.swatch { min-height: 50px; font-size: 12px; line-height: 13px; padding: 5px; border: 3px solid color-mix(in srgb, var(--tile-color) 45%, white); border-radius: 3px; background: var(--tile-color, #5c91c6); box-shadow: inset 0 0 2px #eee, 0 0 1px #aaa; }
.sale-page .product-grid button strong { display: none; }
.sale-page .product-grid .swatch.jump { --tile-color: #52963e; }
.sale-page .product-grid .swatch.toddler, .sale-page .product-grid .swatch.extra { --tile-color: #999c45; }
.sale-page .product-grid .swatch.group, .sale-page .product-grid .swatch.extra-time { --tile-color: #8f3b37; }
.sale-page .product-grid .swatch.special, .sale-page .product-grid .swatch.tip, .sale-page .product-grid .swatch.party { --tile-color: #603591; }
.sale-page .product-grid .swatch.food { --tile-color: #df542b; }
.sale-page .product-grid .swatch.retail, .sale-page .product-grid .swatch.socks, .sale-page .product-grid .swatch.party-weekend, .sale-page .product-grid .swatch.misc { --tile-color: #2458a0; }
.sale-page .product-grid .swatch.gift, .sale-page .product-grid .swatch.party-weekday, .sale-page .product-grid .swatch.party-jump, .sale-page .product-grid .swatch.online { --tile-color: #52963e; }
.sale-page .product-grid .swatch.pizza, .sale-page .product-grid .swatch.locker { --tile-color: #222; }
.sale-page .cart { position: static; min-height: calc(100vh - 214px); background: #e3e3e3; border: 3px ridge #e7e7e7; border-radius: 0; padding: 0 3px 12px; }
.sale-page .customer-line { justify-content: flex-start; align-items: center; gap: 3px; min-height: 22px; margin: 0; border-bottom: 1px solid #aaa; font-size: 13px; }
.sale-page .customer-who { justify-content: flex-start; font-weight: 400; }
.sale-page .customer-who strong { font-weight: 400; text-align: left; }
.sale-page .customer-none { color: #000; }
.sale-page .cart-actions { gap: 10px 24px; margin: 8px 5px 12px; }
.sale-page .cart-actions > a, .sale-page .cart-actions button { font-size: 13px; }
.sale-page .cart ul { padding: 0 4px; margin: 0; border-top: 1px solid #aaa; border-bottom: 1px solid #fff; min-height: 32px; }
.sale-page .cart li { border-bottom: 1px solid #aaa; font-size: 13px; }
.sale-page .cart-totals { margin: 0; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; }
.sale-page .cart-totals th, .sale-page .cart-totals td { background: transparent; border: 0; padding: 2px; font-size: 13px; line-height: 16px; }
.sale-page .cart-totals tr:first-child > * { padding-top: 10px; }
.sale-page .cart-totals tr:last-child > * { padding-bottom: 16px; }
.sale-page .cart-totals th { text-align: right; }
.sale-page .cart-totals td { width: 70px; }
.sale-page .notes-line { align-items: flex-start; min-height: 66px; padding: 14px 4px; border-bottom: 1px solid #aaa; font-size: 13px; font-weight: 700; }
.sale-page .notes-line .text-link { min-height: 32px; margin-top: 12px; color: #573676; font-size: 13px; font-weight: 400; text-decoration: none; }
.sale-page .cart:has([data-cart-empty]:not([hidden])) > .empty,
.sale-page .cart:has([data-cart-empty]:not([hidden])) > .pay-block,
.sale-page .cart:has([data-cart-empty]:not([hidden])) > .sale-amount,
.sale-page .cart:has([data-cart-empty]:not([hidden])) > .cart-actions { display: none; }
.sale-page .cart:has([data-cart-empty]:not([hidden])) > .customer-line + .cart-actions { display: grid; }
@media (max-width: 1000px) {
  .sale-page .desk-brand { width: 90px; }
  .sale-page .icon-row { gap: 3px; }
  .desk.sale-page .desk-top .icon-row a.round { flex-basis: 48px; min-width: 48px; width: 48px; }
  .sale-page .icon-row a.round svg { width: 44px; height: 44px; }
  .sale-page .sale-tabs button { font-size: 14px; }
}
@media (max-width: 760px) {
  .sale-page { display: block; }
  .sale-page > .sale-history { margin: 8px 4px 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sale-page .sale-history form, .sale-page .sale-history > button:last-child { grid-column: auto; }
  .sale-page > .sale { grid-template-columns: 1fr; }
  .sale-page .sale-board, .sale-page .cart { min-height: auto; }
  .sale-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sale-page .sale-tabs button { font-size: 12px; padding: 4px; }
  .sale-page .desk-brand { width: 60px; }
  .sale-page .desk-brand img { height: 48px; max-width: 60px; }
  .sale-page .desk-top { grid-template-columns: auto minmax(0, 1fr); }
  .sale-page .desk-user { grid-column: 1 / -1; justify-content: flex-end; }
}

.sale-page .product-grid[data-heading="Snacks"] .swatch { --tile-color: #52989a; }
.sale-page .product-grid[data-heading="Icee"] .swatch { --tile-color: #8c3694; }
.sale-page .product-grid[data-heading="Ice Cream"] .swatch { --tile-color: #52963e; }
.sale-page .product-grid[data-heading="Cold Drinks"] .swatch { --tile-color: #416fa6; }

.sale-page [hidden] { display: none !important; }
.desk.sale-page .desk-top .icon-row a.round { max-width: 58px; aspect-ratio: auto; }
.sale-page .desk-user { display: grid; grid-template-columns: auto 32px; gap: 0; text-align: right; }
.sale-page .desk-user .occupancy-link { grid-column: 1 / -1; min-height: 22px; font-weight: 400; font-size: 14px; }
.sale-page .desk-user form:last-child { grid-column: 1 / -1; }
.sale-page .desk-user form:has(.logout-x) { grid-column: 2; }
.sale-page .desk-user .logout-x { min-height: 30px; min-width: 30px; width: 30px; height: 30px; font-size: 24px; padding: 0; }
.sale-page .desk-user .switch-user { min-height: 22px; padding: 0; font-size: 14px; }

/* Tracker, Customers and Search: LilYPad counter presentation only. */
main.desk-main:has(.lily-page) { width: min(1250px, calc(100% - 24px)); padding-top: 0; }
.desk.lily-page { font: 13px/1.25 Arial, Helvetica, sans-serif; color: #000; }
.lily-page [hidden] { display: none !important; }
.lily-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.desk.lily-page .desk-head { padding: 0 0 4px; margin: 0 0 12px; border-bottom: 2px solid #9986ad; }
.desk.lily-page .desk-top { min-height: 76px; grid-template-columns: 140px minmax(0,1fr) auto; }
.desk.lily-page .desk-brand { min-height: 70px; justify-content: center; }
.desk.lily-page .desk-brand img { height: 64px; max-width: 110px; object-fit: contain; }
.desk.lily-page .icon-row { gap: 8px; padding: 0; }
.desk.lily-page .desk-top .icon-row a.round { flex: 0 0 58px; width: 58px; min-width: 58px; max-width: 58px; min-height: 68px; height: 68px; aspect-ratio: auto; background: transparent; color: #555; border-radius: 0; font: 11px/1.1 Arial,sans-serif; padding: 0; gap: 2px; }
.desk.lily-page .icon-row a.round svg { width: 52px; height: 52px; padding: 11px; background: linear-gradient(135deg,#65c1de,#42a5d6); stroke: white; border-radius: 50%; }
.desk.lily-page .desk-user { display: grid; grid-template-columns: auto 32px; gap: 0; text-align: right; font-size: 14px; }
.desk.lily-page .desk-user .occupancy-link { grid-column: 1/-1; min-height: 22px; font-size: 14px; font-weight: 400; }
.desk.lily-page .desk-user form:last-child { grid-column: 1/-1; }
.desk.lily-page .desk-user form:has(.logout-x) { grid-column: 2; }
.desk.lily-page .desk-user .logout-x { min-width: 30px; min-height: 30px; width: 30px; height: 30px; font-size: 24px; padding: 0; }
.desk.lily-page .desk-user .switch-user { min-height: 22px; padding: 0; font-size: 14px; }
.desk.lily-page .card { position: relative; padding: 0; background: #fff; border: 0; border-radius: 0; box-shadow: none; max-width: 100%; overflow-x: auto; }
.desk.lily-page h1 { font: 700 22px/1.2 Arial,sans-serif; margin: 0 6px 12px; padding-right: 58px; }
.desk.lily-page h2 { font: 700 16px/1.2 Arial,sans-serif; }
.desk.lily-page .panel { background: #eee; border: 0; border-radius: 0; box-shadow: none; }
.desk.lily-page .card button, .desk.lily-page a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 5px 12px; background: #5c91c6; color: #fff; border: 3px solid #bad5e6; border-radius: 3px; box-shadow: inset 0 0 2px #fff,0 0 1px #aaa; font: 700 16px/1.2 Arial,sans-serif; letter-spacing: 1px; text-decoration: none; }
.desk.lily-page input, .desk.lily-page select, .desk.lily-page textarea { min-height: 26px; height: 26px; border: 1px solid #aaa; border-radius: 0; background: #fff; padding: 2px 4px; font: 13px/1.2 Arial,sans-serif; color: #000; }
.desk.lily-page input { width: 220px; max-width: 100%; }
.desk.lily-page select { width: auto; }
.desk.lily-page label { font: 700 13px/1.2 Arial,sans-serif; color: #426c98; margin: 0; gap: 5px; }
.desk.lily-page label.check { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 6px; min-height: 26px; margin: 0; }
.desk.lily-page label.check input { width: 13px; min-width: 13px; height: 13px; min-height: 13px; flex: 0 0 13px; }
.desk.lily-page .lily-panel { border: 12px solid #efefef; background: #e1e1e1; padding: 12px 20px 22px; }
.desk.lily-page .lily-panel h2 { color: #426c98; font: 700 13px/1.2 Arial,sans-serif; margin: 0 0 4px; }
.desk.lily-page .lily-panel > button { display: flex; width: 224px; max-width: 100%; margin: 14px auto 0; }
.desk.lily-page .lily-help { position: absolute; top: 0; right: 48px; width: 50px; height: 50px; border: 2px solid #c98d32; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#ffdc7f,#e49b25 75%); color: #fff; font: 700 38px/46px Arial; text-shadow: 1px 1px #a06b21; text-align: center; text-decoration: none; }
.desk.lily-page table { width: 100%; border-collapse: collapse; font: 700 12px/1.2 Arial,sans-serif; }
.desk.lily-page table th, .desk.lily-page table td { padding: 6px 5px; border: 2px solid #fff; font: 700 12px/1.2 Arial,sans-serif; vertical-align: middle; overflow-wrap: anywhere; }
.desk.lily-page table thead th { background: #5c91c6; color: #fff; font-size: 16px; padding: 6px 5px; }
.desk.lily-page table tbody tr { background: #e1e1e1; }
.desk.lily-page table tbody tr:nth-child(even) { background: #ccc; }
.desk.lily-page table a { display: inline; min-height: 0; font: inherit; color: #000; text-decoration: underline; }
.desk.lily-page table form { margin: 0; }
.desk.lily-page button.lily-inline { display: inline; min-height: 0; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #000; text-decoration: underline; font: 700 12px/1.2 Arial; letter-spacing: 0; }
.desk.lily-page .lily-stickers { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.desk.lily-page .lily-stickers select { min-height: 18px; height: 18px; width: 52px; font-size: 12px; padding: 0; }
.desk.lily-page button.lily-print { min-height: 18px; height: 18px; background: #eee; border: 1px solid #999; border-radius: 2px; box-shadow: none; padding: 0 6px; color: #000; font: 12px Arial; letter-spacing: 0; }
/* Tracker retains the current-slot highlight, refresh and detail links. */
.desk.tracker-screen .tracker-tools { display: grid; grid-template-columns: 100px minmax(360px,510px) minmax(224px,1fr) 280px; align-items: center; gap: 20px; }
.desk.tracker-screen .tracker-tools h1 { margin: 0; padding: 0; }
.desk.tracker-screen .tracker-date { display: grid; grid-template-columns: minmax(0,1fr) 224px; align-items: center; gap: 6px 20px; padding: 12px 20px; }
.desk.tracker-screen .tracker-date .hint { display: block; grid-column: 1/-1; font: 700 12px Arial; color: #000; }
.desk.tracker-screen .tracker-date input { width: 190px; }
.desk.tracker-screen .tracker-links { display: flex; flex-direction: column; gap: 5px; margin: 0; align-items: center; }
.desk.tracker-screen .tracker-links a { width: 224px; max-width: 100%; }
.desk.tracker-screen .tracker-buffer { text-align: center; padding: 10px 20px 16px; }
.desk.tracker-screen .tracker-buffer label { color: #000; display: flex; flex-direction: row; justify-content: center; }
.desk.tracker-screen .tracker-buffer select { width: 65px; }
.desk.tracker-screen .tracker-buffer button { width: 224px; margin-top: 6px; }
.desk.tracker-screen .tracker-page .date-bar { margin: 14px 0 5px; gap: 14px; font: 700 18px Arial; }
.desk.tracker-screen .date-bar a { display: inline; min-height: 0; font-weight: 400; text-decoration: underline; }
.desk.tracker-screen .date-red { color: #d83d31; }
.desk.tracker-screen .tracker-search-row { display: flex; align-items: center; gap: 40px; margin-bottom: 26px; }
.desk.tracker-screen .tracker-search { width: 527px; max-width: 100%; padding: 10px 8px 20px; }
.desk.tracker-screen .tracker-search > p { display: block; margin: 0 0 6px; font-weight: 700; }
.desk.tracker-screen .tracker-search label { display: block; color: #000; font-size: 12px; margin-bottom: 6px; }
.desk.tracker-screen .tracker-search-controls { display: flex; gap: 20px; align-items: center; padding: 0 6px; }
.desk.tracker-screen .tracker-search-controls input { height: 46px; min-height: 46px; flex: 1; min-width: 0; }
.desk.tracker-screen .tracker-search-controls button { width: 224px; }
.desk.tracker-screen .tracker-jump a { width: 224px; font-size: 22px; }
.desk.tracker-screen .tracker-grid { display: block; background: #e3e3e3; border: 3px ridge #e7e7e7; padding: 6px; }
.desk.tracker-screen .tracker-grid h2 { margin: 0 0 4px; font: 700 16px/1.2 Arial; }
.desk.tracker-screen .tracker-row { display: flex; justify-content: flex-start; gap: 8px; border: 0; min-height: 40px; flex-wrap: nowrap; }
.desk.tracker-screen .tracker-row > a { display: inline; min-height: 0; font: 700 13px/1.2 Arial; text-decoration: none; color: #000; }
.desk.tracker-screen .tracker-row.has-bookings > a { text-decoration: underline; }
.desk.tracker-screen .tracker-row form { display: inline-flex; gap: 6px; margin: 0; }
.desk.tracker-screen .tracker-row form button { width: auto; min-width: 12px; height: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #000; box-shadow: none; font: 700 14px Arial; letter-spacing: 0; }
.desk.tracker-screen .tracker-row.is-now { background: #e53935; color: #fff; }
.desk.tracker-screen .tracker-row.is-now > a, .desk.tracker-screen .tracker-row.is-now form button { color: #fff; background: transparent; }
.desk.tracker-screen .tracker-row.is-on { outline: 1px solid #777; }
.desk.tracker-screen .tracker-total { font-weight: 700; margin: 8px 0; }
/* Customers */
.desk.customers-screen .cust-top { display: grid; grid-template-columns: 240px 340px minmax(0,1fr); align-items: start; gap: 48px; margin-bottom: 10px; }
.desk.customers-screen .stack-buttons { display: flex; flex-direction: column; gap: 16px; margin: 8px 0; align-items: center; }
.desk.customers-screen .stack-buttons a { width: 224px; }
.desk.customers-screen .cust-top .lily-panel { text-align: center; min-width: 0; }
.desk.customers-screen .cust-top .lily-panel:last-child { justify-self: end; width: 340px; max-width: 100%; margin-right: 125px; }
.desk.customers-screen .pager { margin: 0; font: 700 20px/1.2 Arial; }
.desk.customers-screen .card > p:not(.pager) { margin: 0; }
.desk.customers-screen table td:first-child { width: 26px; }
.desk.customers-screen table td:nth-child(2) { width: 104px; white-space: nowrap; }
.desk.customers-screen table th:nth-child(3) { width: 130px; }
.desk.customers-screen table th:last-child { width: 150px; }
/* Search landing screen, results, and existing report filters. */
.desk.search-screen .mode-grid { display: grid; grid-template-columns: repeat(4,224px); gap: 5px; padding: 0 6px 20px; border-bottom: 1px solid #888; margin-bottom: 28px; }
.desk.search-screen .search-prompt { text-align: center; font: 700 18px/1.25 Arial; margin: 0 0 16px; padding: 0 16px; }
.desk.search-screen .search-keyboard { display: flex; flex-direction: column; align-items: center; width: 878px; max-width: 100%; margin: 0 auto; border: 2px solid #d2d2d2; padding: 20px; background: #eee; gap: 18px; }
.desk.search-screen .keyboard { width: 100%; margin: 10px 0 0; overflow: visible; gap: 4px; }
.desk.search-screen .keyboard-row { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 6px; }
.desk.search-screen .keyboard-row:last-child { display: flex; justify-content: center; margin-top: 4px; }
.desk.search-screen .keyboard button { min-width: 0; width: 100%; padding: 3px; font: 700 18px Arial; letter-spacing: 0; }
.desk.search-screen .keyboard-row:last-child button { width: 70px; }
.desk.search-screen .search-keyboard > input[name="q"] { width: 400px; height: 80px; font-size: 28px; }
.desk.search-screen .search-keyboard > button { width: 224px; }
.desk.search-screen .lily-back { margin: 22px 0 18px; }
.desk.search-screen .lily-back a { width: 224px; }
.desk.search-screen .search-instructions { border-top: 1px solid #888; font-weight: 700; }
.desk.search-screen .search-instructions p { margin: 10px 0 16px; }
.desk.search-screen .search-refine { width: 540px; max-width: calc(100% - 40px); margin: 44px 26px 36px; text-align: center; }
.desk.search-screen .search-refine label { display: flex; justify-content: center; align-items: center; flex-direction: row; }
.desk.search-screen .search-matching { margin: 0 0 6px; padding-top: 10px; border-top: 1px solid #000; font-weight: 700; }
.desk.search-screen .card > h2:not(.search-prompt) { display: none; }
.desk.search-screen .card > .panel:not(.search-refine) { display: flex; flex-direction: column; gap: 8px; max-width: 540px; padding: 20px; margin: 22px 20px; border: 12px solid #efefef; background: #e1e1e1; }
.desk.search-screen .card > .panel:not(.search-refine) label { display: grid; grid-template-columns: 160px 220px; align-items: center; }
.desk.search-screen .card > .panel:not(.search-refine) > button { width: 224px; margin: 8px auto 0; }
.desk.search-screen .lily-more { margin: 20px 0 0; font-size: 12px; }
.desk.search-screen .lily-more a { display: inline-block; margin: 10px 20px 0 0; }
@media (max-width:1100px) {
  .desk.lily-page .desk-top { grid-template-columns: 90px minmax(0,1fr) auto; }
  .desk.lily-page .icon-row { gap: 2px; }
  .desk.lily-page .desk-top .icon-row a.round { flex-basis: 48px; width: 48px; min-width: 48px; max-width: 48px; }
  .desk.tracker-screen .tracker-tools { grid-template-columns: 80px minmax(270px,1fr) 190px 210px; gap: 10px; }
  .desk.tracker-screen .tracker-date { grid-template-columns: 1fr; gap: 6px; }
  .desk.tracker-screen .tracker-buffer { padding: 10px; }
  .desk.customers-screen .cust-top { grid-template-columns: 224px 1fr 1fr; gap: 20px; }
  .desk.customers-screen .cust-top .lily-panel:last-child { margin-right: 0; }
}
@media (max-width:800px) {
  .desk.lily-page .desk-top { grid-template-columns: 64px minmax(0,1fr); }
  .desk.lily-page .desk-user { grid-column: 1/-1; justify-self: end; }
  .desk.lily-page .desk-brand img { max-width: 60px; height: 48px; }
  .desk.lily-page h1 { font-size: 20px; }
  .desk.lily-page .lily-help { right: 4px; width: 40px; height: 40px; font-size: 30px; line-height: 36px; }
  .desk.tracker-screen .tracker-tools { grid-template-columns: 1fr 1fr; }
  .desk.tracker-screen .tracker-tools h1 { grid-column: 1/-1; }
  .desk.tracker-screen .tracker-date { grid-column: 1/-1; grid-template-columns: minmax(0,1fr) minmax(120px,1fr); }
  .desk.tracker-screen .tracker-links a, .desk.tracker-screen .tracker-buffer button { width: 100%; }
  .desk.tracker-screen .tracker-buffer { min-width: 0; }
  .desk.tracker-screen .tracker-search-row { display: block; }
  .desk.tracker-screen .tracker-search-controls { gap: 8px; }
  .desk.tracker-screen .tracker-search-controls button { width: 45%; }
  .desk.tracker-screen .tracker-jump { margin-top: 12px; }
  .desk.tracker-screen .date-bar { flex-wrap: wrap; }
  .desk.customers-screen .cust-top { grid-template-columns: 1fr; gap: 12px; }
  .desk.customers-screen .cust-top .lily-panel:last-child { width: 100%; }
  .desk.customers-screen .stack-buttons { flex-direction: row; gap: 8px; }
  .desk.customers-screen .stack-buttons a { width: 50%; font-size: 14px; }
  .desk.customers-screen table, .desk.search-screen table { min-width: 1000px; }
  .desk.search-screen .mode-grid { grid-template-columns: 1fr 1fr; padding-right: 52px; }
  .desk.search-screen .mode-grid a { font-size: 13px; letter-spacing: 0; padding: 4px; }
  .desk.search-screen .search-prompt { font-size: 16px; }
  .desk.search-screen .search-keyboard { padding: 10px 6px; }
  .desk.search-screen .keyboard-row { gap: 3px; }
  .desk.search-screen .keyboard button { font-size: 14px; min-height: 42px; }
  .desk.search-screen .search-keyboard > input[name="q"] { max-width: 100%; }
  .desk.search-screen .search-refine { max-width: 100%; width: 100%; margin: 20px 0; }
  .desk.search-screen .card > .panel:not(.search-refine) { margin: 20px 0; }
  .desk.search-screen .card > .panel:not(.search-refine) label { grid-template-columns: 1fr; }
}

.desk.search-screen .keyboard-row:last-child button { flex: 0 0 70px; }
.desk.tracker-screen .tracker-page .tracker-tools button,
.desk.tracker-screen .tracker-page .tracker-links .button,
.desk.tracker-screen .tracker-page .tracker-jump .button { min-height: 50px; padding: 5px 12px; font-size: 16px; }
.desk.tracker-screen .tracker-page .tracker-jump .button { font-size: 22px; }

.desk.cal-reference .party-table td:first-child, .desk.cal-reference .party-table .pid span:nth-child(2) { white-space: nowrap; }

/* Staff operations: LilYPad menu proportions and native form controls. */
.ops-page .ops-main { max-width:1250px; margin:12px auto 40px; font:13px Arial,sans-serif; color:#111; }
.ops-heading { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #111; padding:0 7px 22px; margin-bottom:26px; }
.ops-heading h1 { font:bold 23px Arial,sans-serif; margin:8px 0; }
.ops-heading>a { display:grid; place-items:center; border-radius:50%; background:#e7a83a; color:white; text-decoration:none; width:48px; height:48px; font:bold 38px Arial,sans-serif; }
.ops-menu { display:grid; grid-template-columns:repeat(4,224px); gap:22px 24px; padding:0 7px 55px; border-bottom:1px solid #111; }
.desk.ops-page .ops-menu a.button,.desk.ops-page .ops-main button,.desk.ops-page .ops-main .button { border:4px ridge #b5d6e4; border-radius:3px; color:#fff; background:#608fc2; font:bold 16px Arial,sans-serif; letter-spacing:1px; padding:10px 7px; text-align:center; text-decoration:none; box-shadow:none; }
.desk.ops-page .ops-menu a.button { display:flex; align-items:center; justify-content:center; height:50px; padding:4px; }
.ops-main h2 { font-size:17px; margin:22px 0 12px; }
.ops-form { background:#eee; border:1px solid #ccc; padding:18px; margin:16px 0; display:flex; flex-wrap:wrap; gap:16px; align-items:end; }
.ops-form label { display:flex; flex-direction:column; gap:6px; font-weight:bold; min-width:190px; }
.ops-form input,.ops-form select,.ops-form textarea { border:1px solid #aaa; border-radius:0; background:#fff; color:#111; font:14px Arial,sans-serif; padding:5px; min-height:30px; max-width:100%; }
.ops-form textarea { min-width:280px; min-height:90px; }
.ops-form fieldset { border:1px solid #ccc; display:flex; gap:14px; flex-wrap:wrap; }
.ops-form fieldset label { min-width:125px; }
.ops-scroll { max-width:100%; overflow:auto; }
.ops-table { width:100%; border-spacing:2px; border-collapse:separate; font:13px Arial,sans-serif; }
.ops-table th { background:#608fc2; color:white; padding:10px 7px; font-weight:bold; text-align:left; }
.ops-table td { border:0; padding:8px 7px; vertical-align:top; }
.ops-table tbody tr:nth-child(odd) { background:#eee; }
.ops-table tbody tr:nth-child(even) { background:#fff; }
.ops-table a { color:#111; text-decoration:underline; }
.ops-table .ops-form { margin:0; padding:0; border:0; background:transparent; }
.ops-time-banner { background:#eee; padding:12px 20px; margin-bottom:24px; }
.ops-columns { display:grid; grid-template-columns:1fr 1fr; gap:50px; max-width:1000px; }
.ops-columns .ops-form { flex-direction:column; align-items:stretch; }
.ops-status { padding:9px; color:#a00000; font-weight:bold; }
.ops-status.is-in { color:#007600; }
.ops-status p { font-weight:normal; }
.ops-articles details { border-bottom:1px solid #ccc; padding:18px 8px; max-width:950px; }
.ops-articles summary { cursor:pointer; font-size:17px; font-weight:bold; }
.ops-articles p { line-height:1.7; }
.ops-labels { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ops-labels address { padding:18px; min-height:95px; font-style:normal; border:1px dashed #aaa; }
.ops-notice { background:#e7f5df; padding:15px; border:1px solid #7d9e67; }
.ops-back { display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
@media(max-width:1000px) { .ops-menu { grid-template-columns:repeat(3,minmax(0,224px)); } }
@media(max-width:700px) { .ops-main { padding:0 12px; } .ops-menu { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } .ops-columns { grid-template-columns:1fr; gap:15px; } .ops-form { flex-direction:column; align-items:stretch; } .ops-form label,.ops-form textarea { min-width:0; width:100%; } .ops-heading h1 { font-size:21px; } .ops-table { min-width:650px; } .ops-labels { grid-template-columns:1fr; } }
@media print { .ops-page .desk-head,.ops-heading,.ops-back,.ops-form,.ops-page .button { display:none!important; } .ops-labels { grid-template-columns:repeat(3,1fr); } .ops-labels address { break-inside:avoid; } .ops-scroll { overflow:visible; } }

/* Customer LilYPad reference: orange frame, booking steps and native controls. */
body.guest-page { color:#111; background:#fff; font-family:Arial,Helvetica,sans-serif; }
.guest-page .guest-main { width:min(875px,calc(100% - 16px)); margin:8px auto 28px; padding:24px 28px 8px; border:2px solid #e88b38; border-radius:16px; box-shadow:5px 6px 6px #999; min-height:465px; font:26px/1.25 Arial,Helvetica,sans-serif; }
.guest-page .guest-party { width:calc(100% - 16px); max-width:1500px; font-size:16px; padding:18px 24px 8px; }
.guest-page .guest-waiver { width:min(900px,calc(100% - 16px)); min-height:550px; }
.guest-page h1 { text-align:center; font:bold 27px/1.25 Arial,sans-serif; margin:22px 0 28px; }
.guest-page h2 { font:700 21px/1.3 Arial,sans-serif; }
.guest-page input,.guest-page select,.guest-page textarea { background:white; color:#111; border:1px solid #aaa; border-radius:2px; box-shadow:none; padding:3px; font:20px Arial,sans-serif; max-width:100%; }
.guest-page input[type=radio],.guest-page input[type=checkbox] { width:16px; min-height:16px; height:16px; accent-color:#4a90d9; }
.guest-page input[type=date] { width:260px; min-height:34px; }
.guest-page button,.guest-page a.button { color:white; background:#ef8126; border:2px solid #aaa; border-radius:9px; box-shadow:none; font:24px Arial,sans-serif; padding:17px 32px; min-height:66px; cursor:pointer; }
.guest-page button:hover,.guest-page a.button:hover { background:#de701a; }
.guest-page .card { border:0; padding:16px 0; box-shadow:none; background:white; border-radius:0; }
.guest-page .guest-steps { display:flex; justify-content:center; gap:26px; list-style:none; margin:0 0 32px; padding:0; font:bold 27px Arial,sans-serif; color:#ccc; }
.guest-page .guest-steps li { border:0; padding:0; flex:none; background:none; border-radius:0; }
.guest-page .guest-steps .on { color:#111; background:none; }
.guest-page .guest-steps .done { color:#888; }
.guest-party .guest-steps { font-size:19px; color:#666; margin:0 0 28px; }
.guest-party .guest-steps .on { color:#df893e; }
.guest-date-form { display:flex; flex-direction:column; align-items:center; gap:22px; }
.guest-date-form label { display:flex; align-items:center; gap:20px; font-weight:bold; }
.guest-footer { text-align:center; margin:98px 0 0; }
.guest-footer .guest-restart { color:#df893e; font:bold 27px Arial,sans-serif; text-decoration:none; }
.guest-footer p,.guest-powered { font:11px Arial,sans-serif; margin:28px 0 3px; text-align:center; }
.guest-instruction { text-align:center; font-size:20px; margin:32px 0 16px; }
.guest-products { border-top:1px solid #bbb; }
.guest-product { margin:16px 0; }
.guest-product summary { color:#df893e; cursor:pointer; list-style:none; font-weight:bold; padding:8px; }
.guest-product summary::-webkit-details-marker { display:none; }
.guest-product summary span { float:right; }
.guest-product form { padding:12px 25px 20px; }
.guest-time-list { max-height:440px; overflow:auto; }
.guest-slot { display:flex; align-items:center; justify-content:space-between; gap:20px; font-size:21px; padding:8px 0; }
.guest-quantity { display:flex; gap:20px; justify-content:center; margin:24px 0; }
.guest-product button { display:block; margin:16px auto 0; }
.guest-booking-summary { font-size:20px; text-align:center; }
.guest-tickets>form:not(.guest-date-form) { display:flex; flex-direction:column; gap:22px; max-width:650px; margin:auto; }
.guest-tickets>form>label { display:flex; justify-content:space-between; gap:20px; }
.guest-page .split { grid-template-columns:1fr; }
.guest-page .split form { display:flex; flex-direction:column; gap:16px; font-size:20px; }
.guest-page .split form label { display:flex; flex-direction:column; gap:6px; }
.guest-page .ticket-stub { border:1px solid #ddd; font:17px/1.5 Arial,sans-serif; background:#fafafa; }
.guest-page .ticket-stub li,.guest-page .ticket-stub p { display:flex; justify-content:space-between; gap:20px; }
.guest-party .guest-allergen { text-align:center; color:#666; font-weight:bold; margin-bottom:36px; }
.guest-party .package-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:stretch; }
.guest-party .card.package { border:2px solid #e88b38; border-radius:16px; box-shadow:0 0 6px #888; padding:24px; color:#555; }
.guest-party .package h2 { color:#df893e; font-size:21px; margin:0 0 22px; }
.guest-inclusions { line-height:1.18; }
.guest-package-choices { margin:14px 0 0 38%; display:flex; flex-direction:column; gap:10px; align-items:center; }
.guest-package-choices label { display:flex; justify-content:end; gap:10px; align-items:center; width:100%; font-size:16px; }
.guest-package-choices select { font-size:14px; width:102px; padding:0; height:21px; }
.guest-package-choices button { border:0; border-radius:0; font:bold 18px Arial,sans-serif; padding:12px; min-height:44px; width:170px; margin-top:5px; }
.guest-package-choices p { font-weight:bold; margin:0; }
.guest-party-calendar { margin:16px auto; text-align:center; }
.guest-month { width:440px; max-width:100%; margin:0 auto; border-collapse:separate; border-spacing:3px; font:20px Arial,sans-serif; table-layout:fixed; }
.guest-month th { background:white; color:#111; border:0; padding:8px 0; text-align:center; }
.guest-month th[colspan] { font-size:22px; }
.guest-month .prev { float:left; }
.guest-month .next { float:right; }
.guest-month td { background:#eee; border:0; height:43px; padding:6px; text-align:center; }
.guest-month a { color:#df893e; text-decoration:none; font-weight:bold; }
.guest-month .unavailable { color:#aaa; }
.guest-month .selected { outline:2px solid #e88b38; }
.guest-party .stack { max-width:800px; margin:20px auto; font-size:18px; }
.guest-party .detail-sheet { background:#fff; }
.guest-party .detail-table { font-size:17px; }
.guest-party .detail-table th { width:200px; }
.guest-party .detail-title { font-size:21px; }
.guest-party .book-go { display:block; margin:24px auto; width:220px; }
.guest-party .guest-footer { margin-top:50px; }
.guest-waiver-entry { max-width:520px; margin:0 auto; }
.guest-waiver-entry>label { display:grid; grid-template-columns:185px 1fr; gap:15px; align-items:center; text-align:right; font-weight:bold; margin:24px 0; }
.guest-waiver-entry input[type=email] { width:260px; height:34px; }
.guest-waiver-entry fieldset { border:0; display:grid; grid-template-columns:185px 1fr; gap:0 15px; padding:0; margin:25px 0; font-weight:bold; }
.guest-waiver-entry legend { float:left; width:185px; padding-top:15px; text-align:right; grid-row:span 2; }
.guest-waiver-entry fieldset label { display:flex; align-items:center; gap:5px; }
.guest-waiver-entry button { display:block; margin:24px auto; width:280px; font-size:30px; }
.guest-new-waiver { margin:115px 0 0; text-align:center; }
.guest-new-waiver a { color:#df893e; font-weight:bold; }
.guest-waiver .flow { font-size:17px; }
.guest-waiver .flow-steps { font-size:17px; }
.guest-waiver .find { display:none; }
.guest-waiver .flow .stack { display:flex; flex-direction:column; gap:18px; }
.guest-waiver .row { display:flex; gap:15px; }
.guest-waiver .row>* { flex:1; min-width:0; }
.guest-waiver .stack label:not(.check) { display:flex; flex-direction:column; gap:6px; }
.guest-waiver .waiver-text { font-size:15px; line-height:1.5; padding:12px; max-height:350px; overflow:auto; border:1px solid #bbb; }
@media(max-width:700px) {
 .guest-page .guest-main { padding:22px 15px 8px; font-size:20px; }
 .guest-page .guest-steps { font-size:15px; gap:13px; flex-wrap:wrap; margin-bottom:25px; }
 .guest-page h1 { font-size:23px; }
 .guest-page button { font-size:21px; min-height:52px; padding:12px 25px; }
 .guest-party .package-grid { grid-template-columns:1fr; }
 .guest-party .card.package { padding:20px; }
 .guest-package-choices { margin-left:15%; }
 .guest-page .guest-footer { margin-top:65px; }
 .guest-slot { font-size:17px; }
 .guest-product summary { font-size:20px; }
 .guest-waiver-entry>label { grid-template-columns:90px minmax(0,1fr); }
 .guest-waiver-entry fieldset { display:flex; flex-direction:column; gap:10px; }
 .guest-waiver-entry legend { text-align:left; float:none; padding:0 0 8px; width:auto; }
 .guest-waiver-entry input[type=email] { width:100%; }
 .guest-waiver-entry button { max-width:100%; }
 .guest-new-waiver { margin-top:90px; }
 .guest-waiver .row { flex-direction:column; }
 .guest-page .detail-sheet { overflow-x:auto; }
 .guest-page .detail-table { min-width:0; width:100%; }
 .guest-page .detail-table th { width:36%; font-size:15px; }
 .guest-page input,.guest-page select,.guest-page textarea { font-size:16px; min-width:0; }
}
.guest-room-form { max-width:650px; margin:20px auto; text-align:center; }
.guest-room-form fieldset { border:0; padding:0; }
.guest-room-form legend { padding:0 0 20px; font-weight:bold; }
.guest-room-form label { display:flex; gap:10px; justify-content:center; align-items:center; font-size:19px; margin:15px 0; }
.guest-room-form button { margin:20px 0; }
.guest-page label { font-size:inherit; margin:0; }
.guest-page input,.guest-page select { min-height:30px; }
.guest-package-choices label { font-size:16px; font-weight:normal; }
.guest-package-choices select { height:21px; min-height:21px; }
.guest-waiver-entry>label,.guest-waiver-entry fieldset label { font-size:27px; }
.guest-waiver-entry input[type=email] { min-height:34px; }
.guest-waiver-entry fieldset label { grid-column:2; }
.guest-page .guest-date-form { margin-top:0; }
.guest-policy { font-size:14px; text-align:center; }
@media(max-width:700px) { .guest-waiver-entry>label,.guest-waiver-entry fieldset label { font-size:20px; } .guest-waiver-entry fieldset label { grid-column:auto; } }

/* Post-payment choices and browser-printable customer documents. */
.payment-print-success { padding:22px; margin:20px auto; border:2px solid #ef8126; border-radius:12px; max-width:760px; text-align:center; font:18px Arial,sans-serif; }
.payment-print-success h2,.payment-print-dialog h2 { font:700 26px Arial,sans-serif; color:#12652b; margin:0 0 20px; }
.payment-print-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:18px; margin:22px 0; }
.payment-print-actions form { display:flex; flex-direction:column; align-items:center; gap:12px; }
.payment-print-actions label { display:flex; align-items:center; gap:12px; font:16px Arial,sans-serif; }
.payment-print-actions select { width:80px; }
.payment-print-actions a.button,.payment-print-actions button { background:#ef8126; border:1px solid #c66e22; border-radius:7px; color:white; padding:15px 22px; min-height:52px; font:700 18px Arial,sans-serif; text-decoration:none; }
.payment-print-dialog { border:2px solid #ef8126; border-radius:14px; padding:30px; max-width:min(650px,calc(100% - 28px)); width:650px; text-align:center; box-shadow:0 10px 40px #3337; font:18px Arial,sans-serif; }
.payment-print-dialog::backdrop { background:#0008; }
.payment-print-dialog .print-done { background:white; color:#333; border:1px solid #bbb; padding:8px 25px; border-radius:6px; min-height:40px; font-size:16px; }
.print-document { color:#111; background:white; font:14px/1.4 Arial,sans-serif; margin:20px auto; }
.print-toolbar { display:flex; justify-content:center; align-items:center; gap:22px; margin:20px 0 30px; }
.print-toolbar button { cursor:pointer; }
.customer-receipt { width:76mm; max-width:100%; margin:auto; padding:4mm; background:white; }
.customer-receipt h1 { font-size:20px; text-align:center; }
.customer-receipt h2 { font-size:16px; text-align:center; }
.customer-receipt table { width:100%; font-size:13px; border-collapse:collapse; }
.customer-receipt td { border:0; padding:4px 0; }
.customer-receipt td:last-child { text-align:right; white-space:nowrap; }
.customer-receipt p { margin:9px 0; }
.receipt-line { display:flex; justify-content:space-between; gap:10px; }
.receipt-payment-id { overflow-wrap:anywhere; font-size:11px; }
.customer-sticker-sheet { display:flex; flex-wrap:wrap; justify-content:center; gap:6mm; }
.customer-sticker { width:75mm; min-height:38mm; padding:3mm; border:1px dashed #888; border-radius:3mm; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:2mm; break-inside:avoid; }
.customer-sticker>strong:first-child { font-size:16px; }
.customer-sticker span { font-size:12px; }
.customer-sticker small { font-size:10px; }
@media(max-width:600px) { .payment-print-dialog { padding:22px 14px; } .payment-print-actions { flex-direction:column; } .payment-print-success { padding:15px; } }
@media print {
 body:has(.print-document) { min-height:0; background:white; }
 body:has(.print-document) main { width:100%; margin:0; padding:0; }
 body:has(.print-document) .preview-banner,body:has(.print-document) .foot,.print-toolbar { display:none!important; }
 .print-document { margin:0; }
 .customer-receipt { margin:0 auto; }
 .customer-sticker-sheet { display:block; }
 .customer-sticker { margin:0 auto; border:0; break-after:page; page-break-after:always; }
 .customer-sticker:last-child { break-after:auto; page-break-after:auto; }
}

/* Independent report definitions and print layouts. */
.reports-page{max-width:1100px;margin:0 auto}.reports-heading{display:flex;align-items:center;gap:28px;padding:14px 0}.report-section{border-bottom:1px solid #aaa;padding:24px 0}.report-section h2{font-size:22px;font-weight:500;margin:0 0 8px}.report-section p{margin:8px 0 18px}.report-section form{max-width:820px}.report-section label{display:flex;align-items:center;gap:15px;margin:12px 0;min-height:36px}.report-section label>input,.report-section label>select{margin-left:auto;max-width:430px;width:60%}.report-section label.report-check{justify-content:flex-start}.report-section .report-check input{width:auto;margin:0}.report-dates{display:grid;grid-template-columns:1fr 1fr;gap:24px}.report-dates label{display:block}.report-dates label>input,.report-dates label>select{display:block;width:100%;max-width:none;margin-top:6px}.report-section select[multiple]{min-height:125px}.report-section button{background:#6291bd;color:white;border:4px ridge #bde8f2;border-radius:0;padding:10px 28px;min-width:170px}.report-hint{font-size:14px;color:#555}.report-toolbar{display:flex;align-items:center;gap:20px;padding:16px 0}.report-notice{border-left:4px solid #d4a12d;padding:10px 16px;background:#fff8e5}.report-receipt{max-width:76mm;font-size:11px}.report-receipt table{font-size:10px}.report-result .ops-scroll{overflow:auto}@media(max-width:650px){.reports-page{padding:12px}.report-dates{grid-template-columns:1fr;gap:0}.report-toolbar{flex-wrap:wrap}.report-section label>input,.report-section label>select{min-width:0}.report-section h2{font-size:19px}}@media print{.reports-page .desk-header,.report-toolbar,.reports-heading,.reports-page>nav{display:none!important}.report-result{width:100%;color:#000}.report-result h1{font-size:18px}.report-result table{width:100%;border-collapse:collapse}.report-result th,.report-result td{padding:5px;border:1px solid #aaa}.report-result tr{break-inside:avoid}.report-result thead{display:table-header-group}.report-notice{background:none;border:none;padding:0;font-size:10px}.report-receipt{width:76mm!important;max-width:76mm!important}.report-result .ops-scroll{overflow:visible}}
@media print{.reports-page>.desk-head{display:none!important}}

/* LilYPad-style staff login; all overrides stay within this screen. */
main.plain-main:has(.login-reference){width:100%;margin:0;padding:0}.login-reference{font-family:Arial,sans-serif;color:#000}.login-forgot{margin:0;padding:9px 12px;min-height:36px;text-align:center;background:#fff5cf;border-bottom:1px solid #d9c775;font-size:13px;font-weight:400;color:#51421a}.login-reference-head{border-bottom:2px solid #9c8cac}.login-head-inner{display:grid;grid-template-columns:90px minmax(0,1fr) 110px 54px;gap:20px;align-items:center;max-width:880px;margin:auto;min-height:81px;padding:8px 20px}.login-head-inner>img{width:80px;height:64px;object-fit:contain}.login-head-inner h1{font-family:Arial,sans-serif;font-size:20px;line-height:1.12;text-align:left;margin:0;font-weight:800}.login-head-inner time{font-size:18px;font-weight:700;white-space:nowrap;align-self:end;padding-bottom:5px}.login-reference .login-help{min-height:50px;width:50px;height:50px;border:2px solid #c29859;border-radius:50%;padding:0;background:radial-gradient(circle at 35% 25%,#ffe788,#ed9e24 70%);color:white;font-size:42px;font-weight:700;text-shadow:1px 1px 2px #a66f32;box-shadow:inset 0 0 0 2px #f7dcb2}.login-frame{width:min(880px,calc(100% - 24px));margin:19px auto 35px;border:2px solid #ccc;padding:20px}.login-panel{background:#eee;padding:10px 24px 20px}.login-reference-form{margin:0}.login-reference-form>.login-username,.login-reference-form>.login-password{display:block;width:300px;max-width:100%;margin:0 auto;border:2px solid #d5dae4;border-radius:0;box-shadow:none;background:#e8efff;font:24px Arial,sans-serif;min-height:38px;height:38px;padding:3px 5px}.login-reference-form>.login-username{margin-bottom:22px;background:#edf3ed}.login-reference-form>.login-password{height:80px;margin:20px auto 40px;font-size:20px}.login-reference-form .keyboard{margin:0;gap:4px;overflow:visible}.login-reference-form .keyboard-row{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:9px}.login-reference-form .keyboard-row:last-child{display:flex;justify-content:center;gap:12px;margin-top:2px}.login-reference .keyboard button,.login-reference .login-enter{background:#6091c1;color:#fff;border:3px solid #b9d9ec;border-radius:0;box-shadow:inset 0 0 2px #fff;min-width:0;min-height:50px;height:50px;padding:0;font-family:Arial,sans-serif;font-weight:700;font-size:18px;line-height:1}.login-reference .keyboard-row:last-child button{width:70px}.login-reference .login-enter{display:block;width:225px;max-width:100%;margin:0 auto;font-size:24px;letter-spacing:0}.login-reference button:focus-visible,.login-reference input:focus-visible{outline:2px solid #3264b5;outline-offset:2px}.login-reference .login-enter:disabled{opacity:.65}.login-help-dialog{max-width:540px;border:2px solid #aaa;padding:24px}.login-help-dialog::backdrop{background:#0006}.login-help-dialog label{display:block}.login-help-dialog select{margin:8px 0 20px;width:100%}.login-panel .alert{margin:0 0 15px}@media(max-width:650px){.login-head-inner{grid-template-columns:58px minmax(0,1fr) 38px;gap:8px;padding:8px 12px}.login-head-inner>img{width:55px;height:58px;grid-row:1/3}.login-head-inner h1{font-size:15px}.login-head-inner time{grid-column:2;grid-row:2;font-size:13px;padding:0}.login-reference .login-help{grid-column:3;grid-row:1/3;width:36px;height:36px;min-height:36px;font-size:29px}.login-frame{padding:10px;margin-top:14px}.login-panel{padding:12px 8px 20px}.login-reference-form .keyboard-row{gap:4px}.login-reference .keyboard button{height:42px;min-height:42px;font-size:14px}.login-reference-form>.login-username{font-size:21px}.login-reference-form>.login-password{height:64px;margin-bottom:28px}.login-reference .login-enter{height:48px;min-height:48px;font-size:22px}}
.login-reference-form .keyboard-row:last-child button{flex:0 0 70px}
@media(min-width:960px){.login-head-inner{max-width:916px;position:relative;left:18px;grid-template-columns:140px minmax(0,1fr) 110px 54px;padding-top:3px;padding-bottom:3px}.login-head-inner>img{width:90px;height:74px}.login-head-inner time{justify-self:end}}

/* Reports follows the compact LilYPad report catalog, without affecting Sale controls. */
.desk.reports-page{max-width:1250px;margin:0 auto;font:12px Arial,Helvetica,sans-serif;color:#000}
.reports-page .reports-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 7px 10px;gap:0}
.reports-page .reports-heading h1{font:700 22px Arial,Helvetica,sans-serif;margin:0}
.reports-page .report-help{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#efb548;color:#fff;text-decoration:none;font:bold 36px Arial;border:2px solid #bd8133}
.reports-page .reports-back{padding:0 0 18px;border-bottom:1px solid #222;margin-bottom:11px}
.reports-page .reports-back .button,.reports-page .report-section button{display:flex;align-items:center;justify-content:center;width:225px;min-width:0!important;height:50px;min-height:0!important;background:#6291bd!important;border:4px ridge #bde8f2!important;border-radius:0!important;padding:0!important;color:#fff!important;font:700 13.2px Verdana,Arial,sans-serif!important;letter-spacing:1px;text-decoration:none;box-shadow:none}
.reports-page .report-section{padding:20px 0;border-bottom:1px solid #aaa}
.reports-page .report-card{width:563px;max-width:100%;margin:0 auto;border:1px solid #000;background:#fff}
.reports-page .report-section h2{background:#4b4b4b;color:#fff;font:700 14px Arial,Helvetica,sans-serif;margin:0;padding:5px;line-height:16px}
.reports-page .report-section p{font:12px Arial,Helvetica,sans-serif;line-height:14px;margin:0;padding:5px}
.reports-page .report-section form{max-width:none;margin:0;padding:0 5px 10px}
.reports-page .report-section label{display:flex;justify-content:center;align-items:center;gap:10px;min-height:0;margin:0;padding:5px;font:700 12px Arial,Helvetica,sans-serif;line-height:14px}
.reports-page .report-section label>input,.reports-page .report-section label>select{display:block;width:auto;max-width:260px;margin:0;min-height:0!important;height:22px;font:13.333px Arial,Helvetica,sans-serif!important;font-weight:400!important;line-height:normal;padding:1px 2px!important;border:1px solid #888;border-radius:2px;background:#fff;color:#000}
.reports-page .report-section label>input[type=date]{width:147px;max-width:147px;flex-shrink:0}
.reports-page .report-section label>select{height:20px;padding:0!important}
.reports-page .report-section select[multiple]{height:72px;min-height:72px!important;max-width:260px;min-width:75px}
.reports-page .report-period{display:grid;grid-template-columns:1fr;gap:0}
.reports-page .report-period.with-times{grid-template-columns:1.05fr 1fr}
.reports-page .report-period label{justify-content:flex-end;padding:5px 15px 5px 5px;white-space:nowrap}
.reports-page .report-period label:nth-child(even){justify-content:flex-start;padding-left:30px;padding-right:0}
.reports-page .report-section .report-check{justify-content:center;gap:3px;padding:5px;font-weight:700;text-align:center}
.reports-page .report-section .report-check input{width:13px;height:13px;min-height:0!important;flex-shrink:0;margin:0;padding:0!important}
.reports-page .report-section .report-hint{text-align:center;padding:5px 0;line-height:14px;color:#000}
.reports-page .report-section button{margin:5px auto 0}
.reports-page .report-section .report-notice{font-size:11px;margin:5px;border-left-width:3px}
@media(max-width:620px){.reports-page .report-period.with-times{grid-template-columns:1fr}.reports-page .report-period label,.reports-page .report-period label:nth-child(even){justify-content:space-between;padding:5px}.reports-page .report-card{width:100%}.reports-page .report-section label>select{max-width:65%}}
@media print{.reports-page .reports-back,.reports-page .report-help{display:none!important}}
.reports-page .report-section select[multiple]{width:225px}
.reports-page .report-section label>span{display:block;text-align:right}
.reports-page .report-section label small{display:block;max-width:140px;font:700 12px Arial;line-height:14px}
.reports-page .report-period.with-times>label{display:grid;grid-template-columns:70px 147px;justify-content:start;text-align:right;padding-left:10px;padding-right:0}
.reports-page .report-period.with-times>label:nth-child(even){grid-template-columns:80px 120px;padding-left:15px}
.reports-page .report-result{font:12px Arial,Helvetica,sans-serif}
.reports-page .report-result h1{font:700 18px Arial,Helvetica,sans-serif}
.reports-page .report-result p{font:12px Arial,Helvetica,sans-serif}
.reports-page .report-result th{background:#ccc;color:#000;font:700 12px Arial,Helvetica,sans-serif;padding:5px}
.reports-page .report-result td{font:11px Arial,Helvetica,sans-serif;padding:5px}
.reports-page .report-result table{border-collapse:collapse}
.reports-page .report-toolbar{font:12px Arial,Helvetica,sans-serif}
@media(max-width:620px){.reports-page .report-period.with-times>label,.reports-page .report-period.with-times>label:nth-child(even){grid-template-columns:1fr 147px;padding:5px;text-align:left}}
