/* editor: tappable lines over each page, and the style sheet. Class names start with ed-. */
.ed-hint { position: sticky; top: 0; z-index: 3; margin: 0; padding: 10px 16px; background: #14181c; color: #fff; font-weight: 600; font-size: 15px; text-align: center; }
.ed-boxes { position: absolute; inset: 0; }
.ed-line {
  position: absolute; padding: 0; margin: 0; border: 1.5px dashed rgba(242, 133, 0, .55); border-radius: 3px; background: transparent;
  cursor: pointer; overflow: visible; white-space: nowrap; text-align: left; font: inherit; line-height: 1;
}
.ed-line:hover, .ed-line:focus-visible { background: rgba(242, 133, 0, .12); outline: none; }
.ed-line.changed { background: #fff; border-style: solid; border-color: #f28500; }
.ed-line.new { width: auto; height: auto; padding: 1px 2px; }
.ed-shown { display: inline-block; line-height: 1.15; }
.ed-adding .ed-page { cursor: crosshair; outline: 3px solid #f28500; }
.ed-sheet .ed-text { margin-bottom: 8px; }
.ed-label { margin: 14px 0 6px; font-weight: 600; font-size: 15px; }
.ed-seg, .ed-styles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ed-sizes { display: inline-flex; align-items: center; gap: 6px; }
.ed-size { min-width: 36px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.ed-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ed-swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.ed-swatch.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.ed-custom { width: 48px; height: 40px; border: 0; padding: 0; background: none; cursor: pointer; }
.ed-preview { margin: 6px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); min-height: 44px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #111; }
.ed-warn { color: var(--danger); font-size: 14px; margin: 4px 0; }
