:root {
  color-scheme: dark;
  --bg: #10171d;
  --surface: #18222a;
  --line: #2b3a45;
  --text: #e6ebe9;
  --muted: #9baeb7;
  --accent: #b3cfc6;
  --orange: #e8a775;
  --red: #ffb4a7;
  --panel: #141d24;
  --raised: #1d2a33;
  --green: #9fd6b5;
  --band: rgba(179, 207, 198, 0.2);
  --band-line: rgba(179, 207, 198, 0.55);
  --grid: #26343e;
  --mark: #5b4a21;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 15px;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.masthead {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 5vw;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 3px;
  font-size: 19px;
}
.brand-mark {
  color: var(--orange);
  font-size: 26px;
}
.masthead-caption {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--muted);
}
.release-seal {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 5px;
  color: var(--muted);
  font: 600 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
#identity {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
main {
  max-width: 1220px;
  min-height: calc(100vh - 180px);
  margin: auto;
  padding: 42px 30px 70px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 14px 0 32px;
}
.eyebrow {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 600;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.17;
  letter-spacing: -0.7px;
  margin: 12px 0 16px;
}
h2 {
  font-size: 17px;
  font-weight: 550;
  margin: 0;
}
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.35;
  margin: 12px 0;
}
.muted {
  color: var(--muted);
}
.fine,
.optional {
  font-size: 12px;
  color: var(--muted);
}
.primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #16251f;
  font-weight: 600;
  border-radius: 5px;
  padding: 11px 18px;
  white-space: nowrap;
}
.primary:hover {
  background: #c7dfd7;
}
.secondary {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  padding: 9px 16px;
}
.quiet {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 8px 4px;
}
.quiet:hover {
  color: var(--text);
}
.status-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  font-size: 12px;
  color: var(--muted);
}
.status-strip button {
  margin-left: auto;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
}
.tabs {
  display: flex;
  gap: 28px;
  margin: 24px 0 30px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  padding: 14px 0;
  white-space: nowrap;
}
.tabs button.selected {
  color: var(--text);
  border-color: var(--orange);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.panel,
.news-card,
.input-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 25px;
  background: var(--surface);
}
.news-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
}
.news-card p {
  color: var(--muted);
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.news-card a {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.65px;
  color: var(--muted);
}
.tag {
  font-size: 10px;
  letter-spacing: 0.5px;
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 3px;
  color: var(--accent);
}
.tag.pending {
  color: var(--orange);
}
.empty {
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  color: var(--muted);
  grid-column: 1/-1;
}
.input-card {
  margin-bottom: 18px;
}
.input-card .body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.input-card .actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.review-history {
  border-left: 2px solid var(--line);
  padding-left: 16px;
  margin: 18px 0;
}
.review-history p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.evaluation-block {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 0;
}
.evaluation-block legend {
  padding: 0 6px;
  color: var(--accent);
  font-size: 13px;
}
.evaluation-block label .fine {
  display: block;
  margin-top: 4px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-row input {
  width: auto;
}
.decision-job {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  overflow-wrap: anywhere;
}
.brief-relation {
  margin: 6px 0 14px;
}
.stale-note {
  margin: 4px 0 0;
  padding-left: 18px;
}
.decision-card {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #496055;
  border-radius: 7px;
  background: #111b22;
  overflow-wrap: anywhere;
}
.decision-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.decision-card h4 {
  margin: 4px 0 12px;
  font: 400 21px/1.35 Georgia, serif;
}
.decision-card h5 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.35px;
}
.decision-section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.decision-section:first-of-type {
  border-top: 0;
}
.decision-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 0;
}
.decision-field {
  min-width: 0;
}
.decision-field dt {
  color: var(--muted);
  font-size: 11px;
}
.decision-field dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.decision-callout {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 600;
}
.decision-list,
.identifier-list {
  margin: 0;
  padding-left: 20px;
}
.decision-list li,
.identifier-list li {
  margin: 7px 0;
}
.identifier-list,
.mono-values dd {
  font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.forecast-empty {
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}
.decision-history {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.decision-history > *:not(summary) {
  margin-top: 14px;
}
.composer {
  margin-bottom: 30px;
  max-width: 850px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #3a4b55;
  background: #111b22;
  border-radius: 4px;
  color: var(--text);
  margin-top: 7px;
  font-size: 14px;
}
textarea {
  resize: vertical;
}
.auth-panel {
  max-width: 440px;
  margin: 7vh auto 10vh;
}
.auth-panel .primary {
  width: 100%;
}
.auth-panel h1 {
  font-size: 44px;
}
.auth-alternative {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 18px 0 0;
}
.auth-alternative .secondary {
  flex: 1 1 auto;
}
.code-actions {
  justify-content: space-between;
}
.code-sent {
  font-size: 14px;
  color: var(--text);
  overflow-wrap: anywhere;
}
.code-error {
  font-size: 13px;
  color: var(--red);
  margin: -8px 0 14px;
}
#code {
  font-size: 22px;
  letter-spacing: 0.35em;
  font-variant-numeric: tabular-nums;
}
.notice {
  position: relative;
  margin: 14px auto -12px;
  max-width: 1160px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  color: var(--text);
  background: var(--surface);
}
.notice.error {
  border-color: var(--red);
  color: var(--red);
}
.source-details {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
}
.source-row,
.member-row,
.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.source-row span:last-child {
  max-width: 60%;
  text-align: right;
}
.invite-form {
  max-width: 650px;
  margin-bottom: 25px;
}
#invite-result {
  overflow-wrap: anywhere;
}
.news-grid + .secondary,
#more-inputs {
  margin-top: 22px;
}
footer {
  max-width: 1220px;
  margin: auto;
  padding: 22px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .masthead {
    padding: 14px 20px;
    gap: 12px;
  }
  .masthead-caption {
    display: none;
  }
  .brand {
    font-size: 16px;
    gap: 10px;
  }
  .release-seal {
    padding-inline: 4px;
    font-size: 8px;
  }
  main {
    padding: 24px 20px 45px;
  }
  .page-heading {
    display: block;
    margin-top: 0;
  }
  .page-heading .primary {
    margin: 10px 0;
  }
  .news-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 0;
  }
  .tabs button {
    min-width: 0;
    padding-inline: 4px;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }
  .news-card {
    min-height: 0;
  }
  .panel,
  .input-card {
    padding: 20px;
  }
  .decision-card {
    margin-inline: -8px;
    padding: 18px;
  }
  .decision-heading {
    display: block;
  }
  .decision-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .status-strip {
    gap: 8px 16px;
  }
  #freshness {
    flex-basis: 100%;
    order: 3;
  }
  .source-row span:last-child {
    max-width: 100%;
    text-align: left;
  }
  footer {
    padding-inline: 20px;
    gap: 18px;
  }
  .auth-panel {
    margin-top: 45px;
  }
  .notice {
    margin: 10px 20px 0;
  }
}

