/* base.css — Light theme (default)
   Layout goals:
   - Full-width noscript banner at top
   - Full-width app navigation bar below noscript
   - Prominent centered header/logo (not full width)
   - Narrower centered content column
   - Full-width footer at bottom
   - Notices/service banners: soft backgrounds
   - Status pills: stronger colors
*/

/* ======================================================================
   1) Theme tokens (Light)
   ====================================================================== */
:root {
  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-logo: Futura, "Trebuchet MS", Arial, sans-serif;
  --line: 1.5;

  /* Layout */
  --layout-pad: 16px;
  --header-max: 900px;
  --content-max: 700px;

  /* Logo – HERO */
  --logo-pad: 16px;
  --logo-hero-h: 180px;

  /* Logo - HERO: Background image behavior */
  --logo-bg-size: cover;             /* e.g. "auto 140%" or "contain" */
  --logo-bg-pos: center;             /* e.g. "center 15%" */
  --logo-bg-repeat: no-repeat;

  /* Logo - HERO: Text overlay + hover */
  --logo-text-size: 4rem;
  --logo-text-color: #bbb;
  --logo-text-opacity: 0.8;
  --logo-text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,  1px 1px 0 #000;

  --logo-overlay-from: rgba(255,255,255,0.25);
  --logo-overlay-to: rgba(255,255,255,0.10);
  --logo-hover-opacity: 0.92;
  --logo-hover-scale: 1.02;

  /* Spacing */
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;

  /* Radius / border / shadow */
  --radius: 12px;
  --radius-sm: 10px;
  --border-w: 1px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  /* Base colors */
  --bg: #f7f8fb;                     /* slate-50 (custom mix, lighter than default) */
  --surface: #ffffff;                /* white */
  --surface-2: #fbfcff;              /* slate-25 / near-white */

  --text: #101828;                   /* slate-900 */
  --muted: #475467;                  /* slate-600 */
  --muted-2: #667085;                /* slate-500 */
  --border: #e4e7ec;                 /* slate-200 */

  /* Brand / interactive */
  --primary: #2563eb;                /* blue-600 */
  --primary-hover: #1d4ed8;          /* blue-700 */
  --primary-contrast: #ffffff;       /* white */

  --link: #1d4ed8;                   /* blue-700 */
  --link-hover: #1e40af;             /* blue-800 */

  --focus: rgba(37, 99, 235, 0.45);  /* blue-600 @ 45% */

  /* Table UI */
  --table-ui-bg: var(--surface);

  /* Progress */
  --progress-bg: #eef2ff;            /* indigo-50 */
  --progress-bar: #2563eb;           /* blue-600 */

  /* Notices */
  --notice-radius: 12px;

  --notice-info-bg: #dbeafe;         /* blue-100 */
  --notice-info-border: #bfdbfe;     /* blue-200 */
  --notice-info-text: #2563eb;       /* blue-600 */

  --notice-success-bg: #dcfce7;      /* green-100 */
  --notice-success-border: #a7f3d0;  /* green-200 */
  --notice-success-text: #16a34a;    /* green-600 */

  --notice-warning-bg: #fef3c7;      /* amber-100 */
  --notice-warning-border: #fde68a;  /* amber-200 */
  --notice-warning-text: #d97706;    /* amber-600 */

  --notice-error-bg: #fee4e2;        /* red-100 */
  --notice-error-border: #fecaca;    /* red-200 */
  --notice-error-text: #dc2626;      /* red-600 */

  --notice-critical-bg: #ede9fe;     /* violet-100 */
  --notice-critical-border: #ddd6fe; /* violet-200 */
  --notice-critical-text: #7c3aed;   /* violet-600 */

  /* Status pill */
  --status-created-bg: #57534e;      /* stone-600 */
  --status-created-text: #ffffff;

  --status-queued-bg: #7c3aed;       /* violet-600 */
  --status-queued-text: #ffffff;

  --status-running-bg: #2563eb;      /* blue-600 */
  --status-running-text: #ffffff;

  --status-finished-bg: #16a34a;     /* green-600 */
  --status-finished-text: #ffffff;

  --status-cancelled-bg: #d97706;    /* amber-600 */
  --status-cancelled-text: #ffffff;

  --status-error-bg: #dc2626;        /* red-600 */
  --status-error-text: #ffffff;

  --status-unknown-bg: #475569;      /* slate-600 */
  --status-unknown-text: #ffffff;

  /* Example level */
  --example-easy-bg: #dcfce7;        /* green-100 */
  --example-easy-text: #166534;      /* green-800 */

  --example-medium-bg: #fef3c7;      /* amber-100 */
  --example-medium-text: #92400e;    /* amber-800 */

  --example-hard-bg: #fee2e2;        /* red-100 */
  --example-hard-text: #991b1b;      /* red-800 */

  /* Buttons */
  --btn-radius: 10px;
  --btn-pad-y: 10px;
  --btn-pad-x: 14px;

  --btn-sm-radius: 9px;
  --btn-sm-pad-y: 7px;
  --btn-sm-pad-x: 10px;
}

