:root {
  color-scheme: dark;
  --void: #050608;
  --black: #07090d;
  --panel: #0b0e14;
  --panel-raised: #10141c;
  --panel-hover: #151a24;
  --line-subtle: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --text-soft: #c5cbd7;
  --text-muted: #858e9f;
  --text-faint: #5b6372;
  --blue: #628bff;
  --violet: #936bff;
  --cyan: #42d5e8;
  --success: #45d99a;
  --warning: #f3c969;
  --danger: #ff6678;
  --info: #6ca4ff;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --shadow-lg: 0 28px 100px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 18px 60px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --header-height: 74px;
  --sidebar-width: 258px;
  --sidebar-mini: 76px;
}

* { box-sizing: border-box; }

html {
  background: var(--void);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.app-open { overflow: hidden; }

button,
input,
select,
textarea { font: inherit; }

button { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

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

img,
svg { display: block; max-width: 100%; }

::selection { background: rgba(98, 139, 255, .32); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #07090d; }
::-webkit-scrollbar-thumb { background: #2a303c; border: 2px solid #07090d; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #3b4352; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--text);
  background: var(--panel-raised);
  border: 1px solid var(--line-strong);
  transition: transform .18s ease;
}

.skip-link:focus { transform: translateY(0); }

#noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

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

.container-narrow {
  width: min(970px, calc(100% - 48px));
  margin-inline: auto;
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-info { color: var(--info); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b8c1d2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .145em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(98, 139, 255, .9);
  content: "";
}

.section-title {
  max-width: 880px;
  margin: 22px 0 20px;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 560;
  letter-spacing: -.062em;
  line-height: .99;
}

.section-copy {
  max-width: 690px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #f5f7fb 0%, #bac7f4 33%, #8d9eea 60%, #8de3e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  transition: transform .18s var(--ease), border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }

.btn-primary {
  color: #050608;
  background: #f5f7fb;
  border-color: #f5f7fb;
  box-shadow: 0 8px 30px rgba(255,255,255,.08);
}

.btn-primary:hover { background: #fff; box-shadow: 0 10px 36px rgba(255,255,255,.15); }

.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, #638bff, #806cf1 52%, #46c6d8);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 10px 34px rgba(98, 139, 255, .2);
}

.btn-accent:hover { box-shadow: 0 14px 42px rgba(98, 139, 255, .3); }

.btn-secondary {
  color: var(--text-soft);
  background: rgba(255,255,255,.04);
  border-color: var(--line);
}

.btn-secondary:hover { color: var(--text); background: rgba(255,255,255,.07); border-color: var(--line-strong); }

.btn-ghost {
  color: var(--text-muted);
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.045); }

.btn-danger {
  color: #ffdce2;
  background: rgba(255, 102, 120, .11);
  border-color: rgba(255, 102, 120, .24);
}

.btn-sm { min-height: 36px; padding: 0 13px; border-radius: 10px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 0 23px; border-radius: 14px; font-size: 15px; }
.btn-icon { width: 42px; min-width: 42px; padding: 0; }
.btn-icon.btn-sm { width: 36px; min-width: 36px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255,255,255,.025);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill-dot::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  content: "";
}

.pill-success { color: var(--success); border-color: rgba(69,217,154,.22); background: rgba(69,217,154,.06); }
.pill-warning { color: var(--warning); border-color: rgba(243,201,105,.22); background: rgba(243,201,105,.06); }
.pill-danger { color: var(--danger); border-color: rgba(255,102,120,.22); background: rgba(255,102,120,.06); }
.pill-info { color: var(--info); border-color: rgba(108,164,255,.22); background: rgba(108,164,255,.06); }
.pill-neutral { color: #9da6b7; }

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(69,217,154,.75);
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.marketing-page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 4%, rgba(84, 91, 230, .13), transparent 28%),
    radial-gradient(circle at 5% 36%, rgba(66, 213, 232, .055), transparent 25%),
    var(--void);
}

.marketing-page::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.021) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.021) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 74%);
  content: "";
}

.marketing-page > * { position: relative; z-index: 1; }

.announcement-bar {
  position: relative;
  z-index: 90;
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 18px;
  border-bottom: 1px solid var(--line-subtle);
  color: var(--text-muted);
  background: rgba(5,6,8,.88);
  font-size: 12px;
  text-align: center;
}

.announcement-bar strong {
  color: #cbd3e3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.announcement-bar a { color: var(--text-soft); transition: color .18s ease; }
.announcement-bar a:hover { color: var(--text); }

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.scrolled {
  border-color: var(--line-subtle);
  background: rgba(5, 6, 8, .76);
  backdrop-filter: blur(20px) saturate(1.2);
}

.site-header-inner {
  display: grid;
  width: min(1380px, calc(100% - 36px));
  height: 100%;
  margin: 0 auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: .22em;
}

.brand-mark { width: 26px; height: 26px; }
.brand-word { transform: translateY(1px); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.site-nav a,
.site-nav button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  transition: color .18s ease, background .18s ease;
}

.site-nav a:hover,
.site-nav button:hover { color: var(--text); background: rgba(255,255,255,.035); }

.site-header-actions { display: flex; align-items: center; gap: 9px; }
.site-header-actions .system-status { margin-right: 7px; }

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mobile-menu-btn { display: none; }

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  padding: 100px 0 84px;
  overflow: hidden;
}

#hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .72;
}

.hero-glow {
  position: absolute;
  top: 3%;
  right: -18%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(93, 89, 230, .16), rgba(68, 147, 234, .055) 40%, transparent 70%);
  filter: blur(2px);
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 650px;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(500px, .98fr);
  gap: 72px;
}

.hero-copy { position: relative; z-index: 4; padding-bottom: 26px; }

.hero h1 {
  max-width: 760px;
  margin: 25px 0 27px;
  font-size: clamp(58px, 7.2vw, 111px);
  font-weight: 520;
  letter-spacing: -.075em;
  line-height: .89;
}

.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; animation: headline-in .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .09s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .18s; }

