/* ============================================================
   LEY·LINES — Map Editor panel stylesheet
   Depends on CSS custom properties from styles.css (:root).
   ============================================================ */

/* ================================================================
   EDITOR ROOT RAIL
   ================================================================ */
#editor-ui {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  z-index: 40;
  display: none; /* shown by JS when screen==='editor' */
  flex-direction: column;
  gap: 0;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(8, 5, 16, 0.94) 0%, rgba(10, 7, 22, 0.92) 100%);
  border-right: 1px solid rgba(233, 196, 106, 0.18);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    6px 0 40px rgba(0, 0, 0, 0.65),
    inset -1px 0 0 rgba(123, 108, 246, 0.12),
    1px 0 0 rgba(233, 196, 106, 0.06);
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  animation: editor-rail-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* top-edge shimmer */
#editor-ui::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 196, 106, 0.3), transparent);
  pointer-events: none;
  z-index: 1;
}

@keyframes editor-rail-in {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scrollable inner content */
.ed-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(233, 196, 106, 0.18) transparent;
}
.ed-scroll::-webkit-scrollbar { width: 3px; }
.ed-scroll::-webkit-scrollbar-track { background: transparent; }
.ed-scroll::-webkit-scrollbar-thumb { background: rgba(233, 196, 106, 0.18); border-radius: 2px; }

/* ================================================================
   HEADER
   ================================================================ */
.ed-header {
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(233, 196, 106, 0.1);
  flex-shrink: 0;
  position: relative;
}

.ed-header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ed-sigil {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(123, 108, 246, 0.7));
  animation: ed-sigil-spin 22s linear infinite;
}
@keyframes ed-sigil-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) { .ed-sigil { animation: none; } }

.ed-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--gold-bright);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(233, 196, 106, 0.45), 0 0 4px rgba(255,255,255,0.2);
  flex: 1;
}

.ed-dirty-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 6px var(--ember);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 220ms ease-out;
  animation: ed-dirty-pulse 1.8s ease-in-out infinite;
}
.ed-dirty-dot.is-visible { opacity: 1; }
@keyframes ed-dirty-pulse {
  0%, 100% { box-shadow: 0 0 4px var(--ember); }
  50%       { box-shadow: 0 0 10px var(--ember); }
}

/* Name input */
.ed-name-wrap {
  position: relative;
}
.ed-name-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-variant: small-caps;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.ed-name-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(14, 10, 30, 0.75);
  border: 1px solid rgba(233, 196, 106, 0.2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  outline: none;
  pointer-events: auto;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
  box-sizing: border-box;
}
.ed-name-input:focus {
  border-color: rgba(233, 196, 106, 0.5);
  box-shadow: 0 0 12px rgba(233, 196, 106, 0.14), inset 0 0 8px rgba(233, 196, 106, 0.04);
}
.ed-name-input::placeholder {
  color: var(--ink-dim);
  opacity: 0.5;
  font-style: italic;
}

/* ================================================================
   SECTION DIVIDERS
   ================================================================ */
.ed-section {
  padding: 12px 18px 0;
}

.ed-section-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}
.ed-section-label {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-variant: small-caps;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  text-transform: uppercase;
  flex-shrink: 0;
}
.ed-section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(233, 196, 106, 0.18), transparent);
}

/* ================================================================
   TOOL RAIL
   ================================================================ */
.ed-tools {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ed-tool-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(123, 108, 246, 0.18);
  background: rgba(14, 10, 28, 0.5);
  color: var(--ink-dim);
  cursor: pointer;
  pointer-events: auto;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  transition:
    background 150ms ease-out,
    border-color 150ms ease-out,
    color 150ms ease-out,
    box-shadow 150ms ease-out,
    transform 100ms ease-out;
  position: relative;
  text-align: left;
  width: 100%;
}

.ed-tool-btn:hover:not(:disabled) {
  background: rgba(123, 108, 246, 0.12);
  border-color: rgba(123, 108, 246, 0.38);
  color: var(--ink);
  transform: translateX(2px);
}

