/* Sheet — the reference gesture surface: 1:1 drag, rubber-banded past the top detent,
   momentum projection on release, release velocity handed to the spring, grabbable mid-flight. */
.orka-sheet-layer { position: absolute; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.orka-sheet-layer .orka-scrim { position: absolute; }
.orka-sheet {
  position: relative; width: 100%; max-width: 520px; max-height: 92%;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-bottom: 0;
  box-shadow: var(--shadow-xl); color: var(--text-primary);
  will-change: transform; touch-action: none;
}
.orka-sheet__grabber { flex: none; display: flex; justify-content: center; padding: var(--space-2-5) 0 var(--space-2); cursor: grab; -webkit-user-select: none; user-select: none; }
.orka-sheet--dragging .orka-sheet__grabber { cursor: grabbing; }
.orka-sheet__grabber span { display: block; width: 36px; height: 5px; border-radius: var(--radius-pill); background: var(--border-strong); }
.orka-sheet__header { flex: none; display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-5) var(--space-3); }
.orka-sheet__title { font-size: var(--type-h5-size); font-weight: var(--fw-bold); letter-spacing: -0.01em; }
.orka-sheet__body { flex: 1; min-height: 0; overflow: auto; padding: 0 var(--space-5) var(--space-5); font-size: var(--fs-sm); line-height: var(--type-body-leading); color: var(--text-secondary); }
.orka-sheet__footer { flex: none; display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-5); box-shadow: inset 0 1px 0 var(--border-subtle); }

.orka-panel { display: flex; flex-direction: column; min-height: 0; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.orka-panel--flush { border: 0; border-radius: 0; }
.orka-panel__header { flex: none; padding: var(--space-3) var(--space-4) var(--space-2); font-size: var(--fs-2xs); font-weight: var(--fw-bold); letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--text-tertiary); }
.orka-panel__body { flex: 1; min-height: 0; overflow: auto; padding: 0 var(--space-2) var(--space-3); }

.orka-row {
  display: flex; align-items: center; gap: var(--space-3); width: 100%;
  min-height: 40px; padding: var(--space-2) var(--space-2-5);
  border: 0; border-radius: var(--radius-sm); background: transparent; color: inherit;
  font: inherit; text-align: left; cursor: pointer;
  transition: transform var(--press-dur) var(--ease-orka), background-color var(--transition-base);
}
.orka-row:hover { background: var(--state-hover); }
.orka-row:active { transform: scale(var(--press-scale-large)); background: var(--state-pressed); }
.orka-row--selected, .orka-row[aria-current="true"] { background: var(--brand-subtle); color: var(--brand-text); }
.orka-row:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.orka-row__lead { flex: none; display: flex; color: var(--text-tertiary); }
.orka-row__lead svg { width: var(--icon-md); height: var(--icon-md); }
.orka-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.orka-row__title { font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orka-row__meta { font-size: var(--fs-2xs); color: var(--text-tertiary); }
