/* DocData
 *
 * Implements the DocData brand palette: Deep Federal Teal and Brass Gold on
 * Warm Paper, with Slate and Soft Sage carrying the neutrals. Warm Paper is the
 * default -- the brand is a light system -- and the toggle swaps to an Ink and
 * Dark Teal rendering of the same roles rather than a second, unrelated palette.
 *
 * Every value is defined on bare :root, then redefined under [data-theme] so an
 * explicit toggle wins in either direction.
 */

:root {
  color-scheme: light;

  /* --- core brand --- */
  --brand: #123b3a;
  --brand-deep: #0b2d2c;
  --accent: #d39a2c;
  --accent-hover: #b57c16;

  /* --- surfaces --- */
  --plane: #f6f3ec;
  --surface-1: #fffefb;
  --surface-2: #e8eeea;

  /* --- type --- */
  --text-primary: #172422;
  --text-secondary: #65716d;
  --text-muted: #8a948f;
  --on-brand: #f6f3ec;
  --on-brand-muted: #a8bcb9;

  /* --- lines --- */
  --gridline: #e8eeea;
  --baseline: #d7deda;
  --border: #d7deda;

  /* --- data series --- */
  --series-1: #176c68;
  --series-2: #d39a2c;

  /* --- status --- */
  --good: #28785e;
  --warning: #c77816;
  --serious: #c77816;
  --critical: #b5483f;
  --success-text: #28785e;

  --radius: 12px;
  --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* The brand sets headings in a serif. A webfont would mean a third-party
     request on every visit, which a page whose whole promise is "nothing is
     stored" should not make -- so this is a system serif stack. */
  --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia,
    'Times New Roman', serif;
  --shadow-card: 0 1px 2px rgba(23, 36, 34, 0.04), 0 8px 24px rgba(23, 36, 34, 0.05);
}

/* The same roles rendered on Ink and Dark Teal. Brass and Interactive Teal are
   both stepped up to hold contrast against a dark ground -- the light-surface
   values are not reused unchanged. */
:root[data-theme='dark'] {
  color-scheme: dark;

  --brand: #0b2d2c;
  --brand-deep: #061f1e;
  --accent: #e2b054;
  --accent-hover: #f2c86a;

  --plane: #101a19;
  --surface-1: #172422;
  --surface-2: #1f2f2c;

  --text-primary: #f6f3ec;
  --text-secondary: #b3c1bd;
  --text-muted: #8a948f;
  --on-brand: #f6f3ec;
  --on-brand-muted: #a8bcb9;

  --gridline: #253431;
  --baseline: #33443f;
  --border: #2a3a37;

  --series-1: #4aa8a2;
  --series-2: #e2b054;

  --good: #45a582;
  --warning: #e0973f;
  --serious: #e0973f;
  --critical: #d9736a;
  --success-text: #45a582;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--plane);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Headings carry the brand serif; everything else stays in the UI sans, which
   is what keeps dense figures and labels legible. */
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}

a {
  color: var(--series-1);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--brand);
}

:root[data-theme='dark'] a:hover {
  color: var(--accent);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

main.wrap {
  padding-bottom: 34px;
}

/* ---------- masthead ---------- */

/* The brand bar: Deep Federal Teal, full-bleed, carrying the wordmark, the
   section nav and the one-line provenance claim. */
.masthead {
  background: var(--brand);
  color: var(--on-brand);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.masthead .spacer {
  flex: 1;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: inherit;
  text-decoration: none;
}

.brandmark .glyph {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--on-brand);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
}

.brandmark .glyph svg {
  width: 20px;
  height: 20px;
}

.masthead h1 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--on-brand);
}

/* "Doc" in paper, "Data" in brass -- the wordmark lockup. */
.masthead h1 .data {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.site-nav a {
  color: var(--on-brand-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--on-brand);
}

.site-nav a[aria-current='page'] {
  color: var(--on-brand);
  border-bottom-color: var(--accent);
}

/* The provenance claim, stated where a visitor decides whether to trust the
   page rather than buried in the footer. */
.provenance {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--on-brand-muted);
}

.provenance svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.theme-toggle {
  flex: none;
  border: 1px solid rgba(246, 243, 236, 0.28);
  background: transparent;
  color: var(--on-brand-muted);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--on-brand);
  border-color: var(--accent);
}

