.h360-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--h360-space-4);
}

.h360-page-header__title {
  margin: 0;
  font-family: var(--h360-font-family-sans);
  font-size: clamp(var(--h360-font-size-xl), 1.6vw, var(--h360-font-size-2xl));
  font-weight: var(--h360-font-weight-semibold);
  line-height: var(--h360-line-height-tight);
  letter-spacing: -0.01em;
  color: var(--h360-text-primary);
}

.h360-page-header__subtitle {
  margin-top: var(--h360-space-2);
  font-size: var(--h360-font-size-sm);
  color: var(--h360-text-muted);
}

.h360-page-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--h360-space-2);
}

.h360-kpi-card {
  border: 1px solid var(--h360-border-subtle);
  border-radius: var(--h360-radius-lg);
  box-shadow: var(--h360-shadow-sm);
  background: linear-gradient(140deg, var(--h360-surface-card), var(--h360-surface-soft));
  transition: transform var(--h360-duration-fast) var(--h360-ease-standard),
    box-shadow var(--h360-duration-fast) var(--h360-ease-standard);
}

.h360-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--h360-shadow-md);
}

.h360-kpi-card .avatar-initial {
  color: var(--h360-color-brand-600);
  background-color: var(--h360-surface-overlay) !important;
}

.h360-filter-panel {
  border: 1px solid var(--h360-border-subtle);
  border-radius: var(--h360-radius-lg);
  box-shadow: var(--h360-shadow-sm);
  background-color: var(--h360-surface-card);
}

.h360-filter-panel__header {
  border-bottom: 1px solid var(--h360-border-subtle);
  background-color: var(--h360-surface-soft);
}

.h360-filter-panel__title {
  color: var(--h360-text-primary);
}

.h360-filter-panel__body {
  background-color: var(--h360-surface-card);
}

.h360-filter-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--h360-space-2);
}

.h360-table-shell {
  border: 1px solid var(--h360-border-subtle);
  border-radius: var(--h360-radius-lg);
  box-shadow: var(--h360-shadow-sm);
  overflow: hidden;
  background-color: var(--h360-surface-card);
}

.h360-table-shell__header {
  border-bottom: 1px solid var(--h360-border-subtle);
  background-color: var(--h360-surface-soft);
}

.h360-table-shell__body {
  background-color: var(--h360-surface-card);
}

.h360-table-shell__table thead th {
  color: var(--h360-text-secondary);
  font-size: var(--h360-font-size-xs);
  font-weight: var(--h360-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.h360-table-shell__table tbody td {
  color: var(--h360-text-primary);
}

.h360-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--h360-space-2);
}

.h360-action-bar .btn {
  white-space: nowrap;
}

:where(.h360-page-header, .h360-filter-panel, .h360-table-shell)
  :is(a, button, input, select, textarea):focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--h360-focus-ring);
}

@media (max-width: 767.98px) {
  .h360-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .h360-page-header__actions {
    justify-content: flex-start;
  }

  .h360-action-bar .btn {
    width: 100%;
  }
}
