/* ============================================================
   Your Data (participant data rights): placement only.
   Each request is a pane holding its own form; the past asks are rows in
   a flush pane, with a blank slate when there are none. This sheet owns
   the stack of action cards, each form's own spacing, the full-width
   submit, and the padding a callout or blank slate needs inside a pane
   whose rows run to its edges.
   Reads only --t-* and --c-* tokens.
   ============================================================ */

@layer layout {
  .my-data .my-data-hint,
  .my-data .my-data-notice,
  .my-data .my-data-action-text { margin: 0; }

  .my-data .my-data-actions { display: grid; gap: var(--t-space-4); }

  /* A card's own form: its note field, any refusal, and the action. */
  .my-data .my-data-actions form { display: grid; gap: var(--t-space-3); }

  /* The participant's one action on a card spans it, as the base drew it. */
  .my-data .my-data-submit { inline-size: 100%; }

  /* The past-asks pane puts its rows flush to its edges, so the message
     above them and the blank slate below keep their own room. */
  .my-data .my-data-requests-notice { padding: var(--t-space-4) var(--t-space-5) 0; }
  .my-data .my-data-requests-empty { padding: var(--t-space-5); }
}

@layer design {
  .my-data .my-data-hint,
  .my-data .my-data-notice,
  .my-data .my-data-action-text { color: var(--c-surface-text-color-muted); }
  .my-data .my-data-action-text { font-size: var(--t-font-size-sm); }
}
