:root{--orange:#ff5010;--ink:#0c1120;--muted:#7c879e;--line:#e6eaf0;--bg:#f6f8fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:3px}button{color:inherit}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}header{height:75px;background:white;display:flex;align-items:center;gap:42px;padding:0 28px;border-bottom:1px solid #f1f3f6}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand>svg{width:40px;height:42px;fill:var(--orange)}.brand b{display:block;font-size:24px;letter-spacing:-1px;color:#080b10}.brand small{font-size:12px;color:var(--muted);display:block;margin-top:1px}.topnav{display:flex;gap:28px;align-items:stretch;height:100%}.topnav a{display:flex;align-items:center;gap:12px;position:relative;font-size:14px;white-space:nowrap}.topnav a.active{color:var(--orange)}.topnav a.active:after{content:'';height:2px;background:var(--orange);position:absolute;bottom:16px;left:0;right:0}.head-actions{display:flex;align-items:center;gap:18px;margin-left:auto}.head-actions button{border:0;background:none;padding:4px}.avatar{width:39px;height:39px;border-radius:50%;object-fit:cover}.divider{height:22px;border-left:1px solid var(--line)}#menu{font-size:22px}aside{position:absolute;top:75px;left:0;width:190px;border-right:1px solid var(--line);padding:23px 12px;min-height:calc(100vh - 75px)}aside a{display:flex;gap:20px;align-items:center;padding:10px 12px;border-radius:8px;font-size:13px;margin-bottom:4px;white-space:nowrap;color:#293650}aside a.active{background:#fff0e9;color:var(--orange)}main{margin-left:190px;padding:25px 20px 28px;min-height:calc(100vh - 230px);max-width:1500px}h1{font-size:36px;letter-spacing:-1.1px;line-height:1.13;margin:0 0 8px;font-weight:750}h2{font-size:23px;letter-spacing:-.7px;margin:29px 0 13px}h3{font-size:16px;margin:0}.lead{font-size:16px;color:var(--muted);margin:0 0 21px;line-height:1.4}.search{display:flex;align-items:center;gap:22px;background:white;border:1px solid #dce2eb;border-radius:10px;height:58px;padding:7px 7px 7px 16px}.search svg{width:24px;height:24px}.search input{border:0;outline:none;min-width:0;flex:1;font-size:16px;color:var(--ink);background:transparent}.search input::placeholder{color:var(--muted)}.primary{border:0;border-radius:8px;color:white;background:var(--orange);padding:13px 24px;white-space:nowrap}.ingredients-pop{display:flex;align-items:center;gap:7px;margin:14px 0;overflow:auto;scrollbar-width:none;white-space:nowrap}.ingredients-pop strong{font-size:12px;font-weight:500}.chip{border:1px solid var(--line);background:#f3f5f7;border-radius:8px;padding:7px 10px;font-size:11px;white-space:nowrap}.chip.active{background:#ffe1d3;color:var(--orange);border-color:#ffe1d3}.filters{display:grid;grid-template-columns:1.3fr 1.07fr .65fr;gap:10px}.filter{background:white;padding:16px;border-radius:9px;min-width:0;border:1px solid #f0f2f5}.filter>label{display:flex;align-items:center;gap:10px;font-size:12px;margin-bottom:13px}.filter>div{display:flex;gap:6px;flex-wrap:wrap}.filter select{width:100%;background:white;border:1px solid var(--line);border-radius:7px;padding:8px}.filter .chip{border:0;padding:8px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:28px;margin-bottom:12px}.section-head h2{margin:0}.text-link{color:var(--orange);font-size:13px;white-space:nowrap}.text-link svg{width:17px;margin-left:8px}.recipe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.card{background:white;border:1px solid #ecf0f4;border-radius:9px;overflow:hidden;box-shadow:0 3px 9px #25395103;min-width:0;transition:box-shadow .2s}.card:hover{box-shadow:0 6px 20px #25395112}.card>a{display:block}.card img{width:100%;aspect-ratio:1.23;object-fit:cover;display:block}.card-body{padding:10px 12px 8px}.card h3{font-size:14px;line-height:1.26;font-weight:600;min-height:36px}.card-meta{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:11px;margin-top:12px;white-space:nowrap}.card-meta span{display:flex;align-items:center;gap:6px}.card-meta svg{width:17px;height:17px}.heart{margin-left:auto;border:0;background:transparent;color:var(--orange);padding:0}.heart svg{width:23px;height:23px}.heart.saved svg{fill:var(--orange);stroke:var(--orange)}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.collection{position:relative;overflow:hidden;border-radius:8px;min-height:200px;display:flex;align-items:flex-end;color:white;padding:16px}.collection img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.collection:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#000b)}.collection>div{position:relative;z-index:1;width:100%}.collection h3{font-size:18px}.collection p{font-size:13px;line-height:1.4;margin:5px 40px 0 0}.round{position:absolute;right:0;bottom:4px;border-radius:50%;background:white;color:var(--ink);width:35px;height:35px;display:grid;place-items:center}.crumbs{color:var(--muted);font-size:12px;margin:0 0 23px;display:flex;gap:8px;align-items:center}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:16px}.category-card img{aspect-ratio:1.34}.category-card .card-body{padding:12px 15px 14px;position:relative}.category-card h3{min-height:0;font-size:16px}.category-card p{color:var(--muted);margin:9px 0 0;font-size:13px}.category-card .arrow{position:absolute;right:15px;top:25px;color:var(--orange)}.occasions{margin-top:30px}.occasion-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.occasion{background:white;padding:22px 16px;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:16px;font-size:13px}.occasion>svg{color:var(--orange);width:28px;height:28px}.occasion small{display:block;color:var(--muted);margin-top:6px}.occasion .arrow{margin-left:auto;color:var(--orange)}.detail h1{font-size:30px}.detail .lead{font-size:14px;max-width:700px;margin:10px 0 19px}.author-row{display:flex;align-items:center;gap:12px;margin-bottom:18px;font-size:12px}.author-row .author-text{line-height:1.6}.author-text small{color:var(--muted);display:block}.rating{border-left:1px solid var(--line);padding-left:18px;margin-left:8px;display:flex;gap:12px;align-items:center}.star{color:#ff7820;font-size:25px}.rating b{font-size:17px}.rating a{color:var(--muted);text-decoration:underline}.detail-actions{display:flex;gap:8px;margin-left:auto}.outline{background:white;border:1px solid var(--line);border-radius:8px;padding:10px 16px;font-size:12px;display:inline-flex;align-items:center;gap:10px}.recipe-layout{display:grid;grid-template-columns:1.34fr 1fr;gap:13px}.hero-food{width:100%;height:100%;min-height:300px;object-fit:cover;border-radius:7px}.ingredient-panel{background:white;border-radius:10px;padding:18px}.ingredient-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.ingredient-head h2{font-size:20px;margin:0}.portions{display:flex;align-items:center;gap:12px;background:var(--bg);border:1px solid var(--line);border-radius:7px;white-space:nowrap;font-size:12px}.portions button{border:0;background:none;padding:5px 9px;font-size:18px;color:#52617b}.ingredient-line{display:flex;align-items:flex-start;gap:12px;color:#596780;font-size:12px;line-height:1.5;padding:12px 0;border-bottom:1px solid var(--line);cursor:pointer}.ingredient-line:last-child{border:0}.ingredient-line input{appearance:none;width:16px;height:16px;border:1.5px solid #a6afbf;border-radius:3px;flex-shrink:0;margin:1px 0 0}.ingredient-line input:checked{background:var(--orange);border-color:var(--orange)}.ingredient-line:has(input:checked) span{text-decoration:line-through;opacity:.5}.ingredient-line .quantity{margin-left:auto;white-space:nowrap}.stats{background:white;display:flex;justify-content:space-around;border-radius:9px;padding:18px 10px;margin:15px 0 26px;gap:10px}.stat{display:flex;gap:10px;align-items:flex-start;border-right:1px solid var(--line);padding-right:12px;font-size:13px}.stat:last-child{border:0}.stat svg{width:23px;height:23px}.stat small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.step{display:grid;grid-template-columns:35px 1fr 34%;gap:14px;background:white;border-radius:9px;padding:9px 9px 9px 16px;margin-bottom:9px;min-height:148px}.step-number{background:var(--orange);color:white;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;font-size:17px;margin-top:4px}.step h3{font-size:15px;margin:7px 0 9px}.step p{margin:0;color:#778399;font-size:13px;line-height:1.5}.step img{width:100%;height:100%;max-height:160px;object-fit:cover;border-radius:8px}.tip{background:#fff3ec;padding:18px 22px;border-radius:8px;display:flex;gap:18px;margin-top:14px}.tip svg{color:var(--orange);width:27px;height:27px}.tip h3{color:var(--orange);font-size:14px}.tip p{font-size:13px;line-height:1.5;color:#778399;margin:8px 0 0}.detail .recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail .card img{aspect-ratio:1.6}.empty{background:white;border:1px solid var(--line);border-radius:10px;padding:35px;text-align:center;color:var(--muted);grid-column:1/-1}.reset{margin-top:15px}footer{background:white;padding:25px 28px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}footer>div{display:flex;align-items:center;justify-content:space-between;gap:20px}footer .brand b{font-size:18px}footer .brand>svg{width:34px;height:34px}footer .brand small{font-size:10px}footer p{border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.bottomnav{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#172034;color:white;padding:12px 20px;border-radius:8px;z-index:10;opacity:0;pointer-events:none;transition:.2s;white-space:nowrap}#toast.show{opacity:1;transform:translate(-50%,0)}.mobile-actions{display:none}.result-note{color:var(--muted);font-size:13px;margin-bottom:14px}.detail{max-width:1100px}.reviews{background:white;padding:20px;border-radius:9px;margin-top:20px}.reviews summary{cursor:pointer;font-weight:600}.reviews p{line-height:1.6;color:var(--muted)}@media(min-width:1300px){main{padding:32px;}.recipe-grid{gap:16px}.card h3{font-size:16px}.card-meta{font-size:12px}.category-grid{gap:20px}}@media(max-width:1000px) and (min-width:701px){header{gap:30px;padding:0 22px}.topnav{gap:22px}.topnav a{font-size:12px;gap:10px}.brand b{font-size:22px}.head-actions{gap:10px}aside{width:180px}main{margin-left:180px;padding:25px}.filters{grid-template-columns:1.2fr 1fr}.filter:last-child{grid-column:1/-1;display:flex;align-items:center;gap:15px;padding:10px 16px}.filter:last-child label{margin:0}.filter:last-child select{width:auto;margin-left:auto}.card-meta{gap:5px;font-size:10px}.card-body{padding:10px 8px}.detail main{padding:20px}.detail-actions .outline{padding:10px}.ingredient-panel{padding:16px}.ingredient-line{font-size:12px}.occasion-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){body{font-size:14px}header{height:69px;padding:0 20px;gap:10px}.brand{gap:9px}.brand>svg{width:39px;height:42px}.brand b{font-size:24px}.brand small{font-size:12px}.topnav,.head-actions .avatar,.divider{display:none}.head-actions{gap:19px}.head-actions svg.icon{width:25px;height:25px}#menu{font-size:27px;font-weight:300}aside{display:none;position:fixed;z-index:8;top:69px;bottom:66px;overflow:auto;width:240px;background:white;box-shadow:20px 0 60px #0c112033}aside.open{display:block}main{margin-left:0;padding:22px 20px 28px;min-height:calc(100vh - 69px)}h1{font-size:30px;letter-spacing:-.8px;line-height:1.08;margin-bottom:8px}.home-title{font-size:32px;max-width:350px}.lead{font-size:16px;line-height:1.25;margin-bottom:16px}.search{gap:13px;height:47px;padding:5px 5px 5px 11px;border-radius:9px}.search svg{width:22px;height:22px}.search input{font-size:13px}.primary{padding:10px 15px;font-size:13px}.ingredients-pop{gap:6px;flex-wrap:nowrap;margin:9px 0 11px;position:relative;padding-top:20px}.ingredients-pop strong{position:absolute;top:0;left:0;font-size:12px;font-weight:600}.ingredients-pop .chip{font-size:12px;border-radius:18px;padding:7px 11px}.filters{grid-template-columns:repeat(3,1fr);gap:8px}.filter{padding:12px 8px;position:relative;text-align:center}.filter>label{font-size:12px;gap:7px;justify-content:center;margin:0}.filter>label:after{content:'⌄';font-size:15px}.filter>div{display:none;position:absolute;top:100%;left:0;width:180px;padding:10px;background:white;box-shadow:0 10px 20px #25395120;z-index:3;border-radius:8px}.filter.open>div{display:flex}.filter>select{position:absolute;inset:0;opacity:0;cursor:pointer}.filter svg{width:20px;height:20px}.filter .long{display:none}.section-head{margin-top:20px;margin-bottom:10px;align-items:center}.section-head h2,h2{font-size:22px;letter-spacing:-.6px}.text-link{font-size:11px}.text-link svg{width:14px;margin-left:3px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card{border-radius:9px}.card img{aspect-ratio:1.68}.card-body{padding:8px 9px 9px}.card h3{font-size:13px;min-height:33px;line-height:1.25}.card-meta{margin-top:11px;gap:6px;font-size:10px}.card-meta span{gap:4px}.card-meta svg{width:14px;height:14px}.heart svg{width:19px;height:19px}.collection-grid{grid-template-columns:1fr;gap:8px}.collection{min-height:126px;padding:12px}.collection h3{font-size:18px}.collection p{font-size:13px;max-width:250px}.round{width:35px;height:35px}.crumbs{margin:0 0 18px;font-size:12px;gap:6px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:11px}.category-card img{aspect-ratio:1.5}.category-card .card-body{padding:10px 12px}.category-card h3{font-size:14px;min-height:0}.category-card p{font-size:12px;margin-top:5px}.category-card .arrow{right:11px;top:20px}.category-card .arrow svg{width:18px;height:18px}.category-title{font-size:27px}.category-lead{font-size:18px;margin-bottom:19px}.occasions h2{margin-top:22px;margin-bottom:5px}.occasions .lead{font-size:14px;margin-bottom:13px}.occasion-grid{grid-template-columns:repeat(2,1fr);gap:10px}.occasion{padding:13px 10px;gap:10px;font-size:11px}.occasion>svg{width:25px;height:25px}.occasion small{font-size:10px}.occasion .arrow{display:none}footer{padding:20px 20px 88px}footer>div{flex-wrap:wrap}footer>div>span{display:none}.bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;height:65px;background:#fffffff5;backdrop-filter:blur(15px);z-index:9;justify-content:space-around;border-top:1px solid #eef0f4;padding-bottom:env(safe-area-inset-bottom)}.bottomnav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;position:relative;font-size:11px;color:#65738d;flex:1}.bottomnav svg{width:23px;height:23px}.bottomnav .active{color:var(--orange)}.bottomnav .active:after{content:'';position:absolute;bottom:4px;left:20%;right:20%;height:2px;background:var(--orange)}#toast{bottom:80px;font-size:12px}.detail h1{font-size:24px;line-height:1.14;letter-spacing:-.5px}.detail .lead{font-size:15px;line-height:1.3;margin-top:9px;margin-bottom:15px}.author-row{gap:10px;margin-bottom:14px;font-size:11px}.author-row .avatar{width:35px;height:35px}.rating{padding-left:12px;margin-left:0;gap:8px}.rating b{font-size:16px}.rating .star{font-size:23px}.detail-actions{display:none}.recipe-layout{display:flex;flex-direction:column;gap:0}.hero-food{height:auto;min-height:0;aspect-ratio:1.72;order:0}.ingredient-panel{order:3;margin-top:12px;padding:13px 14px}.ingredient-head h2{font-size:21px}.portions{font-size:12px;gap:8px}.ingredient-line{font-size:14px;padding:9px 0;gap:13px}.ingredient-line input{width:17px;height:17px}.stats{order:1;padding:12px 9px;gap:8px;margin:10px 0 0}.stat{font-size:13px;gap:8px;padding-right:7px;flex:1}.stat small{font-size:11px;line-height:1.15;margin-top:5px}.stat svg{width:23px;height:23px}.stat.nutrition{display:none}.mobile-actions{display:flex;gap:8px;order:2;margin-top:9px}.mobile-actions button{flex:1;justify-content:center;padding:11px;font-size:12px}.detail h2{font-size:22px;margin-top:19px}.step{grid-template-columns:28px 1fr;gap:10px;padding:10px;min-height:0}.step-number{width:28px;height:28px;font-size:17px;margin:0}.step h3{font-size:15px;margin:3px 0 8px}.step img{grid-column:2;grid-row:2;height:100px;max-height:none}.step>div:nth-child(2){display:contents}.step h3{grid-column:2;grid-row:1}.step p{grid-column:2;grid-row:3;font-size:14px;line-height:1.35}.tip{padding:14px;gap:10px}.tip p{font-size:12px}.detail .recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail .recipe-grid .card:last-child{display:none}.result-note{font-size:12px}}@media(max-width:370px){main{padding-left:13px;padding-right:13px}.brand b{font-size:21px}.brand small{font-size:10px}.head-actions{gap:12px}.card-meta{font-size:9px;gap:4px}.card-body{padding:8px 7px}.filter>label{font-size:11px}.home-title{font-size:30px}.ingredient-head{gap:5px}.ingredient-head h2{font-size:19px}}@media print{header,aside,footer,.bottomnav,.detail-actions,.mobile-actions,.section-head,.recipe-grid,.reviews{display:none!important}main{margin:0;padding:0}.recipe-layout{display:grid;grid-template-columns:1fr 1fr}.hero-food{max-height:230px}.step{break-inside:avoid}.step img{height:90px}.tip{break-inside:avoid}}
.tip{position:static;width:auto;min-height:0;border:0}.text-step{grid-template-columns:35px 1fr;min-height:100px;padding-bottom:18px}.text-step>div{grid-column:2}.text-step h3{margin-top:7px}.detail .rating b{font-size:12px;font-weight:400;color:var(--muted)}@media(max-width:700px){.text-step{grid-template-columns:28px 1fr}.text-step>div{display:block}.text-step h3{margin-top:3px}.detail .rating{display:none}}@media(min-width:701px){.recipe-layout>.stats{grid-column:1/-1}.desktop-find:after{content:' рецепты'}}
/* Center the complete site, including header, sidebar and footer. */
body{width:100%;max-width:1600px;margin:0 auto;position:relative}

@media(min-width:701px){#sidebar{width:300px}main{margin-left:300px;max-width:none}#sidebar a{font-size:14px;gap:18px;padding:11px 15px}.detail{max-width:none}.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){.recipe-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.head-actions .avatar{display:none}.account-link{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font-size:13px}.account-link svg{width:23px;height:23px}.account-label{max-width:130px;overflow:hidden;text-overflow:ellipsis}.auth-card{max-width:460px;margin:25px auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px}.auth-tabs{display:flex;gap:8px;margin-bottom:24px}.auth-tabs button{flex:1;border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:11px}.auth-tabs button.active{color:var(--orange);background:#fff0e9;border-color:#ffd2bf}.auth-card label{display:block;margin:14px 0 7px;font-size:14px}.auth-card input:not([type=checkbox]){width:100%;padding:12px;border:1px solid #d9dfe8;border-radius:8px;background:white}.auth-card .primary{width:100%;margin-top:20px}.auth-note{font-size:12px;color:var(--muted);line-height:1.5}.auth-error{color:#b91c1c;padding:12px;background:#fff1f1;border-radius:7px;line-height:1.4}.auth-success{color:#166534;padding:12px;background:#ecfdf5;border-radius:7px}.auth-consent{display:flex!important;gap:9px;line-height:1.5;font-size:12px!important;align-items:flex-start}.auth-consent input{margin-top:3px}.auth-consent a{color:var(--orange);text-decoration:underline}.info-body{max-width:800px;font-size:15px;line-height:1.65}.info-body h2{margin-top:24px}.password-wrap{display:flex;gap:8px}.password-wrap button{border:1px solid var(--line);border-radius:8px;background:var(--bg);padding:8px;font-size:12px}.auth-card button:disabled{opacity:.6;cursor:wait}@media(max-width:1000px) and (min-width:701px){header{gap:18px}.topnav{gap:14px}.topnav a{gap:5px}.head-actions{gap:7px}.account-label{display:none}.brand b{font-size:20px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-layout{grid-template-columns:1fr}.ingredient-panel{padding:20px}.collection-grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.filter:last-child{grid-column:auto}.step{grid-template-columns:30px 1fr}.step img{grid-column:2;height:140px}.stats{flex-wrap:wrap}.brand small{font-size:10px}}@media(max-width:700px){.account-label{display:none}.head-actions{gap:12px}.auth-card{padding:20px;margin-top:15px}.detail .rating{display:none}header{padding-left:14px;padding-right:14px}.brand b{font-size:21px}}
.card img{height:auto}.hero-food{align-self:stretch}#sidebar{height:auto}.head-actions .account-link{margin-left:0}

.auth-text{border:0;background:transparent;padding:0;color:var(--orange);font:inherit;cursor:pointer;text-decoration:underline}.auth-card .outline{margin:5px 4px 5px 0}.auth-card .auth-success{line-height:1.5}.auth-card a.outline[target]{overflow-wrap:anywhere}
.card-rating{font-size:11px;color:#7c879e;margin-top:8px;min-height:14px}.recipe-rating-link{color:var(--orange);font-size:13px;white-space:nowrap}.recipe-reviews{margin:28px 0;background:white;border:1px solid var(--line);border-radius:12px;padding:22px;scroll-margin-top:20px}.recipe-reviews h2{margin:0}.recipe-reviews .section-head{margin:0 0 10px}.review-summary{font-size:14px;color:var(--orange);white-space:nowrap}.review-note,.review-empty{font-size:13px;color:var(--muted);line-height:1.5}.review-note a{color:var(--orange);text-decoration:underline}.review-card{padding:16px 0;border-bottom:1px solid var(--line)}.review-card-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px}.review-card-top time{color:var(--muted);font-size:11px;margin-left:auto}.review-stars{color:var(--orange);letter-spacing:1px;font-size:18px}.review-card p{font-size:14px;line-height:1.6;margin-bottom:2px;white-space:pre-wrap;overflow-wrap:anywhere}#review-pages{display:flex;gap:10px;margin-top:12px}#review-own{margin-top:22px;padding-top:5px}.review-status{border:1px solid #ffddcb;border-radius:8px;padding:12px;background:#fff8f3;font-size:13px}.review-status p{margin:7px 0 0}#review-form{margin-top:15px}#review-form>label:not(.review-cooked){display:block;font-size:13px;font-weight:600;margin:14px 0}#review-form input[type=text],#review-form input:not([type]),#review-form textarea{display:block;width:100%;margin-top:7px;border:1px solid #d7dfea;border-radius:8px;padding:11px;font:inherit;color:var(--ink)}#review-form textarea{resize:vertical;line-height:1.5}.review-cooked{display:flex;gap:8px;align-items:center;font-size:13px;line-height:1.4}.review-cooked input{accent-color:var(--orange)}.review-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.review-delete{color:#b42318}.rating-picker{border:0;padding:0;margin:15px 0}.rating-picker legend{font-size:13px;font-weight:600;margin-bottom:6px}.rating-picker>div{display:flex;gap:7px}.rating-picker label{position:relative;color:#ccd3df;font-size:32px;line-height:1;cursor:pointer;padding:4px}.rating-picker label.picked{color:var(--orange)}.rating-picker input{position:absolute;opacity:0;width:1px;height:1px}.rating-picker label:has(input:focus-visible){outline:2px solid var(--orange);border-radius:4px}.review-status .review-note{font-size:12px}@media(max-width:700px){.recipe-reviews{padding:16px}.recipe-reviews .section-head{align-items:flex-start;flex-wrap:wrap;gap:8px}.review-card-top{gap:7px}.review-summary{font-size:12px}.review-card-top time{margin-left:0;width:100%}.review-actions .primary{width:100%}.review-actions .outline{flex:1;justify-content:center}.detail .author-row{flex-wrap:wrap}.detail .rating.recipe-rating-link{display:inline-flex;border:0;margin:0;padding:0;font-size:12px}.card-rating{font-size:10px}}@media print{.recipe-reviews,.card-rating,.recipe-rating-link{display:none!important}}

/* Shopping list */
.shop-add-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:22px}.shop-add-row a{font-size:14px;color:var(--accent,#bd6646)}.shop-note{color:#756e66;font-size:14px;line-height:1.6;margin:10px 0}.shop-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:26px 0}.shop-toolbar>span{margin-right:auto}.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px}.shop-items,.shop-recipes{border:1px solid #e5dfd4;border-radius:16px;padding:20px;background:#fffdf9}.shop-item{display:flex;align-items:center;gap:14px;min-height:54px;border-bottom:1px solid #eee8df;cursor:pointer}.shop-item:last-child{border:0}.shop-item input{width:20px;height:20px;accent-color:#ae6241;flex-shrink:0}.shop-item strong{margin-left:auto;white-space:nowrap;font-size:14px}.shop-item.is-done span,.shop-item.is-done strong{text-decoration:line-through;color:#888}.shop-recipes h2{font-size:22px;margin-top:0}.shop-recipes h3{font-size:16px;margin:0 0 12px}.shop-recipes section{border-bottom:1px solid #eee8df;padding:14px 0}.shop-recipes select{margin:0 16px 0 8px;padding:6px;border:1px solid #d9d2c6;border-radius:6px;background:white}.shop-recipes .text-link{border:0;background:none;cursor:pointer}.shopping-page button:disabled{opacity:.55;cursor:wait}@media(max-width:1000px){.shop-layout{grid-template-columns:1fr}.shop-recipes{order:-1}}@media(max-width:500px){.shop-items,.shop-recipes{padding:14px}.shop-item{gap:10px;font-size:14px}.shop-toolbar .outline{font-size:13px;padding:9px}.shop-item strong{font-size:13px}}@media print{.shopping-page .crumbs,.shopping-page .shop-note,.shopping-page .shop-toolbar,.shopping-page .shop-recipes{display:none!important}.shopping-page .shop-layout{display:block}.shopping-page .shop-items{border:0;padding:0}.shopping-page .shop-item{break-inside:avoid}.shopping-page .shop-item.is-done{display:none}.shopping-page .lead{font-size:16px}}

@media print{.shop-add-row{display:none!important}}

/* Focused cooking mode */
body.cooking-open{overflow:hidden}.cook-dialog{width:min(850px,calc(100% - 28px));max-height:calc(100dvh - 28px);border:1px solid #e5dfd4;border-radius:20px;padding:30px;background:#fffdf9;color:#342e27;box-sizing:border-box;overscroll-behavior:contain}.cook-dialog::backdrop{background:rgba(36,29,22,.65)}.cook-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.cook-top h2{margin:8px 0 0;font-size:28px}.cook-top small{font-size:11px;letter-spacing:2px;color:#a65a36}.cook-top button{flex-shrink:0}.cook-note{font-size:13px;line-height:1.6;color:#7b7167}.cook-progress{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin-top:24px}.cook-dialog progress{width:100%;height:9px;accent-color:#ff5010;margin:12px 0 22px}.cook-step:focus{outline:none}.cook-step h3{font-size:27px;margin:0 0 16px}.cook-step>p{font-size:22px;line-height:1.65;margin:0 0 20px;white-space:normal}.cook-step img{width:100%;max-height:300px;object-fit:cover;border-radius:12px}.cook-check{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:18px;cursor:pointer}.cook-check input{width:24px;height:24px;accent-color:#ff5010}.cook-navigation{display:flex;justify-content:space-between;gap:12px;align-items:center}.cook-navigation select{padding:10px;border-radius:8px;border:1px solid #ddd3c7;background:white}.cook-timer{margin-top:28px;padding:22px;border-radius:14px;background:#f4eee4}.cook-timer h3{font-size:21px;margin:0}.cook-timer p{font-size:14px;line-height:1.5}.cook-timer output{font-size:42px;font-variant-numeric:tabular-nums;display:block;margin:12px 0}.cook-timer form{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.cook-timer input{width:88px;padding:10px;border:1px solid #d3c7b7;border-radius:8px;background:white;font:inherit}.cook-timer-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.cook-dialog button:disabled{opacity:.45;cursor:default}.cook-complete{background:#e5f0dc;color:#38572b;padding:16px;border-radius:10px}.cook-dialog .text-link{border:0;background:none;cursor:pointer;margin-top:12px}.cook-dialog button:focus-visible,.cook-dialog input:focus-visible,.cook-dialog select:focus-visible{outline:3px solid #a65a36;outline-offset:3px}@media(max-width:600px){.cook-dialog{padding:18px;width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.cook-top h2{font-size:21px}.cook-top button{padding:8px;font-size:12px}.cook-step h3{font-size:23px}.cook-step>p{font-size:19px}.cook-navigation{gap:8px}.cook-navigation button{font-size:13px;padding:10px}.cook-timer{padding:16px}}@media print{.cook-dialog{display:none!important}}

.personal-notes{margin:36px 0;padding:26px;border:1px solid #e5dfd4;border-radius:16px;background:#fffdf9}.personal-notes h2{margin-top:0}.note-description{font-size:14px;line-height:1.6;color:#776e63}.personal-notes label{display:block;font-weight:600;margin:18px 0 10px}.personal-notes textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:140px;padding:14px;border:1px solid #d9d0c3;border-radius:10px;background:white;color:inherit;font:inherit;line-height:1.6}.note-buttons{display:flex;flex-wrap:wrap;gap:12px}.personal-notes button:disabled{opacity:.5}.personal-notes #note-status{font-size:14px;line-height:1.6}.personal-notes textarea:focus-visible{outline:2px solid #ff5010;outline-offset:2px}@media(max-width:600px){.personal-notes{padding:18px}.note-buttons button{font-size:13px;padding:10px}}@media print{.personal-notes{display:none!important}}
/* Recipe reading and expandable sections, v12. */
p.lead,.detail p.lead,.step p{color:#39465b}
.author-row .avatar{object-fit:contain;background:transparent;border-radius:0}
.recipe-history{margin:0 0 24px;padding:18px 22px;border:1px solid var(--line);border-radius:10px;background:#fff}
.recipe-history h2{margin:0 0 12px;font-size:22px}
.recipe-history p{margin:0 0 12px;color:#39465b;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.recipe-history p:last-child{margin-bottom:0}
.recipe-fold{margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.recipe-fold>summary{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;padding:16px 20px;color:var(--ink);font-size:16px;font-weight:600}
.recipe-fold>summary::-webkit-details-marker{display:none}
.recipe-fold>summary:after{content:'+';margin-left:auto;font-size:24px;font-weight:400;color:var(--orange)}
.recipe-fold[open]>summary:after{content:'−'}
.recipe-fold>summary:focus-visible,.step-photo:focus-visible{outline:3px solid var(--orange);outline-offset:-3px}
.recipe-fold>.personal-notes,.recipe-fold>.recipe-reviews{margin:0;border:0;border-radius:0}
.step-photo{display:block;min-width:0;cursor:zoom-in;border-radius:8px;overflow:hidden}
.step-photo>img{display:block;width:100%;height:100%;min-height:148px;max-height:160px;object-fit:cover}
body.step-photo-open{overflow:hidden}
.step-photo-dialog{width:min(1100px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:16px;border:0;border-radius:14px;background:#fff;color:#253148;box-sizing:border-box;overscroll-behavior:contain}
.step-photo-dialog::backdrop{background:rgba(10,16,25,.8)}
.photo-toolbar,.photo-navigation{display:flex;justify-content:space-between;align-items:center;gap:12px}
.photo-toolbar>span{font-weight:600}.photo-toolbar button{flex-shrink:0}
.step-photo-dialog figure{margin:14px 0}
.step-photo-dialog figure img{display:block;width:100%;height:auto;max-height:calc(100dvh - 210px);object-fit:contain;border-radius:7px}
.step-photo-dialog figcaption{padding-top:10px;text-align:center;font-size:14px;line-height:1.5}
.photo-navigation button[hidden]{display:none}
@media(max-width:1000px) and (min-width:701px){.step>.step-photo{grid-column:2}.step-photo>img{height:140px;min-height:0}}
@media(max-width:700px){.recipe-history{padding:15px;margin-bottom:18px}.recipe-history h2{margin-top:0}.step>.step-photo{grid-column:2;grid-row:2}.step-photo>img{height:100px;min-height:0;max-height:none}.step-photo-dialog{padding:12px}.photo-toolbar>span{font-size:13px}.photo-navigation .outline{padding:10px;font-size:12px}}
@media print{.recipe-fold,.step-photo-dialog{display:none!important}.step-photo>img{height:90px;min-height:0}.recipe-history{break-inside:avoid}}

/* Mobile recipe adjustments, v14. */
.step-photo-dialog figure{touch-action:pan-y pinch-zoom}
@media(max-width:700px){
 .detail .author-row{gap:8px}
 .detail .author-row .author-text{min-width:0;flex:1}
 .detail .author-row .recipe-rating-link{display:flex;margin-left:auto;flex-shrink:0;padding-left:8px;font-size:11px;text-align:right}
 .detail .stat small{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .detail .shop-add-row>a{margin-left:auto;text-align:right}
}
