brand: implement MediAsset AI identity and XYZ Hospital palette

This commit is contained in:
Antigravity
2026-11-18 18:16:20 +05:30
parent 13556aa423
commit 5740e9281c
13 changed files with 316 additions and 49 deletions
+12
View File
@@ -65,3 +65,15 @@ Items marked "to be confirmed" or left flexible in the proposal are recorded her
- *Cache Key*: `ai_summaries` caches narratives keyed by `(section, filters_hash, data_hash)` where `filters_hash` incorporates the active AI mode/provider/model so toggling `ai_enabled` or switching local models automatically refreshes narratives without stale cross-mode hits. Every write creates an `AuditLog` entry (`entity_type="ai_summary"`).
36. **AI Reporting API & 3-Sheet Excel Exports (AI Task 6)**: All `/api/ai/*` endpoints enforce role access via `require_roles(system_admin, biomedical, management, coordinator)` so `department_user` receives HTTP 403 across all AI routes (including status and exports), while `POST /api/ai/narrative/regenerate` is restricted strictly to `system_admin`. Both hyphenated (`breakdown-frequency`) and underscored (`breakdown_frequency`) section keys are accepted on regenerate and export endpoints. Excel exports reuse `services/exports.py` styling and `_sanitize_sheet_title` to produce 3 sheets: the main report sheet, `"Evidence"`, and `"How calculated"`.
37. **AI Report UI Navigation, Asset Links & Settings Grouping (AI Task 7)**: Sidebar retains a single `Reports` navigation entry; switching between Simple reports and AI report is handled via a segmented toggle on `ReportsPage` and `AIReportPage` (hidden for `department_user`, with `/reports/ai` guarded by `RoleGuard capability="view_ai_reports"`). Suggestion asset code badges link directly to `/assets/:id` when the asset is present in loaded section rows, falling back to `/assets?search=<code>`. On `SettingsPage`, the 9 cost/AI settings are grouped under `"AI and cost analysis"` alongside a read-only runtime status banner fetched from `/api/ai/status`.
38. **Brand Identity, Design Tokens & Hospital Name (MediAsset AI / XYZ Hospital)**:
- *Hospital Rebranding*: Hospital tenant name is designated as **XYZ Hospital** across application branding, titles, and authentication views.
- *Brand Palette*: The enterprise color system consists of:
- **Clinical Navy** (`#102C52`): Foundational authority, enterprise permanence, primary navigation backgrounds, executive typography.
- **Intelligence Blue** (`#2E5C9A`): Digital intelligence, AI India Innovations proposal alignment, interactive buttons, active tab states.
- **Medical Teal** (`#008E95`): MediAsset AI signature accent, telemetry indicator, precision highlights, status badges.
- **Pale Blue** (`#E8EFF7`): Soft ergonomic UI surfaces, card borders, subtle backgrounds.
- **Cloud White** (`#F8FAFC`): Crisp clinical workspace background.
- *Logo Direction*: Vector emblem combines a restrained medical-equipment pulse (ECG wave) with a connected asset/data-network node mesh (`/logo.svg`, `/logo-mark.svg`, fallback `/logo.jpg`). Avoids generic medical crosses, excessive circuitry, and complex gradients.
- *Typography*: Clean sans-serif family `Inter` for digital product and web; Calibri-compatible styling for corporate proposals and executive documentation.
- *Visual Personality*: Precise, reliable, modern, clinical, and enterprise-grade. Product presentations utilize authentic dashboard interfaces, equipment telemetry, and clear data visualizations rather than generic AI robot imagery.
- *Clearance Disclaimer*: "The name, tagline, logo concept, and palette are proposed brand assets and remain subject to clearance."
+99
View File
@@ -0,0 +1,99 @@
# Brand Guidelines — MediAsset AI (XYZ Hospital)
> **Legal Disclaimer / Clearance Notice**
> *The name, tagline, logo concept, and palette are proposed brand assets and remain subject to clearance.*
---
## 1. Brand Mission & Audience Credibility
The MediAsset AI brand identity is engineered to project clinical credibility, operational precision, and enterprise-grade reliability across three demanding stakeholder groups:
1. **Hospital Management & Executive Leadership (MDs, CEOs, COOs, Medical Directors)**: Demands fiscal accountability, regulatory compliance (NABH, ISO), audit defensibility, uptime reliability, and total cost of ownership visibility.
2. **Biomedical Engineering Teams**: Relies on operational accuracy, rapid breakdown resolution, scheduled maintenance adherence, calibration certification rigor, and straightforward workflows without superficial gimmicks.
3. **Enterprise IT & Security Decision-Makers**: Requires rock-solid role-based access control, local-first data governance, fast page loads, clean sans-serif typography, and integration-ready design standards.
---
## 2. Brand Palette & Color Architecture
The color system maintains dual alignment: foundational authority anchored to AI India Innovations' parent-company identity, distinguished by a modern, high-precision MediAsset AI product accent.
| Swatch | Color Name | Hex Code | RGB | Role & Usage Hierarchy |
| :--- | :--- | :--- | :--- | :--- |
| <div style="background:#102C52;width:32px;height:32px;border-radius:6px;border:1px solid #0002"></div> | **Clinical Navy** | `#102C52` | `rgb(16, 44, 82)` | **Primary Authority & Foundation**: Sidebar navigation background, primary headers, data table header borders, high-contrast dark typography. |
| <div style="background:#2E5C9A;width:32px;height:32px;border-radius:6px;border:1px solid #0002"></div> | **Intelligence Blue** | `#2E5C9A` | `rgb(46, 92, 154)` | **Parent Identity & Interaction**: Aligned with AI India Innovations' proposal palette. Primary action buttons, active navigation selections, focus rings. |
| <div style="background:#008E95;width:32px;height:32px;border-radius:6px;border:1px solid #0002"></div> | **Medical Teal** | `#008E95` | `rgb(0, 142, 149)` | **MediAsset AI Accent**: Signature product accent. Telemetry indicators, active status highlights, pulse accents, key metric callouts. *(Accent only — does not replace parent palette)* |
| <div style="background:#E8EFF7;width:32px;height:32px;border-radius:6px;border:1px solid #0002"></div> | **Pale Blue** | `#E8EFF7` | `rgb(232, 239, 247)` | **Ergonomic Surface Tint**: Soft card borders, hover states, secondary containers, modal headers, preventing eye strain in high-density clinical views. |
| <div style="background:#F8FAFC;width:32px;height:32px;border-radius:6px;border:1px solid #0002"></div> | **Cloud White** | `#F8FAFC` | `rgb(248, 250, 252)` | **Canvas Neutral**: Main application body background, crisp neutral canvas allowing operational data and urgency badges to stand out. |
---
## 3. Logo Concept & Direction
```
Restrained Pulse Wave Connected Asset / Data Mesh
---/\_/\----------------/\-------[ Node A ]
\ /\ / \
\ / \ / [ Node B ]---[ Node C ]
\__/ \__/
```
### Visual Direction:
- **Concept**: Synthesizes a **restrained medical-equipment pulse motif** (clean ECG equipment rhythm) with a **connected asset or data-network symbol** (interconnected telemetry nodes).
- **Emblem Construction**:
- Crisp horizontal trace: starts with an equipment baseline, transitions into a distinct, confident pulse deflection.
- Resolves cleanly into an interconnected asset network cluster (3 connected nodes linked by precision vector paths).
- Executed in Clinical Navy (`#102C52`), Intelligence Blue (`#2E5C9A`), and Medical Teal (`#008E95`).
- **Strict Exclusions**:
- ❌ **No generic red or green medical crosses**.
- ❌ **No excessive or chaotic circuit-board tracks**.
- ❌ **No multi-color rainbow gradients or muddy shadows**.
- **Asset Files**:
- `frontend/public/logo.svg`: Full horizontal brand lockup (`XYZ HOSPITAL` + `MediAsset AI • Asset Management & Maintenance`).
- `frontend/public/logo-mark.svg`: Compact icon mark for favicon, avatar, and mobile viewports.
- `frontend/public/logo.jpg`: High-resolution raster fallback.
---
## 4. Typography System
### Digital Product & Web Applications
- **Primary Typeface**: `Inter` (sans-serif)
- `font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Calibri', sans-serif;`
- **Weights**:
- `400` (Regular): Body prose, table cells, description text.
- `500` (Medium): Form labels, navigation links, secondary headers.
- `600` (SemiBold): Metric KPI numbers, table headers, button labels.
- `700` / `800` (Bold / ExtraBold): Page titles, brand headers, critical SLA countdowns.
- **Numerals**: Inter's tabular numbers (`tnum`) ensure currency figures, asset serial codes (`XYZ-ICU-0001`), and timestamps align vertically in data tables.
### Corporate Proposals & Document Exports
- **Styling**: **Calibri-compatible** typography:
- Proposal body: `Calibri`, 11pt, 1.15–1.25 line spacing, color `#102C52` or `#1E293B`.
- Proposal headings: `Calibri` (or `Calibri Light`), Bold, colors `#102C52` (Heading 1) and `#2E5C9A` (Heading 2).
- Table headers in proposal exports: fill `#102C52` with bold white text.
---
## 5. Visual Personality & Product Marketing
### Brand Attributes
- **Precise**: High data density, unambiguous status badges, verified calculations.
- **Reliable**: Clear SLA indicators, audit trails, guaranteed uptime metrics.
- **Modern**: Clean borders, subtle shadows, ergonomic whitespace.
- **Clinical**: Subdued, distraction-free surfaces that prioritize patient safety and equipment availability.
- **Enterprise-Grade**: Role-based views, export-ready reporting, auditability.
### Presentation & Marketing Guidelines
- **Mandatory**: Product marketing and customer decks must showcase **actual dashboard interfaces**, real equipment workflows (breakdown registration → technician assignment → restoration → closure), and clear data visualizations (uptime % trends, MTBF/MTTR, PM compliance).
- **Prohibited**: Never use generic "AI robot", "glowing blue cyborg", or sci-fi brain graphics. The AI in MediAsset AI represents deterministic operational intelligence, equipment cost forecasting, and proactive maintenance optimization.
---
## 6. Hospital Deployment: XYZ Hospital
- **Tenant Name**: `XYZ Hospital` (formerly Poona Hospital & Research Centre).
- **System Header**: `XYZ Hospital AMS — MediAsset AI`.
- **Demo Scenarios**: Configured under `XYZ Hospital` administrative umbrella, supporting multisite departmental hierarchies (ICU, Radiology, OT, OPD, Biomedical Workshop).
- **Asset Code Standards**: `XYZ-<DEPT>-<0001>` (e.g. `XYZ-ICU-0001`).