/* ==========================================================================
   RAPTECH DESIGN SYSTEM — raptech-design.css (umbrella)
   --------------------------------------------------------------------------
   Single-file entry point for the design system. Every Thymeleaf template
   in the app loads ONLY this file (plus, on grid screens, AG Grid's own
   CSS + raptech-aggrid-theme.css).

   <link rel="stylesheet" th:href="@{/css/raptech-design/raptech-design.css}"/>

   File order below is intentional — tokens → reset → shell → cross-cutting
   components → per-pattern. Pattern files (dashboard / form / grid) are
   imported here so a single link covers every screen; only a few KB and
   reused across screens, so the simplicity is worth more than per-screen
   trimming.

   AG Grid: load on grid screens AFTER this file. See raptech-aggrid-theme.css.
   ========================================================================== */

@import url("tokens.css");
@import url("base.css");
@import url("shell.css");
@import url("components.css");
@import url("dashboard.css");
@import url("form.css");
@import url("raptech-form-controls-fix.css");
@import url("grid.css");
@import url("platform.css");   /* control-plane pattern (Super Admin 564+) — before AG Grid skin */
@import url("login-home.css");  /* configurable Login + My Home registry (design handoff Jul 2026) — after platform.css (reuses .plat-banner/.sandbox-banner/.customer-notice) */
@import url("entitlements.css"); /* Entitlements screen 565 pattern */
@import url("packages.css");     /* Package Builder 565 (surfaces A + B) */
@import url("picker.css");
@import url("crm.css");        /* CRM Funnel shared vocab (Leads & Deals redesign, GH #36) — pattern-setter for modules 596-602 */
@import url("price-lists.css"); /* Price Lists 0.1 (module 158/175, GH #154) — .default-badge + .field.locked wired; rest ported for 0.2+/1.1+/2.x */
@import url("itemmaster.css"); /* Approved adaptive Item Master vocabulary (GH #1573). */
@import url("item-identity.css"); /* Item identity UI preview: AMP + supplier references. */
@import url("manufacturer.css"); /* Manufacturer Party-role register and lifecycle form. */
@import url("price-list-import.css"); /* Approved atomic Price List import vocabulary (GH #1573). */
@import url("myday.css");      /* My Day rep view (GH #27, module 598) — after crm.css (reuses .td-badge/tokens) */
@import url("calendar.css");   /* Google Workspace calendar integration (601, GH #28) — reuses crm.css .avatar-xs/.btn */
@import url("activity.css");   /* Activity creation on the record (GH #253) — reuses crm.css/calendar.css .avatar-xs/.sync-badge/.cal-modal/.att-box */
@import url("pipeline-config.css"); /* Pipeline Configuration 596 (GH #24) — admin master-detail (.pc- and .st- prefixed classes) */
@import url("ai.css");         /* Claude CRM AI agent (599, GH #33) — global .ai-agent-fab / .ai-agent-drawer trigger (layout/base.html) needs this loaded on every page, not just /ai-agent */
@import url("itemformula-grid.css");
@import url("reporting-hub.css");
@import url("cost.css");       /* Cost Estimating editor (GH #353, Costing v1 C-2) — after crm.css (reuses .stage-chip/.state-banner vocab) */
@import url("cost2.css");     /* Cost Estimating v2 vocabulary: attachments (GH #1081) — adds att-* classes */
@import url("attachments.css"); /* Canonical shared attachment panel (GH #1325) */
@import url("cost3.css");     /* Cost Estimating v3 composition: viewport frame + dense lines grid (GH #1224) */
@import url("qgen.css");     /* Non-destructive Estimate → Quote workbench (GH #950, approved web design) */
@import url("crm-analytics.css");  /* CRM analytics shared vocab (.fc-tile/.fc-filters/.dsh-w/.wl-*) — Win/Loss Analysis (600-provisional module 604, GH #31) pattern-setter for Forecast/Manager Dashboards */
@import url("active-cards.css");         /* Active-work notebook cards (SFL screens; shared folder) */
@import url("active-report-date-filter.css"); /* #1853 active-report date filter shell */
@import url("production-dashboard.css"); /* Production summary dashboard (SFL screens; shared folder) */
@import url("schedule-board.css");       /* Production Gantt / Schedule Board renderer (.gb-*; Core, edition-neutral) */
@import url("tool-schedule.css");        /* Searchable Tool Schedule master-detail editor (SFL) */
@import url("navmenu.css");
@import url("access.css");    /* Module & Access Management screens (design handoff Jul 2026) — after navmenu.css */              /* Menu Personalization editor 567 (both planes) */
@import url("formconfig.css"); /* Form Configuration merged surface 561/591 + Charges 592 + PO rail (design handoff Jul 2026) — after access.css (reuses .am-seg/.am-radio/.am-link-btn) */
@import url("terminology.css"); /* Menu Personalization Terminology tab (GH #100) — after formconfig.css (reuses .fc-card/.fc-tabstrip) */
@import url("quote.css");       /* Costing + Quotation v1 C-4 (GH #355, module 52) — after price-lists.css (reuses .margin-cell/.low/.m-pct) and crm.css (.stage-chip) */
@import url("purchase-order.css"); /* Modern Purchase Order P-2 line grid and drawer — after quote/form shared vocabulary */
@import url("party.css");       /* Party Master C10 (GH #830) — Customer/Supplier form banners/role-indicator/reg-table/place-card/gate-card */
@import url("party-import.css"); /* Customer/Supplier atomic import wizard */
@import url("raplistgrid-renderers.css"); /* RapListGrid renderers for modern document lists (GH #1308) — after crm.css (reuses .stage-chip/.dot) */
