/* ==========================================================================
   zhijw.com Standardized Frontend Stylesheet
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.zhijw-body {
  margin: 0;
  color: #2c3f45;
  background-color: #f3f7f8;
  background-image: url("../legacy/image/bg.c751813c4573.png");
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.zhijw-body a {
  color: #068f90;
  text-decoration: none;
  transition: color 0.15s ease;
}

.zhijw-body a:hover {
  color: #057374;
  text-decoration: underline;
}

.zhijw-shell {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-left: 1px solid rgba(205, 220, 223, 0.7);
  border-right: 1px solid rgba(205, 220, 223, 0.7);
  box-shadow: 0 0 28px rgba(18, 42, 48, 0.04);
}

.zhijw-main {
  flex: 1;
  padding-top: 4px;
}

.zhijw-preview-notice {
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff8e5;
  border: 1px solid #f5dfa3;
  color: #7c5800;
  font-size: 13px;
}

.zhijw-flash {
  margin: 0 0 16px;
  padding: 11px 15px;
  border-radius: 8px;
  background: #eaf7f1;
  border: 1px solid #bde5d2;
  color: #0d6e47;
  font-size: 14px;
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
.zhijw-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2ecee;
  margin: 0 -24px 18px;
  padding: 0 24px;
}

.zhijw-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}

.zhijw-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.zhijw-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.zhijw-logo {
  width: 176px;
  height: auto;
  display: block;
}

.zhijw-tagline {
  padding-left: 13px;
  border-left: 1px solid #d7e2e4;
  color: #61757b;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.zhijw-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.zhijw-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  margin-left: auto;
}

.zhijw-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 7px;
  color: #33474d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.zhijw-nav-links a:hover,
.zhijw-nav-links a:focus-visible {
  background: #eff5f6;
  color: #057879;
}

.zhijw-nav-links a[aria-current="page"] {
  background: #eaf5f5;
  color: #057576;
  font-weight: 600;
}

.zhijw-nav-account {
  display: flex;
  align-items: center;
  padding-left: 12px;
  border-left: 1px solid #e3ecee;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .zhijw-tagline {
    display: none;
  }
}

@media (max-width: 680px) {
  .zhijw-shell {
    padding: 0 15px;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
  .zhijw-topbar {
    margin: 0 -15px 14px;
    padding: 0 15px;
  }
  .zhijw-topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
    min-height: 0;
    padding: 10px 0 8px;
  }
  .zhijw-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .zhijw-logo {
    width: 144px;
  }
  .zhijw-nav {
    display: contents;
  }
  .zhijw-nav-account {
    grid-column: 2;
    grid-row: 1;
    padding-left: 0;
    border-left: 0;
  }
  .zhijw-nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0;
    padding-top: 6px;
    border-top: 1px solid #ecf2f3;
    justify-content: space-between;
    gap: 2px;
  }
  .zhijw-nav-links a {
    flex: 1;
    text-align: center;
    padding: 6px 3px;
    font-size: 12.5px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Shared Typography, Page Hero, Cards & Buttons
   ========================================================================== */
.zhijw-hero {
  padding: 4px 0 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5eff0;
}

.zhijw-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.8px;
  color: #068f90;
  text-transform: uppercase;
}

.zhijw-hero-title {
  margin: 0 0 5px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #193036;
  letter-spacing: -0.3px;
}

.zhijw-hero-subtitle {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #677c82;
  line-height: 1.5;
}

.zhijw-card {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(18, 42, 48, 0.025);
}

.zhijw-section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  color: #1b3339;
}

.zhijw-prose-text {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.72;
  color: #465b61;
}

.zhijw-prose-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #6c8086;
}

.zhijw-highlight {
  color: #068f90;
  font-weight: 650;
}

.zhijw-text-link {
  font-size: 13px;
  font-weight: 600;
  color: #068f90;
  white-space: nowrap;
}

.zhijw-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #ffa01b;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(241, 142, 0, 0.22);
  transition: background-color 0.16s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.zhijw-cta-btn:hover,
