:root {
  color-scheme:light;
  --bg:#f6f8f7;
  --paper:#fff;
  --ink:#192f30;
  --muted:#627373;
  --line:#e1e8e5;
  --teal:#11675b;
  --mint:#eaf4ed;
  --amber:#aa651f;
  --red:#b7453c;
  --purple:#7375b4;
  --radius:20px;
  font-family:Inter,"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-size:14px;
  line-height:1.6;
  word-break:keep-all
}
button,input {
  font:inherit
}
button,a,input {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #439e8a;
  outline-offset:4px
}
button:disabled {
  cursor:not-allowed
}
h1,h2,h3,p,dl,dd {
  margin:0
}
h2 {
  font-size:22px;
  letter-spacing:-.7px;
  line-height:1.4
}
h3 {
  font-size:17px;
  letter-spacing:-.4px
}
fieldset {
  min-width:0;
  margin:0;
  padding:0;
  border:0
}
legend {
  padding:0
}
input {
  min-width:0
}
[hidden] {
  display:none!important
}
.page {
  max-width:1264px;
  margin:auto;
  padding:0 32px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link {
  position:fixed;
  top:12px;
  left:20px;
  padding:12px;
  background:var(--ink);
  color:white;
  z-index:20;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(100%)
}
.skip-link:focus {
  width:auto;
  height:auto;
  clip-path:none
}
.topbar {
  height:77px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  font-size:12px;
  color:var(--muted)
}
.topbar-label {
  font-weight:650;
  color:#39524e
}
.topbar a {
  padding:10px 0
}
.topbar a span {
  margin-left:8px
}
.hero {
  display:grid;
  grid-template-columns:1fr 305px;
  gap:45px;
  align-items:center;
  padding:48px 0 45px
}
.eyebrow {
  font-size:10px;
  font-weight:750;
  letter-spacing:1.8px;
  color:var(--teal);
  display:flex;
  align-items:center;
  gap:8px
}
.small-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#408a70
}
h1 {
  font-size:44px;
  font-weight:750;
  line-height:1.25;
  letter-spacing:-2.5px;
  margin:12px 0 17px
}
.mobile-break {
  display:none
}
.hero-question {
  font-size:19px;
  line-height:1.65;
  letter-spacing:-.6px;
  font-weight:550
}
.hero-description {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  margin-top:10px
}
.hero-note {
  padding:28px;
  border:1px solid #d6e6dc;
  border-radius:var(--radius);
  background:#edf4ef
}
.note-kicker {
  font-size:13px;
  color:#5d786b
}
.hero-note strong {
  display:block;
  font-size:25px;
  letter-spacing:-1px;
  line-height:1.5;
  margin:3px 0 9px;
  font-weight:650
}
.hero-note p {
  font-size:13px;
  color:#62776c
}
.steps {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #d5e4da;
  margin-top:21px;
  padding-top:15px;
  font-size:11px;
  font-weight:650
}
.steps i {
  font-style:normal;
  color:#8a9c92
}
.workspace {
  display:grid;
  grid-template-columns:380px minmax(0,1fr);
  gap:28px;
  align-items:start
}
.card {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius)
}
.input-panel {
  padding:25px
}
.section-heading,.results-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.step-label {
  font-size:10px;
  font-weight:750;
  letter-spacing:1.15px;
  color:#7a8983;
  margin-bottom:7px
}
.pill {
  font-size:10px;
  color:#5f776b;
  border:1px solid #dfebe3;
  background:#f5f9f5;
  border-radius:20px;
  padding:4px 9px;
  white-space:nowrap
}
.section-intro {
  font-size:12px;
  color:var(--muted);
  margin:9px 0 22px
}
.field-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px 13px
}
.full {
  grid-column:1/-1
}
.field label,.management legend {
  font-size:12px;
  font-weight:650;
  display:block;
  margin-bottom:7px
}
.input-wrap {
  display:flex;
  align-items:center;
  border:1px solid #d8e1dd;
  border-radius:9px;
  background:#fff;
  transition:border-color .12s
}
.input-wrap:focus-within {
  border-color:var(--teal);
  box-shadow:0 0 0 3px #11675b0d
}
.input-wrap input {
  width:100%;
  height:43px;
  border:0;
  outline:0;
  background:none;
  padding:10px 0 10px 12px;
  font-size:15px;
  line-height:1.2;
  color:var(--ink);
  font-weight:550;
  font-variant-numeric:tabular-nums;
  border-radius:9px
}
.input-wrap input:focus-visible {
  outline:0
}
.input-wrap:has(input[aria-invalid="true"]) {
  border-color:#c4584c;
  background:#fffaf9
}
.input-wrap>span {
  font-size:11px;
  padding:0 12px 0 5px;
  color:#84928c;
  flex-shrink:0
}
.field-note {
  color:#7a8782;
  font-size:10px;
  line-height:1.65
}
.field-grid>.field-note {
  margin-top:-11px
}
.field-note strong {
  font-weight:650;
  color:#586f63
}
.field-error {
  font-size:11px;
  color:var(--red);
  margin-top:5px;
  line-height:1.5;
  overflow-wrap:anywhere
}
.label-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.label-row>span {
  font-size:10px;
  color:#86948c;
  margin-bottom:7px
}
.management {
  margin-top:18px
}
.segmented {
  display:flex;
  border:1px solid #dce5df;
  border-radius:10px;
  background:#f7f9f7;
  padding:4px;
  gap:4px
}
.segmented label {
  position:relative;
  flex:1;
  min-width:0;
  cursor:pointer
}
.segmented input {
  position:absolute;
  width:1px;
  height:1px;
  opacity:0
}
.segmented label>span {
  display:block;
  text-align:center;
  font-size:12px;
  font-weight:650;
  padding:8px 3px;
  border-radius:7px;
  color:#6e8076;
  border:1px solid transparent
}
.segmented small {
  display:block;
  font-size:10px;
  font-weight:400;
  margin-top:2px
}
.segmented input:checked+span {
  background:white;
  border-color:#d8e5dc;
  color:var(--teal);
  box-shadow:0 2px 4px #1a342309
}
.segmented input:focus-visible+span {
  outline:3px solid #439e8a;
  outline-offset:1px
}
.management>.field-note {
  margin-top:8px
}
.precheck {
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid var(--line)
}
.precheck-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:4px
}
.precheck-heading h3 {
  font-size:13px
}
.precheck-heading>span {
  font-size:9px;
  color:#8b9690
}
.precheck-list {
  margin:12px 0 10px
}
.precheck-list>div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:5px 0;
  font-size:11px
}
.precheck-list dt {
  color:#64756c
}
.precheck-list dd {
  font-size:13px;
  font-weight:650;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
  text-align:right
}
.positive {
  color:var(--teal)
}
.negative {
  color:var(--red)
}
.warnings {
  display:grid;
  gap:8px
}
.warning {
  margin-top:10px;
  padding:11px 12px;
  border-radius:8px;
  background:#fff7e9;
  border:1px solid #f1e1c4;
  font-size:11px;
  line-height:1.7;
  color:#865922
}
.warning strong {
  display:block;
  font-size:11px;
  margin-bottom:3px
}
.warning.blocked {
  color:#9b3f36;
  background:#fff1ed;
  border-color:#efd1c8
}
.form-status {
  font-size:11px;
  color:var(--red);
  margin-top:10px
}
.form-status:empty {
  display:none
}
.primary-button {
  width:100%;
  min-height:49px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  background:var(--teal);
  color:white;
  border:0;
  border-radius:10px;
  margin-top:19px;
  padding:13px;
  font-size:14px;
  font-weight:650;
  box-shadow:0 3px 7px #115e5014
}
.primary-button:hover:not(:disabled) {
  background:#0b564c
}
.primary-button:disabled {
  background:#cbd8d1;
  color:#64776b;
  box-shadow:none
}
.button-arrow {
  font-size:18px;
  font-weight:400
}
.privacy-note {
  text-align:center;
  font-size:9px;
  color:#8a9790;
  margin-top:10px
}
fieldset:disabled .input-wrap,fieldset:disabled .segmented {
  opacity:.65
}
.results-heading {
  min-height:61px;
  margin-bottom:18px
}
.empty-state {
  text-align:center;
  min-height:584px;
  padding:52px 25px 0;
  overflow:hidden
}
.empty-symbol {
  display:grid;
  place-items:center;
  width:60px;
  height:60px;
  margin:0 auto 24px;
  border:1px solid #dce8dd;
  border-radius:18px;
  background:#f2f7f2;
  font-size:32px;
  color:#76977d
}
.empty-state .eyebrow {
  justify-content:center;
  font-size:10px;
  letter-spacing:1px;
  color:#7b8d80
}
.empty-state h3 {
  font-size:28px;
  font-weight:650;
  line-height:1.5;
  letter-spacing:-1px;
  margin:13px 0
}
.empty-state>p:not(.eyebrow) {
  font-size:13px;
  color:var(--muted);
  line-height:1.9
}
.empty-metrics {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  padding:34px 0
}
.empty-metrics>div {
  padding:5px
}
.empty-metrics>div+div {
  border-left:1px solid var(--line)
}
.empty-metrics strong {
  font-size:11px;
  font-weight:600;
  display:block;
  margin-bottom:7px
}
.empty-metrics span {
  font-size:10px;
  color:#7c8d82
}
.empty-bottom {
  padding:18px;
  margin:0 -25px;
  background:#fafbf9;
  border-top:1px solid var(--line);
  color:#89968d;
  font-size:11px
}
.result-context {
  font-size:11px;
  color:#74867c;
  margin:-3px 0 13px
}
.metric-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:20px
}
.metric {
  border:1px solid var(--line);
  background:white;
  border-radius:14px;
  padding:19px 21px;
  min-width:0
}
.metric.featured {
  background:#eaf3ed;
  border-color:#d4e4d8
}
.metric p {
  font-size:11px;
  font-weight:600;
  color:#536e5e
}
.metric strong {
  display:block;
  font-size:29px;
  font-weight:650;
  letter-spacing:-1.1px;
  line-height:1.4;
  margin:9px 0 7px;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere
}
.metric.featured strong {
  font-size:27px;
  color:#215940
}
.metric>span {
  display:block;
  font-size:10px;
  color:#88968c
}
.chart-card {
  padding:24px;
  margin-bottom:20px
}
.chart-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px
}
.chart-heading p {
  font-size:11px;
  color:#7b8d82;
  margin-top:4px
}
.unit-label {
  font-size:9px;
  color:#829188;
  white-space:nowrap
}
.chart-legend {
  display:flex;
  gap:15px;
  margin:18px 0 5px
}
.legend-button {
  border:0;
  background:none;
  padding:6px 0;
  font-size:10px;
  display:flex;
  align-items:center;
  gap:7px;
  color:#60736a
}
.legend-button>span {
  display:block;
  width:17px;
  border-top:2px solid currentColor
}
.p05 {
  --series:#b57b40
}
.median {
  --series:#126957
}
.p95 {
  --series:#777db9
}
.legend-button>span,.path-values>div>span {
  color:var(--series)
}
.legend-button[aria-pressed="false"] {
  opacity:.4;
  text-decoration:line-through
}
#chart-wrap {
  width:100%;
  min-width:0
}
#equity-chart {
  display:block;
  width:100%;
  height:292px;
  overflow:visible;
  touch-action:pan-y
}
.chart-axis {
  font-size:10px;
  fill:#849489;
  font-family:inherit;
  font-variant-numeric:tabular-nums
}
.chart-grid {
  stroke:#edf0ed;
  stroke-width:1
}
.chart-inspector {
  padding-top:14px;
  border-top:1px solid #edf1ee
}
.chart-inspector label,.chart-inspector output {
  font-size:10px;
  color:#73867b
}
.chart-inspector output {
  font-weight:600
}
#chart-position {
  width:100%;
  accent-color:var(--teal);
  height:22px;
  margin:7px 0 10px;
  cursor:pointer
}
.path-values {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}
.path-values>div {
  min-width:0
}
.path-values span {
  font-size:9px;
  display:block
}
.path-values strong {
  font-size:12px;
  display:block;
  font-weight:600;
  margin-top:3px;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere
}
.chart-footnote {
  font-size:10px;
  line-height:1.75;
  color:#87958b;
  margin-top:17px
}
.detail-card {
  padding:23px 24px;
  margin-bottom:20px
}
.detail-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:5px;
  gap:0 15px
}
.detail-grid>div {
  padding:18px 0 13px;
  min-width:0
}
.detail-grid>div:nth-child(n+4) {
  border-top:1px solid #edf1ee
}
.detail-grid dt {
  font-size:10px;
  color:#7c8b81
}
.detail-grid dd {
  font-size:15px;
  font-weight:600;
  margin-top:8px;
  letter-spacing:-.3px;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere
}
.detail-card .chart-footnote {
  padding-top:15px;
  border-top:1px solid #edf1ee;
  margin-top:0
}
.interpretation {
  border-radius:16px;
  background:#edf2ec;
  padding:25px
}
.interpretation h3 {
  font-size:16px
}
.interpretation ul {
  list-style:none;
  margin:18px 0;
  padding:0;
  display:grid;
  gap:11px
}
.interpretation li {
  font-size:12px;
  color:#536d59;
  padding-left:15px;
  position:relative;
  line-height:1.85
}
.interpretation li:before {
  content:"";
  position:absolute;
  top:9px;
  left:0;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#8aab90
}
.interpretation-note {
  font-size:10px;
  color:#7d8e7e;
  padding-top:14px;
  border-top:1px solid #dce6d9
}
.execution-info {
  font-size:9px;
  line-height:1.8;
  color:#8a978e;
  padding:12px 3px;
  overflow-wrap:anywhere
}
.notice {
  padding:13px 16px;
  border:1px solid #e8dec2;
  border-radius:10px;
  background:#fff9e9;
  color:#84692e;
  font-size:12px;
  margin-bottom:14px
}
.notice.danger {
  color:#a3493f;
  background:#fff2ee;
  border-color:#ecd3c9
}
.loading-panel {
  text-align:center;
  padding:70px 20px;
  min-height:330px
}
.loading-panel h3 {
  font-size:17px
}
.loading-panel p {
  color:var(--muted);
  font-size:12px;
  margin:9px 0 18px
}
#loading-time {
  font-size:12px;
  color:var(--teal);
  font-variant-numeric:tabular-nums
}
.spinner {
  display:block;
  width:30px;
  height:30px;
  border:3px solid #d9e9df;
  border-top-color:var(--teal);
  border-radius:50%;
  animation:spin 1s linear infinite;
  margin:0 auto 25px
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
.limitations {
  margin-top:45px;
  border-top:1px solid #dce5de;
  padding:32px 0;
  display:grid;
  grid-template-columns:380px minmax(0,1fr);
  gap:28px
}
.limitations h2 {
  font-size:18px
}
.limitations>div>p:not(.step-label) {
  font-size:11px;
  color:#7a8980;
  margin-top:12px;
  line-height:1.9
}
.limitation-tags {
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.limitation-tags li {
  border:1px solid #dfe6e0;
  background:#fafbf9;
  border-radius:6px;
  font-size:10px;
  color:#708176;
  padding:5px 9px
}
footer {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:24px 0 30px;
  font-size:10px;
  color:#89968d
}
@media(min-width:1400px) {
  .page {
    max-width:1328px
  }
  .workspace,.limitations {
    grid-template-columns:400px minmax(0,1fr);
    gap:32px
  }
  .hero {
    padding:54px 0 48px
  }
  .hero-note {
    width:305px;
    justify-self:end
  }
  .field-grid {
    gap:19px 15px
  }
  .input-panel {
    padding:27px
  }
  .input-wrap input {
    font-size:16px
  }
}
@media(max-width:1000px) {
  .page {
    padding:0 22px
  }
  .hero {
    grid-template-columns:1fr 260px;
    gap:20px
  }
  h1 {
    font-size:36px;
    letter-spacing:-2px
  }
  .hero-note {
    padding:22px
  }
  .hero-note strong {
    font-size:22px
  }
  .workspace {
    grid-template-columns:335px minmax(0,1fr);
    gap:20px
  }
  .input-panel {
    padding:21px
  }
  .metric {
    padding:16px
  }
  .metric strong,.metric.featured strong {
    font-size:23px
  }
  .chart-card,.detail-card {
    padding:19px
  }
  .detail-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .detail-grid>div:nth-child(3) {
    border-top:1px solid #edf1ee
  }
  .empty-metrics {
    grid-template-columns:1fr;
    gap:0;
    padding:20px
  }
  .empty-metrics>div {
    padding:12px 0
  }
  .empty-metrics>div+div {
    border-left:0;
    border-top:1px solid var(--line)
  }
  .empty-metrics strong {
    margin-bottom:2px
  }
  .limitations {
    grid-template-columns:335px minmax(0,1fr);
    gap:20px
  }
}
@media(max-width:760px) {
  .page {
    max-width:600px;
    padding:0 20px
  }
  .topbar {
    height:62px;
    font-size:10px
  }
  .hero {
    display:block;
    padding:33px 0 30px
  }
  h1 {
    font-size:35px;
    letter-spacing:-2px;
    margin-top:11px
  }
  .hero-question {
    font-size:17px
  }
  .hero-description {
    font-size:12px
  }
  .hero-note {
    margin-top:24px;
    padding:17px 20px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:0 10px;
    align-items:center
  }
  .note-kicker {
    font-size:11px
  }
  .hero-note strong {
    font-size:21px;
    margin:1px 0 0
  }
  .hero-note p {
    font-size:10px;
    grid-column:2;
    grid-row:1/3;
    line-height:1.9
  }
  .steps {
    grid-column:1/-1;
    justify-content:flex-start;
    gap:20px;
    margin-top:13px;
    padding-top:12px;
    font-size:10px
  }
  .workspace {
    grid-template-columns:1fr;
    gap:30px
  }
  .input-panel {
    padding:23px
  }
  .field-grid {
    gap:19px 16px
  }
  .input-wrap input {
    font-size:16px;
    height:46px
  }
  .field label,.management legend {
    font-size:13px
  }
  .field-note {
    font-size:11px
  }
  .field-error {
    font-size:12px
  }
  .precheck-heading h3 {
    font-size:14px
  }
  .precheck-heading>span {
    font-size:10px
  }
  .precheck-list>div {
    font-size:12px;
    padding:6px 0
  }
  .precheck-list dd {
    font-size:14px
  }
  .primary-button {
    min-height:52px;
    font-size:15px
  }
  .privacy-note {
    font-size:10px
  }
  .segmented label>span {
    font-size:13px
  }
  .segmented small {
    font-size:11px
  }
  .results-heading {
    margin-bottom:15px
  }
  .empty-state {
    min-height:0;
    padding:35px 20px 0
  }
  .empty-state h3 {
    font-size:25px
  }
  .empty-symbol {
    margin-bottom:18px
  }
  .empty-metrics {
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding:24px 0
  }
  .empty-metrics>div+div {
    border-top:0;
    border-left:1px solid var(--line)
  }
  .empty-metrics>div {
    padding:5px
  }
  .empty-metrics strong {
    font-size:10px
  }
  .empty-metrics span {
    font-size:9px
  }
  .empty-bottom {
    margin:0 -20px
  }
  .metric-grid {
    gap:10px
  }
  .metric {
    padding:17px;
    min-height:140px
  }
  .metric strong,.metric.featured strong {
    font-size:25px
  }
  .metric p {
    font-size:11px
  }
  .metric>span {
    font-size:10px
  }
  .chart-card,.detail-card {
    padding:20px
  }
  .chart-heading p {
    font-size:10px
  }
  .chart-heading h3 {
    font-size:16px
  }
  #equity-chart {
    height:255px
  }
  .path-values strong {
    font-size:11px
  }
  .detail-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0 10px
  }
  .detail-grid>div:nth-child(3) {
    border-top:0
  }
  .detail-grid dd {
    font-size:14px
  }
  .detail-grid dt {
    font-size:10px
  }
  .interpretation {
    padding:22px
  }
  .interpretation li {
    font-size:12px
  }
  .limitations {
    margin-top:30px;
    grid-template-columns:1fr;
    gap:22px;
    padding:27px 0
  }
  .limitations h2 {
    font-size:18px
  }
  .limitations>div>p:not(.step-label) {
    font-size:12px
  }
  footer {
    font-size:9px;
    padding-bottom:24px
  }
  .result-context {
    font-size:10px
  }
  .execution-info {
    font-size:10px
  }
}
@media(max-width:390px) {
  .page {
    padding:0 15px
  }
  .topbar {
    font-size:9px
  }
  h1 {
    font-size:33px
  }
  .mobile-break {
    display:block
  }
  .desktop-break {
    display:none
  }
  .hero-note {
    padding:16px
  }
  .hero-note strong {
    font-size:19px
  }
  .hero-note p {
    font-size:9px
  }
  .input-panel {
    padding:20px
  }
  .field-grid {
    gap:17px 12px
  }
  .metric {
    padding:14px
  }
  .metric strong,.metric.featured strong {
    font-size:22px
  }
  .metric p {
    font-size:10px
  }
  .detail-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .detail-grid>div:nth-child(3) {
    border-top:1px solid #edf1ee
  }
  .chart-card {
    padding:16px
  }
  .path-values {
    gap:6px
  }
  .path-values strong {
    font-size:10px
  }
  .empty-metrics {
    grid-template-columns:1fr
  }
  .empty-metrics>div {
    padding:10px
  }
  .empty-metrics>div+div {
    border-left:0;
    border-top:1px solid var(--line)
  }
  footer {
    flex-direction:column;
    gap:5px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
  .spinner {
    border-style:dotted
  }
}
@media(max-width:390px) {
  .hero-note {
    grid-template-columns:1fr
  }
  .hero-note strong {
    white-space:nowrap
  }
  .hero-note p {
    grid-column:1;
    grid-row:auto;
    margin-top:8px;
    font-size:10px
  }
  .hero-note p br {
    display:none
  }
  .precheck-heading>span {
    font-size:9px
  }
}
#results-section {
  scroll-margin-top:20px
}
/* Paired Monte Carlo exploration */
.seed-settings { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.seed-settings summary { cursor: pointer; font-size: 11px; color: var(--muted); padding: 7px 0; }
.seed-settings label { display: block; font-size: 11px; margin: 10px 0 6px; }
.seed-settings .seed-lock { display: flex; gap: 8px; align-items: center; color: var(--teal); }
.seed-settings .field-note { margin-top: 7px; }
.seed-settings input[type=checkbox] { accent-color: var(--teal); width: 16px; height: 16px; }
.seed-settings input:disabled { color: #a2ada6; background: #f5f7f5; }
.comparison-card { padding: 23px; margin-bottom: 20px; }
.compare-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 18px; }
.compare-explanation p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.compare-explanation strong { display: block; font-size: 12px; color: var(--ink); margin-bottom: 4px; }
.comparison-table-wrap { width: 100%; overflow-x: auto; }
#comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; }
#comparison-table th, #comparison-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#comparison-table th { font-weight: 550; color: var(--muted); }
#comparison-table th:first-child { width: 37%; text-align: left; }
#comparison-table td { font-weight: 650; }
#comparison-table .selected-mode { color: var(--teal); background: #ecf5ef; }
#comparison-table thead th { font-size: 11px; }
.extra-chart { display: block; width: 100%; height: 260px; }
.distribution-markers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.distribution-markers span { display: block; font-size: 10px; }
.distribution-markers strong { display: block; font-size: 12px; margin-top: 5px; overflow-wrap: anywhere; }
.sample-card { padding: 23px; margin-bottom: 20px; }
.sample-card summary { cursor: pointer; font-size: 15px; font-weight: 650; }
.sample-card summary span { color: var(--muted); font-size: 10px; margin-left: 12px; font-weight: 400; }
.sample-card .section-intro { margin-top: 14px; }
.chart-legend { flex-wrap: wrap; gap: 8px 15px; }
.legend-button { min-height: 36px; }
@media(max-width:760px) {
  .comparison-card, .sample-card { padding: 20px; }
  #comparison-table { font-size: 10px; }
  #comparison-table th, #comparison-table td { padding: 10px 5px; }
  #comparison-table thead th { font-size: 10px; }
  .distribution-markers { gap: 8px; }
  .distribution-markers strong { font-size: 11px; }
  .chart-heading h3 { font-size: 15px; }
  .sample-card summary { font-size: 13px; }
}
/* Shared static content and navigation */
.site-header { height: auto; min-height: 77px; gap: 16px 24px; padding: 15px 0; flex-wrap: wrap; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.site-nav a { font-size: 12px; padding: 9px 0; color: #536b60; }
.site-nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.site-nav a[aria-current=page] { color: var(--teal); font-weight: 700; }
.site-footer { display: block; }
.footer-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .site-nav { margin-top: 13px; }
.result-explainer { margin: -2px 0 20px; border-left: 3px solid #a5c7b2; padding: 10px 15px; font-size: 12px; line-height: 1.9; color: #526b5d; }
.education-section, .faq-section { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.content-heading { margin-bottom: 25px; }
.content-heading > p:last-child { color: var(--muted); font-size: 14px; margin-top: 12px; }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.education-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.education-grid h3 { font-size: 17px; line-height: 1.6; margin-bottom: 14px; }
.education-grid p, .faq-section p { font-size: 14px; line-height: 1.95; color: #53655d; }
.education-grid p + p { margin-top: 12px; }
.faq-section details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-section summary { cursor: pointer; padding: 16px 6px; font-size: 15px; font-weight: 600; }
.faq-section summary:focus-visible, .seed-settings summary:focus-visible, .sample-card summary:focus-visible { outline: 3px solid #439e8a; outline-offset: 3px; }
.faq-section p { padding: 0 6px 19px; max-width: 900px; }
.document-page { max-width: 800px; margin: 50px auto 64px; }
.document-page h1 { font-size: 38px; margin: 15px 0 20px; }
.document-lead { font-size: 17px; line-height: 1.85; color: var(--muted); }
.document-page section { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.document-page section h2 { font-size: 21px; margin-bottom: 16px; }
.document-page section p, .contact-placeholder p { font-size: 15px; line-height: 1.95; color: #53655d; }
.document-page section p + p, .contact-placeholder p + p { margin-top: 14px; }
.document-page a { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.document-date { margin-top: 22px; font-size: 12px; color: var(--muted); }
.document-return { margin-top: 36px; font-size: 14px; }
.contact-placeholder { margin-top: 30px; padding: 24px; border: 1px solid #dfdfca; border-radius: 14px; background: #faf9ef; }
.contact-placeholder > strong { display: block; margin-bottom: 12px; font-size: 18px; }
@media(max-width:760px) {
  .site-header { align-items: flex-start; gap: 8px; padding: 15px 0 11px; }
  .site-header .site-nav { width: 100%; gap: 2px 15px; }
  .site-nav a { font-size: 12px; min-height: 40px; }
  .education-grid { grid-template-columns: 1fr; gap: 18px; }
  .education-grid article { padding: 22px; }
  .education-section, .faq-section { margin-top: 35px; padding-top: 28px; }
  .content-heading h2 { font-size: 21px; }
  .result-explainer { font-size: 12px; padding: 11px 13px; }
  .document-page { margin: 34px auto 45px; }
  .document-page h1 { font-size: 31px; letter-spacing: -1px; }
  .document-lead { font-size: 15px; }
  .document-page section h2 { font-size: 19px; }
  .document-page section p, .contact-placeholder p { font-size: 14px; }
  .contact-placeholder { padding: 20px; }
}
/* Pre-deploy mobile QA: money inputs (e.g. 10,000,000) were clipped in the 2-column grid at 320-375px. */
@media(max-width:390px) {
  .field:has(input[data-money]) { grid-column: 1/-1; }
}
/* MoneyWorkLab site brand (site name) — separate from the tool title (h1). */
.site-brand { display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink); text-decoration: none; }
.topbar a.site-brand span { margin-left: 0; font-size: 11px; font-weight: 550; color: #6f8279; }
.site-brand strong { font-size: 15px; font-weight: 750; letter-spacing: -0.2px; color: var(--teal); }
.footer-heading strong { font-weight: 750; color: #5d7067; }
.contact-card a { font-size: 18px; font-weight: 650; overflow-wrap: anywhere; }
/* TOOL_002 Kelly calculator (kelly.html) */
.kelly-empty { min-height: 0; padding-bottom: 0; }
.kelly-empty .empty-bottom { margin-top: 34px; }
.kelly-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.kelly-card { display: flex; flex-direction: column; }
.kelly-detail { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.kelly-detail > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kelly-detail dt { font-size: 10px; color: #6b7d73; }
.kelly-detail dd { font-size: 12px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric.kelly-card > p.kelly-flag { margin-top: 12px; font-size: 10px; font-weight: 500; line-height: 1.6; color: #84692e; background: #fff9e9; border-radius: 7px; padding: 7px 9px; }
.advanced-list { margin: 16px 0 6px; }
#advanced-details .chart-footnote { margin-top: 6px; }
#advanced-details { margin-top: 20px; }
.tool-cta { margin-top: 44px; padding: 28px; border-radius: var(--radius); background: #eaf3ed; border: 1px solid #d4e4d8; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; }
.tool-cta h2 { font-size: 19px; line-height: 1.55; }
.tool-cta p:not(.step-label) { font-size: 13px; line-height: 1.85; color: #53655d; margin-top: 8px; max-width: 720px; }
.cta-button { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 650; font-size: 14px; }
.cta-button:hover { background: #0b564c; }
.tool-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 40px; font-size: 13px; font-weight: 650; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .kelly-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tool-cta { flex-direction: column; align-items: stretch; padding: 22px; }
  .tool-cta h2 { font-size: 17px; }
  .cta-button { width: 100%; }
}
.tool-list { margin: 14px 0; padding-left: 20px; display: grid; gap: 10px; }
.tool-list li { font-size: 15px; line-height: 1.85; color: #53655d; }
@media (max-width: 760px) { .tool-list li { font-size: 14px; } }
/* TOOL_003 Position size calculator (position.html, en/position.html) */
.lang-switch { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; color: #8a978f; }
.lang-switch a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 4px; color: #536b60; }
.lang-switch a[aria-current=page] { color: var(--teal); font-weight: 700; }
.lang-switch a:not([aria-current]) { text-decoration: underline; text-underline-offset: 4px; }
.compact-choice { margin: 0 0 18px; }
.compact-choice .segmented label > span { padding: 7px 3px; }
.position-grid { margin-top: 18px; }
.metric > span { overflow-wrap: anywhere; }
.risk-breakdown, .margin-card { padding: 23px; margin-bottom: 20px; }
.risk-breakdown h3, .margin-card h3 { font-size: 15px; }
.risk-breakdown .total-row { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 9px; }
.risk-breakdown .total-row dt { color: var(--ink); font-weight: 650; }
.margin-card .section-intro { margin: 8px 0 14px; }
.table-wrap { width: 100%; overflow-x: auto; }
.margin-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.margin-table th, .margin-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.margin-table th:first-child { width: 24%; text-align: left; }
.margin-table thead th { font-size: 11px; font-weight: 550; color: var(--muted); }
.margin-table tbody th { font-weight: 650; }
.margin-table td { font-weight: 600; }
.margin-table td.over-equity { color: #9a6a24; }
.margin-table td small { display: block; font-size: 10px; font-weight: 500; }
.inline-cta { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.inline-cta p { font-size: 13px; line-height: 1.8; color: #53655d; }
.inline-cta .tool-link { margin-top: 6px; }
.tool-cta-quiet { background: var(--paper); border-color: var(--line); }
.limitation-label { font-size: 11px; font-weight: 700; color: #5f776b; margin: 0 0 8px; }
.limitation-label + .limitation-tags { margin-bottom: 14px; }
.limitation-tags.included li { background: #eef6f0; border-color: #d4e4d8; color: #2f6a55; }
.footer-note { margin-top: 12px; font-size: 10px; line-height: 1.7; color: #89968d; max-width: 860px; }
@media (max-width: 760px) {
  .risk-breakdown, .margin-card { padding: 20px; }
  .margin-table { font-size: 11px; }
  .margin-table th, .margin-table td { padding: 9px 5px; }
  .lang-switch { margin-top: 10px; }
}
.precheck .tool-link { display: flex; width: fit-content; }
.precheck .tool-link + .tool-link { margin-top: 0; }
/* UX V2 (2026-09-29): shared step flow, basic/advanced settings, hints, example/reset, key answers, EN hub. */
.form-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 6px; }
.ghost-button { min-height: 36px; padding: 7px 14px; border: 1px solid #cfdcd5; border-radius: 9px; background: #fff; color: #37594d; font-size: 12px; font-weight: 650; }
.ghost-button:hover { border-color: var(--teal); color: var(--teal); }
.example-note { font-size: 10px; color: #8a978f; margin-bottom: 16px; }
.settings-label { font-size: 11px; font-weight: 750; letter-spacing: .4px; color: #4d6a5d; margin: 0 0 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.settings-sublabel { font-size: 11px; font-weight: 700; color: #4d6a5d; margin: 16px 0 6px; }
.field label .term, .field-hint .term, .kelly-card small, .kelly-detail dt small, .subsection-title small, .exposure-row small, .risk-breakdown h3 small, .margin-card h3 small { font-size: 10px; font-weight: 500; color: #7f8f87; }
.field-hint { font-size: 10px; line-height: 1.55; color: #7a8782; margin-top: 5px; }
.input-wrap > span.prefix { padding: 0 0 0 12px; }
.input-wrap > span.prefix + input { padding-left: 4px; }
.advanced-settings { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fbfcfb; }
.advanced-settings > summary { cursor: pointer; padding: 13px 0; font-size: 12px; font-weight: 700; color: #37594d; list-style-position: inside; }
.advanced-settings > summary span { display: block; font-size: 10px; font-weight: 400; color: #8a978f; margin-top: 2px; padding-left: 16px; }
.advanced-settings[open] { padding-bottom: 14px; }
.advanced-settings > .field-grid { margin-top: 4px; }
.advanced-settings .seed-settings { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 4px; }
.advanced-settings .precheck { margin-top: 16px; padding-top: 14px; }
.advanced-settings summary:focus-visible { outline: 3px solid #439e8a; outline-offset: 3px; }
.step-inline { margin: 18px 0 -8px; }
.related-tools { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.related-tools p { font-size: 11px; font-weight: 700; color: #6b7d73; }
.related-tools .tool-link { display: flex; width: fit-content; margin-top: 2px; }
.hero-callout { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--teal); background: #eef6f0; border-radius: 0 10px 10px 0; font-size: 13px; line-height: 1.8; color: #3f5b50; max-width: 640px; }
.hero-callout strong { color: #1f5446; }
.key-questions { border: 1px solid #d4e4d8; background: #f3f8f4; border-radius: 16px; padding: 20px; margin-bottom: 22px; }
.key-questions h3 { font-size: 16px; margin-bottom: 14px; }
.kq-grid, .answer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.answer-grid { margin-bottom: 20px; }
.kq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-width: 0; }
.kq-q { font-size: 12px; font-weight: 700; color: #37594d; line-height: 1.6; }
.kq strong, .answer strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.6px; margin: 8px 0 2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: #1f5446; }
.kq-term { display: block; font-size: 10px; color: #7f8f87; margin-bottom: 8px; }
.kq > p:last-child { font-size: 11px; line-height: 1.75; color: #53655d; }
.answer > span { display: block; }
.answer .kq-q { color: #536e5e; }
.subsection-title { font-size: 14px; margin: 0 0 10px; color: #37594d; }
.kelly-plain { font-size: 12px !important; font-weight: 600 !important; color: #2f5a4c !important; line-height: 1.6; margin: 2px 0 0; }
.input-summary { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #f3f8f4; border: 1px solid #d4e4d8; }
.input-summary .settings-sublabel { margin: 0 0 4px; }
.input-summary p:last-child { font-size: 12px; line-height: 1.75; color: #2f5a4c; overflow-wrap: anywhere; }
.step-num { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 10px; font-weight: 700; vertical-align: 1px; }
.advanced-results { margin-top: 20px; }
.advanced-results > summary { font-size: 14px; }
.exposure-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.exposure-row p { font-size: 11px; font-weight: 600; color: #536e5e; }
.exposure-row strong { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.exposure-row > span { font-size: 11px; color: #7f8f87; }
.advanced-results .risk-breakdown, .advanced-results .margin-card { padding: 0; margin: 16px 0 0; border: 0; }
.site-nav a.lang-link { padding: 5px 10px; min-height: 0; border: 1px solid #b9d3c6; border-radius: 999px; color: var(--teal); font-weight: 700; background: #f1f8f4; text-decoration: none; }
.site-nav a.lang-link:hover { background: #e2f0e8; text-decoration: none; }
/* English hub */
.hub-hero { padding: 54px 0 34px; max-width: 820px; }
.hub-hero h1 { font-size: 44px; line-height: 1.2; letter-spacing: -1.4px; margin: 12px 0 14px; }
.hub-lead { font-size: 19px; line-height: 1.7; color: #425d53; }
.hub-badges { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-badges li { font-size: 12px; font-weight: 650; color: #2f6a55; background: #eef6f0; border: 1px solid #d4e4d8; border-radius: 999px; padding: 5px 12px; }
.hub-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hub-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.hub-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eaf3ed; color: var(--teal); font-weight: 750; font-size: 13px; }
.hub-card h3 { font-size: 19px; margin: 14px 0 8px; }
.hub-card h3 a:hover { color: var(--teal); }
.hub-question { font-size: 14px; font-weight: 650; color: #1f5446; line-height: 1.6; margin-bottom: 10px; }
.hub-card > p:not(.hub-question) { font-size: 13px; line-height: 1.8; color: #53655d; flex: 1; }
.hub-card .cta-button { margin-top: 18px; }
.hub-flow { margin: 44px 0 20px; padding: 28px; border-radius: var(--radius); background: #eaf3ed; border: 1px solid #d4e4d8; }
.hub-flow h2 { font-size: 20px; margin-bottom: 14px; }
.hub-flow ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.hub-flow li { font-size: 14px; line-height: 1.8; color: #3f5b50; }
.hub-note { margin-top: 16px; font-size: 12px; color: #6b7d73; line-height: 1.8; }
@media (max-width: 1000px) {
  .kq-grid, .answer-grid, .hub-tools { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hub-hero { padding: 34px 0 24px; }
  .hub-hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hub-lead { font-size: 16px; }
  .hub-card { padding: 20px; }
  .hub-card .cta-button { width: 100%; }
  .hub-flow { padding: 22px; }
  .key-questions { padding: 16px; }
  .kq strong, .answer strong { font-size: 22px; }
  .site-header .site-nav { gap: 2px 13px; }
}
/* Compact mobile nav (8 items incl. language link): tighter rows, tap targets kept at 34px+. */
@media (max-width: 760px) {
  .site-header { padding: 12px 0 8px; gap: 4px; }
  .site-header .site-nav { gap: 0 12px; }
  .site-header .site-nav a { min-height: 34px; padding: 7px 0; font-size: 12px; }
  .site-header .site-nav a.lang-link { padding: 4px 10px; min-height: 0; margin: 4px 0; }
}
@media (max-width: 360px) {
  .site-header .site-nav { gap: 0 10px; }
  .site-header .site-nav a { font-size: 11.5px; }
}
/* TOOL_004 Chart Rank Battle (game.html, en/game.html) and its home/hub band. */
.site-nav a.nav-game { padding: 5px 11px; min-height: 0; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; }
.site-nav a.nav-game:hover { background: #0b564c; color: #fff; text-decoration: none; }
.site-nav a.nav-game[aria-current=page] { color: #fff; }
.game-band { display: grid; grid-template-columns: minmax(0, 1fr) 300px auto; align-items: center; gap: 16px 32px; margin-bottom: 28px; padding: 22px 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.game-band h2 { font-size: 21px; margin-top: 6px; }
.game-band p:not(.eyebrow) { font-size: 13px; line-height: 1.75; color: #53655d; margin-top: 5px; max-width: 560px; }
.game-band svg { display: block; width: 100%; height: 92px; }
.cg-hero { padding: 26px 0 18px; }
.cg-hero h1 { font-size: 34px; letter-spacing: -1.4px; margin: 8px 0 6px; }
.cg-hero .hero-description { margin-top: 0; }
.cg-desk { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 16px; align-items: start; scroll-margin-top: 12px; }
.cg-stage, .cg-side { display: grid; gap: 12px; min-width: 0; }
.cg-bar { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.cg-no { font-size: 13px; font-weight: 700; margin-right: 6px; font-variant-numeric: tabular-nums; }
.cg-bar .ghost-button { min-height: 32px; padding: 4px 10px; }
.cg-bar .ghost-button[aria-pressed=true] { border-color: var(--teal); color: var(--teal); background: var(--mint); }
.cg-chart { position: relative; height: clamp(320px, calc(100vh - 385px), 560px); overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.cg-chart canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: pan-y; }
.cg-act { position: sticky; bottom: 0; z-index: 5; display: grid; gap: 8px; background: var(--bg); padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); }
.cg-decide { display: grid; gap: 8px; }
.cg-appl { display: flex; flex-wrap: wrap; gap: 2px 14px; min-height: 21px; font-size: 13px; color: var(--muted); }
.cg-appl b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.cg-bad { color: var(--red); font-weight: 600; }
.cg-btns { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 8px; }
.cg-btns button, .cg-next { min-height: 49px; padding: 10px 4px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 700; color: #fff; }
.cg-btns kbd, .cg-next kbd { margin-left: 6px; font: 400 11px Consolas, monospace; opacity: .75; }
.cg-btns button:disabled { opacity: .4; }
#bWatch { background: var(--amber); }
#bLong { background: var(--teal); }
#bShort { background: var(--red); }
#bPass { background: var(--paper); border-color: #cfdcd5; color: #37594d; }
.cg-res { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.cg-what { min-width: 0; font-size: 14px; font-weight: 600; }
.cg-pts { margin-right: 10px; font-size: 24px; font-weight: 750; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.cg-line { font-size: 12px; font-weight: 400; color: var(--muted); }
.cg-res.win .cg-pts { color: var(--teal); }
.cg-res.lose .cg-pts { color: var(--red); }
.cg-next { padding-inline: 18px; background: var(--ink); white-space: nowrap; }
.cg-next:disabled { opacity: .5; }
.cg-card { display: grid; gap: 12px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.cg-card h2 { font-size: 15px; letter-spacing: -.3px; }
.cg-card .field-grid { gap: 10px; }
.cg-card .field label { margin-bottom: 5px; }
.cg-card .input-wrap input { height: 40px; }
.cg-card .input-wrap input:disabled { color: #93a39c; }
.cg-hint { font-size: 12px; line-height: 1.65; color: var(--muted); }
.cg-big { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.cg-big b { font-size: 30px; font-weight: 750; letter-spacing: -1px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cg-dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; font-size: 13px; }
.cg-dl dt { color: var(--muted); }
.cg-dl dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cg-hist { display: grid; gap: 3px; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 12px; }
.cg-hist li { display: flex; justify-content: space-between; gap: 8px; }
.cg-none { color: var(--muted); }
.cg-p { font-weight: 650; font-variant-numeric: tabular-nums; }
.cg-p.win { color: var(--teal); }
.cg-p.lose { color: var(--red); }
.cg-reset { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.cg-reset .ghost-button { min-height: 32px; padding: 4px 10px; }
.cg-rk { display: grid; gap: 10px; }
.cg-top { border-top: 0; padding-top: 0; font-size: 13px; }
.cg-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.6; color: var(--muted); }
.cg-consent input { margin: 3px 0 0; accent-color: var(--teal); flex-shrink: 0; }
.cg-msg { font-size: 12px; }
.cg-msg:empty { display: none; }
.cg-formula { margin-bottom: 10px; padding: 10px 12px; border-radius: 9px; background: var(--mint); font-weight: 650; overflow-wrap: anywhere; }
.education-grid p.cg-formula { color: #1f5446; font-size: 14px; }
@media (max-width: 1000px) {
  .game-band { grid-template-columns: minmax(0, 1fr) auto; }
  .game-band svg { display: none; }
}
@media (max-width: 860px) {
  .cg-desk { grid-template-columns: minmax(0, 1fr); }
  .cg-chart { height: clamp(260px, 50vh, 440px); }
}
@media (max-width: 760px) {
  .game-band { grid-template-columns: 1fr; padding: 20px; }
  .game-band .cta-button { width: 100%; }
  .site-header .site-nav a.nav-game { min-height: 0; padding: 4px 10px; margin: 4px 0; }
  .cg-hero h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .cg-btns { grid-template-columns: 1fr 1fr 1fr; }
  #bWatch { grid-column: 1/-1; }
  .cg-btns kbd, .cg-next kbd { display: none; }
}

/* TOOL_005 실험 노트 */
.lab-band { grid-template-columns: minmax(0, 1fr) auto; }
.lab-main { padding-block: 28px 12px; }
.lab-article { max-width: 780px; margin: 0 auto; }
.lab-head h1 { font-size: clamp(26px, 4.4vw, 36px); line-height: 1.3; margin-top: 10px; text-wrap: balance; }
.lab-head .eyebrow a { color: var(--teal); }
.lab-lead { font-size: 16px; line-height: 1.8; color: #53655d; margin-top: 14px; }
.lab-meta { font-size: 12px; color: var(--muted); margin-top: 10px; }
.lab-article section { margin-top: 36px; }
.lab-article h2 { font-size: 21px; line-height: 1.4; margin-bottom: 12px; }
.lab-article section p, .lab-article section li { font-size: 15px; line-height: 1.95; color: #3f524a; }
.lab-article section p + p { margin-top: 12px; }
.lab-article section > p a, .lab-article section li a { color: var(--teal); text-decoration: underline; }
.lab-article section ul:not(.lab-list) { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.lab-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; margin: 8px 0 16px; font-variant-numeric: tabular-nums; }
.lab-table caption { text-align: left; font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.lab-table th, .lab-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.lab-table th:first-child { text-align: left; }
.lab-table thead th { font-size: 12px; font-weight: 550; color: var(--muted); }
.lab-table tbody th { font-weight: 650; }
.lab-list { display: grid; gap: 12px; list-style: none; padding: 0; }
.lab-list a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.lab-list a:hover { border-color: var(--teal); }
.lab-list strong { font-size: 16px; line-height: 1.5; }
.lab-list span { font-size: 13px; line-height: 1.7; color: #53655d; }
.lab-cta { padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.lab-cta .cta-button { margin-top: 14px; }
@media (max-width: 640px) { .lab-band { grid-template-columns: 1fr; } .lab-cta .cta-button { width: 100%; } }
