html[data-model-viewer] body{height:auto;min-height:100%;overflow:auto}#app.mp-model-legacy{display:flex;flex-direction:column;align-items:stretch;width:min(100%,64rem);min-width:0;min-height:0;height:auto;box-sizing:border-box;margin:0 auto;padding:12px clamp(8px,2vw,18px) 20px;gap:8px}#app.mp-model-legacy>header{position:static!important;order:0;padding:0!important;width:100%;z-index:auto}html[data-model-viewer].url-query-mode #app.mp-model-legacy:not([data-model-ready])>header{display:flex!important}.mp-model-legacy #topPanel{width:100%;min-width:0;box-sizing:border-box}#app.mp-model-legacy[data-model-ready]>header{display:none!important}#app.mp-model-legacy>:is(#viewerWrap,#viewer-main){order:1;flex:none;width:100%;min-height:0;min-width:0;box-sizing:border-box;margin:0;padding:0}#app.mp-model-legacy>#viewer-main{height:auto}#app.mp-model-legacy [data-model-stage]{position:relative;overflow:hidden;width:100%;min-height:0;height:clamp(260px,62svh,670px);box-sizing:border-box;border:1px solid #d8e3ed;border-radius:14px;background:radial-gradient(ellipse at 50% 38%,#fff 15%,#e9f2f8)}#app.mp-model-legacy #canvas{position:absolute;inset:0;display:block;width:100%;height:100%}#app.mp-model-legacy[data-model-ready] #viewerWrap:has(#canvasBody){grid-template-columns:minmax(0,1fr)}#app.mp-model-legacy #canvasBody{border:0;border-radius:0}#app.mp-model-legacy>footer{order:3;position:static;padding:0}.mp-model-dock{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:8px;margin-block:6px}.mp-model-legacy .mp-model-dock{order:2;grid-template-columns:auto minmax(0,1fr);margin:0}.mp-model-dock[hidden]{display:none!important}.mp-model-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}.mp-model-actions>button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:7px 12px;border:1px solid #cbd9e6;border-radius:10px;color:#19354e;background:#fff;font:600 .875rem/1.25 system-ui,sans-serif;cursor:pointer}.mp-model-info{align-self:start;min-width:0;box-sizing:border-box;border:1px solid #cbd9e6;border-radius:10px;color:#19354e;background:#f7fafc}.mp-model-info>summary{box-sizing:border-box;min-height:44px;padding:11px 12px;font:600 .875rem/22px system-ui,sans-serif;cursor:pointer}.mp-model-info>summary:focus-visible,.mp-model-actions>button:focus-visible{outline:2px solid #0073aa;outline-offset:-2px}.mp-model-info-body{display:grid;justify-items:start;gap:6px;min-width:0;overflow-wrap:anywhere;padding:0 12px 12px}.mp-model-info-body #status,.mp-model-info-body #meshInfo,.mp-model-info-body #modelHelp,.mp-model-info-body #canvasHelp,.mp-model-info-body #viewerMimeInfo{min-width:0;max-width:100%;color:#324b61;margin:0}.mp-model-info-body .status{border:0;padding:0;white-space:pre-wrap}.mp-model-info-body .card{max-width:100%;min-width:0;box-sizing:border-box}.mp-model-info-body .card pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:560px){#app.mp-model-legacy [data-model-stage]{height:clamp(250px,54svh,450px)}#app.mp-model-legacy .controls>*,#app.mp-model-legacy .controls input{min-width:0;max-width:100%;box-sizing:border-box}#app.mp-model-legacy .controls #browseBtn{min-height:44px}#app.mp-model-legacy .mp-model-dock{grid-template-columns:minmax(0,1fr)}}:is(html.mp-embedded,html.is-embedded) #app.mp-model-legacy{padding:8px!important;gap:8px!important}:is(html.mp-embedded,html.is-embedded) #app.mp-model-legacy [data-model-stage]{height:clamp(200px,calc(100dvh - 72px),750px)}:is(html.mp-embedded,html.is-embedded) #app.mp-model-legacy .mp-model-dock{grid-template-columns:auto minmax(0,1fr)}:is(html.mp-embedded,html.is-embedded) #openAnotherModel{display:none}:is(html.mp-embedded,html.is-embedded)[data-model-viewer=modern] [data-model-ready] #viewerWrap{min-height:0;height:clamp(200px,calc(100dvh - 124px),720px)}html[data-model-viewer=modern] :is(#fileName,#status,#meshInfo){overflow-wrap:anywhere;min-width:0}
