/* ==========================================================================
   BioWell Main CSS Entry Point — LEGACY
   ==========================================================================
   All imports below are placed into the @layer legacy cascade layer so that
   the bw-system stylesheet (static/css/system/system.css) wins cleanly with
   `@layer legacy, reset, tokens, base, components, layouts, utilities, overrides;`.

   Each remaining file is documented with its reason for survival.
   ========================================================================== */

/* Design tokens — :root vars must apply globally, not inside a cascade layer */
@import url('tokens/_tokens.css');

/* Base reset + typography — neutral baselines, kept layered */
@import url('base/_reset.css') layer(legacy);
@import url('base/_typography.css') layer(legacy);

/* Components — only the files still serving real templates remain.
   Component CSS history (deleted / promoted) lives in git log.
   All component CSS now lives under static/css/system/. */

/* Layouts — deleted files history lives in git log. */

/* Pages — kept only where the consumer template hasn't been migrated to a system equivalent. */
@import url('pages/_onboarding.css') layer(legacy);          /* onboarding redesign in flight — keep */
@import url('pages/_patient-detail.css') layer(legacy);      /* .pd-* — staff/patient_detail.html + review_patient_forms.html (promoted 2026-05-26 from static/css/patient_detail.css) */
@import url('pages/_doctor-dashboard.css') layer(legacy);    /* .dd-* — staff/dashboard.html page chrome (promoted 2026-05-26 from inline <style>) */
@import url('pages/_doctor-mobile.css') layer(legacy);       /* .bw-mobile-nav* — doctor-side bottom dock only (patient side uses canonical .bws-mnav) */
@import url('pages/_clinical_requests.css') layer(legacy);   /* .cri-* / .ptr-* — unified clinical requests inbox + create modals */
@import url('pages/_feedback_home.css') layer(legacy);       /* .bws-fb-* — patient weekly check-in hub (promoted 2026-05-26 from inline <style>) */
@import url('pages/_patient_faqs.css') layer(legacy);        /* .fq-* — patient FAQs editorial page (promoted 2026-05-26) */
@import url('pages/_patient_nutrition.css') layer(legacy);   /* .ni-* — patient nutritional-info editorial page (promoted 2026-05-26) */
@import url('pages/_injection_guide.css') layer(legacy);     /* .ig-* — patient injection-guide page (promoted 2026-05-26) */
@import url('pages/_patient_exercise.css') layer(legacy);    /* patient exercise page (promoted 2026-05-28) */
@import url('pages/_patient_emergency_signs.css') layer(legacy); /* patient emergency-signs page (promoted 2026-05-28) */
@import url('pages/_prescription_upload.css') layer(legacy); /* .pen-card / .repeat-card / etc. — doctor prescription-upload (promoted 2026-05-26) */
@import url('pages/_prescription_view.css') layer(legacy);   /* .rx-* — printable prescription document (promoted 2026-05-26) */

/* Feedback chat mobile chrome — deleted; history in git log. */

/* Utilities */
@import url('utilities/_utilities.css') layer(legacy);
