/* M3SSA V1.2 · Kitchen System — visual layer */
body{background:var(--cream) url('../assets/master/M3SSA-RECETAS-ASSETS-MASTER/10-BACKGROUNDS/fondo-crema.webp') center/cover fixed}.main{max-width:1440px}.topbar{backdrop-filter:blur(16px);background:rgba(255,250,242,.9);border-bottom:1px solid rgba(94,107,69,.12)}
.hero{min-height:390px;padding:46px 48px;background:linear-gradient(120deg,rgba(60,75,45,.96),rgba(94,107,69,.90)),url('../assets/master/M3SSA-RECETAS-ASSETS-MASTER/10-BACKGROUNDS/fondo-oliva.webp') center/cover}.hero h1{font-size:clamp(48px,5vw,76px);line-height:.98;letter-spacing:-.03em}.hero .lead{font-size:16px;max-width:680px}.hero-sketch{background:rgba(255,250,242,.08);overflow:hidden}.hero-sketch img{width:78%;max-height:250px;object-fit:contain;filter:drop-shadow(0 18px 20px #0002)}.hero-sketch .scribble{font-size:29px}
.quick-grid{grid-template-columns:repeat(4,1fr);gap:14px}.quick{position:relative;overflow:hidden;min-height:178px;padding:22px;border:0}.quick:after{content:'';position:absolute;width:110px;height:110px;border-radius:50%;right:-38px;bottom:-40px;background:rgba(255,255,255,.35)}.quick:nth-child(1){background:#dce7d5}.quick:nth-child(2){background:#f3d5ca}.quick:nth-child(3){background:#f2df9e}.quick:nth-child(4){background:#d8e5e4}.quick .qico{width:48px;height:48px;border-radius:15px;background:rgba(255,255,255,.7);display:grid;place-items:center}.quick .qico img{width:27px;height:27px}.quick strong{font-size:21px}.quick span:last-child{max-width:240px;font-size:12px}
.recipe-grid{gap:20px}.recipe-card{border:0;border-radius:26px;box-shadow:0 14px 40px rgba(67,57,43,.10);transition:.2s}.recipe-card:hover{transform:translateY(-4px)}.recipe-cover{height:230px;padding:0;background:var(--paper2)!important}.recipe-cover .cover-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.95}.recipe-cover .category-art{position:absolute;width:126px;height:126px;right:18px;bottom:16px;filter:drop-shadow(0 12px 12px #0002)}.recipe-cover .food-orbit{position:absolute;left:18px;bottom:18px;display:flex;gap:7px}.food-orbit img{width:42px;height:42px;background:var(--paper);padding:7px;border-radius:50%;border:1px solid #ffffffaa;box-shadow:0 6px 14px #0001}.recipe-cover .recipe-badge{position:absolute;left:16px;top:16px;width:82px}.recipe-body{padding:20px 21px 22px}.recipe-body h3{font-size:25px}.recipe-body p{font-size:12px;min-height:38px}.recipe-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.mini-stats{display:flex;gap:8px;color:var(--muted);font-size:10px;font-weight:800}.mini-stats img{width:17px;height:17px;display:inline;vertical-align:middle;margin-right:3px}
.section.panel.story-panel{background:linear-gradient(115deg,#fffaf2 0 62%,#dfe5cf 62%);padding:32px;position:relative;overflow:hidden}.story-panel .story-art{position:absolute;right:3%;bottom:-20px;width:30%;max-height:220px;object-fit:contain}.story-panel .lead{max-width:65%}
.editor-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.editor-rail{position:sticky;top:92px;align-self:start;background:var(--ink);color:white;border-radius:24px;padding:16px}.editor-step{display:flex;gap:10px;align-items:center;padding:12px;border-radius:14px;font-size:11px;font-weight:800}.editor-step.active{background:var(--olive)}.editor-step b{width:25px;height:25px;border-radius:50%;background:#ffffff18;display:grid;place-items:center}.editor-work{display:grid;gap:16px}.editor .panel{border:0;box-shadow:0 12px 35px #43392b12}.category-picker,.badge-picker,.allergen-picker{display:flex;gap:8px;flex-wrap:wrap}.asset-choice{border:1px solid var(--line);background:#fffdf8;border-radius:14px;padding:8px 10px;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800}.asset-choice img{width:28px;height:28px}.ingredient-icon{width:34px;height:34px;border-radius:11px;background:var(--olive2);padding:6px}.row3{grid-template-columns:38px 1.5fr .5fr .5fr auto}.step-editor{background:#fffdf8;border:1px solid var(--line);border-radius:16px;padding:10px}.editor-preview{background:linear-gradient(135deg,#f0d9c3,#f7eddf);border-radius:22px;padding:20px;min-height:180px;display:grid;grid-template-columns:1fr 130px;align-items:center}.editor-preview img{width:120px;height:120px}.import-studio{border:0;background:linear-gradient(120deg,#f7eee0,#e7ead5);position:relative;overflow:hidden}.import-studio:after{content:'';position:absolute;right:-25px;bottom:-45px;width:190px;height:190px;background:url('../assets/master/M3SSA-RECETAS-ASSETS-MASTER/14-SPLASH-ONBOARDING/descubre.svg') center/contain no-repeat;opacity:.7}.import-studio>*{position:relative;z-index:1}
.detail-visual{position:relative;min-height:360px;background:linear-gradient(145deg,#e8c5a6,#f4dfc7);overflow:hidden}.detail-visual .detail-cat{width:180px;height:180px}.detail-visual .detail-foods{position:absolute;left:18px;bottom:18px;display:flex;gap:8px}.detail-visual .detail-foods img{width:48px;height:48px;background:#fffaf2;padding:8px;border-radius:50%}.detail-info .badges{display:flex;gap:7px;flex-wrap:wrap}.detail-info .badges img{height:38px;width:auto}.ingredient{grid-template-columns:38px 28px 1fr auto}.ingredient .foodicon{width:32px;height:32px;background:var(--olive2);padding:6px;border-radius:10px}.culinary-advice{margin:16px 0;display:grid;gap:8px}.culinary-advice .smart-note{background:#f4e5b9;border-left-color:var(--mustard)}
.asset-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:16px}.asset-strip div{background:var(--paper);border-radius:18px;padding:12px;text-align:center;border:1px solid var(--line)}.asset-strip img{width:46px;height:46px;margin:auto}.asset-strip small{display:block;margin-top:6px;font-weight:800;color:var(--muted)}
@media(max-width:1000px){.hero{min-height:330px;padding:34px}.recipe-cover{height:190px}.editor-shell{grid-template-columns:1fr}.editor-rail{position:static;display:flex;overflow:auto}.editor-step{min-width:145px}.asset-strip{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.hero{padding:28px 22px;min-height:auto}.hero h1{font-size:42px}.quick-grid{grid-template-columns:1fr 1fr}.quick{min-height:150px}.recipe-cover{height:205px}.story-panel .story-art{display:none}.story-panel .lead{max-width:none}.asset-strip{grid-template-columns:repeat(2,1fr)}.editor-preview{grid-template-columns:1fr}.row3{grid-template-columns:34px 1fr .55fr .55fr auto}}
/* V1.3 · section artwork + URL importer */
.section-hero-art{padding:0!important;background:#efe3cc!important;display:flex!important;align-items:stretch!important}.section-hero-art>img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;filter:none!important}.section-hero-art .scribble{position:absolute;left:18px;bottom:14px;background:#fffaf2e8;padding:7px 12px;border-radius:12px;color:var(--ink)}
.quick .section-thumb{width:82px;height:82px;padding:0;overflow:hidden;border-radius:18px;background:#fff}.quick .section-thumb img{width:100%;height:100%;object-fit:cover}.quick{min-height:195px}.quick strong{margin-top:4px}
.url-importer{margin-top:12px;padding:14px;background:#fffaf2;border:1px solid var(--line);border-radius:18px}.url-row{display:grid;grid-template-columns:1fr auto;gap:8px}.url-row input{min-width:0}.import-status{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.5}.import-status strong{color:var(--ink)}
.section-library{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.section-card{min-height:150px;border-radius:22px;overflow:hidden;position:relative;background:#eee}.section-card img{width:100%;height:100%;object-fit:cover}.section-card span{position:absolute;left:10px;right:10px;bottom:10px;background:#fffaf2e8;border-radius:12px;padding:7px 9px;font-weight:800;font-size:11px}
@media(max-width:680px){.url-row{grid-template-columns:1fr}.quick .section-thumb{width:64px;height:64px}}
/* V1.3.1 · VISUAL LIBRARY — image-led, semantic, no fake ingredient art */
.hero{grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);overflow:hidden}.section-hero-art{min-height:330px;border-radius:28px}.section-hero-art>img{object-position:center}
.visual-section-grid{margin-top:18px}.visual-section{padding:0!important;min-height:230px!important;display:block!important;text-align:left;background:#fff!important;border:1px solid var(--line)!important}.visual-section:after{display:none}.visual-section>img{display:block;width:100%;height:170px;object-fit:cover}.visual-section-copy{display:block!important;padding:14px 16px 16px}.visual-section-copy strong{display:block;font-size:18px}.visual-section-copy small{display:block;margin-top:4px;color:var(--muted);line-height:1.4}
.recipe-card-v131 .recipe-visual-clean{height:210px;position:relative;overflow:hidden;background:#efe6d8}.recipe-section-art{width:100%;height:100%;object-fit:cover;filter:saturate(.92)}.recipe-visual-clean:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(34,42,29,.68))}.recipe-visual-clean .fav{z-index:3}.recipe-visual-overlay{position:absolute;z-index:2;left:20px;right:70px;bottom:17px;color:white;display:grid;gap:5px}.recipe-visual-overlay strong{font-family:var(--font-display);font-size:21px;line-height:1.05}.recipe-category-label{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.recipe-card-v131 .recipe-body h3{margin-top:10px}.recipe-card-v131 .recipe-body p{min-height:44px}
.story-panel{grid-template-columns:1fr 42%!important;gap:24px}.story-image{display:block!important;overflow:hidden;border-radius:22px;min-height:230px}.story-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.home-library{grid-template-columns:repeat(4,1fr)}.home-library .section-card{min-height:220px}.home-library .section-card span{font-size:12px}
@media(max-width:900px){.hero{grid-template-columns:1fr}.section-hero-art{min-height:260px}.visual-section-grid{grid-template-columns:1fr 1fr}.home-library{grid-template-columns:1fr 1fr}.story-panel{grid-template-columns:1fr!important}.story-image{min-height:210px}}
@media(max-width:600px){.visual-section-grid{grid-template-columns:1fr}.visual-section{min-height:auto!important}.visual-section>img{height:auto;aspect-ratio:16/9}.home-library{grid-template-columns:1fr 1fr}.recipe-card-v131 .recipe-visual-clean{height:190px}.section-hero-art{min-height:210px}}
