:root {
  --ink: #01203a;
  --muted: #5d6f7e;
  --green: #01203a;
  --lime: #98bf0e;
  --border: #dfe5e9;
  --white: #fff;
  --sidebar: #fff;
  color: #01203a;
  background: #f5f7f8;
  font-family:
    "Avenir Next",
    Futura,
    "Century Gothic",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
body {
  color: var(--ink);
  font-size: 14px;
}
.workspace {
  grid-template-columns: 240px minmax(0, 1fr);
}
.sidebar {
  width: 240px;
  background: white;
  color: var(--ink);
  padding: 26px 16px 12px;
  border-right: 1px solid var(--border);
  overflow-y: auto;
}
.brand {
  padding: 2px 8px 28px;
  display: block;
}
.brand img {
  width: 100%;
  height: auto;
  display: block;
}
.login-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 0 32px;
}
.nav-label {
  color: #70808b;
  font-size: 10px;
  margin: 12px 0;
  letter-spacing: 1.4px;
}
.nav-item {
  font-size: 13px;
  color: #405666;
  padding: 11px 12px;
  gap: 11px;
  border-radius: 5px;
}
.nav-item:hover {
  background: #f1f5e6;
  color: var(--ink);
}
.nav-item.active {
  background: #eff5db;
  color: var(--ink);
  box-shadow: inset 3px 0 var(--lime);
}
.nav-count {
  background: #edf2f4;
  color: #41586a;
}
.nav-item.active .nav-count {
  background: white;
  color: var(--ink);
}
.project-dot {
  background: #98bf0e !important;
  width: 6px;
  height: 6px;
}
.sidebar-footer {
  margin-top: auto;
}
.nav-divider {
  background: var(--border);
  height: 1px;
  margin: 16px 0;
}
.project-nav {
  margin-top: 0;
}
.ellipsis {
  max-width: 175px;
}
.topbar {
  border-top: 4px solid var(--lime);
  background: white;
  height: 72px;
  padding: 0 32px;
}
.breadcrumb,
.breadcrumb strong {
  color: var(--ink);
  font-size: 12px;
}
.breadcrumb > span {
  color: var(--muted);
}
.user-control select {
  color: var(--ink);
  font-size: 12px;
}
.today {
  color: var(--muted);
  font-size: 12px;
}
.content {
  max-width: 1550px;
  padding: 30px 32px 40px;
}
.warning-banner {
  font-size: 10px;
  text-align: left;
  padding: 5px 32px;
  background: #f1f5e6;
  color: #617032;
  border-color: #e2e9cd;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-family: Futura, "Avenir Next", "Century Gothic", sans-serif;
}
.page-title-row {
  margin-bottom: 26px;
  align-items: center;
}
.page-title-row h1 {
  font-size: 30px;
  letter-spacing: -0.7px;
  font-weight: 600;
}
.eyebrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.detail-meta {
  color: var(--muted);
  font-size: 12px;
}
.detail-tabs {
  gap: 25px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}
