.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  padding: 22px;
}
.task-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 19px;
  background: #fbfcf9;
  transition: background 0.15s;
}
.task-card:hover {
  background: var(--light);
}
.task-card > strong {
  font-size: 29px;
  font-weight: 600;
}
.task-card h3 {
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0 7px;
}
.task-card p {
  font-size: 11px;
}
.source-link {
  display: block;
  font-size: 10px;
  margin-top: 10px;
}
.work-table {
  white-space: normal;
}
.work-table td {
  vertical-align: top;
  min-width: 155px;
  line-height: 1.5;
}
.work-table td:first-child:has(input) {
  min-width: 40px;
  width: 40px;
}
.work-table td:last-child {
  min-width: 185px;
}
.work-table td button {
  font-size: 11px;
}
.work-table small {
  line-height: 1.6;
}
.work-table td > small {
  max-width: 250px;
}
.view-tabs button {
  font-size: 11px;
  padding: 9px 11px;
}
.view-tabs button.selected {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.view-tabs button span {
  margin-left: 5px;
  opacity: 0.75;
}
.bulk-bar {
  align-items: center;
  background: #fbfcf9;
}
.bulk-bar > span {
  font-size: 11px;
  color: var(--muted);
  margin-right: auto;
}
.fact-lines p {
  font-size: 12px;
  margin-bottom: 15px;
}
.fact-lines p:last-child {
  margin: 0;
}
.nav-more {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding: 14px 0 0;
}
.nav-more > summary {
  font-size: 10px;
  padding: 8px;
  color: var(--muted);
}
.nav-more a {
  font-size: 11px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 25px;
  max-width: 800px;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  font-size: 12px;
}
.check-line input {
  display: inline-block;
  width: auto;
  margin: 0;
}
.evidence-summary {
  background: #f2f7f0;
  border: 1px solid #d9e8d6;
  border-radius: 8px;
  padding: 20px;
  margin: 22px 0;
}
.evidence-summary h2 {
  margin-bottom: 12px;
}
.evidence-summary p {
  font-size: 12px;
  margin-top: 10px;
}
.source-list {
  padding: 7px 0;
}
.source-list p {
  overflow-wrap: anywhere;
}
.source-list small {
  display: block;
  margin-top: 5px;
}
.source-list a {
  font-weight: 600;
}
.muted-result {
  color: var(--muted);
}
@media (max-width: 1100px) {
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .task-grid {
    padding: 15px;
    gap: 10px;
  }
  .task-card {
    padding: 15px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .view-tabs {
    gap: 6px;
  }
  .work-table td {
    min-width: 165px;
  }
  .nav-more {
    margin: 0;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }
  .nav-more[open] {
    min-width: 220px;
  }
  .bulk-bar {
    align-items: stretch;
  }
  .bulk-bar > span {
    width: 100%;
    margin: 0;
  }
}
