/* Unslop polish layer for the ops portal (Scorecards and Efficiency pages).
   Values come from ck-tokens.css; borrows Carbon habits: 4px corners, filled fields, dense table header, IBM Plex.
   Method: unslop by Damir Sokolovsky (@heydamir), CC BY 4.0. */
/* IBM Plex, self-hosted (SIL Open Font License, public/fonts/OFL.txt) */
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2')}
body,:root{font-family:var(--ck-font)}
/* Carbon habits: filled fields with a bottom rule; 4px corners everywhere */
select,input:not([type=range]):not([type=checkbox]):not([type=radio]){background-color:var(--ck-field)!important;border:0!important;border-bottom:1px solid var(--ck-ink-3)!important;border-radius:4px 4px 0 0!important}
select:focus-visible,input:focus-visible{outline:2px solid var(--ck-focus)!important;outline-offset:-2px!important}
button{border-radius:4px!important}
.chip,.pill,.tag,.flag,.sc-chips button,.sc-ring,.ex-prior,.ck-theme-seg button,.sc-sw{border-radius:4px!important}
/* Dense gray table header (group header colors on the Executive table stay) */
th,.sc-table thead th,.sc-table thead th:first-child,.leaks th,table.worst th,table.data th,.ex-table thead tr:last-child th{background:var(--ck-head)!important;color:var(--ck-ink)!important;font-size:12px!important;font-weight:500!important}
.ex-table th.ex-blank{background:var(--ck-surface)!important}
/* Type: one scale, nothing under 11px, no half pixels */
h1,header.top h1{font-size:24px;font-weight:500}
.sc h2,h2{font-size:20px;font-weight:500}
.card h2,.sc h3,.efficiency h2{font-size:16px;font-weight:500}
.ex-table th.ex-src{font-size:11px}
.hint,.sub,table.data,.sc-inline select{font-size:13px}
.foot,table.data th{font-size:12px}
.kpi .k-label,.tile .t-label{font-size:12px;font-weight:400;color:var(--ck-ink-2)}
.kpi .k-value.small,.tile .t-value.text{font-size:16px}
.tile .t-value,.kpi .k-value,.sc-tile .v{font-size:24px;font-weight:500;letter-spacing:0;font-variant-numeric:tabular-nums}
.sc-code,.foot{font-family:var(--ck-mono)}
/* Spacing on the 4px grid */
.card{padding:16px}
.tile,.sc-tile,.sc-card,.sc-box{padding:12px 16px}
.card,.sc-card,.tiles,.kpis,.sc-tiles{margin-bottom:16px}
.tiles,.kpis,.sc-tiles{gap:12px}
.chips,.sc-chips,.qbar,.caveats{gap:8px}
.sc-table th,.sc-table td,.ex-table th,.ex-table td{padding:8px 12px}
table.worst th,table.worst td,table.data th,table.data td,.leaks th,.leaks td{padding:8px 12px}
th,td{padding-top:8px;padding-bottom:8px}
.chip,.pill,.sc-chips button{padding:4px 12px}
.sc-toolbar select,.ex-toolbar select{padding:8px 12px}
select{padding:4px 8px}
