/* Catalogue content first. Shared navigation reserves space for every control. */
body.catalog-focus>.topbar{display:grid;grid-template-columns:238px minmax(0,1fr) auto auto;gap:18px;min-height:80px;padding:12px var(--home-x,clamp(20px,4vw,56px))}
html[lang] body.catalog-focus>.topbar .home-nav{display:flex;justify-content:center;gap:22px;overflow-x:auto;min-width:0;white-space:nowrap;font:500 14px/1.5 Inter,"Noto Serif SC",sans-serif}
.catalog-focus>.topbar .home-nav a{padding:8px 0;flex:0 0 auto}.catalog-focus>.topbar .home-nav .nav-consult{display:none}
.catalog-focus>.topbar .brand-logo-link{min-width:0;max-width:100%}.catalog-focus>.topbar .brand-logo-img{width:238px;height:auto;max-width:100%;max-height:59px;display:block}
.catalog-focus>.topbar .home-nav-cta{display:grid;place-items:center;margin:0;min-height:40px;padding:8px 14px;border-radius:5px;background:#183f54;color:#fff;font:500 13px/1.5 Inter,"Noto Serif SC",sans-serif;white-space:nowrap}
.catalog-focus>.topbar .site-languages{position:static;display:flex;gap:3px;flex-wrap:nowrap;height:auto;padding:0;border:0;background:none;font:12px/1.5 Inter,sans-serif}
.catalog-focus>.topbar .site-languages a{padding:6px;min-height:36px;display:grid;place-items:center}.catalog-focus .language-short{display:none}
body.catalog-focus>.topbar.is-compact{grid-template-columns:182px minmax(0,1fr) auto auto;height:64px;min-height:64px;padding-block:8px}.catalog-focus>.topbar.is-compact .brand-logo-img{width:182px;height:auto;max-height:46px}
body.home-v2.catalog-focus .catalog-hero{display:flex;justify-content:space-between;align-items:center;gap:32px;padding-top:24px;padding-bottom:22px}
body.home-v2.catalog-focus .hero h1{font-size:clamp(30px,3vw,42px);line-height:1.3;font-weight:500;letter-spacing:0}
body.home-v2.catalog-focus .hero-lede{display:block;font:400 15px/1.85 Inter,"Noto Serif SC",sans-serif;max-width:48em;margin:12px 0 0}
body.home-v2.catalog-focus .hero-stats{display:flex;gap:22px;margin:0;padding:0;border:0;max-width:none;flex-shrink:0}
body.home-v2.catalog-focus .hero-stats .stat{display:block;padding:0;border:0;min-width:0}
body.home-v2.catalog-focus .hero-stats .stat-num{font:500 27px/1.2 Inter,sans-serif;color:#183f54}
body.home-v2.catalog-focus .hero-stats .stat-label{font-size:11px;line-height:1.5;margin-top:5px;max-width:11em}
body.home-v2.catalog-focus .catalog{padding-top:0}
body.home-v2.catalog-focus .catalog-bar h2{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.home-v2.catalog-focus .catalog-bar{align-items:center;gap:20px;margin-bottom:0}
body.home-v2.catalog-focus .registry-tabs a{font-size:15px;padding:12px 18px}
.guide-entry{margin:20px var(--home-x,clamp(20px,4vw,56px)) 32px;border:1px solid var(--line);padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:rgba(255,255,255,.3)}
.guide-entry h2{font:500 23px/1.4 "Noto Serif SC",serif;margin:0}.guide-entry p{font:14px/1.8 Inter,"Noto Serif SC",sans-serif;color:var(--muted);margin:8px 0 0}.guide-entry>a{flex:0 0 auto;border-bottom:1px solid currentColor;font:500 14px/1.8 Inter,"Noto Serif SC",sans-serif;color:#183f54}
.public-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px var(--home-x,clamp(20px,4vw,56px));border-top:1px solid var(--line);font:12px/1.7 Inter,"Noto Serif SC",sans-serif;color:var(--muted)}
.public-footer nav{display:flex;gap:20px;flex-wrap:wrap}
body.home-v2 .footer-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.home-v2 .footer-admin{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:4px;color:var(--muted);text-decoration:none}
body.home-v2 .footer-admin svg{display:block;opacity:.7}
body.home-v2 .footer-admin:hover,body.home-v2 .footer-admin:focus-visible{color:#183f54;background:rgba(24,63,84,.05)}
body.home-v2 .footer-admin:hover svg,body.home-v2 .footer-admin:focus-visible svg{opacity:1}
body.home-v2 .footer-admin:focus-visible{outline:2px solid #183f54;outline-offset:2px}
@media(min-width:681px){body.home-v2 .public-footer{padding-right:max(var(--home-x,clamp(20px,4vw,56px)),82px)}}
.catalog-focus .sperm-page{padding-top:24px}.catalog-focus .sperm-hero{display:block;margin-bottom:20px}.catalog-focus .sperm-hero h1{font-size:clamp(30px,3vw,42px);line-height:1.3}.catalog-focus .sperm-hero p{max-width:70em;font:15px/1.85 Inter,"Noto Serif SC",sans-serif;margin:12px 0 0}
.catalog-focus .registry-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:20px}.catalog-focus .registry-tabs a{padding:12px 18px;font:500 15px/1.5 Inter,"Noto Serif SC",sans-serif;border-bottom:2px solid transparent;margin-bottom:-1px}.catalog-focus .registry-tabs a.is-active{border-bottom-color:#183f54;color:#183f54}
.catalog-focus .sperm-toolbar{padding-top:0}.catalog-focus .lead-copy h1{font-size:clamp(32px,4vw,46px);line-height:1.3}.catalog-focus .lead-copy p{font:16px/1.85 Inter,"Noto Serif SC",sans-serif}.catalog-focus .consultation-page{padding-top:36px}
@media(max-width:1150px){body.catalog-focus>.topbar,body.catalog-focus>.topbar.is-compact{grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;height:auto;min-height:0}.catalog-focus>.topbar .home-nav-cta{display:none}html[lang] body.catalog-focus>.topbar .home-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:20px}.catalog-focus>.topbar .home-nav .nav-consult{display:inline-flex}.catalog-focus>.topbar .site-languages{grid-column:2;grid-row:1}.catalog-focus>.topbar .brand-logo-img,.catalog-focus>.topbar.is-compact .brand-logo-img{width:210px;max-height:52px}body.home-v2.catalog-focus .hero-stats{gap:14px}body.home-v2.catalog-focus .hero-stats .stat:last-child{display:none}}
@media(max-width:900px){body.home-v2.catalog-focus .catalog-hero{display:block;padding-top:20px;padding-bottom:18px}body.home-v2.catalog-focus .hero-stats{display:flex;margin-top:16px;gap:24px}body.home-v2.catalog-focus .hero-stats .stat{display:flex;align-items:baseline;gap:8px}body.home-v2.catalog-focus .hero-stats .stat-num{font-size:20px}body.home-v2.catalog-focus .hero-stats .stat-label{margin:0;font-size:10px}body.home-v2.catalog-focus .catalog-bar .grid-ctrl{width:auto;margin-left:auto}body.home-v2.catalog-focus .catalog-bar{flex-wrap:nowrap}.guide-entry{padding:18px 20px}}
@media(max-width:680px){body.catalog-focus>.topbar,body.catalog-focus>.topbar.is-compact{padding:10px 20px 6px;gap:6px 10px}.catalog-focus>.topbar .brand-logo-img,.catalog-focus>.topbar.is-compact .brand-logo-img{width:190px;max-height:48px}.catalog-focus>.topbar .site-languages .language-full{display:none}.catalog-focus>.topbar .site-languages .language-short{display:inline}.catalog-focus>.topbar .site-languages a{min-width:28px;padding:4px}html[lang] body.catalog-focus>.topbar .home-nav{gap:22px;font-size:12px;min-height:30px}.catalog-focus>.topbar .home-nav a{padding:5px 0}.catalog-focus>.topbar .home-nav a:nth-child(1),.catalog-focus>.topbar .home-nav a:nth-child(2){display:none}body.home-v2.catalog-focus .catalog-hero{padding-top:18px;padding-bottom:16px}body.home-v2.catalog-focus .hero h1{font-size:28px}body.home-v2.catalog-focus .hero-lede{font-size:13px;line-height:1.8;margin-top:10px}body.home-v2.catalog-focus .hero-stats{margin-top:12px;gap:20px}body.home-v2.catalog-focus .hero-stats .stat-num{font-size:18px}body.home-v2.catalog-focus .hero-stats .stat-label{font-size:10px;max-width:none;white-space:nowrap}body.home-v2.catalog-focus .registry-tabs a{font-size:13px;padding:10px 9px}body.home-v2.catalog-focus .grid-count{font-size:12px}body.home-v2.catalog-focus .sort-select{font-size:11px;padding:5px;max-width:100px}body.home-v2.catalog-focus .catalog-bar{gap:6px}.guide-entry{display:block;padding:18px;margin-top:16px}.guide-entry h2{font-size:21px}.guide-entry p{font-size:13px}.guide-entry>a{display:inline-block;margin-top:12px}.public-footer{display:block}.public-footer nav{gap:12px 18px;margin-bottom:12px}.catalog-focus .sperm-page{padding-top:18px}.catalog-focus .sperm-hero h1{font-size:28px}.catalog-focus .sperm-hero p{font-size:13px}.catalog-focus .consultation-page{padding-top:24px}}
@media(max-width:360px){.catalog-focus>.topbar .brand-logo-img,.catalog-focus>.topbar.is-compact .brand-logo-img{width:165px}.catalog-focus>.topbar .site-languages a{min-width:26px;padding:3px}body.home-v2.catalog-focus .catalog-bar{flex-wrap:wrap}body.home-v2.catalog-focus .catalog-bar .grid-ctrl{width:100%;margin:4px 0 0;justify-content:space-between}}

/* Keep translated counts readable when labels need two lines. */
body.home-v2.catalog-focus .stat-num{white-space:nowrap;flex:0 0 auto}
body.home-v2.catalog-focus .grid-count{white-space:nowrap;flex:0 0 auto}
@media(max-width:900px){body.home-v2.catalog-focus .hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px}body.home-v2.catalog-focus .hero-stats .stat{display:flex;flex-direction:column;align-items:flex-start;gap:4px}body.home-v2.catalog-focus .hero-stats .stat-label{white-space:normal}}
@media(max-width:680px){body.home-v2.catalog-focus .catalog-bar{flex-wrap:wrap}body.home-v2.catalog-focus .catalog-bar .grid-ctrl{width:100%;margin:4px 0 0;justify-content:space-between}body.home-v2.catalog-focus .registry-tabs{margin-bottom:0}}
