:root {
  --sticky-offset: 72px;
  color-scheme: dark;

  /* Core palette */
  --background-deep: #020203;
  --background-base: #050506;
  --background-elevated: #0a0a0c;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --foreground: #edefef;
  --foreground-muted: #8a8f98;
  --foreground-subtle: rgba(255, 255, 255, 0.6);
  --accent: #5e6ad2;
  --accent-bright: #6872d9;
  --accent-glow: rgba(94, 106, 210, 0.3);
  --border-default: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(94, 106, 210, 0.3);
  --status-progress-bg: #34d399;
  --status-progress-fg: #052e16;
  --status-investigating-bg: #fbbf24;
  --status-investigating-fg: #431407;
  --status-review-bg: #7dd3fc;
  --status-review-fg: #082f49;
  --status-blocked: #fda4af;
  --status-success: #77e8b8;

  /* Legacy aliases */
  --bg: var(--background-base);
  --panel: rgba(9, 10, 14, 0.86);
  --panel-2: rgba(14, 16, 22, 0.9);
  --card: var(--surface);
  --border: var(--border-default);
  --text: var(--foreground);
  --text-2: #c6cad2;
  --text-3: var(--foreground-muted);
  --emerald: #34d399;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --rose: #fb7185;
  --blue: #60a5fa;

  /* Typography */
  --font-sans: "Inter", "Geist Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --fs-display: clamp(1.9rem, 2.8vw, 2.8rem);
  --fs-h3: clamp(1.02rem, 1.2vw, 1.2rem);
  --fs-body: 0.93rem;
  --fs-meta: 0.8rem;
  --lh-tight: 1.2;
  --lh-body: 1.5;

  /* Motion */
  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

html {
  font-size: clamp(14px, 0.2vw + 13px, 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: radial-gradient(ellipse at top, #0a0a0f 0%, #050506 50%, #020203 100%);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.02;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 64px 64px;
}

.ambient-background {
  position: fixed;
  inset: -10% -10% 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-background .blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  animation: float 9s ease-in-out infinite;
  will-change: transform;
}

.ambient-background .blob-1 {
  width: min(92vw, 900px);
  height: min(130vh, 1400px);
  top: -26%;
  left: 14%;
  background: radial-gradient(circle at 45% 35%, rgba(94, 106, 210, 0.3), rgba(94, 106, 210, 0));
  filter: blur(150px);
}

.ambient-background .blob-2 {
  width: min(70vw, 600px);
  height: min(86vh, 800px);
  top: 8%;
  left: -14%;
  background: radial-gradient(circle at 45% 35%, rgba(157, 90, 240, 0.18), rgba(233, 109, 173, 0));
  animation-duration: 10s;
}

.ambient-background .blob-3 {
  width: min(64vw, 500px);
  height: min(74vh, 700px);
  top: 15%;
  right: -12%;
  background: radial-gradient(circle at 40% 30%, rgba(93, 137, 255, 0.16), rgba(94, 106, 210, 0));
  filter: blur(100px);
  animation-duration: 8.4s;
}

.ambient-background .blob-4 {
  width: min(72vw, 640px);
  height: min(62vh, 520px);
  bottom: -28%;
  left: 28%;
  background: radial-gradient(circle at 50% 35%, rgba(94, 106, 210, 0.14), rgba(94, 106, 210, 0));
  animation: pulse-float 10s ease-in-out infinite;
}

.hidden {
  display: none !important;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
  backdrop-filter: blur(0.5px);
}

.app-shell > * {
  min-width: 0;
}

.app-shell.show-rightpanel {
  grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr) minmax(16rem, 19rem);
}

.sidebar,
.rightpanel,
.topbar,
.quick-capture-bar,
.view-tabs,
.capture,
.graph-canvas,
.timeline-strip,
.organizing-state,
.inline-toast,
.empty-state,
.graph-empty,
.search input,
.summary-chip,
.session-card,
.column,
.tile,
.panel-block,
.entry {
  border: 1px solid var(--border-default);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 2px 20px rgba(0, 0, 0, 0.44),
    0 0 40px rgba(0, 0, 0, 0.24);
}

.sidebar,
.rightpanel {
  background: linear-gradient(to bottom, rgba(8, 9, 12, 0.9), rgba(8, 9, 12, 0.7));
  backdrop-filter: blur(14px);
}

.sidebar {
  padding: 16px;
  border-right-color: var(--border-default);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(140deg, var(--accent-bright), var(--cyan));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 6px 14px rgba(94, 106, 210, 0.42);
}

.nav-group {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.subhead {
  color: var(--foreground-subtle);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-family: var(--font-mono);
  margin: 14px 0 8px;
}

.nav-item,
.tab,
.top-btn,
.line-btn {
  border: 1px solid transparent;
  color: var(--text-2);
  font: inherit;
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform var(--dur-fast) var(--ease-expo-out),
    border-color var(--dur-fast) var(--ease-expo-out),
    background-color var(--dur-fast) var(--ease-expo-out),
    color var(--dur-fast) var(--ease-expo-out),
    box-shadow var(--dur-fast) var(--ease-expo-out);
}

.nav-item {
  text-align: left;
  border-radius: 10px;
  padding: 10px;
}

.nav-item:hover,
.nav-item.active {
  color: var(--foreground);
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 28px rgba(0, 0, 0, 0.46),
    0 0 50px rgba(94, 106, 210, 0.12);
}

.agent-box {
  margin-top: 20px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 4px 20px rgba(0, 0, 0, 0.34);
}

.agent-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #8f99ec, #5e6ad2 72%);
  box-shadow: 0 0 22px rgba(94, 106, 210, 0.5);
}

.agent-box p {
  margin: 0;
}

.agent-box span {
  color: #77e8b8;
  font-size: 13px;
}

.center {
  display: grid;
  grid-template-rows: 72px auto auto 1fr;
  min-width: 0;
}

.topbar {
  border-radius: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  transform-origin: center top;
}

.search {
  flex: 1;
}

.search input {
  width: 100%;
  max-width: none;
  border-radius: 10px;
  color: var(--foreground);
  padding: 12px;
  outline: none;
}

.search input::placeholder {
  color: var(--foreground-subtle);
}

.search input:focus-visible,
.nav-item:focus-visible,
.tab:focus-visible,
.top-btn:focus-visible,
.line-btn:focus-visible {
  outline: none;
  border-color: var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.45),
    0 0 0 4px rgba(94, 106, 210, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.session-card:focus-visible {
  outline: none;
  border-color: var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.45),
    0 0 0 4px rgba(94, 106, 210, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.top-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mode-badge {
  align-self: center;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--foreground-subtle);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

#focus-mode-toggle {
  display: none;
}

.top-btn,
.line-btn,
.tab {
  border-radius: 10px;
  padding: 9px 12px;
}

.top-btn {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.top-btn:first-child {
  color: #fff;
  background: var(--accent);
  border-color: rgba(94, 106, 210, 0.5);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.5),
    0 4px 12px rgba(94, 106, 210, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.top-btn:first-child:hover {
  background: var(--accent-bright);
}

.top-btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.view-tabs {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 18px;
}

.dashboard-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-controls.is-sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--foreground-subtle);
  font: inherit;
  font-size: 0.78rem;
  padding: 6px 10px;
  transition:
    transform var(--dur-fast) var(--ease-expo-out),
    border-color var(--dur-fast) var(--ease-expo-out),
    background-color var(--dur-fast) var(--ease-expo-out),
    color var(--dur-fast) var(--ease-expo-out);
}

.filter-chip:hover {
  transform: translateY(-1px);
  border-color: var(--border-hover);
  color: var(--foreground);
}

.filter-chip.active {
  border-color: var(--border-accent);
  color: var(--foreground);
  background: rgba(94, 106, 210, 0.25);
}

.filter-chip:focus-visible {
  outline: none;
  border-color: var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.44),
    0 0 0 4px rgba(94, 106, 210, 0.22);
}

.session-card.is-filtered-out {
  display: none;
}

.overview-card {
  min-height: 16rem;
  display: grid;
  align-content: start;
  gap: 8px;
}

.overview-card .line-btn {
  margin-top: auto;
}

.overview-meta {
  margin: 0;
  color: var(--foreground-subtle);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.session-tag-chip {
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground-muted);
  border-radius: 999px;
  padding: 3px 8px;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1.2;
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease-expo-out),
    background-color var(--dur-fast) var(--ease-expo-out),
    color var(--dur-fast) var(--ease-expo-out);
}

.session-tag-chip:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.1);
  color: var(--foreground);
}

