html.app-theme-enabled .page.theme-page--index {
    min-height: calc(100vh - 8rem);
    background: var(--app-bg);
    color: var(--app-text);
}

html.app-theme-enabled .theme-page--index #searchPage .table__caption {
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    color: var(--app-text);
    box-shadow: 0 8px 24px var(--app-shadow);
}

html.app-theme-enabled .theme-page--index #searchPage .table__caption .inner,
html.app-theme-enabled .theme-page--index #searchPage .searchArea {
    background: transparent;
    color: var(--app-text);
}

html.app-theme-enabled .theme-page--index #searchQuery,
html.app-theme-enabled .theme-page--index .js-detail-experience-years,
html.app-theme-enabled .theme-page--index .js-detail-experience-condition,
html.app-theme-enabled .theme-page--index .js-detail-employment-status,
html.app-theme-enabled .theme-page--index #pageLengthSelect,
html.app-theme-enabled .theme-page--index .select2-container--default .select2-selection--multiple,
html.app-theme-enabled .theme-page--index .select2-container--default .select2-selection--single {
    border-color: var(--app-border) !important;
    background: var(--app-control-bg) !important;
    color: var(--app-text) !important;
}

html.app-theme-enabled .theme-page--index #searchQuery::placeholder,
html.app-theme-enabled .theme-page--index .select2-container--default .select2-selection--multiple .select2-selection__placeholder,
html.app-theme-enabled .theme-page--index .select2-container--default .select2-search__field::placeholder {
    color: var(--app-text-muted) !important;
    opacity: 0.82;
}

html.app-theme-enabled .theme-page--index #searchQuery:focus,
html.app-theme-enabled .theme-page--index .js-detail-experience-years:focus,
html.app-theme-enabled .theme-page--index .js-detail-experience-condition:focus,
html.app-theme-enabled .theme-page--index .js-detail-employment-status:focus,
html.app-theme-enabled .theme-page--index #pageLengthSelect:focus,
html.app-theme-enabled .theme-page--index .select2-container--focus .select2-selection--multiple,
html.app-theme-enabled .theme-page--index .select2-container--open .select2-selection--multiple {
    border-color: var(--app-focus-ring) !important;
    box-shadow: 0 0 0 3px var(--app-focus-soft) !important;
    outline: none;
}

html.app-theme-enabled .theme-page--index #search-inline-controls #detailSearchToggle {
    border-color: var(--app-border) !important;
    background: transparent !important;
    color: var(--app-text) !important;
}

html.app-theme-enabled .theme-page--index #search-inline-controls #detailSearchToggle:hover {
    border-color: var(--app-primary) !important;
    color: var(--app-primary) !important;
}

html.app-theme-enabled .theme-page--index #search-inline-controls .js-button {
    border: 1px solid var(--app-primary) !important;
    background: var(--app-primary) !important;
    color: var(--app-on-primary) !important;
}

html.app-theme-enabled .theme-page--index #search-inline-controls .js-button:hover {
    border-color: var(--app-primary-hover) !important;
    background: var(--app-primary-hover) !important;
}

html.app-theme-enabled[data-theme="dark"] .theme-page--index #search-inline-controls .js-button {
    border-color: #5ea8c7 !important;
    background: #1b5f84 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

html.app-theme-enabled[data-theme="dark"] .theme-page--index #search-inline-controls .js-button:hover {
    border-color: #78bdd8 !important;
    background: #23739e !important;
    color: #ffffff !important;
}

html.app-theme-enabled[data-theme="dark"] .theme-page--index #search-inline-controls .js-button:focus-visible {
    outline: 3px solid rgba(103, 199, 237, 0.28);
    outline-offset: 2px;
}

html.app-theme-enabled .theme-page--index #detailSearchPanel {
    border-color: var(--app-border);
    background: var(--app-surface-raised);
    color: var(--app-text);
    box-shadow: 0 8px 22px var(--app-shadow);
}

html.app-theme-enabled .theme-page--index .detailPanelTitle,
html.app-theme-enabled .theme-page--index .filterDetailLabel,
html.app-theme-enabled .theme-page--index .filterDetailSelectRow,
html.app-theme-enabled .theme-page--index .filterDetailTagLabel {
    color: var(--app-text);
}

html.app-theme-enabled .theme-page--index .experienceYearsInput::placeholder,
html.app-theme-enabled .theme-page--index .detailPanelCloseBtn,
html.app-theme-enabled .theme-page--index .filterTagClear,
html.app-theme-enabled .theme-page--index .filterTagChipRemove {
    color: var(--app-text-muted);
}

