:root {
  --bg: #0B0E14;
  --surface: #11151E;
  --surface-2: #171C28;
  --surface-3: #1D2333;
  --ink: #E8ECF4;
  --ink-2: rgba(232,236,244,.6);
  --ink-3: rgba(232,236,244,.35);
  --accent: #5B8CFF;
  --accent-glow: rgba(91,140,255,.25);
  --accent-dim: rgba(91,140,255,.12);
  --border: rgba(232,236,244,.09);
  --border-strong: rgba(232,236,244,.16);
  --danger: #FF6B6B;
  --success: #4ADE80;
  --warning: #FBBF24;
  --diff-add: rgba(74,222,128,.15);
  --diff-add-border: rgba(74,222,128,.4);
  --diff-remove: rgba(255,107,107,.15);
  --diff-remove-border: rgba(255,107,107,.4);
  --diff-change: rgba(251,191,36,.15);
  --diff-change-border: rgba(251,191,36,.4);
  --search-highlight: rgba(251,191,36,.3);
  --search-active: rgba(251,191,36,.6);
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 10px;
  --radius-lg: 16px;
  --row-h: 22px;
  --header-h: 48px;
  --status-h: 28px;
  --toolbar-h: 44px;
  --sidebar-w: 240px;
}

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

body {
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--toolbar-h);
  padding: 0 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  flex-shrink: 0;
}

.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 6px; }
.toolbar-center { display: flex; align-items: center; }
.toolbar-divider { width: 1px; height: 20px; background: var(--border); margin: 0 8px; }

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--ink);
  user-select: none;
}
.brand svg { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  color: var(--ink);
  background: transparent;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.35; pointer-events: none; }
.btn-ghost { background: transparent; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #4A7AEF; box-shadow: 0 0 20px var(--accent-glow); }
.btn-icon { padding: 6px; }
.btn-sm { padding: 4px 8px; font-size: 11px; }

.mode-switcher {
  display: flex;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mode-btn:hover { color: var(--ink); background: var(--surface); }
.mode-btn.active { color: var(--accent); background: var(--surface-2); }

.search-bar, .goto-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  flex-shrink: 0;
  z-index: 90;
}
.search-inner, .goto-inner { display: flex; align-items: center; gap: 10px; }

.search-mode-switch { display: flex; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.search-mode {
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.search-mode.active { background: var(--accent); color: #fff; }
.search-mode:hover:not(.active) { background: var(--surface-2); }

.search-input, .goto-input {
  flex: 1;
  max-width: 400px;
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  outline: none;
  transition: border-color 0.15s;
}
.search-input:focus, .goto-input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }

.search-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  min-width: 80px;
  text-align: center;
}

.goto-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
}
.goto-input { max-width: 200px; }

.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.hidden { display: none !important; }

.welcome-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 48px;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 100%);
}
.welcome-icon { color: var(--accent); opacity: 0.6; margin-bottom: 8px; }
.welcome-screen h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.welcome-screen p {
  color: var(--ink-2);
  font-size: 14px;
  max-width: 340px;
}
.welcome-actions { display: flex; gap: 12px; margin-top: 12px; }
.welcome-hint {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  margin-top: 12px;
}
.welcome-features { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.feature-tag {
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  color: var(--ink-2);
  font-family: var(--font-mono);
}

.editor-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.editor-single { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.file-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
}
.editor-controls { display: flex; align-items: center; gap: 8px; }
.bytes-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.select-sm {
  padding: 2px 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  outline: none;
  cursor: pointer;
}

.hex-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

.hex-ruler {
  display: flex;
  padding: 5px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  flex-shrink: 0;
  user-select: none;
  gap: 0;
}
.hex-ruler .ruler-offset { width: 80px; text-align: left; flex-shrink: 0; }
.hex-ruler .ruler-bytes { flex: 1; display: flex; gap: 0; }
.hex-ruler .ruler-byte {
  text-align: center;
  flex-shrink: 0;
}
.hex-ruler .ruler-ascii { width: 0; overflow: hidden; }

.hex-scroll-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}
.hex-spacer { width: 1px; }
.hex-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hex-row {
  display: flex;
  height: var(--row-h);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: var(--row-h);
  border-bottom: 1px solid transparent;
}
.hex-row:hover { background: var(--surface-2); }
.hex-row.diff-row { background: var(--diff-change); border-bottom-color: var(--diff-change-border); }
.hex-row.diff-add { background: var(--diff-add); border-bottom-color: var(--diff-add-border); }
.hex-row.diff-remove { background: var(--diff-remove); border-bottom-color: var(--diff-remove-border); }

