/* ==========================================================================
   tempControl panel
   --------------------------------------------------------------------------
   Theming works off a single [data-theme] attribute on <html>. Every colour is
   a token defined twice -- once for light, once for dark -- so components never
   reference a raw colour and the toggle is instant.
   ========================================================================== */

/* --- tokens: light (default) --------------------------------------------- */
:root {
  --bg:            #f4f6f9;
  --bg-grad:       radial-gradient(1200px 600px at 15% -10%, #e9edff 0%, transparent 60%),
                   radial-gradient(1000px 500px at 90% 0%, #e6fbf6 0%, transparent 55%);
  --surface:       #ffffff;
  --surface-2:     #f7f9fb;
  --surface-3:     #eef1f6;
  --border:        #e2e7ee;
  --border-strong: #d2d9e3;

  /* Three tiers, each kept at or above WCAG AA (4.5:1) on --surface. */
  --text:          #101521;   /* 16.9:1 */
  --text-muted:    #515b6b;   /*  6.9:1 */
  --text-faint:    #6b7583;   /*  4.7:1 */

  --accent:        #5b5bd6;
  --accent-soft:   rgba(91, 91, 214, 0.10);

  --cpu:           #6366f1;
  --gpu:           #0d9d7f;
  --ram:           #d98407;
  --temp:          #e4572e;
  --down:          #1d84e0;
  --up:            #9333ea;

  --good:          #12946b;
  --warn:          #c77700;
  --bad:           #d63b30;

  --track:         rgba(16, 21, 33, 0.08);
  --grid:          rgba(16, 21, 33, 0.07);

  --shadow-sm:     0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow:        0 1px 3px rgba(16, 24, 40, 0.07), 0 8px 24px -12px rgba(16, 24, 40, 0.16);
  --shadow-lg:     0 12px 40px -12px rgba(16, 24, 40, 0.24);

  --radius:        14px;
  --radius-sm:     9px;
  --radius-lg:     20px;

  color-scheme: light;
}

/* --- tokens: dark -------------------------------------------------------- */
:root[data-theme="dark"] {
  --bg:            #090b10;
  --bg-grad:       radial-gradient(1100px 560px at 12% -12%, #171a3a 0%, transparent 62%),
                   radial-gradient(900px 460px at 92% -4%, #0d2b2a 0%, transparent 58%);
  --surface:       #12151c;
  --surface-2:     #171b23;
  --surface-3:     #1e232c;
  --border:        #242a35;
  --border-strong: #323947;

  --text:          #e8ecf3;   /* 16.6:1 */
  --text-muted:    #99a3b3;   /*  7.2:1 */
  --text-faint:    #7d8798;   /*  5.1:1 */

  --accent:        #8b8bf5;
  --accent-soft:   rgba(139, 139, 245, 0.14);

  --cpu:           #8b8bf5;
  --gpu:           #2dd4a7;
  --ram:           #f5b23c;
  --temp:          #ff7a55;
  --down:          #4aa8ff;
  --up:            #c084fc;

  --good:          #34d399;
  --warn:          #fbbf24;
  --bad:           #f87171;

  --track:         rgba(232, 236, 243, 0.09);
  --grid:          rgba(232, 236, 243, 0.06);

  --shadow-sm:     0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow:        0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px -14px rgba(0, 0, 0, 0.8);
  --shadow-lg:     0 20px 50px -18px rgba(0, 0, 0, 0.85);

  color-scheme: dark;
}

/* --- reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--bg-grad);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system,
               BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .25s ease, color .25s ease;
}

/* Suppress the theme transition during the initial paint and while toggling,
   so hundreds of elements do not each animate their own colour. */
.theme-switching *, .theme-switching *::before, .theme-switching *::after {
  transition: none !important;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }

button, input, select { font: inherit; color: inherit; }

button { cursor: pointer; }

:where(button, a, input, select, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- layout -------------------------------------------------------------- */
.shell { min-height: 100%; display: flex; flex-direction: column; }

.wrap {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
}

main.wrap { padding-bottom: 40px; flex: 1; }

/* --- top bar ------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 15px;
  margin-right: 4px;
  white-space: nowrap;
}

.brand-mark {
  width: 28px; height: 28px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--cpu), var(--gpu));
  color: #fff;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand-mark svg { width: 16px; height: 16px; }

.brand em { font-style: normal; color: var(--text-faint); font-weight: 500; }

.topbar-spacer { flex: 1 1 auto; }

/* --- controls ------------------------------------------------------------ */
.control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.control:hover { border-color: var(--border-strong); background: var(--surface-2); }
.control svg { width: 15px; height: 15px; flex: none; }

select.control {
  padding-right: 30px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238c97a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5 8 10.5 12 6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 14px;
  max-width: 260px;
  text-overflow: ellipsis;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.segmented button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 550;
  padding: 4px 11px;
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.icon-btn {
  width: 34px; height: 34px;
  padding: 0;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 16px; height: 16px; }

/* The theme button swaps which glyph is visible based on the active theme. */
:root[data-theme="dark"] .icon-sun { display: none; }
:root:not([data-theme="dark"]) .icon-moon { display: none; }

/* --- connection pill ----------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text-muted);
  white-space: nowrap;
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
  flex: none;
}
.pill[data-state="live"]   { color: var(--good); border-color: color-mix(in srgb, var(--good) 32%, var(--border)); }
.pill[data-state="live"] .dot { background: var(--good); animation: pulse 2.4s ease-in-out infinite; }
.pill[data-state="stale"]  { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 32%, var(--border)); }
.pill[data-state="stale"] .dot { background: var(--warn); }
.pill[data-state="offline"] { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 32%, var(--border)); }
.pill[data-state="offline"] .dot { background: var(--bad); }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 55%, transparent); }
  50%      { opacity: .75; box-shadow: 0 0 0 5px color-mix(in srgb, var(--good) 0%, transparent); }
}

/* --- host meta line ------------------------------------------------------ */
.hostline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 18px 0 20px;
  color: var(--text-muted);
  font-size: 13px;
}
.hostline h1 {
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-right: 2px;
}
.hostline .sep { color: var(--text-faint); }
.hostline .meta { display: inline-flex; align-items: center; gap: 6px; }
.hostline .meta svg { width: 14px; height: 14px; opacity: .7; }

/* --- cards --------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px 0;
}
.card-head h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.card-head .spacer { flex: 1; }
.card-head .note { font-size: 12px; color: var(--text-faint); }

/* --- hero stat grid ------------------------------------------------------ */
.grid-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  position: relative;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
/* A hairline of the metric colour along the top edge ties card to chart. */
.stat::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent-color, var(--accent));
  opacity: .85;
}

.gauge { flex: none; width: 88px; height: 88px; position: relative; }
.gauge svg,
.gauge canvas { width: 100%; height: 100%; display: block; }
.gauge .gauge-track { stroke: var(--track); }
.gauge .gauge-value {
  stroke: var(--accent-color, var(--accent));
  transition: stroke-dashoffset .45s cubic-bezier(.4, 0, .2, 1), stroke .3s ease;
}
.gauge-center {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
  line-height: 1.1;
}
.gauge-center .v { font-size: 20px; font-weight: 640; letter-spacing: -0.03em; }
.gauge-center .u { font-size: 10px; color: var(--text-faint); font-weight: 550; }

.stat-body { min-width: 0; flex: 1; }
.stat-title {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-primary {
  font-size: 15px;
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-sub {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: var(--text-muted);
}
.stat-sub div {
  display: flex; justify-content: space-between; gap: 10px;
  white-space: nowrap;
}
.stat-sub b { font-weight: 600; color: var(--text); }
.stat-sub .muted { color: var(--text-faint); font-weight: 500; }

/* --- chart cards --------------------------------------------------------- */
.grid-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.chart-card { display: flex; flex-direction: column; }
.chart-box {
  position: relative;
  height: 168px;
  margin: 10px 8px 8px;
}
.chart-box canvas { width: 100%; height: 100%; display: block; }

.legend { display: flex; gap: 14px; align-items: center; }
.legend span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted); font-weight: 500;
}
.legend i {
  width: 9px; height: 9px; border-radius: 3px; display: block;
  background: var(--c, var(--accent));
}

/* Hover readout that follows the crosshair. */
.chart-tip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%);
  transition: opacity .12s ease;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  box-shadow: var(--shadow-lg);
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
  line-height: 1.45;
}
.chart-tip.on { opacity: 1; }
.chart-tip .t { color: var(--text-faint); font-size: 11px; }
.chart-tip .r { display: flex; align-items: center; gap: 6px; }
.chart-tip .r i { width: 8px; height: 8px; border-radius: 2px; }
.chart-tip .r b { margin-left: auto; font-weight: 620; }

/* --- per-core strip ------------------------------------------------------ */
.cores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
  gap: 8px;
  padding: 14px 18px 18px;
}
.core { display: flex; flex-direction: column; gap: 5px; align-items: stretch; }
.core-bar {
  height: 46px;
  border-radius: 6px;
  background: var(--track);
  position: relative;
  overflow: hidden;
}
.core-fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-radius: 6px;
  background: var(--cpu);
  transition: height .35s cubic-bezier(.4, 0, .2, 1), background .3s ease;
}
.core-label {
  font-size: 10px;
  color: var(--text-faint);
  text-align: center;
  font-weight: 550;
}
.core-val { font-size: 10.5px; text-align: center; color: var(--text-muted); }

