:root {
  --green: #00a980;
  --green-strong: #008f6c;
  --green-deep: #063c31;
  --green-soft: #e8f7f2;
  --blue: #1667d9;
  --blue-soft: #edf4ff;
  --gold: #a66d0a;
  --gold-soft: #fff7dc;
  --danger: #b83b2d;
  --danger-soft: #fff0ed;
  --ink: #151617;
  --ink-2: #323436;
  --muted: #6d7175;
  --line: #dedfe2;
  --line-soft: #ececee;
  --paper: #ffffff;
  --canvas: #f5f5f7;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.07);
  --shadow-float: 0 24px 70px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(250, 250, 252, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(1320px, calc(100% - 48px));
  min-height: 60px;
  margin: 0 auto;
}

.brand,
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
}

.brand {
  flex: none;
}

.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  flex: none;
}

.brand-text {
  white-space: nowrap;
  font-size: 17px;
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 25px;
  min-width: 0;
  min-height: 60px;
  flex: 1;
  color: #45484b;
  font-size: 13px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.main-nav a.active::after {
  background: var(--green);
}

.userbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-left: auto;
}

.userbar form {
  margin: 0;
}

.user-pill {
  display: grid;
  max-width: 220px;
  text-align: right;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.ghost-link,
.solid-link,
.primary-link,
.outline-link,
.primary-button,
.secondary-button,
.danger-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 17px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}

.primary-link,
.primary-button,
.solid-link {
  color: #fff;
  background: var(--green);
}

.primary-link:hover,
.primary-button:hover,
.solid-link:hover {
  background: var(--green-strong);
  box-shadow: 0 8px 24px rgba(0, 143, 108, 0.2);
  transform: translateY(-1px);
}

.outline-link,
.secondary-button {
  color: var(--ink);
  border-color: #cfd1d4;
  background: var(--paper);
}

.outline-link:hover,
.secondary-button:hover {
  border-color: #aeb1b5;
  background: #f9f9fa;
}

.ghost-link {
  min-height: 34px;
  padding: 0 8px;
  color: var(--ink-2);
}

.ghost-link:hover,
.ghost-button:hover {
  color: var(--green-strong);
}

.ghost-button {
  min-height: 34px;
  padding: 0 11px;
  color: var(--ink-2);
  border-color: #d4d5d8;
  background: transparent;
}

.danger-button {
  color: #fff;
  background: var(--danger);
}

.danger-button:hover {
  background: #963025;
}

.primary-link.small,
.outline-link.small,
.primary-button.small {
  min-height: 36px;
  padding: 0 13px;
  font-size: 13px;
}

.text-action,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  color: var(--blue);
  font-weight: 600;
}

.text-action span {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.text-action:hover span {
  transform: translateX(2px);
}

.text-action.light {
  color: #d8fff3;
}

:focus-visible {
  outline: 3px solid rgba(22, 103, 217, 0.35);
  outline-offset: 3px;
}

.home-hero {
  position: relative;
  min-height: 690px;
  height: calc(100svh - 60px);
  max-height: 860px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 74% 42%, rgba(17, 172, 135, 0.2), transparent 34%),
    #050b09;
}

#talentGlobe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.home-hero #talentGlobe {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.globe-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

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

.home-hero.globe-ready #talentGlobe {
  opacity: 1;
}

.home-hero.globe-ready .globe-poster {
  visibility: hidden;
  opacity: 0;
}

#talentGlobe:active {
  cursor: grabbing;
}

.globe-drag-hint {
  position: absolute;
  top: 26px;
  right: max(24px, calc((100% - 1320px) / 2));
  z-index: 4;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 15, 13, 0.48);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 550;
  pointer-events: none;
}

.globe-hint-mobile {
  display: none;
}

.globe-zoom-controls {
  position: absolute;
  top: 70px;
  right: max(24px, calc((100% - 1320px) / 2));
  z-index: 5;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(8, 15, 13, 0.52);
  backdrop-filter: blur(14px);
}

.globe-zoom-controls button {
  width: 42px;
  height: 38px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-weight: 650;
}

.globe-zoom-controls button:last-child {
  border-right: 0;
}

.globe-zoom-controls button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-cue {
  position: fixed;
  left: 50%;
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 35;
  display: grid;
  place-items: center;
  width: 42px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 6px;
  color: #123a31;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.16s ease;
}

.hero-scroll-cue span {
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(11, 54, 44, 0.9);
  border-bottom: 2px solid rgba(11, 54, 44, 0.9);
  transform: translateY(-2px) rotate(45deg);
}

.hero-scroll-cue:hover {
  background: rgba(255, 255, 255, 0.94);
}

.hero-scroll-cue.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
}

