/* College team project guide — page-specific comparison + FAQ polish */
main.team-project-guide #space-choice .section-inner,
main.team-project-guide #faq .section-inner {
  max-width: 940px;
}

/* Comparison: desktop table with a clear recommended-use column */
main.team-project-guide #space-choice .table-wrap {
  margin: 1.5rem 0 1.25rem;
  overflow: hidden;
  border: 1px solid #dbe6df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(26, 67, 47, .07);
}
main.team-project-guide #space-choice table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
main.team-project-guide #space-choice th,
main.team-project-guide #space-choice td {
  padding: 1rem 1.05rem;
  border-bottom: 1px solid #e8efea;
  text-align: left;
  vertical-align: top;
  color: #526159;
  font-size: .9rem;
  line-height: 1.62;
  word-break: keep-all;
}
main.team-project-guide #space-choice th {
  background: #edf5f0;
  color: #244c39;
  font-size: .82rem;
  font-weight: 800;
}
main.team-project-guide #space-choice th:first-child,
main.team-project-guide #space-choice td:first-child {
  width: 19%;
  color: #244c39;
  font-weight: 800;
}
main.team-project-guide #space-choice th:nth-child(2),
main.team-project-guide #space-choice td:nth-child(2) {
  width: 43%;
}
main.team-project-guide #space-choice th:last-child,
main.team-project-guide #space-choice td:last-child {
  width: 38%;
  background: #f8fbf9;
}
main.team-project-guide #space-choice tbody tr:last-child td {
  border-bottom: 0;
}
main.team-project-guide #space-choice tbody tr:last-child td {
  background: #f2f8f4;
}
main.team-project-guide #space-choice tbody tr:last-child td:first-child {
  position: relative;
  color: #1f5a3d;
}
main.team-project-guide #space-choice tbody tr:last-child td:first-child::after {
  content: '팀플 작업형';
  display: block;
  width: max-content;
  margin-top: .45rem;
  padding: .22rem .48rem;
  border-radius: 999px;
  background: #dfeee5;
  color: #2d6a4f;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .02em;
}
main.team-project-guide #space-choice .about-quote {
  margin-top: 1.1rem;
  border-left: 4px solid #6ea384;
  background: #f4f9f5;
}

/* FAQ: use the shared numbered accordion markup */
main.team-project-guide #faq {
  background: #f5f8f5;
}
main.team-project-guide #faq .section-desc {
  max-width: 720px;
  margin-bottom: .2rem;
}
main.team-project-guide #faq .faq-list {
  max-width: 860px;
  margin-top: 1.45rem;
}
main.team-project-guide #faq .faq-item:first-child {
  border-color: #cbded2;
}
main.team-project-guide #faq .faq-item summary {
  min-height: 64px;
}

@media (max-width: 680px) {
  main.team-project-guide #space-choice .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  main.team-project-guide #space-choice table,
  main.team-project-guide #space-choice tbody,
  main.team-project-guide #space-choice tr,
  main.team-project-guide #space-choice td {
    display: block;
    width: 100%;
  }
  main.team-project-guide #space-choice thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  main.team-project-guide #space-choice tbody {
    display: grid;
    gap: .8rem;
  }
  main.team-project-guide #space-choice tbody tr {
    overflow: hidden;
    border: 1px solid #dce7df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25, 62, 46, .06);
  }
  main.team-project-guide #space-choice td {
    box-sizing: border-box;
    padding: .8rem .95rem .8rem 7.1rem;
    border-bottom: 1px solid #edf2ee;
    background: #fff !important;
    font-size: .87rem;
  }
  main.team-project-guide #space-choice td::before {
    position: absolute;
    left: .95rem;
    width: 5.55rem;
    color: #789083;
    font-size: .7rem;
    font-weight: 800;
  }
  main.team-project-guide #space-choice td:first-child {
    padding: .9rem .95rem;
    background: #edf5f0 !important;
    font-size: 1rem;
  }
  main.team-project-guide #space-choice td:first-child::before { content: none; }
  main.team-project-guide #space-choice td:nth-child(2)::before { content: '잘 맞는 상황'; }
  main.team-project-guide #space-choice td:nth-child(3)::before { content: '확인할 점'; }
  main.team-project-guide #space-choice td:last-child { border-bottom: 0; }
  main.team-project-guide #space-choice tbody tr:last-child {
    border-color: #bfd6c7;
    box-shadow: 0 10px 28px rgba(38, 93, 64, .1);
  }
  main.team-project-guide #space-choice tbody tr:last-child td:first-child {
    background: #e4f1e8 !important;
  }
  main.team-project-guide #space-choice tbody tr:last-child td:first-child::after {
    display: inline-flex;
    margin: 0 0 0 .45rem;
    vertical-align: middle;
  }
}
