.reservationPanel{margin-bottom:24px;padding:24px}.reservationHeading{display:flex;justify-content:space-between;gap:16px;align-items:center}.reservationHeading h2{margin:0;font-size:20px}.reservationHeading p{color:var(--muted);margin:8px 0}.reservationPanel button{min-height:44px;cursor:pointer;border:1px solid var(--border,#ccdcd4);border-radius:9px;padding:9px 14px;background:var(--surface,#fff);color:inherit}.reservationPanel button:disabled{opacity:.45;cursor:default}.reservationTabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.reservationTabs [aria-pressed=true]{background:#d9f4e9;border-color:#278f70}.reservationRows{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.reservationRow{display:flex;flex-direction:column;align-items:start;gap:6px;text-align:left}.reservationRow small{color:#556960}.reservationEmpty{padding:28px 0;color:#5a6e63}.reservationNotice{padding:12px;background:#fff3d6;border-radius:8px;color:#644c21}.reservationDate,.reservationRules label,.reservationDetail label{display:flex;gap:6px;flex-direction:column;margin:12px 0}.reservationPanel input,.reservationPanel select,.reservationPanel textarea{min-height:44px;max-width:100%;border:1px solid #ccdcd4;border-radius:8px;padding:8px;font:inherit;box-sizing:border-box}.reservationPanel input[type=checkbox]{min-height:auto;align-self:flex-start}.reservationFields{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.reservationFields label{flex:1;min-width:110px}.reservationRules{max-width:780px}.reservationBackdrop{position:fixed;inset:0;z-index:90;background:#10281db3;display:grid;place-items:center;padding:20px}.reservationDetail{background:#fff;border-radius:16px;width:min(100%,1020px);max-height:90vh;overflow:auto;padding:24px;box-sizing:border-box}.reservationColumns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.reservationColumns section{min-width:0}.reservationMessage{background:#f0f6f3;padding:12px;border-radius:10px;margin:10px 0}.reservationMessage p{white-space:pre-wrap;overflow-wrap:anywhere}.reservationActions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.reservationDetail small{line-height:1.6}.reservationPanel button:focus-visible{outline:3px solid #138261;outline-offset:2px}@media(max-width:640px){.reservationPanel{padding:16px}.reservationHeading{align-items:start}.reservationColumns{grid-template-columns:1fr}.reservationBackdrop{padding:8px}.reservationDetail{padding:16px;max-height:96vh}.reservationTabs button{flex:1}.reservationDetail .reservationHeading h2{font-size:17px}}

.reservationPanel button.reservationPrimary{background:#14795e;color:white;border-color:#14795e}

.reservationRuleSection{margin:18px 0;border:1px solid var(--border,#ccdcd4);border-radius:9px;padding:12px}.reservationRuleSection summary{cursor:pointer;min-height:32px;font-weight:600}.reservationCapacity{padding:14px;background:#edf6f1;border-radius:8px}.reservationDetail select{width:100%}
.reservationRules label:has(>input[type=checkbox]){flex-direction:row;align-items:center;gap:10px}.reservationRules input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:0;align-self:center}

.replyVariablePicker{margin:24px 0 8px}
.replyVariableHeading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
.replyVariableHeading h4{margin:0;font-size:16px}
.replyVariableHeading label{margin:0;flex-direction:row;align-items:center;min-width:0;font-size:14px}
.replyVariableHeading select{min-width:0;width:100%;flex:1}
.replyVariablePicker>p{font-size:14px;line-height:1.5;color:var(--muted,#556960);margin:10px 0}
.replyVariableGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:8px}
.reservationPanel .replyVariableCard{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;min-height:68px;text-align:left;background:#f0f6f3}
.replyVariableCard span{font-weight:600}
.replyVariableCard code{font-size:13px;color:#27654f;overflow-wrap:anywhere}
.reservationPanel .replyVariableCard:hover:not(:disabled){background:#d9f4e9;border-color:#278f70}
.reservationPanel .replyVariableCard:active:not(:disabled){background:#c4eada}
.replyVariablePicker .replyInsertNotice{min-height:21px;margin-bottom:0;color:#27654f}
@media(max-width:640px){.replyVariableGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.replyVariableCard{min-width:0}}
.deskTimeline { display: flex; flex-direction: column; min-height: 0; flex: 1; padding-top: 18px; }
.deskTimelineToolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0 24px; }
.deskTimelineToolbar h3 { display: flex; align-items: center; gap: 7px; font-size: 16px; margin: 0; }
.deskTimelineToolbar p, .deskTimelineHint { color: var(--desk-muted); font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
.deskTimelineJumps { display: flex; gap: 6px; }
.deskTimelineJumps button { min-height: 36px; padding: 6px 12px; color: var(--desk-ink); background: rgba(255,255,255,.7); border: 1px solid var(--desk-line); border-radius: 8px; }
.deskTimelineJumps button:hover { background: var(--desk-accent-soft); }
.deskTimelineLegend { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 14px 24px 0; color: var(--desk-muted); font-size: 11px; }
.deskTimelineLegend span { display: inline-flex; align-items: center; gap: 5px; }
.deskTimelineLegend span::before { content: ''; width: 10px; height: 10px; border: 1px solid rgba(53,81,84,.25); background: #f4e9d9; border-radius: 2px; }
.deskTimelineLegend .seated::before { background: #dcebdd; }
.deskTimelineLegend .closed::before { background: #dfe5e2; }
.deskTimelineLegend .buffer::before { background: repeating-linear-gradient(135deg,#e4ddd0 0 3px,#faf7f1 3px 6px); }
.deskTimelineHint { margin: 10px 24px 14px; }
.deskTimelinePending { align-self: flex-start; margin: 0 24px 14px; min-height: 36px; padding: 8px 12px; font-size: 12px; color: #78471f; background: #f9e7db; border-radius: 8px; text-align: left; }
.deskTimelineWarning { margin: 0 24px 14px; padding: 12px; background: #fae6df; color: #934033; font-size: 12px; }
.deskTimelineWarning button { display: block; background: none; color: inherit; text-decoration: underline; min-height: 36px; }
.deskTimelineScroll { --timeline-label: 112px; overflow: auto; min-height: 180px; max-height: 65dvh; flex: 1; border-block: 1px solid var(--desk-line); scrollbar-color: #9baea7 #eaf1ef; }
.deskTimelineScroll:focus-visible { outline: 2px solid var(--desk-accent); outline-offset: -2px; }
.deskTimelineCanvas { width: calc(1440px + var(--timeline-label)); }
.deskTimelineHeader, .deskTimelineRow { display: flex; position: relative; }
.deskTimelineHeader { position: sticky; top: 0; z-index: 3; height: 38px; background: #e8efeb; }
.deskTimelineLabel { position: sticky; left: 0; width: var(--timeline-label); flex-shrink: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px 12px; background: #f0f5f1; border-right: 1px solid #cad8cf; font-size: 12px; overflow-wrap: anywhere; }
.deskTimelineLabel small { font-size: 10px; color: var(--desk-muted); }
.deskTimelineLabel .deskTimelineOverlap { color: #934033; }
.deskTimelineHours { display: flex; width: 1440px; color: var(--desk-muted); font-size: 11px; }
.deskTimelineHours span { width: 60px; padding: 12px 0 6px 5px; border-left: 1px solid var(--desk-line); }
.deskTimelineRow { border-bottom: 1px solid var(--desk-line); }
.deskTimelineTrack { position: relative; width: 1440px; flex-shrink: 0; background: repeating-linear-gradient(90deg,transparent 0 59px,rgba(53,81,84,.1) 59px 60px),#dfe5e2; }
.deskTimelineOpen { position: absolute; inset-block: 0; background: repeating-linear-gradient(90deg,transparent 0 59px,rgba(53,81,84,.1) 59px 60px),rgba(255,255,255,.72); pointer-events: none; }
.deskTimelineBooking { position: absolute; height: 50px; padding: 7px; border: 1px solid #bb9e75; border-radius: 7px; background: repeating-linear-gradient(135deg,#e4ddd0 0 3px,#faf7f1 3px 6px); color: #68431d; text-align: left; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.deskTimelineBookingFill { position: absolute; inset: 0 auto 0 0; background: #f4e9d9; pointer-events: none; }
.deskTimelineBooking.seated { color: #30563e; border-color: #94b39b; }
.deskTimelineBooking.seated .deskTimelineBookingFill { background: #dcebdd; }
.deskTimelineBooking strong, .deskTimelineBooking small { position: relative; display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deskTimelineBooking strong { font-size: 12px; }.deskTimelineBooking small { font-size: 10px; }
.deskTimelineBooking:hover { filter: brightness(.96); }
@media (max-width: 760px) {
  .deskTimelineToolbar { padding-inline: 14px; }.deskTimelineLegend { margin-inline: 14px; }.deskTimelineHint, .deskTimelinePending, .deskTimelineWarning { margin-inline: 14px; }
  .deskTimelineScroll { --timeline-label: 88px; flex: none; height: 480px; max-height: 65dvh; }
  .deskTimelineJumps button { min-height: 40px; }.deskTimelineLabel { padding-inline: 8px; }
  .deskToolbarRight { flex-wrap: wrap; }.deskViewSwitch button { gap: 4px; padding-inline: 8px; }
}
:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: oklch(0.205 0.02 250);
  background: oklch(0.985 0.005 170);
  --brand-red: oklch(0.72 0.135 168);
  --brand-red-dark: oklch(0.57 0.115 168);
  --brand-red-soft: oklch(0.8 0.11 168);
  --brand-primary-foreground: oklch(0.19 0.04 168);
  --brand-ink: oklch(0.205 0.02 250);
  --brand-sidebar: oklch(0.97 0.008 175);
  --brand-cream: oklch(0.985 0.005 170);
  --brand-card: oklch(1 0 0);
  --brand-panel: oklch(0.96 0.008 180);
  --brand-border: oklch(0.9 0.012 200);
  --brand-muted: oklch(0.52 0.02 230);
  --brand-gold: oklch(0.8 0.12 150);
  --brand-button-soft: oklch(0.955 0.012 170);
  --brand-success: oklch(0.6 0.13 168);
  --brand-blue: oklch(0.65 0.11 200);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
}

#root {
  min-height: 100vh;
  height: 100vh;
  height: 100dvh;
}

.fallbackScreen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--brand-cream);
}

.fallbackScreen section {
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand-card);
}

.fallbackScreen h1,
.fallbackScreen p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--brand-red) 38%, transparent);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.appShell {
  display: grid;
  grid-template-columns: 232px 1fr;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 12px;
  color: var(--brand-ink);
  background: var(--brand-sidebar);
  border-right: 1px solid var(--brand-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 8px;
}

.brandMark {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--brand-primary-foreground);
  background: var(--brand-red);
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand span,
.topBar p,
.stat span,
.staffRow span,
.meta {
  color: var(--brand-muted);
}

.sidebar .brand span {
  color: var(--brand-muted);
  font-size: 12px;
}

nav {
  display: grid;
  gap: 5px;
}

nav button,
.cardActions button,
.primaryButton,
.iconButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

nav button {
  justify-content: flex-start;
  min-height: 42px;
  padding: 0 12px;
  color: var(--brand-ink);
  background: transparent;
  font-size: 15px;
  font-weight: 650;
}

nav button:hover {
  background: var(--brand-panel);
}

nav button.active {
  color: var(--brand-primary-foreground);
  background: var(--brand-red);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--brand-red-dark) 20%, transparent);
}

.content {
  padding: 28px 32px 40px;
  min-width: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.topBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.topActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.connectionBadge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.connectionBadge.online {
  color: oklch(0.38 0.09 168);
  background: oklch(0.93 0.035 170);
}

.connectionBadge.offline {
  color: #7a3d06;
  background: #f5d9aa;
}

.topBar p {
  margin: 0 0 4px;
  font-size: 15px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: 22px;
}

.primaryButton {
  padding: 0 18px;
  color: var(--brand-primary-foreground);
  background: var(--brand-red);
  font-weight: 750;
  box-shadow: 0 1px 2px color-mix(in oklch, var(--brand-red-dark) 20%, transparent);
}

.statsGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: var(--brand-card);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--brand-ink) 6%, transparent);
}

.stat strong {
  display: block;
  font-size: 30px;
}

.searchBox,
.calendarSearch {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 16px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand-card);
}

.searchBox {
  max-width: 760px;
}

.calendarSearch {
  margin-top: 16px;
  background: #fffdfa;
}

.searchBox input,
.calendarSearch input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.bookingGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.rosterGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.rosterGrid.withEditor {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.inlineFormPanel {
  max-width: 760px;
  margin: 0 0 18px;
}

.inlineFormPanel .editor {
  position: static;
}

.queue,
.editor,
.panel {
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: var(--brand-card);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--brand-ink) 5%, transparent);
}

.queue,
.panel {
  padding: 18px;
}

.bookingCardWrap {
  min-width: 0;
}

.bookingCard {
  padding: 18px;
  border: 1px solid var(--brand-border);
  border-left: 5px solid var(--brand-gold);
  border-radius: 12px;
  background: var(--brand-card);
}

.cardInlineForm {
  margin-top: 8px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 4px solid var(--brand-red);
}

.cardInlineForm .editor {
  position: static;
}

.bookingCard.pending {
  border-left-color: var(--brand-gold);
}

.bookingCard.accepted {
  border-left-color: var(--brand-success);
}

.bookingCard.seated {
  border-left-color: #286f9d;
}

.bookingCard.cancelled {
  border-left-color: #797979;
}

.bookingTop {
  display: grid;
  gap: 10px;
}

.bookingTop h3 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.15;
}

.bookingTop p,
.meta,
.notes {
  font-size: 17px;
  line-height: 1.45;
}

.bookingTop p,
.notes {
  margin-bottom: 0;
}

.bookingDetailLine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.statusBadge {
  height: 34px;
  min-width: 90px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-transform: capitalize;
  text-align: center;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.statusBadge.pending {
  color: #744308;
  border-color: #efb258;
  background: #fff1cb;
}

.statusBadge.accepted {
  color: #0f563e;
  border-color: var(--brand-success);
  background: #dff4ec;
}

.statusBadge.seated {
  color: #174a75;
  border-color: #2f78b7;
  background: #dff0ff;
}

.statusBadge.cancelled {
  color: #8f2f25;
  border-color: var(--brand-red-soft);
  background: #ffe1dd;
}

.meta {
  margin: 14px 0 8px;
}

.notes {
  color: var(--brand-ink);
}

.cardActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cardActions button {
  min-height: 44px;
  padding: 0 14px;
  color: var(--brand-ink);
  background: var(--brand-button-soft);
  font-size: 15px;
  font-weight: 750;
}

.danger {
  color: #fff !important;
  background: #92352d !important;
}

.warning {
  color: var(--brand-red-dark) !important;
  background: #f5d9aa !important;
}

.editor {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.editor.compact {
  position: static;
}

.editorHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editorHeader h2 {
  margin-bottom: 0;
}

.iconButton {
  width: 48px;
  min-width: 48px;
  padding: 0;
  color: var(--brand-ink);
  background: var(--brand-button-soft);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand-card);
  color: var(--brand-ink);
}

textarea {
  resize: vertical;
}

.fieldGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shiftQuickChoices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: var(--brand-panel);
}

.shiftQuickChoices button {
  min-height: 48px;
  padding: 0 8px;
  color: var(--brand-ink);
  background: #fffdfa;
  font-weight: 900;
}

.shiftQuickChoices button.active {
  color: #fff;
  background: var(--brand-red);
}

.shiftQuickChoices button:last-child.active {
  background: #9d251e;
}

.bossGrid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.businessSnapshotPanel,
.periodSummaryPanel {
  min-width: 0;
}

.sectionHeader {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.sectionHeader h2,
.sectionHeader p {
  margin-bottom: 0;
}

.sectionHeader p {
  margin-top: 4px;
  color: var(--brand-muted);
  font-weight: 800;
}

.sectionHeader label,
.managementDatePanel label {
  min-width: 220px;
}

.managementDatePanel {
  display: grid;
  gap: 14px;
}

.managementDatePanel h2,
.managementDatePanel p {
  margin-bottom: 0;
}

.managementDatePanel p {
  margin-top: 4px;
  color: var(--brand-muted);
  font-weight: 800;
}

.rangeFields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rangeQuickButtons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rangeQuickButtons button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--brand-ink);
  background: var(--brand-button-soft);
  font-weight: 850;
}

.periodGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 16px;
}

.periodTile {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 132px;
  padding: 16px 18px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
  overflow: hidden;
}

.periodTile strong {
  display: block;
  color: var(--brand-red);
  font-size: 24px;
  line-height: 1.1;
  text-align: center;
}

.periodMetrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-width: 0;
}

.periodMetrics span {
  color: var(--brand-ink);
  font-size: clamp(16px, 1.05vw, 18px);
  font-weight: 800;
  white-space: nowrap;
}

.periodMetrics em {
  color: var(--brand-red-dark);
  font-size: clamp(16px, 1.05vw, 18px);
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.rosterGrid .periodTile {
  min-height: 146px;
}

.rosterGrid .periodMetrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  width: 100%;
}

.rosterGrid .periodMetrics span,
.rosterGrid .periodMetrics em {
  min-width: 0;
  font-size: clamp(20px, 1.25vw, 22px);
  white-space: nowrap;
}

.rosterGrid .periodTile strong {
  font-size: 28px;
}

.schedulePanel,
.dayPanel {
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand-card);
}

.schedulePanel {
  padding: 18px;
  min-width: 0;
}

.scheduleToolbar,
.dayPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.scheduleToolbar h2,
.dayPanelHeader h2 {
  margin-bottom: 0;
}

.scheduleToolbar p {
  margin: 4px 0 0;
  color: var(--brand-muted);
  font-weight: 800;
}

.scheduleToolbar label {
  min-width: 230px;
}

.dateStrip {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
}

.dateCardGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dateCard {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 16px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  color: var(--brand-ink);
  background: var(--brand-card);
  text-align: left;
  align-content: start;
}

.dateCard.selected {
  color: var(--brand-primary-foreground);
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.dateCard.today {
  border-color: var(--brand-red);
}

.dateCard span,
.dateCard em,
.dateCard i {
  font-weight: 800;
  font-style: normal;
}

.dateCard strong {
  font-size: 28px;
}

.dateCard i {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--brand-red-dark);
  background: #f5d9aa;
}

.dateCard.selected i {
  color: var(--brand-primary-foreground);
  background: color-mix(in oklch, var(--brand-card) 62%, transparent);
}

.scheduleBody {
  margin-top: 18px;
}

.dayPanel {
  padding: 18px;
  min-width: 0;
}

.dayPanelHeader p {
  margin: 0 0 4px;
  color: var(--brand-muted);
}

.bookingHeaderActions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 14px;
}

.managerFilter {
  min-width: 190px;
}

.managerFilter select {
  min-height: 72px;
  font-size: 20px;
  font-weight: 850;
}

.dayTotals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: var(--brand-panel);
}

.dayTotals span {
  color: var(--brand-muted);
  font-weight: 800;
}

.dayTotals strong {
  font-size: 30px;
}

.bookingListGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.emptyState {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 8px;
  color: var(--brand-muted);
  background: var(--brand-panel);
  font-weight: 800;
}

.dashboardPanel {
  display: grid;
  gap: 16px;
}

.dashboardHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboardHeader h2,
.dashboardHeader p {
  margin-bottom: 0;
}

.dashboardHeader p {
  margin-top: 4px;
  color: var(--brand-muted);
  font-weight: 800;
}

.dashboardTabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboardTabs button {
  min-height: 44px;
  padding: 0 14px;
  color: var(--brand-ink);
  background: var(--brand-button-soft);
  font-weight: 850;
}

.dashboardTabs button.active {
  color: var(--brand-primary-foreground);
  background: var(--brand-red);
}

.dashboardSummaryGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboardSummaryGrid section {
  display: grid;
  gap: 4px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
}

.dashboardSummaryGrid strong {
  font-size: 30px;
}

.dashboardSummaryGrid span {
  color: var(--brand-muted);
  font-weight: 800;
}

.managerDashboardList {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.managerDashboardList article {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
}

@media (min-width: 921px) and (max-width: 1180px) {
  .appShell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .content {
    padding: 24px;
  }

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

  .stat {
    padding: 16px;
  }

  .dateCard {
    padding: 14px;
  }

  .dateCard strong {
    font-size: 24px;
  }
}

.managerDashboardList strong,
.managerDashboardList span {
  display: block;
  min-width: 0;
}

.managerDashboardList span,
.managerDashboardList em {
  color: var(--brand-muted);
  font-style: normal;
  font-weight: 800;
}

.managerDashboardList em {
  justify-self: end;
}

.wide {
  grid-column: 1 / -1;
}

.snapshotRows {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  font-size: 19px;
}

.snapshotRows strong {
  font-size: 24px;
}

.barRow {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
}

.barRow div {
  height: 22px;
  border-radius: 999px;
  background: var(--brand-button-soft);
  overflow: hidden;
}

.barRow i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-red);
}

.noteList {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.noteList p {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--brand-panel);
  font-size: 22px;
  line-height: 1.35;
}

.managerNotesPanel h2 {
  font-size: 30px;
}

.noteList strong,
.noteManagerLine {
  display: block;
  font-size: 22px;
}

.noteManagerLine {
  color: var(--brand-muted);
  font-weight: 800;
}

.rosterTable {
  display: grid;
  gap: 10px;
}

.rosterEmployeeGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}

.rosterDepartments {
  display: grid;
  gap: 14px;
}

.rosterDepartment h3 {
  margin: 0;
  color: var(--brand-red-dark);
  font-size: 24px;
}

.rosterEmployeeCard {
  display: grid;
  gap: 10px;
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--brand-border);
  border-left: 8px solid var(--brand-gold);
  border-radius: 8px;
  background: #fffdfa;
}

.rosterEmployeeCard.offShift,
.monthlyShiftRow.offShift,
.rosterCalendarEvent.offShift {
  border-color: #d86d62;
  border-left-color: #b63a30;
  background: #fff0ed;
}

.rosterEmployeeHeader,
.rosterEmployeeFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.rosterEmployeeCard strong {
  color: #1f66b3;
  font-size: 28px;
  white-space: nowrap;
}

.rosterEmployeeCard span,
.rosterEmployeeCard p,
.rosterEmployeeCard em {
  margin-bottom: 0;
  color: var(--brand-ink);
  font-size: 22px;
  font-style: normal;
  font-weight: 800;
}

.rosterEmployeeCard span,
.rosterEmployeeShift {
  white-space: nowrap;
}

.rosterEmployeeHeader span {
  text-align: right;
}

.rosterEmployeeFooter em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rosterEmployeeFooter em:empty,
.monthlyShiftRow p em:empty,
.rosterCalendarEvent em:empty {
  display: none;
}

.rosterEmployeeActions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.rosterEmployeeActions .iconButton {
  width: 48px;
  height: 48px;
}

.rosterModeBar {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px;
  border-radius: 8px;
  background: var(--brand-panel);
}

.rosterModeBar button {
  border: 0;
  color: var(--brand-ink);
  background: transparent;
}

.rosterModeBar button.active {
  color: #fff;
  background: var(--brand-red);
}

.monthlyRosterControls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.monthlyRosterControls label {
  width: min(100%, 360px);
}

.monthlyRosterGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.monthlyRosterCard {
  container-type: inline-size;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--brand-border);
  border-left: 8px solid var(--brand-gold);
  border-radius: 8px;
  background: #fffdfa;
}

.monthlyRosterHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.monthlyRosterHeader strong,
.monthlyShiftRow strong {
  display: block;
  color: #1f66b3;
  font-size: 26px;
  white-space: nowrap;
}

.monthlyRosterHeader span {
  display: block;
  color: var(--brand-muted);
  font-size: 20px;
  font-weight: 800;
}

.rosterToggleButton {
  min-height: 42px;
  padding: 0 14px;
  color: var(--brand-ink);
  background: var(--brand-button-soft);
  font-weight: 900;
  white-space: nowrap;
}

.monthlyShiftList {
  display: grid;
  gap: 8px;
  max-height: 560px;
  padding-right: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.monthlyShiftRow {
  display: grid;
  grid-template-columns: minmax(145px, 0.9fr) minmax(125px, 1fr) 74px;
  gap: 8px;
  align-items: center;
  min-height: 74px;
  min-width: 0;
  padding: 10px 8px 10px 14px;
  border-radius: 8px;
  background: var(--brand-panel);
}

.monthlyShiftRow p,
.monthlyShiftRow em {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(15px, 2.2cqw, 20px);
  font-style: normal;
  font-weight: 800;
}

.monthlyShiftRow.offShift strong,
.monthlyShiftRow.offShift p,
.monthlyShiftRow.offShift em,
.rosterEmployeeCard.offShift strong,
.rosterEmployeeCard.offShift span,
.rosterEmployeeCard.offShift p,
.rosterEmployeeCard.offShift em,
.rosterCalendarEvent.offShift strong,
.rosterCalendarEvent.offShift span,
.rosterCalendarEvent.offShift em {
  color: #9d251e;
}

.monthlyShiftRow strong {
  min-width: 0;
  font-size: clamp(16px, 2.35cqw, 20px);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.monthlyShiftRow p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  font-size: clamp(14px, 2cqw, 17px);
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: keep-all;
}

.monthlyShiftRow p span,
.monthlyShiftRow p em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monthlyShiftActions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.monthlyShiftActions .iconButton {
  width: 34px;
  min-width: 34px;
  height: 34px;
}

.monthlyShiftActions .iconButton svg {
  width: 16px;
  height: 16px;
}

.rosterGrid.withEditor .monthlyRosterGrid {
  grid-template-columns: 1fr;
}

.rosterGrid.withEditor .monthlyShiftRow {
  grid-template-columns: minmax(160px, 1fr) minmax(145px, 1fr) 72px;
}

@container (max-width: 460px) {
  .monthlyShiftRow {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .monthlyShiftRow p {
    grid-column: 1;
  }

  .monthlyShiftActions {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.calendarControls {
  align-items: end;
  gap: 14px;
}

.calendarScopeButtons {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: var(--brand-panel);
}

.calendarScopeButtons button {
  min-height: 48px;
  padding: 0 18px;
  color: var(--brand-ink);
  background: var(--brand-button-soft);
  font-weight: 900;
}

.calendarScopeButtons button.active {
  color: #fff;
  background: var(--brand-red);
}

.rosterCalendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendarWeekday {
  color: var(--brand-muted);
  font-size: 18px;
  text-align: center;
}

.rosterCalendarCell {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 132px;
  padding: 8px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
}

.rosterCalendarCell.selected {
  border-color: var(--brand-red);
  box-shadow: inset 0 0 0 2px var(--brand-red);
}

.rosterCalendarCell.muted {
  opacity: 0.55;
}

.rosterCalendarCell.hasOff {
  border-color: #d86d62;
  background: #fff7f5;
}

.rosterCalendarCell.hasOff .calendarCellDate span {
  color: #9d251e;
}

.calendarCellDate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.calendarCellDate strong {
  color: var(--brand-ink);
  font-size: 22px;
}

.calendarCellDate span,
.calendarMore {
  color: var(--brand-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.calendarCellEvents,
.calendarDayEvents {
  display: grid;
  gap: 6px;
}

.weekCalendar {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.weekCalendar .rosterCalendarCell {
  min-height: 360px;
}

.rosterCalendarEvent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border-left: 5px solid var(--brand-gold);
  border-radius: 7px;
  background: var(--brand-panel);
}

.rosterCalendarEvent strong,
.rosterCalendarEvent span,
.rosterCalendarEvent em {
  display: block;
  min-width: 0;
  color: var(--brand-ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.rosterCalendarEvent strong {
  color: #1f66b3;
}

.rosterCalendarActions {
  display: flex;
  gap: 4px;
}

.rosterCalendarActions .iconButton {
  width: 30px;
  height: 30px;
}

.rosterCalendarEvent.compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  min-height: 30px;
  padding: 5px 7px;
  border-left-width: 4px;
}

.rosterCalendarEvent.compact strong,
.rosterCalendarEvent.compact span {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rosterCalendarEvent.compact span {
  color: var(--brand-red-dark);
}

.rosterCalendarDay {
  display: grid;
  gap: 14px;
}

.calendarDayHeader {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
}

.calendarDayHeader strong {
  color: var(--brand-ink);
  font-size: 34px;
}

.calendarDayHeader span {
  color: var(--brand-muted);
  font-size: 24px;
  font-weight: 900;
}

.calendarRoleGroup {
  display: grid;
  gap: 10px;
}

.calendarRoleGroup h3 {
  margin: 0;
  color: var(--brand-red-dark);
  font-size: 24px;
}

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

.calendarDayEvents .rosterCalendarEvent {
  min-height: 92px;
  padding: 14px;
}

.calendarDayEvents .rosterCalendarEvent strong {
  font-size: 24px;
}

.calendarDayEvents .rosterCalendarEvent span,
.calendarDayEvents .rosterCalendarEvent em {
  font-size: 20px;
}

.staffRow {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 48px 48px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
}

.staffRow strong,
.staffRow span {
  display: block;
}

.menuGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
}

.menuIntroPanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 18px;
  align-items: center;
}

.menuIntroPanel h2,
.menuIntroPanel p,
.packagePanel h2,
.packagePanel p,
.bomPanel h2,
.catalogueControls h2,
.catalogueControls p {
  margin-bottom: 0;
}

.menuIntroPanel p,
.packagePanel p,
.catalogueControls p {
  margin-top: 6px;
  color: var(--brand-muted);
  font-weight: 800;
}

.menuQuickStats,
.packageSummary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.packageSummary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.menuQuickStats section,
.packageSummary section {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
}

.menuQuickStats strong,
.packageSummary strong {
  color: var(--brand-red-dark);
  font-size: 28px;
  line-height: 1.1;
}

.menuQuickStats span,
.packageSummary span {
  color: var(--brand-muted);
  font-weight: 850;
}

.packagePanel,
.bomPanel,
.menuCataloguePanel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.packagePanel .sectionHeader {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.packagePanel .sectionHeader > div:first-child {
  min-width: 0;
}

.packagePanel .sectionHeader h2,
.packagePanel .sectionHeader p {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: keep-all;
}

.packageInputs,
.catalogueFilters {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 12px;
  min-width: min(100%, 420px);
}

.packageInputs {
  width: 100%;
}

.packageSummary .negative {
  color: #9d251e;
}

.packageEditControls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.packageEditControls label {
  display: grid;
  gap: 8px;
  color: var(--brand-ink);
  font-size: 18px;
  font-weight: 900;
}

.packageEditControls select {
  width: 100%;
}

.packageEditControls button,
.menuItemAddButton,
.packageRemoveButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
}

.packageEditControls button,
.menuItemAddButton {
  padding: 0 18px;
  color: #fff;
  background: var(--brand-red);
}

.customDishBuilder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.65fr);
  gap: 12px;
  align-items: end;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand-panel);
}

.customDishBuilder > div:first-child {
  grid-column: 1 / -1;
}

.customDishBuilder h3,
.customDishBuilder p {
  margin: 0;
}

.customDishBuilder h3 {
  color: var(--brand-ink);
  font-size: 20px;
  line-height: 1.15;
}

.customDishBuilder p {
  margin-top: 5px;
  color: var(--brand-muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.customDishBuilder label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--brand-ink);
  font-size: 17px;
  font-weight: 900;
}

.customDishBuilder label:nth-of-type(3) {
  grid-column: 1 / -1;
}

.customDishBuilder button {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand-red);
  font-weight: 900;
  white-space: nowrap;
}

.recommendedMenuList,
.departmentCostList,
.bomDetailList {
  display: grid;
  gap: 10px;
}

.recommendedMenuList article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
}

.departmentCostList article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #fffdfa;
}

.recommendedMenuList strong,
.departmentCostList strong,
.bomDetailList h3,
.menuItemTop strong {
  display: block;
  color: var(--brand-ink);
  font-size: 20px;
  line-height: 1.2;
}

.recommendedMenuList span,
.departmentCostList span,
.bomDetailList p,
.menuItemCard p,
.menuItemCard small,
.menuItemMeta span,
.recommendedMenuList small,
.bomDetailList small {
  color: var(--brand-muted);
  font-weight: 800;
}

.menuItemCard small,
.recommendedMenuList small,
.bomDetailList small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.25;
}

.recommendedMenuList em,
.departmentCostList em {
  flex: 0 0 auto;
  color: var(--brand-red-dark);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.recommendedMenuList article > div {
  min-width: 0;
}

.packageMarketPrice {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(220px, 1fr);
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(107, 29, 32, 0.12);
}

.packageMarketPrice label {
  gap: 4px;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 900;
}

.packageMarketPrice input {
  min-height: 38px;
  padding: 7px 9px;
  font-size: 15px;
}

.packageQuantityControl {
  display: inline-grid;
  grid-template-columns: 38px minmax(86px, auto) 38px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand-panel);
}

.packageQuantityControl button {
  min-height: 38px;
  padding: 0;
  color: var(--brand-ink);
  background: transparent;
  font-size: 22px;
  font-weight: 900;
}

.packageQuantityControl span {
  min-width: 0;
  padding: 0 10px;
  color: var(--brand-ink);
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
}

.packageRemoveButton {
  flex: 0 0 48px;
  width: 48px;
  min-height: 48px;
  color: #fff;
  background: #9d251e;
}

.emptyPackageItem {
  min-height: 76px;
}

.bomDetailList {
  max-height: 430px;
  overflow: auto;
}

.bomDetailList section {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--brand-panel);
}

.bomDetailList p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.bomDetailList em {
  color: var(--brand-red-dark);
  font-style: normal;
  white-space: nowrap;
}

.catalogueControls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.menuCatalogueGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.menuItemCard {
  display: grid;
  gap: 10px;
  min-height: 176px;
  padding: 16px;
  border: 1px solid var(--brand-border);
  border-left: 7px solid var(--brand-gold);
  border-radius: 8px;
  background: #fffdfa;
}

.menuItemTop {
  display: grid;
  gap: 4px;
}

.menuItemTop span {
  color: var(--brand-red);
  font-size: 16px;
  font-weight: 900;
}

.menuItemTop em {
  color: var(--brand-red-dark);
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
}

.menuItemCard p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.25;
}

.menuItemMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.menuItemMeta span {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--brand-panel);
  font-size: 14px;
}

.menuItemAddButton {
  width: fit-content;
  min-height: 44px;
  margin-top: 4px;
}

.secondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--brand-border);
  color: var(--brand-ink);
  background: var(--brand-card);
  font-weight: 700;
}

.userBadge {
  display: grid;
  gap: 1px;
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand-card);
  text-align: left;
}

.userBadge strong {
  font-size: 14px;
}

.userBadge small {
  color: var(--brand-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.logoutButton {
  border: 1px solid var(--brand-border);
  background: var(--brand-card);
}

.syncAlert,
.migrationBanner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  background: var(--brand-card);
}

.syncAlert {
  justify-content: space-between;
  border-color: #e4b36d;
  color: #7a3d06;
  background: #fff8ea;
}

.syncAlert button {
  min-height: 36px;
  padding: 0 12px;
}

.migrationBanner > div {
  display: grid;
  gap: 3px;
  margin-right: auto;
}

.migrationBanner span {
  color: var(--brand-muted);
  font-size: 13px;
}

.authShell {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background:
    radial-gradient(circle at 15% 15%, color-mix(in oklch, var(--brand-red) 16%, transparent), transparent 32%),
    var(--brand-cream);
}

.authCard {
  display: grid;
  gap: 26px;
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  background: color-mix(in oklch, var(--brand-card) 94%, transparent);
  box-shadow: 0 24px 70px color-mix(in oklch, var(--brand-ink) 12%, transparent);
}

.compactAuthCard {
  place-items: center;
  text-align: center;
}

.authCard a.primaryButton {
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
}

.authCard a.primaryButton:focus-visible {
  outline: 3px solid var(--brand-red-dark);
  outline-offset: 3px;
}

.authCard h1,
.authCard p {
  margin-bottom: 0;
}

.authCard > div > p:not(.eyebrow) {
  margin-top: 9px;
  color: var(--brand-muted);
  line-height: 1.55;
}

.authBrand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.authBrand div {
  display: grid;
  gap: 2px;
}

.authBrand strong {
  font-size: 17px;
}

.authBrand span {
  color: var(--brand-muted);
  font-size: 12px;
}

.authLogo,
.successIcon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-primary-foreground);
  background: var(--brand-red);
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--brand-red-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.authCard form,
.invitePanel form {
  display: grid;
  gap: 15px;
}

