OMS ENTERPRISE THEME FOUNDATION v1.0
CSS AUDIT AND OWNERSHIP MAP
================================

OBJECTIVE
---------
Make light/dark mode an application-wide theme decision rather than a page-level colour decision.
No operational register, workspace, KPI panel or tab bar should remain permanently black, navy or blue.

AUTHORITATIVE ACTIVE LAYERS
---------------------------
1. assets/css/oms-theme.css
   Owns all colour, surface, border, text, semantic and shadow tokens.

2. assets/css/style.css
   Legacy application shell and older module rules. Retained for compatibility during migration.
   New module styling must not be added here.

3. assets/css/oms-design-system.css
   Core shared components. Primary colour tokens changed from blue to OMS gold.

4. Module CSS
   Examples: properties.css, property-workspace.css, leases.css, lease-workspace.css.
   These may own structure/layout, but theme colours are overridden by shared tokens.

5. assets/css/oms-theme-foundation.css
   Loaded last. Enforces token-driven surfaces across current Lease and Property workspaces.
   This is the migration guardrail until legacy hardcoded declarations are fully removed.

LEASE WORKSPACE CONSOLIDATION
-----------------------------
lease_workspace.php now loads only:
- assets/css/lease-workspace.css

The following overlapping files are no longer loaded by lease_workspace.php:
- oms-workspace-framework.css
- oms-lease-polish.css
- oms-workspace-standard.css

They remain on the server temporarily for rollback/reference and can be moved to assets/css/archive after testing.

CURRENTLY RETAINED MODULE FILES
-------------------------------
properties.css
property-workspace.css
tenants.css
tenant-workspace.css
leases.css
lease-workspace.css
unit-engine.css
unit-carousel.css
unit-card-redesign.css
workspace-creator.css

CANDIDATES TO RETIRE AFTER REGRESSION TESTING
---------------------------------------------
components.css
oms-workspace-framework.css
oms-lease-polish.css
oms-workspace-standard.css

DO NOT DELETE YET
-----------------
The files above may still be referenced by old pages or retained for rollback. First confirm all test cases in TEST_PLAN_THEME_FOUNDATION_v1.txt.

DESIGN RULE GOING FORWARD
-------------------------
Allowed:
  background: var(--oms-surface);
  color: var(--oms-text);
  border-color: var(--oms-border);

Not allowed in operational components:
  background: #111;
  background: #151515;
  background: #fff;
  background: #2563eb;

Exception:
True overlays/lightboxes may use translucent black because they intentionally dim the underlying interface.
