diff --git a/module.json b/module.json
index c0cf959..f9b9192 100644
--- a/module.json
+++ b/module.json
@@ -2,7 +2,7 @@
"id": "kosmos-storage-audit",
"title": "Kosmos Storage Audit",
"description": "Analyzes media references and risky storage locations across Foundry data and public roots.",
- "version": "0.0.33",
+ "version": "0.0.34",
"compatibility": {
"minimum": "13",
"verified": "13"
diff --git a/scripts/apps/audit-report-app.js b/scripts/apps/audit-report-app.js
index ee4818d..f927b93 100644
--- a/scripts/apps/audit-report-app.js
+++ b/scripts/apps/audit-report-app.js
@@ -357,7 +357,6 @@ function renderOrphanFilterToggle(key, label, checked) {
function renderGroupedTable(groups, { includeOwner=false, includeReason=false, includeSources=false }={}) {
const headers = [
- `
${localize("KSA.Table.Severity")} | `,
`${localize("KSA.Field.Target")} | `,
`${localize("KSA.Table.References")} | `
];
@@ -369,8 +368,7 @@ function renderGroupedTable(groups, { includeOwner=false, includeReason=false, i
? buildGroupedTooltip(group)
: "";
const cells = [
- `${severityLabel(group.severity)} | `,
- `${escapeHtml(group.target)} | `,
+ `${escapeHtml(group.target)}${note ? `?` : ""}
| `,
`${group.count ?? ""} | `
];
if (includeOwner) cells.push(`${escapeHtml(group.ownerLabel ?? "")} | `);
@@ -528,12 +526,6 @@ function format(key, data) {
return game.i18n?.format(key, data) ?? key;
}
-function severityLabel(severity) {
- const key = `KSA.Severity.${severity}`;
- const localized = localize(key);
- return localized === key ? severity : localized;
-}
-
function formatCount(count, nounKey) {
return `${count} ${localize(nounKey)}`;
}
diff --git a/styles/audit.css b/styles/audit.css
index c82e2db..1f3f559 100644
--- a/styles/audit.css
+++ b/styles/audit.css
@@ -266,13 +266,33 @@
font-weight: 700;
}
-.storage-audit__table th:first-child,
-.storage-audit__table td:first-child,
-.storage-audit__table th:nth-child(3),
-.storage-audit__table td:nth-child(3) {
+.storage-audit__table th:nth-child(2),
+.storage-audit__table td:nth-child(2) {
white-space: nowrap;
}
+.storage-audit__target-cell {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.45rem;
+ max-width: 100%;
+}
+
+.storage-audit__hint-anchor {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 1.15rem;
+ height: 1.15rem;
+ border-radius: 999px;
+ border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
+ font-size: 0.78em;
+ font-weight: 700;
+ opacity: 0.82;
+ cursor: help;
+ flex: 0 0 auto;
+}
+
.storage-audit__source-list {
display: grid;
gap: 0.35rem;
@@ -295,41 +315,6 @@
.storage-audit__finding header strong { opacity: 0.9; }
-.storage-audit__severity {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- min-width: 4.75rem;
- border-radius: 999px;
- padding: 0.2rem 0.6rem;
- text-transform: uppercase;
- font-weight: 700;
- letter-spacing: 0.04em;
-}
-
-.storage-audit__severity--inline {
- min-width: 0;
-}
-
-.storage-audit__severity--hint {
- cursor: help;
-}
-
-.severity-high .storage-audit__severity {
- background: color-mix(in srgb, #b03e29 80%, transparent);
- color: white;
-}
-
-.severity-warning .storage-audit__severity {
- background: color-mix(in srgb, #b8902b 80%, transparent);
- color: black;
-}
-
-.severity-info .storage-audit__severity {
- background: color-mix(in srgb, #466d7a 80%, transparent);
- color: white;
-}
-
.storage-audit__finding dl {
display: grid;
gap: 0.35rem;