:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --ink: #162032;
  --muted: #647086;
  --line: #dde6f1;
  --blue: #1f6feb;
  --navy: #101827;
  --teal: #16a3a3;
  --gold: #d39b22;
  --coral: #df5b4f;
  --red: #cf1f1f;
  --red-soft: #fde5e5;
  --yellow: #b97800;
  --yellow-soft: #fff2c7;
  --green: #228751;
  --green-soft: #dff4e8;
  --shadow: 0 14px 34px rgba(22, 32, 50, 0.09);
  --shadow-strong: 0 22px 60px rgba(16, 24, 39, 0.18);
}

/* Keep the workspace clean after legacy section styles load. */
.sectionNav {
  display: none !important;
}

@media (max-width: 760px) {
  .siteHero,
  .companySection,
  .cultureSection,
  .academySection,
  .aiCoachSection,
  .recruitmentSection {
    display: none;
  }
}

/* Professional console hard override: remove legacy spacing drift. */
.dashboardShell {
  grid-template-columns: 220px minmax(0, 1fr) !important;
  background: #eef3f8;
}

.sideRail {
  width: 220px !important;
  padding: 14px 12px !important;
}

.mainSurface {
  gap: 10px !important;
  padding: 10px 14px 28px !important;
}

.topBar {
  margin: -10px -14px 10px !important;
  min-height: 58px !important;
  padding: 8px 112px 8px 14px !important;
}

.opsQuickOverview,
.opsStatus,
.diamondBoard,
.anchorProfileSummary,
.commandBar,
.layout,
.toolModule {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.opsQuickOverview {
  gap: 10px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.opsQuickOverview .quickCard {
  min-height: 88px !important;
  padding: 12px !important;
}

.opsStatus,
.commandBar,
.layout,
.toolModule,
.leaderboardSection,
.reportStrip,
.diagnosisSection,
.liveDetailAnalysisSection {
  padding: 0 !important;
}

.diamondBoard,
.anchorProfileSummary {
  margin: 0 !important;
  padding: 12px !important;
}

.diamondHeader {
  margin-bottom: 10px !important;
}

.diamondGrid {
  gap: 10px !important;
}

.diamondCard {
  min-height: 0 !important;
  padding: 12px !important;
}

.diamondCard > strong {
  font-size: 28px !important;
}

.commandBar {
  gap: 10px !important;
  grid-template-columns: repeat(3, minmax(140px, 180px)) minmax(260px, 1fr) !important;
}

.commandCard,
.priorityNote {
  padding: 12px !important;
}

.layout {
  gap: 12px !important;
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr) !important;
}

.leftPanel,
.detailPanel {
  border-radius: 10px !important;
}

.moduleDisclosure {
  margin: 0 !important;
}

.moduleDisclosure > summary,
.liveDetailDisclosure > summary {
  min-height: 54px !important;
  padding: 12px 14px !important;
}

.moduleBody {
  padding: 12px !important;
}

.anchorProfileSummary {
  order: 8 !important;
}

.leaderboardSection {
  order: 6 !important;
}

.reportStrip {
  order: 7 !important;
}

.liveDetailAnalysisSection {
  order: 9 !important;
}

.diagnosisSection {
  order: 10 !important;
}

@media (max-width: 1180px) {
  .opsQuickOverview {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .diamondGrid,
  .commandBar,
  .layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .dashboardShell {
    display: block !important;
  }

  .sideRail {
    width: auto !important;
  }

  .mainSurface {
    padding: 10px !important;
  }

  .topBar {
    margin: -10px -10px 10px !important;
    padding-right: 112px !important;
  }

  .opsQuickOverview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .opsQuickOverview .quickCard {
    min-height: 76px !important;
    padding: 10px !important;
  }

  .opsQuickOverview .quickCard small {
    display: none !important;
  }

  .diamondHeader {
    display: grid !important;
    gap: 4px !important;
  }

  .diamondHeader h2 {
    font-size: 18px !important;
  }

  .diamondCard {
    padding: 10px !important;
  }

  .diamondCard > strong {
    font-size: 24px !important;
  }

  .diamondCard p {
    font-size: 12px !important;
  }

  .diamondMini {
    margin-top: 8px !important;
  }

  .diamondTopList {
    max-height: 150px !important;
  }

  .commandBar {
    gap: 8px !important;
  }

  .commandCard,
  .priorityNote {
    min-height: 72px !important;
    padding: 10px !important;
  }
}

/* 2026-06 operations console redesign: keep the home page focused. */
.siteHero,
.companySection,
.cultureSection,
.academySection,
.aiCoachSection,
.recruitmentSection.secondaryPageOnly {
  display: none !important;
}

.mainSurface {
  gap: 14px;
}

.opsQuickOverview,
.opsStatus,
.diamondBoard,
.anchorProfileSummary,
.commandBar,
.layout,
.toolModule {
  width: min(100%, 1680px);
  margin-inline: auto;
}

.opsQuickOverview {
  margin-top: 4px;
}

.quickCard {
  border-radius: 8px;
}

.opsStatus,
.diamondBoard,
.anchorProfileSummary,
.commandBar,
.layout,
.leaderboardSection,
.reportStrip,
.diagnosisSection,
.liveDetailAnalysisSection {
  padding: 0;
  margin-top: 0;
}

.diamondBoard,
.anchorProfileSummary {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(22, 32, 50, 0.06);
}

.diamondGrid {
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 0.85fr) minmax(260px, 0.9fr);
  align-items: start;
}

.commandBar {
  grid-template-columns: repeat(3, minmax(150px, 190px)) minmax(260px, 1fr);
}

.layout {
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
}

.leftPanel,
.detailPanel {
  min-height: 520px;
}

.hostList {
  max-height: 560px;
}

.toolModule {
  display: block;
}

.moduleDisclosure {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 32, 50, 0.06);
  overflow: clip;
}

.moduleDisclosure > summary,
.liveDetailDisclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.moduleDisclosure > summary::-webkit-details-marker,
.liveDetailDisclosure > summary::-webkit-details-marker {
  display: none;
}

.moduleDisclosure > summary::after,
.liveDetailDisclosure > summary::after {
  content: ">";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #d8e4f0;
  border-radius: 999px;
  color: #64748b;
  font-weight: 900;
  transition: transform 0.16s ease;
}

.moduleDisclosure[open] > summary::after,
.liveDetailDisclosure[open] > summary::after {
  transform: rotate(90deg);
}

