/* Commodities dashboard — PoC 11112026/Commodities.html */
.commodities-dash .cat-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #131828;
  padding-bottom: 0;
  margin-bottom: 0;
}

.commodities-dash .cat-btn {
  flex: 1;
  justify-content: center;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 10px;
  gap: 8px;
}

.commodities-dash .cat-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.stats-strip {
  display: flex;
  border: 1px solid #131828;
  border-top: none;
  background: #08090f;
  margin-bottom: 0;
}

.stats-strip .stbl {
  flex: 1;
  padding: 10px 16px;
  border-right: 1px solid #0d0f1c;
}

.stats-strip .stbl:last-child { border-right: none; }
.stats-strip .stlbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #1e2848;
  margin-bottom: 3px;
}
.stats-strip .stval {
  font-size: 0.95rem;
  font-weight: 700;
  color: #c0c8e0;
}
.stats-strip .stsub {
  font-size: 0.7rem;
  color: #2a3060;
  margin-top: 1px;
}

.news-area {
  display: flex;
  min-height: 420px;
  border: 1px solid #131828;
  border-top: none;
  background: #07080f;
  margin-bottom: 1.5rem;
}

.news-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #131828;
}

.nm-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px 8px;
  border-bottom: 1px solid #0d0f1c;
  flex-wrap: wrap;
}

.nm-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c0c8e0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sect-pill {
  font-size: 0.65rem;
  border-radius: 10px;
  padding: 2px 9px;
  border: 1px solid;
  font-weight: 600;
}

.sf-row { display: flex; gap: 4px; flex-wrap: wrap; }
.sf {
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid #1a2040;
  color: #2a3060;
  background: transparent;
}
.sf.on { background: #0d1836; border-color: #1a4080; color: #4a80d0; }
.sf.pf.on { background: #0a1e14; border-color: #1a4030; color: #2dd4a0; }
.sf.nf.on { background: #1a0a0e; border-color: #3a1020; color: #e05060; }

.imp-leg {
  display: flex;
  gap: 12px;
  padding: 6px 16px;
  border-bottom: 1px solid #0d0f1c;
  flex-wrap: wrap;
}
.il {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: #2a3060;
}
.ild {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
}

.nfeed {
  flex: 1;
  overflow-y: auto;
  max-height: 560px;
}

.price-panel {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #08090f;
}

.pp-hdr {
  padding: 10px 14px 8px;
  border-bottom: 1px solid #0d0f1c;
}
.pp-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4a5880;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plist { overflow-y: auto; max-height: 560px; }

.pi {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-bottom: 1px solid #0c0e18;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.pi:hover {
  background: #0d0f1c;
  border-left-color: #f59e0b;
}

.pi-ic {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: #0d1020;
  border: 1px solid #1a2040;
  flex-shrink: 0;
}

.pi-mid { flex: 1; min-width: 0; }
.pi-nm {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b0bcd0;
}
.pi-ut {
  display: block;
  font-size: 0.65rem;
  color: #2a3860;
  margin-top: 1px;
}
.pi-right { text-align: right; flex-shrink: 0; }
.pi-px {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8090b0;
}
.pi-chg {
  display: inline-block;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 3px;
  margin-top: 2px;
  background: #0d1020;
  color: #3a4870;
}

.commodity-tiles { margin-top: 0.5rem; }

@media (max-width: 900px) {
  .news-area { flex-direction: column; }
  .news-main { border-right: none; border-bottom: 1px solid #131828; }
  .price-panel { width: 100%; }
  .nfeed, .plist { max-height: 360px; }
}
