/* Candidate information shares one compact row; narrow screens wrap naturally. */
.candidate-context.refined-candidate-header{display:block;position:relative;padding:6px 0 10px}
.candidate-context.refined-candidate-header>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;min-width:0}
.candidate-context.refined-candidate-header>div:first-child>small{flex-basis:100%}
.candidate-context.refined-candidate-header h1{flex-basis:100%;padding-right:150px;margin:0 0 3px;color:#914f4b}
.candidate-context.refined-candidate-header> .badge{position:absolute;right:0;top:8px}
.candidate-context.refined-candidate-header p{margin:0;font-size:12px;line-height:1.5}
.candidate-context.refined-candidate-header .candidate-contact{display:contents;font-size:12px}
.candidate-context.refined-candidate-header .candidate-contact small{flex-basis:auto;letter-spacing:0;font-size:12px;font-weight:400}
.candidate-context.refined-candidate-header .candidate-contact span:empty{display:none}
.candidate-context.refined-candidate-header .candidate-contact button{padding:4px 8px;margin:0;line-height:1.3;font-size:11px}
.candidate-context.refined-candidate-header .candidate-contact small,.candidate-context.refined-candidate-header .candidate-header-meta{border-left:1px solid #d4d8d1;padding-left:12px}
@media(max-width:800px){.candidate-context.refined-candidate-header h1{padding-right:0}.candidate-context.refined-candidate-header>.badge{position:static;display:inline-block;margin-top:8px}.candidate-context.refined-candidate-header>div:first-child{gap:6px 10px}}
/* Start the dossier just below the main header, without the extra top gap. */
body:not(.candidate-only)>main:has(>.candidate-context){padding-top:2px}
.candidate-context.refined-candidate-header{padding-top:0;margin-top:0}
.candidate-context.refined-candidate-header>.badge{top:2px}
.candidate-actions-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:4px 0 10px}
.candidate-actions-row .candidate-position-disclosure{margin:0;flex:0 0 auto}
.candidate-actions-row .candidate-reading-navigation{flex:1;min-width:440px;margin:0;padding:5px 8px;font-size:12px;gap:8px}
.candidate-actions-row .candidate-reading-navigation button{padding:6px 10px;font-size:12px;white-space:nowrap}
.candidate-actions-row .candidate-position-disclosure[open]{flex:1 0 100%}
@media(max-width:700px){.candidate-actions-row .candidate-reading-navigation{min-width:0;flex-basis:100%}.candidate-actions-row .candidate-reading-navigation span{order:0;width:auto}}
.candidate-answer-link{color:#064b39;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.candidate-answer-link:hover{color:#a16f12}
.dossier-menu-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;border-bottom:1px solid var(--line);margin:0 0 10px;padding-bottom:4px}
.dossier-menu-row .dossier-tabs{flex:0 0 auto;border-bottom:0;margin:0;gap:0}
.dossier-menu-row .dossier-tabs button{padding:9px 10px;font-size:12px;white-space:nowrap}
.dossier-menu-row .export-bar{flex:1 1 auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;gap:6px;align-items:center}
.dossier-menu-row .export-bar button{padding:7px 9px;font-size:12px;white-space:nowrap}
@media(max-width:800px){.dossier-menu-row{gap:6px}.dossier-menu-row .export-bar{flex-basis:100%}}