.globe-tooltip {
  position: absolute;
  z-index: 7;
  width: 240px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  background: rgba(10, 18, 16, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.globe-tooltip.touch-pinned {
  pointer-events: auto;
}

.globe-tooltip strong,
.globe-tooltip span,
.globe-tooltip em {
  display: block;
}

.globe-tooltip strong {
  font-size: 16px;
}

.globe-tooltip span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.globe-tooltip em {
  margin-top: 10px;
  color: #72e8c7;
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
}

.globe-tooltip a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 12px;
  border-radius: 5px;
  color: #05251d;
  background: #8cf1d3;
  font-size: 13px;
  font-weight: 700;
  touch-action: manipulation;
}

.hero-copy-below {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(380px, 0.8fr);
  gap: 72px;
  align-items: end;
  padding: 92px max(32px, calc((100% - 1180px) / 2)) 96px;
  color: #fff;
  background: #0a0b0b;
}

.eyebrow {
  display: inline-flex;
  color: var(--green-strong);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0;
}

.hero-copy-content .eyebrow {
  color: #75e2c4;
}

.hero-copy-content h1 {
  max-width: 800px;
  margin: 18px 0 22px;
  color: #f5f5f7;
  font-size: 60px;
  line-height: 1.08;
  font-weight: 710;
  letter-spacing: 0;
}

.hero-copy-content p {
  max-width: 670px;
  margin: 0;
  color: #a9abad;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  border-top: 1px solid #333537;
  border-bottom: 1px solid #333537;
}

.hero-stat-strip article {
  min-width: 0;
  padding: 22px 16px 22px 0;
}

.hero-stat-strip article + article {
  border-left: 1px solid #333537;
  padding-left: 20px;
}

.hero-stat-strip strong {
  display: block;
  color: #f5f5f7;
  font-size: 34px;
  font-weight: 620;
  line-height: 1.1;
}

.hero-stat-strip span {
  display: block;
  margin-top: 8px;
  color: #888b8e;
  font-size: 12px;
}

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

.section-band {
  padding: 104px 0;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 58px;
}

.section-intro h2,
.role-home-copy h2 {
  margin: 14px 0 18px;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 680;
  letter-spacing: 0;
}

.section-intro p,
.role-home-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.service-band {
  background: var(--canvas);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-grid article {
  position: relative;
  min-height: 220px;
  padding: 34px 50px 36px 0;
  border-bottom: 1px solid var(--line);
}

.service-grid article:nth-child(even) {
  padding-left: 50px;
  border-left: 1px solid var(--line);
}

.service-index {
  display: block;
  margin-bottom: 34px;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 680;
}

.service-grid h3 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 650;
}

.service-grid p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.role-home-band {
  width: 100%;
  padding: 100px max(24px, calc((100% - 1180px) / 2));
  color: #f5f5f7;
  background: #1c1d1f;
}

.role-home-copy {
  max-width: 760px;
}

.role-home-copy .eyebrow {
  color: #77e1c4;
}

.role-home-copy p {
  color: #aeb0b3;
}

.role-home-copy .text-action {
  margin-top: 26px;
  color: #7db2ff;
}

.region-band {
  padding-top: 92px;
}

.section-head {
  margin-bottom: 26px;
}

.section-head.spread {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.section-head h2,
.page-title h1 {
  margin: 10px 0 0;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 680;
  letter-spacing: 0;
}

.section-head p,
.page-title p,
.form-section-head p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.region-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.region-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  min-height: 92px;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--line);
}

.region-list article:not(:nth-child(3n + 1)) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.region-list strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
}

.region-list span,
.metric-grid span,
.detail-grid span,
.mini-list span,
.row-title span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.region-list article > div:first-child span {
  margin-top: 4px;
}

.region-count {
  flex: none;
  text-align: right;
}

.region-count strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f0f0f2;
  font-size: 12px;
}

.site-footer-inner {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0;
  gap: 24px;
}

.footer-primary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-identity,
.footer-contact {
  display: grid;
  gap: 5px;
}

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

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--blue);
}

.footer-meta {
  padding-top: 18px;
  border-top: 1px solid #d8d9dc;
}

.footer-copyright:hover {
  color: var(--ink);
}

.flashbox {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 100;
  display: grid;
  gap: 8px;
  width: min(380px, calc(100vw - 40px));
}

.flash {
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 7px;
  padding: 13px 15px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(18px);
}

.flash.error {
  border-left-color: var(--danger);
}

.container {
  min-height: calc(100vh - 250px);
  padding: 64px 0 96px;
}

.page-title {
  margin-bottom: 34px;
}

.workspace-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.workspace-title h1 {
  font-size: 44px;
}

.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.panel {
  margin-bottom: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 28px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.04);
}

.panel-actions {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.workflow-overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(440px, 1.18fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--line-soft);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.04);
}

.workflow-next,
.profile-progress {
  padding: 30px;
  background: var(--paper);
}

.workflow-next h2 {
  margin: 12px 0 10px;
  font-size: 26px;
  font-weight: 670;
}

