/* Private Stage D, scoped to timing components. */
.wft-panel{border:1px solid var(--line,#d4e0e4);background:var(--panel,#fff);border-radius:6px;padding:16px;margin:0 0 14px;color:var(--ink,#173b49)}
.wft-panel h2,.wft-panel h3{margin:0 0 6px;font-size:16px}.wft-panel p{margin:6px 0 10px;font-size:13px;line-height:1.5}.wft-muted{font-size:12px;color:var(--muted,#536a74);line-height:1.5}.wft-head,.wft-actions,.wft-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.wft-head{justify-content:space-between;margin-bottom:10px}.wft-actions .btn{min-height:36px}.wft-head>div:first-child{min-width:0}.wft-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.wft-metric{background:var(--surface,#f1f6f7);padding:10px;border:1px solid var(--line,#d4e0e4);border-radius:4px;display:flex;flex-direction:column;gap:3px}.wft-metric strong{font-size:23px}.wft-metric span{font-size:12px}.wft-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;padding:3px 7px;border-radius:4px;font-size:11px;font-weight:650;line-height:1.35;white-space:normal}.wft-pill::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0}.wft-ontrack{background:#e5f2e9;color:#216342;border-color:#c1dfca}.wft-atrisk,.wft-holdreviewdue{background:#fff1d6;color:#79501a;border-color:#e8cf9b}.wft-overdue{background:#fce8e4;color:#9a3029;border-color:#eebeb8}.wft-onhold{background:#e7eff7;color:#285c85;border-color:#bfd3e8}.wft-nottimed,.wft-completed{background:#edf1f2;color:#4f626a;border-color:#d2dde1}.wft-inline{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:6px}.wft-inline button{font:inherit;font-size:11px;color:var(--accent,#126c6b);background:transparent;border:0;text-decoration:underline;text-underline-offset:2px;padding:3px 0;cursor:pointer}.wft-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,.78fr);gap:14px;align-items:start}.wft-list{display:grid;gap:7px;max-height:660px;overflow:auto;scrollbar-gutter:stable;padding:1px}.wft-row{border:1px solid var(--line,#cfdbde);border-radius:5px;padding:10px;text-align:left;color:inherit;background:transparent;width:100%;cursor:pointer;display:grid;gap:5px}.wft-row[aria-pressed=true]{border-color:#268e89;box-shadow:inset 3px 0 #268e89;background:var(--surface,#eef6f5)}.wft-row strong{font-size:13px;overflow-wrap:anywhere}.wft-row .wft-meta{justify-content:space-between;align-items:start}.wft-progress{height:6px;background:var(--line,#d4e0e4);border-radius:4px;overflow:hidden;display:block;margin:9px 0}.wft-progress span{display:block;height:100%;background:#4f9388}.wft-progress .wft-fill-risk{background:#c79542}.wft-progress .wft-fill-late{background:#b34b40}.wft-history{list-style:none;padding:0;margin:8px 0 0}.wft-history li{border-top:1px solid var(--line,#d4e0e4);padding:7px 0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.wft-form{display:grid;gap:9px;margin-top:12px}.wft-form label{display:grid;gap:4px;font-size:12px;font-weight:650}.wft-form input,.wft-form textarea,.wft-form select,.wft-head select{width:100%;min-width:0;max-width:100%;padding:8px;border:1px solid var(--line,#b9c9d0);border-radius:4px;background:var(--panel,#fff);color:inherit;font:inherit;box-sizing:border-box}.wft-form textarea{resize:vertical}.wft-note{border-left:3px solid #b49554;background:var(--surface,#f5f8f8);padding:9px;font-size:12px;line-height:1.5;margin:10px 0}.wft-detail{min-width:0}.wft-detail h3{overflow-wrap:anywhere}.wft-detail dd{margin:0;font-weight:600;overflow-wrap:anywhere}.wft-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px;margin:12px 0}.wft-detail dt{font-size:11px;color:var(--muted,#536a74)}.wft-form-error{color:#a0352e;font-weight:600;font-size:12px;min-height:1em}.wft-inline .wft-pill{margin:0}.wft-panel :focus-visible,.wft-inline :focus-visible{outline:2px solid #218b82;outline-offset:2px}html[data-wf-theme=dark] .wft-panel{background:#192e3a;color:#e4eef1;border-color:#415766}html[data-wf-theme=dark] .wft-metric,html[data-wf-theme=dark] .wft-note,html[data-wf-theme=dark] .wft-row[aria-pressed=true]{background:#243d49;border-color:#49616d}html[data-wf-theme=dark] .wft-muted,html[data-wf-theme=dark] .wft-detail dt{color:#bed1d7}html[data-wf-theme=dark] .wft-form input,html[data-wf-theme=dark] .wft-form textarea,html[data-wf-theme=dark] .wft-form select,html[data-wf-theme=dark] .wft-head select{background:#182d39;color:#e4eef1;border-color:#536b77}html[data-wf-theme=dark] .wft-inline button{color:#9de5db}html[data-wf-theme=dark] .wft-form-error{color:#ffb2a8}
@media(max-width:900px){.wft-layout{grid-template-columns:1fr}.wft-list{max-height:360px}.wft-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.wft-panel{padding:12px}.wft-detail dl{grid-template-columns:1fr 1fr}.wft-actions .btn{min-height:44px}.wft-row{min-height:44px}.wft-inline button{min-height:32px}.wft-head>div{width:100%}}
