:root[data-native-viewport] body { --launcher-gutter: clamp(8px, 2vw, 20px); }
:root[data-native-viewport] .shell { --native-shell-top: 20px; padding-top: var(--native-shell-top); padding-bottom: 12px; }

:root[data-native-regions] .launcherbar {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  min-height: 0;
  padding: 0 var(--native-right) 12px var(--native-left);
}
/* The grid clears only the part of the system region below the natural
   toolbar, including the existing card-label overhang. Do not stack a full
   status-area header and then add the ordinary grid gap again. */
:root[data-native-regions] .workspace[data-safe-edge="top"] {
  padding-top: max(var(--workspace-gap), calc(var(--region-safe-height, 0px) + var(--card-context-overhang)));
}
/* Greeting and actions share the space beside the system controls. */
:root[data-native-regions] .launcherbar > .welcome {
  flex: none;
  padding: 0;
}
:root[data-native-regions] .launcherbar > .actions { flex: none; width: 100%; justify-content: flex-start; }
:root[data-native-regions] .launcher-account { flex: 1; min-width: min(100%, 9rem); justify-content: flex-end; }

/* The shared root already protects the home indicator. */
.shell > .hub-footer { padding-bottom: 8px; }
