:root {
  --bg-app: #090A0F;
  --bg-panel: #11131A;
  --bg-elevated: #1A1D27;
  --bg-control: rgba(255, 255, 255, 0.055);
  --bg-control-hover: rgba(255, 255, 255, 0.095);
  --border-subtle: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent: #6366F1;
  --accent-bright: #818CF8;
  --accent-glow: rgba(99, 102, 241, 0.28);
  --danger: #EF4444;
  --success: #10B981;
  --amber: #F59E0B;
  --cyan: #38BDF8;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", system-ui, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}

/* App Shell Grid — Strict min-width: 0 on every region prevents horizontal blowout */
.studio-shell {
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) 196px;
  grid-template-columns: minmax(0, 1fr) 316px;
  grid-template-areas:
    "topbar topbar"
    "stage inspector"
    "timeline inspector";
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Top Studio Toolbar */
.topbar {
  grid-area: topbar;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(17, 19, 26, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  gap: 10px;
  z-index: 20;
}

.topbar-left,
.topbar-center,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.topbar-left {
  flex: 1 1 auto;
}

.topbar-center {
  flex: 0 0 auto;
}

.topbar-right {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 55%, #EC4899 100%);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  display: grid;
  place-items: center;
  color: #fff;
}

.brand-name {
  font-weight: 650;
  font-size: 13.5px;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.toolbar-divider {
  width: 1px;
  height: 18px;
  background: var(--border-subtle);
  margin: 0 2px;
  flex-shrink: 0;
}

.project-title-input {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  width: 170px;
  min-width: 90px;
  text-overflow: ellipsis;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.project-title-input:hover,
.project-title-input:focus {
  outline: none;
  color: var(--text-primary);
  background: var(--bg-control);
  border-color: var(--border-strong);
}

.inspector-text-input {
  width: 100%;
  height: 29px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.14s;
}

.inspector-text-input:focus {
  border-color: var(--accent-bright);
}

/* Studio Buttons & Segmented Controls */
.btn-pair {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 29px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-control);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
  transition: background-color 0.14s, border-color 0.14s, transform 0.1s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn:hover:not(:disabled) {
  background: var(--bg-control-hover);
  border-color: var(--border-strong);
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-icon {
  width: 29px;
  padding: 0;
}

.btn-compact {
  height: 25px;
  padding: 0 9px;
  font-size: 11.5px;
  border-radius: 5px;
}

.btn-subtle {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}

.btn-subtle:hover:not(:disabled) {
  background: var(--bg-control);
  color: var(--text-primary);
}

.btn-danger-subtle {
  color: #FCA5A5;
}

.btn-primary {
  background: linear-gradient(180deg, #6366F1 0%, #4F46E5 100%);
  border-color: rgba(165, 180, 252, 0.38);
  box-shadow: 0 1px 8px rgba(99, 102, 241, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #818CF8 0%, #6366F1 100%);
}

.btn-play {
  min-width: 72px;
  background: var(--text-primary);
  color: #090A0F;
  border-color: transparent;
  font-weight: 650;
}

.btn-play:hover:not(:disabled) {
  background: #E2E8F0;
  border-color: transparent;
}

.btn-record {
  background: rgba(239, 68, 68, 0.13);
  border-color: rgba(239, 68, 68, 0.34);
  color: #FCA5A5;
}

.btn-record:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.55);
}

.btn-record.is-recording {
  background: #EF4444;
  border-color: #FCA5A5;
  color: #fff;
  animation: recordPulse 1.4s infinite;
}

@keyframes recordPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
}

.btn-record.is-recording .rec-dot {
  background: #fff;
}

.select-pill {
  height: 29px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
  flex-shrink: 0;
}

.select-compact {
  height: 27px;
  padding: 0 6px;
  font-size: 11.5px;
}

.segmented {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.38);
  padding: 2px;
  border-radius: 7px;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.segmented-compact {
  border-radius: 6px;
}

.seg-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 550;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.14s, color 0.14s;
  white-space: nowrap;
}

.seg-btn.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Center Stage Area */
.stage-area {
  grid-area: stage;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 45%, #141722 0%, #090A0F 82%);
  position: relative;
  overflow: hidden;
}

.canvas-viewport {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 28px 18px;
  position: relative;
}

.studio-canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.09);
  cursor: crosshair;
}

/* Subtle Floating Canvas Pill Bar */
.stage-floating-pill {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 9px;
  background: rgba(17, 19, 26, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 8;
  max-width: calc(100% - 24px);
}

.hud-readout {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0 6px;
  white-space: nowrap;
}

.drop-overlay {
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  border: 2px dashed var(--accent-bright);
  background: rgba(9, 11, 20, 0.86);
  backdrop-filter: blur(12px);
  display: none;
  place-items: center;
  z-index: 30;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.drop-overlay.active {
  display: grid;
}

/* Transport Deck */
.transport-bar {
  height: 44px;
  min-width: 0;
  overflow: hidden;
  background: rgba(17, 19, 26, 0.94);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  gap: 8px;
  flex-shrink: 0;
}

.transport-left,
.transport-right {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.timecode-display {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.36);
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  flex-shrink: 0;
}

.timecode-display span {
  color: var(--text-muted);
}

/* Right Pro Inspector */
.inspector {
  grid-area: inspector;
  min-width: 0;
  width: 316px;
  background: var(--bg-panel);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.inspector-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.insp-tab {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.14s, color 0.14s;
  white-space: nowrap;
}

.insp-tab.active {
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.inspector-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.insp-section {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.insp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.insp-accent-label {
  color: var(--accent-bright);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.backdrop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.backdrop-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 7px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.26);
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  min-width: 0;
  transition: border-color 0.14s, background-color 0.14s;
}

.backdrop-card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.backdrop-card.active {
  border-color: var(--accent-bright);
  background: rgba(99, 102, 241, 0.14);
  box-shadow: 0 0 0 1px var(--accent-bright);
}

.backdrop-swatch {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.backdrop-meta {
  min-width: 0;
  flex: 1;
}

.backdrop-title {
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.backdrop-sub {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.control-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.control-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.control-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--text-primary);
  font-weight: 600;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-primary);
  padding: 2px 0;
}

.switch {
  position: relative;
  width: 34px;
  height: 19px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.16s;
  flex-shrink: 0;
}

.switch.active {
  background: var(--accent);
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s;
}

.switch.active::after {
  transform: translateX(15px);
}

.spring-curve-canvas {
  width: 100%;
  height: 88px;
  border-radius: 8px;
  background: #090B10;
  border: 1px solid var(--border-subtle);
}

.spring-diagnostics {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
}

/* Bottom Multi-Track Timeline */
.timeline-panel {
  grid-area: timeline;
  min-width: 0;
  background: #0C0E14;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  user-select: none;
  overflow: hidden;
}

.timeline-header {
  height: 28px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  border-bottom: 1px solid var(--border-subtle);
  background: #10121A;
  flex-shrink: 0;
}

.timeline-corner {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-right: 1px solid var(--border-subtle);
}

.timeline-ruler {
  position: relative;
  height: 100%;
  cursor: ew-resize;
  overflow: hidden;
}

.timeline-tracks {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.track-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  flex: 1;
  min-height: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.track-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-size: 11.5px;
  font-weight: 550;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-subtle);
  background: rgba(16, 18, 26, 0.85);
}

.track-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.track-lane {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.008);
  overflow: hidden;
}

.clip-block {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: grab;
  transition: box-shadow 0.12s;
}

.clip-block:active {
  cursor: grabbing;
}

.clip-block.video-clip {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.82), rgba(51, 65, 85, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #E2E8F0;
}

.clip-block.zoom-clip {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(139, 92, 246, 0.45));
  border: 1px solid rgba(165, 180, 252, 0.55);
}

.clip-block.zoom-clip.selected {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.78), rgba(168, 85, 247, 0.78));
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 3px 12px rgba(99, 102, 241, 0.4);
}

