/* Dadi's Rasoi: cook-mode buttons use Paheli's button language (the prem.css teal rule on .rs-studio .pz-btn painted the ghost button teal under dark text),
   readable labels on the page and in the cook-mode header, and a night variant for cook mode. Layout and sizes are unchanged.
   Undo: delete this file, theme.js and their tags in index.html. */
html body .rs-studio{--rs-accent:#145C63;--rs-accent-hover:#0F474D;--rs-on-accent:#fff;--rs-tint:rgba(20,92,99,.08);--rs-hover-tint:rgba(20,92,99,.12);--rs-sec-ink:#145C63;--rs-surface:#fff;--rs-off-bg:#E4E7EB;--rs-off-ink:#56606D;--rs-ring:rgba(22,32,44,.14)}
html body .rs-studio .pz-nav .pz-btn{background:var(--rs-accent)!important;color:var(--rs-on-accent)!important;box-shadow:none;opacity:1;transition:background .15s,transform .12s}
html body .rs-studio .pz-nav .pz-btn:hover:not(:disabled){background:var(--rs-accent-hover)!important}
html body .rs-studio .pz-nav .pz-btn:active:not(:disabled){transform:scale(.98)}
html body .rs-studio .pz-nav .pz-btn.ghost{background:var(--rs-surface)!important;color:var(--rs-sec-ink)!important;box-shadow:inset 0 0 0 1.5px var(--rs-accent)}
html body .rs-studio .pz-nav .pz-btn.ghost:hover:not(:disabled){background:var(--rs-hover-tint)!important}
html body .rs-studio .pz-nav .pz-btn:disabled{background:var(--rs-off-bg)!important;color:var(--rs-off-ink)!important;box-shadow:none;opacity:1!important;cursor:default}
html body .rs-studio .rs-seg button[aria-pressed="true"]{background:var(--rs-tint);color:var(--rs-sec-ink);box-shadow:inset 0 0 0 2px var(--rs-accent)}
html body .rs-studio .rs-seg button[aria-pressed="true"]::before{content:"\2713";margin-right:6px;font-weight:700}
html body .rs-studio .rs-seg button{color:#46505D}
/* cook-mode header: a soft dark layer keeps white text readable on every recipe colour */
html body .rs-studio .rs-head{position:relative;isolation:isolate}
html body .rs-studio .rs-head::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:rgba(10,14,20,.32);pointer-events:none}
html body .rs-studio .rs-ht i{opacity:1}
/* page: labels on the dark hero pills, section labels, tip and recipe-list captions */
html body main.rs .rs-hero.rm-hero .rs-key span.k-kid{color:#1E5F4E!important}
html body main.rs .rs-hero.rm-hero .rs-key span.k-big{color:#8A2D45!important}
html body main.rs .rs-hero.rm-hero .rs-key span.k-time{color:#5A3A1E!important}
html body .rs .rs-body h3{color:#7A530F!important}
html body .rs-studio .rs-panes h3{color:#46505D}
html body .rs-studio.s2-studio>.rs-tip::before,html body .rs-body .rs-tip::before{color:#7A530F}
html body main.rs>.rs-toc::before{color:#46505D}
html body .rs-toc a,html body .rs-links a{color:#145C63}
@media (prefers-reduced-motion:reduce){html body .rs-studio .pz-nav .pz-btn,html body .rs-studio .s2-open{transition:none!important}html body .rs-studio .pz-nav .pz-btn:active{transform:none!important}}
/* ---------- night: cook mode only ---------- */
html[data-rs-theme="dark"] body .rs-studio{--rs-accent:#4FB3C4;--rs-accent-hover:#6BC6D4;--rs-on-accent:#0B1218;--rs-tint:rgba(79,179,196,.16);--rs-hover-tint:rgba(79,179,196,.22);--rs-sec-ink:#7FCBD8;--rs-surface:#18222D;--rs-off-bg:#243140;--rs-off-ink:#97A5B3;--rs-ring:#34445A;color-scheme:dark;color:#E9EEF2;--ink:#E9EEF2;--muted:#9BA8B5;--line:#263341}
html[data-rs-theme="dark"] body .rs-studio.s2-studio{background:#0F1720!important}
html[data-rs-theme="dark"] body .rs-studio .s2-back{background:#18222D;color:#E9EEF2;box-shadow:0 0 0 1px #34445A}
html[data-rs-theme="dark"] body .rs-studio .s2-title{color:#E9EEF2}
html[data-rs-theme="dark"] body .rs-studio .rs-seg{background:#18222D;box-shadow:inset 0 0 0 1px #34445A}
html[data-rs-theme="dark"] body .rs-studio .rs-seg button{color:#B7C3CE}
html[data-rs-theme="dark"] body .rs-studio .rs-seg button[aria-pressed="true"]{color:#7FCBD8}
html[data-rs-theme="dark"] body .rs-studio .rs-panes{background:#18222D;border-color:#263341}
html[data-rs-theme="dark"] body .rs-studio .rs-need,html[data-rs-theme="dark"] body .rs-studio .rs-steps{background:#18222D;border-color:#263341}
html[data-rs-theme="dark"] body .rs-studio .rs-panes h3{color:#B7C3CE}
html[data-rs-theme="dark"] body .rs-studio .rs-steps li,html[data-rs-theme="dark"] body .rs-studio .rs-steps li.kid,html[data-rs-theme="dark"] body .rs-studio .rs-steps li.big{background:#1F2B38;color:#DCE4EA}
html[data-rs-theme="dark"] body .rs-studio li.kid b{color:#9BDDB5}
html[data-rs-theme="dark"] body .rs-studio li.big b{color:#F2BE91}
html[data-rs-theme="dark"] body .rs-studio li.kid::marker{color:#6CC08F}
html[data-rs-theme="dark"] body .rs-studio li.big::marker{color:#E0A06A}
html[data-rs-theme="dark"] body .rs-studio .rs-steps li.kid::before{background:#2F7A4F}
html[data-rs-theme="dark"] body .rs-studio .rs-steps li.big::before{background:#8A4A1C}
html[data-rs-theme="dark"] body .rs-studio .rs-need{background:#18222D}
html[data-rs-theme="dark"] body .rs-studio .rs-tip,html[data-rs-theme="dark"] body .rs-studio .rs-fun{background:#2A2118;color:#F2D9BF;border-color:transparent}
html[data-rs-theme="dark"] body .rs-studio.s2-studio>.rs-tip::before{color:#E0A06A}
html[data-rs-theme="dark"] body .rs-studio .pz-cnt{color:#B7C3CE}
html[data-rs-theme="dark"] body .rs-studio .pz-nav .pz-btn:focus-visible,html[data-rs-theme="dark"] body .rs-studio .s2-back:focus-visible{outline-color:#F2A65A}
