/* Details page: move the Copy/Delete/Edit/Release For Manufacture action buttons
   to appear below the Documents list instead of above it. .detail-inner is a flex
   column, so this is done purely with CSS order - no need to touch DetailsPage.mjs
   or details.html, since the Documents list is appended dynamically by the page
   script and always ends up last in DOM order regardless of where the static
   [data-page-actions] element sits in the markup. */
[data-page-actions] {
    order: 10;
}

/* Hide the light/dark color scheme toggle everywhere it appears (sidebar footer
   and login page footer) - the site uses a fixed navy/gold brand theme only. */
dw-live-color-scheme-selector {
    display: none !important;
}

/* Run page: restore a small gap around the specification form, so the sidebar and
   the form's own top tab bar don't sit flush against each other/the edge of the
   window. Matches the equivalent fix made previously on the old theme. */
.form-container {
    padding: 0.75em;
}

/* Run page: hide the Cancel/Previous/Next/specification-actions block entirely.
   It's kept in the DOM (see Custom/run.html) purely because RunPage.mjs requires
   these elements to exist, but it should never be visible. */
[data-hidden-specification-navigation] {
    display: none !important;
}

/* Projects page: force exactly 4 tiles per row on wider screens, rather than the
   default auto-fill column count (which packs in many more, smaller tiles). Falls
   back to the System default (responsive auto-fill) below this breakpoint. */
@media (min-width: 60em) {
    [data-projects-container] {
        grid-template-columns: repeat(4, 1fr);
    }
}