.moduleDisclosure > summary span,
.liveDetailDisclosure > summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.moduleDisclosure > summary b,
.liveDetailDisclosure > summary b {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.moduleDisclosure > summary small,
.liveDetailDisclosure > summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.moduleBody {
  border-top: 1px solid var(--line);
  padding: 14px;
}

.reportStrip {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.reportControls {
  align-items: flex-start;
  margin-bottom: 12px;
}

.reportTabs,
.shiftTabs {
  justify-content: flex-start;
}

.leaderboardSection,
.diagnosisSection,
.liveDetailAnalysisSection {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.championPodium {
  display: none;
}

.leaderboardGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.toolJumpBar {
  margin-top: 0;
}

.systemHealthPanel {
  display: grid;
  gap: 12px;
}

.healthSummary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbff;
}

.healthSummary.warn {
  border-left-color: var(--yellow);
}

.healthSummary.fail {
  border-left-color: var(--red);
}

.healthSummary > div:first-child {
  display: grid;
  gap: 4px;
}

.healthSummary strong {
  color: var(--ink);
}

.healthSummary span,
.healthItem p {
  color: var(--muted);
  font-size: 13px;
}

.healthCounters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.healthCounters span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  font-weight: 900;
}

.healthCounters .ok {
  color: var(--green);
}

.healthCounters .warn {
  color: var(--yellow);
}

.healthCounters .fail {
  color: var(--red);
}

.healthGroups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.healthGroup {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.healthGroup > summary {
  cursor: pointer;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.healthGroup > summary::-webkit-details-marker {
  display: none;
}

.healthGroup > div {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 10px;
}

.healthItem {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #f8fbff;
}

.healthItem b {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.healthItem span {
  display: inline-block;
  margin: 5px 0;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.healthItem.warn span {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.healthItem.fail span {
  background: var(--red-soft);
  color: var(--red);
}

.diagnosisToolGrid {
  grid-template-columns: 1fr;
}

.diagnosisCardsList {
  max-height: 720px;
  overflow: auto;
  padding-right: 4px;
}

.sideNav a[href="#facilities"],
.sideNav a[href="#culture"],
.sideNav a[href="#recruitment"] {
  display: none;
}

.topBar a {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1180px) {
  .diamondGrid,
  .commandBar,
  .layout,
  .leaderboardGrid {
    grid-template-columns: 1fr;
  }

  .leftPanel,
  .detailPanel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .opsQuickOverview {
    grid-template-columns: 1fr 1fr;
  }

  .diamondBoard,
  .anchorProfileSummary,
  .moduleBody {
    padding: 12px;
  }

  .moduleDisclosure > summary,
  .liveDetailDisclosure > summary {
    align-items: flex-start;
  }
}

/* Operations-first homepage refresh */
.mainSurface {
  display: flex;
  flex-direction: column;
}

.opsQuickOverview {
  order: 1;
}

.opsStatus {
  order: 2;
}

.diamondBoard {
  order: 3;
}

.anchorProfileSummary {
  order: 8;
}

.commandBar {
  order: 4;
}

#livePatrol {
  order: 5;
}

.leaderboardSection {
  order: 6;
}

.reportStrip {
  order: 7;
}

.liveDetailAnalysisSection {
  order: 9;
}

.diagnosisSection {
  order: 10;
}

.siteHero {
  order: 10;
}

.sectionNav {
  order: 11;
}

.companySection {
  order: 12;
}

.cultureSection {
  order: 13;
}

.academySection {
  order: 14;
}

.aiCoachSection {
  order: 15;
}

.recruitmentSection {
  order: 16;
}

.opsQuickOverview {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.opsQuickOverview .quickCard {
  min-height: 104px;
}

.opsQuickOverview .quickCard strong {
  font-size: 16px;
}

.siteHero {
  min-height: 220px;
}

.siteHero .heroStats,
.siteHero .heroActions {
  display: none;
}

.siteHero .brandLogo {
  width: 44px;
  height: 44px;
}

.siteHero .heroContent h1 {
  font-size: 30px;
}

.sectionNav {
  display: none;
}

/* Backstage-style operations layout */
body {
  background: #f3f6fb;
}

.dashboardShell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}

.sideRail {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  height: 100vh;
  border-right: 1px solid #e4eaf3;
  background: rgba(255, 255, 255, 0.96);
  padding: 18px 14px;
  box-shadow: 10px 0 30px rgba(22, 32, 50, 0.04);
}

.sideBrand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 6px 6px 18px;
  color: var(--ink);
  text-decoration: none;
}

.sideBrand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.sideBrand strong,
.sideBrand small {
  display: block;
}

.sideBrand strong {
  font-size: 17px;
  line-height: 1.05;
}

.sideBrand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.sideNav {
  display: grid;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.sideNav a {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border-radius: 8px;
  color: #344054;
  text-decoration: none;
  padding: 0 10px;
}

.sideNav a span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c9d5e5;
}

.sideNav a b {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sideNav a:hover {
  background: #eaf9f7;
  color: #0f766e;
}

.sideNav a:hover span {
  background: var(--teal);
}

.sideFooter {
  margin-top: auto;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f0f9ff;
  padding: 12px;
}

.sideFooter span,
.sideFooter strong {
  display: block;
}

.sideFooter span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sideFooter strong {
  margin-top: 6px;
  color: #075985;
  font-size: 13px;
  line-height: 1.35;
}

.mainSurface {
  min-width: 0;
  padding: 16px 20px 36px;
}

.topBar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  margin: -16px -20px 16px;
  border-bottom: 1px solid rgba(221, 230, 241, 0.92);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 112px 8px 20px;
  backdrop-filter: blur(12px);
}

.topBar span,
.topBar strong {
  display: block;
}

.topBar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.topBar strong {
  margin-top: 3px;
  font-size: 18px;
}

.topBar a {
  min-height: 36px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
  box-shadow: 0 10px 20px rgba(22, 163, 163, 0.18);
}

.languageSwitch {
  top: 11px;
  right: 18px;
  border-color: #dbe4ef;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 32, 50, 0.08);
}

.languageSwitch button {
  color: var(--muted);
}

.languageSwitch button.active {
  background: var(--navy);
  color: #fff;
}

.siteHero {
  min-height: 310px;
  border: 1px solid rgba(221, 230, 241, 0.8);
  border-radius: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}

.heroMedia::after {
  background:
    linear-gradient(90deg, rgba(9, 15, 28, 0.88), rgba(10, 29, 45, 0.62) 52%, rgba(10, 29, 45, 0.2)),
    linear-gradient(0deg, rgba(9, 15, 28, 0.28), rgba(9, 15, 28, 0.02));
}

.heroContent {
  width: min(860px, calc(100% - 40px));
  padding: 30px 24px;
}

.brandLogo {
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
}

.heroContent h1 {
  max-width: 680px;
  font-size: 38px;
  line-height: 1.05;
}

.heroContent p {
  max-width: 720px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.heroStats {
  max-width: 780px;
  margin-top: 16px;
}

.heroStats div {
  min-height: 66px;
  padding: 11px 12px;
}

.heroStats strong {
  font-size: 21px;
}

.heroActions {
  margin-top: 16px;
}

.heroActions a {
  min-height: 36px;
  padding: 9px 12px;
  font-size: 13px;
}

.quickOverview,
.opsStatus,
.diamondBoard,
.commandBar,
.sectionNav,
.companySection,
.cultureSection,
.layout,
.leaderboardSection,
.recruitmentSection,
.reportStrip {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.quickOverview {
  margin-top: 14px;
}

.quickCard {
  min-height: 108px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(22, 32, 50, 0.06);
}

.quickCard strong {
  font-size: 15px;
}

.quickCard small {
  font-size: 12px;
}

.opsStatus {
  padding-top: 0;
  margin-top: 12px;
}

.diamondBoard,
.commandBar {
  padding-top: 12px;
}

.diamondHeader h2 {
  font-size: 20px;
}

.diamondGrid {
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
}

.diamondCard {
  padding: 14px;
}

.diamondCard > strong {
  font-size: 30px;
}

.commandBar {
  grid-template-columns: repeat(3, minmax(140px, 0.75fr)) minmax(240px, 1.3fr);
}

.sectionNav {
  position: static;
  padding-top: 14px;
  padding-bottom: 12px;
  background: transparent;
  backdrop-filter: none;
}

.sectionNav a {
  box-shadow: none;
}

.leaderboardSection,
.companySection,
.cultureSection,
.reportStrip,
.recruitmentSection {
  margin-top: 18px;
}

.championPodium {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.championCard {
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 128px;
  padding: 10px;
}

.championFirst {
  transform: none;
}

.championPhoto {
  width: 92px;
  height: 118px;
}

.championInfo h3 {
  font-size: 15px;
}

.championInfo p {
  font-size: 12px;
}

.championCrown {
  top: 8px;
  left: 8px;
  padding: 5px 8px;
  font-size: 10px;
}

.featureGrid article img,
.cultureGrid img,
.showcaseMain {
  max-height: 260px;
}

.reportPreview img {
  max-height: 360px;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .dashboardShell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .sideRail {
    padding: 14px 10px;
  }

  .diamondGrid,
  .commandBar {
    grid-template-columns: 1fr;
  }

  .profileSummaryGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .profilePriorityRow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .dashboardShell {
    display: block;
  }

  .sideRail {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sideBrand {
    padding-bottom: 10px;
  }

  .sideNav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .profileSummaryGrid,
  .profilePriorityRow {
    grid-template-columns: 1fr;
  }

  .profileSummaryDetails summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .sideNav a {
    flex: 0 0 auto;
    grid-template-columns: 8px auto;
    min-width: max-content;
  }

  .sideFooter {
    display: none;
  }

  .mainSurface {
    padding: 12px 12px 28px;
  }

  .topBar {
    position: static;
    margin: 0 0 12px;
    padding: 10px 96px 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .siteHero {
    min-height: 360px;
  }

  .heroContent {
    width: calc(100% - 24px);
    padding: 24px 16px;
  }

  .heroContent h1 {
    font-size: 30px;
  }

  .heroStats,
  .quickOverview,
  .championPodium {
    grid-template-columns: 1fr 1fr;
  }

  .championCard {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .languageSwitch {
    top: 13px;
    right: 18px;
  }

  .topBar {
    padding-right: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .topBar a {
    width: 100%;
    text-align: center;
  }

  .heroStats,
  .quickOverview,
  .championPodium {
    grid-template-columns: 1fr;
  }

  .championCard {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .championPhoto {
    width: 82px;
    height: 104px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, #f4f7fb 420px, #eef3f8 100%);
  color: var(--ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

.languageSwitch {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 20;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(16, 24, 39, 0.72);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
}

.languageSwitch button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #dbe7f5;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 10px;
  cursor: pointer;
}

.languageSwitch button.active {
  background: #ffffff;
  color: var(--navy);
}

h1,
h2,
p {
  margin: 0;
}

.siteHero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.heroMedia {
  position: absolute;
  inset: 0;
}

.heroMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 15, 28, 0.92), rgba(10, 29, 45, 0.66) 47%, rgba(10, 29, 45, 0.18)),
    linear-gradient(0deg, rgba(9, 15, 28, 0.62), rgba(9, 15, 28, 0.08) 52%);
}

.heroMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroContent {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 56px));
  padding: 72px 28px 70px;
}

.brandLogo {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-strong);
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #8be6d8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.heroContent h1 {
  max-width: 760px;
  font-size: 58px;
  line-height: 1;
  text-wrap: balance;
}

.heroContent p {
  max-width: 680px;
  margin-top: 16px;
  color: #e8f3ff;
  font-size: 18px;
  line-height: 1.55;
}

.heroStats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 26px;
}

.heroStats div {
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
  padding: 14px;
}

.heroStats strong,
.heroStats span {
  display: block;
}

.heroStats strong {
  font-size: 25px;
  line-height: 1.05;
}

.heroStats span {
  margin-top: 6px;
  color: #cfe0f2;
  font-size: 12px;
  font-weight: 800;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.heroActions a {
  min-height: 42px;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 900;
  padding: 12px 16px;
}

.heroActions a:last-child {
  background: #20d1b2;
  color: #031512;
}

.opsStatus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 28px 0;
}

.opsStatus span {
  min-height: 38px;
  display: flex;
  align-items: center;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 0 14px;
  font-size: 13px;
  box-shadow: var(--shadow);
}

.diamondBoard {
  padding: 14px 28px 0;
}

.diamondHeader {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.diamondHeader span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.diamondHeader h2 {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.25;
}

.diamondHeader small {
  color: var(--muted);
  font-size: 12px;
}

.diamondGrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 12px;
}

.diamondCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
}

.diamondCard > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.diamondCard > strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.diamondCard p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.diamondCard small {
  color: var(--muted);
}

.diamondCard.today {
  border-left: 6px solid var(--teal);
}

.diamondCard.settlement {
  border-left: 6px solid var(--gold);
}

.diamondCard.leaders {
  border-left: 6px solid var(--blue);
}

.anchorProfileSummary {
  padding: 14px 28px 0;
}

.profileSummaryGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.profileSummaryCard {
  min-height: 72px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 12px;
}

.profileSummaryCard span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.profileSummaryCard b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 26px;
}

.profileSummaryCard.green {
  border-left-color: var(--green);
}

.profileSummaryCard.gold {
  border-left-color: var(--gold);
}

.profileSummaryCard.red {
  border-left-color: var(--red);
}

.profileSummaryDetails {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.profileSummaryDetails summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.profileSummaryDetails summary::-webkit-details-marker {
  display: none;
}

.profileSummaryDetails summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.profilePriorityList {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
}

.profilePriorityRow {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(130px, 0.85fr) minmax(160px, 1fr) minmax(150px, 0.9fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
}

.profilePriorityRow.yellow {
  border-left-color: var(--gold);
}

.profilePriorityRow.red {
  border-left-color: var(--red);
}

.profilePriorityRow strong,
.profilePriorityRow span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profilePriorityRow strong {
  color: var(--ink);
  font-size: 14px;
}

.profilePriorityRow span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.diamondMini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.diamondMini div {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  padding: 10px;
}

.diamondMini b,
.diamondMini small {
  display: block;
}

.diamondMini b {
  color: var(--ink);
  font-size: 18px;
}

.diamondTopList {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-height: 214px;
  overflow: auto;
  padding-right: 4px;
}

.diamondTopSource {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.diamondTopRow {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  padding: 7px 9px;
}

.diamondTopRow span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e8f2ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.diamondTopRow strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diamondTopRow b {
  color: var(--teal);
  font-size: 13px;
}

h1 {
  font-size: 22px;
  line-height: 1.2;
}

.refresh {
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 24, 39, 0.16);
}

.commandBar {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) minmax(260px, 1.4fr);
  gap: 12px;
  padding: 14px 28px 0;
}

.sectionNav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 14px 28px 18px;
  overflow-x: auto;
  background: rgba(244, 247, 251, 0.9);
  backdrop-filter: blur(10px);
}

.sectionNav a {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
  box-shadow: 0 8px 18px rgba(22, 32, 50, 0.05);
}

.sectionNav a:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.commandCard,
.priorityNote,
.leftPanel,
.detailPanel,
.reportStrip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.commandCard,
.priorityNote {
  padding: 14px;
}

.commandCard {
  display: grid;
  gap: 3px;
  position: relative;
  overflow: hidden;
}

.commandCard::after {
  content: "";
  position: absolute;
  inset: auto 12px 12px auto;
  width: 50px;
  height: 6px;
  border-radius: 999px;
  opacity: 0.18;
  background: currentColor;
}

.commandCard .label,
.commandCard span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.commandCard strong {
  font-size: 30px;
  line-height: 1;
}

.commandCard.red {
  border-left: 6px solid var(--red);
}

.commandCard.red strong {
  color: var(--red);
}

.commandCard.yellow {
  border-left: 6px solid #f0b000;
}

.commandCard.yellow strong {
  color: var(--yellow);
}

.commandCard.normal {
  border-left: 6px solid var(--green);
}

.commandCard.normal strong {
  color: var(--green);
}

.priorityNote {
  display: flex;
  align-items: center;
  color: #344054;
  line-height: 1.45;
}

.layout {
  display: grid;
  grid-template-columns: minmax(420px, 520px) 1fr;
  gap: 18px;
  padding: 18px 28px;
}

.leftPanel {
  min-height: 560px;
  overflow: hidden;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 14px 12px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat .value {
  display: block;
  font-size: 24px;
  font-weight: 800;
}

.stat .label {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.stat.red .value {
  color: var(--red);
}

.stat.yellow .value {
  color: var(--yellow);
}

.stat.normal .value {
  color: var(--green);
}

.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

input[type="search"] {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}

input[type="search"]:focus {
  border-color: var(--blue);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  min-height: 34px;
  font-weight: 700;
  cursor: pointer;
}

.tab.active {
  background: #172033;
  color: #fff;
  border-color: #172033;
}

.tab.red.active {
  background: var(--red);
  border-color: var(--red);
}

.tab.yellow.active {
  background: #f0b000;
  border-color: #f0b000;
  color: #171717;
}

.tab.normal.active {
  background: var(--green);
  border-color: var(--green);
}

.hostList {
  max-height: calc(100vh - 315px);
  overflow: auto;
}

.hostRow {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 82px 1fr 86px;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.hostRow:hover,
.hostRow.active {
  background: #f0f5ff;
}

.priorityBadge {
  align-self: start;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.priorityBadge.red {
  background: var(--red-soft);
  color: var(--red);
}

.priorityBadge.yellow {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.priorityBadge.normal {
  background: var(--green-soft);
  color: var(--green);
}

.hostName {
  display: block;
  font-weight: 800;
  font-size: 15px;
}

.hostIssue {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.miniMetrics {
  display: grid;
  gap: 5px;
  justify-items: end;
  color: var(--muted);
  font-size: 12px;
}

.detailPanel {
  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.detailHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
  background: #f8fafc;
}

.detailHeader.red {
  background: linear-gradient(90deg, var(--red-soft), #fff);
}

.detailHeader.yellow {
  background: linear-gradient(90deg, var(--yellow-soft), #fff);
}

.detailHeader.normal {
  background: linear-gradient(90deg, var(--green-soft), #fff);
}

.detailHeader h2 {
  font-size: 24px;
}

.detailHeader p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.metricsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  margin: 16px 18px;
}

.metricBox {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: #fbfdff;
}

.metricBox .label {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.metricBox .value {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 800;
}

.actionGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px;
}

.actionBlock {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  min-height: 112px;
}

.actionBlock h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.actionBlock p {
  color: #2b3447;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.actionBlock.issue {
  background: var(--red-soft);
}

.actionBlock.supervisor {
  background: #e7f3ff;
}

.actionBlock.host {
  background: var(--yellow-soft);
}

.actionBlock.script {
  background: var(--green-soft);
}

.actionBlock.next {
  background: #f3f6fb;
  grid-column: 1 / -1;
  min-height: auto;
}

.actionBlock.reference {
  background: #eef6f6;
  grid-column: 1 / -1;
  min-height: auto;
}

.reportPreview {
  margin: 16px 18px 18px;
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 16px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.reportPreview.sourceOnly {
  grid-template-columns: 1fr;
}

.reportPreview .actionBlock small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.reportPreview img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.emptyState,
.errorState {
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

.reportStrip {
  margin: 0 28px 26px;
  padding: 16px;
}

.leaderboardSection,
.recruitmentSection,
.companySection,
.cultureSection {
  margin: 0 28px 18px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sectionIntro {
  max-width: 850px;
  margin-bottom: 18px;
}

.sectionIntro span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sectionIntro h2 {
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.12;
}

.sectionIntro p {
  margin-top: 10px;
  color: #344054;
  font-size: 15px;
  line-height: 1.6;
}

.showcaseBand {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  gap: 18px;
  align-items: stretch;
  margin: 10px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fbff;
}

.showcaseMain {
  width: 100%;
  height: clamp(230px, 30vw, 380px);
  object-fit: cover;
  object-position: center;
}

.showcaseCopy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(32, 209, 178, 0.14), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.showcaseCopy span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcaseCopy h3 {
  margin: 0;
  max-width: 460px;
  font-size: 28px;
  line-height: 1.12;
}

.showcaseCopy p {
  max-width: 520px;
  color: #344054;
  font-size: 15px;
  line-height: 1.6;
}

.featureGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featureGrid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(22, 32, 50, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.featureGrid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(22, 32, 50, 0.11);
}

.featureGrid img {
  width: 100%;
  height: clamp(150px, 16vw, 210px);
  object-fit: cover;
}

.featureGrid h3,
.featureGrid p {
  margin-left: 14px;
  margin-right: 14px;
}

.featureGrid h3 {
  margin-top: 13px;
  font-size: 17px;
}

.featureGrid p {
  margin-top: 8px;
  margin-bottom: 16px;
  color: #344054;
  font-size: 14px;
  line-height: 1.5;
}

.cultureGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cultureGrid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101827;
  box-shadow: 0 10px 22px rgba(22, 32, 50, 0.05);
}

.cultureGrid img {
  width: 100%;
  height: clamp(180px, 22vw, 260px);
  object-fit: cover;
  opacity: 0.92;
}

.cultureGrid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  background: linear-gradient(0deg, rgba(16, 24, 39, 0.88), rgba(16, 24, 39, 0));
}

.leaderboardGrid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.4fr);
  gap: 14px;
}

.leaderboardCard,
.infoCard,
.hiringHero {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(22, 32, 50, 0.05);
}

.leaderboardCard {
  padding: 16px;
}

.leaderboardCard h3,
.infoCard h3,
.hiringHero h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.rankList {
  display: grid;
  gap: 8px;
}

.rankRow {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
}

.rankRow.rank1 {
  background: linear-gradient(90deg, #fff4cc, #ffffff);
  border-color: #f2c94c;
}

.rankRow.rank2 {
  background: linear-gradient(90deg, #eef2f7, #ffffff);
}

.rankRow.rank3 {
  background: linear-gradient(90deg, #ffe9d6, #ffffff);
}

.rankMedal {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #172033;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 -10px 16px rgba(0, 0, 0, 0.16);
}

.rankRow strong,
.rankRow small {
  display: block;
}

.rankRow small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.rankDiamonds {
  text-align: right;
  font-size: 20px;
  font-weight: 900;
  color: #172033;
}

.monthlyMissing {
  min-height: 130px;
  border: 1px dashed #f0b000;
  border-radius: 8px;
  background: var(--yellow-soft);
  padding: 14px;
  color: #443100;
}

.monthlyMissing p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.quickOverview {
  margin: -18px 28px 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 4;
}

.quickCard {
  display: grid;
  gap: 7px;
  min-height: 130px;
  padding: 16px;
  border: 1px solid rgba(210, 219, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #172033;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(22, 32, 50, 0.1);
}

.quickCard span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: #172033;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.quickCard strong {
  font-size: 18px;
  line-height: 1.16;
}

.quickCard small {
  color: #59677d;
  font-size: 13px;
  line-height: 1.45;
}

.academySection,
.aiCoachSection {
  margin: 24px 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 32, 50, 0.07);
}

.academyHero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.academyHero img,
.aiCoachCard.main img {
  width: 100%;
  min-height: 220px;
  max-height: 280px;
  border-radius: 8px;
  object-fit: cover;
}

.academyHero > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #d7e4f2;
  border-radius: 8px;
  padding: 22px;
  background: #f7fbff;
}

.academyHero span,
.aiCoachCard.main span {
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #102032;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.academyHero h3,
.aiCoachCard.main h3 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.16;
}

.academyHero p,
.aiCoachCard.main p,
.trainingCard p,
.aiCoachCard p,
.aiRoadmap span {
  color: #4b5b70;
  line-height: 1.58;
}

.trainingGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trainingCard,
.aiCoachCard {
  min-height: 150px;
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  padding: 16px;
  background: #fbfdff;
}

.trainingCard span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #12b8a6;
  color: #fff;
  font-weight: 900;
}

.trainingCard h3,
.aiCoachCard h3 {
  margin: 0 0 8px;
  color: #152033;
  font-size: 17px;
}

.trainingCard p,
.aiCoachCard p {
  margin: 0;
  font-size: 14px;
}

.academyTimeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.academyTimeline div {
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  padding: 12px;
  background: #f5f8fc;
}

.academyTimeline b,
.academyTimeline span {
  display: block;
}

.academyTimeline b {
  margin-bottom: 5px;
  color: #0f766e;
  font-size: 13px;
}

.academyTimeline span {
  color: #344054;
  font-size: 12px;
  line-height: 1.4;
}

.aiCoachGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.aiCoachCard.main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  grid-column: 1 / -1;
  gap: 18px;
  align-items: center;
  min-height: auto;
  background: #f8fbff;
}

.aiRoadmap {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid #cfe7e3;
  border-radius: 8px;
  padding: 14px 16px;
  background: #f1fbf8;
}

.aiRoadmap strong {
  flex: 0 0 auto;
  color: #0f766e;
}

.quickCard:hover {
  border-color: rgba(32, 209, 178, 0.75);
  transform: translateY(-2px);
}

.championPodium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
}

.championCard {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 12px 26px rgba(22, 32, 50, 0.09);
}

.championFirst {
  border-color: rgba(242, 201, 76, 0.9);
  box-shadow: 0 14px 30px rgba(172, 126, 0, 0.16);
}

.championPhoto {
  position: relative;
  width: 118px;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  background: #101827;
}

.championPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.championPhoto::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(16, 24, 39, 0.7), rgba(16, 24, 39, 0));
}

.championInfo {
  padding: 0;
}

.championInfo h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  line-height: 1.15;
}

.championInfo p {
  margin: 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.45;
}

.championBadge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.championBadge.gold {
  background: #fff1b8;
  color: #7a4c00;
}

.championBadge.silver {
  background: #eef2f7;
  color: #344054;
}

.championBadge.bronze {
  background: #ffe6d5;
  color: #8a3b08;
}

.championCrown {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(16, 24, 39, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.recruitmentGrid {
  display: block;
}

.hiringHero,
.hiringSummaryCard {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.95), rgba(23, 74, 124, 0.92)),
    url("/static/company/team-building.jpg") center / cover;
  color: #fff;
}

.hiringHero .eyebrow,
.hiringSummaryCard .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hiringHero h3,
.hiringSummaryCard h3 {
  font-size: 26px;
}

.hiringHero p,
.hiringSummaryCard p {
  color: #dbeafe;
  line-height: 1.5;
}

.hiringSummaryCard {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.hiringSummaryPoints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.hiringSummaryPoints span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.hiringSummaryCard small {
  display: block;
  margin-top: 14px;
  color: #bae6fd;
  font-weight: 800;
  line-height: 1.45;
}

.applyJump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  border-radius: 6px;
  background: var(--coral);
  padding: 0 16px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.24);
}

.contactLine {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  font-weight: 800;
}

.infoCard {
  padding: 16px;
}

.infoCard ul {
  margin: 0;
  padding-left: 18px;
}

.infoCard li {
  margin: 7px 0;
  color: #2b3447;
  line-height: 1.35;
}

.scheduleList {
  display: grid;
  gap: 8px;
}

.scheduleList div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: #f8fafc;
}

.applicationCard {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.8fr);
  gap: 18px;
  border: 1px solid rgba(32, 209, 178, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(32, 209, 178, 0.12), rgba(255, 255, 255, 0) 38%),
    #fff;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(22, 32, 50, 0.07);
}

.formEyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.applicationCard h3 {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.15;
}

.applicationCard p {
  margin-top: 10px;
  color: #344054;
  line-height: 1.55;
}

.applicationForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.applicationForm label {
  display: grid;
  gap: 6px;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
}

.applicationForm input,
.applicationForm select,
.applicationForm textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px 11px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.applicationForm textarea {
  resize: vertical;
}

.applicationForm input:focus,
.applicationForm select:focus,
.applicationForm textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(32, 209, 178, 0.16);
}

.applicationForm .wide {
  grid-column: 1 / -1;
}

.applicationForm button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #172033;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.applicationStatus {
  align-self: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.applicationStatus.success {
  color: #087f5b;
  font-weight: 800;
}

.applicationStatus.error {
  color: var(--coral);
  font-weight: 800;
}

.contractFieldInvalid {
  border-color: #c2413b !important;
  box-shadow: 0 0 0 3px rgba(194, 65, 59, 0.14) !important;
}

label.contractFieldInvalid {
  border-radius: 7px;
  outline: 2px solid rgba(194, 65, 59, 0.4);
  outline-offset: 5px;
}

.fieldValidationMessage {
  display: block;
  margin-top: 7px;
  color: #b42318;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.contractResultDialog {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.68);
  padding: 20px;
}

.contractResultDialog[hidden] {
  display: none;
}

body.contractResultOpen {
  overflow: hidden;
}

.contractResultCard {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 480px);
  border: 1px solid #b7e2d3;
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.3);
}

.contractResultIcon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #dcfce7;
  color: #087f5b;
  font-size: 30px;
  font-weight: 900;
}

