/* Command Palette - Cyberpunk Theme */
:root {
  --cp-max-width: 820px;
  --cp-panel-bg: rgba(var(--dark-color-rgb), 0.86);
  --cp-scrim: rgba(0,0,0,0.5);
  --cp-border: rgba(var(--secondary-color-rgb), 0.55);
  --cp-shadow: 0 18px 60px rgba(0,0,0,0.6), 0 0 18px rgba(var(--secondary-color-rgb), .28);
}

.cp-root {
  position: fixed; inset: 0; z-index: 40;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 600ms;
}
.cp-root.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.cp-overlay {
  position: absolute; inset: 0; background: var(--cp-scrim);
  /* No background blur; fade only opacity */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cp-root.open .cp-overlay { opacity: 1; }

.cp-panel {
  position: absolute; left: 50%; top: 12vh; transform: translateX(-50%) translateY(-8px) scale(0.985);
  width: min(92vw, var(--cp-max-width));
  background: linear-gradient(to bottom, rgba(8, 8, 12, 0.94), var(--cp-panel-bg));
  border: 1px solid var(--cp-border);
  border-radius: 12px;
  box-shadow: var(--cp-shadow);
  overflow: hidden;
  color: var(--secondary-color);
  opacity: 0; transition: opacity 380ms cubic-bezier(0.16, 1, 0.3, 1) 250ms, transform 380ms cubic-bezier(0.16, 1, 0.3, 1) 250ms;
}
.cp-root.open .cp-panel { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }

/* scanline */
.cp-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 3px; mix-blend-mode: overlay; opacity: .55;
}

