/* 메뉴별 튜토리얼 — 어두운 막(대상 주변 4장) + 대상 테두리 + 말풍선 */
.tut-root { position: fixed; inset: 0; z-index: 10050; pointer-events: none; }
.tut-shade { position: fixed; background: rgba(15, 23, 42, 0.55); pointer-events: auto; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.tut-ring { position: fixed; border: 2px solid #fff; border-radius: 8px; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
/* 말풍선이 밝은 영역 위에 올라가도 구분되게 테두리 + 진한 그림자 */
.tut-pop { position: fixed; width: 320px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid #64748b; border-radius: 10px; box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12), 0 20px 40px rgba(15, 23, 42, 0.35); padding: 14px 16px 12px; pointer-events: auto; transition: top 0.2s cubic-bezier(0.4, 0, 0.2, 1), left 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.tut-pop:focus { outline: none; }
.tut-pop-head { display: flex; align-items: center; justify-content: space-between; }
.tut-count { font-size: 11px; color: #64748b; font-weight: 600; }
.tut-x { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: #94a3b8; }
.tut-x:hover { background: #f1f5f9; color: #334155; }
.tut-x .material-symbols-outlined { font-size: 18px; }
.tut-title { margin-top: 4px; font-size: 14px; font-weight: 600; color: #0f172a; }
.tut-body { margin-top: 6px; font-size: 13px; line-height: 1.6; color: #475569; white-space: pre-line; }
.tut-foot { margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.tut-gap { flex: 1; }
.tut-skip { font-size: 12px; color: #64748b; }
.tut-skip:hover { color: #0f172a; text-decoration: underline; }
.tut-btn { height: 30px; padding: 0 12px; font-size: 12px; border: 1px solid #cbd5e1; border-radius: 6px; color: #334155; background: #fff; }
.tut-btn:hover:not(:disabled) { border-color: #94a3b8; }
.tut-btn:disabled { opacity: 0.35; cursor: default; }
.tut-btn.tut-primary { background: #0f172a; border-color: #0f172a; color: #fff; font-weight: 600; }
.tut-btn.tut-primary:hover { background: #1e293b; }
/* 튜토리얼 관리 왼쪽 고른 화면 표시 */
.tut-page.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 40px; max-height: 100%; background: #000; }
/* 업무 매뉴얼 목차 — 고른 화면 표시 */
.manual-item.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 40px; max-height: 100%; background: #000; }
.manual-done { font-variation-settings: 'FILL' 1; }
/* 업무 매뉴얼 오른쪽 — 1920 폭으로 그린 화면을 영역에 맞게 축소(배율은 JS) */
.manual-frame { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
/* 축소된 화면 안에서도 설명글은 크게 — --tut-k(1/배율)만큼 말풍선을 키움(그 외 화면에선 1) */
.tut-pop { width: calc(320px * var(--tut-k, 1)); padding: calc(14px * var(--tut-k, 1)) calc(16px * var(--tut-k, 1)) calc(12px * var(--tut-k, 1)); border-radius: calc(10px * var(--tut-k, 1)); }
.tut-count { font-size: calc(11px * var(--tut-k, 1)); }
.tut-x { width: calc(24px * var(--tut-k, 1)); height: calc(24px * var(--tut-k, 1)); }
.tut-x .material-symbols-outlined { font-size: calc(18px * var(--tut-k, 1)); }
.tut-title { font-size: calc(14px * var(--tut-k, 1)); margin-top: calc(4px * var(--tut-k, 1)); }
.tut-body { font-size: calc(13px * var(--tut-k, 1)); margin-top: calc(6px * var(--tut-k, 1)); }
.tut-foot { margin-top: calc(14px * var(--tut-k, 1)); gap: calc(6px * var(--tut-k, 1)); }
.tut-skip { font-size: calc(12px * var(--tut-k, 1)); }
.tut-btn { height: calc(30px * var(--tut-k, 1)); padding: 0 calc(12px * var(--tut-k, 1)); font-size: calc(12px * var(--tut-k, 1)); border-radius: calc(6px * var(--tut-k, 1)); }
.tut-ring { border-width: calc(2px * var(--tut-k, 1)); }
/* 업무 매뉴얼 목차 — 고른 화면 아래 단계 목록, 지금 단계는 왼쪽 굵은 줄 */
.manual-step { position: relative; }
.manual-step.is-current::before { content: ''; position: absolute; left: -1px; top: 4px; bottom: 4px; width: 2px; background: #0f172a; }
/* 팀별 업무 매뉴얼 — 보기 칸 표시, 수정 기록 창(가운데, 200ms) */
.tm-modal .tm-modal-box { transform: scale(.97); opacity: 0; transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1); }
.tm-modal.is-shown .tm-modal-box { transform: scale(1); opacity: 1; }
.tm-ver.is-current { background: #e2e8f0; font-weight: 600; color: #0f172a; }
