/* AI 기능 카드 네 개 (시안 119 · 10/12) — 무사퇴근 「AI를 활용하세요」 2 × 2 문법 · 시안 112 기능 4카드와 같은 크기 · 면 · 글자 · 틀 토큰만 */
.wl1002-ai__title {
  font: var(--wl1002-title);
  letter-spacing: var(--wl1002-tracking);
  text-align: center;
  text-wrap: balance;
}
.wl1002-ai__title span {
  display: block;
}
.wl1002-ai__lead {
  margin-top: var(--wl1002-space-16);
  font: var(--wl1002-lead);
  letter-spacing: var(--wl1002-tracking);
  color: var(--wl1002-text-sub);
  text-align: center;
}
.wl1002-ai__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wl1002-space-24);
  margin: var(--wl1002-space-96) 0 0;
  padding: 0;
  list-style: none;
}
.wl1002-ai__card {
  position: relative;
  height: 520px;
  padding: 40px;
  border-radius: var(--wl1002-radius-card);
  background: var(--wl1002-screen);
  box-sizing: border-box;
  overflow: hidden;
}
.wl1002-ai__name {
  position: relative;
  z-index: 1;
  font: var(--wl1002-lead);
  font-weight: 600;
  letter-spacing: var(--wl1002-tracking);
}
.wl1002-ai__desc {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin-top: var(--wl1002-space-8);
  font: var(--wl1002-text);
  letter-spacing: var(--wl1002-tracking);
  color: var(--wl1002-text-sub);
  text-wrap: pretty;
}
.wl1002-ai__piece {
  position: absolute;
  top: 156px;
  left: 16px;
  right: 16px;
  pointer-events: none;
}
.wl1002-ai__piece > img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 1023px) {
  .wl1002-ai__title span {
    display: inline;
  }
  .wl1002-ai__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--wl1002-space-16);
    margin-top: var(--wl1002-space-56);
  }
  .wl1002-ai__card {
    height: auto;
    padding: var(--wl1002-space-24) var(--wl1002-space-24) 0;
  }
  .wl1002-ai__piece {
    position: static;
    margin: var(--wl1002-space-16) calc(var(--wl1002-space-16) * -1) 0;
  }
}

/* AI 음성 노트 카드 조각 = 첫 화면 롤링 카드(음성 노트 분석) HTML 그대로 (10/12) */
.wl1002-ai__piece--card {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}
.wl1002-ai__piece--card .wl1002-hc-card {
  zoom: 1.4;
  box-shadow: var(--wl1002-shadow-panel);
}
@media screen and (max-width: 1023px) {
  .wl1002-ai__piece--card {
    margin: var(--wl1002-space-16) 0 0;
    padding-top: 0;
  }
  .wl1002-ai__piece--card .wl1002-hc-card {
    zoom: 1.05;
  }
}


/* ── 10/12 밤 · AI 카드 넷 조각 = 시안 121(실제 dev 화면) · 1 = 단계 위험요인 카드 · 2 = 사진별 분석(VLM · 8/26 실행) · 3 = 법령 근거 수정안 · 4 = 워키 개선 ── */
/* 시안 121 · AI 카드 넷 조각 = 실제 dev 화면 (10/12 밤 지현 님 「실제 데브에서 어떤 걸 쓰고 있고 어떻게 구성하면 좋을지 다시 조사해서 콘텐츠 영역에 넣어줘」)
   근거 = origin/main 컴포넌트 + dev 캡처(스크래치패드 ai-cards-research/frag-*). 라임 다시 그림 대신 실제 화면의 짜임 · 글을 틀 토큰으로 HTML 재현 */
.f121 { position: relative; width: 100%; height: 364px; letter-spacing: var(--wl1002-tracking); color: var(--wl1002-text-main); }
.f121-panel {
  position: absolute;
  border-radius: 16px;
  background: var(--wl1002-white);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06), var(--wl1002-shadow-panel);
  box-sizing: border-box;
}
.f121-small { font: var(--wl1002-small); }
.f121-sub { color: var(--wl1002-sub); }

