
/* Global Standardization Phase 2:
   header/action/card/table visual rhythm only.
   Sidebar, icons, grouping, markup and business logic untouched. */

/* Common module header action alignment */
.tab-content .header-bar,
.tab-content [class*="-ui-head"],
.tab-content [class*="-hero"]{
  box-sizing:border-box;
}
.tab-content .header-bar .btn,
.tab-content [class*="-ui-head"] .btn,
.tab-content [class*="-hero"] .btn{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}

/* Common card visual rhythm */
.tab-content .card,
.tab-content [class*="-kpi"],
.tab-content [class*="-card"]{
  box-sizing:border-box;
}
.tab-content .card{
  border:1px solid #dfe7f0;
  box-shadow:0 3px 12px rgba(15,23,42,.04);
}

/* Common table density; existing module-specific widths/actions stay intact */
.tab-content .table-container table{
  border-collapse:collapse;
}
.tab-content .table-container th{
  line-height:1.2;
  vertical-align:middle;
}
.tab-content .table-container td{
  line-height:1.3;
  vertical-align:middle;
}

/* Compact action buttons inside tables only */
.tab-content .table-container td .btn{
  white-space:nowrap;
}

/* Shared muted/subtitle tone */
.tab-content .subtitle,
.tab-content [class*="-subtitle"],
.tab-content [class*="-sub"]{
  color:#64748b;
}

/* Keep focus appearance consistent */
.tab-content button:focus-visible,
.tab-content input:focus-visible,
.tab-content select:focus-visible,
.tab-content textarea:focus-visible{
  outline:2px solid rgba(37,99,235,.32);
  outline-offset:2px;
}

/* Explicitly leave sidebar/navigation geometry and visuals unchanged. */
