/* CAEL 0.3.1 - table sorting and semantic status palette */
.sort-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;width:100%;text-align:left;font:inherit;color:inherit;padding:4px 0;border-radius:6px;cursor:pointer;white-space:normal}
.sort-header:hover,.sort-header.is-sorted{color:#a74b00}.sort-header:focus-visible{outline:2px solid #a64c00;outline-offset:5px}.sort-mark{font-size:17px;line-height:1;opacity:.5}.is-sorted .sort-mark{opacity:1}
.desktop-records th{padding-top:6px;padding-bottom:6px}.desktop-records th[aria-sort]{background:#fff4e4}
.record-sort-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 24px;border-top:1px solid #eef1f4;font-size:12px;color:#647485}.sort-mobile{display:none}.sort-reset{font:inherit;text-decoration:underline;color:#954300}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pill.ok{background:#e5f5eb!important;color:#176238!important;border:1px solid #b8e2c7!important}
.pill.warn{background:#fff2d4!important;color:#815500!important;border:1px solid #efd394!important}
.pill.bad{background:#fde8e8!important;color:#a0272b!important;border:1px solid #efb9bb!important}
.pill.resolved{background:#d6ece4!important;color:#12523e!important;border:1px solid #a8d4c1!important}
.detail-value .pill{font-size:13px;padding:7px 11px}.record-card-values .pill{font-weight:600;white-space:normal}
@media(max-width:700px){.sort-mobile{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%}.sort-mobile label{width:100%;font-weight:600}.sort-mobile select{min-height:44px;flex:1;min-width:130px;width:auto}.sort-mobile .btn{min-height:44px}.sort-desktop-hint{display:none}.record-sort-toolbar{padding:12px 16px;flex-wrap:wrap}.sort-reset{margin-left:auto}.detail-value .pill{max-width:100%;white-space:normal}}