.zhijw-cta-btn:focus-visible {
  background: #ef8f06;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(241, 142, 0, 0.3);
}

.zhijw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.zhijw-btn-primary {
  background: #068f90;
  border: 1px solid #068f90;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(6, 143, 144, 0.18);
}

.zhijw-btn-primary:hover,
.zhijw-btn-primary:focus-visible {
  background: #057879;
  border-color: #057879;
  color: #ffffff !important;
}

.zhijw-btn-secondary {
  background: #ffffff;
  border: 1px solid #c9d7da;
  color: #4f656b !important;
}

.zhijw-btn-secondary:hover,
.zhijw-btn-secondary:focus-visible {
  background: #f4f8f9;
  border-color: #aebfc3;
  color: #21373d !important;
}

.zhijw-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.errorlist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 12.5px;
  color: #b4232c;
}

/* ==========================================================================
   Homepage Layout, Assessment Overview Card & FAQ Module
   ========================================================================== */
.zhijw-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.zhijw-home-primary,
.zhijw-home-aside {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.zhijw-spec-card {
  background: #fbfdfd;
}

.zhijw-spec-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.zhijw-spec-header .zhijw-section-title {
  margin-bottom: 0;
}

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

.zhijw-spec-item {
  padding: 13px 14px;
  background: #ffffff;
  border: 1px solid #e3eef0;
  border-radius: 8px;
}

.zhijw-spec-label {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 650;
  color: #068f90;
  line-height: 1.35;
}

.zhijw-spec-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #50666c;
}

.zhijw-spec-desc strong {
  color: #1d353b;
}

.zhijw-spec-footnote {
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px solid #e7eff1;
  font-size: 12.5px;
  line-height: 1.6;
  color: #72868c;
}

.zhijw-features-heading {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 650;
  color: #1d353b;
  line-height: 1.35;
}

.zhijw-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.zhijw-features-list li {
  padding-bottom: 13px;
  border-bottom: 1px solid #eff4f5;
}

.zhijw-features-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.zhijw-features-list h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 650;
  color: #213a40;
  line-height: 1.35;
}

.zhijw-features-list p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #5f747a;
}

/* Homepage FAQ Section */
.zhijw-faq-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3edef;
}

.zhijw-faq-header {
  margin-bottom: 16px;
}

.zhijw-faq-sub {
  margin-left: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #74888e;
}

.zhijw-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
}

.zhijw-norm-summary {
  padding: 15px 17px;
  background: #f7fbfb;
  border: 1px solid #dceaea;
  border-radius: 10px;
}

.zhijw-norm-title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 650;
  color: #1d353b;
}

.zhijw-norm-summary p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: #556b71;
}

.zhijw-faq-list {
  display: grid;
  gap: 12px;
}

.zhijw-faq-item {
  padding: 15px 18px;
  background: #ffffff;
  border: 1px solid #dfe9eb;
  border-radius: 9px;
}

.zhijw-faq-q {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  color: #1c343a;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.zhijw-faq-q::before {
  content: "Q";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #e7f5f5;
  color: #068f90;
  font-size: 11.5px;
  font-weight: 700;
}

.zhijw-faq-a {
  margin: 0;
  padding-left: 28px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #546a70;
}

@media (max-width: 920px) {
  .zhijw-home-grid,
  .zhijw-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .zhijw-hero-title {
    font-size: 21px;
  }
  .zhijw-card {
    padding: 18px 16px;
  }
  .zhijw-spec-grid {
    grid-template-columns: 1fr;
  }
  .zhijw-faq-a {
    padding-left: 0;
  }
}

/* ==========================================================================
   Homepage Right Sidebar: Minimalist Weekly IQ & Question-Type Accuracy Card
   ========================================================================== */
.home-stats-card {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-top: 3px solid #068f90;
  border-radius: 10px;
  padding: 20px 22px 22px;
  box-shadow: 0 2px 10px rgba(18, 42, 48, 0.03);
  text-align: left;
}

