/* PDF capture keeps its existing layout; color tokens follow the current screen cards. */
/* One stable key -> one official HEX. Screen cards and their selected activity context; no second color map. */
@media screen {
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="expired"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="expired"]{--card-accent:#FF1526}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="10"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="10"]{--card-accent:#FF4B0B}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="30"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="30"]{--card-accent:#FF690A}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="60"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="60"]{--card-accent:#E6A000}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="90"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="90"]{--card-accent:#639414}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="ibama"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="ibama"]{--card-accent:#007849}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="inema"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="inema"]{--card-accent:#00AAC3}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="sst"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="sst"]{--card-accent:#0660FF}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="notifications"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="notifications"]{--card-accent:#4A0ACB}
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [data-action-card="renewals"][aria-pressed="true"]),
 #content .action-panel[data-panel-report-capture] .action-primary-kpis [data-action-card="renewals"]{--card-accent:#8500FA}
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card[data-action-card]{
  --deadline-color:var(--card-accent)!important;
  --deadline-soft:color-mix(in srgb,var(--card-accent) 8%,transparent)!important;
  border-color:var(--card-accent);
 }
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card:is(:hover,:focus-visible,:active,.selected){border-color:var(--card-accent);outline-color:var(--card-accent)}
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card-top>i{background:var(--card-accent);color:#fff}
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card-top>b{color:var(--card-accent);outline:1px solid var(--card-accent)}
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card>strong{color:var(--card-accent)}
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card>strong::before{border-color:var(--card-accent)}
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card-detail{color:var(--card-accent)!important;outline:1px solid var(--card-accent)}
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card-detail *,
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card-top>b *{color:inherit!important}
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card>small,
 #content .action-panel[data-panel-report-capture] .action-primary-kpis .deadline-card>small i{color:var(--card-accent);border-color:var(--card-accent)}
}
/* Selection is presentation only. Missing selection leaves all legacy general-view tokens intact. */
@media screen {
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [aria-pressed="true"]) .action-list{
  --activity-accent:var(--card-accent);
  --activity-soft:color-mix(in srgb,var(--card-accent) 8%,white);
 }
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [aria-pressed="true"]) .action-list .action-identity>span:not(.panel-group-expanded),
 #content .action-panel[data-panel-report-capture]:has(.action-primary-kpis [aria-pressed="true"]) .action-list [data-card-filter-badge]{
  color:var(--activity-accent)!important;background:var(--activity-soft)!important;border-color:var(--activity-accent)!important;
 }
}
