/* A polished digital personnel-folder treatment for Talent profiles. */
.talent-profile-page { max-width: 1260px; }
.talent-profile-page .back-to-directory { margin-bottom: 22px; }

@media (min-width: 1500px) {
  .page.talent-profile-page {
    max-width: calc(66.14vw + 84px);
    padding-top: 26px;
  }

  .talent-profile-page .talent-file-shell { left: -1.41vw; }
  .talent-profile-page .back-to-directory { margin-bottom: 22px; }
}

.talent-file-shell {
  --folder-ink: #0c4279;
  --folder-edge: #c49d5d;
  --folder-paper: #fff8e9;
  position: relative;
  margin-top: 0;
}

.talent-file-tabs {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 0 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.talent-file-tabs::-webkit-scrollbar { display: none; }

.talent-file-tab {
  position: relative;
  isolation: isolate;
  flex: 0 0 250px;
  min-width: 250px;
  max-width: 250px;
  min-height: 48px;
  margin: 0 0 -1px;
  padding: 14px 28px 11px;
  border: 0;
  background: transparent;
  color: #0b386a;
  font: 750 14px/1.2 Arial, sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
}

.talent-file-tab::before,
.talent-file-tab::after {
  content: none;
}

.talent-file-tab { background: url("folder-tab.svg") no-repeat center bottom / 100% 100%; }
.talent-file-tab:hover { filter: brightness(1.025); }

.talent-file-tab[aria-selected="true"] {
  z-index: 4;
  min-height: 48px;
  margin-bottom: -3px;
  color: #062f62;
  background-image: url("folder-tab-active.svg");
}

.talent-file-tab:focus-visible { outline: 3px solid rgba(243, 93, 43, .28); outline-offset: 2px; }
.talent-file-body {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(42, 85, 123, .52);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.5), rgba(255,249,234,.36)),
    #fdf0d7;
  box-shadow: 0 14px 34px rgba(52, 61, 72, .065);
}

.talent-file-body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: radial-gradient(rgba(122, 92, 48, .12) .55px, transparent .55px);
  background-size: 6px 6px;
}

.talent-file-body > * { position: relative; }

.talent-file-body .talent-profile-hero {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 435px;
  gap: 40px;
  align-items: start;
  min-height: 392px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  padding: 28px 28px 20px;
  background: transparent;
}

.talent-file-body .headshot-wrap {
  position: relative;
  gap: 10px;
  justify-items: center;
  align-self: start;
  flex-basis: auto;
}

.talent-file-body .talent-headshot {
  position: relative;
  width: 230px;
  height: 270px;
  box-sizing: border-box;
  overflow: visible;
  display: grid;
  place-items: center;
  padding: 11px 11px 43px;
  border: 1px solid #d4d1ca;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 15px 30px rgba(30, 39, 50, .19), 0 2px 5px rgba(30, 39, 50, .1);
  color: #fff;
  font-size: 34px;
  transform: rotate(-4deg);
}

.talent-file-body .talent-headshot::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -11px;
  left: 21px;
  width: 20px;
  height: 57px;
  border: 3px solid #959ca3;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.62), 1px 2px 3px rgba(34,40,50,.2);
  transform: rotate(-6deg);
}

.talent-file-body .talent-headshot::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -3px;
  left: 27px;
  width: 10px;
  height: 42px;
  border: 1.5px solid rgba(242, 244, 246, .95);
  border-radius: 8px;
  transform: rotate(-6deg);
  pointer-events: none;
}

.talent-file-body .talent-headshot img,
.talent-file-body .talent-headshot > span {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  object-fit: cover;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 29%, rgba(255,255,255,.2) 0 25px, transparent 26px),
    radial-gradient(ellipse at 50% 101%, rgba(255,255,255,.13) 0 70px, transparent 71px),
    linear-gradient(145deg, #214c79, #6f9fc2);
}

.talent-file-body .talent-headshot img { object-position: center 28%; }
.talent-file-body .talent-headshot > span { font-size: 30px; font-weight: 780; letter-spacing: .045em; text-shadow: 0 2px 9px rgba(5,34,65,.24); }

.talent-file-body .headshot-upload { min-height: 40px; padding-inline: 15px; background: #fffdf8; box-shadow: 0 2px 8px rgba(30,39,50,.05); }
.talent-file-body .headshot-wrap small { max-width: 220px; }
.talent-file-body .profile-identity { align-self: start; padding: 62px 0 0; }
.talent-file-body .profile-identity h1 { max-width: 660px; margin-top: 4px; font-size: clamp(29px, 1.9vw, 36px); line-height: 1.08; }
.talent-file-body .profile-tags { margin-top: 16px; }

.talent-file-body .profile-private-address {
  width: min(100%, 310px);
  box-sizing: border-box;
  justify-self: end;
  margin: 0;
  margin-bottom: 25px;
  padding: 22px 15px;
  border-color: #c7d8e7;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 3px 12px rgba(20, 55, 90, .04);
}

.talent-file-body .profile-private-address p { margin: 4px 0 5px; }

.talent-file-body .profile-hero-media {
  width: 100%;
  max-width: 435px;
  display: grid;
  align-self: start;
  align-content: start;
  gap: 0;
  justify-items: stretch;
  flex: none;
}

.talent-file-body .profile-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 9px;
  flex-wrap: nowrap;
  margin-bottom: 12px;
}

