/* CPK Analysis — tool-specific styles.
   Layout, sidebar sections, inputs, buttons and result cards come
   from shared/theme.css (body.mt-app). */

.input-panel { --panel-w: 340px; }
.param-row-2 { --input-w: 110px; }

.cpk-textarea {
  width: 100%;
  height: 220px;
  resize: vertical;
  white-space: pre;
  margin-top: 8px;
}
.cpk-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cpk-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text);
  margin-top: 8px;
  cursor: pointer;
}
.cpk-error {
  color: var(--red);
  font-size: var(--fs-sm);
  margin-top: 8px;
  display: none;
}

/* ── Results ── */
.cpk-empty {
  font-size: var(--fs-md);
  color: var(--text2);
  padding: 48px 12px;
  text-align: center;
}

/* Cp/Cpk capability pills: green (capable) / amber (marginal) / red (not capable) */
.cpk-pill-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cpk-pill {
  flex: 1;
  min-width: 120px;
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-family: var(--mono);
}
.cpk-pill .pill-label {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.cpk-pill .pill-value { font-size: 24px; font-weight: 600; }
.cpk-pill .pill-verdict { font-family: var(--sans); font-size: var(--fs-xs); margin-top: 2px; }
.cpk-pill.good    { background: color-mix(in srgb, var(--green) 14%, var(--surface)); color: var(--green); }
.cpk-pill.warn    { background: color-mix(in srgb, var(--amber) 16%, var(--surface)); color: var(--amber); }
.cpk-pill.bad     { background: color-mix(in srgb, var(--red) 12%, var(--surface));   color: var(--red); }
.cpk-pill.neutral { background: var(--hint-bg); color: var(--text2); }

/* chart */
.cpk-chart-wrap {
  position: relative;
  width: 100%;
  height: 340px;
}
.cpk-chart-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