/* ---------- hero ---------- */

.hero-band {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--plane);
}

.hero-band .wrap {
  position: relative;
  padding-top: 44px;
  padding-bottom: 34px;
  max-width: 1180px;
}

.hero-copy {
  /* A px measure, not `ch`: `ch` here resolves against the inherited 15px body
     font, not the 40px serif inside, which made the headline far too narrow. */
  max-width: 620px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.hero-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero-assure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-assure svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--series-1);
}

/* Line-art Capitol behind the hero copy: decoration, so it is hidden from
   assistive tech and dropped entirely once it would crowd the headline. */
.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  max-width: 560px;
  height: 100%;
  color: var(--baseline);
  opacity: 0.75;
  pointer-events: none;
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .hero-art {
    display: none;
  }
}

/* ---------- search ---------- */

.search-card {
  /* Rides over the hero's bottom edge, so it has to win the paint order
     against the positioned hero wrap above it. */
  position: relative;
  z-index: 1;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-top: -34px;
  margin-bottom: 26px;
}

.search-card h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 4px;
}

.search-card .hint {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 0 18px;
}


label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-1);
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
}

input:hover,
select:hover {
  border-color: var(--series-1);
}

input:focus,
select:focus {
  outline: 2px solid var(--series-1);
  outline-offset: -1px;
}

/* Buttons carry an inline icon in the brand layout, so they are flex rather
   than relying on the text baseline to line the glyph up. */
.btn,
.btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn svg,
.btn-quiet svg {
  flex: none;
  width: 16px;
  height: 16px;
}

.btn {
  padding: 10px 22px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover:not(:disabled) {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.btn-quiet {
  background: transparent;
  color: var(--series-1);
  border: 1px solid var(--border);
}

.btn-quiet:hover {
  color: var(--brand);
  border-color: var(--series-1);
  background: var(--surface-2);
}

:root[data-theme='dark'] .btn-quiet:hover {
  color: var(--text-primary);
}

/* ---------- candidate results ---------- */

.results {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.result {
  display: flex;
  gap: 14px;
  align-items: baseline;
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 8px;
  background: var(--surface-1);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}

.result:hover {
  border-color: var(--series-1);
  border-left-color: var(--accent);
  background: var(--surface-2);
}

.result strong {
  font-family: var(--font-display);
  font-size: 16px;
}

.result strong {
  font-weight: 600;
}

.result .meta {
  color: var(--text-secondary);
  font-size: 13px;
}

.result .npi {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- provider header ---------- */

.provider-head {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  margin-bottom: 20px;
}

.provider-head h2 {
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: -0.015em;
}

.provider-head .head-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Initials on Deep Federal Teal. The registry publishes no photograph, so a
   stock silhouette would imply one exists. */
.provider-head .avatar {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.provider-head .head-id {
  min-width: 0;
}

.provider-head .sub {
  color: var(--text-secondary);
  margin-top: 2px;
  font-size: 14px;
}

.provider-head .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.provider-head .facts b {
  color: var(--text-primary);
  font-weight: 500;
}

/* ---------- cards ---------- */

.grid {
  display: grid;
  /* `min(420px, 100%)` rather than a bare 420px: on a narrower viewport a hard
     420px minimum makes every card wider than the screen and pushes the whole
     dashboard sideways. */
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 16px;
  align-items: start;
}

.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 22px 22px;
  min-width: 0;
}

.card.span-2 {
  grid-column: 1 / -1;
}

/* Each source gets a circular mark in its own hue plus a one-word tag, so the
   grid can be scanned by source at a glance before any figure is read. The
   icon column is a fixed track: titles stay aligned whether or not one wraps. */
.card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 13px;
  margin-bottom: 12px;
}

.card-icon {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fffefb;
  background: var(--card-hue, var(--brand));
}

.card-icon svg {
  width: 19px;
  height: 19px;
}

.card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  min-width: 0;
}

.card-head h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

/* Tinted from the card's own hue, so the tag and the mark read as one pair. */
.card-tag {
  flex: none;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--card-hue, var(--brand));
  background: color-mix(in srgb, var(--card-hue, var(--brand)) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-hue, var(--brand)) 32%, transparent);
}

