@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-0: #0b0c10;
  --bg-1: #111216;
  --bg-2: #17191f;
  --bg-3: #1f2229;
  --surface-1: #15171d;
  --surface-2: #1a1d24;
  --surface-3: #232732;
  --text-1: #e2e2ea;
  --text-2: #9aa0ae;
  --text-3: #6f7686;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --mint: #00ffa3;
  --mint-dim: rgba(0, 255, 163, 0.16);
  --orange: #ff8c5a;
  --orange-dim: rgba(255, 140, 90, 0.14);
  --purple: #9d7bff;
  --purple-dim: rgba(157, 123, 255, 0.14);
  --danger: #ff4b5f;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.35);
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max: 1240px;
  --top-nav-h: 68px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(circle at 12% 8%, rgba(0, 255, 163, 0.08), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(157, 123, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #090a0f 0%, #0b0c10 50%, #090a0f 100%);
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.24;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 163, 0.05), transparent 35%, rgba(157, 123, 255, 0.04));
  opacity: 0.45;
  pointer-events: none;
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

p {
  margin: 0;
}

strong {
  color: #f1f1f6;
}

.container {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-wrap {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
  padding-block: 32px 56px;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--top-nav-h);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  background: linear-gradient(90deg, rgba(8, 10, 14, 0.92), rgba(8, 10, 14, 0.78));
}

.nav-inner {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-main {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-1);
}

.nav-link.active {
  border-bottom-color: var(--mint);
}

.nav-stats {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stat-pill b {
  font-weight: 700;
}

.stat-pill.streak b {
  color: var(--orange);
}

.stat-pill.xp b {
  color: var(--mint);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--line-strong);
}

.app-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - var(--top-nav-h));
}

.side-panel {
  border-right: 1px solid var(--line);
  padding: 22px 16px 32px;
  background: rgba(11, 12, 16, 0.82);
}

.side-group {
  margin-bottom: 20px;
}

.side-label {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  color: var(--text-3);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-link:hover,
.side-link.active {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
}

.content-panel {
  padding: 24px 30px 44px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius-sm);
  padding: 16px;
}

.mono,
.label,
.terminal,
code,
pre {
  font-family: var(--font-mono);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.score {
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
  box-shadow: var(--shadow-soft);
}

.card.pad {
  padding: 18px;
}

.card.tight {
  padding: 14px;
}

.card.warning {
  border-color: rgba(255, 140, 90, 0.4);
  background: linear-gradient(180deg, rgba(255, 140, 90, 0.09), rgba(255, 140, 90, 0.02));
}

.card.mint {
  border-color: rgba(0, 255, 163, 0.4);
  background: linear-gradient(180deg, rgba(0, 255, 163, 0.08), rgba(0, 255, 163, 0.02));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  padding: 13px 18px;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--mint);
  color: #06110e;
  box-shadow: 0 10px 28px rgba(0, 255, 163, 0.22);
}

.btn-primary:hover {
  background: #2fffb8;
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--text-2);
}

.btn-text {
  background: transparent;
  color: var(--text-2);
  padding: 10px 2px;
}

.btn-text:hover {
  color: var(--text-1);
}

.btn-text::after {
  content: '_';
  opacity: 0.35;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.input-label {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.input,
.textarea,
.select {
  appearance: none;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.35;
  padding: 10px 0 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: #4f5665;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-bottom-color: var(--mint);
  box-shadow: 0 1px 0 var(--mint);
}

.textarea {
  min-height: 84px;
  resize: vertical;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-2);
}

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

.progress > span {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.75s ease;
}

.progress.mint > span {
  background: var(--mint);
}

.progress.orange > span {
  background: var(--orange);
}

.progress.purple > span {
  background: var(--purple);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding-top: 34px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 5.2rem);
  max-width: 760px;
}

.hero-sub {
  margin-top: 16px;
  color: var(--text-2);
  max-width: 620px;
  font-size: 1.05rem;
}

.source-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.source-card a {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.quote {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #d7d8e1;
}

.metric-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #07080c;
  padding: 14px;
  font-size: 0.68rem;
  color: #9ee8c7;
  max-height: 230px;
  overflow: auto;
}

