/* Three synchronized screens for the sample order walkthrough. */
.demo-section .demo-scene-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 17px 20px;
  border: 2px solid var(--navy);
  border-bottom: 0;
  background: #f0d88b;
}
.demo-scene-live { display: flex; align-items: center; gap: 10px; color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; font-weight: 900; letter-spacing: .07em; }
.demo-scene-live small { padding-left: 13px; border-left: 1px solid var(--navy); color: #566b60; font-family: "Trebuchet MS", Arial, sans-serif; font-size: .73rem; font-weight: 650; letter-spacing: 0; }
.demo-live-pulse, .status-workspace-live i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #3e9971; box-shadow: 0 0 0 4px rgba(62,153,113,.15); }
.demo-scene-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.demo-scene-actions button { min-height: 36px; padding: 7px 12px; border: 1.5px solid var(--navy); border-radius: 3px; color: var(--navy); background: var(--paper); font-size: .7rem; font-weight: 850; cursor: pointer; }
.demo-scene-actions button:last-child { color: var(--paper); background: var(--navy); }
.demo-scene-actions button:hover { transform: translateY(-2px); }
.demo-section .demo-stage { grid-template-columns: minmax(0,1fr) minmax(0,1.06fr) minmax(0,.94fr); align-items: stretch; gap: clamp(12px,1.5vw,20px); padding: clamp(16px,2vw,28px); }
.demo-stage > div { min-width: 0; }
.demo-stage .stage-label { max-width: none; min-height: 17px; color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .58rem; letter-spacing: .06em; }
.demo-stage .stage-label span:last-child { color: #758d7f; }
.demo-stage .guest-device, .demo-stage .staff-workspace, .demo-stage .status-workspace { width: 100%; min-height: 620px; height: calc(100% - 27px); border: 2px solid var(--navy); border-radius: 3px; background: var(--paper); box-shadow: none; }
.demo-stage .guest-device, .demo-stage .staff-workspace { margin: 0; }
.demo-stage .guest-device-top, .demo-stage .staff-workspace-top, .status-workspace-top { min-height: 54px; padding: 12px 15px; border-bottom: 2px solid var(--navy); }
.demo-stage .guest-device-content { padding: 22px 16px 12px; }
.demo-stage .guest-device h3 { font-size: clamp(1.48rem,2vw,1.9rem); }
.demo-stage .guest-device-content > p:not(.device-eyebrow) { max-width: none; margin-bottom: 16px; }
.demo-stage .guest-device-bottom { gap: 8px; padding: 13px 14px; }
.demo-stage .guest-device-bottom button { min-height: 38px; font-size: .66rem; }
.demo-stage .guest-device-bottom button:disabled { opacity: .8; }
.demo-stage .device-note { max-width: none; margin-top: 9px; font-size: .65rem; }
.demo-stage .demo-product:not(.demo-product--bill) { grid-template-columns: 36px minmax(0, 1fr) auto; }
.demo-stage .demo-product > div:not(.demo-quantity) { min-width: 0; }
.demo-stage .demo-quantity { display: grid; grid-template-columns: 30px 22px 30px; align-items: center; gap: 3px; }
.demo-stage .demo-quantity button { display: grid; place-items: center; width: 30px; min-width: 30px; height: 32px; padding: 0; border: 1.5px solid var(--navy); border-radius: 3px; color: var(--navy); background: #f3dc74; font-size: 1.12rem; line-height: 1; cursor: pointer; }
.demo-stage .demo-quantity button:first-child { background: #fffdf5; }
.demo-stage .demo-quantity button:disabled { opacity: .4; cursor: not-allowed; }
.demo-stage .demo-quantity button:not(:disabled):hover { background: #eeae83; }
.demo-stage .demo-quantity-count { min-width: 0; color: var(--navy); font: 900 .77rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.demo-stage .resort-zone-picker { margin: 0 0 14px; }
.demo-stage .resort-zone-picker select:disabled { opacity: .9; }
.demo-stage .guest-receipt { margin-top: 15px; border: 1.5px solid var(--navy); background: #fffdf5; }
.demo-stage .guest-receipt-top { display: flex; justify-content: space-between; gap: 8px; padding: 11px 12px; border-bottom: 1px dashed #aac4b2; color: #41775d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; font-weight: 900; letter-spacing: .04em; }
.demo-stage .guest-receipt-top strong { color: var(--navy); }
.demo-stage #guest-receipt-items { display: grid; gap: 11px; padding: 17px 12px; }
.demo-stage .guest-receipt-line { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; line-height: 1.3; }
.demo-stage .guest-receipt-line strong { white-space: nowrap; }
.demo-stage .guest-receipt-total { display: flex; justify-content: space-between; gap: 8px; padding: 12px; border-top: 1px solid #c7d6c9; font-size: .75rem; font-weight: 850; }
.demo-stage .demo-status { border: 1px solid #acc7b4; border-radius: 3px; background: #dcebdc; }
.demo-stage .staff-workspace-body { padding: 22px 16px; }
.demo-stage .staff-heading { align-items: center; }
.demo-stage .staff-heading h3 { font-size: clamp(1.38rem,2vw,1.7rem); }
.demo-stage .queue-ticket { padding: 15px; border: 1.5px solid var(--navy); background: #fffdf6; box-shadow: 4px 4px 0 #d8e6d4; }
.demo-stage .queue-ticket h4 { margin: 10px 0 8px; font-size: 1.18rem; }
.demo-stage .queue-ticket p { margin-bottom: 13px; }
.demo-stage .queue-ticket .queue-received { margin: 13px 0 0; color: #6f8a7b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .59rem; font-weight: 800; letter-spacing: .05em; }
.demo-stage .queue-ticket .queue-route { margin: 0 0 13px; }
.demo-stage .queue-order-total { display: flex; justify-content: space-between; align-items: center; margin: 0 0 16px; padding-top: 13px; border-top: 1px dashed #aac4b2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .59rem; font-weight: 850; letter-spacing: .04em; }
.demo-stage .queue-order-total strong { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1rem; letter-spacing: 0; }
.demo-stage .queue-progress i { height: 7px; border-radius: 1px; }
.demo-stage .queue-progress i.active { background: #ee6d49; }
.demo-stage .queue-next { min-height: 43px; font-size: .73rem; }
.demo-stage .workspace-foot { margin-top: auto; padding: 13px 8px; font-size: .47rem; }
.status-workspace { display: flex; flex-direction: column; overflow: hidden; }
.status-workspace-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #ddede4; }
.status-workspace-brand { font-size: .7rem; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.status-workspace-brand small { display: block; font-size: .47rem; letter-spacing: .22em; }
.status-workspace-live { display: flex; align-items: center; gap: 6px; color: #3d765f; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .55rem; font-weight: 900; white-space: nowrap; }
.status-workspace-body { flex: 1; padding: 23px 18px 12px; }
.status-workspace-body .device-eyebrow { font-size: .59rem; }
.status-workspace-body h3 { margin: 18px 0 8px; font-family: "Arial Black", "Avenir Next", Arial, sans-serif; font-size: clamp(1.38rem,2vw,1.72rem); line-height: 1.1; letter-spacing: -.06em; }
.status-workspace-body > #status-detail > p { max-width: 30ch; margin: 0 0 20px; color: #597468; font-size: .78rem; line-height: 1.5; }
.status-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.status-timeline li { position: relative; display: flex; align-items: flex-start; gap: 11px; min-height: 59px; color: #7b9389; }
.status-timeline li:not(:last-child):before { content: ""; position: absolute; top: 29px; bottom: -2px; left: 13px; width: 1px; background: #c4d7c7; }
.status-timeline li.is-complete:before { background: #63a784; }
.status-timeline-marker { z-index: 1; display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid #c4d7c7; border-radius: 50%; color: #7b9389; background: #f4f7ed; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .55rem; font-weight: 900; }
.status-timeline li.is-current .status-timeline-marker { border-color: var(--navy); color: var(--paper); background: var(--navy); box-shadow: 0 0 0 4px #f0d88b; }
.status-timeline li.is-complete .status-timeline-marker { border-color: #60a681; color: white; background: #60a681; }
.status-timeline li > span:last-child { display: grid; gap: 2px; padding-top: 1px; }
.status-timeline strong { color: inherit; font-size: .77rem; line-height: 1.15; }
.status-timeline small { font-size: .62rem; }
.status-timeline li.is-current strong, .status-timeline li.is-complete strong { color: var(--navy); }
.status-location { display: grid; gap: 5px; padding: 13px; border: 1px solid #bfd7c7; background: #eaf2e7; }
.status-location span { color: #557b69; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .55rem; font-weight: 900; letter-spacing: .08em; }
.status-location strong { font-size: .78rem; }
.status-workspace-foot { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border-top: 1px solid #bfd7c7; color: #627e71; font-size: .63rem; line-height: 1.3; }
.status-workspace-foot span { color: #a8563d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .5rem; font-weight: 900; white-space: nowrap; }
.status-empty { display: grid; justify-items: center; align-content: center; min-height: 360px; text-align: center; }
.status-empty > span { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: #e1eee4; font-size: 2rem; }
.status-empty strong { font-size: 1rem; }
.status-empty p { max-width: 22ch; color: #70877a; font-size: .75rem; line-height: 1.5; }
.demo-stage [hidden] { display: none !important; }
@media (max-width: 1060px) {
  .demo-section .demo-stage { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .demo-stage .status-column { grid-column: 1 / -1; }
  .demo-stage .status-workspace { min-height: 420px; height: auto; }
  .status-timeline { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
  .status-timeline li { display: grid; gap: 6px; min-height: 85px; }
  .status-timeline li:not(:last-child):before { top: 13px; bottom: auto; left: 27px; right: -12px; width: auto; height: 1px; }
}
@media (max-width: 720px) {
  .demo-section .demo-scene-header { padding: 13px; }
  .demo-scene-live { display: grid; grid-template-columns: 9px 1fr; font-size: .56rem; }
  .demo-scene-live small { grid-column: 2; padding: 0; border: 0; font-size: .64rem; }
  .demo-scene-actions { width: 100%; }
  .demo-scene-actions button { flex: 1; font-size: .65rem; }
  .demo-section .demo-stage { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .demo-stage .status-column { grid-column: auto; }
  .demo-stage .guest-device, .demo-stage .staff-workspace, .demo-stage .status-workspace { min-height: 0; height: auto; }
  .demo-stage .guest-device { min-height: 520px; }
  .demo-stage .staff-workspace { min-height: 520px; }
  .demo-stage .status-workspace { min-height: 530px; }
  .status-timeline { grid-template-columns: 1fr; gap: 0; }
  .status-timeline li { display: flex; gap: 11px; min-height: 58px; }
  .status-timeline li:not(:last-child):before { top: 29px; bottom: -2px; left: 13px; right: auto; width: 1px; height: auto; }
}
@media (prefers-reduced-motion: reduce) { .demo-scene-actions button { transition: none; } }
