/* Zhongjin Times — unified corporate subpage system */

[hidden] {
  display: none !important;
}

.site-nav > a[aria-current="page"] {
  color: var(--forest);
}

.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-main {
  overflow: hidden;
  background: var(--paper);
}

.page-hero {
  position: relative;
  min-height: clamp(500px, 55vw, 650px);
  isolation: isolate;
  color: var(--white);
  background: var(--forest-deep);
}

.page-hero-media,
.page-hero-media picture,
.page-hero-media img,
.page-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-media {
  z-index: -2;
  overflow: hidden;
}

.page-hero-media img {
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.01);
}

.page-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 24, 20, 0.94) 0%, rgba(8, 27, 23, 0.76) 42%, rgba(7, 22, 19, 0.16) 76%),
    linear-gradient(0deg, rgba(5, 17, 15, 0.72) 0%, transparent 52%);
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(226, 202, 155, 0.7), transparent);
}

.page-hero-inner {
  min-height: inherit;
  padding-block: clamp(88px, 9vw, 126px) 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.48fr);
  align-items: end;
  gap: clamp(56px, 8vw, 120px);
}

.page-hero-copy {
  max-width: 770px;
}

.page-hero-copy .overline {
  margin-bottom: 22px;
  color: var(--gold-light);
}

.page-hero-copy h1 {
  max-width: 740px;
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-hero-copy .hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.82;
}

.page-hero-copy .hero-actions {
  margin-top: 34px;
}

.page-hero-brief {
  align-self: end;
  padding: 28px 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 29, 24, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.page-hero-brief > span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.page-hero-brief h2 {
  margin: 12px 0 18px;
  color: var(--white);
  font-size: 23px;
  line-height: 1.45;
}

.page-hero-brief p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.8;
}

.hero-brief-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-brief-list li {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.hero-brief-list b {
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.page-section {
  padding-block: clamp(78px, 7.5vw, 118px);
}

.page-section.ivory {
  background: var(--ivory);
}

.page-section.forest {
  color: var(--white);
  background: var(--forest);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
}

.section-label {
  padding-top: 8px;
}

.section-label strong {
  display: block;
  margin-top: 18px;
  color: var(--forest);
  font-family: "Songti SC", "STSong", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.55;
}

.forest .section-label strong {
  color: var(--gold-light);
}

.section-copy h2,
.page-heading h2,
.visual-copy h2,
.legal-title h1,
.auth-intro h1,
.dashboard-heading h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.section-copy > p {
  max-width: 850px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.84;
}

.forest .section-copy > p {
  color: rgba(255, 255, 255, 0.66);
}

.page-heading {
  margin-bottom: clamp(42px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  align-items: end;
  gap: 60px;
}

.page-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.82;
}

.forest .page-heading > p {
  color: rgba(255, 255, 255, 0.64);
}

.page-heading .overline {
  margin-bottom: 18px;
}

.service-editorial {
  border-top: 1px solid var(--line);
}

.service-entry {
  position: relative;
  min-height: 258px;
  padding-block: 42px;
  display: grid;
  grid-template-columns: 80px minmax(250px, 0.72fr) minmax(320px, 1fr) minmax(180px, 0.5fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: color 320ms ease, background 320ms ease;
}

.service-entry::before {
  position: absolute;
  inset: 0 -28px;
  z-index: -1;
  content: "";
  background: var(--forest);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 420ms var(--ease);
}

.service-entry:hover {
  color: var(--white);
}

.service-entry:hover::before {
  transform: scaleY(1);
}

.service-entry > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-entry h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
}

.service-entry h3 small {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.service-entry > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
  transition: color 260ms ease;
}

.service-entry:hover > p {
  color: rgba(255, 255, 255, 0.68);
}

.service-entry ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-entry li {
  position: relative;
  padding: 7px 0 7px 18px;
  color: #6c7772;
  font-size: 13px;
  transition: color 260ms ease;
}

.service-entry li::before {
  position: absolute;
  top: 16px;
  left: 0;
  width: 6px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.service-entry:hover li {
  color: rgba(255, 255, 255, 0.68);
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 0;
  align-items: stretch;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(13, 37, 31, 0.1);
}

.visual-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--forest);
}

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

.visual-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 29, 24, 0.58), transparent 56%);
}