.session-tag-chip.is-active-facet {
  border-color: var(--border-accent);
  color: var(--foreground);
  background: rgba(94, 106, 210, 0.2);
}

.session-tag-chip.is-static {
  cursor: default;
  opacity: 0.7;
}

.session-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.session-meta-row .badge {
  margin: 0;
}

.priority-chip {
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.06);
}

.priority-chip.p1 {
  border-color: rgba(251, 113, 133, 0.5);
  color: #fecdd3;
  background: rgba(127, 29, 29, 0.4);
}

.priority-chip.p2 {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fde68a;
  background: rgba(120, 53, 15, 0.4);
}

.priority-chip.p3 {
  border-color: rgba(94, 106, 210, 0.5);
  color: #c7d2fe;
  background: rgba(49, 46, 129, 0.35);
}

.updated-meta {
  color: var(--foreground-muted);
  font-size: 0.76rem;
}

.overview-body {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.compact-panel {
  min-height: 13.5rem;
  display: grid;
  align-content: start;
  gap: 8px;
}

.panel-meta {
  margin: 0;
  color: var(--foreground-subtle);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-body {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.panel-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  display: grid;
  gap: 6px;
}

.saved-view-wrap select {
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  font: inherit;
  font-size: 0.78rem;
  padding: 6px 28px 6px 10px;
}

.saved-view-wrap select:focus-visible {
  outline: none;
  border-color: var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.44),
    0 0 0 4px rgba(94, 106, 210, 0.22);
}

.tab {
  background: rgba(255, 255, 255, 0.03);
}

.tab.active {
  color: var(--foreground);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
}

.line-btn {
  width: 100%;
  color: var(--foreground-muted);
  background: rgba(255, 255, 255, 0.04);
}

.session-card,
.column,
.tile,
.panel-block,
.entry,
.node,
.chip,
.line-btn,
.top-btn,
.filter-chip {
  overflow-wrap: anywhere;
}

.line-btn:hover,
.top-btn:hover,
.tab:hover {
  color: var(--foreground);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.line-btn:active,
.top-btn:active,
.tab:active,
.nav-item:active {
  transform: scale(0.98);
}

.line-btn:disabled,
.top-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

main {
  padding: 14px 18px 18px;
}

.view {
  display: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--dur-fast) var(--ease-expo-out), transform var(--dur-fast) var(--ease-expo-out);
}

.view.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.head-row h2 {
  margin: 0;
  font-size: var(--fs-display);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.meta-row {
  color: var(--foreground-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
}

.live-sessions-head {
  margin-top: 18px;
}

.intake-panel {
  margin-bottom: 14px;
}

.intake-form {
  display: grid;
  gap: 10px;
}

.intake-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intake-field {
  display: grid;
  gap: 6px;
}

.intake-field span {
  color: var(--foreground-muted);
  font-size: 0.78rem;
}

.intake-field input,
.intake-field textarea,
.intake-field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  font: inherit;
  padding: 10px;
  transition: border-color var(--dur-fast) var(--ease-expo-out),
    box-shadow var(--dur-fast) var(--ease-expo-out);
}

.intake-field input:focus,
.intake-field textarea:focus,
.intake-field select:focus {
  outline: none;
  border-color: var(--border-accent);
  box-shadow: 0 0 0 2px rgba(94, 106, 210, 0.2);
}

.intake-structured {
  margin-top: 10px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 12px;
  background: rgba(5, 10, 20, 0.3);
}

.intake-entities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.entity-pill {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-accent);
  color: var(--foreground-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(94, 106, 210, 0.12);
}

.is-active-session {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px rgba(94, 106, 210, 0.45), 0 8px 40px rgba(0, 0, 0, 0.5);
}

.session-open-btn {
  margin-top: 8px;
}

.investigation-note-form {
  margin-top: 12px;
}

.knowledge-library-block {
  margin-top: 14px;
}

.knowledge-item {
  display: grid;
  gap: 4px;
}

.knowledge-item p {
  margin: 0;
  color: var(--foreground-subtle);
}

.knowledge-item span {
  color: var(--foreground-muted);
  font-size: 0.78rem;
}

.knowledge-convert-panel {
  margin-top: 14px;
}

.resume-state-panel {
  margin-top: 12px;
}

.quick-capture-bar {
  margin: 10px 16px 0;
  border-radius: 12px;
  padding: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.quick-capture-bar input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.03);
  color: var(--foreground);
  font: inherit;
  padding: 10px;
}

.quick-capture-status {
  min-width: 126px;
  color: var(--foreground-muted);
  font-size: 0.78rem;
}

.quick-capture-status.is-success {
  color: var(--status-progress-bg);
}

.quick-capture-status.is-error {
  color: var(--status-blocked);
}

.entry.is-last-entry {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px rgba(94, 106, 210, 0.35), 0 6px 24px rgba(0, 0, 0, 0.35);
}

.ai-guide-panel {
  margin-top: 12px;
}

.ai-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-assistant-output {
  margin-top: 10px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.investigation-entry-form {
  display: grid;
  gap: 10px;
}

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

.timeline-group {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.timeline-group-title {
  margin: 0;
  padding: 4px 2px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground-muted);
  font-family: var(--font-mono);
}

.hypothesis-form {
  display: grid;
  gap: 8px;
}

.hypothesis-gap-list {
  margin: 10px 0;
  padding-left: 18px;
  color: var(--status-investigating-bg);
}

.hypothesis-list {
  display: grid;
  gap: 8px;
}

.hypothesis-item {
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.hypothesis-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.hypothesis-status {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  color: var(--foreground-subtle);
}

.hypothesis-status.confirmed {
  color: var(--status-progress-bg);
  border-color: rgba(52, 211, 153, 0.4);
}

.hypothesis-status.eliminated {
  color: var(--status-blocked);
  border-color: rgba(253, 164, 175, 0.4);
}

.hypothesis-status.tested {
  color: var(--status-review-bg);
  border-color: rgba(125, 211, 252, 0.4);
}

.session-card,
.column,
.tile,
.panel-block,
.entry,
.timeline-strip,
.capture,
.graph-canvas,
.organizing-state {
  border-radius: 16px;
  transition:
    transform var(--dur-base) var(--ease-expo-out),
    border-color var(--dur-base) var(--ease-expo-out),
    box-shadow var(--dur-base) var(--ease-expo-out),
    background-color var(--dur-base) var(--ease-expo-out);
}

.session-card,
.column,
.panel-block,
.entry,
.timeline-strip,
.capture,
.organizing-state {
  padding: clamp(0.9rem, 0.9vw, 1rem);
}

.timeline-details {
  margin-top: 12px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-details summary {
  cursor: pointer;
  padding: 10px 12px;
  color: var(--foreground-muted);
  font-weight: 500;
}

.timeline-details summary::-webkit-details-marker {
  color: var(--foreground-subtle);
}

.session-card,
.column,
.tile,
.panel-block,
.entry,
.timeline-strip,
.graph-canvas,
.capture,
.summary-chip {
  position: relative;
  overflow: hidden;
}

.session-card::before,
.column::before,
.tile::before,
.panel-block::before,
.entry::before,
.timeline-strip::before,
.graph-canvas::before,
.capture::before,
.summary-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-expo-out);
  background: radial-gradient(
    300px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(94, 106, 210, 0.16),
    transparent 70%
  );
}

.session-card > *,
.column > *,
.tile > *,
.panel-block > *,
.entry > *,
.timeline-strip > *,
.graph-canvas > *,
.capture > *,
.summary-chip > * {
  position: relative;
  z-index: 1;
}

.session-card:hover,
.column:hover,
.tile:hover,
.panel-block:hover,
.entry:hover,
.timeline-strip:hover,
.graph-canvas:hover,
.capture:hover,
.summary-chip:hover {
  border-color: var(--border-hover);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(94, 106, 210, 0.1);
}

.session-card:hover::before,
.column:hover::before,
.tile:hover::before,
.panel-block:hover::before,
.entry:hover::before,
.timeline-strip:hover::before,
.graph-canvas:hover::before,
.capture:hover::before,
.session-card.is-spotlit::before,
.column.is-spotlit::before,
.tile.is-spotlit::before,
.panel-block.is-spotlit::before,
.entry.is-spotlit::before,
.timeline-strip.is-spotlit::before,
.graph-canvas.is-spotlit::before,
.capture.is-spotlit::before,
.summary-chip.is-spotlit::before {
  opacity: 1;
}

.session-card h3,
.column h3 {
  margin: 0 0 10px;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  line-height: var(--lh-tight);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.badge.green {
  color: var(--status-progress-fg);
  background: var(--status-progress-bg);
}

.badge.amber {
  color: var(--status-investigating-fg);
  background: var(--status-investigating-bg);
}

.badge.blue {
  color: var(--status-review-fg);
  background: var(--status-review-bg);
}

.muted {
  color: var(--foreground-muted);
}

.chip {
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  margin-bottom: 8px;
}

.warn {
  color: var(--status-blocked);
}

.spark {
  margin-top: 10px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: rgba(6, 7, 9, 0.7);
}

.spark.purple {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.22), transparent);
}

.spark.green {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.22), transparent);
}

