/**
 * Slide iDevice — edition styles for the Fabric.js editor.
 *
 * Tokens and layout adapted from the reference design (Google-Drawings-
 * inspired contextual toolbar). All selectors are scoped under
 * .exe-slide-idevice / .exe-slide-editor so the editor markup never leaks
 * styling to the rest of the workarea.
 */

.exe-slide-idevice {
    --slide-bg: #f6f7f9;
    --slide-panel: #ffffff;
    --slide-line: #e3e5ea;
    --slide-line-strong: #d4d7de;
    --slide-ink: #1f2329;
    --slide-ink-2: #5a6270;
    --slide-ink-3: #8b929d;
    --slide-hover: #eef0f4;
    --slide-active: #e6efff;
    --slide-accent: #1a73e8;
    --slide-accent-soft: #d2e3fc;
    --slide-shadow-pop: 0 6px 20px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
    --slide-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.04);
    --slide-radius: 6px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--slide-ink);
    font-size: 13px;
}

/* ── Host (loading + mount) ───────────────────────────────────────────── */

.exe-slide-idevice .exe-slide-host {
    position: relative;
    width: 100%;
    background: var(--slide-bg);
    overflow: hidden;
}

.exe-slide-idevice .exe-slide-loading,
.exe-slide-idevice .exe-slide-error {
    padding: 2.5rem 1rem;
    text-align: center;
}

.exe-slide-idevice .exe-slide-loading {
    color: var(--slide-ink-2);
}

.exe-slide-idevice .exe-slide-error {
    color: #b91c1c;
}

/* ── Editor wrapper ──────────────────────────────────────────────────── */

.exe-slide-editor {
    display: block;
    color: var(--slide-ink);
}

.exe-slide-editor__wrapper {
    display: grid;
    grid-template-rows: 48px 1fr 36px;
    background: var(--slide-panel);
    min-height: 460px;
}

/* ── Top toolbar ─────────────────────────────────────────────────────── */

.exe-slide-editor .exe-slide-tb {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 10px;
    background: var(--slide-panel);
    border-bottom: 1px solid var(--slide-line);
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
}

.exe-slide-editor .exe-slide-tb::-webkit-scrollbar {
    display: none;
}

.exe-slide-editor .exe-slide-tb__group {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 0 4px;
    flex: 0 0 auto;
}

.exe-slide-editor .exe-slide-tb__sep {
    width: 1px;
    height: 22px;
    background: var(--slide-line);
    margin: 0 2px;
    flex: 0 0 1px;
}

.exe-slide-editor .exe-slide-tb__btn {
    height: 32px;
    min-width: 32px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    color: var(--slide-ink);
    font: inherit;
    font-weight: 500;
    transition: background 0.12s ease, color 0.12s ease;
}

.exe-slide-editor .exe-slide-tb__btn:hover:not(:disabled) {
    background: var(--slide-hover);
}

.exe-slide-editor .exe-slide-tb__btn--active,
.exe-slide-editor .exe-slide-tb__btn[aria-pressed='true'] {
    background: var(--slide-active);
    color: var(--slide-accent);
}

.exe-slide-editor .exe-slide-tb__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* "Accent" variant — used as the primary confirm action while in crop
   mode (the Apply button). Filled with the editor accent so the user
   can spot the commit affordance at a glance. */
.exe-slide-editor .exe-slide-tb__btn--accent {
    background: var(--slide-accent);
    color: #ffffff;
}

.exe-slide-editor .exe-slide-tb__btn--accent:hover {
    background: #1664c1;
}

.exe-slide-editor .exe-slide-tb__btn-label {
    font-size: 12px;
    margin-left: 4px;
}

/* Color trigger (fill, stroke, text colour) — Google Drawings layout:
   centred icon with a thin colour bar underneath it. */

.exe-slide-editor .exe-slide-tb__color {
    height: 32px;
    width: 32px;
    padding: 3px 0 4px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    color: var(--slide-ink);
    font: inherit;
}

