.cam-camera-dialog,.cam-corners-dialog{color:var(--color-ink);background:var(--color-surface);border:1px solid var(--color-ink);width:min(94vw,850px);max-height:92vh;border-radius:.6rem;max-height:92dvh;padding:1rem;overflow-y:auto}.cam-camera-dialog::backdrop,.cam-corners-dialog::backdrop{background:#0f0d09b3}.cam-dialog-title{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.6rem;display:flex}.cam-dialog-title h2{margin:0;font-size:1.15rem}.cam-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin-top:.8rem;display:flex}.cam-dialog-actions .button{text-align:center;justify-content:center;align-items:center;gap:.4rem;min-height:44px;display:inline-flex}.cam-mode-dialog{width:min(94vw,850px)}.cam-mode-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.cam-mode-actions button{text-align:left;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:.7rem;min-height:84px;padding:.8rem;display:grid}.cam-mode-actions .studio-action-icon{stroke-width:2px;flex-shrink:0;width:24px;height:24px}.cam-mode-copy{gap:.23rem;min-width:0;display:grid}.cam-mode-copy strong{font-weight:700;line-height:1.25}.cam-mode-actions small{color:var(--color-muted);font-size:.83rem;line-height:1.4}.cam-mode-actions button:disabled{opacity:.55;cursor:not-allowed}@media (max-width:780px){.cam-mode-actions{grid-template-columns:minmax(0,1fr)}}@media (max-width:390px){.cam-camera-dialog,.cam-corners-dialog{padding:.65rem}}.cam-phone-dialog{width:min(46rem,100vw - 1.5rem)}.cam-phone-body{grid-template-columns:auto 1fr;align-items:start;gap:1.25rem;display:grid}.cam-phone-qr{background:#fff;border:2.5px solid #26201a;border-radius:10px;place-items:center;width:220px;height:220px;padding:10px;display:grid}.cam-phone-qr svg{width:100%;height:100%}.cam-phone-steps{margin:0 0 .75rem;padding-left:1.2rem}.cam-phone-steps li{margin:.25rem 0}.cam-phone-status{min-height:1.5em;margin:0 0 .3rem;font-weight:700}.cam-phone-status[data-kind=error]{color:#a1260f}:root[data-theme=dark] .cam-phone-status[data-kind=error]{color:#ff9a7d}.cam-phone-meta{font:700 .8rem/1.4 var(--font-mono);color:var(--color-muted);margin:0 0 .5rem}.cam-phone-note{color:var(--color-muted);margin:0;font-size:.85rem}@media (max-width:620px){.cam-phone-body{grid-template-columns:1fr;justify-items:center}.cam-phone-qr{width:200px;height:200px}}.pdf-dialog[data-pdf-signature-dialog]:has([data-pdf-signature-mobile]:not([hidden])){width:min(46rem,100vw - 1.5rem);max-height:92vh;border-radius:.6rem;max-height:92dvh;padding:1rem;overflow-y:auto}.pdf-dialog[data-pdf-signature-dialog]:has([data-pdf-signature-mobile]:not([hidden]))::backdrop{background:#0f0d09b3}.pdf-signature-mobile .cam-phone-body>div:last-child{width:100%;min-width:0}.pdf-signature-mobile .cam-phone-meta [data-pdf-signature-countdown]{font-variant-numeric:tabular-nums}.cam-mode-dialog .cam-settings-note{color:var(--color-muted);margin:.65rem 0 0;font-size:.85rem;line-height:1.5}
