/* Shared reading shell. Loaded last so every section has the same navigation. */
.bw-shell{--shell-ink:#f4f4f1;--shell-muted:#b4b4ae;--shell-line:#333330;--shell-gutter:clamp(18px,4vw,56px);--shell-max:1240px}
.bw-shell *,.bw-shell *::before,.bw-shell *::after{box-sizing:border-box}
.bw-shell{margin:0;background:#000;color:var(--shell-ink);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
.bw-shell [hidden]{display:none!important}
.bw-shell :where(a,button,input,textarea,summary,[tabindex]):focus-visible{outline:2px solid currentColor;outline-offset:5px}
.bw-shell :where(button,summary){touch-action:manipulation}
.bw-shell main{min-width:0}
.bw-shell main :where(h1,h2,h3,p,li,a){overflow-wrap:break-word}
.bw-shell main :where(h1,h2,h3){text-wrap:balance}
.bw-shell img,.bw-shell video{max-width:100%;height:auto}
.bw-shell .table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.bw-shell .skip-link{position:absolute;z-index:1000;top:8px;left:18px;padding:12px 16px;min-height:44px;background:var(--shell-ink);color:#000;text-decoration:none;transform:translateY(-200%)}
.bw-shell .skip-link:focus{transform:none}
/* The repeated class keeps this one shell above earlier page-specific shells. */
.bw-shell.bw-shell>.bw-header{width:min(100%,var(--shell-max));max-width:none;min-height:88px;margin:0 auto;padding:18px var(--shell-gutter);display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:24px;border:0;border-bottom:1px solid var(--shell-line);position:relative;z-index:20;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4;background:#000}
.bw-shell.bw-shell .bw-header a{text-decoration:none;color:var(--shell-ink);margin:0}
.bw-shell.bw-shell .bw-home{display:grid;place-items:center;width:44px;height:44px;padding:0;flex:none;justify-self:start}
.bw-shell.bw-shell .bw-home svg{display:block;width:28px;height:28px}
.bw-shell.bw-shell .bw-links{display:flex;align-items:center;justify-content:center;gap:clamp(16px,2.1vw,28px);margin:0;padding:0;min-width:0}
.bw-shell.bw-shell .bw-links a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;white-space:nowrap;font-size:14px;letter-spacing:0;color:var(--shell-muted)}
.bw-shell.bw-shell .bw-links a[aria-current=page],.bw-shell.bw-shell .bw-mobile-links a[aria-current=page]{color:var(--shell-ink);text-decoration:underline;text-underline-offset:6px}
.bw-shell.bw-shell .bw-language{display:flex;align-items:center;gap:2px;margin:0;padding:0;font-size:13px;letter-spacing:.04em;justify-self:end}
.bw-shell.bw-shell .bw-language a,.bw-shell.bw-shell .bw-language span[aria-current]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 8px;margin:0}
.bw-shell.bw-shell .bw-language a{color:var(--shell-muted)}
.bw-shell.bw-shell .bw-language>span:not([aria-current]){color:#90908a}
.bw-shell.bw-shell .bw-menu{display:none;position:static;margin:0;padding:0;border:0;min-width:0}
.bw-shell.bw-shell .bw-menu summary{display:flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;margin:0;padding:8px;list-style:none;cursor:pointer;font-size:14px;font-weight:400;letter-spacing:0;color:var(--shell-ink);line-height:1.4}
.bw-shell.bw-shell .bw-menu summary::-webkit-details-marker{display:none}
.bw-shell.bw-shell .bw-menu summary::after{content:'+';margin-left:10px;position:static;transform:none;font-size:18px;line-height:1}
.bw-shell.bw-shell .bw-menu[open] summary::after{content:'−'}
.bw-shell.bw-shell .bw-mobile-links{position:absolute;left:var(--shell-gutter);right:var(--shell-gutter);top:calc(100% - 1px);bottom:auto;transform:none;z-index:30;width:auto;min-width:0;max-width:none;max-height:calc(100vh - 104px);max-height:calc(100dvh - 104px);overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:0;padding:12px 18px;border:1px solid var(--shell-line);background:#090909;box-shadow:0 18px 30px #0008}
.bw-shell.bw-shell .bw-mobile-links a{display:flex;align-items:center;min-height:48px;padding:10px 0;margin:0;line-height:1.45;font-size:16px;color:var(--shell-ink)}
.bw-shell.bw-shell>.bw-footer{width:min(100%,var(--shell-max));max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:none;align-items:start;gap:20px 32px;margin:0 auto;padding:32px var(--shell-gutter) max(40px,env(safe-area-inset-bottom,0px));border:0;border-top:1px solid var(--shell-line);font:14px/1.5 Arial,Helvetica,sans-serif;letter-spacing:0;text-align:left;background:#000;color:var(--shell-muted)}
.bw-shell.bw-shell .bw-footer nav{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0;padding:0;min-width:0}
.bw-shell.bw-shell .bw-footer a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;color:inherit;text-decoration:none;overflow-wrap:anywhere;min-width:0;white-space:normal}
.bw-shell.bw-shell .bw-footer .bw-contact{grid-column:1/-1;justify-self:start;margin:0;color:var(--shell-muted)}
@media(hover:hover){.bw-shell.bw-shell .bw-header a:hover,.bw-shell.bw-shell .bw-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:5px}}
@media(max-width:900px){
 .bw-shell.bw-shell>.bw-header{min-height:80px;padding-top:14px;padding-bottom:14px;grid-template-columns:minmax(44px,1fr) auto minmax(94px,1fr);gap:10px}
 .bw-shell.bw-shell .bw-links{display:none}
 .bw-shell.bw-shell .bw-menu{display:block;justify-self:center}
 .bw-shell.bw-shell .bw-home svg{width:26px;height:26px}
}
@media(max-width:480px){
 .bw-shell.bw-shell>.bw-header{min-height:76px;padding-top:12px;padding-bottom:12px;gap:6px}
 .bw-shell.bw-shell .bw-home svg{width:24px;height:24px}
 .bw-shell.bw-shell>.bw-footer{grid-template-columns:1fr;gap:8px;padding-top:24px}
 .bw-shell.bw-shell .bw-footer nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
 .bw-shell.bw-shell .bw-footer .bw-contact{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.bw-shell *,.bw-shell *::before,.bw-shell *::after{scroll-behavior:auto!important}}
@media print{html{background:#fff;color:#000;color-scheme:light}.bw-shell{background:#fff;color:#000;padding:0}.bw-shell.reader-home{--reader-fg:#000;--reader-muted:#444;--reader-line:#bbb;--reader-panel:#fff}.reader-home .reader-button,.reader-home .reader-workbench textarea{background:#fff;color:#000;border-color:#777}.bw-shell.bw-shell>.bw-header,.bw-shell.bw-shell>.bw-footer,.bw-shell .skip-link{display:none!important}}
