:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1e2934; background: #f7f8fa; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #275571; text-decoration: none; }
a:hover { text-decoration: underline; }
button, select, input { font: inherit; }
button, select { cursor: pointer; }
button, select, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #4b91c9; outline-offset: 3px; }
.masthead { min-height: 76px; padding: 20px 4vw; background: #fff; border-bottom: 1px solid #dfe4e9; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 24px; font-weight: 750; color: #173e55; letter-spacing: -.6px; }
.brand span { font-size: 14px; font-weight: 450; letter-spacing: 0; color: #677582; border-left: 1px solid #cdd5db; margin-left: 14px; padding-left: 16px; }
.brand:hover { text-decoration: none; }
nav { display: flex; gap: 26px; font-size: 14px; }
main, footer { max-width: 1600px; margin: auto; padding-left: 4vw; padding-right: 4vw; }
.intro { margin: 32px 0 26px; }
h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 650; letter-spacing: -.7px; margin: 0 0 9px; }
.intro p { font-size: 14px; line-height: 1.6; margin: 0; color: #5a6874; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.scene-picker { display: flex; padding: 4px; background: #e9edf1; border-radius: 8px; gap: 4px; }
.scene-picker button { padding: 10px 18px; border: 0; border-radius: 5px; background: transparent; color: #536471; font-weight: 600; }
.scene-picker button span { margin-left: 8px; font-size: 12px; font-weight: 400; opacity: .8; }
.scene-picker button[aria-pressed="true"] { color: #fff; background: #224c66; box-shadow: 0 1px 3px #18384d20; }
.reset { background: #fff; border: 1px solid #d5dce2; color: #3e515f; border-radius: 6px; padding: 10px 14px; font-size: 13px; }
.reset:hover { background: #edf2f5; }
.comparisons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.panel { min-width: 0; background: #fff; border: 1px solid #d6dee5; border-radius: 9px; overflow: hidden; }
.panel-bar { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #e2e7eb; }
.panel-bar select { max-width: 170px; border: 0; color: #233e51; background: #fff; padding: 6px 24px 6px 0; font-size: 15px; font-weight: 650; }
.point-count { color: #788692; font-size: 12px; white-space: nowrap; }
.download { margin-left: auto; font-size: 12px; white-space: nowrap; }
.download[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.viewport { height: clamp(340px, 48vw, 590px); position: relative; background: #fff; }
.viewport canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.status { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; color: #4d6171; background: #ffffffed; font-size: 14px; padding: 28px; text-align: center; }
.status[hidden], [hidden] { display: none !important; }
.view-controls { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; font-size: 12px; color: #667683; }
.view-controls p { margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.view-controls strong { color: #3f5769; font-weight: 600; }
.display-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.display-settings label { display: flex; align-items: center; gap: 8px; }
.display-settings input { width: 90px; accent-color: #28536e; }
.display-settings output { min-width: 28px; font-variant-numeric: tabular-nums; }
.display-settings select { padding: 5px; border: 1px solid #d6dee5; border-radius: 4px; color: #3f5769; background: #fff; font-size: 12px; }
.note { color: #74818b; font-size: 12px; line-height: 1.6; margin: 22px 0 30px; }
footer { border-top: 1px solid #e0e6ea; padding-top: 17px; padding-bottom: 24px; color: #74818b; font-size: 11px; display: flex; justify-content: space-between; gap: 20px; }
footer a { color: #74818b; }
#error { background: #fff3ed; color: #793c28; border: 1px solid #efc5b2; border-radius: 6px; padding: 14px; margin-bottom: 14px; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .point-count { display: none; } .panel-bar { padding: 10px; gap: 5px; } .panel-bar select { max-width: 140px; } }
@media (max-width: 600px) { .masthead { min-height: 64px; padding: 16px 5vw; } .brand { font-size: 21px; } .brand span { display: none; } nav { gap: 16px; font-size: 12px; } main, footer { padding-left: 5vw; padding-right: 5vw; } .intro { margin-top: 24px; } .intro p { font-size: 13px; } .scene-picker button { padding: 10px 12px; font-size: 13px; } .scene-picker button span { display: none; } .comparisons { grid-template-columns: 1fr; gap: 14px; } .viewport { height: 330px; } .point-count { display: inline; } .panel-bar { padding: 10px 13px; } .view-controls p { line-height: 1.6; gap: 5px; } .view-controls p span { flex-basis: 100%; } .display-settings { gap: 14px; } }
