:root {
  --bg: #080b0a;
  --panel: #f6f7f1;
  --panel-strong: #ffffff;
  --ink: #141914;
  --muted: #667166;
  --line: rgba(20, 25, 20, 0.12);
  --text: #f3f7f0;
  --green: #2ed47a;
  --green-soft: rgba(46, 212, 122, 0.15);
  --amber: #f3b64c;
  --red: #f0524a;
  --blue: #5fa8ff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #edf0e8;
  font-family: Inter, "Noto Sans SC", system-ui, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px clamp(18px, 4vw, 48px);
  color: var(--text);
  background: rgba(8, 11, 10, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  grid-template-columns: 42px auto;
  column-gap: 12px;
  align-items: center;
  min-width: 250px;
}

.brand span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #04140b;
  background: var(--green);
  border-radius: 8px;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: rgba(243, 247, 240, 0.6);
}

nav {
  display: flex;
  gap: 18px;
  color: rgba(243, 247, 240, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  color: var(--text);
  background: var(--bg);
}

.hero > img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 11, 10, 0.9) 0%, rgba(8, 11, 10, 0.72) 52%, rgba(8, 11, 10, 0.62) 100%),
    linear-gradient(180deg, rgba(8, 11, 10, 0.18), rgba(8, 11, 10, 0.82));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 260px;
  padding: 76px clamp(16px, 2vw, 26px) 14px;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1.2fr);
  align-items: end;
  gap: 12px;
  min-width: 0;
}

.hero-title-row {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  display: none;
  max-width: 520px;
  color: rgba(243, 247, 240, 0.84);
  font-size: 15px;
  line-height: 1.5;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0;
  max-width: none;
}

.hero-stats span {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 3px;
  min-height: 42px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.hero-stats b {
  overflow: hidden;
  color: var(--green);
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-stats small {
  color: rgba(243, 247, 240, 0.62);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: none;
  margin: 0;
}

.channel-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  max-width: 148px;
  padding: 5px 7px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.channel-button.active {
  background: rgba(46, 212, 122, 0.18);
  border-color: rgba(46, 212, 122, 0.5);
}

.channel-button i {
  display: none;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #06140b;
  background: var(--green);
  border-radius: 8px;
  font-style: normal;
  font-weight: 950;
}

.channel-button strong,
.channel-button small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}

.channel-button small {
  display: none;
  margin-top: 3px;
  color: rgba(243, 247, 240, 0.64);
  font-size: 10px;
}

.channel-button span {
  display: inline-flex;
  align-items: center;
  color: var(--amber);
}

.channel-button span b {
  font-size: 12px;
  font-weight: 950;
}

.channel-button span small {
  display: none;
}

.hero-brief {
  align-self: stretch;
  padding: 10px;
  background: rgba(8, 11, 10, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.section-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.section-title > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #335040;
  background: #e3f3e8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.section-title.dark h2 {
  color: var(--text);
}

.section-title.dark > span {
  color: #dff5e7;
  background: rgba(46, 212, 122, 0.18);
}

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

.board-brief-grid {
  margin-bottom: 10px;
}

.board-brief-grid .brief-card {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(20, 25, 20, 0.12);
}

.board-brief-grid .brief-card.active {
  border-color: rgba(46, 212, 122, 0.62);
  box-shadow: inset 4px 0 0 var(--green);
}

.board-brief-grid .brief-card > span,
.board-brief-grid .brief-card small {
  color: #657168;
}

.board-brief-grid .brief-linked {
  border-top-color: rgba(20, 25, 20, 0.1);
}

.board-brief-grid .brief-linked b {
  color: #0a6333;
}

.board-brief-grid .brief-linked em {
  color: #34433a;
}

.pool-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}

.pool-summary span {
  padding: 4px 7px;
  color: rgba(243, 247, 240, 0.66);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.hero-person-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.hero-person-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  max-width: 122px;
  padding: 5px 7px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.hero-person-chip.active {
  background: rgba(46, 212, 122, 0.2);
  border-color: rgba(46, 212, 122, 0.55);
}

.hero-person-chip strong,
.hero-person-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}

.hero-person-chip strong {
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
}

.hero-person-chip span {
  color: rgba(243, 247, 240, 0.66);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.1;
}

.brief-card {
  display: grid;
  align-content: start;
  min-height: 128px;
  padding: 8px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.brief-card.active {
  border-color: rgba(46, 212, 122, 0.6);
  box-shadow: inset 4px 0 0 var(--green);
}

.brief-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: start;
  margin-bottom: 6px;
}

.brief-head strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.3;
}

