:root{--canvas:#f4f5ef;--paper:#fff;--green:#334a34;--green2:#738a6b;--ink:#1f2920;--muted:#687266;--line:#d9e0d3;--light:#e8eee3;--serif:Georgia,'Times New Roman',serif;--sans:Inter,'Helvetica Neue',Arial,sans-serif;--radius:18px;--shadow:0 20px 45px rgba(42,58,39,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at top left,#fbfbf7 0,#f4f5ef 38%,#f2f3ec 100%);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8cb0a3;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}h1,h2{letter-spacing:-.047em}h1 em,h2 em{font-family:var(--serif);font-weight:400;letter-spacing:-.04em;color:#6c8662}img,svg{max-width:100%}.site-header{height:88px;max-width:1240px;margin:auto;padding:0 30px;display:flex;align-items:center;gap:50px;justify-content:space-between;border-bottom:1px solid var(--line);backdrop-filter:saturate(120%)}.brand{display:inline-flex;align-items:center;gap:8px;font-weight:820;font-size:24px;letter-spacing:-1.6px;line-height:17px;white-space:nowrap}.brand-mark{font-size:34px;font-weight:400;color:#64825a}.brand-accent{color:#6d8864}.brand small{display:block;font-size:11px;letter-spacing:4.1px;text-transform:uppercase;font-weight:500;margin-top:5px}.main-nav{display:flex;align-items:center;gap:33px;margin-left:auto}.main-nav a{font-size:13px;font-weight:600;color:#657062;transition:color .2s}.main-nav a:hover,.main-nav a[aria-current=page]{color:var(--green)}.header-account{background:white;border:1px solid var(--line);border-radius:40px;padding:10px 15px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;white-space:nowrap}.account-emoji{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e5eadf;color:var(--green)}.soon{font-size:9px;color:#7f8979;display:none}.mobile-menu{display:none;background:transparent;border:0;font-size:23px}.route{display:none}.route.active{display:block}.hero-wrap{max-width:1240px;padding:70px 30px 74px;margin:auto;min-height:590px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:68px}.eyebrow{font-weight:750;color:#496546;font-size:10px;letter-spacing:2.4px;display:flex;align-items:center;gap:9px}.dot{display:inline-block;width:7px;height:7px;background:#709d63;border-radius:50%}h1{font-size:clamp(48px,5.4vw,78px);line-height:1.075;font-weight:750;margin:21px 0 22px}h2{font-size:clamp(35px,3.7vw,53px);font-weight:720;line-height:1.14}.lead{font-size:16px;line-height:1.95;max-width:560px;color:#637061}.hero-actions{display:flex;align-items:center;gap:30px;margin-top:29px}.btn{border-radius:11px;border:1px solid transparent;font-weight:700;font-size:13px;display:inline-flex;gap:27px;align-items:center;justify-content:center;padding:16px 23px;min-height:50px;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:#3d5739;color:white}.btn-primary:hover{background:#2e452c}.btn-outline{background:transparent;border-color:#cad5c4;color:var(--green)}.btn-light{background:#fff;color:var(--green)}.text-link{font-size:12px;font-weight:720;border-bottom:1px solid #a3b29d;padding:10px 0}.hero-foot{display:flex;gap:22px;flex-wrap:wrap;margin-top:45px;color:#727f6e;font-size:11px}.hero-media{height:500px;position:relative;border-radius:34px;overflow:hidden;box-shadow:var(--shadow);background:#dfe6da;border:1px solid rgba(255,255,255,.65)}.hero-photo{width:100%;height:100%;object-fit:cover;display:block}.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(26,34,24,.02) 15%,rgba(26,34,24,.18) 100%)}.hero-card{position:absolute;z-index:2;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.7);box-shadow:0 18px 40px rgba(30,44,28,.12);border-radius:20px;padding:18px 18px 16px;max-width:280px}.hero-card-top{left:24px;bottom:24px}.hero-card-bottom{right:24px;top:24px;max-width:300px}.hero-card strong{display:block;font-size:16px;line-height:1.35;letter-spacing:-.02em;margin-bottom:6px}.hero-card small{display:block;color:#5e695d;font-size:11px;line-height:1.65}.metric-label{display:block;font-size:10px;letter-spacing:1.7px;color:#6a8562;font-weight:800;margin-bottom:8px}.trust-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:28px;padding:23px 12px;font-size:10px;color:#829080;letter-spacing:2.4px;font-weight:750}.trust-line{width:4px;height:4px;border-radius:50%;background:#89a183}.how-block{max-width:1240px;margin:0 auto;padding:86px 30px 104px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:35px}.section-head h2{margin:18px 0 0}.section-head>p{max-width:335px;line-height:1.8;font-size:14px;color:#697666;margin-bottom:4px}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:36px}.feature-card{background:white;border:1px solid #e5eadf;border-radius:17px;padding:26px 27px;position:relative;min-height:237px;box-shadow:0 8px 24px rgba(31,48,28,.04)}.feature-icon{display:grid;place-items:center;border-radius:11px;width:45px;height:45px;font-size:24px;background:#e7eee0;color:#53744c}.feature-card>span{position:absolute;top:33px;right:28px;color:#9bab99;font-size:12px}.feature-card h3{font-size:17px;margin:24px 0 10px;letter-spacing:-.4px}.feature-card p{font-size:12px;color:#768275;line-height:1.8;max-width:260px}.bottom-cta{background:linear-gradient(135deg,#314931 0,#405a3b 60%,#49684a 100%);color:white;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:72px max(30px,calc((100% - 1180px)/2));border-radius:26px;margin:0 30px 24px}.bottom-cta h2{margin:15px 0 0}.bottom-cta h2 em{color:#b9d0b0}.eyebrow.light{color:#91af87}.site-footer{padding:55px 30px 24px;max-width:1240px;margin:auto}.footer-main{display:flex;justify-content:space-between;gap:45px}.footer-main p{font-size:12px;line-height:1.9;color:#7b8679;margin-top:20px}.footer-nav{display:flex;gap:80px}.footer-nav>div{display:flex;flex-direction:column;gap:13px}.footer-nav h4{font-size:12px;margin-bottom:5px}.footer-nav a{font-size:12px;color:#758070}.footer-nav a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid var(--line);margin-top:55px;padding-top:20px;display:flex;justify-content:space-between;color:#7d8879;font-size:11px}.page-container{max-width:1220px;margin:auto;padding:58px 30px 100px;min-height:66vh}.page-top{max-width:790px;margin-bottom:39px}.page-top h1{font-size:clamp(42px,5vw,66px);margin:16px 0 12px}.page-top p{color:var(--muted);line-height:1.8;max-width:620px;font-size:14px}.generator-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.form-panel{background:#fff;border:1px solid #e4eadf;border-radius:20px;padding:35px;box-shadow:var(--shadow)}.form-header{margin-bottom:29px}.step-tag,.mini-kicker{color:#6f8a66;font-size:10px;font-weight:800;letter-spacing:2px}.form-header h2{font-family:var(--sans);font-size:24px;letter-spacing:-1.1px;margin:14px 0 7px}.form-header p{color:var(--muted);font-size:12px;line-height:1.75}.field{margin-bottom:23px;min-width:0;border:0;padding:0}.field label,.field legend{display:block;font-weight:720;font-size:12px;margin-bottom:10px}.field legend{padding:0}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field input,.field select,.recipe-controls input{display:block;min-width:0;width:100%;border:1px solid #d8e0d3;border-radius:10px;background:#fafcf8;color:#273628;height:49px;padding:0 15px;font-size:13px}.field input:focus,.field select:focus{border-color:#718e6c;outline:2px solid #e1ecdc}.unit-input{position:relative}.unit-input input{padding-right:60px}.unit-input span{position:absolute;right:13px;top:17px;font-size:11px;color:#6f7c69}.optional{font-weight:400;color:#929c90}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.choice{display:flex;flex-direction:column;align-items:start;background:#fbfcf9;border:1.5px solid #dce5d7;border-radius:12px;padding:13px 12px;gap:7px;position:relative;cursor:pointer;min-width:0}.choice:has(input:checked){background:#edf3e8;border-color:#7d9d72}.choice input{position:absolute;right:9px;top:9px;accent-color:#54744c;width:15px;height:15px}.choice-icon{font-size:21px;color:#58724e}.choice strong{font-size:11px}.choice small{font-size:10px;color:#7f8c7b}.checkbox-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.checkbox-grid label{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:9px;padding:10px 10px;margin:0;color:#40523d;font-weight:550;font-size:11px;cursor:pointer}.checkbox-grid label:has(input:checked){background:#eaf0e5;border-color:#73976f}.checkbox-grid input{width:15px;height:15px;accent-color:#48623d;margin:0}.field-helper{font-size:11px;color:#7a8476;line-height:1.6;margin:-2px 0 13px}.info-notice,.demo-alert{border-radius:12px;padding:17px 19px;background:#f2f2e9;border:1px solid #dedfcf;font-size:12px;line-height:1.7;color:#5e684e;margin-bottom:24px}.info-notice strong{font-size:12px}.info-notice p{margin:5px 0 0}.btn-full{width:100%}.form-error{padding:12px 14px;border:1px solid #d2a6a0;background:#fff2ef;color:#a24239;border-radius:9px;margin-bottom:15px;font-size:12px}.benefit-panel{background:linear-gradient(180deg,#edf2e7 0,#dde8d3 100%);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.aside-panel-top{padding:33px 32px 25px}.aside-plate{font-size:110px;color:#698a61;line-height:1.2;text-align:center;margin:35px auto 20px;opacity:.65}.benefit-panel h3{font:normal 32px/1.1 var(--serif);letter-spacing:-.9px;margin-bottom:14px;color:#355332}.benefit-panel p{font-size:12px;line-height:1.9;color:#677962}.aside-list{padding:16px 32px;background:#d6e3cc}.aside-list>div{display:flex;gap:17px;align-items:center;border-bottom:1px solid #c5d4bb;padding:15px 0}.aside-list>div:last-child{border-bottom:0}.aside-list span{font-size:11px;font-weight:800;color:#61845c}.aside-list p{margin:0;font-size:11px}.aside-bottom{padding:24px 30px;font-size:11px;color:#637a5a}.results{margin-top:72px;scroll-margin-top:30px}.results-header{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:19px}.results-header h2{margin:13px 0 5px;font-size:44px}.results-header p{font-size:13px;color:var(--muted)}.results-actions{display:flex;gap:9px}.results-actions .btn{padding:11px 15px;font-size:11px;min-height:42px;gap:9px}.demo-alert{margin-bottom:20px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}.stat{background:white;padding:24px 22px;border:1px solid var(--line);border-radius:13px;box-shadow:0 8px 20px rgba(31,48,28,.04)}.stat label{font-size:10px;letter-spacing:1px;color:#7c8a76;text-transform:uppercase;display:block;margin-bottom:12px}.stat strong{font-size:26px;letter-spacing:-1.5px}.stat small{font-size:10px;color:#8b9686}.day-tabs{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-bottom:17px}.day-tabs button{border:1px solid var(--line);background:#fff;border-radius:11px;padding:14px 4px;font-size:11px;color:#70816d;font-weight:700}.day-tabs button[aria-selected=true]{background:#3d5739;border-color:#3d5739;color:white}.day-summary{display:flex;justify-content:space-between;align-items:center;margin:14px 0 18px;gap:20px}.day-summary h3{margin:0;font-size:20px}.day-summary p{margin:0;color:#768274;font-size:12px}.meal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.meal-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px;min-width:0;box-shadow:0 8px 22px rgba(31,48,28,.04)}.meal-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.meal-tag{font-size:10px;letter-spacing:1.5px;color:#779271;text-transform:uppercase;font-weight:760}.meal-number{font-size:14px;color:#b1c1ac}.meal-card h4{font-size:18px;letter-spacing:-.7px;margin:12px 0 8px}.meal-card p{font-size:11px;line-height:1.75;color:#738070}.macro-line{display:flex;gap:12px;flex-wrap:wrap;padding-top:13px;margin-top:14px;border-top:1px solid #e9eee7;color:#5c7254;font-size:10px}.meal-ingredients{font-size:11px;margin-top:12px;color:#7a8476;line-height:1.5}.shopping-panel{background:white;border:1px solid var(--line);padding:27px;margin-top:18px;border-radius:14px}.shopping-panel h3{margin-bottom:8px}.shopping-panel>p{font-size:12px;color:var(--muted)}.shopping-columns{columns:2;column-gap:30px;margin-top:25px}.shopping-entry{break-inside:avoid;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 2px;font-size:12px;gap:15px}.shopping-entry span:last-child{color:#688262;font-weight:700}.recipe-controls{display:flex;align-items:center;gap:18px;margin-bottom:27px}.recipe-controls input{max-width:430px}.recipe-controls span{font-size:12px;color:var(--muted)}.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.catalog-card{background:white;padding:22px;border:1px solid var(--line);border-radius:14px;min-height:173px;box-shadow:0 8px 22px rgba(31,48,28,.04)}.catalog-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;background:#edf2e8;color:#6b8862;font-size:23px}.catalog-card h3{font-size:15px;margin:20px 0 8px}.catalog-card p{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:0}.method-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.method-grid article,.legal-card{border:1px solid var(--line);border-radius:15px;padding:29px;background:white;box-shadow:0 8px 22px rgba(31,48,28,.04)}.method-grid article span{color:#7b9a72;font-size:12px;font-weight:800}.method-grid h3{font-size:18px;margin:19px 0 12px}.method-grid p,.legal-card p{font-size:13px;color:#69766b;line-height:1.85}.legal-page .page-top{margin-bottom:24px}.legal-card{max-width:800px}.legal-card h2{font-size:23px}.legal-card h3{font-size:15px}.legal-card p{margin-bottom:15px}.modal{max-width:430px;width:calc(100vw - 32px);padding:0;border:1px solid var(--line);border-radius:18px;box-shadow:0 30px 60px #23352233}.modal::backdrop{background:#101c13a8}.modal-inner{padding:42px 32px;position:relative}.modal-symbol{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:var(--light);color:#54734f;font-size:32px}.modal h2{font-size:31px;margin:21px 0 12px}.modal p{color:#687765;font-size:13px;line-height:1.8}.close-modal{position:absolute;top:17px;right:17px;background:transparent;border:0}.cookie-banner{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:min(850px,calc(100% - 30px));z-index:4;background:white;border:1px solid #dae6d4;box-shadow:0 14px 35px #233d261c;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:19px 22px;border-radius:15px}.cookie-banner[hidden]{display:none}.cookie-banner strong{font-size:12px}.cookie-banner p{font-size:11px;color:#6e786a;line-height:1.7;margin:5px 0 0}.cookie-banner button{white-space:nowrap;padding:10px 19px;min-height:40px;font-size:11px}.legal-card a{text-decoration:underline}
@media(max-width:980px){.main-nav{gap:18px}.hero-wrap{gap:28px}.hero-media{height:420px}.generator-layout{grid-template-columns:1fr}.benefit-panel{display:none}.catalog-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.site-header{height:74px;padding:0 19px;gap:16px}.main-nav{display:none;position:absolute;top:72px;left:0;right:0;background:var(--canvas);z-index:4;padding:20px;box-shadow:0 20px 30px #253b2530;flex-direction:column;align-items:start}.main-nav.open{display:flex}.header-account{margin-left:auto;font-size:0;padding:8px}.account-emoji{font-size:16px}.mobile-menu{display:block}.hero-wrap{padding:39px 20px 35px;display:flex;flex-direction:column;align-items:stretch}.hero-copy h1{font-size:53px}.lead{font-size:14px}.hero-actions{gap:18px;flex-wrap:wrap}.hero-foot{margin-top:29px;gap:12px}.hero-media{height:360px;width:100%;max-width:470px;align-self:center}.hero-card{max-width:250px;padding:14px 14px 12px}.hero-card-bottom{right:16px;top:16px}.hero-card-top{left:16px;bottom:16px}.trust-strip{gap:15px;overflow:hidden;white-space:nowrap;font-size:9px;letter-spacing:1.2px}.how-block{padding:60px 20px}.section-head{flex-direction:column;align-items:start;gap:14px}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:190px}.bottom-cta{padding:47px 23px;display:block;margin:0 20px 24px}.bottom-cta .btn{margin-top:23px}.footer-main{flex-direction:column}.footer-nav{gap:35px}.footer-bottom{gap:9px;flex-direction:column}.site-footer{padding:45px 20px 24px}.page-container{padding:38px 19px 70px}.page-top h1{font-size:45px}.form-panel{padding:23px 18px}.checkbox-grid{grid-template-columns:repeat(2,1fr)}.results-header{flex-direction:column;align-items:start}.stats-grid{grid-template-columns:repeat(2,1fr)}.day-tabs{grid-template-columns:repeat(7,1fr);gap:4px}.day-tabs button{font-size:10px;padding:14px 0}.meal-grid{grid-template-columns:1fr}.catalog-grid{grid-template-columns:1fr}.method-grid{grid-template-columns:1fr}.shopping-columns{columns:1}.cookie-banner{flex-direction:column;align-items:start}.cookie-banner button{width:100%}}
@media(max-width:400px){.hero-copy h1{font-size:44px}.hero-actions{gap:17px}.choice-grid{gap:6px}.choice{padding:11px 8px}.choice strong{font-size:10px}.choice small{font-size:9px}.field-pair{gap:10px}.day-tabs{grid-template-columns:repeat(4,1fr)}}@media print{.site-header,.site-footer,.cookie-banner,.hero-wrap,.results-actions,.day-tabs,.form-panel,.benefit-panel,.page-top,.demo-alert{display:none!important}.route{display:none!important}#view-generador,.results{display:block!important;padding:0!important}#planner-results[hidden]{display:none!important}.meal-grid{grid-template-columns:repeat(2,1fr)}.meal-card{break-inside:avoid}.results{margin:0}.stats-grid{grid-template-columns:repeat(4,1fr)}}

/* Versión 3: personalización y herramientas prácticas */
.privacy-choice{background:#f6f8f3;border:1px solid #dce5d8;border-radius:14px;padding:17px 18px;margin:5px 0 20px}
.remember-label{display:flex!important;gap:13px;align-items:flex-start!important;margin:0!important;cursor:pointer}
.remember-label input{accent-color:#3d5739;width:18px;height:18px;margin-top:1px;flex:0 0 auto}
.remember-label strong{display:block;font-size:12px;line-height:1.5;color:#26372a}
.remember-label small{display:block;font-size:11px;line-height:1.65;color:#61705f;margin-top:5px;font-weight:400}
.privacy-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:13px;padding-left:31px;flex-wrap:wrap}
.inline-action{padding:0;border:0;background:none;text-decoration:underline;color:#476444;font-size:11px;font-weight:650;text-underline-offset:3px}
#history-status{font-size:11px;color:#476444}
.rotation-note{font-size:12px;color:#596d54;background:#edf3e8;border-left:3px solid #789a70;border-radius:7px;padding:13px 16px;margin-bottom:18px;line-height:1.6}
.meal-controls{border-top:1px solid #edf1e9;margin-top:15px;padding-top:14px;display:flex;justify-content:end}
.swap-btn{background:#f1f5ef;border:1px solid #d9e4d5;border-radius:9px;padding:10px 12px;color:#385635;font-size:11px;font-weight:700}
.swap-btn:hover{background:#e5eee1}
.shopping-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.shopping-heading .btn{min-height:40px;padding:10px 14px;font-size:11px}
#print-sheet{display:none}
@media(max-width:720px){.privacy-controls{padding-left:0}.shopping-heading{align-items:start;flex-direction:column}}
@media print{
  .app-shell{background:white}
  .site-header,.site-footer,.cookie-banner,.hero-wrap,.results-actions,.day-tabs,.form-panel,.benefit-panel,.page-top,.demo-alert,.rotation-note,.stats-grid,.day-summary,.meal-grid,.shopping-panel,.results-header{display:none!important}
  .route{display:none!important}#view-generador,.results{display:block!important;padding:0!important;margin:0!important}
  #print-sheet{display:block!important;color:black!important;font-size:11px;line-height:1.4}
  #print-sheet h2{font-size:24px;margin:0 0 10px;color:black}
  #print-sheet h3{font-size:16px;margin:13px 0 7px}
  #print-sheet h4{font-size:12px;margin:7px 0 3px}
  #print-sheet p{font-size:10px;margin:1px 0 5px}
  .print-day{break-inside:avoid;border-top:1px solid #ddd;padding-top:5px}
}

/* Colocar la tarjeta en el espacio negativo de la fotografía, sin ocultar el rostro. */
.hero-card-top{left:22px;top:23px;bottom:auto;max-width:244px}
@media(max-width:720px){.hero-card-top{left:14px;top:14px;max-width:210px}.hero-card strong{font-size:14px}.hero-photo{object-position:65% center}}

/* Catálogo editorial más sobrio y fichas completas */
.recipe-controls{flex-wrap:wrap}
.recipe-controls select{height:49px;min-width:180px;border:1px solid #d8e0d3;border-radius:10px;background:#fafcf8;color:#273628;padding:0 13px;font-size:12px}
.catalog-icon{width:auto;height:auto;border-radius:20px;display:inline-flex;align-items:center;padding:7px 10px;letter-spacing:1.5px;font-size:9px;font-weight:800}
.catalog-card{min-height:195px;display:flex;flex-direction:column;align-items:start}
.catalog-card h3{margin:21px 0 6px}
.recipe-open{margin-top:auto;background:transparent;padding:15px 0 0;border:0;border-bottom:1px solid #97ab91;color:#355432;font-size:11px;font-weight:750;text-align:left}
.recipe-open:hover{color:#172f17;border-color:#355432}
.recipe-modal{max-width:590px;width:calc(100vw - 30px);max-height:85vh;overflow:auto}
.recipe-modal h2{font-size:30px;line-height:1.12;margin:14px 0 8px}
.recipe-modal h3{font-size:13px;margin:20px 0 8px}
.recipe-modal ul{margin:0;padding-left:20px;color:#51604d;font-size:13px;line-height:1.9}
.recipe-modal .macro-line{font-size:11px}
.recipe-demo-disclaimer{font-size:11px!important;color:#74694c!important;background:#f3f2e9;border-radius:8px;padding:10px 12px}

.weekly-totals{background:#eef3e9;border:1px solid #dee8d8;border-radius:11px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;flex-wrap:wrap;font-size:12px;color:#4a6744}.weekly-totals strong{font-size:12px}.weekly-totals span{font-size:12px;font-variant-numeric:tabular-nums}
@media print{.weekly-totals{display:none!important}}

/* Versión 4: fotografías de platos y refuerzo legal */
.meal-card{
  overflow:hidden;
  padding:0;
}
.meal-photo{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
  background:#edf2e8;
}
.meal-content{
  padding:20px 20px 18px;
}
.meal-card h4{
  margin:14px 0 10px;
  font-size:19px;
  line-height:1.25;
}
.meal-card p{
  font-size:12px;
  line-height:1.75;
  color:#5e6c60;
}
.catalog-photo{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:16px;
  background:#edf2e8;
}
.recipe-modal-image{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:14px;
  margin:6px 0 18px;
  background:#edf2e8;
}
.legal-card section + section{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.legal-card ul{margin:10px 0 0;padding-left:19px;color:#61705f;font-size:13px;line-height:1.8}
.legal-card li + li{margin-top:6px}
.cookie-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.btn-ghost{
  min-height:42px;
  border-radius:999px;
  border:1px solid transparent;
  padding:12px 18px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  background:#f0f4ed;
  color:#365034;
}
.btn-ghost:hover{background:#e6ede1}
.info-consent{
  background:#f7f8f4;
  border:1px solid #dce5d7;
  border-radius:14px;
  padding:16px 17px;
  margin:0 0 19px;
}
.info-consent strong{display:block;font-size:12px;color:#253629}
.info-consent p{margin:6px 0 0;font-size:11px;line-height:1.7;color:#5d6c5f}
.footer-disclaimer{font-size:11px;line-height:1.7;color:#778474;margin-top:14px;max-width:420px}
@media(max-width:720px){
  .cookie-actions{width:100%}
  .cookie-actions .btn-ghost,.cookie-actions .btn-outline{width:100%}
  .meal-content{padding:18px 17px 16px}
}

/* V5: identidad blanca, tinta negra y verde discreto */
:root{--canvas:#fff;--paper:#fff;--green:#285c43;--green2:#507e64;--ink:#171b19;--muted:#4d5851;--line:#d9dfdb;--light:#f1f6f2;--shadow:0 12px 34px rgba(14,29,20,.06)}
body{background:#fff;color:#171b19}
.site-header{background:#fff;border-bottom:1px solid #dfe4e0}
.hero-wrap,.how-block,.page-container{background:#fff}
.hero-copy h1,.page-top h1,.section-head h2{color:#161c18}
.feature-card,.form-panel,.meal-card,.catalog-card,.legal-card,.method-grid article{background:#fff;border:1px solid #dbe2dc;box-shadow:0 7px 28px rgba(22,40,28,.05)}
.btn-primary{background:#285c43;color:#fff}
.btn-primary:hover{background:#1d4632}
.bottom-cta{background:#1b3829}
.hero-media{border:1px solid #e0e7e1}
.trust-strip{background:#f6f9f6;color:#25382a}
.legal-card{max-width:940px;margin:auto;padding:32px 38px}
.legal-card h3{color:#17291e;margin:0 0 12px;font-size:19px}
.legal-card p,.legal-card li{font-size:14px;line-height:1.9;color:#39473d}
.help-tools{max-width:720px;margin:0 auto 30px}.help-tools label{display:block;font-weight:700;margin-bottom:10px}.help-tools input{width:100%;padding:15px;border:1px solid #aebbb1;border-radius:12px;background:#fff;color:#111}
.faq-list{max-width:860px;margin:0 auto}.faq-item{border:1px solid #dbe2dc;border-radius:13px;margin-bottom:12px;background:#fff;overflow:hidden}.faq-item summary{cursor:pointer;padding:20px 24px;font-weight:700;color:#1c2920;line-height:1.5}.faq-item summary:hover{background:#f5f8f5}.faq-item p{margin:0;padding:0 24px 22px;color:#46534a;line-height:1.8;font-size:14px}.help-note{max-width:860px;margin:28px auto;color:#536157;line-height:1.8}
.cookie-banner{border-top:2px solid #285c43;background:#fff;box-shadow:0 -12px 45px rgba(0,0,0,.12)}.cookie-banner p{max-width:780px;line-height:1.7}.cookie-banner a{color:#285c43;text-decoration:underline}.cookie-actions .btn-outline{min-height:45px;background:#fff;color:#182b20;border:1.5px solid #285c43;font-size:11px}.cookie-actions .btn-outline:hover{background:#eef4ef}.cookie-toggle{display:block;padding:18px;border:1px solid #dbe2dc;border-radius:12px;margin:20px 0;line-height:1.7}.cookie-toggle input{width:19px;height:19px;vertical-align:middle;margin-right:9px;accent-color:#285c43}
.recipe-modal .modal-inner{max-width:700px}.recipe-modal #recipe-detail-steps,.recipe-modal #recipe-detail-tips{line-height:1.95;white-space:pre-line;color:#334139;font-size:14px}.meal-photo,.catalog-photo{filter:saturate(.92)}
:focus-visible{outline:3px solid #226a49;outline-offset:3px}
@media(max-width:720px){.legal-card{padding:23px 18px}.faq-item summary{padding:17px}.faq-item p{padding:0 17px 19px}}
/* Menubrias V6: contenidos culinarios extensos y estimaciones transparentes */
#recipe-detail-steps,#recipe-detail-tips{white-space:pre-line;line-height:1.8}
#recipe-detail-description{font-size:13px;line-height:1.8;color:#526152}
#recipe-detail-steps{background:#f6f9f5;padding:18px;border-radius:12px;color:#344336}
#recipe-detail-tips{border-left:3px solid #73906c;padding-left:14px}
.advanced-fields{margin-top:4px}
.advanced-fields .field-helper{font-size:11px;line-height:1.6;color:#667365;margin:7px 0 0}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.stats-grid .stat{min-width:0}
.stats-grid .stat strong{font-variant-numeric:tabular-nums}
.meal-grid .meal-card{min-width:0}
#recipe-detail-steps{white-space:pre-line}
@media(max-width:850px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.stats-grid{grid-template-columns:1fr 1fr}}

.meal-controls{justify-content:space-between;flex-wrap:wrap;gap:8px}
.meal-controls button{flex:1 1 125px}
.faq-list{max-width:830px;display:grid;gap:10px}
.faq-item{background:#fff;border:1px solid #e0e7de;border-radius:12px;padding:0 20px}
.faq-item summary{list-style:none;cursor:pointer;font-size:14px;font-weight:700;color:#263629;padding:20px 18px 20px 0}
.faq-item summary::after{content:'+';float:right;font-size:22px;line-height:14px;color:#668360}
.faq-item[open] summary::after{content:'−'}
.faq-item p{font-size:13px;line-height:1.85;color:#607060;padding:0 0 19px;margin:0}
.help-note{max-width:830px;margin-top:25px}
.brand small{letter-spacing:1.7px;font-size:9px}

.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:950px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Contraste de texto reforzado en la estética blanco / negro / verde */
:root{--canvas:#ffffff;--ink:#18211a;--muted:#4f5d50;--green:#2d492e;--green2:#526e4e;--line:#d5ddd4}
body{background:#ffffff;color:var(--ink)}
.main-nav a,.hero-foot,.catalog-card p,.recipe-controls span,.footer-nav a,.footer-bottom,.meal-card p,.meal-ingredients,.lead,.page-top p{color:#49594b}
.meal-tag,.catalog-icon,.eyebrow,.metric-label{color:#416241}
.info-notice,.demo-alert,.recipe-demo-disclaimer{color:#46543f}
.cookie-banner p,.field-helper,.footer-main p{color:#49594b}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #376739;outline-offset:3px}

/* Menubrias V7 · Diseño editorial blanco, negro suave y un acento verde */
:root{
  --canvas:#fff;--paper:#fff;--green:#304c39;--green2:#58765f;--ink:#161a17;
  --muted:#58615a;--line:#e0e5e0;--light:#f6f8f5;
  --shadow:0 12px 36px rgba(24,35,25,.045);--radius:16px;
}
html{background:#fff}
body{background:#fff!important;color:var(--ink)}
h1 em,h2 em{color:#42644d;font-family:var(--sans);font-style:normal;font-weight:580}
h1,h2,h3,h4{color:#181d1a}
.site-header{background:#fff;border-bottom:1px solid #e6e9e5}
.brand-mark{color:#3d6046}
.brand-accent{color:#4e7457}
.main-nav a{color:#444e46}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:#1c3424}
.eyebrow,.mini-kicker{color:#34563e}
.lead,.page-top p,.section-head>p{color:#535e56}
.btn-primary{background:#1c2920;color:#fff;border-color:#1c2920}
.btn-primary:hover{background:#344b3b}
.btn-outline{color:#25382a;background:#fff;border-color:#ccd6cd}
.btn-outline:hover{background:#f4f7f4}
.btn-light{background:#fff;color:#17271d}
.hero-wrap{background:#fff}
.hero-card{background:rgba(255,255,255,.97);border:1px solid #e3e8e1;box-shadow:0 12px 32px #17261b19}
.trust-strip{background:#fafbfa;border-top:1px solid #eef0ee;border-bottom:1px solid #eef0ee;color:#49564b}
.how-block,.page-container{background:#fff}
.feature-card,.catalog-card,.form-panel,.meal-card,.method-grid article,.legal-card,.stat,.day-summary,.shopping-panel{
 background:#fff; border:1px solid #e4e9e4;box-shadow:0 8px 26px rgba(20,35,22,.035)
}
.feature-card:hover,.catalog-card:hover{border-color:#c7d4c8}
.benefit-panel{background:#f4f7f3;color:#26342a;border:1px solid #dce6dc}
.aside-panel-top,.aside-bottom{background:#f4f7f3;color:#28392d}
.aside-panel-top h3,.aside-panel-top p,.aside-list p{color:#304336}
.bottom-cta{background:#1d3023;color:white}
.bottom-cta h2,.bottom-cta h2 em{color:white}
.step-tag,.choice-icon{color:#405d46}
.choice:has(input:checked){background:#f0f5f0;border-color:#78957f}
.field input,.field select,.recipe-controls input,.recipe-controls select{background:white;color:#17231b;border-color:#cdd7cf}
.field-helper,.form-header p{color:#56645a}
.privacy-choice,.info-consent,.demo-alert{background:#f7f9f7;border-color:#dfe6df;color:#425349}
.rotation-note{background:#f8faf8;border-left-color:#577d5d;color:#34573b}
.weekly-totals{background:#f8faf8;border-color:#dce6de;color:#284732}
.day-tabs button[aria-selected="true"]{background:#203126;color:#fff}
.meal-tag,.catalog-icon{background:#eef3ee;color:#2d5036}
.addon-note{color:#345e3c!important;background:#f2f7f2;border-radius:9px;padding:10px 11px;font-weight:650}
.method-note{border-left:2px solid #699674;padding:7px 0 7px 12px;margin-top:12px;color:#465f4d!important}
.food-visual{
 display:flex;flex-direction:column;align-items:start;justify-content:end;gap:8px;
 background:linear-gradient(145deg,#f9fbf9 0%,#edf3ed 100%);padding:25px 22px;
 min-height:200px;text-align:left;border-bottom:1px solid #e0e8df;
}
.food-visual-kicker{letter-spacing:1.7px;text-transform:uppercase;font-size:10px;color:#365b42;font-weight:750}
.food-visual-title{font-size:clamp(19px,2vw,25px);line-height:1.16;color:#1e3526;font-weight:700;max-width:24ch}
.food-visual-note{color:#506356;font-size:11px;line-height:1.5;max-width:95%}
.catalog-photo.food-visual{height:auto;aspect-ratio:4/3;border-radius:12px;margin-bottom:16px}
.meal-photo.food-visual{aspect-ratio:4/3}
.recipe-modal-image[hidden]{display:none}
.site-footer{background:#f9faf9;border-top:1px solid #e8ede8}
.site-footer p,.footer-bottom,.footer-nav a{color:#435046}
.recipe-demo-disclaimer{color:#495a4d!important;background:#f2f6f2}
.faq-item{background:white;border-color:#dfe8df}
.faq-item p{color:#4a584e;line-height:1.9}
.faq-item p + p{margin-top:12px}
.btn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{
 outline:3px solid #2e5d3b!important;outline-offset:3px
}
#intensity-field[hidden]{display:none}
@media(max-width:720px){
 .main-nav{background:white}
 .cookie-actions{display:flex;width:100%;flex-direction:column}
 .cookie-actions button{width:100%}
 .food-visual{padding:22px 20px}
 .method-grid article{padding:24px 21px}
}
@media print{.food-visual{display:none!important}}

/* V8 · editorial suave, alto contraste sin dureza visual */
:root{--ink:#202421;--muted:#646b64;--line:#e9ebe8;--canvas:#fff;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html{background:#fff}body{background:#fff;color:#202421}
.site-header,.site-footer{background:#fff!important;border-color:#e9ebe8}
.hero-wrap{background:#fff}
.hero-copy h1,.page-top h1{letter-spacing:-.045em;line-height:1.08}
.hero-copy h1 em,h1 em,h2 em{color:#465d4e;font-style:normal}
.btn-primary,.day-tabs button[aria-selected=true]{background:#242a25!important;color:#fff!important;border-color:#242a25!important}
.btn-primary:hover{background:#344136!important}
.btn-outline,.swap-btn{background:#fff;border:1px solid #d9ddd8;color:#28332b}
.btn-outline:hover,.swap-btn:hover{background:#f8faf7}
.feature-card,.catalog-card,.form-panel,.meal-card,.legal-card,.method-grid article,.faq-item,.stat,.day-summary{border:1px solid #e7ebe5!important;box-shadow:0 8px 32px rgba(18,33,21,.035)!important;border-radius:17px}
.catalog-card,.meal-card{overflow:hidden}
.meal-media{position:relative;width:100%;overflow:hidden;background:#f6f7f5}
.meal-media .meal-photo{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.catalog-photo.meal-media{aspect-ratio:4/3;margin-bottom:17px;border-radius:12px}
.catalog-photo.meal-media .meal-photo{height:100%}
.photo-caption{position:absolute;right:9px;bottom:9px;background:rgba(255,255,255,.95);color:#4b584e;border-radius:999px;font-size:9px;letter-spacing:.01em;padding:6px 10px;box-shadow:0 2px 12px #1112}
.catalog-card h3{font-size:15px;line-height:1.4;letter-spacing:-.015em}
.meal-card h4{font-size:17px}
.meal-controls{gap:8px;flex-wrap:wrap;justify-content:flex-start}
.meal-controls .swap-btn{flex:1 1 125px;text-align:center}
.food-visual{background:linear-gradient(135deg,#f4f6f3,#e7ede6);border:0}
.food-visual-title{color:#28382e}
.food-visual-kicker{color:#4b654f}
.source-links{display:flex;flex-wrap:wrap;gap:8px 10px;padding:10px 0 14px}
.source-links a{display:inline-flex;border:1px solid #d5dfd6;border-radius:8px;padding:8px 11px;font-size:12px;color:#355a40;text-decoration:none;background:#f7faf7;line-height:1.35}
.source-links a:hover{text-decoration:underline;background:#eef5ee}
.source-intro,.source-pending{width:100%;font-size:12px!important;line-height:1.7;color:#556359!important;margin:0 0 6px!important}
.recipe-modal-image{max-height:320px;object-fit:cover}
.recipe-modal h3{border-top:1px solid #edf0eb;padding-top:18px;margin-top:23px}
[hidden]{display:none!important}
@media(max-width:720px){.meal-media .meal-photo{aspect-ratio:16/11}.catalog-photo.meal-media .meal-photo{aspect-ratio:4/3}.meal-controls{gap:7px}}
/* Fotos visibles en todas las tarjetas. Cuando no son específicas se marcan como referencia. */
.meal-media{position:relative;display:block;width:100%;aspect-ratio:4/3;min-height:0!important;background:#f2f4f1;}
.meal-media img.meal-photo{height:100%;width:100%;display:block;object-fit:cover;aspect-ratio:auto!important}
.catalog-photo.meal-media{aspect-ratio:4/3}
.meal-media:has(.food-visual){display:grid;place-items:center}
.meal-media .food-visual{width:100%;height:100%;aspect-ratio:auto;min-height:0;font-size:inherit}
.meal-media .photo-caption{font-size:10px;white-space:nowrap}
@media(max-width:720px){.meal-media{aspect-ratio:16/11}}
.nutrition-table-wrap{width:100%;overflow-x:auto;border:1px solid #e7ece5;border-radius:12px;margin:15px 0 8px}
.nutrition-table{width:100%;border-collapse:collapse;min-width:575px;font-size:11px;color:#25322a;font-variant-numeric:tabular-nums}
.nutrition-table th{background:#f6f8f5;text-align:left;color:#526255;font-size:10px;letter-spacing:.025em;font-weight:700;padding:11px 9px;white-space:nowrap}
.nutrition-table td{padding:11px 9px;border-top:1px solid #edf0eb;vertical-align:top;white-space:nowrap}
.nutrition-table td:first-child{white-space:normal;min-width:150px;font-weight:600}
.nutrition-table .nutrition-unverified td:last-child{color:#8c6758}
.nutrition-table-note{font-size:11px!important;line-height:1.65;color:#6d766e!important}

/* V9: representación visual honesta y explicación energética accesible. */
.meal-media{background:#f1f0eb;position:relative;overflow:hidden}
.meal-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;image-rendering:auto}
.photo-caption{position:absolute;bottom:10px;left:11px;background:rgba(255,255,255,.91);color:#26352a;font-size:10px;font-weight:700;border-radius:6px;padding:6px 9px;box-shadow:0 3px 10px #0001;letter-spacing:.01em}
.catalog-photo .photo-caption{bottom:24px}
.recipe-modal-image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.energy-method-note{background:#f8f8f6;border:1px solid #e7e8e2;color:#3d493d;font-size:12px;line-height:1.85;padding:18px 20px;border-radius:13px;margin:0 0 18px;max-width:100%}
@media(max-width:720px){.energy-method-note{font-size:11px;padding:14px}.photo-caption{font-size:9px}}

/* V10 — acceso a cuenta y privacidad cloud */
.account-dialog{width:min(680px,calc(100vw - 26px));max-width:680px;max-height:min(90vh,930px);overflow:auto}
.account-inner{padding:34px 35px 30px}
.account-inner h2{font-size:34px;margin-top:12px;margin-bottom:8px}
.account-intro{margin:0 0 22px!important}
.account-tabs{display:flex;gap:6px;padding:5px;border-radius:13px;background:#f4f6f2;margin-bottom:18px}
.account-tabs button{flex:1;background:transparent;border:0;border-radius:9px;padding:12px 6px;font-size:12px;color:#5a645d;cursor:pointer}
.account-tabs button.selected{background:#fff;color:#1d3025;font-weight:750;box-shadow:0 3px 9px #202a2416}
.account-form{display:grid;gap:13px}
.account-form .field{margin:0}
.account-form input{width:100%;border:1px solid #d9e0d9;border-radius:10px;padding:13px;background:#fff;box-sizing:border-box;color:#18251c}
.account-form .btn{margin-top:7px}
.account-privacy-note{font-size:11px!important;line-height:1.7}
.account-privacy-note a,.account-consent a{text-decoration:underline;text-underline-offset:3px}
.account-identity{display:flex;align-items:center;gap:13px;padding:15px 0 20px;border-bottom:1px solid #e6e9e4}
.account-identity strong,.account-identity span{display:block}
.account-identity strong{font-size:17px}
.account-identity span:not(.account-avatar){font-size:12px;color:#6a726b;margin-top:3px}
.account-avatar{width:44px;height:44px;background:#e8eee8;border-radius:50%;display:grid!important;place-items:center;color:#36563e}
.account-inner h3{font-size:17px;margin:24px 0 8px}
.account-inner #account-signed p{font-size:12px;line-height:1.75;color:#5e6960}
.account-verification{padding:17px;border:1px solid #e9dfbb;background:#fcf9ed;border-radius:14px;margin:19px 0}
.account-verification strong{font-size:13px}
.account-consent{display:flex;gap:12px;padding:15px 16px;border:1px solid #d8e2d7;border-radius:13px;background:#f8faf7;color:#526454;font-size:12px;line-height:1.75;cursor:pointer}
.account-consent input{width:17px;height:17px;flex:none;margin-top:4px;accent-color:#3a6342}
.account-consent strong{color:#223e28}
.account-inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0}
.account-inline-actions .btn{min-height:40px;font-size:11px;padding:11px 13px}
.account-menus-list{display:grid;gap:9px;max-height:280px;overflow:auto}
.account-menu-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #e2e7e0;border-radius:11px;background:#fff}
.account-menu-entry strong{font-size:13px;display:block}.account-menu-entry small{color:#7b847e;font-size:11px;display:block;margin-top:4px}
.account-menu-actions{display:flex;flex-wrap:wrap;gap:5px}
.account-menu-actions button{font-size:11px;border:1px solid #d3ded0;border-radius:8px;padding:8px;color:#36533d;background:#f8faf8}
.account-danger{margin-top:25px;padding-top:14px;border-top:1px solid #e1e6e0}
.account-danger-button{font-size:11px;color:#8b423e;background:#fff9f7;border:1px solid #efcfcb;border-radius:9px;padding:10px 13px;cursor:pointer}
.account-footer-actions{justify-content:space-between;border-top:1px solid #e4e9e2;padding-top:15px;margin-bottom:0}
.account-status{min-height:19px;font-size:12px!important;color:#365c3d!important;line-height:1.6!important;margin:16px 0 0!important}
.account-status.error{color:#aa3939!important}
.account-policy-link{color:#335740}
#save-cloud-plan{min-width:150px}
@media(max-width:720px){.account-inner{padding:31px 18px 19px}.account-dialog h2{font-size:28px}.account-tabs button{font-size:10px}.account-menu-entry{align-items:start;flex-direction:column}.account-inline-actions .btn{flex:1}}

/* V10.1 — Google Authentication con vínculo seguro a la cuenta existente. */
.google-auth-area{margin:16px 0 7px}
.google-auth-divider{position:relative;text-align:center;margin:16px 0;color:#667168;font-size:11px}
.google-auth-divider:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:1px solid #e4e8e3}
.google-auth-divider span{position:relative;background:white;padding:0 13px}
.google-auth-button{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:47px;background:#fff;border:1px solid #cfd6d0;border-radius:11px;color:#27332a;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.google-auth-button:hover{background:#f6f8f5;border-color:#98a79a}
.google-auth-button:focus-visible{outline:3px solid #54785f;outline-offset:3px}
.google-g{font-family:Arial,sans-serif;font-size:20px;font-weight:800;line-height:1;color:#4285f4}
.account-google-link-area{padding:15px 0;border-top:1px solid #e4e9e2}
.account-google-link-area p{margin:0 0 11px!important;font-size:12px;line-height:1.6}
.account-google-link-area .google-auth-button{max-width:290px}
@media(max-width:720px){.account-google-link-area .google-auth-button{max-width:none}}

/* Menubrias V11 — espacio personal. Diseño sobrio blanco, tinta oscura y verde salvia. */
#view-espacio{padding:0;max-width:none;margin:0;background:#fcfdfa;min-height:650px}
.space-shell{display:grid;grid-template-columns:218px minmax(0,1fr);max-width:1520px;margin:auto;min-height:790px;border-top:1px solid #ecf0eb}
.space-sidebar{padding:33px 15px;border-right:1px solid #e8ece5;background:#f6f8f4;display:flex;flex-direction:column;gap:5px}
.space-side-title{font-size:10px;letter-spacing:2.1px;color:#758477;padding:9px 14px 19px;font-weight:750}
.space-nav-btn{background:transparent;border:1px solid transparent;border-radius:10px;padding:13px 14px;font-size:13px;font-weight:600;color:#4e5d52;text-align:left;display:flex;align-items:center;gap:15px;cursor:pointer;min-height:47px}
.space-nav-btn>span{font-size:20px;line-height:1;color:#718a71;width:21px;text-align:center}
.space-nav-btn:hover,.space-nav-btn.active{background:#e8eee5;border-color:#dfe6db;color:#213a28}
.space-nav-btn.active{font-weight:800}
.space-side-footer{margin-top:auto;background:#dfe9da;border-radius:16px;padding:25px 16px;font-size:22px;font-family:Georgia,serif;color:#335440;line-height:1.25}
.space-body{padding:33px clamp(18px,3.6vw,58px) 70px;min-width:0}
.space-guest,.space-loading{border:1px solid #e4eae1;background:#fff;border-radius:18px;padding:38px;max-width:760px}
.space-guest h1{font-size:36px;margin:0 0 12px}.space-guest p{color:#687468;line-height:1.8;margin-bottom:25px}
.space-hero{background:linear-gradient(120deg,#263c2c,#40604a);border-radius:21px;min-height:188px;padding:32px 38px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:white;overflow:hidden;position:relative}
.space-hero:after{position:absolute;content:"";width:260px;height:260px;border:1px solid #ffffff29;right:60px;top:-100px;border-radius:50%;pointer-events:none}
.space-kicker{letter-spacing:1.8px;font-size:10px;font-weight:780;color:#66836b;display:block;margin-bottom:12px}
.space-hero .space-kicker{color:#cae0c4}.space-hero h1{font-size:clamp(30px,3vw,47px);font-family:Georgia,serif;letter-spacing:-.035em;line-height:1.14;margin:0;color:white;font-weight:500}
.space-hero p{color:#e1eadf;font-size:13px;line-height:1.8;margin:13px 0 0;max-width:480px}
.space-hero-avatar{display:grid;justify-items:center;gap:9px;position:relative;z-index:1;min-width:130px}
.space-hero-avatar img{height:116px;width:116px;object-fit:cover;border:4px solid #ffffff82;border-radius:50%;background:#f6f4ee}
.space-hero-avatar span{font-size:10px;letter-spacing:.4px;color:#e1eadf}
.space-week-prompt{background:#f0f5ed;border:1px solid #d5e5cd;border-radius:13px;margin:18px 0;padding:18px 19px;display:flex;align-items:center;gap:18px;justify-content:space-between}
.space-week-prompt strong{color:#274d2e;font-size:14px}.space-week-prompt p{color:#58745a;font-size:12px;line-height:1.65;max-width:720px;margin:6px 0 0}
.space-message{margin:0 0 15px;padding:15px 18px;border-radius:11px;background:#ecf5eb;border:1px solid #d3e6d1;color:#365b39;font-size:12px;line-height:1.7}
.space-message.bad{background:#fff6f5;border-color:#ecc7c3;color:#9d3636}
.space-panel{margin-top:25px}.space-panel[hidden],.space-onboarding[hidden],.space-guest[hidden],.space-private[hidden],.space-loading[hidden],.space-week-prompt[hidden]{display:none!important}
.space-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.space-stat,.space-card{border:1px solid #e6ece4;border-radius:16px;background:#fff;box-shadow:0 8px 28px #1b2e1908}
.space-stat{padding:20px 21px;min-height:118px;display:flex;flex-direction:column;gap:8px}
.space-stat small{color:#6f7c6f;font-size:11px}.space-stat strong{color:#203224;font-size:24px;line-height:1.2;overflow-wrap:anywhere}.space-stat>span{font-size:10px;color:#748474}
.space-two-cols{display:grid;grid-template-columns:1.3fr 1fr;gap:15px;margin-top:17px}.space-card{padding:25px}
.space-head-inline{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:19px}.space-head-inline h2{font-family:Georgia,serif;color:#253829;line-height:1.2;font-size:25px;font-weight:500;margin:0}
.space-head-inline h3{font-size:20px;margin:0;font-family:Georgia,serif;font-weight:500}
.space-small-button{background:#f6f9f4;border:1px solid #dce7d8;border-radius:10px;padding:10px 12px;font-size:11px;cursor:pointer;color:#3a5c3d;font-weight:760;white-space:nowrap}
.space-small-button:hover{background:#e5eee1}.space-small-button.danger{color:#9b4c43;background:#fff8f5;border-color:#efd4cf}
#space-calendar-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.space-mini-week{background:#fff;border:1px solid #e0e9dc;border-radius:11px;padding:14px;display:flex;flex-direction:column;align-items:start;gap:7px;text-align:left;color:#364e38;cursor:pointer}.space-mini-week.saved{border-color:#bbd1b6;background:#f7faf5}.space-mini-week.current{box-shadow:inset 0 0 0 1px #426c4a}.space-mini-week small{font-size:10px;color:#718273}.space-mini-week strong{font-size:12px}.space-mini-week span{font-size:10px;color:#637f62}
.space-info-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf0ec;font-size:12px;color:#66736a}.space-info-row strong{color:#2e4834;font-size:12px}.space-info-row:last-child{border:0}
.space-recent{margin-top:17px}.space-recent-row{padding:13px 3px;border-bottom:1px solid #edf0ec;display:flex;align-items:center;justify-content:space-between;gap:12px}.space-recent-row:last-child{border:0}.space-recent-row strong{display:block;font-size:13px;color:#273b2b}.space-recent-row small{display:block;font-size:11px;color:#768376;margin-top:5px}
.space-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:20px}.space-section-heading h2{font-family:Georgia,serif;font-size:35px;color:#253829;line-height:1.2;font-weight:500;margin:0}.space-section-heading p{max-width:690px;color:#6a786b;font-size:13px;line-height:1.8;margin:10px 0 0}
.space-calendar-controls{display:flex;align-items:center;gap:10px}.space-calendar-controls button{background:#f6f8f5;border:1px solid #e1e9dd;border-radius:10px;padding:11px 15px;color:#2d4933;font-size:17px}.space-calendar-controls strong{font-size:13px;min-width:145px;text-align:center;text-transform:capitalize}
.space-calendar{border:1px solid #e1e9e0;background:white;border-radius:16px;padding:14px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.space-week-label{text-align:center;font-size:11px;font-weight:800;color:#718572;padding:10px}
.space-day{min-height:67px;border:1px solid #edf1eb;background:#fafcf9;border-radius:9px;color:#3f5543;text-align:left;padding:11px;cursor:pointer;display:flex;flex-direction:column;gap:8px}.space-day.outside{color:#adb5aa;background:#fcfdfa}.space-day.saved{border-color:#c1d9c0;background:#f0f6ee}.space-day.selected{border-color:#3b6543;box-shadow:inset 0 0 0 1px #3b6543}.space-day.today span:first-child{font-weight:900}.space-day-dot{color:#56875c;font-size:13px}
#space-calendar-detail{background:#fff;border:1px solid #e6ece4;border-radius:16px;margin-top:15px;padding:24px}
.space-day-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:12px 0 18px}.space-day-tabs button{padding:11px 2px;background:#f9fbf8;border:1px solid #e0e8dc;border-radius:9px;color:#536851;cursor:pointer;font-size:11px}.space-day-tabs button.selected{background:#365b3e;color:white}
.space-calendar-meals{display:grid;gap:10px}.space-meal{display:grid;grid-template-columns:108px minmax(0,1fr) auto;gap:15px;align-items:center;padding:9px 13px 9px 9px;border:1px solid #e7ece5;border-radius:12px}
.space-meal>img{width:108px;height:90px;object-fit:cover;border-radius:9px;background:#eff3ec}.space-meal>div{display:grid;gap:6px}.space-meal small{text-transform:uppercase;letter-spacing:.7px;color:#6d8c6d;font-weight:760;font-size:10px}.space-meal strong{color:#26372a;font-size:14px}.space-meal div>span{font-size:11px;color:#758278}
#space-menus{display:grid;gap:12px}.space-saved-menu{border-radius:15px;background:#fff;border:1px solid #e2eae0;padding:12px;display:flex;align-items:center;gap:20px}.space-menu-cover{width:158px;flex:none}.space-menu-cover img{width:158px;height:112px;object-fit:cover;border-radius:10px}.space-menu-body{flex:1;min-width:0}.space-menu-body>strong{font-size:18px;color:#2a4030}.space-menu-body p{font-size:12px;color:#778579;margin:8px 0 17px}.space-menu-actions{display:flex;gap:7px;flex-wrap:wrap}
.space-empty{font-size:13px;color:#788678;line-height:1.7;padding:8px 2px}
.space-onboarding{border:1px solid #e3eadf;border-radius:18px;padding:28px;background:#fff;margin-top:25px}.space-form{display:grid;gap:20px}
.space-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 19px}.space-form label:not(.space-data-consent){color:#354a39;font-weight:700;font-size:12px;display:grid;gap:8px}.space-form label small{font-size:10px;color:#70816f;font-weight:500}.space-form input:not([type=checkbox]),.space-form select,.space-form textarea{border:1px solid #dce6d9;border-radius:10px;padding:12px 13px;background:#fdfefd;color:#1e2e22;min-width:0;width:100%;font-size:13px;box-sizing:border-box}.space-form input:focus-visible,.space-form select:focus-visible,.space-form textarea:focus-visible{outline:2px solid #4f7452;outline-offset:2px}
.space-full{grid-column:1/-1}.space-allergens{border:1px solid #e3ebe1;border-radius:13px;padding:18px}.space-allergens legend{font-size:13px;font-weight:800;padding:0 7px}.space-allergens p,.space-avatar-picker p,.space-muted{font-size:11px;line-height:1.75;color:#738072;margin:7px 0 15px}
.space-allergen-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.space-allergen-grid label{display:block!important;font-size:11px!important;font-weight:500!important}.space-allergen-grid input{accent-color:#3e6547}
.space-avatar-picker strong{font-size:13px}.space-avatars{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}.space-avatar-item{background:#fbfcf9;border:1px solid #e4ece2;border-radius:12px;padding:7px 3px;display:grid;justify-items:center;gap:5px;font-size:10px;color:#5e735f;cursor:pointer}.space-avatar-item.selected{border-color:#456c4b;box-shadow:inset 0 0 0 1px #456c4b;background:#edf4eb}.space-avatar-item img{width:50px;height:50px;border-radius:50%}
.space-data-consent{display:flex;gap:13px;padding:18px;background:#f7faf5;border:1px solid #dae8d6;border-radius:12px;font-size:12px;color:#5d705f;line-height:1.8;cursor:pointer}.space-data-consent strong{color:#2b5034}.space-data-consent input{margin-top:3px;flex:none;width:17px;height:17px;accent-color:#3e6547}.space-data-consent a{text-decoration:underline}.space-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;flex-wrap:wrap}.space-form-actions .btn{padding:12px 18px}
#space-panel-progreso .space-two-cols{align-items:start;margin-top:0;grid-template-columns:1fr 1fr}#space-panel-progreso .space-card h3{font-size:20px;margin:0 0 15px}#space-progress-message{background:#eff5ed;border-radius:12px;padding:17px;font-size:12px;line-height:1.8;color:#466847;margin:10px 0 20px}
.space-account-link{padding:16px;border:1px solid #d9e4d7;background:#f3f8f0;border-radius:13px;margin:17px 0 21px}.space-account-link strong{font-size:13px;color:#33533b}.space-account-link p{margin:7px 0 13px!important}.space-account-link .btn{font-size:12px}
.account-avatar img{width:44px;height:44px;border-radius:50%;display:block}
@media(max-width:1120px){.space-shell{grid-template-columns:180px minmax(0,1fr)}.space-body{padding:25px 20px 60px}.space-stats{grid-template-columns:repeat(2,1fr)}.space-avatars{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.space-shell{display:block}.space-sidebar{position:relative;display:flex;flex-direction:row;overflow-x:auto;padding:12px 13px;border-right:0;border-bottom:1px solid #e4e9e1;gap:5px}.space-side-title,.space-side-footer{display:none}.space-nav-btn{flex:none;padding:10px 13px;font-size:11px;min-height:43px}.space-nav-btn span{font-size:16px;width:17px}.space-body{padding:17px 15px 55px}.space-hero{padding:22px;min-height:130px;border-radius:16px}.space-hero h1{font-size:32px}.space-hero-avatar{min-width:85px}.space-hero-avatar img{width:74px;height:74px}.space-hero-avatar span{max-width:90px;text-align:center}.space-stats{gap:9px}.space-stat{padding:15px;min-height:95px}.space-stat strong{font-size:21px}.space-two-cols,#space-panel-progreso .space-two-cols{grid-template-columns:1fr}.space-week-prompt{flex-direction:column;align-items:flex-start}.space-card{padding:19px}.space-section-heading h2{font-size:28px}.space-calendar{gap:3px;padding:7px}.space-day{min-height:53px;padding:7px}.space-week-label{padding:8px 0}.space-calendar-controls{width:100%;justify-content:space-between}.space-meal{grid-template-columns:78px minmax(0,1fr);padding:8px;gap:10px}.space-meal>img{width:78px;height:83px}.space-meal>button{grid-column:2;justify-self:start}.space-saved-menu{gap:13px;align-items:flex-start}.space-menu-cover,.space-menu-cover img{width:90px}.space-menu-cover img{height:106px}.space-menu-body>strong{font-size:15px}.space-menu-actions .space-small-button{padding:8px;font-size:10px}.space-form-grid{grid-template-columns:1fr}.space-allergen-grid{grid-template-columns:repeat(2,1fr)}.space-onboarding{padding:17px}.space-form-actions .btn{width:100%}}
@media(max-width:360px){.space-hero-avatar{display:none}.space-avatars{grid-template-columns:repeat(4,1fr)}.space-day{font-size:11px;padding:5px;min-height:48px}}

/* V12 · Seguridad de perfil, estados de generación y campos estables */
.header-avatar{height:30px;width:30px;display:inline-block;object-fit:cover;border-radius:50%;background:#eef3ea;border:1px solid #d2ded0;vertical-align:middle;flex:0 0 auto}
.header-avatar[hidden],.hero-signed-greeting[hidden],.medical-warning[hidden]{display:none!important}
.hero-signed-greeting{display:flex;align-items:center;gap:12px;padding:13px 16px;margin:4px 0 21px;background:#f5f7f3;border:1px solid #e1e8dc;border-radius:14px;max-width:540px}
.hero-signed-greeting img{width:49px;height:49px;border-radius:50%;object-fit:cover}
.hero-signed-greeting>div{display:grid;gap:2px;min-width:0;flex:1}
.hero-signed-greeting strong{font-size:14px;color:#26332b}
.hero-signed-greeting span{font-size:11px;color:#677268;line-height:1.45}
.hero-signed-greeting>a{font-size:11px;font-weight:750;color:#3b5c42;white-space:nowrap}
.week-policy-note{border:1px solid #d7e1d7;color:#465649;background:#f5f7f4;border-radius:13px;padding:16px 21px;font-size:12px;line-height:1.75;margin:0 0 24px}
.medical-field{border:1px solid #d9e0d8;border-radius:14px;background:#f9faf8;padding:17px;margin:16px 0 20px;color:#263428}
.medical-switch{display:flex!important;gap:13px;align-items:flex-start!important;line-height:1.5;cursor:pointer}
.medical-switch input{accent-color:#3b6545;width:18px;height:18px;margin-top:3px;flex:0 0 auto}
.medical-switch strong{font-size:13px;font-weight:700;display:block}
.medical-switch small{display:block;margin-top:6px;font-size:11px;line-height:1.6;color:#647166;font-weight:400}
.medical-warning{border-left:3px solid #986b42;margin:16px 0 0;padding:16px 15px;background:#f9f5ed;border-radius:9px}
.medical-warning strong{font-size:13px;display:block;color:#61442c}
.medical-warning p{font-size:12px;line-height:1.85;margin:9px 0;color:#655744}
.medical-warning label{font-size:12px;line-height:1.65;display:flex;gap:10px;color:#4d4539;align-items:flex-start}
.medical-warning label input{flex:0 0 auto;margin-top:4px;accent-color:#765537}
.space-small-button:disabled{cursor:not-allowed;opacity:.5;background:#f4f5f2;color:#68746c}
.space-day.saved{border-color:#cadbc8}
.space-meal img{object-fit:cover}
.space-form input[inputmode="decimal"],.space-form input[inputmode="numeric"],.unit-input input[inputmode]{font-variant-numeric:tabular-nums}
@media(max-width:720px){.hero-signed-greeting{flex-wrap:wrap}.hero-signed-greeting>a{margin-left:61px}.week-policy-note{margin-left:0;margin-right:0}}

#header-default-icon[hidden]{display:none!important}

/* V15 · Alcance de los datos y desviación energética visible */
.v15-audit-card{margin:16px 0 23px;padding:20px 22px;border-radius:16px;border:1px solid #e1e7df;background:#fafbf9;color:#27362b}
.v15-audit-card h3{font-size:15px;margin:0 0 6px;font-weight:750}
.v15-audit-card p{font-size:12px;line-height:1.75;color:#607061;margin:0}
.v15-audit-card .v15-audit-tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.v15-audit-tag{font-size:11px;border:1px solid #dfe5dc;border-radius:20px;padding:7px 10px;background:white}
.v15-audit-tag.warn{border-color:#e5c89e;background:#fcf5ea;color:#6b4b25}
.v15-progress-track{height:7px;background:#e8eee8;border-radius:10px;overflow:hidden;margin-top:12px}
.v15-progress-fill{height:100%;background:#547659;transition:width .15s ease}
@media(max-width:720px){.v15-audit-card{padding:15px}}
