/* Shared visual rhythm; download and article behavior stays in the existing modules. */
@media screen {
body.hl-layout { --hl-border:#dfe8f1; --hl-muted:#60778c; }
.hl-layout .site-header { box-shadow:0 1px 0 #183a5908; }
.hl-layout .site-nav { max-width:1180px; }
.hl-layout :is(a,button,input):focus-visible { outline:3px solid #5aade3; outline-offset:3px; }
.hl-layout:has(.hero) .hero { padding-top:36px; padding-bottom:30px; }
.hl-layout:has(.hero) .hero h1 { font-size:40px; letter-spacing:-1.4px; }
.hl-layout:has(.hero) .hero h1 .accent { font-size:22px; line-height:1.6; }
.hl-layout .home-intro { font-size:14px; color:var(--hl-muted); }
.hl-layout .home-zones { margin-top:20px; margin-bottom:24px; gap:12px 30px; }
.hl-layout:has(.hero) :is(.beginner-start,.home-pitfalls,.download-finder) { padding:28px; margin-bottom:28px; border-radius:16px; }
.hl-layout .beginner-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.hl-layout .beginner-card { padding:18px; min-height:200px; gap:10px; }
.hl-layout .beginner-card strong { font-size:15px; }
.hl-layout .beginner-card>span:not(.beginner-number) { font-size:12px; line-height:1.85; color:var(--hl-muted); }
.hl-layout .beginner-foot { margin-top:16px; }
.hl-layout .download-finder .finder-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.hl-layout .download-finder .finder-item { padding:17px; min-height:124px; }
.hl-layout .download-finder .finder-purpose { font-size:12px!important; }
.hl-layout .finder-categories button { min-height:40px; font-size:12px; }
.hl-layout .handbook-sections { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.hl-layout :is(.handbook-block,.handbook-shortcuts,.home-faq) { padding:24px; border-radius:16px; }
.hl-layout .handbook-block-head { margin-bottom:18px; }
.hl-layout .handbook-block-head h3 { font-size:19px; }
.hl-layout:has(.hero) .handbook-hub .handbook-block .card-grid { grid-template-columns:1fr; gap:0; }
.hl-layout:has(.hero) .handbook-hub .handbook-block .resource-card { min-height:0; padding:16px 0; border:0; border-bottom:1px solid #e8eef4; border-radius:0; background:transparent; }
.hl-layout:has(.hero) .handbook-hub .handbook-block .resource-card:last-child { border-bottom:0; }
.hl-layout .handbook-hub .rc-body h4 { font-size:14px; margin-bottom:5px; }
.hl-layout .handbook-hub .rc-body p { font-size:12px; line-height:1.85; }
.hl-layout .download-wrap { padding-top:28px; }
.hl-layout .dc-page-heading { margin-bottom:24px; }
.hl-layout .dc-page-heading p { font-size:14px; color:var(--hl-muted); }
.hl-layout .dc-primary-search { max-width:none; padding:20px; background:#fff; border:1px solid var(--hl-border); border-radius:14px; }
.hl-layout .dc-search input { height:50px; font-size:14px; background:#f7faff; }
.hl-layout .dc-primary-search>p { font-size:12px; color:var(--hl-muted); }
.hl-layout .dc-section-heading h2 { font-size:17px; }
.hl-layout .dc-featured-card { min-height:78px; padding:16px; }
.hl-layout .dc-featured-body>span { font-size:12px; }
.hl-layout .dc-sidebar { padding:15px 10px; background:#fff; border:1px solid var(--hl-border); border-radius:14px; }
.hl-layout .dc-category { min-height:44px; }
.hl-layout .dc-resource { padding-top:18px; padding-bottom:18px; }
.hl-layout .dc-resource-name { font-size:14px; }
.hl-layout .dc-resource-info p { font-size:12px; }
.hl-layout .dc-download { min-height:38px; font-size:12px; }
.hl-layout .page-head { padding-top:24px; padding-bottom:24px; }
.hl-layout .page-head h1 { line-height:1.5; letter-spacing:-.7px; }
.hl-layout.reading-page .content { line-height:1.95; }
.hl-layout.reading-page .toc { background:#f7faff; border-color:var(--hl-border); border-radius:12px; }
.hl-layout.reading-page .toc a { line-height:1.75; padding-top:6px; padding-bottom:6px; }
@media(min-width:1250px) {
 .hl-layout.reading-page>.wrap:not(.download-detail) { max-width:1160px; padding-right:310px; }
 .hl-layout.reading-page .toc { left:calc(50% + 320px); width:230px; }
}
@media(max-width:1000px) {
 .hl-layout .beginner-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .hl-layout .beginner-card { min-height:170px; }
 .hl-layout .download-finder .finder-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .hl-layout:has(.hero) .hero { padding:28px 22px; }
 .hl-layout:has(.hero) .hero h1 { font-size:32px; }
 .hl-layout:has(.hero) .hero h1 .accent { font-size:18px; }
 .hl-layout .home-intro { font-size:13px; }
 .hl-layout .home-zones { gap:6px 20px; }
 .hl-layout:has(.hero) :is(.beginner-start,.home-pitfalls,.download-finder) { padding:22px; margin-bottom:22px; }
 .hl-layout .handbook-sections { grid-template-columns:1fr; gap:18px; }
 .hl-layout :is(.handbook-block,.handbook-shortcuts,.home-faq) { padding:22px; }
 .hl-layout .dc-primary-search { padding:15px; }
 .hl-layout .dc-search input { font-size:16px; }
 .hl-layout .dc-sidebar { padding:12px; }
 .hl-layout .dc-page-heading p { font-size:12px; }
 .hl-layout .page-head h1 { font-size:28px; }
}
@media(max-width:600px) {
 .hl-layout .beginner-grid,.hl-layout .download-finder .finder-grid { grid-template-columns:1fr; }
 .hl-layout .beginner-card { min-height:0; padding:18px; }
 .hl-layout .download-finder .finder-item { min-height:100px; }
 .hl-layout .dc-featured-body>span { font-size:11px; }
 .hl-layout .dc-resource-info { flex-basis:100%; }
 .hl-layout .dc-row-actions { width:100%; justify-content:flex-end; }
 .hl-layout .dc-mobile-meta,.hl-layout .dc-result-status { font-size:11px; }
 .hl-layout .dc-detail { font-size:12px; }
 .hl-layout .dc-category { min-height:42px; }
}
}

/* Quiet, accessible access link in the header. */
.hl-layout .nav-actions .private-corner-link{display:inline-flex;align-items:center;min-height:36px;padding:4px 6px;color:#64788e;font-size:12px;font-weight:400;text-decoration:none;white-space:nowrap}.hl-layout .nav-actions .private-corner-link:hover{color:#087bc8;text-decoration:underline;text-underline-offset:4px}@media(max-width:760px){.hl-layout .nav-actions{gap:4px}.hl-layout .nav-actions .private-corner-link{font-size:11px;padding:4px 2px}}