.contractResultCard h2,
.contractResultCard p,
.contractResultCard strong {
  margin: 0;
}

.contractResultCard p {
  color: var(--muted);
  line-height: 1.55;
}

.contractResultCard strong {
  color: #172033;
  overflow-wrap: anywhere;
}

.contractResultActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.contractResultActions button {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 9px 16px;
}

.contractResultActions .primary {
  border-color: #101827;
  background: #101827;
  color: #fff;
}

.contractPage {
  min-height: 100vh;
  background: #eef3f8;
}

.contractShell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 52px;
}

.contractHeader {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.contractSmallLink {
  justify-self: end;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.contractHeaderLinks {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 14px;
}

.contractHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  align-items: stretch;
  border: 1px solid #dce6f1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.94), rgba(15, 118, 110, 0.84)),
    #101827;
  color: #fff;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(22, 32, 50, 0.12);
}

.contractHero h1 {
  max-width: 760px;
  margin: 8px 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.04;
}

.contractHero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  line-height: 1.55;
}

.contractHeroStatus {
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 14px;
}

.contractHeroStatus b,
.contractHeroStatus span {
  display: block;
}

.contractHeroStatus b {
  color: #fff;
  font-size: 16px;
}

.contractHeroStatus span {
  color: #e7f7ff;
  font-size: 13px;
  font-weight: 800;
}

.contractGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.contractCompanyIdentity {
  margin-top: 14px;
  border: 1px solid #dce6f1;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(22, 32, 50, 0.06);
}

.contractCompanyIdentityHead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

.contractCompanyIdentity h2 {
  margin: 6px 0;
  color: #101827;
  font-size: 24px;
}

