/* 首页产品场景 04 · Project
 * 直接镜像完整 Project 工作面，只压缩非核心 chrome，并用浅灰区域替代分隔线。
 */

#project .feat__media--shot:has(.tt-product-demo--project-refined) {
  background:
    radial-gradient(circle at 12% 4%, rgba(214, 230, 250, 0.96), transparent 37%),
    radial-gradient(circle at 88% 92%, rgba(244, 225, 204, 0.66), transparent 36%),
    linear-gradient(124deg, #eef4fb 0%, #f6f3ef 57%, #f5f7fa 100%);
}

#project .feat__media--shot:has(.tt-product-demo--project-refined) .feat__media-art {
  opacity: 0;
}

#project .feat__media-product:has(> .tt-product-demo--project-refined) {
  width: min(92%, 1180px);
  aspect-ratio: 1.74;
  border: 0;
  border-radius: 1.25cqw;
  box-shadow:
    0 0.18cqw 0.7cqw rgba(45, 58, 77, 0.06),
    0 2.15cqw 5.8cqw rgba(45, 58, 77, 0.15);
}

.tt-product-demo--project-refined {
  --tt-accent: #397bd6;
  --tt-green: #35a36d;
  --tt-line: transparent;
  background: #f5f7fa;
}

.tt-product-demo--project-refined .tt-shell-topbar,
.tt-product-demo--project-refined .tt-activity-rail {
  border-color: transparent;
}

.tt-product-demo--project-refined .tt-project-shell {
  grid-template-columns: 16.5cqw minmax(0, 1fr);
  gap: 0.62cqw;
  padding: 0.62cqw 0.62cqw 0.62cqw 0;
  background: #f5f7fa;
}

.tt-product-demo--project-refined .tt-project-sidebar {
  padding: 0.72cqw 0.62cqw 0.9cqw;
  border: 0;
  border-radius: 0.78cqw;
  background: #f1f4f8;
}

.tt-product-demo--project-refined .tt-project-sidebar__current {
  height: 2.62cqw;
  padding: 0 0.62cqw;
  border-radius: 0.55cqw;
  background: #e3edf9;
}

.tt-product-demo--project-refined .tt-project-folder-icon {
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 0.38cqw;
  background: rgba(57, 123, 214, 0.1);
}

.tt-product-demo--project-refined .tt-project-sidebar__section {
  margin-top: 0.75cqw;
}

.tt-product-demo--project-refined .tt-project-side-task {
  row-gap: 0.3cqw;
  padding: 0.48cqw 0.5cqw 0.4cqw;
  border-radius: 0.42cqw;
}

.tt-product-demo--project-refined .tt-project-side-task:nth-of-type(4) {
  background: rgba(255, 255, 255, 0.62);
}

.tt-product-demo--project-refined .tt-project-side-task__badge {
  background: rgba(255, 255, 255, 0.72);
}

.tt-product-demo--project-refined .tt-project-main {
  padding: 1.3cqw 1.5cqw 0.9cqw;
  border-radius: 0.78cqw;
  background: #fff;
}

.tt-product-demo--project-refined .tt-project-title-icon {
  width: 2.75cqw;
  height: 2.75cqw;
  border-radius: 0.66cqw;
  background: #eaf2fd;
}

.tt-product-demo--project-refined .tt-project-title-icon svg {
  width: 1.3cqw;
  height: 1.3cqw;
}

.tt-product-demo--project-refined .tt-project-title-copy {
  gap: 0.14cqw;
  margin-left: 0.78cqw;
}

.tt-product-demo--project-refined .tt-project-breadcrumb {
  margin-top: 0.62cqw;
}

.tt-product-demo--project-refined .tt-project-presence {
  margin-top: 0.38cqw;
}

.tt-product-demo--project-refined .tt-project-tabs {
  width: max-content;
  height: 2.78cqw;
  align-items: center;
  gap: 0.08cqw;
  margin-top: 0.92cqw;
  padding: 0.18cqw;
  border: 0;
  border-radius: 0.58cqw;
  background: #f3f5f8;
}

.tt-product-demo--project-refined .tt-project-tabs span {
  height: 2.34cqw;
  padding: 0 0.66cqw;
  border-radius: 0.44cqw;
  font-size: var(--tt-text-body);
}

.tt-product-demo--project-refined .tt-project-tabs span.is-active {
  background: #fff;
  color: #3971bd;
}

.tt-product-demo--project-refined .tt-project-tabs span.is-active::after {
  display: none;
}

.tt-product-demo--project-refined .tt-project-content {
  padding-top: 0.92cqw;
}

.tt-product-demo--project-refined .tt-project-content-head p {
  color: #7d838b;
  font-size: var(--tt-text-meta);
}

.tt-product-demo--project-refined .tt-project-actions span.is-primary {
  background: #eaf2fd;
  color: #3971bd;
}

.tt-product-demo--project-refined .tt-project-orchestrator {
  height: 3.12cqw;
  margin-top: 0.76cqw;
  padding: 0 0.86cqw;
  border: 0;
  border-radius: 0.58cqw;
  background: #f4f7fb;
}

.tt-product-demo--project-refined .tt-project-bot {
  width: 1.48cqw;
  height: 1.48cqw;
  background: #e3edf9;
  color: #3971bd;
}

.tt-product-demo--project-refined .tt-project-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72cqw;
  margin-top: 0.78cqw;
}

.tt-product-demo--project-refined .tt-project-lane {
  padding: 0.72cqw;
  border-radius: 0.62cqw;
  background: #f4f6f8;
}

.tt-product-demo--project-refined .tt-project-task-card {
  margin-top: 0.62cqw;
  padding: 0.82cqw;
  border-radius: 0.54cqw;
  background: rgba(255, 255, 255, 0.9);
}

.tt-product-demo--project-refined .tt-project-task-card--accepted {
  background: #f1f8f4;
}

.tt-product-demo--project-refined .tt-project-lane header strong {
  font-size: var(--tt-text-body);
}

.tt-product-demo--project-refined .tt-project-lane header small,
.tt-product-demo--project-refined .tt-project-priority,
.tt-product-demo--project-refined .tt-project-task-card > small {
  font-size: var(--tt-text-caption);
}

.tt-product-demo--project-refined .tt-project-task-card > strong {
  font-size: var(--tt-text-meta);
}

.tt-product-demo--project-refined .tt-project-lane.is-cancelled {
  display: none;
}

.tt-product-demo--project-refined .tt-project-deliverable {
  border: 0;
  background: #e4f3eb;
  color: #377b59;
}

@container (max-width: 760px) {
  .tt-product-demo--project-refined .tt-project-shell {
    grid-template-columns: 18.2cqw minmax(0, 1fr);
  }

  .tt-product-demo--project-refined .tt-project-tabs span:nth-last-child(-n + 2) {
    display: none;
  }
}

@container (max-width: 520px) {
  .tt-product-demo--project-refined .tt-project-shell {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0.48cqw;
  }

  .tt-product-demo--project-refined .tt-project-sidebar {
    display: none;
  }

  .tt-product-demo--project-refined .tt-project-main {
    padding: 1.1cqw;
  }

  .tt-product-demo--project-refined .tt-project-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tt-product-demo--project-refined .tt-project-lane:nth-child(n + 3) {
    display: none;
  }
}
