:root {
  --bg: #f6f7f9;
  --panel: #fff;
  --text: #17202a;
  --muted: #667085;
  --border: #d9dee7;
  --accent: #1f6feb;
  --accent-dark: #1459c8;
  --accent-soft: #eaf2ff;
  --red: #b42318;
  --red-bg: #ffe7e3;
  --redline-blue: #175cd3;
  --redline-blue-bg: #d6e7ff;
  --redline-red: #b42318;
  --redline-red-bg: #ffd7d0;
  --redline-green: #16794c;
  --redline-green-bg: #d3f0df;
  --excel-green: #217346;
  --excel-green-dark: #185c37;
  --pdf-red: #d93025;
  --pdf-red-dark: #b3261e;
  --success-blue: #175cd3;
  --success-blue-bg: #eff6ff;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: var(--accent); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: 0.55; }
.brand-link {
  color: inherit;
  text-decoration: none;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}
.brand-block {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0;
}
.brand-logo {
  display: block;
  width: auto;
  height: 68px;
  max-width: min(312px, calc(100vw - 116px));
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #f2f4f7;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}
.main-nav a,
.main-nav .link-button,
.nav-dropdown-toggle {
  display: inline-grid;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  color: #475467;
  border-radius: 6px;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav .link-button:hover,
.nav-dropdown-toggle:hover {
  color: var(--text);
  background: #fff;
}
.main-nav a.active,
.main-nav a.nav-cta,
.nav-dropdown-toggle.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}
.main-nav a.nav-cta {
  color: #fff;
  background: var(--accent);
}
.main-nav a.nav-cta:hover {
  color: #fff;
  background: var(--accent-dark);
}
.nav-dropdown-toggle.active {
  background: transparent;
  box-shadow: none;
}
.nav-dropdown {
  position: relative;
  display: inline-grid;
}
.nav-dropdown-toggle {
  grid-auto-flow: column;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
}
.nav-dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  display: none;
  min-width: 190px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.nav-dropdown-menu a.active {
  background: #f8fafc;
  box-shadow: none;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  display: grid;
}
.label-with-badge,
.title-with-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav .beta-badge,
.action-card .beta-badge {
  font-size: 9px;
  padding: 3px 7px;
}
.nav-toggle {
  display: none;
  min-height: 38px;
  min-width: 42px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: #f2f4f7;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  font-size: 0;
  font-weight: 700;
}
.nav-toggle::before {
  content: "";
  width: 18px;
  height: 14px;
  transform: translateY(4px);
  background: linear-gradient(var(--text), var(--text)) 0 0 / 100% 2px no-repeat,
              linear-gradient(var(--text), var(--text)) 0 6px / 100% 2px no-repeat,
              linear-gradient(var(--text), var(--text)) 0 12px / 100% 2px no-repeat;
}
.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 28px; }
.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 60px;
}

