/* Mobile app shell: desktop navigation continues to use the common container. */
#bokjifit-pages .bf-mobile-header{display:none}
#bokjifit-pages .bf-filterpage-top{position:static;border:0}
#bokjifit-pages .bf-filterpage-top>.bf-container{min-height:72px}
#bokjifit-pages .bf-filter-reset-row{display:none}
#bokjifit-pages .bf-backtop{position:fixed;right:max(24px,calc((100vw - 1440px)/2));bottom:28px;z-index:120;display:grid;place-items:center;width:44px;height:44px;border:1px solid #e3e8f0;border-radius:50%;color:#243246;background:#fff;box-shadow:0 5px 20px #17396516;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease,visibility .25s ease}
#bokjifit-pages .bf-backtop[data-visible=true]{opacity:1;visibility:visible;pointer-events:auto;transform:none}
#bokjifit-pages .bf-solid-explore{--bf-nav-icon:url('/assets/icons/benefit-search.svg')}
#bokjifit-pages .bf-solid-fit{--bf-nav-icon:url('/assets/icons/personal-fit.svg')}
#bokjifit-pages .bf-solid-saved{--bf-nav-icon:url('/assets/icons/saved.svg')}
/* Filter status occupies one horizontal strip. */
#bokjifit-pages .bf-filter-toolbar{display:flex;align-items:center;gap:9px;margin:18px 0 16px;min-width:0}
#bokjifit-pages .bf-filter-toolbar>.bf-filter-trigger{flex-shrink:0}
#bokjifit-pages .bf-filter-scroll{display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none;padding-block:3px}
#bokjifit-pages .bf-filter-scroll::-webkit-scrollbar{display:none}
#bokjifit-pages .bf-filter-scroll>*{flex-shrink:0;white-space:nowrap}
#bokjifit-pages .bf-filter-scroll .bf-filter-clear{margin-left:0;padding-inline:8px}
#bokjifit-pages .bf-explore-results>.bf-filter-toolbar>.bf-filter-trigger{display:none}
@container(min-width:651px){#bokjifit-pages .bf-explore-results>.bf-filter-toolbar:has(.bf-filter-caption){display:none}}
/* Small scene illustrations belong to the copy, with transparent or softly blended edges. */
#bokjifit-pages .bf-titleband>.bf-container,#bokjifit-pages .bf-detailhead>.bf-container{position:relative}
#bokjifit-pages .bf-subpage-art{position:absolute;right:20px;top:25px;width:150px;pointer-events:none}
#bokjifit-pages .bf-titleband h1,#bokjifit-pages .bf-detailhead h1{padding-right:180px}
#bokjifit-pages .bf-fit-one-head{background:#f4f2df;overflow:hidden}
#bokjifit-pages .bf-fit-copy p{font-size:14px;line-height:1.8;color:var(--bf-sub)}
#bokjifit-pages .bf-fit-one-head>.bf-scene{margin:20px 0 0;width:100%;border-radius:0;mask-image:linear-gradient(180deg,transparent,#000 15%,#000 85%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent,#000 15%,#000 85%,transparent)}
#bokjifit-pages .bf-deskhead>.bf-container{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:20px}
#bokjifit-pages .bf-desk-companion{width:180px;aspect-ratio:1.5;background:url('/assets/fitfriends-hero-alpha.webp') center/contain no-repeat}
#bokjifit-pages .bf-filter-intro-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
#bokjifit-pages .bf-filter-intro-row>.bf-support-art{width:80px;flex-shrink:0}
#bokjifit-pages .bf-sideaction .bf-application-note{font-size:12px;line-height:1.6;color:var(--bf-sub);margin:12px 0}
#bokjifit-pages .bf-mobileaction-row{display:flex;align-items:center;gap:8px}
#bokjifit-pages .bf-mobileaction-row>.bf-iconbutton{flex:0 0 40px}
#bokjifit-pages .bf-mobileaction-row>.bf-button{flex:1;min-width:0;white-space:nowrap}
#bokjifit-pages .bf-mobileaction>p{font-size:11px;text-align:center;color:var(--bf-sub);line-height:16px;margin-top:6px}
@media(hover:hover){#bokjifit-pages .bf-backtop:hover{background:#edf3ff;color:#175fff;transform:translateY(-3px)}}
@container(max-width:650px){
#bokjifit-pages:not(.bf-homepage) .bf-devbanner{display:none}
#bokjifit-pages:not(.bf-homepage) .bf-header{display:none}
#bokjifit-pages .bf-header,#bokjifit-pages .bf-header.bf-scrolled,#bokjifit-pages.bf-homepage .bf-header.bf-scrolled{border-bottom:0;box-shadow:none}
#bokjifit-pages .bf-mobile-header{display:block;position:sticky;top:0;z-index:105;height:56px;background:#fff;border:0;box-shadow:none}
#bokjifit-pages .bf-mobile-header>.bf-container{height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:8px;align-items:center;width:calc(100% - 24px)}
#bokjifit-pages .bf-mobile-header strong{font-size:17px;font-weight:700;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#bokjifit-pages .bf-mobile-header-button{display:grid;place-items:center;width:40px;height:40px;border:0;background:none;color:#171717;border-radius:12px;padding:0}
#bokjifit-pages .bf-mobile-header-button:active{background:#edf3ff}
#bokjifit-pages .bf-searchpage-top,#bokjifit-pages .bf-filterpage-top{display:none}
#bokjifit-pages .bf-backtop{right:16px;bottom:calc(78px + env(safe-area-inset-bottom));width:40px;height:40px}
#bokjifit-pages[data-page=detail] .bf-backtop{bottom:calc(112px + env(safe-area-inset-bottom))}
#bokjifit-pages[data-page=filter] .bf-backtop{bottom:calc(90px + env(safe-area-inset-bottom))}
#bokjifit-pages .bf-reading section{scroll-margin-top:72px}
#bokjifit-pages .bf-titleband>.bf-container{padding-block:16px}
#bokjifit-pages .bf-titleband .bf-eyebrow{display:none}
#bokjifit-pages .bf-titleband h1{font-size:21px;line-height:1.4;padding-right:82px}
#bokjifit-pages .bf-titleband p{font-size:12px;line-height:1.6;max-width:calc(100% - 78px);margin-top:5px}
#bokjifit-pages .bf-titleband .bf-search{margin-top:12px;padding:3px 5px 3px 12px;gap:8px}
#bokjifit-pages .bf-titleband .bf-search input{font-size:14px;padding:7px 0}
#bokjifit-pages .bf-titleband .bf-search button{font-size:12px;padding:8px 12px}
#bokjifit-pages .bf-titleband .bf-subpage-art{width:76px;right:0;top:13px}
#bokjifit-pages .bf-explore{padding-top:12px}
#bokjifit-pages .bf-filter-toolbar,#bokjifit-pages .bf-explore-results>.bf-filter-toolbar{display:flex;margin:0 0 8px;gap:8px;min-height:40px}
#bokjifit-pages .bf-explore-results>.bf-filter-toolbar>.bf-filter-trigger{display:inline-flex}
#bokjifit-pages .bf-filter-toolbar>.bf-filter-trigger{min-height:38px;padding:8px 11px;border-radius:11px;font-size:12px;gap:6px;box-shadow:none}
#bokjifit-pages .bf-filter-trigger b{width:18px;height:18px;font-size:10px}
#bokjifit-pages .bf-filter-chip{min-height:34px;padding:6px 10px;border-radius:9px;background:#edf3ff;border-color:#d7e5ff;font-size:12px;gap:5px}
#bokjifit-pages .bf-filter-caption{font-size:12px}
#bokjifit-pages .bf-resultbar{padding-block:8px 9px;font-size:12px;border-bottom:1px solid #e7ebf2}
#bokjifit-pages .bf-resultrow{margin-top:12px}
#bokjifit-pages .bf-searchpage{padding-top:14px;min-height:calc(100dvh - 118px)}
#bokjifit-pages .bf-searchpage h1{font-size:22px;line-height:1.4}
#bokjifit-pages .bf-global-search{margin-top:15px;margin-bottom:13px}
#bokjifit-pages .bf-fit-one{padding-top:16px}
#bokjifit-pages .bf-fit-one-head{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:8px;align-items:center;padding:18px 14px 18px 18px;border-radius:20px}
#bokjifit-pages .bf-fit-one-head .bf-eyebrow{display:none}
#bokjifit-pages .bf-fit-one-head h1{font-size:21px;line-height:1.4;margin-bottom:8px}
#bokjifit-pages .bf-fit-copy p{font-size:11px;line-height:1.7}
#bokjifit-pages .bf-fit-one-head>.bf-scene{margin:0;width:100%;aspect-ratio:1.5;background-size:200% 200%;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
#bokjifit-pages .bf-fit-one-body{margin-top:20px}
#bokjifit-pages .bf-deskhead>.bf-container{grid-template-columns:minmax(0,1fr) 106px;gap:8px;padding-block:17px}
#bokjifit-pages .bf-deskhead h1{font-size:23px}
#bokjifit-pages .bf-deskhead .bf-eyebrow{display:none}
#bokjifit-pages .bf-deskhead p{font-size:12px;margin-top:5px;line-height:1.6}
#bokjifit-pages .bf-desk-companion{width:106px}
#bokjifit-pages .bf-deskdevice{display:none}
#bokjifit-pages .bf-desknote{margin-block:14px;padding:10px 12px;line-height:1.6}
#bokjifit-pages .bf-guidehero>.bf-container{grid-template-columns:minmax(0,1fr) 116px;gap:8px;padding-block:18px}
#bokjifit-pages .bf-guidehero>.bf-container>div:first-child{padding:0}
#bokjifit-pages .bf-guidehero h1{font-size:23px;line-height:1.4}
#bokjifit-pages .bf-guidehero .bf-eyebrow{display:none}
#bokjifit-pages .bf-guidehero p{font-size:12px;line-height:1.7;margin:9px 0}
#bokjifit-pages .bf-guidehero .bf-link{font-size:11px}
#bokjifit-pages .bf-guidehero>.bf-container>.bf-scene{width:116px;aspect-ratio:1.5;margin:0;background-size:200% 200%;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
#bokjifit-pages .bf-resultshero>.bf-container{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:10px;padding-block:18px}
#bokjifit-pages .bf-resultshero .bf-eyebrow{display:none}
#bokjifit-pages .bf-resultshero h1{font-size:22px}
#bokjifit-pages .bf-resultshero p{font-size:12px;margin-block:8px 12px}
#bokjifit-pages .bf-resultshero>.bf-container>.bf-scene{display:block;width:90px;aspect-ratio:1.5;border-radius:12px;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
#bokjifit-pages .bf-detailhead>.bf-container{padding-block:18px}
#bokjifit-pages .bf-detailhead .bf-breadcrumb{display:none}
#bokjifit-pages .bf-detailhead h1{font-size:24px;line-height:1.4;padding-right:82px;margin-top:10px}
#bokjifit-pages .bf-detailhead .bf-subpage-art{width:76px;right:0;top:36px}
#bokjifit-pages .bf-detailhead p{font-size:12px;line-height:1.7}
#bokjifit-pages .bf-detailhead small{font-size:10px}
#bokjifit-pages .bf-mobileaction{display:block;position:sticky;bottom:0;background:#fff;padding:10px 16px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #edf0f5;z-index:110}
#bokjifit-pages .bf-mobileaction-row>.bf-button{min-height:44px;padding:10px 8px;font-size:13px}
#bokjifit-pages .bf-mobileaction-row>.bf-iconbutton{border:1px solid var(--bf-line);border-radius:12px;height:44px}
#bokjifit-pages .bf-mobileaction-row .bf-button:disabled{opacity:1;background:#d9e3f7;border-color:#d9e3f7;color:#61728e}
#bokjifit-pages .bf-filterpage{min-height:calc(100dvh - 56px)}
#bokjifit-pages .bf-filterpage-body{padding-top:16px}
#bokjifit-pages .bf-filter-intro{font-size:14px}
#bokjifit-pages .bf-filter-intro>span{font-size:11px}
#bokjifit-pages .bf-filter-intro-row>.bf-support-art{width:52px}
#bokjifit-pages .bf-filter-reset-row{display:flex;justify-content:flex-end;margin-top:8px}
#bokjifit-pages .bf-filter-reset-row .bf-link{font-size:12px}
#bokjifit-pages .bf-filter-group{margin-block:20px 26px}
#bokjifit-pages .bf-essay{padding-top:18px}
#bokjifit-pages .bf-essay>.bf-breadcrumb,#bokjifit-pages .bf-essay>.bf-eyebrow{display:none}
#bokjifit-pages .bf-essay h1{font-size:27px}
}
@media(prefers-reduced-motion:reduce){#bokjifit-pages .bf-backtop{transition:none}}
/* The title art takes its own grid cell, above the full-width form. */
#bokjifit-pages .bf-titleband>.bf-container{display:grid;grid-template-columns:minmax(0,1fr) clamp(62px,12vw,144px);column-gap:12px;align-content:center}
#bokjifit-pages .bf-titleband .bf-subpage-art{position:static;grid-column:2;grid-row:1/4;width:100%;align-self:center}
#bokjifit-pages .bf-titleband :is(.bf-eyebrow,h1,p){grid-column:1;padding-right:0;max-width:none}
#bokjifit-pages .bf-titleband .bf-eyebrow{grid-row:1}
#bokjifit-pages .bf-titleband h1{grid-row:2}
#bokjifit-pages .bf-titleband p{grid-row:3}
#bokjifit-pages .bf-titleband .bf-search{grid-column:1/-1;grid-row:4;margin-top:14px}
#bokjifit-pages .bf-scene.bf-clear-art.bf-match{background:transparent url('/assets/fitfriends-hero-alpha.webp') center/contain no-repeat;mask:none}
#bokjifit-pages .bf-scene.bf-clear-art.bf-books{background:transparent url('/assets/support-scenes.webp') 50% 0/300% 200% no-repeat;mask:none;aspect-ratio:1.5}
#bokjifit-pages .bf-step-count{font-weight:700;color:#1658d9;font-size:14px}
#bokjifit-pages .bf-fit-one-body progress{width:100%;height:5px;accent-color:#175fff;margin:9px 0 18px}
#bokjifit-pages .bf-step-heading{font-size:clamp(21px,2vw,28px);outline:none}
#bokjifit-pages .bf-step-hint{color:#515965;margin:6px 0 18px;font-size:14px}
#bokjifit-pages .bf-answer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:7px}
#bokjifit-pages .bf-regions{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}
#bokjifit-pages .bf-answer-grid .bf-fit-pill{padding:8px 4px;font-size:14px;min-height:44px}
#bokjifit-pages .bf-age-label{font-size:16px;margin:19px 0 8px}
#bokjifit-pages .bf-step-actions{display:flex;align-items:center;gap:8px;margin:22px 0}
#bokjifit-pages .bf-step-actions .bf-primary{margin-left:auto}
#bokjifit-pages .bf-header.bf-scrolled .bf-logo,#bokjifit-pages.bf-homepage .bf-header.bf-scrolled .bf-logo{background-color:transparent;mix-blend-mode:multiply}
@container(max-width:650px){
 #bokjifit-pages.bf-homepage .bf-header{display:none}
 #bokjifit-pages.bf-homepage .bf-mobile-header{background:#e5eeff;transition:background-color .22s}
 #bokjifit-pages.bf-homepage .bf-mobile-header.bf-scrolled{background:#fff}
 #bokjifit-pages .bf-mobile-header .bf-logo{grid-column:1/3;width:120px;height:41px;mix-blend-mode:multiply;background-color:transparent}
 #bokjifit-pages .bf-mobile-header-button:last-child{grid-column:3}
 #bokjifit-pages .bf-step-actions .bf-button{padding-inline:12px;font-size:14px}
}
#bokjifit-pages .bf-birth-tabs{display:flex;gap:8px;margin:8px 0 18px}
#bokjifit-pages .bf-birth-tabs button{flex:1}
#bokjifit-pages .bf-extra{border-top:1px solid #dce3ec;padding-block:14px}
#bokjifit-pages .bf-extra summary{font-size:17px;font-weight:700;cursor:pointer}
#bokjifit-pages .bf-extra[open] summary{margin-bottom:15px}
#bokjifit-pages #app .bf-scene.bf-clear-art.bf-compass{background:transparent url('/assets/compass.svg') center/contain no-repeat;mask:none}
#bokjifit-pages #app .bf-desk-companion{background:transparent url('/assets/archive.svg') center/contain no-repeat;mask:none}
#bokjifit-pages #app .bf-scene.bf-clear-art.bf-map{background:transparent url('/assets/map.svg') center/contain no-repeat;mask:none}
#bokjifit-pages #app .bf-scene.bf-clear-art.bf-book{background:transparent url('/assets/book.svg') center/contain no-repeat;mask:none}
#bokjifit-pages #app .bf-scene.bf-clear-art.bf-results{background:transparent url('/assets/results.svg') center/contain no-repeat;mask:none}
#bokjifit-pages #app .bf-guide-house{background:transparent url('/assets/bf-scenes.webp') 100% 0/200% 200% no-repeat;mask-image:radial-gradient(ellipse,#000 52%,transparent 74%)}
#bokjifit-pages #app .bf-guide-match{background:transparent url('/assets/bf-scenes.webp') 0 100%/200% 200% no-repeat;mask-image:radial-gradient(ellipse,#000 52%,transparent 74%)}
#bokjifit-pages #app .bf-guide-books{background:transparent url('/assets/bf-scenes.webp') 100% 100%/200% 200% no-repeat;mask-image:radial-gradient(ellipse,#000 52%,transparent 74%)}
#bokjifit-pages #app .bf-guide-friends{background:transparent url('/assets/bf-scenes.webp') 0 0/200% 200% no-repeat;mask-image:radial-gradient(ellipse,#000 52%,transparent 74%)}
#bokjifit-pages #app .bf-clear-art.bf-reading-art{background:transparent url('/assets/benefit-objects.webp') 100% 100%/300% 200% no-repeat}
#bokjifit-pages .bf-pickrow.bf-support-2{background:linear-gradient(135deg,#08715c,#005549);color:white}
#bokjifit-pages .bf-pickrow.bf-support-2 h3{color:white}
#bokjifit-pages .bf-pickrow.bf-support-2 .bf-support-amount{background:#004c41;color:white}
#bokjifit-pages .bf-birth-selects{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:8px;margin:15px 0}
#bokjifit-pages .bf-birth-selects label{min-width:0;font-size:13px;font-weight:650}
#bokjifit-pages .bf-birth-selects select{display:block;width:100%;min-height:46px;margin-top:6px;padding:8px;border:1px solid #a9b4c5;border-radius:10px;background-color:white;color:#263348;font:inherit;cursor:pointer}
#bokjifit-pages .bf-birth-selects select:disabled{color:#747e8e;background:#f2f4f7;border-color:#dbe0e8}
#bokjifit-pages .bf-birth-selects select[data-chosen=true],#bokjifit-pages .bf-fit-one .bf-fit-pill[aria-pressed=true]{background-color:#184dbe;color:white;border-color:#184dbe}
#bokjifit-pages .bf-birth-selects option{background:white;color:#172238}
#bokjifit-pages .bf-birth-selects select:focus-visible{outline:3px solid #85a8f8;outline-offset:2px}
@container(max-width:650px){
 #bokjifit-pages .bf-mobiledesk .bf-savetabs{justify-content:flex-start;gap:4px;padding-inline:14px;overflow-x:auto}
 #bokjifit-pages .bf-mobiledesk .bf-savetabs button{flex:0 0 auto;min-width:44px;min-height:44px;padding:9px 7px}
 #bokjifit-pages .bf-mobiledesk .bf-savetabs button.bf-on{color:#184dbe}
 #bokjifit-pages .bf-mobiledesk .bf-savetabs button.bf-on:after{background:#184dbe}
}
/* Desktop navigation and editorial panels */
@container (min-width: 1001px){
 #bokjifit-pages .bf-topnav{gap:0}
 #bokjifit-pages .bf-topnav button{padding-inline:clamp(15px,1.5vw,25px);border-radius:0}
 #bokjifit-pages .bf-topnav button::after,
 #bokjifit-pages .bf-topnav button.bf-on::after{left:0;right:0}
 #bokjifit-pages .bf-picklayout{align-items:stretch}
 #bokjifit-pages .bf-picks{align-self:stretch;grid-auto-rows:1fr}
 #bokjifit-pages .bf-fitinvitation{justify-content:space-between}
 #bokjifit-pages #app :is(.bf-fitinvitation .bf-clear-art.bf-map,.bf-readart .bf-clear-art.bf-books,.bf-guidehero .bf-clear-art.bf-book){
   background-image:url('/assets/bf-scenes.webp');background-size:200% 200%;background-repeat:no-repeat;
   mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(0deg,transparent,#000 13%,#000 87%,transparent);mask-composite:intersect;
 }
 #bokjifit-pages #app .bf-fitinvitation .bf-clear-art.bf-map{background-position:0 100%;width:min(100%,420px);aspect-ratio:1.5;margin:12px auto 0}
 #bokjifit-pages #app .bf-readart .bf-clear-art.bf-books{background-position:100% 100%}
 #bokjifit-pages #app .bf-guidehero .bf-clear-art.bf-book{background-position:0 0}
}
#bokjifit-pages #app .bf-topnav button{font-size:15px}
#bokjifit-pages #app .bf-topnav button:hover{background-color:transparent}
#bokjifit-pages #app .bf-filter-choice{position:relative;justify-content:center;text-align:center;padding-inline:30px}
#bokjifit-pages .bf-filter-choice .bf-choice-check{position:absolute;right:9px}
#bokjifit-pages .bf-birth-selects label{position:relative}
#bokjifit-pages .bf-birth-selects select{appearance:none;padding-right:28px}
#bokjifit-pages .bf-birth-selects label::after{content:'';pointer-events:none;position:absolute;right:13px;bottom:21px;width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
#bokjifit-pages .bf-birth-selects label:has([data-chosen=true])::after{color:white}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 #bokjifit-pages #app :is(button,a.bf-button,.bf-motion-item[data-revealed=true]){
  transition:transform .32s cubic-bezier(.2,.75,.25,1),translate .32s ease,box-shadow .32s ease,color .22s ease,background-color .22s ease,border-color .22s ease,opacity .4s ease;
 }
}
#bokjifit-pages .bf-sideaction a,#bokjifit-pages .bf-mobileaction a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
#bokjifit-pages .bf-sideaction a{width:100%}
#bokjifit-pages .bf-scene.bf-clear-art{background-color:transparent}
/* Shared transparent character cutouts at every breakpoint. */
#bokjifit-pages #app .bf-fitinvitation .bf-clear-art.bf-map,
#bokjifit-pages #app .bf-clear-art.bf-guide-match{--friends-art:url('/assets/friends-check.webp')}
#bokjifit-pages #app .bf-readart .bf-clear-art.bf-books,
#bokjifit-pages #app .bf-clear-art.bf-guide-books{--friends-art:url('/assets/friends-read.webp')}
#bokjifit-pages #app .bf-guidehero .bf-clear-art.bf-book,
#bokjifit-pages #app .bf-clear-art.bf-guide-friends{--friends-art:url('/assets/friends-guide.webp')}
#bokjifit-pages #app .bf-clear-art.bf-guide-house{--friends-art:url('/assets/friends-house.webp')}
#bokjifit-pages #app :is(.bf-fitinvitation .bf-clear-art.bf-map,.bf-readart .bf-clear-art.bf-books,.bf-guidehero .bf-clear-art.bf-book,.bf-clear-art[class*="bf-guide-"]){
 background:transparent var(--friends-art) center / contain no-repeat;mask:none;
}
#bokjifit-pages .bf-filter select{text-align:center;text-align-last:center}
#bokjifit-pages #app .bf-resultrow{position:relative;cursor:pointer}
#bokjifit-pages .bf-row-link{color:inherit;text-decoration:none}
#bokjifit-pages .bf-row-link::after{content:'';position:absolute;inset:0;border-radius:inherit}
#bokjifit-pages .bf-resultrow [data-save]{position:relative;z-index:2}
#bokjifit-pages .bf-resultrow:focus-within{outline:2px solid #356adb;outline-offset:2px}
@media(hover:hover){#bokjifit-pages #app .bf-resultrow:hover{background:#f5f8ff;border-color:#8caff5;box-shadow:0 5px 18px #3766ab15}#bokjifit-pages .bf-resultrow:hover h3{color:#174fae}}
#bokjifit-pages .bf-facts{margin:16px 0}
#bokjifit-pages .bf-facts>div{display:grid;grid-template-columns:minmax(70px,22%) 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #e4e8ef;font-size:15px;line-height:1.65}
#bokjifit-pages .bf-facts dt{font-weight:700}#bokjifit-pages .bf-facts dd{margin:0}
#bokjifit-pages .bf-newlist{border-top:2px solid #192c49}
#bokjifit-pages .bf-newlist>a{display:grid;grid-template-columns:56px 1fr auto 18px;gap:10px;align-items:center;padding:16px 6px;border-bottom:1px solid #dce4ef;text-decoration:none;color:inherit}
#bokjifit-pages .bf-newlist time{font-weight:700;color:#2655ad;font-variant-numeric:tabular-nums}
#bokjifit-pages .bf-newlist>a:is(:hover,:focus-visible){background:#f1f6ff}
@media(max-width:650px){#bokjifit-pages .bf-newlist>a{grid-template-columns:40px 1fr auto;gap:6px;font-size:13px}#bokjifit-pages .bf-newlist>a>span:last-child{display:none}}
@container(min-width:1001px){
 #bokjifit-pages #app .bf-fitinvitation .bf-clear-art.bf-map,#bokjifit-pages #app .bf-clear-art.bf-guide-match{--friends-art:url('/assets/friends-check-hd.webp')}
 #bokjifit-pages #app .bf-readart .bf-clear-art.bf-books,#bokjifit-pages #app .bf-clear-art.bf-guide-books{--friends-art:url('/assets/friends-read-hd.webp')}
 #bokjifit-pages #app .bf-guidehero .bf-clear-art.bf-book,#bokjifit-pages #app .bf-clear-art.bf-guide-friends{--friends-art:url('/assets/friends-guide-hd.webp')}
 #bokjifit-pages #app .bf-clear-art.bf-guide-house{--friends-art:url('/assets/friends-house-hd.webp')}
 #bokjifit-pages #app .bf-clear-art{max-width:480px;justify-self:center}
}
@container(min-width:1001px){#bokjifit-pages #app .bf-newhero-art{max-width:768px;justify-self:center}}
#bokjifit-pages .bf-newhero{position:relative}
#bokjifit-pages .bf-newhero [hidden]{display:none!important}
#bokjifit-pages .bf-second h2{font-size:clamp(32px,4vw,62px);line-height:1.2;letter-spacing:-.045em}
#bokjifit-pages .bf-second em{color:#275fd0;font-style:normal}
#bokjifit-pages .bf-newhero[data-slide="1"] .bf-newhero-art{background:transparent url('/assets/friends-read-hd.webp') center / contain no-repeat}
#bokjifit-pages .bf-slide-controls{display:flex;align-items:center;justify-content:center;gap:9px;padding:3px 0 12px;font-size:12px}
#bokjifit-pages .bf-slide-controls button{border:0;background:#ffffffab;color:#203b64;border-radius:9px;min-width:32px;min-height:32px;padding:3px 8px}
#bokjifit-pages .bf-procedure{padding-left:24px}
#bokjifit-pages .bf-procedure li{padding:8px 0 12px 6px}
#bokjifit-pages #poster figure{margin:15px 0}#bokjifit-pages #poster img{display:block;max-width:100%;width:min(100%,600px);height:auto;border-radius:12px}
#bokjifit-pages .bf-install-link{font-size:14px;color:#154caf;font-weight:700}
#bokjifit-pages .bf-newhero,#bokjifit-pages.bf-homepage .bf-mobile-header{background:#fff}
#bokjifit-pages .bf-status.bf-closed{color:#5b3540;background:#f8e9eb;border:1px solid #e8bdc7}
#bokjifit-pages .bf-status.bf-open-status{color:#094d3c;background:#dff5eb;border:1px solid #a5d9c6}
#bokjifit-pages .bf-list-period{display:flex;align-items:flex-start;gap:7px;font-size:13px;color:#4c5c72;line-height:1.6;margin:12px 0}
#bokjifit-pages .bf-list-period svg{flex-shrink:0;margin-top:3px}
#bokjifit-pages .bf-interest-tabs{display:flex;gap:4px;border-bottom:1px solid #d8e0ec;margin-bottom:20px}
#bokjifit-pages .bf-interest-tabs button{padding:12px;border:0;background:none;color:#5d6879;min-height:44px;font-weight:700}
#bokjifit-pages .bf-interest-tabs button[aria-pressed=true]{color:#174faf;border-bottom:3px solid #174faf}
#bokjifit-pages .bf-interest-card{margin-bottom:16px}
#bokjifit-pages .bf-interest-actions{display:flex;align-items:center;gap:12px;padding:10px 8px}
#bokjifit-pages .bf-interest-actions small{color:#606d80;font-size:11px}
#bokjifit-pages .bf-facts>div:empty{display:none}
#bokjifit-pages .bf-reading>section{opacity:1;transform:none}
#bokjifit-pages .bf-reading strong{font-weight:750}
html.bf-booting #app{visibility:hidden}
#bf-splash{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:linear-gradient(#c0e0fa,#edf6ff 65%);overflow:hidden;color:#102747;transition:opacity .4s ease}
#bf-splash .bf-splash-brand{width:min(48vw,220px);height:auto;margin-top:max(7vh,36px);mix-blend-mode:multiply;animation:bf-brand-in .65s both}
#bf-splash p{font:650 clamp(18px,5vw,24px)/1.5 Pretendard,system-ui;text-align:center;z-index:2;margin:10px 0}
#bf-splash .bf-splash-friends{position:absolute;bottom:0;width:min(100%,640px);height:auto;mix-blend-mode:multiply;animation:bf-friends-in .85s .15s both}
#bf-splash .bf-splash-stroke{width:82px;height:4px;background:#26a7ef;border-radius:50%;z-index:2;transform:rotate(-7deg);animation:bf-stroke .7s .3s both}
#bf-splash.bf-splash-leaving{opacity:0;pointer-events:none}
@keyframes bf-brand-in{from{opacity:0;transform:translateY(-12px) scale(.94)}to{opacity:1;transform:none}}
@keyframes bf-friends-in{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes bf-stroke{from{opacity:0;scale:.1 1}to{opacity:1;scale:1}}
@media(prefers-reduced-motion:reduce){#bf-splash *{animation:none!important}}
#bokjifit-pages #app .bf-newhero>.bf-container{display:block;padding:0}
#bokjifit-pages .bf-hero-viewport{width:100%;overflow:hidden}
#bokjifit-pages .bf-hero-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;transition:transform .65s cubic-bezier(.22,.7,.25,1)}
#bokjifit-pages .bf-hero-slide{display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:center;padding:30px 0 38px;min-height:460px;box-sizing:border-box}
#bokjifit-pages #app .bf-hero-slide .bf-newhero-art{width:100%;max-width:100%;margin:0}
#bokjifit-pages .bf-hero-slide h2{font-size:clamp(32px,4vw,62px);line-height:1.25;letter-spacing:-.045em}
#bokjifit-pages .bf-hero-slide em{color:#275fd0;font-style:normal}
#bokjifit-pages .bf-slide-guideart{height:100%;min-height:280px;background:url('/assets/friends-read-hd.webp') center/contain no-repeat}
@container(max-width:650px){
 #bokjifit-pages .bf-hero-slide{grid-template-columns:1fr;grid-template-rows:minmax(295px,auto) 230px;gap:0;padding:0;min-height:0;align-items:stretch}
 #bokjifit-pages .bf-hero-slide .bf-newhero-copy{padding:24px 0 10px}
 #bokjifit-pages .bf-slide-guideart{min-height:0}
 #bokjifit-pages .bf-hero-slide h2{font-size:36px}
 #bokjifit-pages .bf-hero-slide .bf-newhero-art{height:230px;min-height:0}
 #bokjifit-pages .bf-facts>div{grid-template-columns:90px 1fr}
}
@media(prefers-reduced-motion:reduce){#bokjifit-pages .bf-hero-track{transition:none}}

/* The moving viewport spans the screen; the gutter belongs to each slide. */
#bokjifit-pages #app .bf-newhero>.bf-container{width:100%;max-width:none;margin:0;padding:0}
#bokjifit-pages .bf-hero-slide{padding-inline:max(32px,calc((100% - 1440px)/2));min-width:0}
#bokjifit-pages .bf-hero-viewport{touch-action:pan-y}
#bokjifit-pages .bf-slide-controls{gap:0;padding:6px 0 18px}
#bokjifit-pages .bf-slide-controls .bf-slide-dot{display:grid;place-items:center;width:30px;height:36px;min-width:30px;padding:0;background:transparent}
#bokjifit-pages .bf-slide-dot span{display:block;width:7px;height:7px;border-radius:20px;background:#c3cbd8;transition:width .3s ease,background .3s ease}
#bokjifit-pages .bf-slide-dot[aria-pressed=true] span{width:22px;background:#1760ff}
#bokjifit-pages .bf-slide-controls .bf-slide-toggle{display:grid;place-items:center;width:32px;height:32px;padding:0;margin-left:10px;border-radius:50%;background:#f0f3f8;color:#29374b}
#bokjifit-pages .bf-slide-controls button:focus-visible{outline:2px solid #1760ff;outline-offset:2px}
#bokjifit-pages .bf-period-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
#bokjifit-pages .bf-period-label{font-size:12px;color:#687385}
#bokjifit-pages .bf-list-period strong{font-size:13px;color:#26354a;font-weight:650;overflow-wrap:anywhere}
#bf-splash{background:#fff;padding:env(safe-area-inset-top) 20px env(safe-area-inset-bottom);box-sizing:border-box}
#bf-splash .bf-splash-brand{width:min(48vw,200px);max-height:32vh;object-fit:contain;margin-top:max(7vh,28px);mix-blend-mode:normal}
#bf-splash .bf-splash-friends{bottom:max(6vh,24px);width:min(90%,520px);height:38vh;object-fit:contain;mix-blend-mode:normal}
@container(max-width:650px){#bokjifit-pages .bf-hero-slide{padding-inline:20px}}

/* Reserve only the badge row for the save action; titles use the entire card. */
#bokjifit-pages #app .bf-resultrow{display:block;position:relative}
#bokjifit-pages #app .bf-resultrow>div{min-width:0;width:100%}
#bokjifit-pages #app .bf-resultrow>div>.bf-row{padding-right:42px;min-height:36px}
#bokjifit-pages #app .bf-resultrow>[data-save]{position:absolute;right:16px;top:18px;z-index:2}
#bokjifit-pages #app .bf-resultrow h3{width:100%;padding-right:0;word-break:keep-all;overflow-wrap:anywhere}
#bokjifit-pages #app .bf-list-period{display:grid;grid-template-columns:16px 1fr;column-gap:7px;row-gap:4px}
#bokjifit-pages #app .bf-list-period .bf-period-label{grid-column:2}
#bokjifit-pages #app .bf-list-period>strong{grid-column:1/-1;display:block;text-align:left;padding:0;margin:0}
@container(max-width:650px){
 #bokjifit-pages .bf-newhero{--bf-hero-height:max(560px,calc(100svh - 118px - env(safe-area-inset-bottom)));height:var(--bf-hero-height);display:flex;flex-direction:column}
 #bokjifit-pages #app .bf-newhero>.bf-container{height:calc(var(--bf-hero-height) - 54px);flex:none}
 #bokjifit-pages .bf-hero-viewport,#bokjifit-pages .bf-hero-track{height:100%}
 #bokjifit-pages .bf-hero-slide{height:100%;min-height:0;grid-template-rows:minmax(290px,.95fr) minmax(210px,1fr)}
 #bokjifit-pages .bf-hero-slide .bf-newhero-copy{padding-top:clamp(20px,4svh,40px)}
 #bokjifit-pages #app .bf-hero-slide .bf-newhero-art,#bokjifit-pages .bf-slide-guideart{height:100%;min-height:0;background-position:center;background-size:contain;align-self:stretch}
 #bokjifit-pages .bf-slide-controls{height:54px;flex:none;padding:0 0 8px}
}

#bokjifit-pages .bf-hero-slide{overflow:hidden}

#bokjifit-pages #app .bf-hero-slide .bf-banner-guide-link{display:inline-flex;margin-top:18px;min-height:42px;align-items:center;color:#1760ff;font-weight:700}

#bf-splash .bf-splash-brand{width:min(36vw,150px);height:145px;object-fit:contain}
#bf-splash .bf-splash-name{font:800 40px/1.2 Pretendard,system-ui,sans-serif;letter-spacing:-.05em;color:#102747;margin:10px 0 4px}
#bokjifit-pages [data-carousel-clone] .bf-newhero-copy,#bokjifit-pages [data-carousel-clone] .bf-newhero-art{opacity:1!important;transform:none!important}
#bokjifit-pages #app .bf-hero-slide{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
#bokjifit-pages #app .bf-hero-slide .bf-newhero-copy{min-width:0;width:100%}
@container(max-width:650px){#bokjifit-pages #app .bf-hero-slide{grid-template-columns:minmax(0,1fr)}}

/* Inset introductions share the header grid without creating a second full-width strip. */
#bokjifit-pages #app :is(.bf-titleband,.bf-detailhead,.bf-deskhead,.bf-resultshero,.bf-guidehero){width:calc(100% - 2*var(--bf-page-gutter));max-width:1440px;margin:24px auto 0;border:0;border-radius:24px;overflow:hidden;background:linear-gradient(115deg,#f0f5ff,#f6f4ff);box-shadow:none}
#bokjifit-pages #app :is(.bf-titleband,.bf-detailhead,.bf-deskhead,.bf-resultshero,.bf-guidehero)>.bf-container{width:100%;padding:30px 32px;margin:0;max-width:none}
#bokjifit-pages #app .bf-guidehero>.bf-container>div:first-child{padding:0}
#bokjifit-pages #app .bf-fit-all{grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr);gap:40px}
#bokjifit-pages #app .bf-fit-all .bf-fit-one-head{position:sticky;top:100px;background:#f4f7ff}
#bokjifit-pages #app .bf-fit-all .bf-fit-one-body{padding:0;border:0;background:white}
#bokjifit-pages .bf-fit-group{padding:26px 0;border-bottom:1px solid #e7ebf2}
#bokjifit-pages .bf-fit-group:first-child{padding-top:0}
#bokjifit-pages .bf-fit-group-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}
#bokjifit-pages .bf-fit-group-heading>span{font-size:12px;font-weight:700;color:#1760ff}
#bokjifit-pages .bf-fit-group-heading h2{font-size:19px;margin:0}
#bokjifit-pages .bf-fit-group-heading small{font-size:12px;color:#697383;margin-left:auto}
#bokjifit-pages .bf-fit-submit{padding:24px 0}
#bokjifit-pages .bf-fit-submit .bf-button{width:100%}
#bokjifit-pages #app .bf-birth-selects select{text-align:center;text-align-last:center;padding-inline:32px;background-position:right 14px center}
@container(max-width:650px){
 #bokjifit-pages #app :is(.bf-titleband,.bf-detailhead,.bf-deskhead,.bf-resultshero,.bf-guidehero){width:calc(100% - 32px);margin-top:12px;border-radius:20px}
 #bokjifit-pages #app :is(.bf-titleband,.bf-detailhead,.bf-deskhead,.bf-resultshero,.bf-guidehero)>.bf-container{padding:22px 18px}
 #bokjifit-pages #app .bf-fit-all{display:block;padding-top:12px}
 #bokjifit-pages #app .bf-fit-all .bf-fit-one-head{position:static;min-height:0}
 #bokjifit-pages #app .bf-fit-all .bf-fit-one-body{margin-top:28px}
 #bokjifit-pages .bf-fit-group{padding:24px 0}
 #bokjifit-pages .bf-fit-group-heading{gap:8px}
 #bokjifit-pages .bf-fit-group-heading h2{font-size:18px}
 #bokjifit-pages .bf-fit-group-heading small{font-size:11px}
 #bokjifit-pages .bf-fit-all .bf-regions{grid-template-columns:repeat(3,minmax(0,1fr))}
 #bokjifit-pages #app .bf-deskhead h1{font-size:22px;line-height:1.4}
}

/* Neutral birthday controls and three equal-width interest tabs. */
#bokjifit-pages #app .bf-birth-selects select,
#bokjifit-pages #app .bf-birth-selects select[data-chosen=true]{background:#fff;color:#171717;border-color:#d5dce7;text-align:left;text-align-last:left;padding-left:14px;padding-right:32px}
#bokjifit-pages #app .bf-birth-selects select:disabled{background:#f5f6f8;color:#8993a1}
#bokjifit-pages #app .bf-birth-selects label:has([data-chosen=true])::after{color:#536176}
#bokjifit-pages #app .bf-interest-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%}
#bokjifit-pages #app .bf-interest-tabs button{width:100%;min-width:0;justify-content:center;text-align:center}

/* Consistent public notice sections and compact metadata. */
#bokjifit-pages .bf-notice-summary{margin:0 0 30px;border-block:1px solid #e2e7ef;background:#fff}
#bokjifit-pages .bf-notice-summary>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;padding:14px 18px;border-bottom:1px solid #eef1f5;font-size:14px;line-height:1.75}
#bokjifit-pages .bf-notice-summary>div:last-child{border-bottom:0}
#bokjifit-pages .bf-notice-summary dt{font-weight:700;color:#151515}
#bokjifit-pages .bf-notice-summary dd{margin:0;white-space:pre-line;overflow-wrap:anywhere;color:#444}
#bokjifit-pages .bf-reading .bf-notice-section{padding:28px 0;border-bottom:1px solid #e5e9f0;margin:0}
#bokjifit-pages .bf-reading .bf-notice-section h2{font-size:21px;margin:0 0 18px;line-height:1.5;display:flex;align-items:center;gap:10px}
#bokjifit-pages .bf-reading .bf-notice-section h2::before{content:'';width:5px;height:18px;border-radius:3px;background:#1760ff;flex-shrink:0}
#bokjifit-pages .bf-reading .bf-notice-section h3{font-size:16px;margin:24px 0 12px}
#bokjifit-pages .bf-reading .bf-notice-section p,#bokjifit-pages .bf-reading .bf-notice-section li{line-height:1.9;white-space:pre-line}
#bokjifit-pages .bf-reading .bf-notice-section .bf-facts{margin-bottom:0}
#bokjifit-pages .bf-reading .bf-notice-section img{max-width:100%;height:auto}
#bokjifit-pages #app .bf-header,#bokjifit-pages.bf-homepage #app .bf-header{background:#fff}
@container(max-width:650px){
 #bokjifit-pages .bf-notice-summary>div{grid-template-columns:76px minmax(0,1fr);gap:14px;padding:12px 8px;font-size:13px}
 #bokjifit-pages .bf-reading .bf-notice-section{padding-block:26px}
 #bokjifit-pages .bf-reading .bf-notice-section h2{font-size:19px}
 #bokjifit-pages #app .bf-bottomnav{position:fixed;inset:auto 0 0;z-index:115;width:100%;margin:0;background:#fff;opacity:1;border-radius:0;box-shadow:0 2px 0 2px #fff;isolation:isolate;transform:none;height:calc(62px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
 #bokjifit-pages #app .bf-bottomnav::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:calc(2px + env(safe-area-inset-bottom));background:#fff;z-index:-1;pointer-events:none}
 #bokjifit-pages:not([data-page=detail]):not([data-page=filter]) #app{padding-bottom:calc(62px + env(safe-area-inset-bottom))}
}

/* One section divider: the final table row does not draw a second rule. */
#bokjifit-pages .bf-reading .bf-notice-section .bf-facts>div:last-child{border-bottom:0}
#bokjifit-pages .bf-list-options{display:flex;justify-content:flex-end;margin:12px 0 18px}
#bokjifit-pages .bf-closed-toggle{display:inline-flex;align-items:center;justify-content:flex-end;gap:9px;padding:6px 0 6px 12px;min-height:40px;border:0;background:none;color:#657084;font-size:12px;white-space:nowrap;cursor:pointer}
#bokjifit-pages .bf-switch-track{display:flex;align-items:center;width:34px;height:20px;border-radius:20px;background:#cdd4df;padding:3px;transition:background .22s}
#bokjifit-pages .bf-switch-track>span{width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #17213820;transition:transform .22s}
#bokjifit-pages .bf-closed-toggle[aria-checked=true]{color:#1758d8}
#bokjifit-pages .bf-closed-toggle[aria-checked=true] .bf-switch-track{background:#1760ff}
#bokjifit-pages .bf-closed-toggle[aria-checked=true] .bf-switch-track>span{transform:translateX(14px)}
#bokjifit-pages .bf-closed-toggle:focus-visible{outline:2px solid #1760ff;outline-offset:3px;border-radius:5px}
@media(prefers-reduced-motion:reduce){#bokjifit-pages .bf-switch-track,#bokjifit-pages .bf-switch-track>span{transition:none}}

/* Keep the switch node mounted so state changes can interpolate. */
#bokjifit-pages .bf-switch-track{transition:background-color .32s cubic-bezier(.22,1,.36,1)}
#bokjifit-pages .bf-switch-track>span{transition:transform .32s cubic-bezier(.22,1,.36,1),box-shadow .32s ease}
#bokjifit-pages .bf-mobile-header strong{font-size:20px;letter-spacing:-.035em}
#bokjifit-pages .bf-reading{--bf-reading-size:15px}
#bokjifit-pages .bf-notice-summary>div{font-size:var(--bf-reading-size,15px)}
#bokjifit-pages .bf-notice-summary :is(dt,dd){font-size:inherit;line-height:1.85}
@container(max-width:650px){#bokjifit-pages .bf-route-surface{overflow-x:clip}}
@media(prefers-reduced-motion:reduce){#bokjifit-pages .bf-switch-track,#bokjifit-pages .bf-switch-track>span{transition:none}}

/* A single viewport-sized surface moves; its children keep their normal layout. */
@media(max-width:650px){
 #bokjifit-pages .bf-route-panel{position:fixed;inset:0;z-index:180;width:100%;height:100dvh;background:#fff;overflow:auto;overscroll-behavior:contain;will-change:transform}
}

/* Suppress touch flash without removing the keyboard focus indicator. */
#bokjifit-pages .bf-closed-toggle,#bokjifit-pages .bf-closed-toggle *{-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
#bokjifit-pages .bf-closed-toggle{touch-action:manipulation}
#bokjifit-pages .bf-closed-toggle:focus-visible{outline:none}
#bokjifit-pages .bf-closed-toggle:focus-visible .bf-switch-track{outline:2px solid #1760ff;outline-offset:3px}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* Search has one result heading and one aligned refinement row. */
#bokjifit-pages #app .bf-search{display:flex;align-items:center}
#bokjifit-pages #app .bf-search input:focus,#bokjifit-pages #app .bf-search input:focus-visible{outline:none;box-shadow:none;border:0}
#bokjifit-pages #app .bf-search:focus-within{outline:none;box-shadow:none;border-color:#7d8797}
#bokjifit-pages #app .bf-global-search{gap:10px;padding:7px 8px 7px 14px;border:1px solid #cbd2dd;min-height:58px;border-radius:14px}
#bokjifit-pages #app .bf-global-search input{height:42px;padding:0;line-height:1.5;min-width:0;flex:1}
#bokjifit-pages #app .bf-global-search button{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:0;margin:0;line-height:1;transform:none;border-radius:10px}
#bokjifit-pages #app .bf-global-search button svg{display:block;width:21px;height:21px;margin:0;transform:none}
#bokjifit-pages #app .bf-search-resulthead{margin:28px 0 0;padding:0;border:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}
#bokjifit-pages #app .bf-search-resulthead h2{margin:0;font-size:21px;line-height:1.5;min-width:0;overflow-wrap:anywhere}
#bokjifit-pages #app .bf-search-resulthead>span{white-space:nowrap;font-size:12px;color:#7c8696}
#bokjifit-pages .bf-search-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 18px;margin-bottom:16px;border-bottom:1px solid #e5e9f0}
#bokjifit-pages .bf-search-refine{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce3ed;border-radius:10px;background:#fff;min-height:40px;padding:9px 12px;font-size:13px;font-weight:650;color:#26344b}
#bokjifit-pages .bf-search-refine b{display:grid;place-items:center;background:#1760ff;color:white;border-radius:50%;width:18px;height:18px;font-size:10px}
#bokjifit-pages .bf-search-controls .bf-closed-toggle{padding:0;min-height:40px}
#bokjifit-pages .bf-search-applied .bf-filter-trigger{display:none}
#bokjifit-pages .bf-search-applied .bf-filter-toolbar{margin:0 0 16px}
#bokjifit-pages .bf-search-applied .bf-filter-scroll{flex-wrap:wrap;overflow:visible}
@container(max-width:650px){#bokjifit-pages #app .bf-search-resulthead h2{font-size:19px}#bokjifit-pages .bf-search-controls{gap:10px}#bokjifit-pages .bf-search-refine{font-size:12px}#bokjifit-pages .bf-search-controls .bf-closed-toggle{font-size:11px}}
