@font-face{font-family:'DM Sans';src:url('splash-options/dm-sans-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:'Space Grotesk';src:url('fonts/spacegrotesk.ttf') format('truetype');font-weight:300 700;font-display:swap}
html{background:#364042}body,body.sidebar-hidden{margin:0;background:#364042;color:#EFEEE5;font-family:'DM Sans',Arial,sans-serif}body main,body.sidebar-hidden main{margin:0;max-width:1600px;width:100%;padding:40px 48px;margin-inline:auto}.content-home{display:inline-block;padding:12px;margin-bottom:24px}.content-home img{display:block;width:180px;height:auto}header{padding:0 0 24px}h1{font:700 clamp(32px,4vw,54px)/1.1 'Space Grotesk',sans-serif;letter-spacing:-1.5px;text-transform:none;color:#EFEEE5}.toolbar{align-items:center}.search{border-radius:24px;background:#EFEEE5;border:1px solid #EFEEE5;box-shadow:none}.search input{font:400 17px 'DM Sans',Arial,sans-serif;color:#364042;background:transparent}.search input::placeholder{color:#596163;opacity:1}.search span{color:#364042}.search:focus-within{outline:3px solid #D18266}.filters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.filters button{font:400 16px 'DM Sans',Arial,sans-serif;color:#EFEEE5;border:1px solid transparent;background:transparent;border-radius:24px;min-height:44px}.filters button.active{background:#EFEEE5;color:#364042}.filters button:hover{color:#D18266}.filters button.active:hover{color:#364042;border-color:#D18266}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.card[data-type]{background:#364042;color:#EFEEE5;border:1px solid #EFEEE54d;box-shadow:none;aspect-ratio:auto;height:auto;min-height:320px;padding:24px}.card[data-type] .category{color:#EFEEE5;font-size:12px}.card[data-type] h2,.card[data-type] .stat-title{color:#EFEEE5;font:700 clamp(24px,2vw,30px)/1.15 'Space Grotesk',sans-serif;text-transform:none;letter-spacing:-.6px}.card[data-type] .meta{color:#EFEEE5;font-size:12px;line-height:1.6}.card[data-type] .big{color:#EFEEE5}.card .arrow{display:none}.card:hover{border-color:#D18266;transform:none}.card:hover h2{color:#D18266}.card:focus-visible,.filters button:focus-visible,.content-home:focus-visible{outline:3px solid #D18266;outline-offset:4px}footer{color:#EFEEE5;border-color:#EFEEE54d;font-size:12px}footer>span:first-child{color:#D18266}@media(max-width:1100px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){body main,body.sidebar-hidden main{padding:24px 20px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.content-home img{width:160px}.card[data-type]{padding:20px;min-height:320px}.search{width:100%}}@media(max-width:480px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card[data-type]{min-height:260px;padding:16px 12px;border-radius:18px;overflow-wrap:anywhere}.card[data-type] h2,.card[data-type] .stat-title{font-size:21px;letter-spacing:-.4px}.card[data-type] .category{font-size:10px}.card[data-type] .meta{font-size:11px}.card[data-type] .big{font-size:44px}.search input{font-size:16px}.filters button{padding:8px 12px}}body main{padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}
/* Light cards against the ink page, with terracotta source/action accents. */
.card[data-type]{background:#EFEEE5;color:#364042;border-color:#EFEEE5}.card[data-type] .category,.card[data-type] h2,.card[data-type] .stat-title,.card[data-type] .big{color:#364042}.card[data-type] .meta{color:#D18266}.card[data-type]::before{background:#D18266}.card:hover h2{color:#364042}.card:hover{border-color:#D18266}

.card[data-type]{border-radius:24px}
/* Equal category controls independent of label length. */
.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,520px);gap:8px}.filters button{width:100%;height:44px;min-width:0;padding:8px 6px;text-align:center;white-space:nowrap}@media(max-width:380px){.filters{gap:4px}.filters button{font-size:14px;padding:8px 4px}}
.search span{font-size:40px;line-height:1;flex-shrink:0}

/* Fixed cards: consistent type sizes; copy must fit without automatic scaling. */
.card[data-type]{height:300px;min-height:300px;max-height:300px;overflow-wrap:normal}
.card[data-type] h2,.card[data-type] .stat-title{font-size:24px;line-height:1.15;margin:18px 0 16px;font-weight:700}
.card[data-type] .category{font-size:11px;line-height:1.4}
.card[data-type] .meta{font-size:11px;line-height:1.5;padding-top:12px;flex-shrink:0}
.card[data-type] .big{font:700 32px/1.1 'Space Grotesk',sans-serif;letter-spacing:-1px;margin:14px 0 0}
@media(max-width:760px){.card[data-type]{height:280px;min-height:280px;max-height:280px;padding:16px 12px}.card[data-type] h2,.card[data-type] .stat-title{font-size:20px}.card[data-type] .category{font-size:10px}.card[data-type] .meta{font-size:10px}.card[data-type]::before{margin-bottom:12px}}

footer{justify-content:center;text-align:center}

.card[data-type] .card-description{font:400 14px/1.5 "DM Sans",Arial,sans-serif;color:#364042;margin:0 0 16px}@media(max-width:760px){.card[data-type] .card-description{font-size:12px;line-height:1.45;margin-bottom:12px}}

/* Statistics shares the Tools card shell; the gray bar marks its section. */
.card.indicator::before{background:#364042}
.indicator-top{display:flex;justify-content:space-between;align-items:center;gap:8px;white-space:nowrap}
.indicator-top .category{display:flex;align-items:center;gap:5px}
.indicator-year{font-size:11px;font-variant-numeric:tabular-nums}
.indicator-source-open{font:inherit;letter-spacing:inherit;color:inherit;text-transform:inherit;border:0;background:none;padding:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.card.indicator h2{white-space:nowrap;font-size:16px;font-weight:400;letter-spacing:-.3px;line-height:1.25;margin:8px 0 16px}
.indicator-total{font:700 40px/1.1 'Space Grotesk',Arial,sans-serif;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;white-space:nowrap;margin:0 0 10px}
.indicator-trend{margin-top:auto}
.indicator-chart{display:block;width:100%;height:auto;overflow:visible;max-height:78px}
.indicator-chart text{font:18px 'DM Sans',Arial,sans-serif;fill:#596163}
.indicator-change{font-size:14px;font-weight:700;margin:8px 0 4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.indicator-change span{font-size:11px;font-weight:700;color:#596163}
.positive{color:#21734b}.negative{color:#b33c32}.unchanged{color:#596163}
.indicator-difference{font-size:11px;white-space:nowrap;margin:0;color:#596163}
.indicator-source{width:min(560px,calc(100% - 40px));max-height:calc(100svh - 48px);overflow:auto;background:#EFEEE5;color:#364042;border:1px solid #ffffff80;border-radius:24px;padding:32px;box-shadow:0 32px 80px #00000045,0 10px 24px #00000025;font:14px/1.6 'DM Sans',Arial,sans-serif}
.indicator-source::backdrop{background:#18202266;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.source-modal-header{display:flex;align-items:start;gap:16px;justify-content:space-between}
.indicator-source h2{font:700 28px/1.15 'Space Grotesk',Arial,sans-serif;letter-spacing:-.6px;margin:6px 0 16px;text-transform:none;color:#364042}
.indicator-source h3{font-size:16px;margin:8px 0}
.source-modal-close{font:28px/1 Arial,sans-serif;min-width:44px;min-height:44px;flex-shrink:0;background:none;border:1px solid #36404240;border-radius:50%;color:#364042;cursor:pointer;padding:0}
.indicator-source a{color:#364042;text-decoration:underline}.indicator-source table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.indicator-source caption{text-align:left;font-weight:700;margin:12px 0}.indicator-source th,.indicator-source td{padding:5px 0;border-bottom:1px solid #36404226;text-align:left}.indicator-source td{text-align:right}
.indicator-source-open:focus-visible,.indicator-source a:focus-visible,.source-modal-close:focus-visible{outline:3px solid #364042;outline-offset:3px}
@media(max-width:760px){.indicator-total{font-size:36px}.indicator-top .category{font-size:10px;letter-spacing:.6px;gap:4px}.indicator-year{font-size:10px}.indicator-source{padding:24px}.indicator-source h2{font-size:26px}}
@media(max-width:380px){.indicator-total{font-size:32px}.indicator-top{gap:4px}.indicator-top .category{font-size:9px;letter-spacing:0;gap:3px}.indicator-year{font-size:9px}}

@media(max-width:760px){.card.indicator h2{font-size:15px;margin-top:6px;margin-bottom:18px}}
@media(max-width:380px){.card.indicator h2{font-size:11px;letter-spacing:-.2px}}

/* The complete Statistics card opens its source modal, like the Tools tile. */
.card.indicator h2{margin-top:0;margin-bottom:18px}
.card.indicator .indicator-credit{margin-top:12px;padding-top:0;color:#D18266;white-space:nowrap;font-size:11px;letter-spacing:0}
.indicator-card-open{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:inherit;background:transparent;cursor:pointer;padding:0}
.indicator-card-open:focus-visible{outline:3px solid #D18266;outline-offset:4px}
@media(max-width:760px){.card.indicator .indicator-credit{font-size:10px;margin-top:12px}}
@media(max-width:380px){.card.indicator .indicator-credit{font-size:7px}}

/* Annual counts and signed year-over-year changes in the source modal. */
.indicator-source table th:not(:first-child){text-align:right}
.indicator-source table td,.indicator-source table th{padding:8px 4px}
.indicator-source table td.positive,.indicator-source table td.negative{font-weight:700}
@media(max-width:480px){.indicator-source table{font-size:11px}.indicator-source table th{font-size:10px}.indicator-source table th:nth-child(2){max-width:90px;overflow-wrap:anywhere}.indicator-source table td{white-space:nowrap}}
@media(max-width:380px){#cbp-employment-title + .indicator-total,#cbp-payroll-title + .indicator-total{font-size:28px}}

/* New indicators keep the existing card shell, with room for precise labels. */
.card.new-indicator h2{white-space:normal}
.card.new-indicator.indicator-long-total .indicator-total{font-size:36px}
.card.new-indicator .indicator-credit{white-space:normal;line-height:1.3;min-height:1.3em}
.indicator-table-scroll{overflow-x:auto;max-width:100%}
.indicator-table-scroll:focus-visible{outline:2px solid #364042;outline-offset:2px}
.indicator-detail-list{margin:20px 0}.indicator-detail-list dt{font-weight:700;margin-top:12px}.indicator-detail-list dd{margin:4px 0 0}
.indicator-method-note{font-size:12px;color:#596163;margin-top:24px}
.expanded-source details{margin-top:16px}.expanded-source summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.card.new-indicator h2{font-size:15px}.card.new-indicator.indicator-long-total .indicator-total{font-size:30px}.card.new-indicator .indicator-credit{font-size:10px}}
@media(max-width:380px){.card.new-indicator h2{font-size:12px}.card.new-indicator.indicator-long-total .indicator-total{font-size:24px}.card.new-indicator .indicator-credit{font-size:9px}.card.new-indicator .indicator-change{font-size:12px}}
@media(max-width:380px){.card.new-indicator .indicator-total{font-size:28px}.card.new-indicator.indicator-long-total .indicator-total{font-size:24px}}

/* Approved agency/program/year treatment for all Statistics cards. */
.card:is(.indicator,.tagged-tool) .indicator-agency-tab,.card:is(.indicator,.tagged-tool) .indicator-year-tab{position:absolute;right:-1px;width:72px;height:34px;display:flex;align-items:center;justify-content:center;color:#fff;font:700 14px/1 'DM Sans',Arial,sans-serif;font-variant-numeric:tabular-nums;z-index:1;pointer-events:none}
.card:is(.indicator,.tagged-tool) .indicator-agency-tab{top:-1px;border-radius:0 24px 0 14px;background:#5B6D92;letter-spacing:.4px}
.card:is(.indicator,.tagged-tool) .indicator-year-tab{bottom:-1px;border-radius:14px 0 24px 0;background:#AD5739}
.card.indicator h2{margin-top:8px}
.card.indicator .indicator-credit{padding-right:60px;white-space:normal}
.card.indicator .indicator-card-open{z-index:2}

/* Initial dialog focus announces the panel without outlining its source title. */
.indicator-source:focus{outline:none}

/* BTOS uses collection periods, with national sector context kept in details. */
.btos-period{font-size:10px;line-height:1.3;color:#596163;margin:0 0 4px}
.btos-indicator .indicator-change span{font-size:10px}
.btos-indicator .indicator-change{white-space:normal}
.btos-source table th:first-child{width:62%;overflow-wrap:anywhere}
.btos-source .btos-sector-code{font-weight:400;font-size:.85em}
.btos-sector-bar{display:block;height:5px;background:#D5E3E6;margin-top:5px;width:100%}
.btos-sector-bar>span{display:block;height:100%;background:#5B6D92}
.btos-source summary{cursor:pointer}

.card.tagged-tool .meta{padding-right:60px}.card.tagged-tool .category{padding-right:60px}

/* Editorial: blue story cards with writer and publication corner tabs. */
.card.editorial-card{position:relative;background:#5B6D92;border-color:#5B6D92;color:#fff;padding-top:24px;padding-bottom:48px}
.card.editorial-card::before{display:block;background:#fff}
.card.editorial-card .category{color:#fff;padding-right:64px;min-height:24px}
.card.editorial-card h2{color:#fff;margin:16px 0 28px;font-size:36px;line-height:1.1}
.card.editorial-card .editorial-description{font:400 14px/1.45 "DM Sans",Arial,sans-serif;margin:0;color:#fff}

.card.editorial-card .editorial-author,.card.editorial-card .editorial-date{position:absolute;right:-1px;height:34px;display:flex;align-items:center;justify-content:center;color:#fff;font:700 14px/1 "DM Sans",Arial,sans-serif;font-variant-numeric:tabular-nums}
.card.editorial-card .editorial-author{top:-1px;width:72px;border-radius:0 24px 0 14px;background:#fff;color:#5B6D92;letter-spacing:.4px}
.card.editorial-card .editorial-date{bottom:-1px;width:96px;border-radius:14px 0 24px 0;background:#fff;color:#5B6D92}
.card.editorial-card:hover{border-color:#EFEEE5}.card.editorial-card:hover h2{color:#fff}
@media(max-width:760px){.card.editorial-card{padding-top:16px;padding-bottom:48px}.card.editorial-card h2{font-size:30px;margin:14px 0 28px}.card.editorial-card .editorial-description{font-size:12px;line-height:1.4}}

/* BPS review: terracotta card, white source/year tabs, readable ink copy. */
.card.bps-card{background:#D18266;border-color:#D18266;color:#364042}
.card.bps-card::before{display:none}
.card.bps-card h2,.card.bps-card .category,.card.bps-card .card-description,.card.bps-card .meta{color:#364042}
.card.bps-card .indicator-agency-tab,.card.bps-card .indicator-year-tab{background:#fff;color:#364042}
.card.bps-card:hover{border-color:#EFEEE5}
.card.bps-card:hover h2{color:#364042}

/* Tools share the requested orange shell and white source/year tags. */
.card.tagged-tool{background:#D18266;border-color:#D18266;color:#364042}
.card.tagged-tool::before{display:none}
.card.tagged-tool h2,.card.tagged-tool .category,.card.tagged-tool .card-description,.card.tagged-tool .meta{color:#364042}
.card.tagged-tool .indicator-agency-tab,.card.tagged-tool .indicator-year-tab{background:#fff;color:#AD5739}
.card.tagged-tool:hover{border-color:#EFEEE5}
.card.tagged-tool:hover h2{color:#364042}

/* Tools typography follows Editorial, with white copy and accent rules. */
.card.tagged-tool{color:#fff}
.card.tagged-tool::before{display:block;background:#fff}
.card.tagged-tool h2{color:#fff;font-size:36px;line-height:1.1;margin:16px 0 28px}
.card.tagged-tool .category,.card.tagged-tool .meta{color:#fff}
.card.tagged-tool .card-description{color:#fff;font:400 14px/1.45 "DM Sans",Arial,sans-serif;margin:0}
.card.tagged-tool:hover h2{color:#fff}
@media(max-width:760px){.card.tagged-tool h2{font-size:30px;margin:14px 0 28px}.card.tagged-tool .card-description{font-size:12px;line-height:1.4}}
/* Section-specific topic controls; labels wrap naturally on narrow screens. */
.filters{display:flex;flex-wrap:wrap;width:100%;max-width:100%;gap:8px}
.filters[hidden]{display:none}
.filters button{width:auto;height:auto;min-height:44px;padding:8px 14px;white-space:normal}

/* Unavailable companions stay visible without navigation. */
.card.tool-locked{cursor:default}.card.tool-locked:hover{transform:none;border-color:#D18266}.tool-lock{display:flex;align-items:center;justify-content:center;flex:1;min-height:64px;color:#fff;margin:0 0 20px}.tool-lock svg{display:block;width:40px;height:40px}

.card.tool-locked .tool-lock{display:flex;align-items:center;justify-content:center;align-self:stretch;width:100%;flex:1;min-height:88px;margin:0 0 16px}.card.tool-locked .tool-lock svg{display:block;width:64px;height:64px;flex:none;color:#fff}

/* Locks overlay each card without participating in its content layout. */
.card.tool-locked{position:relative;isolation:isolate;overflow:hidden}
.card.tool-locked .tool-lock{position:absolute;inset:0;z-index:2;display:grid;place-items:center;width:auto;height:auto;min-height:0;margin:0;padding:0;pointer-events:none;background:rgba(54,64,66,.08)}
.card.tool-locked .tool-lock svg{width:104px;height:104px;color:rgba(255,255,255,.65)}
