/* «신규 문의»(ops_new_leads, ADR 0188) — 오늘 업무 v2 안에만 둔다.
   오늘 업무 부품(.fx-td-v2-sech·chip·btn·choice-opt·empty·note, .fx-td-sheet)을
   재사용하고 새 클래스는 fx-td-v2-nl- 접두사로만 둔다(설계서 5절 대응표).
   색은 오늘 업무 토큰(--td-*)만, 브랜드 색 없음. 터치 44px, 메모 16px,
   가로 넘침 0, 라이트·다크. 시트는 body 끝 포털이라 범위를 한 번 더 받는다. */
.fx-today-desk .fx-td-v2-nl{display:flex;flex-direction:column;gap:12px;min-width:0;
  border:1px solid var(--td-border);border-radius:var(--td-radius);background:var(--td-card);
  padding:16px;color:var(--td-text);font-variant-numeric:tabular-nums}
.fx-today-desk .fx-td-v2-nl-title{margin:0;font-size:17px;font-weight:700;line-height:1.4}
.fx-today-desk .fx-td-v2-nl-note{font-size:13px;color:var(--td-muted)}
.fx-today-desk .fx-td-v2-nl-flow{margin:0;font-size:14px}
.fx-today-desk .fx-td-v2-nl-flow b{font-weight:700}
.fx-today-desk .fx-td-v2-nl-off{border:1px dashed var(--td-border);border-radius:var(--td-radius);
  padding:10px 12px;display:flex;flex-direction:column;gap:2px;font-size:14px}
.fx-today-desk .fx-td-v2-nl-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
.fx-today-desk .fx-td-v2-nl-list{display:flex;flex-direction:column;gap:12px;min-width:0}
.fx-today-desk .fx-td-v2-nl-group{display:flex;flex-direction:column;gap:6px;min-width:0}
.fx-today-desk .fx-td-v2-nl-ghead{display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-size:13px;color:var(--td-muted);min-height:44px;padding:0 4px}
.fx-today-desk button.fx-td-v2-nl-ghead{width:100%;background:none;border:0;color:inherit;font:inherit;
  cursor:pointer;text-align:left}
.fx-today-desk .fx-td-v2-nl-ghead b{font-weight:700;color:var(--td-text)}
.fx-today-desk .fx-td-v2-nl-ghead button{background:none;border:0;color:inherit;font:inherit;
  cursor:pointer;min-height:44px;padding:8px 12px}
/* 명단 줄 (60px 이상, 한 줄 말줄임) */
.fx-today-desk .fx-td-v2-nl-row{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;
  min-height:64px;width:100%;text-align:left;background:var(--td-card);color:var(--td-text);
  border:1px solid var(--td-border);border-radius:var(--td-radius);padding:10px 12px;cursor:pointer;font:inherit}
