/* Shortcuts for returning job seekers. */
body #page-home .home-benefits {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px 26px;
  margin: 30px auto 44px;
  padding: 19px 22px;
  border-block: 1px solid var(--home-reference-line);
  color: var(--home-reference-ink);
}
body #page-home .home-benefits h2 { margin: 0; font-size: clamp(19px, 2vw, 24px); }
body #page-home .home-benefits a {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 44px;
  text-decoration: none;
  color: var(--home-reference-ink);
}
body #page-home .home-benefits a strong { font-size: 14px; }
body #page-home .home-benefits a span { color: var(--home-reference-muted); font-size: 13px; line-height: 1.4; }
body #page-home .home-benefits a:hover strong { color: var(--home-reference-accent); }
@media (max-width: 650px) {
  body #page-home .home-benefits { grid-template-columns: 1fr; gap: 12px; padding-inline: 0; }
}

/* Keep filters readable and matte; the reference glow is limited to the cards. */
body:not(.light-mode) #page-jobs #filterSidebar{background:#102128!important;border-color:#304a50!important;box-shadow:none!important;backdrop-filter:none!important}
body:not(.light-mode) #page-jobs #jobsGrid .job-card{border-color:#2f5961!important;box-shadow:none!important;transition:border-color .2s ease,box-shadow .2s ease}
@media(hover:hover){body:not(.light-mode) #page-jobs #jobsGrid .job-card:hover{border-color:#46848a!important;box-shadow:0 8px 24px rgba(0,0,0,.12)!important}}
body:not(.light-mode) #page-jobs .jobs-results-toolbar{border-color:#36565d}

/* Reference proportions: wider content, simpler lists, one consolidated results bar. */
@media(min-width:1100px){
 body #page-home{padding-inline:5.5vw!important}
 body #page-home :is(.hero,.home-jobs-header,#homeJobsGrid,.home-view-more-wrap,#homePartnersStrip,.home-extra-jobs,.home-preview-feature,.home-domains-section,.home-benefits,.home-connected-panel,.seo-copy){max-width:1600px!important}
 body #page-home .hero{padding-top:105px!important}
 body #page-home .hero-content h1{font-size:clamp(56px,4.8vw,78px)!important}
 body #page-home .hero::before{inset:-15px -5.5vw 40px 30%;background-position:right center;mask-image:radial-gradient(ellipse at 72% 50%,#000 32%,transparent 76%)}
 body #page-home .home-stage-heading{margin-top:135px!important}
 body #page-home #homeJobsGrid .home-job-row{grid-template-columns:78px minmax(0,1fr) auto;min-height:100px!important}
 body #page-home #homeJobsGrid .row-logo{width:58px!important;height:58px!important}
 body #page-home #homeJobsGrid .row-main{border-left:1px solid var(--home-reference-line);padding-left:28px}
 body #page-jobs .jobs-layout{max-width:1640px!important;grid-template-columns:minmax(250px,23fr) minmax(0,77fr)!important;gap:18px!important}
 body #page-jobs .jobs-results-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:56px;padding:8px 14px!important;border:1px solid rgba(138,183,189,.24);border-radius:13px;background:rgba(34,55,61,.63)}
 body #page-jobs .jobs-results-toolbar .jobs-bar{display:contents!important}
 body #page-jobs .jobs-results-toolbar .jobs-bar-left{grid-column:1;display:flex;align-items:center;gap:12px;white-space:nowrap}
 body #page-jobs .jobs-results-toolbar .jobs-bar-right{grid-column:3;grid-row:1;display:flex;align-items:center;gap:8px}
 body #page-jobs .jobs-results-toolbar .jobs-quick-filters{grid-column:2;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0!important;padding:0!important;min-width:0}
 body #page-jobs .jobs-results-toolbar .discovery-results-status:not([hidden]){grid-column:1/-1}
 body.light-mode #page-jobs .jobs-results-toolbar{background:#f3f8f6;border-color:#d3e0db}
}
body #page-home .home-preview-art{display:flex;flex-direction:column;align-items:stretch;gap:13px;padding:22px!important;min-height:220px!important;transform:perspective(900px) rotateY(7deg) rotateZ(-2deg)}
body #page-home .home-preview-art::after{display:none}
body #page-home .home-preview-brand{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--home-reference-line);font-size:13px;font-weight:750}
body #page-home .home-preview-brand span{padding:5px 8px;border-radius:6px;background:rgba(32,216,212,.12);color:var(--home-reference-accent);font-size:9px}
body #page-home .home-preview-example{display:flex;align-items:center;gap:10px}
body #page-home .home-preview-example-logo{display:grid;place-items:center;width:36px;height:36px;border-radius:7px;background:var(--home-reference-accent);color:#062326;font-weight:800}
body #page-home .home-preview-example strong{display:block;font-size:13px;line-height:1.4}
body #page-home .home-preview-example small{display:block;color:var(--home-reference-muted);font-size:10px}
body #page-home .home-preview-mock-body{display:grid;grid-template-columns:32% 1fr;gap:16px;margin-top:3px}
body #page-home .home-preview-mock-nav,body #page-home .home-preview-mock-copy{display:flex;flex-direction:column;align-items:stretch;gap:8px;font-size:10px;color:var(--home-reference-muted)}
body #page-home .home-preview-mock-nav b{padding:6px;border-radius:5px;background:rgba(32,216,212,.12);color:var(--home-reference-ink)}
body #page-home .home-preview-mock-copy b{color:var(--home-reference-ink);font-size:10px}
body #page-home .home-preview-mock-copy i{height:4px;border-radius:4px;background:var(--home-reference-muted);opacity:.4}
body #page-home .home-preview-mock-copy i:nth-of-type(2){width:80%}
body #page-home .home-preview-mock-copy i:nth-of-type(3){width:65%}
@media(max-width:1099px){body #page-jobs .jobs-results-toolbar{border:0;background:transparent}}
@media(max-width:767px){body #page-home .home-preview-art{transform:none;min-height:200px!important}}

/* Concise counts and clearer reference-style section hierarchy. */
body #page-jobs #resultsCount{white-space:nowrap;flex:none;font-size:13px;font-weight:500;letter-spacing:0;color:var(--text2)}
body #page-home .home-row-location{display:none}
body #page-home #homeJobsGrid .home-row-location{display:inline;color:var(--home-reference-muted);font-size:12px;font-weight:400}
body #page-home #homeJobsGrid .row-meta .row-loc{display:none!important}
body #page-home :is(.home-jobs-header .section-header h2,.hiring-partners-label,.home-domains-section .home-pathways-heading h2){display:flex;align-items:center;gap:12px;font-size:11px!important;font-weight:750!important;text-transform:uppercase;letter-spacing:.14em;color:var(--home-reference-muted)!important}
body #page-home :is(.home-jobs-header .section-header h2,.hiring-partners-label,.home-domains-section .home-pathways-heading h2)::before{content:'';display:block;width:30px;height:2px;flex:none;background:var(--home-reference-orange)}
body #page-home .home-jobs-header .section-header h2 .gradient-text{-webkit-text-fill-color:var(--home-reference-muted)!important;color:var(--home-reference-muted)!important}
body #page-home .hiring-partners-label .exp-bar{display:none}
body #page-home .home-jobs-header .section-header p{margin-top:9px!important}
body #page-home #homeJobsGrid .row-main>span{line-height:1.7}
@media(max-width:767px){body #page-home #homeJobsGrid .home-row-location{display:block;font-size:11px}body #page-home #homeJobsGrid .row-meta{justify-content:flex-end!important}body #page-home #homeJobsGrid .home-job-row{grid-template-columns:48px minmax(0,1fr) 32px}body #page-home #homeJobsGrid .row-main{grid-column:2;grid-row:1 / 3}body #page-home #homeJobsGrid .row-meta{grid-column:3;grid-row:1 / 3}}

/* The count itself is the label; retain the heading for screen readers. */
body #page-jobs .jobs-bar-left:has(#resultsCount:not(:empty)) h2{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body #page-jobs .jobs-bar-left #resultsCount:not(:empty){font-size:12px!important;line-height:1.4;font-weight:500!important;letter-spacing:0;color:var(--text)!important}

/* Quiet glass tints make the quick actions distinct while selected states remain clear. */
body #page-jobs .jobs-quick-filters :is(#btnToggleSidebar,#niftyHeroBtn,#remoteHeroBtn,#domainToggleBtn,#industryToggleBtn) {
  border: 1px solid var(--dahapat-line) !important;
  border-radius: 9px !important;
  background: var(--dahapat-panel) !important;
  color: var(--dahapat-ink) !important;
  box-shadow: none !important;
}
body #page-jobs .jobs-quick-filters > button:hover {
  background: var(--dahapat-soft) !important;
}
body #page-jobs .jobs-quick-filters :is(#niftyHeroBtn,#remoteHeroBtn,#domainToggleBtn,#industryToggleBtn):is(.active,[aria-pressed="true"],[aria-expanded="true"]) {
  border-color: var(--dahapat-accent) !important;
  background: var(--dahapat-active) !important;
  color: var(--dahapat-accent) !important;
}
body #page-jobs .jobs-quick-filters :is(#btnToggleSidebar,#niftyHeroBtn,#remoteHeroBtn,#domainToggleBtn,#industryToggleBtn):focus-visible{outline:2px solid #20b7b3!important;outline-offset:3px}

/* The field surface supplies the focus ring for its input and controls. */
body #page-jobs #jobsSearchWrap .search-field input:focus{outline:0!important;box-shadow:none!important}

/* An even, diffused silver lift for the original logo, strongest behind the D. */
body:not(.light-mode) .header .brand-logo-dark.brand-logo-composite::before{content:'';position:absolute;z-index:0;left:-5%;top:-35%;width:112%;height:170%;pointer-events:none;background:radial-gradient(ellipse at 23% 50%,rgba(224,231,230,.42),rgba(185,200,201,.16) 30%,rgba(185,200,201,.06) 57%,transparent 76%);filter:blur(14px)}

/* Profession and stage keep their existing menus and add the same teal glass finish. */
body:not(.light-mode) #page-jobs #catStrip :is(.profession-picker,.career-stage-picker)>summary{background:linear-gradient(145deg,rgba(91,151,157,.25),rgba(24,56,65,.72))!important;border:1px solid rgba(114,193,196,.48)!important;color:#e5f4f2!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 4px 14px rgba(0,0,0,.10)!important}
body:not(.light-mode) #page-jobs #catStrip :is(.profession-picker,.career-stage-picker)[open]>summary,body:not(.light-mode) #page-jobs #catStrip :is(.profession-picker,.career-stage-picker)>summary:hover{border-color:rgba(51,221,214,.8)!important;background:linear-gradient(145deg,rgba(48,139,145,.38),rgba(22,69,76,.84))!important}
body:not(.light-mode) #page-jobs :is(#professionMenu,#courseLevelsRail){background:rgba(17,42,49,.97)!important;border:1px solid rgba(106,186,190,.38)!important;box-shadow:0 16px 40px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08)!important;backdrop-filter:blur(18px)}
body:not(.light-mode) #page-jobs :is(.profession-option,.level-chip-btn){color:#d9ebea!important;border-radius:8px}
body:not(.light-mode) #page-jobs :is(.profession-option,.level-chip-btn):hover,body:not(.light-mode) #page-jobs :is(.profession-option.is-current,.level-chip-btn.active){background:rgba(32,216,212,.15)!important;color:#eafffd!important;border-color:rgba(32,216,212,.45)!important}
body.light-mode #page-jobs #catStrip :is(.profession-picker,.career-stage-picker)>summary{background:linear-gradient(145deg,#f7fdfb,#e1f2ee)!important;border-color:#a7d3cb!important;color:#174e49!important;box-shadow:inset 0 1px 0 #fff,0 4px 14px rgba(16,80,70,.06)!important}

/* The filter drawer keeps a darker surface behind its controls. */
body:not(.light-mode) #page-jobs #filterSidebar{background:linear-gradient(155deg,rgba(42,70,78,.96),rgba(13,32,39,.97))!important;border-color:rgba(124,175,180,.36)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;backdrop-filter:blur(18px)}
body:not(.light-mode):has(#page-jobs.active) #catStrip :is(.profession-picker,.career-stage-picker)>summary{background:linear-gradient(145deg,rgba(91,151,157,.25),rgba(24,56,65,.72))!important;border:1px solid rgba(114,193,196,.48)!important;color:#e5f4f2!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)!important}
body:not(.light-mode):has(#page-jobs.active) #catStrip :is(.profession-picker,.career-stage-picker)[open]>summary,body:not(.light-mode):has(#page-jobs.active) #catStrip :is(.profession-picker,.career-stage-picker)>summary:hover{border-color:rgba(51,221,214,.8)!important;background:linear-gradient(145deg,rgba(48,139,145,.38),rgba(22,69,76,.84))!important}
body:not(.light-mode):has(#page-jobs.active) #professionMenu .profession-option:not(.is-current){background:transparent!important;color:#d9ebea!important}
body:not(.light-mode):has(#page-jobs.active) #courseLevelsRail .level-chip-btn.active{background:rgba(32,216,212,.2)!important;color:#eafffd!important;border-color:rgba(32,216,212,.5)!important}
@media(prefers-reduced-motion:reduce){body #page-jobs #jobsSearchWrap,body #domainStrip .career-explorer-option{transition:none!important}}

/* Work-arrangement controls share the restrained turquoise glass treatment. */
body:not(.light-mode) #page-jobs #filterSidebar #wfhArrangementFilters :is(.job-work-mode-filters button,.wfh-cohort-chip){min-height:38px;padding:8px 10px;border:1px solid rgba(117,184,189,.30)!important;border-radius:8px;background:linear-gradient(145deg,rgba(66,120,126,.22),rgba(13,38,45,.55))!important;color:#c8dcde!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;line-height:1.35;white-space:normal;}
body:not(.light-mode) #page-jobs #filterSidebar #wfhArrangementFilters :is(.job-work-mode-filters button,.wfh-cohort-chip):hover{border-color:rgba(32,216,212,.65)!important;background:rgba(32,216,212,.13)!important;color:#e7fffd!important;}
body:not(.light-mode) #page-jobs #filterSidebar #wfhArrangementFilters :is(.job-work-mode-filters button[aria-pressed="true"],.wfh-cohort-chip.active){border-color:#20d8d4!important;background:rgba(32,216,212,.19)!important;color:#9cf4ef!important;}
body #page-jobs #filterSidebar #wfhArrangementFilters :is(.job-work-mode-filters button,.wfh-cohort-chip):focus-visible{outline:2px solid #20d8d4;outline-offset:2px;}
body #page-jobs #filterSidebar #wfhArrangementFilters .wfh-chips-row{gap:7px;}

/* Grid cards need their own compact structure, independent of the wide list layout. */
body:not(.light-mode) #page-jobs #jobsGrid:not(.list){grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))!important;gap:16px;align-items:stretch;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card{grid-template-columns:48px minmax(0,1fr);grid-template-areas:'logo title' 'logo company' 'location location' 'indicator indicator' 'info info' 'aux aux' 'footer footer';grid-template-rows:auto auto auto auto 1fr auto auto;gap:0 14px!important;padding:20px!important;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-logo-wrap{width:48px!important;height:48px!important;min-width:48px!important;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card-title-wrap{align-self:start;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-pos{display:block!important;overflow:visible!important;-webkit-line-clamp:unset;font-size:17px!important;line-height:1.4!important;overflow-wrap:anywhere;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card-location-row{margin-top:12px;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card-top-actions{max-width:none;justify-content:flex-start;margin-top:8px;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:16px 12px;margin-top:16px;padding-top:14px;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card-info-group{padding:0!important;border:0!important;gap:6px;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card-info-group[data-info-group="specialisations"]{grid-column:1/-1;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card-info-label{font-size:12px;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card-footer{flex-direction:column;align-items:stretch;gap:12px;margin-top:16px;padding-top:14px!important;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-actions{justify-content:flex-start;gap:8px;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-actions .job-act{font-size:13px!important;min-height:40px;}
@media(max-width:480px){body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card{padding:16px!important;grid-template-columns:44px minmax(0,1fr);}body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-logo-wrap{width:44px!important;height:44px!important;min-width:44px!important;}}

/* Transparent white logos need a dark tile in both themes, including cards. */
body #page-jobs #jobsGrid .job-card .job-logo-wrap.logo-reversed{background:#25343a!important;border-color:#526b70!important;}

/* Light Jobs surfaces retain the same compact structure in warm glass. */
body.light-mode #page-jobs #catStrip.career-nav-container{padding:42px 32px 38px!important;background:linear-gradient(145deg,rgba(255,253,247,.91),rgba(239,247,243,.87))!important;border:1px solid rgba(166,194,184,.46)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 28px rgba(77,93,79,.05)!important;backdrop-filter:blur(18px);}
body.light-mode #page-jobs :is(#filterSidebar,.jobs-results-toolbar,#jobsSearchWrap){background:rgba(255,253,248,.88)!important;border-color:rgba(163,190,179,.5)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;backdrop-filter:blur(16px);}
body.light-mode #page-jobs #jobsGrid .job-card{background:rgba(255,254,250,.93)!important;border-color:#d7e2d9!important;box-shadow:0 5px 18px rgba(53,76,62,.045)!important;}
body.light-mode #page-jobs #jobsGrid .job-card-header{order:0!important;}
body.light-mode #page-jobs #jobsGrid .job-card-info-grid{order:2;}
body.light-mode #page-jobs #jobsGrid .job-card-info-grid:empty{display:none;}
body.light-mode #page-jobs #jobsGrid .job-card-info-grid{display:flex;flex-wrap:wrap;gap:14px 22px;padding:14px 0 0;border-top:1px solid #dce6df;}
body.light-mode #page-jobs #jobsGrid .job-card-info-group{display:flex;flex-direction:column;gap:6px;min-width:110px;flex:1 1 130px;}
body.light-mode #page-jobs #jobsGrid .job-card-info-group[data-info-group="specialisations"]{flex:2 1 220px;}
body.light-mode #page-jobs #jobsGrid .job-card-info-label{font-size:12px;color:#586e65;}
body.light-mode #page-jobs #jobsGrid .job-card-info-values{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#233f37;}
body.light-mode #page-jobs #jobsGrid .job-card-data-chip{display:inline-flex;padding:4px 8px;border:1px solid #bcd9d0;border-radius:6px;background:#e8f4ef;color:#25584f;font-size:12px;line-height:1.4;}
body.light-mode #page-jobs #jobsGrid .legacy-card-pills{display:none!important;}
body.light-mode #page-jobs #jobsGrid .job-card-light-top-indicator .job-card-top-badge{display:none;}
body.light-mode #page-jobs #jobsGrid .job-card-dark-top-indicator{display:contents;}
body.light-mode #page-jobs #jobsGrid:not(.list) .job-card-footer{flex-direction:column;align-items:stretch;}
body.light-mode #page-jobs #jobsGrid:not(.list) .job-actions{justify-content:flex-start;}
body.light-mode #page-jobs #filterSidebar #wfhArrangementFilters :is(.job-work-mode-filters button,.wfh-cohort-chip){background:rgba(237,247,241,.8)!important;border:1px solid #c3dcd0!important;color:#335e52!important;box-shadow:inset 0 1px 0 #fff!important;}
body.light-mode #page-jobs #filterSidebar #wfhArrangementFilters :is(.job-work-mode-filters button[aria-pressed="true"],.wfh-cohort-chip.active){background:#ceeae0!important;border-color:#459a88!important;color:#174e43!important;}
@media(max-width:767px){body.light-mode #page-jobs #catStrip.career-nav-container{padding:28px 16px!important;}body.light-mode #page-jobs #jobsGrid .job-card-info-grid{gap:12px;}body.light-mode #page-jobs #jobsGrid .job-card-info-group{min-width:120px;}}

/* Give wide, verified wordmarks enough room without stretching the artwork. */
body:not(.light-mode) #page-jobs #jobsGrid .job-card:has(.job-logo-wrap.logo-wordmark){grid-template-columns:76px minmax(0,1fr) auto;}
body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card:has(.job-logo-wrap.logo-wordmark){grid-template-columns:76px minmax(0,1fr);}
body #page-jobs #jobsGrid .job-card .job-logo-wrap.logo-wordmark{width:76px!important;min-width:76px!important;height:52px!important;padding:8px!important;}
body #page-jobs #jobsGrid .job-card .job-logo-wrap .job-logo{width:100%;height:100%;object-fit:contain;}
body.light-mode #page-jobs #jobsGrid .job-card:has(.job-logo-wrap.logo-wordmark) :is(.job-card-header,.job-card-title-wrap){padding-left:92px!important;}
@media(max-width:700px){body:not(.light-mode) #page-jobs #jobsGrid .job-card:has(.job-logo-wrap.logo-wordmark),body:not(.light-mode) #page-jobs #jobsGrid:not(.list) .job-card:has(.job-logo-wrap.logo-wordmark){grid-template-columns:64px minmax(0,1fr);}body #page-jobs #jobsGrid .job-card .job-logo-wrap.logo-wordmark{width:64px!important;min-width:64px!important;height:44px!important;padding:6px!important;}body.light-mode #page-jobs #jobsGrid .job-card:has(.job-logo-wrap.logo-wordmark) :is(.job-card-header,.job-card-title-wrap){padding-left:78px!important;}}

/* Let job results use the full viewport while scrolling. */
body:has(#page-jobs.active) .header{position:relative!important;top:auto!important;}

/* Keep the results column full width when the desktop filter rail is hidden. */
@media (min-width: 1024px) {
  body #page-jobs.discovery-filters-collapsed .jobs-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* The search row stays open, with glass limited to the two fields. */
body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
  max-width: 940px !important;
  padding: 0 !important;
  gap: 8px !important;
  height: auto !important;
  min-height: 0 !important;
}
body #page-jobs #jobsSearchWrap {
  --jobs-field-glass: linear-gradient(155deg, rgba(187, 235, 234, .17), rgba(129, 171, 182, .06));
  --jobs-field-rim: rgba(201, 237, 236, .28);
  --jobs-field-reflection: rgba(255, 255, 255, .12);
  --jobs-field-focus: #70eee7;
}
body.light-mode #page-jobs #jobsSearchWrap {
  --jobs-field-glass: linear-gradient(155deg, rgba(255, 255, 255, .9), rgba(230, 245, 240, .48));
  --jobs-field-rim: rgba(81, 123, 117, .36);
  --jobs-field-reflection: rgba(255, 255, 255, .9);
  --jobs-field-focus: #087d76;
}
body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap .search-field {
  height: 48px;
  min-height: 48px;
  background: var(--jobs-field-glass) !important;
  border: 1px solid var(--jobs-field-rim) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 var(--jobs-field-reflection) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap .search-field:focus-within {
  outline: 2px solid var(--jobs-field-focus) !important;
  outline-offset: -2px;
}
body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap .jobs-search-btn {
  height: 48px;
  min-height: 48px !important;
  margin: 0;
}

body:not(.light-mode) #page-jobs .jobs-bar-left #resultsCount:not(:empty) {
  color: #f0fffd !important;
  -webkit-text-fill-color: currentColor;
  background: transparent;
  border: 0;
  padding: 0;
  font-variant-numeric: tabular-nums;
}
body:not(.light-mode) #jobCountBadge {
  color: #edfffc !important;
  background: #275356 !important;
}

/* Compact, source-backed facts on the existing card footprint. */
body #page-jobs #jobsGrid#jobsGrid .job-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body:not(.light-mode) #page-jobs #jobsGrid#jobsGrid .job-card {
  background: radial-gradient(ellipse at 0 0, rgba(106, 190, 186, .19), transparent 54%),
    linear-gradient(138deg, rgba(42, 73, 80, .68), rgba(19, 39, 46, .82) 59%, rgba(53, 57, 55, .75)) !important;
  box-shadow: inset 0 1px 0 rgba(201, 255, 250, .16), 0 8px 22px rgba(0, 0, 0, .12) !important;
}
body.light-mode #page-jobs #jobsGrid#jobsGrid .job-card {
  background: radial-gradient(ellipse at 0 0, rgba(255, 255, 255, .94), transparent 64%),
    linear-gradient(145deg, rgba(251, 253, 251, .83), rgba(226, 239, 234, .56)) !important;
  border-color: #c9d9d2 !important;
}
body #page-jobs #jobsGrid#jobsGrid .job-card-info-grid,
body #page-jobs #jobsGrid#jobsGrid:not(.list) .job-card-info-grid {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px !important;
  margin-top: 14px;
  padding-top: 0;
  border: 0;
}
body #page-jobs #jobsGrid#jobsGrid .job-card-info-group,
body #page-jobs #jobsGrid#jobsGrid:not(.list) .job-card-info-group {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
}
body #page-jobs #jobsGrid#jobsGrid .job-card-info-label { display: none; }
body #page-jobs #jobsGrid#jobsGrid .job-card-info-values { display: flex; flex-wrap: wrap; min-width: 0; }
body #page-jobs #jobsGrid#jobsGrid .job-card-info-values :is(.card-pill.exp, .card-pill.sal, .job-card-data-chip) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 9px !important;
  border: 1px solid rgba(137, 186, 208, .34) !important;
  border-radius: 8px;
  background: rgba(67, 98, 111, .38) !important;
  color: #e7f6fc !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}
body #page-jobs #jobsGrid#jobsGrid .job-card-info-values .job-card-data-chip.job-card-qualification-chip {
  background: rgba(133, 76, 50, .42) !important;
  border-color: rgba(255, 159, 116, .46) !important;
  color: #fff2ea !important;
}
body #page-jobs #jobsGrid#jobsGrid .job-card-info-values .job-card-data-chip.job-card-specialization-chip {
  background: rgba(30, 98, 93, .43) !important;
  border-color: rgba(90, 209, 198, .36) !important;
  color: #e1fffa !important;
}
body.light-mode #page-jobs #jobsGrid#jobsGrid .job-card-info-values :is(.card-pill.exp, .card-pill.sal, .job-card-data-chip) {
  background: #e4eff4 !important;
  border-color: #a8c8d6 !important;
  color: #244752 !important;
}
body.light-mode #page-jobs #jobsGrid#jobsGrid .job-card-info-values .job-card-data-chip.job-card-qualification-chip {
  background: #f9ebe1 !important;
  border-color: #e2b39e !important;
  color: #733820 !important;
}
body.light-mode #page-jobs #jobsGrid#jobsGrid .job-card-info-values .job-card-data-chip.job-card-specialization-chip {
  background: #ddf3ed !important;
  border-color: #a3d2c7 !important;
  color: #15574c !important;
}
body #page-jobs #jobsGrid#jobsGrid .job-card-fact-icon,
body #page-jobs #jobsGrid#jobsGrid .job-card-info-values .pill-svg-icon { width: 14px; height: 14px; flex: none; }
body #page-jobs #jobsGrid#jobsGrid .job-loc-text { display: inline-block; max-width: min(100%, 40ch); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
body #page-jobs #jobsGrid#jobsGrid .job-card-top-actions { flex-wrap: wrap; }
body.light-mode #page-jobs #jobsGrid#jobsGrid .job-card-work-mode { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; background: #e1edf2; color: #244752; font-size: 12px; }
body.light-mode #page-jobs #jobsGrid#jobsGrid .job-card-work-mode-icon { width: 14px; height: 14px; }

