/* Premium collection: design tokens, responsive layout and accessibility. */
:root{--ink:#182c26;--muted:#52645c;--green:#235848;--green2:#34715c;--pale:#eaf3ee;--line:#dce6e0;--bg:#f8faf9;--surface:#f3f7f5;--shadow:0 12px 32px #163d2912;--radius:20px;--accent-soft:#dcece4;--accent-gold:#cfa66f;--hero-bg:#173d32;--hero-ink:#fff;--hero-muted:#d6e7dd;--sidebar-width:282px;--focus:#ac7239}
body[data-theme="gourmet"]{--ink:#38252d;--muted:#725b63;--green:#873b55;--green2:#a65570;--pale:#f9edf1;--line:#ecdde3;--bg:#fdfafb;--surface:#faf4f6;--shadow:0 12px 32px #70263e12;--accent-soft:#f2dce5;--accent-gold:#d9af79;--hero-bg:#57273b;--hero-muted:#f3dbe4;--focus:#a9583a}
body[data-theme="signature"]{--ink:#203047;--muted:#52647c;--green:#284d76;--green2:#3c6491;--pale:#edf3fa;--line:#dce5ef;--bg:#f8fafd;--surface:#f1f5fa;--shadow:0 12px 32px #263f6014;--accent-soft:#dce8f4;--accent-gold:#e3c08c;--hero-bg:#183451;--hero-muted:#dce8f3;--focus:#a76b2d}
html{scroll-padding-top:90px}body{font-family:"Aptos","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:16px;line-height:1.6;letter-spacing:0;overflow-wrap:break-word}button,input,select{font-family:inherit}button,a,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button{transition:background .18s,color .18s,box-shadow .18s}h1,h2,h3{letter-spacing:-.045em}h1{font-weight:760;line-height:1.13}h2{font-size:1.7rem;line-height:1.23}h3{font-weight:700}.eyebrow{font-size:.75rem;letter-spacing:.12em}.primary,.secondary,button.primary,button.secondary{border-radius:12px;min-height:46px;padding:11px 17px;font-weight:700;line-height:1.4}.primary:hover,button.primary:hover{background:var(--green2);border-color:var(--green2)}.secondary,button.secondary{border-color:var(--line);color:var(--green);background:#fff}.secondary:hover,button.secondary:hover{background:var(--pale)}.icon-button{min-width:44px;min-height:44px;color:var(--green)}
.sidebar{width:var(--sidebar-width);padding:27px 18px 24px;background:#fff;gap:0;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.brand{padding:2px 6px 21px;font-size:19px;letter-spacing:-.06em;line-height:1.2}.brand strong{font-size:10px;letter-spacing:.18em;margin-top:4px}.logo-icon{background:var(--hero-bg);border-radius:13px;color:var(--accent-gold);box-shadow:0 5px 14px #00000012}.edition-badge{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);background:var(--surface);border-radius:13px;margin:0 2px 9px;color:var(--green)}.edition-gem{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:9px;background:var(--green);color:#fff;font-size:20px}.edition-badge strong{font-size:11px;letter-spacing:.1em;display:block}.edition-badge small{display:block;font-size:12px;line-height:1.4}.side-label,.module-divider{font-size:11px;font-weight:750;color:var(--muted);letter-spacing:.12em}.nav-item{min-height:44px!important;padding:9px 11px;border-radius:11px;font-size:14px;color:var(--muted);font-weight:600;line-height:1.35;gap:9px;position:relative;align-items:center}.nav-item:hover,.module-hub:hover{background:var(--surface);color:var(--green)}.nav-item.active,.module-hub.active{background:var(--pale);color:var(--green);font-weight:750;box-shadow:inset 3px 0 var(--green)}.nav-item .nav-icon{font-size:19px;color:var(--green);font-weight:600;flex:0 0 25px}.nav-count,.active .nav-count,.module-hub .nav-count{background:var(--accent-soft);color:var(--green);font-size:12px;font-weight:700;padding:3px 7px;border-radius:8px}.module-hub{color:var(--green);background:var(--pale)}.side-bottom{border-top:1px solid var(--line);margin-top:23px;padding-top:16px;color:var(--muted);font-size:13px}.small-dot{background:var(--green)}
.main{margin-left:var(--sidebar-width);padding:0 36px 40px;max-width:1920px}.topbar{height:74px;margin-bottom:25px;gap:18px}.breadcrumb{font-size:14px;min-width:0}.top-pill{white-space:nowrap;background:var(--pale);border:0;color:var(--green);border-radius:30px;padding:8px 13px;font-size:11px;letter-spacing:.08em}.hero{border:0;background:var(--hero-bg);color:var(--hero-ink);padding:35px;border-radius:var(--radius);min-height:320px;gap:26px;box-shadow:0 9px 28px #00000018;isolation:isolate}.hero:before{content:"";position:absolute;z-index:-1;width:520px;height:520px;border:1px solid #ffffff20;border-radius:50%;right:-165px;top:-220px;box-shadow:0 0 0 37px #ffffff06,0 0 0 80px #ffffff05}.hero h1{font-size:clamp(2rem,3.45vw,3.4rem);letter-spacing:-.05em;line-height:1.12;margin:12px 0 15px;max-width:650px}.hero h1 em{color:var(--accent-gold)}.hero .eyebrow{color:var(--accent-gold)}.hero p{color:var(--hero-muted);font-size:16px;line-height:1.6;max-width:530px}.hero .primary{background:var(--accent-gold);border-color:var(--accent-gold);color:#222b24;box-shadow:0 4px 15px #00000015}.hero .primary:hover{background:#f0d3a5;border-color:#f0d3a5}.hero .secondary{background:#ffffff12;border-color:#ffffff38;color:#fff}.hero .secondary:hover{background:#ffffff24}.hero-photos{transform:none;height:242px;gap:8px;padding:0}.hero-photo{border-radius:13px;background:#ffffff19;border:1px solid #ffffff19;box-shadow:0 7px 22px #00000025}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-photo span{bottom:0;left:0;right:0;background:linear-gradient(transparent,#000c);padding:22px 9px 9px;border-radius:0;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.hero-photo.image-failed:before{content:'♨';position:absolute;inset:0;display:grid;place-items:center;color:var(--accent-gold);font-size:35px}.hero-photo img[hidden],.cover img[hidden],.video-frame img[hidden]{display:none}
.quick-stats{gap:13px;margin:16px 0}.stat{border-radius:16px;padding:16px 16px;min-height:82px;box-shadow:0 3px 12px #00000004;gap:12px}.stat-icon{background:var(--pale);color:var(--green);width:43px;height:43px;border-radius:11px}.stat strong{font-size:24px;line-height:1.2;letter-spacing:-.04em}.stat span:last-child{font-size:13px;line-height:1.4;margin-top:3px}.collection-strip{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.4fr);gap:14px;margin-bottom:33px}.collection-progress,.quick-links{border:1px solid var(--line);border-radius:16px;background:#fff;padding:17px 18px;min-width:0}.collection-progress .eyebrow{font-size:11px}.progress-title{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:7px 0;color:var(--ink);font-size:14px}.progress-title span{font-size:13px;color:var(--muted)}.progress-track{height:8px;background:var(--pale);border-radius:20px;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--green);border-radius:20px}.quiet-link{color:var(--green);text-align:left;padding:9px 0 0;font-size:13px;font-weight:700;min-height:32px}.quick-links{padding:7px;display:grid;gap:3px}.collection-link{display:flex;gap:11px;align-items:center;text-align:left;border-radius:11px;padding:9px 10px;min-width:0;color:var(--green);background:var(--surface)}.collection-link:hover{background:var(--pale)}.collection-link strong,.collection-link small{display:block;line-height:1.4}.collection-link strong{font-size:14px}.collection-link small{font-size:12px}.collection-symbol{border-radius:9px;background:var(--pale);color:var(--green);min-width:35px;height:35px;display:grid;place-items:center;font-size:20px}.dessert-link .collection-symbol{background:#f6e2e9;color:#873b55}.blender-link .collection-symbol{background:#e1ecf8;color:#284d76}.collection-chevron{margin-left:auto;font-size:22px;color:var(--green);line-height:1}
.section-heading{margin:26px 0 15px;align-items:center}.section-heading p,.page-heading p{font-size:15px;line-height:1.55}.page-heading{padding:17px 0 8px;margin-bottom:19px}.page-heading h1{font-size:clamp(2rem,3vw,2.7rem);margin:7px 0}.filters{gap:10px;margin-bottom:16px}.search-field input,.filter-select{height:49px;background:white;border-color:var(--line);border-radius:12px;min-width:0;color:var(--ink);font-size:15px}.search-field:before{color:var(--green);top:7px}.filter-select{appearance:none;padding:0 34px 0 13px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23566a65' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center}.chips{flex-wrap:wrap;overflow:visible;gap:8px;padding-bottom:7px}.chip{border-color:var(--line);font-size:13px;font-weight:650;color:var(--muted);padding:8px 13px;min-height:39px;white-space:normal;text-align:left;border-radius:10px}.chip:hover{background:var(--pale);color:var(--green)}.chip.selected{background:var(--green);color:#fff}.result-count{font-size:14px;font-weight:600;margin:6px 0 14px}.grid{gap:20px;align-items:stretch}.recipe-card{border:1px solid var(--line);border-radius:17px;display:flex;flex-direction:column;box-shadow:0 4px 18px #00000007;isolation:isolate}.recipe-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.cover{aspect-ratio:16/9;background:linear-gradient(145deg,var(--pale),var(--accent-soft));flex:none}.cover-fallback{font-size:42px}.cover-badge,.done-badge{background:#172723df;position:absolute;color:white;z-index:2;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:700;bottom:10px;left:10px;line-height:1.2}.done-badge{left:auto;right:10px;background:var(--green);top:auto;font-size:10px}.favorite-btn{height:43px;width:43px;right:10px;top:10px;box-shadow:0 3px 10px #00000018;border:0;font-size:25px}.favorite-btn.on{color:#a62d4e}.card-body{padding:17px 16px 15px;gap:11px;flex:1;min-width:0}.category-label{font-size:11px;color:var(--green);letter-spacing:.05em}.card-title{font-size:18px;min-height:0;line-height:1.35;letter-spacing:-.025em;overflow-wrap:anywhere}.card-meta{font-size:13px;gap:9px 12px;color:var(--muted);margin-top:auto;line-height:1.5}.card-action{min-height:43px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:9px 12px;color:var(--green);text-align:center;font-size:14px;font-weight:750;margin-top:4px}.card-action:hover{background:var(--pale);text-decoration:none}.empty{background:white;border-color:var(--line);border-radius:18px;padding:42px 22px}.footer{color:var(--muted);font-size:13px}.more{margin:28px 0}
dialog{width:min(880px,calc(100% - 32px));max-height:92dvh;border:0;border-radius:22px;box-shadow:0 24px 90px #0004;overscroll-behavior:contain}dialog::backdrop{background:#10232eae;backdrop-filter:blur(4px)}.detail-head{padding:12px 24px;min-height:60px;background:#fffffff5;backdrop-filter:blur(10px)}.detail-head span{line-height:1.4;font-size:14px}.detail-close{min-width:43px;min-height:43px;background:var(--pale);color:var(--green)}.detail-body{padding:27px 30px 34px}.detail-title{font-size:clamp(1.8rem,3vw,2.5rem);letter-spacing:-.045em;margin:8px 0 20px}.metric{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 10px;min-width:0}.metric b{font-size:24px}.metric span{font-size:13px;display:block;line-height:1.4}.detail-actions{gap:8px}.completion-button[aria-pressed="true"]{background:var(--pale);border-color:var(--green)}.detail-section{margin-bottom:25px;padding-bottom:25px}.detail-section h2{font-size:1.35rem;letter-spacing:-.03em;margin-bottom:16px}.portions{flex-wrap:wrap;gap:9px}.portions button{min-width:44px;height:44px;background:var(--pale);border-color:var(--line);color:var(--green)}.portions .reset{font-size:14px}.ingredient-list label{padding:12px 5px;min-height:45px;border-color:var(--line)}.ingredient-list input,.shop-item input{width:22px;height:22px;cursor:pointer}.steps li{padding-left:49px;padding-bottom:19px;line-height:1.65}.steps li:before{border-radius:11px;width:34px;height:34px}.notice,.safety,.video-credit{font-size:14px;line-height:1.65}.video-frame{border-radius:16px;background:var(--hero-bg)}.video-frame img{object-fit:contain}.video-frame iframe{z-index:2}.safety{border-radius:13px}.plan-form{padding:26px}.plan-form select{height:48px;font-size:16px;color:var(--ink);max-width:100%;min-width:0}.plan-form label{min-width:0}.small-dialog{max-width:490px}.day-card,.shop-list,.ingredient-tool{background:#fff;border-radius:16px;box-shadow:0 3px 15px #00000004}.day-card{grid-template-columns:120px repeat(3,minmax(0,1fr))}.slot{background:var(--surface);border-color:var(--line);border-radius:11px;min-width:0;overflow-wrap:anywhere;padding:12px}.slot-name{font-size:12px;line-height:1.4}.slot button{font-size:14px;line-height:1.45;min-height:28px}.slot .remove{min-height:28px;font-size:13px}.shop-item button{min-width:44px;min-height:44px}.shop-item label{min-width:0}.tag{background:var(--pale);border-radius:12px}.tag button{min-width:30px;min-height:34px}.input-row input{min-height:47px}.tag-list{overflow-wrap:anywhere}.shop-toolbar button{min-height:46px}.ingredient-tool{padding:22px}.mobile-head{background:#ffffffed;backdrop-filter:blur(12px)}
#toast{position:fixed;inset:auto 16px max(18px,env(safe-area-inset-bottom)) 16px;margin:0 auto;transform:none;left:16px;bottom:max(18px,env(safe-area-inset-bottom));right:16px;width:max-content;max-width:calc(100% - 32px);border:0;background:var(--hero-bg);color:white;border-radius:13px;font-size:14px;box-shadow:0 10px 35px #0003;text-align:center;padding:13px 20px}#toast:popover-open{display:block}#toast::backdrop{background:transparent}#timerBar{background:var(--hero-bg);border:1px solid #ffffff20;border-radius:18px;max-width:calc(100% - 32px);gap:13px}#timerBar>div{min-width:0}#timerBar small{color:var(--hero-muted);overflow-wrap:anywhere}#timerBar button{min-height:42px;flex:none}#timerBar b{white-space:nowrap;color:var(--accent-gold)}body:has(#timerBar:not([hidden])) .main{padding-bottom:116px}body:has(dialog[open]){overflow:hidden}
@media(min-width:1450px){.hero{min-height:330px;grid-template-columns:1.2fr .8fr}.hero-photos{height:260px}.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){:root{--sidebar-width:248px}.sidebar{padding:22px 13px}.main{padding:0 23px 32px}.grid{gap:14px}.card-body{padding:14px 12px}.hero{gap:18px;padding:28px}.hero-photos{height:210px}.day-card{grid-template-columns:100px repeat(3,minmax(0,1fr))}.collection-strip{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}}
@media(min-width:901px) and (max-width:1090px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:1fr}.hero-photos{display:none}.filters{flex-wrap:wrap}.search-field{flex-basis:100%}.filter-select{flex:1}.day-card{grid-template-columns:repeat(3,minmax(0,1fr))}.day-title{grid-column:1/-1}}
@media(max-width:900px){.sidebar{width:min(310px,86vw);padding:23px 16px;visibility:hidden;transition:transform .25s,visibility .25s;overscroll-behavior:contain}.sidebar.open{visibility:visible}.main{margin:0;padding:0 22px 26px}.mobile-head{padding:10px 15px}.mobile-brand{font-size:17px;letter-spacing:-.04em}.mobile-brand .logo-icon{min-width:34px;height:34px}.topbar{height:48px;margin-bottom:14px}.hero{min-height:280px}.hero-photos{height:215px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nav-open{overflow:hidden}.overlay{backdrop-filter:blur(2px)}}
@media(max-width:690px){.main{padding:0 16px 28px}.hero{display:block;min-height:0;padding:24px 20px;border-radius:18px}.hero h1{font-size:2.15rem;letter-spacing:-.05em}.hero p{font-size:15px;line-height:1.55}.hero-actions .primary,.hero-actions .secondary{font-size:14px;padding:10px 13px;min-height:44px}.hero-photos{display:none}.quick-stats{gap:6px;margin:10px 0}.stat{min-height:80px;padding:10px 5px;border-radius:13px;display:flex;justify-content:center;text-align:center}.stat-icon{display:none}.stat strong{font-size:23px}.stat span:last-child{font-size:12px;line-height:1.25}.collection-strip{grid-template-columns:1fr;gap:9px;margin-bottom:25px}.collection-progress{padding:15px}.quick-links{padding:6px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-body{padding:13px 11px;gap:9px}.category-label{font-size:11px;letter-spacing:.02em}.card-title{font-size:16px}.card-meta{font-size:12px;gap:5px 9px}.card-action{font-size:13px;padding:9px 6px}.cover-badge,.done-badge{font-size:10px;padding:5px 6px;left:7px;bottom:7px}.done-badge{left:auto;right:7px}.favorite-btn{width:39px;height:39px;font-size:23px;right:6px;top:6px}.section-heading h2{font-size:1.5rem}.section-heading p{font-size:14px}.filters{flex-wrap:wrap;gap:8px}.search-field{flex-basis:100%}.filter-select{flex:1;height:45px;font-size:14px;padding-right:25px;background-position:right 6px center}.chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding:2px 2px 10px;scrollbar-width:thin}.chip{white-space:nowrap;scroll-snap-align:start;font-size:13px;flex:none}.detail-body{padding:19px 17px 24px}.detail-head{padding:10px 15px}.detail-title{font-size:1.9rem}.detail-metrics{gap:6px}.metric{padding:9px 5px}.metric b{font-size:20px}.metric span{font-size:12px}.detail-actions button{font-size:14px;min-height:44px;padding:9px 11px}.detail-section h2{font-size:1.3rem}.ingredient-list{grid-template-columns:1fr}.day-card{grid-template-columns:1fr;padding:14px;gap:10px}.day-title{grid-column:auto;font-size:16px}.slot{padding:11px;min-height:64px}.slot-name{font-size:12px}.slot button{font-size:15px}.shop-toolbar{gap:8px}.shop-toolbar button{font-size:14px}.shop-list{padding:6px 12px}.page-heading{padding:9px 0 4px}.page-heading h1{font-size:2rem}.ingredient-tool{padding:15px}.input-row{gap:8px}.input-row button{padding:10px 12px}.plan-form{padding:20px}.footer{font-size:12px}#timerBar{max-width:none;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));padding:11px;gap:8px;font-size:13px;flex-wrap:wrap}#timerBar>div{flex:1;min-width:80px}#timerBar b{font-size:22px}#timerBar button{padding:7px 9px}#timerBar small{font-size:12px}dialog{width:calc(100% - 18px);max-height:94dvh;border-radius:16px}}
@media(max-width:400px){.main{padding-inline:12px}.hero{padding:22px 17px}.hero h1{font-size:2rem}.hero-actions{display:grid}.hero-actions button{width:100%}.grid{grid-template-columns:1fr;gap:15px}.card-title{font-size:19px}.card-meta{font-size:14px}.card-action{font-size:15px}.category-label{font-size:12px}.card-body{padding:15px}.cover-badge{font-size:12px}.favorite-btn{height:44px;width:44px}.nav-item{font-size:15px}.input-row{flex-wrap:wrap}.input-row input{flex-basis:100%}.input-row button{width:100%}.metric span{font-size:11px}.detail-actions button{flex:1 1 42%;line-height:1.3}.mobile-brand{font-size:15px}.mobile-head{padding-inline:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}.recipe-card:hover{transform:none}}
@media print{body{background:white!important}.sidebar,.mobile-head,.topbar,.footer,#timerBar,#toast,.detail-actions,.detail-close,.video-frame,.portions button,.shop-toolbar,.card-action{display:none!important}.main{margin:0;padding:0}.detail-body{padding:0}body:has(#recipeDialog[open]) .main{display:none}dialog[open]{position:static;width:100%;max-height:none;overflow:visible;margin:0;box-shadow:none;border:0}.detail-section{break-inside:avoid}dialog::backdrop{display:none}}
