/* ============================================================
   Zonexen DesignPack — entry point.

   Loaded once per layout, AFTER `Css/Zonexen/Tokens.css`: every `--zp-*`
   colour is an alias onto a `--zn-*` token declared there, so the order is
   load-bearing rather than tidy. Load this first and the whole pack resolves
   to nothing — silently, because an undefined custom property falls back to
   the initial value and a card simply renders transparent.

   IT IS THE WHOLE SYSTEM. Since R12 there is no second stylesheet set: the
   three layouts load the palette, this file and one page sheet each
   (`Layouts/Public.css` for the marketing shell, `Pages/*.css` for a page's
   scaffolding). `Reset.css` carries the document defaults the old
   `Core/Base.css` used to, at zero specificity.

   Foundation first, components after — the components consume the tokens,
   the type roles and the layout primitives, and a component file that had to
   win a specificity fight against Foundation would mean the layer boundary
   had been crossed.

   `@import` rather than a build step: a Python project with no
   `package.json`, so there is no bundler to concatenate these. One request
   per file on a cold cache, which HTTP/2 makes cheap, and a library a
   developer can read one family at a time.

   AN UNIMPORTED STYLESHEET DOES NOT ERROR — it renders unstyled. A component
   file that lands in `Components/` without a line here fails by looking
   slightly wrong on one screen, which is the hardest kind of failure to
   attribute. Add the line in the same commit as the file.

   `.docs/Redesign/01-PHASE-PLAN.md` — R3 delivers the sixteen foundation
   families below; R4–R11 add the shells and the domain layers.
   ============================================================ */

/* ---- Foundation ---- */
@import url('./Foundation/Tokens.css');
@import url('./Foundation/Reset.css');
@import url('./Foundation/Typography.css');
@import url('./Foundation/Icons.css');
@import url('./Foundation/Layout.css');

/* ---- Temeller (F01–F16) — R3 ----
   In F-order rather than alphabetically, so this reads as the library's table
   of contents. The families are independent and never fight on specificity,
   with one exception stated where it lands: `TableFrame` is a wrapper AROUND
   `Table` and `DataTable` and is imported after both.

   VENDOR FIRST, WITHIN F05. `Vendor/Flatpickr.css` is upstream and untouched
   (R0, MIT); `DatePicker.css` repaints it from the `--zp-*` tokens, which it
   can only do if it loads after. Reverse the two and the calendar renders in
   flatpickr's own blue — a colour written nowhere in this repo, wrong in both
   themes, and impossible to find by searching for a hex. */

@import url('./Components/Button.css');        /* F01 */
@import url('./Components/Field.css');         /* F02 */
@import url('./Components/Combobox.css');      /* F03 */
@import url('./Components/Choice.css');        /* F04 */
@import url('../Vendor/Flatpickr.css');        /* F05 — upstream, untouched */
@import url('./Components/DatePicker.css');    /* F05 */
@import url('./Components/DateRange.css');     /* F05 */
@import url('./Components/Badge.css');         /* F06 */
@import url('./Components/Tabs.css');          /* F07 */
@import url('./Components/Filters.css');       /* F08 */
@import url('./Components/Table.css');         /* F09 */
@import url('./Components/DataTable.css');     /* F09 */
@import url('./Components/TableFrame.css');    /* F09 — wraps the two above */
@import url('./Components/TableModern.css');   /* F09 — DataFluvia's table skin, after the frame */
@import url('./Components/Modal.css');         /* F10 */
@import url('./Components/Drawer.css');        /* F11 */
@import url('./Components/Toast.css');         /* F12 */
@import url('./Components/States.css');        /* F13 */
@import url('./Components/Menu.css');          /* F14 */
@import url('./Components/Stepper.css');       /* F15 */
@import url('./Components/FlowStepper.css');   /* S05 — yatay adım çubuğu (DataFluvia) */
@import url('./Components/FileTransfer.css');  /* F16 */
@import url('./Components/GuideBlocks.css');   /* F17 — zpIconLead, zpActionCard, zpSubhead */
@import url('./Components/IconPicker.css');    /* F18 — marka işareti: ikon ya da logo */

/* ---- Kabuklar ve navigasyon (S01–S03) — R4 ----
   Shell first: `ControlShell.css` restyles `.zp-rail` for the band surface
   and therefore has to win, which it does by loading after rather than by
   out-specifying anything. `ContextSwitcher.css` is independent of both and
   sits last only because it reads as the third thing in the rail.

   The old `Css/Layouts/AppShell.css` went in R11 with the rest of the
   `.xn-*` shell; `.zp-shell` owns the grid now. */
