.data-center-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 3px 0 2px;
}

.data-center-title-wrap {
    min-width: 0;
}

.data-center-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.data-center-admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 8px;
    border: 1px solid #cfe2d2;
    border-radius: 999px;
    background: #f2f8f3;
    color: var(--green-800);
    font-size: 9px;
    font-weight: 820;
    letter-spacing: .04em;
}

.data-center-header-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7d8981;
    font-size: 10px;
    white-space: nowrap;
}

.data-center-header-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-600);
    box-shadow:
        0 0 0 4px
        rgba(47, 143, 78, .08);
}

.data-tabs {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: min(620px, 100%);
    margin-top: 22px;
    padding: 5px;
    border: 1px solid #dbe5dc;
    border-radius: 15px;
    background:
        rgba(255,255,255,.72);
    box-shadow:
        0 8px 24px
        rgba(31, 70, 43, .045);
}

.data-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    padding: 7px 14px;
    border-color: transparent;
    border-radius: 11px;
    background: transparent;
    box-shadow: none;
}

.data-tab:hover {
    border-color: transparent;
    background: #f6f9f6;
    box-shadow: none;
}

.data-tab.active {
    border-color: #acd0b4;
    background:
        linear-gradient(
            180deg,
            #ecf7ee,
            #e5f3e8
        );
    color: var(--green-800);
    box-shadow:
        0 4px 12px
        rgba(48, 111, 64, .07);
}

.data-tab-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex: 0 0 27px;
    border-radius: 8px;
    background: #f0f4f1;
    color: #758178;
    font-size: 13px;
}

.data-tab.active .data-tab-icon {
    background: #d8eddd;
    color: var(--green-800);
}

.data-tab-copy {
    text-align: left;
}

.data-tab-title {
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.data-tab-desc {
    display: block;
    margin-top: 1px;
    color: #8a958d;
    font-size: 8px;
    font-weight: 550;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.data-policy-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.data-policy-card {
    position: relative;
    min-width: 0;
    padding: 13px 14px 13px 43px;
    border: 1px solid #dce7de;
    border-radius: 13px;
    background:
        rgba(250,252,250,.9);
    color: #647067;
    font-size: 10px;
    line-height: 1.7;
}

.data-policy-card::before {
    position: absolute;
    left: 13px;
    top: 13px;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #e8f4ea;
    color: var(--green-700);
    font-size: 11px;
    font-weight: 900;
}

.data-policy-card.info::before {
    content: "i";
}

.data-policy-card.warning {
    border-color: #ead9ba;
    background: #fffaf0;
    color: #796747;
}

.data-policy-card.warning::before {
    content: "!";
    background: #f9ecd4;
    color: #a26c1d;
}

.data-section-panel {
    margin-top: 14px;
}

.data-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.data-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.data-section-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 31px;
    border: 1px solid #dbe7dd;
    border-radius: 9px;
    background: #f2f8f3;
    color: var(--green-700);
    font-size: 13px;
}

.data-section-heading h2 {
    margin: 0;
}

.data-section-subtitle {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.55;
}

.filters {
    display: grid;
    grid-template-columns:
        minmax(130px, .8fr)
        minmax(150px, .95fr)
        minmax(180px, 1.18fr)
        minmax(180px, 1.18fr)
        105px;
    gap: 10px;
    align-items: end;
    margin-top: 17px;
    padding: 14px;
    border: 1px solid #e2e9e3;
    border-radius: 13px;
    background:
        linear-gradient(
            180deg,
            #fafcfa,
            #f7faf7
        );
}

.filters .field label,
.backup-toolbar .field label {
    margin-bottom: 6px;
    color: #728078;
    font-size: 9px;
    font-weight: 760;
}

.filters select,
.filters input,
.backup-toolbar input {
    min-height: 39px;
    background: #fff;
}

.filter-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.quick-range {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.quick-range button {
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 9px;
    background: #fafcfa;
    font-size: 10px;
}

.query-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.query-actions button {
    min-height: 35px;
}

.export-button {
    border-color: #b9d8c0;
    background: #eef8f0;
    color: var(--green-800);
}

.export-button:hover {
    border-color: #8fbe99;
    background: #e6f4e9;
}

.results-panel {
    overflow: hidden;
}

.results-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.results-title-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-count-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid #d9e5db;
    border-radius: 999px;
    background: #f5f9f5;
    color: #637068;
    font-size: 9px;
    font-weight: 750;
}

.selection-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef6ef;
    color: var(--green-800);
    font-size: 9px;
    font-weight: 750;
}

.actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.actions button {
    min-height: 33px;
    padding: 6px 9px;
    font-size: 10px;
}

.actions-divider {
    width: 1px;
    min-height: 30px;
    margin: 1px 2px;
    background: #e2e8e3;
}

.record-table-shell {
    margin-top: 14px;
    max-height: 620px;
    overflow: auto;
    border: 1px solid #dfe7e1;
    border-radius: 13px;
    background: #fff;
}

.record-table-shell table {
    min-width: 1040px;
    border: 0;
}

.record-table-shell thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    height: 39px;
    background: #f3f7f4;
    color: #68756c;
    box-shadow:
        0 1px 0
        #dde6df;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.record-table-shell tbody td {
    height: 43px;
    color: #4a574f;
    font-size: 10px;
    white-space: nowrap;
}

.record-table-shell tbody tr {
    transition:
        background .12s ease;
}

.record-table-shell tbody tr:hover {
    background: #f8fbf8;
}

.record-table-shell tbody tr.removed-record-row {
    background: #fffafa;
}

.record-table-shell tbody tr.removed-record-row:hover {
    background: #fff6f6;
}

.record-table-shell input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--green-700);
}

.record-id {
    color: #78847c;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;
    font-size: 9px;
}

.record-time {
    color: #59665e;
    font-variant-numeric:
        tabular-nums;
}

.record-value {
    text-align: right;
    font-variant-numeric:
        tabular-nums;
}

.row-actions {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
}

.row-actions button {
    min-height: 28px;
    padding: 4px 7px;
    font-size: 9px;
}

.pagination-bar {
    display: grid;
    grid-template-columns:
        100px 1fr 100px;
    align-items: center;
    gap: 12px;
    margin-top: 13px;
    padding: 9px 10px;
    border: 1px solid #e2e8e3;
    border-radius: 11px;
    background: #fafcfa;
}

.pagination-bar button {
    min-height: 32px;
}

.pagination-info {
    text-align: center;
    color: #68746c;
    font-size: 10px;
    font-weight: 700;
}

.backup-intro {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 14px;
    border: 1px solid #dbe7dd;
    border-radius: 13px;
    background: #f8fbf8;
    color: #647168;
    font-size: 10px;
    line-height: 1.7;
}

.backup-intro-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    border-radius: 8px;
    background: #e7f3e9;
    color: var(--green-700);
    font-weight: 850;
}

.backup-overview {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.admin-summary-card {
    position: relative;
    overflow: hidden;
    padding: 17px 18px;
    border: 1px solid #dce6dd;
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            #fff,
            #fbfdfb
        );
    box-shadow:
        0 10px 28px
        rgba(31, 70, 43, .055);
}

.admin-summary-card::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -35px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(75, 154, 92, .07),
            transparent 68%
        );
    pointer-events: none;
}

.admin-summary-card-head {
    display: flex;
    align-items: center;
    gap: 9px;
}

.admin-summary-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #d8e6da;
    border-radius: 9px;
    background: #edf7ef;
    color: var(--green-700);
    font-size: 13px;
}

.admin-summary-title {
    color: #68746c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.admin-summary-main {
    margin-top: 10px;
    color: #2f3d34;
    font-size: 20px;
    font-weight: 820;
}

.admin-summary-rows {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 13px;
}

.admin-summary-row {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid #edf1ed;
    border-radius: 9px;
    background: #fafcfa;
    color: var(--muted);
    font-size: 9px;
}

