:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #252b37;
  background: #f7f8fa;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #b5abff;
  outline-offset: 3px;
}
main { max-width: 1120px; margin: 0 auto; padding: 48px 32px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.7px; }
#project-count { padding: 4px 8px; border-radius: 6px; background: #e9ebf0; color: #6b7280; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.search { display: flex; align-items: center; gap: 10px; width: 260px; padding: 10px 12px; border: 1px solid #dce0e8; border-radius: 8px; background: white; }
.search:focus-within { border-color: #8877df; }
.search svg { flex-shrink: 0; width: 17px; height: 17px; fill: none; stroke: #7a8291; stroke-width: 1.6; stroke-linecap: round; }
.search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; font-size: 14px; color: inherit; }
.search input::placeholder { color: #858c99; }
.search kbd { color: #8c93a0; font-size: 12px; border: 1px solid #e5e7ed; border-radius: 3px; padding: 0 5px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 180px; padding: 24px; border: 1px solid #e0e4ec; border-radius: 10px; background: white; }
.card-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; width: 100%; }
.card-title-row h2 { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -.3px; overflow-wrap: anywhere; }
.status { font-size: 12px; line-height: 1.5; color: #8c651b; }
.status[data-state="unavailable"], .status[data-state="stale"] { color: #a35035; }
.card-description { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: #6a7281; overflow-wrap: anywhere; }
.open-project { display: inline-flex; align-items: center; justify-content: center; margin-top: auto; padding: 9px 15px; border: 1px solid #ddd8f4; border-radius: 6px; background: #f3f0ff; color: #5844bd; text-decoration: none; font-size: 13px; font-weight: 600; }
.open-project:hover { background: #eae4ff; }
.open-project[aria-disabled="true"] { color: #868c96; background: #f4f5f7; border-color: #e5e7ec; pointer-events: none; }
.loading { margin: 0; color: #6a7281; font-size: 14px; }
.empty-state { padding: 40px 0; text-align: center; font-size: 14px; color: #6a7281; }
.empty-state p { margin: 0 0 14px; }
.empty-state button { border: 0; padding: 6px; background: transparent; color: #5844bd; cursor: pointer; }
.announcement { margin-bottom: 20px; padding: 12px 16px; border: 1px solid #edddc1; border-radius: 8px; background: #fff8e8; color: #8a5d2c; font-size: 14px; line-height: 1.5; }
@media (max-width: 960px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  main { padding: 28px 20px; }
  .toolbar { align-items: stretch; flex-direction: column; gap: 20px; margin-bottom: 20px; }
  h1 { font-size: 26px; }
  .search { width: 100%; }
  .search kbd { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { padding: 22px; }
}
