/* V02: a calm front door, one featured suggestion and a readable recipe. */
#kitchen-wok-compact{--kw-bottom-nav:76px}
#kitchen-wok-compact *{overflow-wrap:break-word}
#kitchen-wok-compact .kw-header{padding-top:22px;padding-bottom:18px;align-items:center}
#kitchen-wok-compact .kw-header>span{display:flex;align-items:center}
#kitchen-wok-compact .kw-main{padding:4px 24px 30px;scroll-padding-bottom:30px}
#kitchen-wok-compact .kw-dock[hidden]{display:none!important}
#kitchen-wok-compact .simple-menu-button{width:42px;height:42px;display:grid;place-items:center;background:transparent;border:1px solid var(--kw-line);border-radius:50%;color:var(--kw-muted)}
#kitchen-wok-compact .kw-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:9px 20px calc(10px + env(safe-area-inset-bottom))}
#kitchen-wok-compact .kw-nav .simple-nav-item{width:100%;height:52px;min-height:52px;border-radius:14px;display:flex;flex-direction:column;gap:5px;justify-content:center;align-items:center;background:transparent;color:var(--kw-muted);font-size:11px;font-weight:500}
#kitchen-wok-compact .kw-nav .simple-nav-item svg{width:21px;height:21px}
#kitchen-wok-compact .kw-nav .simple-nav-item[aria-current=page]{background:var(--kw-soft);color:var(--kw-green)}
#kitchen-wok-compact .simple-home{padding:22px 0 0;text-align:left}
#kitchen-wok-compact .simple-home-art{height:112px;display:flex;align-items:center;justify-content:flex-start;padding-left:4px;margin-bottom:25px}
#kitchen-wok-compact .simple-home-art .kw-dish{--dish-size:100px;filter:drop-shadow(0 9px 13px #00000012);transform:rotate(-8deg)}
#kitchen-wok-compact .simple-eyebrow{display:block;color:var(--kw-muted);font-size:10px;letter-spacing:.15em;font-weight:650;line-height:1.5}
#kitchen-wok-compact .simple-home h1{font-size:43px;line-height:1.09;letter-spacing:-2.1px;margin:13px 0 17px;font-weight:750}
#kitchen-wok-compact .simple-intro{font-size:15px;line-height:1.65;color:var(--kw-muted);margin:0 0 24px}
#kitchen-wok-compact .simple-people .kw-stepper{padding:0;margin:0 0 20px;border:0;background:none;min-height:42px;align-items:center}
#kitchen-wok-compact .simple-people .kw-stepper>span{font-size:13px;color:var(--kw-muted)}
#kitchen-wok-compact .simple-people .kw-stepper>div{gap:12px}
#kitchen-wok-compact .simple-people .kw-icon-button{min-width:36px;min-height:36px;width:36px;height:36px;padding:8px;border-radius:50%;background:transparent;border:1px solid var(--kw-line)}
#kitchen-wok-compact .simple-people .kw-stepper strong{font-size:14px;min-width:36px;text-align:center}
#kitchen-wok-compact .simple-primary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;border-radius:15px;width:100%;font-size:15px;font-weight:650;letter-spacing:0;padding:14px 18px}
#kitchen-wok-compact .simple-primary svg{width:18px;height:18px}
#kitchen-wok-compact .simple-reassurance{display:flex;gap:6px;align-items:center;justify-content:center;color:var(--kw-muted);font-size:11px;line-height:1.5;margin:12px 0 0}
#kitchen-wok-compact .simple-reassurance svg{width:13px;height:13px;flex-shrink:0}
#kitchen-wok-compact .simple-pantry-summary{display:flex;align-items:center;gap:12px;background:transparent;text-align:left;width:100%;border-top:1px solid var(--kw-line);padding:20px 0 12px;margin:27px 0 4px;border-radius:0}
#kitchen-wok-compact .simple-pantry-summary>span:nth-child(2){flex:1;min-width:0}
#kitchen-wok-compact .simple-pantry-summary strong{display:block;font-size:13px;font-weight:600;margin-bottom:4px}
#kitchen-wok-compact .simple-pantry-summary small{display:block;font-size:11px;color:var(--kw-muted);line-height:1.5}
#kitchen-wok-compact .simple-pantry-summary>svg{width:16px;flex-shrink:0;color:var(--kw-muted)}
#kitchen-wok-compact .simple-pantry-icon{display:grid;place-items:center;width:36px;height:42px;color:var(--kw-muted)}
#kitchen-wok-compact .simple-pantry-icon svg{width:22px;height:22px}
#kitchen-wok-compact .simple-resume{display:grid;gap:4px;margin:0 0 16px;padding:13px 15px;background:var(--kw-soft);border-radius:12px;text-align:left}
#kitchen-wok-compact .simple-resume>span{font-size:11px;color:var(--kw-muted)}
#kitchen-wok-compact .simple-resume strong{font-size:13px;font-weight:600}
#kitchen-wok-compact .simple-low-link{display:block;margin:10px auto 0;font-size:12px}
#kitchen-wok-compact .simple-page-back{margin:0 0 22px}
#kitchen-wok-compact .simple-page-back .kw-icon-button,#kitchen-wok-compact .simple-recipe-back .kw-icon-button{background:transparent;border:1px solid var(--kw-line);border-radius:50%;width:40px;height:40px;min-width:40px;min-height:40px}
#kitchen-wok-compact .simple-section-heading h1{font-size:34px;line-height:1.13;letter-spacing:-1.6px;margin:11px 0 24px}
#kitchen-wok-compact .simple-featured-meal{overflow:hidden;background:var(--kw-paper);border:1px solid var(--kw-line);border-radius:24px}
#kitchen-wok-compact .simple-meal-picture{display:flex;align-items:center;justify-content:center;position:relative;min-height:171px;padding:24px 18px 37px;background:var(--kw-soft)}
#kitchen-wok-compact .simple-meal-picture .kw-dish{--dish-size:115px;transform:rotate(-7deg);filter:drop-shadow(0 8px 10px #00000015)}
#kitchen-wok-compact .simple-role{display:inline-flex;align-items:center;gap:5px;position:absolute;left:20px;bottom:14px;padding:5px 9px;font-size:10px;font-weight:600;background:var(--kw-paper);border:1px solid var(--kw-line);border-radius:20px;color:var(--kw-text)}
#kitchen-wok-compact .simple-role svg{width:12px;height:12px}
#kitchen-wok-compact .simple-role.is-ready{color:var(--kw-green)}
#kitchen-wok-compact .simple-featured-copy{padding:20px}
#kitchen-wok-compact .simple-meal-meta{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--kw-muted)}
#kitchen-wok-compact .simple-meal-meta svg{width:13px;height:13px}
#kitchen-wok-compact .simple-featured-copy h2{font-size:25px;line-height:1.2;letter-spacing:-.8px;margin:12px 0 10px}
#kitchen-wok-compact .simple-featured-copy p{font-size:13px;line-height:1.6;color:var(--kw-muted);margin:0 0 20px}
#kitchen-wok-compact .simple-next{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:18px 8px;color:var(--kw-muted);font-size:12px}
#kitchen-wok-compact .simple-next svg{width:14px;height:14px}
#kitchen-wok-compact .simple-alternatives{border-top:1px solid var(--kw-line);border-bottom:1px solid var(--kw-line);margin:0 0 16px}
#kitchen-wok-compact .simple-alternatives summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 0;font-size:12px;color:var(--kw-text)}
#kitchen-wok-compact summary::-webkit-details-marker{display:none}
#kitchen-wok-compact .simple-alternatives summary svg{width:15px;height:15px}
#kitchen-wok-compact .simple-alternatives>div{padding-bottom:10px}
#kitchen-wok-compact .simple-alternatives .kw-food-row{background:transparent;border:0;border-radius:12px;padding:10px 0;gap:12px}
#kitchen-wok-compact .simple-alternatives .kw-food-row strong{font-size:13px}
#kitchen-wok-compact .simple-demo-caption{font-size:10px;line-height:1.6;color:var(--kw-muted);margin:19px 0;text-align:center}
#kitchen-wok-compact .simple-recipe-back{margin-bottom:22px}
#kitchen-wok-compact .simple-recipe-title h1{font-size:32px;line-height:1.13;letter-spacing:-1.2px;margin:11px 0 13px}
#kitchen-wok-compact .simple-recipe-title p{font-size:13px;color:var(--kw-muted);line-height:1.6;margin:0 0 16px}
#kitchen-wok-compact .simple-recipe-meta{display:flex;gap:18px;margin:0 0 16px;color:var(--kw-muted);font-size:12px}
#kitchen-wok-compact .simple-recipe-meta>span{display:flex;align-items:center;gap:6px}
#kitchen-wok-compact .simple-recipe-meta svg{width:15px;height:15px}
#kitchen-wok-compact .simple-recipe-people .kw-stepper{margin-bottom:18px}
#kitchen-wok-compact .simple-recipe-start{margin-bottom:29px}
#kitchen-wok-compact .simple-ingredients{margin-bottom:20px}
#kitchen-wok-compact .simple-ingredients>div:first-child{display:flex;flex-direction:column;gap:5px;margin-bottom:11px}
#kitchen-wok-compact .simple-ingredients h2{font-size:19px;letter-spacing:-.5px;margin:0}
#kitchen-wok-compact .simple-ingredients>div:first-child>span{font-size:11px;color:var(--kw-muted)}
#kitchen-wok-compact .simple-ingredients .kw-ingredient-line{padding:12px 0;border-color:var(--kw-line);font-size:13px}
#kitchen-wok-compact .simple-ingredients .kw-ingredient-line>span:last-child{white-space:nowrap;flex-shrink:0}
#kitchen-wok-compact .simple-recipe-details{border-top:1px solid var(--kw-line)}
#kitchen-wok-compact .simple-recipe-details summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 0;font-size:13px;font-weight:550}
#kitchen-wok-compact .simple-recipe-details summary>span{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:400;color:var(--kw-muted)}
#kitchen-wok-compact .simple-recipe-details summary svg{width:14px;height:14px}
#kitchen-wok-compact .simple-step-list{list-style:none;counter-reset:recipe-step;margin:0 0 12px;padding:0}
#kitchen-wok-compact .simple-step-list li{counter-increment:recipe-step;position:relative;padding:0 0 15px 32px;margin-bottom:12px;border-bottom:1px solid var(--kw-line)}
#kitchen-wok-compact .simple-step-list li::before{content:counter(recipe-step);position:absolute;left:0;top:0;width:22px;height:22px;display:grid;place-items:center;background:var(--kw-soft);border-radius:50%;font-size:11px;font-weight:600;color:var(--kw-green)}
#kitchen-wok-compact .simple-step-list h3{font-size:14px;letter-spacing:-.2px;margin:0 0 8px}
#kitchen-wok-compact .simple-step-list p,#kitchen-wok-compact .simple-tips p{font-size:12px;line-height:1.7;color:var(--kw-muted);margin:0 0 10px}
#kitchen-wok-compact .simple-plan-link{margin-top:12px;text-align:center}
#kitchen-wok-compact .simple-plan-link button{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:var(--kw-muted)}
#kitchen-wok-compact .simple-plan-link svg{width:15px;height:15px}
#kitchen-wok-compact .simple-portions-locked{display:flex;gap:7px;align-items:center;padding:12px 0 20px;color:var(--kw-muted);font-size:12px}
#kitchen-wok-compact .simple-tools{margin-top:28px;border-top:1px solid var(--kw-line)}
#kitchen-wok-compact .simple-tools>button{display:flex;align-items:center;gap:15px;text-align:left;width:100%;padding:22px 0;border-bottom:1px solid var(--kw-line)}
#kitchen-wok-compact .simple-tools>button>span{flex:1;min-width:0}
#kitchen-wok-compact .simple-tools>button>svg{width:22px;height:22px;color:var(--kw-muted);flex-shrink:0}
#kitchen-wok-compact .simple-tools>button>svg:last-child{width:15px;height:15px}
#kitchen-wok-compact .simple-tools strong{display:block;font-size:15px;font-weight:600;margin-bottom:6px}
#kitchen-wok-compact .simple-tools small{display:block;color:var(--kw-muted);font-size:12px;line-height:1.6}
#kitchen-wok-compact[data-screen=simple-tools] h1{margin-top:14px}
#kitchen-wok-compact[data-screen=cook] .kw-main{padding-bottom:100px}
@media(max-width:360px){
  #kitchen-wok-compact .kw-main{padding-left:20px;padding-right:20px}
  #kitchen-wok-compact .simple-home{padding-top:11px}
  #kitchen-wok-compact .simple-home-art{height:86px;margin-bottom:20px}
  #kitchen-wok-compact .simple-home-art .kw-dish{--dish-size:84px}
  #kitchen-wok-compact .simple-home h1{font-size:38px}
  #kitchen-wok-compact .simple-intro{font-size:14px}
  #kitchen-wok-compact .simple-featured-copy{padding:18px}
  #kitchen-wok-compact .simple-featured-copy h2{font-size:23px}
  #kitchen-wok-compact .simple-pantry-summary{margin-top:23px}
}
@media(max-height:740px){
  #kitchen-wok-compact .simple-home{padding-top:8px}
  #kitchen-wok-compact .simple-home-art{height:78px;margin-bottom:17px}
  #kitchen-wok-compact .simple-home-art .kw-dish{--dish-size:76px}
  #kitchen-wok-compact .simple-home h1{margin-top:10px;margin-bottom:14px}
  #kitchen-wok-compact .simple-intro{margin-bottom:18px}
  #kitchen-wok-compact .simple-pantry-summary{margin-top:20px;padding-top:17px}
}

