.template-phone-hero,
.template-code-summary,
.template-balance-card,
.template-store-card,
.template-health-card,
.template-content-feature,
.template-project-card,
.template-campus-welcome {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--template-border);
  border-radius: var(--template-radius);
  background: var(--template-card-bg);
  padding: 8px;
}

.template-phone-hero > div,
.template-code-summary > div,
.template-balance-card > div,
.template-store-card > div,
.template-health-card > div,
.template-content-feature > div,
.template-project-card > div,
.template-campus-welcome > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.template-phone-hero span,
.template-phone-hero em,
.template-code-summary span,
.template-balance-card span,
.template-balance-card em,
.template-store-card span,
.template-health-card span,
.template-health-card em,
.template-content-feature span,
.template-content-feature em,
.template-project-card em,
.template-campus-welcome span {
  overflow: hidden;
  color: var(--template-muted);
  font-size: 7px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-phone-hero strong,
.template-code-summary strong,
.template-balance-card strong,
.template-store-card strong,
.template-health-card strong,
.template-content-feature strong,
.template-project-card strong,
.template-campus-welcome strong {
  overflow: hidden;
  color: var(--template-text);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-hero-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #20a66a;
  box-shadow: 0 0 0 4px rgba(32, 166, 106, 0.12);
}

.template-phone-hero--accent {
  border-color: transparent;
  background: var(--template-active-accent);
}

.template-phone-hero--accent span,
.template-phone-hero--accent em,
.template-phone-hero--accent strong {
  color: #ffffff;
}

.template-hero-bars {
  width: 28px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 6px;
  opacity: 0.9;
  background: linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.42) 8% 18%, transparent 18% 28%, rgba(255, 255, 255, 0.7) 28% 40%, transparent 40% 50%, rgba(255, 255, 255, 0.52) 50% 62%, transparent 62% 72%, rgba(255, 255, 255, 0.88) 72% 86%, transparent 86%);
}

.template-quick-grid,
.template-health-grid,
.template-product-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.template-quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-quick-grid > div,
.template-health-grid article,
.template-product-grid article {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 3px;
  border: 1px solid var(--template-border);
  border-radius: var(--template-radius);
  background: var(--template-card-bg);
  padding: 6px;
}

.template-quick-grid > div {
  justify-items: center;
  min-height: 36px;
}

.template-quick-grid i,
.template-health-grid i,
.template-campus-welcome i,
.template-shortcut-grid i {
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--template-active-accent);
  border-radius: 4px;
}