.workflow-next p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.workflow-next .text-action {
  margin-top: 24px;
}

.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.progress-label strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 620;
}

.progress-track {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 3px;
  background: #e7e8ea;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

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

.workflow-steps article {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.workflow-steps i {
  width: 10px;
  height: 10px;
  flex: none;
  border: 2px solid #c4c6c9;
  border-radius: 50%;
  background: #fff;
}

.workflow-steps article.complete i {
  border-color: var(--green);
  background: var(--green);
}

.workflow-steps article.current i {
  border-color: var(--blue);
}

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

.workflow-steps strong {
  font-size: 13px;
}

.workflow-steps span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.profile-summary-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--blue-soft);
}

.status-pill,
.config-status,
.table-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  border: 1px solid #bae6d9;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--green-deep);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 650;
}

.table-status.off,
.config-status.inactive {
  color: var(--muted);
  border-color: var(--line);
  background: #f4f4f5;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
}

.detail-grid article {
  min-width: 0;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.detail-grid article:not(:nth-child(3n + 1)) {
  padding-left: 20px;
  border-left: 1px solid var(--line-soft);
}

.detail-grid .wide {
  grid-column: 1 / -1;
  padding-left: 0;
  border-left: 0;
}

.detail-grid strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 620;
}

.detail-grid p {
  margin: 7px 0 0;
  color: var(--ink-2);
  line-height: 1.7;
}

.demand-highlight {
  margin-bottom: 26px;
  border-left: 3px solid var(--blue);
  padding: 18px 20px;
  background: var(--blue-soft);
}

.demand-highlight span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.demand-highlight p {
  margin: 8px 0 0;
  color: #23354d;
  line-height: 1.75;
  white-space: pre-wrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--line-soft);
}

.metric-grid article {
  min-height: 116px;
  padding: 22px;
  background: var(--paper);
}

.metric-grid article.attention {
  box-shadow: inset 0 3px 0 var(--gold);
}

.metric-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 600;
}

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

.priority-split .panel {
  min-height: 330px;
}

.mini-list {
  border-top: 1px solid var(--line-soft);
}

.mini-list article {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.4fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 0;
}

.mini-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.mini-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-list time {
  color: #8a8d91;
  font-size: 11px;
  white-space: nowrap;
}

.empty {
  margin: 0;
  padding: 28px 0;
  color: var(--muted);
}

.compact-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--paper);
}

th,
td {
  border-bottom: 1px solid var(--line-soft);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
}

th {
  color: #62666a;
  background: #f7f7f8;
  font-weight: 620;
}

td {
  color: var(--ink-2);
}

tr:last-child td {
  border-bottom: 0;
}

td .stack {
  gap: 10px;
  margin-top: 0;
}

.auth-page {
  display: grid;
  min-height: calc(100svh - 60px);
  place-items: center;
  padding: 64px 24px 84px;
  background: var(--canvas);
}

.wide-auth {
  place-items: start center;
}

.authcard {
  width: min(470px, 100%);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.profile-authcard {
  width: min(980px, 100%);
}

.auth-brand {
  margin-bottom: 34px;
}

.auth-brand .brand-logo {
  width: 42px;
  height: 42px;
}

.auth-brand small,
.auth-brand strong {
  display: block;
}

.auth-brand small {
  color: var(--green-strong);
  font-size: 10px;
  font-weight: 720;
}

.auth-brand strong {
  margin-top: 3px;
}

.authcard h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 680;
}

