/* V5.84 — portrait directory, top filters and separate work gallery. */
html:root body.jf-page{height:auto;min-height:100dvh;display:block;overflow:auto;background:#08141f}
html:root .jf-page .jf-shell{width:min(1580px,calc(100% - 40px));max-width:1580px;margin:14px auto 0;padding:0 0 24px;display:block}
html:root .jf-page .jf-top{padding:0 0 14px;border-bottom:1px solid #283d4d;gap:16px}
html:root .jf-page .jf-heading{padding:22px 0 20px;margin:0;display:flex;justify-content:center;text-align:center}
html:root .jf-page .jf-heading h1{font-size:clamp(24px,2.2vw,34px);letter-spacing:.12em;margin:0 0 7px}
html:root .jf-page .jf-heading p{font-size:14px;margin:0;color:#a8bfd5}
html:root .jf-page .jf-directory-layout{display:block;min-height:0}
html:root .jf-page .jf-directory-content,html:root .jf-page .jw-panel{height:auto;overflow:visible;padding:0;container-type:normal}
html:root .jf-page [hidden]{display:none!important}
/* V5.86: filters unfold in the toolbar, without an overlay. */
html:root .jf-page .jf-browser-toolbar{display:flex;align-items:flex-start;justify-content:flex-start;gap:9px;margin:0 0 22px;position:relative;min-height:44px;z-index:2}
html:root .jf-page .jf-directory-areas{display:flex;gap:9px;margin:0;flex-wrap:nowrap;flex:none}
html:root .jf-page .jf-directory-areas button{width:auto;min-height:44px;height:44px;font-size:12px;padding:10px 15px;border:1px solid #30495d;border-radius:8px;background:rgba(0,0,0,.585);white-space:nowrap}
html:root .jf-page .jf-directory-areas #jf-general[aria-pressed=true],html:root .jf-page #jf-opportunities[aria-pressed=true]{background:#087bff;border-color:#087bff;color:#fff;box-shadow:none}
html:root .jf-page .jf-directory-areas #jf-adult{background:#a82839;border-color:#b63749;color:#fff}
html:root .jf-page #jf-filter-panel{position:static;display:flex;align-items:flex-start;gap:0;margin:0;padding:0;border:0;background:transparent;flex:1;min-width:0;height:auto}
html:root .jf-page #jf-filter-title{pointer-events:auto;display:flex;position:relative;gap:8px;align-items:center;justify-content:center;flex:0 0 116px;width:116px;min-height:44px;height:44px;padding:10px;background:rgba(0,0,0,.585);border:1px solid #30495d;border-radius:8px;color:#d8eaff;font-size:12px;white-space:nowrap}
html:root .jf-page #jf-filter-title svg{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor}
html:root .jf-page #jf-filter-title[aria-expanded=true]{background:#087bff;border-color:#087bff}
html:root .jf-page #jf-filter-count{position:absolute;right:-5px;top:-6px;background:#087bff;color:#fff;border:1px solid #a9d9ff;border-radius:12px;padding:2px 5px;font-size:10px}
html:root .jf-page .jf-filter-drawer{position:static;inset:auto;display:flex;align-items:flex-start;gap:14px;flex:1;min-width:0;margin-left:12px;padding:0 0 8px 12px;border:0;border-left:1px solid #30495d;border-radius:0;background:transparent;box-shadow:none;max-height:none;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#5d7586 transparent;animation:jf-filter-right .28s ease-out}
html:root .jf-page #jf-filter-panel.is-closing .jf-filter-drawer{animation:jf-filter-right .18s ease-in reverse both}
html:root .jf-page .jf-directory-search,html:root .jf-page .jf-work-search-slot .jw-search{display:flex;align-items:center;gap:0;flex:0 0 174px;width:174px;min-width:174px;max-width:174px;margin:0;background:rgba(0,0,0,.585);border:1px solid #30495d;border-radius:8px;overflow:hidden;box-sizing:border-box}
html:root .jf-page .jf-directory-search input,html:root .jf-page .jf-work-search-slot input{width:100%;min-width:0;height:42px;margin:0;border:0;background:transparent;padding:8px;font-size:12px;box-sizing:border-box}
html:root .jf-page .jf-directory-search button,html:root .jf-page .jf-work-search-slot button{width:34px;min-width:34px;height:42px;min-height:42px;border:0;background:transparent;padding:7px;color:#b6d6f0}
html:root .jf-page .jf-directory-search svg,html:root .jf-page .jf-work-search-slot svg{width:19px;height:19px}
html:root .jf-page #jf-filters{position:static;inset:auto;width:max-content;flex:none;margin:0;box-sizing:border-box;display:flex;align-items:flex-start;flex-wrap:nowrap;gap:14px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;max-height:none;overflow:visible;animation:none}
html:root .jf-page #jf-filters>label,html:root .jf-page #jf-filters>.jf-inline-field{flex:0 0 150px;width:150px;min-width:150px;display:flex;flex-direction:column;gap:6px;margin:0;padding:0;border:0;color:#d7e5f1;font-size:11px}
html:root .jf-page #jf-filters select{width:100%;min-height:36px;height:36px;margin:0;font-size:11px;padding:6px;background:rgba(0,0,0,.585)}
html:root .jf-page #jf-filters .jf-profession-filter{margin:0;padding:0;border:0;min-width:0}
html:root .jf-page #jf-category-options{display:grid;grid-template-columns:1fr;gap:5px;max-height:72px;overflow-y:auto;padding:0;margin:0;scrollbar-width:thin}
html:root .jf-page #jf-category-options label{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:11px;min-width:0;text-transform:none}
html:root .jf-page #jf-category-options input{width:14px;height:14px;min-height:0;flex:none;margin:0;accent-color:#087bff}
html:root .jf-page .jf-budget-note{flex:0 0 130px;max-width:130px;margin:20px 0 0;font-size:10px}
html:root .jf-page #jf-reset{min-height:36px;flex:none;align-self:flex-start;white-space:nowrap;margin-top:20px}
html:root .jf-page .jf-work-search-slot{flex:0 0 174px;width:174px;min-width:174px;max-width:174px;margin:0}
html:root .jf-page .jf-work-search-slot label{flex:1;min-width:0;font-size:0}
@keyframes jf-filter-right{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
html:root .jf-page #jf-status:empty,html:root .jf-page .jw-status:empty{display:none}
html:root .jf-page .jf-directory-content #jf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
html:root .jf-page #jf-grid .jf-talent-card{display:flex;flex-direction:column;gap:0;padding:0;border-radius:13px;overflow:hidden;border:1px solid #30495a;background:#0c1d2a;height:auto;min-width:0}
html:root .jf-page .jf-portrait-stage{position:relative;width:100%;aspect-ratio:4/5;flex:none;overflow:hidden;background:linear-gradient(135deg,#26323a,#131c23)}
html:root .jf-page .jf-portrait-stage .jf-talent-cover{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;border-radius:0;padding:0;border:0}
html:root .jf-page .jf-portrait-stage .jf-photo{height:100%;width:100%;aspect-ratio:auto;background:linear-gradient(135deg,#26323a,#131c23);border-radius:0}
html:root .jf-page .jf-portrait-stage .jf-photo img{object-fit:cover;width:100%;height:100%;transition:transform .3s ease}
html:root .jf-page .jf-portrait-stage:hover .jf-photo img{transform:scale(1.025)}
html:root .jf-page .jf-portrait-stage>.jf-tag{position:absolute;top:12px;left:12px;max-width:calc(100% - 64px);font-size:10px;line-height:1.3;padding:6px 9px;border-radius:7px;background:#123a2cdd;color:#85f0bc;border:1px solid #3c8968;pointer-events:none}
html:root .jf-page .jf-portrait-stage>.jf-tag.limited{background:#4b3714ed;color:#ffe09b;border-color:#96782e}
html:root .jf-page .jf-portrait-stage>.jf-tag.unavailable{background:#343b43ed;color:#d4dde5;border-color:#5e6e7d}
html:root .jf-page .jf-portrait-stage>.jw-favorite{position:absolute;top:8px;right:8px;border:0!important;background:#07131b66!important;color:#d7eaff!important;z-index:2}
html:root .jf-page .jf-portrait-stage>.jw-favorite[aria-pressed=true]{color:#f04455!important}
html:root .jf-page .jf-portrait-caption{position:absolute;inset:auto 0 0;display:flex;align-items:end;gap:10px;padding:58px 14px 15px;background:linear-gradient(transparent,#03101de6 60%,#03101d);pointer-events:none}
html:root .jf-page .jf-portrait-caption button{pointer-events:auto}
html:root .jf-page .jf-card-identity{flex:1;min-width:0}
html:root .jf-page .jf-card-identity h2{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 4px;min-height:0;font-size:clamp(16px,1.4vw,21px);line-height:1.2}
html:root .jf-page .jf-card-identity .jf-talent-name{white-space:normal;overflow-wrap:anywhere;color:#fff;font:inherit;text-align:left;border:0;background:none;min-height:0;padding:0}
html:root .jf-page .jf-card-professions{margin:0;padding:0 0 10px;border-bottom:1px solid #30495a;color:#c6e2f7;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}

html:root .jf-page .jf-talent-card .jf-talent-info{padding:12px;box-sizing:border-box;gap:9px}
html:root .jf-page .jf-talent-info .jf-talent-meta{justify-content:space-between;gap:8px}
html:root .jf-page .jf-talent-info .jf-service-pricing{padding:8px 0 0;font-size:12px}
html:root .jf-page .jf-talent-info .jf-service-rate{display:flex;flex-wrap:wrap;gap:5px 10px}
html:root .jf-page .jf-talent-info .jf-service-title{width:100%}
html:root .jf-page .jf-talent-info .jf-service-delivery{border:0;padding:0}
html:root .jf-page .jf-talent-info .jf-talent-actions{display:grid;grid-template-columns:1fr 1.7fr;gap:8px}
html:root .jf-page .jf-talent-actions>button{height:40px;min-height:40px;font-size:11px;padding:7px}
html:root .jf-page .jf-card-gallery{display:flex;gap:8px;overflow-x:auto;min-height:72px;margin-top:auto;padding:4px 0 8px;scroll-snap-type:x proximity}
html:root .jf-page .jf-card-gallery>button{flex:0 0 calc((100% - 16px)/3);min-width:0;height:64px;min-height:64px;padding:0;border:1px solid #34536c;border-radius:6px;background:#152532;overflow:hidden;scroll-snap-align:start}
html:root .jf-page .jf-card-gallery .jf-photo,html:root .jf-page .jf-card-gallery img{width:100%;height:100%;border-radius:0;object-fit:cover;aspect-ratio:auto}
html:root .jf-page .jf-card-gallery>button:hover,html:root .jf-page .jf-card-gallery>button:focus-visible{border-color:#168fff;outline-color:#168fff}
html:root .jf-page .jf-card-gallery.is-empty{visibility:hidden}
html:root .jf-page .jf-talent-info{flex:1}
html:root .jf-page .jf-pagination{display:flex;justify-content:space-between;margin:22px 0 0;padding:0}
html:root .jf-page #jf-sidebar-account{margin:0 auto 12px;width:70px;min-height:0}
html:root .jf-page #jf-sidebar-account .jf-sidebar-photo{width:70px;height:70px}
html:root .jf-page .page-bottom-nav{position:static;margin:0;padding:10px 0 18px}
@keyframes jf-filter-reveal{from{opacity:0;transform:translateY(-6px) scaleX(.96)}to{opacity:1;transform:none}}
@media(max-width:1100px){html:root .jf-page .jf-directory-content #jf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){html:root .jf-page .jf-directory-content #jf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html:root .jf-page #jf-filters{grid-template-columns:repeat(2,minmax(0,1fr))}html:root .jf-page .jf-browser-toolbar{gap:10px}html:root .jf-page .jf-directory-search{max-width:none}html:root .jf-page .jf-top{flex-wrap:wrap}}
@media(max-width:520px){html:root .jf-page .jf-shell{width:calc(100% - 24px)}html:root .jf-page .jf-directory-content #jf-grid{grid-template-columns:1fr}html:root .jf-page #jf-filters{grid-template-columns:1fr}html:root .jf-page .jf-directory-areas{flex:1}html:root .jf-page .jf-directory-areas button{padding:8px;font-size:10px}html:root .jf-page .jf-directory-search{flex-basis:100%}html:root .jf-page .jf-portrait-stage{aspect-ratio:1}html:root .jf-page .jf-portfolio-strip>button{max-width:none;flex:0 0 75%}html:root .jf-page .jf-header-actions{gap:6px}html:root .jf-page .jf-header-actions>button,html:root .jf-page .jw-profile-menu>summary{padding:8px 10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html:root .jf-page #jf-filters,html:root .jf-page .jf-portfolio-tray{animation:none}html:root .jf-page .jf-portrait-stage .jf-photo img{transition:none}}
html:root .jf-page .jf-directory-areas{flex-direction:row;align-items:center;width:auto;max-width:none}
html:root .jf-page .jf-header-actions .jf-language{width:48px;min-width:48px}
html:root .jf-page .jf-top{border-top:0;border-left:0;border-right:0;border-radius:0;background:transparent}

html:root .jf-page .jf-heading{align-items:center;flex-direction:row}

html:root .jf-page .jw-profile-menu>summary{white-space:nowrap}


/* Header controls share one compact row and the standard translucent black. */
html:root .jf-page .jf-top{padding:12px 16px;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap;background:rgba(0,0,0,.585);border:1px solid #30495d;border-radius:8px}
html:root .jf-page .jf-top .jf-header-actions{display:flex;align-items:center;gap:8px;width:auto;flex:none;margin:0}
html:root .jf-page .jf-top .jf-header-actions>.jf-language{width:44px;min-width:44px;height:44px;padding:10px;margin:0}
html:root .jf-page .jf-top .jf-header-actions>#jf-rules-open,html:root .jf-page .jf-top .jw-profile-menu>summary{width:138px;height:44px;min-height:44px;margin:0;padding:8px 10px;background:rgba(0,0,0,.585);border-color:#30495d}
html:root .jf-page .jf-top .jf-top-identity{width:auto;flex:none}
@media(max-width:1050px){html:root .jf-page .jf-browser-toolbar{flex-wrap:wrap}html:root .jf-page #jf-filter-panel{flex:1 1 116px}html:root .jf-page #jf-filter-panel.is-open,html:root .jf-page #jf-filter-panel.is-closing{flex-basis:100%}}
@media(max-width:600px){html:root .jf-page .jf-top{flex-wrap:wrap;gap:10px;padding:12px}html:root .jf-page .jf-top .jf-header-actions{width:100%;justify-content:flex-end}html:root .jf-page .jf-top .jf-header-actions>#jf-rules-open,html:root .jf-page .jf-top .jw-profile-menu>summary{width:112px;font-size:11px}html:root .jf-page .jf-directory-areas{flex-wrap:wrap;flex:0 1 auto}html:root .jf-page .jf-directory-areas button{font-size:10px;padding:8px}html:root .jf-page #jf-filter-title{width:100px;flex-basis:100px;font-size:11px}html:root .jf-page .jf-filter-drawer{margin-left:8px;padding-left:8px}}
@media(prefers-reduced-motion:reduce){html:root .jf-page .jf-filter-drawer{animation:none!important}}
html:root .jf-page .jf-browser-toolbar{overflow:clip;padding:6px 0;margin-top:-6px}
html:root .jf-page .jf-directory-search,html:root .jf-page .jf-work-search-slot{order:0;flex:0 0 174px;width:174px;min-width:174px;max-width:174px;margin:0}
html:root .jf-page #jf-filters{order:1}
/* V5.87: Category matches the other selectors; choices open downward. */
html:root .jf-page #jf-category-toggle{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;height:36px;min-height:36px;padding:6px 8px;border:1px solid #30495d;border-radius:7px;background:rgba(0,0,0,.585);font-size:11px;font-weight:400;text-align:left;white-space:nowrap}
html:root .jf-page #jf-category-toggle>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
html:root .jf-page #jf-category-toggle svg{flex:none;transition:transform .15s}
html:root .jf-page #jf-category-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
html:root .jf-page .jf-category-selected-count{background:#087bff;color:#fff;border-radius:9px;padding:0 5px;font-size:10px;flex:none}
html:root .jf-page #jf-category-dropdown{position:fixed;inset:auto;margin:0;padding:10px;box-sizing:border-box;border:1px solid #34536c;border-radius:8px;background:rgba(0,0,0,.94);color:#e8f2fc;box-shadow:0 8px 20px #0007;overflow:auto;color-scheme:dark}
html:root .jf-page #jf-category-dropdown::backdrop{background:transparent;pointer-events:none}
html:root .jf-page #jf-category-dropdown #jf-category-options{display:grid;grid-template-columns:1fr;gap:2px;max-height:none;overflow:visible;margin:0;padding:0}
html:root .jf-page #jf-category-dropdown #jf-category-options label{display:flex;align-items:center;gap:9px;min-height:34px;width:100%;padding:6px;font-size:12px;font-weight:400;cursor:pointer;border-radius:4px}
html:root .jf-page #jf-category-dropdown #jf-category-options label:hover{background:#ffffff12}
html:root .jf-page #jf-category-dropdown #jf-category-options input{flex:none;width:15px;height:15px;margin:0}
@media(prefers-reduced-motion:reduce){html:root .jf-page #jf-category-toggle svg{transition:none}}
/* Restore the blue-grey controls; only the header surface is translucent black. */
html:root .jf-page .jf-directory-areas button{background:#091722}
html:root .jf-page #jf-filter-title{background:#0c1d2b}
html:root .jf-page #jf-filter-title[aria-expanded=true],html:root .jf-page .jf-directory-areas #jf-general[aria-pressed=true],html:root .jf-page #jf-opportunities[aria-pressed=true]{background:#087bff}
html:root .jf-page .jf-directory-areas #jf-adult{background:#a82839}
html:root .jf-page .jf-directory-search,html:root .jf-page .jf-work-search-slot .jw-search{background:#0d1e2b}
html:root .jf-page #jf-filters select,html:root .jf-page #jf-category-toggle{background:#0c1d2b}
html:root .jf-page #jf-category-dropdown{background:#101a24}
html:root .jf-page .jf-top .jf-header-actions>#jf-rules-open,html:root .jf-page .jf-top .jf-header-actions>.jf-language,html:root .jf-page .jf-top .jw-profile-menu>summary{background:#0c1d2b}
/* The complete account dropdown is anchored; its photo never resizes the header. */
html:root .jf-page .jf-top{position:relative;z-index:20}
html:root .jf-page #jw-profile-menu{position:relative;height:44px}
html:root .jf-page #jw-profile-options{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:260px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 160px);overflow-y:auto;padding:12px;border:1px solid #344d68;border-radius:10px;background:#101a24;box-shadow:0 12px 32px #0007}
html:root .jf-page #jw-profile-options .jw-profile-nav{position:static;inset:auto;display:flex;flex-direction:column;width:100%;max-width:none;padding:0;gap:4px;border:0;background:transparent;box-shadow:none;overflow:visible}
html:root .jf-page #jw-profile-options #jf-sidebar-account{width:70px;margin:0 auto 12px}
html:root .jf-page #jw-profile-options .jf-sidebar-photo{position:relative;width:70px;height:70px;padding:0}
html:root .jf-page #jw-profile-options .jf-sidebar-photo .jf-photo{width:100%;height:100%}
html:root .jf-page #jw-profile-options .jf-sidebar-premium{position:absolute;bottom:3px;right:3px;font-size:8px;margin:0;transform:none}

/* Keep the personal headline on the portrait; categories precede the rating. */
html:root .jf-page .jf-portrait-headline{margin:0;color:#c6e2f7;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
html:root .jf-page .jf-talent-info .jf-service-pricing{border-top:0}
html:root .jf-page .jf-talent-card .jf-talent-meta{border-top:0;padding-top:0}

/* V5.90: centered controls, full-width filters below, individual category chips. */
html:root .jf-page .jf-card-professions{display:flex;flex-wrap:wrap;gap:6px}
html:root .jf-page .jf-category-chip{display:inline-flex;align-items:center;border:1px solid #3b596e;border-radius:6px;padding:4px 8px;color:#c6e2f7;font-size:11px;line-height:1.4;background:#0a1823}
html:root .jf-page .jf-browser-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr);align-items:start;justify-content:normal;gap:16px 9px;overflow:visible;margin:0 0 38px;padding:6px 0}
html:root .jf-page .jf-directory-areas{grid-column:2;grid-row:1;justify-content:center}
html:root .jf-page #jf-filter-panel{display:contents}
html:root .jf-page #jf-filter-title{grid-column:3;grid-row:1}
html:root .jf-page .jf-filter-drawer{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:start;gap:16px;width:100%;min-width:0;box-sizing:border-box;margin:0;padding:18px 0 0;border:0;border-top:1px solid #30495d;overflow:visible;animation:jf-filter-reveal .24s ease-out}
html:root .jf-page #jf-filter-panel.is-closing .jf-filter-drawer{animation:jf-filter-reveal .18s ease-in reverse both}
html:root .jf-page #jf-filters{flex:1 1 680px;width:auto;min-width:0;display:flex;flex-wrap:wrap;gap:14px;align-items:start}
html:root .jf-page #jf-filters>label,html:root .jf-page #jf-filters>.jf-inline-field{flex:1 1 140px;width:auto;min-width:130px}
html:root .jf-page .jf-directory-search{flex:0 1 174px;margin-top:20px}
html:root .jf-page .jf-work-search-slot{flex:1 1 174px;max-width:240px}
@media(max-width:600px){
 html:root .jf-page .jf-browser-toolbar{grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;margin-bottom:30px}
 html:root .jf-page .jf-directory-areas{grid-column:1;grid-row:1;flex-wrap:wrap}
 html:root .jf-page #jf-filter-title{grid-column:1;grid-row:2}
 html:root .jf-page .jf-filter-drawer{grid-column:1;grid-row:3;padding-top:16px;margin:0}
 html:root .jf-page .jf-directory-search{flex:1 1 100%;width:100%;max-width:none;margin-top:0}
 html:root .jf-page #jf-filters{flex-basis:100%}
}

/* V5.91: original header surface, compact search at the end, three category chips. */
html:root .jf-page .jf-top{background:transparent}
html:root .jf-page .jf-card-gallery{border-top:1px solid #30495a;padding-top:10px}
html:root .jf-page button.jf-category-more{min-height:0;padding:4px 8px;font:inherit;font-size:11px;line-height:1.4;background:#0a1823;color:#c6e2f7;border:1px solid #3b596e;border-radius:6px}
html:root .jf-page .jf-filter-drawer{flex-wrap:nowrap;gap:14px}
html:root .jf-page #jf-filters{flex:1 1 0;min-width:0}
html:root .jf-page .jf-directory-search.jf-compact-search,html:root .jf-page .jf-work-search-slot .jf-compact-search{flex:0 0 40px;width:40px;min-width:40px;max-width:40px;margin:20px 0 0 auto;height:36px;align-self:flex-start}
html:root .jf-page .jf-compact-search>button{width:38px;min-width:38px;height:34px;min-height:34px;padding:7px;flex:none}
html:root .jf-page .jf-compact-search input{height:34px;min-height:34px}
html:root .jf-page .jf-directory-search.search-open,html:root .jf-page .jf-work-search-slot .search-open{flex-basis:210px;width:210px;max-width:210px}
html:root .jf-page .jf-compact-search.has-query{border-color:#087bff}
html:root .jf-page .jf-work-search-slot{flex:0 0 auto;width:auto;min-width:40px;max-width:210px;margin-left:auto}
html:root .jf-page .jf-work-search-slot .jf-compact-search:not(.search-open)>label{display:none}
@media(max-width:600px){html:root .jf-page .jf-filter-drawer{flex-wrap:wrap}html:root .jf-page #jf-filters{flex-basis:100%}html:root .jf-page .jf-directory-search.jf-compact-search{margin-top:0}}
html:root .jf-page #jf-filters{order:0}
html:root .jf-page .jf-directory-search,html:root .jf-page .jf-work-search-slot{order:1}

/* V6.13: published biography below professions, without a duplicate headline. */
html:root .jf-page .jf-card-description{margin:0;color:#bdd0df;font-size:12px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
html[data-gridly-theme=light]:root .jf-page .jf-card-description{color:#425d70}