.detail-tab {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}
.detail-tab.active {
  color: var(--ink);
  border-color: var(--lime);
}
.btn {
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 14px;
  border: 1px solid #d6dfe5;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  gap: 7px;
}
.btn:hover {
  background: #f1f5e6;
  border-color: #a5bc58;
}
.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #143b57;
  color: white;
  border-color: #143b57;
}
.btn svg {
  height: 16px;
  width: 16px;
}
.btn-text {
  font-size: 12px;
  color: var(--ink);
  gap: 6px;
}
.btn-text:hover {
  text-decoration: underline;
}
.icon-button {
  color: #4b6272;
  border-radius: 5px;
  min-width: 32px;
  min-height: 32px;
}
.icon-button:hover {
  background: #eff4e2;
  color: var(--ink);
}
button:focus-visible,
a:focus-visible {
  outline-color: #6c8a00;
}
.more-button {
  color: #405767;
}
.stats {
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  min-height: 118px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}
.stat-top {
  font-size: 12px;
  color: var(--muted);
}
.stat-top svg {
  width: 18px;
  height: 18px;
  color: #6f8c15;
}
.stat-number {
  font-size: 34px;
  margin-top: 14px;
  color: var(--ink);
}
.panel,
.section-card,
.collection-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: none;
}
.panel-heading {
  padding: 18px 20px;
}
.panel-heading h2,
.section-card h3 {
  font-size: 15px;
  color: var(--ink);
}
.count-chip {
  background: #eff4e2;
  color: #4e6615;
  font-size: 10px;
  border: 0;
}
.toolbar {
  padding: 12px 20px;
  gap: 12px;
  align-items: center;
}
.toolbar-left {
  flex: 1 0 320px;
}
.filter-pill {
  font-size: 11px;
  color: var(--muted);
  padding: 7px 9px;
}
.filter-pill.active {
  background: #eff4e2;
  color: var(--ink);
}
.filter-select {
  font-size: 11px;
  color: var(--ink);
  padding: 7px 9px;
  border-color: var(--border);
  background: white;
}
.search {
  border-color: var(--border);
  color: var(--muted);
  max-width: none;
  background: white;
}
.search input {
  font-size: 12px;
  color: var(--ink);
  width: 170px;
}
.search input::placeholder {
  color: #6d7d89;
}
table {
  font-size: 12px;
  min-width: 820px;
}
th {
  font-size: 10px;
  color: #556a79;
  background: #f6f8fa;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
td {
  color: var(--ink);
  padding: 18px;
}
.project-name {
  color: var(--ink);
  font-size: 13px;
}
.project-desc,
.date,
.progress-top span,
.test-summary {
  color: var(--muted);
  font-size: 11px;
}
.project-row:hover {
  background: #f6f9ef;
}
.project-icon {
  color: #658600;
  background: #f0f5e2;
}
.progress-top strong {
  color: var(--ink);
}
.progress {
  background: #edf1f3;
}
.progress i {
  background: var(--lime);
}
.panel-footer {
  color: #6a7b87;
  font-size: 10px;
}
.owner {
  font-size: 11px;
  color: var(--ink);
}
.avatar {
  font-family: inherit;
  color: #304357;
  background: #e8edf1;
}
.avatar.jeroen {
  background: #edf4d9;
  color: #4a6200;
}
.avatar.maikel {
  background: #e3eff6;
  color: #1a526f;
}
.avatar.michael {
  background: #eee7f5;
  color: #624388;
}
.status {
  font-size: 10px;
  padding: 4px 7px;
  color: #47640b;
  background: #edf4d8;
}
.board {
  gap: 14px;
}
.board-column {
  background: #edf1f4;
  border: 1px solid #e1e7ec;
  border-radius: 6px;
  padding: 12px;
  min-height: 280px;
}
.board-heading {
  font-size: 12px;
  color: var(--ink);
  margin: 2px 1px 14px;
}
.todo-card {
  background: white;
  border: 1px solid #dce4ea;
  border-radius: 5px;
  padding: 15px;
  box-shadow: none;
}
.todo-card h3 {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 9px;
}
.todo-card select {
  font-size: 11px;
  width: 105px;
  color: #40596a;
  background: #edf2f5;
  padding: 5px;
}
.task-due,
.task-project {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 9px;
}
.task-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 9px 0;
}
.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dfe7cd;
  background: #f6f9ef;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 10px;
  max-width: 100%;
  color: #435c25;
  text-align: left;
  overflow-wrap: anywhere;
}
.source-chip svg {
  width: 12px;
  height: 12px;
}
.task-test-action {
  border-top: 1px solid #e6ebee;
  margin-top: 12px;
  padding-top: 10px;
}
.task-test-action .btn-text {
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
.task-test-action svg {
  height: 14px;
  width: 14px;
}
.todo-card-footer {
  gap: 5px;
}
.muted {
  font-size: 12px;
  color: var(--muted);
}
.body-text,
.record-card p,
.collection-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.record-card h3,
.collection-card h2 {
  color: var(--ink);
  font-size: 15px;
}
.record-card-meta > span,
.spec-help {
  color: var(--muted);
  font-size: 11px;
}
.criteria {
  background: #f6f9ef;
}
.criteria li {
  color: #415b31;
  font-size: 12px;
}
.criteria li:before {
  color: #6d8f0f;
}
.section-card {
  padding: 22px;
}
.detail-rows {
  font-size: 12px;
}
.detail-rows strong {
  color: var(--ink);
}
.detail-rows span {
  color: var(--muted);
}
.environment-head {
  font-size: 12px;
  color: var(--ink);
}
.environment a {
  color: #295d80;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.readiness {
  font-size: 12px;
  color: var(--muted);
}
.readiness strong {
  color: var(--ink);
}
.mini-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mini-metrics strong {
  color: var(--ink);
  font-size: 24px;
}
.mini-metrics span {
  color: var(--muted);
  font-size: 11px;
}
.detail-section-header h2 {
  font-size: 18px;
}
.record-marker {
  color: #6e8b16;
  background: #f0f5e2;
}
.back-link {
  color: var(--muted);
  font-size: 11px;
}
.collection-card .card-footer {
  font-size: 11px;
  color: var(--muted);
}
.test-table {
  min-width: 950px;
}
.test-title {
  color: var(--ink);
  font-size: 13px;
}
.test-sub,
.steps-mini,
.run-result {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
}
.run-result a {
  overflow-wrap: anywhere;
  color: #215a7f;
}
.test-freshness {
  color: #8c651e;
  font-size: 10px;
}
.run-history summary {
  font-size: 11px;
  color: #496375;
}
.run-history-item {
  color: var(--muted);
  font-size: 11px;
}
.callout {
  font-size: 12px;
  border-radius: 5px;
}
.attention-copy {
  color: var(--ink);
}
.attention-copy strong {
  font-size: 12px;
  color: var(--ink);
}
.attention-copy p {
  color: var(--muted);
  font-size: 11px;
}
.activity-copy {
  font-size: 12px;
  color: #546b7b;
}
.activity-copy strong {
  color: var(--ink);
}
.activity-time {
  font-size: 10px;
  color: #72818c;
}
.attention-icon {
  background: #f0f5e1;
  color: #6a8616;
}
.empty h3 {
  font-size: 15px;
  color: var(--muted);
}
.source-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px;
}
.source-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.source-head h2 {
  font-size: 17px;
  margin: 0 0 8px;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.source-meta .btn-text {
  font-size: 12px;
}
.source-content {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink);
}
.source-content summary {
  cursor: pointer;
  color: #516b7b;
  font-size: 12px;
}
.source-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
  margin-top: 15px;
  color: #324f62;
}
.source-reference {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.source-content h3 {
  font-size: 13px;
  margin: 18px 0 6px;
}
.source-tasks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.linked-task {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid #dee7cb;
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
  background: #f6f9ef;
  text-align: left;
}
.linked-task svg {
  width: 14px;
  height: 14px;
}
.source-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid #e6ebee;
}
.source-actions > span {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
.log-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: -8px 0 20px;
}
.log-tools .search {
  max-width: 360px;
  flex: 1;
}
.log-tools input {
  width: 100%;
}
.source-checks {
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 5px;
  gap: 8px;
}
.source-checks legend {
  font-size: 12px;
  padding: 0 6px;
  color: var(--ink);
}
.source-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #40596b;
}
.source-checks input {
  width: 15px;
  height: 15px;
  accent-color: #759500;
}
dialog {
  color: var(--ink);
  border-color: #d6dfe5;
  border-radius: 8px;
}
dialog::backdrop {
  background: #01203a88;
  backdrop-filter: none;
}
.dialog-heading h2 {
  font-size: 21px;
  color: var(--ink);
}
.dialog-heading p {
  color: var(--muted);
}
.form-field label {
  font-size: 12px;
  color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  font-size: 13px;
  color: var(--ink);
  border-color: #d6dfe5;
  background: white;
  padding: 10px 12px;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline-color: #98bf0e;
}
.form-field textarea {
  min-height: 125px;
  line-height: 1.65;
}
.form-field label span {
  color: #72818a;
}
.dialog-actions {
  background: #f7f9fa;
}
.env-form {
  background: #f7f9fa;
  border-color: var(--border);
}
.env-form-head,
.section-label,
.checkbox-field {
  color: #456071;
  font-size: 12px;
}
.danger-link {
  color: #9e4139;
  font-size: 11px;
}
.login {
  background: #f3f6f8;
  border-top: 6px solid var(--lime);
}
.login-card {
  border-radius: 7px;
  border-color: var(--border);
  max-width: 420px;
  padding: 36px;
}
.login-card h1 {
  font-family: Futura, "Avenir Next", sans-serif;
  font-size: 25px;
  color: var(--ink);
  margin: 0 0 26px;
}
.login-card .btn {
  margin-top: 22px;
}
.code-block {
  font-size: 12px;
  color: var(--ink);
  background: #f5f7f9;
  border-color: var(--border);
}
#toast {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  font-size: 12px;
}
.plan-target {
  font-size: 12px;
  color: #40596b;
}
.plan-target h3 {
  color: var(--ink);
}
.plan-title {
  color: var(--ink);
}
.token-state {
  color: var(--muted);
}
@media (max-width: 1200px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbar > .actions {
    flex-wrap: wrap;
  }
  .toolbar .search {
    max-width: 100%;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 750px) {
  .workspace {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 260px;
  }
  .workspace.menu-open .sidebar {
    transform: translateX(0);
  }
  .main-column {
    display: block;
  }
  .mobile-menu {
    display: inline-flex;
    border: 0;
    background: none;
    padding: 0;
    color: var(--ink);
  }
  .topbar {
    padding: 0 18px;
    height: 64px;
  }
  .topbar .today {
    display: none;
  }
  .content {
    padding: 24px 18px;
  }
  .warning-banner {
    padding: 5px 18px;
  }
  .page-title-row h1 {
    font-size: 26px;
  }
  .page-title-row > .btn {
    font-size: 11px;
    padding: 9px 12px;
  }
  .stats {
    gap: 10px;
  }
  .stat-card {
    padding: 16px;
    min-height: 105px;
  }
  .stat-number {
    font-size: 30px;
  }
  .stat-top {
    font-size: 11px;
  }
  .toolbar-left {
    flex: 1 1 100%;
    width: 100%;
  }
  .toolbar > .actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .toolbar .filter-select {
    flex: 1;
    max-width: none;
  }
  .toolbar .search {
    width: 100%;
    flex: 1 1 100%;
    max-width: none;
  }
  .toolbar .search input {
    width: 100%;
  }
  .board {
    grid-template-columns: 1fr;
  }
  .todo-card {
    padding: 17px;
  }
  .todo-card h3 {
    font-size: 14px;
  }
  .todo-card select {
    font-size: 12px;
    width: 120px;
  }
  .board-column {
    min-height: 80px;
    padding: 12px;
  }
  .detail-tabs {
    gap: 22px;
  }
  .detail-tab {
    font-size: 12px;
  }
  .detail-meta {
    margin-top: 0 !important;
    gap: 10px;
  }
  .detail-section-header {
    align-items: center;
  }
  .detail-section-header .actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .collection-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .source-card {
    padding: 18px;
  }
  .source-head h2 {
    font-size: 15px;
  }
  .source-meta {
    font-size: 11px;
    gap: 6px 12px;
  }
  .source-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  .source-actions .btn-text {
    font-size: 11px;
  }
  .linked-task {
    flex-wrap: wrap;
    font-size: 12px;
  }
  .source-tasks {
    flex-direction: column;
    align-items: flex-start;
  }
  .source-actions > span {
    font-size: 10px;
  }
  .record-card {
    padding: 18px;
  }
  .record-card .actions {
    gap: 8px;
  }
  .record-card p {
    font-size: 12px;
  }
  .page-title-row .actions {
    align-items: flex-end;
  }
  .page-title-row .actions .btn {
    font-size: 11px;
    padding: 8px 10px;
  }
  .source-content {
    font-size: 12px;
  }
  .test-table,
  .test-table tbody {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .test-table thead {
    display: none;
  }
  .test-table tr {
    display: block;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .test-table td {
    display: block;
    width: 100%;
    max-width: none;
    padding: 9px 18px;
    border: 0;
  }
  .test-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #72818b;
    margin-bottom: 5px;
  }
  .test-table .test-title {
    font-size: 14px;
  }
  .test-table .steps-mini {
    font-size: 12px;
  }
  .test-table .test-sub,
  .test-table .run-result {
    max-width: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .source-checks {
    grid-column: 1;
  }
  .section-card .mini-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .login-card {
    padding: 28px;
  }
  .stat-number span {
    color: var(--muted) !important;
  }
}

.project-nav-item.selected-project {
  color: var(--ink);
  font-weight: 600;
  background: #f6f8f1;
}
.project-subnav {
  display: flex;
  flex-direction: column;
  margin: 2px 0 12px 15px;
  padding: 0 0 0 14px;
  border-left: 1px solid #dce6c5;
}
.project-section {
  display: block;
  border: 0;
  background: transparent;
  text-align: left;
  color: #5b707f;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 4px;
}
.project-section:hover {
  color: var(--ink);
  background: #f4f7eb;
}
.project-section.active {
  color: var(--ink);
  background: #edf4d9;
  font-weight: 600;
}

.project-schedule {
  margin: 0 0 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 20px;
}
.project-schedule dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1.5fr;
  gap: 18px;
}
.project-schedule dl > div {
  min-width: 0;
}
.project-schedule dt {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 7px;
}
.project-schedule dd {
  margin: 0;
  font-size: 12px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.project-schedule a {
  color: #215a7f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1050px) {
  .project-schedule dl {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 550px) {
  .project-schedule {
    padding: 16px;
  }
  .project-schedule dl {
    gap: 18px 12px;
  }
  .project-schedule dl > div:nth-child(n + 3) {
    grid-column: 1/-1;
  }
}
.test-progress {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 18px;
}
.test-progress strong {
  color: var(--ink);
  font-size: 18px;
  margin-right: 5px;
}
.test-group {
  margin-bottom: 24px;
}
.test-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.test-empty {
  padding: 24px;
  color: var(--muted);
  font-size: 12px;
}
.library-selection {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.library-selection-head,
.library-choice {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 65px;
  gap: 10px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.library-selection-head {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}
.library-choice > input {
  width: 17px;
  height: 17px;
  accent-color: #759500;
}
.library-choice summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.library-choice details {
  min-width: 0;
}
.library-choice p,
.library-choice li {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.library-choice ol {
  padding-left: 18px;
}
.record-card .steps-mini {
  margin-bottom: 15px;
}
.form-field input:disabled,
.form-field textarea:disabled {
  background: #f5f7f9;
  color: #617483;
}
.overview-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.task-table-group {
  margin: 0 0 30px;
  min-width: 0;
}
.task-group-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--group-color);
}
.task-group-heading h3 {
  font-family: inherit;
  color: inherit;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.task-group-heading .count-chip {
  background: #edf2f8;
  color: #5c7083;
}
.task-group-heading .icon-button {
  margin-left: auto;
}
.group-collapse {
  background: none;
  border: 0;
  color: inherit;
  padding: 3px;
  display: grid;
  place-items: center;
}
.group-collapse svg {
  width: 17px;
  height: 17px;
}
.group-collapse[aria-expanded="true"] svg {
  transform: rotate(90deg);
}
.task-table-group > .table-wrap {
  background: white;
  border: 1px solid #d4dfe8;
  border-left: 5px solid var(--group-color);
  border-radius: 5px;
  overflow: auto;
}
.task-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  table-layout: fixed;
}
.task-table th {
  background: white;
  color: #5c6d7a;
  font-weight: 500;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 12px;
  text-align: left;
  border-right: 1px solid #dfe6ed;
  border-bottom: 1px solid #d4dfe8;
}
.task-table th:nth-child(1) {
  width: 25%;
}
.task-table th:nth-child(2) {
  width: 23%;
}
.task-table th:nth-child(3) {
  width: 12%;
}
.task-table th:nth-child(4) {
  width: 11%;
}
.task-table th:nth-child(5) {
  width: 20%;
}
.task-table th:nth-child(6) {
  width: 9%;
}
.task-table td {
  padding: 0;
  border-right: 1px solid #e0e6ec;
  border-bottom: 1px solid #e0e6ec;
  vertical-align: middle;
  height: 46px;
  background: white;
}
.task-table tr:hover td {
  background: #f8fafc;
}
.task-table .task-name-cell {
  padding: 9px 13px;
}
.task-name {
  border: 0;
  background: none;
  text-align: left;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  padding: 0;
  font-weight: 500;
  width: 100%;
}
.task-name:hover {
  text-decoration: underline;
}
.task-description {
  border: 0;
  background: none;
  text-align: left;
  width: 100%;
  font-size: 11px;
  color: #6a7d8c;
  line-height: 1.6;
  padding: 9px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.task-owner,
.task-priority,
.task-status {
  border: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
  min-height: 46px;
  appearance: auto;
  padding: 10px 9px;
  font-size: 11px;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
}
.task-owner {
  font-size: 11px;
  background: white;
}
.task-priority,
.task-status {
  text-align: center;
  font-weight: 500;
}
.task-table option {
  background: white;
  color: var(--ink);
}
.task-table .row-actions {
  padding: 3px;
  gap: 0;
  justify-content: center;
}
.task-table .row-actions .icon-button {
  min-width: 28px;
  min-height: 30px;
  width: 28px;
}
.task-table .task-sources {
  margin: 5px 0 0;
}
.task-table .source-chip {
  font-size: 9px;
}
.task-table .add-task-row td {
  height: 38px;
  background: #fbfcfd;
}
.add-task-row .btn-text {
  font-size: 11px;
  margin-left: 13px;
  padding: 8px 0;
  color: #637b8b;
}
.task-table td:last-child,
.task-table th:last-child {
  border-right: 0;
}
.task-table .add-task-row td {
  border-bottom: 0;
}
.task-table select:focus-visible {
  outline: 2px solid #98bf0e;
  outline-offset: -2px;
}
@media (max-width: 750px) {
  .overview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .overview-stats .stat-top {
    font-size: 10px;
  }
  .overview-stats .stat-top svg {
    display: none;
  }
  .overview-stats .stat-number {
    font-size: 28px;
  }
  .overview-stats .stat-card {
    padding: 13px 10px;
  }
  .task-table {
    min-width: 900px;
  }
  .task-group-heading h3 {
    font-size: 16px;
  }
  .task-table th:first-child,
  .task-table .task-name-cell {
    position: sticky;
    left: 0;
    z-index: 1;
    background: white;
    box-shadow: 2px 0 4px #01203a08;
  }
  .task-table th:first-child {
    z-index: 2;
  }
  .task-table tr:hover .task-name-cell {
    background: #f8fafc;
  }
  .task-table .task-name {
    font-size: 12px;
  }
}

.project-pillars {
  gap: 0;
  align-items: stretch;
}
.project-pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid var(--border);
}
.project-pillar:first-child {
  padding-left: 0;
}
.project-pillar:last-child {
  padding-right: 0;
  border-right: 0;
}
.pillar-name {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: #607581;
}
.pillar-links {
  display: flex;
  gap: 18px;
}
.project-pillars .detail-tab {
  padding-bottom: 13px;
}
.target-group-label {
  font-size: 10px;
  font-weight: 500;
  color: #607581;
  border: 1px solid #d9e1e6;
  border-radius: 4px;
  padding: 3px 6px;
}
@media (max-width: 750px) {
  .project-pillar {
    flex: 0 0 auto;
    padding: 0 16px;
  }
  .pillar-links {
    gap: 16px;
  }
  .project-pillars .detail-tab {
    font-size: 12px;
  }
}
@media (max-width: 550px) {
  .project-pillars {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    overflow: visible;
    white-space: normal;
    border-bottom: 0;
  }
  .project-pillar,
  .project-pillar:first-child,
  .project-pillar:last-child {
    padding: 0;
    border: 0;
    gap: 7px;
  }
  .pillar-links {
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }
  .project-pillars .detail-tab {
    padding-bottom: 8px;
  }
}

.task-count {
  font-size: 11px;
  border-radius: 4px;
  padding: 5px 8px;
  background: #edf1f4;
  color: #3b5362;
  display: inline-flex;
  gap: 7px;
}
.target-task-summary {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
.hide-completed {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.hide-completed input {
  accent-color: #759500;
}
.order-controls {
  display: inline-flex;
  flex-shrink: 0;
}
.order-controls .icon-button {
  width: 26px;
  min-width: 26px;
  height: 29px;
  min-height: 29px;
  font-size: 16px;
}
.task-name-cell .order-controls {
  float: right;
  margin-left: 5px;
}
.task-group-heading h3 {
  overflow-wrap: anywhere;
}
.task-group-heading > .icon-button {
  margin-left: auto;
}
.task-file-editor {
  padding: 0 26px 24px;
}
.task-file-editor > label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.task-file-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}
.attachment-link {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe3e9;
  background: #f7f9fa;
  padding: 9px 12px;
  color: var(--ink);
  border-radius: 5px;
  text-align: left;
  overflow-wrap: anywhere;
}
.attachment-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.attachment-link span,
.file-limit {
  font-size: 11px;
  color: var(--muted);
}
.file-limit {
  display: block;
  margin-top: 7px;
}
.task-file-editor input {
  font-size: 12px;
  width: 100%;
}
.test-votes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.test-votes span {
  padding: 3px 6px;
  border-radius: 4px;
  background: #edf1f4;
}
.session-list {
  display: grid;
  gap: 12px;
}
.session-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  text-align: left;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.session-card:hover {
  border-color: #98bf0e;
}
.session-title {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
}
.session-counts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}
.session-card .session-counts {
  flex-basis: 100%;
  margin: 0;
}
.session-counts span {
  background: #edf1f4;
  padding: 6px 10px;
  border-radius: 4px;
}
.run-checklist {
  display: grid;
  gap: 18px;
}
.run-check {
  padding: 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.run-check-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.run-check h3 {
  font-size: 16px;
  margin: 0;
  font-family: inherit;
}
.run-check ol {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #4b6372;
}
.run-expected {
  border-left: 3px solid #98bf0e;
  padding: 8px 12px;
  margin: 14px 0;
  background: #f7f9f2;
  font-size: 13px;
}
.run-expected p {
  margin: 6px 0 0;
  line-height: 1.7;
}
.run-note-label {
  display: block;
  font-size: 12px;
  margin: 16px 0 7px;
  color: var(--muted);
}
.run-check textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #d8e1e8;
  border-radius: 4px;
  padding: 10px;
  font: inherit;
  font-size: 13px;
}
.run-result-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.recorded-observation {
  font-size: 13px;
  line-height: 1.7;
  padding: 12px;
  border: 1px solid #e1e7eb;
  border-radius: 5px;
  white-space: pre-wrap;
}
.run-heading h2 {
  font-size: 18px;
}
.run-heading {
  flex-wrap: wrap;
}
@media (max-width: 750px) {
  .detail-section-header .actions {
    flex-wrap: wrap;
  }
  .run-check {
    padding: 17px;
  }
  .session-title {
    flex-basis: 100%;
  }
  .task-group-heading {
    flex-wrap: wrap;
  }
  .task-group-heading h3 {
    font-size: 15px;
  }
  .task-file-editor {
    padding: 0 20px 20px;
  }
}
.attachment-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.attachment-row .attachment-link {
  flex: 1;
  min-width: 0;
}
.order-controls .icon-button:disabled {
  opacity: 0.3;
  cursor: default;
}
a.nav-item {
  text-decoration: none;
}
.ai-example {
  font-size: 13px;
  line-height: 1.7;
  color: #486273;
  margin: 14px 0 18px;
}
.contact-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.source-checks .contact-search-label {
  font-size: 11px;
  color: var(--muted);
  margin: 14px 0 6px;
  display: block;
}
.contact-search {
  width: 100%;
  font: inherit;
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid #d6e0e7;
  border-radius: 5px;
  background: white;
  color: var(--ink);
}
.project-contact-list {
  display: grid;
  gap: 15px;
}
.project-contact-list article {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
}
.project-contact-list article span,
.project-contact-list article a {
  font-size: 12px;
  color: var(--muted);
}
.company-contact-table {
  min-width: 650px;
}
.company-contact-table a {
  color: #215a7f;
}
.content-status-counts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.content-state {
  border-radius: 5px;
  border: 0;
  padding: 7px 10px;
  font-size: 12px;
  display: inline-flex;
  gap: 12px;
  background: #edf1f5;
  color: #607384;
}
.content-location {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #526c7d;
}
.content-location a {
  color: #215a7f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content-item-actions {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.content-item-actions select {
  font-family: inherit;
  cursor: pointer;
}
.content-card {
  align-items: flex-start;
}
.content-card .record-card-main {
  min-width: 0;
}
@media (max-width: 550px) {
  .pillar-links {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .content-card {
    flex-wrap: wrap;
  }
  .content-item-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .project-contact-list article {
    font-size: 12px;
  }
}
.source-checks input.contact-search {
  width: 100%;
  height: auto;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 5px;
  font: inherit;
  font-size: 13px;
}

/* Shared, quiet document layout. The task board keeps its table structure. */
.panel, .collection-card, .record-card, .session-card, .run-check, .stat-card { box-shadow: none; }
.page-title-row h1 { font-size: 30px; line-height: 1.25; }
.detail-section-header { margin: 0 0 18px; gap: 12px; }
.detail-section-header h2 { font-size: 20px; }
.project-header { margin-bottom: 20px; }
.project-header .back-link { margin-bottom: 14px; font-size: 12px; }
.project-title-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.project-title-line > div { min-width: 0; }
.project-title-line h1 { margin: 5px 0 0; font-size: 29px; line-height: 1.25; overflow-wrap: anywhere; }
.project-header .eyebrow { font-size: 10px; margin: 0; }
.project-context { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 12px; margin: 12px 0; }
.project-details > summary, .record-details > summary, .editor-sources > summary { cursor: pointer; color: var(--muted); font-size: 12px; padding: 5px 0; }
.project-details-body { padding: 15px 0 0; }
.project-details .project-schedule { margin: 12px 0; }
.project-details .body-text { margin: 0; font-size: 13px; }
.project-pillars { display: flex; flex-wrap: wrap; gap: 12px 0; margin-bottom: 26px; padding-bottom: 0; overflow: visible; }
.project-pillar { flex: 0 1 auto; padding: 0 15px; gap: 7px; min-width: 0; }
.project-pillar.timeline-pillar { justify-content: flex-end; padding-left: 0; }
.project-pillars .detail-tab { font-size: 12px; padding: 5px 0 10px; white-space: nowrap; }
.project-pillars .detail-tab svg { width: 14px; height: 14px; }
.pillar-links { gap: 16px; flex-wrap: wrap; }
.pillar-name { font-size: 9px; letter-spacing: .06em; }
.document-list { display: flex; flex-direction: column; gap: var(--record-list-gap); }
.document-card { min-width: 0; scroll-margin-top: 24px; }
.document-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.document-heading h3 { font-size: 16px; line-height: 1.5; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.document-heading > .icon-button { flex: 0 0 auto; }
.document-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 18px; color: var(--muted); font-size: 11px; margin: 7px 0 0; }
.document-body { font-size: 14px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0 0; max-width: 85ch; }
.email-addresses { margin: 16px 0 0; font-size: 12px; line-height: 1.7; }
.email-addresses > div { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 12px; }
.email-addresses dt { color: var(--muted); }
.email-addresses dd { margin: 0; overflow-wrap: anywhere; }
.meeting-attendance { margin-top: 14px; font-size: 12px; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; line-height: 1.7; }
.meeting-attendance svg { width: 16px; height: 16px; flex-shrink: 0; }
.meeting-decisions { font-size: 13px; line-height: 1.8; margin-top: 18px; }
.meeting-decisions h4 { margin: 0; font-size: 12px; }
.meeting-decisions ul { padding-left: 18px; margin: 7px 0 0; }
.record-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.record-sources:empty { display: none; }
a.source-chip { text-decoration: none; }
.record-source-link { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-size: 12px; color: var(--muted); }
.record-source-link svg { width: 14px; height: 14px; }
.document-card .target-task-summary { margin-top: 16px; }
.list-group-heading { font-size: 13px; font-weight: 600; margin: 22px 0 12px; }
.list-group-heading span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.simple-test-group { background: none; border: 0; box-shadow: none; }
.test-document .document-heading .actions { flex-wrap: nowrap; }
.record-details { margin-top: 12px; font-size: 13px; line-height: 1.7; }
.record-details > p { margin: 12px 0; }
.test-progress { background: none; padding: 0; margin-bottom: 22px; border: 0; font-size: 12px; }
/* One chronological stream, split around a shared central spine. */
.timeline-summary { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; color: var(--muted); margin: -5px 0 26px; }
.timeline-summary strong { color: var(--ink); font-weight: 600; }
.project-timeline { --timeline-gap: 52px; }
.timeline-lanes { display: grid; grid-template-columns: minmax(0,1fr) var(--timeline-gap) minmax(0,1fr); margin-bottom: 22px; }
.timeline-lane-heading { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.timeline-lane-heading::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8ba839; }
.timeline-lane-heading--communication { grid-column: 1; }
.timeline-lane-heading--delivery { grid-column: 3; }
.timeline-lane-heading--delivery::before { background: #68849d; }
.timeline-stream { position: relative; isolation: isolate; padding-bottom: 8px; }
.timeline-stream::before { content: ""; position: absolute; top: 12px; bottom: 0; left: calc(50% - 1px); width: 2px; background: #d7e0e5; z-index: -1; }
.timeline-date-group { margin-bottom: 25px; }
.timeline-day { position: relative; margin: 0 0 22px; text-align: center; font-size: 11px; line-height: 1.5; font-weight: 600; color: #526a79; }
.timeline-day time { display: inline-block; padding: 7px 15px; border: 1px solid #dce4e8; border-radius: 20px; background: #f5f7f8; }
.timeline-events { list-style: none; padding: 0; margin: 0; }
.timeline-event { --bubble-bg: #f3f7fb; --bubble-border: #d7e3ed; --bubble-accent: #426b8b; position: relative; display: grid; grid-template-columns: minmax(0,1fr) var(--timeline-gap) minmax(0,1fr); align-items: start; margin: 0 0 16px; }
.timeline-event--communication { --bubble-bg: #f5f8ed; --bubble-border: #d9e3bd; --bubble-accent: #617e20; }
.timeline-event--testing { --bubble-bg: #f7f5fb; --bubble-border: #e1dced; --bubble-accent: #786093; }
.timeline-icon { grid-column: 2; grid-row: 1; justify-self: center; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-top: 18px; border: 2px solid var(--bubble-border); border-radius: 50%; background: white; color: var(--bubble-accent); }
.timeline-icon svg { width: 14px; height: 14px; }
.timeline-bubble { grid-column: 3; grid-row: 1; position: relative; display: block; padding: 16px 18px; border: 1px solid var(--bubble-border); border-radius: 15px; background: var(--bubble-bg); color: var(--ink); text-decoration: none; box-shadow: 0 3px 10px #01203a04; min-width: 0; isolation: isolate; }
.timeline-event--communication .timeline-bubble { grid-column: 1; }
.timeline-bubble::before { content: ""; position: absolute; width: 12px; height: 12px; left: -7px; top: 25px; transform: rotate(45deg); background: var(--bubble-bg); border-left: 1px solid var(--bubble-border); border-bottom: 1px solid var(--bubble-border); z-index: -1; }
.timeline-event--communication .timeline-bubble::before { left: auto; right: -7px; border-left: 0; border-bottom: 0; border-top: 1px solid var(--bubble-border); border-right: 1px solid var(--bubble-border); }
a.timeline-bubble:hover { border-color: var(--bubble-accent); box-shadow: 0 4px 14px #01203a0b; }
a.timeline-bubble:focus-visible { outline: 2px solid var(--bubble-accent); outline-offset: 4px; }
.timeline-event-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; line-height: 1.5; margin-bottom: 7px; color: var(--muted); }
.timeline-event-meta > span { color: var(--bubble-accent); font-weight: 600; }
.timeline-actor time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.timeline-actor { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; font-size: 11px; color: var(--muted); }
.timeline-actor .avatar { width: 21px; height: 21px; font-size: 8px; min-width: 21px; }
.timeline-outcome { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.timeline-failures { color: #a53d4a; font-weight: 600; }
.timeline-archive-label { display: inline-block; margin-top: 8px; font-size: 10px; color: var(--muted); }
.timeline-bubble--archived { opacity: .7; }
.jump-highlight { outline: 2px solid var(--lime); outline-offset: -2px; animation: jump-fade 3s ease-out; }
@keyframes jump-fade { from { background-color: #eff5db; } to { background-color: white; } }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.drag-handle { border: 0; background: none; padding: 2px 5px; font-size: 20px; color: #80909a; cursor: grab; touch-action: none; flex-shrink: 0; border-radius: 3px; }
.drag-handle:hover, .drag-handle:focus-visible { background: #edf1f3; color: var(--ink); }
.drag-handle[aria-pressed="true"], .sorting .drag-handle { cursor: grabbing; }
.task-table .task-name-cell { position: relative; padding-left: 30px; }
.task-name-cell > .drag-handle { position: absolute; left: 3px; top: 11px; }
.dragging { opacity: .45; }
.sorting { cursor: grabbing; user-select: none; }
.drop-before { box-shadow: 0 -3px var(--lime); }
.drop-after { box-shadow: 0 3px var(--lime); }
tr.drop-before td { border-top: 3px solid var(--lime); }
tr.drop-after td { border-bottom: 3px solid var(--lime); }
.task-table .source-chip { font-size: 10px; padding: 2px 5px; }
.editor-sources { margin: 0; padding: 0; }
.editor-sources > summary { padding: 10px 0; }
.editor-sources .source-checks { margin-top: 10px; }
#field-body, #field-notes { min-height: 240px; line-height: 1.7; }
.task-file-editor { border: 1px solid var(--border); border-radius: 5px; padding: 14px; margin-top: 20px; }
.file-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; }
.task-file-editor .task-file-list:empty { display: none; }
.task-file-editor [hidden] { display: none !important; }
.upload-status { font-size: 11px; color: var(--muted); margin-top: 8px; }
.upload-status:empty { display: none; }
.attachment-link { overflow-wrap: anywhere; }
@media(max-width: 750px) {
  .project-title-line h1 { font-size: 25px; }
  .project-pillars { column-gap: 0; }
  .project-pillar { padding: 0 12px; }
  .project-pillar.timeline-pillar { flex-basis: 100%; border-right: 0; }
  .timeline-pillar .detail-tab { width: max-content; }
}
@media(max-width: 550px) {
  .project-header { margin-bottom: 16px; }
  .project-title-line { align-items: flex-start; gap: 10px; }
  .project-title-line h1 { font-size: 23px; }
  .project-title-line > .status { margin-top: 20px; font-size: 10px; white-space: nowrap; }
  .project-header .back-link { margin-bottom: 10px; }
  .project-context { gap: 5px 12px; font-size: 11px; }
  .project-pillars { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
  .project-pillar { display: grid; grid-template-columns: 82px minmax(0,1fr); align-items: baseline; gap: 8px; border: 0; padding: 0; }
  .project-pillar.timeline-pillar { display: block; flex-basis: auto; }
  .pillar-links { gap: 6px 14px; border: 0; }
  .project-pillars .detail-tab { font-size: 11px; padding: 3px 0 6px; }
  .pillar-name { font-size: 8px; letter-spacing: .04em; }
  .document-heading h3 { font-size: 15px; }
  .document-body { font-size: 13px; line-height: 1.8; }
  .document-heading { gap: 10px; }
  .email-addresses > div { grid-template-columns: 58px minmax(0,1fr); gap: 8px; }
}
.overview-attention { margin-top: 24px; }

/* Keep the bubbles readable on narrow screens while retaining category colours. */
@media (max-width: 700px) {
  .project-timeline { --timeline-gap: 38px; }
  .timeline-lanes { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 20px 38px; }
  .timeline-lane-heading { font-size: 10px; justify-content: flex-start; }
  .timeline-stream::before { left: 12px; }
  .timeline-day { text-align: left; padding-left: 38px; margin-bottom: 18px; }
  .timeline-day time { padding: 6px 12px; font-size: 10px; }
  .timeline-event { grid-template-columns: 26px minmax(0,1fr); column-gap: 12px; margin-bottom: 16px; }
  .timeline-icon { grid-column: 1; width: 26px; height: 26px; margin-top: 20px; }
  .timeline-bubble, .timeline-event--communication .timeline-bubble { grid-column: 2; padding: 14px 16px; }
  .timeline-event--communication .timeline-bubble::before { left: -7px; right: auto; border-top: 0; border-right: 0; border-left: 1px solid var(--bubble-border); border-bottom: 1px solid var(--bubble-border); }
  .timeline-title { font-size: 13px; }
  .timeline-event-meta { font-size: 10px; }
}

/* Shared record cards use Customer content's proportions across the project. */
:root {
  --record-card-radius: 9px;
  --record-card-padding: 20px;
  --record-list-gap: 13px;
}
.content-card, .document-card, .session-card, .run-check, .run-summary, .run-history-item {
  border: 1px solid var(--border);
  border-radius: var(--record-card-radius);
  padding: var(--record-card-padding);
  background: white;
  box-shadow: none;
}
.record-list, .document-list, .session-list, .run-checklist, .run-history-list {
  gap: var(--record-list-gap);
}
.document-heading h3, .run-check h3 { font-size: 15px; }
.document-body { font-size: 13px; line-height: 1.7; }
.record-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}
.record-byline .avatar {
  width: 21px;
  height: 21px;
  min-width: 21px;
  font-size: 8px;
}
.record-byline time { font-variant-numeric: tabular-nums; }
.byline-separator { color: #9aa8b1; }
.session-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  width: 100%;
  font-family: inherit;
}
.session-card > .record-byline { margin: 0; }
.session-card > .session-counts { grid-column: 1 / -1; }
.run-summary { margin-bottom: var(--record-list-gap); }
.run-summary .run-heading { margin-bottom: 14px; }
.run-summary .run-heading h2 { font-size: 17px; }
.run-summary .session-counts { margin-bottom: 0; }
.run-history-item span { font-size: inherit; }
.run-history-item .record-byline .avatar { font-size: 8px; }
.run-history-item p, .run-history-item .history-evidence { font-size: 12px; color: var(--muted); }
.run-history-item > .record-byline + div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 550px) {
  .session-card { gap: 12px 8px; }
  .record-byline { gap: 5px; }
}