body #page-jobs #jobsGrid#jobsGrid .job-card-footer {
  margin-top: 16px !important;
}

body.discovery-preview-active #jobDiscoveryDetail .sidepane-loc-sub {
  display: inline-block;
  max-width: min(100%, 36ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* Homepage discovery rails */
body #page-home .home-discovery-section {
  max-width: 1200px;
  margin: 56px auto;
  min-width: 0;
}
body #page-home .home-discovery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
body #page-home .home-discovery-heading h2 {
  margin: 0;
  color: var(--home-reference-ink);
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: -.03em;
}
body #page-home .home-discovery-heading p { margin: 6px 0 0; color: var(--home-reference-muted); }
body #page-home .home-discovery-actions { display: flex; align-items: center; gap: 8px; }
body #page-home .home-discovery-actions button {
  color: var(--home-reference-accent);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
body #page-home .home-discovery-actions .home-rail-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--home-reference-line);
  border-radius: 50%;
  font-size: 22px;
}
body #page-home .home-specialisation-rail,
body #page-home .home-industry-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  padding: 2px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--home-reference-accent) transparent;
}
body #page-home .home-specialisation-card {
  flex: 0 0 clamp(235px, 25vw, 300px);
  min-height: 205px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(160, 202, 198, .3);
  border-radius: 12px;
  background-color: #11262b;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
}
body #page-home .home-specialisation-name { font-size: 16px; font-weight: 700; line-height: 1.35; }
body #page-home .home-specialisation-card > span:last-child { color: #ffad71; font-size: 20px; }
body #page-home .home-specialisation-audit { flex-direction: column; align-items: start; justify-content: end; }
body #page-home .home-specialisation-choices { display: flex; gap: 10px; }
body #page-home .home-specialisation-choices button {
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 6px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(4, 20, 24, .75);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
body #page-home :is(.home-specialisation-card, .home-specialisation-choices button, .home-industry-rail a, .home-discovery-actions button):focus-visible {
  outline: 2px solid var(--home-reference-accent);
  outline-offset: 3px;
}
@media (min-width: 1600px) {
  body #page-home .home-discovery-section { max-width: 1600px; }
}
@media (max-width: 767px) {
  body #page-home .home-discovery-section { margin: 40px 0; }
  body #page-home .home-specialisation-card { flex-basis: 245px; min-height: 180px; }
}

