:root {
  --research-line: rgba(147,160,167,.22);
  --bg: #080a0b;
  --surface: #101315;
  --surface-raised: #15191c;
  --surface-soft: #0d1012;
  --line: #2a3034;
  --line-strong: #41494e;
  --text: #f4f5f1;
  --muted: #9aa2a7;
  --muted-2: #899399;
  --yellow: #f2c94c;
  --yellow-soft: #2a2516;
  --green: #59dca0;
  --red: #ff7b71;
  --blue: #88b4ff;
  --radius: 10px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% -12%, rgba(242, 201, 76, 0.065), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
code {
  border-radius: 4px;
  background: #0a0c0d;
  color: var(--yellow);
  font-family: var(--mono);
}

.shell {
  width: min(1740px, calc(100% - 36px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(65, 73, 78, 0.72);
  background: rgba(8, 10, 11, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.topbar-inner {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.625rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 4px;
  background: var(--yellow);
  color: #151207;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 950;
}
.snapshot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.pulse {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(89, 220, 160, 0.1);
}

.workspace-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  padding: 28px 0 22px;
}
.eyebrow, .section-index {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.title-block h1 {
  margin: 6px 0 5px;
  font-size: clamp(28px, 3.5vw, 45px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.title-block p {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.inline-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(6.5rem, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.inline-stats > div {
  min-width: 0;
  padding: 10px 13px;
  border-right: 1px solid var(--line);
}
.inline-stats > div:last-child { border-right: 0; }
.inline-stats span, .inline-stats strong { display: block; }
.inline-stats span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.875rem;
  white-space: nowrap;
}
.inline-stats strong {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 23px;
  line-height: 1.1;
}

.panel { scroll-margin-top: 5rem; }
.panel-method { border-top: 1px solid var(--line-strong); }
.sheet-titlebar h2, .section-head h2 { display: flex; align-items: center; gap: .75rem; }

.panel { padding: 2rem 0 3rem; }
.panel-sheet { padding-top: 18px; }
.sheet-titlebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.sheet-titlebar h2 {
  margin: 3px 0 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}
.sheet-titlebar p {
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.7fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 6px 0 0;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-head > p {
  margin-bottom: 3px;
  color: var(--muted);
  line-height: 1.7;
}

.toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem .75rem;
  align-items: end;
  margin-bottom: 1rem;
}
.toolbar label { display: grid; gap: .375rem; min-width: 0; }
.field-label { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.toolbar input, .toolbar select, .search-row input, .ghost-button {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: border-color 140ms ease, background 140ms ease;
}
.toolbar input, .search-row input { padding: 0.625rem 0.875rem 0.625rem 2.75rem; }
.toolbar select { padding: 0.625rem 2rem 0.625rem 0.75rem; }
.toolbar input:focus, .toolbar select:focus, .search-row input:focus, .ghost-button:focus-visible, .sheet-wrap:focus-visible {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(242, 201, 76, 0.13);
}
.search-row { width: 100%; margin-bottom: 1rem; }
.search-field { display: block; position: relative; min-width: 0; }
.search-field svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.125rem;
  height: 1.125rem;
  pointer-events: none;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.7;
}
.ghost-button {
  padding: 0 16px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
}
.ghost-button:hover {
  border-color: var(--yellow);
  background: var(--yellow-soft);
}

.result-meta {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.legend {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.dot {
  width: 6px;
  height: 6px;
  margin-left: 9px;
  border-radius: 50%;
}
.dot-green { background: var(--green); }
.dot-muted { background: var(--muted-2); }
.estimate-key {
  margin-left: 12px;
  color: var(--yellow);
}

.sheet-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  scrollbar-color: #525b61 #111416;
  scrollbar-width: thin;
}
.sheet-wrap::-webkit-scrollbar { width: 10px; height: 10px; }
.sheet-wrap::-webkit-scrollbar-track { background: #111416; }
.sheet-wrap::-webkit-scrollbar-thumb {
  border: 2px solid #111416;
  border-radius: 10px;
  background: #515a60;
}
.sheet-table {
  --col-token: 14rem;
  --col-status: 10rem;
  --col-number: 11rem;
  --col-date: 12.5rem;
  --col-story: 25rem;
  --col-chain: 8rem;
  --col-contract: 20rem;
  --col-link: 10rem;
  width: calc(var(--col-token) + 3 * var(--col-status) + 9 * var(--col-number) + 5 * var(--col-date) + var(--col-story) + var(--col-chain) + var(--col-contract) + 2 * var(--col-link));
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 0.875rem;
}
.sheet-table th, .sheet-table td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  overflow-wrap: anywhere;
}
.sheet-table th:last-child, .sheet-table td:last-child { border-right: 0; }
.sheet-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 3.5rem;
  padding: 0.75rem;
  background: #191d20;
  color: #cbd0cd;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 0.015em;
  vertical-align: middle;
}
.sheet-table tbody td {
  padding: 0.875rem 0.75rem;
  background: #101315;
  color: #d5d9d6;
  vertical-align: top;
}
.sheet-table tbody tr:nth-child(even) td { background: #0d1012; }
.sheet-table tbody tr:hover td { background: #171b1e; }
.sheet-table .sticky-first {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 7px 0 12px rgba(0, 0, 0, 0.28);
}
.sheet-table thead .sticky-first { z-index: 5; background: #202529; }
.sheet-table tbody tr:nth-child(odd) .sticky-first { background: #131719; }
.sheet-table tbody tr:nth-child(even) .sticky-first { background: #101315; }
.sheet-table tbody tr:hover .sticky-first { background: #1b2023; }

.token-column { width: var(--col-token); }
.status-column { width: var(--col-status); text-align: center !important; }
.number-column { width: var(--col-number); }
.date-column { width: var(--col-date); }
.story-column { width: var(--col-story); }
.chain-column { width: var(--col-chain); }
.contract-column { width: var(--col-contract); }
.link-column { width: var(--col-link); }

.sheet-token {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}
.token-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #1c2225;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 850;
}
.token-name { min-width: 0; }
.token-name strong, .token-name small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.token-name strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}
.token-name small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}
.status {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: nowrap;
}
.status.yes {
  border-color: rgba(89, 220, 160, 0.25);
  background: rgba(89, 220, 160, 0.08);
  color: var(--green);
}
.status.no {
  background: rgba(105, 114, 120, 0.06);
  color: var(--muted-2);
}
.alpha-lifecycle { white-space: nowrap; }
.status.removed { color: #f3969e; border-color: #793840; background: #351e24; }
.refresh-note { color: var(--muted); font-size: 0.875rem; line-height: 1.6; margin: 8px 0 14px; overflow-wrap: anywhere; }
.num, .sheet-table time {
  display: block;
  color: #e9ece9;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}
.price-now { color: var(--yellow); }
.sheet-table td small {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.5;
}
.story-column p {
  margin-bottom: 7px;
  color: #ced3cf;
  font-size: 0.875rem;
  line-height: 1.55;
}
.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.story-meta a, .table-link {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}
.story-meta a:hover, .table-link:hover { text-decoration: underline; }
.confidence {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.75rem;
  white-space: nowrap;
}
.confidence em { font-style: normal; }
.confidence-high em { color: var(--green); }
.confidence-mid em { color: var(--yellow); }
.confidence-low em { color: var(--red); }
.chain-pill {
  display: inline-flex;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #c8cdca;
  font-size: 0.875rem;
}
.address {
  display: block;
  padding: 0;
  overflow-wrap: anywhere;
  background: transparent;
  color: #b9c0bc;
  font-size: 0.75rem;
  line-height: 1.55;
}
.table-link {
  display: inline-flex;
  font-size: 0.875rem;
  padding: 5px 7px;
  border: 1px solid rgba(136, 180, 255, 0.2);
  border-radius: 5px;
  background: rgba(136, 180, 255, 0.055);
}
.contract-link { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--blue); text-decoration: none; }
.contract-link .address { min-width: 0; color: inherit; }
.contract-link > span { flex-shrink: 0; }
.contract-link:hover .address { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.collision-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--yellow);
  background: var(--yellow-soft);
  color: #bdb8a5;
  font-size: 0.875rem;
}
.collision-note strong { color: var(--yellow); }
.status-details { margin-top: 0.5rem; font-size: 0.875rem; }
.status-details summary { width: fit-content; margin-inline: auto; padding: 0.125rem 0.25rem; cursor: pointer; color: var(--blue); white-space: nowrap; }
.status-detail-content { margin-top: 0.75rem; padding-top: 0.625rem; border-top: 1px solid var(--line); text-align: left; font-size: 0.75rem; line-height: 1.6; }
.status-detail-content p { margin-bottom: 0.5rem; color: var(--muted); }
.status-detail-content a { color: var(--blue); }
.status-history { margin-top: 0.75rem; padding-top: 0.625rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.75rem; }
.muted { color: var(--muted); }
.metric-filters { margin: 0 0 1rem; padding: .75rem 0; border-block: 1px solid var(--line); font-size: .875rem; }
.metric-filters summary { cursor: pointer; color: var(--muted); }
.filter-actions { display: flex; justify-content: flex-end; margin-top: .75rem; }
.filter-actions .ghost-button, .sheet-meta .ghost-button { width: auto; min-height: 2.75rem; }
.sheet-meta { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; }
.sheet-meta .legend { justify-content: end; margin-right: .5rem; }
.metric-filter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.metric-filter-grid label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: var(--muted); font-size: 0.875rem; }
.metric-filter-grid input,.metric-filter-grid select { width: 100%; min-width: 0; min-height: 2.75rem; padding: 0.5rem; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font: inherit; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.method-card {
  position: relative;
  min-height: 220px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.method-number {
  position: absolute;
  top: 4px;
  right: 18px;
  color: rgba(242, 201, 76, 0.1);
  font-family: var(--mono);
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
}
.method-card h3 { margin: 42px 0 10px; font-size: 20px; }
.method-card p { margin: 0; color: var(--muted); font-size: 13px; }
.source-ledger, .caveats {
  margin-top: 36px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}
.ledger-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}
.ledger-head h3 { margin: 5px 0 0; font-size: 22px; }
.ledger-head > span { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.source-item {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line);
  color: #ccd1ce;
  font-size: 12px;
  text-decoration: none;
}
.source-item:nth-child(odd) { border-right: 1px solid var(--line); }
.source-item:hover { background: var(--surface-raised); color: var(--yellow); }
.source-item span:last-child { color: var(--muted-2); font-family: var(--mono); font-size: 10px; }
.caveats h3 { margin-bottom: 12px; font-size: 20px; }
.caveats ul { margin: 0; padding-left: 21px; color: var(--muted); font-size: 13px; }
.caveats li + li { margin-top: 8px; }
.caveats strong { color: var(--text); }

.empty-state {
  padding: 46px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}
footer {
  border-top: 1px solid var(--line);
  background: #070809;
}
.footer-inner {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-inner p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.footer-inner > a { color: var(--yellow); font-family: var(--mono); font-size: 11px; text-decoration: none; }

.contract-tag, .market-block > span, .market-subnote, .price-box span, .price-box small,
.meta-line span, .tag, .card-sources a, .ledger-head > span, .source-item span:last-child,
.footer-inner p, .footer-inner > a { font-size: 0.75rem; }
.origin, .meta-line strong, .method-card p, .caveats ul, .source-item { font-size: 0.875rem; }

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

@media (max-width: 1120px) {
  .workspace-head { grid-template-columns: 1fr; gap: 16px; }
  .inline-stats { width: 100%; }
  .inline-stats > div { min-width: 0; }
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .toolbar, .metric-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 20px, 1740px); }
  .topbar-inner { min-height: 49px; }
  .brand { font-size: 0.75rem; }
  .snapshot { font-size: 0.75rem; }
  .workspace-head { padding: 20px 0 16px; }
  .title-block h1 { font-size: 29px; }
  .title-block p { font-size: 0.875rem; }
  .inline-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-stats > div:nth-child(2) { border-right: 0; }
  .inline-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .inline-stats strong { font-size: 20px; }
  .panel { padding: 34px 0 58px; }
  .panel-sheet { padding-top: 14px; }
  .sheet-titlebar { align-items: flex-start; flex-direction: column; gap: 3px; }
  .result-meta { align-items: flex-start; flex-direction: column; gap: 3px; margin: 6px 0 9px; }
  .legend { flex-wrap: wrap; white-space: normal; }
  .estimate-key { width: 100%; margin-left: 9px; }
  .sheet-table { --col-token: 10rem; }
  .method-grid, .source-list { grid-template-columns: 1fr; }
  .source-item:nth-child(odd) { border-right: 0; }
  .ledger-head, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { justify-content: center; padding: 34px 0; }
}
@media (max-width: 560px) {
  .metric-filter-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.project-overview { margin: 0 0 .4rem; font: 400 .875rem/1.65 var(--font-sans, sans-serif); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
.evidence-label { display: inline-block; max-width: 100%; padding: .1rem .35rem; border: 1px solid var(--research-line); border-radius: .25rem; color: var(--muted); font-size: .7rem; line-height: 1.6; white-space: normal; vertical-align: middle; }
.project-details { margin-top: .5rem; font-size: .8125rem; line-height: 1.65; overflow-wrap: anywhere; }
.project-details > summary { cursor: pointer; color: #8db8f5; padding: .25rem 0; line-height: 1.65; }
.project-details[open] > summary { margin-bottom: .5rem; }
.project-detail-content { white-space: normal; font-family: var(--font-sans, sans-serif); }
.project-detail-content section { margin: 0 0 1rem; padding-top: .8rem; border-top: 1px solid var(--research-line); }
.project-detail-content h4 { margin: 0 0 .45rem; font-size: .875rem; color: var(--text); }
.project-detail-content p { margin: .35rem 0; font-size: .8125rem; line-height: 1.7; }
.project-timeline { margin: 0; padding: 0; list-style: none; }
.project-timeline li { margin: .6rem 0; padding: .15rem 0 .65rem .7rem; border-left: 2px solid var(--research-line); }
.project-timeline time { display: block; color: var(--muted); font-size: .7rem; font-variant-numeric: tabular-nums; }
.project-timeline strong { display: block; font-size: .8125rem; line-height: 1.6; }
.project-links { display: flex; flex-wrap: wrap; gap: .25rem .7rem; margin-top: .35rem; }
.project-detail-content .coverage-note { color: var(--muted); font-size: .75rem; }
.card-project { min-width: 0; margin-block: .8rem; }
#research-coverage { font-size: .75rem; line-height: 1.65; }

/* Existing workbook on desktop; focused, vertically flowing records on phones. */
.filter-disclosure { display: block; grid-column: 1 / -1; min-width: 0; }
.extra-filter-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.extra-filter-grid > label { grid-column: span 2; }
.extra-filter-grid > .sort-filter { grid-column: span 3; }
.filter-disclosure > summary { display: none; }
.data-health { margin: .5rem 0 1rem; color: var(--muted); font-size: .875rem; }
.data-health > summary { cursor: pointer; padding-block: .5rem; }
.not-applicable { color: var(--muted); font-weight: 500; }
.mobile-token-list { display: grid; gap: .875rem; }
.mobile-token-card { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.mobile-token-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.mobile-token-head .sheet-token { min-width: 0; }
.mobile-token-head h3 { margin: 0; font-size: 1.125rem; overflow-wrap: anywhere; }
.mobile-token-head .token-avatar { width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; }
.mobile-token-head .chain-pill { flex-shrink: 0; font-size: .75rem; }
.mobile-status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .375rem; margin-top: 1rem; }
.mobile-status-grid > div { display: grid; align-content: start; justify-items: start; gap: .35rem; min-width: 0; }
.mobile-status-grid > div > span:first-child { color: var(--muted); font-size: .75rem; }
.mobile-status-grid .status { font-size: .875rem; padding: .25rem .375rem; min-width: 0; max-width: 100%; white-space: normal; gap: .25rem; }
.mobile-price-grid, .mobile-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .875rem; margin: 1rem 0; }
.mobile-price-grid > div, .mobile-detail-grid > div { min-width: 0; }
.mobile-price-grid dt, .mobile-detail-grid dt { font-size: .875rem; color: var(--muted); margin-bottom: .25rem; }
.mobile-price-grid dd, .mobile-detail-grid dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.mobile-price-grid strong { font: 650 clamp(1.1rem,5vw,1.4rem)/1.4 var(--mono); }
.mobile-price-grid > div:last-child strong { font-size: 1rem; }
.mobile-detail-grid strong { font-size: 1rem; }
.mobile-detail-grid small { display: block; margin-top: .3rem; font-size: .75rem; color: var(--muted); }
.mobile-date-line { display: flex; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .75rem; color: var(--muted); font-size: .75rem; }
.mobile-full-data { border-top: 1px solid var(--line); }
.mobile-full-data > summary, .mobile-status-evidence > summary { padding: .75rem 0; cursor: pointer; font-size: .875rem; color: var(--blue); min-height: 44px; }
.mobile-expanded { min-width: 0; font-size: .875rem; }
.mobile-expanded section { border-top: 1px solid var(--line); padding-top: .875rem; margin-bottom: 1rem; }
.mobile-expanded h4 { margin: .5rem 0; font-size: .875rem; }
.mobile-expanded .address { white-space: normal; overflow-wrap: anywhere; }
.mobile-expanded .project-overview { -webkit-line-clamp: initial; }
.mobile-expanded .project-detail-content p, .mobile-expanded .project-timeline strong { font-size: .875rem; }
.mobile-more { margin: 1rem 0; }
button:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

@media (max-width:760px) {
  .shell { width: calc(100% - 24px); }
  .topbar { position: static; }
  .topbar-inner { gap: .375rem; padding-block: .625rem; }
  .snapshot { font-size: .75rem; flex-wrap: wrap; }
  .workspace-head { padding: 1rem 0; gap: 1rem; }
  .title-block h1 { font-size: 1.625rem; }
  .title-block .eyebrow { font-size: .6875rem; letter-spacing: .06em; }
  .inline-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .inline-stats > div { padding: .625rem .5rem; border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
  .inline-stats > div:last-child { border-right: 0 !important; }
  .inline-stats span { font-size: .75rem; white-space: normal; }
  .inline-stats strong { font-size: 1.25rem; }
  .sheet-titlebar { margin-bottom: .75rem; }
  .sheet-titlebar h2 { font-size: 1.125rem; }
  .sheet-titlebar p { display: none; }
  .toolbar, .toolbar-alpha, .extra-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
  .toolbar input, .toolbar select, .search-row input, .metric-filter-grid input, .metric-filter-grid select { font-size: 1rem; min-height: 48px; }
  .toolbar select { padding-left: .625rem; }
  .filter-disclosure { display: block; grid-column: 1/-1; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
  .filter-disclosure > summary { display: list-item; padding: .625rem .875rem; cursor: pointer; color: var(--text); min-height: 44px; font-size: .875rem; }
  .extra-filter-grid { display: grid; padding: .25rem .625rem .625rem; }
  .extra-filter-grid > label { min-width: 0; }
  .extra-filter-grid > button { grid-column: 1/-1; min-height: 44px; }
  .metric-filter-grid { grid-template-columns: minmax(0,1fr); }
  .metric-filters { margin-bottom: .5rem; }
  .metric-filters > summary { min-height: 44px; padding: .625rem 0; font-size: .875rem; }
  .result-meta { margin: .75rem 0 .25rem; font-size: .8125rem; }
  .legend { display: none; }
  .data-health { margin: .25rem 0 .5rem; }
  .data-health summary { min-height: 44px; }
  .section-head { gap: .625rem; margin-bottom: 1rem; }
  .section-head h2 { font-size: 1.625rem; line-height: 1.25; }
  .card-sources a, .project-links a { padding-block: .5rem; font-size: .875rem; }
  .project-details > summary { padding-block: .625rem; min-height: 44px; }
  .collision-note { font-size: .75rem; }
}

.supplemental-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem; margin-block: .75rem; }
.supplemental-grid > div { min-width: 0; }
.supplemental-grid dt { color: var(--muted); font-size: .8125rem; }
.supplemental-grid dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
.supplemental-grid small { display: block; color: var(--muted); }
@media (max-width: 900px) {
  .extra-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extra-filter-grid > label, .extra-filter-grid > .sort-filter { grid-column: auto; }
  .extra-filter-grid > .research-filter { grid-column: 1 / -1; }
  .sheet-meta { grid-template-columns: 1fr auto; }
  .sheet-meta .legend { grid-column: 1 / -1; grid-row: 2; justify-content: start; }
}
@media (max-width: 760px) {
  .panel { padding-bottom: 2rem; scroll-margin-top: 1rem; }
  .panel-method { padding-top: 1.5rem; }
  .sheet-meta { align-items: center; }
  .sheet-meta .ghost-button { min-height: 48px; font-size: .875rem; }
  .toolbar-alpha { row-gap: .875rem; }
  .extra-filter-grid { gap: .875rem .5rem; padding: .25rem .75rem .75rem; }
  .filter-actions .ghost-button { width: 100%; min-height: 48px; }
}
@media (max-width: 380px) {
  .field-label { font-size: .8125rem; }
  .extra-filter-grid { grid-template-columns: minmax(0, 1fr); }
}