.authcard > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.stack {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #343638;
  font-size: 13px;
  font-weight: 620;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d0d2d5;
  border-radius: 6px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

textarea {
  resize: vertical;
  line-height: 1.6;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 103, 217, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #a1a4a8;
}

input[type="file"] {
  padding: 8px;
  color: var(--muted);
  background: #fafafa;
}

input[type="file"]::file-selector-button {
  min-height: 30px;
  margin-right: 10px;
  border: 1px solid #cfd1d4;
  border-radius: 5px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.check {
  display: flex;
  align-items: center;
  gap: 9px;
}

.check input {
  width: 17px;
  height: 17px;
  min-height: 0;
  flex: none;
  accent-color: var(--green);
}

.form-note {
  color: var(--muted);
  font-size: 12px;
}

label small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.certification-submit-panel .section-head p {
  max-width: 720px;
  margin-top: 8px;
}

.certification-type-panel {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
}

.ip-detection-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 18px;
}

.ip-detection-row .secondary-button {
  min-width: 138px;
}

.cert-location-result {
  min-width: 0;
  border-left: 3px solid var(--line);
  padding: 10px 14px;
  background: #f7f8f8;
}

.cert-location-result[data-ready="true"] {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.cert-location-result span,
.cert-location-result strong {
  display: block;
}

.cert-location-result span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
}

.cert-location-result strong,
.certification-value-cell,
.certification-value-cell strong {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.cert-location-result strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.verification-button {
  min-height: 46px;
  white-space: nowrap;
}

.inline-message {
  min-height: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}

.inline-message.success,
.inline-message.error,
.inline-message.working {
  padding: 10px 12px;
}

.inline-message.success {
  color: #075e47;
  background: var(--green-soft);
}

.inline-message.error {
  color: #8e2f24;
  background: var(--danger-soft);
}

.inline-message.working {
  color: #70510f;
  background: var(--gold-soft);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.auth-links.single {
  justify-content: flex-start;
}

.role-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  border-radius: 7px;
  background: #eeeeef;
}

.role-choice label {
  display: flex;
  align-items: center;
  min-height: 92px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 14px;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
}

.role-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.role-choice span,
.role-choice strong,
.role-choice em {
  display: block;
}

.role-choice strong {
  font-size: 15px;
}

.role-choice em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 450;
  line-height: 1.45;
}

.role-choice label:has(input:checked) {
  border-color: #d8d9dc;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.wechat-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  border-radius: 6px;
  color: #fff;
  background: #07b85b;
  font-weight: 650;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 -4px;
  color: var(--muted);
  font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.form-section {
  display: grid;
  gap: 18px;
}

.form-section + .form-section {
  margin-top: 30px;
}

.form-section h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
}

.form-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

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

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.form-actions,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-photo-upload {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-photo-upload img {
  width: 76px;
  height: 76px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--blue-soft);
}

.settings-form {
  display: grid;
  gap: 20px;
}

.settings-panel {
  margin: 0;
  padding: 30px;
}

.brand-setting-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.brand-setting-preview img {
  width: 50px;
  height: 50px;
  flex: none;
}

.brand-setting-preview strong,
.brand-setting-preview span {
  display: block;
}

.brand-setting-preview strong {
  font-size: 19px;
}

.brand-setting-preview span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.settings-toggle {
  min-height: 50px;
  margin: 8px 0 18px;
  border: 1px solid #dfe9e5;
  border-radius: 6px;
  padding: 13px 14px;
  background: #f5fbf8;
}

.wechat-setting-toggles,
.payment-mode-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.settings-notice {
  margin: 20px 0 0;
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  color: #5c4b29;
  background: var(--gold-soft);
  font-size: 12px;
  line-height: 1.7;
}

.settings-access-note {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.payment-setting-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--line-soft);
}

.payment-setting-summary span {
  padding: 12px;
  color: var(--ink-2);
  background: #fafafa;
  font-size: 11px;
  font-weight: 620;
  text-align: center;
}

.settings-test-action {
  display: flex;
  align-items: flex-end;
}

.settings-test-action button {
  width: 100%;
  min-height: 46px;
}

.settings-savebar {
  position: sticky;
  bottom: 14px;
  z-index: 12;
  display: flex;
  justify-content: flex-end;
  border: 1px solid rgba(210, 212, 215, 0.9);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.virtual-count-reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-color: #edd8d4;
}

.virtual-count-reset h2 {
  margin: 8px 0 5px;
  font-size: 22px;
}

.virtual-count-reset p,
.virtual-count-reset form {
  margin: 0;
}

.virtual-count-reset p {
  color: var(--muted);
}

.admin-globe-shell {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #1f2e2a;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 43%, rgba(17, 172, 135, 0.18), transparent 36%),
    #060c0a;
}

.admin-globe-shell #talentGlobe {
  position: absolute;
  inset: 0;
}

.admin-region-editor {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 8;
  width: min(350px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  background: rgba(12, 20, 18, 0.9);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(18px);
}

.admin-region-editor[hidden] {
  display: none;
}

.admin-region-editor h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.admin-region-editor label {
  color: rgba(255, 255, 255, 0.86);
}

.admin-region-editor input {
  color: var(--ink);
}

.admin-region-editor .inline-message {
  margin-top: 10px;
}

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

.region-admin-list {
  display: grid;
  gap: 8px;
}

.region-admin-row {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #fafafa;
}

.region-admin-row[hidden] {
  display: none;
}

.region-admin-row details {
  width: 100%;
}

.region-admin-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}

.region-admin-row summary::-webkit-details-marker {
  display: none;
}

.region-admin-row summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  font-size: 18px;
  font-weight: 450;
}

.region-admin-row details[open] summary::after {
  content: "−";
}