/* Dedicated images for each specialisation, in the same visual palette. */
body #page-home .home-specialisation-card {
  background-image: linear-gradient(180deg, rgba(4,20,24,.03) 20%, rgba(4,20,24,.94)), url('/img/home-specialisation-scenes.webp');
  background-size: 100% 100%, 400% 200%;
  background-position: center, var(--scene-x, 0%) var(--scene-y, 0%);
}
body #page-home .home-specialisation-card:nth-child(2) { --scene-x: 33.333%; }
body #page-home .home-specialisation-card:nth-child(3) { --scene-x: 66.666%; }
body #page-home .home-specialisation-card:nth-child(4) { --scene-x: 100%; }
body #page-home .home-specialisation-card:nth-child(5) { --scene-x: 0%; --scene-y: 100%; }
body #page-home .home-specialisation-card:nth-child(6) { --scene-x: 33.333%; --scene-y: 100%; }
body #page-home .home-specialisation-card:nth-child(7) { --scene-x: 66.666%; --scene-y: 100%; }
body #page-home .home-specialisation-card:nth-child(8) { --scene-x: 100%; --scene-y: 100%; }

/* Employer logos stay within their existing tiles while gaining presence. */
body #page-home #partnerRail .partner-logo-item { min-width: 150px; }
body #page-home #partnerRail .partner-logo-item img {
  width: 66px !important;
  height: 66px !important;
  object-fit: contain;
}
/* The badge remains legible on every header background. */
body:not(.light-mode) .header #jobCountBadge,
body:not(.light-mode):has(#page-jobs.active) .header #jobCountBadge {
  background: #164d4a !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid #72bdb2;
}
body.light-mode .header #jobCountBadge {
  background: #17564d !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body .header #jobCountBadge::after { display: none; }