.authCard label,
.invitePanel label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
}

.authCard input,
.invitePanel input,
.invitePanel select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand-card);
}

.authSecurity {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--brand-border);
  color: var(--brand-muted);
  font-size: 12px;
}

.formError {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  color: #8a2d18;
  background: #fff0eb;
  font-size: 13px;
}

.modalBackdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: color-mix(in oklch, var(--brand-ink) 34%, transparent);
  backdrop-filter: blur(5px);
}

.invitePanel {
  display: grid;
  gap: 20px;
  width: min(500px, 100%);
  max-height: calc(100dvh - 40px);
  padding: 24px;
  overflow: auto;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  background: var(--brand-card);
  box-shadow: 0 28px 80px color-mix(in oklch, var(--brand-ink) 20%, transparent);
}

.invitePanel h2,
.invitePanel h3,
.invitePanel p {
  margin-bottom: 0;
}

.inviteResult {
  display: grid;
  gap: 13px;
}

.accountIdentity {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--brand-panel);
}

.accountIdentity span {
  color: var(--brand-muted);
  font-size: 13px;
  text-transform: capitalize;
}

.inviteResult code {
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  color: var(--brand-muted);
  background: var(--brand-panel);
}

.spin {
  animation: spin .9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 920px) {
  .appShell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
  }

  .brand {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 4px;
  }

  .brandMark {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .brand strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .sidebar .brand div > span {
    display: none;
  }

  nav {
    grid-auto-flow: column;
    gap: 4px;
  }

  nav button {
    width: 46px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
  }

  nav button svg + * {
    display: none;
  }

  .content {
    padding: 18px;
  }

  .statsGrid,
  .bossGrid,
  .bookingGrid,
  .rosterGrid.withEditor,
  .bookingListGrid,
  .noteList,
  .monthlyRosterGrid,
  .menuGrid,
  .menuIntroPanel,
  .menuCatalogueGrid,
  .dashboardSummaryGrid {
    grid-template-columns: 1fr;
  }

  .customDishBuilder {
    grid-template-columns: 1fr;
  }

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

  .calendarWeekday {
    display: none;
  }

  .weekCalendar .rosterCalendarCell {
    min-height: 260px;
  }

  .dateStrip {
    grid-template-columns: 48px 1fr 48px;
  }

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

  .scheduleToolbar,
  .dashboardHeader {
    align-items: stretch;
    flex-direction: column;
  }

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

  .editor,
  .dayPanel {
    position: static;
  }
}

