/* kit(템플릿) 편 화면 — kit.js. 폰 375폭 먼저, 눌리는 것은 44px 이상 */
.kit-pick{width:min(640px,100%);margin-top:16px}
.kit-pick h2{font-size:13px;font-weight:700;color:var(--muted);margin:0 0 8px}
.kit-chips{display:flex;flex-direction:column;gap:8px}
.kit-chip{display:flex;align-items:center;gap:12px;width:100%;min-height:72px;padding:8px 14px 8px 8px;border-radius:14px;background:#fff;border:1.5px solid var(--line);text-align:left;box-sizing:border-box}
.kit-chip:hover{border-color:var(--line2)}
.kit-chip.on{border-color:var(--pri);background:var(--pri-soft)}
.kit-chip img{flex:none;width:40px;height:71px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}
.kit-chip .kt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.kit-chip .kt b{font-size:15px;font-weight:700;color:var(--ink)}
.kit-chip .kt small{font-size:12.5px;color:var(--muted);line-height:1.4}
.kit-chip .kck{flex:none;width:20px;height:20px;border-radius:50%;border:2px solid var(--line2);background:#fff;box-sizing:border-box}
.kit-chip.on .kck{border-color:var(--pri);background:var(--pri);box-shadow:inset 0 0 0 3px #fff}
.kit-hint{margin:8px 2px 0}
.composer.kit-on .attach{display:none}

.kit-mk{display:flex;flex-direction:column;gap:14px;max-width:560px;margin:0 auto;padding:4px 0}
.kit-mk h3{font-size:17px;font-weight:800;margin:0}
.kit-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.kit-steps li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:#fff;min-height:56px;box-sizing:border-box}
.kit-steps li.cur{border-color:var(--pri-line);background:var(--pri-soft)}
.kit-steps li.todo{opacity:.55}
.kit-steps .kd{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:800;color:var(--ok);background:var(--ok-soft)}
.kit-steps li.cur .kd{background:transparent;color:var(--pri)}
.kit-steps li.todo .kd{background:var(--sub);border:2px solid var(--line2);box-sizing:border-box}
.kit-steps .ring{width:22px;height:22px;border-width:3px}
.kit-steps .kl{display:flex;flex-direction:column;gap:2px}
.kit-steps .kl b{font-size:15px;font-weight:700}
.kit-steps .kl small{font-size:12.5px;color:var(--muted)}
.kit-acts{display:flex;gap:8px;flex-wrap:wrap}
.kit-acts .btn{height:44px;min-width:44px}
.kit-acts .btn.pri{flex:1;min-width:150px}

.vw-kit #vwTools,.vw-kit #vwPanel{display:none}
.kit-vw{width:100%;display:flex;flex-direction:column;gap:8px;margin-top:10px}
.kit-warns{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.kit-warns li{padding:9px 12px;border-radius:10px;background:var(--warn-soft,#FFF4E0);border:1px solid var(--warn-line,#F5D9A8);color:#7A3F06;font-size:13.5px;line-height:1.45}
.kit-warns small{opacity:.75}
.kit-re .btn{height:44px;width:100%}
@media (min-width:761px){.kit-re .btn{width:auto}.kit-chips{flex-direction:row;flex-wrap:wrap}.kit-chip{width:auto;min-width:300px}}

/* 기본 프롬프트 시트 + 미리 대화 위 레퍼런스 띠 */
.kit-refbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px;padding:6px 6px 6px 12px;border-radius:12px;background:var(--pri-soft);border:1px solid var(--pri-line);font-size:13px;color:var(--ink);box-sizing:border-box;max-width:100%}
.kit-refbar .kr-l{flex:1;min-width:0;overflow-wrap:anywhere}
.composer.kit-on textarea{overflow-y:auto;max-height:50vh}

/* 관리자에게만 보이는 시험 중(trial) 템플릿 표시 */
.tpl .trialtag{position:absolute;right:8px;top:8px;background:#B45309;color:#fff;font-size:11px;font-weight:700;border-radius:5px;padding:1px 7px}
.tpli .trialtag-d{background:#FEF3C7;color:#92400E}
