/* 内容创作 Pro：账号方向档案、运行状态与分镜结果。
   保持小火苗现有的中性灰基调，橙色只用于关键动作和状态。 */

.hr2-direction-link {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  column-gap: 7px;
  width: calc(100% - 20px);
  margin: 8px 10px 2px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4f5057;
  text-align: left;
  cursor: pointer;
}

.hr2-direction-link:hover,
.hr2-direction-link.on {
  background: #ececef;
  color: #24252a;
}

.hr2-direction-link .el-icon {
  grid-row: 1 / 3;
  font-size: 17px;
}

.hr2-direction-link span {
  font-size: 13px;
  font-weight: 650;
}

.hr2-direction-link small {
  color: #999aa2;
  font-size: 10px;
}

.hr2-project-mark.pro {
  background: #292a2f;
  color: #fff;
  letter-spacing: .01em;
}

/* ── 账号方向档案 ───────────────────────────────────────────── */
.hr-pro-direction {
  width: 100%;
  padding: 10px 0 64px;
  box-sizing: border-box;
  color: #24252b;
}

.hr-pro-direction-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  margin-bottom: 22px;
}

.hr-pro-kicker {
  display: block;
  margin-bottom: 7px;
  color: #c2570c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hr-pro-direction-head h1 {
  margin: 0;
  color: #1f2025;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.hr-pro-direction-head p {
  max-width: 580px;
  margin: 10px 0 0;
  color: #777982;
  font-size: 13px;
  line-height: 1.7;
}

.hr-pro-eligibility {
  min-width: 190px;
  padding: 12px 14px;
  border: 1px solid #dcefe5;
  border-radius: 12px;
  background: #f4fbf7;
}

.hr-pro-eligibility b,
.hr-pro-eligibility span {
  display: block;
}

.hr-pro-eligibility b {
  color: #19754e;
  font-size: 12px;
}

.hr-pro-eligibility span {
  margin-top: 3px;
  color: #6c8176;
  font-size: 10.5px;
}

.hr-pro-account-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hr-pro-account-tabs::-webkit-scrollbar {
  display: none;
}

.hr-pro-account-tabs button {
  flex: none;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #e3e4e8;
  border-radius: 11px;
  background: #fff;
  color: #494a52;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.hr-pro-account-tabs button.on {
  border-color: #d76b20;
  background: #fff7f0;
  color: #9d460b;
}

.hr-pro-account-tabs small {
  display: block;
  margin-top: 2px;
  color: #a2a3aa;
  font-size: 10px;
}

.hr-pro-direction-body {
  overflow: hidden;
  border: 1px solid #e8e8ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(28, 28, 34, .045);
}

.hr-pro-profile-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid #eeeef1;
  background: #fafafb;
}

.hr-pro-profile-status > span {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
}

.hr-pro-profile-status > span b {
  overflow: hidden;
  color: #27282d;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hr-pro-profile-status > span small {
  color: #9a9ba3;
  font-size: 10.5px;
}

.hr-pro-profile-status > em {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f0f0f2;
  color: #85868e;
  font-size: 10.5px;
  font-style: normal;
  white-space: nowrap;
}

.hr-pro-profile-status > em.ready {
  background: #eaf7f0;
  color: #18774d;
}

.hr-pro-ai {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dddde2;
  border-radius: 9px;
  background: #fff;
  color: #4e4f57;
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
}

.hr-pro-ai:hover {
  border-color: #d76b20;
  color: #b24e0c;
}

.hr-pro-form-section {
  padding: 27px 26px 8px;
}

.hr-pro-form-section + .hr-pro-form-section {
  margin-top: 6px;
  border-top: 1px solid #f2f2f4;
}

.hr-pro-form-section h2 {
  margin: 0;
  color: #24252b;
  font-size: 17px;
  line-height: 1.4;
}

.hr-pro-form-section > p {
  margin: 5px 0 0;
  color: #92939b;
  font-size: 11.5px;
  line-height: 1.6;
}

.hr-pro-form-section.danger {
  margin-top: 18px;
  border-top: 1px solid #f1ded5;
  background: #fffdfb;
}

.hr-pro-form-section.danger h2 {
  color: #7f3b17;
}

.hr-pro-grid {
  display: grid;
  gap: 15px 16px;
  margin-top: 18px;
}

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

.hr-pro-grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.hr-pro-grid label.wide {
  grid-column: 1 / -1;
}

