/* smart-doctor website.
   Concept: a login on a bedside monitor. The hero is a monitor reading from a real run (dark in both
   themes, like hardware); the page around it is ECG paper and a clinical note: Complaint,
   Examination, Diagnosis, Treatment, Precautions. Palette, fonts and type scale come from the tool's
   own web view (src/ui/assets.js) so the site and the tool feel like one product. */

@font-face {
  font-family: 'Atkinson Next';
  src: url(fonts/sans.woff2) format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Mono';
  src: url(fonts/mono.woff2) format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* paper and ink */
  --paper: #f6f9f8;
  --surface: #ffffff;
  --tint: #eef5f3;
  --ink: #16252d;
  --muted: #56696e;
  --grid: #dbe6e3;
  --grid-strong: #c3d4d0;
  /* the trace */
  --pass: #0b7a6b;
  --pass-soft: #e2f1ee;
  --fail: #b5312a;
  --fail-soft: #fbe8e6;
  --warn: #9a6510;
  --focus: #1f5fbf;
  --on-pass: #ffffff;
  --shadow: 0 1px 2px rgb(16 37 45 / 0.06), 0 12px 32px -16px rgb(16 37 45 / 0.25);
  --header-bg: rgb(255 255 255 / 0.82);
  /* the monitor: the same in both themes, like hardware */
  --mon-bg: #0a1615;
  --mon-panel: #0f201f;
  --mon-line: #1f3835;
  --mon-grid: rgb(91 224 198 / 0.07);
  --mon-grid-strong: rgb(91 224 198 / 0.14);
  --mon-text: #d3e6e2;
  --mon-muted: #87a7a1;
  --phosphor: #5be0c6;
  --alarm: #ff6f62;
  --amber: #f2b84b;

  --sans: 'Atkinson Next', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Atkinson Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --s-2: 0.75rem;
  --s-1: 0.8125rem;
  --s0: 1rem;
  --s1: 1.25rem;
  --s2: 1.5625rem;
  --s3: 1.953rem;
  --s4: 2.441rem;
  --s5: 3.052rem;
  --s6: 3.815rem;

  --measure: 65ch;
  --page: 74rem;
  --radius: 8px;
  --radius-lg: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0e1a19;
    --surface: #142423;
    --tint: #18302e;
    --ink: #e2ecea;
    --muted: #9db1b0;
    --grid: #1f3432;
    --grid-strong: #2d4744;
    --pass: #45c2ae;
    --pass-soft: rgb(69 194 174 / 0.13);
    --fail: #f07a6e;
    --fail-soft: rgb(240 122 110 / 0.13);
    --warn: #e3a548;
    --focus: #8ab4ff;
    --on-pass: #072019;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 36px -18px rgb(0 0 0 / 0.7);
    --header-bg: rgb(20 36 35 / 0.82);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #0e1a19;
  --surface: #142423;
  --tint: #18302e;
  --ink: #e2ecea;
  --muted: #9db1b0;
  --grid: #1f3432;
  --grid-strong: #2d4744;
  --pass: #45c2ae;
  --pass-soft: rgb(69 194 174 / 0.13);
  --fail: #f07a6e;
  --fail-soft: rgb(240 122 110 / 0.13);
  --warn: #e3a548;
  --focus: #8ab4ff;
  --on-pass: #072019;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 36px -18px rgb(0 0 0 / 0.7);
  --header-bg: rgb(20 36 35 / 0.82);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--s0) / 1.6 var(--sans);
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  text-wrap: balance;
  font-weight: 750;
  letter-spacing: -0.018em;
}
p {
  margin: 0;
}
a {
  color: var(--focus);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.92em;
}
:not(pre) > code {
  background: var(--tint);
  border: 1px solid var(--grid);
  border-radius: 4px;
  padding: 0.05em 0.32em;
  overflow-wrap: anywhere;
}
svg {
  max-width: 100%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: -4rem;
  z-index: 40;
  background: var(--surface);
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--focus);
  border-radius: var(--radius);
}
.skip:focus {
  top: 0.75rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: var(--s-1);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pass);
}
.eyebrow::before {
  content: '';
  width: 1.4rem;
  height: 0.6rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M0 7h9l2-5 3 9 2-4h12' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M0 7h9l2-5 3 9 2-4h12' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.muted {
  color: var(--muted);
}

/* ---------------------------------------------------------------- frame */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--surface);
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--grid);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 780;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand:hover {
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9px;
  background: var(--pass);
  box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.12);
  flex: none;
}
.mark svg {
  width: 1.45rem;
  height: 1rem;
}
.mark path {
  fill: none;
  stroke: var(--on-pass);
  stroke-width: 2.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.version {
  font-family: var(--mono);
  font-size: var(--s-2);
  font-weight: 650;
  color: var(--muted);
  border: 1px solid var(--grid-strong);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  letter-spacing: 0;
}
.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}
.nav a:hover {
  background: var(--tint);
}
.nav a[aria-current='page'] {
  color: var(--pass);
  background: var(--pass-soft);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--grid-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  flex: none;
  text-decoration: none;
}
.icon-btn:hover {
  border-color: var(--muted);
  background: var(--tint);
}
.icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}
.gh {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}
.gh:hover {
  text-decoration: none;
  filter: brightness(1.15);
}
.gh svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}
.theme svg .sun,
.theme svg .moon,
.theme svg .auto {
  display: none;
}
.theme[data-mode='light'] svg .sun,
.theme[data-mode='dark'] svg .moon,
.theme[data-mode='auto'] svg .auto {
  display: inline;
}
.menu {
  position: relative;
}
.menu summary {
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(18rem, calc(100vw - 2.5rem));
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.menu-panel a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  font-weight: 550;
}
.menu-panel a:hover,
.menu-panel a[aria-current='page'] {
  background: var(--pass-soft);
  color: var(--pass);
}
@media (min-width: 54rem) {
  .nav,
  .gh {
    display: inline-flex;
  }
  .menu {
    display: none;
  }
  .brand {
    margin-right: 1.25rem;
  }
  .nav {
    margin-right: auto;
  }
}

