.op-top,
.op-card-top,
.op-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.op-top {
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.op-intro {
  background: linear-gradient(120deg, #1b3038, #365557);
  border-radius: 26px;
  padding: 34px 38px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.op-intro .eyebrow {
  color: #efa07e;
}
.op-intro h2 {
  font-size: 28px;
  margin: 12px 0;
}
.op-intro p {
  color: #c6d7d7;
}
.op-intro b {
  font-size: 48px;
  align-self: center;
}
.op-intro small {
  display: block;
  font-size: 13px;
  color: #c6d7d7;
}
.op-filters {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
.op-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.op-project {
  border: 1px solid #e2e8e8;
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  min-width: 0;
}
.op-project h3 {
  font-size: 21px;
  margin: 22px 0 8px;
}
.op-project p {
  overflow-wrap: anywhere;
}
.op-card-deadline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f5f7f6;
  border-radius: 12px;
  padding: 14px;
  margin: 20px 0;
}
.op-clock {
  display: block;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: #426164;
  margin: 8px 0;
}
.op-clock.op-orange {
  color: #ae7015;
}
.op-clock.op-red {
  color: #c44b3f;
}
.op-task {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e5eaea;
  align-items: center;
}
.op-task:last-child {
  border-bottom: 0;
}
.op-task-copy {
  width: 100%;
  min-width: 0;
}
.op-task h3 {
  margin: 12px 0;
}
.op-submission {
  background: #f6f8f7;
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.op-history {
  padding: 20px 0;
  border-bottom: 1px solid #e5eaea;
}
.op-history summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.op-history p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.op-decisions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
}
.op-task-editor {
  border: 1px solid #dfe6e5;
  border-radius: 16px;
  padding: 18px;
  margin: 20px 0;
}
.op-task-editor legend {
  color: #57706f;
  padding: 0 8px;
}
.op-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.op-stat-grid h2 {
  font-size: 36px;
  margin-top: 12px;
}
.op-link {
  border-bottom: 1px solid #e6ebea;
  padding: 12px 0;
  font-size: 14px;
}
.op-short {
  max-width: 230px;
}
.op-detail-head h2 {
  font-size: 28px;
  margin: 12px 0;
}
.op-detail-head .task-actions {
  margin-top: 20px;
}
#opModule .review-images img {
  max-width: 110px;
  max-height: 110px;
  object-fit: contain;
}
#opModule a {
  color: #b75b43;
}
#opModule small {
  color: #7b8c91;
}
#opModule .card {
  margin-top: 20px;
}
#opForm input[type="checkbox"] {
  accent-color: #d96e4f;
}
#opModule .card h2 {
  margin-bottom: 12px;
}
@media (max-width: 1100px) {
  .op-filters {
    grid-template-columns: repeat(3, 1fr);
  }
  .op-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .op-intro {
    padding: 24px;
    flex-direction: column;
  }
  .op-intro h2 {
    font-size: 24px;
  }
  .op-intro b {
    align-self: start;
    font-size: 36px;
  }
  .op-cards,
  .op-filters {
    grid-template-columns: 1fr;
  }
  .op-task,
  .op-history summary {
    align-items: start;
    flex-direction: column;
  }
  .op-top .task-type-tabs {
    overflow: auto;
    flex-wrap: nowrap;
    max-width: 100%;
  }
  .op-top .task-type-tabs button {
    white-space: nowrap;
  }
  .op-stat-grid {
    gap: 10px;
  }
  .op-project {
    padding: 20px;
  }
}
