#profile-photo-crop { position:fixed; inset:0; z-index:150; display:grid; place-items:center; padding:16px; background:rgba(11,28,48,.6); }
#profile-photo-crop section { width:min(100%,380px); max-height:calc(100dvh - 32px); overflow-y:auto; background:#f8f9ff; color:#0b1c30; border-radius:8px; padding:16px; box-sizing:border-box; }
#profile-photo-crop header { position:static; inset:auto; display:flex; align-items:center; gap:8px; background:transparent; backdrop-filter:none; }
#profile-photo-crop h2 { margin:0; font:600 18px/24px Inter,sans-serif; }
#profile-photo-crop button { min-height:44px; border:0; cursor:pointer; font:600 14px Inter,sans-serif; }
#profile-photo-crop [data-crop-close], #profile-photo-crop [data-crop-reset] { width:44px; flex:none; padding:0; display:grid; place-items:center; color:#0b1c30; background:transparent; }
#profile-photo-crop .photo-crop-stage { position:relative; width:100%; aspect-ratio:1; margin-top:16px; overflow:hidden; background:#e5eeff; touch-action:none; cursor:grab; }
#profile-photo-crop canvas { display:block; width:100%; height:100%; }
#profile-photo-crop .photo-crop-grid { position:absolute; inset:0; border:2px solid #fff; pointer-events:none; box-sizing:border-box; background:linear-gradient(to right,transparent calc(33.333% - .5px),#ffffff70 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff70 66.666%,transparent calc(66.666% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#ffffff70 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff70 66.666%,transparent calc(66.666% + .5px)); }
#profile-photo-crop .photo-crop-zoom { display:flex; align-items:center; gap:12px; margin:16px 0; }
#profile-photo-crop input[type=range] { width:100%; min-width:0; min-height:44px; margin:0; padding:0; box-shadow:none; accent-color:#0051d5; background:transparent; }
#profile-photo-crop footer { display:flex; gap:12px; align-items:center; }
#profile-photo-crop [data-crop-save] { flex:1; border-radius:8px; background:#0051d5; color:#fff; }
#profile-photo-crop button:disabled { opacity:.5; }
#profile-photo-crop .material-symbols-outlined { font-size:24px; }