.admin-summary-row strong {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #344139;
    font-size: 10px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.backup-toolbar {
    display: grid;
    grid-template-columns:
        minmax(240px, 1fr)
        auto auto;
    gap: 8px;
    align-items: end;
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #e2e9e3;
    border-radius: 12px;
    background: #f8faf8;
}

.backup-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f0f3f1;
    color: #68736b;
    font-size: 9px;
    font-weight: 750;
}

.backup-status.ok {
    background: var(--green-100);
    color: var(--green-800);
}

.backup-status.bad {
    background: var(--red-bg);
    color: var(--red);
}

.backup-actions {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
}

.backup-actions button {
    min-height: 29px;
    padding: 4px 7px;
    font-size: 9px;
}

button.restore-backup {
    border-color: #d69a29;
    background: #fff8e9;
    color: #8b641e;
}

button.restore-backup:hover {
    border-color: #c8891f;
    background: #fff3d8;
}

.backup-table-shell,
.history-table-shell {
    margin-top: 13px;
    overflow: auto;
    border: 1px solid #dfe7e1;
    border-radius: 12px;
}

.backup-table-shell table,
.history-table-shell table {
    min-width: 820px;
    border: 0;
}

.backup-table-shell thead th,
.history-table-shell thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f3f7f4;
    color: #6c786f;
    font-size: 9px;
    font-weight: 800;
}

.backup-table-shell tbody td,
.history-table-shell tbody td {
    font-size: 10px;
}

.restore-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    padding: 22px;
    background:
        rgba(10, 28, 17, .48);
    backdrop-filter: blur(4px);
    z-index: 200;
}

.restore-modal.show {
    display: grid;
}

.restore-dialog {
    width: min(620px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 22px;
    border: 1px solid #d9e2da;
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 30px 80px
        rgba(7, 28, 14, .24);
}

.restore-warning {
    margin-top: 14px;
    padding: 13px 14px;
    border: 1px solid #f1d4a1;
    border-radius: 12px;
    background: #fff8ea;
    color: #76551c;
    font-size: 12px;
    line-height: 1.75;
}

.restore-comparison {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.restore-compare-card {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f9fbf9;
}

.restore-compare-label {
    color: #879188;
    font-size: 10px;
    font-weight: 750;
}

.restore-compare-value {
    margin-top: 5px;
    font-size: 18px;
    font-weight: 820;
}

.restore-filename {
    margin-top: 6px;
    overflow-wrap: anywhere;
    color: #536057;
    font-size: 11px;
}

.restore-confirm {
    margin-top: 16px;
}

.restore-confirm code {
    padding: 2px 5px;
    border-radius: 5px;
    background: #f1f4f1;
    color: #344239;
}

.restore-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.restore-progress {
    display: none;
}

.restore-progress.show {
    display: block;
}

.restore-progress-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 4px auto 14px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 24px;
}

.restore-progress-title {
    text-align: center;
    font-size: 19px;
    font-weight: 820;
}

.restore-progress-message {
    margin-top: 8px;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

.restore-progress-bar {
    height: 7px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf1ed;
}

.restore-progress-bar > div {
    width: 22%;
    height: 100%;
    border-radius: 999px;
    background: var(--green-600);
    animation:
        restorePulse 1.4s
        ease-in-out infinite alternate;
}

@keyframes restorePulse {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(355%);
    }
}

.restore-result {
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #dfe8e0;
    border-radius: 11px;
    background: #f8faf8;
    font-size: 11px;
    line-height: 1.8;
    white-space: pre-line;
}

.database-maintenance-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
}

.maintenance-action {
    position: relative;
    min-width: 0;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid #dfe7e1;
    border-radius: 12px;
    background:
        linear-gradient(
            180deg,
            #fbfdfb,
            #f8faf8
        );
}

.maintenance-action::before {
    content: "";
    width: 24px;
    height: 3px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #8bc397;
}

.maintenance-action:last-child::before {
    background: #d49c52;
}

.maintenance-action-title {
    font-size: 11px;
    font-weight: 800;
}

