/*
 * [2026-10-16] Admin and seller panel density. On a 1366x768 laptop the panels looked zoomed in:
 * a 150px logo, and product rows four lines tall, so one or two products filled the screen.
 * Loaded after the theme layer so it wins; font sizes stay with Settings -> Appearance.
 */

/* sidebar logo: the square app icon was 150px tall */
.navbar-vertical .navbar-brand .brand-img { width: auto; max-width: 150px; max-height: 64px; object-fit: contain; }
.navbar-vertical .navbar-brand { padding-top: .5rem; padding-bottom: .5rem; }

/* products list: compact row (name, one meta line, price · stock · branches + badges) */
.bpi-pl-cell .img-box-60 { width: 48px; height: 48px; }
.bpi-pl-cell .bpi-pl-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.bpi-pl-cell .small { line-height: 1.35; }
.bpi-pl-cell .badge { font-size: .68rem; }
td:has(> .bpi-pl-cell) { min-width: 360px; padding-top: .45rem !important; padding-bottom: .45rem !important; }

/* [2026-11-02] Owner: "Remove unnecessary top gaps and empty spaces across all panels. Headers must
   start from the very top." Measured on every admin, seller and hub sidebar page: */
/* a view that wraps itself in .page-body inside the layout's .page-body stacked two 1.5rem margins
   (25 pages) — the inner one adds nothing */
.page-body .page-body { margin-top: 0; margin-bottom: 0; }
/* a view's own title row at the top of the page (or right under the tab strip) added its 1.5rem on
   top of the page-body's (56 pages) */
.page-body > .container-xl > .page-header:first-child,
.page-body > .container-xl > .amz-page-tabs + .page-header,
.page-body .page-body > .container-xl > .page-header:first-child { margin-top: 0; }
/* the hub console's top bar is its header: flush with the top instead of 1.5rem below it */
.page-wrapper > .page-body:has(> * > .amazeenow-topbar:first-child) { margin-top: 0; }
/* the header row holds the search box, the workspace switcher and the user block on one line */
.page-wrapper > .page-header .navbar .btn-list { flex-wrap: nowrap; }
.page-wrapper > .page-header .admin-search { flex: 1 1 220px; min-width: 200px; }