.zoom-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  cursor: ew-resize;
  background: rgba(255, 255, 255, 0.16);
}

.zoom-handle.left { left: 0; border-radius: 5px 0 0 5px; }
.zoom-handle.right { right: 0; border-radius: 0 5px 5px 0; }

.click-marker {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  transform: rotate(45deg);
  background: #38BDF8;
  border: 1.5px solid #0C0E14;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.12s, background-color 0.12s;
}

.click-marker:hover {
  transform: rotate(45deg) scale(1.3);
  background: #7DD3FC;
}

.hud-pill-marker {
  position: absolute;
  top: 6px;
  bottom: 6px;
  border-radius: 5px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
}

.hud-pill-marker.key-marker {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #FDE68A;
}

.hud-pill-marker.spot-marker {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #A7F3D0;
}

/* Playhead Line */
.playhead-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: #F43F5E;
  pointer-events: none;
  z-index: 15;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.6);
}

.playhead-cap {
  position: absolute;
  top: 0;
  left: -4.5px;
  width: 10px;
  height: 11px;
  background: #F43F5E;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}

/* Native Top-Layer Dialogs with @starting-style & discrete transitions */
dialog.studio-dialog {
  margin: auto;
  width: min(480px, 92vw);
  background: #141722;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78);
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition:
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    overlay 0.2s allow-discrete,
    display 0.2s allow-discrete;
}

dialog.studio-dialog[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@starting-style {
  dialog.studio-dialog[open] {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
}

dialog.studio-dialog[data-closing] {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
}

dialog.studio-dialog::backdrop {
  background: rgba(5, 7, 14, 0);
  backdrop-filter: blur(0px);
  transition:
    background-color 0.2s ease,
    backdrop-filter 0.2s ease,
    overlay 0.2s allow-discrete,
    display 0.2s allow-discrete;
}

dialog.studio-dialog[open]::backdrop {
  background: rgba(5, 7, 14, 0.66);
  backdrop-filter: blur(6px);
}

@starting-style {
  dialog.studio-dialog[open]::backdrop {
    background: rgba(5, 7, 14, 0);
    backdrop-filter: blur(0px);
  }
}

dialog.studio-dialog[data-closing]::backdrop {
  background: rgba(5, 7, 14, 0);
  backdrop-filter: blur(0px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dialog-title {
  font-size: 15px;
  font-weight: 650;
}

.progress-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 8px 0;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366F1, #EC4899);
  transition: width 0.1s linear;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.shortcut-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  font-size: 11.5px;
}

kbd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
}