.maintenance-action-desc {
    min-height: 40px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

.maintenance-action button {
    width: 100%;
    min-height: 31px;
    margin-top: auto;
    font-size: 9px;
}

.history-state {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 750;
}

.history-state.completed {
    background: var(--green-100);
    color: var(--green-800);
}

.history-state.failed,
.history-state.failed_rolled_back,
.history-state.failed_critical {
    background: var(--red-bg);
    color: var(--red);
}

.history-state.other {
    background: #f1f3f1;
    color: #667169;
}

.admin-path {
    max-width: 400px;
    overflow-wrap: anywhere;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;
    font-size: 9px;
}

.backup-file {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;
    font-size: 9px;
}

.message {
    border-radius: 10px;
}

@media (max-width:1100px) {
    .database-maintenance-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .filters {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:900px) {
    .data-center-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .data-policy-grid,
    .backup-overview {
        grid-template-columns: 1fr;
    }

    .backup-toolbar {
        grid-template-columns: 1fr;
    }

    .admin-summary-rows {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:650px) {
    .data-tabs {
        width: 100%;
    }

    .data-tab-desc {
        display: none;
    }

    .filters {
        grid-template-columns: 1fr;
        padding: 11px;
    }

    .filter-actions-row,
    .results-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .query-actions,
    .actions {
        justify-content: flex-start;
    }

    .actions-divider {
        display: none;
    }

    .pagination-bar {
        grid-template-columns:
            82px 1fr 82px;
    }

    .database-maintenance-grid,
    .admin-summary-rows {
        grid-template-columns: 1fr;
    }

    .restore-comparison {
        grid-template-columns: 1fr;
    }
}


/* M2.8.2.13 · data-center desktop workspace refinement */
@media (min-width: 1200px) {
    .table-wrap,
    .data-table-wrap {
        border-color: #e4e9e5;
        box-shadow: none;
    }
}


/* M2.8.2.16 · data-center workstation */
.data-guidance {
    margin-top: 15px;
    border: 1px solid #e0e7e1;
    border-radius: 11px;
    background: #fafcfa;
}

.data-guidance > summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: #59675e;
    cursor: pointer;
    list-style: none;
    font-size: 10px;
    font-weight: 780;
}

.data-guidance > summary::-webkit-details-marker {
    display: none;
}

.data-guidance > summary::before {
    content: "i";
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    flex: 0 0 23px;
    border-radius: 7px;
    background: #edf5ef;
    color: #39784b;
    font-weight: 900;
}

.data-guidance > summary::after {
    content: "⌄";
    margin-left: auto;
    color: #8a958d;
    font-size: 13px;
}

.data-guidance[open] > summary::after {
    content: "⌃";
}

.data-guidance > summary small {
    color: #8a958d;
    font-size: 8.5px;
    font-weight: 600;
}

.data-guidance .data-policy-grid {
    margin-top: 0;
    padding: 0 10px 10px;
}

.data-query-workbench {
    padding: 16px 17px;
}

.data-query-workbench .data-section-heading {
    align-items: center;
}

.data-query-workbench .data-section-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
}

.data-query-workbench .filters {
    margin-top: 13px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.data-query-workbench
.filter-actions-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf1ed;
}

.results-panel {
    position: relative;
    padding: 16px 17px;
}

.results-heading {
    min-width: 220px;
}

.record-workbench-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex: 1;
    flex-wrap: wrap;
}

.record-search-control {
    width: min(240px, 100%);
}

.record-search-control input {
    width: 100%;
    min-height: 37px;
    padding-right: 11px;
    padding-left: 34px;
    background:
        #fff
        no-repeat
        11px 50%;
}

.record-search-control {
    position: relative;
}

.record-search-control::before {
    content: "⌕";
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 1;
    color: #7d8981;
    transform: translateY(-50%);
    pointer-events: none;
}

.record-density-control {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7b867f;
    font-size: 9px;
    font-weight: 700;
}

.record-density-control select {
    min-height: 37px;
    width: 84px;
}

.record-admin-menu {
    position: relative;
}

.record-admin-menu > summary {
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #dce5de;
    border-radius: 9px;
    background: #fafcfa;
    color: #617067;
    cursor: pointer;
    list-style: none;
    font-size: 9.5px;
    font-weight: 760;
}

