/* Selected appearance revision. Exact release review remains separate. */
:root{--link:#356345;--link-hover:#8a3b24}
a,a:hover,a:focus-visible,a h3,a:hover h3,button:hover{text-decoration:none!important}
a{color:var(--link)}
a:hover{color:var(--link-hover)!important}
a:hover h3,a:hover .entry-action{color:var(--link-hover)!important}
a:focus-visible,summary:focus-visible{outline:2px solid var(--link-hover);outline-offset:4px}
.explore,.all-notes,.parent-project{border-bottom:0}
/* No inline highlight, fill or underline, including hover/focus/visited. */
.post-body p a,.post-body li a,.resource-body p a,.resource-body li a{font-weight:700;background:none;padding:0;border:0}
.reading-card{margin:18px 0;min-width:0}
.reading-entry{display:block;padding:24px;border:1px solid #b7c2b5;border-radius:6px;background:#eef0e4;color:var(--link)}
.reading-entry .meta{color:var(--muted);font:11px/1.5 'Courier New',monospace;letter-spacing:.06em}
.reading-entry h3{color:var(--link);font:400 29px/1.2 Georgia,serif;letter-spacing:-.025em;margin:8px 0 12px}
.reading-entry p{color:var(--muted);font:15px/1.6 'Trebuchet MS',sans-serif;margin:0;max-width:660px}
.reading-entry .entry-action{display:block;font:700 13px/1.5 'Trebuchet MS',sans-serif;margin-top:16px;color:var(--link)}
/* Wide navigation stays on one line; narrow navigation uses a native disclosure.
   The disclosure works without JS. JS adds Escape/outside/focus/resize dismissal. */
header.nav{position:relative;flex-wrap:nowrap;align-items:center}
header.nav>.brand{flex:none;white-space:nowrap}
header.nav .desktop-navigation{flex-wrap:nowrap;white-space:nowrap}
header.nav .mobile-menu{display:none;border:0;padding:0;margin:0}
.mobile-menu summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:9px;min-width:88px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:4px;font:13px/1.4 'Trebuchet MS',sans-serif;cursor:pointer;color:var(--ink)}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu summary:hover{color:var(--link-hover)}
.mobile-menu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.mobile-menu .menu-close-icon{display:none}
.mobile-menu[open] .menu-open-icon{display:none}
.mobile-menu[open] .menu-close-icon{display:block}
header.nav .mobile-menu nav{position:absolute;top:calc(100% - 10px);right:5%;z-index:20;display:flex;flex-direction:column;align-items:stretch;gap:0;width:min(300px,calc(100vw - 40px));padding:12px 20px;background:var(--paper);border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 20px #20372d12;font-size:15px;white-space:nowrap}
header.nav .mobile-menu nav a{margin:0;min-height:44px}
/* The low-level legal/contact/social footer remains unchanged. */
.site-footer .footer-top{display:grid;grid-template-columns:max-content 1fr max-content;grid-template-areas:'brand primary sites';gap:24px;align-items:center}
.footer-top>.brand{grid-area:brand;justify-self:start;white-space:nowrap}
.site-footer .footer-primary{grid-area:primary;justify-self:end;flex-wrap:nowrap}
.site-footer .footer-sites{grid-area:sites;flex-wrap:nowrap}
.site-footer .footer-top a{white-space:nowrap}
@media(max-width:64rem){
 header.nav .desktop-navigation{display:none}
 header.nav .mobile-menu{display:block;margin-left:auto}
 /* Use the two-column footer before its wide row could wrap. */
 .site-footer .footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:44px auto;grid-template-areas:'brand primary' 'sites primary';column-gap:24px;row-gap:0;align-items:start}
 .site-footer .footer-primary,.site-footer .footer-sites{display:flex;flex-direction:column;align-items:flex-start;justify-self:start;gap:0}
 .site-footer .footer-top a{justify-content:flex-start;min-height:44px}
}
@media(max-width:750px){header.nav{gap:12px}header.nav .mobile-menu nav{right:20px}}
@media(max-width:600px){.reading-entry{padding:18px}.reading-entry h3{overflow-wrap:anywhere}}
@media(forced-colors:active){.reading-entry,.mobile-menu summary,.mobile-menu nav{border-color:ButtonText}a:focus-visible,summary:focus-visible{outline-color:Highlight}}

/* Readable authorship and dates, subordinate to the title and introduction. */
.resource-head .byline{font:12px/1.8 "Courier New",monospace;letter-spacing:.01em;color:var(--muted);margin-top:18px}

/* Shared topic/navigation presentation: plain links, keyboard focus, no badges. */
.topic-links,.collection-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin-top:12px;font:14px/1.5 'Trebuchet MS',sans-serif}
.topic-links a,.collection-navigation a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;overflow-wrap:anywhere}
.topic-links .meta{font-size:11px}
.resource-head .collection-notice{font:14px/1.6 'Trebuchet MS',sans-serif}

.resource-head p{color:var(--muted)}
