main { max-width: 1320px; }
.pcm-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.pcm-nav {
  display: grid;
  gap: 4px;
  position: sticky;
  top: 16px;
  padding: 8px;
  border: 1px solid #304050;
  border-radius: 12px;
  background: #141c25;
}
.pcm-nav :is(a, button) {
  margin: 0;
  padding: 9px 12px;
  text-align: start;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  text-decoration: none;
}
.pcm-nav button[aria-current] {
  background: #16303e;
  border-color: #407181;
}
.pcm-content > section:first-child,
.pcm-content #projects > section:first-child { margin-block-start: 0; }
.account-list { list-style: none; padding: 0; margin: 0; }
.account-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) auto;
  align-items: start;
  gap: 8px 16px;
  padding: 8px 0;
  border-top: 1px solid #304050;
  overflow-wrap: anywhere;
}
.account-list li > span { padding-block-start: 6px; }
.account-identity { display: grid; gap: 3px; }
.account-identity small, .account-identity details { color: #a8bccd; }
.account-identity details { margin: 0; font-size: .875rem; }
.account-list li > button { margin: 0; white-space: nowrap; }
.role-editor { margin-top: 16px; border-top: 1px solid #304050; padding-top: 8px; }
.role-actions { display: flex; gap: 8px; }
@media (max-width: 680px) {
  .pcm-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pcm-nav { position: static; display: flex; flex-wrap: wrap; }
  .account-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .account-list li > span { grid-row: 2; padding: 0; }
  .account-list li > button { grid-column: 2; grid-row: 1 / span 2; }
}

@media (min-width: 900px) {
  .project-attributes, .task-attributes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin-block: 12px;
  }
  .project-attributes p, .task-attributes p { margin: 0; }
}

.project-card {
  background: #102132;
  border-color: #486783;
}
.project-card h3 { color: #f3f8fc; }
.project-attributes, .task-attributes {
  color: #d9e7f3;
  overflow-wrap: anywhere;
}
.project-tasks > summary {
  padding: 10px 12px;
  border-radius: 6px;
  background: #204558;
  color: #f1fbff;
  font-weight: 650;
}
.task-card {
  background: #172c40;
  border-color: #4b708d;
  border-inline-start: 3px solid #67b7c9;
}
.task-card :is(h3, h4) { margin: 0 0 8px; color: #f3f8fc; }
.task-status {
  display: inline-block;
  border-radius: 5px;
  padding: 3px 8px;
  background: #304b64;
  color: #f1f7ff;
  font-size: .875rem;
  font-weight: 600;
}
.task-status[data-state="complete"] { background: #1c493c; color: #c8f7dc; }
.task-status[data-state="review"] { background: #57411b; color: #ffe1a3; }
.task-updates {
  padding: 12px;
  border: 1px solid #587086;
  border-radius: 8px;
  background: #0f1f30;
  margin-block: 12px;
}
.task-updates :is(summary, h5) {
  margin: 0;
  color: #bdebf4;
  font-size: .9375rem;
  font-weight: 650;
}
.task-update { border-top: 1px solid #39546b; margin-top: 8px; padding-top: 8px; }
.task-update p { margin: 0; white-space: pre-wrap; }
.task-update .task-update-byline { color: #bed3e4; font-size: .875rem; margin-bottom: 4px; }

.task-view-controls { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-block: 8px; }
.task-view-controls button { background: #1c3a4e; }
.task-view-controls button[aria-pressed="true"] { background: #176672; border-color: #8ad9e4; }
.task-view-controls button:disabled { opacity: .48; cursor: default; }
.task-card[draggable="true"] h4 { cursor: grab; }
.task-list-row, .gantt-row { display: grid; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #4d647a; }
.task-list-row { grid-template-columns: minmax(0,2fr) repeat(4,minmax(0,1fr)); overflow-wrap: anywhere; }
.task-list-row button { text-align: left; }
.gantt { overflow-x: auto; margin-block: 12px; }
.gantt-dates { color: #bdebf4; font-weight: 650; }
.gantt-row { grid-template-columns: minmax(10rem,1fr) minmax(12rem,2fr); }
.gantt-track { position: relative; min-height: 34px; background: #0a1b29; border-radius: 5px; }
.gantt-bar { position: absolute; inset-inline-start: var(--start); width: var(--width); min-width: 6px; height: 28px; overflow: hidden; white-space: nowrap; padding: 0; background: #257681; }
.gantt-bar[data-complete="true"] { background: #25604d; }
@media (max-width: 680px) {
  .task-list-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .task-list-row button { grid-column: 1 / -1; }
}

.task-completion {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  width: fit-content;
  cursor: pointer;
  font-weight: 650;
}
.task-completion input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #66c5b2;
}

.team-card {
  background: #102132;
  border: 1px solid #486783;
  border-radius: 8px;
  padding: 12px 14px;
}
.team-card > summary {
  color: #c4f2fb;
  font-weight: 650;
}
.team-card ul { padding-inline-start: 1.4em; }

.task-discussion { padding: 10px 12px; border: 1px solid #587086; border-radius: 8px; background: #0f1f30; }
.task-discussion > summary { color: #bdebf4; font-weight: 650; }

.report-feed-entry{padding:12px 0;border-top:1px solid #405365;overflow-wrap:anywhere}.report-feed-entry p{margin:.35rem 0;white-space:pre-line}
