@charset "UTF-8";
html{font-size:calc(100% * var(--a11y-scale,1))}
.system-tools{font-size:16px;line-height:1.7;padding-block:32px 38px;color:var(--ink)}
.system-tools button,.system-tools input,.system-tools summary,.system-tools output{font:inherit}
.preferences-panel{--preferences-safe-edge:env(safe-area-inset-right);color:var(--ink)}
/* Keep the launcher in the viewport from first paint, independently of JavaScript. */
.preferences-panel{position:fixed;inset-inline-end:max(18px,var(--preferences-safe-edge));inset-block-end:max(18px,env(safe-area-inset-bottom));width:52px;height:52px;z-index:80}
[dir=rtl] .preferences-panel{--preferences-safe-edge:env(safe-area-inset-left)}
.preferences-panel>summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:52px;height:52px;padding:0;border:1px solid #194d6a;border-radius:50%;background:var(--brand-blue);color:#152b38;box-shadow:0 3px 14px #152b3826}
.preferences-panel>summary::-webkit-details-marker{display:none}
.preferences-panel>summary .icon{width:28px;height:28px;pointer-events:none}
/* Make room for keyboard focus without hiding the launcher. */
.preferences-panel.preferences-clear-focus:not([open]){inset-block-end:max(82px,calc(env(safe-area-inset-bottom) + 64px))}
.preferences-body{width:min(850px,100%);background:var(--surface);padding:0 22px 22px;border:1px solid #788984;border-radius:16px;box-shadow:0 10px 35px #152b3826}
.preferences-panel .preferences-body{position:absolute;inset-inline-end:0;inset-block-end:64px;width:min(380px,calc(100vw - 2 * max(18px,var(--preferences-safe-edge))));max-height:min(620px,calc(100vh - 108px));max-height:min(620px,calc(100dvh - 108px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));overflow:auto;overscroll-behavior:contain}
.preferences-window-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;margin-inline:-22px;background:var(--surface);border-block-end:1px solid var(--line)}
.preferences-window-header h2{font-family:var(--font-body);font-size:1.05em;line-height:1.5;font-weight:500;margin:0}
.preferences-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #788984;border-radius:50%;background:var(--surface);color:var(--ink);font-size:1.6em!important;line-height:1;cursor:pointer}
.preferences-intro{font-size:.94em;color:var(--muted);max-width:850px;margin-block:21px}
.preferences-controls{display:grid;grid-template-columns:1fr;gap:20px}
.preferences-fieldset{min-width:0;margin:0;padding:19px 21px 22px;border:1px solid #788984}
.preferences-fieldset legend{padding-inline:8px;font-size:1em;font-weight:500}
.preferences-fieldset p{font-size:.88em}
.preference-scale-group{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:.94em}
.preference-scale-controls{display:flex;align-items:center;gap:9px;direction:ltr}
.preference-scale-controls button{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:1px solid var(--link-ink);color:var(--ink);background:var(--surface);font-size:1.3em}
.preference-scale-controls button:disabled{opacity:.55}
.preference-scale-controls output{min-width:4.4em;text-align:center;font-variant-numeric:tabular-nums;font-size:.94em}
.preferences-fieldset .preferences-help{color:var(--muted);font-size:.82em;line-height:1.75;margin-block:12px 18px;max-width:670px}
.preference-toggle-list{display:grid;gap:8px}
.preference-toggle{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding-block:10px;font-size:.94em;cursor:pointer}
.preference-toggle input{accent-color:var(--link-ink);flex-shrink:0;width:20px;height:20px;margin:3px 0 0}
.preference-toggle span{overflow-wrap:anywhere}
.preference-remember{margin-block-start:13px}
.preference-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid var(--link-ink);background:var(--brand-blue);color:#152b38;font-size:.88em;line-height:1.5;overflow-wrap:anywhere;text-align:center}
.preference-button:hover,.preference-scale-controls button:not(:disabled):hover{background:#dcebf3}
.preference-button-secondary{background:var(--surface);color:var(--link-ink)}
.system-tools :is(a,button,input,summary):focus-visible{outline:3px solid var(--link-ink);outline-offset:4px}
.preferences-status{grid-column:1/-1;min-height:3.4em;font-size:.88em;color:var(--link-ink);padding:12px 16px;background:#e9f0f3;border-inline-start:3px solid var(--brand-blue)}
.preferences-noscript{font-size:.94em;max-width:850px;margin-block:20px}
.preferences-policy-links{display:flex;flex-wrap:wrap;gap:14px 24px;border-block-start:1px solid var(--line);margin-block-start:23px;padding-block-start:18px;font-size:.85em}
.preferences-policy-links a,.storage-notice-actions>a{color:var(--link-ink);text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center;overflow-wrap:anywhere}
.storage-notice{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;border:1px solid #788984;background:var(--surface);margin-block-start:20px;padding:22px 24px}
.storage-notice h2{font-family:var(--font-body);font-size:1em;line-height:1.5;font-weight:500;margin-block-end:9px}
.storage-notice p{font-size:.82em;color:var(--muted);max-width:880px;line-height:1.8}
.storage-notice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:11px;max-width:480px;font-size:.94em}
.system-tools [hidden]{display:none!important}
html.a11y-line-height main :is(p,li,dd,blockquote){line-height:2.15!important}
html.a11y-links :is(.site-header,main,.site-footer) a{text-decoration:underline!important;text-underline-offset:.2em;text-decoration-thickness:1px}
html.a11y-reduced-motion *,html.a11y-reduced-motion *::before,html.a11y-reduced-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-reduced-motion .paint-reveal{clip-path:none!important;will-change:auto}
html.a11y-contrast{--canvas:#fff;--surface:#fff;--ink:#111;--muted:#242424;--earth:#333;--bronze:#333;--link-ink:#123e56;--line:#555}
html.a11y-contrast body{background:#fff;color:#111}
html.a11y-contrast body :not(img):not(svg):not(svg *){color:inherit!important}
html.a11y-contrast body a[href]{color:#123e56!important;text-decoration:underline;text-underline-offset:.2em}
html.a11y-contrast :is(.card-index,.context-band,.guide-band,.learning-section,.browse-form,.topic-context,.reading-note,.tag-list a,.prose blockquote,.empty-state,.toc,.source-id,.preferences-status,.chronology-rail a[aria-current]){background:#fff!important;border-color:#555!important}
html.a11y-contrast .card-index>span:first-child{opacity:1!important}
html.a11y-contrast body .site-footer{background:#111;color:#fff!important}
html.a11y-contrast body .site-footer a[href]{color:#fff!important}
html.a11y-contrast :is(.button,.preference-button){background:#6baed6;color:#111!important;border-color:#123e56}
html.a11y-contrast body .skip-link{background:#111;color:#fff!important}
html.a11y-contrast :is(.object-stage,.article-figure>img,.body-figure>img,.detail-figure>img,.chronology-media img){background:#fff;mix-blend-mode:normal}
@media(max-width:850px){.storage-notice{grid-template-columns:1fr;gap:18px}.storage-notice-actions{max-width:none}}
@media(max-width:680px){.system-tools{padding-block:24px 28px}.preferences-controls{gap:20px}.preferences-panel{inset-inline-end:max(12px,var(--preferences-safe-edge));inset-block-end:max(12px,env(safe-area-inset-bottom))}.preferences-body{padding-inline:18px}.preferences-panel .preferences-body{width:min(380px,calc(100vw - 2 * max(12px,var(--preferences-safe-edge))))}.preferences-window-header{margin-inline:-18px;padding-inline:18px}.preferences-fieldset{padding-inline:15px}.storage-notice{padding:20px 18px}.storage-notice-actions{gap:12px}.storage-notice-actions .preference-button{flex:1 1 auto}.preferences-policy-links{gap:7px 18px}}
@media print{.system-tools{display:none}html{font-size:100%}}
