button,select,input{font:inherit}button,select,input[type=number]{color:#eff8f2;background:#183b3b;border:1px solid #608e83;border-radius:6px;padding:9px 12px;min-height:44px}button{cursor:pointer;font-weight:650}button:disabled{opacity:.5;cursor:default}select{max-width:100%}label{display:block}input[type=range]{width:100%;accent-color:#a9dec3}input[type=checkbox],input[type=radio]{accent-color:#a9dec3}input[type=number]{width:100%}.evidence{border-left:4px solid #d4bc82}.populations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.habitat{padding:14px;border:1px solid #608e83;border-radius:10px;min-width:0}.grass{background:linear-gradient(#0a1a1caa,#0a1a1cee),url('/media/galaxy/lothal/rural-plains-800.webp') center/cover}.desert{background:linear-gradient(#0a1a1caa,#0a1a1cee),url('/media/galaxy/tatooine/hyperreal/desert-shipwreck.webp') center/cover}.habitat h3{font-size:1rem}.specimens{width:100%;display:block}.habitat strong{font-size:1.8rem;font-variant-numeric:tabular-nums}.meter{height:14px;border-radius:10px;background:#90c9df;overflow:hidden;margin:8px 0}.meter i{display:block;height:100%;background:#e8bd77}.controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.controls label{background:#0c1c21;padding:10px;border-radius:6px;min-width:0}.controls output{display:block;color:#e8bd77;font-weight:700}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.actions button{flex:1 1 145px}#step{background:#28614f}#chart{display:block;width:100%;max-height:360px;background:#0a1a21;border:1px solid #315b5c;border-radius:8px}.legend{display:flex;gap:16px;flex-wrap:wrap}.legend span:first-child{color:#e8bd77}.legend span:last-child{color:#90c9df}details{border-bottom:1px solid #315b5c;padding:12px 0}summary{cursor:pointer;font-weight:700;min-height:32px}fieldset{min-width:0;border:1px solid #315b5c;border-radius:8px;margin:12px 0}fieldset label{padding:8px 0}#prediction-result,#feedback{color:#e8bd77}#status{min-height:1.6em}@media(max-width:560px){.populations{grid-template-columns:1fr}.controls{grid-template-columns:1fr 1fr}.controls label{padding:8px;font-size:.9rem}.panel{padding:12px}.habitat{padding:10px}.specimens{max-height:100px}select{width:100%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}