/* --- process table ------------------------------------------------------- */
.table-card { margin-top: 16px; overflow: hidden; }

.table-tools {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.search {
  position: relative;
  display: flex; align-items: center;
  flex: 1 1 220px;
  max-width: 320px;
}
.search svg {
  position: absolute; left: 10px;
  width: 15px; height: 15px; color: var(--text-faint); pointer-events: none;
}
.search input {
  width: 100%;
  height: 34px;
  padding: 0 11px 0 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  transition: border-color .15s ease, background .15s ease;
}
.search input::placeholder { color: var(--text-faint); }
.search input:focus { background: var(--surface); border-color: var(--accent); outline: none; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
}
.badge.info    { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 24%, transparent); }
.badge.warn    { background: color-mix(in srgb, var(--warn) 13%, transparent); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 28%, transparent); }
.badge.good    { background: color-mix(in srgb, var(--good) 13%, transparent); color: var(--good); border-color: color-mix(in srgb, var(--good) 28%, transparent); }
.badge.bad     { background: color-mix(in srgb, var(--bad) 13%, transparent); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 28%, transparent); }
.badge.neutral { background: var(--surface-3); color: var(--text-muted); border-color: var(--border); }

.table-scroll { overflow-x: auto; max-height: 560px; overflow-y: auto; }

