:root {
    /* =========================
     SURFACE / BACKGROUND
  ========================= */
    --bg-base: #DAF1DE;
    --bg-surface: #f5f5f5;
    --bg-muted: #8EB69B;

    /* =========================
     DARK SURFACE (for nav, sidebar, dark mode base)
  ========================= */
    --surface-900: #051F20;
    --surface-800: #0B2B26;
    --surface-700: #163832;
    --surface-600: #235347;

    /* =========================
     TEXT COLORS (static)
     NOTE: --text-primary is CUSTOMIZER-OWNED. It is intentionally NOT
     declared here — its only value comes from UserPreference::defaults()
     via czBuildCss(). Do not re-add it in this file.
  ========================= */
    --text-secondary: #163832;
    --text-inverse: #DAF1DE;
    --text-muted: #8EB69B;

    /* =========================
     BRAND / ACCENT (static, non-customizer accent token)
     NOTE: --primary, --primary-hover, --primary-active, --primary-soft,
     --primary-softer are CUSTOMIZER-OWNED. They are intentionally NOT
     declared here — their only source is UserPreference::defaults()
     (primary_color) via czBuildCss(). Do not re-add them in this file.
  ========================= */
    --accent: #8EB69B;

    /* =========================
     STATE COLORS
  ========================= */
    --light: #FAFAFA;
    --dark: #111111;
    --success: #8EB69B;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #235347;

    /* =========================
     UI ELEMENTS
  ========================= */
    --border: rgba(35, 83, 71, .25);
    --border-muted: #8EB69B;
    --input-bg: #ffffff;
    --hover-bg: rgba(35, 83, 71, 0.08);
    --active-bg: rgba(35, 83, 71, 0.15);

    --shadow-sm: 0 1px 2px rgba(5, 31, 32, 0.08);
    --shadow-md: 0 6px 20px rgba(5, 31, 32, 0.12);

    /* =========================
     SPECIAL EFFECTS
  ========================= */
    --gradient-primary: linear-gradient(135deg, #051F20, #235347, #8EB69B);
    --gradient-soft: linear-gradient(180deg, #DAF1DE, #8EB69B);

    --scrollbar: #235347;
    --scrollbar-muted: #8EB69B;

    --z-base: 1;
    --z-sidebar: 1000;
    --z-overlay: 900;
    --z-navbar: 1100;
    --z-dropdown: 1200;
    --z-modal: 2000;

    --sidebar-width: 280px;

    /* =========================
     CUSTOMIZER-OWNED (NOT declared here on purpose)
     --primary, --primary-hover, --primary-active, --primary-soft,
     --primary-softer, --text-primary, --font-family-base,
     --font-size-root, --radius-base, --radius-sm, --content-max
     → single source of truth: App\Models\Admin\UserPreference::defaults()
       consumed by customizer/script.blade.php (czBuildCss/czApply).
     These are injected into #customizer-runtime-vars on every page load
     before this stylesheet's rules below ever need to read them.
  ========================= */
}

/* =========================
   DARK MODE (static surfaces/text only —
   --primary / --text-primary are customizer-owned, never overridden here)
========================= */
[data-theme="dark"] {
    --bg-base: #051F20;
    --bg-surface: #0B2B26;
    --bg-muted: #163832;

    --text-secondary: #8EB69B;
    --text-inverse: #051F20;
    --text-muted: #163832;

    --accent: #DAF1DE;

    --border: rgba(218, 241, 222, 0.12);
    --input-bg: #0B2B26;
    --hover-bg: rgba(218, 241, 222, 0.08);
    --active-bg: rgba(218, 241, 222, 0.15);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);

    --scrollbar: #8EB69B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family-base);
}

*::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

html {
    font-size: var(--font-size-root);
}

html,
body {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    margin: 0;
    padding: 0;
}

input,
textarea,
select,
button {
    cursor: pointer;
    font-size: 1rem;
}

button[type="button"],
button[type="submit"],
a[type="button"] {
    padding: 0.25rem 1rem;
    border: 1px solid var(--border);
    outline: none;
    text-decoration: none;
    border-radius: var(--radius-base);
    background: var(--primary);
    color: var(--text-primary);
    width: max-content;
}

.app-content button[type="button"],
button[type="submit"],
a[type="button"] {
    color: var(--primary);
    background: var(--text-primary);
}

button[type="button"][data-target="delete"],
a[type="button"][data-target="delete"] {
    background: var(--danger);
    color: var(--text-primary);
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="tel"],
input[type="url"],
textarea {
    width: 100%;
    height: 2rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-base);
}

