/* Workforce only: shared legibility, interaction and responsive layout rules. */
.wf-quality-surface { color:var(--corex-text,#192b45); font-size:14px; line-height:1.5; min-width:0; }
.wf-quality-surface :is(.jid-page,.ds-page,.tsx-page,.lc-page,.ccp-page,.emp-page,.tm-page,.pm-page,.fm-page,.ra-page,.wa-page){font-size:14px!important;min-width:0;max-width:100%;}
.wf-quality-surface :is(h1,h2){letter-spacing:-.4px;line-height:1.25;}
.wf-quality-surface h1{font-size:26px!important;font-weight:700!important;}
.wf-quality-surface h2{font-size:21px!important;}
.wf-quality-surface h3{font-size:16px!important;}
.wf-quality-surface :is(button,input,select,textarea){font-family:inherit;font-size:13px!important;line-height:1.4;}
.wf-quality-surface :is(input:not([type=checkbox]):not([type=radio]),select){min-height:40px;}
.wf-quality-surface :is(button,summary,a,input,select,textarea):focus-visible,.wf-page :is(button,a,[tabindex]):focus-visible{outline:3px solid var(--corex-primary,#c59b20)!important;outline-offset:3px;}
.wf-quality-surface button:disabled{cursor:not-allowed;}
.wf-quality-surface small{font-size:12px!important;line-height:1.5!important;}
.wf-quality-surface table{font-size:13px!important;}
.wf-quality-surface table :is(th,td){font-size:13px!important;padding:11px 13px!important;line-height:1.5!important;vertical-align:middle;}
.wf-quality-surface table th{font-weight:650!important;color:var(--corex-text,#192b45);}
.wf-quality-surface table tbody tr:hover{background:color-mix(in srgb,var(--corex-primary,#c59b20) 6%,var(--corex-surface,#fff));}
.wf-quality-surface :is(.ds-status-badge,.tm-status,.pm-status,.fm-status,.emp-badge,.wa-badge){font-size:12px!important;font-weight:650!important;padding:5px 9px!important;line-height:1.5!important;}
.wf-quality-surface :is(.emp-table-scroll,.pm-table-wrap,.fm-table-wrap,.tsx-table-wrap,.lc-table-wrap){overflow:auto;max-width:100%;scrollbar-gutter:stable;}
.wf-access-state{margin:20px;padding:26px;border:1px solid var(--corex-border,#ddd);border-radius:12px;background:var(--corex-surface,#fff);color:var(--corex-text,#192b45);font-size:14px;line-height:1.6;}
.wf-access-state button,.wf-quality-pagination button{border:1px solid var(--corex-border,#ddd);border-radius:7px;padding:9px 13px;color:inherit;background:var(--corex-surface,#fff);cursor:pointer;}
.wf-quality-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:15px 0;padding:16px;border:1px solid var(--corex-border,#ddd);border-radius:10px;font-size:13px;}
.wf-quality-pagination>div{display:flex;gap:8px;}.wf-quality-pagination button:disabled{opacity:.45;cursor:default;}

/* Overview and workspace navigation retain the user's COREX theme. */
.wf-page .wf-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:14px!important;align-items:stretch;}
.wf-page .wf-tabs .wf-tab{min-height:46px!important;height:auto!important;font-size:13px!important;padding:10px 14px!important;flex:1 0 125px!important;border-radius:8px!important;}
.wf-page .wf-tab-label{white-space:nowrap;}.wf-page .wf-tab-glyph{width:22px!important;height:22px!important;}
.wf-page .wf-overview-head h1{font-size:26px!important;}.wf-page .wf-overview-kpis{gap:14px!important;}
.wf-page .wf-overview-kpi{padding:18px!important;border-radius:10px!important;min-height:108px;}
.wf-page .wf-overview-kpi strong{font-size:29px!important;line-height:1.2!important;}.wf-page .wf-overview-kpi :is(span,small){font-size:12px!important;line-height:1.5!important;}
.wf-page :is(.bl-card,.wf-card){border-radius:10px!important;}.wf-page .bl-card{padding:18px!important;}
.wf-page .bl-heading{font-size:15px!important;padding-bottom:12px!important;}.wf-page .bl-numbers b{font-size:25px!important;}.wf-page .bl-numbers small{font-size:12px!important;}
.wf-page :is(.bl-training-label,.bl-card-foot,.bl-card-foot span,.bl-training-label strong){font-size:12px!important;line-height:1.5!important;}
.wf-page .wf-card-head{padding:16px 18px!important;}.wf-page .wf-card-head h3{font-size:15px!important;}.wf-page .wf-card-head button{font-size:12px!important;padding:8px 11px!important;}
.wf-page .bl-training-table :is(th,td){font-size:13px!important;padding:12px!important;line-height:1.5!important;}.wf-page .bl-training-table th{font-size:12px!important;font-weight:650!important;}
.wf-page .bl-training-table .ex-severity{font-size:12px!important;font-weight:650!important;padding:5px 9px!important;}
.wf-page .wf-due{font-size:12px!important;font-weight:600!important;}.wf-page .wf-due.danger{color:#fff!important;background:#bf3043!important;}.wf-page .wf-due.warning{color:#513b00!important;background:#f2bd40!important;}.wf-page .wf-due.success{color:#fff!important;background:#087e50!important;}
.wf-page .wf-duty-legend>div{font-size:13px!important;line-height:1.5!important;}.wf-page .wf-duty-legend>div small{font-size:11px!important;}.wf-page .wf-dot.neutral{background:var(--wf-muted);}
.wf-page .bl-workflow strong{font-size:14px!important;}.wf-page .bl-workflow small{font-size:12px!important;}.wf-page .bl-open-alert{font-size:12px!important;padding:7px 11px!important;}
.wf-page .bl-bottom{align-items:start;}.wf-page .bl-grid{gap:14px!important;margin-bottom:18px!important;}
.wf-page .ex-table-wrap{overflow:auto;}.wf-page .bl-training-table{min-width:720px;}
.wf-page .bl-duty-note{font-size:12px;padding:0 16px 14px;color:var(--wf-muted);}
.wf-nav-filter{display:flex;align-items:center;gap:9px;padding:12px 14px 0;flex-wrap:wrap;font-size:12px;}
.wf-nav-filter button{padding:7px 13px;border-radius:20px;border:1px solid var(--corex-border,#ddd);background:var(--corex-surface,#fff);color:var(--corex-text,#192b45);font-size:12px;cursor:pointer;}
.wf-nav-filter button[aria-pressed=true]{background:var(--corex-primary,#c59b20);border-color:var(--corex-primary,#c59b20);color:var(--corex-primary-contrast,#18253b);font-weight:650;}
@media(max-width:1200px){.wf-page .wf-overview-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important;}.wf-page .bl-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}.wf-page .bl-bottom{grid-template-columns:1fr 1fr!important;}.wf-page .bl-training{grid-column:1/-1;}}
@media(max-width:700px){.wf-page .wf-overview-kpis,.wf-page .bl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.wf-page .bl-bottom{grid-template-columns:1fr!important;}.wf-page .wf-tabs .wf-tab{flex:1 0 135px!important;}.wf-quality-surface :is(h1,h2){font-size:22px!important;}.wf-quality-pagination{align-items:flex-start;flex-direction:column;}}
@media(prefers-reduced-motion:reduce){.wf-quality-surface *, .wf-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important;}}
/* Keep the final tab from stretching across a whole second row. */
.wf-page .wf-tabs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));}
.wf-page .wf-tabs .wf-tab{min-width:0!important;max-width:none!important;width:100%;}
.wf-page .wf-tab-label{overflow:visible!important;text-overflow:clip!important;white-space:normal!important;line-height:1.3!important;}
@media(max-width:1400px){.wf-page .wf-overview-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important;}.wf-page .bl-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:700px){.wf-page .wf-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}.wf-page .wf-overview-kpis,.wf-page .bl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:700px){
 .wf-page .wf-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%;box-sizing:border-box;scrollbar-width:thin;}
 .wf-page .wf-tabs .wf-tab{flex:0 0 138px!important;min-width:138px!important;width:138px;}
}