.region-admin-row details[open] summary {
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.region-admin-fields {
  display: grid;
  grid-template-columns: 1.1fr repeat(7, minmax(100px, 1fr));
  gap: 10px;
  align-items: end;
  padding: 15px;
}

.region-admin-fields .wide {
  grid-column: 1 / -1;
}

.region-row-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.region-row-metrics b {
  color: var(--green-strong);
  font-weight: 650;
}

.region-search {
  max-width: 520px;
  margin-bottom: 18px;
}

.region-result-count {
  color: var(--muted);
  font-size: 12px;
}

.row-title {
  align-self: center;
}

.row-title strong {
  display: block;
}

.inline-check {
  align-self: center;
  padding-bottom: 11px;
}

.cert-file-list,
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cert-file-list a,
.filter-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  border: 1px solid #cfd1d4;
  border-radius: 5px;
  padding: 0 9px;
  color: var(--blue);
  background: #fff;
  font-size: 11px;
  font-weight: 620;
}

.filter-pills {
  margin-bottom: 16px;
}

.filter-pills a.active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.talent-container {
  width: min(1160px, calc(100% - 48px));
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 12px;
}

.talent-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.talent-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--blue-soft);
}

.talent-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-card-body {
  padding: 11px;
}

.talent-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.talent-card h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.talent-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.talent-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.gender-symbol {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  color: var(--muted);
  background: #f0f1f2;
  font-size: 17px;
  font-weight: 800;
}

.gender-symbol.male {
  color: #1e6fe4;
  background: #eaf3ff;
}

.gender-symbol.female {
  color: #d84a65;
  background: #fff0f3;
}

.talent-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.talent-facts span {
  display: inline-flex;
  max-width: 100%;
  min-height: 23px;
  border-radius: 4px;
  padding: 4px 6px;
  overflow-wrap: anywhere;
  color: #3f4549;
  background: #f2f3f4;
  font-size: 10px;
  font-weight: 570;
  white-space: normal;
}

.location-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 16px);
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 5px;
  padding: 0 8px;
  overflow: hidden;
  color: #15385f;
  background: rgba(244, 249, 255, 0.92);
  box-shadow: 0 8px 20px rgba(17, 56, 96, 0.14);
  font-size: 10px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.cert-claim.certified span b {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
}

.cert-claim {
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  color: var(--muted);
  background: #fafafa;
  font-size: 11px;
  font-weight: 620;
}

.cert-claim.certified {
  border-color: #ead49b;
  color: #694305;
  background: var(--gold-soft);
}

.cert-claim.certified span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 760;
}

.cert-claim.certified strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #5d3b02;
  line-height: 1.4;
}

.talent-intro {
  min-height: 42px;
  margin: 9px 0 0;
  color: #42474b;
  font-size: 11px;
  line-height: 1.6;
}

.talent-card-foot {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}

.application-panel {
  margin: 52px 0;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.latest-application-title {
  min-width: 0;
}

.latest-application-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}

.news-badge {
  display: inline-grid;
  min-height: 20px;
  place-items: center;
  border-radius: 4px;
  padding: 0 7px;
  color: #fff;
  background: #e6463a;
  box-shadow: 0 5px 14px rgba(197, 49, 39, 0.2);
  font-size: 9px;
  font-weight: 800;
}

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

.application-card-context {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #f8f8f9;
}

.application-card-context span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.application-card-context strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.application-card-context time {
  color: var(--muted);
  font-size: 10px;
}

.application-contact-area {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}

.application-contact-area form {
  margin: 0;
}

