/* SLE-TH-detail-pane — full-viewport slide-in detail overlay.
 *
 * Shape: fixed-position overlay with sticky header + scrollable body +
 * sticky footer. Animates in from the right.
 *
 * Use cases (intended): activity editors, item detail views, bill review
 * panes. Apps with pre-existing variants (campscout `.panel-*`) can adopt
 * progressively — the primitive doesn't auto-replace them because the
 * existing variants may differ on position (absolute vs fixed), visibility
 * toggling, and animation curve.
 *
 * Children:
 *   .suite-detail-pane-header — sticky top, title + close
 *   .suite-detail-pane-body   — scrollable content area
 *   .suite-detail-pane-footer — sticky bottom action bar (optional)
 *
 * Depends on tokens.css.
 */
.suite-detail-pane {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--surface-card);
  z-index: 50;
  animation: suite-detail-pane-in 0.2s ease-out;
}
.suite-detail-pane-header {
  position: sticky;
  top: 0;
  flex-shrink: 0;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--g2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: var(--surface-card);
  z-index: 10;
}
.suite-detail-pane-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: var(--sp-5);
}
.suite-detail-pane-footer {
  flex-shrink: 0;
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--g2);
  display: flex;
  gap: var(--sp-3);
  justify-content: flex-end;
  background: var(--surface-card);
}

@keyframes suite-detail-pane-in {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .suite-detail-pane { animation: none; }
}
