:root {
  --dy7-blue: #2463e8;
  --dy7-orange: #f04422;
  --dy7-green: #13a873;
  --dy7-ink: #0d1729;
  --dy7-muted: #8190a4;
  --dy7-line: #d9e4f2;
  --dy7-soft: #edf4ff;
}

.home-main .main-card {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home-main .main-content {
  display: none !important;
}

.qqg-console-head {
  align-items: flex-end !important;
  margin-bottom: 22px !important;
}

.qqg-console-head h1 {
  font-size: 32px !important;
}

.qqg-dashboard-overview {
  gap: 14px !important;
  margin-bottom: 15px !important;
}

.qqg-dashboard-overview article {
  position: relative;
  min-height: 154px !important;
  padding: 21px !important;
  background: #fff !important;
  border: 1px solid var(--dy7-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 7px 24px rgba(25, 61, 105, .055) !important;
}

.qqg-dashboard-overview .primary-overview {
  color: #fff !important;
  background:
    radial-gradient(circle at 100% 0, rgba(83, 139, 255, .43), transparent 13rem),
    linear-gradient(145deg, #254d8a, #173764) !important;
  border-color: #254c84 !important;
}

.qqg-dashboard-overview article > span {
  color: #8795a9 !important;
  font-size: 12px !important;
}

.qqg-dashboard-overview .primary-overview > span {
  color: #b7cbea !important;
}

.qqg-dashboard-overview article > strong {
  margin: 11px 0 0 !important;
  font-size: 32px !important;
}

.qqg-dashboard-overview article > a,
.qqg-dashboard-overview article > button {
  margin-top: auto !important;
}

.dy-console-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(310px, .72fr);
  gap: 15px;
}

.dy-console-left,
.dy-console-right {
  display: grid;
  align-content: start;
  gap: 15px;
}

.dy-account-card,
.dy-resource-card,
.dy-quick-card,
.dy-service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dy7-line);
  border-radius: 17px;
  box-shadow: 0 7px 24px rgba(25, 61, 105, .055);
}

.dy-account-profile {
  display: flex;
  min-height: 114px;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: linear-gradient(110deg, #f9fbff, #eef4ff);
  border-bottom: 1px solid #dfe7f2;
}

.dy-account-avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  flex: 0 0 56px;
  color: #fff;
  background: linear-gradient(145deg, #f58ba3, #dc5d7d);
  border-radius: 13px;
  font-size: 24px;
  font-weight: 800;
}

.dy-account-profile > div {
  min-width: 0;
  flex: 1;
}

.dy-account-profile small,
.dy-resource-card header small,
.dy-quick-card header small,
.dy-service-card header small {
  color: var(--dy7-blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.3px;
}

.dy-account-profile h2 {
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--dy7-ink);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-account-profile p {
  margin: 4px 0 0;
  color: var(--dy7-muted);
  font-size: 11px;
}

.dy-account-profile > a {
  padding: 9px 12px;
  color: var(--dy7-blue);
  background: #fff;
  border: 1px solid #cdddf4;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
}

.dy-account-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.dy-account-contact > span {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  gap: 2px 9px;
  padding: 17px 20px;
}

.dy-account-contact > span + span {
  border-left: 1px solid #e3eaf3;
}

.dy-account-contact i {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  place-items: center;
  color: var(--dy7-blue);
  background: var(--dy7-soft);
  border-radius: 10px;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.dy-account-contact b {
  color: var(--dy7-muted);
  font-size: 9px;
}

.dy-account-contact em {
  overflow: hidden;
  color: #394a63;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-resource-card header,
.dy-quick-card header,
.dy-service-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 22px 15px;
}

.dy-resource-card h2,
.dy-quick-card h2,
.dy-service-card h2 {
  margin: 5px 0 0;
  color: var(--dy7-ink);
  font-size: 18px;
}

.dy-resource-card header p {
  margin: 5px 0 0;
  color: var(--dy7-muted);
  font-size: 10px;
}

.dy-resource-card header a {
  padding: 8px 10px;
  color: var(--dy7-blue);
  background: var(--dy7-soft);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}

.dy-resource-list {
  padding: 0 22px 12px;
}

.dy-resource-row {
  display: grid;
  min-height: 68px;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  color: inherit;
  border-top: 1px solid #e7edf5;
  text-decoration: none;
}

.dy-resource-row > i,
.dy-empty-resource > i {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--dy7-blue);
  background: var(--dy7-soft);
  border-radius: 11px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.dy-resource-row > i.defense { color: #ed462e; background: #fff0ed; }
.dy-resource-row > i.dedicated { color: #744ed0; background: #f1edff; }
.dy-resource-row > i.multi { color: #e78514; background: #fff4e5; }

.dy-resource-row > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.dy-resource-row > span b {
  overflow: hidden;
  color: var(--dy7-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-resource-row > span small {
  overflow: hidden;
  margin-top: 4px;
  color: var(--dy7-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dy-resource-row > em {
  color: #6f7e93;
  font-size: 10px;
  font-style: normal;
}

.dy-resource-row > em.overdue {
  color: #e34a35;
}

.dy-resource-row > strong {
  color: var(--dy7-blue);
  font-size: 10px;
}

.dy-empty-resource {
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #e7edf5;
}

.dy-empty-resource > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.dy-empty-resource b {
  font-size: 12px;
}

.dy-empty-resource small {
  margin-top: 5px;
  color: var(--dy7-muted);
  font-size: 10px;
}

.dy-empty-resource button {
  padding: 9px 12px;
  color: #fff;
  background: var(--dy7-blue);
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
}

.dy-quick-card > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 0 20px 20px;
}

.dy-quick-card button {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: column;
  color: #526178;
  background: #f8fafc;
  border: 1px solid #e1e8f2;
  border-radius: 11px;
  font-size: 10px;
}

.dy-quick-card button i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--dy7-blue);
  background: var(--dy7-soft);
  border-radius: 9px;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.dy-service-card {
  padding-bottom: 12px;
}

.dy-service-card p {
  display: grid;
  min-height: 58px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0 20px;
  border-top: 1px solid #e7edf5;
}

.dy-service-card p > i {
  width: 7px;
  height: 7px;
  background: #16b57f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(22, 181, 127, .1);
}

.dy-service-card p > span {
  display: flex;
  flex-direction: column;
}

.dy-service-card p b {
  color: #314159;
  font-size: 11px;
}

.dy-service-card p small {
  margin-top: 3px;
  color: var(--dy7-muted);
  font-size: 9px;
}

.dy-service-card p em {
  color: var(--dy7-green);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

@media (max-width: 1150px) {
  .dy-console-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .qqg-console-head {
    align-items: flex-start !important;
  }

  .qqg-console-head h1 {
    font-size: 25px !important;
  }

  .qqg-dashboard-overview {
    grid-template-columns: 1fr 1fr !important;
  }

  .qqg-dashboard-overview .primary-overview {
    grid-column: 1 / -1;
  }

  .dy-account-profile {
    flex-wrap: wrap;
  }

  .dy-account-profile > a {
    margin-left: 70px;
  }

  .dy-account-contact {
    grid-template-columns: 1fr;
  }

  .dy-account-contact > span + span {
    border-top: 1px solid #e3eaf3;
    border-left: 0;
  }

  .dy-resource-row {
    grid-template-columns: auto 1fr auto;
  }

  .dy-resource-row > em {
    display: none;
  }

  .dy-quick-card > div {
    grid-template-columns: 1fr 1fr;
  }
}
