/* GENERATED FILE — DO NOT EDIT.
   Source: shared/styles/shared.css. Edit there, then run: python3 sync_shared.py */

/* ========================================
   Shared design tokens + accessibility rules
   Single source of truth for both dashboard sites.
   Linked BEFORE each site's main.css so site styles can override.

   Palette: "Bold Atlas" — derived from pattersonpark.org's brand
   (deep teal, sage, parchment, clay, mustard). Chosen July 2026.
   ======================================== */

:root {
    /* Colors - Bold Atlas */
    --color-bg: #f4f2ec;               /* warm paper ground */
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;
    --color-border: #ddd9cd;
    --color-border-light: #eae7dc;

    --color-text-primary: #26312f;     /* teal-biased ink */
    --color-text-secondary: #6c6f66;
    --color-text-muted: #9a9c92;

    --color-accent: #3a5e63;           /* deep teal — primary/interactive */
    --color-accent-hover: #2c4a4e;
    --color-accent-light: #e3ecea;

    /* Atlas extras */
    --color-teal-deep: #244145;        /* header band gradient start */
    --color-teal-ink: #16292c;         /* darkest — text on gold */
    --color-gold: #ffdf54;             /* mustard — CTAs, map highlights */
    --color-gold-hover: #f5d232;
    --color-parchment: #e7e5de;        /* wells, sensitive badge */
    --color-clay: #8c6058;
    --color-ocean: #234246;            /* dark map water (matches filtered tiles) */
    --color-land: #33565b;             /* dark map land tint */

    --color-success: #55744f;
    --color-success-light: #e4ecdf;
    --color-warning: #b98a2e;
    --color-warning-light: #f3ead2;
    --color-danger: #b0432f;
    --color-danger-light: #f6e3dc;

    /* Unreached indicator */
    --color-unreached: #b0432f;        /* rust */
    --color-reached: #55744f;          /* deep sage */

    /* Partner Type Colors */
    --color-partner-home: #8a5a2b;
    --color-partner-national: #3a5e63;
    --color-partner-global: #b0432f;

    /* Typography */
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-label: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'DM Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(22 41 44 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(22 41 44 / 0.12), 0 2px 4px -2px rgb(22 41 44 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(22 41 44 / 0.14), 0 4px 6px -4px rgb(22 41 44 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(22 41 44 / 0.18), 0 8px 10px -6px rgb(22 41 44 / 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Layout */
    --header-height: 92px;
    --table-panel-width: 55%;
}

/* ========================================
   Accessibility
   ======================================== */

/* Keyboard focus indicators */
.data-table tbody tr:focus-visible,
.data-table th:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
