/* Proteome statistics dashboard (/statistics): the page chrome the chart kit does not have, the global filter row, the four-tile row, the
   dimmed-card note and the small switches. Colours: only var(--dcv-*), var(--sd-*), var(--bs-*); no hex. */
.stats-dash.pd-page { padding: .75rem var(--dcv-page-gutter, 1.25rem) 2rem; }   /* statsDashboard.css gives .stats-dash padding: 1rem 0 2rem, which drops the container gutter */
.pd-build { font-size: .75rem; color: var(--sd-muted); }
.pd-filters { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .875rem; padding: .5rem .875rem; margin: 0 0 .875rem;
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: var(--dcv-radius, .5rem); font-size: .8125rem; }
.pd-f { display: flex; align-items: center; gap: .5rem; color: var(--sd-muted); font-weight: 600; margin: 0; white-space: nowrap; }
.pd-f select { width: auto; min-width: 8rem; font-weight: 400; }
.pd-seg { display: inline-flex; border: 1px solid var(--bs-border-color); border-radius: 999px; padding: 2px; background: var(--bs-body-bg); }
.pd-seg button { border: 0; background: transparent; color: var(--bs-body-color); border-radius: 999px; padding: .15rem .7rem; font-size: .8125rem; display: inline-flex; align-items: center; gap: 5px; }
.pd-seg button[aria-checked="true"] { background: var(--sd-surface-muted); font-weight: 650; box-shadow: inset 0 0 0 1px var(--bs-border-color); }
.pd-o { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pd-o.g { background: var(--dcv-origin-germline); }
.pd-o.s { background: var(--dcv-origin-somatic); }
.pd-chip { border: 1px solid var(--bs-border-color); border-radius: 999px; padding: .15rem .65rem; color: var(--sd-muted); white-space: nowrap; }
.pd-spacer { flex: 1; }
.pd-kpis.sd-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* A deck: the cards of one row are one height (Bootstrap's card-deck look), the chart at the top of each. */
.pd-grid { align-items: stretch; }
.pd-grid > .mk-card, .pd-grid > * { height: 100%; }
.pd-dimnote { font-size: .6875rem; color: var(--sd-muted); border: 1px dashed var(--bs-border-color); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.sd-card.sd-dim .pd-dimnote { opacity: 1; }
.pd-top { margin-top: .5rem; }
.pd-kindsw { margin-left: auto; display: inline-flex; border: 1px solid var(--bs-border-color); border-radius: 999px; padding: 1px; }
.pd-kindsw button { border: 0; background: transparent; color: var(--bs-body-color); border-radius: 999px; padding: 0 .6rem; font-size: .6875rem; }
.pd-kindsw button[aria-pressed="true"] { background: var(--sd-surface-muted); font-weight: 650; }
.pd-save { border: 0; background: transparent; padding: 0; color: var(--bs-body-color); font-size: .75rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.pd-foot { font-size: .75rem; color: var(--sd-muted); margin: .75rem 0 0; }
.pd-foot a { color: inherit; }
.sd-card.sd-dim .mk-take { opacity: .55; }