.hr-pro-grid label > span,
.hr-pro-change > span {
  color: #60616a;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

.hr-pro-grid input,
.hr-pro-grid select,
.hr-pro-grid textarea,
.hr-pro-change input {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe0e4;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #24252b;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.hr-pro-grid input,
.hr-pro-grid select,
.hr-pro-change input {
  min-height: 43px;
  padding: 9px 11px;
}

.hr-pro-grid select {
  cursor: pointer;
}

.hr-pro-grid textarea {
  min-height: 86px;
  padding: 10px 11px;
  resize: vertical;
}

.hr-pro-grid input::placeholder,
.hr-pro-grid textarea::placeholder,
.hr-pro-change input::placeholder {
  color: #b7b8bf;
}

.hr-pro-grid input:focus,
.hr-pro-grid select:focus,
.hr-pro-grid textarea:focus,
.hr-pro-change input:focus {
  border-color: #d76b20;
  box-shadow: 0 0 0 3px rgba(215, 107, 32, .09);
}

.hr-pro-change {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 26px 0;
}

.hr-pro-savebar {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 18px 26px 24px;
}

.hr-pro-savebar button,
.hr-pro-script-actions button,
.hr-pro-callout button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #dfe0e4;
  border-radius: 10px;
  background: #fff;
  color: #42434b;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.hr-pro-savebar button:hover,
.hr-pro-script-actions button:hover,
.hr-pro-callout button:hover {
  border-color: #c9cacf;
  background: #fafafb;
}

.hr-pro-savebar button.primary,
.hr-pro-script-actions button.primary,
.hr-pro-callout button {
  border-color: #222329;
  background: #222329;
  color: #fff;
}

.hr-pro-savebar button.primary:hover,
.hr-pro-script-actions button.primary:hover,
.hr-pro-callout button:hover {
  background: #090a0d;
}

.hr-pro-savebar button:disabled,
.hr-pro-script-actions button:disabled,
.hr-pro-callout button:disabled {
  opacity: .45;
  cursor: default;
}

.hr-pro-history {
  margin: 0 26px 26px;
  border-top: 1px solid #eeeef1;
}

.hr-pro-history summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #777881;
  font-size: 11.5px;
  cursor: pointer;
}

.hr-pro-history > button {
  display: grid;
  grid-template-columns: 38px 70px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-top: 1px solid #f2f2f4;
  background: #fff;
  color: #5d5e66;
  font: inherit;
  font-size: 11.5px;
  text-align: left;
  cursor: pointer;
}

.hr-pro-history > button:hover {
  background: #fafafb;
}

.hr-pro-history > button small {
  overflow: hidden;
  color: #9b9ca4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 账号方向 2.0 · 引导式人物访谈 ─────────────────────────── */
.hr-dir-shell,
.hr-dir-locked {
  overflow: hidden;
  border: 1px solid #e7e7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(25, 25, 31, .055);
}

.hr-dir-shell * {
  box-sizing: border-box;
}

.hr-dir-shell button,
.hr-dir-accounts button,
.hr-dir-locked button {
  font: inherit;
}

.hr-dir-accounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.hr-dir-accounts > button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
  min-height: 76px;
  padding: 13px 15px;
  border: 1px solid #e5e5e9;
  border-radius: 14px;
  background: #fff;
  color: #303137;
  text-align: left;
  cursor: pointer;
}

.hr-dir-accounts > button:hover,
.hr-dir-accounts > button.on {
  border-color: #d36a24;
  box-shadow: 0 4px 18px rgba(186, 77, 11, .08);
}

.hr-dir-accounts > button.on {
  background: #fffaf6;
}

.hr-dir-accounts > button.locked {
  border-color: #ededf0;
  background: #fafafa;
  color: #85868d;
  box-shadow: none;
}

.hr-dir-accounts > button > span,
.hr-dir-accounts > button > span b,
.hr-dir-accounts > button > span small,
.hr-dir-accounts > button > small {
  display: block;
  min-width: 0;
}

.hr-dir-accounts > button > span b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hr-dir-accounts > button > span small,
.hr-dir-accounts > button > small {
  color: #a0a1a8;
  font-size: 10px;
}

.hr-dir-accounts > button > small {
  grid-column: 1 / 3;
  margin-top: 5px;
}

.hr-dir-accounts em {
  align-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff0e5;
  color: #a84b0c;
  font-size: 9.5px;
  font-style: normal;
  white-space: nowrap;
}

.hr-dir-accounts .locked em {
  background: #ececef;
  color: #87888f;
}

.hr-dir-locked {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 27px;
  box-shadow: none;
}

.hr-dir-lock-icon {
  display: grid;
  flex: none;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: #f0f0f2;
  color: #777880;
  font-size: 13px;
  font-weight: 800;
}

.hr-dir-locked b,
.hr-dir-locked p {
  display: block;
  margin: 0;
}

.hr-dir-locked b {
  color: #3c3d43;
  font-size: 14px;
}

.hr-dir-locked p {
  margin-top: 5px;
  color: #898a92;
  font-size: 12px;
  line-height: 1.65;
}

.hr-dir-primary {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #d45d10;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(190, 76, 7, .16);
}

.hr-dir-primary:hover {
  background: #bf4f09;
}

.hr-dir-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

.hr-dir-primary.wide {
  width: 100%;
  min-height: 48px;
}

.hr-dir-entry,
.hr-dir-paused,
.hr-dir-complete,
.hr-dir-failed {
  padding: 58px clamp(22px, 8vw, 90px) 48px;
  text-align: center;
}

.hr-dir-entry-copy > span,
.hr-dir-paused > span,
.hr-dir-complete > span,
.hr-dir-failed > span,
.hr-dir-understanding > header > span,
.hr-dir-roads > header > span,
.hr-dir-bios > header > span,
.hr-dir-preview > header > span {
  color: #bb520e;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .06em;
}

.hr-dir-entry h2,
.hr-dir-paused h2,
.hr-dir-complete h2,
.hr-dir-thinking h2,
.hr-dir-understanding h2,
.hr-dir-roads h2,
.hr-dir-bios h2,
.hr-dir-preview h2 {
  margin: 10px 0 0;
  color: #25262b;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.hr-dir-entry p,
.hr-dir-paused p,
.hr-dir-complete p,
.hr-dir-failed p {
  max-width: 590px;
  margin: 13px auto 0;
  color: #7c7d85;
  font-size: 13px;
  line-height: 1.75;
}

.hr-dir-entry .hr-dir-primary,
.hr-dir-paused .hr-dir-primary,
.hr-dir-complete .hr-dir-primary,
.hr-dir-failed .hr-dir-primary {
  margin-top: 26px;
}

.hr-dir-privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: #a0a1a8;
  font-size: 10.5px;
}

.hr-dir-privacy i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #56a27b;
}

.hr-dir-interview > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 11px 20px;
  border-bottom: 1px solid #eeeef1;
  background: #fbfbfc;
}

.hr-dir-interview > header > div span,
.hr-dir-interview > header > div b {
  display: block;
}

