:root {
  color-scheme: light;
  --tone-name: calm-research;
  --font-ui: "Instrument Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: var(--font-ui);
  --font-numeric: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #f4f7f4;
  --surface-soft: #fbfcfb;
  --ink: #18211f;
  --muted: #66736f;
  --panel: #ffffff;
  --line: #dde3df;
  --line-strong: #c9d4cf;
  --green: #0f7a55;
  --green-soft: #d8f0e3;
  --green-line: #9bd5ba;
  --red: #b13d46;
  --red-soft: #f8dcde;
  --red-line: #e8a5aa;
  --blue: #1f5f8f;
  --blue-soft: #dcecf6;
  --blue-line: #a8cfe5;
  --amber: #a8630d;
  --amber-soft: #f8e2bf;
  --amber-line: #e6ba73;
  --selected: #dcefe8;
  --shadow: 0 14px 34px rgba(24, 33, 31, 0.08);
  --short-term-glow: 0 18px 38px rgba(31, 95, 143, 0.09);
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
}

button,
input,
select {
  font: inherit;
}

button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
}

button:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: var(--blue-soft);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.topbar {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, var(--blue-soft) 100%);
}

.stocks-hero {
  padding: 24px;
}

.stocks-hero h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.98;
}

.stocks-hero .lede {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.58;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.hero-metrics article {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metrics strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-numeric);
  font-size: 0.9rem;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 340px;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(220, 236, 246, 0.9) 100%),
    radial-gradient(circle at 18% 18%, rgba(15, 122, 85, 0.14), transparent 34%);
  box-shadow: var(--shadow);
}

.landing-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.landing-hero .lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-mascot {
  width: 100%;
  max-height: 360px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 58%;
}

.system-readout {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.system-readout span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.system-readout strong {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
}

.hero-system-card {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.6);
}

.system-readout {
  margin-top: 8px;
  background: #f7fbfd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-socials {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(42, 109, 132, 0.18);
  border-radius: 8px;
  margin-top: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.84rem;
  box-shadow: 0 10px 24px rgba(19, 35, 40, 0.06);
}

.hero-socials span {
  padding: 0 4px;
  color: var(--ink);
  font-weight: 800;
}

.hero-socials a {
  border: 1px solid rgba(15, 122, 85, 0.18);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(235, 247, 241, 0.75);
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.hero-socials a:hover {
  border-color: rgba(15, 122, 85, 0.34);
  background: rgba(210, 239, 225, 0.86);
  color: var(--ink);
  text-decoration: none;
}

.button-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 13px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button-link,
button {
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button-link:hover,
button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button-link.primary {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.landing-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 16px;
}

.section-heading h2,
.split-section h2 {
  font-size: 1.6rem;
  line-height: 1.15;
}

.product-grid,
.principles-grid,
.notice-grid,
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-card,
.principles-grid article,
.notice-grid article,
.model-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-soft);
}

.product-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
}

.product-card.featured-product {
  border-color: var(--green-line);
  background: linear-gradient(180deg, #ffffff 0%, #f1faf5 100%);
}

.product-card h3,
.principles-grid h3,
.notice-grid h3,
.model-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.product-card p,
.principles-grid p,
.notice-grid p,
.model-grid p,
.legal-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.model-grid article {
  border-color: var(--blue-line);
  background: #f7fbfd;
}

.model-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--font-numeric);
  font-weight: 800;
}

.admin-notes h2 {
  margin-bottom: 12px;
}

.admin-notes h3 {
  margin: 18px 0 8px;
}

.admin-notes ol,
.admin-notes ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-notes li + li {
  margin-top: 6px;
}

.admin-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.admin-post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-soft);
}

.admin-post-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.admin-post-card p,
.admin-post-card li {
  color: var(--muted);
  line-height: 1.5;
}

.admin-post-card p {
  margin: 0;
}

.admin-carousel-card {
  grid-column: 1 / -1;
}

.admin-carousel-card ol {
  margin: 0;
  padding-left: 22px;
}

.admin-carousel-card li span {
  display: block;
  margin-top: 3px;
}


.index-memberships {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.index-memberships span {
  display: inline-flex;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 3px 6px;
  background: #f7fbfd;
  color: var(--blue);
  font-family: var(--font-numeric);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

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

.short-term-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 14px 0;
}

.short-term-form label {
  display: grid;
  min-width: 220px;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.short-term-form input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
}


.short-term-public-panel {
  position: relative;
  overflow: hidden;
  border-color: var(--blue-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 253, 0.96) 50%, rgba(248, 253, 249, 0.96) 100%),
    radial-gradient(circle at 94% 8%, rgba(168, 207, 229, 0.32), transparent 30%);
  box-shadow: var(--short-term-glow);
}

