/* Version 2 review layer. The protected release stylesheets remain intact. */
.v2-preview-label {
  padding: 5px 16px;
  color: #b7d0d4;
  background: #13252d;
  border-bottom: 1px solid #39515a;
  font: 700 .67rem/1.5 var(--af-mono);
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
:is(#archive,#bill-watch,#tracker-title,#atlas-detail,.table-wrap,#v2-study-evidence) {
  scroll-margin-top: 120px;
}

/* Home: the declaration, then the reporting that earns it. */
body.af-home .hero { min-height: 0; padding-block: 0; }
body.af-home .hero-grid {
  grid-template-columns: minmax(0,1.35fr) minmax(240px,.65fr);
  align-items: center;
  gap: clamp(20px,6vw,84px);
  padding-block: clamp(42px,6vw,92px);
}
body.af-home .hero h1 { font-size: clamp(4rem,9vw,9rem); }
body.af-home .hero .lede { max-width: 35rem; margin-bottom: 0; }
body.af-home .hero-side { display: grid; gap: 12px; justify-items: center; padding: 0; }
body.af-home .hero-field { position: relative; inset: auto; width: min(100%,275px); min-height: 0; margin: 0; }
body.af-home .epigraph { width: min(100%,350px); margin: 0; padding: 12px 0 12px 16px; }
body.af-home .epigraph blockquote { font-size: clamp(1rem,1.8vw,1.45rem); }
body.af-home .advances-strip { padding-block: 40px 55px; background: #0d252d; }
body.af-home .advances-strip-grid { grid-template-columns: 1.3fr 1fr 1fr; }
body.af-home .advance-teaser:first-child { border-top: 3px solid var(--af-cyan); background: #17343d; }
body.af-home .work { padding-block: 65px; }
body.af-home .work-card { min-height: 245px; }

/* Advances: headlines before art. On the sample report, the figure is evidence. */
body.af-advances .mast-grid { min-height: 0; padding-block: clamp(38px,5vw,76px); align-items: end; }
body.af-advances .mast-aside { margin: 0; }
body.af-advances .feature-card { min-height: 0; }
body.af-advances .story-top { margin-top: 20px; }
.v2-benchmark {
  margin: 0; padding: clamp(18px,3vw,33px); align-self: start;
  color: #edf5ee; background: #102b35; border-top: 3px solid #65dbe4;
}
.v2-benchmark .panel-label, .v2-benchmark a { color: #9fe2e4; }
.v2-figure-title { font: 600 clamp(1.3rem,2.2vw,1.85rem)/1.15 Georgia,serif; margin: .5em 0 1em; }
.v2-bar + .v2-bar { margin-top: 14px; }
.v2-bar span { display: block; font-size: .84rem; margin-bottom: .25rem; }
.v2-bar div { position: relative; display: flex; align-items: center; gap: .48rem; }
.v2-bar i { width: var(--share); height: .6rem; background: #90aeb1; }
.v2-bar:last-of-type i { background: #66e6ef; }
.v2-benchmark figcaption { color: #bcd1d4; border-top: 1px solid #375962; margin-top: 18px; padding-top: 12px; font-size: .79rem; }

/* Give each tool a route from entry to a useful record. */
.v2-delegation-lookup, .v2-state-lookup { min-width: 0; }
.v2-delegation-lookup form label, .v2-state-lookup label {
  display: block; margin-bottom: 6px; font-weight: 750;
}
.v2-lookup { display: flex; flex-wrap: wrap; gap: 7px; }
.v2-lookup input {
  flex: 1 1 10rem; min-width: 0; width: 100%; min-height: 44px;
  padding: 9px 12px; border: 1px solid #718b8d; border-radius: 0; background: #fffdf4; color: #10242a;
}
.v2-lookup button {
  flex: 0 0 auto; min-height: 44px; padding: 9px 13px;
  border: 1px solid transparent; cursor: pointer; background: #65dbe4;
  color: #10242a; font-weight: 750;
}
.v2-lookup :is(button,input):focus-visible { outline: 2px solid #20868d; outline-offset: 2px; }

body.af-bearings .hero { grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); gap: 18px 42px; padding: 38px 0 24px; }
body.af-bearings .hero .hero-copy { margin-bottom: 0; }
body.af-bearings .hero-stats { grid-column: 1/-1; display: flex; justify-self: start; border-radius: 0; background: transparent; }
body.af-bearings .hero-stats > div { padding: 6px 14px; }
body.af-bearings .hero-stats strong { display: inline; font: 750 .89rem/1 var(--af-sans); margin-right: 5px; }
body.af-bearings .hero-stats span { display: inline; font-size: .72rem; }
body.af-bearings .v2-lookup button { background: #193a34; color: #fffdf4; }
body.af-bearings .controls { grid-template-columns: 1fr; gap: 8px; }
body.af-bearings .v2-state-opening { border-left: 3px solid #418574; }
.v2-state-opening summary { cursor: pointer; font-weight: 650; }
#v2-state-feedback { margin: .35rem 0 0; font-size: .85rem; }

body.af-v2-delegation .hero-grid {
  grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr);
  gap: 22px 44px; padding-block: 38px;
}
body.af-v2-delegation .hero-aside { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; padding-top: 12px; max-width: none; }
body.af-v2-delegation .hero-aside .big-number { font-size: 1.65rem; line-height: 1.2; margin: 0; }
body.af-v2-delegation .hero-aside p, body.af-v2-delegation .hero-aside .aside-split { margin: 0; padding: 0; border: 0; }
body.af-v2-delegation .hero h1 { font-size: clamp(2.8rem,7.5vw,7.5rem); }
body.af-v2-delegation .hero-lede { font-size: clamp(1.35rem,3vw,2.5rem); }
body.af-v2-delegation .tracker { padding-block: 28px 56px; }
.v2-delegation-lookup > a { display: inline-block; color: #a5eff0; margin-top: 11px; font-size: .86rem; }
.v2-pager-top { margin: 0 0 12px; }
body.af-v2-delegation .v2-bill {
  padding: clamp(24px,4vw,54px); margin-bottom: 34px;
  background: #e9e2d4; border-top: 3px solid #954133;
}
.v2-rating-source { display: block; margin: .38rem 0; font: 750 .84rem/1.4 var(--af-sans); }
.v2-rating-explanation { font: .83rem/1.45 var(--af-sans); color: #42595c; margin: .65rem 0 .45rem; }

@media (max-width: 720px) {
  body.af-home .hero-grid { display: block; padding-block: 30px 34px; }
  body.af-home .hero-copy { position: relative; z-index: 1; }
  body.af-home .hero h1 { font-size: clamp(3rem,13vw,5.5rem); }
  body.af-home .hero-side { display: block; }
  body.af-home .hero-field { position: absolute; width: min(35vw,175px); top: 45px; right: 0; opacity: .83; }
  body.af-home .epigraph { display: none; }
  body.af-home .advances-strip { padding-block: 24px 36px; }
  body.af-home .advances-strip-grid { grid-template-columns: 1fr; }
  body.af-home .work { padding-block: 42px; }
  body.af-home .work-card { min-height: 185px; }
  body.af-advances .mast-grid { gap: 16px; padding-block: 30px 26px; }
  body.af-advances .feature-card .art { order: 0; min-height: 145px; }
  body.af-advances .feature-card .card-copy { padding: 19px; }
  body.af-bearings .hero, body.af-v2-delegation .hero-grid { grid-template-columns: minmax(0,1fr); gap: 13px; padding-block: 23px; }
  body.af-bearings .hero-stats { flex-wrap: wrap; }
  body.af-v2-delegation .hero-aside .aside-split { display: none; }
  body.af-v2-delegation .preview-notice .wrap { line-height: 1.42; }
}
@media (max-width: 360px) {
  body.af-home .hero-field { width: 29vw; }
}
