/* A.I.C. FIX4: scoped surface alignment; audited 2026-10-19.
 * Loaded after per-page CSS. Does not modify F35-frozen CSS bytes.
 * Intentional transparent containers/buttons/overlays remain untouched.
 */
html.aic-layout-refactor .dashboard-page { padding-top: 0; }

html.aic-layout-refactor .dashboard-page .card,
html.aic-layout-refactor .hazard-new-page .card,
html.aic-layout-refactor .office-transfers-page .card,
html.aic-layout-refactor .waybills-page.staff-groups-page .card,
html.aic-layout-refactor .waybills-page.admin-groups-page .card,
html.aic-layout-refactor .group-form-page .card,
html.aic-layout-refactor .page--admin-group-show > .card {
  background-color: var(--ui-surface);
}

/* Existing admin group detail containers had neither surface nor boundary. */
html.aic-layout-refactor .page--admin-group-show > .card {
  border: 1px solid var(--ui-color-border);
  border-radius: var(--ui-radius-xl);
  box-shadow: var(--ui-shadow-xs);
}
