:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #111; color: #eee; }
body { margin: 0; }
main { width: min(760px, calc(100% - 32px)); margin: 48px auto; }
.eyebrow { color: #9dbf82; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
h1 { font-size: clamp(2rem, 7vw, 4rem); margin: .2em 0; }
.portrait { margin: 24px 0; }
.portrait img { display: block; width: 100%; height: auto; border: 1px solid #3a3a3a; border-radius: 12px; }
.intro { color: #bbb; font-size: 1.1rem; }
.version-link { color: #aaa; }
.version-link a { color: #b5dc96; }
form, aside, section { margin-top: 28px; padding: 22px; border: 1px solid #3a3a3a; border-radius: 12px; background: #191919; }
label { display: block; margin: 12px 0 7px; font-weight: 700; }
textarea, select, button { box-sizing: border-box; font: inherit; color: inherit; background: #101010; border: 1px solid #555; border-radius: 7px; padding: 11px; }
textarea { width: 100%; resize: vertical; }
button { display: block; margin-top: 18px; background: #52753b; border-color: #6d994f; cursor: pointer; }
button:disabled { opacity: .55; }
.secondary { background: #2a2a2a; border-color: #666; }
blockquote { margin: 16px 0 0; font-size: 1.35rem; line-height: 1.5; }
.preselector-output { margin-top: 24px; padding-top: 20px; border-top: 1px solid #3a3a3a; }
.preselector-output h2 { margin: 0; font-size: 1.05rem; color: #d8bd79; }
.preselector-output .note { margin-bottom: 0; }
.state, .note { color: #aaa; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats p { margin: 14px 0; }
.stats b, .stats span { display: block; }
.stats b { font-size: 1.7rem; color: #b5dc96; }
.stats span { color: #aaa; font-size: .85rem; }
.learning-estimate { margin: 12px 0 22px; }
.estimate-title { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; color: #ccc; }
.estimate-title b { color: #b5dc96; white-space: nowrap; }
.estimate-bar { height: 12px; overflow: hidden; background: #0d0d0d; border: 1px solid #444; border-radius: 999px; }
.estimate-bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #52753b, #b5dc96); transition: width .4s ease; }
.learning-estimate small { display: block; margin-top: 7px; color: #777; }
ol { color: #aaa; padding-left: 22px; }
.probes h2 { margin-top: 0; }
.method-note { color: #d8bd79; font-size: .9rem; }
details { border-top: 1px solid #353535; padding: 12px 0; }
details:last-child { border-bottom: 1px solid #353535; }
summary { color: #b5dc96; cursor: pointer; font-weight: 700; }
.probe-history { margin-bottom: 0; }
.probe-history li { margin: 10px 0; padding-left: 5px; }
.probe-history b, .probe-history span { display: block; }
.probe-history b { color: #ddd; font-size: .8rem; }
.probe-history span { color: #aaa; margin-top: 2px; }
dialog { width: min(680px, calc(100% - 48px)); max-height: 80vh; overflow: auto; box-sizing: border-box; color: #eee; background: #191919; border: 1px solid #555; border-radius: 12px; padding: 22px; }
dialog::backdrop { background: rgb(0 0 0 / 75%); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-head h2 { margin: 0; }
.dialog-head button { margin: 0; padding: 4px 11px; font-size: 1.5rem; line-height: 1; background: #2a2a2a; }
#recent-list li { margin: 16px 0; padding-left: 5px; }
#recent-list b, #recent-list span { display: block; }
#recent-list b { color: #b5dc96; font-size: .85rem; }
#recent-list span { margin-top: 4px; color: #ddd; line-height: 1.4; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
