/* ============================================================
   STYLES · Friedrichshof-Landhaus
   1:1 aus dem Prototyp übernommen (Farben, Bon-Optik, Tischplan-Look
   sind mit dem Hotel abgestimmt — bewusst nicht verändert).
   ============================================================ */

* {
  box-sizing: border-box;
}

/* Tablet- und APK-Betrieb: sichere Touchgrößen und nutzbare Flächen bei
   Systemleisten, Querformat und kleineren 8-Zoll-Displays. */
button,input,select,textarea{touch-action:manipulation}
@media (pointer:coarse){button,.tab,.roomPick,.miniBtn{min-height:44px}.floorTable{min-width:42px;min-height:42px}.noteInput{font-size:16px}}
@media (max-width:900px){.header{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}.main{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right));padding-bottom:max(18px,env(safe-area-inset-bottom))}.brandSub,.clock{display:none}.floor{min-height:62vh}.panel{min-width:0}}
@media (max-width:620px){.brandName{font-size:15px}.tabs{gap:3px}.tab{padding:9px 8px}.floor{min-width:680px}.floorWrap,.floorPlanWrap{overflow:auto;-webkit-overflow-scrolling:touch}}
.barGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.barTicket{border:2px solid #7b5c8e;border-radius:12px;background:#fff;padding:14px}.barTicket header{display:flex;gap:10px;align-items:center;border-bottom:1px solid #ddd;padding-bottom:9px;margin-bottom:9px}.barTicket header time{margin-left:auto}.barLine{display:flex;gap:10px;padding:7px 0}.barLine small{display:block;color:#666}

html,
body,
#root {
  height: 100%;
}

body {
  margin: 0;
}

.app {
  min-height: 100vh;
  background: #f6f2e9;
  color: #33312a;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #33532f;
  color: #f6f2e9;
  position: sticky;
  top: 0;
  z-index: 5;
  flex-wrap: wrap;
  border-bottom: 4px solid #d9a441;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brandMark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d9a441;
  color: #33532f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}
.brandName {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
}
.brandSub {
  font-size: 11px;
  opacity: 0.85;
  letter-spacing: 0.1em;
}
.badge {
  background: #d9a441;
  color: #33532f;
  border-radius: 999px;
  font-size: 11px;
  padding: 1px 7px;
  font-weight: 700;
  margin-left: 6px;
}
.clock {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
  display: flex;
  align-items: center;
}
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
}
.hint {
  margin: 0 0 12px;
  color: #7a7466;
  font-size: 13px;
}
.tableDetail {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e4dcc9;
}
.heard {
  margin-top: 10px;
  font-size: 13px;
  color: #8a6210;
}
.mergeHint {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #f1eafc;
  border: 1.5px solid #7b4bc4;
  color: #4a2e80;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

/* Bereichs-Umschalter oben am Bildschirmrand, direkt unter dem App-Header —
   die Hauptnavigation fuer den Service (Restaurant/Terrasse/Laerchenstube). */
.areaTabsTop {
  margin: 0 0 14px;
}
.areaTabsTop .areaTab {
  padding: 10px 20px;
  font-size: 15px;
}
.floorPanel {
  padding-bottom: 8px;
}
.serviceUtilityBar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* ---- Tisch-Fenster: Popup mit allen Aktionen fuer einen Tisch ---- */
.tableModalOverlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(30, 24, 10, 0.55);
  overflow-y: auto;
}
.tableModalBox {
  background: #fffdf7;
  border: 1px solid #e4dcc9;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.tableModalHead {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #33532f;
  color: #f6f2e9;
  padding: 14px 16px;
  border-radius: 16px 16px 0 0;
  border-bottom: 3px solid #d9a441;
}
.tableModalTitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 17px;
}
.tableModalClose {
  border: none;
  background: #ffffff22;
  color: #f6f2e9;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.tableModalClose:hover {
  background: #ffffff3d;
}
.tableModalBox .tableDetail {
  margin-top: 0;
  padding: 14px 16px 18px;
  border-top: none;
}
.resetRow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fdf3ef;
  border: 1.5px solid #a8441f;
  border-radius: 12px;
  padding: 10px 12px;
}
.resetQuestion {
  font-size: 13px;
  font-weight: 700;
  color: #a8441f;
  flex-basis: 100%;
}
.menuRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kitchenBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.kitchenCount {
  font-weight: 700;
  font-size: 15px;
  color: #33532f;
}
.emptyKitchen {
  text-align: center;
  padding: 60px 20px;
  color: #7a7466;
  display: grid;
  gap: 10px;
}
.ticketGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
  align-items: start;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #33532f;
  color: #f6f2e9;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 20;
  max-width: 90vw;
  text-align: center;
}
.footer {
  text-align: center;
  padding: 14px 16px 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: #7a7466;
  font-size: 13px;
}