html.app-theme-enabled .theme-page--index .filterDetailSelectRow--bordered,
html.app-theme-enabled .theme-page--index .filterTagArea--bordered {
    border-color: var(--app-border);
}

html.app-theme-enabled .theme-page--index .experienceFilterRow {
    border-color: var(--app-border);
}

html.app-theme-enabled .theme-page--index .experienceYearsInput,
html.app-theme-enabled .theme-page--index .experienceComparisonSelect {
    border-color: var(--app-border) !important;
    background: var(--app-control-bg) !important;
    color: var(--app-text) !important;
}

html.app-theme-enabled .theme-page--index .experienceYearsUnit {
    color: var(--app-text-muted) !important;
}

html.app-theme-enabled .theme-page--index .experienceYearsInput:focus,
html.app-theme-enabled .theme-page--index .experienceComparisonSelect:focus {
    border-color: var(--app-focus-ring) !important;
    outline-color: var(--app-focus-soft) !important;
}

html.app-theme-enabled .theme-page--index .filterTagChip,
html.app-theme-enabled .theme-page--index .filterTagMore {
    background: var(--app-focus-soft);
    color: var(--app-text);
}

html.app-theme-enabled .theme-page--index .filterTagClear:hover {
    background: var(--app-control-bg);
    color: var(--app-text);
}

html.app-theme-enabled .select2-dropdown,
html.app-theme-enabled .select2-results__option,
html.app-theme-enabled .select2-search--dropdown .select2-search__field {
    border-color: var(--app-border);
    background: var(--app-surface-raised);
    color: var(--app-text);
}

html.app-theme-enabled .select2-container--default .select2-results__option--highlighted[aria-selected],
html.app-theme-enabled .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--app-primary);
    color: var(--app-on-primary);
}

html.app-theme-enabled .theme-page--index #columnWidthResetControl,
html.app-theme-enabled .theme-page--index #columnWidthResetControl a,
html.app-theme-enabled .theme-page--index #pageLengthControl label,
html.app-theme-enabled .theme-page--index .dataTables_info {
    color: var(--app-text-muted) !important;
}

html.app-theme-enabled .theme-page--index table#target.dataTable {
    border: 1px solid var(--app-table-border);
    background: var(--app-table-row);
    color: var(--app-text);
    box-shadow: 0 8px 24px var(--app-shadow);
}

html.app-theme-enabled .theme-page--index #target.dataTable thead,
html.app-theme-enabled .theme-page--index #target.dataTable thead th,
html.app-theme-enabled .theme-page--index #target.dataTable thead th.sticky-name-col,
html.app-theme-enabled table.DTCR_clonedTable thead th {
    border-color: var(--app-table-border) !important;
    background: var(--app-table-header) !important;
    color: var(--app-table-header-text) !important;
}

html.app-theme-enabled .theme-page--index #target.dataTable tbody tr,
html.app-theme-enabled .theme-page--index #target.dataTable tbody tr:nth-child(odd),
html.app-theme-enabled .theme-page--index #target.dataTable tbody tr:nth-child(even) {
    background: var(--app-table-row);
    color: var(--app-text);
}

html.app-theme-enabled .theme-page--index #target.dataTable tbody tr:nth-child(even) {
    background: var(--app-table-row-alt);
}

html.app-theme-enabled .theme-page--index #target.dataTable tbody tr:hover {
    background: var(--app-focus-soft);
}

html.app-theme-enabled .theme-page--index #target.dataTable tbody td,
html.app-theme-enabled .theme-page--index #target.dataTable tbody th {
    border-color: var(--app-table-border);
    background: inherit;
    color: var(--app-text);
}

html.app-theme-enabled .theme-page--index #target.dataTable td.sticky-name-col {
    border-color: var(--app-table-border);
    background: inherit;
    color: var(--app-text);
    box-shadow: 2px 0 0 var(--app-table-border);
}

html.app-theme-enabled .theme-page--index #target.dataTable td.name a,
html.app-theme-enabled .theme-page--index #target.dataTable td.sticky-name-col a,
html.app-theme-enabled .theme-page--index .workplace-detail-trigger {
    color: var(--app-link);
}

html.app-theme-enabled .theme-page--index .workplace-detail-trigger:hover,
html.app-theme-enabled .theme-page--index .workplace-detail-trigger:focus {
    color: var(--app-primary-hover);
}