.hr-dir-interview > header > div span {
  color: #a3a4ab;
  font-size: 9.5px;
}

.hr-dir-interview > header > div b {
  margin-top: 2px;
  color: #34353b;
  font-size: 12px;
}

.hr-dir-interview > header > small {
  color: #898a92;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.hr-dir-interview > header > button,
.hr-dir-correction button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #dedee3;
  border-radius: 9px;
  background: #fff;
  color: #6f7078;
  font-size: 11px;
  cursor: pointer;
}

.hr-dir-question {
  width: min(680px, calc(100% - 40px));
  min-height: 440px;
  margin: 0 auto;
  padding: 46px 0 30px;
}

.hr-dir-qno {
  color: #bd5716;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .04em;
}

.hr-dir-question > h2 {
  margin: 10px 0 0;
  color: #25262b;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 680;
  line-height: 1.42;
  letter-spacing: -.025em;
}

.hr-dir-question > p {
  margin: 8px 0 0;
  color: #9a9ba3;
  font-size: 11px;
}

.hr-dir-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 27px;
}

.hr-dir-options > button,
.hr-dir-bios > button,
.hr-dir-series > button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 10px 13px;
  border: 1px solid #e2e2e6;
  border-radius: 12px;
  background: #fff;
  color: #414249;
  text-align: left;
  cursor: pointer;
}

.hr-dir-options > button:hover,
.hr-dir-options > button.on,
.hr-dir-bios > button.on,
.hr-dir-series > button.on {
  border-color: #d26a25;
  background: #fff8f3;
}

.hr-dir-options > button > i,
.hr-dir-bios > button > i,
.hr-dir-series > button > i {
  display: grid;
  flex: none;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #d8d8dd;
  border-radius: 6px;
  color: transparent;
  font-size: 10px;
  font-style: normal;
}

.hr-dir-options.single > button > i,
.hr-dir-bios > button > i {
  border-radius: 50%;
}

.hr-dir-options > button.on > i,
.hr-dir-bios > button.on > i,
.hr-dir-series > button.on > i {
  border-color: #cf5c12;
  background: #cf5c12;
  color: #fff;
}

.hr-dir-options.single > button.on > i,
.hr-dir-bios > button.on > i {
  box-shadow: inset 0 0 0 5px #cf5c12;
  background: #fff;
}

.hr-dir-options b,
.hr-dir-options small,
.hr-dir-bios b,
.hr-dir-bios small,
.hr-dir-series b,
.hr-dir-series small {
  display: block;
}

.hr-dir-options b,
.hr-dir-bios b,
.hr-dir-series b {
  font-size: 12.5px;
  line-height: 1.45;
}

.hr-dir-options small,
.hr-dir-bios small,
.hr-dir-series small {
  margin-top: 3px;
  color: #92939a;
  font-size: 10.5px;
  line-height: 1.45;
}

.hr-dir-question > textarea,
.hr-dir-dual textarea,
.hr-dir-correction textarea,
.hr-dir-custom-bio textarea,
.hr-dir-other,
.hr-dir-note,
.hr-dir-persona-report select,
.hr-dir-label-sort select {
  width: 100%;
  border: 1px solid #dedee3;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #303137;
  font: inherit;
  font-size: 15px;
  line-height: 1.65;
  transition: border-color .18s, box-shadow .18s;
}

.hr-dir-question > textarea {
  min-height: 170px;
  margin-top: 27px;
  padding: 15px 16px;
  resize: vertical;
}

.hr-dir-other,
.hr-dir-note {
  min-height: 44px;
  margin-top: 11px;
  padding: 10px 13px;
}

.hr-dir-note {
  resize: vertical;
}

.hr-dir-question textarea:focus,
.hr-dir-question input:focus,
.hr-dir-question select:focus,
.hr-dir-correction textarea:focus,
.hr-dir-custom-bio textarea:focus {
  border-color: #d06a29;
  box-shadow: 0 0 0 3px rgba(208, 106, 41, .09);
}

.hr-dir-scale,
.hr-dir-matrix,
.hr-dir-persona-report,
.hr-dir-label-sort,
.hr-dir-dual {
  margin-top: 27px;
}

.hr-dir-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.hr-dir-scale > div {
  display: flex;
  grid-column: 1 / 6;
  justify-content: space-between;
  color: #7f8088;
  font-size: 11px;
}

.hr-dir-scale button,
.hr-dir-matrix button,
.hr-dir-persona-report nav button {
  min-height: 45px;
  border: 1px solid #dddde2;
  border-radius: 11px;
  background: #fff;
  color: #64656d;
  cursor: pointer;
}

.hr-dir-scale button.on,
.hr-dir-matrix button.on,
.hr-dir-persona-report nav button.on {
  border-color: #cf5c12;
  background: #cf5c12;
  color: #fff;
}

.hr-dir-matrix > div {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f2;
}

.hr-dir-matrix > div:last-child {
  border-bottom: 0;
}

.hr-dir-matrix p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 9px;
  color: #55565d;
  font-size: 11.5px;
}

.hr-dir-matrix nav,
.hr-dir-persona-report nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.hr-dir-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hr-dir-dual label > span,
.hr-dir-persona-report label > span,
.hr-dir-persona-report > div > span,
.hr-dir-custom-bio > span {
  display: block;
  margin-bottom: 7px;
  color: #5c5d64;
  font-size: 11.5px;
  font-weight: 650;
}

.hr-dir-dual textarea,
.hr-dir-custom-bio textarea {
  padding: 12px 13px;
  resize: vertical;
}

.hr-dir-persona-report {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) 1fr;
  align-items: end;
  gap: 20px;
}

.hr-dir-persona-report select {
  min-height: 45px;
  padding: 0 12px;
}

