@font-face {
  font-family: "Poppins";
  src: url("../payroll/fonts/Poppins_Regular.29cc97af5403.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --navy: #07112c;
  --blue: #14338c;
  --blue-bright: #265ee8;
  --ink: #10182c;
  --muted: #596377;
  --line: #dfe4ed;
  --soft: #f1f4f8;
  --canvas: #f7f8fb;
  --white: #fff;
  --magenta: #bd3fb2;
  --green: #397e28;
  --flux: #087f69;
  --stay: #217f75;
  --orange: #bb541a;
  --focus: #9a2f90;
  --shadow: 0 18px 48px rgba(7, 17, 44, .1);
  --shell: min(1180px, calc(100vw - 2rem));
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Poppins", "Aptos", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-180%); padding: .75rem 1rem; color: #fff; background: var(--navy); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; color: var(--navy); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(2.55rem, 10vw, 6rem); }
h2 { font-size: clamp(2rem, 7vw, 3.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 4.6rem; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .48rem; text-decoration: none; white-space: nowrap; }
.brand-mark { display: block; width: auto; height: 2rem; aspect-ratio: 480 / 342; object-fit: contain; flex-shrink: 0; }
.brand-inverse .brand-mark { box-sizing: content-box; padding: .3rem .4rem; border-radius: .4rem; background: #fff; }
.brand-name { color: var(--navy); font-size: .78rem; font-weight: 900; letter-spacing: -.03em; }
.brand-product { padding-left: .5rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .73rem; }
.desktop-nav, .header-inner .header-action { display: none; }
.mobile-nav { position: relative; }
.language-switch { margin-left: auto; }
.language-switch button { min-width: 2.6rem; min-height: 2.6rem; padding: .45rem .55rem; border: 1px solid var(--line); color: var(--navy); background: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; }
.language-switch button:hover { border-color: var(--blue); color: var(--blue); }
.mobile-nav summary { min-width: 4.4rem; padding: .65rem .8rem; border: 1px solid var(--line); color: var(--navy); font-size: .82rem; font-weight: 700; list-style: none; text-align: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + .7rem); display: grid; width: min(20rem, calc(100vw - 2rem)); padding: .75rem; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.mobile-nav nav a { padding: .8rem; text-decoration: none; }

.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .7rem 1.05rem; border: 1px solid transparent; font-size: .82rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--navy); }
.button-dark { color: #fff; background: var(--navy); }
.button-secondary { border-color: var(--blue); color: var(--blue); background: transparent; }
.button-quiet { border-color: var(--line); color: var(--navy); background: #fff; }
.button-light { color: var(--navy); background: #fff; }
.button-disabled { color: #70798a; background: #e6e9ef; cursor: not-allowed; }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.text-link { color: var(--blue); font-size: .83rem; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link-light { color: #fff; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.hero-grid { display: grid; gap: 2rem; padding-block: clamp(4rem, 10vw, 8rem); }
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 44rem; margin: 1.5rem 0 2rem; color: #3d4658; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-panel { align-self: end; min-height: 18rem; padding: 2rem; border: 1px solid var(--line); background: var(--canvas); box-shadow: var(--shadow); }
.hero-panel strong { display: block; margin-block: 1rem; color: var(--navy); font-size: clamp(4rem, 18vw, 8rem); line-height: .85; letter-spacing: -.08em; }
.panel-kicker { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.brand-lines { display: flex; gap: .5rem; margin-top: 2rem; }
.brand-lines i { display: block; width: 3rem; height: 3px; background: var(--blue-bright); }
.brand-lines i:nth-child(2) { background: var(--magenta); }
.brand-lines i:nth-child(3) { background: var(--green); }

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-tinted { border-block: 1px solid var(--line); background: var(--soft); }
.split-heading, .page-hero-grid, .two-column-content { display: grid; gap: 1.5rem; }
.split-heading > p, .page-hero-grid > p { max-width: 38rem; color: var(--muted); font-size: 1.05rem; }
.section-heading { margin-bottom: 2rem; }
.inline-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.venture-grid, .job-grid, .content-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.venture-card { position: relative; min-height: 22rem; padding: 1.5rem; border: 1px solid var(--line); color: var(--ink); background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.venture-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.venture-card::after { position: absolute; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; height: 4px; content: ""; background: var(--blue); }
.venture-card[data-venture="fluxops"]::after { background: var(--flux); }
.venture-card[data-venture="findmystay"]::after { background: linear-gradient(90deg, var(--stay) 70%, var(--orange) 70%); }
.venture-card[data-venture="thevipgroup"]::after { background: linear-gradient(90deg, var(--blue) 33%, var(--magenta) 33% 66%, var(--green) 66%); }
.venture-card p { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.venture-card h3 { margin: 3rem 0 .6rem; font-size: 2rem; }
.venture-card strong { display: block; max-width: 18rem; margin-bottom: 3rem; font-size: 1.05rem; }
.venture-index { color: var(--muted); font-size: .72rem; }

.job-card { display: flex; min-height: 24rem; flex-direction: column; padding: 1.4rem; border: 1px solid var(--line); border-top: 4px solid var(--blue); background: #fff; }
.job-card[data-venture="fluxops"] { border-top-color: var(--flux); }
.job-card[data-venture="findmystay"] { border-top-color: var(--stay); }
.job-card[data-venture="thevipgroup"] { border-top-color: var(--magenta); }
.job-card-topline, .job-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.venture-label { color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.status { padding: .28rem .5rem; border: 1px solid var(--line); color: var(--muted); background: var(--canvas); font-size: .67rem; font-weight: 700; }
.status-open { border-color: #a7d6c3; color: #075f4f; background: #eefaf5; }
.status-upcoming { border-color: #b8c9f5; color: var(--blue); background: #eff4ff; }
.job-card h3 { margin: 2rem 0 .8rem; font-size: 1.65rem; }
.job-card h3 a { text-decoration: none; }
.job-card h3 a::after { position: absolute; inset: 0; content: ""; }
.job-card { position: relative; }
.job-card .text-link { position: relative; z-index: 1; }
.job-summary { color: var(--muted); font-size: .92rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.job-meta li { padding: .35rem .55rem; border: 1px solid var(--line); color: #465064; background: var(--canvas); font-size: .7rem; }
.job-card-footer { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.empty-state { grid-column: 1 / -1; padding: 3rem; border: 1px dashed #aeb7c6; text-align: center; background: #fff; }

.steps-grid { display: grid; width: var(--shell); margin: 3rem auto 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.steps-grid li, .content-grid article { padding: 1.5rem; border-bottom: 1px solid var(--line); background: #fff; }
.steps-grid li:last-child { border-bottom: 0; }
.steps-grid span, .content-grid span { color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.steps-grid h3, .content-grid h3 { margin: 2rem 0 .7rem; }
.steps-grid p, .content-grid p { color: var(--muted); font-size: .87rem; }
.cta-section { padding-top: 0; }
.cta-panel { padding: clamp(2rem, 7vw, 4.5rem); color: #fff; background: var(--navy); }
.cta-panel .eyebrow, .cta-panel h2 { color: #fff; }
.cta-panel h2 { max-width: 50rem; }

.page-hero { border-bottom: 1px solid var(--line); background: #fff; }
.page-hero-grid { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.page-hero h1 { margin-bottom: 0; font-size: clamp(2.5rem, 8vw, 5rem); }
.page-hero[data-venture="fluxops"] { background: linear-gradient(125deg, #fff 40%, #e9f8f5); }
.page-hero[data-venture="findmystay"] { background: linear-gradient(125deg, #fff 40%, #edf8f5 85%, #fff3e8); }
.page-hero[data-venture="thevipgroup"] { background: linear-gradient(125deg, #fff 50%, #f3f4ff); }

.filters { display: grid; gap: 1rem; padding: 1rem; border: 1px solid var(--line); background: #fff; }
.filters label { display: block; margin-bottom: .35rem; color: #353f53; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.filters input, .filters select { width: 100%; min-height: 3rem; padding: .65rem .75rem; border: 1px solid #b8c0ce; border-radius: 0; color: var(--ink); background: #fff; }
.filters input:hover, .filters select:hover { border-color: var(--blue); }
.filter-actions { display: flex; gap: .5rem; align-items: end; }
.results-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .7rem; margin: 3rem 0 1rem; }
.results-heading h2 { margin: 0; font-size: 1.8rem; }
.results-heading p { color: var(--muted); font-size: .78rem; }

.role-hero { border-bottom: 1px solid var(--line); background: #fff; }
.role-hero[data-venture="fluxops"] { background: linear-gradient(125deg, #fff 55%, #e9f8f5); }
.role-hero[data-venture="findmystay"] { background: linear-gradient(125deg, #fff 55%, #edf8f5 88%, #fff2e5); }
.role-hero-grid { display: grid; gap: 2rem; padding-block: clamp(3rem, 8vw, 6rem); }
.role-hero h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); }
.role-lead { max-width: 47rem; color: #3d4658; font-size: 1.06rem; }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--blue); font-size: .78rem; font-weight: 700; text-decoration: none; }
.role-summary { padding: 1.5rem; border: 1px solid var(--line); background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.role-summary dl { margin: 0 0 1.5rem; }
.role-summary dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; padding-block: .72rem; border-bottom: 1px solid var(--line); }
.role-summary dt { color: var(--muted); font-size: .72rem; }
.role-summary dd { margin: 0; font-size: .82rem; font-weight: 700; text-align: right; }
.microcopy { margin: .8rem 0 0; color: var(--muted); font-size: .7rem; text-align: center; }
.role-layout { display: grid; gap: 3rem; padding-block: clamp(3.5rem, 8vw, 6rem); }
.role-content > section { padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.role-content > section:first-child { padding-top: 0; }
.role-content h2, .role-aside h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
.prose { color: #3e485a; }
.prose p { white-space: pre-line; }
.skills-section { display: grid; gap: 2rem; }
.skill-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.skill-list li { padding: .55rem .7rem; border: 1px solid var(--line); background: #fff; font-size: .78rem; }
.fact-grid { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.fact-grid > div { padding: 1rem; background: #fff; }
.fact-grid span { display: block; color: var(--muted); font-size: .7rem; }
.fact-grid strong { display: block; margin-top: .4rem; color: var(--navy); font-size: .84rem; }
.role-aside { display: grid; align-content: start; gap: 1rem; }
.aside-card { padding: 1.5rem; border: 1px solid var(--line); background: #fff; }
.aside-card-accent { border-top: 4px solid var(--blue); }
.notice { margin-bottom: 1rem; padding: 1rem; border-left: 4px solid var(--orange); color: #6b3214; background: #fff4eb; }

.content-grid article { border: 1px solid var(--line); }
.reading-width { max-width: 820px; }
.reading-width > p { color: #465064; }
.two-column-content > div:last-child { color: #465064; }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--blue); font-size: .72rem; font-weight: 800; }
.process-list h2 { margin-bottom: .5rem; font-size: 1.7rem; }
.process-list p { color: var(--muted); }
.faq-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.2rem 2.5rem 1.2rem 0; color: var(--navy); font-weight: 800; cursor: pointer; }
.faq-list details p { padding: 0 1rem 1.2rem 0; color: var(--muted); }
.legal-layout { display: grid; gap: 3rem; }
.legal-layout > aside { align-self: start; padding: 1.5rem; border: 1px solid var(--line); background: #fff; }
.legal-layout > aside h2 { font-size: 1.6rem; }
.legal-copy { max-width: 760px; }
.legal-copy section { margin-bottom: 2.5rem; }
.legal-copy h2 { font-size: 1.65rem; }
.legal-copy p { color: #465064; }
.handoff-section { min-height: 65vh; display: grid; place-items: center; }
.handoff-card { max-width: 780px; padding: clamp(2rem, 7vw, 4rem); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.handoff-card h1 { font-size: clamp(2.4rem, 8vw, 4.6rem); }
.handoff-card > p:not(.eyebrow) { color: var(--muted); }

.page-account { background: #f3f5f9; }
.account-section { min-height: 70vh; }
.account-layout, .profile-layout { display: grid; gap: 2rem; align-items: start; }
.account-intro { max-width: 38rem; }
.account-intro h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); }
.account-intro > p { color: var(--muted); font-size: 1.05rem; }
.account-card, .narrow-card { padding: clamp(1.4rem, 5vw, 2.5rem); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.account-card { width: 100%; max-width: 36rem; justify-self: end; }
.account-card h2, .narrow-card h1 { font-size: clamp(2rem, 7vw, 3rem); }
.narrow-card { max-width: 46rem; }
.check-list { display: grid; gap: .65rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.7rem; color: #3e485a; }
.check-list li::before { position: absolute; left: 0; color: var(--green); font-weight: 900; content: "✓"; }
.form-grid-two { display: grid; gap: 1rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .4rem; color: #303a4e; font-size: .76rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.2rem; padding: .75rem .8rem; border: 1px solid #aeb7c6; border-radius: 0; color: var(--ink); background: #fff; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue); }
.field-help { margin: .35rem 0 0; color: var(--muted); font-size: .7rem; }
.choice-field { display: grid; grid-template-columns: 1.2rem 1fr; gap: .65rem; margin: 1rem 0; align-items: start; }
.choice-field input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--blue); }
.choice-field label { color: #3c4658; font-size: .78rem; }
.choice-field .errorlist { grid-column: 1 / -1; }
.errorlist { margin: .35rem 0 0; padding-left: 1.2rem; color: #9b231b; font-size: .75rem; }
.form-errors { margin-bottom: 1rem; padding: .9rem; border-left: 4px solid #b42318; color: #7a1b15; background: #fff0ee; }
.form-errors .errorlist { margin: 0; }
.account-switch { margin: 1.2rem 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.account-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 1.2rem; font-size: .78rem; }
.account-card hr { margin: 1.8rem 0; border: 0; border-top: 1px solid var(--line); }
.account-logout { margin-top: 1rem; }
.status-panel { display: grid; gap: .2rem; margin: 2rem 0; padding: 1rem; border: 1px solid var(--line); background: #fff; }
.status-panel strong { color: var(--navy); }
.status-panel span { color: var(--muted); font-size: .78rem; }
.status-panel-success { border-left: 4px solid var(--green); }
.status-panel-review { border-left: 4px solid var(--orange); }
.profile-facts { margin: 2rem 0 0; }
.profile-facts div { padding: 1rem 0; border-top: 1px solid var(--line); }
.profile-facts dt { color: var(--muted); font-size: .7rem; }
.profile-facts dd { margin: .25rem 0 0; color: var(--navy); font-size: .84rem; font-weight: 700; }

.portal-section { min-height: 70vh; background: #f3f5f9; }
.portal-heading, .portal-panel-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.portal-heading h1 { margin-bottom: .5rem; }
.portal-heading p { color: var(--muted); }
.portal-nav { display: flex; gap: .25rem; margin: 2rem 0; padding: .45rem; overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.portal-nav a { flex: 0 0 auto; padding: .7rem .85rem; color: #303a4e; font-size: .73rem; font-weight: 800; text-decoration: none; }
.portal-nav a:hover, .portal-nav a:focus-visible { color: #fff; background: var(--blue); }
.portal-panel { margin-bottom: 1rem; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); background: #fff; }
.portal-panel h2 { margin-bottom: .8rem; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.portal-panel > p:not(.eyebrow) { color: var(--muted); }
.portal-grid { display: grid; gap: 1rem; }
.application-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.application-row { display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); background: var(--canvas); }
.application-row h3 { margin: .5rem 0; }
.application-row p { color: var(--muted); font-size: .76rem; }
.application-state { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.application-history { border-top: 1px solid var(--line); padding-top: .8rem; }
.application-history summary { color: var(--navy); font-size: .78rem; font-weight: 800; cursor: pointer; }
.application-history ol { margin: 1rem 0 0; padding-left: 1.2rem; }
.application-history li { margin-bottom: .5rem; }
.application-history li span { display: block; color: var(--muted); font-size: .7rem; }
.application-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; font-size: .76rem; }
.application-actions a { color: var(--blue); font-weight: 700; }
.text-button-danger { padding: 0; border: 0; color: #9b231b; background: transparent; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.compact-list { display: grid; gap: .75rem; }
.compact-list article { display: grid; gap: .2rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.compact-list article span { color: var(--muted); font-size: .76rem; }
.review-list { margin: 1rem 0; }
.review-list div { display: grid; grid-template-columns: minmax(7rem, .6fr) 1fr; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.review-list dt { color: var(--muted); font-size: .72rem; }
.review-list dd { margin: 0; font-size: .82rem; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.application-form .portal-panel { margin-top: 1rem; }
.application-form .choice-field > label:first-child { display: none; }
.status-under_review, .status-assessment, .status-interview { border-color: #b8c9f5; color: var(--blue); background: #eff4ff; }
.status-selected, .status-offer_available, .status-offer_accepted { border-color: #a7d6c3; color: #075f4f; background: #eefaf5; }
.status-withdrawn, .status-unsuccessful { border-color: #d7dae1; color: #505a6c; background: #f2f3f6; }

/* Candidate workspace additions */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.portal-nav a[aria-current="page"] { color: #fff; background: var(--navy); }
.summary-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 1rem; border: 1px solid var(--line); background: var(--line); }
.summary-strip > div { position: relative; padding: 1rem 1.15rem; background: #fff; }
.summary-strip > div::before { position: absolute; top: 0; left: 0; width: 2.5rem; height: 3px; content: ""; background: var(--blue-bright); }
.summary-strip > div:nth-child(2)::before { background: var(--magenta); }
.summary-strip > div:nth-child(3)::before { background: var(--green); }
.summary-strip > div:nth-child(4)::before { background: #aeb7c6; }
.summary-strip dt { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.summary-strip dd { margin: .3rem 0 0; color: var(--navy); font-size: 2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.next-panel { border-top: 4px solid var(--blue); }
.next-list { display: grid; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.next-item { display: grid; grid-template-columns: 2rem 1fr; gap: .85rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); background: var(--canvas); }
.next-item > .text-link { grid-column: 2; justify-self: start; }
.next-item.is-urgent { border-left: 4px solid var(--orange); background: #fffaf5; }
.next-item.is-info { border-left: 4px solid var(--green); }
.next-marker { display: grid; width: 2rem; height: 2rem; place-items: center; color: #fff; background: var(--blue); font-size: .8rem; font-weight: 900; }
.is-urgent .next-marker { background: var(--orange); }
.is-info .next-marker { background: var(--green); }
.next-body { display: grid; gap: .1rem; }
.next-body strong { color: var(--navy); font-size: .92rem; }
.next-body span { color: var(--muted); font-size: .76rem; }
.next-hint { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.progress-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .25rem; grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.progress-steps li { position: relative; padding-top: .7rem; color: #8a93a5; font-size: .66rem; font-weight: 700; letter-spacing: .02em; counter-increment: step; }
.progress-steps li::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: #dfe4ed; }
.progress-steps li.step-done { color: var(--navy); }
.progress-steps li.step-done::before { background: var(--blue); }
.progress-steps li.step-current { color: var(--blue); }
.progress-steps li.step-current::before { background: linear-gradient(90deg, var(--blue) 55%, #b8c9f5 55%); }
.progress-steps.is-ended li.step-current { color: #505a6c; }
.progress-caption { grid-column: 1 / -1; margin: 0 0 -.6rem; color: var(--navy); font-size: .74rem; font-weight: 800; }
.progress-steps li span { display: none; }
.progress-steps li.step-skipped { color: #aeb7c6; text-decoration: line-through; }
.progress-steps li.step-skipped::before { background: repeating-linear-gradient(90deg, #dfe4ed 0 6px, transparent 6px 10px); }
.portal-heading h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
/* Grid/flex children default to min-width:auto; long select options and
   timezone strings must not widen the page on phones. */
.portal-section .shell, .portal-panel, .compact-list article, .application-row > *, .next-item, .next-body, .inline-form, .booking-card { min-width: 0; }
.inline-form select, .inline-form input { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.next-body span, .booking-card p { overflow-wrap: anywhere; }
.progress-steps.is-ended li.step-current::before { background: #8a93a5; }
.progress-ended { grid-column: 1 / -1; margin: 0; padding: .55rem .75rem; border-left: 3px solid #8a93a5; color: #505a6c; background: #f2f3f6; font-size: .76rem; }
.link-danger { color: #9b231b !important; }
.button-danger { color: #fff; background: #9b231b; }
.button-danger:hover { background: #7a1b15; }
.text-button { padding: 0; border: 0; color: var(--blue); background: transparent; font: inherit; font-size: .78rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.booking-card { margin-top: .5rem; padding: 1rem; border: 1px solid #b8c9f5; border-left: 4px solid var(--blue); background: #f5f8ff; }
.booking-card p { margin-bottom: .35rem; font-size: .85rem; }
.booking-card .button-row { margin-top: .75rem; }
.disclosure { margin-top: .75rem; }
.disclosure summary { color: var(--blue); font-size: .78rem; font-weight: 800; cursor: pointer; }
.inline-form { display: grid; gap: .45rem; max-width: 34rem; margin-top: .75rem; }
.inline-form label { color: #303a4e; font-size: .74rem; font-weight: 800; }
.inline-form input, .inline-form select { width: 100%; min-height: 2.9rem; padding: .6rem .7rem; border: 1px solid #aeb7c6; border-radius: 0; background: #fff; }
.inline-form .button { justify-self: start; margin-top: .3rem; }
.plain-list { display: grid; gap: .1rem; margin: .5rem 0 1rem; padding: 0; list-style: none; }
.plain-list li { display: grid; padding: .6rem 0; border-top: 1px solid var(--line); }
.plain-list a { color: var(--navy); font-size: .88rem; font-weight: 800; text-decoration: none; }
.plain-list a:hover { color: var(--blue); text-decoration: underline; }
.plain-list span { color: var(--muted); font-size: .72rem; }
.setting-list { display: grid; margin: .5rem 0 1rem; padding: 0; list-style: none; }
.setting-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .82rem; }
.setting-list strong { padding: .1rem .5rem; border: 1px solid var(--line); color: var(--muted); background: var(--canvas); font-size: .68rem; }
.setting-list strong.is-on { border-color: #a7d6c3; color: #075f4f; background: #eefaf5; }
.confirm-card { margin-inline: auto; border-top: 4px solid #9b231b; }
.confirm-card h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.confirm-role { color: var(--muted); }
.warning-panel { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid #9b231b; color: #5c1712; background: #fff4f2; }
.warning-panel ul { margin: .5rem 0 0; padding-left: 1.2rem; font-size: .86rem; }
.settings-form fieldset { margin: 0 0 1.5rem; padding: 0; border: 0; }
.setting-group legend { margin-bottom: .75rem; color: var(--navy); font-size: 1.15rem; font-weight: 800; }
.toggle-field { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; padding: 1rem; border: 1px solid var(--line); background: var(--canvas); }
.toggle-field + .toggle-field { margin-top: .6rem; }
.toggle-field input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--blue); }
.toggle-field label { display: grid; gap: .2rem; }
.toggle-field strong { color: var(--navy); font-size: .9rem; }
.toggle-field span { color: var(--muted); font-size: .76rem; }
.toggle-field .errorlist { grid-column: 1 / -1; }
.alert-filters { margin-top: .75rem; padding: 1rem; border: 1px dashed #aeb7c6; }
.form-grid-three { display: grid; gap: 0 1rem; }
.radio-group { margin: 0 0 1.15rem; padding: 0; border: 0; }
.radio-group legend { margin-bottom: .5rem; color: #303a4e; font-size: .76rem; font-weight: 800; }
.radio-option { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border: 1px solid var(--line); background: var(--canvas); font-size: .84rem; cursor: pointer; }
.radio-option + .radio-option { margin-top: .4rem; }
.radio-option input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
.radio-group ul { margin: 0; padding: 0; list-style: none; }
.table-wrap { overflow-x: auto; }
.simple-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.simple-table th { padding: .6rem .5rem; border-bottom: 2px solid var(--navy); color: var(--muted); font-size: .66rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.simple-table td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cell-note { display: block; margin-top: .25rem; color: var(--muted); font-size: .72rem; }
.status-request-open { border-color: #b8c9f5; color: var(--blue); background: #eff4ff; }
.status-request-completed { border-color: #a7d6c3; color: #075f4f; background: #eefaf5; }
.status-request-rejected { border-color: #f1c0b9; color: #9b231b; background: #fff4f2; }
.save-role { margin-top: .8rem; }
.save-role .button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); background: #eff4ff; }
.similar-section { padding-block: clamp(3rem, 7vw, 5rem); }
.similar-section h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.similar-section .job-grid { margin-top: 0; }
.alert-link { display: inline-block; margin-top: .2rem; }
.results-heading { align-items: center; }

.site-footer { padding-top: 4rem; color: #c7d0e3; background: #0c1b43; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.brand-inverse .brand-name { color: #fff; }
.brand-inverse .brand-product { border-color: #435074; color: #bdc7dc; }
.footer-grid h2 { color: #fff; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid p { max-width: 20rem; margin-top: 1rem; color: #9eabc5; font-size: .77rem; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: .5rem; }
.footer-grid a { color: #c7d0e3; font-size: .76rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-block: 1.2rem; border-top: 1px solid #304066; color: #8290ad; font-size: .65rem; }

@media (min-width: 48rem) {
  :root { --shell: min(1180px, calc(100vw - 4rem)); }
  .hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(17rem, .65fr); align-items: center; }
  .split-heading, .page-hero-grid, .two-column-content { grid-template-columns: minmax(0, 1fr) minmax(18rem, .72fr); align-items: end; }
  .venture-grid, .job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps-grid li { border-right: 1px solid var(--line); border-bottom: 0; }
  .steps-grid li:last-child { border-right: 0; }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1.5rem; }
  .filter-search { grid-column: span 2; }
  .role-hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .58fr); align-items: end; }
  .skills-section, .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout { grid-template-columns: 18rem 1fr; }
  .account-layout, .profile-layout { grid-template-columns: minmax(0, 1fr) minmax(22rem, .78fr); }
  .form-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .application-history, .application-actions { grid-column: 1 / -1; }
  .summary-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .next-item { grid-template-columns: 2rem 1fr auto; }
  .next-item > .text-link { grid-column: auto; }
  .portal-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .progress-steps li { font-size: .72rem; }
  .progress-steps li span { display: inline; }
  .progress-caption { display: none; }
  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}

@media (min-width: 64rem) {
  .desktop-nav { display: flex; margin-left: auto; align-items: center; gap: 1rem; }
  .language-switch { margin-left: 0; }
  .desktop-nav a { color: #303a4e; font-size: .7rem; font-weight: 700; text-decoration: none; }
  .desktop-nav a:hover { color: var(--blue); }
  .header-inner .header-action { display: inline-flex; }
  .mobile-nav { display: none; }
}

@media (min-width: 72rem) {
  .role-layout { grid-template-columns: minmax(0, 1fr) 20rem; }
  .role-aside { position: sticky; top: 6.5rem; align-self: start; }
  .filters { grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); }
  .filter-search { grid-column: span 1; }
  .filter-actions { grid-column: span 2; }
  .content-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .button, .filters { display: none !important; }
  body { background: #fff; }
  .role-hero, .section { padding-block: 1rem; }
}