/* 1 · 단계별 상세 레일 (RiskAssessmentPlanRail) + 단계 위험요인 줄 */
.f121-rail { top: 0; left: 0; width: 236px; padding: 18px 14px 14px; }
.f121-rail__head { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 10px; font: var(--wl1002-small); font-weight: 600; }
.f121-rail__head i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--wl1002-line); border-radius: 50%; }
.f121-rail__head svg { width: 12px; height: 12px; fill: none; stroke: var(--wl1002-text-sub); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f121-rail ol { margin: 0; padding: 0; list-style: none; }
.f121-rail li { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px; border-radius: 10px; font: var(--wl1002-small); font-size: 15px; }
.f121-rail li b { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid var(--wl1002-line); border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--wl1002-text-sub); }
.f121-rail li.is-on { background: var(--wl1002-screen); font-weight: 600; }
.f121-rail li.is-on b { border-color: var(--wl1002-text-main); background: var(--wl1002-text-main); color: var(--wl1002-white); }
.f121-factor { top: 70px; left: 196px; width: 388px; padding: 18px 20px; }
.f121-factor__head { display: flex; align-items: center; gap: 8px; font: var(--wl1002-small); font-weight: 600; }
.f121-factor__head b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--wl1002-text-main); color: var(--wl1002-white); font-size: 12px; }
.f121-factor__head span { font-weight: 400; color: var(--wl1002-sub); }
.f121-factor dl { margin: 14px 0 0; }
.f121-factor dl div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-top: 1px solid var(--wl1002-line); font: var(--wl1002-small); }
.f121-factor dt { color: var(--wl1002-sub); }
.f121-factor dd { margin: 0; font-weight: 600; }
.f121-level { display: inline-flex; align-items: center; gap: 6px; }
.f121-level i { padding: 0 6px; border-radius: 4px; font-style: normal; font-size: 12px; line-height: 20px; }
.f121-level i.is-high { background: rgba(255, 60, 60, 0.1); color: var(--wl1002-error); }
.f121-level i.is-low { background: var(--wl1002-state-done-fill); color: var(--wl1002-state-done); }

/* 2 · 평가 대상 「현장 사진으로」 + 사진 읽는 중 (RiskAssessmentWriteTargetPanel · WritePhotoPanel) */
.f121-target { top: 0; left: 0; width: 360px; padding: 16px 18px; border: 1.5px solid var(--wl1002-text-main); border-radius: 12px; box-shadow: none; }
.f121-target__name { display: flex; align-items: center; gap: 10px; margin: 0; font: var(--wl1002-text); font-weight: 600; }
.f121-target__name i { width: 16px; height: 16px; border: 5px solid var(--wl1002-text-main); border-radius: 50%; box-sizing: border-box; }
.f121-target__text { margin: 4px 0 0 26px; font: var(--wl1002-small); color: var(--wl1002-text-sub); }
.f121-photos { top: 108px; left: 0; width: 640px; padding: 18px 20px 20px; }
.f121-photos__head { display: flex; align-items: center; gap: 10px; margin: 0; font: var(--wl1002-small); font-weight: 600; }
.f121-photos__head span { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; color: var(--wl1002-text-sub); }
.f121-spin { width: 14px; height: 14px; border: 2px solid var(--wl1002-line); border-top-color: var(--wl1002-state-progress); border-radius: 50%; animation: f121-spin 0.9s linear infinite; }
@keyframes f121-spin { to { transform: rotate(360deg); } }
.f121-photos__row { display: flex; gap: 10px; margin-top: 14px; }
.f121-photos__row img { flex: 0 0 auto; width: 112px; height: 84px; border-radius: 8px; object-fit: cover; }
.f121-photos__row img:nth-child(-n+2) { opacity: 1; }

/* 3 · 관련 법령 칩 + 팝오버 (RelatedLawPopover) */
.f121-row { top: 0; left: 0; width: 584px; padding: 18px 20px; }
.f121-row__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; font: var(--wl1002-small); }
.f121-row__cols small { display: block; margin-bottom: 4px; font-size: 12px; color: var(--wl1002-sub); }
.f121-row__cols b { font-weight: 600; }
.f121-row__chips { display: flex; gap: 6px; margin-top: 14px; }
.f121-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--wl1002-line); border-radius: 8px; background: var(--wl1002-white); font: var(--wl1002-small); font-size: 13px; font-weight: 600; color: var(--wl1002-text-sub); }
.f121-chip.is-on { border-color: var(--wl1002-text-main); color: var(--wl1002-text-main); }
.f121-chip svg,
.f121-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f121-pop { top: 136px; left: 40px; width: 470px; padding: 16px 18px 18px; }
.f121-pop__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; font: var(--wl1002-text); font-weight: 600; }
.f121-pop__head i { position: relative; width: 14px; height: 14px; }
.f121-pop__head i::before,
.f121-pop__head i::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 1.5px; background: var(--wl1002-sub); transform: rotate(45deg); }
.f121-pop__head i::after { transform: rotate(-45deg); }
.f121-link { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 12px; border-radius: 8px; background: var(--wl1002-screen); font: var(--wl1002-small); color: var(--wl1002-text-main); text-decoration: underline; text-underline-offset: 3px; }

