.hr-workspace {
  --hr-ink: #26352f;
  --hr-muted: #6f7c76;
  --hr-green: #234c3c;
  --hr-green-soft: #eaf1ed;
  --hr-gold: #b18a4a;
  --hr-paper: #fbfaf7;
  display: grid;
  gap: 18px;
  color: var(--hr-ink);
}
.hr-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  min-height: 190px;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid rgba(35, 76, 60, .16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(177, 138, 74, .2), transparent 34%),
    linear-gradient(135deg, #f8f7f1 0%, #edf3ef 55%, #e6eee9 100%);
  box-shadow: 0 14px 36px rgba(38, 53, 47, .08);
}

.hr-hero::after {
  position: absolute;
  top: -74px;
  right: -36px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(177, 138, 74, .22);
  border-radius: 50%;
  content: "";
}

.hr-hero-copy { position: relative; z-index: 1; max-width: 720px; }
.hr-eyebrow { display: inline-block; margin-bottom: 14px; color: var(--hr-green); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hr-hero h1 { max-width: 680px; margin: 0; color: #1e362d; font-family: "Songti SC", "STSong", serif; font-size: clamp(28px, 3vw, 42px); font-weight: 650; line-height: 1.2; letter-spacing: .02em; }
.hr-hero-copy > p { max-width: 650px; margin: 15px 0 0; color: #65736d; font-size: 14px; line-height: 1.8; }
.hr-hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(92px, 1fr)); min-width: 330px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.68); box-shadow: 0 12px 28px rgba(35, 76, 60, .08); backdrop-filter: blur(12px); }
.hr-hero-stats > div { display: grid; gap: 6px; padding: 18px 16px; text-align: center; }
.hr-hero-stats > div + div { border-left: 1px solid rgba(35, 76, 60, .1); }
.hr-hero-stats strong { color: var(--hr-green); font-size: 21px; }
.hr-hero-stats span { color: var(--hr-muted); font-size: 11px; }

