.market-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.market-page-heading h1{margin:0}.directory-create-button{white-space:nowrap}.directory-mode-tabs{display:flex;gap:8px;width:max-content;max-width:100%;margin:18px 0;padding:6px;border:1px solid #e5def0;border-radius:15px;background:#fff;box-shadow:0 10px 26px #41325e0d}.directory-mode-tabs a{padding:10px 17px;border-radius:10px;color:#716482;font-size:13px;font-weight:750}.directory-mode-tabs a[aria-current=page]{background:linear-gradient(120deg,#5143b8,#8b5ad7);color:#fff;box-shadow:0 7px 18px #5143b82e}.candidate-profile-editor{max-width:1050px}.candidate-profile-editor fieldset{padding:clamp(16px,3vw,24px);border-radius:18px;background:linear-gradient(145deg,#fff,#faf8ff)}.candidate-profile-editor legend{font-weight:800;color:#4d3d73}.candidate-search-card{position:relative;overflow:hidden;transition:transform .18s,box-shadow .18s}.candidate-search-card:before{content:"";position:absolute;right:-24px;top:-28px;width:110px;height:110px;border-radius:50%;background:linear-gradient(145deg,#eee8ff,#fff0e8);opacity:.75}.candidate-search-card>*{position:relative}.candidate-search-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px #3c305619}.candidate-search-card span{color:#5e46aa;font-size:12px;font-weight:800}.candidate-profile-view{max-width:1050px!important}.candidate-profile-view>h2{margin:7px 0 2px;font-size:clamp(32px,5vw,52px)}.candidate-profile-lead{font-size:17px!important}.candidate-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.candidate-profile-grid section{padding:16px;border:1px solid #e9e2f1;border-radius:15px;background:#fff}.candidate-profile-grid section:has(.preserve-lines){grid-column:1/-1}.candidate-profile-grid small{display:block;margin-bottom:6px;color:#867991;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.6px}.candidate-profile-grid p{margin:0!important;color:#41384f!important}.candidate-profile-grid a{font-size:12px;overflow-wrap:anywhere}.candidate-cv-section{margin-top:28px;padding-top:26px;border-top:1px solid #ece6f2}.candidate-cv-viewer{width:100%;height:min(76vh,820px);min-height:520px;overflow:hidden;border:1px solid #dcd4e8;border-radius:17px;background:#4a4750;box-shadow:0 18px 42px #30283f1c}.candidate-cv-viewer iframe{display:block;width:100%;height:100%;border:0}.candidate-own-cv{margin:14px 0}.candidate-own-cv summary{font-weight:750}
@media(max-width:700px){.market-page-heading{align-items:flex-start}.market-page-heading .directory-create-button{width:100%;text-align:center}.candidate-profile-grid{grid-template-columns:1fr}.candidate-profile-grid section:has(.preserve-lines){grid-column:auto}.candidate-cv-viewer{min-height:65vh}.directory-mode-tabs{width:100%}.directory-mode-tabs a{flex:1;text-align:center}}
.officer-id-upload{margin-top:12px}.officer-id-previews{display:grid;grid-template-columns:repeat(2,minmax(0,240px));gap:12px;margin:16px 0}.officer-id-previews img{display:block;width:100%;height:150px;object-fit:contain;border:1px solid #e1daeb;border-radius:14px;background:#f6f3fa}.hr-summary strong{font-size:clamp(18px,2vw,25px)}@media(max-width:700px){.officer-id-previews{grid-template-columns:1fr}.member-app-nav a{min-width:0}.member-app-nav span{font-size:9px}}
.candidate-fieldset-heading,.candidate-record-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.candidate-fieldset-heading legend{float:none;width:auto;margin:0}.candidate-education-row{margin:18px 0;padding:20px;border:1px solid #e5ddef;border-radius:15px;background:#fff;box-shadow:0 9px 26px #3d31520a}.candidate-record-heading{margin-bottom:15px;color:#51436a}.candidate-history{margin-top:28px;padding-top:26px;border-top:1px solid #ece6f2}.candidate-history-list{display:grid;gap:12px}.candidate-history-list article{position:relative;padding:18px 20px 18px 28px;border:1px solid #e7e0ef;border-radius:15px;background:#fff}.candidate-history-list article:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:5px;border-radius:0 5px 5px 0;background:linear-gradient(#6650c5,#db6e8f)}.candidate-history-list strong{display:block;color:#413650}.candidate-history-list p{margin:5px 0!important}.candidate-history-list small{display:block;color:#756b80}@media(max-width:700px){.candidate-fieldset-heading{align-items:flex-start;flex-direction:column}.candidate-fieldset-heading .button{width:100%}.candidate-education-row{padding:15px}}
.candidate-profile-view{overflow:hidden;padding:0!important;background:linear-gradient(145deg,#fff,#fbf9ff)!important}.candidate-profile-view>*:not(.candidate-profile-hero):not(.candidate-gallery){margin-left:clamp(18px,4vw,42px);margin-right:clamp(18px,4vw,42px)}.candidate-profile-hero{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center;padding:clamp(26px,5vw,52px);background:radial-gradient(circle at 85% 20%,#ec8ba945,transparent 28%),linear-gradient(135deg,#30265f,#624ab3 58%,#b55f91);color:#fff}.candidate-profile-hero h2{margin:5px 0;font-size:clamp(34px,5vw,56px);color:#fff}.candidate-profile-hero .eyebrow,.candidate-profile-hero p{color:#eee9ff!important}.candidate-avatar{display:grid;place-items:center;width:92px;height:92px;border:3px solid #ffffff7a;border-radius:28px;background:#ffffff20;font-size:42px;font-weight:900;box-shadow:0 15px 35px #1c123d4a}.candidate-hero-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.candidate-hero-chips span{padding:6px 10px;border:1px solid #ffffff45;border-radius:999px;background:#ffffff18;font-size:10px}.candidate-gallery{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:10px;background:#f3eff9}.candidate-gallery a{height:125px;overflow:hidden;border-radius:12px}.candidate-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.candidate-gallery a:hover img{transform:scale(1.05)}.candidate-image-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}.candidate-image-editor label{padding:8px;border:1px solid #e4ddec;border-radius:13px;background:#fff}.candidate-image-editor img{width:100%;height:110px;object-fit:cover;border-radius:9px}.candidate-image-editor span{display:flex;align-items:center;gap:7px;margin-top:7px;font-size:11px}.candidate-image-editor input{width:auto!important;margin:0!important}.candidate-video{margin-top:28px;padding-top:26px;border-top:1px solid #ece6f2}.candidate-video .youtube-preview{max-width:760px;border-radius:18px;overflow:hidden}.candidate-profile-grid section:before{display:grid;place-items:center;float:left;width:32px;height:32px;margin:0 11px 8px 0;border-radius:10px;background:#f0ebff;color:#654db4;content:"✦"}.candidate-profile-grid section:nth-child(3n+2):before{content:"◎";background:#fff0e5;color:#ad6537}.candidate-profile-grid section:nth-child(3n):before{content:"✓";background:#e8f6ef;color:#36785d}@media(max-width:700px){.candidate-profile-hero{grid-template-columns:1fr}.candidate-avatar{width:72px;height:72px;border-radius:22px}.candidate-gallery{display:flex;overflow-x:auto}.candidate-gallery a{flex:0 0 72%;height:180px}.candidate-profile-view>*:not(.candidate-profile-hero):not(.candidate-gallery){margin-left:16px;margin-right:16px}}

/* Responsive, colourful candidate profile facts */
.candidate-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.candidate-profile-grid section:has(.preserve-lines){grid-column:auto}
.candidate-profile-grid .profile-card-wide{grid-column:1/-1}
.candidate-profile-grid section{position:relative;overflow:hidden;box-shadow:0 10px 24px #392b5b0b;transition:transform .18s ease,box-shadow .18s ease}
.candidate-profile-grid section:hover{transform:translateY(-2px);box-shadow:0 16px 32px #392b5b18}
.candidate-profile-grid section:nth-child(3n+1){border-color:#ddd2ff;background:linear-gradient(145deg,#fff,#f7f3ff)}
.candidate-profile-grid section:nth-child(3n+2){border-color:#ffd9c5;background:linear-gradient(145deg,#fff,#fff6ef)}
.candidate-profile-grid section:nth-child(3n){border-color:#ccebdc;background:linear-gradient(145deg,#fff,#f1fbf6)}
@media(max-width:1000px) and (min-width:701px){.candidate-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.candidate-profile-grid{grid-template-columns:1fr}.candidate-profile-grid .profile-card-wide{grid-column:auto}}
