/* Shared local license capture. Existing RIDGE controls/palette remain authoritative. */
.license-capture-dialog{width:min(900px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #9fb3aa;border-radius:12px;background:#fff;color:#10221b}
.license-capture-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.license-capture-dialog::backdrop{background:#071b14bb}
.license-capture-header,.license-capture-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;background:#fff;flex-shrink:0}.license-capture-header{justify-content:space-between;border-bottom:1px solid #d4e0da}.license-capture-header h2{font-size:22px;margin:0}.license-capture-header button,.license-capture-actions button,.license-capture-moves button,.license-capture-adjustments>button{min-height:48px;cursor:pointer}
.license-capture-body{overflow:auto;min-height:0;padding:0 18px 14px;overscroll-behavior:contain}.license-capture-body p{line-height:1.5}.license-capture-status{min-height:3em}.license-capture-actions{border-top:1px solid #d4e0da;justify-content:flex-end}
.license-capture-stage{position:relative;width:100%;height:min(52dvh,460px);background:#10221b;overflow:hidden}.license-capture-stage video{display:block;width:100%;height:100%;object-fit:contain}.license-capture-frame{position:absolute;border:3px solid #fff;box-shadow:0 0 0 200vmax #0008;pointer-events:none;border-radius:8px}
.license-capture-crop,.license-capture-confirm{display:block;width:100%;max-height:52dvh;object-fit:contain;background:#edf4f0;border:2px solid #146b4d;border-radius:8px}.license-capture-crop{touch-action:none;cursor:move}.license-capture-adjustments{margin-top:14px;display:grid;gap:12px}.license-capture-adjustments label{display:grid;gap:6px}.license-capture-adjustments input[type=range]{width:100%;min-height:48px}.license-capture-moves{display:flex;flex-wrap:wrap;gap:8px}.license-capture-dialog [hidden]{display:none!important}.license-capture-dialog :focus-visible{outline:3px solid #2877a8;outline-offset:3px}.license-capture-dialog button:disabled{opacity:.55;cursor:default}@media(max-width:520px){.license-capture-header,.license-capture-actions{padding:12px}.license-capture-body{padding:0 12px 12px}.license-capture-actions button{flex:1 1 42%}.license-capture-moves button{flex:1 1 42%}.license-capture-header h2{font-size:20px}.license-capture-stage{height:42dvh}}