/* More legible labels and distinct industry navigation. */
body #page-home .home-specialisation-name {
  font-size: clamp(18px, 1.3vw, 20px);
  line-height: 1.3;
}
body #page-home .home-industry-rail a {
  flex: 0 0 215px;
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid #694d3c;
  border-radius: 10px;
  background: linear-gradient(145deg, #35312b, #202b2d);
  color: #faf3e9;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  scroll-snap-align: start;
}
body #page-home .home-industry-rail a:hover { border-color: #d9976f; }
body #page-home .home-industry-rail a > span:last-child { margin-left: auto; color: #efb18c; }
body #page-home .home-industry-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  color: #ffc7a3;
  background: #574032;
}
body #page-home .home-industry-svg { width: 20px; height: 20px; }
body.light-mode #page-home .home-industry-rail a {
  background: linear-gradient(145deg, #fcf8f2, #f3e9df);
  border-color: #e0cbb9;
  color: #49392d;
}
body.light-mode #page-home .home-industry-rail a:hover { border-color: #a45c38; }
body.light-mode #page-home .home-industry-rail a > span:last-child { color: #834628; }
body.light-mode #page-home .home-industry-icon { color: #834628; background: #f2dfcf; }

/* Translucent, individually framed search fields. */
body:not(.light-mode) #page-jobs #jobsSearchWrap {
  --jobs-field-glass: linear-gradient(135deg, rgba(133, 213, 213, .3), rgba(54, 104, 116, .14) 55%, rgba(194, 225, 222, .13));
  --jobs-field-rim: rgba(192, 242, 237, .48);
  --jobs-field-reflection: rgba(255, 255, 255, .26);
}
body.light-mode #page-jobs #jobsSearchWrap {
  --jobs-field-glass: linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(210, 241, 234, .48));
  --jobs-field-rim: rgba(84, 149, 139, .48);
}
body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap .search-field {
  box-shadow: inset 0 1px 0 var(--jobs-field-reflection), 0 6px 18px rgba(7, 30, 35, .14) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
}

