/* Compact market screener. Neutral surfaces, gold for navigation and emphasis. */
.dp-wrap {
  --dp-line: rgba(255, 255, 255, 0.09);
  --dp-surface: #101419;
  --dp-positive: #82b697;
  max-width: 1360px;
  margin: 0 auto;
  padding: 112px 32px 64px;
}
.dp-wrap [hidden] { display: none !important; }
.dp-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.dp-kicker, .dp-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.dp-kicker { color: var(--primary-gold); margin-bottom: 6px; }
.dp-head h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; letter-spacing: -0.035em; font-weight: 650; }
.dp-sub { color: var(--gray-text); font-size: 13px; }
.dp-label { color: var(--gray-text); }
.dp-update { text-align: right; flex-shrink: 0; }
.dp-update p { font-size: 12px; margin-top: 4px; color: var(--secondary-gold); }
.dp-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--dp-line); border-bottom: 1px solid var(--dp-line); margin-bottom: 28px; padding: 20px 0; }
.dp-summary > div { padding: 0 24px; border-left: 1px solid var(--dp-line); }
.dp-summary > div:first-child { padding-left: 0; border-left: 0; }
.dp-summary strong { display: block; font-size: 23px; line-height: 1.3; font-weight: 550; letter-spacing: -0.025em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.dp-summary small { color: var(--secondary-gold); font-size: 12px; font-weight: 500; margin-left: 8px; letter-spacing: 0; }
.dp-workspace { background: var(--dp-surface); border: 1px solid var(--dp-line); border-radius: 12px; }
.dp-tabs { display: flex; gap: 28px; padding: 0 24px; border-bottom: 1px solid var(--dp-line); }
.dp-tab { background: none; border: 0; color: var(--gray-text); font: inherit; font-size: 13px; font-weight: 600; padding: 18px 0 16px; cursor: pointer; border-bottom: 2px solid transparent; }
.dp-tab[aria-selected="true"] { color: var(--secondary-gold); border-bottom-color: var(--primary-gold); }
.dp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; }
.dp-cap-filters { display: flex; gap: 4px; flex-wrap: wrap; }
.dp-filter { color: var(--gray-text); background: none; border: 1px solid transparent; border-radius: 5px; padding: 7px 12px; font: inherit; font-size: 12px; cursor: pointer; }
.dp-filter[aria-pressed="true"] { background: rgba(179, 161, 125, 0.1); color: var(--secondary-gold); border-color: rgba(179, 161, 125, 0.2); }
.dp-tools { display: flex; gap: 8px; }
.dp-tools input, .dp-tools select { border: 1px solid var(--dp-line); border-radius: 5px; background: var(--dark-bg); color: var(--light-text); padding: 8px 10px; font: inherit; font-size: 12px; height: 36px; color-scheme: dark; }
.dp-tools input { width: 160px; }
.dp-tools input::placeholder { color: var(--gray-text); }
.dp-wrap button:focus-visible, .dp-wrap input:focus-visible, .dp-wrap select:focus-visible, .dp-card:focus-visible { outline: 2px solid var(--primary-gold); outline-offset: 3px; }
.dp-table-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 24px 14px; }
.dp-table-meta h2 { font-size: 12px; font-weight: 600; }
.dp-table-meta > span, .dp-table-footer { color: var(--gray-text); font-size: 11px; }
.dp-card { overflow-x: auto; }
.dp-table { width: 100%; min-width: 1020px; border-collapse: collapse; font-size: 13px; }
.dp-table th { background: #181d23; color: var(--gray-text); padding: 0; border-block: 1px solid var(--dp-line); text-align: left; white-space: nowrap; font-size: 10px; font-weight: 600; letter-spacing: 0.055em; text-transform: uppercase; }
.dp-table th button { display: block; width: 100%; border: 0; background: none; color: inherit; text-align: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 13px 16px; cursor: pointer; }
.dp-table th.dp-nosort { padding: 13px 16px; }
.dp-table th.dp-sorted { color: var(--secondary-gold); }
.dp-sort-arrow { margin-left: 5px; font-size: 9px; }
.dp-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.055); white-space: nowrap; }
.dp-table tr:nth-child(even) { background: rgba(255,255,255,0.015); }
.dp-table tbody tr:hover { background: rgba(179,161,125,0.055); }
.dp-table th:first-child, .dp-table td:first-child { padding-left: 24px; }
.dp-table th:first-child { padding-left: 8px; }
.dp-table td:last-child { padding-right: 24px; }
.dp-ticker { font-weight: 650; letter-spacing: 0.025em; }
.dp-num, .dp-table th.dp-num { text-align: right; font-variant-numeric: tabular-nums; }
.dp-act span { display: inline-block; padding: 3px 8px; border-radius: 4px; background: rgba(179,161,125,0.08); color: var(--secondary-gold); font-weight: 650; }
.dp-up { color: var(--dp-positive); }
.dp-down { color: var(--danger-red); }
.dp-spark { display: block; width: 104px; height: 30px; }
.dp-spark-line { fill: none; stroke: var(--primary-gold); stroke-width: 1.5; }
.dp-spark-fill { fill: rgba(179,161,125,0.06); stroke: none; }
.dp-missing { color: var(--gray-text); }
.dp-table-footer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 24px; }
.dp-note, .dp-error-card, .dp-loading { padding: 56px 24px; text-align: center; color: var(--gray-text); font-size: 13px; border-block: 1px solid var(--dp-line); }
.dp-note strong, .dp-error-card strong { display: block; color: var(--light-text); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.dp-retry { margin-top: 16px; border: 1px solid var(--dp-line); border-radius: 5px; color: var(--secondary-gold); background: transparent; font: inherit; padding: 7px 16px; cursor: pointer; }
.dp-history-note { border: 0; padding-block: 72px; }
.dp-history-note h2 { color: var(--light-text); font-size: 20px; font-weight: 550; margin: 8px 0; }
.dp-history-note p { max-width: 430px; margin: 0 auto; }
.dp-footnote { margin-top: 16px; font-size: 11px; line-height: 1.7; color: var(--gray-text); max-width: 900px; }
.dp-sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .dp-wrap { padding: 104px 24px 48px; }
  .dp-toolbar { flex-wrap: wrap; }
  .dp-summary > div { padding-inline: 16px; }
  .dp-summary strong { font-size: 20px; }
  .dp-summary small { display: block; margin: 4px 0 0; }
}
@media (max-width: 600px) {
  .dp-wrap { padding: 96px 16px 40px; }
  .dp-head { display: block; margin-bottom: 20px; }
  .dp-head h1 { font-size: 24px; }
  .dp-update { display: flex; align-items: baseline; gap: 8px; text-align: left; margin-top: 16px; }
  .dp-update p { margin: 0; }
  .dp-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; padding: 16px 0; margin-bottom: 20px; }
  .dp-summary > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .dp-summary .dp-label { font-size: 9px; }
  .dp-summary strong { font-size: 22px; margin-top: 4px; }
  .dp-summary small { display: inline; margin-left: 4px; font-size: 10px; }
  .dp-tabs { padding-inline: 16px; gap: 24px; }
  .dp-toolbar { padding: 16px; gap: 12px; }
  .dp-filter { padding: 7px 11px; }
  .dp-tools { width: 100%; }
  .dp-search { flex: 1; min-width: 0; }
  .dp-tools input { width: 100%; }
  .dp-tools input, .dp-tools select { font-size: 16px; height: 40px; }
  .dp-table-meta { padding: 0 16px 12px; }
  .dp-table { min-width: 950px; font-size: 12px; }
  .dp-table td { padding: 10px 12px; }
  .dp-table td:first-child, .dp-table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--dp-surface); box-shadow: 1px 0 var(--dp-line); }
  .dp-table th:first-child { background: #181d23; }
  .dp-table td:first-child { padding-left: 16px; }
  .dp-table th:first-child { padding-left: 0; }
  .dp-table-footer { padding: 12px 16px; flex-wrap: wrap; gap: 4px; }
}

.dp-weekly-meta { padding: 20px 24px; }
.dp-weekly-table { min-width: 760px; }
.dp-weekly-table th { padding: 13px 16px; }
.dp-weekly-table th:first-child { padding-left: 24px; }
.dp-weekly-table td strong { font-weight: 500; }
.dp-history-date { display: block; font-size: 11px; color: var(--gray-text); margin-top: 2px; }
@media (max-width: 600px) {
  .dp-weekly-meta { padding: 16px; align-items: start; flex-direction: column; gap: 4px; }
  .dp-weekly-table th:first-child { padding-left: 16px; }
}