.shell:has(.redline-workspace),
.shell:has(.securities-workspace),
.shell:has(.sec-filings-workspace) {
  width: calc(100% - 28px);
  max-width: 1680px;
  margin-top: 18px;
}
.panel, .auth-card, .legal-note {
  margin-bottom: 18px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
  padding: 34px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.public-hero h2 {
  margin-bottom: 10px;
  font-size: 42px;
  line-height: 1.05;
}
.public-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.public-hero-panel {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  background: #fff;
  border: 1px solid #dfe5f2;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
}
.public-hero-panel::before {
  content: "";
  height: 7px;
  margin: -24px -24px 8px;
  background: linear-gradient(90deg, var(--accent), #76a7ff);
  border-radius: 8px 8px 0 0;
}
.public-hero-panel span {
  height: 12px;
  background: #e8eef8;
  border-radius: 6px;
}
.public-hero-panel span:nth-child(2) { width: 72%; }
.public-hero-panel span:nth-child(3) { width: 92%; }
.public-hero-panel span:nth-child(4) { width: 58%; }
.public-feature-grid { margin-bottom: 18px; }
.public-page-heading h2 {
  margin-bottom: 8px;
  font-size: 30px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.pricing-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-content: stretch;
  min-height: 420px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: #9bbcf7;
  box-shadow: 0 14px 34px rgba(31, 111, 235, 0.14);
}
.pricing-card h3 {
  margin: 0 0 4px;
  font-size: 28px;
}
.pricing-card > div:first-child {
  min-height: 0;
}
.pricing-card > div:first-child .muted {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.45;
}
.pricing-subprice {
  margin: -2px 0 2px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.plan-summary {
  margin: 8px 0 0;
  color: #5f6f84;
  font-size: 13px;
  line-height: 1.45;
}
.pricing-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
}
.clean-list {
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}
.clean-list li {
  position: relative;
  padding-left: 18px;
}
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.pricing-custom-copy {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}
.pricing-custom-copy + .plan-feature-list {
  margin-top: -4px;
}
.billing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.billing-disclosure {
  margin: 0;
  color: #5f6f84;
  font-size: 12px;
  line-height: 1.45;
}
.legal-page {
  max-width: 860px;
}
.legal-page h3 {
  margin: 22px 0 8px;
}
.legal-page p {
  color: #475467;
  line-height: 1.65;
}
.legal-page ul,
.public-info-body ul {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin: 12px 0 0;
  padding-left: 22px;
  color: #475467;
  line-height: 1.65;
}
.legal-page li,
.public-info-body li {
  padding-left: 2px;
}
.error-page {
  display: grid;
  gap: 12px;
  justify-items: start;
  max-width: 620px;
  margin: 70px auto;
}
.public-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.public-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.public-footer-copy {
  color: var(--muted);
  font-weight: 700;
}
.public-footer-separator {
  width: 1px;
  height: 16px;
  background: var(--border);
}
.public-footer a {
  color: var(--muted);
  text-decoration: none;
}
.public-footer a:hover {
  color: var(--accent);
}
.public-app {
  --public-black: #05070c;
  --public-blue: var(--accent);
  --public-blue-2: #0f4ea8;
  --public-blue-3: #eaf2ff;
  --public-muted: #5f6b7a;
  color: var(--public-black);
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 52%, #fff 100%);
}
.public-app .topbar {
  position: sticky;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}
.public-app .brand-link,
.public-app h1,
.public-app h2,
.public-app h3 {
  color: var(--public-black);
}
.public-app .eyebrow {
  color: var(--public-blue);
  letter-spacing: 0;
}
.public-app .main-nav {
  background: rgba(245, 248, 255, 0.9);
  border-color: #dbe7ff;
}
.public-app .main-nav a,
.public-app .main-nav .link-button {
  color: #111827;
}
.public-app .main-nav a:hover,
.public-app .main-nav .link-button:hover,
.public-app .main-nav a.active {
  color: var(--public-blue);
  background: #fff;
  box-shadow: none;
}
.public-app .main-nav a.nav-cta {
  color: #fff;
  background: var(--public-blue);
  box-shadow: 0 12px 26px rgba(31, 111, 235, 0.22);
}
.public-app .main-nav a.nav-cta:hover {
  color: #fff;
  background: var(--accent-dark);
}
.public-app .shell {
  width: min(1240px, calc(100% - 32px));
}
.public-app .panel,
.public-app .auth-card {
  color: var(--public-black);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}
.public-app .muted,
.public-app .legal-page p,
.public-app .public-hero p {
  color: var(--public-muted);
}
.public-app input,
.public-app select,
.public-app textarea {
  color: var(--public-black);
  background: #fff;
  border-color: #d8e2f0;
}
.public-app label {
  color: #111827;
}
.public-app .secondary {
  color: var(--public-black);
  background: #fff;
  border: 1px solid #c9d8f2;
}
.public-app .secondary:hover {
  color: var(--public-blue);
  background: #f7faff;
}
.js-motion .motion-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
.js-motion .motion-reveal[data-motion="left"] {
  transform: translateX(-26px);
}
.js-motion .motion-reveal[data-motion="right"] {
  transform: translateX(28px) scale(0.985);
}
.js-motion .motion-reveal[data-motion="down"] {
  transform: translateY(-14px);
}
.js-motion .motion-reveal[data-motion="pop"] {
  transform: translateY(22px) scale(0.94);
}
.js-motion .motion-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js-motion .public-metrics > div.is-visible .icon-badge,
.js-motion .pricing-card.is-visible::before {
  animation: soft-pop 540ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--motion-delay, 0ms);
}
.js-motion .hero-sheen {
  animation: hero-grid-drift 16s ease-in-out infinite alternate;
}
@keyframes soft-pop {
  0% { transform: scale(0.86); opacity: 0.45; }
  72% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes hero-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 42px 24px, -34px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-motion .motion-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js-motion .hero-sheen,
  .js-motion .public-metrics > div.is-visible .icon-badge,
  .js-motion .pricing-card.is-visible::before {
    animation: none;
  }
}
.public-app .public-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  min-height: 620px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 28px;
  padding: clamp(34px, 6vw, 76px);
  background:
    linear-gradient(120deg, #fff 0%, #fff 50%, #eef5ff 100%);
  border: 1px solid #dbe7ff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
}
.hero-sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(31, 111, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 235, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 70%);
}
.public-app .public-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 760px;
  align-content: center;
}
.public-app .public-hero h2 {
  margin-bottom: 18px;
  max-width: 740px;
  font-size: clamp(52px, 8vw, 102px);
  line-height: 0.9;
  letter-spacing: 0;
}
.public-app .public-hero p {
  max-width: 650px;
  font-size: clamp(18px, 2vw, 22px);
}
.public-app .hero-actions {
  margin-top: 28px;
}
.public-app .hero-actions .button-link {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
}
.hero-product-stack {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 14px;
}
.hero-workbook {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
}
.hero-workbook .product-shot {
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}
.mini-terminal,
.hero-screen,
.product-shot {
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}
.mini-terminal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: #d9e5f7;
}
.mini-terminal div {
  display: grid;
  gap: 6px;
  min-height: 96px;
  align-content: center;
  padding: 16px;
  background: #fff;
}
.mini-terminal strong {
  font-size: 18px;
}
.mini-terminal span {
  color: var(--public-muted);
  font-size: 12px;
  font-weight: 700;
}
.hero-screen {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 22px;
}
.hero-screen::before {
  content: "";
  height: 7px;
  margin: -22px -22px 6px;
  background: linear-gradient(90deg, var(--public-black), var(--public-blue));
  border-radius: 12px 12px 0 0;
}
.hero-screen span {
  display: block;
  height: 14px;
  background: #edf4ff;
  border-radius: 999px;
}
.hero-screen span:nth-child(2) { width: 78%; }
.hero-screen span:nth-child(3) { width: 92%; }
.hero-screen span:nth-child(4) { width: 64%; }
.public-app .public-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.public-app .public-metrics div {
  display: grid;
  gap: 12px;
  align-content: center;
  justify-items: start;
  min-height: 112px;
  padding: 20px;
  background: #fff;
  border: 1px solid #dbe7ff;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.public-app .public-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--public-black);
  font-size: 27px;
}
.public-app .public-metrics span {
  color: var(--public-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.public-app .public-metrics .icon-badge {
  width: 46px;
  height: 46px;
}
.public-showcase {
  display: grid;
  grid-template-columns: 0.68fr minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 34px 0;
  padding: clamp(22px, 4vw, 46px);
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}
.public-showcase.reverse {
  grid-template-columns: minmax(0, 1fr) 0.68fr;
}
.public-showcase.reverse .showcase-copy {
  order: 2;
}
.showcase-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}
.showcase-copy p {
  color: var(--public-muted);
  font-size: 16px;
  line-height: 1.65;
}
.product-shot {
  overflow: hidden;
  min-width: 0;
}
.company-redline-shot .redline-view {
  max-height: 376px;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  background: #fff;
}
.company-redline-shot .redline-title {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--public-border);
}
.company-redline-shot .redline-title h2 {
  margin: 0 0 8px;
  color: var(--public-black);
  font-size: 20px;
  line-height: 1.15;
}
.company-redline-shot .meta-grid {
  display: grid;
  gap: 5px;
  color: var(--public-muted);
  font-size: 12px;
  line-height: 1.4;
}
.company-redline-shot .summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 16px;
}
.company-redline-shot .summary-pill {
  padding: 6px 8px;
  color: #344054;
  background: #f2f4f7;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
.company-redline-shot .filing-text {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  color: #17202a;
  background: #fbfcfe;
  border: 1px solid #e4edf8;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.42;
}
.company-redline-shot .filing-text p,
.company-redline-shot .filing-text ins,
.company-redline-shot .filing-text del {
  margin: 0;
  font-size: 12px;
  line-height: 1.42;
}
.company-redline-shot .paragraph-added,
.company-redline-shot .paragraph-removed {
  padding-left: 10px;
  background: #fff;
  border-left-width: 3px;
  border-left-style: solid;
}
.company-redline-shot .paragraph-added {
  border-left-color: var(--public-blue);
}
.company-redline-shot .paragraph-removed {
  border-left-color: #b42318;
}
.shot-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  background: var(--public-black);
  font-size: 13px;
  font-weight: 800;
}
.product-shot table {
  font-size: 12px;
}
.product-shot th {
  color: #111827;
  background: #eef5ff;
}
.product-shot td,
.product-shot th {
  padding: 11px 10px;
}
.product-shot .section-divider-row td {
  color: var(--public-black);
  background: #f7faff;
  font-weight: 800;
}
.product-shot del {
  color: #b42318;
  background: #ffe7e3;
  text-decoration-thickness: 2px;
}
.product-shot ins {
  color: var(--public-blue);
  background: #eaf2ff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.insert-row td { background: #f0f7ff; }
.delete-row td { background: #fff4f2; color: #667085; }
.blue-pill,
.black-pill {
  display: inline-grid;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.blue-pill { color: var(--public-blue); background: #eaf2ff; }
.black-pill { color: #111827; background: #e5e7eb; }
.sheet-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f7faff;
  border-bottom: 1px solid #dbe7ff;
}
.sheet-tabs span {
  min-height: 28px;
  padding: 6px 10px;
  color: #344054;
  background: #fff;
  border: 1px solid #dbe7ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.sheet-tabs .active {
  color: #fff;
  background: var(--public-blue);
}
.public-app .action-card,
.public-app .pricing-card {
  color: var(--public-black);
  background: #fff;
  border-color: #dbe7ff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}
.public-app .action-card:hover,
.public-app .pricing-card.featured {
  border-color: #9bbcf7;
  box-shadow: 0 24px 60px rgba(31, 111, 235, 0.14);
}
.public-app .action-card span:not(.icon-badge):not(.beta-badge),
.public-app .clean-list,
.public-app .pricing-custom-copy {
  color: var(--public-muted);
}
.public-app .icon-badge {
  color: var(--public-blue);
  background: var(--public-blue-3);
}
.public-app .clean-list li::before {
  background: var(--public-blue);
}
.public-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 34px 0 18px;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
  background: var(--public-black);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}
.public-cta h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(30px, 5vw, 58px);
}
.public-cta p {
  max-width: 660px;
  margin-bottom: 0;
  color: #cbd5e1;
}
.public-app .public-footer {
  padding: 22px 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.public-app .public-footer a {
  color: #526071;
}
.public-app .public-footer a:hover {
  color: var(--public-blue);
}

.public-app {
  --public-black: #08111f;
  --public-blue: #1f6feb;
  --public-blue-2: #124d9f;
  --public-blue-3: #eaf2ff;
  --public-border: #d9e5f7;
  --public-muted: #5b6878;
  --public-shadow: 0 20px 56px rgba(15, 23, 42, 0.09);
  background:
    radial-gradient(circle at 80% -10%, rgba(31, 111, 235, 0.1), transparent 26%),
    radial-gradient(circle at 14% 6%, rgba(31, 111, 235, 0.09), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 42%, #ffffff 100%);
}
.public-app .topbar {
  width: 100%;
  margin: 0;
  padding: 18px max(28px, calc((100vw - 1188px) / 2 + 16px));
  background: rgba(255, 255, 255, 0.86);
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0;
  box-shadow: none;
}
.public-app .brand-logo {
  height: 64px;
  max-width: 312px;
}
.public-app .shell {
  width: min(1188px, calc(100% - 32px));
  margin-top: 16px;
}
.public-app .panel,
.public-app .auth-card {
  border-color: var(--public-border);
  border-radius: 14px;
  box-shadow: var(--public-shadow);
}
.public-app .main-nav {
  gap: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.public-app .main-nav a,
.public-app .main-nav .link-button {
  position: relative;
  min-height: 34px;
  padding: 0;
  color: #334155;
  border-radius: 0;
  box-shadow: none;
}
.public-app .main-nav a:hover,
.public-app .main-nav .link-button:hover,
.public-app .main-nav a.active {
  color: var(--public-black);
  background: transparent;
  box-shadow: none;
}
.public-app .main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 140ms ease, transform 140ms ease;
}
.public-app .main-nav a:not(.nav-cta):hover::after,
.public-app .main-nav a:not(.nav-cta).active::after {
  opacity: 1;
  transform: scaleX(1);
}
.public-app .main-nav a.nav-cta {
  min-height: 38px;
  padding: 0 15px;
  color: #fff;
  background: var(--public-black);
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(8, 17, 31, 0.14);
}
.public-app .main-nav a.nav-cta:hover {
  color: #fff;
  background: #172236;
}
.public-app .primary,
.public-app .button-link:not(.secondary) {
  min-height: 44px;
  background: var(--public-black);
  box-shadow: 0 12px 24px rgba(8, 17, 31, 0.14);
}
.public-app .primary:hover,
.public-app .button-link:not(.secondary):hover {
  background: #172236;
}
.public-app .secondary {
  border-color: var(--public-border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.public-app .public-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  min-height: 560px;
  margin-top: 20px;
  margin-bottom: 22px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 48%, rgba(233, 244, 255, 0.96) 100%);
  border-color: var(--public-border);
  border-radius: 18px;
  box-shadow: var(--public-shadow);
}
.hero-sheen {
  background-image:
    linear-gradient(rgba(31, 111, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 235, 0.06) 1px, transparent 1px);
}
.public-app .public-hero h2 {
  max-width: 680px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.94;
}
.public-app .public-hero p {
  max-width: 620px;
}
.mini-terminal,
.hero-screen,
.product-shot {
  border-color: var(--public-border);
  border-radius: 14px;
  box-shadow: var(--public-shadow);
}
.mini-terminal {
  background: var(--public-border);
}
.mini-terminal div:first-child strong,
.mini-terminal div:first-child span {
  color: var(--public-blue-2);
}
.hero-research-visual {
  gap: 12px;
}
.hero-dossier-card,
.hero-insight-row,
.hero-filing-note {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--public-border);
  border-radius: 14px;
  box-shadow: var(--public-shadow);
}
.hero-dossier-card {
  display: grid;
  gap: 18px;
  min-height: 300px;
  padding: 20px;
}
.hero-dossier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--public-border);
}
.hero-dossier-top span,
.hero-insight-row span,
.hero-filing-note p {
  margin: 0;
  color: var(--public-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-dossier-top strong {
  color: var(--public-black);
  font-size: 24px;
}
.hero-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 120px;
  padding: 14px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border: 1px solid var(--public-border);
  border-radius: 12px;
}
.hero-chart i {
  display: block;
  min-height: 28px;
  background: linear-gradient(180deg, var(--public-blue), var(--public-blue-2));
  border-radius: 8px 8px 4px 4px;
}
.hero-chart i:nth-child(1) { height: 38%; }
.hero-chart i:nth-child(2) { height: 52%; }
.hero-chart i:nth-child(3) { height: 46%; }
.hero-chart i:nth-child(4) { height: 68%; background: linear-gradient(180deg, var(--public-blue), var(--public-blue-2)); }
.hero-chart i:nth-child(5) { height: 84%; background: linear-gradient(180deg, var(--public-blue), var(--public-blue-2)); }
.hero-chart i:nth-child(6) { height: 100%; background: linear-gradient(180deg, var(--public-blue), var(--public-blue-2)); }
.hero-line-grid {
  display: grid;
  gap: 10px;
}
.hero-line-grid span,
.hero-filing-note span {
  display: block;
  height: 10px;
  background: #eaf2ff;
  border-radius: 999px;
}
.hero-line-grid span:nth-child(1) { width: 88%; }
.hero-line-grid span:nth-child(2) { width: 68%; background: #eef5ff; }
.hero-line-grid span:nth-child(3) { width: 96%; }
.hero-line-grid span:nth-child(4) { width: 58%; background: #eef5ff; }
.hero-insight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}
.hero-insight-row div {
  display: grid;
  gap: 4px;
  min-height: 78px;
  align-content: center;
  padding: 14px;
  border-right: 1px solid var(--public-border);
}
.hero-insight-row div:last-child {
  border-right: 0;
}
.hero-insight-row strong {
  color: var(--public-black);
  font-size: 20px;
}
.hero-filing-note {
  display: grid;
  gap: 9px;
  max-width: 86%;
  margin-left: auto;
  padding: 16px;
  transform: translateY(-8px);
}
.hero-filing-note strong {
  color: var(--public-black);
  font-size: 15px;
  line-height: 1.35;
}
.hero-filing-note span:nth-of-type(1) { width: 92%; background: #eef5ff; }
.hero-filing-note span:nth-of-type(2) { width: 64%; }
.hero-premium-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
}
.research-window {
  overflow: hidden;
  background: #fbfcff;
  border: 1px solid #cdd8e8;
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(8, 17, 31, 0.18);
}
.research-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 0 16px;
  color: #d9e3f1;
  background: #101827;
  font-size: 12px;
  font-weight: 800;
}
.research-window-bar span {
  color: #9aa8ba;
}
.research-workspace {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 312px;
}
.research-workspace aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 14px;
  color: #7a8798;
  background: #f4f7fb;
  border-right: 1px solid #d9e3ef;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.research-workspace aside strong {
  margin-bottom: 8px;
  color: var(--public-black);
  font-size: 22px;
  text-transform: none;
}
.research-workspace aside span {
  padding-bottom: 9px;
  border-bottom: 1px solid #d9e3ef;
}
.research-sheet {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  background:
    linear-gradient(#eef3f9 1px, transparent 1px),
    linear-gradient(90deg, #eef3f9 1px, transparent 1px),
    #fff;
  background-size: 42px 34px;
}
.sheet-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid #101827;
}
.sheet-title span {
  color: #5b6878;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.sheet-title strong {
  color: var(--public-black);
  font-size: 19px;
}
.research-sheet table {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d6e0ec;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}
.research-sheet th,
.research-sheet td {
  padding: 12px 10px;
  border-bottom: 1px solid #e6edf5;
  text-align: right;
}
.research-sheet th:first-child,
.research-sheet td:first-child {
  text-align: left;
}
.research-sheet th {
  color: #465569;
  background: #f6f8fb;
  font-size: 11px;
  text-transform: uppercase;
}
.research-sheet tr:last-child td {
  border-bottom: 0;
}
.research-sheet td:last-child {
  color: var(--public-blue-2);
  font-weight: 800;
}
.research-redline {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  width: min(82%, 370px);
  margin: -42px 24px 0 auto;
  padding: 16px;
  background: #fff;
  border: 1px solid #cdd8e8;
  border-radius: 10px;
  box-shadow: 0 20px 46px rgba(8, 17, 31, 0.15);
}
.research-redline div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #5b6878;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.research-redline div strong {
  color: var(--public-black);
}
.research-redline p {
  display: grid;
  gap: 7px;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}
.research-redline ins,
.research-redline del {
  display: block;
  padding-left: 10px;
  border-left: 3px solid currentColor;
}
.research-redline ins {
  color: var(--public-blue);
  text-decoration: none;
}
.research-redline del {
  color: #8a3b37;
  text-decoration: none;
}
.hero-redline-visual .research-window {
  background: #fff;
}
.redline-workspace-sample {
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 388px;
}
.filing-redline-doc {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  background: #fff;
}
.doc-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #101827;
}
.doc-title span {
  color: #5b6878;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.doc-title strong {
  color: var(--public-black);
  font-size: 18px;
}
.redline-excerpt {
  display: grid;
  gap: 11px;
  color: #243247;
  font-size: 13px;
  line-height: 1.62;
}
.redline-excerpt p {
  margin: 0;
  padding: 12px 14px;
  background: #fbfcfe;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
}
.redline-excerpt ins,
.redline-excerpt del,
.redline-change-table ins,
.redline-change-table del {
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}
.redline-excerpt ins,
.redline-change-table ins {
  color: var(--public-blue);
  background: #eaf2ff;
}
.redline-excerpt del,
.redline-change-table del {
  color: #8a3b37;
  background: #f8ecea;
}
.redline-change-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid #d6e0ec;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  color: #243247;
  font-size: 12px;
}
.redline-change-table th,
.redline-change-table td {
  padding: 10px;
  border-bottom: 1px solid #e6edf5;
  text-align: left;
}
.redline-change-table th {
  color: #5b6878;
  background: #f6f8fb;
  font-size: 11px;
  text-transform: uppercase;
}
.redline-change-table tr:last-child td {
  border-bottom: 0;
}
.redline-summary-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  width: min(78%, 360px);
  margin: -48px 24px 0 auto;
  padding: 16px;
  background: #101827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 20px 46px rgba(8, 17, 31, 0.18);
}
.redline-summary-card span {
  color: #9aa8ba;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.redline-summary-card strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}
.redline-summary-card p {
  margin: 0;
  color: #c5cfdd;
  font-size: 12px;
  line-height: 1.45;
}
.hero-cover-redline {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
}
.cover-redline-window {
  overflow: hidden;
  background: #f7faff;
  border: 1px solid var(--public-border);
  border-radius: 14px;
  box-shadow: var(--public-shadow);
}
.cover-redline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 0 15px;
  color: #d9e3f1;
  font-size: 12px;
  font-weight: 800;
}
.cover-redline-bar span {
  color: #a5b0bf;
}
.cover-redline-page {
  width: min(100% - 48px, 390px);
  min-height: 284px;
  margin: 18px auto 20px;
  padding: 20px 26px;
  color: #111827;
  background: #fff;
  border: 1px solid #d9e5f7;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  line-height: 1.35;
}
.cover-redline-page h3 {
  margin: 9px 0 8px;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  letter-spacing: 0;
  text-align: center;
}
.cover-redline-page p {
  margin: 0 0 7px;
}
.cover-center {
  text-align: center;
  font-weight: 700;
}
.cover-center span,
.cover-small {
  font-weight: 400;
}
.company-name {
  margin-top: 10px;
  font-size: 14px;
}
.cover-check::before {
  content: "\2612 ";
  font-family: Arial, Helvetica, sans-serif;
}
.cover-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
  margin: 9px 0 0;
  text-align: center;
}
.cover-two-col span {
  padding-bottom: 3px;
  border-bottom: 1px solid #111827;
  font-weight: 700;
}
.cover-two-col small {
  font-size: 10px;
}
.cover-redline-page del {
  color: #b42318;
  text-decoration-line: line-through;
  text-decoration-thickness: 1.5px;
}
.cover-redline-page ins {
  color: var(--public-blue-2);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.public-app .main-nav a.nav-cta,
.public-app .primary,
.public-app .button-link:not(.secondary),
.public-cta .button-link {
  color: #fff;
  background: var(--public-blue);
  box-shadow: 0 12px 24px rgba(31, 111, 235, 0.18);
}
.public-app .main-nav a.nav-cta:hover,
.public-app .primary:hover,
.public-app .button-link:not(.secondary):hover,
.public-cta .button-link:hover {
  color: #fff;
  background: var(--public-blue-2);
}
.hero-output-preview {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  border-color: var(--public-border);
}
.hero-output-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f7faff;
  border-bottom: 1px solid var(--public-border);
}
.hero-output-tabs span {
  min-height: 28px;
  padding: 6px 10px;
  color: #475467;
  background: #fff;
  border: 1px solid var(--public-border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.hero-output-tabs .active {
  color: #fff;
  background: var(--public-blue);
  border-color: var(--public-blue);
}
.hero-output-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  padding: 18px;
  background: #fff;
}
.hero-document-pane {
  min-height: 260px;
  padding: 24px 28px;
  color: #111827;
  background: #fbfcfe;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  line-height: 1.5;
}
.hero-document-pane h3 {
  margin: 8px 0 14px;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  letter-spacing: 0;
  text-align: center;
}
.hero-document-pane p {
  margin: 0 0 12px;
}
.document-kicker,
.document-company {
  text-align: center;
  font-weight: 700;
}
.document-kicker {
  text-transform: uppercase;
}
.document-company {
  margin-top: 16px;
  font-size: 15px;
}
.hero-document-pane del {
  color: #b42318;
  text-decoration-line: line-through;
  text-decoration-thickness: 1.5px;
}
.hero-document-pane ins {
  color: var(--public-blue-2);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.hero-change-pane {
  display: grid;
  gap: 8px;
  align-content: start;
}
.hero-change-pane div {
  display: grid;
  gap: 5px;
  min-height: 76px;
  align-content: center;
  padding: 12px;
  background: #f7faff;
  border: 1px solid var(--public-border);
  border-radius: 8px;
}
.hero-change-pane span {
  color: var(--public-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero-change-pane strong {
  color: var(--public-black);
  font-size: 14px;
  line-height: 1.25;
}
.hero-actual-redline {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}
.public-app .public-hero .hero-actual-redline,
.public-app .public-hero .hero-actual-redline * {
  font-family: Arial, Helvetica, sans-serif;
}
.hero-actual-redline .redline-view {
  max-height: 392px;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero-actual-redline .redline-title {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--public-border);
}
.hero-actual-redline .redline-title h2 {
  margin: 0 0 8px;
  color: var(--public-black);
  font-size: 20px;
}
.hero-actual-redline .meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  color: var(--public-muted);
  font-size: 12px;
  line-height: 1.4;
}
.hero-actual-redline .summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 16px;
}
.hero-actual-redline .summary-pill {
  padding: 6px 8px;
  color: #344054;
  background: #f2f4f7;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
.hero-actual-redline .filing-text {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  color: #17202a;
  background: #fbfcfe;
  border: 1px solid #e4edf8;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.42;
}
.public-app .public-hero .hero-actual-redline .filing-text p,
.public-app .public-hero .hero-actual-redline .filing-text ins,
.public-app .public-hero .hero-actual-redline .filing-text del {
  margin: 0;
  font-size: 12px;
  line-height: 1.42;
}
.public-app .public-hero .hero-actual-redline .filing-text p:nth-child(2) {
  margin-top: 0;
  color: #17202a;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
}
.public-app .public-hero .hero-actual-redline .filing-text p:nth-child(3) {
  color: #17202a;
  font-size: 12px;
  text-align: left;
}
.public-app .public-hero .hero-actual-redline .filing-text p:first-child {
  text-align: left;
}
.public-app .public-hero .hero-actual-redline .filing-text .paragraph-added,
.public-app .public-hero .hero-actual-redline .filing-text .paragraph-removed {
  margin-top: 0;
  padding: 0 0 0 10px;
  background: #fff;
  border: 0;
  border-left-width: 3px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.42;
}
.hero-actual-redline .paragraph-added,
.hero-actual-redline .paragraph-removed {
  padding-left: 12px;
}
.hero-actual-redline .paragraph-added {
  border-left: 3px solid var(--public-blue);
}
.hero-actual-redline .paragraph-removed {
  border-left: 3px solid #b42318;
}
.hero-actual-redline .redline-add {
  color: var(--public-blue);
  background: #eaf2ff;
  text-decoration: underline;
}
.hero-actual-redline .redline-delete {
  color: #b42318;
  background: #ffe7e3;
  text-decoration: line-through;
}
.hero-screen::before,
.shot-toolbar {
  background: var(--public-black);
}
.public-app .public-metrics {
  gap: 10px;
  margin-bottom: 34px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--public-border);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}
.public-app .public-metrics div {
  min-height: 98px;
  border-color: transparent;
  border-radius: 10px;
  box-shadow: none;
}
.public-app .public-metrics div:nth-child(2),
.public-app .public-metrics div:nth-child(4) {
  background: #f7faff;
}
.public-showcase {
  gap: clamp(22px, 4vw, 42px);
  margin: 28px 0;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--public-border);
  border-radius: 16px;
  box-shadow: var(--public-shadow);
}
.showcase-copy h2 {
  max-width: 560px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}
.showcase-copy p {
  max-width: 580px;
}
.product-shot th {
  background: #f0f6ff;
}
.insert-row td {
  background: #f3f8ff;
}
.blue-pill {
  color: var(--public-blue-2);
  background: #eaf2ff;
}
.black-pill {
  color: #334155;
  background: #edf2f7;
}
.sheet-tabs {
  background: #f7fbff;
  border-bottom-color: var(--public-border);
}
.sheet-tabs span {
  border-color: var(--public-border);
}
.sheet-tabs .active {
  background: var(--public-blue);
}
.public-app .action-card,
.public-app .pricing-card {
  border-color: var(--public-border);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
}
.public-app .action-card:hover,
.public-app .pricing-card.featured {
  border-color: #a8c8fb;
  box-shadow: 0 22px 54px rgba(31, 111, 235, 0.13);
}
.public-app .icon-badge {
  color: var(--public-blue-2);
  background: var(--public-blue-3);
  border-radius: 10px;
}
.public-app .action-card:nth-child(2) .icon-badge,
.public-app .action-card:nth-child(4) .icon-badge {
  color: var(--public-blue-2);
  background: var(--public-blue-3);
}
.public-app .clean-list li::before {
  top: 8px;
  background: var(--public-blue);
}
.pricing-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 26px;
  align-items: end;
  overflow: hidden;
  margin-top: -4px;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(120deg, #fff 0%, #fff 58%, #eef7ff 100%);
}
.pricing-heading h2 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}
.pricing-heading .muted {
  max-width: 820px;
  line-height: 1.65;
}
.pricing-summary {
  display: grid;
  gap: 8px;
}
.pricing-summary span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--public-muted);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--public-border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}
.pricing-summary strong {
  color: var(--public-black);
  font-size: 18px;
}
.public-app .pricing-grid {
  grid-template-columns: repeat(5, minmax(176px, 1fr));
  gap: 14px;
  align-items: stretch;
}
.public-app .pricing-card {
  position: relative;
  min-height: 460px;
  padding: 20px;
  overflow: hidden;
}
.public-app .pricing-card > div:first-child {
  min-height: 0;
}
.public-app .pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--public-border);
}
.public-app .pricing-card.featured::before {
  background: linear-gradient(90deg, var(--public-blue), var(--public-blue-2));
}
.pricing-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.plan-badge {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  color: var(--public-blue-2);
  background: var(--public-blue-3);
  border: 1px solid #c9dcff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.public-app .pricing-card h3 {
  font-size: 30px;
  letter-spacing: 0;
}
.public-app .pricing-card .button-link {
  width: 100%;
}
.pricing-note {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 3vw, 32px);
}
.pricing-note h2 {
  margin-bottom: 0;
}
.pricing-note p {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--public-muted);
  line-height: 1.65;
}
.public-cta {
  background: #f7faff;
  border: 1px solid var(--public-border);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}
