/* polish.css: audit fixes (contrast, ticker, mobile sections, crumbs, pager). Source: wow/polish.css */
:root{--pop-text:#b0401b}
:root[data-theme=dark]{--pop-text:#ff8a63}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--pop-text:#ff8a63}}
html body .msec,html body .mbody h2,html body .step .mono,html body .toy-n::before,html body .kicker,html body .mrail li:before{color:var(--pop-text)!important}
:root{--grey-aa:#5c5c58}:root[data-theme=dark]{--grey-aa:#b9b8b2}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--grey-aa:#b9b8b2}}
html body .mmeta,html body .mono,html body .dek,html body figcaption,html body .mrail .mono,html body .briefs .mono,html body .lead{color:var(--grey-aa)!important}
html body .byline a{color:var(--accent,#0b5d63)!important;opacity:1!important}
/* ticker: brand restyle */
.ticker{height:auto!important;min-height:44px;line-height:1.2!important;background:var(--bg,#faf9f6);color:var(--h,#111110);border-bottom:1px solid var(--rule,#e4e2dc);font:500 .78rem/1 "JetBrains Mono",ui-monospace,monospace}
.tk-label{height:auto!important;line-height:1.2!important;background:var(--h,#111110);color:var(--bg,#faf9f6)}
.tk-label i{background:#ff6a3d;box-shadow:none}
.tk-track a{color:var(--h,#111110)}.tk-track a:hover,.tk-track a:focus{background:rgba(0,0,0,.05);color:var(--h,#111110)}
.tk-track li{border-right:1px solid var(--rule,#e4e2dc)}
.tk-side{color:#5c5c58}
.tk-v.up,.tk-up{color:#0b6b4f}.tk-v.src,.tk-src{color:#5c5c58}
.tk-pause{min-width:44px;min-height:44px;border:1px solid var(--rule,#cfcdc6);color:var(--h,#111110);background:transparent;border-radius:6px;font-size:1rem}
.tk-pause:focus-visible{outline:2px solid #b0401b;outline-offset:2px}
:root[data-theme=dark] .ticker{height:auto!important;min-height:44px;line-height:1.2!important;background:#0f1211;color:#f3f2ee;border-color:#2a2e2c}
:root[data-theme=dark] .tk-track a,:root[data-theme=dark] .tk-pause{color:#f3f2ee}
:root[data-theme=dark] .tk-label{height:auto!important;line-height:1.2!important;background:#f3f2ee;color:#0f1211}
:root[data-theme=dark] .tk-v.up{color:#5fe0b0}:root[data-theme=dark] .tk-side,:root[data-theme=dark] .tk-v.src{color:#b9b8b2}
@media(prefers-reduced-motion:reduce){.tk-track{animation:none!important}}
/* compact mobile section menu */
@media(max-width:700px){.mt-secs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;justify-content:flex-start!important;gap:18px!important;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:0 4px;mask-image:linear-gradient(90deg,#000 88%,transparent)}
.mt-secs::-webkit-scrollbar{display:none}.mt-secs a{display:inline-flex;align-items:center;min-height:44px;flex:none}}
/* breadcrumbs */
.crumbs{font:500 .82rem/1.4 Inter,system-ui,sans-serif;padding-top:18px}
.crumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;color:#5c5c58}
.crumbs li+li::before{content:"›";margin-right:6px}
.crumbs a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.crumbs [aria-current]{color:var(--h,#111110)}
/* pager + related */
.mpager{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:40px auto;border-top:1px solid var(--rule,#e4e2dc);padding-top:20px}
.mpager a{display:block;text-decoration:none;color:inherit;padding:12px 0;min-height:44px}
.mpager small{display:block;font:600 .72rem Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--pop-text)}
.mpager .nx{text-align:right}
.mrel h2{font:600 .8rem Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--pop-text)}
.mrel ul{padding-left:1.1em}.mrel li{margin:.4em 0}
/* remove opacity-based greys (fail AA); use solid AA grey instead */
html body .mmeta,html body .mrail li span,html body .sig,html body .briefs span,html body .byline,html body .mhero figcaption,html body .dek,html body .mt-top span{opacity:1!important;color:var(--grey-aa)!important}
/* ticker chips + pause glyph */
html body .tk-chip{background:transparent!important;border-color:var(--rule,#d9d6cf)!important;color:#5c5c58!important}
html body .tk-gh{color:#2b4aa8!important}html body .tk-hn{color:#9a4710!important}html body .tk-ai{color:#0b5d63!important}
html body .tk-track a{height:44px!important;color:var(--h,#111110)!important}
html body .tk-track li::after{background:var(--rule,#e4e2dc)!important}
html body .tk-side{flex:none;padding:0 6px!important}
html body .tk-pause{font-size:.7rem!important;line-height:1;padding:0!important;display:inline-flex;align-items:center;justify-content:center}
:root[data-theme=dark] .tk-chip{color:#b9b8b2!important}:root[data-theme=dark] .tk-gh{color:#9fb7ff!important}:root[data-theme=dark] .tk-hn{color:#ffb071!important}:root[data-theme=dark] .tk-ai{color:#7fe0d6!important}:root[data-theme=dark] .tk-track a{color:#f3f2ee!important}
html body .mt-top{opacity:1!important;color:var(--grey-aa)!important}
