:root {
  --ink: #20364a;
  --muted: #6b8294;
  --line: #d9eaf4;
  --paper: #f7fbfd;
  --green: #1268a7;
  --mint: #80c9ed;
  --lime: #d9f2ff;
  --deep: #0d3560;
  --orange: #f5a623;
  --shadow: 0 18px 54px rgba(13, 53, 96, .14);
}

body { background: #f7fbfd; }
.mobile-nav { display: none; }
.prototype-note { background: #0d3560; color: #dceefa; }
.site-header { border-color: #d9eaf4; }
.site-header .header-actions { margin-left: auto; }
.brand-logo { width: 54px; height: 46px; display: block; flex: 0 0 auto; object-fit: contain; }
.brand strong { letter-spacing: 0; color: #0d3560; }
.brand small { color: #6b8294; letter-spacing: .08em; }
.nav-link.active, .nav-link:hover { background: #edf7fc; color: #1268a7; }
.btn-primary { background: #1268a7; box-shadow: 0 10px 22px rgba(18, 104, 167, .2); }
.btn-dark { background: #0d3560; }
.text-button { color: #1268a7; }
.account-wrap { position: relative; }
.account-button { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.account-icon {
  display: none;
  width: 28px;
  height: 28px;
  place-items: center;
  flex: 0 0 28px;
  border-radius: 50%;
  background: #fff;
  color: #0d3560;
  font-size: 12px;
  font-weight: 850;
}
.account-button.is-logged-in .account-icon { display: grid; }
.account-menu {
  display: none;
  position: absolute;
  z-index: 45;
  top: calc(100% + 12px);
  right: 0;
  width: 190px;
  padding: 8px;
  border: 1px solid #d9eaf4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(13, 53, 96, .2);
}
.account-wrap.open .account-menu { display: grid; }
.account-menu button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #20364a;
  text-align: left;
  cursor: pointer;
}
.account-menu button:hover { background: #edf7fc; color: #1268a7; }
.account-menu .account-logout { margin-top: 4px; border-top: 1px solid #d9eaf4; border-radius: 0 0 8px 8px; color: #8b4a4a; }

.hero {
  background:
    linear-gradient(90deg, rgba(237, 247, 252, .94) 0%, rgba(255,255,255,.92) 54%, rgba(237,247,252,.78) 100%),
    radial-gradient(circle at 10% 5%, #cceafa 0, transparent 32%);
  border-bottom: 1px solid #d9eaf4;
}
.hero h1 { color: #0d3560; font-size: clamp(48px, 4.8vw, 72px); }
.hero h1 em { color: #1268a7; }
.hero-actions { flex-wrap: wrap; gap: 14px 18px; }
.hero-position-link { display: inline-flex; align-items: center; text-decoration: none; }
.hero-art { background: #0d3560; border-radius: 18px; border: 1px solid #c8e1ef; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,53,96,.1), rgba(13,53,96,.78)); }
.hero-photo-copy { position: absolute; z-index: 2; left: 34px; bottom: 32px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-photo-copy span { display: block; color: #bfe8fa; font-size: 11px; font-weight: 800; letter-spacing: .18em; margin-bottom: 8px; }
.hero-photo-copy strong { font-size: 30px; line-height: 1.35; }
.floating-card { z-index: 3; border: 1px solid rgba(217,234,244,.75); }
.floating-card strong { color: #0d3560; }
.eyebrow { color: #80c9ed; }
.eyebrow.dark { color: #1268a7; }

.xinyin-intro { background: #fff; }
.xinyin-intro .section-heading { align-items: flex-start; }
.xinyin-intro .section-heading > p { max-width: 430px; margin: 20px 0 0; color: #6b8294; }
.xinyin-story-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.story-card { min-height: 360px; overflow: hidden; position: relative; border-radius: 16px; background: #0d3560; box-shadow: 0 10px 30px rgba(13,53,96,.12); }
.story-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(7,31,55,.92)); }
.story-card > div { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 22px; color: #fff; }
.story-card span { font-size: 11px; color: #acdff5; letter-spacing: .14em; }
.story-card h3 { font-size: 23px; margin: 4px 0; }
.story-card p { margin: 0; color: #d5e5ed; font-size: 13px; }
.story-card:not(.story-wide) img { object-fit: contain; background: #fff; }

.featured-card, .job-row, .panel, .empty-state, .dialog { border-color: #d9eaf4; }
.featured-card:hover, .job-row:hover { border-color: #8fc4df; }
.featured-card .job-type, .panel-title > span, .step-badge, .status-pill { background: #edf7fc; color: #1268a7; }
.journey { background: #0d3560; }
.job-total {
  width: auto;
  height: auto;
  min-width: 0;
  padding: 9px 15px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border-radius: 999px;
  background: #edf7fc;
  color: #0d3560;
  white-space: nowrap;
}
.job-total strong { font-size: 20px; line-height: 1; }
.job-total span { color: #6b8294; font-size: 12px; }
body:has(.page-view.active) .site-header { height: 68px; }
body:has(.page-view.active) .brand-logo { width: 48px; height: 41px; }
body:has(.page-view.active) .account-button { padding-top: 9px; padding-bottom: 9px; }
.page-view {
  padding-top: 42px;
  padding-bottom: 72px;
  min-height: calc(100vh - 68px);
}
.page-view:has(#jobResults:not(.hidden)) {
  padding-top: 32px;
  padding-bottom: 64px;
}
#jobResults .category-back {
  margin-bottom: 14px;
  font-size: 14px;
}
#jobResults .page-title {
  align-items: flex-end;
  margin-bottom: 18px;
}
#jobResults .page-title .eyebrow {
  margin-bottom: 7px;
}
#jobResults .page-title h1 {
  font-size: clamp(38px, 3.4vw, 48px);
}
#jobResults .page-title p {
  margin: 8px 0 0;
  font-size: 15px;
}
#jobResults .recruitment-tabs {
  margin: 0 0 16px;
}
#jobResults .recruitment-tab {
  min-width: 104px;
  padding: 8px 15px;
}
#jobResults .jobs-toolbar {
  gap: 14px;
  margin-bottom: 18px;
}
#jobResults .search {
  height: 46px;
  min-width: 300px;
  border-radius: 12px;
}
#jobResults .search span { font-size: 21px; }
#jobResults .chip { padding: 6px 13px; }
#jobResults .jobs-list { gap: 8px; }
#jobResults .job-row {
  min-height: 76px;
  padding: 15px 20px;
  border-radius: 14px;
}
#jobResults .job-row h3 {
  margin-bottom: 4px;
  font-size: 18px;
}
#jobResults .job-row p { font-size: 13px; }
#jobResults .job-row .row-arrow {
  width: 36px;
  height: 36px;
  font-size: 18px;
}
.recruitment-landing { min-height: 0; padding-top: 0; }
#recruitmentLanding .category-search {
  height: 50px;
  margin-bottom: 30px;
  padding: 0 18px;
}
#recruitmentLanding .category-title { margin-bottom: 32px; }
#recruitmentLanding .category-title h1 { font-size: clamp(36px, 3.6vw, 48px); }
#recruitmentLanding .quote-mark { font-size: 62px; }
#recruitmentLanding .recruitment-card-grid { gap: 18px; }
#recruitmentLanding .recruitment-card {
  min-height: 200px;
  padding: 32px;
}
#recruitmentLanding .recruitment-card span { font-size: 30px; }
#recruitmentLanding .recruitment-card small {
  margin-top: 10px;
  font-size: 16px;
}
.home-category-page {
  max-width: 1440px;
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 42px clamp(24px,6vw,90px) 110px;
}
.home-recruitment { background: #f7fbfd; }
.home-recruitment .category-search { margin-bottom: 54px; }
.category-search {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 20px;
  margin-bottom: 62px;
  border: 1px solid #d9eaf4;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(13,53,96,.04);
}
.category-search span { color: #6b8294; font-size: 25px; }
.category-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #20364a; }
.category-title { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 54px; }
.category-title h1, .category-title h2 { margin: 0; color: #172d40; font-size: clamp(38px,4.2vw,58px); line-height: 1; }
.quote-mark { color: #1268a7; font-size: 74px; font-weight: 900; line-height: .5; transform: translateY(11px); }
.recruitment-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.recruitment-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 0;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(13,53,96,.15);
  transition: transform .22s, box-shadow .22s;
}
.recruitment-card::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,35,62,.83),rgba(8,35,62,.16)); }
.recruitment-card > * { position:relative; z-index:1; }
.recruitment-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(13,53,96,.22); }
.recruitment-card-campus { background-image:url('images/team.jpg'); }
.recruitment-card-social { background-image:url('images/office.jpg'); }
.recruitment-card span { font-size: 34px; font-weight: 800; }
.recruitment-card small { margin-top: 16px; font-size: 18px; }
.recruitment-card small strong { font-size: inherit; }
.category-back { margin-bottom: 28px; padding: 0; border:0; background:none; color:#1268a7; font-weight:800; cursor:pointer; }
.recruitment-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  margin: -10px 0 28px;
  border: 1px solid #d9eaf4;
  border-radius: 13px;
  background: #fff;
}
.recruitment-tab {
  min-width: 116px;
  padding: 10px 18px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6b8294;
  font-weight: 800;
  cursor: pointer;
}
.recruitment-tab.active { background: #0d3560; color: #fff; }
.jobs-layout { grid-template-columns: minmax(0, 1fr); }
.jobs-list .channel-empty { margin: 36px auto; }
.center-grid.applications-only { grid-template-columns: minmax(0, 1fr); }
.center-head { margin-bottom: 20px; }
.center-head h1 { font-size: 38px; line-height: 1.15; }
.center-head p { margin: 7px 0 0; }
.profile-chip { padding: 9px 13px; border-radius: 13px; }
.profile-chip > span { width: 38px; height: 38px; }
.center-grid { gap: 16px; }
.panel { padding: 20px; border-radius: 16px; }
.panel-title { padding-bottom: 12px; }
.application-card { padding: 16px 0; }
.application-card > p { margin: 5px 0 0; }
.application-process {
  margin: 14px 0 12px;
  padding: 12px 14px 10px;
  border: 1px solid #e1edf4;
  border-radius: 13px;
  background: #f8fbfd;
}
.application-process-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.application-process-title b { font-size: 13px; color: #20364a; }
.application-process-title span { color: #8196a5; font-size: 11px; }
.process-scroll { overflow-x: auto; padding: 2px 2px 5px; scrollbar-width: thin; }
.candidate-process {
  min-width: calc(var(--process-step-count, 5) * 112px);
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--process-step-count, 5), minmax(112px, 1fr));
  list-style: none;
}
.process-step {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 7px;
  color: #8a9eac;
  text-align: center;
}
.process-step::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 10px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: #dbe7ee;
}
.process-step:first-child::before { display: none; }
.process-step > i {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border: 2px solid #cbd9e2;
  border-radius: 50%;
  background: #fff;
}
.process-step > i::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #cbd9e2; }
.process-step > b { color: #496174; font-size: 13px; line-height: 1.3; }
.process-step > small { margin-top: 2px; font-size: 11px; line-height: 1.3; }
.process-step > time { margin-top: 2px; color: #8aa0af; font-size: 10px; white-space: nowrap; }
.process-step.state-completed::before,
.process-step.state-current::before,
.process-step.state-failed::before,
.process-step.state-stopped::before { background: #83c6e8; }
.process-step.state-completed > i { border-color: #4aa77d; background: #eaf8f1; }
.process-step.state-completed > i::after { background: #4aa77d; }
.process-step.state-completed > b,
.process-step.state-completed > small { color: #287859; }
.process-step.state-current > i { border-color: #1268a7; box-shadow: 0 0 0 4px rgba(18,104,167,.12); }
.process-step.state-current > i::after { background: #1268a7; }
.process-step.state-current > b,
.process-step.state-current > small { color: #0d5c98; font-weight: 800; }
.process-step.state-failed > i { border-color: #c65b50; background: #fff1ef; }
.process-step.state-failed > i::after { background: #c65b50; }
.process-step.state-failed > b,
.process-step.state-failed > small { color: #a5443a; }
.process-step.state-skipped > i { border-style: dashed; background: #f2f5f7; }
.process-step.state-skipped > i::after { background: #9aaab5; }
.process-step.state-stopped > i { border-color: #8797a3; background: #eef1f3; }
.process-step.state-stopped > i::after { background: #8797a3; }
.process-step.state-stopped > b,
.process-step.state-stopped > small { color: #6f7f8b; }
.application-card .app-bottom { margin-top: 0; }
.empty-apps { padding: 30px 10px; }
#centerGuest.empty-state {
  margin: 38px auto;
  padding: 38px 28px;
  border-radius: 20px;
}
.guest-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.login-dialog > p { margin: 6px 0 18px; color: var(--muted); }
.login-dialog h2 { margin: 0; font-size: 28px; }
.auth-tabs { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 16px; padding: 4px; border-radius: 12px; background: #edf4f8; }
.auth-tabs button { min-width: 78px; padding: 8px 16px; border: 0; border-radius: 9px; background: transparent; color: #6b8294; font-weight: 800; cursor: pointer; }
.auth-tabs button.active { background: #fff; color: #0d5c98; box-shadow: 0 3px 10px rgba(28,69,102,.1); }
#centerGuest .empty-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  font-size: 27px;
}
#centerGuest h1 { margin: 0 0 7px; font-size: 30px; }
#centerGuest p { margin: 0 0 20px; }
.profile-page-head { margin-bottom: 20px; }
.profile-page-head .eyebrow { margin-bottom: 8px; }
.profile-page-head h1 { margin: 0; font-size: clamp(36px, 3.5vw, 46px); line-height: 1.15; }
.profile-page-head p { margin: 8px 0 0; color: #6b8294; }
.profile-page-panel { max-width: 1120px; }
.profile-page-panel .completion { margin: 16px 0; }
.profile-title > div { display: flex; align-items: baseline; gap: 12px; }
.profile-title > div > span { color: #7d91a0; font-size: 12px; }
.resume-form { color: #20364a; }
.resume-section { padding: 22px 0; border-top: 1px solid #e3edf3; }
.resume-section:first-of-type { border-top: 0; }
.resume-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 16px; }
.resume-section-heading h3 { margin: 0; font-size: 18px; }
.resume-section-heading h3 em, .resume-fields label em { color: #c55549; font-style: normal; }
.resume-section-heading p { margin: 5px 0 0; color: #8a9dab; font-size: 12px; }
.section-add, .entry-remove { border: 0; background: none; color: #1174ae; font-weight: 750; cursor: pointer; }
.entry-remove { position: absolute; right: 0; bottom: 14px; color: #b35047; font-size: 12px; }
.profile-entry { position: relative; padding: 16px; margin-top: 10px; border: 1px solid #e0ebf1; border-radius: 13px; background: #fbfdfe; }
.profile-entry:first-child { margin-top: 0; }
.profile-entry-list .profile-empty { margin: 0; color: #9aabb6; font-size: 13px; }
.resume-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.basic-profile-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.resume-fields label, .full-field { display: flex; flex-direction: column; gap: 6px; color: #4e6678; font-size: 12px; font-weight: 700; }
.resume-fields input, .resume-fields select, .resume-fields textarea, .full-field textarea {
  width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #d8e6ee; border-radius: 9px; outline: 0; background: #fff; color: #20364a; font: inherit; font-weight: 500;
}
.resume-fields input, .resume-fields select { height: 40px; }
.resume-fields textarea, .full-field textarea { min-height: 92px; resize: vertical; line-height: 1.65; }
.resume-fields input:focus, .resume-fields select:focus, .resume-fields textarea:focus, .full-field textarea:focus { border-color: #67add3; box-shadow: 0 0 0 3px rgba(18,104,167,.09); }
.resume-fields .wide-field { grid-column: 1 / -1; padding-right: 56px; }
.saved-resume-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px dashed #79bddf; border-radius: 13px; background: #f5fbfe; cursor: pointer; }
.saved-resume-card > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.saved-resume-card b { overflow: hidden; color: #20364a; text-overflow: ellipsis; white-space: nowrap; }
.saved-resume-card small { color: #7e93a2; }
.saved-resume-card > strong { color: #1174ae; font-size: 13px; }
.resume-file-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #e7f4fa; color: #1268a7; font-size: 11px; font-weight: 900; }
.resume-form.is-readonly .saved-resume-card { pointer-events: none; border-style: solid; background: #fafcfd; }
.resume-form.is-readonly .saved-resume-card > strong { display: none; }
.resume-form.is-readonly input:disabled, .resume-form.is-readonly select:disabled, .resume-form.is-readonly textarea:disabled { opacity: 1; border-color: transparent; background: #f7fafc; color: #20364a; -webkit-text-fill-color: #20364a; }
.profile-form-actions { position: sticky; z-index: 5; bottom: 14px; display: flex; justify-content: flex-end; gap: 10px; padding: 13px; border: 1px solid #dce9f0; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(18,59,89,.12); backdrop-filter: blur(12px); }
.profile-form-actions.hidden { display: none; }
.detailed-apply-dialog { width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 36px); overflow-y: auto; }
.detailed-apply-dialog .apply-heading { position: sticky; z-index: 6; top: -28px; margin: -28px -28px 0; padding: 28px 28px 18px; background: rgba(255,255,255,.97); border-bottom: 1px solid #e3edf3; backdrop-filter: blur(12px); }
.detailed-apply-dialog .dialog-actions { position: sticky; z-index: 6; bottom: -28px; margin: 18px -28px -28px; padding: 15px 28px 28px; background: rgba(255,255,255,.97); border-top: 1px solid #e3edf3; backdrop-filter: blur(12px); }
.application-extra .resume-fields { max-width: 700px; }
.drawer { padding: 38px; }
.job-detail-top { padding-bottom: 18px; }
.job-detail-top h2 { margin: 7px 0; font-size: 30px; }
.job-detail-section { margin-top: 18px; }
.job-detail-section h3 { margin: 0 0 8px; }
.job-detail-section li { margin: 5px 0; }
.sticky-apply { padding-top: 24px; }
.dialog { padding: 28px; border-radius: 19px; }
.apply-heading .eyebrow { margin-bottom: 7px; }
.upload-zone { margin: 18px 0; padding: 16px; }
.upload-icon { width: 38px; height: 38px; margin-bottom: 6px; font-size: 20px; }
.form-section-title { margin-top: 18px; }
.login-dialog label, .apply-dialog label { margin: 11px 0; }
.login-dialog input, .apply-dialog input, .apply-dialog select { height: 42px; margin-top: 5px; }
.dialog-actions { margin-top: 16px; }
.admin-jobs { margin-top: 18px; }
.admin-row { padding-top: 13px; padding-bottom: 13px; }
.journey li b { color: #80c9ed; }
.journey li span, .jobs-aside p { color: #b9cfdb; }
.search span, .row-arrow, .empty-icon, .parse-status { color: #1268a7; }
.job-row .row-arrow, .empty-icon { background: #edf7fc; color: #1268a7; }
.chip.active { background: #0d3560; border-color: #0d3560; }
.profile-chip > span { background: #0d3560; color: #fff; }
.progress i, .upload-icon, .switch input:checked + i { background: #1268a7; }
.upload-zone { border-color: #9ccbe3; background: #f4fafd; }
.admin-row { grid-template-columns: minmax(0, 1fr) 130px 110px 70px; }
.admin-type {
  width: 100%;
  height: 38px;
  padding: 0 9px;
  border: 1px solid #d9eaf4;
  border-radius: 9px;
  background: #fff;
  color: #20364a;
  font-size: 12px;
  font-weight: 700;
}
.site-footer { gap: 36px; }
.footer-info { margin-left: auto; text-align: right; }
.footer-info p { margin: 0 0 8px; }
.footer-legal { display: flex; justify-content: flex-end; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.footer-legal a { color: #526f84; text-decoration: none; }
.footer-legal a:hover { color: #1268a7; text-decoration: underline; }

@media (max-width: 980px) {
  body { padding-bottom: 78px; }
  .mobile-nav {
    display: flex;
    position: fixed;
    z-index: 40;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(calc(100vw - 24px), 420px);
    margin: 0;
    padding: 6px;
    gap: 4px;
    transform: translateX(-50%);
    border: 1px solid #d9eaf4;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 38px rgba(13, 53, 96, .2);
    backdrop-filter: blur(16px);
  }
  .mobile-nav .nav-link {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 8px;
    font-size: 13px;
    white-space: nowrap;
  }
  .xinyin-story-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 330px; }
  .basic-profile-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .brand-logo { width: 42px; height: 38px; }
  .footer-info { margin-left: 0; text-align: left; }
  .footer-legal { justify-content: flex-start; }
  .site-header { gap: 8px; }
  .site-header .brand { min-width: 0; flex: 1; gap: 8px; }
  .site-header .brand strong { font-size: 0; white-space: nowrap; }
  .site-header .brand strong::after { content: "福州心音"; font-size: 14px; }
  .site-header .header-actions { flex: 0 0 auto; }
  .site-header .header-actions .btn-dark {
    height: 38px;
    padding: 0 11px;
    border-radius: 9px;
    font-size: 12px;
    white-space: nowrap;
  }
  .site-header .account-button.is-logged-in { width: 38px; padding: 0; justify-content: center; }
  .site-header .account-button.is-logged-in .account-label { display: none; }
  .site-header .account-menu { position: fixed; top: 82px; right: 14px; width: 180px; }
  .hero h1 { font-size: 38px; }
  .hero-art { height: 310px; }
  .xinyin-intro .section-heading { display: block; }
  .story-card { min-height: 280px; }
  .page-title { display: block; }
  .job-total { margin-top: 18px; }
  body:has(.page-view.active) .site-header { height: 62px; }
  body:has(.page-view.active) .brand-logo { width: 40px; height: 36px; }
  .page-view { padding-top: 28px; padding-bottom: 72px; min-height: calc(100vh - 62px); }
  .page-view:has(#jobResults:not(.hidden)) { padding-top: 26px; padding-bottom: 72px; }
  #jobResults .page-title { margin-bottom: 16px; }
  #jobResults .page-title h1 { font-size: 34px; }
  #jobResults .page-title p { font-size: 14px; }
  #jobResults .job-total { display: inline-flex; margin-top: 12px; }
  #jobResults .jobs-toolbar { gap: 10px; }
  #jobResults .job-row { min-height: 72px; padding: 14px 16px; }
  .recruitment-landing { min-height: 0; }
  #recruitmentLanding .category-search { height: 46px; margin-bottom: 24px; }
  #recruitmentLanding .category-title { margin-bottom: 24px; }
  #recruitmentLanding .category-title h1 { font-size: 34px; }
  .recruitment-card-grid { grid-template-columns: 1fr; gap: 16px; }
  #recruitmentLanding .recruitment-card { min-height: 155px; padding: 24px; }
  .recruitment-card span { font-size: 28px; }
  .recruitment-card small { font-size: 15px; }
  .center-head { margin-bottom: 16px; }
  .center-head h1 { font-size: 34px; }
  .panel { padding: 17px; }
  .application-process { margin: 12px 0 10px; padding: 11px 10px 8px; }
  .application-process-title { margin-bottom: 9px; }
  .candidate-process { min-width: calc(var(--process-step-count, 5) * 100px); grid-template-columns: repeat(var(--process-step-count, 5), minmax(100px, 1fr)); }
  #centerGuest.empty-state { margin: 22px auto; padding: 30px 20px; }
  .profile-page-head h1 { font-size: 34px; }
  .profile-page-panel { max-width: none; }
  .profile-title > div { display: block; }
  .profile-title > div > span { display: block; margin-top: 4px; }
  .resume-section { padding: 18px 0; }
  .resume-fields, .basic-profile-fields { grid-template-columns: 1fr; }
  .resume-fields .wide-field { grid-column: auto; padding-right: 0; }
  .profile-entry { padding: 13px 13px 42px; }
  .saved-resume-card { align-items: flex-start; }
  .saved-resume-card > strong { display: none; }
  .detailed-apply-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); padding: 22px 16px; }
  .detailed-apply-dialog .apply-heading { top: -22px; margin: -22px -16px 0; padding: 22px 16px 14px; }
  .detailed-apply-dialog .dialog-actions { bottom: -22px; margin: 16px -16px -22px; padding: 13px 16px 22px; }
  .drawer { padding: 48px 20px 26px; }
  .dialog { padding: 24px 18px; }
  .recruitment-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .recruitment-tab { min-width: 0; }
  .admin-row { grid-template-columns: minmax(0, 1fr) 64px; }
  .admin-row .admin-type { grid-column: 1; width: 100%; }
  .admin-row .switch { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 360px) {
  .site-header .brand strong { font-size: 0; }
  .site-header .brand strong::after { font-size: 13px; }
  .site-header .header-actions .btn-dark { padding: 0 8px; }
}

.job-description {
  color: #41534c;
  line-height: 1.9;
  word-break: break-word;
}

.jobs-sync-state {
  margin: 0;
  max-width: none;
  box-shadow: none;
}

.jobs-sync-state .empty-icon { font-weight: 800; }

/* Dense recruitment workspace: restrained, information-first, and intentionally
   separate from the more spacious public home page. */
body:has(.page-view.active) { background: #f4f6f8; }
body:has(.page-view.active) .site-header {
  height: 66px;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  background: #fff;
  backdrop-filter: none;
}
body:has(.page-view.active) .brand-logo { width: 45px; height: 39px; }
body:has(.page-view.active) .brand strong { font-size: 16px; }
body:has(.page-view.active) .brand small { margin-top: 4px; font-size: 10px; }
body:has(.page-view.active) .account-button { min-height: 38px; padding: 8px 14px; border-radius: 4px; }

.page-view {
  max-width: 1240px;
  min-height: calc(100vh - 66px);
  padding: 30px 24px 64px;
}
.page-view .btn,
.page-view .search,
.page-view .chip,
.page-view .panel,
.page-view .profile-chip,
.page-view .empty-state { border-radius: 4px; box-shadow: none; }
.page-view .eyebrow { display: none; }
.page-view .page-title,
.profile-page-head,
.center-head { margin-bottom: 18px; }
.page-view .page-title h1,
.profile-page-head h1,
.center-head h1 { margin: 0; font-size: 28px; line-height: 1.25; letter-spacing: -.02em; }
.page-view .page-title p,
.profile-page-head p,
.center-head p { margin: 5px 0 0; color: #758796; font-size: 13px; }

#recruitmentLanding { max-width: 920px; margin: 0 auto; }
#recruitmentLanding .category-search { height: 40px; margin-bottom: 20px; border-radius: 4px; box-shadow: none; }
#recruitmentLanding .category-title { justify-content: flex-start; margin-bottom: 18px; }
#recruitmentLanding .category-title h1 { font-size: 28px; }
#recruitmentLanding .quote-mark { display: none; }
#recruitmentLanding .recruitment-card-grid { gap: 12px; }
#recruitmentLanding .recruitment-card {
  min-height: 104px;
  padding: 20px 22px;
  border: 1px solid #dce4e9;
  border-radius: 4px;
  background: #fff;
  color: #20364a;
  box-shadow: none;
}
#recruitmentLanding .recruitment-card::before { display: none; }
#recruitmentLanding .recruitment-card:hover { border-color: #82b6d3; background: #f7fafc; box-shadow: none; transform: none; }
#recruitmentLanding .recruitment-card span { color: #20364a; font-size: 21px; }
#recruitmentLanding .recruitment-card small { margin-top: 5px; color: #718594; font-size: 13px; }

#jobResults .page-title { min-height: 0; margin-bottom: 16px; }
#jobResults .page-title h1 { font-size: 28px; }
#jobResults .recruitment-tabs {
  display: flex;
  width: 100%;
  gap: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #dfe5ea;
  border-radius: 0;
  background: transparent;
}
#jobResults .recruitment-tab {
  min-width: 0;
  padding: 9px 2px 10px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #667887;
  font-size: 14px;
}
#jobResults .recruitment-tab.active { border-color: #1268a7; background: transparent; color: #0d4f7e; }
.jobs-workbench { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.jobs-filter-panel,
.jobs-results-panel { border: 1px solid #dde4e9; background: #fff; }
.jobs-filter-panel { position: sticky; top: 84px; padding: 16px; }
.filter-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 13px; }
.filter-heading strong { color: #21384a; font-size: 15px; }
.filter-heading span { color: #94a2ad; font-size: 11px; }
#jobResults .search { width: 100%; min-width: 0; height: 38px; padding: 0 10px; margin: 0 0 12px; border-color: #d7dfe5; }
#jobResults .search span { font-size: 18px; }
#jobResults .search input { font-size: 12px; }
#jobResults .chips { display: grid; gap: 0; }
#jobResults .chip {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 7px;
  border: 0;
  border-bottom: 1px solid #eef1f3;
  background: transparent;
  color: #526777;
  text-align: left;
  font-size: 13px;
}
#jobResults .chip:last-child { border-bottom: 0; }
#jobResults .chip:hover { color: #1268a7; }
#jobResults .chip.active { background: #edf5fa; color: #0d5c98; }
#jobResults .chip b { min-width: 24px; color: #99a7b1; font-size: 11px; text-align: right; }
#jobResults .chip.active b { color: #0d5c98; }
.results-summary { height: 49px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #dde4e9; }
.results-summary h2 { margin: 0; color: #20364a; font-size: 17px; }
.results-summary span { color: #7e8f9c; font-size: 12px; }
.results-summary strong { color: #0d5c98; font-size: 14px; }
#jobResults .jobs-list { gap: 0; }
#jobResults .job-row {
  min-height: 0;
  padding: 17px 20px;
  border: 0;
  border-bottom: 1px solid #e7ebee;
  border-radius: 0;
  background: #fff;
  transition: background .15s;
}
#jobResults .job-row:last-child { border-bottom: 0; }
#jobResults .job-row:hover { border-color: #e7ebee; background: #f8fafb; box-shadow: none; transform: none; }
#jobResults .job-row h3 { margin: 0 0 7px; color: #172f42; font-size: 17px; font-weight: 750; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 7px; color: #40586b; font-size: 12px; }
.job-meta span { display: inline-flex; align-items: center; }
.job-meta span + span::before { content: "|"; margin: 0 8px; color: #c4cdd3; }
#jobResults .job-row p { display: -webkit-box; overflow: hidden; margin: 0; color: #718390; font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#jobResults .job-row .row-arrow {
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #1268a7;
  font-size: 12px;
  white-space: nowrap;
}
.jobs-results-panel .empty-state { margin: 0; border: 0; padding: 45px 20px; }

.center-head { align-items: flex-end; }
.profile-chip { padding: 7px 10px; }
.profile-chip > span { width: 34px; height: 34px; font-size: 13px; }
.profile-chip b { font-size: 13px; }
.profile-chip small { font-size: 11px; }
.center-grid { gap: 0; }
.panel { padding: 18px 20px; border-color: #dde4e9; }
.panel-title { min-height: 43px; padding: 0 0 12px; }
.panel-title h2 { font-size: 18px; }
.panel-title > span { border-radius: 3px; background: #edf5fa; color: #0d5c98; }
.application-card { padding: 15px 0; }
.application-card h3 { font-size: 16px; }
.application-card > p { margin: 4px 0 0; font-size: 12px; }
.status-pill { border-radius: 3px; padding: 4px 8px; }
.application-process { margin: 12px 0 9px; padding: 10px 12px 8px; border-radius: 3px; background: #fafbfc; }
.application-process-title { margin-bottom: 8px; }
.application-card .app-bottom { color: #526777; font-size: 12px; }

.profile-page-panel { max-width: none; padding: 0; overflow: hidden; }
.profile-page-panel > .panel-title { padding: 14px 18px; border-bottom: 1px solid #dde4e9; }
.profile-page-panel > .completion { margin: 0; padding: 11px 18px; border-bottom: 1px solid #e8ecef; }
.profile-page-panel .completion > div:first-child { font-size: 12px; }
.profile-page-panel .progress { height: 4px; margin-top: 6px; }
.profile-page-panel .resume-form { padding: 0 18px 16px; }
.profile-page-panel .resume-section,
.detailed-apply-dialog .resume-section {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
}
.profile-page-panel .resume-section-heading,
.detailed-apply-dialog .resume-section-heading { display: block; margin: 0; }
.profile-page-panel .resume-section-heading h3,
.detailed-apply-dialog .resume-section-heading h3 { font-size: 15px; }
.profile-page-panel .resume-section-heading p,
.detailed-apply-dialog .resume-section-heading p { margin-top: 4px; line-height: 1.55; }
.profile-page-panel .section-add,
.detailed-apply-dialog .section-add { margin-top: 8px; padding: 0; font-size: 12px; }
.profile-page-panel .resume-fields,
.detailed-apply-dialog .resume-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
.profile-page-panel .resume-fields .wide-field,
.detailed-apply-dialog .resume-fields .wide-field { grid-column: span 2; }
.profile-entry { margin-top: 8px; padding: 12px 12px 35px; border-radius: 3px; background: #fafbfc; }
.profile-entry:first-child { margin-top: 0; }
.resume-fields label,
.full-field { gap: 4px; font-size: 11px; }
.resume-fields input,
.resume-fields select,
.resume-fields textarea,
.full-field textarea { padding: 7px 9px; border-radius: 3px; font-size: 12px; }
.resume-fields input,
.resume-fields select { height: 34px; }
.resume-fields textarea,
.full-field textarea { min-height: 76px; line-height: 1.55; }
.resume-form.is-readonly input:disabled,
.resume-form.is-readonly select:disabled,
.resume-form.is-readonly textarea:disabled {
  height: 29px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  border-radius: 0;
  background: transparent;
}
.resume-form.is-readonly textarea:disabled { height: auto; min-height: 56px; }
.saved-resume-card { padding: 11px 13px; border-radius: 3px; background: #fbfcfd; }
.resume-file-icon { width: 34px; height: 34px; border-radius: 3px; }
.saved-resume-card b { font-size: 13px; }
.saved-resume-card small { font-size: 11px; }
.profile-form-actions { bottom: 8px; padding: 10px; border-radius: 3px; box-shadow: 0 5px 16px rgba(18,59,89,.08); }

.modal-backdrop { background: rgba(18, 30, 39, .54); backdrop-filter: none; }
.dialog,
.drawer { border-radius: 4px; box-shadow: 0 18px 50px rgba(15, 31, 43, .22); }
.close { width: 30px; height: 30px; border-radius: 3px; font-size: 19px; }
.detailed-apply-dialog { width: min(1080px, calc(100vw - 32px)); }
.detailed-apply-dialog .apply-heading { top: -28px; padding-bottom: 14px; backdrop-filter: none; }
.detailed-apply-dialog .apply-heading h2 { margin: 0 0 2px; font-size: 22px; }
.step-badge { border-radius: 3px; padding: 5px 9px; }
.detailed-apply-dialog .dialog-actions { backdrop-filter: none; }
.login-dialog { max-width: 430px; }
.login-dialog .auth-tabs { border-radius: 3px; }
.login-dialog .auth-tabs button { border-radius: 2px; }
.login-dialog input { border-radius: 3px; }

@media (max-width: 900px) {
  .jobs-workbench { grid-template-columns: 1fr; }
  .jobs-filter-panel { position: static; }
  #jobResults .chips { display: flex; gap: 7px; }
  #jobResults .chip { width: auto; gap: 8px; border: 1px solid #dce4e9; padding: 6px 9px; }
  .profile-page-panel .resume-section,
  .detailed-apply-dialog .resume-section { grid-template-columns: 125px minmax(0, 1fr); gap: 14px; }
  .profile-page-panel .resume-fields,
  .detailed-apply-dialog .resume-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body:has(.page-view.active) .site-header { padding-inline: 14px; }
  body:has(.page-view.active) .brand strong { font-size: 0; }
  body:has(.page-view.active) .brand strong::after { content: "福州心音"; font-size: 14px; }
  .page-view { padding: 20px 12px 68px; }
  .page-view .page-title h1,
  .profile-page-head h1,
  .center-head h1 { font-size: 24px; }
  #jobResults .recruitment-tabs { display: flex; }
  .jobs-workbench { margin-top: 13px; gap: 12px; }
  .jobs-filter-panel { padding: 12px; }
  #jobResults .chips { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  #jobResults .chip { width: 100%; max-width: 100%; }
  #jobResults .job-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 15px; }
  #jobResults .job-row .row-arrow { justify-self: start; }
  .center-head { display: block; }
  .profile-chip { margin-top: 12px; }
  .panel { padding: 14px; }
  .profile-page-panel { padding: 0; }
  .profile-page-panel .resume-form { padding-inline: 13px; }
  .profile-page-panel .resume-section,
  .detailed-apply-dialog .resume-section { display: block; padding: 15px 0; }
  .profile-page-panel .resume-section-heading,
  .detailed-apply-dialog .resume-section-heading { margin-bottom: 11px; }
  .profile-page-panel .resume-fields,
  .detailed-apply-dialog .resume-fields { grid-template-columns: 1fr; }
  .profile-page-panel .resume-fields .wide-field,
  .detailed-apply-dialog .resume-fields .wide-field { grid-column: auto; }
  .detailed-apply-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); margin-inline: 12px; overflow-x: hidden; }
  .detailed-apply-dialog .resume-fields > * { min-width: 0; }
  .detailed-apply-dialog .dialog-actions { width: auto; margin-right: 0; margin-left: 0; padding-right: 0; padding-left: 0; }
}

/* Keep required markers immediately after their field labels. */
.resume-fields label {
  width: 100%;
  display: block;
}
.resume-fields label > em { white-space: nowrap; }
.resume-fields label > input,
.resume-fields label > select,
.resume-fields label > textarea {
  display: block;
  margin-top: 4px;
}

.apply-dialog .consent {
  align-items: center;
  line-height: 1.4;
}
.apply-dialog .consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
}
