/* Guide content only; approved homepage and library styling remain unchanged. */
.guide-field-source{font-size:.85rem}.guide-block details{margin:.5rem 0}.guide-block summary{cursor:pointer}.guide-block li,.guide-sources li{overflow-wrap:anywhere}.guide-overview:not(:has(.guide-photo)){display:block}.guide-overview:not(:has(.guide-photo)) .quick-facts{max-width:48rem}


.species-recipe-panel{margin-top:1.25rem}.recipe-legal-note{padding:.9rem 1rem;border-left:5px solid #f0b429;background:#fff8db;color:#302400;font-weight:700}
.recipe-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-top:1rem}
.recipe-card{display:block;position:relative;border-radius:16px;overflow:hidden;background:#071827;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.18)}
.recipe-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.recipe-card-copy{display:grid;gap:.25rem;padding:1rem}.recipe-card-copy strong{font-size:1.18rem}.recipe-card-copy small{opacity:.85}.recipe-card-copy b{color:#ffd45a}
.recipe-page-hero img{width:100%;height:auto;border-radius:18px;display:block}.recipe-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.4fr);gap:1.25rem}
@media(max-width:760px){.recipe-layout{grid-template-columns:1fr}}
.recipe-box{background:#102b40;color:#f4f8fb;border-radius:16px;padding:1rem}.recipe-box h2{color:#ffd45a}.recipe-steps li{margin:.8rem 0}

.recipe-choice-title{font-size:clamp(1.45rem,3vw,2rem);margin:1rem 0 .15rem}.recipe-choice-subtitle{margin:.1rem 0 1rem;font-weight:700}

.recipe-side-preview{display:block;font-size:.9rem;margin:.35rem 0}.sushi-panel{margin:1.5rem 0;padding:1rem;border:2px solid currentColor;border-radius:16px}.sushi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.sushi-option{padding:1rem;border:1px solid currentColor;border-radius:12px}.sushi-option strong{display:block;font-size:1.05rem;margin:.3rem 0}.raw-option{border-width:2px}

.meal-builder-panel{margin:1.5rem 0}.meal-builder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.cook-filter-bar{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0 1.5rem}.cook-filter-bar button{font-size:1rem;padding:.65rem .85rem;border-radius:999px;border:1px solid currentColor;background:transparent;cursor:pointer}.cook-filter-bar button[aria-pressed=true]{font-weight:800;outline:2px solid currentColor}.recipe-card[hidden]{display:none!important}

.clean-cut-panel{margin:1.5rem 0;padding:1rem;border:2px solid currentColor;border-radius:16px}.clean-cut-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem}.clean-cut-panel li{margin:.35rem 0}

/* Generated guide markup carries legacy utility links in the header. On phones,
   keep the brand and language controls clear by hiding only that utility block. */
@media(max-width:520px){body.species-guide header>.footer-links{display:none}body.species-guide header{gap:12px}body.species-guide header .brand{min-width:0}}

/* SOL-009.1 guide and recipe density. Safety/legal gates retain readable weight. */
.library-wrap,.guide-wrap{padding-top:30px;padding-bottom:52px}.library-filters{gap:12px;padding:18px}.library-item img{height:185px}.library-item-copy{padding:18px}.library-item h3{font-size:22px;margin:12px 0 7px}.library-item-link{padding-top:15px}.guide-photo img{height:330px}.quick-facts{padding:20px}.quick-facts h2{font-size:26px;margin:6px 0 16px}.quick-facts dl>div{padding:9px 0}.guide-jumps{padding:16px 0;margin:22px 0}.guide-block{padding:9px 0 18px}.guide-block h2,.guide-sources h2{font-size:25px;margin:14px 0 8px}.guide-block li{margin-bottom:8px}.recipe-card img{aspect-ratio:16/9;max-height:210px}.recipe-card-copy{padding:.8rem}.recipe-page-hero img{max-height:360px;object-fit:cover}.recipe-layout{gap:1rem}.recipe-box{padding:.9rem}.recipe-steps li{margin:.55rem 0}.sushi-panel,.meal-builder-panel,.clean-cut-panel{margin:1rem 0}.recipe-legal-note{padding:.8rem .9rem;font-size:1rem;line-height:1.5}
@media(max-width:600px){.library-wrap,.guide-wrap{padding-top:22px;padding-bottom:40px}.library-filters{padding:15px;gap:10px}.library-item img{height:165px}.library-item-copy{padding:16px}.guide-photo img{height:230px;min-height:0}.quick-facts{padding:17px}.guide-block h2,.guide-sources h2{font-size:23px}.guide-jumps{margin:17px 0;padding:13px 0}.recipe-card img{max-height:180px}.recipe-page-hero img{max-height:230px}.recipe-box{padding:.8rem}.recipe-legal-note{font-size:1rem;padding:.8rem}}

/* SOL-009.3: legacy recipe leaves have an inline desktop-width shell.  On a
   phone, reset that shell before the title and legal gate so neither can clip. */
@media(max-width:600px){
 body.species-guide main.protected-content{width:100%!important;max-width:100%!important;margin:0!important;padding:16px!important;overflow-x:hidden}
 body.species-guide main.protected-content>nav{padding:0 0 14px!important;gap:8px;font-size:14px;overflow-wrap:anywhere}
 body.species-guide main.protected-content .page-head{padding:22px 18px!important}
 body.species-guide main.protected-content .page-head h1{font-size:clamp(32px,9vw,42px)!important;line-height:1.06;letter-spacing:-1px;overflow-wrap:anywhere}
 body.species-guide .recipe-legal-note{max-width:100%;overflow-wrap:anywhere}
}
