@import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities'; @import './controls.css'; html { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; } body { font-family: inherit; } :focus-visible { outline: 3px solid rgba(95, 135, 150, 0.78); outline-offset: 3px; } button, input, select, textarea { font: inherit; } .native-date-input { color-scheme: light; } .dark .native-date-input { color-scheme: dark; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } .native-date-input::-webkit-calendar-picker-indicator { cursor: pointer; min-height: 2.75rem; min-width: 2.75rem; } .theme-2026-card { position: relative; overflow: hidden; border: 1px solid rgba(191, 208, 211, 0.72); background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 243, 245, 0.9)), radial-gradient(circle at 14% 10%, rgba(122, 159, 171, 0.18), transparent 30%); box-shadow: 0 10px 26px rgba(128, 151, 155, 0.18); } .theme-2026-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, 0.48), transparent 42%); opacity: 0.74; } .theme-2026-card > * { position: relative; } .theme-2026-card-hover { transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease; } .theme-2026-card-hover:hover { border-color: rgba(116, 153, 165, 0.86); box-shadow: 0 16px 34px rgba(114, 143, 150, 0.26); } /* List rows use the same pastel highlight timing and palette as cards. */ .dark .theme-2026-card-hover:hover { border-color: rgba(113, 153, 168, 0.68); box-shadow: 0 20px 44px rgba(4, 10, 14, 0.46); } .fcb-secondary-card { transition: all 300ms ease !important; box-shadow: -8px -8px 20px rgba(255,255,255,.8), 8px 8px 20px rgba(163,177,198,.5) !important; } .fcb-secondary-card:hover { transform: translateY(-2px); background: #f0f4f8 !important; box-shadow: -10px -10px 25px rgba(255,255,255,.9), 10px 10px 25px rgba(163,177,198,.6) !important; } .data-table-2026 thead th { background: rgba(236, 244, 246, 0.76); } .data-table-2026 tbody tr { transition: background-color 180ms ease, opacity 180ms ease; } .data-table-2026 tbody tr.is-selected { background: rgba(213, 228, 230, 0.72); } .data-table-2026 tbody tr.is-muted { opacity: 0.74; } .dark .data-table-2026 thead th { background: rgba(31, 45, 52, 0.82); } .dark .data-table-2026 tbody tr.is-selected-dark { background: rgba(42, 64, 72, 0.68); } /* Serenity-inspired soft pastel motion and surfaces. */ :root { --fcb-pastel-sage: #9fc9bd; --fcb-pastel-blue: #a9c7d8; --fcb-pastel-lavender: #c5bddb; --fcb-surface: #f2f6f8; --fcb-shadow-soft: 0 12px 28px rgba(112, 137, 151, 0.16), -8px -8px 20px rgba(255,255,255,.72); } body { background: var(--fcb-surface); } .theme-2026-card, .theme-2026-card-hover { border-color: rgba(170, 194, 201, .62) !important; box-shadow: var(--fcb-shadow-soft) !important; } .theme-2026-card-hover:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(112, 137, 151, .22), -8px -8px 20px rgba(255,255,255,.78) !important; } button, a { -webkit-tap-highlight-color: transparent; } .fcb-lifecycle-list { overflow: visible; will-change: height; } .fcb-lifecycle-row { will-change: opacity; } .fcb-lifecycle-card { transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease !important; } .fcb-lifecycle-card:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 24px rgba(112, 137, 151, .2) !important; } @media (prefers-reduced-motion: reduce) { .theme-2026-card-hover:hover { transform: none; } } /* 2026 Serenity neumorphic system */ :root { --fcb-bg: #edf3f5; --fcb-surface: #f7fafb; --fcb-surface-muted: #e7eef1; --fcb-text: #405466; --fcb-text-muted: #607580; --fcb-border: #cbdde3; --fcb-primary: #7198a6; --fcb-primary-dark: #628b9b; --fcb-mint: #a8d0c2; --fcb-lilac: #c3bdd4; --fcb-peach: #f0c9b8; --fcb-shadow-out: 12px 14px 28px rgba(115, 139, 151, .18), -9px -9px 22px rgba(255,255,255,.88); --fcb-shadow-in: inset 3px 3px 8px rgba(147, 165, 174, .2), inset -3px -3px 8px rgba(255,255,255,.9); } html, body, #app { background: var(--fcb-bg); color: var(--fcb-text); } .app-container.light { background: radial-gradient(circle at 15% 10%, #f8fbfc 0, transparent 34%), linear-gradient(135deg,#e8f0f2,#f4f7f6 58%,#edf3f5); } .theme-2026-card, .theme-2026-card-hover, .fcb-lifecycle-card, .feature-card, .therapist-card, .resource-card { background: var(--fcb-bg) !important; border-color: transparent !important; box-shadow: -8px -8px 20px rgba(255,255,255,.8), 8px 8px 20px rgba(163,177,198,.5) !important; transition: all 300ms ease !important; } .theme-2026-card-hover:hover, .fcb-lifecycle-card:hover, .feature-card:hover, .therapist-card:hover, .resource-card:hover { transform: translateY(-4px) !important; border-color: transparent !important; box-shadow: -10px -10px 25px rgba(255,255,255,.9), 10px 10px 25px rgba(163,177,198,.6) !important; } /* Nested cards use the demo's lighter 2px lift; outer cards keep 4px. */ .theme-2026-card .theme-2026-card-hover:hover, .theme-2026-card-hover.fcb-lifecycle-card:hover, .theme-2026-card-hover .fcb-secondary-card:hover { transform: translateY(-2px) !important; } /* Keep every dashboard card on the same 300ms pastel hover curve. */ .theme-2026-card-hover { transition: all 300ms ease !important; } .theme-2026-card-hover:hover { background: #f0f4f8 !important; border-color: transparent !important; box-shadow: -10px -10px 25px rgba(255,255,255,.9), 10px 10px 25px rgba(163,177,198,.6) !important; } .dark .theme-2026-card-hover:hover { background: #2f414a !important; box-shadow: -10px -10px 25px rgba(69,88,99,.45), 10px 10px 25px rgba(10,18,23,.55) !important; } input:not([type=file]):not([type=checkbox]):not([type=radio]), select:not(.native-date-part), textarea { background: var(--fcb-surface) !important; color: var(--fcb-text) !important; border-color: var(--fcb-border) !important; box-shadow: var(--fcb-shadow-in); } button, a { border-radius: 14px; } button:not(:disabled), a { cursor: pointer; } .fcb-lifecycle-card { background: var(--fcb-bg) !important; } .loading-overlay { background: rgba(225,235,238,.72) !important; backdrop-filter: blur(8px); } .loading-spinner { border-color: #d5e5e7 !important; border-top-color: var(--fcb-primary) !important; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .theme-2026-card-hover:hover, .fcb-lifecycle-card:hover { transform: none !important; } } .fcb-lifecycle-row { transition: opacity 420ms cubic-bezier(.22,1,.36,1); } .fcb-lifecycle-list, .fcb-expand-content { overflow: hidden; } /* List highlighting stays inside the hovered row. */ /* Final specificity: health cards are inner cards, so they lift 2px. */ .theme-2026-card .fcb-health-card:hover, .fcb-health-card:hover { transform: translateY(-2px) !important; } /* Health buttons inherit the same transition as adjacent cards. */ @media (prefers-reduced-motion: reduce) { .theme-2026-card .fcb-health-card:hover { transform: none !important; } } /* Matching dark surfaces retain the same pastel families with readable contrast. */ .dark { color-scheme: dark; --fcb-bg: #252b34; --fcb-surface: #2c3440; --fcb-surface-muted: #333d49; --fcb-text: #dfebee; --fcb-text-muted: #adbec6; --fcb-border: #495765; --fcb-shadow-in: inset 3px 3px 8px rgba(9,20,25,.28), inset -3px -3px 8px rgba(75,98,109,.12); } /* Dark neumorphism uses soft grey-blue light, not black rims. */ .dark .theme-2026-card, .dark .theme-2026-card-hover, .dark .fcb-lifecycle-card { box-shadow: -8px -8px 20px rgba(102,119,146,.16), 8px 8px 20px rgba(24,31,44,.55) !important; } .dark .theme-2026-card::before { display: none; } .dark .theme-2026-card-hover:hover, .dark .fcb-secondary-card:hover { background: #2d3541 !important; box-shadow: -10px -10px 25px rgba(102,119,146,.21), 10px 10px 25px rgba(24,31,44,.62) !important; } .fcb-summary-grid .fcb-secondary-card:hover { transform: translateY(-2px) !important; } button.theme-2026-card-hover:disabled:hover { transform: none !important; } @media (prefers-reduced-motion: reduce), (hover: none) { .fcb-summary-grid .fcb-secondary-card:hover { transform: none !important; } } .dark :is(.shadow-sm, .shadow-md, .shadow-lg, .shadow-xl) { --tw-shadow-color: rgba(35, 46, 65, .24); --tw-shadow: var(--tw-shadow-colored); } /* Light: upper-left light, lower-right shade. Dark reverses this direction. */ :root { --fcb-card-shadow: -8px -8px 20px rgba(255,255,255,.85), 8px 8px 20px rgba(163,177,198,.38); --fcb-card-shadow-hover: -10px -10px 25px rgba(255,255,255,.92), 10px 10px 25px rgba(163,177,198,.48); } .dark { --fcb-card-shadow: -8px -8px 20px rgba(24,31,44,.55), 8px 8px 20px rgba(102,119,146,.16); --fcb-card-shadow-hover: -10px -10px 25px rgba(24,31,44,.62), 10px 10px 25px rgba(102,119,146,.21); } :is(.fcb-surface, .theme-2026-card, .theme-2026-card-hover, .fcb-lifecycle-card, .fcb-secondary-card), .dark :is(.fcb-surface, .theme-2026-card, .theme-2026-card-hover, .fcb-lifecycle-card, .fcb-secondary-card) { box-shadow: var(--fcb-card-shadow) !important; } :is(.theme-2026-card-hover, .fcb-lifecycle-card, .fcb-secondary-card):hover, .dark :is(.theme-2026-card-hover, .fcb-lifecycle-card, .fcb-secondary-card):hover { box-shadow: var(--fcb-card-shadow-hover) !important; } /* Large content sections retain their position while their children animate. */ section.theme-2026-card:hover { transform: none !important; } .fcb-surface { background: var(--fcb-bg) !important; border-color: var(--fcb-border) !important; } /* Matte faces: directional shadows provide depth without a painted gradient. */ .theme-2026-card::before { display: none; } .fcb-static-container:hover { transform: none !important; translate: none !important; } .fcb-surface .theme-2026-card-hover:hover { transform: translateY(-2px) !important; } @media (prefers-reduced-motion: reduce), (hover: none) { .fcb-surface .theme-2026-card-hover:hover { transform: none !important; } } /* Lists highlight without frames, elevation or movement. Keyboard focus stays visible. */ :root { --fcb-row-hover: #dcebef; } .dark { --fcb-row-hover: #303d4a; } .fcb-list-row, .fcb-interactive-row, .data-table-2026 tbody tr { transition: background-color 300ms ease !important; } .fcb-list-row:hover, .fcb-interactive-row:hover, .data-table-2026 tbody tr:hover { background-color: var(--fcb-row-hover) !important; box-shadow: none !important; transform: none !important; }