@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap");

/* Factory ledger — skins Bootstrap tables, search, paging, CRUD headers.
   Does not touch .table-polivalans / ForemenBoard custom grids. */

.app-main-content {
    --nl-ink: var(--nursan-navy, #0f2347);
    --nl-hot: var(--nursan-orange, #ff5200);
    --nl-muted: #3e5070;
    --nl-line: rgba(15, 35, 71, 0.12);
}

.app-main-content .table:not(.table-polivalans):not(.fixed-columns-table):not(.ek-table):not(.pz-table):not(.pd-table) {
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 0.88rem;
    color: var(--nursan-text, #1a2744);
    font-variant-numeric: tabular-nums;
}
.app-main-content .table:not(.table-polivalans):not(.fixed-columns-table) > :not(caption) > * > * {
    box-shadow: none;
}

.app-main-content .table-responsive:not(.fixed-table-container):not(.ek-table-wrap) {
    border-radius: 14px;
    border: 1px solid var(--nl-line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 34px -26px rgba(15, 35, 71, 0.45);
}

/* Column titles: navy bar + white labels. Beats site.css / pleasant-light
   (white text) and the old light-header skin (white-on-white). */
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) > thead > tr > th,
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) thead th {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff !important;
    background: #0f2347 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    white-space: nowrap;
    vertical-align: middle;
    text-align: left !important;
    box-shadow: none !important;
    transform: none !important;
    border-radius: 0 !important;
}
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) > thead > tr > th a,
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) thead th a {
    color: #fff !important;
    text-decoration: none !important;
}
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) > thead > tr > th a:hover,
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) thead th a:hover {
    color: #ff5200 !important;
}
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) > thead > tr > th:hover,
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) thead th:hover {
    background: #0f2347 !important;
    color: #fff !important;
    transform: none !important;
}

html body .app-main-content .ah-table thead th,
html body .app-main-content .sv-table th,
html body .app-main-content .ks-table th,
html body .app-main-content .rp-wrap .rp-table th,
html body .app-main-content .tork-table thead th {
    background: #0f2347 !important;
    color: #fff !important;
}

.app-main-content .table:not(.table-polivalans):not(.fixed-columns-table) tbody td {
    vertical-align: middle;
    border-bottom-color: rgba(15, 35, 71, 0.07);
}

.app-main-content .table-striped:not(.table-polivalans) > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: rgba(15, 35, 71, 0.03);
    background: rgba(15, 35, 71, 0.03);
}

.app-main-content .table-hover:not(.table-polivalans):not(.fixed-columns-table) > tbody > tr:hover > * {
    --bs-table-bg-state: rgba(255, 82, 0, 0.04);
    background: rgba(255, 82, 0, 0.04);
}

.app-main-content .card.shadow-sm,
.app-main-content .card.search-card {
    border: 1px solid var(--nl-line);
    border-radius: 16px;
    box-shadow: 0 18px 34px -26px rgba(15, 35, 71, 0.45);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
}

.app-main-content .card-header.bg-primary,
.app-main-content .card-header.bg-info,
.app-main-content .card-header.bg-light,
.app-main-content .card-header.bg-warning,
.app-main-content .card > .card-header:not([class*="bg-"]) {
    background: linear-gradient(145deg, #0f2347 0%, #1a3a7a 100%) !important;
    border-bottom: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: #fff !important;
}

.app-main-content .page-header,
.app-main-content .crud-header {
    background: linear-gradient(145deg, rgba(15, 35, 71, 0.94), rgba(26, 58, 122, 0.82)) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #fff;
    font-family: "Manrope", "Segoe UI", sans-serif;
    box-shadow: 0 20px 40px -24px rgba(15, 35, 71, 0.6);
}
.app-main-content .page-header h4,
.app-main-content .crud-header h4,
.app-main-content .crud-header h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.app-main-content .stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: #fff;
    padding: 14px 22px;
    min-width: 120px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}