.visual-caption {
  position: absolute;
  right: 28px;
  bottom: 25px;
  left: 28px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.visual-copy {
  padding: clamp(48px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-copy > p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

.visual-points {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.visual-points li {
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #4c5b56;
  font-size: 13px;
}

.visual-points b {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.14em;
}

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

.process-step {
  min-height: 268px;
  padding: 34px 30px;
  border-right: 1px solid var(--line-light);
}

.process-step:last-child {
  border-right: 0;
}

.process-step > span {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.process-step h3 {
  margin: 54px 0 14px;
  font-size: 20px;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.85;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.metric-band article {
  min-height: 176px;
  padding: 34px 38px;
  border-right: 1px solid var(--line);
}

.metric-band article:last-child {
  border-right: 0;
}

.metric-band strong {
  display: block;
  color: var(--forest);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.metric-band span {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 650;
}

.metric-band small {
  display: block;
  margin-top: 5px;
  color: #78817e;
  font-size: 11px;
}

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

.model-card {
  min-height: 316px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.model-card:last-child {
  border-right: 0;
}

.model-card > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.model-card h3 {
  margin: 76px 0 16px;
  font-size: 23px;
}

.model-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.future-card {
  min-height: 260px;
  padding: clamp(34px, 4vw, 54px);
  background: var(--forest);
}

.future-card > span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.future-card h3 {
  margin: 54px 0 14px;
  font-size: 23px;
}

.future-card p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.8;
}

.page-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 6.5vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  color: var(--white);
  background: var(--forest-deep);
}

.page-cta::after {
  position: absolute;
  top: -170px;
  right: -110px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201, 164, 102, 0.22);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(201, 164, 102, 0.06), 0 0 0 140px rgba(201, 164, 102, 0.03);
}

.page-cta > * {
  position: relative;
  z-index: 1;
}

.page-cta h2 {
  max-width: 720px;
  margin: 16px 0 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(32px, 3.3vw, 46px);
  font-weight: 500;
  line-height: 1.3;
}

.page-cta p {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

/* Policy and reporting pages */
.document-hero {
  min-height: 470px;
}

.document-hero .page-hero-inner {
  padding-block: 74px 44px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 130px;
  padding: 28px;
  color: var(--white);
  background: var(--forest);
}

.legal-aside > span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.legal-aside h2 {
  margin: 18px 0 12px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.4;
}

.legal-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.85;
}

.legal-aside a {
  margin-top: 26px;
  display: inline-block;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}

.legal-content {
  border-top: 1px solid var(--line);
}

.legal-section {
  padding: 40px 0;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-section > span {
  padding-top: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.legal-section h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 15px;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
}

.legal-section p {
  margin: 0;
}

.legal-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.status-strip {
  margin-bottom: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background: var(--forest);
}

.status-strip article {
  min-height: 150px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.status-strip article:last-child {
  border-right: 0;
}

.status-strip span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.status-strip strong {
  display: block;
  margin-top: 22px;
  font-size: 18px;
}

.status-strip p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.report-email {
  margin-bottom: 62px;
  padding: clamp(38px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  border: 1px solid rgba(201, 164, 102, 0.35);
  background: #f7f2e7;
}

.report-email span {
  color: #8a6a35;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.report-email h2 {
  margin: 12px 0 0;
  font-size: clamp(22px, 2.5vw, 32px);
}

.report-email p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Authentication */
.auth-main {
  overflow: hidden;
  background: var(--forest-deep);
}

.auth-stage {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(560px, 1.18fr);
}

.auth-intro {
  position: relative;
  min-height: 760px;
  padding: clamp(70px, 7vw, 110px) max(40px, calc((100vw - var(--shell)) / 2));
  padding-right: clamp(48px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  color: var(--white);
}

.auth-intro-media,
.auth-intro-media img,
.auth-intro::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.auth-intro-media {
  z-index: -2;
}

.auth-intro-media img {
  object-fit: cover;
}

.auth-intro::after {
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(5, 24, 19, 0.95), rgba(7, 28, 23, 0.24) 74%);
}

.auth-intro .overline {
  margin-bottom: 20px;
  color: var(--gold-light);
}

.auth-intro h1 {
  max-width: 520px;
  font-size: clamp(34px, 3.7vw, 48px);
}

.auth-intro > p {
  max-width: 510px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.82;
}

.auth-trust {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.auth-trust li {
  min-height: 44px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.auth-trust b {
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.auth-panel-wrap {
  padding: clamp(52px, 6.5vw, 94px) clamp(40px, 7vw, 110px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--paper);
}

.login-card,
.admin-auth-card {
  width: min(100%, 650px);
}

.login-card-head,
.admin-auth-head {
  margin-bottom: 32px;
}

.login-card-head span,
.admin-auth-head span {
  color: #8b6a35;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.login-card-head h2,
.admin-auth-head h1 {
  margin: 10px 0 8px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(27px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.3;
}

.login-card-head p,
.admin-auth-head p {
  margin: 0;
  color: #73807a;
  font-size: 13px;
}

.login-card-tabs {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.login-tab {
  position: relative;
  padding: 14px 8px 16px;
  color: #75807b;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.login-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 260ms var(--ease);
}

.login-tab.active {
  color: var(--forest);
}

.login-tab.active::after {
  transform: scaleX(1);
}

.login-panel-head {
  margin-bottom: 22px;
}

.login-panel-head h2 {
  margin: 0;
  font-size: 20px;
}

.login-panel-head p {
  margin: 8px 0 0;
  color: #727c78;
  font-size: 12px;
  line-height: 1.75;
}

.account-mode-switch {
  margin-bottom: 20px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ebe9e2;
}

.account-mode-btn {
  min-height: 38px;
  color: #6e7874;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.account-mode-btn.active {
  color: var(--forest);
  background: var(--white);
  box-shadow: 0 5px 18px rgba(16, 42, 37, 0.08);
  font-weight: 700;
}

.login-form,
.admin-auth-form,
.profile-form {
  display: grid;
  gap: 14px;
}

.login-field,
.form-field {
  min-height: 54px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(20, 32, 29, 0.16);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field {
  min-height: 0;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
}

.form-field > span {
  margin-bottom: 7px;
  display: block;
  color: #4f5d58;
  font-size: 12px;
  font-weight: 650;
}

.login-field:focus-within,
.form-field:focus-within {
  border-color: rgba(201, 164, 102, 0.75);
  box-shadow: 0 0 0 3px rgba(201, 164, 102, 0.12);
}

.login-field-icon {
  color: #a08454;
  font-size: 11px;
  font-weight: 700;
}

.login-field input,
.form-field input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.form-field input {
  padding: 0 15px;
  border: 1px solid rgba(20, 32, 29, 0.16);
  background: var(--white);
}

.login-field input::placeholder,
.form-field input::placeholder {
  color: #a1aaa6;
}

.login-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  gap: 10px;
}

.login-send-code,
.login-submit,
.login-secondary-btn,
.form-submit {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--forest);
  color: var(--white);
  background: var(--forest);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.login-send-code {
  border-color: rgba(20, 32, 29, 0.18);
  color: var(--forest);
  background: transparent;
}

.login-send-code:hover,
.login-secondary-btn:hover {
  color: var(--white);
  background: var(--forest);
}

.login-submit:hover,
.form-submit:hover {
  border-color: var(--gold);
  background: #173a33;
}

.login-submit:active,
.form-submit:active {
  transform: translateY(1px);
}

.login-send-code:disabled,
.login-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.login-help {
  margin: 1px 0 0;
  color: #7a8580;
  font-size: 11px;
  line-height: 1.65;
}

.auth-message {
  min-height: 18px;
  margin: 0;
  color: #33755d;
  font-size: 11px;
}

.auth-message[data-error="true"] {
  color: #ad3f35;
}

.login-links {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8a938f;
  font-size: 11px;
}

.login-switch-link {
  padding: 0;
  color: #6c5b3d;
  background: transparent;
  cursor: pointer;
}

.login-placeholder {
  min-height: 330px;
  padding: 50px 32px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.login-placeholder h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 28px;
  font-weight: 500;
}

.login-placeholder p {
  max-width: 360px;
  margin: 14px auto 22px;
  color: var(--ink-soft);
  font-size: 12px;
}

.login-recovery-note {
  padding: 18px;
  border: 1px solid rgba(201, 164, 102, 0.42);
  background: #f5efe3;
}

.login-recovery-note strong {
  font-size: 13px;
}

.login-recovery-note p {
  margin: 6px 0 10px;
  color: var(--ink-soft);
  font-size: 11px;
}

.login-recovery-note code {
  margin-bottom: 12px;
  padding: 10px;
  display: block;
  overflow-wrap: anywhere;
  color: var(--forest);
  background: var(--white);
  font-size: 12px;
}

.login-secondary-btn {
  min-height: 42px;
  border-color: rgba(20, 32, 29, 0.2);
  color: var(--forest);
  background: transparent;
}

.login-follow {
  margin-top: 28px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.login-follow-badge {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(201, 164, 102, 0.5);
  color: #896b3a;
  font-family: Georgia, serif;
  font-size: 10px;
}

.login-follow p {
  margin: 0;
  color: #77817d;
  font-size: 10px;
  line-height: 1.55;
}

/* User center */
.dashboard-main {
  min-height: 720px;
  padding-block: clamp(70px, 7vw, 110px);
  background: var(--ivory);
}

.dashboard-hero {
  position: relative;
  min-height: 300px;
  margin-bottom: 34px;
  padding: clamp(34px, 5vw, 62px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--forest);
}

.dashboard-hero img,
.dashboard-hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.dashboard-hero img {
  object-fit: cover;
  object-position: center 44%;
}

.dashboard-hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(5, 25, 20, 0.9), rgba(5, 25, 20, 0.22));
}

.dashboard-hero h1 {
  max-width: 680px;
  margin: 12px 0 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.25;
}

.dashboard-hero p:last-child {
  max-width: 620px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.dashboard-heading {
  margin-bottom: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
}

.dashboard-heading p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 24px;
}

.dashboard-card {
  padding: clamp(32px, 4vw, 50px);
  border: 1px solid rgba(20, 32, 29, 0.12);
  background: var(--white);
  box-shadow: 0 18px 55px rgba(16, 42, 37, 0.07);
}

.dashboard-card-head {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard-card-head span {
  color: #8b6a35;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.dashboard-card-head h2 {
  margin: 8px 0 0;
  font-size: 23px;
}

.profile-view {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.profile-view p {
  min-height: 74px;
  margin: 0;
  padding: 17px;
  display: grid;
  gap: 3px;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  background: var(--ivory);
  font-size: 12px;
}

.profile-view strong {
  color: var(--ink);
  font-size: 11px;
}

.auth-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-inline .secondary-action {
  border-color: rgba(20, 32, 29, 0.2);
  color: var(--forest);
  background: transparent;
}

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

.log-list:empty::after {
  padding: 32px;
  content: "暂无可显示的登录记录";
  color: #8c9691;
  background: var(--ivory);
  text-align: center;
  font-size: 12px;
}

.log-item {
  padding: 16px;
  display: grid;
  gap: 4px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
}

.log-item strong {
  font-size: 12px;
}

.log-item span {
  color: #717c77;
  font-size: 10px;
}

/* Compact admin access */
.admin-auth-main .auth-stage {
  min-height: 660px;
}

.admin-auth-main .auth-intro {
  min-height: 660px;
}

.admin-auth-form {
  margin-top: 30px;
}

.admin-access-note {
  margin-top: 24px;
  padding: 18px;
  border-left: 2px solid var(--gold);
  color: #66736e;
  background: var(--ivory);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 1120px) {
  .service-entry {
    grid-template-columns: 58px minmax(240px, 0.75fr) minmax(0, 1fr);
  }

  .service-entry ul {
    grid-column: 2 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
  }

  .auth-stage {
    grid-template-columns: minmax(320px, 0.76fr) minmax(500px, 1.24fr);
  }
}

@media (max-width: 980px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    align-content: end;
    gap: 38px;
  }

  .page-hero-brief {
    width: min(100%, 620px);
  }

  .section-intro,
  .page-heading,
  .legal-layout,
  .dashboard-heading {
    grid-template-columns: 1fr;
  }

  .section-label {
    display: none;
  }

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

  .visual-frame {
    min-height: 440px;
  }

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-light);
  }

  .legal-aside {
    position: static;
  }

  .auth-stage {
    grid-template-columns: 1fr;
  }

  .auth-intro,
  .admin-auth-main .auth-intro {
    min-height: 560px;
    padding-inline: max(40px, calc((100vw - var(--shell)) / 2));
  }

  .auth-panel-wrap {
    padding-block: 70px;
  }

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

@media (max-width: 680px) {
  .site-nav {
    inset: 68px 0 0;
    padding: 58px 32px 40px;
    align-content: start;
  }

  .page-hero {
    min-height: 610px;
  }

  .page-hero-media img {
    object-position: 62% center;
  }

  .page-hero-shade {
    background: linear-gradient(0deg, rgba(5, 22, 18, 0.96), rgba(5, 22, 18, 0.22) 100%);
  }

  .page-hero-inner {
    padding-block: 90px 28px;
    gap: 26px;
  }

  .page-hero-copy h1 {
    font-size: clamp(33px, 9.4vw, 38px);
    line-height: 1.2;
  }

  .page-hero-copy .hero-lead {
    margin-top: 18px;
    font-size: 14px;
  }

  .page-hero-copy .hero-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-hero-copy .hero-actions .button {
    min-width: 0;
    padding-inline: 16px;
  }

  .page-hero-brief {
    padding: 20px;
  }

  .page-hero-brief h2 {
    margin-block: 8px 12px;
    font-size: 18px;
  }

  .hero-brief-list {
    display: none;
  }

  .page-section {
    padding-block: 68px;
  }

  .section-copy h2,
  .page-heading h2,
  .visual-copy h2,
  .legal-title h1,
  .auth-intro h1,
  .dashboard-heading h1 {
    font-size: 30px;
    line-height: 1.34;
  }

  .section-copy > p {
    font-size: 14px;
  }

  .page-heading {
    margin-bottom: 36px;
    gap: 18px;
  }

  .service-entry {
    min-height: 0;
    padding: 30px 0;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  .service-entry h3,
  .service-entry > p,
  .service-entry ul {
    grid-column: 2;
  }

  .service-entry h3 {
    font-size: 21px;
  }

  .service-entry::before {
    display: none;
  }

  .service-entry:hover {
    color: inherit;
  }

  .service-entry:hover > p,
  .service-entry:hover li {
    color: inherit;
  }

  .service-entry ul {
    display: block;
  }

  .visual-frame {
    min-height: 330px;
  }

  .visual-copy {
    padding: 36px 26px 42px;
  }

  .process-grid,
  .metric-band,
  .model-grid,
  .future-grid,
  .status-strip {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(2),
  .process-step:nth-child(-n + 2),
  .metric-band article,
  .model-card,
  .status-strip article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .metric-band article,
  .model-card {
    border-bottom-color: var(--line);
  }

  .process-step h3,
  .model-card h3,
  .future-card h3 {
    margin-top: 28px;
  }

  .page-cta,
  .report-email {
    padding: 38px 26px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .document-hero {
    min-height: 550px;
  }

  .document-hero .page-hero-inner {
    padding-block: 84px 30px;
  }

  .legal-section {
    padding-block: 30px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
  }

  .auth-intro,
  .admin-auth-main .auth-intro {
    min-height: 500px;
    padding: 62px 24px 44px;
  }

  .auth-panel-wrap {
    padding: 56px 24px 68px;
  }

  .login-card-tabs {
    margin-bottom: 24px;
  }

  .login-code-row {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .login-send-code {
    padding-inline: 10px;
  }

  .profile-view,
  .auth-inline {
    grid-template-columns: 1fr;
  }

  .dashboard-main {
    padding-block: 60px;
  }

  .dashboard-card {
    padding: 26px 20px;
  }
}
