:root {
  color-scheme: dark;
  --ink: #090b0a;
  --panel: #111412;
  --panel-2: #171a18;
  --panel-3: #1d211e;
  --paper: #f1eee6;
  --muted: #a4aaa4;
  --line: #343934;
  --line-hot: #7c401c;
  --orange: #f97316;
  --green: #5fbb25;
  --red: #d7301b;
  --yellow: #d59e1b;
  --blue: #687f8c;
  --shell: 1540px;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--line) var(--panel);
  font-family: "IBM Plex Mono", Consolas, monospace;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--ink);
  background-size: 40px 40px;
  font-size: 20px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea,
small {
  font: inherit;
  font-size: 20px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.up {
  color: var(--green) !important;
}
.down {
  color: var(--red) !important;
}
.warn {
  color: var(--yellow) !important;
}
.blue {
  color: var(--blue) !important;
}
.muted {
  color: var(--muted) !important;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 82px;
  display: grid;
  grid-template-columns: 170px 1fr 130px;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 10, 0.97);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: flex;
  gap: 3px;
  align-items: end;
}
.brand-mark > span {
  width: 7px;
  background: var(--orange);
}
.brand-mark > span:nth-child(1) {
  height: 9px;
}
.brand-mark > span:nth-child(2) {
  height: 18px;
}
.brand-mark > span:nth-child(3) {
  height: 28px;
}
.main-nav {
  height: 82px;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.main-nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--muted);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--paper);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
}
.signup-button {
  justify-self: end;
  min-width: 118px;
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  font-weight: 900;
}
.signup-button:hover {
  color: var(--paper);
  background: var(--orange);
  border-color: var(--orange);
}
.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto 64px;
}
.page-title {
  padding: 38px 4px 6px;
}
.page-title h1 {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.045em;
}
.page-hero {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: end;
  padding: 42px 4px 30px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  color: var(--orange);
  letter-spacing: 0.09em;
}
.page-hero h1 {
  margin-top: 12px;
  max-width: 900px;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.page-hero h1 em {
  color: var(--orange);
  font-style: normal;
}
.page-hero > p {
  color: var(--muted);
}
.page-hero > p strong {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
}
.page-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  margin: 26px 0 0;
  border: 1px solid var(--line);
  background: var(--panel);
}
.page-tabs a,
.page-tabs button {
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 54px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.page-tabs a:last-child,
.page-tabs button:last-child {
  border-right: 0;
}
.page-tabs a:hover,
.page-tabs button:hover,
.page-tabs .active {
  color: var(--ink);
  background: var(--orange);
}

.cluster {
  margin-top: 34px;
}
.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.card,
.support-block {
  min-width: 0;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.card:hover {
  position: relative;
  z-index: 2;
  background: var(--panel-2);
  box-shadow: inset 0 4px 0 var(--orange);
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.span-5 {
  grid-column: span 5;
}
.span-6 {
  grid-column: span 6;
}
.span-7 {
  grid-column: span 7;
}
.span-8 {
  grid-column: span 8;
}
.span-9 {
  grid-column: span 9;
}
.span-12 {
  grid-column: span 12;
}
.card-head {
  min-height: 66px;
  margin: -24px -24px 24px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: #0d100e;
}
.card-head h3 {
  color: var(--orange);
  font-size: 24px;
  letter-spacing: -0.02em;
}
.head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.block-age {
  color: var(--muted);
  font-size: 20px;
  white-space: nowrap;
}
.metric-label,
.label {
  color: var(--muted);
}
.big-value {
  display: block;
  margin-top: 22px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.signal-line {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 4px solid var(--line-hot);
  background: rgba(249, 115, 22, 0.05);
  color: var(--muted);
  font-weight: 500;
}
.signal-summary {
  margin-top: 18px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  background: #0d100e;
}
.signal-summary > span:first-child {
  color: var(--muted);
}
.signal-reading {
  font-weight: 800;
  white-space: nowrap;
}
.card-note {
  margin-top: 13px;
  color: var(--muted);
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.chip.hot {
  border-color: var(--line-hot);
  color: var(--orange);
}
.chip.good {
  border-color: #3e6034;
  color: var(--green);
}
.chip.risk {
  border-color: #6d3b35;
  color: var(--red);
}
.bar {
  display: block;
  height: 10px;
  margin-top: 18px;
  background: #303530;
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  background: var(--orange);
}
.bar.green .bar-fill {
  background: var(--green);
}
.bar.red .bar-fill {
  background: var(--red);
}
.bar.blue .bar-fill {
  background: var(--blue);
}
.mini-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
.mini-grid > div {
  padding: 15px;
  background: #0d100e;
}
.mini-grid span {
  display: block;
  color: var(--muted);
}
.mini-grid strong {
  display: block;
  margin-top: 7px;
}
.metric-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1.6fr) 100px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.metric-row:last-child {
  border-bottom: 0;
}
.metric-row > .metric-value {
  text-align: right;
}
.metric-row .bar {
  margin: 0;
}
.stack {
  margin-top: 16px;
}
.stack > * {
  border-bottom: 1px solid var(--line);
}
.stack > *:last-child {
  border-bottom: 0;
}
.rank-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 52px minmax(130px, 1fr) minmax(190px, 1.4fr) auto;
  gap: 16px;
  align-items: center;
}
.rank-row > .rank-number {
  color: var(--muted);
}
.rank-row p {
  color: var(--muted);
}
.rank-row .rank-value {
  color: var(--orange);
}
.fact-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.fact-list li {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.fact-list li:last-child {
  border-bottom: 0;
}
.fact-list span {
  color: var(--muted);
}
.fact-value {
  text-align: right;
  font-weight: 700;
}

.help {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #0d100e;
  color: var(--orange);
  cursor: pointer;
  font-weight: 800;
}
.help > .component-help {
  display: none;
}
.help-visible {
  overflow: hidden;
}
.help-dialog {
  inset: 0;
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-hot);
  background: #080a09;
  color: var(--paper);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}
.help-dialog[open] {
  display: flex;
  flex-direction: column;
}
.help-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.help-dialog-head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.help-dialog-head h2 {
  font-size: 24px;
  overflow-wrap: anywhere;
  color: var(--orange);
}
.help-close {
  flex: 0 0 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}
.help-dialog-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
}
.component-help {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}
.component-help strong {
  margin-top: 20px;
  display: block;
  color: var(--orange);
  font-size: 20px;
}
.component-help > p {
  margin-top: 8px;
  color: var(--paper);
  font-size: 20px;
}
.component-help ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.component-help li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 20px;
}
.component-help li > span:last-child {
  grid-column: 2;
}
.component-help .indicator-marker {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  background: var(--blue);
}
.component-help .indicator-marker.up {
  background: var(--green);
}
.component-help .indicator-marker.down {
  background: var(--red);
}
.component-help .indicator-marker.warn {
  background: var(--yellow);
}
.component-help .indicator-name {
  color: var(--paper);
  font-size: 20px;
  font-weight: 700;
}
.component-help li span {
  color: var(--muted);
  font-size: 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.mobile-table-sort, .mobile-cell-label {
  display: none;
}
.cell-value {
  display: block;
  min-width: 0;
}
.asset-surface { cursor: pointer; }
.asset-surface:focus-within {
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
}
.asset-surface-link {
  color: inherit;
  text-decoration: none;
}
.asset-surface-link::after {
  content: "↗";
  display: inline-block;
  margin-left: 8px;
  color: var(--orange);
  font-size: 20px;
  font-weight: 400;
}
.fact-list > .asset-surface:hover { background: var(--panel-3); }
.sort-button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.sort-arrow {
  color: var(--orange);
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.sort-button:hover, th[aria-sort="ascending"], th[aria-sort="descending"] {
  color: var(--paper);
}
:is(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.data-table th,
.data-table td {
  padding: 17px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.data-table th {
  color: var(--muted);
  font-weight: 500;
  background: #0d100e;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table th:last-child,
.data-table td:last-child {
  border-right: 0;
}
.data-table tbody tr:hover {
  background: var(--panel-2);
  box-shadow: inset 4px 0 0 var(--orange);
}
.data-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.state {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.state.positive {
  color: var(--green);
}
.state.negative {
  color: var(--red);
}
.state.neutral {
  color: var(--yellow);
}
.state.info {
  color: var(--blue);
}

.matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: var(--line);
}
.matrix > div {
  min-height: 115px;
  padding: 17px;
  background: #0d100e;
}
.matrix span {
  display: block;
  color: var(--muted);
}
.matrix strong {
  display: block;
  margin-top: 8px;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.scenario-grid > .card-head {
  grid-column: 1 / -1;
  margin: 0;
  background: #0d100e;
}
.scenario-support {
  margin-top: 24px;
}
.scenario {
  min-height: 290px;
  padding: 24px;
  background: var(--panel);
}
.scenario-weight {
  display: block;
  margin-top: 14px;
  font-size: 38px;
  font-weight: 800;
}
.scenario > p {
  min-height: 56px;
  margin-top: 18px;
  color: var(--muted);
}
.scenario-range,
.scenario-trigger {
  display: block;
  margin-top: 14px;
  font-weight: 700;
}
.scenario-trigger {
  color: var(--muted);
}
.scenario.bull > span:first-child,
.scenario.bull .scenario-weight {
  color: var(--green);
}
.scenario.base > span:first-child,
.scenario.base .scenario-weight {
  color: var(--yellow);
}
.scenario.bear > span:first-child,
.scenario.bear .scenario-weight {
  color: var(--red);
}
.timeline article {
  min-height: 86px;
  display: grid;
  grid-template-columns: 150px 190px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.timeline article:last-child {
  border-bottom: 0;
}
.timeline p {
  color: var(--muted);
}
.evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.evidence article {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
}
.evidence article > span {
  color: var(--muted);
}
.evidence article > strong {
  display: block;
  margin-top: 18px;
  color: var(--muted);
}
.evidence article > p {
  margin-top: 14px;
  color: var(--muted);
}
.source-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}
.source-flow article {
  position: relative;
  min-height: 180px;
  padding: 22px;
  background: var(--panel);
}
.source-flow article:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 45%;
  right: -13px;
  color: var(--orange);
}
.source-flow span {
  color: var(--orange);
}
.source-flow strong {
  display: block;
  margin-top: 26px;
}
.source-flow p {
  margin-top: 8px;
  color: var(--muted);
}

.asset-hero {
  position: relative;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.3fr 0.65fr 1fr;
  border: 1px solid var(--line);
  background: var(--panel);
}
.asset-hero > .card-head {
  grid-column: 1 / -1;
  margin: 0;
}
.asset-hero > .help,
.scenario-grid > .help {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
}
.asset-hero > .block-age,
.scenario-grid > .block-age {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: 64px;
}
.scenario-grid {
  position: relative;
}
.asset-hero > div:not(.card-head) {
  min-height: 205px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.asset-hero > div:not(.card-head) {
  position: relative;
}
.asset-hero > div:last-child {
  border-right: 0;
  border-top: 4px solid var(--orange);
  background: rgba(249, 115, 22, 0.07);
}
.asset-hero span {
  color: var(--muted);
}
.asset-hero .asset-symbol {
  display: block;
  margin-top: 12px;
  font-size: 48px;
  font-weight: 800;
}
.asset-hero .hero-value {
  display: block;
  margin-top: 12px;
  font-size: 36px;
  font-weight: 800;
}
.asset-hero .hero-change {
  font-weight: 700;
}
.price-age {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--muted);
  white-space: nowrap;
}
.asset-switcher {
  margin-top: 28px;
  display: flex;
  width: max-content;
  border: 1px solid var(--line);
  background: var(--panel);
}
.asset-switcher > * {
  min-height: 56px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
.asset-switcher > *:last-child {
  border-right: 0;
}
.asset-switcher span {
  color: var(--muted);
}
.asset-switcher a.active,
.asset-switcher a:hover {
  color: var(--ink);
  background: var(--orange);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0d100e;
}
.footer-inner {
  width: min(var(--shell), calc(100% - 40px));
  min-height: 170px;
  margin: 0 auto;
  padding: 34px 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.footer-brand span {
  display: block;
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.footer-brand p {
  margin-top: 8px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
}
.site-footer a:hover {
  color: var(--orange);
}

.legal-page {
  max-width: 1120px;
  margin: 34px auto 0;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
}
body:is(
    [data-page="terms"],
    [data-page="privacy"],
    [data-page="about"],
    [data-page="contact"]
  )
  .page-title {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}
.legal-page h2 {
  margin-top: 36px;
  color: var(--orange);
  font-size: 26px;
}
.legal-page h2:first-child {
  margin-top: 0;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
}
.legal-page p {
  margin-top: 14px;
}
.legal-page ul {
  margin: 14px 0 0;
  padding-left: 28px;
}
.legal-page li + li {
  margin-top: 10px;
}
.legal-page a {
  color: var(--orange);
}
.legal-updated {
  color: var(--blue) !important;
}

.asset-directory-table tbody tr {
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.asset-directory-table tbody tr:hover {
  background: var(--panel-2);
  box-shadow: inset 4px 0 0 var(--orange);
}
.asset-directory-table tbody td:first-child a {
  display: block;
  font-size: 26px;
  font-weight: 800;
}
.asset-directory-table tbody td:nth-child(2),
.asset-directory-table tbody td:nth-child(6) {
  font-weight: 500;
  color: var(--muted);
}
.support-block {
  padding-bottom: 0;
}
.support-block > .data-table {
  margin: 0 -24px;
  width: calc(100% + 48px);
}
.support-block > .asset-directory-status {
  margin: 0 -24px;
}
.asset-directory-status {
  min-height: 58px;
  padding: 17px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
}
.live-source {
  margin-top: 14px;
  color: var(--muted);
  font-size: 20px;
}
.empty-state {
  padding: 28px;
  color: var(--muted);
  background: var(--panel);
}
[hidden] {
  display: none !important;
}

@media (max-width: 1550px) {
  :root {
    --shell: calc(100% - 40px);
  }
  .site-header {
    grid-template-columns: 150px 1fr 120px;
    padding: 0 16px;
  }
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 1200px) {
  .site-header {
    height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding-top: 12px;
  }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    height: 60px;
    min-width: 0;
    overflow-x: auto;
    gap: 24px;
  }
  .signup-button { grid-column: 2; grid-row: 1; }
  .cockpit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cockpit-grid > * { grid-column: span 1; }
  .cockpit-grid > :is(.span-7, .span-8, .span-9, .span-12) { grid-column: 1 / -1; }
  .card-head { flex-wrap: wrap; }
  .head-actions { margin-left: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .site-footer nav { justify-content: flex-start; }
  .data-table :is(th, td) { min-width: 130px; }
  .data-table td { max-width: 440px; overflow-wrap: break-word; }
  .asset-hero { grid-template-columns: 1fr 1fr; }
  .asset-hero > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 24px); }
  .shell, .footer-inner { width: var(--shell); }
  .site-header { position: relative; padding-inline: 12px; }
  .main-nav { gap: 22px; }
  .page-title { padding-top: 26px; }
  .page-title h1, .page-hero h1 { font-size: 36px; line-height: 1.12; overflow-wrap: anywhere; }
  .page-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 26px; }
  .page-tabs, .asset-switcher { width: 100%; overflow-x: auto; }
  .page-tabs > *, .asset-switcher > * { flex-shrink: 0; white-space: nowrap; }
  .cluster { margin-top: 24px; }
  .cockpit-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cockpit-grid > * { grid-column: 1 / -1; }
  .card, .support-block { padding: 16px; }
  .card-head { margin: -16px -16px 20px; padding: 14px 16px; gap: 10px; }
  .card-head h3 { font-size: 22px; overflow-wrap: anywhere; }
  .head-actions { flex-shrink: 0; }
  .big-value { font-size: 32px; line-height: 1.15; overflow-wrap: anywhere; }
  .fact-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 12px; }
  .fact-value { text-align: left; overflow-wrap: anywhere; }
  .fact-list.fact-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fact-list.fact-tiles li {
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid var(--line);
    background: #0d100e;
    align-content: start;
  }
  .fact-list.fact-tiles .fact-wide { grid-column: 1 / -1; }
  .fact-list.fact-tiles .fact-metric { text-align: center; align-content: space-between; gap: 12px; }
  .fact-list.fact-tiles .fact-metric .fact-value { text-align: center; font-size: 24px; }
  .fact-list.fact-tiles li > span { min-width: 0; overflow-wrap: anywhere; }
  .card > .primary-reading {
    margin: 0;
    padding: 24px 12px;
    text-align: center;
    border-block: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.05), transparent 65%);
    font-size: 36px;
  }
  .signal-summary { flex-wrap: wrap; }
  .signal-reading { white-space: normal; }
  .mini-grid, .matrix, .evidence, .scenario-grid, .source-flow, .asset-hero { grid-template-columns: minmax(0, 1fr); }
  .scenario-grid > .card-head, .asset-hero > .card-head { margin: 0; }
  .scenario, .evidence article { min-height: 0; padding: 20px 16px; }
  .scenario > p { min-height: 0; }
  .asset-hero > div:not(.card-head) { min-height: 150px; padding: 24px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .asset-hero .hero-value { font-size: 30px; overflow-wrap: anywhere; }
  .asset-hero .asset-symbol { font-size: 40px; }
  .price-age { position: static; margin-bottom: 12px; }
  .mobile-table-sort {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
  }
  .mobile-table-sort select {
    flex: 1;
    width: 0;
    min-width: 0;
    min-height: 48px;
    padding: 8px;
    color: var(--paper);
    background: #0d100e;
    border: 1px solid var(--line);
  }
  .mobile-table-sort button {
    flex: 0 0 48px;
    padding: 0;
    border: 1px solid var(--line);
    background: #0d100e;
    cursor: pointer;
  }
  .mobile-table-sort button:disabled { opacity: 0.4; cursor: default; }
  .table-scroll { overflow: visible; }
  .table-scroll .data-table {
    display: block;
    width: 100%;
    background: transparent;
  }
  .table-scroll .data-table thead { display: none; }
  .table-scroll .data-table tbody { display: grid; gap: 16px; }
  .table-scroll .data-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    padding: 12px;
    gap: 10px;
    border: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.05), transparent 45%), #0d100e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  }
  .table-scroll .data-table tbody tr.asset-surface:hover { border-color: var(--line-hot); }
  .table-scroll .data-table td {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    max-width: none;
    padding: 14px 10px;
    border: 0;
    overflow-wrap: anywhere;
  }
  .table-scroll .data-table td.mobile-wide { grid-column: 1 / -1; }
  .table-scroll .data-table td[data-card-role="title"] {
    order: 0;
    grid-column: 1 / -1;
    justify-content: center;
    padding: 8px 4px 18px;
    border-bottom: 1px solid var(--line);
  }
  .table-scroll .data-table tr.has-card-hero td[data-card-role="title"] { grid-column: 1; border-bottom: 0; }
  .table-scroll .data-table td[data-card-role="title"] .cell-value {
    color: var(--paper);
    font-weight: 700;
    font-size: 22px;
    text-wrap: balance;
  }
  .table-scroll .data-table td[data-card-role="title"] .asset-surface-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 28px;
    line-height: 1.15;
  }
  .table-scroll .data-table td[data-card-role="title"] .mobile-cell-label { display: none; }
  .table-scroll .data-table td[data-card-role="hero"] {
    order: 0;
    grid-column: 2;
    justify-content: center;
    padding: 8px 4px 16px 10px;
    border-left: 1px solid var(--line);
    text-align: right;
  }
  .table-scroll .data-table td[data-card-role="hero"] .cell-value { font-size: 28px; font-weight: 700; line-height: 1.2; }
  .table-scroll .data-table td[data-card-role="hero"] .reading-number { display: block; font-size: 38px; }
  .table-scroll .data-table td[data-card-role="hero"] .reading-category { display: block; margin-top: 4px; font-size: 20px; }
  .table-scroll .data-table td[data-card-role="metric"] {
    order: 3;
    background: var(--panel-2);
    border: 1px solid #2a302b;
    justify-content: space-between;
    text-align: center;
  }
  .table-scroll .data-table td[data-card-role="metric"] .cell-value { font-size: 26px; }
  .table-scroll .data-table td[data-card-role="metric"] .reading-category { display: block; font-size: 20px; font-weight: 500; margin-top: 4px; }
  .table-scroll .data-table td[data-card-role="inline"] {
    order: 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    border-block: 1px solid var(--line);
    padding-inline: 4px;
  }
  .table-scroll .data-table td[data-card-role="inline"] .cell-value { margin-left: auto; text-align: right; font-size: 24px; }
  .table-scroll .data-table td[data-card-role="banner"] {
    order: 2;
    text-align: center;
    background: var(--panel-2);
    border-block: 1px solid var(--line);
  }
  .table-scroll .data-table td[data-card-role="banner"] .cell-value { font-weight: 700; }
  .table-scroll .data-table td[data-card-role="lead"] {
    order: 4;
    border-left: 2px solid var(--orange);
    background: rgba(249, 115, 22, 0.04);
  }
  .table-scroll .data-table td[data-card-role="lead"] .cell-value { font-size: 22px; color: var(--paper); line-height: 1.5; }
  .table-scroll .data-table td[data-card-role="prose"] {
    order: 5;
    border-top: 1px solid var(--line);
    line-height: 1.5;
  }
  .mobile-cell-label {
    display: block;
    color: var(--muted);
    font-size: 20px;
    font-weight: 400;
  }
  .table-scroll :is(.signal-reading, .state, a) {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .support-block > .asset-directory-status { margin: 0 -16px -16px; }
  .metric-row, .rank-row, .timeline article { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .metric-row > .metric-value { text-align: left; }
  .source-flow article:not(:last-child)::after { display: none; }
  .legal-page { padding: 20px 16px; overflow-wrap: anywhere; }
  .help-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .help-dialog-head, .help-dialog-body { padding: 16px; }
}

@media (max-width: 359px) {
  .table-scroll .data-table tbody tr { padding: 10px; gap: 8px; }
  .table-scroll .data-table td { padding-inline: 8px; }
  .table-scroll .data-table td[data-card-role="title"] .asset-surface-link { font-size: 24px; }
  .table-scroll .data-table td[data-card-role="hero"] .reading-number { font-size: 32px; }
  .table-scroll .data-table td[data-card-role="metric"] .cell-value { font-size: 22px; }
  .fact-list.fact-tiles li { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
