/* «الأصناف النافدة في المباني» (2026-11-26, a33.js): the figures on top (four of them filters), one card per item, a line per
   building it is out in — its tag, the days at 0, and the fix on the far side; on a phone the fix goes under the line. */
.zb-stats{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) repeat(3,minmax(0,1fr))}
.zb-stats .zb-pct{cursor:default}
.zb-stats .zb-pct:hover{border-color:var(--line)}
.zb-back{grid-column:2;font-size:11.5px;font-weight:500;color:var(--muted);white-space:nowrap}
.zb-back b{color:var(--text);font-size:12.5px;font-weight:700}
#zbSeg small{font-size:11px;font-weight:600;opacity:.75;margin-inline-start:3px}
.zb-list{display:grid;gap:10px}
.zb-card{padding:12px 14px}
.zb-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px}
.zb-n{font-size:14px;font-weight:700;color:var(--text)}
.zb-hs{color:var(--muted);font-size:12px;font-weight:500}
.zb-c{color:var(--muted);font-size:12px;font-weight:500}
.zb-ls{display:grid;gap:6px;margin-top:8px}
.zb-l{display:grid;grid-template-columns:auto minmax(170px,max-content) minmax(0,1fr);align-items:center;gap:6px 12px;padding:8px 10px;
  border:1px solid var(--line);border-radius:12px;background:var(--panel-bg)}
.zb-b{display:grid;place-items:center;min-width:36px;height:28px;padding:0 6px;box-sizing:border-box;border-radius:9px;
  background:var(--wn-navy,#2B3484);color:#fff;font-weight:700;font-size:12.5px;font-variant-numeric:tabular-nums}
html.desk-dark .zb-b,:root[data-theme="dark"] .zb-b{background:#3d47a8}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .zb-b{background:#3d47a8}}
.zb-lt{display:flex;flex-direction:column;gap:2px;min-width:0}
.zb-dl{white-space:nowrap}
.zb-d{font-weight:700;font-size:13px;color:var(--text)}
.zb-dn{font-weight:500;color:var(--muted);white-space:normal}
.zb-dt{color:var(--muted);font-size:11.5px;font-weight:500;margin-inline-start:2px}
.zb-m{color:var(--muted);font-size:11.5px;font-weight:500}
.zb-fx{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 8px;min-width:0}
.zb-fx .wn-chip{white-space:normal;line-height:1.5;padding-block:3px}
.zb-ct{display:inline}.zb-ct bdi{white-space:nowrap}
.zb-fi{justify-content:flex-start;margin-top:8px;padding-top:8px;border-top:1px dashed var(--line)}
.zb-po{font-size:12.5px;line-height:1.6}
.zb-po bdi{white-space:nowrap}
.zb-q,.zb-sn{flex-basis:100%;text-align:end;color:var(--muted);font-size:11.5px;font-weight:500;line-height:1.5}
.zb-q bdi,.zb-sn bdi{white-space:nowrap}
.zb-ok{display:flex;align-items:center;justify-content:center;gap:8px;padding:28px 10px;font-weight:700;color:var(--g)}
/* «اطلب» brings the item into view in «احتياج الطلب» for a moment */
#crBody .wn-row.zb-hit{box-shadow:0 0 0 3px var(--wn-ring,#2B3484)!important;transition:box-shadow .3s}
@media (max-width:900px){
  .zb-card{padding:10px 12px}
  .zb-l{grid-template-columns:auto minmax(0,1fr);gap:6px 10px;padding:8px}
  .zb-fx{grid-column:1/-1;justify-content:flex-start}
  .zb-q,.zb-sn{text-align:start}
  /* the figures two by two, the share across the top (the other windows' figures slide sideways; these are only five) */
  .wn-stats.zb-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;margin:0 0 12px;padding:0}
  .zb-stats .wn-st{min-width:0}.zb-stats .zb-pct{grid-column:1/-1;order:-1}
}
.zb-nw{white-space:nowrap}
