/* Home page: chapter navigation, one place for the sources, charts that fit the window (home-focus.js, home-notes.js) */
[data-moved]{display:none!important}

/* the sticky bar: chapters on the left, the country the page is shown for on the right */
.home-focus .hf-inner{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.hf-chapters{display:flex;gap:2px;flex:1 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none}.hf-chapters::-webkit-scrollbar{display:none}
.hf-chapters a{flex:none;padding:10px 12px;font:700 14px/1 system-ui,sans-serif;color:#40585a;text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap}
.hf-chapters a:hover{color:var(--ds-link)}.hf-chapters a[aria-current=true]{color:var(--ds-link);border-bottom-color:var(--ds-link)}
.hf-chapters a:focus-visible{outline:3px solid var(--ds-link);outline-offset:-3px}
.home-focus label{font-size:var(--ds-fs-small);color:#40585a}.hf-status{font-size:var(--ds-fs-small)}
@media(max-width:760px){.hf-chapters{flex:1 1 100%;order:-1}.home-focus .hf-inner{padding-top:0;padding-bottom:6px}.home-focus label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.home-focus select{flex:1 1 100%;min-height:40px}}

/* chapters are anchors: the sticky bars must not cover their titles */
.section[id]{scroll-margin-top:130px}

/* sources, scope and method of every view, at the end of the page */
.home-notes-section{padding-top:0}
.home-notes{border-top:1px solid var(--line);padding-top:6px}.home-notes summary{cursor:pointer;font-weight:700;color:var(--ds-link);padding:10px 0;font-size:var(--ds-fs-body)}
.home-notes__body{max-width:90ch}.home-notes__scope{font-size:var(--ds-fs-control);line-height:1.55;color:var(--muted)}
.home-notes__view{margin:18px 0 0;padding-top:12px;border-top:1px solid var(--line)}.home-notes__view h3{margin:0 0 6px;font-size:var(--ds-fs-body)}
.home-notes__view p,.home-notes__view li{font-size:var(--ds-fs-small);line-height:1.55;color:var(--muted)}
.home-notes__view details summary{font-size:var(--ds-fs-control)}

/* a chart is never taller than the window it sits in */
#home-sweep svg,#macro-entities svg,#macro-time svg,#home-constellation svg,#macro-countries svg{max-height:max(380px,calc(100vh - 290px));width:100%;margin-inline:auto;display:block}
#macro-entities svg,#home-sweep svg{height:auto}

/* movable maps: open hand, closed hand while dragging; strokes keep their width when zoomed */
svg[data-movable] path{vector-effect:non-scaling-stroke}

/* small print is never below 12px */
.source-chip,.macro-source,.hd-source,.hs-source,.scope-note,.hero-facts small{font-size:var(--ds-fs-caption)!important}