html.app-theme-enabled .theme-page--index .employment-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.45rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-control-bg);
    color: var(--app-text-muted);
    white-space: nowrap;
}

html.app-theme-enabled .theme-page--index .employment-status-badge::before {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

html.app-theme-enabled .theme-page--index .employment-status-badge.is-active {
    border-color: var(--app-success-border);
    background: var(--app-success-bg);
    color: var(--app-success-text);
}

html.app-theme-enabled .theme-page--index .employment-status-badge.is-waiting {
    border-color: var(--app-warning-border);
    background: var(--app-warning-bg);
    color: var(--app-warning-text);
}

html.app-theme-enabled .theme-page--index .dataTables_paginate {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.8rem;
}

html.app-theme-enabled .theme-page--index .dataTables_paginate ul.pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button {
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--app-border) !important;
    border-radius: 8px !important;
    background: var(--app-control-bg) !important;
    color: var(--app-text) !important;
    box-shadow: 0 1px 4px var(--app-shadow);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.previous > a,
html.app-theme-enabled .theme-page--index .dataTables_paginate li.next > a {
    min-width: 58px;
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.previous > a::before {
    content: "‹";
    margin-right: 0.3rem;
    font-size: 1.2em;
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.next > a::after {
    content: "›";
    margin-left: 0.3rem;
    font-size: 1.2em;
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button:not(.disabled):not(.active) > a:hover {
    border-color: var(--app-primary) !important;
    background: var(--app-focus-soft) !important;
    color: var(--app-primary-hover) !important;
    transform: translateY(-1px);
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button.active > a,
html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button.active > a:hover,
html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button.active > a:focus {
    border-color: var(--app-primary) !important;
    background: var(--app-primary) !important;
    color: var(--app-on-primary) !important;
    box-shadow: 0 4px 12px var(--app-focus-soft);
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button > a:focus-visible {
    outline: 3px solid var(--app-focus-soft);
    outline-offset: 2px;
}

html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button.disabled > a,
html.app-theme-enabled .theme-page--index .dataTables_paginate li.paginate_button.disabled > a:hover {
    border-color: var(--app-border) !important;
    background: var(--app-control-bg) !important;
    color: var(--app-text-muted) !important;
    box-shadow: none;
    opacity: 0.48;
    cursor: not-allowed;
    transform: none;
}

html.app-theme-enabled.app-touch-small .theme-page--index .dataTables_paginate ul.pagination {
    gap: 4px;
}

html.app-theme-enabled.app-touch-small .theme-page--index .dataTables_paginate li.paginate_button > a {
    min-width: 34px;
    min-height: 34px;
    padding: 0.4rem 0.55rem;
}

html.app-theme-enabled.app-touch-small .theme-page--index .dataTables_paginate li.previous > a,
html.app-theme-enabled.app-touch-small .theme-page--index .dataTables_paginate li.next > a {
    min-width: 52px;
}

html.app-theme-enabled .theme-page--index .detail-modal {
    background: var(--app-overlay);
}

html.app-theme-enabled .theme-page--index .detail-modal-content {
    border: 1px solid var(--app-border);
    background: var(--app-surface-raised);
    color: var(--app-text);
    box-shadow: 0 18px 48px var(--app-shadow);
}

html.app-theme-enabled .theme-page--index .detail-modal-close,
html.app-theme-enabled .theme-page--index .detail-modal-label {
    color: var(--app-text-muted);
}

html.app-theme-enabled .theme-page--index .detail-modal-close:hover,
html.app-theme-enabled .theme-page--index .detail-modal-title,
html.app-theme-enabled .theme-page--index .detail-modal-value {
    color: var(--app-text);
}

html.app-theme-enabled .theme-page--index .mfa-policy-banner {
    border-color: var(--app-warning-border);
    background: var(--app-warning-bg);
    color: var(--app-warning-text);
}

html.app-theme-enabled .theme-page--index .mfa-policy-banner.is-required {
    border-color: var(--app-danger-border);
    background: var(--app-danger-bg);
    color: var(--app-danger-text);
}

html.app-theme-enabled .theme-page--index .descriptionunder {
    border: 1px solid var(--app-border);
    background: var(--app-surface-raised);
    color: var(--app-text);
    box-shadow: 0 8px 20px var(--app-shadow);
}

html.app-theme-enabled .theme-page--index .descriptionunder::before {
    border-top-color: var(--app-surface-raised);
}