.contractCompanyIdentity p,
.contractCompanyFacts span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contractCompanyFacts {
  display: grid;
  gap: 8px;
  border-left: 4px solid #0f766e;
  border-radius: 8px;
  background: #effaf8;
  padding: 12px;
}

.contractCompanyFacts b {
  color: #172033;
}

.companyDocGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.companyDocCard {
  display: grid;
  grid-template-rows: 150px auto;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #172033;
  text-decoration: none;
}

.companyDocCard:hover,
.companyDocCard:focus-visible {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.companyDocCard img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-bottom: 1px solid #dbe3ec;
  background: #e8edf3;
}

.companyDocCard > span {
  padding: 0 9px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.companyDocCard small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.contractEntityConfirmation {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  border: 2px solid #0f766e;
  border-radius: 8px;
  background: #ecfdf8;
  color: #123b38;
  padding: 14px 16px;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.08);
}

.contractEntityConfirmation strong {
  color: #0f5f59;
  font-size: 15px;
}

.contractEntityConfirmation span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.contractEntityCheckbox {
  border: 1px solid #8bd5cb;
  border-radius: 8px;
  background: #f0fdfa;
  padding: 10px 12px;
  font-weight: 900;
}

.contractPanel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(22, 32, 50, 0.06);
}

.contractPanel.wide,
.submitPanel {
  grid-column: 1 / -1;
}

.contractPanelHead {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.contractPanelHead > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  font-weight: 900;
}

.contractPanelHead h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.contractPanelHead p,
.submitPanel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.contractFields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contractFields label,
.typedSignature,
.contractChecks label {
  display: grid;
  gap: 6px;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
}

.contractFields label:has(select[name="position"]) {
  font-size: 16px;
  font-weight: 900;
}

.contractFields select[name="position"] {
  min-height: 46px;
  border: 2px solid #0f766e;
  border-radius: 7px;
  background: #f0fdfa;
  color: #172033;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  padding: 9px 10px;
}

.contractFields .wide {
  grid-column: 1 / -1;
}

.contractFields input,
.typedSignature input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 9px 10px;
  outline: none;
}

.localizedFileInput {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  clip-path: inset(50%);
  overflow: hidden;
}

.localizedFilePicker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  padding: 6px 9px;
}