.blank {
  border-style: dashed;
}

.session-card ul,
.column ul,
.panel-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-2);
}

.session-card li,
.column li,
.panel-block li {
  margin-bottom: 8px;
}

.timeline-strip {
  margin-top: 0;
  padding: 10px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.timeline-strip h4 {
  margin: 0 0 8px;
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(80px, 1fr));
  gap: 8px;
}

.timeline-row span {
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 12px;
}

.tile {
  min-height: 96px;
  padding: 14px;
}

.bento-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.bento-card h3 {
  margin: 0;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  line-height: var(--lh-tight);
}

.bento-card p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.bento-meta {
  margin: 0;
  color: var(--foreground-subtle);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bento-body {
  margin: 0;
  color: var(--text-2);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-grid .hero {
  grid-column: span 4;
  grid-row: span 2;
}

.bento-grid .wide {
  grid-column: span 3;
}

.bento-grid .medium {
  grid-column: span 2;
  grid-row: span 1;
}

.note {
  background: linear-gradient(180deg, rgba(94, 106, 210, 0.3), rgba(94, 106, 210, 0.12));
}

.sticky {
  background: linear-gradient(180deg, rgba(245, 193, 102, 0.85), rgba(211, 160, 70, 0.72));
  color: #1f2937;
}

.code {
  background: rgba(10, 13, 24, 0.7);
}

.screen {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.14));
}