main {
  padding-block: 0 2rem;
}

/* ---------------------------------------------------------------- buttons and commands */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid var(--grid-strong);
  color: var(--ink);
  background: var(--surface);
}
.button:hover {
  text-decoration: none;
  border-color: var(--muted);
}
.button.primary {
  background: var(--pass);
  border-color: var(--pass);
  color: var(--on-pass);
}
.button.primary:hover {
  filter: brightness(1.06);
}
.button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cmd {
  display: flex;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  justify-self: start;
  border: 1px solid var(--grid-strong);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.03);
}
.cmd code {
  display: block;
  min-width: 0;
  padding: 0.7rem 0.4rem 0.7rem 1.1rem;
  white-space: nowrap;
  overflow-x: auto;
  background: none;
  border: 0;
  font-size: 0.95rem;
}
.cmd code::before {
  content: '$ ';
  color: var(--pass);
  font-weight: 700;
}
.copy {
  flex: none;
  font: inherit;
  font-size: var(--s-1);
  font-weight: 650;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0 1rem 0 0.6rem;
  cursor: pointer;
}
.copy:hover {
  color: var(--pass);
}
pre {
  margin: 0;
  padding: 0.9rem 1.05rem;
  background: var(--tint);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  overflow-x: auto;
  line-height: 1.55;
  font-size: 0.88rem;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  border-bottom: 1px solid var(--grid);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}