/* ======================================================================
   2) Reset / base elements
   ====================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: var(--line);
}

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

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.hidden { display: none !important; }

/* ======================================================================
   3) Shared UI primitives
   ====================================================================== */

.table-ui-wrap {
  margin: 0;
  border: var(--border-w) solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--table-ui-bg);
  overflow: hidden; /* critical for rounded corners with border-collapse */
}

.table-ui-wrap--panel {
  background: var(--surface-2);
}

/* Optional helpers to enable scrolling for tables */
.table-ui-wrap--scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
}

.table-ui-wrap--scroll-y {
  overflow-y: auto;
  overflow-x: hidden;
}

.table-ui-wrap--scroll-xy {
  overflow: auto;
}

.table-ui-wrap--max-h-sm { max-height: 240px; }
.table-ui-wrap--max-h-md { max-height: 360px; }
.table-ui-wrap--max-h-lg { max-height: 520px; }

/* Base table look (can be combined with per-table selectors) */
.table-ui {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.35;
  min-width: max-content; /* allow table to be wider than container when needed */
  background: transparent;
}

.table-ui th,
.table-ui td {
  padding: 8px 10px;
  border-bottom: var(--border-w) solid var(--border);
  vertical-align: middle;
  white-space: nowrap; /* keep it “excel-like”; remove if you prefer wrapping */
}

.table-ui thead th {
  font-weight: 700;
  text-align: left;
}

.table-ui tbody tr:last-child th,
.table-ui tbody tr:last-child td {
  border-bottom: 0;
}

.table-ui tbody tr:hover td,
.table-ui tbody tr:hover th {
  background: rgba(0,0,0,0.02);
}

/* Ensure links inside tables follow the global link rules */
.table-ui a {
  color: var(--link);
  text-decoration: none;
}

.table-ui a:hover,
.table-ui a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ======================================================================
   4) Typography roles
   ====================================================================== */
/* Headings */
.heading-page {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 0 0 var(--space-3);
  color: var(--text);
}

.heading-section {
  font-size: 1.25rem;
  font-weight: 700;
  margin: var(--space-4) 0 var(--space-2);
  color: var(--text);
}

.heading-card {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--text);
}

