:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --soft: #f6f7f4;
  --paper: #ffffff;
  --line: #d9ded8;
  --deep: #0b1220;
  --deep-2: #111f2d;
  --teal: #155e75;
  --teal-bright: #2dd4bf;
  --blue: #1d4ed8;
  --bronze: #ad8b55;
  --red: #d64242;
  --green: #16a34a;
  --shadow: 0 20px 70px rgba(15, 23, 42, 0.18);
  font-family:
    "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
    "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  letter-spacing: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(241, 231, 210, 0.95);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-height: 44px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, #f5efe3, #ad8b55);
  border-radius: 6px;
  color: #101827;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1.2;
}

.brand strong {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.brand em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  margin-top: 2px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #fff;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-button span {
  background: currentColor;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 160ms ease, opacity 160ms ease;
  width: 18px;
}

.menu-button span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-button span:nth-child(3) {
  transform: translateY(6px);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  color: #fff;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  padding: 124px clamp(20px, 6vw, 84px) 54px;
  place-items: center start;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background-image: url("/assets/hero-research-desk.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

@supports (background-image: image-set(url("/assets/hero-research-desk-1600.webp") type("image/webp"))) {
  .hero-media {
    background-image: image-set(
      url("/assets/hero-research-desk-1600.webp") type("image/webp"),
      url("/assets/hero-research-desk.png") type("image/png")
    );
  }
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 23, 0.92) 0%, rgba(8, 13, 23, 0.74) 38%, rgba(8, 13, 23, 0.28) 76%),
    linear-gradient(0deg, rgba(8, 13, 23, 0.54), transparent 42%);
}

.hero-content {
  max-width: 980px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(40px, 5.2vw, 78px);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  white-space: nowrap;
}

