.jkchilli-ai-home-slot{margin:0!important}.jkchilli-ai{--ai-red:#dc2626;--ai-dark:#1c1917;--ai-stone:#57534e;--ai-border:#e7e5e4;margin:48px auto;padding:0 20px;max-width:1240px}.jkchilli-ai-inner{background:linear-gradient(135deg,#181512 0%,#2a1714 100%);border-radius:26px;padding:30px;color:#fff;box-shadow:0 18px 50px rgba(28,25,23,.16);overflow:hidden}.jkchilli-ai-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.jkchilli-ai-eyebrow{display:inline-flex;gap:8px;align-items:center;color:#fca5a5;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.jkchilli-ai-head h2{margin:8px 0 7px;font-size:clamp(26px,4vw,42px);line-height:1.04;color:#fff}.jkchilli-ai-head p{margin:0;color:#d6d3d1}.jkchilli-ai-free{white-space:nowrap;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);padding:8px 11px;border-radius:999px;font-size:11px;font-weight:800}.jkchilli-ai-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0 18px}.jkchilli-ai-tabs button{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);color:#fff;border-radius:12px;padding:10px 13px;display:inline-flex;align-items:center;gap:8px;font-weight:700;cursor:pointer}.jkchilli-ai-tabs button.is-active{background:#fff;color:#1c1917}.jkchilli-ai-panel{display:none;background:#fff;color:#1c1917;border-radius:20px;padding:20px}.jkchilli-ai-panel.is-active{display:block}.jkchilli-ai-panel label{display:block;font-size:13px;font-weight:800;margin-bottom:14px}.jkchilli-ai-panel input,.jkchilli-ai-panel textarea,.jkchilli-ai-panel select{display:block;width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #d6d3d1;background:#fff;color:#1c1917;border-radius:12px;padding:12px 13px;font:inherit;outline:none}.jkchilli-ai-panel textarea{resize:vertical;min-height:90px}.jkchilli-ai-grid{display:grid;grid-template-columns:1.3fr 1.3fr .7fr;gap:12px}.jkchilli-ai-submit{border:0;background:var(--ai-red);color:#fff;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer}.jkchilli-ai-submit:disabled{opacity:.6;cursor:wait}.jkchilli-ai-note{font-size:12px;color:#78716c}.jkchilli-ai-status{min-height:22px;margin-top:12px;color:#d6d3d1;font-size:13px}.jkchilli-ai-result{margin-top:12px;background:#fff;color:#1c1917;border-radius:20px;padding:22px}.ai-result-pill{display:inline-block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#b91c1c;background:#fee2e2;padding:6px 9px;border-radius:999px}.jkchilli-ai-result h3{font-size:27px;margin:10px 0 6px}.jkchilli-ai-result h4{margin:20px 0 8px}.jkchilli-ai-result p{line-height:1.65}.ai-result-meta{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.ai-result-meta span{background:#f5f5f4;border-radius:999px;padding:6px 9px;font-size:12px}.jkchilli-ai-result ul,.jkchilli-ai-result ol{padding-left:22px;line-height:1.7}.ai-tip{border-left:4px solid #f59e0b;background:#fffbeb;padding:12px 15px;border-radius:8px}.ai-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ai-two-col>div{background:#f5f5f4;padding:12px;border-radius:12px}.ai-find-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:13px 0;border-bottom:1px solid #e7e5e4;text-decoration:none;color:#1c1917}.ai-find-row small{display:block;color:#78716c;margin-top:3px}.ai-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;padding:12px;border-radius:12px}.jkchilli-ai-recipe-actions{max-width:1200px;margin:20px auto;padding:0 20px;display:flex;gap:10px;flex-wrap:wrap}.jkchilli-ai-recipe-actions button{border:1px solid #e7e5e4;background:#fff;border-radius:12px;padding:10px 13px;font-weight:800;color:#292524;cursor:pointer}.jkchilli-ai-recipe-actions button:hover{border-color:#dc2626;color:#b91c1c}@media(max-width:700px){.jkchilli-ai{padding:0 12px;margin:30px auto}.jkchilli-ai-inner{padding:18px;border-radius:20px}.jkchilli-ai-head{display:block}.jkchilli-ai-free{display:inline-flex;margin-top:14px}.jkchilli-ai-tabs{display:grid;grid-template-columns:1fr 1fr}.jkchilli-ai-tabs button{justify-content:center;font-size:12px;padding:10px 8px}.jkchilli-ai-panel{padding:15px;border-radius:16px}.jkchilli-ai-grid{grid-template-columns:1fr}.jkchilli-ai-submit{width:100%}.jkchilli-ai-result{padding:16px;border-radius:16px}.ai-two-col{grid-template-columns:1fr}.jkchilli-ai-recipe-actions{padding:0 12px}.jkchilli-ai-recipe-actions button{width:100%}}
@media(max-width:390px){.jkchilli-ai-head h2{font-size:26px}.jkchilli-ai-tabs button span{white-space:normal}.jkchilli-ai-panel input,.jkchilli-ai-panel textarea,.jkchilli-ai-panel select{font-size:16px}}

.ai-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;padding-top:15px;border-top:1px solid #e7e5e4}.ai-result-actions button,.ai-edit-draft{border:1px solid #d6d3d1;background:#fff;color:#292524;border-radius:11px;padding:10px 13px;font-weight:800;text-decoration:none;cursor:pointer}.ai-result-actions button:first-child{background:#dc2626;border-color:#dc2626;color:#fff}.ai-result-actions button:disabled{opacity:.65;cursor:default}.ai-edit-draft{display:inline-flex;align-items:center}.ai-shopping-result li{margin:7px 0}@media(max-width:700px){.ai-result-actions{display:grid;grid-template-columns:1fr}.ai-result-actions button,.ai-edit-draft{justify-content:center;text-align:center;width:100%;box-sizing:border-box}}


.jkchilli-ai-form-helper{margin:0 0 18px;padding:16px;border:1px solid #e7e5e4;border-radius:16px;background:linear-gradient(180deg,#fff,#fafaf9);box-shadow:0 4px 16px rgba(28,25,23,.05)}
.jkchilli-ai-form-helper-head{display:flex;gap:12px;align-items:flex-start}.jkchilli-ai-form-helper-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff1f2;font-size:19px;flex:0 0 auto}.jkchilli-ai-form-helper-head strong{display:block;font-size:15px;color:#292524}.jkchilli-ai-form-helper-head small{display:block;margin-top:3px;color:#78716c;line-height:1.45}.jkchilli-ai-form-helper-input{width:100%;margin-top:12px;min-height:80px;resize:vertical}.jkchilli-ai-form-helper-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}.jkchilli-ai-form-helper-actions .btn{min-height:42px}.jkchilli-ai-form-helper-status{font-size:13px;color:#78716c;line-height:1.4}.jkchilli-ai-form-helper-status:empty{display:none}
@media(max-width:600px){.jkchilli-ai-form-helper{padding:13px;border-radius:14px}.jkchilli-ai-form-helper-actions{align-items:stretch}.jkchilli-ai-form-helper-actions .btn{width:100%;justify-content:center}.jkchilli-ai-form-helper-status{width:100%}}

.jkchilli-ai-fill{margin:0 0 18px;padding:16px 18px;border:1px solid var(--stone-200,#e7e5e4);border-radius:16px;background:linear-gradient(135deg,#fff7ed,#fff);display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.jkchilli-ai-fill-copy{display:flex;flex-direction:column;gap:3px;flex:1 1 280px;min-width:0}.jkchilli-ai-fill-copy strong{font-size:16px}.jkchilli-ai-fill-copy span{font-size:13px;color:var(--stone-500,#78716c);line-height:1.45}.jkchilli-ai-fill-button{white-space:nowrap}.jkchilli-ai-fill-status{flex:1 0 100%;font-size:13px;color:var(--stone-600,#57534e);min-height:18px}
@media(max-width:600px){.jkchilli-ai-fill{padding:14px;gap:11px}.jkchilli-ai-fill-button{width:100%;justify-content:center}.jkchilli-ai-fill-status{font-size:12px}}


.jkchilli-cook-ai{margin-top:22px;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.06);backdrop-filter:blur(10px)}
.jkchilli-cook-ai-head{margin-bottom:12px}.jkchilli-cook-ai-head strong{display:block;font-size:18px;margin-top:3px}.jkchilli-cook-ai-head small{display:block;opacity:.7;margin-top:4px;line-height:1.45}.jkchilli-cook-ai label{display:block}.jkchilli-cook-ai label span{display:block;font-size:12px;font-weight:700;margin-bottom:6px;opacity:.8}.jkchilli-cook-ai textarea{width:100%;min-height:64px;resize:vertical;border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:11px 12px;background:rgba(0,0,0,.18);color:inherit;outline:none}.jkchilli-cook-ai textarea:focus{border-color:rgba(248,113,113,.7)}.jkchilli-cook-ai-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}.jkchilli-cook-ai-actions span{font-size:12px;opacity:.75}.jkchilli-cook-ai #cookAIResult{margin-top:12px}.jkchilli-cook-ai .ai-simple-result{margin:0}.jkchilli-cook-ai .ai-text{line-height:1.65}
@media(max-width:600px){.jkchilli-cook-ai{padding:14px;border-radius:16px}.jkchilli-cook-ai-actions .btn{width:100%;justify-content:center}.jkchilli-cook-ai textarea{font-size:16px}}
/* 1.11.1 – compact, non-full-height AI drawer */
.jkchilli-ai-home-slot{display:none!important}
.jkchilli-ai-drawer-trigger{position:fixed;right:0;top:42%;z-index:10040;border:0;border-radius:14px 0 0 14px;background:#dc2626;color:#fff;box-shadow:-4px 10px 30px rgba(28,25,23,.22);padding:12px 10px;display:flex;align-items:center;gap:8px;font:800 13px/1 inherit;cursor:pointer;writing-mode:vertical-rl;transform:translateY(-50%);transition:transform .2s ease,background .2s ease}
.jkchilli-ai-drawer-trigger:hover{background:#b91c1c;transform:translateY(-50%) translateX(-2px)}
.jkchilli-ai-drawer-trigger i{font-size:16px}
.jkchilli-ai-drawer[hidden]{display:none}
.jkchilli-ai-drawer{position:fixed;inset:0;z-index:10030}
.jkchilli-ai-drawer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.48);backdrop-filter:blur(2px)}
.jkchilli-ai-drawer-panel{position:absolute;right:18px;top:6vh;bottom:6vh;width:min(480px,calc(100vw - 36px));background:#fff;border-radius:22px;box-shadow:-14px 18px 60px rgba(0,0,0,.24);overflow:hidden;display:flex;flex-direction:column;overscroll-behavior:contain}
.jkchilli-ai-drawer-head{flex:0 0 auto;padding:16px 18px 13px;background:linear-gradient(180deg,#211714 0%,#2a1714 100%);color:#fff;border-bottom:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;gap:14px}
.jkchilli-ai-drawer-head h2{margin:5px 0 4px;color:#fff;font-size:25px;line-height:1.08}
.jkchilli-ai-drawer-head p{margin:0;color:#d6d3d1;font-size:12px;line-height:1.4}
.jkchilli-ai-drawer-close{flex:0 0 auto;width:36px;height:36px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font-size:17px;cursor:pointer}
.jkchilli-ai-drawer .jkchilli-ai{margin:0;padding:0;max-width:none;overflow:auto;min-height:0}
.jkchilli-ai-drawer .jkchilli-ai-inner{border-radius:0;box-shadow:none;padding:14px 16px 18px;background:#fff;color:#1c1917}
.jkchilli-ai-drawer .jkchilli-ai-tabs{margin:0 0 10px;position:sticky;top:0;z-index:2;background:#fff;padding:0 0 9px;gap:6px}
.jkchilli-ai-drawer .jkchilli-ai-tabs button{padding:8px 10px;border-radius:10px;font-size:12px}
.jkchilli-ai-drawer .jkchilli-ai-panel{border:1px solid #e7e5e4;box-shadow:0 2px 8px rgba(28,25,23,.035);padding:15px;border-radius:15px}
.jkchilli-ai-drawer .jkchilli-ai-panel label{margin-bottom:10px}
.jkchilli-ai-drawer .jkchilli-ai-panel input,.jkchilli-ai-drawer .jkchilli-ai-panel textarea,.jkchilli-ai-drawer .jkchilli-ai-panel select{margin-top:5px;padding:10px 11px;border-radius:10px}
.jkchilli-ai-drawer .jkchilli-ai-panel textarea{min-height:76px}
.jkchilli-ai-drawer .jkchilli-ai-grid{gap:9px}
.jkchilli-ai-drawer .jkchilli-ai-submit{padding:10px 14px;border-radius:10px}
.jkchilli-ai-drawer .jkchilli-ai-status{margin-top:8px}
.jkchilli-ai-drawer .jkchilli-ai-result{margin-top:9px;padding:16px;border-radius:15px}
body.jkchilli-ai-drawer-open{overflow:hidden}
@media(max-width:700px){
 .jkchilli-ai-drawer-trigger{top:auto;bottom:104px;transform:none;padding:11px 13px;border-radius:13px 0 0 13px;writing-mode:horizontal-tb}
 .jkchilli-ai-drawer-trigger:hover{transform:none}
 .jkchilli-ai-drawer-panel{left:10px;right:10px;top:auto;bottom:10px;width:auto;height:min(82dvh,680px);max-height:calc(100dvh - 20px);border-radius:20px;box-shadow:0 -14px 50px rgba(0,0,0,.25)}
 .jkchilli-ai-drawer-head{border-radius:20px 20px 0 0;padding:14px 14px 11px}
 .jkchilli-ai-drawer-head h2{font-size:22px}
 .jkchilli-ai-drawer .jkchilli-ai-inner{padding:11px 12px 15px}
 .jkchilli-ai-drawer .jkchilli-ai-tabs{margin-bottom:8px;padding-bottom:7px}
 .jkchilli-ai-drawer .jkchilli-ai-tabs button{padding:8px 6px}
 .jkchilli-ai-drawer .jkchilli-ai-panel{padding:13px;border-radius:14px}
}

/* 1.11.2 – clean compact light drawer */
.jkchilli-ai-drawer-panel{right:16px;top:50%;bottom:auto;transform:translateY(-50%);width:min(500px,calc(100vw - 32px));max-height:calc(100vh - 32px);background:#fff;color:#1c1917;border:1px solid #e7e5e4;border-radius:20px;}
.jkchilli-ai-drawer-head{background:#fff;color:#1c1917;border-bottom:1px solid #e7e5e4;padding:14px 16px 12px;align-items:center;}
.jkchilli-ai-drawer-head h2{color:#1c1917;font-size:21px;margin:3px 0 3px;}
.jkchilli-ai-drawer-head p{color:#57534e;font-size:11px;}
.jkchilli-ai-drawer-head .jkchilli-ai-eyebrow{color:#b91c1c;font-size:10px;}
.jkchilli-ai-drawer-close{background:#f5f5f4;border-color:#d6d3d1;color:#292524;width:32px;height:32px;font-size:15px;}
.jkchilli-ai-drawer .jkchilli-ai{overflow:visible;}
.jkchilli-ai-drawer .jkchilli-ai-inner{padding:12px 14px 14px;overflow:visible;}
.jkchilli-ai-tool-picker{position:relative;margin-bottom:10px;}
.jkchilli-ai-tool-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border:1px solid #d6d3d1;border-radius:11px;background:#fafaf9;color:#1c1917;font-size:12px;font-weight:800;cursor:pointer;}
.jkchilli-ai-tool-toggle:hover{background:#f5f5f4;}
.jkchilli-ai-tool-current{display:flex;align-items:center;gap:7px;min-width:0;}
.jkchilli-ai-tool-current i{color:#dc2626;}
.jkchilli-ai-drawer .jkchilli-ai-tabs{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:20;margin:0;padding:5px;background:#fff;border:1px solid #d6d3d1;border-radius:12px;box-shadow:0 12px 30px rgba(28,25,23,.14);display:grid;grid-template-columns:1fr 1fr;gap:4px;}
.jkchilli-ai-drawer .jkchilli-ai-tabs[hidden]{display:none;}
.jkchilli-ai-drawer .jkchilli-ai-tabs button{padding:8px 8px;border-radius:8px;border:1px solid transparent;background:#fafaf9;color:#292524;font-size:11px;justify-content:flex-start;}
.jkchilli-ai-drawer .jkchilli-ai-tabs button.is-active{background:#fee2e2;color:#991b1b;border-color:#fecaca;}
.jkchilli-ai-drawer .jkchilli-ai-panel{padding:12px;border-radius:13px;box-shadow:none;background:#fff;}
.jkchilli-ai-drawer .jkchilli-ai-panel label{font-size:11px;margin-bottom:7px;color:#292524;}
.jkchilli-ai-drawer .jkchilli-ai-panel input,.jkchilli-ai-drawer .jkchilli-ai-panel textarea,.jkchilli-ai-drawer .jkchilli-ai-panel select{margin-top:4px;padding:8px 9px;border-radius:8px;font-size:13px;}
.jkchilli-ai-drawer .jkchilli-ai-panel textarea{min-height:52px;max-height:92px;}
.jkchilli-ai-drawer .jkchilli-ai-grid{gap:7px;}
.jkchilli-ai-drawer .jkchilli-ai-submit{padding:9px 12px;border-radius:9px;font-size:12px;}
.jkchilli-ai-drawer .jkchilli-ai-note{font-size:10px;line-height:1.35;margin:7px 0 0;}
.jkchilli-ai-drawer .jkchilli-ai-status{color:#57534e;font-size:11px;margin-top:6px;min-height:0;}
.jkchilli-ai-drawer .jkchilli-ai-result{margin-top:7px;padding:12px;border-radius:12px;max-height:260px;overflow:auto;}
.jkchilli-ai-drawer-open .jkchilli-ai-drawer-panel{transform:translateY(-50%);}
@media(max-width:700px){
  .jkchilli-ai-drawer-panel{left:8px;right:8px;bottom:8px;top:auto;transform:none;width:auto;max-height:calc(100dvh - 16px);border-radius:18px;}
  .jkchilli-ai-drawer-head{padding:11px 12px 9px;}
  .jkchilli-ai-drawer-head h2{font-size:18px;}
  .jkchilli-ai-drawer-head p{font-size:10px;}
  .jkchilli-ai-drawer .jkchilli-ai-inner{padding:9px 10px 11px;}
  .jkchilli-ai-drawer .jkchilli-ai-panel{padding:10px;}
  .jkchilli-ai-drawer .jkchilli-ai-panel textarea{min-height:48px;max-height:80px;}
  .jkchilli-ai-drawer .jkchilli-ai-result{max-height:230px;}
}

/* 1.11.3 – header typography: red brand, compact dark text */
.jkchilli-ai-head .jkchilli-ai-eyebrow{color:#dc2626;font-size:10px;letter-spacing:.08em;}
.jkchilli-ai-head h2{color:#1c1917;font-size:20px;line-height:1.15;margin:4px 0 4px;font-weight:800;}
.jkchilli-ai-head p{color:#57534e;font-size:11px;line-height:1.35;margin:0;}
.jkchilli-ai-drawer .jkchilli-ai-head h2{color:#1c1917;font-size:18px;line-height:1.15;margin:3px 0 3px;}
.jkchilli-ai-drawer .jkchilli-ai-head p{color:#57534e;font-size:10px;line-height:1.3;}
.jkchilli-ai-drawer .jkchilli-ai-head .jkchilli-ai-eyebrow{color:#dc2626;font-size:9px;}
@media(max-width:700px){
 .jkchilli-ai-head h2{font-size:17px;}
 .jkchilli-ai-head p{font-size:10px;}
 .jkchilli-ai-drawer .jkchilli-ai-head h2{font-size:16px;}
 .jkchilli-ai-drawer .jkchilli-ai-head p{font-size:9px;}
}

/* 1.11.8 – fix AI fill button text visibility on Add Recipe */
.jkchilli-ai-form-helper-actions .jkchilli-ai-fill{
  background:var(--stone-900,#1c1917)!important;
  color:#fff!important;
  border:0!important;
  margin:0!important;
  padding:11px 17px!important;
  border-radius:12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-weight:700!important;
  font-size:13px!important;
  white-space:nowrap!important;
}
.jkchilli-ai-form-helper-actions .jkchilli-ai-fill:hover{background:var(--stone-800,#292524)!important;color:#fff!important}
@media(max-width:600px){.jkchilli-ai-form-helper-actions .jkchilli-ai-fill{width:100%!important;min-height:44px!important}}

/* 1.11.7 mobile drawer geometry retained in 1.11.8 */
@media(max-width:700px){
  .jkchilli-ai-drawer-panel{
    position:fixed!important;left:8px!important;right:8px!important;top:auto!important;bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;height:auto!important;max-height:calc(100dvh - 96px - env(safe-area-inset-bottom,0px))!important;min-height:0!important;transform:none!important;overflow:hidden!important;border-radius:18px!important;
  }
  .jkchilli-ai-drawer .jkchilli-ai{max-height:calc(100dvh - 156px - env(safe-area-inset-bottom,0px))!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch}
  .jkchilli-ai-drawer .jkchilli-ai-inner{padding:9px 10px 12px!important}
  .jkchilli-ai-drawer-head{padding:10px 12px 8px!important}
  .jkchilli-ai-drawer-head h2{font-size:18px!important}
  .jkchilli-ai-drawer-head p{font-size:10px!important}
  .jkchilli-ai-drawer-close{width:30px!important;height:30px!important}
}
@media(max-width:390px){
  .jkchilli-ai-drawer-panel{left:6px!important;right:6px!important;bottom:calc(72px + env(safe-area-inset-bottom,0px))!important;max-height:calc(100dvh - 90px - env(safe-area-inset-bottom,0px))!important}
  .jkchilli-ai-drawer .jkchilli-ai{max-height:calc(100dvh - 150px - env(safe-area-inset-bottom,0px))!important}
}

/* 1.12.1 – recipe AI actions: compact, aligned, responsive */
.jkchilli-ai-recipe-actions{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:20px 0 24px;
  padding:11px 12px;
  border:1px solid var(--stone-200,#e7e5e4);
  border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,#fafaf9 100%);
  box-shadow:var(--shadow-sm,0 1px 3px rgba(28,25,23,.08));
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:10px 14px;
}
.jkchilli-ai-recipe-actions-head{
  min-width:180px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
}
.jkchilli-ai-recipe-actions-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--stone-800,#292524);
  font-size:12px;
  line-height:1.2;
  font-weight:900;
  white-space:nowrap;
}
.jkchilli-ai-recipe-actions-label i{color:var(--chili-600,#dc2626);font-size:14px}
.jkchilli-ai-recipe-actions-hint{color:var(--stone-500,#78716c);font-size:10px;line-height:1.25;white-space:nowrap}
.jkchilli-ai-recipe-actions-buttons{
  min-width:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.jkchilli-ai-recipe-actions-buttons .btn{
  width:100%;
  min-width:0;
  min-height:42px;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0;
  padding:9px 12px;
  border:1px solid var(--stone-200,#e7e5e4);
  border-radius:11px;
  background:#fff;
  color:var(--stone-800,#292524);
  font-size:12px;
  line-height:1.25;
  font-weight:800;
  text-align:center;
  white-space:normal;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}
.jkchilli-ai-recipe-actions-buttons .btn:first-child{border-color:#fecaca;background:#fff7f7;color:#b91c1c}
.jkchilli-ai-recipe-actions-buttons .btn:hover{border-color:var(--chili-600,#dc2626);background:#fff;color:var(--chili-600,#dc2626);transform:translateY(-1px)}
.jkchilli-ai-recipe-actions-buttons .btn i{flex:0 0 auto}
@media(max-width:760px){
  .jkchilli-ai-recipe-actions{
    margin:16px 0 20px;
    padding:10px;
    grid-template-columns:1fr;
    gap:9px;
    border-radius:15px;
  }
  .jkchilli-ai-recipe-actions-head{
    min-width:0;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:8px;
  }
  .jkchilli-ai-recipe-actions-label{font-size:11px}
  .jkchilli-ai-recipe-actions-hint{font-size:9px;white-space:normal;text-align:right}
  .jkchilli-ai-recipe-actions-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .jkchilli-ai-recipe-actions-buttons .btn{
    min-height:46px;
    padding:8px 7px;
    font-size:11px;
    line-height:1.2;
  }
}
@media(max-width:390px){
  .jkchilli-ai-recipe-actions-head{align-items:flex-start}
  .jkchilli-ai-recipe-actions-hint{max-width:44%;}
  .jkchilli-ai-recipe-actions-buttons .btn{min-height:48px;font-size:10px;padding:7px 5px}
}


/* 1.12.2 – redesigned recipe AI actions */
.jkchilli-ai-recipe-actions{
  position:relative;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:18px 0 24px;
  padding:0;
  display:grid;
  grid-template-columns:minmax(230px,.82fr) minmax(0,1.8fr);
  align-items:stretch;
  gap:0;
  overflow:hidden;
  border:1px solid var(--stone-200,#e7e5e4);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 26px rgba(28,25,23,.07);
}
.jkchilli-ai-recipe-actions::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg,#ef4444 0%,#dc2626 55%,#b91c1c 100%);
}
.jkchilli-ai-recipe-actions-head{
  min-width:0;
  padding:14px 16px 14px 20px;
  display:flex;
  align-items:center;
  gap:11px;
  background:linear-gradient(135deg,#fff7f7 0%,#fff 72%);
  border-right:1px solid var(--stone-200,#e7e5e4);
}
.jkchilli-ai-recipe-actions-head::before{
  content:"✦";
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#fee2e2;
  color:var(--chili-600,#dc2626);
  font-size:17px;
  font-weight:900;
  box-shadow:inset 0 0 0 1px #fecaca;
}
.jkchilli-ai-recipe-actions-label{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--stone-900,#1c1917);
  font-family:"Outfit",system-ui,sans-serif;
  font-size:13px;
  line-height:1.1;
  font-weight:900;
  white-space:nowrap;
}
.jkchilli-ai-recipe-actions-label i{display:none}
.jkchilli-ai-recipe-actions-label::after{
  content:"AI";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:18px;
  padding:0 5px;
  box-sizing:border-box;
  border-radius:999px;
  background:var(--chili-600,#dc2626);
  color:#fff;
  font-family:"Plus Jakarta Sans",system-ui,sans-serif;
  font-size:8px;
  letter-spacing:.08em;
  font-weight:900;
}
.jkchilli-ai-recipe-actions-hint{
  margin-top:3px;
  color:var(--stone-500,#78716c);
  font-size:10px;
  line-height:1.35;
  white-space:normal;
}
.jkchilli-ai-recipe-actions-buttons{
  min-width:0;
  padding:12px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  align-items:center;
}
.jkchilli-ai-recipe-actions-buttons .btn{
  width:100%;
  min-width:0;
  min-height:44px;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0;
  padding:10px 12px;
  border:1px solid var(--stone-200,#e7e5e4);
  border-radius:12px;
  background:#fff;
  color:var(--stone-800,#292524);
  font-size:12px;
  line-height:1.25;
  font-weight:800;
  text-align:center;
  white-space:normal;
  cursor:pointer;
  box-shadow:0 2px 7px rgba(28,25,23,.04);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}
.jkchilli-ai-recipe-actions-buttons .btn:first-child{
  border-color:#fca5a5;
  background:linear-gradient(180deg,#dc2626 0%,#c81e1e 100%);
  color:#fff;
  box-shadow:0 5px 14px rgba(220,38,38,.18);
}
.jkchilli-ai-recipe-actions-buttons .btn:first-child:hover{background:#b91c1c;color:#fff;border-color:#b91c1c}
.jkchilli-ai-recipe-actions-buttons .btn:last-child{background:var(--stone-50,#fafaf9)}
.jkchilli-ai-recipe-actions-buttons .btn:last-child:hover{background:#fff;border-color:var(--stone-300,#d6d3d1);color:var(--chili-600,#dc2626)}
.jkchilli-ai-recipe-actions-buttons .btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(28,25,23,.08)}
.jkchilli-ai-recipe-actions-buttons .btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(220,38,38,.14)}
.jkchilli-ai-recipe-actions-buttons .btn i{font-size:13px;flex:0 0 auto}
@media(max-width:760px){
  .jkchilli-ai-recipe-actions{
    margin:16px 0 20px;
    grid-template-columns:1fr;
    border-radius:16px;
  }
  .jkchilli-ai-recipe-actions-head{
    padding:12px 13px 11px 16px;
    border-right:0;
    border-bottom:1px solid var(--stone-200,#e7e5e4);
  }
  .jkchilli-ai-recipe-actions-head::before{width:32px;height:32px;flex-basis:32px;border-radius:10px;font-size:16px}
  .jkchilli-ai-recipe-actions-label{font-size:12px}
  .jkchilli-ai-recipe-actions-hint{font-size:9px}
  .jkchilli-ai-recipe-actions-buttons{padding:10px;gap:8px}
  .jkchilli-ai-recipe-actions-buttons .btn{min-height:46px;padding:8px 7px;font-size:11px}
}
@media(max-width:420px){
  .jkchilli-ai-recipe-actions-head{align-items:flex-start}
  .jkchilli-ai-recipe-actions-head::before{margin-top:1px}
  .jkchilli-ai-recipe-actions-label{font-size:11px}
  .jkchilli-ai-recipe-actions-hint{font-size:8.5px}
  .jkchilli-ai-recipe-actions-buttons{grid-template-columns:1fr 1fr;padding:9px;gap:7px}
  .jkchilli-ai-recipe-actions-buttons .btn{min-height:48px;font-size:10px;line-height:1.2}
}

/* JK CHILLI shared UI alignment: match theme typography, controls and mobile spacing */
.jkchilli-ai{font-family:var(--jk-body-font,"Plus Jakarta Sans",system-ui,sans-serif);color:#1c1917}
.jkchilli-ai button,.jkchilli-ai input,.jkchilli-ai select,.jkchilli-ai textarea{font:inherit}
.jkchilli-ai button{cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.jkchilli-ai button:focus-visible,.jkchilli-ai input:focus-visible,.jkchilli-ai select:focus-visible,.jkchilli-ai textarea:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(220,38,38,.22);outline-offset:2px}
.jkchilli-ai .jkchilli-ai-panel input,.jkchilli-ai .jkchilli-ai-panel textarea,.jkchilli-ai .jkchilli-ai-panel select{max-width:100%;min-width:0}
.jkchilli-ai .jkchilli-ai-submit{min-height:42px;border-radius:12px}
@media(max-width:700px){.jkchilli-ai{max-width:100%;padding-left:12px;padding-right:12px}.jkchilli-ai-inner{border-radius:18px;padding:18px}.jkchilli-ai-head{gap:12px;flex-wrap:wrap}.jkchilli-ai-head h2{font-size:clamp(23px,7vw,32px)}.jkchilli-ai-grid{grid-template-columns:minmax(0,1fr)!important}.jkchilli-ai button{max-width:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){.jkchilli-ai *{transition-duration:.01ms!important;animation-duration:.01ms!important}}


/* 1.13.3: clear, responsive cards for grounded chilli-database suggestions. */
.jkchilli-ai .ai-chilli-result{display:flex;flex-direction:column;gap:12px}
.jkchilli-ai .ai-chilli-recommendation{display:flex;flex-direction:column;gap:7px;padding:14px 16px;border:1px solid rgba(220,38,38,.16);border-radius:14px;background:#fff}
.jkchilli-ai .ai-chilli-recommendation>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.jkchilli-ai .ai-chilli-recommendation strong{font-weight:750;color:#202124}
.jkchilli-ai .ai-chilli-recommendation strong a{color:inherit;text-decoration:none}
.jkchilli-ai .ai-chilli-recommendation strong a:hover{text-decoration:underline;color:#c62828}
.jkchilli-ai .ai-chilli-recommendation small{font-size:12px;color:#626b75}
.jkchilli-ai .ai-chilli-recommendation p{margin:0;line-height:1.55}
@media(max-width:520px){.jkchilli-ai .ai-chilli-recommendation{padding:12px}.jkchilli-ai .ai-chilli-recommendation>div{display:grid;grid-template-columns:1fr;gap:4px}}


/* 1.13.3 – clear Chilli DB recommendation cards and SHU badges */
.jkchilli-ai .ai-chilli-recommendations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.jkchilli-ai .ai-chilli-recommendation{min-width:0}
.jkchilli-ai .ai-chilli-recommendation .ai-chilli-shu{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#fff1f2;border:1px solid #fecaca;color:#9f1239;font-size:11px;font-weight:800;white-space:nowrap}
.jkchilli-ai .ai-chilli-recommendation p strong{color:#44403c}
.jkchilli-ai .ai-chilli-result>.ai-tip{margin-top:14px}
@media(max-width:650px){.jkchilli-ai .ai-chilli-recommendations{grid-template-columns:1fr}}

/* Version 1.13.4: recipe draft review/editor */
.ai-recipe-editor{margin-top:16px;border:1px solid #e7e5e4;border-radius:14px;background:#fafaf9;overflow:hidden}
.ai-recipe-editor>summary{display:flex;flex-direction:column;gap:4px;padding:14px 16px;cursor:pointer;font-weight:800;color:#292524;list-style:none}
.ai-recipe-editor>summary::-webkit-details-marker{display:none}
.ai-recipe-editor>summary:after{content:'+';align-self:flex-end;position:absolute;margin-top:0;right:16px;color:#b91c1c;font-size:22px;line-height:1}
.ai-recipe-editor[open]>summary:after{content:'−'}
.ai-recipe-editor>summary{position:relative;padding-right:42px}
.ai-recipe-editor>summary small{display:block;color:#78716c;font-size:12px;font-weight:500;line-height:1.45}
.ai-recipe-editor-fields{padding:4px 16px 16px;border-top:1px solid #e7e5e4;background:#fff}
.ai-recipe-editor-fields label{display:block;margin-top:12px;color:#44403c;font-size:12px;font-weight:800}
.ai-recipe-editor-fields label small{display:block;margin-top:3px;color:#78716c;font-size:11px;font-weight:500;line-height:1.45}
.ai-recipe-editor-fields input,.ai-recipe-editor-fields textarea,.ai-recipe-editor-fields select{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px 11px;border:1px solid #d6d3d1;border-radius:9px;background:#fff;color:#1c1917;font:inherit;font-size:14px;line-height:1.45}
.ai-recipe-editor-fields textarea{resize:vertical;min-height:58px}
.ai-recipe-editor-fields input:focus,.ai-recipe-editor-fields textarea:focus,.ai-recipe-editor-fields select:focus{outline:2px solid rgba(220,38,38,.2);border-color:#dc2626}
.ai-recipe-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ai-recipe-editor-grid label{min-width:0}
.ai-recipe-editor-help{margin:13px 0 0!important;color:#78716c;font-size:12px;line-height:1.5}
.ai-result-actions .ai-save-recipe{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}
.ai-result-actions .ai-shopping-add{background:#fff!important;border-color:#d6d3d1!important;color:#292524!important}
.ai-result-actions .ai-save-recipe:focus-visible,.ai-result-actions .ai-shopping-add:focus-visible,.ai-recipe-editor summary:focus-visible{outline:3px solid rgba(220,38,38,.32);outline-offset:2px}
@media(max-width:600px){.ai-recipe-editor>summary{padding:13px 40px 13px 13px}.ai-recipe-editor-fields{padding:2px 12px 13px}.ai-recipe-editor-grid{grid-template-columns:1fr;gap:0}.ai-recipe-editor-fields input,.ai-recipe-editor-fields textarea,.ai-recipe-editor-fields select{font-size:16px}.ai-recipe-editor>summary:after{right:12px}}