/* 4 · 워키 개선 패널 (RaFactorAssistPanel) */
.f121-assist { top: 0; left: 0; width: 584px; padding: 18px 20px 20px; }
.f121-assist__head { display: flex; align-items: center; gap: 10px; }
.f121-assist__head img { width: 36px; height: 36px; }
.f121-assist__head b { display: block; font: var(--wl1002-text); font-weight: 600; }
.f121-assist__head span { display: block; font-size: 12px; line-height: 18px; color: var(--wl1002-sub); }
.f121-input { display: flex; align-items: center; gap: 10px; height: 56px; margin-top: 14px; padding: 0 8px 0 16px; border: 1px solid var(--wl1002-line); border-radius: 14px; font: var(--wl1002-text); }
.f121-input svg { flex: 0 0 18px; width: 18px; height: 18px; fill: var(--wl1002-state-progress); }
.f121-input span { flex: 1 1 auto; }
.f121-input b { display: grid; place-items: center; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--wl1002-text-main); color: var(--wl1002-white); font: var(--wl1002-small); font-weight: 600; }
.f121-assist__ask { margin: 16px 0 0; font: var(--wl1002-small); font-weight: 600; }
.f121-assist__hint { margin: 2px 0 0; font-size: 12px; line-height: 18px; color: var(--wl1002-sub); }
.f121-checks { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--wl1002-screen); list-style: none; display: grid; gap: 8px; font: var(--wl1002-small); color: var(--wl1002-text-sub); }
.f121-checks li { display: flex; align-items: center; gap: 8px; }
.f121-checks svg { flex: 0 0 14px; width: 14px; height: 14px; fill: none; stroke: var(--wl1002-state-done); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media screen and (max-width: 1023px) {
  .f121 { height: 300px; }
  .f121-rail { width: 200px; }
  .f121-factor { left: 130px; top: 96px; width: 300px; }
  .f121-target { width: 92%; }
  .f121-photos { top: 112px; width: 560px; }
  .f121-row { width: 100%; }
  .f121-row__cols { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .f121-pop { top: 180px; left: 16px; width: 92%; }
  .f121-assist { width: 100%; }
}

/* 2 · 사진별 분석 = 실제 VLM 화면 (PhotoScanCard · PhotoScanOverlay · 10/12 지현 님 「현장사진쪽은 vlm 콘텐츠 · ai 워키가 사진 분석하는 거」)
   사진 · 작업 이름 · 위험 태그 = 2026-08-26 dev 실행(시스템비계 12장) 캡처 hq-const-multi-cards.jpg 원문. 물체 % 칩 · 설명 글은 PO R6(정확도로 읽힘)로 뺌.
   가운데 카드만 7.2초 고리: 분석 중(파란 막 · 스캔 줄 · 모서리 표시) → 분석 완료 → 작업 이름 → 위험 태그 차례로 */
.f121-vlm { position: relative; width: 100%; height: 364px; letter-spacing: var(--wl1002-tracking); }
.f121-vlm__head { display: flex; align-items: baseline; justify-content: space-between; width: 584px; margin: 0 0 12px; font: var(--wl1002-small); font-weight: 600; color: var(--wl1002-text-main); }
.f121-vlm__count { position: relative; font-weight: 400; color: var(--wl1002-sub); }
.f121-vlm__count span:last-child { position: absolute; right: 0; top: 0; opacity: 0; }
.f121-vlm__row { display: flex; gap: 12px; width: 640px; }
.f121-scan { flex: 0 0 200px; overflow: hidden; border-radius: 14px; background: var(--wl1002-white); box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06), var(--wl1002-shadow-panel); }
.f121-scan__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wl1002-screen); }
.f121-scan__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f121-scan__badge { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 76px; box-sizing: border-box; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; line-height: 1; font-weight: 700; }
.f121-scan__badge--done { background: var(--wl1002-text-main); color: var(--wl1002-white); }
.f121-scan__badge--done svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.f121-scan__badge--wait { border: 1px solid var(--wl1002-line); background: var(--wl1002-white); color: var(--wl1002-state-progress); }
.f121-scan__badge--wait .f121-spin { width: 10px; height: 10px; border-width: 1.5px; }
.f121-scan__body { position: relative; padding: 12px 13px 14px; }
.f121-scan__title { display: flex; gap: 6px; margin: 0; font: var(--wl1002-small); font-weight: 700; color: var(--wl1002-text-main); word-break: keep-all; }
.f121-scan__title::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: currentColor; }
.f121-scan__tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.f121-scan__tags li { padding: 2px 7px; border-radius: 6px; background: rgba(255, 60, 60, 0.1); color: var(--wl1002-error); font-size: 11px; line-height: 17px; font-weight: 700; }
.f121-scan__wait { position: absolute; top: 12px; left: 13px; right: 13px; margin: 0; font-size: 12px; line-height: 18px; color: var(--wl1002-text-sub); opacity: 0; }
.f121-scan__veil { position: absolute; inset: 0; background: rgba(31, 102, 241, 0.24); opacity: 0; }
.f121-scan__veil i { position: absolute; width: 14px; height: 14px; border-radius: 3px; border: 0 solid var(--wl1002-white); }
.f121-scan__veil i:nth-child(1) { top: 8px; left: 8px; border-top-width: 1.5px; border-left-width: 1.5px; }
.f121-scan__veil i:nth-child(2) { top: 8px; right: 8px; border-top-width: 1.5px; border-right-width: 1.5px; }
.f121-scan__veil i:nth-child(3) { bottom: 8px; left: 8px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.f121-scan__veil i:nth-child(4) { bottom: 8px; right: 8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.f121-scan__veil b { position: absolute; left: 0; right: 0; top: 10%; height: 1px; background: var(--wl1002-white); opacity: 0.85; animation: f121-scanline 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate; }
@keyframes f121-scanline { to { top: 90%; } }

.f121-scan.is-live .f121-scan__veil { animation: f121-live-veil 7.2s linear infinite; }
.f121-scan.is-live .f121-scan__badge--wait { animation: f121-live-wait 7.2s linear infinite; }
.f121-scan.is-live .f121-scan__badge--done { animation: f121-live-done 7.2s linear infinite; }
.f121-scan.is-live .f121-scan__wait { animation: f121-live-wait 7.2s linear infinite; }
.f121-scan.is-live .f121-scan__title { animation: f121-live-title 7.2s linear infinite; }
.f121-scan.is-live .f121-scan__tags li:nth-child(1) { animation: f121-live-tag1 7.2s linear infinite; }
.f121-scan.is-live .f121-scan__tags li:nth-child(2) { animation: f121-live-tag2 7.2s linear infinite; }
.f121-scan.is-live .f121-scan__tags li:nth-child(3) { animation: f121-live-tag3 7.2s linear infinite; }
.f121-vlm.is-live .f121-vlm__count span:first-child { animation: f121-live-wait 7.2s linear infinite; }
.f121-vlm.is-live .f121-vlm__count span:last-child { animation: f121-live-done 7.2s linear infinite; }
@keyframes f121-live-veil { 0%, 40% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes f121-live-wait { 0%, 40% { opacity: 1; } 43%, 100% { opacity: 0; } }
@keyframes f121-live-done { 0%, 41% { opacity: 0; } 44%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes f121-live-title { 0%, 45% { opacity: 0; transform: translateY(4px); } 50%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes f121-live-tag1 { 0%, 53% { opacity: 0; transform: translateY(4px); } 57%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes f121-live-tag2 { 0%, 57% { opacity: 0; transform: translateY(4px); } 61%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes f121-live-tag3 { 0%, 61% { opacity: 0; transform: translateY(4px); } 65%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .f121-scan.is-live *,
  .f121-vlm.is-live .f121-vlm__count span { animation: none !important; }
  .f121-scan.is-live .f121-scan__veil,
  .f121-scan.is-live .f121-scan__badge--wait,
  .f121-scan.is-live .f121-scan__wait,
  .f121-vlm.is-live .f121-vlm__count span:first-child { opacity: 0; }
  .f121-vlm.is-live .f121-vlm__count span:last-child { opacity: 1; }
}
@media screen and (max-width: 1023px) {
  .f121-vlm { height: 320px; }
  .f121-vlm__head { width: 100%; }
  .f121-vlm__row { width: 560px; }
  .f121-scan { flex-basis: 176px; }
}

/* 1 · 3 다른 안 (10/12 밤 지현 님 「이거 두 개는 데브사이트에서 더 쓸만한 거 없나?」) — 2026-08-26 dev 실행 결과 화면 원문(hq-const-gen-head · gen-step1b · loop-panel)
   주황 = 첫 화면 롤링 카드(.wl1002-hc-card)의 --caution · --warn-tx 와 같은 값 */
.f121 { --f121-caution: #f5874f; --f121-caution-text: #ea6a33; --f121-caution-fill: rgba(245, 135, 79, 0.1); }
.f121-step { top: 0; left: 0; width: 640px; padding: 22px 24px; }
.f121-step__head { display: flex; align-items: center; gap: 8px; margin: 0; }
.f121-step__no { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: var(--wl1002-text-main); color: var(--wl1002-white); font-size: 12px; font-weight: 700; }
.f121-step__name { font: var(--wl1002-text); font-weight: 700; color: var(--wl1002-text-main); }
.f121-step__mark { padding: 0 6px; border-radius: 4px; background: var(--f121-caution-fill); color: var(--f121-caution-text); font-size: 11px; line-height: 20px; font-weight: 600; }
.f121-step__sub { margin: 4px 0 0 64px; font-size: 12px; line-height: 18px; color: var(--wl1002-sub); }
.f121-step__factor { margin: 18px 0 0; font: var(--wl1002-small); font-size: 15px; font-weight: 700; color: var(--wl1002-text-main); word-break: keep-all; }
.f121-step__chips { display: flex; gap: 6px; margin-top: 10px; }
.f121-tag { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border: 1px solid var(--wl1002-line); border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--wl1002-text-sub); }
.f121-tag--caution { border-color: var(--f121-caution); background: var(--f121-caution-fill); color: var(--f121-caution-text); }
.f121-step__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; margin-top: 14px; }
.f121-step__label { margin: 0 0 6px; font-size: 12px; line-height: 18px; color: var(--wl1002-sub); }
.f121-step__body ul { margin: 0; padding: 0 0 0 14px; font: var(--wl1002-small); color: var(--wl1002-text-main); }
.f121-step__body li + li { margin-top: 4px; }
.f121-score { display: grid; grid-template-columns: repeat(3, 46px); gap: 6px; }
.f121-score + .f121-step__label { margin-top: 10px; }
.f121-score p { display: grid; place-items: center; height: 50px; margin: 0; border-radius: 8px; background: var(--wl1002-screen); font-size: 11px; line-height: 14px; color: var(--wl1002-text-sub); }
.f121-score p b { display: block; font-size: 16px; line-height: 20px; color: var(--wl1002-text-main); }
.f121-score p.is-before { border: 1px solid var(--f121-caution); background: var(--f121-caution-fill); color: var(--f121-caution-text); }
.f121-score p.is-before b { color: var(--f121-caution-text); }
.f121-score p.is-after { border: 1px solid var(--wl1002-state-progress); background: var(--wl1002-state-progress-fill); color: var(--wl1002-state-progress); }
.f121-score p.is-after b { color: var(--wl1002-state-progress); }
.f121-lawbar { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 8px; background: var(--wl1002-screen); font: var(--wl1002-small); color: var(--wl1002-text-main); text-decoration: underline; text-underline-offset: 3px; }
.f121-lawbar svg { flex: 0 0 15px; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.f121-done { top: 0; left: 0; width: 584px; padding: 22px 24px; }
.f121-done__chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 8px; border-radius: 999px; background: var(--wl1002-screen); font-size: 12px; font-weight: 600; color: var(--wl1002-text-main); }
.f121-done__chip i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--wl1002-text-main); }
.f121-done__chip svg { width: 10px; height: 10px; fill: none; stroke: var(--wl1002-white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.f121-done__title { margin: 12px 0 0; font: var(--wl1002-item); color: var(--wl1002-text-main); }
.f121-done__sub { margin: 6px 0 0; font-size: 12px; line-height: 18px; color: var(--wl1002-sub); }
.f121-done__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--wl1002-line); }
.f121-done__stats p { margin: 0; text-align: center; }
.f121-done__stats b { display: block; font-size: 24px; line-height: 30px; font-weight: 600; color: var(--wl1002-text-main); }
.f121-done__stats b small { font-size: 13px; font-weight: 500; }
.f121-done__stats span { font-size: 12px; line-height: 18px; color: var(--wl1002-sub); }
.f121-done__peek { top: 236px; left: 24px; width: 584px; padding: 18px 22px; }

.f121-fix { top: 0; left: 0; width: 584px; padding: 20px 22px; }
.f121-fix__top { display: flex; align-items: center; justify-content: space-between; }
.f121-fix__where { margin: 0; font-size: 12px; line-height: 18px; color: var(--wl1002-sub); }
.f121-fix__chip { padding: 0 9px; border: 1px solid var(--f121-caution); border-radius: 7px; background: var(--f121-caution-fill); color: var(--f121-caution-text); font-size: 12px; line-height: 24px; font-weight: 600; }
.f121-fix__title { margin: 4px 0 0; font: var(--wl1002-text); font-weight: 700; color: var(--wl1002-text-main); }
.f121-fix__why { margin: 8px 0 0; font: var(--wl1002-small); color: var(--wl1002-text-sub); word-break: keep-all; }
.f121-fix__label { margin: 14px 0 6px; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--wl1002-state-progress); }
.f121-fix__box { padding: 12px 14px; border: 1px solid var(--wl1002-state-progress); border-radius: 10px; font: var(--wl1002-small); font-size: 13px; line-height: 21px; color: var(--wl1002-text-main); }
.f121-fix__box mark { background: var(--wl1002-state-done-fill); color: var(--wl1002-state-done); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media screen and (max-width: 1023px) {
  .f121-step { width: 560px; }
  .f121-done,
  .f121-fix { width: 100%; }
  .f121-done__stats b { font-size: 20px; }
  .f121-done__peek { display: none; }
}
.f121-step { width: 584px; }
.f121-step__body ul { padding: 0; list-style: none; }
.f121-step__body li { position: relative; padding-left: 12px; }
.f121-step__body li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.f121-score { grid-template-columns: repeat(3, 42px); gap: 5px; }
@media screen and (max-width: 1023px) {
  .f121-step { width: 100%; }
  .f121-step__body { grid-template-columns: minmax(0, 1fr); }
}


/* ── 10/12 밤 · AI 카드 1 · 3 · 4 스토리 움직임 — JS 가 .f121[data-story] 에 is-anim 을 붙이고 시간표대로 is-in · is-on · is-out 을 붙임 ── */
.f121-stack { display: grid; }
.f121-stack > * { grid-area: 1 / 1; }
.f121:not(.is-anim) [data-out] { display: none; }
.f121.is-anim [data-at] { transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.f121.is-anim [data-at]:not(.is-in) { opacity: 0; transform: translateY(6px); }
.f121.is-anim [data-out] { transition: opacity 0.3s ease; }
.f121.is-anim [data-out].is-out { opacity: 0; }
.f121.is-anim.is-rewind [data-at] { opacity: 0 !important; transition: opacity 0.3s ease; }
/* 1 · 작성 중 → 워키 생성 완료 · 위험성 칸 켜짐 */
.f121-gen { position: absolute; top: 20px; right: 22px; display: grid; }
.f121-gen > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.f121-gen__run { border: 1px solid var(--wl1002-line); background: var(--wl1002-white); color: var(--wl1002-state-progress); }
.f121-gen__done { background: var(--wl1002-screen); color: var(--wl1002-text-main); }
.f121-gen__done svg { width: 12px; height: 12px; padding: 2px; border-radius: 50%; background: var(--wl1002-text-main); fill: none; stroke: var(--wl1002-white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.f121-gen .f121-spin { width: 11px; height: 11px; border-width: 1.5px; }
.f121.is-anim .f121-score p[data-on] { transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.f121.is-anim .f121-score p[data-on]:not(.is-on) { border-color: transparent; background: var(--wl1002-screen); color: var(--wl1002-text-sub); }
.f121.is-anim .f121-score p[data-on]:not(.is-on) b { color: var(--wl1002-text-main); }
.f121.is-anim .f121-score p.is-after.is-on { animation: f121-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes f121-pop { 40% { transform: scale(1.12); } }
/* 3 · 살펴보는 중 → 근거 설명 → 수정안 추가 줄 그어짐 */
.f121-wait { margin: 8px 0 0; font: var(--wl1002-small); color: var(--wl1002-text-sub); }
.f121-wait b { display: flex; align-items: center; gap: 8px; color: var(--wl1002-text-main); }
.f121-wait span { display: block; margin-top: 2px; font-size: 12px; }
.f121-fix__box mark { display: block; }
.f121.is-anim .f121-fix__box mark[data-at] { transition: clip-path 1.6s cubic-bezier(0.4, 0, 0.2, 1); }
.f121.is-anim .f121-fix__box mark[data-at]:not(.is-in) { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); }
.f121.is-anim .f121-fix__box mark[data-at].is-in { clip-path: inset(0 0 0 0); }
/* 4 · 입력 타이핑 → 분석 → 네 가지 확인 → 찾았어요 */
.f121-input__text.is-placeholder { color: var(--wl1002-sub); }
.f121.is-anim .f121-input b { transition: transform 0.2s ease, background 0.2s ease; }
.f121.is-anim .f121-input b:not(.is-on) { background: var(--wl1002-sub); }
.f121.is-anim .f121-input b.is-on { animation: f121-press 0.45s ease; }
@keyframes f121-press { 35% { transform: scale(0.92); } }
.f121-assist__ask { display: flex; align-items: center; gap: 8px; }
.f121-assist__ask--run { color: var(--wl1002-state-progress); }
.f121-assist__ask--done svg { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: var(--wl1002-state-progress); fill: none; stroke: var(--wl1002-white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.f121-assist__ask--done { color: var(--wl1002-state-progress); }
.f121-assist__ask .f121-spin { width: 12px; height: 12px; border-width: 1.5px; }
.f121.is-anim .f121-checks li { transition: color 0.3s ease; }
.f121.is-anim .f121-checks li svg { transition: stroke 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.f121.is-anim .f121-checks li[data-on]:not(.is-on) { color: var(--wl1002-sub); }
.f121.is-anim .f121-checks li[data-on]:not(.is-on) svg { stroke: var(--wl1002-line); transform: scale(0.8); }
@media (prefers-reduced-motion: reduce) {
  .f121.is-anim * { transition: none !important; animation: none !important; }
}
@media screen and (max-width: 1023px) {
  .f121-gen { position: static; justify-items: start; margin: 0 0 10px; }
}


/* ── 10/12 밤 · AI 섹션 줄 짜임 (지현 님 「관련 법령 제거 · 레이아웃을 기존 좌측 썸네일 우측 내용으로」) — 예전 기능 섹션 값 그대로(판 · 글 1 : 1 · 사이 96 · 판 512 · 줄 사이 96)
   판 안 조각은 위 · 왼쪽 48 에서 시작해 오른쪽 · 아래는 판이 잘라 냄(카드 때와 같은 결) ── */
.wl1002-ai__panel { position: relative; display: block; height: 512px; min-height: 0; padding: 48px 0 0 48px; overflow: hidden; }
.wl1002-ai__panel .f121,
.wl1002-ai__panel .f121-vlm { height: 100%; }
.wl1002-ai__panel .f121-step,
.wl1002-ai__panel .f121-assist { width: calc(100% - 48px); }
.wl1002-ai__panel .f121-vlm__head { width: calc(100% - 48px); }
@media screen and (max-width: 1023px) {
  .wl1002-ai__panel { height: 400px; padding: 24px 0 0 24px; }
  .wl1002-ai__panel .f121-step,
  .wl1002-ai__panel .f121-assist,
  .wl1002-ai__panel .f121-vlm__head { width: calc(100% - 24px); }
}

/* 검토 줄(워키 개선) 화면 판 가운데 (10/12 밤 지현 님 「이거 컴포넌트 중앙으로」) — 판 안 위아래 · 좌우 가운데 · 휴대폰은 판 높이를 내용에 맞춤 */
.wl1002-ai__panel--center { display: flex; align-items: center; justify-content: center; padding: 48px; }
.wl1002-ai__panel--center .f121 { width: 100%; height: auto; }
.wl1002-ai__panel--center .f121-assist { position: static; width: 100%; }
@media screen and (max-width: 1023px) {
  .wl1002-ai__panel--center { height: auto; padding: 24px; }
  .wl1002-ai__panel--center .f121-assist { width: 100%; }
}

/* ── 10/13 · AI 섹션 두 줄 (지현 님 「박스의 중앙 · 랜딩 톤 · 폰트 한 단계 낮게 · 뭐가 AI스러운지 녹여서」) ── */
.wl1002-ai__panel--center .f121-step { position: static; width: 100%; }
.f121-step__no { font-weight: 600; }
.f121-step__name { font-weight: 600; }
.f121-step__factor { font-weight: 600; }
.f121-type-ghost { visibility: hidden; }
.f121:not(.is-anim) .f121-type-ghost { visibility: visible; }
.f121:not(.is-anim) .f121-step__factor [data-type] { display: none; }
.f121-step__factor [data-type].is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: var(--wl1002-state-progress); animation: f121-caret 0.8s steps(1) infinite; }
@keyframes f121-caret { 50% { opacity: 0; } }
.f121-agent { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 10px 12px; border-radius: 12px; background: var(--wl1002-screen); }
.f121-agent__face { position: relative; flex: 0 0 32px; width: 32px; height: 32px; }
.f121-agent__face img { position: relative; z-index: 1; display: block; width: 32px; height: 32px; }
.f121-agent__face::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(from 0deg, var(--wl1002-state-progress), transparent 75%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), currentColor calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), currentColor calc(100% - 2px)); animation: f121-spin 1.1s linear infinite; transition: opacity 0.3s ease; }
.f121-agent:has(.f121-agent__check.is-in) .f121-agent__face::before,
.f121:not(.is-anim) .f121-agent__face::before { opacity: 0; }
.f121-agent__check { position: absolute; right: -4px; bottom: -4px; z-index: 2; display: grid; place-items: center; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid var(--wl1002-screen); border-radius: 50%; background: var(--wl1002-state-done); }
.f121-agent__check svg { width: 9px; height: 9px; fill: none; stroke: var(--wl1002-white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.f121-agent__name { margin: 0; font-size: 12px; line-height: 16px; color: var(--wl1002-sub); }
.f121-agent__status { margin: 2px 0 0; font: var(--wl1002-small); font-weight: 500; color: var(--wl1002-text-main); }
.f121-agent__run { background: linear-gradient(90deg, var(--wl1002-text-sub) 0%, var(--wl1002-state-progress) 40%, var(--wl1002-text-sub) 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: f121-shimmer 1.8s linear infinite; }
@keyframes f121-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes f121-ai-fill { from { background-color: var(--wl1002-state-progress-fill); box-shadow: 0 0 0 4px var(--wl1002-state-progress-fill); } to { background-color: transparent; box-shadow: 0 0 0 4px transparent; } }
.f121.is-anim .f121-step__body li.is-in { border-radius: 4px; animation: f121-ai-fill 1.2s ease-out; }

.wl1002-ai__panel--center .f121-vlm { width: 100%; height: auto; }
.wl1002-ai__panel--center .f121-vlm__head { width: 100%; }
.wl1002-ai__panel--vlm .f121-vlm__row { gap: 16px; width: 692px; margin-left: calc((100% - 692px) / 2); }
.wl1002-ai__panel--vlm .f121-scan { flex-basis: 220px; }
.f121-vlm__head { font-weight: 500; }
.f121-scan__badge { font-weight: 600; }
.f121-scan__badge--done { background: var(--wl1002-white); color: var(--wl1002-text-main); box-shadow: 0 1px 4px rgba(17, 24, 39, 0.12); }
.f121-scan__badge--done svg { stroke: var(--wl1002-state-done); }
.f121-scan__title { font-weight: 600; }
.f121-scan__tags li { border: 0; background: color-mix(in srgb, var(--wl1002-error) 10%, transparent); color: var(--wl1002-error); font-weight: 500; }
.wl1002-ai__note { margin-top: var(--wl1002-space-24); font: var(--wl1002-small); font-size: 13px; letter-spacing: var(--wl1002-tracking); color: var(--wl1002-sub); text-align: right; }
@media screen and (max-width: 1023px) {
  .wl1002-ai__panel--vlm .f121-vlm__row { gap: 12px; width: 552px; margin-left: calc((100% - 552px) / 2); }
  .wl1002-ai__panel--vlm .f121-scan { flex-basis: 176px; }
}
.f121-scan__veil i:nth-child(1) { display: none; }
/* 워키 개선 입력칸 아이콘 = 랜딩 「일이 끝까지」 섹션의 웍스 AI 아이콘(그라데이션 별 · 10/13 지현 님) */
.f121-input .f121-input__ai { flex: 0 0 22px; width: 22px; height: 22px; fill: none; }
.f121-input__ai stop:nth-child(1) { stop-color: var(--wl1002-ai-1); }
.f121-input__ai stop:nth-child(2) { stop-color: var(--wl1002-ai-2); }
.f121-input__ai stop:nth-child(3) { stop-color: var(--wl1002-ai-3); }
/* 워키 활동 줄 한 줄로 (10/13 지현 님 「두 줄로 나누지 말고 한 줄 · 여백 많으니까」) — 이름(회색 작은 글) 옆에 상태 */
.f121-agent__text { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.f121-agent__name { flex: none; }
.f121-agent__status { margin: 0; }
/* AI 세 줄 제목 굵기 한 단계 올림 400 → 500 (10/13 지현 님) */
.wl1002-ai__row .wl1002-features__name { font-weight: 500; }
/* 휴대폰 · 태블릿 AI 판 높이 = 「현장 사진으로」 판 기준 360 고정 (10/13 지현 님 「컨텐츠가 길어져 한 화면에 안 보임 · 1번 기준으로」) — 긴 카드는 위에서 시작해 아래가 판 끝에서 흐려지며 잘림 */
@media screen and (max-width: 1023px) {
  .wl1002-ai__panel--center { position: relative; height: 360px; overflow: hidden; }
  .wl1002-ai__panel--center:not(.wl1002-ai__panel--vlm) { align-items: flex-start; }
  .wl1002-ai__panel--center:not(.wl1002-ai__panel--vlm)::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 72px; background: linear-gradient(180deg, color-mix(in srgb, var(--wl1002-screen) 0%, transparent), var(--wl1002-screen)); pointer-events: none; }
}
/* 휴대폰 · 태블릿 워키 활동 줄은 두 줄 (10/13 지현 님) — 이름 위 · 상태 아래 */
@media screen and (max-width: 1023px) {
  .f121-agent__text { display: block; }
  .f121-agent__status { margin-top: 2px; }
}
