/* The shared header stays in normal flow and visible throughout page scrolling. */
:root{--site-header-height:87px}
html{scroll-padding-top:calc(var(--site-header-height) + 12px)}
.header{position:sticky;top:0;z-index:200;box-shadow:0 3px 12px #073f301a}
.skip{z-index:210}
.story-toc li>a{display:block}
@media(min-width:761px){
  .story-toc{top:calc(var(--site-header-height) + 24px)}
  .inputs-panel,.visual-calculator .result{top:calc(var(--site-header-height) + 18px)}
  .wizard-ready .inputs{max-height:calc(100svh - var(--site-header-height) - 36px)}
}
@media(max-width:760px){
  :root{--site-header-height:144px}
  .workspace-switch:not([hidden]){top:var(--site-header-height)}
  .wizard-ready .inputs{max-height:calc(100svh - var(--site-header-height) - 90px)}
}
@media print{
  .header{position:static;box-shadow:none}
}
