/*
 * The app's own styles: they reach the canvas, and not the shell's panels. The demo components
 * use Joinery's markup, and `joinery-tokens.css` and `joinery.css` (imported in `app.ts`) give
 * them Joinery's look. These rules give only the size and the layout that a Joinery story gets
 * from its utility classes.
 */
body {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--foreground);
}

.counter,
.traffic-light,
.name-list {
  width: 18rem;
}

.disclosure {
  max-width: 24rem;
}

.counter-count {
  display: block;
  font-size: 2.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.jn-card-footer {
  gap: 0.5rem;
}

.name-list li + li {
  border-top: 1px solid var(--border);
}

.name-list li {
  padding-block: 0.375rem;
}
