:root{font-family:Arial,sans-serif;color:#202925;background:#fff;font-synthesis:none;letter-spacing:0}
*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}a{color:#126653;text-decoration:none}button,a,select{-webkit-tap-highlight-color:transparent}button,select{min-height:38px;border:1px solid #cbd4cf;border-radius:4px;background:#fff;color:inherit}button{padding:8px 12px;cursor:pointer}button:hover{background:#eaf2ee}button:disabled{opacity:.5;cursor:wait}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #a05776;outline-offset:3px}
header{height:72px;display:flex;align-items:center;gap:28px;padding:0 28px;border-bottom:1px solid #dbe1dd}h1{font-size:21px;margin:0}header span{margin-left:auto;color:#637068;font-size:13px}
main{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:calc(100vh - 72px)}.workspace{min-width:0}.toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:20px 24px}.product-label{display:grid;gap:6px;font-size:12px;min-width:0}.product-label select{max-width:100%;width:290px;padding:7px;font-size:14px}.views{display:flex;gap:3px}.views button{font-size:13px}.views button[aria-pressed=true]{background:#203f34;color:white;border-color:#203f34}
#stage{position:relative;height:clamp(340px,60vh,750px);background:#f0f3f1;overflow:hidden;touch-action:none}#stage canvas{display:block;width:100%;height:100%}#loading{position:absolute;z-index:1;left:20px;top:12px;font-size:14px;color:#465b50}#loading:empty{display:none}.stage-footer{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:12px 24px;border-bottom:1px solid #dbe1dd;font-size:13px}.stage-footer label{display:flex;align-items:center;gap:7px}.stage-footer button{margin-left:auto}input[type=checkbox]{accent-color:#166650;width:16px;height:16px}
#modelStrip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:18px 24px}#modelStrip button{display:grid;justify-items:center;gap:6px;font-size:12px;min-width:0;padding:8px;border-radius:4px}#modelStrip button[aria-pressed=true]{border:2px solid #186551;background:#edf5f0;padding:7px}#modelStrip img{width:100%;height:80px;object-fit:contain;background:#f0f3f1}#modelStrip span{max-width:100%;overflow-wrap:anywhere}
aside{border-left:1px solid #dbe1dd;padding:24px}h2{font-size:19px;line-height:1.35;margin:0 0 10px}.badge{display:inline-block;margin:0 0 16px;color:#8b3857;font-size:12px}#original{width:100%;height:240px;object-fit:contain;background:#f5f6f5;border-radius:4px}aside p{font-size:13px;line-height:1.6}.muted{color:#6b746e}dl{font-size:13px;margin:22px 0}dt{color:#6b746e;margin-top:14px}dd{margin:6px 0}.exports{display:grid;gap:10px}.exports a,.exports button{text-align:center;border:1px solid #becfc4;border-radius:4px;padding:10px;font-size:14px}.exports a:first-child{background:#1c5944;color:white}#error{color:#a22c35}
@media(max-width:900px){main{grid-template-columns:minmax(0,1fr) 270px}.toolbar{align-items:stretch;flex-direction:column}.product-label select{width:100%}#modelStrip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){header{padding:0 16px;gap:18px;height:60px}h1{font-size:18px}main{display:block}.toolbar{padding:14px 16px;gap:12px}.views button{flex:1}#stage{height:400px;height:49svh;min-height:300px}.stage-footer{padding:12px 16px;gap:12px}.stage-footer button{margin-left:0}#modelStrip{display:flex;overflow-x:auto;padding:16px}#modelStrip button{flex:0 0 100px}#modelStrip img{height:66px}aside{border-left:0;border-top:1px solid #dbe1dd;padding:20px 16px}#original{height:300px}.exports{grid-template-columns:1fr 1fr}.exports a:last-of-type{grid-column:1/-1}}
