/* Home owns the daily recommendation and urgent-attention hierarchy. */
.today-focus-secondary {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
}

.today-capture-formats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.today-capture-formats span {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 4px;
  border-top: 1px solid rgba(36, 88, 74, 0.14);
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 730;
  text-align: center;
}

.today-capture-formats svg {
  width: 17px;
  height: 17px;
  color: var(--green-deep);
}

.home-recent-panel {
  display: grid;
  gap: 10px;
  border-top: 3px solid var(--copper);
  padding-top: 12px;
}

.home-recent-panel .section-title-row {
  margin: 0;
}

.home-recent-list {
  display: grid;
  gap: 7px;
}

.home-recent-item {
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(36, 88, 74, 0.16);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 9px 10px;
  color: var(--ink);
  text-align: left;
}

.home-recent-item > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.home-recent-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-recent-item small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 710;
}

.home-recent-item strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.home-recent-item em {
  color: var(--green);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.home-recent-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green-deep);
}

.home-recent-icon svg,
.home-recent-item > svg {
  width: 18px;
  height: 18px;
}

.home-attention-strip {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  border: 1px solid #ead8a8;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: #fffaf0;
  padding: 12px;
}

.home-attention-strip.urgent {
  border-color: #edcaca;
  border-left-color: var(--danger);
  background: #fff5f5;
}

.home-attention-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
}

.home-attention-strip.urgent .home-attention-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.home-attention-icon svg {
  width: 21px;
  height: 21px;
}

.home-attention-strip p,
.home-attention-strip strong,
.home-attention-strip span {
  margin: 0;
}

.home-attention-strip strong,
.home-attention-strip span {
  display: block;
}

.home-attention-strip strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.25;
}

.home-attention-strip div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-attention-strip > .button {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
}

@media (max-width: 380px) {
  .home-attention-strip {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .today-capture-formats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