.hex-offset {
  width: 80px;
  padding: 0 12px;
  color: var(--ink-3);
  text-align: left;
  flex-shrink: 0;
  user-select: none;
}

.hex-bytes {
  flex: 1;
  display: flex;
  gap: 0;
}
.hex-byte {
  text-align: center;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.1s;
  position: relative;
}
.hex-byte:hover { background: var(--accent-dim); }
.hex-byte.selected { background: var(--accent); color: #fff; }
.hex-byte.search-match { background: var(--search-highlight); }
.hex-byte.search-active { background: var(--search-active); }
.hex-byte.diff-byte { background: var(--diff-change); }
.hex-byte.null-byte { color: var(--ink-3); }

.hex-ascii {
  padding: 0 8px;
  flex-shrink: 0;
  white-space: pre;
  user-select: none;
}
.ascii-char {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.1s;
}
.ascii-char:hover { background: var(--accent-dim); }
.ascii-char.selected { background: var(--accent); color: #fff; }
.ascii-char.non-printable { color: var(--ink-3); }
.ascii-char.search-match { background: var(--search-highlight); }
.ascii-char.search-active { background: var(--search-active); }
.ascii-char.diff-byte { background: var(--diff-change); }
.ascii-char.search-active { background: var(--search-active); }

.editor-compare {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.compare-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.compare-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
}
.compare-divider {
  width: 3px;
  background: var(--border-strong);
  cursor: col-resize;
  flex-shrink: 0;
  transition: background 0.15s;
}
.compare-divider:hover { background: var(--accent); }
.compare-viewport { flex: 1; }

.diff-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.diff-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
}
.diff-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  min-width: 60px;
  text-align: center;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--status-h);
  padding: 0 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  flex-shrink: 0;
  z-index: 100;
}
.status-left, .status-center, .status-right { display: flex; align-items: center; gap: 8px; }
.status-sep { color: var(--ink-3); }

.file-hidden { display: none; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 20px 4px var(--accent-glow); }
}
.glow-pulse { animation: pulse-glow 2s ease-in-out infinite; }

.drag-over {
  outline: 2px dashed var(--accent);
  outline-offset: -4px;
  background: var(--accent-dim) !important;
}

/* ===== MOBILE SIDEBAR TOGGLE ===== */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 310;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.sidebar-toggle:hover { background: var(--surface-2); border-color: var(--border-strong); }