.public-cta h2 {
  color: var(--public-black);
}
.public-cta p {
  color: var(--public-muted);
}
.public-cta .button-link {
  color: #fff;
  background: var(--public-blue);
  box-shadow: 0 14px 30px rgba(31, 111, 235, 0.22);
}
.public-cta .button-link:hover {
  color: #fff;
  background: var(--public-blue-2);
}
.pricing-cta {
  margin-top: 22px;
}
.public-app .auth-card {
  margin-top: 56px;
  padding: 30px;
}
.public-app .legal-page,
.public-app .public-page-heading:not(.pricing-heading) {
  padding: clamp(24px, 4vw, 38px);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  margin: 70px auto;
}

.auth-card,
.auth-card .stack,
.auth-card label,
.auth-card input {
  min-width: 0;
}

.public-auth-card {
  max-width: 540px;
  padding: 0;
}

.public-auth-hero {
  padding: 30px 30px 28px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #08111f;
  background-size: 46px 46px;
}

.public-auth-hero .eyebrow {
  color: #9bbcff;
}

.public-auth-hero h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 32px;
  line-height: 1.05;
}

.public-auth-hero p {
  margin: 0;
  color: #c5cfdd;
  line-height: 1.6;
}

.public-auth-body {
  padding: 30px;
}

.public-auth-body .stack {
  gap: 16px;
}

.public-auth-body label {
  color: #111827;
}

.public-auth-body input {
  min-height: 46px;
  border-color: #c9d8f2;
  background: #fbfdff;
}

.public-auth-body input:focus {
  border-color: #1f6feb;
  outline: 3px solid rgba(31, 111, 235, 0.14);
}

.public-auth-body .terms-consent,
.terms-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.public-auth-body .terms-consent input,
.terms-consent input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin-top: 2px;
}
.terms-consent span {
  min-width: 0;
}

.public-auth-body .primary {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
}

.public-auth-body .auth-switch {
  margin: 22px 0 0;
}

