/* Chapters and the next personal action stay available after the opening frame. */
.v7-chapter-nav{--chapter-paper:#fff;--chapter-ink:#000;--chapter-rule:#ccc;position:fixed;z-index:46;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(720px,calc(100% - 48px));color:var(--chapter-ink);font-family:'Equinox Sans',Arial,sans-serif}
.v7-chapter-nav[data-ground="black"]{--chapter-paper:#000;--chapter-ink:#fff;--chapter-rule:#555}
.v7-chapter-nav[hidden],.v7-chapter-menu[hidden]{display:none!important}
.v7-chapter-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--chapter-paper);border:1px solid var(--chapter-rule);min-height:52px}
.v7-chapter-current{min-width:0;min-height:52px;box-sizing:border-box;color:inherit;background:transparent;border:0;border-radius:0;display:flex;align-items:center;gap:12px;padding:10px 16px;font:14px/1.3 'Equinox Sans',Arial,sans-serif;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.v7-chapter-button-label{flex:none;font:400 14px/1.3 'Equinox Sans',Arial,sans-serif}.v7-chapter-name{min-width:0;flex:1;font-size:12px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.65}
.v7-chapter-disclosure{margin-left:auto;font-size:20px;line-height:1;font-weight:300;flex:none;transition:transform 160ms ease-out}
.v7-chapter-current[aria-expanded="true"] .v7-chapter-disclosure{transform:rotate(45deg)}
.v7-chapter-nav :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:-5px}
.v7-chapter-nav :is(a,button):active{background:color-mix(in srgb,var(--chapter-ink) 9%,var(--chapter-paper))}
.v7-chapter-menu{position:absolute;bottom:calc(100% + 8px);left:0;right:0;max-height:calc(100dvh - 112px);padding:16px 20px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--chapter-rule) var(--chapter-paper);background:var(--chapter-paper);border:1px solid var(--chapter-rule);box-sizing:border-box}
.v7-chapter-menu-heading{margin:0 0 12px;font-size:18px;line-height:1.4;font-weight:400}
.v7-chapter-quiz-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box;width:100%;min-height:52px;padding:12px 16px;background:var(--chapter-ink);color:var(--chapter-paper);border:0;text-decoration:none;font-size:15px;line-height:1.3;transition:opacity 160ms ease-out}
/* Shared a:hover colors must not override either surface's contrast. */
.v7-chapter-nav .v7-chapter-quiz-cta{color:var(--chapter-paper);text-decoration:none}
.v7-chapter-nav .v7-chapter-quiz-cta:active{background:var(--chapter-ink);opacity:.85}
.v7-chapter-nav .v7-chapter-quiz-cta:focus-visible{outline:2px solid var(--chapter-paper);outline-offset:-5px}
.v7-chapter-page-arrow{flex:none;font-size:20px;line-height:1;font-weight:300}
.v7-chapter-resource-list{margin:12px 0 0;padding:12px 0 0;list-style:none;border-top:1px solid var(--chapter-rule)}
.v7-chapter-resource-list a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;box-sizing:border-box;padding:10px 2px;color:inherit;text-decoration:none;font-size:14px;line-height:1.35}
.v7-chapter-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:minmax(0,1fr)}
.v7-chapter-list>li{min-width:0}
.v7-chapter-list a{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 2px;box-sizing:border-box;font-size:15px;line-height:1.35;color:inherit;text-decoration:none}
.v7-chapter-list a[aria-current="step"]{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.v7-chapter-list-number{font:11px/1.4 'Messina Mono',monospace;min-width:18px;opacity:.65}
html.v7-has-chapter-nav .af-sticky-cta{display:none!important}
html.dim-open .v7-chapter-nav,html[data-v7-host-paused] .v7-chapter-nav,html:not([data-view="home"]) .v7-chapter-nav{display:none!important}
@media(max-width:767px){
 .v7-chapter-nav{width:100%;left:0;bottom:0;transform:none;padding-bottom:env(safe-area-inset-bottom);background:var(--chapter-paper)}
 .v7-chapter-bar{grid-template-columns:112px minmax(0,1fr);border-left:0;border-right:0;border-bottom:0;min-height:56px}
 .v7-chapter-current{gap:10px;padding:10px 16px;min-height:56px}.v7-chapter-name{display:none}
 .v7-chapter-quiz-cta{min-height:56px;font-size:14px;gap:10px;padding:10px 16px}
 .v7-chapter-menu{max-height:calc(100dvh - 88px - env(safe-area-inset-bottom));left:12px;right:12px;padding:16px}
 .v7-chapter-menu-heading{font-size:16px}.v7-chapter-list a{font-size:14px}
}
@media(hover:hover){.v7-chapter-current:hover .v7-chapter-button-label,.v7-chapter-resource-list a:hover,.v7-chapter-list a:hover,.v7-chapter-quiz-cta:hover>span:first-child{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}}
@media(prefers-reduced-motion:reduce){.v7-chapter-nav *{scroll-behavior:auto!important;transition:none!important}}
