## PDP Design System (design.pdp.uz) — UI rules for this repo

This project uses the PDP Design System, package @pdp/design-system@0.15.139. Before writing or changing any UI:

1. Read the task guide that matches the work, before anything else:
   - Web app — dashboard, ERP, CRM, admin panel: https://design.pdp.uz/ds/ai/task/web-app.md
   - Web app — records, approvals, reports, import (ERP-grade): https://design.pdp.uz/ds/ai/task/web-records.md
   - Dashboard and charts — aesthetics rules + 30-point check: https://design.pdp.uz/ds/ai/task/dashboard-charts.md
   - Mobile app — PDP Desk, PDP Talk, LMS app, Telegram Mini App: https://design.pdp.uz/ds/ai/task/mobile-app.md
   - Chat and messenger — web 3-pane shell, list, bubble, composer, states, mobile: https://design.pdp.uz/ds/ai/task/chat.md
   - Task management — rail shell, my work, inbox and triage, list, board, saved views and table, calendar, timeline, cycle, task detail panel, quick add, command palette, project page, settings, sign-in, states: https://design.pdp.uz/ds/ai/task/task.md
   - Website or landing page: https://design.pdp.uz/ds/ai/task/website.md
   - PDP School LMS: https://design.pdp.uz/ds/ai/task/lms.md
   - Presentation — 16:9 slide deck, printed to PDF: https://design.pdp.uz/ds/ai/task/slides.md
2. Link the pinned package (https://design.pdp.uz/ds/css/v0.15.139/pdp-components.css + <script defer src="https://design.pdp.uz/ds/css/v0.15.139/pdp-components.js">), the brand tokens and fonts exactly as the guide shows. Never copy the CSS or JS into this repo; never use the unpinned /ds/css/ URL in production.
3. Build only from recipes (https://design.pdp.uz/ds/ai/index.md lists every one). Copy their HTML structure and ARIA; use only classes that exist in the package.
4. Never invent a component, class, colour, font or icon. If a recipe is missing, use the closest one, add `<!-- PDP-DS: missing <what> -->` and tell the user.
5. Icons: https://design.pdp.uz/ds/icons/pdp-icons.svg (`<use href="#i-<name>"/>`), names in https://design.pdp.uz/ds/ai/icons.md. No emoji, no other icon set.
6. Never take product UI from the Brandbook, SMM, Print (Bosma) or Slides (Taqdimot) kits.

Self-check before you finish (and say which item failed, if any):
- [ ] No HEX/rgb/hsl colours and no raw px colours in your CSS — only var(--eco-*) tokens.
- [ ] Every class you used is either in the package or your own layout class (never an eco-* name you made up, never a demo-only class from a recipe).
- [ ] The package version in every <link>/import is the pinned one above.
- [ ] Status words and classes come from the status vocabulary in the task guide (.eco-status in table cells, .eco-badge standalone).
- [ ] Loading, empty and error states exist; one primary button per screen; keyboard focus visible; icon-only buttons have aria-label.
- [ ] UI text is Uzbek (Latin) with ‘ (U+2018) in o‘ and g‘; dates DD.MM.YYYY.

