.report-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  margin-bottom: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 50%, rgb(70 219 222 / 28%), transparent 29%),
    linear-gradient(120deg, #173b7a, #245fbd);
  border-radius: 12px;
}

.report-hero h3,
.report-hero p {
  margin: 0;
}

.report-hero h3 {
  font-size: 15px;
}

.report-hero p {
  margin-top: 6px;
  color: #b8d0eb;
  font-size: 8px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.app-cover {
  position: relative;
  display: block;
  height: 128px;
  overflow: hidden;
  background: var(--app-bg);
}

.app-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgb(5 22 52 / 32%));
}

.app-card__body {
  padding: 14px 15px;
}

.app-card__body h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: 12px;
}

.app-card__body p {
  min-height: 34px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.65;
}

.recommend-list {
  display: grid;
  gap: 9px;
}

.recommend-item {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e9edf3;
  border-radius: 8px;
}

.recommend-item i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--primary);
  font-size: 10px;
  font-style: normal;
  background: #eaf2ff;
  border-radius: 8px;
}

.recommend-item b,
.recommend-item small {
  display: block;
}

.recommend-item b {
  font-size: 9px;
}

.recommend-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.health-layout {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 14px;
}

.health-score {
  display: grid;
  min-height: 280px;
  place-items: center;
  text-align: center;
}

.score-ring {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  background: conic-gradient(#22b68c 0 86%, #e7eef2 86% 100%);
  border-radius: 50%;
}

.score-ring::before {
  position: absolute;
  width: 121px;
  height: 121px;
  content: "";
  background: #fff;
  border-radius: 50%;
}

.score-ring span {
  position: relative;
  z-index: 1;
}

.score-ring strong,
.score-ring small {
  display: block;
}

.score-ring strong {
  font-family: Bahnschrift, sans-serif;
  font-size: 38px;
}

.score-ring small {
  color: var(--green);
  font-size: 8px;
}

.radar {
  display: grid;
  min-height: 255px;
  place-items: center;
}

.radar svg {
  width: 225px;
  height: 225px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 100px repeat(7, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.schedule-cell {
  min-height: 42px;
  padding: 8px;
  font-size: 7px;
  border-right: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
}

.schedule-cell.header {
  min-height: 32px;
  color: #78869a;
  text-align: center;
  background: #f8fafc;
}

.shift {
  color: #2e65cc;
  background: #eaf2ff;
  border-radius: 5px;
}

.shift.night {
  color: #7656c9;
  background: #f1edff;
}

.permission-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
}

.role-list {
  display: grid;
  gap: 6px;
}

.role-item {
  padding: 11px 12px;
  background: #f8fafc;
  border: 1px solid transparent;
  border-radius: 8px;
}

.role-item.active {
  background: #edf4ff;
  border-color: #c8dcff;
}

.role-item b,
.role-item small {
  display: block;
}

.role-item b {
  font-size: 9px;
}

.role-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
}

.permission-tree {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.permission-group {
  padding: 11px;
  background: #f9fbfd;
  border: 1px solid #e8edf3;
  border-radius: 8px;
}

.permission-group > b {
  display: block;
  margin-bottom: 8px;
  font-size: 9px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: #66758a;
  font-size: 7px;
}

.check-box {
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  color: #fff;
  font-size: 8px;
  background: var(--primary);
  border-radius: 3px;
}

.menu-tree-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tree-indent {
  display: inline-block;
  width: var(--indent, 0);
}

.code {
  padding: 3px 5px;
  color: #3e608c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  background: #f1f5fa;
  border-radius: 4px;
}

.invoice-collection-channel { display: grid; gap: 12px; }
.invoice-collection-channel > header { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.invoice-collection-channel > header > i { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; font-size: 10px; font-style: normal; font-weight: 750; background: linear-gradient(135deg, #2368f5, #16b8c5); border-radius: 9px; }
.invoice-collection-channel > header b, .invoice-collection-channel > header small { display: block; }
.invoice-collection-channel > header b { color: #2c425d; font-size: 10px; }
.invoice-collection-channel > header small { margin-top: 4px; color: #8291a3; font-size: 7px; }
.invoice-collection-channel dl { display: grid; gap: 1px; margin: 0; overflow: hidden; background: #e7ecf2; border-radius: 8px; }
.invoice-collection-channel dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 11px; background: #f8fafc; }
.invoice-collection-channel dt { color: #8190a2; font-size: 7px; }
.invoice-collection-channel dd { margin: 0; color: #344a64; font-size: 8px; font-weight: 650; text-align: right; }
.invoice-collection-channel > footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; color: #7d8c9f; font-size: 8px; border-top: 1px solid #e8edf3; }
.invoice-collection-channel > footer a { color: var(--primary); }
.mailbox-address { padding: 11px 12px; background: #f1f6ff; border: 1px solid #c8daf9; border-radius: 8px; }
.mailbox-address small, .mailbox-address b, .mailbox-address span { display: block; }
.mailbox-address small { color: #7d8da1; font-size: 7px; }
.mailbox-address b { margin-top: 5px; color: #24518a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.mailbox-address span { margin-top: 5px; color: #8392a4; font-size: 7px; }

@media (max-width: 1300px) {
  .health-layout {
    grid-template-columns: 230px 1fr 1fr;
  }
  .app-grid {
    gap: 10px;
  }
}