.hr-dir-persona-report small {
  display: block;
  margin-top: 6px;
  color: #999aa2;
  font-size: 9.5px;
}

.hr-dir-label-sort {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.hr-dir-label-sort > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e7e7ea;
  border-radius: 11px;
}

.hr-dir-label-sort b {
  font-size: 12px;
}

.hr-dir-label-sort select {
  min-height: 36px;
  padding: 0 8px;
  font-size: 11px;
}

.hr-dir-interview > footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #eeeef1;
  background: rgba(251, 251, 252, .96);
}

.hr-dir-skip {
  min-height: 42px;
  margin-right: auto;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #8c8d94;
  font-size: 11.5px;
  cursor: pointer;
}

.hr-dir-thinking {
  min-height: 520px;
  padding: 92px 25px 55px;
  text-align: center;
}

.hr-dir-orbit {
  position: relative;
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto 25px;
  border: 1px solid #f0d9c9;
  border-radius: 50%;
  background: radial-gradient(circle, #fff4ec 0 28%, #fff 29% 100%);
  animation: hrDirBreathe 2.4s ease-in-out infinite;
}

.hr-dir-orbit i {
  position: absolute;
  top: 37px;
  left: 37px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d25c10;
  transform-origin: 4px 4px;
}

.hr-dir-orbit i:nth-child(1) { animation: hrDirOrbit 2.2s linear infinite; }
.hr-dir-orbit i:nth-child(2) { animation: hrDirOrbit 3s linear infinite reverse; }
.hr-dir-orbit i:nth-child(3) { animation: hrDirOrbitSmall 1.7s linear infinite; }

@keyframes hrDirOrbit { to { transform: rotate(360deg) translateX(37px) rotate(-360deg); } }
@keyframes hrDirOrbitSmall { to { transform: rotate(-360deg) translateX(23px) rotate(360deg); } }
@keyframes hrDirBreathe { 50% { box-shadow: 0 0 0 13px rgba(213, 93, 16, .045); } }

.hr-dir-thinking > p {
  max-width: 580px;
  margin: 13px auto 0;
  color: #85868e;
  font-size: 12.5px;
  line-height: 1.75;
}

.hr-dir-thinking > div {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 27px;
}

.hr-dir-thinking > div span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4f4f6;
  color: #888991;
  font-size: 10px;
}

.hr-dir-understanding,
.hr-dir-roads,
.hr-dir-bios,
.hr-dir-preview {
  padding: 40px clamp(18px, 5vw, 56px) 46px;
}

.hr-dir-understanding > header,
.hr-dir-roads > header,
.hr-dir-bios > header,
.hr-dir-preview > header {
  max-width: 680px;
}

.hr-dir-understanding > header p,
.hr-dir-roads > header p,
.hr-dir-bios > header p,
.hr-dir-preview > header p {
  margin: 9px 0 0;
  color: #85868e;
  font-size: 12.5px;
  line-height: 1.7;
}

.hr-dir-understanding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 28px;
}

.hr-dir-understanding-grid article {
  padding: 17px;
  border: 1px solid #e8e8eb;
  border-radius: 14px;
  background: #fbfbfc;
}

.hr-dir-understanding-grid span {
  color: #b95312;
  font-size: 9.5px;
  font-weight: 700;
}

.hr-dir-understanding-grid h3 {
  margin: 6px 0 0;
  color: #33343a;
  font-size: 14px;
}

.hr-dir-understanding-grid p {
  margin: 7px 0 0;
  color: #66676f;
  font-size: 12px;
  line-height: 1.65;
}

.hr-dir-understanding-grid small {
  display: block;
  margin-top: 10px;
  color: #aaaab0;
  font-size: 9.5px;
}

.hr-dir-correction {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #e6e6ea;
  border-radius: 14px;
}

.hr-dir-correction label {
  display: block;
  margin-bottom: 7px;
  color: #52535a;
  font-size: 11.5px;
  font-weight: 650;
}

.hr-dir-correction textarea {
  padding: 11px 12px;
  resize: vertical;
}

.hr-dir-correction button {
  margin-top: 9px;
}