:root[data-theme='dark'] .card-tag {
  color: color-mix(in srgb, var(--card-hue, var(--brand)) 55%, #f6f3ec);
}

.card-head .src {
  grid-column: 2;
  font-size: 11.5px;
  color: var(--text-muted);
}

.card .lede {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.status {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 0;
}

.status.error {
  color: var(--critical);
}

.spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid var(--gridline);
  border-top-color: var(--series-1);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2.4s;
  }
}

/* ---------- stat tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

/* Each tile carries its own border, so a half-filled final row leaves plain
   surface rather than an empty bordered cell. */
.tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 15px;
}

.tile .value {
  font-family: var(--font-display);
}

.tile .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.tile .value {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 3px;
}

.tile .note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.hero {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ---------- charts ---------- */

.chart-block {
  margin-bottom: 20px;
}

.chart-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.chart-title .toggle {
  margin-left: auto;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
}

.chart-title .toggle:hover {
  color: var(--text-primary);
}

/* vertical bars, for a value over time */
.vbars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  padding-top: 4px;
  border-bottom: 1px solid var(--baseline);
}

.vbars .col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  cursor: default;
}

.vbars .bar {
  background: var(--series-1);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  transition: opacity 0.12s;
}

.vbars .col:hover .bar {
  opacity: 0.78;
}

.vaxis {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}

.vaxis span {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* horizontal ranked bars */
.hbars {
  display: grid;
  gap: 9px;
}

.hbar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  cursor: default;
}

.hbar-row .name {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
}

/* A drug name in the chart is a link like it is in the table. It has to
   truncate the same way the plain label does, which a button will not do
   unless it is told to. */
.hbar-row .name .drug-link {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.hbar-row .val {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  text-align: right;
}

.hbar-row .track {
  display: block;
  grid-column: 1 / -1;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
}

.hbar-row .fill {
  /* Must be a block: width and height do not apply to an inline span. */
  display: block;
  height: 100%;
  background: var(--series-1);
  border-radius: 4px;
  min-width: 2px;
}

.hbar-row:hover .fill {
  opacity: 0.78;
}

/* two-segment part-to-whole bar */
.split-bar {
  display: flex;
  gap: 2px;
  height: 10px;
  margin: 10px 0 8px;
}

.split-bar span {
  display: block;
  border-radius: 4px;
  min-width: 3px;
}

.split-bar .s1 {
  background: var(--series-1);
}

.split-bar .s2 {
  background: var(--series-2);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 12px;
  color: var(--text-secondary);
}

.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: 0;
}

.legend .k1 {
  background: var(--series-1);
}

.legend .k2 {
  background: var(--series-2);
}

/* ---------- tables ---------- */

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  text-align: left;
  padding: 7px 10px 7px 0;
  border-bottom: 1px solid var(--gridline);
  white-space: nowrap;
}

th {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  padding-right: 0;
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- misc bits ---------- */

.kv {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  gap: 7px 18px;
  font-size: 13px;
}

.kv dt {
  color: var(--text-secondary);
}

.kv dd {
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
}

.pill.good {
  color: var(--success-text);
  border-color: color-mix(in srgb, var(--good) 40%, transparent);
}

.pill.critical {
  color: var(--critical);
  border-color: color-mix(in srgb, var(--critical) 45%, transparent);
}

.pill.warning {
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--warning) 55%, transparent);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--baseline);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--surface-2);
}

.callout.critical {
  border-left-color: var(--critical);
}

.callout.warning {
  border-left-color: var(--warning);
}

.callout.good {
  border-left-color: var(--good);
}

.muted {
  color: var(--text-muted);
  font-size: 12px;
}

.stack {
  display: grid;
  gap: 14px;
}

.affil {
  border-bottom: 1px solid var(--gridline);
  padding-bottom: 11px;
}

.affil:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.affil .name {
  font-weight: 500;
  font-size: 13px;
}

.affil .addr {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ---------- other databases ---------- */

.db-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 8px;
}

.db {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
}

.db h4 {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 600;
}

.db p {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.db .tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 7px;
}

/* ---------- prescribing-only focus ---------- */

.focus-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--series-1);
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 13px;
  color: var(--text-secondary);
}

.focus-note strong {
  color: var(--text-primary);
}

