.phase-two-actions{position:static!important}
.phase-two-preview-content .completion{margin:0;padding:12px 16px;min-height:0}
.phase-two-preview-content .completion .completion-mascot{height:120px;width:auto;max-width:100%;object-fit:contain;margin:0 auto 8px}
.panel.completion .completion-mascot{max-height:190px;width:auto;object-fit:contain}
.panel.completion{padding-top:20px;padding-bottom:24px}
.phase-two-preview-content .completion h1{margin:6px 0;font-size:24px}
.phase-two-preview-content .completion p{margin:8px 0}
.ux-preview-vacancy{max-width:480px;margin-bottom:16px}
.ux-compact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.ux-compact-form>label{margin:0}.ux-compact-form>label:has(textarea),.ux-compact-form>.toolbar,.ux-compact-form>p,.ux-compact-form>button{grid-column:1/-1}
#candidate label:has(select){max-width:560px}
#review select,#candidate select,#candidate-notes-form select{width:100%;max-width:440px}
label:has(>#agenda-filter){max-width:280px}#agenda-filter{width:100%}
#candidate-notes-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#candidate-notes-form>label:has(textarea),#candidate-notes-form>.toolbar{grid-column:1/-1}
#candidate:has([name=married]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
#candidate:has([name=married])>label{margin:0;max-width:none}
#candidate:has([name=married])>label:has(textarea),#candidate:has([name=married])>.foot,#candidate:has([name=married])>p{grid-column:1/-1}
#candidate:has([name=married])[hidden]{display:none}
.original-question-title{display:block;font-size:11px;margin-top:4px}
.ux-incomplete-compatibility{border-left:3px solid #b78935;padding:8px 12px;background:#fff7e7;color:#695226}
@media(max-width:700px){.ux-compact-form,#candidate-notes-form,#candidate:has([name=married]){grid-template-columns:1fr}.phase-two-preview-content .completion h1{font-size:22px}}

@media screen{
 body:not(.candidate-only)>nav.admin-sidebar{position:fixed;top:0;left:0;bottom:0;width:212px;height:100dvh;min-height:0;padding:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:0;overflow:hidden;z-index:10}
 body:not(.candidate-only)>main{grid-row:1;padding-top:16px}
 .menu-brand-top,.menu-brand-bottom{display:flex;align-items:center;justify-content:center;padding:16px 12px;background:#e7dcc8}
 .menu-brand-top{border-bottom:1px solid #cfc4af}
 .menu-brand-bottom{border-top:1px solid #cfc4af;padding:12px}
 .menu-brand-top img{display:block;width:186px;height:auto;max-height:80px;object-fit:contain;mix-blend-mode:multiply}
 .menu-brand-bottom img{display:block;width:166px;height:auto;max-height:52px;object-fit:contain;mix-blend-mode:multiply}
 .menu-scroll-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px;display:flex;flex-direction:column;gap:14px}
 .menu-scroll-content>.admin-back{flex-shrink:0;width:100%}
 .menu-scroll-content>.nav-group{flex-shrink:0}
 body:not(.candidate-only) .phase-two-panel>h1{top:0}
 html:has(body:not(.candidate-only)){scroll-padding-top:20px}
}
@media screen and (max-width:800px){
 body:not(.candidate-only)>nav.admin-sidebar{position:static;width:100%;height:auto;grid-template-rows:auto auto auto}
 .menu-scroll-content{max-height:340px;display:flex;flex-direction:column}
 .menu-brand-top{padding:12px}.menu-brand-bottom{padding:10px}
 .menu-brand-top img{width:176px}.menu-brand-bottom img{width:144px}
}
.candidate-list-panel>.backup-reminder{padding:6px 9px;margin:4px 0 8px;font-size:11px;line-height:1.45}
.candidate-list-panel>.backup-reminder button{padding:3px 7px;font-size:11px;line-height:1.3;margin-left:5px}
/* The complete menu column, including both brands, follows page scrolling. */
@media screen{
 body:not(.candidate-only)>nav.admin-sidebar{position:static;height:auto;min-height:100dvh;display:flex;flex-direction:column;overflow:visible;grid-column:1;grid-row:1}
 .menu-brand-top,.menu-brand-bottom{flex-shrink:0}
 .menu-brand-bottom{margin-top:auto}
 .menu-scroll-content{flex:0 0 auto;overflow:visible;max-height:none}
}
@media screen and (max-width:800px){body:not(.candidate-only)>nav.admin-sidebar{min-height:0}}
.menu-brand-bottom{flex-direction:column;gap:6px}
.menu-update-date{font-size:10px;line-height:1.3;color:#687168;text-align:center}
.candidate-preferences-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin:12px 0}
.candidate-preferences-row>.candidate-filter-favorites,.candidate-preferences-row>.candidate-columns{margin:0;min-width:0}
.candidate-preferences-row .favorite-filter-controls{flex-wrap:wrap}
@media(max-width:700px){.candidate-preferences-row{grid-template-columns:1fr}}
.advanced-candidate-filters>.inline-filter-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0;list-style:none}
.inline-filter-summary::-webkit-details-marker{display:none}
.inline-filter-summary::before{content:'▶';font-size:11px}
.advanced-candidate-filters[open]>.inline-filter-summary::before{content:'▼'}
.inline-filter-actions{display:inline-flex;align-items:center;gap:7px;margin-left:10px}
.inline-filter-actions button{font-size:12px;font-weight:400;padding:7px 12px}

#review.ux-compact-form select{max-width:none}#review.ux-compact-form>button{justify-self:start;width:auto}

/* Dark green administrative menu, with readable links and original brand colors. */
@media screen{
 body:not(.candidate-only)>nav.admin-sidebar{background:#064b3b;border-color:#215d4e}
 .admin-sidebar .menu-brand-top,.admin-sidebar .menu-brand-bottom{background:transparent;border-color:#39705f}
 .admin-sidebar .menu-brand-top img,.admin-sidebar .menu-brand-bottom img{mix-blend-mode:normal;background:#f8f3e9;border-radius:6px;padding:6px;box-sizing:border-box}
 .admin-sidebar .nav-group button{color:#f5f1e6}
 .admin-sidebar .nav-group button:hover,.admin-sidebar .nav-group button:focus-visible{background:#21634f;color:#fff}
 .admin-sidebar .nav-group button.active,.admin-sidebar .nav-group button.active:hover{background:#e9f2ec;color:#064b3b}
 .admin-sidebar .nav-group button:active{background:#31745f;color:#fff}
 .admin-sidebar .menu-update-date{color:#d0ddd4}
}

/* UX audit: keep actions and reading areas contained on small screens. */
.jobs-table td:nth-last-child(2)>small{display:block;margin-top:8px;line-height:1.45;max-width:250px}
.mobile-menu-toggle{display:none}
.candidate-empty-guide{margin-top:12px}
.submission-review-content [data-edit-stage]{margin:8px 0;font-size:12px;padding:6px 10px}
@media screen and (max-width:800px){
 .admin-sidebar .mobile-menu-toggle{display:block;text-align:left;background:#f8f3e9;color:#064b3b;margin:0 12px 10px;padding:10px 12px}
 body:not(.candidate-only)>nav.admin-sidebar{gap:0;padding:0;min-height:0}
 .admin-sidebar:not(.mobile-menu-open) .menu-scroll-content,.admin-sidebar:not(.mobile-menu-open) .menu-brand-bottom{display:none}
 .admin-sidebar .menu-brand-top{padding:8px}.admin-sidebar .menu-brand-top img{max-height:55px;width:auto}
 .dossier-menu-row{min-width:0;max-width:100%}
 .dossier-menu-row .dossier-tabs{flex:1 1 100%;min-width:0;max-width:100%;flex-wrap:wrap}
 .dossier-menu-row .dossier-tabs button{white-space:normal}
 .dossier-menu-row .export-bar{min-width:0;flex-wrap:wrap}
 body.candidate-only #candidate label{margin:0 0 16px!important}
 body.candidate-only #candidate .grid{gap:0 12px!important}
 body.candidate-only #candidate>.grid{margin:0!important}
 body.candidate-only #candidate .foot{display:flex;flex-wrap:wrap;gap:10px}
 body.candidate-only #candidate .foot button{flex:1 1 auto}
}
@media print{.mobile-menu-toggle{display:none!important}}

.vacancy-cards-panel{padding:24px}
.vacancy-sharing-guide{font-size:13px;color:#61716a;line-height:1.5;margin:4px 0 18px;max-width:850px}
.vacancy-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.vacancy-card{background:#fffaf1;border:1px solid #cdbd9e;border-radius:12px;padding:18px;min-width:0;box-shadow:0 2px 4px #493a2110}
.vacancy-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;background:transparent;border:0;padding:0;margin-bottom:14px}
.vacancy-card-heading h2{font-size:19px;line-height:1.35;margin:0;color:#163e34;overflow-wrap:anywhere}
.vacancy-card-heading .vacancy-state{flex-shrink:0;font-size:12px}
.vacancy-card-schedule{background:#f1eadc;border-radius:7px;padding:10px 12px;margin-bottom:14px;min-height:66px}
.vacancy-card h3{font-size:12px;font-weight:700;margin:0 0 7px;color:#657064}
.vacancy-card .vacancy-schedule-lines{font-size:13px;max-width:340px;line-height:1.65}
.vacancy-card .vacancy-flexible-hours{font-size:13px}
.vacancy-card-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.vacancy-card-form-actions{display:flex;gap:6px;flex-wrap:wrap}
.vacancy-card-form-actions button,.vacancy-card-form-actions .button-link{padding:8px 10px;font-size:12px;white-space:nowrap;min-height:36px}
.vacancy-card-form-actions .button-link{background:#064b3b;color:#fff;border-color:#064b3b}
.vacancy-copy-both{font-size:12px;padding:7px 10px;margin-top:12px;background:#edf3ed;border-color:#c0d1c4}
.vacancy-card-status{font-size:12px;color:#075342;margin:8px 0 0}.vacancy-card-status:empty{display:none}
.vacancy-card-manage{display:flex;gap:8px;align-items:center;margin-top:16px;padding-top:12px;border-top:1px solid #ded1bb}
.vacancy-card-manage button{font-size:12px;padding:6px 11px;background:transparent;min-height:34px}
.vacancy-card-manage .vacancy-close-action{margin-left:auto;color:#914f4b}
.vacancy-link-job{font-weight:600;color:#163e34}
.vacancy-prepared-links{margin-top:14px;border-top:1px solid #cdbd9e;padding-top:4px}.vacancy-prepared-links input{font-size:12px}
@media(max-width:1150px){.vacancy-card-grid{grid-template-columns:1fr}.vacancy-card-forms{max-width:600px}}
@media(max-width:500px){.vacancy-cards-panel{padding:16px}.vacancy-card{padding:14px}.vacancy-card-heading h2{font-size:17px}.vacancy-card-forms{grid-template-columns:1fr}.vacancy-card-form-actions{flex-wrap:nowrap}.vacancy-card-form-actions>*{flex:1;text-align:center}.vacancy-sharing-guide{font-size:12px}.vacancy-card-manage button{min-height:40px}}