.short-term-public-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle at 70% 20%, rgba(168, 207, 229, 0.26), rgba(168, 207, 229, 0));
  pointer-events: none;
}

.short-term-explainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.short-term-explainer article {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(247, 251, 253, 0.82);
  box-shadow: 0 8px 20px rgba(31, 95, 143, 0.05);
}

.short-term-explainer h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.96rem;
  font-weight: 900;
}

.short-term-explainer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.short-term-submit {
  min-height: 42px;
  border-color: var(--green-line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 122, 85, 0.12);
}

.short-term-submit:hover:not(:disabled) {
  border-color: var(--green);
  background: #d9f1e5;
  transform: translateY(-1px);
}

.short-term-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: -2px 0 14px;
}

.short-term-quick-chips span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.short-term-quick-chips button {
  min-height: 30px;
  border-color: var(--blue-line);
  border-radius: 999px;
  padding: 5px 9px;
  background: #f7fbfd;
  color: var(--blue);
  font-family: var(--font-numeric);
  font-size: 0.78rem;
  font-weight: 900;
}

.short-term-quick-chips button:hover {
  background: var(--blue-soft);
}

.short-term-card {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  margin-top: 14px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(247, 251, 253, 0.92) 0%, #ffffff 42%);
  box-shadow: var(--short-term-glow);
}

.short-term-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
}

.short-term-card-head h3 {
  margin: 4px 0;
  font-size: 1.45rem;
  line-height: 1.08;
}

.short-term-card-head p {
  margin: 0;
  color: var(--muted);
}

.short-term-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.short-term-bias {
  display: grid;
  min-width: 210px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  text-align: right;
  box-shadow: 0 10px 22px rgba(19, 35, 40, 0.06);
}

