/* ------------------------------------------------------------------ */
/* Neuwo design tokens, plain CSS, shared 1:1 with the other Neuwo UIs. */
/* Values are RGB channel triplets: use rgb(var(--color-card)) or         */
/* rgb(var(--color-card) / .75).                                         */
/* ------------------------------------------------------------------ */

:root {
  color-scheme: light;
  /* Surfaces */
  --color-bg: 255 255 255;              /* #FFFFFF */
  --color-bg-subtle: 248 250 252;       /* #F8FAFC */
  --color-card: 255 255 255;            /* #FFFFFF */
  --color-muted: 241 245 249;           /* #F1F5F9 */
  /* Text */
  --color-fg: 15 23 42;                 /* #0F172A */
  --color-fg-muted: 91 107 128;         /* #5B6B80 */
  --color-muted-fg: 71 85 105;          /* #475569 */
  /* Lines, focus, special */
  --color-border: 226 232 240;          /* #E2E8F0 */
  --color-border-strong: 203 213 225;   /* #CBD5E1 */
  --color-border-focus: 10 165 195;     /* #0AA5C3 */
  --color-ring: 6 116 138;              /* #06748A */
  --color-on-primary: 8 13 26;          /* #080D1A */
  --color-overlay: 15 23 42;            /* #0F172A */
  /* Status surfaces (banners, toasts, error boxes) */
  --color-success-bg: 243 249 234;      /* #F3F9EA */
  --color-success-fg: 63 106 12;        /* #3F6A0C */
  --color-warning-bg: 255 251 235;      /* #FFFBEB */
  --color-warning-fg: 160 74 8;         /* #A04A08 */
  --color-danger-bg: 254 242 242;       /* #FEF2F2 */
  --color-danger-fg: 180 35 35;         /* #B42323 */
  --color-info-bg: 236 248 251;         /* #ECF8FB */
  --color-info-fg: 8 111 131;           /* #086F83 */
  /* Status solids (text, borders, 12 % tints; danger-solid = destructive fill) */
  --success: 69 115 16;                 /* #457310 */
  --warning: 180 83 9;                  /* #B45309 */
  --danger: 196 43 43;                  /* #C42B2B */
  --danger-solid: 196 43 43;            /* #C42B2B */
  --info: 6 116 138;                    /* #06748A */
  /* Brand */
  --brand-teal: 10 165 195;             /* #0AA5C3 */
  --brand-green: 138 203 70;            /* #8ACB46 */
  /* Primary scale (Neuwo teal) */
  --primary-50: 238 249 252;            /* #EEF9FC */
  --primary-100: 212 240 247;           /* #D4F0F7 */
  --primary-200: 168 224 236;           /* #A8E0EC */
  --primary-300: 112 203 222;           /* #70CBDE */
  --primary-400: 54 180 206;            /* #36B4CE */
  --primary-500: 10 165 195;            /* #0AA5C3 */
  --primary-600: 6 116 138;             /* #06748A */
  --primary-700: 9 108 128;             /* #096C80 */
  --primary-800: 12 86 101;             /* #0C5665 */
  --primary-900: 14 72 85;              /* #0E4855 */
  --primary-950: 5 47 57;               /* #052F39 */
  /* Ink scale (slate) */
  --ink-50: 248 250 252;                /* #F8FAFC */
  --ink-100: 241 245 249;               /* #F1F5F9 */
  --ink-200: 226 232 240;               /* #E2E8F0 */
  --ink-300: 203 213 225;               /* #CBD5E1 */
  --ink-400: 148 163 184;               /* #94A3B8 */
  --ink-500: 100 116 139;               /* #64748B */
  --ink-600: 71 85 105;                 /* #475569 */
  --ink-700: 51 65 85;                  /* #334155 */
  --ink-800: 30 41 59;                  /* #1E293B */
  --ink-900: 15 23 42;                  /* #0F172A */
  --ink-950: 2 6 23;                    /* #020617 */
  /* Accent scale (amber: warnings, admin pill) */
  --accent-50: 255 251 235;             /* #FFFBEB */
  --accent-100: 254 243 199;            /* #FEF3C7 */
  --accent-200: 253 230 138;            /* #FDE68A */
  --accent-300: 252 211 77;             /* #FCD34D */
  --accent-400: 251 191 36;             /* #FBBF24 */
  --accent-500: 245 158 11;             /* #F59E0B */
  --accent-600: 217 119 6;              /* #D97706 */
  --accent-700: 180 83 9;               /* #B45309 */
  --accent-800: 146 64 14;              /* #92400E */
  --accent-900: 120 53 15;              /* #78350F */
  --accent-950: 69 26 3;                /* #451A03 */

  /* Composites (declared again in dark) */
  --logo-neu: #0aa5c3; /* site neuwo-logo--bg-light */
  --logo-wo: #1e1e0a;
  --gradient-brand: linear-gradient(135deg, #0aa5c3 0%, #8acb46 100%);
  --gradient-brand-text: linear-gradient(135deg, #06748a 10%, #457310 90%);
  /* The site's teal-to-green hairline (fades out at both ends). */
  --gradient-hairline: linear-gradient(
  90deg,
  transparent,
  rgb(10 165 195 / 0.55) 30%,
  rgb(138 203 70 / 0.55) 70%,
  transparent
  );
  /* Peak alphas keep fg-muted text on the page at >= 4.6:1. */
  --ambient:
  radial-gradient(ellipse 50% 40% at 15% 0%, rgb(10 165 195 / 0.12), transparent 70%),
  radial-gradient(ellipse 40% 35% at 90% 0%, rgb(138 203 70 / 0.1), transparent 70%),
  radial-gradient(ellipse 60% 35% at 50% 100%, rgb(10 165 195 / 0.06), transparent 70%);
  --auth-grid-line: rgb(15 23 42 / 0.05);
  --auth-blob-teal: rgb(10 165 195 / 0.1);
  --auth-blob-green: rgb(138 203 70 / 0.08);
  --shadow-xs: 0 1px 2px 0 rgb(15 23 42 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(15 23 42 / 0.08), 0 1px 2px -1px rgb(15 23 42 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.08);
  --shadow-xl: 0 24px 48px -24px rgb(15 23 42 / 0.18);
  --shadow-glow: 0 0 24px rgb(10 165 195 / 0.3);
  --ring-focus: 0 0 0 2px rgb(var(--color-card)), 0 0 0 4px rgb(var(--color-ring));
}

/* Dark: follows the OS unless the page says data-theme="light". */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    /* Surfaces */
    --color-bg: 11 17 32;                 /* #0B1120 */
    --color-bg-subtle: 8 13 26;           /* #080D1A */
    --color-card: 15 23 42;               /* #0F172A */
    --color-muted: 30 41 59;              /* #1E293B */
    /* Text */
    --color-fg: 226 232 240;              /* #E2E8F0 */
    --color-fg-muted: 148 163 184;        /* #94A3B8 */
    --color-muted-fg: 203 213 225;        /* #CBD5E1 */
    /* Lines, focus, special */
    --color-border: 30 41 59;             /* #1E293B */
    --color-border-strong: 51 65 85;      /* #334155 */
    --color-border-focus: 10 165 195;     /* #0AA5C3 */
    --color-ring: 54 180 206;             /* #36B4CE */
    --color-on-primary: 8 13 26;          /* #080D1A */
    --color-overlay: 2 6 23;              /* #020617 */
    /* Status surfaces (banners, toasts, error boxes) */
    --color-success-bg: 30 45 45;         /* #1E2D2D */
    --color-success-fg: 157 214 94;       /* #9DD65E */
    --color-warning-bg: 43 39 38;         /* #2B2726 */
    --color-warning-fg: 252 201 74;       /* #FCC94A */
    --color-danger-bg: 46 29 45;          /* #2E1D2D */
    --color-danger-fg: 247 137 139;       /* #F7898B */
    --color-info-bg: 14 40 60;            /* #0E283C */
    --color-info-fg: 93 211 232;          /* #5DD3E8 */
    /* Status solids (text, borders, 12 % tints; danger-solid = destructive fill) */
    --success: 138 203 70;                /* #8ACB46 */
    --warning: 251 191 36;                /* #FBBF24 */
    --danger: 244 113 116;                /* #F47174 */
    --danger-solid: 212 42 42;            /* #D42A2A */
    --info: 44 195 221;                   /* #2CC3DD */
    /* Brand */
    --brand-teal: 10 165 195;             /* #0AA5C3 */
    --brand-green: 138 203 70;            /* #8ACB46 */
    /* Primary scale (Neuwo teal) */
    --primary-50: 14 43 63;               /* #0E2B3F */
    --primary-100: 14 54 76;              /* #0E364C */
    --primary-200: 13 71 94;              /* #0D475E */
    --primary-300: 29 142 168;            /* #1D8EA8 */
    --primary-400: 54 180 206;            /* #36B4CE */
    --primary-500: 10 165 195;            /* #0AA5C3 */
    --primary-600: 44 195 221;            /* #2CC3DD */
    --primary-700: 93 211 232;            /* #5DD3E8 */
    --primary-800: 147 227 241;           /* #93E3F1 */
    --primary-900: 196 241 248;           /* #C4F1F8 */
    --primary-950: 230 250 253;           /* #E6FAFD */
    /* Ink scale (slate) */
    --ink-50: 11 17 32;                   /* #0B1120 */
    --ink-100: 30 41 59;                  /* #1E293B */
    --ink-200: 51 65 85;                  /* #334155 */
    --ink-300: 71 85 105;                 /* #475569 */
    --ink-400: 100 116 139;               /* #64748B */
    --ink-500: 148 163 184;               /* #94A3B8 */
    --ink-600: 184 195 210;               /* #B8C3D2 */
    --ink-700: 203 213 225;               /* #CBD5E1 */
    --ink-800: 226 232 240;               /* #E2E8F0 */
    --ink-900: 241 245 249;               /* #F1F5F9 */
    --ink-950: 248 250 252;               /* #F8FAFC */
    /* Accent scale (amber: warnings, admin pill) */
    --accent-50: 38 36 39;                /* #262427 */
    --accent-100: 52 45 37;               /* #342D25 */
    --accent-200: 75 58 34;               /* #4B3A22 */
    --accent-300: 142 97 25;              /* #8E6119 */
    --accent-400: 251 191 36;             /* #FBBF24 */
    --accent-500: 245 158 11;             /* #F59E0B */
    --accent-600: 252 201 74;             /* #FCC94A */
    --accent-700: 252 211 77;             /* #FCD34D */
    --accent-800: 253 230 138;            /* #FDE68A */
    --accent-900: 254 243 199;            /* #FEF3C7 */
    --accent-950: 255 251 235;            /* #FFFBEB */

    /* Composites */
    --logo-neu: #ffffff; /* site neuwo-logo--bg-dark */
    --logo-wo: #0aa5c3;
    --gradient-brand: linear-gradient(135deg, #0aa5c3 0%, #8acb46 100%);
    --gradient-brand-text: linear-gradient(135deg, #0c99b5 10%, #7fbb45 90%);
    --gradient-hairline: linear-gradient(
    90deg,
    transparent,
    rgb(10 165 195 / 0.5) 30%,
    rgb(138 203 70 / 0.5) 70%,
    transparent
    );
    --ambient:
    radial-gradient(ellipse 50% 40% at 15% 0%, rgb(10 165 195 / 0.1), transparent 70%),
    radial-gradient(ellipse 40% 35% at 85% 0%, rgb(138 203 70 / 0.07), transparent 70%),
    radial-gradient(ellipse 60% 35% at 50% 100%, rgb(10 165 195 / 0.05), transparent 70%);
    --auth-grid-line: rgb(148 163 184 / 0.08);
    --auth-blob-teal: rgb(10 165 195 / 0.15);
    --auth-blob-green: rgb(138 203 70 / 0.12);
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-sm:
    0 1px 3px 0 rgb(0 0 0 / 0.35), 0 1px 2px -1px rgb(0 0 0 / 0.35), inset 0 1px 0
    rgb(255 255 255 / 0.03);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.35), 0 2px 4px -2px rgb(0 0 0 / 0.35);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 24px 48px -16px rgb(0 0 0 / 0.55);
    --shadow-glow: 0 0 24px rgb(10 165 195 / 0.35);
    --ring-focus: 0 0 0 2px rgb(var(--color-card)), 0 0 0 4px rgb(var(--color-ring));
  }
}

/* Dark: explicit choice (set by the theme control; localStorage.theme = "dark"). */
:root[data-theme="dark"], [data-theme="dark"] {
  color-scheme: dark;
  /* Surfaces */
  --color-bg: 11 17 32;                 /* #0B1120 */
  --color-bg-subtle: 8 13 26;           /* #080D1A */
  --color-card: 15 23 42;               /* #0F172A */
  --color-muted: 30 41 59;              /* #1E293B */
  /* Text */
  --color-fg: 226 232 240;              /* #E2E8F0 */
  --color-fg-muted: 148 163 184;        /* #94A3B8 */
  --color-muted-fg: 203 213 225;        /* #CBD5E1 */
  /* Lines, focus, special */
  --color-border: 30 41 59;             /* #1E293B */
  --color-border-strong: 51 65 85;      /* #334155 */
  --color-border-focus: 10 165 195;     /* #0AA5C3 */
  --color-ring: 54 180 206;             /* #36B4CE */
  --color-on-primary: 8 13 26;          /* #080D1A */
  --color-overlay: 2 6 23;              /* #020617 */
  /* Status surfaces (banners, toasts, error boxes) */
  --color-success-bg: 30 45 45;         /* #1E2D2D */
  --color-success-fg: 157 214 94;       /* #9DD65E */
  --color-warning-bg: 43 39 38;         /* #2B2726 */
  --color-warning-fg: 252 201 74;       /* #FCC94A */
  --color-danger-bg: 46 29 45;          /* #2E1D2D */
  --color-danger-fg: 247 137 139;       /* #F7898B */
  --color-info-bg: 14 40 60;            /* #0E283C */
  --color-info-fg: 93 211 232;          /* #5DD3E8 */
  /* Status solids (text, borders, 12 % tints; danger-solid = destructive fill) */
  --success: 138 203 70;                /* #8ACB46 */
  --warning: 251 191 36;                /* #FBBF24 */
  --danger: 244 113 116;                /* #F47174 */
  --danger-solid: 212 42 42;            /* #D42A2A */
  --info: 44 195 221;                   /* #2CC3DD */
  /* Brand */
  --brand-teal: 10 165 195;             /* #0AA5C3 */
  --brand-green: 138 203 70;            /* #8ACB46 */
  /* Primary scale (Neuwo teal) */
  --primary-50: 14 43 63;               /* #0E2B3F */
  --primary-100: 14 54 76;              /* #0E364C */
  --primary-200: 13 71 94;              /* #0D475E */
  --primary-300: 29 142 168;            /* #1D8EA8 */
  --primary-400: 54 180 206;            /* #36B4CE */
  --primary-500: 10 165 195;            /* #0AA5C3 */
  --primary-600: 44 195 221;            /* #2CC3DD */
  --primary-700: 93 211 232;            /* #5DD3E8 */
  --primary-800: 147 227 241;           /* #93E3F1 */
  --primary-900: 196 241 248;           /* #C4F1F8 */
  --primary-950: 230 250 253;           /* #E6FAFD */
  /* Ink scale (slate) */
  --ink-50: 11 17 32;                   /* #0B1120 */
  --ink-100: 30 41 59;                  /* #1E293B */
  --ink-200: 51 65 85;                  /* #334155 */
  --ink-300: 71 85 105;                 /* #475569 */
  --ink-400: 100 116 139;               /* #64748B */
  --ink-500: 148 163 184;               /* #94A3B8 */
  --ink-600: 184 195 210;               /* #B8C3D2 */
  --ink-700: 203 213 225;               /* #CBD5E1 */
  --ink-800: 226 232 240;               /* #E2E8F0 */
  --ink-900: 241 245 249;               /* #F1F5F9 */
  --ink-950: 248 250 252;               /* #F8FAFC */
  /* Accent scale (amber: warnings, admin pill) */
  --accent-50: 38 36 39;                /* #262427 */
  --accent-100: 52 45 37;               /* #342D25 */
  --accent-200: 75 58 34;               /* #4B3A22 */
  --accent-300: 142 97 25;              /* #8E6119 */
  --accent-400: 251 191 36;             /* #FBBF24 */
  --accent-500: 245 158 11;             /* #F59E0B */
  --accent-600: 252 201 74;             /* #FCC94A */
  --accent-700: 252 211 77;             /* #FCD34D */
  --accent-800: 253 230 138;            /* #FDE68A */
  --accent-900: 254 243 199;            /* #FEF3C7 */
  --accent-950: 255 251 235;            /* #FFFBEB */

  /* Composites */
  --logo-neu: #ffffff; /* site neuwo-logo--bg-dark */
  --logo-wo: #0aa5c3;
  --gradient-brand: linear-gradient(135deg, #0aa5c3 0%, #8acb46 100%);
  --gradient-brand-text: linear-gradient(135deg, #0c99b5 10%, #7fbb45 90%);
  --gradient-hairline: linear-gradient(
  90deg,
  transparent,
  rgb(10 165 195 / 0.5) 30%,
  rgb(138 203 70 / 0.5) 70%,
  transparent
  );
  --ambient:
  radial-gradient(ellipse 50% 40% at 15% 0%, rgb(10 165 195 / 0.1), transparent 70%),
  radial-gradient(ellipse 40% 35% at 85% 0%, rgb(138 203 70 / 0.07), transparent 70%),
  radial-gradient(ellipse 60% 35% at 50% 100%, rgb(10 165 195 / 0.05), transparent 70%);
  --auth-grid-line: rgb(148 163 184 / 0.08);
  --auth-blob-teal: rgb(10 165 195 / 0.15);
  --auth-blob-green: rgb(138 203 70 / 0.12);
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-sm:
  0 1px 3px 0 rgb(0 0 0 / 0.35), 0 1px 2px -1px rgb(0 0 0 / 0.35), inset 0 1px 0
  rgb(255 255 255 / 0.03);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.35), 0 2px 4px -2px rgb(0 0 0 / 0.35);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --shadow-xl: 0 24px 48px -16px rgb(0 0 0 / 0.55);
  --shadow-glow: 0 0 24px rgb(10 165 195 / 0.35);
  --ring-focus: 0 0 0 2px rgb(var(--color-card)), 0 0 0 4px rgb(var(--color-ring));
}

/* Universal keyboard focus ring (never suppress). */
:where(button, [role="button"], a, input, select, textarea):focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

/* ---- reporting-ui additions (not in the shared sheet) ---- */

/* Focusable table rows sit in overflow containers that clip an outer ring at the sides: their ring is drawn inside. */
tr[role="button"]:focus-visible { box-shadow: inset 0 0 0 2px rgb(var(--color-ring)); }

/* Fonts: the website's variable files, self-hosted (src/static/fonts/). Paths resolve relative to this CSS
   file, so root pages (static/css/…) and /ssp pages (/static/css/…) both work. Fallback metrics = the site's. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/outfit-variable.woff2') format('woff2-variations'), url('../fonts/outfit-variable.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/noto-sans-variable.woff2') format('woff2-variations'), url('../fonts/noto-sans-variable.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url('../fonts/noto-sans-italic-variable.woff2') format('woff2-variations'), url('../fonts/noto-sans-italic-variable.woff2') format('woff2'); }
@font-face { font-family: 'Outfit Fallback'; src: local('Arial'); size-adjust: 100.4%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: 'Noto Sans Fallback'; src: local('Arial'); size-adjust: 107%; ascent-override: 100.5%; descent-override: 27.4%; line-gap-override: 0%; }

:root {
  --font-text: 'Noto Sans', 'Noto Sans Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-heading: 'Outfit', 'Outfit Fallback', var(--font-text);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px; --radius-2xl: 24px; --radius-full: 9999px;
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --topbar-h: 64px; --sidebar-w: 256px; --content-max: 1280px;
  /* Chart marks (Chart.js reads these at render time). Light: one step deeper than the brand teal so a 2 px
     line and a bar clear 3:1 on the white card (3.83:1). KNOB: parity alternative =
     `--chart-mark: 54 180 206;` (= primary-400 #36B4CE, the portal's bar colour, 2.45:1). */
  --chart-mark: 29 142 168;        /* #1D8EA8 */
  --chart-mark-hover: 10 165 195;  /* #0AA5C3 = primary-500 */
  --chart-green: 94 154 42;        /* #5E9A2A, 3.42:1 */
  --chart-amber: 146 64 14;        /* #92400E = accent-800, 7.09:1 */
  --chart-neutral: 100 116 139;    /* #64748B = ink-500 (tail slots 9–10 only) */
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --chart-mark: 10 165 195;        /* #0AA5C3 = primary-500, 6.11:1 on the card */
  --chart-mark-hover: 54 180 206;  /* #36B4CE = primary-400 */
  --chart-green: 106 168 50;       /* #6AA832, 6.17:1 */
  --chart-amber: 142 97 25;        /* #8E6119 = accent-300 (dark scale), 3.29:1 */
  --chart-neutral: 148 163 184;    /* #94A3B8 */
} }
:root[data-theme="dark"], [data-theme="dark"] {
  --chart-mark: 10 165 195; --chart-mark-hover: 54 180 206; --chart-green: 106 168 50; --chart-amber: 142 97 25; --chart-neutral: 148 163 184;
}

/* Logo switching without JS: two <img> files, the theme shows one. tokens.css is the ONLY place that sets `display`
   on a .logo image. The hide/show pairs are COMPOUND selectors — 0,2,0 for the light default, 0,4,0 for the dark
   flips — so they beat every size rule in style.css (`.nav-brand img` 0,1,1; `.login-logo .logo` 0,2,0 — both set
   height/width only, never `display`). The brand panel's single <img class="logo"> (no modifier) is
   always visible. Light theme: --light shows (0,2,0 block) and --dark hides (0,2,0 none) — nothing at 0,1,x can
   re-show it. Dark theme: the 0,4,0 rules flip both. */
.logo { display: block; height: 24px; width: auto; }
.logo.logo--light { display: block; }
.logo.logo--dark  { display: none; }
:root[data-theme="dark"] .logo.logo--light, [data-theme="dark"] .logo.logo--light { display: none; }
:root[data-theme="dark"] .logo.logo--dark,  [data-theme="dark"] .logo.logo--dark  { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo.logo--light { display: none; }
  :root:not([data-theme="light"]) .logo.logo--dark  { display: block; }
}
/* Motion: the one global reduced-motion rule. Nothing in the app loops except the skeleton
   pulse, the tab loading bar and the two loading rings (the busy Refresh button, the view status
   line); all go static here. */
@keyframes enter { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .5; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn, .modal-content, .login-box, .alert { transform: none !important; animation: none !important; }
  .card-value.is-loading, .tabs.is-loading::after, p.loading, .skeleton { animation: none !important; opacity: .7; }
  .btn[aria-busy="true"]::before, .view-status::before { animation: none !important; }   /* a static 3/4 ring; the text carries the state */
}