.heading-inline {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* Text roles */
.editorial-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.editorial {
  color: var(--text);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  word-spacing: 0.02em;
  /*line-height: 1.6;*/
  /*letter-spacing: -0.005em;*/
}

@media (max-width: 640px) {
  .editorial {
    text-align: left;
    hyphens: none;
    word-spacing: normal;
  }
}

.meta {
  color: var(--muted-2);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.ui-text { color: var(--text); font-size: 1rem; }

.ui-hint {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted-2);
}

.ui-meta { color: var(--muted-2); font-size: 0.9rem; }

.ui-center { text-align: center; }

.ui-caption { margin-top: var(--space-2); }

/* Citations */
.citation-block {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: var(--border-w) solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.citation-block__body {
  margin: 0;
  padding-top: var(--space-1);
}

.citation-block__footer {
  margin-top: .35rem;
  padding-top: .35rem;
  border-top: var(--border-w) solid var(--border);
}

.citation {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.citation-authors {}

.citation-year {
  margin-left: 0.2em;
}

.citation-title {
  display: inline;
}

.citation-editor {
  font-style: normal;
}

.citation-et-al,
.citation-source {
  font-style: italic;
}

.citation-volume {
  font-weight: 700;
}

.citation-doi {
  word-break: break-all;
}

.citation-block__downloads {
  margin: 0;
}

.acronym-letter {
  text-decoration: underline;
}

/* ======================================================================
   5) Site layout + chrome
   ====================================================================== */
.site {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main {
  width: 100%;
  padding: var(--space-4) var(--layout-pad) var(--space-6);
  flex: 1 0 auto;
}

.content {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Top chrome */
.noscript-banner { width: 100%; }

.noscript-banner .notice {
  padding: var(--space-3) var(--layout-pad);
  margin: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
}

.app-bar {
  width: 100%;
  padding: 0 var(--layout-pad);
  background: var(--surface);
  border-bottom: var(--border-w) solid var(--border);
}

.app-bar__inner {
  width: 100%;
  max-width: var(--header-max);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}

.app-bar__app {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3);
  min-height: 48px;
  border-radius: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 0;
}

.app-bar__app:hover,
.app-bar__app:focus-visible {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}

.app-bar__icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
}

.app-bar__label {
  font-family: var(--font-logo);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.app-bar__app.is-active {
  background: rgba(0,0,0,0.04);
  color: var(--text);
}

.app-bar__app + .app-bar__app {
  border-left: var(--border-w) solid var(--border);
}

.service-banners {
  width: 100%;
  padding: var(--space-3) var(--layout-pad) 0;
}

.service-banners__inner {
  width: 100%;
  max-width: var(--header-max);
  margin: 0 auto;
}

/* Header / logo */
.site-header { padding: var(--space-4) var(--layout-pad); }

.site-logo {
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
}

.site-logo__bg {
  position: absolute;
  inset: 0;
  background-size: var(--logo-bg-size);
  background-position: var(--logo-bg-pos);
  background-repeat: var(--logo-bg-repeat);
}

.site-logo__text {
  position: relative;
  font-family: var(--font-logo);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-logo:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* HERO variant */
.site-header--hero {
  padding-top: var(--space-5);
  padding-bottom: var(--space-3);
}

.site-header--hero .site-logo {
  width: 100%;
  max-width: var(--header-max);
  height: var(--logo-hero-h);
  box-shadow: var(--shadow);
  border: var(--border-w) solid var(--border);
}

.site-header--hero .site-logo__text {
  font-size: var(--logo-text-size);
  color: var(--logo-text-color);
  opacity: var(--logo-text-opacity);
  -webkit-text-stroke: 1px #000;
  text-shadow: var(--logo-text-shadow);
  text-decoration: none;
  border-radius: 6px;
}

.site-header--hero .site-logo__bg {
  transition: transform 120ms ease, opacity 120ms ease;
}

.site-header--hero .site-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--logo-overlay-from), var(--logo-overlay-to));
  pointer-events: none;
}

.site-header--hero .site-logo:hover .site-logo__bg {
  opacity: var(--logo-hover-opacity);
  transform: scale(var(--logo-hover-scale));
}

@media (prefers-reduced-motion: reduce) {
  .site-header--hero .site-logo__bg { transition: none; }
}

/* Footer */
.footer {
  width: 100%;
  padding: var(--space-4) var(--layout-pad);
  border-top: var(--border-w) solid var(--border);
  background: var(--surface);
  flex: 0 0 auto;
}

.footer__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer__links a:hover,
.footer__links a:focus-visible { color: var(--text); }

/* ======================================================================
   6) Components
   ====================================================================== */
/* Cards */
.card {
  background: var(--surface);
  border: var(--border-w) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  margin: 0 0 var(--space-4);
}

/* Forms */
#fileFields,
.form { display: grid; gap: var(--space-4); }

.field label {
  display: block;
  margin: 0 0 var(--space-1);
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.field input[type="text"],
.field select,
.field input[type="file"] {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border: var(--border-w) solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1rem;
}

.field input[type="file"] { padding: var(--space-2); }

.field input::placeholder { color: var(--muted-2); }

.field .file-hint { margin-top: var(--space-1); }

/* Buttons */
.button {
  appearance: none;
  border: none;
  border-radius: var(--btn-radius);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  background: var(--primary);
  color: var(--primary-contrast);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
  transition: transform 0.04s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.button:hover { background: var(--primary-hover); }
.button:active { transform: translateY(1px); }

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.button--small {
  border-radius: var(--btn-sm-radius);
  padding: var(--btn-sm-pad-y) var(--btn-sm-pad-x);
  font-size: 0.92rem;
  line-height: 1;
}

.refresh-button { margin-left: auto; }

/* Progress */
.progress {
  width: 100%;
  height: 12px;
  background: var(--progress-bg);
  border-radius: 999px;
  overflow: hidden;
  border: var(--border-w) solid var(--border);
}

.progress__bar {
  height: 100%;
  width: var(--progress, 0%);
  background: var(--progress-bar);
  border-radius: 999px;
  transition: width 150ms linear;
}

@media (prefers-reduced-motion: reduce) {
  .progress__bar { transition: none; }
}

/* Status card layout */
.status-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.status-row .refresh-button { margin-left: auto; }

.progress-block { margin-top: var(--space-3); }
.progress-meta { margin-top: var(--space-1); line-height: 1.2; }

/* Meta grid */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

@media (max-width: 520px) {
  .meta-grid { grid-template-columns: 1fr; }
}

.meta-item {
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  border: var(--border-w) solid var(--border);
  background: var(--surface-2);
}

.meta-item__k {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 var(--space-1);
  font-weight: 600;
}

.meta-item__v {
  font-size: 0.98rem;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Results */
.results { margin-top: var(--space-5); }
.results__title { margin: 0 0 var(--space-2); }

.results__tables-container { margin-top: var(--space-3); }

/* Vertical rhythm: space only BETWEEN result blocks */
.results__table-block + .results__table-block,
.results__list-block + .results__list-block,
.results__tables-container + .results__list-block {
  margin-top: var(--space-4);
}

.results__table-title,
.results__list-title {
  margin: 0 0 var(--space-2);
}

.results__list {
  margin: 0;
  padding-left: 18px;
}

.results__list-item { margin: 6px 0; }

/* Results tables */
.results__table th,
.results__table td {
  vertical-align: top;
}

.results__table th {
  position: sticky;
  top: 0;
  background: var(--surface-2);
  z-index: 1;
}

/* Results links */
.results__link {
  color: var(--link);
  text-decoration: none;
}

.results__link:hover,
.results__link:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Notices */
.page-notices { margin-top: var(--space-3); }

.notice {
  border-radius: var(--notice-radius);
  border: var(--border-w) solid var(--border);
  background: var(--surface);
}

.service-banners .notice {
  padding: var(--space-3) var(--space-4);
  margin: 0 0 var(--space-3);
}

.page-notices .notice {
  padding: var(--space-2) var(--space-3);
  margin: 0 0 var(--space-2);
}

.notice__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin: 0 0 4px;
}

.notice__header .meta {
  margin: 0;
  white-space: nowrap;
  text-align: right;
}

.notice__title {
  margin: 0;
  font-weight: 800;
  font-size: 0.98rem;
}

.notice__body {
  margin: 0;
  color: var(--muted);
}

.notice__footer {
  margin-top: .35rem;
  padding-top: .35rem;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.notice__footer .meta { margin: 0; }

.notice__link {
  font-weight: 600;
}

.page-notices .notice__title { font-size: 0.95rem; }
.page-notices .notice__meta { font-size: 0.82rem; line-height: 1.15; }

.page-notices .notice__header {
  margin: 0 0 2px;
  gap: var(--space-2);
}

/* Notice variants */
.notice--info { background: var(--notice-info-bg); border-color: var(--notice-info-border); }
.notice--info .notice__title,
.notice--info .notice__body { color: var(--notice-info-text); }

.notice--success { background: var(--notice-success-bg); border-color: var(--notice-success-border); }
.notice--success .notice__title,
.notice--success .notice__body { color: var(--notice-success-text); }

.notice--warning { background: var(--notice-warning-bg); border-color: var(--notice-warning-border); }
.notice--warning .notice__title,
.notice--warning .notice__body { color: var(--notice-warning-text); }

.notice--error { background: var(--notice-error-bg); border-color: var(--notice-error-border); }
.notice--error .notice__title,
.notice--error .notice__body { color: var(--notice-error-text); }

.notice--critical { background: var(--notice-critical-bg); border-color: var(--notice-critical-border); }
.notice--critical .notice__title,
.notice--critical .notice__body { color: var(--notice-critical-text); }

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.6px;
  font-size: 0.92rem;
  line-height: 1;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}

.status-pill--created { background: var(--status-created-bg); color: var(--status-created-text); }
.status-pill--queued { background: var(--status-queued-bg); color: var(--status-queued-text); }
.status-pill--running { background: var(--status-running-bg); color: var(--status-running-text); }
.status-pill--finished { background: var(--status-finished-bg); color: var(--status-finished-text); }
.status-pill--error { background: var(--status-error-bg); color: var(--status-error-text); }
.status-pill--cancelled { background: var(--status-cancelled-bg); color: var(--status-cancelled-text); }
.status-pill--unknown { background: var(--status-unknown-bg); color: var(--status-unknown-text); }

/* Code */
pre.ui-code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;

  color: var(--text);
  background: var(--surface-2);
  border: var(--border-w) solid var(--border);
  border-radius: var(--radius-sm);

  padding: var(--space-3);
  margin: 0 0 var(--space-4);

  overflow-x: auto;
}

/* =========================================================
   Tutorial – video & examples table
   ========================================================= */

.tutorial-video video {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-sm);
  border: var(--border-w) solid var(--border);
}

.tutorial-examples {
  margin-top: var(--space-3);
}

/* Header */
.tutorial-table thead th {
  background: var(--surface-2);
}

/* Name (first column): left aligned */
.tutorial-table thead th:first-child,
.tutorial-table tbody th:first-child {
  text-align: left;
  padding-left: var(--space-3);
}

/* Action/link columns: centered */
.tutorial-table thead th:not(:first-child),
.tutorial-table tbody td:not(:first-child) {
  text-align: center;
}

/* Only the row header (Name) should be bold */
.tutorial-table tbody th:first-child { font-weight: 700; }
.tutorial-table tbody td { font-weight: 400; }

.example-name {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* Difficulty labels */
.example-level {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.example-level--easy { background: var(--example-easy-bg); color: var(--example-easy-text); }
.example-level--medium { background: var(--example-medium-bg); color: var(--example-medium-text); }
.example-level--hard { background: var(--example-hard-bg); color: var(--example-hard-text); }

/* Video badge */
.example-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--muted-2);
  cursor: help;
}
