/* ═══════════════════════════════════════════════════════════════════
   P&L MODULE — styles. Reuses .dash-strip*/.lab-grain-pill/.lab-dq-row/
   .lab-mut from labor-module.css (loaded before this file) + .kpi/.ri-table
   from styles.css; only the P&L-specific bits live here.
   ═══════════════════════════════════════════════════════════════════ */

.pnl-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 900px) {
  .pnl-grid { grid-template-columns: 1fr; }
}

.pnl-statement { width: 100%; }
.pnl-statement td { padding: 6px 8px; }
.pnl-section-row td {
  padding-top: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--rr-cyan);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pnl-bold td { font-weight: 700; }
.pnl-indent td:first-child { padding-left: 20px; font-weight: 400; color: var(--rr-text-muted); }

.pnl-toggle {
  float: right;
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--rr-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.pnl-right { display: flex; flex-direction: column; gap: 12px; }
.pnl-spark-head { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.pnl-spark td, .pnl-spark th { padding: 4px 6px; font-size: 11.5px; }
.pnl-prov { font-size: 11px; color: var(--rr-text-muted); line-height: 1.6; }
.pnl-prov b { display: block; color: var(--rr-text); margin-bottom: 4px; font-size: 12px; }

.pnl-edit-input {
  width: 80px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--rr-text);
  padding: 4px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-align: right;
}

@media (max-width: 640px) {
  .pnl-indent td:first-child { padding-left: 12px; }
}