.hr-dir-road-scroll {
  display: flex;
  gap: 12px;
  margin: 27px -2px 0;
  padding: 2px 2px 13px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.hr-dir-road-scroll > article {
  flex: 0 0 min(360px, 82vw);
  padding: 18px;
  border: 1px solid #e1e1e5;
  border-radius: 16px;
  background: #fff;
  scroll-snap-align: start;
}

.hr-dir-road-scroll > article.primary {
  border-color: #cc5c15;
  box-shadow: 0 8px 26px rgba(190, 76, 7, .1);
}

.hr-dir-road-scroll > article.support {
  border-color: #d9a581;
  background: #fffbf8;
}

.hr-dir-road-scroll article > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hr-dir-road-scroll article > div span {
  color: #aaaab1;
  font-size: 10px;
}

.hr-dir-road-scroll article > div em,
.hr-dir-bios > button > em {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff0e5;
  color: #ac4e0f;
  font-size: 9.5px;
  font-style: normal;
}

.hr-dir-road-scroll h3 {
  margin: 11px 0 0;
  color: #2d2e34;
  font-size: 18px;
}

.hr-dir-road-scroll > article > p {
  min-height: 43px;
  margin: 7px 0 0;
  color: #6f7078;
  font-size: 12px;
  line-height: 1.65;
}

.hr-dir-road-scroll dl {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 6px 8px;
  margin: 16px 0 0;
  padding: 13px;
  border-radius: 11px;
  background: #f7f7f8;
  font-size: 10.5px;
  line-height: 1.5;
}

.hr-dir-road-scroll dt { color: #9a9ba2; }
.hr-dir-road-scroll dd { margin: 0; color: #55565d; }

.hr-dir-road-scroll > article > small {
  display: block;
  min-height: 34px;
  margin-top: 12px;
  color: #8f9097;
  font-size: 10px;
  line-height: 1.55;
}

.hr-dir-road-scroll footer {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.hr-dir-road-scroll footer button {
  flex: 1;
  min-height: 38px;
  border: 1px solid #dedee3;
  border-radius: 9px;
  background: #fff;
  color: #5e5f67;
  font-size: 10.5px;
  cursor: pointer;
}

.hr-dir-road-scroll article.primary footer button:first-child {
  border-color: #cc5c15;
  background: #cc5c15;
  color: #fff;
}

.hr-dir-series {
  margin: 12px 0 18px;
  padding: 16px;
  border: 1px solid #e7e7ea;
  border-radius: 14px;
}

.hr-dir-series > b { font-size: 12.5px; }
.hr-dir-series > p { margin: 4px 0 11px; color: #999aa1; font-size: 10.5px; }
.hr-dir-series > button { display: inline-flex; width: calc(50% - 5px); margin: 4px 5px 4px 0; }

.hr-dir-bios > button {
  position: relative;
  width: 100%;
  margin-top: 10px;
  padding: 14px;
}

.hr-dir-bios > button:first-of-type { margin-top: 27px; }
.hr-dir-bios > button > span { flex: 1; }

.hr-dir-custom-bio {
  display: block;
  margin: 17px 0;
}

.hr-dir-preview > article.hero {
  margin-top: 27px;
  padding: 24px;
  border-radius: 16px;
  background: #27282d;
  color: #fff;
}

.hr-dir-preview .hero small { color: #d2d2d6; font-size: 10px; }
.hr-dir-preview .hero h3 { margin: 6px 0 0; font-size: 22px; }
.hr-dir-preview .hero p { margin: 8px 0 0; color: #dedee2; font-size: 12px; line-height: 1.65; }

.hr-dir-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 11px 0 18px;
}

.hr-dir-preview-grid article {
  padding: 16px;
  border: 1px solid #e6e6e9;
  border-radius: 13px;
}

.hr-dir-preview-grid small,
.hr-dir-preview-grid b { display: block; }
.hr-dir-preview-grid small { color: #999aa2; font-size: 9.5px; }
.hr-dir-preview-grid b { margin-top: 5px; color: #44454c; font-size: 12px; line-height: 1.55; }

.hr-dir-shell .hr-pro-history {
  margin: 0 clamp(18px, 5vw, 56px) 24px;
}

.hr-dir-shell .hr-pro-history > div {
  display: grid;
  grid-template-columns: 36px 64px minmax(0, 1fr);
  gap: 7px;
  padding: 10px 0;
  border-top: 1px solid #eeeef1;
  color: #66676f;
  font-size: 10.5px;
}

@media (max-width: 768px) {
  .hr-dir-accounts {
    display: flex;
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hr-dir-accounts::-webkit-scrollbar { display: none; }
  .hr-dir-accounts > button { flex: 0 0 78%; scroll-snap-align: start; }

  .hr-dir-shell,
  .hr-dir-locked { border-radius: 15px; box-shadow: none; }
  .hr-dir-entry,
  .hr-dir-paused,
  .hr-dir-complete,
  .hr-dir-failed { padding: 44px 18px 38px; }

  .hr-dir-interview > header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px 13px;
  }

  .hr-dir-interview > header > small { display: none; }
  .hr-dir-interview > header > button { min-height: 40px; }

  .hr-dir-question {
    width: 100%;
    min-height: calc(100svh - 310px);
    padding: 31px 15px calc(96px + env(safe-area-inset-bottom));
  }

  .hr-dir-question > h2 { font-size: 22px; }
  .hr-dir-options { grid-template-columns: 1fr; margin-top: 22px; }
  .hr-dir-options > button { min-height: 52px; }

  /* iOS / 小程序 WebView：输入字号低于 16px 会触发页面自动放大。 */
  .hr-dir-question textarea,
  .hr-dir-question input,
  .hr-dir-question select,
  .hr-dir-correction textarea,
  .hr-dir-custom-bio textarea { font-size: 16px; }

  .hr-dir-dual,
  .hr-dir-persona-report,
  .hr-dir-label-sort,
  .hr-dir-understanding-grid,
  .hr-dir-preview-grid { grid-template-columns: 1fr; }

  .hr-dir-label-sort > div { grid-template-columns: minmax(0, 1fr) 125px; }

  .hr-dir-interview > footer {
    position: fixed;
    z-index: 18;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px 13px calc(10px + env(safe-area-inset-bottom));
    border-top-color: #e5e5e9;
    backdrop-filter: blur(12px);
  }

  .hr-dir-interview > footer .hr-dir-primary { flex: 1; min-height: 48px; }
  .hr-dir-thinking { min-height: 440px; padding: 72px 18px 42px; }
  .hr-dir-thinking > div { flex-wrap: wrap; }

  .hr-dir-understanding,
  .hr-dir-roads,
  .hr-dir-bios,
  .hr-dir-preview { padding: 30px 14px 36px; }

  .hr-dir-road-scroll { margin-right: -14px; padding-right: 14px; }
  .hr-dir-road-scroll > article { flex-basis: 88%; }
  .hr-dir-series > button { width: 100%; margin-right: 0; }
  .hr-dir-shell .hr-pro-history { margin-right: 14px; margin-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hr-dir-orbit,
  .hr-dir-orbit i { animation: none; }
}

/* ── Pro 项目与脚本 ────────────────────────────────────────── */
.hr-pro-project {
  margin-top: 12px;
  color: #24252b;
}

.hr-pro-freeze,
.hr-pro-direction-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #74757d;
  font-size: 11.5px;
}

.hr-pro-freeze > span,
.hr-pro-direction-summary > span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f1f3;
  color: #686971;
  font-size: 10px;
}

.hr-pro-freeze b,
.hr-pro-direction-summary b {
  color: #3d3e45;
}

.hr-pro-freeze small,
.hr-pro-direction-summary small {
  color: #9b9ca4;
}

.hr-pro-working {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #efd9c8;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, rgba(222, 110, 30, .1), transparent 38%), #fffdfb;
}

.hr-pro-working > div b,
.hr-pro-working > div small {
  display: block;
}

.hr-pro-working > div b {
  color: #7c3b13;
  font-size: 13.5px;
}

.hr-pro-working > div small {
  margin-top: 4px;
  color: #95877d;
  font-size: 11px;
  line-height: 1.5;
}

.hr-pro-understanding {
  margin-top: 10px;
  padding: 13px 15px;
  border: 1px solid #e8e8eb;
  border-radius: 13px;
  background: #fafafb;
}

.hr-pro-understanding.consensus {
  border-color: #e3ebe6;
  background: #f8fbf9;
}

.hr-pro-understanding > span {
  color: #9b5b31;
  font-size: 10.5px;
  font-weight: 600;
}

.hr-pro-understanding p {
  margin: 5px 0 0;
  color: #46484f;
  font-size: 12px;
  line-height: 1.7;
}

.hr-pro-understanding small {
  display: block;
  margin-top: 6px;
  color: #9698a0;
  font-size: 10.5px;
}

.hr-pro-pulse {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff1e5;
}

.hr-pro-pulse i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c2570c;
  animation: hrProThink 1.15s ease-in-out infinite;
}

.hr-pro-pulse i:nth-child(2) {
  animation-delay: .14s;
}

.hr-pro-pulse i:nth-child(3) {
  animation-delay: .28s;
}

@keyframes hrProThink {
  0%, 60%, 100% { opacity: .25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.hr-pro-callout {
  padding: 17px 18px;
  border: 1px solid #e5e5e9;
  border-radius: 14px;
  background: #fafafb;
}

.hr-pro-callout b {
  color: #292a30;
  font-size: 14px;
}

.hr-pro-callout p {
  margin: 6px 0 0;
  color: #6f7079;
  font-size: 12.5px;
  line-height: 1.65;
}

.hr-pro-callout > span {
  display: block;
  margin-top: 7px;
  color: #a0a1a8;
  font-size: 10.5px;
}

.hr-pro-callout button {
  margin-top: 13px;
}

.hr-pro-callout.ready {
  border-color: #dcebe3;
  background: #f7fbf8;
}

.hr-pro-callout.error {
  border-color: #f1d3ce;
  background: #fff9f8;
}

.hr-pro-direction-summary {
  margin: 10px 0;
}

.hr-pro-direction-summary > span {
  background: #fff0e4;
  color: #a94808;
}

.hr-pro-script {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid #e5e5e9;
  border-radius: 15px;
  background: #fff;
}

.hr-pro-script-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  border-bottom: 1px solid #eeeef1;
  background: #fafafb;
}

.hr-pro-script-head > div {
  min-width: 0;
}

.hr-pro-script-head span,
.hr-pro-script-head b {
  display: block;
}

.hr-pro-script-head span {
  color: #8a8b93;
  font-size: 10.5px;
}

.hr-pro-script-head b {
  overflow: hidden;
  margin-top: 3px;
  color: #2a2b30;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hr-pro-script-head em {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf7f0;
  color: #16764c;
  font-size: 10.5px;
  font-style: normal;
}

.hr-pro-issues {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  padding: 10px 17px;
  border-bottom: 1px solid #f0f0f2;
  background: #fffaf3;
  color: #8a653e;
  font-size: 11px;
  line-height: 1.55;
}

.hr-pro-issues b {
  color: #7f4c1d;
}

.hr-pro-issues.hard {
  background: #fff7f6;
  color: #a44035;
}

.hr-pro-issues details {
  flex-basis: 100%;
  margin-left: 68px;
  color: #8d5b55;
}

.hr-pro-issues details summary {
  width: fit-content;
  cursor: pointer;
  color: #88615c;
  list-style-position: inside;
}

.hr-pro-issues details span {
  display: block;
  margin: 5px 0 0 14px;
}

.hr-pro-issues > button {
  flex: none;
  min-height: 32px;
  margin-left: auto;
  padding: 6px 11px;
  border: 1px solid #e7bbb5;
  border-radius: 8px;
  background: #fff;
  color: #9e3d32;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hr-pro-issues > button:disabled {
  opacity: .5;
  cursor: default;
}

.hr-pro-rows {
  padding: 0 17px;
}

.hr-pro-rows article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f2;
}

.hr-pro-rows article:last-child {
  border-bottom: 0;
}

.hr-pro-rows article > span {
  grid-row: 1 / 4;
  color: #9b9ca4;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.hr-pro-rows article > b {
  color: #3b3c43;
  font-size: 12.5px;
  line-height: 1.55;
}

.hr-pro-rows article > p {
  margin: 0;
  color: #292a30;
  font-size: 13px;
  line-height: 1.65;
}

.hr-pro-rows article > em {
  color: #b55213;
  font-size: 10.5px;
  font-style: normal;
}

.hr-pro-script-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px 16px;
  border-top: 1px solid #eeeef1;
  background: #fafafb;
}

.hr-pro-script-actions > small {
  color: #8b8c94;
  font-size: 11px;
}

.hr-pro-script-actions > span {
  margin-left: auto;
  color: #85868e;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hr-pro-direction {
    padding: 6px 0 84px;
  }

  .hr-pro-direction-head {
    display: block;
    margin-bottom: 18px;
  }

  .hr-pro-direction-head h1 {
    font-size: 26px;
  }

  .hr-pro-eligibility {
    margin-top: 14px;
  }

  .hr-pro-direction-body {
    border-radius: 14px;
    box-shadow: none;
  }

  .hr-pro-profile-status {
    flex-wrap: wrap;
    padding: 13px 14px;
  }

  .hr-pro-profile-status > span {
    min-width: calc(100% - 92px);
  }

  .hr-pro-profile-status > em {
    order: 3;
  }

  .hr-pro-ai {
    min-height: 44px;
  }

  .hr-pro-form-section {
    padding: 21px 14px 5px;
  }

  .hr-pro-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .hr-pro-grid label.wide {
    grid-column: auto;
  }

  /* 防止 iOS 小程序 WebView 聚焦时自动放大。 */
  .hr-pro-grid input,
  .hr-pro-grid select,
  .hr-pro-grid textarea,
  .hr-pro-change input {
    font-size: 16px;
  }

  .hr-pro-change {
    padding: 18px 14px 0;
  }

  .hr-pro-savebar {
    padding: 13px 14px 18px;
  }

  .hr-pro-savebar button {
    flex: 1;
    min-height: 44px;
    padding: 9px 6px;
  }

  .hr-pro-history {
    margin: 0 14px 18px;
  }

  .hr-pro-history > button {
    grid-template-columns: 34px 60px minmax(0, 1fr);
  }

  .hr-pro-project {
    margin-top: 8px;
  }

  .hr-pro-freeze,
  .hr-pro-direction-summary {
    flex-wrap: wrap;
  }

  .hr-pro-rows {
    padding: 0 14px;
  }

  .hr-pro-rows article {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 0;
  }

  .hr-pro-rows article > span {
    grid-row: auto;
  }

  .hr-pro-script-actions {
    flex-wrap: wrap;
    padding: 12px 14px 14px;
  }

  .hr-pro-script-actions button {
    min-height: 44px;
  }

  .hr-pro-script-actions > span {
    width: 100%;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hr-pro-pulse i {
    animation: none;
  }
}

/* AccountConfig V3：可回退、可局部修改的账号方向流程。 */
.hr-dir-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid #eeeef1;
  background: #fafafb;
  color: #6d6e75;
  font-size: 11px;
}

.hr-dir-session-bar span {
  display: flex;
  align-items: center;
  min-width: 0;
}

.hr-dir-session-bar i {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #df6b35;
  box-shadow: 0 0 0 4px rgba(223, 107, 53, .11);
}

.hr-dir-session-bar button,
.hr-dir-secondary,
.hr-dir-back,
.hr-dir-inline-edit,
.hr-dir-final-edits button {
  border: 1px solid #dedee3;
  border-radius: 9px;
  background: #fff;
  color: #5f6068;
  cursor: pointer;
}

.hr-dir-session-bar button {
  flex: none;
  padding: 6px 10px;
  font-size: 10.5px;
}

.hr-dir-step-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.hr-dir-secondary,
.hr-dir-back {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 12px;
}

.hr-dir-interview > footer .hr-dir-back {
  margin-right: auto;
}

.hr-dir-understanding-grid article dl,
.hr-dir-series-cards article dl {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 6px 10px;
  margin: 13px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eeeeef;
}

.hr-dir-understanding-grid article dt,
.hr-dir-series-cards article dt {
  color: #a05b37;
  font-size: 10px;
}

.hr-dir-understanding-grid article dd,
.hr-dir-series-cards article dd {
  margin: 0;
  color: #5b5c63;
  font-size: 11px;
  line-height: 1.55;
}

.hr-dir-understanding-grid article > button,
.hr-dir-series-cards article > button,
.hr-dir-inline-edit {
  margin-top: 12px;
  padding: 7px 10px;
  font-size: 10.5px;
}

.hr-dir-series-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.hr-dir-series-cards > article {
  padding: 13px;
  border: 1px solid #e8e8eb;
  border-radius: 12px;
  background: #fafafb;
}

.hr-dir-series-cards h4,
.hr-dir-preview-series h4 {
  margin: 5px 0 7px;
  color: #2d2e33;
  font-size: 13px;
}

.hr-dir-series-cards > article > span {
  color: #a05b37;
  font-size: 9.5px;
  letter-spacing: .06em;
}

.hr-dir-series-cards > article > p {
  margin: 0;
  color: #707178;
  font-size: 11px;
  line-height: 1.55;
}

.hr-dir-upgrade {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid #efd6c8;
  border-radius: 12px;
  background: #fffaf7;
}

.hr-dir-upgrade b {
  color: #82462a;
  font-size: 11px;
}

.hr-dir-upgrade span {
  flex: 1;
  color: #876f63;
  font-size: 10.5px;
}

.hr-dir-upgrade button {
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: #9b4d2b;
  color: #fff;
  cursor: pointer;
  font-size: 10.5px;
}

.hr-dir-preview-series {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid #e7e7ea;
  border-radius: 13px;
  background: #fafafb;
}

.hr-dir-preview-series > b {
  display: block;
  margin-bottom: 9px;
  color: #57585f;
  font-size: 11px;
}

.hr-dir-preview-series article {
  padding: 10px 0;
  border-top: 1px solid #e9e9ec;
}

.hr-dir-preview-series article p {
  margin: 0 0 7px;
  color: #777880;
  font-size: 11px;
}

.hr-dir-preview-series article span {
  display: block;
  margin-top: 3px;
  color: #52535a;
  font-size: 10.5px;
}

.hr-dir-preview-series article em {
  display: inline-block;
  width: 52px;
  color: #a05b37;
  font-style: normal;
}

.hr-dir-final-edits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
}

.hr-dir-config-coverage {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid #e7e7ea;
  border-radius: 13px;
  background: #fff;
}

.hr-dir-config-coverage > b {
  color: #3c3d43;
  font-size: 12px;
}

.hr-dir-config-coverage > p {
  margin: 5px 0 12px;
  color: #85868e;
  font-size: 10.5px;
  line-height: 1.5;
}

.hr-dir-config-coverage > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.hr-dir-config-coverage span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f7f7f8;
  color: #55565d;
  font-size: 10px;
}

.hr-dir-config-coverage span i {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d49a5e;
}

.hr-dir-config-coverage span.complete i {
  background: #4f9d74;
}

.hr-dir-config-coverage span.external_missing i {
  background: #bd724e;
}

.hr-dir-config-coverage span em {
  margin-left: auto;
  color: #94959c;
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}

.hr-dir-final-edits button {
  padding: 8px 11px;
  font-size: 10.5px;
}

.hr-dir-modal {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 24, 28, .46);
  backdrop-filter: blur(5px);
}

.hr-dir-modal-panel {
  display: flex;
  flex-direction: column;
  width: min(900px, 100%);
  max-height: min(88vh, 940px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(24, 24, 30, .22);
}

.hr-dir-modal-panel.compact {
  width: min(620px, 100%);
}

.hr-dir-modal-panel.series {
  width: min(1040px, 100%);
}

.hr-dir-modal-panel > header,
.hr-dir-modal-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid #ececef;
  background: #fafafb;
}

.hr-dir-modal-panel > footer {
  justify-content: flex-end;
  border-top: 1px solid #ececef;
  border-bottom: 0;
}

.hr-dir-modal-panel > header span,
.hr-dir-modal-panel > header h3 {
  display: block;
}

.hr-dir-modal-panel > header span {
  color: #a25a35;
  font-size: 10px;
}

.hr-dir-modal-panel > header h3 {
  margin: 3px 0 0;
  color: #292a30;
  font-size: 16px;
}

.hr-dir-modal-panel > header > button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eeeeF1;
  color: #63646b;
  cursor: pointer;
  font-size: 19px;
}

