.yx {
  --yx-ink: #18392d;
  --yx-green: #21664f;
  --yx-paper: #fff;
  --yx-border: #dce5de;
  color: var(--yx-ink);
  width: 100%;
  min-width: 0;
}
.yx *,
.yx *::before,
.yx *::after {
  box-sizing: border-box;
}
.yx h1,
.yx h2,
.yx h3,
.yx p,
.yx ol,
.yx ul {
  margin: 0;
}
.yx .yx-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
  line-height: 1.3;
  color: #18392d;
}
.yx .yx-sub {
  color: #54675d;
  line-height: 1.7;
  margin-top: 0.4rem;
  font-size: 1rem;
}
.yx h2 {
  font-size: 1.28rem;
  line-height: 1.45;
}
.yx h3 {
  font-size: 1.05rem;
  line-height: 1.6;
}
.yx button,
.yx summary {
  font: inherit;
}
.yx button {
  cursor: pointer;
}
.yx :focus-visible {
  outline: 3px solid #a46918;
  outline-offset: 3px;
}
.yx .yx-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.yx .yx-button,
.yx .yx-secondary,
.yx .yx-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.12rem;
  border-radius: 0.7rem;
  min-height: 43px;
  line-height: 1.45;
  font-weight: 650;
  font-size: 0.94rem;
}
.yx .yx-button {
  color: white;
  background: var(--yx-green);
  border: 1px solid var(--yx-green);
}
.yx .yx-button:hover {
  background: #174d3b;
}
.yx .yx-secondary {
  color: #285440;
  background: white;
  border: 1px solid #cbd9ce;
}
.yx .yx-secondary:hover,
.yx .yx-link:hover {
  background: #edf4ed;
}
.yx .yx-link {
  border: 0;
  background: transparent;
  color: var(--yx-green);
  padding: 0.4rem 0.6rem;
}
.yx button:disabled {
  opacity: 0.45;
  cursor: default;
}
.yx .yx-icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}
.yx .yx-layout,
.yx .yx-run {
  display: grid;
  gap: 1rem;
  align-items: start;
  margin-top: 1.25rem;
}
.yx .yx-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
}
.yx .yx-panel {
  border: 1px solid var(--yx-border);
  background: var(--yx-paper);
  border-radius: 1.15rem;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  min-width: 0;
}
.yx .yx-feature {
  background: #eef5ee;
  border-color: #dce8dd;
}
.yx .yx-hero-icon {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  color: #2c6850;
  background: #d9eadc;
}
.yx .yx-hero-icon .yx-icon {
  width: 1.55rem;
  height: 1.55rem;
}
.yx .yx-feature h2 {
  margin-top: 0.8rem;
  font-size: 1.55rem;
}
.yx .yx-specs {
  display: flex;
  gap: 0.8rem 1.2rem;
  flex-wrap: wrap;
  color: #355b49;
  margin: 1rem 0 1.25rem;
}
.yx .yx-specs span,
.yx .yx-label,
.yx .yx-timer {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}
.yx .yx-specs span {
  font-size: 0.92rem;
  font-weight: 600;
}
.yx .yx-meter {
  display: flex;
  gap: 3px;
  height: 0.55rem;
  margin: 0.95rem 0;
  border-radius: 20px;
  overflow: hidden;
}
.yx .yx-breakdown {
  display: grid;
  gap: 0.55rem;
}
.yx .yx-break-row {
  display: grid;
  grid-template-columns: 0.6rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.92rem;
}
.yx .yx-swatch {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 3px;
}
.yx .yx-footnote {
  color: #5c6b62;
  font-size: 0.84rem;
  line-height: 1.75;
  margin-top: 0.85rem;
}
.yx a {
  color: #215f49;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.yx .yx-history {
  margin-top: 1.15rem;
}
.yx .yx-history-row,
.yx .yx-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.yx .yx-history-row {
  width: 100%;
  color: var(--yx-ink);
  border: 0;
  border-top: 1px solid var(--yx-border);
  background: white;
  padding: 0.9rem 0;
  text-align: left;
}
.yx .yx-history-row:first-of-type {
  margin-top: 0.8rem;
}
.yx .yx-history-row:hover {
  color: var(--yx-green);
  background: #f5f8f4;
}
.yx .yx-history-row span:last-child {
  color: #285740;
  font-weight: 700;
}
.yx .yx-run {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
}
.yx .yx-run-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.yx .yx-timer {
  font-variant-numeric: tabular-nums;
  border: 1px solid #cbdad0;
  background: #f3f8f2;
  border-radius: 0.7rem;
  padding: 0.6rem 0.8rem;
  color: #285741;
}
.yx .yx-timer.yx-urgent {
  color: #963d24;
  background: #fff4e9;
  border-color: #f0ccaf;
}
.yx .yx-key {
  color: #466e57;
  font-size: 0.91rem;
  font-weight: 650;
}
.yx .yx-question {
  margin: 0.6rem 0 1.1rem;
  font-size: clamp(1.1rem, 2vw, 1.37rem);
  line-height: 1.6;
}
.yx .yx-options {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.3rem;
}
.yx .yx-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  line-height: 1.65;
  border-radius: 0.65rem;
  padding: 0.75rem;
  border: 1px solid #d7e1d9;
  background: white;
  color: #253b30;
}
.yx .yx-option[aria-pressed="true"] {
  border-color: #21664f;
  background: #edf6ee;
  box-shadow: inset 0 0 0 1px #21664f;
}
.yx .yx-option:hover {
  background: #f0f6ef;
}
.yx .yx-letter {
  font-weight: 700;
  color: #427159;
  min-width: 1.1rem;
}
.yx .yx-card-list {
  margin: 0.8rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
}
.yx .yx-num,
.yx .yx-lab-jump {
  color: #385141;
  background: white;
  border: 1px solid #d4e0d6;
  border-radius: 0.45rem;
  min-height: 2.15rem;
  font-size: 0.87rem;
  line-height: 1.45;
}
.yx .yx-num {
  padding: 0.25rem 0.1rem;
}
.yx .yx-done {
  background: #deeddf;
  color: #1e563b;
  border-color: #b9d5be;
}
.yx .yx-current,
.yx .yx-lab-jump.yx-current {
  border: 2px solid #236145;
  font-weight: 750;
}
.yx .yx-lab-list {
  display: grid;
  gap: 0.4rem;
  margin: 0.7rem 0 1rem;
}
.yx .yx-lab-jump {
  padding: 0.45rem 0.55rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
}
.yx .yx-lab-jump small {
  color: #486653;
  font-size: 0.78rem;
}
.yx .yx-submit {
  width: 100%;
}
.yx .yx-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--yx-border);
  flex-wrap: wrap;
}
.yx .yx-warn {
  border: 1px solid #e6cfaa;
  border-radius: 0.7rem;
  background: #fff8e9;
  color: #704f24;
  padding: 0.75rem 0.9rem;
  margin: 0.85rem 0;
  line-height: 1.65;
}
.yx .yx-score {
  font-size: 3rem;
  letter-spacing: -0.06em;
  color: #21664f;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}
.yx .yx-score small {
  font-size: 1rem;
  letter-spacing: 0;
  color: #567160;
}
.yx .yx-outcome {
  margin-top: 1rem;
}
.yx .yx-results {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
.yx details.yx-review {
  border: 1px solid var(--yx-border);
  border-radius: 0.65rem;
  overflow: hidden;
}
.yx .yx-review summary {
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  font-size: 0.94rem;
  line-height: 1.6;
}
.yx .yx-review[open] summary {
  background: #f2f6f0;
}
.yx .yx-review-body {
  padding: 0.9rem;
  line-height: 1.75;
}
.yx .yx-review-body ol {
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}
.yx .yx-review-body .yx-link {
  margin-top: 0.35rem;
}
.yx .yx-advice {
  color: #58685f;
  padding-left: 1rem;
  margin: 0.1rem 0 0.6rem;
  font-size: 0.92rem;
}
.yx .yx-tag {
  display: inline-block;
  padding: 0.08rem 0.43rem;
  margin-right: 0.4rem;
  border-radius: 0.32rem;
  background: #e6f1e4;
  color: #245e42;
  font-size: 0.8rem;
  font-weight: 650;
}
.yx .yx-tag.yx-lost {
  background: #fbefda;
  color: #7b4f14;
}
.yx .yx-source {
  margin-top: 0.9rem;
}
.yx .yx-switch {
  margin-top: 0.8rem;
}
.yx .yx-status {
  min-height: 0;
}
@media (max-width: 900px) {
  .yx .yx-run {
    grid-template-columns: minmax(0, 1fr);
  }
  .yx .yx-card-list {
    grid-template-columns: repeat(10, 1fr);
  }
  .yx .yx-lab-list {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
@media (max-width: 720px) {
  .yx .yx-layout {
    grid-template-columns: 1fr;
  }
  .yx .yx-panel {
    border-radius: 0.85rem;
  }
  .yx .yx-head-row {
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .yx .yx-card-list {
    grid-template-columns: repeat(5, 1fr);
  }
  .yx .yx-head-row {
    flex-wrap: wrap;
  }
}
