.moa-lab {
  --ml-ink: #203b42;
  --ml-border: #d7e1dc;
  color: var(--ml-ink);
  background: #f8f8f2;
  min-height: 100dvh;
  line-height: 1.55;
  word-break: keep-all;
}
.moa-lab *, .moa-lab *::before, .moa-lab *::after { box-sizing: border-box; }
.moa-lab .ml-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.moa-lab .ml-inner { max-width: 73rem; padding: 1.25rem clamp(1rem, 3.6vw, 3.5rem) 3rem; margin: auto; }
.moa-lab button { font: inherit; cursor: pointer; min-height: 44px; }
.moa-lab button:focus-visible, .moa-lab summary:focus-visible, .moa-lab [tabindex="-1"]:focus-visible { outline: 3px solid #235fbd; outline-offset: 3px; }
.moa-lab h1, .moa-lab h2, .moa-lab h3, .moa-lab p, .moa-lab figure, .moa-lab ul { margin: 0; }
.moa-lab .ml-top, .moa-lab .ml-header, .moa-lab .ml-panel-head { display: flex; align-items: center; gap: .75rem; }
.moa-lab .ml-top, .moa-lab .ml-panel-head { justify-content: space-between; }
.moa-lab .ml-top { font-size: .92rem; font-weight: 700; color: #42605d; }
.moa-lab .ml-top .ml-back { min-height: 44px; padding: .5rem 1rem; font-weight: 750; border-radius: 2rem; border: 1px solid #adbfba; background: #fff; color: var(--ml-ink); }
.moa-lab .ml-header { margin: 1.8rem 0 .35rem; }
.moa-lab h1 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 850; letter-spacing: -.06em; line-height: 1.2; }
.moa-lab .ml-symbol { width: 2.7rem; height: 2.7rem; display: grid; place-items: center; color: #254f45; background: #bae8cc; border-radius: 1rem .5rem 1rem .5rem; font-size: 1.8rem; line-height: 1; }
.moa-lab .ml-lead { color: #465650; font-size: 1.05rem; margin: .65rem 0 1.4rem; }
.moa-lab .ml-guide { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .85rem; padding: .85rem 1.1rem; background: #f9edbe; border: 1px solid #e4d395; border-radius: .9rem; margin-bottom: 1rem; }
.moa-lab .ml-guide strong { color: #514224; }
.moa-lab .ml-bench { display: grid; grid-template-columns: 1.08fr 1fr; gap: 1rem; align-items: start; }
.moa-lab .ml-panel { background: #fffefa; border: 1px solid var(--ml-border); border-radius: 1.4rem; padding: clamp(1rem, 2.5vw, 1.5rem); box-shadow: 0 3px 0 #223c3510; }
.moa-lab h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.04em; }
.moa-lab .ml-chip { font-weight: 720; font-size: .9rem; border-radius: 2rem; padding: .2rem .7rem; color: #3b5158; background: #edf0ec; white-space: nowrap; }
.moa-lab .ml-help { color: #53625d; margin: .65rem 0 1rem; }
.moa-lab .ml-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.moa-lab .ml-card { position: relative; min-width: 0; border-radius: .85rem; align-items: center; color: inherit; justify-content: center; display: flex; flex-direction: column; gap: .16rem; border: 2px solid #dbe1db; background: #fff; padding: 1.9rem .3rem .7rem; }
.moa-lab .ml-card:hover { border-color: #7e9e91; }
.moa-lab .ml-card[aria-pressed="true"] { border-color: #3c806b; background: #f0f9ee; }
.moa-lab .ml-card strong { font-size: 1rem; margin-top: .4rem; }
.moa-lab .ml-tick { position: absolute; right: .4rem; top: .3rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; color: #53685f; background: #e9ece7; line-height: 1.25rem; font-size: .95rem; font-weight: 800; }
.moa-lab .ml-card[aria-pressed="true"] .ml-tick { background: #36715b; color: #fff; }
.moa-lab .ml-class { font-size: .85rem; color: #50625c; font-weight: 600; }
.moa-lab .ml-grid { width: clamp(2.85rem, 5.6vw, 3.9rem); aspect-ratio: 1; display: grid; gap: 2px; grid-template: repeat(3, 1fr) / repeat(3, 1fr); flex: none; }
.moa-lab .ml-grid i { background: #eaeee7; border-radius: 20%; border: 1px solid #d4dcd4; }
.moa-lab .ml-train .ml-filled { background: #579c89; border-color: #407d6c; }
.moa-lab .ml-tower .ml-filled { background: #e3a163; border-color: #b47c49; }
.moa-lab .ml-unknown .ml-filled { background: #667ba7; border-color: #4b608b; }
.moa-lab .ml-mystery { display: flex; gap: 1.1rem; align-items: center; margin: 1rem 0; background: #edf2f6; border-radius: .9rem; padding: 1.05rem; }
.moa-lab .ml-mystery .ml-grid { width: clamp(4rem, 9vw, 5.9rem); }
.moa-lab .ml-mystery .ml-grid i:not(.ml-filled) { background: #fafcfc; }
.moa-lab .ml-mystery figcaption { display: grid; gap: .25rem; color: #40535c; }
.moa-lab .ml-mystery figcaption strong { font-size: 1.2rem; color: #2b4253; }
.moa-lab .ml-primary, .moa-lab .ml-secondary { font-weight: 750; padding: .6rem 1rem; border-radius: .7rem; width: 100%; }
.moa-lab .ml-primary { border: 1px solid #204e48; background: #254f49; color: #fff; }
.moa-lab .ml-primary:hover { background: #1a403a; }
.moa-lab .ml-primary:disabled { background: #dfe5de; border-color: #d7dfd6; color: #47564c; cursor: default; }
.moa-lab .ml-secondary { background: #fff; color: #2e5149; border: 1.5px solid #8aa79b; margin-top: .7rem; }
.moa-lab .ml-status:not(:empty) { margin: .65rem 0; color: #475955; }
.moa-lab .ml-result h3 { font-size: 1.15rem; letter-spacing: -.025em; margin-bottom: .2rem; }
.moa-lab .ml-result p { color: #435a53; }
.moa-lab .ml-scores { padding: 0; list-style: none; margin: .8rem 0 0; display: grid; gap: .4rem; }
.moa-lab .ml-scores li { display: flex; align-items: center; border: 1px solid var(--ml-border); border-radius: .65rem; gap: .7rem; padding: .5rem .65rem; }
.moa-lab .ml-score-copy { display: flex; flex-direction: column; line-height: 1.3; }
.moa-lab .ml-score-copy span { font-size: .85rem; color: #52605b; }
.moa-lab .ml-compact { width: 2.25rem; }
.moa-lab .ml-count { margin-left: auto; white-space: nowrap; color: #314e46; }
.moa-lab .ml-feedback, .moa-lab .ml-comparison { margin-top: .7rem; padding: .7rem .8rem; background: #e5f3e4; border-radius: .65rem; }
.moa-lab .ml-comparison { margin: .55rem 0; background: #edf1f6; }
.moa-lab .ml-details { background: #fffdf7; border: 1px solid var(--ml-border); padding: .15rem 1rem; margin-top: 1rem; border-radius: .9rem; }
.moa-lab .ml-details summary { cursor: pointer; min-height: 44px; padding-block: .65rem; font-weight: 700; }
.moa-lab .ml-details p { margin: .25rem 0 .9rem; max-width: 60ch; }
@media (max-width: 720px) {
  .moa-lab .ml-bench { grid-template-columns: 1fr; }
  .moa-lab .ml-inner { max-width: 44rem; }
  .moa-lab .ml-examples { gap: .45rem; }
}
@media (max-width: 360px) {
  .moa-lab .ml-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moa-lab .ml-inner { padding-inline: .65rem; }
}
@media (forced-colors:active) {
  .moa-lab .ml-filled { forced-color-adjust: none; background: CanvasText !important; border-color: CanvasText !important; }
}