.cp-input { display: grid; grid-template-columns: 36px 1fr 34px; align-items: center; gap: 8px; padding: 10px 10px 8px 10px; border-bottom: 1px dashed var(--cp-border); }
.cp-input .mdi { color: var(--primary-color); font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.cp-input input { width: 100%; background: rgba(12,12,18,0.6); color: var(--primary-color); border: 1px solid rgba(var(--secondary-color-rgb), .4); border-radius: 8px; padding: 8px 10px; outline: none; font-family: 'VT323', monospace; font-size: 1.02rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.3); }
.cp-input input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), .25); }
.cp-input .cp-close { background: none; border: 1px solid rgba(var(--secondary-color-rgb), .45); color: var(--secondary-color); border-radius: 8px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cp-input .cp-close:hover { background: rgba(var(--secondary-color-rgb), .08); color: var(--primary-color); border-color: var(--primary-color); }

.cp-results {
  list-style: none; margin: 0; padding: 5px; display: grid; gap: 2px; position: relative; z-index: 1;
  /* Smooth expand/collapse inside cp-scroll */
  max-height: 9999px; /* expanded upper bound; #cp-scroll clamps overall height */
  overflow: hidden; opacity: 1;
  transform: translateY(0);
  transition:
    max-height 320ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: max-height, opacity, transform;
}
.cp-pinned {
  max-height: none;
  border-bottom: 1px dashed var(--cp-border);
  padding-bottom: 8px;
  margin-bottom: 6px;
  padding-top: 10px;
  overflow: visible;
  position: sticky; /* stays at top within cp-scroll */
  top: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(var(--dark-color-rgb), 0.98), rgba(var(--dark-color-rgb), 0.92));
  /* Keep content crisp; no blur here either */
  backdrop-filter: none;
}
.cp-item { position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: 5px; align-items: center; background: rgba(10,10,16, .45); border: 1px solid rgba(var(--secondary-color-rgb), .25); border-radius: 8px; padding: 4px 10px; cursor: pointer; transition: background 120ms ease, border-color 120ms ease, transform 120ms ease; }
/* Variant layout: controls inline and left-justified (no right column) */
.cp-item.control-left { grid-template-columns: 26px 1fr; }
.cp-inline { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.cp-item .mdi { font-size: 13px; color: var(--secondary-color); opacity: .9; }
.cp-item-title { color: var(--secondary-color); font-size: 0.92rem; }
.cp-item > .cp-switch, .cp-item > .cp-select, .cp-item > .cp-badge { justify-self: end; margin-left: auto; }
.cp-item-sub { color: var(--text-medium); font-size: 0.9rem; }
.cp-right { display: inline-flex; align-items: center; gap: 8px; justify-self: end; }
/* Inline info button for details popover */
.cp-info-btn { 
  border: 1px solid rgba(var(--secondary-color-rgb), .45); background: rgba(12,12,18,0.6);
  color: var(--secondary-color); width: 26px; height: 22px; border-radius: 6px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.cp-info-btn .mdi { font-size: 16px; }
.cp-info-btn:hover { border-color: var(--primary-color); color: var(--primary-color); box-shadow: 0 0 6px rgba(var(--primary-color-rgb), .35); }
/* Themed info popup (tooltip-like) */
.cp-info-pop { 
  position: absolute; right: 10px; margin-top: 8px; max-width: 460px; z-index: 20;
  top: 100%;
  background: rgba(12,12,16,0.96);
  color: var(--primary-color);
  border: 1px solid rgba(var(--secondary-color-rgb), 0.5);
  border-radius: 8px; padding: 8px 10px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.55), 0 0 12px rgba(var(--secondary-color-rgb), 0.22);
  font-size: 0.86rem; line-height: 1.35; pointer-events: auto;
  transition: opacity 140ms ease, transform 140ms ease;
}
.cp-info-pop.hidden { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.cp-info-pop:not(.hidden) { opacity: 1; visibility: visible; transform: translateY(0); }
.cp-info-pop::after { 
  content: ''; position: absolute; top: -6px; right: 18px; width: 0; height: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid rgba(12,12,16,0.96);
  filter: drop-shadow(0 1px 0 rgba(var(--secondary-color-rgb), 0.45));
}
/* Flip above if not enough space below */
.cp-info-pop.up { margin-top: 0; margin-bottom: 8px; }
.cp-info-pop.up { bottom: 100%; top: auto; }
.cp-info-pop.up::after { top: auto; bottom: -6px; border-bottom: 0; border-top: 6px solid rgba(12,12,16,0.96); }
.cp-item .cp-badge {
  color: var(--dark-color) !important; /* ensure readable text on teal */
  background: var(--secondary-color);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,.25);
  text-shadow: none;
}
.cp-item .cp-badge:empty { display: none; }
.cp-item:hover { background: rgba(var(--secondary-color-rgb), .08); border-color: var(--primary-color); }
.cp-item.active { border-color: var(--primary-color); box-shadow: 0 0 0 1px rgba(var(--primary-color-rgb), .2); transform: translateX(2px); }

.cp-hints { padding: 10px 12px 12px; color: var(--text-medium); border-top: 1px dashed var(--cp-border); font-size: .92rem; display: flex; gap: 12px; align-items: center; }
.cp-hints .key { border: 1px solid rgba(var(--secondary-color-rgb), .4); border-bottom-width: 2px; border-radius: 6px; padding: 2px 6px; color: var(--secondary-color); }

/* Highlighted query matches */
.cp-hl { color: var(--primary-color); text-shadow: 0 0 6px var(--primary-color); }

@media (max-width: 700px){
  .cp-panel { top: 8vh; width: calc(100vw - 20px); left: 10px; right: 10px; transform: translateX(0) translateY(-8px) scale(0.985); }
  .cp-root.open .cp-panel { transform: translateX(0) translateY(0) scale(1); }
  .cp-results { max-height: none; }
}

@media (prefers-reduced-motion: reduce){
  .cp-panel, .cp-item { transition: none; }
}
/* Command Palette (Cyberpunk) */
:root { --cp-width: 720px; --cp-max-h: 70vh; }

#command-palette { position: fixed; inset: 0; z-index: 2000; }
/* display toggling handled by .cp-root opacity/visibility transitions */

.cp-scrim { position:absolute; inset:0; background: rgba(0,0,0,0.55); }
.cp-scrim::before { content:""; position:absolute; inset:0; background-image: linear-gradient(0deg, transparent 24%, rgba(0,255,0,.06) 25%, rgba(0,255,0,.06) 26%, transparent 27%, transparent 74%, rgba(0,255,0,.06) 75%, rgba(0,255,0,.06) 76%, transparent 77%); opacity:.35; pointer-events:none; }

.cp-panel {
  position:absolute; left:50%; top:18%; transform: translateX(-50%) translateY(-10px) scale(0.985);
  width: min(95vw, var(--cp-width)); max-height: var(--cp-max-h);
  background: rgba(var(--dark-color-rgb), 0.96);
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 14px var(--primary-color), 0 0 22px rgba(255,233,0,0.25), 0 10px 26px rgba(0,0,0,0.6);
  border-radius: 10px; overflow: hidden; display:flex; flex-direction: column;
  transition: opacity 380ms cubic-bezier(0.16, 1, 0.3, 1) 250ms, transform 380ms cubic-bezier(0.16, 1, 0.3, 1) 250ms;
  opacity: 0;
}

#command-palette.open .cp-panel { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }

.cp-header { display:flex; align-items:center; gap:10px; padding: 10px 12px; border-bottom: 1px dashed var(--secondary-color); }
.cp-glyph { color: var(--secondary-color); font-weight: 700; text-shadow: 0 0 6px var(--secondary-color); }
.cp-input {
  flex:1; background: rgba(12,12,18,0.7); border: 1px solid rgba(var(--secondary-color-rgb), 0.35); color: var(--primary-color);
  padding: 10px 12px; border-radius: 8px; font-size: 16px; outline: none; box-shadow: 0 0 8px rgba(var(--secondary-color-rgb), 0.15) inset;
}
.cp-input::placeholder { color: var(--text-medium); }

.cp-body { display:flex; min-height: 240px; }
.cp-results { flex: 1; overflow: visible; max-height: none; }
.cp-list { list-style:none; margin:0; padding: 6px; }
.cp-item { display:flex; align-items:center; gap:10px; padding: 10px 12px; margin: 6px 4px; border:1px solid rgba(var(--secondary-color-rgb),0.25); border-radius: 8px; cursor:pointer; background: rgba(10,10,16,0.5); color: var(--secondary-color); }
.cp-item:hover, .cp-item[aria-selected="true"] { border-color: var(--primary-color); background: rgba(255,233,0,0.08); box-shadow: 0 0 8px rgba(255,233,0,0.25); }
.cp-item .cp-title { color: var(--primary-color); font-weight: 600; }
.cp-item .cp-sub { color: var(--text-medium); font-size: 12px; }
.cp-item .cp-badge { margin-left:auto; font-size: 11px; padding: 2px 6px; border:1px solid var(--secondary-color); border-radius: 999px; color: var(--secondary-color); }
.cp-item .cp-badge:empty { display: none; }
.cp-item.on .cp-badge { border-color: var(--terminal-green); color: var(--terminal-green); }
.cp-item.off .cp-badge { border-color: var(--accent-color); color: var(--accent-color); }
.cp-icon { width: 20px; text-align:center; color: var(--secondary-color); }

.cp-preview { display:none; width: 38%; border-left: 1px dashed rgba(var(--secondary-color-rgb),0.35); padding: 8px; }
@media (min-width: 1100px) { .cp-preview { display:block; } }

.cp-footer { display:flex; justify-content:space-between; padding: 8px 12px; border-top: 1px dashed var(--secondary-color); color: var(--text-medium); font-size: 12px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .cp-root, .cp-overlay, .cp-panel, .cp-item, .cp-results { transition: none !important; }
}

/* Toggle switch UI for clearer affordance */
.cp-item.toggle { grid-template-columns: 26px 1fr auto; }
.cp-switch {
  width: 34px; height: 18px; position: relative;
  border-radius: 999px; border: 1px solid rgba(var(--secondary-color-rgb), .45);
  background: rgba(100, 100, 100, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);
}
.cp-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px;
  border-radius: 50%; background: rgba(200,200,200,.85);
  box-shadow: 0 0 6px rgba(0,0,0,.35);
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}
.cp-switch.on { border-color: var(--secondary-color); background: rgba(var(--secondary-color-rgb), .18); box-shadow: 0 0 6px rgba(var(--secondary-color-rgb), .25), inset 0 0 0 1px rgba(0,0,0,.35); }
.cp-switch.on::after { transform: translateX(16px); background: var(--secondary-color); box-shadow: 0 0 6px rgba(var(--secondary-color-rgb), .5); }
.cp-switch.off { border-color: rgba(150,150,150,.4); background: rgba(70,70,70,.16); }

