.dtc-personal { position:fixed; inset:0; box-sizing:border-box; width:min(520px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); margin:auto; padding:22px; overflow:auto; border:1px solid #e2e8f0; border-radius:20px; color:#243244; background:#fff; box-shadow:0 24px 80px #0004; font:400 14px/1.5 Inter,system-ui,sans-serif; }
.dtc-personal::backdrop { background:#14202e80; }
.dtc-personal:not([open]) { display:none; }
.dtc-personal * { box-sizing:border-box; }
.dtc-personal header,.dtc-personal footer { display:flex; align-items:center; gap:10px; }
.dtc-personal header { justify-content:space-between; margin-bottom:12px; }
.dtc-personal h2 { font:600 20px/1.3 Inter,system-ui,sans-serif; margin:0; color:#243244; }
.dtc-personal h3 { font:600 15px/1.4 Inter,system-ui,sans-serif; margin:18px 0 4px; color:#243244; }
.dtc-personal p { font:inherit; margin:0 0 12px; color:#64748b; }
.dtc-personal label { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:7px; font:500 13px/1.5 Inter,system-ui,sans-serif; margin:12px 0; color:#243244; }
.dtc-personal input[type="range"] { display:block; width:100%; height:24px; margin:0; padding:0; accent-color:#b4234a; cursor:pointer; }
.dtc-personal input[type="color"] { width:60px; height:40px; padding:3px; border:1px solid #cbd5e1; border-radius:8px; cursor:pointer; background:#fff; }
.dtc-personal .dtc-color-original { justify-content:flex-start; }
.dtc-personal input[type="checkbox"] { width:18px; height:18px; accent-color:#b4234a; }
.dtc-personal button { display:inline-flex; align-items:center; justify-content:center; width:auto; min-height:38px; padding:8px 13px; border:1px solid #cbd5e1; border-radius:12px; color:#243244; background:#f8fafc; font:500 13px/1.3 Inter,system-ui,sans-serif; cursor:pointer; }
.dtc-personal button:disabled,.dtc-personal input:disabled { opacity:.55; cursor:wait; }
.dtc-personal button[data-save] { color:#fff; background:#b4234a; border-color:#b4234a; }
.dtc-personal button:focus-visible,.dtc-personal input:focus-visible,.dtc-crop-stage:focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
.dtc-personal footer { margin-top:12px; }
.dtc-personal footer span { flex:1; }
.dtc-personal .dtc-personal__status { min-height:20px; margin:12px 0 0; font-size:12px; color:#a42443; }
.dtc-crop-surface { position:fixed; z-index:2147482050; box-sizing:border-box; background:transparent; border:0; touch-action:none; user-select:none; cursor:grab; }
.dtc-crop-surface.is-dragging { cursor:grabbing; }
.dtc-crop-surface[aria-busy="true"] { cursor:wait; }
.dtc-crop-surface[hidden],.dtc-crop-inline[hidden] { display:none!important; }
.dtc-crop-surface:focus-visible { outline:0; }
.dtc-crop-inline { position:fixed; z-index:2147483100; width:310px; max-width:calc(100vw - 20px); padding:10px 12px; box-sizing:border-box; border:1px solid #e4dce0; border-radius:14px; background:#fff; color:#243244; box-shadow:0 6px 24px #17202b26; font:400 12px/1.4 Inter,system-ui,sans-serif; }
.dtc-crop-inline__head,.dtc-crop-inline__zoom,.dtc-crop-inline__actions { display:flex; align-items:center; gap:8px; }
.dtc-crop-inline__head { justify-content:space-between; margin-bottom:5px; }
.dtc-crop-inline__head strong { font-size:12px; white-space:nowrap; }
.dtc-crop-inline [data-crop-status] { color:#a42443; font-size:11px; text-align:right; }
.dtc-crop-inline button { min-width:32px; height:32px; padding:0 9px; border:0; border-radius:8px; background:#f5f3f4; color:#243244; font:500 12px/1 Inter,system-ui,sans-serif; cursor:pointer; }
.dtc-crop-inline button:hover { background:#eee7ea; }
.dtc-crop-inline button:focus-visible,.dtc-crop-inline input:focus-visible { outline:2px solid #b4234a; outline-offset:2px; }
.dtc-crop-inline button:disabled,.dtc-crop-inline input:disabled { opacity:.6; cursor:wait; }
.dtc-crop-inline input { flex:1; min-width:0; height:30px; margin:0; padding:0; accent-color:#b4234a; cursor:pointer; }
.dtc-crop-inline output { min-width:34px; text-align:center; font:inherit; }
.dtc-crop-inline__actions { margin-top:5px; }
.dtc-crop-inline__actions span { flex:1; }
.dtc-crop-inline [data-crop-save] { background:#b4234a; color:#fff; }
.dtc-crop-editing .dtc-ph-layer { visibility:hidden; }
.iv-editing .dtc-crop-active { outline:0!important; }
@media(max-width:700px) {
 .dtc-crop-inline { left:0; right:0; bottom:0; width:100%; max-width:none; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); border-radius:16px 16px 0 0; }
 .dtc-crop-inline button { height:36px; }
 .dtc-crop-editing .dtc-ed-bar,.dtc-crop-editing .dtc-ed-status { visibility:hidden; }
}
.dtc-dress-controls > div { display:flex; flex-wrap:wrap; gap:12px; }
.dtc-dress-controls > div label { display:flex; flex-direction:column; margin:4px 0; }
.dtc-dress-controls[hidden] { display:none; }
.iv-editing [data-dtc-dress] { outline:none; cursor:pointer; }
.dtc-ph-crop { border:0; border-radius:999px; padding:7px 10px; background:#fff; color:#233447; font:600 11px/1.2 Inter,system-ui,sans-serif; cursor:pointer; box-shadow:0 2px 12px #0003; pointer-events:auto; white-space:nowrap; }
.dtc-ph-tools.is-busy .dtc-ph-crop { display:none; }
.dtc-ph-crop[hidden] { display:none; }
@media(max-width:600px) { .dtc-personal { padding:16px; } .dtc-personal footer { gap:6px; } .dtc-personal button { padding:8px 10px; } .dtc-ph-crop { padding:7px; } }
