:root{color-scheme:dark;font:15px system-ui;background:#08141a;color:#e4eff2}*{box-sizing:border-box}body{margin:0;padding:20px;max-width:1700px;margin-inline:auto}header,.toolbar,.modelhead{display:flex;gap:14px;align-items:center;flex-wrap:wrap}header{justify-content:space-between;margin-bottom:16px}h1{font-size:24px;margin:3px 0}h2{font-size:17px}small{color:#94b0bd;letter-spacing:.13em}a{color:#86d8f0}button,select{font:inherit;border:1px solid #3a5460;background:#122b36;color:inherit;border-radius:7px;padding:8px 12px;cursor:pointer}button:active{background:#256478}label{display:flex;gap:6px;align-items:center}.toolbar{padding:10px 0}#scrub{width:100%;margin:4px 0}#time{font-variant-numeric:tabular-nums;color:#9ed8e9}#status{color:#a8c0cb;font-size:13px}main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}article,.model{background:#0c1f29;border:1px solid #2b4551;border-radius:10px;overflow:hidden}article.active{border-color:#5bd9f3}article header{padding:12px;margin:0;gap:4px}article header span{font-size:12px;color:#a4bdc8}article canvas{display:block;width:100%;height:auto;cursor:zoom-in}article.expanded{grid-column:1/-1;max-width:900px;justify-self:center;width:100%}article.expanded canvas{cursor:zoom-out}i{display:inline-block;width:9px;height:9px;border-radius:50%}.cyan{background:#5dd9f3}.orange{background:#ffac5b}.purple{background:#d591ff}.yellow{background:#ffff9b}.model{margin-top:14px}.modelhead{justify-content:space-between;padding:0 16px}.model canvas{width:100%;max-height:540px;object-fit:contain}.model p,details{color:#a8c0cb;font-size:13px;padding:12px}.error{color:#ff8b8b!important}@media(max-width:720px){body{padding:10px}main{grid-template-columns:1fr}.toolbar{gap:9px;font-size:13px}button{padding:8px}article canvas{max-height:65vh;object-fit:contain}article.expanded{max-width:100%}header a{font-size:13px}}
/* Keep source views and the selected model visible together on desktop. */
main{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}.model{order:2;margin-top:0}.modelhead{gap:8px;padding:8px 12px}.modelhead h2{margin:0;width:100%}.modelhead label{font-size:12px}.modelhead select{max-width:180px;padding:6px}.model canvas{height:auto;min-height:280px}.model p{line-height:1.4;margin:0}article.expanded{grid-column:span 2;max-width:none}@media(max-width:1100px){main{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){main{grid-template-columns:1fr}article.expanded{grid-column:auto}.model canvas{min-height:0}}
section.toolbar:first-of-type{position:sticky;top:0;z-index:5;background:#08141a;border-bottom:1px solid #2b4551}
