/* Standalone controls and adjacent links measured on the weekly pages. */
div.foot-brand > p > a:where(:not(#hx-consent, #hx-consent *)),
div.foot-in > div > ul > li > a:where(:not(#hx-consent, #hx-consent *)),
div.shelf > ul > li > a:where(:not(#hx-consent, #hx-consent *)),
div.top-in > a.btn.top-cta:where(:not(#hx-consent, #hx-consent *)),
div.top-in > nav > ul > li > a:where(:not(#hx-consent, #hx-consent *)),
dl.glance > div > dd > a,
figure.letter > figcaption > a,
li.has > details > summary,
li.has > details > ul > li > a,
p.acts > a.btn.ghost:where(:not(#hx-consent, #hx-consent *)),
p.crumb > a:where(:not(#hx-consent, #hx-consent *)),
p.more > a:where(:not(#hx-consent, #hx-consent *)),
p.tl > a:where(:not(#hx-consent, #hx-consent *)),
ul.legend > li > a { box-sizing: border-box; min-inline-size: 44px !important; min-block-size: 44px !important; max-inline-size: 100%; display: inline-flex; align-items: center; vertical-align: middle; overflow-wrap: anywhere; }
:where(a,button,summary,input,select):focus-visible:where(:not(#hx-consent, #hx-consent *)) { outline: 3px solid #a73347; outline-offset: 2px; }
html body :is(input:not([type=checkbox],[type=radio],[type=hidden]), select, button, summary, .at-chip, .brand, .top-cta):where(:not(#hx-consent, #hx-consent *)) { box-sizing: border-box; min-height: 44px !important; min-width: 44px !important; }
html body .brand:where(:not(#hx-consent, #hx-consent *)) { display: inline-flex; align-items: center; }
@media(max-width:600px) {
 html body .at-jump a:where(:not(#hx-consent, #hx-consent *)), html body nav a[href^="#"]:where(:not(#hx-consent, #hx-consent *)) { min-width: 44px; }
}
/* Paper, ink and rose accents have corresponding dark surfaces and foregrounds. */
@media(prefers-color-scheme:dark) {
 html:root:where(:not(#hx-consent, #hx-consent *)) { --night-paper:#211b20; --night-panel:#30282e; --night-raised:#392d34; --night-ink:#fff4ef; --night-secondary:#e2d2d2; --night-link:#ffc6be; --night-rule:#aa959e; }
 html:root body > :not(#hx-consent) { color-scheme: dark; }
 html:root body:where(:not(#hx-consent, #hx-consent *)) { background:var(--night-paper) !important; color:var(--night-ink) !important; }
 html:root body :where(*):not(svg,svg *,img,video,canvas,iframe,picture):where(:not(#hx-consent, #hx-consent *)) {
  color:var(--night-ink) !important; background-color:transparent !important; border-color:var(--night-rule) !important; text-shadow:none !important;
 }
 html:root body :is(header,footer,aside,article.card,.hx-panel,.hx-table,pre,.win,.aeo,.hx-viz-p,.hx8-vis,.hx10-ex,.hx-card,.trow,.hx9-job,.obf-card,.shelf,.card,.fig,.cta-in,.hero-art,.hx7-cred,.hx7-strip,.hx-wash,.band-rose,.wrap .panel, .sp-card,.step,.well,.tile,details[open]):where(:not(#hx-consent, #hx-consent *)) {
  background-color:var(--night-panel) !important;
 }
 html:root body :is(.hero,.hx-hero,.hx-wash,.band-rose,header,footer,.hero-art,.hx7-cred,.hx7-strip,.hx8-vis,.win,.card,.obf-card,.hx-table,.hx-viz-p,th,.trow,summary,.hx9-row2):where(:not(#hx-consent, #hx-consent *)) { background-image:none !important; }
 html:root body :is(th,.win-bar,.hx9-row2,code,kbd,.chip,.tag):where(:not(#hx-consent, #hx-consent *)) { background-color:var(--night-raised) !important; }
 html:root body :is(small,figcaption,.eyebrow,.hx-byline,.kicker,.caption):where(:not(#hx-consent, #hx-consent *)) { color:var(--night-secondary) !important; }
 html:root body a[href]:where(:not(#hx-consent, #hx-consent *)), html:root body a[href] :is(span,b,strong):where(:not(#hx-consent, #hx-consent *)) { color:var(--night-link) !important; }
 html:root body :is(button,input,select,textarea,.btn,.hx-btn,.button,.at-chip,.hx10-primary,.hx9-cta):where(:not(#hx-consent, #hx-consent *)) { background-color:var(--night-panel) !important; border-color:var(--night-rule) !important; }
 html:root body :is(button,.btn,.hx-btn,.button,.hx10-primary,.hx9-cta):is(:hover,:focus-visible):where(:not(#hx-consent, #hx-consent *)) { background-color:#553b46 !important; }
 html:root body :is(button,a,summary,input,select):focus-visible:where(:not(#hx-consent, #hx-consent *)) { outline:3px solid #ffd699 !important; }
}

@media(prefers-color-scheme:dark){ html:root:where(:not(#hx-consent, #hx-consent *)){--night-paper:#152029;--night-panel:#1f2f3b;--night-raised:#293d49;--night-link:#b2def4;} }

/* Measured controls on tool, install and editorial pages. */
@layer helix-accessibility {
div.stallg > ul > li > a:where(:not(#hx-consent, #hx-consent *)),
dl.m-facts > div > dd > a,
p.note > a:where(:not(#hx-consent, #hx-consent *)) { box-sizing:border-box !important; min-width:44px !important; min-height:44px !important; max-width:100%; vertical-align:middle; }
div.stallg > ul > li > a:where(:not(#hx-consent, #hx-consent *)),
dl.m-facts > div > dd > a,
p.note > a:where(:not(#hx-consent, #hx-consent *)) { display:inline-flex !important; align-items:center; overflow-wrap:anywhere; }
@media(prefers-color-scheme:light) {
#above > div.card.wide,
#call > div.cta-in,
#engine > figure.m-fig,
#guide > div.card.wide,
#routes > div.card.wide,
article.fw.reveal > a.fw-fig,
div.blk.blk-method.reveal > figure.m-fig:where(:not(#hx-consent, #hx-consent *)),
div.builds > article.build:where(:not(#hx-consent, #hx-consent *)),
div.hero-in > div.hero-art:where(:not(#hx-consent, #hx-consent *)),
div.hero-in > dl.glance:where(:not(#hx-consent, #hx-consent *)),
div.kits > article.kit:where(:not(#hx-consent, #hx-consent *)),
div.stalls > div.stallg:where(:not(#hx-consent, #hx-consent *)),
div.store > div.shelf:where(:not(#hx-consent, #hx-consent *)),
div.tiers > article.tier:where(:not(#hx-consent, #hx-consent *)),
div.toolrow > article.tool:where(:not(#hx-consent, #hx-consent *)),
div.top-in > label.navl:where(:not(#hx-consent, #hx-consent *)),
figure.still > img,
ol.plays > li,
ol.plays > li > span.state,
ul.exlist > li > a { border-color:#746873 !important; }
}
@media(prefers-color-scheme:dark) {
figure.still > img { border-color:#baabb1 !important; }
header.beat-head.see svg,
p.kick.see svg:where(:not(#hx-consent, #hx-consent *)) { color:#fff5ef !important; }
}
}

@layer helix-accessibility { @media(prefers-color-scheme:dark){p.kick svg:where(:not(#hx-consent, #hx-consent *)), header.beat-head svg.cm, label.navl svg:where(:not(#hx-consent, #hx-consent *)) { color:#f5d6d2 !important; stroke:#f5d6d2 !important; } } }
