/* Compact portal indicators, scoped to the client dossier portal only. */
html body #root #client-portal-settings .client-portal-stats {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 190px)) !important;
  gap: 8px !important;
  justify-content: start !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 0 10px !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

html body #root #client-portal-settings .client-portal-stat:nth-child(n) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 88px !important;
  height: 88px !important;
  padding: 12px 16px !important;
  gap: 5px !important;
  justify-content: center !important;
  border: 0 !important;
  border-left: 1px solid #d5e0eb !important;
  border-bottom: 1px solid #d5e0eb !important;
  border-radius: 0 !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer !important;
  transition: transform .16s ease, box-shadow .16s ease !important;
}

html body #root #client-portal-settings .client-portal-stat:nth-child(n)::before {
  height: 32px !important;
}

html body #root #client-portal-settings .client-portal-stat-value {
  color: #172033 !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html body #root #client-portal-settings .client-portal-stat-label {
  color: #7b8999 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

html body #root #client-portal-settings .client-portal-stat:hover,
html body #root #client-portal-settings .client-portal-stat:focus-visible {
  z-index: 2 !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .18) !important;
}

html body #root #client-portal-settings .client-portal-stat:focus-visible {
  outline: 2px solid #12a89c !important;
  outline-offset: 2px !important;
}

html body #root #client-portal-settings .client-portal-header {
  margin-bottom: 12px !important;
}

html body #root #client-portal-settings .client-portal-title {
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

html body #root #client-portal-settings .client-portal-requests {
  margin-top: 8px !important;
  padding-top: 12px !important;
  gap: 10px !important;
}

html body #root #client-portal-settings .client-portal-requests > .row > div:first-child > div:first-child {
  font-size: 17px !important;
  font-weight: 700 !important;
}

html body #root #client-portal-settings .client-portal-request-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px)) !important;
  gap: 8px !important;
  justify-content: start !important;
  width: 100% !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

html body #root #client-portal-settings .client-portal-request-row:nth-child(n) {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 68px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-left: 1px solid #d5e0eb !important;
  border-bottom: 1px solid #d5e0eb !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer !important;
  transition: transform .16s ease, box-shadow .16s ease !important;
}

html body #root #client-portal-settings .client-portal-request-row:nth-child(n)::after {
  content: none !important;
  display: none !important;
}

html body #root #client-portal-settings .client-portal-request-row:hover,
html body #root #client-portal-settings .client-portal-request-row:focus-visible,
html body #root #client-portal-settings .client-portal-request-row.is-selected {
  z-index: 2 !important;
  transform: translateY(-3px) scale(1.012) !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .16) !important;
}

html body #root #client-portal-settings .client-portal-request-row:focus-visible {
  outline: 2px solid #12a89c !important;
  outline-offset: 2px !important;
}

html body #root #client-portal-settings .client-portal-request-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

html body #root #client-portal-settings .client-portal-request-row .tiny {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

html body #root #client-portal-settings .client-portal-state.is-active {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease !important;
}

html body #root #client-portal-settings .client-portal-state.is-active:hover {
  background: #12a89c !important;
  border-color: #12a89c !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(18, 168, 156, .2) !important;
}

@media (max-width: 620px) {
  html body #root #client-portal-settings .client-portal-request-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 420px) {
  html body #root #client-portal-settings .client-portal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