/* Make search text and placeholders readable over the glass surface. */
body:not(.light-mode) :is(#page-home .hero-search, #page-jobs #jobsSearchWrap) input {
  color: #f6fffd !important;
  -webkit-text-fill-color: #f6fffd;
}
body:not(.light-mode) :is(#page-home .hero-search, #page-jobs #jobsSearchWrap) input::placeholder {
  color: #d2e5e2 !important;
  -webkit-text-fill-color: #d2e5e2;
  opacity: 1;
}
body.light-mode :is(#page-home .hero-search, #page-jobs #jobsSearchWrap) input {
  color: #1c3a34 !important;
  -webkit-text-fill-color: #1c3a34;
}
body.light-mode :is(#page-home .hero-search, #page-jobs #jobsSearchWrap) input::placeholder {
  color: #49675e !important;
  -webkit-text-fill-color: #49675e;
  opacity: 1;
}
/* Homepage employer rail uses original logos without added white tiles. */
body #page-home #partnerRail .partner-logo-item {
  min-width: 170px !important;
  max-width: 180px !important;
  min-height: 140px;
  padding: 14px 10px !important;
}
body #page-home #partnerRail .partner-logo-item img {
  width: 122px !important;
  height: 78px !important;
  background: transparent !important;
  padding: 0;
}
body.light-mode #page-home #partnerRail img[data-logo-tone="light"] { filter: brightness(.3); }
body:not(.light-mode) #page-home #partnerRail img[data-logo-tone="dark"] { filter: brightness(0) invert(.9); }
body:not(.light-mode) #page-home #partnerRail img[data-logo-tone="muted"] {
  filter: brightness(1.4) drop-shadow(0 0 .55px rgba(220, 236, 245, .58));
}
body #page-home #partnerRail .partner-role-badge.has-jobs { color: var(--home-reference-accent) !important; }
body #page-home #partnerRail .partner-logo-item > span {
  font-size: 14px;
  line-height: 1.35;
}
@media (max-width: 767px) {
  body #page-home .home-industry-rail a { flex-basis: 190px; }
}