.nowrap {
  white-space: nowrap;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
  margin: 28px 0 0;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button.primary {
  background: #f1e7d2;
  color: #101827;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-metrics {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 46px 0 0;
  max-width: 680px;
  padding-top: 22px;
}

.hero-metrics div {
  min-width: 0;
}

.hero-metrics dt {
  font-family: "Inter", "Roboto Mono", monospace;
  font-size: clamp(25px, 4vw, 42px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
}

.hero-metrics dd {
  color: rgba(255, 255, 255, 0.64);
  margin: 8px 0 0;
}

.ticker-band {
  align-items: center;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ticker-band span {
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 700;
  min-width: 0;
  padding: 20px 12px;
  text-align: center;
}

.section {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 84px);
}

section[id] {
  scroll-margin-top: 88px;
}

.intro {
  background: var(--paper);
}

.intro-grid,
.section-heading,
.data-section,
.contact-section {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

h2 {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.16;
  margin: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.38;
  margin: 0;
}

p {
  color: var(--muted);
  line-height: 1.85;
}

.intro-grid p,
.section-heading p,
.data-copy p,
.contact-copy p {
  font-size: 17px;
  margin: 22px 0 0;
}

.notice-panel {
  align-self: end;
  background: #f3f6f4;
  border-left: 4px solid var(--bronze);
  padding: 26px;
}

.notice-panel strong {
  color: var(--deep);
}

.notice-panel p {
  margin: 10px 0 0;
}

.observation-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
}

.observation-card,
.framework-list article,
.process-steps li,
.review-main,
.quote-panel,
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.observation-card {
  padding: 28px;
}

.observation-card p:last-child {
  margin-bottom: 0;
}

.framework {
  background: #f7f8f6;
}

.framework-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
}

.framework-list article {
  border-radius: 0;
  min-height: 260px;
  padding: 30px;
}

.framework-list span,
.process-steps span {
  color: var(--teal);
  display: block;
  font-family: "Inter", "Roboto Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 42px;
}

.data-section {
  align-items: center;
  background: var(--deep-2);
  color: #fff;
  padding: clamp(76px, 10vw, 130px) clamp(20px, 6vw, 84px);
}

.data-section p {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard {
  background: #08111f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 430px;
  padding: clamp(20px, 4vw, 34px);
}

.dash-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dash-top span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.dash-top strong {
  color: #fff;
  font-size: 22px;
}

.chart-row {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(8, minmax(12px, 1fr));
  height: 150px;
}

.bar {
  border-radius: 4px 4px 0 0;
  min-height: 30px;
}

.bar.up {
  background: linear-gradient(180deg, #ef6a65, #8e1f2d);
}

.bar.down {
  background: linear-gradient(180deg, #4ade80, #166534);
}

.heatmap {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.heatmap span {
  background: rgba(45, 212, 191, 0.2);
  border-radius: 4px;
  height: 42px;
}

.heatmap .hot {
  background: rgba(214, 66, 66, 0.72);
}

.heatmap .cool {
  background: rgba(22, 163, 74, 0.62);
}

.dash-notes {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.dash-notes p {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin: 0;
  padding: 14px;
}

.process {
  background: var(--paper);
}

.process-steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 58px 0 0;
  padding: 0;
}

.process-steps li {
  min-height: 250px;
  padding: 28px;
}

.reviews {
  background: #f7f8f6;
}

.review-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  margin-top: 58px;
}

.review-main,
.quote-panel {
  padding: clamp(28px, 4vw, 42px);
}

.review-main h3 {
  font-size: clamp(26px, 4vw, 40px);
}

.review-meta {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
  padding-top: 20px;
}

.quote-panel {
  align-items: end;
  background: var(--deep);
  color: #fff;
  display: flex;
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.55;
  margin: 0;
}

.contact-section {
  background: var(--deep-2);
  color: #fff;
  padding: clamp(76px, 10vw, 130px) clamp(20px, 6vw, 84px);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form option {
  color: var(--ink);
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-note {
  font-size: 13px;
  margin: 4px 0 20px;
}

.site-footer {
  background: #070d17;
  color: #fff;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.5fr) minmax(0, 1.2fr);
  padding: 44px clamp(20px, 6vw, 84px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.58);
  margin: 10px 0 0;
}

.footer-links {
  display: grid;
  gap: 4px;
}

.footer-links a {
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  min-height: 44px;
}

.risk {
  font-size: 13px;
}

.mobile-action-bar {
  display: none;
}

.heatmap-page {
  background: #07101d;
}

.heatmap-hero {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(7, 13, 23, 0.96), rgba(17, 31, 45, 0.9)),
    radial-gradient(circle at 76% 24%, rgba(173, 139, 85, 0.22), transparent 34%);
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 132px clamp(20px, 6vw, 84px) 46px;
}

.heatmap-hero h1 {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.05;
  margin: 0;
}

.heatmap-hero p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  margin: 22px 0 0;
  max-width: 820px;
}

.heatmap-status {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  min-width: 210px;
  padding: 14px 16px;
  text-align: center;
}

.bagua-section {
  background: #07101d;
  color: #fff;
  padding: clamp(34px, 6vw, 70px) clamp(16px, 5vw, 64px);
}

.bagua-layout {
  display: grid;
  gap: 14px;
  grid-template-areas:
    "xun li kun"
    "zhen center dui"
    "gen kan qian";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.trigram-card {
  --heat: 16%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #0d1726;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  min-height: 210px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.trigram-card::before {
  content: "";
  inset: 0;
  opacity: calc(0.18 + var(--heat) / 260);
  pointer-events: none;
  position: absolute;
}

.trigram-card.flow-in::before {
  background: linear-gradient(135deg, rgba(214, 66, 66, 0.72), transparent 64%);
}

.trigram-card.flow-out::before {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.72), transparent 64%);
}

.trigram-head,
.trigram-card h2,
.trigram-card dl,
.energy-bar {
  position: relative;
  z-index: 1;
}

.trigram-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.trigram-symbol {
  color: #f1e7d2;
  font-size: 34px;
  line-height: 1;
}

.trigram-head div {
  text-align: right;
}

.trigram-head strong,
.trigram-head em {
  display: block;
  font-style: normal;
}

.trigram-head strong {
  font-size: 22px;
}

.trigram-head em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  margin-top: 3px;
}

.trigram-card h2 {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.16;
  margin: 32px 0 22px;
}

.trigram-card dl {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.trigram-card dt {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-bottom: 6px;
}

.trigram-card dd {
  color: #fff;
  font-family: "Inter", "Roboto Mono", monospace;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.energy-bar {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: block;
  height: 7px;
  margin-top: 22px;
  overflow: hidden;
}

.energy-bar i {
  background: #f1e7d2;
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 12%;
}

.flow-out .energy-bar i {
  background: #78d99a;
}

.trigram-qian {
  grid-area: qian;
}

.trigram-dui {
  grid-area: dui;
}

.trigram-li {
  grid-area: li;
}

.trigram-zhen {
  grid-area: zhen;
}

.trigram-xun {
  grid-area: xun;
}

.trigram-kan {
  grid-area: kan;
}

.trigram-gen {
  grid-area: gen;
}

.trigram-kun {
  grid-area: kun;
}

.bagua-center {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 28%, #f1e7d2 0 24%, transparent 25%),
    radial-gradient(circle at 50% 72%, #0b1220 0 24%, transparent 25%),
    linear-gradient(90deg, #f1e7d2 0 50%, #0b1220 50% 100%);
  border: 1px solid rgba(241, 231, 210, 0.42);
  border-radius: 50%;
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.04), 0 18px 54px rgba(0, 0, 0, 0.32);
  color: #fff;
  display: flex;
  flex-direction: column;
  grid-area: center;
  justify-content: center;
  min-height: 230px;
  padding: 28px;
  text-align: center;
}

.bagua-center span,
.bagua-center small {
  background: rgba(7, 13, 23, 0.78);
  border-radius: 999px;
  padding: 6px 12px;
}

.bagua-center span {
  color: #f1e7d2;
  font-size: 13px;
  font-weight: 800;
}

.bagua-center strong {
  color: #fff;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(26px, 3vw, 38px);
  margin: 12px 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.bagua-center small {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.heatmap-table-section {
  background: #f7f8f6;
  padding: clamp(60px, 8vw, 98px) clamp(20px, 6vw, 84px);
}

.flow-table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 680px;
  overflow: auto;
}

.flow-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.flow-table th,
.flow-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
  text-align: left;
}

.flow-table th {
  background: #f0f3f0;
  color: var(--muted);
  font-size: 13px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.flow-table td {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.flow-table tr:last-child td {
  border-bottom: 0;
}

.rank-in {
  color: #c73535 !important;
  font-weight: 800;
}

.rank-out {
  color: #148641 !important;
  font-weight: 800;
}

.heatmap-hero.compact {
  align-items: center;
  padding-bottom: 12px;
  padding-top: 92px;
}

.heatmap-hero.compact h1 {
  font-size: clamp(36px, 4.8vw, 58px);
}

.heatmap-hero.compact p {
  font-size: 16px;
  line-height: 1.72;
  margin-top: 14px;
}

.heatmap-actions {
  display: grid;
  gap: 12px;
  min-width: 240px;
}

.heatmap-refresh {
  background: #f1e7d2;
  border: 0;
  border-radius: 6px;
  color: #101827;
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
  padding: 0 18px;
}

.bagua-wheel-section {
  background:
    radial-gradient(circle at 50% 43%, rgba(173, 139, 85, 0.18), transparent 48%),
    linear-gradient(180deg, #07101d, #0b1424);
  color: #fff;
  padding: clamp(14px, 3vw, 34px) clamp(14px, 5vw, 64px) clamp(54px, 8vw, 96px);
}

.bagua-wheel-shell {
  align-items: center;
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: min(1120px, 100%);
}

.bagua-wheel {
  aspect-ratio: 1;
  display: block;
  max-height: min(72vh, 820px);
  max-width: min(92vw, 820px);
  overflow: visible;
  width: 100%;
}

.wheel-backdrop {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.wheel-ring {
  fill: none;
  stroke: rgba(241, 231, 210, 0.55);
  stroke-width: 2;
}

.bagua-slice {
  cursor: pointer;
  stroke: rgba(241, 231, 210, 0.32);
  stroke-width: 1.5;
  transition: opacity 160ms ease, stroke 160ms ease, transform 160ms ease;
}

.bagua-slice:hover {
  opacity: 0.92;
  stroke: rgba(255, 255, 255, 0.82);
}

.sector-dot {
  cursor: pointer;
  opacity: 0.92;
  stroke: rgba(7, 16, 29, 0.58);
  stroke-width: 1;
}

.slice-in {
  filter: drop-shadow(0 0 18px rgba(214, 66, 66, 0.22));
}

.slice-out {
  filter: drop-shadow(0 0 18px rgba(22, 163, 74, 0.22));
}

.wheel-symbol {
  fill: rgba(241, 231, 210, 0.92);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 42px;
  font-weight: 800;
  pointer-events: none;
}

.wheel-label {
  fill: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 17px;
  font-weight: 800;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(7, 16, 29, 0.86);
  stroke-linejoin: round;
  stroke-width: 4px;
}

.wheel-label tspan:first-child {
  fill: #f1e7d2;
  font-size: 15px;
}

.wheel-label tspan:nth-child(2) {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 23px;
}

.wheel-label tspan:nth-child(3) {
  fill: rgba(255, 255, 255, 0.8);
  font-family: "Inter", "Roboto Mono", monospace;
  font-size: 15px;
}

.taiji-border {
  fill: rgba(7, 13, 23, 0.88);
  stroke: rgba(241, 231, 210, 0.72);
  stroke-width: 3;
}

.taiji-light {
  fill: #f1e7d2;
}

.taiji-dark {
  fill: #07101d;
}

.taiji-dark-dot {
  fill: #07101d;
}

.taiji-light-dot {
  fill: #f1e7d2;
}

.wheel-center-text text {
  fill: #fff;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(7, 16, 29, 0.88);
  stroke-width: 5px;
  text-anchor: middle;
}

.wheel-center-text text:first-child {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 28px;
}

.wheel-center-text text:last-child {
  fill: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  stroke-width: 4px;
}

.bagua-legend {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px auto 0;
  max-width: 980px;
}

.bagua-legend span {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
}

.bagua-legend i {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 22px;
}

.legend-in {
  background: #d64242;
}

.legend-out {
  background: #16a34a;
}

.legend-strong {
  background: linear-gradient(90deg, rgba(214, 66, 66, 0.25), #d64242);
}

.bagua-brief-section {
  background: #f7f8f6;
  padding: clamp(54px, 7vw, 86px) clamp(20px, 6vw, 84px) 0;
}

.bagua-brief-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.bagua-brief-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 18px;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease;
  width: 100%;
}

.bagua-brief-card:hover {
  border-color: rgba(173, 139, 85, 0.72);
  transform: translateY(-2px);
}

.bagua-brief-head {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr auto;
}

.bagua-brief-head span {
  align-items: center;
  background: #101827;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.bagua-brief-head strong {
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 18px;
}

.bagua-brief-head em {
  color: var(--bronze-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.bagua-brief-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
  margin: 14px 0 0;
}

.bagua-brief-card dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.bagua-brief-card dl div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.bagua-brief-card dt {
  color: var(--muted);
  font-size: 12px;
}

.bagua-brief-card dd {
  font-size: 14px;
  font-weight: 900;
  margin: 0;
}

.bagua-detail-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(241, 231, 210, 0.18);
  border-radius: 8px;
  margin: 24px auto 0;
  max-width: 1120px;
  padding: 18px;
}

.bagua-detail-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bagua-detail-head h3 {
  color: #fff;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(22px, 3vw, 32px);
  margin: 4px 0 0;
}

.bagua-detail-head strong {
  color: #f1e7d2;
  white-space: nowrap;
}

.bagua-top-three {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.bagua-top-three span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.bagua-top-three b {
  color: #ffb5b5;
}

.bagua-top-three em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.bagua-detail-table-wrap {
  max-height: 360px;
  overflow: auto;
}

.bagua-detail-table {
  min-width: 760px;
}

.bagua-detail-table tr.is-focus td {
  background: rgba(241, 231, 210, 0.16);
}

.heatmap-table-section .section-heading {
  align-items: end;
}

.theme-page {
  background: #eef2f0;
}

.theme-hero {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.96), rgba(17, 31, 45, 0.88)),
    radial-gradient(circle at 78% 24%, rgba(45, 212, 191, 0.18), transparent 34%);
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 118px clamp(18px, 5vw, 72px) 34px;
}

.theme-hero h1 {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  margin: 10px 0 0;
}

.theme-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.8;
  margin: 16px 0 0;
  max-width: 760px;
}

.theme-actions {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.theme-workbench {
  padding: clamp(22px, 4vw, 42px) clamp(14px, 4vw, 56px) clamp(64px, 8vw, 96px);
}

.theme-toolbar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  margin: 0 auto 18px;
  max-width: 1280px;
}

.theme-toolbar label {
  display: grid;
  gap: 7px;
}

.theme-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.theme-toolbar input,
.theme-toolbar select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 42px;
  padding: 0 12px;
}

.theme-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 18px;
  max-width: 1280px;
}

.theme-summary-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.theme-summary-grid strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.theme-summary-grid span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
}

.theme-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(390px, 0.96fr) minmax(420px, 1.04fr);
  margin: 0 auto;
  max-width: 1280px;
}

.theme-list-panel,
.theme-detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.theme-list-panel {
  overflow: hidden;
}

.theme-panel-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.theme-panel-head h2 {
  font-size: 28px;
  margin: 4px 0 0;
}

.theme-panel-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.theme-stock-list {
  display: grid;
  max-height: 760px;
  overflow: auto;
}

.theme-stock-card {
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 16px 18px;
  text-align: left;
}

.theme-stock-card:hover,
.theme-stock-card.is-active {
  background: #f8faf8;
}

.stock-rank {
  align-items: center;
  background: #101827;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.theme-stock-card strong {
  font-size: 18px;
}

.theme-stock-card em {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-style: normal;
  margin-top: 4px;
}

.theme-stock-card p {
  color: var(--muted);
  font-size: 13px;
  grid-column: 2;
  margin: 0;
}

.stock-metrics {
  display: grid;
  gap: 6px;
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stock-metrics span {
  background: #f3f6f4;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  min-width: 0;
  padding: 8px;
}

.theme-detail-panel {
  padding: 22px;
}

.empty-detail {
  align-items: center;
  color: var(--muted);
  display: grid;
  min-height: 320px;
  place-items: center;
  text-align: center;
}

.theme-detail-title {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 18px;
}

.theme-detail-title h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 4px 0;
}

.theme-detail-title span {
  color: var(--muted);
}

.theme-detail-title > strong {
  font-size: 34px;
  white-space: nowrap;
}

.theme-detail-block {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.theme-detail-block h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.theme-detail-block ul {
  color: var(--muted);
  display: grid;
  gap: 10px;
  line-height: 1.74;
  margin: 0;
  padding-left: 18px;
}

.theme-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-chip-list span {
  background: #f1e7d2;
  border-radius: 999px;
  color: #3b2b14;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 11px;
}

.theme-data-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 0;
}

.theme-data-strip div {
  background: #f7f8f6;
  border-radius: 8px;
  padding: 12px;
}

.theme-data-strip dt {
  color: var(--muted);
  font-size: 12px;
}

.theme-data-strip dd {
  font-size: 16px;
  font-weight: 900;
  margin: 5px 0 0;
}



.stock-pool-page {
  background: #eef2f0;
}

.stock-pool-hero {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.96), rgba(17, 31, 45, 0.88)),
    radial-gradient(circle at 76% 24%, rgba(173, 139, 85, 0.22), transparent 34%);
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  padding: 118px clamp(18px, 5vw, 72px) 34px;
}

.stock-pool-hero h1 {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  margin: 10px 0 0;
}

.stock-pool-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.8;
  margin: 16px 0 0;
  max-width: 860px;
}

