/* FIX230: authoritative period-risk colors; leave original training/resign backgrounds intact. */
html body .attendance-entry-screen table.attendance-desktop-grid tbody tr>td[data-th230-risk="orange"],html body .th185-sheet tbody tr>td[data-th230-risk="orange"]{--th230-risk-color:#b45309}
html body .attendance-entry-screen table.attendance-desktop-grid tbody tr>td[data-th230-risk="red"],html body .th185-sheet tbody tr>td[data-th230-risk="red"]{--th230-risk-color:#dc2626}
html body .attendance-entry-screen table.attendance-desktop-grid tbody tr>td[data-th230-risk="severe"],html body .th185-sheet tbody tr>td[data-th230-risk="severe"]{--th230-risk-color:#7f1d1d}
html body .attendance-entry-screen table.attendance-desktop-grid tbody tr>td[data-th230-risk="normal"],html body .th185-sheet tbody tr>td[data-th230-risk="normal"],html body .attendance-entry-screen table.attendance-desktop-grid tbody tr>td[data-th230-risk="unknown"],html body .th185-sheet tbody tr>td[data-th230-risk="unknown"]{--th230-risk-color:#263449}
html body .attendance-entry-screen table.attendance-desktop-grid tbody tr>td[data-th230-risk][data-th230-risk]:not(.th207-resigned),html body .th185-sheet tbody tr>td[data-th230-risk][data-th230-risk]:not(.th207-resigned),html body .attendance-entry-screen table.attendance-desktop-grid tbody tr>td[data-th230-risk][data-th230-risk]:not(.th207-resigned) strong,html body .th185-sheet tbody tr>td[data-th230-risk][data-th230-risk]:not(.th207-resigned) strong{color:var(--th230-risk-color)!important}
html body .attendance-entry-screen table.attendance-desktop-grid tbody tr>td[data-th230-risk] :is(.th207-late-badge,.th207-sp-note,.th207-sp-review),html body .th185-sheet tbody tr>td[data-th230-risk] :is(.th207-late-badge,.th207-sp-note,.th207-sp-review){display:none!important}
html body td[data-th230-risk][data-th230-label]:not([data-th230-label=""])::after{content:attr(data-th230-label)!important;display:block;font:600 9px/1.2 system-ui;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit;pointer-events:none}
html body td[data-th230-risk][data-th230-label=""]::after{content:none!important}
body.th230-lifecycle-open #th-lc-modal-root .th-lc-backdrop{z-index:2147481000!important}
[data-th230-dispute-status]{color:#b91c1c;font-size:11px;max-width:300px}

@media(min-width:980px){#th185-root .th226-pic-parity .th185-tools,#th185-root .th226-pic-parity.th227-compact-grid .th185-tools{grid-template-columns:minmax(160px,1.3fr) minmax(130px,.65fr) auto auto auto;}}
html body td[data-th230-risk][data-th230-risk][data-th230-label]:not([data-th230-label=""])::after{display:inline-block;margin-left:4px;vertical-align:middle;max-width:100%;background:none;line-height:1;white-space:nowrap;}

html body td[data-th230-risk][data-th230-risk]:is([data-th230-risk="orange"],[data-th230-risk="red"]):not(.th207-training):not(.th207-resigned):not([data-th230-label*="SP terbit"])::after{display:none!important}
