/* Header, menu, footer, accessibility panel and cookie banner, for pages the tools server still draws itself (reports). */
html { -webkit-text-size-adjust: 100%; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mint); color: #0a2947; padding: 10px 14px; border-radius: 10px; font-weight: 750; z-index: 100; }
.skip:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11,22,34,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--head); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--mint); color: #0a2947; font-weight: 900; font-size: 22px; }
.brand:hover { color: var(--head); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 200px; justify-content: flex-end; }
.site-menu { position: relative; flex: none; }
.site-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px; border: 1px solid #27405a; border-radius: 9px; background: #132536; color: #d5dee3; font-size: 15px; font-weight: 750; user-select: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:hover, .site-menu[open] summary { border-color: var(--mint); color: var(--mint); }
.menu-links { position: absolute; right: 0; top: 52px; z-index: 40; width: min(260px, calc(100vw - 32px)); display: flex; flex-direction: column; padding: 10px; border: 1px solid #27405a; border-radius: 14px; background: #132536; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.menu-links a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 7px; color: #d5dee3; text-decoration: none; font-weight: 700; font-size: 16px; }
.menu-links a:hover { background: #163a3a; color: #fff; }
.menu-links a.menu-current { color: var(--mint); }
.menu-links a.menu-current::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); margin-right: 10px; }
.menu-actions { display: grid; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid #27405a; }
.menu-actions a { justify-content: center; border-radius: 10px; font-size: 15px; font-weight: 750; background: var(--mint); color: #0a2947; }
.menu-actions a:hover { background: #c6f6e4; color: #0a2947; }
footer.site-footer { margin-top: 40px; padding: 22px 0; background: #071a30; color: #b6c7c0; font-size: 14px; }
footer.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site-footer a { color: #b6c7c0; }
@media (max-width: 880px) {
  .header-actions { min-width: 0; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand span:last-child { font-size: 17px; }
}
.brand { white-space: nowrap; flex: none; }
@media (max-width: 480px) {
  .header-actions { flex: 1 1 auto; overflow: hidden; }
  .brand span:last-child { font-size: 16px; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html[data-a11y-text="large"] body { zoom: 1.15; }
html[data-a11y-text="largest"] body { zoom: 1.3; }
html[data-a11y-underline="on"] :is(p, li, td, .site-footer, .rp-sub, .hub-viewall) a { text-decoration: underline; text-underline-offset: 3px; }
.a11y-reading { outline: 3px solid #0c9380; outline-offset: 5px; border-radius: 6px; background: rgba(165, 234, 210, .22); }
html[data-a11y-theme="dark"]:not([data-a11y-contrast="high"]) .a11y-reading { background: rgba(165, 234, 210, .14); outline-color: #9fe3c8; }
html[data-a11y-contrast="high"] .a11y-reading { outline: 4px solid #000; background: #fff !important; }
.hero .a11y-reading, .contact .a11y-reading, .thoughts-hero .a11y-reading, .project-feature .a11y-reading { outline-color: #a5ead2; background: rgba(165, 234, 210, .12); }
.a11y-fab, .a11y-panel { --a11y-bg: #fff; --a11y-fg: #122a3f; --a11y-muted: #56696a; --a11y-line: #d7e2dd; --a11y-accent: #0A2947; --a11y-accent-fg: #a5ead2; --a11y-soft: #eef6f2; font-family: var(--font-inter), Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
html[data-a11y-theme="dark"]:not([data-a11y-contrast="high"]) .a11y-fab, html[data-a11y-theme="dark"]:not([data-a11y-contrast="high"]) .a11y-panel { --a11y-bg: #132536; --a11y-fg: #e6edf3; --a11y-muted: #a9b9bf; --a11y-line: #2b4560; --a11y-accent: #a5ead2; --a11y-accent-fg: #0A2947; --a11y-soft: #0e1c2b; }
html[data-a11y-contrast="high"] .a11y-fab, html[data-a11y-contrast="high"] .a11y-panel { --a11y-bg: #fff; --a11y-fg: #000; --a11y-muted: #000; --a11y-line: #000; --a11y-accent: #000; --a11y-accent-fg: #fff; --a11y-soft: #fff; }
.a11y-fab { position: fixed; left: 18px; bottom: 18px; z-index: 300; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; background: var(--a11y-accent); color: var(--a11y-accent-fg); cursor: pointer; box-shadow: 0 10px 30px rgba(10, 41, 71, .3); transition: transform .15s, box-shadow .15s; }
.a11y-fab svg { width: 30px; height: 30px; }
.a11y-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10, 41, 71, .36); }
.a11y-fab:focus-visible { outline: 3px solid #0c9380; outline-offset: 3px; }
.a11y-fab[aria-expanded="true"] { background: var(--a11y-accent-fg); color: var(--a11y-accent); border-color: var(--a11y-accent); }
html[data-a11y-contrast="high"] .a11y-fab { border: 3px solid #fff !important; outline: 2px solid #000; box-shadow: none !important; }
html[data-a11y-contrast="high"] .a11y-fab[aria-expanded="true"] { background: #fff !important; color: #000 !important; }
.a11y-panel { position: fixed; inset: auto auto 82px 18px; z-index: 300; margin: 0; width: min(380px, calc(100vw - 36px)); max-height: calc(100vh - 104px); max-height: calc(100dvh - 104px); overflow-y: auto; padding: 0; border: 1px solid var(--a11y-line); border-radius: 18px; background: var(--a11y-bg); color: var(--a11y-fg); box-shadow: 0 24px 70px rgba(6, 22, 36, .3); font-size: 15px; line-height: 1.5; }
.a11y-panel:not([open]) { display: none; }
.a11y-panel * { box-sizing: border-box; }
.a11y-panel button, .a11y-panel select { font: inherit; color: inherit; }
.a11y-panel :is(button, select, a):focus-visible { outline: 3px solid #0c9380; outline-offset: 2px; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.a11y-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; font-weight: 800; }
.a11y-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--a11y-line); border-radius: 10px; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.a11y-close:hover { background: var(--a11y-soft); }
.a11y-intro { margin: 6px 20px 14px; font-size: 14px; color: var(--a11y-muted); }
.a11y-group { margin: 0; padding: 14px 20px; border: 0; border-top: 1px solid var(--a11y-line); min-width: 0; }
.a11y-group legend, .a11y-group h3 { padding: 0; margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--a11y-muted); }
.a11y-group legend { float: left; width: 100%; }
.a11y-segment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; clear: both; }
.a11y-segment button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 9px; border: 1px solid var(--a11y-line); border-radius: 12px; background: var(--a11y-bg); font-size: 12px; font-weight: 700; cursor: pointer; }
.a11y-segment button[aria-pressed="true"] { background: var(--a11y-accent); color: var(--a11y-accent-fg); border-color: var(--a11y-accent); }
.a11y-segment .a11y-size-0 { font-size: 15px; }
.a11y-segment .a11y-size-1 { font-size: 19px; }
.a11y-segment .a11y-size-2 { font-size: 24px; }
.a11y-segment button span[aria-hidden] { font-weight: 800; line-height: 1; height: 24px; display: grid; align-items: end; }
.a11y-switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 9px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.a11y-switch + .a11y-switch { border-top: 1px solid var(--a11y-line); }
.a11y-switch-text { display: grid; gap: 1px; }
.a11y-switch-label { font-weight: 700; }
.a11y-switch-hint { font-size: 13px; color: var(--a11y-muted); }
.a11y-switch-track { position: relative; flex: 0 0 auto; width: 46px; height: 26px; border-radius: 13px; background: #c7d3cf; border: 2px solid transparent; transition: background .15s; }
.a11y-switch-thumb { position: absolute; top: 1px; left: 1px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.a11y-switch[aria-checked="true"] .a11y-switch-track { background: #0f7f69; }
.a11y-switch[aria-checked="true"] .a11y-switch-thumb { transform: translateX(20px); }
html[data-a11y-contrast="high"] .a11y-switch-track { background: #fff !important; border-color: #000 !important; }
html[data-a11y-contrast="high"] .a11y-switch-thumb { background: #000 !important; }
html[data-a11y-contrast="high"] .a11y-switch[aria-checked="true"] .a11y-switch-track { background: #000 !important; }
html[data-a11y-contrast="high"] .a11y-switch[aria-checked="true"] .a11y-switch-thumb { background: #fff !important; }
.a11y-reader { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.a11y-reader button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--a11y-line); border-radius: 10px; background: var(--a11y-bg); font-weight: 750; font-size: 14px; cursor: pointer; }
.a11y-reader .a11y-play { background: var(--a11y-accent); color: var(--a11y-accent-fg); border-color: var(--a11y-accent); }
.a11y-reader button:disabled { opacity: .45; cursor: not-allowed; }
.a11y-rate { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--a11y-muted); }
.a11y-rate select { min-height: 44px; padding: 8px 10px; border: 1px solid var(--a11y-line); border-radius: 10px; background: var(--a11y-bg); font-size: 14px; }
.a11y-status { margin: 10px 0 0; font-size: 13px; color: var(--a11y-muted); }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 18px; border-top: 1px solid var(--a11y-line); background: var(--a11y-soft); border-radius: 0 0 18px 18px; font-size: 14px; }
.a11y-reset { min-height: 44px; padding: 8px 12px; border: 1px solid var(--a11y-line); border-radius: 10px; background: var(--a11y-bg); font-weight: 750; cursor: pointer; }
.a11y-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
html[data-a11y-contrast="high"] .a11y-panel { border: 3px solid #000 !important; box-shadow: none !important; }
html[data-a11y-contrast="high"] .a11y-panel :is(button:not(.a11y-switch), select) { border: 2px solid #000 !important; }
html[data-a11y-contrast="high"] .a11y-panel .a11y-switch { border: 0 !important; padding: 10px 2px; }
html[data-a11y-contrast="high"] .a11y-panel .a11y-switch + .a11y-switch { border-top: 2px solid #000 !important; }
html[data-a11y-contrast="high"] .a11y-panel .a11y-switch:focus-visible { outline-offset: -4px !important; }
html[data-a11y-contrast="high"] .a11y-switch-track { border: 2px solid #000 !important; }
@media (max-width: 480px) {
  .a11y-panel { inset: auto 0 0 0; width: 100%; max-height: 88vh; border-radius: 18px 18px 0 0; }
  .a11y-foot { border-radius: 0; }
  .a11y-fab { bottom: 14px; left: 14px; width: 48px; height: 48px; }
  .a11y-rate { margin-left: 0; width: 100%; }
}
@media print {
  .a11y-fab, .a11y-panel { display: none !important; }
}
html[data-a11y-contrast="high"] body button.a11y-fab { color: #fff !important; }
html[data-a11y-contrast="high"] body button.a11y-fab[aria-expanded="true"] { color: #000 !important; }
html[data-a11y-contrast="high"] .a11y-panel .a11y-segment button[aria-pressed="true"], html[data-a11y-contrast="high"] .a11y-panel .a11y-segment button[aria-pressed="true"] span, html[data-a11y-contrast="high"] .a11y-panel .a11y-play { background: #000 !important; color: #fff !important; }
html[data-a11y-theme="dark"]:not([data-a11y-contrast="high"]) .a11y-panel .a11y-segment button[aria-pressed="true"] span { color: #0A2947 !important; }
.cookie-banner { --a11y-bg: #fff; --a11y-fg: #122a3f; --a11y-muted: #56696a; --a11y-line: #d7e2dd; --a11y-accent: #0A2947; --a11y-accent-fg: #a5ead2; position: fixed; right: 18px; bottom: 18px; z-index: 290; width: min(340px, calc(100vw - 36px)); padding: 16px 18px; border: 1px solid var(--a11y-line); border-radius: 16px; background: var(--a11y-bg); color: var(--a11y-fg); box-shadow: 0 18px 50px rgba(6, 22, 36, .28); font-family: var(--font-inter), Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; }
html[data-a11y-theme="dark"]:not([data-a11y-contrast="high"]) .cookie-banner { --a11y-bg: #132536; --a11y-fg: #e6edf3; --a11y-muted: #a9b9bf; --a11y-line: #2b4560; --a11y-accent: #a5ead2; --a11y-accent-fg: #0A2947; }
html[data-a11y-contrast="high"] .cookie-banner { --a11y-bg: #fff; --a11y-fg: #000; --a11y-muted: #000; --a11y-line: #000; --a11y-accent: #000; --a11y-accent-fg: #fff; border: 3px solid #000 !important; box-shadow: none !important; }
.cookie-banner-title { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--a11y-muted); }
.cookie-banner-text { margin: 0 0 12px; }
.cookie-banner-text a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-banner-actions button { flex: 1; min-height: 44px; padding: 8px 14px; border: 1px solid var(--a11y-line); border-radius: 10px; background: var(--a11y-bg); color: var(--a11y-fg); font: inherit; font-weight: 750; cursor: pointer; }
.cookie-banner-actions .cookie-accept { background: var(--a11y-accent); color: var(--a11y-accent-fg); border-color: var(--a11y-accent); }
.cookie-banner-actions button:hover { filter: brightness(1.05); }
.cookie-banner-actions button:focus-visible, .cookie-banner-text a:focus-visible { outline: 3px solid #0c9380; outline-offset: 2px; }
html[data-a11y-contrast="high"] .cookie-banner-actions button { border: 2px solid #000 !important; }
html[data-a11y-contrast="high"] .cookie-banner-actions .cookie-accept, html[data-a11y-contrast="high"] .cookie-banner-actions .cookie-accept span { background: #000 !important; color: #fff !important; }
html[data-a11y-theme="dark"]:not([data-a11y-contrast="high"]) .cookie-banner-actions .cookie-accept { color: #0A2947 !important; }
@media (max-width: 480px) {
  .cookie-banner { right: 12px; left: 76px; bottom: 12px; width: auto; }
}
@media print {
  .cookie-banner { display: none !important; }
}
.cookie-choice-button { min-height: 44px; padding: 8px 14px; border: 2px solid currentColor; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 750; cursor: pointer; }
.cookie-choice-button:hover { background: rgba(165, 234, 210, .18); }
.cookie-choice-button:focus-visible { outline: 3px solid #0c9380; outline-offset: 2px; }
.st-footer-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.st-footer-link:hover { color: var(--mint); }
html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) :is(.site-header, .site-footer) { background: var(--panel); }
html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) :is(.brand-mark, .skip, .menu-actions a, .menu-actions a:hover) { background: var(--mint); color: var(--mint-ink); }
html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) .site-menu summary { background: var(--panel); color: var(--text); }
html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) .menu-links { background: var(--panel); }
html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) .menu-links a { color: var(--text); }
html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) :is(.menu-links a, .rp-sharemenu button):hover { background: var(--panel-2); color: var(--text); }
html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) footer.site-footer, html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) footer.site-footer a, html:is(:not([data-a11y-theme="dark"]),[data-a11y-contrast="high"]) .st-footer-link { color: var(--text); }
@media (min-width: 700px) {
  footer.site-footer .container { padding-left: 64px; }
}
@media (max-width: 699px) {
  footer.site-footer { padding-bottom: 76px; }
}
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.header-inner > .st-lang { margin-left: auto; }
.header-inner > .st-lang + .header-actions { margin-left: 8px; }
select:not(.a11y-panel select) { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a9b8c4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }

.st-page a.brand, .st-page a.brand:hover { color: var(--head); }
html:not([data-a11y-theme="dark"]):not([data-a11y-contrast="high"]) .brand-mark { background: #0A2947; color: #a5ead2; }
.brand { font-size: 20px; font-weight: 800; letter-spacing: -.35px; }