.hero::after {
  /* fade the paper grid towards the bottom so the page settles */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--paper) 96%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 64rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3.5rem;
  }
}
.hero-copy {
  display: grid;
  gap: 1.4rem;
  min-width: 0;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, var(--s6));
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.02;
}
.hero h1 .flat {
  position: relative;
  color: var(--fail);
  white-space: nowrap;
}
.hero h1 .flat svg {
  position: absolute;
  left: -0.05em;
  right: 0;
  bottom: -0.2em;
  width: 105%;
  height: 0.32em;
  overflow: visible;
}
.hero h1 .flat path {
  fill: none;
  stroke: var(--fail);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.lede {
  font-size: clamp(1.08rem, 1.6vw, var(--s1));
  line-height: 1.55;
  color: var(--ink);
  max-width: 36em;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.trust li::before {
  content: '✔';
  font-family: var(--mono);
  font-weight: 700;
  color: var(--pass);
}

/* ---------------------------------------------------------------- the monitor */
.monitor {
  margin: 0;
  min-width: 0;
  background: var(--mon-bg);
  color: var(--mon-text);
  border-radius: var(--radius-lg);
  border: 1px solid #22403c;
  box-shadow:
    0 0 0 6px rgb(10 22 21 / 0.06),
    0 30px 60px -30px rgb(6 22 20 / 0.55);
  overflow: hidden;
}
.mon-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--mon-line);
  font-family: var(--mono);
  font-size: var(--s-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mon-muted);
}
.mon-bar .live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--alarm);
  font-weight: 700;
}
.mon-bar .live::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--alarm);
  box-shadow: 0 0 10px var(--alarm);
  animation: blink 1.2s steps(2, start) infinite;
}
.mon-bar .who {
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
}
.mon-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.mon-screen {
  position: relative;
  min-width: 0;
  background-color: var(--mon-panel);
  background-image:
    linear-gradient(var(--mon-grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--mon-grid-strong) 1px, transparent 1px),
    linear-gradient(var(--mon-grid) 1px, transparent 1px), linear-gradient(90deg, var(--mon-grid) 1px, transparent 1px);
  background-size:
    40px 40px,
    40px 40px,
    8px 8px,
    8px 8px;
  overflow: hidden;
}
.mon-trace {
  position: relative;
  overflow: hidden;
}
.mon-screen svg {
  display: block;
  width: 100%;
  height: auto;
}
.trace .line {
  fill: none;
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.monitor .trace .pass {
  stroke: var(--phosphor);
  filter: drop-shadow(0 0 3px rgb(91 224 198 / 0.55));
}
.monitor .trace .skip {
  stroke: var(--mon-muted);
}
.monitor .trace .fail {
  stroke: var(--alarm);
  stroke-width: 2.8;
  filter: drop-shadow(0 0 4px rgb(255 111 98 / 0.6));
}
.monitor .trace .flat {
  stroke: var(--alarm);
  stroke-dasharray: 1 7;
  opacity: 0.85;
}
.monitor .trace .cursor {
  fill: var(--alarm);
  animation: pulse 1.1s ease-in-out infinite;
}
.sweep {
  /* the erase bar of a real monitor: the trace stays readable, a band is redrawn as it passes */
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 18%;
  background: linear-gradient(90deg, transparent, var(--mon-panel) 55%, var(--mon-panel));
  animation: sweep 5s linear infinite;
  pointer-events: none;
}
@keyframes sweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(560%);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.2;
  }
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
.mon-steps {
  list-style: none;
  margin: 0;
  padding: 0 0.4rem 0.75rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.6vw, 0.72rem);
  line-height: 1.25;
  text-align: center;
  color: var(--mon-muted);
}
.mon-steps li {
  padding: 0 0.1rem;
  min-width: 0;
  white-space: nowrap;
}
@media (max-width: 34rem) {
  /* stagger alternate labels onto a second line so neighbours never collide */
  .mon-steps li:nth-child(even) {
    padding-top: 2.2em;
  }
}
.mon-steps .st {
  display: block;
  font-weight: 700;
}
.mon-steps [data-s='pass'] .st {
  color: var(--phosphor);
}
.mon-steps [data-s='fail'] {
  color: var(--alarm);
  font-weight: 700;
}
.vitals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--mon-line);
  border-top: 1px solid var(--mon-line);
}
@media (min-width: 34rem) {
  .vitals {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .vitals[data-n='2'] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.vitals li {
  display: grid;
  align-content: start;
  gap: 0.1rem;
  padding: 0.7rem 0.9rem 0.75rem;
  background: var(--mon-bg);
  font-family: var(--mono);
  min-width: 0;
}
.vitals .k {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mon-muted);
}
.vitals .v {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--phosphor);
}
.vitals .u {
  font-size: 0.7rem;
  color: var(--mon-muted);
  overflow-wrap: anywhere;
}
.vitals [data-s='fail'] {
  background: #1d1514;
}
.vitals [data-s='fail'] .v,
.vitals [data-s='fail'] .k {
  color: var(--alarm);
}
.mon-alarm {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem 0.95rem;
  border-top: 1px solid var(--mon-line);
  background: linear-gradient(180deg, rgb(255 111 98 / 0.07), transparent);
}
.mon-alarm .dx {
  font-family: var(--mono);
  font-size: var(--s-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.mon-alarm .t {
  font-weight: 700;
  color: #fff;
}
.mon-alarm .fix {
  font-size: 0.92rem;
  color: var(--mon-text);
}
.mon-caption {
  margin-top: 0.75rem;
  font-size: var(--s-1);
  color: var(--muted);
}

/* ---------------------------------------------------------------- sections */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section + .section {
  border-top: 1px solid var(--grid);
}
.section-head {
  display: grid;
  gap: 0.8rem;
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.section-head h2 {
  font-size: clamp(var(--s3), 4vw, var(--s4));
}
.section-head p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: var(--measure);
}
.tinted {
  background: var(--surface);
  border-block: 1px solid var(--grid);
}

/* complaint: what the server says vs what smart-doctor says */
.versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 60rem) {
  .versus {
    grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.2fr);
    gap: 1.5rem;
  }
}
.panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.panel-label {
  font-family: var(--mono);
  font-size: var(--s-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.says {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--fail);
  background: var(--fail-soft);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  overflow-wrap: anywhere;
}
.guesses {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}
.guesses a {
  color: var(--muted);
  text-decoration-color: var(--grid-strong);
}
.guesses a:hover {
  color: var(--ink);
}
.guesses li::before {
  content: '? ';
  font-family: var(--mono);
  font-weight: 700;
  color: var(--fail);
}
.arrow {
  display: none;
  align-self: center;
  color: var(--pass);
}
@media (min-width: 60rem) {
  .arrow {
    display: block;
  }
}
.arrow svg {
  width: 2.75rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ranked {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.1rem;
}
.ranked li {
  display: grid;
  gap: 0.35rem;
}
.ranked .row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}
.ranked .t {
  font-weight: 700;
}
.ranked .why {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: var(--measure);
}
.ranked .fix {
  font-size: 0.95rem;
}
.ranked .fix::before {
  content: 'Fix: ';
  font-weight: 700;
}
.ranked .evidence {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.meter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: var(--s-2);
  font-weight: 700;
  color: var(--pass);
  white-space: nowrap;
}
.meter i {
  display: block;
  width: 4.5rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--grid);
  overflow: hidden;
}
.meter i::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: currentColor;
  border-radius: inherit;
}
.meter[data-p='85'] i::after {
  width: 85%;
}
.meter.low {
  color: var(--muted);
}