.exe-slide-editor .exe-slide-tb__color:hover {
    background: var(--slide-hover);
}

.exe-slide-editor .exe-slide-tb__color:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--slide-accent-soft);
}

.exe-slide-editor .exe-slide-tb__color-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.exe-slide-editor .exe-slide-tb__color-bar {
    display: block;
    width: 18px;
    height: 4px;
    border-radius: 2px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background-color: #ffffff;
}

.exe-slide-editor .exe-slide-tb__color-bar--none {
    background-color: #ffffff !important;
    background-image: linear-gradient(
        to top right,
        transparent calc(50% - 1px),
        #d93025 calc(50% - 1px),
        #d93025 calc(50% + 1px),
        transparent calc(50% + 1px)
    );
}

.exe-slide-editor .exe-slide-tb__text-glyph {
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: var(--slide-ink);
    width: 18px;
    height: 18px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Number stepper (border width, radius) */

.exe-slide-editor .exe-slide-tb__num {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
    color: var(--slide-ink-2);
    font-size: 12px;
}

.exe-slide-editor .exe-slide-tb__num-input {
    height: 26px;
    width: 56px;
    border: 1px solid var(--slide-line-strong);
    border-radius: 4px;
    padding: 0 4px 0 8px;
    font: inherit;
    font-size: 13px;
    background: var(--slide-panel);
    text-align: center;
    color: var(--slide-ink);
}

.exe-slide-editor .exe-slide-tb__num-input:focus {
    outline: 2px solid var(--slide-accent-soft);
    border-color: var(--slide-accent);
}

/* Dropdown trigger (font family, font size) */

.exe-slide-editor .exe-slide-tb__dd {
    height: 28px;
    border: 1px solid var(--slide-line-strong);
    border-radius: 4px;
    background: var(--slide-panel);
    padding: 0 6px 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--slide-ink);
    font: inherit;
    min-width: 0;
}

.exe-slide-editor .exe-slide-tb__dd:hover {
    border-color: var(--slide-ink-3);
}

.exe-slide-editor .exe-slide-tb__dd-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    text-align: left;
}

/* Border-width preview list (popover) */

.exe-slide-pop__list--border-widths .exe-slide-pop__list-item--width {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 10px;
}

.exe-slide-pop__line-preview {
    flex: 0 0 36px;
    background-color: var(--slide-ink);
    border-radius: 1px;
}

/* "No border" preview — an outlined box with a red diagonal slash so
   the user can tell it apart from the 1 px option (which is, by
   definition, a one-pixel line). Inspired by Google Drawings' "no
   fill" swatch. */
.exe-slide-pop__line-preview--none {
    height: 14px;
    background-color: #ffffff;
    border: 1px solid var(--slide-line-strong);
    border-radius: 2px;
    background-image: linear-gradient(
        to top right,
        transparent calc(50% - 1px),
        #d93025 calc(50% - 1px),
        #d93025 calc(50% + 1px),
        transparent calc(50% + 1px)
    );
}

.exe-slide-pop__line-label {
    color: var(--slide-ink-2);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

/* Contextual zone */

.exe-slide-editor .exe-slide-tb__context {
    display: flex;
    align-items: center;
    gap: 1px;
    flex: 1 1 auto;
    overflow: hidden;
    animation: slideCtxFade 0.18s ease-out;
}

.exe-slide-editor .exe-slide-tb__context--empty {
    color: var(--slide-ink-3);
    font-style: italic;
    padding-left: 8px;
}

.exe-slide-editor .exe-slide-tb__hint {
    font-size: 12px;
    color: var(--slide-ink-3);
}

@keyframes slideCtxFade {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Canvas shell ────────────────────────────────────────────────────── */

.exe-slide-canvas-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    min-height: 320px;
    background-color: var(--slide-bg);
    overflow: auto;
}

/* ── View toggle (Visual / Code) ─────────────────────────────────────── */
/* Segmented pill at the top-right corner of the canvas shell, after the
   TinyMCE "Tools → Source code" split. Floats above the canvas without
   reflowing it, so click areas inside the design stay intact. */
.exe-slide-view-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: stretch;
    background: var(--slide-panel);
    border: 1px solid var(--slide-line);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(31, 35, 41, 0.08);
    overflow: hidden;
}