.focus-note .btn-quiet {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  background: var(--surface-1);
}

/* The card the visit is about. A ring rather than a fill, so the figures
   inside are not tinted by the emphasis. */
.card.is-focus {
  border-color: var(--series-1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--series-1) 18%, transparent), var(--shadow-card);
}

@media (max-width: 640px) {
  .focus-note .btn-quiet {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------- drug peer lookup ---------- */

/* A generic drug name that opens the "who else prescribes this" panel. Styled
   as a link rather than a button: it sits inside a dense table where a real
   button chrome would compete with the figures beside it. */
.drug-link,
.peer-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  color: var(--series-1);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: pointer;
}

.drug-link:hover,
.peer-link:hover {
  color: var(--brand);
  text-decoration-style: solid;
}

:root[data-theme='dark'] .drug-link:hover,
:root[data-theme='dark'] .peer-link:hover {
  color: var(--accent);
}

.peer-panel {
  margin: 4px 0 20px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--series-1);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 16px 18px 18px;
}

.peer-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.peer-head h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.peer-close {
  margin-left: auto;
  background: none;
  border: 0;
  padding: 2px 4px;
  font: inherit;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.peer-close:hover {
  color: var(--text-primary);
}

/* City / state / nationwide. A segmented control, because the three are one
   choice along a single axis -- how wide to look -- not three actions. */
.peer-scope {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.peer-scope button {
  border: 0;
  border-radius: 999px;
  padding: 5px 14px;
  font: inherit;
  font-size: 12.5px;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.peer-scope button:hover {
  color: var(--text-primary);
}

.peer-scope button.on {
  background: var(--brand);
  color: var(--on-brand);
}

/* The two "should I be paying attention" answers, side by side above the
   ranking. They are the point of the panel, so they lead. */
.peer-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.peer-signals:empty {
  display: none;
}

.signal {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px 16px;
}

/* Amber, not red: a drug spreading fast while being detailed hard is a reason
   to look, not a finding of wrongdoing. */
.signal.is-alert {
  border-color: color-mix(in srgb, var(--warning) 55%, transparent);
  background: color-mix(in srgb, var(--warning) 8%, var(--surface-1));
}

.signal-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.signal-lead {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.signal.is-alert .signal-lead {
  color: var(--warning);
}

.signal-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.signal-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-primary);
}

.signal .vbars {
  height: 76px;
  margin-top: 12px;
}

.signal .kv {
  font-size: 12.5px;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
}

/* The row for the clinician whose page this is, so the comparison has an
   anchor rather than being an anonymous ranking. */
.peer-panel tr.is-you {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.peer-panel tr.is-you td {
  font-weight: 600;
}

/* ---------- interest list ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.interest-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 18px 32px;
  align-items: start;
  margin: 30px 0 18px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface-1);
  box-shadow: var(--shadow-card);
}

.interest-band h2 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 6px;
}

.interest-copy p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.interest-fields {
  display: grid;
  /* Address, state, optional city, button. The address gets the most room
     because it is the only field that is actually required. */
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.interest-fine {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.interest-status {
  margin: 8px 0 0;
  font-size: 12.5px;
  min-height: 1em;
  color: var(--text-secondary);
}

.interest-status.is-error {
  color: var(--critical);
}

.interest-status.is-done {
  color: var(--good);
  font-weight: 500;
}

/* ---------- prompt ---------- */

.modal-veil {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: color-mix(in srgb, var(--brand-deep) 62%, transparent);
}

.modal {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 20px;
  box-shadow: 0 24px 60px rgba(11, 45, 44, 0.28);
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 21px;
  margin-bottom: 8px;
  padding-right: 28px;
}

.modal > p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.modal .interest-fields {
  grid-template-columns: 1fr;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  padding: 4px 8px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-primary);
}

/* Declining is a plain, easy target rather than a greyed-out afterthought --
   a prompt that hides its exit is one nobody trusts. */
.modal-decline {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: none;
  border: 0;
  padding: 8px;
  font: inherit;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-decline:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .interest-band {
    padding: 18px 16px;
  }

  .interest-fields {
    grid-template-columns: 1fr;
  }
}

/* ---------- tooltip ---------- */

#tooltip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
  background: var(--surface-1);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 11px;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  max-width: 280px;
}

#tooltip.on {
  opacity: 1;
}

#tooltip .t-name {
  font-weight: 600;
}

