/* v1.2.0-fix427 kitchen order readability / horizontal-vertical layout selector */
.fix427-order-layout-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 8px;padding:10px 12px;border:1px solid #d8dde3;border-radius:15px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.035)}
.fix427-order-layout-toolbar[hidden]{display:none!important}
.fix427-order-layout-copy{display:grid;gap:2px;min-width:0}
.fix427-order-layout-copy b{font-size:14px;font-weight:900}
.fix427-order-layout-copy small{color:#6c737d;font-size:11px;font-weight:700;line-height:1.35}
.fix427-order-layout-toggle{display:grid;grid-template-columns:1fr 1fr;flex:0 0 auto;padding:3px;border-radius:12px;background:#ecefea}
.fix427-order-layout-toggle button{min-width:86px;min-height:42px;border:0;border-radius:10px;background:transparent;color:#4f565e;font:inherit;font-size:14px;font-weight:900;cursor:pointer}
.fix427-order-layout-toggle button.active{background:#111;color:#fff;box-shadow:0 2px 7px rgba(0,0,0,.16)}

#cards.fix427-order-layout-active>.compact-submitted-order .compact-order-seat,
#cards.fix427-order-layout-active .fix427-order-lane .compact-order-seat{font-weight:1000;letter-spacing:.01em}
#cards.fix427-order-layout-active .submitted-order-item-head h3 strong{font-size:30px;line-height:1;color:#b24500;white-space:nowrap}
#cards.fix427-order-layout-active .submitted-order-grid>.compact-order-actions .compact-order-primary{min-height:64px;font-size:19px}
#cards.fix427-order-layout-active .staff-special-request,
#cards.fix427-order-layout-active .staff-allergy-alert{font-size:15px;line-height:1.5}

#cards.fix427-order-lanes{display:flex;align-items:flex-start;gap:14px;width:100%;max-width:none;overflow-x:auto;overflow-y:visible;margin-top:10px;padding:0 2px 18px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
#cards.fix427-order-lanes>.fix427-order-lane{flex:0 0 360px;min-width:0;scroll-snap-align:start;border:1px solid #cfd5dc;border-radius:18px;background:#eef1f4;overflow:clip;box-shadow:0 5px 16px rgba(17,17,17,.06)}
.fix427-order-lane-header{position:sticky;top:var(--fix427-lane-sticky-top,0);z-index:3;display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;padding:12px 14px;border-bottom:2px solid #111;background:#111;color:#fff}
.fix427-order-lane-header span{grid-column:1/-1;font-size:10px;font-weight:900;letter-spacing:.16em;opacity:.66}
.fix427-order-lane-header h2{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:27px;line-height:1.1;font-weight:1000}
.fix427-order-lane-header b{display:grid;place-items:center;min-width:44px;min-height:31px;padding:4px 8px;border-radius:999px;background:#fff;color:#111;font-size:13px;font-weight:1000}
.fix427-order-lane-body{display:grid;gap:10px;padding:10px}
#cards.fix427-order-lanes .compact-submitted-order{margin:0;padding:12px;border-radius:14px;background:#fff}
#cards.fix427-order-lanes .submitted-order-grid{grid-template-columns:1fr;gap:10px}
#cards.fix427-order-lanes .submitted-order-info{gap:8px;padding:0 0 10px;border-right:0;border-bottom:1px solid #dfe3e8}
#cards.fix427-order-lanes .compact-order-topline{gap:6px}
#cards.fix427-order-lanes .compact-order-number{font-size:27px;line-height:1}
#cards.fix427-order-lanes .compact-order-seatline{gap:6px}
#cards.fix427-order-lanes .compact-order-seat{min-height:0;padding:0;border:0;background:transparent;font-size:28px;line-height:1.08}
#cards.fix427-order-lanes .compact-order-time-row{gap:5px}
#cards.fix427-order-lanes .compact-time-chip{font-size:11px}
#cards.fix427-order-lanes .submitted-order-products{gap:8px}
#cards.fix427-order-lanes .submitted-order-item{gap:7px;padding:11px 12px;border-width:1px;background:#fbfcfd}
#cards.fix427-order-lanes .submitted-order-item-head h3{font-size:23px;line-height:1.2}
#cards.fix427-order-lanes .submitted-order-item-head h3 strong{font-size:31px}
#cards.fix427-order-lanes .submitted-item-start{width:100%;min-width:0;min-height:48px;margin-left:0}
#cards.fix427-order-lanes .submitted-item-edit .tab{min-height:44px}
#cards.fix427-order-lanes .submitted-order-grid>.compact-order-actions{grid-template-columns:1fr;gap:6px;padding:0}
#cards.fix427-order-lanes .submitted-order-grid>.compact-order-actions .compact-order-primary{min-height:60px;font-size:18px}
#cards.fix427-order-lanes .submitted-order-grid>.compact-order-actions small{font-size:10px}
#cards.fix427-order-lanes .overdue-batch{border-width:2px;border-color:#e98b20;background:#fff8ed}

@media(max-width:700px){
  .fix427-order-layout-toolbar{align-items:stretch;flex-direction:column;gap:8px;margin:10px 0 6px;padding:9px}
  .fix427-order-layout-copy small{display:none}
  .fix427-order-layout-toggle{width:100%}
  .fix427-order-layout-toggle button{min-width:0;min-height:46px}
  #cards.fix427-order-lanes{gap:10px;margin-left:-2px;margin-right:-2px;padding-bottom:14px}
  #cards.fix427-order-lanes>.fix427-order-lane{flex-basis:min(86vw,350px)}
  .fix427-order-lane-header{padding:11px 12px}
  .fix427-order-lane-header h2{font-size:25px}
  .fix427-order-lane-body{padding:8px}
  #cards.fix427-order-lanes .compact-submitted-order{padding:10px}
  #cards.fix427-order-lanes .submitted-order-item-head h3{font-size:21px}
  #cards.fix427-order-lanes .submitted-order-item-head h3 strong{font-size:29px}
}