.template-quick-grid b,
.template-health-grid span,
.template-health-grid strong,
.template-product-grid strong,
.template-product-grid span {
  overflow: hidden;
  color: var(--template-text);
  font-size: 7px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-health-grid strong,
.template-product-grid strong {
  font-size: 10px;
  font-weight: 750;
}

.template-code-summary {
  border-color: #30435f;
  background: #172a44;
}

.template-code-summary span,
.template-code-summary strong {
  color: #dbe8f8;
}

.template-code-summary > b,
.template-code-list > div > b {
  flex: 0 0 auto;
  color: var(--template-active-accent);
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.template-code-list,
.template-bill-list,
.template-draft-list,
.template-task-list,
.template-class-list {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.template-code-list > div,
.template-bill-list > div,
.template-draft-list > div,
.template-task-list > div,
.template-class-list > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  border-bottom: 1px solid var(--template-border);
  padding-bottom: 4px;
}

.template-code-list > div:last-child,
.template-bill-list > div:last-child,
.template-draft-list > div:last-child,
.template-task-list > div:last-child,
.template-class-list > div:last-child {
  border-bottom: 0;
}

.template-code-list > div > span,
.template-bill-list > div > span,
.template-draft-list > div > span,
.template-task-list > div > span,
.template-class-list > div > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.template-code-list strong,
.template-bill-list strong,
.template-draft-list strong,
.template-task-list strong,
.template-class-list strong {
  overflow: hidden;
  color: var(--template-text);
  font-size: 8px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-code-list em,
.template-bill-list em,
.template-draft-list em,
.template-task-list em,
.template-class-list em {
  overflow: hidden;
  color: var(--template-muted);
  font-size: 7px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-code-file,
.template-bill-icon {
  display: block;
  width: 13px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid var(--template-active-accent);
  border-radius: 3px;
  background: linear-gradient(var(--template-active-accent) 0 2px, transparent 2px 5px, var(--template-active-accent) 5px 6px, transparent 6px 9px, var(--template-active-accent) 9px 10px, transparent 10px);
  opacity: 0.85;
}

.template-balance-card,
.template-store-card {
  min-height: 54px;
  border-color: transparent;
  background: var(--template-active-accent);
}

.template-balance-card span,
.template-balance-card em,
.template-balance-card strong,
.template-store-card span,
.template-store-card strong {
  color: #ffffff;
}

.template-balance-card strong,
.template-store-card strong {
  font-size: 16px;
}

.template-store-card > b {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 7px;
  padding: 4px 6px;
  white-space: nowrap;
}

.template-phone-kpis--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-phone-kpis--two article:first-child,
.template-demo[data-variant="developer"] .template-phone-kpis article:last-child {
  grid-column: auto;
}

.template-phone-kpis article i.negative,
.template-bill-list b {
  color: #c94f4f;
}

.template-bill-list b {
  margin-left: auto;
  font-size: 8px;
  white-space: nowrap;
}

.template-bill-list b.positive {
  color: #16824d;
}

.template-product-cover {
  display: block;
  height: 34px;
  border-radius: calc(var(--template-radius) - 2px);
  background: linear-gradient(135deg, #f8a5b8, #e11d48);
}

.template-product-cover.cover-two {
  background: linear-gradient(135deg, #f7d5a9, #ea580c);
}

.template-health-card {
  min-height: 76px;
}

.template-ring {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  align-content: center;
  justify-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--template-active-accent) 0 72%, #d8eee0 72% 100%);
  box-shadow: inset 0 0 0 7px var(--template-card-bg);
}

.template-ring strong {
  color: var(--template-active-accent);
  font-size: 12px;
  line-height: 1;
}

.template-ring span {
  color: var(--template-muted);
  font-size: 6px;
}

.template-health-card > div:last-child {
  flex: 1 1 auto;
}

.template-content-feature {
  min-height: 64px;
}

.template-cover {
  width: 45px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: calc(var(--template-radius) - 2px);
  background: linear-gradient(145deg, #c4b5fd 0 35%, #7c3aed 35% 68%, #4c1d95 68%);
}

.template-content-feature > div:nth-child(2) {
  flex: 1 1 auto;
}

.template-content-feature > b {
  flex: 0 0 auto;
  color: var(--template-active-accent);
  font-size: 7px;
  white-space: nowrap;
}

.template-creator-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.template-creator-actions button {
  min-height: 28px;
  border: 1px solid var(--template-border);
  border-radius: var(--template-radius);
  background: var(--template-card-bg);
  color: var(--template-text);
  font-size: 8px;
}

.template-draft-cover {
  display: block;
  width: 28px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 5px;
  background: linear-gradient(145deg, #f0abfc, #7c3aed);
}

.template-draft-cover.draft-two {
  background: linear-gradient(145deg, #ddd6fe, #5b21b6);
}

.template-draft-list b,
.template-task-list b {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--template-active-accent);
  font-size: 7px;
  font-weight: 700;
  white-space: nowrap;
}

.template-project-card {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  gap: 6px;
  min-height: 72px;
}

.template-project-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.template-project-card > div:first-child span,
.template-project-card > div:first-child strong {
  color: var(--template-text);
  font-size: 9px;
}

.template-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #f6d9bd;
}

.template-progress i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--template-active-accent);
}

.template-members {
  display: flex;
  align-items: center;
  gap: 0;
}

.template-members i,
.template-campus-avatar {
  display: block;
  width: 20px;
  height: 20px;
  margin-right: -4px;
  border: 2px solid var(--template-screen-bg);
  border-radius: 50%;
  background: #f7b267;
}

.template-members i:nth-child(2) {
  background: #e98a77;
}

.template-members i:nth-child(3) {
  background: #e5a94f;
}

.template-members span {
  margin-left: 10px;
  color: var(--template-muted);
  font-size: 7px;
}