.sidebar-close {
  display: none;
  border: none;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.sidebar-close:hover { background: var(--surface-2); color: var(--ink); }

.sidebar-backdrop {
  display: none;
}

@media (max-width: 768px) {
  .sidebar-toggle {
    display: flex;
  }

  .sidebar-close {
    display: flex;
  }

  .sidebar-brand {
    justify-content: space-between;
    padding: 16px 14px;
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 290;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-logo img {
    max-width: 150px;
  }

  .main-wrapper {
    padding-left: 0;
  }

  .home-hero {
    padding: 56px 24px 36px;
  }
  .home-title {
    font-size: clamp(28px, 8vw, 42px);
  }
  .home-subtitle {
    font-size: 14px;
  }
  .home-cards {
    grid-template-columns: 1fr;
    padding: 24px 20px 36px;
    gap: 12px;
  }
  .home-card {
    padding: 18px 20px;
  }
  .home-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .home-card-icon svg { width: 22px; height: 22px; }

  .toolbar {
    padding: 0 12px;
    gap: 6px;
    height: auto;
    min-height: var(--toolbar-h);
    flex-wrap: wrap;
  }
  .toolbar-left { order: 2; flex-wrap: wrap; gap: 4px; }
  .toolbar-center { order: 1; width: 100%; justify-content: center; padding: 6px 0 0; }
  .toolbar-right { order: 3; gap: 4px; }
  .toolbar-divider { display: none; }
  .toolbar-view-title { font-size: 12px; }

  .toolbar .btn span { display: none; }
  .toolbar .btn { padding: 6px 8px; }

  .mode-switcher { width: 100%; }
  .mode-btn { flex: 1; justify-content: center; padding: 8px 12px; font-size: 12px; }

  .search-bar .search-inner {
    flex-wrap: wrap;
    gap: 6px;
  }
  .search-input, .goto-input {
    max-width: 100%;
    flex: 1 1 120px;
  }

  .welcome-screen {
    padding: 28px 20px;
    gap: 14px;
  }
  .welcome-screen h1 {
    font-size: clamp(22px, 6vw, 32px);
  }
  .welcome-screen p {
    font-size: 13px;
    max-width: 280px;
  }
  .welcome-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    gap: 8px;
  }
  .welcome-actions .btn {
    justify-content: center;
    padding: 10px 16px;
  }
  .welcome-features { display: none; }
  .welcome-hint { font-size: 10px; }

  .placeholder-center {
    padding: 28px 20px;
  }
  .placeholder-icon svg { width: 40px; height: 40px; }
  .placeholder-title { font-size: 22px; }
  .placeholder-text { font-size: 13px; }

  .diff-nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
  }
  .diff-nav .btn { font-size: 11px; padding: 5px 8px; }

  .status-bar {
    font-size: 10px;
    padding: 0 12px;
    gap: 6px;
  }
  .status-center { display: none; }

  .goto-inner { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 44px 18px 28px;
  }
  .home-card {
    padding: 16px 18px;
    gap: 14px;
  }
  .home-card-title { font-size: 14px; }
  .home-card-desc { font-size: 11px; }

  .sidebar {
    width: 240px;
  }

  .mode-btn { font-size: 11px; padding: 7px 8px; }
  .mode-btn svg { width: 12px; height: 12px; }
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 200;
  transition: width 0.2s ease;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-logo img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nav-section { display: flex; flex-direction: column; gap: 4px; }
.nav-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  padding: 4px 12px 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
}
.nav-item:hover { color: var(--ink); background: var(--surface-2); }
.nav-item.active {
  color: var(--accent);
  background: var(--accent-dim);
}
.nav-item.active svg { color: var(--accent); }
.nav-item svg { flex-shrink: 0; color: var(--ink-3); transition: color 0.15s; }
.nav-item:hover svg { color: var(--ink-2); }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.sidebar-user:hover { background: var(--surface-2); }
.sidebar-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.sidebar-user-info { display: flex; flex-direction: column; gap: 1px; }
.sidebar-user-name { font-size: 12px; font-weight: 500; color: var(--ink); }
.sidebar-user-plan { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }

/* ===== MAIN WRAPPER ===== */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.toolbar-view-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ===== VIEWS ===== */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.view {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}
.view.active { display: flex; }

/* ===== HOME VIEW ===== */
.view-home {
  overflow-y: auto;
}

.home-hero {
  position: relative;
  padding: 80px 56px 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.home-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, black 10%, transparent 80%);
  pointer-events: none;
}
.home-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
.home-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.home-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.home-subtitle {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 440px;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 40px 56px 56px;
}
.home-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
  color: var(--ink);
  font-family: var(--font-display);
}
.home-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px -24px rgba(0,0,0,.6);
}
.home-card:active { transform: translateY(0); }
.home-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  border-radius: 12px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.18s;
}
.home-card:hover .home-card-icon {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow);
}
.home-card-body { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.home-card-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.home-card-desc { font-size: 12px; color: var(--ink-2); }
.home-card-arrow { color: var(--ink-3); transition: all 0.18s; flex-shrink: 0; }
.home-card:hover .home-card-arrow { color: var(--accent); transform: translateX(3px); }

/* ===== PLACEHOLDER VIEWS ===== */
.view-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.view-placeholder.active { display: flex; }

.placeholder-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 56px;
  max-width: 440px;
}
.placeholder-icon {
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 8px;
}
.placeholder-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.placeholder-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.placeholder-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ===== EDITOR HEX VIEW ===== */
.view-editorhex { display: none; }
.view-editorhex.active { display: flex; }

