/* Aligns the marketplace chrome with the rest of the platform.
   Loaded only by the SPA shell; the Blade pages already look like this. */

/* One navy. The bar and the footer are painted inline, so they are overridden
   the same way ngel-theme.css overrides inline colours elsewhere. */
[style*="background: rgb(15, 23, 42)"]{background:#102048 !important;}
[style*="background:rgb(15, 23, 42)"]{background:#102048 !important;}

/* Footer links were white at 40% — roughly 3.5:1 on that ground, under AA.
   This is the colour the rest of the platform's footer uses, at about 9:1. */
footer [style*="rgba(255, 255, 255, 0.4)"]{color:#c7d2e6 !important;}
footer [style*="rgba(255,255,255,0.4)"]{color:#c7d2e6 !important;}
footer a:hover,
footer [style*="rgba(255, 255, 255, 0.4)"]:hover{color:#fff !important;}

/* The toggle joins the controls in the bar instead of floating over the page. */
.nx-theme.nx-in-bar{position:static !important;right:auto !important;bottom:auto !important;
    box-shadow:none !important;margin-right:8px;flex:0 0 auto;}
@media(max-width:900px){.nx-theme.nx-in-bar{display:none;}}

/* The search input is flex:1 with min-width:0, so it surrenders all of its
   width before any sibling gives up any. Give it a floor it will not go
   below — if space runs short it should not be search that pays. */
/* Desktop only, and !important: ngel-mobile-fix.css zeroes min-width with
   !important so phone layouts can collapse freely, which is right for phones —
   this must not undo that, only outrank it where there is room. */
@media(min-width:1101px){
  .nx-fixtop input:not([type="checkbox"]):not([type="radio"]){min-width:160px !important;}
}

/* The other controls in this bar carry labels; the toggle is the one that
   can be read from its icon alone, and the row needs the width back. */
.nx-theme.nx-in-bar span:not(.nx-ico){display:none;}
.nx-theme.nx-in-bar{width:38px;padding:0;justify-content:center;gap:0;overflow:hidden;}
