:root {
  --ps-teal: #008080;
  --ps-teal-soft: #e0f3f3;
  --ps-text: #222222;
  --ps-muted: #666666;
  --ps-border: #dddddd;
  --ps-bg: #fafafa;
  --ps-card: #ffffff;
  --ps-tick: #1b9e4b;
  --ps-pending: #bbbbbb;
  --radius-lg: 16px;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ps-text);
  background: radial-gradient(circle at top left, #fdfefe, var(--ps-bg));
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--ps-border);
  background: #ffffffd9;
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-wrap {
  flex-shrink: 0;
}

.logo {
  display: block;
  max-height: 60px;
  height: auto;
}

.header-text h1 {
  margin: 0;
  font-size: 1.6rem;
}

.subtitle {
  margin: 0.25rem 0 0;
  color: var(--ps-muted);
  font-size: 0.95rem;
}

/* Layout */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 2.5rem;
}

@media (max-width: 800px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Panels */

.projects-panel,
.details-panel {
  background: var(--ps-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--ps-border);
  padding: 1rem 1.25rem 1.25rem;
}

.panel-heading {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

/* Project list */

.project-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-list-item {
  width: 100%;
  text-align: left;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 2rem;      /* was 0.55rem 0.85rem */
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.06s ease;
  font: inherit;
}


.project-list-item:hover {
  background: var(--ps-teal-soft);
  border-color: var(--ps-teal);
  transform: translateY(-1px);
}

.project-list-item.active {
  background: var(--ps-teal);
  border-color: var(--ps-teal);
  color: #ffffff;
}

.project-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.project-author {
  font-size: 0.85rem;
  color: inherit;
  opacity: 0.8;
}

/* Details */

.project-details {
  min-height: 140px;
}

.project-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.project-header .project-author-line {
  margin: 0.35rem 0 0;
  color: var(--ps-muted);
  font-size: 0.9rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 0.9rem 0 1.1rem;
  font-size: 0.9rem;
}

.meta-label {
  font-weight: 600;
  margin-right: 0.25rem;
}

.meta-value {
  color: var(--ps-muted);
}

/* Tasks */

.task-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.task-item {
  display: flex;
  align-items: center;      /* was 'centre' – invalid, so now it actually centres */
  gap: 0.65rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #eeeeee;
}

.task-item:last-child {
  border-bottom: none;
}

.task-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;              /* bigger circle */
  height: 2rem;
  border-radius: 999px;
  font-size: 1.2rem;        /* bigger icon */
  line-height: 1;           /* stops vertical drift */
  flex-shrink: 0;
  font-weight: 600;
}

.task-status.done {
  background: #1b9e4b;
  color: #ffffff;           /* white tick on green */
  box-shadow: 0 0 0 2px #e5f7eb;
}

.task-status.pending {
  background: #f8f8f8;
  color: var(--ps-pending);
  border: 2px solid #e0e0e0; /* softer “empty” circle */
}

.task-status.in-progress {
  background: #fff5d6;
  color: #c27a00;
  border: 2px solid #f2c76b;
}

/* optional little badge next to in-progress tasks */
.task-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.4rem;
}

.task-badge-in-progress {
  background: #fff5d6;
  color: #9c6400;
}

.task-label {
  font-size: 0.95rem;
}

.muted {
  color: var(--ps-muted);
}

/* Footer */

.site-footer {
  padding: 0.75rem 1.5rem 1.5rem;
  font-size: 0.8rem;
  color: var(--ps-muted);
  text-align: right;
  border-top: 1px solid #0000;
}