.stock-pool-note {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 18px;
}

.stock-pool-note span,
.stock-pool-note em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-style: normal;
}

.stock-pool-note strong {
  font-size: 24px;
}

.stock-pool-workbench {
  padding: clamp(22px, 4vw, 42px) clamp(14px, 4vw, 56px) clamp(64px, 8vw, 96px);
}

.stock-pool-summary,
.stock-pool-rules,
.stock-pool-toolbar,
.stock-pool-table-card {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}

.stock-pool-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stock-pool-summary article,
.stock-pool-rules article,
.stock-pool-table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stock-pool-summary article {
  padding: 18px;
}

.stock-pool-summary strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stock-pool-summary span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
}

.stock-pool-rules {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.stock-pool-rules article {
  padding: 22px;
}

.stock-pool-rules h2 {
  font-size: 30px;
}

.stock-pool-rules ul {
  color: var(--muted);
  display: grid;
  gap: 9px;
  line-height: 1.72;
  margin: 16px 0 0;
  padding-left: 18px;
}

.stock-pool-toolbar {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, 0.8fr));
  margin-top: 16px;
}

.stock-pool-toolbar label {
  display: grid;
  gap: 7px;
}

.stock-pool-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.stock-pool-toolbar input,
.stock-pool-toolbar select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 42px;
  padding: 0 12px;
}