.ed-tool-btn.is-active {
  background: linear-gradient(90deg, rgba(123, 108, 246, 0.22), rgba(233, 196, 106, 0.1));
  border-color: rgba(233, 196, 106, 0.45);
  color: var(--gold-bright);
  box-shadow:
    0 0 18px rgba(233, 196, 106, 0.14),
    inset 0 0 12px rgba(233, 196, 106, 0.05);
}
.ed-tool-btn.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.ed-tool-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.ed-tool-btn:active:not(:disabled) { transform: scale(0.97); }

.ed-tool-icon {
  font-size: 1rem;
  line-height: 1;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px currentColor);
}

.ed-tool-name {
  flex: 1;
}

/* Tooltip container for each tool button */
.ed-tool-btn {
  overflow: visible;
}

.ed-tool-tip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  min-width: 170px;
  max-width: 210px;
  background: rgba(8, 5, 18, 0.97);
  border: 1px solid rgba(233, 196, 106, 0.28);
  border-radius: 9px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
  color: var(--ink-dim);
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 120ms ease-out, visibility 120ms ease-out;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 12px rgba(123, 108, 246, 0.1);
  white-space: normal;
}
.ed-tool-tip::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: rgba(233, 196, 106, 0.28);
}

.ed-tool-btn:hover .ed-tool-tip,
.ed-tool-btn:focus-visible .ed-tool-tip {
  opacity: 1;
  visibility: visible;
}

/* Active-tool hint strip */
.ed-hint-strip {
  margin-top: 9px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(95, 208, 255, 0.06);
  border: 1px solid rgba(95, 208, 255, 0.15);
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-variant: small-caps;
  letter-spacing: 0.14em;
  color: var(--frost);
  line-height: 1.5;
  transition: background 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
}

/* ================================================================
   STATUS BLOCK
   ================================================================ */
.ed-status {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ed-counts {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ed-counts span {
  color: var(--arcane-bright);
  font-weight: 700;
}

.ed-valid-line {
  font-family: var(--font-body);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  transition: color 200ms ease-out;
}
.ed-valid-line.is-valid   { color: var(--toxin); }
.ed-valid-line.is-invalid { color: var(--danger); }
.ed-valid-icon { font-size: 0.7rem; flex-shrink: 0; margin-top: 1px; }

.ed-flash {
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  padding: 5px 10px;
  background: rgba(233, 196, 106, 0.1);
  border: 1px solid rgba(233, 196, 106, 0.22);
  border-radius: 7px;
  text-shadow: 0 0 8px rgba(233, 196, 106, 0.4);
  opacity: 0;
  transition: opacity 250ms ease-out;
  margin-top: 2px;
}
.ed-flash.is-error {
  color: var(--danger);
  background: rgba(255, 84, 112, 0.08);
  border-color: rgba(255, 84, 112, 0.22);
  text-shadow: 0 0 8px rgba(255, 84, 112, 0.4);
}
.ed-flash.is-visible { opacity: 1; }

/* ================================================================
   SHARED BUTTON STYLES
   ================================================================ */

/* Generic action button */
.ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid rgba(233, 196, 106, 0.2);
  background: rgba(233, 196, 106, 0.06);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
  width: 100%;
  transition:
    background 150ms ease-out,
    border-color 150ms ease-out,
    box-shadow 150ms ease-out,
    color 150ms ease-out,
    transform 100ms ease-out;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.ed-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 150ms ease-out;
}
.ed-btn:hover:not(:disabled)::after { background: rgba(255,255,255,0.04); }
.ed-btn:hover:not(:disabled) {
  border-color: rgba(233, 196, 106, 0.42);
  box-shadow: 0 0 14px rgba(233, 196, 106, 0.14);
  color: var(--gold-bright);
}
.ed-btn:active:not(:disabled) { transform: scale(0.96); }
.ed-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  pointer-events: none;
}
.ed-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Primary / CTA */
.ed-btn--primary {
  background: linear-gradient(135deg, rgba(123, 108, 246, 0.3), rgba(233, 196, 106, 0.18));
  border-color: rgba(233, 196, 106, 0.48);
  color: var(--gold);
  text-shadow: 0 0 10px rgba(233, 196, 106, 0.4);
  box-shadow: 0 0 22px rgba(123, 108, 246, 0.16), inset 0 1px 0 rgba(255,255,255,0.07);
  font-size: 0.78rem;
  padding: 12px 14px;
  letter-spacing: 0.18em;
}
.ed-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(233, 196, 106, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.ed-btn--primary:hover:not(:disabled)::before { transform: translateX(100%); }
.ed-btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(123, 108, 246, 0.44), rgba(233, 196, 106, 0.3));
  border-color: rgba(233, 196, 106, 0.72);
  box-shadow: 0 0 32px rgba(233, 196, 106, 0.28), 0 0 16px rgba(123, 108, 246, 0.24);
}