.app-main-content .stat-card:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.app-main-content .stat-card-active {
    background: rgba(255, 255, 255, 0.28);
    outline: 2px solid rgba(255, 255, 255, 0.55);
}
.app-main-content .stat-card .num { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.8rem; line-height: 1; }
.app-main-content .stat-card .lbl { color: rgba(255, 244, 236, 0.78); font-size: 0.75rem; margin-top: 2px; }
.app-main-content .avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--nl-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    overflow: hidden;
}
.app-main-content .avatar-circle.retired { background: #5c6f94; }
.app-main-content .avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.app-main-content .in-factory-badge { font-size: 0.72rem; }

.app-main-content .filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--nl-line);
    background: #fff;
    color: var(--nl-ink);
    font-weight: 700;
    font-size: 0.82rem;
    font-family: "Manrope", "Segoe UI", sans-serif;
    text-decoration: none !important;
}
.app-main-content .filter-pill.active-all,
.app-main-content .filter-pill.active-working {
    border-color: var(--nl-ink);
    background: var(--nl-ink);
    color: #fff;
}
.app-main-content .filter-pill.active-retired {
    border-color: var(--nl-hot);
    background: var(--nl-hot);
    color: #fff;
}

.app-main-content .index-table th,
.app-main-content .personal-table th {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff !important;
    background: #0f2347 !important;
    border: none !important;
}

