/*!
 * PWM public theme tokens — Tewksbury Township.
 * Keep the --pwm-* names. Live-derived teal/cyan with WCAG AA pair fixes.
 * tblTheme / tblThemeToken override these on :root via ThemeHelper.RenderRootCss().
 */
:root {
    /* Brand */
    --pwm-primary: #3c6562;
    --pwm-primary-10: #375d5a;
    --pwm-primary-15: #335653;
    --pwm-primary-20: #2f4f4c;
    --pwm-primary-22: #2c4b49;
    --pwm-primary-30: #243d3b;
    --pwm-secondary: #23ddf7;
    --pwm-secondary-bright: #44e2f8;
    /* Newsletter Subscribe: white needs a dark fill — secondary cyan fails 4.5:1. */
    --pwm-newsletter-submit-bkg: var(--pwm-primary);
    --pwm-newsletter-submit-text: #ffffff;
    --pwm-text: #333333;
    --pwm-text-muted: #595959;
    --pwm-white: #ffffff;

    /* Nav */
    --pwm-nav-bkg: #3c6562;
    --pwm-nav-link: #ffffff;
    --pwm-nav-hover: rgba(255, 255, 255, 0.2);
    --pwm-nav-dropdown-hover: #2c4b49;
    /* Current-section bar on the band: keep 3:1 against --pwm-nav-bkg. */
    --pwm-nav-accent: #f1c40f;

    /* Featured icon bar */
    --pwm-featured-bkg: #3c6562;
    --pwm-featured-icon: #ffffff;
    --pwm-featured-link: #ffffff;
    --pwm-featured-hover: #2f4f4c;
    --pwm-featured-arrow: #ffffff;
    --pwm-featured-arrow-hover: #243d3b;

    /* Home hero: the fill when there is no photo, plus the button /
       progress accent and the text on it. */
    --pwm-hero-panel: var(--pwm-primary-30);
    --pwm-hero-accent: #f1c40f;
    --pwm-hero-accent-text: #000000;

    /* Sidebar */
    --pwm-sidebar-title: #3c6562;
    --pwm-sidebar-line: #23ddf7;
    --pwm-sidebar-text: #333333;
    --pwm-sidebar-arrow: #666666;

    /* Tabs / buttons / links */
    --pwm-tabs-active: var(--pwm-primary);
    --pwm-tabs-inactive-border: var(--pwm-primary);
    --pwm-tabs-inactive-text: var(--pwm-primary);
    --pwm-featured-badge-bkg: #23ddf7;
    --pwm-featured-badge-text: #333333;
    --pwm-button-bkg: #3c6562;
    --pwm-button-text: #ffffff;
    --pwm-button-hover: #507472;
    --pwm-link: #0e7490;
    --pwm-link-hover: #0b5d73;

    /* Footer */
    --pwm-footer-bkg: #243d3b;
    --pwm-footer-title: #23ddf7;
    --pwm-footer-text: #ffffff;
    --pwm-footer-link: #ffffff;
    --pwm-footer-link-hover: #44e2f8;
    --pwm-footer-focus: #ffffff;

    /* Notices */
    --pwm-notice-bkg: #eeeeee;
    --pwm-notice-title: var(--pwm-primary);
    --pwm-notice-button-bkg: #23ddf7;
    --pwm-notice-button-text: #333333;
    --pwm-notice-link: #0e7490;

    /* Ticker */
    --pwm-ticker-bkg: #eeeeee;
    --pwm-ticker-alert-bkg: #c0392b;
    --pwm-ticker-alert-text: #ffffff;
    --pwm-ticker-attention-bkg: #f1c40f;
    --pwm-ticker-attention-text: #000000;
    --pwm-ticker-update-bkg: #1e8449;
    --pwm-ticker-update-text: #ffffff;

    /* Quick links / translate */
    --pwm-quicklinks-tab: #3c6562;
    --pwm-quicklinks-tab-hover: #23ddf7;
    --pwm-quicklinks-menu: #ffffff;
    --pwm-translate-text: #243d3b;
    --pwm-translate-bkg: #ffffff;
    --pwm-translate-border: #d9d9d9;
    --pwm-translate-panel-bkg: #ffffff;
    --pwm-translate-row-hover: #f4f6f8;
    --pwm-translate-active: #3c6562;

    /* Calendar / titles */
    --pwm-calendar-header: #3c6562;
    --pwm-calendar-event-bkg: #243d3b;
    --pwm-calendar-event-text: #ffffff;
    --pwm-calendar-meeting-bkg: #23ddf7;
    --pwm-calendar-meeting-text: #333333;
    --pwm-calendar-health-bkg: #3c6562;
    --pwm-calendar-health-text: #ffffff;
    --pwm-calendar-canceled-bkg: #595959;
    --pwm-calendar-canceled-text: #ffffff;
    --pwm-calendar-surface: #ffffff;
    --pwm-calendar-line: #dde5e4;
    --pwm-calendar-today-bkg: #eef4f3;
    --pwm-calendar-muted-bkg: #f7f9f9;
    --pwm-calendar-list-hover: #f1f7f6;
    --pwm-title: #3c6562;
    --pwm-new-tag: #e63946;

    /* Focus */
    --pwm-focus: #3c6562;

    /* Form fields + status — HDS palette. Status colors carry meaning, not
       brand, so a town changes these only to fix contrast. */
    --pwm-field-bkg: #ffffff;
    --pwm-field-text: #1a1a1a;
    --pwm-field-border: #808080;
    --pwm-field-hint: #595959;
    --pwm-error: #b01038;
    --pwm-error-bkg: #f6e2e6;
    --pwm-success: #007a64;
    --pwm-success-bkg: #e2f5f3;

    /* Rhythm */
    --pwm-radius: 10px;
    --pwm-radius-lg: 14px;
    --pwm-shadow: 0 8px 28px rgba(36, 61, 59, 0.1);

    /* Type — Public Sans; names are platform, do not seed into ThemeTokens */
    --pwm-font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --pwm-font-body: 0.9375rem;
    --pwm-font-small: 0.875rem;
    --pwm-line-body: 1.5;
    --pwm-line-heading: 1.25;
    --pwm-measure: 65ch;
    --pwm-weight-normal: 400;
    --pwm-weight-ui: 600;
    --pwm-weight-bold: 700;
}