table.proc { width: 100%; border-collapse: collapse; font-size: 13px; }

table.proc thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 9px 14px;
  text-align: right;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
table.proc thead th:first-child { text-align: left; }
table.proc thead th:hover { color: var(--text); }
table.proc thead th .arrow { opacity: 0; margin-left: 4px; font-size: 9px; }
table.proc thead th[aria-sort] { color: var(--text); }
table.proc thead th[aria-sort] .arrow { opacity: 1; }

table.proc tbody td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  text-align: right;
  white-space: nowrap;
  color: var(--text-muted);
}
table.proc tbody td:first-child { text-align: left; color: var(--text); }
table.proc tbody tr:hover td { background: var(--surface-2); }
table.proc tbody tr:last-child td { border-bottom: 0; }
table.proc tbody td.strong { color: var(--text); font-weight: 550; }

.proc-name { display: flex; align-items: center; gap: 9px; min-width: 0; }
.proc-dot {
  width: 8px; height: 8px; border-radius: 3px; flex: none;
  background: var(--accent);
}
.proc-name span { overflow: hidden; text-overflow: ellipsis; }
.proc-name small {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 500;
  flex: none;
}

/* A rate cell doubles as its own bar chart, scaled to the busiest row. */
.rate { position: relative; }
.rate .bar {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 20px;
  border-radius: 4px;
  opacity: .14;
  pointer-events: none;
}
.rate.down .bar { background: var(--down); }
.rate.up   .bar { background: var(--up); }
.rate .v { position: relative; }
.rate.active .v { color: var(--text); font-weight: 600; }

.empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--text-faint);
}
.empty h3 { font-size: 15px; color: var(--text-muted); margin-bottom: 6px; }
.empty p { margin: 0; font-size: 13px; max-width: 460px; margin-inline: auto; }

/* --- sensor status ------------------------------------------------------- */
.status-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 16px 0 0;
}
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 12px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.status-chip b { color: var(--text); font-weight: 600; }
.status-chip .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.status-chip[data-state="ok"] .dot { background: var(--good); }
.status-chip[data-state="denied"] .dot { background: var(--warn); }
.status-chip[data-state="unavailable"] .dot { background: var(--bad); }

/* --- notice -------------------------------------------------------------- */
.notice {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, var(--border));
  background: color-mix(in srgb, var(--warn) 8%, var(--surface));
  color: var(--text);
  font-size: 13px;
  margin-bottom: 16px;
}
.notice svg { width: 17px; height: 17px; color: var(--warn); flex: none; margin-top: 1px; }
.notice p { margin: 0; }
.notice code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  background: var(--surface-3);
  padding: 1px 5px;
  border-radius: 5px;
}

/* --- login --------------------------------------------------------------- */
.login-page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.login-card {
  width: 100%;
  max-width: 380px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.login-card .brand { justify-content: center; margin: 0 0 6px; font-size: 17px; }
.login-card .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
.login-card .brand-mark svg { width: 19px; height: 19px; }
.login-card p.lede {
  text-align: center; color: var(--text-muted); margin: 0 0 24px; font-size: 13px;
}
.field { display: block; margin-bottom: 16px; }
.field span {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-muted); margin-bottom: 6px;
}
.field input {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface-2);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.btn-primary {
  width: 100%; height: 40px;
  border: 0; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 14px;
  transition: filter .15s ease, transform .05s ease;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: translateY(1px); }
.error-box {
  padding: 10px 12px; margin-bottom: 16px;
  border-radius: 9px; font-size: 13px;
  color: var(--bad);
  background: color-mix(in srgb, var(--bad) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent);
}
.login-foot {
  margin-top: 22px; text-align: center;
  font-size: 12px; color: var(--text-faint);
}

/* --- footer -------------------------------------------------------------- */
.foot {
  padding: 22px 0 30px;
  color: var(--text-faint);
  font-size: 12px;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .topbar-inner { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .topbar-spacer { display: none; }
  .grid-charts { grid-template-columns: minmax(0, 1fr); }
  .hostline { padding: 14px 0 16px; }
  .hostline h1 { font-size: 18px; }
  select.control { max-width: 160px; }
}

@media (max-width: 600px) {
  .grid-stats { grid-template-columns: minmax(0, 1fr); }
  .stat { gap: 14px; }
  .gauge { width: 74px; height: 74px; }
  .gauge-center .v { font-size: 17px; }
  .table-scroll { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