/* Better-styled dropdown inside palette */
.cp-select {
  min-width: 188px;
  background: rgba(12,12,18,0.6);
  color: var(--secondary-color);
  border: 1px solid rgba(var(--secondary-color-rgb), .45);
  border-radius: 8px;
  padding: 4px 24px 4px 10px;
  outline: none;
  font-family: 'VT323', monospace;
  font-size: 0.92rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.3);
  appearance: none; /* modern */
  -webkit-appearance: none; /* Safari */
  -moz-appearance: none; /* Firefox */
  background-image: linear-gradient(45deg, transparent 50%, var(--secondary-color) 50%),
                    linear-gradient(135deg, var(--secondary-color) 50%, transparent 50%);
  background-position: right 12px top calc(50% - 3px), right 12px top calc(50% + 3px);
  background-size: 8px 6px, 8px 6px;
  background-repeat: no-repeat;
}
.cp-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), .25); }
.cp-select:hover { border-color: var(--secondary-color); }
.cp-select::-ms-expand { display: none; }

/* Ensure final layout within cp-root uses compact grid even if older generic rules exist below */
.cp-root .cp-item {
  display: grid !important;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  margin: 2px 2px;
}
.cp-root .cp-item.control-left { grid-template-columns: 22px 1fr; }
.cp-root .cp-results { gap: 2px; padding: 5px; }
.cp-root .cp-pinned { padding-top: 8px; padding-bottom: 8px; }
.cp-root .cp-pinned .cp-item { padding: 3px 10px; gap: 5px; overflow: visible; }
.cp-root .cp-pinned .cp-item .mdi { font-size: 12.5px; }
.cp-root .cp-pinned .cp-item .cp-item-title { font-size: 0.9rem; }
/* Ensure pinned badges show readable text */
.cp-root .cp-pinned .cp-item .cp-badge {
  color: var(--dark-color) !important; /* pinned also forced dark text */
  font-size: 0.78rem;
  padding: 2px 8px;
  white-space: nowrap;
  max-width: none; /* allow full label */
  overflow: visible;
  text-overflow: clip;
}