.home-stats-iq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ecf2f3;
}

.home-stats-iq-heading {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.35;
  color: #1d353b;
}

.home-stats-updated {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #788d93;
  line-height: 1.3;
}

.home-stats-updated::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #068f90;
  opacity: 0.8;
}

.home-stats-iq-score strong {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #068f90;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
}

.home-stats-rank-heading {
  margin: 0 0 14px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.35;
  color: #1d353b;
}

.home-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.home-rank-row {
  display: grid;
  grid-template-columns: 20px auto minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.home-rank-num {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #f0f5f6;
  color: #647b82;
  font-size: 11.5px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.home-rank-num.is-top {
  background: #e7f5f5;
  color: #068f90;
}

.home-rank-name {
  font-size: 14px;
  font-weight: 500;
  color: #253d43;
  white-space: nowrap;
}

.home-rank-track {
  height: 6px;
  border-radius: 999px;
  background: #eef4f5;
  overflow: hidden;
}

.home-rank-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #068f90;
  opacity: 0.85;
}

.home-rank-pct {
  font-size: 13.5px;
  font-weight: 650;
  color: #1d353b;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Homepage Pure-Code Vector IQ Score Distribution Chart
   ========================================================================== */
.home-iq-figure {
  margin: 0 0 14px;
  padding: 14px 12px 10px;
  background: #fbfdfd;
  border: 1px solid #e3eeef;
  border-radius: 10px;
  text-align: center;
}

.home-iq-svg {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
}

.home-iq-svg-title {
  font-size: 15.5px;
  font-weight: 700;
  fill: #243b41;
}

.home-iq-span-label {
  font-size: 12px;
  font-weight: 700;
  fill: #ffffff;
  font-variant-numeric: tabular-nums;
}

.home-iq-pct {
  font-size: 12px;
  font-weight: 650;
  fill: #2c464d;
  font-variant-numeric: tabular-nums;
}

.home-iq-axis {
  font-size: 11.5px;
  font-weight: 500;
  fill: #5e747a;
  font-variant-numeric: tabular-nums;
}

.home-iq-caption {
  margin: 6px 0 0;
  text-align: center;
  font-size: 13px;
  color: #74888e;
}

/* ==========================================================================
   Homepage Interactive & Auto-Demo Geometric Question Card
   ========================================================================== */
.home-demo-stage {
  width: 100%;
  max-width: 346px;
  margin: 16px auto 18px;
  text-align: center;
}

.home-demo-card {
  width: 100%;
  background: #ffffff;
  background-clip: padding-box;
  border: 7px solid rgba(213, 213, 213, 0.5);
  border-radius: 8px;
  padding: 16px 12px 18px;
  transition: border-color 0.18s ease;
}

.home-demo-card:hover {
  border-color: rgba(213, 213, 213, 0.85);
}

.home-demo-matrix {
  width: 275px;
  max-width: 100%;
  margin: 0 auto;
  padding: 4px 6px;
  background: #ffffff;
  border: 3px solid #333333;
  border-radius: 5px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
}

.home-demo-cell {
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141414;
  position: relative;
}

.home-demo-cell > svg {
  width: 60px;
  height: 60px;
  display: block;
}

.home-demo-cell-target .home-demo-slot-empty {
  color: #1f1f1f;
  transition: opacity 0.2s ease;
}

.home-demo-qmark {
  position: absolute;
  margin-right: 4px;
  font-size: 24px;
  font-weight: 700;
  color: #141414;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.home-demo-card[data-demo-state="step-2"] .home-demo-qmark {
  opacity: 0;
}

.home-demo-slot-filled {
  position: absolute;
  width: 60px;
  height: 60px;
  color: #068f90;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.home-demo-card[data-demo-state="step-3"] .home-demo-slot-empty,
.home-demo-card[data-demo-state="user-correct"] .home-demo-slot-empty,
.home-demo-card[data-demo-state="step-3"] .home-demo-qmark,
.home-demo-card[data-demo-state="user-correct"] .home-demo-qmark {
  opacity: 0;
}

.home-demo-card[data-demo-state="step-3"] .home-demo-slot-filled,
.home-demo-card[data-demo-state="user-correct"] .home-demo-slot-filled {
  opacity: 1;
  transform: scale(1);
}

.home-demo-hint {
  width: 277px;
  max-width: 100%;
  margin: 10px auto 9px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  color: #5b6d72;
  transition: color 0.18s ease;
}

.home-demo-card[data-demo-state="step-3"] .home-demo-hint,
.home-demo-card[data-demo-state="user-correct"] .home-demo-hint {
  color: #068f90;
  font-weight: 600;
}

.home-demo-card[data-demo-state="user-wrong"] .home-demo-hint {
  color: #b86204;
}

.home-demo-reset {
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #cbd9dc;
  background: #ffffff;
  color: #52686e;
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
}

.home-demo-reset:hover {
  border-color: #068f90;
  color: #068f90;
}

.home-demo-options {
  width: 277px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 60px);
  justify-content: space-between;
  row-gap: 10px;
}

.home-demo-opt {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.12s ease;
}

.home-demo-opt > svg {
  width: 60px;
  height: 60px;
  display: block;
}

.home-demo-opt:hover,
.home-demo-opt:focus-visible {
  outline: none;
  color: #068f90;
}

.home-demo-opt:focus-visible {
  outline: 2px solid #068f90;
  outline-offset: 2px;
  border-radius: 4px;
}

.home-demo-card[data-demo-state="step-3"] .home-demo-opt[data-demo-correct="true"],
.home-demo-opt.is-selected-correct {
  color: #068f90;
}

.home-demo-opt.is-selected-wrong {
  color: #d97706;
}

.home-demo-cursor {
  position: absolute;
  right: -4px;
  bottom: -10px;
  width: 26px;
  height: 26px;
  pointer-events: none;
  opacity: 0;
  transform: translate(10px, 12px);
  transition: opacity 0.25s ease, transform 0.3s ease;
  z-index: 3;
}

.home-demo-cursor svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.home-demo-card[data-demo-state="step-2"] .home-demo-cursor {
  opacity: 1;
  transform: translate(0, 0);
}

.home-demo-card[data-demo-state="step-3"] .home-demo-cursor {
  opacity: 1;
  transform: translate(-2px, -2px) scale(0.92);
}

.home-demo-card[data-demo-interacted="true"] .home-demo-cursor {
  display: none;
}

.home-demo-cta-group {
  display: block;
  width: 100%;
  margin-top: 14px;
}

.home-demo-cta.is-ready-pulse {
  box-shadow: 0 0 0 4px rgba(255, 160, 27, 0.28);
}

@media (max-width: 360px) {
  .home-demo-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .home-demo-opt,
  .home-demo-opt > svg {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-demo-slot-empty,
  .home-demo-slot-filled,
  .home-demo-qmark,
  .home-demo-opt,
  .home-demo-cursor,
  .home-demo-cta {
    transition: none !important;
  }
}

/* ==========================================================================
   Figure Reasoning Intro Page (/tests/figure-reasoning/)
   ========================================================================== */
.zhijw-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.zhijw-intro-cta-box {
  margin: 20px 0 24px;
  padding: 18px 20px;
  background: #f5fbfb;
  border: 1px solid #d1e7e7;
  border-radius: 10px;
  text-align: center;
}

.zhijw-intro-cta-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: #63797f;
}

.zhijw-dim-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.zhijw-dim-mini {
  padding: 13px 15px;
  border: 1px solid #e3eef0;
  border-radius: 8px;
  background: #fbfdfd;
}

.zhijw-dim-mini h3 {
  margin: 0 0 5px;
  font-size: 14.5px;
  font-weight: 650;
  color: #068f90;
}

.zhijw-dim-mini p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #546a70;
}

.zhijw-rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.zhijw-rule-list li {
  padding-bottom: 13px;
  border-bottom: 1px solid #eff4f5;
}

.zhijw-rule-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.zhijw-rule-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 650;
  color: #1d353b;
}