.short-term-downloads {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.short-term-downloads button {
  min-height: 32px;
  border-color: var(--blue-line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.short-term-downloads button:hover {
  background: #cfe7f5;
}

.short-term-bias span {
  font-size: 1.05rem;
  font-weight: 900;
}

.short-term-bias strong {
  color: var(--muted);
  font-size: 0.86rem;
}

.bias-up {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.bias-down {
  border-color: #e4a7a2;
  background: #fff0ee;
  color: #a33d35;
}

.bias-risk,
.bias-mixed {
  border-color: var(--amber-line);
  background: var(--amber-soft);
  color: var(--amber);
}

.short-term-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.short-term-metrics div {
  border: 1px solid rgba(168, 207, 229, 0.6);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(19, 35, 40, 0.04);
}

.short-term-metrics dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.short-term-metrics dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-family: var(--font-numeric);
  font-size: 1.08rem;
  font-weight: 900;
}


.short-term-thesis {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  margin: 14px 0 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 800;
}


.short-term-agreement {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.7fr;
  gap: 10px;
  margin: 14px 0;
}

.short-term-agreement article {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(247, 251, 253, 0.88);
  box-shadow: 0 8px 18px rgba(19, 35, 40, 0.04);
}

.short-term-agreement span,
.signal-breakdown-head p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.short-term-agreement strong {
  display: block;
  margin: 4px 0;
  color: var(--ink);
  font-family: var(--font-numeric);
  font-size: 1.08rem;
  line-height: 1.2;
}

.short-term-agreement small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.short-term-agreement.bias-up article {
  border-color: var(--green-line);
  background: linear-gradient(180deg, #edf9f2 0%, var(--green-soft) 100%);
}

.short-term-agreement.bias-down article {
  border-color: var(--red-line);
  background: linear-gradient(180deg, #fff1f2 0%, var(--red-soft) 100%);
}

.short-term-agreement.bias-risk article,
.short-term-agreement.bias-mixed article {
  border-color: var(--amber-line);
  background: linear-gradient(180deg, #fff5df 0%, var(--amber-soft) 100%);
}

.short-term-components {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(19, 35, 40, 0.05);
}

.signal-breakdown-head {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 10px;
}

.short-term-components h4 {
  margin: 0;
}

.signal-breakdown-head p {
  max-width: 620px;
  margin: 0;
  text-align: right;
  line-height: 1.35;
}

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

.short-term-components article {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
  box-shadow: 0 7px 16px rgba(19, 35, 40, 0.035);
}

.component-card-top {
  display: flex;
  gap: 8px;
  align-items: start;
  justify-content: space-between;
}

.short-term-components article span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
}

.short-term-components article strong {
  font-family: var(--font-numeric);
  font-size: 1.18rem;
  line-height: 1;
}

.short-term-components article b {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.2;
}

.short-term-components article small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.38;
}

.short-term-components .component-positive {
  border-color: var(--green-line);
  background: linear-gradient(180deg, #edf9f2 0%, var(--green-soft) 100%);
  color: var(--green);
}

.short-term-components .component-negative {
  border-color: var(--red-line);
  background: linear-gradient(180deg, #fff1f2 0%, var(--red-soft) 100%);
  color: var(--red);
}

.short-term-components .component-neutral {
  border-color: var(--blue-line);
  background: linear-gradient(180deg, #f7fbfd 0%, var(--blue-soft) 100%);
  color: var(--blue);
}

.short-term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.short-term-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.short-term-grid h4 {
  margin: 0 0 8px;
}

.short-term-grid ul {
  margin-bottom: 0;
}

.evidence-grid {
  align-items: stretch;
}

.evidence-panel {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(19, 35, 40, 0.05);
}

.evidence-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}

.evidence-drivers {
  border-color: var(--green-line);
  background: linear-gradient(180deg, rgba(237, 249, 242, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.evidence-drivers::before {
  background: var(--green);
}

.evidence-watchouts {
  border-color: var(--amber-line);
  background: linear-gradient(180deg, rgba(255, 245, 223, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.evidence-watchouts::before {
  background: var(--amber);
}

.evidence-panel h4 {
  margin: 0 0 10px;
  padding-left: 4px;
  font-size: 1.05rem;
  font-weight: 900;
}

.evidence-drivers h4 {
  color: var(--green);
}

.evidence-watchouts h4 {
  color: var(--amber);
}

.evidence-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-row {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(221, 227, 223, 0.78);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.76);
}

.evidence-row span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-top: 6px;
}

.evidence-driver span {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 122, 85, 0.12);
}

.evidence-watchout span {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(168, 99, 13, 0.12);
}

.evidence-row p {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.42;
}

pre {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #102027;
  color: #e8f6f4;
}

code {
  font-family: var(--font-numeric);
  font-size: 0.88rem;
}

.product-kicker {
  margin-bottom: 8px;
  color: var(--blue) !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card a,
.product-card span {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 18px;
}

.product-meta div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
}

.featured-product .product-meta div {
  border-color: var(--green-line);
  background: rgba(255, 255, 255, 0.82);
}

.product-meta dd {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-indicator {
  display: inline-block;
  width: 9px;
  height: 9px;
}

.status-live {
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.status-progress {
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.status-pilot {
  border-radius: 2px;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
  transform: rotate(45deg);
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-inner a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

.legal-document {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.legal-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.legal-document article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-document h1 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.legal-document h2 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.legal-document ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.legal-contact {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  margin: 18px 0;
  background: #f7fbfd;
}

.legal-document a {
  color: var(--blue);
  font-weight: 800;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.brand-link {
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.brand-lockup img {
  width: 58px;
  height: 58px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  object-fit: cover;
  object-position: center 56%;
  background: var(--blue-soft);
}

.brand-lockup.compact {
  margin-bottom: 0;
}

.brand-lockup.compact img {
  width: 42px;
  height: 42px;
}

.brand-name {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 2rem;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.section-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-right: 8px;
  border: 1px solid var(--blue-line);
  border-radius: 6px;
  background: var(--blue-soft);
  vertical-align: middle;
}

.section-icon::before,
.section-icon::after {
  content: "";
  display: block;
}

.icon-model::before {
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(31, 95, 143, 0.1);
}

.icon-signals::before {
  width: 14px;
  height: 12px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: skewX(-18deg);
}

.icon-signals::after {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--green);
  transform: translate(5px, -5px);
}

.icon-explorer::before {
  width: 11px;
  height: 11px;
  border: 2px solid var(--blue);
  border-radius: 999px;
}

.icon-explorer::after {
  position: absolute;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: translate(6px, 7px) rotate(45deg);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel {
  padding: 16px;
  margin-bottom: 16px;
}

.tab-overview .hero-actions {
  margin-top: 0;
}


.workspace-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.workspace-tab {
  flex: 1;
  border-color: transparent;
  background: transparent;
  font-weight: 800;
}

.workspace-tab.active {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.workspace-panel {
  display: none;
}

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

.methodology-panel {
  border-color: var(--blue-line);
}

.signals-overview {
  border-color: var(--blue-line);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.filter-grid label,
.section-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.source-readout {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.status-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface-soft);
}

.visually-hidden {
  display: none;
}

.universe-status {
  color: var(--muted);
}

.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
}

.status-list div {
  min-width: 0;
}

.status-list dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.status-list dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.status-note {
  margin-top: 10px !important;
  font-size: 0.88rem;
}

.source-details {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.source-details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 700;
}

.source-details p {
  margin-top: 6px;
}

.source-details span {
  overflow-wrap: anywhere;
}

.section-copy {
  min-width: 0;
}

.section-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

.section-controls select,
.section-controls input {
  min-width: 180px;
}

input,
select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--panel);
  color: var(--ink);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.primary-filters {
  align-items: end;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(247, 251, 253, 0.88);
  box-shadow: 0 8px 18px rgba(19, 35, 40, 0.04);
}

.primary-filters label {
  min-width: 0;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.primary-filters select {
  min-height: 38px;
  padding: 7px 9px;
  font-size: 0.9rem;
}

.guide-grid,
.result-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

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

.guide-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
}

.guide-card h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.market-read-card {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.market-read-card h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.24;
}

.market-read-card p {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.55;
}

.market-read-card strong {
  display: block;
  max-width: 860px;
  color: var(--blue);
  line-height: 1.45;
}

.intelligence-summary {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.intelligence-summary article {
  min-width: 220px;
}

.intelligence-summary article,
.market-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--surface-soft);
}

.intelligence-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intelligence-summary strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-numeric);
  font-size: 1rem;
}

.intelligence-summary p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.market-section {
  border-color: var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.market-section + .market-section {
  margin-top: 14px;
}

.market-section .panel-title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.market-section .panel-title h2 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.2;
}

.market-section .panel-subtitle {
  max-width: 820px;
  line-height: 1.45;
}

.heading-button {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
}

.heading-button:hover {
  background: transparent !important;
  color: var(--blue);
}

.market-grid h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
  line-height: 1.25;
}

.market-grid li {
  color: var(--muted);
  line-height: 1.5;
}

.market-wip-section {
  border-style: dashed;
  box-shadow: none;
}

.market-wip-card {
  border: 1px solid var(--amber-line);
  border-radius: 8px;
  padding: 13px;
  background: var(--amber-soft);
}

.market-wip-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.market-wip-card p {
  max-width: 820px;
  margin: 0;
  color: #6d4a18;
  line-height: 1.5;
}

.snapshot-section {
  border-color: var(--blue-line);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbfd 52%, #f8fdf9 100%);
}

.snapshot-read {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  background: rgba(247, 251, 253, 0.9);
  box-shadow: 0 10px 24px rgba(31, 95, 143, 0.06);
}

.snapshot-export-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12px;
  background: var(--surface-soft);
}

.snapshot-export-actions.visually-hidden {
  display: none;
}

.snapshot-export-actions span {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.snapshot-export-actions button {
  border-color: var(--blue-line);
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.snapshot-read span {
  display: inline-flex;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.snapshot-read p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.risk-tone-positive {
  border-color: var(--green-line) !important;
  background: var(--green-soft) !important;
  color: var(--green) !important;
}

.risk-tone-negative {
  border-color: var(--red-line) !important;
  background: var(--red-soft) !important;
  color: var(--red) !important;
}

.risk-tone-watch {
  border-color: var(--amber-line) !important;
  background: var(--amber-soft) !important;
  color: var(--amber) !important;
}

.snapshot-group-stack {
  display: grid;
  gap: 12px;
}

.snapshot-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--surface-soft);
}

.snapshot-group h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.25;
}

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

.snapshot-card-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.snapshot-card-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.snapshot-card-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.snapshot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.snapshot-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.snapshot-card strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-numeric);
  font-size: 1.05rem;
}

.snapshot-card dl {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
}

.snapshot-card div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.snapshot-card dt,
.snapshot-card dd {
  margin: 0;
  font-size: 0.76rem;
}

.snapshot-card dt {
  color: var(--muted);
}

.return-positive {
  color: var(--green);
}

.return-negative {
  color: var(--red);
}

.return-neutral {
  color: var(--muted);
}

.snapshot-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.snapshot-split article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--surface-soft);
}

.snapshot-split h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
}

.snapshot-split ol {
  margin: 0;
  padding-left: 22px;
}

.snapshot-split li + li {
  margin-top: 7px;
}

.snapshot-split li span {
  display: block;
  margin-top: 2px;
  font-size: 0.84rem;
  font-weight: 800;
}

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

.data-subsection-title {
  margin: 14px 0 10px;
}

.data-subsection-title:first-of-type {
  margin-top: 0;
}

.data-subsection-title h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

.data-card-grid article,
.data-table-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--surface-soft);
}

.data-card-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-card-grid strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-numeric);
  font-size: 1.08rem;
  color: var(--blue);
}

.data-card-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.data-table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.data-table-grid h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
}

