/* admin-v2 sandbox dashboard: the sample-data card or facts, its actions, and any running operation. */

#akashic-health-records-patient-portal-root .sbx-seed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px;
}

#akashic-health-records-patient-portal-root .sbx-seed .sbx-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--ak-font-13);
}

#akashic-health-records-patient-portal-root .sbx-seed-empty {
  max-width: 660px;
}

#akashic-health-records-patient-portal-root .sbx-seed-empty .ak-section-title {
  margin: 0 0 8px;
}

#akashic-health-records-patient-portal-root .sbx-seed-empty p {
  margin: 0 0 15px;
  font-size: var(--ak-font-13);
  line-height: 1.5;
  color: var(--ink);
}

#akashic-health-records-patient-portal-root .sbx-seed-empty .sbx-source {
  border-top: 1px solid var(--line-soft);
  padding: 12px 0;
  margin: 0 0 15px;
  color: var(--ink-muted);
  font-size: var(--ak-font-12);
}

#akashic-health-records-patient-portal-root .sbx-seed-empty .sbx-source b {
  color: var(--ink-strong);
  font-weight: 500;
}

#akashic-health-records-patient-portal-root .sbx-seed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#akashic-health-records-patient-portal-root .sbx-data-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#akashic-health-records-patient-portal-root .sbx-data-head .sbx-spacer {
  flex: 1;
  min-width: 12px;
}

#akashic-health-records-patient-portal-root .sbx-data-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

#akashic-health-records-patient-portal-root .sbx-data-actions .btn {
  flex: none;
}

#akashic-health-records-patient-portal-root .sbx-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* The deck draws sample counts as warm figures, so they never read as live practice metrics. */
#akashic-health-records-patient-portal-root .sbx-facts .ak-metric__value {
  font-size: var(--ak-font-20);
  color: var(--warning);
}

#akashic-health-records-patient-portal-root .sbx-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 660px;
  margin: 0 0 15px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--ak-font-13);
}

#akashic-health-records-patient-portal-root .sbx-progress b {
  font-weight: 500;
  color: var(--ink-strong);
}

#akashic-health-records-patient-portal-root .sbx-progress span {
  font-size: var(--ak-font-12);
  color: var(--ink-muted);
}

#akashic-health-records-patient-portal-root .sbx-progress progress {
  width: 100%;
  height: 6px;
  accent-color: var(--warning);
}

@media (max-width: 640px) {
  #akashic-health-records-patient-portal-root .sbx-data-head {
    flex-direction: column;
    gap: 8px;
  }

  #akashic-health-records-patient-portal-root .sbx-facts {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #akashic-health-records-patient-portal-root .sbx-facts > .ak-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
  }

  #akashic-health-records-patient-portal-root .sbx-facts .ak-metric__value {
    font-size: var(--ak-font-17);
  }

  #akashic-health-records-patient-portal-root .sbx-data-actions {
    align-items: flex-start;
  }
}