.hr-dir-answer-list,
.hr-dir-edit-form {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 16px 18px 22px;
}

.hr-dir-answer-list {
  display: grid;
  gap: 8px;
}

.hr-dir-answer-list > button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 14px;
  padding: 12px 13px;
  border: 1px solid #e7e7ea;
  border-radius: 11px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.hr-dir-answer-list > button:hover {
  border-color: #c9815e;
  background: #fffaf7;
}

.hr-dir-answer-list span,
.hr-dir-answer-list b,
.hr-dir-answer-list p {
  grid-column: 1;
}

.hr-dir-answer-list span {
  color: #a05b37;
  font-size: 9.5px;
}

.hr-dir-answer-list b {
  color: #3c3d43;
  font-size: 12px;
}

.hr-dir-answer-list p {
  margin: 2px 0 0;
  color: #888991;
  font-size: 10.5px;
  line-height: 1.45;
}

.hr-dir-answer-list em {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  color: #a05b37;
  font-size: 10.5px;
  font-style: normal;
}

.hr-dir-edit-form {
  display: grid;
  gap: 13px;
}

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

.hr-dir-edit-form .full {
  grid-column: 1 / -1;
}

.hr-dir-edit-form > h4 {
  margin: 10px 0 -3px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ececef;
  color: #8d4d30;
  font-size: 12px;
}

