/* V5.75: one dark panel, attached navigation and optional service prices. */
html:root body.jf-page{--jf-blue:#087bff;--jf-panel:#101a24;background:#0b131d;color:#eef5ff}
html:root .jf-page .jf-shell{width:min(1580px,calc(100% - 32px));margin:20px auto;padding:0 20px 24px}
html:root .jf-page .jf-directory-layout{gap:24px;grid-template-columns:220px minmax(0,1fr);align-items:start}
html:root .jf-page #jf-directory-sidebar{background:#101a24;color:#eef5ff;border:1px solid #2b3e50;border-radius:16px;padding:22px 16px;box-shadow:none;backdrop-filter:none}
html:root .jf-page #jf-directory-sidebar :is(#jf-general,#jf-opportunities,#jf-search-toggle,#jf-filter-title){background:transparent;border:1px solid transparent;color:#d2dfec;text-align:left;justify-content:flex-start;border-radius:7px;font-size:12px;min-height:42px;height:auto}
html:root .jf-page #jf-directory-sidebar :is(#jf-general,#jf-opportunities)[aria-pressed=true]{background:#142b40;border-color:#234965;box-shadow:inset 3px 0 #168fff;color:#fff}
html:root .jf-page #jf-directory-sidebar :is(button,summary):hover{color:#fff}
html:root .jf-page #jf-directory-sidebar>.jf-sidebar-account{min-height:128px;margin:2px auto 32px;position:relative}
html:root .jf-page .jf-photo,html:root .jf-page .jf-talent-cover{position:relative}
html:root .jf-page .jf-premium-plus{display:inline-flex;align-items:center;justify-content:center;font:700 10px/1.3 Arimo,Arial,sans-serif;letter-spacing:.07em;border:1px solid #329fff;border-radius:4px;background:#10283e;color:#70c3ff;padding:3px 7px;white-space:nowrap}
html:root .jf-page :is(.jf-talent-cover,.jf-photo)>.jf-premium-plus{position:absolute;right:8px;bottom:8px;margin:0;z-index:1;pointer-events:none}
html:root .jf-page #jf-directory-sidebar .jf-sidebar-photo>.jf-sidebar-premium{position:absolute;inset:auto -3px -5px auto;width:auto;height:auto;display:inline-flex;margin:0;padding:4px 8px;border:1px solid #329fff;border-radius:4px;background:#10283e;color:#70c3ff;font:700 10px/1.3 Arimo,Arial,sans-serif;letter-spacing:.07em;transform:none}
html:root .jf-page .jf-card.jf-talent-card,html:root .jf-page :is(.jw-card,.jw-notice,.jw-stat,.jw-settings-profile,.jw-settings-choices){background:#101a24;color:#eef5ff;border-color:#2b3e50;box-shadow:none;border-radius:16px}
html:root .jf-page .jf-talent-info h2{min-height:44px;align-items:start}
html:root .jf-page .jf-talent-name{color:#eef5ff;font-size:16px}
html:root .jf-page .jf-talent-headline,html:root .jf-page :is(.jf-muted,.jf-copy,.jw-card p,.jw-notice small){color:#aac2da}
html:root .jf-page :is(.jf-dialog,.jw-dialog,.jw-profile-menu>div,.jw-contact-options){background:#101a24;color:#eef5ff;border:1px solid #2b3e50;border-radius:16px;box-shadow:0 18px 70px #0007}
html:root .jf-page dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}
html:root .jf-page :is(input,textarea,select){background:#0c1723;color:#eef5ff;border-color:#30465b;border-radius:8px;color-scheme:dark}
html:root .jf-page :is(button,.jf-button){color:#eef5ff;border-color:#34516b;background:#101a24}
html:root .jf-page :is(.jf-primary,.jf-talent-apply){background:#087bff;color:#fff;border-color:#087bff}
html:root .jf-page :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #73bfff;outline-offset:3px}
html:root .jf-page #jf-directory-sidebar .jf-filter-panel{background:transparent;border:0;margin-top:12px;padding:0}
html:root .jf-page #jf-directory-sidebar .jf-filters{background:transparent;padding:8px 0;gap:16px}
html:root .jf-page .jf-filter-group{border:0;border-bottom:1px solid #2b3e50;border-radius:0;padding:12px 0;margin:0}
html:root .jf-page .jf-filter-group summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;font-size:12px;font-weight:600;padding:0 0 10px;color:#dbe8f5}
html:root .jf-page .jf-filter-group summary::-webkit-details-marker{display:none}
html:root .jf-page .jf-filter-group summary:after{content:'⌄';font-size:17px}
html:root .jf-page .jf-filter-group[open] summary:after{transform:rotate(180deg)}
html:root .jf-page #jf-directory-sidebar .jf-category-options{display:grid;grid-template-columns:1fr;gap:9px;max-height:220px;overflow:auto;padding-right:2px}
html:root .jf-page #jf-directory-sidebar .jf-category-options label{display:flex;align-items:center;gap:8px;text-transform:none;font-size:12px;font-weight:400;line-height:1.4;color:#bacbdd}
html:root .jf-page #jf-directory-sidebar .jf-category-options input{width:14px;height:14px;min-height:0;margin:0;flex:none;accent-color:#168fff}
html:root .jf-page #jf-directory-sidebar .jf-profession-filter{border:0;margin:0;padding:0}
html:root .jf-page .jf-budget-note{font-size:11px;line-height:1.5}
html:root .jf-page .jf-service-pricing{border-top:1px solid #2b3e50;padding:12px 0 0;margin:0;display:grid;gap:8px;min-height:70px;overflow-wrap:anywhere}
html:root .jf-page .jf-service-pricing h3{margin:0 0 8px;font-size:17px}
html:root .jf-page .jf-service-rate{display:grid;gap:7px}
html:root .jf-page .jf-service-title{font-size:12px;color:#bacbdd}
html:root .jf-page .jf-service-amount{font-size:14px;line-height:1.5;color:#eef5ff}
html:root .jf-page .jf-negotiate{justify-self:start;min-height:30px;height:auto;padding:3px 0;font-size:12px;text-align:left;color:#61b7ff;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px}
html:root .jf-page .jf-service-pricing small{font-size:11px;color:#aac2da}
html:root .jf-page #jf-detail .jf-service-rate{border-bottom:1px solid #2b3e50;padding:12px 0}
html:root .jf-page #jf-detail .jf-service-pricing{padding-top:16px}
html:root .jf-page #jf-service-editor{margin:22px 0;padding-top:20px;border-top:1px solid #2b3e50}
html:root .jf-page #jf-service-editor h3{margin:0 0 8px;font-size:20px}
html:root .jf-page .jf-service-list{display:grid;gap:12px;margin:18px 0}
html:root .jf-page .jf-service-editor-card{background:#0c1723;border:1px solid #30465b;border-radius:12px;padding:16px}
html:root .jf-page .jf-service-editor-card summary{cursor:pointer;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
html:root .jf-page .jf-service-editor-card[open] summary{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #30465b}
html:root .jf-page .jf-service-editor-card label{margin-top:12px;text-transform:none}
html:root .jf-page .jf-pricing-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px}
html:root .jf-page .jf-pricing-toggle input{appearance:none;position:relative;width:42px;height:24px;min-height:24px;padding:0;border-radius:20px;background:#30465b;cursor:pointer;flex:none}
html:root .jf-page .jf-pricing-toggle input:before{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
html:root .jf-page .jf-pricing-toggle input:checked{background:#087bff}
html:root .jf-page .jf-pricing-toggle input:checked:before{transform:translateX(18px)}
html:root .jf-page .jf-pricing-toggle input:disabled{opacity:.4}
html:root .jf-page .jf-add-service{width:100%;border:1px dashed #2682c3;color:#66bfff;background:transparent;margin-top:8px}
html:root .jf-page .jf-remove-service{font-size:11px;margin-top:16px;color:#f2b5bd}
html:root .jf-page .jw-dialog .jf-form-grid{gap:14px}
@media(min-width:1200px){html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1199px) and (min-width:901px){html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){html:root .jf-page .jf-shell{width:calc(100% - 20px);padding:0 10px 20px}html:root .jf-page .jf-directory-layout{grid-template-columns:minmax(0,1fr);gap:18px}html:root .jf-page #jf-sidebar-toggle{background:#101a24;border-color:#30465b}html:root .jf-page #jf-directory-sidebar{position:relative;inset:auto;max-height:none}}
@media(max-width:560px){html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:1fr}html:root .jf-page .jf-service-editor-card .jf-form-grid{grid-template-columns:1fr}html:root .jf-page .jf-dialog{max-width:calc(100vw - 20px);box-sizing:border-box;padding:16px}}
@media(prefers-reduced-motion:reduce){html:root .jf-page .jf-pricing-toggle input:before{transition:none}}

html:root .jf-page #jf-directory-sidebar{order:0}
html:root .jf-page .jf-card>.jf-service-pricing{min-height:106px}

html:root #jf-detail{background:#101a24;color:#eef5ff;border-color:#2b3e50}
html:root #jf-detail .jf-profile .jf-copy{color:#aac2da}

/* V5.76 — square portraits and information alongside; no repeated headline. */
html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
html:root .jf-page .jf-card.jf-talent-card{display:grid;grid-template-columns:minmax(110px,32%) minmax(0,1fr);gap:16px;padding:16px;height:auto;align-items:start}
html:root .jf-page .jf-talent-card .jf-talent-cover{width:100%;aspect-ratio:1;height:auto;border-radius:9px;align-self:start}
html:root .jf-page .jf-talent-cover .jf-photo{aspect-ratio:1;width:100%;height:100%;border-radius:0}
html:root .jf-page .jf-talent-cover .jf-photo img{object-fit:cover}
html:root .jf-page .jf-card-heading{display:flex;align-items:start;justify-content:space-between;gap:8px}
html:root .jf-page .jf-talent-info{gap:10px;align-self:stretch}
html:root .jf-page .jf-talent-info h2{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:0;margin:0}
html:root .jf-page .jf-talent-info h2 .jf-premium-plus,html:root .jf-page .jf-profile-identity h2 .jf-premium-plus,html:root .jf-page .jw-card h3 .jf-premium-plus{position:static;vertical-align:middle;margin:0 0 0 4px;flex:none}
html:root .jf-page .jf-profile-identity h2 .jf-premium-plus{font-size:10px}
html:root .jf-page .jf-card-heading .jw-favorite{border:0!important;background:none!important;min-width:26px;width:26px;height:26px;min-height:26px;padding:3px}
html:root .jf-page .jf-talent-card .jf-card-skills{min-height:0;gap:5px}
html:root .jf-page .jf-talent-card .jf-card-skills>span{background:#1b2d3e;border:0;border-radius:20px;padding:4px 8px;line-height:1.3}
html:root .jf-page .jf-talent-card .jf-tag{align-self:start;font-size:10px;border-radius:20px;padding:4px 9px;line-height:1.3;margin:0}
html:root .jf-page .jf-card-about{margin:0;font-size:13px;line-height:1.5;color:#aac2da;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
html:root .jf-page .jf-talent-meta{justify-content:flex-start;gap:12px;min-height:20px}
html:root .jf-page .jf-talent-meta .jf-rating-summary{font-size:12px}
html:root .jf-page .jf-rating-star{color:#f4c863}
html:root .jf-page .jf-presence{font-size:11px;display:inline-flex;align-items:center;gap:6px}
html:root .jf-page .jf-presence:before{content:'';width:7px;height:7px;border-radius:50%;background:#8395a5}
html:root .jf-page .jf-presence.online{color:#66db85}
html:root .jf-page .jf-presence.online:before{background:#51da79}
html:root .jf-page .jf-talent-info .jf-service-pricing{min-height:0;padding-top:10px;gap:6px}
html:root .jf-page .jf-talent-info .jf-service-rate{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:6px 12px;align-items:center}
html:root .jf-page .jf-talent-info .jf-service-title{grid-column:1/-1;font-size:11px}
html:root .jf-page .jf-talent-info .jf-service-amount{font-size:12px;grid-column:1;grid-row:2}
html:root .jf-page .jf-talent-info .jf-service-delivery{grid-column:2;grid-row:2;border-left:1px solid #30465b;padding-left:12px;font-size:11px;line-height:1.5}
html:root .jf-page .jf-talent-info .jf-negotiate{grid-column:1/-1;font-size:11px;min-height:24px}
html:root .jf-page .jf-talent-info .jw-profile-actions{margin-top:auto;padding-top:4px}
html:root .jf-page .jf-talent-actions>button{font-size:10px;min-height:36px;padding:8px 5px}
html:root #jf-detail .jf-talent-side>.jf-photo{aspect-ratio:1;height:auto}
@media(max-width:1199px){html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:1fr}html:root .jf-page .jf-card.jf-talent-card{grid-template-columns:minmax(130px,26%) minmax(0,1fr)}}
@media(max-width:560px){html:root .jf-page .jf-card.jf-talent-card{grid-template-columns:94px minmax(0,1fr);gap:12px;padding:12px}html:root .jf-page .jf-talent-name{font-size:15px}html:root .jf-page .jf-card-about{font-size:12px}html:root .jf-page .jf-talent-info .jf-service-rate{grid-template-columns:1fr}html:root .jf-page .jf-talent-info .jf-service-delivery{grid-column:1;grid-row:auto;border:0;padding-left:0}}
html:root .jf-page .jf-talent-card .jf-tag{height:auto;min-height:0;max-width:100%;width:fit-content}

/* V5.78: fixed search panel and independently scrolling profile results. */
html:root .jf-page .jf-card.jf-talent-card{display:flex;flex-direction:column;gap:14px;padding:14px}
html:root .jf-page .jf-talent-card .jf-talent-cover{width:100%;aspect-ratio:1;flex:none}
html:root .jf-page .jf-talent-info{flex:1;width:100%}
html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
html:root .jf-page #jf-directory-sidebar .jf-filter-panel{margin-top:12px}
html:root .jf-page #jf-directory-sidebar #jf-filter-title{pointer-events:none}
html:root .jf-page #jf-directory-sidebar #jf-filter-title svg{display:none}
html:root .jf-page #jf-directory-sidebar #jf-sidebar-search{display:flex;flex-wrap:wrap;width:100%;margin:12px 0;gap:8px}
html:root .jf-page #jf-directory-sidebar #jf-sidebar-search input{width:100%;min-width:0;box-sizing:border-box}
html:root .jf-page #jf-directory-sidebar #jf-sidebar-search button{width:100%}
html:root .jf-page #jf-directory-sidebar #jf-search-toggle{display:none}
@media(min-width:901px){
 html:root body.jf-page{height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden}
 html:root .jf-page .jf-shell{flex:1;min-height:0;margin-top:12px;margin-bottom:0;display:flex;flex-direction:column;padding-bottom:12px}
 html:root .jf-page .jf-top{flex:none}
 html:root .jf-page .jf-heading{flex:none;padding:18px 0;margin:0}
 html:root .jf-page .jf-directory-layout{flex:1;min-height:0;align-items:stretch}
 html:root .jf-page #jf-directory-sidebar{height:100%;box-sizing:border-box;max-height:none;position:relative;inset:auto;overflow:auto}
 html:root .jf-page #jf-directory-sidebar>.jf-sidebar-account{margin-bottom:16px;min-height:0}
 html:root .jf-page .jf-directory-content,html:root .jf-page .jw-panel{height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:8px;scrollbar-gutter:stable}
 html:root .jf-page .page-bottom-nav{flex:none;margin:0;padding:8px 0 10px}
 html:root .jf-page .jf-footnote{display:none}
 html:root .jf-page .jw-status:empty{display:none}
}
@media(max-width:1350px) and (min-width:901px){html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){html:root .jf-page .jf-directory-content .jf-grid{grid-template-columns:1fr}}

html:root .jf-page .jf-talent-card .jf-talent-cover{max-height:none;height:auto;aspect-ratio:1}
html:root .jf-page .jf-talent-info h2{flex-wrap:nowrap;min-width:0;flex:1;gap:4px}
html:root .jf-page .jf-talent-info h2 .jf-talent-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* V5.95: presence follows the name and PLUS; offline has no badge. */
html:root .jf-page :is(.jf-card-identity,.jf-profile-identity) h2{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
html:root .jf-page :is(.jf-card-identity,.jf-profile-identity) h2 .jf-presence{margin:0;flex:none;font:700 10px/1.3 Arimo,Arial,sans-serif;letter-spacing:.03em;white-space:nowrap;vertical-align:middle}