.talent-file-body .profile-actions > .button,
.talent-file-body .profile-actions .admin-record-button {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 9px;
  box-shadow: 0 2px 7px rgba(26, 47, 72, .04);
}

.talent-file-body .admin-profile-controls { flex-wrap: nowrap; gap: 9px; }
.talent-file-body .profile-introduction-video { padding: 20px 14px; background: rgba(255,255,255,.82); box-shadow: 0 4px 14px rgba(27,49,74,.05); }

.talent-file-panels { padding: 16px 0 0; }
.talent-file-panel[hidden] { display: none !important; }
.talent-file-panel { min-width: 0; }
.talent-file-profile-panel .profile-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 10px;
}
.talent-self-profile-page .talent-file-profile-panel .profile-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.talent-file-profile-panel .profile-stat-grid article { background: #fff; box-shadow: 0 4px 14px rgba(25,48,74,.035); }
.talent-file-profile-panel .profile-layout { margin: 0; }
.talent-file-documents-panel .profile-documents-section { margin: 0; }
.talent-profile-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #ead7d2;
  border-radius: 14px;
  background: #fffaf8;
}
.talent-profile-danger-zone[hidden] { display: none !important; }
.talent-profile-danger-zone h2 { margin: 2px 0 4px; color: #7f302a; font-size: 17px; }
.talent-profile-danger-zone p:last-child { margin: 0; color: #6f5960; font-size: 13px; }
.talent-profile-danger-actions { flex: 0 0 auto; }
.talent-file-panel[data-talent-file-panel="benefits"],
.talent-file-panel[data-talent-file-panel="attendance"],
.talent-file-panel[data-talent-file-panel="client"] {
  padding: 22px;
  border: 1px solid #e2e7ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(23, 45, 70, .045);
}

.talent-tab-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 22px 23px;
  border: 1px solid rgba(198, 166, 111, .5);
  border-radius: 14px;
  background: rgba(255, 253, 248, .82);
}

.talent-tab-heading h2 { margin: 2px 0 6px; color: #0a386b; font: 700 25px/1.2 Georgia, serif; }
.talent-tab-heading p:last-child { max-width: 720px; margin: 0; color: #5a6d82; font-size: 14px; line-height: 1.5; }
.restricted-chip { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #fff0e6; color: #9c401f; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }

.talent-tab-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.talent-tab-summary article { min-height: 126px; padding: 17px; border: 1px solid #e0d2ba; border-radius: 13px; background: rgba(255,255,255,.82); }
.talent-tab-summary span { display: block; color: #667085; font-size: 11px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.talent-tab-summary strong { display: block; margin: 9px 0 6px; color: #102f54; font-size: 17px; line-height: 1.3; }
.talent-tab-summary small { display: block; color: #667085; font-size: 12px; line-height: 1.45; }

.talent-tab-empty { display: flex; gap: 14px; align-items: center; padding: 22px; border: 1px dashed #ccb182; border-radius: 13px; background: rgba(255, 252, 244, .68); }
.talent-tab-empty > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; background: #f1dfbd; color: #8c6023; font-size: 20px; }
.talent-tab-empty strong { display: block; color: #173b65; font-size: 14px; }
.talent-tab-empty p { margin: 4px 0 0; color: #667085; font-size: 13px; line-height: 1.45; }
.talent-tab-empty.compact { padding: 17px; }

.client-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.client-work-grid > section { padding: 19px; border: 1px solid #e0d2ba; border-radius: 13px; background: rgba(255,255,255,.82); }
.client-work-grid h3 { margin: 2px 0 0; color: #143c69; font-size: 16px; }

.attendance-table-wrap { overflow-x: auto; border: 1px solid #e0d2ba; border-radius: 13px; background: rgba(255,255,255,.84); }
.attendance-table { width: 100%; border-collapse: collapse; }
.attendance-table th, .attendance-table td { padding: 13px 15px; border-bottom: 1px solid #ece4d6; text-align: left; font-size: 13px; }
.attendance-table th { color: #53657b; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.attendance-table tr:last-child td { border-bottom: 0; }

@media (max-width: 1100px) {
  .talent-file-body .talent-profile-hero { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; }
  .talent-file-body .talent-headshot { width: 180px; height: 218px; padding: 10px 10px 36px; }
  .talent-file-body .profile-identity { padding-top: 38px; }
  .talent-file-body .profile-hero-media { grid-column: 1 / -1; max-width: none; grid-template-columns: minmax(280px, .8fr) minmax(340px, 1.2fr); align-items: start; gap: 12px; }
  .talent-file-body .profile-private-address { justify-self: start; margin-bottom: 0; padding: 13px 15px; }
  .talent-file-body .profile-actions { justify-content: flex-start; margin-bottom: 0; }
  .talent-file-body .profile-introduction-video { padding: 13px 14px; }
}

@media (max-width: 760px) {
  .talent-file-tabs { padding: 0 9px; gap: 5px; }
  .talent-file-tab { flex: 0 0 148px; min-width: 148px; min-height: 44px; padding-inline: 18px; }
  .talent-file-tab[aria-selected="true"] { min-height: 44px; }
  .talent-file-body { border-radius: 14px; }
  .talent-file-body .talent-profile-hero { grid-template-columns: 150px minmax(0, 1fr); gap: 24px 18px; min-height: 0; padding: 27px 18px 22px; align-items: start; }
  .talent-file-body .headshot-wrap { justify-self: center; }
  .talent-file-body .profile-identity { align-self: start; padding-top: 6px; }
  .talent-file-body .profile-identity h1 { font-size: 25px; }
  .talent-file-body .profile-identity > p:not(.eyebrow) { font-size: 13px; line-height: 1.4; }
  .talent-file-body .profile-private-address { padding: 10px 11px; }
  .talent-file-body .profile-hero-media { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .talent-file-body .profile-actions { flex-wrap: wrap; }
  .talent-file-body .admin-profile-controls { flex-wrap: wrap; }
  .talent-file-profile-panel .profile-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talent-file-panels { padding-top: 15px; }
  .talent-file-panel[data-talent-file-panel="benefits"],
  .talent-file-panel[data-talent-file-panel="attendance"],
  .talent-file-panel[data-talent-file-panel="client"] { padding: 18px; }
  .talent-tab-summary, .client-work-grid { grid-template-columns: 1fr; }
  .talent-profile-danger-zone { display: grid; }
}

@media (max-width: 520px) {
  .talent-file-body .talent-profile-hero { grid-template-columns: 132px minmax(0, 1fr); gap: 22px 15px; padding-inline: 15px; }
  .talent-file-body .talent-headshot { width: 128px; height: 160px; padding: 8px 8px 30px; transform: rotate(-2deg); }
  .talent-file-body .talent-headshot::after { left: 17px; height: 45px; }
  .talent-file-body .talent-headshot::before { left: 23px; height: 31px; }
  .talent-file-body .headshot-upload { padding-inline: 9px; font-size: 11px; }
  .talent-file-body .headshot-wrap small { font-size: 10px; }
  .talent-file-body .profile-identity h1 { font-size: 23px; }
  .talent-file-body .profile-private-address { margin-top: 11px; }
  .talent-file-profile-panel .profile-stat-grid { grid-template-columns: 1fr; }
  .talent-tab-heading { display: grid; padding: 18px; }
  .talent-file-body .profile-actions { justify-content: flex-start; }
}

.profile-skill-review {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}

.profile-skill-review__group {
  padding: 15px 16px;
  border: 1px solid #e4d8c5;
  border-radius: 12px;
  background: #fffdf9;
}

.profile-skill-review__group--verified {
  border-color: #bfd5e8;
  background: #f7fbff;
}

.profile-skill-review__group h3 {
  margin: 2px 0 10px;
  color: #123b69;
  font-size: 15px;
}

.profile-skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-skill-chips span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf3f9;
  color: #234b73;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.profile-skill-review__group--verified .profile-skill-chips span {
  background: #e4f2ee;
  color: #17655a;
}

.profile-skill-empty {
  margin: 0;
  color: #6b7788;
  font-size: 13px;
  line-height: 1.45;
}

/* Locked concept match: lighter folder, precise seam, compact hero. */
.talent-file-shell {
  --folder-paper: #fffaf0;
  --folder-edge: #c9a66b;
}

.talent-folder-art,
.talent-paperclip { display: none; }

.talent-file-body {
  overflow: visible;
  border-width: 1.5px;
  border-radius: 17px;
  border-color: rgba(42, 75, 103, .45);
  background: linear-gradient(112deg, rgba(255,255,255,.74), rgba(255,249,235,.5)), #fff5df;
  box-shadow: 0 15px 34px rgba(36, 48, 62, .07);
}

.talent-file-body::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 13px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(73,103,130,.58), rgba(126,121,105,.35) 72%, rgba(126,121,105,.16));
  box-shadow: 0 1px 0 rgba(255,255,255,.72);
  box-shadow: none;
  pointer-events: none;
}

.talent-file-tab {
  min-height: 48px;
  padding-block: 14px 11px;
  font-size: 13px;
}

.talent-file-body .talent-profile-hero {
  grid-template-columns: 215px minmax(0, 1fr) minmax(330px, 410px);
  gap: 34px;
  min-height: 360px;
  padding: 24px 26px 34px;
}

.talent-file-body .talent-headshot {
  width: 202px;
  height: 242px;
  padding: 10px 10px 39px;
  transform: rotate(-4deg);
  box-shadow: 0 13px 27px rgba(30, 39, 50, .16), 0 2px 5px rgba(30, 39, 50, .09);
}

.talent-file-body .talent-headshot::after {
  top: -45px;
  left: 14px;
  width: 48px;
  height: 96px;
  border: 0;
  border-radius: 0;
  background: url("paperclip.svg") no-repeat center / contain;
  box-shadow: none;
  transform: rotate(-4deg);
}

.talent-file-body .talent-headshot::before { content: none; }

.talent-file-body .talent-headshot .talent-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
  background: #315f89;
}

.talent-file-body .talent-placeholder svg { width: 100%; height: 100%; display: block; }
.talent-file-body .talent-placeholder b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  color: #fff;
  font-size: 22px;
  font-weight: 780;
  letter-spacing: .08em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(5, 34, 65, .24);
}

.talent-file-body .profile-identity { padding-top: 42px; }
.talent-file-body .profile-identity h1 { margin-bottom: 7px; }
.talent-file-body .profile-identity .profile-private-address {
  width: min(100%, 520px);
  margin: 17px 0 0;
  padding: 13px 15px;
  border-color: #cfdbe7;
  background: rgba(255,255,255,.72);
  box-shadow: 0 3px 10px rgba(20,55,90,.035);
}
.talent-file-body .profile-identity .profile-private-address p { margin: 4px 0; }
.talent-file-body .profile-identity .profile-tags { margin: 12px 0 24px; }

.talent-file-body .profile-hero-media { max-width: 410px; padding-top: 42px; }
.talent-file-body .profile-actions { margin-bottom: 11px; }
.talent-file-body .profile-introduction-video {
  padding: 13px 14px;
  border-color: #d5dee8;
  background: rgba(255,255,255,.76);
}
.talent-file-body .profile-introduction-video video { max-height: 170px; object-fit: contain; background: #092f59; }

.talent-file-profile-panel .profile-layout {
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
  gap: 16px;
  align-items: start;
}

.profile-summary-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
}

.profile-summary-column .profile-details-section { margin: 0; }

.profile-skill-review { margin: 0; gap: 11px; }
.profile-skill-review > .panel-head { margin-bottom: 2px; }
.profile-skill-review__group { padding: 14px 15px; }
.skill-group-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.skill-group-heading h3 { margin-top: 2px; }
.verified-label, .reported-label {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.verified-label { color: #17655a; background: #e2f3ed; }
.reported-label { color: #6a5a42; background: #f3eadb; }

.verified-skill-list { display: grid; gap: 7px; }
.verified-skill-list article {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid #cce2da;
  border-radius: 10px;
  background: #fff;
}
.verified-skill-check { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #24816f; font-weight: 800; }
.verified-skill-list strong, .verified-skill-list small { display: block; }
.verified-skill-list strong { color: #173b65; font-size: 13px; }
.verified-skill-list small { margin-top: 2px; color: #608079; font-size: 10px; }
.verified-skill-list b { color: #315c70; font-size: 11px; font-weight: 750; white-space: nowrap; }

.profile-screening {
  min-width: 0;
  margin: 0;
  padding: 20px 21px 22px;
  border: 1px solid #dfe6ed;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(23,45,70,.04);
}
.profile-screening .screening-heading { margin: 0; }
.profile-screening .screening-title { margin: 2px 0 0; color: #123b69; font-size: 19px; }
.screening-copy { margin: 6px 0 16px; color: #667085; font-size: 12px; line-height: 1.45; }
.screening-dashboard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; }
.screening-card { min-width: 0; padding: 17px; border: 1px solid #d7e1ea; border-radius: 13px; background: linear-gradient(145deg,#fff 0%,#f7fafc 100%); box-shadow: 0 4px 14px rgba(25,58,89,.035); }
.screening-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.screening-card > header span:first-child { color: #53657b; font-size: 11px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.screening-card h4 { margin: 3px 0 0; color: #113a67; font-size: 15px; }
.screening-state { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #53657b; background: #eef1f5; font-size: 11px !important; }
.screening-state--ready { color: #17655a !important; background: #e3f3ed; }
.screening-state--review { color: #9a481f !important; background: #fff0e5; }

.screening-card__layout {
  min-width: 0;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}
.screening-card__visual { min-width: 0; display: grid; place-items: center; }
.screening-card__details { min-width: 0; }
.screening-detail-label { display: block; margin-bottom: 5px; color: #53657b; font-size: 11px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.screening-card__details > p { margin: 0; color: #183e69; font-size: 13px; font-weight: 750; line-height: 1.45; overflow-wrap: anywhere; }
.screening-card__details > small { display: block; margin-top: 7px; color: #53657b; font-size: 11px; line-height: 1.45; }
.screening-result-note, .screening-tier-note { margin: 11px 0 0; color: #53657b; font-size: 11px; line-height: 1.45; }
.screening-tier-note { padding: 8px 10px; border-radius: 8px; background: #f1f4f7; }

.screening-tier--low { --tier-color: #b42318; --tier-ink: #8a1c13; --tier-soft: #fff1f0; }
.screening-tier--middle { --tier-color: #a15c00; --tier-ink: #754300; --tier-soft: #fff7e6; }
.screening-tier--high { --tier-color: #18794e; --tier-ink: #12613e; --tier-soft: #ebf8f1; }
.screening-tier--pending { --tier-color: #7a8796; --tier-ink: #53657b; --tier-soft: #f1f4f7; }
.screening-score-visual { gap: 8px; }
.screening-tier-label { display: inline-flex; justify-content: center; padding: 5px 8px; border-radius: 999px; color: var(--tier-ink); background: var(--tier-soft); font-size: 11px; font-weight: 800; line-height: 1.2; text-align: center; }

.screening-ring {
  width: 124px;
  height: 124px;
  display: grid;
  place-content: center;
  margin: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 60%, transparent 62%), conic-gradient(var(--tier-color) calc(var(--score) * 1%), #e6edf2 0);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(39,94,132,.04), 0 7px 20px rgba(31,85,124,.08);
}
.screening-ring strong { color: #0b3a69; font: 700 30px/1 Georgia, serif; }
.screening-ring small { margin-top: 4px; color: #53657b; font-size: 11px; }
.screening-score-visual .screening-ring strong { color: var(--tier-ink); }
.proficiency-track { display: grid; gap: 6px; margin: 3px 0 11px; }
.semantic-scale { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg,#c95151 0 59%,#d9aa43 59% 79%,#309066 79% 100%); box-shadow: inset 0 0 0 1px rgba(28,53,72,.1); }
.semantic-scale i { --score-position: 0%; position: absolute; left: var(--score-position); top: 50%; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; background: var(--tier-color); box-shadow: 0 1px 4px rgba(16,43,61,.34); transform: translate(-50%,-50%); }
.scale-labels { display: flex; justify-content: space-between; gap: 8px; color: #53657b; font-size: 11px; font-weight: 650; }
.scale-labels strong { color: var(--tier-ink); font-size: inherit; }

.personality-score-grid { display: grid; gap: 8px; margin-top: 14px; }
.personality-score-grid > div { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: start; gap: 13px; padding: 13px 14px; border: 1px solid #e1e8ee; border-radius: 10px; background: linear-gradient(90deg,#edf4f8,#f8fafc); }
.personality-score-grid span { padding-top: 2px; color: #53657b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.personality-score-grid strong { color: #163e69; font-size: 13px; overflow-wrap: anywhere; }
.personality-mbti-result > div { min-width: 0; }
.personality-type-explanation { margin-top: 8px; }
.personality-type-explanation summary { width: fit-content; color: #174574; font-size: 12px; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.personality-type-explanation summary:hover { color: #0b3159; }
.personality-type-explanation summary:focus-visible { outline: 3px solid #9ec8ed; outline-offset: 3px; border-radius: 3px; }
.personality-type-explanation > div { margin-top: 9px; padding: 11px 12px; border-left: 3px solid #5f86a7; border-radius: 0 8px 8px 0; color: #31465f; background: #fff; }
.personality-type-explanation p { margin: 6px 0 0; color: #53657b; font-size: 11px; line-height: 1.5; }
.personality-reference-link { width:fit-content; display:inline-flex; align-items:center; gap:5px; margin-top:10px; color:#174f7f; font-size:11px; font-weight:800; text-decoration:none; }
.personality-reference-link:hover { color:#0b3159; text-decoration:underline; text-underline-offset:3px; }
.personality-reference-link:focus-visible { outline:3px solid #9ec8ed; outline-offset:3px; border-radius:3px; }
.personality-reference-link span { padding:0; color:inherit; font-size:12px; font-weight:inherit; text-transform:none; }

.screening-card__layout--device { grid-template-columns: 128px minmax(0, 1fr); }
.screening-device-visual { display: grid; place-items: center; align-content: center; gap: 8px; min-height: 120px; padding: 10px; border: 1px solid #dce6ee; border-radius: 12px; background: linear-gradient(150deg,#eaf2f7,#f8fbfd); }
.screening-device-visual .professional-device-icon { width: 96px; height: 72px; overflow: visible; fill: none; stroke: #315f84; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.professional-device-icon .device-shell { fill: #dfeaf2; }
.professional-device-icon .device-screen { fill: #315f84; stroke: #244d70; }
.professional-device-icon .device-camera,
.professional-device-icon .device-power { fill: #315f84; stroke: none; }
.professional-device-icon .device-base,
.professional-device-icon .device-keyboard { fill: #edf3f7; }
.professional-device-icon .device-trackpad,
.professional-device-icon .device-stand { stroke-width: 2.7; }
.screening-device-visual--desktop .professional-device-icon { stroke: #627384; }
.screening-device-visual--desktop .device-shell,
.screening-device-visual--desktop .device-keyboard,
.screening-device-visual--desktop .device-tower { fill: #e5eaee; }
.screening-device-visual--desktop .device-screen { fill: #657888; stroke: #566978; }
.screening-device-visual--desktop .device-power { fill: #657888; }
.screening-device-visual--generic .professional-device-icon { stroke: #6e7f8e; }
.screening-device-visual--generic .device-shell { fill: #e8edf1; }
.screening-device-visual--generic .device-screen { fill: #f7fafc; stroke: #738492; }
.screening-device-visual--generic .device-unknown { fill: #eef3f6; stroke: #8b9aa7; }
.screening-device-visual--generic .device-question { stroke: #617482; stroke-width: 2.8; }
.screening-device-visual span { color: #53657b; font-size: 11px; font-weight: 800; letter-spacing: .035em; line-height: 1.3; text-align: center; }
.computer-spec-list { display: grid; gap: 0; margin: 0; }
.computer-spec-list > div { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #e8edf2; }
.computer-spec-list > div:last-child { border-bottom: 0; }
.computer-spec-list dt { color: #53657b; font-size: 11px; font-weight: 750; }
.computer-spec-list dd { margin: 0; color: #173b65; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.screening-card-empty { margin: 0; color: #758293; font-size: 12px; line-height: 1.45; }

.connection-meter { margin-top: 14px; overflow: hidden; border: 1px solid #dbe3ea; border-radius: 12px; background: #fff; }
.connection-meter__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; color: #31465f; background: #eef3f6; }
.connection-meter__heading strong { font-size: 12px; }
.connection-meter__heading span { color: #53657b; font-size: 11px; }
.connection-meter__row { padding: 12px 13px 11px; border-top: 1px solid #e4e9ee; }
.connection-meter__row-heading { display: grid; grid-template-columns: 82px minmax(90px,1fr) auto; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.connection-meter__row-heading > span { color: #31465f; font-size: 12px; font-weight: 800; }
.connection-meter__row-heading strong { color: #123e6c; font: 700 18px/1.1 Georgia,serif; }
.connection-meter__row-heading strong small { color: #53657b; font: 700 11px/1.2 Inter,ui-sans-serif,system-ui,sans-serif; }
.connection-meter__row-heading > b { justify-self: end; color: var(--tier-ink); font-size: 11px; }
.connection-meter__scale { position: relative; height: 18px; border: 1px solid #cbd5df; border-radius: 999px; background: #e8edf2; box-shadow: inset 0 1px 2px rgba(26,45,66,.08); }
.connection-meter__zones { position: absolute; inset: 2px; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg,#b42318 0 var(--lower-stop),#a15c00 var(--lower-stop) var(--middle-stop),#18794e var(--middle-stop) 100%); opacity: .86; }
.connection-meter__ticks { position: absolute; inset: 2px 3px; border-radius: 999px; background: repeating-linear-gradient(90deg,transparent 0 calc(10% - 1px),rgba(255,255,255,.88) calc(10% - 1px) 10%); }
.connection-meter__marker { --meter-position: 0%; position: absolute; z-index: 1; top: -5px; bottom: -5px; left: var(--meter-position); width: 3px; border-radius: 3px; background: #122f4e; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(12,39,68,.3); transform: translateX(-50%); }
.connection-meter__marker::after { content: ""; position: absolute; top: -3px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--tier-color); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(12,39,68,.28); transform: translate(-50%,-50%); }
.connection-meter__limits { position: relative; height: 15px; margin-top: 5px; color: #53657b; font-size: 11px; }
.connection-meter__limits span { position: absolute; left: var(--limit-position); white-space: nowrap; transform: translateX(-50%); }
.connection-meter__limits span:first-child { transform: none; }
.connection-meter__limits span:last-child { transform: translateX(-100%); }
.connection-meter__latency { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 10px 13px; border-top: 1px solid #e4e9ee; color: #53657b; font-size: 11px; }
.connection-meter__latency strong { color: #173f6d; font-size: 12px; }

.screening-source-links { display: grid; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e3eaf0; }
.screening-source-links > span { color: #53657b; font-size: 11px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.screening-source-file-list { min-width: 0; display: grid; gap: 7px; }
.screening-source-button { width: 100%; min-width: 0; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 9px; align-items: center; border: 1px solid #cbd8e5; border-radius: 10px; padding: 9px 10px; color: #174574; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 2px 7px rgba(25,57,87,.025); }
.screening-source-button:hover { border-color: #8cabc8; background: #f5f9fc; box-shadow: 0 4px 12px rgba(25,57,87,.06); }
.screening-source-file-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: #2b648e; background: #eaf2f8; }
.screening-source-file-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.screening-source-file-copy { min-width: 0; }
.screening-source-file-copy small, .screening-source-file-copy strong { display: block; }
.screening-source-file-copy small { color: #53657b; font-size: 11px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.screening-source-file-copy strong { margin-top: 2px; color: #173f6d; font-size: 12px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screening-source-open { color: #174574; font-size: 11px; font-weight: 800; white-space: nowrap; }
.screening-source-missing { color: #9a6b50 !important; }

.talent-skill-review-dialog { width: min(680px, calc(100vw - 28px)); border: 0; border-radius: 16px; padding: 0; box-shadow: 0 24px 70px rgba(15,39,67,.26); }
.talent-skill-review-dialog form { padding: 23px; }
.talent-skill-review-list { display: grid; gap: 8px; max-height: 52vh; overflow: auto; margin: 17px 0; }
.talent-skill-review-row { display: grid; grid-template-columns: auto minmax(0,1fr) 110px; gap: 11px; align-items: center; padding: 11px 12px; border: 1px solid #dce4ec; border-radius: 10px; background: #fbfcfd; }
.talent-skill-review-row > input { width: 18px; height: 18px; accent-color: #176f62; }
.talent-skill-review-row strong, .talent-skill-review-row small { display: block; }
.talent-skill-review-row strong { color: #173b65; font-size: 13px; }
.talent-skill-review-row small { margin-top: 2px; color: #718096; font-size: 10px; }
.skill-years { display: flex; align-items: center; gap: 5px; }
.skill-years input { width: 66px; border: 1px solid #cbd7e3; border-radius: 8px; padding: 8px; font: inherit; }
.skill-review-status { min-height: 18px; color: #9a481f; font-size: 12px; }

.profile-details-private-edit {
  align-self: flex-start;
  padding: 5px 8px;
  border: 1px solid #b8cad9;
  border-radius: 8px;
  color: #174574;
  background: #f7fafc;
  text-decoration: none;
}
.profile-details-private-edit:hover { border-color: #7fa2bf; color: #0b3159; background: #eef5fa; }
.profile-details-private-edit:focus-visible { outline: 3px solid #9ec8ed; outline-offset: 2px; }
.private-profile-details-status { min-height: 18px; margin: 12px 0 0; color: #a63d2f; font-size: 12px; font-weight: 700; }

@media (max-width: 1100px) {
  .talent-file-body .profile-identity .profile-private-address { width: 100%; }
  .talent-file-body .profile-hero-media { padding-top: 0; }
}

@media (max-width: 760px) {
  .talent-file-profile-panel .profile-layout { grid-template-columns: 1fr; }
  .screening-card__layout, .screening-card__layout--device { grid-template-columns: 1fr; }
  .screening-source-open { display: none; }
  .talent-skill-review-row { grid-template-columns: auto minmax(0,1fr); }
  .skill-years { grid-column: 2; }
}

/* Final approval geometry: one measured vector supplies every folder edge. */
@media (min-width: 1101px) {
  .page.talent-profile-page {
    width: min(1170px, calc(100% - 48px));
    max-width: 1170px;
    padding-top: 27px;
  }

  .talent-profile-page .talent-file-shell {
    --folder-tab-count: 4;
    left: 0;
  }

  .talent-folder-art {
    position: absolute;
    z-index: 1;
    inset: 0 auto auto 0;
    display: block;
    width: 100%;
    height: 442px;
    overflow: visible;
    pointer-events: none;
  }

  .talent-folder-inactive-tabs path {
    fill: url(#talent-tab-paper);
    stroke: #b8aa8b;
    stroke-width: 1.15;
  }

  .talent-folder-shadow {
    fill: #fef6e8;
    filter: url(#talent-folder-shadow);
  }

  .talent-folder-paper { fill: url(#talent-folder-paper); }
  .talent-folder-front-lip,
  .talent-folder-active-fill { fill: #fcf3e3; }

  .talent-folder-outer-edge {
    fill: none;
    stroke: rgba(42, 75, 103, .45);
    stroke-width: 1.15;
  }

  .talent-folder-top-transition {
    fill: none;
    stroke: rgba(151, 135, 106, .18);
    stroke-width: .8;
  }

  .talent-folder-front-seam {
    fill: none;
    stroke: rgba(144, 125, 91, .24);
    stroke-width: .8;
  }

  .talent-folder-active-edge {
    fill: none;
    stroke: #b8aa8b;
    stroke-width: 1.15;
  }

  .talent-file-tabs {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(var(--folder-tab-count), minmax(0, 1fr));
    align-items: start;
    width: 100%;
    height: 58px;
    gap: 0;
    padding: 0;
    overflow: visible;
    background: none;
  }

  .talent-file-tabs::after { content: none; }

  .talent-file-tab,
  .talent-file-tab[aria-selected="true"] {
    width: auto;
    min-width: 0;
    max-width: none;
    height: 50px;
    min-height: 50px;
    margin: 10px 0 0;
    padding: 14px 24px 11px;
    background: none;
  }

  .talent-file-body {
    position: relative;
    z-index: 2;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .talent-file-body::before,
  .talent-file-body::after,
  .talent-file-body .talent-headshot::before,
  .talent-file-body .talent-headshot::after { content: none; }

  .talent-file-body .talent-profile-hero {
    grid-template-columns: 228px minmax(0, 1fr) 392px;
    gap: 34px;
    min-height: 374px;
    padding: 27px 28px 20px;
  }

  /* The Talent self-view has no staff action rail, so return that space to identity details. */
  .talent-self-profile-page .talent-file-body .talent-profile-hero {
    grid-template-columns: 228px minmax(0, 1fr) 270px;
    gap: 28px;
  }

  .talent-file-body .headshot-wrap {
    z-index: 3;
    gap: 0;
  }

  .talent-file-body .talent-headshot {
    width: 210px;
    height: 250px;
    margin-top: 20px;
    padding: 10px 10px 39px;
    transform: rotate(3deg);
    transform-origin: 50% 42%;
  }

  .talent-paperclip {
    position: absolute;
    z-index: 6;
    left: 24px;
    top: -15px;
    display: block;
    width: 44px;
    height: 110px;
    overflow: visible;
    transform: rotate(-5deg);
    pointer-events: none;
  }

  .talent-paperclip-wire {
    fill: none;
    stroke: #969da4;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(1px 1px 1px rgba(38, 56, 74, .2));
  }

  .talent-paperclip-divider {
    fill: none;
    stroke: rgba(144, 125, 91, .24);
    stroke-width: .8;
  }

  .talent-file-body .headshot-upload { margin-top: 20px; }
  .talent-file-body .headshot-wrap small { margin-top: 8px; }
  .talent-file-body .profile-identity { padding-top: 46px; }
  .talent-file-body .profile-hero-media { max-width: 392px; padding-top: 40px; }
  .talent-file-body .profile-actions { gap: 8px; }
  .talent-file-body .profile-actions > .button,
  .talent-file-body .profile-actions .admin-record-button {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .talent-file-panels {
    position: relative;
    z-index: 2;
  }
}

@media (min-width: 1101px) and (max-width: 1219px) {
  .talent-self-profile-page .talent-file-body .talent-profile-hero {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
  }

  .talent-self-profile-page .talent-file-body .profile-hero-media {
    grid-column: 2;
    max-width: none;
    padding-top: 0;
  }
}

.screening-editor-group {
  min-width: 0;
  margin: 18px 0 0;
  padding: 15px;
  border: 1px solid #dce5ef;
  border-radius: 11px;
  background: #f8fbfe;
}

.screening-results-modal {
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.screening-editor-group legend {
  padding: 0 6px;
  color: #173f6d;
  font-size: 13px;
  font-weight: 800;
}

.screening-editor-group label:first-of-type { margin-top: 3px; }
.screening-editor-group label:last-of-type { margin-bottom: 0; }

/* Keep responsive rules after the approved folder styles so fixed desktop
   columns cannot collapse identity details on phones or beside the sidebar. */
@media (max-width: 1399px) {
  .talent-file-body .talent-profile-hero,
  .talent-self-profile-page .talent-file-body .talent-profile-hero {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
  }
  .talent-file-body .talent-profile-hero > * { min-width: 0; }
  .talent-file-body .profile-identity { padding-top: 28px; }
  .talent-file-body .profile-hero-media,
  .talent-self-profile-page .talent-file-body .profile-hero-media {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    width: 100%;
    max-width: none;
    padding-top: 0;
  }
  .talent-file-body .talent-headshot { width: 180px; height: 218px; padding: 9px 9px 34px; }
  .talent-file-body .profile-actions,
  .talent-file-body .admin-profile-controls { flex-wrap: wrap; justify-content: flex-start; margin-left: 0; }
  .talent-file-body .profile-identity .profile-private-address { width: 100%; }
  .talent-file-body .profile-contact,
  .talent-file-body .profile-private-address,
  .talent-file-body .profile-communication-preferences { overflow-wrap: anywhere; word-break: normal; }
}

@media (max-width: 1100px) {
  .talent-file-body .talent-profile-hero { padding: 28px 24px 24px; }
  .talent-file-body .headshot-wrap { justify-items: center; }
  .talent-file-body .talent-headshot { transform: none; justify-self: center; }
  .talent-file-body .talent-headshot::before,
  .talent-file-body .talent-headshot::after { content: none; display: none; }
  .talent-file-body .talent-paperclip { display: none; }
  .talent-file-profile-panel .profile-layout { grid-template-columns: minmax(0, 1fr); }
  .talent-file-profile-panel .profile-stat-grid,
  .talent-self-profile-page .talent-file-profile-panel .profile-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talent-file-profile-panel .profile-stat-grid strong,
  .talent-file-profile-panel .profile-details dd { overflow-wrap: anywhere; }
  .talent-file-profile-panel .panel-head { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 760px) {
  .talent-file-body .talent-profile-hero,
  .talent-self-profile-page .talent-file-body .talent-profile-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 20px 24px;
  }
  .talent-file-body .headshot-wrap { width: 100%; justify-self: center; gap: 10px; }
  .talent-file-body .talent-headshot { width: 160px; height: 196px; padding: 8px 8px 32px; margin-top: 10px; }
  .talent-file-body .headshot-upload { margin-top: 10px; min-height: 44px; padding: 11px 14px; font-size: 14px; }
  .talent-file-body .headshot-wrap small { margin-top: 0; font-size: 12px; }
  .talent-file-body .profile-identity { width: 100%; padding-top: 0; }
  .talent-file-body .profile-identity h1 { max-width: none; font-size: 28px; line-height: 1.15; overflow-wrap: anywhere; }
  .talent-file-body .profile-identity > p:not(.eyebrow) { font-size: 16px; line-height: 1.5; }
  .talent-file-body .profile-identity .profile-private-address { padding: 14px; }
  .talent-file-body .profile-identity .profile-tags { margin: 14px 0 0; }
  .talent-file-body .profile-actions > .button,
  .talent-file-body .profile-actions .admin-record-button { min-height: 44px; font-size: 14px; white-space: normal; }
}

@media (max-width: 520px) {
  .talent-file-profile-panel .profile-stat-grid,
  .talent-self-profile-page .talent-file-profile-panel .profile-stat-grid { grid-template-columns: minmax(0, 1fr); }
}