@import url('./Components/Shell.css');           /* S01 */
@import url('./Components/ControlShell.css');    /* S02 — kapsam çubuğu, bant, operatör taşları */
@import url('./Components/ControlChrome.css');   /* S02 — ray ve topbar yüzü (DataFluvia), S01'in üstüne */
@import url('./Components/Overview.css');        /* S03 — KPI kartı ve genel bakış paneli (DataFluvia) */
@import url('./Components/LinkPanel.css');       /* S04 — özet kartı: başlık karosu, satır kapıları */
@import url('./Components/ContextSwitcher.css'); /* S03 */

/* ---- Kimlik ve kurulum (I01–I03) — R5 ----
   `CustomerSignIn.css` diptiği, sekmeleri, parola alanını ve kod
   kutularını taşır; `ControlSignIn.css` yalnız Control kapısının ondan
   AYRILDIĞI yerdir ve bu yüzden sonra yüklenir — panelin bant yüzeyine
   geçmesi özgüllükle değil sırayla kazanılır. `OrgOnboarding.css`
   ikisinden de bağımsız: kurulum kabuğun içinde render eder, diptikte
   değil.

   `Pages/Identity.css` (985 satır) ve `Pages/Onboarding.css` (466 satır)
   bu üç dosyaya emildi ve R11'de silindi. */
@import url('./Components/CustomerSignIn.css');  /* I01 */
@import url('./Components/ControlSignIn.css');   /* I02 — I01'i Control'e çevirir */
@import url('./Components/AuthField.css');       /* I03 — DF kuyu alanı, F02'nin üstüne */
@import url('./Components/OrgOnboarding.css');   /* I03 */

/* ---- Client çekirdeği (C01–C13) — R6 ----
   `KpiTile` önce: ölçüm kartı overview'ün (CL-01) yapı taşı ve başka üç
   aile onun tipografisinin yanında durur. `TenantList` sonra, çünkü
   `TenantDetail` onun yaşam döngüsü rozetini yeniden kullanır ve
   `TenantSettings` ikisinin de içinde açılan onayın envanterini taşır.
   Geri kalanı bağımsız ve alfabetik değil, ekranın sırasıyla: ekip,
   erişim, entegrasyon, teslimat, profil. */
@import url('./Components/KpiTile.css');            /* C01 */
@import url('./Components/TenantList.css');         /* C02 */
@import url('./Components/TenantDetail.css');       /* C03 — C02'nin rozetini kullanır */
@import url('./Components/TenantSettings.css');     /* C04 */
@import url('./Components/TeamInvites.css');         /* C05 */
@import url('./Components/RoleAccess.css');         /* C06 */
@import url('./Components/AccessPolicy.css');       /* C07 */
@import url('./Components/AccessSimulator.css');    /* C08 — C07'nin sınır beyanını paylaşır */
@import url('./Components/SourceCatalog.css');      /* C09 */
@import url('./Components/SourceFreshness.css');   /* C10 */
@import url('./Components/SchemaMapping.css');      /* C11 */
@import url('./Components/DeliveryLog.css');       /* C12 */
@import url('./Components/ProfilePreferences.css');/* C13 */
@import url('./Components/BusinessUnitTree.css');   /* C14 */

/* ---- Campaign OS (K01–K05) — R7. Yeni aileler; Temeller'den kompoze. ---- */
@import url('./Components/CampaignWizard.css');     /* K01 */
@import url('./Components/MediaPlanAllocator.css'); /* K02 */
@import url('./Components/TargetingBuilder.css');   /* K03 */
@import url('./Components/PacingCurve.css');        /* K04 */
@import url('./Components/BrandSafety.css');        /* K05 — K03'ün etiket listesini kullanır */

/* ---- Assets, audience, inventory (A01–A06) — R8. Yeni aileler. ---- */
@import url('./Components/CreativePreview.css');     /* A02 — A01 çerçevesini buradan alır */
@import url('./Components/CreativeLibrary.css');     /* A01 */
@import url('./Components/AudienceBuilder.css');     /* A03 — K03'ün tahminini kullanır */
@import url('./Components/InventoryMarketplace.css');/* A04 */
@import url('./Components/InventoryList.css');       /* A05 — A04'ün hükmünü kullanır */
@import url('./Components/ChannelMark.css');         /* A06 — K02'nin kenar token'ını devralır */