.terminal .muted {
  color: #6f8a7d;
}

.terminal .warn {
  color: #ffc39f;
}

.terminal .danger {
  color: #ff8e9a;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.25rem, 2.3vw, 2rem);
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-plain li {
  margin: 0;
}

.table-lite {
  width: 100%;
  border-collapse: collapse;
}

.table-lite th,
.table-lite td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  font-size: 0.86rem;
}

.table-lite th {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--text-3);
  letter-spacing: 0.1em;
}

.auth-wrap {
  min-height: calc(100vh - var(--top-nav-h));
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-card {
  width: min(560px, 100%);
  padding: 28px;
}

.auth-provider {
  width: 100%;
  margin-bottom: 10px;
}

.chat-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: calc(100vh - var(--top-nav-h));
}

.chat-sidebar {
  border-right: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(10, 11, 15, 0.85);
}

.chat-main {
  display: grid;
  grid-template-rows: 1fr auto;
}

.messages {
  padding: 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg {
  max-width: min(760px, 90%);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
}

.msg.user {
  margin-left: auto;
  background: rgba(0, 255, 163, 0.07);
  border-color: rgba(0, 255, 163, 0.34);
}

.msg p + p {
  margin-top: 10px;
}

.chat-input-wrap {
  padding: 12px 20px 22px;
  border-top: 1px solid var(--line);
  background: rgba(10, 11, 15, 0.86);
}

.chat-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.footer-status {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.badge {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
}

.badge .glyph {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-item {
  border-left: 2px solid var(--line-strong);
  padding-left: 12px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.switch {
  width: 38px;
  height: 22px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line);
}

.switch::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  background: #cdd0db;
  transition: transform 0.2s ease, background 0.2s ease;
}

.switch.on {
  background: var(--mint-dim);
  border-color: rgba(0, 255, 163, 0.4);
}

.switch.on::after {
  transform: translateX(16px);
  background: var(--mint);
}

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  background: rgba(255, 140, 90, 0.07);
  padding: 10px 12px;
  font-size: 0.88rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 100;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(9, 10, 13, 0.95);
  padding: 14px;
  display: none;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fade-in {
  animation: fadeIn 0.45s ease both;
}

.reveal-up {
  animation: revealUp 0.5s ease both;
}

.pulse {
  animation: pulse 1.7s ease infinite;
}

.hidden {
  display: none !important;
}

.center {
  text-align: center;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-28 {
  margin-top: 28px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-24 {
  margin-bottom: 24px;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.wrap {
  flex-wrap: wrap;
}

.w-full {
  width: 100%;
}

.text-2 {
  color: var(--text-2);
}

.text-3 {
  color: var(--text-3);
}

.text-mint {
  color: var(--mint);
}

.text-orange {
  color: var(--orange);
}

.text-purple {
  color: var(--purple);
}

.err {
  color: #ff9aa5;
  font-size: 0.86rem;
}

.success {
  color: #8df0c7;
  font-size: 0.86rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .app-layout,
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .side-panel,
  .chat-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .content-panel {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .container,
  .main-wrap,
  .nav-inner {
    width: min(var(--max), 100% - 28px);
  }

  .nav-links {
    display: none;
  }

  .nav-stats {
    gap: 6px;
  }

  .stat-pill {
    padding: 5px 9px;
    font-size: 0.62rem;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .score {
    font-size: clamp(2rem, 16vw, 3.8rem);
  }

  .auth-card {
    padding: 20px;
  }

  .cookie-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Workspace UI */

.top-nav {
  background: rgba(11, 13, 18, 0.92);
  border-bottom-color: rgba(0, 255, 163, 0.08);
}

.nav-inner {
  width: min(1360px, 100% - 34px);
}

.cyber-brand .brand-main {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon-btn,
.profile-chip {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-1);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.nav-icon-btn:hover,
.nav-icon-btn.active,
.profile-chip:hover {
  border-color: rgba(0, 255, 163, 0.3);
  background: rgba(0, 255, 163, 0.08);
  transform: translateY(-1px);
}

.nav-icon-btn svg,
.lmw-inline-action svg,
.lmw-primary-btn svg,
.lmw-outline-btn svg,
.lmw-send-btn svg,
.lmw-row-icon svg,
.lmw-corner-icon svg,
.lmw-silver-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-chip {
  width: 38px;
  height: 38px;
  padding: 0;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 255, 163, 0.24), rgba(157, 123, 255, 0.24));
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-panel {
  background: linear-gradient(180deg, rgba(12, 17, 17, 0.94), rgba(12, 13, 18, 0.96));
  padding: 18px 12px 22px;
}

.side-stack {
  min-height: calc(100vh - var(--top-nav-h) - 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.suite-mark {
  padding: 10px 10px 18px;
  border-bottom: 1px solid rgba(0, 255, 163, 0.08);
  margin-bottom: 16px;
}

.suite-title,
.suite-subtitle,
.side-link,
.side-footer-link,
.vault-health-badge {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.suite-title {
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.suite-subtitle {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

.side-links {
  display: grid;
  gap: 6px;
}

.side-link-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  color: inherit;
}

.side-link-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-link {
  min-height: 40px;
}

.side-link.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.05);
}

.vault-health-card {
  display: block;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 163, 0.16);
  background: linear-gradient(180deg, rgba(0, 255, 163, 0.09), rgba(0, 255, 163, 0.03));
  margin-top: 18px;
}

.vault-health-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-2);
  font-size: 0.72rem;
}

.vault-health-badge {
  font-size: 0.56rem;
  color: var(--mint);
  letter-spacing: 0.16em;
}

.side-footer {
  display: grid;
  gap: 14px;
}

.side-footer-links {
  display: grid;
  gap: 6px;
}

.side-footer-link {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-2);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  cursor: pointer;
}

.side-footer-link:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

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

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0cff9c, #00e8ff);
}

.content-panel {
  padding: 18px 18px 26px;
}

.lmw-main {
  min-height: calc(100vh - var(--top-nav-h) - 38px);
}

.lmw-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 6px 0 10px;
}

.lmw-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.lmw-eyebrow,
.lmw-section-head h2,
.lmw-panel-label,
.lmw-panel-title,
.lmw-chat-card-head span,
.lmw-side-title,
.lmw-preview-sub,
.lmw-notes-label,
.lmw-launch-verdict,
.lmw-integrity span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.lmw-eyebrow {
  color: var(--mint);
  margin-bottom: 10px;
}

.lmw-page-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.lmw-page-subtitle {
  margin-top: 10px;
  color: var(--text-2);
  max-width: 680px;
  font-size: 1rem;
}

.lmw-header-aside {
  display: flex;
  justify-content: flex-end;
}

.lmw-integrity {
  display: grid;
  gap: 4px;
  text-align: right;
}

.lmw-integrity span {
  color: var(--mint);
}

.lmw-integrity strong {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.lmw-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(23, 24, 31, 0.96), rgba(18, 19, 24, 0.98));
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.lmw-panel-title {
  color: var(--text-3);
  margin-bottom: 14px;
}

.lmw-stack {
  display: grid;
  gap: 18px;
}

.lmw-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lmw-section-head h2 {
  color: #f0f1f5;
  font-size: 0.68rem;
}

.lmw-primary-btn,
.lmw-outline-btn,
.lmw-secondary-btn,
.lmw-inline-action,
.lmw-filter-btn,
.lmw-ghost-chip,
.lmw-history-item,
.lmw-source-switch,
.lmw-send-btn {
  font: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.lmw-primary-btn,
.lmw-outline-btn,
.lmw-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.lmw-primary-btn {
  background: linear-gradient(90deg, #00ff8e, #00f2a9);
  color: #03110b;
  font-weight: 700;
}

.lmw-primary-btn.small,
.lmw-outline-btn.small {
  min-height: 38px;
  padding-inline: 14px;
}

.lmw-primary-btn.wide,
.lmw-outline-btn.wide {
  width: 100%;
}

.lmw-outline-btn,
.lmw-secondary-btn,
.lmw-inline-action,
.lmw-filter-btn,
.lmw-ghost-chip,
.lmw-history-item,
.lmw-source-switch {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
  border-color: rgba(255, 255, 255, 0.07);
}

.lmw-primary-btn:hover,
.lmw-outline-btn:hover,
.lmw-secondary-btn:hover,
.lmw-inline-action:hover,
.lmw-filter-btn:hover,
.lmw-ghost-chip:hover,
.lmw-history-item:hover,
.lmw-source-switch:hover,
.lmw-send-btn:hover {
  transform: translateY(-1px);
}

.lmw-outline-btn:hover,
.lmw-secondary-btn:hover,
.lmw-inline-action:hover,
.lmw-filter-btn:hover,
.lmw-ghost-chip:hover,
.lmw-history-item:hover,
.lmw-source-switch:hover {
  border-color: rgba(0, 255, 163, 0.18);
  color: var(--text-1);
}

.lmw-mini-pill,
.lmw-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lmw-mini-pill {
  margin-left: 8px;
  background: rgba(0, 255, 163, 0.16);
  color: var(--mint);
  vertical-align: middle;
}

.lmw-chip.tone-mint {
  background: rgba(0, 255, 163, 0.14);
  color: var(--mint);
}

.lmw-chip.tone-violet {
  background: rgba(157, 123, 255, 0.16);
  color: #c7b4ff;
}

.lmw-chip.tone-amber {
  background: rgba(255, 140, 90, 0.16);
  color: #ffb08b;
}

.lmw-chip.tone-slate {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-3);
}

.lmw-line-meter {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lmw-line-meter span {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9b9ff, #f7f0ff);
}

.lmw-summary-grid,
.lmw-vault-grid,
.lmw-pulse-grid,
.lmw-source-grid,
.lmw-founder-grid,
.lmw-slide-grid,
.lmw-scan-hero,
.lmw-scan-layout,
.lmw-chat-layout,
.lmw-pitch-layout,
.lmw-roast-grid,
.lmw-dashboard-grid,
.lmw-compare-grid {
  display: grid;
  gap: 18px;
}

.lmw-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lmw-dashboard-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 0.9fr);
  align-items: start;
}

.lmw-panel-label {
  color: var(--text-3);
  margin-bottom: 16px;
}

.lmw-stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.lmw-stat-value span {
  margin-left: 8px;
  font-size: 1rem;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: 0;
}

.lmw-stat-value.mint {
  color: var(--mint);
}

.lmw-stat-value.violet {
  color: #9e45ff;
}

.lmw-micro-copy {
  margin-top: 8px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.lmw-corner-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  opacity: 0.18;
  color: #fff;
}

.lmw-timer-row,
.lmw-usage-row,
.lmw-usage-head,
.lmw-pulse-top,
.lmw-card-meta,
.lmw-field-row,
.lmw-card-top,
.lmw-card-top h3,
.lmw-verdict-head,
.lmw-score-top,
.lmw-grade-line,
.lmw-chat-plan,
.lmw-chat-card-head,
.lmw-compare-title,
.lmw-metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lmw-timer-row {
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 0.9rem;
}

.lmw-mission-grid,
.lmw-compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lmw-mission-card {
  display: grid;
  gap: 14px;
}

.lmw-mission-card p,
.lmw-vault-card p,
.lmw-chat-body,
.lmw-shock-card p,
.lmw-action-card p,
.lmw-market-note p,
.lmw-side-note,
.lmw-silver-card p,
.lmw-verdict-card p {
  color: var(--text-2);
}

.lmw-mission-card.done {
  border-color: rgba(0, 255, 163, 0.2);
  background: linear-gradient(180deg, rgba(0, 255, 163, 0.06), rgba(16, 17, 22, 0.96));
}

.lmw-secondary-btn {
  min-height: 38px;
  border-radius: 11px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lmw-secondary-btn.is-complete {
  background: rgba(0, 255, 163, 0.14);
  border-color: rgba(0, 255, 163, 0.16);
  color: var(--mint);
}

.lmw-row-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.lmw-row-card:hover {
  border-color: rgba(0, 255, 163, 0.16);
}

.lmw-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lmw-row-main span,
.lmw-row-score span,
.lmw-card-meta span,
.lmw-next-unlock span,
.lmw-market-note strong,
.lmw-field-row label,
.lmw-verdict-head span,
.lmw-preview-meta span,
.lmw-founder-card span,
.lmw-source-card span {
  color: var(--text-3);
  font-size: 0.72rem;
}

.lmw-row-score {
  display: grid;
  justify-items: end;
  gap: 2px;
}

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

.lmw-mini-bars,
.lmw-market-bars {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 58px;
}

.lmw-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.12);
}

.lmw-bar-mint {
  background: linear-gradient(180deg, rgba(0, 255, 163, 0.24), rgba(0, 255, 163, 0.92));
}

.lmw-bar-amber {
  background: linear-gradient(180deg, rgba(255, 140, 90, 0.2), rgba(255, 140, 90, 0.86));
}

.lmw-side-note {
  margin: 16px 0 10px;
  font-size: 0.85rem;
  line-height: 1.55;
}

.lmw-inline-link {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--mint);
  letter-spacing: 0.12em;
}

.lmw-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lmw-badge-node {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.lmw-badge-node.earned {
  color: var(--mint);
  border-color: rgba(0, 255, 163, 0.2);
  background: radial-gradient(circle at 50% 30%, rgba(0, 255, 163, 0.22), rgba(0, 255, 163, 0.06));
}

.lmw-next-unlock {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.lmw-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.lmw-filter-btn,
.lmw-ghost-chip,
.lmw-history-item {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lmw-filter-btn.active,
.lmw-filter-btn.compare,
.lmw-history-item.active {
  color: var(--mint);
  border-color: rgba(0, 255, 163, 0.18);
  background: rgba(0, 255, 163, 0.08);
}

.lmw-vault-grid,
.lmw-source-grid,
.lmw-founder-grid,
.lmw-slide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lmw-grade-box {
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
}

.lmw-grade-box.mint,
.lmw-dot.mint {
  background: rgba(0, 255, 163, 0.12);
  color: var(--mint);
}

.lmw-grade-box.violet,
.lmw-dot.violet {
  background: rgba(157, 123, 255, 0.14);
  color: #c7b4ff;
}

.lmw-grade-box.amber,
.lmw-dot.amber {
  background: rgba(255, 140, 90, 0.14);
  color: #ffb08b;
}

.lmw-grade-box.slate,
.lmw-dot.slate {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
}

.lmw-card-top {
  align-items: start;
  margin-bottom: 10px;
}

.lmw-card-top h3,
.lmw-slide-card strong,
.lmw-preview-screen h3,
.lmw-verdict-card h3,
.lmw-silver-card h3,
.lmw-source-card p {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.lmw-card-top p {
  margin-top: 10px;
}

.lmw-card-meta {
  margin-bottom: 14px;
}

.lmw-field-row {
  margin: 12px 0 10px;
}

.lmw-field-row select,
.lmw-idea-input,
.lmw-roast-form input,
.lmw-roast-form textarea,
.lmw-chat-composer textarea,
.lmw-vault-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 12, 0.72);
  color: var(--text-1);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  font: inherit;
}

.lmw-vault-card textarea,
.lmw-roast-form textarea {
  min-height: 108px;
  resize: vertical;
}

.lmw-notes-label {
  color: var(--text-3);
  margin-bottom: 10px;
  display: block;
}

.lmw-vault-actions,
.lmw-scan-actions,
.lmw-silver-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lmw-inline-action.tone-mint {
  color: var(--mint);
}

.lmw-inline-action.tone-violet {
  color: #c7b4ff;
}

.lmw-inline-action.tone-amber {
  color: #ffb08b;
}

.lmw-inline-action.tone-slate {
  color: var(--text-2);
}

.lmw-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.lmw-compare-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lmw-compare-metrics div {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  display: grid;
  gap: 6px;
}

.lmw-chat-layout {
  grid-template-columns: 290px minmax(0, 1fr);
}

.lmw-chat-side,
.lmw-chat-main {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(19, 20, 26, 0.98), rgba(16, 17, 22, 0.98));
}

.lmw-chat-side {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.lmw-side-block {
  display: grid;
  gap: 12px;
}

.lmw-side-title {
  color: var(--text-3);
}

.lmw-chat-history,
.lmw-source-switches {
  display: grid;
  gap: 10px;
}

.lmw-source-switch {
  min-height: 40px;
  border-radius: 12px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
}

.lmw-switch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
}

.lmw-source-switch.on {
  color: var(--text-1);
}

.lmw-source-switch.on .lmw-switch-dot {
  background: var(--mint);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(0, 255, 163, 0.12);
}

.lmw-chat-main {
  padding: 24px 24px 18px;
  display: grid;
  gap: 18px;
}

.lmw-prompt-banner {
  max-width: 540px;
  margin-left: auto;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 163, 0.16);
  background: rgba(0, 255, 163, 0.08);
  font-size: 1.1rem;
  line-height: 1.5;
}

.lmw-chat-feed {
  display: grid;
  gap: 14px;
}

.lmw-chat-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 20px 22px;
}

.lmw-chat-card.assistant {
  background: linear-gradient(180deg, rgba(20, 22, 28, 0.98), rgba(17, 18, 24, 0.98));
}

.lmw-chat-card.user {
  background: rgba(255, 255, 255, 0.03);
}

.lmw-chat-card.pending {
  border-style: dashed;
}

.lmw-chat-card-head {
  margin-bottom: 14px;
}

.lmw-chat-card-head span {
  color: var(--mint);
}

.lmw-chat-card-head strong {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  letter-spacing: 0.12em;
}

.lmw-source-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.lmw-source-pill {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
}

.lmw-chat-footer {
  display: grid;
  gap: 12px;
}

.lmw-chat-plan {
  min-height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0 14px;
}

.lmw-chat-plan a {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.lmw-chat-composer {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.lmw-chat-composer textarea {
  min-height: 54px;
  resize: none;
  background: transparent;
  border: none;
  padding: 6px 8px;
}

.lmw-send-btn {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 255, 163, 0.16);
  color: var(--mint);
  border-color: rgba(0, 255, 163, 0.12);
}

.lmw-roast-grid,
.lmw-pitch-layout,
.lmw-scan-layout {
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
}

.lmw-roast-form,
.lmw-preview-card,
.lmw-action-card {
  display: grid;
  gap: 12px;
}

.lmw-roast-form label {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.lmw-roast-btn {
  min-height: 46px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff9e74, #ff6b2e);
  color: #2a0900;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.lmw-warning-note {
  border-color: rgba(255, 140, 90, 0.16);
  background: rgba(255, 140, 90, 0.08);
}

.lmw-warning-note strong {
  color: #ffbc9e;
}

.lmw-verdict-card {
  border-left: 2px solid rgba(255, 157, 129, 0.88);
}

.lmw-verdict-head span {
  color: #ffbc9e;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lmw-silver-card {
  border-color: rgba(0, 255, 163, 0.16);
  background: linear-gradient(180deg, rgba(0, 255, 163, 0.08), rgba(16, 17, 22, 0.98));
}

.lmw-silver-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.lmw-silver-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 255, 163, 0.14);
  color: var(--mint);
}

.lmw-emoji-fire {
  color: #ff7f3d;
  font-size: 0.9em;
}

.lmw-pitch-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lmw-idea-input {
  max-width: 320px;
}

.lmw-slide-card {
  width: 100%;
  min-height: 180px;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
  display: grid;
  align-content: start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
}

.lmw-slide-card span {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.lmw-slide-card p {
  color: var(--text-2);
  line-height: 1.55;
}

.lmw-slide-card.active {
  border-color: rgba(0, 255, 163, 0.16);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 163, 0.16);
}

.lmw-preview-card {
  min-height: 520px;
}

.lmw-preview-canvas {
  min-height: 260px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at 10% 20%, rgba(0, 255, 163, 0.07), transparent 36%),
    rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  padding: 18px;
}

