.wf-wrap { display:grid; gap:18px; margin:22px 0; min-width:0; }
.wf-intro { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.wf-intro h2,.wf-wrap h3 { margin:0; }
.wf-intro p { margin:5px 0 0; }
.wf-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.wf-card { min-width:0; }
.wf-heading { display:flex; gap:12px; justify-content:space-between; align-items:start; margin-bottom:14px; }
.wf-kicker { color:var(--muted,#687283); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:6px; }
.wf-progress { white-space:nowrap; border-radius:20px; background:#edf1f6; padding:5px 9px; font-size:12px; font-weight:700; color:#475467; }
.wf-progress.ready { color:#116446; background:#e4f5ed; }
.wf-meter { height:4px; background:#edf1f6; border-radius:6px; overflow:hidden; margin:12px 0; }
.wf-meter i { display:block; height:100%; background:#429778; }
.wf-missing { color:var(--muted,#687283); font-size:12px; margin:0 0 16px; line-height:1.6; }
.wf-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.wf-fields .full { grid-column:1/-1; }
.wf-wrap input:not([type=checkbox]),.wf-wrap select,.wf-wrap textarea { width:100%; box-sizing:border-box; min-width:0; }
.wf-wrap textarea { min-height:66px; resize:vertical; }
.wf-check { display:flex; align-items:center; gap:8px; font-size:13px; line-height:1.45; }
.wf-check input { flex:none; width:16px; height:16px; margin:0; padding:0; accent-color:#327b61; }
.wf-wrap details { border-top:1px solid var(--border,#e5e9ef); margin-top:16px; padding-top:13px; }
.wf-wrap summary { font-weight:650; cursor:pointer; padding:2px 0 10px; }
.wf-entity { border:1px solid var(--border,#e5e9ef); border-radius:9px; padding:12px; margin:0 0 12px; }
.wf-entity-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:10px; }
.wf-actions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-top:16px; }
.wf-save-state { font-size:12px; color:#876124; }
.wf-note { font-size:12px; color:var(--muted,#687283); line-height:1.55; }
.wf-warn { padding:9px 11px; border-radius:7px; background:#fff5df; color:#856018; font-size:12px; margin:10px 0; }
.wf-drop { display:block; padding:18px 12px; border:1px dashed #b4c2cf; background:#f8fafc; border-radius:9px; text-align:center; cursor:pointer; font-size:13px; }
.wf-drop.is-over { background:#e8f5ee; border-color:#429778; }
.wf-drop input { display:block; margin:9px auto 0; font-size:12px; }
.wf-files { display:grid; gap:9px; margin-top:12px; }
.wf-file { display:flex; gap:10px; padding:10px; border:1px solid var(--border,#e5e9ef); border-radius:8px; align-items:center; min-width:0; }
.wf-preview { width:52px; height:52px; object-fit:cover; border-radius:5px; background:#eff2f5; flex:none; }
.wf-file-info { flex:1; min-width:0; overflow-wrap:anywhere; }
.wf-file-info b { font-size:12px; }
.wf-file-meta { font-size:11px; color:var(--muted,#687283); margin-top:3px; }
.wf-file-actions { display:flex; gap:7px; flex:none; }
.wf-flow { display:flex; gap:6px; flex-wrap:wrap; margin:13px 0; }
.wf-flow span { font-size:11px; color:#697586; background:#f0f3f7; border-radius:4px; padding:4px 7px; }
.wf-flow .current { color:#116446; background:#e4f5ed; font-weight:700; }
.wf-upload-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:12px; }
.wf-audit { font-size:11px; color:var(--muted,#687283); margin-top:12px; }
.wf-history-feedback { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; }
.wf-round-dates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; font-size:12px; }
.wf-round-dates dt { color:var(--muted,#687283); }
.wf-round-dates dd { margin:3px 0 0; }
.wf-round-history h4 { margin:14px 0 5px; font-size:12px; }
.wf-wrap button:disabled { opacity:.55; cursor:wait; }
@media(max-width:1000px) { .wf-layout { grid-template-columns:1fr; } }
@media(max-width:520px) { .wf-fields,.wf-upload-options { grid-template-columns:1fr; } .wf-file { flex-wrap:wrap; } .wf-file-actions { margin-left:auto; } }
