/* =====================================================================
 * 11 中奖代收包裹核对 · 独立版式「包裹费用节点台」
 * 陶橙强调色 · 五段包裹链路 + 费用节点标记
 * ===================================================================== */
.fb--pc { --fb-a: #b0561f; --fb-a-soft: #f9e8dc; }
:root[data-theme="dark"] .fb--pc { --fb-a: #e29161; --fb-a-soft: #331c0e; }

.pc-hero { padding-top: 30px; }
.pc-console { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .72fr); gap: 13px; margin-top: 20px; align-items: start; }
.pc-form { border-top: 3px solid var(--fb-a); }
.pc-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pc-sub-label { margin-top: 16px; }
.pc-flags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }

/* 包裹链路 */
.pc-scan { position: relative; overflow: hidden; }
.pc-scan::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(0deg, var(--fb-scan) 0 1px, transparent 1px 5px);
}
.pc-scan-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
    border-bottom: 1px solid var(--fb-line2); padding-bottom: 9px; position: relative;
}
.pc-scan-head span { font-family: var(--fb-font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--fb-a); }
.pc-scan-head b { font-family: var(--fb-font-mono); font-size: 12px; }
.pc-chain { list-style: none; margin: 14px 0 12px; padding: 0; position: relative; }
.pc-node { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.pc-node::before {
    content: ""; position: absolute; left: 13px; top: 30px; bottom: -2px; width: 2px; background: var(--fb-line2);
}
.pc-node:last-child::before { display: none; }
.pc-node-idx {
    flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center;
    border: 2px solid var(--fb-line2); background: var(--fb-card); color: var(--fb-muted);
    font-family: var(--fb-font-mono); font-size: 10px; font-weight: 700; position: relative; z-index: 1;
}
.pc-node b { display: block; font-size: 12.5px; }
.pc-node small { display: block; font-size: 11px; color: var(--fb-muted); line-height: 1.55; }
.pc-node.is-ok .pc-node-idx { border-color: var(--fb-ok); color: var(--fb-ok); }
.pc-node.is-warn .pc-node-idx { border-color: var(--fb-warn); color: var(--fb-warn); }
.pc-node.is-bad .pc-node-idx { border-color: var(--fb-danger); color: var(--fb-danger); background: var(--fb-danger-soft); }
.pc-node.is-bad small { color: var(--fb-danger); }

.pc-scan-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--fb-line2); position: relative;
}
.pc-score { display: flex; flex-direction: column; gap: 2px; }
.pc-score span { font-family: var(--fb-font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--fb-muted); }
.pc-score b { font-family: var(--fb-font-mono); font-size: 28px; line-height: 1.1; color: var(--fb-a); font-variant-numeric: tabular-nums; }
.pc-level {
    font-family: var(--fb-font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em;
    padding: 5px 11px; border: 1px solid var(--fb-line2); border-radius: 2px; color: var(--fb-muted);
}
.pc-level.lv-low { color: var(--fb-ok); border-color: var(--fb-ok); }
.pc-level.lv-mid { color: var(--fb-warn); border-color: var(--fb-warn); }
.pc-level.lv-high { color: var(--fb-danger); border-color: var(--fb-danger); }
.pc-level.lv-max { color: var(--fb-danger); border-color: var(--fb-danger); background: var(--fb-danger-soft); }
.pc-scan-note {
    margin: 11px 0 0; padding-top: 10px; border-top: 1px dashed var(--fb-line2);
    font-size: 11.5px; line-height: 1.75; color: var(--fb-muted); position: relative;
}

/* 结果区 */
.pc-split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 13px; margin-top: 13px; }
.pc-batch { min-width: 1020px; }
.pc-batch td input[type="text"], .pc-batch td input[type="number"] { padding: 5px 7px; font-size: 12px; min-width: 56px; }
.pc-prose b { color: var(--fb-ink); }
.pc-prose p { margin-bottom: 11px; }

@media (max-width: 1000px) { .pc-console, .pc-split { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
    .pc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-flags { grid-template-columns: 1fr; }
}
@media (max-width: 430px) { .pc-fields { grid-template-columns: 1fr; } }