/* One palette for navigation, filters and reading surfaces in either theme. */
body {
  --dahapat-panel: #18282d;
  --dahapat-soft: #20363b;
  --dahapat-ink: #f2f7f6;
  --dahapat-muted: #b8cccd;
  --dahapat-line: #39545a;
  --dahapat-accent: #91e7dc;
  --dahapat-active: #214a49;
  --dahapat-footer: #101e23;
}
body.light-mode {
  --dahapat-panel: #fcfcf8;
  --dahapat-soft: #edf3ee;
  --dahapat-ink: #172e2a;
  --dahapat-muted: #4b635b;
  --dahapat-line: #cbd9d1;
  --dahapat-accent: #12675f;
  --dahapat-active: #d9eee7;
  --dahapat-footer: #edf0e9;
}
body.light-mode:has(#page-jobs.active) { background-color: #f5f6f1 !important; }
body.light-mode #page-jobs #catStrip.career-nav-container {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.light-mode #page-home {
  --home-paper: #fcfcf8;
  --home-reference-line: #d6e2d9;
  --home-reference-ink: #19322e;
  --home-reference-muted: #496359;
  background-color: #f5f6f1;
}
body.light-mode #page-jobs #catStrip .career-title-accent {
  color: #ac4c26 !important;
  -webkit-text-fill-color: #ac4c26 !important;
}
body.light-mode #page-jobs #catStrip :is(.profession-picker,.career-stage-picker)>summary {
  background: var(--dahapat-panel) !important;
  border-color: var(--dahapat-line) !important;
  color: var(--dahapat-ink) !important;
}
body #page-jobs :is(#catStrip,#filterSidebar) .semi-exp-sub-bar {
  grid-column: 1 / -1;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--dahapat-line);
  border-radius: 11px;
  background: var(--dahapat-panel);
  box-shadow: none;
  backdrop-filter: none;
  animation: none;
}
body #page-jobs .semi-exp-sub-bar .sub-bar-lbl {
  padding: 0 8px;
  color: var(--dahapat-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
body #page-jobs .semi-exp-chip {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  padding: 6px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--dahapat-ink);
  line-height: 1.25;
  white-space: normal;
}
body #page-jobs .semi-exp-chip:hover { background: var(--dahapat-soft); }
body #page-jobs .semi-exp-chip[aria-pressed="true"] {
  background: var(--dahapat-active);
  color: var(--dahapat-accent);
  box-shadow: none;
}
body #page-jobs .semi-exp-chip:focus-visible { outline: 2px solid var(--dahapat-accent); }
body #page-jobs #careerStageCurrentLabel { min-width: 0; overflow-wrap: anywhere; }
body .footer.footer { border-color: var(--dahapat-line); background: var(--dahapat-footer) !important; color: var(--dahapat-ink); backdrop-filter: none; }
body .footer .footer-grid {
  max-width: 1200px;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 16px 32px;
  padding: 24px 20px 14px;
}
body .footer .footer-col { gap: 2px; }
body .footer .footer-col strong { color: var(--dahapat-ink); margin: 0 0 4px; font-size: 13px; letter-spacing: 0; text-transform: none; }
body .footer .footer-col :is(a,button) {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dahapat-muted);
  font: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