.fx-today-desk .fx-td-v2-nl-row.is-on{border-left:4px solid var(--td-accent);padding-left:9px}
.fx-today-desk .fx-td-v2-nl-name{font-size:15px;font-weight:700;line-height:1.4;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-today-desk .fx-td-v2-nl-src{font-size:13px;color:var(--td-muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-today-desk .fx-td-v2-nl-chip{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
/* 뼈대 3줄 */
.fx-today-desk .fx-td-v2-nl-skel{display:flex;flex-direction:column;gap:8px}
.fx-today-desk .fx-td-v2-nl-skel i{display:block;height:56px;border-radius:var(--td-radius);background:var(--td-border);opacity:.5}
/* 처리 칸 — 카드 안(PC)과 시트(폰) 두 범위 */
.fx-today-desk .fx-td-v2-nl-det,
.fx-td-v2-nl-sheet .fx-td-v2-nl-dbody{min-width:0}
.fx-today-desk .fx-td-v2-nl-det{border-left:1px solid var(--td-border);padding-left:16px}
.fx-today-desk .fx-td-v2-nl-dbody,
.fx-td-v2-nl-sheet .fx-td-v2-nl-dbody{display:flex;flex-direction:column;gap:14px;min-width:0}
.fx-today-desk .fx-td-v2-nl-dhead,
.fx-td-v2-nl-sheet .fx-td-v2-nl-dhead{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.fx-today-desk .fx-td-v2-nl-dhead h3,
.fx-td-v2-nl-sheet .fx-td-v2-nl-dhead h3{margin:0;font-size:17px;font-weight:700}
.fx-today-desk .fx-td-v2-nl-meta,
.fx-td-v2-nl-sheet .fx-td-v2-nl-meta{flex:1 1 100%;font-size:13px;color:var(--td-muted)}
.fx-today-desk .fx-td-v2-nl-inq,
.fx-td-v2-nl-sheet .fx-td-v2-nl-inq{border:1px solid var(--td-border);border-radius:var(--td-radius);
  padding:10px 12px;background:var(--td-soft)}
.fx-today-desk .fx-td-v2-nl-inq dl,
.fx-td-v2-nl-sheet .fx-td-v2-nl-inq dl{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);
  gap:4px 10px;font-size:14px}
.fx-today-desk .fx-td-v2-nl-inq dt,
.fx-td-v2-nl-sheet .fx-td-v2-nl-inq dt{color:var(--td-muted);white-space:nowrap}
.fx-today-desk .fx-td-v2-nl-inq dd,
.fx-td-v2-nl-sheet .fx-td-v2-nl-inq dd{margin:0;overflow-wrap:anywhere}
.fx-today-desk .fx-td-v2-nl-sec,
.fx-td-v2-nl-sheet .fx-td-v2-nl-sec{display:flex;flex-direction:column;gap:8px;min-width:0}
.fx-today-desk .fx-td-v2-nl-sec.is-need .fx-td-v2-nl-picks,
.fx-today-desk .fx-td-v2-nl-sec.is-need .fx-td-v2-nl-opts,
.fx-td-v2-nl-sheet .fx-td-v2-nl-sec.is-need .fx-td-v2-nl-picks,
.fx-td-v2-nl-sheet .fx-td-v2-nl-sec.is-need .fx-td-v2-nl-opts{outline:2px dashed var(--td-accent);outline-offset:4px;border-radius:var(--td-radius)}
.fx-today-desk .fx-td-v2-nl-secl,
.fx-td-v2-nl-sheet .fx-td-v2-nl-secl{margin:0;font-size:14px;font-weight:700}
.fx-today-desk .fx-td-v2-nl-secl small,
.fx-td-v2-nl-sheet .fx-td-v2-nl-secl small{font-weight:400;color:var(--td-muted)}
.fx-today-desk .fx-td-v2-nl-call,
.fx-td-v2-nl-sheet .fx-td-v2-nl-call{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.fx-today-desk .fx-td-v2-nl-num,
.fx-td-v2-nl-sheet .fx-td-v2-nl-num{font-size:17px;font-weight:700;letter-spacing:.02em}
.fx-today-desk .fx-td-v2-nl-opts,
.fx-td-v2-nl-sheet .fx-td-v2-nl-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fx-today-desk .fx-td-v2-nl-opts .fx-td-choice-opt,
.fx-td-v2-nl-sheet .fx-td-v2-nl-opts .fx-td-choice-opt{min-height:58px}
.fx-today-desk .fx-td-v2-nl-picks,
.fx-td-v2-nl-sheet .fx-td-v2-nl-picks{display:flex;flex-wrap:wrap;gap:8px}
.fx-today-desk .fx-td-v2-nl-pick,
.fx-td-v2-nl-sheet .fx-td-v2-nl-pick{position:relative;min-height:36px;padding:6px 14px;font:inherit;font-size:14px;
  border:1px solid var(--td-border);border-radius:999px;background:var(--td-card);color:var(--td-text);cursor:pointer}
.fx-today-desk .fx-td-v2-nl-pick::after,
.fx-td-v2-nl-sheet .fx-td-v2-nl-pick::after{content:"";position:absolute;left:0;right:0;top:-4px;bottom:-4px}
.fx-today-desk .fx-td-v2-nl-pick[aria-pressed="true"],
.fx-td-v2-nl-sheet .fx-td-v2-nl-pick[aria-pressed="true"]{background:var(--td-text);border-color:var(--td-text);color:var(--td-card)}
.fx-today-desk .fx-td-v2-nl-memo,
.fx-td-v2-nl-sheet .fx-td-v2-nl-memo{width:100%;min-height:88px;font:inherit;font-size:16px;line-height:1.5;
  border:1px solid var(--td-border);border-radius:var(--td-radius);background:var(--td-card);
  color:var(--td-text);padding:10px 12px;resize:vertical;box-sizing:border-box}
.fx-today-desk .fx-td-v2-nl-hist,
.fx-td-v2-nl-sheet .fx-td-v2-nl-hist{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;font-size:13px}
.fx-today-desk .fx-td-v2-nl-hist li,
.fx-td-v2-nl-sheet .fx-td-v2-nl-hist li{display:flex;gap:8px;min-width:0}
.fx-today-desk .fx-td-v2-nl-hist time,
.fx-td-v2-nl-sheet .fx-td-v2-nl-hist time{flex:none;color:var(--td-muted)}
.fx-today-desk .fx-td-v2-nl-hist span,
.fx-td-v2-nl-sheet .fx-td-v2-nl-hist span{overflow-wrap:anywhere}
.fx-today-desk .fx-td-v2-nl-donebox,
.fx-td-v2-nl-sheet .fx-td-v2-nl-donebox{border:1px solid var(--td-border);border-radius:var(--td-radius);
  padding:12px;display:flex;flex-direction:column;gap:4px;font-size:14px;background:var(--td-soft)}
.fx-today-desk .fx-td-v2-nl-foot,
.fx-td-v2-nl-sheet .fx-td-v2-nl-foot{display:flex;flex-direction:column;gap:8px;
  position:sticky;bottom:0;background:var(--td-card);padding:8px 0 calc(8px + env(safe-area-inset-bottom))}
.fx-today-desk .fx-td-v2-nl-why,
.fx-td-v2-nl-sheet .fx-td-v2-nl-why{margin:0;font-size:13px;color:var(--td-text)}
.fx-today-desk .fx-td-v2-nl-foot .fx-td-btn,
.fx-td-v2-nl-sheet .fx-td-v2-nl-foot .fx-td-btn{min-height:50px}
/* 알림 한 줄 */
.fx-today-desk .fx-td-v2-nl-toast,
.fx-td-v2-nl-sheet .fx-td-v2-nl-toast{min-height:24px;font-size:14px}
.fx-today-desk .fx-td-v2-nl-toast:empty,
.fx-td-v2-nl-sheet .fx-td-v2-nl-toast:empty{display:none}
/* 알림 + «되돌리기»: 문구와 단추를 한 줄에 */
.fx-today-desk .fx-td-v2-nl-toast.has-act,
.fx-td-v2-nl-sheet .fx-td-v2-nl-toast.has-act{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
.fx-today-desk .fx-td-v2-nl-toast.has-act .fx-td-btn,
.fx-td-v2-nl-sheet .fx-td-v2-nl-toast.has-act .fx-td-btn{margin-top:0}
/* 끝낸 상자의 «고치기»: 왼쪽 붙임 */
.fx-today-desk .fx-td-v2-nl-donebox .fx-td-btn,
.fx-td-v2-nl-sheet .fx-td-v2-nl-donebox .fx-td-btn{align-self:flex-start;margin-top:8px}
/* 칩 변형 중립 대체(어댑터에 아직 없는 is-fill·is-line·is-neon).
   브랜드 스킨이 같은 선택자를 더 높은 명시도로 덮으면 그쪽이 이긴다. */
.fx-today-desk .fx-td-v2-nl .fx-td-v2-chip.is-fill,
.fx-td-v2-nl-sheet .fx-td-v2-chip.is-fill{background:var(--td-text);border-color:var(--td-text);color:var(--td-card)}
.fx-today-desk .fx-td-v2-nl .fx-td-v2-chip.is-line,
.fx-td-v2-nl-sheet .fx-td-v2-chip.is-line{background:transparent}
.fx-today-desk .fx-td-v2-nl .fx-td-v2-chip.is-neon,
.fx-td-v2-nl-sheet .fx-td-v2-chip.is-neon{background:var(--td-accent-fill);border-color:var(--td-accent-fill);color:#fff;font-weight:700}
/* 결과 버튼 두 줄 쌓기 */
.fx-today-desk .fx-td-v2-nl-opts .fx-td-choice-opt,
.fx-td-v2-nl-sheet .fx-td-v2-nl-opts .fx-td-choice-opt{display:flex;flex-direction:column;gap:2px;text-align:left}
.fx-today-desk .fx-td-v2-nl-opts .fx-td-choice-opt span,
.fx-td-v2-nl-sheet .fx-td-v2-nl-opts .fx-td-choice-opt span{font-size:12px;font-weight:400;opacity:.8}
/* 시트 손잡이·닫기 — 오늘 업무 시트 틀에 얹는다 */
.fx-td-v2-nl-sheet.fx-td-sheet{max-height:88%;z-index:21}
.fx-td-sheet-backdrop[data-nl-backdrop]{z-index:20}
/* PC: 명단 + 오른쪽 처리 칸 */
@media (min-width: 769px){
  .fx-today-desk .fx-td-v2-nl-cols{grid-template-columns:minmax(240px,340px) minmax(0,1fr)}
  .fx-today-desk .fx-td-v2-nl-opts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* 폰: 시트로 열리므로 카드 안 처리 칸은 두지 않는다 */
@media (max-width: 768px){
  .fx-today-desk .fx-td-v2-nl{padding:12px}
  .fx-today-desk .fx-td-v2-nl-det{display:none}
}
@media (prefers-reduced-motion: reduce){
  .fx-today-desk .fx-td-v2-nl-skel i{opacity:.35}
}
