.task-type { display: flex; align-items: flex-start; gap: 9px; min-width: 210px; }
.task-mark { width: 28px; height: 28px; border-radius: var(--radius); display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); font-weight: 700; flex: none; }
.task-mark.customs { background: var(--cyan-100); color: var(--cyan-700); }
.task-mark.finance { background: var(--green-100); color: var(--green-700); }
.task-mark.risk { background: var(--amber-100); color: var(--amber-700); }
.chain { padding: 10px 4px; }
.chain-node { position: relative; padding: 11px 12px; border: 1px solid var(--gray-300); border-radius: var(--radius); background: white; }
.chain-node.root { border-color: #93c5fd; background: var(--blue-50); }
.chain-node + .chain-node { margin-top: 26px; }
.chain-node + .chain-node::before { content: ""; position: absolute; left: 25px; top: -27px; width: 1px; height: 26px; background: var(--gray-300); }
.chain-node + .chain-node::after { content: ""; position: absolute; left: 22px; top: -5px; width: 7px; height: 7px; border-right: 1px solid var(--gray-400); border-bottom: 1px solid var(--gray-400); transform: rotate(45deg); }
.node-head { display: flex; align-items: center; gap: 8px; }
.node-name { font-weight: 600; flex: 1; }
.node-meta { margin-top: 7px; color: var(--gray-500); font-size: 11px; display: flex; gap: 12px; flex-wrap: wrap; }
.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.branch { position: relative; padding-top: 14px; border-top: 1px solid var(--gray-300); }
.branch::before { content: ""; position: absolute; top: -15px; left: 50%; width: 1px; height: 15px; background: var(--gray-300); }
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 16px; }
.progress-step { position: relative; text-align: center; color: var(--gray-400); font-size: 11px; }
.progress-step::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--gray-200); }
.progress-step:first-child::before { display: none; }
.progress-dot { position: relative; z-index: 1; width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 50%; background: var(--gray-100); border: 1px solid var(--gray-300); display: grid; place-items: center; }
.progress-step.done { color: var(--green-700); }
.progress-step.done::before, .progress-step.done .progress-dot { background: var(--green-100); border-color: #86efac; }
.progress-step.current { color: var(--blue-600); font-weight: 600; }
.progress-step.current::before { background: #bfdbfe; }
.progress-step.current .progress-dot { background: var(--blue-600); color: white; border-color: var(--blue-600); }
.timeline { position: relative; padding-left: 24px; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 7px; bottom: 7px; width: 1px; background: var(--gray-200); }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -21px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: white; border: 2px solid var(--blue-500); }
.timeline-title { font-size: 12px; font-weight: 600; }
.timeline-meta { margin-top: 3px; color: var(--gray-400); font-size: 11px; }
.metric-bar { display: grid; grid-template-columns: 125px minmax(0, 1fr) 42px; align-items: center; gap: 10px; margin: 10px 0; font-size: 12px; }
.bar-track { height: 8px; border-radius: 4px; background: var(--gray-100); overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: var(--blue-600); }
.bar-fill.green { background: #22c55e; }
.bar-fill.amber { background: #f59e0b; }
.diff-row { display: grid; grid-template-columns: 130px 1fr 1fr 90px; gap: 8px; align-items: center; padding: 9px 10px; border-bottom: 1px solid #eef0f3; font-size: 12px; }
.diff-row.header { background: var(--gray-50); color: var(--gray-500); font-weight: 600; }
.diff-row.error { background: #fffafa; }
.checklist { display: grid; gap: 8px; }
.check-row { display: flex; gap: 9px; align-items: flex-start; padding: 9px 10px; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.check-icon { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); font-size: 11px; flex: none; }
.check-row.fail .check-icon { background: var(--red-100); color: var(--red-700); }
.paper { background: white; border: 1px solid var(--gray-300); box-shadow: 0 8px 22px rgb(15 23 42 / 10%); }
.nameplate-sheet { aspect-ratio: 210 / 297; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 1fr); gap: 8px; }
.nameplate { border: 1px solid var(--gray-700); padding: 7px; display: grid; grid-template-columns: 54px 1fr; gap: 7px; font-size: 8px; background: #fafafa; }
.nameplate-logo { border: 1px solid var(--gray-400); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.nameplate-line { display: flex; justify-content: space-between; gap: 4px; padding: 2px 0; border-bottom: 1px solid #cbd5e1; }
