.cc[data-calc="slope-calculator"] .slp-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; margin-top: 12px; }
.cc[data-calc="slope-calculator"] .cc[data-calc="slope-calculator"] .slp-g .cc-field { min-width: 0; margin-top: 10px; }
.cc[data-calc="slope-calculator"] .slp-u { grid-column: 1 / -1; min-width: 0; }
.cc[data-calc="slope-calculator"] .cc-stat-v { color: var(--cc-accent); }
.cc[data-calc="slope-calculator"] .slp-graph { margin: 0 0 var(--cc-gap); }
.cc[data-calc="slope-calculator"] .slp-svg { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; font-family: var(--cc-font); }
.cc[data-calc="slope-calculator"] .slp-bg { fill: var(--cc-bg); stroke: var(--cc-border); stroke-width: 1; }
.cc[data-calc="slope-calculator"] .slp-grid { stroke: var(--cc-border); stroke-width: 0.6; opacity: 0.8; }
.cc[data-calc="slope-calculator"] .slp-axis { stroke: var(--cc-muted); stroke-width: 1.4; }
.cc[data-calc="slope-calculator"] .slp-tick { fill: var(--cc-muted); font-size: 10px; }
.cc[data-calc="slope-calculator"] .slp-ax { fill: var(--cc-muted); font-size: 12px; font-style: italic; }
.cc[data-calc="slope-calculator"] .slp-line { stroke: var(--cc-accent); stroke-width: 2.6; stroke-linecap: round; fill: none; }
.cc[data-calc="slope-calculator"] .slp-tri { fill: var(--cc-accent-soft); opacity: 0.7; stroke: none; }
.cc[data-calc="slope-calculator"] .slp-leg { fill: none; stroke: var(--cc-s1); stroke-width: 1.6; stroke-dasharray: 5 4; }
.cc[data-calc="slope-calculator"] .slp-pt { fill: var(--cc-accent); stroke: var(--cc-bg); stroke-width: 2; }
.cc[data-calc="slope-calculator"] .slp-pt-h { fill: var(--cc-bg); stroke: var(--cc-accent); stroke-width: 2; }
.cc[data-calc="slope-calculator"] .slp-lab { fill: var(--cc-text); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--cc-bg); stroke-width: 3px; stroke-linejoin: round; }
.cc[data-calc="slope-calculator"] .slp-lab-d { fill: var(--cc-s1); }
.cc[data-calc="slope-calculator"] .cc-row > :last-child { overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .cc[data-calc="slope-calculator"] .cc-answer { font-size: 24px; }
  .cc[data-calc="slope-calculator"] .cc-in > .slp-g { grid-column: 1 / -1; max-width: 40rem; }
  .cc[data-calc="slope-calculator"] .slp-svg { max-width: 640px; }
}
@media (max-width: 639px) {
  .cc[data-calc="slope-calculator"] .cc-seg .cc-b { padding: 0 3px; font-size: 14px; }
}