.localizedFilePicker button {
  min-height: 30px;
  border: 1px solid #94a3b8;
  border-radius: 5px;
  background: #f8fafc;
  color: #172033;
  padding: 5px 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.localizedFilePicker button:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

.localizedFilePicker span {
  min-width: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contractFields input:focus,
.typedSignature input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(32, 209, 178, 0.16);
}

.contractNotice {
  margin-top: 12px;
  border-left: 5px solid #0f766e;
  border-radius: 8px;
  background: #effaf8;
  color: #344054;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px;
}

.evidenceUploadGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.evidenceUploadCard {
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.evidenceUploadCard > div,
.evidenceUploadCard label {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.evidenceUploadCard b {
  color: #172033;
  font-size: 14px;
}

.evidenceUploadCard span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.evidenceUploadCard img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-block: 1px solid #dbe3ec;
  background: #e8edf3;
}

.evidenceUploadCard img[hidden] {
  display: block;
  visibility: hidden;
}

.evidenceUploadCard label {
  color: #172033;
  font-size: 12px;
  font-weight: 800;
}

.evidenceUploadCard input[type="file"] {
  width: 100%;
  min-width: 0;
}

.evidenceFields {
  margin-top: 12px;
}

.contractText {
  max-height: 580px;
  overflow: auto;
  border: 1px solid #dce6f1;
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
}

.contractText h2 {
  margin: 0 0 10px;
  color: #101827;
  font-size: 24px;
  line-height: 1.15;
}

.contractText h3 {
  margin: 18px 0 8px;
  color: #1f4d78;
  font-size: 17px;
}

.contractText p {
  margin: 7px 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}

.contractLegalNote {
  color: #7a5a00 !important;
  font-weight: 800;
}

.englishContractSection {
  margin-top: 28px;
  border-top: 1px solid rgba(16, 24, 39, 0.14);
  padding-top: 18px;
}

.contractPage .dualText {
  margin-top: 8px;
  color: rgba(241, 245, 249, 0.78);
  font-size: 14px;
}

.contractChecks {
  display: grid;
  gap: 10px;
}

.contractChecks label {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  border: 1px solid #e3ebf5;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
  line-height: 1.4;
}

.contractChecks input {
  margin-top: 2px;
}

.signatureBox {
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.signatureBox canvas {
  display: block;
  width: 100%;
  height: 190px;
  touch-action: none;
  border-radius: 6px;
  background: #fff;
}

.mobileSignatureActions {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.mobileSignatureActions > button {
  min-height: 46px;
  border: 1px solid #0f766e;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 11px 16px;
  justify-self: start;
}

.mobileSignatureActions > small {
  color: var(--muted);
  line-height: 1.5;
}

.mobileSignaturePanel {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fbff;
  text-align: center;
}

.mobileSignaturePanel[hidden] {
  display: none;
}

.mobileSignaturePanel strong,
.mobileSignaturePanel span {
  color: #172033;
  font-size: 13px;
}

.mobileSignaturePanel span {
  color: var(--muted);
}

.mobileSignaturePanel img {
  width: 220px;
  height: 220px;
  border: 8px solid #fff;
  box-shadow: 0 5px 16px rgba(22, 32, 50, 0.12);
  image-rendering: pixelated;
}

.mobileSignaturePanel code {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #526176;
  font-size: 11px;
}

.mobileSignaturePanel button {
  min-height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  font-weight: 800;
  padding: 8px 12px;
}

.mobileUploadTrigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 38px;
  margin-top: 9px;
  border: 1px solid #0f766e;
  border-radius: 8px;
  background: #fff;
  color: #0f766e;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
}

.mobileUploadTrigger[data-received="true"] {
  border-color: #15803d;
  background: #ecfdf5;
  color: #166534;
}

.mobileUploadReceived {
  display: block;
  margin-top: 7px;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mobileUploadDialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(15, 23, 42, 0.66);
  padding: 20px;
}

.mobileUploadDialog[hidden] {
  display: none;
}

.mobileUploadDialogCard {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(420px, 100%);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 24px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.mobileUploadDialogCard h2,
.mobileUploadDialogCard p {
  margin: 0;
}

.mobileUploadDialogCard > span {
  color: var(--muted);
  font-size: 13px;
}

.mobileUploadDialogCard > img {
  width: 240px;
  height: 240px;
  border: 8px solid #fff;
  box-shadow: 0 5px 16px rgba(22, 32, 50, 0.12);
  image-rendering: pixelated;
}

.mobileUploadDialogCard > code {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #526176;
  font-size: 11px;
}

.mobileUploadDialogCard > button:not(.mobileUploadDialogClose) {
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 12px;
}

.mobileUploadDialogClose {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #526176;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.typedSignature {
  margin-top: 12px;
}

.contractActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.contractActions button {
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  cursor: pointer;
  font-weight: 900;
  padding: 9px 12px;
}

.contractActions .primary {
  border-color: #101827;
  background: #101827;
  color: #fff;
}

.submitPanel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.submitPanel h2 {
  margin: 0 0 5px;
}

.contractSubmitInfo {
  flex: 1 1 620px;
  min-width: 0;
}

.contractOtpBlock {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(280px, 1.3fr);
  gap: 10px 12px;
  align-items: end;
  margin-top: 14px;
  max-width: 920px;
}

.contractOtpBlock button {
  min-height: 44px;
  border: 1px solid #0f766e;
  border-radius: 8px;
  background: #ecfdf8;
  color: #0f5f59;
  cursor: pointer;
  font-weight: 900;
  padding: 9px 12px;
}

.contractOtpBlock button[data-sent="true"] {
  border-color: #15803d;
  background: #effcf3;
  color: #166534;
}

.contractOtpBlock button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.contractOtpBlock label {
  display: grid;
  gap: 6px;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
}

.contractOtpBlock input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  padding: 9px 12px;
  outline: none;
}

.contractOtpBlock input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.contractOtpBlock small,
.contractOtpStatus {
  grid-column: 1 / -1;
}

.contractOtpBlock small {
  color: #64748b;
  line-height: 1.45;
}

.contractOtpStatus {
  min-height: 20px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.contractOtpStatus[data-type="success"] {
  color: #166534;
}

.contractOtpStatus[data-type="error"] {
  color: #b42318;
}

@media (max-width: 760px) {
  .contractCompanyIdentityHead {
    grid-template-columns: 1fr;
  }

  .companyDocGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contractHeader {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .contractHeader .applyBrand {
    order: -1;
    flex: 1 1 100%;
  }

  .contractHeader .contractSmallLink {
    margin-left: 0;
  }

  .contractHeaderLinks {
    width: 100%;
    justify-content: flex-end;
  }

  .contractHero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .contractHero h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .contractGrid,
  .contractFields {
    grid-template-columns: 1fr;
  }

  .contractPanel.wide,
  .submitPanel,
  .contractFields .wide {
    grid-column: 1;
  }

  .submitPanel {
    display: grid;
    align-items: stretch;
  }

  .contractOtpBlock {
    grid-template-columns: 1fr;
  }

  .contractOtpBlock small,
  .contractOtpStatus {
    grid-column: 1;
  }

  .submitPanel .contractActions {
    justify-content: stretch;
  }

  .submitPanel .contractActions button {
    flex: 1 1 180px;
  }
}

.applyPage {
  min-height: 100vh;
  background: #f4f7fb;
}

.applyShell {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 48px;
}

.applyHeader {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.applyBack {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.applyBack:hover {
  color: var(--teal);
}

.applyBrand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #172033;
}

.applyBrand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.applyBrand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.applyBrand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.applyLang {
  position: static;
  justify-self: end;
  box-shadow: none;
}

.applicationPageCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(22, 32, 50, 0.08);
}

.applyIntro {
  max-width: 680px;
  margin-bottom: 18px;
}

.applyIntro h1 {
  margin-top: 8px;
  color: #172033;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.applyIntro p {
  margin-top: 10px;
  color: #475467;
  line-height: 1.6;
}

.contractEntry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.contractEntry a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  padding: 9px 12px;
}

.contractEntry span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hrVaultPage {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(7, 12, 24, 0.98), rgba(16, 24, 39, 0.97)),
    url("/static/company/front-desk-team.jpg") center/cover fixed;
  color: #f8fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hrVaultShell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hrLoginShell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hrLoginBox {
  width: min(460px, 100%);
  border: 1px solid rgba(226, 232, 240, 0.28);
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.94);
  padding: 24px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

.hrLoginBox h1 {
  margin: 24px 0 10px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hrLoginBox p,
.hrLoginBox a {
  color: rgba(241, 245, 249, 0.88);
}

.hrLoginBox .dualText,
.hrVaultHero .dualText {
  margin-top: 8px;
  color: rgba(203, 213, 225, 0.82);
  font-size: 14px;
}

.hrLoginBox form {
  display: grid;
  gap: 14px;
  margin: 22px 0 16px;
}

.hrLoginBox label {
  display: grid;
  gap: 8px;
  color: rgba(248, 250, 252, 0.94);
  font-size: 13px;
  font-weight: 800;
}

.hrLoginBox input {
  min-height: 44px;
  border: 1px solid rgba(203, 213, 225, 0.5);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  padding: 0 12px;
  font: inherit;
}

.hrLoginBox .primary {
  border: 0;
  border-radius: 8px;
  background: #38bdf8;
  color: #082f49;
  min-height: 44px;
  font-weight: 900;
}

.emailOtpBlock {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  padding: 12px;
}

.emailOtpBlock[hidden] {
  display: none;
}

.emailOtpBlock button {
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.18);
  color: #e0f2fe;
  min-height: 42px;
  font-weight: 900;
  cursor: pointer;
}

.emailOtpBlock button[data-sent="true"] {
  border-color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  color: #d1fae5;
}

.otpDeliveryStatus {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.5;
}

.otpDeliveryStatus:not(:empty) {
  display: block;
}

.otpDeliveryStatus[data-type="success"] {
  border-color: rgba(52, 211, 153, 0.7);
  background: rgba(16, 185, 129, 0.14);
  color: #d1fae5;
}

.otpDeliveryStatus[data-type="error"] {
  border-color: rgba(248, 113, 113, 0.7);
  background: rgba(239, 68, 68, 0.14);
  color: #fee2e2;
}

.emailOtpBlock small {
  color: rgba(203, 213, 225, 0.86);
  line-height: 1.45;
}

.hrVaultHero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 42px 0 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.18);
}

.hrVaultHero span,
.hrVaultGuard b {
  display: block;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hrVaultHero h1 {
  margin: 10px 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.hrVaultHero p {
  max-width: 720px;
  margin: 0;
  color: rgba(248, 250, 252, 0.9);
  font-size: 16px;
  line-height: 1.65;
}

.hrVaultGuard {
  width: min(320px, 100%);
  padding: 18px;
  border: 1px solid rgba(125, 211, 252, 0.42);
  background: rgba(8, 13, 24, 0.9);
  border-radius: 8px;
}

.hrVaultGuard span {
  display: block;
  margin-top: 8px;
  color: rgba(241, 245, 249, 0.86);
  font-size: 13px;
  line-height: 1.5;
}

.hrVaultSearch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin: 22px 0;
}

.hrVaultSearch label,
.hrVaultForm label {
  display: grid;
  gap: 8px;
  color: rgba(248, 250, 252, 0.94);
  font-size: 13px;
  font-weight: 700;
}

.hrVaultSearch input,
.hrVaultForm input,
.hrVaultForm select {
  min-height: 42px;
  border: 1px solid rgba(203, 213, 225, 0.5);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  padding: 0 12px;
  font: inherit;
}

.hrVaultSearch button,
.accountRowHead button,
.hrAccountList button,
.hrVaultForm button {
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}

.hrVaultSearch button,
.hrVaultForm .primary {
  background: #38bdf8;
  color: #082f49;
}

.hrVaultResults {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
}

.hrVaultDirectory {
  margin: 0 0 22px;
  border: 1px solid rgba(226, 232, 240, 0.26);
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.92);
  padding: 18px;
}

.hrDirectoryHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.hrDirectoryHead h2 {
  margin: 0 0 6px;
  color: #f8fafc;
  font-size: 22px;
  letter-spacing: 0;
}

.hrDirectoryHead p,
.hrDirectoryHead span {
  margin: 0;
  color: rgba(241, 245, 249, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.hrDirectoryHead span {
  white-space: nowrap;
  color: #bae6fd;
  font-weight: 800;
}

.hrDirectoryFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hrDirectoryFilters button {
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.88);
  color: #dbeafe;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

.hrDirectoryFilters button.active {
  background: #38bdf8;
  color: #082f49;
}

.hrDirectoryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.hrDirectoryButton {
  display: grid;
  gap: 5px;
  min-height: 86px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  text-align: left;
  padding: 12px;
  cursor: pointer;
}

.hrDirectoryButton:hover,
.hrDirectoryButton:focus-visible {
  border-color: rgba(56, 189, 248, 0.84);
  background: rgba(14, 165, 233, 0.18);
  outline: none;
}

.hrDirectoryButton b {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.hrDirectoryButton span,
.hrDirectoryButton small {
  color: rgba(241, 245, 249, 0.82);
  font-size: 12px;
  line-height: 1.35;
}

.hrVaultEmpty,
.hrProfileCard,
.accountRow {
  border: 1px solid rgba(226, 232, 240, 0.26);
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.92);
}

.hrVaultEmpty {
  padding: 18px;
  color: rgba(248, 250, 252, 0.9);
}

.hrVaultPage .contractPanel {
  border: 1px solid rgba(226, 232, 240, 0.26);
  background: rgba(8, 13, 24, 0.94);
  color: #f8fafc;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.hrVaultPage .contractPanelHead h2 {
  color: #f8fafc;
}

.hrVaultPage .contractPanelHead p {
  color: rgba(241, 245, 249, 0.86);
}

.hrVaultPage .contractFields input::placeholder {
  color: rgba(203, 213, 225, 0.68);
}

.hrProfileCard {
  padding: 18px;
}

.hrProfileHead {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.hrProfileHead span {
  display: inline-flex;
  margin-bottom: 6px;
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hrProfileHead h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: 0;
}

.hrProfileHead p,
.hrProfileHead small {
  margin: 0;
  color: rgba(241, 245, 249, 0.82);
}

.hrProfileActions {
  display: grid;
  justify-items: end;
  gap: 10px;
  max-width: 320px;
}

.hrArchiveButton {
  border: 1px solid rgba(248, 113, 113, 0.55);
  border-radius: 8px;
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
}

.hrDetailGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.2);
}

.hrDetailGrid > div {
  min-width: 0;
  background: rgba(15, 23, 42, 0.97);
  padding: 12px;
}

.hrDetailGrid dt {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.hrDetailGrid dd {
  margin: 5px 0 0;
  color: #f8fafc;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hrMediaGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hrMediaPreview {
  display: grid;
  grid-template-rows: 180px auto;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.96);
  color: #dbeafe;
  text-decoration: none;
}

.hrMediaPreview img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #eef2f7;
}

.hrMediaPreview span {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
}

.hrEvidenceReview {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  border: 1px solid rgba(245, 158, 11, 0.48);
  border-radius: 8px;
  background: rgba(69, 43, 5, 0.42);
  color: #f8fafc;
  padding: 14px;
}

.hrEvidenceReview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hrEvidenceReview span {
  color: #fbbf24;
  font-size: 12px;
  font-weight: 900;
}

.hrEvidenceReview p,
.hrEvidenceReview small {
  margin: 0;
}

.hrEvidenceReview small {
  color: #cbd5e1;
  line-height: 1.45;
}

.hrEvidenceReview[data-status="received"] {
  border-color: rgba(52, 211, 153, 0.48);
  background: rgba(6, 78, 59, 0.34);
}

.hrEvidenceReview[data-status="received"] span {
  color: #6ee7b7;
}

.evidenceReplaceActions {
  width: 100%;
  margin-top: 0;
}

.hrEvidenceHistory {
  margin-top: 12px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
}

.hrEvidenceHistory > summary {
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.hrEvidenceHistoryGrid {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.hrEvidenceHistoryItem {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding-top: 12px;
}

.hrEvidenceHistoryItem > a {
  display: block;
  min-height: 120px;
  border-radius: 6px;
  overflow: hidden;
  background: #eef2f7;
}

.hrEvidenceHistoryItem img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.hrEvidenceHistoryItem > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.hrEvidenceHistoryItem b,
.hrEvidenceHistoryItem span,
.hrEvidenceHistoryItem > div > a {
  overflow-wrap: anywhere;
}

.hrEvidenceHistoryItem span {
  color: #cbd5e1;
  font-size: 12px;
}

.hrEvidenceHistoryItem > div > a {
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
}

.hrLateEvidenceUpload {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(190px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 8px;
  background: rgba(8, 47, 73, 0.38);
}

.hrLateEvidenceUpload > div {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hrLateEvidenceUpload > div span,
.hrLateEvidenceUpload label {
  color: #cbd5e1;
  font-size: 12px;
}

.hrLateEvidenceUpload label {
  display: grid;
  gap: 6px;
}

.hrLateEvidenceUpload input {
  width: 100%;
}

.hrSectionTitle {
  margin: 20px 0 0;
  color: #f8fafc;
  font-size: 16px;
  letter-spacing: 0;
}

.hrAccountList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.hrDocLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hrDocLinks a,
.hrAccountSearchItem a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.12);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  padding: 7px 10px;
}

.hrAccountSearchItem {
  display: grid;
  gap: 8px;
}

.hrAccountList button,
.hrAccountReveal {
  display: grid;
  gap: 5px;
  text-align: left;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  border: 1px solid rgba(125, 211, 252, 0.34);
  padding: 13px;
  border-radius: 8px;
}

.hrAccountList button span,
.hrAccountReveal span,
.hrAccountReveal small {
  color: rgba(241, 245, 249, 0.84);
  font-size: 13px;
}

.hrAccountReveal strong {
  color: #fef3c7;
}

.hrVaultForm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.accountRows {
  display: grid;
  gap: 14px;
}

.accountRow {
  padding: 14px;
}

.accountRow .contractFields label,
.accountRowHead b {
  color: #f8fafc;
}

.accountRowHead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.accountRowHead button {
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.hrVaultCreate {
  margin-top: 24px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.92);
}

.hrVaultCreate > summary {
  color: #dbeafe;
  padding: 16px 18px;
  font-weight: 800;
  cursor: pointer;
}

.hrVaultCreate .hrVaultForm {
  padding: 0 18px 18px;
}

.hrArchiveDialog {
  width: min(560px, calc(100vw - 28px));
  border: 1px solid rgba(248, 113, 113, 0.55);
  border-radius: 8px;
  background: #0b1220;
  color: #f8fafc;
  padding: 0;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.hrArchiveDialog::backdrop {
  background: rgba(2, 6, 23, 0.78);
}

.hrArchivePanel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.hrArchiveHead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hrArchiveHead h2 {
  margin: 3px 0 0;
  font-size: 24px;
  letter-spacing: 0;
}

.hrArchiveHead small,
.hrArchivePanel p,
.hrArchiveTarget span,
.hrArchiveStatus {
  color: #cbd5e1;
  line-height: 1.55;
}

.hrArchiveHead > button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
  font-size: 24px;
  cursor: pointer;
}

.hrArchiveTarget {
  display: grid;
  gap: 4px;
  border-left: 3px solid #f87171;
  background: rgba(127, 29, 29, 0.18);
  padding: 11px 13px;
}

.hrArchivePanel label {
  display: grid;
  gap: 7px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
}

.hrArchivePanel input {
  min-height: 44px;
  border: 1px solid rgba(203, 213, 225, 0.5);
  border-radius: 8px;
  background: #111a2d;
  color: #f8fafc;
  padding: 0 12px;
  font: inherit;
}

.hrArchivePanel button {
  min-height: 42px;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 800;
  cursor: pointer;
}

.hrArchivePanel .secondary {
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.15);
  color: #bae6fd;
}

.hrArchivePanel button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.hrArchiveActions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.hrArchiveActions button {
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: #172033;
  color: #e2e8f0;
}

.hrArchiveActions .danger {
  border-color: #ef4444;
  background: #b91c1c;
  color: #fff;
}

@media (max-width: 760px) {
  .hrVaultHero,
  .hrProfileHead {
    display: grid;
  }

  .hrVaultSearch {
    grid-template-columns: 1fr;
  }

  .hrProfileActions {
    justify-items: start;
    max-width: none;
  }

  .hrMediaPreview {
    grid-template-rows: 220px auto;
  }

  .hrMediaPreview img {
    height: 220px;
  }

  .evidenceUploadGrid {
    grid-template-columns: 1fr;
  }

  .hrEvidenceReview > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .hrLateEvidenceUpload {
    grid-template-columns: 1fr;
  }

  .hrLateEvidenceUpload > div {
    display: grid;
  }

  .hrEvidenceHistoryItem {
    grid-template-columns: 1fr;
  }

  .hrEvidenceHistoryItem > a,
  .hrEvidenceHistoryItem img {
    min-height: 180px;
    height: 180px;
  }
}

.applicationInfoGrid {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) repeat(2, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.applyInfoHero,
.applyInfoCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(22, 32, 50, 0.06);
}

.applyInfoHero {
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.94), rgba(18, 88, 105, 0.9)),
    url("/static/company/entrance.jpg") center / cover;
  color: #fff;
}

.applyInfoHero h2 {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.08;
}

.applyInfoHero p {
  margin-top: 10px;
  color: #dbeafe;
  line-height: 1.55;
}

.applyContactLine {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 900;
}

.applyInfoCard h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.applyInfoCard ul {
  margin: 0;
  padding-left: 18px;
}

.applyInfoCard li {
  margin: 7px 0;
  color: #334155;
  line-height: 1.4;
}

.stripHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.stripHeader h2 {
  font-size: 20px;
  line-height: 1.2;
}

.stripHeader span {
  color: var(--muted);
  font-size: 12px;
}

.reportControls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.reportTabs,
.shiftTabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.reportTab,
.shiftTab {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.reportTab.active,
.shiftTab.active {
  color: #fff;
  background: #172033;
  border-color: #172033;
}

.shiftTab.active {
  background: #0f766e;
  border-color: #0f766e;
}

.reportPages {
  display: block;
}

.pageThumb {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(22, 32, 50, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pageThumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(22, 32, 50, 0.11);
}

.pageThumb img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f8fafc;
}

.pageThumb span {
  display: block;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
}

.reportToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.reportToolbar strong,
.reportToolbar span {
  display: block;
}

.reportToolbar span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.reportSelectionActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.reportPrimaryBtn,
.reportSecondaryBtn,
.reportDownload {
  min-height: 34px;
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}

.reportPrimaryBtn {
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
}

.reportPrimaryBtn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.reportSecondaryBtn,
.reportDownload {
  color: var(--ink);
  background: #fff;
}

.reportDownload {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
}

.a6CardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.a6ReportCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 22px rgba(22, 32, 50, 0.05);
}

