/*
 * ASDHH Staff Portal Design System — unified ownership, v4.3.169.
 * Service palette, design tokens and semantic status colours live here.
 * Shared form, tab, table and action layouts live in platform-ui.css; do not
 * redeclare those components in this file.
 */
.asdhh-app{
  --asdhh-ds-accent:var(--asdhh-page-accent,var(--asdhh-primary,#075da8));
  --asdhh-ds-accent-soft:var(--asdhh-page-accent-soft,#eaf4ff);
  --asdhh-ds-ink:#24313d;
  --asdhh-ds-muted:#667480;
  --asdhh-ds-border:#d8e1e7;
  --asdhh-ds-bg:#f5f7f9;
  --asdhh-ds-card:#fff;
  --asdhh-ds-danger:#b4232f;
  --asdhh-ds-danger-soft:#fff0f1;
  --asdhh-ds-success:#19724a;
  --asdhh-ds-success-soft:#edf9f2;
  --asdhh-ds-warning:#8a5a00;
  --asdhh-ds-warning-soft:#fff7df;
  --asdhh-ds-radius:16px;
  --asdhh-ds-radius-control:10px;
  --asdhh-ds-control-height:44px;
  --asdhh-ds-shadow:0 8px 24px rgba(34,52,66,.07);
  color:var(--asdhh-ds-ink);
}

/* Shared Core token contract. This is the only mapping between a
 * module colour and old component aliases. All specialist module layouts use
 * the same control, card, table, mobile and status styles as before. */
body.asdhh-portal-service-ui .asdhh-app{
  --asdhh-module-accent:#075da8;
  --asdhh-module-accent-soft:#eaf4ff;
  --asdhh-page-accent:var(--asdhh-module-accent);
  --asdhh-page-accent-soft:var(--asdhh-module-accent-soft);
  --asdhh-ds-accent:var(--asdhh-module-accent);
  --asdhh-ds-accent-soft:var(--asdhh-module-accent-soft);
  --asdhh-action-primary:var(--asdhh-module-accent);
  --asdhh-primary:var(--asdhh-module-accent);
}


/* Legacy fallback only when a service route body class is unavailable.
 * This cannot override the authoritative service palette in a staff screen. */
body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.pf-page),body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.pf-record-header){--asdhh-page-accent:#078f87;--asdhh-page-accent-soft:#eefaf8;--asdhh-ds-accent:#078f87;--asdhh-ds-accent-soft:#eefaf8}
body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-docs-wrap){--asdhh-page-accent:#0966d7;--asdhh-page-accent-soft:#eef6ff;--asdhh-ds-accent:#0966d7;--asdhh-ds-accent-soft:#eef6ff}
body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-advice-page),body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-advice-wrap){--asdhh-page-accent:#075da8;--asdhh-page-accent-soft:#eaf4ff;--asdhh-ds-accent:#075da8;--asdhh-ds-accent-soft:#eaf4ff}
body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-st){--asdhh-page-accent:#df477a;--asdhh-page-accent-soft:#fff1f6;--asdhh-ds-accent:#df477a;--asdhh-ds-accent-soft:#fff1f6}
body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-ft-page),body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-ft-record){--asdhh-page-accent:#20a34a;--asdhh-page-accent-soft:#eef9f1;--asdhh-ds-accent:#20a34a;--asdhh-ds-accent-soft:#eef9f1}
body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-eg-wrap){--asdhh-page-accent:#1488ad;--asdhh-page-accent-soft:#eefaff;--asdhh-ds-accent:#1488ad;--asdhh-ds-accent-soft:#eefaff}
body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-training-page){--asdhh-page-accent:#c47b00;--asdhh-page-accent-soft:#fff8e8;--asdhh-ds-accent:#c47b00;--asdhh-ds-accent-soft:#fff8e8}
body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-finance-page),body:not(.asdhh-portal-service-ui):not(.asdhh-portal-core-ui) .asdhh-content:has(.asdhh-finance-v080){--asdhh-page-accent:#16845b;--asdhh-page-accent-soft:#eef9f5;--asdhh-ds-accent:#16845b;--asdhh-ds-accent-soft:#eef9f5}

/* Full-width page shells and predictable spacing. */
.asdhh-content :where(
  .pf-page,.asdhh-docs-wrap,.asdhh-advice-page,.asdhh-advice-wrap,.asdhh-st,
  .asdhh-ft-page,.asdhh-ft-record,.asdhh-eg-wrap,.asdhh-training-page,
  .asdhh-finance-page,.asdhh-finance-v080
){width:100%;max-width:none!important;min-width:0;color:var(--asdhh-ds-ink)}

.asdhh-content :where(
  .pf-header-actions,.asdhh-docs-header-actions,.asdhh-advice-actions,
  .asdhh-ft-toolbar,.asdhh-eg-header,.asdhh-training-heading,
  .asdhh-finance-hero,.asdhh-finance-record-header
){display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px;padding:0 0 14px;border-bottom:1px solid var(--asdhh-ds-border)}

.asdhh-content :where(
  .pf-header-actions,.asdhh-docs-header-actions,.asdhh-advice-actions,
  .asdhh-ft-toolbar,.asdhh-eg-header,.asdhh-training-heading,
  .asdhh-finance-hero,.asdhh-finance-record-header
) h1{position:relative;margin:0;padding-bottom:11px;line-height:1.2}
.asdhh-content :where(
  .pf-header-actions,.asdhh-docs-header-actions,.asdhh-advice-actions,
  .asdhh-ft-toolbar,.asdhh-eg-header,.asdhh-training-heading,
  .asdhh-finance-hero,.asdhh-finance-record-header
) h1::after{content:"";position:absolute;bottom:0;left:0;width:58px;height:4px;border-radius:999px;background:var(--asdhh-ds-accent)}

/* Shared card and panel aliases. */
.asdhh-app :where(
  .pf-panel,.pf-form-section,.asdhh-docs-panel,.asdhh-docs-form-panel,
  .asdhh-advice-panel,.asdhh-advice-card,.asdhh-case-card,.asdhh-thread-card,
  .asdhh-st-card,.asdhh-st-panel,.asdhh-ft-panel,.asdhh-ft-subpanel,
  .asdhh-eg-card,.asdhh-eg-overview-panel,.asdhh-training-panel,
  .asdhh-finance-panel,.asdhh-finance-record-card,.asdhh-finance-intake-card,
  .asdhh-finance-schedule-card
){min-width:0;border:1px solid var(--asdhh-ds-border)!important;border-radius:var(--asdhh-ds-radius)!important;background:var(--asdhh-ds-card)!important;box-shadow:var(--asdhh-ds-shadow)!important;color:var(--asdhh-ds-ink)}

.asdhh-app :where(
  .pf-panel,.pf-form-section,.asdhh-docs-panel,.asdhh-docs-form-panel,
  .asdhh-advice-panel,.asdhh-advice-card,.asdhh-st-card,.asdhh-st-panel,
  .asdhh-ft-panel,.asdhh-ft-subpanel,.asdhh-eg-card,.asdhh-eg-overview-panel,
  .asdhh-training-panel,.asdhh-finance-panel,.asdhh-finance-record-card,
  .asdhh-finance-intake-card,.asdhh-finance-schedule-card
){padding:20px!important}

.asdhh-app :where(
  .pf-panel-heading,.asdhh-docs-panel-heading,.asdhh-advice-panel-head,
  .asdhh-st-card-head,.asdhh-ft-panel-head,.asdhh-eg-section-heading,
  .asdhh-training-panel-head,.asdhh-finance-panel-head
){display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid var(--asdhh-ds-border)}
.asdhh-app :where(.pf-panel-heading,.asdhh-docs-panel-heading,.asdhh-advice-panel-head,.asdhh-ft-panel-head,.asdhh-training-panel-head,.asdhh-finance-panel-head) :where(h2,h3){margin:0}

/* Buttons: one readable hierarchy across all services. */
.asdhh-app :where(
  .asdhh-button:not(.asdhh-button-secondary):not(.is-secondary):not(.asdhh-button-danger),
  .asdhh-button-primary,.asdhh-rm-button,.asdhh-docs-primary,
  .asdhh-advice-button:not(.is-secondary),.asdhh-referral-button,
  .asdhh-st .button:not(.secondary):not(.button-secondary):not(.danger):not(.destructive):not(.delete),
  .asdhh-ft-form-actions button:last-child,
  .asdhh-eg-wrap .button-primary,.asdhh-eg-wrap button.button-primary,
  .asdhh-eg-actions .button:not(.button-secondary):not(.is-secondary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-eg-actions button:not(.button-secondary):not(.is-secondary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-training-actions .button:not(.button-secondary),
  .asdhh-finance-actions .button:not(.button-secondary):not(.asdhh-button-secondary):not(.asdhh-button-danger),
  button[type=submit]:not(.secondary):not(.button-secondary):not(.asdhh-button-secondary):not(.danger):not(.destructive):not(.delete):not(.asdhh-button-danger):not(.asdhh-eg-danger):not(.asdhh-eg-delete):not(.button-link-delete)
){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;min-height:var(--asdhh-ds-control-height)!important;padding:10px 16px!important;border:1px solid var(--asdhh-ds-accent)!important;border-radius:var(--asdhh-ds-radius-control)!important;background:var(--asdhh-ds-accent)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:inherit!important;font-weight:750!important;line-height:1.15!important;text-decoration:none!important;text-shadow:none!important;box-shadow:none!important;visibility:visible!important;opacity:1!important;cursor:pointer}
.asdhh-app :where(
  .asdhh-button:not(.asdhh-button-secondary):not(.is-secondary):not(.asdhh-button-danger),
  .asdhh-button-primary,.asdhh-rm-button,.asdhh-docs-primary,
  .asdhh-advice-button:not(.is-secondary),.asdhh-referral-button,
  .asdhh-st .button:not(.secondary):not(.button-secondary):not(.danger):not(.destructive):not(.delete),
  .asdhh-ft-form-actions button:last-child,
  .asdhh-eg-wrap .button-primary,.asdhh-eg-wrap button.button-primary,
  .asdhh-eg-actions .button:not(.button-secondary):not(.is-secondary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-eg-actions button:not(.button-secondary):not(.is-secondary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-training-actions .button:not(.button-secondary),
  .asdhh-finance-actions .button:not(.button-secondary):not(.asdhh-button-secondary):not(.asdhh-button-danger),
  button[type=submit]:not(.secondary):not(.button-secondary):not(.asdhh-button-secondary):not(.danger):not(.destructive):not(.delete):not(.asdhh-button-danger):not(.asdhh-eg-danger):not(.asdhh-eg-delete):not(.button-link-delete)
):hover,
.asdhh-app :where(
  .asdhh-button:not(.asdhh-button-secondary):not(.is-secondary):not(.asdhh-button-danger),
  .asdhh-button-primary,.asdhh-rm-button,.asdhh-docs-primary,
  .asdhh-advice-button:not(.is-secondary),.asdhh-referral-button,
  .asdhh-st .button:not(.secondary):not(.button-secondary):not(.danger):not(.destructive):not(.delete),
  .asdhh-ft-form-actions button:last-child,
  .asdhh-eg-wrap .button-primary,.asdhh-eg-wrap button.button-primary,
  .asdhh-eg-actions .button:not(.button-secondary):not(.is-secondary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-eg-actions button:not(.button-secondary):not(.is-secondary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-training-actions .button:not(.button-secondary),
  .asdhh-finance-actions .button:not(.button-secondary):not(.asdhh-button-secondary):not(.asdhh-button-danger),
  button[type=submit]:not(.secondary):not(.button-secondary):not(.asdhh-button-secondary):not(.danger):not(.destructive):not(.delete):not(.asdhh-button-danger):not(.asdhh-eg-danger):not(.asdhh-eg-delete):not(.button-link-delete)
):focus-visible{filter:brightness(.92);outline:3px solid color-mix(in srgb,var(--asdhh-ds-accent) 22%,transparent)!important;outline-offset:2px!important}

.asdhh-app :where(
  .asdhh-button-secondary,.asdhh-button.is-secondary,.button-secondary,.button.secondary,
  .asdhh-docs-secondary,.asdhh-advice-button.is-secondary,.asdhh-st .button.secondary,
  .asdhh-ft-form-actions button:not(:last-child),.asdhh-eg-actions .button.is-secondary,
  .asdhh-eg-wrap .button:not(.button-primary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-eg-wrap button.button:not(.button-primary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-training-actions .button-secondary,
  .asdhh-finance-page .asdhh-button:not(.asdhh-button-primary):not(.asdhh-button-danger)
){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:var(--asdhh-ds-control-height)!important;padding:10px 16px!important;border:1px solid color-mix(in srgb,var(--asdhh-ds-accent) 42%,#d8e1e7)!important;border-radius:var(--asdhh-ds-radius-control)!important;background:#fff!important;color:var(--asdhh-ds-accent)!important;-webkit-text-fill-color:var(--asdhh-ds-accent)!important;font:inherit!important;font-weight:750!important;text-decoration:none!important;text-shadow:none!important;box-shadow:none!important;visibility:visible!important;opacity:1!important;cursor:pointer}
.asdhh-app :where(
  .asdhh-button-secondary,.asdhh-button.is-secondary,.button-secondary,.button.secondary,
  .asdhh-docs-secondary,.asdhh-advice-button.is-secondary,.asdhh-st .button.secondary,
  .asdhh-ft-form-actions button:not(:last-child),.asdhh-eg-actions .button.is-secondary,
  .asdhh-eg-wrap .button:not(.button-primary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-eg-wrap button.button:not(.button-primary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-training-actions .button-secondary,
  .asdhh-finance-page .asdhh-button:not(.asdhh-button-primary):not(.asdhh-button-danger)
):hover,
.asdhh-app :where(
  .asdhh-button-secondary,.asdhh-button.is-secondary,.button-secondary,.button.secondary,
  .asdhh-docs-secondary,.asdhh-advice-button.is-secondary,.asdhh-st .button.secondary,
  .asdhh-ft-form-actions button:not(:last-child),.asdhh-eg-actions .button.is-secondary,
  .asdhh-eg-wrap .button:not(.button-primary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-eg-wrap button.button:not(.button-primary):not(.asdhh-eg-danger):not(.asdhh-eg-delete),
  .asdhh-training-actions .button-secondary,
  .asdhh-finance-page .asdhh-button:not(.asdhh-button-primary):not(.asdhh-button-danger)
):focus-visible{background:var(--asdhh-ds-accent-soft)!important;border-color:var(--asdhh-ds-accent)!important;color:var(--asdhh-ds-accent)!important;-webkit-text-fill-color:var(--asdhh-ds-accent)!important;outline:3px solid color-mix(in srgb,var(--asdhh-ds-accent) 18%,transparent)!important;outline-offset:2px!important}

.asdhh-app :where(
  .asdhh-button-danger,.asdhh-docs-danger-button,.asdhh-docs-link-danger,
  .asdhh-eg-danger,.asdhh-eg-delete,.asdhh-st .button.danger,.asdhh-st .button.destructive,.asdhh-st .button.delete,
  .asdhh-link-danger,.asdhh-finance-remove-line,.asdhh-finance-danger-zone button,.button-link-delete
){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:var(--asdhh-ds-control-height)!important;padding:10px 16px!important;border:1px solid #e4aab0!important;border-radius:var(--asdhh-ds-radius-control)!important;background:#fff!important;color:var(--asdhh-ds-danger)!important;-webkit-text-fill-color:var(--asdhh-ds-danger)!important;font:inherit!important;font-weight:750!important;text-decoration:none!important;text-shadow:none!important;cursor:pointer}
.asdhh-app :where(
  .asdhh-button-danger,.asdhh-docs-danger-button,.asdhh-docs-link-danger,
  .asdhh-eg-danger,.asdhh-eg-delete,.asdhh-st .button.danger,.asdhh-st .button.destructive,.asdhh-st .button.delete,
  .asdhh-link-danger,.asdhh-finance-remove-line,.asdhh-finance-danger-zone button,.button-link-delete
):hover,
.asdhh-app :where(
  .asdhh-button-danger,.asdhh-docs-danger-button,.asdhh-docs-link-danger,
  .asdhh-eg-danger,.asdhh-eg-delete,.asdhh-st .button.danger,.asdhh-st .button.destructive,.asdhh-st .button.delete,
  .asdhh-link-danger,.asdhh-finance-remove-line,.asdhh-finance-danger-zone button,.button-link-delete
):focus-visible{background:var(--asdhh-ds-danger-soft)!important;border-color:var(--asdhh-ds-danger)!important;outline:3px solid rgba(180,35,47,.16)!important;outline-offset:2px!important}
.asdhh-app :where(button,a,.button)[disabled],.asdhh-app :where(button,a,.button).disabled{opacity:.55!important;cursor:not-allowed!important;filter:none!important;transform:none!important}

/* Notices and status badges. */
.asdhh-app :where(.pf-notice,.asdhh-docs-notice,.asdhh-referral-notice,.asdhh-st-notice,.asdhh-eg-notice,.asdhh-training-info,.asdhh-finance-note,.asdhh-notice){padding:14px 16px!important;border:1px solid color-mix(in srgb,var(--asdhh-ds-accent) 20%,var(--asdhh-ds-border))!important;border-left:4px solid var(--asdhh-ds-accent)!important;border-radius:12px!important;background:var(--asdhh-ds-accent-soft)!important;color:var(--asdhh-ds-ink)!important;margin:0 0 16px!important}
.asdhh-app :where(.pf-notice-success,.asdhh-notice-success,.asdhh-st-notice.success,.asdhh-eg-notice.success){border-color:#b8dec9!important;border-left-color:var(--asdhh-ds-success)!important;background:var(--asdhh-ds-success-soft)!important;color:#175b3d!important}
.asdhh-app :where(.pf-notice-error,.asdhh-notice-error,.asdhh-st-notice.error,.asdhh-eg-notice.error){border-color:#efc4c8!important;border-left-color:var(--asdhh-ds-danger)!important;background:var(--asdhh-ds-danger-soft)!important;color:#7f2029!important}
.asdhh-app :where(.asdhh-notice-warning,.asdhh-st-notice.warning,.asdhh-eg-notice.warning){border-color:#ecd8a2!important;border-left-color:var(--asdhh-ds-warning)!important;background:var(--asdhh-ds-warning-soft)!important;color:#694600!important}
.asdhh-app :where(.asdhh-pill,.asdhh-status-pill,.asdhh-docs-badge,.asdhh-ft-pill,.asdhh-eg-pill,.asdhh-training-status,.asdhh-finance-status){display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;padding:5px 9px;border-radius:999px;background:#edf2f5;color:#40505b;font-size:.76rem;font-weight:750;line-height:1.2}

/* Muted and empty states. */
.asdhh-app :where(.pf-muted,.asdhh-muted,.muted,.asdhh-docs-empty,.asdhh-advice-empty,.asdhh-ft-empty,.asdhh-eg-empty-row,.asdhh-training-public-empty,.asdhh-finance-empty){color:var(--asdhh-ds-muted)}
.asdhh-app :where(.asdhh-docs-empty,.asdhh-advice-empty,.asdhh-ft-empty,.asdhh-eg-empty-row,.asdhh-finance-empty){padding:22px;border:1px dashed #cbd6dd;border-radius:12px;background:#fafcfd;text-align:center}

/* ========================================================================== 
 * ASDHH Staff UI Standardisation — Core 3.10.0
 * --------------------------------------------------------------------------
 * Workflow-first staff screens.  This layer intentionally loads after each
 * service stylesheet so service plugins can keep functional/local classes
 * while Core owns the visual language. Public/customer/learner pages are not
 * affected because every rule is scoped to a recognised staff service route.
 * ========================================================================== */

body.asdhh-portal-service-ui .asdhh-app{
  --asdhh-ui-font:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  
  --asdhh-ui-line:1.45;
  --asdhh-ui-ink:#17324d;
  --asdhh-ui-muted:#66778a;
  --asdhh-ui-border:#dce5ed;
  --asdhh-ui-surface:#fff;
  --asdhh-ui-soft:#f7f9fc;
  --asdhh-ui-card-radius:13px;
  --asdhh-ui-control-radius:9px;
  --asdhh-ui-control-height:40px;
  --asdhh-ui-card-pad:16px;
  --asdhh-ui-section-gap:16px;
  --asdhh-ui-shadow:0 4px 14px rgba(23,50,77,.055);
  --asdhh-ds-radius:var(--asdhh-ui-card-radius);
  --asdhh-ds-radius-control:var(--asdhh-ui-control-radius);
  --asdhh-ds-control-height:var(--asdhh-ui-control-height);
  --asdhh-ds-shadow:var(--asdhh-ui-shadow);
  font-family:var(--asdhh-ui-font)!important;
  
  line-height:var(--asdhh-ui-line);
  color:var(--asdhh-ui-ink);}

/* Staff workspaces use the available width. Individual plugins no longer
   create their own narrow page within the Core page. */
body.asdhh-portal-service-ui .asdhh-content{
  min-width:0;
  padding-top:22px;
  padding-bottom:32px;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-page,.asdhh-docs-wrap,.asdhh-advice-page,.asdhh-advice-wrap,.asdhh-st,
  .asdhh-ft-page,.asdhh-ft-record,.asdhh-eg-wrap,.asdhh-training-page,
  .asdhh-finance-page,.asdhh-finance-v080,.cm-inbox,.cm-form,.asdhh-dla-staff,
  .asdhh-pip-staff,.asdhh-ec-page,.fm-shell,.im-shell,.asdhh-mr-page,
  .pm-shell,.asdhh-resources-wrap,.sg-shell,.asdhh-smp,.tm-shell,.vm-shell
){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(.fm-shell,.im-shell,.pm-shell,.sg-shell,.tm-shell,.vm-shell){padding:0!important}

/* Compact hierarchy: one clear page title, small section titles and no
   decorative bars competing with the content. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-page-heading,.pf-header-actions,.pf-record-header,.pf-registry-header,
  .asdhh-docs-service-heading,.asdhh-docs-record-header,.asdhh-case-header,
  .asdhh-record-header,.asdhh-st-pagehead,.st-record-head,.asdhh-ft-toolbar,
  .asdhh-ft-record-header,.asdhh-eg-header,.asdhh-training-heading,
  .asdhh-training-record-heading,.asdhh-finance-hero,.asdhh-finance-record-header,
  .fm-header,.fm-case-head,.im-header,.im-record-head,.asdhh-mr-record-head,
  .asdhh-ol-intro,.asdhh-ol-detail-head,.asdhh-ol-builder-head,
  .asdhh-dla-panel-head,.asdhh-pip-panel-head,.pm-header,.pm-record-head,
  .asdhh-resources-page-head,.asdhh-resources-record-head,.sg-header,.sg-case-head,
  .asdhh-smp-heading,.tm-header,.tm-record-head,.vm-header
){
  margin-top:0!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-page-heading,.pf-header-actions,.asdhh-docs-service-heading,
  .asdhh-st-pagehead,.asdhh-ft-toolbar,.asdhh-eg-header,.asdhh-training-heading,
  .asdhh-finance-hero,.fm-header,.im-header,.pm-header,.asdhh-resources-page-head,
  .sg-header,.asdhh-smp-heading,.tm-header,.vm-header
){
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin-bottom:16px!important;
  padding:0 0 12px!important;
  
  background:transparent!important;
  box-shadow:none!important;}
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-page-heading,.pf-header-actions,.pf-record-header,.pf-registry-header,
  .asdhh-docs-service-heading,.asdhh-docs-record-header,.asdhh-case-header,
  .asdhh-record-header,.asdhh-st-pagehead,.st-record-head,.asdhh-ft-toolbar,
  .asdhh-ft-record-header,.asdhh-eg-header,.asdhh-training-heading,
  .asdhh-training-record-heading,.asdhh-finance-hero,.asdhh-finance-record-header,
  .fm-header,.fm-case-head,.im-header,.im-record-head,.asdhh-mr-record-head,
  .asdhh-ol-intro,.asdhh-ol-detail-head,.asdhh-ol-builder-head,
  .asdhh-dla-panel-head,.asdhh-pip-panel-head,.pm-header,.pm-record-head,
  .asdhh-resources-page-head,.asdhh-resources-record-head,.sg-header,.sg-case-head,
  .asdhh-smp-heading,.tm-header,.tm-record-head,.vm-header,.cm-record-title
) h1{
  margin:0!important;
  padding:0!important;
  border:0!important;
  color:var(--asdhh-ui-ink)!important;
  font-size:1.45rem!important;
  font-weight:780!important;
  line-height:1.2!important;
  letter-spacing:-.015em!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-page-heading,.pf-header-actions,.asdhh-docs-service-heading,
  .asdhh-st-pagehead,.asdhh-ft-toolbar,.asdhh-eg-header,.asdhh-training-heading,
  .asdhh-finance-hero,.fm-header,.im-header,.pm-header,.asdhh-resources-page-head,
  .sg-header,.asdhh-smp-heading,.tm-header,.vm-header
) h1::after{display:none!important;content:none!important}

/* Shared record-name typography. Use this class for the person/record name
   above summary banners instead of relying on theme h1/h2 defaults. */
body.asdhh-portal-service-ui .asdhh-content .asdhh-record-name{
  margin:0!important;
  padding:0!important;
  border:0!important;
  color:var(--asdhh-ui-ink)!important;
  font-size:1.45rem!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:-.015em!important;
}

body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-panel-heading,.asdhh-docs-panel-heading,.asdhh-advice-panel-head,
  .asdhh-st-card-head,.asdhh-ft-panel-head,.asdhh-eg-section-heading,
  .asdhh-training-panel-head,.asdhh-finance-panel-head,.fm-section-head,
  .im-card-head,.asdhh-mr-section-head,.asdhh-ol-section-heading,
  .asdhh-dla-panel-head,.asdhh-pip-panel-head,.pm-section-head,
  .asdhh-resources-card-head,.sg-card-head,.asdhh-smp-card-head,
  .tm-section-head,.vm-section-head
) :where(h2,h3),
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-panel,.pf-form-section,.asdhh-docs-panel,.asdhh-advice-panel,.asdhh-st-card,
  .asdhh-ft-panel,.asdhh-ft-subpanel,.asdhh-eg-card,.asdhh-training-panel,
  .asdhh-finance-panel,.cm-response-grid>.asdhh-panel,.asdhh-dla-staff-panel,
  .asdhh-pip-staff-panel,.asdhh-ec-panel,.asdhh-ec-card,.fm-card,.im-card,
  .asdhh-mr-panel,.asdhh-card,.asdhh-ol-panel,.pm-card,.asdhh-resources-card,
  .asdhh-resources-subpanel,.sg-card,.asdhh-smp-card,.tm-card,.vm-card
) > h2{
  margin:0 0 12px!important;
  color:var(--asdhh-ui-ink)!important;
  font-size:1.03rem!important;
  font-weight:780!important;
  line-height:1.25!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(.fm-card,.im-card,.pm-card,.sg-card,.tm-card,.vm-card,.asdhh-dla-staff-panel,.asdhh-pip-staff-panel) > h3{
  margin:16px 0 7px!important;
  font-size:.92rem!important;
  line-height:1.3!important;
}

/* Remove purely decorative/repetitive staff-page copy. Dynamic record metadata,
   warnings and field help remain visible. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .fm-header,.im-header,.pm-header,.sg-header,.tm-header,.vm-header
) > div > :where(.fm-eyebrow,.im-eyebrow,.pm-eyebrow,.sg-eyebrow,.tm-eyebrow,.vm-eyebrow){display:none!important}
body.asdhh-portal-service-ui .asdhh-content :where(
  .fm-header,.im-header,.pm-header,.sg-header,.tm-header,.vm-header
) > div > h1 + p{display:none!important}
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-docs-service-heading,.asdhh-ft-toolbar,.asdhh-training-heading,
  .asdhh-resources-page-head,.asdhh-smp-heading
) :where(.asdhh-docs-eyebrow,.asdhh-ft-eyebrow,.asdhh-eyebrow,.asdhh-resources-kicker){display:none!important}
body.asdhh-portal-service-ui .asdhh-content .asdhh-training-page-intro{display:none!important}
/* Section-level helper text is left available when it can prevent mistakes or
   explain an unusual action. Only known page-level/repeated copy is removed. */

/* Records keep a compact metadata line beneath the title. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-record-header,.asdhh-docs-record-header,.asdhh-case-header,.asdhh-record-header,
  .st-record-head,.asdhh-ft-record-header,.asdhh-training-record-heading,
  .asdhh-finance-record-header,.fm-case-head,.im-record-head,.asdhh-mr-record-head,
  .asdhh-ol-detail-head,.pm-record-head,.asdhh-resources-record-head,.sg-case-head,
  .tm-record-head,.vm-header
) p{
  margin:4px 0 0!important;
  color:var(--asdhh-ui-muted)!important;
  font-size:.8rem!important;
  line-height:1.35!important;
}

/* Cards/panels are deliberately restrained: less padding and shadow, more
   room between groups. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-panel,.pf-form-section,.asdhh-docs-panel,.asdhh-docs-form-panel,
  .asdhh-advice-panel,.asdhh-advice-card,.asdhh-case-card,.asdhh-thread-card,
  .asdhh-st-card,.asdhh-st-panel,.asdhh-ft-panel,.asdhh-ft-subpanel,
  .asdhh-eg-card,.asdhh-eg-overview-panel,.asdhh-training-panel,
  .asdhh-finance-panel,.asdhh-finance-record-card,.asdhh-finance-intake-card,
  .asdhh-finance-schedule-card,.cm-summary-grid>a,.cm-response-grid>.asdhh-panel,
  .asdhh-dla-staff-panel,.asdhh-dla-staff-review-card,.asdhh-pip-staff-panel,
  .asdhh-pip-staff-review-card,.asdhh-ec-panel,.asdhh-ec-card,.fm-card,.im-card,
  .asdhh-mr-panel,.asdhh-mr-document-card,.asdhh-ol-panel,.asdhh-ol-coursework-card,
  .pm-card,.asdhh-resources-card,.asdhh-resources-subpanel,.sg-card,.asdhh-smp-card,
  .tm-card,.vm-card
){
  min-width:0!important;
  padding:var(--asdhh-ui-card-pad)!important;
  border:1px solid var(--asdhh-ui-border)!important;
  border-radius:var(--asdhh-ui-card-radius)!important;
  background:var(--asdhh-ui-surface)!important;
  box-shadow:var(--asdhh-ui-shadow)!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-panel,.pf-form-section,.asdhh-docs-panel,.asdhh-advice-panel,.asdhh-st-card,
  .asdhh-ft-panel,.asdhh-ft-subpanel,.asdhh-eg-card,.asdhh-training-panel,
  .asdhh-finance-panel,.asdhh-dla-staff-panel,.asdhh-pip-staff-panel,.asdhh-ec-panel,
  .asdhh-ec-card,.fm-card,.im-card,.asdhh-mr-panel,.asdhh-ol-panel,.pm-card,
  .asdhh-resources-card,.asdhh-resources-subpanel,.sg-card,.asdhh-smp-card,.tm-card,.vm-card
){margin-bottom:var(--asdhh-ui-section-gap)!important}

body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-panel-heading,.asdhh-docs-panel-heading,.asdhh-advice-panel-head,.asdhh-st-card-head,
  .asdhh-ft-panel-head,.asdhh-eg-section-heading,.asdhh-training-panel-head,
  .asdhh-finance-panel-head,.fm-section-head,.im-card-head,.asdhh-mr-section-head,
  .asdhh-ol-section-heading,.asdhh-dla-panel-head,.asdhh-pip-panel-head,
  .pm-section-head,.asdhh-resources-card-head,.sg-card-head,.asdhh-smp-card-head,
  .tm-section-head,.vm-section-head
){
  margin:0 0 12px!important;
  padding:0 0 10px!important;
  gap:10px!important;
  border-bottom:1px solid #e8eef3!important;
}

/* Metrics and summaries are information-dense, not oversized cards. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .cm-summary-grid,.fm-metrics,.im-metrics,.asdhh-mr-metrics,.asdhh-ol-metrics,
  .asdhh-dla-staff-summary,.asdhh-dla-stat-grid,.asdhh-pip-staff-summary,
  .asdhh-pip-stat-grid,.pm-metrics,.asdhh-resources-summary-grid,.sg-metrics,
  .asdhh-smp-stat-grid,.tm-metrics,.vm-stats,.asdhh-finance-summary-grid,
  .asdhh-ft-summary-grid,.st-summary-grid,.asdhh-eg-summary
){
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  gap:10px!important;
  margin:0 0 16px!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .fm-metric,.im-metric,.asdhh-mr-metric,.asdhh-ol-metric,.asdhh-dla-staff-summary>article,
  .asdhh-dla-stat-grid>article,.asdhh-pip-staff-summary>article,.asdhh-pip-stat-grid>article,
  .pm-metric,.asdhh-resources-stat,.sg-metric,.asdhh-smp-stat,.tm-metric,.vm-stat,
  .asdhh-finance-summary-grid>*,.asdhh-ft-summary-grid>*,.st-summary-grid>*,.asdhh-eg-summary>*
){
  min-height:0!important;
  padding:12px 13px!important;
  border:1px solid var(--asdhh-ui-border)!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .cm-summary-grid strong,.fm-metric strong,.im-metric strong,.asdhh-mr-metric strong,
  .asdhh-ol-metric strong,.asdhh-dla-staff-summary strong,.asdhh-pip-staff-summary strong,
  .pm-metric strong,.asdhh-resources-stat strong,.sg-metric strong,.asdhh-smp-stat strong,
  .tm-metric strong,.vm-stat strong
){font-size:1.2rem!important;line-height:1.1!important}

/* Layout follows the content. Short metadata can use three/four across;
   complex content remains full width. */
@media(min-width:1180px){
  body.asdhh-portal-service-ui .asdhh-content :where(
    .pf-fields,.pf-meta-grid,.pf-mini-form,.asdhh-docs-form-grid,.asdhh-docs-create-person-grid,
    .asdhh-advice-grid,.asdhh-communication-fields,.asdhh-st-form-grid,.field-grid,
    .asdhh-ft-form-grid,.asdhh-eg-grid,.asdhh-training-form-grid,.registration-grid,
    .asdhh-finance-form-grid,.asdhh-finance-grid,.cm-form-grid,.fm-grid--3,.im-grid--3,
    .tm-grid--3,.vm-grid--3,.asdhh-dla-grid.three,.asdhh-pip-grid.three
  ){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px 14px!important}
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .fm-grid--2,.im-grid--2,.pm-grid--2,.sg-grid--2,.asdhh-mr-grid.two,
  .asdhh-dla-grid.two,.asdhh-pip-grid.two,.asdhh-ol-two-col
){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-full,.asdhh-docs-form-grid .is-wide,.asdhh-field-wide,.asdhh-ft-full,.wide,
  .asdhh-finance-field-wide,.fm-span-2,.fm-detail-full,.im-span-2,.im-detail-full,
  .pm-span-2,.pm-detail-full,.sg-span-2,.sg-detail-full,.vm-span-2,.tm-span-2,
  .asdhh-ol-coursework-card.is-wide
){grid-column:1/-1!important}

/* Main/aside layouts: content gets priority. Secondary record administration
   is narrow and visually quiet. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .fm-case-layout,.im-case-layout,.sg-case-layout,.tm-record-layout,.vm-record-layout,
  .pf-record-layout,.asdhh-case-layout,.asdhh-finance-record-grid
){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,320px)!important;
  gap:16px!important;
  align-items:start!important;
}

/* Forms: compact controls and consistent labels. */
body.asdhh-portal-service-ui .asdhh-content :where(label,.asdhh-field,.fm-field,.im-field,.pm-field,.sg-field,.tm-field,.vm-field){font-size:.86rem}
body.asdhh-portal-service-ui .asdhh-content :where(
  input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),
  select,textarea
){
  min-height:var(--asdhh-ui-control-height)!important;
  padding:8px 10px!important;
  border:1px solid #c8d4df!important;
  border-radius:var(--asdhh-ui-control-radius)!important;
  background:#fff!important;
  color:var(--asdhh-ui-ink)!important;
  font:inherit!important;
  font-size:.88rem!important;
  line-height:1.35!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-ui .asdhh-content textarea{min-height:96px!important;resize:vertical}
body.asdhh-portal-service-ui .asdhh-content :where(input,select,textarea):focus{
  border-color:var(--asdhh-ds-accent)!important;
  outline:3px solid color-mix(in srgb,var(--asdhh-ds-accent) 14%,transparent)!important;
  outline-offset:0!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(.asdhh-field-help,.fm-field small,.im-help,.pm-help,.sg-help,.tm-help,.vm-help){font-size:.76rem!important;line-height:1.35!important;color:var(--asdhh-ui-muted)!important}

/* Button hierarchy: primary action is clear; admin/secondary actions step back. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-button,.button,.fm-button,.im-button,.pm-button,.sg-button,.tm-button,.vm-button,
  .asdhh-dla-button,.asdhh-pip-button,.asdhh-resources-button
){
  min-height:38px!important;
  padding:8px 12px!important;
  border-radius:9px!important;
  font-size:.84rem!important;
  line-height:1.15!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-button-secondary,.button-secondary,.is-secondary,.secondary,
  .fm-button--secondary,.im-button--secondary,.pm-button--secondary,.tm-button--secondary,
  .vm-button--secondary,.is-quiet,.asdhh-resources-actions .is-quiet
){
  background:#fff!important;
  color:#53677a!important;
  -webkit-text-fill-color:#53677a!important;
  border-color:#cfd9e2!important;
  font-weight:680!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-record-actions-dropdown>summary,.asdhh-case-manage,.asdhh-record-action-buttons .asdhh-button-secondary
){
  min-height:34px!important;
  padding:6px 9px!important;
  border:1px solid #d5dee6!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#617386!important;
  font-size:.78rem!important;
  font-weight:650!important;
  box-shadow:none!important;
}

/* Tabs are navigation, not a second row of large buttons. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-tabs,.cm-record-tabs,.asdhh-docs-record-tabs,.asdhh-record-tabs,.asdhh-st-tabs,
  .st-record-tabs,.asdhh-ft-record-tabs,.asdhh-eg-tabs,.asdhh-eg-main-tabs,
  .asdhh-training-session-tabs,.asdhh-finance-subnav,.fm-nav,.im-nav,.asdhh-mr-tabs,
  .asdhh-ol-tabs,.pm-nav,.sg-nav,.tm-nav,.tm-record-tabs,.vm-nav,.vm-tabs,.asdhh-plugin-tabs
){
  display:flex!important;
  align-items:flex-end!important;
  gap:2px!important;
  overflow-x:auto!important;
  margin:0 0 16px!important;
  padding:0 0 6px!important;
  border-bottom:1px solid var(--asdhh-ui-border)!important;
  scrollbar-width:thin;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-tabs,.cm-record-tabs,.asdhh-docs-record-tabs,.asdhh-record-tabs,.asdhh-st-tabs,
  .st-record-tabs,.asdhh-ft-record-tabs,.asdhh-eg-tabs,.asdhh-eg-main-tabs,
  .asdhh-training-session-tabs,.asdhh-finance-subnav,.fm-nav,.im-nav,.asdhh-mr-tabs,
  .asdhh-ol-tabs,.pm-nav,.sg-nav,.tm-nav,.tm-record-tabs,.vm-nav,.vm-tabs,.asdhh-plugin-tabs
) a{
  min-height:36px!important;
  padding:7px 10px!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  border-radius:7px 7px 0 0!important;
  background:transparent!important;
  color:#66778a!important;
  font-size:.8rem!important;
  font-weight:700!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .pf-tabs,.cm-record-tabs,.asdhh-docs-record-tabs,.asdhh-record-tabs,.asdhh-st-tabs,
  .st-record-tabs,.asdhh-ft-record-tabs,.asdhh-eg-tabs,.asdhh-eg-main-tabs,
  .asdhh-training-session-tabs,.asdhh-finance-subnav,.fm-nav,.im-nav,.asdhh-mr-tabs,
  .asdhh-ol-tabs,.pm-nav,.sg-nav,.tm-nav,.tm-record-tabs,.vm-nav,.vm-tabs,.asdhh-plugin-tabs
) a:is(.is-active,.active,[aria-current=page]){
  color:var(--asdhh-ds-accent)!important;
  border-bottom-color:var(--asdhh-ds-accent)!important;
  background:var(--asdhh-ds-accent-soft)!important;
}

/* Table geometry lives in platform-ui.css; duplicate table rules removed v4.3.202. */
/* Statuses are compact pills. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-pill,.asdhh-status-pill,.asdhh-docs-badge,.asdhh-ft-pill,.asdhh-eg-pill,
  .asdhh-training-status,.asdhh-finance-status,.cm-status,.cm-channel,.fm-badge,.im-badge,
  .asdhh-mr-badge,.asdhh-ol-pill,.asdhh-dla-pill,.asdhh-pip-pill,.pm-badge,
  .asdhh-resources-status,.sg-badge,.tm-pill,.vm-badge
){
  min-height:0!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  font-size:.72rem!important;
  line-height:1.2!important;
  font-weight:750!important;
  box-shadow:none!important;
}

/* Filter layout and visual surface are owned by platform-ui.css. */
/* Long secondary/audit material should not dominate the working page. */
body.asdhh-portal-service-ui .asdhh-content :where(.fm-audit,.im-audit,.pm-audit,.tm-audit,.vm-audit){
  margin-top:14px!important;
  padding:0!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(.fm-audit,.im-audit,.pm-audit,.tm-audit,.vm-audit)>summary{
  padding:11px 13px!important;
  color:#627487!important;
  font-size:.8rem!important;
  font-weight:700!important;
  cursor:pointer;
}

/* Tablet: two-column information where useful, but remove narrow sidebars. */
@media(max-width:1100px){
  body.asdhh-portal-service-ui .asdhh-content :where(
    .fm-case-layout,.im-case-layout,.sg-case-layout,.tm-record-layout,.vm-record-layout,
    .pf-record-layout,.asdhh-case-layout,.asdhh-finance-record-grid
  ){grid-template-columns:1fr!important}
  body.asdhh-portal-service-ui .asdhh-content :where(
    .pf-fields,.pf-meta-grid,.pf-mini-form,.asdhh-docs-form-grid,.asdhh-docs-create-person-grid,
    .asdhh-advice-grid,.asdhh-communication-fields,.asdhh-st-form-grid,.field-grid,
    .asdhh-ft-form-grid,.asdhh-eg-grid,.asdhh-training-form-grid,.registration-grid,
    .asdhh-finance-form-grid,.asdhh-finance-grid,.cm-form-grid,.fm-grid--3,.im-grid--3,
    .tm-grid--3,.vm-grid--3
  ){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Mobile: intentional reflow rather than squeezed desktop layouts. */
@media(max-width:720px){
  body.asdhh-portal-service-ui .asdhh-content{padding:16px 14px 24px!important}
  body.asdhh-portal-service-ui .asdhh-content :where(
    .asdhh-page-heading,.pf-header-actions,.asdhh-docs-service-heading,.asdhh-st-pagehead,
    .asdhh-ft-toolbar,.asdhh-eg-header,.asdhh-training-heading,.asdhh-finance-hero,
    .fm-header,.im-header,.pm-header,.asdhh-resources-page-head,.sg-header,.asdhh-smp-heading,
    .tm-header,.vm-header
  ){align-items:stretch!important;gap:9px!important;margin-bottom:13px!important;padding-bottom:10px!important}
  body.asdhh-portal-service-ui .asdhh-content :where(
    .asdhh-page-heading,.pf-header-actions,.pf-record-header,.pf-registry-header,
    .asdhh-docs-service-heading,.asdhh-docs-record-header,.asdhh-case-header,.asdhh-record-header,
    .asdhh-st-pagehead,.st-record-head,.asdhh-ft-toolbar,.asdhh-ft-record-header,.asdhh-eg-header,
    .asdhh-training-heading,.asdhh-training-record-heading,.asdhh-finance-hero,.asdhh-finance-record-header,
    .fm-header,.fm-case-head,.im-header,.im-record-head,.asdhh-mr-record-head,.asdhh-ol-intro,
    .asdhh-ol-detail-head,.asdhh-ol-builder-head,.pm-header,.pm-record-head,.asdhh-resources-page-head,
    .asdhh-resources-record-head,.sg-header,.sg-case-head,.asdhh-smp-heading,.tm-header,.tm-record-head,.vm-header
  ) h1{font-size:1.25rem!important}
  body.asdhh-portal-service-ui .asdhh-content :where(
    .pf-fields,.pf-meta-grid,.pf-mini-form,.asdhh-docs-form-grid,.asdhh-docs-create-person-grid,
    .asdhh-advice-grid,.asdhh-communication-fields,.asdhh-st-form-grid,.field-grid,
    .asdhh-ft-form-grid,.asdhh-eg-grid,.asdhh-training-form-grid,.registration-grid,
    .asdhh-finance-form-grid,.asdhh-finance-grid,.cm-form-grid,.fm-grid--2,.fm-grid--3,
    .im-grid--2,.im-grid--3,.pm-grid--2,.sg-grid--2,.tm-grid--3,.vm-grid--3,
    .asdhh-dla-grid.two,.asdhh-dla-grid.three,.asdhh-pip-grid.two,.asdhh-pip-grid.three,
    .asdhh-ol-two-col
  ){grid-template-columns:1fr!important;gap:11px!important}
  body.asdhh-portal-service-ui .asdhh-content :where(
    .cm-summary-grid,.fm-metrics,.im-metrics,.asdhh-mr-metrics,.asdhh-ol-metrics,
    .asdhh-dla-staff-summary,.asdhh-dla-stat-grid,.asdhh-pip-staff-summary,.asdhh-pip-stat-grid,
    .pm-metrics,.asdhh-resources-summary-grid,.sg-metrics,.asdhh-smp-stat-grid,.tm-metrics,.vm-stats,
    .asdhh-finance-summary-grid,.asdhh-ft-summary-grid,.st-summary-grid,.asdhh-eg-summary
  ){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.asdhh-portal-service-ui .asdhh-content :where(
    .pf-panel,.pf-form-section,.asdhh-docs-panel,.asdhh-advice-panel,.asdhh-st-card,.asdhh-ft-panel,
    .asdhh-ft-subpanel,.asdhh-eg-card,.asdhh-training-panel,.asdhh-finance-panel,
    .asdhh-dla-staff-panel,.asdhh-pip-staff-panel,.asdhh-ec-panel,.asdhh-ec-card,.fm-card,.im-card,
    .asdhh-mr-panel,.asdhh-ol-panel,.pm-card,.asdhh-resources-card,.asdhh-resources-subpanel,
    .sg-card,.asdhh-smp-card,.tm-card,.vm-card
  ){padding:13px!important;margin-bottom:12px!important;border-radius:11px!important}
  body.asdhh-portal-service-ui .asdhh-content :where(.asdhh-actions,.fm-actions,.im-actions,.tm-actions,.vm-actions,.asdhh-page-actions){gap:7px!important}
  body.asdhh-portal-service-ui .asdhh-content :where(.asdhh-actions,.fm-actions,.im-actions,.tm-actions,.vm-actions,.asdhh-page-actions) :where(a,button,.button){flex:1 1 auto!important;width:auto!important}
  body.asdhh-portal-service-ui .asdhh-content :where(.fm-table,.im-table,.pm-table,.sg-table-wrap,.tm-table,.vm-table){border-radius:9px!important}
}

@media(max-width:430px){
  body.asdhh-portal-service-ui .asdhh-content :where(
    .cm-summary-grid,.fm-metrics,.im-metrics,.asdhh-mr-metrics,.asdhh-ol-metrics,
    .asdhh-dla-staff-summary,.asdhh-dla-stat-grid,.asdhh-pip-staff-summary,.asdhh-pip-stat-grid,
    .pm-metrics,.asdhh-resources-summary-grid,.sg-metrics,.asdhh-smp-stat-grid,.tm-metrics,.vm-stats,
    .asdhh-finance-summary-grid,.asdhh-ft-summary-grid,.st-summary-grid,.asdhh-eg-summary
  ){grid-template-columns:1fr!important}
}

/* --------------------------------------------------------------------------
 * Final plugin-specific clean-up for staff routes that pre-date the shared
 * page-header pattern. Keep the useful task/status information; remove the
 * repeated service name and process narration.
 * -------------------------------------------------------------------------- */

/* Screening Tools uses H2 for its local page title because Core owns H1. */
body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-pagehead{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin:0 0 16px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid var(--asdhh-ui-border)!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-pagehead>div>.eyebrow{display:none!important}
body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-pagehead>div>h2{
  margin:0!important;
  color:var(--asdhh-ui-ink)!important;
  font-size:1.32rem!important;
  line-height:1.2!important;
  font-weight:780!important;
  letter-spacing:-.012em!important;
}
body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-pagehead>div>h2+p{display:none!important}

/* Email Campaigns sometimes emitted an extra card containing only a sentence
   beneath a Core-owned page title. It adds no workflow value. */
body.asdhh-portal-service-email-campaigns .asdhh-content .asdhh-ec-context-header.is-page-intro{display:none!important}
body.asdhh-portal-service-email-campaigns .asdhh-content .asdhh-ec-context-header.is-record-summary{
  padding:12px 14px!important;
  margin-bottom:14px!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-email-campaigns .asdhh-content .asdhh-ec-context-header.is-record-summary .asdhh-eyebrow{display:none!important}
body.asdhh-portal-service-email-campaigns .asdhh-content .asdhh-ec-context-header.is-record-summary h2{font-size:1.03rem!important;margin:0!important}
body.asdhh-portal-service-email-campaigns .asdhh-content .asdhh-ec-context-header.is-record-summary h2+p{margin:4px 0 0!important;font-size:.78rem!important;color:var(--asdhh-ui-muted)!important}

/* Online Learning: remove process narration from the top of pages. Context
   badges/actions remain available where they genuinely change what staff do. */
body.asdhh-portal-service-online-learning .asdhh-content .asdhh-ol-intro{
  min-height:0!important;
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-online-learning .asdhh-content .asdhh-ol-intro>p{display:none!important}
body.asdhh-portal-service-online-learning .asdhh-content .asdhh-ol-intro>div>p{display:none!important}
body.asdhh-portal-service-online-learning .asdhh-content .asdhh-ol-intro>div>h2{
  margin:0!important;
  font-size:1.03rem!important;
  line-height:1.25!important;
}
body.asdhh-portal-service-online-learning .asdhh-content .asdhh-ol-readonly{
  padding:4px 8px!important;
  border-radius:999px!important;
  font-size:.72rem!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:#647587!important;
  background:#f3f6f8!important;
  border:1px solid #dde5eb!important;
}

/* Events & Groups repeats the service name as an uppercase kicker above the
   identical page title. The Core navigation/title already provides context. */
body.asdhh-portal-service-events-groups .asdhh-content .asdhh-eg-list-header>div>span:first-child{display:none!important}

/* Keep large action/control collections from stretching the page when three or
   four compact choices fit naturally across a wide desktop. */
@media(min-width:1320px){
  body.asdhh-portal-service-ui .asdhh-content :where(
    .fm-metrics,.im-metrics,.asdhh-mr-metrics,.asdhh-ol-metrics,.pm-metrics,
    .asdhh-resources-summary-grid,.sg-metrics,.asdhh-smp-stat-grid,.tm-metrics,.vm-stats,
    .asdhh-finance-summary-grid,.asdhh-ft-summary-grid,.st-summary-grid,.asdhh-eg-summary
  ){grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important}
}

@media(max-width:720px){
  body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-pagehead{align-items:stretch!important;gap:9px!important;margin-bottom:13px!important;padding-bottom:10px!important}
  body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-pagehead>div>h2{font-size:1.18rem!important}
}

/* Safety-critical report instructions remain visible even though ordinary
   staff-page process narration is suppressed. */
body.asdhh-portal-route-incidents-report .asdhh-content .im-header>div>h1+p,
body.asdhh-portal-route-safeguarding-report .asdhh-content .sg-header>div>h1+p{
  display:block!important;
  max-width:760px!important;
  margin:4px 0 0!important;
  color:var(--asdhh-ui-muted)!important;
  font-size:.8rem!important;
  line-height:1.4!important;
}

/* Direct staff-panel page titles used by older DLA/PIP screens. */
body.asdhh-portal-service-dla-support .asdhh-content .asdhh-dla-staff-panel>h1,
body.asdhh-portal-service-pip-support .asdhh-content .asdhh-pip-staff-panel>h1{
  margin:0 0 12px!important;
  color:var(--asdhh-ui-ink)!important;
  font-size:1.32rem!important;
  line-height:1.2!important;
  font-weight:780!important;
  letter-spacing:-.012em!important;
}
body.asdhh-portal-service-dla-support .asdhh-content .asdhh-dla-staff-panel>h1+p,
body.asdhh-portal-service-pip-support .asdhh-content .asdhh-pip-staff-panel>h1+p{
  margin:-5px 0 12px!important;
  color:var(--asdhh-ui-muted)!important;
  font-size:.8rem!important;
  line-height:1.4!important;
}

/* More legacy metric/detail grids brought onto the compact Core scale. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-advice-grid,.asdhh-advice-overview-grid,.asdhh-case-summary-grid,
  .asdhh-people-card-grid,.asdhh-ec-metrics,.asdhh-ec-queue-metrics,
  .asdhh-eg-workload,.asdhh-eg-registration-snapshot,.asdhh-ft-metric-grid,
  .st-mas-functions,.asdhh-training-stat-grid,.asdhh-training-booking-summary,
  .asdhh-training-finance-stats,.asdhh-training-report-stats,.pf-details-grid
){
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  gap:10px!important;
  margin-bottom:16px!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-advice-grid>.asdhh-advice-card,.asdhh-advice-overview-grid>*,.asdhh-case-summary-grid>article,
  .asdhh-ec-metrics>*,.asdhh-ec-queue-metrics>*,.asdhh-eg-workload>*,
  .asdhh-eg-registration-snapshot>*,.asdhh-ft-metric-grid>*,.st-mas-functions>*,
  .asdhh-training-stat-grid>*,.asdhh-training-booking-summary>*,.asdhh-training-finance-stats>*,
  .asdhh-training-report-stats>*,.pf-details-grid>*
){
  min-height:0!important;
  padding:12px 13px!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-advice-card .value,.asdhh-advice-card-count,.asdhh-eg-workload b,
  .asdhh-training-stat-grid strong,.asdhh-training-finance-stats strong,
  .asdhh-training-report-stats strong
){font-size:1.2rem!important;line-height:1.1!important}

/* Dense record metadata benefits from four across on large screens and then
   deliberately steps down for tablet/mobile. */
@media(min-width:1260px){
  body.asdhh-portal-service-ui .asdhh-content :where(
    .asdhh-case-summary-grid,.pf-details-grid,.asdhh-eg-detail-grid,.asdhh-eg-registration-snapshot
  ){grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:900px){
  body.asdhh-portal-service-ui .asdhh-content :where(
    .asdhh-case-summary-grid,.pf-details-grid,.asdhh-eg-detail-grid,.asdhh-eg-registration-snapshot
  ){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  body.asdhh-portal-service-ui .asdhh-content :where(
    .asdhh-case-summary-grid,.pf-details-grid,.asdhh-eg-detail-grid,.asdhh-eg-registration-snapshot
  ){grid-template-columns:1fr!important}
}

/* Collapsed record administration should not reserve a full sidebar. */
body.asdhh-portal-service-feedback .asdhh-content .fm-case-layout:has(.fm-manage-record details:not([open])){
  grid-template-columns:minmax(0,1fr) auto!important;
}
body.asdhh-portal-service-feedback .asdhh-content .fm-manage-record{min-width:0!important}


/* ========================================================================== 
 * ASDHH Staff UI Consistency Pass — Core 3.10.1
 * --------------------------------------------------------------------------
 * The dashboard is the typography reference for every staff service screen:
 * H1 = dashboard greeting, H2 = dashboard "Services", body = dashboard empty
 * state copy. This pass also fixes the first visual-QA exceptions.
 * ========================================================================== */
body.asdhh-portal-service-ui .asdhh-app{
  --asdhh-ui-text:16px;
  --asdhh-ui-h1:2rem;
  --asdhh-ui-h2:1.15rem;
  --asdhh-ui-h3:1rem;
  font-size:var(--asdhh-ui-text)!important;
}

/* "Staff Portal" is redundant once the user is inside a service. */
body.asdhh-portal-service-ui .asdhh-content .asdhh-page-heading>.asdhh-eyebrow,
body.asdhh-portal-service-ui .asdhh-content .asdhh-page-heading>div>.asdhh-eyebrow{
  display:none!important;
}

/* One type scale across old and new plugin markup, including plugins that use
   bespoke heading wrappers Core does not otherwise know about. */
body.asdhh-portal-service-ui .asdhh-content h1{
  font-size:var(--asdhh-ui-h1)!important;
  line-height:1.18!important;
  font-weight:750!important;
  letter-spacing:0!important;
}
body.asdhh-portal-service-ui .asdhh-content h2{
  font-size:var(--asdhh-ui-h2)!important;
  line-height:1.25!important;
  font-weight:750!important;
  letter-spacing:0!important;
}
body.asdhh-portal-service-ui .asdhh-content h3{
  font-size:var(--asdhh-ui-h3)!important;
  line-height:1.3!important;
  font-weight:750!important;
  letter-spacing:0!important;
}

/* Header shells should read as hierarchy, not as a second card around the
   title. Remove inherited side/top borders and double spacing. */
body.asdhh-portal-service-ui .asdhh-content :where(
  .asdhh-page-heading,.pf-header-actions,.asdhh-docs-service-heading,
  .asdhh-st-pagehead,.asdhh-ft-toolbar,.asdhh-eg-header,.asdhh-training-heading,
  .asdhh-finance-hero,.fm-header,.im-header,.pm-header,.asdhh-resources-page-head,
  .sg-header,.asdhh-smp-heading,.tm-header,.vm-header
){
  border:0!important;
  border-bottom:1px solid var(--asdhh-ui-border)!important;
}

/* Screening overview: the four workflow counts are compact dashboard metrics,
   not full content cards. */
body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-grid{
  gap:10px!important;
  margin-bottom:14px!important;
}
body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-grid>.asdhh-st-card{
  min-height:0!important;
  margin:0!important;
  padding:12px 14px!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.asdhh-portal-service-screening-tools .asdhh-content .st-dashboard-metric .stat{
  margin:0 0 4px!important;
  font-size:1.3rem!important;
  line-height:1!important;
  font-weight:800!important;
}
body.asdhh-portal-service-screening-tools .asdhh-content .st-dashboard-metric h3{
  margin:0!important;
  font-size:1rem!important;
  line-height:1.25!important;
}
@media(min-width:980px){
  body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media(min-width:561px) and (max-width:979px){
  body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:560px){
  body.asdhh-portal-service-screening-tools .asdhh-content .asdhh-st-grid{
    grid-template-columns:1fr!important;
  }
}

/* The Screening Records route already has a Core H1. Keep its create action,
   but remove the second copy of the title and process narration. */
body.asdhh-portal-route-screening-tools-records .asdhh-content .asdhh-st-heading{
  justify-content:flex-end!important;
  min-height:0!important;
  margin:0 0 10px!important;
}
body.asdhh-portal-route-screening-tools-records .asdhh-content .asdhh-st-heading>div{
  display:none!important;
}

/* Finance uses grid gaps internally, so Core margins must not double them. */
body.asdhh-portal-service-finance .asdhh-content :where(
  .asdhh-finance-hero,.asdhh-finance-panel,.asdhh-finance-metrics,
  .asdhh-finance-summary-grid,.asdhh-finance-source-grid
){
  margin-bottom:0!important;
}
body.asdhh-portal-service-finance .asdhh-content .asdhh-finance-page,
body.asdhh-portal-service-finance .asdhh-content .asdhh-finance-v080{
  gap:14px!important;
}
body.asdhh-portal-route-finance-admin-grant .asdhh-content .asdhh-finance-hero{
  padding:0 0 12px!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.asdhh-portal-route-finance-admin-grant .asdhh-content .asdhh-finance-hero .asdhh-finance-eyebrow{
  margin-bottom:4px!important;
}
body.asdhh-portal-route-finance-admin-grant .asdhh-content .asdhh-finance-hero h2{
  margin:0 0 4px!important;
}
body.asdhh-portal-route-finance-admin-grant .asdhh-content .asdhh-finance-hero p{
  margin:0!important;
}

/* Donations: a single status selector plus Filter should not be stretched into
   two half-page boxes. */
body.asdhh-portal-route-finance-admin-donations .asdhh-content .asdhh-finance-filters{
  grid-template-columns:minmax(220px,320px) max-content!important;
  justify-content:start!important;
  align-items:end!important;
  column-gap:10px!important;
  row-gap:8px!important;
}
body.asdhh-portal-route-finance-admin-donations .asdhh-content .asdhh-finance-filters>label{
  width:100%!important;
  justify-self:start!important;
}
body.asdhh-portal-route-finance-admin-donations .asdhh-content .asdhh-finance-filter-actions{
  grid-column:auto!important;
  width:auto!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
}
body.asdhh-portal-route-finance-admin-donations .asdhh-content .asdhh-finance-filter-actions .asdhh-button{
  width:auto!important;
  min-width:86px!important;
}

/* Finance report source snapshots are short comparable values: four across on
   desktop, two on tablet, one on narrow mobile. */
body.asdhh-portal-service-finance .asdhh-content .asdhh-finance-source-grid{
  gap:10px!important;
}
body.asdhh-portal-service-finance .asdhh-content .asdhh-finance-source-grid>.asdhh-finance-panel{
  min-width:0!important;
  padding:14px!important;
}
@media(min-width:980px){
  body.asdhh-portal-service-finance .asdhh-content .asdhh-finance-source-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media(min-width:561px) and (max-width:979px){
  body.asdhh-portal-service-finance .asdhh-content .asdhh-finance-source-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:560px){
  body.asdhh-portal-service-finance .asdhh-content .asdhh-finance-source-grid,
  body.asdhh-portal-route-finance-admin-donations .asdhh-content .asdhh-finance-filters{
    grid-template-columns:1fr!important;
  }
  body.asdhh-portal-route-finance-admin-donations .asdhh-content .asdhh-finance-filter-actions{
    grid-column:1!important;
    width:100%!important;
  }
  body.asdhh-portal-route-finance-admin-donations .asdhh-content .asdhh-finance-filter-actions .asdhh-button{
    width:100%!important;
  }
}

/* Match the dashboard's mobile H1 rather than inventing another service size. */
@media(max-width:720px){
  body.asdhh-portal-service-ui .asdhh-app{--asdhh-ui-h1:1.55rem}
}

/* ========================================================================== 
 * Core-owned staff screen standardisation — Core 3.10.3
 * --------------------------------------------------------------------------
 * Core routes now inherit the same workflow-first visual language as service
 * plugins. This section handles the few Core-only structures that do not use
 * service-plugin class names.
 * ========================================================================== */
body.asdhh-portal-core-ui .asdhh-app{
  --asdhh-ds-accent:#075da8;
  --asdhh-ds-accent-soft:#eef6ff;
}

/* The page title is enough context inside the portal. Remove repeated eyebrow
   labels and descriptive copy that does not help staff complete the task. */
body.asdhh-portal-core-ui .asdhh-content>.asdhh-page-heading>p,
body.asdhh-portal-core-ui .asdhh-content>.asdhh-page-heading>div>.asdhh-eyebrow{
  display:none!important;
}
body.asdhh-portal-core-ui .asdhh-content>.asdhh-page-heading{
  min-height:0!important;
  margin-bottom:14px!important;
  padding-bottom:10px!important;
}

/* Core panels use the same compact production scale as service panels. */
body.asdhh-portal-core-ui .asdhh-content :where(
  .asdhh-panel,.asdhh-report-start,.asdhh-profile-panel-wrap,
  .asdhh-quick-part-add,.asdhh-quick-parts-categories
){
  padding:16px!important;
  border-radius:13px!important;
  box-shadow:0 4px 14px rgba(23,50,77,.055)!important;
}
body.asdhh-portal-core-ui .asdhh-content :where(.asdhh-panel,.asdhh-report-start){
  margin-top:0!important;
  margin-bottom:14px!important;
}

/* Reports: keep the useful controls, not a second oversized introduction. */
body.asdhh-portal-route-reports .asdhh-report-intro{
  margin:0 0 12px!important;
}
body.asdhh-portal-route-reports .asdhh-report-intro .asdhh-eyebrow,
body.asdhh-portal-route-reports .asdhh-report-intro h2+p{
  display:none!important;
}
body.asdhh-portal-route-reports .asdhh-report-intro h2{
  margin:0!important;
  font-size:1.05rem!important;
}
body.asdhh-portal-route-reports .asdhh-report-builder{
  gap:12px!important;
}
body.asdhh-portal-route-reports .asdhh-report-builder .asdhh-form-grid{
  gap:10px!important;
}
body.asdhh-portal-route-reports .asdhh-report-period-fields{
  margin:0!important;
}
body.asdhh-portal-route-reports .asdhh-report-compare{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  margin:0!important;
}
body.asdhh-portal-route-reports .asdhh-report-compare input{
  width:16px!important;
  height:16px!important;
  min-height:0!important;
}
body.asdhh-portal-route-reports .asdhh-form-actions{
  margin-top:0!important;
}

/* Tasks and Notifications already use compact rows; reduce the remaining page
   chrome so the work itself is the focus. */
body.asdhh-portal-route-core-tasks .asdhh-toolbar,
body.asdhh-portal-route-notifications .asdhh-plugin-tabs{
  margin-top:0!important;
}
body.asdhh-portal-route-core-tasks .asdhh-toolbar{
  margin-bottom:12px!important;
}
body.asdhh-portal-route-notifications .asdhh-actions{
  margin:10px 0!important;
}

/* Quick Parts: Scope is a compact filter, not a full-width content section.
   Keep the rich-text editor roomy because that is the actual work area. */
body.asdhh-portal-route-email-quick-parts .asdhh-core-quick-parts-admin{
  gap:14px!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-parts-filter{
  display:flex!important;
  align-items:end!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  padding:10px 12px!important;
  gap:10px!important;
  border-color:var(--asdhh-ui-border)!important;
  border-radius:11px!important;
  background:#f8fafc!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-parts-filter label{
  gap:4px!important;
  font-size:.82rem!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-parts-filter select{
  min-width:180px!important;
  width:auto!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add-heading p{
  display:none!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add{
  gap:10px!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add-form{
  grid-template-columns:minmax(170px,.5fr) minmax(210px,.7fr) minmax(420px,1.8fr)!important;
  gap:10px!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add-action{
  margin-top:0!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-parts-categories{
  gap:6px!important;
  margin-bottom:12px!important;
}
body.asdhh-portal-route-email-quick-parts .asdhh-quick-parts-categories textarea{
  min-height:92px!important;
  max-width:560px!important;
}

/* My Profile: remove the second explanatory sentence and make the photo area
   a compact account control rather than the dominant element on the screen. */
body.asdhh-portal-route-core-profile .asdhh-profile-tabs{
  margin-bottom:14px!important;
}
body.asdhh-portal-route-core-profile .asdhh-profile-panel>h2+p{
  display:none!important;
}
body.asdhh-portal-route-core-profile .asdhh-profile-panel-wrap{
  padding:16px!important;
}
body.asdhh-portal-route-core-profile .asdhh-profile-photo-card{
  grid-template-columns:104px minmax(0,1fr)!important;
  gap:16px!important;
  margin:12px 0 16px!important;
  padding:13px!important;
  border-radius:12px!important;
}
body.asdhh-portal-route-core-profile .asdhh-profile-photo-preview{
  width:104px!important;
  height:104px!important;
}
body.asdhh-portal-route-core-profile .asdhh-profile-photo-card h3{
  margin:0 0 5px!important;
  font-size:1rem!important;
}
body.asdhh-portal-route-core-profile .asdhh-profile-photo-card p{
  margin:0 0 8px!important;
  font-size:.8rem!important;
  line-height:1.35!important;
}
body.asdhh-portal-route-core-profile .asdhh-profile-photo-upload{
  gap:8px!important;
  font-size:.82rem!important;
}
body.asdhh-portal-route-core-profile .asdhh-profile-photo-remove{
  margin-top:8px!important;
  font-size:.82rem!important;
}
body.asdhh-portal-route-core-profile .asdhh-form-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
body.asdhh-portal-route-core-profile .asdhh-days{
  margin:12px 0!important;
}
body.asdhh-portal-route-core-profile .asdhh-check-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
body.asdhh-portal-route-core-profile .asdhh-check-grid label{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:8px 10px!important;
  font-size:.84rem!important;
}
body.asdhh-portal-route-core-profile .asdhh-check-grid input[type=checkbox]{
  width:16px!important;
  height:16px!important;
  min-height:0!important;
  margin:0!important;
}

/* Core search/email management routes should not fall back to full-width
   oversized headings or controls either. */
body.asdhh-portal-core-ui .asdhh-content :where(.asdhh-plugin-tabs,.asdhh-tabs){
  margin-top:0!important;
}
body.asdhh-portal-core-ui .asdhh-content :where(.asdhh-help-text,.description){
  font-size:.8rem!important;
  line-height:1.4!important;
}

@media(max-width:900px){
  body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add-form{
    grid-template-columns:1fr 1fr!important;
  }
  body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add-body{
    grid-column:1/-1!important;
  }
  body.asdhh-portal-route-core-profile .asdhh-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  body.asdhh-portal-route-email-quick-parts .asdhh-quick-parts-filter{
    width:100%!important;
  }
  body.asdhh-portal-route-email-quick-parts .asdhh-quick-parts-filter label,
  body.asdhh-portal-route-email-quick-parts .asdhh-quick-parts-filter select{
    width:100%!important;
  }
  body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add-form,
  body.asdhh-portal-route-core-profile .asdhh-form-grid,
  body.asdhh-portal-route-core-profile .asdhh-check-grid{
    grid-template-columns:1fr!important;
  }
  body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add-body,
  body.asdhh-portal-route-email-quick-parts .asdhh-quick-part-add-action{
    grid-column:auto!important;
  }
  body.asdhh-portal-route-core-profile .asdhh-profile-photo-card{
    grid-template-columns:1fr!important;
    text-align:left!important;
  }
  body.asdhh-portal-route-core-profile .asdhh-profile-photo-preview{
    margin:0!important;
  }
}

/* v4.10.6: compact secondary-action menu used across migrated staff modules. */
.asdhh-more-menu{position:relative;display:inline-block;margin:0}
.asdhh-more-menu>summary{list-style:none;cursor:pointer;user-select:none}
.asdhh-more-menu>summary::-webkit-details-marker{display:none}
.asdhh-more-menu__panel{position:absolute;z-index:80;right:0;top:calc(100% + 6px);display:grid;gap:6px;min-width:190px;padding:8px;background:#fff;border:1px solid #d8e1ea;border-radius:10px;box-shadow:0 12px 28px rgba(23,50,77,.14)}
.asdhh-more-menu__panel form{margin:0}
.asdhh-more-menu__panel :where(a,button){width:100%;justify-content:flex-start;white-space:nowrap}
.asdhh-more-menu[open]>summary{position:relative;z-index:81}
@media(max-width:640px){.asdhh-more-menu__panel{position:fixed;left:16px;right:16px;top:auto;bottom:16px;min-width:0}}

/* v4.21.0 — Core work lists use the same compact record-list language as the
   redesigned AIAS workspace. Tasks are actionable work; Notifications are
   informational updates, but both share one predictable list pattern. */
body.asdhh-portal-core-ui .asdhh-core-list-filters{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(150px,1fr)) auto auto;
  gap:10px!important;
  align-items:end!important;
  margin:0 0 14px!important;
  padding:13px 14px!important;
  border:1px solid #d7e4ef!important;
  border-radius:13px!important;
  background:#f8fbfe!important;
  box-shadow:0 3px 12px rgba(11,45,111,.035)!important;
}
body.asdhh-portal-core-ui .asdhh-core-list-filters-notifications{
  grid-template-columns:repeat(2,minmax(170px,1fr)) auto auto;
}
body.asdhh-portal-core-ui .asdhh-core-list-filters label{
  display:grid!important;
  gap:5px!important;
  margin:0!important;
  color:#526a82!important;
  font-size:.75rem!important;
  font-weight:750!important;
}
body.asdhh-portal-core-ui .asdhh-core-list-filters select{
  width:100%!important;
  min-height:39px!important;
  padding:6px 34px 6px 10px!important;
  border:1px solid #c9d9e6!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#18344f!important;
  font-size:.79rem!important;
}
body.asdhh-portal-core-ui .asdhh-core-list-filters>.asdhh-button{
  min-height:39px!important;
  padding:7px 13px!important;
  white-space:nowrap!important;
}
body.asdhh-portal-core-ui .asdhh-core-list-panel{
  padding:10px 16px 14px!important;
  overflow:visible!important;
}
body.asdhh-portal-core-ui .asdhh-core-table-wrap{
  overflow-x:auto!important;
  width:100%!important;
}
body.asdhh-portal-core-ui .asdhh-core-table{
  width:100%!important;
  min-width:860px!important;
  border-collapse:collapse!important;
  table-layout:auto!important;
}
body.asdhh-portal-core-ui .asdhh-core-table th{
  padding:12px 10px!important;
  border-bottom:1px solid #dce6ee!important;
  background:#fff!important;
  color:#536a82!important;
  font-size:.71rem!important;
  font-weight:750!important;
  text-align:left!important;
  text-transform:none!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
body.asdhh-portal-core-ui .asdhh-core-table td{
  padding:12px 10px!important;
  border-bottom:1px solid #e5edf3!important;
  color:#2d465e!important;
  font-size:.78rem!important;
  vertical-align:middle!important;
}
body.asdhh-portal-core-ui .asdhh-core-table tbody tr:last-child td{border-bottom:0!important}
body.asdhh-portal-core-ui .asdhh-core-clickable-row{cursor:pointer!important;transition:background .15s ease,box-shadow .15s ease!important}
body.asdhh-portal-core-ui .asdhh-core-clickable-row:hover,
body.asdhh-portal-core-ui .asdhh-core-clickable-row:focus{background:#f4f9ff!important;outline:0!important}
body.asdhh-portal-core-ui .asdhh-core-clickable-row:focus-visible{box-shadow:inset 0 0 0 2px #7aaee0!important}
body.asdhh-portal-core-ui .asdhh-core-table tr.is-unread{background:#fbfdff!important}
body.asdhh-portal-core-ui .asdhh-core-table tr.is-unread td:first-child{border-left:4px solid #075da8!important;padding-left:12px!important}
body.asdhh-portal-core-ui .asdhh-core-table td:first-child strong{
  display:block!important;
  color:#102e58!important;
  font-size:.84rem!important;
  line-height:1.3!important;
}
body.asdhh-portal-core-ui .asdhh-core-table td:first-child small{
  display:block!important;
  max-width:460px!important;
  margin-top:3px!important;
  color:#63788b!important;
  font-size:.72rem!important;
  line-height:1.35!important;
}
body.asdhh-portal-core-ui .asdhh-core-table td.is-danger{color:#a3262d!important;font-weight:750!important}
body.asdhh-portal-core-ui .asdhh-core-priority{
  display:inline-flex!important;
  align-items:center!important;
  min-height:25px!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  background:#edf3f7!important;
  color:#3d5d76!important;
  font-size:.69rem!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body.asdhh-portal-core-ui .asdhh-core-priority.asdhh-priority-urgent{background:#ffe5e5!important;color:#a71f27!important}
body.asdhh-portal-core-ui .asdhh-core-priority.asdhh-priority-high{background:#fff0cf!important;color:#7c5500!important}
body.asdhh-portal-core-ui .asdhh-core-priority.asdhh-priority-low{background:#e9f5f4!important;color:#276560!important}
body.asdhh-portal-core-ui .asdhh-core-row-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  white-space:nowrap!important;
}
body.asdhh-portal-core-ui .asdhh-core-row-actions form{margin:0!important}
body.asdhh-portal-core-ui .asdhh-core-row-actions .asdhh-button{
  min-height:32px!important;
  padding:5px 9px!important;
  font-size:.7rem!important;
  white-space:nowrap!important;
}
body.asdhh-portal-core-ui .asdhh-core-pagination{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:14px 2px 0!important;
  color:#60758a!important;
  font-size:.75rem!important;
}
body.asdhh-portal-core-ui .asdhh-core-pagination>div{display:flex!important;gap:7px!important}
body.asdhh-portal-core-ui .asdhh-core-pagination .asdhh-button{min-height:33px!important;padding:5px 10px!important;font-size:.71rem!important}
body.asdhh-portal-route-core-tasks .asdhh-page-heading .asdhh-page-actions,
body.asdhh-portal-route-notifications .asdhh-page-heading .asdhh-page-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
body.asdhh-portal-route-core-tasks .asdhh-page-heading .asdhh-page-actions form,
body.asdhh-portal-route-notifications .asdhh-page-heading .asdhh-page-actions form{margin:0!important}

@media(max-width:1050px){
  body.asdhh-portal-core-ui .asdhh-core-list-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.asdhh-portal-core-ui .asdhh-core-list-filters>.asdhh-button{justify-self:start!important}
}
@media(max-width:760px){
  body.asdhh-portal-core-ui .asdhh-core-list-filters,
  body.asdhh-portal-core-ui .asdhh-core-list-filters-notifications{grid-template-columns:1fr!important}
  body.asdhh-portal-core-ui .asdhh-core-list-filters>.asdhh-button{width:100%!important;justify-content:center!important}
  body.asdhh-portal-core-ui .asdhh-core-list-panel{padding:8px!important;background:transparent!important;border:0!important;box-shadow:none!important}
  body.asdhh-portal-core-ui .asdhh-core-table-wrap{overflow:visible!important}
  body.asdhh-portal-core-ui .asdhh-core-table,
  body.asdhh-portal-core-ui .asdhh-core-table tbody{display:grid!important;min-width:0!important;gap:10px!important}
  body.asdhh-portal-core-ui .asdhh-core-table thead{display:none!important}
  body.asdhh-portal-core-ui .asdhh-core-table tr{display:grid!important;gap:0!important;padding:11px 13px!important;border:1px solid #d7e4ef!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 12px rgba(11,45,111,.04)!important}
  body.asdhh-portal-core-ui .asdhh-core-table tr.is-unread{border-left:4px solid #075da8!important}
  body.asdhh-portal-core-ui .asdhh-core-table tr.is-unread td:first-child{border-left:0!important;padding-left:0!important}
  body.asdhh-portal-core-ui .asdhh-core-table td{display:grid!important;grid-template-columns:minmax(110px,.42fr) minmax(0,.58fr)!important;gap:8px!important;padding:7px 0!important;border:0!important;border-top:1px solid #edf2f6!important;align-items:start!important}
  body.asdhh-portal-core-ui .asdhh-core-table td:first-child{display:block!important;padding-top:0!important;border-top:0!important}
  body.asdhh-portal-core-ui .asdhh-core-table td:not(:first-child)::before{content:attr(data-label);color:#647b90;font-size:.69rem;font-weight:800!important}
  body.asdhh-portal-core-ui .asdhh-core-table .asdhh-table-action{display:block!important}
  body.asdhh-portal-core-ui .asdhh-core-row-actions{justify-content:flex-start!important;flex-wrap:wrap!important;padding-top:2px!important}
  body.asdhh-portal-core-ui .asdhh-core-pagination{align-items:flex-start!important;flex-direction:column!important}
  body.asdhh-portal-core-ui .asdhh-core-pagination>div{width:100%!important}
  body.asdhh-portal-core-ui .asdhh-core-pagination .asdhh-button{flex:1!important;justify-content:center!important}
}

/* Match the shared mobile record-card pattern on narrow phones. */
@media(max-width:520px){
  body.asdhh-portal-core-ui .asdhh-core-table td:not(:first-child){grid-template-columns:minmax(0,1fr)!important;gap:4px!important;overflow-wrap:break-word!important;word-break:normal!important}
}

/* v4.21.1 — Task list is the working surface; creation and editing use one
   compact dialog so staff do not have to open a second page that repeats the
   same task information. */
body.asdhh-portal-route-core-tasks .asdhh-task-list-table{min-width:780px!important}
body.asdhh-portal-route-core-tasks .asdhh-task-list-table td:first-child{width:38%!important}
body.asdhh-portal-route-core-tasks .asdhh-task-list-table .asdhh-task-description{max-width:560px!important;font-size:.75rem!important;line-height:1.45!important}
body.asdhh-portal-route-core-tasks .asdhh-task-list-table .asdhh-task-meta{margin-top:5px!important;color:#496d8c!important;font-weight:700!important}
body.asdhh-portal-route-core-tasks .asdhh-task-modal-row{cursor:pointer!important}
.asdhh-core-task-dialog{width:min(900px,calc(100vw - 28px));max-width:none;max-height:calc(100vh - 28px);padding:0;border:0;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(25,31,52,.28);overflow:hidden}
.asdhh-core-task-dialog::backdrop{background:rgba(25,31,52,.55);backdrop-filter:blur(2px)}
.asdhh-core-task-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid #e1e7ed;background:#fff}
.asdhh-core-task-dialog-head h2{margin:0!important;color:#102e58;font-size:1.2rem!important}
.asdhh-core-task-dialog-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#eef3f7;color:#2a435b;font:inherit;font-size:1.6rem;line-height:1;cursor:pointer}
.asdhh-core-task-dialog-form{max-height:calc(100vh - 96px);overflow-y:auto;padding:20px!important;margin:0!important;background:#fff!important;border:0!important;box-shadow:none!important}
.asdhh-core-task-dialog-form>.asdhh-field:first-of-type input{font-weight:750}
.asdhh-core-task-dialog-form .asdhh-task-record-picker{margin-top:14px}
.asdhh-core-task-dialog-form .asdhh-task-record-picker-heading h3{margin:2px 0 4px;font-size:1.02rem;color:#102e58}
.asdhh-core-task-dialog-actions{position:sticky;bottom:-20px;display:flex;justify-content:flex-end;gap:9px;margin:18px -20px -20px;padding:14px 20px;border-top:1px solid #e1e7ed;background:#fff;box-shadow:0 -8px 18px rgba(20,51,80,.04)}
@media(max-width:760px){
  .asdhh-core-task-dialog{width:100vw;max-height:100vh;border-radius:0}
  .asdhh-core-task-dialog-form{max-height:calc(100vh - 74px);padding:16px!important}
  .asdhh-core-task-dialog-actions{bottom:-16px;margin:16px -16px -16px;padding:12px 16px}
  body.asdhh-portal-route-core-tasks .asdhh-task-list-table td:first-child{width:auto!important}
}

/* v4.21.2 — Notifications are a lightweight information feed rather than a
   second task list. View/service are the only filters; unread state is visual. */
body.asdhh-portal-route-notifications .asdhh-core-list-filters-notifications{
  grid-template-columns:repeat(2,minmax(180px,1fr)) auto auto!important;
}
body.asdhh-portal-route-notifications .asdhh-notifications-table{
  min-width:720px!important;
}
body.asdhh-portal-route-notifications .asdhh-notifications-table th:first-child,
body.asdhh-portal-route-notifications .asdhh-notifications-table td:first-child{
  width:52%!important;
}
body.asdhh-portal-route-notifications .asdhh-notifications-table tr.is-archived{
  opacity:.78!important;
}
body.asdhh-portal-route-notifications .asdhh-notification-priority{
  display:inline-flex!important;
  margin-top:7px!important;
  padding:2px 7px!important;
  border-radius:999px!important;
  background:#edf3f7!important;
  color:#3d5d76!important;
  font-size:.66rem!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body.asdhh-portal-route-notifications .asdhh-notification-priority.asdhh-priority-urgent{background:#ffe5e5!important;color:#a71f27!important}
body.asdhh-portal-route-notifications .asdhh-notification-priority.asdhh-priority-high{background:#fff0cf!important;color:#7c5500!important}
body.asdhh-portal-route-notifications .asdhh-notification-full{
  margin-top:10px!important;
  padding:10px 12px!important;
  border-left:3px solid #c9d9e6!important;
  background:#f7fafc!important;
  color:#314d66!important;
  font-size:.75rem!important;
  line-height:1.5!important;
}
@media(max-width:760px){
  body.asdhh-portal-route-notifications .asdhh-core-list-filters-notifications{grid-template-columns:1fr!important}
}

/* Stage 1 — Core-owned module identity. Every recognised staff module sets
 * ONLY its primary/soft colours here; Core maps them to the legacy aliases.
 * Semantic success/warning/danger colours deliberately remain independent.
 */
body.asdhh-portal-service-people-families .asdhh-app{--asdhh-module-accent:#087f78;--asdhh-module-accent-soft:#ecf8f7}
body.asdhh-portal-service-contact-manager .asdhh-app{--asdhh-module-accent:#3e6f8e;--asdhh-module-accent-soft:#eff5f8}
body.asdhh-portal-service-documents .asdhh-app{--asdhh-module-accent:#365fa5;--asdhh-module-accent-soft:#eef3fb}
body.asdhh-portal-service-advice .asdhh-app{--asdhh-module-accent:#075da8;--asdhh-module-accent-soft:#eaf4ff}
body.asdhh-portal-service-screening-tools .asdhh-app{--asdhh-module-accent:#b33f6d;--asdhh-module-accent-soft:#fbf0f5}
body.asdhh-portal-service-families-together .asdhh-app{--asdhh-module-accent:#2f7d4a;--asdhh-module-accent-soft:#eef7f0}
body.asdhh-portal-service-events-groups .asdhh-app{--asdhh-module-accent:#137b9b;--asdhh-module-accent-soft:#edf8fb}
body.asdhh-portal-service-training .asdhh-app{--asdhh-module-accent:#a86400;--asdhh-module-accent-soft:#fff7e8}
body.asdhh-portal-service-online-learning .asdhh-app{--asdhh-module-accent:#6854a8;--asdhh-module-accent-soft:#f3f0fb}
body.asdhh-portal-service-finance .asdhh-app{--asdhh-module-accent:#16724f;--asdhh-module-accent-soft:#eef8f4}
body.asdhh-portal-service-feedback .asdhh-app{--asdhh-module-accent:#9f4f75;--asdhh-module-accent-soft:#fbf1f5}
body.asdhh-portal-service-incidents .asdhh-app{--asdhh-module-accent:#9b5d28;--asdhh-module-accent-soft:#fbf3ec}
body.asdhh-portal-service-meeting-records .asdhh-app{--asdhh-module-accent:#536b92;--asdhh-module-accent-soft:#f1f3f8}
body.asdhh-portal-service-policies .asdhh-app{--asdhh-module-accent:#5b5f8f;--asdhh-module-accent-soft:#f3f3f8}
body.asdhh-portal-service-resources .asdhh-app{--asdhh-module-accent:#2f786e;--asdhh-module-accent-soft:#eef7f5}
body.asdhh-portal-service-safeguarding .asdhh-app{--asdhh-module-accent:#77496f;--asdhh-module-accent-soft:#f7f0f5}
body.asdhh-portal-service-social-media .asdhh-app{--asdhh-module-accent:#376c9c;--asdhh-module-accent-soft:#eef4fa}
body.asdhh-portal-service-trustees .asdhh-app{--asdhh-module-accent:#66508a;--asdhh-module-accent-soft:#f3f0f8}
body.asdhh-portal-service-volunteers .asdhh-app{--asdhh-module-accent:#37765f;--asdhh-module-accent-soft:#eef7f3}
body.asdhh-portal-service-pip-support .asdhh-app{--asdhh-module-accent:#405e9e;--asdhh-module-accent-soft:#eef2fa}
body.asdhh-portal-service-dla-support .asdhh-app{--asdhh-module-accent:#76518e;--asdhh-module-accent-soft:#f5f0f8}
body.asdhh-portal-service-email-campaigns .asdhh-app{--asdhh-module-accent:#2d6c98;--asdhh-module-accent-soft:#eef5fa}
body.asdhh-portal-service-visual-aids .asdhh-app,
body.asdhh-portal-service-public-visual-aids .asdhh-app{--asdhh-module-accent:#985c53;--asdhh-module-accent-soft:#faf2f0}