/* M-02 Dashboard attention cards. Tokens come from F-21 / style.css. */

#dash-attention {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#dash-attention.hidden {
  display: none;
}

#dash-attention .attn-count {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-400);
}

#dash-attention .attn-title-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger, #c43c3c);
  box-shadow: 0 0 0 3px var(--danger-bg, #fad6d6);
  flex: none;
}

.attn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.attn-card {
  background: var(--card);
  border: 0.5px solid var(--border-card);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}

.attn-card:hover {
  box-shadow: var(--shadow-pop);
  transform: translateY(-1px);
}

.attn-card:focus-visible {
  outline: 2px solid var(--accent-fill);
  outline-offset: 2px;
}

.attn-card.severity-high {
  border-color: var(--danger, #c43c3c);
}

.attn-card.severity-medium {
  border-color: var(--border-card);
}

.attn-card.severity-low {
  border-color: var(--border, var(--border-card));
}

.attn-card .attn-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-000);
  line-height: 1.3;
}

.attn-card .attn-sub {
  font-size: 13px;
  color: var(--text-400);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.attn-card .attn-project,
.attn-card .attn-kind {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attn-card .attn-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.attn-card .attn-hint {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-200);
  background: var(--bg-200);
  border-radius: 10px;
  padding: 3px 10px;
}

.attn-card .attn-hint.hint-approve,
.attn-card .attn-hint.hint-restore,
.attn-card .attn-hint.hint-retry {
  color: var(--danger, #8e2626);
  background: var(--danger-bg, #fad6d6);
}

.attn-card .attn-when {
  font-size: 12.5px;
  color: var(--text-400);
  white-space: nowrap;
}
