.data-scope-note { color:var(--text-sub); font-size:12px; line-height:1.7; margin:0 0 12px; overflow-wrap:anywhere; }
#statsQualityNote:not(:empty) { padding:10px 12px; border:1px solid #d7c79f; border-radius:8px; background:#eee8d9; color:#705422; }
.data-status-actions { display:flex; gap:18px; flex-wrap:wrap; padding-block:8px; }
.stat-count-link { font:inherit; color:var(--accent); background:transparent; border:0; padding:4px 2px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.stats-total-row { background:var(--accent-soft); border-top:2px solid var(--border); font-weight:700; }
.stats-total-row .stat-count-link { font-weight:700; }
.state-waiting.tag,.state-waiting.recent-status { background:var(--amber-soft); color:var(--amber); }
.state-returned.tag,.state-returned.recent-status { background:var(--teal-soft); color:var(--teal); }
.state-unrepairable.tag,.state-unrepairable.recent-status { background:var(--rose-soft); color:var(--rose); }
.state-external.tag,.state-external.recent-status { background:#e9e1f1; color:#705092; }
.state-repaired.tag,.state-repaired.recent-status { background:#dcecf0; color:#236778; }
.state-other.tag,.state-other.recent-status { background:#e2e5e9; color:#5a6472; }
.inout-model-label { display:inline-flex; align-items:center; gap:5px; max-width:100%; vertical-align:middle; }
.inout-model-label>span:last-child { overflow-wrap:anywhere; }
.inout-po-check { display:inline-block; flex-shrink:0; color:#526b89; font-size:13px; font-weight:700; line-height:1; }
.inout-po-filter { display:inline-flex; align-items:center; gap:7px; min-height:38px; margin-top:10px; padding:6px 10px; border:1px solid var(--border); border-radius:8px; color:var(--text-sub); background:#e6ebf1; font-size:12px; cursor:pointer; }
.inout-po-filter:has(input:checked) { background:var(--accent-soft); border-color:#89a0bd; color:var(--accent); }
.inout-po-filter input { width:15px; height:15px; accent-color:var(--accent); }
@media(max-width:768px) { .inout-po-filter { min-height:44px; } .inout-model-label { white-space:normal; } }
.data-issue-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:10px 0 14px; color:var(--text-sub); font-size:11px; }
.data-issue-link,.data-issue-edit { display:inline-flex; align-items:center; gap:4px; padding:8px 11px; border:1px solid #c7b78f; border-radius:8px; background:#eee7d6; color:#705422; font:inherit; font-size:12px; cursor:pointer; }
.data-issue-edit { color:var(--accent); border-color:var(--border); background:var(--accent-soft); }
@media(max-width:768px) { .data-issue-link,.data-issue-edit { min-height:44px; } }
@media(max-width:768px) { .stat-count-link { min-height:36px; min-width:24px; } .data-scope-note { font-size:11px; } }