.exe-slide-view-toggle__btn {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 6px 12px;
    border: 0;
    background: transparent;
    color: var(--slide-ink-2);
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.exe-slide-view-toggle__btn + .exe-slide-view-toggle__btn {
    border-left: 1px solid var(--slide-line);
}

.exe-slide-view-toggle__btn:hover {
    background: var(--slide-hover);
    color: var(--slide-ink);
}

.exe-slide-view-toggle__btn.is-active {
    background: var(--slide-accent);
    color: #ffffff;
}

.exe-slide-view-toggle__btn:focus-visible {
    outline: 2px solid var(--slide-accent);
    outline-offset: -2px;
}

/* ── Code panel (textarea overlay) ───────────────────────────────────── */
.exe-slide-code-panel {
    position: absolute;
    inset: 8px;
    z-index: 4;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--slide-panel);
    border: 1px solid var(--slide-line);
    border-radius: var(--slide-radius);
    box-shadow: 0 1px 4px rgba(31, 35, 41, 0.06);
}

.exe-slide-code-panel--visible {
    display: flex;
}

.exe-slide-code-panel__textarea {
    flex: 1 1 auto;
    width: 100%;
    min-height: 220px;
    padding: 8px 10px;
    border: 1px solid var(--slide-line);
    border-radius: 4px;
    background: #ffffff;
    color: var(--slide-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    resize: none;
    white-space: pre;
    tab-size: 2;
    -moz-tab-size: 2;
}

.exe-slide-code-panel__textarea:focus {
    outline: 2px solid var(--slide-accent);
    outline-offset: -2px;
    border-color: transparent;
}

.exe-slide-code-panel__error {
    display: none;
    padding: 8px 10px;
    border: 1px solid #d97706;
    background: #fef3c7;
    color: #78350f;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
}

.exe-slide-code-panel__error--visible {
    display: block;
}

/* When the code panel is visible we don't want the canvas frame to
   bleed through (it sits behind the panel but the dotted grid would
   show around the edges). */
.exe-slide-canvas-frame--hidden {
    visibility: hidden;
}

/* Disable toolbar / bottom controls while in code mode so the only way
   forward is the Visual button. Pointer-events are killed to prevent
   stale interactions changing the canvas state behind the panel. */
.exe-slide-toolbar--disabled,
.exe-slide-canvas-controls--disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.2);
}

/* The slide IS the canvas surface — no separate "white card" wrapping it.
   The frame is just the inline-block sizing container so the empty hint
   and the dotted-grid tint can position themselves over the canvas. */
.exe-slide-canvas-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
    --slide-canvas-bg: #ffffff;
    background-color: var(--slide-canvas-bg);
}

.exe-slide-canvas-frame > .canvas-container {
    display: block;
    max-width: 100%;
    height: auto !important;
    background: transparent !important;
}

/* The dotted grid lives on the lower-canvas's CSS background. Fabric leaves
   the canvas buffer transparent (its `backgroundColor` is now empty during
   editing), so the dots + the chosen Fondo colour show through. */
.exe-slide-canvas-frame > .canvas-container > canvas.lower-canvas {
    max-width: 100%;
    height: auto !important;
    display: block;
    background-color: transparent !important;
    background-image: radial-gradient(circle, rgba(31, 35, 41, 0.16) 1px, transparent 1px);
    background-size: 18px 18px;
    background-position: 0 0;
}

.exe-slide-canvas-frame > .canvas-container > canvas.upper-canvas {
    max-width: 100%;
    height: auto !important;
    display: block;
    background: transparent !important;
}