select {
    width: 100%;
    height: 2rem !important;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-base);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 2.5em;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
}

textarea {
    overflow: hidden;
}

textarea::-webkit-scrollbar {
    display: none;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: #D6D3D1;
}

ol,
ul {
    padding-left: initial;
}

.offcanvas {
    z-index: 10000;
}

.material-icons {
    font-family: 'Material Icons';
    font-size: 1.5rem;
    font-style: normal;
    user-select: none;
}

.material-icons-outlined {
    font-family: 'Material Icons Outlined';
    font-size: 1.5rem;
    font-style: normal;
    user-select: none;
}

.app-layout {
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: var(--z-navbar);
    width: 100%;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    flex-shrink: 0;

    color: var(--text-primary);
    background: var(--primary);
    border-bottom: 1px solid var(--border);
}

.app-body {
    flex: 1;
    display: flex;
    overflow: unset;
    position: relative;
}

.app-body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/images/auth-img-2.webp') no-repeat center;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
    height: 100%;
    width: 100%;
}

@media (min-width: 991px) {
    .app-body {
        overflow: hidden;
    }
}

.app-sidebar {
    width: var(--sidebar-width);
    min-width: 300px;
    max-width: 100%;
    height: 100%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;

    background: var(--primary);
    border-right: 1px solid var(--border-muted);
    scrollbar-color: var(--scrollbar-muted) transparent !important;
}

.app-sidebar .app-menu {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    padding: 1rem;
    padding-top: 1rem;
    margin: 0;
}

.app-sidebar .app-menu ul {
    list-style: none;
}

.app-sidebar-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.app-sidebar-inner .app-menu {
    flex: 1;
}

.app-sidebar-footer {
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
    text-align: center;
    position: sticky;
    bottom: 0;

    color: var(--text-primary);
}

.app-content {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
    height: 100%;
    scrollbar-color: var(--scrollbar) transparent;
}

.app-content {
    max-width: var(--content-max);
    margin-inline: auto;
}

.app-content:not(:has(.form-wrapper)) {
    padding: 1rem;
}

body.sidebar-open {
    overflow: hidden;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(2px);
    z-index: var(--z-overlay);
    display: none;
}

/* --- Sidebar Menu --- */

.app-menu>.menu-item {
    margin-bottom: 0.25rem;
    background: transparent;
}

.menu-toggle.level-module {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.35rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    outline: none;
    cursor: pointer;

    color: var(--text-primary);
    background: transparent;
}

.menu-toggle.level-module:hover {
    color: var(--text-primary) !important;
}

.menu-toggle.level-submodule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.3rem 0.5rem 24px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-base);
    outline: none;
    cursor: pointer;

    color: var(--text-primary);
    background: transparent;
}

.menu-toggle.level-submodule:hover {
    background: var(--text-primary);
    color: var(--primary);
}

.menu-toggle.level-group {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0 0.5rem 32px;
    font-size: 1rem;
    font-weight: 400;
    border: none;
    outline: none;
    cursor: pointer;
}

.menu-toggle .material-icons {
    font-size: 18px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.menu-item.open>.menu-toggle svg {
    transform: rotate(180deg);
}

.menu-link {
    list-style: none;
}

.menu-link a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 3rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-base);
    transition: background 0.2s, color 0.2s;

    color: var(--text-primary);
}

.menu-link a:hover {
    color: var(--primary);
    background: var(--text-primary);
}

.menu-link a.active {
    font-weight: 500;
    position: relative;
    color: var(--primary) !important;
    background: var(--text-primary) !important;
}

.menu-link a.active::after {
    background: var(--primary) !important;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    height: 8px;
    width: 8px;
    border-radius: 50%;
    content: "";
}

