.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.home-card { display: grid; gap: .75rem; align-content: start; padding: 1.15rem; }
.home-card h2, .home-attention h2 { font-size: 1.05rem; }
.home-count { display: grid; justify-items: start; }
.home-count strong { font-size: 2.4rem; line-height: 1; }
.home-count span, .home-gauge small { color: var(--muted); }
.home-latest { display: grid; gap: .15rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .8rem; text-align: start; }
.home-latest span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-gauge-row { display: flex; align-items: center; gap: 1rem; }
.home-gauge {
  display: grid;
  flex: none;
  place-items: center;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  background: conic-gradient(#38e8ff 0 calc(var(--a) * 1%), #f87171 calc(var(--a) * 1%) calc(var(--b) * 1%), #34d399 calc(var(--b) * 1%) 100%);
}
.home-gauge.is-empty { background: var(--line); }
.home-gauge span {
  display: grid;
  place-items: center;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  background: var(--ink);
}
.home-gauge strong { font-size: 1.5rem; line-height: 1; }
.home-legend { display: grid; gap: .35rem; min-width: 0; flex: 1; }
.home-legend button { display: flex; align-items: center; gap: .45rem; text-align: start; }
.home-legend span { flex: 1; }
.home-swatch { flex: none; width: .7rem; height: .7rem; border-radius: 50%; }
.home-swatch-doing { background: #38e8ff; }
.home-swatch-late { background: #f87171; }
.home-swatch-done { background: #34d399; }
.home-attention { display: grid; gap: .7rem; }
@media (max-width: 40rem) {
  .home-grid { grid-template-columns: 1fr; }
  .home-gauge-row { align-items: flex-start; }
}