.chat {
  background: rgba(255, 255, 255, 0.05);
}

.organized-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
}

.workflow-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.summary-chip {
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  padding: 12px 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 2px 16px rgba(0, 0, 0, 0.32);
}

.summary-chip span {
  display: block;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--foreground-subtle);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.summary-chip strong {
  font-size: 1.02rem;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

.workflow-panel {
  min-height: 220px;
}

.record-row {
  margin-top: 12px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ghost-line {
  background: rgba(255, 255, 255, 0.02);
  color: var(--foreground-subtle);
}

.record-row .line-btn,
.composer-actions .line-btn {
  width: auto;
}

.graph-canvas {
  min-height: clamp(26rem, 48vh, 34rem);
  outline: none;
}

.graph-canvas:focus-visible {
  border-color: var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.44),
    0 0 0 4px rgba(94, 106, 210, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.42);
}

.graph-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
}

.graph-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.graph-metrics {
  margin-bottom: 12px;
}

.graph-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.graph-lines path {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 8;
  animation: graph-flow 8s linear infinite;
  transition:
    stroke var(--dur-base) var(--ease-expo-out),
    stroke-width var(--dur-base) var(--ease-expo-out),
    opacity var(--dur-base) var(--ease-expo-out);
}

.graph-lines path.active-edge {
  stroke: rgba(104, 114, 217, 0.9);
  stroke-width: 2.5;
  opacity: 1;
}

