/* ─────────────────────────────────────────────────────────────────────────────
   screen-projects.css — Projects Screen Styles
───────────────────────────────────────────────────────────────────────────── */

#screen-projects { background: var(--scaffold); }

#screen-projects .body-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* ── Projects Grid ────────────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

/* ── Project Card ─────────────────────────────────────────────────────────────── */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.project-card:hover { border-color: rgba(45,106,79,.25); box-shadow: var(--shadow-md); }

.proj-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600;
  flex-shrink: 0;
}

.proj-info     { flex: 1; min-width: 0; }
.proj-info h3  { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-info p   { font-size: 12px; color: var(--text-mid); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj-actions  { display: flex; gap: 4px; flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  #screen-projects .body-wrap { padding: 16px; }
  .projects-grid              { grid-template-columns: 1fr; }
}
