:root {
  color-scheme: dark;
  --navy-950: #03101c;
  --navy-900: #071724;
  --navy-850: #0a1d2d;
  --navy-800: #10283a;
  --paper: #f6efe3;
  --paper-2: #fffaf0;
  --paper-line: rgba(74, 57, 37, 0.14);
  --gold: #d8ae63;
  --gold-2: #f1cf8c;
  --gold-dark: #9d7136;
  --ink: #1f1d19;
  --muted: #8d8a82;
  --soft-white: rgba(255, 255, 255, 0.82);
  --dark-text-strong: #fff4d7;
  --dark-text-body: rgba(255, 244, 215, 0.7);
  --dark-text-soft: rgba(255, 244, 215, 0.62);
  --dark-text-faint: rgba(255, 244, 215, 0.56);
  --dark-gold-soft: rgba(239, 208, 142, 0.8);
  --dark-gold-muted: rgba(217, 189, 127, 0.74);
  --font-ui-kr: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans CJK KR", "Noto Sans KR", sans-serif;
  --font-display-kr: var(--font-ui-kr);
  --font-score-kr: var(--font-ui-kr);
  --line-dark: rgba(218, 174, 99, 0.26);
  --panel-dark: rgba(8, 26, 40, 0.88);
  --panel-glass: rgba(12, 31, 45, 0.76);
  --shadow-dark: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-paper: 0 18px 45px rgba(38, 31, 19, 0.13);
  --good: #8fb98f;
  --warn: #d88161;
  --earth: #d9ac62;
  --metal: #dad4c6;
  --water: #6e95c8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui-kr);
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 174, 99, 0.11), transparent 30%),
    radial-gradient(circle at 80% 16%, rgba(65, 119, 160, 0.12), transparent 28%),
    linear-gradient(145deg, #020b14, #061522 45%, #0b2030 100%);
  color: var(--soft-white);
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-stage {
  position: relative;
  width: min(100%, 450px);
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(5, 18, 30, 0.74), rgba(7, 23, 36, 0.95)),
    var(--navy-900);
  box-shadow: 0 0 0 1px rgba(216, 174, 99, 0.18), 0 0 80px rgba(0, 0, 0, 0.55);
}

.site-stage::before,
.site-stage::after {
  content: "";
  position: fixed;
  left: 50%;
  width: min(450px, 100%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.site-stage::before {
  top: 0;
  height: 260px;
  background:
    radial-gradient(circle at 70% 24%, rgba(241, 207, 140, 0.18), transparent 4%),
    radial-gradient(circle at 20% 34%, rgba(255, 255, 255, 0.16), transparent 2px),
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.13), transparent 1px),
    radial-gradient(circle at 85% 52%, rgba(255, 255, 255, 0.13), transparent 1px),
    linear-gradient(180deg, rgba(216, 174, 99, 0.08), transparent);
}

.site-stage::after {
  bottom: 0;
  height: 210px;
  opacity: 0.5;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(216, 174, 99, 0.18), transparent 58%),
    repeating-linear-gradient(165deg, transparent 0 22px, rgba(216, 174, 99, 0.08) 23px 24px);
}

.screen {
  position: relative;
  z-index: 1;
  display: none;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding: max(18px, env(safe-area-inset-top)) 18px calc(88px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

.screen.is-active {
  display: block;
}

.screen-home {
  padding-bottom: max(22px, env(safe-area-inset-bottom));
}

.screen-home.is-active {
  display: grid;
  align-content: start;
  gap: 12px;
}

.screen-splash {
  display: none;
  place-items: center;
}

.screen-splash.is-active {
  display: grid;
}

.splash-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 320px);
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  padding: 38px 24px;
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 23%, rgba(216, 174, 99, 0.18), transparent 35%),
    radial-gradient(circle at 83% 30%, rgba(106, 143, 160, 0.11), transparent 30%),
    radial-gradient(circle at 16% 73%, rgba(151, 88, 76, 0.1), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(216, 174, 99, 0.09), transparent 28%),
    linear-gradient(135deg, rgba(216, 174, 99, 0.05) 0 1px, transparent 1px 54px),
    linear-gradient(180deg, rgba(5, 18, 31, 0.92), rgba(5, 18, 31, 0.76));
  box-shadow: var(--shadow-dark);
}

.splash-card::before,
.splash-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 174, 99, 0.34), transparent);
}

.splash-card::before {
  top: 30px;
}

.splash-card::after {
  bottom: 30px;
}

.splash-emblem {
  position: relative;
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
}

.moon-mark {
  width: 198px;
  height: 198px;
  border: 1px solid rgba(216, 174, 99, 0.4);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 174, 99, 0.11) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, transparent 54%, rgba(216, 174, 99, 0.08) 55%, transparent 56%),
    conic-gradient(from 210deg, transparent 0 64%, rgba(216, 174, 99, 0.45) 65% 73%, transparent 74% 100%);
  box-shadow:
    inset 0 0 42px rgba(216, 174, 99, 0.04),
    0 0 44px rgba(216, 174, 99, 0.07);
}

.manse-disk {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(216, 174, 99, 0.28);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -15deg, rgba(216, 174, 99, 0.12) 0 1deg, transparent 1deg 30deg),
    radial-gradient(circle at 50% 50%, rgba(216, 174, 99, 0.12) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(216, 174, 99, 0.08) 55%, transparent 57%),
    rgba(5, 18, 31, 0.42);
  box-shadow:
    inset 0 0 28px rgba(216, 174, 99, 0.045),
    0 0 22px rgba(216, 174, 99, 0.07);
  transform: translate(-50%, -50%);
}

.manse-disk::before,
.manse-disk::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(216, 174, 99, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.manse-disk::before {
  inset: 13px;
}

.manse-disk::after {
  inset: 47px;
}

.manse-disk b,
.manse-disk span {
  position: absolute;
  left: 50%;
  top: 50%;
  color: rgba(238, 204, 142, 0.86);
  font-family: var(--font-ui-kr);
  font-weight: 700;
  line-height: 1;
}

.manse-disk b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216, 174, 99, 0.2);
  border-radius: 50%;
  background: rgba(6, 20, 34, 0.74);
  font-size: 17px;
  transform: translate(-50%, -50%);
}

.manse-disk span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 11px;
  opacity: 0.92;
}

.manse-disk span:nth-of-type(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(-62px) rotate(0deg); }
.manse-disk span:nth-of-type(2) { transform: translate(-50%, -50%) rotate(30deg) translateY(-62px) rotate(-30deg); }
.manse-disk span:nth-of-type(3) { transform: translate(-50%, -50%) rotate(60deg) translateY(-62px) rotate(-60deg); }
.manse-disk span:nth-of-type(4) { transform: translate(-50%, -50%) rotate(90deg) translateY(-62px) rotate(-90deg); }
.manse-disk span:nth-of-type(5) { transform: translate(-50%, -50%) rotate(120deg) translateY(-62px) rotate(-120deg); }
.manse-disk span:nth-of-type(6) { transform: translate(-50%, -50%) rotate(150deg) translateY(-62px) rotate(-150deg); }
.manse-disk span:nth-of-type(7) { transform: translate(-50%, -50%) rotate(180deg) translateY(-62px) rotate(-180deg); }
.manse-disk span:nth-of-type(8) { transform: translate(-50%, -50%) rotate(210deg) translateY(-62px) rotate(-210deg); }
.manse-disk span:nth-of-type(9) { transform: translate(-50%, -50%) rotate(240deg) translateY(-62px) rotate(-240deg); }
.manse-disk span:nth-of-type(10) { transform: translate(-50%, -50%) rotate(270deg) translateY(-62px) rotate(-270deg); }
.manse-disk span:nth-of-type(11) { transform: translate(-50%, -50%) rotate(300deg) translateY(-62px) rotate(-300deg); }
.manse-disk span:nth-of-type(12) { transform: translate(-50%, -50%) rotate(330deg) translateY(-62px) rotate(-330deg); }

.splash-elements {
  position: absolute;
  inset: 0;
}

.splash-elements span {
  position: absolute;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 174, 99, 0.34);
  border-radius: 50%;
  background: rgba(6, 20, 34, 0.92);
  color: rgba(238, 204, 142, 0.88);
  font-family: var(--font-ui-kr);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.splash-elements span:nth-child(1) {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  border-color: rgba(117, 156, 112, 0.46);
  color: rgba(165, 201, 147, 0.9);
}

.splash-elements span:nth-child(2) {
  right: 4px;
  top: 76px;
  border-color: rgba(170, 88, 72, 0.44);
  color: rgba(226, 151, 124, 0.9);
}

.splash-elements span:nth-child(3) {
  right: 42px;
  bottom: 12px;
  border-color: rgba(216, 174, 99, 0.48);
  color: rgba(238, 204, 142, 0.92);
}

.splash-elements span:nth-child(4) {
  left: 42px;
  bottom: 12px;
  border-color: rgba(199, 204, 190, 0.42);
  color: rgba(218, 221, 208, 0.88);
}

.splash-elements span:nth-child(5) {
  left: 4px;
  top: 76px;
  border-color: rgba(106, 143, 160, 0.46);
  color: rgba(157, 190, 205, 0.9);
}

.brand-seal {
  position: relative;
  z-index: 1;
  color: var(--gold-2);
  font-family: var(--font-ui-kr);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  transform: translateY(-2px);
  text-shadow: 0 0 24px rgba(216, 174, 99, 0.14);
}

.splash-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.splash-thread {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 58px 8px 58px;
  align-items: center;
  gap: 10px;
  opacity: 0.74;
}

.splash-thread i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 174, 99, 0.58));
}

.splash-thread i:last-child {
  background: linear-gradient(90deg, rgba(216, 174, 99, 0.58), transparent);
}

.splash-thread b {
  width: 8px;
  height: 8px;
  display: block;
  border: 1px solid rgba(216, 174, 99, 0.62);
  transform: rotate(45deg);
}

.home-hero {
  position: relative;
  min-height: 188px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 10px 8px 13px;
}

.hero-orbit {
  position: absolute;
  inset: -6px 0 auto;
  height: 166px;
  border: 1px solid rgba(216, 174, 99, 0.2);
  border-bottom-color: transparent;
  border-radius: 50% 50% 0 0;
  opacity: 0.58;
}

.hero-orbit i {
  position: absolute;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 174, 99, 0.46);
  border-radius: 50%;
  background: rgba(9, 28, 43, 0.9);
  color: var(--gold);
  font-style: normal;
}

.hero-orbit i::before {
  content: attr(data-label);
  font-family: var(--font-ui-kr);
  font-size: 17px;
  line-height: 1;
}

.hero-orbit i:nth-child(1) { left: 48%; top: 10px; }
.hero-orbit i:nth-child(2) { left: 18%; top: 72px; }
.hero-orbit i:nth-child(3) { right: 18%; top: 72px; }
.hero-orbit i:nth-child(4) { left: 29%; top: 134px; opacity: 0.12; }
.hero-orbit i:nth-child(5) { right: 29%; top: 134px; opacity: 0.12; }
.hero-orbit i:nth-child(1)::before { content: "水"; }
.hero-orbit i:nth-child(2)::before { content: "木"; }
.hero-orbit i:nth-child(3)::before { content: "火"; }
.hero-orbit i:nth-child(4)::before { content: "金"; }
.hero-orbit i:nth-child(5)::before { content: "土"; }

.eyebrow {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #fff2cf;
  font-family: var(--font-ui-kr);
  font-size: 28px;
  line-height: 1.24;
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  line-height: 1.5;
}

.v2-form {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffaf0, #f4ebdd);
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}

.v2-form h2 {
  margin: 0;
  font-size: 18px;
}

.v2-form > p {
  margin: -5px 0 0;
  color: #6f6659;
  font-size: 12.5px;
}

.field {
  display: grid;
  gap: 5px;
}

.field > span,
.field > label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(48, 38, 25, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(216, 174, 99, 0.18);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid rgba(48, 38, 25, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.segmented input:checked + span {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.gold-button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #efd08e, #d6a75c);
  color: #251c12;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(124, 83, 30, 0.22);
}

.subtle-link {
  justify-self: center;
  color: rgba(31, 29, 25, 0.64);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.blog-entry-button {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(82%, 290px);
  min-height: 40px;
  margin-top: 14px;
  padding: 0 13px;
  border: 1px solid rgba(132, 111, 82, 0.22);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.24);
  color: rgba(69, 61, 51, 0.7);
  font-size: 12.5px;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.blog-entry-button:hover,
.blog-entry-button:focus-visible {
  border-color: rgba(132, 111, 82, 0.36);
  background: rgba(255, 253, 249, 0.48);
  box-shadow: none;
}

.blog-entry-button:focus-visible {
  outline: 2px solid rgba(180, 136, 71, 0.34);
  outline-offset: 2px;
}

.blog-entry-button:active {
  transform: translateY(1px);
}

.screen-loading {
  display: none;
  align-content: center;
  gap: 28px;
}

.screen-loading.is-active {
  display: grid;
}

.loading-orbit {
  position: relative;
  width: min(88vw, 340px);
  height: min(88vw, 340px);
  margin: 0 auto;
  border: 1px solid rgba(216, 174, 99, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 174, 99, 0.08), transparent 62%);
}

.loading-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: -16px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-ui-kr);
  transform: rotate(calc(var(--i) * 36deg)) translateY(-145px) rotate(calc(var(--i) * -36deg));
}

.loading-orbit span:nth-child(1) { --i: 0; }
.loading-orbit span:nth-child(2) { --i: 1; }
.loading-orbit span:nth-child(3) { --i: 2; }
.loading-orbit span:nth-child(4) { --i: 3; }
.loading-orbit span:nth-child(5) { --i: 4; }
.loading-orbit span:nth-child(6) { --i: 5; }
.loading-orbit span:nth-child(7) { --i: 6; }
.loading-orbit span:nth-child(8) { --i: 7; }
.loading-orbit span:nth-child(9) { --i: 8; }
.loading-orbit span:nth-child(10) { --i: 9; }

.loading-orbit b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff2cf;
  font-family: var(--font-ui-kr);
  font-size: 23px;
  line-height: 1.45;
  text-align: center;
}

.loading-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(216, 174, 99, 0.25);
  border-radius: 18px;
  background: var(--panel-glass);
}

.loading-panel strong {
  color: var(--gold-2);
  font-size: 28px;
}

.loading-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.loading-bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d6a75c, #fff2cf);
  transform: scaleX(0.08);
  transform-origin: left center;
  transition: transform 0.14s linear;
  will-change: transform;
}

.loading-bar i.is-completing {
  transition-duration: 0.48s;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.loading-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.report-appbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  margin: -18px -18px 16px;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px;
  background: rgba(5, 18, 30, 0.86);
  border-bottom: 1px solid rgba(216, 174, 99, 0.14);
  backdrop-filter: blur(18px);
}

.report-appbar.light {
  background: rgba(250, 244, 233, 0.88);
  color: var(--ink);
  border-bottom-color: rgba(63, 47, 28, 0.12);
}

.report-appbar strong {
  justify-self: center;
  color: inherit;
  font-family: var(--font-ui-kr);
  font-size: 17px;
}

.appbar-actions {
  display: flex;
  gap: 4px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 25px;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-root,
.detail-root {
  display: grid;
  gap: 16px;
}

.report-root {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

.report-hero {
  position: relative;
  overflow: hidden;
  min-height: 174px;
  display: grid;
  align-content: end;
  gap: 9px;
  padding: 17px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 16%, rgba(216, 174, 99, 0.15), transparent 16%),
    linear-gradient(180deg, rgba(6, 20, 33, 0.86), rgba(6, 20, 33, 0.96));
  box-shadow: var(--shadow-dark);
}

.report-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 280px;
  height: 180px;
  opacity: 0.35;
  background:
    linear-gradient(160deg, transparent 42%, rgba(216, 174, 99, 0.28) 43% 44%, transparent 45%),
    repeating-linear-gradient(165deg, transparent 0 18px, rgba(216, 174, 99, 0.14) 19px 20px);
}

.seal-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 174, 99, 0.48);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 24px;
}

.report-hero-kicker {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: rgba(230, 198, 134, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.report-hero h2 {
  position: relative;
  margin: 0;
  color: var(--gold-2);
  font-family: var(--font-ui-kr);
  font-size: 26px;
  line-height: 1.25;
}

.report-hero p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.hero-chip-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}

.hero-chip-row > span,
.hero-chip-row button {
  min-width: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: #f3d99d;
  font-size: 12px;
  font-weight: 700;
}

.hero-chip-row button {
  position: relative;
  z-index: 1;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.hero-chip-row button:hover {
  border-color: rgba(239, 208, 142, 0.52);
  background: rgba(216, 174, 99, 0.15);
  transform: translateY(-1px);
}

.hero-chip-row button.is-watch {
  border-color: rgba(190, 132, 112, 0.2);
  background: rgba(142, 73, 58, 0.09);
}

.hero-chip-row button b {
  color: rgba(255, 244, 214, 0.76);
  font-size: 11px;
  font-weight: 700;
}

.hero-chip-row button span {
  color: #f3d99d;
  font-weight: 950;
  overflow: hidden;
  line-height: 1.32;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-chip-row button em {
  padding-left: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.summary-dashboard {
  position: relative;
  display: grid;
  gap: 15px;
  overflow: hidden;
  padding: 19px;
  border: 1px solid rgba(216, 174, 99, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 8%, rgba(216, 174, 99, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(244, 235, 221, 0.96));
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}

.summary-dashboard::before {
  content: "";
  position: absolute;
  right: -58px;
  top: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(157, 113, 54, 0.12);
  border-radius: 50%;
}

.summary-dashboard header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  min-height: 88px;
  padding-right: 94px;
}

.summary-dashboard header > span {
  color: #8a6229;
  font-size: 12px;
  font-weight: 700;
}

.summary-dashboard h2 {
  margin: 0;
  color: #15120e;
  font-family: var(--font-ui-kr);
  font-size: 24px;
  line-height: 1.28;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.summary-dashboard p {
  margin: 0;
  color: #5d5146;
  font-size: 14px;
  line-height: 1.68;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.summary-orb {
  position: absolute;
  right: 20px;
  top: 22px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  border: 1px solid rgba(157, 113, 54, 0.26);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(216, 174, 99, 0.16)),
    conic-gradient(from 220deg, rgba(157, 113, 54, 0.16), rgba(157, 113, 54, 0.02), rgba(157, 113, 54, 0.24));
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.44);
}

.summary-orb strong {
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 25px;
  line-height: 1;
}

.summary-orb small {
  color: #6f6659;
  font-size: 10px;
  font-weight: 700;
}

.summary-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.summary-keyword-block {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding-top: 2px;
}

.summary-keyword-block > strong {
  color: rgba(216, 174, 99, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.summary-tags {
  margin-top: 0;
}

.domain-score-board {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 0%, rgba(216, 174, 99, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(9, 28, 43, 0.94), rgba(5, 18, 30, 0.93));
  box-shadow: var(--shadow-dark);
}

.domain-score-board-head {
  display: grid;
  gap: 5px;
}

.domain-score-board-head span {
  color: rgba(216, 174, 99, 0.9);
  font-size: 12px;
  font-weight: 950;
}

.domain-score-board-head strong {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
  font-size: 18px;
  line-height: 1.42;
  word-break: keep-all;
}

.domain-score-list {
  display: grid;
  gap: 8px;
}

.domain-score-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 11px 12px;
  border: 1px solid rgba(216, 174, 99, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  color: inherit;
  font: inherit;
  text-align: left;
}

.domain-score-row .section-symbol {
  background: rgba(255, 255, 255, 0.06);
}

.domain-score-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.domain-score-copy strong {
  color: #fff5dd;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.3;
  word-break: keep-all;
}

.domain-score-copy small {
  color: rgba(255, 244, 215, 0.68);
  font-size: 11.8px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.domain-score-value {
  min-width: 58px;
  display: grid;
  justify-items: end;
  gap: 2px;
}

.domain-score-value b {
  color: #f1cf8c;
  font-family: var(--font-ui-kr);
  font-size: 24px;
  line-height: 1;
}

.domain-score-value em {
  display: inline-flex;
  justify-content: center;
  min-width: 48px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 244, 215, 0.82);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.domain-score-value small {
  color: rgba(255, 244, 215, 0.58);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.domain-score-row.metric-great,
.domain-score-row.metric-good {
  border-left: 4px solid rgba(143, 185, 143, 0.75);
}

.domain-score-row.metric-caution,
.domain-score-row.metric-risk {
  border-left: 4px solid rgba(216, 129, 97, 0.66);
}

.domain-score-row.metric-normal {
  border-left: 4px solid rgba(216, 174, 99, 0.52);
}

.element-snapshot {
  display: grid;
}

.element-snapshot-card {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(216, 174, 99, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(216, 174, 99, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(10, 30, 47, 0.92), rgba(6, 20, 33, 0.94));
  box-shadow: var(--shadow-dark);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.element-snapshot-head {
  display: grid;
  gap: 5px;
}

.element-snapshot-head span {
  color: rgba(216, 174, 99, 0.92);
  font-size: 12px;
  font-weight: 950;
}

.element-snapshot-head strong {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
  font-size: 20px;
  line-height: 1.32;
  word-break: keep-all;
}

.element-snapshot-head p {
  margin: 0;
  color: rgba(255, 244, 215, 0.68);
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.55;
  word-break: keep-all;
}

.element-snapshot-body {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.element-snapshot-chart {
  --wood: 36;
  --fire: 18;
  --earth: 18;
  --metal: 12;
  --water: 16;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(7, 22, 36, 0.96) 0 47%, transparent 48%),
    conic-gradient(
      var(--good) 0 calc(var(--wood) * 1%),
      var(--warn) 0 calc((var(--wood) + var(--fire)) * 1%),
      var(--earth) 0 calc((var(--wood) + var(--fire) + var(--earth)) * 1%),
      var(--metal) 0 calc((var(--wood) + var(--fire) + var(--earth) + var(--metal)) * 1%),
      var(--water) 0 100%
    );
  color: #fff4d7;
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 215, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.element-snapshot-chart strong {
  display: grid;
  justify-items: center;
  font-family: var(--font-ui-kr);
  font-size: 25px;
  line-height: 1.15;
}

.element-snapshot-chart small {
  color: rgba(255, 244, 215, 0.68);
  font-family: var(--font-ui-kr);
  font-size: 11px;
  font-weight: 700;
}

.element-snapshot-list {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.element-snapshot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.element-snapshot-badges span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 244, 215, 0.84);
  font-size: 11.2px;
  font-weight: 700;
}

.element-snapshot-bars {
  display: grid;
  gap: 7px;
}

.element-snapshot-row {
  display: grid;
  grid-template-columns: 22px 1fr 34px;
  align-items: center;
  gap: 8px;
  color: rgba(255, 244, 215, 0.76);
  font-size: 11.5px;
  font-weight: 700;
}

.element-snapshot-row i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.element-snapshot-row i b {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--bar);
}

.element-snapshot-card > em {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.13);
  color: #f1cf8c;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 950;
}

.domain-route-board {
  display: grid;
  gap: 12px;
  padding: 16px 15px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 0%, rgba(216, 174, 99, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(7, 22, 36, 0.9), rgba(5, 16, 28, 0.94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.domain-route-head {
  display: grid;
  gap: 5px;
  padding: 1px 2px 2px;
}

.domain-route-head span {
  color: rgba(216, 174, 99, 0.9);
  font-size: 12px;
  font-weight: 950;
}

.domain-route-head strong {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
  font-size: 18px;
  line-height: 1.34;
  word-break: keep-all;
}

.domain-route-head p {
  margin: 0;
  color: rgba(255, 244, 215, 0.62);
  font-size: 11.8px;
  font-weight: 700;
  line-height: 1.52;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.report-entry-board {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(216, 174, 99, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 4%, rgba(216, 174, 99, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(8, 25, 40, 0.94), rgba(5, 16, 28, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.report-entry-head {
  display: grid;
  gap: 3px;
  padding: 1px 2px 2px;
}

.report-entry-head span {
  color: rgba(216, 174, 99, 0.9);
  font-size: 12px;
  font-weight: 950;
}

.report-entry-head strong {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
  font-size: 17px;
  line-height: 1.34;
  word-break: keep-all;
}

.report-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.report-entry-card {
  position: relative;
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(9, 27, 43, 0.76);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.report-entry-card::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid rgba(239, 208, 142, 0.5);
  border-right: 1.5px solid rgba(239, 208, 142, 0.5);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.72;
}

.report-entry-card.report-entry-domains {
  grid-column: 1 / -1;
  min-height: 60px;
  grid-template-columns: 40px minmax(0, 1fr);
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 174, 99, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(216, 174, 99, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(9, 27, 43, 0.84);
}

.report-entry-card:hover,
.report-entry-card:focus-visible {
  border-color: rgba(239, 208, 142, 0.46);
  background:
    linear-gradient(135deg, rgba(216, 174, 99, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(12, 34, 53, 0.88);
  transform: translateY(-1px);
  outline: none;
}

.report-entry-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 174, 99, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(216, 174, 99, 0.12), rgba(216, 174, 99, 0.025));
  color: #e4c17c;
  font-family: var(--font-ui-kr);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.report-entry-card.report-entry-domains .report-entry-symbol {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.report-entry-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding-right: 10px;
}

.report-entry-copy strong {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
  font-size: 15.2px;
  font-weight: 700;
  line-height: 1.28;
  word-break: keep-all;
}

.report-entry-card.report-entry-domains .report-entry-copy strong {
  font-size: 16.4px;
}

.report-entry-copy small {
  color: rgba(255, 244, 215, 0.62);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.domain-direct-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.domain-direct-more {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(216, 174, 99, 0.12);
  padding-top: 10px;
}

.domain-direct-more summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
  color: rgba(255, 244, 215, 0.78);
  cursor: pointer;
  list-style: none;
}

.domain-direct-more summary::-webkit-details-marker {
  display: none;
}

.domain-direct-more summary span {
  color: #fff4d7;
  font-size: 13.5px;
  font-weight: 950;
}

.domain-direct-more summary em {
  min-width: 42px;
  padding: 5px 9px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-align: center;
}

.domain-direct-more summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 244, 215, 0.1);
  border-radius: 999px;
  color: rgba(255, 244, 215, 0.5);
  font-size: 15px;
  font-weight: 950;
}

.domain-direct-more[open] summary::after {
  content: "-";
}

.domain-direct-grid-secondary {
  padding-top: 2px;
}

.domain-direct-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  grid-template-areas: "icon copy score";
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(216, 174, 99, 0.13);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.035);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}

.domain-direct-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(216, 174, 99, 0.28);
}

.domain-direct-card.metric-great::before,
.domain-direct-card.metric-good::before {
  background: rgba(216, 174, 99, 0.44);
}

.domain-direct-card.metric-caution::before,
.domain-direct-card.metric-risk::before {
  background: rgba(176, 106, 92, 0.58);
}

.domain-direct-card .section-symbol {
  grid-area: icon;
  width: 36px;
  height: 36px;
  border-color: rgba(216, 174, 99, 0.3);
  background: rgba(216, 174, 99, 0.075);
  color: #e7c681;
  font-size: 15.5px;
}

.domain-direct-copy {
  grid-area: copy;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.domain-direct-copy strong {
  color: #fff4d7;
  font-size: 15.2px;
  font-weight: 950;
  line-height: 1.28;
  word-break: keep-all;
}

.domain-direct-copy small {
  color: rgba(255, 244, 215, 0.52);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.38;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.domain-direct-score {
  grid-area: score;
  position: static;
  justify-self: end;
  width: fit-content;
  min-width: 46px;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 8px 4px 10px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.075);
}

.domain-direct-score::after {
  content: "›";
  color: rgba(217, 189, 127, 0.76);
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.domain-direct-score em {
  min-width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(217, 189, 127, 0.82);
  font-size: 10.4px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.domain-direct-score b {
  color: #d8c99e;
  font-size: 11.2px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.domain-direct-card.metric-great .domain-direct-score b,
.domain-direct-card.metric-good .domain-direct-score b {
  color: #a8c9d4;
}

.domain-direct-card.metric-caution .domain-direct-score b,
.domain-direct-card.metric-risk .domain-direct-score b {
  color: #d59b8d;
}

.domain-direct-score small {
  display: none;
}

.domain-direct-card.metric-caution .domain-direct-score em,
.domain-direct-card.metric-risk .domain-direct-score em {
  color: #d59b8d;
}

.domain-direct-card.metric-caution .domain-direct-score::after,
.domain-direct-card.metric-risk .domain-direct-score::after {
  color: rgba(213, 155, 141, 0.76);
}

.domain-direct-card.metric-caution .domain-direct-score,
.domain-direct-card.metric-risk .domain-direct-score {
  border-color: rgba(181, 117, 97, 0.12);
  background: rgba(181, 117, 97, 0.055);
}

.domain-route-board .domain-direct-card.metric-great,
.domain-route-board .domain-direct-card.metric-good,
.domain-route-board .domain-direct-card.metric-normal {
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.domain-route-board .domain-direct-card.metric-caution,
.domain-route-board .domain-direct-card.metric-risk {
  background:
    radial-gradient(circle at 100% 0%, rgba(176, 106, 92, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.domain-route-main,
.domain-route-card {
  width: 100%;
  border: 1px solid rgba(74, 57, 37, 0.1);
  background: rgba(255, 255, 255, 0.62);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.domain-route-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 2px;
}

.domain-route-main {
  display: grid;
  align-content: start;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 100px;
  padding: 12px 11px;
  border-radius: 16px;
}

.domain-route-main.is-structure {
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 174, 99, 0.12), transparent 34%),
    rgba(12, 31, 47, 0.08);
}

.domain-route-main strong,
.domain-route-card h3 {
  display: block;
  color: #15120e;
  font-weight: 950;
  line-height: 1.34;
  word-break: keep-all;
}

.domain-route-main small,
.domain-route-card p {
  display: block;
  margin: 4px 0 0;
  color: #675c50;
  font-size: 12.2px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.domain-route-main small {
  -webkit-line-clamp: 2;
}

.domain-route-main em,
.domain-route-card em {
  grid-column: 2;
  justify-self: end;
  min-width: 42px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(12, 31, 47, 0.08);
  color: #3a332b;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-align: center;
  white-space: nowrap;
}

.domain-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.domain-route-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-height: 74px;
  padding: 10px 10px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(24, 20, 16, 0.06);
}

.domain-route-card em {
  grid-column: 2;
  justify-self: start;
  margin-top: 2px;
}

.domain-route-card h3 {
  margin: 0;
  font-size: 14.5px;
}

.domain-route-copy {
  min-width: 0;
}

.domain-route-card.metric-good,
.domain-route-card.metric-great {
  border-left: 4px solid rgba(95, 126, 134, 0.72);
}

.domain-route-card.metric-caution,
.domain-route-card.metric-risk {
  border-left: 4px solid rgba(143, 91, 78, 0.62);
}

.structure-route-mini {
  display: grid;
  gap: 9px;
  padding-top: 3px;
}

.structure-route-mini > span {
  color: #8a6229;
  font-size: 11.5px;
  font-weight: 950;
}

.structure-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.structure-route-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 11px;
  border: 1px solid rgba(74, 57, 37, 0.11);
  border-radius: 15px;
  background:
    radial-gradient(circle at 90% 0%, rgba(216, 174, 99, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.58);
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: 0 8px 22px rgba(24, 20, 16, 0.055);
  cursor: pointer;
}

.structure-route-card b {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(157, 113, 54, 0.22);
  border-radius: 50%;
  background: rgba(12, 31, 47, 0.055);
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 15px;
  font-weight: 950;
}

.structure-route-card strong {
  color: #15120e;
  font-size: 14.5px;
  font-weight: 950;
  line-height: 1.28;
  word-break: keep-all;
}

.structure-route-card small {
  color: #675c50;
  font-size: 11.6px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.analysis-route-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 2px;
}

.analysis-route-card {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
  padding: 11px 10px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.analysis-route-card span {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(138, 98, 41, 0.24);
  border-radius: 50%;
  background: rgba(12, 31, 47, 0.06);
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 15px;
  font-weight: 950;
}

.analysis-route-card strong {
  min-width: 0;
  color: #181410;
  font-size: 13.2px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
}

.analysis-route-card small {
  min-width: 0;
  color: #6d6256;
  font-size: 11.2px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.client-card,
.dark-card,
.paper-card,
.section-card,
.basis-card {
  border-radius: 16px;
}

.client-card,
.dark-card,
.section-card {
  border: 1px solid rgba(216, 174, 99, 0.22);
  background: rgba(9, 28, 43, 0.78);
}

.dark-card {
  display: grid;
  gap: 12px;
  padding: 17px;
}

.client-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  padding: 13px;
}

.avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 174, 99, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-2);
  font-size: 23px;
}

.client-card strong,
.dark-card strong {
  color: #fff2cf;
}

.client-card p,
.dark-card p,
.section-card p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.report-list {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.section-card {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 15px 14px;
  text-align: left;
}

.section-card:hover {
  border-color: rgba(216, 174, 99, 0.52);
}

.section-card-route {
  border-color: rgba(216, 174, 99, 0.42);
  background:
    radial-gradient(circle at 86% 18%, rgba(216, 174, 99, 0.18), transparent 36%),
    rgba(13, 34, 51, 0.88);
}

.section-card-route em {
  color: #f2cf8a;
}

.section-symbol {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 174, 99, 0.36);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 22px;
}

.section-card h3 {
  margin: 0;
  color: #fff7df;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.section-card em {
  color: rgba(216, 174, 99, 0.88);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.report-composition {
  position: relative;
  gap: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 4%, rgba(216, 174, 99, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(10, 31, 48, 0.82), rgba(7, 22, 36, 0.88));
}

.report-composition::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(216, 174, 99, 0.08);
  border-radius: 15px;
  pointer-events: none;
}

.report-composition-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding-bottom: 2px;
}

.report-composition-head span {
  color: rgba(216, 174, 99, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.report-composition-head strong {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
  font-size: 18px;
  line-height: 1.34;
  word-break: keep-all;
}

.report-composition-head p {
  max-width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.5;
  word-break: keep-all;
}

.report-composition .report-list {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  gap: 7px;
}

.report-composition-compact {
  gap: 0;
  padding: 6px 8px;
  border: 1px solid rgba(216, 174, 99, 0.06);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 244, 215, 0.018), rgba(255, 244, 215, 0.008)),
    rgba(6, 20, 33, 0.24);
  box-shadow: none;
}

.report-composition-compact::before {
  display: none;
}

.report-composition-compact > summary {
  position: relative;
  z-index: 1;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 1px 0;
  color: #fff4d7;
  cursor: pointer;
  list-style: none;
}

.report-composition-compact > summary::-webkit-details-marker {
  display: none;
}

.report-composition-compact > summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 174, 99, 0.1);
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.028);
  color: rgba(216, 174, 99, 0.5);
  font-size: 14px;
  font-weight: 700;
}

.report-composition-compact[open] > summary::after {
  content: "−";
}

.report-composition-compact > summary span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.report-composition-compact > summary b {
  font-family: var(--font-ui-kr);
  font-size: 13.6px;
  line-height: 1.3;
}

.report-composition-compact > summary small {
  color: rgba(255, 244, 215, 0.3);
  font-size: 9.6px;
  font-weight: 700;
  line-height: 1.4;
}

.report-composition-compact > summary em {
  margin-left: auto;
  color: rgba(255, 244, 215, 0.28);
  font-size: 9.6px;
  font-style: normal;
  font-weight: 700;
}

.report-composition-compact .report-toc-secondary {
  margin-top: 4px;
  gap: 5px;
}

.report-composition-compact .report-toc-card {
  min-height: 46px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  padding: 7px 8px;
  border-color: rgba(216, 174, 99, 0.09);
  background: rgba(255, 255, 255, 0.022);
}

.report-composition-compact .section-symbol {
  width: 24px;
  height: 24px;
  font-size: 11.5px;
}

.report-composition-compact .report-toc-card.is-featured {
  border-color: rgba(216, 174, 99, 0.12);
  background: rgba(216, 174, 99, 0.028);
}

.report-composition-compact .section-card-copy small {
  display: none;
}

.report-composition .report-toc-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-composition .section-card {
  min-height: 58px;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 10px;
  border-color: rgba(216, 174, 99, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.report-composition .section-card.is-featured {
  border-color: rgba(216, 174, 99, 0.42);
  background:
    linear-gradient(90deg, rgba(216, 174, 99, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(13, 34, 51, 0.78);
}

.report-composition .report-toc-primary .section-card {
  min-height: 82px;
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: start;
  gap: 7px;
  padding: 10px 9px;
}

.report-composition .report-toc-primary .section-symbol {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.report-composition .report-toc-primary .section-card h3 {
  font-size: 12.4px;
  line-height: 1.22;
}

.report-composition .report-toc-primary .section-card p {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9.6px;
  line-height: 1.24;
  -webkit-line-clamp: 1;
}

.report-composition .section-symbol {
  width: 30px;
  height: 30px;
  font-size: 14px;
  background: rgba(216, 174, 99, 0.08);
}

.section-card-copy {
  min-width: 0;
}

.section-card-copy small {
  display: block;
  margin-bottom: 1px;
  color: rgba(216, 174, 99, 0.72);
  font-size: 10px;
  font-weight: 700;
}

.report-composition .section-card h3 {
  font-size: 12.4px;
  line-height: 1.22;
}

.report-composition .section-card p {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10.2px;
  line-height: 1.32;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.report-composition-more {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  border-top: 1px solid rgba(216, 174, 99, 0.14);
  padding-top: 9px;
}

.report-composition-more summary {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 14px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff4d7;
  cursor: pointer;
  list-style: none;
}

.report-composition-more summary::-webkit-details-marker {
  display: none;
}

.report-composition-more summary::after {
  content: "열기";
  flex: 0 0 auto;
  color: rgba(216, 174, 99, 0.8);
  font-size: 11px;
  font-weight: 700;
}

.report-composition-more[open] summary::after {
  content: "닫기";
}

.report-composition-more summary span {
  min-width: 0;
  overflow: hidden;
  color: #fff4d7;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-composition-more summary em {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.report-composition-more .report-list {
  margin-top: 8px;
}

.paper-card {
  padding: 19px;
  border: 1px solid var(--paper-line);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}

.paper-card h2,
.paper-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui-kr);
}

.paper-card h2 {
  font-size: 24px;
}

.paper-card h3 {
  font-size: 19px;
}

.paper-card p {
  margin: 10px 0 0;
  color: #5e5548;
  font-size: 14px;
  line-height: 1.75;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span,
.tag-row button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(157, 113, 54, 0.22);
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.1);
  color: #704e1f;
  font-size: 12px;
  font-weight: 700;
}

.tag-row button {
  cursor: pointer;
}

.domain-chip-row button.is-active {
  border-color: rgba(157, 113, 54, 0.52);
  background: linear-gradient(135deg, rgba(239, 208, 142, 0.58), rgba(216, 174, 99, 0.28));
  color: #2f2214;
}

.domain-picker {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 0 11px 11px;
  border: 1px solid rgba(157, 113, 54, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 174, 99, 0.1), transparent 28%),
    rgba(255, 255, 255, 0.42);
}

.domain-picker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 11px 0 0;
}

.domain-picker-head strong {
  color: #18130e;
  font-family: var(--font-ui-kr);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
}

.domain-picker-head span {
  color: #75695a;
  font-size: 10.8px;
  font-weight: 700;
  line-height: 1.42;
  word-break: keep-all;
  text-align: right;
}

.domain-picker-grid {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 0 11px 1px 0;
  -webkit-overflow-scrolling: touch;
}

.domain-picker-grid::-webkit-scrollbar {
  display: none;
}

.domain-picker-grid button {
  flex: 0 0 142px;
  min-width: 142px;
  min-height: 66px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #241910;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 14px rgba(48, 37, 24, 0.035);
  scroll-snap-align: start;
}

.domain-picker-grid button:hover {
  border-color: rgba(157, 113, 54, 0.38);
  background: rgba(255, 252, 245, 0.86);
}

.domain-picker-grid button.is-active {
  border-color: rgba(157, 113, 54, 0.52);
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 174, 99, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 247, 229, 0.95), rgba(239, 208, 142, 0.3));
  box-shadow: 0 9px 18px rgba(124, 88, 42, 0.1);
}

.domain-picker-symbol {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 113, 54, 0.28);
  border-radius: 50%;
  background: rgba(216, 174, 99, 0.12);
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 13px;
  font-weight: 700;
}

.domain-picker-grid button strong {
  display: block;
  color: #18130e;
  font-size: 12.7px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
}

.domain-picker-grid button small {
  display: block;
  max-width: 78px;
  margin-top: 1px;
  color: #776a5b;
  font-size: 9.7px;
  font-weight: 700;
  line-height: 1.25;
  word-break: keep-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-picker-grid button em {
  display: inline-flex;
  width: fit-content;
  margin-top: 3px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(24, 19, 14, 0.07);
  color: #6d5c49;
  font-size: 8.8px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
}

.domain-landing {
  display: grid;
  gap: 15px;
}

.domain-landing-head {
  display: grid;
  gap: 7px;
}

.domain-landing-head > span {
  color: #8a6229;
  font-size: 12px;
  font-weight: 950;
}

.domain-landing-head h2 {
  margin: 0;
  color: #17120d;
  font-family: var(--font-ui-kr);
  font-size: 22px;
  line-height: 1.34;
}

.domain-landing-head p {
  margin: 0;
  color: #5d5146;
  font-size: 13.2px;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
}

.domain-landing-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.domain-landing-summary span,
.domain-landing-summary button {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border: 1px solid rgba(157, 113, 54, 0.16);
  border-radius: 14px;
  background: rgba(255, 252, 246, 0.72);
  color: #18130e;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
  text-align: left;
}

.domain-landing-summary button {
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.domain-landing-summary button:active {
  transform: translateY(1px);
}

.domain-landing-summary span.is-good,
.domain-landing-summary button.is-good {
  border-color: rgba(83, 125, 132, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(240, 248, 248, 0.68));
}

.domain-landing-summary span.is-caution,
.domain-landing-summary button.is-caution {
  border-color: rgba(151, 88, 76, 0.18);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.86), rgba(251, 243, 239, 0.7));
}

.domain-landing-summary span.is-neutral,
.domain-landing-summary button.is-neutral {
  border-color: rgba(157, 113, 54, 0.16);
  background: rgba(255, 252, 246, 0.78);
}

.domain-landing-summary b {
  color: #8a6229;
  font-size: 11.5px;
}

.domain-landing-summary strong {
  color: #17120d;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.3;
  word-break: keep-all;
}

.domain-landing-summary em {
  color: #6a5b4c;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.domain-landing-grid {
  display: grid;
  gap: 10px;
}

.domain-landing-card {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-left: 4px solid rgba(113, 128, 129, 0.42);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 249, 238, 0.62)),
    rgba(255, 255, 255, 0.68);
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: 0 12px 28px rgba(24, 20, 16, 0.07);
  cursor: pointer;
}

.domain-landing-card.metric-risk,
.domain-landing-card.metric-caution {
  border-left-color: rgba(143, 91, 78, 0.58);
}

.domain-landing-card:hover {
  border-color: rgba(157, 113, 54, 0.34);
  background: rgba(255, 252, 246, 0.88);
}

.domain-landing-card .section-symbol {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(157, 113, 54, 0.2);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.72);
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 18px;
  font-weight: 950;
}

.domain-landing-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.domain-landing-copy strong {
  color: #18130e;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.3;
  word-break: keep-all;
}

.domain-landing-copy small {
  color: #6a5e51;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.domain-landing-side {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 78px;
}

.domain-landing-side b {
  color: #7f5a24;
  font-family: var(--font-ui-kr);
  font-size: 24px;
  line-height: 1;
}

.domain-landing-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(24, 19, 14, 0.08);
  color: #3f3022;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-align: center;
  white-space: nowrap;
}

.domain-landing-side small {
  max-width: 76px;
  color: #8a6229;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.18;
  text-align: right;
  white-space: normal;
  word-break: keep-all;
}

.domain-picker-grid button.is-active em {
  background: rgba(138, 98, 41, 0.14);
  color: #6f4c1d;
}

.domain-picker-grid button.is-active {
  border-color: rgba(138, 98, 41, 0.36);
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 174, 99, 0.18), transparent 34%),
    rgba(255, 250, 239, 0.76);
  box-shadow: inset 0 0 0 1px rgba(138, 98, 41, 0.08);
}

.domain-current-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(157, 113, 54, 0.16);
  border-radius: 14px;
  background: rgba(255, 250, 239, 0.64);
}

.domain-detail-head > .domain-current-route:first-child {
  margin-top: 0;
}

.domain-current-route span {
  color: #857565;
  font-size: 11px;
  font-weight: 700;
}

.domain-current-route strong {
  color: #1f1710;
  font-family: var(--font-ui-kr);
  font-size: 16px;
  font-weight: 950;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-stat {
  min-height: 78px;
  display: grid;
  align-content: space-between;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(74, 57, 37, 0.1);
}

.mini-stat span {
  color: #7b7164;
  font-size: 11.5px;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-stat strong {
  color: #191511;
  font-size: 15.5px;
  line-height: 1.35;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-stat em {
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(31, 29, 25, 0.06);
  color: #6d6256;
  font-size: 10.8px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-stat.is-good {
  border-left: 4px solid rgba(89, 124, 133, 0.58);
}

.mini-stat.is-watch {
  border-left: 4px solid rgba(159, 96, 82, 0.54);
  background: rgba(255, 250, 247, 0.7);
}

.palja-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.pillar {
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 12px 7px;
  border: 1px solid rgba(216, 174, 99, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.pillar small {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 700;
}

.pillar b {
  color: #fff7df;
  font-family: var(--font-ui-kr);
  font-size: 23px;
}

.pillar em {
  color: rgba(216, 174, 99, 0.9);
  font-style: normal;
  font-size: 11px;
}

.element-board {
  display: grid;
  gap: 18px;
}

.element-chart {
  --wood: 36;
  --fire: 18;
  --earth: 18;
  --metal: 12;
  --water: 16;
  width: 178px;
  height: 178px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper) 0 46%, transparent 47%),
    conic-gradient(
      var(--good) 0 calc(var(--wood) * 1%),
      var(--warn) 0 calc((var(--wood) + var(--fire)) * 1%),
      var(--earth) 0 calc((var(--wood) + var(--fire) + var(--earth)) * 1%),
      var(--metal) 0 calc((var(--wood) + var(--fire) + var(--earth) + var(--metal)) * 1%),
      var(--water) 0 100%
    );
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(31, 29, 25, 0.09);
}

.element-chart strong {
  display: grid;
  text-align: center;
  font-family: var(--font-ui-kr);
  font-size: 22px;
  line-height: 1.25;
}

.element-bars {
  display: grid;
  gap: 10px;
}

.element-row {
  display: grid;
  grid-template-columns: 44px 1fr 42px;
  align-items: center;
  gap: 10px;
  color: #5c5144;
  font-size: 13px;
}

.element-row i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 29, 25, 0.09);
}

.element-row i b {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--bar);
}

.topic-grid,
.detail-grid,
.factor-grid,
.metric-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.metric-grid {
  grid-template-columns: 1fr;
}

.metric-grid-detail {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 10px;
}

.metric-grid-detail .metric-card {
  min-height: 148px;
  gap: 9px;
  padding: 13px 12px;
}

.metric-grid-detail .metric-card.is-wide {
  grid-column: 1 / -1;
  min-height: 126px;
  padding: 14px 15px;
}

.metric-grid-detail .metric-card header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.metric-grid-detail .metric-card.is-wide header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.metric-grid-detail .metric-card header em {
  justify-self: end;
}

.metric-grid-detail .metric-card.is-wide header em {
  justify-self: end;
  min-width: 58px;
  padding-right: 10px;
  padding-left: 10px;
}

.metric-grid-detail .metric-card header strong {
  font-size: 14.4px;
  line-height: 1.34;
  overflow-wrap: break-word;
}

.metric-grid-detail .metric-card.is-wide header strong {
  font-size: 16px;
  line-height: 1.35;
}

.metric-grid-detail .metric-card header em {
  min-width: auto;
  max-width: 100%;
  padding: 4px 7px;
  font-size: 10.2px;
  line-height: 1.15;
}

.metric-grid-detail .metric-card p {
  font-size: 12.2px;
  line-height: 1.58;
}

.metric-grid-detail .metric-card.is-wide p {
  font-size: 12.8px;
  line-height: 1.62;
}

.domain-subhead {
  display: grid;
  gap: 3px;
  margin-top: 20px;
}

.domain-subhead strong,
.metric-expand summary {
  color: #18130e;
  font-family: var(--font-ui-kr);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.domain-subhead span {
  color: #75695a;
  font-size: 12px;
  line-height: 1.55;
  word-break: keep-all;
}

.metric-expand {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(138, 98, 41, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.84), rgba(245, 236, 220, 0.56));
  box-shadow: 0 14px 34px rgba(30, 21, 11, 0.06);
}

.metric-expand summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 2px 2px 0;
  cursor: pointer;
  list-style: none;
}

.metric-expand summary::-webkit-details-marker {
  display: none;
}

.metric-expand summary::after {
  content: "열기";
  flex: 0 0 auto;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  text-align: center;
  color: #8a6229;
  background: rgba(199, 149, 74, 0.13);
  font-family: var(--font-ui-kr);
  font-size: 11px;
  font-weight: 700;
}

.metric-expand[open] summary::after {
  content: "닫기";
}

.metric-expand:not([open]) > .metric-expand-note,
.metric-expand:not([open]) > .metric-detail-groups {
  display: none;
}

.metric-expand summary span {
  min-width: 0;
  color: #18130e;
  font-family: var(--font-ui-kr);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
}

.metric-expand summary em {
  flex: 0 0 auto;
  margin-left: auto;
  color: #7b6b57;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.metric-expand-note {
  margin: 6px 0 0;
  color: #75695a;
  font-size: 12px;
  line-height: 1.55;
  word-break: keep-all;
}

.metric-detail-groups {
  display: grid;
  gap: 13px;
  margin-top: 12px;
}

.metric-detail-overview {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border: 1px solid rgba(138, 98, 41, 0.12);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(250, 244, 232, 0.86), rgba(255, 255, 255, 0.48));
}

.metric-detail-overview strong {
  color: #17130e;
  font-family: var(--font-ui-kr);
  font-size: 14.2px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
}

.metric-detail-overview span {
  color: #5f564b;
  font-size: 12.2px;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
}

.metric-detail-group {
  display: grid;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(74, 57, 37, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.metric-detail-group.is-strong {
  border-left: 3px solid rgba(81, 115, 122, 0.68);
}

.metric-detail-group.is-watch {
  border-left: 3px solid rgba(139, 87, 76, 0.58);
}

.metric-detail-group.is-balanced {
  border-left: 3px solid rgba(165, 126, 63, 0.46);
}

.metric-detail-group-head {
  display: grid;
  gap: 3px;
  padding: 0 1px 2px;
}

.metric-detail-group-head strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #17130e;
  font-family: var(--font-ui-kr);
  font-size: 14.4px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
}

.metric-detail-group-head strong em {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(74, 57, 37, 0.06);
  color: #8a724d;
  font-family: var(--font-ui-kr);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
}

.metric-detail-group-head span {
  color: #6a5f53;
  font-size: 11.6px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

.topic-card,
.detail-block,
.factor-block {
  padding: 14px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
}

.detail-block {
  display: grid;
  gap: 10px;
}

.detail-block header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.detail-block header strong {
  min-width: 0;
  word-break: keep-all;
}

.detail-level {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(31, 29, 25, 0.12);
  border-radius: 999px;
  color: #1d1a15;
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.detail-metric-label {
  color: #827765;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.detail-block p {
  margin: 0;
}

.detail-action {
  padding: 10px 11px;
  border-radius: 11px;
  background: rgba(31, 29, 25, 0.045);
  color: #4e463b;
  font-size: 13px;
  line-height: 1.58;
  word-break: keep-all;
}

.detail-interpretation,
.detail-basis {
  color: #4f473c;
  font-size: 13px;
  line-height: 1.62;
  word-break: keep-all;
}

.detail-basis {
  padding: 9px 10px;
  border: 1px solid rgba(74, 57, 37, 0.08);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.58);
  color: #665b4d;
  font-size: 12.4px;
}

.detail-part-label {
  display: inline-flex;
  align-items: center;
  margin-right: 7px;
  padding: 2px 6px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 999px;
  background: rgba(31, 29, 25, 0.04);
  color: #352d23;
  font-size: 10.5px;
  font-weight: 950;
  line-height: 1.2;
  vertical-align: 1px;
  white-space: nowrap;
}

.detail-watch .detail-action,
.detail-risk .detail-action,
.detail-caution .detail-action {
  background: rgba(151, 88, 76, 0.08);
}

.domain-detail-head {
  overflow: hidden;
}

.domain-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px;
}

.domain-title-row h2 {
  word-break: keep-all;
}

.domain-score {
  width: 72px;
  min-height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(157, 113, 54, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(216, 174, 99, 0.12)),
    conic-gradient(from 210deg, rgba(157, 113, 54, 0.2), rgba(157, 113, 54, 0.03), rgba(157, 113, 54, 0.24));
}

.domain-score strong {
  color: #7f5a24;
  font-family: var(--font-ui-kr);
  font-size: 25px;
  line-height: 1;
}

.domain-score span {
  color: #6a5a46;
  font-size: 11px;
  font-weight: 700;
}

.domain-quick-brief {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.domain-quick-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(68px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 10px;
  width: 100%;
  padding: 12px 14px 12px 15px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(48, 37, 24, 0.045);
}

.domain-quick-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(113, 128, 129, 0.44);
}

.domain-quick-row.metric-great::before,
.domain-quick-row.metric-good::before {
  background: rgba(83, 125, 132, 0.62);
}

.domain-quick-row.metric-caution::before,
.domain-quick-row.metric-risk::before {
  background: rgba(151, 88, 76, 0.62);
}

.domain-quick-row span {
  color: #8a6229;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.domain-quick-row strong {
  min-width: 0;
  color: #15120e;
  font-size: 15.2px;
  font-weight: 950;
  line-height: 1.34;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.domain-quick-row em {
  justify-self: end;
  padding: 4px 9px;
  border: 1px solid rgba(83, 125, 132, 0.18);
  border-radius: 999px;
  background: rgba(238, 247, 247, 0.78);
  color: #45656b;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.domain-quick-row.metric-caution em,
.domain-quick-row.metric-risk em {
  border-color: rgba(151, 88, 76, 0.2);
  background: rgba(251, 243, 239, 0.86);
  color: #875248;
}

.domain-quick-row p {
  grid-column: 2 / -1;
  margin: -2px 0 0;
  color: #665b4f;
  font-size: 12.2px;
  font-weight: 700;
  line-height: 1.5;
  word-break: keep-all;
}

.domain-reading-guide {
  display: grid;
  gap: 9px;
  margin: 12px -2px 0;
  padding: 11px 0 11px 11px;
  border: 1px solid rgba(138, 98, 41, 0.11);
  border-radius: 16px;
  background:
    radial-gradient(circle at 94% 0%, rgba(216, 174, 99, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.36);
}

.domain-reading-guide.is-segmented {
  gap: 10px;
  margin: 15px 0 0;
  padding: 13px;
  border: 1px solid rgba(138, 98, 41, 0.12);
  border-radius: 17px;
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 174, 99, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.74), rgba(248, 239, 221, 0.44));
  box-shadow: 0 10px 24px rgba(42, 31, 18, 0.045);
}

.domain-focus-board {
  display: grid;
  gap: 10px;
  margin: 13px -2px 0;
  padding: 12px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 250, 238, 0.86), rgba(248, 239, 220, 0.58)),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 26px rgba(51, 39, 24, 0.055);
}

.domain-focus-head {
  display: grid;
  gap: 3px;
}

.domain-focus-head span {
  color: #9b7135;
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.domain-focus-head strong {
  color: #17130e;
  font-family: var(--font-ui-kr);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
}

.domain-focus-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.domain-focus-strip::-webkit-scrollbar {
  display: none;
}

.domain-focus-strip button {
  flex: 0 0 124px;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 108px;
  padding: 11px 10px;
  border: 1px solid rgba(138, 98, 41, 0.14);
  border-radius: 13px;
  background:
    radial-gradient(circle at 88% 0%, rgba(216, 174, 99, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.66);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.domain-focus-strip em {
  color: #a98249;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.domain-focus-strip strong {
  color: #15120e;
  font-size: 13.2px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
}

.domain-focus-strip small {
  color: #655a4f;
  font-size: 10.8px;
  font-weight: 700;
  line-height: 1.48;
  word-break: keep-all;
}

.domain-reading-head {
  display: grid;
  gap: 3px;
  padding: 0 11px 0 0;
}

.domain-reading-guide.is-segmented .domain-reading-head {
  display: grid;
  gap: 3px;
  padding: 0;
}

.domain-reading-head strong {
  color: #17130e;
  font-family: var(--font-ui-kr);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
  white-space: nowrap;
}

.domain-reading-head span {
  color: #6b5f52;
  font-size: 10.8px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

.domain-reading-guide.is-segmented .domain-reading-head span {
  color: #867868;
  text-align: left;
}

.domain-reading-path {
  display: flex;
  gap: 7px;
  padding: 0 11px 1px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.domain-reading-guide.is-segmented .domain-reading-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.domain-reading-path::-webkit-scrollbar {
  display: none;
}

.domain-reading-path button {
  position: relative;
  flex: 0 0 auto;
  min-width: 104px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.domain-reading-guide.is-segmented .domain-reading-path button {
  min-width: 0;
  min-height: 96px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 7px 8px;
  padding: 11px 12px;
  border-color: rgba(138, 98, 41, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 14px rgba(41, 31, 20, 0.035);
}

.domain-reading-guide.is-segmented .domain-reading-path button.is-overview {
  border-color: rgba(138, 98, 41, 0.34);
  background:
    radial-gradient(circle at 85% 12%, rgba(216, 174, 99, 0.18), transparent 36%),
    rgba(255, 250, 239, 0.82);
}

.domain-reading-path button::after {
  content: none;
}

.domain-reading-path button.is-detail {
  border-color: rgba(138, 98, 41, 0.18);
  background: rgba(255, 255, 255, 0.66);
}

.domain-reading-path span {
  min-width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(157, 113, 54, 0.12);
  color: #8a6229;
  font-size: 10.5px;
  font-weight: 950;
  white-space: nowrap;
}

.domain-reading-guide.is-segmented .domain-reading-path span {
  min-width: 21px;
  height: 21px;
  background: rgba(157, 113, 54, 0.13);
  font-family: var(--font-ui-kr);
  font-size: 10px;
}

.domain-reading-path strong {
  color: #16120d;
  font-size: 12.3px;
  font-weight: 950;
  line-height: 1.36;
  word-break: keep-all;
  white-space: nowrap;
}

.domain-reading-guide.is-segmented .domain-reading-path strong {
  min-width: 0;
  font-size: 12.4px;
  line-height: 1.32;
  white-space: normal;
}

.domain-reading-path p {
  display: none;
  margin: 0;
  color: #6a5d50;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

.domain-reading-guide.is-segmented .domain-reading-path p {
  display: block;
  grid-column: 1 / -1;
  color: #6a5d50;
  font-size: 10.8px;
  font-weight: 700;
  line-height: 1.48;
}

.section-verdict-summary {
  display: grid;
  gap: 11px;
  margin-top: 15px;
}

.section-verdict-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.section-verdict-row article {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 12px 13px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.56);
}

.section-verdict-row article:first-child {
  grid-column: 1 / -1;
  min-height: 74px;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.section-verdict-row article:first-child span,
.section-verdict-row article:first-child em {
  grid-column: 1;
}

.section-verdict-row article:first-child strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-ui-kr);
  font-size: 31px;
}

.section-verdict-row span {
  color: #8a6229;
  font-size: 11px;
  font-weight: 700;
}

.section-verdict-row strong {
  color: #15120e;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.section-verdict-row em {
  color: #5d5146;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.section-verdict-copy {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.section-verdict-copy p {
  margin: 0;
  color: #51483d;
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}

.section-verdict-copy b {
  display: inline-block;
  margin-right: 8px;
  color: #18130e;
  font-size: 14px;
  font-weight: 950;
}

.section-verdict-copy .section-verdict-basis {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(74, 57, 37, 0.08);
  color: #71685f;
  font-size: 12.2px;
  line-height: 1.58;
}

.section-verdict-copy .section-verdict-basis b {
  color: #4f463b;
  font-size: 12.6px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(48, 37, 24, 0.05);
}

.metric-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.metric-card header strong {
  color: #15120e;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.34;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.metric-card header em,
.metric-level-badge {
  min-width: 48px;
  justify-self: end;
  padding: 5px 8px;
  border: 1px solid rgba(83, 125, 132, 0.18);
  border-radius: 999px;
  background: rgba(238, 247, 247, 0.78);
  color: #45656b;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 2px 8px rgba(75, 130, 148, 0.06);
}

.metric-level-badge {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 25px;
  line-height: 1;
  vertical-align: middle;
}

.metric-level-badge span,
.metric-level-badge small {
  display: block;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.metric-level-badge small {
  color: rgba(69, 101, 107, 0.74);
  font-size: 10px;
  font-weight: 700;
}

.metric-caution header em,
.metric-risk header em,
.metric-caution .metric-level-badge,
.metric-risk .metric-level-badge {
  border-color: rgba(151, 88, 76, 0.2);
  background: rgba(251, 243, 239, 0.86);
  color: #875248;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 2px 8px rgba(174, 75, 66, 0.06);
}

.metric-caution .metric-level-badge small,
.metric-risk .metric-level-badge small {
  color: rgba(135, 82, 72, 0.72);
}

.metric-card p {
  color: #5f5448;
  font-size: 13px;
  line-height: 1.62;
  word-break: keep-all;
}

.metric-card .metric-action-copy {
  margin-top: 9px;
  color: #51473c;
}

.metric-card::before,
.domain-detail-head::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(113, 128, 129, 0.44);
}

.metric-great::before,
.metric-good::before {
  background: rgba(83, 125, 132, 0.62);
}

.metric-caution::before,
.metric-risk::before {
  background: rgba(151, 88, 76, 0.6);
}

.metric-great {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(238, 247, 247, 0.62));
}

.metric-good {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(242, 248, 248, 0.56));
}

.metric-caution,
.metric-risk {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.7), rgba(251, 243, 239, 0.62));
}

.metric-bar {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(31, 29, 25, 0.06);
  background:
    linear-gradient(90deg, rgba(146, 72, 67, 0.12), rgba(76, 95, 96, 0.08), rgba(47, 104, 126, 0.11)),
    rgba(31, 29, 25, 0.06);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.34),
    inset 0 -1px 1px rgba(31, 29, 25, 0.05);
}

.metric-bar i {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(47, 91, 112, 0.96), rgba(102, 153, 166, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 11px rgba(58, 118, 145, 0.24);
}

.metric-bar::before,
.metric-bar::after,
.metric-bar b {
  display: none;
}

.metric-caution .metric-bar i,
.metric-risk .metric-bar i {
  background: linear-gradient(90deg, rgba(140, 59, 54, 0.96), rgba(197, 103, 89, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 0 11px rgba(174, 75, 66, 0.24);
}

.metric-normal .metric-bar i {
  background: linear-gradient(90deg, rgba(105, 111, 109, 0.9), rgba(159, 166, 160, 0.68));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 7px rgba(103, 108, 105, 0.1);
}

.evidence-drawer {
  border: 1px solid rgba(157, 113, 54, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(250, 241, 226, 0.9));
  box-shadow: var(--shadow-paper);
}

.evidence-drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 0 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-ui-kr);
  font-size: 18px;
  font-weight: 700;
}

.evidence-drawer summary::-webkit-details-marker {
  display: none;
}

.evidence-drawer summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 113, 54, 0.2);
  border-radius: 50%;
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 17px;
}

.evidence-drawer[open] summary::after {
  content: "-";
}

.evidence-drawer summary small {
  margin-left: auto;
  color: #8b7d6a;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.evidence-drawer-body {
  padding: 0 17px 17px;
}

.evidence-drawer-body > p,
.evidence-more-note {
  margin: 0;
  color: #625546;
  font-size: 13px;
  line-height: 1.68;
}

.evidence-more-note {
  margin-top: 12px;
  color: #8b7d6a;
}

.topic-card header,
.factor-block header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.operation-profile {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(74, 57, 37, 0.08);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.62);
}

.operation-profile-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 10px;
  align-items: center;
}

.operation-profile-item span {
  color: #6c6255;
  font-size: 12px;
  font-weight: 700;
}

.operation-profile-item strong {
  color: #25211a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.operation-profile-item .metric-bar {
  grid-column: 1 / -1;
  height: 6px;
}

.topic-card strong,
.detail-block strong,
.factor-block strong {
  color: var(--ink);
  font-size: 15px;
}

.topic-card em {
  color: #9b6b2a;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.timing-preview-board {
  gap: 13px;
}

.timing-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 5px 10px;
}

.timing-preview-head span {
  grid-column: 1 / -1;
  color: rgba(216, 174, 99, 0.9);
  font-size: 12px;
  font-weight: 950;
}

.timing-preview-head strong {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
  font-size: 18px;
  line-height: 1.35;
}

.timing-preview-head em {
  justify-self: end;
  padding: 4px 8px;
  border: 1px solid rgba(216, 174, 99, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 244, 215, 0.75);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.timing-preview-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.timing-preview-column {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 244, 215, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.timing-preview-column.is-good {
  border-left: 4px solid rgba(139, 178, 184, 0.82);
}

.timing-preview-column.is-caution {
  border-left: 4px solid rgba(204, 128, 103, 0.78);
}

.timing-preview-column > strong {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
  font-size: 15px;
  font-weight: 950;
}

.timing-preview-column > p {
  margin: 0;
  color: rgba(255, 244, 215, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.timing-year-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timing-year-pills b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(216, 174, 99, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff4d7;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.timing-preview-column.is-good .timing-year-pills b,
.timing-inline-column.is-good .timing-year-pills b {
  border-color: rgba(83, 125, 132, 0.24);
  background: rgba(83, 125, 132, 0.13);
  color: #d9f0ef;
}

.timing-preview-column.is-caution .timing-year-pills b,
.timing-inline-column.is-caution .timing-year-pills b {
  border-color: rgba(176, 106, 92, 0.25);
  background: rgba(176, 106, 92, 0.13);
  color: #f1d3c9;
}

.timing-preview-mini {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.timing-preview-mini span {
  color: rgba(255, 244, 215, 0.58);
  font-size: 10.6px;
  font-weight: 700;
}

.timing-preview-mini strong {
  color: #fff8e8;
  font-size: 13.2px;
  font-weight: 950;
  line-height: 1.36;
  word-break: keep-all;
}

.timing-preview-mini em {
  color: rgba(241, 207, 140, 0.92);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.timing-preview-mini p {
  margin: 0;
  color: rgba(255, 244, 215, 0.7);
  font-size: 11.5px;
  line-height: 1.48;
  word-break: keep-all;
}

.timing-preview-link {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(216, 174, 99, 0.3);
  border-radius: 13px;
  background: rgba(216, 174, 99, 0.12);
  color: #f8dda4;
  font-size: 13px;
  font-weight: 950;
}

.timing-preview-link:active {
  transform: translateY(1px);
}

.timing-summary-board,
.timing-event-column,
.timing-domain-years {
  overflow: hidden;
}

.timing-summary-grid {
  display: grid;
  gap: 10px;
}

.timing-summary-grid-inline {
  margin-top: 12px;
}

.timing-summary-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.timing-summary-grid article.is-good {
  border-color: rgba(83, 125, 132, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(239, 248, 248, 0.58));
}

.timing-summary-grid article.is-caution {
  border-color: rgba(151, 88, 76, 0.18);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.7), rgba(251, 243, 239, 0.62));
}

.timing-summary-grid span,
.timing-domain-cell span {
  color: rgba(62, 51, 40, 0.58);
  font-size: 11px;
  font-weight: 700;
}

.timing-summary-grid strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.timing-summary-grid em {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 30, 45, 0.06);
  color: #5b4b3a;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.timing-summary-grid p {
  margin: 0;
  color: #5f5448;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.timing-inline-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.timing-inline-column {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.56);
}

.timing-inline-column.is-good {
  border-color: rgba(83, 125, 132, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(239, 248, 248, 0.52));
}

.timing-inline-column.is-caution {
  border-color: rgba(151, 88, 76, 0.16);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.72), rgba(251, 243, 239, 0.58));
}

.timing-inline-column > strong {
  color: #18130e;
  font-family: var(--font-ui-kr);
  font-size: 15.5px;
  font-weight: 950;
}

.timing-inline-column article {
  display: grid;
  gap: 4px;
  padding-top: 9px;
  border-top: 1px solid rgba(74, 57, 37, 0.08);
}

.timing-inline-column article:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.timing-inline-column span {
  color: rgba(62, 51, 40, 0.58);
  font-size: 10.8px;
  font-weight: 700;
}

.timing-inline-column b {
  color: var(--ink);
  font-size: 13.8px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
}

.timing-inline-column p {
  margin: 0;
  color: #625546;
  font-size: 11.8px;
  line-height: 1.48;
  word-break: keep-all;
}

.timing-inline-column .timing-year-pills b {
  background: rgba(24, 19, 14, 0.035);
  color: var(--ink);
}

.timing-year-board {
  display: grid;
  gap: 14px;
}

.timing-decade-board > p {
  margin: 0;
  color: #675b4e;
  font-size: 13px;
  line-height: 1.58;
  word-break: keep-all;
}

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

.timing-decade-row {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.timing-decade-row > strong {
  color: var(--ink);
  font-family: var(--font-ui-kr);
  font-size: 16px;
  font-weight: 950;
}

.timing-decade-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.timing-decade-cell {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 11px;
  border: 1px solid rgba(74, 57, 37, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
}

.timing-decade-cell.is-good {
  border-color: rgba(83, 125, 132, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(239, 248, 248, 0.52));
}

.timing-decade-cell.is-caution {
  border-color: rgba(151, 88, 76, 0.16);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.72), rgba(251, 243, 239, 0.58));
}

.timing-decade-cell > b {
  color: rgba(62, 51, 40, 0.64);
  font-size: 11.3px;
  font-weight: 950;
}

.timing-decade-cell > em {
  color: rgba(62, 51, 40, 0.48);
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
}

.timing-decade-cell .timing-year-pills {
  gap: 6px;
}

.timing-decade-cell .timing-year-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 6px 9px;
  border: 1px solid rgba(74, 57, 37, 0.08);
  border-radius: 999px;
  background: rgba(24, 19, 14, 0.035);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 950;
  line-height: 1.1;
}

.timing-decade-cell.is-good .timing-year-pills span {
  border-color: rgba(83, 125, 132, 0.2);
  background: rgba(83, 125, 132, 0.08);
  color: #486a70;
}

.timing-decade-cell.is-caution .timing-year-pills span {
  border-color: rgba(151, 88, 76, 0.2);
  background: rgba(151, 88, 76, 0.08);
  color: #8a5b52;
}

.timing-event-grid {
  display: grid;
  gap: 11px;
}

.timing-flow-timeline {
  overflow: hidden;
}

.timing-flow-timeline > header {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.timing-flow-timeline > header span {
  width: max-content;
  padding: 4px 9px;
  border: 1px solid rgba(157, 113, 54, 0.18);
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.1);
  color: #7a5623;
  font-size: 11px;
  font-weight: 950;
}

.timing-flow-timeline > header p {
  max-width: 28em;
}

.timing-flow-list {
  position: relative;
  display: grid;
  gap: 13px;
  padding-left: 12px;
}

.timing-flow-list::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, rgba(83, 125, 132, 0.42), rgba(157, 113, 54, 0.18), rgba(151, 88, 76, 0.4));
}

.timing-flow-list article {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
}

.timing-flow-list article > i {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  margin-top: 15px;
  border: 3px solid var(--paper);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(74, 57, 37, 0.08);
}

.timing-flow-list article.is-good > i {
  background: #5f8288;
}

.timing-flow-list article.is-caution > i {
  background: #9c655b;
}

.timing-flow-list article > div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 24px rgba(48, 37, 24, 0.04);
}

.timing-flow-list article.is-good > div {
  border-color: rgba(83, 125, 132, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(239, 248, 248, 0.58));
}

.timing-flow-list article.is-caution > div {
  border-color: rgba(151, 88, 76, 0.18);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.74), rgba(251, 243, 239, 0.62));
}

.timing-flow-list header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.timing-flow-list header strong {
  color: #5f5448;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.3;
}

.timing-flow-list header em {
  min-width: 42px;
  padding: 5px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.timing-flow-list article.is-good header em {
  border: 1px solid rgba(83, 125, 132, 0.18);
  background: rgba(238, 247, 247, 0.82);
  color: #45656b;
}

.timing-flow-list article.is-caution header em {
  border: 1px solid rgba(151, 88, 76, 0.2);
  background: rgba(251, 243, 239, 0.86);
  color: #875248;
}

.timing-flow-list b {
  color: #16120e;
  font-size: 16.5px;
  font-weight: 950;
  line-height: 1.36;
  word-break: keep-all;
}

.timing-flow-list p {
  margin: 0;
  color: #5f5448;
  font-size: 12.7px;
  line-height: 1.62;
  word-break: keep-all;
}

.timing-flow-list .tag-row {
  margin-top: 2px;
}

.timing-event-card {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 15px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(48, 37, 24, 0.045);
}

.timing-event-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 15px 0 0 15px;
}

.timing-event-card.is-good::before {
  background: rgba(83, 125, 132, 0.62);
}

.timing-event-card.is-caution::before {
  background: rgba(151, 88, 76, 0.62);
}

.timing-event-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.timing-event-card header span {
  color: #6f5f4d;
  font-size: 12px;
  font-weight: 700;
}

.timing-event-card header em {
  min-width: 42px;
  padding: 5px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.domain-landing-side small {
  max-width: 92px;
  color: #8a6229;
  font-size: 10.6px;
  font-weight: 950;
  line-height: 1.18;
  text-align: right;
  white-space: normal;
  word-break: keep-all;
}

.timing-event-card.is-good header em {
  border: 1px solid rgba(83, 125, 132, 0.18);
  background: rgba(238, 247, 247, 0.78);
  color: #45656b;
}

.timing-event-card.is-caution header em {
  border: 1px solid rgba(151, 88, 76, 0.2);
  background: rgba(251, 243, 239, 0.86);
  color: #875248;
}

.timing-event-card > strong {
  color: #16120e;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.35;
  word-break: keep-all;
}

.timing-event-card > p {
  margin: 0;
  color: #5f5448;
  font-size: 13px;
  line-height: 1.68;
  word-break: keep-all;
}

.timing-event-card > small {
  color: rgba(62, 51, 40, 0.54);
  font-size: 11px;
  font-weight: 700;
}

.timing-domain-list {
  display: grid;
  gap: 12px;
}

.timing-domain-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.54);
}

.timing-domain-row h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui-kr);
  font-size: 17px;
}

.timing-domain-row > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.timing-domain-cell {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border-radius: 13px;
}

.timing-domain-cell.is-good {
  border: 1px solid rgba(83, 125, 132, 0.16);
  background: rgba(239, 248, 248, 0.58);
}

.timing-domain-cell.is-caution {
  border: 1px solid rgba(151, 88, 76, 0.17);
  background: rgba(251, 243, 239, 0.64);
}

.timing-domain-cell strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.34;
  word-break: keep-all;
}

.timing-domain-cell p {
  margin: 0;
  color: #625546;
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.daeun-strip {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.daeun-strip article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(74, 57, 37, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.46);
}

.daeun-strip article.is-current {
  border-color: rgba(157, 113, 54, 0.34);
  background: rgba(216, 174, 99, 0.13);
}

.daeun-strip strong {
  color: var(--ink);
  font-size: 14px;
}

.daeun-strip em {
  color: #8a6229;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.daeun-strip span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 30, 45, 0.08);
  color: #2d4050;
  font-size: 11px;
  font-weight: 700;
}

.contract-card {
  display: grid;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(157, 113, 54, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(216, 174, 99, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(250, 241, 226, 0.94));
  box-shadow: var(--shadow-paper);
}

.contract-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui-kr);
  font-size: 21px;
}

.contract-card p {
  margin: 0;
  color: #625546;
  font-size: 13px;
  line-height: 1.7;
}

.gyeokguk-focus-card {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 17px;
  border: 1px solid rgba(157, 113, 54, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 13%, rgba(216, 174, 99, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 251, 242, 0.98), rgba(239, 226, 204, 0.9));
  box-shadow: var(--shadow-paper);
}

.gyeokguk-focus-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.gyeokguk-focus-seal {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 113, 54, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(216, 174, 99, 0.2)),
    rgba(255, 255, 255, 0.45);
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 23px;
  font-weight: 700;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.28);
}

.gyeokguk-focus-head span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(157, 113, 54, 0.11);
  color: #8a6229;
  font-size: 11px;
  font-weight: 700;
}

.gyeokguk-focus-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui-kr);
  font-size: 23px;
  line-height: 1.26;
}

.gyeokguk-focus-head p {
  margin: 7px 0 0;
  color: #5e5246;
  font-size: 13px;
  line-height: 1.72;
  word-break: keep-all;
}

.gyeokguk-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.gyeokguk-focus-grid article {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.gyeokguk-focus-grid span {
  color: rgba(62, 51, 40, 0.54);
  font-size: 11px;
  font-weight: 700;
}

.gyeokguk-focus-grid strong {
  color: #15120e;
  font-size: 15px;
  line-height: 1.32;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.gyeokguk-focus-grid p {
  color: #655849;
  font-size: 12px;
  line-height: 1.62;
  word-break: keep-all;
}

.structure-focus-card {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 17px;
  border: 1px solid rgba(157, 113, 54, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 13%, rgba(216, 174, 99, 0.17), transparent 28%),
    linear-gradient(145deg, rgba(255, 251, 242, 0.98), rgba(239, 226, 204, 0.9));
  box-shadow: var(--shadow-paper);
}

.structure-focus-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.structure-focus-seal {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 113, 54, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(216, 174, 99, 0.2)),
    rgba(255, 255, 255, 0.45);
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 23px;
  font-weight: 700;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.28);
}

.structure-focus-head span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(157, 113, 54, 0.11);
  color: #8a6229;
  font-size: 11px;
  font-weight: 700;
}

.structure-focus-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui-kr);
  font-size: 23px;
  line-height: 1.26;
}

.structure-focus-head p {
  margin: 7px 0 0;
  color: #5e5246;
  font-size: 13px;
  line-height: 1.72;
  word-break: keep-all;
}

.structure-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.structure-focus-grid article {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.structure-focus-grid span {
  color: rgba(62, 51, 40, 0.54);
  font-size: 11px;
  font-weight: 700;
}

.structure-focus-grid strong {
  color: #15120e;
  font-size: 15px;
  line-height: 1.32;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.structure-focus-grid p {
  color: #655849;
  font-size: 12px;
  line-height: 1.62;
  word-break: keep-all;
}

.structure-focus-temperature .structure-focus-seal {
  color: #46626f;
  border-color: rgba(70, 98, 111, 0.3);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.84), rgba(105, 136, 151, 0.16)),
    rgba(255, 255, 255, 0.45);
}

.structure-focus-elements .structure-focus-seal {
  color: #4f6f52;
  border-color: rgba(79, 111, 82, 0.3);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.84), rgba(112, 143, 105, 0.16)),
    rgba(255, 255, 255, 0.45);
}

.structure-focus-contextual .structure-focus-seal {
  color: #725625;
  border-color: rgba(157, 113, 54, 0.34);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.86), rgba(216, 174, 99, 0.2)),
    rgba(255, 255, 255, 0.45);
}

.structure-reading-guide {
  margin-top: 10px;
}

.structure-reading-guide.is-segmented .domain-reading-path {
  display: flex;
  gap: 7px;
  padding: 1px 2px 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.structure-reading-guide.is-segmented .domain-reading-path button,
.structure-reading-path button {
  min-width: 112px;
  min-height: 50px;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 5px 7px;
  padding: 9px 11px;
  border-color: rgba(138, 98, 41, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 5px 12px rgba(41, 31, 20, 0.03);
}

.structure-reading-guide.is-segmented .domain-reading-path button.is-overview {
  border-color: rgba(138, 98, 41, 0.26);
  background:
    radial-gradient(circle at 82% 14%, rgba(216, 174, 99, 0.13), transparent 40%),
    rgba(255, 250, 239, 0.76);
}

.structure-reading-guide.is-segmented .domain-reading-path span {
  min-width: 20px;
  height: 20px;
}

.structure-reading-guide.is-segmented .domain-reading-path strong {
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.structure-reading-guide.is-segmented .domain-reading-path p {
  display: none;
}

.structure-reading-guide.is-structure-flow {
  gap: 6px;
  margin: 10px 0 0;
  padding: 7px 1px 2px;
  border: 0;
  border-top: 1px solid rgba(216, 174, 99, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.structure-reading-guide.is-structure-flow .domain-reading-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
}

.structure-reading-guide.is-structure-flow .domain-reading-head strong {
  flex: 0 0 auto;
  color: rgba(255, 244, 215, 0.66);
  font-size: 11.4px;
}

.structure-reading-guide.is-structure-flow .domain-reading-head span {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 244, 215, 0.32);
  font-size: 9.8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.structure-reading-guide.is-structure-flow .domain-reading-path {
  display: flex;
  gap: 6px;
  padding: 0 2px 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.structure-reading-guide.is-structure-flow .domain-reading-path button {
  min-width: auto;
  min-height: 32px;
  display: inline-flex;
  gap: 5px;
  padding: 6px 8px;
  border-color: rgba(216, 174, 99, 0.1);
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.032);
  box-shadow: none;
}

.structure-reading-guide.is-structure-flow .domain-reading-path button.is-detail {
  border-color: rgba(216, 174, 99, 0.16);
  background: rgba(216, 174, 99, 0.055);
}

.structure-reading-guide.is-structure-flow .domain-reading-path span {
  min-width: auto;
  width: auto;
  height: auto;
  background: transparent;
  color: rgba(216, 174, 99, 0.52);
  font-size: 9px;
}

.structure-reading-guide.is-structure-flow .domain-reading-path strong {
  color: rgba(255, 244, 215, 0.7);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.structure-reading-guide.is-structure-flow .domain-reading-path p {
  display: none;
}

.screen-insights {
  margin-top: 12px;
}

.screen-insight-hero {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(157, 113, 54, 0.2);
  border-radius: 15px;
  background:
    radial-gradient(circle at 86% 16%, rgba(216, 174, 99, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(238, 224, 201, 0.86));
}

.screen-insight-seal {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 113, 54, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.82), rgba(216, 174, 99, 0.18)),
    rgba(255, 255, 255, 0.42);
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 22px;
  font-weight: 700;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.screen-insight-hero span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(157, 113, 54, 0.11);
  color: #8a6229;
  font-size: 11px;
  font-weight: 700;
}

.screen-insight-hero h3 {
  margin: 0;
  color: #18130e;
  font-size: 22px;
  line-height: 1.28;
  word-break: keep-all;
}

.screen-insight-hero p {
  margin-top: 7px;
  color: #5d5146;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.58;
  word-break: keep-all;
}

.insight-grid {
  display: grid;
  gap: 10px;
}

.insight-block {
  display: grid;
  gap: 9px;
  padding: 13px 14px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.56);
}

.insight-block-primary {
  border-color: rgba(157, 113, 54, 0.22);
  background: rgba(255, 255, 255, 0.7);
}

.insight-block header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.insight-block header span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(157, 113, 54, 0.11);
  color: #8a6229;
  font-size: 11px;
  font-weight: 700;
}

.insight-block header strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.insight-block b {
  color: #15120e;
  font-family: var(--font-ui-kr);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.insight-block p {
  color: #5d5146;
  font-size: 13px;
  line-height: 1.68;
  word-break: keep-all;
}

.contract-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contract-kv-grid div {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(74, 57, 37, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
}

.contract-kv-grid span {
  color: rgba(62, 51, 40, 0.56);
  font-size: 11px;
  font-weight: 700;
}

.contract-kv-grid strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.contract-action-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contract-action-list article {
  padding: 14px;
  border: 1px solid rgba(74, 57, 37, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
}

.contract-action-list strong {
  color: var(--ink);
  font-size: 15px;
}

.contract-action-list p {
  margin: 8px 0 0;
  color: #5e5548;
  font-size: 13px;
  line-height: 1.7;
}

.detail-page-head {
  display: grid;
  gap: 14px;
  margin: -2px 0 6px;
}

.detail-tabs {
  display: flex;
  gap: 6px;
  margin: 0 -18px;
  max-width: calc(100% + 36px);
  padding: 0 18px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.detail-tabs::-webkit-scrollbar {
  display: none;
}

.detail-tabs button {
  flex: 0 0 auto;
  min-width: 86px;
  min-height: 40px;
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  border: 1px solid rgba(99, 77, 47, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: rgba(62, 51, 40, 0.74);
  text-align: left;
  box-shadow: 0 6px 14px rgba(48, 37, 24, 0.035);
}

.detail-tabs button.is-active {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 236, 190, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(233, 190, 111, 0.9), rgba(207, 153, 75, 0.72));
  color: #241910;
  border-color: rgba(138, 98, 41, 0.4);
  box-shadow: 0 8px 18px rgba(124, 88, 42, 0.14);
}

.detail-tab-icon {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(138, 98, 41, 0.22);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.66);
  color: #8a6229;
  font-family: var(--font-ui-kr);
  font-size: 12px;
  font-weight: 950;
}

.detail-tabs button.is-active .detail-tab-icon {
  border-color: rgba(36, 25, 16, 0.24);
  background: rgba(255, 247, 225, 0.78);
  color: #3b2814;
}

.detail-tab-copy {
  min-width: 0;
  display: grid;
}

.detail-tab-copy strong {
  color: inherit;
  font-size: 11.2px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
}

.detail-tab-copy small {
  display: none;
}

.detail-tabs button.is-active .detail-tab-copy small {
  color: rgba(36, 25, 16, 0.72);
}

.light-surface {
  min-height: calc(100vh - 56px);
  max-width: calc(100% + 36px);
  margin: 0 -18px calc(-88px - env(safe-area-inset-bottom));
  padding: 18px 18px calc(96px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background: linear-gradient(180deg, #fff8ec, #f4eadb);
  color: var(--ink);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(450px, 100%);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(216, 174, 99, 0.16);
  background: rgba(5, 18, 30, 0.92);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
}

.bottom-nav button span {
  font-size: 18px;
}

.bottom-nav svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav button.is-active {
  color: var(--gold-2);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 50;
  min-width: 220px;
  max-width: min(92vw, 390px);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.9);
  color: #fff;
  text-align: center;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.is-hidden {
  display: none !important;
}

.light-surface {
  background:
    radial-gradient(circle at 80% 0%, rgba(216, 174, 99, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(5, 18, 31, 0.98), rgba(4, 13, 23, 0.98));
  color: rgba(255, 244, 215, 0.78);
}

.report-appbar.light {
  background: rgba(5, 18, 30, 0.9);
  color: #fff4d7;
  border-bottom-color: rgba(216, 174, 99, 0.14);
}

.detail-tabs button {
  border-color: rgba(216, 174, 99, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 244, 215, 0.62);
  box-shadow: none;
}

.detail-tabs button.is-active {
  border-color: rgba(216, 174, 99, 0.34);
  background:
    radial-gradient(circle at 84% 12%, rgba(216, 174, 99, 0.18), transparent 34%),
    rgba(216, 174, 99, 0.09);
  color: #fff4d7;
  box-shadow: none;
}

.detail-tab-icon {
  border-color: rgba(216, 174, 99, 0.22);
  background: rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
}

.detail-tabs button.is-active .detail-tab-icon {
  border-color: rgba(216, 174, 99, 0.34);
  background: rgba(216, 174, 99, 0.13);
  color: #f1cf8c;
}

.detail-root .domain-detail-head {
  position: relative;
  padding: 18px;
  border-color: rgba(216, 174, 99, 0.22);
  background:
    radial-gradient(circle at 88% 0%, rgba(216, 174, 99, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(7, 22, 36, 0.96), rgba(5, 16, 28, 0.97));
  color: rgba(255, 244, 215, 0.78);
  box-shadow: var(--shadow-dark);
}

.detail-root .domain-detail-head.metric-great,
.detail-root .domain-detail-head.metric-good,
.detail-root .domain-detail-head.metric-normal,
.detail-root .domain-detail-head.metric-caution,
.detail-root .domain-detail-head.metric-risk {
  background:
    radial-gradient(circle at 88% 0%, rgba(216, 174, 99, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(7, 22, 36, 0.96), rgba(5, 16, 28, 0.97));
}

.detail-root .domain-detail-head::before {
  background: rgba(216, 174, 99, 0.34);
}

.detail-root .domain-detail-head.metric-caution::before,
.detail-root .domain-detail-head.metric-risk::before {
  background: rgba(176, 106, 92, 0.58);
}

.detail-root .domain-title-row h2 {
  color: #fff4d7;
  font-family: var(--font-ui-kr);
}

.detail-root .domain-title-row p {
  color: var(--dark-text-body);
}

.detail-root .domain-score {
  border-color: rgba(216, 174, 99, 0.28);
  background:
    radial-gradient(circle, rgba(216, 174, 99, 0.14), rgba(255, 255, 255, 0.035)),
    conic-gradient(from 210deg, rgba(216, 174, 99, 0.34), rgba(216, 174, 99, 0.06), rgba(216, 174, 99, 0.32));
}

.detail-root .domain-score strong {
  color: #e6c27c;
  font-family: var(--font-score-kr);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.detail-root .domain-score span {
  color: var(--dark-text-soft);
  font-family: var(--font-ui-kr);
}

.detail-root .domain-subhead strong,
.detail-root .metric-expand summary,
.detail-root .metric-expand summary span,
.detail-root .section-verdict-row strong,
.detail-root .section-verdict-copy b,
.detail-root .metric-detail-overview strong,
.detail-root .metric-detail-group-head strong,
.detail-root .evidence-drawer summary,
.detail-root .topic-card strong,
.detail-root .detail-block strong,
.detail-root .factor-block strong {
  color: #fff4d7;
}

.detail-root .domain-subhead strong,
.detail-root .metric-detail-overview strong,
.detail-root .metric-detail-group-head strong,
.detail-root .metric-card header strong {
  font-family: var(--font-ui-kr);
  font-weight: 700;
  letter-spacing: 0;
}

.detail-root .metric-detail-group-head strong {
  line-height: 1.38;
}

.detail-root .domain-score strong,
.detail-root .domain-score span,
.detail-root .domain-score-summary strong,
.detail-root .domain-score-summary em,
.detail-root .metric-card header em,
.detail-root .metric-detail-group-head strong em,
.detail-root .domain-direct-score em,
.detail-root .domain-score-value b,
.detail-root .domain-score-value em {
  font-family: var(--font-score-kr);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.detail-root .domain-score-summary strong,
.detail-root .domain-score-summary em,
.detail-root .metric-card header em,
.detail-root .metric-detail-group-head strong em {
  font-weight: 700;
}

.detail-root .metric-detail-group-head strong em {
  background: rgba(216, 174, 99, 0.09);
  color: #d9bd7f;
}

.detail-root .domain-subhead span,
.detail-root .metric-expand-note,
.detail-root .section-verdict-row span,
.detail-root .metric-detail-overview span,
.detail-root .metric-detail-group-head span,
.detail-root .evidence-drawer-body > p,
.detail-root .evidence-more-note {
  color: var(--dark-text-soft);
}

.detail-root .domain-quick-row {
  border-color: rgba(216, 174, 99, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.detail-root .domain-quick-row.metric-great,
.detail-root .domain-quick-row.metric-good,
.detail-root .domain-quick-row.metric-normal,
.detail-root .domain-quick-row.metric-caution,
.detail-root .domain-quick-row.metric-risk {
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.detail-root .domain-quick-row.metric-great::before,
.detail-root .domain-quick-row.metric-good::before {
  background: rgba(216, 174, 99, 0.44);
}

.detail-root .domain-quick-row.metric-caution::before,
.detail-root .domain-quick-row.metric-risk::before {
  background: rgba(176, 106, 92, 0.58);
}

.detail-root .domain-quick-row span {
  color: var(--dark-gold-soft);
}

.detail-root .domain-quick-row strong {
  color: #fff4d7;
}

.detail-root .domain-quick-row p {
  color: var(--dark-text-soft);
}

.detail-root .domain-score-summary em {
  gap: 5px;
}

.detail-root .domain-score-summary em small {
  color: rgba(239, 208, 142, 0.62);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
}

.detail-root .domain-score-summary .metric-caution em small,
.detail-root .domain-score-summary .metric-risk em small {
  color: rgba(225, 174, 154, 0.66);
}

.detail-root .domain-score-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 9px;
  margin-top: 14px;
}

.detail-root .domain-score-summary article {
  min-height: 104px;
  padding: 14px 13px;
  border: 1px solid rgba(216, 174, 99, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 174, 99, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.detail-root .domain-score-summary span {
  display: block;
  margin-bottom: 7px;
  color: var(--dark-gold-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.detail-root .domain-score-summary strong {
  display: block;
  color: #fff4d7;
  font-size: 1.02rem;
  line-height: 1.32;
}

.detail-root .domain-score-summary em {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  height: 26px;
  margin-top: 9px;
  padding: 0 10px;
  border: 1px solid rgba(216, 174, 99, 0.2);
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.08);
  color: var(--dark-gold-soft);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.detail-root .domain-score-summary em span,
.detail-root .domain-score-summary em small {
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
}

.detail-root .domain-score-summary em small {
  color: rgba(239, 208, 142, 0.62);
  font-size: 0.66rem;
  font-weight: 700;
}

.detail-root .domain-score-summary .metric-caution em small,
.detail-root .domain-score-summary .metric-risk em small {
  color: rgba(225, 174, 154, 0.66);
}

.detail-root .domain-score-summary .metric-caution em,
.detail-root .domain-score-summary .metric-risk em {
  border-color: rgba(176, 106, 92, 0.25);
  background: rgba(176, 106, 92, 0.11);
  color: #d59b8d;
}

.detail-root .domain-metric-overview {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid rgba(216, 174, 99, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 96% 0%, rgba(216, 174, 99, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.report-entry-domain-board {
  gap: 10px;
  padding: 14px 13px;
}

.report-entry-domain-board .domain-direct-grid {
  gap: 6px;
}

.report-entry-domain-board .domain-direct-card {
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 6px;
}

.report-entry-domain-board .domain-direct-copy small {
  display: none;
}

.report-entry-domain-board .domain-direct-score {
  width: 28px;
  min-width: 28px;
  padding: 0;
}

.detail-root .domain-metric-overview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.detail-root .domain-metric-overview-head strong {
  color: #fff4d7;
  font-size: 0.94rem;
  font-weight: 950;
  letter-spacing: 0;
}

.detail-root .domain-metric-overview-head span {
  color: var(--dark-text-muted);
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: right;
}

.detail-root .domain-metric-overview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 8px;
}

.detail-root .domain-metric-overview-row {
  display: grid;
  grid-template-columns: 78px minmax(128px, 1fr) 52px;
  gap: 6px;
  align-items: center;
  min-height: 40px;
  padding: 7px 8px;
  border: 1px solid rgba(216, 174, 99, 0.11);
  border-radius: 14px;
  background: rgba(4, 16, 24, 0.24);
}

.detail-root .domain-metric-overview-row > span {
  min-width: 0;
  color: rgba(255, 244, 215, 0.88);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.24;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.detail-root .domain-metric-overview-bar {
  min-width: 0;
}

.detail-root .domain-metric-overview-row .metric-bar {
  margin: 0;
}

.detail-root .domain-metric-overview-row .metric-level-badge {
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 23px;
  margin: 0;
  padding: 0 7px;
  box-sizing: border-box;
  justify-self: stretch;
  box-shadow: none;
}

.detail-root .domain-metric-overview-row .metric-level-badge span,
.detail-root .domain-metric-overview-row .metric-level-badge small {
  line-height: 1;
}

.detail-root .domain-metric-overview-row .metric-level-badge small {
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

.detail-root .annual-metric-overview {
  margin-bottom: 2px;
}

.detail-root .metric-grid-key {
  grid-template-columns: 1fr;
  gap: 10px;
}

.detail-root .metric-grid-key .metric-card {
  min-height: auto;
}

.detail-root .domain-quick-row em,
.detail-root .metric-card header em,
.detail-root .detail-level {
  border-color: rgba(216, 174, 99, 0.22);
  background: rgba(216, 174, 99, 0.09);
  color: #d9bd7f;
}

.detail-root .domain-quick-row.metric-caution em,
.detail-root .domain-quick-row.metric-risk em,
.detail-root .metric-caution header em,
.detail-root .metric-risk header em {
  border-color: rgba(176, 106, 92, 0.25);
  background: rgba(176, 106, 92, 0.12);
  color: #d59b8d;
}

.detail-root .section-verdict-row article,
.detail-root .section-verdict-copy,
.detail-root .metric-detail-overview,
.detail-root .metric-detail-group,
.detail-root .topic-card,
.detail-root .detail-block,
.detail-root .factor-block,
.detail-root .metric-expand,
.detail-root .evidence-drawer,
.detail-root .metric-card {
  border-color: rgba(216, 174, 99, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.detail-root .metric-card.metric-great,
.detail-root .metric-card.metric-good,
.detail-root .metric-card.metric-normal,
.detail-root .metric-card.metric-caution,
.detail-root .metric-card.metric-risk {
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.detail-root .metric-card header strong {
  color: #fff4d7;
}

.detail-root .metric-level-badge {
  border-color: rgba(216, 174, 99, 0.2);
  background: rgba(216, 174, 99, 0.08);
  color: var(--dark-gold-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.1),
    0 0 10px rgba(83, 157, 190, 0.12);
}

.detail-root .metric-level-badge small {
  color: rgba(239, 208, 142, 0.62);
}

.detail-root .metric-caution .metric-level-badge,
.detail-root .metric-risk .metric-level-badge {
  border-color: rgba(176, 106, 92, 0.23);
  background: rgba(176, 106, 92, 0.09);
  color: rgba(225, 174, 154, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.09),
    0 0 10px rgba(207, 91, 76, 0.13);
}

.detail-root .metric-caution .metric-level-badge small,
.detail-root .metric-risk .metric-level-badge small {
  color: rgba(225, 174, 154, 0.66);
}

.detail-root .screen-insight-hero h3 {
  color: #18130e;
}

.detail-root .screen-insight-hero p {
  color: #5d5146;
}

.detail-root .section-verdict-row em,
.detail-root .section-verdict-copy p,
.detail-root .section-verdict-copy .section-verdict-basis,
.detail-root .metric-card p,
.detail-root .detail-interpretation,
.detail-root .detail-basis {
  color: var(--dark-text-body);
}

.detail-root .metric-card .metric-action-copy {
  color: rgba(255, 244, 215, 0.78);
}

.detail-root .detail-action,
.detail-root .detail-basis {
  border-color: rgba(216, 174, 99, 0.12);
  background: rgba(255, 244, 215, 0.055);
  color: rgba(255, 244, 215, 0.74);
}

.detail-root .detail-watch .detail-action,
.detail-root .detail-risk .detail-action,
.detail-root .detail-caution .detail-action {
  background: rgba(176, 106, 92, 0.11);
}

.detail-root .detail-part-label {
  border-color: rgba(216, 174, 99, 0.13);
  background: rgba(216, 174, 99, 0.07);
  color: rgba(255, 244, 215, 0.86);
}

.detail-root .detail-metric-label,
.detail-root .metric-expand summary em,
.detail-root .evidence-drawer summary small {
  color: var(--dark-text-soft);
}

.detail-root .tag-row span,
.detail-root .tag-row button {
  border-color: rgba(216, 174, 99, 0.18);
  background: rgba(216, 174, 99, 0.075);
  color: var(--dark-gold-soft);
}

.detail-root .detail-block .tag-row span,
.detail-root .factor-block .tag-row span {
  background: rgba(255, 244, 215, 0.045);
  color: rgba(239, 208, 142, 0.78);
}

.detail-root .detail-watch .tag-row span,
.detail-root .detail-risk .tag-row span,
.detail-root .detail-caution .tag-row span {
  border-color: rgba(176, 106, 92, 0.2);
  background: rgba(176, 106, 92, 0.09);
  color: rgba(225, 174, 154, 0.84);
}

.detail-root .metric-expand summary::after {
  color: #d9bd7f;
  background: rgba(216, 174, 99, 0.09);
}

.detail-root .metric-bar {
  border-color: rgba(255, 244, 215, 0.07);
  background:
    linear-gradient(90deg, rgba(176, 88, 78, 0.14), rgba(255, 244, 215, 0.055), rgba(84, 151, 178, 0.14)),
    rgba(255, 244, 215, 0.045);
  box-shadow:
    inset 0 1px 1px rgba(255, 244, 215, 0.16),
    inset 0 -1px 1px rgba(0, 0, 0, 0.12);
}

.detail-root .metric-bar i {
  background: linear-gradient(90deg, rgba(65, 122, 151, 0.94), rgba(126, 184, 195, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.2),
    0 0 12px rgba(83, 157, 190, 0.24);
}

.detail-root .metric-bar::before,
.detail-root .metric-bar::after,
.detail-root .metric-bar b {
  display: none;
}

.detail-root .metric-caution .metric-bar i,
.detail-root .metric-risk .metric-bar i {
  background: linear-gradient(90deg, rgba(168, 75, 67, 0.94), rgba(218, 128, 105, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.18),
    0 0 12px rgba(207, 91, 76, 0.24);
}

.detail-root .metric-normal .metric-bar i {
  background: linear-gradient(90deg, rgba(132, 137, 132, 0.84), rgba(190, 193, 181, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.14),
    0 0 8px rgba(180, 180, 165, 0.1);
}

.detail-root .operation-profile {
  border-color: rgba(216, 174, 99, 0.14);
  background:
    radial-gradient(circle at 96% 0%, rgba(216, 174, 99, 0.055), transparent 40%),
    rgba(255, 244, 215, 0.032);
  box-shadow: none;
}

.detail-root .operation-profile-item {
  padding: 8px 9px;
  border: 1px solid rgba(216, 174, 99, 0.1);
  border-radius: 10px;
  background: rgba(8, 25, 39, 0.42);
}

.detail-root .operation-profile-item.metric-great,
.detail-root .operation-profile-item.metric-good {
  border-color: rgba(116, 151, 158, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 151, 158, 0.08), transparent 38%),
    rgba(8, 25, 39, 0.45);
}

.detail-root .operation-profile-item.metric-normal {
  border-color: rgba(216, 174, 99, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.07), transparent 38%),
    rgba(8, 25, 39, 0.45);
}

.detail-root .operation-profile-item.metric-caution,
.detail-root .operation-profile-item.metric-risk {
  border-color: rgba(176, 106, 92, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(176, 106, 92, 0.08), transparent 38%),
    rgba(8, 25, 39, 0.45);
}

.detail-root .operation-profile-item span {
  color: rgba(255, 244, 215, 0.6);
}

.detail-root .operation-profile-item strong {
  color: #f0cc83;
  font-family: var(--font-score-kr);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}

.detail-root .operation-profile-item.metric-caution strong,
.detail-root .operation-profile-item.metric-risk strong {
  color: rgba(225, 174, 154, 0.92);
}

.detail-root .operation-profile-item .metric-bar {
  background: rgba(255, 244, 215, 0.075);
}

.detail-root .domain-picker-grid button {
  flex: 0 0 auto;
  min-width: 108px;
  min-height: 42px;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 6px;
  padding: 7px 9px;
  border-color: rgba(216, 174, 99, 0.1);
  background: rgba(255, 255, 255, 0.026);
  color: rgba(255, 244, 215, 0.72);
}

.detail-root .domain-picker-grid button.is-active {
  border-color: rgba(216, 174, 99, 0.3);
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 174, 99, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.detail-root .domain-picker-grid button.is-active em {
  background: rgba(216, 174, 99, 0.1);
  color: #d9bd7f;
}

.detail-root .domain-picker {
  margin-top: 12px;
  padding: 8px 0 8px 9px;
  border-color: rgba(216, 174, 99, 0.07);
  background: rgba(255, 255, 255, 0.014);
  box-shadow: none;
}

.detail-root .domain-picker-head strong {
  color: #fff4d7;
}

.detail-root .domain-picker-head span {
  color: var(--dark-text-faint);
}

.detail-root .domain-picker-symbol {
  width: 20px;
  height: 20px;
  border-color: rgba(216, 174, 99, 0.2);
  background: rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
  font-size: 10.5px;
}

.detail-root .domain-picker-grid button strong {
  color: #fff4d7;
  font-size: 11.6px;
}

.detail-root .domain-picker-grid button small {
  display: none;
  color: rgba(255, 244, 215, 0.48);
}

.detail-root .domain-picker-grid button em {
  background: rgba(255, 244, 215, 0.055);
  color: var(--dark-text-soft);
}

.detail-root .domain-detail-head .domain-picker {
  margin-top: 16px;
  padding: 10px 0 10px 10px;
  border-color: rgba(216, 174, 99, 0.12);
  background:
    radial-gradient(circle at 92% 0%, rgba(216, 174, 99, 0.07), transparent 32%),
    rgba(255, 255, 255, 0.026);
}

.detail-root .domain-detail-head .domain-picker-head strong {
  color: #fff4d7;
}

.detail-root .domain-detail-head .domain-picker-head span {
  color: var(--dark-text-faint);
}

.detail-root .domain-detail-head .domain-picker-grid button {
  border-color: rgba(216, 174, 99, 0.11);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 244, 215, 0.76);
}

.detail-root .domain-detail-head .domain-picker-grid button.is-active {
  border-color: rgba(216, 174, 99, 0.28);
  background:
    radial-gradient(circle at 86% 18%, rgba(216, 174, 99, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.055);
}

.detail-root .domain-detail-head .domain-picker-symbol {
  border-color: rgba(216, 174, 99, 0.22);
  background: rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
}

.detail-root .domain-detail-head .domain-picker-grid button strong {
  color: #fff4d7;
}

.detail-root .domain-detail-head .domain-picker-grid button em {
  background: rgba(255, 244, 215, 0.055);
  color: var(--dark-text-soft);
}

.detail-root .domain-detail-head .domain-picker-grid button.is-active em {
  background: rgba(216, 174, 99, 0.1);
  color: #d9bd7f;
}

.detail-root .domain-landing {
  padding: 18px;
  border-color: rgba(216, 174, 99, 0.16);
  background:
    radial-gradient(circle at 90% 0%, rgba(216, 174, 99, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(7, 22, 36, 0.96), rgba(5, 16, 28, 0.97));
  color: var(--dark-text-body);
  box-shadow: var(--shadow-dark);
}

.detail-root .domain-landing-head > span {
  color: rgba(216, 174, 99, 0.86);
}

.detail-root .domain-landing-head h2 {
  color: #fff4d7;
}

.detail-root .domain-landing-head p {
  color: var(--dark-text-soft);
}

.detail-root .domain-landing-summary span,
.detail-root .domain-landing-summary button {
  border-color: rgba(216, 174, 99, 0.13);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 244, 215, 0.76);
  box-shadow: none;
}

.detail-root .domain-landing-summary span.is-good,
.detail-root .domain-landing-summary button.is-good {
  border-color: rgba(83, 125, 132, 0.2);
  background:
    radial-gradient(circle at 88% 0%, rgba(83, 125, 132, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.detail-root .domain-landing-summary span.is-caution,
.detail-root .domain-landing-summary button.is-caution {
  border-color: rgba(176, 106, 92, 0.2);
  background:
    radial-gradient(circle at 88% 0%, rgba(176, 106, 92, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.detail-root .domain-landing-summary span.is-neutral {
  border-color: rgba(216, 174, 99, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.detail-root .domain-landing-summary b {
  color: rgba(216, 174, 99, 0.78);
}

.detail-root .domain-landing-summary strong {
  color: #fff4d7;
}

.detail-root .domain-landing-summary em {
  color: var(--dark-text-soft);
}

.detail-root .domain-landing-card {
  border-color: rgba(216, 174, 99, 0.13);
  border-left-color: rgba(83, 125, 132, 0.5);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.detail-root .domain-landing-card.metric-risk,
.detail-root .domain-landing-card.metric-caution {
  border-left-color: rgba(176, 106, 92, 0.58);
}

.detail-root .domain-landing-card:hover {
  border-color: rgba(216, 174, 99, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.detail-root .domain-landing-card .section-symbol {
  border-color: rgba(216, 174, 99, 0.2);
  background: rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
}

.detail-root .domain-landing-copy strong {
  color: #fff4d7;
}

.detail-root .domain-landing-copy small {
  color: rgba(255, 244, 215, 0.52);
}

.detail-root .domain-landing-side b {
  color: #e6c27c;
}

.detail-root .domain-landing-card em {
  background: rgba(216, 174, 99, 0.09);
  color: #d9bd7f;
}

.detail-root .domain-landing-card.metric-risk em,
.detail-root .domain-landing-card.metric-caution em {
  background: rgba(176, 106, 92, 0.12);
  color: #d59b8d;
}

.detail-root .domain-landing-side small {
  color: rgba(255, 244, 215, 0.52);
}

.detail-root .timing-summary-grid article,
.detail-root .timing-inline-column,
.detail-root .timing-decade-row,
.detail-root .timing-decade-cell,
.detail-root .timing-flow-list article > div,
.detail-root .timing-event-card,
.detail-root .timing-domain-row,
.detail-root .daeun-strip article,
.detail-root .contract-card,
.detail-root .gyeokguk-focus-card,
.detail-root .structure-focus-card,
.detail-root .gyeokguk-focus-grid article,
.detail-root .structure-focus-grid article {
  border-color: rgba(216, 174, 99, 0.14);
  background:
    radial-gradient(circle at 96% 0%, rgba(216, 174, 99, 0.055), transparent 34%),
    rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.detail-root .timing-summary-grid article.is-good,
.detail-root .timing-inline-column.is-good,
.detail-root .timing-decade-cell.is-good,
.detail-root .timing-flow-list article.is-good > div,
.detail-root .timing-domain-cell.is-good {
  border-color: rgba(83, 125, 132, 0.2);
  background:
    radial-gradient(circle at 96% 0%, rgba(83, 125, 132, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.detail-root .timing-summary-grid article.is-caution,
.detail-root .timing-inline-column.is-caution,
.detail-root .timing-decade-cell.is-caution,
.detail-root .timing-flow-list article.is-caution > div,
.detail-root .timing-domain-cell.is-caution {
  border-color: rgba(176, 106, 92, 0.2);
  background:
    radial-gradient(circle at 96% 0%, rgba(176, 106, 92, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.detail-root .timing-domain-cell {
  border: 1px solid rgba(216, 174, 99, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.detail-root .timing-flow-list article > i {
  border-color: rgba(5, 18, 31, 0.98);
  box-shadow: 0 0 0 1px rgba(216, 174, 99, 0.14);
}

.detail-root .timing-flow-timeline > header span,
.detail-root .timing-summary-grid em,
.detail-root .daeun-strip span,
.detail-root .gyeokguk-focus-head span,
.detail-root .structure-focus-head span {
  border-color: rgba(216, 174, 99, 0.18);
  background: rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
}

.detail-root .timing-flow-list article.is-good header em,
.detail-root .timing-event-card.is-good header em {
  border-color: rgba(83, 125, 132, 0.2);
  background: rgba(83, 125, 132, 0.1);
  color: #9bbec1;
}

.detail-root .timing-flow-list article.is-caution header em,
.detail-root .timing-event-card.is-caution header em {
  border-color: rgba(176, 106, 92, 0.22);
  background: rgba(176, 106, 92, 0.12);
  color: #d59b8d;
}

.detail-root .timing-summary-grid span,
.detail-root .timing-domain-cell span,
.detail-root .timing-inline-column span,
.detail-root .timing-decade-cell > b,
.detail-root .timing-decade-cell > em,
.detail-root .timing-event-card header span,
.detail-root .timing-event-card > small,
.detail-root .gyeokguk-focus-grid span,
.detail-root .structure-focus-grid span {
  color: rgba(255, 244, 215, 0.5);
}

.detail-root .timing-summary-grid strong,
.detail-root .timing-inline-column > strong,
.detail-root .timing-inline-column b,
.detail-root .timing-decade-row > strong,
.detail-root .timing-flow-list b,
.detail-root .timing-event-card > strong,
.detail-root .timing-domain-row h3,
.detail-root .timing-domain-cell strong,
.detail-root .daeun-strip strong,
.detail-root .contract-card h3,
.detail-root .gyeokguk-focus-head h2,
.detail-root .gyeokguk-focus-grid strong,
.detail-root .structure-focus-head h2,
.detail-root .structure-focus-grid strong {
  color: #fff4d7;
}

.detail-root .timing-year-pills b {
  border-color: rgba(216, 174, 99, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: #fff4d7;
}

.detail-root .timing-decade-cell .timing-year-pills span {
  border-color: rgba(216, 174, 99, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: #fff4d7;
}

.detail-root .timing-inline-column.is-good .timing-year-pills b {
  border-color: rgba(83, 125, 132, 0.26);
  background: rgba(83, 125, 132, 0.12);
  color: #d7eeee;
}

.detail-root .timing-decade-cell.is-good .timing-year-pills span {
  border-color: rgba(83, 125, 132, 0.26);
  background: rgba(83, 125, 132, 0.12);
  color: #d7eeee;
}

.detail-root .timing-inline-column.is-caution .timing-year-pills b {
  border-color: rgba(176, 106, 92, 0.26);
  background: rgba(176, 106, 92, 0.12);
  color: #f1d3c9;
}

.detail-root .timing-decade-cell.is-caution .timing-year-pills span {
  border-color: rgba(176, 106, 92, 0.26);
  background: rgba(176, 106, 92, 0.12);
  color: #f1d3c9;
}

.detail-root .timing-summary-grid p,
.detail-root .timing-inline-column p,
.detail-root .timing-decade-board > p,
.detail-root .timing-flow-list p,
.detail-root .timing-event-card > p,
.detail-root .timing-domain-cell p,
.detail-root .contract-card p,
.detail-root .gyeokguk-focus-head p,
.detail-root .gyeokguk-focus-grid p,
.detail-root .structure-focus-head p,
.detail-root .structure-focus-grid p {
  color: rgba(255, 244, 215, 0.6);
}

.detail-root .contract-card .screen-insight-hero h3 {
  color: #18130e;
}

.detail-root .contract-card .screen-insight-hero p {
  color: #5d5146;
}

.detail-root .summary-dashboard,
.detail-root .paper-card:not(.domain-detail-head),
.detail-root .contract-card,
.detail-root .screen-insight-hero,
.detail-root .gyeokguk-focus-card,
.detail-root .structure-focus-card {
  border-color: rgba(216, 174, 99, 0.16);
  background:
    radial-gradient(circle at 88% 0%, rgba(216, 174, 99, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(9, 27, 43, 0.9), rgba(5, 17, 30, 0.94));
  color: rgba(255, 244, 215, 0.76);
  box-shadow: none;
}

.detail-root .summary-dashboard::before {
  border-color: rgba(216, 174, 99, 0.11);
}

.detail-root .summary-dashboard header > span,
.detail-root .screen-insight-hero span,
.detail-root .gyeokguk-focus-head span,
.detail-root .structure-focus-head span {
  border-color: rgba(216, 174, 99, 0.18);
  background: rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
}

.detail-root .summary-dashboard h2,
.detail-root .paper-card:not(.domain-detail-head) h2,
.detail-root .paper-card:not(.domain-detail-head) h3,
.detail-root .contract-card h3,
.detail-root .contract-card .screen-insight-hero h3,
.detail-root .screen-insight-hero h3,
.detail-root .gyeokguk-focus-head h2,
.detail-root .structure-focus-head h2 {
  color: #fff4d7;
}

.detail-root .summary-dashboard p,
.detail-root .paper-card:not(.domain-detail-head) p,
.detail-root .contract-card p,
.detail-root .contract-card .screen-insight-hero p,
.detail-root .screen-insight-hero p,
.detail-root .gyeokguk-focus-head p,
.detail-root .structure-focus-head p {
  color: rgba(255, 244, 215, 0.62);
}

.detail-root .screen-insight-seal {
  border-color: rgba(216, 174, 99, 0.28);
  background:
    radial-gradient(circle, rgba(216, 174, 99, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
  box-shadow: inset 0 0 0 5px rgba(255, 244, 215, 0.035);
}

.detail-root .summary-keyword-block,
.detail-root .overview-grid article,
.detail-root .insight-grid article,
.detail-root .gyeokguk-focus-grid article,
.detail-root .structure-focus-grid article {
  border-color: rgba(216, 174, 99, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 244, 215, 0.72);
}

.detail-root .summary-keyword-block strong,
.detail-root .overview-grid strong,
.detail-root .insight-grid strong,
.detail-root .gyeokguk-focus-grid strong,
.detail-root .structure-focus-grid strong {
  color: #fff4d7;
}

.detail-root .summary-keyword-block span,
.detail-root .overview-grid span,
.detail-root .insight-grid span,
.detail-root .gyeokguk-focus-grid span,
.detail-root .structure-focus-grid span {
  color: rgba(255, 244, 215, 0.52);
}

.detail-root .summary-keyword-block p,
.detail-root .overview-grid p,
.detail-root .insight-grid p,
.detail-root .gyeokguk-focus-grid p,
.detail-root .structure-focus-grid p {
  color: rgba(255, 244, 215, 0.62);
}

.detail-root .gyeokguk-focus-seal,
.detail-root .structure-focus-seal {
  border-color: rgba(216, 174, 99, 0.28);
  background:
    radial-gradient(circle, rgba(216, 174, 99, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
  box-shadow: inset 0 0 0 5px rgba(255, 244, 215, 0.035);
}

.detail-root .daeun-strip article.is-current {
  border-color: rgba(216, 174, 99, 0.3);
  background:
    radial-gradient(circle at 96% 0%, rgba(216, 174, 99, 0.11), transparent 34%),
    rgba(216, 174, 99, 0.07);
}

.detail-root .daeun-strip em {
  color: #d9bd7f;
}

.detail-root .summary-dashboard,
.detail-root .contract-card,
.detail-root .structure-reading-guide,
.detail-root .screen-insight-hero,
.detail-root .topic-card,
.detail-root .factor-block {
  font-family: var(--font-ui-kr);
  letter-spacing: 0;
}

.detail-root .summary-dashboard h2,
.detail-root .summary-keyword-block > strong,
.detail-root .mini-stat strong,
.detail-root .contract-card h3,
.detail-root .contract-kv-grid strong,
.detail-root .contract-action-list strong,
.detail-root .screen-insight-hero h3,
.detail-root .insight-block b,
.detail-root .insight-block header strong,
.detail-root .structure-reading-guide .domain-reading-head strong,
.detail-root .structure-reading-guide .domain-reading-path strong,
.detail-root .factor-block header strong,
.detail-root .topic-card header strong,
.detail-root .factor-block strong,
.detail-root .topic-card strong {
  font-family: var(--font-ui-kr);
  font-weight: 700;
  letter-spacing: 0;
}

.detail-root .summary-orb strong,
.detail-root .summary-orb small,
.detail-root .mini-stat em,
.detail-root .contract-kv-grid strong,
.detail-root .factor-block header em,
.detail-root .topic-card header em {
  font-family: var(--font-score-kr);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}

.detail-root .summary-orb {
  border-color: rgba(216, 174, 99, 0.26);
  background:
    radial-gradient(circle, rgba(216, 174, 99, 0.13), rgba(255, 244, 215, 0.035)),
    conic-gradient(from 220deg, rgba(216, 174, 99, 0.18), rgba(216, 174, 99, 0.04), rgba(216, 174, 99, 0.22));
  box-shadow: inset 0 0 0 5px rgba(255, 244, 215, 0.035);
}

.detail-root .summary-orb strong {
  color: #f0cc83;
}

.detail-root .summary-orb small {
  color: rgba(255, 244, 215, 0.66);
}

.detail-root .keyword-profile-card header {
  align-items: flex-start;
  gap: 8px;
}

.detail-root .keyword-profile-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.detail-root .keyword-profile-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid rgba(216, 174, 99, 0.12);
  border-radius: 12px;
  background: rgba(255, 244, 215, 0.035);
}

.detail-root .keyword-profile-row b {
  color: #e2c384;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: nowrap;
}

.detail-root .keyword-profile-row span {
  color: rgba(255, 244, 215, 0.78);
  font-size: 0.86rem;
  line-height: 1.6;
  word-break: keep-all;
}

.detail-root .contextual-evidence-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.detail-root .contextual-evidence-section-head h2 {
  margin: 0;
}

.detail-root .contextual-evidence-section-head p {
  margin: 0;
  color: rgba(255, 244, 215, 0.58);
  font-size: 0.88rem;
  line-height: 1.55;
  word-break: keep-all;
}

.detail-root .contextual-evidence-groups {
  display: grid;
  gap: 22px;
}

.detail-root .contextual-evidence-group {
  min-width: 0;
  display: grid;
  gap: 11px;
  margin: 0;
}

.detail-root .contextual-evidence-group-head,
.detail-root .contextual-evidence-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid rgba(216, 174, 99, 0.13);
}

.detail-root .contextual-evidence-group-head strong,
.detail-root .contextual-evidence-group > summary strong {
  color: #eed59d;
  font-family: var(--font-ui-kr);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.detail-root .contextual-evidence-group-head em,
.detail-root .contextual-evidence-group > summary em {
  color: rgba(255, 244, 215, 0.48);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 750;
}

.detail-root .contextual-evidence-group > summary {
  cursor: pointer;
  list-style: none;
}

.detail-root .contextual-evidence-group > summary::-webkit-details-marker {
  display: none;
}

.detail-root .contextual-evidence-group > summary span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.detail-root .contextual-evidence-group > summary small {
  color: rgba(255, 244, 215, 0.5);
  font-size: 0.76rem;
  font-weight: 750;
}

.detail-root .contextual-evidence-group[open] > summary small {
  color: rgba(239, 208, 142, 0.78);
}

.detail-root .contextual-evidence-group.is-secondary .contextual-evidence-stack {
  margin-top: 11px;
}

.detail-root .contextual-evidence-stack {
  display: grid;
  gap: 11px;
}

.detail-root .contextual-evidence-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(216, 174, 99, 0.14);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.06), transparent 35%),
    rgba(255, 255, 255, 0.04);
}

.detail-root .contextual-evidence-card.is-compact-evidence {
  gap: 10px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.025);
}

.detail-root .contextual-evidence-card.is-compact-evidence header strong {
  font-size: 0.96rem;
}

.detail-root .contextual-evidence-card.is-compact-evidence .contextual-keyword-group {
  padding-block: 7px;
}

.detail-root .contextual-evidence-subgroup {
  display: grid;
  gap: 10px;
  margin-top: 1px;
  padding: 0;
  border: 1px solid rgba(216, 174, 99, 0.11);
  border-radius: 13px;
  background: rgba(255, 244, 215, 0.018);
}

.detail-root .contextual-evidence-subgroup > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.detail-root .contextual-evidence-subgroup > summary::-webkit-details-marker {
  display: none;
}

.detail-root .contextual-evidence-subgroup > summary strong {
  color: rgba(255, 244, 215, 0.82);
  font-family: var(--font-ui-kr);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.detail-root .contextual-evidence-subgroup > summary span {
  flex: 0 0 auto;
  color: rgba(239, 208, 142, 0.62);
  font-size: 0.76rem;
  font-weight: 750;
}

.detail-root .contextual-evidence-subgroup[open] > summary {
  border-bottom: 1px solid rgba(216, 174, 99, 0.1);
}

.detail-root .contextual-evidence-subgroup .contextual-evidence-stack {
  padding: 0 11px 11px;
}

.detail-root .contextual-evidence-stack.is-compact .contextual-evidence-card {
  gap: 10px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.025);
}

.detail-root .contextual-evidence-stack.is-compact .contextual-evidence-card header strong {
  font-size: 0.96rem;
}

.detail-root .contextual-evidence-stack.is-compact .contextual-keyword-group {
  padding-block: 7px;
}

.detail-root .contextual-evidence-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.detail-root .contextual-evidence-title-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-root .contextual-evidence-card header strong {
  color: #fff2d2;
  font-family: var(--font-ui-kr);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.detail-root .contextual-evidence-card header em {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(216, 174, 99, 0.16);
  border-radius: 999px;
  background: rgba(216, 174, 99, 0.07);
  color: rgba(239, 208, 142, 0.78);
  font-family: var(--font-score-kr);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.detail-root .contextual-origin-badges {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.detail-root .contextual-origin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-ui-kr);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.detail-root .contextual-origin-badge.is-natal {
  border-color: rgba(218, 178, 99, 0.28);
  background: rgba(218, 178, 99, 0.1);
  color: rgba(244, 213, 151, 0.92);
}

.detail-root .contextual-origin-badge.is-annual {
  border-color: rgba(116, 167, 199, 0.27);
  background: rgba(95, 147, 180, 0.11);
  color: rgba(177, 216, 237, 0.9);
}

.detail-root .contextual-origin-details {
  display: grid;
  gap: 5px;
  padding: 8px 10px;
  border-left: 2px solid rgba(216, 174, 99, 0.19);
  background: rgba(255, 255, 255, 0.014);
}

.detail-root .contextual-origin-detail {
  min-width: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
}

.detail-root .contextual-origin-detail b {
  color: rgba(239, 208, 142, 0.8);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.45;
}

.detail-root .contextual-origin-detail.is-annual b {
  color: rgba(170, 211, 234, 0.82);
}

.detail-root .contextual-origin-detail span {
  min-width: 0;
  color: rgba(244, 234, 214, 0.66);
  font-size: 0.78rem;
  line-height: 1.5;
  word-break: keep-all;
}

.detail-root .contextual-origin-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1px 3px 9px;
}

.detail-root .contextual-origin-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-root .contextual-origin-legend small {
  color: rgba(244, 234, 214, 0.55);
  font-size: 0.74rem;
  line-height: 1.3;
}

.detail-root .contextual-origin-groups {
  display: grid;
  gap: 14px;
}

.detail-root .contextual-origin-group {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.detail-root .contextual-origin-group h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0 3px;
  color: rgba(244, 234, 214, 0.78);
  font-family: var(--font-ui-kr);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.detail-root .contextual-origin-group h3 span {
  color: rgba(244, 234, 214, 0.42);
  font-size: 0.72rem;
  font-weight: 700;
}

.detail-root .contextual-evidence-card p {
  margin: 0;
  color: rgba(255, 244, 215, 0.76);
  font-size: 0.93rem;
  line-height: 1.72;
  word-break: keep-all;
}

.detail-root .contextual-keyword-groups {
  display: grid;
  gap: 8px;
}

.detail-root .contextual-keyword-group {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid rgba(216, 174, 99, 0.11);
  border-radius: 12px;
  background: rgba(255, 244, 215, 0.035);
}

.detail-root .contextual-keyword-group b {
  color: #e4c685;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.detail-root .contextual-keyword-group span {
  color: rgba(255, 244, 215, 0.78);
  font-size: 0.86rem;
  line-height: 1.6;
  word-break: keep-all;
}

.detail-root .mini-stat,
.detail-root .contract-kv-grid div,
.detail-root .contract-action-list article,
.detail-root .insight-block,
.detail-root .structure-reading-guide.is-segmented .domain-reading-path button,
.detail-root .structure-reading-path button {
  border-color: rgba(216, 174, 99, 0.13);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 174, 99, 0.055), transparent 36%),
    rgba(255, 255, 255, 0.04);
  color: rgba(255, 244, 215, 0.74);
  box-shadow: none;
}

.detail-root .mini-stat.is-good {
  border-left-color: rgba(116, 151, 158, 0.72);
}

.detail-root .mini-stat.is-watch {
  border-left-color: rgba(176, 106, 92, 0.72);
}

.detail-root .mini-stat span,
.detail-root .contract-kv-grid span,
.detail-root .insight-block header span,
.detail-root .structure-reading-guide .domain-reading-head span,
.detail-root .structure-reading-guide .domain-reading-path span {
  color: rgba(255, 244, 215, 0.54);
}

.detail-root .mini-stat strong,
.detail-root .contract-kv-grid strong,
.detail-root .contract-action-list strong,
.detail-root .insight-block b,
.detail-root .insight-block header strong {
  color: #fff4d7;
}

.detail-root .mini-stat em,
.detail-root .insight-block header span {
  border-color: rgba(216, 174, 99, 0.16);
  background: rgba(216, 174, 99, 0.08);
  color: #d9bd7f;
}

.detail-root .summary-dashboard p,
.detail-root .contract-action-list p,
.detail-root .insight-block p,
.detail-root .factor-block p,
.detail-root .topic-card p,
.detail-root .structure-reading-guide .domain-reading-path p {
  color: rgba(255, 244, 215, 0.64);
}

.manse-basis-card {
  overflow: hidden;
}

.manse-basis-head {
  display: grid;
  gap: 6px;
}

.manse-basis-head p {
  margin-top: 0;
}

.manse-pillars {
  --manse-cols: 4;
  display: grid;
  gap: 0;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(157, 113, 54, 0.2);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.detail-root .manse-pillars {
  border-color: rgba(216, 174, 99, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.98), rgba(244, 232, 211, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    0 16px 34px rgba(0, 0, 0, 0.18);
}

.manse-row {
  display: grid;
  grid-template-columns: 42px repeat(var(--manse-cols), minmax(0, 1fr));
  min-width: 0;
}

.manse-row + .manse-row {
  border-top: 1px solid rgba(92, 73, 47, 0.1);
}

.manse-row-label,
.manse-pillar-head,
.manse-cell {
  min-width: 0;
  border-left: 1px solid rgba(92, 73, 47, 0.08);
}

.manse-row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 0;
  background: rgba(94, 72, 42, 0.08);
  color: #776348;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.manse-pillar-head {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 48px;
  padding: 8px 5px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 174, 99, 0.18), transparent 64%),
    rgba(255, 249, 238, 0.76);
}

.manse-pillar-head b {
  color: #2c251b;
  font-family: var(--font-ui-kr);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.manse-pillar-head em {
  color: #8a7048;
  font-family: var(--font-score-kr);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
}

.manse-cell {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 54px;
  padding: 7px 4px;
  color: #1e1812;
  background: rgba(255, 255, 255, 0.38);
}

.manse-row-token .manse-cell {
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.manse-token {
  display: block;
  font-family: var(--font-ui-kr);
  font-size: clamp(31px, 9vw, 44px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.54);
}

.manse-token.is-wood { color: #204c46; }
.manse-token.is-fire { color: #9a4a3f; }
.manse-token.is-earth { color: #7f5f2e; }
.manse-token.is-metal { color: #6c6962; }
.manse-token.is-water { color: #26364c; }

.manse-element-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 20px;
  padding: 3px 6px 2px;
  border: 1px solid rgba(77, 58, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: #5d5141;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.manse-element-badge.is-wood { color: #204c46; background: rgba(99, 139, 118, 0.15); }
.manse-element-badge.is-fire { color: #8f493f; background: rgba(176, 106, 92, 0.14); }
.manse-element-badge.is-earth { color: #725625; background: rgba(186, 145, 77, 0.16); }
.manse-element-badge.is-metal { color: #5f5c56; background: rgba(151, 148, 138, 0.18); }
.manse-element-badge.is-water { color: #29394f; background: rgba(76, 105, 135, 0.13); }

.manse-god {
  min-height: 39px;
  color: #30271d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.manse-hidden-list {
  align-content: center;
  justify-items: stretch;
  min-height: 58px;
  gap: 4px;
  padding: 6px 4px;
}

.manse-hidden-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 3px;
  min-height: 20px;
  padding: 3px 5px;
  border: 1px solid rgba(77, 58, 34, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.48);
}

.manse-hidden-chip b {
  font-family: var(--font-ui-kr);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.manse-hidden-chip em {
  overflow: hidden;
  color: #5f5447;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manse-hidden-chip.is-wood b { color: #204c46; }
.manse-hidden-chip.is-fire b { color: #9a4a3f; }
.manse-hidden-chip.is-earth b { color: #7f5f2e; }
.manse-hidden-chip.is-metal b { color: #6c6962; }
.manse-hidden-chip.is-water b { color: #26364c; }

.manse-muted {
  color: #8f8474;
  font-size: 12px;
  font-weight: 700;
}

.detail-root .structure-reading-guide.is-segmented .domain-reading-path button.is-overview {
  border-color: rgba(216, 174, 99, 0.24);
  background:
    radial-gradient(circle at 82% 14%, rgba(216, 174, 99, 0.12), transparent 40%),
    rgba(216, 174, 99, 0.075);
}

@media (min-width: 720px) {
  body {
    padding: 24px;
  }

  .site-stage {
    min-height: calc(100vh - 48px);
    border-radius: 28px;
  }

  .site-stage::before,
  .site-stage::after,
  .bottom-nav {
    width: min(450px, calc(100% - 48px));
  }
}

@media (max-width: 430px) {
  .manse-pillars {
    margin-right: -6px;
    margin-left: -6px;
    border-radius: 13px;
  }

  .manse-row {
    grid-template-columns: 36px repeat(var(--manse-cols), minmax(0, 1fr));
  }

  .manse-pillar-head {
    min-height: 44px;
    padding: 7px 3px;
  }

  .manse-pillar-head b {
    font-size: 12px;
  }

  .manse-pillar-head em {
    font-size: 10px;
  }

  .manse-row-label {
    font-size: 9.5px;
  }

  .manse-cell {
    min-height: 48px;
    padding-right: 3px;
    padding-left: 3px;
  }

  .manse-row-token .manse-cell {
    min-height: 64px;
  }

  .manse-token {
    font-size: clamp(30px, 10vw, 40px);
  }

  .manse-element-badge {
    min-width: 35px;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 9px;
  }

  .manse-god {
    min-height: 35px;
    font-size: 11px;
  }

  .manse-hidden-list {
    min-height: 54px;
  }

  .manse-hidden-chip {
    padding-right: 3px;
    padding-left: 3px;
  }

  .manse-hidden-chip b {
    font-size: 13px;
  }

  .manse-hidden-chip em {
    font-size: 8.5px;
  }

  .domain-landing-summary {
    grid-template-columns: 1fr;
  }

  .detail-root .metric-expand {
    margin-right: -4px;
    margin-left: -4px;
    padding: 10px 8px 11px;
    border-radius: 17px;
  }

  .detail-root .metric-detail-groups {
    gap: 10px;
  }

  .detail-root .metric-detail-overview {
    padding: 11px 10px;
  }

  .detail-root .metric-detail-group {
    gap: 8px;
    padding: 8px;
    border-radius: 15px;
  }

  .detail-root .metric-grid-detail .metric-card,
  .detail-root .metric-grid-detail .metric-card.is-wide {
    padding-right: 12px;
    padding-left: 12px;
  }

  .domain-reading-path button {
    min-height: auto;
    padding: 9px 13px;
  }

  .domain-reading-guide.is-segmented .domain-reading-path button {
    min-height: 96px;
    padding: 11px 12px;
  }

  .structure-reading-guide.is-segmented .domain-reading-path {
    display: flex;
    gap: 7px;
    overflow-x: auto;
  }

  .structure-reading-guide.is-segmented .domain-reading-path button {
    min-width: 108px;
    min-height: 46px;
    padding: 8px 10px;
    border-radius: 999px;
  }

  .structure-reading-guide.is-segmented .domain-reading-path p {
    display: none;
  }

  .metric-grid-detail {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .metric-grid-detail .metric-card {
    min-height: 124px;
    padding: 14px 15px;
  }

  .metric-grid-detail .metric-card header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }

  .metric-grid-detail .metric-card header em {
    justify-self: end;
    min-width: 58px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .metric-grid-detail .metric-card.is-wide {
    min-height: 124px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .timing-preview-columns {
    grid-template-columns: 1fr;
  }

  .timing-preview-column {
    padding: 13px;
  }
}

@media (max-width: 380px) {
  .screen {
    padding-right: 14px;
    padding-left: 14px;
  }

  .light-surface {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .overview-grid,
  .contract-kv-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid-detail {
    grid-template-columns: 1fr;
  }

  .report-composition .section-card {
    grid-template-columns: 30px minmax(0, 1fr);
    padding-right: 10px;
    padding-left: 10px;
  }

  .report-composition .section-symbol {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .domain-direct-grid {
    grid-template-columns: 1fr;
  }

  .domain-direct-card {
    min-height: 64px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-areas: "icon copy score";
    align-items: center;
  }

  .domain-direct-copy small {
    -webkit-line-clamp: 1;
  }

  .domain-direct-score {
    justify-self: end;
  }
}

/* Metric sheen: keep status readable while giving score elements a premium finish. */
.metric-bar,
.detail-root .metric-bar {
  isolation: isolate;
  overflow: visible;
}

.metric-bar i,
.detail-root .metric-bar i {
  overflow: hidden;
}

.metric-bar i::after,
.detail-root .metric-bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  opacity: 0.36;
  pointer-events: none;
}

.metric-great .metric-bar i,
.metric-good .metric-bar i,
.detail-root .metric-great .metric-bar i,
.detail-root .metric-good .metric-bar i {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 5px rgba(72, 143, 171, 0.11);
  filter: saturate(1.03);
}

.metric-caution .metric-bar i,
.metric-risk .metric-bar i,
.detail-root .metric-caution .metric-bar i,
.detail-root .metric-risk .metric-bar i {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 5px rgba(178, 82, 68, 0.1);
  filter: saturate(1.02);
}

.metric-normal .metric-bar i,
.detail-root .metric-normal .metric-bar i {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 6px rgba(160, 165, 154, 0.08);
}

.metric-level-badge,
.metric-card header em,
.domain-score-summary em,
.detail-root .metric-level-badge,
.detail-root .metric-card header em,
.detail-root .domain-score-summary em {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.metric-great .metric-level-badge,
.metric-good .metric-level-badge,
.metric-great.metric-card header em,
.metric-good.metric-card header em {
  border-color: rgba(78, 135, 150, 0.28);
  background:
    linear-gradient(180deg, rgba(247, 253, 253, 0.9), rgba(226, 244, 245, 0.76));
  color: #3d6670;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 1px 4px rgba(75, 130, 148, 0.045);
}

.metric-caution .metric-level-badge,
.metric-risk .metric-level-badge,
.metric-caution.metric-card header em,
.metric-risk.metric-card header em {
  border-color: rgba(158, 82, 71, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 249, 246, 0.92), rgba(251, 235, 229, 0.78));
  color: #8a5147;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 1px 4px rgba(174, 75, 66, 0.045);
}

.annual-detail {
  display: grid;
  gap: 18px;
}

.annual-detail-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.annual-detail-head > div {
  min-width: 0;
}

.annual-detail-head > div > span {
  display: block;
  color: #8a6229;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.annual-detail-head h2 {
  margin-top: 4px;
}

.annual-detail-head p {
  margin-top: 7px;
}

.annual-year-seal {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(157, 113, 54, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 25%, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(145deg, rgba(224, 188, 116, 0.28), rgba(112, 73, 33, 0.1));
  color: #7f5a24;
  font-family: var(--font-ui-kr);
  font-size: 18px;
  font-weight: 700;
}

.annual-score {
  min-width: 62px;
}

.annual-group-list {
  display: grid;
  gap: 18px;
}

.annual-metric-group {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(85, 70, 50, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.38);
}

.annual-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.annual-group-head::-webkit-details-marker {
  display: none;
}

.annual-group-head::after {
  content: "+";
  flex: 0 0 auto;
  color: rgba(72, 61, 48, 0.5);
  font-size: 18px;
  font-weight: 700;
}

.annual-metric-group[open] > .annual-group-head::after {
  content: "−";
}

.annual-group-head > strong {
  color: #3d342a;
  font-size: 15px;
  font-weight: 700;
}

.annual-group-head > span {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 68px;
  margin-left: auto;
}

.annual-group-head .annual-score-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4a6f7b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: none;
  text-shadow: none;
}

.annual-group-head .annual-score-status::before,
.annual-group-head .annual-score-status::after {
  content: none;
}

.annual-group-head .annual-score-status.annual-tone-watch,
.annual-group-head .annual-score-status.annual-tone-risk {
  color: #8b554c;
}

.annual-group-head em {
  color: rgba(68, 58, 47, 0.56);
  font-size: 11px;
  font-style: normal;
}

.annual-group-body {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
  border-top: 1px solid rgba(85, 70, 50, 0.08);
}

.annual-metric-cluster {
  display: grid;
  gap: 10px;
}

.annual-metric-cluster h4 {
  margin: 0;
  color: #4f4234;
  font-size: 13px;
  font-weight: 950;
}

.annual-metric-cluster.is-risk h4 {
  color: #805047;
}

.annual-metric-grid {
  margin-top: 0;
}

.metric-risk-axis .metric-level-badge span::before,
.metric-risk-axis.metric-card header em::before {
  content: "";
}

.detail-root .annual-detail {
  border-color: rgba(216, 174, 99, 0.16);
  background:
    radial-gradient(circle at 94% 0%, rgba(216, 174, 99, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(18, 32, 42, 0.92), rgba(10, 23, 32, 0.96));
}

.detail-root .annual-metric-group {
  border-color: rgba(216, 174, 99, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.detail-root .annual-group-head > strong {
  color: rgba(255, 246, 226, 0.9);
}

.detail-root .annual-group-head > span em,
.detail-root .annual-group-head::after {
  color: rgba(218, 208, 187, 0.56);
}

.detail-root .annual-group-head .annual-score-status {
  color: #b8dfe6;
}

.detail-root .annual-group-head .annual-score-status.annual-tone-watch,
.detail-root .annual-group-head .annual-score-status.annual-tone-risk {
  color: #e0a897;
}

.detail-root .annual-group-body {
  border-top-color: rgba(216, 174, 99, 0.1);
}

.detail-root .annual-detail-head > div > span {
  color: rgba(216, 174, 99, 0.82);
}

.detail-root .annual-year-seal {
  border-color: rgba(216, 174, 99, 0.22);
  background:
    radial-gradient(circle at 40% 20%, rgba(255, 244, 215, 0.2), transparent 44%),
    linear-gradient(145deg, rgba(216, 174, 99, 0.15), rgba(216, 174, 99, 0.04));
  color: #e1bf77;
}

.detail-root .annual-metric-cluster h4 {
  color: rgba(255, 244, 215, 0.76);
}

.detail-root .annual-metric-cluster.is-risk h4 {
  color: rgba(224, 168, 151, 0.86);
}

.detail-root .metric-great .metric-level-badge,
.detail-root .metric-good .metric-level-badge,
.detail-root .metric-great.metric-card header em,
.detail-root .metric-good.metric-card header em,
.detail-root .domain-score-summary .metric-great em,
.detail-root .domain-score-summary .metric-good em {
  border-color: rgba(94, 159, 184, 0.32);
  background:
    linear-gradient(180deg, rgba(82, 139, 160, 0.18), rgba(35, 86, 108, 0.1));
  color: #b8dfe6;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.09),
    0 1px 4px rgba(83, 157, 190, 0.045);
}

.detail-root .metric-caution .metric-level-badge,
.detail-root .metric-risk .metric-level-badge,
.detail-root .metric-caution.metric-card header em,
.detail-root .metric-risk.metric-card header em,
.detail-root .domain-score-summary .metric-caution em,
.detail-root .domain-score-summary .metric-risk em {
  border-color: rgba(190, 104, 90, 0.3);
  background:
    linear-gradient(180deg, rgba(176, 106, 92, 0.16), rgba(122, 54, 47, 0.1));
  color: #e0ad9f;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.08),
    0 1px 4px rgba(207, 91, 76, 0.045);
}

/* Readability pass: keep labels compact, but make actual reading text mobile-friendly. */
.metric-card {
  gap: 12px;
  padding: 15px;
}

.metric-card header strong {
  font-size: clamp(17px, 4.45vw, 18.5px);
  line-height: 1.32;
}

.metric-card p,
.metric-grid-detail .metric-card p,
.metric-grid-detail .metric-card.is-wide p,
.topic-card p,
.factor-block p,
.detail-block p,
.insight-block p,
.domain-reading-card p,
.contextual-evidence-card p,
.structure-focus-grid p,
.gyeokguk-focus-grid p,
.timing-summary-grid p,
.timing-inline-column p,
.timing-decade-board > p,
.timing-flow-list p,
.timing-event-card > p,
.timing-domain-cell p,
.annual-detail-head p {
  font-size: clamp(15.2px, 4vw, 16px);
  line-height: 1.68;
  letter-spacing: 0;
  word-break: keep-all;
}

.metric-card .metric-action-copy {
  margin-top: 10px;
}

.section-verdict-copy p,
.section-verdict-copy .section-verdict-basis,
.detail-interpretation,
.detail-basis,
.screen-insight-hero p,
.domain-title-row p,
.domain-landing-head p,
.paper-card p,
.contract-card p,
.gyeokguk-focus-head p,
.structure-focus-head p {
  font-size: clamp(15.4px, 4.05vw, 16.2px);
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
}

.screen-insight-hero h3,
.summary-dashboard h2,
.paper-card h2,
.paper-card h3,
.contract-card h3,
.gyeokguk-focus-head h2,
.structure-focus-head h2,
.annual-detail-head h2 {
  font-size: clamp(21px, 5.7vw, 24px);
  line-height: 1.28;
  letter-spacing: 0;
}

.metric-level-badge,
.metric-card header em,
.domain-score-summary em,
.annual-detail-head > div > span,
.timing-summary-grid span,
.timing-domain-cell span,
.timing-inline-column span,
.timing-event-card header span,
.tag-row span,
.tag-row button {
  letter-spacing: 0;
}

.annual-metric-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 430px) {
  .metric-card,
  .metric-grid-detail .metric-card,
  .metric-grid-detail .metric-card.is-wide,
  .detail-root .metric-grid-detail .metric-card,
  .detail-root .metric-grid-detail .metric-card.is-wide {
    padding: 16px;
  }

  .metric-grid-detail,
  .annual-metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card header {
    gap: 10px;
  }
}

/* Launch polish: preserve the mobile product, improve hierarchy and reading comfort. */
:root {
  --product-bg: #061522;
  --product-bg-deep: #04101b;
  --product-surface: rgba(10, 29, 44, 0.72);
  --product-surface-soft: rgba(255, 255, 255, 0.025);
  --product-line: rgba(222, 181, 103, 0.14);
  --product-line-strong: rgba(222, 181, 103, 0.26);
  --product-gold: #dfbd77;
  --product-gold-soft: rgba(223, 189, 119, 0.7);
  --product-text: #f4ead6;
  --product-text-body: rgba(244, 234, 214, 0.72);
  --product-text-muted: rgba(244, 234, 214, 0.5);
}

body.is-report-view,
body.is-detail-view {
  background: #020a12;
}

body.is-report-view .site-stage,
body.is-detail-view .site-stage {
  background:
    linear-gradient(180deg, rgba(7, 24, 38, 0.98), rgba(4, 15, 25, 0.99)),
    var(--product-bg);
  box-shadow:
    0 0 0 1px rgba(222, 181, 103, 0.1),
    0 32px 90px rgba(0, 0, 0, 0.5);
}

body.is-report-view .site-stage::before,
body.is-detail-view .site-stage::before {
  height: 190px;
  opacity: 0.42;
  background:
    radial-gradient(circle at 79% 20%, rgba(239, 207, 145, 0.2), transparent 2px),
    radial-gradient(circle at 28% 35%, rgba(255, 255, 255, 0.13), transparent 1px),
    linear-gradient(180deg, rgba(222, 181, 103, 0.05), transparent 82%);
}

body.is-report-view .site-stage::after,
body.is-detail-view .site-stage::after {
  display: none;
}

.input-trust-note {
  margin: -2px 0 2px;
  color: rgba(255, 244, 215, 0.54);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
  word-break: keep-all;
}

.input-trust-note a {
  color: rgba(239, 208, 142, 0.78);
  text-underline-offset: 3px;
}

/* Reference-aligned product shell: flatter hierarchy, tighter rhythm, complete routes. */
.report-root {
  gap: 18px;
}

.detail-root {
  gap: 16px;
}

.report-appbar,
.report-appbar.light {
  min-height: 54px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  border-bottom: 1px solid var(--product-line);
  background: rgba(4, 16, 27, 0.94);
  color: var(--product-text);
  backdrop-filter: blur(14px) saturate(120%);
}

.report-appbar strong {
  color: var(--product-text);
  font-size: 15.5px;
  font-weight: 700;
}

.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  color: rgba(244, 234, 214, 0.78);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(222, 181, 103, 0.08);
  color: var(--product-gold);
  outline: 1px solid rgba(222, 181, 103, 0.18);
  outline-offset: 0;
}

.icon-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.65;
}

.report-hero {
  min-height: 154px;
  align-content: center;
  gap: 7px;
  padding: 19px 18px 19px 21px;
  border: 0;
  border-left: 2px solid rgba(223, 189, 119, 0.76);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 47, 0.72), rgba(5, 18, 29, 0.08) 72%);
  box-shadow: none;
}

.report-hero::after {
  right: -62px;
  top: -35px;
  bottom: auto;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(223, 189, 119, 0.09);
  border-radius: 50%;
  opacity: 0.72;
  background:
    repeating-radial-gradient(circle, transparent 0 17px, rgba(223, 189, 119, 0.035) 18px 19px),
    repeating-conic-gradient(from 15deg, rgba(223, 189, 119, 0.032) 0 1deg, transparent 1deg 30deg);
}

.report-hero .seal-icon {
  width: 36px;
  height: 36px;
  border-color: rgba(216, 174, 99, 0.3);
  font-size: 17px;
}

.report-hero-kicker {
  color: rgba(230, 198, 134, 0.72);
  font-size: 11px;
}

.report-hero h2 {
  max-width: calc(100% - 34px);
  color: #f0d59d;
  font-size: clamp(23px, 6vw, 27px);
  line-height: 1.27;
}

.report-hero p {
  max-width: 31ch;
  color: var(--product-text-body);
  font-size: 14px;
  line-height: 1.62;
  word-break: keep-all;
}

.domain-route-board,
.report-entry-board {
  gap: 9px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.domain-route-head,
.report-entry-head {
  position: relative;
  gap: 0;
  padding: 0 2px 9px 12px;
  border-bottom: 1px solid rgba(222, 181, 103, 0.09);
}

.domain-route-head::before,
.report-entry-head::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 10px;
  left: 0;
  width: 2px;
  background: rgba(223, 189, 119, 0.58);
}

.domain-route-head span,
.report-entry-head span {
  color: rgba(216, 174, 99, 0.74);
  font-size: 11px;
}

.domain-route-head strong,
.report-entry-head strong {
  color: var(--product-text);
  font-size: 15px;
  line-height: 1.35;
}

.domain-route-head p {
  color: rgba(255, 244, 215, 0.48);
  font-size: 11.5px;
}

.domain-direct-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.report-entry-domain-board .domain-direct-card {
  min-height: 56px;
  grid-template-columns: 26px minmax(0, 1fr) 28px;
  gap: 7px;
  padding: 9px 10px;
  border-color: rgba(222, 181, 103, 0.13);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.report-entry-domain-board .domain-direct-card:first-child {
  grid-column: 1 / -1;
  min-height: 60px;
  border-color: rgba(222, 181, 103, 0.2);
  background:
    linear-gradient(90deg, rgba(222, 181, 103, 0.07), rgba(255, 255, 255, 0.018) 56%);
}

.report-entry-domain-board .domain-direct-card.metric-great,
.report-entry-domain-board .domain-direct-card.metric-good,
.report-entry-domain-board .domain-direct-card.metric-normal,
.report-entry-domain-board .domain-direct-card.metric-caution,
.report-entry-domain-board .domain-direct-card.metric-risk {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
}

.report-entry-domain-board .domain-direct-card:first-child.metric-great,
.report-entry-domain-board .domain-direct-card:first-child.metric-good,
.report-entry-domain-board .domain-direct-card:first-child.metric-normal,
.report-entry-domain-board .domain-direct-card:first-child.metric-caution,
.report-entry-domain-board .domain-direct-card:first-child.metric-risk {
  background:
    linear-gradient(90deg, rgba(222, 181, 103, 0.07), rgba(255, 255, 255, 0.018) 56%);
}

.domain-direct-card::before {
  width: 2px;
  top: 10px;
  bottom: 10px;
  background: rgba(223, 189, 119, 0.5);
}

.report-entry-domain-board .domain-direct-card.metric-great::before,
.report-entry-domain-board .domain-direct-card.metric-good::before,
.report-entry-domain-board .domain-direct-card.metric-normal::before,
.report-entry-domain-board .domain-direct-card.metric-caution::before,
.report-entry-domain-board .domain-direct-card.metric-risk::before {
  background: rgba(223, 189, 119, 0.5);
}

.report-entry-domain-board .domain-direct-card .section-symbol {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: rgba(223, 189, 119, 0.9);
  font-size: 13px;
}

.domain-direct-copy {
  gap: 0;
}

.domain-direct-copy strong {
  color: rgba(244, 234, 214, 0.92);
  font-size: 13.5px;
  line-height: 1.25;
}

.domain-direct-copy small {
  display: none;
}

.report-entry-domain-board .domain-direct-score {
  width: 28px;
  min-width: 28px;
  min-height: 26px;
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.report-entry-domain-board .domain-direct-card.metric-great .domain-direct-score,
.report-entry-domain-board .domain-direct-card.metric-good .domain-direct-score,
.report-entry-domain-board .domain-direct-card.metric-normal .domain-direct-score,
.report-entry-domain-board .domain-direct-card.metric-caution .domain-direct-score,
.report-entry-domain-board .domain-direct-card.metric-risk .domain-direct-score {
  border: 0;
  background: transparent;
}

.report-entry-domain-board .domain-direct-score::after {
  display: none;
  content: "";
}

.domain-direct-score b {
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.report-entry-grid {
  gap: 7px;
}

.report-entry-card,
.report-entry-card.report-entry-domains {
  min-height: 54px;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 10px;
  border-color: rgba(222, 181, 103, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014));
  box-shadow: none;
}

.report-entry-card::after {
  right: 10px;
  width: 6px;
  height: 6px;
}

.report-entry-symbol,
.report-entry-card.report-entry-domains .report-entry-symbol {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: rgba(223, 189, 119, 0.88);
  font-size: 11px;
}

.report-entry-copy {
  gap: 0;
  padding-right: 9px;
}

.report-entry-copy strong,
.report-entry-card.report-entry-domains .report-entry-copy strong {
  color: rgba(244, 234, 214, 0.88);
  font-size: 13px;
}

.domain-direct-card:hover,
.report-entry-card:hover,
.domain-direct-card:focus-visible,
.report-entry-card:focus-visible {
  border-color: rgba(223, 189, 119, 0.3);
  background-color: rgba(222, 181, 103, 0.045);
  outline: 0;
}

.report-entry-copy small {
  display: none;
}

.domain-direct-card:active,
.report-entry-card:active,
.detail-tabs button:active,
.bottom-nav button:active {
  transform: translateY(1px);
}

.metric-detail-disclosure {
  overflow: hidden;
  margin-top: 11px;
  border: 1px solid rgba(222, 181, 103, 0.13);
  border-radius: 7px;
  background: rgba(7, 23, 36, 0.46);
}

.metric-detail-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 11px 13px;
  cursor: pointer;
  list-style: none;
}

.metric-detail-disclosure > summary::-webkit-details-marker {
  display: none;
}

.metric-detail-disclosure > summary > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.metric-detail-disclosure > summary strong {
  color: #efd6a3;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}

.metric-detail-disclosure > summary small {
  color: var(--product-text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  word-break: keep-all;
}

.metric-detail-disclosure > summary > em {
  flex: 0 0 auto;
  min-width: 42px;
  padding: 5px 8px;
  border: 1px solid rgba(222, 181, 103, 0.16);
  border-radius: 4px;
  color: rgba(239, 208, 142, 0.8);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.metric-detail-disclosure > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: rgba(239, 208, 142, 0.66);
  font-size: 20px;
  font-weight: 500;
}

.metric-detail-disclosure[open] > summary {
  border-bottom: 1px solid rgba(216, 174, 99, 0.12);
}

.metric-detail-disclosure[open] > summary::after {
  content: "−";
}

.metric-detail-disclosure > .metric-grid {
  margin: 0;
  padding: 14px;
}

.detail-root .contextual-evidence-group.is-collapsible,
.detail-root .contextual-evidence-group.is-secondary {
  overflow: hidden;
  border: 1px solid rgba(222, 181, 103, 0.11);
  border-radius: 7px;
  background: rgba(7, 23, 36, 0.5);
}

.detail-root .contextual-evidence-group.is-collapsible > summary,
.detail-root .contextual-evidence-group.is-secondary > summary {
  min-height: 54px;
  padding: 12px 13px;
  border-bottom: 0;
}

.detail-root .contextual-evidence-group.is-collapsible[open] > summary,
.detail-root .contextual-evidence-group.is-secondary[open] > summary {
  border-bottom: 1px solid rgba(222, 181, 103, 0.1);
  background: rgba(222, 181, 103, 0.025);
}

.detail-root .contextual-evidence-group-body,
.detail-root .contextual-evidence-group.is-secondary .contextual-evidence-stack {
  margin-top: 0;
  padding: 9px;
}

.detail-root .contextual-evidence-group-body.contextual-evidence-stack {
  display: grid;
}

.detail-root .contextual-evidence-card {
  border-radius: 6px;
  border-color: rgba(222, 181, 103, 0.09);
  background: rgba(255, 255, 255, 0.012);
  box-shadow: none;
}

.detail-root .contextual-evidence-group > summary strong,
.detail-root .contextual-evidence-card header strong {
  color: rgba(244, 234, 214, 0.9);
}

.detail-root .contextual-evidence-group > summary em,
.detail-root .contextual-evidence-card header em {
  color: rgba(223, 189, 119, 0.72);
}

.detail-root .contextual-evidence-card p {
  color: rgba(244, 234, 214, 0.69);
  line-height: 1.68;
}

.detail-root .contextual-keyword-group {
  border-color: rgba(222, 181, 103, 0.09);
  background: rgba(255, 255, 255, 0.012);
}

.detail-tabs {
  gap: 0;
  margin-inline: -18px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(222, 181, 103, 0.11);
  background: rgba(3, 14, 24, 0.44);
  scroll-padding-inline: 18px;
  -webkit-mask-image: none;
  mask-image: none;
}

.detail-tabs button {
  position: relative;
  min-width: 72px;
  min-height: 45px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 8px 11px 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 234, 214, 0.48);
  box-shadow: none;
  text-align: center;
}

.detail-tabs button::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: -1px;
  left: 11px;
  height: 1px;
  background: transparent;
}

.detail-tabs button.is-active {
  border: 0;
  background: transparent;
  color: var(--product-gold);
  box-shadow: none;
}

.detail-tabs button.is-active::after {
  height: 2px;
  background: rgba(223, 189, 119, 0.9);
}

.detail-tab-icon {
  display: none;
}

.detail-tab-copy strong {
  font-size: 12.2px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.detail-tab-copy small {
  font-size: 11.5px;
  line-height: 1.2;
}

.metric-bar,
.detail-root .metric-bar {
  height: 7px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.045);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
}

.metric-bar i::after,
.detail-root .metric-bar i::after {
  opacity: 0.18;
}

.metric-level-badge,
.detail-root .metric-level-badge {
  border-radius: 4px;
  font-size: 11.5px;
  box-shadow: none;
}

.metric-level-badge small,
.detail-root .metric-level-badge small {
  font-size: 10.5px;
}

.detail-root .domain-metric-overview {
  gap: 5px;
  margin-top: 10px;
  padding: 11px 12px;
  border-color: rgba(222, 181, 103, 0.13);
  border-radius: 7px;
  background: rgba(7, 23, 36, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

.detail-root .domain-metric-overview-list {
  gap: 0;
}

.detail-root .domain-metric-overview-row {
  min-height: 40px;
  padding: 6px 1px;
  border: 0;
  border-bottom: 1px solid rgba(222, 181, 103, 0.08);
  border-radius: 0;
  background: transparent;
}

.detail-root .domain-metric-overview-row:last-child {
  border-bottom: 0;
}

.detail-root .domain-metric-overview-row > span {
  color: rgba(244, 234, 214, 0.76);
  font-size: 12.5px;
}

.detail-root > .paper-card,
.detail-root .domain-detail-head,
.detail-root .annual-detail,
.detail-root .timing-decade-board,
.detail-root .contextual-palja-basis {
  border-color: rgba(216, 174, 99, 0.14);
  border-radius: 8px;
  background: rgba(7, 22, 36, 0.72);
  box-shadow: none;
}

.detail-root .domain-detail-head,
.detail-root .annual-detail,
.detail-root .timing-decade-board,
.detail-root .contextual-palja-basis {
  padding: 16px;
}

.detail-root .domain-detail-head::before {
  width: 2px;
  background: rgba(223, 189, 119, 0.66);
}

.detail-root .domain-detail-head,
.detail-root .domain-detail-head.metric-great,
.detail-root .domain-detail-head.metric-good,
.detail-root .domain-detail-head.metric-normal,
.detail-root .domain-detail-head.metric-caution,
.detail-root .domain-detail-head.metric-risk {
  padding: 17px 2px 16px 18px;
  border: 0;
  border-bottom: 1px solid rgba(222, 181, 103, 0.12);
  border-radius: 0;
  background: transparent;
}

.detail-root .domain-title-row {
  align-items: center;
  gap: 11px;
}

.detail-root .domain-title-row h2,
.detail-root .annual-detail-head h2 {
  color: #f1d8a5;
  font-size: clamp(22px, 5.7vw, 25px);
}

.detail-root .domain-title-row p,
.detail-root .annual-detail-head p {
  margin-top: 5px;
  color: var(--product-text-body);
  font-size: 14px;
  line-height: 1.62;
}

.detail-root .domain-score {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  gap: 2px;
  border-color: rgba(223, 189, 119, 0.46);
  background: rgba(8, 25, 39, 0.72);
  box-shadow:
    inset 0 0 0 3px rgba(4, 16, 26, 0.86),
    inset 0 0 0 4px rgba(223, 189, 119, 0.12);
}

.detail-root .domain-score strong.metric-grade-value {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  font-size: 21px;
  line-height: 1;
}

.detail-root .domain-score span {
  color: rgba(244, 234, 214, 0.48);
  font-size: 9.5px;
}

.detail-root .domain-detail-head > .metric-bar,
.detail-root .annual-detail > .metric-bar {
  margin-top: 11px;
}

.detail-root .domain-score-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid rgba(222, 181, 103, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.016);
}

.detail-root .domain-score-summary article {
  min-height: 84px;
  padding: 11px 12px;
  border: 0;
  border-right: 1px solid rgba(222, 181, 103, 0.11);
  border-radius: 0;
  background: transparent;
}

.detail-root .domain-score-summary article:last-child {
  border-right: 0;
}

.detail-root .domain-score-summary span {
  margin-bottom: 4px;
  font-size: 10.5px;
}

.detail-root .domain-score-summary strong {
  min-height: 34px;
  font-size: 13.5px;
  line-height: 1.28;
}

.detail-root .domain-score-summary em {
  min-height: 23px;
  height: 23px;
  margin-top: 5px;
  padding: 0 7px;
  border-radius: 4px;
}

/* A group's overall tone must not recolor every metric nested inside it. */
.detail-root .metric-card.metric-great .metric-bar i,
.detail-root .metric-card.metric-good .metric-bar i,
.detail-root .domain-metric-overview-row.metric-great .metric-bar i,
.detail-root .domain-metric-overview-row.metric-good .metric-bar i {
  background: linear-gradient(90deg, rgba(65, 122, 151, 0.94), rgba(126, 184, 195, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.2),
    0 0 5px rgba(83, 157, 190, 0.11);
}

.detail-root .metric-card.metric-normal .metric-bar i,
.detail-root .domain-metric-overview-row.metric-normal .metric-bar i {
  background: linear-gradient(90deg, rgba(132, 137, 132, 0.84), rgba(190, 193, 181, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.14),
    0 0 6px rgba(180, 180, 165, 0.08);
}

.detail-root .metric-card.metric-caution .metric-bar i,
.detail-root .metric-card.metric-risk .metric-bar i,
.detail-root .domain-metric-overview-row.metric-caution .metric-bar i,
.detail-root .domain-metric-overview-row.metric-risk .metric-bar i {
  background: linear-gradient(90deg, rgba(168, 75, 67, 0.94), rgba(218, 128, 105, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 215, 0.18),
    0 0 5px rgba(207, 91, 76, 0.1);
}

.annual-metric-group {
  border-radius: 6px;
  box-shadow: none;
}

.annual-group-head > strong {
  font-size: 14.5px;
}

.detail-root .annual-detail {
  gap: 14px;
  border-color: rgba(222, 181, 103, 0.13);
  background: rgba(7, 23, 36, 0.56);
}

.detail-root .annual-detail-head {
  grid-template-columns: 38px minmax(0, 1fr) 58px;
  gap: 10px;
}

.detail-root .annual-year-seal {
  width: 38px;
  height: 38px;
  border-color: rgba(223, 189, 119, 0.34);
  background: rgba(223, 189, 119, 0.06);
  color: var(--product-gold);
  font-size: 15px;
}

.detail-root .annual-detail-head > div > span {
  font-size: 10.5px;
}

.detail-root .annual-group-list {
  gap: 7px;
}

.detail-root .annual-metric-group {
  border-color: rgba(222, 181, 103, 0.11);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.014);
}

.detail-root .annual-group-head {
  min-height: 50px;
  padding: 10px 11px;
}

.detail-root .annual-group-body {
  gap: 10px;
  padding: 0 10px 10px;
}

.detail-root .timing-decade-board {
  gap: 10px;
  border-color: rgba(222, 181, 103, 0.13);
  background: rgba(7, 23, 36, 0.52);
}

.detail-root .timing-decade-list {
  gap: 7px;
}

.detail-root .timing-decade-row {
  gap: 7px;
  padding: 10px;
  border-color: rgba(222, 181, 103, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.014);
}

.detail-root .timing-decade-row > strong {
  font-size: 14px;
}

.detail-root .timing-decade-columns {
  gap: 6px;
}

.detail-root .timing-decade-cell,
.detail-root .timing-decade-cell.is-good,
.detail-root .timing-decade-cell.is-caution {
  gap: 5px;
  padding: 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.018);
}

.detail-root .timing-decade-cell.is-good {
  border-color: rgba(83, 125, 132, 0.24);
}

.detail-root .timing-decade-cell.is-caution {
  border-color: rgba(176, 106, 92, 0.24);
}

.detail-root .timing-decade-cell .timing-year-pills span {
  min-width: 0;
  padding: 5px 7px;
  border-radius: 4px;
  font-size: 11px;
}

.detail-root .contextual-palja-basis {
  overflow: hidden;
  border-color: rgba(222, 181, 103, 0.14);
  background: rgba(7, 23, 36, 0.58);
}

.detail-root .manse-basis-head {
  margin-bottom: 11px;
}

.detail-root .manse-basis-head h2 {
  font-size: 20px;
}

.detail-root .manse-basis-head p {
  margin-top: 4px;
  color: rgba(255, 244, 215, 0.52);
  font-size: 12.5px;
  line-height: 1.55;
}

.detail-root .contextual-evidence-groups {
  gap: 8px;
}

.bottom-nav {
  padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
  border-top-color: rgba(222, 181, 103, 0.12);
  background: rgba(3, 13, 22, 0.96);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
}

.bottom-nav button {
  position: relative;
  min-height: 48px;
  gap: 2px;
  border-radius: 0;
  color: rgba(244, 234, 214, 0.46);
  font-size: 10.5px;
}

.bottom-nav button::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 24px;
  height: 1px;
  transform: translateX(-50%);
  background: transparent;
}

.bottom-nav svg {
  width: 19px;
  height: 19px;
}

.bottom-nav button.is-active {
  background: transparent;
  color: var(--product-gold);
}

.bottom-nav button.is-active::before {
  background: rgba(223, 189, 119, 0.9);
}

@media (min-width: 720px) {
  body.is-report-view .site-stage,
  body.is-detail-view .site-stage {
    width: min(450px, 100vw);
  }

  body.is-report-view .site-stage::before,
  body.is-report-view .site-stage::after,
  body.is-report-view .bottom-nav,
  body.is-detail-view .site-stage::before,
  body.is-detail-view .site-stage::after,
  body.is-detail-view .bottom-nav {
    width: min(450px, 100vw);
  }

  body.is-detail-view .detail-root,
  body.is-report-view .report-root {
    max-width: 100%;
  }

  .detail-root .domain-metric-overview-list {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .metric-detail-disclosure > .metric-grid,
  .detail-root .annual-metric-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .detail-root .domain-metric-overview-head {
    display: flex;
    gap: 0;
  }

  .detail-root .domain-metric-overview-head span {
    display: none;
  }

  .detail-root .domain-metric-overview-row {
    grid-template-columns: 64px minmax(0, 1fr) 38px;
    grid-template-areas: "metric-label metric-bar metric-badge";
    column-gap: 6px;
    row-gap: 0;
    min-height: 38px;
    padding: 5px 1px;
    align-items: center;
  }

  .detail-root .domain-metric-overview-row > span {
    grid-area: metric-label;
    align-self: center;
    font-size: 11.7px;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .detail-root .domain-metric-overview-bar {
    grid-area: metric-bar;
    width: 100%;
  }

  .detail-root .domain-metric-overview-row .metric-level-badge[class*="metric-grade-"] {
    grid-area: metric-badge;
    justify-self: stretch;
    align-self: center;
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 22px;
    padding: 0;
    border-color: transparent !important;
    background: transparent !important;
    font-size: 11.5px;
  }

  .detail-root .domain-metric-overview-row .metric-level-badge small {
    font-size: 9.5px;
  }

  .metric-detail-disclosure > summary {
    gap: 10px;
    padding: 11px 12px;
  }

  .metric-detail-disclosure > summary small {
    font-size: 11.8px;
  }

  .report-entry-head strong {
    font-size: 14.5px;
  }

  .detail-root .annual-detail-head p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

/* Final Korean typography system: one stable local CJK sans stack across the product. */
body *,
body *::before,
body *::after {
  font-family: var(--font-ui-kr) !important;
  font-synthesis: none;
  font-kerning: normal;
}

button,
input,
select,
textarea,
option,
optgroup {
  font-family: var(--font-ui-kr) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 700;
}

/* Customer-facing grade system: internal scores stay private, grades carry the visual hierarchy. */
.metric-grade-a-plus {
  --grade-ink: #effbff;
  --grade-border: rgba(131, 200, 225, 0.52);
  --grade-bg: rgba(83, 168, 197, 0.22);
  --grade-start: #83c8e1;
  --grade-end: #b8e8f3;
}

.metric-grade-a {
  --grade-ink: #e9faff;
  --grade-border: rgba(117, 191, 220, 0.49);
  --grade-bg: rgba(79, 153, 181, 0.21);
  --grade-start: #75bfdc;
  --grade-end: #a8e0ed;
}

.metric-grade-a-minus {
  --grade-ink: #e4f8ff;
  --grade-border: rgba(105, 180, 208, 0.47);
  --grade-bg: rgba(75, 145, 173, 0.2);
  --grade-start: #69b4d0;
  --grade-end: #9bd8e8;
}

.metric-grade-b-plus {
  --grade-ink: #e0f4fb;
  --grade-border: rgba(100, 166, 195, 0.46);
  --grade-bg: rgba(69, 141, 170, 0.19);
  --grade-start: #64a6c3;
  --grade-end: #95c9db;
}

.metric-grade-b {
  --grade-ink: #dceff7;
  --grade-border: rgba(104, 153, 178, 0.42);
  --grade-bg: rgba(74, 124, 150, 0.18);
  --grade-start: #6899b2;
  --grade-end: #8fbbce;
}

.metric-grade-b-minus {
  --grade-ink: #dceff7;
  --grade-border: rgba(104, 153, 178, 0.42);
  --grade-bg: rgba(74, 124, 150, 0.18);
  --grade-start: #6899b2;
  --grade-end: #8fbbce;
}

.metric-grade-c-plus {
  --grade-ink: #d2c0bc;
  --grade-border: rgba(168, 145, 140, 0.33);
  --grade-bg: rgba(136, 116, 112, 0.16);
  --grade-start: #897370;
  --grade-end: #aa9591;
}

.metric-grade-c {
  --grade-ink: #d8b8b1;
  --grade-border: rgba(180, 133, 125, 0.35);
  --grade-bg: rgba(146, 105, 99, 0.16);
  --grade-start: #926b66;
  --grade-end: #b98a82;
}

.metric-grade-c-minus {
  --grade-ink: #ddafa5;
  --grade-border: rgba(190, 121, 109, 0.37);
  --grade-bg: rgba(156, 94, 87, 0.17);
  --grade-start: #9c625b;
  --grade-end: #c47d71;
}

.metric-grade-d-plus {
  --grade-ink: #e3a397;
  --grade-border: rgba(199, 108, 94, 0.39);
  --grade-bg: rgba(165, 82, 74, 0.18);
  --grade-start: #a6574f;
  --grade-end: #cf7163;
}

.metric-grade-d {
  --grade-ink: #e89889;
  --grade-border: rgba(208, 95, 79, 0.42);
  --grade-bg: rgba(174, 71, 63, 0.19);
  --grade-start: #b04c44;
  --grade-end: #d96859;
}

.metric-grade-d-minus {
  --grade-ink: #ed8b79;
  --grade-border: rgba(218, 80, 63, 0.45);
  --grade-bg: rgba(184, 60, 52, 0.21);
  --grade-start: #ba4139;
  --grade-end: #e15d4d;
}

.metric-grade-unknown {
  --grade-ink: rgba(255, 244, 215, 0.68);
  --grade-border: rgba(255, 244, 215, 0.16);
  --grade-bg: rgba(255, 244, 215, 0.06);
  --grade-start: #777d7b;
  --grade-end: #a5aaa5;
}

.metric-level-badge[class*="metric-grade-"],
.detail-root .metric-level-badge[class*="metric-grade-"] {
  justify-content: center;
  border-color: var(--grade-border) !important;
  background: var(--grade-bg) !important;
  color: var(--grade-ink) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.metric-level-badge[class*="metric-grade-"] span,
.detail-root .metric-level-badge[class*="metric-grade-"] span {
  width: 100%;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.metric-grade-value[class*="metric-grade-"] {
  color: var(--grade-ink) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-shadow: none !important;
}

.metric-bar[class*="metric-grade-"] i,
.detail-root .metric-bar[class*="metric-grade-"] i,
body .detail-root .metric-card .metric-bar[class*="metric-grade-"] i,
body .detail-root .domain-metric-overview-row .metric-bar[class*="metric-grade-"] i,
body .detail-root .domain-detail-head .metric-bar[class*="metric-grade-"] i,
body .detail-root .annual-detail .metric-bar[class*="metric-grade-"] i {
  background: var(--metric-bar-color, var(--grade-start));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    0 0 0 0.5px rgba(255, 255, 255, 0.1);
  filter: none;
}

.domain-score-value .metric-grade-value,
.domain-landing-side .metric-grade-value,
.domain-score .metric-grade-value,
.annual-score-status.metric-grade-value {
  display: inline-flex;
  min-width: 38px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grade-border) !important;
  border-radius: 999px;
  background: var(--grade-bg) !important;
  padding: 2px 8px;
  font-size: 13px;
  line-height: 1;
  box-shadow: none !important;
  text-shadow: none !important;
}

.domain-score .metric-grade-value {
  min-width: 48px;
  min-height: 32px;
  font-size: 20px;
}

.report-entry-domain-board .domain-direct-score .metric-grade-value {
  display: inline;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  font-size: 12px;
  line-height: 1;
}

.detail-root .domain-score-summary .metric-level-badge {
  border-color: transparent !important;
  background: transparent !important;
}

@media (max-width: 560px) {
  .detail-root .domain-metric-overview-row .metric-level-badge {
    padding-inline: 3px;
  }

  .detail-root .domain-metric-overview-row .metric-level-badge span {
    font-size: 11.5px;
  }
}

/* Keep every analysis route on the same restrained surface system. */
.detail-root .annual-detail,
.detail-root .annual-detail.metric-great,
.detail-root .annual-detail.metric-good,
.detail-root .annual-detail.metric-normal,
.detail-root .annual-detail.metric-caution,
.detail-root .annual-detail.metric-risk,
.detail-root .timing-year-board.timing-decade-board,
.detail-root .contextual-palja-basis.manse-basis-card {
  border-color: rgba(222, 181, 103, 0.13);
  background: rgba(7, 23, 36, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

/* UI refinement v6: precise type, control and reading rhythm without changing routes. */
.hero-orbit {
  inset: -20px 0 auto;
  height: 154px;
  opacity: 0.52;
}

.hero-orbit i {
  width: 38px;
  height: 38px;
}

.hero-orbit i::before {
  font-size: 15px;
}

.hero-orbit i:nth-child(1) {
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
}

.hero-orbit i:nth-child(2) {
  left: 18%;
  top: 36px;
  width: 34px;
  height: 34px;
}

.hero-orbit i:nth-child(3) {
  right: 18%;
  top: 36px;
  width: 34px;
  height: 34px;
}

.hero-orbit i:nth-child(4),
.hero-orbit i:nth-child(5) {
  width: 30px;
  height: 30px;
  top: 90px;
  opacity: 0.16;
}

.hero-orbit i:nth-child(4) {
  left: -24px;
}

.hero-orbit i:nth-child(5) {
  right: -24px;
}

.hero-orbit i:nth-child(4)::before,
.hero-orbit i:nth-child(5)::before {
  font-size: 13px;
}

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.hero-copy {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.55;
  word-break: keep-all;
}

.v2-form {
  gap: 11px;
  padding: 17px;
  border-radius: 8px;
}

.v2-form h2 {
  font-size: 19px;
  line-height: 1.4;
}

.v2-form > p {
  color: #665d51;
  font-size: 13.5px;
  line-height: 1.5;
  word-break: keep-all;
}

.field > span,
.field > label {
  font-size: 13.5px;
}

.field input,
.field select {
  min-height: 44px;
  border-radius: 6px;
  font-size: 16px;
}

.segmented span {
  min-height: 44px;
  border-radius: 6px;
  font-size: 15px;
}

.gold-button {
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(124, 83, 30, 0.18);
}

.blog-entry-button {
  min-height: 42px;
  border-radius: 6px;
  font-size: 13px;
}

.report-appbar strong {
  font-size: 16px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 6px;
}

.report-hero-kicker {
  font-size: 11.5px;
}

.report-hero p {
  font-size: 14.5px;
}

.domain-route-head strong,
.report-entry-head strong {
  font-size: 15.5px;
}

.domain-direct-copy strong {
  font-size: 14px;
  font-weight: 700;
}

.domain-direct-score b,
.report-entry-domain-board .domain-direct-score .metric-grade-value {
  font-size: 12.5px;
  font-weight: 700;
}

.report-entry-copy strong {
  font-size: 13.5px;
}

.detail-tab-copy strong {
  font-size: 13px;
  font-weight: 700;
}

.detail-tabs button {
  color: rgba(244, 234, 214, 0.62);
}

.detail-root .domain-score span {
  font-size: 10.5px;
}

.detail-root .domain-score-summary article {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 9px;
  padding: 10px 12px;
}

.detail-root .domain-score-summary article > span {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  font-size: 11px;
}

.detail-root .domain-score-summary article > strong {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  min-height: 0;
  font-size: 14px;
  line-height: 1.3;
}

.detail-root .domain-score-summary article > em {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin-top: 0;
  font-size: 12px;
}

.detail-root .domain-metric-overview-head strong {
  font-size: 16px;
  font-weight: 700;
}

.detail-root .domain-metric-overview-head span {
  font-size: 12.5px;
  font-weight: 600;
}

.detail-root .domain-metric-overview-row > span {
  font-size: 13px;
}

.detail-root .domain-metric-overview-row .metric-level-badge span {
  font-size: 12.5px;
  font-weight: 700;
}

.metric-detail-disclosure > summary strong,
.metric-expand summary strong {
  font-size: 14.5px;
}

.metric-detail-disclosure > summary small,
.metric-expand-note {
  font-size: 12.5px;
}

.detail-root .annual-detail-head > div > span {
  font-size: 11.5px;
}

.detail-root .annual-group-head > strong {
  font-size: 15px;
}

.detail-root .annual-group-head .annual-score-status {
  font-size: 12.5px;
}

.detail-root .annual-group-head em {
  font-size: 11.5px;
}

.detail-root .timing-decade-row {
  gap: 6px;
  padding: 10px 11px 11px;
}

.detail-root .timing-decade-row > strong {
  font-size: 14.5px;
}

.detail-root .timing-decade-columns {
  gap: 0;
  border-top: 1px solid rgba(222, 181, 103, 0.08);
}

.detail-root .timing-decade-cell,
.detail-root .timing-decade-cell.is-good,
.detail-root .timing-decade-cell.is-caution {
  padding: 9px 8px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.detail-root .timing-decade-cell + .timing-decade-cell {
  border-left: 1px solid rgba(222, 181, 103, 0.09);
}

.detail-root .timing-decade-cell > b,
.detail-root .timing-decade-cell > em {
  font-size: 12.5px;
}

.detail-root .timing-decade-cell.is-good > b,
.detail-root .timing-decade-cell.is-good > em {
  color: rgba(174, 213, 223, 0.84);
}

.detail-root .timing-decade-cell.is-caution > b,
.detail-root .timing-decade-cell.is-caution > em {
  color: rgba(224, 168, 151, 0.86);
}

.detail-root .timing-decade-cell .timing-year-pills span {
  padding: 5px 7px;
  font-size: 12px;
}

.detail-root .manse-basis-head h2 {
  font-size: 21px;
}

.detail-root .manse-basis-head p {
  font-size: 13px;
}

.detail-root .contextual-evidence-group.is-collapsible > summary,
.detail-root .contextual-evidence-group.is-secondary > summary {
  min-height: 58px;
  padding: 10px 13px;
}

.detail-root .contextual-evidence-group > summary strong {
  font-size: 15px;
}

.detail-root .contextual-evidence-group > summary small {
  color: rgba(255, 244, 215, 0.7);
  font-size: 11.5px;
}

.detail-root .contextual-keyword-group {
  grid-template-columns: 62px minmax(0, 1fr);
}

.bottom-nav button {
  font-size: 11.5px;
}

@media (max-width: 560px) {
  .home-hero h1 {
    font-size: 27px;
  }

  .v2-form {
    padding: 16px;
  }

  .detail-tabs button {
    min-width: 74px;
    padding-inline: 9px;
  }

  .detail-root .domain-metric-overview-row {
    grid-template-columns: 64px minmax(0, 1fr) 42px;
    column-gap: 7px;
  }

  .detail-root .domain-score-summary article > strong {
    font-size: 13.5px;
  }

  .detail-root .domain-score-summary article > em {
    padding-inline: 6px;
    font-size: 11.5px;
  }
}

/* UI refinement v7: single-line overview labels and calmer metric descriptions. */
.detail-root .domain-metric-overview {
  padding-left: 4px;
}

.detail-root .domain-metric-overview-row {
  grid-template-columns: 80px minmax(80px, 1fr) 48px;
  column-gap: 2px;
  padding-left: 0;
}

.detail-root .domain-metric-overview-row > span {
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.detail-root .domain-metric-overview-bar,
.detail-root .domain-metric-overview-row .metric-bar {
  width: 100%;
  justify-self: stretch;
}

.detail-root .domain-metric-overview-bar {
  position: relative;
  left: -20px;
  width: calc(100% + 20px);
}

.detail-root .domain-metric-overview-row .metric-bar {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.095);
}

.metric-detail-disclosure > .metric-grid .metric-card p {
  font-size: clamp(13.2px, 3.5vw, 14px);
  line-height: 1.62;
}

@media (max-width: 560px) {
  .detail-root .domain-metric-overview-row {
    grid-template-columns: 80px minmax(80px, 1fr) 42px;
    column-gap: 2px;
  }

  .detail-root .domain-metric-overview-row > span {
    font-size: 12.2px;
  }
}

/* UI product polish v18: preserve content while unifying hierarchy and interaction. */
:root {
  --ui-canvas: #020a11;
  --ui-stage-top: #071b2a;
  --ui-stage-bottom: #04111c;
  --ui-surface-1: rgba(10, 29, 44, 0.76);
  --ui-surface-2: rgba(255, 255, 255, 0.024);
  --ui-surface-3: rgba(255, 255, 255, 0.042);
  --ui-line: rgba(222, 181, 103, 0.12);
  --ui-line-strong: rgba(222, 181, 103, 0.22);
  --ui-gold: #dfbd77;
  --ui-gold-bright: #efd39b;
  --ui-text: #f3e9d4;
  --ui-text-body: rgba(243, 233, 212, 0.74);
  --ui-text-muted: rgba(243, 233, 212, 0.52);
  --ui-radius-sm: 6px;
  --ui-radius-md: 8px;
  --ui-shadow-stage: 0 28px 90px rgba(0, 0, 0, 0.46);
}

body.is-report-view,
body.is-detail-view {
  background: var(--ui-canvas);
}

body.is-report-view .site-stage,
body.is-detail-view .site-stage {
  background:
    linear-gradient(180deg, var(--ui-stage-top), var(--ui-stage-bottom) 68%),
    var(--product-bg);
  box-shadow:
    0 0 0 1px rgba(222, 181, 103, 0.09),
    var(--ui-shadow-stage);
}

body.is-report-view .site-stage::before,
body.is-detail-view .site-stage::before {
  height: 176px;
  opacity: 0.34;
  background:
    radial-gradient(circle at 80% 18%, rgba(239, 207, 145, 0.2), transparent 2px),
    radial-gradient(circle at 31% 31%, rgba(255, 255, 255, 0.12), transparent 1px),
    linear-gradient(180deg, rgba(222, 181, 103, 0.055), transparent 84%);
}

button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(223, 189, 119, 0.44);
  outline-offset: 2px;
}

.screen-home.is-active {
  gap: 14px;
}

.home-hero {
  min-height: 198px;
  gap: 8px;
  padding: 12px 8px 16px;
}

.hero-orbit {
  inset: -16px 2px auto;
  height: 158px;
  border-color: rgba(216, 174, 99, 0.19);
  opacity: 0.5;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 1px solid rgba(216, 174, 99, 0.065);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-orbit::before {
  top: 18px;
  width: 72%;
  height: 116px;
}

.hero-orbit::after {
  top: 39px;
  width: 49%;
  height: 78px;
}

.hero-orbit i {
  border-color: rgba(216, 174, 99, 0.38);
  background: rgba(6, 22, 35, 0.94);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.eyebrow {
  color: rgba(241, 207, 140, 0.82);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.home-hero h1 {
  max-width: 11ch;
  color: #f5dfae;
  font-size: clamp(27px, 7.2vw, 31px);
  line-height: 1.25;
  word-break: keep-all;
}

.hero-copy {
  max-width: 31ch;
  color: rgba(245, 235, 215, 0.7);
  font-size: 14px;
  line-height: 1.58;
}

.v2-form {
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(94, 72, 42, 0.12);
  border-radius: var(--ui-radius-md);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.995), rgba(245, 236, 221, 0.985));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.v2-form h2 {
  color: #29231c;
  font-size: 19px;
  line-height: 1.4;
}

.v2-form > p {
  margin-top: -4px;
  color: #6d6255;
  font-size: 13.5px;
  line-height: 1.58;
}

.field {
  gap: 6px;
}

.field > span,
.field > label {
  color: #3c342b;
  font-size: 13.5px;
}

.field input,
.field select,
.segmented span {
  border-color: rgba(59, 45, 30, 0.15);
  border-radius: var(--ui-radius-sm);
  background: rgba(255, 255, 255, 0.68);
}

.field input,
.field select {
  min-height: 46px;
  padding-inline: 13px;
}

.field input:hover,
.field select:hover,
.segmented span:hover {
  border-color: rgba(145, 105, 51, 0.32);
}

.segmented {
  gap: 7px;
}

.segmented span {
  min-height: 46px;
}

.segmented input:checked + span {
  border-color: #091c2b;
  background: linear-gradient(180deg, #102b40, #071a29);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gold-button {
  min-height: 50px;
  border-radius: var(--ui-radius-sm);
  background: linear-gradient(135deg, #efd092, #d2a157);
  box-shadow: 0 12px 24px rgba(117, 77, 27, 0.2);
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.gold-button:hover,
.gold-button:focus-visible {
  filter: brightness(1.035);
  box-shadow: 0 14px 28px rgba(117, 77, 27, 0.25);
}

.gold-button:active {
  transform: translateY(1px);
}

.input-trust-note {
  margin: -1px 0 1px;
  color: #776b5c;
  font-size: 12px;
}

.input-trust-note a {
  color: #8b6634;
}

.input-trust-note > span,
.input-trust-note > a {
  display: block;
}

.input-trust-note > a {
  margin-top: 2px;
}

.blog-entry-button {
  width: min(72%, 260px);
  min-height: 38px;
  margin-top: 16px;
  border-color: rgba(110, 91, 67, 0.19);
  border-radius: var(--ui-radius-sm);
  background: rgba(255, 255, 255, 0.2);
  color: rgba(64, 56, 47, 0.66);
  font-size: 12.5px;
}

.blog-entry-button:hover,
.blog-entry-button:focus-visible {
  border-color: rgba(126, 91, 45, 0.3);
  background: rgba(255, 255, 255, 0.42);
  color: rgba(55, 47, 38, 0.82);
}

.splash-card {
  width: min(100%, 348px);
  min-height: 596px;
  gap: 20px;
  padding: 40px 25px;
  border-color: rgba(216, 174, 99, 0.25);
  border-radius: var(--ui-radius-md);
  background:
    radial-gradient(circle at 50% 24%, rgba(216, 174, 99, 0.13), transparent 34%),
    radial-gradient(circle at 82% 32%, rgba(106, 143, 160, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(6, 21, 34, 0.98), rgba(4, 16, 27, 0.97));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.splash-card::before,
.splash-card::after {
  left: 25px;
  right: 25px;
  background: linear-gradient(90deg, transparent, rgba(216, 174, 99, 0.27), transparent);
}

.splash-emblem {
  width: 228px;
  height: 228px;
}

.moon-mark {
  width: 190px;
  height: 190px;
  border-color: rgba(216, 174, 99, 0.34);
}

.manse-disk {
  width: 150px;
  height: 150px;
  border-color: rgba(216, 174, 99, 0.24);
  background:
    repeating-conic-gradient(from -15deg, rgba(216, 174, 99, 0.09) 0 1deg, transparent 1deg 30deg),
    radial-gradient(circle at 50% 50%, rgba(216, 174, 99, 0.09) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(216, 174, 99, 0.06) 55%, transparent 57%),
    rgba(5, 18, 31, 0.46);
}

.brand-seal {
  color: #efd39b;
  font-size: 32px;
  letter-spacing: 0.06em;
  text-shadow: 0 0 22px rgba(216, 174, 99, 0.1);
}

.splash-card p {
  color: rgba(244, 234, 214, 0.72);
  font-size: 14px;
}

.screen-loading {
  gap: 22px;
}

.loading-orbit {
  width: min(72vw, 286px);
  height: min(72vw, 286px);
  border-color: rgba(216, 174, 99, 0.22);
  background:
    radial-gradient(circle, rgba(216, 174, 99, 0.075), transparent 62%);
  box-shadow: inset 0 0 52px rgba(216, 174, 99, 0.025);
}

.loading-orbit span {
  transform: rotate(calc(var(--i) * 36deg)) translateY(-121px) rotate(calc(var(--i) * -36deg));
}

.loading-panel {
  gap: 10px;
  padding: 16px;
  border-color: var(--ui-line);
  border-radius: var(--ui-radius-md);
  background: rgba(8, 26, 40, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.loading-panel strong {
  color: var(--ui-gold-bright);
  font-size: 24px;
}

.loading-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.085);
}

.loading-panel p {
  color: var(--ui-text-body);
  font-size: 13.5px;
}

.report-root,
.detail-root {
  gap: 18px;
}

.report-appbar,
.report-appbar.light {
  min-height: 56px;
  margin-bottom: 18px;
  border-bottom-color: rgba(222, 181, 103, 0.105);
  background: rgba(3, 14, 24, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.report-appbar strong {
  font-size: 15.5px;
  line-height: 1.2;
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: var(--ui-radius-sm);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(223, 189, 119, 0.065);
  outline: 1px solid rgba(223, 189, 119, 0.16);
}

.report-hero {
  min-height: 164px;
  gap: 7px;
  padding: 21px 19px 21px 22px;
  border-left-color: rgba(223, 189, 119, 0.72);
  background:
    linear-gradient(90deg, rgba(13, 35, 52, 0.78), rgba(5, 18, 29, 0.1) 74%);
}

.report-hero::after {
  right: -52px;
  top: -26px;
  width: 176px;
  height: 176px;
  opacity: 0.66;
}

.report-hero .seal-icon {
  width: 34px;
  height: 34px;
  background: rgba(223, 189, 119, 0.035);
  font-size: 16px;
}

.report-hero-kicker {
  color: rgba(230, 198, 134, 0.74);
  font-size: 11.5px;
}

.report-hero h2 {
  color: var(--ui-gold-bright);
  font-size: clamp(24px, 6vw, 28px);
  line-height: 1.25;
}

.report-hero p {
  max-width: 34ch;
  color: var(--ui-text-body);
  font-size: 14px;
  line-height: 1.65;
}

.domain-route-board,
.report-entry-board {
  gap: 10px;
}

.domain-route-head,
.report-entry-head {
  padding: 0 2px 10px 12px;
  border-bottom-color: rgba(222, 181, 103, 0.085);
}

.domain-route-head::before,
.report-entry-head::before {
  top: 2px;
  bottom: 11px;
  background: rgba(223, 189, 119, 0.54);
}

.domain-route-head strong,
.report-entry-head strong {
  font-size: 15.5px;
}

.domain-direct-grid,
.report-entry-grid {
  gap: 8px;
}

.report-entry-domain-board .domain-direct-card,
.report-entry-card,
.report-entry-card.report-entry-domains {
  border-color: rgba(222, 181, 103, 0.115);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.031), rgba(255, 255, 255, 0.013));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.report-entry-domain-board .domain-direct-card {
  min-height: 58px;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 11px;
}

.report-entry-domain-board .domain-direct-card:first-child {
  min-height: 62px;
  background:
    linear-gradient(90deg, rgba(222, 181, 103, 0.065), rgba(255, 255, 255, 0.015) 58%);
}

.report-entry-domain-board .domain-direct-card .section-symbol {
  width: 28px;
  height: 28px;
  color: rgba(223, 189, 119, 0.88);
  font-size: 14px;
}

.domain-direct-copy strong {
  font-size: 13.5px;
}

.report-entry-domain-board .domain-direct-score {
  width: 32px;
  min-width: 32px;
}

.report-entry-card,
.report-entry-card.report-entry-domains {
  min-height: 56px;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  padding: 10px 11px;
}

.report-entry-symbol,
.report-entry-card.report-entry-domains .report-entry-symbol {
  width: 30px;
  height: 30px;
  color: rgba(223, 189, 119, 0.82);
  font-size: 12px;
}

.report-entry-copy strong,
.report-entry-card.report-entry-domains .report-entry-copy strong {
  font-size: 13.5px;
}

.domain-direct-card:hover,
.report-entry-card:hover,
.domain-direct-card:focus-visible,
.report-entry-card:focus-visible {
  border-color: rgba(223, 189, 119, 0.27);
  background-color: rgba(222, 181, 103, 0.04);
}

.detail-tabs {
  margin-top: -2px;
  margin-bottom: 2px;
  border-top: 1px solid rgba(222, 181, 103, 0.035);
  border-bottom-color: rgba(222, 181, 103, 0.1);
  background: rgba(3, 14, 24, 0.5);
}

.detail-tabs button {
  min-height: 46px;
  padding: 8px 12px 10px;
  color: rgba(244, 234, 214, 0.54);
}

.detail-tabs button:hover,
.detail-tabs button:focus-visible {
  color: rgba(244, 234, 214, 0.78);
  background: rgba(223, 189, 119, 0.025);
}

.detail-tabs button.is-active {
  color: var(--ui-gold-bright);
  background: rgba(223, 189, 119, 0.028);
}

.detail-tabs button.is-active::after {
  background: rgba(223, 189, 119, 0.86);
}

.detail-tab-copy strong {
  font-size: 12.5px;
}

.detail-root .domain-detail-head,
.detail-root .domain-detail-head.metric-great,
.detail-root .domain-detail-head.metric-good,
.detail-root .domain-detail-head.metric-normal,
.detail-root .domain-detail-head.metric-caution,
.detail-root .domain-detail-head.metric-risk {
  padding: 19px 2px 18px 19px;
  border-bottom-color: rgba(222, 181, 103, 0.105);
}

.detail-root .domain-title-row {
  gap: 14px;
}

.detail-root .domain-title-row h2,
.detail-root .annual-detail-head h2 {
  color: var(--ui-gold-bright);
  font-size: clamp(23px, 5.8vw, 26px);
  line-height: 1.25;
}

.detail-root .domain-title-row p,
.detail-root .annual-detail-head p {
  max-width: 43ch;
  color: var(--ui-text-body);
  font-size: 14px;
  line-height: 1.66;
}

.detail-root .domain-score {
  width: 60px;
  min-width: 60px;
  min-height: 60px;
  border-color: rgba(223, 189, 119, 0.38);
  background: rgba(6, 22, 35, 0.8);
  box-shadow:
    inset 0 0 0 3px rgba(4, 16, 26, 0.88),
    inset 0 0 0 4px rgba(223, 189, 119, 0.095);
}

.detail-root .domain-score strong.metric-grade-value {
  font-size: 21px;
}

.detail-root .domain-score span {
  color: rgba(244, 234, 214, 0.5);
}

.detail-root .domain-score-summary {
  margin-top: 12px;
  border-color: rgba(222, 181, 103, 0.12);
  background: rgba(255, 255, 255, 0.012);
}

.detail-root .domain-score-summary article {
  min-height: 74px;
  padding: 11px 13px;
}

.detail-root .domain-score-summary article > span {
  color: rgba(223, 189, 119, 0.67);
  font-size: 10.5px;
}

.detail-root .domain-score-summary article > strong {
  color: rgba(244, 234, 214, 0.9);
  font-size: 13.5px;
}

.detail-root .domain-metric-overview {
  gap: 7px;
  margin-top: 12px;
  padding: 13px 10px 8px 4px;
  border-color: rgba(222, 181, 103, 0.115);
  border-radius: var(--ui-radius-md);
  background:
    linear-gradient(180deg, rgba(11, 31, 47, 0.62), rgba(7, 23, 36, 0.5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.014);
}

.detail-root .domain-metric-overview-head {
  padding: 0 6px 3px;
}

.detail-root .domain-metric-overview-head strong {
  color: rgba(244, 234, 214, 0.94);
  font-size: 15.5px;
}

.detail-root .domain-metric-overview-head span {
  color: rgba(244, 234, 214, 0.48);
  font-size: 12px;
}

.detail-root .domain-metric-overview-row {
  min-height: 39px;
  padding-block: 6px;
  border-bottom-color: rgba(222, 181, 103, 0.07);
}

.detail-root .domain-metric-overview-row > span {
  color: rgba(244, 234, 214, 0.78);
  font-size: 12.3px;
  font-weight: 650;
}

.metric-bar,
.detail-root .metric-bar {
  height: 7px;
  border-color: rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.1);
}

.detail-root .domain-metric-overview-row .metric-level-badge span {
  font-size: 12px;
}

.metric-detail-disclosure {
  margin-top: 13px;
  border-color: rgba(222, 181, 103, 0.115);
  border-radius: var(--ui-radius-md);
  background: rgba(7, 23, 36, 0.44);
}

.metric-detail-disclosure > summary {
  min-height: 58px;
  gap: 12px;
  padding: 12px 14px;
}

.metric-detail-disclosure > summary:hover {
  background: rgba(223, 189, 119, 0.025);
}

.metric-detail-disclosure > summary strong {
  color: var(--ui-gold-bright);
  font-size: 14.5px;
}

.metric-detail-disclosure > summary small {
  color: var(--ui-text-muted);
  font-size: 12px;
}

.metric-detail-disclosure > summary > em {
  min-width: 40px;
  border-color: rgba(222, 181, 103, 0.13);
  background: rgba(223, 189, 119, 0.035);
}

.metric-detail-disclosure > .metric-grid {
  gap: 10px;
  padding: 12px;
}

.metric-detail-disclosure > .metric-grid .metric-card {
  border-color: rgba(222, 181, 103, 0.095);
  border-radius: var(--ui-radius-sm);
  background: rgba(255, 255, 255, 0.017);
  box-shadow: none;
}

.metric-detail-disclosure > .metric-grid .metric-card p {
  color: rgba(244, 234, 214, 0.69);
}

.detail-root .annual-detail,
.detail-root .annual-detail.metric-great,
.detail-root .annual-detail.metric-good,
.detail-root .annual-detail.metric-normal,
.detail-root .annual-detail.metric-caution,
.detail-root .annual-detail.metric-risk {
  gap: 15px;
  padding: 17px;
  border-color: rgba(222, 181, 103, 0.12);
  border-radius: var(--ui-radius-md);
  background:
    linear-gradient(180deg, rgba(10, 29, 44, 0.68), rgba(7, 23, 36, 0.52));
}

.detail-root .annual-detail-head {
  grid-template-columns: 40px minmax(0, 1fr) 60px;
  gap: 11px;
  align-items: center;
}

.detail-root .annual-year-seal {
  width: 40px;
  height: 40px;
  border-color: rgba(223, 189, 119, 0.3);
  background: rgba(223, 189, 119, 0.055);
  font-size: 15px;
}

.detail-root .annual-detail-head > div > span {
  color: rgba(223, 189, 119, 0.68);
  font-size: 11px;
}

.detail-root .annual-group-list {
  gap: 8px;
}

.detail-root .annual-metric-group {
  border-color: rgba(222, 181, 103, 0.1);
  border-radius: var(--ui-radius-sm);
  background: rgba(255, 255, 255, 0.012);
}

.detail-root .annual-group-head {
  min-height: 52px;
  padding: 10px 12px;
}

.detail-root .annual-group-head:hover {
  background: rgba(223, 189, 119, 0.022);
}

.detail-root .annual-group-head > strong {
  color: rgba(244, 234, 214, 0.9);
  font-size: 14.5px;
}

.detail-root .annual-group-body {
  gap: 10px;
  padding: 0 11px 11px;
}

.detail-root .timing-decade-board {
  gap: 12px;
  padding: 17px;
  border-color: rgba(222, 181, 103, 0.12);
  border-radius: var(--ui-radius-md);
  background:
    linear-gradient(180deg, rgba(10, 29, 44, 0.66), rgba(7, 23, 36, 0.5));
}

.detail-root .timing-decade-list {
  gap: 8px;
}

.detail-root .timing-decade-row {
  gap: 7px;
  padding: 11px 12px 12px;
  border-color: rgba(222, 181, 103, 0.09);
  border-radius: var(--ui-radius-sm);
  background: rgba(255, 255, 255, 0.012);
}

.detail-root .timing-decade-row > strong {
  color: rgba(244, 234, 214, 0.88);
  font-size: 14px;
}

.detail-root .timing-decade-columns {
  border-top-color: rgba(222, 181, 103, 0.075);
}

.detail-root .timing-decade-cell + .timing-decade-cell {
  border-left-color: rgba(222, 181, 103, 0.075);
}

.detail-root .timing-decade-cell .timing-year-pills span {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.025);
}

.detail-root .contextual-palja-basis {
  padding: 17px;
  border-color: rgba(222, 181, 103, 0.12);
  border-radius: var(--ui-radius-md);
  background:
    linear-gradient(180deg, rgba(10, 29, 44, 0.66), rgba(7, 23, 36, 0.52));
}

.detail-root .manse-basis-head {
  gap: 5px;
  margin-bottom: 12px;
}

.detail-root .manse-basis-head h2 {
  color: var(--ui-gold-bright);
  font-size: 21px;
}

.detail-root .manse-basis-head p {
  color: var(--ui-text-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.detail-root .manse-pillars {
  margin-top: 13px;
  border-color: rgba(90, 67, 38, 0.19);
  border-radius: var(--ui-radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.99), rgba(243, 232, 212, 0.985));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.detail-root .manse-row + .manse-row {
  border-top-color: rgba(92, 73, 47, 0.085);
}

.detail-root .manse-row-label,
.detail-root .manse-pillar-head,
.detail-root .manse-cell {
  border-left-color: rgba(92, 73, 47, 0.075);
}

.detail-root .manse-row-label {
  background: rgba(94, 72, 42, 0.065);
  color: #6f5d46;
}

.detail-root .manse-pillar-head {
  background:
    linear-gradient(180deg, rgba(223, 189, 119, 0.08), rgba(255, 249, 238, 0.42));
}

.detail-root .manse-token {
  font-size: clamp(30px, 8.4vw, 42px);
}

.detail-root .contextual-evidence-groups {
  gap: 9px;
}

.detail-root .contextual-evidence-group.is-collapsible,
.detail-root .contextual-evidence-group.is-secondary {
  border-color: rgba(222, 181, 103, 0.1);
  border-radius: var(--ui-radius-md);
  background: rgba(7, 23, 36, 0.46);
}

.detail-root .contextual-evidence-group.is-collapsible > summary,
.detail-root .contextual-evidence-group.is-secondary > summary {
  min-height: 56px;
  padding: 11px 14px;
}

.detail-root .contextual-evidence-group.is-collapsible > summary:hover,
.detail-root .contextual-evidence-group.is-secondary > summary:hover {
  background: rgba(223, 189, 119, 0.025);
}

.detail-root .contextual-evidence-group > summary strong {
  color: rgba(244, 234, 214, 0.91);
  font-size: 14.5px;
}

.detail-root .contextual-evidence-group > summary small {
  color: rgba(244, 234, 214, 0.48);
  font-size: 11px;
}

.detail-root .contextual-evidence-group-body,
.detail-root .contextual-evidence-group.is-secondary .contextual-evidence-stack {
  padding: 10px;
}

.detail-root .contextual-evidence-card,
.detail-root .contextual-evidence-card.is-compact-evidence,
.detail-root .contextual-evidence-stack.is-compact .contextual-evidence-card {
  gap: 11px;
  padding: 14px;
  border-color: rgba(222, 181, 103, 0.085);
  border-radius: var(--ui-radius-sm);
  background: rgba(255, 255, 255, 0.014);
}

.detail-root .contextual-evidence-card header strong {
  color: rgba(244, 234, 214, 0.93);
  font-size: 15px;
}

.detail-root .contextual-evidence-card header em {
  border-color: rgba(222, 181, 103, 0.12);
  border-radius: 4px;
  background: rgba(223, 189, 119, 0.035);
}

.detail-root .contextual-evidence-card p {
  color: rgba(244, 234, 214, 0.69);
  font-size: 13.5px;
  line-height: 1.7;
}

.detail-root .contextual-keyword-groups {
  gap: 7px;
}

.detail-root .contextual-keyword-group {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 9px;
  padding: 8px 9px;
  border-color: rgba(222, 181, 103, 0.075);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.012);
}

.detail-root .contextual-keyword-group b {
  color: rgba(228, 198, 133, 0.84);
  font-size: 12px;
}

.detail-root .contextual-keyword-group span {
  color: rgba(244, 234, 214, 0.72);
  font-size: 12.5px;
  line-height: 1.58;
}

.bottom-nav {
  padding: 5px 9px calc(5px + env(safe-area-inset-bottom));
  border-top-color: rgba(222, 181, 103, 0.105);
  background: rgba(3, 13, 22, 0.975);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.16);
}

.bottom-nav button {
  min-height: 49px;
  color: rgba(244, 234, 214, 0.48);
  font-size: 11px;
}

.bottom-nav button:hover,
.bottom-nav button:focus-visible {
  color: rgba(244, 234, 214, 0.76);
  background: rgba(223, 189, 119, 0.025);
}

.bottom-nav button.is-active {
  color: var(--ui-gold-bright);
}

@media (hover: hover) and (pointer: fine) {
  .report-entry-domain-board .domain-direct-card:hover,
  .report-entry-card:hover,
  .metric-detail-disclosure > summary:hover,
  .detail-root .annual-group-head:hover,
  .detail-root .contextual-evidence-group > summary:hover {
    transform: translateY(-1px);
  }
}

@media (min-width: 720px) {
  body.is-report-view .site-stage,
  body.is-detail-view .site-stage,
  body.is-report-view .site-stage::before,
  body.is-report-view .site-stage::after,
  body.is-report-view .bottom-nav,
  body.is-detail-view .site-stage::before,
  body.is-detail-view .site-stage::after,
  body.is-detail-view .bottom-nav {
    width: min(450px, 100vw);
  }

  .report-entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .report-entry-card,
  .report-entry-card.report-entry-domains {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .detail-root .domain-metric-overview-list {
    column-gap: 0;
  }
}

@media (max-width: 560px) {
  .screen {
    padding-inline: 16px;
  }

  .report-appbar,
  .report-appbar.light {
    margin-inline: -16px;
  }

  .detail-tabs {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .home-hero {
    min-height: 194px;
  }

  .home-hero h1 {
    font-size: 27px;
  }

  .v2-form {
    padding: 17px;
  }

  .report-hero {
    min-height: 158px;
    padding: 19px 17px 19px 20px;
  }

  .report-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-tabs button {
    min-width: 73px;
    padding-inline: 9px;
  }

  .detail-root .domain-detail-head,
  .detail-root .domain-detail-head.metric-great,
  .detail-root .domain-detail-head.metric-good,
  .detail-root .domain-detail-head.metric-normal,
  .detail-root .domain-detail-head.metric-caution,
  .detail-root .domain-detail-head.metric-risk {
    padding: 17px 1px 16px 17px;
  }

  .detail-root .domain-title-row {
    gap: 10px;
  }

  .detail-root .domain-title-row h2,
  .detail-root .annual-detail-head h2 {
    font-size: 23px;
  }

  .detail-root .domain-title-row p,
  .detail-root .annual-detail-head p {
    font-size: 13.5px;
  }

  .detail-root .domain-metric-overview {
    padding-right: 8px;
  }

  .detail-root .domain-metric-overview-row {
    grid-template-columns: 80px minmax(80px, 1fr) 42px;
    column-gap: 2px;
  }

  .detail-root .domain-metric-overview-row > span {
    font-size: 12px;
  }

  .detail-root .annual-detail,
  .detail-root .timing-decade-board,
  .detail-root .contextual-palja-basis {
    padding: 15px;
  }

  .detail-root .annual-detail-head {
    grid-template-columns: 38px minmax(0, 1fr) 58px;
    gap: 9px;
  }

  .detail-root .annual-year-seal {
    width: 38px;
    height: 38px;
  }

  .detail-root .manse-row {
    grid-template-columns: 38px repeat(var(--manse-cols), minmax(0, 1fr));
  }

  .detail-root .manse-hidden-chip {
    padding-inline: 4px;
  }

  .detail-root .contextual-evidence-card p {
    font-size: 13.2px;
  }
}

@media (max-width: 370px) {
  .screen {
    padding-inline: 14px;
  }

  .report-appbar,
  .report-appbar.light,
  .detail-tabs {
    margin-inline: -14px;
  }

  .detail-tabs {
    padding-inline: 14px;
  }

  .detail-root .domain-score-summary article {
    padding-inline: 10px;
  }

  .detail-root .domain-metric-overview-row {
    grid-template-columns: 76px minmax(74px, 1fr) 40px;
  }

  .detail-root .domain-metric-overview-row > span {
    font-size: 11.5px;
  }

  .detail-root .manse-row {
    grid-template-columns: 34px repeat(var(--manse-cols), minmax(0, 1fr));
  }
}

/* Reference fidelity v2: match the approved lightweight dashboard proportions. */
body.is-report-view .screen-report,
body.is-detail-view .screen-detail {
  padding-inline: 22px;
  background:
    radial-gradient(circle at 76% 12%, rgba(57, 101, 164, 0.11), transparent 30%),
    linear-gradient(180deg, #06162a 0%, #041425 48%, #03111f 100%);
}

body.is-detail-view .light-surface {
  max-width: calc(100% + 44px);
  margin-inline: -22px;
  padding: 0 22px calc(92px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 76% 10%, rgba(57, 101, 164, 0.1), transparent 31%),
    linear-gradient(180deg, #06162a 0%, #041425 48%, #03111f 100%);
}

body.is-report-view .report-appbar,
body.is-detail-view .report-appbar,
body.is-detail-view .report-appbar.light {
  width: auto;
  min-height: 60px;
  margin: 0 -22px 8px;
  padding-inline: 22px;
  grid-template-columns: 112px minmax(0, 1fr) 112px;
  border-bottom-color: rgba(132, 158, 189, 0.2);
  background: rgba(4, 18, 35, 0.92);
  box-shadow: none;
}

body.is-report-view .back-button span,
body.is-detail-view .back-button span,
body.is-report-view .share-button-label,
body.is-detail-view .share-button-label {
  font-size: 15px;
  font-weight: 570;
}

body.is-report-view .back-button svg,
body.is-detail-view .back-button svg,
body.is-report-view .share-button svg,
body.is-detail-view .share-button svg {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

body.is-report-view .report-root {
  gap: 22px;
}

body.is-report-view .report-personality-dashboard {
  min-height: 92px;
  gap: 18px;
  padding: 13px 3px 17px;
}

body.is-report-view .report-personality-copy {
  gap: 8px;
}

body.is-report-view .report-personality-type-label {
  font-size: 12.5px;
}

body.is-report-view .report-personality-copy h2 {
  font-size: 27px;
  line-height: 1.24;
}

body.is-report-view .report-personality-detail-link {
  min-width: 76px;
  font-size: 14px;
}

body.is-report-view .daily-fortune-board {
  border-color: rgba(105, 145, 187, 0.4);
  border-radius: 10px;
  background:
    radial-gradient(circle at 78% 25%, rgba(82, 132, 188, 0.11), transparent 40%),
    linear-gradient(145deg, rgba(10, 31, 59, 0.98), rgba(5, 19, 41, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 34px rgba(0, 0, 0, 0.16);
}

body.is-report-view .daily-fortune-head {
  min-height: 76px;
  padding: 17px 20px 10px;
}

body.is-report-view .daily-fortune-head strong {
  font-size: 21px;
}

body.is-report-view .daily-fortune-head small {
  font-size: 12px;
}

body.is-report-view .daily-fortune-calendar {
  width: 30px;
  height: 30px;
}

body.is-report-view .daily-fortune-calendar svg {
  width: 24px;
  height: 24px;
}

body.is-report-view .daily-fortune-summary {
  min-height: 286px;
  grid-template-rows: 188px minmax(0, 1fr);
  padding: 0 20px 16px;
}

body.is-report-view .daily-fortune-gauge-card {
  min-height: 188px;
  padding-bottom: 14px;
}

body.is-report-view .daily-fortune-gauge-card > small {
  font-size: 12px;
}

body.is-report-view .daily-fortune-arc {
  width: min(100%, 210px);
  margin-top: 2px;
}

body.is-report-view .daily-fortune-arc-track,
body.is-report-view .daily-fortune-arc-value {
  stroke-width: 8;
}

body.is-report-view .daily-fortune-arc > span {
  bottom: 6px;
}

body.is-report-view .daily-fortune-arc > span strong {
  font-size: 50px;
}

body.is-report-view .daily-fortune-arc > span small {
  font-size: 12px;
}

body.is-report-view .daily-fortune-status {
  min-width: 68px;
  height: 27px;
  font-size: 12px;
}

body.is-report-view .daily-fortune-bars {
  gap: 8px;
  padding-top: 13px;
}

body.is-report-view .daily-fortune-bar-row {
  min-height: 25px;
  grid-template-columns: 28px 80px minmax(0, 1fr) 28px;
  gap: 8px;
}

body.is-report-view .daily-fortune-preview-icon.has-report-icon {
  width: 27px;
  height: 27px;
}

body.is-report-view .daily-fortune-bar-row > .daily-fortune-preview-label {
  font-size: 12px;
  font-weight: 580;
}

body.is-report-view .daily-fortune-bar-row .metric-bar {
  height: 8px;
}

body.is-report-view .daily-fortune-bar-row > b {
  font-size: 13px;
}

body.is-report-view .daily-fortune-detail-link {
  min-height: 58px;
  font-size: 14px;
}

body.is-report-view .report-analysis-menu .report-dashboard-head {
  min-height: 35px;
  margin-bottom: 10px;
  padding-inline: 2px;
}

body.is-report-view .report-analysis-menu .report-dashboard-head h3 {
  font-size: 19px;
}

body.is-report-view .report-analysis-menu .report-analysis-menu-toggle {
  min-height: 35px;
  font-size: 14px;
}

body.is-report-view .report-analysis-menu .report-primary-menu-grid,
body.is-report-view .report-analysis-menu .report-primary-menu-more-grid {
  gap: 8px;
}

body.is-report-view .report-primary-menu-card,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
  min-height: 70px;
  grid-template-rows: 36px auto;
  gap: 3px;
  padding: 6px 3px 5px;
  border-color: rgba(105, 145, 187, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(12, 37, 67, 0.9), rgba(6, 25, 49, 0.95));
}

body.is-report-view .report-primary-menu-card > span.has-report-icon,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
  width: 38px;
  height: 38px;
  padding: 4px !important;
}

body.is-report-view .report-primary-menu-card strong {
  font-size: 12.5px;
  font-weight: 620;
}

body.is-report-view .report-content-board {
  margin-top: 0;
}

body.is-report-view .report-content-feature {
  min-height: 92px;
  grid-template-columns: 48px minmax(0, 1fr) 12px;
  gap: 14px;
  padding: 14px 17px;
  border-color: rgba(105, 145, 187, 0.38);
  border-radius: 10px;
}

body.is-report-view .report-content-topic-icon.has-report-icon {
  width: 48px;
  height: 48px;
  padding: 7px !important;
}

body.is-report-view .report-content-feature-meta {
  gap: 9px;
}

body.is-report-view .report-content-feature-copy small {
  color: rgba(230, 231, 233, 0.75);
  font-size: 12px;
}

body.is-report-view .report-content-new-badge {
  height: 23px;
  padding-inline: 8px;
  font-size: 10.5px;
}

body.is-report-view .report-content-feature-copy strong {
  margin-top: 7px;
  font-size: 18px;
}

body.is-detail-view .detail-root {
  gap: 0;
}

body.is-detail-view .detail-root .domain-detail-head.personality-domain-detail {
  padding: 0;
}

body.is-detail-view .personality-domain-intro {
  min-height: 104px;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 18px;
  padding: 8px 2px 13px;
}

body.is-detail-view .personality-domain-intro > div:first-child > span {
  font-size: 12px;
}

body.is-detail-view .personality-domain-intro h2 {
  margin-top: 7px;
  font-size: 27px;
  line-height: 1.2;
}

body.is-detail-view .personality-domain-intro p {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: rgba(225, 226, 225, 0.7);
  font-size: 11.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-detail-view .personality-domain-intro .domain-score {
  min-height: 78px;
  gap: 7px;
}

body.is-detail-view .personality-radar-heading {
  margin: 14px 0 1px;
}

body.is-detail-view .personality-radar-heading::after {
  display: none;
}

body.is-detail-view .personality-radar-heading h3 {
  font-size: 16px;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar,
body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
  height: 220px;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar {
  width: min(100%, 382px);
  margin-bottom: 2px;
}

body.is-detail-view .personality-domain-detail .report-radar-grid polygon,
body.is-detail-view .personality-domain-detail .report-radar-grid line {
  stroke: rgba(133, 156, 180, 0.32);
}

body.is-detail-view .personality-domain-detail .report-radar-area {
  fill: rgba(91, 151, 211, 0.28);
}

body.is-detail-view .personality-domain-detail .report-radar-stroke {
  stroke: #83bce9;
  stroke-width: 1.1;
}

body.is-detail-view .personality-domain-detail .report-radar-point {
  fill: #93c8ee;
}

body.is-detail-view .personality-domain-detail .report-radar-label {
  fill: rgba(244, 242, 238, 0.94);
  font-size: 9.4px;
  font-weight: 650;
}

body.is-detail-view .personality-domain-detail .report-radar-grade {
  fill: #fff;
  font-size: 9.5px;
  font-weight: 780;
}

body.is-detail-view .personality-domain-detail .report-radar-grade-bg {
  fill: color-mix(in srgb, var(--grade-start, #687583) 34%, #07172a);
  stroke: color-mix(in srgb, var(--grade-start, #687583) 72%, #9fb4c8);
  stroke-width: 0.7;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview {
  margin-top: 1px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head {
  min-height: 40px;
  padding: 0 2px 6px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head strong {
  font-size: 17px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head span {
  font-size: 11.5px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-item > summary,
body.is-detail-view .personality-domain-detail .domain-metric-overview-row,
body.is-detail-view .personality-domain-detail .domain-metric-overview-row.is-long-label {
  min-height: 42px;
  grid-template-columns: 34px 102px minmax(0, 1fr) 40px 11px !important;
  gap: 6px;
  padding: 5px 2px;
}

body.is-detail-view .domain-metric-overview-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(105, 167, 221, 0.72);
  border-radius: 50%;
  color: #7eb9e9;
  background: rgba(35, 78, 123, 0.14);
}

body.is-detail-view .domain-metric-overview-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.is-detail-view .metric-normal .domain-metric-overview-icon {
  border-color: rgba(183, 177, 163, 0.66);
  color: #c4bcab;
  background: rgba(154, 145, 127, 0.08);
}

body.is-detail-view .metric-caution .domain-metric-overview-icon,
body.is-detail-view .metric-risk .domain-metric-overview-icon {
  border-color: rgba(211, 139, 75, 0.78);
  color: #df9b62;
  background: rgba(156, 78, 35, 0.1);
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > span:not(.domain-metric-overview-icon) {
  font-size: 12px;
  font-weight: 590;
  line-height: 1.25;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row .metric-level-badge {
  width: 38px;
  min-width: 38px;
  height: 27px;
  min-height: 27px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation {
  padding: 8px 12px 10px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p {
  margin: 0;
  color: rgba(229, 229, 226, 0.78);
  font-size: 11.5px;
  line-height: 1.55;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p + p {
  margin-top: 4px;
}

body.is-detail-view .domain-metric-overview-rest > summary {
  min-height: 40px;
  font-size: 12px;
}

body.is-detail-view .personality-related-content {
  gap: 6px;
  margin-top: 12px;
}

body.is-detail-view .personality-related-content h3 {
  font-size: 15px;
}

body.is-detail-view .personality-related-content button {
  min-height: 50px;
  grid-template-columns: 42px minmax(0, 1fr) 10px;
}

body.is-report-view .bottom-nav,
body.is-detail-view .bottom-nav {
  min-height: 70px;
  padding-top: 7px;
}

@media (max-width: 380px) {
  body.is-report-view .screen-report,
  body.is-detail-view .screen-detail {
    padding-inline: 18px;
  }

  body.is-detail-view .light-surface {
    max-width: calc(100% + 36px);
    margin-inline: -18px;
    padding-inline: 18px;
  }

  body.is-report-view .report-appbar,
  body.is-detail-view .report-appbar,
  body.is-detail-view .report-appbar.light {
    margin-inline: -18px;
    padding-inline: 18px;
    grid-template-columns: 104px minmax(0, 1fr) 104px;
  }

  body.is-report-view .daily-fortune-head,
  body.is-report-view .daily-fortune-summary {
    padding-inline: 15px;
  }

  body.is-report-view .daily-fortune-bar-row {
    grid-template-columns: 25px 70px minmax(0, 1fr) 25px;
    gap: 6px;
  }

  body.is-detail-view .personality-domain-detail .domain-metric-overview-item > summary,
  body.is-detail-view .personality-domain-detail .domain-metric-overview-row,
  body.is-detail-view .personality-domain-detail .domain-metric-overview-row.is-long-label {
    grid-template-columns: 32px 88px minmax(0, 1fr) 38px 10px !important;
    gap: 5px;
  }

  body.is-detail-view .domain-metric-overview-icon {
    width: 30px;
    height: 30px;
  }

  body.is-detail-view .personality-domain-detail > .report-personality-radar,
  body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
    height: 214px;
  }
}

/* Brand atmosphere v1: carry the result dashboard mood through every route. */
.screen-home {
  background:
    radial-gradient(circle at 82% 3%, rgba(57, 111, 149, 0.16), transparent 30%),
    radial-gradient(circle at 10% 42%, rgba(227, 170, 102, 0.035), transparent 24%),
    linear-gradient(180deg, rgba(3, 21, 34, 0.2), rgba(3, 21, 34, 0.68));
}

.home-hero::before {
  opacity: 0.72;
}

.v2-form {
  border-color: rgba(227, 170, 102, 0.31);
  background:
    radial-gradient(circle at 94% 3%, rgba(55, 110, 147, 0.19), transparent 35%),
    radial-gradient(circle at 4% 100%, rgba(227, 170, 102, 0.035), transparent 28%),
    linear-gradient(150deg, #0a2a42, #031522 70%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 13px 30px rgba(0, 0, 0, 0.22);
}

.v2-form h2 {
  color: var(--product-gold-bright);
}

.v2-form h2 + p {
  color: rgba(242, 234, 220, 0.68);
}

.v2-form .field input,
.v2-form .field select {
  border-color: rgba(227, 170, 102, 0.24);
  background:
    linear-gradient(180deg, rgba(7, 29, 45, 0.92), rgba(3, 19, 31, 0.9));
}

.v2-form .segmented {
  border-color: rgba(227, 170, 102, 0.22);
  background: rgba(2, 15, 25, 0.72);
}

.loading-panel {
  border-color: rgba(227, 170, 102, 0.3);
  background:
    radial-gradient(circle at 92% 0%, rgba(55, 110, 147, 0.16), transparent 36%),
    linear-gradient(150deg, rgba(10, 42, 64, 0.94), rgba(3, 21, 34, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.2);
}

body.is-detail-view .light-surface {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 1%, rgba(58, 111, 148, 0.17), transparent 29%),
    radial-gradient(circle at 7% 42%, rgba(227, 170, 102, 0.025), transparent 24%),
    linear-gradient(180deg, #041a2a, #031522 46%, #02121e);
}

body.is-detail-view .light-surface::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 13px;
  bottom: 92px;
  left: 13px;
  border-right: 1px solid rgba(227, 170, 102, 0.035);
  border-left: 1px solid rgba(227, 170, 102, 0.035);
  pointer-events: none;
}

body.is-detail-view .report-appbar,
body.is-detail-view .report-appbar.light {
  border-bottom: 1px solid rgba(227, 170, 102, 0.15);
  background:
    linear-gradient(180deg, rgba(4, 23, 37, 0.98), rgba(3, 17, 28, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 8px 22px rgba(0, 0, 0, 0.16);
}

body.is-detail-view .detail-tabs {
  border-bottom-color: rgba(227, 170, 102, 0.13);
  background:
    linear-gradient(180deg, rgba(7, 28, 43, 0.9), rgba(3, 19, 31, 0.84));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

body.is-detail-view .detail-tabs button.is-active {
  background:
    radial-gradient(circle at 50% 100%, rgba(227, 170, 102, 0.08), transparent 62%);
}

body.is-detail-view .domain-detail-head,
body.is-detail-view .annual-detail,
body.is-detail-view .timing-decade-board,
body.is-detail-view .domain-landing,
body.is-detail-view .contextual-palja-basis.manse-basis-card {
  border-color: rgba(227, 170, 102, 0.29);
  border-left-color: rgba(240, 189, 119, 0.88);
  background:
    radial-gradient(circle at 91% 3%, rgba(58, 111, 148, 0.18), transparent 34%),
    linear-gradient(150deg, rgba(10, 42, 64, 0.97), rgba(3, 21, 34, 0.98) 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 30px rgba(0, 0, 0, 0.21);
}

body.is-detail-view .domain-title-row h2,
body.is-detail-view .annual-detail-head h2,
body.is-detail-view .timing-decade-board > h2,
body.is-detail-view .contextual-palja-basis h2,
body.is-detail-view .contextual-evidence-section-head h2,
body.is-detail-view .domain-landing-head h2 {
  color: var(--product-gold-bright);
  font-weight: 720;
}

body.is-detail-view .domain-title-row p,
body.is-detail-view .annual-detail-head p,
body.is-detail-view .timing-decade-board > p,
body.is-detail-view .contextual-palja-basis p,
body.is-detail-view .contextual-evidence-section-head p,
body.is-detail-view .domain-landing-head p {
  color: rgba(242, 234, 220, 0.73);
}

body.is-detail-view .domain-score {
  border-color: rgba(240, 189, 119, 0.54);
  background:
    radial-gradient(circle at 50% 35%, rgba(58, 111, 148, 0.17), transparent 56%),
    rgba(3, 21, 34, 0.88);
  box-shadow:
    inset 0 0 0 3px rgba(3, 21, 34, 0.94),
    inset 0 0 0 4px rgba(227, 170, 102, 0.15),
    0 6px 16px rgba(0, 0, 0, 0.16);
}

body.is-detail-view .domain-score-summary {
  border-color: rgba(227, 170, 102, 0.17);
  background:
    linear-gradient(145deg, rgba(10, 38, 57, 0.62), rgba(3, 21, 34, 0.46));
}

body.is-detail-view .domain-metric-overview,
body.is-detail-view .annual-metric-overview,
body.is-detail-view .annual-group-overview {
  border-color: rgba(227, 170, 102, 0.2);
  background:
    radial-gradient(circle at 96% 0%, rgba(58, 111, 148, 0.11), transparent 34%),
    linear-gradient(150deg, rgba(9, 38, 58, 0.78), rgba(4, 22, 35, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 7px 18px rgba(0, 0, 0, 0.12);
}

body.is-detail-view .domain-metric-overview-head strong,
body.is-detail-view .annual-metric-overview strong,
body.is-detail-view .annual-group-overview strong {
  color: rgba(249, 241, 228, 0.96);
}

body.is-detail-view .metric-detail-disclosure,
body.is-detail-view .annual-metric-group,
body.is-detail-view .contextual-evidence-group.is-collapsible,
body.is-detail-view .contextual-evidence-group.is-secondary {
  border-color: rgba(227, 170, 102, 0.17);
  background:
    linear-gradient(155deg, rgba(9, 36, 55, 0.86), rgba(3, 21, 34, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 7px 18px rgba(0, 0, 0, 0.11);
}

body.is-detail-view .metric-detail-disclosure[open],
body.is-detail-view .annual-metric-group[open],
body.is-detail-view .contextual-evidence-group[open] {
  border-color: rgba(227, 170, 102, 0.29);
  background:
    radial-gradient(circle at 94% 0%, rgba(58, 111, 148, 0.12), transparent 32%),
    linear-gradient(155deg, rgba(10, 40, 60, 0.92), rgba(3, 21, 34, 0.88));
}

body.is-detail-view .metric-detail-disclosure > summary strong,
body.is-detail-view .annual-group-head > strong,
body.is-detail-view .contextual-evidence-group > summary strong {
  color: rgba(249, 241, 228, 0.96);
}

body.is-detail-view .metric-detail-disclosure[open] > summary,
body.is-detail-view .annual-metric-group[open] > summary,
body.is-detail-view .contextual-evidence-group[open] > summary {
  border-bottom: 1px solid rgba(227, 170, 102, 0.22);
}

body.is-detail-view .metric-card,
body.is-detail-view .contextual-evidence-card {
  border-color: rgba(227, 170, 102, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(58, 111, 148, 0.09), transparent 34%),
    linear-gradient(150deg, rgba(12, 44, 65, 0.78), rgba(4, 23, 36, 0.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.022),
    0 6px 15px rgba(0, 0, 0, 0.1);
}

body.is-detail-view .metric-card.metric-great,
body.is-detail-view .metric-card.metric-good {
  border-left: 2px solid rgba(100, 165, 190, 0.64);
}

body.is-detail-view .metric-card.metric-caution,
body.is-detail-view .metric-card.metric-risk {
  border-left: 2px solid rgba(208, 105, 88, 0.68);
}

body.is-detail-view .metric-card.metric-normal {
  border-left: 2px solid rgba(184, 165, 145, 0.42);
}

body.is-detail-view .timing-decade-row {
  border-color: rgba(227, 170, 102, 0.15);
  background:
    linear-gradient(145deg, rgba(11, 41, 60, 0.7), rgba(4, 23, 36, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

body.is-detail-view .timing-decade-row > strong {
  color: rgba(249, 241, 228, 0.94);
}

body.is-detail-view .contextual-evidence-section-head {
  position: relative;
  padding: 2px 2px 8px 11px;
}

body.is-detail-view .contextual-evidence-section-head::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 10px;
  left: 0;
  width: 2px;
  border-radius: 1px;
  background: var(--product-gold);
}

body.is-detail-view .domain-landing-summary span,
body.is-detail-view .domain-landing-summary button,
body.is-detail-view .domain-landing-card {
  border-color: rgba(227, 170, 102, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(58, 111, 148, 0.11), transparent 36%),
    linear-gradient(150deg, rgba(12, 44, 65, 0.75), rgba(4, 23, 36, 0.74));
}

body.is-detail-view .domain-landing-summary span.domain-landing-summary-meta {
  border: 0;
  background: transparent;
}

body.is-detail-view .manse-pillars {
  border-color: rgba(227, 170, 102, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 9px 22px rgba(0, 0, 0, 0.18);
}

body.is-detail-view .bottom-nav,
body.is-report-view .bottom-nav {
  border-top-color: rgba(227, 170, 102, 0.14);
  background:
    linear-gradient(180deg, rgba(4, 23, 37, 0.97), rgba(3, 17, 28, 0.98));
}

/* Full-report copy is deliberately secondary to the analysis itself. */
.detail-root .contextual-copy-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 26px 2px 8px 0;
}

.detail-root .contextual-copy-button {
  width: 38px;
  min-width: 38px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  font: inherit;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  box-shadow: none;
  cursor: pointer;
}

.detail-root .contextual-copy-button:hover,
.detail-root .contextual-copy-button:focus-visible {
  border: 0;
  background: transparent;
  color: transparent;
}

.detail-root .contextual-copy-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

@media (max-width: 520px) {
  .detail-root .contextual-copy-actions {
    margin-top: 22px;
    margin-right: 1px;
  }
}

/* Long overview labels keep one line without colliding with the metric bar. */
.detail-root .domain-metric-overview-row.is-long-label {
  grid-template-columns: 104px minmax(70px, 1fr) 42px;
}

.detail-root .domain-metric-overview-row.is-long-label .domain-metric-overview-bar {
  left: 0;
  width: 100%;
}

@media (max-width: 370px) {
  .detail-root .domain-metric-overview-row.is-long-label {
    grid-template-columns: 104px minmax(62px, 1fr) 40px;
  }

  .detail-root .domain-metric-overview-row.is-long-label > span {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* UI product polish v19: stable controls, cleaner Korean type, and fixed rhythm. */
:root {
  --ui-motion-fast: 140ms ease;
  --ui-motion-base: 180ms ease;
}

.report-root,
.detail-root,
.screen-home {
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.icon-button,
.gold-button,
.blog-entry-button,
.report-entry-domain-board .domain-direct-card,
.report-entry-card,
.detail-tabs button,
.bottom-nav button {
  transition:
    color var(--ui-motion-fast),
    border-color var(--ui-motion-fast),
    background-color var(--ui-motion-fast),
    box-shadow var(--ui-motion-fast),
    transform var(--ui-motion-fast);
}

summary {
  user-select: none;
  transition:
    color var(--ui-motion-fast),
    border-color var(--ui-motion-fast),
    background-color var(--ui-motion-fast);
}

.metric-detail-disclosure[open],
.detail-root .annual-metric-group[open],
.detail-root .contextual-evidence-group[open] {
  border-color: rgba(222, 181, 103, 0.16);
  background: rgba(9, 27, 41, 0.58);
}

.metric-detail-disclosure[open] > summary,
.detail-root .annual-metric-group[open] > summary,
.detail-root .contextual-evidence-group[open] > summary {
  border-bottom: 1px solid rgba(222, 181, 103, 0.08);
}

.detail-root .domain-score-summary article,
.metric-detail-disclosure > .metric-grid .metric-card,
.detail-root .annual-group-body .metric-card,
.detail-root .contextual-evidence-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012);
}

.detail-root .annual-group-body .metric-card p {
  font-size: 14px;
  line-height: 1.62;
}

/* v22: evidence cards read as a compact reference sheet, not a long form. */
.detail-root .contextual-keyword-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.detail-root .contextual-keyword-group {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 8px;
  align-content: start;
}

.detail-root .contextual-keyword-group:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  grid-template-columns: 58px minmax(0, 1fr);
}

.detail-root .contextual-keyword-group span {
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .detail-root .contextual-evidence-card header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .detail-root .contextual-evidence-card header strong {
    min-width: 0;
  }

  .detail-root .contextual-evidence-card header em {
    justify-self: start;
    max-width: 100%;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .detail-root .contextual-keyword-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-root .contextual-keyword-group,
  .detail-root .contextual-keyword-group:last-child:nth-child(odd) {
    grid-column: auto;
    grid-template-columns: 58px minmax(0, 1fr);
  }
}

@media (max-width: 370px) {
  .detail-root .contextual-keyword-group {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .detail-root .contextual-keyword-group:last-child:nth-child(odd) {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

/* v23: the evidence section is a band; each disclosure is the actual card. */
.detail-root .contextual-evidence-section.paper-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.detail-root .contextual-evidence-section-head {
  margin-bottom: 14px;
  padding-inline: 2px;
}

.detail-root .contextual-evidence-group.is-collapsible,
.detail-root .contextual-evidence-group.is-secondary {
  background:
    linear-gradient(180deg, rgba(10, 29, 44, 0.58), rgba(7, 23, 36, 0.5));
}

.detail-root .contextual-evidence-group-body,
.detail-root .contextual-evidence-group.is-secondary .contextual-evidence-stack {
  padding: 10px;
}

.detail-root .domain-metric-overview-row,
.detail-root .annual-group-head,
.detail-root .contextual-evidence-group > summary {
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .report-entry-domain-board .domain-direct-card:hover,
  .report-entry-card:hover {
    transform: translateY(-1px);
  }

  .metric-detail-disclosure > summary:hover,
  .detail-root .annual-group-head:hover,
  .detail-root .contextual-evidence-group > summary:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .report-root,
  .detail-root {
    gap: 16px;
  }

  .metric-detail-disclosure > .metric-grid,
  .detail-root .annual-group-body {
    padding-inline: 10px;
  }
}

@media (max-width: 370px) {
  .detail-root .domain-metric-overview-row {
    grid-template-columns: 80px minmax(70px, 1fr) 40px;
  }

  .detail-root .domain-metric-overview-row > span {
    font-size: 11.5px;
  }
}

/* UI product polish v25: fixed four-pixel metric label-to-bar rhythm. */
.detail-root .domain-metric-overview-row,
.detail-root .domain-metric-overview-row.is-long-label {
  grid-template-columns: 96px minmax(0, 1fr) 42px;
  column-gap: 4px;
  min-height: 42px;
  align-items: center;
}

.detail-root .domain-metric-overview-row > span,
.detail-root .domain-metric-overview-row.is-long-label > span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: normal;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.detail-root .domain-metric-overview-bar,
.detail-root .domain-metric-overview-row .metric-bar,
.detail-root .domain-metric-overview-row.is-long-label .domain-metric-overview-bar {
  position: relative;
  left: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-self: stretch;
}

@media (max-width: 370px) {
  .detail-root .domain-metric-overview-row,
  .detail-root .domain-metric-overview-row.is-long-label {
    grid-template-columns: 96px minmax(0, 1fr) 40px;
    column-gap: 4px;
  }

  .detail-root .domain-metric-overview-row > span,
  .detail-root .domain-metric-overview-row.is-long-label > span {
    font-size: 11.5px;
  }
}

/* UI refinement v26: one alignment contract for overview metric rows. */
.detail-root .domain-metric-overview-row,
.detail-root .domain-metric-overview-row.is-long-label {
  grid-template-columns: 96px minmax(0, 1fr) 42px;
  column-gap: 4px;
  min-height: 46px;
  align-items: center;
}

.detail-root .domain-metric-overview-row > span,
.detail-root .domain-metric-overview-row.is-long-label > span {
  width: 96px;
  max-width: 96px;
  display: -webkit-box;
  align-self: center;
  overflow: hidden;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: normal;
  line-height: 1.3;
  text-overflow: clip;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.detail-root .domain-metric-overview-bar,
.detail-root .domain-metric-overview-row .metric-bar,
.detail-root .domain-metric-overview-row.is-long-label .domain-metric-overview-bar {
  position: relative;
  left: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-self: stretch;
}

.detail-root .domain-metric-overview-row .metric-level-badge {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  justify-self: end;
}

@media (max-width: 370px) {
  .detail-root .domain-metric-overview-row,
  .detail-root .domain-metric-overview-row.is-long-label {
    grid-template-columns: 92px minmax(0, 1fr) 40px;
    column-gap: 4px;
  }

  .detail-root .domain-metric-overview-row > span,
  .detail-root .domain-metric-overview-row.is-long-label > span {
    width: 92px;
    max-width: 92px;
  }

  .detail-root .domain-metric-overview-row .metric-level-badge {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
  }
}

/* Input hero v35: stable two-line headline and a clearer marketing hierarchy. */
.home-hero {
  gap: 0;
  padding: 14px 8px 18px;
}

.home-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin: 0 0 10px;
  color: rgba(239, 202, 128, 0.82);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.home-hero .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  margin-left: 8px;
  background: linear-gradient(90deg, rgba(222, 181, 103, 0.54), transparent);
}

.home-hero h1 {
  display: grid;
  gap: 1px;
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: inherit;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  word-break: keep-all;
}

.home-hero h1 > span {
  display: block;
  color: #f3dda9;
  font-size: 29px;
  line-height: 1.24;
  white-space: nowrap;
}

.home-hero h1 > span:last-child {
  color: #fff0c8;
  font-size: 32px;
}

.home-hero .hero-copy {
  max-width: 29ch;
  margin: 11px 0 0;
  color: rgba(245, 235, 215, 0.72);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0;
  word-break: keep-all;
}

@media (max-width: 370px) {
  .home-hero h1 > span {
    font-size: 27px;
  }

  .home-hero h1 > span:last-child {
    font-size: 30px;
  }

  .home-hero .hero-copy {
    max-width: 28ch;
    font-size: 13.5px;
  }
}

/* Birth form v36: one calm input system with a clearer completion path. */
.v2-form {
  position: relative;
  gap: 0;
  padding: 20px 18px 18px;
  overflow: hidden;
  border-color: rgba(91, 68, 38, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.995), rgba(246, 238, 225, 0.99));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.v2-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, rgba(191, 143, 69, 0.72) 28%, rgba(221, 185, 117, 0.82) 50%, rgba(191, 143, 69, 0.72) 72%, transparent 96%);
}

.v2-form h2 {
  position: relative;
  margin: 0;
  padding-left: 11px;
  color: #28221b;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.42;
  letter-spacing: 0;
}

.v2-form h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 2px;
  height: calc(100% - 6px);
  border-radius: 1px;
  background: #bd8740;
}

.v2-form h2 + p {
  margin: 6px 0 0;
  padding: 0 0 16px 11px;
  border-bottom: 1px solid rgba(76, 58, 37, 0.1);
  color: #706558;
  font-size: 13px;
  line-height: 1.62;
  letter-spacing: 0;
  word-break: keep-all;
}

.v2-form .field {
  gap: 7px;
  margin-top: 14px;
}

.v2-form .field > span,
.v2-form .field > label {
  color: #393128;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.4;
  letter-spacing: 0;
}

.v2-form .field input,
.v2-form .field select {
  min-height: 48px;
  padding-inline: 14px;
  border: 1px solid rgba(72, 55, 35, 0.17);
  border-radius: 7px;
  background: rgba(255, 254, 250, 0.88);
  color: #2f2922;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 2px rgba(62, 44, 22, 0.035),
    0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.v2-form .field input::placeholder {
  color: rgba(74, 66, 56, 0.48);
}

.v2-form .field input:hover,
.v2-form .field select:hover {
  border-color: rgba(155, 111, 50, 0.34);
  background: #fffdf8;
}

.v2-form .field input:focus,
.v2-form .field select:focus {
  border-color: rgba(164, 114, 47, 0.76);
  background: #fffefb;
  box-shadow:
    0 0 0 3px rgba(185, 132, 59, 0.12),
    inset 0 1px 1px rgba(62, 44, 22, 0.025);
}

.v2-form .segmented {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(72, 55, 35, 0.13);
  border-radius: 8px;
  background: rgba(222, 211, 194, 0.6);
  box-shadow: inset 0 1px 2px rgba(53, 40, 24, 0.045);
}

.v2-form .segmented label {
  min-width: 0;
}

.v2-form .segmented span {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5c5144;
  font-size: 14px;
  font-weight: 720;
  box-shadow: none;
}

.v2-form .segmented span:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.34);
}

.v2-form .segmented input:checked + span {
  border: 0;
  background: linear-gradient(180deg, #102c41, #071b2a);
  color: #fff9ed;
  box-shadow:
    0 3px 8px rgba(7, 27, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.v2-form .segmented input:focus-visible + span {
  outline: 2px solid rgba(177, 126, 55, 0.46);
  outline-offset: 1px;
}

.v2-form .gold-button {
  min-height: 52px;
  margin-top: 18px;
  border: 1px solid rgba(121, 83, 32, 0.18);
  border-radius: 7px;
  background: linear-gradient(135deg, #efd08f, #d3a256);
  color: #291f13;
  font-size: 15.5px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0;
  box-shadow:
    0 11px 22px rgba(111, 72, 24, 0.18),
    inset 0 1px 0 rgba(255, 248, 224, 0.72);
}

.v2-form .input-trust-note {
  margin: 10px 0 0;
  color: #776b5c;
  font-size: 11.5px;
  line-height: 1.56;
}

.v2-form .input-trust-note > a {
  margin-top: 3px;
}

.v2-form .blog-entry-button {
  min-height: 38px;
  margin-top: 17px;
}

@media (max-width: 370px) {
  .v2-form {
    padding: 18px 16px 16px;
  }

  .v2-form h2 {
    font-size: 17px;
  }

  .v2-form .field input,
  .v2-form .field select {
    min-height: 46px;
  }
}

/* Annual category disclosure: compact overview first, full explanations second. */
.detail-root .annual-group-overview {
  display: grid;
  gap: 6px;
  padding: 9px 0 12px;
  border-bottom: 1px solid rgba(222, 181, 103, 0.08);
}

.detail-root .annual-group-overview-head,
.detail-root .annual-metric-explanation-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-inline: 2px;
}

.detail-root .annual-group-overview-head strong,
.detail-root .annual-metric-explanation-head strong {
  color: rgba(244, 234, 214, 0.92);
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.4;
}

.detail-root .annual-group-overview-head span,
.detail-root .annual-metric-explanation-head span {
  color: rgba(244, 234, 214, 0.5);
  font-size: 11.5px;
  line-height: 1.45;
}

.detail-root .annual-group-overview-list {
  gap: 0;
}

.detail-root .annual-metric-explanation-head {
  padding-top: 2px;
}

.detail-root .annual-metric-explanation-head span {
  text-align: right;
}

@media (max-width: 420px) {
  .detail-root .annual-metric-explanation-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .detail-root .annual-metric-explanation-head span {
    text-align: left;
  }
}

/* Coupang Partners transition and mobile return state. */
.affiliate-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 7, 13, 0.76);
  backdrop-filter: blur(5px);
}

.affiliate-popup {
  position: relative;
  width: min(100%, 390px);
  padding: 30px 24px 24px;
  border: 1px solid rgba(174, 134, 73, 0.3);
  border-radius: 18px;
  background: #fffaf0;
  color: #1f1d19;
  text-align: center;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.affiliate-popup-help {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(31, 29, 25, 0.78);
  border-radius: 50%;
  color: rgba(31, 29, 25, 0.82);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.affiliate-popup h2 {
  margin: 42px 0 9px;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.25;
}

.affiliate-popup-copy {
  max-width: 310px;
  margin: 0 auto 16px;
  color: rgba(31, 29, 25, 0.62);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.affiliate-popup-product {
  display: grid;
  place-items: center;
  min-height: 222px;
  margin: 0 auto 8px;
  pointer-events: none;
}

.affiliate-popup-product iframe {
  display: block;
  width: 120px;
  height: 240px;
  max-width: 100%;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.affiliate-popup-visit {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.35;
}

.affiliate-popup-disclosure {
  margin: 6px 0 18px;
  color: rgba(31, 29, 25, 0.43);
  font-size: clamp(8px, 2.35vw, 10px);
  font-weight: 650;
  line-height: 1.35;
  white-space: nowrap;
}

.affiliate-popup-actions {
  display: grid;
}

.affiliate-popup-primary {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 8px;
  background: #091927;
  color: #f2cc7d;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

html.is-restoring-premium body {
  overflow: hidden;
}

html.is-restoring-premium .site-stage {
  visibility: hidden;
}

html.is-restoring-premium body::after {
  content: "분석 결과를 불러오는 중입니다.";
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #061522;
  color: rgba(255, 244, 215, 0.86);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
}

@media (max-width: 380px) {
  .affiliate-popup-backdrop {
    padding: 14px;
  }

  .affiliate-popup {
    padding: 26px 18px 20px;
  }

  .affiliate-popup h2 {
    margin-top: 38px;
    font-size: 24px;
  }

  .affiliate-popup-copy {
    font-size: 14px;
  }
}

/* Report V2 category icon system. The wrapper keeps the existing layout size. */
.report-category-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.has-report-icon {
  flex: 0 0 auto;
  overflow: visible;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
}

.detail-tabs button.is-active .detail-tab-icon.has-report-icon {
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Daily fortune sits between the natal profile and the long-form report routes. */
.daily-fortune-board {
  display: grid;
  gap: 0;
  padding: 0;
}

.daily-fortune-toggle {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 11px 15px 11px 17px;
  border: 1px solid rgba(222, 181, 103, 0.16);
  border-radius: 7px;
  background:
    linear-gradient(100deg, rgba(222, 181, 103, 0.07), rgba(255, 255, 255, 0.012) 58%),
    rgba(7, 24, 37, 0.66);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.daily-fortune-toggle:hover,
.daily-fortune-toggle:focus-visible {
  border-color: rgba(222, 181, 103, 0.31);
  outline: none;
}

.daily-fortune-toggle::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 2px;
  background: rgba(223, 189, 119, 0.54);
}

.daily-fortune-toggle-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.daily-fortune-toggle-copy small {
  color: rgba(230, 198, 134, 0.68);
  font-size: 11.5px;
  line-height: 1.35;
}

.daily-fortune-toggle-copy strong {
  color: var(--ui-text, #f3ead9);
  font-size: 15.5px;
  line-height: 1.35;
}

.daily-fortune-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(230, 198, 134, 0.62);
  border-bottom: 1.5px solid rgba(230, 198, 134, 0.62);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.daily-fortune-toggle[aria-expanded="true"] .daily-fortune-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.daily-fortune-details {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.daily-fortune-details[hidden] {
  display: none;
}

.daily-fortune-overall {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 9px 12px;
  align-items: center;
  padding: 14px 14px 13px;
  border: 1px solid rgba(222, 181, 103, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(100deg, rgba(222, 181, 103, 0.075), rgba(255, 255, 255, 0.018) 58%),
    rgba(8, 25, 38, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

.daily-fortune-overall-copy {
  min-width: 0;
}

.daily-fortune-overall-copy small {
  display: block;
  margin-bottom: 4px;
  color: rgba(230, 198, 134, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.daily-fortune-overall-copy p {
  margin: 0;
  color: var(--ui-text-body, rgba(244, 234, 214, 0.74));
  font-size: 13.5px;
  line-height: 1.55;
  word-break: keep-all;
}

.daily-fortune-overall > .metric-level-badge {
  justify-self: end;
}

.daily-fortune-gauge {
  grid-column: 1 / -1;
}

.daily-fortune-gauge .metric-bar {
  width: 100%;
  height: 7px;
  background: rgba(179, 199, 211, 0.13);
}

.daily-fortune-list {
  overflow: hidden;
  border: 1px solid rgba(222, 181, 103, 0.12);
  border-radius: 7px;
  background: rgba(6, 21, 33, 0.45);
}

.daily-fortune-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 32px;
  gap: 9px;
  align-items: center;
  min-height: 72px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(222, 181, 103, 0.08);
}

.daily-fortune-row:last-child {
  border-bottom: 0;
}

.daily-fortune-icon {
  width: 30px;
  height: 30px;
  opacity: 0.88;
}

.daily-fortune-copy {
  min-width: 0;
}

.daily-fortune-copy strong {
  display: block;
  color: var(--ui-text, #f3ead9);
  font-size: 13.5px;
  line-height: 1.35;
}

.daily-fortune-copy small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: rgba(230, 198, 134, 0.58);
  font-size: 10.8px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-fortune-copy p {
  margin: 3px 0 0;
  color: rgba(235, 228, 214, 0.66);
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.daily-fortune-row > .metric-grade-value {
  justify-self: end;
  min-width: 30px;
  text-align: center;
}

@media (max-width: 380px) {
  .daily-fortune-toggle {
    grid-template-columns: minmax(0, 1fr) 12px;
    gap: 9px;
    padding-inline: 15px 12px;
  }

  .daily-fortune-overall {
    padding-inline: 12px;
  }

  .daily-fortune-row {
    grid-template-columns: 28px minmax(0, 1fr) 30px;
    gap: 8px;
    padding-inline: 10px;
  }

  .daily-fortune-icon {
    width: 28px;
    height: 28px;
  }

  .daily-fortune-copy small {
    white-space: normal;
  }
}

/* Ad-reference refinement: keep the report structure, sharpen the mobile dashboard. */
body.is-report-view .screen-report {
  padding-inline: 14px;
}

body.is-report-view .report-root {
  gap: 16px;
}

body.is-report-view .report-hero {
  min-height: 176px;
  align-content: center;
  gap: 7px;
  padding: 22px 96px 22px 21px;
  border: 1px solid rgba(221, 178, 96, 0.2);
  border-left: 2px solid rgba(231, 188, 102, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(104deg, rgba(12, 37, 55, 0.96), rgba(5, 20, 33, 0.92) 68%),
    #071a29;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 14px 32px rgba(0, 0, 0, 0.18);
}

body.is-report-view .report-hero::after {
  top: 20px;
  right: 14px;
  width: 82px;
  height: 82px;
  border-color: rgba(224, 181, 99, 0.13);
  opacity: 0.82;
  background:
    repeating-radial-gradient(circle, transparent 0 10px, rgba(224, 181, 99, 0.06) 11px 12px),
    repeating-conic-gradient(from 15deg, rgba(224, 181, 99, 0.06) 0 1deg, transparent 1deg 30deg);
}

body.is-report-view .report-hero .seal-icon {
  position: absolute;
  z-index: 2;
  top: 34px;
  right: 29px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(231, 188, 102, 0.46) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, rgba(231, 188, 102, 0.12), rgba(231, 188, 102, 0.02) 68%) !important;
  color: #efcb82;
  font-size: 20px;
  box-shadow:
    inset 0 0 0 5px rgba(231, 188, 102, 0.025),
    0 0 20px rgba(231, 188, 102, 0.05) !important;
}

body.is-report-view .report-hero-kicker {
  color: rgba(232, 196, 126, 0.74);
  font-size: 11px;
  font-weight: 700;
}

body.is-report-view .report-hero h2 {
  max-width: 100%;
  color: #f1d396;
  font-size: clamp(24px, 6.4vw, 30px);
  font-weight: 750;
  line-height: 1.24;
}

body.is-report-view .report-hero p {
  max-width: 32ch;
  color: rgba(241, 233, 218, 0.76);
  font-size: 13.5px;
  line-height: 1.62;
}

body.is-report-view .daily-fortune-board,
body.is-report-view .domain-route-board,
body.is-report-view .report-entry-board {
  overflow: hidden;
  padding: 13px 12px;
  border: 1px solid rgba(220, 178, 98, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 34, 50, 0.88), rgba(6, 21, 34, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 12px 30px rgba(0, 0, 0, 0.14);
}

body.is-report-view .daily-fortune-board {
  padding: 0;
}

body.is-report-view .daily-fortune-toggle {
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  gap: 11px;
  min-height: 72px;
  padding: 12px 15px 12px 13px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(100deg, rgba(220, 178, 98, 0.08), rgba(255, 255, 255, 0.012) 62%);
  box-shadow: none;
}

body.is-report-view .daily-fortune-toggle::before {
  position: static;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(230, 187, 102, 0.3);
  border-radius: 50%;
  background:
    url("/assets/report-icons/timing.svg") center / 27px 27px no-repeat,
    rgba(230, 187, 102, 0.045);
  box-shadow: inset 0 0 0 4px rgba(230, 187, 102, 0.018);
}

body.is-report-view .daily-fortune-toggle-copy {
  gap: 3px;
}

body.is-report-view .daily-fortune-toggle-copy small {
  color: rgba(229, 195, 129, 0.66);
  font-size: 11px;
}

body.is-report-view .daily-fortune-toggle-copy strong {
  color: #f2e8d4;
  font-size: 16px;
  font-weight: 750;
}

body.is-report-view .daily-fortune-chevron {
  justify-self: end;
}

body.is-report-view .daily-fortune-details {
  gap: 9px;
  padding: 0 10px 10px;
}

body.is-report-view .daily-fortune-overall {
  grid-template-columns: minmax(0, 1fr) 52px;
  padding: 14px;
  border-color: rgba(220, 178, 98, 0.13);
  background:
    linear-gradient(100deg, rgba(220, 178, 98, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(5, 20, 33, 0.54);
}

body.is-report-view .daily-fortune-overall > .metric-level-badge {
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.018) !important;
}

body.is-report-view .daily-fortune-overall > .metric-level-badge span {
  font-size: 15px;
}

body.is-report-view .daily-fortune-list {
  border-color: rgba(220, 178, 98, 0.1);
  background: rgba(4, 17, 28, 0.46);
}

body.is-report-view .daily-fortune-row {
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  min-height: 70px;
  gap: 10px;
  padding: 10px 12px;
}

body.is-report-view .daily-fortune-icon.has-report-icon {
  width: 34px;
  height: 34px;
  padding: 5px !important;
  border: 1px solid rgba(222, 181, 103, 0.22) !important;
  border-radius: 50% !important;
  background: rgba(222, 181, 103, 0.035) !important;
}

body.is-report-view .domain-route-head,
body.is-report-view .report-entry-head {
  min-height: 32px;
  align-content: center;
  padding: 0 2px 9px 11px;
}

body.is-report-view .domain-route-head::before,
body.is-report-view .report-entry-head::before {
  top: 2px;
  bottom: 10px;
  background: rgba(231, 188, 102, 0.66);
}

body.is-report-view .domain-route-head strong,
body.is-report-view .report-entry-head strong {
  color: #f2e8d4;
  font-size: 15px;
  font-weight: 750;
}

body.is-report-view .domain-direct-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

body.is-report-view .report-entry-domain-board .domain-direct-card {
  flex: 0 0 calc((100% - 24px) / 4);
  min-width: 0;
  min-height: 88px;
  grid-template-columns: 1fr;
  grid-template-rows: 42px auto;
  grid-template-areas:
    "icon"
    "copy";
  place-items: center;
  gap: 7px;
  padding: 10px 4px 9px;
  border-color: rgba(222, 181, 103, 0.13);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  text-align: center;
}

body.is-report-view .report-entry-domain-board .domain-direct-card:first-child {
  min-height: 88px;
  background:
    linear-gradient(180deg, rgba(222, 181, 103, 0.065), rgba(255, 255, 255, 0.014));
}

body.is-report-view .report-entry-domain-board .domain-direct-card::before {
  display: none;
}

body.is-report-view .report-entry-domain-board .domain-direct-card .section-symbol.has-report-icon {
  width: 42px;
  height: 42px;
  padding: 7px !important;
  border: 1px solid rgba(231, 188, 102, 0.32) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, rgba(231, 188, 102, 0.09), rgba(231, 188, 102, 0.02)) !important;
  opacity: 0.96;
}

body.is-report-view .domain-direct-copy {
  width: 100%;
  justify-items: center;
}

body.is-report-view .domain-direct-copy strong {
  width: 100%;
  color: rgba(244, 234, 214, 0.9);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
}

body.is-report-view .report-entry-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.is-report-view .report-entry-card,
body.is-report-view .report-entry-card.report-entry-domains {
  min-height: 82px;
  grid-template-columns: 1fr;
  grid-template-rows: 36px auto;
  place-items: center;
  gap: 7px;
  padding: 10px 4px 9px;
  border-color: rgba(222, 181, 103, 0.12);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
  text-align: center;
}

body.is-report-view .report-entry-card::after {
  display: none;
}

body.is-report-view .report-entry-symbol.has-report-icon,
body.is-report-view .report-entry-card.report-entry-domains .report-entry-symbol.has-report-icon {
  width: 36px;
  height: 36px;
  padding: 6px !important;
  border: 1px solid rgba(222, 181, 103, 0.25) !important;
  border-radius: 50% !important;
  background: rgba(222, 181, 103, 0.035) !important;
}

body.is-report-view .report-entry-copy {
  width: 100%;
  padding: 0;
  justify-items: center;
}

body.is-report-view .report-entry-copy strong,
body.is-report-view .report-entry-card.report-entry-domains .report-entry-copy strong {
  width: 100%;
  color: rgba(244, 234, 214, 0.88);
  font-size: 11.8px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
}

body.is-report-view .report-entry-domain-board .domain-direct-card:hover,
body.is-report-view .report-entry-domain-board .domain-direct-card:focus-visible,
body.is-report-view .report-entry-card:hover,
body.is-report-view .report-entry-card:focus-visible {
  border-color: rgba(231, 188, 102, 0.34);
  background-color: rgba(231, 188, 102, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

@media (min-width: 720px) {
  body.is-report-view .report-entry-domain-board .domain-direct-card {
    flex-basis: calc((100% - 48px) / 7);
  }
}

@media (max-width: 360px) {
  body.is-report-view .screen-report {
    padding-inline: 12px;
  }

  body.is-report-view .report-hero {
    padding-right: 68px;
  }

  body.is-report-view .report-hero::after {
    right: 8px;
    width: 68px;
    height: 68px;
  }

  body.is-report-view .report-hero .seal-icon {
    top: 36px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  body.is-report-view .report-hero h2 {
    font-size: 21px;
  }

  body.is-report-view .report-entry-domain-board .domain-direct-card {
    min-height: 84px;
  }

  body.is-report-view .domain-direct-copy strong,
  body.is-report-view .report-entry-copy strong,
  body.is-report-view .report-entry-card.report-entry-domains .report-entry-copy strong {
    font-size: 11px;
  }
}

/* Result home: compact dashboard based on the approved phone reference. */
body.is-report-view .report-root {
  --report-reference-gold: #e3aa66;
  --report-reference-gold-bright: #f0bd77;
  --report-reference-gold-border: rgba(227, 170, 102, 0.24);
  --report-reference-canvas: #020a12;
  --report-reference-stage: #041522;
  --report-reference-surface: #061b2a;
  --report-reference-surface-raised: #0a263a;
  --report-reference-text: #f4efe7;
  --report-reference-body: #c3c9cd;
  --report-reference-muted: #929ea5;
  gap: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-report-view .report-personality-dashboard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(116px, 128px) minmax(220px, 248px);
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 205px;
  padding: 12px 8px;
  overflow: hidden;
  border: 1px solid var(--report-reference-gold-border);
  border-left: 1px solid var(--report-reference-gold-border);
  border-radius: 7px;
  background:
    radial-gradient(circle at 76% 38%, rgba(58, 111, 148, 0.1), transparent 38%),
    linear-gradient(145deg, #071f31, #031522);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 8px 20px rgba(0, 0, 0, 0.2);
}

body.is-report-view .report-personality-dashboard::after,
body.is-report-view .report-personality-dashboard .seal-icon,
body.is-report-view .report-personality-dashboard .report-hero-kicker {
  display: none;
}

body.is-report-view .report-personality-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
}

body.is-report-view .report-personality-copy h2 {
  max-width: 6.5em;
  margin: 0;
  color: var(--report-reference-gold-bright);
  font-family: var(--font-display);
  font-size: clamp(21px, 6vw, 25px);
  font-weight: 650;
  line-height: 1.28;
  word-break: keep-all;
}

body.is-report-view .report-personality-copy > p {
  margin: 8px 0 0;
  color: var(--report-reference-gold);
  font-size: 11.3px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

body.is-report-view .report-personality-cta {
  display: inline-grid;
  grid-template-columns: minmax(0, auto) 8px;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  margin-top: 12px;
  padding: 8px 10px 8px 11px;
  border: 1px solid rgba(240, 189, 119, 0.72);
  border-radius: 4px;
  background:
    linear-gradient(180deg, #f2c989, #dea55f);
  color: #102131;
  font-size: 11.2px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 6px 15px rgba(0, 0, 0, 0.16);
}

body.is-report-view .report-personality-cta i,
body.is-report-view .report-dashboard-head button i,
body.is-report-view .daily-fortune-toggle i {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

body.is-report-view .report-personality-cta:hover,
body.is-report-view .report-personality-cta:focus-visible {
  filter: brightness(1.035);
  transform: translateY(-1px);
}

body.is-report-view .report-personality-radar {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 248px;
  height: 194px;
  min-width: 0;
  align-self: center;
  justify-self: center;
}

body.is-report-view .report-personality-radar svg {
  display: block;
  width: 100%;
  height: 194px;
  overflow: visible;
}

body.is-report-view .report-radar-grid polygon,
body.is-report-view .report-radar-grid line {
  fill: rgba(32, 69, 104, 0.12);
  stroke: rgba(119, 135, 151, 0.36);
  stroke-width: 0.75;
  vector-effect: non-scaling-stroke;
}

body.is-report-view .report-radar-grid polygon:nth-child(2) {
  fill: rgba(36, 78, 116, 0.1);
}

body.is-report-view .report-radar-area {
  fill: rgba(41, 91, 143, 0.34);
}

body.is-report-view .report-radar-stroke {
  fill: none;
  stroke: #efd08d;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

body.is-report-view .report-radar-point {
  fill: #ffe1a0;
  stroke: none;
  vector-effect: non-scaling-stroke;
}

body.is-report-view .report-radar-label {
  fill: #f8f0e5;
  font-family: var(--font-sans);
  font-size: 10.2px;
  font-weight: 800;
  letter-spacing: 0;
}

body.is-report-view .report-radar-caption.is-axis-1 .report-radar-label,
body.is-report-view .report-radar-caption.is-axis-2 .report-radar-label {
  transform: translateX(-10px);
}

body.is-report-view .report-radar-caption.is-axis-4 .report-radar-label,
body.is-report-view .report-radar-caption.is-axis-5 .report-radar-label {
  transform: translateX(10px);
}

body.is-report-view .report-radar-grade {
  fill: #fff;
  font-family: var(--font-sans);
  font-size: 9.8px;
  font-weight: 900;
  letter-spacing: 0;
}

body.is-report-view .report-radar-grade-bg {
  fill: #606b76;
  stroke: none;
  filter: none;
}

body.is-report-view .report-radar-caption.metric-grade-a-plus .report-radar-grade-bg {
  fill: #397f9d;
}

body.is-report-view .report-radar-caption.metric-grade-a .report-radar-grade-bg {
  fill: #3f7892;
}

body.is-report-view .report-radar-caption.metric-grade-a-minus .report-radar-grade-bg {
  fill: #456f85;
}

body.is-report-view .report-radar-caption.metric-grade-b-plus .report-radar-grade-bg {
  fill: #496f84;
}

body.is-report-view .report-radar-caption.metric-grade-b .report-radar-grade-bg {
  fill: #4e7388;
}

body.is-report-view .report-radar-caption.metric-grade-b-minus .report-radar-grade-bg {
  fill: #4e7388;
}

body.is-report-view .report-radar-caption.metric-grade-c-plus .report-radar-grade-bg {
  fill: #8e8272;
}

body.is-report-view .report-radar-caption.metric-grade-c .report-radar-grade-bg,
body.is-report-view .report-radar-caption.metric-grade-c-minus .report-radar-grade-bg {
  fill: #a0795d;
}

body.is-report-view .report-radar-caption.metric-grade-d-plus .report-radar-grade-bg,
body.is-report-view .report-radar-caption.metric-grade-d .report-radar-grade-bg,
body.is-report-view .report-radar-caption.metric-grade-d-minus .report-radar-grade-bg {
  fill: #a86643;
}

body.is-report-view .report-personality-radar.is-empty {
  display: grid;
  place-items: center;
}

body.is-report-view .report-personality-radar-mark {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(225, 183, 101, 0.32);
  border-radius: 50%;
  color: #e7bb68;
  font-size: 25px;
}

body.is-report-view .report-primary-menu,
body.is-report-view .daily-fortune-board,
body.is-report-view .report-entry-board.report-entry-secondary {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.is-report-view .report-dashboard-head,
body.is-report-view .daily-fortune-head {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  padding: 0 2px;
}

body.is-report-view .report-dashboard-head h3,
body.is-report-view .daily-fortune-head strong {
  margin: 0;
  color: var(--report-reference-text);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.3;
}

body.is-report-view .report-dashboard-head button,
body.is-report-view .daily-fortune-toggle {
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 28px;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 4px 2px 4px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--report-reference-gold);
  font-size: 12px;
  font-weight: 650;
  box-shadow: none;
}

body.is-report-view .report-dashboard-head button:hover,
body.is-report-view .report-dashboard-head button:focus-visible,
body.is-report-view .daily-fortune-toggle:hover,
body.is-report-view .daily-fortune-toggle:focus-visible {
  background: transparent;
  color: var(--report-reference-gold-bright);
  box-shadow: none;
}

body.is-report-view .report-primary-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

body.is-report-view .report-primary-menu-card {
  display: grid;
  grid-template-rows: 42px auto;
  place-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 78px;
  padding: 7px 2px 6px;
  border: 1px solid var(--report-reference-gold-border);
  border-radius: 6px;
  background:
    linear-gradient(180deg, #0a2a40, #061b2a);
  color: rgba(245, 235, 216, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 4px 10px rgba(0, 0, 0, 0.14);
}

body.is-report-view .report-primary-menu-card > span.has-report-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 3px !important;
  border: 1px solid rgba(181, 132, 80, 0.56) !important;
  border-radius: 50% !important;
  background: rgba(181, 132, 80, 0.035) !important;
  color: var(--report-reference-gold);
}

body.is-report-view .report-primary-menu-card > span.has-report-icon svg {
  width: 100%;
  height: 100%;
}

body.is-report-view .report-primary-menu-card > span.has-report-icon .report-category-icon {
  filter: none;
  opacity: 1;
}

body.is-report-view .report-primary-menu-card strong {
  width: 100%;
  color: rgba(250, 243, 231, 0.98);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
  text-align: center;
  word-break: keep-all;
}

body.is-report-view .report-primary-menu-card:hover,
body.is-report-view .report-primary-menu-card:focus-visible {
  border-color: rgba(232, 189, 106, 0.4);
  background:
    linear-gradient(180deg, rgba(21, 51, 70, 0.82), rgba(8, 27, 41, 0.9));
  transform: translateY(-1px);
}

body.is-report-view .report-primary-menu-more {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(221, 178, 98, 0.11);
}

body.is-report-view .report-primary-menu-more[hidden] {
  display: none;
}

body.is-report-view .report-primary-menu-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

body.is-report-view .report-primary-menu-more-card {
  min-height: 68px;
  grid-template-rows: 31px auto;
  gap: 5px;
  padding-block: 7px 6px;
}

body.is-report-view .report-primary-menu-more-card > span.has-report-icon {
  width: 31px;
  height: 31px;
  padding: 4px !important;
}

body.is-report-view .report-primary-menu.is-expanded .report-dashboard-head button i {
  transform: rotate(-45deg);
}

body.is-report-view .daily-fortune-head {
  margin-bottom: 8px;
}

body.is-report-view .daily-fortune-head > span {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
}

body.is-report-view .daily-fortune-head small {
  overflow: hidden;
  color: rgba(230, 221, 205, 0.66);
  font-size: 10.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-report-view .daily-fortune-toggle {
  grid-template-columns: none;
  min-height: 28px;
}

body.is-report-view .daily-fortune-toggle::before,
body.is-report-view .daily-fortune-toggle::after {
  display: none;
  content: none;
}

body.is-report-view .daily-fortune-toggle[aria-expanded="true"] i {
  transform: rotate(-45deg);
}

body.is-report-view .daily-fortune-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-height: 176px;
  padding: 8px;
  border: 1px solid rgba(227, 170, 102, 0.24);
  border-radius: 7px;
  background:
    radial-gradient(circle at 20% 28%, rgba(53, 107, 146, 0.08), transparent 36%),
    linear-gradient(145deg, #071f31, #041522);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 7px 18px rgba(0, 0, 0, 0.17);
}

body.is-report-view .daily-fortune-gauge-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  padding: 4px 2px;
  border-right: 1px solid rgba(219, 176, 97, 0.11);
}

body.is-report-view .daily-fortune-gauge-card > small {
  color: rgba(246, 237, 221, 0.92);
  font-size: 11px;
  font-weight: 700;
}

body.is-report-view .daily-fortune-arc {
  position: relative;
  width: min(100%, 132px);
  aspect-ratio: 128 / 84;
  margin-top: 8px;
}

body.is-report-view .daily-fortune-arc svg {
  display: block;
  width: 100%;
  height: auto;
}

body.is-report-view .daily-fortune-arc-track,
body.is-report-view .daily-fortune-arc-value {
  fill: none;
  stroke-linecap: butt;
  stroke-width: 10;
}

body.is-report-view .daily-fortune-arc-track {
  stroke: rgba(83, 111, 126, 0.42);
}

body.is-report-view .daily-fortune-arc-value {
  filter: none;
}

body.is-report-view .daily-fortune-arc > span {
  position: absolute;
  left: 50%;
  bottom: 6px;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
}

body.is-report-view .daily-fortune-arc > span strong {
  font-size: 30px;
  font-weight: 760;
  line-height: 1;
}

body.is-report-view .daily-fortune-arc > span small {
  margin-top: 4px;
  color: rgba(243, 227, 197, 0.92);
  font-size: 10px;
  font-weight: 650;
}

body.is-report-view .daily-fortune-bars {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 3px 0 3px 2px;
}

body.is-report-view .daily-fortune-bar-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 18px;
}

body.is-report-view .daily-fortune-bar-row > span {
  overflow: hidden;
  color: rgba(247, 239, 225, 0.93);
  font-size: 10.8px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-report-view .daily-fortune-bar-row .metric-bar {
  height: 7px;
  border: 1px solid rgba(116, 151, 168, 0.24);
  background: rgba(67, 94, 109, 0.44);
}

body.is-report-view .daily-fortune-bar-row .metric-bar i {
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}

body.is-report-view .daily-fortune-bar-row .daily-score-bar i {
  background: var(--daily-score-color, #9fa7a5);
}

body.is-report-view .daily-score-strong {
  --daily-score-color: #6fc49e;
  --daily-score-ink: #aee0c8;
}

body.is-report-view .daily-score-steady {
  --daily-score-color: #d5ad58;
  --daily-score-ink: #e7c980;
}

body.is-report-view .daily-score-caution {
  --daily-score-color: #c97969;
  --daily-score-ink: #e3a093;
}

body.is-report-view .daily-score-neutral {
  --daily-score-color: #91a0a2;
  --daily-score-ink: #bdc6c6;
}

body.is-report-view .daily-fortune-bar-row > b {
  color: var(--daily-score-ink, rgba(236, 226, 208, 0.78));
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

body.is-report-view .daily-fortune-details {
  gap: 8px;
  margin-top: 8px;
  padding: 9px;
  border: 1px solid rgba(221, 178, 98, 0.13);
  border-radius: 7px;
  background: rgba(5, 19, 31, 0.86);
}

body.is-report-view .daily-fortune-details[hidden] {
  display: none;
}

body.is-report-view .daily-fortune-overall {
  grid-template-columns: minmax(0, 1fr) 48px;
  padding: 10px 11px;
}

body.is-report-view .daily-fortune-detail-score {
  display: inline-flex;
  width: 48px;
  min-width: 48px;
  height: 42px;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  padding-top: 9px;
  border: 1px solid var(--daily-score-color, #91a0a2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--daily-score-ink, #bdc6c6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.is-report-view .daily-fortune-detail-score span {
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
}

body.is-report-view .daily-fortune-detail-score small,
body.is-report-view .daily-fortune-row-score small {
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
}

body.is-report-view .daily-fortune-gauge {
  grid-column: 1 / -1;
}

body.is-report-view .daily-fortune-detail-bar {
  height: 8px;
  border: 1px solid rgba(116, 151, 168, 0.24);
  background: rgba(67, 94, 109, 0.44);
}

body.is-report-view .daily-fortune-detail-bar i {
  background: var(--daily-score-color, #91a0a2);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}

body.is-report-view .daily-fortune-row {
  grid-template-columns: 30px minmax(0, 1fr) 40px;
  min-height: 64px;
  gap: 8px;
  padding: 9px 10px;
}

body.is-report-view .daily-fortune-row .daily-fortune-icon.has-report-icon {
  width: 30px;
  height: 30px;
}

body.is-report-view .daily-fortune-row-score {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  color: var(--daily-score-ink, #bdc6c6);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-align: right;
}

body.is-report-view .report-entry-board.report-entry-secondary .report-entry-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

body.is-report-view .report-entry-board.report-entry-secondary .report-entry-card {
  min-height: 78px;
  grid-template-rows: 42px auto;
  gap: 4px;
  padding: 7px 2px 6px;
  border: 1px solid var(--report-reference-gold-border);
  border-radius: 6px;
  background:
    linear-gradient(180deg, #0a2a40, #061b2a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 4px 10px rgba(0, 0, 0, 0.14);
}

body.is-report-view .report-entry-board.report-entry-secondary .report-entry-symbol.has-report-icon {
  width: 42px;
  height: 42px;
  padding: 3px !important;
  border: 1px solid rgba(181, 132, 80, 0.56) !important;
  border-radius: 50% !important;
  background: rgba(181, 132, 80, 0.035) !important;
}

body.is-report-view .report-entry-board.report-entry-secondary .report-entry-symbol.has-report-icon .report-category-icon {
  filter: none;
  opacity: 1;
}

body.is-report-view .report-entry-board.report-entry-secondary .report-entry-copy strong {
  color: rgba(250, 243, 231, 0.98);
  font-size: 12px;
  font-weight: 760;
}

@media (min-width: 720px) {
  body.is-report-view .report-personality-dashboard {
    grid-template-columns: 128px 248px;
    justify-content: center;
    gap: 4px;
    min-height: 205px;
    padding: 12px 8px;
  }

  body.is-report-view .report-personality-radar {
    width: 248px;
    max-width: 248px;
    justify-self: center;
  }
}

@media (max-width: 719px) {
  body.is-report-view .report-personality-dashboard {
    grid-template-columns: minmax(116px, 128px) minmax(210px, 248px);
    justify-content: center;
    gap: 4px;
    padding-inline: 8px;
  }

  body.is-report-view .report-personality-cta {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 10.2px;
  }

  body.is-report-view .report-radar-caption.is-axis-1 .report-radar-label,
  body.is-report-view .report-radar-caption.is-axis-2 .report-radar-label {
    transform: translateX(-14px);
  }

  body.is-report-view .report-radar-caption.is-axis-4 .report-radar-label,
  body.is-report-view .report-radar-caption.is-axis-5 .report-radar-label {
    transform: translateX(14px);
  }
}

@media (max-width: 360px) {
  body.is-report-view .report-root {
    gap: 16px;
  }

  body.is-report-view .report-personality-dashboard {
    grid-template-columns: 104px minmax(196px, 1fr);
    justify-content: center;
    gap: 2px;
    min-height: 198px;
    padding: 10px 5px;
  }

  body.is-report-view .report-personality-copy h2 {
    font-size: 22px;
  }

  body.is-report-view .report-personality-copy > p {
    font-size: 9.5px;
  }

  body.is-report-view .report-personality-cta {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 9.4px;
  }

  body.is-report-view .report-radar-label {
    font-size: 10.2px;
  }

  body.is-report-view .report-radar-grade {
    font-size: 10px;
  }

  body.is-report-view .report-primary-menu-grid {
    gap: 5px;
  }

  body.is-report-view .report-primary-menu-card {
    min-height: 74px;
    grid-template-rows: 38px auto;
    gap: 3px;
    padding-inline: 1px;
  }

  body.is-report-view .report-primary-menu-card > span.has-report-icon {
    width: 38px;
    height: 38px;
  }

  body.is-report-view .report-primary-menu-card strong {
    font-size: 10px;
  }

  body.is-report-view .daily-fortune-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    min-height: 172px;
    padding: 8px;
  }

  body.is-report-view .daily-fortune-bar-row {
    grid-template-columns: 51px minmax(0, 1fr) 22px;
    gap: 4px;
  }

  body.is-report-view .daily-fortune-bar-row > span {
    font-size: 8.8px;
  }
}

/* Product UI unification v1: the result dashboard is the visual source of truth. */
:root {
  --product-gold: #e3aa66;
  --product-gold-bright: #f0bd77;
  --product-gold-soft: rgba(227, 170, 102, 0.7);
  --product-line: rgba(227, 170, 102, 0.22);
  --product-line-soft: rgba(227, 170, 102, 0.11);
  --product-surface: #082237;
  --product-surface-deep: #031522;
  --product-surface-soft: rgba(10, 35, 53, 0.74);
  --product-text: #f7efe1;
  --product-copy: rgba(242, 234, 220, 0.76);
  --product-muted: rgba(228, 218, 200, 0.56);
  --product-radius: 7px;
  --product-shadow: 0 10px 26px rgba(0, 0, 0, 0.17);
}

.screen-home {
  gap: 16px;
  padding-inline: 16px;
  background:
    radial-gradient(circle at 78% 4%, rgba(63, 113, 148, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(3, 21, 34, 0.2), rgba(3, 21, 34, 0.64));
}

.home-hero {
  min-height: 184px;
  align-content: end;
  gap: 7px;
  padding: 14px 8px 18px;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 170, 102, 0.34), transparent);
}

.eyebrow {
  color: var(--product-gold);
  font-size: 11px;
  font-weight: 760;
}

.home-hero h1 {
  max-width: 12ch;
  color: var(--product-text);
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 760;
  line-height: 1.24;
}

.home-hero h1 span:last-child {
  color: var(--product-gold-bright);
}

.hero-copy {
  max-width: 31ch;
  color: var(--product-copy);
  font-size: 13.5px;
  line-height: 1.58;
}

.v2-form {
  gap: 0;
  padding: 19px 17px 17px;
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(50, 101, 137, 0.13), transparent 36%),
    linear-gradient(155deg, var(--product-surface), var(--product-surface-deep));
  color: var(--product-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    var(--product-shadow);
}

.v2-form h2 {
  position: relative;
  margin: 0;
  padding-left: 11px;
  color: var(--product-text);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.42;
}

.v2-form h2::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 2px;
  border-radius: 1px;
  background: var(--product-gold);
}

.v2-form h2 + p {
  margin: 7px 0 0;
  padding: 0 0 15px 11px;
  border-bottom: 1px solid var(--product-line-soft);
  color: var(--product-muted);
  font-size: 12.5px;
  line-height: 1.62;
}

.v2-form .field {
  gap: 7px;
  margin-top: 13px;
}

.v2-form .field > span,
.v2-form .field > label {
  color: rgba(247, 239, 225, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.v2-form .field input,
.v2-form .field select {
  min-height: 48px;
  padding-inline: 13px;
  border: 1px solid rgba(227, 170, 102, 0.18);
  border-radius: var(--product-radius);
  background: rgba(4, 20, 32, 0.72);
  color: var(--product-text);
  font-size: 16px;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

.v2-form .field input::placeholder {
  color: rgba(228, 218, 200, 0.4);
}

.v2-form .field select option {
  background: #071b2b;
  color: var(--product-text);
}

.v2-form .field input:hover,
.v2-form .field select:hover {
  border-color: rgba(227, 170, 102, 0.34);
  background: rgba(7, 27, 42, 0.88);
}

.v2-form .field input:focus,
.v2-form .field select:focus {
  border-color: rgba(240, 189, 119, 0.78);
  background: rgba(7, 27, 42, 0.94);
  box-shadow:
    0 0 0 3px rgba(227, 170, 102, 0.11),
    inset 0 1px 1px rgba(0, 0, 0, 0.14);
}

.v2-form .segmented {
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(227, 170, 102, 0.15);
  border-radius: var(--product-radius);
  background: rgba(3, 17, 28, 0.68);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}

.v2-form .segmented span {
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--product-muted);
  font-size: 14px;
}

.v2-form .segmented span:hover {
  background: rgba(227, 170, 102, 0.045);
}

.v2-form .segmented input:checked + span {
  background:
    linear-gradient(180deg, rgba(26, 62, 84, 0.96), rgba(10, 34, 51, 0.96));
  color: var(--product-text);
  box-shadow:
    inset 0 0 0 1px rgba(227, 170, 102, 0.34),
    0 4px 10px rgba(0, 0, 0, 0.16);
}

.v2-form .gold-button {
  min-height: 52px;
  margin-top: 18px;
  border: 1px solid rgba(240, 189, 119, 0.62);
  border-radius: var(--product-radius);
  background: linear-gradient(180deg, #f0c27d, #d99c50);
  color: #102131;
  font-size: 15.5px;
  font-weight: 820;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.v2-form .gold-button:hover,
.v2-form .gold-button:focus-visible {
  filter: brightness(1.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.v2-form .input-trust-note {
  margin: 11px 0 0;
  color: rgba(228, 218, 200, 0.5);
  font-size: 11.5px;
  line-height: 1.55;
}

.v2-form .input-trust-note > a {
  margin-top: 3px;
  color: rgba(240, 189, 119, 0.82);
}

.v2-form .blog-entry-button {
  width: min(70%, 250px);
  min-height: 36px;
  margin-top: 18px;
  border: 1px solid rgba(227, 170, 102, 0.13);
  border-radius: var(--product-radius);
  background: rgba(255, 255, 255, 0.016);
  color: rgba(228, 218, 200, 0.52);
}

.v2-form .blog-entry-button:hover,
.v2-form .blog-entry-button:focus-visible {
  border-color: rgba(227, 170, 102, 0.26);
  background: rgba(227, 170, 102, 0.035);
  color: rgba(240, 232, 216, 0.74);
}

.loading-panel {
  border-radius: var(--product-radius);
  border-color: var(--product-line);
  background:
    linear-gradient(150deg, rgba(10, 35, 53, 0.9), rgba(3, 21, 34, 0.92));
}

body.is-report-view .report-appbar,
body.is-detail-view .report-appbar,
body.is-detail-view .report-appbar.light {
  min-height: 56px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--product-line-soft);
  background: rgba(3, 17, 28, 0.94);
  color: var(--product-text);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}

body.is-report-view .report-appbar strong,
body.is-detail-view .report-appbar strong {
  color: var(--product-text);
  font-size: 15.5px;
  font-weight: 760;
}

body.is-report-view .icon-button,
body.is-detail-view .icon-button {
  width: 36px;
  height: 36px;
  border-radius: var(--product-radius);
  color: rgba(241, 232, 216, 0.78);
}

body.is-report-view .icon-button:hover,
body.is-report-view .icon-button:focus-visible,
body.is-detail-view .icon-button:hover,
body.is-detail-view .icon-button:focus-visible {
  background: rgba(227, 170, 102, 0.055);
  color: var(--product-gold-bright);
  outline: 1px solid rgba(227, 170, 102, 0.14);
}

body.is-detail-view .screen-detail {
  padding-inline: 14px;
}

body.is-detail-view .light-surface {
  max-width: calc(100% + 28px);
  margin-inline: -14px;
  padding: 0 14px calc(96px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 82% 0%, rgba(48, 94, 128, 0.1), transparent 27%),
    linear-gradient(180deg, #041725, #031522 46%, #02121e);
  color: var(--product-copy);
}

body.is-detail-view .detail-root {
  --ui-gold: var(--product-gold);
  --ui-gold-bright: var(--product-gold-bright);
  --ui-line: var(--product-line);
  --ui-text: var(--product-text);
  --ui-text-body: var(--product-copy);
  --ui-text-muted: var(--product-muted);
  gap: 13px;
}

body.is-detail-view .detail-tabs {
  gap: 0;
  margin: 0 -16px 2px;
  max-width: calc(100% + 32px);
  padding: 0 10px;
  border-top: 0;
  border-bottom: 1px solid var(--product-line-soft);
  background: rgba(4, 20, 32, 0.76);
}

body.is-detail-view .detail-tabs button {
  position: relative;
  flex: 1 0 auto;
  min-width: 66px;
  min-height: 47px;
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 8px 10px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(228, 218, 200, 0.48);
  box-shadow: none;
}

body.is-detail-view .detail-tabs button::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 1px;
  background: transparent;
}

body.is-detail-view .detail-tabs button.is-active {
  border: 0;
  background: rgba(227, 170, 102, 0.025);
  color: var(--product-gold-bright);
  box-shadow: none;
}

body.is-detail-view .detail-tabs button.is-active::after {
  background: var(--product-gold);
}

body.is-detail-view .detail-tab-icon {
  display: none;
}

body.is-detail-view .detail-tab-copy strong {
  color: inherit;
  font-size: 12px;
  font-weight: 720;
}

body.is-detail-view .domain-detail-head,
body.is-detail-view .domain-detail-head.metric-great,
body.is-detail-view .domain-detail-head.metric-good,
body.is-detail-view .domain-detail-head.metric-normal,
body.is-detail-view .domain-detail-head.metric-caution,
body.is-detail-view .domain-detail-head.metric-risk,
body.is-detail-view .annual-detail,
body.is-detail-view .annual-detail.metric-great,
body.is-detail-view .annual-detail.metric-good,
body.is-detail-view .annual-detail.metric-normal,
body.is-detail-view .annual-detail.metric-caution,
body.is-detail-view .annual-detail.metric-risk,
body.is-detail-view .timing-decade-board {
  border: 1px solid var(--product-line-soft);
  border-left: 2px solid rgba(227, 170, 102, 0.76);
  border-radius: var(--product-radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(48, 98, 134, 0.1), transparent 34%),
    linear-gradient(155deg, rgba(8, 34, 55, 0.92), rgba(3, 21, 34, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    var(--product-shadow);
}

body.is-detail-view .domain-detail-head {
  padding: 17px 12px 16px 16px;
}

body.is-detail-view .domain-title-row h2,
body.is-detail-view .annual-detail-head h2,
body.is-detail-view .contextual-evidence-section-head h2,
body.is-detail-view .paper-card h2 {
  color: var(--product-text);
  font-size: clamp(22px, 5.6vw, 25px);
  font-weight: 760;
  line-height: 1.28;
}

body.is-detail-view .domain-title-row p,
body.is-detail-view .annual-detail-head p,
body.is-detail-view .contextual-evidence-section-head p,
body.is-detail-view .paper-card > p {
  color: var(--product-copy);
  font-size: 13.5px;
  line-height: 1.66;
}

body.is-detail-view .domain-score {
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  border-color: rgba(227, 170, 102, 0.38);
  background: rgba(3, 21, 34, 0.82);
  box-shadow:
    inset 0 0 0 3px rgba(3, 21, 34, 0.92),
    inset 0 0 0 4px rgba(227, 170, 102, 0.08);
}

body.is-detail-view .domain-score-summary {
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--product-line-soft);
  border-radius: var(--product-radius);
  background: rgba(3, 20, 32, 0.38);
}

body.is-detail-view .domain-score-summary article {
  min-height: 70px;
  padding: 11px 12px;
  border: 0;
  border-right: 1px solid var(--product-line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .domain-score-summary article:last-child {
  border-right: 0;
}

body.is-detail-view .domain-metric-overview,
body.is-detail-view .annual-metric-overview {
  gap: 6px;
  margin-top: 12px;
  padding: 12px 9px 7px;
  border: 1px solid var(--product-line-soft);
  border-radius: var(--product-radius);
  background:
    linear-gradient(180deg, rgba(8, 34, 53, 0.7), rgba(4, 22, 35, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

body.is-detail-view .domain-metric-overview-head {
  padding: 0 4px 4px;
}

body.is-detail-view .domain-metric-overview-head strong {
  color: var(--product-text);
  font-size: 15px;
  font-weight: 760;
}

body.is-detail-view .domain-metric-overview-row,
body.is-detail-view .domain-metric-overview-row.is-long-label {
  min-height: 43px;
  padding: 6px 3px;
  border: 0;
  border-bottom: 1px solid rgba(227, 170, 102, 0.07);
  border-radius: 0;
  background: transparent;
}

body.is-detail-view .domain-metric-overview-row:last-child {
  border-bottom: 0;
}

body.is-detail-view .metric-detail-disclosure,
body.is-detail-view .annual-metric-group,
body.is-detail-view .contextual-evidence-group.is-collapsible,
body.is-detail-view .contextual-evidence-group.is-secondary {
  overflow: hidden;
  border: 1px solid var(--product-line-soft);
  border-radius: var(--product-radius);
  background:
    linear-gradient(180deg, rgba(8, 32, 49, 0.74), rgba(4, 21, 34, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

body.is-detail-view .metric-detail-disclosure[open],
body.is-detail-view .annual-metric-group[open],
body.is-detail-view .contextual-evidence-group[open] {
  border-color: rgba(227, 170, 102, 0.2);
  background:
    linear-gradient(180deg, rgba(9, 35, 53, 0.86), rgba(4, 21, 34, 0.78));
}

body.is-detail-view .metric-detail-disclosure > summary,
body.is-detail-view .annual-group-head,
body.is-detail-view .contextual-evidence-group > summary {
  min-height: 54px;
  padding: 11px 12px;
  background: transparent;
}

body.is-detail-view .metric-detail-disclosure > summary:hover,
body.is-detail-view .annual-group-head:hover,
body.is-detail-view .contextual-evidence-group > summary:hover {
  background: rgba(227, 170, 102, 0.03);
}

body.is-detail-view .metric-detail-disclosure > summary strong,
body.is-detail-view .annual-group-head > strong,
body.is-detail-view .contextual-evidence-group > summary strong {
  color: var(--product-text);
  font-size: 14px;
  font-weight: 740;
}

body.is-detail-view .metric-detail-disclosure > summary small,
body.is-detail-view .contextual-evidence-group > summary small {
  color: var(--product-muted);
  font-size: 11.5px;
}

body.is-detail-view .metric-detail-disclosure > .metric-grid,
body.is-detail-view .annual-group-body {
  gap: 9px;
  padding: 10px;
}

body.is-detail-view .metric-card,
body.is-detail-view .contextual-evidence-card {
  border: 1px solid rgba(227, 170, 102, 0.09);
  border-radius: var(--product-radius);
  background: rgba(255, 255, 255, 0.018);
  box-shadow: none;
}

body.is-detail-view .metric-card p,
body.is-detail-view .annual-group-body .metric-card p {
  color: rgba(242, 234, 220, 0.72);
  font-size: 13.5px;
  line-height: 1.68;
}

body.is-detail-view .metric-card p + p {
  margin-top: 12px;
}

body.is-detail-view .timing-decade-board {
  gap: 11px;
  padding: 16px;
}

body.is-detail-view .timing-decade-row {
  gap: 7px;
  padding: 10px 11px 11px;
  border: 1px solid rgba(227, 170, 102, 0.09);
  border-radius: var(--product-radius);
  background: rgba(255, 255, 255, 0.015);
}

body.is-detail-view .timing-decade-cell {
  border-radius: 5px;
}

body.is-detail-view .contextual-palja-basis.manse-basis-card {
  padding: 15px;
  border: 1px solid var(--product-line-soft);
  border-radius: var(--product-radius);
  background:
    linear-gradient(155deg, rgba(8, 34, 55, 0.9), rgba(3, 21, 34, 0.94));
  box-shadow: var(--product-shadow);
}

body.is-detail-view .manse-pillars {
  overflow: hidden;
  border: 1px solid rgba(227, 170, 102, 0.2);
  border-radius: var(--product-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

body.is-detail-view .contextual-evidence-section.paper-card {
  margin-top: 1px;
}

body.is-detail-view .contextual-evidence-section-head {
  margin-bottom: 10px;
  padding-inline: 2px;
}

body.is-detail-view .contextual-evidence-groups {
  gap: 8px;
}

body.is-detail-view .contextual-evidence-group-body,
body.is-detail-view .contextual-evidence-group.is-secondary .contextual-evidence-stack {
  padding: 9px;
}

body.is-detail-view .contextual-keyword-group {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.016);
}

.bottom-nav {
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--product-line-soft);
  background: rgba(3, 17, 28, 0.96);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
}

.bottom-nav button {
  min-height: 48px;
  border-radius: var(--product-radius);
  color: rgba(228, 218, 200, 0.48);
  font-size: 10.8px;
  font-weight: 680;
}

.bottom-nav button:hover,
.bottom-nav button:focus-visible {
  background: rgba(227, 170, 102, 0.035);
  color: rgba(240, 232, 216, 0.78);
}

.bottom-nav button.is-active {
  color: var(--product-gold-bright);
}

.bottom-nav button.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 22px;
  height: 1px;
  background: var(--product-gold);
}

.bottom-nav button {
  position: relative;
}

@media (max-width: 370px) {
  .screen-home,
  body.is-detail-view .screen-detail {
    padding-inline: 12px;
  }

  body.is-detail-view .light-surface {
    max-width: calc(100% + 24px);
    margin-inline: -12px;
    padding-inline: 12px;
  }

  body.is-detail-view .detail-tabs {
    max-width: calc(100% + 24px);
    margin-inline: -12px;
    padding-inline: 4px;
  }

  body.is-detail-view .detail-tabs button {
    min-width: 60px;
    padding-inline: 7px;
  }

  body.is-detail-view .detail-tab-copy strong {
    font-size: 11px;
  }

  .v2-form {
    padding: 17px 14px 15px;
  }

  .home-hero h1 {
    font-size: 27px;
  }
}

/* Product UI unification v2: finish the remaining detail-only surfaces. */
body.is-detail-view .contextual-palja-basis.manse-basis-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(55, 105, 137, 0.1), transparent 32%),
    linear-gradient(155deg, rgba(8, 34, 55, 0.96), rgba(3, 21, 34, 0.98));
}

body.is-detail-view .manse-pillars {
  border-color: rgba(227, 170, 102, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 31, 48, 0.98), rgba(3, 20, 32, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 8px 20px rgba(0, 0, 0, 0.18);
}

body.is-detail-view .manse-row + .manse-row {
  border-top-color: rgba(227, 170, 102, 0.1);
}

body.is-detail-view .manse-row-label,
body.is-detail-view .manse-pillar-head,
body.is-detail-view .manse-cell {
  border-left-color: rgba(227, 170, 102, 0.09);
}

body.is-detail-view .manse-row-label {
  background: rgba(227, 170, 102, 0.055);
  color: rgba(240, 189, 119, 0.82);
}

body.is-detail-view .manse-pillar-head {
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 170, 102, 0.09), transparent 70%),
    rgba(255, 255, 255, 0.014);
}

body.is-detail-view .manse-pillar-head b {
  color: var(--product-text);
}

body.is-detail-view .manse-pillar-head em {
  color: rgba(240, 189, 119, 0.72);
}

body.is-detail-view .manse-cell {
  color: var(--product-text);
  background: rgba(255, 255, 255, 0.012);
}

body.is-detail-view .manse-token {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.42);
}

body.is-detail-view .manse-token.is-wood,
body.is-detail-view .manse-hidden-chip.is-wood b {
  color: #78c4a8;
}

body.is-detail-view .manse-token.is-fire,
body.is-detail-view .manse-hidden-chip.is-fire b {
  color: #e28573;
}

body.is-detail-view .manse-token.is-earth,
body.is-detail-view .manse-hidden-chip.is-earth b {
  color: #d4aa68;
}

body.is-detail-view .manse-token.is-metal,
body.is-detail-view .manse-hidden-chip.is-metal b {
  color: #c7c7c2;
}

body.is-detail-view .manse-token.is-water,
body.is-detail-view .manse-hidden-chip.is-water b {
  color: #75a8d5;
}

body.is-detail-view .manse-element-badge {
  border-color: rgba(227, 170, 102, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(242, 234, 220, 0.78);
}

body.is-detail-view .manse-element-badge.is-wood {
  color: #8ed2b8;
  background: rgba(71, 141, 112, 0.12);
}

body.is-detail-view .manse-element-badge.is-fire {
  color: #ee9a88;
  background: rgba(183, 86, 69, 0.12);
}

body.is-detail-view .manse-element-badge.is-earth {
  color: #deb878;
  background: rgba(176, 127, 55, 0.13);
}

body.is-detail-view .manse-element-badge.is-metal {
  color: #d4d4cf;
  background: rgba(168, 168, 158, 0.1);
}

body.is-detail-view .manse-element-badge.is-water {
  color: #8ab8df;
  background: rgba(64, 113, 158, 0.13);
}

body.is-detail-view .manse-god {
  color: rgba(247, 239, 225, 0.88);
}

body.is-detail-view .manse-hidden-chip {
  border-color: rgba(227, 170, 102, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

body.is-detail-view .manse-hidden-chip em {
  color: rgba(228, 218, 200, 0.64);
}

body.is-detail-view .manse-muted {
  color: rgba(228, 218, 200, 0.46);
}

body.is-detail-view .metric-card > header,
body.is-detail-view .contextual-evidence-card > header {
  border-bottom-color: rgba(227, 170, 102, 0.08);
}

body.is-detail-view .metric-grade,
body.is-detail-view .annual-group-grade {
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.is-detail-view .metric-detail-disclosure > summary,
body.is-detail-view .annual-group-head,
body.is-detail-view .contextual-evidence-group > summary {
  outline-offset: -2px;
}

body.is-detail-view .metric-detail-disclosure > summary:focus-visible,
body.is-detail-view .annual-group-head:focus-visible,
body.is-detail-view .contextual-evidence-group > summary:focus-visible {
  outline: 1px solid rgba(240, 189, 119, 0.58);
}

.v2-form .field input:focus-visible,
.v2-form .field select:focus-visible,
.v2-form .gold-button:focus-visible,
.v2-form .blog-entry-button:focus-visible {
  outline: 0;
}

body.is-detail-view .domain-landing {
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--product-line-soft);
  border-radius: var(--product-radius);
  background:
    radial-gradient(circle at 92% 0%, rgba(49, 96, 128, 0.1), transparent 32%),
    linear-gradient(155deg, rgba(8, 34, 55, 0.94), rgba(3, 21, 34, 0.97));
  box-shadow: var(--product-shadow);
}

body.is-detail-view .domain-landing-head {
  gap: 5px;
}

body.is-detail-view .domain-landing-head > span {
  color: rgba(240, 189, 119, 0.78);
  font-size: 11px;
  font-weight: 740;
}

body.is-detail-view .domain-landing-head h2 {
  color: var(--product-text);
  font-size: 21px;
  font-weight: 760;
}

body.is-detail-view .domain-landing-head p {
  color: var(--product-copy);
  font-size: 13px;
  line-height: 1.58;
}

body.is-detail-view .domain-landing-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.is-detail-view .domain-landing-summary span,
body.is-detail-view .domain-landing-summary button {
  min-height: 82px;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--product-line-soft);
  border-radius: var(--product-radius);
  background: rgba(255, 255, 255, 0.018);
}

body.is-detail-view .domain-landing-summary b {
  color: rgba(240, 189, 119, 0.72);
  font-size: 10.5px;
}

body.is-detail-view .domain-landing-summary strong {
  color: var(--product-text);
  font-size: 14px;
  font-weight: 760;
}

body.is-detail-view .domain-landing-summary em {
  color: var(--product-muted);
  font-size: 10.5px;
}

body.is-detail-view .domain-landing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.is-detail-view .domain-landing-card {
  position: relative;
  min-height: 84px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid var(--product-line-soft);
  border-left: 1px solid rgba(227, 170, 102, 0.24);
  border-radius: var(--product-radius);
  background:
    linear-gradient(155deg, rgba(12, 42, 62, 0.76), rgba(4, 22, 35, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 6px 14px rgba(0, 0, 0, 0.12);
}

body.is-detail-view .domain-landing-card.metric-risk,
body.is-detail-view .domain-landing-card.metric-caution {
  border-left-color: rgba(198, 101, 85, 0.56);
}

body.is-detail-view .domain-landing-card .section-symbol {
  width: 34px;
  height: 34px;
  border-color: rgba(227, 170, 102, 0.2);
  background: rgba(227, 170, 102, 0.035);
  color: var(--product-gold);
}

body.is-detail-view .domain-landing-copy {
  gap: 2px;
  padding-right: 28px;
}

body.is-detail-view .domain-landing-copy strong {
  color: var(--product-text);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.25;
}

body.is-detail-view .domain-landing-copy small {
  color: var(--product-muted);
  font-size: 10.5px;
}

body.is-detail-view .domain-landing-side {
  position: absolute;
  top: 8px;
  right: 7px;
  min-width: 0;
}

body.is-detail-view .domain-landing-card em {
  min-width: 30px;
  padding: 4px 6px;
  border: 1px solid rgba(227, 170, 102, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.028);
  color: rgba(242, 234, 220, 0.72);
  font-size: 10px;
  font-weight: 760;
}

body.is-detail-view .domain-landing-side small {
  display: none;
}

@media (max-width: 370px) {
  body.is-detail-view .domain-landing {
    padding: 14px 12px;
  }

  body.is-detail-view .domain-landing-card {
    min-height: 82px;
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 6px;
    padding-inline: 7px;
  }

  body.is-detail-view .domain-landing-card .section-symbol {
    width: 31px;
    height: 31px;
  }

  body.is-detail-view .domain-landing-copy strong {
    font-size: 13px;
  }
}

body.is-report-view .report-dashboard-head > button,
body.is-report-view .daily-fortune-toggle {
  min-height: 36px;
  margin-block: -4px;
  padding-inline: 6px;
  border-radius: 5px;
}

body.is-report-view .report-dashboard-head > button:hover,
body.is-report-view .report-dashboard-head > button:focus-visible,
body.is-report-view .daily-fortune-toggle:hover,
body.is-report-view .daily-fortune-toggle:focus-visible {
  background: rgba(227, 170, 102, 0.045);
  outline: 1px solid rgba(227, 170, 102, 0.14);
  outline-offset: -1px;
}

/* Grade box contract: every rectangular grade uses one stable footprint. */
body.is-detail-view .metric-level-badge[class*="metric-grade-"],
body.is-detail-view .annual-score-status.metric-grade-value[class*="metric-grade-"],
body.is-detail-view .domain-landing-side .metric-grade-value[class*="metric-grade-"],
body.is-detail-view .domain-landing-summary-grade.metric-grade-value[class*="metric-grade-"] {
  box-sizing: border-box;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px !important;
  border: 1px solid var(--grade-border) !important;
  border-radius: 5px !important;
  background: var(--grade-bg) !important;
  color: var(--grade-ink) !important;
  font-size: 11.5px !important;
  font-weight: 800;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
  text-shadow: none !important;
}

body.is-detail-view .metric-level-badge[class*="metric-grade-"] > span {
  width: 100%;
  color: inherit;
  font-size: inherit !important;
  font-weight: inherit;
  line-height: 1;
  text-align: center;
}

body.is-detail-view .domain-score-summary .metric-level-badge[class*="metric-grade-"],
body.is-detail-view .domain-metric-overview-row .metric-level-badge[class*="metric-grade-"] {
  border-color: var(--grade-border) !important;
  background: var(--grade-bg) !important;
}

body.is-detail-view .domain-landing-summary span.domain-landing-summary-meta {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 25px;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .domain-landing-summary-meta em {
  min-width: 0;
  overflow: hidden;
  color: var(--product-muted);
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-detail-view .domain-metric-overview-row,
body.is-detail-view .domain-metric-overview-row.is-long-label {
  grid-template-columns: 96px minmax(0, 1fr) 42px;
}

@media (max-width: 370px) {
  body.is-detail-view .domain-metric-overview-row,
  body.is-detail-view .domain-metric-overview-row.is-long-label {
    grid-template-columns: 88px minmax(0, 1fr) 42px;
    column-gap: 4px;
  }

  body.is-detail-view .domain-metric-overview-row > span,
  body.is-detail-view .domain-metric-overview-row.is-long-label > span {
    width: 88px;
    max-width: 88px;
  }
}

/* Reading palette v1: neutral grayscale copy for sustained reading on navy. */
:root {
  --product-text: #e2e2e2;
  --product-copy: #c4c4c4;
  --product-muted: #9e9e9e;
  --product-reading-strong: #e2e2e2;
  --product-reading-body: #c4c4c4;
  --product-reading-muted: #9e9e9e;
  --product-reading-faint: #858585;
}

.hero-copy,
.v2-form h2 + p,
.loading-panel p,
body.is-detail-view .detail-root p,
body.is-detail-view .domain-title-row p,
body.is-detail-view .annual-detail-head p,
body.is-detail-view .paper-card > p,
body.is-detail-view .metric-card p,
body.is-detail-view .metric-card .metric-action-copy,
body.is-detail-view .annual-group-body .metric-card p,
body.is-detail-view .contextual-evidence-card p,
body.is-detail-view .timing-decade-board > p,
body.is-detail-view .timing-summary-grid p,
body.is-detail-view .timing-inline-column p,
body.is-detail-view .timing-flow-list p,
body.is-detail-view .timing-event-card > p,
body.is-detail-view .timing-domain-cell p,
body.is-report-view .daily-fortune-overall-copy p,
body.is-report-view .daily-fortune-copy p {
  color: var(--product-reading-body);
}

.v2-form h2,
.v2-form .field > span,
.v2-form .field > label,
body.is-detail-view .metric-card > header strong,
body.is-detail-view .annual-metric-explanation-head strong,
body.is-detail-view .contextual-evidence-card > header strong {
  color: var(--product-reading-strong);
}

.v2-form .input-trust-note,
.v2-form .blog-entry-button,
body.is-detail-view .metric-detail-disclosure > summary small,
body.is-detail-view .contextual-evidence-group > summary small,
body.is-detail-view .annual-metric-explanation-head span,
body.is-detail-view .contextual-evidence-card > header em,
body.is-report-view .daily-fortune-toggle-copy small,
body.is-report-view .daily-fortune-overall-copy small,
body.is-report-view .daily-fortune-copy small {
  color: var(--product-reading-muted);
}

body.is-detail-view .metric-card p + p,
body.is-detail-view .metric-card .metric-action-copy {
  color: var(--product-reading-body);
}

body.is-detail-view .metric-detail-disclosure > .metric-grid .metric-card p,
body.is-detail-view .metric-detail-disclosure > .metric-grid .metric-card .metric-action-copy {
  color: var(--product-reading-body);
}

body.is-detail-view .detail-root .paper-card p,
body.is-detail-view .detail-root .annual-detail-head p,
body.is-detail-view .detail-root .manse-basis-head p,
body.is-detail-view .detail-root .contextual-evidence-card p {
  color: var(--product-reading-body);
}

/* Result entry v1: one clear type statement, with the radar as support. */
body.is-report-view .report-personality-dashboard {
  grid-template-columns: minmax(116px, 128px) minmax(220px, 248px);
  justify-content: center;
  gap: 4px;
  min-height: 205px;
  padding: 12px 8px;
}

body.is-report-view .report-personality-copy {
  gap: 6px;
}

body.is-report-view .report-personality-type-label {
  color: var(--report-reference-gold);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.3;
}

body.is-report-view .report-personality-copy h2 {
  max-width: 6.5em;
  color: var(--report-reference-gold-bright);
  font-size: clamp(21px, 6vw, 25px);
  line-height: 1.28;
  word-break: keep-all;
}

@media (max-width: 370px) {
  body.is-report-view .report-personality-dashboard {
    grid-template-columns: 104px minmax(196px, 1fr);
    gap: 2px;
    min-height: 198px;
    padding: 10px 5px;
  }

  body.is-report-view .report-personality-copy h2 {
    font-size: 20px;
  }
}

/* Navigation affordance v1: explicit back action without boxed chrome. */
body.is-report-view .report-appbar,
body.is-detail-view .report-appbar {
  grid-template-columns: 86px minmax(0, 1fr) 86px;
}

body.is-report-view .appbar-actions,
body.is-detail-view .appbar-actions {
  justify-self: end;
}

body.is-report-view .back-button,
body.is-detail-view .back-button {
  width: auto;
  min-width: 78px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b8b8b8;
  box-shadow: none;
}

body.is-report-view .back-button svg,
body.is-detail-view .back-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  stroke-width: 2;
}

body.is-report-view .back-button span,
body.is-detail-view .back-button span {
  color: inherit;
  font-size: 12.5px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
}

body.is-report-view .back-button:hover,
body.is-report-view .back-button:focus-visible,
body.is-detail-view .back-button:hover,
body.is-detail-view .back-button:focus-visible {
  border: 0;
  background: transparent;
  color: var(--product-gold-bright);
  outline: 0;
  box-shadow: none;
}

.bottom-nav button[data-action="go-home"] {
  min-height: 54px;
}

.bottom-nav button .bottom-nav-label {
  display: grid;
  gap: 1px;
  font-size: 10.3px;
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: 0;
}

.bottom-nav button .bottom-nav-label > span {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

@media (max-width: 370px) {
  body.is-report-view .report-appbar,
  body.is-detail-view .report-appbar {
    grid-template-columns: 80px minmax(0, 1fr) 80px;
  }

  body.is-report-view .back-button,
  body.is-detail-view .back-button {
    min-width: 72px;
  }
}

/* Radar collision guard v1: long labels and narrow screens keep separate lanes. */
@media (max-width: 340px) {
  body.is-report-view .report-personality-dashboard {
    grid-template-columns: 96px minmax(190px, 1fr);
    gap: 2px;
    padding-inline: 4px;
  }

  body.is-report-view .report-personality-copy h2 {
    max-width: 100%;
    font-size: 19px;
  }

  body.is-report-view .report-radar-caption.is-axis-1 .report-radar-label,
  body.is-report-view .report-radar-caption.is-axis-2 .report-radar-label {
    transform: translateX(-28px);
  }

  body.is-report-view .report-radar-caption.is-axis-4 .report-radar-label,
  body.is-report-view .report-radar-caption.is-axis-5 .report-radar-label {
    transform: translateX(28px);
  }

  body.is-report-view .report-radar-label {
    font-size: 9.4px;
  }
}

/* Daily detail v1: move the expanded forecast into a focused detail screen. */
body.is-detail-view .daily-fortune-detail-page {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(227, 170, 102, 0.2);
  border-left: 2px solid rgba(227, 170, 102, 0.72);
  border-radius: var(--product-radius);
  background:
    radial-gradient(circle at 88% 3%, rgba(227, 170, 102, 0.065), transparent 31%),
    linear-gradient(145deg, rgba(10, 31, 47, 0.98), rgba(5, 20, 32, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 12px 30px rgba(0, 0, 0, 0.16);
}

body.is-detail-view .daily-fortune-detail-head {
  display: grid;
  gap: 3px;
  padding: 0 2px 2px;
}

body.is-detail-view .daily-fortune-detail-head > span {
  color: var(--product-gold-soft);
  font-size: 11.5px;
  font-weight: 720;
  line-height: 1.35;
}

body.is-detail-view .daily-fortune-detail-head h2 {
  margin: 0;
  color: var(--product-text);
  font-size: 23px;
  line-height: 1.3;
}

body.is-detail-view .daily-fortune-overall {
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 10px 12px;
  padding: 13px;
  border-color: rgba(227, 170, 102, 0.18);
  background: rgba(7, 24, 37, 0.68);
}

body.is-detail-view .daily-fortune-detail-score {
  display: inline-flex;
  width: 52px;
  min-width: 52px;
  height: 44px;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  padding-top: 9px;
  border: 1px solid var(--daily-score-color, #91a0a2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--daily-score-ink, #bdc6c6);
}

body.is-detail-view .daily-fortune-detail-score span {
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

body.is-detail-view .daily-fortune-detail-score small,
body.is-detail-view .daily-fortune-row-score small {
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
}

body.is-detail-view .daily-fortune-detail-bar {
  height: 8px;
  border: 1px solid rgba(116, 151, 168, 0.24);
  background: rgba(67, 94, 109, 0.44);
}

body.is-detail-view .daily-fortune-detail-bar i {
  background: var(--daily-score-color, #91a0a2);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}

body.is-detail-view .daily-fortune-list {
  border-color: rgba(227, 170, 102, 0.14);
  background: rgba(5, 19, 31, 0.52);
}

body.is-detail-view .daily-fortune-row {
  grid-template-columns: 32px minmax(0, 1fr) 42px;
  gap: 10px;
  min-height: 78px;
  padding: 10px 11px;
  border-bottom-color: rgba(227, 170, 102, 0.09);
}

body.is-detail-view .daily-fortune-row .daily-fortune-icon.has-report-icon {
  width: 32px;
  height: 32px;
  color: #e3aa66;
}

body.is-detail-view .daily-fortune-copy strong {
  color: var(--product-reading-strong);
  font-size: 14px;
}

body.is-detail-view .daily-fortune-copy small {
  color: var(--product-reading-muted);
  font-size: 10.5px;
}

body.is-detail-view .daily-fortune-copy p {
  color: var(--product-reading-body);
  font-size: 12.5px;
  line-height: 1.5;
}

body.is-detail-view .daily-fortune-row-score {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  color: var(--daily-score-ink, #bdc6c6);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
}

@media (max-width: 370px) {
  body.is-detail-view .daily-fortune-detail-page {
    padding: 13px;
  }

  body.is-detail-view .daily-fortune-row {
    grid-template-columns: 29px minmax(0, 1fr) 39px;
    gap: 8px;
    padding-inline: 9px;
  }

  body.is-detail-view .daily-fortune-row .daily-fortune-icon.has-report-icon {
    width: 29px;
    height: 29px;
  }
}

/* Input screen v2: concise hierarchy and a glyph-free gender selector. */
.screen-home {
  gap: 14px;
}

.home-hero {
  min-height: 154px;
  padding-bottom: 16px;
}

.v2-form h2 {
  margin-bottom: 1px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--product-line-soft);
}

.v2-form h2::before {
  top: 3px;
  bottom: auto;
  height: 20px;
}

.v2-form .field:first-of-type {
  margin-top: 13px;
}

.v2-form .segmented {
  gap: 2px;
  padding: 2px;
  border-color: rgba(227, 170, 102, 0.14);
  background: rgba(3, 17, 28, 0.5);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.015);
}

.v2-form .segmented span {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: rgba(226, 226, 226, 0.68);
  font-size: 13.5px;
  font-weight: 680;
  transition: color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.v2-form .segmented span:hover {
  background: rgba(227, 170, 102, 0.04);
  color: rgba(242, 230, 209, 0.82);
}

.v2-form .segmented input:checked + span {
  background: rgba(227, 170, 102, 0.105);
  color: #f3dda9;
  box-shadow: inset 0 0 0 1px rgba(227, 170, 102, 0.25);
}

@media (max-width: 370px) {
  .home-hero {
    min-height: 146px;
  }
}

/* Detail copy reduction v1: keep section entry points concise after removing helper prose. */
body.is-detail-view .domain-title-row {
  align-items: center;
}

body.is-detail-view .domain-title-row > div:first-child {
  display: flex;
  min-height: 58px;
  align-items: center;
}

body.is-detail-view .annual-detail {
  gap: 14px;
}

body.is-detail-view .annual-detail-head h2 {
  margin-top: 2px;
}

body.is-detail-view .domain-score-summary,
body.is-detail-view .domain-metric-overview,
body.is-detail-view .annual-metric-overview {
  margin-top: 10px;
}

body.is-detail-view .metric-detail-disclosure > summary {
  min-height: 48px;
  padding-block: 9px;
}

body.is-detail-view .metric-detail-disclosure > summary > span {
  display: flex;
  align-items: center;
}

body.is-detail-view .timing-decade-board {
  gap: 9px;
}

body.is-detail-view .detail-root .manse-basis-head {
  margin-bottom: 0;
}

body.is-detail-view .detail-root .manse-pillars {
  margin-top: 10px;
}

body.is-detail-view .daily-fortune-overall-copy {
  display: flex;
  min-height: 44px;
  align-items: center;
}

body.is-detail-view .daily-fortune-overall-copy small {
  margin-bottom: 0;
  font-size: 13px;
}

/* Sticky result app bar v1: keep navigation and sharing available while reading. */
body.is-report-view .site-stage,
body.is-detail-view .site-stage,
body.is-report-view .screen-report,
body.is-detail-view .screen-detail {
  overflow-x: clip;
}

body.is-report-view .screen-report,
body.is-detail-view .screen-detail {
  padding-top: 0;
}

body.is-report-view .report-appbar,
body.is-detail-view .report-appbar,
body.is-detail-view .report-appbar.light {
  position: sticky;
  top: 0;
  z-index: 80;
  margin-top: 0;
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}

/* Comfort hierarchy trial v1: quieter color, clearer grouping, fewer nested cards. */
:root {
  --comfort-line: rgba(181, 193, 200, 0.14);
  --comfort-line-soft: rgba(181, 193, 200, 0.085);
  --comfort-surface: rgba(5, 24, 38, 0.74);
  --comfort-surface-raised: rgba(8, 31, 47, 0.78);
  --comfort-blue: #739fba;
  --comfort-blue-ink: #bdd8e7;
  --comfort-neutral: #8c9192;
  --comfort-neutral-ink: #ced0ce;
  --comfort-red: #b96b62;
  --comfort-red-ink: #e0aaa3;
}

/* B- and B share the first positive blue; higher grades become brighter and clearer. */
.metric-grade-a-plus {
  --grade-ink: #effbff;
  --grade-border: rgba(131, 200, 225, 0.52);
  --grade-bg: rgba(83, 168, 197, 0.22);
  --grade-start: #83c8e1;
  --grade-end: #b8e8f3;
}

.metric-grade-a {
  --grade-ink: #e9faff;
  --grade-border: rgba(117, 191, 220, 0.49);
  --grade-bg: rgba(79, 153, 181, 0.21);
  --grade-start: #75bfdc;
  --grade-end: #a8e0ed;
}

.metric-grade-a-minus {
  --grade-ink: #e4f8ff;
  --grade-border: rgba(105, 180, 208, 0.47);
  --grade-bg: rgba(75, 145, 173, 0.2);
  --grade-start: #69b4d0;
  --grade-end: #9bd8e8;
}

.metric-grade-b-plus {
  --grade-ink: #e0f4fb;
  --grade-border: rgba(100, 166, 195, 0.46);
  --grade-bg: rgba(69, 141, 170, 0.19);
  --grade-start: #64a6c3;
  --grade-end: #95c9db;
}

.metric-grade-b {
  --grade-ink: #dceff7;
  --grade-border: rgba(104, 153, 178, 0.42);
  --grade-bg: rgba(74, 124, 150, 0.18);
  --grade-start: #6899b2;
  --grade-end: #8fbbce;
}

.metric-grade-b-minus {
  --grade-ink: #dceff7;
  --grade-border: rgba(104, 153, 178, 0.42);
  --grade-bg: rgba(74, 124, 150, 0.18);
  --grade-start: #6899b2;
  --grade-end: #8fbbce;
}

.metric-grade-c-plus {
  --grade-ink: #e5dfd4;
  --grade-border: rgba(181, 172, 156, 0.34);
  --grade-bg: rgba(143, 135, 121, 0.15);
  --grade-start: #9b9486;
  --grade-end: #b6aea0;
}

.metric-grade-c {
  --grade-ink: #e8d5bd;
  --grade-border: rgba(190, 161, 126, 0.36);
  --grade-bg: rgba(150, 125, 96, 0.16);
  --grade-start: #aa9277;
  --grade-end: #c0a98d;
}

.metric-grade-c-minus {
  --grade-ink: #edc7a7;
  --grade-border: rgba(200, 147, 104, 0.37);
  --grade-bg: rgba(158, 108, 72, 0.17);
  --grade-start: #b68462;
  --grade-end: #cc9c76;
}

.metric-grade-d-plus {
  --grade-ink: #edbd91;
  --grade-border: rgba(199, 135, 83, 0.38);
  --grade-bg: rgba(165, 104, 66, 0.17);
  --grade-start: #bd7b4f;
  --grade-end: #d59a68;
}

.metric-grade-d {
  --grade-ink: #e9ae80;
  --grade-border: rgba(190, 116, 72, 0.4);
  --grade-bg: rgba(154, 88, 57, 0.18);
  --grade-start: #ad6946;
  --grade-end: #c98559;
}

.metric-grade-d-minus {
  --grade-ink: #e5a274;
  --grade-border: rgba(176, 101, 67, 0.42);
  --grade-bg: rgba(142, 74, 51, 0.19);
  --grade-start: #9d5c40;
  --grade-end: #ba744e;
}

body .metric-bar[class*="metric-grade-"] {
  --metric-bar-color: var(--grade-start) !important;
}

body .metric-bar[class*="metric-grade-"] i {
  background: var(--grade-start) !important;
}

body .daily-score-strong {
  --daily-score-color: #73a9d2 !important;
  --daily-score-ink: #c2dff3 !important;
}

body .daily-score-steady {
  --daily-score-color: #6fae9b !important;
  --daily-score-ink: #b8ded3 !important;
}

body .daily-score-neutral {
  --daily-score-color: #6fae9b !important;
  --daily-score-ink: #b8ded3 !important;
}

body .daily-score-caution {
  --daily-score-color: #bd7a55 !important;
  --daily-score-ink: #e1b18f !important;
}

body.is-detail-view .detail-root {
  gap: 22px;
}

body.is-detail-view .domain-detail-head,
body.is-detail-view .annual-detail,
body.is-detail-view .timing-decade-board,
body.is-detail-view .daily-fortune-detail-page,
body.is-detail-view .contextual-palja-basis.manse-basis-card {
  border-color: var(--comfort-line);
  border-left-color: rgba(227, 170, 102, 0.72);
  background:
    radial-gradient(circle at 100% 0%, rgba(50, 96, 126, 0.075), transparent 34%),
    linear-gradient(155deg, rgba(7, 30, 48, 0.94), rgba(3, 20, 32, 0.96));
}

body.is-detail-view .domain-detail-head {
  padding: 18px 14px 18px 16px;
}

body.is-detail-view .domain-title-row {
  padding-bottom: 2px;
}

body.is-detail-view .domain-detail-head > .metric-bar,
body.is-detail-view .annual-detail > .metric-bar {
  margin-top: 12px;
}

body.is-detail-view .domain-score-summary {
  margin-top: 20px;
  border-color: var(--comfort-line-soft);
  background: rgba(3, 18, 29, 0.34);
}

body.is-detail-view .domain-score-summary article {
  min-height: 74px;
  padding: 13px 12px;
  border-right-color: var(--comfort-line-soft);
}

body.is-detail-view .domain-metric-overview,
body.is-detail-view .annual-metric-overview,
body.is-detail-view .annual-group-overview {
  gap: 8px;
  margin-top: 22px;
  padding: 14px 11px 9px;
  border-color: var(--comfort-line);
  background: var(--comfort-surface);
  box-shadow: none;
}

body.is-detail-view .domain-metric-overview-head {
  padding: 0 3px 7px;
}

body.is-detail-view .domain-metric-overview-row,
body.is-detail-view .domain-metric-overview-row.is-long-label {
  min-height: 48px;
  padding-block: 8px;
  border-bottom-color: var(--comfort-line-soft);
}

body.is-detail-view .metric-detail-disclosure {
  margin-top: 22px;
  border-color: var(--comfort-line);
  background: var(--comfort-surface);
  box-shadow: none;
}

body.is-detail-view .metric-detail-disclosure[open] {
  background: var(--comfort-surface-raised);
}

body.is-detail-view .metric-detail-disclosure > summary {
  min-height: 54px;
  padding: 11px 14px;
}

body.is-detail-view .metric-detail-disclosure[open] > .metric-grid {
  gap: 0;
  padding: 0 14px 14px;
}

body.is-detail-view .metric-detail-disclosure[open] .metric-card {
  padding: 17px 1px;
  border: 0;
  border-top: 1px solid var(--comfort-line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .metric-detail-disclosure[open] .metric-card.metric-great,
body.is-detail-view .metric-detail-disclosure[open] .metric-card.metric-good,
body.is-detail-view .metric-detail-disclosure[open] .metric-card.metric-normal,
body.is-detail-view .metric-detail-disclosure[open] .metric-card.metric-caution,
body.is-detail-view .metric-detail-disclosure[open] .metric-card.metric-risk {
  border-left: 0;
}

body.is-detail-view .metric-detail-disclosure[open] .metric-card > header {
  padding-bottom: 10px;
  border-bottom: 0;
}

body.is-detail-view .metric-detail-disclosure[open] .metric-card p + p {
  margin-top: 14px;
}

/* Annual screens: one summary, then one calm accordion list. */
body.is-detail-view .annual-detail {
  gap: 18px;
  padding: 18px 16px;
}

body.is-detail-view .annual-metric-overview {
  margin-top: 4px;
}

body.is-detail-view .annual-group-list {
  gap: 0;
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid var(--comfort-line);
  border-radius: var(--product-radius);
  background: var(--comfort-surface);
}

body.is-detail-view .annual-metric-group,
body.is-detail-view .annual-metric-group[open] {
  border: 0;
  border-bottom: 1px solid var(--comfort-line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .annual-metric-group:last-child {
  border-bottom: 0;
}

body.is-detail-view .annual-metric-group[open] {
  background: rgba(255, 255, 255, 0.014);
}

body.is-detail-view .annual-group-head {
  min-height: 60px;
  padding: 12px 14px;
}

body.is-detail-view .annual-group-body {
  gap: 0;
  padding: 0 14px 14px;
}

body.is-detail-view .annual-group-body .annual-group-overview {
  margin: 0 0 12px;
  border-color: var(--comfort-line-soft);
}

body.is-detail-view .annual-group-body .metric-card {
  padding: 17px 1px;
  border: 0;
  border-top: 1px solid var(--comfort-line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .annual-group-body .metric-card.metric-great,
body.is-detail-view .annual-group-body .metric-card.metric-good,
body.is-detail-view .annual-group-body .metric-card.metric-normal,
body.is-detail-view .annual-group-body .metric-card.metric-caution,
body.is-detail-view .annual-group-body .metric-card.metric-risk {
  border-left: 0;
}

/* Timing: remove boxes inside boxes while keeping each decade easy to scan. */
body.is-detail-view .timing-decade-board {
  gap: 14px;
  padding: 18px 16px;
}

body.is-detail-view .timing-decade-list {
  gap: 0;
  overflow: hidden;
  border-top: 1px solid var(--comfort-line);
  border-bottom: 1px solid var(--comfort-line);
}

body.is-detail-view .timing-decade-row {
  gap: 10px;
  padding: 15px 0 16px;
  border: 0;
  border-bottom: 1px solid var(--comfort-line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .timing-decade-row:last-child {
  border-bottom: 0;
}

body.is-detail-view .timing-decade-cell {
  border-color: var(--comfort-line-soft);
  background: rgba(255, 255, 255, 0.012);
}

/* Basis: preserve the five-element colors only inside the chart table. */
body.is-detail-view .contextual-evidence-section.paper-card {
  margin-top: 24px;
}

body.is-detail-view .contextual-evidence-section-head {
  margin-bottom: 13px;
  padding-bottom: 0;
}

body.is-detail-view .contextual-evidence-groups {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--comfort-line);
  border-radius: var(--product-radius);
  background: var(--comfort-surface);
}

body.is-detail-view .contextual-evidence-group.is-collapsible,
body.is-detail-view .contextual-evidence-group.is-secondary,
body.is-detail-view .contextual-evidence-group[open] {
  border: 0;
  border-bottom: 1px solid var(--comfort-line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .contextual-evidence-group:last-child {
  border-bottom: 0;
}

body.is-detail-view .contextual-evidence-group[open] {
  background: rgba(255, 255, 255, 0.014);
}

body.is-detail-view .contextual-evidence-group > summary {
  min-height: 58px;
  padding: 12px 14px;
}

body.is-detail-view .contextual-evidence-group-body,
body.is-detail-view .contextual-evidence-group.is-secondary .contextual-evidence-stack {
  gap: 0;
  padding: 0 14px 14px;
}

body.is-detail-view .contextual-evidence-card {
  padding: 17px 1px;
  border: 0;
  border-top: 1px solid var(--comfort-line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .contextual-evidence-card > header {
  border-bottom: 0;
}

/* Daily fortune: retain the layout, quiet the list and increase section breathing. */
body.is-detail-view .daily-fortune-detail-page {
  gap: 18px;
  padding: 18px 16px;
}

body.is-detail-view .daily-fortune-overall {
  border-color: var(--comfort-line);
  background: rgba(4, 20, 32, 0.48);
}

body.is-detail-view .daily-fortune-list {
  border-color: var(--comfort-line);
  background: rgba(4, 19, 30, 0.38);
}

body.is-detail-view .daily-fortune-row {
  min-height: 92px;
  padding-block: 13px;
  border-bottom-color: var(--comfort-line-soft);
}

/* Input and result entry: more breathing without changing their established structure. */
.screen-home {
  gap: 18px;
}

.v2-form {
  padding: 20px 18px 18px;
  border-color: var(--comfort-line);
}

.v2-form h2 {
  padding-bottom: 16px;
  border-bottom-color: var(--comfort-line-soft);
}

.v2-form .field:first-of-type {
  margin-top: 16px;
}

body.is-report-view .report-root {
  gap: 16px;
}

body.is-report-view .report-dashboard,
body.is-report-view .daily-fortune-board {
  border-color: var(--comfort-line);
}

body.is-report-view .report-personality-dashboard {
  border-color: rgba(227, 170, 102, 0.24);
}

@media (max-width: 370px) {
  body.is-detail-view .detail-root {
    gap: 18px;
  }

  body.is-detail-view .domain-detail-head,
  body.is-detail-view .annual-detail,
  body.is-detail-view .timing-decade-board,
  body.is-detail-view .daily-fortune-detail-page {
    padding-inline: 13px;
  }

  body.is-detail-view .domain-metric-overview,
  body.is-detail-view .annual-metric-overview,
  body.is-detail-view .annual-group-overview {
    padding-inline: 8px;
  }

  .v2-form {
    padding: 18px 14px 16px;
  }
}

/* Inline metric explanations v1: the compact metric row is the explanation control. */
body.is-detail-view .domain-metric-overview-list {
  display: grid;
  gap: 0;
}

body.is-detail-view .domain-metric-overview-item {
  min-width: 0;
  border-bottom: 1px solid var(--comfort-line-soft);
}

body.is-detail-view .domain-metric-overview-item:last-child {
  border-bottom: 0;
}

body.is-detail-view .domain-metric-overview-item > summary {
  grid-template-columns: 96px minmax(0, 1fr) 42px 12px !important;
  column-gap: 4px;
  border-bottom: 0;
  list-style: none;
  cursor: pointer;
}

body.is-detail-view .domain-metric-overview-item > summary::-webkit-details-marker {
  display: none;
}

body.is-detail-view .domain-metric-overview-item > summary:focus-visible {
  outline: 2px solid rgba(227, 170, 102, 0.72);
  outline-offset: -2px;
}

body.is-detail-view .domain-metric-overview-item[open] > summary {
  background: rgba(255, 255, 255, 0.018);
}

body.is-detail-view .domain-metric-overview-chevron {
  display: block;
  width: 7px;
  height: 7px;
  justify-self: center;
  border-right: 1.5px solid rgba(227, 170, 102, 0.66);
  border-bottom: 1.5px solid rgba(227, 170, 102, 0.66);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 160ms ease;
}

body.is-detail-view .domain-metric-overview-item[open] .domain-metric-overview-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

body.is-detail-view .domain-metric-overview-explanation {
  padding: 3px 14px 17px;
  border-top: 1px solid var(--comfort-line-soft);
  background: rgba(2, 16, 26, 0.22);
}

body.is-detail-view .domain-metric-overview-explanation p {
  margin: 0;
  color: var(--product-reading-body);
  font-size: 13.5px;
  line-height: 1.68;
}

body.is-detail-view .domain-metric-overview-explanation p + p {
  margin-top: 14px;
}

@media (hover: hover) and (pointer: fine) {
  body.is-detail-view .domain-metric-overview-item > summary:hover {
    background: rgba(255, 255, 255, 0.022);
  }
}

@media (max-width: 370px) {
  body.is-detail-view .domain-metric-overview-item > summary {
    grid-template-columns: 88px minmax(0, 1fr) 42px 12px !important;
  }

  body.is-detail-view .domain-metric-overview-explanation {
    padding-inline: 11px;
  }
}

/* Overall grade UI v1: use the same restrained grade box language as metric rows. */
body.is-detail-view .domain-score {
  box-sizing: border-box;
  width: 50px;
  min-width: 50px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .domain-score span {
  order: -1;
  width: 100%;
  color: var(--product-reading-muted);
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

body.is-detail-view .domain-score strong.metric-grade-value {
  box-sizing: border-box;
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  height: 25px;
  min-height: 25px;
  max-height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1px solid var(--grade-border) !important;
  border-radius: 5px;
  background: var(--grade-bg) !important;
  color: var(--grade-ink) !important;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  text-shadow: none;
}

body.is-detail-view .domain-title-row > div:first-child {
  min-height: 50px;
}

body.is-detail-view .annual-detail-head {
  grid-template-columns: 40px minmax(0, 1fr) 50px;
  gap: 10px;
}

/* Share label v1: icon and plain text, without boxed button chrome. */
body.is-report-view .report-appbar,
body.is-detail-view .report-appbar {
  grid-template-columns: 104px minmax(0, 1fr) 104px;
}

body.is-report-view .share-button,
body.is-detail-view .share-button {
  width: auto;
  min-width: 64px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b8b8b8;
  box-shadow: none;
}

body.is-report-view .share-button svg,
body.is-detail-view .share-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

body.is-report-view .share-button-label,
body.is-detail-view .share-button-label {
  color: inherit;
  font-size: 12.5px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
}

body.is-report-view .share-button:hover,
body.is-report-view .share-button:focus-visible,
body.is-detail-view .share-button:hover,
body.is-detail-view .share-button:focus-visible {
  border: 0;
  background: transparent;
  color: var(--product-gold-bright);
  outline: 0;
  box-shadow: none;
}

@media (max-width: 370px) {
  body.is-report-view .report-appbar,
  body.is-detail-view .report-appbar {
    grid-template-columns: 100px minmax(0, 1fr) 100px;
  }

  body.is-report-view .share-button-label,
  body.is-detail-view .share-button-label {
    font-size: 12px;
  }
}

/* Share choice sheet v1: page link and saved analysis are explicit actions. */
body.is-share-sheet-open {
  overflow: hidden;
}

.share-sheet[hidden] {
  display: none;
}

.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
}

.share-sheet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 7, 13, 0.68);
  opacity: 0;
  transition: opacity 180ms ease;
}

.share-sheet-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(227, 170, 102, 0.22);
  border-radius: 14px;
  background: #071725;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.48);
  color: #f3eee5;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.share-sheet.is-open .share-sheet-backdrop {
  opacity: 1;
}

.share-sheet.is-open .share-sheet-panel {
  opacity: 1;
  transform: translateY(0);
}

.share-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 8px 9px 6px 17px;
  border-bottom: 1px solid rgba(227, 170, 102, 0.12);
}

.share-sheet-header h2 {
  margin: 0;
  color: #f0d1a8;
  font-size: 17px;
  font-weight: 760;
  line-height: 1.25;
}

.share-sheet-close {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(243, 238, 229, 0.66);
}

.share-sheet-close svg,
.share-sheet-option svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-sheet-close svg {
  width: 19px;
  height: 19px;
}

.share-sheet-actions {
  display: grid;
  gap: 8px;
  padding: 11px;
}

.share-sheet-option {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 72px;
  padding: 12px 12px;
  border: 1px solid rgba(227, 170, 102, 0.15);
  border-radius: 8px;
  background: #0a1c2b;
  color: #e3aa66;
  text-align: left;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease;
}

.share-sheet-option:hover,
.share-sheet-option:focus-visible {
  border-color: rgba(227, 170, 102, 0.42);
  background: #0d2233;
  outline: 0;
}

.share-sheet-option:active {
  transform: translateY(1px);
}

.share-sheet-option:disabled {
  cursor: wait;
  opacity: 0.52;
}

.share-sheet-option-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(227, 170, 102, 0.24);
  border-radius: 50%;
  background: rgba(227, 170, 102, 0.045);
}

.share-sheet-option-icon svg {
  width: 21px;
  height: 21px;
}

.share-sheet-option-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.share-sheet-option-copy strong {
  color: #f0d1a8;
  font-size: 15px;
  font-weight: 740;
  line-height: 1.25;
}

.share-sheet-option-copy small {
  color: #aeb6be;
  font-size: 12.5px;
  font-weight: 520;
  line-height: 1.4;
}

.share-sheet-chevron {
  width: 17px;
  height: 17px;
  color: rgba(227, 170, 102, 0.54);
}

@media (min-width: 700px) {
  .share-sheet {
    align-items: center;
  }
}

/* Result content hub v1: unified analysis menu and expandable topic board. */
body.is-report-view .report-analysis-menu .report-dashboard-head {
  margin-bottom: 9px;
}

body.is-report-view .report-analysis-menu .report-primary-menu-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

body.is-report-view .report-analysis-menu .report-primary-menu-more {
  margin-top: 7px;
  padding-top: 0;
  border-top: 0;
}

body.is-report-view .report-analysis-menu .report-primary-menu-more-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
  min-height: 72px;
  grid-template-rows: 36px auto;
}

body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
  width: 36px;
  height: 36px;
  padding: 4px !important;
}

body.is-report-view .report-analysis-menu-toggle {
  display: flex;
  width: 100%;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  padding: 8px 6px 6px;
  border: 0;
  border-top: 1px solid rgba(227, 170, 102, 0.14);
  border-radius: 0;
  background: transparent;
  color: var(--report-reference-gold);
  font-size: 11.5px;
  font-weight: 680;
  box-shadow: none;
}

body.is-report-view .report-analysis-menu-toggle:hover,
body.is-report-view .report-analysis-menu-toggle:focus-visible {
  border-color: rgba(227, 170, 102, 0.24);
  background: rgba(227, 170, 102, 0.025);
  color: var(--report-reference-gold-bright);
  outline: 0;
  box-shadow: none;
}

body.is-report-view .report-analysis-menu-toggle i,
body.is-report-view .report-content-head > button i,
body.is-report-view .report-content-row > i,
body.is-report-view .report-content-feature > i,
body.is-detail-view .report-content-related-button > i {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

body.is-report-view .report-analysis-menu.is-expanded .report-analysis-menu-toggle i,
body.is-report-view .report-content-board.is-expanded .report-content-head > button i {
  transform: rotate(225deg);
}

body.is-report-view .report-content-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(227, 170, 102, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(227, 170, 102, 0.045), transparent 42%),
    linear-gradient(145deg, #082234, #041522);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 8px 20px rgba(0, 0, 0, 0.18);
}

body.is-report-view .report-content-board::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #e3aa66, rgba(227, 170, 102, 0.1));
  content: "";
}

body.is-report-view .report-content-head {
  display: flex;
  min-height: 68px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px 11px;
  border-bottom: 1px solid rgba(227, 170, 102, 0.1);
}

body.is-report-view .report-content-head > span {
  display: grid;
  min-width: 0;
}

body.is-report-view .report-content-head > span > small {
  color: #e3aa66;
  font-size: 10px;
  font-weight: 760;
  line-height: 1.2;
}

body.is-report-view .report-content-head > span > strong {
  margin-top: 4px;
  color: #f4efe7;
  font-family: var(--font-display, "Noto Serif KR", "Batang", serif);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.3;
}

body.is-report-view .report-content-head > span > p {
  margin: 4px 0 0;
  color: #9eaab0;
  font-size: 11px;
  font-weight: 520;
  line-height: 1.4;
}

body.is-report-view .report-content-head > button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  padding: 4px 1px 4px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e3aa66;
  font-size: 11px;
  font-weight: 680;
  box-shadow: none;
}

body.is-report-view .report-content-head > button:hover,
body.is-report-view .report-content-head > button:focus-visible {
  border: 0;
  background: transparent;
  color: var(--report-reference-gold-bright);
  outline: 0;
  box-shadow: none;
}

body.is-report-view .report-content-head > button i {
  transform: rotate(-45deg);
}

body.is-report-view .report-content-feature {
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: 46px minmax(0, 1fr) 9px;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid rgba(132, 160, 174, 0.13);
  border-radius: 0;
  background: rgba(11, 42, 58, 0.48);
  color: #e3aa66;
  text-align: left;
  box-shadow: none;
}

body.is-report-view .report-content-feature:hover,
body.is-report-view .report-content-feature:focus-visible,
body.is-report-view .report-content-row:hover,
body.is-report-view .report-content-row:focus-visible {
  background: rgba(19, 51, 67, 0.66);
  outline: 0;
  box-shadow: inset 3px 0 0 rgba(227, 170, 102, 0.58);
}

body.is-report-view .report-content-topic-icon.has-report-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 6px !important;
  border: 1px solid rgba(227, 170, 102, 0.38) !important;
  border-radius: 7px !important;
  background: rgba(227, 170, 102, 0.045) !important;
  color: #e3aa66;
}

body.is-report-view .report-content-topic-icon.has-report-icon .report-category-icon {
  opacity: 1;
}

body.is-report-view .report-content-feature-copy {
  display: grid;
  min-width: 0;
}

body.is-report-view .report-content-feature-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.is-report-view .report-content-new-badge {
  display: inline-grid;
  min-width: 30px;
  height: 17px;
  place-items: center;
  padding: 0 5px;
  border-radius: 4px;
  background: #e3aa66;
  color: #071725;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

body.is-report-view .report-content-feature-copy small {
  color: #e3aa66;
  font-size: 9px;
  font-weight: 780;
  line-height: 1.2;
}

body.is-report-view .report-content-feature-copy strong {
  margin-top: 4px;
  color: #f5f0e8;
  font-family: var(--font-display, "Noto Serif KR", "Batang", serif);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
  word-break: keep-all;
}

body.is-report-view .report-content-feature-copy p {
  margin: 4px 0 0;
  color: #9caab1;
  font-size: 10.5px;
  font-weight: 520;
  line-height: 1.4;
}

body.is-report-view .report-content-feature > i,
body.is-report-view .report-content-row > i {
  transform: rotate(-45deg);
}

body.is-report-view .report-content-list,
body.is-report-view .report-content-more {
  display: grid;
}

body.is-report-view .report-content-more[hidden] {
  display: none;
}

body.is-report-view .report-content-row {
  display: grid;
  width: 100%;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) auto 9px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(132, 160, 174, 0.1);
  border-radius: 0;
  background: transparent;
  color: #e3aa66;
  text-align: left;
  box-shadow: none;
}

body.is-report-view .report-content-row:last-child {
  border-bottom: 0;
}

body.is-report-view .report-content-row-copy {
  min-width: 0;
}

body.is-report-view .report-content-row-copy strong {
  display: block;
  overflow: hidden;
  color: #e4e7e6;
  font-size: 12.5px;
  font-weight: 670;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-report-view .report-content-row > small {
  color: #788d97;
  font-size: 9px;
  font-weight: 620;
}

body.is-detail-view .report-content-topic-detail {
  display: grid;
  gap: 12px;
  color: #f2eee6;
}

body.is-detail-view .report-content-topic-hero,
body.is-detail-view .report-content-personal-result,
body.is-detail-view .report-content-topic-metrics,
body.is-detail-view .report-content-related-button {
  border: 1px solid rgba(227, 170, 102, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 10%, rgba(71, 126, 160, 0.1), transparent 34%),
    linear-gradient(145deg, #082335, #051724);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.16);
}

body.is-detail-view .report-content-topic-hero {
  padding: 22px 18px 21px;
}

body.is-detail-view .report-content-topic-hero > span {
  color: #e3aa66;
  font-size: 11px;
  font-weight: 760;
}

body.is-detail-view .report-content-topic-hero h2 {
  margin: 8px 0 0;
  color: #f4efe7;
  font-family: var(--font-display, "Noto Serif KR", "Batang", serif);
  font-size: 25px;
  font-weight: 760;
  line-height: 1.35;
  word-break: keep-all;
}

body.is-detail-view .report-content-topic-hero p {
  margin: 10px 0 0;
  color: #b7c0c4;
  font-size: 14px;
  font-weight: 520;
  line-height: 1.65;
}

body.is-detail-view .report-content-personal-result {
  overflow: hidden;
}

body.is-detail-view .report-content-personal-result > header {
  padding: 18px 17px 17px;
  border-bottom: 1px solid rgba(227, 170, 102, 0.14);
  background:
    linear-gradient(135deg, rgba(227, 170, 102, 0.07), transparent 54%),
    rgba(5, 24, 37, 0.58);
}

body.is-detail-view .report-content-personal-result > header > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.is-detail-view .report-content-personal-result > header small {
  color: #9caab0;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
}

body.is-detail-view .report-content-personal-result > header b {
  color: #e3aa66;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.25;
}

body.is-detail-view .report-content-personal-result h3 {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  word-break: keep-all;
}

body.is-detail-view .report-content-personal-result h3 > span {
  color: #d7dcdb;
  font-size: 15px;
  font-weight: 610;
  line-height: 1.5;
}

body.is-detail-view .report-content-personal-result h3 > strong {
  color: #f0c07e;
  font-family: var(--font-display, "Noto Serif KR", "Batang", serif);
  font-size: 26px;
  font-weight: 790;
  line-height: 1.3;
}

body.is-detail-view .report-content-personal-copy {
  display: grid;
  gap: 15px;
  padding: 18px 17px 20px;
}

body.is-detail-view .report-content-personal-copy p {
  margin: 0;
  color: #c5ccce;
  font-size: 14px;
  font-weight: 470;
  line-height: 1.78;
  word-break: keep-all;
}

body.is-detail-view .report-content-personal-copy p.has-edge-emphasis strong {
  color: inherit;
  font-weight: 760;
}

body.is-detail-view .report-content-topic-metrics {
  padding: 16px 15px;
}

body.is-detail-view .report-content-topic-metrics h3 {
  margin: 0 0 10px;
  color: #e8dfd1;
  font-size: 15px;
  font-weight: 730;
}

body.is-detail-view .report-content-topic-metrics > div {
  display: grid;
  gap: 8px;
}

body.is-detail-view .report-content-topic-metric {
  display: grid;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(133, 161, 176, 0.14);
  border-radius: 6px;
  background: rgba(4, 18, 29, 0.48);
  color: #7897aa;
}

body.is-detail-view .report-content-topic-metric header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.is-detail-view .report-content-topic-metric header strong {
  color: #e2e6e6;
  font-size: 13px;
  font-weight: 680;
}

body.is-detail-view .report-content-topic-metric header b {
  display: grid;
  width: 34px;
  height: 25px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 5px;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}

body.is-detail-view .report-content-topic-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(100, 128, 143, 0.25);
}

body.is-detail-view .report-content-topic-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}

body.is-detail-view .report-content-topic-metric.metric-grade-a-plus,
body.is-detail-view .report-content-topic-metric.metric-grade-a,
body.is-detail-view .report-content-topic-metric.metric-grade-a-minus,
body.is-detail-view .report-content-topic-metric.metric-grade-b-plus {
  color: #71b4df;
}

body.is-detail-view .report-content-topic-metric.metric-grade-b,
body.is-detail-view .report-content-topic-metric.metric-grade-b-minus {
  color: #6899b2;
}

body.is-detail-view .report-content-topic-metric.metric-grade-c-plus,
body.is-detail-view .report-content-topic-metric.metric-grade-c,
body.is-detail-view .report-content-topic-metric.metric-grade-c-minus {
  color: #b69a73;
}

body.is-detail-view .report-content-topic-metric.metric-grade-d-plus,
body.is-detail-view .report-content-topic-metric.metric-grade-d,
body.is-detail-view .report-content-topic-metric.metric-grade-d-minus {
  color: #c4845f;
}

body.is-detail-view .report-content-related-button {
  display: grid;
  width: 100%;
  min-height: 70px;
  grid-template-columns: minmax(0, 1fr) 10px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  color: #e3aa66;
  text-align: left;
}

body.is-detail-view .report-content-related-button > span {
  display: grid;
  gap: 4px;
}

body.is-detail-view .report-content-related-button small {
  color: #8f9fa7;
  font-size: 10px;
  font-weight: 620;
}

body.is-detail-view .report-content-related-button strong {
  color: #efdfc6;
  font-size: 14px;
  font-weight: 710;
}

body.is-detail-view .report-content-related-button > i {
  transform: rotate(-45deg);
}

@media (max-width: 370px) {
  body.is-report-view .report-analysis-menu .report-primary-menu-grid {
    gap: 5px;
  }

  body.is-report-view .report-content-head {
    padding-inline: 12px;
  }

  body.is-report-view .report-content-head > span > strong {
    font-size: 17px;
  }

  body.is-report-view .report-content-feature {
    grid-template-columns: 42px minmax(0, 1fr) 8px;
    gap: 9px;
    padding-inline: 12px;
  }

  body.is-report-view .report-content-topic-icon.has-report-icon {
    width: 40px;
    height: 40px;
  }

  body.is-report-view .report-content-feature-copy strong {
    font-size: 14px;
  }
}

/* Lightweight result and personality detail v1. */
body.is-report-view .report-appbar,
body.is-detail-view .report-appbar {
  margin-bottom: 8px;
}

body.is-report-view .back-button span,
body.is-detail-view .back-button span,
body.is-report-view .share-button-label,
body.is-detail-view .share-button-label {
  font-size: 14px;
  font-weight: 650;
}

body.is-report-view .back-button svg,
body.is-detail-view .back-button svg,
body.is-report-view .share-button svg,
body.is-detail-view .share-button svg {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

body.is-report-view .report-root {
  gap: 20px;
  padding-top: 0;
}

body.is-report-view .report-personality-dashboard {
  display: grid;
  min-height: 88px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 4px 12px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(128, 157, 181, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-report-view .report-personality-copy {
  display: grid;
  gap: 7px;
}

body.is-report-view .report-personality-type-label {
  color: #e3aa66;
  font-size: 11.5px;
  font-weight: 720;
  line-height: 1.2;
}

body.is-report-view .report-personality-copy h2 {
  max-width: none;
  color: #f5f3ef;
  font-family: var(--font-sans);
  font-size: 25px;
  font-weight: 780;
  line-height: 1.3;
}

body.is-report-view .report-personality-detail-link {
  display: inline-flex;
  min-width: 68px;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px 2px 4px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(245, 243, 239, 0.88);
  font-size: 12px;
  font-weight: 650;
  box-shadow: none;
}

body.is-report-view .report-personality-detail-link i,
body.is-report-view .daily-fortune-detail-link i,
body.is-detail-view .personality-related-content button > i {
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

body.is-report-view .report-personality-detail-link:hover,
body.is-report-view .report-personality-detail-link:focus-visible {
  background: transparent;
  color: #e3aa66;
  box-shadow: none;
}

body.is-report-view .daily-fortune-board {
  overflow: hidden;
  border: 1px solid rgba(111, 151, 192, 0.34);
  border-radius: 7px;
  background:
    radial-gradient(circle at 78% 30%, rgba(82, 132, 188, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(10, 31, 59, 0.96), rgba(5, 20, 42, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(0, 0, 0, 0.2);
}

body.is-report-view .daily-fortune-panel {
  display: grid;
}

body.is-report-view .daily-fortune-head {
  min-height: 70px;
  margin: 0;
  padding: 15px 17px 9px;
}

body.is-report-view .daily-fortune-head > span:first-child {
  display: grid;
  gap: 5px;
}

body.is-report-view .daily-fortune-head strong {
  color: #f4f3f0;
  font-size: 20px;
  font-weight: 760;
}

body.is-report-view .daily-fortune-head small {
  color: rgba(212, 219, 228, 0.72);
  font-size: 11px;
  font-weight: 500;
}

body.is-report-view .daily-fortune-calendar {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: rgba(229, 235, 240, 0.9);
}

body.is-report-view .daily-fortune-calendar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

body.is-report-view .daily-fortune-summary {
  min-height: 264px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 160px minmax(0, 1fr);
  gap: 0;
  padding: 0 17px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-report-view .daily-fortune-gauge-card {
  min-height: 160px;
  padding: 0 0 13px;
  border-right: 0;
  border-bottom: 1px solid rgba(129, 157, 182, 0.16);
}

body.is-report-view .daily-fortune-gauge-card > small {
  color: rgba(235, 238, 242, 0.88);
  font-size: 11px;
  font-weight: 660;
}

body.is-report-view .daily-fortune-arc {
  width: min(100%, 190px);
  margin-top: 4px;
}

body.is-report-view .daily-fortune-arc-track,
body.is-report-view .daily-fortune-arc-value {
  stroke-linecap: round;
  stroke-width: 9;
}

body.is-report-view .daily-fortune-arc-track {
  stroke: rgba(72, 102, 143, 0.34);
}

body.is-report-view .daily-fortune-arc > span {
  bottom: 7px;
}

body.is-report-view .daily-fortune-arc > span strong {
  font-size: 44px;
  font-weight: 780;
}

body.is-report-view .daily-fortune-arc > span small {
  margin-top: 1px;
  color: rgba(188, 198, 215, 0.66);
  font-size: 11px;
  font-weight: 560;
}

body.is-report-view .daily-fortune-status {
  display: inline-grid;
  min-width: 62px;
  height: 25px;
  place-items: center;
  margin-top: -1px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--daily-status-color) 64%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--daily-status-color) 18%, transparent);
  color: color-mix(in srgb, var(--daily-status-color) 48%, white);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
}

body.is-report-view .daily-fortune-bars {
  align-content: center;
  gap: 9px;
  padding: 13px 0 0;
}

body.is-report-view .daily-fortune-bar-row {
  grid-template-columns: 25px 70px minmax(0, 1fr) 27px;
  gap: 7px;
  min-height: 24px;
}

body.is-report-view .daily-fortune-bar-row > .daily-fortune-preview-label {
  color: rgba(241, 240, 236, 0.9);
  font-size: 11px;
  font-weight: 600;
}

body.is-report-view .daily-fortune-preview-icon.has-report-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #e3aa66 !important;
}

body.is-report-view .daily-fortune-preview-icon.has-report-icon img,
body.is-report-view .daily-fortune-preview-icon.has-report-icon svg {
  width: 100%;
  height: 100%;
}

body.is-report-view .daily-fortune-bar-row .metric-bar {
  height: 8px;
  border: 0;
  background: rgba(51, 73, 104, 0.48);
}

body.is-report-view .daily-fortune-bar-row > b {
  font-size: 12px;
  font-weight: 780;
}

body.is-report-view .daily-fortune-detail-link {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  border: 0;
  border-top: 1px solid rgba(123, 154, 184, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.012);
  color: rgba(244, 241, 235, 0.9);
  font-size: 13px;
  font-weight: 650;
  box-shadow: none;
}

body.is-report-view .daily-fortune-detail-link:hover,
body.is-report-view .daily-fortune-detail-link:focus-visible {
  background: rgba(116, 159, 204, 0.06);
  color: #fff;
  box-shadow: none;
}

body.is-report-view .report-analysis-menu .report-dashboard-head {
  margin-bottom: 10px;
  padding-inline: 2px;
}

body.is-report-view .report-analysis-menu .report-dashboard-head h3,
body.is-report-view .report-content-head h3 {
  margin: 0;
  color: #f3f1ed;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.3;
}

body.is-report-view .report-analysis-menu .report-analysis-menu-toggle {
  display: inline-flex;
  width: auto;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 2px 4px 8px;
  border: 0;
  background: transparent;
  color: #e3aa66;
  font-size: 12px;
  font-weight: 660;
}

body.is-report-view .report-analysis-menu .report-primary-menu-grid,
body.is-report-view .report-analysis-menu .report-primary-menu-more-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.is-report-view .report-primary-menu-card,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
  min-height: 76px;
  grid-template-rows: 35px auto;
  gap: 5px;
  padding: 7px 3px 6px;
  border-color: rgba(102, 137, 177, 0.3);
  border-radius: 7px;
  background:
    linear-gradient(155deg, rgba(12, 37, 67, 0.92), rgba(6, 25, 49, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body.is-report-view .report-primary-menu-card > span.has-report-icon,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
  width: 35px;
  height: 35px;
  padding: 4px !important;
  border-color: rgba(227, 170, 102, 0.44) !important;
  background: transparent !important;
}

body.is-report-view .report-primary-menu-card strong {
  font-size: 11.5px;
  font-weight: 680;
}

body.is-report-view .report-analysis-menu .report-primary-menu-more {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

body.is-report-view .report-content-board {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-report-view .report-content-board::before {
  display: none;
}

body.is-report-view .report-content-head {
  min-height: auto;
  margin: 0 0 9px;
  padding: 0 2px;
  border: 0;
}

body.is-report-view .report-content-feature {
  min-height: 92px;
  grid-template-columns: 44px minmax(0, 1fr) 10px;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid rgba(105, 145, 187, 0.32);
  border-radius: 7px;
  background:
    radial-gradient(circle at 83% 48%, rgba(80, 127, 181, 0.11), transparent 38%),
    linear-gradient(150deg, rgba(11, 35, 64, 0.94), rgba(6, 24, 47, 0.98));
}

body.is-report-view .report-content-topic-icon.has-report-icon {
  width: 42px;
  height: 42px;
  padding: 6px !important;
  border-color: rgba(227, 170, 102, 0.48) !important;
  background: transparent !important;
}

body.is-report-view .report-content-feature-meta {
  gap: 8px;
}

body.is-report-view .report-content-feature-copy small {
  font-size: 10px;
}

body.is-report-view .report-content-feature-copy strong {
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 740;
}

body.is-detail-view .detail-root .domain-detail-head.personality-domain-detail {
  display: grid;
  gap: 0;
  padding: 9px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .detail-root .domain-detail-head.personality-domain-detail::before {
  display: none;
}

body.is-detail-view .personality-domain-intro {
  display: grid;
  min-height: 132px;
  grid-template-columns: minmax(0, 1fr) 62px;
  align-items: start;
  gap: 18px;
  padding: 8px 2px 22px;
  border-bottom: 1px solid rgba(129, 158, 183, 0.17);
}

body.is-detail-view .personality-domain-intro > div:first-child {
  min-width: 0;
}

body.is-detail-view .personality-domain-intro > div:first-child > span {
  color: #e3aa66;
  font-size: 12px;
  font-weight: 720;
}

body.is-detail-view .personality-domain-intro h2 {
  margin: 8px 0 0;
  color: #f6f3ed;
  font-family: var(--font-sans);
  font-size: 27px;
  font-weight: 790;
  line-height: 1.28;
  word-break: keep-all;
}

body.is-detail-view .personality-domain-intro p {
  margin: 9px 0 0;
  color: rgba(225, 226, 225, 0.72);
  font-size: 12.5px;
  font-weight: 480;
  line-height: 1.55;
  word-break: keep-all;
}

body.is-detail-view .personality-domain-intro .domain-score {
  width: 62px;
  min-width: 62px;
  min-height: 82px;
  gap: 8px;
}

body.is-detail-view .personality-domain-intro .domain-score span {
  color: rgba(229, 228, 224, 0.72);
  font-size: 10px;
}

body.is-detail-view .personality-domain-intro .domain-score strong.metric-grade-value {
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  border-radius: 50%;
  border-color: rgba(128, 181, 232, 0.66) !important;
  background: rgba(52, 96, 146, 0.2) !important;
  color: #f4f8fc !important;
  font-size: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(84, 142, 203, 0.08);
}

body.is-detail-view .personality-radar-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 4px;
}

body.is-detail-view .personality-radar-heading::after {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 170, 102, 0.42), transparent);
  content: "";
}

body.is-detail-view .personality-radar-heading h3 {
  margin: 0;
  color: rgba(244, 241, 234, 0.9);
  font-size: 17px;
  font-weight: 720;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar {
  position: relative;
  width: min(100%, 390px);
  height: 300px;
  margin: 0 auto 10px;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
  display: block;
  width: 100%;
  height: 300px;
  overflow: visible;
}

body.is-detail-view .personality-domain-detail .report-radar-grid polygon,
body.is-detail-view .personality-domain-detail .report-radar-grid line {
  fill: rgba(40, 80, 121, 0.08);
  stroke: rgba(127, 151, 174, 0.35);
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}

body.is-detail-view .personality-domain-detail .report-radar-area {
  fill: rgba(91, 151, 211, 0.32);
}

body.is-detail-view .personality-domain-detail .report-radar-stroke {
  fill: none;
  stroke: #8cc5ef;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

body.is-detail-view .personality-domain-detail .report-radar-point {
  fill: #9dd2f4;
  stroke: none;
}

body.is-detail-view .personality-domain-detail .report-radar-label {
  fill: #f1efea;
  font-family: var(--font-sans);
  font-size: 9.2px;
  font-weight: 700;
}

body.is-detail-view .personality-domain-detail .report-radar-caption.is-axis-1 .report-radar-label,
body.is-detail-view .personality-domain-detail .report-radar-caption.is-axis-2 .report-radar-label {
  transform: none;
}

body.is-detail-view .personality-domain-detail .report-radar-caption.is-axis-4 .report-radar-label,
body.is-detail-view .personality-domain-detail .report-radar-caption.is-axis-5 .report-radar-label {
  transform: none;
}

body.is-detail-view .personality-domain-detail .report-radar-grade {
  fill: #fff;
  font-family: var(--font-sans);
  font-size: 9.6px;
  font-weight: 850;
}

body.is-detail-view .personality-domain-detail .report-radar-grade-bg {
  fill: var(--grade-start, #687583);
  stroke: none;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview {
  gap: 0;
  margin-top: 8px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head {
  min-height: 54px;
  align-items: center;
  padding: 0 2px 8px;
  border-bottom: 1px solid rgba(129, 158, 183, 0.17);
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head strong {
  color: #f2f0eb;
  font-size: 18px;
  font-weight: 750;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head span {
  display: inline;
  color: rgba(222, 223, 221, 0.66);
  font-size: 11px;
  font-weight: 560;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-item {
  border-bottom-color: rgba(129, 158, 183, 0.14);
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-item > summary,
body.is-detail-view .personality-domain-detail .domain-metric-overview-row,
body.is-detail-view .personality-domain-detail .domain-metric-overview-row.is-long-label {
  min-height: 58px;
  grid-template-columns: 112px minmax(0, 1fr) 46px 13px !important;
  gap: 8px;
  padding: 8px 2px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > span {
  color: rgba(243, 241, 237, 0.9);
  font-size: 13px;
  font-weight: 620;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row .metric-level-badge {
  width: 42px;
  min-width: 42px;
  height: 29px;
  min-height: 29px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation {
  padding: 14px 15px 17px;
  border-top: 0;
  border-bottom: 1px solid rgba(129, 158, 183, 0.13);
  background: rgba(65, 105, 151, 0.09);
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p {
  color: rgba(229, 229, 226, 0.78);
  font-size: 12.5px;
  line-height: 1.72;
}

body.is-detail-view .domain-metric-overview-rest {
  border-bottom: 1px solid rgba(129, 158, 183, 0.14);
}

body.is-detail-view .domain-metric-overview-rest > summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: rgba(240, 238, 232, 0.83);
  font-size: 12.5px;
  font-weight: 620;
  list-style: none;
  cursor: pointer;
}

body.is-detail-view .domain-metric-overview-rest > summary::-webkit-details-marker {
  display: none;
}

body.is-detail-view .domain-metric-overview-rest > summary i {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 160ms ease;
}

body.is-detail-view .domain-metric-overview-rest[open] > summary i {
  transform: rotate(225deg) translate(-2px, -2px);
}

body.is-detail-view .domain-metric-overview-rest > div {
  border-top: 1px solid rgba(129, 158, 183, 0.12);
}

body.is-detail-view .personality-related-content {
  display: grid;
  gap: 8px;
  margin-top: 27px;
  padding-top: 2px;
}

body.is-detail-view .personality-related-content h3 {
  margin: 0;
  color: #f1efeb;
  font-size: 16px;
  font-weight: 720;
}

body.is-detail-view .personality-related-content button {
  display: grid;
  min-height: 65px;
  grid-template-columns: 42px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 1px;
  border: 0;
  border-top: 1px solid rgba(129, 158, 183, 0.14);
  border-bottom: 1px solid rgba(129, 158, 183, 0.14);
  border-radius: 0;
  background: transparent;
  color: rgba(244, 241, 235, 0.9);
  text-align: left;
  box-shadow: none;
}

body.is-detail-view .personality-related-content button em {
  display: inline-grid;
  width: 38px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(227, 170, 102, 0.72);
  border-radius: 5px;
  color: #e3aa66;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
}

body.is-detail-view .personality-related-content button span {
  color: rgba(245, 242, 236, 0.92);
  font-size: 14px;
  font-weight: 630;
}

body.is-detail-view .personality-related-content button > i {
  justify-self: end;
  color: #e3aa66;
}

@media (max-width: 370px) {
  body.is-report-view .report-root {
    gap: 19px;
  }

  body.is-report-view .report-personality-dashboard {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 94px;
    padding-inline: 2px;
  }

  body.is-report-view .report-personality-copy h2 {
    font-size: 22px;
  }

  body.is-report-view .daily-fortune-head {
    padding-inline: 14px;
  }

  body.is-report-view .daily-fortune-summary {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 154px minmax(0, 1fr);
    gap: 0;
    padding-inline: 14px;
  }

  body.is-report-view .daily-fortune-gauge-card {
    padding-right: 0;
  }

  body.is-report-view .daily-fortune-arc > span strong {
    font-size: 39px;
  }

  body.is-report-view .daily-fortune-bar-row {
    grid-template-columns: 23px 64px minmax(0, 1fr) 24px;
    gap: 5px;
  }

  body.is-report-view .report-primary-menu-card,
  body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
    min-height: 72px;
    grid-template-rows: 33px auto;
  }

  body.is-report-view .report-primary-menu-card > span.has-report-icon,
  body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
    width: 33px;
    height: 33px;
  }

  body.is-report-view .report-primary-menu-card strong {
    font-size: 10.5px;
  }

  body.is-detail-view .personality-domain-intro h2 {
    font-size: 24px;
  }

  body.is-detail-view .personality-domain-detail > .report-personality-radar,
  body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
    height: 284px;
  }

  body.is-detail-view .personality-domain-detail .domain-metric-overview-item > summary,
  body.is-detail-view .personality-domain-detail .domain-metric-overview-row,
  body.is-detail-view .personality-domain-detail .domain-metric-overview-row.is-long-label {
    grid-template-columns: 96px minmax(0, 1fr) 43px 12px !important;
    gap: 5px;
  }
}

/* Reference fidelity v8c: resolve named-grid collisions and tune final scale. */
body.is-report-view .report-primary-menu-card,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
  grid-template-rows: 38px auto;
  gap: 1px;
  padding-block: 3px;
}

body.is-report-view .report-primary-menu-card > span.has-report-icon,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
  width: 38px;
  height: 38px;
}

body.is-report-view .report-primary-menu-card strong {
  font-size: 12.5px;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar,
body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
  height: 228px;
}

body.is-detail-view .personality-domain-detail .report-radar-label {
  font-size: 9.8px;
}

body.is-detail-view .personality-domain-detail .report-radar-grade {
  font-size: 9.6px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .domain-metric-overview-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > span:not(.domain-metric-overview-icon) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .domain-metric-overview-bar {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .metric-level-badge {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 27px !important;
  min-height: 27px !important;
  grid-column: 4 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .domain-metric-overview-chevron {
  grid-column: 5 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation {
  padding-block: 6px 7px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p {
  font-size: 10.8px;
  line-height: 1.4;
}

body.is-detail-view .personality-related-content {
  margin-top: 8px;
}

body.is-detail-view .personality-related-content button {
  min-height: 44px;
}

@media (max-width: 380px) {
  body.is-detail-view .personality-domain-detail > .report-personality-radar,
  body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
    height: 216px;
  }
}

/* Topic detail unification v16: carry the personality-detail rhythm across every subject. */
body.is-detail-view .detail-root .domain-detail-head.topic-domain-detail,
body.is-detail-view .detail-root .domain-detail-head.topic-domain-detail.metric-great,
body.is-detail-view .detail-root .domain-detail-head.topic-domain-detail.metric-good,
body.is-detail-view .detail-root .domain-detail-head.topic-domain-detail.metric-normal,
body.is-detail-view .detail-root .domain-detail-head.topic-domain-detail.metric-caution,
body.is-detail-view .detail-root .domain-detail-head.topic-domain-detail.metric-risk {
  margin: 0;
  padding: 9px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .topic-domain-detail::before {
  display: none;
}

body.is-detail-view .topic-domain-intro {
  display: grid;
  min-height: 100px;
  grid-template-columns: minmax(0, 1fr) 62px;
  align-items: center;
  gap: 16px;
  padding: 8px 2px 10px;
}

body.is-detail-view .topic-domain-intro > div:first-child {
  min-width: 0;
}

body.is-detail-view .topic-domain-intro > div:first-child > span {
  color: var(--product-gold-bright);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

body.is-detail-view .topic-domain-intro h2 {
  margin: 7px 0 0;
  color: var(--product-text);
  font-size: 26px;
  font-weight: 780;
  line-height: 1.22;
  letter-spacing: 0;
}

body.is-detail-view .topic-domain-radar-heading {
  display: flex;
  min-height: 29px;
  align-items: center;
  margin: 12px 0 1px;
}

body.is-detail-view .topic-domain-radar-heading h3 {
  margin: 0;
  color: var(--product-text);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.3;
}

body.is-detail-view .topic-domain-detail > .domain-topic-radar,
body.is-detail-view .topic-domain-detail > .domain-topic-radar svg {
  height: 228px;
}

body.is-detail-view .topic-domain-detail > .domain-topic-radar {
  width: min(100%, 382px);
  margin: 8px auto 2px;
}

body.is-detail-view .topic-domain-detail > .domain-topic-radar svg {
  transform: none;
}

body.is-detail-view .topic-domain-detail .report-radar-grid polygon,
body.is-detail-view .topic-domain-detail .report-radar-grid line {
  stroke: rgba(133, 156, 180, 0.32);
}

body.is-detail-view .topic-domain-detail .report-radar-area {
  fill: rgba(91, 151, 211, 0.28);
}

body.is-detail-view .topic-domain-detail .report-radar-stroke {
  stroke: #83bce9;
  stroke-width: 1.1;
}

body.is-detail-view .topic-domain-detail .report-radar-point {
  fill: #93c8ee;
  r: 2.4px;
}

body.is-detail-view .topic-domain-detail .report-radar-label {
  fill: rgba(244, 242, 238, 0.94);
  font-size: 9.6px;
  font-weight: 680;
}

body.is-detail-view .topic-domain-detail .report-radar-grade {
  fill: #fff;
  font-size: 9.6px;
  font-weight: 800;
}

body.is-detail-view .topic-domain-detail .report-radar-grade-bg {
  fill: color-mix(in srgb, var(--grade-start, #687583) 34%, #07172a);
  stroke: color-mix(in srgb, var(--grade-start, #687583) 72%, #9fb4c8);
  stroke-width: 0.65;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview {
  gap: 0;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-head {
  min-height: 30px;
  padding: 0 2px 3px;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-head strong {
  color: var(--product-text);
  font-size: 17px;
  font-weight: 760;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-head span {
  color: var(--product-reading-muted);
  font-size: 11px;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-item > summary,
body.is-detail-view .topic-domain-detail .domain-metric-overview-row,
body.is-detail-view .topic-domain-detail .domain-metric-overview-row.is-long-label {
  min-height: 42px;
  grid-template-columns: 32px 90px minmax(0, 1fr) 40px 11px !important;
  align-items: center;
  gap: 6px;
  padding: 5px 2px;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-row > .domain-metric-overview-icon {
  display: grid;
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  grid-column: 1 !important;
  grid-row: 1 !important;
  place-items: center;
  align-self: center;
  overflow: visible;
  border-radius: 50%;
  -webkit-line-clamp: unset;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-icon svg {
  width: 18px;
  height: 18px;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-row > span:not(.domain-metric-overview-icon) {
  display: block;
  width: auto;
  max-width: none;
  grid-column: 2 !important;
  grid-row: 1 !important;
  overflow: visible;
  color: rgba(243, 241, 237, 0.9);
  font-size: 12px;
  font-weight: 610;
  line-height: 1.22;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
  -webkit-line-clamp: unset;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-row > .domain-metric-overview-bar {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-row > .metric-level-badge {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  grid-column: 4 !important;
  grid-row: 1 !important;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-row > .domain-metric-overview-chevron {
  grid-column: 5 !important;
  grid-row: 1 !important;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-explanation {
  padding: 9px 12px 12px;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-explanation p {
  margin: 0;
  color: var(--product-reading-body);
  font-size: 11.5px;
  line-height: 1.72;
}

body.is-detail-view .topic-domain-detail .domain-metric-overview-explanation p + p {
  margin-top: 10px;
}

@media (max-width: 380px) {
  body.is-detail-view .topic-domain-detail > .domain-topic-radar,
  body.is-detail-view .topic-domain-detail > .domain-topic-radar svg {
    height: 216px;
  }

  body.is-detail-view .topic-domain-detail .domain-metric-overview-item > summary,
  body.is-detail-view .topic-domain-detail .domain-metric-overview-row,
  body.is-detail-view .topic-domain-detail .domain-metric-overview-row.is-long-label {
    grid-template-columns: 30px 82px minmax(0, 1fr) 38px 10px !important;
    gap: 5px;
  }
}

/* Reference fidelity v8e: optical, not structural, alignment. */
body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
  transform: translateY(-14px);
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head {
  min-height: 30px;
  padding-bottom: 3px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation {
  padding: 8px 12px 10px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p {
  font-size: 11.5px;
  line-height: 1.55;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p + p {
  margin-top: 4px;
}

body.is-detail-view .personality-related-content {
  gap: 3px;
  margin-top: 2px;
}

body.is-detail-view .personality-related-content h3 {
  font-size: 14px;
}

body.is-detail-view .personality-related-content button {
  min-height: 40px;
}

/*
 * Reference fidelity v8
 * Final cascade contract for the approved lightweight result and personality
 * screens. Keep this block last so older polish layers cannot restore the
 * crowded 14px shell, 300px radar, or text-only metric rows.
 */
body.is-report-view .screen-report,
body.is-detail-view .screen-detail {
  padding-inline: 22px;
}

body.is-report-view .report-appbar,
body.is-detail-view .report-appbar,
body.is-detail-view .report-appbar.light {
  width: auto;
  margin-inline: -22px;
  padding-inline: 22px;
  grid-template-columns: 112px minmax(0, 1fr) 112px;
}

body.is-detail-view .light-surface {
  width: calc(100% + 44px);
  max-width: calc(100% + 44px);
  margin-inline: -22px;
  padding-inline: 22px;
}

body.is-report-view .report-root {
  gap: 20px;
}

body.is-report-view .daily-fortune-head {
  min-height: 76px;
  padding: 17px 20px 10px;
}

body.is-report-view .daily-fortune-head strong {
  font-size: 21px;
}

body.is-report-view .daily-fortune-head small {
  font-size: 12px;
}

body.is-report-view .daily-fortune-summary {
  min-height: 300px;
  grid-template-rows: 183px minmax(0, 1fr);
  padding: 0 20px 14px;
}

body.is-report-view .daily-fortune-gauge-card {
  min-height: 183px;
  padding-bottom: 13px;
}

body.is-report-view .daily-fortune-arc {
  width: min(100%, 200px);
  margin-top: 2px;
}

body.is-report-view .daily-fortune-arc > span strong {
  font-size: 48px;
}

body.is-report-view .daily-fortune-bars {
  gap: 9px;
  padding-top: 13px;
}

body.is-report-view .daily-fortune-bar-row {
  min-height: 24px;
  grid-template-columns: 26px 76px minmax(0, 1fr) 27px;
  gap: 7px;
}

body.is-report-view .daily-fortune-detail-link {
  min-height: 48px;
}

body.is-report-view .report-analysis-menu .report-dashboard-head {
  min-height: 31px;
  margin-bottom: 8px;
}

body.is-report-view .report-primary-menu-card,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
  min-height: 70px;
  grid-template-rows: 34px auto;
  gap: 3px;
  padding-block: 5px;
}

body.is-report-view .report-primary-menu-card > span.has-report-icon,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
  width: 34px;
  height: 34px;
}

body.is-report-view .report-content-feature {
  min-height: 92px;
}

body.is-detail-view .detail-root {
  gap: 0;
}

body.is-detail-view .detail-root .domain-detail-head.personality-domain-detail {
  padding: 9px 0 2px;
}

body.is-detail-view .personality-domain-intro {
  min-height: 100px;
  gap: 16px;
  padding: 8px 2px 10px;
}

body.is-detail-view .personality-domain-intro h2 {
  margin-top: 7px;
  font-size: 26px;
  line-height: 1.22;
}

body.is-detail-view .personality-domain-intro p {
  overflow: hidden;
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-detail-view .personality-radar-heading {
  margin: 12px 0 1px;
}

body.is-detail-view .personality-radar-heading::after {
  display: none;
}

body.is-detail-view .personality-radar-heading h3 {
  font-size: 16px;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar,
body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
  height: 210px;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar {
  width: min(100%, 382px);
  margin-bottom: 2px;
}

body.is-detail-view .personality-domain-detail .report-radar-stroke {
  stroke-width: 1.1;
}

body.is-detail-view .personality-domain-detail .report-radar-point {
  r: 2.4px;
}

body.is-detail-view .personality-domain-detail .report-radar-label {
  font-size: 9px;
  font-weight: 680;
}

body.is-detail-view .personality-domain-detail .report-radar-grade {
  font-size: 9.3px;
  font-weight: 800;
}

body.is-detail-view .personality-domain-detail .report-radar-grade-bg {
  fill: color-mix(in srgb, var(--grade-start, #687583) 34%, #07172a);
  stroke: color-mix(in srgb, var(--grade-start, #687583) 72%, #9fb4c8);
  stroke-width: 0.65;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview {
  margin-top: 1px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head {
  min-height: 36px;
  padding: 0 2px 5px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head strong {
  font-size: 17px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head span {
  font-size: 11px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-item > summary,
body.is-detail-view .personality-domain-detail .domain-metric-overview-row,
body.is-detail-view .personality-domain-detail .domain-metric-overview-row.is-long-label {
  min-height: 40px;
  grid-template-columns: 32px 82px minmax(0, 1fr) 40px 11px !important;
  gap: 6px;
  padding: 4px 2px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .domain-metric-overview-icon {
  display: grid;
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  min-height: 30px;
  place-items: center;
  overflow: visible;
  border-radius: 50%;
  -webkit-line-clamp: unset;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-icon svg {
  width: 18px;
  height: 18px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > span:not(.domain-metric-overview-icon) {
  width: auto;
  max-width: none;
  color: rgba(243, 241, 237, 0.9);
  font-size: 12px;
  font-weight: 610;
  line-height: 1.2;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row .metric-level-badge {
  width: 38px;
  min-width: 38px;
  height: 27px;
  min-height: 27px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation {
  padding: 7px 12px 8px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p + p {
  margin-top: 3px;
}

body.is-detail-view .domain-metric-overview-rest > summary {
  min-height: 38px;
  font-size: 12px;
}

body.is-detail-view .personality-related-content {
  gap: 6px;
  margin-top: 10px;
}

body.is-detail-view .personality-related-content h3 {
  font-size: 15px;
}

body.is-detail-view .personality-related-content button {
  min-height: 48px;
}

@media (max-width: 380px) {
  body.is-report-view .screen-report,
  body.is-detail-view .screen-detail {
    padding-inline: 18px;
  }

  body.is-report-view .report-appbar,
  body.is-detail-view .report-appbar,
  body.is-detail-view .report-appbar.light {
    margin-inline: -18px;
    padding-inline: 18px;
    grid-template-columns: 104px minmax(0, 1fr) 104px;
  }

  body.is-detail-view .light-surface {
    width: calc(100% + 36px);
    max-width: calc(100% + 36px);
    margin-inline: -18px;
    padding-inline: 18px;
  }

  body.is-report-view .daily-fortune-head,
  body.is-report-view .daily-fortune-summary {
    padding-inline: 15px;
  }

  body.is-report-view .daily-fortune-bar-row {
    grid-template-columns: 24px 68px minmax(0, 1fr) 25px;
    gap: 5px;
  }

  body.is-detail-view .personality-domain-detail > .report-personality-radar,
  body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
    height: 202px;
  }

  body.is-detail-view .personality-domain-detail .domain-metric-overview-item > summary,
  body.is-detail-view .personality-domain-detail .domain-metric-overview-row,
  body.is-detail-view .personality-domain-detail .domain-metric-overview-row.is-long-label {
    grid-template-columns: 30px 74px minmax(0, 1fr) 38px 10px !important;
    gap: 5px;
  }
}

/* Reference fidelity v8d: final declarations, intentionally last. */
body.is-report-view .report-primary-menu-card,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
  grid-template-rows: 38px auto;
  gap: 1px;
  padding-block: 3px;
}

body.is-report-view .report-primary-menu-card > span.has-report-icon,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
  width: 38px;
  height: 38px;
}

body.is-report-view .report-primary-menu-card strong {
  font-size: 12.5px;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar,
body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
  height: 228px;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
  transform: translateY(-14px);
}

body.is-detail-view .personality-domain-detail .report-radar-label {
  font-size: 9.8px;
}

body.is-detail-view .personality-domain-detail .report-radar-grade {
  font-size: 9.6px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .domain-metric-overview-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > span:not(.domain-metric-overview-icon) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .domain-metric-overview-bar {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .metric-level-badge {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 27px !important;
  min-height: 27px !important;
  grid-column: 4 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-row > .domain-metric-overview-chevron {
  grid-column: 5 !important;
  grid-row: 1 !important;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-head {
  min-height: 30px;
  padding-bottom: 3px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation {
  padding: 9px 12px 12px;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p {
  font-size: 11.5px;
  line-height: 1.72;
}

body.is-detail-view .personality-domain-detail .domain-metric-overview-explanation p + p {
  margin-top: 10px;
}

body.is-detail-view .domain-metric-overview-explanation .has-edge-emphasis strong,
body.is-detail-view .metric-card .has-edge-emphasis strong {
  color: rgba(244, 241, 233, 0.96);
  font-weight: 700;
}

body.is-detail-view .domain-metric-overview-rest-close {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-top: 1px solid rgba(129, 158, 183, 0.13);
  background: transparent;
  color: rgba(240, 238, 232, 0.86);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

body.is-detail-view .domain-metric-overview-rest-close i {
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
}

body.is-detail-view .personality-related-content {
  gap: 6px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(129, 158, 183, 0.13);
}

body.is-detail-view .personality-related-content h3 {
  font-size: 13.5px;
}

body.is-detail-view .personality-related-content button {
  min-height: 40px;
  grid-template-columns: 34px minmax(0, 1fr) 8px;
  gap: 8px;
  padding-right: 8px;
}

body.is-detail-view .personality-related-content button em {
  width: 32px;
  height: 19px;
  font-size: 8.5px;
}

body.is-detail-view .personality-related-content button span {
  font-size: 13px;
}

body.is-report-view .report-analysis-menu-toggle .report-analysis-menu-chevron {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 160ms ease;
}

body.is-report-view .report-analysis-menu.is-expanded .report-analysis-menu-toggle .report-analysis-menu-chevron {
  transform: rotate(180deg);
}

/* Smooth expansion v15: content stays mounted and only its visual state changes. */
body.is-report-view .report-analysis-menu .report-primary-menu-more {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  border-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 170ms ease,
    visibility 0s linear 280ms;
}

body.is-report-view .report-analysis-menu .report-primary-menu-more-grid {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 180ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-report-view .report-analysis-menu.is-expanded .report-primary-menu-more {
  grid-template-rows: 1fr;
  margin-top: 8px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease 30ms,
    visibility 0s linear 0s;
}

body.is-report-view .report-analysis-menu.is-expanded .report-primary-menu-more-grid {
  opacity: 1;
  transform: translateY(0);
}

body.is-detail-view .domain-metric-overview-rest {
  overflow: hidden;
}

body.is-detail-view .domain-metric-overview-rest-toggle {
  display: flex;
  width: 100%;
  max-height: 42px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: rgba(240, 238, 232, 0.84);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  opacity: 1;
  cursor: pointer;
  transition:
    max-height 280ms cubic-bezier(0.22, 1, 0.36, 1),
    min-height 280ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 130ms ease;
}

body.is-detail-view .domain-metric-overview-rest-toggle i {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

body.is-detail-view .domain-metric-overview-rest > .domain-metric-overview-rest-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  border-top: 0;
  opacity: 0;
  transition:
    grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 170ms ease;
}

body.is-detail-view .domain-metric-overview-rest-body {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 180ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-detail-view .domain-metric-overview-rest.is-expanded > .domain-metric-overview-rest-toggle {
  max-height: 0;
  min-height: 0;
  padding-block: 0;
  opacity: 0;
  pointer-events: none;
}

body.is-detail-view .domain-metric-overview-rest.is-expanded > .domain-metric-overview-rest-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

body.is-detail-view .domain-metric-overview-rest.is-expanded .domain-metric-overview-rest-body {
  opacity: 1;
  transform: translateY(0);
}

/*
 * Unified disclosure motion v19.
 * Native details elements now share the same calm expansion used by custom
 * report menus, while navigation controls remain immediate.
 */
details[data-disclosure-state="opening"] > :not(summary) {
  animation: disclosure-content-enter 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

details[data-disclosure-state="closing"] > :not(summary) {
  animation: disclosure-content-exit 190ms ease both;
}

@keyframes disclosure-content-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes disclosure-content-exit {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-3px);
  }
}

body.is-detail-view
  .domain-metric-overview-item[data-disclosure-state="closing"]
  > summary
  .domain-metric-overview-chevron {
  transform: rotate(0deg);
}

body.is-detail-view
  .annual-metric-group[data-disclosure-state="closing"]
  > .annual-group-head
  .annual-group-chevron {
  color: var(--product-reading-muted);
  transform: rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  body.is-report-view .report-analysis-menu .report-primary-menu-more,
  body.is-report-view .report-analysis-menu .report-primary-menu-more-grid,
  body.is-report-view .report-analysis-menu-toggle .report-analysis-menu-chevron,
  body.is-detail-view .domain-metric-overview-rest-toggle,
  body.is-detail-view .domain-metric-overview-rest-panel,
  body.is-detail-view .domain-metric-overview-rest-body {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  details[data-smooth-disclosure="true"] > :not(summary) {
    animation: none !important;
  }
}

@media (max-width: 380px) {
  body.is-detail-view .personality-domain-detail > .report-personality-radar,
  body.is-detail-view .personality-domain-detail > .report-personality-radar svg {
    height: 216px;
  }
}

/* Topic detail header guard v16d: keep long subject titles on one line. */
@media (max-width: 420px) {
  body.is-detail-view .report-appbar.light {
    grid-template-columns: 96px minmax(0, 1fr) 96px;
  }

  body.is-detail-view #detail-title {
    min-width: 0;
    overflow: visible;
    font-size: 14.5px;
    line-height: 1.2;
    text-overflow: clip;
    white-space: nowrap;
  }
}

@media (max-width: 350px) {
  body.is-detail-view .report-appbar.light {
    grid-template-columns: 88px minmax(0, 1fr) 88px;
  }

  body.is-detail-view #detail-title {
    font-size: 13.5px;
  }
}

/*
 * Detail radar correction v17.
 * The polygon stays in SVG while labels occupy six stable outer lanes.
 */
body.is-detail-view .personality-domain-detail > .report-personality-radar,
body.is-detail-view .topic-domain-detail > .domain-topic-radar {
  position: relative;
  width: min(100%, 390px);
  height: 304px;
  margin: 4px auto 8px;
  overflow: visible;
}

body.is-detail-view .personality-domain-detail > .report-personality-radar > .report-radar-plot,
body.is-detail-view .topic-domain-detail > .domain-topic-radar > .report-radar-plot {
  position: absolute;
  top: 28px;
  left: 50%;
  display: block;
  width: 300px;
  height: 250px;
  overflow: visible;
  transform: translateX(-50%);
}

body.is-detail-view .report-personality-radar .report-radar-caption {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 108px;
  min-width: 0;
  justify-items: center;
  gap: 5px;
  color: rgba(244, 242, 238, 0.96);
  pointer-events: none;
}

body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-0 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-1 {
  top: 49px;
  right: 0;
}

body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-2 {
  right: 0;
  bottom: 47px;
}

body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-4 {
  bottom: 47px;
  left: 0;
}

body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-5 {
  top: 49px;
  left: 0;
}

body.is-detail-view .report-personality-radar .report-radar-label {
  display: grid;
  min-height: 15px;
  justify-items: center;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 12.2px;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  letter-spacing: 0;
  word-break: keep-all;
}

body.is-detail-view .report-personality-radar .report-radar-label > span {
  display: block;
  white-space: nowrap;
}

body.is-detail-view .report-personality-radar .report-radar-grade-bg {
  display: grid;
  width: 34px;
  height: 24px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--grade-start, #687583) 72%, #9fb4c8);
  border-radius: 6px;
  background: color-mix(in srgb, var(--grade-start, #687583) 38%, #07172a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.is-detail-view .report-personality-radar .report-radar-grade {
  display: block;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

body.is-detail-view .personality-domain-detail .report-radar-stroke,
body.is-detail-view .topic-domain-detail .report-radar-stroke {
  stroke-width: 1.2;
}

body.is-detail-view .personality-domain-detail .report-radar-point,
body.is-detail-view .topic-domain-detail .report-radar-point {
  r: 2.1px;
}

@media (max-width: 380px) {
  body.is-detail-view .personality-domain-detail > .report-personality-radar,
  body.is-detail-view .topic-domain-detail > .domain-topic-radar {
    height: 286px;
  }

  body.is-detail-view .personality-domain-detail > .report-personality-radar > .report-radar-plot,
  body.is-detail-view .topic-domain-detail > .domain-topic-radar > .report-radar-plot {
    top: 28px;
    width: 278px;
    height: 232px;
  }

  body.is-detail-view .report-personality-radar .report-radar-caption {
    width: 94px;
    gap: 4px;
  }

  body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-1,
  body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-5 {
    top: 48px;
  }

  body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-2,
  body.is-detail-view .report-personality-radar .report-radar-caption.is-axis-4 {
    bottom: 45px;
  }

  body.is-detail-view .report-personality-radar .report-radar-label {
    font-size: 11.4px;
  }

  body.is-detail-view .report-personality-radar .report-radar-grade-bg {
    width: 32px;
    height: 23px;
  }

  body.is-detail-view .report-personality-radar .report-radar-grade {
    font-size: 11px;
  }
}

/*
 * Icon system v1 integration.
 * Menus, evidence, navigation and metric symbols share one 48px source frame.
 */
.report-category-icon,
.icon-button > svg,
.bottom-nav svg,
.daily-fortune-calendar svg,
.share-sheet-chevron,
body.is-report-view .report-analysis-menu-toggle .report-analysis-menu-chevron,
body.is-detail-view .contextual-evidence-summary-icon,
body.is-detail-view .domain-metric-overview-icon svg,
body.is-detail-view .domain-metric-overview-chevron {
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-category-icon {
  width: 100%;
  height: 100%;
  color: #e3aa66;
  object-fit: unset;
}

.has-report-icon {
  color: #e3aa66;
}

.icon-button > svg {
  width: 19px;
  height: 19px;
}

.bottom-nav svg {
  width: 20px;
  height: 20px;
}

.daily-fortune-calendar svg {
  width: 22px;
  height: 22px;
}

.share-sheet-chevron {
  width: 17px;
  height: 17px;
}

body.is-report-view .report-analysis-menu-toggle .report-analysis-menu-chevron {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  transform: rotate(180deg);
}

body.is-report-view .report-analysis-menu.is-expanded .report-analysis-menu-toggle .report-analysis-menu-chevron {
  transform: rotate(0deg);
}

body.is-detail-view .domain-metric-overview-icon svg,
body.is-detail-view .topic-domain-detail .domain-metric-overview-icon svg,
body.is-detail-view .personality-domain-detail .domain-metric-overview-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

body.is-detail-view .domain-metric-overview-chevron {
  width: 11px;
  height: 11px;
  justify-self: center;
  border: 0;
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

body.is-detail-view .domain-metric-overview-item[open] .domain-metric-overview-chevron {
  transform: rotate(-90deg);
}

body.is-detail-view .contextual-evidence-group > summary > .contextual-evidence-summary-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.is-detail-view .contextual-evidence-summary-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 5px;
  border: 1px solid rgba(141, 106, 66, 0.72);
  border-radius: 50%;
  color: #e3aa66;
  background: rgba(227, 170, 102, 0.03);
}

/*
 * Topic radar and annual detail correction v18.
 * Every six-axis chart shares the same transparent SVG geometry, and annual
 * pages use the current detail-page rhythm instead of the retired card grid.
 */
body.is-detail-view .report-personality-radar .report-radar-grid polygon,
body.is-detail-view .report-personality-radar .report-radar-stroke {
  fill: none;
}

body.is-detail-view .detail-root .annual-detail,
body.is-detail-view .detail-root .annual-detail.metric-great,
body.is-detail-view .detail-root .annual-detail.metric-good,
body.is-detail-view .detail-root .annual-detail.metric-normal,
body.is-detail-view .detail-root .annual-detail.metric-caution,
body.is-detail-view .detail-root .annual-detail.metric-risk {
  gap: 0;
  margin: 0;
  padding: 9px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .annual-detail-intro {
  display: grid;
  min-height: 100px;
  grid-template-columns: minmax(0, 1fr) 62px;
  align-items: center;
  gap: 16px;
  padding: 8px 2px 10px;
}

body.is-detail-view .annual-detail-intro > div:first-child {
  min-width: 0;
}

body.is-detail-view .annual-detail-intro > div:first-child > span {
  color: var(--product-gold-bright);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

body.is-detail-view .annual-detail-intro h2 {
  margin: 7px 0 0;
  color: var(--product-text);
  font-size: 26px;
  font-weight: 780;
  line-height: 1.22;
  letter-spacing: 0;
}

body.is-detail-view .annual-detail-intro .domain-score {
  align-self: center;
}

body.is-detail-view .annual-metric-overview {
  gap: 0;
  margin: 15px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .annual-metric-overview .domain-metric-overview-head {
  min-height: 34px;
  padding: 0 2px 5px;
}

body.is-detail-view .annual-metric-overview .domain-metric-overview-head strong {
  color: var(--product-text);
  font-size: 17px;
  font-weight: 760;
}

body.is-detail-view .annual-metric-overview .domain-metric-overview-head span {
  color: var(--product-reading-muted);
  font-size: 11px;
}

body.is-detail-view .annual-detail .domain-metric-overview-row,
body.is-detail-view .annual-detail .domain-metric-overview-row.is-long-label,
body.is-detail-view .annual-detail .domain-metric-overview-item > summary {
  min-height: 44px;
  grid-template-columns: 32px 88px minmax(0, 1fr) 38px 11px !important;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
}

body.is-detail-view .annual-detail .domain-metric-overview-row > .domain-metric-overview-icon {
  display: grid;
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  grid-column: 1 !important;
  grid-row: 1 !important;
  place-items: center;
  overflow: visible;
  border-radius: 50%;
  -webkit-line-clamp: unset;
}

body.is-detail-view .annual-detail .domain-metric-overview-icon svg {
  width: 18px;
  height: 18px;
}

body.is-detail-view .annual-detail .domain-metric-overview-row > span:not(.domain-metric-overview-icon) {
  display: block;
  width: auto;
  max-width: none;
  grid-column: 2 !important;
  grid-row: 1 !important;
  overflow: visible;
  color: rgba(243, 241, 237, 0.9);
  font-size: 12px;
  font-weight: 610;
  line-height: 1.22;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
  -webkit-line-clamp: unset;
}

body.is-detail-view .annual-detail .domain-metric-overview-row > .domain-metric-overview-bar {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

body.is-detail-view .annual-detail .domain-metric-overview-row > .metric-level-badge {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  grid-column: 4 !important;
  grid-row: 1 !important;
}

body.is-detail-view .annual-detail .domain-metric-overview-row > .domain-metric-overview-chevron {
  grid-column: 5 !important;
  grid-row: 1 !important;
}

body.is-detail-view .annual-metric-overview-rest .domain-metric-overview-rest-toggle,
body.is-detail-view .annual-metric-overview-rest .domain-metric-overview-rest-close {
  min-height: 42px;
}

body.is-detail-view .annual-group-list {
  gap: 0;
  margin: 25px 0 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--comfort-line);
  border-radius: 0;
  background: transparent;
}

body.is-detail-view .annual-metric-group,
body.is-detail-view .annual-metric-group[open] {
  border: 0;
  border-bottom: 1px solid var(--comfort-line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .annual-metric-group[open] {
  background: rgba(255, 255, 255, 0.012);
}

body.is-detail-view .annual-group-head {
  display: grid;
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
}

body.is-detail-view .annual-group-head::after {
  display: none;
}

body.is-detail-view .annual-group-head > strong {
  min-width: 0;
  color: var(--product-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

body.is-detail-view .annual-group-head > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.is-detail-view .annual-group-head > span em {
  color: var(--product-reading-muted);
  font-size: 10.5px;
  font-style: normal;
}

body.is-detail-view .annual-group-head .annual-score-status {
  min-width: 38px;
  height: 27px;
  padding: 0 7px;
  border: 1px solid var(--grade-start, rgba(132, 166, 192, 0.7));
  border-radius: 6px;
  background: color-mix(in srgb, var(--grade-start, #687583) 18%, transparent);
  color: var(--grade-start, var(--product-reading-body));
  font-size: 11.5px;
  font-weight: 820;
  line-height: 25px;
  text-align: center;
}

body.is-detail-view .annual-group-chevron {
  display: block;
  width: 13px;
  height: 13px;
  color: var(--product-reading-muted);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease, color 180ms ease;
}

body.is-detail-view .annual-metric-group[open] > .annual-group-head .annual-group-chevron {
  color: var(--product-gold-bright);
  transform: rotate(90deg);
}

body.is-detail-view .annual-group-body {
  gap: 0;
  padding: 0 2px 16px;
}

body.is-detail-view .annual-group-body .annual-group-overview {
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.is-detail-view .annual-group-body .annual-group-overview-head {
  display: none;
}

body.is-detail-view .annual-detail .domain-metric-overview-explanation {
  padding: 9px 12px 13px;
}

body.is-detail-view .annual-detail .domain-metric-overview-explanation p {
  margin: 0;
  color: var(--product-reading-body);
  font-size: 11.5px;
  line-height: 1.72;
}

body.is-detail-view .annual-detail .domain-metric-overview-explanation p + p {
  margin-top: 10px;
}

@media (max-width: 380px) {
  body.is-detail-view .annual-detail .domain-metric-overview-row,
  body.is-detail-view .annual-detail .domain-metric-overview-row.is-long-label,
  body.is-detail-view .annual-detail .domain-metric-overview-item > summary {
    grid-template-columns: 30px 80px minmax(0, 1fr) 38px 10px !important;
    gap: 5px;
  }

  body.is-detail-view .annual-detail .domain-metric-overview-row > .domain-metric-overview-icon {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    height: 28px;
    min-height: 28px;
    max-height: 28px;
  }

  body.is-detail-view .annual-detail .domain-metric-overview-row > span:not(.domain-metric-overview-icon) {
    font-size: 11.4px;
  }
}

/*
 * Detail radar section v20.
 * The chart is a quiet visual band between the type header and metric list.
 */
body.is-detail-view .personality-domain-detail > .domain-radar-section,
body.is-detail-view .topic-domain-detail > .domain-radar-section {
  height: 330px;
  margin: 18px auto 22px;
  border-top: 1px solid rgba(126, 153, 184, 0.2);
  border-bottom: 1px solid rgba(126, 153, 184, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(79, 119, 165, 0.025) 0%,
      rgba(79, 119, 165, 0.07) 50%,
      rgba(79, 119, 165, 0.025) 100%
    );
}

body.is-detail-view .personality-domain-detail > .domain-radar-section > .report-radar-plot,
body.is-detail-view .topic-domain-detail > .domain-radar-section > .report-radar-plot {
  top: 40px;
}

body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-0 {
  top: 12px;
}

body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-1,
body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-5 {
  top: 61px;
}

body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-2,
body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-4 {
  bottom: 59px;
}

body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-3 {
  bottom: 12px;
}

@media (max-width: 380px) {
  body.is-detail-view .personality-domain-detail > .domain-radar-section,
  body.is-detail-view .topic-domain-detail > .domain-radar-section {
    height: 312px;
  }

  body.is-detail-view .personality-domain-detail > .domain-radar-section > .report-radar-plot,
  body.is-detail-view .topic-domain-detail > .domain-radar-section > .report-radar-plot {
    top: 40px;
  }

  body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-1,
  body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-5 {
    top: 60px;
  }

  body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-2,
  body.is-detail-view .domain-radar-section .report-radar-caption.is-axis-4 {
    bottom: 57px;
  }
}

/*
 * Timing tone brightness v1.
 * Keep the timing layout intact while making good and caution periods easier
 * to distinguish in the current navy, blue and gold product palette.
 */
body.is-detail-view {
  --timing-good-accent: #87ccef;
  --timing-good-ink: #dff6ff;
  --timing-good-border: rgba(135, 204, 239, 0.36);
  --timing-good-surface: rgba(76, 154, 205, 0.15);
  --timing-caution-accent: #e8aa68;
  --timing-caution-ink: #ffe5c5;
  --timing-caution-border: rgba(232, 170, 104, 0.36);
  --timing-caution-surface: rgba(211, 135, 67, 0.15);
}

body.is-detail-view .detail-root .timing-summary-grid article.is-good,
body.is-detail-view .detail-root .timing-inline-column.is-good,
body.is-detail-view .detail-root .timing-flow-list article.is-good > div,
body.is-detail-view .detail-root .timing-domain-cell.is-good {
  border-color: var(--timing-good-border);
  background:
    radial-gradient(circle at 96% 0%, var(--timing-good-surface), transparent 38%),
    rgba(255, 255, 255, 0.04);
}

body.is-detail-view .detail-root .timing-summary-grid article.is-caution,
body.is-detail-view .detail-root .timing-inline-column.is-caution,
body.is-detail-view .detail-root .timing-flow-list article.is-caution > div,
body.is-detail-view .detail-root .timing-domain-cell.is-caution {
  border-color: var(--timing-caution-border);
  background:
    radial-gradient(circle at 96% 0%, var(--timing-caution-surface), transparent 38%),
    rgba(255, 255, 255, 0.04);
}

body.is-detail-view .detail-root .timing-flow-list::before {
  background: linear-gradient(
    180deg,
    rgba(135, 204, 239, 0.68),
    rgba(216, 174, 99, 0.22),
    rgba(232, 170, 104, 0.66)
  );
}

body.is-detail-view .detail-root .timing-flow-list article.is-good > i {
  background: var(--timing-good-accent);
}

body.is-detail-view .detail-root .timing-flow-list article.is-caution > i {
  background: var(--timing-caution-accent);
}

body.is-detail-view .detail-root .timing-event-card.is-good::before {
  background: var(--timing-good-accent);
}

body.is-detail-view .detail-root .timing-event-card.is-caution::before {
  background: var(--timing-caution-accent);
}

body.is-detail-view .detail-root .timing-flow-list article.is-good header em,
body.is-detail-view .detail-root .timing-event-card.is-good header em {
  border-color: var(--timing-good-border);
  background: var(--timing-good-surface);
  color: var(--timing-good-ink);
}

body.is-detail-view .detail-root .timing-flow-list article.is-caution header em,
body.is-detail-view .detail-root .timing-event-card.is-caution header em {
  border-color: var(--timing-caution-border);
  background: var(--timing-caution-surface);
  color: var(--timing-caution-ink);
}

body.is-detail-view .detail-root .timing-inline-column.is-good .timing-year-pills b,
body.is-detail-view .detail-root .timing-decade-cell.is-good .timing-year-pills span {
  border-color: var(--timing-good-border);
  background: var(--timing-good-surface);
  color: var(--timing-good-ink);
}

body.is-detail-view .detail-root .timing-inline-column.is-caution .timing-year-pills b,
body.is-detail-view .detail-root .timing-decade-cell.is-caution .timing-year-pills span {
  border-color: var(--timing-caution-border);
  background: var(--timing-caution-surface);
  color: var(--timing-caution-ink);
}

body.is-detail-view .detail-root .timing-decade-cell.is-good > b,
body.is-detail-view .detail-root .timing-decade-cell.is-good > em {
  color: var(--timing-good-accent);
}

body.is-detail-view .detail-root .timing-decade-cell.is-caution > b,
body.is-detail-view .detail-root .timing-decade-cell.is-caution > em {
  color: var(--timing-caution-accent);
}

/*
 * Metric icon system v3.
 * Annual forecasts intentionally stay icon-free; their rows reclaim the icon
 * column without changing the metric, grade or disclosure structure.
 */
body.is-detail-view .annual-detail .domain-metric-overview-row.is-iconless,
body.is-detail-view .annual-detail .domain-metric-overview-item > summary.is-iconless {
  grid-template-columns: 96px minmax(0, 1fr) 38px 11px !important;
}

body.is-detail-view .annual-detail .domain-metric-overview-row.is-iconless.is-static {
  grid-template-columns: 96px minmax(0, 1fr) 38px !important;
}

body.is-detail-view .annual-detail .domain-metric-overview-row.is-iconless > span:not(.domain-metric-overview-icon) {
  grid-column: 1 !important;
}

body.is-detail-view .annual-detail .domain-metric-overview-row.is-iconless > .domain-metric-overview-bar {
  grid-column: 2 !important;
}

body.is-detail-view .annual-detail .domain-metric-overview-row.is-iconless > .metric-level-badge {
  grid-column: 3 !important;
}

body.is-detail-view .annual-detail .domain-metric-overview-row.is-iconless > .domain-metric-overview-chevron {
  grid-column: 4 !important;
}

@media (max-width: 380px) {
  body.is-detail-view .annual-detail .domain-metric-overview-row.is-iconless,
  body.is-detail-view .annual-detail .domain-metric-overview-item > summary.is-iconless {
    grid-template-columns: 84px minmax(0, 1fr) 38px 10px !important;
  }

  body.is-detail-view .annual-detail .domain-metric-overview-row.is-iconless.is-static {
    grid-template-columns: 84px minmax(0, 1fr) 38px !important;
  }
}

/* Daily preview bar glow v2: preserve the fill color and glow only outside it. */
body.is-report-view .daily-fortune-board .daily-fortune-bar-row .daily-score-bar i {
  box-shadow: 0 0 6px 1px color-mix(
    in srgb,
    var(--daily-score-color, #91a0a2) 58%,
    transparent
  );
}

/*
 * Result reference atmosphere v2.
 * Keep the approved information order and semantic score colors while giving
 * the result home the lighter blue surfaces and quieter gold framing of the
 * approved reference.
 */
body.is-report-view .screen-report {
  background:
    radial-gradient(circle at 18% 8%, rgba(46, 84, 145, 0.09), transparent 31%),
    radial-gradient(circle at 88% 34%, rgba(35, 68, 122, 0.04), transparent 35%),
    linear-gradient(180deg, #071229 0%, #061229 52%, #040f25 100%);
}

body.is-report-view .report-appbar {
  border-bottom-color: rgba(142, 167, 199, 0.24);
  background: rgba(7, 18, 41, 0.94);
  box-shadow: 0 8px 22px rgba(1, 8, 22, 0.12);
}

body.is-report-view .back-button,
body.is-report-view .share-button {
  color: rgba(241, 244, 249, 0.84);
}

body.is-report-view .report-personality-dashboard {
  border-bottom: 0;
}

body.is-report-view .report-personality-type-label {
  color: #e8b36f;
}

body.is-report-view .report-personality-detail-link {
  color: rgba(246, 247, 250, 0.88);
  font-size: 13px;
}

body.is-report-view .report-analysis-menu .report-dashboard-head h3,
body.is-report-view .report-content-head h3 {
  color: #f7f7f5;
}

body.is-report-view .report-analysis-menu .report-analysis-menu-toggle {
  color: #efb86e;
}

body.is-report-view .report-primary-menu-card,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
  border-color: rgba(111, 145, 189, 0.42);
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 0%, rgba(81, 119, 170, 0.1), transparent 52%),
    linear-gradient(160deg, rgba(19, 37, 68, 0.98), rgba(12, 29, 55, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 8px 18px rgba(1, 8, 22, 0.1);
}

body.is-report-view .report-primary-menu-card > span.has-report-icon,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #e3aa66 !important;
}

body.is-report-view .report-primary-menu-card strong,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card strong {
  color: rgba(247, 246, 243, 0.92);
  font-weight: 680;
}

body.is-report-view .daily-fortune-board {
  border-color: rgba(117, 153, 201, 0.46);
  border-radius: 12px;
  background:
    radial-gradient(circle at 52% 34%, rgba(105, 151, 209, 0.09), transparent 56%),
    linear-gradient(155deg, rgba(20, 32, 59, 0.995), rgba(14, 27, 53, 0.998));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 32px rgba(1, 8, 24, 0.2),
    0 0 26px rgba(57, 101, 164, 0.055);
}

body.is-report-view .daily-fortune-head strong {
  color: #f8f8f6;
}

body.is-report-view .daily-fortune-head small {
  color: rgba(222, 228, 237, 0.76);
}

body.is-report-view .daily-fortune-calendar {
  color: rgba(242, 246, 251, 0.9);
}

body.is-report-view .daily-fortune-calendar svg {
  width: 24px;
  height: 24px;
}

body.is-report-view .daily-fortune-gauge-card {
  border-bottom-color: rgba(143, 170, 205, 0.2);
}

body.is-report-view .daily-fortune-arc-track {
  stroke: rgba(73, 105, 151, 0.42);
}

body.is-report-view .daily-fortune-status {
  border-color: color-mix(in srgb, var(--daily-status-color) 72%, #dce9f8);
  background: color-mix(in srgb, var(--daily-status-color) 30%, rgba(10, 25, 50, 0.72));
  color: color-mix(in srgb, var(--daily-status-color) 30%, white);
  box-shadow: 0 0 12px color-mix(in srgb, var(--daily-status-color) 18%, transparent);
}

body.is-report-view .daily-fortune-bar-row > .daily-fortune-preview-label {
  color: rgba(246, 246, 244, 0.92);
}

body.is-report-view .daily-fortune-bar-row .metric-bar {
  background: rgba(64, 89, 126, 0.52);
}

body.is-report-view .daily-fortune-detail-link {
  border-top-color: rgba(137, 165, 201, 0.22);
  background: rgba(255, 255, 255, 0.018);
  color: rgba(247, 247, 245, 0.92);
}

body.is-report-view .report-content-feature {
  border-color: rgba(111, 148, 196, 0.42);
  border-radius: 12px;
  background:
    radial-gradient(circle at 78% 44%, rgba(91, 134, 190, 0.1), transparent 44%),
    linear-gradient(155deg, rgba(18, 36, 67, 0.98), rgba(12, 28, 54, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 10px 22px rgba(1, 8, 22, 0.12);
}

body.is-report-view .report-content-topic-icon.has-report-icon {
  width: 40px;
  height: 40px;
  padding: 1px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #e3aa66 !important;
}

body.is-report-view .report-content-feature-copy small {
  color: rgba(225, 230, 238, 0.76);
}

body.is-report-view .report-content-feature-copy strong {
  color: #f7f6f3;
}

body.is-report-view .bottom-nav {
  min-height: calc(78px + env(safe-area-inset-bottom));
  padding: 7px 8px calc(8px + env(safe-area-inset-bottom));
  border-top-color: rgba(137, 164, 198, 0.22);
  background:
    linear-gradient(180deg, rgba(6, 20, 46, 0.97), rgba(3, 14, 36, 0.99));
  box-shadow:
    0 -12px 30px rgba(1, 8, 22, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

body.is-report-view .bottom-nav button {
  min-height: 59px;
  gap: 4px;
  color: rgba(230, 235, 243, 0.64);
  font-size: 11.5px;
  font-weight: 620;
}

body.is-report-view .bottom-nav button[data-action="go-home"] {
  min-height: 59px;
}

body.is-report-view .bottom-nav svg {
  width: 23px;
  height: 23px;
}

body.is-report-view .bottom-nav button .bottom-nav-label {
  font-size: 11.5px;
  font-weight: 620;
  line-height: 1.08;
}

body.is-report-view .bottom-nav button.is-active {
  color: #efb45e;
}

body.is-report-view .bottom-nav button.is-active::before {
  top: -7px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #efb45e;
}

/* Daily gauge weight v1: match the lighter arc in the approved reference. */
body.is-report-view .daily-fortune-arc-track,
body.is-report-view .daily-fortune-arc-value {
  stroke-width: 7;
}

/*
 * Approved result home v1.
 * Final-reference composition only: engine scores and report data remain
 * untouched while the result home uses the approved hierarchy and proportions.
 */
body.is-report-view .report-root {
  gap: 25px;
}

body.is-report-view .report-personality-dashboard {
  min-height: 80px;
  align-items: center;
  gap: 14px;
  padding: 4px 2px;
  border-bottom: 0;
}

body.is-report-view .report-personality-copy {
  min-width: 0;
  gap: 4px;
}

body.is-report-view .report-personality-type-label {
  font-size: 11.5px;
  font-weight: 730;
}

body.is-report-view .report-personality-copy h2 {
  overflow: hidden;
  font-size: 23px;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-report-view .report-personality-copy p {
  overflow: hidden;
  margin: 1px 0 0;
  color: rgba(222, 227, 236, 0.74);
  font-size: 11.5px;
  font-weight: 510;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-report-view .report-personality-detail-link {
  min-width: 90px;
  min-height: 42px;
  gap: 10px;
  color: #efb66b;
  font-size: 12.5px;
  font-weight: 680;
}

body.is-report-view .report-personality-detail-link i,
body.is-report-view .daily-fortune-head-link i,
body.is-report-view .daily-fortune-detail-link i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

body.is-report-view .daily-fortune-board {
  border-color: rgba(112, 151, 204, 0.47);
}

body.is-report-view .daily-fortune-head {
  display: flex;
  min-height: 74px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px 9px;
}

body.is-report-view .daily-fortune-head > span:first-child {
  min-width: 0;
  gap: 6px;
}

body.is-report-view .daily-fortune-head strong {
  font-size: 20px;
  line-height: 1.2;
}

body.is-report-view .daily-fortune-head small {
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-report-view .daily-fortune-head-link {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-top: 1px;
  padding: 2px 1px 2px 8px;
  border: 0;
  background: transparent;
  color: rgba(247, 247, 245, 0.92);
  font-size: 12px;
  font-weight: 650;
  box-shadow: none;
}

body.is-report-view .daily-fortune-head-link:hover,
body.is-report-view .daily-fortune-head-link:focus-visible {
  background: transparent;
  color: #efb66b;
  box-shadow: none;
}

body.is-report-view .daily-fortune-summary {
  min-height: 168px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 0 16px 12px;
}

body.is-report-view .daily-fortune-gauge-card {
  min-height: 158px;
  align-content: center;
  padding: 3px 15px 4px 0;
  border-right: 1px solid rgba(139, 165, 201, 0.2);
  border-bottom: 0;
}

body.is-report-view .daily-fortune-arc {
  width: min(100%, 145px);
  margin-top: 0;
}

body.is-report-view .daily-fortune-arc > span {
  bottom: 4px;
}

body.is-report-view .daily-fortune-arc > span strong {
  font-size: 46px;
  font-weight: 790;
}

body.is-report-view .daily-fortune-arc > span small {
  margin-top: 2px;
  font-size: 10.5px;
}

body.is-report-view .daily-fortune-status {
  min-width: 67px;
  height: 25px;
  margin-top: 3px;
  font-size: 11px;
}

body.is-report-view .daily-fortune-bars {
  align-content: center;
  gap: 5px;
  padding: 5px 0 3px 15px;
}

body.is-report-view .daily-fortune-bar-row {
  grid-template-columns: minmax(0, 1fr) 31px;
  grid-template-areas:
    "label score"
    "bar score";
  gap: 5px 8px;
  min-height: 43px;
  align-content: center;
}

body.is-report-view .daily-fortune-bar-row > .daily-fortune-preview-label {
  grid-area: label;
  align-self: end;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.2;
}

body.is-report-view .daily-fortune-bar-row .metric-bar {
  grid-area: bar;
  align-self: start;
  height: 7px;
}

body.is-report-view .daily-fortune-bar-row > b {
  grid-area: score;
  align-self: center;
  justify-self: end;
  font-size: 15px;
  font-weight: 790;
}

body.is-report-view .daily-fortune-detail-link {
  min-height: 44px;
  gap: 12px;
  font-size: 12.5px;
}

body.is-report-view .report-analysis-menu .report-dashboard-head {
  min-height: 27px;
  margin-bottom: 8px;
}

body.is-report-view .report-analysis-menu .report-dashboard-head h3,
body.is-report-view .report-content-head h3 {
  font-size: 18px;
}

body.is-report-view .report-analysis-menu .report-analysis-menu-toggle {
  min-height: 34px;
  font-size: 12.5px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.is-report-view .report-analysis-menu .report-primary-menu-grid,
body.is-report-view .report-analysis-menu .report-primary-menu-more-grid {
  gap: 9px;
}

body.is-report-view .report-primary-menu-card,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
  min-height: 76px;
  grid-template-rows: 39px auto;
  gap: 5px;
  padding: 8px 3px 7px;
}

body.is-report-view .report-primary-menu-card > span.has-report-icon,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card > span.has-report-icon {
  width: 38px;
  height: 38px;
}

body.is-report-view .report-primary-menu-card strong,
body.is-report-view .report-analysis-menu .report-primary-menu-more-card strong {
  font-size: 12px;
}

body.is-report-view .report-content-board {
  display: grid;
  gap: 10px;
}

body.is-report-view .report-content-head {
  margin: 0;
}

body.is-report-view .report-content-feature {
  min-height: 76px;
  grid-template-columns: 45px minmax(0, 1fr) 10px;
  gap: 12px;
  padding: 13px 16px;
}

body.is-report-view .report-content-topic-icon.has-report-icon {
  width: 43px;
  height: 43px;
  padding: 1px !important;
}

body.is-report-view .report-content-feature-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.is-report-view .report-content-feature-copy small {
  color: #e8b36f;
  font-size: 10.5px;
  font-weight: 650;
}

body.is-report-view .report-content-feature-copy strong {
  margin-top: 5px;
  font-size: 16px;
}

body.is-report-view .bottom-nav button.is-active::before {
  display: none;
}

body.is-report-view .report-analysis-menu-toggle .report-analysis-menu-chevron {
  transform: rotate(90deg);
}

body.is-report-view .report-analysis-menu.is-expanded .report-analysis-menu-toggle .report-analysis-menu-chevron {
  transform: rotate(180deg);
}

@media (max-width: 380px) {
  body.is-report-view .screen-report {
    padding-inline: 18px;
  }

  body.is-report-view .report-appbar {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  body.is-report-view .report-personality-dashboard {
    min-height: 80px;
    gap: 10px;
  }

  body.is-report-view .report-personality-copy h2 {
    font-size: 22px;
  }

  body.is-report-view .report-personality-detail-link {
    min-width: 83px;
    font-size: 12px;
  }

  body.is-report-view .daily-fortune-head {
    padding-inline: 14px;
  }

  body.is-report-view .daily-fortune-summary {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    padding-inline: 12px;
  }

  body.is-report-view .daily-fortune-gauge-card {
    padding-right: 11px;
  }

  body.is-report-view .daily-fortune-arc {
    width: min(100%, 136px);
  }

  body.is-report-view .daily-fortune-arc > span strong {
    font-size: 42px;
  }

  body.is-report-view .daily-fortune-bars {
    padding-left: 11px;
  }

  body.is-report-view .daily-fortune-bar-row {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap-inline: 6px;
  }

  body.is-report-view .daily-fortune-bar-row > .daily-fortune-preview-label {
    font-size: 10.3px;
  }

  body.is-report-view .daily-fortune-bar-row > b {
    font-size: 13px;
  }

  body.is-report-view .report-primary-menu-card,
  body.is-report-view .report-analysis-menu .report-primary-menu-more-card {
    min-height: 74px;
  }

  body.is-report-view .report-primary-menu-card strong,
  body.is-report-view .report-analysis-menu .report-primary-menu-more-card strong {
    font-size: 11.3px;
  }
}

/* Daily fortune disclosure v1: six scores stay in the result card and explain themselves in place. */
body.is-report-view .daily-fortune-head {
  min-height: 67px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 17px 16px 8px;
}

body.is-report-view .daily-fortune-head > span:first-child {
  gap: 4px;
}

body.is-report-view .daily-fortune-head strong {
  font-size: 17px;
  line-height: 1.2;
}

body.is-report-view .daily-fortune-head small {
  font-size: 10.5px;
}

body.is-report-view .daily-fortune-calendar-mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin: 0 -2px 0 auto;
  place-items: center;
  color: rgba(239, 242, 246, 0.84);
}

body.is-report-view .daily-fortune-calendar-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.is-report-view .daily-fortune-summary {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0;
  padding: 0 16px 8px;
}

body.is-report-view .daily-fortune-gauge-card {
  min-height: 155px;
  align-content: center;
  padding: 0 0 12px;
  border-right: 0;
  border-bottom: 0;
}

body.is-report-view .daily-fortune-arc {
  width: min(100%, 170px);
  margin-top: 0;
}

body.is-report-view .daily-fortune-arc > span {
  bottom: 4px;
}

body.is-report-view .daily-fortune-arc > span strong {
  font-size: 48px;
}

body.is-report-view .daily-fortune-status {
  min-width: 75px;
  height: 24px;
  margin-top: 2px;
}

body.is-report-view .daily-fortune-bars {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 10px 0 8px;
  border-top: 1px solid rgba(137, 165, 201, 0.2);
}

body.is-report-view .daily-fortune-bar-row {
  width: 100%;
  min-height: 32px;
  grid-template-columns: 20px 78px minmax(0, 1fr) 30px;
  grid-template-areas: "icon label bar score";
  gap: 7px;
  align-content: center;
  align-items: center;
  margin: 0;
  padding: 2px 2px;
  border: 0;
  border-radius: 6px;
  appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

body.is-report-view .daily-fortune-bar-row:hover {
  background: rgba(118, 161, 207, 0.07);
}

body.is-report-view .daily-fortune-bar-row:focus-visible {
  outline: 1px solid rgba(137, 186, 232, 0.7);
  outline-offset: 1px;
  background: rgba(118, 161, 207, 0.09);
}

body.is-report-view .daily-fortune-bar-row:active {
  transform: translateY(1px);
}

body.is-report-view .daily-fortune-preview-icon.has-report-icon {
  grid-area: icon;
  display: grid;
  width: 18px;
  height: 18px;
  padding: 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #e3aa66 !important;
}

body.is-report-view .daily-fortune-preview-icon.has-report-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.15;
}

body.is-report-view .daily-fortune-bar-row > .daily-fortune-preview-label {
  grid-area: label;
  align-self: center;
  overflow: hidden;
  color: rgba(246, 246, 244, 0.92);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-report-view .daily-fortune-bar-row .metric-bar {
  grid-area: bar;
  align-self: center;
  height: 6px;
}

body.is-report-view .daily-fortune-bar-row > b {
  grid-area: score;
  align-self: center;
  justify-self: end;
  font-size: 12px;
}

body.is-report-view .daily-fortune-more {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  transition:
    grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    visibility 0s linear 280ms;
}

body.is-report-view .daily-fortune-more-clip {
  min-height: 0;
  overflow: hidden;
}

body.is-report-view .daily-fortune-more-list {
  display: grid;
  gap: 2px;
  margin: 0 16px;
  padding: 0 0 9px;
  border-top: 0;
}

body.is-report-view .daily-fortune-board.is-expanded .daily-fortune-more {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  transition:
    grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 190ms ease 40ms,
    visibility 0s linear;
}

body.is-report-view .daily-fortune-more-row {
  min-height: 32px;
}

body.is-report-view .daily-fortune-more-row > .daily-fortune-preview-label,
body.is-report-view .daily-fortune-more-row .metric-bar,
body.is-report-view .daily-fortune-more-row > b {
  align-self: center;
}

body.is-report-view .daily-fortune-more-row > .daily-fortune-preview-label {
  font-size: 11px;
}

body.is-report-view .daily-fortune-more-row .metric-bar {
  height: 6px;
}

body.is-report-view .daily-fortune-more-row > b {
  font-size: 12px;
}

body.is-report-view .daily-fortune-detail-link {
  color: rgba(247, 247, 245, 0.92);
}

body.is-report-view .daily-fortune-disclosure-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-report-view .daily-fortune-board.is-expanded .daily-fortune-disclosure-icon {
  transform: rotate(0deg);
}

body.is-daily-fortune-modal-open {
  overflow: hidden;
}

.daily-fortune-modal[hidden] {
  display: none;
}

.daily-fortune-modal {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
}

.daily-fortune-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 7, 15, 0.74);
  opacity: 0;
  cursor: default;
  transition: opacity 200ms ease;
  backdrop-filter: blur(3px);
}

.daily-fortune-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  overflow: hidden;
  padding: 0 20px 22px;
  border: 1px solid rgba(227, 170, 102, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 12%, rgba(83, 133, 187, 0.16), transparent 42%),
    linear-gradient(145deg, #102943 0%, #081b2e 68%, #071827 100%);
  color: #f5f3ef;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 200ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.daily-fortune-modal.is-open .daily-fortune-modal-backdrop {
  opacity: 1;
}

.daily-fortune-modal.is-open .daily-fortune-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.daily-fortune-modal-head {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(137, 165, 201, 0.17);
}

.daily-fortune-modal-head > span {
  color: #e8b36f;
  font-size: 11px;
  font-weight: 720;
}

.daily-fortune-modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  margin-right: -9px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(245, 243, 239, 0.72);
  font: inherit;
  box-shadow: none;
}

.daily-fortune-modal-close > span {
  margin-top: -2px;
  font-size: 25px;
  font-weight: 320;
  line-height: 1;
}

.daily-fortune-modal-close:hover,
.daily-fortune-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.daily-fortune-modal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 21px;
}

.daily-fortune-modal-title-row h3 {
  margin: 0;
  color: #f7f5f1;
  font-size: 21px;
  font-weight: 760;
  letter-spacing: 0;
}

.daily-fortune-modal-title-row strong {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--daily-modal-accent) 60%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--daily-modal-accent) 16%, transparent);
  color: var(--daily-modal-ink, #c2dff3);
  font-size: 12px;
  font-weight: 760;
}

.daily-fortune-modal-targets {
  margin: 12px 0 0;
  color: rgba(213, 219, 226, 0.68);
  font-size: 11px;
  font-weight: 540;
  line-height: 1.6;
}

.daily-fortune-modal-summary {
  margin: 16px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(137, 165, 201, 0.15);
  color: rgba(240, 240, 237, 0.88);
  font-size: 13.5px;
  font-weight: 440;
  line-height: 1.75;
  word-break: keep-all;
}

@media (max-width: 380px) {
  body.is-report-view .daily-fortune-head {
    padding-inline: 14px;
  }

  body.is-report-view .daily-fortune-summary {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 12px 8px;
  }

  body.is-report-view .daily-fortune-arc {
    width: min(100%, 158px);
  }

  body.is-report-view .daily-fortune-bar-row,
  body.is-report-view .daily-fortune-more-row {
    grid-template-columns: 18px 66px minmax(0, 1fr) 27px;
    grid-template-areas: "icon label bar score";
    gap: 5px;
  }

  body.is-report-view .daily-fortune-preview-icon.has-report-icon {
    width: 16px;
    height: 16px;
  }

  body.is-report-view .daily-fortune-preview-icon.has-report-icon svg {
    width: 15px;
    height: 15px;
  }

  body.is-report-view .daily-fortune-more-list {
    margin-inline: 12px;
  }

  .daily-fortune-modal {
    align-items: end;
    padding: 14px 12px calc(82px + env(safe-area-inset-bottom));
  }

  .daily-fortune-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-report-view .daily-fortune-more,
  body.is-report-view .daily-fortune-disclosure-icon,
  .daily-fortune-modal-backdrop,
  .daily-fortune-modal-dialog {
    transition-duration: 1ms;
  }
}