.graph-lines path.muted-edge {
  opacity: 0.22;
}

.node {
  position: absolute;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  font-size: 14px;
  max-width: min(36ch, 42%);
  text-wrap: balance;
  line-height: 1.3;
  cursor: pointer;
  outline: none;
  transition:
    transform var(--dur-base) var(--ease-expo-out),
    box-shadow var(--dur-base) var(--ease-expo-out),
    border-color var(--dur-base) var(--ease-expo-out);
}

.node.active {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.34),
    0 10px 24px rgba(0, 0, 0, 0.42),
    0 0 38px rgba(94, 106, 210, 0.2);
}

.node:focus-visible {
  border-color: var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.44),
    0 0 0 4px rgba(94, 106, 210, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.42);
}

.graph-keyboard-hint {
  margin: 10px 12px 0;
  font-size: 12px;
  color: var(--foreground-subtle);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.root {
  left: 41%;
  top: 42%;
  background: linear-gradient(180deg, #f6e299, #ebcc70);
  color: #1f2937;
  font-weight: 700;
}

.n1 {
  left: 7%;
  top: 33%;
}

.n2 {
  left: 32%;
  top: 19%;
}

.n3 {
  left: 62%;
  top: 22%;
}

.n4 {
  left: 69%;
  top: 62%;
}

.n5 {
  left: 19%;
  top: 62%;
}

.n6 {
  left: 43%;
  top: 74%;
}

.capture {
  color: var(--foreground-subtle);
  padding: 12px;
  margin-bottom: 12px;
}

.capture-composer {
  display: grid;
  gap: 12px;
}

.composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--foreground-subtle);
  text-transform: uppercase;
}