.contact-unlock-button {
  width: 100%;
  min-height: 40px;
  border: 1px solid #17191b;
  border-radius: 6px;
  padding: 0 12px;
  color: #fff;
  background: #17191b;
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.contact-unlock-button:hover:not(:disabled) {
  background: #343638;
  transform: translateY(-1px);
}

.contact-unlock-button:disabled {
  color: #8b8e91;
  border-color: #dedfe2;
  background: #f1f2f3;
  cursor: not-allowed;
}

.application-contact-area > p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.application-contact-area .contact-unlock-paused {
  margin: 0;
  padding: 9px;
  border-radius: 5px;
  background: #f4f4f5;
}

.unlocked-contact {
  display: grid;
  gap: 6px;
  border: 1px solid #bae6d9;
  border-radius: 6px;
  padding: 10px;
  background: var(--green-soft);
}

.unlocked-contact span {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 7px;
  overflow-wrap: anywhere;
  color: var(--green-deep);
  font-size: 10px;
}

.unlocked-contact b {
  color: var(--green-strong);
}

.empty-panel {
  grid-column: 1 / -1;
}

.profile-card-page {
  width: min(900px, calc(100% - 48px));
}

.profile-card-stage {
  display: grid;
  place-items: center;
  padding: 8px 0 36px;
}

.personal-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.personal-card::before {
  content: "";
  display: block;
  height: 4px;
  margin: -22px -22px 20px;
  background: var(--green);
}

.personal-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.personal-card-top img {
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  background: var(--blue-soft);
}

.personal-card-name {
  display: flex;
  align-items: center;
  gap: 9px;
}

.personal-card-name h2 {
  margin: 0;
  font-size: 25px;
}

.personal-card-top p {
  margin: 7px 0 11px;
  color: var(--muted);
  font-weight: 620;
}

.location-badge.inline {
  position: static;
  min-height: 29px;
  max-width: min(100%, 280px);
  border-color: #cedff2;
  background: #eef5ff;
  font-size: 11px;
}

.personal-card-facts,
.personal-card-foot {
  display: grid;
  gap: 1px;
  margin-top: 16px;
  background: var(--line-soft);
}

.personal-card-facts span,
.personal-card-foot span {
  padding: 9px 11px;
  color: #3f4549;
  background: #f8f8f9;
  font-size: 12px;
  font-weight: 570;
}

.personal-card-intro {
  min-height: 70px;
  margin: 16px 0 0;
  color: #42474b;
  line-height: 1.75;
}

.personal-cert-claim {
  margin-top: 16px;
  padding: 12px 14px;
}

.personal-cert-claim.certified strong {
  font-size: 14px;
}

.personal-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.personal-card-brand img {
  display: block;
  width: 28px;
  height: 28px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
}

.modal.hidden {
  display: none;
}

.completion-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(780px, calc(100svh - 40px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow-float);
}

.completion-card h2 {
  margin: 10px 0;
  font-size: 30px;
  font-weight: 680;
}

.completion-card > p {
  margin: 0;
  color: var(--muted);
}

.form-container {
  width: min(920px, calc(100% - 48px));
}

.secondary-button.small {
  min-height: 36px;
  padding: 0 13px;
  font-size: 13px;
}

.required {
  margin-left: 4px;
  color: var(--green-strong);
  font-size: 11px;
  font-weight: 650;
}

.required b {
  color: var(--danger);
  font-size: 14px;
}

.country-picker {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.country-picker legend {
  margin-bottom: 8px;
  padding: 0;
  color: #343638;
  font-size: 13px;
  font-weight: 620;
}

.country-picker-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.country-search {
  display: block;
}

.country-selection-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.country-picker-groups {
  max-height: 360px;
  overflow: auto;
  border: 1px solid #d0d2d5;
  border-radius: 6px;
  background: #fff;
  scrollbar-gutter: stable;
}

.country-picker-group + .country-picker-group {
  border-top: 1px solid var(--line-soft);
}

.country-picker-group > header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 0 14px;
  background: rgba(248, 248, 249, 0.96);
  backdrop-filter: blur(10px);
}

.country-picker-group > header strong {
  font-size: 12px;
}

.country-group-action {
  border: 0;
  padding: 6px;
  color: var(--green-strong);
  background: transparent;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.country-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 5px;
  background: var(--line-soft);
}

.country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 10px;
  background: #fff;
  cursor: pointer;
}

.country-option:hover {
  background: #f6faf8;
}

.country-option input {
  width: 16px;
  min-height: 16px;
  flex: none;
  margin: 0;
  accent-color: var(--green);
}

.country-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 560;
}

.field-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.job-filter {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(180px, 0.8fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.04);
}

.job-filter.compact {
  grid-template-columns: minmax(210px, 1fr) minmax(170px, 0.7fr) minmax(150px, 0.55fr) auto;
}

.job-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.job-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.job-results-head strong {
  font-size: 14px;
}

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

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

.job-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.job-card:hover {
  border-color: #d2d4d7;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.job-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-card-meta time {
  color: #8a8d91;
  font-size: 11px;
}

.job-category {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 5px;
  padding: 0 8px;
  color: var(--green-deep);
  background: var(--green-soft);
  font-size: 11px;
  font-weight: 680;
}

.job-card h2,
.job-admin-main h2,
.job-empty h2,
.import-reference h2 {
  margin: 14px 0 0;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 670;
}

.job-location {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.job-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 22px 0;
  color: #424548;
  line-height: 1.75;
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.job-facts {
  display: grid;
  gap: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line-soft);
}

.job-facts div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.job-facts dt,
.job-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.job-facts dt {
  color: var(--muted);
}

.job-facts dd {
  color: var(--ink-2);
  font-weight: 560;
}

.job-facts a {
  color: var(--blue);
}

.job-apply-form {
  display: block;
  margin: 16px 0 0;
}

.job-apply-action {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
}

.job-apply-form .job-apply-action {
  margin-top: 0;
}

.job-applied-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 16px;
  border: 1px solid #bae6d9;
  border-radius: 6px;
  color: var(--green-deep);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 680;
}

.job-applied-status b {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 11px;
}

.job-empty {
  min-height: 250px;
  padding: 42px;
}

.job-empty p {
  margin: 10px 0 0;
  color: var(--muted);
}

.job-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-admin-list {
  display: grid;
  gap: 10px;
}

.job-admin-list > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 20px 22px;
  background: var(--paper);
}

.job-admin-main {
  min-width: 0;
}