/* V03: inventory first, direct assistant entry and four persistent destinations. */
#kitchen-wok-compact .kw-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding-left:12px;padding-right:12px}
#kitchen-wok-compact .kw-nav .simple-nav-item{gap:4px;font-size:10px;line-height:1.2}
#kitchen-wok-compact .simple-nav-icon{height:26px;display:grid;place-items:center}
#kitchen-wok-compact .kw-nav .simple-nav-add .simple-nav-icon{width:32px;height:28px;border-radius:10px;background:var(--kw-green);color:var(--kw-on-green)}
#kitchen-wok-compact .kw-nav .simple-nav-add svg{width:20px;height:20px}
#kitchen-wok-compact .simple-home{padding-top:18px}
#kitchen-wok-compact .home-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}
#kitchen-wok-compact .home-heading>div:first-child{min-width:0}
#kitchen-wok-compact .simple-home h1{font-size:38px;letter-spacing:-1.8px;line-height:1.1;margin:12px 0 15px}
#kitchen-wok-compact .home-heading .simple-eyebrow{font-size:9px;letter-spacing:.1em}
#kitchen-wok-compact .home-dish{flex:0 0 70px;display:flex;align-items:center;justify-content:center;padding-top:13px}
#kitchen-wok-compact .home-dish .kw-dish{--dish-size:70px;transform:rotate(-8deg);filter:drop-shadow(0 7px 10px #00000012)}
#kitchen-wok-compact .simple-home .simple-intro{font-size:13px;line-height:1.6;margin-bottom:22px;max-width:260px}
#kitchen-wok-compact .home-pantry-card{display:block;width:100%;text-align:left;border:1px solid var(--kw-line);border-radius:20px;background:var(--kw-soft);padding:18px 16px;margin:0 0 21px;color:var(--kw-text)}
#kitchen-wok-compact .home-pantry-heading{display:flex;align-items:center;gap:9px}
#kitchen-wok-compact .home-pantry-heading>svg{width:18px;height:20px;color:var(--kw-green);flex-shrink:0}
#kitchen-wok-compact .home-pantry-heading strong{font-size:14px;font-weight:650;letter-spacing:-.3px;flex:1;line-height:1.4}
#kitchen-wok-compact .home-stock-count{font-size:10px;white-space:nowrap;color:var(--kw-muted)}
#kitchen-wok-compact .home-stock-preview{display:flex;flex-wrap:wrap;gap:5px;margin:14px 0 12px}
#kitchen-wok-compact .home-stock-preview>span{display:inline-block;border-radius:7px;border:1px solid var(--kw-line);padding:5px 7px;font-size:10px;line-height:1.2;background:var(--kw-paper)}
#kitchen-wok-compact .home-stock-preview .home-stock-more{border-color:transparent;background:transparent;color:var(--kw-muted)}
#kitchen-wok-compact .home-pantry-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--kw-green)}
#kitchen-wok-compact .home-pantry-foot small{font-size:10px;line-height:1.5}
#kitchen-wok-compact .home-pantry-foot svg{width:16px;height:16px;flex-shrink:0}
#kitchen-wok-compact .simple-home .simple-people .kw-stepper{margin-bottom:17px}
#kitchen-wok-compact .home-wok{display:flex;align-items:center;gap:11px;width:100%;padding:18px 0 8px;margin-top:6px;text-align:left;background:transparent;color:var(--kw-text)}
#kitchen-wok-compact .home-wok-icon{width:39px;height:43px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--kw-line);border-radius:13px;background:var(--kw-paper);color:var(--kw-green)}
#kitchen-wok-compact .home-wok-icon svg{width:20px;height:20px}
#kitchen-wok-compact .home-wok>span:nth-child(2){flex:1;min-width:0}
#kitchen-wok-compact .home-wok strong{display:block;font-size:14px;font-weight:600;margin-bottom:5px}
#kitchen-wok-compact .home-wok small{display:block;font-size:11px;line-height:1.5;color:var(--kw-muted)}
#kitchen-wok-compact .home-wok>svg{width:15px;height:15px;color:var(--kw-muted);flex-shrink:0}
#kitchen-wok-compact .simple-suggestion-back{display:flex;justify-content:space-between;align-items:center}
@media(max-width:360px){
  #kitchen-wok-compact .simple-home{padding-top:12px}
  #kitchen-wok-compact .simple-home h1{font-size:34px;letter-spacing:-1.5px}
  #kitchen-wok-compact .home-dish{flex-basis:58px}
  #kitchen-wok-compact .home-dish .kw-dish{--dish-size:58px}
  #kitchen-wok-compact .home-pantry-card{padding:16px 13px}
  #kitchen-wok-compact .home-pantry-heading{gap:7px}
  #kitchen-wok-compact .home-pantry-heading strong{font-size:13px}
}
@media(max-height:740px){
  #kitchen-wok-compact .simple-home{padding-top:8px}
  #kitchen-wok-compact .simple-home .simple-intro{margin-bottom:16px}
  #kitchen-wok-compact .home-pantry-card{margin-bottom:14px;padding-top:14px;padding-bottom:14px}
  #kitchen-wok-compact .home-wok{padding-top:13px}
}
