/* Drag handles and the Spacing & border card in the email designer. */
.dz-pad-layer { position: fixed; z-index: 2147483000; pointer-events: none; }
.dz-pad-layer[hidden] { display: none; }
.dz-pad-zone { position: absolute; background: rgba(90, 200, 250, .16); opacity: 0; transition: opacity .12s; }
.dz-pad-layer:hover .dz-pad-zone, .dz-pad-layer.dragging .dz-pad-zone { opacity: 1; }
.dz-pad-handle { position: absolute; width: 22px; height: 6px; margin: -3px 0 0 -11px; padding: 0; border: 1.5px solid #fff; border-radius: 4px; background: #0a84ff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); cursor: ns-resize; pointer-events: auto; touch-action: none; }
.dz-pad-handle.vertical { width: 6px; height: 22px; margin: -11px 0 0 -3px; cursor: ew-resize; }
.dz-pad-handle:hover, .dz-pad-handle:focus-visible { background: #409cff; outline: none; transform: scale(1.15); }
/* A bigger invisible grip for fingers and pens. */
.dz-pad-handle::before { content: ''; position: absolute; inset: -10px; }
.dz-pad-label { position: absolute; padding: 4px 8px; border-radius: 6px; background: rgba(29, 29, 31, .9); color: #fff; font: 600 11px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; white-space: nowrap; pointer-events: none; }
.dz-spacing .dz-spacing-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.dz-spacing .dz-link-toggle { border: 1px solid var(--line, #e8e8eb); border-radius: 980px; padding: 3px 9px; background: transparent; color: var(--muted, #6e6e7a); font: inherit; font-size: 11px; cursor: pointer; }
.dz-spacing .dz-link-toggle.on { border-color: #0a84ff; color: #0a84ff; background: rgba(10, 132, 255, .08); }
.dz-spacing .dz-num-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.dz-spacing .dz-num-grid .dz-range { grid-column: 1 / -1; }
.dz-spacing .dz-num { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: 10px; color: var(--muted, #6e6e7a); }
.dz-spacing .dz-num input { width: 100%; min-width: 0; box-sizing: border-box; padding: 5px 6px; border: 1px solid var(--line-strong, #d6d6db); border-radius: 6px; font: inherit; font-size: 12px; color: var(--ink, #1c1c21); background: var(--surface, #fff); }
.dz-spacing .dz-range { display: block; margin: 0; font-size: 11px; }
.dz-spacing .dz-range > span { display: flex; justify-content: space-between; color: var(--muted, #6e6e7a); }
.dz-spacing .dz-range output { font-variant-numeric: tabular-nums; }
.dz-spacing .dz-range input { width: 100%; margin: 4px 0 0; accent-color: #0a84ff; }
.dz-spacing .dz-border-line { display: flex; gap: 6px; margin-top: 8px; }
.dz-spacing .dz-border-line select { flex: 1; min-width: 0; padding: 5px 6px; border: 1px solid var(--line-strong, #d6d6db); border-radius: 6px; font: inherit; font-size: 12px; background: var(--surface, #fff); color: var(--ink, #1c1c21); }
.dz-spacing .dz-border-line input[type="color"] { flex: none; width: 38px; height: 30px; padding: 2px; border: 1px solid var(--line-strong, #d6d6db); border-radius: 6px; background: var(--surface, #fff); cursor: pointer; }
