/* One navigation shell, shared by the scrolling guide and presentation. */
:root{--toolbar-height:76px}
html{scroll-padding-top:calc(var(--toolbar-height) + 20px)}
.guide-toolbar{height:var(--toolbar-height);position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:10px 28px;background:#fff;border-top:4px solid #FA4786;border-bottom:1px solid #f4d4df;box-shadow:0 3px 16px #0d397307;color:#0D3973;line-height:1.25}
.guide-brand{display:flex;align-items:center;gap:16px;color:#0D3973;text-decoration:none;font-size:17px;font-weight:600;min-width:0}
.guide-brand img{width:116px;height:49px;object-fit:contain;flex:none}
.guide-brand>span{max-width:130px}
.guide-toolbar svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.view-switch{display:flex;gap:3px;border:1px solid #f4d4df;background:#FFF4F8;border-radius:13px;padding:4px}
.view-switch a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 16px;font-size:17px;font-weight:600;text-decoration:none;border-radius:9px;white-space:nowrap;color:#0D3973}
.view-switch a[aria-current=page]{background:#FA4786;color:#fff;box-shadow:0 2px 5px #fa478633}
.view-switch a:hover:not([aria-current]){background:#FEE5EE}
.guide-actions{display:flex;align-items:center;gap:14px}
#topics-toggle{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#0D3973;padding:10px 8px;min-height:44px;white-space:nowrap;font:600 17px/1.2 'FC Iconic',sans-serif;border-radius:9px}
#topics-toggle:hover{background:#FFF4F8}
.guide-toolbar .language-switch{display:flex;align-items:center;gap:1px;padding:3px;border:1px solid #dbe2ea;border-radius:11px;background:#fff;order:initial}
.guide-toolbar .language-switch button{min-width:38px;min-height:36px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:#0D3973;font:600 16px/1.2 'FC Iconic',sans-serif}
.guide-toolbar .language-switch button[aria-pressed=true]{background:#FFF4F8;color:#0D3973;box-shadow:inset 0 0 0 1px #FA4786}
html:not([data-can-present=true]) [data-presentation-control]{display:none!important}
html[data-redirecting=true] body{visibility:hidden}
/* Native dialog gives mobile a short, searchable menu with its own scrolling. */
#topics-dialog{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:28px;border:1px solid #f4d4df;border-radius:22px;background:#fff;color:#0D3973;box-shadow:0 18px 80px #0d397330;font-family:'FC Iconic',Tahoma,sans-serif;line-height:1.4;overflow:hidden}
#topics-dialog::backdrop{background:#25314088;backdrop-filter:blur(3px)}
.topics-heading{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;margin-bottom:20px}
.topics-heading h2{font-size:28px;font-weight:600;line-height:1.2;color:#0D3973;margin:0}
.topics-heading p{font-size:17px;line-height:1.4;color:#4D6D98;margin:8px 0 0}
#topics-close{width:42px;height:42px;flex:none;border:0;background:#FFF4F8;color:#0D3973;border-radius:50%;font:30px/1 'FC Iconic',sans-serif}
#topics-search{width:100%;height:50px;border:1px solid #dbe2ea;border-radius:11px;background:#F5F7F9;color:#0D3973;font:20px/1.3 'FC Iconic',sans-serif;padding:10px 14px;margin-bottom:16px}
#topics-search:focus-visible{outline:2px solid #FA4786;outline-offset:2px}
#topics-results{overflow:auto;max-height:calc(100dvh - 275px);overscroll-behavior:contain;display:grid;gap:5px;padding:4px}
.topic-result{display:grid;grid-template-columns:80px 1fr 20px;align-items:center;gap:12px;min-height:52px;padding:10px 13px;text-decoration:none;color:#0D3973;background:#fff;border-radius:10px;border:1px solid #edf0f4}
.topic-result:hover{background:#FFF4F8;border-color:#f7bfd3}
.topic-number{font-size:16px;font-weight:600;color:#c12f68;white-space:nowrap}
.topic-result strong{font-size:19px;line-height:1.3;font-weight:500}
.topic-result>span:last-child{color:#FA4786;font-size:22px}
#topics-empty{font-size:20px;padding:22px 0;margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
html[data-view=document] .visual-jump{display:none}
html[data-view=document]{scroll-behavior:auto}
html[data-view=document] main [id]{scroll-margin-top:16px}
html[data-view=presentation] .guide-toolbar{position:fixed;left:0;right:0;top:0}
html[data-view=presentation] #presentation{position:fixed;top:var(--toolbar-height);left:0;right:0;bottom:66px;overflow:hidden}
html[data-view=presentation] .deck-stage{box-shadow:0 5px 35px #d3396b0d}
html[data-view=presentation] .deck-controls{height:52px;bottom:8px;gap:12px;padding:5px 8px;border-radius:14px;box-shadow:none;z-index:15}
html[data-view=presentation] .deck-controls button{min-height:40px;min-width:44px;font-size:17px;border-radius:9px}
html[data-view=presentation] .deck-controls #previous,html[data-view=presentation] .deck-controls #next{font-size:19px;padding:8px 16px}
html[data-view=presentation] #page-counter{font-size:18px;min-width:76px}
html[data-view=presentation] #fullscreen-toggle{border-left:1px solid #dbe2ea;border-radius:0;padding-left:18px;margin-left:5px}
.presentation-fallback{padding:120px 30px 30px;font-size:24px;text-align:center}

/* Fullscreen uses the whole viewport. Controls occupy the slide's free footer. */
.deck-controls .fullscreen-only{display:none}
html[data-view=presentation]:fullscreen .guide-toolbar,
html[data-view=presentation]:fullscreen .progress-track{display:none}
html[data-view=presentation]:fullscreen #presentation{inset:0}
html[data-view=presentation]:fullscreen .deck-stage{box-shadow:none}
html[data-view=presentation]:fullscreen .deck-controls{position:absolute;bottom:14px;height:64px;padding:3px 8px;gap:8px;border-radius:14px;box-shadow:0 3px 14px #0d397314}
html[data-view=presentation]:fullscreen .deck-controls button{display:flex;align-items:center;justify-content:center;min-width:56px;min-height:56px;padding:4px 10px;font-size:30px;line-height:1}
html[data-view=presentation]:fullscreen .deck-controls button>span{display:none}
html[data-view=presentation]:fullscreen .deck-controls #previous,
html[data-view=presentation]:fullscreen .deck-controls #next{padding:4px 10px;font-size:32px}
html[data-view=presentation]:fullscreen .deck-controls #page-counter{min-width:82px;font-size:24px}
html[data-view=presentation]:fullscreen .deck-controls #fullscreen-toggle{margin-left:0;padding-left:10px}
html[data-view=presentation]:fullscreen .deck-controls svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1020px){.guide-toolbar{gap:12px;padding-inline:18px}.guide-brand>span{display:none}.view-switch a{padding-inline:13px}.guide-actions{gap:8px}}
@media(max-width:767px),(max-height:599px){:root{--toolbar-height:66px}.view-switch{display:none!important}.guide-toolbar{padding:7px 14px;gap:10px}.guide-brand img{width:103px;height:44px}.guide-brand>span{display:none}.guide-actions{gap:6px}#topics-toggle{font-size:17px;gap:5px;padding-inline:7px}.guide-toolbar .language-switch button{min-width:34px;padding-inline:6px}.guide-toolbar .language-switch{padding:2px}#topics-dialog{padding:20px;max-height:calc(100dvh - 24px)}.topics-heading{margin-bottom:16px}.topics-heading h2{font-size:25px}.topics-heading p{font-size:16px}.topic-result{grid-template-columns:65px 1fr 15px;gap:8px;padding:11px 10px}.topic-result strong{font-size:18px}#topics-results{max-height:calc(100dvh - 252px)}html[data-view=document] .hero{padding-top:30px}.guide-toolbar{overflow:visible}}
@media(max-width:350px){#topics-toggle svg{display:none}.guide-brand img{width:90px}.guide-toolbar{padding-inline:10px}}
@media(max-width:767px){html[data-view=document] .hero h1{font-size:42px;line-height:1.12}html[data-view=document] .hero-copy>.lead{font-size:20px;line-height:1.5}}
@media print{.guide-toolbar,#topics-dialog,.deck-controls{display:none!important}}