.composer-meta {
  color: var(--foreground-muted);
  font-size: var(--fs-meta);
}

.capture-composer p {
  margin: 0;
}

.composer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.invest-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 300px;
  gap: 12px;
}

.invest-rail {
  border: 1px solid var(--border-default);
  border-radius: 16px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 2px 20px rgba(0, 0, 0, 0.44);
}

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.rail-step {
  position: relative;
  padding: 8px 10px 8px 16px;
  border-radius: 10px;
  color: var(--foreground-subtle);
  font-size: 0.85rem;
  border: 1px solid transparent;
}

.rail-step::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}

.rail-step.completed {
  color: var(--status-success);
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.1);
}

.rail-step.completed::before {
  background: var(--status-success);
}

.rail-step.active {
  color: var(--foreground);
  border-color: var(--border-accent);
  background: rgba(94, 106, 210, 0.18);
}

.rail-step.active::before {
  background: var(--accent-bright);
}

.invest-main {
  min-width: 0;
}

.invest-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.signal-panel h3 {
  font-size: var(--fs-h3);
}

.tabbed-panel {
  display: grid;
  gap: 10px;
}

.panel-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 8px;
}

.panel-tab {
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--foreground-subtle);
  font: inherit;
  font-size: 0.78rem;
  padding: 6px 10px;
  transition:
    border-color var(--dur-fast) var(--ease-expo-out),
    background-color var(--dur-fast) var(--ease-expo-out),
    color var(--dur-fast) var(--ease-expo-out);
}

.panel-tab:hover {
  border-color: var(--border-hover);
  color: var(--foreground);
}

.panel-tab.active {
  border-color: var(--border-accent);
  background: rgba(94, 106, 210, 0.24);
  color: var(--foreground);
}

.panel-tab:focus-visible {
  outline: none;
  border-color: var(--border-accent);
  box-shadow:
    0 0 0 1px rgba(94, 106, 210, 0.44),
    0 0 0 4px rgba(94, 106, 210, 0.22);
}

.panel-section {
  display: none;
}

.panel-section.active {
  display: block;
}

.graph-detail-panel {
  gap: 10px;
}

.detail-title {
  margin: 0;
  font-size: 0.96rem;
  color: var(--foreground);
  letter-spacing: -0.01em;
  line-height: var(--lh-tight);
}

.detail-summary {
  margin: 0;
  color: var(--text-2);
  line-height: var(--lh-body);
  font-size: var(--fs-body);
}

.detail-grid {
  display: grid;
  gap: 8px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  border-top: 1px solid var(--border-default);
  padding-top: 8px;
}

