/* portal_task_detail_kc_discovery.html — extracted page CSS (Session 18, Phase A) */

/* --- block 1 of 1 --- */
.kcf{max-width:760px;margin:0 auto}
.kcf-head{background:#fff;border-radius:10px;padding:18px 20px;border-left:6px solid #1e40af;margin-bottom:16px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.kcf-head h1{margin:0 0 6px;font-size:20px;color:#1e40af}
.kcf-head p{margin:0;color:#6b7280;font-size:14px}
.kcf-steps{list-style:none;padding:0;margin:0 0 18px}
.kcf-steps li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #e5e7eb;align-items:flex-start}
.kcf-steps li:last-child{border-bottom:0}
.kcf-steps .n{flex:0 0 36px;height:36px;border-radius:50%;background:#e5e7eb;color:#6b7280;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}
.kcf-steps li.done .n{background:#dcfce7;color:#15803d}
.kcf-steps li.active .n{background:#1e40af;color:#fff}
.kcf-steps .b{flex:1}
.kcf-steps .lbl{font-weight:600;font-size:15px;color:#1f2937;display:block}
.kcf-steps li.active .lbl{color:#1e40af;font-weight:700}
.kcf-steps .sub{font-size:13px;color:#6b7280;margin-top:2px}
.kcf-card{background:#fff;border-radius:10px;padding:22px;box-shadow:0 1px 3px rgba(0,0,0,.05);margin-bottom:16px;display:none}
.kcf-card.visible{display:block}
.kcf-card h2{margin:0 0 12px;font-size:18px;color:#1e40af}
.kcf-card p{margin:0 0 14px;font-size:15px;line-height:1.6}
.kcf-card .hint{color:#6b7280;font-size:13px}
.kcf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;background:#1e40af;color:#fff;border:0;border-radius:8px;font-weight:700;font-size:15px;cursor:pointer;text-decoration:none;width:100%;max-width:320px}
.kcf-btn:hover{background:#1e3a8a}
.kcf-btn.sec{background:#fff;color:#1e40af;border:2px solid #1e40af}
.kcf-btn:focus{outline:3px solid #1e40af;outline-offset:2px}
.kcf-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.kcf-row .kcf-btn{flex:1;min-width:140px}
.kcf-prompt{background:#0b1220;color:#e5e7eb;padding:14px;border-radius:8px;max-height:280px;overflow:auto;font-size:12px;line-height:1.4;white-space:pre-wrap;font-family:ui-monospace,monospace;margin-bottom:12px}
.kcf-ta{width:100%;min-height:200px;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-family:ui-monospace,monospace;font-size:13px;box-sizing:border-box}
.kcf-ta:focus{outline:3px solid #1e40af;outline-offset:2px}
.kcf-ok{background:#ecfdf5;border-left:5px solid #16a34a;color:#166534;padding:14px 16px;border-radius:6px;margin-bottom:14px;font-size:14px}
.kcf-warn{background:#fffbeb;border-left:5px solid #d97706;color:#92400e;padding:14px 16px;border-radius:6px;margin-bottom:14px;font-size:14px}
.kcf-err{background:#fef2f2;border-left:5px solid #dc2626;color:#991b1b;padding:14px 16px;border-radius:6px;margin-bottom:14px;font-size:14px}
.kcf-blocked{background:#fef2f2;border:2px solid #dc2626;border-radius:10px;padding:24px;text-align:center;max-width:600px;margin:40px auto}
.kcf-blocked h2{color:#991b1b;margin:0 0 12px}
.kcf-blocked p{margin:8px 0;font-size:15px;color:#7f1d1d}
@media(min-width:561px){
  .kcf-steps{display:flex;justify-content:space-between;gap:4px}
  .kcf-steps li{flex-direction:column;align-items:center;text-align:center;border-bottom:0;flex:1;padding:8px 4px}
  .kcf-steps .b{text-align:center}
  .kcf-steps .sub{font-size:11px}
  .kcf-steps .lbl{font-size:12px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
