diff --git a/site/src/pages/tools/fcc-compliance-check.astro b/site/src/pages/tools/fcc-compliance-check.astro
index 05f9284..4ba200d 100644
--- a/site/src/pages/tools/fcc-compliance-check.astro
+++ b/site/src/pages/tools/fcc-compliance-check.astro
@@ -506,12 +506,11 @@ import Base from "../../layouts/Base.astro";
// 499-A special — ask qualifying questions when past due
if (check.id === "form_499a" && (status === "red" || status === "yellow")) {
- inner += `
+ inner += `
Did ${eName} provide and bill customers for voice or data telecom services during the overdue filing period(s)?
-
-
-
-
+
+
+
`;
}
@@ -606,58 +605,67 @@ import Base from "../../layouts/Base.astro";
// 499-A button handlers
if (check.id === "form_499a" && (status === "red" || status === "yellow")) {
- function setF499Status(action) {
- const c = action === "file" ? colorMap.red : (action === "zero" ? colorMap.yellow : colorMap.yellow);
- card.className = `${c.bg} ${c.border} border rounded-xl p-4 flex items-start gap-3`;
-
- if (action === "file") {
- // Keep red — they need to file
- card.innerHTML = `
${icons.red}
-
-
${check.label}
-
${check.detail}
-
${eName} had telecom revenue — filing is required for each missed year.
-
-
`;
- } else if (action === "zero") {
- // Had no revenue — still need to file a zero-revenue 499-A
- check.status = "yellow";
- const cy = colorMap.yellow;
- card.className = `${cy.bg} ${cy.border} border rounded-xl p-4 flex items-start gap-3`;
- card.innerHTML = `
${icons.yellow}
-
-
${check.label}
-
Even with zero telecom revenue, a 499-A must be filed for each year you held an active filer ID. We can file zero-revenue returns for you.
To cancel your USAC filer registration, all outstanding 499-A filings must be current first (including zero-revenue returns). We can handle the catch-up filings and submit the cancellation request to USAC on your behalf.
`;
+ card.querySelector(".f499-undo")?.addEventListener("click", resetF499);
+ renderCta(lastData);
+ }
+
+ function showFollowUp() {
+ // Follow-up: do they plan to provide telecom services going forward?
+ const q1 = card.querySelector(".f499-q1");
+ if (q1) q1.style.display = "none";
+ const followUp = document.createElement("div");
+ followUp.className = "mt-3 border-t border-amber-200 pt-3";
+ followUp.innerHTML = `
+
Does ${eName} plan to provide telecom services going forward?
+
+
+
+
`;
+ card.querySelector(".flex-1")?.appendChild(followUp);
+
+ followUp.querySelector(".f499-keep")?.addEventListener("click", () => {
+ showF499Result(
+ `${eName} had no telecom revenue but wants to keep the filer registration active. A zero-revenue 499-A must be filed for each year with an active filer ID. We can file these for you.`,
+ "yellow"
+ );
+ });
+ followUp.querySelector(".f499-deregister")?.addEventListener("click", () => {
+ showF499Result(
+ `${eName} wants to cancel the USAC filer registration. All outstanding 499-A filings must be current first (including zero-revenue returns). We can handle the catch-up filings and submit the cancellation request to USAC on your behalf.`,
+ "yellow"
+ );
+ });
+ }
+
+ function attachF499Handlers() {
+ card.querySelector(".f499-yes")?.addEventListener("click", () => {
+ showF499Result(
+ `${check.detail}\n${eName} had telecom revenue — filing is required for each missed year.`,
+ "red"
+ );
+ });
+ card.querySelector(".f499-no")?.addEventListener("click", showFollowUp);
+ }
+ attachF499Handlers();
}
checksContainer.appendChild(card);