.data-table-grid ol {
  margin: 0;
  padding-left: 22px;
}

.data-table-grid li + li {
  margin-top: 8px;
}

.data-table-grid li span {
  display: block;
  margin-top: 2px;
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 800;
}

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

.market-grid.two-column {
  grid-template-columns: 1fr 1fr;
}

.market-grid.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-grid ul {
  margin: 0;
  padding-left: 18px;
}

.market-grid li + li {
  margin-top: 8px;
}

.market-grid li span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.market-grid a {
  color: var(--blue);
  font-weight: 800;
}

.market-grid article p:not(.product-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.market-grid article h3.return-positive,
.market-grid article h3.return-negative,
.market-grid article h3.return-neutral {
  font-family: var(--font-numeric);
  font-size: 1.05rem;
}

.carousel-ideas {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
  background: #f7fbfd;
}

.carousel-ideas h3 {
  margin: 0 0 10px;
}

.carousel-ideas ul {
  margin: 0;
  padding-left: 18px;
}

.carousel-ideas li + li {
  margin-top: 8px;
}

.carousel-ideas span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.legend-row {
  display: grid;
  grid-template-columns: 142px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 28px;
}

.legend-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.legend-pill {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
}

.score-strong {
  background: var(--green);
}

.score-watch {
  background: var(--amber);
}

.score-weak {
  background: var(--red);
}

.result-filters {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 13px;
  background: rgba(247, 251, 253, 0.88);
  box-shadow: 0 8px 18px rgba(19, 35, 40, 0.04);
}

.result-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

#run-recommendations {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.summary-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
}

