.wf-tc { background: #121722; border: 1px solid #263044; border-radius: 12px; padding: 16px; }
.wf-tc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #222b3d; }
.wf-tc-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wf-tc-select, .wf-tc-input { background: #0b0e14; color: #efe7d6; border: 1px solid #263044; border-radius: 8px; padding: 8px 12px; font-size: 13px; min-height: 38px; }
.wf-tc-btn { background: #181f2e; color: #efe7d6; border: 1px solid #2c3852; border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 38px; }
.wf-tc-btn:hover { border-color: #d4a853; color: #ecc472; }
.wf-tc-btn.active { background: #d4a853; color: #0b0e14; border-color: #d4a853; }
.wf-tc-btn.diff-on { background: #0c2338; color: #7dd3fc; border-color: #38bdf8; }
.wf-tc-classes { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.wf-cls-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border-radius: 8px; border: 1px solid #263044; background: #0e131d; color: #cbd5e1; font-size: 12px; font-weight: 600; cursor: pointer; }
.wf-cls-btn.active { background: #1c2436; color: #efe7d6; }
.wf-dot { width: 9px; height: 9px; border-radius: 999px; flex-shrink: 0; }
.wf-tc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 10px; background: #0e131d; border: 1px solid #222b3d; }
.wf-tc-diff { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(14, 34, 54, 0.55); border: 1px solid rgba(56, 189, 248, 0.35); font-size: 13px; color: #cbd5e1; }
.wf-tc-presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.wf-trees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.wf-tree { background: #0e131d; border: 1px solid #263044; border-radius: 10px; padding: 14px; }
.wf-tree-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #222b3d; margin-bottom: 10px; }
.wf-tier { display: grid; grid-template-columns: 38px 1fr 1fr; gap: 8px; align-items: center; margin-bottom: 8px; }
.wf-tier-lbl { font-size: 12px; color: #9ca7bc; text-align: center; font-family: monospace; }
.wf-node { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px; border-radius: 8px; border: 1px solid #263044; background: #141a27; color: #cbd5e1; cursor: pointer; user-select: none; min-height: 48px; }
.wf-node.locked { opacity: 0.55; background: #0c1018; }
.wf-node.rework { border-color: rgba(56, 189, 248, 0.6); background: rgba(12, 35, 56, 0.45); }
.wf-node.has-pts { border-color: #34d399; background: rgba(6, 78, 59, 0.35); color: #efe7d6; }
.wf-node.maxed { border-color: #d4a853; background: #231d12; color: #efe7d6; }
.wf-node-name { font-size: 12px; font-weight: 600; line-height: 1.25; }
.wf-node-rank { font-size: 12px; font-family: monospace; font-weight: 700; color: #ecc472; white-space: nowrap; }
.wf-tc-footer { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; margin-top: 16px; }
.wf-box { background: #0e131d; border: 1px solid #263044; border-radius: 10px; padding: 14px; font-size: 13px; }
.wf-toast { display: inline-block; padding: 4px 10px; border-radius: 6px; background: rgba(6, 78, 59, 0.65); border: 1px solid #34d399; color: #a7f3d0; font-size: 12px; }
.wf-order-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.wf-order-item { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 6px; background: #141a27; border: 1px solid #222b3d; font-size: 12px; }
.wf-saved-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wf-saved-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: #141a27; border: 1px solid #263044; font-size: 12px; }
.wf-saved-chip button { background: none; border: none; color: #efe7d6; cursor: pointer; font-size: 12px; padding: 0; }
@media (max-width: 900px) {
  .wf-tc-classes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wf-trees, .wf-tc-footer { grid-template-columns: 1fr; }
  .wf-order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
