/* Kippie: editable example → order on the PC → matching kitchen receipt. */
.ms-kitchen-demo {
  --kitchen-line: rgba(159, 228, 255, .24);
  --kitchen-focus: #9fe4ff;
  position: relative;
  width: 100%;
  padding: 32px;
  border: 1px solid var(--kitchen-line);
  border-radius: 8px;
  background: #0b0520;
  color: var(--awb-color1, #fff);
  font: 400 16px/1.5 Archivo, sans-serif;
  isolation: isolate;
}
.ms-kitchen-demo, .ms-kitchen-demo *, .ms-kitchen-demo *::before, .ms-kitchen-demo *::after { box-sizing: border-box; }
.ms-kitchen-demo::before { content: ""; position: absolute; inset: -1px 16px auto; height: 1px; background: linear-gradient(90deg, #5b9dd3, #e72f76 70%, #eb6021); pointer-events: none; }
.ms-kitchen-demo [hidden] { display: none !important; }
.ms-kitchen-demo p[class], .ms-kitchen-demo p[data-kitchen-fallback] { margin: 0; }
.ms-kitchen-demo button, .ms-kitchen-demo select, .ms-kitchen-demo textarea { font: inherit; }
.ms-kitchen-demo button { cursor: pointer; touch-action: manipulation; }
.ms-kitchen-demo button:focus-visible, .ms-kitchen-demo select:focus-visible, .ms-kitchen-demo textarea:focus-visible { outline: 2px solid var(--kitchen-focus); outline-offset: 4px; }
.ms-kitchen-demo__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ms-kitchen-demo__eyebrow { color: var(--kitchen-focus); font-size: 13px; font-weight: 600; }
.ms-kitchen-demo__reset { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #ccc; font-size: 14px !important; }
.ms-kitchen-demo__reset:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ms-kitchen-demo form, .ms-kitchen-demo fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.ms-kitchen-demo legend { display: flex; align-items: center; gap: 12px; float: none; width: auto; padding: 0; margin: 0 0 20px; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; }
.ms-kitchen-demo__step { color: var(--kitchen-focus); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ms-kitchen-demo__compose { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; }
.ms-kitchen-demo__product { display: grid; grid-template-columns: minmax(80px, 1fr) 72px minmax(132px, 1.3fr); align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(159, 228, 255, .14); }
.ms-kitchen-demo__product-name { padding-top: 22px; font-size: 16px; font-weight: 600; }
.ms-kitchen-demo__field { min-width: 0; }
.ms-kitchen-demo__field label { display: block; margin-bottom: 6px; color: #b7b0c5; font-size: 12px; }
.ms-kitchen-demo select, .ms-kitchen-demo textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid var(--kitchen-line); border-radius: 4px; background: #160e2b; color: #fff; font-size: 15px; line-height: 1.4; }
.ms-kitchen-demo select { appearance: auto; -webkit-appearance: menulist; height: 44px; padding-right: 4px; }
.ms-kitchen-demo textarea { display: block; min-height: 120px; resize: vertical; }
.ms-kitchen-demo__form-note > label { display: block; margin: 0 0 12px; font-weight: 600; }
.ms-kitchen-demo p.ms-kitchen-demo__hint { margin-top: 12px; color: #ccc; font-size: 13px; }
.ms-kitchen-demo__submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 52px; padding: 14px 16px; margin-top: 20px; border: 1px solid #e72f76; border-radius: 4px; background: #e72f76; color: #060119; font-size: 15px !important; font-weight: 600 !important; line-height: 1.4; text-align: left; }
.ms-kitchen-demo__submit:hover { background: #eb4e8b; border-color: #eb4e8b; }
.ms-kitchen-demo p.ms-kitchen-demo__pending { margin-top: 12px; color: #f4a873; font-size: 12px; }
.ms-kitchen-demo p.ms-kitchen-demo__error { margin-top: 12px; color: #ffaccd; font-size: 13px; }
.ms-kitchen-demo__outputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--kitchen-line); }
.ms-kitchen-demo__pc, .ms-kitchen-demo__print { min-width: 0; }
.ms-kitchen-demo__output-heading { display: flex; align-items: baseline; gap: 12px; }
.ms-kitchen-demo .ms-kitchen-demo__output-heading h3 { margin: 0; color: #fff; font: 600 22px/1.3 Archivo, sans-serif; letter-spacing: 0; }
.ms-kitchen-demo p.ms-kitchen-demo__output-description { margin-top: 4px; margin-bottom: 20px; color: #b7b0c5; font-size: 13px; }
.ms-kitchen-demo__screen { min-height: 228px; padding: 24px; border: 1px solid var(--kitchen-line); border-radius: 4px; background: #110b27; }
.ms-kitchen-demo__order-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--kitchen-line); }
.ms-kitchen-demo__order-heading > strong { font-size: 18px; font-weight: 600; }
.ms-kitchen-demo__received { color: var(--kitchen-focus); font-size: 12px; }
.ms-kitchen-demo ul.ms-kitchen-demo__order-items { padding: 4px 0; margin: 0; list-style: none; }
.ms-kitchen-demo__order-item { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; }
.ms-kitchen-demo__quantity { flex: 0 0 28px; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ms-kitchen-demo__order-name { font-weight: 600; }
.ms-kitchen-demo__order-extra { display: block; padding-top: 4px; color: #ccc; font-size: 13px; }
.ms-kitchen-demo__order-note { padding-top: 20px; margin-top: 4px; border-top: 1px solid var(--kitchen-line); }
.ms-kitchen-demo__order-note > strong { display: block; margin-bottom: 8px; color: #b7b0c5; font-size: 12px; font-weight: 600; }
.ms-kitchen-demo__order-note-text { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ms-kitchen-demo p.ms-kitchen-demo__total { margin-top: 20px; color: #b7b0c5; font-size: 12px; }
.ms-kitchen-demo__receipt-slot { min-height: 228px; padding: 0 24px 16px; border-top: 4px solid rgba(159, 228, 255, .3); }
.ms-kitchen-demo__receipt-slot > .ms-kitchen-demo__empty { padding: 24px 0; }
.ms-kitchen-demo pre.ms-kitchen-demo__paper { width: 100%; max-width: 360px; padding: 28px 24px; margin: 0 auto; border: 0; border-radius: 0; background: #f4efe3; color: #25221b; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); font: 400 14px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow: visible; overflow-wrap: anywhere; animation: ms-kitchen-paper-arrive 450ms ease-out both; }
.ms-kitchen-demo__empty { max-width: 30ch; color: #b7b0c5; font-size: 14px; }
.ms-kitchen-demo p.ms-kitchen-demo__note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--kitchen-line); color: #b7b0c5; font-size: 12px; }
.ms-kitchen-demo__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes ms-kitchen-paper-arrive { from { opacity: .2; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1024px) {
  .ms-kitchen-demo { padding: 24px; }
  .ms-kitchen-demo__compose, .ms-kitchen-demo__outputs { gap: 32px; }
  .ms-kitchen-demo__compose { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ms-kitchen-demo__product { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 16px; }
  .ms-kitchen-demo__product-name { grid-column: 1 / -1; padding-top: 0; }
  .ms-kitchen-demo__screen { padding: 20px; }
  .ms-kitchen-demo__receipt-slot { padding-right: 12px; padding-left: 12px; }
}
@media (max-width: 800px) {
  .ms-kitchen-demo__compose { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ms-kitchen-demo__product { grid-template-columns: minmax(80px, 1fr) 72px minmax(132px, 1.3fr); gap: 16px; }
  .ms-kitchen-demo__product-name { grid-column: auto; padding-top: 22px; }
  .ms-kitchen-demo__form-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 24px; align-items: start; }
  .ms-kitchen-demo__form-note > label { grid-column: 1 / -1; margin-bottom: 0; }
  .ms-kitchen-demo textarea { grid-row: span 2; }
  .ms-kitchen-demo p.ms-kitchen-demo__hint, .ms-kitchen-demo__submit { margin-top: 0; }
  .ms-kitchen-demo__pending, .ms-kitchen-demo__error { grid-column: 1 / -1; }
  .ms-kitchen-demo__outputs { gap: 24px; }
  .ms-kitchen-demo .ms-kitchen-demo__output-heading h3 { font-size: 20px; }
  .ms-kitchen-demo__receipt-slot { padding-right: 0; padding-left: 0; }
  .ms-kitchen-demo pre.ms-kitchen-demo__paper { padding: 24px 16px; font-size: 13px; }
}
@media (max-width: 640px) {
  .ms-kitchen-demo { padding: 20px 16px; }
  .ms-kitchen-demo__header { gap: 8px; }
  .ms-kitchen-demo__reset { font-size: 12px !important; }
  .ms-kitchen-demo legend { font-size: 17px; }
  .ms-kitchen-demo__product { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 16px; }
  .ms-kitchen-demo__product-name { grid-column: 1 / -1; padding-top: 0; }
  .ms-kitchen-demo__form-note { display: block; }
  .ms-kitchen-demo__form-note > label { margin-bottom: 12px; }
  .ms-kitchen-demo p.ms-kitchen-demo__hint { margin-top: 12px; }
  .ms-kitchen-demo__submit { margin-top: 20px; }
  .ms-kitchen-demo__outputs { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 24px; padding-top: 24px; }
  .ms-kitchen-demo__screen { min-height: 0; padding: 20px 16px; }
  .ms-kitchen-demo__receipt-slot { min-height: 0; }
  .ms-kitchen-demo pre.ms-kitchen-demo__paper { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-kitchen-demo pre.ms-kitchen-demo__paper { animation: none; }
}