.summary-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.summary-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 0.9fr);
  gap: 14px;
  align-items: start;
}

.results-layout.detail-closed {
  grid-template-columns: 1fr;
}

.results-layout.detail-closed .detail-panel {
  display: none;
}

.table-panel,
.detail-panel {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(19, 35, 40, 0.06);
}

.table-panel {
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 120px);
}

.table-wrap {
  overflow-x: auto;
  padding: 10px;
}

.recommendation-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.86rem;
}

.recommendation-table th,
.recommendation-table td {
  border-bottom: 1px solid rgba(168, 207, 229, 0.5);
  padding: 10px 9px;
  text-align: left;
  vertical-align: middle;
}

.recommendation-table th {
  position: sticky;
  top: 0;
  background: #edf7fb;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.recommendation-table th:first-child {
  border-top-left-radius: 8px;
}

.recommendation-table th:last-child {
  border-top-right-radius: 8px;
}

.recommendation-table tbody tr {
  cursor: pointer;
  transition: background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.recommendation-table tbody tr:nth-child(even) {
  background: rgba(247, 251, 253, 0.65);
}

.recommendation-table tbody tr:hover {
  background: #edf8f2;
}

.recommendation-table tbody tr.selected {
  background: var(--selected);
  box-shadow: inset 4px 0 0 var(--green);
}

.rank-cell {
  width: 52px;
  color: var(--muted);
  font-family: var(--font-numeric);
  font-weight: 900;
}

.stock-cell {
  min-width: 210px;
  max-width: 300px;
  white-space: normal;
}

.stock-cell strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-numeric);
  font-size: 0.98rem;
}

.stock-cell span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.sector-cell {
  max-width: 150px;
  color: var(--muted);
  white-space: normal;
}

mark {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
}

.action-high-conviction,
.action-positive {
  background: var(--green-soft);
  border-color: var(--green-line);
  color: var(--green);
}

