#hodWarningActionReportPanel { scroll-margin-top: 20px; }
#hodWarningActionReportPanel .control-card { border-top: 4px solid #087f8c; }
.wp-note { color: #475569; font-size: .88rem; line-height: 1.8; max-width: 1000px; margin-bottom: 8px; }
#warningDataStatus { margin-bottom: 18px; font-size: .8rem; }
.wp-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 15px 0 10px; }
.wp-summary { border: 1px solid #cbdfe6; border-radius: 14px; background: linear-gradient(135deg, #f0faf9, #fff); padding: 18px; }
.wp-summary[data-level="20"] { background: linear-gradient(135deg, #fff8ef, #fff); border-color: #f1d7b0; }
.wp-summary-head, .wp-case-head, .wp-stage-head, .wp-case-footer { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.wp-summary h3 { font-size: 1.05rem; color: #123d48; }
.wp-summary small { display: block; color: #526678; font-size: .78rem; font-weight: 500; line-height: 1.7; }
.wp-summary-percent { font-size: 1.9rem; font-weight: 800; color: #08756e; white-space: nowrap; }
.wp-progress { display: block; width: 100%; height: 12px; margin: 14px 0; accent-color: #087f8c; border: 0; border-radius: 100px; overflow: hidden; background: #dfe9ed; }
.wp-progress::-webkit-progress-bar { background: #dfe9ed; border-radius: 100px; }
.wp-progress::-webkit-progress-value { background: #087f8c; border-radius: 100px; }
.wp-progress::-moz-progress-bar { background: #087f8c; }
.wp-summary-counts { display: flex; flex-wrap: wrap; gap: 9px 20px; font-size: .85rem; color: #475569; margin-bottom: 12px; }
.wp-summary-counts strong { display: block; font-size: 1.3rem; color: #183541; }
.wp-summary .btn { border-color: #b9d8dc; background: #fff; color: #075e65; min-height: 38px; }
.wp-summary-note { color: #64748b; font-size: .8rem; line-height: 1.7; margin: 8px 0 18px; }
.wp-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 16px; border: 1px solid #dbe6ef; background: #f8fafc; border-radius: 12px; margin: 16px 0 10px; }
.wp-filters label { display: grid; gap: 7px; color: #334155; font-weight: 700; font-size: .8rem; flex: 1 1 150px; min-width: 0; }
.wp-filters .wp-search { flex: 2 1 260px; }
.wp-filters input, .wp-filters select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #172c3d; font: inherit; }
.wp-filters input:focus, .wp-filters select:focus { outline: 2px solid #087f8c; outline-offset: 2px; }
#warningResultsCount { margin: 12px 0; font-size: .85rem; }
.wp-cases { display: grid; gap: 14px; }
.wp-case { border: 1px solid #d9e5ec; border-inline-start: 4px solid #99afb8; border-radius: 12px; background: #fff; padding: 18px; }
.wp-case[data-priority="pending"] { border-inline-start-color: #cc7709; }
.wp-case[data-priority="second"] { border-inline-start-color: #c34242; }
.wp-case h3 { font-size: 1.04rem; line-height: 1.7; color: #142c40; overflow-wrap: anywhere; }
.wp-case p { color: #526478; font-size: .83rem; line-height: 1.8; overflow-wrap: anywhere; }
.wp-case-course { margin: 8px 0 12px; }
.wp-absence { text-align: end; flex-shrink: 0; }
.wp-absence strong { display: block; color: #143d4b; font-size: 1.45rem; }
.wp-absence span { color: #64748b; font-size: .8rem; }
.wp-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wp-stage { border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; padding: 13px; min-width: 0; }
.wp-stage h4 { font-size: .88rem; line-height: 1.6; }
.wp-stage-head { flex-wrap: wrap; gap: 6px; margin-bottom: 7px; }
.wp-stage[data-state="pending"], .wp-stage[data-state="attempted"] { background: #fffaf1; border-color: #efce93; }
.wp-stage[data-state="completed"] { background: #f2fbf6; border-color: #b6dfc6; }
.wp-stage[data-state="history"] { background: #f4f5fc; border-color: #d4d7ee; }
.wp-state { display: inline-block; font-size: .76rem; font-weight: 800; border-radius: 6px; padding: 4px 7px; line-height: 1.5; background: #e9eef2; color: #475569; }
.wp-state.pending, .wp-state.attempted { background: #ffedca; color: #875000; }
.wp-state.completed { background: #d8f2e2; color: #14623b; }
.wp-state.history { background: #e4e7f8; color: #4c4f88; }
.wp-case-footer { flex-wrap: wrap; align-items: center; margin-top: 13px; }
.wp-case-footer .btn { background: #eaf4f6; color: #0c6472; font-size: .8rem; white-space: normal; }
.wp-empty { text-align: center; padding: 32px 20px; border: 1px dashed #b6cad2; border-radius: 12px; color: #526478; line-height: 1.8; background: #f8fbfc; }
#warningShowMore { display: block; margin: 18px auto 0; border-color: #cbd5e1; }
#warningShowMore[hidden] { display: none; }
@media (max-width: 720px) {
    .wp-overview, .wp-stages { grid-template-columns: 1fr; }
    .wp-case, .wp-summary { padding: 14px; }
    .wp-case-head { flex-wrap: wrap; }
    .wp-absence { text-align: start; }
    .wp-filters { padding: 12px; }
    .wp-summary-percent { font-size: 1.6rem; }
}