.a6ReportCard.selected {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12), 0 10px 22px rgba(22, 32, 50, 0.06);
}

.a6Pick {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.a6Pick input {
  width: 16px;
  height: 16px;
  accent-color: #0f766e;
}

.a6ImageLink {
  display: block;
  background: #eef4f8;
}

.a6ImageLink img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.a6CardFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
}

.a6CardFooter strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.customA4Layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: start;
  gap: 18px;
}

.customA4Picker .a6CardGrid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.customA4Picker .a6ImageLink img {
  height: 220px;
}

.customA4Preview {
  position: sticky;
  top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(22, 32, 50, 0.08);
}

.customA4Preview h3 {
  margin-bottom: 10px;
  font-size: 15px;
}

.customA4Sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  aspect-ratio: 210 / 297;
  padding: 8px;
  border-radius: 6px;
  background: #f1f5f9;
}

.customA4Slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 1px solid #d6dee8;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.customA4Slot img {
  width: 100%;
  height: calc(100% - 24px);
  object-fit: contain;
}

.customA4Slot span {
  max-width: 100%;
  padding: 4px 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.placeholderSlot {
  border-style: dashed;
  color: #94a3b8;
  background: #f8fafc;
}

.placeholderSlot span {
  font-size: 22px;
  font-weight: 900;
}

.placeholderSlot small {
  color: #94a3b8;
}

@media (max-width: 980px) {
  .opsStatus,
  .diamondBoard,
  .commandBar,
  .sectionNav,
  .layout,
  .reportStrip,
  .quickOverview,
  .leaderboardSection,
  .recruitmentSection,
  .companySection,
  .cultureSection {
    margin: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .siteHero {
    min-height: 560px;
  }

  .heroContent {
    padding-left: 20px;
    padding-right: 20px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .commandBar {
    grid-template-columns: repeat(3, 1fr);
  }

  .priorityNote {
    grid-column: 1 / -1;
  }

  .hostList {
    max-height: none;
  }

  .metricsGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .actionGrid,
  .reportPreview,
  .diamondGrid,
  .quickOverview,
  .championPodium,
  .leaderboardGrid,
  .hiringSummaryPoints,
  .recruitmentGrid,
  .applicationInfoGrid,
  .applicationCard,
  .featureGrid,
  .showcaseBand,
  .customA4Layout {
    grid-template-columns: 1fr;
  }

  .customA4Preview {
    position: static;
  }

  .applicationForm {
    grid-template-columns: 1fr;
  }

  .applyHeader {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .applyBrand {
    justify-content: flex-start;
  }

  .applyLang {
    justify-self: start;
  }

  .applicationPageCard {
    padding: 16px;
  }

  .showcaseMain {
    height: 260px;
  }

  .quickOverview {
    margin-top: 0;
  }

  .championFirst {
    order: -1;
  }

  .championCard {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .championPhoto {
    width: 110px;
    height: 138px;
  }

  .cultureGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .siteHero {
    min-height: 620px;
  }

  .heroMedia::after {
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.35));
  }

  .brandLogo {
    width: 72px;
    height: 72px;
  }

  .heroContent h1 {
    font-size: 34px;
  }

  .heroContent p {
    font-size: 15px;
  }

  .heroStats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heroStats div {
    min-height: 72px;
    padding: 12px;
  }

  .heroStats strong {
    font-size: 20px;
  }

  .heroActions a {
    flex: 1 1 160px;
    text-align: center;
  }

  .quickCard {
    min-height: 112px;
  }

  .championInfo h3 {
    font-size: 17px;
  }

  .opsStatus {
    align-items: stretch;
    flex-direction: column;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .commandBar {
    grid-template-columns: 1fr;
  }

  .commandCard {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .commandCard span:last-child {
    grid-column: 1 / -1;
  }

  .diamondHeader {
    align-items: flex-start;
    flex-direction: column;
  }

  .diamondMini {
    grid-template-columns: 1fr;
  }

  .hostRow {
    grid-template-columns: 74px 1fr;
  }

  .miniMetrics {
    grid-column: 2;
    justify-items: start;
  }

  .cultureGrid {
    grid-template-columns: 1fr;
  }

  .featureGrid img,
  .cultureGrid img {
    height: 190px;
  }

  .pageThumb img {
    height: 170px;
  }

  .reportToolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .reportSelectionActions {
    justify-content: stretch;
  }

  .reportPrimaryBtn,
  .reportSecondaryBtn {
    flex: 1;
  }

  .a6ImageLink img,
  .customA4Picker .a6ImageLink img {
    height: 230px;
  }

  .championCard {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .championPhoto {
    width: 92px;
    height: 118px;
  }

  .showcaseCopy {
    padding: 20px;
  }

  .showcaseCopy h3,
  .sectionIntro h2 {
    font-size: 24px;
  }
}

/* Final backstage polish overrides. Keep this block last so older section styles do not win. */
body {
  background: #f3f6fb;
}

.dashboardShell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}

.sideRail {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  height: 100vh;
  border-right: 1px solid #e4eaf3;
  background: rgba(255, 255, 255, 0.97);
  padding: 18px 14px;
  box-shadow: 10px 0 30px rgba(22, 32, 50, 0.04);
}

.mainSurface {
  min-width: 0;
  padding: 20px 22px 42px;
}

.topBar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -20px -22px 18px;
  padding: 14px 22px;
  border-bottom: 1px solid #e4eaf3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.siteHero {
  min-height: 310px;
  margin: 0 0 18px;
  border-radius: 18px;
  padding: 28px;
  overflow: hidden;
}

.heroContent {
  max-width: 760px;
}

.heroTitle {
  font-size: clamp(34px, 4.5vw, 64px);
}

.quickNav,
.diamondBoard,
.commandCenter,
.layout,
.leaderboardSection,
.featureSection,
.recruitmentSection,
.reportSection,
.cultureSection {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.quickCard,
.diamondCard,
.commandCard,
.panel,
.leaderboardCard,
.recruitmentCard,
.featureGrid article,
.cultureCard {
  border: 1px solid #dfe8f4;
  box-shadow: 0 12px 30px rgba(22, 32, 50, 0.08);
}

.leaderboardGrid {
  grid-template-columns: repeat(3, minmax(210px, 1fr));
}

.championCard {
  grid-template-columns: 120px minmax(0, 1fr);
}

.championPhoto {
  width: 120px;
  height: 150px;
  border-radius: 14px;
  object-fit: cover;
}

.featureGrid img,
.cultureGrid img {
  height: 240px;
  object-fit: cover;
}

.pageThumb img,
.reportPreview img,
.a6ImageLink img {
  object-fit: contain;
}

.languageSwitch {
  top: 16px;
  right: 18px;
}

@media (max-width: 1180px) {
  .dashboardShell {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .sideBrand div,
  .sideNav b,
  .sideFooter {
    display: none;
  }

  .sideRail {
    padding: 14px 10px;
  }
}

@media (max-width: 780px) {
  .dashboardShell {
    display: block;
  }

  .sideRail {
    position: static;
    display: none;
  }

  .mainSurface {
    padding: 14px;
  }

  .topBar {
    position: static;
    margin: -14px -14px 14px;
    padding: 12px 14px;
  }

  .siteHero {
    min-height: 300px;
    padding: 22px;
  }

  .leaderboardGrid {
    grid-template-columns: 1fr;
  }
}

/* Academy and AI Coach polish */
.quickOverview {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.quickCard {
  min-height: 116px;
}

.academySection,
.aiCoachSection {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.trainingCard,
.aiCoachCard {
  border: 1px solid #dfe8f4;
  box-shadow: 0 12px 30px rgba(22, 32, 50, 0.06);
}

.diagnosisSection {
  margin-top: 18px;
}

.toolJumpBar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.toolJumpBar a {
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 12px;
  text-decoration: none;
}

.toolJumpBar a:hover,
.toolJumpBar a:focus-visible {
  border-color: #0f766e;
  color: #0f766e;
  outline: none;
}

.diagnosisToolGrid {
  display: grid;
  gap: 10px;
  margin: 12px 0 16px;
}

.toolDisclosure {
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  background: #ffffff;
  overflow: clip;
}

.toolDisclosure summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  min-height: 50px;
  padding: 10px 12px;
}

.toolDisclosure summary::-webkit-details-marker {
  display: none;
}

.toolDisclosure summary::after {
  color: #64748b;
  content: ">";
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.16s ease;
}

.toolDisclosure[open] summary::after {
  transform: rotate(90deg);
}

.toolDisclosure summary span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.toolDisclosure summary b {
  color: #172033;
  font-size: 15px;
  line-height: 1.2;
}

.toolDisclosure summary small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.toolBody {
  border-top: 1px solid #e7eef7;
  padding: 10px 12px 12px;
}

.toolInlineActions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.toolInlineActions button {
  border: 0;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 10px;
}

.diagnosisReviewStats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 8px;
  margin: 0;
}

.reviewStatCard {
  min-width: 0;
  min-height: 70px;
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
  cursor: pointer;
  display: grid;
  gap: 3px;
  justify-items: start;
  padding: 9px;
  text-align: left;
}

.reviewStatCard span,
.reviewStatCard small {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.reviewStatCard b {
  color: #172033;
  font-size: 26px;
  line-height: 1;
}

.reviewStatCard.warn {
  border-color: #f6d99b;
  background: #fffaf0;
}

.reviewStatCard.danger {
  border-color: #f2b8b8;
  background: #fff7f7;
}

.reviewStatCard.info {
  border-color: #bdd7f5;
  background: #f6fbff;
}

.reviewStatCard.good {
  border-color: #bde4c8;
  background: #f6fff8;
}

.diagnosisFilters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0;
}

.diagnosisFilters input,
.diagnosisFilters select,
.diagnosisFilters button {
  min-width: 0;
  min-height: 38px;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.diagnosisFilters input {
  grid-column: span 2;
  font-weight: 700;
}

.diagnosisFilters button {
  cursor: pointer;
  background: #101827;
  color: #fff;
  white-space: nowrap;
}

.exportLogPanel:not(.toolDisclosure),
.exportTodoPanel:not(.toolDisclosure) {
  margin: 0 0 14px;
  border: 1px solid #dfe8f4;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.exportTodoPanel {
  border-color: #d8eadf;
  background: #f8fffb;
}

.toolDisclosure.exportLogPanel,
.toolDisclosure.exportTodoPanel {
  margin: 0;
  padding: 0;
}

.exportLogHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.exportLogHead h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.exportLogHead span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.exportLogHead button {
  border: 0;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 10px;
}

.exportLogList,
.exportTodoList {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  max-height: 360px;
  overflow: auto;
}

.exportLogList .emptyState,
.exportTodoList .emptyState {
  min-height: 120px;
}

.diagnosisCardsHeader {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 12px 0 10px;
}

.diagnosisCardsHeader h3 {
  margin: 0 0 3px;
  font-size: 17px;
}

.diagnosisCardsHeader span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.exportLogItem,
.exportTodoItem {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
  background: #f8fbff;
  padding: 9px 10px;
}

.exportTodoItem {
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.3fr) auto;
  border-color: #cfe7d7;
  background: #ffffff;
}

.exportLogItem b,
.exportLogItem span,
.exportTodoItem b,
.exportTodoItem span {
  display: block;
}

.exportLogItem b,
.exportTodoItem b {
  color: #172033;
  font-size: 13px;
}

.exportLogItem > div > span,
.exportTodoItem > div > span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.exportLogBadges,
.exportTodoBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.exportLogBadges span,
.exportTodoBadges span {
  border-radius: 999px;
  background: #eef6ff;
  color: #1f4f9a;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 7px;
}

.exportTodoBadges span {
  background: #ecfdf3;
  color: #166534;
}

.exportTodoItem button {
  border: 0;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 8px 10px;
  white-space: nowrap;
}

.diagnosisCardsList {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-height: 620px;
  overflow: auto;
  padding-right: 3px;
}

.diagnosisCard {
  min-width: 0;
  border: 1px solid #dfe8f4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 32, 50, 0.07);
  padding: 16px;
}

.diagnosisCard.compact {
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  padding: 10px 12px;
}

.diagnosisCard.compact:hover,
.diagnosisCard.compact.selected {
  border-color: #0f766e;
  background: #fbfffd;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.diagnosisCardHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e7edf5;
  padding-bottom: 10px;
}

.diagnosisCard.compact .diagnosisCardHead {
  align-items: center;
  padding-bottom: 7px;
}

.diagnosisCardHead span {
  display: block;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

.diagnosisCardHead h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.diagnosisCard.compact .diagnosisCardHead h3 {
  font-size: 17px;
}

.diagnosisCardHead small {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.diagnosisCardTools {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.diagnosisCard.compact .diagnosisCardTools {
  gap: 5px;
}

.diagnosisCard.compact .trainingModeLine {
  margin: 8px 0;
}

.diagnosisCard.compact .diagnosisMetricGrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 8px;
}

.diagnosisCard.compact .diagnosisMetricGrid div {
  border-radius: 6px;
  padding: 7px;
}

.diagnosisCard.compact .diagnosisMetricGrid b {
  font-size: 15px;
}

.diagnosisCard.compact .diagnosisSummary {
  display: -webkit-box;
  margin: 7px 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compactFocus {
  margin: 8px 0 0;
}

.openAnchorProfile,
.anchorProfileClose,
.reviewHistoryExportButton {
  border: 0;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  white-space: nowrap;
}

.reviewHistoryExportButton:disabled {
  background: #d8e4f0;
  color: #64748b;
  cursor: not-allowed;
}

.reviewExportHint {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.anchorProfilePanel {
  display: grid;
  gap: 14px;
  margin: 14px 0;
  border: 1px solid #d9e6f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22, 32, 50, 0.08);
  padding: 16px;
}

.anchorProfilePanel[hidden] {
  display: none;
}

.anchorProfileHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e6edf5;
  padding-bottom: 12px;
}

.anchorProfileHead span {
  display: block;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

.anchorProfileHead h3 {
  margin: 4px 0 6px;
  font-size: 26px;
}

.anchorProfileHead p {
  max-width: 840px;
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.anchorProfileActions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.exportFollowupReminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #f2d28b;
  border-radius: 8px;
  background: #fff8e7;
  padding: 11px 12px;
}

.exportFollowupReminder b,
.exportFollowupReminder span {
  display: block;
}

.exportFollowupReminder b {
  color: #7a4a00;
  font-size: 14px;
}

.exportFollowupReminder span {
  margin-top: 3px;
  color: #7a4a00;
  font-size: 12px;
  font-weight: 800;
}

.exportFollowupReminder button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: #7a4a00;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 10px;
}

.reviewHistoryExportButton:not(:disabled) {
  background: #0f766e;
}

.anchorProfileStats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.anchorProfileStats div,
.anchorProfileGrid section {
  min-width: 0;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
  background: #f8fbff;
  padding: 11px;
}

.anchorProfileStats span,
.anchorProfileStats b {
  display: block;
  min-width: 0;
}

.anchorProfileStats span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.anchorProfileStats b {
  margin-top: 4px;
  color: #172033;
  font-size: 18px;
}

.anchorProfileFoldStack {
  display: grid;
  gap: 10px;
}

.anchorProfileDisclosure {
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.anchorProfileDisclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f8fbff;
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
}

.anchorProfileDisclosure summary::-webkit-details-marker {
  display: none;
}

.anchorProfileDisclosure summary::after {
  content: "+";
  color: #0f766e;
  font-size: 18px;
  font-weight: 900;
}

.anchorProfileDisclosure[open] summary::after {
  content: "-";
}

.anchorProfileDisclosure summary b,
.anchorProfileDisclosure summary small {
  display: block;
}

.anchorProfileDisclosure summary b {
  color: #172033;
  font-size: 14px;
}

.anchorProfileDisclosure summary small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.anchorProfileDisclosureBody {
  border-top: 1px solid #e7eef7;
  padding: 12px 14px;
}

.newAnchorTrainingBlock,
.trainingTaskBody {
  margin-top: 10px;
  border: 1px solid #cfe7d7;
  border-radius: 8px;
  background: #f4fbf6;
  padding: 12px;
}

.newAnchorTrainingBlock h4,
.trainingTaskBody b {
  display: block;
  margin: 0 0 8px;
  color: #166534;
  font-size: 14px;
}

.trainingTaskBody p {
  margin: 0 0 7px;
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}

.anchorProfileGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.anchorProfileGrid.wide {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.anchorProfileGrid h4 {
  margin: 0 0 9px;
  font-size: 14px;
}

.anchorProfileGrid p,
.anchorProfileGrid ol,
.anchorProfileGrid ul {
  margin-top: 8px;
}

.profilePairList {
  display: grid;
  gap: 7px;
  list-style: none;
  padding: 0;
}

.profilePairList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e5edf6;
  padding-bottom: 6px;
}

.profilePairList li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profilePairList span {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.profilePairList b {
  color: #0f766e;
  font-size: 13px;
}

.profileSessionRow {
  display: grid;
  gap: 7px;
  border-top: 1px solid #e5edf6;
  padding: 9px 0;
}

.profileSessionRow:first-of-type {
  border-top: 0;
}

.profileSessionRow b,
.profileSessionRow span {
  display: block;
}

.profileSessionRow b {
  color: #172033;
  font-size: 13px;
}

.profileSessionRow span,
.profileSessionRow p {
  color: #64748b;
  font-size: 12px;
}

.profileSessionMetrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profileSessionMetrics span {
  border-radius: 999px;
  background: #eef6ff;
  color: #1f4f9a;
  font-weight: 900;
  padding: 4px 7px;
}

.profileCurrentProblem {
  border-radius: 8px;
  background: #fff8e7;
  color: #7a4a00;
  padding: 9px;
}

.anchorHistorySection {
  min-width: 0;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
  background: #f8fbff;
  padding: 11px;
}

.historySessionToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.historySessionToolbar b,
.historySessionToolbar span {
  display: block;
}

.historySessionToolbar b {
  color: #172033;
  font-size: 14px;
}

.historySessionToolbar span {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.historySessionToolbar select {
  min-height: 36px;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 9px;
}

.historySessionControls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.historyExportButton {
  min-height: 36px;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.historyExportButton:nth-of-type(2) {
  background: #1f4f9a;
}

.historyExportButton:nth-of-type(3) {
  background: #7a4a00;
}

.historySessionTableWrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid #e0e8f2;
  border-radius: 8px;
  background: #fff;
}

.historySessionTable {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: 12px;
}

.historySessionTable th,
.historySessionTable td {
  border-bottom: 1px solid #edf2f7;
  padding: 9px 8px;
  text-align: left;
  vertical-align: top;
}

.historySessionTable th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1f6fb;
  color: #475569;
  font-weight: 900;
}

.historySortButton {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-align: left;
  white-space: nowrap;
}

.historySortButton::after {
  content: "↕";
  color: #94a3b8;
  font-size: 10px;
}

.historySortButton.active {
  color: #0f766e;
}

.historySortButton.active.asc::after {
  content: "↑";
  color: #0f766e;
}

.historySortButton.active.desc::after {
  content: "↓";
  color: #0f766e;
}

.historySessionTable td {
  color: #334155;
  white-space: nowrap;
}

.historySessionTable td:last-child {
  min-width: 180px;
  white-space: normal;
}

.sessionCategory {
  display: inline-block;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 7px;
}

.sessionCategory.problem {
  background: #fff5d7;
  color: #a16207;
}

.sessionCategory.excellent {
  background: #e8f8ef;
  color: #15803d;
}

.sessionCategory.normal {
  background: #edf4ff;
  color: #1f4f9a;
}

.diagnosisSummary {
  margin: 12px 0;
  color: #344054;
  line-height: 1.55;
}

.trainingModeLine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.trainingModeLine span,
.trainingModeLine b {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.trainingModeLine span {
  background: #edf4ff;
  color: #1f4f9a;
}

.trainingModeLine b {
  background: #fff1d6;
  color: #9a5b00;
}

.diagnosisMetricGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.diagnosisMetricGrid div {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fbff;
  padding: 9px;
}

.diagnosisMetricGrid b,
.diagnosisMetricGrid span {
  display: block;
}

.diagnosisMetricGrid b {
  font-size: 18px;
}

.diagnosisMetricGrid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.diagnosisFocus {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.diagnosisFocus span {
  border-radius: 999px;
  background: #eef8f6;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.diagnosisBlock {
  margin-top: 10px;
  border: 1px solid #e3ebf5;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.diagnosisBlock.compact {
  background: #f8fbff;
}

.detailDataBlock {
  background: #f8fbff;
}

.detailDataHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.detailDataHeader h4 {
  margin: 0;
}

.detailDataHeader span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eaf7f4;
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
}

.detailMetricGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detailMetric {
  min-width: 0;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.detailMetric span,
.detailMetric b {
  display: block;
  min-width: 0;
}

.detailMetric span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.detailMetric b {
  margin-top: 5px;
  color: #172033;
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.detailMetric.source {
  border-color: #bde9df;
  background: #f1fbf8;
}

.detailMetric.ok b {
  color: #0f766e;
}

.detailMetric.warn b {
  color: #b45309;
}

.detailReviewBlock {
  border-left: 4px solid #2563eb;
  background: #f7fbff;
}

.diagnosisBlock h4,
.diagnosisTasks h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.diagnosisBlock p {
  margin: 0;
  color: #344054;
  line-height: 1.55;
}

.diagnosisBlock ul,
.diagnosisBlock ol,
.trainingTaskBody ul,
.trainingTaskBody ol {
  margin: 0;
  padding-left: 20px;
}

.diagnosisBlock li,
.trainingTaskBody li {
  margin: 5px 0;
  color: #405067;
  line-height: 1.5;
}

.liveDetailAnalysisSection {
  margin: 24px 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.liveDetailAnalysisSummary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.liveDetailAnalysisSummary div,
.liveDetailAnalysisCard {
  border: 1px solid #e3ebf5;
  border-radius: 8px;
  background: #fff;
}

.liveDetailAnalysisSummary div {
  padding: 12px;
}

.liveDetailAnalysisSummary b,
.liveDetailAnalysisSummary span {
  display: block;
}

.liveDetailAnalysisSummary b {
  color: #152033;
  font-size: 18px;
  word-break: break-word;
}

.liveDetailAnalysisSummary span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.liveDetailAnalysisList {
  display: grid;
  gap: 14px;
}

.liveDetailAnalysisCard {
  padding: 14px;
}

.liveDetailAnalysisCard.problem {
  border-left: 5px solid #ef4444;
}

.liveDetailAnalysisCard.excellent {
  border-left: 5px solid #10b981;
}

.liveDetailAnalysisHead {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.liveDetailAnalysisHead h3 {
  margin: 4px 0;
  font-size: 22px;
}

.liveDetailAnalysisHead span,
.liveDetailAnalysisHead small {
  color: #64748b;
  font-size: 12px;
}

.liveDetailTags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.liveDetailTags span {
  border-radius: 999px;
  background: #eef8f6;
  color: #0f766e;
  padding: 5px 8px;
  font-size: 12px;
}

.liveDetailMetricGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.liveDetailMetricGrid div {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
}

.liveDetailMetricGrid b,
.liveDetailMetricGrid span {
  display: block;
}

.liveDetailMetricGrid b {
  color: #172033;
  font-size: 16px;
  word-break: break-word;
}

.liveDetailMetricGrid span {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
}

.liveDetailAnalysisBody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.liveDetailAnalysisBody section {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.liveDetailAnalysisBody h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.liveDetailAnalysisBody ul {
  margin: 0;
  padding-left: 18px;
}

.liveDetailAnalysisBody li,
.liveDetailAnalysisBody p {
  margin: 5px 0;
  color: #334155;
  line-height: 1.45;
}

.windowSummaryDetails {
  margin-top: 12px;
}

.windowSummaryDetails summary {
  cursor: pointer;
  color: #0f766e;
  font-weight: 700;
}

.windowBars {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.windowBar {
  display: grid;
  grid-template-columns: 86px minmax(80px, 1fr) minmax(180px, 1.2fr);
  align-items: center;
  gap: 10px;
}

.windowBar span,
.windowBar small {
  color: #64748b;
  font-size: 12px;
}

.windowBar b {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: #14b8a6;
}

.diagnosisTasks {
  margin-top: 12px;
}

.trainingTask {
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #fff;
  margin-top: 8px;
  overflow: hidden;
}

.trainingTask summary {
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  background: #f3f8fb;
}

.trainingTask summary strong {
  color: #172033;
}

.trainingTask summary span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.trainingTaskBody {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.trainingTaskBody p {
  margin: 0;
  color: #405067;
  line-height: 1.5;
}

.trainingTaskBody b {
  display: block;
  margin-bottom: 5px;
  color: #172033;
}

.diagnosisTwoCol {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
}

.supervisorNote {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  border-left: 5px solid #0f766e;
  border-radius: 8px;
  background: #effaf8;
  padding: 12px;
}

.supervisorNote b {
  color: #0f766e;
}

.supervisorNote span {
  color: #344054;
  line-height: 1.5;
}

.reviewForm {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid #d7e5f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.reviewForm.prefilled {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.reviewFormHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.reviewFormHead h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.reviewFormHead span {
  color: #64748b;
  font-size: 12px;
}

.reviewBadge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 11px;
  padding: 5px 9px;
}

.reviewBadge.reviewed {
  background: #e8f8ef;
  color: #15803d;
}

.reviewBadge.follow_up {
  background: #fff5d7;
  color: #a16207;
}

.reviewGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.reviewForm label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.reviewForm label span {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.reviewForm select,
.reviewForm input,
.reviewForm textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  background: #f8fbff;
  color: #172033;
  font: inherit;
  font-size: 13px;
  padding: 9px 10px;
}

.reviewForm textarea {
  resize: vertical;
}

.reviewNote {
  grid-column: 1 / -1;
}

.reviewActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewActions button {
  border: 0;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 9px 12px;
}

.reviewSaveStatus {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.reviewSaveStatus.success {
  color: #15803d;
}

.reviewSaveStatus.error {
  color: #b42318;
}

.reviewTimeline {
  border-top: 1px solid #e2eaf4;
  padding-top: 10px;
}

.reviewTimeline.empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
}

.reviewTimeline summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #172033;
  font-size: 13px;
  font-weight: 900;
}

.reviewTimeline summary span,
.reviewTimeline small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.reviewTimeline ol {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.reviewTimeline li {
  border: 1px solid #e3edf7;
  border-radius: 8px;
  background: #f8fbff;
  padding: 9px 10px;
}

.reviewTimelineHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reviewTimeline time {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.reviewTimeline p {
  margin: 6px 0 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.reviewMiniBadge {
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  white-space: nowrap;
}

.reviewMiniBadge.reviewed {
  background: #e8f8ef;
  color: #15803d;
}

.reviewMiniBadge.follow_up {
  background: #fff5d7;
  color: #a16207;
}

.academyHero img,
.aiCoachCard.main img {
  max-height: 280px;
}

.academyHero > div,
.aiCoachCard.main > div {
  align-content: center;
}

.detailButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.guideBody {
  margin: 0;
  background: #eef3f8;
  color: #142033;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.guideShell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.guideHero {
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(10, 17, 31, 0.88), rgba(10, 17, 31, 0.48)), url("/static/company/training-meeting.jpg") center/cover;
  color: #fff;
  box-shadow: 0 20px 50px rgba(12, 20, 36, 0.18);
}

.aiGuideHero {
  background-image: linear-gradient(90deg, rgba(10, 17, 31, 0.88), rgba(10, 17, 31, 0.48)), url("/static/company/reward-meeting.jpg");
}

.guideTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.guideTop a,
.guideTop span {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.guideHeroText {
  width: min(720px, 100%);
  padding: 76px 28px 34px;
}

.guideHeroText small {
  color: #4dd7cf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guideHeroText h1 {
  margin: 12px 0 16px;
  font-size: 48px;
  line-height: 1.08;
}

.guideHeroText p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.75;
}

.guideSection {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 32, 50, 0.07);
}

.guideSectionHead {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.guideSectionHead.compact {
  margin-bottom: 12px;
}

.guideSectionHead > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: #101827;
  color: #fff;
  font-weight: 900;
}

.guideSectionHead h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.guideSectionHead p {
  margin: 0;
  color: #5d6b80;
  line-height: 1.65;
}

.mindMap,
.lessonGrid,
.dataMap,
.personaGrid,
.reportBlueprint,
.conversionFlow,
.trainingCardsPreview {
  display: grid;
  gap: 12px;
}

.mindMap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mindMap article,
.dataMap article,
.reportBlueprint article,
.conversionFlow article,
.lessonGrid article,
.personaGrid article,
.trainingCardsPreview article,
.scriptList article,
.planStack article {
  border: 1px solid #dce6f1;
  border-radius: 12px;
  background: #f8fbff;
  padding: 15px;
}

.mindMap article {
  position: relative;
  min-height: 112px;
}

.mindMap article::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  width: 13px;
  height: 2px;
  background: #28b9b2;
}

.mindMap article:last-child::after {
  display: none;
}

.mindMap b,
.dataMap b,
.reportBlueprint b,
.conversionFlow b,
.lessonGrid b,
.personaGrid b,
.trainingCardsPreview b,
.scriptList b,
.planStack b {
  display: block;
  margin-bottom: 8px;
  color: #101827;
  font-size: 14px;
  font-weight: 900;
}

.mindMap span,
.dataMap span,
.reportBlueprint span,
.conversionFlow span,
.lessonGrid p,
.personaGrid p,
.trainingCardsPreview p,
.scriptList p,
.planStack p {
  margin: 0;
  color: #536278;
  font-size: 14px;
  line-height: 1.65;
}

.lessonGrid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.lessonGrid article {
  min-height: 178px;
}

.lessonGrid h3,
.personaGrid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.splitGuide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.scriptList,
.planStack {
  display: grid;
  gap: 12px;
}

.scriptList.twoColumn {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scriptList article {
  background: #fffdf5;
}

.coachChecklist {
  border: 1px solid #cfe5d8;
  border-radius: 14px;
  background: #effaf3;
  padding: 18px;
}

.coachChecklist h3 {
  margin: 0 0 14px;
}

.coachChecklist label {
  display: block;
  margin: 0 0 12px;
  color: #273246;
  line-height: 1.5;
}

.coachChecklist input {
  margin-right: 8px;
}

.conversionFlow,
.dataMap,
.reportBlueprint {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reportBlueprint {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.personaGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trainingCardsPreview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.redCard {
  background: #ffecec !important;
  border-color: #ffc7c7 !important;
}

.yellowCard {
  background: #fff6d8 !important;
  border-color: #f5d469 !important;
}

.greenCard {
  background: #eaf8ef !important;
  border-color: #b9e4c6 !important;
}

@media (max-width: 1320px) {
  .quickOverview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lessonGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .conversionFlow,
  .dataMap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .academySection,
  .aiCoachSection {
    margin: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .academyHero,
  .aiCoachGrid {
    grid-template-columns: 1fr;
  }

  .trainingGrid,
  .academyTimeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mindMap,
  .lessonGrid,
  .personaGrid,
  .reportBlueprint,
  .trainingCardsPreview,
  .scriptList.twoColumn {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .splitGuide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .quickOverview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academySection,
  .aiCoachSection,
  .diagnosisSection {
    padding: 16px;
  }

  .aiCoachGrid,
  .aiCoachCard.main {
    grid-template-columns: minmax(0, 1fr);
  }

  .aiCoachCard,
  .aiCoachCard.main {
    width: 100%;
    min-width: 0;
  }

  .diagnosisFilters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liveDetailAnalysisSection {
    margin: 18px 18px 0;
    padding: 14px;
  }

  .liveDetailAnalysisSummary,
  .liveDetailMetricGrid,
  .liveDetailAnalysisBody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .windowBar {
    grid-template-columns: 76px minmax(70px, 1fr);
  }

  .windowBar small {
    grid-column: 1 / -1;
  }

  .exportLogItem,
  .exportTodoItem {
    grid-template-columns: 1fr;
  }

  .exportLogBadges,
  .exportTodoBadges {
    justify-content: flex-start;
  }

  .diagnosisFilters input {
    grid-column: 1 / -1;
  }

  .diagnosisCardsList,
  .diagnosisTwoCol,
  .anchorProfileGrid,
  .anchorProfileGrid.wide,
  .reviewGrid {
    grid-template-columns: 1fr;
  }

  .anchorProfileHead,
  .anchorProfileActions,
  .exportFollowupReminder,
  .historySessionToolbar {
    display: grid;
    justify-items: start;
  }

  .anchorProfileStats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academyHero img,
  .aiCoachCard.main img {
    max-height: 220px;
  }

  .guideShell {
    width: min(100% - 20px, 1220px);
  }

  .guideHeroText {
    padding: 52px 20px 28px;
  }

  .guideHeroText h1 {
    font-size: 34px;
  }

  .guideSection {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .quickOverview,
  .trainingGrid,
  .academyTimeline {
    grid-template-columns: 1fr;
  }

  .mindMap,
  .lessonGrid,
  .personaGrid,
  .reportBlueprint,
  .conversionFlow,
  .dataMap,
  .trainingCardsPreview,
  .scriptList.twoColumn {
    grid-template-columns: 1fr;
  }

  .diagnosisFilters {
    grid-template-columns: 1fr;
  }

  .liveDetailAnalysisSummary,
  .liveDetailMetricGrid,
  .liveDetailAnalysisBody {
    grid-template-columns: 1fr;
  }

  .liveDetailAnalysisHead {
    display: grid;
  }

  .liveDetailTags {
    justify-content: flex-start;
  }

  .mindMap article::after {
    display: none;
  }
}
/* Final layout guardrails for the operations workspace */
@media (min-width: 1100px) {
  .opsQuickOverview {
    grid-template-columns: repeat(6, minmax(120px, 1fr));
  }

  .opsQuickOverview .quickCard {
    padding: 16px;
  }
}

@media (max-width: 1099px) {
  .opsQuickOverview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dashboardShell {
    display: block;
  }

  .sideRail {
    position: sticky;
    top: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
    padding: 10px 12px;
  }

  .sideBrand,
  .sideFooter {
    display: none;
  }

  .sideNav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-top: 0;
    padding: 2px 0;
    scrollbar-width: none;
  }

  .sideNav::-webkit-scrollbar {
    display: none;
  }

  .sideNav a {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr);
    min-height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 12px;
  }

  .sideNav a span {
    display: none;
  }

  .mainSurface {
    padding: 12px 12px 28px;
  }

  .topBar {
    margin: -12px -12px 12px;
    padding-right: 116px;
  }

  .opsQuickOverview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .opsQuickOverview .quickCard {
    min-height: 96px;
    padding: 12px;
  }

  .opsQuickOverview .quickCard span {
    width: 28px;
    min-width: 28px;
    height: 22px;
    font-size: 11px;
  }

  .opsQuickOverview .quickCard strong {
    font-size: 14px;
  }

  .opsQuickOverview .quickCard small {
    font-size: 12px;
    line-height: 1.35;
  }

  .siteHero {
    min-height: 190px;
  }

  .siteHero .heroContent {
    width: 100%;
    padding: 22px 18px;
  }

  .siteHero .heroContent h1 {
    font-size: 26px;
  }

  .siteHero .heroContent p {
    font-size: 13px;
  }

  .companySection,
  .cultureSection,
  .academySection,
  .aiCoachSection {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

/* Keep the workspace clean after legacy section styles load. */
.sectionNav {
  display: none !important;
}

@media (max-width: 760px) {
  .siteHero,
  .companySection,
  .cultureSection,
  .academySection,
  .aiCoachSection,
  .recruitmentSection {
    display: none;
  }
}
/* HR-only compensation summary */
.hrCompensationPanel{margin:18px 0;padding:18px;border:1px solid #d9e2ec;border-radius:12px;background:#f7fafc}
.hrCompensationHead{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.hrCompensationHead h3{margin:0 0 5px}.hrCompensationHead small{color:#64748b}.hrCompensationHead strong{padding:8px 12px;border-radius:999px;background:#132238;color:#fff;white-space:nowrap}
.hrCompensationGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 8px}
.hrCompensationGrid div{padding:10px;background:#fff;border-radius:8px}.hrCompensationGrid dt{font-size:12px;color:#64748b}.hrCompensationGrid dd{margin:5px 0 0;font-weight:700;color:#172033}
.hrCompensationNote{font-size:12px;color:#64748b;margin:10px 0 0}
@media (max-width:700px){.hrCompensationGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.hrCompensationHead{flex-direction:column}}
