/* LiquiLens Counterparty Watch: a few page rules on top of the record edition
   (research-ui/research.css and research-ui/platform.css). Colour comes from tokens only. */

.cw .cw-kicker { color: var(--research-muted); font-size: 14px; line-height: 1.5; }
/* No live drawing behind this hero, so it is only as tall as its content. */
.cw .pf-hero--compact { min-height: 0; }
.cw .pf-readout dl > div { min-width: 0; }

.cw a { color: var(--research-accent); text-decoration: none; }
.cw a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cw .pf-button, .cw .pf-button:hover { text-decoration: none; }
.cw .pf-button:not(.pf-button--solid) { color: var(--research-text); }
.cw .pf-button--solid { color: var(--research-bg); }

.cw-cite { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.6; }
.cw-cite a { display: block; }
.cw-rules, .cw-rights { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }

.cw-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--research-line); }
.cw-list li { padding: 12px 0; border-bottom: 1px solid var(--research-line); font-size: 14px; line-height: 1.65; color: var(--research-muted); }
.cw-planned-note { margin: 0 0 10px; font-size: 13px; color: var(--research-muted); }
html.research-interface .cw .pf-access h3 .pf-tag { margin-left: 10px; vertical-align: middle; }

.cw-facts { margin-bottom: clamp(28px, 4vw, 48px); }
.cw-sample { margin-top: 8px; overflow-x: auto; }
.cw-sample caption { caption-side: top; padding: 0 0 14px; text-align: left; font-size: 12px; line-height: 1.5; color: var(--research-muted); }
.cw .pf-table .cw-num { text-align: right; font-family: var(--research-code); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cw .pf-table thead .cw-num { font-family: var(--research-font); }
.cw .pf-table .cw-num { padding-left: 16px; }
.cw-sample tbody th { width: 40%; }

.cw-price tbody th { width: 22%; }
.cw-amount { white-space: nowrap; color: var(--research-text); }
.cw-steps-title { margin: 0 0 14px; }

.cw-close h2 { max-width: 20ch; }
.cw-close__lede { max-width: 60ch; margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--research-muted); }

@media (max-width: 860px) {
  .cw .pf-hero { padding-top: 200px; }
  .cw-rules, .cw-rights { grid-template-columns: minmax(0, 1fr); }
  .cw-price table, .cw-price tbody, .cw-price tr, .cw-price th, .cw-price td { display: block; width: 100%; }
  .cw-price thead { display: none; }
  .cw-price tbody tr { padding: 12px 0; border-bottom: 1px solid var(--research-line); }
  .cw-price tbody th, .cw-price tbody td { padding: 2px 0; border-bottom: 0; }
  .cw-price tbody th { width: 100%; }
  .cw-amount { white-space: normal; }
}
@media (max-width: 560px) {
  .cw-sample table { font-size: 12.5px; }
  .cw .pf-table.cw-sample thead .cw-num { white-space: normal; }
  .cw-sample tbody th { width: auto; }
  .cw .pf-table .cw-num { padding-left: 10px; }
}
@media print {
  .cw .pf-actions { display: none; }
  .cw .pf-section { padding-block: 24px; }
}
