/* Existing application tokens and modal language; desktop reporting workspace. */
.analytics-workspace { width:calc(100vw - 48px); max-width:none; max-height:92vh; }
.analytics-workspace .mb { min-width:0; overflow:auto; }
.analytics-filters { display:flex; gap:10px; flex-wrap:wrap; align-items:end; }
.analytics-filters .fg { flex:1 1 150px; max-width:240px; margin:0; }
.analytics-filters select,.analytics-filters input { width:100%; min-width:0; }
.analytics-summary { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.analytics-summary .pill { display:flex; gap:8px; align-items:center; flex-wrap:wrap; max-width:100%; overflow-wrap:anywhere; }
.analytics-summary .pill b { font-size:var(--font-card); }
.analytics-notes { margin:8px 0; overflow-wrap:anywhere; }
.analytics-table-tools { display:flex; flex-wrap:wrap; gap:8px; align-items:end; margin:10px 0; }
.analytics-table-tools .fg { width:220px; margin:0; }
.analytics-table-tools .type-note { flex:1 1 200px; }
.analytics-table-wrap { max-height:48vh; overflow:auto; border:1px solid #e2e8f0; }
.analytics-table { width:100%; table-layout:fixed; }
.analytics-table td,.analytics-table th { padding:7px 8px; vertical-align:middle; }
.analytics-table td span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.analytics-table th { white-space:normal; overflow-wrap:anywhere; }
.analytics-table th:last-child,.analytics-table td:last-child { width:92px; }
.analytics-number { text-align:right; font-variant-numeric:tabular-nums; }
.analytics-sort { border:0; background:transparent; color:inherit; text-align:left; padding:0; font-size:var(--font-table); cursor:pointer; }
.analytics-pagination { display:flex; align-items:center; justify-content:end; gap:12px; margin-top:10px; }
[hidden] { display:none !important; }
.attention-rules { margin:10px 0; }
.attention-rules summary { cursor:pointer; font-size:var(--font-helper); }
.attention-table th:nth-child(1) { width:9%; }
.attention-table th:nth-child(2) { width:14%; }
.attention-table th:nth-child(3) { width:19%; }
.attention-table th:nth-child(4) { width:32%; }
.attention-table th:nth-child(5) { width:12%; }
.attention-table th:nth-child(6) { width:7%; }
.attention-table td:nth-child(2) .badge { white-space:normal; overflow-wrap:anywhere; }
.attention-table .attention-category { font-weight:var(--weight-semibold); }
.attention-priority { border:1px solid #cbd5e1; color:#334155; background:#f8fafc; }
.attention-high { color:#991b1b; background:#fef2f2; border-color:#fecaca; }
.attention-medium { color:#854d0e; background:#fffbeb; border-color:#fde68a; }
.attention-source { color:#1e3a5f; background:#eff6ff; }
