/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 8px;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

.param-card h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--accent);
}
.param-card {
  display: flex;
  flex-direction: column;
}

/* Chart */
.chart-wrap {
  position: relative;
  height: 320px;
  width: 100%;
}
@media (max-width: 560px) {
  .chart-wrap { height: 240px; }
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
#result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
#result-table th,
#result-table td {
  padding: 8px 10px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
#result-table th:first-child,
#result-table td:first-child {
  text-align: left;
}
#result-table th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#result-table tbody tr:hover td {
  background: var(--accent-glow);
}
#result-table td.positive { color: var(--success); font-weight: 700; }
#result-table td.negative { color: var(--danger); font-weight: 700; }

.param-card-footer {
  margin-top: auto;
  padding-top: 12px;
}