.job-admin-main h2 {
  margin-top: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-admin-main > p {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.job-admin-actions form {
  margin: 0;
}

.resume-inbox-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  border: 1px solid #cfd9e8;
  border-radius: 6px;
  padding: 0 12px;
  color: #24405f;
  background: #f7faff;
  font-size: 12px;
  font-weight: 680;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.resume-inbox-button:hover,
.resume-inbox-button.has-new {
  border-color: #9ebde4;
  background: #edf5ff;
}

.resume-inbox-button b {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  padding: 0 5px;
  color: #56616d;
  background: #e5e9ee;
  font-size: 10px;
}

.resume-inbox-button.has-new b {
  color: #fff;
  background: #e6463a;
}

.application-job-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.application-job-summary h2 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.application-job-summary p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.application-job-summary > strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex: none;
  font-size: 32px;
  font-weight: 700;
}

.application-job-summary > strong span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 580;
}

.application-inbox-empty {
  min-height: 250px;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pagination a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 620;
}

.pagination a:last-child {
  justify-self: end;
}

.pagination strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
}

.import-layout {
  align-items: start;
}

.import-reference dl {
  margin: 22px 0 0;
  border-top: 1px solid var(--line-soft);
}

.import-reference dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.import-reference dt,
.import-reference dd {
  margin: 0;
  font-size: 12px;
}

.import-reference dt {
  color: var(--muted);
}

