.maevvarp-page #preview [data-logo-letter][data-glyph-index] { cursor: grab; outline: none; pointer-events: bounding-box; touch-action: none; }
.maevvarp-page .canvas.is-editing #preview [data-logo-letter] { cursor: grabbing; }
.maevvarp-page .glyph-hover { position: absolute; z-index: 3; box-sizing: border-box; border: 1px solid var(--color-text-primary); border-radius: var(--tool-control-radius); overflow: hidden; pointer-events: none; }
.maevvarp-page .glyph-hover[hidden], .maevvarp-page .canvas.is-editing .glyph-hover { display: none; }
.maevvarp-page .glyph-hover__hints { position: absolute; top: 0; left: 0; right: 0; display: grid; align-content: center; gap: 1px; min-height: 45px; box-sizing: border-box; padding: 2px 6px; background: var(--color-surface-raised); color: var(--color-text-primary); }
.maevvarp-page .glyph-hover--below .glyph-hover__hints { top: auto; bottom: 0; }
.maevvarp-page .glyph-hover__hint { display: inline-flex; align-items: center; gap: 3px; min-width: 0; font-size: var(--tool-type-caption); font-weight: inherit; line-height: 16px; white-space: nowrap; }
.maevvarp-page .glyph-hover__hint :is(.tool-icon, .glyph-hover__swipe) { display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; font-size: 16px; line-height: 16px; }
.maevvarp-page .glyph-hover__swipe { background: currentColor; -webkit-mask: url('icons/swipe-arrows.svg') center / contain no-repeat; mask: url('icons/swipe-arrows.svg') center / contain no-repeat; }
.maevvarp-page .canvas.is-editing .kerning-handle :is(.kerning-outline,.kerning-line,.kerning-dot) { opacity: 0 !important; }
.maevvarp-page .canvas.is-editing #kerning-overlay { cursor: grabbing; }
.maevvarp-page .canvas-feedback { position: absolute; z-index: 5; padding: 5px 8px; background: var(--color-text-primary); color: var(--color-surface-raised); font-size: var(--tool-type-body); font-variant-numeric: tabular-nums; line-height: 1.2; border-radius: var(--tool-control-radius); white-space: nowrap; pointer-events: none; }
.maevvarp-page .canvas-feedback[hidden] { display: none; }
.maevvarp-page .glyph-editor { position: absolute; z-index: 4; right: 12px; top: 50%; width: 246px; max-height: calc(100% - 24px); transform: translateY(-50%); }
.maevvarp-page .glyph-editor__comparison { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; gap: 4px; min-height: 96px; padding: 0 12px 10px; }
.maevvarp-page .glyph-editor__comparison svg { display: block; width: 100%; height: 96px; min-width: 0; fill: currentColor; }
.maevvarp-page .glyph-editor__comparison-arrow { justify-self: center; color: var(--color-text-secondary); font-size: 20px; line-height: 20px; }
.maevvarp-page .glyph-editor__alternatives { padding: 0 12px 10px; }
.maevvarp-page .glyph-editor__label { margin-bottom: 6px; color: var(--color-text-secondary); font-size: var(--tool-type-caption); }
.maevvarp-page .glyph-editor__fields { display: grid; gap: 0; --tool-panel-gutter:12px; --tool-slider-padding-block:7px; --tool-link-gutter:8px; --tool-linked-slider-gutter:4px; --tool-linked-pair-gap:6px; }
.maevvarp-page .glyph-editor > #glyph-reset { display: flex; width: calc(100% - 24px); margin: 8px 12px 12px; justify-content: center; }
@media (min-width: 901px) {
  .maevvarp-page .tool-workspace:has(.has-glyph-editor) { position: relative; z-index: 10; }
  .maevvarp-page .canvas.has-glyph-editor { overflow: visible; }
  .maevvarp-page .canvas.has-glyph-editor .glyph-editor { right: -254px; }
}
@media (max-width: 900px) {
  .maevvarp-page .canvas.has-glyph-editor { height: 680px; min-height: 680px; align-items: flex-start; }
  .maevvarp-page .canvas.has-glyph-editor #preview { height: 350px; flex: none; }
  .maevvarp-page .canvas.has-glyph-editor #kerning-overlay { top: 175px; height: 350px; }
  .maevvarp-page .canvas.has-glyph-editor .glyph-editor { top: 362px; left: 12px; right: 12px; width: auto; max-height: 306px; transform: none; }
}