/* ---- Anmeldung (PIN-Login) ---- */
.loginWrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f2e9;
  padding: 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.loginSystemWatermark {
  position: absolute;
  z-index: 0;
  width: clamp(240px, 28vw, 420px);
  height: auto;
  left: auto;
  right: clamp(24px, 5vw, 80px);
  top: auto;
  bottom: clamp(28px, 6vh, 72px);
  transform: none;
  opacity: .12;
  pointer-events: none;
  user-select: none;
}
.loginBox {
  background: #fffdf7;
  border: 1px solid #e4dcc9;
  border-radius: 14px;
  padding: 28px 24px;
  width: 100%;
  max-width: 390px;
  box-shadow: 0 8px 24px rgba(90, 75, 40, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.loginBrand {
  text-align: center;
  color: #33532f;
  margin-bottom: 18px;
}
.loginCustomerLogo {
  display: block;
  width: min(250px, 100%);
  height: 112px;
  margin: 0 auto;
  object-fit: contain;
}
@media (max-width: 850px) {
  .loginWrap {
    align-items: flex-start;
    padding-top: max(7vh, 36px);
  }
  .loginSystemWatermark {
    width: min(76vw, 420px);
    left: 50%;
    right: auto;
    bottom: max(3vh, 18px);
    transform: translateX(-50%);
    opacity: .11;
  }
}
.loginError {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #a8441f;
}
.pinKeypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}
.pinKeypad button {
  min-height: 66px;
  border: 1px solid #b9b7ae;
  border-radius: 9px;
  background: #f4f2eb;
  color: #253127;
  font: 800 27px/1 system-ui, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
.pinKeypad button:active {
  transform: scale(.96);
  background: #dfe6da;
}
.pinKeypad .pinKeypad__utility {
  background: #e3e0d8;
  font-size: 22px;
}
@media (max-width: 440px) {
  .loginBox { padding: 22px 18px; }
  .pinKeypad { gap: 7px; }
  .pinKeypad button { min-height: 60px; }
}

.tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #f6f2e955;
  background: transparent;
  color: #f6f2e9;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Integrierte Kassenoberfläche für Browser und Tablet */
.cash-tablet{width:100%;max-width:1500px;margin:0 auto;padding:12px;box-sizing:border-box;display:grid;grid-template-columns:minmax(250px,31%) minmax(0,1fr);grid-template-rows:auto auto;gap:10px;align-items:stretch;flex:0 0 auto}.cash-current{grid-row:1/3;min-width:0;display:flex;flex-direction:column;border:1px solid #c8c8c3;border-radius:10px;overflow:hidden;background:#f5f5f3}.cash-current__head{display:flex;justify-content:space-between;gap:10px;padding:14px 16px;background:#f3a712;color:#1e261f;font-size:18px}.cash-current__head span{font-weight:700}.cash-current__body{flex:1;overflow:auto;padding:8px}.cash-current__body>p{padding:14px;color:#6c716b}.cash-current__total{padding:13px;background:#8d918d;color:#fff;text-align:center;font-weight:800}.cash-order{width:100%;display:grid;grid-template-columns:1fr auto;gap:3px 10px;text-align:left;padding:11px;border:0;border-bottom:1px solid #d2d3cf;background:#fff;color:#232723}.cash-order span{display:grid}.cash-order small{color:#6e736d}.cash-order b{align-self:center}.cash-order em{grid-column:1/-1;font-style:normal;font-size:12px;color:#7a4b0c}.cash-order.is-selected{outline:3px solid #efa512;outline-offset:-3px;background:#fff7df}.cash-room-summary{display:grid;gap:4px;margin-top:8px;padding:10px;border-radius:8px;background:#e8ebe5;font-size:13px}.cash-stage{grid-column:2;position:relative;min-width:0;min-height:min(clamp(430px,55vw,850px),calc(100dvh - 226px));border-radius:10px;background:#e7e6df;overflow:auto}.cash-stage>.floor{border-radius:0;border-color:#676b66;background:#efeee8;min-height:0}.cash-area-tabs{display:flex;gap:4px;padding:7px;background:#f3a712}.cash-area-tabs button{padding:8px 14px;border:0;border-radius:7px;background:#ffe2a1;font-weight:800}.cash-area-tabs button.is-active{background:#253b29;color:#fff}.cash-message{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:#fff2c5;color:#5c4305;font-weight:800}.cash-message button{padding:6px 10px}.cash-message--error{background:#fee4e0;color:#8b2118}.cash-actions{grid-column:2;position:relative;z-index:25;width:100%;display:grid;grid-template-columns:repeat(7,clamp(70px,7vw,92px));justify-content:start;gap:5px;padding:6px 10px calc(6px + env(safe-area-inset-bottom));box-sizing:border-box;background:#232725;box-shadow:0 -3px 14px #0004}.cash-actions button{width:100%;min-height:0;aspect-ratio:1/1;display:grid;place-content:center;gap:2px;border:0;border-radius:8px;background:#f3a712;color:#20251f;font-size:24px;font-weight:900}.cash-actions button span{font-size:11px}.cash-actions button.is-active{background:#ffca43;outline:2px solid #fff}.cash-actions button:disabled{filter:grayscale(1);opacity:.42}.cash-choice{padding:clamp(16px,3vw,30px)}.cash-choice textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #aeb4aa;border-radius:9px;font:inherit}.cash-room-buttons{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:9px}.cash-room-buttons button{display:grid;gap:5px;min-height:76px;padding:12px;text-align:left;border:2px solid #315a35;border-radius:10px;background:#fff;color:#263027}.cash-primary{margin-top:12px;padding:12px 18px;border:0;border-radius:9px;background:#315a35;color:#fff;font-weight:800}.cash-dialog-backdrop{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:20px;background:#17201999}.cash-dialog{max-width:480px;padding:24px;border-radius:15px;background:#fff}.cash-dialog>div{display:flex;justify-content:flex-end;gap:9px}.cash-dialog button{padding:10px 14px;border-radius:8px;border:1px solid #bbc1b9}.cash-dialog .cash-danger{background:#a8441f;color:#fff;border-color:#a8441f}.cash-stage .service-tools{margin:0;max-width:none;background:#fffdf7;border-radius:0;min-height:100%;box-sizing:border-box}.cash-stage .service-tools__head{display:none}@media(max-width:800px){.cash-tablet{grid-template-columns:230px minmax(560px,1fr);overflow:auto}.cash-actions{grid-template-columns:repeat(7,74px);overflow-x:auto}.cash-actions button{min-width:74px}}
.cash-overview{padding:10px}.cash-overview__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.cash-overview__stats>div{display:grid;place-items:center;padding:9px 3px;border-radius:8px;background:#e6e9e3}.cash-overview__stats strong{font-size:22px;color:#315a35}.cash-overview__stats span{font-size:11px;font-weight:700}.cash-overview section{margin-top:13px}.cash-overview h3{margin:0 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#626960}.cash-overview__task{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:0;border-bottom:1px solid #d5d8d3;background:#fff;text-align:left;color:#252a25}.cash-overview__task>span{display:grid}.cash-overview__task small{color:#6b716a}.cash-overview__task>b{padding:4px 6px;border-radius:5px;background:#fff1c2;font-size:11px}.cash-overview__task--ready{background:#e0f1e4}.cash-overview__task--ready>b{background:#2f7040;color:#fff}.cash-overview__chips{display:flex;flex-wrap:wrap;gap:6px}.cash-overview__chips button{display:grid;gap:1px;padding:7px 9px;border:1px solid #c7cbc5;border-radius:7px;background:#fff;font-weight:800}.cash-overview__chips small{font-weight:500;color:#6d726c}.cash-overview__rooms{display:flex;flex-wrap:wrap;gap:5px}.cash-overview__rooms span{padding:5px 7px;border-radius:6px;background:#fff1c2;font-weight:800;font-size:12px}.cash-overview__empty{padding:18px 8px!important;text-align:center}

.tabOn {
  background: #f6f2e9;
  color: #33532f;
  border-color: #f6f2e9;
}
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.panel {
  background: #fffdf7;
  border: 1px solid #e4dcc9;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(90, 75, 40, 0.06);
}
.panelTitle {
  margin: 0 0 4px;
  font-size: 19px;
  font-family: Georgia, "Times New Roman", serif;
  color: #33532f;
}
.label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a8f77;
  margin: 14px 0 6px;
  font-weight: 700;
}

.stepRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #e4dcc9;
  gap: 10px;
}
.stepLabel {
  font-size: 14px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #d8cfb8;
  background: #f6f2e9;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  color: #33532f;
  font-weight: 700;
}
.stepper button:hover {
  border-color: #33532f;
}
.stepVal {
  min-width: 26px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.noteInput {
  width: 100%;
  box-sizing: border-box;
  background: #f6f2e9;
  border: 1px solid #d8cfb8;
  border-radius: 10px;
  color: #33312a;
  padding: 10px 12px;
  font-size: 14px;
}

/* Wunsch-Feld je Hauptgang (erscheint bei Menge > 0) */
.mainWishRow {
  padding: 4px 0 8px;
  border-bottom: 1px dashed #e4dcc9;
}
.mainWishInput {
  font-size: 13px;
  padding: 8px 10px;
}
.inputMissing {
  border-color: #a8441f;
  background: #fdf3ef;
}

.roomPickWrap {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.roomPickGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.roomPick {
  min-width: 42px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid #d8cfb8;
  background: #f6f2e9;
  color: #33312a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.roomPick:hover {
  border-color: #33532f;
}
.roomPickOn {
  background: #33532f;
  color: #f6f2e9;
  border-color: #33532f;
}
.roomPickExt {
  border-style: dashed;
  color: #6b5b3e;
  font-size: 13px;
  font-weight: 600;
}

.spezialBox {
  margin-top: 10px;
  background: #fdf6e8;
  border: 1.5px solid #d9a441;
  border-radius: 12px;
  padding: 12px;
}
.spezialTitle {
  font-weight: 800;
  font-size: 13px;
  color: #8a5a10;
  margin-bottom: 8px;
}
.spezialRow {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px dashed #e0cfa2;
}
.spezialRow:first-of-type {
  border-top: none;
}
.spezialPerson {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5a10;
}
.allergenPickRow {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.allergenPick {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #d9a441;
  background: #fffdf7;
  color: #8a5a10;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.allergenPick:hover {
  background: #fdf6e8;
}
.allergenPickOn {
  background: #d9a441;
  color: #33312a;
  border-color: #a5760d;
  font-weight: 800;
}
.spezialUntil {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #55503f;
}
.spezialUntil input {
  max-width: 180px;
}
.spezialWarn {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #a8441f;
}

.sendBtn {
  margin-top: 14px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #33532f;
  color: #f6f2e9;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.sendBtn:hover:not(:disabled) {
  background: #2a4527;
}
.sendBtn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.currentSummary {
  margin-top: 14px;
  background: #eef0e4;
  border: 1px solid #33532f44;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: #33312a;
}
.currentSummaryTitle {
  font-weight: 800;
  font-size: 12px;
  color: #33532f;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.totalBox {
  background: #f3e7c9;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.totalBoxTitle {
  font-weight: 800;
  color: #8a5a10;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.totalGroups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 20px;
}
.totalGroup {
  background: #fffdf7;
  border-radius: 10px;
  padding: 8px 12px;
}
.totalGroupHead {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #33532f;
  font-size: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e4dcc9;
  padding-bottom: 4px;
}
.totalLine {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 14px;
  color: #33312a;
}
.totalLineLabel {
  color: #55503f;
}
.totalLineNum {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: right;
  color: #33532f;
}

.roomRow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #e4dcc9;
  flex-wrap: wrap;
}
.roomNo {
  font-weight: 800;
  color: #33532f;
  min-width: 60px;
  font-family: Georgia, serif;
  font-size: 15px;
}
.roomSummary {
  flex: 1;
  font-size: 13px;
  color: #55503f;
  min-width: 150px;
}
.miniBtn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d8cfb8;
  background: #f6f2e9;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #33532f;
}
.miniBtn:hover {
  border-color: #33532f;
}

.drinkCategoryTabs {
  display: flex;
  gap: 8px;
  margin: 14px 0 12px;
  overflow-x: auto;
  padding: 3px;
}

.drinkCategoryTab {
  min-height: 48px;
  padding: 10px 18px;
  border: 2px solid;
  border-radius: 9px;
  font-weight: 800;
  white-space: nowrap;
  opacity: .7;
}

.drinkCategoryTab.is-active {
  opacity: 1;
  outline: 3px solid rgb(255 255 255 / 88%);
  outline-offset: -5px;
  box-shadow: 0 0 0 2px rgb(25 35 25 / 22%);
}

.drinkProductGrid {
  display: grid;
  grid-template-columns: repeat(var(--mask-columns, 7), minmax(0, 1fr));
  grid-template-rows: repeat(var(--mask-rows, 6), minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  min-width: calc(var(--mask-columns, 7) * 92px);
  aspect-ratio: var(--mask-columns, 7) / var(--mask-rows, 6);
  overflow-x: auto;
}

/* Zimmerbezogener Gangsteuerung auf dem Service-Tablet */
.service-tools{padding:clamp(16px,2.4vw,28px);max-width:1180px;margin:0 auto}.service-tools__back{display:inline-block;margin-bottom:14px}.service-tools__head h1{margin:0 0 5px}.service-tools__head p{margin:0 0 20px;color:var(--muted,#6f766d)}.service-tools__selector,.service-tools__assign{display:flex;align-items:end;gap:14px;padding:16px;border:1px solid #d8ddcf;border-radius:14px;background:#f7f7f1}.service-tools label{display:grid;gap:7px;min-width:min(100%,300px)}.service-tools select{min-height:48px;font-size:17px;padding:8px 12px;border:1px solid #b9c1b4;border-radius:10px;background:#fff}.service-tools__assign button,.service-course-card button{min-height:48px;padding:10px 18px;border:0;border-radius:10px;background:#315a35;color:#fff;font-weight:800;font-size:16px}.service-tools button:disabled{opacity:.48}.service-room-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.service-room-summary div{display:grid;gap:4px;padding:14px 16px;border-radius:12px;background:#315a35;color:#fff}.service-room-summary span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;opacity:.8}.service-room-summary strong{font-size:22px}.service-tools__course-title{margin:24px 0 12px}.service-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.service-course-card{display:grid;gap:13px;padding:16px;border:2px solid #d9ded4;border-radius:16px;background:#fff}.service-course-card__top{display:flex;align-items:center;justify-content:space-between;font-size:20px;font-weight:800}.service-course-card__top strong{font-size:25px}.service-course-card__status{padding:8px 10px;border-radius:8px;background:#eef0eb;font-weight:700}.service-course-card__note{min-width:0!important}.service-course-card__note span{font-size:13px;font-weight:700}.service-course-card__note textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:64px;padding:9px;border:1px solid #b9c1b4;border-radius:9px;font:inherit}.service-course-card--active{border-color:#e1a32f}.service-course-card--active .service-course-card__status{background:#fff0c9;color:#7a5000}.service-course-card--ready{border-color:#2e8751}.service-course-card--ready .service-course-card__status{background:#dff3e6;color:#15572f}.service-course-card--closed{border-color:#809080}.service-order-details{margin:16px 0;padding:16px;border:1px solid #d8ddcf;border-radius:14px}.service-order-details h3{margin:0 0 10px}.service-order-details>div{display:flex;flex-wrap:wrap;gap:8px}.service-order-details span{padding:7px 10px;border-radius:8px;background:#eef0eb}.service-tools__handover{margin-top:16px}.service-tools__error{padding:12px;border-radius:10px;background:#fee6e3;color:#8b2118;font-weight:700}@media(max-width:760px){.service-course-grid,.service-room-summary{grid-template-columns:1fr}.service-tools__assign{align-items:stretch;flex-direction:column}.service-tools__assign button{width:100%}}
.drinkProductGrid--automatic {
  grid-template-columns: repeat(var(--mask-columns, 7), minmax(0, 1fr));
  grid-template-rows: repeat(var(--mask-rows, 6), minmax(0, 1fr));
  min-width: calc(var(--mask-columns, 7) * 92px);
  aspect-ratio: var(--mask-columns, 7) / var(--mask-rows, 6);
  grid-auto-flow: row;
}
.pinLoginInput {
  -webkit-text-security: disc;
  letter-spacing: .16em;
}
.drinkCategoryTab small { display: block; margin-top: 2px; font-size: .66rem; opacity: .78; }
.drink-submask-head { display: flex; gap: 12px; align-items: center; margin: 8px 0; }

.drinkEmptyGroup {
  margin: 4px 0 12px;
  padding: 12px;
  border: 1px dashed rgb(51 83 47 / 35%);
  border-radius: 9px;
  color: #687264;
}

.drinkProductButton {
  position: relative;
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 12px;
  border: 2px solid var(--fh-green, #33532f);
  border-radius: 10px;
  background: var(--fh-green, #33532f);
  color: #fff;
  text-align: left;
  box-shadow: 0 2px 5px rgb(0 0 0 / 12%);
  touch-action: manipulation;
  user-select: none;
  transition:transform .09s ease,filter .09s ease,box-shadow .09s ease;
}

.drinkProductButton:active:not(:disabled){transform:scale(.94);filter:brightness(1.18);box-shadow:inset 0 0 0 4px rgb(255 255 255 / 55%),0 1px 2px rgb(0 0 0 / 16%)}

.drinkProductButton strong { font-size: 16px; }
.drinkProductButton span { font-weight: 700; }
.drinkProductButton--category {
  outline: 3px solid rgb(255 255 255 / 42%);
  outline-offset: -6px;
}
.drinkProductButton--category small { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }

.drinkProductButton small { opacity: .85; }
.drinkProductInfoMark {
  position: absolute;
  top: 6px;
  right: 7px;
  font-size: 15px;
  line-height: 1;
}
.drinkProductButton:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.35); }

.productInfoOverlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(20 28 20 / 68%);
}
.productInfoDialog {
  width: min(520px, 100%);
  max-height: min(80vh, 680px);
  overflow: auto;
  padding: 20px;
  border: 2px solid var(--fh-green, #33532f);
  border-radius: 16px;
  background: #fffdf7;
  color: #2d332c;
  box-shadow: 0 22px 70px rgb(0 0 0 / 38%);
}
.productInfoDialog header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd7c9;
}
.productInfoDialog h2 { margin: 0; color: var(--fh-green, #33532f); }
.productInfoDialog header button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #c8c1b4;
  border-radius: 10px;
  background: #fff;
  color: #253224;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.productInfoBody {
  min-height: 86px;
  padding: 20px 2px;
  white-space: pre-wrap;
  font-size: 18px;
  line-height: 1.55;
}
.productInfoDialog > .sendBtn { width: 100%; }

.miniDanger {
  color: #a8441f;
}
.miniDanger:hover {
  border-color: #a8441f;
}

.resetConfirmBtn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: #a8441f;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.resetConfirmBtn:hover {
  background: #8c3517;
}
.resetConfirmBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.fireDialog {
  margin-top: 14px;
  background: #fdf6e8;
  border: 2px solid #a8441f;
  border-radius: 12px;
  padding: 14px;
}
.fireDialogTitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #a8441f;
  font-size: 17px;
  margin-bottom: 2px;
}
.fireDialogBtns {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.fireDialogBtns .sendBtn {
  margin-top: 0;
  flex: 1;
  min-width: 200px;
}

.menuBtn {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #d8cfb8;
  background: #fffdf7;
  color: #33312a;
  font-size: 14px;
  cursor: pointer;
  font-weight: 700;
}
.menuBtn:hover:not(:disabled) {
  border-color: #33532f;
  background: #eef0e4;
}
.menuBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
  background: #33532f;
  color: #f6f2e9;
  font-size: 13px;
  font-weight: 700;
}
.chipX {
  border: none;
  background: #f6f2e933;
  color: #f6f2e9;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
}

.chipPin {
  border: none;
  background: #f6f2e922;
  color: #f6f2e9;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  opacity: 0.6;
}
.chipPin:hover {
  opacity: 1;
}
.chipPinOn {
  background: #d9a441;
  opacity: 1;
}
.chipFixed {
  background: #6b5b3e;
}
.chipFired {
  background: #2c6b3a;
}

.fixedTag {
  margin-left: 6px;
  background: #d9a441;
  color: #33312a;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 800;
}

.seatFixedBtn {
  margin-bottom: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid #6b5b3e;
  background: #f3e7c9;
  color: #6b5b3e;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.seatFixedBtn:hover {
  background: #ecd9a8;
}

.fireBtn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(180deg, #c0552f, #a8441f);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(168, 68, 31, 0.3);
}
.fireBtn:hover:not(:disabled) {
  filter: brightness(1.08);
}
.fireDone {
  background: #eef0e4;
  color: #33532f;
  box-shadow: none;
  cursor: default;
  border: 1px solid #33532f55;
}
.tableDetail .fireBtn {
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tableDetail .fireBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.kidsBtn {
  margin-top: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid #6b5b3e;
  background: #f3e7c9;
  color: #6b5b3e;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.kidsBtn:hover {
  background: #ecd9a8;
}
.kidsBtn .fixedTag {
  margin-left: 0;
}

/* ---- Küchen-Bons ---- */
.ticket {
  background: #fffdf7;
  color: #33312a;
  border-radius: 3px;
  padding: 14px 14px 16px;
  font-family: "Courier New", ui-monospace, monospace;
  box-shadow: 0 4px 14px rgba(90, 75, 40, 0.18);
  position: relative;
  border: 1px solid #e4dcc9;
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: radial-gradient(circle, transparent 4px, #fffdf7 4.5px);
  background-size: 12px 12px;
  background-position: 0 -4px;
}
.ticket::before {
  top: -6px;
}
.ticket::after {
  bottom: -6px;
  transform: scaleY(-1);
}
.t-warn {
  outline: 3px solid #d9a441;
}
.t-late {
  outline: 3px solid #a8441f;
}
.t-done {
  outline: 3px solid #1f9d55;
  opacity: 0.92;
}

.ticketNew {
  background: #fff4d6;
  border: 3px solid #a8441f;
  box-shadow: 0 0 0 4px #a8441f55, 0 6px 22px rgba(168, 68, 31, 0.45);
  animation: bonPulse 1s ease-in-out infinite;
}
.ticketNew::before,
.ticketNew::after {
  background: radial-gradient(circle, transparent 4px, #fff4d6 4.5px);
}
@keyframes bonPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px #a8441f55, 0 6px 22px rgba(168, 68, 31, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px #a8441f33, 0 8px 28px rgba(168, 68, 31, 0.65);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticketNew {
    animation: none;
  }
}

.ticketTop {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.ticketTable {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #33532f;
}
.timer {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.timer-ok {
  color: #2c6b3a;
}
.timer-warn {
  color: #a5760d;
}
.timer-late {
  color: #a8441f;
}
.timer-done {
  color: #1f9d55;
}
.ticketMeta {
  font-size: 11px;
  color: #9a8f77;
  margin-top: 2px;
}

.fireBanner {
  margin-top: 10px;
  background: #a8441f;
  color: #fff;
  padding: 8px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px;
}
.ticketNew .fireBanner {
  font-size: 15px;
  padding: 11px 12px;
  letter-spacing: 0.03em;
  background: #c22823;
}
.doneBanner {
  background: #1f9d55;
}
.kidsBanner {
  background: #6b5b3e;
}
.ticketKids {
  border-color: #6b5b3e;
}
.ticketKids .ticketTable {
  color: #6b5b3e;
}

.perf {
  border-top: 1px dashed #c8bda0;
  margin: 12px 0 8px;
}

.courseBlock {
  margin-bottom: 10px;
}
.courseTag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #9a8f77;
  margin-bottom: 4px;
}
.courseHot {
  color: #a8441f;
}
.itemLine {
  font-size: 15px;
  padding: 2px 0;
}
.itemQty {
  font-weight: 800;
}

/* Hauptkomponente (Fleisch/Fisch/Vegetarisch/Spezial) besonders gross und
   fett, damit die Kueche sie auf einen Blick erfasst */
.mainItemLine {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
}
.mainItemQty {
  font-weight: 800;
  font-size: 18px;
  color: #a8441f;
}
.mainItemName {
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #33312a;
  line-height: 1.1;
}

.noteLine {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  background: #f3e7c9;
  padding: 6px 8px;
  border-radius: 4px;
  border-left: 4px solid #a8441f;
}

.doneBtn {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #2c6b3a;
  background: transparent;
  color: #2c6b3a;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.doneBtn:hover {
  background: #2c6b3a;
  color: #fff;
}
.archiveBtn {
  border-color: #a5760d;
  color: #a5760d;
}
.archiveBtn:hover {
  background: #a5760d;
  color: #fff;
}

/* ---- Tischplan (wie der laminierte Original-Plan) ---- */
.floor {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fdfcf8;
  border: 2px solid #3a6ea5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(58, 110, 165, 0.08);
}
.floorBanner {
  position: absolute;
  background: #3a6ea5;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(8px, 1.7vw, 13px);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.floorBar {
  position: absolute;
  background: #3a6ea5;
  border-radius: 3px;
  opacity: 0.9;
}
.floorDecor {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 2px 5px;
  border: 0;
  box-sizing: border-box;
  pointer-events: none;
  overflow: hidden;
}
.floorDecor--interactive {
  pointer-events: auto;
  cursor: pointer;
}
.floorDecor__label {
  width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(8px, 1.4vw, 14px);
  font-weight: 800;
  letter-spacing: .06em;
}
.floorDecorDialogBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(20 28 20 / 68%);
}
.floorDecorDialog {
  width: min(480px, 100%);
  padding: 22px;
  border: 2px solid var(--fh-green, #33532f);
  border-radius: 16px;
  background: #fffdf7;
  color: #253226;
  box-shadow: 0 22px 70px rgb(0 0 0 / 38%);
}
.floorDecorDialog header { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.floorDecorDialog h2 { margin:0; font-size:24px; color:var(--fh-green,#33532f); }
.floorDecorDialog header button { width:42px; height:42px; border:1px solid #c8c1b4; border-radius:10px; background:#fff; font-size:28px; line-height:1; }
.floorTable {
  z-index: 3;
  position: absolute;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 1px;
  font-family: inherit;
  transition: transform 0.08s ease;
}
.ftStarters {
  position: absolute;
  top: -7px;
  right: -7px;
  font-size: clamp(10px, 2vw, 14px);
  line-height: 1;
  background: #3a6ea5;
  border: 1.5px solid #2b4f75;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
/* Zusammengelegte Tische: kräftiger violetter Rahmen, damit die Gruppe als
   ein großer Tisch erkennbar ist. 🔗-Marke oben links. */
.ftMerged {
  outline: 3px solid #7b4bc4;
  outline-offset: 1px;
  box-shadow: 0 0 0 3px #7b4bc433;
}
.ftLink {
  position: absolute;
  top: -7px;
  left: -7px;
  font-size: clamp(9px, 1.8vw, 13px);
  line-height: 1;
  background: #7b4bc4;
  border: 1.5px solid #5a34a0;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
/* Im Zusammenlegen-Modus: Tische dezent hervorheben (antippbar). */
.floorMerge .floorTable {
  cursor: crosshair;
}
.floorTable:active {
  transform: scale(0.94);
}
.ftFree {
  background: #ffffff;
  border: 2.5px solid #3a6ea5;
  color: #2b4f75;
}
.ftBusy {
  background: #d9a441;
  border: 2.5px solid #a5760d;
  color: #33312a;
  box-shadow: 0 2px 8px rgba(165, 118, 13, 0.35);
}
.ftFired {
  background: #2c6b3a;
  border: 2.5px solid #1d4a27;
  color: #f6f2e9;
}
.ftReady {
  background: #1f9d55;
  border: 3px solid #0f6b38;
  color: #fff;
  box-shadow: 0 0 0 3px #1f9d5566;
  animation: readyBlink 1s ease-in-out infinite;
}
@keyframes readyBlink {
  0%,
  100% {
    box-shadow: 0 0 0 3px #1f9d5566;
  }
  50% {
    box-shadow: 0 0 0 7px #1f9d5522;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ftReady {
    animation: none;
  }
}
.ftServed {
  background: #5b6f8f;
  border: 2.5px solid #3c4c66;
  color: #f6f2e9;
}
.ftSel {
  outline: 3px solid #a8441f;
  outline-offset: 2px;
}
.ftNo {
  font-size: clamp(11px, 2.4vw, 17px);
  font-weight: 800;
  line-height: 1;
}
.ftRooms {
  font-size: clamp(6px, 1.3vw, 9px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}
.ftCheck {
  font-size: clamp(7px, 1.5vw, 10px);
  font-weight: 800;
}

.floorLegend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12px;
  color: #6b5b3e;
  font-weight: 600;
}
.floorLegend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legDot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
}
.legFree {
  background: #ffffff;
  border: 2px solid #3a6ea5;
}
.legBusy {
  background: #d9a441;
  border: 2px solid #a5760d;
}
.legFired {
  background: #2c6b3a;
  border: 2px solid #1d4a27;
}
.legReady {
  background: #1f9d55;
  border: 2px solid #0f6b38;
}
.legServed {
  background: #5b6f8f;
  border: 2px solid #3c4c66;
}
.legStarters {
  font-style: normal;
  font-size: 13px;
}

/* ---- Bereichs-Tabs (Restaurant / Terrasse / Lärchenstube) ---- */
.areaTabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.areaTab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #33532f;
  background: #fffdf7;
  color: #33532f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.areaTabOn {
  background: #33532f;
  color: #f6f2e9;
}

/* ---- Terrassen-Dekor ---- */
.floorPool {
  position: absolute;
  border-radius: 8px;
  background: linear-gradient(135deg, #4a8ecf, #2b6cb0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 2vw, 16px);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid #245a94;
}
.floorLoungers {
  position: absolute;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #b8bcc4 0 14%, transparent 14% 26%);
  opacity: 0.9;
}
.floorHedge {
  position: absolute;
  background: #4e7d3a;
  border-radius: 4px;
  opacity: 0.9;
}
.floorTree {
  position: absolute;
  background: radial-gradient(circle, #5c8f46, #3f6b2e);
  border-radius: 50%;
}
.floorZone {
  position: absolute;
  background: #eef0e4;
  border-radius: 4px;
}
.ftDiamond {
  transform: rotate(45deg);
}
.ftDiamond > * {
  transform: rotate(-45deg);
}

/* ---- Servierbereit-Signal (Küche → Service) ---- */
.readyPanel {
  background: linear-gradient(180deg, #eafaf0, #d7f2e2);
  border: 2.5px solid #1f9d55;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(31, 157, 85, 0.25);
  animation: readyPanelPulse 1.4s ease-in-out infinite;
}
@keyframes readyPanelPulse {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(31, 157, 85, 0.25);
  }
  50% {
    box-shadow: 0 4px 24px rgba(31, 157, 85, 0.5);
  }
}
@media (prefers-reduced-motion: reduce) {
  .readyPanel {
    animation: none;
  }
}
.readyPanelTitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #0f6b38;
  font-size: 18px;
  margin-bottom: 10px;
}
.readyChips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.readyChip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: #1f9d55;
  color: #fff;
  font-family: inherit;
  box-shadow: 0 3px 10px rgba(31, 157, 85, 0.35);
}
.readyChip:hover {
  background: #178a49;
}
.readyChipTable {
  font-size: 17px;
  font-weight: 800;
}
.readyChipSub {
  font-size: 11px;
  opacity: 0.9;
}
.readyChipDone {
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  background: #ffffff33;
  padding: 2px 8px;
  border-radius: 999px;
}

.readyBadge {
  background: #1f9d55;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  padding: 1px 7px;
  font-weight: 700;
  margin-left: 6px;
  animation: readyBlink 1s ease-in-out infinite;
}

/* ---- Vorspeisen: Extraregister + Küchen-Zähltafel ---- */
.startersBox {
  margin-top: 16px;
  border: 1.5px solid #33532f55;
  border-radius: 12px;
  padding: 12px 14px;
  background: #f2f4ec;
}
.startersTitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #33532f;
  font-size: 16px;
  margin-bottom: 2px;
}

/* Am unteren Bildschirmrand angedockt (statt gross oben), damit die
   eigentlichen Bons auf dem Kuechenmonitor mehr Platz bekommen. */
.kitchenMain {
  max-width: none;
  padding-bottom: 78px;
}
.kTotalBarFixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  background: #33532f;
  color: #f6f2e9;
  border-top: 3px solid #d9a441;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
}
.kTotalBarTitle {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d9a441;
  white-space: nowrap;
}
.kTotalBarInner {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}
.kTotalBarGroup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kTotalBarGroupHead {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d9a441;
}
.kTotalBarItem {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---- Ordner (Archiv abgeschlossener Bons) ---- */
.archiveToggleBtn {
  border: 1px solid #33532f55;
  background: #f2f4ec;
  color: #33532f;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
/* ---- Kinderessen-Pop-up (Küche muss bewusst bestätigen) ---- */
.kidsAlertOverlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(30, 24, 10, 0.72);
  animation: kidsFade 0.15s ease;
}
@keyframes kidsFade {
  from {
    opacity: 0;
  }
}
.kidsAlertBox {
  background: #fffdf7;
  border: 4px solid #6b5b3e;
  border-radius: 18px;
  padding: 18px 20px 20px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: kidsPop 1.1s ease-in-out infinite;
}
@keyframes kidsPop {
  0%,
  100% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(107, 91, 62, 0.5);
  }
  50% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 12px rgba(107, 91, 62, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .kidsAlertBox {
    animation: none;
  }
}
.kidsAlertHead {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: #6b5b3e;
  margin-bottom: 14px;
}
.kidsAlertCard {
  border: 2px solid #6b5b3e55;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #fbf7ee;
}
.kidsAlertCard:last-child {
  margin-bottom: 0;
}
.kidsAlertTable {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #6b5b3e;
  margin-bottom: 8px;
}
.kidsAlertBtn {
  margin-top: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #6b5b3e;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
}
.kidsAlertBtn:hover {
  background: #55492f;
}

.archivePanel {
  background: #fffdf7;
  border: 1px solid #e4dcc9;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.archivePanelTitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #33532f;
  font-size: 15px;
  margin-bottom: 8px;
}
.archiveItem {
  padding: 8px 0;
  border-top: 1px dashed #e4dcc9;
}
.archiveItem:first-of-type {
  border-top: none;
}
.archiveItemTop {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
  color: #33312a;
}
.archiveItemTime {
  color: #7a7466;
  font-weight: 600;
}
.archiveItemBody {
  font-size: 13px;
  color: #5c5646;
  margin-top: 2px;
}

/* ---- Ankunfts-Übersicht (Zimmer/Gäste heute · da · fehlen) ---- */
.arrivalBox {
  background: #eef0e4;
  border: 1px solid #33532f44;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.arrivalBoxTitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #33532f;
  font-size: 16px;
  margin-bottom: 10px;
}
.arrivalRow {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.arrivalRow:last-child {
  margin-bottom: 0;
}
.arrivalStat {
  flex: 1;
  text-align: center;
  background: #fffdf7;
  border-radius: 10px;
  padding: 8px 6px;
}
.arrivalStatNum {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #33312a;
  line-height: 1.2;
}
.arrivalStatLabel {
  font-size: 11px;
  color: #7a7466;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.arrivalStat-ok .arrivalStatNum {
  color: #1f9d55;
}
.arrivalStat-warn .arrivalStatNum {
  color: #a8441f;
}

.arrivalBoxDark {
  background: #33532f;
  border: none;
  border-bottom: 4px solid #d9a441;
}
.arrivalBoxDark .arrivalBoxTitle {
  color: #f6f2e9;
}
.arrivalBoxDark .arrivalStat {
  background: #ffffff14;
}
.arrivalBoxDark .arrivalStatNum {
  color: #f6f2e9;
}
.arrivalBoxDark .arrivalStatLabel {
  color: #d9a441;
}
.arrivalBoxDark .arrivalStat-ok .arrivalStatNum {
  color: #6fe3a0;
}
.arrivalBoxDark .arrivalStat-warn .arrivalStatNum {
  color: #ffb199;
}

/* ---- Responsive: Service-Handys ab ~360px ---- */
@media (max-width: 480px) {
  .header {
    padding: 10px 12px;
  }
  .brandSub {
    display: none;
  }
  .main {
    padding: 10px;
  }
  .panel {
    padding: 12px;
    border-radius: 10px;
  }
  .ticketGrid {
    grid-template-columns: 1fr;
  }
}

.service-no-preorder{margin:14px 0;padding:16px;border:2px solid #d5aa4c;border-radius:12px;background:#fff8e7}.service-no-preorder h2{margin:0 0 6px}.service-no-preorder p{margin:0 0 12px}.service-menu-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:18px;background:rgba(20,28,21,.64)}.service-menu-dialog{width:min(760px,100%);max-height:92dvh;display:flex;flex-direction:column;overflow:hidden;border-radius:16px;background:#fffdf7;box-shadow:0 24px 80px rgba(0,0,0,.35)}.service-menu-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #ddd3bd}.service-menu-dialog>header h2{margin:0 0 4px}.service-menu-dialog>header>button{width:44px;height:44px;border:0;border-radius:10px;font-size:28px;background:#eee7d8}.service-menu-body{overflow:auto;padding:18px 20px}.service-menu-body h3{margin:18px 0 8px}.service-menu-body h3:first-child{margin-top:0}.service-menu-body textarea{width:100%;margin-top:8px}.service-menu-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid #ddd3bd}.service-menu-dialog>footer button{min-height:46px;padding:0 18px;border-radius:9px}.service-menu-dialog>footer .sendBtn{margin:0;width:auto}@media(max-width:700px){.service-menu-backdrop{padding:6px}.service-menu-dialog{max-height:98dvh}.service-menu-body{padding:12px}.service-menu-dialog>footer{padding:10px}}
.service-tools-main--embedded{padding:0!important;margin:0!important;max-width:none!important}.service-tools--embedded{padding:8px!important;min-height:0!important}.service-tools--embedded>.panel{margin-top:8px!important}.service-order-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-radius:10px;background:#f3a712;color:#20251f}.service-order-strip>div{display:grid;gap:2px}.service-order-strip strong{font-size:17px}.service-order-strip small{font-weight:700}.service-order-strip .cash-primary{margin:0;white-space:nowrap}.service-course-drawer{margin:10px 0;border:1px solid #cdd2c8;border-radius:10px;background:#fff}.service-course-drawer>summary{cursor:pointer;padding:12px 14px;font-weight:800}.service-course-drawer[open]>summary{border-bottom:1px solid #d9ddd5}.service-course-drawer .service-course-grid{padding:12px}.service-menu-dialog{height:min(760px,calc(100dvh - 24px));min-height:0}.service-menu-body{min-height:0;overscroll-behavior:contain}.service-menu-dialog>header,.service-menu-dialog>footer{flex:0 0 auto}@media(max-width:760px){.service-order-strip{align-items:stretch;flex-direction:column}.service-order-strip .cash-primary{width:100%}.service-course-drawer .service-course-grid{grid-template-columns:1fr}}

.cash-message--success{background:#dff3e6;color:#15572f;border-bottom:1px solid #9bcaae}

.cash-stage{height:min(clamp(430px,55vw,850px),calc(100dvh - 226px));min-height:0;max-height:min(clamp(430px,55vw,850px),calc(100dvh - 226px));overflow:auto}
.cash-tablet{grid-template-rows:minmax(0,auto) auto}


/* Kassentablet: Bestellmaske nach dem Bedienmuster der gelieferten Vorlage. */
.cash-tablet--order .cash-current{display:none}
.cash-tablet--order{position:relative}
.cash-tablet--order .cash-stage,.cash-tablet--order .service-tools-main--embedded,.cash-tablet--order .service-tools--embedded,.cash-tablet--order .pos-order-mask{display:contents}
.cash-tablet--order .cash-actions{grid-column:2;grid-row:2;padding-left:10px;background:#232725}
.pos-order-mask{height:100%;min-height:0;display:grid;grid-template-columns:minmax(230px,31%) minmax(0,1fr);overflow:hidden;background:#d7d8d5}
.pos-order-cart{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-right:2px solid #5f625e;background:#f4f4f2}
.cash-tablet--order .pos-order-cart{grid-column:1;grid-row:1/3;height:auto;border:1px solid #c8c8c3;border-radius:10px;overflow:hidden}
.cash-tablet--order .pos-order-products{grid-column:2;grid-row:1;height:min(clamp(430px,55vw,850px),calc(100dvh - 226px));border-radius:10px;overflow:hidden}
.pos-order-cart>header,.pos-order-products>header{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;box-sizing:border-box;background:#f3a712;color:#20251f}
.pos-order-cart>header strong{font-size:18px}.pos-order-cart>header span{font-weight:800}
.pos-order-cart__scroll,.pos-order-products__scroll{min-height:0;overflow:auto}
.pos-order-group>h3{margin:0;padding:9px 12px;text-align:center;background:#8c8f8b;color:#fff;font-size:15px;font-weight:700}
.pos-order-group>p{margin:0;padding:14px;color:#6c716b}
.pos-cart-line--sent{position:relative;width:100%;display:block;padding:0;border:0;border-bottom:1px solid #caccc8;text-align:left;color:inherit;font:inherit;background:#fff}.pos-cart-repeat{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:8px 42px 8px 10px;border:0;text-align:left;color:inherit;font:inherit;background:#fff;cursor:pointer}.pos-cart-repeat:active{background:#fff1c8}.pos-cart-repeat>span:first-child{display:grid}.pos-cart-repeat small{font-size:11px;color:#666}.pos-cart-repeat>b{align-self:center}.pos-cart-repeat .pos-item-status{grid-column:1/-1;justify-self:start;margin-top:2px}.pos-cart-minus{position:absolute;right:7px;top:50%;width:30px;height:30px;transform:translateY(-50%);border:0;border-radius:50%;background:#e1e2de;color:#30352f;font-size:23px;font-weight:900;line-height:1;cursor:pointer}.pos-cart-minus:active{background:#f3a712}
.pos-cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:8px 10px;border-bottom:1px solid #caccc8;background:#fff}
.pos-cart-line>div:first-child{display:grid}.pos-cart-line small{font-size:11px;color:#666}.pos-cart-line>b{align-self:center}.pos-cart-line>input{grid-column:1/-1;min-width:0;padding:6px 8px;border:1px solid #c7cac5;border-radius:5px}
.pos-cart-controls{display:flex;gap:4px}.pos-cart-controls button{width:30px;height:28px;border:0;border-radius:5px;background:#e2e3df;font-weight:900}
.pos-menu-line{display:grid;gap:3px;padding:9px 11px;border-bottom:1px solid #d1d2cf;background:#fff}.pos-menu-line small{padding-left:18px;font-weight:700}
.pos-order-cart>footer{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:11px 13px;background:#8c8f8b;color:#fff}.pos-order-cart>footer small{grid-column:1/-1;text-align:center}
.pos-order-cart>footer .pos-order-send--cart{grid-column:1/-1;width:100%;height:clamp(70px,7vw,92px);margin-top:7px;font-size:18px}
.pos-order-products{position:relative;min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#d7d8d5}
.pos-order-products>header{justify-content:flex-start}.pos-order-products>header>span{margin:auto;font-weight:900;font-size:17px}.pos-order-products>header>strong{margin-left:auto;font-size:13px}.pos-order-products>header>button{padding:7px 10px;border:1px solid #735006;border-radius:7px;background:#fff2c9;font-weight:800}
.pos-order-products__scroll{padding:4px;background:#d7d8d5}.pos-order-products__scroll .drinkCategoryTabs{margin:0 0 4px;padding:0;gap:4px}.pos-order-products__scroll .drinkCategoryTab{min-height:54px;border-radius:5px;padding:7px 10px}
.pos-order-products__scroll .drinkProductGrid{gap:4px}.pos-order-products__scroll .drinkProductButton{border-radius:5px}
.pos-order-products>footer{display:flex;align-items:center;min-height:54px;padding:5px 8px;background:#242725}.pos-order-send{min-width:100px;min-height:44px;border:0;border-radius:6px;background:#f3a712;color:#20251f;font-weight:900}.pos-order-send:disabled{filter:grayscale(1);opacity:.45}
.cash-tablet--order .service-course-drawer{position:absolute;z-index:35;right:8px;bottom:5px;width:min(720px,68%);max-height:calc(100% - 16px);margin:0;overflow:auto;box-shadow:0 8px 30px #0005}
.cash-tablet--order .service-course-drawer>summary{height:42px;min-height:42px;padding:3px 10px}
@media(max-width:800px){.pos-order-mask{grid-template-columns:230px minmax(560px,1fr)}.cash-tablet--order .cash-actions{padding-left:10px}.cash-tablet--order .service-course-drawer{width:calc(100% - 16px)}.pos-order-cart>footer .pos-order-send--cart{height:74px}}

.floor .floorDecor{pointer-events:none;cursor:default}

.service-course-drawer>summary{min-height:44px;display:flex;align-items:center;gap:10px;box-sizing:border-box;list-style:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.service-course-drawer>summary::-webkit-details-marker{display:none}
.service-course-drawer>summary::before{content:'›';flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:#f3a712;color:#20251f;font-size:30px;font-weight:900;line-height:1;transform:rotate(0deg);transition:transform .15s ease}
.service-course-drawer[open]>summary::before{transform:rotate(90deg)}
.pos-menu-line{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.pos-menu-line>small{grid-column:1/-1}
.pos-item-status{padding:3px 6px;border-radius:5px;font-size:10px;white-space:nowrap;background:#e5e6e3;color:#555}
.pos-item-status--fired{background:#fff0c9;color:#7a5000}
.pos-item-status--ready{background:#dff3e6;color:#15572f}
.pos-item-status--closed{background:#dfe5df;color:#405244}

.cash-dialog__error{padding:10px 12px;border-radius:8px;background:#fee4e0;color:#8b2118;font-weight:800}

.cash-dialog__pin{display:grid;gap:7px;margin:14px 0}.cash-dialog__pin input{min-height:48px;box-sizing:border-box;padding:10px 12px;border:2px solid #aeb4aa;border-radius:9px;font:inherit;font-size:20px}.cash-dialog button:disabled{opacity:.45}

.cash-overview__ready-row{margin-bottom:7px;border:2px solid #2f7040;border-radius:8px;overflow:hidden;background:#e0f1e4}.cash-overview__ready-row .cash-overview__task{border-bottom:1px solid #a8ceb1}.cash-overview__pickup{width:100%;min-height:42px;border:0;background:#2f7040;color:#fff;font-weight:900;font-size:13px;cursor:pointer}.cash-overview__pickup:active{background:#1e542c;transform:translateY(1px)}

/* Farbtest Terrakotta/Kupfer.
   Bisherige Servicefarben für eine mögliche Rückkehr: Gelb #F3A712,
   aktives Hellgelb #FFCA43, Auswahlkontur #EFA512. */
:root{
  --service-accent:#C96A3D;
  --service-accent-active:#A94F2B;
  --service-accent-light:#F4E1D5;
}
.cash-current__head,
.cash-area-tabs,
.cash-actions button,
.service-order-strip,
.pos-order-cart>header,
.pos-order-products>header,
.pos-order-send,
.service-course-drawer>summary::before{
  background:var(--service-accent);
}
.cash-current__head,
.cash-actions button,
.service-order-strip,
.pos-order-cart>header,
.pos-order-products>header,
.pos-order-send,
.service-course-drawer>summary::before{
  color:#fff;
}
.cash-area-tabs button{background:var(--service-accent-light);color:#35261f}
.cash-actions button.is-active{background:var(--service-accent-active);color:#fff}
.cash-order.is-selected{outline-color:var(--service-accent);background:#fbede5}
.pos-cart-minus:active{background:var(--service-accent);color:#fff}
.preorder-dialog-backdrop{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;padding:20px;background:rgba(20,28,21,.68);backdrop-filter:blur(2px)}
.preorder-dialog{width:min(440px,100%);display:grid;justify-items:center;gap:12px;padding:28px;border:1px solid #d8cfbd;border-radius:16px;background:#fffdf7;color:#202820;text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.38)}
.preorder-dialog__icon{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:#f3a712;color:#202820;font-size:34px;font-weight:900}
.preorder-dialog h2{margin:2px 0 0;font-size:25px}.preorder-dialog p{margin:0;font-size:18px;line-height:1.45}.preorder-dialog .sendBtn{width:100%;min-height:52px;margin-top:5px;font-size:18px}

/* Gemeinsamer Servicetag für Rezeption, Service, Küche und Bar. */
.service-day-bar{width:min(1500px,calc(100% - 24px));margin:8px auto 0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:5px 10px;border:1px solid #d5c8ad;border-radius:10px;background:#fffdf7;color:#263027}
.service-day-bar button{width:42px;height:38px;border:0;border-radius:8px;background:#315a35;color:#fff;font-size:30px;line-height:1;font-weight:800;touch-action:manipulation}
.service-day-bar .service-day-auto{width:auto;padding:0 13px;font-size:14px}
.service-day-bar input{height:38px;box-sizing:border-box;padding:5px 10px;border:1px solid #aeb4aa;border-radius:8px;background:#fff;font:inherit;font-weight:800;color:#263027}
.service-day-bar span{min-width:245px;font-weight:700;text-transform:capitalize}
.service-day-bar--automatic{gap:14px}.service-day-bar--automatic span{min-width:0;font-size:17px}
.reception-service-date{margin-bottom:14px}.reception-service-date .card__head{justify-content:flex-start;gap:14px}.reception-service-date input{padding:8px 10px;border:1px solid #b9bdb7;border-radius:8px;font:inherit;font-weight:700}
@media(max-width:700px){.service-day-bar{justify-content:flex-start;overflow-x:auto}.service-day-bar span{display:none}}

.preorder-dialog--questions{width:min(560px,100%)}.preorder-question-list{width:100%;display:grid;gap:9px;margin:6px 0}.preorder-question{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:10px;padding:13px;border:2px solid #d2d7cd;border-radius:10px;background:#fff;text-align:left;font-size:17px;font-weight:700;cursor:pointer}.preorder-question input{width:24px;height:24px;accent-color:#315a35}.preorder-question:has(input:checked){border-color:#315a35;background:#eef5eb}.preorder-dialog__actions{width:100%;display:grid;grid-template-columns:auto 1fr;gap:9px}.preorder-dialog__actions .miniBtn,.preorder-dialog__actions .sendBtn{min-height:52px;margin:0;padding:10px 16px}.preorder-dialog__actions .sendBtn:disabled{opacity:.45;cursor:not-allowed}
.cash-actions{display:flex!important;align-items:stretch;grid-template-columns:none!important}.cash-actions>button{flex:0 0 clamp(70px,7vw,92px)}.cash-actions__payments{display:flex;gap:5px;margin-left:auto;padding-left:12px;border-left:1px solid #ffffff38}.cash-actions__payments button{flex:0 0 clamp(70px,7vw,92px)}
.cash-checkout{width:min(520px,calc(100vw - 40px));box-sizing:border-box}.cash-checkout label{display:grid;gap:5px;margin:12px 0;font-weight:800}.cash-checkout input,.cash-checkout select{padding:11px;border:1px solid #abb0aa;border-radius:8px;font:inherit}.cash-checkout__lines{display:grid;gap:7px}.cash-checkout__lines>div,.cash-checkout__total,.fiscal-document__line{display:flex;justify-content:space-between;gap:20px}.cash-checkout__total{margin-top:14px;padding-top:12px;border-top:2px solid #29342c;font-size:20px}.cash-checkout__ready{color:#286333;font-weight:800}.fiscal-document{width:min(420px,calc(100vw - 40px));box-sizing:border-box}.fiscal-document__print h2{text-align:center}.fiscal-document__line{margin:7px 0}.fiscal-document__actions{margin-top:20px}.fiscal-document small{overflow-wrap:anywhere}
.grid select,.toolbar select{min-height:42px;padding:7px 10px;border:1px solid #c8c8c0;border-radius:8px;background:#fff;font:inherit}
@media(max-width:800px){.cash-actions>button,.cash-actions__payments button{min-width:74px}.cash-actions__payments{margin-left:auto}}
@media print{body>*{display:none!important}.cash-dialog-backdrop{display:block!important;position:static!important;background:#fff!important}.cash-dialog-backdrop>*{display:block!important}.fiscal-document{display:block!important;box-shadow:none!important;margin:0 auto}.fiscal-document__actions{display:none!important}.fiscal-document__print{display:block!important;color:#000!important}}

.connectionSettings{margin:16px 0;font:14px system-ui;color:inherit}.connectionSettings summary{cursor:pointer;padding:8px 0}.connectionSettings label{display:block;margin:10px 0 4px}.connectionSettings input{width:100%;padding:10px;border:1px solid #aaa;border-radius:6px;font:inherit}.connectionSettings button{margin-top:12px;padding:10px;cursor:pointer}.moduleLinks{display:flex;gap:12px;justify-content:center;margin-top:18px;font:13px system-ui}.moduleLinks a{color:inherit}.connectionNotice{font:13px system-ui;line-height:1.5;margin:12px 0}.offlineNotice{padding:10px 16px;background:#8b2e23;color:#fff;font:14px system-ui}.receptionLink{display:block;text-align:center;margin-top:14px;color:inherit}
.connectionSettings--required{margin:0}.connectionSettings--required>strong{display:block;text-align:center}.connectionSettings--required p{line-height:1.45;color:#5f665e;text-align:center}.connectionSettings--required label{text-align:center}.connectionSettings--required input{text-transform:uppercase;font-size:20px;font-weight:800;letter-spacing:.12em;text-align:center;box-sizing:border-box}.connectionSettings--required button{width:100%;min-height:52px;border:0;border-radius:9px;background:#315a35;color:#fff;font-weight:800}
.staffIdentity{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;font:600 14px system-ui}.staffIdentityDot{display:inline-block;width:12px;height:12px;border-radius:50%;border:1px solid #ffffff66}