.lmw-preview-screen {
  width: min(100%, 280px);
  min-height: 180px;
  border-radius: 18px;
  padding: 18px;
  background: rgba(17, 18, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 10px;
}

.lmw-preview-screen span {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lmw-preview-screen p,
.lmw-preview-empty {
  color: var(--text-2);
}

.lmw-preview-meta {
  display: grid;
  gap: 12px;
}

.lmw-preview-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.lmw-scan-hero {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.72fr);
  margin-bottom: 18px;
}

.lmw-shock-card {
  border-color: rgba(255, 157, 129, 0.18);
  background: linear-gradient(180deg, rgba(255, 140, 90, 0.1), rgba(16, 17, 22, 0.98));
}

.lmw-score-card.mint .lmw-score-top strong {
  color: var(--mint);
}

.lmw-score-card.amber .lmw-score-top strong {
  color: #ffb08b;
}

.lmw-score-card.rose .lmw-score-top strong {
  color: #ff8b97;
}

.lmw-score-top strong {
  font-size: 3rem;
  letter-spacing: -0.06em;
}

.lmw-grade-line {
  margin: 14px 0 12px;
  color: var(--text-2);
}

.lmw-metric-stack {
  display: grid;
  gap: 12px;
}

.lmw-metric-row {
  display: grid;
  gap: 8px;
}

.lmw-source-card,
.lmw-founder-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.lmw-founder-card {
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
}

.lmw-founder-avatar {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: #fff;
}

.lmw-founder-avatar.avatar-1 {
  background: linear-gradient(135deg, #1ec8ff, #0f5cff);
}

.lmw-founder-avatar.avatar-2 {
  background: linear-gradient(135deg, #25ffba, #128967);
}

.lmw-founder-avatar.avatar-3 {
  background: linear-gradient(135deg, #8f5dff, #5427bf);
}

.lmw-founder-avatar.avatar-4 {
  background: linear-gradient(135deg, #ff8a5c, #b33c11);
}

.lmw-table-wrap {
  overflow: auto;
}

.lmw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.lmw-table th,
.lmw-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
}

.lmw-table th {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lmw-market-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: end;
}

.lmw-market-note {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.lmw-verdict-panel {
  border-color: rgba(0, 255, 163, 0.16);
}

.lmw-launch-verdict {
  color: #f4f4f8;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lmw-save-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.lmw-empty-card,
.lmw-loading-card {
  color: var(--text-2);
  line-height: 1.7;
}

.lmw-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.lmw-loader-line {
  width: 180px;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(0, 255, 163, 0), rgba(0, 255, 163, 1), rgba(0, 255, 163, 0));
  animation: lmwPulse 1.2s linear infinite;
}

@keyframes lmwPulse {
  from {
    transform: translateX(-30px);
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }

  to {
    transform: translateX(30px);
    opacity: 0.2;
  }
}

@media (max-width: 1220px) {
  .lmw-page {
    width: min(100%, 1120px);
  }

  .lmw-pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lmw-market-signal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1020px) {
  .lmw-summary-grid,
  .lmw-dashboard-grid,
  .lmw-vault-grid,
  .lmw-chat-layout,
  .lmw-roast-grid,
  .lmw-pitch-layout,
  .lmw-scan-hero,
  .lmw-scan-layout {
    grid-template-columns: 1fr;
  }

  .lmw-mission-grid,
  .lmw-source-grid,
  .lmw-founder-grid,
  .lmw-slide-grid,
  .lmw-compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    width: min(100%, calc(100% - 24px));
  }

  .content-panel {
    padding: 14px;
  }

  .lmw-page-title {
    font-size: 2.2rem;
  }

  .lmw-page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .lmw-header-aside {
    width: 100%;
    justify-content: flex-start;
  }

  .lmw-pitch-toolbar,
  .lmw-chat-plan,
  .lmw-vault-actions,
  .lmw-scan-actions,
  .lmw-silver-actions,
  .lmw-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lmw-chat-composer {
    grid-template-columns: 1fr;
  }
}
