diff --git a/.codex-screenshots/account-settings/desktop-account-settings.png b/.codex-screenshots/account-settings/desktop-account-settings.png
new file mode 100644
index 000000000..5045dbcdc
Binary files /dev/null and b/.codex-screenshots/account-settings/desktop-account-settings.png differ
diff --git a/.codex-screenshots/account-settings/mobile-account-settings.png b/.codex-screenshots/account-settings/mobile-account-settings.png
new file mode 100644
index 000000000..e769a5731
Binary files /dev/null and b/.codex-screenshots/account-settings/mobile-account-settings.png differ
diff --git a/scripts/classify-documents.ts b/scripts/classify-documents.ts
index 7498d2eb4..57b00347a 100644
--- a/scripts/classify-documents.ts
+++ b/scripts/classify-documents.ts
@@ -165,7 +165,7 @@ async function writeClassification(
.delete()
.eq("document_id", document.id)
.eq("source", "generated")
- .in("label_type", ["site", "document_type", "population", "topic", "setting", "service", "workflow", "medication"]);
+ .in("label_type", ["site", "document_type", "population", "topic", "setting", "service", "workflow", "medication", "risk"]);
if (deleteError) throw new Error(deleteError.message);
// Write site labels (confident only, >= 0.75)
@@ -176,10 +176,10 @@ async function writeClassification(
(label) => label.label_type === "document_type" && label.confidence >= 0.5,
);
- // Write all secondary facet labels (population, topic, setting, service, workflow, medication)
+ // Write all secondary facet labels (population, topic, setting, service, workflow, medication, risk)
const secondaryLabels = classification.labels.filter(
(label) =>
- ["population", "topic", "setting", "service", "workflow", "medication"].includes(label.label_type) && label.confidence >= 0.5,
+ ["population", "topic", "setting", "service", "workflow", "medication", "risk"].includes(label.label_type) && label.confidence >= 0.5,
);
const generatedLabels = [...siteLabels, ...typeLabels, ...secondaryLabels];
diff --git a/src/components/ClinicalDashboard.tsx b/src/components/ClinicalDashboard.tsx
index be179c5bb..88724e986 100644
--- a/src/components/ClinicalDashboard.tsx
+++ b/src/components/ClinicalDashboard.tsx
@@ -5971,10 +5971,14 @@ function SettingsDialog({
labelledBy="account-settings-title"
initialFocusRef={closeButtonRef}
mobilePlacement="top"
+ contentStyle={{
+ width: "min(880px, calc(100vw - 1.5rem))",
+ maxWidth: "min(880px, calc(100vw - 1.5rem))",
+ }}
contentClassName="w-full max-w-[calc(100vw-1.5rem)] border-[color:var(--border-lux)] bg-[color:var(--surface-lux)] shadow-[var(--shadow-lux)] sm:max-w-[880px]"
bodyClassName="p-0 sm:p-0"
>
-
+
{closeButton}