.action-watch,
.action-caution {
  background: var(--amber-soft);
  border-color: var(--amber-line);
  color: var(--amber);
}

.action-avoid {
  background: var(--red-soft);
  border-color: var(--red-line);
  color: var(--red);
}

.score-chip {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-weight: 800;
  font-family: var(--font-numeric);
}

.score-chip.strong,
.score-fill.strong {
  background: var(--green-soft);
  color: var(--green);
}

.score-chip.watch,
.score-fill.watch {
  background: var(--amber-soft);
  color: var(--amber);
}

.score-chip.weak,
.score-fill.weak {
  background: var(--red-soft);
  color: var(--red);
}

.score-chip.strong {
  border: 1px solid var(--green-line);
}

.score-chip.watch {
  border: 1px solid var(--amber-line);
}

.score-chip.weak {
  border: 1px solid var(--red-line);
}

.score-group {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-width: 148px;
}

.score-main {
  display: grid;
  min-width: 50px;
  justify-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 5px 7px;
  font-family: var(--font-numeric);
}

.score-main strong {
  font-size: 1rem;
  line-height: 1;
}

.score-main small {
  margin-top: 2px;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.score-main.strong {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.score-main.watch {
  border-color: var(--amber-line);
  background: var(--amber-soft);
  color: var(--amber);
}

.score-main.weak {
  border-color: var(--red-line);
  background: var(--red-soft);
  color: var(--red);
}

.score-mini {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-family: var(--font-numeric);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
}

.pagination span {
  color: var(--muted);
  font-family: var(--font-numeric);
  font-size: 0.78rem;
  font-weight: 700;
}

.pagination button {
  min-height: 34px;
  border-color: var(--blue-line);
  padding: 6px 11px;
  background: #f7fbfd;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.detail-panel {
  padding: 14px;
  min-height: 360px;
}

.brief-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brief-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.export-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.export-actions button {
  border-color: var(--green-line);
  padding: 9px 13px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-actions {
  display: flex;
  align-items: start;
  gap: 8px;
}

.detail-close {
  padding: 9px 13px;
  font-weight: 800;
}

.detail-heading h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.detail-heading p {
  margin: 0;
  color: var(--muted);
}

.brief-thesis {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 11px 12px;
  margin-bottom: 14px;
  background: #f7fbfd;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.score-stack {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.score-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}

.score-track {
  height: 8px;
  border-radius: 999px;
  background: #edf0ed;
  overflow: hidden;
}

.score-fill {
  height: 100%;
}

.detail-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}

.detail-signal-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border: 1px solid var(--green-line);
  border-radius: 8px;
  padding: 12px;
  margin: 14px 0;
  background: #f6fbf8;
}

.detail-signal-box h4 {
  margin-top: 0;
}

.detail-signal-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.detail-signal-box li + li {
  margin-top: 7px;
}

.company-snapshot {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  margin: 14px 0;
  background: #f7fbfd;
}

.company-snapshot h4 {
  margin-top: 0;
}

.company-snapshot p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin: 0;
}

.snapshot-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.detail-panel h4 {
  margin: 14px 0 6px;
  font-size: 0.9rem;
}

.detail-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.data-footnote {
  border-top: 1px solid var(--line);
  margin: 14px 0 0;
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}



.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.admin-tabs button {
  min-height: 40px;
  border-color: var(--blue-line);
  border-radius: 999px;
  padding: 8px 14px;
  background: #f7fbfd;
  color: var(--blue);
  font-weight: 900;
}

.admin-tabs button.active {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
  box-shadow: 0 8px 18px rgba(15, 122, 85, 0.12);
}

.admin-panel {
  display: none;
}

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


.validation-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.validation-guide article {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
  box-shadow: 0 8px 18px rgba(31, 95, 143, 0.05);
}

.validation-guide span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.validation-guide p,
.validation-card-head p,
.mini-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.validation-card-head {
  margin-bottom: 10px;
}

.validation-card-head h3 {
  margin-bottom: 0;
}

.mini-note {
  margin: -4px 0 10px;
}

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

.validation-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--surface-soft);
  box-shadow: 0 10px 24px rgba(19, 35, 40, 0.05);
}

.validation-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 1rem;
}

.validation-wide {
  grid-column: 1 / -1;
}

.validation-table-wrap {
  overflow-x: auto;
}

.validation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.validation-table th,
.validation-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px 7px;
  text-align: left;
  vertical-align: top;
}