.import-reference dd {
  color: var(--ink-2);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #5d6064;
  background: #eeeeef;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

@media (max-width: 980px) {
  .topbar-inner {
    gap: 18px;
    width: calc(100% - 32px);
  }

  .main-nav {
    gap: 18px;
  }

  .home-hero {
    min-height: 600px;
    height: 72svh;
  }

  .hero-copy-below {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 32px 76px;
  }

  .hero-copy-content h1 {
    font-size: 52px;
  }

  .section-band {
    padding: 82px 0;
  }

  .service-grid,
  .region-list,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .region-list article:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .region-list article:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .workflow-overview {
    grid-template-columns: 1fr;
  }

  .admin-split {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .form-grid.three,
  .admin-region-form,
  .region-admin-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-grid article:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .detail-grid article:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line-soft);
  }

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

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

  .job-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .hero-scroll-cue {
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  }

  .topbar {
    min-height: 56px;
  }

  .topbar-inner {
    position: relative;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: calc(100% - 24px);
    padding-top: 8px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-text {
    max-width: 124px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
  }

  .userbar {
    gap: 5px;
  }

  .user-pill {
    display: none;
  }

  .ghost-link,
  .solid-link,
  .ghost-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .main-nav {
    order: 3;
    min-height: 38px;
    flex: 0 0 100%;
    gap: 4px;
    overflow-x: auto;
    margin: 0;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    min-height: 38px;
    flex: none;
    padding: 0 9px;
    font-size: 12px;
  }

  .home-hero {
    min-height: 520px;
    height: 67svh;
    max-height: 650px;
  }

  .globe-drag-hint {
    top: 14px;
    right: 12px;
    max-width: calc(100% - 24px);
    text-align: center;
  }

  .globe-hint-desktop {
    display: none;
  }

  .globe-hint-mobile {
    display: inline;
  }

  .globe-zoom-controls {
    top: 58px;
    right: 12px;
  }

  .globe-zoom-controls button {
    width: 46px;
    height: 44px;
    font-size: 16px;
    touch-action: manipulation;
  }

  .globe-zoom-controls button[data-globe-zoom="reset"] {
    width: 52px;
  }

  .globe-tooltip {
    padding: 13px;
  }

  .hero-copy-below {
    gap: 38px;
    padding: 54px 18px 58px;
  }

  .hero-copy-content h1 {
    margin-top: 14px;
    font-size: 38px;
  }

  .hero-copy-content p,
  .section-intro p,
  .role-home-copy p {
    font-size: 16px;
  }

  .hero-stat-strip {
    grid-template-columns: 1fr;
  }

  .hero-stat-strip article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
  }

  .hero-stat-strip article + article {
    border-top: 1px solid #333537;
    border-left: 0;
    padding-left: 0;
  }

  .hero-stat-strip strong {
    font-size: 27px;
  }

  .hero-stat-strip span {
    margin: 0;
  }

  .section-band,
  .container,
  .talent-container,
  .profile-card-page {
    width: min(100% - 28px, 1180px);
  }

  .section-band {
    padding: 64px 0;
  }

  .section-intro {
    margin-bottom: 38px;
  }

  .section-intro h2,
  .role-home-copy h2 {
    font-size: 32px;
  }

  .service-grid,
  .region-list,
  .metric-grid,
  .detail-grid,
  .form-grid,
  .form-grid.two,
  .form-grid.three,
  .admin-region-form,
  .region-admin-fields,
  .wechat-setting-toggles,
  .payment-mode-toggles {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .service-grid article:nth-child(even) {
    min-height: 0;
    border-left: 0;
    padding: 26px 0 30px;
  }

  .service-index {
    margin-bottom: 20px;
  }

  .region-list article,
  .region-list article:nth-child(even),
  .region-list article:not(:nth-child(3n + 1)) {
    min-height: 78px;
    border-left: 0;
    padding: 14px 0;
  }

  .role-home-band {
    width: 100%;
    padding: 66px 18px;
  }

  .container {
    padding-top: 38px;
    padding-bottom: 64px;
  }

  .page-title,
  .workspace-title {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 26px;
  }

  .page-title h1,
  .workspace-title h1,
  .section-head h2 {
    font-size: 29px;
  }

  .page-actions {
    width: 100%;
  }

  .page-actions a,
  .page-actions button {
    flex: 1;
  }

  .section-head.spread,
  .form-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel,
  .settings-panel {
    padding: 20px 16px;
  }

  .workflow-next,
  .profile-progress {
    padding: 22px 18px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metric-grid {
    gap: 0;
  }

  .metric-grid article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    border-bottom: 1px solid var(--line-soft);
    padding: 16px 18px;
  }

  .metric-grid article:last-child {
    border-bottom: 0;
  }

  .metric-grid strong {
    margin: 0;
    font-size: 25px;
  }

  .detail-grid article,
  .detail-grid article:nth-child(even),
  .detail-grid article:not(:nth-child(3n + 1)) {
    border-left: 0;
    padding: 15px 0;
  }

  .mini-list article {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
  }

  .mini-list span {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .mini-list time {
    grid-column: 2;
    grid-row: 1;
  }

  .auth-page {
    place-items: start center;
    padding: 28px 14px 54px;
  }

  .authcard {
    padding: 26px 18px;
  }

  .auth-brand {
    margin-bottom: 26px;
  }

  .authcard h1 {
    font-size: 28px;
  }

  .role-choice {
    grid-template-columns: 1fr;
  }

  .role-choice label {
    min-height: 74px;
  }

  .verification-row {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea,
  .primary-button,
  .secondary-button,
  .danger-button,
  .outline-link,
  .primary-link {
    min-height: 46px;
  }

  .form-actions,
  .modal-actions {
    justify-content: stretch;
  }

  .form-actions a,
  .form-actions button,
  .modal-actions button {
    width: 100%;
  }

  .profile-photo-upload,
  .profile-summary-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .virtual-count-reset {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-globe-shell {
    min-height: 480px;
    margin: 0 -8px;
  }

  .admin-region-editor {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

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

  .talent-card-body {
    padding: 8px;
  }

  .talent-card h2 {
    font-size: 14px;
  }

  .talent-intro,
  .talent-card-foot {
    display: none;
  }

  .cert-claim {
    padding: 7px;
  }

  .personal-card {
    padding: 16px;
  }

  .personal-card::before {
    margin: -16px -16px 16px;
  }

  .personal-card-top {
    gap: 12px;
  }

  .personal-card-top img {
    width: 86px;
    height: 86px;
  }

  .personal-card-name h2 {
    font-size: 21px;
  }

  .settings-savebar .primary-button {
    width: 100%;
  }

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

  .footer-contact {
    text-align: left;
  }

  .site-footer-inner {
    width: calc(100% - 28px);
  }

  .completion-card {
    padding: 26px 18px;
  }

  .form-container {
    width: calc(100% - 28px);
  }

  .country-picker-toolbar {
    grid-template-columns: 1fr auto;
  }

  .country-search {
    grid-column: 1 / -1;
  }

  .country-picker-groups {
    max-height: 320px;
  }

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

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

  .job-filter,
  .job-filter.compact,
  .job-grid,
  .job-metric-grid {
    grid-template-columns: 1fr;
  }

  .job-filter {
    padding: 14px;
  }

  .job-filter-actions {
    justify-content: stretch;
  }

  .job-filter-actions .primary-button {
    flex: 1;
  }

  .job-results-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .job-card {
    min-height: 0;
    padding: 20px 17px;
  }

  .job-admin-list > article {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 18px 16px;
  }

  .job-admin-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .resume-inbox-button {
    flex: 1 0 100%;
    width: 100%;
  }

  .job-admin-actions a,
  .job-admin-actions form,
  .job-admin-actions button {
    flex: 1;
    width: 100%;
  }

  .application-job-summary {
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
  }

  .application-job-summary h2 {
    font-size: 20px;
  }

  .application-job-summary > strong {
    font-size: 27px;
  }

  .application-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .application-panel {
    margin: 38px 0;
    padding-top: 32px;
  }

  .import-reference dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ip-detection-row {
    grid-template-columns: 1fr;
  }

  .ip-detection-row .secondary-button {
    width: 100%;
  }

  .certification-type-panel {
    padding: 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
