.stock-card-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin:0 0 20px}.stock-card-tabs button{border:0;background:none;color:var(--muted);font:inherit;padding:10px 1px;cursor:pointer}.stock-card-tabs button.active{color:var(--accent);border-bottom:2px solid var(--accent)}.stock-trace-note{font-size:13px;color:var(--muted);line-height:1.7;margin:10px 0 16px}.stock-history-table{width:100%;min-width:580px;border-collapse:collapse}.stock-history-table th,.stock-history-table td{padding:12px;font-size:13px;border-bottom:1px solid var(--line);text-align:left}.stock-history-table th{color:var(--muted);background:var(--surface-alt);font-weight:500}.stock-history-table td{color:var(--text)}.stock-trace-dialog{width:min(850px,95vw);max-height:88vh;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:0;box-shadow:0 20px 90px #0004}.stock-trace-dialog::backdrop{background:#10182480}.stock-trace-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding:18px 22px}.stock-trace-dialog h2{font-size:19px;margin:0}.stock-trace-dialog h3{font-size:15px;margin:22px 0 12px}.stock-trace-dialog>section{padding:8px 22px 24px;overflow:auto}.stock-batch-list{display:flex;flex-direction:column;gap:10px}.stock-batch-choice{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-alt);color:var(--text);cursor:pointer;font:inherit}.stock-batch-choice:hover{border-color:var(--accent);background:var(--accent-soft)}.stock-batch-choice span,.stock-batch-choice small{font-size:12px;color:var(--muted)}.order-part-link{border:0;background:transparent;color:var(--accent);font:inherit;text-align:left;padding:0;cursor:pointer}.order-part-link:hover{text-decoration:underline}.wh-product-link[data-stock-card-name]{user-select:none}.stock-supplier-info{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 12px}.stock-card-history-title{font-size:16px;margin:0 0 14px}