.hr-workspace-layout { display: grid; grid-template-columns: minmax(260px, 310px) minmax(0, 1fr); min-height: 720px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 30px rgba(15, 23, 42, .06); }
.hr-job-sidebar { display: flex; flex-direction: column; gap: 16px; padding: 22px 16px; border-right: 1px solid var(--line); background: var(--hr-paper); }
.hr-sidebar-heading > div { display: flex; justify-content: space-between; align-items: center; }
.hr-sidebar-heading strong { color: var(--hr-ink); font-size: 15px; }
.hr-sidebar-heading span { color: var(--hr-green); font-size: 11px; font-weight: 800; }
.hr-sidebar-heading p { margin: 6px 0 0; color: var(--hr-muted); font-size: 11px; line-height: 1.6; }
.hr-search { display: flex; gap: 8px; align-items: center; min-height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--hr-muted); }
.hr-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--hr-ink); font: inherit; font-size: 12px; }
.hr-job-nav { display: grid; gap: 8px; }
.hr-job-nav-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 10px; width: 100%; padding: 13px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--hr-ink); text-align: left; cursor: pointer; }
.hr-job-nav-item:hover { border-color: rgba(35, 76, 60, .16); background: rgba(35, 76, 60, .04); }
.hr-job-nav-item.active { border-color: rgba(35, 76, 60, .2); background: #fff; box-shadow: 0 8px 20px rgba(35, 76, 60, .08); }
.hr-job-order { grid-row: 1 / span 2; align-self: start; color: var(--hr-gold); font-family: Georgia, serif; font-size: 13px; }
.hr-job-nav-item > span:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.hr-job-nav-item strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.hr-job-nav-item small { color: var(--hr-muted); font-size: 10px; }
.hr-job-nav-item em { grid-column: 2; justify-self: start; padding: 2px 7px; border-radius: 999px; background: var(--hr-green-soft); color: var(--hr-green); font-size: 9px; font-style: normal; font-weight: 800; }
.hr-job-sidebar footer { margin-top: auto; padding: 14px; border: 1px solid rgba(177, 138, 74, .18); border-radius: 10px; background: rgba(177, 138, 74, .06); }
.hr-job-sidebar footer span { color: #8f6b31; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.hr-job-sidebar footer p { margin: 6px 0 0; color: var(--hr-muted); font-size: 10px; line-height: 1.65; }
.hr-sidebar-empty { padding: 24px 10px; color: var(--hr-muted); font-size: 12px; text-align: center; }

.hr-job-content { min-width: 0; background: var(--surface); }
.hr-job-detail { display: grid; gap: 28px; padding: 32px 34px 42px; }
.hr-job-detail-header { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.hr-detail-kicker { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.hr-detail-kicker span { padding: 3px 7px; border-radius: 5px; background: var(--hr-green-soft); color: var(--hr-green); font-size: 9px; font-weight: 800; }
.hr-job-detail-header h2 { margin: 0; color: var(--hr-ink); font-family: "Songti SC", "STSong", serif; font-size: 30px; font-weight: 650; }
.hr-job-detail-header p { max-width: 760px; margin: 10px 0 0; color: var(--hr-muted); font-size: 13px; line-height: 1.75; }
.hr-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-content: flex-start; min-width: 260px; }
.hr-detail-actions .button { text-decoration: none; }
.hr-status-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; border-radius: 8px; background: var(--hr-green); color: #fff; font-size: 11px; font-weight: 800; }
.hr-positioning-quote { position: relative; margin: 0; padding: 24px 28px 24px 32px; overflow: hidden; border: 0; border-radius: 14px; background: var(--hr-green); color: #fff; }
.hr-positioning-quote::after { position: absolute; right: 22px; bottom: -38px; color: rgba(255,255,255,.08); content: "人"; font-family: "Songti SC", serif; font-size: 120px; line-height: 1; }
.hr-positioning-quote span { color: #d8c49d; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.hr-positioning-quote p { position: relative; z-index: 1; max-width: 800px; margin: 10px 0 0; font-family: "Songti SC", "STSong", serif; font-size: 20px; line-height: 1.7; }
.hr-detail-section { min-width: 0; }
.hr-section-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.hr-section-heading > span { padding-top: 3px; color: var(--hr-gold); font-family: Georgia, serif; font-size: 12px; }
.hr-section-heading h3 { margin: 0; color: var(--hr-ink); font-size: 17px; }
.hr-section-heading p { margin: 5px 0 0; color: var(--hr-muted); font-size: 11px; line-height: 1.55; }
.hr-responsibility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hr-responsibility-card { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: var(--hr-paper); }
.hr-responsibility-card > span { color: var(--hr-gold); font-family: Georgia, serif; font-size: 11px; }
.hr-responsibility-card h4 { margin: 0 0 7px; color: var(--hr-ink); font-size: 13px; }
.hr-responsibility-card p { margin: 0; color: var(--hr-muted); font-size: 11px; line-height: 1.7; }
.hr-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hr-detail-grid > .hr-detail-section { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--hr-paper); }
.hr-work-mix-row { display: grid; gap: 7px; margin-top: 13px; }
.hr-work-mix-row > div { display: flex; justify-content: space-between; gap: 16px; color: var(--hr-muted); font-size: 11px; }
.hr-work-mix-row strong { color: var(--hr-green); }
.hr-work-mix-row i { height: 6px; overflow: hidden; border-radius: 999px; background: #e4e7e5; }
.hr-work-mix-row b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--hr-green), #5d806f); }
.hr-must-have-list { display: grid; gap: 9px; }
.hr-must-have-list > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 11px 12px; border-radius: 9px; background: var(--hr-green-soft); }
.hr-must-have-list strong { color: var(--hr-green); font-size: 11px; }
.hr-must-have-list span { color: var(--hr-muted); font-size: 11px; line-height: 1.55; }
.hr-quality-table { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }
.hr-quality-table table { width: 100%; border-collapse: collapse; }
.hr-quality-table th { background: var(--hr-paper); color: var(--hr-muted); font-size: 10px; letter-spacing: .04em; }
.hr-quality-table th, .hr-quality-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.hr-quality-table tr:last-child td { border-bottom: 0; }
.hr-quality-table td { color: var(--hr-muted); font-size: 11px; }
.hr-quality-table td strong { color: var(--hr-ink); }
.hr-weight-chip { color: var(--hr-green); font-weight: 850; }
.hr-check-list, .hr-red-flag-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.hr-check-list li, .hr-red-flag-list li { position: relative; padding-left: 20px; color: var(--hr-muted); font-size: 11px; line-height: 1.65; }
.hr-check-list li::before { position: absolute; top: 2px; left: 0; color: var(--hr-green); content: "✓"; font-weight: 900; }
.hr-red-flag-panel { background: #fcf8f6 !important; }
.hr-red-flag-list li::before { position: absolute; top: 2px; left: 2px; color: #a65a46; content: "×"; font-weight: 900; }
.hr-interview-panel { padding: 22px 24px; border: 1px solid rgba(177, 138, 74, .22); border-radius: 12px; background: linear-gradient(135deg, #fbf9f3, #f5f0e5); }
.hr-interview-panel blockquote { margin: 0; padding: 16px 18px; border-left: 3px solid var(--hr-gold); background: rgba(255,255,255,.72); color: #5d5548; font-family: "Songti SC", "STSong", serif; font-size: 14px; line-height: 1.8; }
.hr-interview-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.hr-interview-tags span { padding: 5px 9px; border: 1px solid rgba(177, 138, 74, .2); border-radius: 999px; background: #fff; color: #7f663d; font-size: 10px; }
.hr-empty-state { display: grid; min-height: 420px; place-content: center; text-align: center; }
.hr-empty-state p { color: var(--hr-muted); }

body[data-theme="dark"] .hr-workspace,
body[data-palette="midnight"] .hr-workspace { --hr-ink: #edf4f0; --hr-muted: #a9b8b0; --hr-paper: rgba(255,255,255,.035); --hr-green-soft: rgba(118, 170, 144, .12); }
body[data-theme="dark"] .hr-hero,
body[data-palette="midnight"] .hr-hero { background: radial-gradient(circle at 88% 12%, rgba(177,138,74,.16), transparent 34%), linear-gradient(135deg, #1c2924, #203c31); }
body[data-theme="dark"] .hr-hero h1,
body[data-palette="midnight"] .hr-hero h1 { color: #f2f7f4; }
body[data-theme="dark"] .hr-hero-copy > p,
body[data-palette="midnight"] .hr-hero-copy > p { color: #b6c5bd; }
body[data-theme="dark"] .hr-hero-stats,
body[data-palette="midnight"] .hr-hero-stats { border-color: rgba(255,255,255,.08); background: rgba(15,23,20,.56); }
body[data-theme="dark"] .hr-hero-stats strong,
body[data-palette="midnight"] .hr-hero-stats strong { color: #cde0d6; }
body[data-theme="dark"] .hr-search,
body[data-palette="midnight"] .hr-search,
body[data-theme="dark"] .hr-job-nav-item.active,
body[data-palette="midnight"] .hr-job-nav-item.active { background: rgba(255,255,255,.05); }
body[data-theme="dark"] .hr-red-flag-panel,
body[data-palette="midnight"] .hr-red-flag-panel { background: rgba(166,90,70,.07) !important; }
body[data-theme="dark"] .hr-interview-panel,
body[data-palette="midnight"] .hr-interview-panel { background: rgba(177,138,74,.07); }
body[data-theme="dark"] .hr-interview-panel blockquote,
body[data-palette="midnight"] .hr-interview-panel blockquote { background: rgba(255,255,255,.04); color: #d8cdbb; }

@media (max-width: 1100px) {
  .hr-hero { align-items: stretch; flex-direction: column; }
  .hr-hero-stats { width: 100%; min-width: 0; }
  .hr-workspace-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .hr-job-detail-header { flex-direction: column; }
  .hr-detail-actions { justify-content: flex-start; min-width: 0; }
  .hr-responsibility-grid, .hr-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hr-hero { min-height: 0; padding: 25px 22px; border-radius: 13px; }
  .hr-hero-stats { grid-template-columns: 1fr; }
  .hr-hero-stats > div + div { border-top: 1px solid rgba(35,76,60,.1); border-left: 0; }
  .hr-workspace-layout { grid-template-columns: 1fr; }
  .hr-job-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .hr-job-sidebar footer { margin-top: 0; }
  .hr-job-detail { padding: 24px 18px 32px; }
  .hr-job-detail-header h2 { font-size: 25px; }
  .hr-detail-actions { display: grid; grid-template-columns: 1fr; }
  .hr-detail-actions > * { justify-content: center; text-align: center; }
  .hr-positioning-quote { padding: 20px; }
  .hr-positioning-quote p { font-size: 17px; }
  .hr-quality-table { overflow-x: auto; }
  .hr-quality-table table { min-width: 560px; }
}
