/* Shared Newsis chrome; article-specific controls and fixed-header reservation. */
:root{--site-header-height:calc(64px + env(safe-area-inset-top,0px));--reader-height:calc(100svh - var(--site-header-height))}
html{scroll-padding-top:var(--site-header-height)}
#articleShare{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:7px 12px;border:1px solid #a1b6c16b;background:transparent;color:#dae5e9;white-space:nowrap;font-size:12px;line-height:1.5;cursor:pointer}
#articleShare svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#articleShare:hover .share-label{text-decoration:underline;text-underline-offset:4px}
#siteHeader button:focus-visible,#siteHeader a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#vnh-menu[hidden],#shareFallback[hidden],#articleShareStatus[hidden]{display:none!important}
.site-share-status{position:fixed;z-index:10003;top:calc(var(--site-header-height) + 12px);right:18px;max-width:calc(100% - 36px);padding:12px 18px;margin:0;border:1px solid #88999f;background:#f2f4f1;color:#243f4a;box-shadow:0 4px 16px #0002;font-size:13px}
.site-share-fallback{position:fixed;z-index:10004;top:calc(var(--site-header-height) + 14px);right:18px;width:min(430px,calc(100% - 36px));padding:24px;border:1px solid #71838a;background:#f2f4f1;color:#243f4a;box-shadow:0 8px 32px #0003}
.site-share-fallback h2{font-size:20px;margin:0 0 12px}.site-share-fallback p,.site-share-fallback label{font-size:13px}.site-share-fallback label{display:block;margin-bottom:6px}
.site-share-fallback input{width:100%;min-width:0;padding:10px;border:1px solid #809198;background:#fff;color:#243f4a;font-size:13px;word-break:normal}.site-share-fallback button{min-height:44px;margin-top:16px;padding:6px 20px;border:1px solid #809198;background:transparent;color:inherit}
#heroIntro .site-article-credit{position:static;margin:28px 0 0;padding:0;background:none;text-align:left;color:#c9d2ce;font-size:13px;line-height:1.6;letter-spacing:.01em}
@media(max-width:900px){#heroIntro .site-article-credit{margin-top:24px;font-size:12px}}
#siteFooter{scroll-snap-align:none}
#articleIntro{min-height:var(--reader-height)}
#journey .story-scene,#journey #bodyCheckScene{min-height:var(--reader-height)}
#dnfTransition{height:calc(var(--reader-height) * 2.4)}
#dnfMeaningAnchor{top:var(--reader-height)}
#dnfPinned{top:var(--site-header-height);height:var(--reader-height)}
#journey #dnfPinned>.story-scene{min-height:0}
#raceSupport #guidanceBook{--guidance-screen:var(--reader-height)}
#raceSupport #guidanceBook.is-ready #guidanceBookViewport{top:var(--site-header-height)}
@media(min-width:901px){#raceSupport #responseStudy .response-frame,#raceSupport #aftercareOverview{height:var(--reader-height)}}



/* Keep sharing inside the calculator's reading panel, directly above the right-hand mode. */
.calculator-share-actions{display:flex;justify-content:flex-end;flex:none;min-width:0}
#myPaceCalculator .calculator-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:12px;min-height:40px}
#myPaceCalculator .calculator-heading #calculatorTitle{margin:0}
#calculatorShareActions{padding:0;background:transparent}
@media(max-width:900px){#articleIntro #myPaceCalculator{top:var(--site-header-height);height:var(--reader-height);min-height:var(--reader-height)}}
@media(max-width:900px) and (prefers-reduced-motion:reduce){#articleIntro #myPaceCalculator{top:auto;height:auto;min-height:var(--reader-height)}}
