/* ==================================================
   Consultancy in Action — Client Portal (TRUA-191)
   CIA design system: dark-only, navy/cyan tokens
   Palette source: ~/.claude/skills/cia-design-system/references/tokens.md
   ================================================== */

:root {
  color-scheme: dark;

  /* CIA brand tokens */
  --bg: #0A1628;            /* brand-bg / navy-950 */
  --bg-white: #0F1E33;      /* brand-surface / navy-900 (cards) */
  --surface-alt: #152741;   /* brand-surfaceAlt / navy-800 */
  --border: #1C3354;        /* brand-border / navy-700 */
  --border-light: #152741;
  --text: #E6EEF7;          /* brand-text */
  --text-muted: #9BB0CA;    /* brand-textMuted */
  --text-light: #8296B0;    /* ≥4.5:1 on all surfaces (was rgba .65 — failed AA) */
  --border-input: #3E5878;  /* ≥3:1 vs input fill #152741 (WCAG 1.4.11) */

  --primary: #E6EEF7;       /* heading colour on dark surfaces */
  --primary-light: #1C3354;
  --accent: #22D3EE;        /* cyan-400 */
  --accent-light: #06B6D4;  /* cyan-500 — hover */
  --accent-muted: #0891B2;  /* cyan-600 — pressed */

  --success: #34D399;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #06B6D4;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
  --shadow: 0 1px 3px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.35), 0 2px 4px rgba(0,0,0,0.25);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.35), 0 4px 6px rgba(0,0,0,0.2);

  /* CIA radii: 6 / 10 / 12 only */
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 12px;

  --transition: all 0.2s ease;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sidebar-width: 260px;
  --header-height: 68px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

img { max-width: 100%; height: auto; }

/* CIA focus ring — cyan, offset against navy bg */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Login Page ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 65% 35%, rgba(34,211,238,0.07) 0%, transparent 50%),
              radial-gradient(circle at 35% 65%, rgba(34,211,238,0.04) 0%, transparent 50%);
  z-index: 0;
}

.login-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.login-brand {
  text-align: center;
  margin-bottom: 36px;
}

/* CiA mark — mirrors components/site/Logo.tsx on the main site */
.login-logo {
  width: 52px;
  height: 52px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.6);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.login-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.login-brand h1 {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.login-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 16px; /* ≥16px avoids iOS focus-zoom */
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.2);
}

.form-input::placeholder {
  color: var(--text-light);
}

.btn-primary {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: #0A1628; /* navy text on cyan — CIA primary button */
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(34,211,238,0.25);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34,211,238,0.3);
}

.btn-primary:active {
  background: var(--accent-muted);
  transform: translateY(0);
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
}

.alert-danger {
  background: rgba(239,68,68,0.12);
  color: #FCA5A5;
  border: 1px solid rgba(239,68,68,0.3);
}

/* ---- Demo access + trust row (login) ---- */
.demo-access {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-access .demo-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-demo {
  padding: 7px 14px;
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(34,211,238,0.6);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-demo:hover { background: rgba(34,211,238,0.08); }

.trust-row {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.trust-row .dot { margin: 0 6px; color: var(--border); }

/* ---- Dashboard Layout ---- */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

/* ---- Sidebar ---- */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-white);
  color: var(--text);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s ease;
  border-right: 1px solid var(--border);
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.sidebar-logo:hover { text-decoration: none; color: var(--text); }

.sidebar-logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.6);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--accent);
  flex-shrink: 0;
}

.sidebar-logo-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}

.sidebar-logo span {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  overflow-y: auto;
}

.nav-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  padding: 12px 12px 8px;
  font-weight: 700;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.nav-item:hover {
  background: var(--surface-alt);
  color: var(--text);
  text-decoration: none;
}

.nav-item.active {
  background: rgba(34,211,238,0.12);
  color: var(--accent);
}

.nav-item span:first-child { font-size: 18px; width: 22px; text-align: center; }

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  color: var(--accent);
}

.user-info { flex: 1; min-width: 0; }
.user-info .name { font-size: 13px; font-weight: 600; color: var(--text); }
.user-info .role { font-size: 11px; color: var(--text-muted); }

.btn-logout {
  padding: 6px 12px;
  background: rgba(239,68,68,0.12);
  color: #F87171;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: inherit;
}

.btn-logout:hover { background: rgba(239,68,68,0.2); }

/* ---- Skip link (keyboard) ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 10px 16px;
  background: var(--accent);
  color: #0A1628;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  text-decoration: none;
}

/* ---- Responsive grid helpers (replace inline grid-template-columns) ---- */
.stats-grid--4 { grid-template-columns: repeat(4, 1fr); }
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.dashboard-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* ---- Mobile Menu Button ---- */
.menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 20, 0.6);
  z-index: 99;
  border: none;
}

/* ---- Main Content ---- */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.content-header {
  background: var(--bg-white);
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.content-header h1,
.content-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--accent); }

