.ff-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.ff-buttons .btn { flex: 1 1 180px; }
.ff-unit-group { margin-bottom: 0; }
.ff-playback { margin-top: 20px; padding: 16px 0; }
.ff-playback label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-weight: 600; color: var(--text-title); }
.ff-playback input[type="range"] { display: block; width: 100%; margin: 16px 0; accent-color: var(--color-primary); }
.ff-playback button:disabled { opacity: .5; cursor: default; }
.ff-diagram { display: block; width: 100%; max-height: 350px; margin: 16px auto; color: var(--text-muted); }
.ff-diagram text { fill: var(--text-title); font-size: 22px; font-family: inherit; }
.ff-ground { stroke: var(--text-title); stroke-width: 3; }
.ff-ground-hatch { stroke: var(--text-muted); stroke-width: 2; opacity: .35; }
.ff-ruler { stroke: currentColor; stroke-width: 1.5; }
.ff-arrow-head { fill: none; }
.ff-guide { stroke: #94a3b8; stroke-width: 1; stroke-dasharray: 4 4; }
.ff-ball { fill: var(--color-primary); }
.ff-trail-dot { fill: #c7d2fe; stroke: var(--color-primary); stroke-width: 1; }
.ff-speed-arrow { color: #4f46e5; stroke: currentColor; stroke-width: 2.5; }
.ff-gravity-arrow { color: #d97706; stroke: currentColor; stroke-width: 2; }
.ff-graphs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.ff-graphs figure { margin: 0; min-width: 0; }
.ff-graphs figcaption { font-size: .875rem; font-weight: 600; color: var(--text-title); }
.ff-graphs svg { display: block; width: 100%; overflow: visible; }
.ff-graphs text { fill: var(--text-muted); font: 13px sans-serif; }
.ff-axis { stroke: #64748b; stroke-width: 1.5; fill: none; }
.ff-curve { stroke: var(--color-primary); stroke-width: 2.5; fill: none; }
.ff-diagram[hidden], .ff-graphs[hidden] { display: none; }
@media (max-width: 480px) {
    .ff-graphs { grid-template-columns: 1fr; }
}
@media print { .ff-playback { display: none; } }