.app-main-content .action-btn-sm {
    width: 36px;
    height: 36px;
    border-radius: 9px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-main-content .pagination {
    --bs-pagination-color: var(--nl-ink);
    --bs-pagination-bg: #fff;
    --bs-pagination-border-color: var(--nl-line);
    --bs-pagination-hover-color: var(--nl-hot);
    --bs-pagination-hover-bg: #fff4ee;
    --bs-pagination-hover-border-color: var(--nl-hot);
    --bs-pagination-active-bg: var(--nl-ink);
    --bs-pagination-active-border-color: var(--nl-ink);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(255, 82, 0, 0.25);
    gap: 0.2rem;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.app-main-content .pagination .page-link {
    border-radius: 8px;
    min-width: 2.2rem;
    text-align: center;
}

.app-main-content .input-group-text.bg-primary {
    background: var(--nl-ink) !important;
    border-color: var(--nl-ink);
}

.app-main-content .form-control:focus,
.app-main-content .form-select:focus {
    border-color: var(--nl-hot);
    box-shadow: 0 0 0 0.2rem rgba(255, 82, 0, 0.18);
    caret-color: var(--nl-hot);
}

.app-main-content .table .btn-sm {
    min-height: 34px;
}

@media (max-width: 767.98px) {
    .app-main-content .table .btn-sm,
    .app-main-content .action-btn-sm {
        min-height: 44px;
        min-width: 44px;
    }
    .app-main-content .pagination .page-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .app-main-content .table-responsive:not(.fixed-table-container):not(.ek-table-wrap) {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    .app-main-content .table:not(.table-polivalans):not(.fixed-columns-table) tbody td {
        padding-top: 0.72rem;
        padding-bottom: 0.72rem;
        font-size: 0.92rem;
    }
    html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #0f2347 !important;
        color: #fff !important;
        box-shadow: 0 1px 0 rgba(15, 35, 71, 0.35);
    }
}

@media (prefers-reduced-transparency: reduce) {
    .app-main-content .table-responsive:not(.fixed-table-container),
    .app-main-content .card.shadow-sm,
    .app-main-content .card.search-card {
        background: #fff;
    }
}

/* Explicit ledger page chrome — unwrap nested Bootstrap cards. */
.nl-page {
    font-family: "Manrope", "Segoe UI", sans-serif;
    padding: 0.85rem 0 2.2rem;
    position: relative;
}
.nl-page::before {
    content: "";
    position: absolute;
    inset: -12px 0 auto;
    height: 260px;
    pointer-events: none;
    background:
        radial-gradient(640px 220px at 0% 0%, rgba(255, 82, 0, 0.14), transparent 62%),
        radial-gradient(720px 240px at 100% 8%, rgba(15, 35, 71, 0.16), transparent 64%);
    z-index: 0;
}
.nl-page > * { position: relative; z-index: 1; }
.nl-page > .modal,
.nl-page > .mp-share-modal {
    position: fixed !important;
    z-index: 2060 !important;
}
.nl-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    margin-bottom: 0.75rem;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(145deg, rgba(15, 35, 71, 0.94), rgba(26, 58, 122, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px -24px rgba(15, 35, 71, 0.6);
}
.nl-hero h1 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.nl-hero p {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 244, 236, 0.78);
    max-width: 62ch;
}
.nl-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-variant-numeric: tabular-nums;
}
.nl-chip b { font-size: 1.1rem; }
.nl-chip span { font-size: 0.72rem; color: rgba(255, 244, 236, 0.72); }
.nl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 42px;
    padding: 0 0.95rem;
    border-radius: 11px;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
}
.nl-btn-hot { background: var(--nl-hot); color: #fff; }
.nl-btn-hot:hover { background: #ff6b2c; color: #fff; }
.nl-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.nl-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.nl-seg {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    background: rgba(15, 35, 71, 0.06);
    border: 1px solid var(--nl-line);
}
.nl-seg a {
    min-height: 36px;
    padding: 0.35rem 0.85rem;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--nl-ink);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.nl-seg a:hover { background: rgba(255, 255, 255, 0.7); }
.nl-seg a.is-on { background: var(--nl-ink); color: #fff; }
.nl-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--nl-line);
}
.nl-toolbar .form-control,
.nl-toolbar .form-select {
    min-height: 42px;
}
.nl-toolbar .nl-search {
    flex: 1 1 16rem;
    min-width: 0;
}
/* Филтър-лента с етикет над полето: label + input в колона, подравнени по долния ръб.
   Замества комбинацията .nl-toolbar + .row (двоен gap/gutter → разместени полета). */
.nl-toolbar.nl-filter {
    align-items: flex-end;
    gap: 0.6rem 0.8rem;
}
.nl-filter .nl-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1 1 11rem;
    min-width: 0;
}
.nl-filter .nl-field--wide { flex: 2 1 18rem; }
.nl-filter .nl-field--date { flex: 0 1 13.5rem; }
.nl-filter .nl-field--btn {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.5rem;
}
.nl-filter .nl-field > .form-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--nl-muted);
    white-space: nowrap;
    line-height: 1.2;
}
.nl-filter .nl-field > .form-text {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.2;
}
.nl-filter .nl-field .btn { min-height: 42px; }
.nl-filter .select2-container--bootstrap-5 .select2-selection { min-height: 42px; }
.nl-empty {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--nl-line);
}
.nl-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.85rem;
    font-size: 0.8rem;
    color: var(--nl-muted);
    font-variant-numeric: tabular-nums;
}
.nl-act {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid var(--nl-line);
    background: #fff;
    color: var(--nl-ink);
    text-decoration: none !important;
}
.nl-act:hover { border-color: var(--nl-hot); color: var(--nl-hot); }
.nl-act-danger:hover { color: #9b2335; border-color: #9b2335; }

/* CRUD: never hide values inside same-color pills (looks like a switch). */
html body .app-main-content .badge {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    min-height: 1.4rem;
    padding: 0.2rem 0.55rem !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em;
    text-transform: none !important;
    overflow: visible !important;
    background-image: none !important;
    color: #fff !important;
}
html body .app-main-content .badge.bg-success,
html body .app-main-content .badge.text-success {
    background-color: #166534 !important;
    color: #fff !important;
}
html body .app-main-content .badge.bg-danger,
html body .app-main-content .badge.text-danger {
    background-color: #9b2335 !important;
    color: #fff !important;
}
html body .app-main-content .badge.bg-primary,
html body .app-main-content .badge.text-primary,
html body .app-main-content .badge.bg-info {
    background-color: #0f2347 !important;
    color: #fff !important;
}
html body .app-main-content .badge.bg-warning {
    background-color: #b45309 !important;
    color: #fff !important;
}

/* Boolean DisplayFor = disabled checkbox. Show Да/Не, not a switch. */
html body .app-main-content dd input[type="checkbox"],
html body .app-main-content .checkbox input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    display: inline !important;
    position: static !important;
    vertical-align: baseline;
}
html body .app-main-content dd input[type="checkbox"]::after,
html body .app-main-content .checkbox input[type="checkbox"]::after {
    content: "Не";
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    color: #5c6f94;
}
html body .app-main-content dd input[type="checkbox"]:checked::after,
html body .app-main-content .checkbox input[type="checkbox"]:checked::after {
    content: "Да";
    color: #0f2347;
}

