/* Streaming can paint #main before its following inspector exists. Reserve
   the same flex share until the actual column is parsed. A grid then never
   starts at the full viewport width and loses a column later. On a phone
   the inspector is an overlay and owns no horizontal space. */
@media (width > 768px) {
  #content[data-screen-panels]:not(:has(> #panels))::after {
    flex: var(--screen-panels-share, 1);
    min-width: 200px;
    content: '';
  }

  #content[data-screen-panels]:not(:has(> #resize_panels))::after {
    margin-inline-start: calc(var(--ui-space-3) / 2);
  }
}
