/* R313 — fix the shared top-card indent at the DOM layout boundary.
   Old .vv-site-hero wrappers may inherit a 24px inline gutter from the
   pre-R304 dossier. Removing the wrapper's box makes its existing children
   participate in the same #v3Workspace layout as the tabs and panels.
   Scoped to the native domain view; no API or other-page changes. */
html body #content #v3Workspace.r304-native > .r304-site-hero {
  display: contents !important;
}
/* Width is owned by #v3Workspace, never by the legacy hero wrapper. */
html body #content #v3Workspace.r304-native > .r304-site-hero > .vv-heading.r304-hero {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 0 18px !important;
  margin-inline: 0 !important;
  inset: auto !important;
  transform: none !important;
}
/* R197 inserts the licence context immediately after the hero header.
   Handle both that placement and the alternate direct-root placement. */
html body #content #v3Workspace.r304-native > .r304-site-hero > .l192-context[data-slot="domain"],
html body #content #v3Workspace.r304-native > .l192-context[data-slot="domain"] {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 0 24px !important;
  margin-inline: 0 !important;
  inset: auto !important;
  transform: none !important;
}
/* Keep tab/content edges at exactly the root edge, including mobile. */
html body #content #v3Workspace.r304-native > :is(.r304-toolbar, .r304-panels) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-inline: 0 !important;
}
@media (max-width: 720px) {
  html body #content #v3Workspace.r304-native > .r304-site-hero > .vv-heading.r304-hero {
    margin-bottom: 14px !important;
  }
  html body #content #v3Workspace.r304-native > .r304-site-hero > .l192-context[data-slot="domain"],
  html body #content #v3Workspace.r304-native > .l192-context[data-slot="domain"] {
    margin-bottom: 18px !important;
  }
}
