.h3d{border:2px solid #345c00;border-radius:10px;overflow:hidden;margin:1.2em 0;background:#faf8f2;color:#242424}.h3d h3{background:#345c00;color:white;margin:0!important;padding:12px 16px}.h3d-stage{position:relative;display:flex;align-items:center;justify-content:center;max-height:75vh;min-height:250px}.h3d-stage canvas{display:block;width:100%;height:100%;touch-action:none}.h3d-status{position:absolute;bottom:12px;left:12px;right:12px;background:#fff;color:#333;padding:5px;pointer-events:none}.h3d-status:empty{display:none}.h3d-toolbar,.h3d-controls{padding:12px;display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid #ccc}.h3d [hidden]{display:none!important}.h3d button{background:#345c00;color:#fff;border:1px solid #345c00;border-radius:5px;padding:8px 12px;cursor:pointer}.h3d button:hover{background:#fcb900;color:#222}.h3d button:focus-visible,.h3d select:focus-visible{outline:3px solid #cf2e2e}.h3d-controls label{display:flex;align-items:center;gap:6px;font-size:.9em}.h3d-presets{width:100%;display:flex;flex-wrap:wrap;gap:8px}.h3d-credit,.h3d details{padding:8px 16px;margin:0}.h3d:fullscreen{display:flex;flex-direction:column;background:#faf8f2}.h3d:fullscreen .h3d-stage{flex:1;max-height:none;height:auto!important}.h3d:fullscreen .h3d-controls{max-height:35vh;overflow:auto}

.h3d h3{padding:7px 14px}.h3d-stage{max-height:none;min-height:250px}.h3d-transparent{background:transparent}.h3d-transparent .h3d-stage{background:transparent!important}.h3d-transparent .h3d-toolbar,.h3d-transparent .h3d-controls{background:#faf8f2}.h3d-controls input[type=checkbox]{accent-color:#345c00}.h3d-group{border:1px solid #d5d2c6;border-radius:6px;margin:0;padding:8px 12px;min-width:0;flex:1 1 240px;display:flex;flex-wrap:wrap;gap:8px 14px}.h3d-group legend{font-weight:700;color:#345c00;padding:0 5px}.h3d-group label{flex:1 1 145px}.h3d-group select{max-width:100%;min-width:0}.h3d-presets{padding-bottom:8px;border-bottom:1px solid #ddd}.h3d-stage{overflow:hidden}@media(max-width:900px){.h3d-stage{max-height:68vh}}@media(max-width:600px){.h3d-stage{max-height:58vh;min-height:260px}.h3d-group{flex-basis:100%}.h3d h3{font-size:1.2em}}.h3d:fullscreen .h3d-stage{max-height:none;min-height:0}.h3d:fullscreen .h3d-controls{flex-shrink:0}