.desk-note { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.7; background: var(--panel); padding: 1.2rem; border-radius: 10px; }
#note-provenance { overflow-wrap: anywhere; }
#note-dates { flex-wrap: wrap; }

/* ------------------------------------------------------------------------
   Three-commodity workspace (SX24-14/15). Class-only styling: the CSP
   forbids inline styles, so every visual state below is a class.
   ------------------------------------------------------------------------ */
.identity-link {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  max-width: 34vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity-link:hover {
  color: var(--text);
  text-decoration: underline;
}
.view {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}
.view > .section-heading,
.view > .page-head,
.view > .banner,
.view > .subnav {
  margin-bottom: 0;
}
.loading {
  color: var(--muted);
}
.banner {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 5px;
  background: var(--panel);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.withheld-banner {
  border-left-color: var(--accent);
}
.error-banner {
  border-left-color: var(--red);
  color: var(--red);
}
.withheld {
  color: var(--orange);
  font-size: 13px;
}
.snapshot-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 4px 0 0;
}
.tag-current {
  color: var(--green);
  border-color: #3d5e4c;
}
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
}
.subnav a,
.subnav button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--muted);
  background: none;
  text-decoration: none;
}
.subnav a.selected,
.subnav button.selected {
  color: var(--text);
  border-color: var(--orange);
}
.account-nav {
  margin-top: -12px;
}
.page-head {
  margin: 0 0 18px;
}
.page-head h2 {
  font: 400 28px/1.25 Georgia, "Times New Roman", serif;
  margin: 6px 0 8px;
}
.back-link,
.fine-link {
  font-size: 13px;
}
.back-button {
  padding-left: 0;
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.commodity-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.panel-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2,
.panel-title {
  font: 400 26px/1.2 Georgia, "Times New Roman", serif;
  color: var(--text);
  text-decoration: none;
  margin: 0;
}
.panel-title:hover {
  text-decoration: underline;
}
.panel-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
}
.freshness {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.freshness .tag {
  margin-bottom: 2px;
}
.stale-note {
  color: var(--orange);
}
.block {
  padding: 14px 0 4px;
  border-top: 1px solid var(--grid);
  min-width: 0;
}
.panel-head + .block {
  border-top: 0;
}
.block-title {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.block p {
  margin: 0 0 8px;
}
.sub-label {
  margin: 12px 0 6px;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.bench-list {
  display: grid;
  gap: 12px;
}
.bench-row {
  padding: 12px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--panel);
  min-width: 0;
}
.bench-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}
.bench-name {
  font-weight: 600;
  color: var(--text);
}
.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.price {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.change {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.change-up {
  color: var(--green);
}
.change-down {
  color: var(--red);
}
.bench-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}
.chips-label {
  font-size: 11px;
  color: var(--muted);
  margin-right: 2px;
}
.chip {
  display: inline-block;
  max-width: 100%;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--accent);
  background: var(--raised);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.chip:hover {
  border-color: var(--accent);
}
.chip.pending {
  color: var(--orange);
}
.sparkline {
  display: block;
  width: 160px;
  max-width: 100%;
  height: 34px;
  margin-top: 8px;
}
.spark-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}
.cited .statement {
  margin: 0 0 4px;
}
.outlook-list {
  display: grid;
  gap: 10px;
}
.outlook-cell {
  padding: 12px;
  border: 1px solid var(--grid);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  background: var(--panel);
  min-width: 0;
}
.outlook-cell.is-current {
  border-left-color: var(--green);
}
.more-benchmarks > summary {
  cursor: pointer;
  padding: 8px 0;
  color: var(--accent);
}
.group-horizon {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--grid);
}
.group-horizon .sub-label {
  margin: 0 0 2px;
}
.view-error details,
.brief-not-built details {
  margin-top: 10px;
}
.cell-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px 12px;
  margin: 0 0 6px;
}
.cell-head h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.forecast-summary p {
  margin: 0 0 4px;
}
.forecast-median {
  font-size: 18px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.forecast-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.method-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.threshold {
  font-size: 13px;
  color: var(--muted);
}
.forecast-history {
  margin-top: 8px;
}
.forecast-history summary,
.diagnostics summary,
.chart-data summary {
  font-size: 13px;
  color: var(--muted);
}
.history-record {
  margin: 10px 0 0;
  padding: 10px 0 0 12px;
  border-left: 2px solid var(--line);
}
.history-record p {
  margin: 0 0 4px;
}
.plain-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}
.plain-list li {
  margin: 4px 0;
}
.uncertainty {
  margin-bottom: 10px;
}
.watchpoint {
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  margin: 6px 0;
}
.kv {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin: 6px 0;
}
.kv-row {
  display: grid;
  grid-template-columns: minmax(7em, 34%) minmax(0, 1fr);
  gap: 12px;
  font-size: 13px;
}
.kv-row dt {
  color: var(--muted);
}
.kv-row dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.diagnostics {
  margin: 12px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: #0d1418;
}
.diagnostics[open] summary {
  margin-bottom: 8px;
}
.diagnostics .kv-row dd {
  font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.section-content {
  display: grid;
  gap: 18px;
}
.section-content > .block,
.view > .block {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  background: var(--surface);
}
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 14px;
}
.watch-rule summary {
  font-size: 12px;
  color: var(--muted);
}
.card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--grid);
  border-radius: 6px;
  background: var(--panel);
  overflow-wrap: anywhere;
}
.card p {
  margin: 0 0 6px;
}
.geo-tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0;
}
.geo-item {
  padding: 6px 0;
  border-top: 1px solid var(--grid);
}
.conditional-output {
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: var(--raised);
  border-radius: 4px;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.data-table th,
.data-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--grid);
  text-align: left;
  vertical-align: top;
}
.data-table th {
  color: var(--muted);
  font-weight: 500;
}
.chart {
  margin: 0;
  min-width: 0;
}
.chart figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.chart-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
}
.chart-grid {
  stroke: var(--grid);
  stroke-width: 1;
}
.chart-axis {
  stroke: var(--line);
  stroke-width: 1;
}
.chart-tick {
  fill: var(--muted);
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.chart-tick-y {
  text-anchor: end;
}
.chart-tick-x {
  text-anchor: middle;
}
.chart-band {
  fill: var(--band);
  stroke: var(--band-line);
  stroke-width: 0.8;
}
.chart-range {
  stroke: var(--band-line);
  stroke-width: 6;
}
.chart-mid {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}
.chart-dot {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 1;
}
.chart-dot-filled-in {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 1.5;
}
.chart-missing {
  stroke: var(--orange);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.chart-segment {
  stroke: var(--muted);
  stroke-width: 1;
  stroke-dasharray: 6 4;
}
.chart-legend {
  margin: 6px 0 0;
}
.chart-data {
  margin-top: 10px;
}
.source-page {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.page-text {
  margin: 12px 0;
  padding: 16px;
  border-radius: 6px;
  background: var(--panel);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  max-height: 70vh;
  overflow-y: auto;
}
.cited-span {
  background: var(--mark);
  color: var(--text);
  padding: 1px 0;
  outline: 1px solid var(--orange);
}
.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.secondary-link {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px 14px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
}
.brief-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.brief-picker select {
  width: auto;
  margin-top: 0;
}
.ask-form {
  max-width: 850px;
  margin-bottom: 22px;
}
.ask-job:empty {
  display: none;
}
.ask-card {
  max-width: 850px;
  margin-bottom: 26px;
  padding: 22px;
  border: 1px solid #496055;
  border-radius: 7px;
  background: #111b22;
  overflow-wrap: anywhere;
}
.ask-card h3 {
  margin-top: 4px;
}
.ask-status {
  font-size: 15px;
}
.ask-status.pending {
  color: var(--orange);
}
.answer-sentences {
  padding-left: 20px;
}
.answer-sentences li {
  margin: 0 0 12px;
}
.answer-text {
  display: block;
}
.ask-history-heading {
  margin-top: 8px;
}
.history-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.history-question {
  color: var(--text);
}
.quote {
  margin: 8px 0 12px;
  padding: 8px 14px;
  border-left: 3px solid var(--accent);
  background: var(--raised);
}
.view-error p {
  margin: 0;
}
.glance {
  display: none;
}
.glance-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
}
.glance-item strong {
  grid-column: 1;
  grid-row: 1;
  font: 400 18px/1.25 Georgia, "Times New Roman", serif;
}
.glance-item .tag {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  max-width: 132px;
  text-align: center;
}
.glance-price {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
@media (max-width: 1099px) {
  .glance {
    display: grid;
    gap: 6px;
    margin: 0 0 18px;
  }
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .market-grid,
  .card-list,
  .geo-tracks {
    grid-template-columns: minmax(0, 1fr);
  }
  .identity-link {
    max-width: 28vw;
  }
  .commodity-panel,
  .section-content > .block,
  .view > .block,
  .source-page,
  .ask-card {
    padding: 14px;
  }
  .kv-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .page-head h2 {
    font-size: 24px;
  }
  .page-heading .muted {
    display: none;
  }
  .page-heading h1 {
    margin-bottom: 4px;
  }
  .page-text {
    max-height: none;
  }
}
.brief-picker select {
  max-width: 100%;
  min-width: 0;
}