body .footer .footer-col :is(a,button):is(:hover,:focus-visible) { color: var(--dahapat-accent); text-decoration: underline; }
body .footer .footer-desc { color: var(--dahapat-muted); font-size: 12px; }
body .footer .footer-brand-logo { width: 118px; height: auto; }
body .footer .footer-bottom {
  max-width: 1160px;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 10px 20px 12px;
  border-color: var(--dahapat-line);
  color: var(--dahapat-muted);
  font-size: 11px;
}
@media (max-width: 767px) {
  body #page-jobs .semi-exp-sub-bar .sub-bar-lbl { flex: 0 0 100%; padding-top: 5px; }
  body #page-jobs .semi-exp-chip { min-height: 44px; }
  body .footer .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding: 17px 16px 10px; }
  body .footer .footer-brand-col { grid-column: 1 / -1; display: flex; align-items: center; flex-direction: row; gap: 10px; }
  body .footer .footer-col :is(a,button) { min-height: 40px; font-size: 12px; }
  body .footer .footer-bottom { padding-bottom: 16px; }
  body:not(.light-mode) .mobile-bottom-nav { background: rgba(15, 31, 36, .96); border-color: var(--dahapat-line); }
  body .mobile-bottom-nav .mb-nav-btn { min-height: 44px; min-width: 44px; }
}
@media (display-mode: standalone) {
  body { padding-top: env(safe-area-inset-top); }
  body:has(#page-home.active) .header { top: calc(8px + env(safe-area-inset-top)) !important; }
  body:has(#page-home.active,#page-jobs.active) .footer { padding-bottom: env(safe-area-inset-bottom); }
}
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 190ms; }
}

.jobs-phone-title,
.jobs-search-submit-icon,
#professionPhoneLabel,
.job-preview-phone-label { display: none; }

