/* Panel — a white surface card with optional header. The mockup .box. */

.c-panel {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.c-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-2);
}
.c-panel__title { font-size: var(--fs-h3); font-weight: var(--fw-bold); }

.c-panel__body { padding: 16px 18px; }

/* Links in body copy, for the same reason as .c-table a: the generic reset
 * leaves an anchor visually identical to the prose around it. Buttons keep
 * their own affordance. */
.c-panel__body a:not(.c-btn) {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 2px;
}
.c-panel__body a:not(.c-btn):hover { text-decoration-thickness: 2px; }