@media (max-width: 640px) {
  .topBar {
    align-items: stretch;
    flex-direction: column;
  }

  .topActions {
    justify-content: flex-start;
  }

  .topActions .connectionBadge,
  .topActions .userBadge {
    flex: 1 1 auto;
  }

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

  .authCard {
    padding: 22px;
  }

  h1 {
    font-size: 28px;
  }

  .statsGrid {
    grid-template-columns: 1fr 1fr;
  }

  .fieldGrid,
  .staffRow,
  .rosterEmployeeGrid,
  .monthlyShiftRow,
  .menuQuickStats,
  .packageSummary,
  .packageInputs,
  .packageMarketPrice,
  .catalogueFilters,
  .periodGrid {
    grid-template-columns: 1fr;
  }

  .monthlyRosterControls {
    align-items: stretch;
    flex-direction: column;
    justify-content: stretch;
  }

  .monthlyRosterControls label {
    width: 100%;
  }

  .monthlyShiftActions {
    justify-content: flex-start;
  }

  .calendarScopeButtons {
    flex-wrap: wrap;
  }

  .rosterCalendar,
  .weekCalendar,
  .calendarDayEvents {
    grid-template-columns: 1fr;
  }

  .rosterCalendarCell {
    min-height: 160px;
  }

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

  .periodTile {
    min-height: auto;
  }

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

  .dateStrip {
    grid-template-columns: 1fr;
  }

  .dateStrip > .iconButton {
    width: 100%;
  }

  .dateCardGrid {
    grid-template-columns: 1fr;
  }

  .scheduleToolbar label,
  .sectionHeader label,
  .managementDatePanel label {
    min-width: 0;
  }

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

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

  .managerFilter {
    min-width: 0;
  }

  .dashboardTabs button {
    flex: 1;
  }
}