.validation-table th {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.validation-table td:not(:first-child) {
  font-family: var(--font-numeric);
  font-weight: 800;
  white-space: nowrap;
}

.prediction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.prediction-grid > article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--surface-soft);
}

.prediction-grid h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.prediction-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.prediction-list li strong,
.prediction-list li span {
  display: block;
}

.prediction-list li span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.compact-list {
  gap: 8px;
}

.admin-summary-strip {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .guide-grid,
  .result-filters,
  .summary-strip,
  .results-layout,
  .landing-hero,
  .hero-metrics,
  .product-grid,
  .principles-grid,
  .notice-grid,
  .model-grid,
  .intelligence-summary,
  .snapshot-read,
  .snapshot-card-grid,
  .snapshot-split,
  .data-card-grid,
  .data-table-grid,
  .market-grid,
  .admin-post-grid,
  .short-term-explainer,
  .short-term-form,
  .short-term-metrics,
  .short-term-agreement,
  .signal-breakdown-grid,
  .short-term-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .signal-breakdown-head {
    display: grid;
  }

  .signal-breakdown-head p {
    text-align: left;
  }

  .legend-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-controls {
    display: grid;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-topline {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .section-controls select,
  .section-controls input {
    min-width: 0;
  }

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

  .detail-signal-box {
    grid-template-columns: 1fr;
  }
}

.validation-chip {
  display: inline-flex;
  min-width: 58px;
  justify-content: center;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 3px 7px;
  background: #f7fbfd;
  color: var(--blue);
  font-family: var(--font-numeric);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
}

.validation-chip.positive {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.validation-chip.watch {
  border-color: var(--amber-line);
  background: var(--amber-soft);
  color: var(--amber);
}

.validation-chip.negative {
  border-color: var(--red-line);
  background: var(--red-soft);
  color: var(--red);
}

.validation-chip.neutral {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--muted);
}

.five-factor-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.score-mini-five {
  grid-template-columns: repeat(2, max-content);
  column-gap: 6px;
  row-gap: 2px;
}

.score-row {
  grid-template-columns: 126px 1fr 36px;
}

@media (max-width: 980px) {
  .five-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .five-factor-grid {
    grid-template-columns: 1fr;
  }
}

.explorer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.metric-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #f7fbfd;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.metric-toggle input {
  accent-color: var(--green);
}

.recommendation-table {
  min-width: 1040px;
}

.recommendation-table .metric-col {
  display: none;
}

.show-key-metrics .recommendation-table .metric-col {
  display: table-cell;
}

.content-lab-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 14px 0;
}

.content-lab-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-lab-controls input {
  min-height: 44px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.content-lab-controls button,
.content-card-head button {
  min-height: 40px;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 8px 14px;
  background: #e6f3fb;
  color: var(--blue);
  font-weight: 900;
}

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

.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-soft);
  box-shadow: 0 10px 24px rgba(19, 35, 40, 0.05);
}

.content-card-wide {
  grid-column: 1 / -1;
}