.hr-dir-edit-form label,
.hr-dir-edit-form fieldset {
  min-width: 0;
}

.hr-dir-edit-form label > span {
  display: block;
  margin-bottom: 6px;
  color: #696a72;
  font-size: 10.5px;
}

.hr-dir-edit-form input,
.hr-dir-edit-form textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: 5px;
  padding: 10px 11px;
  border: 1px solid #dddde2;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #2e2f35;
  font: inherit;
  font-size: 12px;
  line-height: 1.55;
  resize: vertical;
}

.hr-dir-edit-form input:first-child,
.hr-dir-edit-form textarea:first-child {
  margin-top: 0;
}

.hr-dir-edit-form input:focus,
.hr-dir-edit-form textarea:focus {
  border-color: #bd724e;
  box-shadow: 0 0 0 3px rgba(189, 114, 78, .11);
}

.hr-dir-edit-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0;
  padding: 14px;
  border: 1px solid #e3e3e7;
  border-radius: 12px;
  background: #fafafb;
}

.hr-dir-edit-form legend {
  padding: 0 7px;
  color: #8d4d30;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hr-dir-session-bar,
  .hr-dir-step-actions,
  .hr-dir-upgrade {
    align-items: stretch;
    flex-direction: column;
  }

  .hr-dir-step-actions > button,
  .hr-dir-final-edits > button {
    min-height: 44px;
  }

  .hr-dir-series-cards,
  .hr-dir-edit-form.two,
  .hr-dir-edit-form fieldset,
  .hr-dir-config-coverage > div {
    grid-template-columns: 1fr;
  }

  .hr-dir-modal {
    align-items: flex-end;
    padding: 0;
  }

  .hr-dir-modal-panel,
  .hr-dir-modal-panel.compact,
  .hr-dir-modal-panel.series {
    width: 100%;
    max-height: 92dvh;
    border: 0;
    border-radius: 18px 18px 0 0;
  }

  .hr-dir-answer-list,
  .hr-dir-edit-form {
    padding: 14px 14px 28px;
  }

  .hr-dir-edit-form input,
  .hr-dir-edit-form textarea {
    font-size: 16px;
  }

  .hr-dir-final-edits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
