.to-camera{box-sizing:border-box;width:min(100% - 24px,640px);max-height:calc(100dvh - 24px);margin:auto;padding:16px;overflow:auto;border:1px solid #454545;border-radius:16px;background:#171717;color:#fff;font:16px/1.5 system-ui,sans-serif}.to-camera::backdrop{background:#000c}.to-camera__head,.to-camera__actions{display:flex;align-items:center;gap:12px;justify-content:space-between}.to-camera h2{margin:0;color:inherit;font:600 18px/1.4 system-ui,sans-serif}.to-camera p{margin:12px 0;color:inherit}.to-camera .to-camera__error{color:#ffc5c5}.to-camera__video{display:block;width:100%;height:min(52dvh,480px);margin-top:16px;background:#000;object-fit:contain;border-radius:8px}.to-camera button{min-height:44px;padding:10px 14px;border:1px solid #777;border-radius:8px;background:#292929;color:#fff;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}.to-camera button:disabled{opacity:.5;cursor:default}.to-camera button:focus-visible{outline:3px solid #fff;outline-offset:3px}.to-camera .to-camera__shutter{background:#fff;color:#171717;border-color:#fff;flex:1}
