/* AI 팀 흐름(2026-11-13) — 단계 줄 · 인터뷰 이어서 하기 · 팀 구성. 시안: docs/mockups/2026-11-13-flow-team.html (애플식 담백) */
.noc.dash > #tf-host { order: -9; }
.noc.dash > #tf-host:empty { display: none; }
.tf-home { max-width: 1180px; width: 100%; margin: 0 auto; padding: 0; }
.tf-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); overflow: hidden; }
.tf-st { padding: 14px 16px; display: flex; align-items: center; gap: 10px; border: 0; border-right: 1px solid var(--line); min-width: 0; background: none; color: inherit; text-decoration: none; font: inherit; text-align: left; cursor: pointer; }
.tf-st:last-child { border-right: 0; }
.tf-st.locked { cursor: not-allowed; }
.tf-ic { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--faint); }
.tf-t { min-width: 0; display: flex; flex-direction: column; }
.tf-k { font-size: 12px; color: var(--faint); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-n { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-st.done .tf-ic { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.tf-st.done .tf-n { color: var(--text-2); }
.tf-st.now { background: var(--brand-soft); box-shadow: inset 0 -2px 0 var(--brand); }
.tf-st.now .tf-ic { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px rgba(47, 134, 255, .22); }
.tf-st.now .tf-n { color: var(--text); }
.tf-st.now .tf-k { color: var(--brand-2, var(--brand)); }
.tf-st:not(.locked):hover .tf-n { color: var(--text); }
.tf-st:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.tf-lock { margin: 10px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tf-lock svg { flex: none; }
.tf-lock a { color: var(--brand); text-decoration: none; font-weight: 600; }
/* 인터뷰 이어서 하기 */
.tf-resume { margin-top: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; }
.tf-rs-t { display: flex; flex-direction: column; min-width: 0; }
.tf-rs-k { font-size: 13px; color: var(--muted); font-weight: 600; }
.tf-rs-t b { font-size: 17px; margin-top: 2px; }
.tf-rs-t small { color: var(--muted); font-size: 13px; margin-top: 2px; }
.tf-rs-a { display: flex; gap: 8px; flex-wrap: wrap; }
.tf-rs-b { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.tf-rs-b:hover { border-color: var(--brand); }
.tf-rs-n { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--faint); }
/* 만들기 영역 잠금 안내 */
.ch-locked { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--text-2); font-size: 14px; }
.ch-locked svg { flex: none; color: var(--faint); }
/* 팀 구성 */
.tf-page { max-width: 1180px; margin: 0 auto; padding: 28px 40px 0; }
.tf-head { margin-top: 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.tf-eyebrow { font-size: 13px; color: var(--muted); font-weight: 600; }
.tf-head h1 { font-size: 32px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 0; }
.tf-sub { color: var(--text-2); margin: 8px 0 0; max-width: 620px; }
.tf-roles { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tf-role { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 20px; display: flex; flex-direction: column; min-width: 0; }
.tf-role.bad { border-color: var(--warn); }
.tf-rn { font-size: 13px; color: var(--muted); font-weight: 600; }
.tf-role h3 { font-size: 20px; font-weight: 700; margin: 2px 0 0; }
.tf-do { color: var(--text-2); font-size: 14px; margin: 8px 0 0; min-height: 68px; }
.tf-pick { position: relative; margin-top: 16px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; background: var(--panel-2); cursor: pointer; }
.tf-pick:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 134, 255, .18); }
.tf-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.tf-pick > svg:last-of-type { margin-left: auto; color: var(--faint); }
.tf-pick .emb-img, .tf-pick svg:first-child { flex: none; }
.tf-pnm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-tag { font-size: 11px; color: var(--brand-2, var(--brand)); background: var(--brand-soft); border-radius: 6px; padding: 1px 6px; font-weight: 600; flex: none; }
.tf-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: var(--line-2); color: var(--text-2); flex: none; }
.tf-why { font-size: 13px; color: var(--muted); margin: 12px 0 0; line-height: 1.55; }
.tf-role.bad .tf-why { color: var(--warn); }
.tf-relay { margin-top: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.tf-relay h2 { font-size: 20px; font-weight: 700; margin: 0; }
.tf-relay p { color: var(--text-2); font-size: 14px; margin: 6px 0 0; }
.tf-chips { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.tf-chip { display: flex; align-items: center; gap: 8px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 10px 8px 8px; font-weight: 600; font-size: 14px; flex: none; }
.tf-chip[draggable] { cursor: grab; }
.tf-chip .tf-grip { color: var(--faint); }
.tf-chip.lead { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 134, 255, .18); padding-left: 10px; }
.tf-chip.lead small { font-size: 11px; color: var(--brand-2, var(--brand)); font-weight: 600; }
.tf-chip.drag { opacity: .6; }
.tf-mv { display: inline-flex; gap: 2px; margin-left: 2px; }
.tf-mv button { width: 22px; height: 22px; border-radius: 6px; border: 0; background: transparent; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; }
.tf-mv button:hover:not(:disabled) { background: var(--line); color: var(--text); }
.tf-mv button:disabled { opacity: .3; cursor: default; }
.tf-arrli { list-style: none; color: var(--faint); flex: none; }
.tf-chips-note { font-size: 12px !important; color: var(--faint) !important; margin-top: 10px !important; }
.tf-foot { margin: 28px 0 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.tf-note { color: var(--muted); font-size: 13px; margin: 0; }
.tf-note a { color: var(--brand); text-decoration: none; font-weight: 600; margin-left: 4px; }
.tf-warn { color: var(--warn); font-weight: 600; }
.tf-acts { display: flex; gap: 10px; }
/* 자동 이어받기(팀 공통 예약) */
.tf-auto { margin: 0 0 24px; border-top: 1px solid var(--line); padding-top: 36px; }
.tf-auto-h h2 { font-size: 24px; font-weight: 700; margin: 4px 0 0; letter-spacing: -.01em; }
.tf-auto-h p { color: var(--text-2); font-size: 15px; line-height: 1.65; margin: 8px 0 0; max-width: 780px; }
.tf-auto-g { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tf-ac { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tf-ac.done { border-color: var(--ok); }
.tf-ac-h { display: flex; align-items: center; gap: 10px; }
.tf-ac-h > div { display: flex; flex-direction: column; min-width: 0; }
.tf-ac-h b { font-size: 16px; }
.tf-ac-h small { font-size: 12px; color: var(--muted); }
.tf-ac-st { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--faint); }
.tf-ac.done .tf-ac-st { color: var(--ok); }
.tf-ac.next { border-color: var(--line-2); }
.tf-ac-go { align-self: stretch; justify-content: center; }
.tf-ac-w { font-size: 12px; color: var(--muted); line-height: 1.5; }
.tf-ac-w b { color: var(--text-2); font-weight: 600; }
.tf-ac-q { margin-top: auto; align-self: flex-start; border: 0; background: none; padding: 2px 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); cursor: pointer; }
.tf-ac.done .tf-ac-q { font-weight: 400; color: var(--muted); font-size: 12px; }
.tf-more { margin-top: 14px; font-size: 13px; color: var(--muted); }
.tf-more summary { cursor: pointer; color: var(--text-2); font-weight: 600; }
.tf-more p { margin: 8px 0 0; line-height: 1.65; max-width: 780px; }
.tf-next { display: flex; justify-content: flex-end; margin: 8px 0 64px; }
@media (max-width: 1100px) {
  .tf-auto-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-relay { grid-template-columns: 1fr; gap: 18px; }
  .tf-chips { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .tf-page { padding: 18px 18px 0; }
  .tf-steps { display: flex; border-radius: 14px; }
  .tf-st { flex: none; }
  .tf-st:not(.now) { padding: 12px 6px; }
  .tf-st.now { flex: 1 1 auto; min-width: 0; }
  .tf-lock { flex-wrap: nowrap; align-items: flex-start; }
  .tf-lock svg { margin-top: 3px; }
  .tf-lock span { flex: 1 1 auto; }
  .tf-lock a { flex: none; }
  .tf-st { padding: 12px 10px; }
  .tf-st:not(.now) .tf-t { display: none; }
  .tf-head { display: block; margin-top: 32px; }
  .tf-head h1 { font-size: 26px; }
  .tf-head .tf-go { display: none; }
  .tf-roles { grid-template-columns: 1fr; gap: 12px; }
  .tf-do { min-height: 0; }
  .tf-relay { padding: 20px; }
  .tf-chips { gap: 8px; }
  .tf-chip { padding: 6px 8px 6px 6px; font-size: 13px; }
  .tf-foot { flex-direction: column; align-items: stretch; }
  .tf-acts { flex-direction: column-reverse; }
  .tf-acts .btn { justify-content: center; width: 100%; }
  .tf-resume { grid-template-columns: 1fr; }
  .tf-auto-g { grid-template-columns: 1fr; }
  .tf-next .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .tf-st, .tf-chip { transition: none; } }
.rl-moved { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 14px; color: var(--text-2); line-height: 1.6; }
.rl-moved a { color: var(--brand); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tf-auto { scroll-margin-top: 72px; }
