/* HVL Common UI Consolidated CSS Bundle: bundle-core.min.css */
/* --- Source: theme.css --- */
/** * High Velocity Labs Shared Design System (hvl-common) * File: /common/theme.css * * Single source of truth for design tokens across High Velocity Labs applications: * - highvelocitylabs.dev * - finances.highvelocitylabs.dev (HVL Family Office) *
* Primary Identity: Ostro Deep (London Blue Topaz, Natural History Museum) * Dark Palette: Soft Graphite & Slate */ :root { color-scheme: light dark; &:has(> head > meta[name="color-scheme"][content="dark"]) { color-scheme: dark; } &:has(> head > meta[name="color-scheme"][content="light"]) { color-scheme: light; }
/* ========================================================================== 1. Brand & Accent Identity (Ostro Deep London Blue Topaz) ========================================================================== */ --hvl-brand-primary: #0265E8; /* Unified App-Level Aliases */ --brand-primary: var(--hvl-brand-primary);
--brand-primary-hover: #0050BD; --brand-primary-active: #0040A8; --brand-primary-light: #38BDF8; --brand-primary-glow: rgba(2, 101, 232, 0.25); --brand-primary-bg: rgba(2, 101, 232, 0.08); --brand-primary-border: rgba(2, 101, 232, 0.25); --text-on-brand: #FFFFFF;
--hvl-check-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); --accent: var(--hvl-brand-primary);
--accent-blue: var(--hvl-brand-primary); --accent-blue-hover: var(--brand-primary-hover); --accent-blue-bg: var(--brand-primary-bg); --accent-blue-border: var(--brand-primary-border); --accent-orange: var(--hvl-brand-primary); --accent-orange-hover: var(--brand-primary-hover);
--accent-orange-bg: var(--brand-primary-bg); --accent-orange-border: var(--brand-primary-border); /* ========================================================================== 2. Status & Semantic Colors (Smoked Topaz & Executive Slate) ========================================================================== */
--status-green: #0D9488; --status-green-bg: rgba(13, 148, 136, 0.12); --status-green-border: rgba(13, 148, 136, 0.28); --green: #0D9488; --color-emerald: #0D9488; --color-emerald-bg: rgba(13, 148, 136, 0.14); --color-emerald-border: rgba(13, 148, 136, 0.32);
/* ========================================================================== 2b. Velvet Gemstone Financial Graph Palette ========================================================================== */ --chart-sapphire: #1D4ED8;       /* Primary Net Worth & Taxable Brokerage */
--chart-tanzanite: #7C3AED;      /* Fixed Income, Bonds, Multi-Year Gifting */ --chart-emerald: #059669;        /* Company Equity, Vested Inflows */ --chart-amber: #D97706;          /* Real Estate, Unvested Grants, Carrying Costs */ --chart-cerulean: #0284C7;       /* Liquid Cash, US Treasuries, Settlement Sweeps */
--chart-ruby: #E11D48;           /* Outflows, Large Expenses, Stress Drawdowns */ --chart-slate: #64748B;          /* Baseline Plan, Historical Actuals */ --chart-slate-light: #94A3B8;    /* Personal Property, Empty Allocation */ --chart-emerald-deep: #047857;   /* Social Security Inflows */
--chart-on-fill: #FFFFFF;        /* Marks and text drawn on top of chart fills */ --chart-shadow: rgba(0, 0, 0, 0.5); --status-red: #C75D6E; --status-red-hover: #B34859; --status-red-active: #9E3B4B; --status-red-bg: rgba(199, 93, 110, 0.12); --status-red-border: rgba(199, 93, 110, 0.28); --rose: #C75D6E;
--color-rose: #C75D6E; --color-rose-bg: rgba(199, 93, 110, 0.14); --color-rose-border: rgba(199, 93, 110, 0.32); --accent-amber: #C06C26; --accent-amber-bg: rgba(192, 108, 38, 0.12); --accent-amber-border: rgba(192, 108, 38, 0.28); --color-amber: #C06C26; --color-amber-bg: rgba(192, 108, 38, 0.14);
--color-amber-border: rgba(192, 108, 38, 0.32); --accent-purple: #0265E8; --accent-purple-bg: rgba(2, 101, 232, 0.08); --accent-purple-border: rgba(2, 101, 232, 0.25); --accent-yellow: #C06C26; --accent-yellow-bg: rgba(192, 108, 38, 0.12); --accent-yellow-border: rgba(192, 108, 38, 0.28); --status-gray: #475569;
--status-gray-bg: #F1F5F9; --status-gray-border: #E2E8F0; /* ========================================================================== 3. Light Theme Surfaces (Locked-In Azure & Ice Standard) ========================================================================== */ --bg-canvas: #EDF3FA; --bg-sidebar: #FFFFFF;
--bg-surface: #FFFFFF; --bg-surface-elevated: #F4F8FD; --bg-surface-hover: #DFECF9; --border-color: #D8E4F2; --border-bright: #B8CFE8; --border-subtle: #EDF3FA; --text-primary: #0A1E38; --text-secondary: #334D6E; --text-muted: #5E7A9E; --brand-primary-light: rgba(2, 101, 232, 0.12);
--brand-primary-border: rgba(2, 101, 232, 0.32); --card-shadow: 0 4px 20px rgba(2, 101, 232, 0.08); --light-card-shadow: 0 4px 20px rgba(2, 101, 232, 0.08); /* Legacy aliases mapped to active theme */ --bg: var(--bg-canvas); --bg-primary: var(--bg-canvas); --bg-card: var(--bg-surface); --card-bg: var(--bg-surface);
--bg-elevated: var(--bg-surface-elevated); --bg-hover: var(--bg-surface-hover); --border: var(--border-color); --border-color-hover: var(--border-bright); --text-main: var(--text-primary); --text-body: var(--text-secondary); --text-dim: var(--text-muted); --brand-glow: var(--brand-primary-glow);
--brand-tint: var(--brand-primary-bg); --brand-accent: var(--brand-primary); --accent-green: var(--status-green); --accent-emerald: var(--chart-emerald); --accent-red: var(--status-red); --status-amber: var(--accent-amber); /* ==========================================================================
4. Geometry & Radii ========================================================================== */ --card-radius: 6px; --radius-badge: 4px; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 12px; --radius-pill: var(--radius-badge); --hvl-header-btn-height: 30px; /* Fonts */
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; /* Shadows */ --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08); /* 4a. Extended Surface, Chart Tint, Brand Glow & Third-Party Mark Tokens */ --bg-nav-glass: rgba(248, 250, 252, 0.92);
--bg-backdrop: rgba(10, 30, 56, 0.55); --bg-notif-backdrop: rgba(10, 30, 56, 0.42); --bg-subnav-strip: var(--bg-surface); --bg-inline-code: rgba(148, 163, 184, 0.15); --brand-sky: #0284C7; --chart-sapphire-bg: rgba(29, 78, 216, 0.12); --chart-sapphire-border: rgba(29, 78, 216, 0.28);
--chart-tanzanite-bg: rgba(124, 58, 237, 0.12); --chart-tanzanite-border: rgba(124, 58, 237, 0.28); --chart-cerulean-bg: rgba(2, 132, 199, 0.12); --chart-cerulean-border: rgba(2, 132, 199, 0.28); --chart-ruby-bg: rgba(225, 29, 72, 0.12); --chart-ruby-border: rgba(225, 29, 72, 0.28);
--shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.18); --shadow-drawer: -8px 0 32px rgba(0, 0, 0, 0.12); --shadow-brand-sm: 0 4px 12px rgba(2, 101, 232, 0.16); --shadow-brand-lg: 0 8px 24px rgba(2, 101, 232, 0.16); --shadow-emerald-glow: 0 0 8px rgba(13, 148, 136, 0.65); --pulse-emerald-start: 0 0 0 0 rgba(13, 148, 136, 0.65);
--pulse-emerald-end: 0 0 0 6px rgba(13, 148, 136, 0); --brand-gradient: linear-gradient(135deg, #0265E8 0%, #38BDF8 100%); --brand-gem-gradient: linear-gradient(135deg, #0265E8 0%, #38BDF8 50%, #0D9488 100%); --drop-shadow-stage: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.28)); --google-blue: #4285F4;
--google-green: #34A853; --google-yellow: #FBBC05; --google-red: #EA4335; /* Modal Dialog Tokens */ --modal-dialog-bg: var(--bg-surface); --modal-dialog-card-border: var(--border-color); --modal-dialog-radius: var(--radius-lg);
--modal-dialog-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05); --modal-dialog-title-color: var(--text-primary); --modal-dialog-text-color: var(--text-secondary); --modal-dialog-muted-color: var(--text-muted); --modal-dialog-backdrop: rgba(15, 23, 42, 0.65);
--modal-dialog-backdrop-blur: 8px; --modal-dialog-max-width: 460px; --modal-accent-error: var(--status-red); --modal-accent-error-bg: var(--status-red-bg); --modal-accent-error-border: var(--status-red-border); --modal-accent-success: var(--status-green); --modal-accent-success-bg: var(--status-green-bg);
--modal-accent-success-border: var(--status-green-border); --modal-accent-warning: var(--accent-amber); --modal-accent-warning-bg: var(--accent-amber-bg); --modal-accent-warning-border: var(--accent-amber-border); --modal-accent-info: var(--brand-primary); --modal-accent-info-bg: var(--brand-primary-bg);
--modal-accent-info-border: var(--brand-primary-border); --modal-accent-confirm: var(--brand-primary); --modal-accent-confirm-bg: var(--brand-primary-bg); --modal-accent-confirm-border: var(--brand-primary-border); /* 4b. Spacing, Padding & Layout Tokens (Overrideable per Project) */ --vvh: 100dvh;
--hvl-safe-top: env(safe-area-inset-top, 0px); --hvl-safe-bottom: env(safe-area-inset-bottom, 0px); --shell-max-width: 1440px; --shell-wide-max-width: 1600px; --shell-padding-x: 1.5rem; --shell-padding-y: 1.25rem; --section-gap: 1.5rem; --card-padding: 1.25rem; --card-header-padding: 1rem 1.25rem; --card-gap: 1rem;
--table-cell-px: 0.85rem; --table-cell-py: 0.65rem; --modal-max-width: 600px; --modal-padding: 1.5rem; --review-sidebar-width: 310px; /* 3g. Canonical Overlay Z-Index Scale */ --z-nav: 50; --z-popover: 1000; --z-drawer-backdrop: 1040; --z-drawer: 1050; --z-modal-backdrop: 2000; --z-modal: 2010; --z-modal-nested: 2050;
--z-toast: 3000; --z-tooltip: 4000; /* 3h. Scrollbars (scrollbars.css) */ --scrollbar-thumb: var(--border-bright); --scrollbar-thumb-hover: var(--text-muted); --scrollbar-track: transparent; --scrollbar-thumb-radius: var(--radius-badge); } /* ==========================================================================
4b. Explicit Light Theme Standard (Locked-In Azure & Ice) ========================================================================== */ [data-theme="light"], :root[data-theme="light"], .light-theme { color-scheme: light; --bg-canvas: #EDF3FA; --bg-sidebar: #FFFFFF; --bg-surface: #FFFFFF; --bg-surface-elevated: #F4F8FD;
--bg-surface-hover: #DFECF9; --border-color: #D8E4F2; --border-bright: #B8CFE8; --border-subtle: #EDF3FA; --text-primary: #0A1E38; --text-secondary: #334D6E; --text-muted: #5E7A9E; --brand-primary-light: rgba(2, 101, 232, 0.12); --brand-primary-border: rgba(2, 101, 232, 0.32);
--card-shadow: 0 4px 20px rgba(2, 101, 232, 0.08); --light-card-shadow: 0 4px 20px rgba(2, 101, 232, 0.08); --bg: var(--bg-canvas); --card-bg: var(--bg-surface); --border: var(--border-color); --text-main: var(--text-primary); --text-body: var(--text-secondary); --text-dim: var(--text-muted);
/* Extended Surface, Chart Tint & Brand Glow Overrides (Light) */ --bg-nav-glass: rgba(248, 250, 252, 0.92); --bg-backdrop: rgba(10, 30, 56, 0.55); --brand-sky: #0284C7; --chart-sapphire-bg: rgba(29, 78, 216, 0.12); --chart-sapphire-border: rgba(29, 78, 216, 0.28); --chart-tanzanite-bg: rgba(124, 58, 237, 0.12);
--chart-tanzanite-border: rgba(124, 58, 237, 0.28); --chart-cerulean-bg: rgba(2, 132, 199, 0.12); --chart-cerulean-border: rgba(2, 132, 199, 0.28); --chart-ruby-bg: rgba(225, 29, 72, 0.12); --chart-ruby-border: rgba(225, 29, 72, 0.28); --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.18);
--shadow-drawer: -8px 0 32px rgba(0, 0, 0, 0.12); --shadow-brand-sm: 0 4px 12px rgba(2, 101, 232, 0.16); --shadow-brand-lg: 0 8px 24px rgba(2, 101, 232, 0.16); --scrollbar-thumb: var(--border-bright); --scrollbar-thumb-hover: var(--text-muted); --scrollbar-track: transparent; }
/* ========================================================================== 5. Dark Theme: HVL Soft Graphite & Slate ========================================================================== */ [data-theme="dark"], :root[data-theme="dark"], .dark-theme { color-scheme: dark; --bg: #181B22; --bg-canvas: #181B22;
--bg-sidebar: #13161C; --bg-surface: #212631; --card-bg: #212631; --bg-surface-elevated: #262B37; --bg-surface-hover: #2E3544; --border: #2E3544; --border-color: #2E3544; --border-bright: #40495C; --border-subtle: #242935; --text-main: #FFFFFF; --text-primary: #FFFFFF; --text-body: #CBD5E1; --text-secondary: #CBD5E1;
--text-muted: #94A3B8; --text-dim: #64748B; /* Ostro Deep Dark Mode Glow & Tints */ --brand-primary: #0265E8; --brand-primary-hover: #38BDF8; --brand-primary-active: #0050BD; --brand-primary-light: #38BDF8; --brand-primary-glow: rgba(2, 101, 232, 0.35); --brand-primary-bg: rgba(2, 101, 232, 0.15);
--brand-primary-border: rgba(2, 101, 232, 0.35); --accent-blue: #0265E8; --accent-blue-hover: #38BDF8; --accent-blue-bg: rgba(2, 101, 232, 0.15); --accent-blue-border: rgba(2, 101, 232, 0.35); --accent-orange: #0265E8; --accent-orange-hover: #38BDF8; --accent-orange-bg: rgba(2, 101, 232, 0.15);
--accent-orange-border: rgba(2, 101, 232, 0.35); --status-green-bg: rgba(13, 148, 136, 0.16); --status-green-border: rgba(13, 148, 136, 0.32); --status-red-bg: rgba(199, 93, 110, 0.16); --status-red-border: rgba(199, 93, 110, 0.32); --accent-amber: #C06C26; --accent-amber-bg: rgba(192, 108, 38, 0.16);
--accent-amber-border: rgba(192, 108, 38, 0.32); --accent-purple: #0265E8; --accent-purple-bg: rgba(2, 101, 232, 0.15); --accent-purple-border: rgba(2, 101, 232, 0.35); --accent-yellow: #C06C26; --accent-yellow-bg: rgba(192, 108, 38, 0.16); --accent-yellow-border: rgba(192, 108, 38, 0.32); --status-gray: #94A3B8;
--status-gray-bg: rgba(100, 116, 139, 0.14); --status-gray-border: rgba(100, 116, 139, 0.28); --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.35);
/* Extended Surface, Chart Tint & Brand Glow Overrides (Dark) */ --bg-nav-glass: rgba(19, 22, 28, 0.92); --bg-backdrop: rgba(2, 6, 23, 0.72); --bg-subnav-strip: rgba(15, 20, 28, 0.75); --modal-dialog-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
--modal-dialog-backdrop: rgba(5, 7, 12, 0.78); --brand-sky: #38BDF8; --chart-sapphire-bg: rgba(29, 78, 216, 0.16); --chart-sapphire-border: rgba(29, 78, 216, 0.35); --chart-tanzanite-bg: rgba(124, 58, 237, 0.16); --chart-tanzanite-border: rgba(124, 58, 237, 0.35); --chart-cerulean-bg: rgba(2, 132, 199, 0.16);
--chart-cerulean-border: rgba(2, 132, 199, 0.35); --chart-ruby-bg: rgba(225, 29, 72, 0.16); --chart-ruby-border: rgba(225, 29, 72, 0.35); --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.55); --shadow-drawer: -8px 0 32px rgba(0, 0, 0, 0.35); --shadow-brand-sm: 0 4px 12px rgba(2, 101, 232, 0.28);
--shadow-brand-lg: 0 8px 24px rgba(2, 101, 232, 0.35); --scrollbar-thumb: var(--border-bright); --scrollbar-thumb-hover: var(--text-muted); --scrollbar-track: transparent; } /* System Dark Mode Detection */ @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #181B22; --bg-canvas: #181B22;
--bg-sidebar: #13161C; --bg-surface: #212631; --card-bg: #212631; --bg-surface-elevated: #262B37; --bg-surface-hover: #2E3544; --border: #2E3544; --border-color: #2E3544; --border-bright: #40495C; --border-subtle: #242935; --text-main: #FFFFFF; --text-primary: #FFFFFF; --text-body: #CBD5E1; --text-secondary: #CBD5E1;
--text-muted: #94A3B8; --text-dim: #64748B; --brand-primary: #0265E8; --brand-primary-hover: #38BDF8; --brand-primary-active: #0050BD; --brand-primary-light: #38BDF8; --brand-primary-glow: rgba(2, 101, 232, 0.35); --brand-primary-bg: rgba(2, 101, 232, 0.15); --brand-primary-border: rgba(2, 101, 232, 0.35);
--accent-blue: #0265E8; --accent-blue-hover: #38BDF8; --accent-blue-bg: rgba(2, 101, 232, 0.15); --accent-blue-border: rgba(2, 101, 232, 0.35); --accent-orange: #0265E8; --accent-orange-hover: #38BDF8; --accent-orange-bg: rgba(2, 101, 232, 0.15); --accent-orange-border: rgba(2, 101, 232, 0.35);
--status-green-bg: rgba(13, 148, 136, 0.16); --status-green-border: rgba(13, 148, 136, 0.32); --status-red-bg: rgba(199, 93, 110, 0.16); --status-red-border: rgba(199, 93, 110, 0.32); --accent-amber: #C06C26; --accent-amber-bg: rgba(192, 108, 38, 0.16); --accent-amber-border: rgba(192, 108, 38, 0.32);
--accent-purple: #0265E8; --accent-purple-bg: rgba(2, 101, 232, 0.15); --accent-purple-border: rgba(2, 101, 232, 0.35); --accent-yellow: #C06C26; --accent-yellow-bg: rgba(192, 108, 38, 0.16); --accent-yellow-border: rgba(192, 108, 38, 0.32); --status-gray: #94A3B8; --status-gray-bg: rgba(100, 116, 139, 0.14);
--status-gray-border: rgba(100, 116, 139, 0.28); --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.35); /* Extended Surface, Chart Tint & Brand Glow Overrides (System Dark) */
--bg-nav-glass: rgba(19, 22, 28, 0.92); --bg-backdrop: rgba(2, 6, 23, 0.72); --bg-subnav-strip: rgba(15, 20, 28, 0.75); --modal-dialog-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08); --modal-dialog-backdrop: rgba(5, 7, 12, 0.78); --brand-sky: #38BDF8;
--chart-sapphire-bg: rgba(29, 78, 216, 0.16); --chart-sapphire-border: rgba(29, 78, 216, 0.35); --chart-tanzanite-bg: rgba(124, 58, 237, 0.16); --chart-tanzanite-border: rgba(124, 58, 237, 0.35); --chart-cerulean-bg: rgba(2, 132, 199, 0.16); --chart-cerulean-border: rgba(2, 132, 199, 0.35);
--chart-ruby-bg: rgba(225, 29, 72, 0.16); --chart-ruby-border: rgba(225, 29, 72, 0.35); --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.55); --shadow-drawer: -8px 0 32px rgba(0, 0, 0, 0.35); --shadow-brand-sm: 0 4px 12px rgba(2, 101, 232, 0.28); --shadow-brand-lg: 0 8px 24px rgba(2, 101, 232, 0.35);
--scrollbar-thumb: var(--border-bright); --scrollbar-thumb-hover: var(--text-muted); --scrollbar-track: transparent; } } @media (max-width: 768px) { :root { --hvl-header-btn-height: 28px; } }
/* --- Source: components.css --- */
/** * High Velocity Labs Shared Design System (hvl-common) * File: /common/components.css * * Canonical component classes across High Velocity Labs applications: * - highvelocitylabs.dev * - finances.highvelocitylabs.dev (HVL Family Office) *
* INVARIANT: Zero hardcoded hex codes. All styling strictly adheres to design tokens in theme.css. */ /* The hidden attribute always hides, even on elements whose class sets a display value (UI toggles use hidden) */ [hidden] { display: none !important; }
/* ========================================================================== 1. Typography & Prose Layout ========================================================================== */ .tabular-nums { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; } .micro-label { display: block;
font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; } .micro-label-flush { margin-bottom: 0; } .text-muted { color: var(--text-muted); } .text-secondary { color: var(--text-secondary); }
.font-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .hvl-container { width: 100%; max-width: var(--shell-max-width); margin: 0 auto;
padding: 0 var(--shell-padding-x); } .hvl-prose-container { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 var(--shell-padding-x); } .legal-section { margin-bottom: 2.5rem; } .legal-section h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-primary); letter-spacing: -0.01em;
} .legal-section p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.9375rem; line-height: 1.65; } .legal-section ul { margin-left: 1.25rem; margin-bottom: 1rem; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; } .legal-section li { margin-bottom: 0.4rem; } .legal-section strong {
color: var(--text-primary); } .legal-section code { font-family: var(--font-mono); background: var(--bg-surface-elevated); padding: 0.15rem 0.4rem; border-radius: var(--radius-badge); font-size: 0.85em; color: var(--brand-primary); } /* ==========================================================================
2. Structural Layout & Shell ========================================================================== */ .hvl-nav { position: sticky; top: 0; z-index: 50; background: var(--bg-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-color); width: 100%; }
.hvl-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; } .hvl-logo-lockup { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text-primary); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.hvl-logo-lockup:hover { color: var(--brand-primary); } /* ========================================================================== 5. Canonical Badges & Semantic Status ========================================================================== */ .badge { display: inline-flex; align-items: center; flex-shrink: 0;
max-width: 100%; box-sizing: border-box; gap: 4px; padding: 3px 8px; border-radius: var(--radius-badge); font-size: 0.75rem; font-weight: 600; white-space: nowrap; line-height: 1.2; } .badge-green { background-color: var(--status-green-bg); color: var(--status-green); border: 1px solid var(--status-green-border); }
.badge-amber, .badge-orange { background-color: var(--accent-amber-bg); color: var(--accent-amber); border: 1px solid var(--accent-amber-border); } .badge-blue { background-color: var(--brand-primary-bg); color: var(--brand-primary); border: 1px solid var(--brand-primary-border); } .badge-red {
background-color: var(--status-red-bg); color: var(--status-red); border: 1px solid var(--status-red-border); } .badge-gray { background-color: var(--status-gray-bg); color: var(--status-gray); border: 1px solid var(--status-gray-border); } .badge-purple { background-color: var(--accent-purple-bg);
color: var(--accent-purple); border: 1px solid var(--accent-purple-border); } /* ========================================================================== 8. Canonical SVG Icon Styling & Loading Overlays ========================================================================== */ .hvl-icon, .icon {
display: inline-block; vertical-align: middle; flex-shrink: 0; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; fill: none; } .hvl-icon:not([width]), .icon:not([width]) { width: 1.25rem; } .hvl-icon:not([height]), .icon:not([height]) { height: 1.25rem; } .hvl-icon.icon-xs,
.icon.icon-xs { width: 14px; height: 14px; } .hvl-icon.icon-sm, .icon.icon-sm { width: 16px; height: 16px; } .hvl-icon.icon-md, .icon.icon-md { width: 20px; height: 20px; } .hvl-icon.icon-lg, .icon.icon-lg { width: 24px; height: 24px; } .hvl-icon.icon-xl, .icon.icon-xl { width: 32px; height: 32px; }
.btn-update-pill, .app-update-pill, #app-update-pill { background-color: var(--bg-surface); background: color-mix(in srgb, var(--accent-blue) 14%, var(--bg-surface)); color: var(--accent-blue); border: 1px solid var(--accent-blue); border-radius: var(--radius-badge); font-weight: 600; font-size: 0.75rem;
height: var(--hvl-header-btn-height); min-height: var(--hvl-header-btn-height); padding: 0 10px; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; z-index: var(--z-popover); box-shadow: var(--shadow-md); transition: all 0.2s ease; }
.btn-update-pill.is-inline, .app-update-pill.is-inline, #app-update-pill.is-inline { position: static; width: auto; margin: 0; } .btn-update-pill.is-flow, .app-update-pill.is-flow, #app-update-pill.is-flow { position: static; width: 100%; margin: 0 0 8px 0; }
.btn-update-pill.is-fixed, .app-update-pill.is-fixed, #app-update-pill.is-fixed { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); width: auto; margin: 0; z-index: var(--z-tooltip); } .btn-update-pill-reload { text-decoration: underline; font-weight: 700; }
.btn-update-pill svg, .app-update-pill svg, #app-update-pill svg { width: 14px; height: 14px; flex-shrink: 0; } .chart-loading-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--bg-surface);
backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: var(--radius-sm); z-index: 5; transition: opacity 0.25s ease, visibility 0.25s ease; pointer-events: none; } .chart-loading-overlay.hidden { opacity: 0 !important; visibility: hidden !important; display: none !important; } .chart-spinner {
width: 28px; height: 28px; border: 3px solid var(--brand-primary-border); border-top-color: var(--brand-primary); border-radius: 50%; animation: chart-spin 0.8s linear infinite; } @keyframes chart-spin { to { transform: rotate(360deg); } } .chart-loading-text { font-size: 0.8125rem; font-weight: 500;
color: var(--text-muted); letter-spacing: -0.01em; } /* ========================================================================== Canonical Input & Code Overflow Guardrails Guarantees form controls and code elements never overflow cards or modals.
========================================================================== */ .hvl-settings-modal-dialog input, .hvl-settings-modal-dialog textarea, .hvl-settings-modal-dialog select, .hvl-settings-modal-dialog code, .modal-card input, .modal-card textarea, .modal-card select, .modal-card code, .stat-card input,
.stat-card textarea, .stat-card select, .stat-card code, .hvl-subcard input, .hvl-subcard textarea, .hvl-subcard select, .hvl-subcard code, .card input, .card textarea, .card select, .card code { box-sizing: border-box; max-width: 100%; min-width: 0; } .hvl-settings-modal-dialog > *:not(.btn):not(.badge):not(button),
.modal-card > *:not(.btn):not(.badge):not(button), .stat-card > *:not(.btn):not(.badge):not(button), .hvl-subcard > *:not(.btn):not(.badge):not(button), .card > *:not(.btn):not(.badge):not(button), .hvl-settings-modal-dialog [style*="display: flex"] > *:not(.btn):not(.badge):not(button),
.hvl-settings-modal-dialog [style*="display:flex"] > *:not(.btn):not(.badge):not(button), .modal-card [style*="display: flex"] > *:not(.btn):not(.badge):not(button), .modal-card [style*="display:flex"] > *:not(.btn):not(.badge):not(button), .stat-card [style*="display: flex"] > *:not(.btn):not(.badge):not(button),
.stat-card [style*="display:flex"] > *:not(.btn):not(.badge):not(button), .hvl-subcard [style*="display: flex"] > *:not(.btn):not(.badge):not(button), .hvl-subcard [style*="display:flex"] > *:not(.btn):not(.badge):not(button), .card [style*="display: flex"] > *:not(.btn):not(.badge):not(button),
.card [style*="display:flex"] > *:not(.btn):not(.badge):not(button) { min-width: 0; } .hvl-endpoint-box { display: inline-block; box-sizing: border-box; max-width: 100%; min-width: 0; word-break: break-all; overflow-wrap: anywhere; white-space: normal; }
/* ========================================================================== Toast Notifications ========================================================================== */ #hvl-toast-container, #fo-toast-container { position: fixed; bottom: 24px; right: 24px; z-index: var(--z-toast); display: flex;
flex-direction: column; gap: 8px; max-width: 440px; pointer-events: none; } .hvl-toast { pointer-events: auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--bg-surface-elevated); color: var(--text-primary);
border: 1px solid var(--border-bright); border-left: 4px solid var(--brand-primary); box-shadow: var(--shadow-lg); font-size: 0.86rem; line-height: 1.45; transition: opacity 0.25s ease; } .hvl-toast-error { border-left-color: var(--status-red); } .hvl-toast-success { border-left-color: var(--status-green); }
.hvl-toast.is-dismissing { opacity: 0; } @keyframes hvl-spin-360 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .hvl-toast-spinner { animation: hvl-spin-360 0.8s linear infinite; transform-origin: center; flex-shrink: 0; color: var(--brand-primary); margin-top: 2px; } .hvl-toast-message {
flex: 1; min-width: 0; } .hvl-toast-close { background: transparent; border: none; color: var(--text-secondary); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 2px; flex-shrink: 0; }
/* --- Source: cards.css --- */
/* ========================================================================== 4. Surface Cards & KPI Tiles ========================================================================== */ .hvl-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--card-radius);
box-shadow: var(--card-shadow); overflow: hidden; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; } .hvl-card:hover { border-color: var(--border-bright); } .card-header { padding: var(--card-header-padding); display: flex; align-items: center; justify-content: space-between;
border-bottom: 1px solid var(--border-color); background: var(--bg-surface); } .card-body { padding: var(--card-padding); } .hvl-card-header, .card-header-clean { margin-bottom: 20px; } .hvl-card-header h2, .hvl-card-header h3, .card-header-clean h2, .card-header-clean h3 { font-size: 1.15rem; font-weight: 700;
color: var(--text-primary); margin: 0 0 4px 0; line-height: 1.25; } .hvl-card-header-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; width: 100%; box-sizing: border-box; } .hvl-card-title-group { min-width: 0; flex: 1 1 240px; } .hvl-card-title-row {
display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; } .hvl-card-title-row h1, .hvl-card-title-row h2, .hvl-card-title-row h3, .hvl-card-title-row h4, .hvl-card-title-row strong { margin: 0; } td .hvl-card-title-row { margin-bottom: 0; } .hvl-card-subtitle { margin: 0;
font-size: 0.8125rem; color: var(--text-muted); line-height: 1.45; } .hvl-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; flex-shrink: 0; min-width: 0; max-width: 100%; } .hvl-card-actions:empty { display: none; } .hvl-subcard, .hvl-callout {
background: var(--bg-canvas); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 16px; box-sizing: border-box; } .hvl-subcard-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.hvl-subcard-title { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); } .hvl-callout-blue { background: var(--brand-primary-bg); border-color: var(--brand-primary-border); } .hvl-callout-amber, .hvl-callout-orange, .hvl-callout-warn { background: var(--accent-amber-bg);
border-color: var(--accent-amber-border); } .hvl-callout-green { background: var(--status-green-bg); border-color: var(--status-green-border); } .hvl-callout-red, .hvl-callout-rose { background: var(--status-red-bg); border-color: var(--status-red-border); } @media (max-width: 768px) { .hvl-card-header,
.card-header-clean { margin-bottom: 14px; } .hvl-card-header h2, .hvl-card-header h3, .card-header-clean h2, .card-header-clean h3 { margin-bottom: 2px; } .hvl-card-header-row { flex-direction: column; align-items: stretch; gap: 10px; } .hvl-card-title-group { flex: 1 1 auto; } .hvl-card-title-row,
.hvl-subcard-header { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 6px; } .hvl-card-title-row > h1, .hvl-card-title-row > h2, .hvl-card-title-row > h3, .hvl-card-title-row > h4, .hvl-card-title-row > strong, .hvl-subcard-header > h1, .hvl-subcard-header > h2,
.hvl-subcard-header > h3, .hvl-subcard-header > h4, .hvl-subcard-header > strong, .hvl-subcard-header > .hvl-subcard-title, .hvl-subcard-header > .micro-label { flex: 0 0 100%; } .hvl-card-actions { width: 100%; justify-content: flex-start; gap: 6px; } .btn-icon, .hvl-icon-btn, .hvl-card-actions .btn-icon,
.hvl-card-actions .hvl-icon-btn { width: 32px !important; height: 32px !important; min-width: 32px !important; max-width: 32px !important; flex: 0 0 32px !important; } } .kpi-tile { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--card-radius);
padding: var(--card-header-padding); display: flex; flex-direction: column; justify-content: space-between; gap: 6px; box-shadow: var(--card-shadow); transition: border-color 0.15s ease, box-shadow 0.15s ease; } .kpi-tile:hover { border-color: var(--border-bright); } .kpi-val { font-size: clamp(1.4rem, 2.5vw, 1.85rem);
font-weight: 700; font-family: var(--font-mono); color: var(--text-primary); letter-spacing: -0.02em; line-height: 1.1; } .kpi-lbl { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
/* ========================================================================== Canonical Theme Toggle Button & Appearance Choice Cards ========================================================================== */ .theme-btn-compact { background: var(--bg-surface); border: 1px solid var(--border-color);
border-radius: var(--radius-sm); width: var(--hvl-header-btn-height); height: var(--hvl-header-btn-height); min-width: var(--hvl-header-btn-height); min-height: var(--hvl-header-btn-height); padding: 0; cursor: pointer; color: var(--text-secondary); display: inline-flex; align-items: center; justify-content: center;
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; box-sizing: border-box; flex-shrink: 0; } .theme-btn-compact:hover { background: var(--bg-surface-elevated); border-color: var(--brand-primary); color: var(--brand-primary); } .theme-btn-compact .theme-icon-sun { display: none; }
.theme-btn-compact .theme-icon-moon { display: inline-block; } [data-theme="dark"] .theme-btn-compact .theme-icon-sun { display: inline-block; } [data-theme="dark"] .theme-btn-compact .theme-icon-moon { display: none; } .theme-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
gap: 12px; } .theme-choice-card { border: 2px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 14px; cursor: pointer; background: var(--bg-surface); transition: border-color 0.15s ease, box-shadow 0.15s ease; user-select: none; } .theme-choice-card:hover { border-color: var(--border-bright); }
.theme-choice-card.is-selected { border-color: var(--accent-blue); box-shadow: 0 0 0 2px var(--accent-blue-border); } .theme-choice-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .theme-choice-card-label { display: flex; align-items: center; gap: 8px; }
.theme-choice-card-title { font-size: 0.875rem; } .theme-choice-radio { cursor: pointer; } .theme-choice-card-desc { font-size: 0.75rem; margin: 0; line-height: 1.45; }
/* --- Source: forms.css --- */
/* ========================================================================== 3. Buttons & Action Triggers ========================================================================== */ .btn, .btn-primary, .btn-secondary, .btn-danger, .btn-ghost { display: inline-flex; align-items: center; justify-content: center;
flex-shrink: 0; max-width: 100%; gap: 8px; font-family: inherit; font-weight: 600; font-size: 0.875rem; line-height: 1.25; padding: 8px 16px; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s ease; border: 1px solid transparent; text-decoration: none; white-space: nowrap; user-select: none;
box-sizing: border-box; } .btn svg, .btn-primary svg, .btn-secondary svg, .btn-danger svg, .btn-ghost svg { flex-shrink: 0; } .btn:disabled, .btn[aria-disabled="true"], .btn-primary:disabled, .btn-primary[aria-disabled="true"], .btn-secondary:disabled, .btn-secondary[aria-disabled="true"], .btn-danger:disabled,
.btn-danger[aria-disabled="true"], .btn-ghost:disabled, .btn-ghost[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; } .btn:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .btn-danger:focus-visible, .btn-ghost:focus-visible {
outline: 2px solid var(--brand-primary); outline-offset: 2px; } .btn-primary { background-color: var(--brand-primary); color: var(--text-on-brand); border-color: var(--brand-primary); box-shadow: 0 1px 3px var(--brand-primary-glow); } .btn-primary:hover { background-color: var(--brand-primary-hover);
border-color: var(--brand-primary-hover); color: var(--text-on-brand); } .btn-primary:active { background-color: var(--brand-primary-active); border-color: var(--brand-primary-active); } .btn-secondary { background-color: var(--bg-surface-elevated); color: var(--text-primary); border-color: var(--border-color); }
.btn-secondary:hover { background-color: var(--bg-surface-hover); border-color: var(--border-bright); color: var(--text-primary); } .btn-secondary:active { background-color: var(--bg-surface); } .btn-danger { background-color: var(--status-red); color: var(--text-on-brand); border-color: var(--status-red);
box-shadow: 0 1px 3px var(--status-red-border); } .btn-danger:hover { background-color: var(--status-red-hover); border-color: var(--status-red-hover); color: var(--text-on-brand); } .btn-danger:active { background-color: var(--status-red-active); border-color: var(--status-red-active); } .btn-ghost {
background-color: transparent; color: var(--text-secondary); border-color: transparent; } .btn-ghost:hover { background-color: var(--bg-surface-hover); color: var(--text-primary); } .btn-sm { padding: 6px 12px; font-size: 0.75rem; gap: 6px; border-radius: var(--radius-sm); line-height: 1.2; } .btn-xs {
padding: 4px 8px; font-size: 0.6875rem; gap: 4px; border-radius: calc(var(--radius-sm) - 2px); line-height: 1.2; } .btn-icon, .hvl-icon-btn { width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0 !important; border-radius: 8px; flex: 0 0 32px; display: inline-flex; align-items: center;
justify-content: center; gap: 0; line-height: 1; box-sizing: border-box; } .btn-icon svg, .hvl-icon-btn svg { width: 15px !important; height: 15px !important; flex-shrink: 0; } .btn-icon > span:not(.badge), .hvl-icon-btn > span:not(.badge) { display: none !important; } .btn-icon.btn-icon-xs, .hvl-icon-btn.btn-icon-xs {
width: 24px; height: 24px; min-width: 24px; min-height: 24px; flex: 0 0 24px; border-radius: 6px; } .btn-icon.btn-icon-xs svg, .hvl-icon-btn.btn-icon-xs svg { width: 13px !important; height: 13px !important; } .btn-icon-danger:hover, .hvl-icon-btn-danger:hover { background-color: var(--status-red-bg);
border-color: var(--status-red-border); color: var(--status-red); } /* ========================================================================== 6. Form & Input Controls ========================================================================== */
.form-control, .form-input, .form-select, .form-textarea, .form-input-sm, .form-select-sm { width: 100%; padding: 8px 12px; background-color: var(--bg-canvas); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.875rem; font-family: inherit;
box-sizing: border-box; transition: border-color 0.15s ease, box-shadow 0.15s ease; } .form-control:hover, .form-input:hover, .form-select:hover, .form-textarea:hover, .form-input-sm:hover, .form-select-sm:hover { border-color: var(--border-bright); }
.form-control:focus, .form-input:focus, .form-select:focus, .form-textarea:focus, .form-input-sm:focus, .form-select-sm:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 2px var(--brand-primary-border); }
.form-control::placeholder, .form-input::placeholder, .form-textarea::placeholder, .form-input-sm::placeholder { color: var(--text-muted); } .hvl-subcard .form-control, .hvl-subcard .form-input, .hvl-subcard .form-select, .hvl-subcard .form-textarea { background-color: var(--bg-surface);
border-color: var(--border-color); } .form-textarea { min-height: 72px; resize: vertical; line-height: 1.45; } .form-input-sm, .form-select-sm { padding: 6px 10px; font-size: 0.8125rem; line-height: 1.25; box-sizing: border-box; }
/* Keep inputs >= 16px on touch / narrow viewports so iOS WKWebView and Safari do not auto-zoom on focus. */ @media (pointer: coarse), (max-width: 900px) { .form-control, .form-input, .form-select, .form-textarea, .form-input-sm, .form-select-sm { font-size: 16px; } } .form-label { display: block; font-size: 0.75rem;
font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; box-sizing: border-box; } .form-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; box-sizing: border-box; } /* Segmented Control Pill Group */ .segmented { display: inline-flex; padding: 3px;
background-color: var(--bg-canvas); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); gap: 2px; } .segment-btn { padding: 4px 12px; font-size: 0.8125rem; font-weight: 600; background-color: transparent; border: none; border-radius: calc(var(--radius-sm) - 2px); color: var(--text-muted);
cursor: pointer; transition: all 0.15s ease; } .segment-btn:hover { color: var(--text-primary); } .segment-btn.active { background-color: var(--bg-surface); color: var(--text-primary); box-shadow: var(--shadow-sm); } /* ==========================================================================
Canonical HVL Checkboxes & Interactive Check-Chip Pills ========================================================================== */ .hvl-checkbox { appearance: none; -webkit-appearance: none; display: inline-grid; place-content: center; width: 18px; height: 18px; margin: 0; border-radius: var(--radius-badge);
border: 1.5px solid var(--border-bright); background: var(--bg-surface); cursor: pointer; flex-shrink: 0; transition: background-color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease; } .hvl-checkbox::before { content: ""; width: 11px; height: 11px; background-color: var(--text-on-brand);
mask: var(--hvl-check-mask) no-repeat center / contain; -webkit-mask: var(--hvl-check-mask) no-repeat center / contain; transform: scale(0); transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.2); } .hvl-checkbox:checked { background: var(--brand-primary); border-color: var(--brand-primary); }
.hvl-checkbox:checked::before { transform: scale(1); } .hvl-checkbox:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--brand-primary-border); } /* ========================================================================== Canonical HVL Switch: <input type="checkbox" class="hvl-switch"> (no wrapper markup)
`.hvl-switch-sm` fits inside a `.btn-sm`-height row; `--hvl-switch-on` recolors the on state. ========================================================================== */ .hvl-switch { --hvl-switch-w: 36px; --hvl-switch-h: 20px; --hvl-switch-on: var(--brand-primary); appearance: none; -webkit-appearance: none;
position: relative; display: inline-block; flex-shrink: 0; width: var(--hvl-switch-w); height: var(--hvl-switch-h); margin: 0; border-radius: var(--radius-badge); background: var(--border-bright); cursor: pointer; transition: background-color 0.15s ease; } .hvl-switch::before { content: ""; position: absolute;
top: 2px; left: 2px; width: calc(var(--hvl-switch-h) - 4px); height: calc(var(--hvl-switch-h) - 4px); border-radius: calc(var(--radius-badge) - 1px); background: var(--text-on-brand); box-shadow: var(--shadow-sm); transition: transform 0.15s ease; } .hvl-switch:checked { background: var(--hvl-switch-on); }
.hvl-switch:checked::before { transform: translateX(calc(var(--hvl-switch-w) - var(--hvl-switch-h))); } .hvl-switch:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--brand-primary-border); } .hvl-switch:disabled { opacity: 0.5; cursor: not-allowed; } .hvl-switch-sm { --hvl-switch-w: 26px; --hvl-switch-h: 14px;
} .hvl-check-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; font-size: 0.8rem; font-weight: 500; border-radius: var(--radius-badge); border: 1px solid var(--border-color); background: var(--bg-surface); color: var(--text-primary); cursor: pointer; user-select: none;
transition: border-color 0.14s ease, background-color 0.14s ease; } .hvl-check-chip:hover { border-color: var(--brand-primary); } .hvl-check-chip:has(input:checked) { border-color: var(--brand-primary-border); background: var(--brand-primary-bg); color: var(--brand-primary); }
/* --- Source: scrollbars.css --- */
/* Themed Thin Scrollbars for Every Scroll Container (colours from the --scrollbar-* tokens in theme.css). Containers that hide their bar (scrollbar-width: none) keep it hidden: a class selector outranks these. */ * { scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); }
/* WebKit and Safari (Chrome uses the standard properties above and ignores these) */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: var(--scrollbar-track); } ::-webkit-scrollbar-thumb { background-color: var(--scrollbar-thumb);
background-clip: padding-box; border: 2px solid var(--scrollbar-track); border-radius: var(--scrollbar-thumb-radius); } ::-webkit-scrollbar-thumb:hover { background-color: var(--scrollbar-thumb-hover); } ::-webkit-scrollbar-button { display: none; }
/* --- Source: subnav.css --- */
.hvl-footer { width: 100%; border-top: 1px solid var(--border-color); padding: 1.75rem 1rem; margin-top: auto; text-align: center; color: var(--text-muted); font-size: 0.875rem; background: transparent; } .hvl-footer-content { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column;
align-items: center; gap: 8px; } .hvl-footer-brand-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-secondary); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; transition: color 0.15s ease; } .hvl-footer-brand-link:hover { color: var(--text-primary); }
.hvl-footer-icon { border-radius: 4px; display: inline-block; } .hvl-footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 0.8125rem; font-family: var(--font-sans); } .hvl-footer-link { color: var(--text-muted); text-decoration: none; font-weight: 500;
transition: color 0.15s ease; } .hvl-footer-link:hover { color: var(--brand-primary); text-decoration: underline; } .hvl-footer-sep { color: var(--border-bright); font-size: 0.75rem; opacity: 0.6; } .hvl-footer-text { margin: 4px 0 0; font-size: 0.75rem; letter-spacing: 0.02em; color: var(--text-muted); opacity: 0.85;
font-family: var(--font-sans); } /* ========================================================================== 9. Scrollable Ribbon / Subnav Bar Control ========================================================================== */ .hvl-subnav-strip, .features-subnav-strip { border-top: 1px solid var(--border-color);
background: var(--bg-subnav-strip); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: relative; width: 100%; } .hvl-subnav-container, .features-subnav-container { display: flex; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; flex-shrink: 0;
position: relative; max-width: 1200px; margin: 0 auto; padding: 0 12px; gap: 6px; width: 100%; box-sizing: border-box; } .hvl-subnav-container.hvl-subnav-tabs { margin-top: 8px; padding: 0; max-width: none; } .hvl-subnav-inner, .features-subnav-inner, [data-subnav-inner] { display: flex; flex-direction: row !important;
align-items: center !important; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; padding: 6px 4px; scroll-behavior: smooth; flex: 1; min-width: 0; } .hvl-subnav-inner::-webkit-scrollbar, .features-subnav-inner::-webkit-scrollbar,
[data-subnav-inner]::-webkit-scrollbar { display: none; width: 0; height: 0; } .subnav-arrow-btn { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 50%; width: var(--hvl-header-btn-height); height: var(--hvl-header-btn-height); min-width: var(--hvl-header-btn-height);
min-height: var(--hvl-header-btn-height); padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--text-secondary); cursor: pointer; box-shadow: var(--shadow-sm); transition: all 0.15s ease; flex-shrink: 0; z-index: 2; } .subnav-arrow-btn.prev { order: -1; } .subnav-arrow-btn.next {
order: 1; } .subnav-arrow-btn:hover { color: var(--text-primary); border-color: var(--border-bright); background: var(--bg-surface-elevated); transform: scale(1.08); } .subnav-arrow-btn:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; } .hvl-subnav-links, .features-nav-links {
display: inline-flex; flex-direction: row !important; align-items: center !important; gap: 6px; list-style: none; margin: 0; padding: 0; white-space: nowrap; flex-wrap: nowrap !important; width: max-content; max-width: none !important; flex-shrink: 0; } .hvl-subnav-link, .features-nav-link {
color: var(--text-secondary); background: transparent; border: none; cursor: pointer; font-family: inherit; text-decoration: none; font-size: 0.8125rem; font-weight: 600; padding: 0 12px; border-radius: var(--radius-sm); transition: all 0.15s ease; display: inline-flex; align-items: center; white-space: nowrap;
flex: 0 0 auto; height: var(--hvl-header-btn-height); min-height: var(--hvl-header-btn-height); box-sizing: border-box; } .hvl-subnav-link:hover, .features-nav-link:hover { color: var(--brand-primary); background: var(--brand-primary-bg); } .hvl-subnav-link.active, .features-nav-link.active {
color: var(--brand-primary); background: var(--brand-primary-bg); } @media (max-width: 768px) { .hvl-subnav-container, .features-subnav-container { padding: 0 4px; gap: 4px; } .hvl-subnav-inner, .features-subnav-inner { padding: 6px 4px; } .hvl-subnav-link, .features-nav-link { font-size: 0.75rem; padding: 0 10px;
height: var(--hvl-header-btn-height); min-height: var(--hvl-header-btn-height); } } /* ========================================================================== Canonical Dropdown Menus ========================================================================== */ .hvl-dropdown-wrap { position: relative;
display: inline-block; } .hvl-dropdown-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 100; min-width: 240px; max-width: calc(100vw - 24px); box-sizing: border-box; background: var(--bg-surface-elevated); border: 1px solid var(--border-color); border-radius: var(--radius-md);
box-shadow: var(--shadow-lg); padding: 6px; display: none; flex-direction: column; gap: 2px; } @supports (position-area: block-end span-inline-end) { .hvl-dropdown-menu[data-anchor-positioned="true"] { position-area: block-end span-inline-end; position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline; } }
.hvl-dropdown-menu.open, .hvl-dropdown-menu.active { display: flex; } .hvl-dropdown-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--text-primary); text-decoration: none; font-size: 0.85rem; font-weight: 500;
transition: background 0.15s ease, color 0.15s ease; box-sizing: border-box; min-width: 0; } .hvl-dropdown-item:hover, .hvl-dropdown-item:focus { background: var(--bg-surface-hover); color: var(--brand-primary); } .hvl-dropdown-icon-box { width: 32px; height: 32px; border-radius: 6px;
background: var(--brand-primary-bg); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .hvl-dropdown-item-content { display: flex; flex-direction: column; min-width: 0; } .hvl-dropdown-item-title { font-weight: 600; color: var(--text-primary); line-height: 1.25;
} .hvl-dropdown-item-sub { font-size: 0.72rem; color: var(--text-muted); line-height: 1.3; }
