/* Screen layout. Shared visual roles and type are applied by product.css. */
@layer clinic-layout {
  .setup-progress,.launch-task,.bill-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .setup-progress { flex-wrap: wrap; padding: 22px; border-radius: 10px; }
  .setup-progress p { margin: 6px 0 0; }
  .setup-progress progress { width: min(160px,100%); }
  .setup-hint { max-width: 85ch; margin: 16px 0 22px; }
  .launch-task { border-top: 1px solid var(--line); padding: 15px 0; }
  .launch-task small,.bill-table small { display: block; margin-top: 3px; }
  .launch-check { display: flex; align-items: baseline; gap: 10px; margin: 14px 0; }
  .launch-check input { flex: none; }
  .readiness { margin: 18px 0; }
  .readiness summary { cursor: pointer; }
  .readiness p,.readiness li { margin-top: 10px; }
  .readiness li { max-width: 88ch; }
  .billing-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(240px,.8fr); gap: 16px; margin: 18px 0; }
  .billing-grid .entry { margin: 12px 0; }
  .billing-grid .link { margin-top: 6px; }
  .bill-table-scroll { overflow: auto; }
  .bill-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
  .bill-table td,.bill-table th { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--line); }
  .bill-table td { white-space: nowrap; }
  .bill-tools { justify-content: flex-end; flex-wrap: wrap; }
  .sr-bill { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  @media (max-width:960px) {
    .billing-grid { grid-template-columns: minmax(0,1fr); }
  }
  @media (max-width:600px) {
    .launch-task { align-items: flex-start; flex-wrap: wrap; }
    .bill-tools { justify-content: flex-start; }
    .setup-progress { padding: 16px; }
    .bill-table td,.bill-table th { padding: 8px 4px; }
    .bill-table td { white-space: normal; }
    .billing-grid .panel { min-width: 0; }
  }
  .bill-case .link { text-decoration: underline; text-underline-offset: 3px; }
}
