.rotation-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px;width:100%;margin-top:5px}.rotation-controls span{margin-right:auto}.rotation-controls button{border:1px solid #6f8d8b;border-radius:7px;background:#1a3537;color:#fff;padding:7px 10px}.rotation-controls button.primary{width:auto;margin-top:0;background:#168f87;border-color:#168f87}.rotation-controls button.muted{background:#53696c}.rotation-feedback{min-height:1.3em;color:#c8dbd8}.rotation-feedback.success{color:#84e2a5}.rotation-feedback.error{color:#ffb0a8}#viewer.rotation-enabled{display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}#viewer.rotation-enabled #viewerMedia{min-height:100px;height:min(74vh,calc(95vh - 132px));padding:18px 22px 0;overflow:hidden}#viewer.rotation-enabled #viewerMedia .rotation-preview{width:auto;height:auto;max-width:none;max-height:none;object-fit:contain;transform-origin:center center;transition:transform .15s ease}#viewer.rotation-enabled #viewerInfo{max-height:132px;overflow:auto;align-content:center}