@media (max-width: 767px) {
  body:has(#page-jobs.active) #page-jobs #catStrip.career-nav-container {
    grid-template-areas: "intro intro" "search search" "profession stage";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 15px 14px 8px !important;
    margin-block: 0 !important;
    gap: 8px !important;
  }
  body #page-jobs #catStrip .jobs-intro { text-align: left; }
  body:has(#page-jobs.active) #page-jobs #catStrip .jobs-intro h1 {
    margin: 0;
    font-size: 23px !important;
    line-height: 1.15;
    letter-spacing: -.025em;
  }
  body #page-jobs #catStrip :is(.jobs-desktop-title,.jobs-intro-hint) { display: none; }
  body #page-jobs .jobs-phone-title { display: inline; }
  body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 44px;
    gap: 6px !important;
    min-width: 0;
  }
  body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap .search-field:first-child { grid-column: 1; }
  body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap .search-field-loc { grid-column: 2; }
  body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap .search-field {
    min-width: 0;
    padding-inline: 8px !important;
    gap: 2px;
  }
  body #page-jobs #jobsSearchWrap :is(.search-icon,.jobs-search-geo) { display: none !important; }
  body #page-jobs #jobsSearchWrap input { font-size: 16px; }
  body #page-jobs #jobsSearchWrap input::placeholder { font-size: 13px; }
  body #page-jobs.active #catStrip #jobsSearchWrap.jobs-search-wrap .jobs-search-btn {
    grid-column: 3;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
  }
  body #page-jobs #jobsSearchWrap .jobs-search-btn > span { display: none; }
  body #page-jobs #jobsSearchWrap .jobs-search-submit-icon { display: block; }
  body #page-jobs #jobsSearchWrap :is(#filterSearchOptions,#filterLocationOptions) {
    width: min(240px, 64vw);
    max-width: none;
  }
  body #page-jobs #jobsSearchWrap #filterLocationOptions { left: auto; right: 0; }
  body:has(#page-jobs.active) #page-jobs #catStrip :is(.profession-select-wrap,.career-levels-wrap) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    padding: 0;
    gap: 4px;
    border: 0;
    align-self: start;
  }
  body:has(#page-jobs.active) #page-jobs #catStrip :is(.profession-picker,.career-stage-picker) { min-width: 0; width: 100%; }
  body:has(#page-jobs.active) #page-jobs #catStrip :is(.profession-picker,.career-stage-picker)>summary {
    width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: 44px !important;
    padding: 6px 9px !important;
    gap: 6px;
    border-radius: 9px !important;
    font-size: 13px;
    line-height: 1.2;
  }
  body #page-jobs #catStrip #professionCurrentLabel { display: none; }
  body #page-jobs #catStrip #professionPhoneLabel { display: inline; }
  body:has(#page-jobs.active) #page-jobs #catStrip .profession-field-label,
  body:has(#page-jobs.active) #page-jobs #catStrip #currentCourseLabel::after {
    font-size: 11px !important;
    letter-spacing: 0;
  }
  body #page-jobs #catStrip :is(#professionMenu,#courseLevelsRail) {
    width: min(285px, calc(100vw - 42px));
    max-width: none;
  }
  body #page-jobs #catStrip #courseLevelsRail { left: auto; right: 0; }
  body #page-jobs #catStrip :is(.profession-select-wrap,.career-levels-wrap):has(details[open]) { z-index: 85; }
  body #page-jobs.active .jobs-results-toolbar {
    grid-template-areas: "results controls";
    gap: 8px;
    padding: 1px 0 8px;
    margin-bottom: 7px;
  }
  body #page-jobs.active .jobs-results-toolbar #resultsCount {
    font-size: 13px;
    font-weight: 650;
  }
  body #page-jobs.active .jobs-results-toolbar :is(.mobile-filter-trigger-btn,#mobileFilterSort) {
    min-height: 44px;
    border: 1px solid var(--dahapat-line) !important;
    background: var(--dahapat-panel) !important;
    color: var(--dahapat-ink) !important;
  }
  body #page-jobs #filterSidebar .jobs-phone-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--browse-line);
  }
  body #page-jobs #filterSidebar #semiExpSubBar { width: 100%; }
  body #page-jobs #filterSidebar #semiExpSubBar .semi-exp-chip { flex: 1 1 0; }
  body #page-jobs #filterSidebar .mobile-filter-footer {
    border-top: 1px solid var(--dahapat-line);
    background: var(--dahapat-panel) !important;
    box-shadow: none;
  }
  body #page-jobs #filterSidebar .jobs-quick-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
  }
  body #page-jobs #filterSidebar .jobs-quick-filters > button {
    min-width: 0;
    min-height: 44px;
    padding: 5px 8px !important;
  }
  body #page-jobs #filterSidebar .jobs-quick-filters > button span {
    overflow: visible;
    white-space: normal;
    text-align: center;
  }
  body #page-jobs #filterSidebar .active-filters { margin: 0; padding: 0; }
  body #page-jobs #filterSidebar .active-filters:empty,
  body #page-jobs #filterSidebar .active-filters .af-clear-btn { display: none !important; }
  body #page-jobs #jobsGrid#jobsGrid .job-card-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: stretch;
    gap: 8px;
  }
  body #page-jobs #jobsGrid#jobsGrid .job-card-footer .job-actions {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
  }
  body #page-jobs #jobsGrid#jobsGrid .job-actions :is(.bkmk-btn,.discovery-share) {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 !important;
  }
  body #page-jobs #jobsGrid#jobsGrid .job-actions :is(.ap-btn,.view-detail-btn) {
    flex: 1 1 auto !important;
    min-height: 44px;
    padding-inline: 8px !important;
    white-space: normal;
  }
  body.light-mode #page-jobs #jobsGrid#jobsGrid .job-actions :is(.discovery-share,.view-detail-btn,.bkmk-btn:not(.saved)) {
    border: 1px solid var(--dahapat-line) !important;
    color: var(--dahapat-ink) !important;
  }
  body.light-mode #page-jobs #jobsGrid#jobsGrid .job-actions .ap-btn:not(.applied) { color: #fff !important; }
  body #page-jobs #jobsGrid .job-preview-full-label { display: none; }
  body #page-jobs #jobsGrid .job-preview-phone-label { display: inline; }
}
@media (min-width: 768px) and (max-width: 920px) {
  body:has(#page-jobs.active) #page-jobs #catStrip :is(.career-levels-wrap,.profession-select-wrap) {
    justify-self: stretch;
    padding-inline: 0;
    border: 0;
    gap: 8px;
  }
  body:has(#page-jobs.active) #page-jobs #catStrip :is(.career-stage-picker,.profession-picker) {
    flex: 1 1 0;
    min-width: 0;
  }
  body:has(#page-jobs.active) #page-jobs #catStrip :is(.career-stage-picker,.profession-picker)>summary {
    min-width: 0;
    height: auto !important;
    gap: 8px;
    font-size: 13px;
    padding-inline: 8px;
  }
}