.zhijw-rule-list span {
  display: block;
  font-size: 13.5px;
  line-height: 1.65;
  color: #5b7076;
}

@media (max-width: 880px) {
  .zhijw-intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .zhijw-dim-cards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Distraction-Free Question Answering Page (/tests/figure-reasoning/questions/*)
   ========================================================================== */
.zhijw-quiz-panel {
  padding: 4px 0 12px;
}

.zhijw-quiz-error {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fdf3f2;
  border: 1px solid #f1c7c4;
  color: #9e2a2b;
  font-size: 13.5px;
}

.zhijw-quiz-header {
  margin-bottom: 18px;
  padding: 14px 18px;
  background: #f8fbfb;
  border: 1px solid #dfecee;
  border-radius: 10px;
}

.zhijw-quiz-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.zhijw-quiz-heading {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  color: #1c343a;
}

.zhijw-quiz-badge {
  color: #068f90;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.zhijw-quiz-step-pct {
  font-size: 13px;
  font-weight: 600;
  color: #5c7278;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.zhijw-quiz-bar {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e6eff1;
  overflow: hidden;
}

.zhijw-quiz-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #068f90 0%, #24a8a9 100%);
  transition: width 0.24s ease;
}

.zhijw-legacy-confirm {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff9eb;
  border: 1px solid #f0d799;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.zhijw-legacy-confirm p {
  margin: 0;
  font-size: 14px;
  color: #6b4d00;
}

.zhijw-quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 26px;
  align-items: start;
}