.content-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.content-card-head span {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-card h3,
.content-card-head h3 {
  margin: 0;
  color: var(--ink);
}

.content-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.content-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.content-score {
  display: grid;
  justify-items: center;
  min-width: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  font-family: var(--font-numeric);
}

.content-score small {
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 900;
}

.content-score strong {
  font-size: 1rem;
}

.content-score.positive {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.content-score.watch {
  border-color: var(--amber-line);
  background: var(--amber-soft);
  color: var(--amber);
}

.content-score.negative {
  border-color: var(--red-line);
  background: var(--red-soft);
  color: var(--red);
}

.copy-block {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.55;
  white-space: pre-wrap;
}

.post-block {
  margin: 0;
  font-family: var(--font-body);
}

.hashtag-line {
  color: var(--blue);
  font-weight: 900;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .content-lab-controls,
  .content-pack-grid {
    grid-template-columns: 1fr;
  }

  .content-card-head {
    display: grid;
  }

  .content-score-row {
    justify-content: flex-start;
  }
}

.tweet-card {
  display: grid;
  gap: 8px;
}

.tweet-card .copy-block {
  min-height: 150px;
}

.narrative-block {
  font-size: 1rem;
  line-height: 1.62;
}

.thread-block {
  max-height: 280px;
  overflow: auto;
  border-color: var(--green-line);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
}

@media (max-width: 1040px) {
  .tweet-card {
    grid-column: 1 / -1;
  }
}

.content-picker-panel {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
  box-shadow: 0 10px 24px rgba(31, 95, 143, 0.06);
  margin: 14px 0;
}

.content-picker-panel .content-lab-controls {
  margin: 0;
}

.content-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.content-quick-chips span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.content-quick-chips button {
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 7px 12px;
  background: #f7fbfd;
  color: var(--blue);
  font-family: var(--font-numeric);
  font-weight: 900;
}

.content-quick-chips button:hover {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.ground-rule-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

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

.content-image-card {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.content-image-card span {
  display: block;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-image-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-weight: 900;
}

.content-image-card p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.content-image-card small {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

@media (max-width: 820px) {
  .content-image-grid {
    grid-template-columns: 1fr;
  }
}

.content-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.content-image-actions button {
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 7px 11px;
  background: #e6f3fb;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.content-image-actions button:hover {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.near-term-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.near-term-guide article,
.near-term-picker-panel,
.near-term-admin-card {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
  box-shadow: 0 10px 24px rgba(31, 95, 143, 0.06);
}

.near-term-guide article {
  padding: 12px;
}

.near-term-guide span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.near-term-guide p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.45;
}

.near-term-picker-panel {
  padding: 12px;
  margin: 14px 0;
}

.near-term-admin-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.near-term-admin-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.near-term-admin-form input {
  min-height: 44px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.near-term-admin-form button {
  min-height: 44px;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 8px 15px;
  background: #e6f3fb;
  color: var(--blue);
  font-weight: 900;
}

.near-term-admin-card {
  padding: 16px;
  margin-top: 14px;
}

.near-term-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.near-term-admin-head span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.near-term-admin-head h3 {
  margin: 4px 0;
  color: var(--ink);
  font-size: 1.55rem;
}

.near-term-admin-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.near-term-admin-action {
  min-width: 190px;
  border: 1px solid var(--amber-line);
  border-radius: 8px;
  padding: 12px;
  background: var(--amber-soft);
  color: var(--amber);
  text-align: right;
}

.near-term-admin-action.high-potential,
.near-term-admin-action.positive {
  border-color: var(--green-line);
  background: var(--green-soft);
  color: var(--green);
}

.near-term-admin-action.caution,
.near-term-admin-action.avoid {
  border-color: var(--red-line);
  background: var(--red-soft);
  color: var(--red);
}

.near-term-admin-action strong,
.near-term-admin-action small {
  display: block;
}

.near-term-admin-action strong {
  font-size: 1.25rem;
}

.near-term-admin-action small {
  margin-top: 4px;
  font-family: var(--font-numeric);
  font-weight: 900;
}

.near-term-thesis {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 13px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.near-term-component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.near-term-component-grid article {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.near-term-component-grid article.component-positive {
  border-color: var(--green-line);
  background: var(--green-soft);
}

.near-term-component-grid article.component-negative {
  border-color: var(--red-line);
  background: var(--red-soft);
}

.near-term-component-grid span,
.near-term-metrics-grid dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.near-term-component-grid strong,
.near-term-metrics-grid dd {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-numeric);
  font-size: 1.35rem;
  font-weight: 900;
}

.near-term-component-grid small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.near-term-metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.near-term-metrics-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--surface-soft);
}

.near-term-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.near-term-evidence-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--surface-soft);
}

.near-term-evidence-grid h4 {
  margin: 0 0 8px;
  color: var(--blue);
}

.near-term-evidence-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .near-term-guide,
  .near-term-component-grid,
  .near-term-metrics-grid,
  .near-term-evidence-grid {
    grid-template-columns: 1fr;
  }

  .near-term-admin-form,
  .near-term-admin-head {
    display: grid;
  }

  .near-term-admin-action {
    text-align: left;
  }
}

.near-term-lab-panel .short-term-form {
  margin: 0;
}

.near-term-lab-panel .short-term-quick-chips {
  margin: 10px 0 0;
}

.near-term-admin-card .short-term-bias span {
  font-size: 1.12rem;
}

.near-term-breakdown-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.near-term-components .signal-breakdown-head p {
  max-width: 680px;
}

@media (max-width: 1180px) {
  .near-term-breakdown-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .near-term-breakdown-grid {
    grid-template-columns: 1fr;
  }
}


.near-term-public-card .short-term-bias span {
  font-size: 1.12rem;
}

.near-term-public-panel .short-term-form {
  margin-top: 12px;
}
