/* Staff dashboard shell and page headings. */
.platform {
  --bs-primary: #285c71;
  --bs-link-color: #285c71;
  --bs-link-color-rgb: 40, 92, 113;
  --bs-link-hover-color: #193e4e;
  --bs-link-hover-color-rgb: 25, 62, 78;
  --bs-body-color: #26343c;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: .925rem;
  font-variant-numeric: tabular-nums;
}

.platform .container {
  max-width: 1240px;
}

.platform .btn {
  font-size: .875rem;
  border-radius: .3rem;
}

.platform .btn-primary {
  --bs-btn-bg: #285c71;
  --bs-btn-border-color: #285c71;
  --bs-btn-hover-bg: #193e4e;
  --bs-btn-hover-border-color: #193e4e;
  --bs-btn-active-bg: #193e4e;
  --bs-btn-active-border-color: #193e4e;
}

.platform h1 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.025em;
  margin-bottom: .35rem;
}

.platform h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .35rem;
}

.platform-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid #dce3e7;
}

.platform-nav a {
  border-bottom: 2px solid #285c71;
  padding: .6rem 0;
  text-decoration: none;
  font-weight: 600;
}

.platform-nav span {
  color: #5e6b74;
  font-size: .8rem;
}

.platform .breadcrumb {
  font-size: .8rem;
  margin-bottom: 1.25rem;
}

.platform .breadcrumb-item {
  overflow-wrap: anywhere;
}

.page-heading,
.section-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.page-heading p,
.section-link p {
  color: #5e6b74;
  margin: 0;
}

/* Reusable detail cards and their linked actions. */
.detail-panel {
  background: #fff;
  border: 1px solid #dce3e7;
  border-radius: .35rem;
  padding: 1.2rem;
}

.detail-panel dt {
  color: #5e6b74;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: .35rem;
}

.detail-panel dd {
  overflow-wrap: anywhere;
  margin-bottom: .3rem;
}

.section-link {
  padding: 1.3rem 0;
  border-bottom: 1px solid #dce3e7;
}

/* Server-fed tables, empty states and pagination. */
.table-panel {
  background: #fff;
  border: 1px solid #dce3e7;
  border-radius: .35rem;
  padding: 1rem;
}

.platform .table {
  --bs-table-hover-bg: #f1f5f7;
  font-size: .875rem;
}

.platform .table th {
  color: #5e6b74;
  font-size: .8rem;
  font-weight: 600;
  background: #f4f7f8;
}

.platform .table td,
.platform .table th {
  padding: .85rem .75rem;
}

.platform .table td {
  overflow-wrap: anywhere;
}

.platform .table a {
  font-weight: 600;
  text-decoration: none;
}

.platform .table a:hover {
  text-decoration: underline;
}

.platform .status {
  display: inline-block;
  padding: .2rem .45rem;
  border-radius: .2rem;
  font-size: .75rem;
  background: #edf1f3;
  color: #52616b;
  white-space: nowrap;
}

.platform .status-active {
  background: #e5eff2;
  color: #234c5b;
}

.platform .page-link {
  color: #285c71;
}

.platform .active>.page-link {
  background: #285c71;
  border-color: #285c71;
  color: #fff;
}

.platform .dt-container {
  font-size: .825rem;
}

.platform .dt-search input {
  min-width: 12rem;
}

.platform .dt-processing {
  background: #edf1f3;
  color: #26343c;
  box-shadow: none;
}

.platform .dt-processing>div {
  display: none;
}

.platform a:focus-visible,
.platform button:focus-visible {
  outline: 3px solid #7aa6b9;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .platform-nav {
    gap: 1rem;
  }

  .platform-nav span {
    font-size: .75rem;
  }

  .table-panel {
    padding: .65rem;
  }

  .platform .dt-search input {
    min-width: 0;
    max-width: 11rem;
  }

  .platform .table td,
  .platform .table th {
    padding: .65rem .5rem;
  }
}