.zhijw-quiz-stage {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-top: 3px solid #068f90;
  border-radius: 12px;
  padding: 22px 18px 24px;
  box-shadow: 0 2px 10px rgba(18, 42, 48, 0.03);
  text-align: center;
}

/* Sprite Coordinates for 350x350 Question Composite PNGs */
.sprite {
  display: block;
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.sprite.sprite-q1 { background-position: -285px -5px; }
.sprite.sprite-q2 { background-position: -285px -75px; }
.sprite.sprite-q3 { background-position: -285px -145px; }
.sprite.sprite-q4 { background-position: -285px -215px; }
.sprite.sprite-q5 { background-position: -5px -285px; }
.sprite.sprite-q6 { background-position: -75px -285px; }
.sprite.sprite-q7 { background-position: -145px -285px; }
.sprite.sprite-q8 { background-position: -215px -285px; }
.sprite.sprite-q9 { background-position: -285px -285px; }

.sprite.sprite-a1 { background-position: -5px -5px; }
.sprite.active_sprite-a1 { background-position: -75px -5px; }
.sprite.sprite-a2 { background-position: -5px -75px; }
.sprite.active_sprite-a2 { background-position: -75px -75px; }
.sprite.sprite-a3 { background-position: -145px -5px; }
.sprite.active_sprite-a3 { background-position: -145px -75px; }
.sprite.sprite-a4 { background-position: -5px -145px; }
.sprite.active_sprite-a4 { background-position: -75px -145px; }
.sprite.sprite-a5 { background-position: -145px -145px; }
.sprite.active_sprite-a5 { background-position: -215px -5px; }
.sprite.sprite-a6 { background-position: -215px -75px; }
.sprite.active_sprite-a6 { background-position: -215px -145px; }
.sprite.sprite-a7 { background-position: -5px -215px; }
.sprite.active_sprite-a7 { background-position: -75px -215px; }
.sprite.sprite-a8 { background-position: -145px -215px; }
.sprite.active_sprite-a8 { background-position: -215px -215px; }

.zhijw-quiz-matrix {
  width: 275px;
  max-width: 100%;
  margin: 0 auto;
  padding: 4px 6px;
  background: #ffffff;
  border: 3px solid #2b383c;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
}

.zhijw-quiz-cell {
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zhijw-quiz-prompt {
  margin: 14px auto 12px;
  font-size: 13px;
  color: #5d7379;
}

.zhijw-quiz-options {
  width: 312px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.zhijw-quiz-option {
  position: relative;
  min-height: 70px;
  padding: 5px;
  border-radius: 8px;
  border: 1.5px solid #e1ecee;
  background: #fbfdfd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.zhijw-quiz-option:hover {
  border-color: #96c7c8;
  background: #f4fafa;
}

.zhijw-quiz-option:has(input:checked) {
  border-color: #068f90;
  background: #eaf6f6;
  box-shadow: 0 0 0 2px rgba(6, 143, 144, 0.14);
}

.zhijw-quiz-option:has(input:focus-visible) {
  outline: 2px solid #068f90;
  outline-offset: 2px;
}

.test-answer-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.zhijw-quiz-actions {
  width: 100%;
  max-width: 346px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 12px;
}

.zhijw-sidebar-card {
  background: #fbfdfd;
  border: 1px solid #e1ecee;
  border-radius: 12px;
  padding: 22px 24px;
}

.zhijw-sidebar-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.zhijw-sidebar-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 650;
  color: #253d43;
  white-space: nowrap;
}

.zhijw-sidebar-line {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #eef4f5;
}

.zhijw-ring-box {
  position: relative;
  width: 236px;
  height: 236px;
  max-width: 100%;
  margin: 4px auto 8px;
}

.zhijw-ring-box canvas.test-progress {
  display: block;
  width: 100%;
  height: 100%;
}

.zhijw-ring-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.zhijw-ring-pct {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  color: #068f90;
  font-variant-numeric: tabular-nums;
}

.zhijw-ring-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: #63797f;
}

.zhijw-sidebar-notes {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #e6eff1;
}

.zhijw-sidebar-notes .zhijw-sidebar-title {
  margin-bottom: 8px;
}

.zhijw-sidebar-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.68;
  color: #5b7177;
}

