/* JR 14.8.10 — contrast repairs based on storefront screenshots. Loaded last. */
/* Brand: original letters must contrast against the dark brand tile. */
body:not(.is-admin-view) .site-header .brand-mark,
body:not(.is-admin-view) .brand-mark{color:#fff!important;filter:none!important;isolation:isolate}
body:not(.is-admin-view) .site-header .brand-mark>span,
body:not(.is-admin-view) .brand-mark>span{color:#fff!important;opacity:1!important;filter:none!important;text-shadow:none!important}
body:not(.is-admin-view) .site-header .brand-mark>i,
body:not(.is-admin-view) .brand-mark>i{color:#ff3b60!important;opacity:1!important;filter:none!important}
/* Moving benefit strip: white panel + ink text at all points, incl. middle dividers. */
body:not(.is-admin-view) .jr52-marquee,
body:not(.is-admin-view) .jr52-marquee-track{background:#fff!important;color:#232630!important}
body:not(.is-admin-view) .jr52-marquee-track span,
body:not(.is-admin-view) .jr52-marquee-track span *{color:#232630!important;opacity:1!important;text-shadow:none!important}
body:not(.is-admin-view) .jr52-marquee-track span::first-letter{color:#e21b42!important}
/* Header on dedicated dark JR FIT pages: don't render white text on white action pills. */
body.jrfit-brand-active:not(.is-admin-view) .site-header{background:#0e0f13!important;color:#fff!important;border-color:#34363b!important}
body.jrfit-brand-active:not(.is-admin-view) .site-header .top-header{background:transparent!important}
body.jrfit-brand-active:not(.is-admin-view) .site-header .header-actions .icon-text-btn,
body.jrfit-brand-active:not(.is-admin-view) .site-header .header-actions .icon-btn{background:#23252d!important;color:#fff!important;border:1px solid #444651!important;box-shadow:none!important}
body.jrfit-brand-active:not(.is-admin-view) .site-header .header-actions button span,
body.jrfit-brand-active:not(.is-admin-view) .site-header .header-actions svg{color:#fff!important;stroke:#fff!important;opacity:1!important}
body.jrfit-brand-active:not(.is-admin-view) .main-nav{background:#1a1b22!important;border-color:#41434a!important}
body.jrfit-brand-active:not(.is-admin-view) .main-nav a{background:transparent!important;color:#f6f6f7!important;font-size:12px!important;opacity:1!important}
body.jrfit-brand-active:not(.is-admin-view) .main-nav a.active,
body.jrfit-brand-active:not(.is-admin-view) .main-nav .jrfit-navlink{background:#e21b42!important;color:#fff!important;border-color:#e21b42!important}
body.jrfit-brand-active:not(.is-admin-view) .main-nav .jrfit-navlink :is(span,b,strong){color:#fff!important;opacity:1!important}
body.jrfit-brand-active:not(.is-admin-view) .search-box{background:#fff!important;color:#17181e!important}
body.jrfit-brand-active:not(.is-admin-view) .search-box input{color:#17181e!important}
/* JR FIT product page title readability. Several legacy dark themes set dark text. */
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .product-details,
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .jr-fashion-details{background:#fff!important;color:#191b22!important;border:1px solid #e4e7ec!important}
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .product-details h1,
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .jr43-title-row h1,
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .detail-price,
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .detail-brand{color:#191b22!important;opacity:1!important;text-shadow:none!important}
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .product-details :is(p,small,.muted,.detail-parcel){color:#59616e!important}
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .jr43-detail-favorite{color:#fff!important;background:#1f222b!important;border-color:#414653!important}
body.jrfit-brand-active:not(.is-admin-view) .jrfit-product-page .jrfit125-product-content .jr43-detail-favorite span{color:#fff!important}
/* Sales counts: factual and explicitly sourced. */
body:not(.is-admin-view) .jr-card-external{display:inline-flex;margin:6px 0 8px;padding:5px 9px;border-radius:8px;background:#f0f6ff;color:#244576;font-size:11px;font-weight:800;line-height:1.5}
body:not(.is-admin-view) .jr-sold-external{display:grid;gap:3px;margin:9px 0 14px;padding:12px 14px;background:#f1f6fc;border:1px solid #dbe6f3;border-radius:13px;color:#23406d}
body:not(.is-admin-view) .jr-sold-external strong{color:#23406d;font-size:13px}
body:not(.is-admin-view) .jr-sold-external small{color:#596a81;font-size:11px}
/* Dedicated authenticated admin panel. */
.jr14810-admin{display:grid;gap:20px;color:#19212e}
.jr14810-admin>header>span{color:#d7193f;font-weight:900;letter-spacing:.13em;font-size:11px}
.jr14810-admin>header h1{margin:10px 0;font-size:30px}
.jr14810-admin>header p{color:#667084;line-height:1.6;max-width:880px}
.jr14810-layout{display:grid;grid-template-columns:minmax(0,390px) minmax(0,1fr);gap:20px;align-items:start}
.jr14810-panel{padding:25px;display:grid;gap:14px;background:#fff;border:1px solid #e5e9ef;border-radius:20px;min-width:0}
.jr14810-panel h2{margin:0;font-size:21px}
.jr14810-panel label{display:grid;gap:7px;font-weight:750;font-size:13px}
.jr14810-panel label input,.jr14810-panel label select{padding:13px;border:1px solid #dce3ed;border-radius:12px;background:#fff;color:#162031;max-width:100%}
.jr14810-panel small{font-size:11px;color:#697386;line-height:1.5}
.jr14810-panel button{max-width:100%;padding:12px 16px}
.jr14810-records{display:grid;gap:10px;max-height:620px;overflow-y:auto}
.jr14810-records article{display:flex;justify-content:space-between;gap:15px;padding:14px;border:1px solid #e8ebf2;border-radius:13px}
.jr14810-records article>div{display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}
.jr14810-records article>button{align-self:center;background:#fff4f6;border:1px solid #f3d3da;color:#ab1533;border-radius:9px;cursor:pointer}
@media(max-width:760px){.jr14810-layout{grid-template-columns:1fr}.jr14810-panel{padding:16px}}