.auth-switch { margin-top: 24px; }
.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.stack {
  display: grid;
  gap: 14px;
}
.narrow { max-width: 420px; }
.policy-acceptance-card {
  width: min(720px, 100%);
  margin: 40px auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c8dbfb;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
}
.policy-acceptance-hero {
  min-height: 132px;
  padding: 26px 30px 24px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #08111f;
  background-size: 42px 42px;
}
.policy-acceptance-hero .eyebrow {
  margin: 0 0 6px;
  color: #9bbcff;
  font-size: 12px;
  line-height: 1.2;
}
.policy-acceptance-hero h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1.08;
}
.policy-acceptance-hero p {
  max-width: 560px;
  margin: 0;
  color: #c5cfdd;
  font-size: 14px;
  line-height: 1.5;
}
.policy-acceptance-body {
  display: grid;
  gap: 16px;
  padding: 28px 30px 30px;
}
.policy-acceptance-body p,
.policy-acceptance-body dl {
  margin: 0;
}
.policy-acceptance-intro,
.policy-acceptance-help {
  color: #475467;
  font-size: 14px;
  line-height: 1.55;
}
.policy-version-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  color: #475467;
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
}
.policy-version-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid #e4e7ec;
}
.policy-version-list div:last-child {
  border-bottom: 0;
}
.policy-version-list dt,
.policy-version-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}
.policy-version-list dt {
  color: #667085;
  font-weight: 700;
}
.policy-version-list dd {
  color: #111827;
  font-weight: 700;
}
.policy-review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.policy-review-links .button-link {
  min-height: 38px;
}
.policy-accept-form {
  gap: 14px;
  padding-top: 4px;
}
.policy-acceptance-card .terms-consent {
  padding: 12px 13px;
  background: #fbfdff;
  border: 1px solid #d8e4f8;
  border-radius: 8px;
}
.policy-acceptance-card .primary {
  width: 100%;
  min-height: 46px;
}
.feedback-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}
.feedback-form-panel textarea {
  min-height: 190px;
}
.feedback-side-panel {
  position: sticky;
  top: 108px;
}
.feedback-list {
  display: grid;
  gap: 10px;
}
.feedback-item {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.feedback-item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.feedback-item p {
  margin: 7px 0 6px;
  color: var(--muted);
  font-size: 12px;
}
.feedback-item time {
  color: var(--muted);
  font-size: 12px;
}
.status-pill {
  display: inline-grid;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: #175cd3;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.status-resolved,
.status-closed {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.status-planned {
  color: #854d0e;
  background: #fffbeb;
  border-color: #fde68a;
}
.feedback-status-form,
.admin-plan-form {
  display: grid;
  gap: 7px;
  min-width: 140px;
}
.feedback-status-form select,
.admin-plan-form select {
  min-height: 34px;
  padding: 5px 7px;
}
.feedback-message-cell {
  max-width: 380px;
}
.contact-form {
  width: min(620px, 100%);
}
.contact-form textarea {
  min-height: 190px;
}
.contact-form .primary {
  width: fit-content;
  min-width: 150px;
}
.contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #344054;
}
input, select, textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  accent-color: var(--accent);
}
textarea { resize: vertical; }
.primary, .secondary, .button-link {
  display: inline-grid;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
button.is-loading,
.button-link.is-loading {
  grid-auto-flow: column;
  gap: 8px;
  opacity: 0.9;
}
button.is-loading::before,
.button-link.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: button-working-spin 700ms linear infinite;
}
@keyframes button-working-spin {
  to { transform: rotate(360deg); }
}
.primary, .button-link { color: #fff; background: var(--accent); }
.primary:hover, .button-link:hover { background: var(--accent-dark); }
.secondary { color: var(--accent); background: #edf3ff; }
.file-button-xlsx,
.file-button-xlsx.button-link,
.file-button-xlsx.primary,
.file-button-xlsx.action-link {
  color: #fff;
  background: var(--excel-green);
}
.file-button-xlsx:hover,
.file-button-xlsx.button-link:hover,
.file-button-xlsx.primary:hover,
.file-button-xlsx.action-link:hover {
  color: #fff;
  background: var(--excel-green-dark);
}
.file-button-pdf,
.file-button-pdf.secondary,
.file-button-pdf.button-link,
.file-button-pdf.action-link {
  color: #fff;
  background: var(--pdf-red);
}
.file-button-pdf:hover:not(:disabled),
.file-button-pdf.secondary:hover:not(:disabled),
.file-button-pdf.button-link:hover:not(.disabled),
.file-button-pdf.action-link:hover {
  color: #fff;
  background: var(--pdf-red-dark);
}
.button-link.disabled {
  pointer-events: none;
  opacity: 0.55;
}
.inline { display: inline; margin: 0; }
.link-button {
  padding: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 700;
}
.message {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  line-height: 1.4;
}
.message[hidden] { display: none; }
.message.error { color: var(--red); background: var(--red-bg); border-color: #fecdca; }
.message.success { color: var(--success-blue); background: var(--success-blue-bg); border-color: #bfdbfe; }
.message.loading { color: #175cd3; background: #eff6ff; border-color: #bfdbfe; }
.muted { color: var(--muted); }
.metric { margin-bottom: 4px; font-size: 30px; font-weight: 800; }
.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 30%);
  align-items: center;
  gap: 28px;
  margin-bottom: 18px;
  padding: 30px;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.dashboard-hero h2 {
  margin-bottom: 8px;
  font-size: 28px;
}
.dashboard-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}
.dashboard-hero .eyebrow { color: var(--muted); }
.dashboard-hero .button-link {
  width: fit-content;
  min-width: 150px;
  color: #fff;
  background: var(--accent);
}
.dashboard-hero .button-link:hover { background: var(--accent-dark); }
.dashboard-hero-copy {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.dashboard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dashboard-chip {
  display: inline-grid;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}
.chip-blue { color: var(--accent-dark); background: var(--accent-soft); border-color: #cfe0ff; }
.chip-accent { color: #0f4ea8; background: #edf5ff; border-color: #c8dcff; }
.dashboard-visual {
  --dashboard-visual-scale: 1;
  position: relative;
  width: calc(310px * var(--dashboard-visual-scale));
  height: calc(190px * var(--dashboard-visual-scale));
  justify-self: end;
  min-height: 0;
}
.dashboard-visual-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 310px;
  height: 190px;
  transform: scale(var(--dashboard-visual-scale));
  transform-origin: top left;
}
.visual-card {
  position: absolute;
  display: grid;
  gap: 9px;
  padding: 16px;
  background: #fff;
  border: 1px solid #dfe5f2;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.1);
}
.visual-card span {
  display: block;
  height: 8px;
  background: #e8eef8;
  border-radius: 4px;
}
.visual-card-main {
  top: 8px;
  left: 18px;
  width: 210px;
  min-height: 148px;
}
.visual-card-main::before {
  content: "";
  height: 5px;
  margin: -16px -16px 8px;
  background: linear-gradient(90deg, var(--accent) 0 50%, #4f8ff7 50% 100%);
  border-radius: 8px 8px 0 0;
}
.visual-card-main span:nth-child(2) { width: 70%; }
.visual-card-main span:nth-child(3) { width: 88%; }
.visual-card-main span:nth-child(4) { width: 52%; }
.visual-card-side {
  right: 12px;
  bottom: 12px;
  width: 150px;
  min-height: 112px;
}
.visual-card-side::before {
  content: "";
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  background: conic-gradient(var(--accent) 0 58%, #8db7ff 58% 100%);
  border-radius: 50%;
}
.visual-card-side span:nth-child(2) { width: 82%; }
.visual-card-side span:nth-child(3) { width: 58%; }
.visual-grid {
  position: absolute;
  right: 44px;
  top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 18px);
  gap: 8px;
}
.visual-grid i {
  width: 18px;
  height: 18px;
  background: var(--accent-soft);
  border: 1px solid #cfe0ff;
  border-radius: 5px;
}
.visual-grid i:nth-child(2),
.visual-grid i:nth-child(4) {
  background: #edf5ff;
  border-color: #c8dcff;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.dashboard-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 102px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.dashboard-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}
.stat-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.stat-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.dashboard-section {
  margin-bottom: 18px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.section-heading h2 { margin-bottom: 0; }
.history-heading {
  align-items: center;
  margin-bottom: 18px;
}
.history-heading > div {
  min-width: 0;
}
.history-search-form {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}
.history-search {
  flex: 0 1 360px;
  min-width: 260px;
  width: 360px;
}
.history-search-form .compact {
  flex: 0 0 auto;
}
.history-search-form .action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  line-height: 1;
  transform: translateY(3px);
  white-space: nowrap;
}
.admin-date-filter,
.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}
.admin-date-filter label {
  min-width: 150px;
}
.admin-document-controls {
  margin-bottom: 18px;
}
.admin-document-controls .message {
  margin: 12px 0 0;
}
.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.admin-tabs {
  display: grid;
  gap: 16px;
}
.admin-users-layout {
  display: grid;
  gap: 18px;
}
.admin-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background: #eef1f5;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
}
.admin-tab {
  min-height: 36px;
  padding: 0 12px;
  color: #475467;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}
.admin-tab:hover,
.admin-tab.active {
  color: var(--text);
  background: #fff;
}
.admin-tab.active {
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}
.admin-dataset-releases-table {
  table-layout: fixed;
}
.admin-dataset-releases-table th:nth-child(1) { width: 17%; }
.admin-dataset-releases-table th:nth-child(2) { width: 32%; }
.admin-dataset-releases-table th:nth-child(3) { width: 26%; }
.admin-dataset-releases-table th:nth-child(4) { width: 25%; }
.admin-dataset-releases-table td {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-dataset-file-cell,
.admin-dataset-email-cell {
  line-height: 1.35;
}
.system-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.system-health-grid > div {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.system-health-grid strong {
  color: var(--text);
  font-size: 18px;
}
.maintenance-switch-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
}
.maintenance-switch-form h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.maintenance-switch-form p {
  margin: 0;
}
.maintenance-switch {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.maintenance-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.maintenance-switch span {
  position: relative;
  width: 52px;
  height: 30px;
  background: #d0d5dd;
  border: 1px solid #b8c0cc;
  border-radius: 999px;
  transition: background 160ms ease, border-color 160ms ease;
}
.maintenance-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
  transition: transform 160ms ease;
}
.maintenance-switch input:checked + span {
  background: #08111f;
  border-color: #08111f;
}
.maintenance-switch input:checked + span::after {
  transform: translateX(22px);
}
.maintenance-page {
  max-width: 760px;
  margin: 72px auto;
  text-align: center;
}
.maintenance-page h2 {
  font-size: 34px;
}
.maintenance-page .button-link {
  width: fit-content;
  margin: 18px auto 0;
}
.action-link {
  display: block;
  margin: 2px 0;
}
.action-link.file-button-xlsx,
.action-link.file-button-pdf {
  display: inline-grid;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.action-card {
  display: grid;
  gap: 12px;
  min-height: 172px;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: var(--shadow);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.action-card:hover {
  border-color: #9fb8e8;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.1);
  transform: translateY(-2px);
}
.action-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.action-card-heading strong {
  margin: 0;
}
.action-card-beta-badge {
  align-self: center;
}
.action-card span:not(.icon-badge):not(.beta-badge) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.icon-badge {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  color: #1f4f8a;
  background: #eaf2ff;
  border-radius: 8px;
}
.icon-badge::before,
.icon-badge::after {
  content: "";
  position: absolute;
}
.icon-plan { color: var(--accent); background: var(--accent-soft); }
.icon-usage { color: #0f4ea8; background: #edf5ff; }
.icon-remaining { color: var(--accent); background: var(--accent-soft); }
.icon-history,
.icon-archive { color: #0f4ea8; background: #edf5ff; }
.icon-workbook { color: var(--accent); background: var(--accent-soft); }
.icon-redline { color: #0f4ea8; background: #edf5ff; }
.icon-sec-filings { color: #1459c8; background: #eaf2ff; }
.icon-dataset { color: var(--accent); background: var(--accent-soft); }
.icon-feedback { color: #0f4ea8; background: #edf5ff; }
.icon-plan::before,
.icon-workbook::before {
  inset: 10px 13px;
  border: 2px solid currentColor;
  border-top-width: 6px;
  border-radius: 3px;
}
.icon-plan::after,
.icon-workbook::after {
  left: 17px;
  top: 22px;
  width: 10px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}
.icon-usage::before {
  left: 11px;
  right: 11px;
  bottom: 12px;
  height: 18px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}
.icon-usage::after {
  left: 15px;
  top: 16px;
  width: 18px;
  height: 12px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: skew(-18deg);
}
.icon-remaining::before {
  inset: 11px;
  border: 3px solid currentColor;
  border-radius: 50%;
}
.icon-remaining::after {
  left: 20px;
  top: 14px;
  width: 3px;
  height: 10px;
  background: currentColor;
  box-shadow: 5px 9px 0 currentColor;
}
.icon-history::before,
.icon-archive::before {
  inset: 12px;
  border: 3px solid currentColor;
  border-radius: 50%;
}
.icon-history::after,
.icon-archive::after {
  left: 21px;
  top: 14px;
  width: 3px;
  height: 11px;
  background: currentColor;
  transform-origin: bottom;
  transform: rotate(45deg);
}
.icon-redline::before {
  left: 11px;
  top: 12px;
  width: 22px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor;
}
.icon-redline::after {
  left: 14px;
  top: 11px;
  width: 16px;
  height: 20px;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid currentColor;
  transform: rotate(-18deg);
}
.icon-sec-filings::before {
  inset: 10px 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.icon-sec-filings::after {
  left: 16px;
  top: 17px;
  width: 13px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}
.icon-dataset::before {
  inset: 10px 11px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.icon-dataset::after {
  left: 11px;
  top: 19px;
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 7px -9px 0 -1px currentColor, 7px 0 0 -1px currentColor, 7px 7px 0 -1px currentColor, 14px -9px 0 -1px currentColor, 14px 0 0 -1px currentColor, 14px 7px 0 -1px currentColor;
}
.icon-feedback::before {
  left: 10px;
  top: 11px;
  width: 24px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 6px;
}
.icon-feedback::after {
  left: 18px;
  top: 27px;
  width: 8px;
  height: 8px;
  background: #edf5ff;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
th { color: #344054; background: #f8fafc; }
.legal-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 420px;
  padding: 3px;
  background: #eef1f5;
  border-radius: 7px;
}
.segmented label { display: block; margin: 0; }
.segmented input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.segmented span {
  display: grid;
  min-height: 36px;
  place-items: center;
  border-radius: 5px;
  color: #475467;
}
.segmented input:checked + span {
  color: var(--text);
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}
.redline-workspace {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.securities-workspace {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.sec-filings-workspace {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.redline-sidebar {
  position: sticky;
  top: 108px;
}
.securities-sidebar {
  position: sticky;
  top: 108px;
}
.sec-filings-sidebar {
  position: sticky;
  top: 108px;
}
.redline-controls {
  display: grid;
  gap: 14px;
}
.sec-filings-controls {
  display: grid;
  gap: 14px;
}
.sec-category-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.sec-category-list button {
  min-height: 36px;
  padding: 8px 10px;
  color: #334155;
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}
.sec-category-list button:hover,
.sec-category-list button.active {
  color: #08111f;
  background: #eaf2ff;
  border-color: #9bbcf7;
}
.sec-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.redline-preview-panel,
.securities-preview-panel {
  min-height: calc(100vh - 190px);
  padding: 0;
  overflow: hidden;
}
.sec-filings-browser {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: calc(100vh - 190px);
  padding: 0;
  overflow: hidden;
}
.preview-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.redline-preview-panel .preview-actions {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(240px, 1fr) auto;
  grid-template-areas: "tools legend downloads";
  align-items: center;
}
.preview-tools,
.download-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.redline-preview-panel .preview-tools {
  grid-area: tools;
}
.redline-preview-panel .download-tools {
  grid-area: downloads;
}
.redline-legend {
  grid-area: legend;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 10px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}
.redline-legend-title {
  color: var(--muted);
  text-transform: uppercase;
}
.redline-legend-item {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.redline-legend-swatch {
  width: 24px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid currentColor;
}
.redline-legend-added {
  color: var(--redline-blue);
  background: var(--redline-blue-bg);
}
.redline-legend-deleted {
  color: var(--redline-red);
  background: var(--redline-red-bg);
}
.redline-legend-moved {
  color: var(--redline-green);
  background: var(--redline-green-bg);
}
.compact {
  min-height: 34px;
  padding: 0 10px;
}
.tool-readout {
  min-width: 46px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.page-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}
.page-jump input {
  width: 58px;
  min-height: 34px;
  padding: 5px 7px;
}
.empty-preview {
  display: grid;
  min-height: 520px;
  place-content: center;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}
#redlinePreview {
  width: 100%;
  min-height: calc(100vh - 232px);
  border: 0;
  background: #fff;
}
#securitiesPreview {
  width: 100%;
  min-height: calc(100vh - 232px);
  border: 0;
  background: #fff;
}
.securities-preview-panel .preview-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.sec-filings-actions {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
}
.sec-filings-actions > div:first-child {
  min-width: 0;
}
.sec-filing-preview-tools {
  flex-wrap: wrap;
  justify-content: center;
}
.sec-filings-actions #secFilingSourceLink {
  justify-self: end;
}
.sec-filings-actions h2,
.sec-filings-actions p {
  margin-bottom: 4px;
}
.sec-filings-layout {
  display: grid;
  grid-template-columns: var(--sec-list-width, 300px) 9px minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 278px);
  overflow: hidden;
}
.sec-filings-list {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.sec-filings-splitter {
  position: relative;
  min-width: 9px;
  background: #eef3f9;
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
  cursor: col-resize;
}
.sec-filings-splitter::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 54px;
  border-radius: 999px;
  background: #9bbcf7;
  transform: translate(-50%, -50%);
}
.sec-filings-splitter:hover,
.sec-filings-splitter:focus {
  background: #dce9fb;
  outline: none;
}
.is-resizing-sec-filings {
  cursor: col-resize;
  user-select: none;
}
.sec-filings-list-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.sec-filings-table-wrap {
  overflow: auto;
  max-height: calc(100vh - 338px);
}
.sec-filings-table {
  min-width: 0;
  margin: 0;
  table-layout: fixed;
  font-size: 12px;
}
.sec-filings-table th,
.sec-filings-table td {
  padding: 7px 7px;
  overflow-wrap: anywhere;
  line-height: 1.28;
}
.sec-filings-table th:nth-child(1),
.sec-filings-table td:nth-child(1) {
  width: 44%;
}
.sec-filings-table th:nth-child(2),
.sec-filings-table td:nth-child(2),
.sec-filings-table th:nth-child(3),
.sec-filings-table td:nth-child(3) {
  width: 28%;
}
.sec-filing-row {
  cursor: pointer;
}
.sec-filing-row:hover,
.sec-filing-row:focus,
.sec-filing-row.active {
  background: #eaf2ff;
}
.sec-filing-row:focus {
  outline: 3px solid rgba(31, 111, 235, 0.16);
  outline-offset: -3px;
}
.sec-filings-table td:first-child {
  width: 44%;
}
.sec-filing-row .muted {
  font-size: 11px;
}
.sec-filing-viewer {
  display: grid;
  grid-template-rows: auto auto minmax(520px, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}
.sec-filing-trust-bar {
  padding: 9px 14px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
  background: #f8fbff;
  border-bottom: 1px solid var(--border);
}
.sec-filing-debug {
  margin: 0 0 10px;
  padding: 10px 12px;
  color: #111827;
  background: #fff8e6;
  border: 1px solid #f4c95d;
  border-radius: 6px;
}
.sec-filing-debug-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.sec-filing-debug pre {
  max-height: 300px;
  margin: 0;
  overflow: auto;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
}
#secFilingViewer {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: calc(100vh - 332px);
  min-width: 0;
  border: 0;
  overflow-x: auto;
  overflow-y: scroll;
  background: #fff;
  box-sizing: border-box;
  contain: size layout paint style;
  scrollbar-gutter: stable;
}
.sec-filing-document-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: calc(100vh - 332px);
  min-height: 520px;
  overflow: hidden;
  background: #fff;
  contain: size layout paint style;
}
.sec-filing-document-stage {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  contain: size layout paint style;
}
.sec-filing-document-stage #secFilingViewer {
  width: 100%;
  height: 100%;
}
.sec-filing-document-surface[hidden] {
  display: none;
}
.sec-filing-documents {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--border);
}
.sec-filing-documents-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.sec-filing-document-list {
  display: flex;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}
.sec-document-button {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 170px;
  max-width: 260px;
  padding: 8px 10px;
  color: #17202a;
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.sec-document-button.active {
  background: #eaf2ff;
  border-color: #9bbcf7;
}
.sec-document-button span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.securities-preview-panel #securitiesDownloadBtn {
  width: 72px;
  min-width: 72px;
  min-height: 36px;
  justify-self: end;
  padding: 0 12px;
  white-space: nowrap;
}
.results {
  display: grid;
  gap: 6px;
}
.results[hidden] {
  display: none;
}
.result-button {
  width: 100%;
  padding: 10px;
  text-align: left;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.result-button strong { display: block; }
pre {
  overflow: auto;
  padding: 14px;
  background: #101828;
  color: #f2f4f7;
  border-radius: 6px;
}

.portal-app.portal-design-signal {
  --portal-black: #08111f;
  --portal-border: #c8dbfb;
  --portal-muted: #5f6b7a;
  color: var(--portal-black);
  background:
    radial-gradient(circle at 86% -10%, rgba(31, 111, 235, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef5ff 42%, #ffffff 100%);
}

.portal-design-signal .topbar {
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.portal-design-signal .brand-logo {
  height: 58px;
}

.portal-design-signal .main-nav {
  gap: 5px;
  padding: 6px;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  box-shadow: none;
}

.portal-design-signal .main-nav a,
.portal-design-signal .main-nav .link-button,
.portal-design-signal .nav-dropdown-toggle {
  min-height: 38px;
  padding: 0 12px;
  color: #334155;
  border-radius: 8px;
}

.portal-design-signal .main-nav a:hover,
.portal-design-signal .main-nav .link-button:hover,
.portal-design-signal .nav-dropdown-toggle:hover,
.portal-design-signal .main-nav a.active,
.portal-design-signal .nav-dropdown-toggle.active {
  color: #08111f;
  background: #eaf2ff;
  box-shadow: none;
}

.portal-design-signal .nav-dropdown-menu {
  border-color: #d9e5f7;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.portal-design-signal .panel,
.portal-design-signal .dashboard-stat,
.portal-design-signal .action-card,
.portal-design-signal .legal-note,
.portal-design-signal .pricing-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--portal-border);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.portal-design-signal .dashboard-hero {
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #08111f;
  background-size: 46px 46px;
  border-color: #1c2b43;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(8, 17, 31, 0.22);
}

.portal-design-signal .dashboard-hero h2 {
  color: #fff;
}

.portal-design-signal .dashboard-hero p {
  color: #c5cfdd;
}

.portal-design-signal .dashboard-hero .eyebrow {
  color: #9bbcff;
}

.portal-design-signal .dashboard-hero .button-link {
  color: #fff;
  background: #1f6feb;
  box-shadow: 0 14px 30px rgba(31, 111, 235, 0.22);
}

.portal-design-signal .portal-page-intro {
  margin: 0 0 14px;
  min-height: 118px;
  padding: 22px 24px 20px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #08111f;
  background-size: 42px 42px;
  border: 1px solid #1c2b43;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(8, 17, 31, 0.18);
}

.portal-design-signal .portal-page-intro .eyebrow {
  margin-bottom: 5px;
  color: #9bbcff;
}

.portal-design-signal .portal-page-intro h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.08;
}

.portal-design-signal .portal-page-intro p:last-child {
  max-width: 840px;
  margin: 5px 0 0;
  color: #c5cfdd;
  font-size: 13px;
  line-height: 1.45;
}

.portal-design-signal .dashboard-chip {
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.portal-design-signal .visual-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(217, 229, 247, 0.9);
}

.portal-design-signal .section-heading h2,
.portal-design-signal .panel h2,
.portal-design-signal .action-card strong,
.portal-design-signal .dashboard-stat strong {
  color: #08111f;
}

.portal-design-signal .muted,
.portal-design-signal .action-card span:not(.icon-badge):not(.beta-badge),
.portal-design-signal .legal-note {
  color: var(--portal-muted);
}

.portal-design-signal .beta-badge {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.portal-design-signal .icon-badge {
  color: #1f6feb;
  background: #eaf2ff;
}

.portal-design-signal .action-card:hover {
  border-color: #9bbcf7;
  box-shadow: 0 18px 44px rgba(31, 111, 235, 0.13);
}

.portal-design-signal .billing-pricing-grid {
  grid-template-columns: repeat(5, minmax(176px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.portal-design-signal .billing-pricing-grid .pricing-card {
  position: relative;
  min-height: 460px;
  padding: 20px;
  overflow: hidden;
  color: #08111f;
  background: #fff;
  border-color: #d9e5f7;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.portal-design-signal .billing-pricing-grid .pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #d9e5f7;
}

.portal-design-signal .billing-pricing-grid .pricing-card.featured {
  border-color: #9bbcf7;
  box-shadow: 0 24px 60px rgba(31, 111, 235, 0.14);
}

.portal-design-signal .billing-pricing-grid .pricing-card.is-current {
  border-color: #6a95e8;
  box-shadow: 0 22px 58px rgba(31, 111, 235, 0.18);
}

.portal-design-signal .billing-pricing-grid .pricing-card.is-current::before,
.portal-design-signal .billing-pricing-grid .pricing-card.is-selected::before {
  background: linear-gradient(90deg, #1f6feb, #124d9f);
}

.portal-design-signal .billing-pricing-grid .pricing-card.is-selected {
  border-color: #b8d0fb;
}

.portal-design-signal .billing-pricing-grid .pricing-card.featured::before {
  background: linear-gradient(90deg, #1f6feb, #124d9f);
}

.portal-design-signal .billing-pricing-grid .pricing-card > div:first-child {
  min-height: 0;
}

.portal-design-signal .billing-pricing-grid .pricing-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.portal-design-signal .billing-pricing-grid .pricing-card h3 {
  font-size: 30px;
  letter-spacing: 0;
}

.portal-design-signal .billing-pricing-grid .clean-list,
.portal-design-signal .billing-pricing-grid .pricing-custom-copy {
  color: #5b6878;
}

.portal-design-signal .billing-pricing-grid .clean-list li::before {
  background: #1f6feb;
}

.portal-design-signal .billing-pricing-grid .plan-badge {
  color: #124d9f;
  background: #eaf2ff;
  border-color: #c9dcff;
}

.portal-design-signal .billing-pricing-grid .plan-badge.plan-badge-state {
  color: #0b3c80;
  background: #eef5ff;
  border-color: #aecaef;
}

.portal-design-signal .billing-pricing-grid .button-link,
.portal-design-signal .billing-pricing-grid .pricing-card > button {
  width: 100%;
}

.billing-management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.billing-overage-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d9e5f7;
  border-radius: 12px;
  background: #fbfdff;
}

.billing-overage-card h3 {
  margin-bottom: 6px;
}

.team-seat-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.team-seat-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #d9e5f7;
  border-radius: 12px;
  background: #fbfdff;
}

.team-seat-row p {
  margin: 4px 0 0;
}

.team-seat-row-open {
  background: #f7faff;
}

.team-seat-status {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #c9d8f2;
  border-radius: 999px;
  color: #0b3c80;
  background: #eef5ff;
  font-size: 12px;
  font-weight: 700;
}

.team-seat-form {
  margin-top: 18px;
}

.portal-design-signal .redline-sidebar,
.portal-design-signal .securities-sidebar,
.portal-design-signal .sec-filings-sidebar {
  top: 0;
}

.portal-design-signal .empty-preview {
  color: var(--portal-muted);
  background:
    linear-gradient(#eef3f9 1px, transparent 1px),
    linear-gradient(90deg, #eef3f9 1px, transparent 1px),
    #fff;
  background-size: 44px 34px;
}

.portal-design-signal input,
.portal-design-signal select,
.portal-design-signal textarea,
.portal-design-signal .result-button {
  border-color: #c9d8f2;
  background: #fbfdff;
}

.portal-design-signal input:focus,
.portal-design-signal select:focus,
.portal-design-signal textarea:focus {
  border-color: #1f6feb;
  outline: 3px solid rgba(31, 111, 235, 0.14);
}

.portal-design-signal .segmented,
.portal-design-signal .admin-tab-list {
  background: #eef5ff;
  border: 1px solid #d9e5f7;
}

.portal-design-signal .system-health-grid > div {
  background: #f8fbff;
  border-color: #d9e5f7;
}

.portal-design-signal .maintenance-switch-form {
  border-top-color: #dce8f7;
}

.portal-design-signal .segmented input:checked + span,
.portal-design-signal .admin-tab:hover,
.portal-design-signal .admin-tab.active {
  color: #08111f;
  background: #fff;
}

.portal-design-signal th {
  color: #334155;
  background: #f2f7ff;
}

.portal-design-signal td,
.portal-design-signal th {
  border-bottom-color: #dce8f7;
}

.portal-design-signal .feedback-item {
  background: #f8fbff;
  border-color: #d9e5f7;
}

.portal-design-signal .message.loading,
.portal-design-signal .message.success {
  color: #175cd3;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.portal-design-signal .message.error {
  color: #b42318;
  background: #fff1f0;
}

@media (max-width: 750px) {
  .topbar {
    position: relative;
    display: block;
    padding: 20px;
  }
  .brand-block { padding-right: 56px; }
  .brand-logo {
    height: 56px;
    max-width: min(250px, calc(100vw - 116px));
  }
  .nav-toggle { display: inline-grid; position: absolute; top: 20px; right: 20px; }
  .main-nav {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    margin-top: 16px;
  }
  .main-nav.is-open { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 4px;
    box-shadow: none;
  }
  .nav-dropdown:not(.is-open) .nav-dropdown-menu {
    display: none;
  }
  .main-nav a,
  .main-nav .link-button {
    width: 100%;
    justify-content: flex-start;
  }
  .system-health-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .dashboard-hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 30%);
    padding: 22px;
  }
  .dashboard-hero h2 { font-size: 26px; }
  .dashboard-hero .button-link { width: fit-content; }
  .portal-design-signal .portal-page-intro {
    padding: 14px 16px;
  }
  .portal-design-signal .portal-page-intro h1 {
    font-size: 22px;
  }
  .portal-design-signal .portal-page-intro p:last-child {
    font-size: 13px;
  }
  .dashboard-visual {
    --dashboard-visual-scale: 0.9;
  }
  .dashboard-stats { grid-template-columns: 1fr; }
  .system-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .maintenance-switch-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .maintenance-switch-form .compact {
    width: 100%;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .grid.two, .action-grid { grid-template-columns: 1fr; }
  .public-hero { grid-template-columns: 1fr; padding: 24px; }
  .public-hero h2 { font-size: 34px; }
  .hero-actions .button-link { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .public-app .public-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 16px;
    padding: 30px 22px;
  }
  .public-app .public-hero-copy {
    align-content: start;
  }
  .public-app .public-hero h2 {
    font-size: 46px;
  }
  .hero-product-stack {
    margin-top: 24px;
  }
  .mini-terminal {
    grid-template-columns: 1fr;
  }
  .public-app .public-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .public-showcase,
  .public-showcase.reverse {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .public-showcase.reverse .showcase-copy {
    order: 0;
  }
  .product-shot {
    overflow-x: auto;
  }
  .product-shot table {
    min-width: 620px;
  }
  .redline-workspace,
  .securities-workspace,
  .sec-filings-workspace,
  .feedback-workspace { grid-template-columns: 1fr; }
  .redline-sidebar,
  .securities-sidebar,
  .sec-filings-sidebar,
  .feedback-side-panel { position: static; }
  .preview-actions { align-items: stretch; flex-direction: column; }
  .preview-tools, .download-tools { flex-wrap: wrap; }
  .sec-filings-layout {
    grid-template-columns: 1fr;
  }
  .sec-filings-list {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .sec-filings-splitter {
    display: none;
  }
  .sec-filings-table-wrap {
    max-height: 420px;
  }
}

@media (max-width: 1180px) {
  .redline-preview-panel .preview-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "tools downloads"
      "legend legend";
    align-items: center;
  }
  .redline-preview-panel .preview-tools {
    flex-wrap: wrap;
  }
  .redline-preview-panel .download-tools {
    justify-content: flex-end;
  }
  .redline-legend {
    justify-content: flex-start;
  }
  .sec-filings-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .sec-filing-preview-tools {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .redline-preview-panel .preview-actions {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tools"
      "legend"
      "downloads";
    align-items: stretch;
  }
  .redline-preview-panel .download-tools {
    justify-content: flex-start;
  }
  .sec-filter-grid {
    grid-template-columns: 1fr;
  }
  .sec-filings-actions {
    grid-template-columns: 1fr;
  }
  .sec-filings-actions #secFilingSourceLink {
    justify-self: start;
  }
  .sec-filings-list-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .dashboard-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .dashboard-hero .button-link {
    width: 100%;
  }
  .dashboard-visual {
    --dashboard-visual-scale: 1;
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .dashboard-visual {
    --dashboard-visual-scale: 0.86;
  }
}

@media (max-width: 380px) {
  .dashboard-visual {
    --dashboard-visual-scale: 0.76;
  }
}

@media (max-width: 1100px) {
  .public-app .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-design-signal .billing-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-heading {
    grid-template-columns: 1fr;
  }
  .pricing-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
  .public-app .shell {
    width: min(100% - 24px, 1188px);
    margin-top: 16px;
  }
  .public-app .public-hero {
    margin-top: 14px;
    padding: 28px 18px;
    border-radius: 14px;
  }
  .public-app .public-hero h2 {
    font-size: 42px;
  }
  .public-app .public-hero p {
    font-size: 17px;
  }
  .public-app .public-metrics,
  .public-app .pricing-grid,
  .portal-design-signal .billing-pricing-grid,
  .pricing-summary {
    grid-template-columns: 1fr;
  }
  .public-showcase {
    margin: 22px 0;
  }
  .showcase-copy h2,
  .pricing-heading h2,
  .public-cta h2 {
    font-size: 32px;
  }
  .shot-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .public-app .pricing-card {
    min-height: auto;
  }
  .portal-design-signal .billing-pricing-grid .pricing-card {
    min-height: auto;
  }
}

@media (min-width: 751px) and (max-width: 1100px) {
  .public-app .topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: center;
    justify-content: center;
    padding: 16px 22px;
  }
  .public-app .brand-block {
    justify-content: flex-start;
    padding-right: 0;
  }
  .public-app .main-nav {
    width: auto;
    justify-content: center;
  }
  .public-app .main-nav a,
  .public-app .main-nav .link-button {
    flex: 0 0 auto;
    justify-content: center;
    white-space: nowrap;
  }
  .public-app .main-nav a.nav-cta {
    flex-grow: 0;
  }
  .public-header-compact .topbar {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
  }
  .public-header-compact .brand-block {
    flex: 0 0 auto;
  }
  .public-header-compact .main-nav {
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: flex-end;
  }
  .public-app .shell {
    width: min(100% - 28px, 1020px);
  }
  .public-app .public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 22px;
    min-height: auto;
    padding: 34px 28px;
  }
  .public-app .public-hero h2 {
    font-size: 52px;
  }
  .public-app .public-hero p {
    font-size: 18px;
  }
  .public-app .hero-actions .button-link {
    width: auto;
  }
  .research-workspace {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 270px;
  }
  .research-workspace aside {
    padding: 16px 12px;
  }
  .research-sheet {
    padding: 16px;
  }
  .research-sheet th,
  .research-sheet td {
    padding: 10px 8px;
  }
  .research-redline {
    width: min(92%, 340px);
    margin-top: -28px;
  }
  .redline-workspace-sample {
    grid-template-columns: 94px minmax(0, 1fr);
    min-height: 340px;
  }
  .filing-redline-doc {
    padding: 16px;
  }
  .redline-excerpt {
    font-size: 12px;
    line-height: 1.52;
  }
  .redline-excerpt p {
    padding: 10px 12px;
  }
  .redline-summary-card {
    width: min(88%, 340px);
    margin-top: -34px;
  }
  .cover-redline-page {
    width: min(100% - 32px, 370px);
    min-height: 260px;
    margin: 14px auto 16px;
    padding: 18px 22px;
    font-size: 11px;
  }
  .cover-redline-page h3 {
    font-size: 20px;
  }
  .hero-output-body {
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
    padding: 14px;
  }
  .hero-document-pane {
    min-height: 230px;
    padding: 20px;
    font-size: 12px;
  }
  .hero-change-pane div {
    min-height: 68px;
    padding: 10px;
  }
  .hero-actual-redline .redline-view {
    max-height: 350px;
    padding: 14px;
  }
  .hero-actual-redline .redline-title h2 {
    font-size: 18px;
  }
  .hero-actual-redline .filing-text {
    font-size: 12px;
  }
  .public-app .public-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-showcase,
  .public-showcase.reverse {
    padding: 28px;
  }
  .pricing-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 751px) and (max-width: 900px) {
  .public-app .public-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .public-app .public-hero-copy {
    max-width: 680px;
  }
  .public-app .public-hero h2 {
    font-size: 48px;
  }
  .hero-premium-visual {
    max-width: 680px;
  }
  .research-redline {
    width: min(86%, 380px);
  }
  .redline-workspace-sample {
    min-height: 0;
  }
  .redline-summary-card {
    width: min(82%, 380px);
  }
  .hero-cover-redline {
    max-width: 620px;
  }
  .cover-redline-page {
    width: min(100% - 36px, 410px);
  }
  .hero-output-preview {
    max-width: 680px;
  }
  .hero-actual-redline {
    max-width: 680px;
  }
  .public-app .public-metrics,
  .pricing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
  .public-app .topbar {
    width: 100%;
    margin: 0;
    padding: 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .public-app .nav-toggle {
    top: 20px;
    right: 16px;
  }
  .public-app .main-nav {
    background: #fff;
  }
  .public-app .main-nav a,
  .public-app .main-nav .link-button {
    min-height: 40px;
    padding: 0 2px;
  }
  .research-workspace {
    grid-template-columns: 1fr;
  }
  .research-workspace aside {
    grid-template-columns: repeat(4, auto);
    align-items: center;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid #d9e3ef;
  }
  .research-workspace aside strong {
    margin-bottom: 0;
    font-size: 18px;
  }
  .research-workspace aside span {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .research-sheet {
    padding: 14px;
  }
  .sheet-title {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
  .research-sheet table {
    font-size: 11px;
  }
  .research-sheet th,
  .research-sheet td {
    padding: 9px 7px;
  }
  .research-redline {
    width: calc(100% - 24px);
    margin: -20px auto 0;
  }
  .redline-workspace-sample {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .filing-redline-doc {
    padding: 14px;
  }
  .doc-title {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
  .redline-excerpt {
    font-size: 12px;
  }
  .redline-change-table {
    font-size: 11px;
  }
  .redline-change-table th,
  .redline-change-table td {
    padding: 8px 7px;
  }
  .redline-summary-card {
    width: calc(100% - 24px);
    margin: -18px auto 0;
  }
  .cover-redline-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
  }
  .cover-redline-page {
    width: calc(100% - 24px);
    min-height: 0;
    margin: 12px auto 14px;
    padding: 16px 14px;
    font-size: 11px;
  }
  .cover-redline-page h3 {
    font-size: 19px;
  }
  .cover-two-col {
    gap: 2px 8px;
  }
  .hero-output-tabs {
    overflow-x: auto;
  }
  .hero-output-body {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .hero-document-pane {
    min-height: 220px;
    padding: 18px 14px;
    font-size: 12px;
  }
  .hero-document-pane h3 {
    font-size: 21px;
  }
  .hero-change-pane {
    grid-template-columns: 1fr;
  }
  .hero-change-pane div {
    min-height: 58px;
  }
  .hero-actual-redline .shot-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-actual-redline .redline-view {
    max-height: none;
    padding: 13px;
  }
  .hero-actual-redline .summary-bar {
    gap: 6px;
  }
  .hero-actual-redline .summary-pill {
    font-size: 10px;
  }
  .hero-actual-redline .filing-text {
    padding: 10px 12px;
  }
  .hero-actual-redline .filing-text p:nth-child(2) {
    font-size: 12px;
  }
}

.public-design-signal {
  background:
    radial-gradient(circle at 82% -12%, rgba(31, 111, 235, 0.13), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #eef5ff 38%, #ffffff 100%);
}

.public-design-signal .topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.public-header-compact .main-nav a:not(.nav-cta)::after,
.public-header-roomy .main-nav a:not(.nav-cta)::after,
.public-header-full .main-nav a:not(.nav-cta)::after {
  display: none;
}

.public-header-compact .topbar {
  padding-block: 12px;
}

.public-header-compact .brand-logo {
  height: 58px;
}

.public-header-compact .main-nav {
  gap: 5px;
  padding: 6px;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
}

.public-header-compact .main-nav a,
.public-header-compact .main-nav .link-button {
  min-height: 38px;
  padding: 0 12px;
  color: #334155;
  border-radius: 8px;
}

.public-header-compact .main-nav a:hover,
.public-header-compact .main-nav .link-button:hover,
.public-header-compact .main-nav a.active {
  color: #08111f;
  background: #eaf2ff;
}

.public-header-compact .main-nav a.nav-cta {
  color: #fff;
  background: #1f6feb;
  box-shadow: 0 12px 24px rgba(31, 111, 235, 0.2);
}

.public-header-compact .main-nav a.nav-cta:hover {
  color: #fff;
  background: #1459c8;
}

.public-header-roomy .topbar {
  min-height: 88px;
  padding-block: 14px;
}

.public-header-roomy .brand-logo {
  height: 64px;
}

.public-header-roomy .main-nav {
  gap: 8px;
  padding: 0;
  background: transparent;
}

.public-header-roomy .main-nav a,
.public-header-roomy .main-nav .link-button {
  min-height: 50px;
  padding: 0 16px;
  color: #334155;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
}

.public-header-roomy .main-nav a:hover,
.public-header-roomy .main-nav .link-button:hover,
.public-header-roomy .main-nav a.active {
  color: #08111f;
  background: #f1f6ff;
  border-color: #b8d1ff;
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.1);
}

.public-header-roomy .main-nav a.nav-cta {
  color: #fff;
  background: #1f6feb;
  border-color: #1f6feb;
  box-shadow: 0 14px 28px rgba(31, 111, 235, 0.22);
}

.public-header-roomy .main-nav a.nav-cta:hover {
  color: #fff;
  background: #1459c8;
}

.public-header-full .topbar {
  align-items: stretch;
  min-height: 76px;
  padding-block: 0;
  background: rgba(255, 255, 255, 0.95);
}

.public-header-full .brand-block {
  align-items: center;
}

.public-header-full .brand-logo {
  height: 62px;
}

.public-header-full .main-nav {
  align-self: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #f8fbff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 0;
}

.public-header-full .main-nav a,
.public-header-full .main-nav .link-button {
  min-height: 74px;
  padding: 0 18px;
  color: #334155;
  border-radius: 0;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.public-header-full .main-nav a:first-child {
  border-left: 0;
}

.public-header-full .main-nav a:hover,
.public-header-full .main-nav .link-button:hover,
.public-header-full .main-nav a.active {
  color: #08111f;
  background: #eaf2ff;
}

.public-header-full .main-nav a.nav-cta {
  color: #fff;
  background: #1f6feb;
  border-color: #1f6feb;
  box-shadow: none;
}

.public-header-full .main-nav a.nav-cta:hover {
  color: #fff;
  background: #1459c8;
}

.signal-home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(520px, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  min-height: 690px;
  margin: 20px 0 20px;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #08111f;
  background-size: 46px 46px;
  border: 1px solid #1c2b43;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(8, 17, 31, 0.24);
}

.signal-home-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-content: center;
}

.signal-home-copy .eyebrow {
  color: #9bbcff;
}

.signal-home-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.signal-home-copy p {
  max-width: 600px;
  margin: 0;
  color: #c5cfdd;
  font-size: 18px;
  line-height: 1.62;
}

.signal-home-actions,
.signal-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.signal-home-actions .secondary {
  color: #08111f;
  background: #fff;
  border-color: #fff;
}

.signal-home-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.signal-home-proof span {
  display: grid;
  gap: 2px;
  min-height: 72px;
  align-content: center;
  padding: 12px;
  color: #c5cfdd;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-home-proof strong {
  color: #fff;
  font-size: 24px;
}

.signal-home-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(217, 229, 247, 0.9);
  border-radius: 8px;
  filter: none;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  transform: none;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.signal-home-stage:hover {
  border-color: rgba(158, 193, 255, 0.95);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(31, 111, 235, 0.12);
}

.signal-home-stage[data-signal-reactor]::after {
  content: "";
  position: absolute;
  top: 104px;
  bottom: 46px;
  left: var(--signal-scan-x, 50%);
  z-index: 3;
  width: 1px;
  pointer-events: none;
  opacity: var(--signal-scan-opacity, 0);
  background: linear-gradient(180deg, transparent, rgba(31, 111, 235, 0.68), transparent);
  box-shadow: 0 0 18px rgba(31, 111, 235, 0.32);
  transition: opacity 160ms ease;
}

.signal-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  color: #d9e3f1;
  background: #101827;
  font-size: 12px;
  font-weight: 800;
}

.signal-stage-bar span {
  color: #9aa8ba;
  text-transform: uppercase;
}

.signal-stage-tabs {
  position: relative;
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  background: #f6f8fb;
  border-bottom: 1px solid #d9e5f7;
}

.signal-stage-tabs button {
  position: relative;
  isolation: isolate;
  min-height: 34px;
  padding: 0 9px;
  overflow: hidden;
  color: #475467;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.signal-stage-tabs button::before,
.signal-stage-tabs button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.signal-stage-tabs button::before {
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, transparent 0 30%, rgba(31, 111, 235, 0.18) 48%, transparent 66%);
  opacity: 0;
  transform: translateX(-120%);
}

.signal-stage-tabs button::after {
  right: 9px;
  bottom: 5px;
  left: 9px;
  z-index: 1;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.42);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.signal-stage-tabs button:hover,
.signal-stage-tabs button.is-active {
  color: #fff;
  background: #1f6feb;
  border-color: #1f6feb;
}

.signal-stage-tabs button:hover::after,
.signal-stage-tabs button.is-active::after {
  opacity: 0.82;
  transform: scaleX(1);
}

.signal-stage-tabs button.is-suggested:not(.is-active) {
  color: #0b5ed7;
  background: #e8f1ff;
  border-color: #1f6feb;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.16), 0 8px 18px rgba(31, 111, 235, 0.12);
  transform: translateY(-1px);
}

.signal-stage-tabs button.is-suggested:not(.is-active)::before {
  opacity: 1;
  animation: signal-tab-sweep 1.2s ease both;
}

.signal-stage-tabs button.is-suggested:not(.is-active)::after {
  right: 8px;
  bottom: 7px;
  left: auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  opacity: 1;
  background: #1f6feb;
  transform: none;
  animation: signal-tab-pulse 1.2s ease-in-out infinite;
}

.signal-stage-panel {
  display: none;
  min-height: 366px;
  padding: 18px;
  background:
    linear-gradient(#eef3f9 1px, transparent 1px),
    linear-gradient(90deg, #eef3f9 1px, transparent 1px),
    #fff;
  background-size: 44px 34px;
}

.signal-stage-panel.is-active {
  display: grid;
  align-content: start;
  justify-items: center;
}

.signal-preview-crop {
  --signal-preview-width: 660px;
  --signal-preview-scale: 0.86;
  --signal-preview-card-height: 392px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 338px;
  min-width: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.signal-preview-crop::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 56px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.signal-preview-crop .product-shot {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--signal-preview-width, 760px);
  height: var(--signal-preview-card-height, auto);
  flex: none;
  max-width: none;
  min-width: 0;
  color: #17202a;
  border-radius: 8px;
  box-shadow: none;
  transform: translateX(-50%) scale(var(--signal-preview-scale, 0.75));
  transform-origin: top center;
}

.signal-preview-crop .product-shot table {
  width: 100%;
}

.signal-preview-workbook,
.signal-preview-dataset,
.signal-preview-fund-redline,
.signal-preview-company-redline,
.signal-preview-sec-filings {
  --signal-preview-width: 660px;
  --signal-preview-scale: 0.86;
  --signal-preview-card-height: 392px;
}

.sec-filing-shot {
  overflow: hidden;
}

.sec-shot-shell {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 344px;
  background: #f7faff;
}

.sec-shot-shell aside,
.sec-shot-shell main {
  min-width: 0;
}

.sec-shot-shell aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  background: #eef5ff;
  border-right: 1px solid #d9e5f7;
}

.sec-shot-search,
.sec-shot-filter {
  min-height: 34px;
  padding: 9px 10px;
  color: #17202a;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.sec-shot-filter {
  color: #124d9f;
}

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

.sec-shot-list span {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 7px;
}

.sec-shot-list span.active {
  border-color: #1f6feb;
  box-shadow: inset 3px 0 0 #1f6feb;
}

.sec-shot-list strong {
  color: #08111f;
  font-size: 13px;
}

.sec-shot-list small {
  color: #5b6878;
  font-size: 10px;
  font-weight: 800;
}

.sec-shot-shell main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 14px;
}

.sec-shot-doc-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.sec-shot-doc-tabs span {
  padding: 7px 9px;
  color: #5b6878;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.sec-shot-doc-tabs span.active {
  color: #fff;
  background: #1f6feb;
  border-color: #1f6feb;
}

.sec-shot-shell article {
  min-height: 268px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.sec-shot-kicker {
  margin: 0 0 8px;
  color: #5b6878;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.sec-shot-shell h4 {
  margin: 0 0 10px;
  color: #08111f;
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.sec-shot-shell article p {
  margin: 0 0 10px;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.sec-shot-lines {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.sec-shot-lines i {
  display: block;
  height: 9px;
  background: #e8f1ff;
  border-radius: 999px;
}

.sec-shot-lines i:nth-child(1) { width: 92%; }
.sec-shot-lines i:nth-child(2) { width: 78%; }
.sec-shot-lines i:nth-child(3) { width: 88%; }
.sec-shot-lines i:nth-child(4) { width: 66%; }
.sec-shot-lines i:nth-child(5) { width: 84%; }

.signal-redline-list,
.signal-dataset-grid {
  display: grid;
  gap: 10px;
  color: #17202a;
}

.signal-redline-list p,
.signal-dataset-grid span {
  margin: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.signal-redline-list ins,
.signal-dataset-grid strong {
  color: #124d9f;
  font-weight: 800;
}

.signal-redline-list del {
  color: #b42318;
  text-decoration-line: line-through;
  text-decoration-thickness: 1.4px;
}

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

.signal-dataset-grid span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.signal-capability-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.signal-capability-strip article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 224px;
  padding: 20px;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.signal-capability-strip h3,
.signal-flow-section h2 {
  margin: 0;
  color: #08111f;
  letter-spacing: 0;
}

.signal-capability-strip h3 {
  font-size: 19px;
  line-height: 1.18;
}

.signal-capability-strip p,
.signal-flow-section p {
  margin: 0;
  color: #5b6878;
  line-height: 1.6;
}

.signal-flow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(20px, 4vw, 38px);
  align-items: center;
  margin: 24px 0;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

.signal-flow-section > div {
  display: grid;
  gap: 14px;
}

.signal-flow-section h2 {
  max-width: 660px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.signal-flow-section .button-link {
  justify-self: start;
}

.signal-flow-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-flow-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 5px 14px;
  padding: 16px;
  background: #f7faff;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
}

.signal-flow-list span {
  grid-row: span 2;
  color: #1f6feb;
  font-size: 12px;
  font-weight: 900;
}

.signal-flow-list strong {
  color: #08111f;
  font-size: 18px;
}

.signal-cta .secondary {
  background: #fff;
}

.public-design-signal .pricing-heading {
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #08111f;
  background-size: 46px 46px;
  border-color: #1c2b43;
  box-shadow: 0 24px 64px rgba(8, 17, 31, 0.2);
}

.public-design-signal .pricing-heading .eyebrow {
  color: #9bbcff;
}

.public-design-signal .pricing-heading h2 {
  color: #fff;
}

.public-design-signal .pricing-heading .muted {
  color: #c5cfdd;
}

.public-design-signal .pricing-summary span {
  color: #c5cfdd;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.public-design-signal .pricing-summary strong {
  color: #fff;
}

.public-info-hero {
  display: grid;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 118px;
  margin: 0 0 14px;
  padding: 22px 24px 20px;
  overflow: hidden;
}

.public-info-hero-copy {
  min-width: 0;
  max-width: 900px;
}

.public-info-hero h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: 0;
}

.public-info-hero .muted {
  max-width: 840px;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.public-info-body {
  width: 100%;
  max-width: none;
  padding: 42px;
}

.public-info-body h3 {
  max-width: 980px;
  margin: 28px 0 8px;
  padding-top: 22px;
  border-top: 1px solid #dce8f7;
}

.public-info-body h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.public-info-body p {
  max-width: 980px;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.public-design-signal .public-info-hero {
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #08111f;
  background-size: 42px 42px;
  border-color: #1c2b43;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(8, 17, 31, 0.18);
}

.public-design-signal .public-info-hero .eyebrow {
  color: #9bbcff;
}

.public-design-signal .public-info-hero h2 {
  color: #fff;
}

.public-design-signal .public-info-hero .muted {
  color: #c5cfdd;
}

.public-design-signal .public-info-body {
  border-color: #c8dbfb;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.public-design-signal .auth-card {
  position: relative;
  overflow: hidden;
  border-color: #c8dbfb;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
}

.public-design-signal .public-auth-card {
  padding: 0;
  max-width: 540px;
}

.public-design-signal .auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #08111f, #1f6feb);
}

.public-design-signal .public-auth-card::before {
  display: none;
}

.design-options-page {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
}

.design-options-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.62fr);
  gap: 28px;
  align-items: stretch;
  min-height: 420px;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  color: #08111f;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 55%, rgba(234, 242, 255, 0.96) 100%);
  border: 1px solid var(--public-border);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.09);
}

.design-options-hero-copy {
  display: grid;
  align-content: center;
  max-width: 760px;
}

.design-options-hero h2 {
  margin-bottom: 16px;
  max-width: 820px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.design-options-hero p {
  max-width: 680px;
  color: var(--public-muted);
  font-size: 18px;
  line-height: 1.65;
}

.design-options-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.design-logo-stage {
  position: relative;
  display: grid;
  align-content: end;
  gap: 18px;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(rgba(31, 111, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 235, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 38px 38px;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #fff, 0 18px 46px rgba(15, 23, 42, 0.1);
}

.design-logo-stage::before,
[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--spotlight-opacity, 0);
  background: radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(31, 111, 235, 0.2), transparent 34%);
  transition: opacity 180ms ease;
}

.design-logo-stage:hover::before,
[data-spotlight]:hover::before {
  --spotlight-opacity: 1;
}

.design-logo-stage img {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
}

.design-logo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.design-logo-grid span {
  min-height: 48px;
  padding: 14px;
  color: #344054;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.design-option-nav {
  position: sticky;
  top: 82px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.design-option-nav button {
  min-height: 38px;
  padding: 0 14px;
  color: #475467;
  background: transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.design-option-nav button:hover,
.design-option-nav button.is-active {
  color: #fff;
  background: #08111f;
}

.design-option-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  min-height: 640px;
  padding: clamp(24px, 5vw, 52px);
  color: #08111f;
  background: #fff;
  border: 1px solid var(--public-border);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
}

.option-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.option-copy h3 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.option-copy p {
  margin: 0;
  color: var(--public-muted);
  font-size: 16px;
  line-height: 1.68;
}

.option-fit-grid {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.option-fit-grid span {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: #5b6878;
  background: #f7faff;
  border: 1px solid var(--public-border);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.option-fit-grid strong {
  color: #08111f;
  font-size: 11px;
  text-transform: uppercase;
}

.option-tilt {
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.signal-desk-stage,
.theater-stage,
.os-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.signal-desk-stage {
  display: grid;
  gap: 0;
  min-height: 520px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #08111f;
  background-size: 42px 42px;
  border: 1px solid #1c2b43;
  box-shadow: 0 28px 72px rgba(8, 17, 31, 0.26);
}

.signal-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(217, 229, 247, 0.8);
}

.signal-topline img {
  width: min(210px, 48%);
}

.signal-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.signal-nav strong {
  min-height: 32px;
  padding: 9px 11px;
  color: #fff;
  background: #1f6feb;
  border-radius: 6px;
}

.signal-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.74fr minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 4vw, 34px);
}

.signal-command {
  display: grid;
  gap: 14px;
}

.signal-command span {
  color: #9bbcff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-command h4 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
}

.signal-command p {
  margin: 0;
  color: #c5cfdd;
  line-height: 1.6;
}

.signal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.signal-actions a {
  display: inline-grid;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  color: #08111f;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.signal-actions a:first-child {
  color: #fff;
  background: #1f6feb;
}

.signal-product {
  overflow: hidden;
  color: #08111f;
  background: #fff;
  border: 1px solid rgba(217, 229, 247, 0.86);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.signal-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  color: #d9e3f1;
  background: #101827;
  font-size: 12px;
  font-weight: 800;
}

.signal-sheet {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(58px, 1fr));
  padding: 14px;
  background:
    linear-gradient(#eef3f9 1px, transparent 1px),
    linear-gradient(90deg, #eef3f9 1px, transparent 1px),
    #fff;
  background-size: 44px 34px;
  font-size: 12px;
}

.signal-sheet span,
.signal-sheet strong,
.signal-sheet b {
  min-height: 38px;
  padding: 11px 9px;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid #e6edf5;
  border-bottom: 1px solid #e6edf5;
}

.signal-sheet span {
  background: #f4f7fb;
}

.signal-sheet strong {
  color: #243247;
}

.signal-sheet b {
  color: #1f6feb;
  font-weight: 800;
  text-align: right;
}

.signal-ticker {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-ticker span {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 8px 12px;
  color: #c5cfdd;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  animation: signal-ticker 14s linear infinite;
}

.option-theater {
  background:
    linear-gradient(90deg, #fff 0%, #fff 45%, #f7faff 100%);
}

.theater-stage {
  display: grid;
  grid-template-columns: 0.62fr minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  background:
    linear-gradient(rgba(31, 111, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 235, 0.08) 1px, transparent 1px),
    #f8fbff;
  background-size: 48px 48px;
  border: 1px solid var(--public-border);
  box-shadow: inset 0 0 0 1px #fff, 0 22px 54px rgba(15, 23, 42, 0.1);
}

.theater-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 18px;
}

.theater-copy img {
  width: min(250px, 100%);
  margin-bottom: 10px;
}

.theater-copy h4 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.theater-copy p {
  margin: 0;
  color: var(--public-muted);
  line-height: 1.6;
}

.theater-document {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

.theater-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 15px;
  color: #fff;
  background: #08111f;
  font-size: 12px;
  font-weight: 800;
}

.theater-doc-header span {
  color: #c5cfdd;
}

.theater-doc-body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 390px;
  padding: clamp(20px, 4vw, 34px);
  color: #17202a;
  background: #fff;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.55;
}

.theater-doc-body .document-kicker {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theater-doc-body h5 {
  margin: 0 0 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  letter-spacing: 0;
  text-align: center;
}

.theater-doc-body p {
  margin: 0;
}

.theater-doc-body ins,
.os-redline-list ins {
  color: #124d9f;
  font-weight: 700;
  text-decoration-line: underline;
  text-underline-offset: 2px;
}

.theater-doc-body del,
.os-redline-list del {
  color: #b42318;
  text-decoration-line: line-through;
  text-decoration-thickness: 1.4px;
}

.redline-comparison {
  position: relative;
  min-height: 78px;
  padding: 14px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e4edf8;
  border-radius: 8px;
}

.redline-before,
.redline-after {
  position: absolute;
  inset: 14px;
}

.redline-before {
  width: calc(var(--redline-emphasis, 58) * 1%);
  overflow: hidden;
  color: #8a3b37;
  white-space: nowrap;
}

.redline-after {
  left: calc(var(--redline-emphasis, 58) * 1%);
  color: #124d9f;
}

.theater-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 112px;
  gap: 10px;
}

.theater-controls label,
.theater-controls div {
  display: grid;
  gap: 8px;
  min-height: 68px;
  align-content: center;
  padding: 12px;
  color: #5b6878;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.theater-controls input {
  width: 100%;
  accent-color: #1f6feb;
}

.theater-controls strong {
  color: #08111f;
  font-size: 26px;
}

.os-stage {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr) 190px;
  min-height: 520px;
  color: #08111f;
  background: #f7faff;
  border: 1px solid #d9e5f7;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

.os-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 14px;
  background: #fff;
  border-right: 1px solid #d9e5f7;
}

.os-sidebar img {
  width: 124px;
  margin-bottom: 14px;
}

.os-sidebar button {
  min-height: 40px;
  padding: 0 10px;
  color: #475467;
  background: transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.os-sidebar button:hover,
.os-sidebar button.is-active {
  color: #fff;
  background: #08111f;
}

.os-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.os-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  background: #fff;
  border-bottom: 1px solid #d9e5f7;
  font-size: 12px;
  font-weight: 800;
}

.os-toolbar span {
  color: #5b6878;
  text-transform: uppercase;
}

.os-toolbar a {
  color: #1f6feb;
  text-decoration: none;
}

.os-panel {
  display: none;
  align-content: start;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.os-panel.is-active {
  display: grid;
}

.os-panel h4 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.os-grid-sheet {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(70px, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  font-size: 12px;
}

.os-grid-sheet span,
.os-grid-sheet strong,
.os-grid-sheet b {
  min-height: 42px;
  padding: 12px;
  border-right: 1px solid #e6edf5;
  border-bottom: 1px solid #e6edf5;
}

.os-grid-sheet span {
  color: #5b6878;
  background: #f4f7fb;
  font-weight: 800;
}

.os-grid-sheet b {
  color: #1f6feb;
  text-align: right;
}

.os-redline-list,
.os-dataset-list {
  display: grid;
  gap: 10px;
}

.os-redline-list p,
.os-dataset-list span {
  margin: 0;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #d9e5f7;
  border-radius: 8px;
  line-height: 1.5;
}

.os-dataset-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.os-dataset-list strong {
  color: #5b6878;
  font-size: 12px;
}

.os-auth {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 18px;
  background: #08111f;
}

.os-auth span {
  color: #9bbcff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.os-auth strong {
  color: #fff;
  font-size: 26px;
  line-height: 1.05;
}

.os-auth p {
  margin: 0;
  color: #c5cfdd;
  font-size: 13px;
  line-height: 1.5;
}

.os-auth a {
  display: inline-grid;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  color: #fff;
  background: #1f6feb;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

@keyframes signal-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-160px); }
}

@keyframes signal-tab-sweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes signal-tab-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 111, 235, 0.32); }
  50% { box-shadow: 0 0 0 5px rgba(31, 111, 235, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .option-tilt {
    transform: none !important;
    transition: none;
  }
  .signal-home-stage[data-signal-reactor]::after {
    display: none;
  }
  .signal-stage-tabs button.is-suggested:not(.is-active)::before {
    animation: none;
  }
  .signal-stage-tabs button.is-suggested:not(.is-active)::after {
    animation: none;
  }
  .signal-ticker span {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .design-options-hero,
  .design-option-section,
  .signal-main,
  .theater-stage,
  .os-stage {
    grid-template-columns: 1fr;
  }
  .design-option-section {
    min-height: 0;
  }
  .os-stage {
    grid-template-columns: 1fr;
  }
  .os-sidebar {
    grid-template-columns: repeat(4, auto);
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #d9e5f7;
  }
  .os-sidebar img {
    margin-bottom: 0;
  }
  .os-auth {
    min-height: 180px;
  }
}

@media (max-width: 750px) {
  .public-app .shell:has(.design-options-page) {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    overflow-x: hidden;
  }
  .design-options-page,
  .design-options-page * {
    min-width: 0;
  }
  .design-options-page {
    max-width: 100%;
    overflow-x: hidden;
  }
  .design-options-page {
    gap: 18px;
  }
  .design-options-hero,
  .design-logo-stage,
  .design-option-section,
  .signal-desk-stage,
  .theater-stage,
  .os-stage {
    max-width: 100%;
    overflow-x: hidden;
  }
  .design-options-hero-copy,
  .option-copy,
  .theater-copy,
  .signal-command {
    width: calc(100vw - 132px);
    max-width: calc(100vw - 132px);
    justify-self: start;
  }
  .design-logo-stage,
  .signal-desk-stage,
  .theater-stage,
  .os-stage {
    width: calc(100vw - 68px);
    max-width: calc(100vw - 68px);
    justify-self: start;
  }
  .design-options-hero,
  .design-option-section {
    padding: 20px 16px;
  }
  .design-options-hero h2,
  .option-copy h3 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }
  .design-options-hero p,
  .option-copy p {
    font-size: 14px;
  }
  .design-options-actions .button-link {
    width: 100%;
  }
  .design-option-nav {
    position: static;
  }
  .design-option-nav button {
    flex: 1 1 100%;
  }
  .signal-topline,
  .signal-nav,
  .signal-actions,
  .theater-doc-header,
  .os-dataset-list span {
    align-items: flex-start;
    flex-direction: column;
  }
  .signal-topline img {
    width: min(230px, 100%);
  }
  .design-logo-grid {
    grid-template-columns: 1fr;
  }
  .signal-sheet,
  .os-grid-sheet {
    width: 560px;
    min-width: 560px;
  }
  .signal-product,
  .os-main,
  .os-panel {
    overflow-x: auto;
  }
  .theater-controls {
    grid-template-columns: 1fr;
  }
  .theater-doc-body {
    min-height: 0;
    padding: 18px 14px;
  }
  .redline-before,
  .redline-after {
    position: static;
    display: block;
    width: auto;
    white-space: normal;
  }
  .os-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .signal-home-hero,
  .signal-flow-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .signal-home-stage {
    width: 100%;
    max-width: 760px;
    justify-self: center;
  }
  .signal-capability-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
  html,
  body.public-app.public-design-signal {
    overflow-x: hidden;
  }
  .public-app.public-design-signal .shell {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
    overflow-x: hidden;
  }
  .signal-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: 22px;
    margin-top: 14px;
    padding: 24px 16px;
    overflow: hidden;
  }
  .signal-home-hero,
  .signal-home-hero * {
    min-width: 0;
  }
  .signal-home-copy,
  .signal-home-stage {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
  .signal-home-stage {
    overflow: hidden;
  }
  .signal-home-copy h2 {
    max-width: 100%;
    font-size: 32px;
    overflow-wrap: anywhere;
  }
  .signal-home-copy p {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .signal-home-actions .button-link,
  .signal-flow-section .button-link,
  .signal-cta-actions .button-link {
    width: 100%;
  }
  .signal-home-proof,
  .signal-capability-strip,
  .signal-dataset-grid {
    grid-template-columns: 1fr;
  }
  .signal-stage-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 14px;
  }
  .signal-stage-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .signal-stage-tabs button {
    min-width: 0;
    padding: 0 8px;
    font-size: 11px;
    white-space: normal;
  }
  .signal-stage-panel {
    min-height: 0;
    padding: 12px;
  }
  .signal-preview-crop {
    height: 310px;
  }
  .signal-preview-crop .product-shot {
    width: var(--signal-preview-mobile-width, 650px);
    height: var(--signal-preview-mobile-card-height, var(--signal-preview-card-height, auto));
    flex-basis: var(--signal-preview-mobile-width, 650px);
    transform: translateX(-50%) scale(var(--signal-preview-mobile-scale, 0.46));
  }
  .signal-preview-company-redline,
  .signal-preview-fund-redline,
  .signal-preview-workbook,
  .signal-preview-dataset,
  .signal-preview-sec-filings {
    --signal-preview-mobile-width: 540px;
    --signal-preview-mobile-scale: 0.56;
    --signal-preview-mobile-card-height: 554px;
  }
  .signal-redline-list {
    min-width: 420px;
  }
  .signal-ticker {
    overflow-x: hidden;
  }
  .signal-capability-strip article {
    min-height: 0;
  }
  .signal-flow-section {
    padding: 22px 16px;
  }
  .signal-flow-section h2,
  .signal-cta h2 {
    font-size: 32px;
  }
  .signal-flow-list li {
    grid-template-columns: 1fr;
  }
  .signal-flow-list span {
    grid-row: auto;
  }
  .public-info-hero {
    min-height: 108px;
    padding: 18px 16px;
  }
  .public-info-hero h2 {
    font-size: 24px;
    overflow-wrap: anywhere;
  }
  .public-info-hero .muted {
    font-size: 13px;
  }
  .public-info-body {
    max-width: 100%;
    padding: 26px 18px;
  }
  .public-info-body h3 {
    margin-top: 22px;
    padding-top: 18px;
  }
  .public-design-signal .auth-card {
    width: 100%;
    max-width: 460px;
    margin: 40px auto;
    padding: 28px 20px;
  }
  .public-design-signal .public-auth-card {
    max-width: 540px;
    padding: 0;
  }
  .public-auth-hero,
  .public-auth-body {
    padding: 24px 20px;
  }
  .public-auth-hero h2 {
    font-size: 28px;
  }
  .policy-acceptance-card {
    margin: 32px auto;
    border-radius: 8px;
  }
  .policy-acceptance-hero,
  .policy-acceptance-body {
    padding: 24px 20px;
  }
  .policy-acceptance-hero {
    min-height: 124px;
  }
  .policy-acceptance-hero h2 {
    font-size: 28px;
  }
  .policy-version-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .public-design-signal .public-footer {
    flex-direction: column;
    overflow: hidden;
    padding-inline: 8px;
  }
  .public-design-signal .public-footer-separator {
    display: none;
  }
  .public-design-signal .public-footer-links {
    gap: 12px;
  }
}

@media (max-width: 750px) {
  .public-header-compact .topbar,
  .public-header-roomy .topbar,
  .public-header-full .topbar {
    align-items: stretch;
    display: block;
    top: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding-block: 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .public-header-compact .main-nav,
  .public-header-roomy .main-nav,
  .public-header-full .main-nav {
    gap: 6px;
    background: #f8fbff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    padding: 6px;
    overflow: visible;
  }
  .public-header-compact .main-nav a,
  .public-header-compact .main-nav .link-button,
  .public-header-roomy .main-nav a,
  .public-header-roomy .main-nav .link-button,
  .public-header-full .main-nav a,
  .public-header-full .main-nav .link-button {
    min-height: 42px;
    padding: 0 10px;
    color: #334155;
    background: transparent;
    border: 0;
    border-radius: 8px;
  }
  .public-header-compact .main-nav a:hover,
  .public-header-compact .main-nav .link-button:hover,
  .public-header-compact .main-nav a.active,
  .public-header-roomy .main-nav a:hover,
  .public-header-roomy .main-nav .link-button:hover,
  .public-header-roomy .main-nav a.active,
  .public-header-full .main-nav a:hover,
  .public-header-full .main-nav .link-button:hover,
  .public-header-full .main-nav a.active {
    color: #08111f;
    background: #eaf2ff;
  }
}