.zhijw-sidebar-list li + li {
  margin-top: 6px;
}

.zhijw-sidebar-list strong {
  color: #068f90;
}

@media (max-width: 820px) {
  .zhijw-quiz-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .zhijw-ring-box,
  .zhijw-sidebar-head {
    display: none;
  }
  .zhijw-sidebar-notes {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .zhijw-quiz-stage {
    padding: 18px 12px 20px;
  }
  .zhijw-quiz-actions {
    max-width: 312px;
  }
}

@media (max-width: 560px) {
  .zhijw-quiz-header {
    padding: 12px 14px;
  }
  .zhijw-quiz-heading {
    font-size: 15px;
  }
  .zhijw-quiz-step-pct {
    font-size: 12px;
  }
}

/* ==========================================================================
   Finish Page (/tests/figure-reasoning/finish/)
   ========================================================================== */
.finish-section {
  padding: 12px 0;
  text-align: left;
}

.finish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: start;
}

.finish-main,
.finish-sidebar {
  min-width: 0;
}

.finish-card {
  background: #ffffff;
  border: 1px solid #d8e5e7;
  border-top: 4px solid #068f90;
  border-radius: 12px;
  padding: 26px 26px 24px;
  box-shadow: 0 2px 6px rgba(18, 42, 48, 0.04), 0 10px 26px rgba(18, 42, 48, 0.04);
}

.finish-card-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ebf1f2;
}

.finish-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #e8f5f5;
  border: 1px solid #c4e3e2;
  color: #057576;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.finish-title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
  color: #1b3136;
  letter-spacing: -0.2px;
}

.finish-subtitle {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #5f747a;
}

.finish-alert {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fdf3f2;
  border: 1px solid #f1c7c4;
  color: #9e2a2b;
  font-size: 13.5px;
}

.finish-alert .errorlist {
  margin: 0;
  color: inherit;
}

.finish-fields {
  display: grid;
  gap: 16px;
}