/* Cyberpunk Discord special effect */
.cp-discord-glow {
  position: relative;
  isolation: isolate; /* allow pseudo-elements to render under content */
  border-color: rgba(255, 233, 0, 0.7) !important;
  box-shadow: 0 0 8px rgba(255,233,0,0.25), 0 0 14px rgba(255,233,0,0.18) inset;
  animation: cp-discord-breathe 3.4s ease-in-out infinite;
}
.cp-discord-glow::before {
  content: "";
  position: absolute;
  inset: -6px; /* subtle halo outside */
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(255,233,0,0.22), rgba(255,233,0,0.06) 45%, rgba(0,0,0,0) 65%);
  filter: blur(6px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
  animation: cp-discord-breathe 3.4s ease-in-out infinite;
}
.cp-discord-glow::after {
  content: "";
  position: absolute;
  top: -8px; bottom: -8px; left: -20%; width: 30%;
  background: linear-gradient(90deg,
    rgba(255,233,0,0) 0%,
    rgba(255,233,0,0.05) 30%,
    rgba(255,233,0,0.5) 50%,
    rgba(255,233,0,0.08) 70%,
    rgba(255,233,0,0) 100%);
  filter: blur(1.2px);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation: cp-discord-blitz 5.2s cubic-bezier(0.2, 0.65, 0.2, 1) infinite;
}

@keyframes cp-discord-breathe {
  0%   { box-shadow: 0 0 6px rgba(255,233,0,0.18), 0 0 10px rgba(255,233,0,0.12) inset; }
  50%  { box-shadow: 0 0 10px rgba(255,233,0,0.35), 0 0 16px rgba(255,233,0,0.22) inset; }
  100% { box-shadow: 0 0 6px rgba(255,233,0,0.18), 0 0 10px rgba(255,233,0,0.12) inset; }
}