.nl-sheet {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--nl-line);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 18px 34px -26px rgba(15, 35, 71, 0.45);
}
.nl-kv { display: grid; gap: 0; margin: 0; }
.nl-kv > div {
    display: grid;
    grid-template-columns: minmax(7rem, 34%) 1fr;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(15, 35, 71, 0.07);
    align-items: center;
}
.nl-kv > div:last-child { border-bottom: 0; }
.nl-kv dt {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f94;
}
.nl-kv dd {
    margin: 0;
    font-weight: 700;
    color: #1a2744;
    font-variant-numeric: tabular-nums;
}
.nl-kv .is-ok { color: #166534; }
.nl-kv .is-bad { color: #9b2335; }

.app-main-content > h1,
.app-main-content .container:not(.nl-page) > h1,
.app-main-content .container-fluid:not(.nl-page) > h1,
.app-main-content .container:not(.nl-page) > h2,
.app-main-content .container-fluid:not(.nl-page) > h2 {
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    background: linear-gradient(145deg, rgba(15, 35, 71, 0.94), rgba(26, 58, 122, 0.82));
    border-radius: 16px;
    padding: 1.05rem 1.2rem;
    margin: 0 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.app-main-content > h1 + h3,
.app-main-content > h1 + h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3e5070;
    margin: 0 0 0.75rem;
}
.app-main-content > h1 + hr,
.app-main-content > h4 + hr { display: none; }
.app-main-content dl.row {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--nl-line);
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 18px 34px -26px rgba(15, 35, 71, 0.45);
}
.app-main-content dl.row dt {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f94;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}
.app-main-content dl.row dd {
    font-weight: 700;
    color: #1a2744;
    font-variant-numeric: tabular-nums;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    margin-bottom: 0;
}
.app-main-content .form-group { margin-bottom: 0.9rem; }
.app-main-content .control-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6f94;
    margin-bottom: 0.35rem;
}
.app-main-content .form-control,
.app-main-content .form-select {
    min-height: 42px;
    border-radius: 10px;
    border-color: rgba(15, 35, 71, 0.16);
    font-family: "Manrope", "Segoe UI", sans-serif;
}
.app-main-content .card-header .text-primary,
.app-main-content .card-header h5,
.app-main-content .card-header h4,
.app-main-content .card-header .card-title {
    color: #fff !important;
}
.app-main-content .card-header .text-muted {
    color: rgba(255, 244, 236, 0.75) !important;
}
.app-main-content .card-header .btn-outline-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.app-main-content .card-header .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

@media (max-width: 767.98px) {
    .nl-hero { grid-template-columns: 1fr; }
    .nl-btn { width: 100%; min-height: 44px; }
    .nl-act { width: 44px; height: 44px; }
    .nl-kv > div { grid-template-columns: 1fr; gap: 0.15rem; padding: 0.65rem 0; }
    .nl-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .nl-filter .nl-field,
    .nl-filter .nl-field--wide,
    .nl-filter .nl-field--date,
    .nl-filter .nl-field--btn { flex: 1 1 100%; }
    .nl-toolbar .form-control,
    .nl-toolbar .form-select,
    .nl-toolbar .btn,
    .nl-toolbar .nl-search {
        width: 100%;
        min-height: 44px;
    }
    .nl-pager {
        flex-direction: column;
        align-items: stretch;
    }
    .nl-pager .pagination {
        justify-content: center;
    }
    .nl-toolbar .bc-scanner--inline .bc-open {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }
}

/* Phone scan next to ledger search; stays inside the same GET form. */
.nl-toolbar .bc-scanner--inline {
    align-self: stretch;
    flex-shrink: 0;
}
.nl-toolbar .bc-scanner--inline .bc-open {
    min-height: 42px;
    background: var(--nl-ink);
    border-color: var(--nl-ink);
    color: #fff;
    text-decoration: none !important;
}
.nl-toolbar .bc-scanner--inline .bc-open:hover {
    background: #1a3a7a;
    border-color: #1a3a7a;
    color: #fff;
}

/* Cyan Bootstrap row actions are hard to scan on the floor. */
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) .btn-info,
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) .btn-primary {
    background: #0f2347;
    border-color: #0f2347;
    color: #fff;
    text-decoration: none !important;
}
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) .btn-outline-primary {
    color: #0f2347;
    border-color: #0f2347;
    text-decoration: none !important;
}
html body .app-main-content table.table:not(.table-polivalans):not(.fixed-columns-table) .btn-danger {
    text-decoration: none !important;
}

/* GenerateID-family pagers without .nl-pager still match the ledger. */
.dc-index > .d-flex.justify-content-between {
    gap: 0.75rem;
    margin-top: 0.85rem;
    font-size: 0.8rem;
    color: var(--nl-muted);
    font-variant-numeric: tabular-nums;
    font-family: "Manrope", "Segoe UI", sans-serif;
}