#tooltip .t-val {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

footer.note {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

/* ---------- back to search ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

/* ---------- beta banner ---------- */

/* Sits directly under the brand bar, tinted with Amber just enough to read as
   a notice without competing with the hero below it. */
.beta-banner {
  background: color-mix(in srgb, var(--warning) 11%, var(--plane));
  border-top: 1px solid color-mix(in srgb, var(--warning) 32%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--warning) 32%, transparent);
}

.beta-banner .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.beta-banner strong {
  flex: none;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--warning);
  border: 1px solid color-mix(in srgb, var(--warning) 55%, transparent);
  border-radius: 999px;
  padding: 2px 9px;
}

.beta-banner span {
  min-width: 0;
}

/* ---------- search actions ---------- */

.search-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.search-actions .btn-quiet {
  padding: 9px 14px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* Says which field is still missing. Empty (and so invisible) once the form is
   valid, rather than a persistent line of text nobody needs any more. */
.search-req {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 0;
}

::placeholder {
  color: var(--text-muted);
  opacity: 0.65;
}

/* ---------- search form layout ---------- */

/*
 * One flat grid holds all seven fields, so the two layouts differ only in
 * column count and `order`. An earlier attempt nested the narrowing fields in a
 * <details> and flattened it with `display: contents`; Chrome renders the
 * details content in its own box regardless, which broke the row entirely.
 * Nothing is nested now.
 */
#search-form {
  display: grid;
  gap: 12px;
  align-items: end;
}

#f-first-wrap {
  order: 1;
}
#f-last-wrap {
  order: 2;
}
#f-state-wrap {
  order: 3;
}
#f-city-wrap {
  order: 4;
}
#f-zip-wrap {
  order: 5;
}
#f-taxonomy-wrap {
  order: 6;
}
#f-npi-wrap {
  order: 7;
}

.search-actions {
  order: 8;
}

.more-toggle {
  order: 9;
}

/* ---------- include-support option ---------- */

.opt-row {
  order: 10;
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  cursor: pointer;
}

.opt-row input {
  flex: none;
  width: auto;
  margin: 0;
  accent-color: var(--brand);
  /* Overrides the shared field box, which would draw this as a text input. */
  padding: 0;
  border: 0;
  background: none;
  transform: translateY(1px);
}

.opt-row:hover {
  color: var(--text-primary);
}

.opt-row .opt-note {
  color: var(--text-muted);
}

/* ---------- hidden-result notice ---------- */

/* Says what a default search left out and puts it back in one click. A filter
   the reader cannot see is a filter that quietly makes the page wrong. */
.results-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding-bottom: 2px;
}

.results-note button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--series-1);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.results-note button:hover {
  color: var(--brand);
}

:root[data-theme='dark'] .results-note button:hover {
  color: var(--accent);
}

/* The phone-only control for the five narrowing fields. A real button with
   aria-expanded, so the state is announced rather than implied by a caret. */
.more-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  padding: 13px 0 4px;
  margin: 2px 0 0;
  font: inherit;
  font-size: 14px;
  color: var(--series-1);
  cursor: pointer;
}

.more-toggle:hover {
  color: var(--brand);
}

.more-toggle:focus-visible {
  outline: 2px solid var(--series-1);
  outline-offset: 3px;
  border-radius: 4px;
}

.more-toggle .chev {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}

.more-toggle[aria-expanded='true'] .chev {
  transform: rotate(45deg);
}

/* A filter left set behind a shut panel is invisible and silently narrows the
   results, so the count says how many are still applied. */
.more-toggle .filter-count {
  flex: none;
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  background: color-mix(in srgb, var(--series-1) 20%, transparent);
  border-radius: 999px;
  padding: 1px 9px;
}

:root[data-theme='dark'] .more-toggle .filter-count {
  color: var(--text-primary);
}

/* Copy that is worth reading on a laptop but is only padding on a phone. */
@media (max-width: 640px) {
  .wide-only {
    display: none;
  }
}

