/* Landing embedded module panel */
body.page-home-index .xplore-hero.is-module-open {
    position: relative;
    display: block;
    min-height: 0;
    height: calc(100dvh - var(--x-nav-height));
    padding: 0;
    overflow: hidden;
    background: #eef4ff;
}

body.page-home-index .xplore-panel-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    background: #eef4ff;
}

body.page-home-index .xplore-panel-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: #173d78;
    font-weight: 800;
    background: rgba(238, 244, 255, 0.86);
}

body.is-embedded {
    --x-nav-height: 0px;
    margin: 0;
    overflow: hidden;
    background: #eef4ff;
}

body.is-embedded .skip-link {
    display: none;
}

body.is-embedded .app-content,
body.is-embedded .app-content-inner {
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.page-home-records.is-embedded .records-shell {
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.page-home-records.is-embedded .records-main.main-panel {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
}

body.page-home-records.is-embedded .doc-layer {
    inset: 0 !important;
}

body.page-home-documentsbysearchterm.is-embedded .docs-search-layout {
    min-height: 100dvh !important;
    height: 100dvh !important;
    padding: 1rem !important;
    overflow: hidden !important;
}

body.page-home-documentsbysearchterm.is-embedded .docs-search-row,
body.page-home-documentsbysearchterm.is-embedded .docs-search-col {
    min-height: 0 !important;
    height: 100% !important;
}

body.page-home-documentsbysearchterm.is-embedded #searchDocsContainer {
    min-height: 0 !important;
    height: 100% !important;
}

body.page-home-documentsbysearchterm.is-embedded .doc-layer {
    inset: 0 !important;
}

body.page-home-nlp.is-embedded .nlp-page {
    min-height: 100dvh !important;
    height: 100dvh !important;
    padding: 1rem !important;
    overflow: hidden !important;
}

body.page-home-nlp.is-embedded .nlp-logo-link {
    pointer-events: none;
}

body.page-home-nlp .nlp-voice-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

body.page-home-nlp .nlp-voice-actions .nlp-voice-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    font-weight: 800;
    min-height: 36px;
    padding-inline: 1rem;
}

