@import "tailwindcss"; @theme { /* ========================================= 1. COLORS (Verdana Health Palette) ========================================= */ --color-primary: #0F172A; /* Navy */ --color-primary-dark: #020617; /* Darker Navy */ --color-primary-light: #94A3B8; /* Slate 400 */ --color-primary-bg: #F1F5F9; /* Slate 100 */ --color-secondary: #64748B; /* Secondary Slate */ --color-tertiary: #059669; /* Tertiary Sage */ --color-background: #F8FAFC; --color-surface: #FFFFFF; --color-surface-base: #F8FAFC; --color-surface-card: #FFFFFF; --color-cream: #FEF3C7; /* Amber 100 */ --color-accent: #BEF264; /* Lime 300 */ --color-accent-light: #ECFCCB; /* Lime 100 */ --color-coral: #F43F5E; /* Rose 500 */ --color-coral-light: #FFE4E6; /* Rose 100 */ --color-success: #22C55E; --color-warning: #EAB308; --color-error: #EF4444; --color-info: #0EA5E9; /* ========================================= 2. SPACING ========================================= */ --spacing-xs: 4px; --spacing-sm: 8px; --spacing-md: 16px; --spacing-lg: 24px; --spacing-xl: 32px; --spacing-2xl: 48px; --spacing-3xl: 64px; /* ========================================= 3. TYPOGRAPHY (Fonts) ========================================= */ --font-headline: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; --font-body: "DM Sans", system-ui, -apple-system, sans-serif; --font-mono: "Fira Code", monospace; /* ========================================= 4. BORDER RADIUS ========================================= */ --radius-sm: 4px; --radius-DEFAULT: 8px; /* Soft 8px radius used as primary */ --radius-md: 12px; --radius-lg: 16px; --radius-full: 9999px; /* ========================================= 5. ELEVATION (Clinical, Soft Shadows) ========================================= */ /* Shadows based on Navy (#0F172A) with very low opacity */ --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03); --shadow-DEFAULT: 0 2px 6px rgba(15, 23, 42, 0.05); --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.07); --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.10); --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.08); --shadow-teal-glow: 0 4px 20px rgba(15, 23, 42, 0.4); /* Now Navy */ --shadow-accent-glow: 0 4px 20px rgba(190, 242, 100, 0.6); --shadow-coral-glow: 0 4px 20px rgba(244, 63, 94, 0.4); --shadow-focus: 0 0 0 4px rgba(15, 23, 42, 0.2); } /* ========================================= 6. GLOBAL BASE STYLES & TYPOGRAPHY SCALES ========================================= */ @layer base { body { background-color: var(--color-background); color: var(--color-primary); /* Navy is default text color */ font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; } /* Hide scrollbars globally */ * { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } /* U1: Add pointer to interactive elements globally */ button:not(:disabled), [role="button"]:not(:disabled), input[type="checkbox"]:not(:disabled), input[type="radio"]:not(:disabled), label:has(input[type="checkbox"]:not(:disabled)), label:has(input[type="radio"]:not(:disabled)) { cursor: pointer; } *::-webkit-scrollbar { display: none; /* Chrome, Safari and Opera */ } /* Headline Overrides */ h1, h2, h3, h4, .text-display { font-family: var(--font-headline); color: var(--color-primary); } .text-display { font-size: 40px; line-height: 1.15; font-weight: 700; } h1 { font-size: 32px; line-height: 1.2; font-weight: 700; } h2 { font-size: 24px; line-height: 1.25; font-weight: 600; } h3 { font-size: 20px; line-height: 1.3; font-weight: 600; } h4 { font-size: 16px; line-height: 1.35; font-weight: 500; } .text-h2 { font-size: 32px; line-height: 1.2; font-weight: 700; } .text-h3 { font-size: 24px; line-height: 1.25; font-weight: 600; } /* Body Overrides */ .text-body-lg { font-size: 18px; line-height: 1.6; font-weight: 400; } .text-body-sm { font-size: 14px; line-height: 1.5; font-weight: 400; } .text-caption { font-size: 12px; line-height: 1.4; font-weight: 500; } /* Mono / Vitals / Tabular Data */ code, pre, .font-mono, .vitals-data { font-family: var(--font-mono); font-size: 14px; line-height: 1.6; } } /* ========================================= 7. UTILITY FIXES ========================================= */ @layer utilities { /* Fix the max-w squish bug caused by custom spacing-xs through spacing-3xl overrides */ .max-w-xs { max-width: 20rem !important; } /* 320px */ .max-w-sm { max-width: 24rem !important; } /* 384px */ .max-w-md { max-width: 28rem !important; } /* 448px */ .max-w-lg { max-width: 32rem !important; } /* 512px */ .max-w-xl { max-width: 36rem !important; } /* 576px */ .max-w-2xl { max-width: 42rem !important; } /* 672px */ .max-w-3xl { max-width: 48rem !important; } /* 768px */ }