/* --- the brand layout: all seven fields across five columns --- */
@media (min-width: 761px) {
  #search-form {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  /* Specialty and NPI take the first two columns of the second row; the two
     buttons take the remaining three, level with them. */
  .search-actions {
    grid-column: 3 / -1;
    margin-top: 0;
  }

  /* The "which field is missing" note is a full-width line under the buttons,
     not a third column squeezed between them. */
  .search-req {
    flex-basis: 100%;
  }

  .opt-row {
    grid-column: 1 / -1;
    margin-top: 2px;
  }
}

/* --- the phone layout: name pair, Search, then the rest on request --- */
@media (max-width: 760px) {
  #search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .search-actions,
  .more-toggle,
  .opt-row,
  #f-state-wrap,
  #f-city-wrap,
  #f-zip-wrap,
  #f-taxonomy-wrap,
  #f-npi-wrap {
    grid-column: 1 / -1;
  }

  /* Sits above the toggle that reveals it, so the revealed group reads as one
     block rather than straddling its own control. */
  .opt-row {
    order: 8;
    padding: 2px 0 4px;
  }

  .more-toggle {
    display: flex;
  }

  /* Collapsed is the default: only the name pair, the button and the toggle
     are on screen, which is what keeps Search above the fold. */
  #search-form:not(.filters-open) #f-state-wrap,
  #search-form:not(.filters-open) #f-city-wrap,
  #search-form:not(.filters-open) #f-zip-wrap,
  #search-form:not(.filters-open) #f-taxonomy-wrap,
  #search-form:not(.filters-open) #f-npi-wrap,
  #search-form:not(.filters-open) .opt-row {
    display: none;
  }
}

/* ---------- result count ---------- */

.results-head {
  font-size: 13px;
  color: var(--text-secondary);
  padding-bottom: 2px;
}

/* ---------- provider page toolbar ---------- */

.dash-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  margin-bottom: 14px;
}

.dash-bar .spacer {
  flex: 1;
}

.dash-bar .back-link {
  margin-bottom: 0;
}

.dash-bar .btn-quiet {
  padding: 7px 14px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* ---------- data vintage ---------- */

/* Sits directly under the card title so the years are read before the figures,
   not after. Muted, because it is a qualifier rather than a finding. */
.card .vintage {
  margin: -4px 0 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- source strip ---------- */

/* The provenance line the brand puts directly under the content: where the
   figures come from, and the four pages that qualify them. */
.source-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 4px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.source-strip .lead {
  display: flex;
  align-items: center;
  gap: 9px;
}

.source-strip svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--series-1);
}

.source-strip .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
}

.source-strip a {
  text-decoration: none;
}

.source-strip a:hover {
  text-decoration: underline;
}

/* ---------- tagline bar ---------- */

/* The brand sign-off. Two claims, separated by a rule, in the display serif --
   the one place on the page that is voice rather than data. */
.tagline-bar {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.tagline-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.tagline-bar .mark {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  display: grid;
  place-items: center;
}

.tagline-bar .mark svg {
  width: 20px;
  height: 20px;
}

.tagline-bar .claim {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tagline-bar .claim em {
  font-style: normal;
  color: var(--accent-hover);
}

:root[data-theme='dark'] .tagline-bar .claim em {
  color: var(--accent);
}

.tagline-bar .rule {
  width: 1px;
  align-self: stretch;
  min-height: 30px;
  background: var(--border);
}

.tagline-bar .sub {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-secondary);
}

.tagline-bar .sub svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--series-1);
}

/* ---------- site footer ---------- */

.site-foot {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 26px 0 6px;
}

.site-foot .wrap {
  padding-bottom: 26px;
}

.site-foot p {
  margin: 0 0 10px;
  max-width: 78ch;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
}