.detail-row span {
  color: var(--foreground-subtle);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.detail-row strong {
  color: var(--foreground);
  font-size: 0.9rem;
  text-align: right;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.entry-stream {
  min-height: clamp(18rem, 35vh, 26rem);
  max-height: clamp(22rem, 45vh, 34rem);
  overflow: auto;
  padding-right: 4px;
}

.entry {
  padding: 12px;
}

.entry h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: var(--lh-tight);
  display: flex;
  justify-content: space-between;
}

.entry h4 span {
  color: var(--foreground-muted);
  font-size: 12px;
}

.entry-meta {
  color: var(--foreground-subtle);
  font-size: 12px;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.entry p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.code {
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 8px;
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.rightpanel {
  padding: 14px;
  display: grid;
  gap: 10px;
  border-left-color: var(--border-default);
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100vh;
  overflow: auto;
}

.app-shell:not(.show-rightpanel) .rightpanel {
  display: none;
}

.app-shell.focus-mode {
  grid-template-columns: 1fr;
}

.app-shell.focus-mode .sidebar,
.app-shell.focus-mode .rightpanel,
.app-shell.focus-mode .view-tabs {
  display: none;
}

.app-shell.focus-mode .topbar {
  justify-content: flex-end;
  padding: 8px 12px;
}

.app-shell.focus-mode .search,
.app-shell.focus-mode .top-controls > *:not(#focus-mode-toggle) {
  display: none;
}

.app-shell.focus-mode .top-controls {
  width: 100%;
  justify-content: flex-end;
}

.focus-eligible #focus-mode-toggle {
  display: inline-flex;
}

.inline-toast {
  margin: 8px 18px 0;
  border-color: rgba(251, 113, 133, 0.55);
  background: rgba(127, 29, 29, 0.35);
  color: #fecdd3;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
}

.success-toast {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(6, 78, 59, 0.35);
  color: #a7f3d0;
}

.inline-toast.error-toast {
  border-color: rgba(251, 113, 133, 0.55);
  background: rgba(127, 29, 29, 0.35);
  color: #fecdd3;
}

.empty-state {
  min-height: 420px;
  border-style: dashed;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: var(--foreground-muted);
}

.empty-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  display: grid;
  place-items: center;
}

.organizing-state {
  padding: 16px;
  margin-bottom: 12px;
}

.organizing-state p {
  margin: 0 0 12px;
  color: var(--text-2);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
}

.skeleton-card {
  height: 120px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: linear-gradient(90deg, #111217 0%, #1b1e29 50%, #111217 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.graph-empty {
  min-height: 460px;
  border-style: dashed;
  display: grid;
  place-items: center;
  text-align: center;
  margin-bottom: 12px;
  color: var(--foreground-muted);
}

.graph-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--text-2);
}

.graph-empty p {
  margin: 0;
  font-size: 12px;
}

.session-focus-title {
  font-size: 1.16rem !important;
  font-weight: 600;
}

.panel-block .block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-block h3 {
  margin: 0 0 10px;
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}

.panel-block span {
  color: var(--foreground-muted);
  font-size: 13px;
}

.panel-block b {
  color: #fda4af;
  float: right;
}

.block-btn {
  margin-top: 8px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

@keyframes pulse-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.03);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes graph-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -240;
  }
}

@media (max-width: 1200px) {
  .app-shell,
  .app-shell.show-rightpanel {
    grid-template-columns: minmax(10.5rem, 13rem) minmax(0, 1fr);
  }

  .session-grid,
  .workspace-grid,
  .organized-grid,
  .workflow-summary,
  .timeline-row,
  .intake-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invest-layout {
    grid-template-columns: 1fr;
  }

  .invest-rail {
    order: -1;
  }

  .rail-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .graph-layout {
    grid-template-columns: 1fr;
  }

  .workspace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, auto);
  }

  .bento-grid .hero,
  .bento-grid .wide,
  .bento-grid .medium {
    grid-column: span 1;
    grid-row: span 1;
  }

  .dashboard-controls {
    align-items: flex-start;
  }

  .overview-card {
    min-height: 14.5rem;
  }
}

@media (max-width: 980px) {
  .app-shell,
  .app-shell.show-rightpanel {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .rightpanel {
    border-inline: 0;
  }

  .rightpanel {
    border-top: 1px solid var(--border-default);
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
  }

  .view-tabs {
    padding: 10px 12px;
  }

  main {
    padding: 12px;
  }

  .quick-capture-bar {
    margin: 8px 12px 0;
    grid-template-columns: 1fr;
  }

  .head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .session-grid,
  .workspace-grid,
  .organized-grid,
  .workflow-summary,
  .timeline-row,
  .skeleton-grid,
  .intake-grid,
  .investigation-entry-grid {
    grid-template-columns: 1fr;
  }

  .filter-group {
    align-items: flex-start;
  }

  .overview-meta {
    white-space: normal;
  }

  .bento-meta {
    white-space: normal;
  }

  .panel-meta {
    white-space: normal;
  }

  .rail-list {
    grid-template-columns: 1fr 1fr;
  }

  .ambient-background .blob-1,
  .ambient-background .blob-2,
  .ambient-background .blob-3,
  .ambient-background .blob-4 {
    filter: blur(90px);
  }

  .graph-canvas {
    min-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