/* Danger / Delete */
.ed-btn--danger {
  border-color: rgba(255, 84, 112, 0.22);
  background: rgba(255, 84, 112, 0.06);
  color: var(--ink-dim);
}
.ed-btn--danger:hover:not(:disabled) {
  background: rgba(255, 84, 112, 0.14);
  border-color: rgba(255, 84, 112, 0.48);
  color: var(--danger);
  box-shadow: 0 0 14px rgba(255, 84, 112, 0.18);
}

/* Ghost */
.ed-btn--ghost {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-dim);
}
.ed-btn--ghost:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  box-shadow: none;
}

/* Operations grid */
.ed-ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.ed-ops-grid .ed-btn {
  font-size: 0.63rem;
  padding: 8px 8px;
}

/* ================================================================
   SAVED MAPS LIST
   ================================================================ */
.ed-map-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(233, 196, 106, 0.12) transparent;
}
.ed-map-list::-webkit-scrollbar { width: 3px; }
.ed-map-list::-webkit-scrollbar-track { background: transparent; }
.ed-map-list::-webkit-scrollbar-thumb { background: rgba(233, 196, 106, 0.12); border-radius: 2px; }

.ed-map-row {
  display: flex;
  gap: 4px;
  align-items: center;
}

.ed-map-load {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(95, 208, 255, 0.18);
  background: rgba(95, 208, 255, 0.05);
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
  text-transform: uppercase;
  transition:
    border-color 140ms ease-out,
    background 140ms ease-out,
    color 140ms ease-out,
    box-shadow 140ms ease-out;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ed-map-load:hover {
  border-color: rgba(95, 208, 255, 0.4);
  color: var(--frost);
  background: rgba(95, 208, 255, 0.1);
}
.ed-map-load.is-current {
  border-color: rgba(95, 208, 255, 0.55);
  color: var(--frost);
  background: rgba(95, 208, 255, 0.1);
  box-shadow: 0 0 10px rgba(95, 208, 255, 0.14);
}
.ed-map-load:focus-visible { outline: 2px solid var(--frost); outline-offset: 2px; }
.ed-map-load:active { transform: scale(0.97); }

.ed-map-del {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(255, 84, 112, 0.2);
  background: rgba(255, 84, 112, 0.05);
  color: rgba(255, 84, 112, 0.55);
  font-size: 0.75rem;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 140ms ease-out, background 140ms ease-out, color 140ms ease-out, box-shadow 140ms ease-out;
}
.ed-map-del:hover {
  background: rgba(255, 84, 112, 0.15);
  border-color: rgba(255, 84, 112, 0.48);
  color: var(--danger);
  box-shadow: 0 0 10px rgba(255, 84, 112, 0.18);
}
.ed-map-del:focus-visible { outline: 2px solid var(--danger); outline-offset: 2px; }
.ed-map-del:active { transform: scale(0.93); }

.ed-map-empty {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-variant: small-caps;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  opacity: 0.55;
  text-align: center;
  padding: 10px 0;
}

/* ================================================================
   FOOTER
   ================================================================ */
.ed-footer {
  flex-shrink: 0;
  padding: 12px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(233, 196, 106, 0.1);
  background: rgba(6, 4, 14, 0.5);
}

/* ================================================================
   MODAL BACKDROP
   ================================================================ */
.ed-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 4, 12, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease-out, visibility 180ms ease-out;
  pointer-events: auto;
}
.ed-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ed-modal {
  width: min(480px, 90vw);
  background: rgba(9, 6, 18, 0.97);
  border: 1px solid rgba(233, 196, 106, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow:
    0 0 60px rgba(123, 108, 246, 0.2),
    0 8px 50px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: auto;
  animation: editor-modal-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  position: relative;
  overflow: hidden;
}
.ed-modal::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(233,196,106,0.35) 50%, transparent 95%);
  pointer-events: none;
}

