:root {
  --background: #ffffff;
  --foreground: #171717;
  --muted: #f5f5f5;
  --border: #e5e5e5;
  --radius: 0.25rem;
  --font: ui-sans-serif, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #171717;
    --foreground: #fafafa;
    --muted: #262626;
    --border: rgba(255, 255, 255, 0.1);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 2rem;
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.lead {
  color: #737373;
  margin: 0 0 2rem;
  max-width: 42rem;
}

.grid {
  display: grid;
  gap: 2rem;
  max-width: 42rem;
}

.panel h2 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #737373;
}

.note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #737373;
}

/* Pattern corrige (bopbee-app) */
.list-stack {
  border-radius: var(--radius);
  overflow: hidden;
}

.list-stack-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 3rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-bottom-width: 0;
  transition: background-color 0.15s ease;
}

.list-stack-item:last-child {
  border-bottom-width: 1px;
}

.list-stack-item:hover {
  background: color-mix(in srgb, var(--muted) 50%, transparent);
}

/* Ancien pattern problematique */
.list-stack-broken {
  border-radius: var(--radius);
}

.list-stack-broken-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 3rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-bottom-width: 0;
  transition: background-color 0.15s ease;
}

.list-stack-broken-item:last-child {
  border-bottom-width: 1px;
}

.list-stack-broken-item:first-child {
  border-radius: var(--radius);
}

.list-stack-broken-item:last-child {
  border-radius: var(--radius);
}

.list-stack-broken-item:hover {
  background: color-mix(in srgb, var(--muted) 50%, transparent);
}

.label {
  font-weight: 500;
}

.meta {
  margin-left: auto;
  color: #737373;
  font-size: 0.8125rem;
}
