/* Fashion Watch overrides on top of the vendored tracker stylesheet (common.css).
   Category icons reuse the tracker's glyphs for now; swap the SVGs when we design our own. */
.category-sexual_assault:before{background:url("dc4f7a254e7ff7d0f9e4.8858b253b960.svg")no-repeat;content:""}
.category-sexual_harassment:before{background:url("07d26547752855eba380.b1c9d140968e.svg")no-repeat;content:""}
.category-coercion:before{background:url("66fe1954cc7bf28658f7.94998f2cfdbb.svg")no-repeat;content:""}
.category-trafficking:before{background:url("c17c07a623c4717af86a.ccd0c5852ad8.svg")no-repeat;content:""}
.category-minor:before{background:url("4d604d44cb8d3baefb1b.3d1e08e92971.svg")no-repeat;content:""}
.category-retaliation:before{background:url("7f4e69dace4ce7d3d38b.f52679c6894e.svg")no-repeat;content:""}
.category-cover_up:before{background:url("b341b2065a0de44aff4d.40a650da500b.svg")no-repeat;content:""}
.category-criminal_charge:before{background:url("0b3fa6f236aa2df288b2.ade98adde44f.svg")no-repeat;content:""}
.category-civil_lawsuit:before{background:url("cde77ac373dd53484669.0a32a5b2ed7b.svg")no-repeat;content:""}
.category-industry_tied:before{background:url("7f4e69dace4ce7d3d38b.f52679c6894e.svg")no-repeat;content:""}
.category-labor_abuse:before{background:url("66fe1954cc7bf28658f7.94998f2cfdbb.svg")no-repeat;content:""}
.category-other_abuse:before{background:url("b341b2065a0de44aff4d.40a650da500b.svg")no-repeat;content:""}
.category-other_incident:before{background:url("1c3c73fd68efbcfa3ce9.ebe3a0d937c9.svg")no-repeat;content:""}

