/* R&D page layout consumes the public owner's 15px/20px insets once. */
.rnd-workspace > .rnd-module-body { display: block; min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.rnd-workspace > .rnd-module-body > main { min-width: 0; padding: 0; overflow: visible; scrollbar-gutter: auto; }
.rnd-workspace.is-project-view { height: 100%; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.rnd-workspace.is-project-view > .mis-page-banner-stack { flex: none; }
.rnd-workspace.is-project-view > .rnd-module-body { flex: 1; min-height: 0; }
.rnd-workspace.is-project-view > .rnd-module-body > main { height: 100%; min-height: 0; }
.rnd-project-page { height: 100%; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.rnd-project-page > .rnd-project-dashboard,
.rnd-project-page > .rnd-project-filter-panel { flex: none; margin: 0; }
.rnd-project-page > .rnd-project-hierarchy-panel { flex: 1; min-height: 120px; display: flex; flex-direction: column; margin: 0; }
.rnd-project-page .rnd-project-tree { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; overflow: auto; scrollbar-width: thin; scrollbar-gutter: stable; overscroll-behavior: contain; }
.rnd-project-page .rnd-project-tree > * { flex-shrink: 0; }
.rnd-project-page .rnd-pagination,
.rnd-project-page .rnd-live-source-note { flex: none; }
.rnd-project-charts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 0; }
.rnd-project-chart-panel { min-width: 0; }
.rnd-project-chart-panel > .rnd-section-title { margin: 0; padding: 8px 12px; }
.rnd-project-platform-plot { height: 200px; display: flex; align-items: stretch; gap: 10px; margin: 0; padding: 20px 12px 8px; box-sizing: border-box; overflow-x: auto; }
.rnd-platform-column { flex: 1 0 44px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.rnd-platform-column-track { flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--mis-theme-border, #e2e7ef); }
.rnd-platform-column-bar { position: relative; width: min(32px, 75%); border-radius: 4px 4px 0 0; background: var(--mis-control-primary, #315ce3); }
.rnd-platform-column-bar > span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); color: var(--mis-theme-text-secondary, #738096); }
.rnd-platform-column-label { min-height: 32px; width: 100%; text-align: center; overflow-wrap: anywhere; color: var(--mis-theme-text-secondary, #738096); }
.rnd-project-funnel-plot { height: 200px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 5px; margin: 0; padding: 8px 12px; overflow: auto; }
.rnd-funnel-row { flex: 1 0 20px; min-height: 20px; max-height: 38px; display: grid; grid-template-columns: 86px minmax(0, 1fr) 100px; align-items: center; gap: 8px; }
.rnd-funnel-track { height: 100%; display: flex; justify-content: center; align-items: stretch; }
.rnd-funnel-segment { background: var(--mis-control-primary, #315ce3); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); }
.rnd-funnel-label, .rnd-funnel-value { color: var(--mis-theme-text-secondary, #738096); white-space: nowrap; }
.rnd-funnel-value { text-align: right; }
@media (max-width: 760px) {
  .rnd-workspace.is-project-view { height: auto; min-height: 100%; }
  .rnd-project-charts { grid-template-columns: minmax(0, 1fr); }
  .rnd-project-page > .rnd-project-hierarchy-panel { flex: none; height: 60vh; min-height: 220px; }
  .rnd-funnel-row { grid-template-columns: 80px minmax(0, 1fr) 90px; gap: 5px; }
}
@media (min-width: 761px) and (max-height: 850px) {
  .rnd-project-page > .rnd-project-hierarchy-panel { flex: none; height: 35vh; min-height: 160px; }
}
