/* Страница «Остатки складов»: стили перенесены из дашборда, цвета — из общей темы. */
.summary { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px; margin-bottom: 12px; }
@media (max-width: 1000px) { .summary { grid-template-columns: repeat(2, 1fr); } }
.card { padding: 10px 14px; }
.card .label { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.card .value { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.card .sub { font-size: 11px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.card.total { grid-column: 1; grid-row: 1 / span 2; padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; }
.card.total .value { font-size: 34px; margin: 2px 0 6px; }
@media (max-width: 1000px) { .card.total { grid-column: 1 / -1; grid-row: auto; } .card.total .value { font-size: 28px; } }
.card .dupnote { margin-top: 6px; color: var(--warn); }
.card.wb .value { color: #b983ff; } .card.ozon .value { color: var(--orange, #f2924a); }
.err-banner, .info-banner { padding: 10px 14px; border-radius: 14px; font-size: 13px; margin-bottom: 10px; overflow-wrap: anywhere; }
.err-banner { background: rgba(239,83,80,.14); border: 1px solid rgba(239,83,80,.4); color: #ffb4b1; }
.info-banner { background: rgba(110,168,254,.12); border: 1px solid rgba(110,168,254,.35); }
.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.seg { display: inline-flex; background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 650; padding: 8px 14px; border-radius: 11px; cursor: pointer; min-height: 0; }
.seg button.active { background: var(--accent); color: #0b0f17; }
.search { flex: 1 1 200px; min-width: 160px; }
.chk { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.wh { padding: 0; overflow: hidden; margin-bottom: 8px; }
.wh-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: left; }
.mp, .sch { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; flex-shrink: 0; }
.mp.wb { background: rgba(185,131,255,.18); color: #c9a2ff; } .mp.ozon { background: rgba(242,146,74,.18); color: #f2924a; }
.sch { background: var(--panel-3); color: var(--muted); } .sch.fbs { background: rgba(110,168,254,.16); color: var(--accent); } .sch.fbo { background: rgba(47,191,113,.16); color: var(--ok); }
.wh-name { font-weight: 700; font-size: 14px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.wh-name small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; margin-top: 1px; }
.wh-total { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wh-total small { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 3px; }
.chev { color: var(--muted); font-size: 22px; line-height: 1; transition: transform .25s ease; } .wh.open .chev { transform: rotate(90deg); }
.bar { height: 4px; background: var(--panel-3); } .bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #7be3c0); transition: width .5s ease; }
.wh.ozon .bar > i { background: linear-gradient(90deg, #f2924a, #ffd08a); }
.wh-body { display: none; padding: 4px 14px 10px; } .wh.open .wh-body { display: block; }
.prod { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); align-items: flex-start; } .prod:first-child { border-top: 0; }
.prod img, .prod .ph { width: 44px; height: 58px; border-radius: 10px; object-fit: cover; background: var(--panel-3); flex-shrink: 0; }
.prod-main { flex: 1; min-width: 0; } .prod-art { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.prod-title { font-size: 12px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.prod-total { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.size { font-size: 12px; background: var(--panel-3); border-radius: 8px; padding: 3px 9px; white-space: nowrap; } .size b { color: var(--accent); margin-left: 4px; }
.sub-wh { font-size: 12px; color: var(--muted); margin-top: 6px; }
.updated { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.chk input { width: auto; }