.bookingFeedback {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e8f4ef;
  color: #185943;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.bookingFeedback.isError {
  background: #fff2df;
  color: #804712;
}
.glassShell {
  --desk-ink: #263438;
  --desk-muted: #596b70;
  --desk-line: rgba(53, 81, 84, .13);
  --desk-accent: #a44b24;
  --desk-accent-soft: #f9e7db;
  --brand-red: #ad542c;
  --brand-red-dark: #8d3d1e;
  --brand-primary-foreground: #fff;
  --brand-panel: #eaf1ef;
  --brand-border: #d6e1df;
  --brand-muted: #596b70;
  --brand-button-soft: #edf2f0;
  grid-template-columns: 104px minmax(0, 1fr);
  color: var(--desk-ink);
  background: radial-gradient(ellipse at 84% 2%, #d4e8e4 0, transparent 49%), radial-gradient(ellipse at 26% 85%, #f3e1d2 0, transparent 52%), #e9eeec;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans HK', sans-serif;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.glassShell ::selection { background: #f2cbb4; color: #263438; }
.glassShell input, .glassShell textarea { caret-color: var(--desk-accent); }
.glassShell :is(button, input, select, textarea, summary):focus-visible { outline: 2px solid #a44b24; outline-offset: 3px; }
.glassShell button { transition: background-color 160ms ease-out, color 160ms ease-out; }
.glassShell .sidebar {
  padding: 25px 10px 20px;
  gap: 32px;
  background: linear-gradient(160deg, rgba(32, 54, 57, .98), rgba(23, 41, 44, .96));
  color: #e0ebe9;
  border: 0;
}
.glassShell .brand { flex-direction: column; gap: 9px; padding: 0; text-align: center; }
.glassShell .brandMark { width: 36px; height: 36px; flex-basis: 36px; border-radius: 12px; background: #dba884; color: #263b3c; }
.glassShell .brand strong { font-size: 12px; letter-spacing: -.02em; color: #fff; }
.glassShell .brand strong span { display: inline; font-size: 12px; color: #e2b28f; }
.glassShell .brand > div > span { display: block; margin-top: 7px; font-size: 10px; color: #b7ccc9; }
.glassShell .sidebar nav { gap: 12px; }
.glassShell .sidebar nav button { min-height: 66px; padding: 10px 4px; flex-direction: column; gap: 8px; color: #b8cbc8; font-size: 11px; font-weight: 500; border-radius: 12px; }
.glassShell .sidebar nav button:hover { background: rgba(255,255,255,.09); color: white; }
.glassShell .sidebar nav button.active { background: rgba(245,218,197,.13); color: #f4c29c; box-shadow: inset 0 0 0 1px rgba(242,193,155,.16); }
.deskSidebarFoot { margin-top: auto; display: grid; justify-items: center; gap: 10px; color: #bacdc9; font-size: 10px; }
.deskSidebarMonogram { width: 34px; height: 34px; display: grid; place-items: center; background: #486461; color: #eff5f4; border-radius: 50%; text-transform: uppercase; font-size: 14px; }
.glassShell .content { padding: 22px 26px 26px; }
.glassShell .topBar { margin-bottom: 20px; min-height: 48px; }
.glassShell .topBar > div:first-child { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.glassShell .topBar h1 { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.glassShell .topBar p { margin: 0; color: var(--desk-muted); font-size: 12px; }
.glassShell .topActions { gap: 10px; }
.glassShell .topActions .primaryButton { padding: 0 17px; min-height: 40px; font-size: 13px; box-shadow: 0 4px 12px rgba(122,64,35,.12); }
.glassShell .connectionBadge { min-height: 34px; font-size: 11px; background: rgba(246,255,251,.55); padding: 0 9px; color: #326456; }
.glassShell .connectionBadge.offline { color: #844313; background: #fff0da; }
.glassShell .connectionBadge svg { width: 14px; height: 14px; }
.glassShell .userBadge { min-height: 38px; border: 0; background: rgba(255,255,255,.5); border-radius: 10px; padding: 5px 11px; }
.glassShell .userBadge strong { font-size: 12px; }
.glassShell .userBadge small { font-size: 9px; }
.glassShell .primaryButton { background: #ad542c; color: #fff; }
.glassShell .primaryButton:hover { background: #8d3d1e; }
.glassShell .syncAlert { margin-bottom: 16px; }
.bookingDesk { overflow: hidden; border: 1px solid rgba(255,255,255,.83); border-radius: 16px; background: rgba(255,255,255,.57); box-shadow: 0 16px 52px rgba(38,64,59,.09), inset 0 1px 0 #fff; backdrop-filter: blur(24px) saturate(120%); -webkit-backdrop-filter: blur(24px) saturate(120%); }
.deskToolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; padding: 15px 21px; border-bottom: 1px solid var(--desk-line); background: rgba(255,255,255,.35); }
.deskDateControls, .deskToolbarRight, .deskDateInput, .deskViewSwitch, .deskTool { display: flex; align-items: center; }
.deskDateControls { gap: 6px; }
.deskIcon { display: inline-flex; align-items: center; justify-content: center; width: 36px; min-height: 36px; padding: 0; border-radius: 9px; color: var(--desk-muted); background: transparent; flex: 0 0 auto; }
.deskIcon:hover { background: rgba(68,103,94,.09); color: #263438; }
.deskToday { background: transparent; font-size: 12px; font-weight: 650; min-height: 36px; padding: 0 12px; color: var(--desk-ink); white-space: nowrap; flex-shrink: 0; }
.deskDateInput { gap: 9px; padding: 4px 12px; background: rgba(222,233,229,.6); border-radius: 10px; }
.deskDateInput input { width: 138px; padding: 5px 0; border: 0; background: transparent; color: var(--desk-ink); font-size: 15px; font-weight: 650; min-width: 0; min-height: 32px; }
.deskDateInput > span { font-size: 12px; white-space: nowrap; }
.deskToolbarRight { gap: 18px; }
.deskTool { gap: 7px; padding: 0; background: none; color: var(--desk-muted); font-size: 12px; }
.deskViewSwitch { padding: 4px; border-radius: 10px; gap: 4px; background: rgba(220,230,226,.55); }
.deskViewSwitch button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 13px; border-radius: 7px; background: none; color: var(--desk-muted); font-size: 12px; }
.deskViewSwitch button[aria-pressed=true] { background: rgba(255,255,255,.94); color: var(--desk-accent); box-shadow: 0 2px 5px rgba(47,65,59,.08); }
.deskColumns { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: calc(100dvh - 199px); }
.deskEditor { padding: 25px 23px 22px; border-right: 1px solid var(--desk-line); background: rgba(255,255,255,.3); min-width: 0; }
.deskEditorIntro { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.deskEditorIntro h2 { font-size: 17px; font-weight: 650; margin: 0; }
.deskEditorIntro > span { font-size: 10px; color: var(--desk-muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deskFormMode { display: flex; padding: 4px; background: rgba(214,226,220,.48); border-radius: 10px; margin-bottom: 22px; }
.deskFormMode button { flex: 1; min-height: 34px; font-size: 12px; border-radius: 7px; background: none; color: var(--desk-muted); }
.deskFormMode button[aria-pressed=true] { color: var(--desk-ink); background: rgba(255,255,255,.91); box-shadow: 0 2px 5px rgba(47,65,59,.06); font-weight: 600; }
.deskBookingForm.editor { display: grid; padding: 0; gap: 14px; border: 0; background: transparent; box-shadow: none; border-radius: 0; max-width: none; }
.deskBookingForm .deskFormHeader { margin: -10px 0 0; justify-content: flex-end; height: 25px; }
.deskBookingForm .deskFormHeader h2 { display: none; }
.deskBookingForm .deskFormHeader button { width: 25px; height: 25px; min-height: 25px; background: none; color: var(--desk-muted); }
.deskBookingForm label { display: grid; gap: 7px; font-size: 11px; font-weight: 500; color: var(--desk-muted); min-width: 0; }
.deskBookingForm :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 40px; padding: 10px 11px; border: 1px solid rgba(67,92,85,.17); border-radius: 8px; background: rgba(255,255,255,.72); color: var(--desk-ink); font-size: 13px; font-weight: 450; }
.deskBookingForm input::placeholder, .deskBookingForm textarea::placeholder { color: #687b7b; }
.deskBookingForm textarea { resize: vertical; line-height: 1.6; }
.deskBookingForm .fieldGrid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.deskBookingForm .primaryButton { margin-top: 5px; min-height: 44px; border-radius: 9px; font-size: 13px; }
.deskEditorFoot { display: flex; align-items: flex-start; gap: 7px; margin-top: 18px; color: var(--desk-muted); font-size: 10px; line-height: 1.6; }
.deskEditorFoot svg { flex: 0 0 auto; }
.deskBoard { min-width: 0; display: flex; flex-direction: column; }
.deskSummary { display: flex; align-items: center; gap: 25px; padding: 23px 24px; border-bottom: 1px solid var(--desk-line); }
.deskSummary > div { display: flex; align-items: baseline; gap: 7px; }
.deskSummary strong { font-size: 23px; line-height: 1; font-weight: 600; }
.deskSummary span { font-size: 11px; color: var(--desk-muted); }
.deskSummary > .deskIcon { margin-left: auto; }
.statusDot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; align-self: center; }
.statusDot.pending { background: #b27637; }
.statusDot.seated { background: #457a67; }
.deskListControls { display: flex; justify-content: space-between; align-items: center; padding: 7px 24px 0; border-bottom: 1px solid var(--desk-line); }
.deskTabs { display: flex; gap: 27px; }
.deskTabs button { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0; border-radius: 0; background: none; color: var(--desk-muted); font-size: 13px; border-bottom: 2px solid transparent; }
.deskTabs button[aria-pressed=true] { color: var(--desk-accent); border-bottom-color: var(--desk-accent); font-weight: 650; }
.deskTabs button span { font-size: 10px; border-radius: 5px; padding: 2px 5px; background: rgba(48,83,73,.06); color: var(--desk-muted); }
.deskTabs button[aria-pressed=true] span { color: var(--desk-accent); background: var(--desk-accent-soft); }
.deskMobileAdd { display: none; }
.deskFilterBar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 17px 24px 12px; }
.deskSearch { display: flex; align-items: center; gap: 8px; min-width: 170px; flex: 1 1 170px; color: var(--desk-muted); padding: 0 10px; border: 1px solid var(--desk-line); border-radius: 8px; background: rgba(255,255,255,.55); }
.deskSearch input { border: 0; background: transparent; font-size: 12px; padding: 10px 0; min-height: 36px; width: 100%; min-width: 0; color: var(--desk-ink); }
.deskSearch input::placeholder { color: #627573; }
.deskSearch button { display: flex; align-items: center; background: none; color: var(--desk-muted); min-height: 28px; padding: 0; }
.deskFilterBar > select, .deskSelect select { padding: 8px 7px; background: rgba(255,255,255,.55); border: 1px solid var(--desk-line); border-radius: 8px; min-height: 36px; color: var(--desk-muted); font-size: 11px; max-width: 120px; }
.deskSelect { display: flex; align-items: center; gap: 4px; }
.deskSelect > svg { display: none; }
.deskListCaption { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 0 24px 15px; color: var(--desk-muted); font-size: 10px; }
.deskListCaption label { display: flex; align-items: center; gap: 5px; }
.deskListCaption select { background: transparent; border: 0; color: var(--desk-muted); font-size: 10px; padding: 4px 0; min-height: 28px; }
.deskTimeHeading { display: flex; align-items: center; gap: 18px; min-height: 33px; padding: 6px 24px; background: rgba(211,224,219,.62); color: #506765; }
.deskTimeHeading h3 { display: flex; align-items: center; gap: 7px; font-size: 11px; margin: 0; font-weight: 650; }
.deskTimeHeading > span { font-size: 10px; }
.deskTimeHeading small { margin-left: auto; font-size: 10px; color: #78471f; }
.deskGuest { padding: 18px 24px 16px; border-bottom: 1px solid var(--desk-line); background: rgba(255,255,255,.23); }
.deskGuest:hover { background: rgba(255,255,255,.52); }
.deskGuest.isSelected { background: rgba(249,231,219,.6); }
.deskGuest.cancelled { background: rgba(243,240,236,.4); }
.deskGuestMain { display: grid; grid-template-columns: minmax(130px, 1fr) 52px minmax(82px, 120px) 92px 26px; align-items: center; gap: 13px; }
.deskGuestIdentity { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 0; background: none; color: var(--desk-ink); text-align: left; min-width: 0; }
.deskAvatar { display: grid; place-items: center; position: relative; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 50%; background: #e0e7e1; color: #4e6860; font-size: 14px; font-weight: 550; box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.deskAvatar > span { position: absolute; right: -2px; bottom: -1px; display: grid; place-items: center; width: 16px; height: 16px; border: 2px solid #f3f6f1; background: #778e87; color: white; border-radius: 50%; }
.deskAvatar.fromWhatsapp > span { background: #377d62; }
.deskGuestIdentity > span:last-child { display: grid; gap: 4px; min-width: 0; }
.deskGuestIdentity strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.4; }
.deskGuestIdentity small { color: var(--desk-muted); font-size: 11px; overflow-wrap: anywhere; }
.deskGuestCovers { display: flex; align-items: baseline; gap: 4px; }
.deskGuestCovers strong { color: var(--desk-accent); font-size: 30px; font-weight: 450; line-height: 1; }
.deskGuestCovers small { color: var(--desk-muted); font-size: 10px; }
.deskTableLabel { justify-self: start; min-height: 35px; padding: 8px 10px; border-radius: 7px; background: transparent; border: 1px dashed rgba(80,106,101,.3); color: var(--desk-muted); font-size: 11px; max-width: 120px; overflow-wrap: anywhere; }
.deskTableLabel.assigned { border: 1px solid #cad9d2; background: rgba(242,248,243,.65); color: #345b4c; }
.deskTableLabel:disabled { opacity: 1; }
.deskGuestTime { display: grid; gap: 6px; justify-items: end; }
.deskGuestTime > strong { font-size: 18px; font-weight: 600; }
.deskStatus { font-size: 10px; white-space: nowrap; color: #536968; }
.deskStatus.pending { color: #915d1f; }
.deskStatus.accepted { color: #356850; }
.deskStatus.seated { color: #27647b; }
.deskStatus.cancelled { color: #945255; }
.deskExpand { width: 26px; }
.deskGuestNotes { display: flex; align-items: baseline; gap: 8px; padding-left: 51px; margin-top: 10px; font-size: 10px; color: var(--desk-muted); }
.deskGuestNotes > span { display: inline-flex; align-items: center; gap: 4px; background: rgba(78,132,100,.09); padding: 3px 6px; color: #3b6651; border-radius: 4px; white-space: nowrap; }
.deskGuestNotes p { margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.deskGuestDetail { padding-top: 17px; }
.deskGuestDetail > p { font-size: 11px; color: var(--desk-muted); overflow-wrap: anywhere; }
.deskRowActions { display: flex; flex-wrap: wrap; gap: 7px; }
.deskRowActions button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; font-size: 11px; min-height: 34px; color: #355b4c; background: rgba(218,233,222,.65); border-radius: 7px; }
.deskRowActions .deskDanger { color: #944139; background: #f7e5de; }
.deskCancelPrompt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; }
.deskCancelPrompt button { min-height: 34px; padding: 0 10px; background: #f5e1d6; color: #8b4427; font-size: 11px; }
.deskFeedback { padding: 10px; margin: 12px 0 0; background: #e4f0e7; color: #2f624a; border-radius: 6px; font-size: 12px; overflow-wrap: anywhere; }
.deskFeedback.isError { background: #fae6df; color: #934033; }
.deskEmpty { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; min-height: 290px; padding: 36px 24px; color: var(--desk-muted); text-align: center; }
.deskEmpty > svg { color: #729089; margin-bottom: 5px; }
.deskEmpty h3 { font-size: 16px; margin: 0; font-weight: 550; color: var(--desk-ink); }
.deskEmpty p { margin: 0; font-size: 12px; line-height: 1.7; max-width: 36ch; }
.deskEmpty button { background: #e4ece6; color: #47685b; padding: 8px 14px; min-height: 34px; font-size: 11px; }
.deskBoardFoot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; color: var(--desk-muted); font-size: 10px; }
.deskBoardFoot button { display: inline-flex; align-items: center; gap: 7px; background: none; color: #46695c; min-height: 30px; padding: 0; font-size: 11px; }
.deskTables { padding: 22px 24px; }
.deskTableToolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deskTableToolbar h3 { font-size: 16px; margin: 0 0 5px; }
.deskTableToolbar p { color: var(--desk-muted); font-size: 11px; margin: 0; }
.deskTableToolbar label { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--desk-muted); white-space: nowrap; }
.deskTableToolbar input { padding: 6px; border: 1px solid var(--desk-line); border-radius: 7px; color: var(--desk-ink); background: rgba(255,255,255,.65); }
.deskTableLegend { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 18px; font-size: 11px; color: var(--desk-muted); }
.deskTableLegend span { display: inline-flex; align-items: center; gap: 5px; }
.deskTableLegend i { width: 7px; height: 7px; border-radius: 50%; }
.legendAvailable { background: #85958c; }.legendReserved { background: #b3824b; }.legendSeated { background: #56886f; }
.deskTableZone { margin-bottom: 28px; }
.deskTableZone h4 { font-size: 12px; margin: 0 0 14px; }.deskTableZone h4 span { margin-left: 8px; color: var(--desk-muted); font-size: 10px; font-weight: 400; }
.deskTableGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px,1fr)); gap: 14px; }
.deskTableTile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 136px; padding: 16px 12px; background: rgba(245,249,246,.75); border: 1px solid #cedad2; border-radius: 12px; color: #476255; box-shadow: inset 0 0 0 4px rgba(255,255,255,.6); }
.deskTableTile:disabled { opacity: 1; cursor: default; }.deskTableTile.accepted { background: #f4e9d9; color: #835727; border-color: #d6ba92; }.deskTableTile.seated { background: #dcebdd; color: #365c43; border-color: #94b39b; }
.deskTableTile strong { font-size: 16px; overflow-wrap: anywhere; }.deskTableTile > span { font-size: 14px; }.deskTableTile small { font-size: 12px; overflow-wrap: anywhere; }.deskTableTile.room { border-radius: 7px; }
.deskHint { color: var(--desk-muted); font-size: 11px; line-height: 1.7; margin: 18px 0 0; }
.deskHistory { width: min(550px, calc(100vw - 36px)); max-height: 85dvh; border: 1px solid #fff; border-radius: 16px; background: rgba(248,251,247,.95); backdrop-filter: blur(24px); padding: 25px; color: #263438; box-shadow: 0 20px 80px rgba(20,43,37,.2); }
.deskHistory::backdrop { background: rgba(26,46,42,.38); backdrop-filter: blur(5px); }
.deskHistory header { display: flex; justify-content: space-between; gap: 16px; }.deskHistory h2 { font-size: 20px; margin-bottom: 8px; }.deskHistory header p { color: #596b70; font-size: 13px; }.deskHistorySummary { font-size: 12px; color: #47685b; padding: 14px 0; border-block: 1px solid #dce4de; line-height: 1.7; }
.deskHistoryRows article { padding: 17px 0; border-bottom: 1px solid #dce4de; }.deskHistoryRows article > div { display: flex; justify-content: space-between; gap: 10px; }.deskHistoryRows strong { font-size: 13px; }.deskHistoryRows p { margin: 9px 0 0; font-size: 12px; color: #596b70; overflow-wrap: anywhere; line-height: 1.7; }
.deskOperations[hidden] { display: none !important; }.deskBack { margin-bottom: 16px; }.glassShell .deskOperations .reservationPanel { background: rgba(255,255,255,.73); backdrop-filter: blur(20px); border: 1px solid #fff; border-radius: 16px; }.glassShell .deskOperations .reservationTabs button { border-radius: 8px; }.glassShell .deskOperations .reservationTabs button[aria-pressed=true] { background: #345c52; color: #fff; }
@media (min-width: 1600px) {
  .glassShell .content { padding: 28px 36px; }.deskColumns { grid-template-columns: 320px minmax(0,1fr); }.deskEditor { padding-inline: 28px; }.deskGuest { padding-block: 22px; }.deskGuestIdentity strong { font-size: 16px; }.deskGuestIdentity small { font-size: 12px; }
}
@media (max-width: 1180px) {
  .glassShell { grid-template-columns: 86px minmax(0,1fr); }.glassShell .content { padding: 18px; }.glassShell .sidebar { padding-inline: 7px; }.glassShell .brand strong, .glassShell .brand strong span { font-size: 10px; }.deskColumns { grid-template-columns: 248px minmax(0,1fr); }.deskEditor { padding: 22px 17px; }.deskGuestMain { grid-template-columns: minmax(115px,1fr) 40px 84px 78px 20px; gap: 10px; }.deskGuest { padding-inline: 18px; }.deskSummary { gap: 17px; padding-inline: 18px; }.deskSummary strong { font-size: 21px; }.deskSummary span { font-size: 10px; }.deskToolbar { padding-inline: 17px; }.deskToolbarRight { gap: 12px; }.deskViewSwitch button { padding-inline: 10px; }.deskFilterBar { padding-inline: 18px; }.deskListControls, .deskListCaption { padding-inline: 18px; }.glassShell .topBar p { display: none; }.glassShell .connectionBadge { max-width: 140px; }.deskGuestIdentity { gap: 9px; }.deskAvatar { width: 34px; height: 34px; flex-basis: 34px; }
}
@media (max-width: 950px) {
  .glassShell .topActions .connectionBadge { font-size: 0; max-width: 32px; padding: 0; width: 32px; justify-content: center; }.deskToolbar { gap: 10px; }.deskToolbarRight { margin-left: auto; }.deskDateInput { padding-inline: 7px; gap: 6px; }.deskDateInput input { width: 130px; }.deskSummary { flex-wrap: wrap; gap: 13px; padding-block: 18px; }.deskSummary > div { gap: 5px; }.deskSummary strong { font-size: 18px; }.deskGuestMain { grid-template-columns: minmax(120px,1fr) 40px 84px 24px; }.deskTableLabel { grid-column: 1; grid-row: 2; margin-left: 43px; min-height: 27px; padding-block: 5px; }.deskGuestTime { grid-column: 3; grid-row: 1; }.deskExpand { grid-column: 4; grid-row: 1; }.deskGuestNotes { padding-left: 43px; }.deskBoardFoot { flex-wrap: wrap; }.deskFilterBar { gap: 6px; }.deskFilterBar .deskSearch { flex-basis: 100%; }.deskTabs { gap: 18px; }
}
@media (max-width: 760px) {
  .glassShell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 100dvh; }.glassShell .sidebar { flex-direction: row; align-items: center; gap: 15px; padding: 9px 14px; border: 0; }.glassShell .brand { flex-direction: row; }.glassShell .brandMark { width: 31px; height: 31px; flex-basis: 31px; border-radius: 9px; }.glassShell .brand > div { display: none; }.glassShell .sidebar nav { display: flex; flex: 1; gap: 5px; justify-content: space-between; }.glassShell .sidebar nav button { min-height: 42px; padding: 7px 8px; gap: 4px; font-size: 9px; border-radius: 8px; }.glassShell .sidebar nav button svg { width: 17px; height: 17px; }.deskSidebarFoot { display: none; }.glassShell .content { padding: 15px 12px 25px; }.glassShell .topBar { gap: 8px; margin-bottom: 14px; min-height: 38px; align-items: center; }.glassShell .topBar h1 { font-size: 21px; }.glassShell .topActions { gap: 6px; }.glassShell .topActions .primaryButton { font-size: 11px; min-height: 36px; padding: 0 10px; gap: 4px; }.glassShell .topActions .primaryButton svg { width: 16px; }.glassShell .userBadge { display: none; }.bookingDesk { border-radius: 13px; }.deskToolbar { padding: 12px; gap: 10px; }.deskDateControls { width: 100%; justify-content: space-between; gap: 2px; }.deskDateInput { padding: 4px 8px; }.deskDateInput input { width: 133px; font-size: 14px; }.deskDateInput > span { font-size: 11px; }.deskDateControls .deskIcon { width: 28px; min-height: 36px; }.deskToday { padding-inline: 7px; }.deskToolbarRight { width: 100%; justify-content: space-between; }.deskColumns { display: flex; flex-direction: column; min-height: 65dvh; }.deskEditor { display: none; padding: 20px; border-right: 0; border-bottom: 1px solid var(--desk-line); }.deskEditor.mobileOpen { display: block; }.deskBookingForm { max-width: 500px !important; margin: auto; }.deskEditorIntro { max-width: 500px; margin-inline: auto; }.deskFormMode { max-width: 500px; margin-inline: auto; }.deskEditorFoot { justify-content: center; }.deskSummary { padding: 17px 14px; gap: 14px; }.deskSummary > div { gap: 4px; }.deskSummary strong { font-size: 19px; }.deskSummary > .deskIcon { display: none; }.deskSummary span { font-size: 9px; }.deskListControls { padding-inline: 14px; }.deskTabs { gap: 17px; }.deskTabs button { font-size: 12px; gap: 4px; }.deskMobileAdd { display: flex; align-items: center; gap: 3px; min-height: 34px; padding: 5px 8px; background: rgba(237,221,207,.5); color: #93471f; font-size: 10px; }.deskFilterBar { padding: 14px 14px 10px; }.deskSearch input { min-height: 40px; }.deskFilterBar > select, .deskSelect select { min-height: 38px; max-width: 120px; }.deskListCaption { padding: 0 14px 13px; }.deskTimeHeading { padding-inline: 14px; }.deskGuest { padding: 17px 14px; }.deskGuestMain { grid-template-columns: minmax(110px,1fr) 32px 72px 22px; gap: 7px; }.deskAvatar { width: 33px; height: 33px; flex-basis: 33px; }.deskGuestIdentity { gap: 8px; }.deskGuestIdentity strong { font-size: 13px; }.deskGuestIdentity small { font-size: 10px; }.deskGuestCovers { gap: 2px; }.deskGuestCovers strong { font-size: 25px; }.deskGuestTime > strong { font-size: 17px; }.deskGuestTime .deskStatus { font-size: 9px; }.deskTableLabel { margin-left: 41px; font-size: 10px; }.deskGuestNotes { padding-left: 41px; align-items: flex-start; }.deskGuestNotes > span { font-size: 9px; }.deskGuestNotes p { font-size: 10px; }.deskBoardFoot { padding-inline: 14px; gap: 8px; }.deskBoardFoot > span { font-size: 9px; }.deskBoardFoot button { font-size: 10px; }.deskRowActions button { min-height: 40px; }.deskTables { padding: 18px 14px; }.deskTableGrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.deskHistory { padding: 20px; }.deskHistory h2 { font-size: 18px; }
}
.bookingShell .content { display: flex; flex-direction: column; overflow: hidden; }
.bookingShell .topBar { flex: 0 0 auto; }
.bookingShell .bookingDesk { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.bookingShell .deskColumns { flex: 1; min-height: 0; overflow: hidden; }
.bookingShell .deskEditor { overflow-y: auto; }
.bookingShell .deskBoard { min-height: 0; }
.bookingShell .deskGuestList, .bookingShell .deskTables { flex: 1; min-height: 0; overflow-y: auto; }
.bookingShell .deskOperations { overflow-y: auto; }
.deskBookingForm label { font-size: 12px; }
.deskBookingForm :is(input, select, textarea) { font-size: 14px; }
.deskEditorIntro > span, .deskEditorFoot { font-size: 11px; }
.deskSummary span, .deskFilterBar :is(input,select), .deskTabs button, .deskToday, .deskTool, .deskViewSwitch button { font-size: 12px; }
.deskListCaption, .deskListCaption select, .deskTimeHeading > span, .deskTimeHeading small, .deskGuestNotes, .deskStatus, .deskBoardFoot, .deskBoardFoot button { font-size: 12px; }
.deskListCaption label { white-space: nowrap; }
.deskGuestIdentity strong { font-size: 16px; }
.deskGuestIdentity small, .deskTableLabel, .deskRowActions button, .deskGuestDetail > p { font-size: 13px; }
.deskTimeHeading h3 { font-size: 12px; }
.deskSaveNotice { display: flex; align-items: center; gap: 7px; margin: 0; padding: 10px 20px; background: #dfeee3; color: #305b44; font-size: 12px; }
@media (min-width: 761px) { .deskBookingForm .deskFormHeader.isNew { display: none; } }
@media (max-width: 1180px) { .deskGuestIdentity strong { font-size: 15px; }.deskGuestIdentity small { font-size: 12px; }.deskListCaption, .deskListCaption select { font-size: 11px; }.deskFilterBar > select, .deskSelect select { font-size: 11px; }.deskSummary span { font-size: 11px; }.deskSummary { gap: 14px; }.deskBookingForm .fieldGrid { grid-template-columns: minmax(0,1fr); }.deskBookingForm .fieldGrid:has(input[type=number]) { grid-template-columns: minmax(0,.6fr) minmax(0,1fr); } }
@media (max-width: 760px) {
  .bookingShell .content { display: block; overflow-y: auto; }
  .bookingShell .bookingDesk { display: block; }
  .bookingShell .deskColumns { min-height: 65dvh; overflow: visible; }
  .bookingShell .deskEditor, .bookingShell .deskGuestList, .bookingShell .deskTables { overflow: visible; }
  .glassShell .topBar { flex-direction: row; text-align: left; }
  .glassShell .sidebar nav button span { display: block; }
  .deskSummary { gap: 12px; }.deskSummary span { font-size: 10px; }.deskSummary strong { font-size: 18px; }
  .deskBookingForm .fieldGrid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .deskGuestNotes { font-size: 11px; }.deskGuestNotes p, .deskGuestNotes > span { font-size: 11px; }.deskGuestIdentity strong { font-size: 14px; }.deskGuestIdentity small { font-size: 11px; }.deskTableLabel { font-size: 11px; }.deskListCaption, .deskListCaption select { font-size: 10px; }.deskListCaption label { white-space: normal; }.deskBoardFoot, .deskBoardFoot button { font-size: 10px; }.deskGuestTime .deskStatus { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .glassShell *, .glassShell *::before, .glassShell *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 360px) { .deskDateInput > span { display: none; }.deskDateInput { padding-inline: 5px; gap: 4px; }.deskDateInput input { width: 122px; }.deskDateInput > svg { display: none; }.deskListCaption label { white-space: nowrap; }.deskListCaption { align-items: flex-start; flex-direction: column; }.deskToday { padding-inline: 5px; } }
@supports not (backdrop-filter: blur(1px)) { .bookingDesk { background: #f3f6f1; }.deskHistory { background: #f8fbf7; } }
.deskToolbar > .deskSummary { flex: 1; flex-wrap: nowrap; justify-content: center; gap: 16px; padding: 0; border: 0; min-width: 0; }
.deskToolbar > .deskSummary > div { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 4px; white-space: nowrap; }
.deskToolbar > .deskSummary strong { grid-column: 2; text-align: center; font-size: 21px; }
.deskToolbar > .deskSummary span { grid-column: 1 / -1; text-align: center; font-size: 11px; }
.deskToolbar > .deskSummary > .deskIcon { display: inline-flex; margin-left: 0; width: 30px; }
.bookingShell .deskBoardFoot { padding-block: 10px; }
@media (max-width: 1180px) {
  .deskToolbar > .deskSummary { order: 2; flex-basis: 100%; gap: 24px; }
  .deskToolbar > .deskSummary > div { display: flex; gap: 5px; }
  .deskToolbar > .deskSummary strong { font-size: 19px; }
}
@media (max-width: 760px) {
  .deskToolbar > .deskSummary { justify-content: space-between; gap: 6px; }
  .deskToolbar > .deskSummary > div { display: grid; gap: 3px; }
  .deskToolbar > .deskSummary strong { font-size: 18px; }
  .deskTableToolbar label { display: grid; gap: 5px; }
}
.bookingSurface { display: contents; }
.glassShell {
  --brand-ink: var(--desk-ink);
  --brand-card: rgba(255, 255, 255, .7);
  --brand-gold: #dba884;
}
.operationsDesk {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .83);
  border-radius: 16px;
  background: rgba(255, 255, 255, .57);
  box-shadow: 0 16px 52px rgba(38, 64, 59, .09), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}
.operationsDesk [hidden], .operationsDesk[hidden] { display: none !important; }
.glassShell :is(.content, .operationsDesk *) { scrollbar-width: thin; scrollbar-color: #98afa7 transparent; }
.operationsDesk :is(h2, h3, p) { margin-top: 0; }
.operationsDesk h2 { font-size: 17px; font-weight: 650; line-height: 1.5; }
.operationsDesk h3 { font-size: 15px; font-weight: 600; line-height: 1.5; }
.operationsDesk p { line-height: 1.65; }
.operationsDesk :is(label, .sectionHeader p, .managementDatePanel p, .dashboardHeader p, .menuIntroPanel p, .packagePanel p, .catalogueControls p) { font-size: 12px; font-weight: 500; color: var(--desk-muted); }
.operationsDesk :is(input, select, textarea) { min-width: 0; min-height: 40px; padding: 9px 11px; font-size: 14px; font-weight: 450; border-radius: 8px; border-color: var(--desk-line); background: rgba(255,255,255,.72); color: var(--desk-ink); }
.operationsDesk input::placeholder { color: #687b7b; }
.operationsDesk :is(button, .secondaryButton) { font-weight: 550; }
.operationsDesk :is(.panel, .queue, .editor) { min-width: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 24px; }
.operationsDesk :is(.wide, .menuIntroPanel) { grid-column: 1 / -1; }
.operationsDesk .statsGrid { margin: 0; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--desk-line); background: rgba(255,255,255,.26); }
.operationsDesk .stat { min-height: 92px; gap: 12px; padding: 22px 24px; border: 0; border-right: 1px solid var(--desk-line); border-radius: 0; background: transparent; box-shadow: none; }
.operationsDesk .stat:last-child { border-right: 0; }
.operationsDesk .stat svg { width: 20px; flex-shrink: 0; color: #6a867c; }
.operationsDesk .stat strong { font-size: 26px; font-weight: 600; line-height: 1.2; }
.operationsDesk .stat span { display: block; margin-top: 5px; font-size: 12px; }
.operationsDesk :is(.dashboardTabs, .rosterModeBar, .calendarScopeButtons, .shiftQuickChoices) { display: flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: 10px; background: rgba(220,230,226,.55); }
.operationsDesk :is(.dashboardTabs, .rosterModeBar, .calendarScopeButtons, .shiftQuickChoices) button { min-height: 36px; padding: 7px 13px; border-radius: 7px; font-size: 12px; background: transparent; color: var(--desk-muted); }
.operationsDesk :is(.dashboardTabs, .rosterModeBar, .calendarScopeButtons, .shiftQuickChoices) button.active { background: rgba(255,255,255,.94); color: var(--desk-accent); box-shadow: 0 2px 5px rgba(47,65,59,.08); }
.operationsDesk :is(.iconButton, .packageRemoveButton) { min-width: 36px; width: 36px; height: 36px; min-height: 36px; border-radius: 8px; }
.operationsDesk .iconButton svg { width: 17px; height: 17px; }
.operationsDesk :is(.iconButton.danger, .packageRemoveButton) { color: #934033; background: #fae6df; }
.operationsDesk .emptyState { grid-column: 1 / -1; margin: 0; padding: 38px 16px; color: var(--desk-muted); text-align: center; font-size: 13px; font-weight: 450; }
.operationsDesk .bossGrid { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 0; }
.operationsDesk .managementDatePanel { grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 14px 24px; align-items: center; background: rgba(255,255,255,.3); border-bottom: 1px solid var(--desk-line); }
.operationsDesk .managementDatePanel label { min-width: 0; }
.operationsDesk .rangeFields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.operationsDesk .rangeQuickButtons { grid-column: 2; gap: 6px; }
.operationsDesk .rangeQuickButtons button { min-height: 32px; padding: 5px 12px; font-size: 12px; background: rgba(216,230,223,.5); color: var(--desk-muted); }
.operationsDesk .rangeQuickButtons button:hover { color: var(--desk-accent); background: var(--desk-accent-soft); }
.operationsDesk .dashboardPanel { grid-column: 1; grid-row: 2 / span 2; align-content: start; gap: 20px; border-right: 1px solid var(--desk-line); }
.operationsDesk .dashboardHeader { flex-wrap: wrap; align-items: start; gap: 16px; }
.operationsDesk .dashboardSummaryGrid { gap: 0; border-block: 1px solid var(--desk-line); }
.operationsDesk .dashboardSummaryGrid section { min-height: 78px; padding: 16px 12px; border: 0; border-radius: 0; background: transparent; }
.operationsDesk .dashboardSummaryGrid strong { font-size: 25px; font-weight: 600; }
.operationsDesk .dashboardSummaryGrid span { font-size: 12px; font-weight: 450; }
.operationsDesk .managerDashboardList { grid-template-columns: 1fr; gap: 0; }
.operationsDesk .managerDashboardList article { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 15px 0; border: 0; border-bottom: 1px solid var(--desk-line); border-radius: 0; gap: 14px; }
.operationsDesk .managerDashboardList article strong { font-size: 15px; font-weight: 600; }
.operationsDesk .managerDashboardList article :is(span, em) { font-size: 12px; font-weight: 450; }
.operationsDesk .businessSnapshotPanel { grid-column: 2; border-bottom: 1px solid var(--desk-line); }
.operationsDesk .snapshotRows { gap: 14px; font-size: 13px; }
.operationsDesk .snapshotRows strong { font-size: 21px; font-weight: 600; }
.operationsDesk .periodSummaryPanel { grid-column: 2; }
.operationsDesk .periodGrid { gap: 0; margin: 18px 0 0; border-block: 1px solid var(--desk-line); }
.operationsDesk .periodTile { min-height: 0; gap: 10px; padding: 17px 14px; border: 0; border-right: 1px solid var(--desk-line); border-radius: 0; background: rgba(220,232,225,.22); }
.operationsDesk .periodTile:last-child { border-right: 0; }
.operationsDesk .periodTile strong { font-size: 17px; font-weight: 600; text-align: left; color: var(--desk-ink); }
.operationsDesk .periodMetrics { display: flex; gap: 6px 10px; flex-wrap: wrap; }
.operationsDesk .periodMetrics :is(span, em) { font-size: 12px; font-weight: 450; }
.operationsDesk .periodSummaryPanel .periodGrid { grid-template-columns: 1fr; }
.operationsDesk .periodSummaryPanel .periodTile { grid-template-columns: 40px minmax(0,1fr); align-items: center; border-right: 0; border-bottom: 1px solid var(--desk-line); padding: 14px 0; background: transparent; }
.operationsDesk .periodSummaryPanel .periodTile:last-child { border-bottom: 0; }
.operationsDesk .managerNotesPanel { border-top: 1px solid var(--desk-line); }
.operationsDesk .noteList { gap: 0; }
.operationsDesk .noteList p { border: 0; border-bottom: 1px solid var(--desk-line); border-radius: 0; padding: 16px 0; background: transparent; }
.operationsDesk .noteList :is(strong, span) { font-size: 13px; font-weight: 450; }
.operationsDesk .rosterGrid { margin: 0; gap: 0; align-items: stretch; }
.operationsDesk .rosterGrid.withEditor { grid-template-columns: 290px minmax(0,1fr); }
.operationsDesk .rosterGrid > .editor { grid-column: 1; grid-row: 1; border-right: 1px solid var(--desk-line); background: rgba(255,255,255,.3); align-content: start; }
.operationsDesk .rosterGrid.withEditor > .queue { grid-column: 2; grid-row: 1; }
.operationsDesk .sectionHeader { align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.operationsDesk .sectionHeader label { min-width: 0; width: 180px; }
.operationsDesk .rosterModeBar { width: fit-content; margin-bottom: 20px; }
.operationsDesk .rosterDepartments { margin-top: 24px; gap: 22px; }
.operationsDesk .rosterDepartment h3 { color: var(--desk-muted); font-size: 13px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--desk-line); }
.operationsDesk .rosterEmployeeGrid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px),1fr)); gap: 0 24px; margin: 0; }
.operationsDesk .rosterEmployeeCard { gap: 10px; min-height: 132px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--desk-line); border-radius: 0; background: transparent; }
.operationsDesk .rosterEmployeeCard strong { color: var(--desk-ink); font-size: 16px; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
.operationsDesk .rosterEmployeeCard :is(span, p, em) { font-size: 13px; font-weight: 450; white-space: normal; }
.operationsDesk .rosterEmployeeHeader span { font-size: 11px; color: var(--desk-muted); }
.operationsDesk .rosterEmployeeActions { gap: 5px; }
.operationsDesk .monthlyRosterGrid { grid-template-columns: repeat(auto-fit, minmax(min(100%,380px),1fr)); gap: 24px; }
.operationsDesk .monthlyRosterCard { gap: 14px; border: 0; border-radius: 0; padding: 0; background: transparent; }
.operationsDesk .monthlyRosterHeader { padding-bottom: 12px; border-bottom: 1px solid var(--desk-line); }
.operationsDesk .monthlyRosterHeader strong { font-size: 17px; font-weight: 600; color: var(--desk-ink); white-space: normal; }
.operationsDesk .monthlyRosterHeader span { font-size: 12px; font-weight: 450; margin-top: 5px; }
.operationsDesk .rosterToggleButton { font-size: 12px; min-height: 36px; }
.operationsDesk .monthlyShiftRow, .operationsDesk .rosterGrid.withEditor .monthlyShiftRow { grid-template-columns: minmax(0,1fr) auto; border-radius: 8px; padding: 12px; }
.operationsDesk .monthlyShiftRow > p { grid-column: 1; }
.operationsDesk .monthlyShiftRow .monthlyShiftActions { grid-column: 2; grid-row: 1 / span 2; }
.operationsDesk .monthlyShiftRow :is(strong, p, em) { font-size: 12px; font-weight: 450; color: var(--desk-ink); }
.operationsDesk .monthlyShiftRow :is(strong, p span, p em) { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.operationsDesk .calendarControls { flex-wrap: wrap; }
.operationsDesk .calendarControls label { flex: 1; min-width: 160px; }
.operationsDesk .rosterCalendar { gap: 5px; }
.operationsDesk .calendarWeekday { font-size: 12px; }
.operationsDesk .rosterCalendarCell { min-width: 0; min-height: 114px; border-color: var(--desk-line); background: rgba(255,255,255,.42); }
.operationsDesk .rosterCalendarCell.selected { background: rgba(249,231,219,.6); border-color: #b97552; box-shadow: none; }
.operationsDesk .calendarCellDate { flex-wrap: wrap; gap: 4px; }
.operationsDesk .calendarCellDate strong { font-size: 14px; font-weight: 600; }
.operationsDesk :is(.calendarCellDate span, .calendarMore) { font-size: 11px; font-weight: 450; }
.operationsDesk .rosterCalendarEvent { border: 0; background: rgba(215,231,222,.6); border-radius: 5px; padding: 8px; }
.operationsDesk .rosterCalendarEvent :is(strong, span, em) { font-size: 12px; color: #365c4e; font-weight: 450; }
.operationsDesk .rosterCalendarEvent.compact { padding: 6px; }
.operationsDesk .rosterCalendarEvent.compact :is(strong, span) { font-size: 11px; white-space: normal; overflow-wrap: anywhere; }
.operationsDesk :is(.rosterEmployeeCard, .monthlyShiftRow, .rosterCalendarEvent).offShift { background: #f6e6df; }
.operationsDesk :is(.rosterEmployeeCard, .monthlyShiftRow, .rosterCalendarEvent).offShift :is(strong, span, em, p) { color: #864a38; }
.operationsDesk .calendarDayHeader { background: rgba(220,232,225,.5); border-radius: 8px; padding: 14px; }
.operationsDesk .calendarDayHeader strong { font-size: 18px; }
.operationsDesk .calendarDayHeader span { font-size: 13px; }
.operationsDesk .calendarDayEvents { grid-template-columns: repeat(auto-fit, minmax(min(100%,245px),1fr)); }
.operationsDesk .calendarRoleGroup h3 { font-size: 14px; }
.operationsDesk .menuGrid { gap: 0; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); }
.operationsDesk .menuIntroPanel { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; border-bottom: 1px solid var(--desk-line); background: rgba(255,255,255,.3); }
.operationsDesk .menuIntroPanel > div:first-child { flex: 1 1 250px; }
.operationsDesk .menuIntroPanel .deskViewSwitch { flex: 0 1 auto; }
.menuSelectionCount { padding: 2px 5px; border-radius: 5px; background: rgba(90,119,104,.09); font-size: 11px; }
.menuResultCount { margin-left: 8px; font-size: 12px; font-weight: 450; color: var(--desk-muted); }
.operationsDesk .packagePanel { border-right: 1px solid var(--desk-line); align-content: start; }
.operationsDesk .bomPanel { align-content: start; }
.operationsDesk .packageInputs { grid-template-columns: repeat(2,minmax(0,1fr)); min-width: 0; }
.operationsDesk .packageInputs label { width: auto; }
.operationsDesk .packageSummary { gap: 0; border-block: 1px solid var(--desk-line); }
.operationsDesk .packageSummary section { padding: 15px 12px; min-height: 76px; border: 0; border-radius: 0; background: transparent; }
.operationsDesk .packageSummary strong { font-size: 22px; font-weight: 600; color: var(--desk-ink); }
.operationsDesk .packageSummary .negative { color: #934033; }
.operationsDesk .packageSummary span { font-size: 12px; font-weight: 450; }
.operationsDesk .packageEditControls { gap: 10px; }
.operationsDesk .packageEditControls button { padding: 0 12px; font-size: 12px; }
.operationsDesk .customDishBuilder { grid-template-columns: minmax(0,1fr) minmax(0,.65fr); padding: 18px 0; border: 0; border-block: 1px solid var(--desk-line); border-radius: 0; background: transparent; }
.operationsDesk .customDishBuilder h3 { font-size: 15px; }
.operationsDesk .customDishBuilder p { font-size: 12px; }
.operationsDesk .customDishBuilder button { font-size: 13px; }
.operationsDesk .recommendedMenuList { gap: 0; }
.operationsDesk .recommendedMenuList article { grid-template-columns: minmax(0,1fr) auto auto; gap: 12px; border: 0; border-bottom: 1px solid var(--desk-line); border-radius: 0; padding: 17px 0; background: transparent; }
.operationsDesk .recommendedMenuList article > div:first-child { grid-column: 1 / -1; }
.operationsDesk .recommendedMenuList :is(strong, em) { font-size: 15px; font-weight: 600; }
.operationsDesk :is(.recommendedMenuList span, .recommendedMenuList small, .departmentCostList span, .bomDetailList small, .bomDetailList p) { font-size: 12px; font-weight: 450; line-height: 1.6; }
.operationsDesk .packageQuantityControl { justify-self: start; grid-template-columns: 32px minmax(0,auto) 32px; }
.operationsDesk .packageQuantityControl button { font-size: 18px; }
.operationsDesk .packageQuantityControl span { font-size: 12px; padding: 0 6px; }
.operationsDesk .packageMarketPrice { grid-template-columns: minmax(0,.55fr) minmax(0,1fr); }
.operationsDesk .departmentCostList { gap: 0; }
.operationsDesk .departmentCostList article { align-items: start; flex-wrap: wrap; border: 0; border-bottom: 1px solid var(--desk-line); border-radius: 0; padding: 14px 0; background: transparent; gap: 8px; }
.operationsDesk .departmentCostList :is(strong, em) { font-size: 14px; font-weight: 550; }
.operationsDesk .bomDetailList { max-height: none; gap: 0; overflow: visible; }
.operationsDesk .bomDetailList section { padding: 17px 0; border-bottom: 1px solid var(--desk-line); background: transparent; border-radius: 0; }
.operationsDesk .bomDetailList h3 { font-size: 14px; }
.operationsDesk .bomDetailList p { flex-wrap: wrap; gap: 4px; }
.operationsDesk .bomDetailList em { white-space: normal; }
.operationsDesk .catalogueControls { flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--desk-line); }
.operationsDesk .catalogueFilters { grid-template-columns: minmax(100px,.7fr) minmax(0,1fr); min-width: 0; flex: 0 1 420px; }
.operationsDesk .menuCatalogueGrid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 28px; }
.operationsDesk .menuItemCard { gap: 9px; min-height: 0; padding: 22px 0; border: 0; border-bottom: 1px solid var(--desk-line); border-radius: 0; background: transparent; }
.operationsDesk .menuItemTop { grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 7px; }
.operationsDesk .menuItemTop > span { grid-column: 1 / -1; }
.operationsDesk .menuItemTop strong { grid-column: 1; grid-row: 2; }
.operationsDesk .menuItemTop em { grid-column: 2; grid-row: 2; }
.operationsDesk .menuItemTop strong { font-size: 16px; font-weight: 600; line-height: 1.6; }
.operationsDesk .menuItemTop span { font-size: 11px; font-weight: 500; color: var(--desk-muted); }
.operationsDesk .menuItemTop em { font-size: 15px; font-weight: 600; white-space: nowrap; }
.operationsDesk .menuItemCard :is(p, small) { font-size: 12px; font-weight: 450; line-height: 1.6; }
.operationsDesk .menuItemMeta span { font-size: 11px; font-weight: 450; padding: 4px 7px; border-radius: 5px; background: rgba(220,232,225,.5); }
.operationsDesk .menuItemAddButton { min-height: 36px; padding: 0 11px; font-size: 12px; }
.operationsDesk .menuItemAddButton:disabled { background: rgba(216,228,221,.7); color: #3c6253; opacity: 1; }
.deskOperations.operationsDesk { padding: 20px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.deskOperations .deskBack { margin-bottom: 16px; }
.operationsDesk .reservationTabs button { background: rgba(255,255,255,.6); border-color: var(--desk-line); }
.operationsDesk .reservationTabs button[aria-pressed=true] { background: var(--desk-accent-soft); color: var(--desk-accent); border-color: #d6b19a; }
.operationsDesk .reservationPanel button.reservationPrimary { background: var(--desk-accent); border-color: var(--desk-accent); color: #fff; }
.operationsDesk .reservationPanel button:focus-visible { outline: 2px solid var(--desk-accent); outline-offset: 3px; }
.operationsDesk .reservationRuleSection { background: rgba(255,255,255,.3); border-color: var(--desk-line); }
@media (min-width: 761px) {
  .operationsDesk .rosterGrid > .editor { position: sticky; top: 0; align-self: start; max-height: calc(100dvh - 140px); overflow-y: auto; }
}
@media (max-width: 1180px) {
  .operationsDesk .managementDatePanel { grid-template-columns: 1fr; }
  .operationsDesk .rangeQuickButtons { grid-column: 1; }
  .operationsDesk .bossGrid { grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr); }
  .operationsDesk .rosterGrid.withEditor { grid-template-columns: 250px minmax(0,1fr); }
  .operationsDesk .rosterGrid > .editor { padding: 20px 16px; }
  .operationsDesk .shiftQuickChoices { gap: 2px; }
  .operationsDesk .shiftQuickChoices button { flex: 1; padding-inline: 5px; }
  .operationsDesk .stat { padding: 20px 16px; }
  .operationsDesk .menuCatalogueGrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .operationsDesk .menuGrid { grid-template-columns: minmax(0,1fr) minmax(260px,.8fr); }
}
@media (max-width: 950px) {
  .operationsDesk .bossGrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .operationsDesk .dashboardPanel { grid-column: 1 / -1; grid-row: auto; border-right: 0; border-bottom: 1px solid var(--desk-line); }
  .operationsDesk .businessSnapshotPanel { grid-column: 1; border-right: 1px solid var(--desk-line); border-bottom: 0; }
  .operationsDesk .menuGrid { grid-template-columns: 1fr; }
  .operationsDesk .packagePanel { border-right: 0; border-bottom: 1px solid var(--desk-line); }
  .operationsDesk .rosterGrid.withEditor { grid-template-columns: 230px minmax(0,1fr); }
  .operationsDesk .rosterGrid.withEditor .periodGrid { grid-template-columns: 1fr; }
  .operationsDesk .rosterGrid.withEditor .periodTile { grid-template-columns: 32px minmax(0,1fr); border-right: 0; border-bottom: 1px solid var(--desk-line); padding: 12px; }
  .operationsDesk .catalogueControls { align-items: stretch; flex-direction: column; }
  .operationsDesk .catalogueFilters { width: 100%; flex: 0 0 auto; }
}
@media (min-width: 761px) and (max-width: 920px) {
  .glassShell .sidebar { flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .glassShell .sidebar nav { grid-auto-flow: row; }
  .glassShell .sidebar nav button { width: auto; }
  .glassShell .sidebar nav button span { display: block; }
}
@media (max-width: 760px) {
  .operationsShell .content { min-height: 0; }
  .operationsShell .topBar { flex-wrap: wrap; }
  .operationsDesk { border-radius: 13px; }
  .operationsDesk :is(.panel, .queue, .editor) { padding: 20px 16px; }
  .operationsDesk .sectionHeader { align-items: flex-start; text-align: left; }
  .operationsDesk .statsGrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .operationsDesk .stat { min-height: 78px; padding: 16px; }
  .operationsDesk .stat:nth-child(2) { border-right: 0; }
  .operationsDesk .stat:nth-child(-n+2) { border-bottom: 1px solid var(--desk-line); }
  .operationsDesk .stat strong { font-size: 23px; }
  .operationsDesk .bossGrid { grid-template-columns: 1fr; }
  .operationsDesk :is(.dashboardPanel, .businessSnapshotPanel, .periodSummaryPanel) { grid-column: 1; border-right: 0; }
  .operationsDesk .businessSnapshotPanel { border-bottom: 1px solid var(--desk-line); }
  .operationsDesk .rangeFields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .operationsDesk .rangeFields label:last-child { grid-column: 1 / -1; }
  .operationsDesk .dashboardTabs { width: 100%; }
  .operationsDesk .dashboardTabs button { flex: 1; padding-inline: 6px; }
  .operationsDesk .dashboardSummaryGrid section { padding-inline: 6px; }
  .operationsDesk .dashboardSummaryGrid strong { font-size: 23px; }
  .operationsDesk .rosterGrid.withEditor { display: flex; flex-direction: column; }
  .operationsDesk .rosterGrid > .editor { order: -1; border-right: 0; border-bottom: 1px solid var(--desk-line); }
  .operationsDesk .periodGrid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .operationsDesk .periodTile { padding: 12px 9px; }
  .operationsDesk .rosterGrid .periodMetrics { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .operationsDesk .rosterCalendar { gap: 3px; }
  .operationsDesk .rosterCalendarCell { min-height: 96px; padding: 5px 2px; border-radius: 5px; }
  .operationsDesk .calendarCellDate { justify-content: center; }
  .operationsDesk .calendarCellDate :is(strong, span) { font-size: 10px; }
  .operationsDesk .rosterCalendarEvent.compact { padding: 5px 2px; }
  .operationsDesk .rosterCalendarEvent.compact :is(strong, span) { font-size: 10px; }
  .operationsDesk .weekCalendar { grid-template-columns: 1fr; }
  .operationsDesk .weekCalendar .rosterCalendarCell { padding: 14px; }
  .operationsDesk .weekCalendar .calendarCellDate { justify-content: space-between; }
  .operationsDesk .weekCalendar .calendarCellDate :is(strong, span) { font-size: 13px; }
  .operationsDesk .weekCalendar .calendarCellEvents { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .operationsDesk .menuIntroPanel .deskViewSwitch { width: 100%; }
  .operationsDesk .menuIntroPanel .deskViewSwitch button { flex: 1; padding-inline: 8px; }
  .operationsDesk .menuCatalogueGrid { grid-template-columns: 1fr; }
  .operationsDesk .catalogueFilters { flex-basis: auto; }
  .operationsDesk .packageSummary section { padding-inline: 6px; }
  .operationsDesk .packageSummary strong { font-size: 20px; }
  .operationsDesk .packageEditControls { grid-template-columns: 1fr; }
  .operationsDesk .packageMarketPrice { grid-template-columns: 1fr; }
  .operationsDesk .customDishBuilder { grid-template-columns: 1fr; }
  .deskOperations.operationsDesk { padding: 16px 12px; }
}
@supports not (backdrop-filter: blur(1px)) { .operationsDesk { background: #f3f6f1; } }
