:root{--ink:#19382f;--ink2:#43574b;--green:#214b3d;--green2:#3d8b6b;--lime:#d5e8b2;--cream:#fffaf2;--paper:#fff;--line:#e8e9e2;--muted:#778177;--sand:#f5eee3;--orange:#efa567;--red:#ab583e;--shadow:0 17px 47px rgba(32,55,42,.07);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);font-synthesis:none;background:var(--cream)}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #94bd84;outline-offset:2px}a{color:inherit}p,h1,h2,h3{margin:0}p{line-height:1.55}.app-shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{background:#183d33;color:white;min-height:100vh;padding:30px 17px 22px;display:flex;flex-direction:column;gap:30px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 9px}.brand-icon{width:43px;height:43px;background:var(--lime);border-radius:14px;display:grid;place-items:center;color:var(--ink);font-size:26px}.brand strong{display:block;letter-spacing:.035em;font-size:17px}.brand small{color:#bcd3c7;font-size:10px;letter-spacing:.11em}.nav{display:grid;gap:8px}.nav-btn{display:flex;gap:12px;align-items:center;width:100%;color:#d2e0d8;border:none;background:transparent;padding:12px 15px;text-align:left;border-radius:13px;font-size:13.5px;font-weight:600}.nav-btn span:first-child{font-size:18px}.nav-btn.active{background:#e6efd3;color:#193b30}.nav-btn:hover:not(.active){background:#31574b;color:#fff}.sidebar-bottom{margin-top:auto;padding:15px;border:1px solid #416457;border-radius:15px;background:#22483d}.sidebar-bottom strong{display:block;margin-bottom:7px;font-size:13px}.sidebar-bottom p{font-size:11px;color:#cbdfd1}.sidebar-bottom .mark{font-size:25px;margin-bottom:9px}.main{min-width:0;padding:34px clamp(18px,4.5vw,64px) 65px;max-width:1600px;width:100%;margin:0 auto}.topbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}.eyebrow{color:var(--green2);font-size:11px;letter-spacing:.14em;font-weight:800;text-transform:uppercase}.top-right{display:flex;gap:9px;align-items:center}.tag{display:inline-flex;align-items:center;gap:6px;border:1px solid #dae8dc;background:#f2f8f0;border-radius:100px;color:#387253;font-weight:750;font-size:11px;padding:8px 12px}.avatar{height:37px;width:37px;border-radius:13px;background:var(--sand);display:grid;place-items:center;font-size:20px}.page-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,3.3vw,48px);line-height:1.12;font-weight:600;letter-spacing:-.038em}.subtitle{margin-top:10px;color:var(--muted);font-size:14px;max-width:675px}.hero{position:relative;background:#e2ecd8;border-radius:24px;padding:30px clamp(22px,3.5vw,44px);display:flex;align-items:center;justify-content:space-between;overflow:hidden;min-height:173px;gap:15px;margin:24px 0 24px}.hero:after{content:'';position:absolute;width:270px;height:270px;border:30px solid #f0f5e5;border-radius:50%;right:-78px;top:-101px;opacity:.65}.hero-copy{position:relative;z-index:1}.hero h2{font-family:Georgia,serif;font-size:clamp(22px,2.4vw,32px);line-height:1.1;font-weight:500;max-width:440px}.hero p{font-size:13px;color:#426150;margin-top:8px;max-width:420px}.hero-dish{font-size:95px;line-height:1;position:relative;z-index:1;filter:drop-shadow(0 14px 6px rgba(55,72,45,.1));margin-right:35px}.grid{display:grid;gap:18px}.two{grid-template-columns:minmax(0,1.44fr) minmax(300px,.85fr)}.dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}.card{border:1px solid #eeede5;background:var(--paper);border-radius:20px;padding:22px;box-shadow:var(--shadow);min-width:0}.card-title{font-size:15px;font-weight:800;display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px}.muted{color:var(--muted);font-size:12px}.kpi{padding:18px 19px}.kpi .kpi-icon{font-size:20px;display:inline-flex;background:#f1f5ea;border-radius:10px;padding:7px}.kpi .num{font-size:25px;font-weight:790;margin-top:12px;letter-spacing:-.035em}.kpi .kpi-label{color:#6c7a70;font-size:11px;margin-top:3px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:24px 0 14px}.section-head h2{font-family:Georgia,serif;font-size:24px;font-weight:600}.text-link{border:0;background:none;color:#38735a;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:700}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-field{display:grid;gap:7px}.form-field label,.checkgroup-title{font-size:11px;font-weight:800;color:#5d6b5f;letter-spacing:.018em}.form-field input,.form-field select{width:100%;height:43px;border:1px solid #e3e6de;border-radius:11px;background:#fbfcf8;color:var(--ink);padding:0 12px}.form-field input:focus,.form-field select:focus{background:#fff}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;padding:10px 0}.switch-row input,.checkbox-row input{accent-color:#337651;height:16px;width:16px}.switch-row label{cursor:pointer}.switch-row+ .switch-row{border-top:1px solid #f2f1eb}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.btn{border:0;border-radius:12px;padding:12px 17px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;transition:filter .14s,transform .14s}.btn:hover{filter:brightness(.94);transform:translateY(-1px)}.btn-primary{color:white;background:#235543}.btn-secondary{background:#f0f5e9;color:#285a45}.btn-outline{background:#fff;border:1px solid #dee6dc;color:#2b614e}.btn-danger{background:#f8eae5;color:#934f3d}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.full{width:100%}.btn-row{display:flex;flex-wrap:wrap;gap:9px}.mini-note{font-size:11px;color:#788177;line-height:1.5}.warning{padding:15px;background:#fff4e7;color:#82502b;border:1px solid #f6d4b4;border-radius:13px;font-size:12px;line-height:1.5}.success-note{padding:13px;background:#ebf4e5;color:#346248;border-radius:13px;font-size:12px}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.day-btn{border:1px solid #e7ebe3;border-radius:12px;background:#fff;padding:13px 5px;display:grid;justify-items:center;gap:4px;font-size:12px;font-weight:700;color:#486558;min-width:0}.day-btn .date-circle{display:grid;place-items:center;background:#f1f5ed;width:32px;height:32px;border-radius:50%;font-size:12px}.day-btn.active{border-color:#2c6650;background:#245843;color:#fff}.day-btn.active .date-circle{color:var(--ink);background:#d4e5b3}.day-btn .day-short{font-size:10px;letter-spacing:.045em}.meal-list{display:grid;gap:11px}.meal-card{background:#fff;border:1px solid #e9e9e2;border-radius:15px;padding:14px;display:flex;align-items:center;gap:12px;text-align:left;width:100%}.meal-card:hover{border-color:#a0c5b0}.meal-card.active{border-color:#518d72;background:#f4f8f1}.meal-emoji{display:grid;place-items:center;background:#f7f1e8;width:58px;height:56px;border-radius:12px;font-size:30px;flex:none}.meal-info{min-width:0;flex:1}.meal-info small{color:#718078;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}.meal-info strong{display:block;color:var(--ink);font-size:13px;margin-top:3px;line-height:1.35}.meal-info p{font-size:11px;color:#8a948d;margin-top:4px}.meal-chevron{font-size:16px;color:#8fa296}.nutrients{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.nutrient{background:#f6f6f0;padding:10px 5px;border-radius:11px;text-align:center}.nutrient strong{font-size:14px;display:block}.nutrient small{font-size:9px;color:#7c8b81}.recipe-hero{border-radius:17px;min-height:133px;background:linear-gradient(115deg,#e5edcf,#f3e8d1);display:flex;align-items:center;justify-content:space-between;padding:16px 24px;overflow:hidden}.recipe-hero .emoji{font-size:85px;filter:drop-shadow(0 9px 6px #cad9c285)}.recipe-hero span:first-child{max-width:180px;font-family:Georgia,serif;font-size:20px}.ingredients{list-style:none;margin:0;padding:0;display:grid;gap:9px}.ingredients li{display:flex;align-items:center;justify-content:space-between;padding:0 0 8px;border-bottom:1px solid #f3f1ed;font-size:12px;gap:10px}.ingredients li b{font-weight:600;white-space:nowrap}.steps{margin:0;padding-left:21px;display:grid;gap:12px}.steps li{font-size:12px;line-height:1.6;padding-left:4px}.meta-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.pill{border-radius:100px;background:#f3f5ed;color:#5b735f;padding:6px 9px;font-size:10px;font-weight:750}.filterbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:19px}.filterchip{border:1px solid #dfe6db;background:#fff;border-radius:100px;padding:9px 14px;font-size:12px;font-weight:700;color:#4f6b59}.filterchip.selected{background:#285d48;color:#fff;border-color:#285d48}.recipe-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.library-card{border:1px solid #eceee6;background:#fff;border-radius:16px;overflow:hidden;text-align:left}.library-card .art{height:95px;background:linear-gradient(128deg,#f0f6e8,#f5e5d6);display:grid;place-items:center;font-size:49px}.library-card .details{padding:15px}.library-card strong{display:block;font-size:13px;min-height:35px}.library-card small{display:block;color:var(--muted);font-size:11px;margin-top:9px}.library-card:hover{border-color:#89b99c}.table{width:100%;border-collapse:collapse;font-size:12px}.table td,.table th{padding:12px 8px;border-bottom:1px solid #eff0eb;text-align:left}.table th{font-size:11px;color:#718177;text-transform:uppercase}.table .right{text-align:right}.checkbox-row{display:flex;align-items:center;gap:9px}.checkbox-row label{cursor:pointer}.crossed{text-decoration:line-through;color:#98a397}.summary-total{display:flex;justify-content:space-between;padding:15px 0;font-size:14px;font-weight:800}.empty{color:var(--muted);padding:40px 10px;text-align:center}.empty .icon{font-size:34px;margin-bottom:13px}.footer-disclaimer{margin:28px 0 0;color:#8a9188;font-size:10.5px;line-height:1.6;max-width:850px}.small-gray{color:var(--muted);font-size:11px}.badge-alert{background:#fff0e4;color:#995530}.badge-green{background:#e7f3e7;color:#317050}.status-badge{display:inline-block;font-size:11px;font-weight:800;border-radius:100px;padding:7px 10px}.recipe-overlay{position:fixed;inset:0;z-index:20;background:rgba(14,34,26,.45);display:flex;align-items:center;justify-content:center;padding:20px}.modal{max-width:700px;width:100%;max-height:85vh;overflow:auto;padding:26px;border-radius:22px;background:#fff;box-shadow:0 16px 45px #16342655}.modal-header{display:flex;justify-content:space-between;align-items:start;gap:12px}.close{border:0;background:#f2f5ef;border-radius:10px;width:36px;height:36px;font-size:17px}.choice-list{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:18px}.choice{border:1px solid #e2e8df;background:#fff;text-align:left;padding:13px;border-radius:12px;font-size:12px}.choice b{display:block;margin-top:5px}.choice small{color:#708475}.intro-card{background:#173c35;border-radius:21px;padding:27px;color:#fff}.intro-card h3{font-family:Georgia,serif;font-size:27px;font-weight:500}.intro-card p{font-size:13px;color:#cee1d3;margin-top:10px}.intro-card .list{display:grid;gap:12px;margin-top:20px;font-size:12px}.intro-card .list div{display:flex;align-items:start;gap:11px}.intro-card .list b{color:#dff2c5}.print-only{display:none}
@media(max-width:1120px){.app-shell{grid-template-columns:80px 1fr}.sidebar{align-items:center;padding-left:9px;padding-right:9px}.brand{padding:0}.brand-name,.nav-btn .nav-name,.sidebar-bottom{display:none}.nav-btn{justify-content:center;padding:14px}.nav-btn span:first-child{font-size:22px}.two{grid-template-columns:minmax(0,1fr) minmax(270px,.8fr)}.main{padding:27px 25px 50px}}
@media(max-width:850px){.two{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:22px 18px 110px}.recipe-library{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-dish{font-size:72px;margin-right:0}}
@media(max-width:600px){.app-shell{display:block}.sidebar{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:10;height:68px;min-height:0;padding:5px 8px;background:#173c35;border-radius:17px 17px 0 0;box-shadow:0 -9px 25px #173c3530}.brand{display:none}.nav{display:flex;width:100%;height:100%;justify-content:space-around;gap:1px}.nav-btn{display:flex;flex-direction:column;gap:1px;padding:7px 8px;font-size:10px;flex:1}.nav-btn .nav-name{display:block;font-size:9px}.nav-btn span:first-child{font-size:18px}.nav-btn.active{background:#dce9c4}.main{padding:18px 14px 100px}.topbar{margin-bottom:18px}.hero{padding:20px;min-height:145px}.hero h2{font-size:24px}.hero-dish{font-size:55px}.page-title{font-size:35px}.card{padding:17px}.week-strip{gap:4px}.day-btn{padding:9px 2px}.day-btn .date-circle{width:27px;height:27px;font-size:11px}.day-btn .day-short{font-size:9px}.form-grid{grid-template-columns:1fr 1fr}.recipe-library{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-list{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}}
@media print{.app-shell,.recipe-overlay{display:none!important} #print-report{display:block!important}.sidebar,.topbar,.hide-print,.btn,.btn-row,.footer-disclaimer{display:none!important}.print-only{display:block}.app-shell{display:block}.main{padding:10px;max-width:none}.card{box-shadow:none;break-inside:avoid}.day-btn{box-shadow:none}.section-head{margin:15px 0}body{background:#fff}}

/* CREA MENÚ PREMIUM 0.2 — fotografía editorial de platos, local y sin dependencias externas */
.meal-emoji{background:#eff2e8;padding:0;overflow:hidden;box-shadow:0 1px 9px rgba(20,42,32,.08);border:1px solid rgba(255,255,255,.7);width:70px;height:64px;border-radius:13px}
.meal-photo,.recipe-image,.swap-thumb img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center}
.library-card .art{height:155px;display:block;overflow:hidden;background:#ebe9e1;position:relative}
.library-card .art img{transition:transform .33s ease}
.library-card:hover .art img{transform:scale(1.065)}
.library-card{box-shadow:0 7px 24px rgba(23,61,51,.045);transition:box-shadow .2s,border-color .2s}
.library-card:hover{box-shadow:0 10px 28px rgba(23,61,51,.11)}
.recipe-hero{height:260px;min-height:220px;position:relative;padding:0;display:block;background:#e6e6d7;border:0}
.recipe-hero::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(18,37,28,.74),transparent 66%);pointer-events:none}
.recipe-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.recipe-hero span:first-child{position:absolute;z-index:2;left:24px;bottom:21px;max-width:90%;font-size:clamp(20px,3.4vw,28px);color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.22);line-height:1.15}
.hero-dish{font-size:0;width:180px;height:135px;display:block;flex:none;border-radius:22px;overflow:hidden;transform:rotate(5deg);box-shadow:0 16px 24px rgba(18,59,43,.18);margin-right:27px;filter:none}
.hero-dish img{width:100%;height:100%;display:block;object-fit:cover}
.choice .swap-thumb{width:100%;height:94px;display:block;overflow:hidden;border-radius:9px;background:#f2f1eb;margin-bottom:7px}
@media(max-width:850px){.hero-dish{width:133px;height:118px;margin-right:0}}
@media(max-width:600px){.library-card .art{height:123px}.recipe-hero{height:220px}.hero-dish{width:102px;height:102px}.meal-emoji{width:66px;height:58px}}
@media(prefers-reduced-motion:reduce){.library-card .art img{transition:none}}
