/* First Website uses the canonical Hendler Article System for layout, hero, TOC, numbered sections and footer. */
body.article-page.wh-first-website .wh-history-feature{max-width:760px;margin:36px auto 0}
body.article-page.wh-first-website .wh-hero-visual{overflow:hidden;border:1px solid rgba(126,231,173,.18);border-radius:18px;background:#f0f0e8}
body.article-page.wh-first-website .browser-chrome{display:flex;align-items:center;gap:8px;padding:13px 16px;background:#101c17;color:#aeb8b3}
body.article-page.wh-first-website .browser-chrome i{display:block;flex:none;width:9px;height:9px;border-radius:50%;background:#7d8c85}
body.article-page.wh-first-website .browser-address{margin-left:10px;padding:6px 12px;border:1px solid #26392f;border-radius:8px;font:500 11px/1.3 Inter,sans-serif;overflow-wrap:anywhere;min-width:0}
body.article-page.wh-first-website .first-screen{padding:30px 35px 42px;color:#111;background:#f0f0e8;font:16px/1.6 Georgia,serif}
body.article-page.wh-first-website .first-screen h2{font:700 36px/1.15 Georgia,serif;margin:0 0 18px;color:#111}
body.article-page.wh-first-website .first-screen p{color:#111;font:16px/1.6 Georgia,serif}
body.article-page.wh-first-website .first-screen>span:not(.server-label){display:inline-block;margin-right:10px;text-decoration:underline}
body.article-page.wh-first-website .server-label{display:block;width:max-content;max-width:100%;margin-top:25px;padding:8px 10px;border:1px solid #d22;color:#c00;font:800 11px Inter,sans-serif;transform:rotate(-1deg)}
body.article-page.wh-first-website .wh-callout{margin:25px 0;padding:24px;border:1px solid var(--article-line);border-radius:16px;background:var(--article-panel)}
body.article-page.wh-first-website .wh-callout>b{display:block;color:var(--article-accent);font:800 11px Inter,sans-serif;letter-spacing:.12em;margin-bottom:8px}
body.article-page.wh-first-website .wh-callout p{margin:0}
body.article-page.wh-first-website .wh-article-resources,body.article-page.wh-first-website .wh-related{padding:30px 0 65px}
body.article-page.wh-first-website .wh-article-resources .wh-wrap,body.article-page.wh-first-website .wh-related .wh-wrap{width:min(1180px,calc(100% - 36px));margin:auto}
body.article-page.wh-first-website .wh-article-resources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.article-page.wh-first-website .wh-aside-card{padding:25px;border:1px solid var(--article-line);border-radius:18px;background:var(--article-panel)}
body.article-page.wh-first-website .wh-aside-card h3{color:var(--article-text)}
body.article-page.wh-first-website .wh-aside-card p{color:var(--article-muted)}
body.article-page.wh-first-website .wh-aside-card a,body.article-page.wh-first-website .guide-content .article-section a:any-link{color:var(--article-accent);overflow-wrap:anywhere}
@media(max-width:860px){body.article-page.wh-first-website .wh-article-resources-grid{grid-template-columns:1fr}}
@media(max-width:600px){body.article-page.wh-first-website .first-screen{padding:20px}body.article-page.wh-first-website .first-screen h2{font-size:28px}}

/* 2026-11-16: reading measure and compact historic illustration. */
@media(min-width:1200px){
body.article-page.wh-first-website .guide-shell.guide-layout{display:grid;grid-template-columns:minmax(0,850px) 260px;column-gap:58px;width:min(1180px,calc(100% - 320px));max-width:1180px;margin-left:max(36px,calc((100vw - 1180px)/2));margin-right:auto;box-sizing:border-box}
body.article-page.wh-first-website .guide-shell.guide-layout>.guide-content{grid-column:1;min-width:0;max-width:850px;width:100%}
body.article-page.wh-first-website .article-right-toc{right:18px}
}
body.article-page.wh-first-website .wh-history-feature{max-width:580px;margin:28px auto 0}
body.article-page.wh-first-website .wh-history-feature .first-screen{min-height:0!important;height:auto!important;aspect-ratio:auto!important;padding:24px 28px 26px!important}
body.article-page.wh-first-website .wh-history-feature .first-screen h2{font-size:29px!important;margin-bottom:10px}
body.article-page.wh-first-website .wh-history-feature .first-screen p{font-size:14px;line-height:1.45;margin:0 0 12px}
body.article-page.wh-first-website .wh-history-feature .first-screen>span:not(.server-label){font-size:13px}
body.article-page.wh-first-website .wh-history-feature .server-label{font-size:9px;margin-top:16px}
@media(max-width:1199px){body.article-page.wh-first-website .guide-shell.guide-layout{width:min(900px,calc(100% - 48px));max-width:900px;margin-inline:auto;grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){body.article-page.wh-first-website .guide-shell.guide-layout{width:calc(100% - 32px)}body.article-page.wh-first-website .wh-history-feature{max-width:100%}body.article-page.wh-first-website .wh-history-feature .first-screen{padding:18px!important}}

/* Definitive article column: never overlap the floating TOC. */
@media(min-width:1200px){
body.article-page.wh-first-website main>.guide-shell.guide-layout{display:block!important;grid-template-columns:none!important;width:min(850px,calc(100vw - 430px))!important;max-width:850px!important;margin-left:max(40px,calc((100vw - 1180px)/2))!important;margin-right:auto!important;padding-right:0!important}
body.article-page.wh-first-website main>.guide-shell.guide-layout>.guide-content.wh-prose{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;grid-column:auto!important}
body.article-page.wh-first-website main>.guide-shell.guide-layout .article-section,body.article-page.wh-first-website main>.guide-shell.guide-layout .wh-callout{max-width:100%!important;min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
}
/* Restore original Web History timeline row component after legacy CSS removal. */
body.article-page.wh-first-website .wh-timeline{margin:22px 0 8px;border-top:1px solid var(--article-line)}
body.article-page.wh-first-website .wh-time{display:grid;grid-template-columns:105px minmax(0,1fr);gap:20px;align-items:start;padding:22px 0;border-bottom:1px solid var(--article-line)}
body.article-page.wh-first-website .wh-time>b{color:var(--article-accent);font:850 21px/1.3 Manrope,Inter,sans-serif}
body.article-page.wh-first-website .wh-time strong{display:block;color:var(--article-text);font:750 16px/1.4 Inter,sans-serif}
body.article-page.wh-first-website .wh-time p{margin:5px 0 0;color:var(--article-muted)}
@media(max-width:600px){body.article-page.wh-first-website .wh-time{grid-template-columns:66px minmax(0,1fr);gap:12px}body.article-page.wh-first-website .wh-time>b{font-size:17px}}

/* First Website: resource cards and related-article navigation. */
body.article-page.wh-first-website .wh-article-resources-grid>.wh-aside-card{min-width:0}
body.article-page.wh-first-website .wh-aside-card>span{display:block;margin:0 0 10px;color:var(--article-accent);font:700 11px/1.45 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase}
body.article-page.wh-first-website .wh-aside-card>strong{display:block;margin:0 0 14px;color:var(--article-text);font:750 20px/1.4 Inter,sans-serif;overflow-wrap:anywhere}
body.article-page.wh-first-website .wh-aside-card>p{margin:0 0 18px;line-height:1.65}
body.article-page.wh-first-website .wh-aside-card>a{display:inline-block;font-weight:650;text-underline-offset:4px}
body.article-page.wh-first-website .wh-related h2{margin:0 0 24px;color:var(--article-text);font:750 clamp(24px,3vw,32px)/1.25 Manrope,Inter,sans-serif}
body.article-page.wh-first-website .wh-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.article-page.wh-first-website .wh-related-grid>a:any-link{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;min-height:115px;padding:22px 24px;border:1px solid var(--article-line);border-radius:18px;background:var(--article-panel);color:var(--article-text);text-decoration:none;transition:border-color .2s ease,transform .2s ease;overflow-wrap:anywhere}
body.article-page.wh-first-website .wh-related-grid>a>span{display:block;color:var(--article-accent);font:750 11px/1.3 Inter,sans-serif;letter-spacing:.1em}
body.article-page.wh-first-website .wh-related-grid>a>strong{display:block;font:750 17px/1.4 Inter,sans-serif}
body.article-page.wh-first-website .wh-related-grid>a:hover{border-color:var(--article-accent);transform:translateY(-2px)}
body.article-page.wh-first-website .wh-related-grid>a:focus-visible{outline:2px solid var(--article-accent);outline-offset:3px}
@media(max-width:860px){body.article-page.wh-first-website .wh-related-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.article-page.wh-first-website .wh-related-grid>a{transition:none}body.article-page.wh-first-website .wh-related-grid>a:hover{transform:none}}