.site-foot .vintage {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

/* ---------- tables on a phone ---------- */

/*
 * A seven-column table in a 390px viewport can only be read by dragging it
 * sideways, which hides half the figures behind a gesture nobody makes. Below
 * 640px every table stops being a grid and each row becomes a stack of
 * label/value pairs, using the heading carried in `data-label`. Nothing is
 * dropped -- the same cells are all still there, one per line.
 */
@media (max-width: 640px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  /* The headings now live in each cell, so the header row is redundant --
     hidden rather than removed, so it still reaches a screen reader. */
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  tbody tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--gridline);
  }

  tbody tr:last-child {
    border-bottom: 0;
  }

  td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 18px;
    padding: 3px 0;
    border: 0;
    /* The global nowrap is what forces the sideways scroll; a stacked cell has
       the whole width and should wrap normally. */
    white-space: normal;
  }

  td::before {
    content: attr(data-label);
    flex: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
  }

  /* A cell whose label would just repeat the value it sits beside. */
  td[data-label='']::before {
    display: none;
  }

  td.num {
    text-align: right;
  }

  /* The value side of the pair gets the remaining width and stays right-aligned
     against its label. */
  td > * {
    min-width: 0;
    text-align: right;
  }

  /* Nothing left to scroll horizontally, so the container stops offering it. */
  .table-scroll {
    overflow-x: visible;
  }

  /* Title, note and the Chart/Table toggle share one line on a laptop. At this
     width the note squeezes the title into a two-word column, so it drops to a
     line of its own and the toggle keeps its place beside the title. */
  .chart-title {
    flex-wrap: wrap;
  }

  .chart-title .muted {
    flex-basis: 100%;
    margin-top: 2px;
  }
}

/* ---------- narrow screens ---------- */

@media (max-width: 640px) {
  .wrap {
    padding: 0 14px 48px;
  }

  /* iOS Safari zooms the page in whenever a focused field is under 16px, and
     it never zooms back out -- so the whole form is stuck oversized after the
     first tap. 16px is the fix; there is no other way to opt out of it. */
  input,
  select {
    font-size: 16px;
    padding: 11px 12px;
  }

  .search-card {
    padding: 16px 14px;
  }

  .search-card .hint {
    margin-bottom: 14px;
  }

  .search-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-actions .btn,
  .search-actions .btn-quiet {
    width: 100%;
    padding: 12px 16px;
  }

  .search-req {
    text-align: center;
  }

  /* The brand bar keeps the wordmark and the theme control on one line; the
     nav wraps to a scrollable second line and the provenance claim is dropped,
     because the hero states the same thing two hundred pixels further down. */
  .masthead .wrap {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .masthead h1 {
    font-size: 21px;
  }

  .brandmark .glyph {
    width: 30px;
    height: 30px;
  }

  .provenance {
    display: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 13px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero-band .wrap {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .hero-copy {
    padding-left: 14px;
    max-width: none;
  }

  .hero-copy h2 {
    font-size: 25px;
    line-height: 1.2;
  }

  .hero-assure {
    margin-top: 12px;
    font-size: 12.5px;
  }

  .beta-banner .wrap {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .search-card h2 {
    font-size: 19px;
  }

  .search-card {
    margin-top: -24px;
  }

  .more-toggle {
    padding-top: 14px;
    padding-bottom: 6px;
  }

  .source-strip .links {
    margin-left: 0;
    gap: 8px 18px;
  }

  .tagline-bar .rule {
    display: none;
  }

  .tagline-bar .wrap {
    gap: 12px 16px;
  }

  .result {
    flex-direction: column;
    gap: 4px;
  }

  .result .npi {
    margin-left: 0;
  }

  .dash-bar .spacer {
    display: none;
  }

  .card {
    padding: 16px 15px 18px;
  }

  .card-icon {
    width: 32px;
    height: 32px;
  }

  .card-icon svg {
    width: 16px;
    height: 16px;
  }

  .card-head h3 {
    font-size: 16px;
  }
}

/* ---------- methodology page ---------- */

.prose {
  max-width: 82ch;
}

.prose h2 {
  font-size: 16px;
  margin: 34px 0 10px;
}

.prose p,
.prose li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.prose ul {
  padding-left: 20px;
}

.prose li {
  margin-bottom: 10px;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose .lede-lg {
  font-size: 16px;
  line-height: 1.65;
  margin-top: 26px;
}

.prose .foot-note {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* The data tables in the cards are numeric and must not wrap; this one is
   prose in three columns and must. */
table.method {
  margin: 16px 0 8px;
  table-layout: fixed;
}

table.method th,
table.method td {
  white-space: normal;
  vertical-align: top;
  padding: 10px 14px 10px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

table.method td:first-child {
  color: var(--text-primary);
  font-weight: 500;
  width: 26%;
}

table.method td:last-child {
  width: 24%;
}
