*{box-sizing:border-box}body{margin:0;font:15px Arial,sans-serif;background:#f2f5ef;color:#21473b}header,footer{padding:24px 5%;display:flex;justify-content:space-between;border-bottom:1px solid #cedacf}header span{font-size:10px;letter-spacing:1px}main{max-width:1300px;margin:auto;padding:24px}h1{font-size:42px}p{line-height:1.6}small{color:#5b7368}.panel{background:#fff;border:1px solid #d6e1d7;border-radius:14px;padding:22px;margin:20px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stats div{padding:20px;background:#e1ecdf;border-radius:10px}.stats strong{display:block;font-size:25px;margin-top:8px}button,select{padding:10px 12px;border-radius:6px;border:1px solid #a9bfad;background:#edf4e9;color:#21473b;cursor:pointer}button:disabled{opacity:.45;cursor:default}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.heading{display:flex;justify-content:space-between;align-items:center}.scene-wrap{position:relative;height:600px;overflow:hidden;border-radius:10px;background:#dce4df}.scene-wrap canvas{display:block;touch-action:none}.scene-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:5;background:#dce4df;text-align:center;padding:20px}.model-controls{position:absolute;bottom:65px;left:10px;right:10px;display:flex;gap:5px;justify-content:center;flex-wrap:wrap}.model-controls button,.model-controls select{font-size:10px;padding:8px}.model-controls button[aria-pressed=true]{background:#21473b;color:#fff}.model-inspection{position:absolute;bottom:10px;left:10px;right:10px;background:#f7faf0e8;border-radius:5px;padding:10px;font-size:11px}.scene-wrap:fullscreen{height:100vh}#notice{color:#995024}footer{font-size:12px}@media(max-width:650px){header{gap:20px}main{padding:12px}h1{font-size:32px}.stats{grid-template-columns:1fr 1fr}.panel{padding:14px}.scene-wrap{height:560px}.model-controls{bottom:110px}.model-inspection{max-height:85px;overflow:auto}.heading h2{font-size:20px}}

/* Keep CSS dimensions independent of the high-density drawing buffer. */
.scene-wrap canvas{position:absolute;inset:0;width:100%;height:100%;display:block}

.actions .next-action {
  background: #21473b;
  color: #fff;
  border: 2px solid #21473b;
  font-weight: 700;
  box-shadow: 0 0 0 3px #dce8cf;
}
.actions button:focus-visible {
  outline: 3px solid #b58428;
  outline-offset: 4px;
}
#guide { font-size: 1.1rem; font-weight: 600; }

.results-scroll{overflow-x:auto}.results-table{width:100%;border-collapse:collapse;font-size:.95rem}.results-table caption{text-align:left;margin:1rem 0;font-weight:600}.results-table th,.results-table td{text-align:left;padding:.65rem;border-bottom:1px solid #d2ded4;overflow-wrap:anywhere}.results-table th{font-weight:600}.results-table thead{background:#edf3e8}@media(max-width:480px){.results-table{font-size:.8rem}.results-table th,.results-table td{padding:.4rem}.results-table th:first-child{width:40%}}