/* Placeholders for images and charts until the BigQuery-backed charts are wired up. */
.placeholder-image{display:flex;align-items:center;justify-content:center;aspect-ratio:3/2;width:100%;margin-bottom:.75rem;background:#e9e9e9;border:1px solid #d0d0d0;color:#757575;font-family:var(--font-base);font-size:.875rem;text-align:center;padding:1rem}
.placeholder-chart{display:flex;align-items:center;justify-content:center;min-height:320px;margin:0 .75rem 1rem;background:repeating-linear-gradient(45deg,#f4f4f4,#f4f4f4 10px,#ececec 10px,#ececec 20px);border:2px dashed #bdbdbd;color:#555;font-family:var(--font-base);font-size:.9375rem;text-align:center;padding:1.5rem;line-height:1.5}
.placeholder-chart strong{display:block;font-size:1.125rem;margin-bottom:.25rem;color:#000}
.hp-filter-row{display:flex;align-items:center;margin:12px;flex-wrap:wrap;gap:3px 10px}
.hp-filter-row__label{font-family:var(--font-base);font-size:18px}
.hp-filter-row .btn-bordered{margin-bottom:3px;min-width:50px;background-color:#fff;color:#000;cursor:pointer}
.hp-filter-row .btn-bordered[aria-pressed=true]{background-color:#000;color:#fff}
.hp-filter-row .btn-bordered p{margin:0;font-family:var(--font-base);font-size:14px;font-weight:500}

/* The vendored stylesheet fixes chart captions at 2rem, which clips multi-line captions on narrow screens. */
.chartDescription{height:auto;min-height:2rem}

/* Incident lists filled from /api/incidents (static/incidents.js). */
.incidents-status{list-style:none;padding:1rem .75rem;font-family:var(--font-base);color:#555}
img.card-image{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;margin-bottom:.75rem;background:#e9e9e9}
.placeholder-image{box-sizing:border-box}

/* Incidents Database page (all-incidents.html, static/database.js). */
.fw-filter-fields{display:flex;flex-direction:column;gap:.375rem;padding:.75rem 0}
.fw-filter-input{font-family:var(--font-base);font-size:.875rem;padding:.5rem;border:2px solid #000;border-radius:0;background:#fff;color:#000;max-width:100%}
.fw-sort{display:flex;align-items:center;gap:.5rem;font-family:var(--font-base);font-size:.875rem}
.fw-note{font-family:var(--font-base);font-size:.875rem;color:#555;margin:.5rem 0;grid-column:1/-1}
.fw-articles{grid-column:1/-1;padding:.5rem 0 1rem}
.fw-article-list{list-style:none;margin:.5rem 0 0;padding:0;font-family:var(--font-base);font-size:.875rem;line-height:1.5;max-height:22rem;overflow:auto}
.fw-article-list time,.fw-article-domain{color:#555;font-family:var(--font-mono);font-size:.75rem}
.fw-sql{margin:2rem 0 0;font-family:var(--font-base);font-size:.875rem;text-align:left}
.fw-sql summary{cursor:pointer}
.fw-sql pre{margin-top:.75rem;padding:1rem;background:#f4f4f4;border:1px solid #d0d0d0;overflow:auto;font-family:var(--font-mono);font-size:.75rem;line-height:1.5}
.fw-link-button{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
[hidden]{display:none!important}

/* Homepage charts (static/charts.js). One series each, drawn in the site's black; grays for the map. */
.fw-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 3rem;align-items:start}
.fw-charts>.hp-filter-row,.fw-charts>.fw-note,.fw-chart--wide{grid-column:1/-1}
.fw-charts>.hp-filter-row{margin:0}
@media (max-width:800px){.fw-charts{grid-template-columns:minmax(0,1fr)}}
.fw-chart__title{font-family:var(--font-base);font-size:1.25rem;font-weight:500;margin:0 0 .25rem}
.fw-chart .chartDescription{margin:0 0 1rem;padding:0;max-width:60ch}
.fw-chart__plot svg{display:block;max-width:100%}
.fw-grid{stroke:#e6e6e6;stroke-width:1}
.fw-axis{stroke:#000;stroke-width:1}
.fw-tick{font-family:var(--font-base);font-size:12px;fill:#555}
.fw-bar{fill:#000}
.fw-chart__plot:hover .fw-mark{opacity:.35}
.fw-chart__plot:hover .fw-mark:hover,.fw-mark:focus-visible{opacity:1}
.fw-hbars{display:flex;flex-direction:column;gap:.5rem}
.fw-hbar{display:grid;grid-template-columns:13.5rem minmax(0,1fr);align-items:center;gap:.75rem;text-decoration:none;color:#000;font-family:var(--font-base);font-size:.875rem}
.fw-hbar__track{display:flex;align-items:center;gap:.5rem}
.fw-hbar__fill{display:block;height:20px;min-width:2px;background:#000;border-radius:0 4px 4px 0}
.fw-hbar__value{font-variant-numeric:tabular-nums}
@media (max-width:500px){.fw-hbar{grid-template-columns:minmax(0,1fr)}}
.fw-map{width:100%;height:auto}
.fw-country{stroke:#fff;stroke-width:.5}
.fw-map a:hover .fw-country,.fw-map a:focus-visible .fw-country{stroke:#000;stroke-width:1.5}
.fw-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1rem;margin-top:.5rem;font-family:var(--font-base);font-size:.8125rem;color:#000}
.fw-legend__title{color:#555}
.fw-legend__item{display:inline-flex;align-items:center;gap:.375rem}
.fw-legend__swatch{width:14px;height:14px;display:inline-block}
.fw-tip{position:absolute;z-index:20000;pointer-events:none;background:#000;color:#fff;font-family:var(--font-base);font-size:.8125rem;padding:.375rem .625rem;white-space:nowrap}
.fw-chart__table{margin-top:.75rem;font-family:var(--font-base);font-size:.8125rem}
.fw-chart__table summary{cursor:pointer;color:#555}
.fw-table{border-collapse:collapse;margin-top:.5rem;display:block;max-height:16rem;overflow:auto}
.fw-table th,.fw-table td{text-align:left;padding:.25rem 1.5rem .25rem 0;border-bottom:1px solid #e6e6e6}
.fw-table td:last-child,.fw-table th:last-child{text-align:right;font-variant-numeric:tabular-nums}

/* Analysis page: the network graph (analysis.html, static/network.js). */
.fw-network{max-width:1440px;margin:0 auto;padding:0 32px 3rem}
@media (max-width:800px){.fw-network{padding:0 16px 2rem}}
.fw-network__bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 2rem;margin:1.25rem 0 .75rem}
.fw-network__bar .fw-legend{margin:0}
.fw-network__actions{display:flex;gap:3px}
.fw-network__actions .btn-bordered{background:#fff;color:#000;cursor:pointer}
.fw-network__actions .btn-bordered p{margin:0;font-family:var(--font-base);font-size:14px;font-weight:500}
.fw-network__body{display:grid;grid-template-columns:22rem minmax(0,1fr);border:2px solid #000}
.fw-network__panel{padding:1rem 1.25rem;border-right:2px solid #000;height:640px;overflow:auto;font-family:var(--font-base);font-size:.875rem}
.fw-network__canvas{height:640px;background:#fff}
@media (max-width:800px){.fw-network__body{grid-template-columns:minmax(0,1fr)}.fw-network__panel{border-right:0;border-bottom:2px solid #000;height:auto;max-height:20rem}.fw-network__canvas{height:420px}}
.fw-network__heading{font-family:var(--font-base);font-size:1.25rem;font-weight:500;margin:0 0 .5rem}
.fw-network__meta{margin:0 0 .5rem;color:#333;line-height:1.4}
.fw-network__expand{margin:.5rem 0}
.fw-network__list{list-style:none;margin:.5rem 0 0;padding:0}
.fw-network__list li{padding:.5rem 0;border-bottom:1px solid #e6e6e6;line-height:1.35}
.fw-network__list .fw-link-button{text-align:left}
.fw-network__edge{display:block;color:#555;font-size:.8125rem}
.fw-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:.375rem;flex:none}

/* Self-collected research cases (static/research.js): featured cards, database tab, profile card. */
.fw-tabs{display:flex;gap:3px;max-width:1440px;margin:0 auto 1.5rem;padding:0 32px;font-family:var(--font-base)}
@media (max-width:800px){.fw-tabs{padding:0 16px}}
.fw-tab{padding:.625rem 1.25rem;border:2px solid #000;color:#000;background:#fff;text-decoration:none;font-weight:500;font-size:1rem}
.fw-tab[aria-current="page"]{background:#000;color:#fff}
.fw-research{max-width:1440px;margin:0 auto;padding:0 32px 3rem;font-family:var(--font-base)}
@media (max-width:800px){.fw-research{padding:0 16px 2rem}}
.fw-research__controls{display:flex;flex-wrap:wrap;gap:.75rem;margin:0 0 1rem}
.fw-research__controls .fw-filter-input{flex:0 1 16rem}
.fw-research__controls .text-field--search-bar{flex:1 1 20rem}
.fw-badge{display:inline-block;padding:.125rem .625rem;border:1px solid #000;font-size:.8125rem;line-height:1.5;margin:0 .375rem .25rem 0;background:#fff;color:#000}
.fw-status--1{background:#000;color:#fff}
.fw-status--2,.fw-status--3,.fw-status--4{border-width:2px;font-weight:600}
.fw-verify{border-style:dashed;color:#555}
.fw-case-row{cursor:pointer}
.fw-case-row:hover{background:#f7f7f7}
.fw-case-row__open,.fw-case-card__open{background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;text-decoration:underline}
.fw-case-row__text{margin:.5rem 0;max-width:80ch}
.fw-case-card{cursor:pointer}
.fw-case-card__company{margin:0;font-size:.8125rem;color:#555;text-transform:uppercase;letter-spacing:.04em}
.fw-case-card__text{font-size:.9375rem;line-height:1.4}
.fw-case-card__meta{margin:0;font-size:.8125rem;color:#555}
.fw-profile{width:min(52rem,calc(100vw - 2rem));max-height:calc(100vh - 3rem);padding:0;border:2px solid #000;background:#fff;color:#000;font-family:var(--font-base);overflow:auto}
.fw-profile::backdrop{background:rgba(0,0,0,.55)}
.fw-profile__close{position:sticky;top:0;float:right;margin:.5rem;width:2.5rem;height:2.5rem;border:2px solid #000;background:#fff;font-size:1.5rem;line-height:1;cursor:pointer;z-index:1}
.fw-profile__head{padding:1.5rem 1.75rem 1rem;border-bottom:2px solid #000}
.fw-profile__company{margin:0;font-size:.875rem;color:#555;text-transform:uppercase;letter-spacing:.04em}
.fw-profile__name{margin:.25rem 0 .75rem;font-size:2rem;font-weight:500;line-height:1.1}
.fw-profile__badges{margin:0}
.fw-profile__body{padding:0 1.75rem 1.5rem}
.fw-profile__section{padding-top:1rem}
.fw-profile__section .heading-table{margin:0 0 .5rem}
.fw-profile__fields{margin:0}
.fw-profile__row{display:grid;grid-template-columns:11rem minmax(0,1fr);gap:1rem;padding:.5rem 0;border-bottom:1px solid #e6e6e6;font-size:.9375rem;line-height:1.45}
.fw-profile__row dd{margin:0;overflow-wrap:anywhere}
@media (max-width:600px){.fw-profile__row{grid-template-columns:minmax(0,1fr);gap:.125rem}}
.fw-research__more{margin:2rem 0 0;text-align:center}
/* Headline number tiles (homepage and Metrics page; numbers from static/headline-numbers.json) */
.fw-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:3px;margin:0 0 3rem;font-family:var(--font-base)}
.fw-tile{border:2px solid #000;padding:1rem 1.25rem 1.125rem}
.fw-tile b{display:block;font-size:2.75rem;line-height:1;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.fw-tile span{display:block;margin-top:.5rem;font-size:.9375rem;line-height:1.35}
.fw-tiles--home{margin:0 0 1.5rem}
@media (max-width:860px){.fw-tiles{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
/* "Browse Incidents by Category": less empty space around the buttons */
.homepage-section--gray .categories-block{margin:1.5rem 0 .5rem}
/* World map (static/worldmap.js) */
.fw-map{width:100%;height:auto;display:block}
.fw-map path{stroke:#fff;stroke-width:.5}
.fw-map-legend{display:flex;flex-wrap:wrap;gap:.25rem 1rem;margin-top:.5rem;font-size:.8125rem;font-family:var(--font-base)}
.fw-map-legend span{display:inline-flex;align-items:center;gap:.375rem}
.fw-map-legend i{width:14px;height:14px;display:inline-block}
.fw-tile small{display:block;margin-top:.5rem;color:#555;font-size:.8125rem;line-height:1.35}
/* Plain text pages (About) */
.fw-prose{max-width:1440px;margin:0 auto;padding:0 32px 4rem;font-family:var(--font-base)}
@media (max-width:1152px){.fw-prose{padding:0 24px 3rem}}
@media (max-width:768px){.fw-prose{padding:0 16px 3rem}}
.fw-prose .page-title{padding-left:0;padding-right:0}
.fw-prose h2{font-size:1.5rem;font-weight:500;margin:2.5rem 0 .75rem;max-width:46rem}
.fw-prose p{max-width:46rem;margin:0 0 1rem;line-height:1.55}
.fw-prose__lede{font-size:1.5rem;line-height:1.4 !important;max-width:52rem !important;margin-bottom:1.5rem !important}
.fw-prose a{color:inherit}
/* Phones: the category buttons line up in two equal columns (one on very narrow screens) */
@media (max-width:768px){
	.homepage-section--gray .categories-block{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);justify-content:stretch;padding:3px 0 0 3px}
	.homepage-section--gray .categories-block--item{display:flex;align-items:center;justify-content:flex-start;text-align:left;padding:.75rem;font-size:.875rem;line-height:1.25;white-space:normal}
}
@media (max-width:400px){
	.homepage-section--gray .categories-block{grid-template-columns:minmax(0,1fr)}
}