.brief-head em {
  display: grid;
  place-items: center;
  min-height: 28px;
  color: #06140b;
  background: var(--amber);
  border-radius: 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}

.brief-card > span,
.brief-card small {
  display: block;
  color: rgba(243, 247, 240, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.brief-linked {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 7px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.brief-linked b {
  color: var(--green);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}

.brief-linked em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(243, 247, 240, 0.78);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 280px;
  gap: 12px;
  padding: clamp(14px, 2vw, 24px);
}

.left-rail,
.right-rail {
  display: grid;
  align-content: start;
  gap: 18px;
}

.panel,
.news-board {
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.direction-list,
.watch-groups,
.news-list,
.person-signal-list {
  display: grid;
  gap: 8px;
}

.news-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.news-list.view-auto {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-list.view-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-list.view-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.load-more,
.feed-end {
  grid-column: 1 / -1;
  min-height: 44px;
  color: #183524;
  background: #dff3e6;
  border: 1px solid rgba(46, 212, 122, 0.28);
  border-radius: 8px;
  font-weight: 950;
}

.feed-end {
  display: grid;
  place-items: center;
  color: #687467;
  background: #e7ebe2;
  border-color: rgba(20, 25, 20, 0.1);
}

.direction-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.direction-button.active {
  border-color: rgba(46, 212, 122, 0.6);
  box-shadow: inset 4px 0 0 var(--green);
}

.direction-button strong,
.direction-button small {
  display: block;
}

.direction-button small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.direction-button span {
  color: #147a42;
  font-weight: 950;
}


.watch-group {
  padding: 12px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.watch-group strong {
  display: block;
  margin-bottom: 9px;
}

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

.tag-cloud span,
.news-tags span,
.active-tags span,
.association-map span {
  padding: 5px 8px;
  color: #294737;
  background: #e6f4ea;
  border: 1px solid rgba(46, 212, 122, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.board-tools {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.people-evidence {
  margin-bottom: 10px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.people-evidence-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.people-evidence-head > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #335040;
  background: #e3f3e8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

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

.person-evidence-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 9px;
  background: #f5f7f1;
  border: 1px solid rgba(20, 25, 20, 0.1);
  border-radius: 8px;
}

.person-evidence-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 4px 8px;
  align-items: center;
}

.person-evidence-title strong {
  overflow: hidden;
  color: #102819;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}

.person-evidence-title em {
  display: grid;
  place-items: center;
  min-height: 26px;
  color: #06140b;
  background: var(--green);
  border-radius: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.person-evidence-title small {
  grid-column: 1 / -1;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.person-metrics span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(20, 25, 20, 0.08);
  border-radius: 8px;
}

.person-metrics b,
.person-metrics small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-metrics b {
  color: #0a6333;
  font-size: 12px;
  font-weight: 950;
}

.person-metrics small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
}

.person-event-list {
  display: grid;
  gap: 5px;
}

.person-event-list p {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 2px 6px;
  margin: 0;
  padding-top: 5px;
  border-top: 1px solid rgba(20, 25, 20, 0.08);
}

.person-event-list time {
  grid-row: span 2;
  color: #0a6333;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.25;
}

.person-event-list b,
.person-event-list span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.person-event-list b {
  -webkit-line-clamp: 1;
  color: #1a281f;
  font-size: 11px;
  line-height: 1.25;
}

.person-event-list span {
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.person-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.person-mini-tags span {
  padding: 4px 6px;
  color: #294737;
  background: #e6f4ea;
  border: 1px solid rgba(46, 212, 122, 0.14);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.column-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #e7ece4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.column-toggle button {
  min-height: 32px;
  padding: 0 9px;
  color: #516253;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.column-toggle button.active {
  color: #062012;
  background: var(--green);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 10px;
  text-align: left;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.news-card.active {
  border-color: rgba(46, 212, 122, 0.64);
  box-shadow: inset 4px 0 0 var(--green);
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 6px;
}

.news-meta b {
  color: #0a6333;
  font-size: 18px;
  line-height: 1;
}

.news-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.news-meta span {
  padding: 3px 5px;
  background: #eef2ea;
  border-radius: 999px;
}

.news-main h3 {
  display: -webkit-box;
  margin: 0 0 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  line-height: 1.32;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.news-main p {
  display: -webkit-box;
  margin-bottom: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #566158;
  font-size: 12px;
  line-height: 1.45;
}

.live-fields {
  display: grid;
  gap: 6px;
  margin: 0 0 7px;
}

.live-fields div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
}

.live-fields dt {
  color: #0a6333;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.45;
}

.live-fields dd {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  margin: 0;
  color: #3f4d43;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.live-fields div:nth-child(2) dd {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.live-fields dd span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  color: #12351f;
  background: #e5f4ea;
  border: 1px solid rgba(46, 212, 122, 0.24);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.active-live-fields {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(20, 25, 20, 0.1);
}

.brief-live-fields {
  margin-top: 6px;
}

.inline-relation,
.relation-badge {
  display: inline-grid;
  place-items: center;
  margin-right: 6px;
  padding: 3px 6px;
  color: #06140b;
  background: #dff3e6;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  vertical-align: 1px;
  white-space: nowrap;
}

.inline-relation.heavy,
.relation-badge.heavy {
  color: #fff;
  background: var(--red);
}

.inline-relation.parallel,
.relation-badge.parallel {
  color: #061322;
  background: #cfe6ff;
}

.inline-relation.verify,
.relation-badge.verify {
  color: #211400;
  background: var(--amber);
}

.inline-relation.risk,
.relation-badge.risk {
  color: #fff;
  background: #7c6470;
}

.relation-note {
  color: #405144 !important;
  font-size: 11px !important;
  font-weight: 750;
  line-height: 1.4 !important;
}

.relation-strip {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 4px 8px;
  margin: 8px 0;
  padding: 8px;
  background: #f5f7f1;
  border: 1px solid rgba(20, 25, 20, 0.1);
  border-left: 4px solid var(--green);
  border-radius: 8px;
}

.relation-strip strong {
  grid-row: span 2;
  display: grid;
  place-items: center;
  min-height: 32px;
  color: #06140b;
  background: var(--green);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 950;
}

.relation-strip span {
  color: #173321;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
}

.relation-strip small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.relation-strip.heavy { border-left-color: var(--red); }
.relation-strip.heavy strong { color: #fff; background: var(--red); }
.relation-strip.progressive { border-left-color: var(--green); }
.relation-strip.parallel { border-left-color: var(--blue); }
.relation-strip.parallel strong { color: #061322; background: #a8d2ff; }
.relation-strip.verify { border-left-color: var(--amber); }
.relation-strip.verify strong { color: #211400; background: var(--amber); }
.relation-strip.risk { border-left-color: #7c6470; }
.relation-strip.risk strong { color: #fff; background: #7c6470; }

.news-tags,
.active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.news-card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: -2px;
}

.card-theme-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 8px;
  color: #064124;
  background: #e0f4e7;
  border: 1px solid rgba(46, 212, 122, 0.28);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.card-theme-button span {
  color: #6a766d;
  font-size: 10px;
}

.news-card.active .card-theme-button {
  color: #04140b;
  background: var(--green);
  border-color: var(--green);
}

.active-news h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.active-news p {
  color: #526056;
  font-size: 13px;
  line-height: 1.5;
}

.active-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
  margin-bottom: 8px;
}

.active-news-meta b {
  color: #0a6333;
  font-size: 19px;
  line-height: 1;
}

.active-news-meta span {
  padding: 3px 6px;
  color: var(--muted);
  background: #eef2ea;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.chip-context {
  margin-top: 12px;
  padding: 12px;
  background: #101611;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  color: var(--text);
}

.chip-context > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.chip-context strong {
  padding: 5px 8px;
  color: #06140b;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
}

.chip-context span {
  color: var(--text);
  font-weight: 950;
}

.chip-context b {
  color: var(--amber);
}

.chip-context p {
  margin: 6px 0 0;
  color: rgba(243, 247, 240, 0.74);
  font-size: 12px;
  line-height: 1.45;
}

.chip-context.heavy { border-left-color: var(--red); }
.chip-context.heavy strong { color: #fff; background: var(--red); }
.chip-context.parallel { border-left-color: var(--blue); }
.chip-context.parallel strong { color: #061322; background: #a8d2ff; }
.chip-context.verify { border-left-color: var(--amber); }
.chip-context.verify strong { color: #211400; background: var(--amber); }
.chip-context.risk { border-left-color: #7c6470; }
.chip-context.risk strong { color: #fff; background: #7c6470; }

.association-map {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.association-row {
  display: grid;
  gap: 7px;
  align-items: start;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.association-head strong {
  color: #0a6333;
  font-size: 13px;
}

.association-head small {
  padding: 3px 6px;
  color: #526056;
  background: #eef2ea;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.association-row > div:not(.association-head) {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.more-theme-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  width: 100%;
  padding: 10px;
  color: #06140b;
  text-align: left;
  background: var(--green);
  border: 0;
  border-radius: 8px;
}

.more-theme-button strong,
.more-theme-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.more-theme-button strong {
  font-size: 13px;
  font-weight: 950;
}

.more-theme-button span {
  color: rgba(6, 20, 11, 0.68);
  font-size: 11px;
  font-weight: 850;
}

.theme-modal[hidden] {
  display: none;
}

.theme-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.theme-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 10, 0.62);
  backdrop-filter: blur(8px);
}

.theme-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1120px, 94vw);
  max-height: 88vh;
  overflow: hidden;
  color: var(--text);
  background: #101711;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.theme-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dialog-head h2 {
  color: var(--text);
  font-size: 20px;
}

.theme-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 20px;
}

.theme-dialog-body {
  display: grid;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.theme-news-brief {
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.theme-news-brief strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 15px;
}

.theme-news-brief p {
  margin-bottom: 8px;
  color: rgba(243, 247, 240, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.theme-news-brief div,
.theme-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.theme-news-brief span,
.theme-stats span {
  padding: 4px 7px;
  color: #dff5e7;
  background: rgba(46, 212, 122, 0.15);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.theme-pool-grid {
  display: grid;
  gap: 10px;
}

.theme-pool-card {
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

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

.theme-pool-head h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
}

.theme-pool-head button {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 9px;
  color: #06140b;
  background: var(--green);
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 950;
}

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

.theme-stock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  min-height: 58px;
  padding: 8px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.theme-stock.featured-stock {
  background: rgba(243, 182, 76, 0.16);
  border-color: rgba(243, 182, 76, 0.42);
  box-shadow: inset 3px 0 0 var(--amber);
}

.theme-stock strong,
.theme-stock small,
.theme-stock span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-stock strong {
  color: #fff;
  font-size: 13px;
}

.theme-stock em {
  color: #ff7770;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.theme-stock em.down {
  color: #4ed589;
}

.theme-stock small,
.theme-stock span {
  color: rgba(243, 247, 240, 0.58);
  font-size: 11px;
}

.theme-stock span {
  grid-column: 1 / -1;
}

.theme-feature {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 3px 6px;
  color: #291900;
  background: var(--amber);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.theme-feature.on {
  color: #04140b;
  background: var(--green);
}

.chip-timeline {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chip-timeline > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #0a6333;
  font-size: 13px;
}

.chip-timeline > strong em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.chip-timeline button {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 8px;
  padding: 10px;
  color: var(--ink);
  text-align: left;
  background: #f4f7f0;
  border: 1px solid rgba(20, 25, 20, 0.1);
  border-radius: 8px;
}

.left-timeline button {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  position: relative;
  gap: 6px;
  padding: 9px;
}

.left-timeline button + button::before {
  content: "";
  position: absolute;
  left: 16px;
  top: -9px;
  width: 1px;
  height: 9px;
  background: rgba(20, 25, 20, 0.18);
}

.period-chip {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 40px;
  color: #06140b;
  background: #dff3e6;
  border: 1px solid rgba(46, 212, 122, 0.28);
  border-radius: 8px;
  text-align: center;
}

.period-chip strong {
  color: #0a6333;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.period-chip small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.chip-timeline button.active {
  border-color: rgba(46, 212, 122, 0.62);
  box-shadow: inset 4px 0 0 var(--green);
}

.chip-timeline i {
  grid-row: span 2;
  align-self: start;
  padding: 5px 6px;
  color: #06140b;
  background: #dff3e6;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-align: center;
}

.left-timeline i {
  grid-row: auto;
}

.timeline-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.timeline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.timeline-meta small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.chip-timeline span {
  color: #16261b;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
}

.chip-timeline button > b,
.timeline-copy b {
  color: #223229;
  font-size: 12px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.chip-timeline small,
.timeline-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.tool-details summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin: -2px 0;
  list-style: none;
  cursor: pointer;
}

.tool-details summary::-webkit-details-marker {
  display: none;
}

.tool-details summary > span {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #335040;
  background: #e3f3e8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.tool-details summary .expand-button::after {
  content: " ▾";
  font-weight: 950;
}

.tool-details[open] summary .expand-button::after {
  content: " ▴";
}

.tool-details[open] summary {
  margin-bottom: 14px;
}

.relation-lexicon {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.relation-lexicon.compact {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.relation-lexicon > strong {
  color: #0a6333;
  font-size: 13px;
}

.relation-lexicon article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(20, 25, 20, 0.08);
}

.relation-lexicon b {
  color: #16261b;
  font-size: 12px;
}

.relation-lexicon span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.pricing-bars {
  display: grid;
  gap: 10px;
}

.pricing-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
}

.pricing-row strong {
  font-size: 13px;
}

.pricing-track {
  height: 10px;
  overflow: hidden;
  background: #e2e7df;
  border-radius: 999px;
}

.pricing-track span {
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--amber));
  border-radius: inherit;
}

.pricing-row b {
  text-align: right;
}

.pricing-result {
  margin-top: 14px;
  padding: 12px;
  background: #111712;
  border-radius: 8px;
  color: var(--text);
}

.pricing-result strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.pricing-result p {
  margin-bottom: 0;
  color: rgba(243, 247, 240, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1540px) {
  .news-list.view-auto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-grid,
  .workspace {
    grid-template-columns: 1fr;
  }

  .hero-brief {
    align-self: stretch;
  }

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

  .news-list,
  .news-list.view-auto,
  .news-list.view-two,
  .news-list.view-three {
    grid-template-columns: 1fr;
  }

  .people-evidence-grid {
    grid-template-columns: 1fr;
  }

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

  .board-head,
  .board-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero-grid,
  .workspace {
    padding: 18px;
  }

  .hero-grid {
    padding-top: 78px;
  }

  .channel-strip,
  .hero-person-row,
  .brief-grid,
  .people-evidence-grid,
  .theme-stock-grid,
  .board-head,
  .news-card {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 44px;
  }
}
body.embedded {
  background: #e8eee8;
}

body.embedded .topbar {
  display: none;
}

body.embedded .hero {
  margin: 0 10px 12px;
  min-height: 150px;
  max-height: none;
  border-radius: 10px;
  overflow: hidden;
}

body.embedded .hero-grid {
  min-height: 150px;
  max-height: none;
  gap: 6px;
  padding: 10px;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
}

body.embedded .hero-copy {
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

body.embedded .hero-title-row {
  align-content: center;
}

body.embedded h1 {
  font-size: 22px;
}

body.embedded .hero-text {
  font-size: 13px;
  line-height: 1.42;
}

body.embedded .channel-strip {
  margin-top: 0;
}

body.embedded .hero-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.embedded .hero-stats span {
  min-height: 34px;
  padding: 6px 7px;
}

body.embedded .hero-stats b {
  font-size: 14px;
}

body.embedded .hero-brief {
  padding: 8px;
}

body.embedded .hero-brief .section-title {
  align-items: center;
  margin-bottom: 5px;
}

body.embedded .hero-brief .section-title h2 {
  font-size: 15px;
}

body.embedded .hero-brief .section-title .eyebrow {
  display: none;
}

body.embedded .channel-button {
  min-height: 26px;
  max-width: 118px;
  padding: 4px 6px;
}

body.embedded .channel-button strong {
  font-size: 11px;
}

body.embedded .hero-person-chip {
  min-height: 25px;
  max-width: 96px;
  padding: 4px 6px;
}

body.embedded .hero-person-chip strong {
  font-size: 11px;
}

body.embedded .hero-person-chip span {
  display: none;
}

body.embedded .pool-summary {
  gap: 4px;
  margin: 5px 0;
}

body.embedded .pool-summary span {
  padding: 3px 6px;
  font-size: 10px;
}

body.embedded .brief-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.embedded .brief-card {
  min-height: 118px;
  padding: 8px;
}

body.embedded .people-evidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  body.embedded .hero-grid {
    grid-template-columns: 1fr;
  }

  body.embedded .hero-copy {
    grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body.embedded .hero {
    min-height: 0;
  }

  body.embedded .hero-grid {
    min-height: 0;
    padding: 10px;
  }

  body.embedded .hero-copy {
    grid-template-columns: 1fr;
  }

  body.embedded h1 {
    font-size: 22px;
  }
}
