/* Weekly Yard Stock Check — lines table */
.sc-table-wrap {
    overflow-x: auto;
}
.sc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.sc-table th,
.sc-table td {
    border: 1px solid #e2e8f0;
    padding: 6px;
    vertical-align: middle;
}
.sc-table th {
    background: #0C1248;
    color: #fff;
    font-weight: 700;
    text-align: left;
    font-size: 0.8rem;
}
.sc-table input[type="number"],
.sc-table input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 8px;
    font: inherit;
}
.sc-table td.sc-num {
    width: 5.5rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.sc-table td.sc-code {
    width: 6.5rem;
    font-weight: 600;
    white-space: nowrap;
}
.sc-table td.sc-family {
    width: 9rem;
    color: #475569;
    font-size: 0.85rem;
}
.sc-table td.sc-variance {
    width: 5.5rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.sc-table tr.sc-var-nonzero {
    background: #fef3c7;
}
.sc-table tr.sc-var-nonzero td.sc-variance {
    color: #b91c1c;
}
.sc-table .sc-sys {
    color: #64748b;
}
.sc-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}
.sc-toolbar select {
    margin-left: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font: inherit;
}
.sc-pool-list {
    margin: 8px 0 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}
.sc-pool-list li {
    margin: 2px 0;
}
.sc-family-head td {
    background: #f1f5f9;
    font-weight: 700;
    color: #0C1248;
    font-size: 0.85rem;
    border-top: 2px solid #cbd5e1;
}