/* Empty hint */

.exe-slide-empty-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.exe-slide-empty-hint--hidden {
    opacity: 0;
}

.exe-slide-empty-hint__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--slide-radius);
    background: rgba(255, 255, 255, 0.85);
    color: var(--slide-ink-3);
    text-align: center;
    backdrop-filter: blur(2px);
}

.exe-slide-empty-hint__text {
    margin: 0;
    max-width: 18rem;
    font-size: 13px;
}

/* ── Bottom canvas-controls bar ─────────────────────────────────────── */

.exe-slide-editor .exe-slide-tb__trailing {
    /* Reserved trailing slot in the toolbar — left empty in the
       current layout (canvas controls live in the bottom bar) but kept
       as a hook for future right-aligned tools. */
    margin-left: auto;
    flex: 0 0 auto;
}

.exe-slide-editor .exe-slide-tb__canvas {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: var(--slide-panel);
    border-top: 1px solid var(--slide-line);
    color: var(--slide-ink-2);
    font-size: 12px;
}

.exe-slide-editor .exe-slide-tb__canvas .exe-slide-tb__btn {
    width: 26px;
    min-width: 26px;
    height: 26px;
    color: var(--slide-ink-2);
}

.exe-slide-editor .exe-slide-tb__canvas .exe-slide-tb__btn:hover:not(:disabled) {
    color: var(--slide-ink);
}

.exe-slide-editor .exe-slide-tb__canvas-size {
    height: 24px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    color: var(--slide-ink);
    font: inherit;
}

.exe-slide-editor .exe-slide-tb__canvas-size:hover {
    background: var(--slide-hover);
}

.exe-slide-editor .exe-slide-tb__canvas-size-value {
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    font-weight: 500;
}

.exe-slide-editor .exe-slide-tb__canvas-inputs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.exe-slide-editor .exe-slide-tb__canvas-input {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.exe-slide-editor .exe-slide-tb__canvas-num {
    height: 22px;
    width: 56px;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 0 4px;
    font: inherit;
    font-size: 12px;
    background: transparent;
    color: var(--slide-ink);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.exe-slide-editor .exe-slide-tb__canvas-num:hover {
    background: var(--slide-hover);
}

.exe-slide-editor .exe-slide-tb__canvas-num:focus {
    background: white;
    outline: 1px solid var(--slide-accent);
    border-color: var(--slide-accent);
}

.exe-slide-editor .exe-slide-tb__canvas .exe-slide-tb__color {
    height: 26px;
    width: auto;
    flex-direction: row;
    padding: 0 8px;
    gap: 6px;
}

.exe-slide-editor .exe-slide-tb__canvas .exe-slide-tb__color-bar {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

.exe-slide-editor .exe-slide-tb__canvas-zoom {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.exe-slide-editor .exe-slide-tb__canvas-zoom-value {
    min-width: 44px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    color: var(--slide-ink);
}

/* ── Popovers ────────────────────────────────────────────────────────── */

.exe-slide-pop {
    position: absolute;
    z-index: 200;
    background: var(--slide-panel);
    border: 1px solid var(--slide-line);
    border-radius: 8px;
    box-shadow: var(--slide-shadow-pop);
    padding: 10px;
    min-width: 180px;
}

.exe-slide-pop__title {
    font-size: 11px;
    color: var(--slide-ink-3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin: 2px 4px 8px;
}

.exe-slide-pop__palette {
    display: grid;
    grid-template-columns: repeat(8, 22px);
    gap: 6px;
}

.exe-slide-pop__swatch {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
    padding: 0;
    background-color: white;
    position: relative;
    transition: transform 0.08s ease, box-shadow 0.12s ease;
}

.exe-slide-pop__swatch:hover {
    transform: scale(1.1);
}

.exe-slide-pop__swatch--selected {
    box-shadow: 0 0 0 2px var(--slide-accent);
}

.exe-slide-pop__swatch--none {
    background: white;
}

.exe-slide-pop__swatch--none::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 3px;
    background: linear-gradient(
        to top right,
        transparent calc(50% - 1.5px),
        #d93025 calc(50% - 1.5px),
        #d93025 calc(50% + 1.5px),
        transparent calc(50% + 1.5px)
    );
}

.exe-slide-pop__row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--slide-line);
}

.exe-slide-pop__hex {
    flex: 1;
    height: 26px;
    padding: 0 8px;
    border: 1px solid var(--slide-line-strong);
    border-radius: 4px;
    font: inherit;
    font-size: 12px;
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--slide-panel);
    color: var(--slide-ink);
}

.exe-slide-pop__hex--invalid {
    border-color: #d93025;
    box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.15);
}

