/* Jail411 handbook presentation contract, all existing public page families.
 * SOURCE: docs/DESIGN-SYSTEM-HANDBOOK-LOCK.md. No content/route dispatch changes.
 * handbook-compat.css adapts old visual declarations; this file owns shared
 * typography, navigation, geometry, and explicit page-family treatments.
 */
@font-face{font-family:'YC Barlow';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/county-style/barlow-condensed-700-latin.woff2') format('woff2')}
@font-face{font-family:'YC Barlow';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/county-style/barlow-condensed-800-latin.woff2') format('woff2')}
@font-face{font-family:'YC Barlow';font-style:normal;font-weight:900;font-display:swap;src:url('/assets/county-style/barlow-condensed-900-latin.woff2') format('woff2')}
@font-face{font-family:'YC Instrument';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/county-style/instrument-sans-variable-latin.woff2') format('woff2')}
body.j411-handbook-site{
 --hb-paper:#f4f2ed;--hb-ink:#202027;--hb-dark:#17171d;--hb-orange:#ff512f;--hb-link:#c83317;--hb-muted:#68676d;--hb-line:rgba(32,32,39,.12);
 --hb-display:'YC Barlow','Arial Narrow',sans-serif;--hb-ui:'YC Instrument',system-ui,sans-serif;
 --paper:var(--hb-paper);--ink:var(--hb-ink);--navy:var(--hb-dark);--red:var(--hb-orange);--gold:var(--hb-orange);--amber:var(--hb-orange);--red-bright:var(--hb-orange);
 --display:var(--hb-display);--serif:var(--hb-display);--sans:var(--hb-ui);--ui:var(--hb-ui);--body:var(--hb-ui);--font-display:var(--hb-display);
 --shell:1120px;--header-active:var(--hb-link);
 --pc-shell:1120px;--pi-shell:1120px;--pn-shell:1120px;--pb-shell:1120px;--fg-shell:1120px;--fgd-shell:1120px;--di-shell:1120px;--in-shell:1120px;--ca-shell:1120px;
 background:var(--hb-paper)!important;color:var(--hb-ink);font-family:var(--hb-ui)!important;
}
body.j411-handbook-site::before{display:none}
body.j411-handbook-site :is(button,input,select,textarea,summary){font-family:var(--hb-ui)}
body.j411-handbook-site :focus-visible{outline:3px solid var(--hb-link)!important;outline-offset:4px;box-shadow:0 0 0 3px #fff}
body.j411-handbook-site .site-header{background:#faf9f6!important;border-top:0!important;border-bottom:1px solid var(--hb-line);color:var(--hb-ink)}
body.j411-handbook-site .site-header__inner{width:min(1120px,calc(100% - 48px));min-height:82px;gap:24px;grid-template-columns:auto 1fr auto}
body.j411-handbook-site .site-header__inner{padding-inline:0}
body.j411-handbook-site :is(.site-brand,.site-brand strong,.brand,.brand span){font:900 29px/1 var(--hb-display)!important;letter-spacing:-1.5px;text-transform:uppercase;color:var(--hb-orange)!important}
body.j411-handbook-site .site-brand strong{margin-left:0}
body.j411-handbook-site .site-brand span{opacity:1}
body.j411-handbook-site .site-nav{gap:24px}
body.j411-handbook-site :is(.site-nav a,.site-header nav a){font:600 14px/1.35 var(--hb-ui)!important;color:#4d4c52}
body.j411-handbook-site :is(.site-nav a:hover,.site-header nav a:hover){color:var(--hb-link)}
body.j411-handbook-site .site-menu summary{border:1px solid var(--hb-line);border-radius:50%;background:white}
body.j411-handbook-site .site-menu summary span{background:var(--hb-ink)}
body.j411-handbook-site .site-menu nav{background:#fff;border:1px solid var(--hb-line);border-radius:16px}
body.j411-handbook-site .site-menu nav a{color:var(--hb-ink)}
body.j411-handbook-site .language-switcher a{color:var(--hb-link)}
body.j411-handbook-site :is(.site-footer,footer:not(article footer):not(section footer)){background:var(--hb-dark);color:#d4d1d5;border:0}
body.j411-handbook-site .site-footer__inner{width:min(1120px,calc(100% - 48px));padding-block:64px 32px}
body.j411-handbook-site .site-footer :is(a,p,small){color:#d4d1d5}
/* Native handbook page bodies remain owned by their approved kits. */
body.j411-handbook-site:not(.county-handbook-2026):not(.facility-handbook-2026):not(.state-handbook-2026) :is(h1,h2){font-family:var(--hb-display)!important;font-weight:900!important;letter-spacing:-.025em;text-transform:uppercase}
body.j411-handbook-site:not(.county-handbook-2026):not(.facility-handbook-2026):not(.state-handbook-2026) h1{line-height:.97;font-size:clamp(3rem,6.3vw,6rem)}
body.j411-handbook-site:not(.county-handbook-2026):not(.facility-handbook-2026):not(.state-handbook-2026) h2{line-height:1.04;font-size:clamp(2rem,3.5vw,3.5rem)}
body.j411-handbook-site:not(.county-handbook-2026):not(.facility-handbook-2026):not(.state-handbook-2026) :is(h3,h4){font-family:var(--hb-display)!important;font-weight:800!important;line-height:1.14}
body.j411-handbook-site:not(.county-handbook-2026):not(.facility-handbook-2026):not(.state-handbook-2026) h3{font-size:1.65rem}
body.j411-handbook-site :is(.shell,.nav-inner){max-width:1120px}
body.j411-handbook-site :is(.btn,.button,.nav-search,.ca-button,.sd-button,.facility-model__primary,.state-search-card,.search-row,.state-search-row){border-radius:28px;box-shadow:none}
body.j411-handbook-site :is(.nav-search,.facility-model__primary){background:var(--hb-orange);color:var(--hb-dark)}
body.j411-handbook-site :is(.btn,.state-jump button,.directory-search button,.holding .acts .call){background:var(--hb-orange);color:var(--hb-dark);border-color:var(--hb-orange)}
body.j411-handbook-site :is(.search-row,.state-search-row){overflow:visible}
body.j411-handbook-site :is(.search-row input,.state-search-row input){border-radius:28px 0 0 28px}
body.j411-handbook-site :is(.search-row>button,.state-search-row>button){border-radius:0 28px 28px 0;background:var(--hb-orange);color:var(--hb-dark)}
body.j411-handbook-site :is(.state-search-card,.county-card,.facility-card,.guide-card,.system-card){border:1px solid var(--hb-line);border-radius:18px;box-shadow:none}
body.j411-handbook-site :is(.hero-shade,.state-hero-shade){background:linear-gradient(90deg,rgba(13,13,17,.97),rgba(16,16,21,.88) 46%,rgba(20,18,20,.36) 82%,rgba(20,18,20,.5)),linear-gradient(0deg,rgba(18,18,23,.84),transparent 54%)}
body.j411-handbook-site :is(.hero,.state-hero) h1 em{color:var(--hb-orange)}
body.j411-handbook-site :is(.hero,.state-hero) .eyebrow{color:#e9e6e2}
body.j411-handbook-site :is(.hero,.state-hero) label{color:#e9e6e2}
body.j411-handbook-site .state-fact-rail{background:rgba(23,23,29,.9)}
body.j411-handbook-site .facility-model__hero{background:linear-gradient(110deg,#17171d,#27272f);border:0}
body.j411-handbook-site .facility-model__hero h1{font-size:clamp(3rem,6.3vw,6rem);line-height:.98;max-width:15ch}
body.j411-handbook-site .facility-model__hero-copy{padding:clamp(24px,5vw,76px)}
body.j411-handbook-site .facility-model__hero :is(nav a,.facility-model__kicker){color:#e9e6e2}
body.j411-handbook-site .facility-model__hero .facility-model__primary{color:var(--hb-dark)}
body.j411-handbook-site :is(.pc-button,.pi-button,.pn-button,.pb-button,.fg-button,.fx2-btn,.in-button,.ct-button){border-radius:999px;font-family:var(--hb-ui);text-transform:none;letter-spacing:0;box-shadow:none}
body.j411-handbook-site :is(.pc-button--accent,.pi-button--accent,.pb-button--orange,.fg-button--accent,.fx2-btn:not(.fx2-btn--ghost)){background:var(--hb-orange);color:var(--hb-dark)}
body.j411-handbook-site :is(.pc-hero,.pi-hero,.pn-hero,.pb-hero,.fg-hero,.di-hero,.in-hero,.ca-hero,.ct-hero)::before,
body.j411-handbook-site :is(.pc-hero,.pi-hero,.pn-hero,.pb-hero,.fg-hero,.di-hero,.in-hero,.ca-hero,.ct-hero)::after{display:none}
body.j411-handbook-site :is(.pc-hero__shade,.pi-hero__shade,.pn-hero__shade,.pb-hero__shade,.fg-hero__shade,.di-hero__shade,.ca-hero__shade){clip-path:none;background:linear-gradient(90deg,rgba(13,13,17,.97),rgba(16,16,21,.88) 46%,rgba(20,18,20,.36) 82%,rgba(20,18,20,.5)),linear-gradient(0deg,rgba(18,18,23,.84),transparent 54%)}
body.j411-handbook-site :is(.pc-hero,.pi-hero,.pn-hero,.pb-hero,.fg-hero,.di-hero,.in-hero,.ca-hero,.ct-hero) [class*="kicker"]{color:#e9e6e2}
body.j411-handbook-site .pc-search-dock{border:1px solid var(--hb-line);border-radius:20px;box-shadow:none}
body.j411-handbook-site :is(.pd__btn,.ar__btn,.mh__btn,.pt__btn){border-radius:999px;font-family:var(--hb-ui);text-transform:none;letter-spacing:0}
body.j411-handbook-site :is(.pd__btn:not(.pd__btn--ghost),.ar__btn:not(.ar__btn--ghost),.mh__btn:not(.mh__btn--ghost),.pt__btn:not(.pt__btn--ghost)){background:var(--hb-orange);color:var(--hb-dark)}
body.j411-handbook-site .bp-masthead h1{font-size:clamp(2.65rem,4.5vw,4.5rem)!important;max-width:22ch;line-height:1.02}
body.j411-handbook-site :is(.bp-front,.bp-index,.bp-footnote){padding-inline:24px}
/* Breadcrumb identity must not fall back to the old blue strip. */
body.j411-handbook-site :is([data-page-identity-trail],nav[aria-label="Breadcrumb"],nav[aria-label="Migas de pan"]){background:var(--hb-dark)!important;font-family:var(--hb-ui)!important;border:0;letter-spacing:.04em}
body.j411-handbook-site :is(.yc-hero,.yj-hero,.sh-hero) nav[aria-label="Breadcrumb"]{background:transparent!important;padding-inline:0}
/* Generated national directory: retain its map, search, and complete lists;
   adapt the reading surfaces and their geometry, not the source content. */
body.j411-handbook-site.page-directory-2026 .wrap{background:var(--hb-paper)}
body.j411-handbook-site.page-directory-2026 .d-grid49{max-width:1168px;padding-top:72px;padding-inline:24px;gap:48px}
body.j411-handbook-site.page-directory-2026 :is(.d-grid102,.d-grid34){gap:12px;border:0;border-radius:0;background:transparent}
body.j411-handbook-site.page-directory-2026 .d-grid7{transition:background .2s ease;border-color:var(--hb-line)}
body.j411-handbook-site.page-directory-2026 :is(.d-grid87,.d-grid120>a){border-radius:18px;box-shadow:none}
body.j411-handbook-site.page-directory-2026 h1{max-width:13ch;margin-block:20px 28px}
body.j411-handbook-site.page-directory-2026 h2{max-width:22ch}
body.j411-handbook-site.page-directory-2026 input{font-family:var(--hb-ui)!important;border-radius:999px}
body.j411-handbook-site.page-directory-2026 button[type=submit]{border-radius:999px;background:var(--hb-orange);color:var(--hb-dark)}
body.j411-handbook-site.page-directory-2026 .d-s046{background:var(--hb-paper)}
body.j411-handbook-site.page-directory-2026 .d-s047{background:var(--hb-dark);padding-bottom:32px}
body.j411-handbook-site.page-directory-2026 .d-s048{display:none}
body.j411-handbook-site.page-directory-2026 .d-s047 :is(a,.d-s056){color:#ff9a86}
body.j411-handbook-site.page-directory-2026 :is(.d-s061,.d-s064){border-radius:999px}
body.j411-handbook-site.page-directory-2026 .d-s061{background:white;color:var(--hb-ink);border:1px solid var(--hb-line)}
body.j411-handbook-site.page-directory-2026 .d-s061{position:relative}
body.j411-handbook-site.page-directory-2026 .d-s062{stroke:var(--hb-muted)}
body.j411-handbook-site.page-directory-2026 .place-suggestions{border-radius:18px;border-top:1px solid var(--hb-orange)}
body.j411-handbook-site.page-directory-2026 .place-suggestions em{color:#ff9a86}
body.j411-handbook-site.page-directory-2026 .d-s063{color:var(--hb-ink)}
body.j411-handbook-site.page-directory-2026 .d-s070{color:#ff9a86}
body.j411-handbook-site.page-directory-2026 .d-s063::placeholder{color:var(--hb-muted);opacity:1}
body.j411-handbook-site.page-directory-2026 .d-s064{background:var(--hb-orange);color:var(--hb-dark)}
body.j411-handbook-site.page-directory-2026 :is(.d-s086,.d-s093,.d-s036){max-width:1168px;padding-inline:24px;color:var(--hb-ink);background:var(--hb-paper)}
body.j411-handbook-site.page-directory-2026 :is(.d-s086,.d-s093,.d-s036) :is(h2,h3,p,span,small,label,button){color:var(--hb-ink)}
body.j411-handbook-site.page-directory-2026 :is(.d-s086,.d-s093,.d-s036) a{color:var(--hb-link)}
body.j411-handbook-site.page-directory-2026 :is(.d-grid87,.d-s103,.d-s019,.d-s027){background:#fff;border:1px solid var(--hb-line);border-radius:18px}
body.j411-handbook-site.page-directory-2026 :is(.d-s103,.d-s019,.d-s027):hover{background:#ede9e1}
body.j411-handbook-site.page-directory-2026 :is(.d-s098,.d-s100){background:white;border-color:var(--hb-line);color:var(--hb-ink)}
body.j411-handbook-site.page-directory-2026 .d-s100[aria-pressed=true]{background:var(--hb-dark);color:white}
body.j411-handbook-site.page-directory-2026 .d-s123{max-width:1168px;color:var(--hb-ink)}
body.j411-handbook-site.page-directory-2026 .d-s123 :is(p,span,strong,a){color:var(--hb-ink)}
/* Home/state structural families share handbook shell and softer search cards. */
body.j411-handbook-site.page-home-minton .hero{min-height:760px}
body.j411-handbook-site.page-home-minton .hero-content{padding-top:72px}
body.j411-handbook-site.page-home-minton .hero h1{max-width:14ch}
body.j411-handbook-site.page-home-minton .hero-slideshow::after{display:none}
body.j411-handbook-site .state-search-card{padding:30px}
body.j411-handbook-site .state-search-card :is(label,p){color:var(--hb-ink)}
body.j411-handbook-site .state-search-card>p:first-child{font-family:var(--hb-display);font-size:30px}
body.j411-handbook-site .state-hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:48px}
@media(max-width:1100px){
 body.j411-handbook-site .site-nav{display:none}
 body.j411-handbook-site .site-menu{display:block;justify-self:end}
 body.j411-handbook-site .site-header__inner{grid-template-columns:1fr auto auto;gap:14px}
}
@media(max-width:820px){
 body.j411-handbook-site .state-hero-grid{grid-template-columns:1fr;gap:32px}
 body.j411-handbook-site .site-header__inner{width:calc(100% - 32px)}
 body.j411-handbook-site .facility-model__hero{grid-template-columns:1fr}
 body.j411-handbook-site.page-directory-2026 .d-grid49{grid-template-columns:1fr;padding-top:42px;gap:36px}
}
@media(max-width:480px){
 body.j411-handbook-site .site-header__inner{gap:8px}
 body.j411-handbook-site:not(.county-handbook-2026):not(.facility-handbook-2026):not(.state-handbook-2026) h1{font-size:clamp(2.65rem,12vw,3.8rem);letter-spacing:-.02em}
 body.j411-handbook-site .shell{width:calc(100% - 32px)}
 body.j411-handbook-site .state-search-card{padding:22px}
 body.j411-handbook-site.page-home-minton .hero-content{padding-top:44px}
 body.j411-handbook-site.page-directory-2026 .d-grid49{padding-inline:16px}
 body.j411-handbook-site.page-directory-2026 .d-s057{font-size:clamp(2.65rem,12vw,3.8rem)!important}
 body.j411-handbook-site .site-footer__inner{width:calc(100% - 32px)}
 body.j411-handbook-site .bp-front__list>li{grid-template-columns:1fr;gap:8px}
 body.j411-handbook-site .bp-masthead{padding-inline:16px}
 body.j411-handbook-site .sh-utility .sh-shell{flex-wrap:wrap;gap:6px 14px;padding-block:10px;line-height:1.35}
 body.j411-handbook-site .sh-hero__grid{grid-template-columns:minmax(0,1fr)}
 body.j411-handbook-site :is(.sh-hero__copy,.sh-search){min-width:0}
 body.j411-handbook-site .sh-pill{max-width:100%;white-space:normal;line-height:1.5}
 body.j411-handbook-site .yj-actions{display:grid;grid-template-columns:1fr;gap:12px}
 body.j411-handbook-site .yj-actions .yj-button{width:100%;min-height:54px}
 body.j411-handbook-site .yj-actions .yj-button strong{white-space:nowrap}
 body.j411-handbook-site :is(.bp-front,.bp-index,.bp-footnote){padding-inline:16px}
 body.j411-handbook-site.page-home-minton .search-row input{border-radius:24px 24px 0 0}
 body.j411-handbook-site.page-home-minton .search-row button{border-radius:0 0 24px 24px}
 body.j411-handbook-site.page-home-minton .image-credit{position:relative;right:auto;bottom:auto;width:calc(100% - 32px);margin:18px auto;padding-block:12px;border-top:1px solid rgba(255,255,255,.24)}
}
@media(prefers-reduced-motion:reduce){
 body.j411-handbook-site *,body.j411-handbook-site *::before,body.j411-handbook-site *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