@keyframes headline-in {
  from { opacity: 0; transform: translateY(105%); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-description {
  max-width: 660px;
  margin: 0 0 36px;
  color: #9da6b7;
  font-size: clamp(18px, 1.75vw, 22px);
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 630;
  transition: gap .18s ease, color .18s ease;
}

.text-link:hover { gap: 11px; color: var(--text); }
.text-link .icon { width: 15px; height: 15px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 17px 24px;
  margin-top: 44px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { width: 4px; height: 4px; border-radius: 50%; background: #566070; content: ""; }

.hero-product-wrap {
  position: relative;
  z-index: 5;
  perspective: 1200px;
}

.hero-product {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(20,25,35,.93), rgba(8,10,15,.92) 58%, rgba(10,13,19,.96));
  box-shadow: 0 70px 140px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.05);
  transform: rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
  transition: transform .5s var(--ease);
}

.hero-product-wrap:hover .hero-product { transform: rotateY(-1deg) rotateX(.5deg) translateY(-3px); }

.hero-product::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 8%, rgba(98,139,255,.18), transparent 29%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  content: "";
}

.product-window-bar {
  position: relative;
  z-index: 2;
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid var(--line-subtle);
  background: rgba(255,255,255,.015);
}

.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #3d4350; }
.window-title { color: #767f8f; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.window-status { display: flex; align-items: center; gap: 7px; color: var(--success); font-family: var(--font-mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }

.hero-product-content { position: relative; z-index: 2; padding: 23px; }

.product-query-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.product-searchbox {
  display: grid;
  min-height: 63px;
  align-items: center;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(116, 145, 255, .26);
  border-radius: 16px;
  background: rgba(6,8,12,.82);
  box-shadow: 0 0 0 4px rgba(98,139,255,.04), 0 18px 50px rgba(0,0,0,.24);
  grid-template-columns: auto 1fr auto;
  gap: 12px;
}

.product-searchbox .search-icon { color: var(--blue); }
.product-search-text { min-width: 0; color: #dfe5f0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-search-text .typing-cursor { display: inline-block; width: 1px; height: 15px; margin-left: 2px; background: var(--blue); vertical-align: -2px; animation: blink 1s steps(2,end) infinite; }

@keyframes blink { 50% { opacity: 0; } }

.product-search-btn {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #617eff, #795ee9);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(98,139,255,.22);
}

.product-search-btn .icon { width: 17px; }

.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 11px 0 21px;
}

.source-chip {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid var(--line-subtle);
  border-radius: 999px;
  color: #737d8e;
  background: rgba(255,255,255,.018);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
}

.source-chip::before { width: 5px; height: 5px; border-radius: 50%; background: #596273; content: ""; }
.source-chip.active { color: #b9c9ff; border-color: rgba(98,139,255,.22); background: rgba(98,139,255,.065); }
.source-chip.active::before { background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.product-grid {
  display: grid;
  grid-template-columns: 1.13fr .87fr;
  gap: 12px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-subtle);
  border-radius: 16px;
  background: rgba(255,255,255,.022);
}

.product-card-header {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid var(--line-subtle);
}

.product-card-title { color: #aeb6c5; font-size: 10px; font-weight: 650; }
.product-card-meta { color: #606a7a; font-family: var(--font-mono); font-size: 8px; }

.product-graph { height: 270px; }
.product-graph svg { width: 100%; height: 100%; overflow: visible; }

.graph-line { stroke: rgba(112,132,195,.33); stroke-width: 1; }
.graph-line.inferred { stroke-dasharray: 4 5; stroke: rgba(147,107,255,.44); }
.graph-node circle,
.graph-node rect,
.graph-node polygon { transition: filter .2s ease, opacity .2s ease; }
.graph-node:hover circle,
.graph-node:hover rect,
.graph-node:hover polygon { filter: brightness(1.25) drop-shadow(0 0 8px rgba(98,139,255,.45)); }
.graph-label { fill: #929bac; font-family: var(--font-sans); font-size: 7px; }
.graph-label-main { fill: #e2e7f0; font-size: 8px; font-weight: 650; }

.product-finding-list { padding: 4px 12px 13px; }
.product-finding {
  display: grid;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-subtle);
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 9px;
}
.product-finding:last-child { border-bottom: 0; }
.finding-icon {
  display: flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(98,139,255,.17);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(98,139,255,.06);
}
.finding-icon .icon { width: 12px; height: 12px; }
.finding-copy strong { display: block; margin-bottom: 2px; color: #bfc6d3; font-size: 9px; font-weight: 620; }
.finding-copy span { display: block; color: #687283; font-size: 8px; line-height: 1.4; }
.finding-score { color: var(--success); font-family: var(--font-mono); font-size: 8px; }

.product-summary {
  display: flex;
  min-height: 105px;
  margin-top: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(98,139,255,.15);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(98,139,255,.07), rgba(147,107,255,.035));
}
.product-summary-label { margin-bottom: 7px; color: #8090be; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.product-summary p { max-width: 340px; margin: 0; color: #aeb7c9; font-size: 9px; line-height: 1.55; }
.product-risk-ring { position: relative; display: grid; width: 68px; height: 68px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--warning) 0 68%, rgba(255,255,255,.06) 68% 100%); }
.product-risk-ring::after { position: absolute; inset: 5px; border-radius: 50%; background: #0b0f16; content: ""; }
.product-risk-ring span { position: relative; z-index: 2; color: #fff0c8; font-family: var(--font-mono); font-size: 10px; font-weight: 700; }

.hero-float-card {
  position: absolute;
  z-index: 6;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(13,17,24,.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  animation: float-card 5.5s ease-in-out infinite;
}
.hero-float-card.one { top: 84px; right: -46px; }
.hero-float-card.two { left: -50px; bottom: 90px; animation-delay: -2.4s; }
.float-label { margin-bottom: 5px; color: #657082; font-family: var(--font-mono); font-size: 7px; letter-spacing: .11em; text-transform: uppercase; }
.float-value { display: flex; align-items: center; gap: 7px; color: #d4d9e4; font-size: 10px; font-weight: 650; }

@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.logo-strip {
  padding: 22px 0 78px;
  border-bottom: 1px solid var(--line-subtle);
}
.logo-strip-copy { margin-bottom: 25px; color: #5d6675; font-size: 12px; text-align: center; }
.logo-capabilities { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 11px; }
.logo-capabilities span { padding: 9px 14px; border: 1px solid var(--line-subtle); border-radius: 999px; color: #697383; background: rgba(255,255,255,.012); font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; }

.marketing-section { position: relative; padding: 150px 0; }
.marketing-section.compact { padding: 105px 0; }
.marketing-section.with-border { border-top: 1px solid var(--line-subtle); }

.section-head { margin-bottom: 72px; }
.section-head.split { display: grid; align-items: end; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.section-head.split .section-title { margin-bottom: 0; }
.section-head.split .section-copy { justify-self: end; }

.fragmentation-stage {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 50%, rgba(98,139,255,.09), transparent 27%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #07090d;
  background-size: auto, 44px 44px, 44px 44px, auto;
}

.fragmentation-stage::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5,6,8,.55), transparent 16%, transparent 84%, rgba(5,6,8,.55));
  content: "";
}

.fragment-source {
  position: absolute;
  z-index: 2;
  width: 220px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(14,17,24,.88);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
  transition: transform .7s var(--ease), border-color .4s ease, opacity .4s ease;
}
.fragment-source:nth-child(1) { top: 65px; left: 5%; transform: rotate(-3deg); }
.fragment-source:nth-child(2) { top: 88px; right: 5%; transform: rotate(2deg); }
.fragment-source:nth-child(3) { bottom: 62px; left: 9%; transform: rotate(2deg); }
.fragment-source:nth-child(4) { right: 7%; bottom: 76px; transform: rotate(-2deg); }
.fragment-source:hover { transform: translateY(-4px) rotate(0); border-color: var(--line-strong); }
.fragment-source-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.fragment-source-type { color: #7d8798; font-family: var(--font-mono); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.fragment-source-index { color: #4f5868; font-family: var(--font-mono); font-size: 8px; }
.fragment-source strong { display: block; margin-bottom: 4px; color: #c4cad6; font-size: 12px; }
.fragment-source p { margin: 0; color: #677182; font-size: 10px; line-height: 1.5; }

.fragment-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 230px;
  height: 230px;
  place-items: center;
  transform: translate(-50%,-50%);
}
.fragment-core::before,
.fragment-core::after { position: absolute; inset: 0; border: 1px solid rgba(98,139,255,.19); border-radius: 50%; content: ""; animation: core-pulse 4s ease-in-out infinite; }
.fragment-core::after { inset: 32px; border-style: dashed; border-color: rgba(147,107,255,.24); animation-direction: reverse; animation-duration: 8s; }
@keyframes core-pulse { 50% { transform: scale(1.07) rotate(8deg); opacity: .55; } }
.fragment-core-mark { display: grid; width: 92px; height: 92px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: rgba(13,17,25,.92); box-shadow: 0 0 80px rgba(98,139,255,.16); }
.fragment-core-mark img { width: 49px; height: 49px; }
.fragment-core-label { position: absolute; top: calc(50% + 67px); color: #697486; font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }

.fragment-line { position: absolute; z-index: 1; height: 1px; transform-origin: left center; background: linear-gradient(90deg, transparent, rgba(98,139,255,.45), transparent); }
.fragment-line.one { top: 187px; left: 21%; width: 32%; transform: rotate(18deg); }
.fragment-line.two { top: 183px; left: 50%; width: 31%; transform: rotate(-17deg); }
.fragment-line.three { top: 405px; left: 22%; width: 31%; transform: rotate(-18deg); }
.fragment-line.four { top: 405px; left: 50%; width: 31%; transform: rotate(17deg); }
.fragment-line::after { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); content: ""; animation: travel 3s linear infinite; }
@keyframes travel { from { left: 5%; } to { left: 94%; } }

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr);
  gap: 65px;
}

.workflow-steps { display: flex; flex-direction: column; gap: 12px; }
.workflow-step {
  position: relative;
  display: grid;
  min-height: 126px;
  padding: 23px 22px;
  border: 1px solid var(--line-subtle);
  border-radius: 17px;
  background: rgba(255,255,255,.012);
  cursor: pointer;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  transition: border-color .22s ease, background .22s ease, transform .22s var(--ease);
}
.workflow-step:hover { transform: translateX(3px); border-color: var(--line); }
.workflow-step.active { border-color: rgba(98,139,255,.24); background: linear-gradient(115deg, rgba(98,139,255,.08), rgba(255,255,255,.016)); }
.workflow-step.active::before { position: absolute; top: 18px; bottom: 18px; left: -1px; width: 2px; border-radius: 3px; background: linear-gradient(var(--blue), var(--violet)); box-shadow: 0 0 15px rgba(98,139,255,.5); content: ""; }
.workflow-number { color: #5f6877; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; }
.workflow-step.active .workflow-number { color: var(--blue); }
.workflow-step h3 { margin: -2px 0 7px; color: #d8dde7; font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.workflow-step p { margin: 0; color: #778191; font-size: 12px; line-height: 1.55; }

.workflow-screen {
  position: sticky;
  top: 110px;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #090c12;
  box-shadow: var(--shadow-lg);
}
.workflow-screen::before { position: absolute; inset: 0; background: radial-gradient(circle at 88% 12%, rgba(98,139,255,.1), transparent 30%); pointer-events: none; content: ""; }
.workflow-screen-top { display: flex; height: 50px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid var(--line-subtle); }
.workflow-screen-brand { display: flex; align-items: center; gap: 9px; color: #9da6b6; font-size: 10px; font-weight: 650; }
.workflow-screen-brand img { width: 18px; height: 18px; }
.workflow-screen-content { position: relative; padding: 22px; }
.workflow-state { display: none; animation: state-in .45s var(--ease) both; }
.workflow-state.active { display: block; }
@keyframes state-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.screen-label { margin-bottom: 9px; color: #687385; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.screen-title { margin: 0 0 20px; color: #dce1ea; font-size: 23px; font-weight: 580; letter-spacing: -.035em; }
.demo-search-row { display: flex; min-height: 54px; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border: 1px solid rgba(98,139,255,.22); border-radius: 14px; background: #080a0f; }
.demo-search-row .icon { color: var(--blue); }
.demo-search-row span { flex: 1; color: #c2c9d5; font-size: 12px; }
.demo-connectors { display: grid; margin-top: 18px; grid-template-columns: repeat(3,1fr); gap: 9px; }
.demo-connector { min-height: 88px; padding: 13px; border: 1px solid var(--line-subtle); border-radius: 13px; background: rgba(255,255,255,.018); }
.demo-connector .connector-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; color: #939cab; font-size: 9px; }
.demo-connector .connector-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.demo-connector .connector-progress { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.05); }
.demo-connector .connector-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--cyan)); animation: connector-scan 2.6s ease-in-out infinite; }
@keyframes connector-scan { 0% { width: 10%; } 60%,100% { width: 100%; } }

.correlation-list { display: grid; gap: 10px; }
.correlation-row { display: grid; min-height: 70px; align-items: center; padding: 10px 13px; border: 1px solid var(--line-subtle); border-radius: 13px; background: rgba(255,255,255,.018); grid-template-columns: 36px 1fr auto; gap: 11px; }
.correlation-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(98,139,255,.18); border-radius: 10px; color: var(--blue); background: rgba(98,139,255,.06); }
.correlation-icon .icon { width: 14px; }
.correlation-row strong { display: block; color: #bbc3d0; font-size: 10px; }
.correlation-row small { color: #626d7e; font-size: 8px; }
.correlation-score { color: var(--success); font-family: var(--font-mono); font-size: 8px; }

.assess-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.assess-panel { min-height: 162px; padding: 16px; border: 1px solid var(--line-subtle); border-radius: 14px; background: rgba(255,255,255,.018); }
.assess-panel h4 { margin: 0 0 18px; color: #aeb6c5; font-size: 10px; font-weight: 620; }
.assess-bars { display: grid; gap: 12px; }
.assess-bar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; color: #697385; font-size: 8px; }
.assess-bar-track { height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.05); }
.assess-bar-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet)); }
.assess-callout { display: flex; min-height: 94px; margin-top: 12px; align-items: center; gap: 13px; padding: 14px; border: 1px solid rgba(243,201,105,.16); border-radius: 14px; background: rgba(243,201,105,.045); }
.assess-callout .large-risk { color: var(--warning); font-family: var(--font-mono); font-size: 28px; font-weight: 650; }
.assess-callout strong { display: block; color: #d4c49d; font-size: 10px; }
.assess-callout small { color: #756e5d; font-size: 8px; }

.report-mini { overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 15px; background: #f2f3f5; color: #15171c; }
.report-mini-head { display: flex; min-height: 90px; align-items: center; justify-content: space-between; padding: 20px; background: #11141b; color: #fff; }
.report-mini-logo { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.report-mini-logo img { width: 25px; }
.report-mini-class { font-family: var(--font-mono); font-size: 7px; letter-spacing: .1em; color: #aeb6c5; }
.report-mini-body { padding: 22px; }
.report-mini-body h4 { margin: 0 0 5px; font-size: 17px; }
.report-mini-body p { margin: 0 0 16px; color: #616671; font-size: 8px; line-height: 1.6; }
.report-mini-columns { display: grid; grid-template-columns: 1.2fr .8fr; gap: 13px; }
.report-mini-block { min-height: 142px; padding: 13px; border: 1px solid #d9dce2; border-radius: 8px; }
.report-mini-block strong { display: block; margin-bottom: 9px; font-size: 8px; }
.report-mini-line { height: 5px; margin: 7px 0; border-radius: 5px; background: #d8dbe1; }
.report-mini-line:nth-child(2) { width: 90%; }
.report-mini-line:nth-child(3) { width: 76%; }
.report-mini-line:nth-child(4) { width: 83%; }
.report-mini-risk { display: grid; height: 84px; place-items: center; border-radius: 7px; background: #ece5cf; color: #8d742a; font-size: 22px; font-weight: 700; }

.platform-showcase-wrap {
  position: relative;
  padding: 1px;
  border-radius: 27px;
  background: linear-gradient(135deg, rgba(98,139,255,.28), rgba(255,255,255,.05) 35%, rgba(147,107,255,.17));
  box-shadow: 0 70px 150px rgba(0,0,0,.5);
}
.platform-showcase { min-height: 750px; overflow: hidden; border-radius: 26px; background: #07090d; }
.preview-app { display: grid; min-height: 750px; grid-template-columns: 196px 1fr; }
.preview-sidebar { padding: 17px 12px; border-right: 1px solid var(--line-subtle); background: #080a0e; }
.preview-brand { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px; color: #e4e7ed; font-size: 11px; font-weight: 720; letter-spacing: .17em; }
.preview-brand img { width: 20px; }
.preview-workspace { display: flex; align-items: center; gap: 9px; margin: 15px 4px 18px; padding: 10px; border: 1px solid var(--line-subtle); border-radius: 10px; background: rgba(255,255,255,.018); }
.preview-workspace-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: #c8d4ff; background: rgba(98,139,255,.12); font-size: 9px; font-weight: 700; }
.preview-workspace strong { display: block; color: #9ca5b5; font-size: 8px; }
.preview-workspace small { display: block; color: #515b6b; font-size: 7px; }
.preview-nav-label { margin: 15px 10px 6px; color: #444d5c; font-family: var(--font-mono); font-size: 6px; letter-spacing: .12em; text-transform: uppercase; }
.preview-nav-item { display: flex; height: 32px; align-items: center; gap: 9px; padding: 0 10px; border-radius: 8px; color: #596373; font-size: 8px; }
.preview-nav-item.active { color: #d7ddea; background: rgba(98,139,255,.08); }
.preview-nav-item .icon { width: 12px; height: 12px; }
.preview-main { min-width: 0; }
.preview-topbar { display: flex; height: 56px; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line-subtle); }
.preview-crumb { color: #8b94a3; font-size: 9px; }
.preview-top-actions { display: flex; align-items: center; gap: 8px; }
.preview-command { display: flex; min-width: 160px; height: 30px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line-subtle); border-radius: 8px; color: #525b69; font-size: 7px; }
.preview-command .shortcut { margin-left: auto; padding: 2px 5px; border: 1px solid var(--line-subtle); border-radius: 4px; font-family: var(--font-mono); font-size: 6px; }
.preview-avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #dce4ff; background: linear-gradient(135deg,#2f4d9c,#5d4b99); font-size: 8px; }
.preview-canvas { padding: 24px; }
.preview-page-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.preview-page-head h3 { margin: 0 0 5px; font-size: 22px; font-weight: 570; letter-spacing: -.04em; }
.preview-page-head p { margin: 0; color: #5c6676; font-size: 8px; }
.preview-page-actions { display: flex; gap: 7px; }
.preview-btn { display: inline-flex; height: 31px; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line-subtle); border-radius: 8px; color: #8791a0; background: rgba(255,255,255,.02); font-size: 7px; }
.preview-btn.primary { color: #08090c; background: #eff2f7; }
.preview-metrics { display: grid; margin-bottom: 13px; grid-template-columns: repeat(4,1fr); gap: 10px; }
.preview-metric { min-height: 91px; padding: 13px; border: 1px solid var(--line-subtle); border-radius: 12px; background: rgba(255,255,255,.015); }
.preview-metric-label { color: #5e6877; font-size: 7px; }
.preview-metric-value { margin: 7px 0 5px; color: #e4e8ef; font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.preview-metric-trend { color: var(--success); font-family: var(--font-mono); font-size: 6px; }
.preview-dashboard-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 11px; }
.preview-panel { border: 1px solid var(--line-subtle); border-radius: 12px; background: rgba(255,255,255,.014); }
.preview-panel-head { display: flex; height: 39px; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid var(--line-subtle); }
.preview-panel-head strong { color: #8f98a8; font-size: 8px; }
.preview-panel-head span { color: #4f5867; font-family: var(--font-mono); font-size: 6px; }
.preview-brief { min-height: 264px; padding: 16px; }
.preview-brief-label { margin-bottom: 10px; color: var(--blue); font-family: var(--font-mono); font-size: 6px; letter-spacing: .1em; }
.preview-brief h4 { max-width: 390px; margin: 0 0 10px; color: #d0d6e1; font-size: 13px; line-height: 1.35; }
.preview-brief p { margin: 0 0 14px; color: #687283; font-size: 8px; line-height: 1.6; }
.preview-priority { display: grid; margin-top: 8px; gap: 6px; }
.preview-priority-item { display: grid; min-height: 39px; align-items: center; padding: 7px 9px; border: 1px solid var(--line-subtle); border-radius: 8px; grid-template-columns: auto 1fr auto; gap: 8px; }
.preview-priority-index { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 5px; color: #91a7ef; background: rgba(98,139,255,.08); font-size: 6px; }
.preview-priority-item span { color: #858f9f; font-size: 7px; }
.preview-priority-item small { color: #4f5968; font-size: 6px; }
.preview-risk-chart { height: 265px; padding: 12px; }
.preview-risk-chart svg { width: 100%; height: 100%; }
.preview-case-table { grid-column: 1 / -1; }
.preview-table-row { display: grid; min-height: 42px; align-items: center; padding: 0 13px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 80px 1.5fr .65fr .6fr .6fr; gap: 10px; color: #747e8e; font-size: 7px; }
.preview-table-row:last-child { border-bottom: 0; }
.preview-table-row.header { min-height: 32px; color: #46505f; font-family: var(--font-mono); font-size: 6px; text-transform: uppercase; }
.preview-table-row strong { color: #a9b1bf; font-weight: 550; }

.bento-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.module-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line-subtle);
  border-radius: 22px;
  background: rgba(255,255,255,.016);
  transition: transform .28s var(--ease), border-color .28s ease, background .28s ease;
}
.module-card:hover { transform: translateY(-4px); border-color: var(--line); background: rgba(255,255,255,.027); }
.module-card.large { min-height: 430px; grid-column: span 7; }
.module-card.medium { min-height: 430px; grid-column: span 5; }
.module-card.small { min-height: 330px; grid-column: span 4; }
.module-card.wide { min-height: 330px; grid-column: span 8; }
.module-card::after { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx,80%) var(--my,10%), rgba(98,139,255,.11), transparent 30%); opacity: 0; transition: opacity .25s ease; content: ""; }
.module-card:hover::after { opacity: 1; }
.module-card-content { position: relative; z-index: 2; max-width: 390px; }
.module-index { margin-bottom: 52px; color: #4f5867; font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; }
.module-card h3 { margin: 0 0 11px; color: #e1e5ed; font-size: 28px; font-weight: 580; letter-spacing: -.045em; }
.module-card p { margin: 0; color: #778191; font-size: 13px; line-height: 1.65; }
.module-card .text-link { margin-top: 19px; color: #9fa8b8; font-size: 11px; }
.module-visual { position: absolute; z-index: 1; right: 18px; bottom: 14px; width: 52%; height: 55%; opacity: .86; }
.module-card.small .module-visual { width: 70%; height: 44%; opacity: .68; }
.module-card.medium .module-visual { width: 76%; height: 50%; }
.module-visual svg { width: 100%; height: 100%; }
.module-search-lines { display: grid; position: absolute; right: 28px; bottom: 25px; width: 46%; gap: 8px; }
.module-search-line { display: grid; min-height: 37px; align-items: center; padding: 0 10px; border: 1px solid var(--line-subtle); border-radius: 9px; background: rgba(7,9,13,.76); grid-template-columns: auto 1fr auto; gap: 8px; }
.module-search-line .type-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.module-search-line span { color: #768091; font-size: 8px; }
.module-search-line small { color: #4d5665; font-family: var(--font-mono); font-size: 6px; }
.module-ai-chat { position: absolute; right: 24px; bottom: 24px; width: 45%; }
.module-ai-bubble { margin-bottom: 8px; padding: 11px; border: 1px solid var(--line-subtle); border-radius: 11px; color: #7b8595; background: rgba(8,10,15,.78); font-size: 8px; line-height: 1.5; }
.module-ai-bubble.user { margin-left: 24px; border-color: rgba(98,139,255,.16); background: rgba(98,139,255,.05); color: #9aa9d1; }
.module-watch-list { position: absolute; right: 24px; bottom: 24px; width: 47%; display: grid; gap: 7px; }
.module-watch-row { display: grid; min-height: 40px; align-items: center; padding: 0 10px; border: 1px solid var(--line-subtle); border-radius: 9px; background: rgba(8,10,15,.72); grid-template-columns: auto 1fr auto; gap: 8px; }
.module-watch-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.module-watch-row span { color: #717b8b; font-size: 7px; }
.module-watch-row small { color: #555e6d; font-family: var(--font-mono); font-size: 6px; }

.nexus-section { overflow: hidden; }
.nexus-stage {
  position: relative;
  width: min(1500px, calc(100% - 34px));
  min-height: 790px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line-subtle);
  border-radius: 28px;
  background:
    radial-gradient(circle at 51% 49%, rgba(98,139,255,.1), transparent 24%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #07090d;
  background-size: auto, 46px 46px, 46px 46px, auto;
}
.nexus-toolbar { position: absolute; z-index: 5; top: 18px; left: 50%; display: flex; transform: translateX(-50%); padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10,13,18,.86); box-shadow: var(--shadow-md); backdrop-filter: blur(14px); }
.nexus-tool { display: inline-flex; height: 34px; align-items: center; gap: 7px; padding: 0 10px; border: 0; border-radius: 8px; color: #707a8a; background: transparent; font-size: 9px; }
.nexus-tool.active { color: #cbd3e0; background: rgba(255,255,255,.055); }
.nexus-tool .icon { width: 12px; height: 12px; }
.nexus-graph { position: absolute; inset: 0; width: 100%; height: 100%; }
.nexus-line { stroke: rgba(114,128,176,.27); stroke-width: 1.2; }
.nexus-line.glow { stroke: rgba(98,139,255,.64); filter: drop-shadow(0 0 5px rgba(98,139,255,.55)); }
.nexus-line.dashed { stroke-dasharray: 5 7; stroke: rgba(147,107,255,.38); }
.nexus-node-group { cursor: pointer; }
.nexus-node-group .node-back { fill: rgba(15,19,27,.97); stroke: rgba(255,255,255,.1); stroke-width: 1; transition: stroke .2s ease, filter .2s ease, transform .2s ease; transform-box: fill-box; transform-origin: center; }
.nexus-node-group:hover .node-back { stroke: rgba(98,139,255,.5); filter: drop-shadow(0 0 12px rgba(98,139,255,.2)); transform: scale(1.04); }
.nexus-node-group.primary .node-back { fill: rgba(27,37,66,.97); stroke: rgba(98,139,255,.42); filter: drop-shadow(0 0 14px rgba(98,139,255,.18)); }
.nexus-node-title { fill: #c5ccd8; font-family: var(--font-sans); font-size: 11px; font-weight: 620; text-anchor: middle; }
.nexus-node-meta { fill: #667183; font-family: var(--font-mono); font-size: 7px; text-anchor: middle; }
.nexus-legend { position: absolute; z-index: 4; left: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 11px; max-width: 440px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(9,12,17,.84); backdrop-filter: blur(14px); }
.nexus-legend span { display: inline-flex; align-items: center; gap: 6px; color: #626d7d; font-family: var(--font-mono); font-size: 7px; }
.nexus-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.nexus-explanation { position: absolute; z-index: 4; right: 18px; bottom: 18px; width: 320px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(9,12,17,.89); box-shadow: var(--shadow-md); backdrop-filter: blur(18px); }
.nexus-explanation-label { margin-bottom: 8px; color: var(--blue); font-family: var(--font-mono); font-size: 7px; letter-spacing: .11em; text-transform: uppercase; }
.nexus-explanation h4 { margin: 0 0 7px; color: #cbd1dc; font-size: 12px; }
.nexus-explanation p { margin: 0 0 11px; color: #687283; font-size: 9px; line-height: 1.55; }
.nexus-evidence-row { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line-subtle); color: #5d6777; font-size: 8px; }
.nexus-evidence-row strong { color: var(--success); font-family: var(--font-mono); font-size: 7px; }

.ai-showcase {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #080a0f;
  box-shadow: var(--shadow-lg);
  grid-template-columns: 240px minmax(0,1fr) 300px;
}
.ai-showcase-side { min-height: 660px; padding: 16px; border-right: 1px solid var(--line-subtle); }
.ai-showcase-side.right { border-right: 0; border-left: 1px solid var(--line-subtle); }
.ai-side-brand { display: flex; height: 42px; align-items: center; gap: 9px; color: #ced4df; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.ai-side-brand img { width: 22px; }
.ai-new-thread { display: flex; width: 100%; height: 38px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; color: #99a2b1; background: rgba(255,255,255,.025); font-size: 9px; }
.ai-side-section { margin-top: 21px; }
.ai-side-label { margin: 0 8px 7px; color: #4a5362; font-family: var(--font-mono); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.ai-thread-item { display: block; padding: 9px 10px; border-radius: 8px; color: #697383; font-size: 8px; }
.ai-thread-item.active { color: #b9c0cd; background: rgba(98,139,255,.07); }
.ai-showcase-main { min-width: 0; }
.ai-showcase-head { display: flex; height: 59px; align-items: center; justify-content: space-between; padding: 0 19px; border-bottom: 1px solid var(--line-subtle); }
.ai-showcase-head strong { color: #a8b0be; font-size: 10px; }
.ai-showcase-head span { color: #555f6e; font-family: var(--font-mono); font-size: 7px; }
.ai-conversation { height: 519px; overflow: hidden; padding: 23px 26px; }
.ai-message { display: grid; margin-bottom: 24px; grid-template-columns: 27px 1fr; gap: 11px; }
.ai-message-avatar { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #9eb1f0; background: rgba(98,139,255,.07); font-size: 8px; font-weight: 700; }
.ai-message.user .ai-message-avatar { color: #bbb; background: rgba(255,255,255,.04); }
.ai-message-body { min-width: 0; }
.ai-message-author { margin-bottom: 7px; color: #aab2c0; font-size: 8px; font-weight: 650; }
.ai-message-body p { margin: 0 0 10px; color: #8a94a4; font-size: 10px; line-height: 1.65; }
.ai-response-section { margin: 13px 0; padding: 12px 13px; border: 1px solid var(--line-subtle); border-radius: 10px; background: rgba(255,255,255,.015); }
.ai-response-section strong { display: block; margin-bottom: 7px; color: #aeb6c5; font-size: 8px; }
.ai-response-section ul { margin: 0; padding-left: 16px; color: #737d8d; font-size: 8px; line-height: 1.75; }
.ai-citations { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-citation { padding: 5px 7px; border: 1px solid rgba(98,139,255,.17); border-radius: 7px; color: #8093d2; background: rgba(98,139,255,.05); font-family: var(--font-mono); font-size: 6px; }
.ai-composer { display: flex; min-height: 64px; align-items: center; gap: 10px; margin: 0 18px 18px; padding: 9px 9px 9px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); }
.ai-composer span { flex: 1; color: #596373; font-size: 9px; }
.ai-composer button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg,var(--blue),var(--violet)); }
.ai-composer button .icon { width: 14px; }
.ai-run-panel { padding-top: 8px; }
.ai-run-title { margin-bottom: 13px; color: #9fa8b7; font-size: 10px; font-weight: 620; }
.ai-run-meta { display: grid; gap: 8px; }
.ai-meta-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-subtle); color: #606a7a; font-size: 8px; }
.ai-meta-row strong { color: #949eae; font-weight: 550; }
.ai-tool-run { display: grid; margin-top: 17px; gap: 7px; }
.ai-tool-item { display: grid; min-height: 43px; align-items: center; padding: 0 9px; border: 1px solid var(--line-subtle); border-radius: 9px; grid-template-columns: auto 1fr auto; gap: 8px; }
.ai-tool-icon { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; color: #8ba1e7; background: rgba(98,139,255,.08); }
.ai-tool-icon .icon { width: 11px; }
.ai-tool-item strong { display: block; color: #858f9f; font-size: 7px; }
.ai-tool-item small { display: block; color: #4e5867; font-size: 6px; }
.ai-tool-status { color: var(--success); font-family: var(--font-mono); font-size: 6px; }

.watchtower-showcase { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: center; }
.watchtower-copy .section-title { font-size: clamp(42px,5vw,72px); }
.watchtower-copy .feature-list { margin-top: 34px; }
.feature-list { display: grid; gap: 13px; }
.feature-list-item { display: grid; grid-template-columns: 27px 1fr; gap: 11px; }
.feature-list-icon { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); background: rgba(98,139,255,.05); }
.feature-list-icon .icon { width: 12px; }
.feature-list-item strong { display: block; margin-bottom: 2px; color: #adb5c3; font-size: 12px; }
.feature-list-item span { color: #687283; font-size: 11px; }
.watchtower-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #080a0f; box-shadow: var(--shadow-lg); }
.watchtower-panel-head { display: flex; height: 59px; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line-subtle); }
.watchtower-panel-head strong { color: #b3bac7; font-size: 11px; }
.watchtower-panel-head span { color: #5b6574; font-family: var(--font-mono); font-size: 7px; }
.watch-list { padding: 7px 0; }
.watch-event { display: grid; min-height: 79px; align-items: center; padding: 12px 17px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 37px 1fr auto; gap: 12px; transition: background .18s ease; }
.watch-event:last-child { border-bottom: 0; }
.watch-event:hover { background: rgba(255,255,255,.02); }
.watch-severity { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; color: var(--warning); background: rgba(243,201,105,.065); }
.watch-severity.high { color: var(--danger); background: rgba(255,102,120,.065); }
.watch-severity.info { color: var(--info); background: rgba(108,164,255,.065); }
.watch-severity .icon { width: 14px; }
.watch-event strong { display: block; margin-bottom: 3px; color: #abb3c1; font-size: 10px; }
.watch-event p { margin: 0; color: #626c7c; font-size: 8px; }
.watch-event-meta { text-align: right; }
.watch-event-meta time { display: block; margin-bottom: 6px; color: #596373; font-family: var(--font-mono); font-size: 6px; }
.watch-event-meta span { color: var(--success); font-family: var(--font-mono); font-size: 6px; }

.report-showcase { display: grid; grid-template-columns: 1.05fr .95fr; gap: 78px; align-items: center; }
.report-stack { position: relative; min-height: 660px; }
.report-page {
  position: absolute;
  width: 420px;
  min-height: 570px;
  overflow: hidden;
  border-radius: 8px;
  color: #14161b;
  background: #f5f5f4;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  transform-origin: bottom left;
}
.report-page.back { top: 34px; left: 98px; opacity: .55; transform: rotate(5deg) scale(.95); }
.report-page.middle { top: 17px; left: 52px; opacity: .78; transform: rotate(1.5deg) scale(.98); }
.report-page.front { top: 0; left: 0; }
.report-page-header { display: flex; min-height: 112px; align-items: center; justify-content: space-between; padding: 24px 28px; background: #0b0e14; color: #fff; }
.report-page-brand { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.report-page-brand img { width: 31px; }
.report-page-classification { color: #a6afbe; font-family: var(--font-mono); font-size: 7px; letter-spacing: .11em; }
.report-page-body { padding: 27px; }
.report-page-kicker { margin-bottom: 13px; color: #67707d; font-family: var(--font-mono); font-size: 7px; letter-spacing: .1em; }
.report-page h3 { max-width: 300px; margin: 0 0 9px; font-size: 23px; line-height: 1.15; letter-spacing: -.035em; }
.report-page-meta { color: #7d838d; font-size: 7px; }
.report-divider { height: 1px; margin: 24px 0; background: #d9dce0; }
.report-section-label { margin-bottom: 9px; color: #30343c; font-size: 9px; font-weight: 700; }
.report-text-line { height: 5px; margin: 7px 0; border-radius: 3px; background: #d9dce0; }
.report-text-line:nth-child(2) { width: 93%; }
.report-text-line:nth-child(3) { width: 82%; }
.report-text-line:nth-child(4) { width: 89%; }
.report-findings-row { display: grid; margin-top: 20px; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-finding-card { min-height: 103px; padding: 12px; border: 1px solid #dde0e4; border-radius: 7px; }
.report-finding-card strong { display: block; margin-bottom: 6px; font-size: 8px; }
.report-finding-card span { color: #7c828c; font-size: 6px; }
.report-finding-card .risk { display: inline-flex; margin-top: 14px; padding: 4px 7px; border-radius: 99px; color: #a84c57; background: #f4dfe2; font-size: 6px; }
.report-copy .section-title { font-size: clamp(42px,5.2vw,76px); }
.report-copy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }

.responsible-panel {
  position: relative;
  overflow: hidden;
  padding: 72px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(98,139,255,.12), transparent 34%),
    rgba(255,255,255,.017);
}
.responsible-panel::before { position: absolute; top: -160px; right: -100px; width: 480px; height: 480px; border: 1px solid rgba(98,139,255,.1); border-radius: 50%; content: ""; }
.responsible-grid { position: relative; z-index: 2; display: grid; margin-top: 56px; grid-template-columns: repeat(4,1fr); gap: 11px; }
.responsible-item { min-height: 145px; padding: 18px; border: 1px solid var(--line-subtle); border-radius: 15px; background: rgba(5,6,8,.28); }
.responsible-icon { display: grid; width: 31px; height: 31px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(98,139,255,.16); border-radius: 9px; color: var(--blue); background: rgba(98,139,255,.05); }
.responsible-icon .icon { width: 13px; }
.responsible-item strong { display: block; margin-bottom: 5px; color: #aeb6c3; font-size: 11px; }
.responsible-item span { color: #626c7b; font-size: 9px; line-height: 1.5; }

.solution-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.solution-tab { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-subtle); border-radius: 10px; color: #6c7686; background: rgba(255,255,255,.012); cursor: pointer; font-size: 11px; transition: all .18s ease; }
.solution-tab.active { color: #d1d7e1; border-color: rgba(98,139,255,.23); background: rgba(98,139,255,.065); }
.solution-panel { display: none; min-height: 490px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #080a0f; grid-template-columns: .92fr 1.08fr; }
.solution-panel.active { display: grid; animation: state-in .4s var(--ease); }
.solution-copy { padding: 52px; }
.solution-copy .eyebrow { margin-bottom: 27px; }
.solution-copy h3 { margin: 0 0 17px; font-size: 42px; font-weight: 570; letter-spacing: -.055em; line-height: 1.05; }
.solution-copy > p { margin: 0 0 28px; color: #778191; font-size: 14px; line-height: 1.7; }
.solution-workflow { display: grid; gap: 9px; }
.solution-workflow-item { display: flex; align-items: center; gap: 11px; color: #818b9a; font-size: 11px; }
.solution-workflow-item .step-dot { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); font-family: var(--font-mono); font-size: 7px; }
.solution-visual { position: relative; overflow: hidden; border-left: 1px solid var(--line-subtle); background: linear-gradient(135deg,rgba(98,139,255,.04),rgba(147,107,255,.025)); }
.solution-visual::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px); background-size: 42px 42px; content: ""; }
.solution-dashboard { position: absolute; top: 50%; left: 50%; width: 78%; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(9,12,17,.86); box-shadow: var(--shadow-lg); transform: translate(-50%,-50%); backdrop-filter: blur(15px); }
.solution-dashboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: #949ead; font-size: 9px; }
.solution-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.solution-metric { min-height: 70px; padding: 10px; border: 1px solid var(--line-subtle); border-radius: 9px; background: rgba(255,255,255,.017); }
.solution-metric span { display: block; margin-bottom: 8px; color: #596373; font-size: 6px; }
.solution-metric strong { color: #cbd1db; font-size: 17px; font-weight: 600; }
.solution-alerts { display: grid; margin-top: 9px; gap: 6px; }
.solution-alert { display: grid; min-height: 39px; align-items: center; padding: 0 9px; border: 1px solid var(--line-subtle); border-radius: 8px; grid-template-columns: auto 1fr auto; gap: 8px; }
.solution-alert i { width: 5px; height: 5px; border-radius: 50%; background: var(--warning); }
.solution-alert span { color: #778190; font-size: 7px; }
.solution-alert small { color: #505968; font-family: var(--font-mono); font-size: 6px; }

.pricing-toggle-wrap { display: flex; justify-content: center; margin: -25px 0 38px; }
.pricing-toggle { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }
.pricing-toggle button { height: 35px; padding: 0 13px; border: 0; border-radius: 9px; color: #687282; background: transparent; cursor: pointer; font-size: 10px; }
.pricing-toggle button.active { color: #d3d8e2; background: rgba(255,255,255,.06); }
.pricing-toggle .save { margin-left: 5px; color: var(--success); font-family: var(--font-mono); font-size: 7px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; align-items: stretch; }
.price-card { position: relative; display: flex; min-height: 540px; flex-direction: column; padding: 25px; border: 1px solid var(--line-subtle); border-radius: 20px; background: rgba(255,255,255,.014); }
.price-card.featured { border-color: rgba(98,139,255,.28); background: linear-gradient(160deg,rgba(98,139,255,.08),rgba(255,255,255,.018) 44%); box-shadow: 0 25px 80px rgba(50,70,150,.1); }
.price-badge { position: absolute; top: 16px; right: 16px; padding: 5px 8px; border-radius: 99px; color: #bfcbf4; background: rgba(98,139,255,.1); font-family: var(--font-mono); font-size: 7px; letter-spacing: .07em; }
.price-name { color: #9ba4b3; font-size: 12px; font-weight: 620; }
.price-description { min-height: 44px; margin: 9px 0 26px; color: #606a79; font-size: 10px; line-height: 1.5; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 5px; }
.price-amount strong { color: #eef1f5; font-size: 38px; font-weight: 570; letter-spacing: -.055em; }
.price-amount span { color: #646e7e; font-size: 9px; }
.price-note { min-height: 24px; color: #515b6a; font-size: 8px; }
.price-card .btn { width: 100%; margin: 22px 0 24px; }
.price-divider { height: 1px; margin-bottom: 20px; background: var(--line-subtle); }
.price-features { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.price-features li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: #768090; font-size: 9px; line-height: 1.4; }
.price-features .icon { width: 13px; height: 13px; color: var(--success); }

.faq-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 90px; }
.faq-sticky { position: sticky; top: 120px; align-self: start; }
.faq-sticky .section-title { font-size: clamp(42px,4.8vw,66px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: grid; width: 100%; min-height: 76px; align-items: center; padding: 0; border: 0; color: #b2bac7; background: transparent; cursor: pointer; text-align: left; grid-template-columns: 1fr 28px; gap: 20px; font-size: 15px; }
.faq-question .faq-plus { position: relative; width: 23px; height: 23px; border: 1px solid var(--line); border-radius: 50%; }
.faq-question .faq-plus::before,
.faq-question .faq-plus::after { position: absolute; top: 50%; left: 50%; width: 9px; height: 1px; background: #788292; transform: translate(-50%,-50%); content: ""; transition: transform .2s ease; }
.faq-question .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .faq-question .faq-plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer p { margin: 0; padding: 0 45px 26px 0; color: #737d8d; font-size: 13px; line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 260px; }

.closing-cta { padding: 50px 0 120px; }
.closing-panel { position: relative; min-height: 560px; overflow: hidden; padding: 85px; border: 1px solid var(--line); border-radius: 30px; background: #080a0f; text-align: center; }
.closing-panel::before { position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%,rgba(98,139,255,.17),transparent 45%),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px); background-size: auto, 52px 52px, 52px 52px; content: ""; }
.closing-orbit { position: absolute; top: 50%; left: 50%; width: 640px; height: 640px; border: 1px solid rgba(98,139,255,.1); border-radius: 50%; transform: translate(-50%,-50%); }
.closing-orbit::before { position: absolute; inset: 105px; border: 1px dashed rgba(147,107,255,.11); border-radius: 50%; content: ""; animation: orbit-rotate 25s linear infinite; }
@keyframes orbit-rotate { to { transform: rotate(360deg); } }
.closing-content { position: relative; z-index: 2; max-width: 850px; margin: 0 auto; }
.closing-content .section-title { max-width: none; margin-inline: auto; }
.closing-content .section-copy { margin-inline: auto; }
.closing-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 35px; }

.site-footer { padding: 70px 0 26px; border-top: 1px solid var(--line-subtle); background: #050608; }
.footer-top { display: grid; padding-bottom: 64px; grid-template-columns: 1.5fr repeat(5,1fr); gap: 42px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 270px; margin: 0 0 22px; color: #646e7d; font-size: 11px; line-height: 1.65; }
.footer-col h4 { margin: 0 0 15px; color: #818b9a; font-family: var(--font-mono); font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; color: #5f6978; font-size: 10px; transition: color .18s ease; }
.footer-col a:hover { color: #c2c8d3; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 23px; border-top: 1px solid var(--line-subtle); color: #4c5563; font-size: 9px; }
.footer-bottom-links { display: flex; gap: 19px; }
.footer-bottom a:hover { color: #9ca5b4; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* Application shell */
.app-shell {
  display: grid;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #06080c;
  grid-template-columns: var(--sidebar-width) minmax(0,1fr);
  transition: grid-template-columns .24s var(--ease);
}

.app-shell.sidebar-collapsed { grid-template-columns: var(--sidebar-mini) minmax(0,1fr); }

.app-sidebar {
  position: relative;
  z-index: 40;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--line-subtle);
  background: #07090d;
}

.app-sidebar-head {
  display: flex;
  height: 66px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-subtle);
}

.app-sidebar .brand {
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  letter-spacing: .19em;
}

.app-sidebar .brand-mark { width: 24px; height: 24px; }

.sidebar-collapse {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #5c6574;
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.sidebar-collapse:hover { color: #bbc2cd; border-color: var(--line-subtle); background: rgba(255,255,255,.025); }
.sidebar-collapse .icon { width: 15px; height: 15px; }

.sidebar-workspace {
  display: grid;
  min-height: 64px;
  margin: 14px 12px 4px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  background: rgba(255,255,255,.016);
  grid-template-columns: 31px minmax(0,1fr) auto;
  gap: 10px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.sidebar-workspace:hover { border-color: var(--line); background: rgba(255,255,255,.027); }
.workspace-icon { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(98,139,255,.17); border-radius: 9px; color: #cbd6ff; background: rgba(98,139,255,.08); font-size: 10px; font-weight: 700; }
.workspace-copy { min-width: 0; }
.workspace-copy strong { display: block; overflow: hidden; color: #aab2bf; font-size: 10px; font-weight: 610; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy span { display: block; color: #555f6e; font-size: 8px; }
.workspace-chevron { color: #495261; }
.workspace-chevron .icon { width: 12px; height: 12px; }

.app-nav {
  flex: 1;
  overflow-y: auto;
  padding: 7px 11px 16px;
}
.app-nav::-webkit-scrollbar { width: 4px; }
.app-nav::-webkit-scrollbar-thumb { background: #252b35; border: 0; }
.app-nav-group { margin-top: 17px; }
.app-nav-label { height: 21px; padding: 0 10px; color: #3f4856; font-family: var(--font-mono); font-size: 7px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.app-nav-link {
  position: relative;
  display: grid;
  min-height: 39px;
  align-items: center;
  padding: 0 10px;
  border-radius: 10px;
  color: #687282;
  grid-template-columns: 20px minmax(0,1fr) auto;
  gap: 10px;
  font-size: 11px;
  transition: color .16s ease, background .16s ease;
}
.app-nav-link:hover { color: #c4cad5; background: rgba(255,255,255,.025); }
.app-nav-link.active { color: #d9dfe9; background: linear-gradient(90deg,rgba(98,139,255,.105),rgba(98,139,255,.035)); }
.app-nav-link.active::before { position: absolute; top: 9px; bottom: 9px; left: -11px; width: 2px; border-radius: 2px; background: linear-gradient(var(--blue),var(--violet)); box-shadow: 0 0 12px rgba(98,139,255,.52); content: ""; }
.app-nav-link .icon { width: 16px; height: 16px; }
.app-nav-link .nav-badge { display: inline-flex; min-width: 19px; height: 19px; align-items: center; justify-content: center; padding: 0 5px; border-radius: 999px; color: #a7b8ee; background: rgba(98,139,255,.09); font-family: var(--font-mono); font-size: 7px; }
.app-nav-link .nav-badge.alert { color: #ff9aa7; background: rgba(255,102,120,.09); }

.app-sidebar-foot { flex: 0 0 auto; padding: 11px; border-top: 1px solid var(--line-subtle); }
.sidebar-usage { margin-bottom: 9px; padding: 11px; border: 1px solid var(--line-subtle); border-radius: 11px; background: rgba(255,255,255,.014); }
.usage-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: #596373; font-size: 8px; }
.usage-head strong { color: #8992a1; font-family: var(--font-mono); font-weight: 550; }
.usage-bar { height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.05); }
.usage-bar span { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet)); }
.sidebar-user { display: grid; min-height: 50px; align-items: center; padding: 7px 8px; border-radius: 11px; grid-template-columns: 31px minmax(0,1fr) auto; gap: 9px; cursor: pointer; transition: background .16s ease; }
.sidebar-user:hover { background: rgba(255,255,255,.025); }
.user-avatar { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; color: #d9e0f8; background: linear-gradient(135deg,#2b478a,#594682); font-size: 9px; font-weight: 700; }
.user-copy { min-width: 0; }
.user-copy strong { display: block; overflow: hidden; color: #a5adba; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.user-copy span { display: block; color: #515a69; font-size: 7px; }
.user-more { color: #4d5664; }
.user-more .icon { width: 13px; height: 13px; }

.sidebar-collapsed .brand-word,
.sidebar-collapsed .sidebar-collapse,
.sidebar-collapsed .workspace-copy,
.sidebar-collapsed .workspace-chevron,
.sidebar-collapsed .app-nav-label,
.sidebar-collapsed .app-nav-link > span:not(.nav-badge),
.sidebar-collapsed .app-nav-link .nav-badge,
.sidebar-collapsed .sidebar-usage,
.sidebar-collapsed .user-copy,
.sidebar-collapsed .user-more { display: none; }
.sidebar-collapsed .app-sidebar-head { justify-content: center; padding: 0; }
.sidebar-collapsed .sidebar-workspace { display: flex; min-height: 52px; margin: 12px; align-items: center; justify-content: center; padding: 0; }
.sidebar-collapsed .app-nav { padding-inline: 11px; }
.sidebar-collapsed .app-nav-group { margin-top: 12px; }
.sidebar-collapsed .app-nav-link { display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 0; }
.sidebar-collapsed .app-nav-link.active::before { left: -11px; }
.sidebar-collapsed .sidebar-user { display: flex; justify-content: center; padding: 7px 0; }

.app-stage { display: grid; min-width: 0; min-height: 0; grid-template-rows: 66px minmax(0,1fr); }
.app-topbar { position: relative; z-index: 30; display: grid; min-width: 0; height: 66px; align-items: center; padding: 0 22px; border-bottom: 1px solid var(--line-subtle); background: rgba(7,9,13,.88); grid-template-columns: minmax(0,1fr) auto; gap: 18px; backdrop-filter: blur(18px); }
.app-top-left { display: flex; min-width: 0; align-items: center; gap: 13px; }
.mobile-sidebar-trigger { display: none; }
.app-breadcrumb { min-width: 0; color: #858e9d; font-size: 11px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-breadcrumb .root { color: #4e5866; }
.app-breadcrumb .separator { margin: 0 7px; color: #353e4c; }
.app-top-actions { display: flex; align-items: center; gap: 7px; }
.top-search-trigger { display: flex; width: min(360px,26vw); height: 37px; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid var(--line-subtle); border-radius: 10px; color: #535d6b; background: rgba(255,255,255,.014); cursor: pointer; font-size: 9px; transition: border-color .18s ease, background .18s ease; }
.top-search-trigger:hover { border-color: var(--line); background: rgba(255,255,255,.025); }
.top-search-trigger .icon { width: 13px; }
.top-search-trigger span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-search-trigger kbd { margin-left: auto; padding: 2px 6px; border: 1px solid var(--line-subtle); border-radius: 5px; color: #596372; background: rgba(255,255,255,.02); font-family: var(--font-mono); font-size: 6px; }
.top-usage { display: inline-flex; height: 36px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line-subtle); border-radius: 10px; color: #697383; font-family: var(--font-mono); font-size: 7px; }
.top-usage .usage-gem { width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(135deg,var(--blue),var(--violet)); transform: rotate(45deg); box-shadow: 0 0 10px rgba(98,139,255,.4); }
.top-icon-btn { position: relative; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid transparent; border-radius: 10px; color: #687282; background: transparent; cursor: pointer; transition: all .16s ease; }
.top-icon-btn:hover { color: #c5ccd8; border-color: var(--line-subtle); background: rgba(255,255,255,.025); }
.top-icon-btn .icon { width: 15px; height: 15px; }
.top-icon-btn .notification-mark { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border: 1px solid #07090d; border-radius: 50%; background: var(--danger); box-shadow: 0 0 6px rgba(255,102,120,.5); }
.top-avatar { display: grid; width: 34px; height: 34px; margin-left: 2px; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; color: #d9e0f8; background: linear-gradient(135deg,#2b478a,#594682); cursor: pointer; font-size: 9px; font-weight: 700; }

.app-scroll { position: relative; min-width: 0; min-height: 0; overflow: auto; background: #06080c; }
.app-scroll::before { position: fixed; inset: 66px 0 0 var(--sidebar-width); pointer-events: none; background: radial-gradient(circle at 90% 0%,rgba(98,139,255,.055),transparent 28%); content: ""; transition: left .24s var(--ease); }
.sidebar-collapsed .app-scroll::before { left: var(--sidebar-mini); }
.app-content { position: relative; z-index: 1; width: min(1580px,100%); margin: 0 auto; padding: 28px 30px 60px; }

.app-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.app-page-head h1 { margin: 0 0 6px; color: #e7eaf0; font-size: clamp(25px,2.4vw,34px); font-weight: 580; letter-spacing: -.045em; line-height: 1.1; }
.app-page-head p { max-width: 720px; margin: 0; color: #606a79; font-size: 11px; line-height: 1.55; }
.page-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.page-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; color: #596474; font-family: var(--font-mono); font-size: 7px; letter-spacing: .11em; text-transform: uppercase; }
.page-kicker::before { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px rgba(98,139,255,.7); content: ""; }

.app-grid { display: grid; gap: 13px; }
.app-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.app-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.app-grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.app-grid.command { grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); }
.app-grid.asymmetric { grid-template-columns: minmax(0,1.45fr) minmax(320px,.55fr); }

.app-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 15px; background: rgba(255,255,255,.013); }
.app-panel.elevated { background: rgba(255,255,255,.019); box-shadow: 0 14px 40px rgba(0,0,0,.16); }
.app-panel.accent { border-color: rgba(98,139,255,.17); background: linear-gradient(135deg,rgba(98,139,255,.055),rgba(255,255,255,.014)); }
.panel-head { display: flex; min-height: 51px; align-items: center; justify-content: space-between; gap: 15px; padding: 0 16px; border-bottom: 1px solid var(--line-subtle); }
.panel-head-title { min-width: 0; }
.panel-head-title strong { display: block; color: #aeb6c3; font-size: 10px; font-weight: 620; }
.panel-head-title span { display: block; margin-top: 2px; color: #4f5968; font-size: 7px; }
.panel-head-actions { display: flex; align-items: center; gap: 6px; }
.panel-body { padding: 17px; }
.panel-body.flush { padding: 0; }
.panel-foot { display: flex; min-height: 47px; align-items: center; justify-content: space-between; padding: 0 16px; border-top: 1px solid var(--line-subtle); color: #4d5665; font-size: 8px; }

.metric-grid { display: grid; margin-bottom: 13px; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.metric-card { position: relative; min-height: 121px; overflow: hidden; padding: 15px; border: 1px solid var(--line-subtle); border-radius: 14px; background: rgba(255,255,255,.014); transition: border-color .18s ease, transform .18s var(--ease), background .18s ease; }
.metric-card:hover { transform: translateY(-2px); border-color: var(--line); background: rgba(255,255,255,.022); }
.metric-card::after { position: absolute; right: -18px; bottom: -27px; width: 90px; height: 90px; border: 1px solid rgba(98,139,255,.08); border-radius: 50%; content: ""; }
.metric-card-label { display: flex; align-items: center; justify-content: space-between; color: #626c7b; font-size: 8px; }
.metric-card-label .icon { width: 12px; height: 12px; color: #536174; }
.metric-card-value { margin: 13px 0 8px; color: #e1e5ec; font-size: 28px; font-weight: 580; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-card-trend { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-family: var(--font-mono); font-size: 7px; }
.metric-card-trend.down { color: var(--danger); }
.metric-card-trend.neutral { color: #687283; }
.metric-spark { position: absolute; right: 10px; bottom: 10px; width: 63px; height: 25px; opacity: .55; }
.metric-spark path { fill: none; stroke: var(--blue); stroke-width: 1.3; }

.brief-panel { min-height: 364px; }
.brief-content { display: grid; padding: 22px; grid-template-columns: minmax(0,1fr) 220px; gap: 28px; }
.brief-label { margin-bottom: 13px; color: var(--blue); font-family: var(--font-mono); font-size: 7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.brief-content h2 { max-width: 690px; margin: 0 0 12px; color: #d9dee8; font-size: 24px; font-weight: 570; letter-spacing: -.04em; line-height: 1.25; }
.brief-content > div > p { max-width: 720px; margin: 0; color: #747e8e; font-size: 11px; line-height: 1.7; }
.brief-priorities { display: grid; margin-top: 21px; gap: 8px; }
.brief-priority { display: grid; min-height: 52px; align-items: center; padding: 9px 11px; border: 1px solid var(--line-subtle); border-radius: 11px; background: rgba(255,255,255,.012); grid-template-columns: 27px minmax(0,1fr) auto; gap: 10px; }
.brief-priority-index { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(98,139,255,.15); border-radius: 8px; color: #8fa4e8; background: rgba(98,139,255,.055); font-family: var(--font-mono); font-size: 7px; }
.brief-priority strong { display: block; color: #9fa7b5; font-size: 9px; font-weight: 560; }
.brief-priority span { display: block; color: #525c6b; font-size: 7px; }
.brief-priority time { color: #4f5968; font-family: var(--font-mono); font-size: 6px; }
.brief-posture { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; border: 1px solid rgba(243,201,105,.14); border-radius: 15px; background: rgba(243,201,105,.035); text-align: center; }
.posture-ring { position: relative; display: grid; width: 126px; height: 126px; margin-bottom: 18px; place-items: center; border-radius: 50%; background: conic-gradient(var(--warning) 0 62%,rgba(255,255,255,.045) 62% 100%); }
.posture-ring::before { position: absolute; inset: 8px; border-radius: 50%; background: #0c0e13; content: ""; }
.posture-ring::after { position: absolute; inset: 18px; border: 1px solid rgba(243,201,105,.12); border-radius: 50%; content: ""; }
.posture-ring-content { position: relative; z-index: 2; }
.posture-ring-content strong { display: block; color: #efd99c; font-family: var(--font-mono); font-size: 25px; line-height: 1; }
.posture-ring-content span { display: block; margin-top: 5px; color: #756c56; font-family: var(--font-mono); font-size: 6px; letter-spacing: .09em; text-transform: uppercase; }
.brief-posture > strong { color: #c8b98f; font-size: 10px; }
.brief-posture > span { margin-top: 4px; color: #6c6658; font-size: 7px; }

.chart-panel { min-height: 364px; }
.chart-wrap { position: relative; height: 275px; padding: 11px 13px 5px; }
.chart-wrap svg { width: 100%; height: 100%; overflow: visible; }
.chart-grid-line { stroke: rgba(255,255,255,.045); stroke-width: 1; }
.chart-axis-label { fill: #46505f; font-family: var(--font-mono); font-size: 7px; }
.chart-area { fill: url(#chartAreaGradient); }
.chart-line { fill: none; stroke: var(--blue); stroke-width: 2; filter: drop-shadow(0 0 5px rgba(98,139,255,.35)); }
.chart-line-secondary { fill: none; stroke: var(--violet); stroke-width: 1.4; opacity: .66; }
.chart-point { fill: #0b0e14; stroke: var(--blue); stroke-width: 2; }
.chart-legend { display: flex; align-items: center; gap: 15px; padding: 0 17px 16px; color: #5f6978; font-size: 7px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 12px; height: 2px; border-radius: 2px; background: var(--blue); }
.chart-legend span:nth-child(2) i { background: var(--violet); }

.data-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.data-table th { height: 37px; padding: 0 13px; border-bottom: 1px solid var(--line-subtle); color: #48515f; font-family: var(--font-mono); font-size: 7px; font-weight: 600; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.data-table td { height: 58px; padding: 9px 13px; border-bottom: 1px solid var(--line-subtle); color: #747e8d; font-size: 9px; vertical-align: middle; }
.data-table tbody tr { cursor: pointer; transition: background .16s ease; }
.data-table tbody tr:hover { background: rgba(255,255,255,.018); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.table-id { color: #788fcf; font-family: var(--font-mono); font-size: 7px; }
.table-title strong { display: block; overflow: hidden; color: #aeb6c3; font-size: 9px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.table-title span { display: block; margin-top: 2px; overflow: hidden; color: #4f5968; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.table-person { display: flex; align-items: center; gap: 7px; }
.table-person-avatar { display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-subtle); border-radius: 7px; color: #9aa8d4; background: rgba(98,139,255,.055); font-size: 6px; font-weight: 700; }
.table-actions { text-align: right; }
.more-btn { display: inline-grid; width: 29px; height: 29px; place-items: center; border: 1px solid transparent; border-radius: 8px; color: #596373; background: transparent; cursor: pointer; }
.more-btn:hover { color: #b8c0cc; border-color: var(--line-subtle); background: rgba(255,255,255,.02); }
.more-btn .icon { width: 13px; }

.activity-list { display: grid; }
.activity-item { display: grid; min-height: 66px; align-items: start; padding: 13px 16px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 9px; color: #7789bf; background: rgba(98,139,255,.04); }
.activity-icon.warning { color: var(--warning); background: rgba(243,201,105,.04); }
.activity-icon.danger { color: var(--danger); background: rgba(255,102,120,.04); }
.activity-icon .icon { width: 12px; height: 12px; }
.activity-copy strong { display: block; margin-bottom: 3px; color: #929baa; font-size: 8px; font-weight: 560; }
.activity-copy p { margin: 0; color: #505a69; font-size: 7px; line-height: 1.45; }
.activity-item time { color: #46505f; font-family: var(--font-mono); font-size: 6px; white-space: nowrap; }

.connector-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.connector-card { min-height: 74px; padding: 11px; border: 1px solid var(--line-subtle); border-radius: 10px; background: rgba(255,255,255,.012); }
.connector-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.connector-name { display: flex; align-items: center; gap: 8px; color: #8d96a5; font-size: 8px; }
.connector-logo { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 7px; color: #7e90ca; background: rgba(98,139,255,.04); font-family: var(--font-mono); font-size: 6px; }
.connector-state { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-family: var(--font-mono); font-size: 6px; }
.connector-state::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 7px currentColor; content: ""; }
.connector-state.degraded { color: var(--warning); }
.connector-state.offline { color: var(--danger); }
.connector-meta { display: flex; justify-content: space-between; color: #4d5665; font-size: 6px; }

/* Search */
.search-hero-panel { position: relative; overflow: visible; padding: 30px; border: 1px solid rgba(98,139,255,.17); border-radius: 18px; background: linear-gradient(145deg,rgba(98,139,255,.05),rgba(255,255,255,.012) 48%,rgba(147,107,255,.025)); }
.search-hero-panel::before { position: absolute; top: -150px; right: -100px; width: 390px; height: 390px; border: 1px solid rgba(98,139,255,.07); border-radius: 50%; pointer-events: none; content: ""; }
.search-input-wrap { position: relative; z-index: 2; display: grid; min-height: 62px; align-items: center; padding: 8px 8px 8px 17px; border: 1px solid rgba(98,139,255,.27); border-radius: 15px; background: rgba(5,7,11,.88); box-shadow: 0 0 0 4px rgba(98,139,255,.035); grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; }
.search-input-wrap > .icon { color: var(--blue); }
.search-input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; color: #dbe0e8; background: transparent; font-size: 13px; }
.search-input-wrap input::placeholder { color: #4d5766; }
.search-input-wrap .btn { min-width: 115px; }
.search-options-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.search-option-btn { display: inline-flex; height: 31px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line-subtle); border-radius: 9px; color: #626c7c; background: rgba(255,255,255,.014); cursor: pointer; font-size: 8px; }
.search-option-btn:hover { color: #aeb6c3; border-color: var(--line); }
.search-option-btn .icon { width: 11px; height: 11px; }
.search-option-btn strong { color: #858f9e; font-weight: 550; }
.search-mode-tabs { display: inline-flex; margin-left: auto; padding: 3px; border: 1px solid var(--line-subtle); border-radius: 9px; background: rgba(0,0,0,.16); }
.search-mode-tabs button { height: 26px; padding: 0 10px; border: 0; border-radius: 7px; color: #515b69; background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: 6px; text-transform: uppercase; }
.search-mode-tabs button.active { color: #b9c5ed; background: rgba(98,139,255,.09); }

.search-layout { display: grid; margin-top: 13px; grid-template-columns: 220px minmax(0,1fr) 310px; gap: 12px; align-items: start; }
.filter-panel { position: sticky; top: 13px; }
.filter-section { padding: 15px; border-bottom: 1px solid var(--line-subtle); }
.filter-section:last-child { border-bottom: 0; }
.filter-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #747e8e; font-size: 8px; font-weight: 600; }
.filter-title span { color: #454e5c; font-family: var(--font-mono); font-size: 6px; }
.filter-list { display: grid; gap: 9px; }
.filter-check { display: grid; align-items: center; color: #5e6877; cursor: pointer; grid-template-columns: 15px minmax(0,1fr) auto; gap: 8px; font-size: 8px; }
.filter-check input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { display: grid; width: 14px; height: 14px; place-items: center; border: 1px solid #333c49; border-radius: 4px; background: rgba(255,255,255,.01); }
.filter-check input:checked + .custom-check { border-color: rgba(98,139,255,.55); background: rgba(98,139,255,.16); }
.filter-check input:checked + .custom-check::after { width: 6px; height: 3px; border-bottom: 1.5px solid #b8c6f7; border-left: 1.5px solid #b8c6f7; transform: rotate(-45deg) translateY(-1px); content: ""; }
.filter-count { color: #414a58; font-family: var(--font-mono); font-size: 6px; }
.range-track { position: relative; height: 4px; margin: 15px 3px 7px; border-radius: 99px; background: rgba(255,255,255,.05); }
.range-track span { display: block; width: 74%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet)); }
.range-track::after { position: absolute; top: 50%; left: 73%; width: 12px; height: 12px; border: 2px solid #0a0d12; border-radius: 50%; background: var(--blue); transform: translate(-50%,-50%); content: ""; }
.range-labels { display: flex; justify-content: space-between; color: #444d5b; font-family: var(--font-mono); font-size: 6px; }

.search-results-head { display: flex; min-height: 47px; align-items: center; justify-content: space-between; margin-bottom: 8px; padding: 0 2px; }
.search-results-head strong { color: #9ba4b2; font-size: 9px; }
.search-results-head span { color: #4f5968; font-family: var(--font-mono); font-size: 6px; }
.search-result-list { display: grid; gap: 8px; }
.result-card { position: relative; padding: 16px; border: 1px solid var(--line-subtle); border-radius: 13px; background: rgba(255,255,255,.013); cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s var(--ease); }
.result-card:hover { transform: translateY(-1px); border-color: var(--line); background: rgba(255,255,255,.021); }
.result-card.selected { border-color: rgba(98,139,255,.26); background: linear-gradient(115deg,rgba(98,139,255,.055),rgba(255,255,255,.012)); }
.result-card-head { display: grid; align-items: start; grid-template-columns: 35px minmax(0,1fr) auto; gap: 11px; }
.result-type-icon { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(98,139,255,.14); border-radius: 10px; color: #8298de; background: rgba(98,139,255,.045); }
.result-type-icon.domain { border-radius: 11px; transform: rotate(0); }
.result-type-icon .icon { width: 15px; height: 15px; }
.result-title { min-width: 0; }
.result-title h3 { margin: 0 0 3px; overflow: hidden; color: #afb7c4; font-size: 11px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.result-title p { margin: 0; color: #535d6c; font-size: 7px; }
.result-confidence { min-width: 60px; text-align: right; }
.result-confidence strong { display: block; color: var(--success); font-family: var(--font-mono); font-size: 11px; }
.result-confidence span { color: #48515f; font-family: var(--font-mono); font-size: 6px; }
.result-extract { margin: 13px 0 12px; padding: 10px 11px; border-left: 2px solid rgba(98,139,255,.25); color: #697383; background: rgba(255,255,255,.01); font-size: 8px; line-height: 1.6; }
.result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: #4f5968; font-family: var(--font-mono); font-size: 6px; }
.result-meta span { display: inline-flex; align-items: center; gap: 5px; }
.result-meta .icon { width: 9px; height: 9px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line-subtle); }
.result-actions button { display: inline-flex; height: 27px; align-items: center; gap: 5px; padding: 0 8px; border: 1px solid var(--line-subtle); border-radius: 7px; color: #5e6878; background: transparent; cursor: pointer; font-size: 7px; }
.result-actions button:hover { color: #aeb6c3; border-color: var(--line); background: rgba(255,255,255,.02); }
.result-actions .icon { width: 10px; height: 10px; }

.intel-drawer { position: sticky; top: 13px; }
.drawer-summary { padding: 17px; }
.drawer-score-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.drawer-score-ring { position: relative; display: grid; width: 72px; height: 72px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--warning) 0 68%,rgba(255,255,255,.045) 68%); }
.drawer-score-ring::before { position: absolute; inset: 6px; border-radius: 50%; background: #0a0d12; content: ""; }
.drawer-score-ring span { position: relative; z-index: 1; color: #e9d595; font-family: var(--font-mono); font-size: 15px; font-weight: 650; }
.drawer-score-copy strong { display: block; color: #aeb6c3; font-size: 10px; }
.drawer-score-copy span { color: #555f6e; font-size: 7px; }
.drawer-fact-list { display: grid; gap: 0; }
.drawer-fact { display: flex; min-height: 39px; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line-subtle); color: #596373; font-size: 7px; }
.drawer-fact:last-child { border-bottom: 0; }
.drawer-fact strong { color: #8e97a6; font-weight: 550; text-align: right; }
.next-action-list { display: grid; padding: 8px; gap: 5px; }
.next-action { display: grid; min-height: 49px; align-items: center; padding: 8px; border: 1px solid transparent; border-radius: 9px; grid-template-columns: 27px minmax(0,1fr) auto; gap: 9px; cursor: pointer; transition: all .16s ease; }
.next-action:hover { border-color: var(--line-subtle); background: rgba(255,255,255,.018); }
.next-action-icon { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 8px; color: #7d8fc9; background: rgba(98,139,255,.04); }
.next-action-icon .icon { width: 11px; height: 11px; }
.next-action strong { display: block; color: #818b9a; font-size: 8px; font-weight: 550; }
.next-action span { display: block; color: #4c5665; font-size: 6px; }
.next-action > .icon { width: 10px; color: #444d5b; }

.search-progress-panel { margin-top: 13px; }
.search-progress { padding: 23px; }
.search-progress-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.search-progress-query { display: flex; align-items: center; gap: 10px; color: #aab2bf; font-size: 11px; }
.search-progress-query .loader-orb { position: relative; width: 26px; height: 26px; border: 1px solid rgba(98,139,255,.27); border-radius: 50%; }
.search-progress-query .loader-orb::before { position: absolute; inset: 4px; border: 2px solid transparent; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; content: ""; }
@keyframes spin { to { transform: rotate(360deg); } }
.search-progress-cancel { color: #666f7e; font-size: 8px; }
.progress-stage-list { display: grid; gap: 8px; }
.progress-stage { display: grid; min-height: 52px; align-items: center; padding: 8px 11px; border: 1px solid var(--line-subtle); border-radius: 10px; grid-template-columns: 26px minmax(0,1fr) auto; gap: 10px; transition: border-color .2s ease, background .2s ease; }
.progress-stage.active { border-color: rgba(98,139,255,.19); background: rgba(98,139,255,.035); }
.progress-stage.done { opacity: .72; }
.progress-stage-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: #586373; background: rgba(255,255,255,.025); }
.progress-stage.active .progress-stage-icon { color: var(--blue); background: rgba(98,139,255,.08); }
.progress-stage.done .progress-stage-icon { color: var(--success); background: rgba(69,217,154,.06); }
.progress-stage-icon .icon { width: 11px; height: 11px; }
.progress-stage strong { display: block; color: #7c8696; font-size: 8px; font-weight: 550; }
.progress-stage span { display: block; color: #4b5564; font-size: 6px; }
.progress-stage-status { color: #515b69; font-family: var(--font-mono); font-size: 6px; }
.progress-stage.active .progress-stage-status { color: var(--blue); }
.progress-stage.done .progress-stage-status { color: var(--success); }
.progress-overall { margin-top: 17px; }
.progress-overall-head { display: flex; justify-content: space-between; margin-bottom: 7px; color: #515b69; font-family: var(--font-mono); font-size: 6px; }
.progress-overall-track { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.045); }
.progress-overall-track span { display: block; width: var(--progress,8%); height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet),var(--cyan)); transition: width .45s var(--ease); }

/* Entity views */
.entity-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 13px; }
.table-search { display: flex; width: min(360px,100%); height: 37px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line-subtle); border-radius: 10px; color: #555f6e; background: rgba(255,255,255,.013); }
.table-search .icon { width: 12px; height: 12px; }
.table-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #abb3c0; background: transparent; font-size: 9px; }
.table-filter-btn { display: inline-flex; height: 37px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line-subtle); border-radius: 10px; color: #606a79; background: rgba(255,255,255,.013); cursor: pointer; font-size: 8px; }
.table-filter-btn:hover { color: #a9b1be; border-color: var(--line); }
.table-filter-btn .icon { width: 11px; height: 11px; }
.view-toggle { display: flex; margin-left: auto; padding: 3px; border: 1px solid var(--line-subtle); border-radius: 9px; }
.view-toggle button { display: grid; width: 29px; height: 29px; place-items: center; border: 0; border-radius: 7px; color: #4d5665; background: transparent; cursor: pointer; }
.view-toggle button.active { color: #aeb6c3; background: rgba(255,255,255,.045); }
.view-toggle .icon { width: 11px; height: 11px; }
.entity-type { display: inline-flex; align-items: center; gap: 6px; }
.entity-type-icon { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 8px; color: #7588c1; background: rgba(98,139,255,.035); }
.entity-type-icon .icon { width: 11px; height: 11px; }
.risk-mini { display: flex; align-items: center; gap: 7px; }
.risk-mini-bar { width: 45px; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.05); }
.risk-mini-bar span { display: block; width: var(--risk); height: 100%; border-radius: inherit; background: var(--risk-color,var(--warning)); }
.risk-mini strong { color: #777f8e; font-family: var(--font-mono); font-size: 7px; font-weight: 550; }

.entity-profile-head { position: relative; display: grid; min-height: 180px; overflow: hidden; margin-bottom: 13px; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(145deg,rgba(98,139,255,.065),rgba(255,255,255,.012) 50%,rgba(147,107,255,.025)); grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; }
.entity-profile-head::after { position: absolute; right: -90px; top: -140px; width: 350px; height: 350px; border: 1px solid rgba(98,139,255,.08); border-radius: 50%; content: ""; }
.entity-profile-icon { position: relative; z-index: 1; display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid rgba(98,139,255,.19); border-radius: 22px; color: #9aadea; background: rgba(98,139,255,.08); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.entity-profile-icon .icon { width: 28px; height: 28px; }
.entity-profile-copy { position: relative; z-index: 1; min-width: 0; }
.entity-profile-copy .entity-type-label { margin-bottom: 7px; color: #6d7ba7; font-family: var(--font-mono); font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }
.entity-profile-copy h1 { margin: 0 0 7px; color: #e1e5ed; font-size: 28px; font-weight: 580; letter-spacing: -.045em; }
.entity-profile-copy p { margin: 0; color: #646e7d; font-size: 9px; }
.entity-profile-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.entity-stat-row { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.entity-stat span { display: block; color: #4f5968; font-size: 6px; }
.entity-stat strong { display: block; margin-top: 2px; color: #929baa; font-family: var(--font-mono); font-size: 8px; font-weight: 550; }
.tab-bar { display: flex; overflow-x: auto; margin-bottom: 13px; padding: 4px; border: 1px solid var(--line-subtle); border-radius: 11px; background: rgba(255,255,255,.012); }
.tab-bar button { min-width: max-content; height: 34px; padding: 0 12px; border: 0; border-radius: 8px; color: #56606f; background: transparent; cursor: pointer; font-size: 8px; }
.tab-bar button:hover { color: #9ea7b5; }
.tab-bar button.active { color: #c6ccd7; background: rgba(255,255,255,.045); }
.fact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.fact-card { min-height: 63px; padding: 11px 12px; border: 1px solid var(--line-subtle); border-radius: 10px; background: rgba(255,255,255,.01); }
.fact-card span { display: block; margin-bottom: 5px; color: #4f5968; font-size: 7px; }
.fact-card strong { color: #9099a8; font-size: 9px; font-weight: 550; }

/* Nexus application */
.nexus-app { position: relative; height: calc(100vh - 66px); margin: -28px -30px -60px; overflow: hidden; background: #07090d; }
.nexus-app::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px); background-size: 42px 42px; content: ""; }
.nexus-app-head { position: absolute; z-index: 8; top: 17px; left: 18px; display: flex; align-items: center; gap: 8px; }
.nexus-app-title { margin-right: 8px; }
.nexus-app-title strong { display: block; color: #aeb6c3; font-size: 10px; }
.nexus-app-title span { color: #4f5968; font-family: var(--font-mono); font-size: 6px; }
.nexus-floating-toolbar { position: absolute; z-index: 8; top: 17px; left: 50%; display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8,10,15,.87); box-shadow: var(--shadow-md); transform: translateX(-50%); backdrop-filter: blur(15px); }
.nexus-floating-toolbar button { display: inline-flex; height: 33px; align-items: center; gap: 6px; padding: 0 9px; border: 0; border-radius: 8px; color: #596373; background: transparent; cursor: pointer; font-size: 7px; }
.nexus-floating-toolbar button:hover { color: #aab2bf; background: rgba(255,255,255,.03); }
.nexus-floating-toolbar button.active { color: #b8c4ee; background: rgba(98,139,255,.08); }
.nexus-floating-toolbar .icon { width: 11px; height: 11px; }
.nexus-app-actions { position: absolute; z-index: 8; top: 17px; right: 18px; display: flex; gap: 7px; }
.nexus-app-svg { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.nexus-app-svg:active { cursor: grabbing; }
.nexus-app-svg .app-edge { stroke: rgba(117,132,180,.27); stroke-width: 1.1; }
.nexus-app-svg .app-edge.inferred { stroke: rgba(147,107,255,.43); stroke-dasharray: 5 6; }
.nexus-app-svg .app-edge.disputed { stroke: rgba(255,102,120,.43); stroke-dasharray: 2 5; }
.nexus-app-svg .app-edge.highlighted { stroke: var(--blue); stroke-width: 1.8; filter: drop-shadow(0 0 5px rgba(98,139,255,.5)); }
.nexus-app-svg .app-node { cursor: pointer; }
.nexus-app-svg .app-node-bg { fill: #0d1118; stroke: rgba(255,255,255,.11); stroke-width: 1; transition: stroke .18s ease, filter .18s ease; }
.nexus-app-svg .app-node:hover .app-node-bg,
.nexus-app-svg .app-node.selected .app-node-bg { stroke: rgba(98,139,255,.57); filter: drop-shadow(0 0 12px rgba(98,139,255,.24)); }
.nexus-app-svg .app-node.primary .app-node-bg { fill: #151d34; stroke: rgba(98,139,255,.47); }
.nexus-app-svg .app-node-label { fill: #b8c0cd; font-family: var(--font-sans); font-size: 10px; font-weight: 620; text-anchor: middle; }
.nexus-app-svg .app-node-meta { fill: #5f6979; font-family: var(--font-mono); font-size: 6px; text-anchor: middle; }
.graph-side-panel { position: absolute; z-index: 9; top: 65px; right: 17px; bottom: 17px; width: 330px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: rgba(8,10,15,.91); box-shadow: var(--shadow-lg); backdrop-filter: blur(18px); transform: translateX(calc(100% + 25px)); transition: transform .28s var(--ease); }
.graph-side-panel.open { transform: translateX(0); }
.graph-side-head { display: flex; height: 54px; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line-subtle); }
.graph-side-head strong { color: #aab2bf; font-size: 10px; }
.graph-close { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 8px; color: #596373; background: transparent; cursor: pointer; }
.graph-close:hover { color: #b8c0cc; background: rgba(255,255,255,.03); }
.graph-close .icon { width: 12px; height: 12px; }
.graph-side-body { height: calc(100% - 54px); overflow-y: auto; padding: 16px; }
.graph-entity-head { display: grid; align-items: center; margin-bottom: 18px; grid-template-columns: 43px minmax(0,1fr); gap: 11px; }
.graph-entity-icon { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(98,139,255,.16); border-radius: 12px; color: #8da1e5; background: rgba(98,139,255,.055); }
.graph-entity-icon .icon { width: 18px; }
.graph-entity-head h3 { margin: 0 0 3px; color: #bdc4cf; font-size: 13px; font-weight: 580; }
.graph-entity-head span { color: #56606f; font-family: var(--font-mono); font-size: 6px; }
.graph-section { padding: 15px 0; border-top: 1px solid var(--line-subtle); }
.graph-section-title { margin-bottom: 11px; color: #6f7989; font-size: 8px; font-weight: 600; }
.graph-relationship { display: grid; min-height: 48px; align-items: center; margin-bottom: 6px; padding: 8px; border: 1px solid var(--line-subtle); border-radius: 9px; grid-template-columns: 26px minmax(0,1fr) auto; gap: 8px; }
.graph-relationship-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: #7082ba; background: rgba(98,139,255,.04); }
.graph-relationship-icon .icon { width: 10px; }
.graph-relationship strong { display: block; color: #858f9e; font-size: 7px; }
.graph-relationship span { display: block; color: #4c5665; font-size: 6px; }
.graph-relationship small { color: var(--success); font-family: var(--font-mono); font-size: 6px; }
.graph-minimap { position: absolute; z-index: 7; left: 17px; bottom: 17px; width: 150px; height: 100px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: rgba(8,10,15,.85); backdrop-filter: blur(12px); }
.graph-minimap svg { width: 100%; height: 100%; opacity: .7; }
.graph-legend-app { position: absolute; z-index: 7; bottom: 17px; left: 182px; display: flex; gap: 11px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8,10,15,.85); backdrop-filter: blur(12px); }
.graph-legend-app span { display: inline-flex; align-items: center; gap: 5px; color: #515b69; font-family: var(--font-mono); font-size: 6px; }
.graph-legend-app i { width: 9px; height: 2px; background: #7381ac; }
.graph-legend-app span:nth-child(2) i { height: 1px; background: repeating-linear-gradient(90deg,#936bff 0 3px,transparent 3px 5px); }
.graph-legend-app span:nth-child(3) i { height: 1px; background: repeating-linear-gradient(90deg,#ff6678 0 2px,transparent 2px 4px); }

/* Trace / Sentinel / Watchtower */
.overview-stat-row { display: grid; margin-bottom: 13px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.overview-stat { min-height: 105px; padding: 15px; border: 1px solid var(--line-subtle); border-radius: 13px; background: rgba(255,255,255,.013); }
.overview-stat-head { display: flex; align-items: center; justify-content: space-between; color: #5e6877; font-size: 8px; }
.overview-stat-head .icon { width: 12px; color: #566678; }
.overview-stat strong { display: block; margin: 12px 0 6px; color: #d5dae3; font-size: 24px; font-weight: 580; letter-spacing: -.045em; }
.overview-stat span { color: #505a69; font-family: var(--font-mono); font-size: 6px; }
.profile-result-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.profile-card { position: relative; min-height: 195px; padding: 16px; border: 1px solid var(--line-subtle); border-radius: 13px; background: rgba(255,255,255,.012); transition: border-color .18s ease, transform .18s var(--ease); }
.profile-card:hover { transform: translateY(-2px); border-color: var(--line); }
.profile-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.platform-badge { display: inline-flex; align-items: center; gap: 7px; color: #9099a8; font-size: 8px; }
.platform-icon { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 8px; color: #788bc8; background: rgba(98,139,255,.04); font-family: var(--font-mono); font-size: 7px; }
.profile-confidence { color: var(--success); font-family: var(--font-mono); font-size: 7px; }
.profile-card h3 { margin: 0 0 5px; color: #abb3c0; font-size: 12px; font-weight: 570; }
.profile-card p { margin: 0 0 17px; color: #535d6c; font-size: 8px; line-height: 1.5; }
.profile-card-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-card-meta span { padding: 4px 7px; border: 1px solid var(--line-subtle); border-radius: 6px; color: #56606f; font-family: var(--font-mono); font-size: 6px; }

.risk-distribution { display: grid; min-height: 250px; align-items: center; padding: 20px; grid-template-columns: 180px minmax(0,1fr); gap: 25px; }
.donut-large { position: relative; display: grid; width: 158px; height: 158px; place-items: center; border-radius: 50%; background: conic-gradient(var(--danger) 0 14%,var(--warning) 14% 42%,var(--blue) 42% 69%,rgba(255,255,255,.09) 69% 100%); }
.donut-large::before { position: absolute; inset: 17px; border-radius: 50%; background: #0a0d12; content: ""; }
.donut-content { position: relative; z-index: 1; text-align: center; }
.donut-content strong { display: block; color: #d9dde5; font-size: 31px; font-weight: 580; letter-spacing: -.05em; }
.donut-content span { color: #596373; font-family: var(--font-mono); font-size: 6px; text-transform: uppercase; }
.distribution-legend { display: grid; gap: 11px; }
.distribution-item { display: grid; align-items: center; grid-template-columns: 8px minmax(0,1fr) auto; gap: 9px; color: #626c7b; font-size: 8px; }
.distribution-item i { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.distribution-item:nth-child(2) i { background: var(--warning); }
.distribution-item:nth-child(3) i { background: var(--blue); }
.distribution-item:nth-child(4) i { background: #555e6c; }
.distribution-item strong { color: #929baa; font-family: var(--font-mono); font-size: 7px; font-weight: 550; }
.indicator-list { display: grid; }
.indicator-row { display: grid; min-height: 65px; align-items: center; padding: 10px 15px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 36px minmax(0,1.3fr) .65fr .5fr .5fr auto; gap: 11px; cursor: pointer; transition: background .16s ease; }
.indicator-row:hover { background: rgba(255,255,255,.018); }
.indicator-row:last-child { border-bottom: 0; }
.indicator-icon { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 10px; color: #8092cc; background: rgba(98,139,255,.04); }
.indicator-icon .icon { width: 14px; }
.indicator-main strong { display: block; color: #a5adba; font-size: 9px; font-weight: 560; }
.indicator-main span { color: #505a69; font-family: var(--font-mono); font-size: 6px; }
.indicator-cell span { display: block; margin-bottom: 3px; color: #444d5b; font-size: 6px; }
.indicator-cell strong { color: #7d8796; font-family: var(--font-mono); font-size: 7px; font-weight: 550; }

.watchlist-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 13px; }
.watchlist-card { min-height: 168px; padding: 16px; border: 1px solid var(--line-subtle); border-radius: 14px; background: rgba(255,255,255,.012); cursor: pointer; transition: border-color .18s ease, transform .18s var(--ease); }
.watchlist-card:hover { transform: translateY(-2px); border-color: var(--line); }
.watchlist-card-head { display: flex; align-items: start; justify-content: space-between; margin-bottom: 19px; }
.watchlist-type { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(98,139,255,.14); border-radius: 10px; color: #8093d1; background: rgba(98,139,255,.045); }
.watchlist-type .icon { width: 14px; }
.watchlist-card h3 { margin: 0 0 4px; color: #a8b0bd; font-size: 11px; font-weight: 570; }
.watchlist-card > p { margin: 0; color: #4f5968; font-size: 7px; }
.watchlist-card-stats { display: flex; gap: 23px; margin-top: 19px; padding-top: 13px; border-top: 1px solid var(--line-subtle); }
.watchlist-card-stat span { display: block; color: #454e5c; font-size: 6px; }
.watchlist-card-stat strong { display: block; margin-top: 3px; color: #7d8796; font-family: var(--font-mono); font-size: 8px; font-weight: 550; }
.alert-feed { display: grid; }
.alert-row { display: grid; min-height: 77px; align-items: center; padding: 11px 15px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 39px minmax(0,1fr) 140px 90px 95px auto; gap: 12px; cursor: pointer; transition: background .16s ease; }
.alert-row:hover { background: rgba(255,255,255,.018); }
.alert-row:last-child { border-bottom: 0; }
.alert-severity-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(243,201,105,.13); border-radius: 11px; color: var(--warning); background: rgba(243,201,105,.045); }
.alert-severity-icon.high { color: var(--danger); border-color: rgba(255,102,120,.13); background: rgba(255,102,120,.045); }
.alert-severity-icon.info { color: var(--blue); border-color: rgba(98,139,255,.13); background: rgba(98,139,255,.045); }
.alert-severity-icon .icon { width: 15px; }
.alert-main strong { display: block; margin-bottom: 3px; color: #a5adba; font-size: 9px; font-weight: 560; }
.alert-main p { margin: 0; color: #4e5867; font-size: 7px; }
.alert-cell span { display: block; margin-bottom: 3px; color: #424b59; font-size: 6px; }
.alert-cell strong { color: #7d8796; font-family: var(--font-mono); font-size: 7px; font-weight: 550; }

/* Cases */
.case-board { display: grid; grid-template-columns: repeat(4,minmax(260px,1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.case-column { min-width: 260px; }
.case-column-head { display: flex; height: 43px; align-items: center; justify-content: space-between; padding: 0 10px; color: #77818f; font-size: 8px; font-weight: 600; }
.case-column-head span { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 7px; color: #5d6776; background: rgba(255,255,255,.035); font-family: var(--font-mono); font-size: 6px; }
.case-column-body { display: grid; gap: 8px; }
.case-board-card { padding: 14px; border: 1px solid var(--line-subtle); border-radius: 12px; background: rgba(255,255,255,.013); cursor: pointer; transition: border-color .18s ease, transform .18s var(--ease); }
.case-board-card:hover { transform: translateY(-2px); border-color: var(--line); }
.case-board-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.case-board-card-id { color: #7086c7; font-family: var(--font-mono); font-size: 6px; }
.case-board-card h3 { margin: 0 0 6px; color: #9fa7b4; font-size: 10px; font-weight: 560; line-height: 1.4; }
.case-board-card p { margin: 0; color: #4f5968; font-size: 7px; line-height: 1.5; }
.case-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 13px 0; }
.case-tag { padding: 4px 6px; border: 1px solid var(--line-subtle); border-radius: 6px; color: #586271; font-family: var(--font-mono); font-size: 5px; }
.case-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line-subtle); }
.case-owner-stack { display: flex; }
.case-owner-mini { display: grid; width: 22px; height: 22px; margin-left: -4px; place-items: center; border: 2px solid #0a0c11; border-radius: 7px; color: #a5b0d4; background: #182238; font-size: 5px; }
.case-owner-mini:first-child { margin-left: 0; }
.case-due { color: #4f5968; font-family: var(--font-mono); font-size: 6px; }

.case-profile-head { margin-bottom: 13px; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg,rgba(98,139,255,.055),rgba(255,255,255,.012)); }
.case-profile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.case-profile-id { margin-bottom: 9px; color: #7388ca; font-family: var(--font-mono); font-size: 7px; letter-spacing: .08em; }
.case-profile-head h1 { margin: 0 0 8px; color: #dce1e9; font-size: 26px; font-weight: 570; letter-spacing: -.04em; }
.case-profile-head p { max-width: 800px; margin: 0; color: #626c7b; font-size: 9px; line-height: 1.6; }
.case-profile-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.case-meta-grid { display: grid; margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line-subtle); grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; }
.case-meta-item span { display: block; margin-bottom: 4px; color: #46505e; font-size: 6px; }
.case-meta-item strong { display: block; overflow: hidden; color: #858f9e; font-size: 8px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.finding-list { display: grid; gap: 8px; }
.finding-row { display: grid; min-height: 75px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-subtle); border-radius: 10px; background: rgba(255,255,255,.009); grid-template-columns: 33px minmax(0,1fr) auto; gap: 11px; }
.finding-severity { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid rgba(243,201,105,.12); border-radius: 9px; color: var(--warning); background: rgba(243,201,105,.04); }
.finding-severity.high { color: var(--danger); border-color: rgba(255,102,120,.12); background: rgba(255,102,120,.04); }
.finding-severity .icon { width: 13px; height: 13px; }
.finding-row h4 { margin: 0 0 3px; color: #979fad; font-size: 9px; font-weight: 560; }
.finding-row p { margin: 0; color: #4f5968; font-size: 7px; }
.finding-row-meta { text-align: right; }
.finding-row-meta strong { display: block; color: var(--success); font-family: var(--font-mono); font-size: 7px; }
.finding-row-meta span { color: #444d5b; font-size: 6px; }
.timeline { position: relative; padding: 4px 0; }
.timeline::before { position: absolute; top: 9px; bottom: 9px; left: 14px; width: 1px; background: var(--line); content: ""; }
.timeline-item { position: relative; display: grid; min-height: 66px; padding: 6px 0; grid-template-columns: 29px minmax(0,1fr) auto; gap: 11px; }
.timeline-dot { position: relative; z-index: 1; display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #7688bf; background: #0b0e14; }
.timeline-dot .icon { width: 11px; height: 11px; }
.timeline-copy strong { display: block; margin-bottom: 3px; color: #8e97a5; font-size: 8px; font-weight: 550; }
.timeline-copy p { margin: 0; color: #4d5766; font-size: 7px; }
.timeline-item time { color: #454e5c; font-family: var(--font-mono); font-size: 6px; }

/* Reports */
.report-list-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.report-card { min-height: 230px; overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 14px; background: rgba(255,255,255,.012); cursor: pointer; transition: border-color .18s ease, transform .18s var(--ease); }
.report-card:hover { transform: translateY(-2px); border-color: var(--line); }
.report-card-preview { position: relative; height: 120px; overflow: hidden; background: #101319; }
.report-card-preview::before { position: absolute; top: 18px; left: 50%; width: 116px; height: 150px; border-radius: 3px; background: #e9eaec; box-shadow: 0 10px 30px rgba(0,0,0,.3); transform: translateX(-50%); content: ""; }
.report-card-preview::after { position: absolute; top: 31px; left: 50%; width: 84px; height: 7px; border-radius: 2px; background: #1a1d24; box-shadow: 0 14px 0 #b8bdc5,0 23px 0 #d0d3d8,0 32px 0 #d0d3d8,0 41px 0 #d0d3d8; transform: translateX(-50%); content: ""; }
.report-card-body { padding: 15px; }
.report-card-body h3 { margin: 0 0 5px; color: #a6aebb; font-size: 10px; font-weight: 560; }
.report-card-body p { margin: 0 0 14px; color: #4e5867; font-size: 7px; }
.report-card-meta { display: flex; align-items: center; justify-content: space-between; color: #4c5665; font-family: var(--font-mono); font-size: 6px; }
.report-builder { display: grid; height: calc(100vh - 66px - 56px); min-height: 680px; margin: -28px -30px -60px; grid-template-columns: 230px minmax(0,1fr) 290px; }
.report-builder-side { overflow-y: auto; border-right: 1px solid var(--line-subtle); background: #080a0e; }
.report-builder-side.right { border-right: 0; border-left: 1px solid var(--line-subtle); }
.builder-side-head { display: flex; height: 55px; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line-subtle); }
.builder-side-head strong { color: #8f98a7; font-size: 9px; }
.builder-section-list { padding: 9px; }
.builder-section-item { display: grid; min-height: 39px; align-items: center; padding: 0 9px; border-radius: 9px; color: #596373; grid-template-columns: 19px minmax(0,1fr) auto; gap: 8px; cursor: pointer; font-size: 8px; }
.builder-section-item:hover { color: #9ca5b3; background: rgba(255,255,255,.02); }
.builder-section-item.active { color: #bbc4d3; background: rgba(98,139,255,.07); }
.builder-section-index { color: #46505f; font-family: var(--font-mono); font-size: 6px; }
.builder-section-item.active .builder-section-index { color: #7f94d2; }
.drag-dots { color: #414a58; }
.drag-dots .icon { width: 10px; height: 10px; }
.builder-canvas { min-width: 0; overflow: auto; padding: 28px; background: #12151b; }
.builder-paper { width: min(760px,100%); min-height: 1060px; margin: 0 auto; border-radius: 3px; color: #17191e; background: #f4f4f3; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.builder-paper-head { display: flex; min-height: 155px; align-items: center; justify-content: space-between; padding: 36px 43px; background: #0c0f15; color: #fff; }
.builder-report-brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: .18em; }
.builder-report-brand img { width: 38px; height: 38px; }
.builder-classification { color: #a8b0be; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; }
.builder-paper-body { padding: 45px; }
.builder-paper-kicker { color: #6b7280; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.builder-paper h1 { max-width: 580px; margin: 16px 0 12px; font-size: 36px; line-height: 1.08; letter-spacing: -.045em; }
.builder-paper-meta { color: #727782; font-size: 9px; }
.builder-paper hr { height: 1px; margin: 35px 0; border: 0; background: #d9dce0; }
.builder-paper h2 { margin: 0 0 16px; font-size: 17px; }
.builder-paper p { color: #555b65; font-size: 10px; line-height: 1.8; }
.builder-finding { margin: 17px 0; padding: 17px; border: 1px solid #d8dbe0; border-radius: 8px; }
.builder-finding-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.builder-finding-head strong { font-size: 11px; }
.builder-finding-risk { padding: 5px 8px; border-radius: 99px; color: #9e3d4a; background: #f4dce0; font-size: 7px; }
.builder-side-body { padding: 14px; }
.property-field { margin-bottom: 15px; }
.property-field label { display: block; margin-bottom: 6px; color: #596373; font-size: 7px; }
.property-field input,
.property-field select,
.property-field textarea { width: 100%; min-height: 36px; padding: 8px 9px; border: 1px solid var(--line-subtle); border-radius: 9px; outline: 0; color: #939cab; background: rgba(255,255,255,.014); font-size: 8px; }
.property-field textarea { min-height: 90px; resize: vertical; }
.property-field input:focus,
.property-field select:focus,
.property-field textarea:focus { border-color: rgba(98,139,255,.35); }

/* AI app */
.ai-app-layout { display: grid; height: calc(100vh - 66px); margin: -28px -30px -60px; grid-template-columns: 230px minmax(0,1fr) 300px; }
.ai-app-side { min-width: 0; overflow-y: auto; border-right: 1px solid var(--line-subtle); background: #080a0e; }
.ai-app-side.right { border-right: 0; border-left: 1px solid var(--line-subtle); }
.ai-app-side-head { display: flex; height: 57px; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line-subtle); }
.ai-app-side-head strong { color: #8f98a7; font-size: 9px; }
.ai-app-sidebar-body { padding: 10px; }
.ai-new-chat { display: flex; width: 100%; height: 38px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; color: #8a94a3; background: rgba(255,255,255,.02); cursor: pointer; font-size: 8px; }
.ai-new-chat:hover { color: #c1c7d1; background: rgba(255,255,255,.035); }
.ai-new-chat .icon { width: 12px; }
.ai-history-label { margin: 18px 8px 6px; color: #414a58; font-family: var(--font-mono); font-size: 6px; letter-spacing: .1em; text-transform: uppercase; }
.ai-history-item { display: block; padding: 9px 10px; border-radius: 8px; color: #5b6574; font-size: 7px; line-height: 1.4; }
.ai-history-item:hover { color: #929baa; background: rgba(255,255,255,.018); }
.ai-history-item.active { color: #a9b2c1; background: rgba(98,139,255,.065); }
.ai-app-main { display: grid; min-width: 0; min-height: 0; grid-template-rows: 57px minmax(0,1fr) auto; }
.ai-app-head { display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line-subtle); }
.ai-app-head-copy strong { display: block; color: #9ea7b5; font-size: 9px; }
.ai-app-head-copy span { display: block; color: #4e5867; font-family: var(--font-mono); font-size: 6px; }
.ai-app-head-actions { display: flex; gap: 6px; }
.ai-app-messages { min-height: 0; overflow-y: auto; padding: 30px max(28px,7vw); }
.ai-welcome { max-width: 720px; margin: 9vh auto 0; text-align: center; }
.ai-welcome-mark { display: grid; width: 68px; height: 68px; margin: 0 auto 22px; place-items: center; border: 1px solid rgba(98,139,255,.18); border-radius: 21px; background: rgba(98,139,255,.055); box-shadow: 0 0 60px rgba(98,139,255,.08); }
.ai-welcome-mark img { width: 35px; height: 35px; }
.ai-welcome h1 { margin: 0 0 10px; color: #d9dee7; font-size: 31px; font-weight: 570; letter-spacing: -.045em; }
.ai-welcome p { max-width: 580px; margin: 0 auto 28px; color: #626c7b; font-size: 10px; line-height: 1.7; }
.ai-quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; text-align: left; }
.ai-quick-card { min-height: 75px; padding: 13px; border: 1px solid var(--line-subtle); border-radius: 11px; background: rgba(255,255,255,.01); cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.ai-quick-card:hover { border-color: var(--line); background: rgba(255,255,255,.02); }
.ai-quick-card .icon { width: 13px; margin-bottom: 10px; color: #798bc7; }
.ai-quick-card strong { display: block; margin-bottom: 3px; color: #858f9e; font-size: 8px; font-weight: 550; }
.ai-quick-card span { color: #4b5564; font-size: 7px; }
.ai-chat-message { display: grid; max-width: 840px; margin: 0 auto 25px; grid-template-columns: 31px minmax(0,1fr); gap: 12px; }
.ai-chat-avatar { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #8297d8; background: rgba(98,139,255,.055); font-size: 8px; font-weight: 700; }
.ai-chat-message.user .ai-chat-avatar { color: #969eab; background: rgba(255,255,255,.025); }
.ai-chat-body .author { margin-bottom: 7px; color: #a0a8b5; font-size: 8px; font-weight: 620; }
.ai-chat-body > p { margin: 0 0 11px; color: #7a8494; font-size: 10px; line-height: 1.7; }
.ai-analysis-block { margin: 13px 0; padding: 13px; border: 1px solid var(--line-subtle); border-radius: 10px; background: rgba(255,255,255,.01); }
.ai-analysis-block h4 { margin: 0 0 8px; color: #929baa; font-size: 8px; }
.ai-analysis-block ul { margin: 0; padding-left: 17px; color: #626c7b; font-size: 8px; line-height: 1.75; }
.ai-source-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.ai-source-chip { display: inline-flex; height: 25px; align-items: center; gap: 5px; padding: 0 7px; border: 1px solid rgba(98,139,255,.16); border-radius: 7px; color: #7387c8; background: rgba(98,139,255,.04); cursor: pointer; font-family: var(--font-mono); font-size: 6px; }
.ai-source-chip:hover { border-color: rgba(98,139,255,.3); color: #9cace1; }
.ai-composer-app-wrap { padding: 14px max(24px,7vw) 20px; background: linear-gradient(transparent,rgba(8,10,14,.95) 24%); }
.ai-composer-app { max-width: 840px; margin: 0 auto; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: #0b0e14; box-shadow: 0 15px 50px rgba(0,0,0,.22); }
.ai-composer-app textarea { width: 100%; min-height: 54px; max-height: 160px; padding: 7px 8px; border: 0; outline: 0; resize: none; color: #b3bac6; background: transparent; font-size: 10px; line-height: 1.55; }
.ai-composer-app textarea::placeholder { color: #48515f; }
.ai-composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ai-composer-tools { display: flex; gap: 5px; }
.ai-composer-tool { display: inline-flex; height: 29px; align-items: center; gap: 5px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; color: #56606f; background: transparent; cursor: pointer; font-size: 7px; }
.ai-composer-tool:hover { color: #8e97a5; border-color: var(--line-subtle); background: rgba(255,255,255,.018); }
.ai-composer-tool .icon { width: 10px; height: 10px; }
.ai-send { display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(135deg,var(--blue),var(--violet)); cursor: pointer; }
.ai-send .icon { width: 12px; height: 12px; }
.ai-context-body { padding: 14px; }
.context-card { margin-bottom: 10px; padding: 12px; border: 1px solid var(--line-subtle); border-radius: 10px; background: rgba(255,255,255,.01); }
.context-card-label { margin-bottom: 7px; color: #4c5665; font-family: var(--font-mono); font-size: 6px; letter-spacing: .08em; text-transform: uppercase; }
.context-card strong { display: block; color: #8e97a5; font-size: 8px; font-weight: 550; }
.context-card p { margin: 4px 0 0; color: #505a69; font-size: 7px; line-height: 1.5; }
.tool-allow-list { display: grid; gap: 6px; }
.tool-allow-row { display: flex; min-height: 33px; align-items: center; justify-content: space-between; padding: 0 8px; border: 1px solid var(--line-subtle); border-radius: 8px; color: #657080; font-size: 7px; }
.toggle { position: relative; width: 27px; height: 15px; border-radius: 99px; background: #222a34; cursor: pointer; }
.toggle::after { position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #657080; transition: left .18s ease, background .18s ease; content: ""; }
.toggle.on { background: rgba(98,139,255,.25); }
.toggle.on::after { left: 14px; background: var(--blue); }

/* Referrals / settings */
.referral-hero { position: relative; min-height: 260px; overflow: hidden; margin-bottom: 13px; padding: 29px; border: 1px solid rgba(98,139,255,.19); border-radius: 18px; background: linear-gradient(135deg,rgba(98,139,255,.08),rgba(147,107,255,.035) 50%,rgba(255,255,255,.012)); }
.referral-hero::after { position: absolute; top: -210px; right: -110px; width: 500px; height: 500px; border: 1px solid rgba(98,139,255,.1); border-radius: 50%; content: ""; }
.referral-hero-content { position: relative; z-index: 1; max-width: 770px; }
.referral-hero h2 { margin: 12px 0 8px; color: #e0e4eb; font-size: 30px; font-weight: 570; letter-spacing: -.045em; }
.referral-hero p { max-width: 660px; margin: 0; color: #6f7988; font-size: 10px; line-height: 1.7; }
.referral-link-box { display: grid; max-width: 680px; min-height: 49px; margin-top: 22px; align-items: center; padding: 6px 6px 6px 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(5,7,10,.55); grid-template-columns: minmax(0,1fr) auto auto; gap: 6px; }
.referral-link-box code { overflow: hidden; color: #93a3d7; font-family: var(--font-mono); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.referral-level { padding: 18px; }
.level-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.level-head strong { color: #9ea7b4; font-size: 10px; }
.level-head span { color: #7185c5; font-family: var(--font-mono); font-size: 7px; }
.level-progress-track { height: 6px; overflow: hidden; margin-bottom: 10px; border-radius: 99px; background: rgba(255,255,255,.05); }
.level-progress-track span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet),var(--cyan)); }
.level-markers { display: flex; justify-content: space-between; color: #4a5361; font-family: var(--font-mono); font-size: 6px; }
.reward-list { display: grid; }
.reward-row { display: grid; min-height: 62px; align-items: center; padding: 10px 15px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 34px minmax(0,1fr) .7fr .6fr auto; gap: 11px; }
.reward-row:last-child { border-bottom: 0; }
.reward-icon { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid rgba(98,139,255,.14); border-radius: 10px; color: #8194d2; background: rgba(98,139,255,.045); }
.reward-icon .icon { width: 13px; }
.reward-main strong { display: block; color: #959eac; font-size: 8px; font-weight: 550; }
.reward-main span { color: #4e5867; font-size: 6px; }
.reward-cell span { display: block; color: #444d5b; font-size: 6px; }
.reward-cell strong { color: #7d8796; font-family: var(--font-mono); font-size: 7px; font-weight: 550; }

.settings-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 13px; align-items: start; }
.settings-nav { position: sticky; top: 13px; padding: 8px; border: 1px solid var(--line-subtle); border-radius: 13px; background: rgba(255,255,255,.012); }
.settings-nav a { display: flex; min-height: 37px; align-items: center; gap: 9px; padding: 0 9px; border-radius: 9px; color: #596373; font-size: 8px; }
.settings-nav a:hover { color: #9fa7b4; background: rgba(255,255,255,.018); }
.settings-nav a.active { color: #bdc5d1; background: rgba(98,139,255,.07); }
.settings-nav .icon { width: 12px; height: 12px; }
.settings-section { padding: 20px; border-bottom: 1px solid var(--line-subtle); }
.settings-section:last-child { border-bottom: 0; }
.settings-section-head { margin-bottom: 18px; }
.settings-section-head h2 { margin: 0 0 5px; color: #aeb6c3; font-size: 14px; font-weight: 580; }
.settings-section-head p { margin: 0; color: #535d6c; font-size: 8px; }
.setting-row { display: grid; min-height: 66px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-subtle); grid-template-columns: minmax(0,1fr) auto; gap: 20px; }
.setting-row:first-of-type { border-top: 0; }
.setting-copy strong { display: block; color: #8f98a6; font-size: 9px; font-weight: 550; }
.setting-copy span { display: block; margin-top: 3px; color: #4f5968; font-size: 7px; line-height: 1.5; }
.device-list { display: grid; gap: 7px; }
.device-row { display: grid; min-height: 58px; align-items: center; padding: 9px 11px; border: 1px solid var(--line-subtle); border-radius: 10px; grid-template-columns: 32px minmax(0,1fr) auto; gap: 10px; }
.device-icon { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 9px; color: #7183bd; background: rgba(98,139,255,.035); }
.device-icon .icon { width: 13px; }
.device-copy strong { display: block; color: #8d96a5; font-size: 8px; font-weight: 550; }
.device-copy span { color: #4d5766; font-size: 6px; }
.device-state { color: var(--success); font-family: var(--font-mono); font-size: 6px; }

/* Authentication */
.auth-page { display: grid; min-height: 100vh; background: #050608; grid-template-columns: minmax(0,1.08fr) minmax(440px,.92fr); }
.auth-visual { position: relative; display: flex; min-height: 100vh; overflow: hidden; align-items: center; justify-content: center; padding: 70px; border-right: 1px solid var(--line-subtle); background: radial-gradient(circle at 50% 45%,rgba(98,139,255,.11),transparent 38%),#07090d; }
.auth-visual::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.019) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.019) 1px,transparent 1px); background-size: 58px 58px; content: ""; }
.auth-orbit { position: absolute; width: min(590px,70vw); height: min(590px,70vw); border: 1px solid rgba(98,139,255,.1); border-radius: 50%; animation: orbit-rotate 35s linear infinite; }
.auth-orbit::before { position: absolute; inset: 75px; border: 1px dashed rgba(147,107,255,.12); border-radius: 50%; content: ""; }
.auth-orbit::after { position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 16px var(--blue); content: ""; }
.auth-visual-content { position: relative; z-index: 2; max-width: 650px; text-align: center; }
.auth-mark { display: grid; width: 104px; height: 104px; margin: 0 auto 33px; place-items: center; border: 1px solid rgba(98,139,255,.18); border-radius: 32px; background: rgba(10,13,19,.84); box-shadow: 0 0 90px rgba(98,139,255,.14); backdrop-filter: blur(16px); }
.auth-mark img { width: 61px; height: 61px; }
.auth-visual h1 { margin: 0 0 14px; font-size: clamp(42px,5vw,70px); font-weight: 540; letter-spacing: -.06em; line-height: .98; }
.auth-visual p { max-width: 520px; margin: 0 auto; color: #687282; font-size: 13px; line-height: 1.75; }
.auth-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 30px; }
.auth-proof span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line-subtle); border-radius: 999px; color: #5a6473; font-family: var(--font-mono); font-size: 6px; letter-spacing: .06em; text-transform: uppercase; }
.auth-proof .icon { width: 10px; height: 10px; color: #7185c7; }
.auth-form-side { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 55px; background: #080a0e; }
.auth-form-wrap { width: min(420px,100%); }
.auth-mobile-brand { display: none; }
.auth-form-head { margin-bottom: 29px; }
.auth-form-head .eyebrow { margin-bottom: 18px; }
.auth-form-head h2 { margin: 0 0 8px; color: #e1e5ec; font-size: 30px; font-weight: 570; letter-spacing: -.045em; }
.auth-form-head p { margin: 0; color: #5e6877; font-size: 10px; }
.oauth-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.oauth-btn { display: flex; height: 43px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 11px; color: #858f9e; background: rgba(255,255,255,.015); cursor: pointer; font-size: 9px; }
.oauth-btn:hover { color: #bdc4cf; background: rgba(255,255,255,.027); }
.oauth-icon { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 5px; color: #aab3c3; background: rgba(255,255,255,.04); font-family: var(--font-mono); font-size: 7px; font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 11px; margin: 22px 0; color: #414a58; font-family: var(--font-mono); font-size: 6px; letter-spacing: .08em; text-transform: uppercase; }
.auth-divider::before,
.auth-divider::after { height: 1px; flex: 1; background: var(--line-subtle); content: ""; }
.form-field { margin-bottom: 15px; }
.form-field label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: #727c8b; font-size: 8px; }
.form-field label a { color: #7d91d2; }
.input-shell { display: grid; height: 44px; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.012); grid-template-columns: auto minmax(0,1fr) auto; gap: 9px; transition: border-color .18s ease, box-shadow .18s ease; }
.input-shell:focus-within { border-color: rgba(98,139,255,.42); box-shadow: 0 0 0 3px rgba(98,139,255,.045); }
.input-shell .icon { width: 13px; color: #4e5968; }
.input-shell input { width: 100%; min-width: 0; border: 0; outline: 0; color: #aeb6c3; background: transparent; font-size: 9px; }
.input-shell input::placeholder { color: #3f4856; }
.password-toggle { border: 0; color: #4e5867; background: transparent; cursor: pointer; }
.password-toggle .icon { width: 12px; }
.form-check-row { display: flex; align-items: center; justify-content: space-between; margin: 17px 0 20px; color: #596373; font-size: 8px; }
.form-check-row label { display: flex; align-items: center; gap: 7px; }
.form-check-row input { accent-color: var(--blue); }
.auth-submit { width: 100%; }
.auth-footer-copy { margin-top: 22px; color: #596373; font-size: 8px; text-align: center; }
.auth-footer-copy a { color: #8697ce; }
.auth-security-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 28px; color: #454e5c; font-family: var(--font-mono); font-size: 6px; }
.auth-security-note .icon { width: 10px; }

/* Modal, palette and toasts */
.modal-backdrop { position: fixed; z-index: 200; inset: 0; display: grid; padding: 20px; place-items: center; background: rgba(0,0,0,.66); backdrop-filter: blur(9px); animation: fade-in .2s ease; }
@keyframes fade-in { from { opacity: 0; } }
.modal { width: min(560px,100%); overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #0a0d12; box-shadow: 0 35px 100px rgba(0,0,0,.55); animation: modal-in .25s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.modal-head { display: flex; min-height: 59px; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid var(--line-subtle); }
.modal-head strong { color: #adb5c2; font-size: 11px; }
.modal-close { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 8px; color: #5c6675; background: transparent; cursor: pointer; }
.modal-close:hover { color: #b9c0cc; background: rgba(255,255,255,.025); }
.modal-close .icon { width: 12px; }
.modal-body { padding: 18px; }
.modal-foot { display: flex; min-height: 61px; align-items: center; justify-content: flex-end; gap: 7px; padding: 0 17px; border-top: 1px solid var(--line-subtle); }
.command-palette { width: min(680px,100%); align-self: start; margin-top: min(13vh,115px); }
.palette-search { display: flex; height: 57px; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line-subtle); }
.palette-search .icon { width: 16px; color: #6b7ebb; }
.palette-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #bdc4cf; background: transparent; font-size: 12px; }
.palette-search input::placeholder { color: #47515f; }
.palette-search kbd { padding: 3px 7px; border: 1px solid var(--line-subtle); border-radius: 6px; color: #525c6b; font-family: var(--font-mono); font-size: 6px; }
.palette-results { max-height: 430px; overflow-y: auto; padding: 8px; }
.palette-group-label { padding: 9px 9px 5px; color: #414a58; font-family: var(--font-mono); font-size: 6px; letter-spacing: .1em; text-transform: uppercase; }
.palette-item { display: grid; min-height: 43px; align-items: center; padding: 0 10px; border-radius: 9px; color: #687282; grid-template-columns: 27px minmax(0,1fr) auto; gap: 9px; cursor: pointer; font-size: 9px; }
.palette-item:hover,
.palette-item.active { color: #b8c0cc; background: rgba(98,139,255,.065); }
.palette-item-icon { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 8px; color: #7285c0; background: rgba(98,139,255,.035); }
.palette-item-icon .icon { width: 11px; }
.palette-item kbd { color: #4b5564; font-family: var(--font-mono); font-size: 6px; }
.palette-foot { display: flex; height: 39px; align-items: center; gap: 13px; padding: 0 15px; border-top: 1px solid var(--line-subtle); color: #424b59; font-size: 6px; }
.palette-foot span { display: inline-flex; align-items: center; gap: 5px; }
.palette-foot kbd { padding: 2px 5px; border: 1px solid var(--line-subtle); border-radius: 5px; font-family: var(--font-mono); }
.toast-region { position: fixed; z-index: 400; right: 18px; bottom: 18px; display: grid; width: min(360px,calc(100vw - 36px)); gap: 8px; pointer-events: none; }
.toast { display: grid; min-height: 57px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11,14,20,.93); box-shadow: var(--shadow-md); grid-template-columns: 29px minmax(0,1fr); gap: 10px; pointer-events: auto; backdrop-filter: blur(16px); animation: toast-in .3s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translateX(18px); } }
.toast.out { opacity: 0; transform: translateX(15px); transition: all .22s ease; }
.toast-icon { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(69,217,154,.15); border-radius: 9px; color: var(--success); background: rgba(69,217,154,.045); }
.toast-icon.warning { color: var(--warning); border-color: rgba(243,201,105,.15); background: rgba(243,201,105,.045); }
.toast-icon.danger { color: var(--danger); border-color: rgba(255,102,120,.15); background: rgba(255,102,120,.045); }
.toast-icon .icon { width: 12px; }
.toast-copy strong { display: block; color: #9ea7b4; font-size: 8px; font-weight: 560; }
.toast-copy span { display: block; margin-top: 2px; color: #535d6c; font-size: 7px; line-height: 1.4; }

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

/* Responsive */
@media (max-width: 1280px) {
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(430px,.9fr); gap: 46px; }
  .hero h1 { font-size: clamp(56px,6.5vw,88px); }
  .hero-product { min-height: 590px; }
  .hero-float-card.one { right: -14px; }
  .hero-float-card.two { left: -18px; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1.5fr repeat(3,1fr); }
  .footer-col:nth-last-child(-n+2) { margin-top: 18px; }
  .metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .search-layout { grid-template-columns: 200px minmax(0,1fr); }
  .intel-drawer { position: static; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .intel-drawer > .app-panel { height: 100%; }
  .ai-showcase { grid-template-columns: 210px minmax(0,1fr) 270px; }
  .report-builder { grid-template-columns: 210px minmax(0,1fr) 260px; }
  .ai-app-layout { grid-template-columns: 210px minmax(0,1fr) 270px; }
}

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-header-inner { grid-template-columns: auto 1fr auto; }
  .mobile-menu-btn { display: grid; }
  .site-header-actions .system-status,
  .site-header-actions .btn-secondary { display: none; }
  .hero { padding-top: 76px; }
  .hero-inner { display: block; }
  .hero-copy { max-width: 820px; }
  .hero h1 { max-width: 900px; font-size: clamp(62px,10vw,104px); }
  .hero-product-wrap { width: min(760px,100%); margin: 75px auto 0; }
  .hero-product { transform: none; }
  .hero-product-wrap:hover .hero-product { transform: translateY(-3px); }
  .section-head.split { grid-template-columns: 1fr; gap: 22px; }
  .section-head.split .section-copy { justify-self: start; }
  .workflow-layout { grid-template-columns: 1fr; }
  .workflow-steps { display: grid; grid-template-columns: repeat(2,1fr); }
  .workflow-screen { position: relative; top: auto; }
  .module-card.large,
  .module-card.medium,
  .module-card.small,
  .module-card.wide { grid-column: span 6; }
  .ai-showcase { grid-template-columns: 190px minmax(0,1fr); }
  .ai-showcase-side.right { display: none; }
  .watchtower-showcase { grid-template-columns: 1fr; gap: 50px; }
  .report-showcase { grid-template-columns: 1fr; gap: 30px; }
  .report-stack { width: 600px; max-width: 100%; margin: 0 auto; }
  .responsible-grid { grid-template-columns: repeat(2,1fr); }
  .solution-panel.active { grid-template-columns: 1fr; }
  .solution-visual { min-height: 420px; border-top: 1px solid var(--line-subtle); border-left: 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 45px; }
  .faq-sticky { position: relative; top: auto; }
  .footer-top { grid-template-columns: 1.4fr repeat(2,1fr); }
  .app-shell { grid-template-columns: var(--sidebar-mini) minmax(0,1fr); }
  .app-shell .brand-word,
  .app-shell .sidebar-collapse,
  .app-shell .workspace-copy,
  .app-shell .workspace-chevron,
  .app-shell .app-nav-label,
  .app-shell .app-nav-link > span:not(.nav-badge),
  .app-shell .app-nav-link .nav-badge,
  .app-shell .sidebar-usage,
  .app-shell .user-copy,
  .app-shell .user-more { display: none; }
  .app-shell .app-sidebar-head { justify-content: center; padding: 0; }
  .app-shell .sidebar-workspace { display: flex; min-height: 52px; margin: 12px; align-items: center; justify-content: center; padding: 0; }
  .app-shell .app-nav { padding-inline: 11px; }
  .app-shell .app-nav-group { margin-top: 12px; }
  .app-shell .app-nav-link { display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 0; }
  .app-shell .app-nav-link.active::before { left: -11px; }
  .app-shell .sidebar-user { display: flex; justify-content: center; padding: 7px 0; }
  .app-scroll::before { left: var(--sidebar-mini); }
  .app-grid.command,
  .app-grid.asymmetric { grid-template-columns: 1fr; }
  .brief-content { grid-template-columns: minmax(0,1fr) 200px; }
  .search-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: none; }
  .intel-drawer { grid-column: auto; }
  .profile-result-grid,
  .watchlist-card-grid,
  .report-list-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-builder { grid-template-columns: 190px minmax(0,1fr); }
  .report-builder-side.right { display: none; }
  .ai-app-layout { grid-template-columns: 190px minmax(0,1fr); }
  .ai-app-side.right { display: none; }
  .case-meta-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .indicator-row { grid-template-columns: 36px minmax(0,1.3fr) .6fr .5fr auto; }
  .indicator-row .indicator-cell:nth-of-type(4) { display: none; }
  .alert-row { grid-template-columns: 39px minmax(0,1fr) 120px 80px auto; }
  .alert-row .alert-cell:nth-of-type(4) { display: none; }
}

@media (max-width: 820px) {
  .container,
  .container-narrow { width: min(100% - 30px,1260px); }
  .announcement-bar { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .site-header-inner { width: calc(100% - 24px); }
  .site-header-actions .btn-accent { display: none; }
  .hero { min-height: auto; padding: 62px 0 65px; }
  .hero-inner { min-height: auto; }
  .hero h1 { font-size: clamp(51px,14vw,78px); line-height: .92; }
  .hero-description { font-size: 17px; }
  .hero-product-wrap { margin-top: 55px; }
  .hero-product { min-height: 560px; border-radius: 20px; }
  .hero-product-content { padding: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:nth-child(2) { display: none; }
  .product-graph { height: 275px; }
  .hero-float-card { display: none; }
  .marketing-section { padding: 105px 0; }
  .section-title { font-size: clamp(39px,11vw,63px); }
  .fragmentation-stage { min-height: 710px; }
  .fragment-source { width: 185px; }
  .fragment-source:nth-child(1) { top: 45px; left: 4%; }
  .fragment-source:nth-child(2) { top: 55px; right: 4%; }
  .fragment-source:nth-child(3) { bottom: 46px; left: 4%; }
  .fragment-source:nth-child(4) { right: 4%; bottom: 52px; }
  .fragment-core { width: 190px; height: 190px; }
  .fragment-line { display: none; }
  .workflow-steps { grid-template-columns: 1fr; }
  .preview-app { grid-template-columns: 68px 1fr; }
  .preview-sidebar { padding-inline: 8px; }
  .preview-brand { justify-content: center; }
  .preview-brand span,
  .preview-workspace > div:not(.preview-workspace-icon),
  .preview-nav-label,
  .preview-nav-item span { display: none; }
  .preview-workspace { justify-content: center; padding: 7px; }
  .preview-nav-item { justify-content: center; padding: 0; }
  .preview-metrics { grid-template-columns: repeat(2,1fr); }
  .preview-dashboard-grid { grid-template-columns: 1fr; }
  .preview-risk-chart { display: none; }
  .preview-table-row { grid-template-columns: 70px 1.5fr .7fr; }
  .preview-table-row > *:nth-child(n+4) { display: none; }
  .module-card.large,
  .module-card.medium,
  .module-card.small,
  .module-card.wide { min-height: 360px; grid-column: span 12; }
  .nexus-stage { min-height: 650px; }
  .nexus-toolbar { left: 12px; right: 12px; overflow-x: auto; transform: none; }
  .nexus-explanation { right: 12px; bottom: 12px; left: 12px; width: auto; }
  .nexus-legend { display: none; }
  .ai-showcase { grid-template-columns: 1fr; }
  .ai-showcase-side { display: none; }
  .ai-conversation { padding-inline: 18px; }
  .report-stack { min-height: 560px; transform: scale(.86); transform-origin: top center; }
  .responsible-panel { padding: 45px 26px; }
  .responsible-grid { grid-template-columns: 1fr; }
  .solution-copy { padding: 35px 28px; }
  .solution-copy h3 { font-size: 35px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .closing-panel { min-height: 500px; padding: 65px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
  .app-shell { display: block; }
  .app-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 100; width: 270px; transform: translateX(-102%); transition: transform .25s var(--ease); box-shadow: 25px 0 80px rgba(0,0,0,.55); }
  .app-shell.mobile-sidebar-open .app-sidebar { transform: translateX(0); }
  .app-shell.mobile-sidebar-open::after { position: fixed; z-index: 90; inset: 0; background: rgba(0,0,0,.57); backdrop-filter: blur(4px); content: ""; }
  .app-shell .brand-word,
  .app-shell .workspace-copy,
  .app-shell .workspace-chevron,
  .app-shell .app-nav-label,
  .app-shell .app-nav-link > span:not(.nav-badge),
  .app-shell .app-nav-link .nav-badge,
  .app-shell .sidebar-usage,
  .app-shell .user-copy,
  .app-shell .user-more { display: initial; }
  .app-shell .sidebar-collapse { display: grid; }
  .app-shell .app-sidebar-head { justify-content: space-between; padding: 0 16px; }
  .app-shell .sidebar-workspace { display: grid; min-height: 64px; margin: 14px 12px 4px; padding: 10px; }
  .app-shell .app-nav { padding: 7px 11px 16px; }
  .app-shell .app-nav-group { margin-top: 17px; }
  .app-shell .app-nav-link { display: grid; min-height: 39px; justify-content: initial; padding: 0 10px; }
  .app-shell .app-nav-link.active::before { left: -11px; }
  .app-shell .sidebar-user { display: grid; justify-content: initial; padding: 7px 8px; }
  .app-stage { height: 100vh; }
  .mobile-sidebar-trigger { display: grid; }
  .app-topbar { padding-inline: 13px; }
  .top-search-trigger { width: 38px; justify-content: center; padding: 0; }
  .top-search-trigger span,
  .top-search-trigger kbd,
  .top-usage,
  .app-top-actions .top-icon-btn.help { display: none; }
  .app-content { padding: 21px 15px 90px; }
  .app-scroll::before { display: none; }
  .app-page-head { align-items: flex-start; flex-direction: column; gap: 15px; }
  .page-actions { justify-content: flex-start; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brief-content { grid-template-columns: 1fr; }
  .brief-posture { min-height: 180px; }
  .app-grid.two,
  .app-grid.three,
  .app-grid.four { grid-template-columns: 1fr; }
  .intel-drawer { grid-template-columns: 1fr; }
  .search-hero-panel { padding: 18px; }
  .search-input-wrap { grid-template-columns: auto minmax(0,1fr); }
  .search-input-wrap .btn { grid-column: 1 / -1; width: 100%; }
  .search-mode-tabs { width: 100%; margin-left: 0; }
  .search-mode-tabs button { flex: 1; }
  .entity-profile-head { grid-template-columns: auto minmax(0,1fr); }
  .entity-profile-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .profile-result-grid,
  .watchlist-card-grid,
  .report-list-grid { grid-template-columns: 1fr; }
  .nexus-app { height: calc(100vh - 66px); margin: -21px -15px -90px; }
  .nexus-floating-toolbar { top: auto; right: 12px; bottom: 15px; left: 12px; justify-content: center; overflow-x: auto; transform: none; }
  .nexus-app-head { top: 12px; left: 12px; }
  .nexus-app-actions { top: 12px; right: 12px; }
  .graph-minimap,
  .graph-legend-app { display: none; }
  .graph-side-panel { top: 60px; right: 10px; bottom: 60px; left: 10px; width: auto; }
  .overview-stat-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .risk-distribution { grid-template-columns: 1fr; justify-items: center; }
  .distribution-legend { width: 100%; }
  .indicator-row { grid-template-columns: 36px minmax(0,1fr) .6fr auto; }
  .indicator-row .indicator-cell:nth-of-type(n+3) { display: none; }
  .alert-row { grid-template-columns: 39px minmax(0,1fr) auto; }
  .alert-row .alert-cell { display: none; }
  .case-board { grid-template-columns: repeat(4,280px); }
  .case-profile-top { flex-direction: column; }
  .case-profile-actions { justify-content: flex-start; }
  .case-meta-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-builder { height: calc(100vh - 66px); margin: -21px -15px -90px; grid-template-columns: 1fr; }
  .report-builder-side { display: none; }
  .builder-canvas { padding: 17px 10px; }
  .builder-paper { min-width: 640px; transform-origin: top left; }
  .ai-app-layout { height: calc(100vh - 66px); margin: -21px -15px -90px; grid-template-columns: 1fr; }
  .ai-app-side { display: none; }
  .ai-app-messages { padding-inline: 18px; }
  .ai-composer-app-wrap { padding-inline: 14px; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; display: flex; overflow-x: auto; }
  .settings-nav a { min-width: max-content; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form-side { padding: 30px 20px; }
  .auth-mobile-brand { display: flex; margin-bottom: 48px; }
}

@media (max-width: 540px) {
  .container,
  .container-narrow { width: calc(100% - 24px); }
  .brand-word { font-size: 14px; }
  .hero h1 { font-size: clamp(46px,15.2vw,68px); }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { width: 100%; justify-content: center; margin-top: 5px; }
  .hero-proof { gap: 11px 15px; }
  .hero-product { min-height: 515px; }
  .product-search-text { font-size: 10px; }
  .product-summary { align-items: flex-start; }
  .fragmentation-stage { min-height: 800px; }
  .fragment-source { width: calc(100% - 42px); }
  .fragment-source:nth-child(1) { top: 22px; right: 21px; left: 21px; }
  .fragment-source:nth-child(2) { top: 160px; right: 21px; left: 21px; }
  .fragment-source:nth-child(3) { right: 21px; bottom: 160px; left: 21px; }
  .fragment-source:nth-child(4) { right: 21px; bottom: 22px; left: 21px; }
  .fragment-core { width: 150px; height: 150px; }
  .fragment-core-mark { width: 76px; height: 76px; }
  .workflow-step { min-height: 116px; }
  .workflow-screen { min-height: 540px; }
  .demo-connectors { grid-template-columns: 1fr; }
  .demo-connector:nth-child(n+3) { display: none; }
  .assess-grid { grid-template-columns: 1fr; }
  .assess-panel:nth-child(2) { display: none; }
  .platform-showcase { min-height: 640px; }
  .preview-app { min-height: 640px; grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .preview-canvas { padding: 15px; }
  .preview-topbar { padding-inline: 14px; }
  .preview-command { min-width: 35px; width: 35px; padding: 0; justify-content: center; }
  .preview-command span,
  .preview-command .shortcut { display: none; }
  .preview-metrics { grid-template-columns: repeat(2,1fr); }
  .module-card { padding: 22px; }
  .module-index { margin-bottom: 37px; }
  .module-card h3 { font-size: 24px; }
  .module-search-lines,
  .module-ai-chat,
  .module-watch-list { width: calc(100% - 44px); right: 22px; }
  .nexus-stage { width: calc(100% - 18px); min-height: 600px; }
  .nexus-tool span { display: none; }
  .ai-showcase-main { min-width: 0; }
  .ai-conversation { height: 560px; }
  .ai-response-section ul { padding-left: 13px; }
  .report-stack { min-height: 485px; margin-left: -47px; transform: scale(.72); }
  .responsible-panel { padding: 39px 20px; }
  .solution-visual { min-height: 340px; }
  .solution-dashboard { width: 90%; }
  .solution-metrics { grid-template-columns: repeat(2,1fr); }
  .solution-metric:nth-child(3) { display: none; }
  .price-card { min-height: auto; }
  .faq-question { min-height: 68px; font-size: 13px; }
  .closing-panel { padding-inline: 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 108px; padding: 12px; }
  .metric-card-value { font-size: 24px; }
  .brief-content { padding: 17px; }
  .brief-content h2 { font-size: 20px; }
  .connector-grid { grid-template-columns: 1fr; }
  .data-table { min-width: 740px; }
  .app-panel.table-panel { overflow-x: auto; }
  .search-options-row { align-items: stretch; }
  .search-option-btn { flex: 1; justify-content: center; }
  .result-card { padding: 13px; }
  .result-card-head { grid-template-columns: 31px minmax(0,1fr); }
  .result-confidence { grid-column: 2; text-align: left; }
  .fact-grid { grid-template-columns: 1fr; }
  .entity-profile-icon { width: 58px; height: 58px; border-radius: 17px; }
  .entity-profile-copy h1 { font-size: 21px; }
  .overview-stat-row { grid-template-columns: 1fr 1fr; }
  .watchlist-card-stats { gap: 15px; }
  .case-meta-grid { grid-template-columns: 1fr 1fr; }
  .finding-row { grid-template-columns: 33px minmax(0,1fr); }
  .finding-row-meta { grid-column: 2; text-align: left; }
  .ai-quick-grid { grid-template-columns: 1fr; }
  .referral-link-box { grid-template-columns: minmax(0,1fr) auto; }
  .referral-link-box .share-referral { display: none; }
  .reward-row { grid-template-columns: 34px minmax(0,1fr) auto; }
  .reward-cell { display: none; }
  .oauth-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  #hero-network { display: none; }
  .hero-product { transform: none !important; }
}

/* Extended application views */
.analytics-layout { display: grid; margin-top: 13px; grid-template-columns: minmax(0,1.65fr) minmax(260px,.7fr); gap: 13px; }
.analytics-layout.lower { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
.analytics-chart { min-height: 325px; }
.analytics-donut-wrap { display: grid; min-height: 292px; align-items: center; padding: 12px; grid-template-columns: 154px minmax(0,1fr); gap: 22px; }
.analytics-donut { display: grid; width: 146px; height: 146px; place-items: center; border-radius: 50%; background: conic-gradient(var(--danger) 0 33%,var(--blue) 33% 63%,var(--success) 63% 85%,var(--warning) 85% 100%); position: relative; }
.analytics-donut::after { position: absolute; inset: 20px; border-radius: 50%; background: var(--panel); content: ""; }
.analytics-donut > span { position: relative; z-index: 1; text-align: center; }
.analytics-donut strong { display: block; color: #d9dee7; font-size: 28px; font-weight: 580; line-height: 1; }
.analytics-donut small { color: #586272; font-family: var(--font-mono); font-size: 6px; letter-spacing: .08em; }
.analytics-legend { display: grid; gap: 10px; }
.analytics-legend > div { display: grid; align-items: center; grid-template-columns: 8px minmax(0,1fr) auto; gap: 8px; }
.analytics-legend i { width: 7px; height: 7px; border-radius: 2px; }
.analytics-legend span { color: #626d7d; font-size: 8px; }
.analytics-legend strong { color: #9ba4b2; font-family: var(--font-mono); font-size: 8px; }
.module-usage-list { display: grid; gap: 17px; }
.module-usage-row { display: grid; align-items: center; grid-template-columns: minmax(135px,.8fr) minmax(120px,1fr) 38px; gap: 12px; }
.module-usage-name strong { display: block; color: #858f9e; font-size: 8px; font-weight: 550; }
.module-usage-name small { display: block; color: #444e5c; font-size: 6px; }
.module-usage-track { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.045); }
.module-usage-track i { display: block; height: 100%; max-width: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet)); }
.module-usage-row > strong { color: #747f90; font-family: var(--font-mono); font-size: 7px; text-align: right; }
.privacy-banner { display: grid; min-height: 64px; margin-top: 13px; align-items: center; padding: 11px 15px; border: 1px solid rgba(69,217,154,.12); border-radius: 13px; color: #668071; background: rgba(69,217,154,.025); grid-template-columns: 26px minmax(0,1fr) auto; gap: 11px; }
.privacy-banner > .icon { width: 17px; color: var(--success); }
.privacy-banner span { color: #566273; font-size: 7px; line-height: 1.55; }
.privacy-banner span strong { display: block; color: #789788; font-size: 8px; }

.activity-toolbar { display: flex; min-height: 60px; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line-subtle); }
.activity-count { margin-left: auto; color: #46505f; font-family: var(--font-mono); font-size: 6px; letter-spacing: .06em; }
.audit-stream { display: grid; }
.audit-event { display: grid; min-height: 70px; align-items: center; padding: 10px 15px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 34px minmax(0,1fr) minmax(170px,.6fr) 62px 24px; gap: 12px; transition: background .18s ease; }
.audit-event:hover { background: rgba(255,255,255,.012); }
.audit-event-icon { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid rgba(98,139,255,.12); border-radius: 9px; color: #7488c9; background: rgba(98,139,255,.035); }
.audit-event-icon.warning { color: var(--warning); border-color: rgba(243,201,105,.13); background: rgba(243,201,105,.035); }
.audit-event-icon.success { color: var(--success); border-color: rgba(69,217,154,.13); background: rgba(69,217,154,.035); }
.audit-event-icon .icon { width: 13px; }
.audit-event-main strong { display: block; color: #9099a7; font-size: 8px; font-weight: 560; }
.audit-event-main p { margin: 3px 0 0; color: #4f5968; font-size: 7px; }
.audit-event-actor { display: flex; align-items: center; gap: 8px; }
.audit-event-actor strong { display: block; color: #7b8594; font-size: 7px; font-weight: 540; }
.audit-event-actor small { display: block; color: #414b59; font-size: 6px; }
.audit-event time { color: #505a68; font-family: var(--font-mono); font-size: 6px; }

.team-summary-grid { display: grid; margin-bottom: 13px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.team-summary-card { min-height: 126px; padding: 15px; border: 1px solid var(--line-subtle); border-radius: 13px; background: rgba(255,255,255,.012); }
.team-summary-card > span { display: grid; width: 29px; height: 29px; margin-bottom: 15px; place-items: center; border: 1px solid rgba(98,139,255,.12); border-radius: 9px; color: #7185c7; background: rgba(98,139,255,.035); }
.team-summary-card > span .icon { width: 12px; }
.team-summary-card > div { display: flex; align-items: baseline; gap: 7px; }
.team-summary-card > div strong { color: #d0d6df; font-size: 23px; font-weight: 570; letter-spacing: -.035em; }
.team-summary-card > div small { color: #687281; font-size: 7px; }
.team-summary-card p { margin: 5px 0 0; color: #464f5d; font-size: 6px; }
.table-search.compact { min-width: 210px; }
.team-person { display: flex; align-items: center; gap: 9px; }
.team-person > span:last-child strong { display: block; color: #919aa8; font-size: 8px; font-weight: 550; }
.team-person > span:last-child small { display: block; color: #46505e; font-size: 6px; }
.role-select { display: inline-flex; height: 28px; align-items: center; gap: 5px; padding: 0 7px; border: 1px solid transparent; border-radius: 7px; color: #697484; background: transparent; cursor: pointer; font-size: 7px; }
.role-select:hover { border-color: var(--line-subtle); background: rgba(255,255,255,.015); }
.role-select .icon { width: 9px; }
.security-state { display: inline-flex; align-items: center; gap: 5px; color: #6fa88c; font-size: 7px; }
.security-state.pending { color: var(--warning); }
.security-state .icon { width: 10px; }
.role-distribution,.access-check-list { display: grid; }
.role-distribution > div,.access-check-list > div { display: flex; min-height: 45px; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line-subtle); }
.role-distribution > div:last-child,.access-check-list > div:last-child { border: 0; }
.role-distribution span strong { display: block; color: #848e9d; font-size: 8px; font-weight: 550; }
.role-distribution span small { display: block; color: #46505e; font-size: 6px; }
.role-distribution b { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 8px; color: #758091; font-family: var(--font-mono); font-size: 7px; }
.access-check-list span { display: flex; align-items: center; gap: 7px; color: #626d7d; font-size: 7px; }
.access-check-list span .icon { width: 11px; color: #66717f; }
.access-check-list strong { color: #7d8796; font-size: 7px; font-weight: 550; }

.referral-level-benefits { display: grid; margin-top: 23px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.referral-level-benefits > div { display: flex; min-height: 60px; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line-subtle); border-radius: 10px; }
.referral-level-benefits .icon { width: 14px; color: var(--success); }
.referral-level-benefits > div:last-child .icon { color: #505a69; }
.referral-level-benefits strong { display: block; color: #7f8998; font-size: 8px; }
.referral-level-benefits small { display: block; color: #45505e; font-size: 6px; }
.referral-funnel { display: grid; gap: 12px; }
.referral-funnel > div { display: grid; align-items: center; grid-template-columns: 100px minmax(0,1fr) 42px; gap: 10px; }
.referral-funnel span strong { display: block; color: #939ca9; font-family: var(--font-mono); font-size: 9px; }
.referral-funnel span small { color: #46505e; font-size: 6px; }
.referral-funnel i { height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.035); }
.referral-funnel i::after { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet)); content: ""; }
.referral-funnel b { color: #647080; font-family: var(--font-mono); font-size: 7px; text-align: right; }

.developer-tabs { display: flex; min-height: 44px; margin-bottom: 13px; align-items: center; gap: 5px; padding: 5px; border: 1px solid var(--line-subtle); border-radius: 12px; background: rgba(255,255,255,.01); }
.developer-tabs button { height: 32px; padding: 0 12px; border: 0; border-radius: 8px; color: #56606f; background: transparent; cursor: pointer; font-size: 8px; }
.developer-tabs button:hover { color: #8b94a2; }
.developer-tabs button.active { color: #b7bfcb; background: rgba(98,139,255,.075); }
.developer-security-note { display: flex; min-height: 58px; margin-top: 13px; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid rgba(98,139,255,.11); border-radius: 12px; color: #6679b7; background: rgba(98,139,255,.025); }
.developer-security-note .icon { width: 15px; }
.developer-security-note span { color: #515c6c; font-size: 7px; }
.developer-security-note strong { display: block; color: #7585bb; font-size: 8px; }
.http-method { display: inline-flex; min-width: 34px; height: 20px; align-items: center; justify-content: center; border-radius: 5px; color: #7691e1; background: rgba(98,139,255,.06); font-family: var(--font-mono); font-size: 6px; }
.http-method.post { color: #76b796; background: rgba(69,217,154,.05); }
.http-method.patch { color: #c5a860; background: rgba(243,201,105,.05); }
.developer-doc-grid { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 13px; }
.developer-doc-nav { position: sticky; top: 0; align-self: start; padding: 13px 8px; }
.developer-doc-nav > strong { display: block; padding: 8px 9px 13px; color: #7884aa; font-family: var(--font-mono); font-size: 7px; }
.developer-doc-nav a { display: block; padding: 8px 9px; border-radius: 7px; color: #505a69; cursor: pointer; font-size: 7px; }
.developer-doc-nav a.active,.developer-doc-nav a:hover { color: #9ba4b2; background: rgba(98,139,255,.055); }
.developer-doc { min-height: 720px; }
.developer-doc-copy { max-width: 900px; padding: 34px; }
.developer-doc-copy h2 { margin: 10px 0 7px; color: #d1d6df; font-size: 26px; font-weight: 570; letter-spacing: -.04em; }
.developer-doc-copy h3 { margin: 30px 0 10px; color: #9aa3b0; font-size: 10px; }
.developer-doc-copy > p { color: #657080; font-size: 9px; line-height: 1.7; }
.code-surface { position: relative; overflow: auto; border: 1px solid var(--line-subtle); border-radius: 12px; background: #06080c; }
.code-surface pre { margin: 0; padding: 19px; }
.code-surface code { color: #8d9dcc; font-family: var(--font-mono); font-size: 8px; line-height: 1.75; }
.copy-code { position: absolute; top: 9px; right: 9px; display: inline-flex; height: 27px; align-items: center; gap: 5px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; color: #667180; background: #0b0e14; cursor: pointer; font-size: 6px; }
.copy-code .icon { width: 9px; }

.billing-plan-card { display: grid; min-height: 300px; margin-bottom: 13px; overflow: hidden; border: 1px solid rgba(98,139,255,.17); border-radius: 18px; background: radial-gradient(circle at 18% 20%,rgba(98,139,255,.105),transparent 35%),linear-gradient(135deg,#0b0e15,#080a0f); grid-template-columns: minmax(0,1.4fr) minmax(270px,.6fr); }
.billing-plan-main { padding: 30px; }
.billing-plan-main h2 { margin: 11px 0 6px; color: #e1e5ec; font-size: 34px; font-weight: 570; letter-spacing: -.045em; }
.billing-plan-main > p { max-width: 530px; margin: 0; color: #626d7d; font-size: 9px; }
.billing-plan-price { display: flex; align-items: center; gap: 12px; margin: 26px 0; }
.billing-plan-price strong { color: #f0f2f6; font-size: 36px; font-weight: 560; letter-spacing: -.05em; }
.billing-plan-price span { color: #526070; font-size: 7px; line-height: 1.45; }
.billing-plan-actions { display: flex; gap: 8px; }
.billing-renewal { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-left: 1px solid var(--line-subtle); background: rgba(0,0,0,.16); }
.billing-renewal-label { color: #536078; font-family: var(--font-mono); font-size: 6px; letter-spacing: .1em; }
.billing-renewal > strong { margin: 10px 0 5px; color: #aeb6c2; font-size: 13px; font-weight: 550; }
.billing-renewal > p { margin: 0 0 19px; color: #4e5968; font-size: 7px; line-height: 1.6; }
.billing-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr); gap: 13px; }
.billing-usage-value { display: flex; align-items: baseline; gap: 9px; }
.billing-usage-value strong { color: #d4d9e2; font-size: 32px; font-weight: 570; letter-spacing: -.04em; }
.billing-usage-value span { color: #566170; font-size: 8px; }
.billing-usage-track { height: 8px; margin: 15px 0 7px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.045); }
.billing-usage-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--violet)); }
.billing-usage-meta { display: flex; justify-content: space-between; color: #45505e; font-size: 6px; }
.usage-category-list { display: grid; gap: 11px; margin: 22px 0; }
.usage-category-list > div { display: grid; align-items: center; grid-template-columns: 110px minmax(80px,1fr) 32px; gap: 9px; }
.usage-category-list span { color: #5d6877; font-size: 7px; }
.usage-category-list i { height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.04); }
.usage-category-list b { display: block; height: 100%; border-radius: inherit; background: #596fae; }
.usage-category-list strong { color: #707b8b; font-family: var(--font-mono); font-size: 7px; text-align: right; }
.plan-capability-list { display: grid; gap: 11px; }
.plan-capability-list > div { display: flex; align-items: center; gap: 8px; color: #687382; font-size: 8px; }
.plan-capability-list .icon { width: 12px; color: var(--success); }

.settings-main { overflow: hidden; }
.settings-form-grid { display: grid; max-width: 790px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
.profile-settings-head { display: flex; max-width: 790px; min-height: 86px; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px; border: 1px solid var(--line-subtle); border-radius: 12px; }
.profile-settings-avatar { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(98,139,255,.15); border-radius: 13px; color: #96a7df; background: rgba(98,139,255,.055); font-size: 10px; font-weight: 700; }
.profile-settings-head > span:nth-child(2) { flex: 1; }
.profile-settings-head strong,.verified-domain-row strong,.user-modal-head strong { display: block; color: #929ba8; font-size: 9px; font-weight: 550; }
.profile-settings-head small,.verified-domain-row small,.user-modal-head small { display: block; color: #46515f; font-size: 7px; }
.security-score-card { display: grid; min-height: 110px; align-items: center; margin-bottom: 16px; padding: 14px; border: 1px solid rgba(69,217,154,.12); border-radius: 13px; background: rgba(69,217,154,.022); grid-template-columns: 68px minmax(0,1fr) auto; gap: 15px; }
.security-score-ring { display: flex; width: 64px; height: 64px; align-items: baseline; justify-content: center; padding-top: 18px; border: 5px solid rgba(69,217,154,.14); border-top-color: var(--success); border-radius: 50%; }
.security-score-ring strong { color: #8bbba3; font-size: 18px; line-height: 1; }
.security-score-ring span { color: #4c6559; font-size: 6px; }
.security-score-card > span strong { display: block; color: #8ea595; font-size: 9px; }
.security-score-card > span small { display: block; max-width: 520px; margin-top: 3px; color: #506359; font-size: 7px; line-height: 1.55; }
.setting-status { display: inline-flex; align-items: center; gap: 5px; font-size: 7px; }
.setting-status.success { color: var(--success); }
.setting-status .icon { width: 11px; }
.verified-domain-row { display: grid; max-width: 790px; min-height: 64px; align-items: center; padding: 10px; border: 1px solid var(--line-subtle); border-radius: 10px; grid-template-columns: 32px minmax(0,1fr) auto 24px; gap: 10px; }
.permission-matrix { max-width: 950px; overflow: auto; border: 1px solid var(--line-subtle); border-radius: 11px; }
.permission-head,.permission-row { display: grid; min-width: 720px; min-height: 43px; align-items: center; padding: 0 13px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: minmax(210px,1fr) repeat(4,100px); }
.permission-head { color: #4d5867; background: rgba(255,255,255,.012); font-family: var(--font-mono); font-size: 6px; text-transform: uppercase; }
.permission-row:last-child { border-bottom: 0; }
.permission-row strong { color: #707b8b; font-size: 7px; font-weight: 530; }
.permission-row span { display: grid; place-items: center; color: #3d4653; }
.permission-row span .icon { width: 11px; }
.permission-row span .icon path:first-child:not(:only-child) { }
.permission-row span:has(path[d*="circle"]) { color: var(--success); }
.connector-settings-list { display: grid; }
.connector-setting-row { display: grid; min-height: 66px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 34px minmax(0,1fr) 128px 58px 24px; gap: 10px; }
.connector-setting-row:last-child { border-bottom: 0; }
.connector-setting-icon { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 9px; color: #7083c3; background: rgba(98,139,255,.035); }
.connector-setting-icon .icon { width: 12px; }
.connector-setting-row > span:nth-child(2) strong { display: block; color: #858f9e; font-size: 8px; }
.connector-setting-row > span:nth-child(2) small { display: block; color: #46515f; font-size: 6px; }

.modal-copy { margin: 0 0 16px; color: #606b7a; font-size: 8px; line-height: 1.7; }
.modal-form { display: grid; gap: 1px; }
.mobile-nav-modal { display: grid; }
.mobile-nav-modal a { display: flex; min-height: 45px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-subtle); color: #798391; cursor: pointer; font-size: 9px; }
.mobile-nav-modal a:last-child { border-bottom: 0; }
.mobile-nav-modal .icon { width: 12px; color: #4e5968; }
.palette-search { display: grid; height: 47px; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.012); grid-template-columns: 17px minmax(0,1fr); gap: 8px; }
.palette-search .icon { width: 14px; color: #596575; }
.palette-search input { width: 100%; border: 0; outline: 0; color: #abb3c0; background: transparent; font-size: 9px; }
.palette-group { display: grid; margin-top: 14px; gap: 3px; }
.palette-group > span { margin: 0 8px 5px; color: #404a58; font-family: var(--font-mono); font-size: 6px; letter-spacing: .1em; }
.palette-item { display: grid; min-height: 43px; align-items: center; padding: 0 9px; border: 0; border-radius: 9px; color: #6c7787; background: transparent; cursor: pointer; text-align: left; grid-template-columns: 29px minmax(0,1fr) auto; gap: 8px; }
.palette-item:hover,.palette-item.selected { color: #aab2bf; background: rgba(98,139,255,.055); }
.palette-item > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line-subtle); border-radius: 8px; }
.palette-item .icon { width: 11px; }
.palette-item strong { font-size: 8px; font-weight: 540; }
.palette-item kbd,.palette-item small { color: #404a58; font-family: var(--font-mono); font-size: 6px; }
.modal-alert-head,.evidence-modal-id { display: grid; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-subtle); grid-template-columns: 43px minmax(0,1fr) auto; gap: 10px; }
.modal-alert-head > span:nth-child(2) strong,.evidence-modal-id > div strong { display: block; color: #949daa; font-size: 9px; }
.modal-alert-head > span:nth-child(2) small,.evidence-modal-id > div small { display: block; color: #46515f; font-size: 6px; }
.alert-symbol { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(98,139,255,.14); border-radius: 11px; color: #7488ca; background: rgba(98,139,255,.035); }
.alert-symbol.high { color: var(--danger); border-color: rgba(255,102,120,.13); background: rgba(255,102,120,.035); }
.alert-symbol .icon { width: 16px; }
.modal-facts { display: grid; margin: 14px 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.modal-facts > div { padding: 10px; border: 1px solid var(--line-subtle); border-radius: 9px; background: rgba(255,255,255,.01); }
.modal-facts span { display: block; color: #46515f; font-size: 6px; }
.modal-facts strong { display: block; margin-top: 4px; color: #7f8997; font-size: 7px; font-weight: 550; }
.modal-evidence { margin-top: 9px; padding: 11px; border: 1px solid var(--line-subtle); border-radius: 9px; background: rgba(255,255,255,.009); }
.modal-evidence p { margin: 5px 0 0; color: #5c6776; font-size: 8px; line-height: 1.65; }
.evidence-modal-id > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(98,139,255,.13); border-radius: 11px; color: #7488c9; background: rgba(98,139,255,.035); }
.evidence-modal-id > span:first-child .icon { width: 16px; }
.secret-key-box { display: grid; min-height: 48px; align-items: center; padding: 6px 6px 6px 12px; border: 1px solid rgba(243,201,105,.14); border-radius: 10px; background: rgba(243,201,105,.025); grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.secret-key-box code { overflow: hidden; color: #b7a675; font-family: var(--font-mono); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.help-links { display: grid; }
.help-links button { display: grid; min-height: 53px; align-items: center; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line-subtle); background: transparent; cursor: pointer; text-align: left; grid-template-columns: minmax(0,1fr) 18px; }
.help-links button:last-child { border-bottom: 0; }
.help-links strong { display: block; color: #818b99; font-size: 8px; }
.help-links small { display: block; color: #45505e; font-size: 6px; }
.help-links .icon { width: 11px; color: #4b5665; }
.user-modal-head { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; padding-bottom: 13px; border-bottom: 1px solid var(--line-subtle); }
.workspace-list { display: grid; gap: 6px; }
.workspace-list button { display: grid; min-height: 57px; align-items: center; padding: 8px; border: 1px solid var(--line-subtle); border-radius: 10px; color: #687382; background: transparent; cursor: pointer; text-align: left; grid-template-columns: 34px minmax(0,1fr) 18px; gap: 9px; }
.workspace-list button.selected { border-color: rgba(98,139,255,.17); background: rgba(98,139,255,.035); }
.workspace-list strong { display: block; color: #87909e; font-size: 8px; }
.workspace-list small { display: block; color: #45505e; font-size: 6px; }
.workspace-icon.muted { color: #66707e; background: rgba(255,255,255,.025); }

.hero-product .source-node.active { border-color: rgba(98,139,255,.35); color: #9aacdf; background: rgba(98,139,255,.08); box-shadow: 0 0 25px rgba(98,139,255,.08); }
.hero-product .product-summary { transition: opacity .35s ease,transform .35s ease; }
.hero-product:not(.resolved) .product-summary { opacity: .45; transform: translateY(6px); }
.result-card.excluded { opacity: .38; filter: grayscale(.6); }

@media (max-width: 1100px) {
  .analytics-layout,.analytics-layout.lower,.billing-grid { grid-template-columns: 1fr; }
  .team-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .billing-plan-card { grid-template-columns: 1fr; }
  .billing-renewal { border-top: 1px solid var(--line-subtle); border-left: 0; }
  .audit-event { grid-template-columns: 34px minmax(0,1fr) 65px 24px; }
  .audit-event-actor { display: none; }
}

@media (max-width: 760px) {
  .analytics-donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .analytics-legend { width: 100%; }
  .activity-toolbar { flex-wrap: wrap; }
  .activity-count { width: 100%; margin-left: 0; }
  .audit-event { grid-template-columns: 31px minmax(0,1fr) auto; }
  .audit-event time { grid-column: 2; }
  .audit-event .more-btn { grid-column: 3; grid-row: 1 / span 2; }
  .team-summary-grid { grid-template-columns: 1fr 1fr; }
  .developer-doc-grid { grid-template-columns: 1fr; }
  .developer-doc-nav { position: static; display: flex; overflow-x: auto; }
  .developer-doc-nav > strong { display: none; }
  .developer-doc-nav a { min-width: max-content; }
  .developer-doc-copy { padding: 22px 16px; }
  .billing-plan-main,.billing-renewal { padding: 22px; }
  .settings-form-grid { grid-template-columns: 1fr; }
  .security-score-card { grid-template-columns: 58px minmax(0,1fr); }
  .security-score-card .btn { grid-column: 1 / -1; }
  .connector-setting-row { grid-template-columns: 34px minmax(0,1fr) auto 24px; }
  .connector-setting-row > .mono { display: none; }
  .privacy-banner { grid-template-columns: 24px minmax(0,1fr); }
  .privacy-banner .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 520px) {
  .team-summary-grid { grid-template-columns: 1fr; }
  .referral-level-benefits { grid-template-columns: 1fr; }
  .referral-funnel > div { grid-template-columns: 86px minmax(0,1fr) 36px; }
  .billing-plan-actions { flex-direction: column; }
  .billing-plan-actions .btn { width: 100%; }
  .modal-facts { grid-template-columns: 1fr; }
  .module-usage-row { grid-template-columns: 115px minmax(90px,1fr) 30px; }
}

@media (max-width: 540px) {
  .announcement-bar { justify-content: center; overflow: hidden; }
  .announcement-bar > span,
  .announcement-bar > a { display: none; }
}

.mobile-bottom-nav { display: none; }

@media (max-width: 760px) {
  .mobile-bottom-nav { position: fixed; z-index: 90; right: 9px; bottom: max(9px,env(safe-area-inset-bottom)); left: 9px; display: grid; min-height: 61px; align-items: center; padding: 5px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(9,12,17,.92); box-shadow: 0 18px 60px rgba(0,0,0,.5); backdrop-filter: blur(20px); grid-template-columns: repeat(5,1fr); }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button { position: relative; display: flex; min-width: 0; height: 49px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 12px; color: #596575; background: transparent; cursor: pointer; font-size: 6px; }
  .mobile-bottom-nav a.active { color: #b9c6ef; background: rgba(98,139,255,.09); }
  .mobile-bottom-nav .icon { width: 14px; height: 14px; }
  .mobile-bottom-nav i { position: absolute; top: 5px; right: calc(50% - 15px); display: grid; min-width: 13px; height: 13px; place-items: center; border: 2px solid #090c11; border-radius: 99px; color: #fff; background: #8f2939; font-family: var(--font-mono); font-size: 5px; font-style: normal; }
  .app-scroll { padding-bottom: 78px; }
}
