/* public/widgets/photo-crop.css - the "Center the face" dialog
   (public/widgets/photo-crop.js, Richard 2026-10-21). Design-system tokens
   only, so light and dark both hold. */
.pc-backdrop { position: fixed; inset: 0; z-index: var(--z-dialog, 1000); background: var(--surface-overlay); display: flex; align-items: center; justify-content: center; padding: var(--s-4); }
.pc-dialog { width: min(360px, 100%); background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); box-shadow: var(--sh-lg); }
.pc-title { font-size: var(--text-lg); font-weight: 700; }
.pc-hint { font-size: var(--text-sm); color: var(--ink-3); }
.pc-stage { position: relative; width: 280px; max-width: 100%; aspect-ratio: 1; align-self: center; border-radius: var(--r-md); overflow: hidden; cursor: grab; touch-action: none; background: var(--surface-2); }
.pc-stage:active { cursor: grabbing; }
.pc-stage:focus-visible { outline: none; box-shadow: var(--ring); }
.pc-canvas { width: 100%; height: 100%; display: block; }
/* The circle the card shows; everything outside it is dimmed. */
.pc-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px var(--surface-overlay); outline: 2px solid var(--surface); outline-offset: -2px; pointer-events: none; }
.pc-zoom { display: flex; align-items: center; gap: var(--s-3); font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); }
.pc-zoom input { flex: 1; min-height: 44px; accent-color: var(--accent); }
.pc-acts { display: flex; justify-content: flex-end; gap: var(--s-2); }
.pc-acts .ds-btn { min-height: 44px; }
