:root { color-scheme: light; font-family: system-ui, sans-serif; line-height: 1.6; color: #233a34; background: #f3f1e9; }
* { box-sizing: border-box; } body { margin: 0; } main { max-width: 840px; margin: auto; padding: 24px 18px 44px; }
header, main > section { background: #fff; border: 1px solid #c6d5ca; border-radius: 18px; padding: 22px; margin-bottom: 18px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: 0 0 6px; } h2, h3 { margin-top: 0; } .eyebrow { color: #315f51; font-weight: 700; margin-bottom: 2px; }
a { color: #174f74; } .buttons { display: flex; flex-wrap: wrap; gap: 10px; } button, select, summary { font: inherit; min-height: 48px; }
button { border: 2px solid #315e50; color: #173f34; background: #fff; border-radius: 9px; padding: 9px 14px; font-weight: 700; cursor: pointer; }
button.primary, button[aria-pressed="true"] { background: #245a49; color: #fff; } button:disabled { opacity: .55; cursor: default; } select { max-width: 100%; padding: 8px; }
button:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #a55417; outline-offset: 3px; }
#diagram { border-radius: 12px; background: #eaf1eb; padding: 8px; } #diagram svg { display: block; width: 100%; height: auto; }
.hint, .trial { background: #eef4ed; border-radius: 10px; padding: 12px; } .trial { margin: 18px 0; } #status { min-height: 2em; font-weight: 700; }
details { margin-top: 18px; } footer { color: #42574f; }
dialog { max-width: min(90vw, 520px); border: 2px solid #315e50; border-radius: 16px; padding: 24px; color: #233a34; } dialog::backdrop { background: #182c27b3; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
