/* Shared live chrome only: never recolor historical source artwork. */
:root{--community-paper:#f6f2e8;--community-ink:#193247;--community-link:#1d527a;--community-line:#d9d3c5;--community-accent:#b64c22;--community-hover:#eae3d5;--community-focus:#a9461e}
/* Recreated readers share chrome tokens; original captured documents do not. */
.community-layout{--background:var(--community-paper);--foreground:var(--community-ink);--card:var(--community-paper);--card-foreground:var(--community-ink);--muted-foreground:var(--community-ink);--border:var(--community-line);background:var(--community-paper);color:var(--community-ink)}
.gerry-preserved-archive:has(.community-weekly-reader){background:var(--community-paper)!important;color:var(--community-ink)!important;font-family:"Trebuchet MS",sans-serif!important;color-scheme:inherit}
.gerry-preserved-archive:has(.community-weekly-reader) :is(h1,h2,h3,h4){color:var(--community-ink);font-family:Georgia,serif}
.gerry-preserved-archive:has(.community-weekly-reader) a,.gerry-preserved-archive:has(.community-weekly-reader) a:visited{color:var(--community-link)!important;text-decoration:underline;text-underline-offset:3px}
.community-weekly-reader{padding:clamp(16px,3vw,32px) 0;line-height:1.7;color:var(--community-ink);background:var(--community-paper)}
.community-weekly-reader article{background:var(--community-hover);color:var(--community-ink);border-color:var(--community-line)}
.source-freshness{margin-top:40px;padding-top:24px;border-top:1px solid var(--community-line);color:var(--community-ink);line-height:1.8;overflow-wrap:anywhere}
.source-freshness h2{margin-bottom:12px;font:700 22px/1.3 Georgia,serif}
.source-freshness li{margin-block:8px}
/* Explicit shared surfaces outrank the standalone legacy shell's inline styles. */
.shell .community-footer{background:var(--community-paper)!important;color:var(--community-ink)!important;border-color:var(--community-line)!important}
.shell .community-footer :is(h2,p){color:var(--community-ink)!important}
.shell #modern :is(.home-news-grid li,.welcome-community){background:var(--community-paper)!important;color:var(--community-ink)!important;border-color:var(--community-line)!important}
.shell #modern :is(h1,h2,h3,.home-news-grid a){color:var(--community-ink)!important}
.shell #modern :is(.home-news-publisher,.welcome-eyebrow){color:var(--community-accent)!important}
.shell #modern :is(.home-news-date,.home-news-grid time){color:var(--community-ink)!important}
.shell :is(.history-endpoints,#history-note){color:var(--community-ink)!important}
.shell .history-date-tools select,.shell .history-date-tools option{background:var(--community-paper)!important;color:var(--community-ink)!important;border-color:var(--community-line)!important}
.shell .history-date-tools select{color-scheme:light}
html.dark .shell .history-date-tools select{color-scheme:dark}
.shell .community-footer .community-footer-group>a{display:flex!important;width:100%;margin:0!important}
.shell .community-footer nav[aria-label=Footer]{columns:auto!important}
html.dark{--community-paper:#1d242b;--community-ink:#ece8df;--community-link:#afccee;--community-line:#404a54;--community-accent:#f3a875;--community-hover:#303b46;--community-focus:#f3a875}
html.dark body{background:var(--community-paper)!important;color:var(--community-ink)!important}
html.dark .shell header{background:var(--community-paper)!important;color:var(--community-ink)!important;border-color:var(--community-line)!important}
html.dark .shell header h2,html.dark .shell h1{color:var(--community-ink)!important}
html.dark .shell a{color:var(--community-link)}
html.dark .shell button:not(.community-theme-toggle){background:var(--community-paper)!important;color:var(--community-link)!important;border-color:var(--community-line)!important}
.community-brand{display:inline-flex!important;align-items:baseline;flex-wrap:wrap;column-gap:3px;color:var(--community-ink)!important;font:700 25px/1.2 Georgia,serif!important;letter-spacing:-.035em;text-decoration:none!important;max-width:100%;overflow-wrap:normal!important}
.community-brand-accent{color:var(--community-accent)!important}
.community-sidebar-slot{min-width:0;min-height:100%;background:var(--community-paper)}
.community-layout>.community-sidebar-slot{background:var(--community-paper);border-right:1px solid var(--community-line)}
.shell{background:var(--community-paper)}
.shell{grid-template-columns:240px minmax(0,1fr)!important}
.legacy-reading-main{min-width:0;padding:clamp(20px,4vw,48px);color:var(--community-ink);background:var(--community-paper)}
.legacy-reading-main>nav,.legacy-reading-main h1{max-width:1000px;margin-inline:auto;overflow-wrap:anywhere}
.legacy-reading-main>nav{margin-bottom:16px}
.legacy-reading-main h1{margin-bottom:18px;font:700 clamp(28px,4vw,42px)/1.12 Georgia,serif}
.legacy-reading-context{box-sizing:border-box;max-width:1000px;margin:0 auto 20px;padding:14px 16px;border-left:3px solid var(--community-accent);font:15px/1.5 "Trebuchet MS",sans-serif;overflow-wrap:anywhere}
.legacy-reading-context p{margin:0 0 8px}
.legacy-reading-context a{display:inline-block;padding-block:8px;color:var(--community-link);text-decoration:underline;text-underline-offset:3px}
.community-sidebar{box-sizing:border-box!important;background:var(--community-paper)!important;color:var(--community-ink)!important;padding:24px 16px!important;border-right:1px solid var(--community-line)!important;position:sticky!important;top:0;height:100svh!important;overflow-y:auto!important;scrollbar-gutter:stable;font:15px/1.45 "Trebuchet MS",sans-serif!important}
.community-sidebar-caption{font:12px/1.5 "Trebuchet MS",sans-serif!important;margin:8px 8px 22px!important;color:var(--community-ink);opacity:.8}
.community-sidebar .community-brand{margin:0 8px!important}
.community-sidebar-disclosure>summary{display:none;min-height:44px;cursor:pointer;font-weight:700}
.community-sidebar nav{display:block!important;columns:auto!important}
.community-nav-group{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin:0 0 22px}
.community-nav-heading{margin:0 8px 6px;font:700 11px/1.5 "Trebuchet MS",sans-serif;text-transform:uppercase;letter-spacing:.13em;color:var(--community-ink);opacity:.7}
.community-sidebar nav a{display:flex!important;align-items:center;min-height:44px;box-sizing:border-box;padding:9px 10px!important;margin:0!important;color:var(--community-link)!important;font:15px/1.45 "Trebuchet MS",sans-serif!important;text-decoration:none;border-radius:6px;overflow-wrap:anywhere}
.community-sidebar nav a:hover,.community-sidebar nav a[aria-current=page]{background:var(--community-hover);text-decoration:underline;text-underline-offset:3px}
.community-sidebar nav a[aria-current=page]{font-weight:700;box-shadow:inset 3px 0 var(--community-accent)}
.community-sidebar :is(a,summary):focus-visible,.community-footer a:focus-visible,.community-theme-toggle:focus-visible{outline:3px solid var(--community-focus)!important;outline-offset:3px!important}
.community-footer{box-sizing:border-box;width:100%;padding:36px clamp(20px,4vw,56px);border-top:1px solid var(--community-line);background:var(--community-paper);color:var(--community-ink);font:15px/1.6 "Trebuchet MS",sans-serif}
.community-footer-inner{max-width:1200px;margin-inline:auto}
.community-footer-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin-bottom:28px}
.community-footer-intro p{margin:0!important;max-width:45ch;font-size:14px}
.community-footer nav[aria-label=Footer]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:start!important;gap:24px 32px!important;width:100%;margin:0!important}
.community-footer-group{min-width:0}
.community-footer-group h2{font:700 12px/1.5 "Trebuchet MS",sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--community-ink);margin:0 0 10px}
.community-footer a{display:flex!important;align-items:center;min-height:44px;box-sizing:border-box;padding:7px 0!important;color:var(--community-link)!important;font:14px/1.5 "Trebuchet MS",sans-serif;text-decoration:underline;text-underline-offset:3px;white-space:normal!important;overflow-wrap:anywhere}
.community-footer .community-brand{font:700 25px/1.2 Georgia,serif!important}
.community-footer-bottom{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px 28px;margin-top:28px;padding-top:18px;border-top:1px solid var(--community-line)}
.community-footer nav[aria-label="Share this page"]{display:flex!important;flex-wrap:wrap;gap:8px 24px!important;margin:0!important}
.community-footer-bottom p{max-width:65ch;margin:8px 0!important;font-size:12px;line-height:1.7}
.community-theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:72px;gap:8px;padding:8px 12px!important;border:1px solid var(--community-line);border-radius:6px;background:var(--community-paper);color:var(--community-ink);font:14px/1.4 "Trebuchet MS",sans-serif;cursor:pointer}
.community-theme-toggle:hover{background:var(--community-hover)}
.community-header{position:sticky;top:0;z-index:40;border-bottom:1px solid var(--community-line);background:var(--community-paper);color:var(--community-ink)}
.community-header-inner{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:64px;padding:8px 20px}
.community-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:auto}
.community-header-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px!important;border:1px solid var(--community-line);border-radius:6px;background:var(--community-paper);color:var(--community-ink)!important;font:14px/1.4 "Trebuchet MS",sans-serif;text-decoration:none;cursor:pointer}
.community-header-action:hover{background:var(--community-hover)}
.community-header-primary{background:var(--community-link)!important;color:var(--community-paper)!important}
.community-header :is(a,button):focus-visible{outline:3px solid var(--community-focus)!important;outline-offset:3px}
.community-header-actions [role=status],.community-header-actions [role=alert]{font:14px/1.5 "Trebuchet MS",sans-serif}
.shell{grid-template-rows:auto minmax(0,1fr)}
.shell>.community-sidebar{grid-row:1 / span 2}
.shell>#community-header-root{grid-column:2;grid-row:1;position:sticky;top:0;z-index:40;min-height:64px}
.shell>main{grid-column:2;grid-row:2}
.shell .community-header{padding:0!important}
.shell .community-history-toolbar{position:relative;z-index:0}
.shell .community-header-primary{background:var(--community-link)!important;color:var(--community-paper)!important}
.community-signed-in{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.community-legacy-document{display:block;width:100%;min-height:65svh;border:0;background:var(--community-paper)}
@media(min-width:1024px),(any-hover:hover) and (any-pointer:fine){.community-header .community-brand{display:none!important}.community-sidebar{padding:16px 12px!important}.community-sidebar-caption{margin:5px 8px 12px!important}.community-nav-group{gap:0!important;margin-bottom:10px}.community-nav-heading{margin-bottom:3px}.community-sidebar nav a{min-height:28px!important;padding:3px 10px!important;font-size:14px!important;line-height:1.35!important}}
@media(min-width:1024px) and (max-height:720px){.community-sidebar{position:static!important;height:auto!important;overflow:visible!important}}
@media(min-width:1024px) and (any-hover:none) and (any-pointer:coarse){.community-sidebar{position:static!important;height:auto!important;overflow:visible!important}.community-sidebar nav a{min-height:44px!important;padding:9px 10px!important}}
@media(max-width:1023px){.shell{display:block!important}.community-sidebar{position:static!important;height:auto!important;overflow:visible!important;padding:16px 20px!important;border-right:0!important;border-bottom:1px solid var(--community-line)!important}.community-sidebar-caption{display:none}.community-sidebar-disclosure{margin-top:10px}.community-sidebar-disclosure>summary{display:list-item!important;padding:10px 0}.community-sidebar-disclosure:not([open]) nav{display:none!important}.community-sidebar nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.community-nav-group{margin-bottom:0}.community-sidebar .community-brand{margin:0!important}.community-header{position:relative}.community-header .community-brand{display:none!important}.community-header-inner{padding:8px 16px}.community-signed-in{display:none}}
@media(max-width:700px){.community-footer nav[aria-label=Footer]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 20px!important}.community-footer{padding:28px 20px}.community-footer-intro{margin-bottom:22px}.community-footer-bottom{display:block}.community-footer-bottom p{margin-top:14px!important}}
@media(max-width:360px){.community-sidebar nav{grid-template-columns:minmax(0,1fr)}.community-header .community-brand{font-size:21px!important}.community-header-actions{gap:4px}.community-header-inner{gap:8px}.community-footer nav[aria-label=Footer]{column-gap:14px!important}}
@media(forced-colors:active){.community-sidebar nav a[aria-current=page]{outline:1px solid Highlight}.community-brand-accent{color:LinkText!important}}
@media(prefers-reduced-motion:reduce){.community-sidebar *,.community-footer *,.community-theme-toggle{scroll-behavior:auto!important;transition:none!important}}
/* Chat is live chrome, not a recoloring of preserved source documents. */
.chat-room{margin:24px auto 0;max-width:100%;min-width:0;overflow:hidden;border:1px solid var(--community-line);border-radius:16px;background:var(--community-paper);color:var(--community-ink);box-shadow:0 12px 40px #0000000a}
.chat-room-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--community-line);background:linear-gradient(120deg,var(--community-hover),var(--community-paper))}
.chat-room-header>div{min-width:0}.chat-room-header h2{margin:4px 0 8px}.chat-room-eyebrow{margin:0;font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--community-accent)}
.chat-connection{display:flex;flex:none;align-items:center;gap:7px;padding:5px 9px;border:1px solid var(--community-line);border-radius:20px;font-size:12px}
.chat-transcript{height:clamp(280px,52svh,620px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px 24px;background:var(--community-paper)}
.chat-message{margin:0 0 12px;padding:14px 16px;border:1px solid var(--community-line);border-left:3px solid var(--community-accent);border-radius:3px 12px 12px 3px;background:var(--community-hover);overflow-wrap:anywhere}
.chat-message p{margin-bottom:0}.chat-empty{display:flex;min-height:260px;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:44ch;margin:auto}.chat-empty>span{display:grid;place-items:center;width:52px;height:52px;border:2px solid var(--community-accent);border-radius:50%;font:700 20px Georgia,serif;color:var(--community-accent)}.chat-empty h3{margin:18px 0 8px;font:700 24px Georgia,serif}.chat-empty p{font-size:14px;line-height:1.7}
.chat-reading-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:8px 24px;border-block:1px solid var(--community-line);font-size:12px}.chat-reading-bar button{min-height:32px;text-decoration:underline;text-underline-offset:3px;color:var(--community-link)}
.chat-composer{padding:18px 24px;background:var(--community-paper)}.chat-composer button[type=submit]{min-height:44px}.chat-composer textarea{min-height:88px;max-height:260px}
@media(max-width:600px){.chat-room-header{flex-wrap:wrap;padding:18px 16px}.chat-transcript{padding:16px;height:52svh}.chat-reading-bar,.chat-composer{padding-inline:16px}.chat-message{padding:12px}.chat-room{border-radius:10px}}
