.wf-wrap{max-width:1900px;margin:0 auto;padding:24px 22px 60px;color:#172536}
.wf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.wf-heading h1,.wf-detail h1{margin:0 0 4px;font-size:26px}
.wf-heading p{margin:0;color:#64748b}
.wf-role{font-size:13px;color:#475569}
.wf-board{display:grid;grid-template-columns:repeat(8,minmax(220px,1fr));gap:12px;overflow-x:auto;padding-bottom:20px}
.wf-col{min-height:420px;background:#eef2f8;border:1px solid #dce3ed;border-radius:12px;padding:10px}
.wf-col>header{display:flex;justify-content:space-between;align-items:center;padding:8px 8px 12px;font-size:15px}
.wf-col>header span{background:#dce6f5;border-radius:20px;padding:2px 9px}
.wf-card{display:flex;flex-direction:column;gap:8px;margin-bottom:9px;padding:13px;background:#fff;border:1px solid #d9e1ec;border-radius:10px;text-decoration:none;color:#172536;box-shadow:0 1px 3px #1118270d}
.wf-card:hover{border-color:#5e7ff1;box-shadow:0 3px 9px #11182720}
.wf-card strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.wf-card span{font-size:12px;color:#334155}
.wf-card small{font-size:11px;color:#64748b}
.wf-card .wf-agent{display:block;padding:6px 8px;border-radius:6px;background:#e9efff;color:#1e40af;font-weight:700}
.wf-card .wf-aside-request{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;white-space:pre-line;color:#334155;background:#fff;border-left:3px solid #0e7490;padding:8px}
.wf-col-orch_progress{background:#edf4ff}.wf-col-orch_progress>header{color:#1d4ed8}
.wf-col-orch_done{background:#f4f0ff}.wf-col-orch_done>header{color:#6d28d9}
.wf-col-aside_request{background:#e9f8fb}.wf-col-aside_request>header{color:#0e7490}
.wf-col-aside_progress{background:#e6f7ff}.wf-col-aside_progress>header{color:#0369a1}
.wf-col-aside_done{background:#eafaf3}.wf-col-aside_done>header{color:#047857}
.wf-col-orch_review{background:#fff7e8}.wf-col-orch_review>header{color:#a16207}
.wf-col-final{background:#e6f6ee}.wf-col-final>header{color:#067647}
.wf-new,.wf-panel{background:#fff;border:1px solid #dce3ed;border-radius:12px;padding:18px;margin-bottom:18px}
.wf-new summary{font-weight:700;cursor:pointer}
.wf-new form,.wf-panel form{display:grid;gap:14px;margin-top:16px}
.wf-new label,.wf-panel label{display:grid;gap:5px;font-weight:600}
.wf-new input,.wf-new textarea,.wf-panel input,.wf-panel textarea,.wf-panel select{width:100%;box-sizing:border-box;padding:10px 12px;background:#fff;color:#172536;border:1px solid #cbd5e1;border-radius:7px;font:inherit}
.wf-primary{justify-self:start;padding:10px 17px;border:0;border-radius:7px;background:#4f66df;color:white;cursor:pointer;font:inherit;font-weight:700}
.wf-actions{display:flex;flex-wrap:wrap;gap:10px}.wf-rework{background:#c2410c}
.wf-link-button{display:inline-block;text-decoration:none}
.wf-detail{max-width:1180px}.wf-detail>a{display:inline-block;margin-bottom:14px}
.wf-summary{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0 20px}
.wf-summary span{padding:9px 12px;border-radius:7px;background:#eef2f8}
.wf-panel h2{font-size:18px;margin:0 0 14px}
.wf-verdict-warning{padding:14px 16px;border:2px solid #b42318;border-radius:8px;background:#fff1f0;color:#912018;font-size:18px;font-weight:700;line-height:1.5}
.wf-review-evidence{margin:16px 0;padding:16px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}
.wf-review-evidence h3{margin:0 0 8px;font-size:17px}
.wf-review-meta{margin:0 0 12px;color:#475569}
.wf-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
/* 작업·테스트 보고(orch_report): 비개발자도 읽기 쉽게 큰 글자·넓은 줄 간격 */
.wf-report{margin:0 0 18px;padding:18px 20px;border:2px solid #2563eb;border-radius:10px;background:#f5f8ff;font-size:17px;line-height:1.75}
.wf-report-title{margin:0 0 6px;font-size:20px;font-weight:800}
.wf-report-index{display:block;margin:4px 0 6px;color:#475569;font-size:13px;font-weight:700}
.wf-report-separator{border:0;border-top:1px solid #cbd5e1;margin:18px 0}
.wf-report-section{margin:16px 0 0}.wf-report-section h4{margin:0 0 6px;font-size:18px;font-weight:800;color:#1e3a8a}
.wf-report-section p{margin:6px 0;overflow-wrap:anywhere}.wf-report-section ul{margin:6px 0;padding-left:1.4em}.wf-report-section li{margin:4px 0;overflow-wrap:anywhere}
.wf-report-shots{display:grid;gap:16px;margin:18px 0 6px}
.wf-report-shot{margin:0}.wf-report-shot figcaption{margin:0 0 6px;font-weight:700;overflow-wrap:anywhere}
.wf-report-shot img{display:block;max-width:100%;height:auto;border:1px solid #cbd5e1;border-radius:6px;background:#fff}
.wf-report-empty{margin:0 0 14px;padding:12px 14px;border:1px dashed #94a3b8;border-radius:8px;color:#334155;font-size:17px}
.wf-event{border-top:1px solid #e2e8f0;padding:17px 0}
.wf-event:first-of-type{border-top:0}.wf-event header{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.wf-event header span,.wf-event small{color:#64748b;font-size:12px}.wf-event .wf-text{margin:12px 0}
.wf-file{display:inline-block;margin:3px 8px 3px 0}
.wf-shot{margin:12px 0}
.wf-shot figcaption{font-size:13px;color:#64748b;margin-top:4px;overflow-wrap:anywhere}
.wf-shot img{max-width:100%;height:auto;border:1px solid #cbd5e1;border-radius:6px;display:block}
.wf-filter{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 16px}.wf-filter label{display:grid;gap:4px;font-weight:600}.wf-filter input{padding:8px;border:1px solid #cbd5e1;border-radius:7px}.wf-filter a{padding:9px}
@media(max-width:1900px){.wf-board{grid-template-columns:repeat(8,240px)}}
@media(max-width:700px){.wf-wrap{padding:14px}.wf-heading{align-items:flex-start;flex-direction:column}}
.wf-poll-notice{position:fixed;top:0;left:0;right:0;background:#fbbf24;color:#000;text-align:center;padding:10px;font-weight:bold;z-index:9999}

.wf-live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #22c55e;
  margin-left: 6px;
  vertical-align: middle;
  animation: wf-live-pulse 1.2s infinite;
}
@keyframes wf-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-live-dot {
    animation: none;
  }
}
.aside-event-item { margin-bottom: 12px; padding: 12px; border: 1px solid #dce3ed; background: #fff; border-radius: 8px; }
.aside-event-item > div:first-child { font-size: 13px; margin-bottom: 6px; }
.aside-event-item .wf-text { margin-top: 6px; }

.wf-panel { min-width: 0; }
.wf-shot, .wf-report-shot { margin: 12px 0; max-width: 100%; }
.wf-shot img, .wf-report-shot img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    cursor: zoom-in;
}
.wf-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}
.wf-lightbox img {
    margin: auto;
    max-width: 95vw;
    width: auto;
    height: auto;
    max-height: none;
}
.wf-lightbox .close-msg {
    position: fixed;
    bottom: 20px;
    color: #ccc;
    font-size: 13px;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 4px;
}
