/* Noc Muzeow 2026 - Map + Timeline. Site design tokens. */

.nm-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  color: var(--color-text, #2D2D2D);
  background: var(--color-bg, #FAFAF8);
}

/* --- Hero (standard guide-style header) --- */
.nm-hero {
  background: var(--color-surface, #FFF);
  border-bottom: 1px solid var(--color-border, #E8E6E1);
  flex-shrink: 0;
  padding: var(--space-lg, 24px) var(--space-lg, 24px) var(--space-base, 16px);
}

.nm-hero__inner {
  max-width: var(--max-width, 960px);
  margin: 0 auto;
}

.nm-hero h1 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--color-primary, #8B3A2A);
  line-height: 1.2;
  margin: 0 0 0.5em;
  padding-bottom: var(--space-md, 12px);
  border-bottom: 2px solid var(--color-primary, #8B3A2A);
  letter-spacing: -0.01em;
}

.nm-hero__intro {
  margin: 0 0 var(--space-base, 16px);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text, #2D2D2D);
  max-width: 65ch;
}

.nm-hero__back {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--color-secondary, #2A7F7F);
  text-decoration: none;
}
.nm-hero__back:hover { text-decoration: underline; color: var(--color-primary, #8B3A2A); }

/* --- Toolbar (action controls) --- */
.nm-toolbar {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--color-surface, #FFF);
  border-bottom: 1px solid var(--color-border, #E8E6E1);
  flex-shrink: 0;
  gap: 0.6rem;
}

.nm-toolbar__count {
  font-size: 0.8rem;
  color: var(--color-text-secondary, #5A5A5A);
}
.nm-toolbar__count strong { color: var(--color-primary, #8B3A2A); font-size: 1rem; }

.nm-toolbar__count-mobile { display: none; }

.nm-toolbar__btn {
  background: none;
  border: 1px solid var(--color-border, #E8E6E1);
  border-radius: 4px;
  padding: 4px 6px;
  cursor: pointer;
  color: var(--color-text-secondary, #5A5A5A);
  display: flex;
}
.nm-toolbar__btn:hover { border-color: var(--color-secondary, #2A7F7F); color: var(--color-secondary, #2A7F7F); }

.nm-toolbar__filter-btn {
  background: none;
  border: 1px solid var(--color-border, #E8E6E1);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--color-text-secondary, #5A5A5A);
  transition: all 0.12s ease;
}
.nm-toolbar__filter-btn:hover { border-color: var(--color-secondary, #2A7F7F); color: var(--color-secondary, #2A7F7F); }
.nm-toolbar__filter-btn--active { background: var(--color-secondary, #2A7F7F); color: #fff; border-color: var(--color-secondary, #2A7F7F); }

/* Tabs */
.nm-tabs { display: flex; margin-left: auto; }
.nm-tab {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--color-border, #E8E6E1);
  background: var(--color-surface-muted, #F6F5F2);
  color: var(--color-text-secondary, #5A5A5A);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s ease;
}
.nm-tab:first-child { border-radius: 5px 0 0 5px; }
.nm-tab:last-child { border-radius: 0 5px 5px 0; border-left: none; }
.nm-tab--active { background: var(--color-secondary, #2A7F7F); color: #fff; border-color: var(--color-secondary, #2A7F7F); }

/* --- Content --- */
.nm-content { display: flex; flex: 1; overflow: hidden; }

/* --- Left Panel --- */
.nm-panel {
  width: 380px;
  background: var(--color-surface, #FFF);
  border-right: 1px solid var(--color-border, #E8E6E1);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
}

.nm-panel__head {
  display: flex;
  align-items: center;
  height: 28px;
  border-bottom: 1px solid var(--color-border, #E8E6E1);
  background: var(--color-surface, #FFF);
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-secondary, #5A5A5A);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nm-panel__col-no {
  width: 52px;
  text-align: center;
  flex-shrink: 0;
  border-right: 1px solid var(--color-border-light, #F0EEEA);
}

.nm-panel__col-name {
  padding-left: 0.65rem;
}

.nm-panel__body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border, #E8E6E1) transparent;
}

/* --- Museum Item --- */
.nm-mi {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--color-border-light, #F0EEEA);
  transition: background 0.1s ease;
  position: relative;
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  overflow: hidden;
}

.nm-mi:hover { background: var(--color-surface-raised, #FDFCFA); }

/* Button */
.nm-mi__btn {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-right: 1px solid var(--color-border-light, #F0EEEA);
  cursor: pointer;
  color: var(--color-text-secondary, #5A5A5A);
  transition: all 0.12s ease;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
}
.nm-mi__btn:hover { background: rgba(42,127,127,0.06); color: var(--color-secondary, #2A7F7F); }
.nm-mi__btn:active { background: rgba(42,127,127,0.12); }

/* Plus icon default */
.nm-mi__icon-add { display: block; }
.nm-mi__icon-num { display: none; font-family: var(--font-body, Inter, system-ui, sans-serif); }

/* Selected */
.nm-mi--on { background: rgba(42,127,127,0.05); }
.nm-mi--on:hover { background: rgba(42,127,127,0.08); }
.nm-mi--on .nm-mi__btn {
  background: var(--color-secondary, #2A7F7F);
  color: #fff;
  border-right-color: var(--color-secondary, #2A7F7F);
}
.nm-mi--on .nm-mi__btn:hover { background: #c44; }
.nm-mi--on .nm-mi__icon-add { display: none; }
.nm-mi--on .nm-mi__icon-num { display: block; }

/* Unselected = subdued */
.nm-mi:not(.nm-mi--on) .nm-mi__info { opacity: 0.55; }
.nm-mi:not(.nm-mi--on):hover .nm-mi__info { opacity: 1; }

/* Drag handle */
.nm-mi__drag {
  width: 28px;
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: grab;
  color: var(--color-text-secondary, #5A5A5A);
  touch-action: none;
  user-select: none;
}
.nm-mi__drag:active { cursor: grabbing; }
.nm-mi--on .nm-mi__drag { display: flex; }

.nm-mi__grip { display: flex; flex-direction: column; gap: 2px; }
.nm-mi__grip span { display: block; width: 14px; height: 2px; background: currentColor; border-radius: 1px; opacity: 0.4; }

/* Info */
.nm-mi__info { flex: 1; min-width: 0; padding: 0.5rem 0.65rem; transition: opacity 0.12s ease; overflow: hidden; }
.nm-mi__name { font-size: 0.84rem; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-mi__name a { color: inherit; text-decoration: none; }
.nm-mi__name a:hover { color: var(--color-secondary, #2A7F7F); text-decoration: underline; }

.nm-mi__meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 2px; align-items: center; }
.nm-mi__hours { font-size: 0.74rem; color: var(--color-primary, #8B3A2A); font-weight: 600; font-variant-numeric: tabular-nums; }
.nm-mi__district { font-size: 0.67rem; color: var(--color-text-secondary, #5A5A5A); padding: 0 0.25rem; border: 1px solid var(--color-border, #E8E6E1); border-radius: 3px; }

.nm-mi__ev { font-size: 0.71rem; color: var(--color-text-secondary, #5A5A5A); line-height: 1.3; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Drag states */
.nm-mi--dragging { opacity: 0.25; }
.nm-mi--dragover::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 3px;
  background: var(--color-secondary, #2A7F7F);
  border-radius: 2px;
  z-index: 5;
}

/* --- Right Side --- */
.nm-main { flex: 1; display: flex; overflow: hidden; }
.nm-view { display: none; flex: 1; overflow: hidden; }
.nm-view--active { display: flex; }
.nm-map { width: 100%; height: 100%; z-index: 1; }

/* --- Map Markers with Numbers --- */
.nm-marker { background: none !important; border: none !important; }

.nm-marker__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.15s ease;
}

/* Numbered marker for selected items */
.nm-marker--num .nm-marker__dot { display: none; }

.nm-marker__num {
  display: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-secondary, #2A7F7F);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  text-align: center;
  line-height: 24px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.nm-marker--num .nm-marker__num { display: block; }

.nm-tooltip {
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  max-width: 220px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.nm-tooltip strong { display: block; margin-bottom: 2px; }
.nm-tooltip em { display: block; margin-top: 3px; font-size: 0.75rem; }

/* --- Timeline (bars only, no names) --- */
.nm-tl { width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; }

.nm-tl__axis {
  flex-shrink: 0;
  position: relative;
  background: var(--color-surface, #FFF);
  border-bottom: 1px solid var(--color-border, #E8E6E1);
  height: 28px;
  z-index: 5;
}

.nm-tl__hour {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-secondary, #5A5A5A);
  transform: translateX(-50%);
  top: 6px;
  font-variant-numeric: tabular-nums;
}

.nm-tl__body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border, #E8E6E1) transparent;
}

/* Each bar row matches museum item height */
.nm-tl__row {
  position: relative;
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  border-bottom: 1px solid var(--color-border-light, #F0EEEA);
  display: flex;
  align-items: center;
}

.nm-tl__row--on { background: rgba(42,127,127,0.04); }
.nm-tl__row:not(.nm-tl__row--on) { opacity: 0.2; }

.nm-tl__bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
}

.nm-tl__bar-label {
  font-size: 0.68rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
}


/* --- Toast --- */
.nm-toast {
  position: fixed;
  bottom: 80px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-header-bg, #2C2C2C);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1000;
}
.nm-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Mobile: elements hidden on desktop --- */
.nm-mobile-btn { display: none; }
.nm-bottom-bar { display: none; }
.nm-actions-sheet { display: none; }
.nm-detail-sheet { display: none; }
.nm-panel__filter-bar { display: none; }
.nm-panel__close-btn { display: none; }

@media (max-width: 639px) {
  /* Hide desktop-only elements */
  .nm-toolbar__count,
  .nm-toolbar__btn,
  .nm-toolbar__filter-btn,
  .nm-tabs,
  .nm-toolbar,
  .nm-mobile-btn { display: none !important; }

  /* Compact hero */
  .nm-hero { padding: var(--space-base, 16px) var(--space-base, 16px) var(--space-sm, 8px); }
  .nm-hero h1 { font-size: 1.5rem; margin-bottom: 0.3em; padding-bottom: var(--space-sm, 8px); }
  .nm-hero__intro { font-size: 0.875rem; margin-bottom: var(--space-sm, 8px); }
  .nm-hero__back { font-size: 0.8rem; }
  .nm-toolbar__count-mobile {
    display: inline !important;
    font-size: 0.78rem;
    color: var(--color-text-secondary, #5A5A5A);
    white-space: nowrap;
  }
  .nm-toolbar__count-mobile strong {
    color: var(--color-secondary, #2A7F7F);
    font-size: 0.9rem;
  }

  /* Mobile filter bar (inside panel) */
  .nm-panel__filter-bar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--color-surface, #FFF);
    border-bottom: 1px solid var(--color-border, #E8E6E1);
    padding: var(--space-sm, 8px) var(--space-base, 16px);
    align-items: center;
    justify-content: space-between;
  }
  .nm-panel__filter-count { font-size: 0.82rem; color: var(--color-text-secondary, #5A5A5A); }
  .nm-panel__filter-toggle {
    font-size: 0.78rem;
    padding: var(--space-xs, 4px) var(--space-md, 12px);
    border: 1px solid var(--color-border, #E8E6E1);
    border-radius: 16px;
    background: var(--color-surface, #FFF);
    color: var(--color-text, #2D2D2D);
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(42,127,127,0.15);
    position: relative;
    z-index: 11;
  }
  .nm-panel__filter-toggle--active {
    background: var(--color-secondary, #2A7F7F);
    color: #FFF;
    border-color: var(--color-secondary, #2A7F7F);
  }
  .nm-panel__close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    color: var(--color-text-secondary, #5A5A5A);
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,0,0,0.08);
    position: relative;
    z-index: 11;
  }
  .nm-panel__close-btn svg { pointer-events: none; }

  /* Reserve space for bottom bar */
  .nm-app { padding-bottom: 56px; padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }

  /* Content: single column */
  .nm-content { flex-direction: column; }

  /* Panel: full-screen, no bottom sheet */
  .nm-panel {
    position: static;
    width: 100%;
    height: auto;
    flex: 1;
    border-right: none;
    border-top: none;
    border-radius: 0;
    transform: none;
    box-shadow: none;
    overflow: hidden;
  }

  /* View switching via data-mobile-view attribute */
  .nm-app[data-mobile-view="list"] .nm-panel { display: flex; }
  .nm-app[data-mobile-view="list"] .nm-main { display: none; }
  .nm-app[data-mobile-view="map"] .nm-panel { display: none; }
  .nm-app[data-mobile-view="map"] .nm-main { display: flex; }
  .nm-app[data-mobile-view="map"] [data-view="map"] { display: flex; }
  .nm-app[data-mobile-view="map"] [data-view="timeline"] { display: none; }
  .nm-app[data-mobile-view="timeline"] .nm-panel { display: none; }
  .nm-app[data-mobile-view="timeline"] .nm-main { display: flex; }
  .nm-app[data-mobile-view="timeline"] [data-view="timeline"] { display: flex; }
  .nm-app[data-mobile-view="timeline"] [data-view="map"] { display: none; }

  /* Touch-friendly sizes */
  .nm-mi { min-height: 68px; max-height: none; height: auto; }
  .nm-mi__btn { width: 52px; min-height: 68px; }
  .nm-mi__drag { width: 40px; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
  .nm-tl__row { min-height: 48px; max-height: none; height: auto; }

  /* Bottom tab bar */
  .nm-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 56px;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--color-surface, #FFF);
    border-top: 1px solid var(--color-border, #E8E6E1);
    z-index: 200;
    justify-content: space-around;
    align-items: center;
  }
  .nm-bottom-bar__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    height: 100%;
    min-width: 48px;
    background: none;
    border: none;
    color: var(--color-text-secondary, #5A5A5A);
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nm-bottom-bar__tab--active {
    color: var(--color-secondary, #2A7F7F);
    font-weight: 700;
  }

  /* Actions sheet */
  .nm-actions-sheet { display: block; }
  .nm-actions-sheet__backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 299;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s;
  }
  .nm-actions-sheet--open .nm-actions-sheet__backdrop {
    opacity: 1; pointer-events: auto;
  }
  .nm-actions-sheet__content {
    position: fixed;
    bottom: 56px; left: 0; right: 0;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface, #FFF);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    z-index: 300;
    padding: var(--space-base, 16px) 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.3s;
    pointer-events: none;
    visibility: hidden;
  }
  .nm-actions-sheet--open .nm-actions-sheet__content {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0s;
  }
  .nm-actions-sheet__item {
    display: block;
    width: 100%;
    padding: var(--space-md, 12px) var(--space-lg, 24px);
    background: none; border: none;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    color: var(--color-text, #2D2D2D);
    min-height: 48px;
  }
  .nm-actions-sheet__item--danger { color: #C0392B; }

  /* Detail sheet (map marker tap) */
  .nm-detail-sheet {
    display: block;
    position: fixed;
    bottom: 56px; left: 0; right: 0;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface, #FFF);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 150;
    max-height: 40vh;
    overflow-y: auto;
    padding: var(--space-sm, 8px) var(--space-base, 16px) var(--space-base, 16px);
  }
  .nm-detail-sheet--open { transform: translateY(0); }
  .nm-detail-sheet__handle {
    width: 36px; height: 4px;
    background: var(--color-border, #E8E6E1);
    border-radius: 2px;
    margin: 0 auto var(--space-sm, 8px);
  }

  /* Timeline mobile: horizontal scroll, museum names inline */
  .nm-tl__axis, .nm-tl__row { min-width: 600px; }
  .nm-tl__body { overflow: auto; }
  .nm-tl__bar { height: 32px; }
  .nm-tl__bar-label { font-size: 0.72rem; }
  .nm-tl__row-name {
    display: block;
    position: absolute;
    left: 4px; top: 2px;
    font-size: 0.65rem;
    color: var(--color-text-secondary, #5A5A5A);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    z-index: 2;
  }

  /* Toast above bottom bar on mobile */
  .nm-toast { bottom: 120px; }
}

/* Desktop: hide mobile-only timeline name labels */
@media (min-width: 640px) {
  .nm-tl__row-name { display: none; }
}

/* --- Print --- */
@media print {
  .nm-app { height: auto; overflow: visible; }
  .nm-hero, .nm-toolbar, .nm-main, .nm-mobile-btn, .nm-toast, .nm-bottom-bar, .nm-actions-sheet, .nm-detail-sheet, .nm-panel__filter-bar { display: none !important; }
  .nm-panel { position: static; width: 100%; height: auto; border: none; transform: none !important; }
  .nm-panel::before { content: 'Noc Muzeow 2026 - Moja trasa'; display: block; font-family: var(--font-heading, 'Playfair Display', Georgia, serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
  .nm-mi:not(.nm-mi--on) { display: none; }
  .nm-mi__btn, .nm-mi__drag { display: none; }
  .nm-mi__info { opacity: 1 !important; }
}

.leaflet-pane { z-index: 1; }
.leaflet-top, .leaflet-bottom { z-index: 2; }

/* ------------------------------------------------------------------------- */
/* Server-rendered participants list (SEO + users without JS)                 */
/* Lives below the interactive .nm-app widget, same <main> container.         */
/* ------------------------------------------------------------------------- */

.nm-participants {
  max-width: 960px;
  margin: var(--space-2xl, 48px) auto var(--space-xl, 32px);
  padding: 0 var(--space-base, 16px);
}

.nm-participants h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-xs, 4px);
  color: var(--color-text);
}

.nm-participants__intro {
  color: var(--color-text-muted, #555);
  font-size: 0.95rem;
  margin: 0 0 var(--space-base, 16px);
}

.nm-participants__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm, 8px) var(--space-base, 16px);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 720px) {
  .nm-participants__list { grid-template-columns: 1fr; }
}

.nm-participants__item {
  padding: var(--space-sm, 8px) 0;
  border-bottom: 1px solid var(--color-border, #eee);
}

.nm-participants__link {
  display: block;
  color: var(--color-primary, #8B3A2A);
  text-decoration: none;
  font-weight: 500;
}

.nm-participants__link:hover,
.nm-participants__link:focus {
  text-decoration: underline;
}

.nm-participants__name {
  font-weight: 700;
  display: inline;
}

.nm-participants__district,
.nm-participants__hours {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-text-muted, #666);
  font-weight: 400;
  margin-left: var(--space-xs, 4px);
}

.nm-participants__hours {
  color: var(--color-accent, #8B3A2A);
  font-variant-numeric: tabular-nums;
}

.nm-participants__program {
  font-size: 0.85rem;
  color: var(--color-text-muted, #555);
  margin: var(--space-2xs, 2px) 0 0;
  line-height: 1.4;
}
