/* CiviHelv employment modules: cinematic blue, cyan and magenta, mobile first. */
#employment-root{max-width:1220px;margin:0 auto;padding:clamp(12px,3vw,34px) clamp(12px,3vw,30px) 70px;color:#e9f7ff;font:16px/1.6 system-ui,-apple-system,'Segoe UI',sans-serif}
#employment-root *,#employment-root *:before,#employment-root *:after{box-sizing:border-box}
#employment-root .emp-hero{padding:clamp(20px,4vw,45px);border:1px solid #58e9ff;border-radius:24px;background:radial-gradient(circle at 80% 0,#0d579a80,transparent 50%),linear-gradient(115deg,#071b3d,#0c2549 66%,#32164d);box-shadow:0 0 26px #00cfff36}
#employment-root .emp-hero h1{font-size:clamp(27px,4.8vw,47px);line-height:1.15;margin:8px 0;color:white}
#employment-root .emp-hero p{max-width:850px;margin:10px 0;color:#d3edff}
#employment-root .emp-kicker{color:#83f5ff!important;font-size:12px;letter-spacing:.16em;font-weight:900;text-transform:uppercase}
#employment-root .emp-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
#employment-root a.emp-action,#employment-root button.emp-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(120deg,#0265a5,#713aca,#bf3186);border:1px solid #81ecff;border-radius:13px;color:white!important;padding:12px 17px;text-decoration:none;font-weight:800;cursor:pointer;box-shadow:0 0 11px #00cfff45}
#employment-root a.emp-action.secondary,#employment-root button.emp-action.secondary{background:#0d2e53}
#employment-root .emp-panel{padding:clamp(16px,3vw,28px);border:1px solid #377aa6;border-radius:19px;background:linear-gradient(150deg,#0d2546,#0b1b3b);margin:20px 0}
#employment-root .emp-panel h2{color:#f6fcff;margin:0 0 15px;font-size:clamp(20px,3vw,27px)}
#employment-root .emp-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
#employment-root .emp-address-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:15px;min-width:0}
#employment-root label{font-weight:750;display:flex;flex-direction:column;gap:6px;min-width:0}
/* Keep input baselines level even when translated captions span two lines. */
#employment-root .emp-formgrid > label > span,#employment-root .emp-address-row > label > span{display:flex;align-items:flex-end;min-height:2.7em;line-height:1.3}
#employment-root .emp-address-row > label{min-width:0;align-self:stretch}
#employment-root .emp-address-row > label > input{margin-top:auto}
#employment-root .emp-address-row input{height:48px;min-height:48px}
#employment-root .emp-postcode-info{display:block;grid-column:1/-1;font-size:11px;line-height:1.4;color:#95eafa;font-weight:500}
#employment-root .emp-postcode-info:empty{display:none}
#employment-root input,#employment-root select,#employment-root textarea{width:100%;min-width:0;padding:12px;border:1px solid #62a5cc;border-radius:11px;background:#f8fcff;color:#0c2441;font:inherit}
#employment-root textarea{min-height:94px;resize:vertical}
#employment-root :is(a,button,input,select,textarea):focus-visible{outline:3px solid #ffe57a;outline-offset:3px}
#employment-root .emp-span{grid-column:1/-1}
#employment-root .emp-document{background:#fff;color:#152535;border-radius:10px;padding:clamp(17px,4vw,38px);white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.7 Arial,sans-serif;min-height:250px}
#employment-root .emp-letter-subject{font-weight:800;font-size:1.1em}
#employment-root textarea.emp-document{background:#fff;color:#182939;font:15px/1.65 Arial,sans-serif;width:100%;min-height:370px}
#employment-root .emp-note{color:#c9dded;font-size:13px;line-height:1.65}
#employment-root .emp-status{color:#8ff0ff;font-weight:800;min-height:23px}
#employment-root .emp-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0}
#employment-root .emp-job{padding:20px;border:1px solid #2caed1;border-radius:17px;background:linear-gradient(135deg,#112b53,#1d1648);box-shadow:0 0 15px #01dcff24}
#employment-root .emp-job h3{color:#fff;margin:5px 0;font-size:20px;line-height:1.3}
#employment-root .emp-job p{margin:6px 0;color:#cde8fa}
#employment-root .emp-job small{color:#8af3ff;font-weight:800}
#employment-root .emp-job .emp-links{margin-bottom:0}
#employment-root .emp-privacy{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-size:13px;font-weight:500}
#employment-root .emp-privacy input{width:20px;flex:0 0 20px;margin:3px 0}
#employment-root button:disabled{opacity:.5;cursor:wait}
@media(max-width:750px){#employment-root .emp-formgrid,#employment-root .emp-results{grid-template-columns:1fr}#employment-root .emp-links a,#employment-root .emp-links button{flex:1 1 170px}#employment-root .emp-job{padding:16px}}
@media(max-width:400px){#employment-root .emp-address-row{gap:10px}}
@media print{body *{visibility:hidden!important}#employment-root .emp-output,#employment-root .emp-output *{visibility:visible!important}#employment-root .emp-output{position:absolute;top:0;left:0;width:100%;margin:0;padding:0;border:0;background:white!important;box-shadow:none!important}#employment-root .emp-output h2,#employment-root .emp-output button,#employment-root .emp-output p{display:none!important}#employment-root textarea.emp-document{display:none!important}#employment-root .emp-document-print{display:block!important;border:none!important;white-space:pre-wrap!important;color:#111!important;background:#fff!important;padding:20mm!important;font-size:11pt!important} }

/* Swiss agency search directory, responsive and visually aligned with CiviHelv. */
#employment-root .emp-agency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,218px),1fr));gap:13px}
#employment-root .emp-agency{display:flex;flex-direction:column;justify-content:space-between;gap:14px;padding:18px;border:1px solid #3e98bd;border-radius:15px;background:linear-gradient(135deg,#0a294d,#241c47)}
#employment-root .emp-agency h3{font-size:17px;line-height:1.3;margin:0;color:#fff}
#employment-root .emp-agency .emp-action{font-size:13px;padding:10px;text-align:center}
#employment-root button[hidden]{display:none!important}

/* Integrated job detail and candidate preparation; responsive and keyboard accessible. */
#employment-root .emp-job-tags{display:flex;flex-wrap:wrap;gap:7px;font-size:12px;line-height:1.5}
#employment-root .emp-job-tags span{display:inline-block;padding:4px 10px;border:1px solid #568cb2;border-radius:14px;background:#14385c;color:#c9f1ff}
#employment-root .emp-job-detail{margin-top:13px;border-top:1px solid #396b96;padding-top:11px}
#employment-root .emp-job-detail>summary,#employment-root .emp-agencies-collapsed>summary{cursor:pointer;color:#88efff;font-weight:800;padding:9px 3px}
#employment-root .emp-job-detail>summary:focus-visible,#employment-root .emp-agencies-collapsed>summary:focus-visible{outline:3px solid #ffe57a;outline-offset:2px}
#employment-root .emp-job-detail h4{font-size:15px;color:#e7f7ff;margin:13px 0 6px}
#employment-root .emp-job-detail .emp-description{white-space:pre-line;overflow-wrap:anywhere;color:#d1eafd;font-size:14px;line-height:1.7}
#employment-root .emp-job-actions{display:flex;flex-wrap:wrap;gap:9px}
#employment-root .emp-job-actions .emp-action{font-size:13px;padding:9px 12px;min-width:0;text-align:center}
#employment-root .emp-agencies-collapsed{margin:18px 0;padding:5px 14px;border:1px solid #3b7ca7;border-radius:17px;background:#0b2040}
#employment-root .emp-agencies-collapsed .emp-panel{margin:12px 0}
@media(max-width:550px){#employment-root .emp-job-actions .emp-action{flex:1 1 100%;font-size:13px}#employment-root .emp-job-detail .emp-description{font-size:14px}}

/* Source attribution, legible on small screens. */
.emp-source-link{color:#67e8f9;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;font-weight:600}

/* Postal codes shared by applicant and employer: visible mobile-friendly locality choices. */
#employment-root .emp-postcode-choices[hidden]{display:none!important}
#employment-root .emp-postcode-choices{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;padding:8px 0 4px}
#employment-root .emp-postcode-choice{min-width:0;max-width:100%;border-radius:9px;border:1px solid #65dff0;background:#0e4168;color:#fff;padding:9px 12px;font-size:14px;cursor:pointer}
#employment-root .emp-postcode-choice:hover,#employment-root .emp-postcode-choice:focus-visible{background:#0d7798;outline:2px solid #a7ecff;outline-offset:2px}

/* Original agency identity, verified as published on the provider's own website. */
#employment-root .emp-agency-brand{display:flex;align-items:center;justify-content:center;max-width:100%;height:72px;padding:12px;background:#fff;border:1px solid #c8e1ed;border-radius:11px;overflow:hidden}
#employment-root .emp-agency-logo{display:block;max-width:100%;width:auto;height:100%;object-fit:contain;object-position:center}
@media(max-width:550px){#employment-root .emp-agency-brand{height:64px;padding:10px}}


/* Official employer identity: accurate marks only, neutral placeholder by default. */
#employment-root .emp-company-header{display:flex;align-items:center;gap:12px;min-width:0;margin-bottom:10px}
#employment-root .emp-company-logo{width:56px;height:56px;flex:0 0 56px;border-radius:12px;background:#f8fbff;border:1px solid #9ccadf;display:flex;align-items:center;justify-content:center;overflow:hidden}
#employment-root .emp-company-logo-image{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;padding:6px;box-sizing:border-box}
#employment-root .emp-company-logo-image[hidden],#employment-root .emp-company-logo-placeholder[hidden]{display:none!important}
#employment-root .emp-company-logo-placeholder{font-size:24px;line-height:1}
#employment-root .emp-company-info{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
#employment-root .emp-company-info small{font-size:13px;line-height:1.35}
#employment-root .emp-company-web{color:#93f4ff;font-size:12px;line-height:1.35;text-decoration:underline;text-underline-offset:2px}
#employment-root .emp-company-web:focus-visible{outline:3px solid #ffe57a;outline-offset:3px}
@media(max-width:550px){
 #employment-root .emp-company-header{gap:10px;align-items:flex-start}
 #employment-root .emp-company-logo{width:46px;height:46px;flex-basis:46px;border-radius:10px}
 #employment-root .emp-company-logo-image{padding:5px}
 #employment-root .emp-company-info small{font-size:12px}
}


/* Featured Swiss staffing agencies: whole-card accessible links with preserved brand aspect ratio. */
#employment-root .emp-featured-section{margin:20px 0 26px;padding:clamp(14px,3vw,24px);border:1px solid #377aa6;border-radius:19px;background:linear-gradient(155deg,#102d50,#102345)}
#employment-root .emp-featured-section>h2{color:#fff;margin:0 0 8px;font-size:clamp(20px,3vw,27px);line-height:1.2}
#employment-root .emp-featured-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,164px),1fr))}
#employment-root .emp-agency-link{cursor:pointer;text-decoration:none;align-items:stretch;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
#employment-root .emp-agency-link:hover{transform:translateY(-2px);border-color:#90e9ff;box-shadow:0 7px 18px #0003}
#employment-root .emp-agency-link:focus-visible{outline:3px solid #ffe57a;outline-offset:4px}
#employment-root .emp-agency-link .emp-agency-brand{min-height:66px;margin-bottom:2px}
#employment-root .emp-agency-link .emp-agency-logo{width:auto;height:100%;max-width:100%;object-fit:contain}
#employment-root .emp-agency-logo[hidden],#employment-root .emp-agency-placeholder[hidden]{display:none!important}
#employment-root .emp-agency-placeholder{font-size:29px;line-height:1}
#employment-root .emp-agency-featured h3{text-align:center;font-size:16px}
#employment-root .emp-agency-cta{display:block;color:#99efff;text-align:center;font-size:13px;font-weight:750;border-top:1px solid #426f9c;padding-top:10px}
@media(max-width:550px){
 #employment-root .emp-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #employment-root .emp-agency-link{padding:12px;gap:10px}
 #employment-root .emp-agency-link .emp-agency-brand{height:59px;min-height:59px;padding:8px}
 #employment-root .emp-agency-featured h3{font-size:14px}
 #employment-root .emp-agency-cta{font-size:12px}
}

/* Compact profession/canton search: retain existing CiviHelv cinematic colors and background. */
#employment-root .emp-search-panel{padding:clamp(14px,2.3vw,21px);margin:16px 0 12px;background:linear-gradient(145deg,#0d2546,#0b1b3b)}
#employment-root .emp-search-panel h2{font-size:clamp(19px,2.5vw,24px);line-height:1.27;margin:0 0 13px}
#employment-root .emp-search-panel .emp-formgrid{gap:10px 14px}
#employment-root .emp-search-panel .emp-formgrid>label>span{min-height:0;align-items:center;font-size:14px;line-height:1.3}
#employment-root .emp-search-panel input,#employment-root .emp-search-panel select{min-height:44px;padding:10px 13px}
#employment-root .emp-search-panel .emp-search-actions{margin:12px 0 2px}
#employment-root .emp-search-panel .emp-search-actions .emp-action{flex:0 1 290px;min-height:43px;padding:10px 15px}
#employment-root .emp-search-panel .emp-status{margin:7px 0 0;min-height:0;font-size:13px;line-height:1.4}
#employment-root .emp-search-panel .emp-status:empty{display:none}
#employment-root .emp-resources-collapse{margin:18px 0;padding:10px 15px;background:linear-gradient(150deg,#10284b,#0b1b36);border:1px solid #3b7ca7;border-radius:15px}
#employment-root .emp-resources-collapse>summary{font-weight:750;font-size:14px;color:#a3edff;cursor:pointer;padding:4px 2px}
#employment-root .emp-resources-collapse>summary:focus-visible{outline:3px solid #ffe57a;outline-offset:3px}
#employment-root .emp-resource-content{padding:8px 3px 4px}
#employment-root .emp-resource-content .emp-links{margin:9px 0}
#employment-root .emp-resource-content .emp-note{margin:8px 0}
@media(max-width:750px){
 #employment-root .emp-search-panel{padding:14px;margin:12px 0 12px}
 #employment-root .emp-search-panel h2{font-size:19px;margin-bottom:11px}
 #employment-root .emp-search-panel .emp-formgrid{gap:9px}
 #employment-root .emp-search-panel .emp-formgrid>label>span{font-size:13px}
 #employment-root .emp-search-panel .emp-search-actions .emp-action{flex:1 1 100%;max-width:none;width:100%}
 #employment-root .emp-featured-section{margin-top:14px}
}