.finish-field {
  min-width: 0;
}

.finish-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 7px;
}

.finish-label {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #21373d;
  line-height: 1.4;
}

.finish-field-hint {
  font-size: 12.5px;
  color: #6b8086;
}

.finish-field-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 6px;
  background: #eef6f6;
  border: 1px solid #d2e6e6;
  color: #196467;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.finish-input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 9px 14px;
  font-size: 15px;
  line-height: 1.45;
  color: #1d2f34;
  background-color: #fbfdfd;
  border: 1px solid #c6d6d9;
  border-radius: 8px;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.finish-input::placeholder {
  color: #8ea0a6;
}

.finish-input:hover {
  border-color: #9fb8bc;
  background-color: #ffffff;
}

.finish-input:focus {
  outline: none;
  border-color: #068f90;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(6, 143, 144, 0.14);
}

.finish-account-box {
  padding: 13px 15px;
  border-radius: 9px;
  background: #f5fafa;
  border: 1px solid #d5e7e7;
}

.finish-account-email {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #194d52;
  overflow-wrap: anywhere;
}

.finish-privacy-note {
  margin: 15px 0 0;
  font-size: 12.5px;
  color: #74888e;
  line-height: 1.5;
}

.finish-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #ebf1f2;
}

.finish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.finish-btn-secondary {
  background: #ffffff;
  border: 1px solid #c9d7da;
  color: #4f656b !important;
}

.finish-btn-secondary:hover,
.finish-btn-secondary:focus-visible {
  background: #f4f8f9;
  border-color: #aebfc3;
  color: #21373d !important;
}

.finish-btn-primary {
  background: #068f90;
  border: 1px solid #068f90;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(6, 143, 144, 0.2);
}

.finish-btn-primary:hover,
.finish-btn-primary:focus-visible {
  background: #057879;
  border-color: #057879;
  color: #ffffff !important;
}

.finish-progress-card {
  background: #fbfdfd;
  border: 1px solid #e1ecee;
  border-radius: 12px;
  padding: 22px 24px;
}

.finish-progress-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.finish-progress-title {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: #253d43;
  white-space: nowrap;
}

.finish-progress-line {
  flex: 1;
  height: 10px;
  border-radius: 5px;
  background: #eef4f5;
}

.finish-ring-wrap {
  position: relative;
  width: 248px;
  height: 248px;
  max-width: 100%;
  margin: 4px auto 8px;
}

.finish-ring-wrap canvas.test-progress {
  display: block;
  width: 100%;
  height: 100%;
}

.finish-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.finish-ring-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
  color: #068f90;
  font-variant-numeric: tabular-nums;
}

.finish-ring-caption {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: #63797f;
}

.finish-notes {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid #e6eff1;
}

.finish-notes-title {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 650;
  color: #253d43;
}

.finish-notes-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: #5d7379;
}

.finish-notes-list li + li {
  margin-top: 6px;
}

.finish-notes-list strong {
  color: #068f90;
  font-weight: 600;
}

@media (max-width: 767px) {
  .finish-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .finish-sidebar {
    display: none !important;
  }
  .finish-card {
    padding: 20px 18px;
  }
  .finish-input {
    font-size: 16px;
  }
}

/* ==========================================================================
   Compliance & Trust Static Pages (/about-us/, /methodology/, /disclaimer/, /privacy-policy/, /contact-us/)
   ========================================================================== */
.zhijw-doc-page {
  padding: 2px 0 10px;
}

.zhijw-doc-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  padding: 6px;
  background: #f5f9fa;
  border: 1px solid #e1ecee;
  border-radius: 10px;
}

.zhijw-doc-tabs a {
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: #496066;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.zhijw-doc-tabs a:hover {
  background: #eaf3f4;
  color: #068f90;
}

.zhijw-doc-tabs a[aria-current="page"] {
  background: #ffffff;
  color: #068f90;
  font-weight: 650;
  box-shadow: 0 1px 3px rgba(18, 42, 48, 0.06);
}