/* Documents search / photographic collection dark mode */
html[data-theme="dark"] body.page-home-documentsbysearchterm,
body[data-theme="dark"].page-home-documentsbysearchterm {
    color: #eaf2ff;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm .app-content,
html[data-theme="dark"] body.page-home-documentsbysearchterm .app-content-inner,
html[data-theme="dark"] body.page-home-documentsbysearchterm .docs-search-layout,
html[data-theme="dark"] body.page-home-documentsbysearchterm .docs-search-row,
html[data-theme="dark"] body.page-home-documentsbysearchterm .docs-search-col,
body[data-theme="dark"].page-home-documentsbysearchterm .app-content,
body[data-theme="dark"].page-home-documentsbysearchterm .app-content-inner,
body[data-theme="dark"].page-home-documentsbysearchterm .docs-search-layout,
body[data-theme="dark"].page-home-documentsbysearchterm .docs-search-row,
body[data-theme="dark"].page-home-documentsbysearchterm .docs-search-col {
    background: transparent !important;
    color: #eaf2ff !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm .search-bar,
body[data-theme="dark"].page-home-documentsbysearchterm .search-bar {
    border: 1px solid rgba(78, 122, 190, 0.5) !important;
    border-radius: 18px;
    background: rgba(8, 30, 57, 0.76) !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm advanced-search,
body[data-theme="dark"].page-home-documentsbysearchterm advanced-search {
    --adv-surface: rgba(7, 26, 51, 0.86);
    --adv-panel: rgba(9, 31, 59, 0.96);
    --adv-border: rgba(95, 143, 216, 0.48);
    --adv-border-strong: rgba(104, 151, 224, 0.68);
    --adv-text: #eaf2ff;
    --adv-muted: #a9c1e8;
    --adv-focus: rgba(78, 145, 255, 0.28);
    --adv-hover: rgba(31, 77, 130, 0.76);
    --adv-shadow: none;
    --adv-shadow-in: none;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #searchDocsContainer,
body[data-theme="dark"].page-home-documentsbysearchterm #searchDocsContainer {
    border: 1px solid rgba(78, 122, 190, 0.5) !important;
    border-radius: 18px;
    background: rgba(8, 30, 57, 0.74) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer {
    background:
        radial-gradient(circle at top left, rgba(72, 140, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(7, 26, 51, 0.98), rgba(10, 34, 64, 0.96)) !important;
    color: #eaf2ff !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer .docs-hero,
html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer .docs-table-card,
html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer .docs-toolbar,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer .docs-hero,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer .docs-table-card,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer .docs-toolbar {
    border-color: rgba(78, 122, 190, 0.58) !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(63, 135, 255, 0.13), transparent 36%),
        rgba(8, 30, 57, 0.86) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid,
html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid.k-grid,
html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-grid,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid.k-grid,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-grid {
    border-color: rgba(78, 122, 190, 0.5) !important;
    background: linear-gradient(180deg, rgba(16, 37, 68, 0.98), rgba(13, 31, 58, 0.98)) !important;
    background-color: rgba(16, 37, 68, 0.98) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-grid-aria-root, .k-grid-container, .k-grid-content, .k-grid-content-wrap, .k-grid-content-locked, .k-grid-header-wrap, .k-grid-footer, .k-grid-norecords, .k-grid-norecords-template, .k-table, .k-table-tbody, .k-grid-table),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-grid-aria-root, .k-grid-container, .k-grid-content, .k-grid-content-wrap, .k-grid-content-locked, .k-grid-header-wrap, .k-grid-footer, .k-grid-norecords, .k-grid-norecords-template, .k-table, .k-table-tbody, .k-grid-table) {
    background: rgba(16, 37, 68, 0.98) !important;
    background-color: rgba(16, 37, 68, 0.98) !important;
    color: #eaf2ff !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-grid-norecords, .k-grid-norecords-template),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-grid-norecords, .k-grid-norecords-template) {
    min-height: 100% !important;
    color: #dbeaff !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-grid-header, .k-grid-header-wrap, .k-table-th, .k-grid-header th),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-grid-header, .k-grid-header-wrap, .k-table-th, .k-grid-header th) {
    background: rgba(24, 54, 96, 0.94) !important;
    color: #edf4ff !important;
    border-color: rgba(78, 122, 190, 0.42) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-table-td, .k-grid-content td),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-table-td, .k-grid-content td) {
    background: rgba(20, 47, 85, 0.94) !important;
    color: #d9e8ff !important;
    border-color: rgba(78, 122, 190, 0.34) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-grid-content tr:nth-child(even) td,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-grid-content tr:nth-child(even) td {
    background: rgba(17, 41, 74, 0.96) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-grid-content tr:hover td,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-grid-content tr:hover td {
    background: rgba(33, 71, 120, 0.92) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-pager-wrap,
html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid.k-grid .k-pager-wrap,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-pager-wrap,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid.k-grid .k-pager-wrap {
    border-top-color: rgba(78, 122, 190, 0.45) !important;
    background: rgba(5, 22, 43, 0.96) !important;
    color: #dbeaff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-pager-wrap :is(.k-button, .k-link, .k-pager-nav, .k-picker, .k-dropdownlist, .k-input-inner),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid .k-pager-wrap :is(.k-button, .k-link, .k-pager-nav, .k-picker, .k-dropdownlist, .k-input-inner) {
    border-color: rgba(95, 143, 216, 0.46) !important;
    background: rgba(14, 44, 82, 0.92) !important;
    color: #dbeaff !important;
}

/* Shared rounded pager style: documents search and task tracking */
body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager),
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager-wrap,
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager,
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-grid-pager {
    min-height: 68px !important;
    margin: 18px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(185, 205, 234, 0.78) !important;
    border-radius: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 255, 0.92)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 12px 28px rgba(12, 39, 76, 0.07) !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-pager-nav-buttons, .k-pager-numbers-wrap),
body.page-home-taskbyrequester #gridAsigmentsByRequester :is(.k-pager-nav-buttons, .k-pager-numbers-wrap) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px !important;
    border: 1px solid rgba(191, 210, 236, 0.76) !important;
    border-radius: 999px !important;
    background: rgba(247, 251, 255, 0.72) !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) .k-pager-numbers,
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager-numbers {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-button, .k-link, .k-pager-nav, .k-pager-numbers .k-selected, .k-button-flat-base),
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager :is(.k-button, .k-link, .k-pager-nav, .k-pager-numbers .k-selected, .k-button-flat-base),
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager-wrap :is(.k-button, .k-link, .k-pager-nav, .k-pager-numbers .k-selected, .k-button-flat-base) {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(178, 201, 232, 0.9) !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #173d78 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    font-weight: 800 !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-button, .k-link, .k-pager-nav, .k-button-flat-base):hover,
body.page-home-taskbyrequester #gridAsigmentsByRequester :is(.k-button, .k-link, .k-pager-nav, .k-button-flat-base):hover {
    border-color: rgba(79, 132, 222, 0.78) !important;
    color: #0f63d8 !important;
    background: #f5f9ff !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-selected, .k-state-selected),
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager :is(.k-selected, .k-state-selected),
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager-wrap :is(.k-selected, .k-state-selected) {
    border-color: transparent !important;
    color: #ffffff !important;
    background: linear-gradient(145deg, #2f7fff, #145bd9) !important;
    box-shadow:
        0 10px 20px rgba(22, 90, 200, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid .docs-pager-summary {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(176, 199, 232, 0.82) !important;
    border-radius: 999px !important;
    color: #173d78 !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
    font-size: 0.94rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) .k-pager-info,
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager-info {
    margin-left: auto !important;
    color: #21436f !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) .k-pager-sizes,
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager-sizes {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #4f6690 !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
}

body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) .k-pager-sizes .k-picker,
body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager-sizes .k-picker {
    height: 42px !important;
    min-width: 86px !important;
    border: 1px solid rgba(178, 201, 232, 0.9) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager),
html[data-theme="dark"] body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager-wrap,
html[data-theme="dark"] body.page-home-taskbyrequester #gridAsigmentsByRequester .k-pager,
html[data-theme="dark"] body.page-home-taskbyrequester #gridAsigmentsByRequester .k-grid-pager,
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager),
body.page-home-taskbyrequester[data-theme="dark"] #gridAsigmentsByRequester .k-pager-wrap,
body.page-home-taskbyrequester[data-theme="dark"] #gridAsigmentsByRequester .k-pager,
body.page-home-taskbyrequester[data-theme="dark"] #gridAsigmentsByRequester .k-grid-pager {
    border-color: rgba(76, 114, 177, 0.62) !important;
    background: linear-gradient(180deg, rgba(25, 53, 92, 0.94), rgba(18, 43, 78, 0.96)) !important;
    box-shadow:
        inset 0 1px 0 rgba(139, 184, 255, 0.1),
        0 14px 32px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-pager-nav-buttons, .k-pager-numbers-wrap),
html[data-theme="dark"] body.page-home-taskbyrequester #gridAsigmentsByRequester :is(.k-pager-nav-buttons, .k-pager-numbers-wrap),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-pager-nav-buttons, .k-pager-numbers-wrap),
body.page-home-taskbyrequester[data-theme="dark"] #gridAsigmentsByRequester :is(.k-pager-nav-buttons, .k-pager-numbers-wrap) {
    border-color: rgba(89, 132, 198, 0.58) !important;
    background: rgba(15, 38, 72, 0.78) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-button, .k-link, .k-pager-nav, .k-pager-numbers .k-selected, .k-button-flat-base),
html[data-theme="dark"] body.page-home-taskbyrequester #gridAsigmentsByRequester :is(.k-button, .k-link, .k-pager-nav, .k-pager-numbers .k-selected, .k-button-flat-base),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-button, .k-link, .k-pager-nav, .k-pager-numbers .k-selected, .k-button-flat-base),
body.page-home-taskbyrequester[data-theme="dark"] #gridAsigmentsByRequester :is(.k-button, .k-link, .k-pager-nav, .k-pager-numbers .k-selected, .k-button-flat-base) {
    border-color: rgba(89, 132, 198, 0.72) !important;
    color: #dbeaff !important;
    background: rgba(21, 48, 86, 0.92) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-selected, .k-state-selected),
html[data-theme="dark"] body.page-home-taskbyrequester #gridAsigmentsByRequester :is(.k-selected, .k-state-selected),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.k-pager-wrap, .k-pager, .k-grid-pager) :is(.k-selected, .k-state-selected),
body.page-home-taskbyrequester[data-theme="dark"] #gridAsigmentsByRequester :is(.k-selected, .k-state-selected) {
    border-color: transparent !important;
    color: #ffffff !important;
    background: linear-gradient(145deg, #2f7fff, #145bd9) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.docs-pager-summary, .k-pager-info, .k-pager-sizes, .k-pager-sizes .k-label),
html[data-theme="dark"] body.page-home-taskbyrequester #gridAsigmentsByRequester :is(.k-pager-info, .k-pager-sizes, .k-pager-sizes .k-label),
body[data-theme="dark"].page-home-documentsbysearchterm #_docsLayer #_docsGrid :is(.docs-pager-summary, .k-pager-info, .k-pager-sizes, .k-pager-sizes .k-label),
body.page-home-taskbyrequester[data-theme="dark"] #gridAsigmentsByRequester :is(.k-pager-info, .k-pager-sizes, .k-pager-sizes .k-label) {
    border-color: rgba(89, 132, 198, 0.72) !important;
    color: #dbeaff !important;
    background: rgba(21, 48, 86, 0.92) !important;
}

html[data-theme="dark"] body.page-home-documentsbysearchterm :is(.docs-ref-cell span, .docs-date-cell strong, .docs-title-cell),
body[data-theme="dark"].page-home-documentsbysearchterm :is(.docs-ref-cell span, .docs-date-cell strong, .docs-title-cell) {
    color: #f4f8ff !important;
}

html[data-theme="dark"] body.page-home-index .xplore-hero.is-module-open,
html[data-theme="dark"] body.page-home-index .xplore-panel-frame,
body[data-theme="dark"].page-home-index .xplore-hero.is-module-open,
body[data-theme="dark"].page-home-index .xplore-panel-frame,
html[data-theme="dark"] body.is-embedded,
body[data-theme="dark"].is-embedded {
    background: #071a33;
}

html[data-theme="dark"] body.page-home-index .xplore-panel-loader,
body[data-theme="dark"].page-home-index .xplore-panel-loader {
    color: #dbeaff;
    background: rgba(7, 26, 51, 0.88);
}

/* NLP search/results dark mode */
html[data-theme="dark"] body.page-home-nlp,
html[data-theme="dark"] body.page-home-nlprecords,
body[data-theme="dark"].page-home-nlp,
body[data-theme="dark"].page-home-nlprecords {
    color: #eaf2ff;
}

html[data-theme="dark"] body.page-home-nlp .app-content,
html[data-theme="dark"] body.page-home-nlp .app-content-inner,
html[data-theme="dark"] body.page-home-nlp .nlp-page,
html[data-theme="dark"] body.page-home-nlprecords .app-content,
html[data-theme="dark"] body.page-home-nlprecords .app-content-inner,
body[data-theme="dark"].page-home-nlp .app-content,
body[data-theme="dark"].page-home-nlp .app-content-inner,
body[data-theme="dark"].page-home-nlp .nlp-page,
body[data-theme="dark"].page-home-nlprecords .app-content,
body[data-theme="dark"].page-home-nlprecords .app-content-inner {
    background: transparent !important;
    color: #eaf2ff !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-search,
body[data-theme="dark"].page-home-nlp .nlp-search {
    border: 1px solid rgba(94, 143, 218, 0.58) !important;
    background:
        radial-gradient(circle at 95% 0%, rgba(52, 132, 255, 0.18), transparent 34%),
        rgba(8, 30, 57, 0.92) !important;
    color: #eaf2ff !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-title,
body[data-theme="dark"].page-home-nlp .nlp-title {
    color: #b9d2fb !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-input,
body[data-theme="dark"].page-home-nlp .nlp-input {
    border: 1px solid rgba(104, 151, 224, 0.62) !important;
    background: rgba(5, 22, 43, 0.88) !important;
    color: #f3f8ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-input::placeholder,
body[data-theme="dark"].page-home-nlp .nlp-input::placeholder {
    color: rgba(203, 219, 245, 0.76) !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-search-btn,
body[data-theme="dark"].page-home-nlp .nlp-search-btn {
    border: 1px solid rgba(98, 146, 222, 0.5) !important;
    background: rgba(18, 54, 96, 0.94) !important;
    color: #eaf2ff !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-search-btn img,
body[data-theme="dark"].page-home-nlp .nlp-search-btn img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

html[data-theme="dark"] body.page-home-nlp .nlp-mic-notice,
body[data-theme="dark"].page-home-nlp .nlp-mic-notice {
    border-color: rgba(94, 143, 218, 0.46) !important;
    background: rgba(10, 38, 72, 0.92) !important;
    color: #dbeaff !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-voice-actions .nlp-voice-btn,
body[data-theme="dark"].page-home-nlp .nlp-voice-actions .nlp-voice-btn {
    border-color: rgba(98, 146, 222, 0.58) !important;
    background: rgba(13, 44, 82, 0.96) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-voice-actions .nlp-voice-btn.is-listening,
body[data-theme="dark"].page-home-nlp .nlp-voice-actions .nlp-voice-btn.is-listening {
    border-color: rgba(77, 145, 255, 0.86) !important;
    background: #1f75ff !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.page-home-nlp .arca-header-logo,
body[data-theme="dark"].page-home-nlp .arca-header-logo {
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlprecords .main-panel,
html[data-theme="dark"] body.page-home-nlprecords #containerPanel,
body[data-theme="dark"].page-home-nlprecords .main-panel,
body[data-theme="dark"].page-home-nlprecords #containerPanel {
    border: 1px solid rgba(78, 122, 190, 0.58) !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(63, 135, 255, 0.13), transparent 36%),
        rgba(8, 30, 57, 0.84) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlprecords .nlp-records-toolbar,
body[data-theme="dark"].page-home-nlprecords .nlp-records-toolbar {
    color: #dbeaff !important;
}

html[data-theme="dark"] body.page-home-nlprecords .nlp-records-caption,
html[data-theme="dark"] body.page-home-nlprecords .nlp-records-voice-hint,
body[data-theme="dark"].page-home-nlprecords .nlp-records-caption,
body[data-theme="dark"].page-home-nlprecords .nlp-records-voice-hint {
    color: #b7cff5 !important;
}

html[data-theme="dark"] body.page-home-nlprecords .nlp-records-caption strong,
body[data-theme="dark"].page-home-nlprecords .nlp-records-caption strong {
    color: #f4f8ff !important;
}

html[data-theme="dark"] body.page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn,
body[data-theme="dark"].page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn {
    border: 1px solid rgba(95, 143, 216, 0.56) !important;
    background: rgba(13, 44, 82, 0.96) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn img,
body[data-theme="dark"].page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer,
html[data-theme="dark"] body.page-home-nlprecords #recordsListView,
html[data-theme="dark"] body.page-home-nlprecords #recordsListView.k-listview,
html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-listview,
html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-listview-content,
html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-listview-content.k-empty,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer .k-listview,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer .k-listview-content,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer .k-listview-content.k-empty,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer .k-listview-content.k-no-data,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer :is(.k-no-data, .k-empty, .k-listview-norecords, .k-listview-empty),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer,
body[data-theme="dark"].page-home-nlprecords #recordsListView,
body[data-theme="dark"].page-home-nlprecords #recordsListView.k-listview,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-listview,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-listview-content,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-listview-content.k-empty,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer .k-listview,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer .k-listview-content,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer .k-listview-content.k-empty,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer .k-listview-content.k-no-data,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer :is(.k-no-data, .k-empty, .k-listview-norecords, .k-listview-empty) {
    border-color: rgba(78, 122, 190, 0.5) !important;
    background: rgba(7, 26, 51, 0.86) !important;
    background-color: rgba(7, 26, 51, 0.86) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-listview-content,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer .k-listview-content,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-listview-content,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer .k-listview-content {
    scrollbar-color: rgba(139, 166, 207, 0.78) rgba(4, 17, 34, 0.7);
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer .k-listview-content > :not(.record-card),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer .k-listview-content > :not(.record-card) {
    background-color: transparent !important;
    color: #eaf2ff !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .record-card,
body[data-theme="dark"].page-home-nlprecords #recordsListView .record-card {
    border: 1px solid rgba(95, 143, 216, 0.55) !important;
    background:
        linear-gradient(180deg, rgba(43, 87, 134, 0.9), rgba(25, 72, 118, 0.92)) !important;
    color: #f4f8ff !important;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .record-title strong,
html[data-theme="dark"] body.page-home-nlprecords #recordsListView .record-summary,
body[data-theme="dark"].page-home-nlprecords #recordsListView .record-title strong,
body[data-theme="dark"].page-home-nlprecords #recordsListView .record-summary {
    color: #f4f8ff !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .doc-count,
body[data-theme="dark"].page-home-nlprecords #recordsListView .doc-count {
    border-color: rgba(130, 174, 242, 0.52) !important;
    background: rgba(14, 54, 97, 0.8) !important;
    color: #f4f8ff !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .doc-count .count,
body[data-theme="dark"].page-home-nlprecords #recordsListView .doc-count .count {
    color: #4e91ff !important;
}

html[data-theme="dark"] body.page-home-nlprecords :is(.k-loading-mask, .k-loading-color),
body[data-theme="dark"].page-home-nlprecords :is(.k-loading-mask, .k-loading-color) {
    background: rgba(7, 26, 51, 0.74) !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView :is(.k-pager-wrap, .k-listview-pager, .k-pager),
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer :is(.k-pager-wrap, .k-listview-pager, .k-pager),
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer > :is(.k-pager-wrap, .k-listview-pager, .k-pager),
body[data-theme="dark"].page-home-nlprecords #recordsListView :is(.k-pager-wrap, .k-listview-pager, .k-pager),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer :is(.k-pager-wrap, .k-listview-pager, .k-pager),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer > :is(.k-pager-wrap, .k-listview-pager, .k-pager) {
    border-top: 1px solid rgba(94, 143, 218, 0.38) !important;
    background: rgba(5, 22, 43, 0.96) !important;
    background-color: rgba(5, 22, 43, 0.96) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView :is(.k-pager-wrap, .k-listview-pager, .k-pager) :is(.k-button, .k-link, .k-pager-nav),
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer :is(.k-pager-wrap, .k-listview-pager, .k-pager) :is(.k-button, .k-link, .k-pager-nav),
body[data-theme="dark"].page-home-nlprecords #recordsListView :is(.k-pager-wrap, .k-listview-pager, .k-pager) :is(.k-button, .k-link, .k-pager-nav),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer :is(.k-pager-wrap, .k-listview-pager, .k-pager) :is(.k-button, .k-link, .k-pager-nav) {
    border-color: rgba(95, 143, 216, 0.46) !important;
    background: rgba(14, 44, 82, 0.92) !important;
    color: #dbeaff !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView :is(.k-pager-wrap, .k-listview-pager, .k-pager) :is(.k-selected, .k-state-selected),
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer :is(.k-pager-wrap, .k-listview-pager, .k-pager) :is(.k-selected, .k-state-selected),
body[data-theme="dark"].page-home-nlprecords #recordsListView :is(.k-pager-wrap, .k-listview-pager, .k-pager) :is(.k-selected, .k-state-selected),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer :is(.k-pager-wrap, .k-listview-pager, .k-pager) :is(.k-selected, .k-state-selected) {
    border-color: rgba(77, 145, 255, 0.82) !important;
    background: #4a8ff7 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView :is(.k-pager-info, .k-pager-sizes, .k-label),
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer :is(.k-pager-info, .k-pager-sizes, .k-label),
body[data-theme="dark"].page-home-nlprecords #recordsListView :is(.k-pager-info, .k-pager-sizes, .k-label),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer :is(.k-pager-info, .k-pager-sizes, .k-label) {
    color: #dbeaff !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-pager-sizes :is(.k-picker, .k-dropdownlist, .k-input-inner),
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer .k-pager-sizes :is(.k-picker, .k-dropdownlist, .k-input-inner),
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-pager-sizes :is(.k-picker, .k-dropdownlist, .k-input-inner),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer .k-pager-sizes :is(.k-picker, .k-dropdownlist, .k-input-inner) {
    border-color: rgba(95, 143, 216, 0.46) !important;
    background: rgba(14, 44, 82, 0.92) !important;
    color: #eaf2ff !important;
}

/* NLP command center overrides */
body.page-home-nlp.is-embedded .nlp-page {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
    padding: clamp(18px, 3vw, 34px) !important;
}

body.page-home-nlp .nlp-search {
    width: min(1120px, 96vw) !important;
    text-align: left !important;
}

body.page-home-nlp .nlp-search-btn {
    position: static !important;
    width: auto !important;
    min-width: 128px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #176df2, #1aa3ff) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(23, 109, 242, 0.28) !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-search,
body[data-theme="dark"].page-home-nlp .nlp-search {
    background:
        linear-gradient(135deg, rgba(8, 30, 57, 0.96), rgba(13, 50, 92, 0.9)),
        repeating-linear-gradient(90deg, rgba(107, 174, 255, 0.07) 0 1px, transparent 1px 48px) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-command-card,
html[data-theme="dark"] body.page-home-nlp .nlp-context-card,
html[data-theme="dark"] body.page-home-nlp .nlp-voice-card,
body[data-theme="dark"].page-home-nlp .nlp-command-card,
body[data-theme="dark"].page-home-nlp .nlp-context-card,
body[data-theme="dark"].page-home-nlp .nlp-voice-card {
    background: rgba(8, 30, 57, 0.72) !important;
    border-color: rgba(91, 142, 214, 0.56) !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-input-wrap,
body[data-theme="dark"].page-home-nlp .nlp-input-wrap {
    background: rgba(4, 21, 42, 0.88) !important;
    border-color: rgba(98, 151, 230, 0.62) !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlp .nlp-search-btn,
body[data-theme="dark"].page-home-nlp .nlp-search-btn {
    background: linear-gradient(135deg, #176df2, #19b6c9) !important;
    color: #ffffff !important;
}
/* NLP results pager: keep the same footer controls used by Mis Expedientes. */
body.page-home-nlprecords #recordsListView .k-pager-wrap,
body.page-home-nlprecords #recordsListView .k-listview-pager,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager {
    min-height: 68px !important;
    margin: 18px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(185, 205, 234, 0.78) !important;
    border-radius: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 255, 0.92)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 12px 28px rgba(12, 39, 76, 0.07) !important;
}

body.page-home-nlprecords #recordsListView .k-pager-wrap :is(.k-button, .k-link),
body.page-home-nlprecords #recordsListView .k-listview-pager :is(.k-button, .k-link),
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager :is(.k-button, .k-link) {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(178, 201, 232, 0.9) !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #173d78 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    font-weight: 800 !important;
}

body.page-home-nlprecords #recordsListView .k-pager-wrap :is(.k-button, .k-link):hover,
body.page-home-nlprecords #recordsListView .k-listview-pager :is(.k-button, .k-link):hover,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager :is(.k-button, .k-link):hover {
    border-color: rgba(79, 132, 222, 0.78) !important;
    color: #0f63d8 !important;
    background: #f5f9ff !important;
}

body.page-home-nlprecords #recordsListView .k-pager-wrap :is(.k-selected, .k-state-selected),
body.page-home-nlprecords #recordsListView .k-listview-pager :is(.k-selected, .k-state-selected),
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager :is(.k-selected, .k-state-selected) {
    border-color: transparent !important;
    color: #ffffff !important;
    background: linear-gradient(145deg, #2f7fff, #145bd9) !important;
    box-shadow:
        0 10px 20px rgba(22, 90, 200, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

body.page-home-nlprecords #recordsListView .k-pager-nav-buttons,
body.page-home-nlprecords #recordsListView .k-pager-numbers-wrap,
body.page-home-nlprecords #recordsListView .k-listview-pager .k-pager-nav-buttons,
body.page-home-nlprecords #recordsListView .k-listview-pager .k-pager-numbers-wrap,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager .k-pager-nav-buttons,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager .k-pager-numbers-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px !important;
    border: 1px solid rgba(191, 210, 236, 0.76) !important;
    border-radius: 999px !important;
    background: rgba(247, 251, 255, 0.72) !important;
}

body.page-home-nlprecords #recordsListView .records-pager-summary,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager .records-pager-summary {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(176, 199, 232, 0.82) !important;
    border-radius: 999px !important;
    color: #173d78 !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
    font-size: 0.94rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

body.page-home-nlprecords #recordsListView .k-pager-info,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager .k-pager-info {
    margin-left: auto !important;
    color: #21436f !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-pager-wrap,
html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-listview-pager,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager,
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-pager-wrap,
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-listview-pager,
body.page-home-nlprecords[data-theme="dark"] #recordsListViewContainer > .k-listview-pager,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-pager-wrap,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-listview-pager,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer > .k-listview-pager {
    border-color: rgba(76, 114, 177, 0.62) !important;
    background: linear-gradient(180deg, rgba(25, 53, 92, 0.94), rgba(18, 43, 78, 0.96)) !important;
    background-color: transparent !important;
    box-shadow:
        inset 0 1px 0 rgba(139, 184, 255, 0.1),
        0 14px 32px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-pager-wrap :is(.k-button, .k-link),
html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-listview-pager :is(.k-button, .k-link),
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager :is(.k-button, .k-link),
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-pager-wrap :is(.k-button, .k-link),
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-listview-pager :is(.k-button, .k-link),
body.page-home-nlprecords[data-theme="dark"] #recordsListViewContainer > .k-listview-pager :is(.k-button, .k-link),
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-pager-wrap :is(.k-button, .k-link),
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-listview-pager :is(.k-button, .k-link),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer > .k-listview-pager :is(.k-button, .k-link) {
    border-color: rgba(89, 132, 198, 0.72) !important;
    color: #dbeaff !important;
    background: rgba(21, 48, 86, 0.92) !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-pager-wrap :is(.k-selected, .k-state-selected),
html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-listview-pager :is(.k-selected, .k-state-selected),
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager :is(.k-selected, .k-state-selected),
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-pager-wrap :is(.k-selected, .k-state-selected),
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-listview-pager :is(.k-selected, .k-state-selected),
body.page-home-nlprecords[data-theme="dark"] #recordsListViewContainer > .k-listview-pager :is(.k-selected, .k-state-selected),
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-pager-wrap :is(.k-selected, .k-state-selected),
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-listview-pager :is(.k-selected, .k-state-selected),
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer > .k-listview-pager :is(.k-selected, .k-state-selected) {
    border-color: transparent !important;
    color: #ffffff !important;
    background: linear-gradient(145deg, #2f7fff, #145bd9) !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .records-pager-summary,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager .records-pager-summary,
body.page-home-nlprecords[data-theme="dark"] #recordsListView .records-pager-summary,
body.page-home-nlprecords[data-theme="dark"] #recordsListViewContainer > .k-listview-pager .records-pager-summary,
body[data-theme="dark"].page-home-nlprecords #recordsListView .records-pager-summary,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer > .k-listview-pager .records-pager-summary {
    border-color: rgba(89, 132, 198, 0.72) !important;
    color: #dbeaff !important;
    background: rgba(21, 48, 86, 0.92) !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-pager-info,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager .k-pager-info,
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-pager-info,
body.page-home-nlprecords[data-theme="dark"] #recordsListViewContainer > .k-listview-pager .k-pager-info,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-pager-info,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer > .k-listview-pager .k-pager-info {
    color: #d7e6ff !important;
}

@media (max-width: 760px) {
    body.page-home-nlprecords #recordsListView .k-pager-wrap,
    body.page-home-nlprecords #recordsListView .k-listview-pager,
    body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager {
        justify-content: center !important;
    }

    body.page-home-nlprecords #recordsListView .records-pager-summary,
    body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager .records-pager-summary,
    body.page-home-nlprecords #recordsListView .k-pager-info,
    body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager .k-pager-info {
        width: 100%;
        margin-left: 0 !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* NLP records: align the page frame and controls with Mis Expedientes. */
body.page-home-nlprecords {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

body.page-home-nlprecords .app-content,
body.page-home-nlprecords .app-content-inner,
body.page-home-nlprecords .records-shell,
body.page-home-nlprecords .records-shell > .row {
    min-height: 0 !important;
    overflow: hidden !important;
}

body.page-home-nlprecords .app-content {
    height: calc(100dvh - var(--x-nav-height) - 1rem) !important;
}

body.page-home-nlprecords .app-content-inner,
body.page-home-nlprecords .records-shell,
body.page-home-nlprecords .records-shell > .row {
    height: 100% !important;
}

body.page-home-nlprecords .records-main.main-panel {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
}

body.page-home-nlprecords .records-breadcrumb,
body.page-home-nlprecords .records-header,
body.page-home-nlprecords .nlp-records-toolbar {
    flex: 0 0 auto !important;
}

body.page-home-nlprecords .records-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    align-self: flex-start !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(223, 235, 255, 0.92) !important;
    color: #315078 !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

body.page-home-nlprecords .records-breadcrumb > span,
body.page-home-nlprecords .records-breadcrumb .arc-flow-crumb-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

body.page-home-nlprecords .arc-flow-crumb-link {
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    text-transform: inherit !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.page-home-nlprecords .arc-flow-crumb-link:hover {
    color: #0e58d0 !important;
}

body.page-home-nlprecords .records-breadcrumb .bi {
    flex: 0 0 auto !important;
    font-size: 0.95rem !important;
}

body.page-home-nlprecords .nlp-new-search-link .bi {
    font-size: 1rem !important;
}

body.page-home-nlprecords .records-header {
    position: relative !important;
    overflow: hidden !important;
    margin-top: 14px !important;
    padding: 20px 24px !important;
    border-radius: 26px !important;
    border: 1px solid rgba(185, 205, 234, 0.78) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.9)),
        radial-gradient(circle at 88% 12%, rgba(47, 127, 255, 0.12), transparent 36%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 14px 34px rgba(12, 39, 76, 0.08) !important;
}

body.page-home-nlprecords .records-header h1 {
    margin: 0 !important;
    color: #173d78 !important;
    font-size: clamp(1.55rem, 2.1vw, 2rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

body.page-home-nlprecords .records-header p {
    margin: 6px 0 0 !important;
    color: #526377 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

body.page-home-nlprecords .records-header strong {
    color: #173d78 !important;
}

body.page-home-nlprecords .nlp-records-toolbar {
    min-height: auto !important;
    padding: 10px 0 0 !important;
}

body.page-home-nlprecords .nlp-records-voice-hint {
    margin: 0 !important;
}

body.page-home-nlprecords #recordsListViewContainer {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    margin-top: 12px !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    padding: 12px !important;
    border-radius: 26px !important;
    border: 1px solid rgba(183, 203, 233, 0.84) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(240, 246, 255, 0.92)),
        radial-gradient(circle at top, rgba(255, 255, 255, 0.54), transparent 60%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 18px 42px rgba(12, 39, 76, 0.08) !important;
}

body.page-home-nlprecords #recordsListView {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.page-home-nlprecords #recordsListView.k-listview,
body.page-home-nlprecords #recordsListView .k-listview,
body.page-home-nlprecords #recordsListView .k-listview-content {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.page-home-nlprecords #recordsListView .k-listview-content {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-gutter: stable !important;
    display: grid !important;
    align-content: start !important;
    grid-template-columns: repeat(auto-fill, minmax(clamp(290px, 24vw, 380px), 1fr)) !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 6px 10px 12px 6px !important;
    background: transparent !important;
}

body.page-home-nlprecords #recordsListView .k-listview-pager.records-pager-empty .k-pager-numbers-wrap,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager.records-pager-empty .k-pager-numbers-wrap,
body.page-home-nlprecords #recordsListView .k-listview-pager.records-pager-empty .k-pager-nav-buttons,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager.records-pager-empty .k-pager-nav-buttons {
    display: none !important;
}

html[data-theme="dark"] body.page-home-nlprecords .records-breadcrumb,
body[data-theme="dark"].page-home-nlprecords .records-breadcrumb {
    background: rgba(24, 57, 100, 0.88) !important;
    color: #dbeaff !important;
}

html[data-theme="dark"] body.page-home-nlprecords .records-header,
body[data-theme="dark"].page-home-nlprecords .records-header {
    border-color: rgba(84, 126, 190, 0.66) !important;
    background:
        linear-gradient(135deg, rgba(20, 47, 88, 0.94), rgba(17, 39, 73, 0.96)),
        radial-gradient(circle at 88% 12%, rgba(86, 151, 255, 0.18), transparent 36%) !important;
    box-shadow:
        inset 0 1px 0 rgba(129, 177, 247, 0.13),
        0 18px 42px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] body.page-home-nlprecords .records-header h1,
html[data-theme="dark"] body.page-home-nlprecords .records-header strong,
body[data-theme="dark"].page-home-nlprecords .records-header h1,
body[data-theme="dark"].page-home-nlprecords .records-header strong {
    color: #f4f8ff !important;
}

html[data-theme="dark"] body.page-home-nlprecords .records-header p,
body[data-theme="dark"].page-home-nlprecords .records-header p {
    color: #b7cff5 !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer {
    border-color: rgba(84, 126, 190, 0.66) !important;
    background:
        linear-gradient(180deg, rgba(20, 47, 88, 0.9), rgba(17, 39, 73, 0.96)),
        radial-gradient(circle at top, rgba(86, 151, 255, 0.16), transparent 58%) !important;
    box-shadow:
        inset 0 1px 0 rgba(129, 177, 247, 0.13),
        0 18px 42px rgba(0, 0, 0, 0.24) !important;
}

/* NLPRecords explicit light and dark theme finishes. */
html[data-theme="light"] body.page-home-nlprecords .records-breadcrumb,
body[data-theme="light"].page-home-nlprecords .records-breadcrumb {
    background: rgba(223, 235, 255, 0.92) !important;
    color: #315078 !important;
}

html[data-theme="light"] body.page-home-nlprecords .records-header,
body[data-theme="light"].page-home-nlprecords .records-header {
    border-color: rgba(185, 205, 234, 0.78) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.9)),
        radial-gradient(circle at 88% 12%, rgba(47, 127, 255, 0.12), transparent 36%) !important;
    color: #173d78 !important;
}

html[data-theme="light"] body.page-home-nlprecords .records-header h1,
html[data-theme="light"] body.page-home-nlprecords .records-header strong,
body[data-theme="light"].page-home-nlprecords .records-header h1,
body[data-theme="light"].page-home-nlprecords .records-header strong {
    color: #173d78 !important;
}

html[data-theme="light"] body.page-home-nlprecords .records-header p,
html[data-theme="light"] body.page-home-nlprecords .nlp-records-voice-hint,
body[data-theme="light"].page-home-nlprecords .records-header p,
body[data-theme="light"].page-home-nlprecords .nlp-records-voice-hint {
    color: #526377 !important;
}

html[data-theme="light"] body.page-home-nlprecords #recordsListViewContainer,
body[data-theme="light"].page-home-nlprecords #recordsListViewContainer {
    border-color: rgba(183, 203, 233, 0.84) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(240, 246, 255, 0.92)),
        radial-gradient(circle at top, rgba(255, 255, 255, 0.54), transparent 60%) !important;
}

html[data-theme="light"] body.page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn,
body[data-theme="light"].page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn {
    border-color: rgba(85, 132, 205, 0.38) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #173d78 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

html[data-theme="light"] body.page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn.is-active,
body[data-theme="light"].page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn.is-active {
    border-color: transparent !important;
    background: linear-gradient(145deg, #2f7fff, #145bd9) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.page-home-nlprecords .arc-flow-crumb-link:hover,
body[data-theme="dark"].page-home-nlprecords .arc-flow-crumb-link:hover {
    color: #8bb8ff !important;
}

html[data-theme="dark"] body.page-home-nlprecords .nlp-records-voice-hint,
body[data-theme="dark"].page-home-nlprecords .nlp-records-voice-hint {
    color: #b7cff5 !important;
}

html[data-theme="dark"] body.page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn,
body[data-theme="dark"].page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn {
    border-color: rgba(95, 143, 216, 0.56) !important;
    background: rgba(13, 44, 82, 0.96) !important;
    color: #eaf2ff !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn.is-active,
body[data-theme="dark"].page-home-nlprecords .nlp-records-toolbar .nlp-voice-enable-btn.is-active {
    border-color: rgba(77, 145, 255, 0.86) !important;
    background: linear-gradient(145deg, #2f7fff, #145bd9) !important;
    color: #ffffff !important;
}

/* NLP results final visual pass */
body.page-home-nlprecords {
    --nlp-page-bg: transparent;
    --nlp-panel-bg: color-mix(in srgb, var(--x-surface) 88%, transparent);
    --nlp-panel-border: color-mix(in srgb, var(--x-line) 76%, transparent);
    --nlp-hero-bg: linear-gradient(135deg, color-mix(in srgb, var(--x-surface) 94%, transparent), color-mix(in srgb, var(--x-surface-2) 88%, transparent));
    --nlp-list-bg: color-mix(in srgb, var(--x-surface) 92%, transparent);
    --nlp-muted-bg: color-mix(in srgb, var(--x-surface-2) 70%, transparent);
    --nlp-text: var(--x-text);
    --nlp-text-soft: var(--x-text-2);
    --nlp-text-muted: var(--x-text-3);
}

html[data-theme="dark"] body.page-home-nlprecords,
body.page-home-nlprecords[data-theme="dark"],
body[data-theme="dark"].page-home-nlprecords {
    --nlp-panel-bg: rgba(8, 30, 57, 0.82);
    --nlp-panel-border: rgba(82, 129, 199, 0.54);
    --nlp-hero-bg: linear-gradient(135deg, rgba(16, 42, 78, 0.96), rgba(11, 31, 59, 0.98));
    --nlp-list-bg: rgba(7, 25, 49, 0.7);
    --nlp-muted-bg: rgba(16, 42, 78, 0.82);
    --nlp-text: #f3f8ff;
    --nlp-text-soft: #c7dcff;
    --nlp-text-muted: #a7c1e7;
}

body.page-home-nlprecords .app-content,
body.page-home-nlprecords .app-content-inner,
body.page-home-nlprecords .records-shell,
body.page-home-nlprecords .records-shell > .row {
    background: var(--nlp-page-bg) !important;
}

body.page-home-nlprecords .records-main.main-panel,
body.page-home-nlprecords #containerPanel {
    gap: 0.82rem !important;
    padding: clamp(0.85rem, 1.4vw, 1.18rem) !important;
    border-color: var(--nlp-panel-border) !important;
    background:
        radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--x-primary-soft) 46%, transparent), transparent 32%),
        var(--nlp-panel-bg) !important;
    color: var(--nlp-text) !important;
    box-shadow: none !important;
}

body.page-home-nlprecords .records-breadcrumb {
    min-height: 30px !important;
    padding: 6px 11px !important;
    background: color-mix(in srgb, var(--nlp-muted-bg) 82%, transparent) !important;
    color: var(--nlp-text-muted) !important;
    opacity: 0.92;
}

body.page-home-nlprecords .records-header {
    min-height: 0 !important;
    margin-top: 0.18rem !important;
    padding: 1rem 1.15rem !important;
    border-radius: 18px !important;
    border-color: var(--nlp-panel-border) !important;
    background:
        radial-gradient(circle at 94% 18%, color-mix(in srgb, var(--x-primary-soft) 40%, transparent), transparent 28%),
        var(--nlp-hero-bg) !important;
    color: var(--nlp-text) !important;
    box-shadow: none !important;
}

body.page-home-nlprecords .records-header h1 {
    color: var(--nlp-text) !important;
    font-size: clamp(1.32rem, 1.7vw, 1.78rem) !important;
}

body.page-home-nlprecords .records-header p {
    color: var(--nlp-text-muted) !important;
    margin-top: 0.32rem !important;
}

body.page-home-nlprecords .records-header strong {
    color: var(--x-primary) !important;
}

body.page-home-nlprecords .nlp-records-toolbar {
    padding: 0 !important;
}

body.page-home-nlprecords .nlp-records-voice-hint {
    color: var(--nlp-text-muted) !important;
}

body.page-home-nlprecords #nlpVoiceEnableBtn {
    border-radius: 12px !important;
    font-weight: 800 !important;
}

body.page-home-nlprecords #recordsListViewContainer {
    position: relative;
    margin-top: 0 !important;
    padding: 0.72rem !important;
    border-radius: 18px !important;
    border-color: var(--nlp-panel-border) !important;
    background:
        radial-gradient(circle at top, color-mix(in srgb, var(--x-primary-soft) 28%, transparent), transparent 48%),
        var(--nlp-list-bg) !important;
    box-shadow: none !important;
}

body.page-home-nlprecords #recordsListView,
body.page-home-nlprecords #recordsListView.k-listview,
body.page-home-nlprecords #recordsListView .k-listview,
body.page-home-nlprecords #recordsListView .k-listview-content {
    background: transparent !important;
    background-color: transparent !important;
}

body.page-home-nlprecords #recordsListView .k-listview-content {
    gap: 0.85rem !important;
    padding: 0.15rem 0.35rem 0.7rem 0.15rem !important;
    min-height: 0 !important;
}

body.page-home-nlprecords #recordsListViewContainer.nlp-results-loading #recordsListView .k-listview-content {
    min-height: 280px !important;
}

body.page-home-nlprecords #recordsListViewContainer.nlp-results-empty #recordsListView .k-listview-content {
    min-height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.page-home-nlprecords #recordsListViewContainer.nlp-results-empty #recordsListView .k-listview-content::before {
    content: "No se encontraron expedientes para esta busqueda.";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(520px, 100%);
    min-height: 88px;
    padding: 1rem 1.25rem;
    border: 1px solid var(--nlp-panel-border);
    border-radius: 16px;
    background: var(--nlp-muted-bg);
    color: var(--nlp-text-soft);
    font-weight: 800;
    text-align: center;
}

body.page-home-nlprecords #recordsListViewContainer.nlp-results-empty #recordsListView .k-listview-content > * {
    display: none !important;
}

body.page-home-nlprecords #recordsListViewContainer .k-loading-mask {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: color-mix(in srgb, var(--nlp-list-bg) 74%, transparent) !important;
    background-color: color-mix(in srgb, var(--nlp-list-bg) 74%, transparent) !important;
    backdrop-filter: blur(2px);
}

body.page-home-nlprecords #recordsListViewContainer .k-loading-color {
    background: transparent !important;
    background-color: transparent !important;
}

body.page-home-nlprecords #recordsListViewContainer .k-loading-image,
body.page-home-nlprecords #recordsListViewContainer .k-loader {
    color: var(--x-primary) !important;
}

body.page-home-nlprecords #recordsListViewContainer .k-loading-text {
    color: var(--nlp-text-soft) !important;
}

body.page-home-nlprecords #recordsListView .record-card {
    border-color: var(--nlp-panel-border) !important;
    background:
        linear-gradient(155deg, color-mix(in srgb, var(--x-surface) 96%, transparent), color-mix(in srgb, var(--x-surface-2) 88%, transparent)) !important;
    color: var(--nlp-text) !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .record-card,
body.page-home-nlprecords[data-theme="dark"] #recordsListView .record-card,
body[data-theme="dark"].page-home-nlprecords #recordsListView .record-card {
    background:
        linear-gradient(155deg, rgba(20, 52, 91, 0.96), rgba(12, 37, 70, 0.98)) !important;
}

body.page-home-nlprecords #recordsListView .record-title strong,
body.page-home-nlprecords #recordsListView .record-summary {
    color: var(--nlp-text) !important;
}

body.page-home-nlprecords #recordsListView .doc-count {
    background: var(--nlp-muted-bg) !important;
    color: var(--nlp-text-soft) !important;
    border-color: var(--nlp-panel-border) !important;
}

body.page-home-nlprecords #recordsListView .doc-count .count {
    color: var(--x-primary) !important;
}

body.page-home-nlprecords #recordsListView .k-pager-wrap,
body.page-home-nlprecords #recordsListView .k-listview-pager,
body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager {
    margin-top: 0.72rem !important;
    border-color: rgba(185, 205, 234, 0.78) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(239, 246, 255, 0.92)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 12px 28px rgba(12, 39, 76, 0.07) !important;
}

html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-pager-wrap,
html[data-theme="dark"] body.page-home-nlprecords #recordsListView .k-listview-pager,
html[data-theme="dark"] body.page-home-nlprecords #recordsListViewContainer > .k-listview-pager,
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-pager-wrap,
body.page-home-nlprecords[data-theme="dark"] #recordsListView .k-listview-pager,
body.page-home-nlprecords[data-theme="dark"] #recordsListViewContainer > .k-listview-pager,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-pager-wrap,
body[data-theme="dark"].page-home-nlprecords #recordsListView .k-listview-pager,
body[data-theme="dark"].page-home-nlprecords #recordsListViewContainer > .k-listview-pager {
    border-color: rgba(76, 114, 177, 0.62) !important;
    background: linear-gradient(180deg, rgba(25, 53, 92, 0.94), rgba(18, 43, 78, 0.96)) !important;
    box-shadow:
        inset 0 1px 0 rgba(139, 184, 255, 0.1),
        0 14px 32px rgba(0, 0, 0, 0.22) !important;
}

@media (max-width: 760px) {
    body.page-home-nlprecords .records-header {
        padding: 0.9rem !important;
    }

    body.page-home-nlprecords #recordsListViewContainer.nlp-results-loading #recordsListView .k-listview-content,
    body.page-home-nlprecords #recordsListViewContainer.nlp-results-empty #recordsListView .k-listview-content {
        min-height: 190px !important;
    }
}
