/* One shared header for the marketing pages and calculator. */
body header,body.studio[data-style] header.header{max-width:1160px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #dce4dc;background:#fcfcf8;box-sizing:border-box}
body header .brand,body.studio[data-style] header.header .brand{display:inline-flex;align-items:center;gap:10px;font-family:Georgia,serif!important;font-size:20px!important;font-weight:400;line-height:1.2;color:#294d43;text-decoration:none;letter-spacing:0}
body header .brand img,body.studio[data-style] header.header .brand img{width:30px!important;height:30px!important;display:block}
body header nav,body.studio[data-style] header.header nav{display:flex;align-items:center;gap:24px;width:auto;font:14px/1.2 system-ui,sans-serif}
body header nav a,body.studio[data-style] header.header nav a{display:inline-flex;align-items:center;min-height:44px;padding:0;color:#526b5c;text-decoration:none}
body header .site-menu>summary{display:none}
@media(max-width:700px){body header,body.studio[data-style] header.header{padding:8px 16px;gap:12px;flex-direction:row;align-items:center;position:relative}body header .brand,body.studio[data-style] header.header .brand{font-size:18px!important}body header .brand img,body.studio[data-style] header.header .brand img{width:26px!important;height:26px!important}body header .site-menu>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;list-style:none;cursor:pointer}body header .site-menu>summary::-webkit-details-marker{display:none}body header .site-menu nav,body.studio[data-style] header.header .site-menu nav{position:absolute;right:16px;top:100%;z-index:90;flex-direction:column;align-items:stretch;gap:0;padding:8px 16px;border:1px solid #dce4dc;border-radius:8px;background:#fcfcf8;box-shadow:0 4px 16px #294d4315}body header .site-menu:not([open]) nav{display:none}body.studio[data-style] header.header .site-menu:not([open]) nav{display:none}}

/* Shared palette, body type and component edges. Editorial headings stay distinct from form labels. */
@media screen {
 body,body.studio[data-style]{--ink:#294d43;--paper:#fcfcf8;--muted:#64766a;--green:#294d43;--ui-line:#dce4dc;--ui-radius:7px;background:var(--paper);color:var(--ink);font-family:system-ui,sans-serif}
 body h1,body h2,body.studio[data-style] h1,body.studio[data-style] h2{font-family:Georgia,serif!important;font-weight:400;letter-spacing:0}
 body input,body select,body textarea,body button,body.studio[data-style] input,body.studio[data-style] select,body.studio[data-style] textarea,body.studio[data-style] button{font-family:system-ui,sans-serif;border-radius:7px}
 body .button,body.studio[data-style] button.solid{background:var(--green);border-color:var(--green);color:#fff}
 body.studio[data-style] .oil-row{background:transparent;border-radius:0;border-bottom:1px solid #edf0ec;padding:8px 0}
 body.studio[data-style] .tool-nav{background:transparent;border-bottom:1px solid var(--ui-line);gap:20px}
 body.studio[data-style] .tool-nav a{border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--muted)}
 body.studio[data-style] .tool-nav a[aria-current="page"]{color:var(--ink);box-shadow:inset 0 -2px var(--green)}
 body.studio[data-style] .tool-nav .jump-results{box-shadow:none;padding-inline:12px}
 body.studio[data-style] .card{border-color:var(--ui-line);border-radius:12px}
}

@media screen{body.studio[data-style] .tool-nav a,body.studio[data-style] .tool-nav a[aria-current="page"]{background:transparent!important;color:var(--muted)!important}body.studio[data-style] .tool-nav a[aria-current="page"]{color:var(--ink)!important}}

/* Main navigation serves tools and editorial guides as one site. */
body header nav a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-underline-offset:6px}
body.studio[data-style] .tool-nav a[hidden]{display:none!important}
body.studio[data-style] .tool-nav{justify-content:flex-end}
body.studio[data-view="recipes"] .tool-nav{display:none}
.guide-list{display:grid;gap:24px;margin-top:28px}.guide-entry{padding:20px 0;border-top:1px solid #dce4dc}.guide-entry h2{margin:4px 0 12px}.guide-entry h2 a{text-decoration:none}.guide-entry p{max-width:64ch}.guide-entry>a{font-size:14px}