/* how it works: the diagram */
.diagram {
  margin: 0;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
}
.diagram-scroll {
  overflow-x: auto;
}
.diagram svg {
  display: block;
  width: 100%;
  min-width: 40rem;
  height: auto;
  color: var(--ink);
}
.diagram .box {
  fill: var(--paper);
  stroke: var(--grid-strong);
  stroke-width: 1.2;
}
.diagram .zone {
  fill: var(--tint);
  stroke: var(--grid-strong);
  stroke-dasharray: 4 4;
}
.diagram .zone-ehr {
  fill: var(--paper);
  stroke: var(--grid-strong);
}
.diagram .key {
  fill: var(--pass-soft);
  stroke: var(--pass);
}
.diagram text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 13px;
}
.diagram .small {
  font-size: 11.5px;
  fill: var(--muted);
}
.diagram .mono {
  font-family: var(--mono);
  font-size: 11.5px;
}
.diagram .zone-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  fill: var(--muted);
}
.diagram .strong {
  font-weight: 700;
}
.diagram .wire {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.diagram .net {
  stroke: var(--pass);
  stroke-width: 1.8;
}
.diagram .stay {
  stroke: var(--fail);
  stroke-dasharray: 3 4;
}
.diagram .net-text {
  fill: var(--pass);
}
.diagram .stay-text {
  fill: var(--fail);
}
.diagram .head {
  fill: currentColor;
}
.diagram .head-net {
  fill: var(--pass);
}
.diagram figcaption {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: var(--measure);
}

/* examination: two flows */
.flows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
@media (min-width: 52rem) {
  .flows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.flow {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  min-width: 0;
}
.flow-head {
  display: grid;
  gap: 0.3rem;
}
.flow h3 {
  font-size: var(--s2);
}
.grant {
  font-family: var(--mono);
  font-size: var(--s-1);
  color: var(--pass);
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.checks li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.75rem;
  border-top: 1px solid var(--grid);
}
.checks li::before {
  content: '✔';
  position: absolute;
  left: 0.1rem;
  top: 0.55rem;
  color: var(--pass);
  font-family: var(--mono);
  font-weight: 700;
}
.note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  align-items: baseline;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  background: var(--pass-soft);
  border-radius: var(--radius-lg);
  max-width: 52rem;
}
.note span {
  flex: 1 1 22rem;
  min-width: 0;
}

/* diagnosis: how it ranks */
.ladder {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  counter-reset: rank;
}
@media (min-width: 56rem) {
  .ladder {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ladder li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 1.25rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  counter-increment: rank;
}
.ladder li::before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--pass);
  color: var(--on-pass);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
}
.ladder h3 {
  font-size: 1.08rem;
}
.ladder p {
  font-size: 0.95rem;
  color: var(--muted);
}
.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0 0;
  background: var(--grid-strong);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 48rem) {
  .figures {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.figures div {
  display: grid;
  gap: 0.15rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
}
.figures dt {
  order: 2;
  font-size: var(--s-1);
  color: var(--muted);
}
.figures dd {
  order: 1;
  margin: 0;
  font-family: var(--mono);
  font-size: var(--s3);
  font-weight: 700;
  line-height: 1.1;
  color: var(--pass);
  font-variant-numeric: tabular-nums;
}
.more {
  display: inline-flex;
  margin-top: 1.5rem;
  font-weight: 650;
}

/* treatment */
.run {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 60rem) {
  .run {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
  }
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.35rem;
  counter-reset: step;
}
.steps > li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.25rem 0.9rem;
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--pass);
  color: var(--pass);
  font-family: var(--mono);
  font-weight: 700;
}
.steps h3 {
  font-size: 1.08rem;
  padding-top: 0.35rem;
}
.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}
.steps .cmd {
  margin-top: 0.35rem;
}
.ways {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  align-content: start;
}
@media (min-width: 36rem) {
  .ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.way {
  display: grid;
  gap: 0.3rem;
  align-content: start;
  padding: 1.1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
}
.way h3 {
  font-size: 1rem;
}
.way p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* precautions */
.leaves {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 60rem) {
  .leaves {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: start;
  }
}
.ledger {
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.ledger table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.ledger th,
.ledger td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--grid);
}
.ledger tr:last-child td {
  border-bottom: 0;
}
.ledger thead th {
  font-family: var(--mono);
  font-size: var(--s-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--tint);
}
.ledger td:first-child {
  font-weight: 650;
  white-space: nowrap;
}
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--s-2);
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pill.never {
  color: var(--pass);
  background: var(--pass-soft);
}
.pill.only {
  color: var(--warn);
  background: color-mix(in srgb, var(--warn) 14%, transparent);
}
.promises {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.promises li {
  display: grid;
  gap: 0.2rem;
}
.promises strong {
  font-weight: 700;
}
.promises span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* call to action */
.cta {
  position: relative;
  overflow: hidden;
  margin-block: 1rem 3rem;
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 20px;
  background: var(--mon-bg);
  color: var(--mon-text);
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--mon-grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--mon-grid-strong) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 60%);
  mask-image: linear-gradient(90deg, transparent, black 60%);
}
.cta > * {
  position: relative;
}
.cta h2 {
  font-size: clamp(var(--s3), 4vw, var(--s4));
  color: #fff;
  max-width: 20ch;
}
.cta p {
  color: var(--mon-muted);
  max-width: 50ch;
}
.cta .cmd {
  background: rgb(255 255 255 / 0.06);
  border-color: var(--mon-line);
}
.cta .cmd code {
  color: #fff;
}
.cta .copy {
  color: var(--mon-muted);
}
.cta .button {
  background: transparent;
  color: #fff;
  border-color: var(--mon-line);
}
.cta .alarm {
  color: var(--alarm);
}
.cta .button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  stroke: none;
}
.cta .button.primary {
  background: var(--phosphor);
  border-color: var(--phosphor);
  color: #052019;
}