.content-body {
  padding: 28px 32px;
  max-width: 1200px;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h2,
.card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.card-body { padding: 24px; }

/* ---- Welcome Banner ---- */
.welcome-banner {
  background: linear-gradient(135deg, var(--bg-white), var(--surface-alt));
  border: 1px solid var(--border);
  text-align: center;
}

.welcome-banner h2 { color: var(--text); font-size: 18px; margin-bottom: 6px; }
.welcome-banner p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---- Stat Cards ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-icon.blue { background: rgba(34,211,238,0.12); }
.stat-icon.green { background: rgba(52,211,153,0.12); }
.stat-icon.orange { background: rgba(245,158,11,0.12); }
.stat-icon.purple { background: rgba(8,145,178,0.18); } /* retired purple — cyan-600 tint */

.stat-info { flex: 1; }
.stat-info .value { font-size: 24px; font-weight: 800; color: var(--text); line-height: 1.2; }
.stat-info .label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ---- Table ---- */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  background: var(--bg);
}

tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  vertical-align: middle;
}

tbody tr { transition: var(--transition); }
tbody tr:hover { background: var(--surface-alt); }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
}

.badge-success { background: rgba(52,211,153,0.12); color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.12); color: #FBBF24; }
.badge-danger { background: rgba(239,68,68,0.12); color: #F87171; }
.badge-info { background: rgba(6,182,212,0.12); color: var(--info); }
.badge-primary { background: rgba(34,211,238,0.12); color: var(--accent); }
.badge-muted { background: rgba(155,176,202,0.1); color: var(--text-muted); }

/* ---- Progress Bar ---- */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--surface-alt);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.6s ease;
}

.progress-fill.green { background: linear-gradient(90deg, #059669, var(--success)); }
.progress-fill.blue { background: linear-gradient(90deg, var(--accent-muted), var(--accent)); }
.progress-fill.orange { background: linear-gradient(90deg, var(--warning), #FBBF24); }
.progress-fill.red { background: linear-gradient(90deg, #DC2626, #F87171); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn.btn-primary {
  width: auto;
  padding: 10px 20px;
  background: var(--accent);
  color: #0A1628;
  box-shadow: 0 2px 8px rgba(34,211,238,0.2);
}

.btn.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(34,211,238,0.6);
}

.btn-outline:hover { background: rgba(34,211,238,0.08); }

.btn-sm { padding: 6px 14px; font-size: 13px; min-height: 32px; }

/* ---- Forms ---- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 16px; /* ≥16px avoids iOS focus-zoom */
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.15);
}

.form-control::placeholder { color: var(--text-light); }

textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; cursor: pointer; }

/* ---- Upload Zone ---- */
.upload-zone {
  display: block;
  width: 100%;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg);
  color: inherit;
  font-family: inherit;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(34,211,238,0.04);
}

.upload-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.7; }
.upload-zone h4 { font-size: 16px; margin-bottom: 4px; color: var(--text); }
.upload-zone p { font-size: 13px; color: var(--text-muted); }

.upload-list { margin-top: 20px; }
.upload-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(34,211,238,0.05);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 1px solid rgba(34,211,238,0.12);
}

.upload-file-icon { font-size: 20px; }
.upload-file-info { flex: 1; }
.upload-file-info .name { font-size: 14px; font-weight: 600; }
.upload-file-info .size { font-size: 11px; color: var(--text-muted); }
.upload-file-remove {
  background: none;
  border: none;
  color: #F87171;
  cursor: pointer;
  font-size: 18px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.upload-file-remove:hover { background: rgba(239,68,68,0.12); }

/* ---- Resource Cards ---- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.resource-card {}
.resource-card .card-header {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.resource-card .card-header h2 { font-size: 15px; }
.resource-card .resource-type { font-size: 11px; color: var(--text-muted); }

.resource-list { list-style: none; }
.resource-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.resource-file-icon { font-size: 18px; }
.resource-file-name { flex: 1; font-weight: 500; }
.resource-file-meta { font-size: 12px; color: var(--text-muted); }
.resource-file-link { color: var(--accent); font-size: 13px; }

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
  .stats-grid,
  .stats-grid--4,
  .stats-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .content-body { padding: 20px 16px; }
  .content-header { padding: 16px; }
  table { font-size: 13px; }
  thead th, tbody td { padding: 10px 8px; }
  .btn-sm { min-height: 40px; }
  .resource-file-link { min-height: 40px; display: inline-flex; align-items: center; }
}

@media (max-width: 640px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .menu-toggle { display: flex; }
  .main-content { margin-left: 0; }

  .stats-grid,
  .stats-grid--4,
  .stats-grid--3 { grid-template-columns: 1fr; }
  .stat-card { flex-direction: column; text-align: center; gap: 12px; }

  .content-header { padding-top: 72px; }

  .card-body { padding: 16px; }
}

/* ---- Animations ---- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeIn 0.3s ease forwards; }

/* ---- Toast notifications (accessible, on-brand contrast) ---- */
@keyframes toastIn {
  from { transform: translateY(-8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.portal-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 380px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease-out;
}
.portal-toast__icon { font-size: 16px; font-weight: 700; }
.portal-toast--success { border-left-color: var(--success); }
.portal-toast--success .portal-toast__icon { color: var(--success); }
.portal-toast--error { border-left-color: #F87171; }
.portal-toast--error .portal-toast__icon { color: #F87171; }
.portal-toast--warning { border-left-color: #FBBF24; }
.portal-toast--warning .portal-toast__icon { color: #FBBF24; }
.portal-toast--info .portal-toast__icon { color: var(--accent); }
.portal-toast--out { opacity: 0; transition: opacity 0.3s ease; }

/* Reduced motion — animations stay functional, just instant */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
