.ops-admin {
    display: grid;
    gap: 18px;
}

.accounts-admin {
    display: grid;
    gap: 18px;
}

.accounts-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.accounts-admin-title h2 {
    margin: 0;
    font-size: 1.35rem;
}

.accounts-admin-title p {
    margin: 6px 0 0;
}

.accounts-admin-count {
    color: #8bbcff;
    font-weight: 800;
}

.accounts-admin-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #262633;
}

.accounts-table-wrap {
    overflow-x: auto;
}

.accounts-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.accounts-table th,
.accounts-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    text-align: left;
}

.accounts-table th {
    color: #9fb7d8;
    background: #303142;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.accounts-filter-row th {
    background: #252637;
}

.accounts-filter-row input,
.accounts-filter-row select {
    min-height: 34px;
    padding: 7px 9px;
    border-radius: 4px;
    font-size: 0.82rem;
}

.accounts-muted {
    color: #9facbf;
}

.accounts-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 4px 8px;
    border-radius: 5px;
    color: #dce7f8;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 900;
}

.accounts-pill.yes {
    color: #1ee66b;
    background: rgba(30, 230, 107, 0.12);
}

.accounts-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}

.accounts-action {
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}

.accounts-action.blue {
    color: #d9ebff;
    border-color: #2f87ff;
    background: rgba(47, 135, 255, 0.78);
}

.accounts-action:hover,
.accounts-action:focus-visible {
    color: #ffffff;
    border-color: #8bbcff;
    outline: none;
}

.accounts-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    color: #b8c5d8;
    flex-wrap: wrap;
}

.accounts-pagination nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dashboard-shell.dashboard-light .accounts-admin-panel {
    color: #182032;
    background: #ffffff;
    border-color: #d3dbe6;
}

.dashboard-shell.dashboard-light .accounts-table th {
    color: #53627a;
    background: #eef3f8;
    border-bottom-color: #dce4ee;
}

.dashboard-shell.dashboard-light .accounts-filter-row th {
    background: #f6f8fb;
}

.dashboard-shell.dashboard-light .accounts-table td {
    color: #182032;
    border-bottom-color: #e0e6ef;
}

.dashboard-shell.dashboard-light .accounts-muted,
.dashboard-shell.dashboard-light .accounts-pagination {
    color: #5d6a7d;
}

.dashboard-shell.dashboard-light .accounts-action {
    color: #304158;
    border-color: #c9d4e2;
    background: #ffffff;
}

.dashboard-shell.dashboard-light .accounts-action.blue {
    color: #ffffff;
    border-color: #2f87ff;
    background: #3e8bff;
}

.ops-admin__hero,
.ops-tabs,
.ops-filter,
.ops-stat,
.message-catalog,
.verification-card,
.ops-empty {
    border: 1px solid rgba(215, 200, 181, 0.88);
    background: rgba(255, 252, 247, 0.94);
    box-shadow: 0 18px 42px rgba(35, 28, 19, 0.08);
}

.ops-admin__hero {
    padding: 22px 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 10%, rgba(62, 139, 255, 0.16), transparent 26%),
        linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(244, 233, 218, 0.9));
}

.ops-admin__eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ops-admin__hero h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display-font);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.96;
}

.ops-admin__hero p {
    max-width: 780px;
    margin: 8px 0 0;
    color: var(--muted);
}

.ops-tabs {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
}

.ops-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-right: 1px solid rgba(215, 200, 181, 0.78);
    color: #29435e;
    background: rgba(255, 255, 255, 0.64);
    font-weight: 800;
    text-decoration: none;
}

.ops-tab.active {
    color: #0b5da8;
    background: #dcefff;
}

.ops-tab span {
    min-width: 28px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    border-radius: 999px;
    background: #3e7cd0;
    font-size: 0.76rem;
}

.ops-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px auto auto;
    gap: 14px;
    align-items: end;
    padding: 16px;
    border-radius: 14px;
}

.ops-filter.compact {
    grid-template-columns: minmax(280px, 1fr) auto auto;
}

.ops-filter label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

.ops-filter input,
.ops-filter select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(215, 200, 181, 0.95);
    border-radius: 10px;
    color: var(--ink);
    background: #fff;
}

.ops-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ops-stat {
    display: grid;
    gap: 5px;
    min-height: 108px;
    padding: 16px;
    border-radius: 12px;
}

.ops-stat span,
.ops-stat small {
    color: var(--muted);
}

.ops-stat strong {
    color: var(--ink);
    font-size: 2rem;
    line-height: 1;
}

.message-catalog {
    overflow: hidden;
    border-radius: 14px;
}

.message-catalog__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    color: #556174;
    border-bottom: 1px solid rgba(215, 200, 181, 0.8);
    background: #fbfcfe;
}

.message-catalog__head strong {
    color: var(--ink);
}

