/* RC252: full-width flex children, natural document scrolling, one checkout flow. */
.app-layout.role-admin.view-new .pos-stage-one > .cart-stage-one,
.app-layout.role-admin.view-new .pos-stage-one > .menu-panel {
  align-items: stretch !important;
  position: static !important;
  min-width: 0 !important;
}
.app-layout.role-admin.view-new .cart-stage-one > *,
.app-layout.role-admin.view-new .menu-panel > * {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
}
.app-layout.role-admin.view-new .pos-stage-one {
  gap: 12px !important;
  align-items: start !important;
}
.app-layout.role-admin.view-new .menu-tools-sticky {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  position: static !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  gap: 8px !important;
}
.app-layout.role-admin.view-new .menu-tools-sticky .search-wrap {width:100%; margin:0;}
.app-layout.role-admin.view-new .menu-tools-sticky .search {width:100%; min-height:48px;}
.app-layout.role-admin.view-new .menu-category-toolbar {display:flex; width:100%; margin:0;}
.app-layout.role-admin.view-new .menu-category-toolbar:has([data-menu-category-navigation]:empty):not(:has(button)) {display:none;}
.app-layout.role-admin.view-new [data-menu-category-navigation] {flex:1; min-width:0;}
.app-layout.role-admin.view-new .menu-back-categories {width:100%; min-height:42px; padding:8px 12px; font-size:14px;}
.app-layout.role-admin.view-new .pos-stage-one .menu-grid {
  grid-template-columns: repeat(auto-fill,minmax(min(100%,140px),1fr)) !important;
  align-content: start !important;
  gap: 8px !important;
  padding: 0 !important;
}
.app-layout.role-admin.view-new .pos-stage-one .menu-category-grid {
  grid-template-columns: repeat(auto-fill,minmax(min(100%,140px),1fr)) !important;
}
.app-layout.role-admin.view-new .menu-category-tile {
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  min-height:76px !important; padding:12px !important; gap:6px; text-align:left;
}
.app-layout.role-admin.view-new .menu-category-tile strong {font-size:18px !important; line-height:1.2;}
.app-layout.role-admin.view-new .pos-stage-one .menu-item {min-height:106px !important; padding:10px !important;}
.app-layout.role-admin.view-new .pos-stage-one .menu-name {font-size:15px !important; line-height:1.25;}
.app-layout.role-admin.view-new .pos-stage-one .menu-price {font-size:17px !important;}
.app-layout.role-admin.view-new .cart-stage-one .cart-head {width:100%; padding:12px !important;}
.app-layout.role-admin.view-new .cart-stage-one .cart-head > div {display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.app-layout.role-admin.view-new .cart-stage-one .cart-head h2 {margin:0; font-size:24px;}
.app-layout.role-admin.view-new .cart-stage-one .cart-items {padding:0 12px !important;}
.app-layout.role-admin.view-new .cart-stage-one .cart-stage-footer {
  display:block !important; position:static !important; padding:12px !important;
}
.app-layout.role-admin.view-new .cart-stage-total {display:flex !important; justify-content:space-between; width:100%; margin:0 0 10px;}
.app-layout.role-admin.view-new .cart-stage-total strong {font-size:30px !important;}
.app-layout.role-admin.view-new .cart-next-button {display:block !important; width:100% !important; min-height:52px !important; margin:0 !important; white-space:normal;}
.configured-cart-line {min-width:0;}
.configured-cart-line .cart-actions252 {grid-column:1 / -1; display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:100%; margin-top:8px;}
.configured-cart-line .cart-actions252 .cart-extra-button {
  width:100% !important; min-width:0 !important; min-height:40px !important;
  padding:8px 10px !important; margin:0 !important; font-size:14px !important;
  line-height:1.2; text-transform:none !important; white-space:normal; overflow-wrap:normal;
}
.configured-cart-line .cart-comment252 {color:#dceeff !important; background:#193e66 !important; border:1px solid #6baee8 !important;}
.configured-cart-line .cart-extras252 {color:#fff1cd !important; background:#573b12 !important; border:1px solid #e4b65c !important;}
.cart-variant252 {display:block; width:100%; border:0; padding:6px 0; margin:0; background:transparent; color:var(--text); text-align:left;}
.cart-variant252 .configuration-rows247 {margin:0;}
.cart-variant252 .configuration-rows247 strong {text-decoration:underline dotted; text-underline-offset:4px;}
.line-comment-body252 {padding:20px;}
.line-comment252 .modal-actions {padding:0 20px 20px;}
#order-form .checkout-flow-nav247 {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px;}
#order-form .checkout-flow-nav247 button {min-width:0; min-height:48px; padding:8px; overflow-wrap:normal; word-break:normal;}
#order-form .checkout-flow-nav247 button b {flex:0 0 26px;}
#order-form .source-choice-grid {display:grid !important; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)) !important; height:auto !important; max-height:none !important; overflow:visible !important;}
#order-form .source-choice-grid > button {width:100%; min-width:0; height:auto; min-height:72px; white-space:normal;}
#order-form .source-channel-choice {position:relative; padding:12px !important;}
#order-form .source-channel-choice .channel-choice-mark {display:none;}
#order-form .source-channel-choice strong {color:var(--lc-accent); font-size:18px;}
#order-form .source-channel-choice small {font-size:13px; line-height:1.3;}
#order-form .delivery-fee252.free {color:#52ed94 !important;}
#order-form .delivery-fee252.paid {color:#ff7d7d !important;}
#order-form .delivery-other252 {margin-top:10px; min-height:42px; font-size:14px;}
#order-form .delivery-time252 h3 {font-size:clamp(24px,3vw,32px); margin:0 0 16px; line-height:1.2;}
#order-form .delivery-time252 input {width:100%; font-size:22px; min-height:56px; padding:12px;}
#order-form .delivery-quick252 {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0;}
#order-form .delivery-quick252 button {display:grid; gap:4px; min-height:60px; padding:10px;}
#order-form .delivery-quick252 strong {font-size:22px;}
#order-form .delivery-quick252 small {font-size:13px;}
#order-form .delivery-deadline252 {display:flex; flex-wrap:wrap; gap:8px 20px; font-size:15px;}
.branch-map-couriers {display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px;}
.branch-map-couriers button {display:grid; gap:4px; padding:12px; min-width:180px; text-align:left;}
.branch-map-couriers strong {font-size:20px;}
@media (orientation:landscape) and (min-width:800px) {
  .app-layout.role-admin.view-new .order-workspace.pos-stage-one {grid-template-columns:minmax(290px,.34fr) minmax(0,.66fr) !important;}
}
@media (max-width:600px) {
  #order-form .checkout-flow-nav247 button {flex-direction:column; gap:4px; font-size:13px;}
  #order-form .delivery-time252 input {font-size:18px;}
}

/* RC256: sequential screens; compact horizontal step navigation. */
#order-form .checkout-flow-nav247 {display:flex;overflow-x:auto;flex-wrap:nowrap;min-height:52px;}
#order-form .checkout-flow-nav247 button {flex:0 0 auto;min-width:92px;min-height:44px;flex-direction:row;font-size:14px;}
#order-form .checkout-persons-number-row {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
#order-form .checkout-persons-keypad button {min-height:54px;font-size:22px;}
#order-form .checkout-persons-command-row {display:flex;gap:8px;margin-top:8px;}
#order-form .checkout-persons-command-row button {flex:1;}
#order-form .manual-delivery256 {display:grid;gap:12px;padding:12px;border:1px solid #e0b550;border-radius:12px;}
#order-form .manual-delivery256 label {display:grid;gap:6px;}