@keyframes cp-discord-blitz {
  0%, 80% { transform: translateX(-120%); opacity: 0; }
  84%     { opacity: 0.9; }
  92%     { transform: translateX(220%); opacity: 0.0; }
  100%    { transform: translateX(220%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-discord-glow, .cp-discord-glow::before, .cp-discord-glow::after { animation: none !important; }
}

/* Expander button */
/* Animated collapse state */
.cp-root.collapsed #cp-results {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
  transform: translateY(-6px);
}
.cp-caret { color: var(--secondary-color); cursor: pointer; position: relative; }
.cp-caret:hover { color: var(--primary-color); text-shadow: 0 0 6px rgba(255,233,0,0.6); }
.cp-root .cp-input .cp-caret { transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.cp-root:not(.collapsed) .cp-input .cp-caret { transform: rotate(90deg); }

/* Neon pulsing for caret when collapsed */
.cp-root.collapsed .cp-caret {
  animation: cp-caret-pulse 1.8s ease-in-out infinite;
}
@keyframes cp-caret-pulse {
  0%, 100% {
    color: var(--secondary-color);
    text-shadow: 0 0 4px rgba(255,233,0,0.28), 0 0 10px rgba(255,233,0,0.15);
  }
  50% {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255,233,0,0.85), 0 0 18px rgba(255,233,0,0.45);
  }
}

/* Halo glow pulse around caret */
.cp-root.collapsed .cp-caret::after {
  content: "";
  position: absolute;
  left: -8px; top: -8px; right: -8px; bottom: -8px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,233,0,0.45), rgba(255,233,0,0) 70%);
  filter: blur(2px);
  opacity: .35;
  pointer-events: none;
  animation: cp-caret-glow 1.8s ease-in-out infinite;
}
@keyframes cp-caret-glow {
  0%, 100% { opacity: .25; transform: scale(0.96); filter: blur(2px); }
  50%      { opacity: .75; transform: scale(1.1);  filter: blur(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .cp-panel, .cp-item, .cp-results { transition: none !important; }
  .cp-root.collapsed .cp-caret::after { animation: none; }
}

/* Dedicated scroll container for the results list (below pinned) with neon yellow theme */
/* Shared scroll container so pinned can be sticky within same context */
#cp-scroll {
  display: flex;
  flex-direction: column;
  max-height: 56vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch; /* iOS inertial scrolling */
  overscroll-behavior-y: contain;    /* don't bubble to body */
  touch-action: pan-y;               /* allow vertical pan only */
  scrollbar-gutter: stable;          /* avoid layout shift on desktop */
}
/* Desktop only: when collapsed, hide the scrollbar entirely */
@media (hover: hover) and (pointer: fine) {
  .cp-root.collapsed #cp-scroll { overflow: hidden; }
}
/* Desktop-only custom scrollbars; let mobile use native overlay scrollbars to avoid width thrash */
@media (hover: hover) and (pointer: fine) {
  .cp-root #cp-scroll { scrollbar-color: var(--primary-color) rgba(255,233,0,0.08); scrollbar-width: thin; }
  .cp-root #cp-scroll::-webkit-scrollbar { width: 10px; }
  .cp-root #cp-scroll::-webkit-scrollbar-track { background: rgba(255,233,0,0.06); border-left: 1px solid rgba(255,233,0,0.25); }
  .cp-root #cp-scroll::-webkit-scrollbar-thumb { background: var(--primary-color); border: 2px solid rgba(0,0,0,0.4); border-radius: 8px; box-shadow: 0 0 8px rgba(255,233,0,0.6), 0 0 14px rgba(255,233,0,0.35) inset; }
  .cp-root #cp-scroll::-webkit-scrollbar-thumb:hover { background: #ffe900; box-shadow: 0 0 10px rgba(255,233,0,0.9); }
}
.cp-root .cp-item > .cp-switch,
.cp-root .cp-item > .cp-select,
.cp-root .cp-item > .cp-badge { justify-self: end; margin-left: auto; }

/* While user is finger-scrolling on touch, reduce visual effects for smoother perf */
@media (hover: none), (pointer: coarse) {
  .cp-touch-scrolling .cp-item { transition: none !important; box-shadow: none !important; }
  .cp-touch-scrolling .cp-item.active { transform: none !important; }
  .cp-touch-scrolling .cp-panel::before { opacity: 0.25; }
}

/* On touch devices, avoid transforms on the panel to keep the inner scroller smooth (iOS Safari quirk). */
/* Phones: keep 10px side insets defined above; just remove transforms. */
@media (hover: none) and (max-width: 700px), (pointer: coarse) and (max-width: 700px) {
  .cp-panel { transform: none !important; }
  #command-palette.open .cp-panel { transform: none !important; }
}

/* Final safeguard: on small screens, force edge-insets centering so later generic rules can't push panel off-screen */
@media (max-width: 700px) {
  #command-palette .cp-panel {
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    top: 8vh !important;
    transform: none !important;
  }
}
/* Tablets and larger touch devices: center via left/right auto and drop transforms entirely. */
@media (hover: none) and (min-width: 701px), (pointer: coarse) and (min-width: 701px) {
  .cp-panel {
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }
  #command-palette.open .cp-panel { transform: none !important; }
}