.message-table {
    display: grid;
}

.message-table__row {
    display: grid;
    grid-template-columns: 230px 230px minmax(260px, 1fr) 150px 120px;
    gap: 16px;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid #e7edf3;
    background: #fff;
}

.message-table__row--head {
    color: #8492a6;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    background: #fbfcfe;
}

.message-person {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.message-person img,
.message-person > span:first-child {
    width: 34px;
    height: 34px;
    border-radius: 7px;
}

.message-person img {
    object-fit: cover;
}

.message-person > span:first-child {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2f80d8, #bf4b2c);
    font-weight: 900;
}

.message-person strong,
.message-person small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-person small {
    color: #728096;
}

.message-body {
    color: #1f2937;
    line-height: 1.45;
    text-decoration: none;
}

.message-body em {
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    color: #fff;
    background: #3e8bff;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
}

.ops-row-actions,
.verification-card__actions {
    display: flex;
    gap: 7px;
    justify-content: flex-end;
}

.ops-action {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 30px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

.ops-action.green { background: #44bd75; }
.ops-action.blue { background: #3e8bff; }
.ops-action.amber { background: #e99434; }
.ops-action.red { background: #ef5c5c; }

.verification-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    gap: 22px 24px;
}

.verification-card {
    display: grid;
    overflow: hidden;
    border-radius: 12px;
}

.verification-card.pending { border-top: 3px solid #3e8bff; }
.verification-card.approved { border-top: 3px solid #44bd75; }
.verification-card.rejected { border-top: 3px solid #ef5c5c; }

.verification-card__image {
    display: grid;
    place-items: center;
    height: 230px;
    overflow: hidden;
    color: #516173;
    background: #dbe5f1;
    font-weight: 900;
}

.verification-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verification-card__body {
    display: grid;
    gap: 7px;
    padding: 12px;
}

.verification-card__body strong,
.verification-card__body a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.verification-card__body a {
    color: #4077b8;
    text-decoration: none;
}

.verification-card__body small {
    color: #6b7280;
}

.ops-badge {
    justify-self: start;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    background: #6b7280;
    font-size: 0.72rem;
    font-weight: 900;
}

.ops-badge.pending { background: #3e8bff; }
.ops-badge.approved { background: #44bd75; }
.ops-badge.rejected { background: #ef5c5c; }
.ops-badge.reviewed { background: #44bd75; }
.ops-badge.dismissed { background: #6b7280; }

.report-catalog {
    overflow-x: auto;
}

.report-table {
    min-width: 1180px;
}

.report-table__row {
    grid-template-columns: 190px 210px 150px minmax(260px, 1fr) 140px 100px 150px;
}

.report-table__row--pending {
    box-shadow: inset 3px 0 0 #3e8bff;
}

.report-table__row--reviewed {
    box-shadow: inset 3px 0 0 #44bd75;
}

.report-table__row--dismissed {
    box-shadow: inset 3px 0 0 #6b7280;
}

.report-reason {
    color: var(--ink);
}

.report-description {
    margin: 0;
    color: #1f2937;
    line-height: 1.45;
}

.groups-admin-table {
    min-width: 1220px;
}

.groups-admin-photo {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 6px;
    color: #6b7a91;
    background: #9fb0c7;
    text-decoration: none;
}

.groups-admin-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.groups-admin-description {
    max-width: 460px;
    color: #dce7f8;
    line-height: 1.45;
}

.groups-admin-table td > strong,
.groups-admin-table td > small {
    display: block;
}

.groups-admin-table td > strong a {
    color: #ffffff;
    text-decoration: none;
}

.groups-admin .accounts-actions form {
    margin: 0;
}

.groups-admin .workspace-icon-action span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-weight: 900;
}

.profile-fields-table {
    min-width: 1180px;
}

.profile-fields-admin .accounts-admin-title h2,
.profile-fields-admin .accounts-admin-title p {
    color: #f8fbff;
}

.profile-fields-admin .action-row .btn.secondary {
    color: #dce7f8;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.profile-fields-admin .ops-tabs {
    border-color: rgba(255, 255, 255, 0.12);
    background: #262633;
    box-shadow: none;
}

.profile-fields-admin .ops-tab {
    color: #dce7f8;
    border-right-color: rgba(255, 255, 255, 0.1);
    background: #262633;
}

.profile-fields-admin .ops-tab.active {
    color: #ffffff;
    background: rgba(47, 135, 255, 0.24);
}

.profile-fields-admin .accounts-table td,
.profile-fields-admin .accounts-table td strong {
    color: #f8fbff;
}

.profile-fields-table code {
    display: inline-flex;
    max-width: 220px;
    overflow: hidden;
    padding: 3px 6px;
    border-radius: 5px;
    color: #ff5f8f;
    background: rgba(255, 255, 255, 0.07);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-field-categories-table code {
    display: inline-flex;
    padding: 3px 6px;
    border-radius: 5px;
    color: #ff5f8f;
    background: rgba(255, 255, 255, 0.07);
}

.profile-field-categories-table form {
    margin: 0;
}

.field-form-shell {
    display: grid;
    gap: 18px;
}

.field-form-card {
    display: grid;
    gap: 22px;
    padding: 22px;
    border-radius: 12px;
    color: #f8fbff;
    background: #262633;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.field-form-grid {
    display: grid;
    gap: 18px;
}

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

.field-form-grid label,
.field-form-flags label {
    display: grid;
    gap: 8px;
    color: #f8fbff;
    font-weight: 900;
}

.field-form-grid label.wide {
    grid-column: 1 / -1;
}

.field-form-grid small {
    color: #9facbf;
    font-weight: 600;
}

.field-form-card input,
.field-form-card select,
.field-form-card textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 12px;
    color: #f8fbff;
    background: #181925;
}

.field-form-card textarea {
    min-height: 118px;
}

.field-form-flags {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.field-form-flags label {
    display: inline-flex;
    align-items: center;
    grid-auto-flow: column;
}

.field-form-flags input {
    width: auto;
    min-height: auto;
}

.field-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.profile-fields-table form {
    margin: 0;
}

.field-check {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(159, 172, 191, 0.7);
    border-radius: 4px;
    color: transparent;
    background: transparent;
    cursor: pointer;
    font-weight: 900;
}

.field-check.on {
    color: #0d7f32;
    background: #e7ffe9;
    border-color: #4cc56b;
}

.dashboard-shell.dashboard-light .profile-fields-admin .accounts-admin-title h2 {
    color: #182032;
}

.dashboard-shell.dashboard-light .profile-fields-admin .accounts-admin-title p {
    color: #5d6a7d;
}

.dashboard-shell.dashboard-light .profile-fields-admin .action-row .btn.secondary {
    color: #304158;
    border-color: #c9d4e2;
    background: #ffffff;
}

.dashboard-shell.dashboard-light .profile-fields-admin .ops-tabs {
    border-color: #d3dbe6;
    background: #ffffff;
}

.dashboard-shell.dashboard-light .profile-fields-admin .ops-tab {
    color: #304158;
    border-right-color: #dce4ee;
    background: #ffffff;
}

.dashboard-shell.dashboard-light .profile-fields-admin .ops-tab.active {
    color: #07539b;
    background: #e8f3ff;
}

.dashboard-shell.dashboard-light .profile-fields-admin .accounts-table td,
.dashboard-shell.dashboard-light .profile-fields-admin .accounts-table td strong {
    color: #182032;
}

.dashboard-shell.dashboard-light .groups-admin-description {
    color: #182032;
}

.dashboard-shell.dashboard-light .groups-admin-table td > strong a {
    color: #182032;
}

.dashboard-shell.dashboard-light .profile-fields-table code {
    color: #d11857;
    background: #fff1f5;
}

.dashboard-shell.dashboard-light .profile-field-categories-table code {
    color: #d11857;
    background: #fff1f5;
}

.dashboard-shell.dashboard-light .field-form-card {
    color: #182032;
    background: #ffffff;
    border-color: #d3dbe6;
}

.dashboard-shell.dashboard-light .field-form-grid label,
.dashboard-shell.dashboard-light .field-form-flags label {
    color: #182032;
}

.dashboard-shell.dashboard-light .field-form-card input,
.dashboard-shell.dashboard-light .field-form-card select,
.dashboard-shell.dashboard-light .field-form-card textarea {
    color: #182032;
    background: #ffffff;
    border-color: #cfd8e3;
}

.verification-card__actions {
    padding: 10px 12px;
    border-top: 1px solid rgba(215, 200, 181, 0.78);
    background: #f8fbff;
}

.ops-empty {
    grid-column: 1 / -1;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.ops-empty h3 {
    margin: 0;
}

.ops-empty p {
    margin: 8px 0 0;
    color: var(--muted);
}

@media (max-width: 1180px) {
    .message-table__row,
    .report-table__row {
        grid-template-columns: 1fr 1fr;
    }

    .message-table__row--head {
        display: none;
    }

    .message-body,
    .report-description,
    .message-table time,
    .ops-row-actions {
        grid-column: 1 / -1;
    }

    .ops-row-actions {
        justify-content: flex-start;
    }

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

@media (max-width: 720px) {
    .ops-tabs {
        overflow-x: auto;
    }

    .ops-tab {
        white-space: nowrap;
    }

    .ops-filter,
    .ops-filter.compact,
    .verification-grid,
    .ops-stats {
        grid-template-columns: 1fr;
    }

    .message-table__row,
    .report-table__row {
        grid-template-columns: 1fr;
    }
}
