/* Did it move? (/since-office/). Page layout only; every mark comes from
   components.css and charts.css. Text never wears a data color. */

.since { --mv-rank: 32px; --mv-lab: 112px; padding-bottom: var(--s8); }

/* ------------------------------------------------------------ head */

.since-head { padding-top: var(--s6); max-width: 760px; }
.since-head .display { margin-top: var(--s2); }
.since-head .lede { margin-top: var(--s3); max-width: 62ch; }
@media (min-width: 768px) { .since-head { padding-top: var(--s7); } }

/* ------------------------------------------------------------ filters */

.since-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s3);
  align-items: end;
  margin-top: var(--s5);
  padding: var(--s3) 0;
  border-block: 1px solid var(--hairline);
}
.since-filters[hidden] { display: none; }
.since-filters__reset { justify-self: start; }
.since-filters__reset[hidden] { display: none; }
@media (min-width: 768px) {
  .since-filters { display: flex; flex-wrap: wrap; gap: var(--s4); }
  .since-filters .field { width: 200px; }
}
.since-status:empty { display: none; }
.since-status { margin-top: var(--s2); font-size: var(--t-small); line-height: var(--lh-small); color: var(--ink-2); }

/* ------------------------------------------------------------ sections */

.since-sec { margin-top: var(--s6); }
.since-sec + .since-sec { margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--ink); }
.since-sec__h { font-size: var(--t-h1); line-height: var(--lh-h1); font-weight: 520; margin-bottom: var(--s4); }
@media (min-width: 768px) { .since-sec__h { font-size: 32px; line-height: 38px; } }
.since-sec__lede { max-width: 66ch; margin-bottom: var(--s5); color: var(--ink-2); }

.since-block { margin-top: var(--s7); }
.since-block__h { font-family: var(--serif); font-size: var(--t-h2); line-height: var(--lh-h2); font-weight: 560; letter-spacing: -0.004em; }
.since-block__sub { margin-top: var(--s1); margin-bottom: var(--s4); max-width: 70ch; font-size: var(--t-small); line-height: var(--lh-small); color: var(--ink-2); }
.since-card { min-width: 0; }

/* The static tally reads like the drawn one. */
.since-tally__bar { margin-top: var(--s4); }
.since-tally__shown { margin-top: var(--s3); }
.since-tally__bar .tally__seg { padding-left: 8px; }

/* The Entry versus Now scatter is a desktop chart. */
@media (max-width: 719px) { .since-scatter { display: none; } }

/* ------------------------------------------------------------ who is not shown */

.since-excluded {
  margin-top: var(--s3);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--surface);
}
.since-excluded__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--touch);
  padding: 0 var(--s4);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.since-excluded__summary::-webkit-details-marker { display: none; }
.since-excluded__summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--r-card); }
.since-excluded__chev {
  width: 7px; height: 7px; flex: none;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(-45deg);
  transition: transform var(--motion) var(--ease);
}
.since-excluded[open] .since-excluded__chev { transform: rotate(45deg) translate(-2px, -1px); }
.since-excluded__n, .ex-group__n {
  margin-left: 2px;
  padding: 1px 7px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-chip);
  font-size: var(--t-micro);
  line-height: var(--lh-micro);
  font-weight: 650;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.since-excluded__body { padding: 0 var(--s4) var(--s4); border-top: 1px solid var(--hairline); }
.ex-group { margin-top: var(--s4); }
.ex-group__h {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: var(--t-micro); line-height: var(--lh-micro);
  letter-spacing: var(--track-micro); text-transform: uppercase;
  font-weight: 650; color: var(--ink-3);
}
.ex-list { list-style: none; padding: 0; margin: var(--s2) 0 0; }
.ex-list[hidden] { display: none; }
.ex-row {
  display: grid;
  gap: 2px 16px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  font-size: var(--t-small);
  line-height: var(--lh-small);
}
.ex-row[hidden] { display: none; }
.ex-row__name { font-family: var(--serif); font-size: 16px; font-weight: 560; color: var(--ink); }
.ex-row__name a { text-decoration: none; }
.ex-row__name a:hover { text-decoration: underline; }
.ex-row__office { color: var(--ink-3); }
.ex-row__why { color: var(--ink-2); }
@media (min-width: 900px) {
  .ex-row { grid-template-columns: minmax(180px, 1.1fr) minmax(160px, 1fr) 2fr; align-items: baseline; }
}

/* ------------------------------------------------------------ ranked pairs */

.mv-grid { display: grid; gap: var(--s7); }
.mv-col { min-width: 0; }
.mv-col__h { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: var(--t-h2); line-height: var(--lh-h2); font-weight: 560; letter-spacing: -0.004em; }
.mv-col__h .glyph { width: 14px; height: 14px; flex: none; }
.mv-col__sub { margin-top: var(--s1); font-size: var(--t-small); line-height: var(--lh-small); color: var(--ink-2); }
.mv-fair { margin-bottom: var(--s3); }
.mv-list { margin-top: var(--s3); }
.mv-list > .note { margin-bottom: var(--s2); }

.mv-axis[hidden] { display: none; }
.mv { list-style: none; padding: 0; margin: 0; }
.mv[hidden] { display: none; }
.mv__row[hidden], .mv__row.is-beyond { display: none; }
/* With JavaScript off every row shows; the script handles the first ten. */
html:not(.since-live) .mv__row.is-beyond { display: list-item; }

.mv-empty { padding: var(--s4) 0; font-size: var(--t-small); line-height: var(--lh-small); }
.mv-more { margin-top: var(--s3); padding-left: var(--mv-rank); }
.mv-more[hidden] { display: none; }
.mv-legend { margin-top: var(--s5); }