/* ---- Ölçüm ve raporlama (M01–M15) — R9 ----
   Aktarılan aileler; `Chart` önce, çünkü `BoardEditor` ve `BriefReader`
   onun figürünü kutucuk ve bölüm içinde taşır. `MetricEditor`
   `MetricCatalog`ın durum pilini yeniden kullanır ve ondan sonra yüklenir.
   `QueryProgress` en sonda: F13'ün belirsiz çubuğunu ve F01'in meşgul
   düğmesini kullanır, kendi kuralı azdır. */
@import url('./Components/Chart.css');              /* M01 */
@import url('./Components/ChartCard.css');          /* M16 */
@import url('./Components/DataQuality.css');        /* M02 */
@import url('./Components/DrillDown.css');          /* M03 */
@import url('./Components/DriverAnalysis.css');     /* M04 */
@import url('./Components/CohortMatrix.css');       /* M05 */
@import url('./Components/ForecastPanel.css');      /* M06 */
@import url('./Components/Explainability.css');     /* M07 */
@import url('./Components/MetricCatalog.css');      /* M08 */
@import url('./Components/MetricEditor.css');       /* M09 — M08'in pilini kullanır */
@import url('./Components/BoardEditor.css');        /* M10 — C01'i kutucukta çıplaklaştırır */
@import url('./Components/BriefTemplate.css');      /* M11 */
@import url('./Components/BriefSchedule.css');      /* M12 */
@import url('./Components/BriefReader.css');        /* M13 */
@import url('./Components/ShareExport.css');        /* M14 — F16'nın iş kartını sarar */
@import url('./Components/QueryProgress.css');      /* M15 */

/* ---- Finans (P01–P06) — R10 ----
   Para tam sayı minor unit + ISO para birimi; hiçbir dosya bölmez.
   Tabular numeral her rakamda; renk asla tek sinyal. ---- */
@import url('./Components/WalletLedger.css');       /* P01 — yeni; F09 hücreleri + talep kartı */
@import url('./Components/CheckoutSummary.css');    /* P02 */
@import url('./Components/BillingMethods.css');     /* P03 */
@import url('./Components/InvoiceTable.css');       /* P04 */
@import url('./Components/Postpaid.css');           /* P05 — A05/S08'den indirgenmiş */
@import url('./Components/AlertRule.css');          /* P06 */

/* ---- Control (O01–O12) — R11 ----
   Operasyon konsolu: sessiz kaynak sıfır değil, kayıt düzenlenmez,
   çekince rakamın yanında. S02 ControlShell R4'te; R11 eklerini taşır. ---- */
@import url('./Components/AuditLog.css');           /* O01 */
@import url('./Components/OperationsHealth.css');   /* O02 — kuyruk şeridi, sessiz kaynak, sağlık kartı */
@import url('./Components/AnomalyFeed.css');        /* O03 */
@import url('./Components/RetentionPolicy.css');    /* O04 — bayrak geri alma notları */
@import url('./Components/UsageAnalytics.css');     /* O05 — reddedilen rakam */
@import url('./Components/OperatorDirectory.css');  /* O06 — A07'den */
@import url('./Components/OperatorAssignment.css'); /* O07 — A08'den */
@import url('./Components/RtbMonitor.css');         /* O08 — yeni */
@import url('./Components/SupplyQuality.css');      /* O09 — yeni */
@import url('./Components/FraudCase.css');          /* O10 — yeni */
@import url('./Components/Reconciliation.css');     /* O11 — yeni; O02'nin sessiz panelini kullanır */
@import url('./Components/ImpersonationBanner.css');/* O12 — yeni; bant S02'de */

/* ---- Marka ve public (L01–L02) — R12 ----
   Kelime markası kabuğun rayında, kimlik panelinde, pazarlama başlığında ve
   altlığında; yasal belge sayfada ve kayıt diyaloğunda. İkisi de paketin
   içinde çünkü iki ayrı kabukta render ediyorlar. ---- */
@import url('./Components/Brand.css');              /* L01 — yeni; eski Css/Components/Brand.css */
@import url('./Components/LegalDocument.css');      /* L02 — yeni; eski Css/Components/Document.css */
