:root {
  --ink: #0f172a;
  --night: #0d1b3f;
  --cream: #f5f6fa;
  --paper: #fff;
  --blue: #4f46e5;
  --on-dark: #c7d2fe;
  --muted: #5b6477;
  --line: #e4e7ef;
  --sans:
    "Pretendard Variable", Pretendard, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR",
    sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1040px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  font: 400 16px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #d97516;
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.23;
  letter-spacing: -0.035em;
}
svg {
  max-width: 100%;
}
button,
a,
input {
  touch-action: manipulation;
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 1100;
  background: white;
  color: var(--ink);
  padding: 8px 15px;
}
.skip:focus {
  top: 12px;
}
.darktop {
  color: #fff;
  background:
    radial-gradient(60% 80% at 85% 10%, #6366f159, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, #ec489929, transparent 60%),
    linear-gradient(160deg, #0d1b3f, #13244f 55%, #0b1633);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-area {
  display: grid;
  grid-template-columns: 0.97fr 1.12fr;
  align-items: center;
  gap: 4px;
  padding: 35px 0;
  min-height: 380px;
}
.hero-text {
  position: relative;
  z-index: 1;
}
.hero-text .over,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.045em;
  font-weight: 700;
}
.hero-text .over {
  color: #c7d2fe;
  margin-bottom: 22px;
}
.over::before,
.eyebrow::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 23px;
  height: 2px;
  background: currentColor;
}
.over::before {
  color: var(--on-dark);
}
.hero-text h1 {
  font-size: clamp(36px, 4.3vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.hero-text h1 span {
  color: #ff68b7;
}
.hero-text .lead {
  color: #d1daea;
  margin: 24px 0 27px;
  max-width: 440px;
  font-size: clamp(15px, 1.29vw, 18px);
  line-height: 1.85;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.action {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  padding: 12px 18px;
  min-height: 48px;
}
.action.primary {
  background: var(--blue);
  color: white;
}
.action.primary:hover {
  background: #4338ca;
}
.action.secondary {
  background: #fff;
  color: var(--night);
}
.action.secondary:hover {
  background: #eef2ff;
  color: var(--blue);
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(#7994bc0d 1px, transparent 1px), linear-gradient(90deg, #7994bc0d 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse, #000, transparent 72%);
}
.eyebrow {
  color: var(--blue);
  margin-bottom: 12px;
}
.headline {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.26;
}
.sintro {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
  max-width: 670px;
}
.sectionpad {
  padding: 32px 0;
}
.examstrip {
  background: #fff;
  border-bottom: 1px solid #e4e7ef;
}
.examintro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}
.examintro h2 {
  font-size: 17px;
}
.examintro p {
  color: #57637a;
  font-size: 12px;
}
.examrow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 17px 0 23px;
}
.examcard {
  display: flex;
  align-items: center;
  gap: 13px;
  border-left: 1px solid #d6d9d6;
  padding: 3px 16px;
}
.examcard:first-child {
  border-left: 0;
  padding-left: 0;
}
.examcard svg {
  width: 45px;
  height: 42px;
  flex-shrink: 0;
}
.examcard strong {
  display: block;
  font: 700 16px/1.4 var(--sans);
  letter-spacing: -0.035em;
}
.examcard small {
  display: block;
  color: #596378;
  font-size: 12px;
  line-height: 1.6;
}
.mono {
  font-family: var(--mono);
  letter-spacing: 0.03em;
}
.timearea {
  background: #f5f6fa;
  border-block: 1px solid #d3dce4;
}
.timehead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 25px;
}
.hinttag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bbc7d4;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 11px;
  color: #45556b;
  white-space: nowrap;
}
.timebox {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  background: #fff;
  border: 1px solid #c9d4df;
  border-radius: 16px;
  overflow: hidden;
}
.timecontrol {
  padding: 27px;
  border-right: 1px solid #cbd5df;
}
.timecontrol fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.timecontrol label,
.timecontrol legend {
  font-size: 14px;
  font-weight: 700;
}
.rangevalue {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.rangevalue output {
  font: bold 25px/1.2 var(--sans);
  color: var(--blue);
}
.range-wrap {
  margin: 12px 0 22px;
}
.range-wrap input {
  width: 100%;
  accent-color: var(--blue);
  margin: 0;
  vertical-align: middle;
  min-height: 28px;
  cursor: pointer;
}
.ends {
  display: flex;
  justify-content: space-between;
  color: #586376;
  font-size: 11px;
}
.twomodes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.twomodes button {
  border: 1px solid #bdc8d4;
  color: #46566b;
  background: #fff;
  padding: 8px 11px;
  font-size: 13px;
  border-radius: 6px;
}
.twomodes button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.modelnote {
  font-size: 12px;
  color: #59667a;
  margin-top: 18px;
}
.timechart {
  padding: 25px 30px;
}
.timeres {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  color: #142445;
}
.timeres b {
  font-family: var(--mono);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.09em;
  color: var(--blue);
}
.timeres span {
  font-size: 18px;
  font-weight: 700;
}
.timeres em {
  font-size: 12px;
  color: #55677c;
  font-style: normal;
}
.barmeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #364158;
  font-size: 13px;
  margin: 12px 0 4px;
}
.barmeta b {
  font-family: var(--mono);
  font-size: 13px;
}
.tm-track {
  height: 19px;
  display: flex;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #eff2f2 0px, #eff2f2 4px, #f9f9f4 4px, #f9f9f4 8px);
}
.tm-seg {
  height: 100%;
  transition: width 0.3s;
}
.tm-reg {
  background: #586c88;
}
.tm-check {
  background: #9ec5ed;
}
.tm-learn {
  background: #4f46e5;
}
.tm-extra {
  background: #158575;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin-top: 14px;
  font-size: 11px;
  color: #465367;
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 5px;
}
.timefoot {
  font-size: 12px;
  color: #4b576b;
  margin: 10px 0 0;
}
.timecalc {
  font: 12px/1.7 var(--sans);
  color: #49576c;
  margin-top: 12px;
}
.expert {
  background: var(--night);
  color: #e9f3ff;
  position: relative;
}
.expert .eyebrow {
  color: var(--on-dark);
}
.expert .sintro {
  color: #c4cede;
}
.expgrid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 45px;
  align-items: center;
  margin-top: 27px;
}
.expfig {
  border: 1px solid #485a77;
  border-radius: 12px;
  overflow: hidden;
  background: #172943;
}
.expfig svg {
  display: block;
  width: 100%;
  height: auto;
}
.expfig figcaption {
  padding: 10px 15px;
  font-size: 12px;
  color: #c6d3e4;
  border-top: 1px solid #3d526c;
}
.expsteps {
  padding: 0;
  margin: 0;
  list-style: none;
}
.expsteps li {
  display: grid;
  grid-template-columns: 30px auto;
  gap: 13px;
  align-items: start;
  position: relative;
  padding: 0 0 18px;
}
.expsteps li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: 0;
  width: 1px;
  background: #547084;
}
.expsteps li:last-child {
  padding-bottom: 0;
}
.expsteps li:last-child::before {
  display: none;
}
.expsteps .dot {
  height: 27px;
  width: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 12px var(--mono);
  color: var(--on-dark);
  border: 1px solid #818cf8;
  background: #172942;
}
.expsteps b {
  font-size: 17px;
}
.expsteps p {
  font-size: 14px;
  color: #becbdd;
  margin-top: 3px;
  line-height: 1.65;
}
.family {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.familygrid {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  gap: 55px;
  align-items: center;
}
.family .eyebrow {
  color: var(--blue);
}
.family .headline {
  font-size: clamp(26px, 3vw, 34px);
}
.family-note {
  margin-top: 18px;
  border-left: 3px solid #a5b4fc;
  padding-left: 12px;
  color: var(--muted);
  font-size: 14px;
}
.report {
  background: #fff;
  border: 1px solid #e4e7ef;
  box-shadow: 0 6px 20px -8px #0d1b3f26;
  border-radius: 16px;
  overflow: hidden;
}
.reporthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 19px;
  background: #eef2ff;
  gap: 12px;
}
.reporthead b {
  font-size: 16px;
}
.reporthead span {
  font-size: 11px;
}
.reportlist {
  padding: 0 18px 6px;
  margin: 0;
}
.reportlist > div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e4db;
}
.reportlist > div:last-child {
  border: 0;
}
.reportlist dt {
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: start;
  gap: 7px;
}
.reportlist dd {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #3d4858;
}
.rpin {
  margin-top: 4px;
  border: 2px solid #64823b;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  flex: none;
}
.reportlist > div:nth-child(2) .rpin {
  background: #ceef87;
}
.reportlist > div:last-child .rpin {
  border-radius: 2px;
  background: #6a843b;
}
.contact {
  background: var(--night);
  color: #fff;
}
.contactbox {
  padding: 48px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
}
.contact h2 {
  font-size: clamp(23px, 2.6vw, 38px);
}
.contact p {
  color: #c6cfdf;
  font-size: 14px;
  margin-top: 9px;
}
.contactlink {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.contactlink > a:last-child {
  font-size: 13px;
  color: #d8e2ef;
  white-space: nowrap;
}
.credits {
  background: #f5f6fa;
}
.sources {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 13px;
}
.sources summary {
  cursor: pointer;
  font-weight: bold;
  color: #364560;
}
.sources ul {
  columns: 2;
  list-style: disc;
  line-height: 1.6;
  margin: 14px 0 8px;
  padding-left: 20px;
}
.sources li {
  break-inside: avoid;
  margin: 5px 0;
}
.sources a,
.contactlink > a:last-child {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contactlink > a:last-child {
  color: #e0e7ff;
}
.source-note {
  font-size: 12px;
  color: #53606d;
}
.foot {
  padding: 17px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #4f5a6a;
  font-size: 11px;
}
.foot strong {
  font: 700 11px var(--mono);
  letter-spacing: 0.11em;
}
@media (max-width: 880px) {
  .wrap {
    width: min(var(--max), calc(100% - 46px));
  }
  .hero-area {
    grid-template-columns: 1fr 1.06fr;
    min-height: 320px;
    padding: 30px 0;
  }
  .hero-text h1 {
    font-size: clamp(34px, 5.8vw, 55px);
  }
  .hero-text .lead {
    font-size: 14px;
    margin: 16px 0;
  }
  .hero-text .over {
    margin-bottom: 14px;
  }
  .sectionpad {
    padding: 32px 0;
  }
  .examcard {
    gap: 8px;
    padding-inline: 10px;
  }
  .examcard svg {
    width: 34px;
  }
  .examcard strong {
    font-size: 14px;
  }
  .timebox {
    grid-template-columns: 0.85fr 1.2fr;
  }
  .timecontrol,
  .timechart {
    padding: 20px;
  }
  .expgrid,
  .familygrid {
    gap: 25px;
  }
  .sources ul {
    columns: 1;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .hero-area {
    grid-template-columns: 1fr;
    padding: 34px 0 12px;
    gap: 2px;
  }
  .hero-text h1 {
    font-size: clamp(36px, 9.6vw, 54px);
  }
  .hero-text .over {
    font-size: 11px;
  }
  .hero-text .lead {
    margin: 13px 0 17px;
    max-width: 510px;
  }
  .hero-art {
    width: min(100%, 460px);
    justify-self: center;
  }
  .actions {
    gap: 15px;
  }
  .action {
    padding: 10px 15px;
  }
  .examintro {
    align-items: start;
    gap: 4px;
    flex-direction: column;
    padding-top: 16px;
  }
  .examrow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 0 16px;
    gap: 13px 0;
  }
  .examcard,
  .examcard:first-child {
    padding: 0 9px;
  }
  .examcard:nth-child(odd) {
    border: 0;
    padding-left: 0;
  }
  .examcard small {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .timehead {
    display: block;
  }
  .timehead .hinttag {
    margin-top: 12px;
  }
  .timebox,
  .expgrid,
  .familygrid {
    grid-template-columns: 1fr;
  }
  .timecontrol {
    border: 0;
    border-bottom: 1px solid #cbd5df;
  }
  .timechart,
  .timecontrol {
    padding: 17px;
  }
  .sectionpad {
    padding: 44px 0;
  }
  .headline {
    font-size: 31px;
  }
  .sintro {
    font-size: 14px;
  }
  .contactbox {
    align-items: start;
    flex-direction: column;
    padding: 32px 0;
    gap: 15px;
  }
  .foot {
    align-items: start;
    flex-direction: column;
  }
  .reportlist > div {
    grid-template-columns: 90px 1fr;
  }
  .reportlist dd {
    font-size: 13px;
  }
  .contactlink {
    gap: 12px;
  }
  .timefoot {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  body {
    font-size: 10pt;
  }
  html {
    scroll-behavior: auto;
  }
  #navBarContainer,
  .jump-links,
  .actions,
  .contact,
  .skip {
    display: none !important;
  }
  .sectionpad {
    padding: 20px 0;
  }
  .wrap {
    width: 96%;
  }
  .hero-area {
    min-height: 0;
    padding: 12px 0;
  }
  .hero-text h1 {
    font-size: 28pt;
  }
  .hero-art {
    max-width: 400px;
  }
  .timebox,
  .report,
  .expfig {
    break-inside: avoid;
  }
  .darktop,
  .expert,
  .examstrip,
  .reporthead {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .foot {
    padding: 5px 0;
  }
}
.method {
  background: var(--cream);
  padding: 32px 0;
  border-top: 1px solid #e4e7ef;
}
.method .eyebrow {
  color: var(--blue);
}
.method .headline {
  font-size: clamp(24px, 2.6vw, 36px);
}
.method .sintro {
  font-size: 14px;
  max-width: 780px;
}
.method-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 16px;
}
.method-flow figure {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4e7ef;
}
.method-flow svg {
  height: 62px;
  width: 154px;
  display: block;
  margin-left: -10px;
}
.method-flow b {
  display: block;
  font-size: 16px;
}
.method-flow span {
  display: block;
  font-size: 13px;
  color: #4b5a50;
  margin-top: 4px;
}
.methodnote {
  font-size: 12px;
  color: #52614f;
  margin-top: 14px;
}
@media (max-width: 680px) {
  .method {
    padding: 34px 0;
  }
  .method-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .method-flow figure {
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
  }
  .method-flow svg {
    width: 90px;
    height: 50px;
    margin: 0;
  }
  .method-flow b {
    font-size: 14px;
  }
}

.hero-caption {
  display: none;
}
@media (max-width: 680px) {
  .hero-art {
    flex-direction: column;
  }
  .hero-caption {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #dae8f7;
    font-size: 11px;
    margin: -5px 0 8px;
  }
  .hero-caption span {
    color: #accb90;
  }
  .examcard {
    align-items: flex-start;
  }
  .examcard svg {
    margin-top: 3px;
  }
}
@media (max-width: 380px) {
  .hero-text h1 {
    font-size: clamp(29px, 9vw, 35px);
  }
  .examcard svg {
    width: 27px;
  }
  .examcard {
    gap: 6px;
  }
  .examcard strong {
    font-size: 12px;
  }
  .examcard small {
    font-size: 10.5px;
  }
  .actions {
    gap: 10px;
  }
  .actions .action {
    font-size: 12px;
  }
  .method-flow figure {
    grid-template-columns: 70px 1fr;
  }
  .method-flow svg {
    width: 75px;
  }
}

.hd-k {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.hd-n {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
}
.hd-signal {
  stroke-dasharray: 2 230;
  stroke-dashoffset: 230;
  animation: hd-trace 5s linear infinite;
}
@keyframes hd-trace {
  0%,
  15% {
    stroke-dashoffset: 230;
  }
  80%,
  100% {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hd-signal {
    animation: none;
    display: none;
  }
}
@media print {
  .hd-signal {
    animation: none;
    display: none;
  }
}

#diagnosis {
  --dx-ink: #0f172a;
  --dx-blue: #4338ca;
  --dx-coral: #b54728;
  --dx-hair: #ccd0cb;
  --dx-paper: #fffcf4;
  background: #f5f6fa;
  color: var(--dx-ink);
  padding: 32px 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
#diagnosis * {
  box-sizing: border-box;
}
#diagnosis .dx-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
#diagnosis h2,
#diagnosis h3,
#diagnosis p,
#diagnosis figure {
  margin: 0;
}
#diagnosis .dx-kicker {
  color: var(--dx-blue);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
#diagnosis .dx-kicker:before {
  content: "";
  height: 2px;
  width: 28px;
  background: currentColor;
}
#diagnosis h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.23;
  letter-spacing: -0.065em;
  font-weight: 800;
}
#diagnosis .dx-lede {
  font-size: clamp(0.94rem, 1.45vw, 1.13rem);
  line-height: 1.7;
  color: #455063;
  margin: 14px 0 26px;
}
#diagnosis .dx-desk {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: clamp(18px, 3.2vw, 46px);
  align-items: start;
}
#diagnosis .dx-paper {
  position: relative;
  background: repeating-linear-gradient(to bottom, transparent 0 26px, #d3d8df88 26px 27px), #fffdf5;
  border: 1px solid #d3d5ca;
  min-height: 325px;
  box-shadow:
    0 4px 0 -1px #ebe9dd,
    0 5px 0 0 #d6d8cc;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 4px;
  overflow: hidden;
}
#diagnosis .dx-paper:before {
  content: "";
  background: #e9a29b99;
  position: absolute;
  left: clamp(12px, 1.7vw, 25px);
  width: 1px;
  top: 0;
  bottom: 0;
}
#diagnosis .dx-letterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}
#diagnosis .dx-letterhead b {
  color: #38475a;
}
#diagnosis .dx-letterhead span {
  background: #fffdf5;
  color: var(--dx-coral);
  padding: 0.23em 0.62em;
  border: 1px solid #d88c74;
  border-radius: 3px;
  transform: rotate(3deg);
}
#diagnosis .dx-prompt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.55vw, 2.14rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 29px 0 24px;
  font-style: normal;
  max-width: 19em;
  word-break: normal;
}
#diagnosis mark {
  color: var(--dx-ink);
  background: linear-gradient(transparent 50%, #e2ef96 50% 93%, transparent 93%);
  padding: 0 2px;
}
#diagnosis .dx-code {
  font:
    600 clamp(0.92rem, 1.7vw, 1.25rem) / 1.7 ui-monospace,
    Consolas,
    "Liberation Mono",
    monospace;
  word-break: normal;
  display: inline-block;
  color: #26324a;
}
#diagnosis .dx-code small {
  font:
    500 0.68em/1 ui-monospace,
    monospace;
  color: #626b75;
  margin-right: 9px;
}
#diagnosis .dx-token {
  color: var(--dx-coral);
  outline: 2px solid var(--dx-coral);
  outline-offset: 3px;
  border-radius: 50% 36% 54% 49%;
  position: relative;
  margin: 0 3px;
}
#diagnosis .dx-token:after {
  content: "";
  position: absolute;
  top: 125%;
  left: 80%;
  height: 17px;
  width: 15px;
  border-left: 1.65px solid var(--dx-coral);
  border-bottom: 1.65px solid var(--dx-coral);
  transform: skew(14deg);
  border-radius: 0 0 0 7px;
}
#diagnosis .dx-grade {
  display: block;
  color: var(--dx-coral);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
  margin: 7px 0 0 34%;
}
#diagnosis .dx-caption {
  margin: 23px 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #5c6470;
}
#diagnosis .dx-controls {
  display: none;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin: 0 0 17px;
}
#diagnosis[data-ready] .dx-controls {
  display: flex;
}
#diagnosis button,
#diagnosis summary {
  font-family: inherit;
  cursor: pointer;
}
#diagnosis .dx-tab {
  background: transparent;
  border: 1px solid #b9c1c4;
  color: #364256;
  padding: 7px 15px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
  min-height: 42px;
}
#diagnosis .dx-tab[aria-selected="true"] {
  background: var(--dx-ink);
  color: white;
  border-color: var(--dx-ink);
}
#diagnosis [hidden] {
  display: none !important;
}
#diagnosis button:focus-visible,
#diagnosis summary:focus-visible {
  outline: 3px solid #3562e4;
  outline-offset: 4px;
}
#diagnosis .dx-case + .dx-case {
  margin-top: 20px;
}
#diagnosis[data-ready] .dx-case + .dx-case {
  margin-top: 0;
}
#diagnosis .dx-thought {
  font-size: clamp(1.04rem, 2vw, 1.48rem);
  font-weight: 780;
  line-height: 1.45;
  letter-spacing: -0.045em;
}
#diagnosis .dx-correction {
  margin: 8px 0 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #455063;
}
#diagnosis .dx-numberline {
  display: block;
  width: 100%;
  height: auto;
  max-width: 555px;
  margin: 8px 0 15px;
}
#diagnosis .dx-numberline text {
  font:
    600 14px system-ui,
    sans-serif;
  fill: #344357;
}
#diagnosis .dx-testgrid {
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  align-items: center;
  text-align: center;
  font:
    600 0.86rem/1.55 ui-monospace,
    monospace;
  margin: 12px 0 14px;
  padding: 4px 0;
  color: #263449;
  border-block: 1px solid var(--dx-hair);
}
#diagnosis .dx-testgrid > * {
  padding: 5px 3px;
}
#diagnosis .dx-testgrid .dx-th {
  text-align: left;
  font-family: inherit;
  font-size: 0.78rem;
}
#diagnosis .dx-testgrid code {
  color: var(--dx-blue);
  background: transparent;
  font-size: 1em;
}
#diagnosis .dx-new {
  border-top: 1px solid #bec5c5;
  padding-top: 4px;
}
#diagnosis .dx-new > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  color: var(--dx-blue);
  font-weight: 800;
  font-size: 0.94rem;
  list-style: none;
}
#diagnosis .dx-new > summary::-webkit-details-marker {
  display: none;
}
#diagnosis .dx-new > summary:after {
  content: "+";
  margin-left: auto;
  font-weight: 500;
  font-size: 1.3rem;
}
#diagnosis .dx-new[open] > summary:after {
  content: "−";
}
#diagnosis .dx-quiz-prompt {
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 5px 0 11px;
}
#diagnosis .dx-quiz-prompt code {
  padding: 0 0.25em;
  color: var(--dx-blue);
  background: #e5ebf6;
}
#diagnosis .dx-answers {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
#diagnosis[data-ready] .dx-answers {
  display: flex;
}
#diagnosis .dx-opt {
  border: 1px solid #adb7bc;
  border-radius: 5px;
  background: #fffdf7;
  color: var(--dx-ink);
  padding: 6px 13px;
  min-height: 40px;
  font-size: 0.94rem;
  font-weight: 700;
}
#diagnosis .dx-opt[aria-pressed="true"] {
  background: var(--dx-ink);
  color: white;
  border-color: var(--dx-ink);
}
#diagnosis .dx-response {
  color: #263e5b;
  line-height: 1.55;
  font-size: 0.9rem;
}
#diagnosis .dx-response:not(:empty) {
  border-left: 3px solid var(--dx-blue);
  padding: 6px 0 6px 10px;
}
#diagnosis[data-ready] .dx-key {
  display: none;
}
#diagnosis .dx-key {
  font-size: 0.86rem;
  line-height: 1.5;
}
@media (max-width: 760px) {
  #diagnosis .dx-inner {
    width: calc(100% - 40px);
  }
  #diagnosis .dx-desk {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #diagnosis .dx-paper {
    min-height: auto;
    padding: 21px 24px 20px;
  }
  #diagnosis .dx-prompt {
    margin: 15px 0 14px;
    max-width: none;
  }
  #diagnosis .dx-caption {
    margin-top: 20px;
  }
  #diagnosis .dx-grade {
    margin-left: 27%;
    margin-top: 7px;
  }
}
@media print {
  #diagnosis .dx-controls,
  #diagnosis .dx-new {
    display: none !important;
  }
  #diagnosis .dx-case[hidden] {
    display: block !important;
    margin-top: 14px !important;
  }
}