.stock-pool-table-card {
  margin-top: 16px;
  overflow: hidden;
}

.stock-pool-table-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 20px;
}

.stock-pool-table-head h2 {
  font-size: 30px;
  margin: 4px 0 0;
}

.stock-pool-table-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.stock-pool-table-wrap {
  max-height: 760px;
  overflow: auto;
}

.stock-pool-table {
  border-collapse: collapse;
  min-width: 1120px;
  width: 100%;
}

.stock-pool-table th,
.stock-pool-table td {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.stock-pool-table th {
  background: #f0f3f0;
  color: var(--muted);
  font-weight: 900;
  position: sticky;
  top: 0;
  z-index: 1;
}

.stock-pool-table td {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stock-pool-table strong {
  font-size: 14px;
}

.pool-positive {
  color: #c73535 !important;
  font-weight: 900;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
    position: relative;
  }

  .site-nav {
    align-items: stretch;
    background: rgba(11, 18, 32, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
    gap: 0;
    left: 0;
    padding: 10px 20px 22px;
    position: absolute;
    right: 0;
    top: 76px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
  }

  .hero {
    min-height: 86svh;
    padding-top: 112px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 13, 23, 0.94), rgba(8, 13, 23, 0.62)),
      linear-gradient(0deg, rgba(8, 13, 23, 0.68), transparent 45%);
  }

  .intro-grid,
  .section-heading,
  .data-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .observation-grid,
  .framework-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .review-layout {
    grid-template-columns: 1fr;
  }

  .heatmap-hero {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .heatmap-actions {
    min-width: 0;
    width: 100%;
  }

  .theme-hero,
  .theme-layout,
  .stock-pool-hero,
  .stock-pool-rules {
    grid-template-columns: 1fr;
  }

  .theme-actions {
    min-width: 0;
    width: 100%;
  }

  .theme-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heatmap-status {
    min-width: 0;
    text-align: left;
    width: 100%;
  }

  .bagua-layout {
    grid-template-areas:
      "qian dui"
      "li zhen"
      "center center"
      "xun kan"
      "gen kun";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bagua-center {
    aspect-ratio: auto;
    min-height: 210px;
  }

  .bagua-brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bagua-top-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-header {
    height: 68px;
    padding: 0 16px;
  }

  .brand strong {
    font-size: 13px;
    white-space: nowrap;
  }

  .brand em {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 84svh;
    padding: 104px 18px 42px;
  }

  .hero-media {
    background-position: 61% center;
  }

  @supports (background-image: image-set(url("/assets/hero-research-desk-mobile.webp") type("image/webp"))) {
    .hero-media {
      background-image: image-set(
        url("/assets/hero-research-desk-mobile.webp") type("image/webp"),
        url("/assets/hero-research-desk.png") type("image/png")
      );
    }
  }

  .hero h1 {
    font-size: clamp(28px, 8.2vw, 36px);
    line-height: 1.08;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
    padding-top: 18px;
  }

  .hero-metrics dt {
    font-size: 25px;
  }

  .hero-metrics dd {
    font-size: 12px;
    line-height: 1.45;
  }

  .ticker-band {
    grid-template-columns: 1fr 1fr;
  }

  .ticker-band span:last-child {
    grid-column: 1 / -1;
  }

  .section,
  .data-section,
  .contact-section {
    padding-bottom: 58px;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 58px;
  }

  section[id] {
    scroll-margin-top: 76px;
  }

  .section-kicker,
  .card-label {
    margin-bottom: 14px;
  }

  h2 {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.22;
  }

  h3 {
    font-size: 19px;
  }

  p {
    line-height: 1.76;
  }

  .intro-grid p,
  .section-heading p,
  .data-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .observation-grid,
  .framework-list,
  .process-steps,
  .dash-notes {
    grid-template-columns: 1fr;
  }

  .observation-grid,
  .framework-list,
  .process-steps,
  .review-layout {
    gap: 12px;
    margin-top: 34px;
  }

  .observation-card,
  .framework-list article,
  .process-steps li,
  .review-main,
  .quote-panel {
    padding: 22px;
  }

  .framework-list span,
  .process-steps span {
    margin-bottom: 24px;
  }

  .framework-list article {
    min-height: auto;
  }

  .dashboard {
    min-height: auto;
  }

  .chart-row {
    gap: 8px;
    height: 118px;
  }

  .heatmap span {
    height: 34px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .site-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .mobile-action-bar {
    align-items: center;
    background: rgba(7, 13, 23, 0.94);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    bottom: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    left: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 30;
  }

  .mobile-action-bar a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
  }

  .mobile-action-bar .mobile-action-primary {
    background: #f1e7d2;
    border-color: #f1e7d2;
    color: #101827;
  }

  .heatmap-hero {
    padding: 104px 18px 34px;
  }

  .theme-hero {
    padding: 104px 18px 28px;
  }

  .theme-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .theme-workbench {
    padding-left: 12px;
    padding-right: 12px;
  }

  .theme-toolbar,
  .theme-summary-grid,
  .stock-pool-summary,
  .stock-pool-toolbar {
    grid-template-columns: 1fr;
  }

  .theme-list-panel,
  .theme-detail-panel {
    border-radius: 8px;
  }

  .theme-panel-head,
  .theme-detail-title {
    align-items: start;
    display: grid;
  }

  .theme-detail-title > strong {
    font-size: 28px;
  }

  .stock-metrics,
  .theme-data-strip {
    grid-template-columns: 1fr 1fr;
  }

  .heatmap-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .heatmap-hero p {
    font-size: 16px;
  }

  .bagua-section,
  .bagua-brief-section,
  .heatmap-table-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .bagua-brief-section {
    padding-top: 48px;
  }

  .bagua-brief-grid {
    grid-template-columns: 1fr;
  }

  .bagua-brief-card {
    padding: 16px;
  }

  .bagua-detail-panel {
    padding: 14px;
  }

  .bagua-detail-head {
    align-items: start;
    display: grid;
  }

  .sector-dot {
    r: 3.6px;
  }

  .bagua-layout {
    gap: 10px;
    grid-template-areas:
      "qian"
      "dui"
      "li"
      "zhen"
      "center"
      "xun"
      "kan"
      "gen"
      "kun";
    grid-template-columns: 1fr;
  }

  .trigram-card {
    min-height: auto;
    padding: 18px;
  }

  .trigram-card h2 {
    font-size: 28px;
    margin: 24px 0 18px;
  }

  .bagua-center {
    min-height: 190px;
  }

  .flow-table th,
  .flow-table td {
    padding: 13px 12px;
  }

  .heatmap-hero.compact {
    padding-bottom: 24px;
  }

  .bagua-wheel-section {
    padding-left: 8px;
    padding-right: 8px;
  }

  .bagua-wheel {
    max-height: none;
    max-width: 100%;
    width: min(100%, 430px);
  }

  .wheel-symbol {
    font-size: 32px;
  }

  .wheel-label {
    font-size: 13px;
    stroke-width: 3px;
  }

  .wheel-label tspan:first-child {
    font-size: 12px;
  }

  .wheel-label tspan:nth-child(2) {
    font-size: 17px;
  }

  .wheel-label tspan:nth-child(3) {
    font-size: 11px;
  }

  .wheel-center-text text:first-child {
    font-size: 22px;
  }

  .wheel-center-text text:last-child {
    font-size: 12px;
  }

  .bagua-legend {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .bagua-legend span {
    border-radius: 6px;
    justify-content: center;
    text-align: center;
  }
}
