.fryer-page{--cream:#f1f2e6;--ink:#1e2b20}
.fryer-page #kitchen-app{--sidebar-width:164px}
.fryer-page [hidden]{display:none!important}
.fryer-sidebar{display:flex;flex-direction:column;gap:19px;background:#1b201c;border-right:1px solid var(--line);padding:16px 13px calc(14px + env(safe-area-inset-bottom));overflow-y:auto;min-height:0}
.fryer-sidebar .brand{flex:0 0 auto;display:flex;flex-direction:column;gap:5px;align-items:flex-start}.fryer-sidebar .brand-logo{width:86px;height:66px;object-fit:contain}.fryer-sidebar .brand-product{font-size:9px;letter-spacing:2.3px}
.fryer-sidebar .store-switch{display:flex;flex-direction:column;width:100%;gap:4px;padding:3px}.fryer-sidebar .store-switch button{width:100%;min-height:44px;padding:8px;font-size:12px}.fryer-sidebar .store-switch button[aria-pressed=true]{background:var(--yellow);color:#172214}
.station-label{display:flex;flex-direction:column;gap:6px}.station-label strong{font-size:20px;letter-spacing:-.6px}.station-label>span:last-child{font-size:10px;color:var(--muted)}.fryer-page .eyebrow{color:#9da991;font-size:9px;font-weight:700;letter-spacing:1.8px}
.sidebar-timers{display:flex;flex-direction:column;gap:8px}.prep-preset{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:4px;text-align:left;border:1px solid #53653c;border-radius:10px;background:#26331f;padding:12px;color:#cbe5a6;min-height:106px}.prep-preset span{font-size:14px;font-weight:750}.prep-preset strong{font-size:32px;line-height:1;font-variant-numeric:tabular-nums}.prep-preset small{font-size:10px;line-height:1.4}.prep-preset[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow);color:#172214}
.station-actions{display:flex;flex-direction:column;gap:8px}.station-actions button,.station-bottom button{min-height:44px;border:1px solid #46513e;border-radius:8px;background:#262d23;color:#eceddf;font-size:12px;padding:10px;text-align:left}.station-actions button{display:flex;align-items:center;justify-content:space-between}.station-actions button span{color:#c4d1b1;font-variant-numeric:tabular-nums}
.station-bottom{margin-top:auto;display:flex;flex-direction:column;gap:7px}.station-bottom>span{font-size:10px;color:#a8b49b;line-height:1.4}.station-bottom #sound-status.error{color:#ffc1a5}.back-bump{color:#d6decb;font-size:12px;text-decoration:none;padding:12px 0;min-height:44px;display:flex;align-items:center}
.fryer-main{padding:20px 22px 12px;gap:0;display:flex;flex-direction:column;min-width:0;margin:0;max-width:none;min-height:0;overflow-y:auto}.fryer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 54px;margin-bottom:12px}.fryer-heading h1{font-size:32px;letter-spacing:-1px;margin-top:4px;line-height:1}.connection{font-size:14px;color:#a5c891;display:flex;align-items:center;gap:7px;text-align:right}.connection:before{content:'';width:7px;height:7px;border-radius:50%;background:#71c34e;flex:0 0 auto}.connection.offline{color:#ffbe9e}.connection.offline:before{background:#f39b5a}
.product-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;flex:0 0 auto}.count-card{position:relative;min-width:0;background:var(--cream);color:var(--ink);border:2px solid transparent;border-radius:12px;overflow:hidden}.count-card.is-selected{background:var(--yellow);border-color:#fff18b;box-shadow:0 0 0 2px #f7e34228}.count-select{width:100%;min-height:116px;color:inherit;background:transparent;border:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 18px;text-align:left}.count-number{font-size:clamp(72px,7.5vw,112px);font-weight:850;letter-spacing:-4px;line-height:1;font-variant-numeric:tabular-nums}.count-name{font-size:clamp(20px,2vw,28px);font-weight:750;letter-spacing:-.5px;align-self:flex-end;padding-bottom:0}.count-status{display:flex;gap:15px;padding:2px 16px;background:#1722140b;border-top:1px solid #17221418;font-size:14px;align-items:baseline}.count-status strong{font-size:26px;margin-right:6px;font-variant-numeric:tabular-nums}.count-status .ready-number{color:#446936}.quantity-stepper{display:grid;grid-template-columns:minmax(56px,1fr) minmax(64px,1.2fr) minmax(56px,1fr);align-items:stretch;gap:8px;padding:6px 8px;background:#17221413;min-height:76px}.quantity-stepper button{width:100%;min-height:64px;min-width:56px;border:1px solid #53602a60;border-radius:9px;background:#ffffff75;color:#202b17;font-size:36px;font-weight:650;line-height:1;padding:8px}.quantity-stepper button:active{transform:none;background:#fff9}.quantity-stepper>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:18px;line-height:1.05;font-weight:650}.quantity-stepper>span strong{font-size:32px;font-weight:800;font-variant-numeric:tabular-nums}.quantity-stepper>span small{font-size:18px}.count-card:not(.is-editing) .quantity-stepper{display:none}.count-select:disabled{opacity:.6;cursor:default}
.selection-strip{min-height:51.2px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:clamp(18px,1.8vw,26px);font-weight:550;line-height:1.35;color:#c7d2bb;padding:3px 2px}.selection-strip.has-selection{color:var(--yellow);font-weight:700}.selection-strip>span{min-width:0}.selection-strip button{flex:0 0 auto;border:1px solid #4a563e;border-radius:8px;background:#252d20;color:#dce6cf;font-size:14px;min-height:44px;padding:8px 12px}.basket-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 10px}.basket-heading h2{font-size:22px;font-weight:700;letter-spacing:-.4px;margin:0}.basket-heading>span{color:#b6c3a8;font-size:14px}
.basket-grid{flex:1;min-height:390px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(190px,1fr));gap:12px}.basket-grid.five-baskets{grid-template-columns:repeat(3,minmax(0,1fr))}
.basket{position:relative;display:flex;flex-direction:column;min-width:0;min-height:190px;border:1px solid #47523f;border-radius:12px;background:#222a20;overflow:hidden}.basket.empty{border-style:dashed;background:#1d231c}.basket.can-drop{border-color:#d6d252;background:#292e1b}.basket.down{border-color:#779c4e;background:#283622}.basket.jalapeno.down{border-color:#92ac64;background:#2c381d}.basket.ready{background:#f7e342;border-color:#ffec78;color:#1c2717}
.basket-main{border:0;background:transparent;color:inherit;display:flex;flex:1;min-height:0;flex-direction:column;align-items:stretch;text-align:center;padding:16px 18px;gap:7px;width:100%}.basket-top{display:flex;flex:0 0 auto;width:100%;align-items:center;justify-content:space-between;gap:8px}.basket-name{font-size:22px;font-weight:750;letter-spacing:.4px;text-align:left;white-space:nowrap}.basket-status{font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#c6dfb2;background:#afcd8b14;border:1px solid #a8c58035;border-radius:6px;padding:5px 8px;line-height:1.1;white-space:nowrap}.basket.ready .basket-status{color:#35431d;border-color:#586d3540;background:#53652c12}
.basket-clock{display:flex;flex:1;min-height:0;align-items:center;justify-content:center;font-size:clamp(64px,7vw,120px);font-variant-numeric:tabular-nums;font-weight:800;line-height:1;letter-spacing:-3px;white-space:nowrap}.basket.empty .basket-clock{font-size:clamp(38px,3.8vw,64px);letter-spacing:-1px;color:#a1b48c;font-weight:550}.basket.can-drop .basket-clock{color:var(--yellow);font-size:clamp(38px,3.8vw,64px);font-weight:700}.basket-contents{display:flex;flex:0 0 auto;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px 16px;font-size:clamp(20px,2.4vw,36px);font-weight:700;line-height:1.15;color:#e1edcf}.basket-piece{white-space:nowrap}.basket.empty .basket-contents{color:#a6b597;font-size:20px;font-weight:550}.basket.can-drop .basket-contents{color:#e1e9bd;font-size:clamp(20px,2.4vw,36px);font-weight:700}.basket.ready .basket-contents{color:#324321}.basket-foot{display:flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:36px;font-size:15px;color:#b9caaa;line-height:1.25}.basket.ready .basket-foot{color:#35451f;font-weight:650}.basket-adjust{position:absolute;bottom:12px;right:12px;border:1px solid #8cae66;border-radius:7px;background:#23331d;color:#e5f1d8;font-size:15px;min-height:44px;padding:9px 14px}.basket.down .basket-main{padding-bottom:12px}.basket.down .basket-foot{justify-content:flex-start;padding-right:135px;min-height:44px}
.available-strip{margin-top:10px;border:1px solid #6d7949;background:#2c331f;border-radius:9px;padding:9px 12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#d2dfb5;font-size:11px}.available-strip>strong{font-size:11px;margin-right:5px}.available-strip button{font-size:10px;color:#c8d5b1;background:#374129;border:1px solid #70844e;border-radius:6px;min-height:38px;padding:6px 9px}.station-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 1px 0;color:#899b7a;font-size:10px}.mapping-alert{padding:9px 12px;background:#4e3821;border:1px solid #805c30;border-radius:8px;font-size:12px;line-height:1.4;color:#ffddb0;margin-bottom:10px}.mapping-alert a{color:#ffebbc}
.fryer-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:25px;z-index:90;display:flex;gap:13px;align-items:center;max-width:90vw;background:#f3f1d9;color:#1b2918;box-shadow:0 8px 35px #0007;border-radius:11px;padding:9px 12px 9px 18px;font-size:13px}.fryer-toast button{min-height:42px;background:#263a20;color:#f5f6df;border:0;border-radius:7px;font-size:13px;padding:8px 13px}.fryer-toast #timer-toast-close{padding:8px;font-size:20px;color:#2b391d;background:transparent}
.fryer-page dialog{width:460px;max-width:calc(100vw - 32px)}.fryer-page dialog h2{font-size:27px}.fryer-page dialog p{font-size:14px;line-height:1.5;color:#b7c3a8}.fryer-page .dialog-buttons{margin-top:22px;display:flex;gap:10px}.fryer-page .dialog-buttons button{flex:1;min-height:48px}.remake-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.remake-inputs label{font-size:12px;color:#d5dec9}.remake-inputs input{width:100%;margin-top:7px;min-height:52px;border:1px solid #657451;border-radius:8px;background:#1b2517;color:#fff;font-size:22px;padding:9px}.adjust-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.adjust-controls button{min-height:48px;background:#354529;border:1px solid #6a8551;border-radius:8px;color:#f2f3dd;font-size:17px}.adjust-value{display:block;text-align:center;font-size:35px;font-weight:750;margin:15px 0}
.fryer-page button:focus-visible,.fryer-page a:focus-visible{outline:3px solid #fff6a2;outline-offset:3px}.fryer-page button:disabled{cursor:default}.fryer-page .admin-nav{font-size:10px}.fryer-page .admin-nav a{padding:7px 4px}
@media(max-width:1050px){.fryer-main{padding:14px 15px 10px}.product-counts{gap:9px}.count-select{padding:4px 12px;min-height:90px}.count-name{font-size:22px}.count-number{font-size:78px}.count-status{padding:2px 11px;gap:10px}.basket-grid{gap:10px}.basket-main{padding:12px}.fryer-sidebar{gap:14px;padding:12px 10px}.fryer-heading{margin-bottom:8px;flex-basis:48px}}
@media(max-height:850px) and (min-width:700px){.fryer-sidebar{gap:12px}.fryer-sidebar .station-label{display:none}.fryer-sidebar .brand-logo{height:54px}.prep-preset{min-height:92px;padding:10px}}
@media(max-height:720px) and (min-width:700px){.fryer-page #kitchen-app{--sidebar-width:150px}.fryer-sidebar{gap:10px}.fryer-sidebar .brand-logo{height:48px}.fryer-heading{flex-basis:36px}.fryer-heading h1{font-size:27px}.count-select{min-height:68px;padding:1px 12px}.count-number{font-size:66px}.count-status{padding:1px 10px}.selection-strip{min-height:45px;padding-block:0}.basket-grid{min-height:390px;grid-template-rows:repeat(2,minmax(190px,1fr))}.prep-preset{min-height:90px;padding:9px}.station-bottom{gap:4px}.station-bottom button{min-height:40px}}
@media(max-width:699px){.fryer-page #kitchen-app{--sidebar-width:120px}.fryer-sidebar{padding:10px 8px}.station-label strong{font-size:17px}.fryer-main{padding:12px 10px}.fryer-heading{align-items:flex-start}.fryer-heading h1{font-size:27px}.connection{font-size:9px}.product-counts{gap:6px}.count-select{flex-direction:column;align-items:flex-start;gap:4px;min-height:80px;padding:6px 10px}.count-name{align-self:flex-start;font-size:13px;padding:0}.count-number{font-size:43px;letter-spacing:-2px}.count-status{flex-direction:column;gap:1px;padding:2px 8px}.count-status strong{font-size:15px}.quantity-stepper{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;gap:6px}.quantity-stepper>span{grid-column:1/-1;grid-row:1}.quantity-stepper button{min-width:0;min-height:56px;font-size:30px}.basket-grid,.basket-grid.five-baskets{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:220px;min-height:0;flex:0 0 auto}.basket-heading h2{font-size:16px}.selection-strip{font-size:18px;align-items:flex-start;flex-direction:column;gap:6px}.station-footer{flex-wrap:wrap}.basket-clock{font-size:64px}.fryer-toast{width:90vw;font-size:12px}}

/* Scale to the actual basket, including tall desktop cards and compact tablets. */
@supports (container-type:size){
  .basket{container:fryer-basket / size}
  .basket-name{font-size:clamp(17px,6cqh,28px)}
  .basket-status{font-size:clamp(13px,4.6cqh,22px)}
  .basket-clock{font-size:clamp(56px,min(34cqh,25cqw),144px)}
  .basket-contents,.basket.can-drop .basket-contents{font-size:clamp(18px,min(8cqh,8.5cqw),38px)}
  .basket.empty .basket-clock,.basket.can-drop .basket-clock{font-size:clamp(32px,min(18cqh,12cqw),72px)}
  .basket.empty:not(.can-drop) .basket-contents{font-size:clamp(16px,5cqh,24px)}
  .basket-foot{font-size:clamp(13px,4cqh,18px)}
  @container fryer-basket (height < 260px){
    .basket-main{padding:10px 12px;gap:5px}
    .basket.down .basket-main{padding-bottom:58px}
    .basket.down .basket-foot{display:none}
    .basket-top{gap:6px}
    .basket-status{padding:4px 6px}
    .basket-contents{column-gap:10px}
    .basket-foot{min-height:28px}
  }
  @container fryer-basket (width < 300px){
    .basket-contents{column-gap:8px}
    .basket-name{font-size:17px}
    .basket-status{font-size:13px}
    .basket-adjust{font-size:14px;padding:8px 12px}
  }
}

/* Galaxy Tab S10 FE+: fit the browser viewport, not the panel's physical pixels.
   Keep quantity controls beside the count so selection cannot push baskets down. */
@media (min-width:1140px) and (orientation:landscape){
  .fryer-page #kitchen-app{--sidebar-width:152px}
  .fryer-main{padding:12px 12px calc(8px + env(safe-area-inset-bottom));padding-right:max(12px,env(safe-area-inset-right))}
  .fryer-heading{flex-basis:42px;margin-bottom:8px}
  .fryer-heading h1{font-size:30px}
  .product-counts{gap:10px}
  .count-card{display:grid;grid-template-columns:minmax(100px,1fr) minmax(208px,2fr);grid-template-rows:clamp(84px,12dvh,104px) auto}
  .count-select{grid-column:1/-1;grid-row:1;min-height:0;height:100%;padding:4px 16px}
  .count-number{font-size:clamp(72px,10dvh,96px)}
  .count-name{font-size:24px;align-self:center}
  .count-card.is-editing .count-select{grid-column:1;flex-direction:column;justify-content:center;gap:0;padding:4px}
  .count-card.is-editing .count-number{font-size:56px;letter-spacing:-3px}
  .count-card.is-editing .count-name{font-size:20px;line-height:1;align-self:center}
  .quantity-stepper{grid-column:2;grid-row:1;align-self:center;grid-template-columns:minmax(56px,1fr) minmax(72px,1fr) minmax(56px,1fr);gap:6px;padding:6px;background:transparent}
  .quantity-stepper button{min-height:64px}
  .count-status{grid-column:1/-1;grid-row:2;padding:2px 14px;justify-content:space-between}
  .selection-strip{min-height:48px;font-size:22px;flex-shrink:0}
  .basket-heading{flex-shrink:0;margin:2px 0 8px}
  .basket-grid{gap:10px}
  .basket-grid.five-baskets{grid-template-columns:repeat(6,minmax(0,1fr))}
  .five-baskets .basket{grid-column:span 2}
  .five-baskets .basket:nth-child(n+4){grid-column:span 3}
  .fryer-sidebar{gap:12px;padding-left:calc(10px + env(safe-area-inset-left));padding-right:10px}
  .fryer-sidebar>*{flex-shrink:0}
  .fryer-sidebar .store-switch button,.station-actions button,.station-bottom button{min-height:48px;font-size:13px}
  .station-footer{flex-shrink:0;padding-top:7px;font-size:11px}
}

/* Dedicated kitchen controls: fast repeated taps must never become a zoom gesture. */
html.fryer-page,.fryer-page body,.fryer-page #kitchen-app{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.fryer-page .quantity-stepper,.fryer-page .quantity-stepper *{touch-action:none}
.fryer-page button,.fryer-page button *,.fryer-page .quantity-stepper,.fryer-page .quantity-stepper *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

.cutover-note { margin: 0 0 12px; font-size: 12px; color: #d6dfca; line-height: 1.4; }

/* Service-distance hierarchy: contents and cooking counts, not empty timer space. */
.count-status{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:7px 12px;background:#e1e6d6}
.count-status>span{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0}
.count-status strong{font-size:clamp(32px,3.4vw,48px);line-height:1;margin:0;font-weight:850}
.count-status-label{font-size:clamp(14px,1.4vw,19px);font-weight:800;line-height:1.1}
.count-status .ready-number{color:#235022;border-left:2px solid #17221425}
.basket{border-width:2px}
.basket.down{background:#263b2b;border-color:#a6ca85;color:#f5f8ed}
.basket-top{gap:8px}.basket-name{font-weight:850}
.basket-status{background:#c4e6a8;color:#162b18;border:0;font-weight:850}
.basket.ready .basket-status{background:#233818;color:#fff}
.basket-contents{font-size:clamp(22px,2.5vw,38px);gap:8px;color:#fff}
.basket-piece{display:flex;align-items:baseline;justify-content:center;gap:8px;line-height:1.05}
.basket-piece-qty{font-size:1.45em;font-weight:900;font-variant-numeric:tabular-nums}
.basket-piece-label{font-weight:800}
.basket.ready .basket-contents{color:#172712}
@media(min-width:1000px) and (orientation:landscape){
 .fryer-page #kitchen-app{--sidebar-width:132px}
 .fryer-sidebar{padding:10px 8px;gap:10px}.fryer-sidebar .brand-logo{height:42px;width:72px}
 .fryer-main{padding:10px 12px 6px}
 .fryer-heading{flex-basis:32px;margin-bottom:6px}.fryer-heading h1{font-size:26px}.fryer-heading .eyebrow{display:none}
 .cutover-note{margin-bottom:6px;font-size:11px}
 .count-card{display:grid;grid-template-columns:minmax(90px,1fr) minmax(180px,2fr);grid-template-rows:clamp(66px,9dvh,86px) auto}
 .count-select{grid-column:1/-1;grid-row:1;min-height:0;padding:2px 12px;flex-direction:row}
 .count-number{font-size:clamp(56px,8.5dvh,80px);letter-spacing:-2px}.count-name{font-size:23px;align-self:center}
 .count-status{grid-column:1/-1;grid-row:2;min-height:58px;padding:5px 8px}
 .count-card.is-editing .count-select{grid-column:1;flex-direction:column;justify-content:center;padding:2px}
 .count-card.is-editing .count-number{font-size:42px}.count-card.is-editing .count-name{font-size:17px}
 .quantity-stepper{grid-column:2;grid-row:1;grid-template-columns:1fr 1fr 1fr;min-height:0;padding:4px;gap:4px;background:transparent}
 .quantity-stepper button{min-width:44px;min-height:54px;font-size:28px;padding:3px}.quantity-stepper>span strong{font-size:25px}.quantity-stepper>span small{font-size:13px}
 .selection-strip{min-height:40px;font-size:18px}.basket-heading{margin:0 0 6px}.basket-heading h2{font-size:20px}
 .basket-grid{gap:10px;min-height:370px;grid-template-rows:repeat(2,minmax(180px,1fr))}
 .basket{min-height:180px}.basket-main{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:5px 12px;padding:12px}
 .basket-top{grid-column:1/-1}.basket-name{font-size:clamp(23px,2vw,30px)}.basket-status{font-size:clamp(17px,1.6vw,23px);padding:6px 8px}
 .basket-clock{grid-column:1;grid-row:2;font-size:clamp(52px,min(27cqh,12cqw),94px);letter-spacing:-2px;align-self:center}
 .basket-contents{grid-column:2;grid-row:2;align-self:center;flex-direction:column;align-items:flex-start;font-size:clamp(23px,min(11cqh,6cqw),38px);gap:8px;text-align:left}
 .basket-piece{justify-content:flex-start;gap:7px}.basket-piece-qty{font-size:1.4em}
 .basket-foot{grid-column:1/-1;grid-row:3;font-size:13px;min-height:32px}
 .basket.down .basket-main{padding-bottom:54px}.basket.down .basket-foot{display:none}
 .basket-adjust{bottom:8px;right:10px;min-height:42px;font-size:14px;padding:7px 12px}
 .basket.empty .basket-clock,.basket.can-drop .basket-clock{font-size:clamp(30px,3vw,48px)}
 .basket.empty:not(.can-drop) .basket-contents{font-size:20px;color:#a6b597}
 .station-footer{padding-top:5px;font-size:10px}.station-bottom button{font-size:12px;min-height:44px}
}
@media(min-width:1000px) and (orientation:landscape){
 .basket-grid{min-height:430px;grid-template-rows:repeat(2,minmax(210px,1fr))}.basket{min-height:210px}
 .basket-contents:not(:has(.basket-piece:nth-child(3))){font-size:clamp(28px,min(13cqh,7cqw),42px)}
 .basket-contents:has(.basket-piece:nth-child(3)){font-size:clamp(20px,min(9cqh,6cqw),30px);gap:5px}
 .basket.empty:not(.can-drop) .basket-contents{font-size:20px}
 .basket.empty .basket-status{background:#35432f;color:#c1cbb8}
}

/* Reconstructed neutral STAX chicken presentation, 2026-11-02.
   Presentation only: fixed demand cards, calm basket hierarchy, no model changes. */
html.fryer-page{--bg:#202020;--panel:#303030;--text:#f6f5ed;--muted:#c5c5bf;--line:#626262;--yellow:#f5ed27;--cream:#f5f3e9;--ink:#202020;background:var(--bg)}
.fryer-page body{background:var(--bg);color:var(--text)}
.fryer-page #kitchen-app{--sidebar-width:152px}
.fryer-sidebar{background:#1b1b1b;border-color:#484848;padding:16px 12px;gap:16px}
.fryer-sidebar .brand-logo{width:86px;height:70px}
.fryer-page .eyebrow,.station-label>span:last-child,.station-bottom>span,.station-footer,.connection{color:#bfbfb8}
.prep-preset,.station-actions button,.station-bottom button{background:transparent;border-color:#626262;color:#f6f5ed;border-radius:7px}
.prep-preset small,.station-actions button span{color:#c5c5bf}
.prep-preset[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow);color:#202020}
.prep-preset[aria-pressed=true] small{color:#202020}
.station-actions button,.station-bottom button{min-height:48px;font-size:14px}
.station-actions button{gap:8px}.station-actions button span{white-space:nowrap}
.fryer-main{padding:14px 20px 10px;overflow-y:auto}
.fryer-heading{flex:0 0 42px;margin-bottom:10px}.fryer-heading h1{font-size:34px}.fryer-heading .eyebrow{display:none}
.connection{font-size:13px}
.product-counts{gap:14px;align-items:stretch}
.count-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;background:#f5f3e9;color:#202020;border:1px solid #e3e1d7;border-radius:10px;overflow:hidden}
.count-card.is-selected{background:#f5f3e9;border-color:var(--yellow);box-shadow:inset 0 4px var(--yellow)}
.count-select,.count-card.is-editing .count-select{grid-column:1;grid-row:1;min-height:96px;height:auto;padding:10px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
.count-number,.count-card.is-editing .count-number{font-size:78px;line-height:1;letter-spacing:-3px;color:#202020}
.count-name,.count-card.is-editing .count-name{font-size:24px;align-self:center;line-height:1.15;flex-shrink:0;position:relative;z-index:1}
.count-select:disabled{opacity:1}.count-select:disabled .count-number{color:#696963}
.quantity-stepper{grid-column:1;grid-row:2;grid-template-columns:minmax(56px,1fr) minmax(70px,1.3fr) minmax(56px,1fr);padding:4px 16px 12px;gap:12px;background:transparent;min-height:0;align-self:stretch}
.quantity-stepper button{min-width:56px;min-height:56px;background:#fffef5;color:#202020;border:1px solid #8a8a80;border-radius:7px;font-size:30px;padding:4px}
.quantity-stepper button:active{background:#deddd3}
.quantity-stepper>span{background:var(--yellow);color:#202020;border:0;border-radius:7px;gap:2px}
.quantity-stepper>span strong{font-size:28px}.quantity-stepper>span small{font-size:14px}
.count-status{grid-column:1;grid-row:3;display:grid;grid-template-columns:1fr 1fr;min-height:48px;padding:8px 16px;gap:10px;background:#e7e6dc;color:#42423e;border-top:1px solid #deddd3}
.count-status>span{justify-content:flex-start;gap:6px}.count-status strong{font-size:30px;font-weight:750}.count-status-label{font-size:14px;font-weight:500}
.count-status .ready-number{color:#42423e;border:0;padding-left:8px}
.selection-strip{min-height:52px;margin:6px 0;padding:0;border:0;background:transparent;color:#c5c5bf;font-size:18px;font-weight:500;flex-shrink:0}
.selection-strip.has-selection{color:#eee9a5;font-weight:550}
.selection-strip button{min-height:48px;padding:8px 10px;background:transparent;border-color:#767676;color:#f6f5ed;font-size:13px}
.basket-heading{margin:0 0 8px;min-height:26px;flex-shrink:0}.basket-heading h2{font-size:22px}.basket-heading>span{color:#bfbfb8;font-size:13px}
.basket-grid{gap:12px;min-height:392px;grid-template-rows:repeat(2,minmax(190px,1fr))}
.basket-grid.five-baskets{grid-template-columns:repeat(6,minmax(0,1fr))}.five-baskets .basket{grid-column:span 2}.five-baskets .basket:nth-child(n+4){grid-column:span 3}
.basket,.basket.down,.basket.jalapeno.down{min-height:190px;background:#383838;color:#f6f5ed;border:1px solid #777;border-radius:9px;box-shadow:inset 0 3px #999}
.basket.empty{background:#262626;border:1px solid #4b4b4b;box-shadow:none}
.basket.can-drop{background:#2b2b2b;border:1px solid #77774c;box-shadow:none}
.basket.ready{background:var(--yellow);border-color:var(--yellow);color:#202020;box-shadow:none}
.basket-main{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:28px minmax(0,1fr) auto;gap:8px 14px;padding:14px;text-align:left}
.basket-top{grid-column:1/-1;gap:6px}
.basket-name{font-size:23px;font-weight:700;letter-spacing:0}
.basket-status{background:transparent!important;border:0;color:#c5c5bf;padding:0;font-size:12px;font-weight:550;letter-spacing:.3px}
.basket.empty .basket-status,.basket.down .basket-status{display:none}
.basket.ready .basket-status{display:block;color:#202020;font-weight:750}
.basket-clock{grid-column:1;grid-row:2;justify-content:flex-start;align-self:center;font-size:clamp(44px,14cqw,82px);line-height:1;letter-spacing:-1.5px}
.basket-contents,.basket-contents:not(:has(.basket-piece:nth-child(3))),.basket-contents:has(.basket-piece:nth-child(3)){grid-column:2;grid-row:2;font-size:clamp(20px,6cqw,29px);gap:8px;flex-direction:column;align-items:flex-start;color:#f6f5ed;line-height:1.15}
.basket-piece{gap:6px}.basket-piece-qty{font-size:1.15em;font-weight:800}.basket-piece-label{font-weight:550}
.basket.ready .basket-contents{color:#202020}
.basket.empty .basket-name{color:#c5c5bf}
.basket.empty .basket-contents{display:none}
.basket.empty .basket-clock{grid-column:1/-1;justify-content:center;font-size:25px;letter-spacing:0;color:#aaa9a2;font-weight:500}
.basket.can-drop .basket-clock{justify-self:center;grid-column:1/-1;font-size:28px;line-height:1.1;letter-spacing:0;font-weight:700;min-width:148px;min-height:56px;padding:10px 24px;background:var(--yellow);color:#202020;border-radius:28px;display:flex;align-items:center;justify-content:center}
.basket-foot{grid-column:1/-1;grid-row:3;min-height:24px;font-size:13px;color:#c5c5bf}
.basket.empty .basket-foot,.basket.down .basket-foot{display:none}
.basket.ready .basket-foot{color:#202020}
.basket.down .basket-main{padding-bottom:62px}
.basket-adjust{min-height:48px;bottom:8px;right:12px;background:#303030;border:1px solid #888;color:#f6f5ed;border-radius:6px;font-size:13px;padding:8px 12px}
.fryer-page dialog{background:#303030;border-color:#777;color:#f6f5ed}.fryer-page dialog p{color:#c5c5bf}
.fryer-page .button.secondary,.adjust-controls button,.remake-inputs input{background:#393939;border-color:#888;color:#f6f5ed}
.fryer-page button:focus-visible,.fryer-page a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.fryer-page .count-card button:focus-visible{outline:3px solid #202020;outline-offset:-4px}
.station-footer{padding-top:6px;line-height:13px;font-size:10px;flex-shrink:0}
@media(min-width:1000px) and (max-height:850px) and (orientation:landscape){
 .fryer-main{padding:8px 16px 6px}.fryer-heading{flex-basis:32px;margin-bottom:6px}.fryer-heading h1{font-size:29px}
 .count-status strong{font-size:27px}.count-status-label{font-size:13px}
 .selection-strip{min-height:48px;margin:2px 0;font-size:16px}
 .basket-heading{min-height:24px;margin-bottom:6px}.basket-heading h2{font-size:20px}
 .basket-grid{min-height:386px;gap:8px;grid-template-rows:repeat(2,minmax(189px,1fr))}.basket{min-height:189px}
 .basket-main{padding:10px;gap:5px 10px}.basket-name{font-size:21px}
 .basket.down .basket-main{padding-bottom:58px}.basket-adjust{bottom:5px;right:8px}
 .fryer-sidebar{padding:10px;gap:12px}.fryer-sidebar .brand-logo{height:56px;width:82px}
}
@container fryer-basket (width < 360px){
 .basket:not(.empty) .basket-main{grid-template-columns:1fr;grid-template-rows:24px 44px minmax(0,1fr);gap:5px;padding-top:8px}
 .basket:not(.empty) .basket-clock{grid-column:1;grid-row:2;font-size:44px;justify-content:flex-start;align-self:center}
 .basket:not(.empty) .basket-contents{grid-column:1;grid-row:3;align-self:start;flex-direction:row;flex-wrap:wrap;gap:4px 12px;font-size:17px}
 .basket:not(.empty) .basket-piece-qty{font-size:1.1em}
 .basket.ready .basket-main{grid-template-rows:24px 44px minmax(0,1fr) auto}
 .basket.ready .basket-foot{grid-row:4;font-size:12px;min-height:20px}
}
@media(max-width:699px){
 .fryer-page #kitchen-app{--sidebar-width:116px}.fryer-main{padding:10px}
 .count-select,.count-card.is-editing .count-select{flex-direction:column;align-items:flex-start;padding:8px;min-height:84px}.count-name,.count-card.is-editing .count-name{font-size:14px;align-self:flex-start}.count-number,.count-card.is-editing .count-number{font-size:36px;letter-spacing:-1px}
 .quantity-stepper{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px;gap:6px}.quantity-stepper>span{grid-column:1/-1;grid-row:1;min-height:48px}.quantity-stepper button{min-width:0;min-height:48px}
 .count-status{display:flex;flex-direction:column;padding:6px;gap:6px}.count-status .ready-number{padding-left:0}.count-status strong{font-size:22px}.count-status-label{font-size:12px}
 .basket-grid,.basket-grid.five-baskets{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:220px}.five-baskets .basket{grid-column:auto}
 .selection-strip{font-size:15px}.basket-heading>span{font-size:11px}
}
@media(min-width:1000px) and (max-height:720px) and (orientation:landscape){
 .fryer-main{padding-top:1px;padding-bottom:1px}
 .fryer-heading{flex-basis:28px;margin-bottom:4px}
}
/* Keep the approved normal proportions when selecting: no new count-card row. */
@media(min-width:1000px) and (orientation:landscape){
 .count-card{grid-template-rows:82px 44px;grid-template-columns:1fr;height:128px}
 .count-select,.count-card.is-editing .count-select{grid-row:1;grid-column:1;display:grid;grid-template-columns:60px minmax(0,1fr);min-height:0;height:82px;padding:6px 12px;gap:10px;align-items:center}
 .count-number,.count-card.is-editing .count-number{font-size:66px;grid-column:1;grid-row:1;align-self:center}
 .count-name,.count-card.is-editing .count-name{grid-column:2;grid-row:1;align-self:center;justify-self:end;font-size:22px}
 .count-card.is-editing .count-name{align-self:start;font-size:20px;line-height:22px}
 .quantity-stepper{position:absolute;grid-row:1/-1;grid-column:1/-1;right:12px;top:30px;width:calc(100% - 96px);height:48px;display:grid;grid-template-columns:48px minmax(48px,1fr) 48px;gap:12px;padding:0;z-index:2}
 .quantity-stepper button{width:48px;min-width:48px;height:48px;min-height:48px;padding:0;font-size:28px}
 .quantity-stepper>span{min-width:0;gap:0}.quantity-stepper>span strong{font-size:24px}.quantity-stepper>span small{font-size:11px}
 .count-status{grid-row:2;grid-column:1;height:44px;min-height:44px;padding:5px 12px}
 .count-card:not(.is-editing) .quantity-stepper{display:none}
}
@media(min-width:1000px) and (max-width:1100px) and (orientation:landscape){
 .count-number,.count-card.is-editing .count-number{font-size:54px}
 .quantity-stepper{right:8px;width:calc(100% - 82px);gap:12px}
 .count-name,.count-card.is-editing .count-name{font-size:20px}
}
/* Basket corrections stay behind one small action menu. */
.basket-options{position:absolute;left:12px;bottom:8px;min-height:48px;padding:8px 12px;border:1px solid #888;border-radius:6px;background:#303030;color:#f6f5ed;font-size:13px;z-index:2}
.basket.ready .basket-main{padding-bottom:64px}
.basket-main.can-move{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.basket-choices{display:grid;gap:12px;margin:18px 0}
.basket-choices button{min-height:52px;padding:12px;text-align:left;background:#393939;color:#f6f5ed;border:1px solid #888;border-radius:6px;font:inherit}
.basket-choices button:disabled{opacity:.45}
.basket.is-drag-source{opacity:.35}
.basket.move-target{outline:2px dashed #ddd86a;outline-offset:-5px}
.basket.move-over{background:#4d4c2c;outline:4px solid #f9ed32;outline-offset:-4px}
.basket-drag-ghost{position:fixed!important;margin:0!important;z-index:10000;pointer-events:none;transform:translateY(-12px) scale(1.035) rotate(-1deg);box-shadow:0 24px 40px #0009,0 7px 0 #191919,0 9px 0 #777!important;opacity:.96}
@media(prefers-reduced-motion:reduce){.basket-drag-ghost{rotate:0deg}}

/* Keep Android long presses on basket controls in the timer, not the browser. */
.basket-main,.basket-main *,.basket-options,.basket-adjust{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none}

/* Visibility: scoped to the Chicken station, preserving existing basket geometry. */
.fryer-page{--muted:#d0d2ca;--yellow:#ffdc32;color:#faf8f1;background:#171a18}
.fryer-page .eyebrow{font-size:13px;color:#d0d2ca;letter-spacing:1px}
.fryer-page .site-gate-card{max-width:650px;padding:28px}.fryer-page .site-gate h1{font-size:40px}
.fryer-page .gate-description,.fryer-page .site-code-status{font-size:19px;line-height:1.5;color:#f5f3e9}
.fryer-page .site-gate button,.fryer-page .admin-entry,.fryer-page .access-removal summary{min-height:52px;font-size:18px}
.fryer-page .admin-entry{display:flex;align-items:center;justify-content:center;color:#ffdc32}
.fryer-page .access-removal{margin-top:20px;border-top:1px solid #747a73;padding-top:8px}.fryer-page .access-removal summary{cursor:pointer;padding:12px 0;color:#d0d2ca}
.fryer-page .fryer-sidebar{gap:12px}.fryer-page .brand-product{font-size:14px}.fryer-page .station-label strong{font-size:23px}.fryer-page .station-label>span:last-child{font-size:14px;color:#d0d2ca}
.fryer-page .station-actions button,.fryer-page .station-bottom button{min-height:48px;font-size:16px;color:#faf8f1}.fryer-page .station-bottom>span{font-size:14px;color:#d0d2ca}
.fryer-page .prep-preset span{font-size:18px}.fryer-page .prep-preset small{font-size:14px}.fryer-page .connection{font-size:16px;color:#d5efd0}.fryer-page .connection.offline{color:#ffd2be}
.fryer-page .count-card.is-selected{outline:3px solid #ffdc32;outline-offset:2px}.fryer-page .count-status-label{font-size:15px}.fryer-page .count-status{color:#30352e}.fryer-page .count-status .ready-number{color:#30352e}
.fryer-page .selection-strip{font-size:18px;color:#faf8f1}.fryer-page .selection-strip.has-selection{color:#ffdc32}.fryer-page .selection-strip button{font-size:16px}
.fryer-page .basket-heading>span{font-size:15px;color:#e2e4dc}.fryer-page .basket-status{font-size:15px;color:#faf8f1}.fryer-page .basket.down .basket-status,.fryer-page .basket.empty .basket-status{display:block}
.fryer-page .basket.empty.can-drop .basket-clock{background:#ffdc32;color:#171a18;font-weight:800}
.fryer-page .basket.ready .basket-status{color:#171a18}.fryer-page .basket.down{border-color:#abb4a6}.fryer-page .basket-options,.fryer-page .basket-adjust{font-size:16px;min-height:48px}
.fryer-page .basket.empty .basket-name{color:#e1e4dc}.fryer-page .basket:not(.empty) .basket-contents{font-size:20px}.fryer-page .basket:not(.empty) .basket-clock{font-size:52px}
.fryer-page button:disabled{opacity:1;background:#5b605a;color:#f0f0ea;cursor:not-allowed;box-shadow:none}.fryer-page .count-select:disabled{background:#deded5;color:#4a5047}
@media(max-width:600px){.fryer-page .site-gate-card{padding:20px;width:100%;max-width:100%}.fryer-page .site-gate{padding:12px}.fryer-page .site-gate h1{font-size:34px}.fryer-page .gate-description{font-size:18px}.fryer-page .site-gate *{overflow-wrap:anywhere}}
.fryer-page .fryer-sidebar>.station-label:first-of-type{display:flex;gap:4px}.fryer-page .fryer-sidebar>.station-label:nth-of-type(2){display:none}.fryer-page .fryer-sidebar>.station-label strong{font-size:22px;color:#ffdc32}