@keyframes editor-modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.ed-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-align: center;
  text-shadow: 0 0 16px rgba(233, 196, 106, 0.4);
}

.ed-modal-textarea {
  width: 100%;
  height: 200px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(6, 4, 14, 0.9);
  border: 1px solid rgba(233, 196, 106, 0.2);
  color: var(--ink);
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  pointer-events: auto;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
  box-sizing: border-box;
}
.ed-modal-textarea:focus {
  border-color: rgba(233, 196, 106, 0.45);
  box-shadow: 0 0 12px rgba(233, 196, 106, 0.1);
}
.ed-modal-textarea[readonly] {
  color: var(--ink-dim);
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
}

.ed-modal-hint {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--ink-dim);
  text-align: center;
  font-style: italic;
  letter-spacing: 0.06em;
}

.ed-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.ed-modal-actions .ed-btn {
  width: auto;
  flex: 1;
}

/* ================================================================
   RESPONSIVE — narrow viewports ≤ 760px
   ================================================================ */
@media (max-width: 760px) {
  #editor-ui {
    width: 100%;
    max-width: 100%;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    max-height: 52vh;
    flex-direction: row;
    border-right: none;
    border-top: 1px solid rgba(233, 196, 106, 0.18);
    box-shadow:
      0 -6px 40px rgba(0, 0, 0, 0.65),
      inset 0 1px 0 rgba(123, 108, 246, 0.12);
    animation: editor-rail-in-bottom 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes editor-rail-in-bottom {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  #editor-ui::before {
    inset: 0 0 auto 0;
    background: linear-gradient(90deg, transparent, rgba(233, 196, 106, 0.25), transparent);
  }

  .ed-scroll {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 12px 12px;
    gap: 12px;
    align-items: flex-start;
    scrollbar-width: thin;
  }

  .ed-header {
    min-width: 200px;
    border-bottom: none;
    border-right: 1px solid rgba(233, 196, 106, 0.1);
    padding: 12px 14px;
    flex-shrink: 0;
  }

  .ed-section {
    min-width: 200px;
    padding: 4px 0;
    flex-shrink: 0;
  }

  .ed-tools {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .ed-tool-btn {
    flex: 1;
    min-width: 90px;
    font-size: 0.62rem;
  }

  .ed-tool-tip {
    left: 50%;
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
  }
  .ed-tool-tip::before {
    top: 100%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    border-right-color: transparent;
    border-top-color: rgba(233, 196, 106, 0.28);
  }

  .ed-hint-strip { display: none; }
  .ed-map-list { max-height: 130px; }

  .ed-footer {
    min-width: 200px;
    border-top: none;
    border-left: 1px solid rgba(233, 196, 106, 0.1);
    flex-shrink: 0;
    padding: 8px 14px 12px;
    justify-content: center;
    background: transparent;
  }
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  #editor-ui,
  .ed-modal { animation: none; }
  .ed-dirty-dot { animation: none; }
  .ed-tool-btn, .ed-btn, .ed-map-load, .ed-map-del { transition: none; }
}