.record-admin-menu > summary::-webkit-details-marker {
    display: none;
}

.record-admin-menu > summary::after {
    content: "⌄";
    color: #8e9891;
}

.record-admin-menu[open] > summary {
    border-color: #c9d9cc;
    background: #f2f7f3;
}

.record-admin-menu-popover {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    width: 210px;
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid #dde5df;
    border-radius: 11px;
    background: #fff;
    box-shadow:
        0 14px 34px
        rgba(25, 54, 34, .12);
}

.record-admin-menu-popover button {
    width: 100%;
    justify-content: flex-start;
    min-height: 36px;
}

.selection-action-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 9px 10px 9px 12px;
    border: 1px solid #cfe0d2;
    border-radius: 10px;
    background: #f0f7f1;
    color: #497057;
    font-size: 9.5px;
    font-weight: 750;
}

.results-panel.has-selection
.selection-action-bar {
    display: flex;
}

.selection-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.selection-actions button {
    min-height: 34px;
    padding: 5px 9px;
    font-size: 9px;
}

.record-table-shell {
    position: relative;
    outline: none;
}

.record-table-shell:focus-visible {
    box-shadow:
        0 0 0 3px
        rgba(60, 164, 94, .10);
}

.record-table-shell thead th.sortable-column {
    padding-right: 23px;
    cursor: pointer;
    user-select: none;
}

.record-table-shell thead th.sortable-column::after {
    content: "↕";
    position: absolute;
    right: 8px;
    color: #abb4ad;
    font-size: 8px;
}

.record-table-shell thead th.sortable-column[aria-sort="ascending"]::after {
    content: "↑";
    color: #31774a;
}

.record-table-shell thead th.sortable-column[aria-sort="descending"]::after {
    content: "↓";
    color: #31774a;
}

.record-table-shell thead th.sortable-column:focus-visible {
    outline:
        2px solid rgba(67, 145, 87, .32);
    outline-offset: -2px;
}

.record-empty-row td {
    height: auto !important;
    padding: 18px !important;
    white-space: normal !important;
}

.record-empty-row .app-state {
    min-height: 122px;
}

.results-panel.is-loading
.record-table-shell {
    opacity: .58;
}

.results-panel.is-loading
.record-table-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.32),
            transparent
        );
    background-size: 220% 100%;
    animation:
        dataTableLoading 1s linear
        infinite;
}

@keyframes dataTableLoading {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: -120% 0;
    }
}

.results-panel[data-density="compact"]
.record-table-shell thead th {
    height: 34px;
}

.results-panel[data-density="compact"]
.record-table-shell tbody td {
    height: 35px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 9px;
}

.results-panel[data-density="compact"]
.row-actions button {
    min-height: 25px;
    padding: 3px 6px;
}

.pagination-copy {
    display: grid;
    gap: 1px;
    text-align: center;
}

.pagination-visible-info {
    color: #929b94;
    font-size: 8.5px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .record-workbench-tools {
        width: 100%;
        justify-content: flex-start;
    }

    .record-search-control {
        flex: 1 1 220px;
    }

    .record-admin-menu-popover {
        right: auto;
        left: 0;
    }
}

@media (max-width: 620px) {
    .data-guidance > summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .data-guidance > summary small {
        width: calc(100% - 33px);
        margin-left: 33px;
    }

    .data-guidance .data-policy-grid {
        grid-template-columns: 1fr;
    }

    .data-query-workbench,
    .results-panel {
        padding: 14px;
    }

    .record-workbench-tools {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            auto;
    }

    .record-search-control {
        grid-column: 1 / -1;
        width: 100%;
    }

    .record-density-control {
        justify-self: start;
    }

    .record-admin-menu {
        justify-self: end;
    }

    .selection-action-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .selection-actions {
        width: 100%;
    }

    .selection-actions button {
        flex: 1 1 120px;
    }

    .record-table-shell {
        max-height: min(62svh, 590px);
    }

    .pagination-bar {
        grid-template-columns:
            88px 1fr 88px;
    }
}
