/* Removes the Playground tools row from the Dock while keeping the address bar.

   Upstream has no query parameter for this: mode=seamless drops the entire Dock, address bar
   included. The Dock markup (v3.1.49, packages/playground/website/src/components/dock/dock.tsx) is

       nav[aria-label="Playground tools"]
         > div   .dock-sheen
         > div   .dock-body
             > div   .dock-top-row   address bar, save status, collapse/full-width pill
             > div   .dock-tools     New / Playgrounds / Blueprint / Site Settings / Database /
                                     Files / Logs / Export

   The CSS-modules build hashes those class names, so the rows are addressed by position instead.
   deploy.sh verifies the aria-label still exists in the built bundle before injecting this file,
   so a version bump that reworks the Dock fails the deploy rather than silently matching nothing. */

nav[aria-label='Playground tools'] > div:last-child > div:last-child {
    display: none !important;
}

/* Left half of the pill is "Hide tools" - with no tools row it toggles nothing. The right half
   (full width / floating) still does something, so it stays. */
nav[aria-label='Playground tools'] button[aria-label='Hide tools'],
nav[aria-label='Playground tools'] button[aria-label='Show tools'],
nav[aria-label='Playground tools'] button[aria-label='Tools cannot be hidden right now'] {
    display: none !important;
}
