﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;800&display=swap");

:root {
  --navy: #131740;
  --navy-dark: #0a0824;
  --navy-mid: #1d2259;
  --red: #c52428;
  --red-dark: #a01d20;
  --gold: #c9a227;
  --ink: #171729;
  --muted: #696a7e;
  --line: #e5e7ee;
  --soft: #f5f6f9;
  --white: #ffffff;
  --green: #18794e;
  --amber: #9a6700;
  --shadow: 0 16px 48px rgba(19, 23, 64, .1);
  --content-max: 1200px;
  --page-gutter: clamp(16px, 4vw, 32px);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.icon { display: inline-block; flex: none; }
.content,
.page-shell {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.top-line { height: 4px; background: linear-gradient(90deg, var(--navy) 72%, var(--red) 72%); }
.public-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); }
.header-inner {
  height: 80px;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.brand-button { border: 0; background: none; padding: 0; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; color: var(--navy); }
.brand-copy b { font: 800 20px/1 Inter, sans-serif; letter-spacing: -.02em; }
.brand-copy small { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .21em; margin-top: 5px; }
.brand.compact { min-width: 0; }
.brand.compact img { width: 38px; height: 38px; }
.brand.compact .brand-copy { display: none; }
.header-inner nav { display: flex; align-items: stretch; height: 100%; margin: 0 auto; }
.header-inner nav button, .sign-in { border: 0; background: none; color: #4e4f61; padding: 0 18px; font-size: 14px; font-weight: 600; position: relative; }
.header-inner nav button.active { color: var(--navy); }
.header-inner nav button.active:after { content: ""; position: absolute; height: 3px; border-radius: 3px; background: var(--red); left: 18px; right: 18px; bottom: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-auth { display: none; }
.admin-key { border: 0; background: var(--soft); color: var(--navy); border-radius: 9px; width: 38px; height: 38px; display: grid; place-items: center; }
.btn { border: 1px solid transparent; border-radius: 7px; min-height: 43px; padding: 0 20px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; font-weight: 700; font-size: 13px; transition: .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(19,23,64,.15); }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: white; border-color: #d7d9e2; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--muted); }
.menu-button { display: none; border: 0; background: none; color: var(--navy); }

.hero { min-height: 700px; background: linear-gradient(116deg, #f7f7fa 0%, #fff 55%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 610px; gap: 60px; padding-block: 70px 55px; }
.eyebrow { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; }
.eyebrow > span { width: 22px; height: 2px; background: currentColor; }
.eyebrow.light { color: #f1c9ca; }
.hero h1, .page-hero h1, .roles-hero h1 { font: 700 clamp(44px, 5vw, 70px)/1.05 Inter, sans-serif; letter-spacing: -.035em; color: var(--navy); margin: 20px 0 24px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-copy > p { max-width: 580px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-actions .btn { min-height: 50px; padding-inline: 25px; }
.trust-row { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; margin-left: -8px; border: 2px solid white; background: #dfe2ee; border-radius: 50%; display: grid; place-items: center; color: var(--navy); font-size: 9px; font-weight: 700; }
.avatars span:first-child { margin-left: 0; background: #e7c9ca; }
.avatars span:last-child { background: #cbd8df; }
.trust-row p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0; }
.trust-row b { color: var(--navy); font-size: 12px; }
.hero-visual { height: 500px; position: relative; }
.image-frame { width: 88%; height: 465px; margin-left: auto; position: relative; overflow: hidden; border-radius: 2px 65px 2px 2px; box-shadow: var(--shadow); }
.image-frame:before { content: ""; position: absolute; inset: 0; background: linear-gradient(10deg, rgba(12,10,40,.2), transparent 55%); z-index: 1; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.ready-card, .stats-card { position: absolute; z-index: 2; background: white; box-shadow: var(--shadow); display: flex; align-items: center; }
.ready-card { left: 0; bottom: 28px; padding: 15px 22px 15px 15px; gap: 12px; border-left: 3px solid var(--red); }
.ready-icon { background: #e7f7ef; color: var(--green); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.ready-card div, .stats-card { flex-direction: column; align-items: flex-start; }
.ready-card b, .stats-card b { color: var(--navy); font-size: 13px; }
.ready-card small, .stats-card small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.stats-card { right: -15px; top: 40px; padding: 16px 18px; width: 130px; }
.stats-card b { font-size: 24px; font-family: Inter, sans-serif; }
.progress { width: 100%; height: 4px; border-radius: 4px; background: #ebecef; overflow: hidden; margin-top: 9px; }
.progress i { display: block; height: 100%; width: 92%; background: var(--red); }
.dot-pattern { position: absolute; right: -54px; bottom: 3px; width: 130px; height: 110px; opacity: .2; background-image: radial-gradient(var(--navy) 1.3px, transparent 1.3px); background-size: 12px 12px; }
.hero-bottom { border-top: 1px solid var(--line); background: white; }
.proof-row { height: 89px; display: flex; align-items: center; justify-content: space-between; color: var(--navy); }
.proof-row > span { color: #9899a6; letter-spacing: .12em; font-size: 9px; font-weight: 700; }
.proof-row b { font: 600 14px Inter, sans-serif; }
.proof-row i { width: 4px; height: 4px; background: var(--red); border-radius: 50%; }

.section { padding-block: 92px; }
.section-heading h2, .process-section h2, .cta-section h2, .info-layout h2, .faq-layout h2 { color: var(--navy); font: 700 clamp(32px, 3vw, 44px)/1.15 Inter, sans-serif; letter-spacing: -.025em; margin: 13px 0 0; }
.section-heading.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; margin-bottom: 42px; }
.section-heading.split > p { color: var(--muted); line-height: 1.75; margin: 0; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.open-careers-home {
  padding-block: 40px 28px;
}
.open-careers-home + .section,
.section-after-careers {
  padding-top: 40px;
}
.open-careers-page {
  padding-block: 36px 56px;
}
.open-careers-page .section-heading.split {
  margin-bottom: 24px;
  gap: clamp(24px, 4vw, 48px);
}
.open-careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.open-careers-grid--live .open-career-card--live,
.open-career-card--live {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 24px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.open-careers-grid--live .open-career-card--live:hover,
.open-career-card--live:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d7dae6;
}
.open-career-card--live h3 {
  font: 700 22px Inter, sans-serif;
  color: var(--navy);
  margin: 10px 0 8px;
}
.open-career-card--live > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.open-career-card--live .card-link {
  margin-top: 18px;
}
.open-career-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f9e7e8;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.open-career-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(197, 36, 40, .18);
}
.open-career-company {
  display: block;
  margin-top: 14px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.open-career-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 32px);
  align-items: end;
  width: 100%;
  margin: 0;
  padding: clamp(24px, 3.5vw, 34px);
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(circle at 100% 0%, rgba(197, 36, 40, .14), transparent 42%),
    linear-gradient(120deg, #151845 0%, #1f2558 55%, #2a2148 100%);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(19, 23, 64, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.open-career-spotlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(19, 23, 64, .28);
}
.open-career-spotlight-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}
.open-career-spotlight .open-career-company {
  margin-top: 0;
  color: #f0b4b6;
}
.open-career-spotlight h3 {
  margin: 0 0 10px;
  color: #fff;
  font: 700 clamp(26px, 3.2vw, 36px)/1.12 Inter, sans-serif;
  letter-spacing: -.02em;
}
.open-career-meta,
.open-career-excerpt {
  margin: 0;
  color: #c5c8db;
  font-size: 14px;
  line-height: 1.65;
}
.open-career-excerpt { margin-top: 10px; max-width: 54ch; }
.open-career-spotlight-cta {
  justify-self: end;
  align-self: center;
  white-space: nowrap;
  background: #fff !important;
  color: var(--navy) !important;
}
.open-career-spotlight:hover .open-career-spotlight-cta {
  background: #f7f7fa !important;
}
.open-careers-home .cta-row,
.open-careers-page .cta-row {
  margin-top: 18px;
}
.open-career-empty {
  padding: clamp(28px, 4vw, 40px);
  text-align: left;
}
.open-career-empty h3 {
  margin: 10px 0 8px;
  color: var(--navy);
  font: 700 24px Inter, sans-serif;
}
.open-career-empty p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .open-career-spotlight {
    grid-template-columns: 1fr;
  }
  .open-career-spotlight-cta {
    justify-self: start;
  }
}
.sector-card { padding: 30px; min-height: 235px; text-align: left; background: white; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .2s ease; }
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); position: relative; z-index: 1; }
.sector-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 9px; }
.tone-0 { background: #f9e7e8; color: var(--red); }
.tone-1 { background: #e9ebf7; color: #404a96; }
.tone-2 { background: #fff3d8; color: #9a6700; }
.tone-3 { background: #e3f1ef; color: #147b6c; }
.tone-4 { background: #f2e7f6; color: #7a3c92; }
.tone-5 { background: #e7eef5; color: #37617b; }
.sector-card h3 { font: 700 20px Inter, sans-serif; color: var(--navy); margin: 20px 0 8px; }
.sector-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.card-link { color: var(--red); font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 7px; margin-top: 20px; }
.process-section { padding: 95px 0 110px; background: var(--navy); color: white; }
.section-heading.centered { text-align: center; max-width: 690px; margin: 0 auto 60px; }
.section-heading.centered h2 { color: white; }
.section-heading.centered p { color: #b7bad0; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; border-top: 1px solid #3d426d; padding-top: 40px; }
.step > span { position: absolute; right: 0; top: 12px; color: #6e7292; font: 600 11px Inter, sans-serif; }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #4c5077; color: #efafb1; }
.step h3 { font: 600 18px Inter, sans-serif; margin: 22px 0 10px; }
.step p { color: #aeb1c7; font-size: 13px; line-height: 1.7; }
.cta-section {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 80px auto;
  padding: clamp(36px, 5vw, 55px) clamp(28px, 5vw, 65px);
  color: white;
  background: linear-gradient(110deg, var(--red), #a31e22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  gap: 24px;
}
.cta-section h2 { color: white; margin-top: 12px; }
.cta-section p { color: #f3d3d4; margin-bottom: 0; }
.cta-section .btn { color: var(--navy); background: white; min-height: 52px; }

footer { background: var(--navy-dark); color: white; padding-top: 65px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 55px; }
footer .brand-copy { color: white; }
.footer-brand > p { color: #9498b4; font-size: 13px; line-height: 1.7; max-width: 280px; }
footer h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 8px 0 21px; color: #d2d4df; }
footer button { display: block; border: 0; padding: 0; background: none; color: #9498b4; margin: 12px 0; font-size: 12px; }
footer p { color: #9498b4; font-size: 12px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid #242744; display: flex; justify-content: space-between; align-items: center; color: #737792; height: 70px; font-size: 11px; }
.footer-bottom button { margin: 0; }

.page-hero, .roles-hero { background: linear-gradient(120deg, var(--navy), #242964); color: white; padding: 100px 0 85px; position: relative; overflow: hidden; }
.page-hero:after, .roles-hero:after { content: ""; width: 400px; height: 400px; border: 1px solid #3f4477; border-radius: 50%; position: absolute; right: -80px; top: -180px; box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.015); }
.page-hero h1, .roles-hero h1 { color: white; font-size: 53px; max-width: 650px; margin-block: 18px; }
.page-hero p, .roles-hero p { color: #c1c4d6; max-width: 670px; font-size: 16px; line-height: 1.7; }
.large-sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.large-sector { border: 1px solid var(--line); padding: 35px; transition: .2s; }
.large-sector:hover { box-shadow: var(--shadow); border-color: transparent; }
.large-sector-top { display: flex; justify-content: space-between; }
.availability { color: var(--green); background: #e8f6ef; padding: 7px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; height: fit-content; }
.large-sector h2 { color: var(--navy); font: 700 26px Inter, sans-serif; margin: 22px 0 10px; }
.large-sector > p { color: var(--muted); line-height: 1.65; font-size: 13px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.tag-row span { font-size: 10px; padding: 6px 9px; background: var(--soft); color: var(--muted); border-radius: 3px; }
.large-sector > button { border: 0; background: none; color: var(--red); font-size: 12px; font-weight: 700; display: flex; gap: 8px; align-items: center; padding: 0; }
.light-band { background: var(--soft); padding: 80px 0; }
.info-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.ready-list { background: white; padding: 25px 35px; box-shadow: 0 8px 30px rgba(19,23,64,.06); }
.ready-list div { display: flex; align-items: center; gap: 17px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ready-list div:last-child { border: 0; }
.ready-list span { display: grid; place-items: center; background: #f7e6e7; color: var(--red); font-size: 11px; font-weight: 700; width: 28px; height: 28px; border-radius: 50%; }
.ready-list p { margin: 0; color: #4e4f61; font-size: 13px; }

.roles-hero { padding-bottom: 110px; }
.role-search { background: white; max-width: 900px; display: grid; grid-template-columns: 1fr 1fr auto; padding: 8px; margin-top: 35px; box-shadow: var(--shadow); position: relative; z-index: 2; }
.role-search label { display: flex; align-items: center; gap: 10px; padding: 0 20px; color: var(--muted); border-right: 1px solid var(--line); }
.role-search input { border: 0; outline: 0; width: 100%; min-height: 38px; }
.role-search .btn { min-height: 50px; }
.roles-layout { display: grid; grid-template-columns: 230px 1fr; gap: 50px; align-items: start; }
.roles-layout aside { border: 1px solid var(--line); padding: 25px; }
.roles-layout aside h3 { font: 700 18px Inter, sans-serif; color: var(--navy); margin: 0 0 10px; }
.filter-group { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.filter-group b { font-size: 12px; color: var(--navy); }
.filter-group label { color: var(--muted); font-size: 12px; }
input[type="checkbox"] { accent-color: var(--red); }
.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.results-head h2 { font: 700 28px Inter, sans-serif; color: var(--navy); margin: 0 0 5px; }
.results-head p { margin: 0; color: var(--muted); font-size: 12px; }
.results-head select { border: 1px solid var(--line); padding: 10px; color: var(--muted); background: white; }
.role-card { border: 1px solid var(--line); padding: 25px; display: flex; align-items: center; gap: 20px; margin-bottom: 13px; transition: .2s; }
.role-card:hover { border-color: #b9bccb; box-shadow: 0 8px 25px rgba(19,23,64,.06); }
.company-mark { width: 58px; height: 58px; background: var(--soft); display: grid; place-items: center; }
.role-main { flex: 1; }
.role-main > span { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.role-main h3 { font: 700 18px Inter, sans-serif; color: var(--navy); margin: 7px 0 5px; }
.role-main > p { color: var(--muted); font-size: 12px; margin: 0; }
.role-meta { display: flex; gap: 17px; margin-top: 14px; }
.role-meta span { display: flex; gap: 5px; align-items: center; color: #858695; font-size: 10px; }

.join-page {
  min-height: min(860px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) 1.32fr;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: clamp(16px, 3vw, 36px) auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
body.join-body {
  background:
    radial-gradient(circle at top right, rgba(197, 36, 40, 0.06), transparent 42%),
    linear-gradient(180deg, #eef0f6 0%, var(--soft) 48%, #eceef5 100%);
  min-height: 100vh;
}
.join-side {
  background: linear-gradient(150deg, #181d4e, var(--navy-dark));
  color: white;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.join-side:after { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid #353963; border-radius: 50%; bottom: -180px; left: -160px; box-shadow: 0 0 0 70px rgba(255,255,255,.02); }
.join-side .brand-copy { color: white; }
.join-side > div:nth-child(2) { position: relative; z-index: 1; }
.join-side h1 { font: 700 clamp(32px, 3.6vw, 52px)/1.08 Inter, sans-serif; margin: 20px 0; }
.join-side > div > p { max-width: 420px; color: #b6b9cf; line-height: 1.75; }
.privacy-note { display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; }
.privacy-note > .icon { color: #efabad; }
.privacy-note span { display: flex; flex-direction: column; }
.privacy-note b { font-size: 12px; }
.privacy-note small { color: #8d91ac; font-size: 10px; margin-top: 4px; }
.join-form-wrap { padding: clamp(20px, 3vw, 36px); overflow-y: auto; background: #fbfbfd; }
.back-home { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.back-home:hover { color: var(--navy); }
.join-card {
  background: white;
  width: 100%;
  max-width: none;
  margin: 18px 0 0;
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(19, 23, 64, 0.05);
}
.wizard-progress { display: flex; justify-content: space-between; position: relative; margin-bottom: 40px; gap: 8px; }
.wizard-progress:before { content: ""; position: absolute; height: 1px; background: var(--line); top: 14px; left: 4%; right: 4%; }
.wizard-progress div,
.wizard-progress button[data-wizard-step] { position: relative; z-index: 1; text-align: center; color: #a0a1ac; min-width: 0; flex: 1; }
.wizard-progress div > span,
.wizard-progress button[data-wizard-step] > span {
  width: 29px; height: 29px; border: 1px solid var(--line); background: white; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; margin: auto;
}
.wizard-progress small { font-size: 9px; display: block; margin-top: 8px; }
.wizard-progress .current span,
.wizard-progress .is-active.current span { border-color: var(--red); background: var(--red); color: white; }
.wizard-progress .current small,
.wizard-progress .is-active.current small { color: var(--navy); font-weight: 700; }
.wizard-progress .done span,
.wizard-progress .is-done span { background: var(--navy); border-color: var(--navy); color: white; }
.form-kicker { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-stage h2 { color: var(--navy); font: 700 clamp(24px, 3vw, 30px) Inter, sans-serif; margin: 8px 0; }
.signup-title { color: var(--navy); font: 700 clamp(24px, 3vw, 30px)/1.25 Inter, sans-serif; letter-spacing: -.02em; margin: 8px 0; }
.signup-sub { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.optional-mark { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.signup-spacer { visibility: hidden; pointer-events: none; }
.form-stage > p { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid label, .settings-form > label { display: flex; flex-direction: column; gap: 8px; color: #3d3e50; font-size: 12px; font-weight: 700; }
.form-grid label.wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea, .settings-form input {
  width: 100%; border: 1px solid #dfe0e7; background: white; border-radius: 8px;
  min-height: 46px; padding: 11px 13px; outline: none; font-size: 14px; color: var(--ink);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px #ececf3; }
.form-grid textarea { min-height: 110px; resize: vertical; }
.form-actions {
  border-top: 1px solid var(--line); margin-top: 32px; padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.select-sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.select-sector-grid label,
.select-sector-grid .checkbox-row {
  border: 1px solid var(--line); padding: 14px 15px; display: flex; gap: 12px; align-items: center;
  color: var(--navy); font-size: 13px; cursor: pointer; border-radius: 10px; background: #fff; transition: .15s ease;
}
.select-sector-grid label:hover,
.select-sector-grid .checkbox-row:hover { border-color: #c7cad8; background: #fafbfe; }
.select-sector-grid .sector-icon { width: 38px; height: 38px; }
.upload-zone { border: 1px dashed #b9bcc9; background: var(--soft); display: flex; flex-direction: column; align-items: center; padding: 30px; color: var(--navy); border-radius: 12px; }
.upload-zone .icon { color: var(--red); margin-bottom: 12px; }
.upload-zone b { font-size: 12px; }
.upload-zone span { color: var(--muted); font-size: 9px; margin-top: 5px; }
.document-list > div { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 14px 5px; }
.document-list > div > span { flex: 1; display: flex; flex-direction: column; }
.document-list b { color: var(--navy); font-size: 11px; }
.document-list small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.document-list .btn { min-height: 33px; padding: 0 13px; font-size: 10px; }
.consent-box { display: flex; flex-direction: column; gap: 12px; }
.consent-box label { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); padding: 17px; border-radius: 10px; }
.consent-box label span { display: flex; flex-direction: column; }
.consent-box b { color: var(--navy); font-size: 12px; }
.consent-box small { color: var(--muted); line-height: 1.5; margin-top: 4px; }

.portal-bg { min-height: 100vh; background: var(--soft); padding-bottom: 70px; }
.portal-header { height: 78px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.portal-header > div { display: flex; align-items: center; gap: 10px; }
.portal-header button { border: 0; background: white; border-radius: 50%; width: 38px; height: 38px; color: var(--navy); display: grid; place-items: center; }
.portal-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: white; display: grid; place-items: center; font-size: 10px; font-weight: 700; margin-left: 10px; }
.portal-header > div > span:last-child { display: flex; flex-direction: column; }
.portal-header b { font-size: 11px; color: var(--navy); }
.portal-header small { font-size: 9px; color: var(--muted); }
.portal-content { padding-top: clamp(24px, 4vw, 40px); padding-bottom: 8px; }
.portal-body .portal-bg { min-height: auto; }
.portal-welcome { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.portal-welcome span { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.portal-welcome h1 { font: 700 clamp(28px, 4vw, 34px) Inter, sans-serif; color: var(--navy); margin: 8px 0; }
.portal-welcome p { color: var(--muted); margin: 0; font-size: 14px; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 310px); gap: 20px; }
.portal-grid > section, .portal-grid > aside {
  background: white; border: 1px solid var(--line); padding: clamp(20px, 2.5vw, 28px); border-radius: 14px;
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; }
.panel-head > div { display: flex; gap: 13px; align-items: center; }
.status-icon { width: 42px; height: 42px; background: #f9e7e8; color: var(--red); display: grid; place-items: center; }
.panel-head small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.panel-head h2 { font: 700 22px Inter, sans-serif; color: var(--navy); margin: 4px 0 0; }
.status-panel > p { color: var(--muted); font-size: 12px; line-height: 1.65; padding: 16px 0; }
.pill { border-radius: 20px; padding: 5px 9px; font-size: 8px; font-weight: 700; white-space: nowrap; }
.pill.amber { color: #8b5b00; background: #fff2d2; }
.pill.green { color: #18794e; background: #dff4e9; }
.pill.blue { color: #395da5; background: #e4ecfb; }
.pill.red { color: #a01d20; background: #fae2e3; }
.timeline { display: flex; position: relative; padding-top: 12px; }
.timeline:before { content: ""; position: absolute; height: 2px; background: var(--line); left: 6%; right: 6%; top: 25px; }
.timeline > div { flex: 1; position: relative; z-index: 1; text-align: center; }
.timeline i { width: 28px; height: 28px; background: white; border: 2px solid var(--line); color: #a3a4af; border-radius: 50%; display: grid; place-items: center; margin: auto; font-style: normal; font-size: 9px; }
.timeline span { color: #9495a3; font-size: 9px; display: block; margin-top: 8px; }
.timeline .complete i { background: var(--green); color: white; border-color: var(--green); }
.timeline .active i { border-color: var(--red); color: var(--red); }
.timeline .active span { color: var(--navy); font-weight: 700; }
.strength-panel { text-align: center; }
.ring { margin: 0 auto 16px; width: 116px; height: 116px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(closest-side, white 78%, transparent 80% 100%), conic-gradient(var(--red) 82%, #eee 0); }
.ring b { color: var(--navy); font: 700 25px Inter, sans-serif; }
.ring small { color: var(--muted); font-size: 8px; }
.strength-panel h3, .help-panel h3 { font: 700 16px Inter, sans-serif; color: var(--navy); margin: 0; }
.strength-panel p, .help-panel p { color: var(--muted); font-size: 10px; line-height: 1.6; }
.task-panel { grid-row: 2; }
.panel-title { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.panel-title h2 { color: var(--navy); font: 700 19px Inter, sans-serif; margin: 0; }
.panel-title p { color: var(--muted); font-size: 10px; margin: 5px 0; }
.panel-title > span { background: #f9e7e8; color: var(--red); padding: 6px 9px; font-size: 8px; font-weight: 700; }
.task { border-top: 1px solid var(--line); padding: 14px 0; display: flex; align-items: center; gap: 12px; }
.task > span { width: 30px; height: 30px; background: #f9e7e8; color: var(--red); display: grid; place-items: center; border-radius: 50%; }
.task.done > span { background: #e4f4eb; color: var(--green); }
.task > div { flex: 1; display: flex; flex-direction: column; }
.task b { color: var(--navy); font-size: 11px; }
.task small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.task .btn { min-height: 32px; font-size: 9px; padding: 0 12px; }
.help-panel { grid-column: 2; grid-row: 2; display: flex; gap: 14px; height: fit-content; }
.help-panel > .icon { color: var(--red); }
.help-panel button { border: 0; background: none; color: var(--red); font-size: 9px; font-weight: 700; padding: 0; }

.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.faq-layout > div:first-child > p { color: var(--muted); line-height: 1.7; font-size: 13px; }
.accordions { border-top: 1px solid var(--line); }
.accordions article { border-bottom: 1px solid var(--line); }
.accordions article > button { width: 100%; border: 0; background: none; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; color: var(--navy); text-align: left; font-weight: 700; }
.accordions article > button i { width: 28px; height: 28px; border: 1px solid var(--line); display: grid; place-items: center; border-radius: 50%; color: var(--red); }
.accordions article > button .icon-chevron {
  transition: transform .2s ease;
  transform: rotate(0deg);
}
.accordions article.open > button .icon-chevron {
  transform: rotate(180deg);
}
.accordions article > p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; padding: 0 45px 20px 0; }
.mini-cta { background: var(--soft); padding: 45px 0; }
.mini-cta .content { display: flex; align-items: center; justify-content: space-between; }
.mini-cta h2 { color: var(--navy); font: 700 26px Inter, sans-serif; margin: 0; }
.mini-cta p { color: var(--muted); font-size: 12px; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; background: #f5f6f9; color: var(--ink); }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 240px; background: var(--navy); color: white; padding: 24px 18px; display: flex; flex-direction: column; z-index: 20; }
.admin-sidebar .brand { padding-left: 6px; }
.admin-sidebar .brand-copy { color: white; }
.workspace-label { color: #777c9c; font-size: 8px; font-weight: 700; letter-spacing: .15em; margin: 35px 10px 12px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar button { border: 0; background: none; color: #aeb1c8; display: flex; align-items: center; gap: 13px; min-height: 43px; padding: 0 12px; border-radius: 5px; font-size: 12px; font-weight: 600; text-align: left; }
.admin-sidebar nav button.active { background: #292e63; color: white; box-shadow: inset 3px 0 var(--red); }
.admin-sidebar nav button > span { margin-left: auto; background: var(--red); color: white; min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 10px; font-size: 8px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-bottom > button { width: 100%; border-top: 1px solid #2d315d; border-radius: 0; }
.sidebar-bottom > button .icon { transform: rotate(180deg); }
.admin-user { border-top: 1px solid #2d315d; display: flex; align-items: center; gap: 10px; padding: 18px 5px 0; }
.admin-user > span { width: 34px; height: 34px; display: grid; place-items: center; background: #3b4072; border-radius: 50%; font-size: 9px; }
.admin-user div { flex: 1; display: flex; flex-direction: column; }
.admin-user b { font-size: 10px; }
.admin-user small { font-size: 8px; color: #8d91ad; margin-top: 4px; }
.admin-main { grid-column: 2; min-width: 0; }
.admin-header { height: 67px; background: white; border-bottom: 1px solid var(--line); padding: 0 30px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.admin-header > div { display: flex; align-items: center; gap: 14px; }
.admin-header label { display: flex; gap: 9px; align-items: center; color: #999aa6; }
.admin-header input { width: 310px; border: 0; outline: 0; font-size: 11px; }
.admin-header button, .admin-menu { border: 0; background: none; color: var(--navy); }
.admin-menu { display: none; }
.api-ok { color: var(--green); background: #edf8f2; padding: 7px 10px; border-radius: 20px; font-size: 8px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.api-ok i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.admin-page { padding: 30px var(--page-gutter); max-width: var(--content-max); margin: auto; width: 100%; }
.admin-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 25px; }
.admin-title span { color: var(--red); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.admin-title h1 { color: var(--navy); font: 700 28px Inter, sans-serif; margin: 5px 0 0; }
.title-actions { display: flex; gap: 9px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.metric-grid.metric-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.metric-grid article { background: white; border: 1px solid var(--line); padding: 20px; display: flex; align-items: center; gap: 16px; }
.metric-icon { width: 42px; height: 42px; display: grid; place-items: center; }
.m-0 { background: #f9e7e8; color: var(--red); }.m-1 { background: #fff2d2; color: #9a6700; }.m-2 { background: #e4f4eb; color: var(--green); }.m-3 { background: #e7eaf7; color: #4b57a5; }
.metric-grid article > div { display: flex; flex-direction: column; }
.metric-grid small { color: var(--muted); font-size: 9px; }
.metric-grid b { color: var(--navy); font: 700 25px Inter, sans-serif; margin: 3px 0; }
.metric-grid p { margin: 0; color: #9a9ba8; font-size: 8px; }
.admin-card { background: white; border: 1px solid var(--line); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 22px 15px; }
.card-heading h2 { color: var(--navy); font: 700 15px Inter, sans-serif; margin: 0; }
.card-heading p { color: var(--muted); font-size: 9px; margin: 4px 0 0; }
.card-heading button { border: 0; background: none; color: var(--red); font-size: 9px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.card-heading select { border: 1px solid var(--line); color: var(--muted); padding: 7px; font-size: 9px; background: white; }
.queue-list > div { border-top: 1px solid var(--line); margin-inline: 22px; display: flex; align-items: center; gap: 10px; padding: 11px 0; }
.avatar { width: 31px; height: 31px; border-radius: 50%; background: #e7e9f2; color: var(--navy); display: inline-grid; place-items: center; font-size: 8px; font-weight: 700; flex: none; }
.avatar.large { width: 52px; height: 52px; font-size: 12px; }
.queue-list > div > div { flex: 1; display: flex; flex-direction: column; }
.queue-list b { color: var(--navy); font-size: 10px; }
.queue-list small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.queue-list button { border: 0; background: none; color: #aaa; }
.fake-chart { height: 225px; position: relative; margin: 0 22px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent, transparent 53px, #eef0f4 54px); }
.fake-chart svg { position: absolute; inset: 10px 0 20px 25px; width: calc(100% - 25px); height: calc(100% - 30px); overflow: visible; }
.fake-chart .area { fill: url(#fade); }
.fake-chart .line { fill: none; stroke: var(--red); stroke-width: 2.5; }
.y-labels { position: absolute; inset: 0 auto 18px 0; display: flex; flex-direction: column; justify-content: space-between; color: #a4a5af; font-size: 7px; }
.x-labels { position: absolute; left: 25px; right: 0; bottom: 2px; display: flex; justify-content: space-between; color: #a4a5af; font-size: 7px; }
.chart-legend { display: flex; gap: 25px; padding: 12px 22px; color: var(--muted); font-size: 8px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 6px; height: 6px; border-radius: 50%; }.red-dot { background: var(--red); }.navy-dot { background: var(--navy); }
.chart-legend b { color: var(--navy); margin-left: 3px; }
.request-item { border-top: 1px solid var(--line); padding: 13px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.request-item > div:first-child { display: flex; flex-direction: column; }
.request-item b { color: var(--navy); font-size: 10px; }
.request-item small, .request-item > span { color: var(--muted); font-size: 8px; }
.request-item > div:last-child { grid-column: 1/-1; height: 4px; background: #eee; }
.request-item i { display: block; height: 100%; background: var(--red); }
.sector-mix > div:not(.card-heading) { margin: 0 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; padding: 9px 0; font-size: 9px; }
.sector-mix .sector-icon { width: 27px; height: 27px; }
.sector-mix b { width: 90px; color: var(--navy); }
.sector-mix > div > div { flex: 1; height: 4px; background: #eee; }
.sector-mix i { display: block; height: 100%; background: var(--navy); }
.sector-mix strong { width: 25px; text-align: right; color: var(--navy); }

.table-tools { display: flex; gap: 9px; margin-bottom: 15px; }
.table-tools > label, .case-list-head label { flex: 1; min-width: 280px; background: white; border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; color: #999; padding: 0 13px; }
.table-tools input, .case-list-head input { border: 0; outline: 0; width: 100%; font-size: 10px; }
.table-tools select { background: white; border: 1px solid var(--line); color: var(--muted); padding: 0 12px; font-size: 10px; }
.table-tabs { border-bottom: 1px solid var(--line); display: flex; padding: 0 18px; }
.table-tabs button { border: 0; background: none; color: var(--muted); padding: 16px 12px; font-size: 10px; position: relative; }
.table-tabs button.active { color: var(--navy); font-weight: 700; }
.table-tabs button.active:after { content: ""; position: absolute; bottom: 0; left: 12px; right: 12px; height: 2px; background: var(--red); }
.table-tabs span { color: #999; background: var(--soft); padding: 3px 5px; border-radius: 8px; margin-left: 4px; font-size: 7px; }
table { width: 100%; border-collapse: collapse; }
th { color: #898a98; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; text-align: left; background: #fafafd; padding: 11px 14px; }
td { padding: 13px 14px; border-top: 1px solid var(--line); color: #5b5c6d; font-size: 9px; }
td:first-child { display: flex; align-items: center; gap: 9px; }
td > div { display: inline-flex; flex-direction: column; }
td b { color: var(--navy); font-size: 9px; }
td small { color: #9899a5; font-size: 7px; margin-top: 3px; }
td .score { color: var(--green); }
td > button { border: 0; background: none; color: var(--muted); }
.table-footer { border-top: 1px solid var(--line); padding: 13px 18px; display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; }
.table-footer button { border: 1px solid var(--line); background: white; color: var(--muted); padding: 5px 8px; margin-left: -1px; font-size: 8px; }
.table-footer button.active { background: var(--navy); color: white; }

.screening-layout { display: grid; grid-template-columns: 245px 1fr 230px; gap: 14px; align-items: start; }
.case-list-head { display: flex; padding: 12px; border-bottom: 1px solid var(--line); gap: 5px; }
.case-list-head label { min-width: 0; height: 35px; }
.case-list-head button { border: 1px solid var(--line); background: white; color: var(--muted); }
.case-list > button { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: white; display: flex; gap: 9px; padding: 13px; text-align: left; }
.case-list > button.active { background: #faf5f5; box-shadow: inset 3px 0 var(--red); }
.case-list > button > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.case-list > button b { color: var(--navy); font-size: 9px; }
.case-list > button small { color: var(--muted); font-size: 7px; margin-top: 3px; }
.case-list .pill { margin-top: 6px; }
.screening-detail { min-width: 0; }
.profile-summary { display: flex; align-items: center; gap: 12px; padding: 20px; }
.profile-summary > div { flex: 1; }
.profile-summary h2 { color: var(--navy); font: 700 16px Inter, sans-serif; margin: 0; }
.profile-summary p { color: var(--muted); font-size: 9px; margin: 5px 0; }
.profile-summary div > span { color: #92939e; font-size: 8px; display: flex; align-items: center; }
.profile-summary .btn { min-height: 33px; font-size: 8px; padding: 0 10px; }
.screen-tabs { border-block: 1px solid var(--line); padding: 0 14px; }
.screen-tabs button { border: 0; background: none; padding: 13px 10px; color: var(--muted); font-size: 9px; position: relative; }
.screen-tabs button.active { color: var(--navy); font-weight: 700; }
.screen-tabs button.active:after { content: ""; position: absolute; height: 2px; background: var(--red); bottom: -1px; left: 8px; right: 8px; }
.checklist { padding: 20px; }
.checklist-head { display: flex; justify-content: space-between; }
.checklist h3 { color: var(--navy); font: 700 14px Inter, sans-serif; margin: 0; }
.checklist-head p { color: var(--muted); font-size: 8px; }
.checklist-head > span { color: var(--red); font-weight: 700; font-size: 10px; }
.checklist > label { display: flex; align-items: center; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.checklist > label > span { flex: 1; display: flex; flex-direction: column; }
.checklist label b { color: var(--navy); font-size: 9px; }
.checklist label small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.checklist label button { border: 0; background: none; color: var(--muted); }
.screen-actions { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding: 14px 20px; }
.screen-actions .btn { min-height: 35px; font-size: 9px; }
.case-sidebar { padding: 18px; }
.case-sidebar h3 { color: var(--navy); font: 700 13px Inter, sans-serif; margin: 0 0 14px; }
.case-sidebar dl { margin: 0; }
.case-sidebar dl div { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.case-sidebar dt { color: var(--muted); font-size: 8px; }
.case-sidebar dd { color: var(--navy); font-size: 8px; margin: 0; display: flex; align-items: center; gap: 4px; }
.mini-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: white; display: grid; place-items: center; font-size: 6px; }
.case-sidebar hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.factor { margin-bottom: 13px; }
.factor > span { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; margin-bottom: 5px; }
.factor span b { color: var(--navy); }
.factor > div { height: 4px; background: var(--line); }
.factor i { display: block; height: 100%; background: var(--red); }

.compact-metrics { margin-bottom: 15px; }
.compact-metrics article { padding: 14px 18px; }
.compact-metrics .metric-icon { width: 35px; height: 35px; }
.compact-metrics b { font-size: 20px; }
.doc-icon { width: 30px; height: 34px; background: #f9e7e8; color: var(--red); display: grid; place-items: center; }
.data-table td .btn { min-height: 30px; padding: 0 11px; font-size: 8px; }
.fulfillment-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; align-items: start; }
.column-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.column-head h2 { color: var(--navy); font: 700 13px Inter, sans-serif; }
.column-head span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #e5e7ef; color: var(--navy); font-size: 8px; font-weight: 700; }
.fulfillment-card { margin-bottom: 12px; padding: 18px; }
.fc-top { display: flex; justify-content: space-between; }
.fc-top .sector-icon { width: 35px; height: 35px; }
.fc-top button { border: 0; background: none; color: var(--muted); }
.fulfillment-card h3 { color: var(--navy); font: 700 14px Inter, sans-serif; margin: 14px 0 4px; }
.fulfillment-card > p { color: var(--muted); font-size: 9px; margin: 0; }
.fc-meta { display: flex; gap: 13px; color: var(--muted); font-size: 8px; margin: 15px 0; }
.fc-meta span { display: flex; gap: 5px; align-items: center; }
.fc-bottom { border-top: 1px solid var(--line); padding-top: 13px; display: flex; justify-content: space-between; align-items: center; }
.fc-bottom > span { color: #9b9ca7; font-size: 7px; }
.fc-bottom button { border: 0; background: none; color: var(--red); display: flex; gap: 5px; align-items: center; font-size: 8px; font-weight: 700; }
.settings-layout { display: grid; grid-template-columns: 240px 1fr; gap: 15px; align-items: start; }
.settings-nav { padding: 8px; }
.settings-nav button { width: 100%; border: 0; background: none; min-height: 42px; padding: 0 10px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; text-align: left; }
.settings-nav button .icon:last-child { margin-left: auto; }
.settings-nav button.active { background: #f8ebeb; color: var(--red); font-weight: 700; }
.settings-form { padding: 25px; max-width: 700px; }
.settings-form > div:first-child { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.settings-form h2 { color: var(--navy); font: 700 18px Inter, sans-serif; margin: 0; }
.settings-form p { color: var(--muted); font-size: 9px; line-height: 1.5; }
.settings-form > label { margin-bottom: 17px; }
.setting-row { border-top: 1px solid var(--line); padding: 15px 0; display: flex; justify-content: space-between; align-items: center; }
.setting-row b { color: var(--navy); font-size: 10px; }
.setting-row p { margin: 4px 0 0; }
.setting-row input { appearance: none; width: 34px; height: 19px; background: #c9cbd3; border-radius: 12px; position: relative; cursor: pointer; transition: .2s; }
.setting-row input:before { content: ""; position: absolute; width: 15px; height: 15px; left: 2px; top: 2px; background: white; border-radius: 50%; transition: .2s; }
.setting-row input:checked { background: var(--red); }
.setting-row input:checked:before { transform: translateX(15px); }
.settings-save { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: flex-end; }

@media (max-width: 1050px) {
  .header-inner { gap: 15px; }
  .header-inner nav button,
  .header-inner nav a { padding-inline: 10px; }
  .hero-grid { gap: 30px; }
  .stats-card { right: 0; }
  .admin-shell { grid-template-columns: 76px 1fr; }
  .admin-sidebar { width: 76px; padding-inline: 12px; }
  .admin-sidebar .brand { min-width: 0; justify-content: center; }
  .admin-sidebar .brand-copy, .workspace-label, .admin-sidebar nav button:not(.active) span, .admin-sidebar nav button { font-size: 0; }
  .admin-sidebar nav button { justify-content: center; padding: 0; }
  .admin-sidebar nav button .icon { width: 20px; height: 20px; }
  .admin-user div, .admin-user > .icon, .sidebar-bottom > button { display: none; }
  .admin-user { justify-content: center; }
  .admin-main { grid-column: 2; }
  .screening-layout { grid-template-columns: 220px 1fr; }
  .case-sidebar { display: none; }
}

@media (max-width: 900px) {
  .join-page { grid-template-columns: 1fr; min-height: 0; }
  .join-side { min-height: 0; padding: 28px 24px; }
  .join-side > div:nth-child(2) { margin-block: 28px; }
  .join-side .privacy-note { display: none; }
}

@media (max-width: 800px) {
  .header-inner { height: 70px; }
  .header-inner .brand { min-width: 0; }
  .header-inner .brand-copy { display: none; }
  .header-inner nav { display: none; position: absolute; top: 74px; left: 0; right: 0; height: auto; background: white; flex-direction: column; box-shadow: var(--shadow); padding: 10px 20px 20px; }
  .header-inner nav.nav-open { display: flex; }
  .header-inner nav button,
  .header-inner nav a { min-height: 45px; text-align: left; }
  .header-inner nav button.active:after,
  .header-inner nav a.active:after { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .sign-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 16px;
    border: 1px solid #d7d9e2;
    border-radius: 7px;
    background: white;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
  }
  .header-actions .sign-in:hover { color: var(--navy); background: var(--soft); }
  .header-inner nav .nav-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    height: auto;
  }
  .header-inner nav .nav-auth a.btn {
    height: auto;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    justify-content: center;
    border-radius: 7px;
    font-size: 14px;
  }
  .header-inner nav .nav-auth a.btn-primary {
    background: var(--red);
    color: white;
    border: 1px solid transparent;
  }
  .header-inner nav .nav-auth a.btn-primary:hover { background: var(--red-dark); color: white; }
  .header-inner nav .nav-auth a.btn-secondary {
    background: white;
    color: var(--navy);
    border: 1px solid #d7d9e2;
  }
  .header-inner nav .nav-auth a.btn-secondary:hover { color: var(--navy); background: var(--soft); }
  .admin-key { display: none; }
  .menu-button { display: block; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-visual { height: 420px; }
  .image-frame { height: 390px; width: 93%; }
  .proof-row { gap: 15px; overflow-x: auto; }
  .proof-row > * { white-space: nowrap; }
  .section-heading.split, .info-layout, .faq-layout { grid-template-columns: 1fr; gap: 25px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 25px; }
  .cta-section { width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2))); margin-inline: auto; padding: 40px; gap: 30px; }
  .footer-main { grid-template-columns: 2fr 1fr 1fr; }
  .footer-main > div:last-child { display: none; }
  .roles-layout { grid-template-columns: 1fr; }
  .roles-layout aside { display: none; }
  .join-form-wrap { padding: 18px; }
  .portal-grid { grid-template-columns: 1fr; }
  .help-panel { grid-column: 1; grid-row: auto; }
  .admin-page { padding: 20px var(--page-gutter); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .screening-layout { grid-template-columns: 1fr; }
  .case-list { display: none; }
  .fulfillment-columns { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { display: none; }
  .data-table { overflow-x: auto; }
  table { min-width: 750px; }
}

@media (max-width: 560px) {
  .header-actions .btn,
  .header-actions .sign-in { padding-inline: 12px; min-height: 38px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { height: 350px; }
  .image-frame { height: 320px; }
  .stats-card { display: none; }
  .sector-grid, .large-sector-grid, .steps { grid-template-columns: 1fr; }
  .section { padding-block: 65px; }
  .cta-section { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .page-hero, .roles-hero { padding: 70px 0; }
  .page-hero h1, .roles-hero h1 { font-size: 40px; }
  .role-search { grid-template-columns: 1fr; }
  .role-search label { border-right: 0; border-bottom: 1px solid var(--line); }
  .role-card { align-items: flex-start; flex-wrap: wrap; }
  .role-card .btn { width: 100%; }
  .role-meta { flex-wrap: wrap; }
  .join-card { padding: 22px 16px; }
  .wizard-progress { overflow-x: auto; justify-content: flex-start; gap: 16px; padding-bottom: 4px; }
  .wizard-progress:before { display: none; }
  .wizard-progress div,
  .wizard-progress button[data-wizard-step] { min-width: 64px; flex: 0 0 auto; }
  .wizard-progress small { display: none; }
  .form-grid, .select-sector-grid { grid-template-columns: 1fr; }
  .portal-header .brand-copy { display: none; }
  .portal-welcome { align-items: flex-start; gap: 20px; }
  .timeline span { font-size: 7px; }
  .mini-cta .content { flex-direction: column; align-items: flex-start; gap: 15px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { grid-column: 1; }
  .admin-header input { width: 170px; }
  .admin-menu { display: inline-block; }
  .api-ok { display: none; }
  .admin-title { align-items: flex-start; gap: 15px; }
  .admin-title h1 { font-size: 23px; }
  .metric-grid { grid-template-columns: 1fr; }
  .table-tools { flex-wrap: wrap; }
  .table-tools > label { min-width: 100%; height: 43px; }
  .form-actions .btn { width: 100%; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
}

/* â”€â”€ PHP platform compatibility â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
.flash { margin: 1rem auto; width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2))); padding: 0.85rem 1rem; border-radius: 8px; font-weight: 600; font-size: 13px; }
.flash-success { background: #e8f7ef; color: var(--green); }
.flash-error { background: #fdecec; color: var(--red-dark); }
.flash-info { background: #e9ebf7; color: var(--navy); }
.badge, .pill { display: inline-block; border-radius: 20px; padding: 5px 9px; font-size: 10px; font-weight: 700; white-space: nowrap; background: #e9ebf7; color: var(--navy); }
.badge-ready, .pill.green { background: #dff4e9; color: var(--green); }
.badge-rejected, .pill.red { background: #fae2e3; color: var(--red-dark); }
.panel { background: white; border: 1px solid var(--line); padding: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.checkbox-row { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checkbox-row input { margin-top: 0.2rem; }
.table-wrap { overflow-x: auto; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.kpi span { color: var(--muted); font-size: 11px; }
.kpi strong { color: var(--navy); font: 700 28px Inter, sans-serif; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-shell > main { flex: 1; }
.brand-button { border: 0; background: none; padding: 0; color: inherit; }
.public-header .header-inner a.nav-link,
.header-inner nav a {
  border: 0; background: none; color: #4e4f61; padding: 0 18px; font-size: 14px; font-weight: 600;
  position: relative; display: inline-flex; align-items: center; height: 100%; text-decoration: none;
}
.header-inner nav a.active { color: var(--navy); }
.header-inner nav a.active:after { content: ""; position: absolute; height: 3px; border-radius: 3px; background: var(--red); left: 18px; right: 18px; bottom: 0; }
.header-inner nav a:hover { color: var(--navy); }
.sign-in { border: 0; background: none; color: #4e4f61; padding: 0 18px; font-size: 14px; font-weight: 600; text-decoration: none; }
.btn { text-decoration: none; }
.btn:hover { color: inherit; }
footer a, footer .footer-link { display: block; border: 0; padding: 0; background: none; color: #9498b4; margin: 12px 0; font-size: 12px; text-decoration: none; }
footer a:hover, footer .footer-link:hover { color: white; }
.admin-sidebar a {
  border: 0; background: none; color: #aeb1c8; display: flex; align-items: center; gap: 13px;
  min-height: 43px; padding: 0 12px; border-radius: 5px; font-size: 12px; font-weight: 600; text-decoration: none;
}
.admin-sidebar a.active { background: #292e63; color: white; box-shadow: inset 3px 0 var(--red); }
.admin-sidebar a:hover { color: white; }
.admin-body { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; background: #f5f6f9; }
.admin-side { /* legacy alias */ }
.join-page .form-grid label { display: flex; flex-direction: column; gap: 8px; color: #3d3e50; font-size: 11px; font-weight: 700; }
.login-card {
  background: white;
  width: min(520px, 100%);
  margin: clamp(32px, 8vw, 72px) auto;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(19, 23, 64, .07);
}
.login-card h1 { font: 700 28px Inter, sans-serif; color: var(--navy); margin: 8px 0 8px; }
.login-card .sub { color: var(--muted); font-size: 13px; margin: 0 0 28px; }
.wizard-progress .is-active span, .wizard-progress .current span { border-color: var(--red); background: var(--red); color: white; }
.wizard-progress .is-active small, .wizard-progress .current small { color: var(--navy); font-weight: 700; }
.wizard-progress .done span, .wizard-progress .is-done span { background: var(--navy); border-color: var(--navy); color: white; }
.select-sector-grid label.checkbox-row { flex-direction: row; align-items: center; }
.icon { display: inline-block; flex: none; vertical-align: middle; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-copy { animation: rise 700ms ease both; }
.hero-visual { animation: rise 900ms ease both; }
.sector-card { animation: rise 600ms ease both; }
.process-section .step { animation: rise 700ms ease both; }


.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }


.large-sector > a {
  border: 0;
  background: none;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 0;
  text-decoration: none;
}
.large-sector > a:hover { color: var(--red-dark); }
.sector-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.admin-page .form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #3d3e50;
  font-size: 11px;
  font-weight: 700;
}
.admin-page .form-grid input,
.admin-page .form-grid select,
.admin-page .form-grid textarea,
.panel input:not([type="checkbox"]):not([type="radio"]),
.panel select, .panel textarea,
.admin-card input:not([type="checkbox"]):not([type="radio"]),
.admin-card select, .admin-card textarea {
  width: 100%;
  border: 1px solid #dfe0e7;
  background: white;
  border-radius: 5px;
  min-height: 44px;
  padding: 10px 12px;
  outline: none;
  font-size: 12px;
}
.help-panel a {
  border: 0;
  background: none;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  padding: 0;
  text-decoration: none;
}
.card-heading a {
  border: 0;
  background: none;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  gap: 6px;
  align-items: center;
  text-decoration: none;
}
td a { color: var(--navy); font-weight: 700; }
td a:hover { color: var(--red); }

/* Logo contrast: full-color mark sits on a light plate over navy surfaces */
.brand-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(19, 23, 64, 0.06);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.public-header .brand-logo,
.portal-header .brand-logo,
.login-card .brand-logo {
  background: #fff;
}
footer .brand-logo,
.join-side .brand-logo,
.admin-sidebar .brand-logo {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.brand.compact .brand-logo,
.admin-sidebar .brand-logo {
  width: 42px;
  height: 42px;
}

.profile-editor {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  max-width: none;
  margin-inline: auto;
  padding-top: clamp(20px, 4vw, 36px);
  padding-bottom: 60px;
}
.profile-editor > p { color: var(--muted); line-height: 1.7; }
.profile-editor .status-panel { margin: 24px 0; }
.profile-editor h2 { margin: 24px 0 16px; color: var(--navy); }
.profile-editor fieldset { border: 1px solid #ddd; border-radius: 12px; margin-top: 24px; padding: 18px; }
.profile-editor small { display: block; font-weight: 400; color: var(--muted); }
.profile-editor input[type="file"] { max-width: 100%; }
.profile-wizard-page { padding-top: clamp(16px, 3vw, 28px); }
.profile-wizard-page .back-home { display: inline-flex; margin: 0 0 12px; color: var(--muted); font-size: 13px; text-decoration: none; }
.profile-wizard-card { margin-top: 0; width: 100%; max-width: none; }
.wizard-progress button[data-wizard-step] {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  position: relative; z-index: 1; text-align: center; color: #a0a1ac; min-width: 0; padding: 0;
  font: inherit;
}
.wizard-progress button[data-wizard-step] > span {
  width: 29px; height: 29px; border: 1px solid var(--line); background: white; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; margin: auto;
}
.wizard-progress button[data-wizard-step] small { font-size: 9px; display: block; margin-top: 8px; }
.profile-photo-block {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 0 0 28px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fafbfe;
}
.profile-photo-preview {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; background: #e9ebf7; color: var(--navy); border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(19, 23, 64, 0.12);
}
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-copy { display: flex; flex-direction: column; gap: 6px; min-width: 200px; flex: 1; }
.profile-photo-copy b { color: var(--navy); font-size: 14px; }
.profile-photo-copy small { color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 400; }
.profile-photo-input { position: relative; display: inline-flex; margin-top: 6px; width: fit-content; }
.profile-photo-input input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.profile-photo-input .btn { pointer-events: none; min-height: 38px; font-size: 12px; }
.profile-menu-avatar.has-photo { padding: 0; overflow: hidden; background: transparent; }
.profile-menu-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile-doc-empty { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 12px; }
.profile-repeat-block { margin: 22px 0 8px; }
.profile-repeat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 12px; flex-wrap: wrap;
}
.profile-repeat-head h3 {
  margin: 0; color: var(--navy); font: 700 15px/1.3 Inter, sans-serif;
}
.profile-repeat-wrap {
  border: 1px solid var(--line); border-radius: 12px; overflow: auto; background: #fff;
}
.profile-repeat-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.profile-repeat-table th,
.profile-repeat-table td {
  display: table-cell; vertical-align: middle; text-align: left;
  padding: 10px; border-top: 1px solid var(--line); background: transparent;
}
.profile-repeat-table thead th {
  border-top: 0; background: #fafbfe; color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.profile-repeat-table td:first-child { display: table-cell; }
.profile-repeat-table input,
.profile-repeat-table select,
.profile-repeat-table textarea {
  width: 100%; min-width: 0; border: 1px solid #dfe0e7; background: #fff;
  border-radius: 8px; min-height: 40px; padding: 8px 10px; font-size: 13px; color: var(--ink);
}
.profile-repeat-table textarea { min-height: 40px; resize: vertical; }
.profile-repeat-table input:focus,
.profile-repeat-table select:focus,
.profile-repeat-table textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px #ececf3; outline: none;
}
.profile-repeat-check { text-align: center; white-space: nowrap; }
.profile-repeat-check label {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  font-size: 12px; font-weight: 600; color: var(--navy); cursor: pointer;
}
.profile-repeat-table td:last-child { white-space: nowrap; width: 1%; }
.profile-docs-wrap {
  margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
}
.profile-docs-table { width: 100%; border-collapse: collapse; min-width: 0; }
.profile-docs-table th,
.profile-docs-table td {
  display: table-cell; text-align: left; vertical-align: top;
  padding: 12px 14px; border-top: 1px solid var(--line); background: transparent;
}
.profile-docs-table thead th {
  color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; background: #fafbfe; border-top: 0;
}
.profile-docs-table td { color: var(--ink); font-size: 13px; }
.profile-docs-table td:first-child { display: table-cell; }
.profile-docs-table td b {
  display: block; color: var(--navy); font-size: 13px; font-weight: 700;
  overflow-wrap: anywhere; line-height: 1.35;
}
.profile-docs-table td small {
  display: block; color: var(--muted); font-size: 12px; margin-top: 4px; font-weight: 400;
}
.profile-docs-table .pill { font-size: 11px; }
.profile-docs-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
@media (max-width: 700px) {
  .profile-docs-wrap { overflow-x: auto; }
  .profile-docs-table { min-width: 520px; }
}
.profile-upload-form .form-actions { flex-wrap: wrap; gap: 10px; }
.task a { margin-left: auto; }
.task .task-edit { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; color: var(--navy); border-radius: 8px; text-decoration: none; }
.task .task-edit:hover { color: var(--red); background: #fceeee; }
.task .task-edit:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.form-stage[hidden] { display: none; }

.profile-build-choice h1,
.profile-ai-upload h1 { font: 700 28px/1.25 Inter, sans-serif; color: var(--navy); margin: 8px 0 12px; }
.portal-build-choice { margin: 0 0 22px; padding: 28px 30px; }
.portal-build-choice h2 { font: 700 clamp(22px, 3vw, 28px)/1.25 Inter, sans-serif; color: var(--navy); margin: 8px 0 10px; }
.portal-build-choice > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.task-mark { display: inline-grid; place-items: center; width: 22px; flex-shrink: 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.task.done .task-mark { color: #1f7a45; }
.profile-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 18px; }
.profile-choice-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; background: #fafbfe; transition: border-color .15s, box-shadow .15s; }
.profile-choice-card:hover { border-color: #c4c9e2; box-shadow: 0 8px 24px #1714450d; }
.profile-choice-card b { color: var(--navy); font-size: 16px; }
.profile-choice-card span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.profile-choice-ai { border-color: #f0c8ca; background: #fff8f8; }
.profile-choice-note { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.profile-ai-upload > p,
.profile-ai-upload [data-ai-idle] > p,
.profile-ai-working > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.profile-ai-steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; margin: 22px 0 0; padding: 0;
}
.profile-ai-steps li {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfe;
}
.profile-ai-steps span {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 11px; font-weight: 700;
}
.profile-ai-steps b { color: var(--navy); font-size: 13px; margin-top: 6px; }
.profile-ai-steps small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.profile-ai-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; width: 100%; min-height: 188px; margin: 18px 0 0; padding: 32px 20px;
  border: 1.5px dashed #c9cedc; border-radius: 14px; background: #fafbfe; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.profile-ai-drop:hover,
.profile-ai-drop.is-drag { border-color: var(--red); background: #fff8f8; }
.profile-ai-drop.has-file { border-style: solid; border-color: #d7dbe8; background: #fff; }
.profile-ai-drop input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}
.profile-ai-mark {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: #f7e6e7; color: var(--red); margin-bottom: 4px;
}
.profile-ai-drop b { color: var(--navy); font-size: 15px; max-width: 100%; overflow-wrap: anywhere; }
.profile-ai-drop small { color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 400; }

.profile-ai-working { animation: ai-panel-in .35s ease both; }
.profile-ai-orbit {
  width: 54px; height: 54px; margin: 0 0 18px; position: relative;
}
.profile-ai-orbit span {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent;
  border-top-color: var(--red); animation: ai-spin 1s linear infinite;
}
.profile-ai-orbit span:nth-child(2) {
  inset: 8px; border-top-color: var(--navy); animation-duration: 1.4s; animation-direction: reverse;
}
.profile-ai-orbit span:nth-child(3) {
  inset: 16px; border-top-color: #c9cedc; animation-duration: 1.8s;
}
.profile-ai-progress {
  list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px;
}
.profile-ai-progress li {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fafbfe;
  opacity: .55; transition: opacity .2s, border-color .2s, background .2s, transform .2s;
}
.profile-ai-progress li.is-active,
.profile-ai-progress li.is-done { opacity: 1; }
.profile-ai-progress li.is-active {
  border-color: #f0c8ca; background: #fff8f8; transform: translateX(2px);
}
.profile-ai-progress li.is-done { border-color: #d7e8dc; background: #f5fbf7; }
.profile-ai-progress i {
  width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid #c9cedc; background: #fff; position: relative;
}
.profile-ai-progress li.is-active i {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(197, 36, 40, 0.12);
  animation: ai-pulse 1.2s ease infinite;
}
.profile-ai-progress li.is-done i {
  border-color: #1f7a45; background: #1f7a45;
}
.profile-ai-progress li.is-done i:after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.profile-ai-progress b { display: block; color: var(--navy); font-size: 13px; }
.profile-ai-progress small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; line-height: 1.4; }
.profile-ai-working [data-ai-found] {
  margin-top: 16px; color: var(--navy); font-weight: 600; font-size: 13px;
  animation: ai-panel-in .3s ease both;
}
.is-ai-review { animation: ai-panel-in .45s ease both; }
.profile-ai-review-banner { animation: ai-panel-in .5s ease .05s both; }
.ai-filled-mark {
  display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px;
  background: #f7e6e7; color: var(--red); font-size: 10px; font-style: normal; font-weight: 700;
  letter-spacing: .02em; vertical-align: middle;
}
label.is-ai-filled input,
label.is-ai-filled textarea,
label.is-ai-filled select,
input.is-ai-filled,
textarea.is-ai-filled,
select.is-ai-filled {
  border-color: #e7b4b6;
  background: #fffafa;
  box-shadow: inset 0 0 0 1px rgba(197, 36, 40, 0.04);
}
@keyframes ai-spin { to { transform: rotate(360deg); } }
@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(197, 36, 40, 0.12); }
  50% { box-shadow: 0 0 0 8px rgba(197, 36, 40, 0.05); }
}
@keyframes ai-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.profile-switch-mode { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.profile-switch-mode a { color: var(--red); text-decoration: none; font-weight: 600; }
@media (max-width: 760px) {
  .profile-choice-grid,
  .profile-ai-steps { grid-template-columns: 1fr; }
}

.profile-menu { position: relative; flex-shrink: 0; color: var(--navy); }
.profile-menu-trigger { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 28px; padding: 6px 12px 6px 6px; background: white; min-height: 48px; }
.profile-menu-trigger::-webkit-details-marker { display: none; }
.profile-menu-trigger:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.profile-menu-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; color: white; background: var(--navy); }
.profile-menu-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
.profile-menu-name small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.profile-menu-chevron { flex-shrink: 0; transition: transform .15s; }
.profile-menu[open] .profile-menu-chevron { transform: rotate(180deg); }
.profile-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 100; width: 260px; max-width: calc(100vw - 32px); background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 36px #101c3826; overflow: hidden; }
.profile-menu-identity { padding: 18px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.profile-menu-identity b { display: block; font-size: 13px; }
.profile-menu-identity small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.profile-menu-panel .profile-menu-links { display: flex; flex-direction: column; padding: 6px; }
.profile-menu-panel .profile-menu-links a { display: flex; align-items: center; gap: 9px; padding: 12px; color: var(--navy); font-size: 13px; font-weight: 500; border-radius: 8px; text-decoration: none; }
.profile-menu-panel .profile-menu-links a:hover, .profile-menu-panel .profile-menu-links a:focus-visible { background: #f2f3f7; }
.profile-menu-panel .profile-menu-links .profile-menu-signout { border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; color: var(--red); }
@media (max-width: 600px) {
  .profile-menu-name { max-width: 115px; }
  .header-actions .profile-menu-name { display: none; }
}

/* Open career detail — full content width, sticky apply */
.career-body { background: var(--soft); }
.career-page { padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 6vw, 72px); }
.career-shell { display: flex; flex-direction: column; gap: 22px; }
.career-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--muted); font-size: 13px;
}
.career-breadcrumb a { color: var(--red); text-decoration: none; font-weight: 600; }
.career-breadcrumb a:hover { text-decoration: underline; }
.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.9fr);
  gap: clamp(18px, 2.5vw, 28px);
  align-items: start;
}
.career-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.career-hero { padding: clamp(24px, 3vw, 34px); }
.career-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.career-status-pill {
  background: #e8f6ee; color: var(--green); font-size: 11px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px; letter-spacing: .02em;
}
.career-hero h1 {
  margin: 12px 0 14px; color: var(--navy);
  font: 700 clamp(28px, 4vw, 40px)/1.12 Inter, sans-serif; letter-spacing: -.02em;
}
.career-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 14px;
}
.career-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.career-meta .icon { color: var(--red); }
.career-ref { font-variant-numeric: tabular-nums; }
.career-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.career-requirements {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.career-facts-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  width: 100%;
}
.career-fact {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid #d8dae6;
  padding: 18px 18px 18px 16px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.career-fact:hover {
  border-color: #cfd2df;
  border-left-color: var(--red);
  box-shadow: 0 10px 28px rgba(19, 23, 64, .07);
  transform: translateY(-1px);
}
.career-fact-edu { border-left-color: var(--navy-mid); }
.career-fact-exp { border-left-color: var(--red); }
.career-fact-industries { border-left-color: #4a6fa5; }
.career-fact-edu:hover { border-left-color: var(--navy); }
.career-fact-exp:hover { border-left-color: var(--red-dark); }
.career-fact-industries:hover { border-left-color: #355986; }
.career-fact-wide { width: 100%; }
.career-fact-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.career-fact-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f0f1f6;
  color: var(--navy);
  flex: none;
}
.career-fact-edu .career-fact-icon { background: #eceef8; color: var(--navy-mid); }
.career-fact-exp .career-fact-icon { background: #f9e7e8; color: var(--red); }
.career-fact-industries .career-fact-icon { background: #e7eef5; color: #37617b; }
.career-fact small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.career-fact p {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  flex: 1;
}
.career-fact .career-bullets {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
  flex: 1;
}
.career-fact .career-bullets li + li { margin-top: 6px; }
.career-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.career-pills span {
  background: #f0f1f6;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 999px;
}
.career-section { padding: 0; overflow: hidden; }
.career-section > [data-accordion-toggle] {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 0; background: transparent; padding: 18px 22px; color: var(--navy);
  font: 700 16px Inter, sans-serif; text-align: left;
}
.career-section > [data-accordion-toggle]:hover { background: #fafafc; }
.career-section > [data-accordion-toggle] i { color: var(--red); display: grid; place-items: center; }
.career-section > [data-accordion-toggle] .icon-chevron {
  transition: transform .2s ease;
  transform: rotate(0deg);
}
.career-section.open > [data-accordion-toggle] .icon-chevron {
  transform: rotate(180deg);
}
.career-section-body { padding: 0 22px 20px; }
.career-section:not(.open) .career-section-body { display: none; }
.career-outline { display: grid; gap: 16px; }
.career-outline-group { min-width: 0; }
.career-outline-heading {
  margin: 0 0 8px;
  color: var(--navy);
  font: 700 14px Inter, sans-serif;
}
.career-outline-heading + .career-bullets { margin-top: 0; }
.career-prose {
  margin: 0;
  color: var(--ink, #1f2430);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.career-prose-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.career-prose-label + .career-bullets { margin-top: 0; }
.career-prose-label + .career-prose { margin-top: 0; }
.career-section-body .career-prose-label:not(:first-child) { margin-top: 16px; }
.career-bullets { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.career-bullets li + li { margin-top: 8px; }
.career-apply-action { margin-top: 18px; }
.career-apply-action .btn { min-width: 140px; justify-content: center; }
.career-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.career-apply { padding: 24px; position: sticky; top: 96px; }
.career-apply h2 {
  margin: 8px 0 12px; color: var(--navy); font: 700 22px Inter, sans-serif; letter-spacing: -.02em;
}
.career-apply > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.career-apply .cta-row { margin-top: 0; margin-bottom: 8px; }
.career-apply .btn { width: 100%; justify-content: center; }
.career-apply .cta-row .btn { width: auto; flex: 1 1 140px; }
.career-apply form .btn { width: 100%; }
.career-steps {
  list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.career-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.45; }
.career-steps b {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: #f3e7e8; color: var(--red);
  display: grid; place-items: center; font-size: 11px;
}
.career-more { padding: 20px 22px; }
.career-more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.career-more-head h3 { margin: 0; color: var(--navy); font: 700 15px Inter, sans-serif; }
.career-more-head a { color: var(--red); font-size: 12px; font-weight: 700; text-decoration: none; }
.career-more-head a:hover { text-decoration: underline; }
.career-more ul { list-style: none; margin: 0; padding: 0; }
.career-more li + li { border-top: 1px solid var(--line); }
.career-more a {
  display: block; padding: 12px 0; text-decoration: none; color: inherit;
  transition: color .15s ease;
}
.career-more a:hover b { color: var(--red); }
.career-more b { display: block; color: var(--navy); font-size: 14px; margin-bottom: 4px; }
.career-more small { color: var(--muted); font-size: 12px; line-height: 1.4; }
@media (max-width: 920px) {
  .career-layout { grid-template-columns: 1fr; }
  .career-apply { position: static; }
}
@media (max-width: 720px) {
  .career-facts-pair { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .career-hero-top { align-items: flex-start; flex-direction: column; }
}