.exe-slide-pop__ok {
    background: none;
    border: 0;
    color: var(--slide-accent);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
}

.exe-slide-pop__ok:hover {
    background: var(--slide-active);
}

.exe-slide-pop__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 280px;
    overflow-y: auto;
}

.exe-slide-pop__list--narrow {
    min-width: 80px;
}

.exe-slide-pop__list-item {
    text-align: left;
    padding: 6px 10px;
    border-radius: 4px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: var(--slide-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.exe-slide-pop__list-item:hover {
    background: var(--slide-hover);
}

.exe-slide-pop__list-item--selected {
    background: var(--slide-active);
    color: var(--slide-accent);
}

.exe-slide-pop__list-meta {
    color: var(--slide-ink-3);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
}

/* Opacity popover */

.exe-slide-pop__opacity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    padding: 4px 6px;
}

.exe-slide-pop__opacity-range {
    flex: 1 1 auto;
    height: 18px;
    accent-color: var(--slide-accent);
    cursor: pointer;
}

.exe-slide-pop__opacity-number {
    width: 52px;
    height: 28px;
    border: 1px solid var(--slide-line-strong);
    border-radius: 4px;
    padding: 0 6px;
    font: inherit;
    font-size: 13px;
    color: var(--slide-ink);
    background: var(--slide-panel);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.exe-slide-pop__opacity-number:focus {
    outline: 2px solid var(--slide-accent-soft);
    border-color: var(--slide-accent);
}

.exe-slide-pop__opacity-suffix {
    color: var(--slide-ink-3);
    font-size: 12px;
}

/* ── Shape picker (existing module) ─────────────────────────────────── */

.exe-slide-shape-popup {
    position: absolute;
    z-index: 50;
    display: flex;
    gap: 0;
    padding: 0.4rem;
    background: var(--slide-panel);
    border: 1px solid var(--slide-line);
    border-radius: var(--slide-radius);
    box-shadow: var(--slide-shadow-pop);
    color: var(--slide-ink);
}

.exe-slide-shape-popup[hidden] {
    display: none;
}

.exe-slide-shape-popup__section {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0.5rem;
    border-right: 1px solid var(--slide-line);
}

.exe-slide-shape-popup__section:last-child {
    border-right: none;
}

.exe-slide-shape-popup__heading {
    margin: 0 0 0.4rem;
    color: var(--slide-ink-3);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.exe-slide-shape-popup__grid {
    display: grid;
    grid-template-columns: repeat(4, 2.1rem);
    gap: 0.18rem;
}

.exe-slide-shape-popup__section[data-category='flechas'] .exe-slide-shape-popup__grid,
.exe-slide-shape-popup__section[data-category='llamadas'] .exe-slide-shape-popup__grid {
    grid-template-columns: repeat(2, 2.1rem);
}

.exe-slide-shape-popup__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--slide-ink);
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.exe-slide-shape-popup__item:hover,
.exe-slide-shape-popup__item:focus-visible {
    background: var(--slide-active);
    border-color: rgba(26, 115, 232, 0.25);
    color: var(--slide-accent);
    outline: none;
}