.zhijw-doc-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6eff1;
}

.zhijw-doc-title {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 700;
  color: #193036;
  line-height: 1.3;
}

.zhijw-doc-lead {
  margin: 0;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.72;
  color: #546a70;
}

.zhijw-doc-sections {
  display: grid;
  gap: 18px;
}

.zhijw-doc-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 650;
  color: #1b3339;
}

.zhijw-doc-card h3 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: #213a40;
}

.zhijw-doc-card p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #485e64;
}

.zhijw-doc-card p:last-child {
  margin-bottom: 0;
}

.zhijw-doc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.zhijw-doc-box {
  padding: 15px 17px;
  background: #f9fcfc;
  border: 1px solid #e2eeef;
  border-radius: 9px;
}

.zhijw-doc-box h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
  color: #068f90;
}

.zhijw-doc-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.68;
  color: #546a70;
}

.zhijw-doc-list {
  margin: 8px 0 12px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.72;
  color: #485e64;
}

.zhijw-doc-list:last-child {
  margin-bottom: 0;
}

.zhijw-doc-note {
  margin-top: 14px !important;
  padding: 11px 14px;
  background: #f5fafa;
  border-left: 3px solid #068f90;
  border-radius: 6px;
  font-size: 13.5px !important;
}

.zhijw-contact-email-box {
  margin: 14px 0 18px;
  padding: 16px 18px;
  background: #f4fafa;
  border: 1px solid #cde4e4;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zhijw-contact-badge {
  font-size: 12px;
  font-weight: 600;
  color: #5c757b;
}

.zhijw-contact-address {
  font-size: 20px;
  font-weight: 700;
  color: #068f90 !important;
  letter-spacing: 0.2px;
}

.zhijw-self-service {
  display: grid;
  gap: 12px;
}

@media (max-width: 720px) {
  .zhijw-doc-grid-2 {
    grid-template-columns: 1fr;
  }
  .zhijw-doc-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   Authentication Pages (/login/, /login/reset/*)
   ========================================================================== */
.zhijw-auth-wrap {
  padding: 28px 0 20px;
  display: flex;
  justify-content: center;
}

.zhijw-auth-card {
  width: 100%;
  max-width: 440px;
  border-top: 4px solid #068f90;
  padding: 28px 28px 26px;
}

.zhijw-auth-header {
  text-align: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ebf2f3;
}

.zhijw-auth-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #193036;
}

.zhijw-auth-sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #647a80;
}

.zhijw-auth-alert {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fdf3f2;
  border: 1px solid #f1c7c4;
  color: #9e2a2b;
  font-size: 13.5px;
}

.zhijw-auth-form {
  display: grid;
  gap: 16px;
}

.zhijw-auth-field {
  min-width: 0;
}

.zhijw-auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.zhijw-auth-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #233a40;
}

.zhijw-auth-label-row .zhijw-auth-label {
  margin-bottom: 0;
}

.zhijw-auth-forgot {
  font-size: 13px;
  color: #068f90;
}

.zhijw-auth-input,
.frontend-form input:not([type=hidden]),
.frontend-form select {
  display: block;
  width: 100%;
  height: 44px;
  padding: 9px 14px;
  font-size: 15px;
  line-height: 1.45;
  color: #1d2f34;
  background: #fbfdfd;
  border: 1px solid #c6d6d9;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.zhijw-auth-input:focus,
.frontend-form input:not([type=hidden]):focus,
.frontend-form select:focus {
  outline: none;
  border-color: #068f90;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(6, 143, 144, 0.14);
}

.zhijw-auth-submit {
  width: 100%;
  margin-top: 4px;
}

.zhijw-auth-back,
.zhijw-auth-empty {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: #5f757b;
}

@media (max-width: 560px) {
  .zhijw-auth-card {
    padding: 22px 18px;
  }
  .zhijw-auth-input,
  .frontend-form input:not([type=hidden]) {
    font-size: 16px;
  }
}
