:root {
  --ink: #192f39;
  --muted: #657780;
  --teal: #167b6c;
  --line: #e0e7e5;
  --canvas: #f5f7f6;
  --nav: #132e37;
  --white: #fff;
  --amber: #9b6b20;
  --rose: #a44a53;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ce9d3a;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  left: 250px;
  top: -100px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  width: 218px;
  background: var(--nav);
  color: #c4d4d7;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 29px 18px;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.7px;
  color: #fff;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand:hover {
  text-decoration: none;
}
.brand span span {
  color: #8bd0bc;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #8ca5af;
  margin: 41px 14px 13px;
}
.nav-link {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #b6c8ce;
  padding: 12px 14px;
  border-radius: 7px;
  margin: 5px 0;
  font-size: 13px;
}
.nav-link:hover,
.nav-link.active {
  background: #274650;
  color: white;
  text-decoration: none;
}
.nav-link.active {
  box-shadow: inset 3px 0 #80c9b6;
}
.nav-icon {
  font-size: 17px;
  min-width: 19px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #34505b;
  padding: 22px 10px 0;
}
.sidebar-bottom strong {
  display: block;
  font-size: 12px;
  color: #d9e7e8;
}
.sidebar-bottom p {
  font-size: 11px;
  color: #94aeb6;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #77c3a6;
  border-radius: 50%;
  margin-right: 8px;
}
.workspace {
  margin-left: 218px;
}
.topbar {
  height: 74px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 16px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb b {
  color: var(--ink);
  font-weight: 500;
}
.top-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 5px;
  background: #edf5f1;
  color: #276d5d;
  font-size: 10px;
  white-space: nowrap;
  font-weight: 650;
  letter-spacing: 0.3px;
}
.pill.amber {
  background: #faf1df;
  color: #895d1b;
}
.pill.gray {
  background: #edf0f2;
  color: #60717a;
}
main {
  max-width: 1600px;
  padding: 34px 38px 50px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--teal);
  text-transform: uppercase;
}
h1 {
  font-size: 31px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -1.1px;
  margin: 8px 0 9px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
p {
  margin: 7px 0 0;
}
.subtitle {
  color: var(--muted);
  font-size: 13px;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.button {
  border: 1px solid #ccd8d4;
  background: white;
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  background: #eef5f1;
  text-decoration: none;
}
.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.button.small {
  padding: 6px 10px;
  font-size: 11px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 23px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.stat-value {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-foot {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.stat-icon {
  background: #eef5f1;
  color: var(--teal);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.up {
  color: var(--teal);
}
.down {
  color: var(--rose);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px 0;
  gap: 12px;
}
.panel-sub {
  font-size: 11px;
  color: var(--muted);
  padding: 4px 22px 0;
}
.panel-body {
  padding: 20px 22px;
}
.sector-chart {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  height: 153px;
  padding: 12px 2px 0;
  border-bottom: 1px solid var(--line);
}
.sector-col {
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
  gap: 7px;
}
.sector-col b {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}
.sector-bar {
  background: #a2c5b9;
  width: 100%;
  max-width: 37px;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}
.sector-col:nth-child(3n + 1) .sector-bar {
  background: #267e6e;
}
.sector-labels {
  display: flex;
  gap: 13px;
  padding-top: 8px;
}
.sector-labels span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: var(--muted);
}
.legend {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
}
.legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #267e6e;
  border-radius: 2px;
}
.coverage-line {
  display: grid;
  grid-template-columns: 126px 1fr 42px;
  gap: 13px;
  align-items: center;
  font-size: 11px;
  margin: 0 0 17px;
}
.coverage-line:last-child {
  margin-bottom: 0;
}
.track {
  height: 6px;
  background: #edf2ef;
  border-radius: 5px;
  overflow: hidden;
}
.track i {
  display: block;
  height: 100%;
  background: #469780;
  border-radius: 5px;
}
.coverage-line b {
  text-align: right;
  font-weight: 500;
  color: var(--muted);
}
.notice {
  padding: 13px 16px;
  border: 1px solid #e1d9bc;
  background: #fffcf3;
  border-radius: 7px;
  font-size: 11px;
  color: #77653a;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 23px;
}
.notice strong {
  font-weight: 650;
}
.notice a {
  color: #76632d;
  text-decoration: underline;
}
.notice.blue {
  border-color: #d4e5e3;
  background: #eef7f5;
  color: #345e57;
}
.table-toolbar {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.table-title {
  display: flex;
  gap: 10px;
  align-items: center;
}
.count {
  font-size: 10px;
  background: #f0f4f2;
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--muted);
}
.filters {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.search {
  background: #fbfcfb;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  width: 220px;
  font-size: 12px;
  color: var(--ink);
}
select {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 9px;
  font-size: 11px;
  max-width: 180px;
  color: var(--ink);
}
.tabs {
  display: flex;
  gap: 23px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.tab {
  white-space: nowrap;
  padding: 13px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 12px;
}
.tab.active {
  color: var(--teal);
  border-color: var(--teal);
  font-weight: 650;
}
.table-scroll {
  position: relative;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 550;
  white-space: nowrap;
  background: #fafcfb;
  padding: 12px 15px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}
th:first-child {
  text-align: left;
}
th button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}
td {
  border-bottom: 1px solid #edf1ef;
  padding: 14px 15px;
  text-align: right;
  white-space: nowrap;
}
td:first-child {
  text-align: left;
}
tbody tr:hover {
  background: #fafcfb;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.company-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 200px;
}
.ticker-icon {
  height: 34px;
  width: 34px;
  background: #edf3f1;
  color: #406859;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 650;
}
.company-cell a {
  display: block;
  color: var(--ink);
  font-weight: 650;
  font-size: 12px;
}
.company-cell small {
  display: block;
  color: var(--muted);
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  margin-top: 2px;
}
.sector-cell {
  font-size: 10px;
  color: var(--muted);
  text-align: left;
}
.metric-missing {
  color: #8c969c;
}
.metric-missing abbr {
  text-decoration: none;
  cursor: help;
}
.star {
  background: none;
  border: 0;
  font-size: 21px;
  color: #8a9b99;
  padding: 0 4px;
}
.star.saved {
  color: #b17a25;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 14px 22px;
  color: var(--muted);
  font-size: 10px;
}
.pager {
  display: flex;
  align-items: center;
  gap: 9px;
}
.score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.score-track {
  width: 35px;
  height: 4px;
  border-radius: 3px;
  background: #e5efea;
}
.score-track i {
  display: block;
  background: #388b72;
  height: 4px;
  border-radius: 3px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  margin-top: 30px;
}
footer nav {
  display: flex;
  gap: 17px;
}
footer a {
  color: var(--muted);
}
.empty {
  padding: 45px 24px;
  text-align: center;
  color: var(--muted);
}
.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.method-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.method-card .method-value {
  font-size: 26px;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin: 12px 0;
}
.method-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 0;
}
.method-card a {
  font-size: 10px;
  margin-top: auto;
  padding-top: 14px;
}
.method-card .eyebrow {
  font-size: 9px;
}
.details-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin: 22px 0;
}
.scenario-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.scenario-form label {
  font-size: 11px;
  color: var(--muted);
}
.scenario-form input {
  display: block;
  margin-top: 5px;
  padding: 8px 10px;
  width: 100%;
  border: 1px solid #d5dfda;
  border-radius: 5px;
  background: white;
  color: var(--ink);
}
.span-2 {
  grid-column: 1/-1;
}
.helper {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.history-chart {
  width: 100%;
  height: 200px;
  display: block;
}
.chart-key {
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
  margin: 12px 0;
}
.chart-key i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 5px;
}
.source-table td {
  text-align: left;
  white-space: normal;
  font-size: 11px;
}
.source-table th {
  text-align: left;
}
.article {
  max-width: 850px;
}
.article h2 {
  margin: 30px 0 10px;
  font-size: 21px;
}
.article h3 {
  margin: 20px 0 8px;
}
.article p,
.article li {
  font-size: 14px;
  line-height: 1.8;
  color: #50636a;
}
.article section {
  scroll-margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article .method-grid {
  margin-top: 20px;
}
.method-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 25px 0;
}
.method-directory a {
  border: 1px solid var(--line);
  background: white;
  padding: 12px;
  border-radius: 5px;
  font-size: 12px;
}
.compare-select {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.compare-select select {
  max-width: 250px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  white-space: normal;
  min-width: 170px;
}
.compare-table td small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  padding: 12px 20px;
  background: var(--nav);
  color: white;
  border-radius: 8px;
  box-shadow: 0 6px 30px #0002;
  z-index: 20;
  font-size: 12px;
}
.sensitivity td,
.sensitivity th {
  text-align: center;
  padding: 9px;
  font-size: 11px;
}
.mobile-brand {
  display: none;
}
.chart-axis {
  font-size: 10px;
  fill: #6d7d82;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.badge-row {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
input[type="checkbox"] {
  accent-color: var(--teal);
}
@media (min-width: 1600px) {
  main {
    padding-top: 45px;
  }
  .sector-chart {
    height: 180px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 185px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand {
    font-size: 17px;
  }
  .workspace {
    margin-left: 185px;
  }
  main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .dashboard-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .coverage-line {
    grid-template-columns: 115px 1fr 33px;
    gap: 8px;
  }
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sector-chart,
  .sector-labels {
    gap: 7px;
  }
  .table-toolbar {
    align-items: flex-start;
  }
  .filters {
    width: 100%;
  }
  .search {
    flex: 1;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 100%;
    height: 60px;
    bottom: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 14px;
    gap: 12px;
  }
  .brand {
    font-size: 16px;
    flex-shrink: 0;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .sidebar nav {
    display: flex;
    margin-left: auto;
  }
  .nav-label,
  .sidebar-bottom,
  .nav-icon {
    display: none;
  }
  .nav-link {
    font-size: 11px;
    padding: 9px 7px;
    margin: 0;
  }
  .sidebar nav .nav-link:nth-last-child(-n + 2) {
    display: none;
  }
  .workspace {
    margin-left: 0;
    padding-top: 60px;
  }
  .topbar {
    height: 47px;
    padding: 0 18px;
  }
  .top-meta > span:first-child {
    display: none;
  }
  main {
    padding: 25px 18px;
  }
  .heading-row {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 27px;
  }
  .subtitle {
    font-size: 12px;
    max-width: 330px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .dashboard-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    gap: 15px;
  }
  .panel-head {
    padding: 18px 16px 0;
  }
  .panel-sub {
    padding-left: 16px;
  }
  .panel-body {
    padding: 18px 16px;
  }
  .sector-chart {
    height: 140px;
  }
  .notice {
    font-size: 10px;
    padding: 12px;
  }
  .table-toolbar {
    padding: 16px;
  }
  .filters {
    gap: 7px;
  }
  .search {
    width: 100%;
    flex-basis: 100%;
  }
  select {
    max-width: 155px;
    flex: 1;
  }
  .tabs {
    padding: 0 16px;
    gap: 20px;
  }
  th,
  td {
    padding: 12px;
  }
  .table-footer {
    padding: 12px 15px;
    align-items: flex-start;
  }
  .table-footer > span {
    max-width: 120px;
  }
  .method-grid {
    gap: 10px;
  }
  .method-card {
    padding: 16px;
  }
  .method-card h3 {
    font-size: 12px;
  }
  .method-card .method-value {
    font-size: 23px;
  }
  .method-directory,
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .top-meta {
    gap: 6px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .article p,
  .article li {
    font-size: 13px;
  }
  footer {
    font-size: 10px;
  }
  .skip {
    left: 12px;
  }
  .compare-select select {
    flex: 1;
    min-width: 150px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background-color 0.15s,
      color 0.15s;
  }
  .panel,
  .stat {
    animation: appear 0.3s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.5;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
/* Dated market observations stay visually separate from scenario estimates. */
.price-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 25px 28px;
  margin-bottom: 24px;
}
.price-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 10px 0;
}
.reference-price {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--ink);
}
.price-date {
  font-size: 13px;
  margin: 10px 0;
}
.price-context {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  align-self: center;
}
.price-context > strong {
  display: block;
  font-size: 25px;
  margin: 12px 0;
}
.price-panel a {
  font-size: 12px;
}
.price-cell small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
@media (max-width: 650px) {
  .price-panel {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 20px;
  }
  .price-context {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
  }
}

.research-notes {
  padding: 16px 20px;
  margin-bottom: 22px;
}
.research-notes summary,
.capital-claims summary {
  cursor: pointer;
  font-weight: 600;
}
.research-notes .helper {
  margin-top: 12px;
}
.capital-claims details {
  margin: 8px 0;
}
.capital-claims details p {
  margin: 8px 0;
}

body[data-page="data"] table {
  width: 100%;
  table-layout: fixed;
}
body[data-page="data"] th,
body[data-page="data"] td {
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-page="data"] th:first-child {
  width: 44%;
}