.ctbridge {
  --ctb-ink: #0f172a;
  --ctb-muted: #49596a;
  --ctb-blue: #4338ca;
  --ctb-paper: #f5f6fa;
  --ctb-rule: #ced1ca;
  background: var(--ctb-paper);
  color: var(--ctb-ink);
  padding: 32px 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.ctbridge * {
  box-sizing: border-box;
}
.ctbridge .ctb-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.ctbridge h2,
.ctbridge h3,
.ctbridge p,
.ctbridge figure,
.ctbridge dl,
.ctbridge dd {
  margin: 0;
}
.ctbridge .ctb-lead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin: 0 0 25px;
}
.ctbridge .ctb-kicker {
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: var(--ctb-blue);
  margin-bottom: 10px;
}
.ctbridge h2 {
  font-family: inherit;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.24;
  font-weight: 790;
  letter-spacing: -0.065em;
  color: var(--ctb-ink);
}
.ctbridge .ctb-lead > p {
  max-width: 370px;
  color: var(--ctb-muted);
  font-size: 15px;
  line-height: 1.75;
}
.ctbridge .ctb-switch {
  display: none;
}
.ctbridge[data-ctb-ready] .ctb-switch {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ctb-rule);
  border-bottom: 1px solid var(--ctb-rule);
  gap: 0;
}
.ctbridge button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.ctbridge .ctb-tab {
  padding: 15px 8px;
  appearance: none;
  border: 0;
  background: none;
  text-align: center;
  font-weight: 680;
  font-size: clamp(12px, 1.35vw, 16px);
  color: var(--ctb-muted);
  position: relative;
  line-height: 1.4;
}
.ctbridge .ctb-tab[aria-selected="true"] {
  color: var(--ctb-blue);
}
.ctbridge .ctb-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ctb-blue);
}
.ctbridge :is(button, summary):focus-visible {
  outline: 3px solid #df7200;
  outline-offset: 3px;
  z-index: 2;
}
.ctbridge .ctb-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  padding: 32px 0 23px;
}
.ctbridge[data-ctb-ready] [hidden] {
  display: none !important;
}
.ctbridge .ctb-figure {
  border-radius: 18px;
  background: #f1f3fa;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d6dbec;
  padding: clamp(15px, 2vw, 23px);
  color: var(--ctb-ink);
}
.ctbridge .ctb-panel:nth-of-type(2) .ctb-figure {
  background: #eaeef4;
}
.ctbridge .ctb-diaghead {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 720;
}
.ctbridge .ctb-diaghead small {
  white-space: nowrap;
  border: 1px solid #b7bfb8;
  border-radius: 14px;
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.03em;
  font-weight: 650;
  color: #42524b;
  line-height: 1.5;
}
.ctbridge figure > svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 9px 0 0;
  overflow: visible;
}
.ctbridge svg text {
  font-family: inherit;
  fill: var(--ctb-ink);
}
.ctbridge svg .ctb-mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.ctbridge .ctb-caption {
  min-height: 2.8em;
  color: #394a43;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 7px;
}
.ctbridge .ctb-controls {
  display: none;
}
.ctbridge[data-ctb-ready] .ctb-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #c7cec6;
  padding-top: 10px;
  margin-top: 8px;
}
.ctbridge .ctb-controls > span {
  font-size: 12px;
  color: #394a43;
  margin-right: 4px;
}
.ctbridge .ctb-chip {
  border: 1px solid #a8b4ae;
  border-radius: 25px;
  background: transparent;
  min-height: 35px;
  min-width: 42px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 680;
}
.ctbridge .ctb-chip[aria-pressed="true"] {
  background: var(--ctb-ink);
  color: white;
  border-color: var(--ctb-ink);
}
.ctbridge .ctb-route {
  color: var(--ctb-blue);
  font-weight: 720;
  font-size: 12px;
  margin-bottom: 8px;
}
.ctbridge h3 {
  font-size: clamp(23px, 2.3vw, 35px);
  font-weight: 760;
  line-height: 1.31;
  letter-spacing: -0.058em;
}
.ctbridge .ctb-dl {
  margin-top: 15px;
}
.ctbridge .ctb-dl > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  border-top: 1px solid var(--ctb-rule);
  padding: 10px 0;
}
.ctbridge .ctb-dl dt {
  font-size: 12px;
  line-height: 1.75;
  font-weight: 720;
  color: #354e76;
}
.ctbridge .ctb-dl dd {
  font-size: 14px;
  line-height: 1.65;
  color: #344458;
}
.ctbridge .ctb-more {
  margin-top: 16px;
  border-top: 1px solid var(--ctb-rule);
}
.ctbridge .ctb-more summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13px;
  list-style: none;
  padding: 15px 0;
  font-size: 14px;
  font-weight: 700;
}
.ctbridge .ctb-more summary::-webkit-details-marker {
  display: none;
}
.ctbridge .ctb-more summary svg {
  width: 67px;
  height: 28px;
  flex-shrink: 0;
}
.ctbridge .ctb-more summary::after {
  content: "+";
  margin-left: auto;
  font-size: 21px;
  color: var(--ctb-blue);
  line-height: 1;
  font-weight: 400;
}
.ctbridge .ctb-more[open] summary::after {
  content: "−";
}
.ctbridge .ctb-more p {
  font-size: 14px;
  color: var(--ctb-muted);
  line-height: 1.75;
  padding: 0 20px 15px 80px;
  max-width: 880px;
}
.ctbridge .ctb-more + .ctb-more {
  margin: 0;
  border-bottom: 1px solid var(--ctb-rule);
}
.ctbridge .ctb-active-point {
  transition: transform 0.28s ease;
}
.ctbridge .ctb-bar,
.ctbridge .ctb-pathpiece {
  transition:
    fill 0.22s,
    stroke 0.22s;
}
@media (max-width: 760px) {
  .ctbridge .ctb-lead {
    display: block;
  }
  .ctbridge .ctb-lead > p {
    margin-top: 12px;
    max-width: 560px;
  }
  .ctbridge .ctb-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
    padding-top: 20px;
  }
  .ctbridge .ctb-figure {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }
  .ctbridge .ctb-dl > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}
