/* Costs page (administrator only): tiles and simple bar charts. */
.nexc-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 16px}
.nexc-tiles .card{display:flex;flex-direction:column;gap:4px;padding:16px;margin:0}
.nexc-tiles strong{font-size:26px;line-height:1.15}
.nexc-tiles .nexc-top{font-size:18px}
.nexc-card{margin:0 0 16px}
.nexc-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.nexc-head h2{margin:0}
.nexc-legend{display:flex;gap:16px}
.nexc-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:middle}
.nexc-row{display:grid;grid-template-columns:170px 1fr 110px;align-items:center;gap:12px;padding:6px 0}
.nexc-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nexc-track{display:flex;height:16px;background:rgba(127,127,127,.12);border-radius:4px;overflow:hidden}
.nexc-seg{display:block;height:100%;width:0}
.nexc-ai{background:#7c5cff}
.nexc-dfs{background:#2ec5d3}
.nexc-total{background:linear-gradient(90deg,#3b6cff,#9a5cff)}
.nexc-val{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}
.nexc-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.nexc-cols{display:flex;align-items:flex-end;gap:10px;height:220px;padding-top:6px}
.nexc-col{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;min-width:40px}
.nexc-colbar{flex:1;width:100%;max-width:56px;display:flex;flex-direction:column;justify-content:flex-end;background:rgba(127,127,127,.08);border-radius:4px 4px 0 0;overflow:hidden}
.nexc-colbar .nexc-seg{width:100%;height:0}
.nexc-colval{margin-bottom:4px;white-space:nowrap}
.nexc-collabel{margin-top:6px;white-space:nowrap}
.nexc-two .nexc-row{grid-template-columns:120px 1fr 70px}
@media (max-width:900px){.nexc-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.nexc-two{grid-template-columns:1fr}.nexc-row{grid-template-columns:110px 1fr 80px}}
