.wkd-kitchen-pro{
  --kp-bg:#f5f5f7;--kp-surface:rgba(255,255,255,.82);--kp-card:#fff;--kp-text:#1d1d1f;--kp-muted:#6e6e73;
  --kp-line:rgba(0,0,0,.08);--kp-blue:#0071e3;--kp-green:#34c759;--kp-orange:#ff9f0a;--kp-red:#ff3b30;
  min-height:100vh;background:linear-gradient(180deg,#fbfbfd 0%,#f5f5f7 55%,#ececf0 100%);color:var(--kp-text);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,Segoe UI,sans-serif;font-size:17px;
}
.wkd-kitchen-pro-topbar{position:sticky;top:0;z-index:30;background:rgba(250,250,252,.82);border-bottom:1px solid var(--kp-line);backdrop-filter:saturate(180%) blur(22px);box-shadow:0 1px 0 rgba(255,255,255,.65)}
.wkd-kitchen-pro .wkd-topbar h1{font-size:clamp(34px,4vw,58px);line-height:.98;letter-spacing:-.045em;margin:.12em 0;color:var(--kp-text)}
.wkd-kitchen-pro .wkd-kicker{color:var(--kp-blue);font-weight:700;letter-spacing:.01em}
.wkd-kitchen-pro .wkd-topbar p{font-size:17px;color:var(--kp-muted);max-width:720px}
.wkd-kitchen-pro .wkd-top-actions{gap:10px;align-items:center}
.wkd-kitchen-pro .wkd-top-actions button{min-height:48px;padding:0 17px;border:1px solid rgba(0,0,0,.07);border-radius:999px;background:rgba(255,255,255,.9);color:var(--kp-text);font-size:15px;font-weight:650;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:.18s ease}
.wkd-kitchen-pro .wkd-top-actions button:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(0,0,0,.10)}
.wkd-kitchen-pro .wkd-top-actions button:focus-visible{outline:3px solid rgba(0,113,227,.25);outline-offset:2px}
.wkd-voice-toggle.is-on{background:var(--kp-blue)!important;color:#fff!important;border-color:transparent!important}.wkd-button-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#fff;margin-right:7px;box-shadow:0 0 0 6px rgba(255,255,255,.16)}
.wkd-kitchen-pro .wkd-clock{background:transparent;border:0;color:var(--kp-muted)}.wkd-kitchen-pro .wkd-clock strong{color:var(--kp-text)}
.wkd-voice-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:18px 20px 0;padding:17px 20px;border:1px solid rgba(0,0,0,.06);border-radius:20px;background:var(--kp-surface);box-shadow:0 12px 35px rgba(0,0,0,.06);backdrop-filter:blur(18px)}
.wkd-voice-panel div{display:flex;flex-direction:column;gap:5px}.wkd-voice-panel strong{font-size:18px;color:var(--kp-text)}.wkd-voice-panel span{color:var(--kp-muted)}
.wkd-voice-indicator{width:14px;height:14px;border-radius:50%;background:#a1a1a6}.wkd-kitchen-pro[data-voice-state="listening"] .wkd-voice-indicator{background:var(--kp-green);animation:wkdVoicePulse 1.3s infinite}.wkd-kitchen-pro[data-voice-state="success"] .wkd-voice-indicator{background:var(--kp-green)}.wkd-kitchen-pro[data-voice-state="error"] .wkd-voice-indicator{background:var(--kp-red)}
@keyframes wkdVoicePulse{70%{box-shadow:0 0 0 16px rgba(52,199,89,0)}100%{box-shadow:0 0 0 0 rgba(52,199,89,0)}}
.wkd-kitchen-stats{grid-template-columns:repeat(4,minmax(150px,1fr));padding:16px 20px}.wkd-kitchen-stats article{background:var(--kp-surface);border:1px solid rgba(0,0,0,.06);border-radius:20px;box-shadow:0 10px 28px rgba(0,0,0,.05)}.wkd-kitchen-stats article strong{font-size:38px;letter-spacing:-.04em;color:var(--kp-text)}.wkd-kitchen-stats article span{color:var(--kp-muted)}
.wkd-kitchen-board-host{display:block!important;padding:0 20px 26px!important;overflow:visible}.wkd-kitchen-board{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(360px,.88fr);gap:20px;align-items:start}
.wkd-kitchen-column{background:rgba(255,255,255,.68);border:1px solid rgba(0,0,0,.07);border-radius:28px;overflow:hidden;min-height:560px;box-shadow:0 18px 50px rgba(0,0,0,.07);backdrop-filter:blur(20px)}
.wkd-kitchen-column>header{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--kp-line)}
.wkd-kitchen-column-preparing>header{box-shadow:inset 0 4px 0 var(--kp-orange)}.wkd-kitchen-column-ready>header{box-shadow:inset 0 4px 0 var(--kp-green)}
.wkd-kitchen-column>header h2{margin:0;font-size:clamp(26px,2.4vw,38px);letter-spacing:-.035em;color:var(--kp-text)}.wkd-kitchen-column>header span{display:block;margin-top:5px;color:var(--kp-muted);font-size:14px}.wkd-kitchen-column>header strong{display:grid;place-items:center;min-width:50px;height:50px;padding:0 13px;border-radius:16px;background:#f2f2f7;color:var(--kp-text);font-size:24px}
.wkd-ready-tools{display:grid;grid-template-columns:1fr 190px;gap:10px;padding:14px 16px;border-bottom:1px solid var(--kp-line);background:rgba(248,248,250,.8)}
.wkd-ready-tools input,.wkd-ready-tools select{width:100%;min-height:50px;border:1px solid rgba(0,0,0,.10);border-radius:14px;background:#fff;color:var(--kp-text);padding:0 14px;font-size:16px;box-shadow:inset 0 1px 2px rgba(0,0,0,.03)}
.wkd-kitchen-column-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(355px,1fr));gap:16px;padding:16px}.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:1fr}
.wkd-column-empty{display:grid;place-items:center;min-height:170px;border:1px dashed rgba(0,0,0,.14);border-radius:18px;color:var(--kp-muted);font-size:18px;background:rgba(255,255,255,.5)}
.wkd-kitchen-card{width:100%!important;min-width:0!important;cursor:default!important;border-radius:24px!important;background:var(--kp-card)!important;border:1px solid rgba(0,0,0,.07)!important;box-shadow:0 12px 34px rgba(0,0,0,.08)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;padding:20px!important;color:var(--kp-text)!important}
.wkd-kitchen-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(0,0,0,.11)!important}.wkd-kitchen-card .wkd-card-head{gap:15px}.wkd-kitchen-card .wkd-order-number{font-size:clamp(25px,2.35vw,38px);font-weight:760;letter-spacing:-.045em;color:var(--kp-text)}.wkd-kitchen-card h2{font-size:clamp(19px,1.75vw,27px);margin-top:7px;color:var(--kp-muted);font-weight:600}.wkd-kitchen-card .wkd-timer span{color:var(--kp-muted)}.wkd-kitchen-card .wkd-timer strong{font-size:clamp(25px,2.2vw,36px);color:var(--kp-text)}
.wkd-kitchen-card .wkd-items{font-size:clamp(18px,1.65vw,23px);line-height:1.35;color:var(--kp-text)}.wkd-kitchen-card .wkd-items li{padding:12px 0;border-color:rgba(0,0,0,.07)}.wkd-kitchen-card .wkd-items li>strong{font-size:27px;min-width:42px;color:var(--kp-blue)}.wkd-kitchen-card .wkd-items small{color:var(--kp-muted)}.wkd-kitchen-card .wkd-meta{font-size:15px;color:var(--kp-muted)}.wkd-kitchen-card .wkd-badge{background:#f2f2f7;color:var(--kp-text)}.wkd-kitchen-card .wkd-actions,.wkd-kitchen-card .wkd-total{display:none!important}
.wkd-kitchen-manual-actions{display:flex;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(0,0,0,.07)}.wkd-kitchen-action{width:100%;min-height:54px;border:0;border-radius:16px;font-size:16px;font-weight:700;cursor:pointer;transition:.18s ease}.wkd-kitchen-action:hover{transform:translateY(-1px);filter:brightness(.98)}.wkd-kitchen-action.is-ready{background:var(--kp-green);color:#fff;box-shadow:0 9px 20px rgba(52,199,89,.22)}.wkd-kitchen-action.is-back{background:#f2f2f7;color:var(--kp-text)}
.wkd-kitchen-card.is-time-ok{border-left:7px solid var(--kp-green)!important}.wkd-kitchen-card.is-time-warning{border-left:7px solid #ffd60a!important}.wkd-kitchen-card.is-time-critical{border-left:7px solid var(--kp-red)!important;animation:wkdCriticalPulse 1.8s infinite}.wkd-kitchen-card.listo_para_delivery,.wkd-kitchen-card.asignado_repartidor{border-left:7px solid var(--kp-green)!important}.wkd-kitchen-card.is-voice-processing{transform:scale(.985);opacity:.6}.wkd-kitchen-card.is-voice-highlight{outline:5px solid rgba(0,113,227,.22);box-shadow:0 0 0 2px var(--kp-blue),0 22px 55px rgba(0,113,227,.18)!important}.wkd-ready-time{display:inline-flex;margin-top:8px;padding:7px 10px;border-radius:10px;background:rgba(52,199,89,.11);color:#1f7a38;font-size:14px;font-weight:700}
@keyframes wkdCriticalPulse{0%,100%{box-shadow:0 12px 34px rgba(0,0,0,.08)}50%{box-shadow:0 0 0 5px rgba(255,59,48,.11),0 18px 42px rgba(255,59,48,.14)}}
.wkd-kitchen-pro.is-fullscreen{overflow:auto}.wkd-kitchen-pro.is-fullscreen .wkd-kitchen-board{min-height:calc(100vh - 260px)}
@media(max-width:1050px){.wkd-kitchen-board{grid-template-columns:1fr}.wkd-kitchen-column-ready{min-height:360px}.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}}
@media(max-width:700px){.wkd-kitchen-stats{grid-template-columns:repeat(2,1fr)}.wkd-kitchen-board-host{padding-left:10px!important;padding-right:10px!important}.wkd-voice-panel{margin-left:10px;margin-right:10px}.wkd-kitchen-column-body{grid-template-columns:1fr}.wkd-ready-tools{grid-template-columns:1fr}.wkd-kitchen-pro .wkd-top-actions{width:100%}.wkd-kitchen-pro .wkd-top-actions button{width:100%}.wkd-kitchen-manual-actions{flex-direction:column}}

/* Sprint 5.2.4 — Voice Control + Apple-style cards */
.wkd-kitchen-pro{--kp-panel:#fff;--kp-bg:#f5f5f7;--kp-shadow:0 18px 55px rgba(0,0,0,.075)}
.wkd-kitchen-pro .wkd-kitchen-card{padding:0!important;overflow:hidden;border-radius:26px!important;background:#fff!important;box-shadow:0 12px 38px rgba(0,0,0,.075)!important;border:1px solid rgba(0,0,0,.065)!important}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-card-head{padding:22px 22px 17px;margin:0;border-bottom:1px solid rgba(0,0,0,.06)}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-order-number{display:block;font-size:clamp(29px,2.5vw,42px);line-height:1.05}
.wkd-kitchen-pro .wkd-kitchen-card h2{margin:7px 0 0;font-size:clamp(18px,1.45vw,24px)}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-timer{padding:10px 13px;border-radius:16px;background:#f5f5f7;min-width:110px;text-align:right}
.wkd-order-state{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:16px 20px 0;padding:13px 15px;border-radius:16px}
.wkd-order-state span{font-size:20px;font-weight:780;letter-spacing:-.02em}.wkd-order-state small{font-size:13px;font-weight:650;opacity:.72;text-align:right}
.wkd-order-state.is-preparing{background:rgba(255,149,0,.12);color:#9a5500}.wkd-order-state.is-completed{background:rgba(52,199,89,.13);color:#176b2d}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-meta{padding:12px 20px 0;margin:0}.wkd-kitchen-pro .wkd-kitchen-card .wkd-items{padding:4px 20px 8px;margin:0}
.wkd-kitchen-pro .wkd-kitchen-manual-actions{margin:0;padding:16px 20px 20px;border-top:1px solid rgba(0,0,0,.06);background:#fbfbfd}
.wkd-kitchen-pro .wkd-kitchen-action{min-height:58px;border-radius:17px;font-size:17px}
.wkd-kitchen-pro .wkd-kitchen-card.is-time-ok,.wkd-kitchen-pro .wkd-kitchen-card.is-time-warning,.wkd-kitchen-pro .wkd-kitchen-card.is-time-critical,.wkd-kitchen-pro .wkd-kitchen-card.listo_para_delivery,.wkd-kitchen-pro .wkd-kitchen-card.asignado_repartidor{border-left:1px solid rgba(0,0,0,.065)!important}
.wkd-kitchen-pro .wkd-kitchen-card.is-time-warning .wkd-card-head{box-shadow:inset 5px 0 0 #ffd60a}.wkd-kitchen-pro .wkd-kitchen-card.is-time-critical .wkd-card-head{box-shadow:inset 5px 0 0 var(--kp-red)}
.wkd-command-sheet{position:fixed;inset:0;z-index:999999;display:none}.wkd-command-sheet.is-open{display:block}.wkd-command-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.34);backdrop-filter:blur(9px);cursor:pointer}
.wkd-command-panel{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(920px,calc(100vw - 32px));max-height:86vh;overflow:auto;padding:25px;border-radius:30px;background:rgba(255,255,255,.97);box-shadow:0 30px 90px rgba(0,0,0,.22)}
.wkd-command-panel header{display:flex;justify-content:space-between;align-items:start;gap:20px}.wkd-command-panel header span{font-size:13px;color:#6e6e73;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.wkd-command-panel h2{margin:5px 0 0;font-size:34px;letter-spacing:-.04em}.wkd-command-close{width:44px;height:44px;border:0;border-radius:50%;background:#f2f2f7;font-size:28px;line-height:1;cursor:pointer}.wkd-command-panel>p{color:#6e6e73;font-size:16px}
.wkd-command-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wkd-command-grid article{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:18px;background:#f5f5f7}.wkd-command-grid b{font-size:15px}.wkd-command-grid code{display:block;color:#1d1d1f;font-family:inherit;font-size:15px;white-space:normal}
.wkd-kitchen-pro[data-voice-state="working"] .wkd-voice-indicator{background:var(--kp-blue);animation:wkdVoicePulse 1.1s infinite}
@media(max-width:700px){.wkd-command-grid{grid-template-columns:1fr}.wkd-command-panel{padding:18px;border-radius:24px}.wkd-command-panel h2{font-size:27px}.wkd-order-state{align-items:flex-start;flex-direction:column}.wkd-order-state small{text-align:left}}

/* Sprint 5.2.5 — Two-step voice command + compact Apple KDS */
.wkd-body-locked{overflow:hidden!important}
.wkd-kitchen-pro .wkd-top-actions{gap:8px;align-items:center;flex-wrap:wrap}
.wkd-kitchen-pro .wkd-icon-control{display:grid!important;place-items:center;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:13px!important;font-size:19px!important;line-height:1!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(0,0,0,.08)!important;color:#1d1d1f!important;box-shadow:0 5px 18px rgba(0,0,0,.055)!important}
.wkd-kitchen-pro .wkd-icon-control:hover{transform:translateY(-1px);background:#fff!important}
.wkd-kitchen-pro .wkd-icon-control.is-on,.wkd-kitchen-pro .wkd-icon-control[aria-pressed="true"]{background:#1d1d1f!important;color:#fff!important}
.wkd-kitchen-pro .wkd-clock{padding:5px 10px;min-height:42px;border-radius:13px}.wkd-kitchen-pro .wkd-clock span{display:none}.wkd-kitchen-pro .wkd-current-time{font-size:17px}
.wkd-kitchen-stats{display:flex!important;gap:8px!important;padding:8px 20px 12px!important;overflow-x:auto}.wkd-kitchen-stats article{display:flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important;min-width:auto!important;padding:7px 11px!important;border-radius:999px!important;box-shadow:none!important;background:rgba(255,255,255,.72)!important}.wkd-kitchen-stats article strong{font-size:18px!important;line-height:1!important}.wkd-kitchen-stats article span{font-size:12px!important;white-space:nowrap}
.wkd-kitchen-board{grid-template-columns:minmax(0,2.05fr) minmax(310px,.95fr)!important;gap:14px!important}.wkd-kitchen-column{border-radius:22px!important;min-height:460px!important}.wkd-kitchen-column>header{padding:14px 16px!important}.wkd-kitchen-column>header h2{font-size:clamp(22px,1.8vw,30px)!important}.wkd-kitchen-column>header span{font-size:12px!important}.wkd-kitchen-column>header strong{min-width:40px!important;height:40px!important;border-radius:12px!important;font-size:20px!important}
.wkd-kitchen-column-body{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))!important;gap:10px!important;padding:10px!important}.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))!important}
.wkd-ready-tools{grid-template-columns:1fr 145px!important;padding:9px 10px!important}.wkd-ready-tools input,.wkd-ready-tools select{min-height:42px!important;border-radius:12px!important;font-size:14px!important}
.wkd-kitchen-pro .wkd-kitchen-card{border-radius:19px!important;box-shadow:0 8px 24px rgba(0,0,0,.065)!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-card-head{padding:14px 14px 10px!important;gap:8px!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-order-number{font-size:clamp(23px,1.8vw,31px)!important}.wkd-kitchen-pro .wkd-kitchen-card h2{font-size:16px!important;margin-top:4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wkd-kitchen-pro .wkd-kitchen-card .wkd-timer{padding:7px 9px!important;border-radius:12px!important;min-width:82px!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-timer span{font-size:10px!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-timer strong{font-size:22px!important}
.wkd-order-state{margin:9px 12px 0!important;padding:8px 10px!important;border-radius:12px!important}.wkd-order-state span{font-size:15px!important}.wkd-order-state small{font-size:10px!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-meta{padding:8px 13px 0!important;font-size:12px!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-items{padding:2px 13px 5px!important;font-size:15px!important;line-height:1.25!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-items li{padding:7px 0!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-items li>strong{font-size:19px!important;min-width:30px!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-items small{font-size:11px!important}.wkd-kitchen-pro .wkd-kitchen-manual-actions{padding:10px 12px 12px!important}.wkd-kitchen-pro .wkd-kitchen-action{min-height:43px!important;border-radius:13px!important;font-size:14px!important}
.wkd-kitchen-pro[data-voice-state="armed"] .wkd-voice-indicator{background:#0071e3;animation:wkdVoicePulse .8s infinite}.wkd-kitchen-pro[data-voice-state="armed"] .wkd-voice-panel{border-color:rgba(0,113,227,.25);box-shadow:0 0 0 4px rgba(0,113,227,.08)}
.wkd-kitchen-pro.is-voice-fullscreen{position:fixed!important;inset:0!important;z-index:999999!important;width:100vw!important;height:100vh!important;overflow:auto!important;background:#f5f5f7!important;padding-bottom:24px!important}
.wkd-order-viewer{position:fixed;inset:0;z-index:1000000;display:none}.wkd-order-viewer.is-open{display:block}.wkd-order-viewer-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.36);backdrop-filter:blur(10px)}.wkd-order-viewer-panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(620px,calc(100vw - 28px));max-height:88vh;overflow:auto;padding:18px;border-radius:28px;background:#f5f5f7;box-shadow:0 32px 100px rgba(0,0,0,.28)}.wkd-order-viewer-close{position:sticky;top:0;float:right;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:#e8e8ed;font-size:27px;cursor:pointer}.wkd-order-viewer-content{clear:both;padding-top:8px}.wkd-order-viewer .wkd-kitchen-card{width:100%!important}.wkd-order-viewer .wkd-kitchen-card .wkd-order-number{font-size:42px!important}.wkd-order-viewer .wkd-kitchen-card .wkd-items{font-size:20px!important}.wkd-order-viewer .wkd-kitchen-card .wkd-items li>strong{font-size:27px!important}
@media(min-width:1500px){.wkd-kitchen-column-body{grid-template-columns:repeat(3,minmax(250px,1fr))!important}.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:repeat(2,minmax(230px,1fr))!important}}
@media(max-width:1100px){.wkd-kitchen-board{grid-template-columns:1fr!important}.wkd-kitchen-column-body,.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}}
@media(max-width:700px){.wkd-kitchen-stats{padding-left:10px!important;padding-right:10px!important}.wkd-kitchen-column-body,.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:1fr!important}.wkd-ready-tools{grid-template-columns:1fr!important}}

/* Sprint 5.2.6 — Kitchen Voice Clarity + Apple Cards */
.wkd-kitchen-pro .wkd-icon-control{position:relative;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;border-radius:12px!important;background:rgba(255,255,255,.94)!important;color:#252529!important;border-color:rgba(0,0,0,.12)!important;box-shadow:0 3px 12px rgba(0,0,0,.07)!important}
.wkd-kitchen-pro .wkd-icon-control span{display:grid;place-items:center;width:21px;height:21px}
.wkd-kitchen-pro .wkd-icon-control svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.wkd-kitchen-pro .wkd-icon-control:hover,.wkd-kitchen-pro .wkd-icon-control:focus-visible{background:#fff!important;color:#0071e3!important;border-color:rgba(0,113,227,.35)!important;box-shadow:0 7px 20px rgba(0,113,227,.13)!important;outline:none}
.wkd-kitchen-pro .wkd-icon-control::after{content:attr(data-tooltip);position:absolute;right:0;top:calc(100% + 9px);z-index:1000;padding:7px 10px;border-radius:8px;background:#1d1d1f;color:#fff;font-size:12px;font-weight:700;line-height:1;white-space:nowrap;opacity:0;visibility:hidden;transform:translateY(-3px);transition:.16s ease;pointer-events:none;box-shadow:0 7px 22px rgba(0,0,0,.22)}
.wkd-kitchen-pro .wkd-icon-control:hover::after,.wkd-kitchen-pro .wkd-icon-control:focus-visible::after{opacity:1;visibility:visible;transform:none}
.wkd-kitchen-pro .wkd-icon-control.is-on,.wkd-kitchen-pro .wkd-icon-control[aria-pressed="true"]{background:#0071e3!important;color:#fff!important;border-color:#0071e3!important}
.wkd-kitchen-pro .wkd-conn-status{min-height:34px;padding:6px 9px;border-radius:10px;font-size:11px}
.wkd-kitchen-pro .wkd-clock{min-height:40px!important;padding:5px 9px!important}.wkd-kitchen-pro .wkd-current-time{font-size:15px!important}

.wkd-kitchen-stats{gap:6px!important;padding:5px 20px 9px!important}
.wkd-kitchen-stats article{gap:5px!important;padding:5px 8px!important;min-height:30px!important;border:1px solid rgba(0,0,0,.055)!important}
.wkd-kitchen-stats article strong{font-size:15px!important;min-width:auto!important}
.wkd-kitchen-stats article span{font-size:10.5px!important;font-weight:650!important;color:#6e6e73!important}

.wkd-kitchen-board{grid-template-columns:minmax(0,2.35fr) minmax(280px,.75fr)!important;gap:12px!important}
.wkd-kitchen-column-body{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:9px!important;padding:9px!important;align-content:start}
.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:1fr!important;gap:7px!important}
.wkd-kitchen-pro .wkd-kitchen-card{overflow:hidden;border:1px solid rgba(0,0,0,.075)!important;box-shadow:0 5px 18px rgba(0,0,0,.055)!important;background:#fff!important}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-card-head{padding:12px 13px 9px!important;align-items:flex-start!important}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-order-number{font-size:clamp(23px,1.75vw,30px)!important;letter-spacing:-.045em!important}
.wkd-kitchen-pro .wkd-kitchen-card h2{font-size:15px!important;color:#54545a!important}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-ready-time{font-size:10px!important;color:#777!important}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-timer{min-width:75px!important;padding:6px 8px!important}.wkd-kitchen-pro .wkd-kitchen-card .wkd-timer strong{font-size:20px!important}
.wkd-order-state{margin:7px 10px 0!important;padding:7px 9px!important}.wkd-order-state span{font-size:14px!important}.wkd-order-state small{font-size:9.5px!important}
.wkd-kitchen-pro .wkd-kitchen-card .wkd-meta{padding:7px 11px 0!important}
.wkd-kitchen-items{display:grid!important;gap:0!important;padding:4px 11px 7px!important}
.wkd-kitchen-items .wkd-kitchen-choice{display:grid!important;grid-template-columns:auto 1fr!important;gap:8px!important;align-items:start!important;padding:7px 0!important;border-bottom:1px solid rgba(0,0,0,.055)!important}
.wkd-kitchen-items .wkd-kitchen-choice:last-child{border-bottom:0!important}
.wkd-kitchen-items .wkd-kitchen-choice b{min-width:auto!important;font-size:12px!important;line-height:1.25!important;color:#6e6e73!important;white-space:nowrap}
.wkd-kitchen-items .wkd-kitchen-choice span{font-size:15px!important;font-weight:680!important;line-height:1.28!important;color:#1d1d1f!important}
.wkd-kitchen-pro .wkd-kitchen-manual-actions{padding:8px 10px 10px!important}.wkd-kitchen-pro .wkd-kitchen-action{min-height:39px!important;font-size:13px!important;border-radius:11px!important}

/* Ready cards: concise, still complete */
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-card-head{padding:10px 11px 7px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-number{font-size:21px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card h2{font-size:13px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-timer{min-width:68px!important}.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-timer strong{font-size:17px!important}
.wkd-kitchen-column-ready .wkd-order-state{margin:5px 8px 0!important;padding:6px 8px!important}.wkd-kitchen-column-ready .wkd-order-state small{display:none}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-meta{display:none!important}
.wkd-kitchen-column-ready .wkd-kitchen-items{padding:3px 9px 5px!important}
.wkd-kitchen-column-ready .wkd-kitchen-items .wkd-kitchen-choice{padding:5px 0!important;gap:6px!important}
.wkd-kitchen-column-ready .wkd-kitchen-items .wkd-kitchen-choice b{font-size:10.5px!important}
.wkd-kitchen-column-ready .wkd-kitchen-items .wkd-kitchen-choice span{font-size:12.5px!important;line-height:1.22!important}
.wkd-kitchen-column-ready .wkd-kitchen-manual-actions{padding:6px 8px 8px!important}.wkd-kitchen-column-ready .wkd-kitchen-action{min-height:34px!important;font-size:11.5px!important}

/* Voice viewer: distance-first detail and both state controls */
.wkd-order-viewer-panel{width:min(820px,calc(100vw - 28px))!important;max-height:92vh!important;padding:20px!important;background:rgba(245,245,247,.98)!important}
.wkd-order-viewer .wkd-kitchen-card .wkd-card-head{padding:20px 22px 15px!important}
.wkd-order-viewer .wkd-kitchen-card .wkd-order-number{font-size:clamp(42px,5vw,64px)!important}
.wkd-order-viewer .wkd-kitchen-card h2{font-size:clamp(22px,2.5vw,32px)!important;color:#1d1d1f!important}
.wkd-order-viewer .wkd-kitchen-card .wkd-timer{min-width:125px!important;padding:12px 15px!important}.wkd-order-viewer .wkd-kitchen-card .wkd-timer strong{font-size:34px!important}
.wkd-order-viewer .wkd-order-state{margin:12px 18px 0!important;padding:12px 15px!important}.wkd-order-viewer .wkd-order-state span{font-size:22px!important}.wkd-order-viewer .wkd-order-state small{font-size:14px!important;display:block!important}
.wkd-order-viewer .wkd-kitchen-items{padding:8px 20px 12px!important}
.wkd-order-viewer .wkd-kitchen-items .wkd-kitchen-choice{padding:12px 0!important;gap:14px!important}
.wkd-order-viewer .wkd-kitchen-items .wkd-kitchen-choice b{font-size:18px!important}
.wkd-order-viewer .wkd-kitchen-items .wkd-kitchen-choice span{font-size:clamp(21px,2.2vw,29px)!important;line-height:1.25!important}
.wkd-order-viewer .wkd-kitchen-manual-actions{padding:14px 18px 18px!important}.wkd-order-viewer .wkd-kitchen-action{min-height:58px!important;font-size:18px!important}

@media(min-width:1500px){.wkd-kitchen-column-body{grid-template-columns:repeat(4,minmax(230px,1fr))!important}.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:repeat(2,minmax(220px,1fr))!important}}
@media(max-width:1250px){.wkd-kitchen-board{grid-template-columns:minmax(0,1.8fr) minmax(270px,.8fr)!important}.wkd-kitchen-column-body{grid-template-columns:repeat(auto-fit,minmax(235px,1fr))!important}}
@media(max-width:950px){.wkd-kitchen-board{grid-template-columns:1fr!important}.wkd-kitchen-column-ready .wkd-kitchen-column-body{grid-template-columns:repeat(auto-fit,minmax(235px,1fr))!important}}
/* Sprint 5.2.8 — Kitchen Context Voice + completed list */
.wkd-kitchen-column-ready .wkd-kitchen-column-body{display:flex!important;flex-direction:column!important;gap:7px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;padding:10px 11px!important;border-radius:15px!important;min-height:0!important;cursor:pointer}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-card-head{display:contents!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-card-head>div:first-child{min-width:0}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-number{font-size:19px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card h2{font-size:13px!important;margin:2px 0 0!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-ready-time{font-size:10px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-timer{min-width:70px!important;padding:5px 7px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-timer strong{font-size:17px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-state{grid-column:1/-1;margin:7px 0 0!important;padding:6px 8px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-state span{font-size:12px!important}.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-state small{font-size:9px!important}
.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-meta,.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-items,.wkd-kitchen-column-ready .wkd-kitchen-card .wkd-kitchen-manual-actions{display:none!important}
.wkd-order-viewer.is-context-listening .wkd-order-viewer-panel{box-shadow:0 0 0 5px rgba(0,113,227,.2),0 32px 100px rgba(0,0,0,.28)}
.wkd-order-viewer-context{position:sticky;top:0;z-index:3;margin:0 50px 10px 0;padding:8px 11px;border-radius:12px;background:#eaf4ff;color:#075aa6;font-size:12px;font-weight:700}
.wkd-kitchen-card:focus-visible{outline:3px solid rgba(0,113,227,.45);outline-offset:2px}


/* Sprint 5.2.9 — Universal order search, delivery visibility and compact metrics */
.wkd-kitchen-stats{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;max-width:100%!important;gap:5px!important;padding:4px 20px 10px!important}
.wkd-kitchen-stats article{flex:0 0 auto!important;width:auto!important;max-width:max-content!important;min-width:0!important;padding:4px 7px!important;gap:4px!important;border-radius:9px!important}
.wkd-kitchen-stats article strong{font-size:14px!important;line-height:1!important}
.wkd-kitchen-stats article span{font-size:10px!important;line-height:1.1!important}
.wkd-kitchen-board-host,.wkd-kitchen-board,.wkd-kitchen-column{min-width:0!important;max-width:100%!important}
.wkd-kitchen-column>header{gap:10px}.wkd-kitchen-column>header>div{min-width:0}.wkd-kitchen-column>header h2{font-size:clamp(20px,1.55vw,27px)!important;line-height:1.05!important}.wkd-kitchen-column>header span{line-height:1.25!important}
.wkd-ready-tools{grid-template-columns:minmax(0,1fr) minmax(150px,190px)!important;gap:7px!important}.wkd-ready-tools input,.wkd-ready-tools select{min-width:0!important;width:100%!important}
.wkd-kitchen-column-ready .wkd-order-state small{display:block!important;white-space:normal!important;line-height:1.2!important;margin-top:2px!important;color:#26713a!important}
.wkd-kitchen-column-ready .wkd-kitchen-card.asignado_repartidor .wkd-order-state{background:#eef6ff!important}.wkd-kitchen-column-ready .wkd-kitchen-card.asignado_repartidor .wkd-order-state small{color:#075aa6!important}
.wkd-kitchen-column-ready .wkd-kitchen-card.entregado .wkd-order-state{background:#f2f2f7!important}.wkd-kitchen-column-ready .wkd-kitchen-card.entregado .wkd-order-state small{color:#5d5d63!important}
@media(max-width:760px){.wkd-ready-tools{grid-template-columns:1fr!important}.wkd-kitchen-stats{padding-left:10px!important;padding-right:10px!important}.wkd-kitchen-stats article{max-width:100%!important}}

/* WCS Kitchen Standalone 1.0.2 — Compact metric cards */
.wkd-kitchen-pro .wkd-kitchen-stats{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:10px 20px 14px!important;
  overflow:visible!important;
}
.wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-card{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:76px!important;
  padding:11px 14px!important;
  border:1px solid rgba(0,0,0,.065)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.9)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.055)!important;
  overflow:hidden!important;
}
.wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-icon{
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
}
.wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-icon svg{
  width:25px!important;
  height:25px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:2px!important;
}
.wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-copy strong{
  display:block!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
  font-size:27px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.04em!important;
  color:#1d1d1f!important;
}
.wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-copy span{
  display:block!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:650!important;
  color:#66666c!important;
  white-space:nowrap!important;
}
.wkd-kitchen-pro .wkd-kitchen-stats .is-visible .wkd-stat-icon{background:#eaf4ff!important;color:#0877e8!important}
.wkd-kitchen-pro .wkd-kitchen-stats .is-preparing .wkd-stat-icon{background:#fff3e2!important;color:#f39a06!important}
.wkd-kitchen-pro .wkd-kitchen-stats .is-ready .wkd-stat-icon{background:#eaf8ed!important;color:#1aa33c!important}
.wkd-kitchen-pro .wkd-kitchen-stats .is-delivered .wkd-stat-icon{background:#f2eaff!important;color:#8648df!important}

@media(max-width:900px){
  .wkd-kitchen-pro .wkd-kitchen-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .wkd-kitchen-pro .wkd-kitchen-stats{gap:8px!important;padding-left:10px!important;padding-right:10px!important}
  .wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-card{min-height:66px!important;padding:9px 10px!important;gap:9px!important;border-radius:15px!important}
  .wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-icon{flex-basis:38px!important;width:38px!important;height:38px!important}
  .wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-icon svg{width:21px!important;height:21px!important}
  .wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-copy strong{font-size:23px!important}
  .wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-copy span{font-size:11px!important;white-space:normal!important}
}


/* ============================================================
   Kitchen 1.2.1 HOTFIX — readable cards, real scrolling/history
============================================================ */
.wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-card{
  display:flex!important;align-items:center!important;min-height:68px!important;
  padding:10px 12px!important;border-radius:17px!important;background:#fff!important;color:#1d1d1f!important;
}
.wkd-kitchen-pro .wkd-kitchen-stats .wkd-stat-card.is-active{
  border:2px solid #0071e3!important;box-shadow:0 8px 22px rgba(0,113,227,.11)!important;
}
.wkd-kitchen-pro .wkd-kitchen-board{height:100%!important;min-height:0!important;overflow:hidden!important}
.wkd-kitchen-pro .wkd-kitchen-column{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
.wkd-kitchen-pro .wkd-kitchen-column-body{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
  display:grid!important;align-content:start!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;
}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-column-body{
  display:flex!important;flex-direction:column!important;gap:10px!important;padding:10px!important;
}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  min-height:118px!important;height:auto!important;padding:0!important;border-radius:18px!important;
  flex:0 0 auto!important;overflow:hidden!important;
}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-card-head{
  display:flex!important;padding:13px 14px 9px!important;min-height:72px!important;
}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-card-head>div:first-child{min-width:0!important;flex:1!important}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-number{font-size:24px!important;line-height:1.05!important}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card h2{
  display:block!important;font-size:15px!important;line-height:1.2!important;margin-top:4px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#55545a!important;
}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-timer{display:block!important;min-width:95px!important;padding:7px 9px!important}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-timer span{display:block!important}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-timer strong{display:block!important;font-size:19px!important}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-state{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  margin:0 12px 10px!important;padding:8px 10px!important;min-height:34px!important;border-radius:11px!important;
}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-state span{font-size:13px!important}
.wkd-kitchen-pro .wkd-kitchen-column-ready .wkd-kitchen-card .wkd-order-state small{display:block!important;font-size:10px!important}
.wkd-kitchen-pro .wkd-ready-tools{
  position:sticky!important;top:0!important;z-index:10!important;background:#f8f8fa!important;
  grid-template-columns:minmax(0,1fr) minmax(170px,220px)!important;padding:10px!important;
}
.wkd-kitchen-pro .wkd-ready-tools input,.wkd-kitchen-pro .wkd-ready-tools select{
  min-height:46px!important;font-size:15px!important;color:#1d1d1f!important;background:#fff!important;
}

/* History is explicitly light-theme; never inherit white text from generic WKD styles. */
.wkd-kitchen-pro .wkd-kitchen-history-shell{height:100%!important;overflow-y:auto!important;padding:4px 6px 28px!important;color:#1d1d1f!important}
.wkd-kitchen-pro .wkd-history-head{
  background:#fff!important;color:#1d1d1f!important;border:1px solid rgba(0,0,0,.08)!important;
  box-shadow:0 8px 26px rgba(0,0,0,.06)!important;
}
.wkd-kitchen-pro .wkd-history-head h2{color:#1d1d1f!important}.wkd-kitchen-pro .wkd-history-head p{color:#66666c!important}
.wkd-kitchen-pro .wkd-history-back{background:#f2f2f7!important;color:#1d1d1f!important;border-color:rgba(0,0,0,.08)!important}
.wkd-kitchen-pro .wkd-history-toolbar{
  position:sticky!important;top:92px!important;z-index:4!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(180px,240px)!important;gap:10px!important;padding:12px 0!important;background:#f5f5f7!important;
}
.wkd-kitchen-pro .wkd-history-toolbar input,.wkd-kitchen-pro .wkd-history-toolbar select{
  min-height:48px!important;padding:0 14px!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:14px!important;
  background:#fff!important;color:#1d1d1f!important;font-size:15px!important;
}
.wkd-kitchen-pro .wkd-history-list{display:grid!important;gap:10px!important}
.wkd-kitchen-pro .wkd-history-row{
  display:grid!important;grid-template-columns:1.05fr 1.8fr .9fr 1fr 1fr .85fr!important;gap:12px!important;
  padding:15px!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:18px!important;background:#fff!important;
  box-shadow:0 7px 22px rgba(0,0,0,.045)!important;color:#1d1d1f!important;
}
.wkd-kitchen-pro .wkd-history-row *{color:#1d1d1f!important}
.wkd-kitchen-pro .wkd-history-row small{color:#77777d!important}.wkd-kitchen-pro .wkd-history-row .wkd-map-btn{color:#075aa6!important;background:#eaf6ff!important}
@media(max-width:900px){
  .wkd-kitchen-pro .wkd-history-row{grid-template-columns:1fr 1fr!important}
  .wkd-kitchen-pro .wkd-history-toolbar{grid-template-columns:1fr!important;top:110px!important}
}
@media(max-width:620px){
  .wkd-kitchen-pro .wkd-ready-tools{grid-template-columns:1fr!important}
  .wkd-kitchen-pro .wkd-history-row{grid-template-columns:1fr!important}
}
