:root{--brizi-navy:#0B2D4F;--brizi-blue:#1E88FF;--brizi-teal:#00C2A8;--brizi-green:#7ED957;--brizi-orange:#FF9F43;--brizi-ice:#EAF3FF;--bg:#f6f9fc;--panel:#fff;--paper:#fff;--ink:#102A43;--muted:#627D98;--line:rgba(11,45,79,.12);--accent:#FF9F43;--accent2:#1E88FF;--shadow:0 14px 36px rgba(11,45,79,.08);font-family:Poppins,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{background:radial-gradient(circle at 100% 0,rgba(255,159,67,.09),transparent 27rem),radial-gradient(circle at 0 100%,rgba(0,194,168,.07),transparent 28rem),#f6f9fc}.hub-toolbar{background:rgba(11,45,79,.97);border-bottom:0;box-shadow:0 8px 28px rgba(11,45,79,.14)}.hub-home{background:rgba(255,255,255,.1)!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;padding:.32rem .68rem .32rem .38rem!important}.hub-home img{width:28px;height:28px;display:block}.hub-home span{font-size:.86rem}.hub-title{color:#fff;font-family:Poppins,sans-serif;font-weight:800;letter-spacing:-.02em}.hub-sync,.hub-backups,.hub-shared{border-color:rgba(255,255,255,.14)!important}.sidebar{background:rgba(255,255,255,.96);border-color:rgba(11,45,79,.09)}.sidebar .brand{border-bottom-color:rgba(11,45,79,.08)!important}.logo{background:transparent!important;box-shadow:none!important;border-radius:13px!important;overflow:hidden}.logo img{width:100%;height:100%;display:block}.sidebar .brand h1{color:var(--brizi-navy);font-family:Poppins,sans-serif;font-weight:800}.recipe-card.active{background:#fff8ef!important;border-color:rgba(255,159,67,.22)!important;box-shadow:inset 4px 0 0 var(--brizi-orange)!important}.recipe-tabs{box-shadow:0 8px 24px rgba(11,45,79,.05)}.recipe-tab.active{background:var(--brizi-navy)!important;color:#fff}.panel,.hero,.recipe-header{border-color:rgba(11,45,79,.09);box-shadow:0 10px 30px rgba(11,45,79,.055)}button{background:var(--brizi-navy)}button.warning,.mobile-cook-button{background:linear-gradient(135deg,#ffab54,var(--brizi-orange));color:#4b2700}.mobile-bottom-nav button.active{color:#d97706;background:rgba(255,159,67,.11)}.mobile-bottom-nav .mobile-new-recipe{background:linear-gradient(135deg,var(--brizi-orange),#ff8b2b)}input:focus,select:focus,textarea:focus{outline:3px solid rgba(30,136,255,.12);border-color:rgba(30,136,255,.4)}.profile-progress span.active{background:var(--brizi-blue)}.dining-status.safe{border-color:rgba(0,194,168,.25);background:rgba(0,194,168,.08)}@media(max-width:720px){.hub-home span{display:none}.hub-home{padding:.31rem!important}.hub-home img{width:30px;height:30px}.hub-title{display:block!important;font-size:.9rem}.hub-toolbar{grid-template-columns:auto 1fr auto!important}}

/* --------------------------------------------------------------------------
   Daylivo v5.2 - Simple / Everything progressive disclosure
   -------------------------------------------------------------------------- */
.experience-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:999px;background:#edf1e6;border:1px solid rgba(18,55,42,.09);margin:10px 0 14px}
.experience-switch button{border:0!important;background:transparent!important;color:#607066!important;box-shadow:none!important;border-radius:999px!important;padding:8px 12px!important;font-size:12px!important;font-weight:800!important;letter-spacing:.01em;cursor:pointer}
.experience-switch button.active{background:#fff!important;color:#12372A!important;box-shadow:0 3px 10px rgba(18,55,42,.10)!important}
.simple-sidebar{background:#fffdf8!important}
.simple-search-row{align-items:stretch}
.simple-new-button{white-space:nowrap;border:0;border-radius:12px;background:#2E7D32;color:white;font-weight:800;padding:0 14px;cursor:pointer}
.recipe-simple-mode .sidebar .recipe-card{border-radius:15px;padding:8px;background:#fff;border:1px solid #ebe6dc}
.recipe-simple-mode .sidebar .recipe-card.active{background:#f5f8e9!important;border-color:rgba(46,125,50,.25)!important}
.recipe-simple-mode .recipe-card .thumb{border-radius:11px}
.simple-recipe-view{max-width:1120px;margin:0 auto;padding:30px 28px 80px}
.simple-recipe-hero{display:grid;grid-template-columns:minmax(320px,.92fr) minmax(360px,1fr);gap:42px;align-items:center;background:#fffdf8;border:1px solid #e6e0d5;border-radius:28px;padding:22px;box-shadow:0 18px 55px rgba(18,55,42,.07);overflow:visible}
.simple-hero-image-wrap{aspect-ratio:1.35/1;overflow:hidden;border-radius:22px;background:#eef2df}
.simple-hero-image{width:100%;height:100%;object-fit:cover;display:block}
.simple-hero-copy{padding:16px 20px 16px 2px}
.simple-kicker{margin:0 0 8px;color:#2E7D32;font-size:12px;font-weight:900;letter-spacing:.16em}
.simple-hero-copy h1{font-size:clamp(34px,4vw,58px);line-height:1.02;margin:0 0 14px;color:#12372A;letter-spacing:-.035em}
.simple-description{font-size:17px;line-height:1.6;color:#5f6c64;margin:0 0 22px;max-width:650px}
.simple-facts{display:flex;gap:10px;margin-bottom:20px}
.simple-facts>label,.simple-facts>div{min-width:108px;display:flex;align-items:center;justify-content:center;gap:7px;background:#f4f3e9;border:1px solid #e4e2d6;border-radius:13px;padding:10px 13px;color:#59645e}
.simple-facts span{font-size:12px;font-weight:700}
.simple-facts b{font-size:18px;color:#12372A}
.simple-facts input{width:48px;border:0;background:transparent;font-weight:900;font-size:18px;color:#12372A;text-align:center;padding:0}
.simple-primary-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.simple-primary-actions button{min-height:48px}
.simple-favorite{width:50px;min-width:50px;border-radius:14px!important;background:#fff!important;border:1px solid #ded8cc!important;color:#7c887f!important;box-shadow:none!important;font-size:25px!important;padding:0!important}
.simple-favorite.active{color:#d85f48!important;background:#fff3ef!important;border-color:#ffd6cb!important}
.simple-recipe-body{max-width:none;width:100%;margin:32px 0 0;display:grid;gap:22px}
.simple-section{background:#fff;border:1px solid #e7e1d6;border-radius:23px;padding:28px 30px;box-shadow:0 10px 32px rgba(18,55,42,.045)}
.simple-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.simple-section-title h2{margin:0;color:#12372A;font-size:28px}
.simple-section-title>span{font-size:13px;font-weight:800;color:#69756e;background:#f4f4eb;border-radius:999px;padding:7px 11px}
.text-button{border:0!important;background:transparent!important;color:#2E7D32!important;box-shadow:none!important;font-weight:800!important;padding:7px!important}
.simple-ingredients{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.simple-ingredients li{padding:12px 3px;border-bottom:1px solid #eee9df;color:#2f3e35;line-height:1.4}
.simple-steps{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.simple-step{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:16px 3px;border-bottom:1px solid #eee9df}
.simple-step:last-child{border-bottom:0}
.simple-step-number{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#edf3de;color:#2E7D32;font-weight:900}
.simple-step h3{margin:1px 0 5px;font-size:17px;color:#21352a}
.simple-step p{margin:0;color:#56635b;line-height:1.55}
.simple-step small{display:inline-block;margin-top:7px;color:#7b877f;font-weight:700}
.simple-more-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:#f1f4e7;border:1px solid #dce6c8;border-radius:18px;color:#314337}
.simple-more-card>div{display:grid;gap:3px}.simple-more-card span{font-size:13px;color:#69766d}
.simple-mode-mobile{display:none}
.simple-mobile-nav{grid-template-columns:repeat(3,1fr)!important}
@media(max-width:900px){
 .simple-recipe-view{padding:12px 12px 90px}
 .simple-recipe-hero{grid-template-columns:1fr;gap:18px;padding:12px;border-radius:22px}
 .simple-hero-image-wrap{aspect-ratio:1.55/1;border-radius:17px}
 .simple-hero-copy{padding:4px 8px 14px}
 .simple-mode-mobile{display:block;max-width:240px}
 .simple-hero-copy h1{font-size:38px}
 .simple-description{font-size:15px}
 .simple-section{padding:22px 18px;border-radius:19px}
 .simple-ingredients{grid-template-columns:1fr}
 .simple-more-card{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
 .simple-primary-actions{display:grid;grid-template-columns:1fr auto}.simple-primary-actions #simpleAddShoppingBtn{grid-column:1/-1;grid-row:2}.simple-primary-actions .primary-cook{width:100%}
 .simple-facts{width:100%}.simple-facts>label,.simple-facts>div{flex:1}
}


/* Daylivo v5.2.2 - Simple-mode polish */
@media(min-width:981px){
  .recipe-simple-mode .app{padding-top:1.2rem}
  .recipe-simple-mode .sidebar{top:4.8rem;max-height:calc(100vh - 5.9rem);padding-top:1rem}
  .recipe-simple-mode .sidebar .brand{padding-top:.2rem}
  .recipe-simple-mode .simple-recipe-view{padding-top:30px}
}


/* Daylivo v5.4.2 - keep the Simple-mode + New button fully inside the sidebar */
.simple-search-row{grid-template-columns:minmax(0,1fr) auto!important;overflow:visible}
.simple-search-row .searchbox{min-width:0}
.simple-search-row .searchbox input{width:100%;min-width:0}
.simple-new-button{min-width:72px!important;width:auto!important;max-width:none!important;overflow:visible!important;padding:0 12px!important}
@media(max-width:420px){.simple-new-button{min-width:66px!important;padding:0 10px!important}}


/* Daylivo v5.5.3 - add recipe ingredients directly to Lists */
.simple-ingredients li{display:flex;align-items:center;justify-content:space-between;gap:12px}
.simple-ingredient-copy{min-width:0;flex:1}
.ingredient-add-list{flex:0 0 auto!important;min-height:34px!important;padding:6px 10px!important;border-radius:999px!important;background:#f6f8f0!important;color:#2E7D32!important;border:1px solid #d9e5ce!important;box-shadow:none!important;font-size:12px!important;font-weight:900!important;white-space:nowrap}
.ingredient-add-list:hover{background:#edf4e3!important;border-color:#bfd5ae!important}
.ingredient-add-list.added,.ingredient-add-list:disabled.added{background:#e5f3dc!important;color:#246b29!important;border-color:#c5dfb6!important;opacity:1!important;cursor:default}
.ingredient-line-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}
.simple-section-title>div{min-width:0}
.simple-section-subtitle{display:block;margin-top:4px;font-size:13px;font-weight:800;color:#69756e}
.simple-add-all-inline{white-space:nowrap}
.shopping-added{background:#e5f3dc!important;color:#246b29!important;border-color:#c5dfb6!important;opacity:1!important}
@media(max-width:700px){
  .ingredient-line{align-items:flex-start!important;gap:10px!important}
  .ingredient-line-actions{align-items:flex-end;flex-direction:column;gap:6px}
  .ingredient-add-list{min-width:72px!important}
  .shopping-header-actions{gap:6px!important;flex-wrap:wrap;justify-content:flex-end}
  .simple-section-title{align-items:center}
}
@media(max-width:420px){
  .simple-ingredients li{gap:8px}
  .ingredient-add-list{padding:6px 9px!important;min-width:68px!important}
}


/* Daylivo v5.7 - mobile mode switch and recipe-card rating fit */
.everything-mode-mobile{display:none}
@media(max-width:980px){
  .everything-mode-mobile{display:block;max-width:270px;margin:.15rem 0 .7rem}
  .everything-mode-mobile .experience-switch{margin:0}
  .recipe-card{align-items:center!important;min-height:92px!important;padding:.58rem .62rem .64rem .5rem!important}
  .recipe-card-copy{min-width:0;min-height:72px;display:flex;flex-direction:column;justify-content:center;padding:.04rem 0 .12rem}
  .recipe-title{line-height:1.16!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal!important;overflow:hidden}
  .recipe-meta{line-height:1.2!important;margin-top:.18rem!important}
  .rating-small{display:block;line-height:1.15!important;margin-top:.18rem!important;padding-bottom:.08rem}
}
@media(max-width:420px){
  .recipe-card{min-height:88px!important}
  .recipe-card-copy{min-height:68px}
}

/* Daylivo v5.7.1 - visible AI progress + hero persistence feedback */
.ai-working-status{display:flex;align-items:flex-start;gap:9px;margin-top:10px;padding:10px 12px;border-radius:12px;background:rgba(30,136,255,.08);border:1px solid rgba(30,136,255,.18);color:#24445f;font-size:12px;font-weight:750;line-height:1.4}
.ai-working-spinner{display:inline-block;flex:0 0 auto;width:15px;height:15px;margin-top:1px;border:2px solid rgba(30,136,255,.22);border-top-color:#1E88FF;border-radius:50%;animation:daylivo-spin .8s linear infinite}
.header-ai-working{max-width:520px}
.hero-generation-inline{display:flex;align-items:flex-start;gap:8px;line-height:1.4}
.hero-generation-inline.working{padding:9px 11px;border-radius:11px;background:rgba(30,136,255,.07);border:1px solid rgba(30,136,255,.14)}
.hero-generation-inline.error{display:block!important;padding:9px 11px;border-radius:11px;background:rgba(196,40,40,.06);border:1px solid rgba(196,40,40,.14)}
@keyframes daylivo-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ai-working-spinner{animation:none;border-top-color:rgba(30,136,255,.22);box-shadow:inset 0 0 0 3px rgba(30,136,255,.16)}}
@media(max-width:600px){.ai-working-status{font-size:11.5px}.header-hard-conflict{align-items:stretch!important}.header-hard-conflict>button{align-self:flex-start}}
