/*!
 * Fixes for the 3D planner (/planner/) — loaded by planner-bridge.js. The planner code itself is not changed.
 * 1. On screens up to ~900 px tall the target banner and the bottleneck card squeezed the 3D view to ~30 px
 *    and the column could not scroll. The 3D view now always keeps a usable height, comes first on short
 *    screens, and the column scrolls.
 * 2. The bottleneck card header ("Model darboğazı · … Çinko kazanı") is kept on one line.
 */
body.compact-workspace .viewport-card {
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.compact-workspace .viewport-card > .panel.viewer {
  flex: 1 0 auto;
  min-height: clamp(340px, 62vh, 760px);
}
@media (max-height: 900px) {
  body.compact-workspace .viewport-card > .panel.viewer { order: -1; }
}
/* KPI grid: the last visible card spans the row when an odd number is shown (set by planner-fixes.js) */
.gpfix-span { grid-column: 1 / -1 !important; }
/* placeholder options that are not available yet are hidden (set by planner-fixes.js) */
.gpfix-hidden { display: none !important; }