@media (max-width: 420px) {
  .ctbridge .ctb-tab {
    font-size: 12px;
    padding: 12px 3px;
  }
  .ctbridge .ctb-inner {
    width: calc(100% - 32px);
  }
  .ctbridge .ctb-figure {
    padding: 13px;
  }
  .ctbridge .ctb-caption {
    font-size: 12px;
  }
  .ctbridge .ctb-more p {
    padding-left: 0;
  }
  .ctbridge .ctb-more summary svg {
    width: 49px;
  }
  .ctbridge .ctb-lead > p {
    font-size: 14px;
  }
  .ctbridge .ctb-dl > div {
    gap: 9px;
    grid-template-columns: 71px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ctbridge *,
  .ctbridge *::before,
  .ctbridge *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .ctbridge[data-ctb-ready] .ctb-panel[hidden] {
    display: grid !important;
  }
  .ctbridge .ctb-switch,
  .ctbridge .ctb-controls {
    display: none !important;
  }
  .ctbridge .ctb-panel {
    break-inside: avoid;
  }
  .ctbridge .ctb-more p {
    display: block !important;
  }
}

#navBarContainer {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}
#mainNavBar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
#mainNavBar .gradient-btn {
  background: var(--night);
  color: #fff;
}
#mobileMenu {
  max-height: calc(100dvh - 65px);
  overflow-y: auto;
}
.jump-links {
  background: white;
  border-bottom: 1px solid var(--line);
}
.jump-links .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #4338ca;
  font-size: 14px;
  font-weight: 700;
}
.jump-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 680px) {
  .jump-links .wrap {
    gap: 0 14px;
  }
  .jump-links a {
    font-size: 13px;
  }
  .sectionpad,
  #diagnosis,
  .ctbridge,
  .method {
    padding-block: 24px;
  }
}