/* ---------------------------------------------------------------- footer */
.foot {
  border-top: 1px solid var(--grid);
  background: var(--surface);
  font-size: 0.93rem;
}
.foot .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-block: 2.75rem 2.25rem;
}
@media (min-width: 48rem) {
  .foot .wrap {
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  }
}
.foot-brand {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.foot-brand p {
  color: var(--muted);
  max-width: 34ch;
}
.foot h2 {
  font-family: var(--mono);
  font-size: var(--s-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.foot ul a {
  color: var(--ink);
  text-decoration: none;
}
.foot ul a:hover {
  color: var(--pass);
  text-decoration: underline;
}
.fine {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grid);
  color: var(--muted);
  font-size: var(--s-1);
  max-width: 90ch;
}

/* ---------------------------------------------------------------- inner pages */
.page-head {
  display: grid;
  gap: 1rem;
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
.page-head h1 {
  font-size: clamp(var(--s4), 5vw, var(--s5));
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.page-head p {
  max-width: var(--measure);
  font-size: 1.08rem;
  color: var(--muted);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: var(--s-1);
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
}
.search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 38rem;
  padding: 0 0.6rem 0 1rem;
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.search:focus-within {
  border-color: var(--pass);
  outline: 3px solid var(--pass-soft);
}
.search svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}
.search input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1.02rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0.85rem 0;
}
.search input:focus {
  outline: none;
}
.search kbd {
  font-size: var(--s-2);
  color: var(--muted);
  border: 1px solid var(--grid-strong);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
}
.search-status {
  font-size: var(--s-1);
  color: var(--muted);
  min-height: 1.3em;
}
.with-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 60rem) {
  .with-index {
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: 3rem;
  }
}
.index {
  display: none;
}
@media (min-width: 60rem) {
  .index {
    display: block;
    position: sticky;
    top: 5.5rem;
    align-self: start;
  }
}
.index h2 {
  font-family: var(--mono);
  font-size: var(--s-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
  border-left: 2px solid var(--grid);
}
.index a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}
.index a:hover {
  border-left-color: var(--pass);
  color: var(--pass);
}
.index .n {
  font-family: var(--mono);
  font-size: var(--s-2);
  color: var(--muted);
}
.block {
  display: grid;
  gap: 1rem;
  padding-block: 0 2.5rem;
}
.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
}
.block-head h2 {
  font-size: var(--s2);
}
.block-head .count {
  font-family: var(--mono);
  font-size: var(--s-1);
  color: var(--muted);
}
.block-head p {
  flex-basis: 100%;
  color: var(--muted);
  max-width: var(--measure);
}
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}
@media (min-width: 46rem) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cards a {
  display: grid;
  gap: 0.35rem;
  height: 100%;
  padding: 1.05rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.cards a:hover {
  border-color: var(--pass);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.cards .t {
  font-weight: 700;
  line-height: 1.3;
}
.cards .w {
  font-size: 0.92rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cards .id {
  font-family: var(--mono);
  font-size: var(--s-2);
  color: var(--pass);
}
.codes {
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.codes-scroll {
  overflow-x: auto;
}
.codes table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.codes th,
.codes td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--grid);
}
.codes tr:last-child td {
  border-bottom: 0;
}
.codes thead th {
  font-family: var(--mono);
  font-size: var(--s-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--tint);
}
.codes td:first-child {
  white-space: nowrap;
}
.codes td:first-child code {
  color: var(--fail);
  background: var(--fail-soft);
  border-color: transparent;
  font-weight: 650;
}
.codes .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.85rem;
}
.empty-search {
  padding: 1.5rem;
  border: 1px dashed var(--grid-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
}

/* cause page */
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 60rem) {
  .article {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 3.5rem;
  }
}
.doc {
  display: grid;
  gap: 2.25rem;
  min-width: 0;
}
.doc section {
  display: grid;
  gap: 0.7rem;
}
.doc h2 {
  font-size: var(--s1);
}
.doc p {
  max-width: var(--measure);
  font-size: 1.05rem;
}
.fixbox {
  position: relative;
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 1.4rem;
  background: var(--pass-soft);
  border: 1px solid color-mix(in srgb, var(--pass) 35%, transparent);
  border-radius: var(--radius-lg);
}
.fixbox h2 {
  font-family: var(--mono);
  font-size: var(--s-1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pass);
}
.fixbox p {
  font-size: 1.08rem;
}
.response {
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.response figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  padding: 0.55rem 1rem;
  background: var(--tint);
  border-bottom: 1px solid var(--grid);
  font-family: var(--mono);
  font-size: var(--s-2);
  color: var(--muted);
}
.response pre {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.seen {
  display: grid;
  gap: 0.75rem;
}
.seen figure {
  margin: 0;
}
.aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}
@media (min-width: 60rem) {
  .aside {
    position: sticky;
    top: 5.5rem;
    align-self: start;
  }
}
.facts {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
}
.facts div {
  display: grid;
  gap: 0.2rem;
}
.facts dt {
  font-family: var(--mono);
  font-size: var(--s-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}
.related a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--grid);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.related a:hover {
  color: var(--pass);
}

/* vendors */
.vendor {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--grid-strong);
  border-radius: var(--radius-lg);
}
.vendor h2 {
  font-size: var(--s2);
}
.hints {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.hints li {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--grid);
}
.hints .t {
  font-weight: 700;
  font-size: 1.05rem;
}
.hints p {
  max-width: var(--measure);
}
.when {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag {
  font-family: var(--mono);
  font-size: var(--s-2);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--grid);
  color: var(--muted);
}
.fix::before {
  content: 'Fix: ';
  font-weight: 700;
}
.source {
  font-size: var(--s-1);
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* 404 */
.lost {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  padding-block: clamp(3rem, 8vw, 5rem);
}
.lost .monitor {
  width: min(100%, 40rem);
}
.lost h1 {
  font-size: clamp(var(--s4), 5vw, var(--s5));
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .sweep,
  .monitor .trace .cursor,
  .mon-bar .live::before {
    animation: none;
  }
  .sweep {
    display: none;
  }
  .cards a {
    transition: none;
  }
  .cards a:hover {
    transform: none;
  }
}
@media print {
  .top,
  .foot,
  .copy,
  .icon-btn,
  .search,
  .sweep {
    display: none;
  }
}