@media (max-width: 991px) {
    .sidebar-toggle {
        display: inline-flex;
        align-items: center;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 80%;
        max-width: var(--sidebar-width);
        z-index: var(--z-sidebar);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .app-sidebar.is-open {
        transform: translateX(0);
        padding-top: 4rem;
    }

    .app-content {
        width: 100%;
    }
}

.wave-text span {
    display: inline-block;
    font-size: 1.4rem;
    animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(1) {
    animation-delay: 0s;
}

.wave-text span:nth-child(2) {
    animation-delay: 0.2s;
}

.wave-text span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-datetime {
    width: 100%;
    white-space: nowrap;
    text-align: right;
}

.navbar button:not([type="button"]) {
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text-inverse);
}

@media (max-width: 768px) {
    .navbar-datetime {
        display: none;
    }

    .navbar-right {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

.navbar button.dropdown-btn,
.navbar .pos-redirect-button,
.sidebar-toggle {
    background: var(--text-primary) !important;
    color: var(--primary) !important;
    min-height: 2.4rem;
    max-height: 2.4rem;
    min-width: 2.4rem;
    max-width: 2.4rem;
    border-radius: var(--radius-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle {
    border: none;
    cursor: pointer;
    display: none;
    padding: 0;
}

.navbar .pos-redirect-button svg {
    font-size: 1.2rem;
}

.navbar svg {
    /* color: var(--primary) !important; */
}

.drwopdown-button-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--text-primary);
    color: var(--primary);
    border-radius: 50%;
    border: 1px solid var(--border);
    font-size: 0.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-search-wrap {
    position: relative;
    padding: 10px 12px;
    flex-shrink: 0;
    color: var(--text-primary);
}
.sidebar-search-wrap input {
    width: 100%;
    height: 34px;
    padding: 0 30px 0 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-base);
    font-size: .8rem;
    background: rgba(255,255,255,0.06);
    color: inherit;
    outline: none;
    transition: border-color .15s;
}
.sidebar-search-wrap input:focus {
    border-color: #6366f1;
}
.sidebar-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .75rem;
    opacity: .6;
    pointer-events: none;
}
.sidebar-search-wrap button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: .75rem;
    opacity: .6;
    cursor: pointer;
    color: inherit;
}
.sidebar-search-wrap button:hover {
    opacity: 1;
}

.app-menu .menu-item.search-hidden,
.app-menu .menu-link.search-hidden {
    display: none !important;
}

mark.sidebar-hit {
    background: var(--active-bg);
    color: inherit;
    border-radius: 2px;
    padding: 0 1px;
}

@media(max-width: 768px) {
    .drwopdown-button-badge {
        top: -0.75rem;
        right: -0.5rem;
    }

    .navbar button.dropdown-btn,
    .navbar .pos-redirect-button,
    .sidebar-toggle {
        background: var(--text-primary) !important;
        color: var(--primary) !important;
        min-height: 2rem;
        max-height: 2rem;
        min-width: 2rem;
        max-width: 2rem;
        border-radius: var(--radius-base);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/*
--- Auth Forms
*/

.auth-form-wrapper {
    position: relative;
    height: 100dvh;
    width: 100dvw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/auth-img-2.jpg') no-repeat center center;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.1);
    background-blend-mode: multiply;

    filter: blur(8px);
    z-index: 0;
}

.auth-form-wrapper form {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 567px;
    max-height: 60dvh;
    overflow-y: auto;

    border-radius: 1rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);

    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.auth-form-wrapper form>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.auth-form-wrapper form .nl-group-column {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
}

.auth-form-wrapper form input {
    width: 100%;
    padding: 0.375rem 0.75rem;
    outline-color: var(--color-muted);
    border-radius: 0.25rem;
}

.auth-form-wrapper form input[type="checkbox"] {
    width: fit-content;
    accent-color: var(--color-dark);
}

.auth-form-wrapper form button {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: transparent;
    border-radius: 0.25rem;
}

.auth-form-wrapper form header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.auth-form-wrapper form header img {
    width: 2.4rem;
    height: auto;
}

@media (max-width: 768px) {
    .auth-form-wrapper form {
        grid-template-columns: repeat(1, 1fr);
        box-shadow: none;
        backdrop-filter: unset;
    }

    .auth-form-wrapper form>img {
        display: none;
    }

    .auth-form-wrapper form header {
        flex-direction: column-reverse;
        align-items: center;
        gap: 1rem;
    }

    .auth-form-wrapper form header img {
        width: 100px;
    }
}

/*
--- Sticky Notes
*/

.dropdown-menu:has(.sticky-notes) {
    max-height: 300px;
    overflow-y: auto !important;
    padding: 1rem;
    position: relative;
}

.dropdown-menu:has(.sticky-notes) ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dropdown-menu:has(.sticky-notes) ul li {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 0 !important;
}

.dropdown-menu:has(.sticky-notes) ul li p {
    flex-grow: 1;
}

.dropdown-menu:has(.sticky-notes) ul li button {
    width: fit-content;
}

.dropdown:has(.sticky-notes) {
    position: relative;
}

/*
--- Warehouse
*/
.dropdown:has(.warehouse-list) .dropdown-menu {
    min-width: 400px !important;
}

.dropdown:has(.warehouse-list) .warehouse-list {
    padding: 1rem;
}

.dropdown:has(.warehouse-list) .warehouse-list-parent {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.dropdown:has(.warehouse-list) .warehouse-list-parent-item {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.dropdown:has(.warehouse-list) .warehouse-list-child {
    max-height: 300px;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.dropdown:has(.warehouse-list) .warehouse-list-child-item {
    padding: 2rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

/*
--- Module
*/

.dropdown:has(.module-list) .dropdown-menu {
    min-width: 400px !important;
    padding: 1rem;
}

.dropdown:has(.module-list) .module-list {
    max-height: 300px;
    padding-right: 0.5rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.dropdown:has(.module-list) .module-list-item {
    padding: 2rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
}

/* Objectives */

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.page-header .select2-selection__rendered {
    font-size: initial !important;
    font-weight: initial !important;
}

.page-search-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

@media(max-width: 768px) {
    .page-search-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
}

.search-input-wrap {
    position: relative;
    flex: 1;
}

.search-input-wrap svg, .search-input-wrap i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
}

.search-input-wrap input {
    width: 100%;
    padding-left: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color .15s, background .15s;
}

.search-input-wrap input:focus {
    border-color: var(--primary);
}

/* Modal */
.modal {
    z-index: var(--z-modal);
}

#barcodeContainer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.barcode-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-wrapper .full {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

button#czTriggerBtn {
    padding: 0;
    background: unset;
    color: inherit;
    border: 0;
}

/* ============================================================
   Customizer consumers — static rules only.
   Variables read below (--primary, --primary-soft, --text-primary,
   --font-family-base, --radius-base, etc.) are CUSTOMIZER-OWNED:
   single source = App\Models\Admin\UserPreference::defaults(),
   injected at runtime by customizer/script.blade.php → czApply()/
   czBuildCss() into #customizer-runtime-vars. This file never
   declares their values — only consumes them.
============================================================ */

html.cz-no-anim,
html.cz-no-anim * {
    transition: none !important;
    animation: none !important;
}

html[data-cz-sidebar="compact"] .app-sidebar {
    width: 88px;
    min-width: 88px;
}

html[data-cz-sidebar="compact"] .app-sidebar .menu-link a span:not(.small),
html[data-cz-sidebar="compact"] .app-sidebar .menu-toggle>span:first-child {
    display: none;
}

html[data-cz-sidebar="icons"] .app-sidebar {
    width: 64px;
    min-width: 64px;
}

html[data-cz-sidebar="icons"] .app-sidebar .submenu {
    display: none !important;
}

html[dir="rtl"] body {
    direction: rtl;
}

.nl-card-header,
.panel-head {
    border-bottom: 1px solid var(--primary-softer);
}

.panel-title i,
.panel-link,
.nl-card-header h6 i,
.navbar-brand,
.pos-brand i,
.page-title i {
    color: var(--primary) !important;
}

.modal-header,
.offcanvas-header,
.nl-modal-header,
.pos-modal-header {
    border-bottom: 2px solid var(--primary-soft) !important;
}

.modal-title i,
.offcanvas-title i,
.pos-modal-header h5 i {
    color: var(--primary) !important;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--primary-soft) !important;
    color: var(--primary) !important;
}

.table thead th {
    border-bottom: 2px solid var(--primary-soft) !important;
}

.pagination .page-item.active .page-link {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.page-link {
    color: var(--primary) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-soft) !important;
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

html.cz-density-compact .nl-card-body,
html.cz-density-compact .table td,
html.cz-density-compact .table th {
    padding: .4rem .6rem !important;
}

html.cz-density-compact .page-header {
    margin-bottom: .6rem !important;
}