/* Shared visual language for the community management application. */
:root {
    --communityAccent: #3a6db8;
    --communityAccentHover: #2d5593;
    --communityAccentSoft: #edf3fd;
    --communityInk: #27364b;
    --communityMuted: #7c8799;
    --communityCanvas: #f4f6fa;
    --communityBorder: #e5eaf1;
    --communityForest: #24364d;
    --communityGold: #809bc5;
    --communitySidebarWidth: 232px;
    --communityRadius: 12px;
    --communityShadow: 0 3px 16px rgb(39 54 75 / 3%);
}

body.communityAdmin,
body.communityLogin {
    --main-bg-color: var(--communityForest);
    --menu-active-bg-color: #333f50;
    --menu-item-active-bg-color: #333f50;
    --menu-color: #c6cbd2;
    --nav-bg-color: #fff;
    --vc-tab-text-color: var(--communityMuted);
    --vc-page-bg-color: var(--communityCanvas);
    --vc-menu-main-bg: var(--communityForest);
    --vc-menu-main-font-color: #c6cbd2;
    --vc-menu-main-bg-active-color: var(--communityAccent);
    --vc-menu-main-active-font-color: #fff;
    --vc-menu-sub-bg-active-color: var(--communityAccentSoft);
    --vc-menu-sub-active-font-color: var(--communityAccent);
    --vc-nav-bg: #fff;
    --vc-nav-color: var(--communityMuted);
    --vc-nav-active-color: var(--communityAccent);
    --vc-org-bg-active-color: var(--communityAccentSoft);
    margin: 0;
    color: var(--communityInk);
    background: var(--communityCanvas);
    font-family: "MiSans", "Microsoft YaHei UI", "PingFang SC", sans-serif;
    font-size: 13px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.communityAdmin *,
.communityLogin * {
    box-sizing: border-box;
}

.communityAdmin button,
.communityLogin button {
    font-family: inherit;
}

.communityAdmin a,
.communityLogin a {
    color: var(--communityAccent);
}

.communityAdmin a:hover,
.communityLogin a:hover {
    color: var(--communityAccentHover);
    text-decoration: none;
}

.communityAdmin :focus-visible,
.communityLogin :focus-visible {
    outline: 3px solid #889bb7;
    outline-offset: 3px;
}

.communityAdmin ::selection,
.communityLogin ::selection {
    color: #1c2738;
    background: #c9d5e7;
}

.communityAdmin h1,
.communityAdmin h2,
.communityAdmin h3,
.communityAdmin h4,
.communityAdmin h5,
.communityAdmin h6 {
    color: var(--communityInk);
    font-weight: 600;
}

.communityAdmin .text-muted,
.communityAdmin .text-gray {
    color: var(--communityMuted) !important;
}

.communityAdmin.communityPrimary {
    height: 100vh;
    overflow: hidden;
}

.communityPrimary > .vc-page {
    display: flex;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--communityCanvas);
}

.communityPrimary .vc-main {
    flex: 1;
    min-width: 0;
    height: 100%;
}

.communityPrimary .vc-main-content {
    width: 100%;
    height: 100%;
    overflow: auto;
    scrollbar-gutter: stable;
}

.communityAdmin .vc-content {
    padding: 20px 24px 32px;
}

.communityAdmin #component {
    min-width: 0;
    animation: communityReveal 250ms ease-out backwards;
}

.communityAdmin.modal-open #component {
    animation: none;
}

.communityAdmin #component > div,
.communityAdmin #component [style*="flex-grow"] {
    min-width: 0;
}

/* Header and the permission-driven business navigation. */
.communityAdmin .communityTopbar {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1030;
    height: 72px;
    padding: 0 22px 0 0;
    border-bottom: 1px solid var(--communityBorder);
    color: var(--communityInk);
    background: #fff;
    line-height: normal;
}

.communityBrand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.communityAdmin .communityBrand {
    flex: 0 0 var(--communitySidebarWidth);
    height: 72px;
    padding: 0 24px;
    color: var(--communityInk);
}

.communityBrand img {
    flex-shrink: 0;
}

.communityBrandText {
    display: flex;
    flex-direction: column;
    gap: 4px;
    white-space: nowrap;
}

.communityBrandText strong {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
}

.communityBrandText small {
    color: var(--communityMuted);
    font-size: 10px;
    letter-spacing: 1px;
}

.communityIconButton,
.communityTextButton,
.communityCommunityButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--communityMuted);
    background: transparent;
    font-size: 13px;
    line-height: 20px;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
}

.communityIconButton {
    width: 36px;
    flex-shrink: 0;
    font-size: 17px;
}

.communityIconButton:hover,
.communityTextButton:hover {
    color: var(--communityAccent);
    background: var(--communityAccentSoft);
}

.communityMenuToggle {
    margin: 0 16px 0 4px;
}

.communityCatalogs {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.communityCatalogList,
.communityMenuGroups,
.communitySubmenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.communityCatalogList {
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
}

.communityCatalogList button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 13px;
    border: 0;
    border-radius: 8px;
    color: #696e75;
    background: transparent;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.communityCatalogList button.active,
.communityCatalogList button:hover {
    color: var(--communityAccent);
    background: var(--communityAccentSoft);
}

.communityCatalogList button.active {
    font-weight: 600;
}

.communityTopbarActions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.communityTopbarContext {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #8c97a8;
    font-size: 12px;
    letter-spacing: 1px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.communityCommunityButton {
    max-width: 200px;
    border-color: var(--communityBorder);
    color: #4e5661;
    background: #f5f7f9;
}

.communityCommunityButton > span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.communityCommunityButton .fa {
    color: var(--communityAccent);
}

.communityUser {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: 5px;
    padding-left: 14px;
    border-left: 1px solid var(--communityBorder);
    white-space: nowrap;
}

.communityAvatar {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #d8dde4;
    border-radius: 50%;
    color: #4c5a6f;
    background: #e6eaf1;
    font-size: 13px;
    font-weight: 600;
}

.communityUserName {
    max-width: 90px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
}

.communityAdmin .communitySidebar {
    display: flex;
    flex: 0 0 var(--communitySidebarWidth);
    flex-direction: column;
    width: var(--communitySidebarWidth);
    height: 100%;
    min-height: 0;
    border: 0;
    border-right: 1px solid var(--communityBorder);
    color: #627087;
    background: #fff;
}

.communitySideScroll {
    flex: 1;
    min-height: 0;
    padding: 24px 12px;
    overflow: auto;
    scrollbar-color: #d7dfea transparent;
    scrollbar-width: thin;
}

.communitySideCaption {
    margin: 0 12px 11px;
    color: #929db0;
    font-size: 10px;
    letter-spacing: 2px;
}

.communityAdmin .communitySideHome,
.communityMenuGroup {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 0;
    border-radius: 8px;
    color: #5d6b80;
    background: transparent;
    font-size: 13px;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
}

.communitySideHome > .fa,
.communityMenuGroup > .fa:first-child {
    width: 18px;
    flex: 0 0 18px;
    font-size: 16px;
    text-align: center;
}

.communityAdmin .communitySideHome.active,
.communityAdmin .communitySideHome:hover,
.communityMenuGroup:hover,
.communityMenuGroups > .active > .communityMenuGroup {
    color: var(--communityAccent);
    background: var(--communityAccentSoft);
}

.communitySideHome.active > .fa {
    color: var(--communityAccent);
}

.communitySideDivider {
    height: 1px;
    margin: 21px 12px;
    background: var(--communityBorder);
}

.communityCatalogSection {
    margin: 5px 0 14px;
}

.communityCatalogHeading {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 36px;
    margin-bottom: 5px;
    padding: 8px 12px;
    border: 0;
    border-radius: 7px;
    color: #8793a6;
    background: transparent;
    font-size: 11px;
    text-align: left;
    cursor: pointer;
}

.communityCatalogHeading:hover {
    color: var(--communityAccent);
    background: #f5f8fd;
}

.communityCatalogHeading > i:first-child {
    width: 18px;
    text-align: center;
}

.communityCatalogChevron {
    margin-left: auto;
}

.communityMenuMessage,
.communityMenuRetry {
    margin: 8px 12px;
    color: #8d99aa;
    font-size: 11px;
}

.communityMenuRetry {
    padding: 6px 0;
    border: 0;
    color: var(--communityAccent);
    background: transparent;
    cursor: pointer;
}

.communityMenuGroups > li {
    margin-bottom: 5px;
}

.communityMenuChevron {
    margin-left: auto;
    color: #949ca9;
    transition: transform 160ms ease;
}

.communityMenuGroups > .active .communityMenuChevron {
    transform: rotate(180deg);
}

.communitySubmenu {
    padding: 5px 0 8px;
}

.communityAdmin .communitySubmenu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    margin: 2px 0 2px 13px;
    padding: 8px 12px 8px 19px;
    border-radius: 7px;
    color: #768297;
    font-size: 12px;
    line-height: 20px;
}

.communityMenuDot {
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background: #727d8e;
}

.communityAdmin .communitySubmenu a.active,
.communityAdmin .communitySubmenu a:hover {
    color: var(--communityAccent);
    background: #edf3fc;
}

.communitySubmenu a.active .communityMenuDot {
    background: #5e87c1;
    box-shadow: 0 0 0 4px rgb(58 109 184 / 8%);
}

.communitySideFooter {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 20px;
    padding: 19px 0 22px;
    border-top: 1px solid var(--communityBorder);
}

.communitySideFooter strong,
.communitySideFooter small {
    display: block;
    white-space: nowrap;
}

.communitySideFooter strong {
    color: #63718a;
    font-size: 12px;
    font-weight: 500;
}

.communitySideFooter small {
    margin-top: 3px;
    color: #979fab;
    font-size: 10px;
}

.communityPrimary.mini-navbar {
    --communitySidebarWidth: 76px;
}

.communityPrimary.mini-navbar .communityBrand {
    padding: 0 18px;
}

.communityPrimary.mini-navbar .communityBrandText,
.communityPrimary.mini-navbar .communitySideCaption,
.communityPrimary.mini-navbar .communitySideHome > span,
.communityPrimary.mini-navbar .communityMenuGroup > span,
.communityPrimary.mini-navbar .communityMenuChevron,
.communityPrimary.mini-navbar .communitySubmenu,
.communityPrimary.mini-navbar .communityCatalogHeading > span,
.communityPrimary.mini-navbar .communityCatalogChevron,
.communityPrimary.mini-navbar .communitySideFooter > div {
    display: none;
}

.communityPrimary.mini-navbar .communitySideScroll {
    padding-top: 22px;
}

.communityPrimary.mini-navbar .communitySideFooter {
    justify-content: center;
    margin: 0 12px;
}

/* The same treatments apply to every existing list, form and modal. */
.communityAdmin .ibox {
    margin-bottom: 18px;
    border: 1px solid var(--communityBorder);
    border-radius: var(--communityRadius);
    background: #fff;
    box-shadow: var(--communityShadow);
}

.communityAdmin .ibox-title,
.communityAdmin .vc-main .ibox .ibox-title {
    min-height: 53px;
    padding: 17px 20px 12px;
    border: 0;
    border-bottom: 1px solid #eaecef;
    border-radius: 12px 12px 0 0;
    background: #fff;
}

.communityAdmin .ibox-title h5 {
    position: relative;
    margin-bottom: 0;
    padding-left: 12px;
    color: var(--communityInk);
    font-size: 14px;
    line-height: 22px;
}

.communityAdmin .ibox-title h5::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 3px;
    border-radius: 2px;
    background: #7b8ba2;
    content: "";
}

.communityAdmin .ibox-content,
.communityAdmin .vc-main .ibox .ibox-content {
    padding: 20px;
    border: 0;
    border-radius: 0 0 12px 12px;
    background: #fff;
}

.communityAdmin .ibox-content:first-child {
    border-radius: 12px;
}

.communityAdmin .ibox-tools {
    right: 20px;
}

.communityAdmin .form-group {
    margin-bottom: 16px;
}

.communityAdmin .form-control,
.communityAdmin .custom-select,
.communityAdmin .bootstrap-select > .dropdown-toggle {
    min-height: 38px;
    border: 1px solid #dadde2;
    border-radius: 7px;
    color: var(--communityInk);
    background-color: #fff;
    font-size: 12px;
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.communityAdmin .form-control-sm,
.communityAdmin .custom-select-sm {
    min-height: 35px;
}

.communityAdmin select.form-control:not([size]):not([multiple]) {
    height: 38px;
}

.communityAdmin .form-control::placeholder {
    color: #93979c;
    opacity: 1;
}

.communityAdmin .form-control:focus,
.communityAdmin .custom-select:focus {
    border-color: #7c8aa0;
    box-shadow: 0 0 0 3px rgb(58 109 184 / 9%);
}

.communityAdmin .form-control[readonly],
.communityAdmin .form-control:disabled {
    background-color: #f3f5f7;
}

.communityAdmin .control-label,
.communityAdmin .col-form-label,
.communityAdmin label {
    color: #525861;
    font-weight: 500;
}

.communityAdmin input[type="checkbox"],
.communityAdmin input[type="radio"] {
    accent-color: var(--communityAccent);
}

.communityAdmin .btn,
.communityAdmin .el-button:not(.el-button--text):not(.is-circle) {
    min-height: 35px;
    padding: 7px 15px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
    box-shadow: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.communityAdmin .btn + .btn,
.communityAdmin .btn + .el-button,
.communityAdmin .el-button + .btn,
.communityAdmin .el-button + .el-button {
    margin-left: 8px;
}

.communityAdmin .el-button--default {
    border-color: #d8dce2;
    color: #525861;
    background: #fff;
}

.communityAdmin .el-button--default:not(.is-disabled):hover,
.communityAdmin .el-button--default:not(.is-disabled):focus {
    border-color: #a7afba;
    color: var(--communityAccent);
    background: #eff2f6;
}

.communityAdmin .btn-primary,
.communityAdmin .btn-success,
.communityAdmin .el-button--primary,
.communityAdmin .el-button--success {
    border-color: var(--communityAccent);
    color: #fff;
    background: var(--communityAccent);
}

.communityAdmin .btn-primary:hover,
.communityAdmin .btn-primary:focus,
.communityAdmin .btn-primary:not(:disabled):not(.disabled):active,
.communityAdmin .btn-success:hover,
.communityAdmin .btn-success:focus,
.communityAdmin .el-button--primary:not(.is-disabled):hover,
.communityAdmin .el-button--primary:not(.is-disabled):focus,
.communityAdmin .el-button--primary:not(.is-disabled):active,
.communityAdmin .el-button--success:not(.is-disabled):hover,
.communityAdmin .el-button--success:not(.is-disabled):focus,
.communityAdmin .el-button--success:not(.is-disabled):active {
    border-color: var(--communityAccentHover);
    background: var(--communityAccentHover);
}

.communityAdmin .btn-info,
.communityAdmin .btn-white,
.communityAdmin .btn-default,
.communityAdmin .btn-secondary,
.communityAdmin .el-button--info {
    border-color: #d8dce2;
    color: #525861;
    background: #fff;
}

.communityAdmin .btn-info:hover,
.communityAdmin .btn-info:focus,
.communityAdmin .btn-white:hover,
.communityAdmin .btn-white:focus,
.communityAdmin .btn-default:hover,
.communityAdmin .btn-default:focus,
.communityAdmin .btn-secondary:hover,
.communityAdmin .btn-secondary:focus,
.communityAdmin .el-button--info:not(.is-disabled):hover,
.communityAdmin .el-button--info:not(.is-disabled):focus {
    border-color: #a7afba;
    color: var(--communityAccent);
    background: #eff2f6;
}

.communityAdmin .btn-danger,
.communityAdmin .el-button--danger {
    border-color: #ecd5cd;
    color: #b34e40;
    background: #fff5f1;
}

.communityAdmin .btn-danger:hover,
.communityAdmin .btn-danger:focus,
.communityAdmin .el-button--danger:not(.is-disabled):hover,
.communityAdmin .el-button--danger:not(.is-disabled):focus {
    border-color: #b34e40;
    color: #fff;
    background: #b34e40;
}

.communityAdmin .btn-warning,
.communityAdmin .el-button--warning {
    border-color: #b5c7e3;
    color: #2f538a;
    background: #ebf1f9;
}

.communityAdmin .btn-warning:hover,
.communityAdmin .btn-warning:focus,
.communityAdmin .el-button--warning:not(.is-disabled):hover,
.communityAdmin .el-button--warning:not(.is-disabled):focus {
    border-color: var(--communityAccent);
    color: #fff;
    background: var(--communityAccent);
}

.communityAdmin .el-button--primary.is-plain,
.communityAdmin .el-button--success.is-plain {
    border-color: #a7afba;
    color: var(--communityAccent);
    background: #fff;
}

.communityAdmin .el-button--primary.is-plain:not(.is-disabled):hover,
.communityAdmin .el-button--primary.is-plain:not(.is-disabled):focus,
.communityAdmin .el-button--success.is-plain:not(.is-disabled):hover,
.communityAdmin .el-button--success.is-plain:not(.is-disabled):focus {
    border-color: var(--communityAccent);
    color: #fff;
    background: var(--communityAccent);
}

.communityAdmin .el-button--text {
    color: var(--communityAccent);
}

.communityAdmin .el-button--text:hover,
.communityAdmin .el-button--text:focus {
    color: var(--communityAccentHover);
}

.communityAdmin .el-button--text.is-disabled,
.communityAdmin .el-button--text.is-disabled:hover,
.communityAdmin .el-button--text.is-disabled:focus {
    color: #c0c4cc;
}

.communityAdmin .el-button--mini:not(.el-button--text):not(.is-circle) {
    min-height: 27px;
    padding: 3px 9px;
    border-radius: 5px;
    font-size: 11px;
}

.communityAdmin .el-button.is-round:not(.el-button--text):not(.is-circle) {
    border-radius: 20px;
}

.communityAdmin .el-button-group > .el-button:not(.el-button--text):not(.is-circle) {
    margin-left: 0;
    border-radius: 0;
}

.communityAdmin .el-button-group > .el-button:first-child:not(.el-button--text):not(.is-circle) {
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.communityAdmin .el-button-group > .el-button:last-child:not(.el-button--text):not(.is-circle) {
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.communityAdmin .btn-link {
    border-color: transparent;
    color: var(--communityAccent);
    background: transparent;
}

.communityAdmin .btn:disabled,
.communityAdmin .btn.disabled,
.communityAdmin .el-button.is-disabled,
.communityAdmin .el-button.is-disabled:hover,
.communityAdmin .el-button.is-disabled:focus {
    cursor: not-allowed;
    opacity: .5;
}

.communityAdmin .communityFormActions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.communityAdmin .communityFormActions > .el-button,
.communityAdmin .communityFormActions > .btn {
    min-width: 80px;
    margin: 0;
}

.communityAdmin .hc-table-div {
    width: 100% !important;
    max-width: 100%;
    overflow: auto;
    scrollbar-width: thin;
}

.communityAdmin .table {
    margin-bottom: 16px;
    color: #494e56;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.communityAdmin .table > thead > tr > th {
    padding: 13px 14px;
    border-top: 0;
    border-bottom: 1px solid #dee2e8;
    color: #616873;
    background: #f2f4f6;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    vertical-align: middle;
    white-space: nowrap;
}

.communityAdmin .table > tbody > tr > td {
    padding: 14px;
    border-top: 1px solid #eaecf0;
    background-color: #fff;
    line-height: 22px;
    vertical-align: middle;
}

.communityAdmin .table-striped > tbody > tr:nth-of-type(odd) > td,
.communityAdmin .table-stripped > tbody > tr:nth-of-type(odd) > td {
    background-color: #f9fbfd;
}

.communityAdmin .table > tbody > tr:hover > td {
    background-color: #eff2f6;
}

.communityAdmin .table .btn {
    min-height: 27px;
    margin: 2px;
    padding: 3px 9px;
    border-radius: 5px;
    font-size: 11px;
}

.communityAdmin .table .btn-primary,
.communityAdmin .table .btn-info,
.communityAdmin .table .btn-success {
    border-color: #d8dee6;
    color: var(--communityAccent);
    background: #edf0f5;
}

.communityAdmin .table .btn-primary:hover,
.communityAdmin .table .btn-info:hover,
.communityAdmin .table .btn-success:hover {
    border-color: var(--communityAccent);
    color: #fff;
    background: var(--communityAccent);
}

.communityAdmin .hc-table-fix-left-td,
.communityAdmin .hc-table-fix-right-td {
    z-index: 2;
}

.communityAdmin .table-bordered,
.communityAdmin .table-bordered td,
.communityAdmin .table-bordered th {
    border-color: var(--communityBorder);
}

.communityAdmin .pagination {
    gap: 5px;
    margin: 8px 0;
}

.communityAdmin .page-link,
.communityAdmin .pagination > li > a,
.communityAdmin .pagination > li > span {
    min-width: 32px;
    padding: 6px 10px;
    border: 1px solid #dde1e7;
    border-radius: 6px !important;
    color: #616873;
    background: #fff;
    text-align: center;
}

.communityAdmin .page-item.active .page-link,
.communityAdmin .pagination > .active > a,
.communityAdmin .pagination > .active > span {
    border-color: var(--communityAccent);
    color: #fff;
    background: var(--communityAccent);
}

.communityAdmin .page-link:hover {
    color: var(--communityAccent);
    background: var(--communityAccentSoft);
}

.communityAdmin .modal-content {
    border: 1px solid #d9dee5;
    border-radius: 15px;
    color: var(--communityInk);
    box-shadow: 0 24px 90px rgb(27 46 74 / 18%);
}

.communityAdmin .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--communityBorder);
    border-radius: 15px 15px 0 0;
    background: #f6f8fb;
}

.communityAdmin .modal-title {
    font-size: 17px;
    font-weight: 600;
}

.communityAdmin .modal-body {
    padding: 24px;
}

.communityAdmin .modal-footer {
    gap: 6px;
    padding: 16px 24px;
    border-top: 1px solid var(--communityBorder);
    border-radius: 0 0 15px 15px;
    background: #f9fbfd;
}

.communityAdmin .dropdown-menu,
.communityAdmin .select2-dropdown,
.communityAdmin .datetimepicker {
    padding: 6px;
    border: 1px solid var(--communityBorder);
    border-radius: 9px;
    box-shadow: 0 12px 36px rgb(39 54 75 / 12%);
}

.communityAdmin .dropdown-item {
    padding: 9px 12px;
    border-radius: 5px;
    color: #51575f;
    font-size: 12px;
}

.communityAdmin .dropdown-item:hover,
.communityAdmin .dropdown-item:focus,
.communityAdmin .dropdown-item.active {
    color: var(--communityAccent);
    background: var(--communityAccentSoft);
}

.communityAdmin .select2-container--default .select2-selection--single {
    height: 38px;
    border-color: #dadde2;
    border-radius: 7px;
}

.communityAdmin .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--communityInk);
    line-height: 36px;
}

.communityAdmin .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.communityAdmin .select2-container--default .select2-results__option--highlighted[aria-selected],
.communityAdmin .datetimepicker table tr td.active {
    color: #fff;
    background: var(--communityAccent);
}

.communityAdmin .list-group-item {
    padding: 12px 15px;
    border-color: var(--communityBorder);
    color: #595f68;
}

.communityAdmin .list-group-item.node-selected,
.communityAdmin .list-group-item.vc-node-selected,
.communityAdmin .jstree-default .jstree-clicked {
    color: var(--communityAccent) !important;
    background: #e6ebf2 !important;
    box-shadow: none;
}

.communityAdmin .list-group-item:hover {
    background: #f0f3f7;
}

.communityAdmin .nav-tabs {
    gap: 5px;
    border-color: var(--communityBorder);
}

.communityAdmin .nav-tabs .nav-link,
.communityAdmin .nav-tabs > li > a {
    padding: 10px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: #7a7e86;
    background: transparent;
    font-size: 12px;
}

.communityAdmin .nav-tabs .nav-link.active,
.communityAdmin .nav-tabs > li.active > a {
    border-color: var(--communityAccent);
    color: var(--communityAccent);
    background: #eef1f5;
}

.communityAdmin #breadcrumb {
    display: block;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 5px 24px;
    border: 0 !important;
    border-bottom: 1px solid var(--communityBorder) !important;
    border-radius: 0;
    background: #fff;
}

.communityAdmin #breadcrumb .nav-tabs {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 2px 0;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    scrollbar-width: none;
}

.communityAdmin #breadcrumb .nav-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.communityAdmin #breadcrumb .nav-tabs > .nav-item {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.communityAdmin #breadcrumb .nav-link {
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    white-space: nowrap;
    cursor: pointer;
}

.communityAdmin #breadcrumb .nav-link.active {
    border-color: #dadfe6;
    background: #fff;
}

.communityAdmin #breadcrumb .fa-remove {
    color: #888e98;
    font-size: 10px;
}

.communityAdmin #breadcrumb .communityPageTab {
    display: flex;
    align-items: center;
    height: 32px;
    padding: 0 8px 0 12px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    white-space: nowrap;
    transition: background-color 150ms ease;
}

.communityAdmin #breadcrumb .communityPageTab:hover {
    background: #f2f4f7;
}

.communityAdmin #breadcrumb .communityPageTab.active,
.communityAdmin #breadcrumb .communityPageTab.active:hover {
    background: #1677ff;
}

.communityAdmin #breadcrumb .communityPageTabLabel,
.communityAdmin #breadcrumb .communityPageTabClose {
    flex-shrink: 0;
    min-height: 32px;
    padding: 0;
    border: 0;
    color: #667085;
    background: transparent;
    font-size: 13px;
    line-height: 20px;
    cursor: pointer;
}

.communityAdmin #breadcrumb .communityPageTabClose {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 20px;
    min-height: 20px;
    margin-left: 6px;
    border-radius: 50%;
    font-size: 11px;
}

.communityAdmin #breadcrumb .communityPageTabClose:hover {
    color: #344054;
    background: #e4e7ec;
}

.communityAdmin #breadcrumb .communityPageTab.active .communityPageTabLabel,
.communityAdmin #breadcrumb .communityPageTab.active .communityPageTabClose {
    color: #fff;
}

.communityAdmin #breadcrumb .communityPageTab.active .communityPageTabClose:hover {
    background: rgb(255 255 255 / 20%);
}

.communityAdmin .badge-primary,
.communityAdmin .label-primary,
.communityAdmin .badge-success,
.communityAdmin .label-success {
    border-radius: 5px;
    color: #2d415e;
    background: #e1e7ef;
}

.communityAdmin .badge-warning,
.communityAdmin .label-warning {
    color: #36588a;
    background: #dce6f5;
}

.communityAdmin .badge-danger,
.communityAdmin .label-danger {
    color: #a95440;
    background: #f8e9e1;
}

.communityAdmin .alert-info,
.communityAdmin .alert-success {
    border-color: #d5dce7;
    border-radius: 8px;
    color: #455266;
    background: #eaeef5;
}

.communityAdmin .bg-primary,
.communityAdmin .bg-success {
    background-color: var(--communityAccent) !important;
}

.communityAdmin .text-primary,
.communityAdmin .text-success,
.communityAdmin .text-link {
    color: var(--communityAccent) !important;
}

.communityAdmin .layui-layer {
    border-radius: 12px;
    box-shadow: 0 20px 70px rgb(27 46 74 / 18%);
}

.communityAdmin .layui-layer-title {
    border-radius: 12px 12px 0 0;
    color: var(--communityInk);
    background: #f3f5f9;
}

.communityAdmin .layui-layer-btn .layui-layer-btn0,
.communityAdmin .layui-btn-normal {
    border-color: var(--communityAccent);
    background: var(--communityAccent);
}

/* Workbench: real asset numbers and existing service statistics. */
.communityDashboard {
    max-width: 1680px;
    margin: 0 auto;
}

.communityPageHeading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 3px 0 22px;
}

.communityPageHeading h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.communityPageHeading p {
    margin: 5px 0 0;
    color: var(--communityMuted);
    font-size: 12px;
}

.communityLocation {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid #dadee6;
    border-radius: 6px;
    color: #646e7c;
    background: #f7f9fb;
    font-size: 11px;
}

.communityWelcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 202px;
    margin-bottom: 24px;
    padding: 30px 34px;
    overflow: hidden;
    border: 1px solid #d8dde5;
    border-radius: 14px;
    background: #e1e6ee;
}

.communityWelcomeText {
    position: relative;
    z-index: 1;
}

.communityEyebrow {
    display: block;
    color: #536177;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
}

.communityWelcome h2 {
    margin: 9px 0 11px;
    color: #2d3848;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 600;
    letter-spacing: 1px;
}

.communityWelcome p {
    margin: 0;
    color: #6c737f;
    font-size: 12px;
    line-height: 1.9;
}

.communityWelcomeArt {
    position: absolute;
    right: 9px;
    bottom: -14px;
    width: min(46%, 430px);
    height: auto;
}

.communitySectionHeading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.communitySectionHeading h2,
.communityPanelTitle {
    margin: 0;
    color: var(--communityInk);
    font-size: 15px;
    font-weight: 600;
}

.communitySectionHeading small {
    color: #818790;
    font-size: 11px;
}

.communityStats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}

.communityStat {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--communityBorder);
    border-radius: 11px;
    background: #fff;
    box-shadow: var(--communityShadow);
}

.communityStatTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 13px;
    color: #777d86;
    font-size: 12px;
}

.communityStatTop > i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    color: #5b6d87;
    background: #eaeef4;
    font-size: 15px;
}

.communityStatNumber {
    color: #323a46;
    font-family: "Bahnschrift", "DIN Alternate", sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.communityStatFoot {
    display: block;
    min-height: 19px;
    margin-top: 10px;
    color: #818790;
    font-size: 10px;
}

.communityStatFoot > button {
    padding: 0;
    border: 0;
    color: var(--communityAccent);
    background: none;
    font-size: inherit;
    cursor: pointer;
}

.communityDashboardGrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 20px;
}

.communityDashboardColumn {
    display: grid;
    min-width: 0;
    gap: 20px;
}

.communityPanel {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--communityBorder);
    border-radius: var(--communityRadius);
    background: #fff;
    box-shadow: var(--communityShadow);
}

.communityPanelHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.communityPanelHeader > small {
    color: #818893;
    font-size: 10px;
}

.communityServiceCharts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.communityChart {
    height: 220px;
}

.communityPlatformChart {
    width: 100%;
    height: 330px;
}

.communityChartSummary {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    padding-top: 17px;
    border-top: 1px solid #e8ebef;
    text-align: center;
}

.communityChartSummary strong {
    display: block;
    color: #363f4c;
    font-family: "Bahnschrift", "DIN Alternate", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
}

.communityChartSummary span {
    color: #818790;
    font-size: 10px;
}

.communityRegistration {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
}

.communityRegistration .communityChartSummary {
    flex-wrap: wrap;
    gap: 24px 12px;
    padding-top: 0;
    border-top: 0;
}

.communityRegistration .communityChartSummary > div {
    flex: 0 0 42%;
}

.communityShortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.communityAdmin .communityShortcut {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 60px;
    padding: 12px;
    border: 1px solid #e0e5ec;
    border-radius: 8px;
    color: #4e5662;
    background: #f7f9fb;
    font-size: 11px;
    transition: border-color 160ms ease, background 160ms ease;
}

.communityAdmin .communityShortcut:hover {
    border-color: #a7b3c5;
    background: #e9eef5;
}

.communityShortcut > i {
    color: #64758e;
    font-size: 17px;
}

.communityFeedbackList {
    max-height: 410px;
    margin: 0;
    padding: 0;
    overflow: auto;
    list-style: none;
}

.communityFeedbackList > li {
    position: relative;
    padding: 15px 0 15px 17px;
    border-bottom: 1px solid #e8ebef;
}

.communityFeedbackList > li:last-child {
    border: 0;
}

.communityFeedbackList > li::before {
    position: absolute;
    top: 23px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #939fb2;
    content: "";
}

.communityFeedbackList p {
    margin: 0 0 7px;
    color: #535b68;
    font-size: 12px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.communityFeedbackList small {
    color: #89909b;
    font-size: 10px;
}

.communityEmpty {
    padding: 34px 14px;
    border: 1px dashed #d4dae3;
    border-radius: 9px;
    color: #808894;
    background: #f9fafc;
    text-align: center;
}

.communityEmpty > i {
    display: block;
    margin-bottom: 12px;
    color: #9da5b2;
    font-size: 26px;
}

.communityEmpty p {
    margin: 0;
    font-size: 12px;
}

.communityDashboardFooter {
    margin: 26px 0 4px;
    color: #90969e;
    font-size: 10px;
    letter-spacing: 2px;
    text-align: center;
}

/* Retain the alternate administration shells with the same visual system. */
.communityLegacy #vc-page {
    min-height: 100vh;
    background: var(--communityCanvas);
}

.communityLegacy .navbar-static-side {
    min-height: 100vh;
    background: var(--communityForest);
}

.communityLegacy .nav-header {
    padding: 28px 24px;
    background: #2a3648;
}

.communityLegacy .nav-header a,
.communityLegacy .nav > li.active > a {
    color: #eaeef4;
}

.communityLegacy .nav > li > a {
    color: #c6cbd2;
}

.communityLegacy .nav > li.active,
.communityLegacy .nav-second-level {
    border-left-color: #8da3c3;
    background: #2c3849;
}

.communityLegacy .nav-bg {
    min-height: 64px;
    border-bottom: 1px solid var(--communityBorder);
    background: #fff;
}

.communityLegacy .nav-bg .nav > li > a,
.communityLegacy .nav-bg .vc-tab-text {
    color: #686f7a;
}

/* Login shares the same brand, without the old rotating background. */
body.communityLogin {
    min-height: 100vh;
    background: #f3f5f8;
}

.communityLoginLayout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 100vh;
    padding: 22px;
}

.communityLoginStory {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 680px;
    padding: 38px 46px 28px;
    overflow: hidden;
    border: 1px solid #d8dde4;
    border-radius: 18px;
    background: #dfe5ed;
}

.communityLogin .communityBrand {
    align-self: flex-start;
    color: #2a3442;
}

.communityLogin .communityBrandText strong {
    font-size: 24px;
}

.communityLogin .communityBrandText small {
    color: #757f8e;
}

.communityLoginMessage {
    position: relative;
    z-index: 1;
    margin: 72px 0 0;
}

.communityLoginMessage h1 {
    margin: 16px 0 22px;
    color: #313b4b;
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 3px;
}

.communityLoginMessage p {
    color: #6c7686;
    font-size: 13px;
    line-height: 2;
}

.communityLoginScene {
    align-self: flex-end;
    width: min(100%, 600px);
    height: auto;
    margin: auto -10px 0 0;
}

.communityLoginStoryFooter {
    display: flex;
    justify-content: center;
    gap: 34px;
    padding-top: 18px;
    color: #727c8b;
    font-size: 11px;
    letter-spacing: 2px;
}

.communityLoginFormSide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 80px clamp(30px, 6vw, 110px);
}

.communityLoginSideLabel {
    position: absolute;
    top: 34px;
    right: 32px;
    color: #89919d;
    font-size: 11px;
    letter-spacing: 2px;
}

.communityLoginCard {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.communityLoginCard h2 {
    margin: 12px 0 13px;
    color: #2d3541;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

.communityLoginHint {
    margin-bottom: 34px;
    color: #808792;
    font-size: 12px;
}

.communityLogin .layui-form-item {
    margin-bottom: 22px;
}

.communityLogin .communityFieldLabel {
    display: block;
    margin-bottom: 9px;
    color: #4d5561;
    font-size: 12px;
}

.communityLogin .layui-input {
    height: 47px;
    padding: 0 14px;
    border: 1px solid #d6dbe2;
    border-radius: 8px;
    color: #333b48;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
}

.communityLogin .layui-input:focus {
    border-color: #7e8ca0 !important;
    box-shadow: 0 0 0 3px rgb(58 109 184 / 8%);
}

.communityLogin .layui-input::placeholder {
    color: #979da7;
}

.communityLogin .form_code {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    align-items: center;
    gap: 12px;
}

.communityLogin .form_code .code {
    position: static;
    height: 47px;
    overflow: hidden;
    border: 1px solid #d6dbe2;
    border-radius: 8px;
    background: #fff;
}

.communityLogin .form_code .code img {
    display: block;
    width: 118px;
    height: 47px;
    object-fit: fill;
}

.communityLogin .login_btn {
    height: 47px;
    margin-top: 7px;
    border: 1px solid var(--communityAccent);
    border-radius: 8px;
    color: #fff;
    background: var(--communityAccent);
    font-size: 14px;
    letter-spacing: 3px;
}

.communityLogin .login_btn:hover {
    background: var(--communityAccentHover);
    opacity: 1;
}

.communityLoginSupport {
    margin-top: 26px;
    color: #8d949e;
    font-size: 11px;
    text-align: center;
}

.communityLoginFooter {
    position: absolute;
    right: 0;
    bottom: 28px;
    left: 0;
    color: #979da7;
    font-size: 10px;
    letter-spacing: 2px;
    text-align: center;
}

@keyframes communityReveal {
    from {
        opacity: .6;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1280px) {
    :root {
        --communitySidebarWidth: 216px;
    }
    .communityAdmin .communityTopbar {
        padding-right: 14px;
    }
    .communityTopbarActions {
        gap: 4px;
        margin-left: 10px;
    }
    .communityLanguage,
    .communityHelpButton {
        display: none;
    }
    .communityStats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .communityStat {
        padding: 17px 19px;
    }
    .communityDashboardGrid {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
    .communityRegistration {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 10px;
    }
}

@media (max-width: 1050px) {
    .communityUserName {
        display: none;
    }
    .communityAdmin .vc-content {
        padding: 18px 18px 28px;
    }
    .communityDashboardGrid {
        grid-template-columns: minmax(0, 1fr);
    }
    .communityDashboardGrid > .communityDashboardColumn:last-child {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .communityWelcomeArt {
        right: -35px;
        width: 46%;
        opacity: .7;
    }
    .communityWelcome {
        padding: 27px;
    }
}

@media (max-width: 767px) {
    .communityAdmin .communityBrand {
        flex-basis: 64px;
        padding: 0 12px;
    }
    .communityAdmin .communityBrandText,
    .communityCatalogList button > i,
    .communityAdmin .communitySidebar {
        display: none;
    }
    .communityMenuToggle {
        margin: 0 5px 0 0;
    }
    .communityCatalogList {
        gap: 0;
    }
    .communityCatalogList button {
        padding: 8px;
        font-size: 12px;
    }
    .communityTopbarContext {
        font-size: 11px;
        letter-spacing: 0;
    }
    .communityTopbarActions {
        gap: 2px;
        margin-left: 6px;
    }
    .communityCommunityButton {
        max-width: 126px;
        padding: 6px 8px;
        font-size: 11px;
    }
    .communityUser {
        display: none;
    }
    .communityPrimary.mini-navbar .communitySidebar {
        display: flex;
        position: fixed;
        top: 72px;
        bottom: 0;
        left: 0;
        z-index: 1025;
        width: 232px;
        height: calc(100vh - 72px);
        box-shadow: 10px 0 40px rgb(24 47 29 / 18%);
    }
    .communityPrimary.mini-navbar .communitySideCaption,
    .communityPrimary.mini-navbar .communitySideHome > span,
    .communityPrimary.mini-navbar .communityMenuGroup > span,
    .communityPrimary.mini-navbar .communitySideFooter > div {
        display: block;
    }
    .communityPrimary.mini-navbar .communityMenuChevron {
        display: inline-block;
    }
    .communityPrimary.mini-navbar .communityCatalogHeading > span,
    .communityPrimary.mini-navbar .communityCatalogChevron {
        display: inline-block;
    }
    .communityPrimary.mini-navbar .communitySubmenu {
        display: block;
    }
    .communityPageHeading {
        align-items: flex-start;
        flex-direction: column;
    }
    .communityPageHeading h1 {
        font-size: 22px;
    }
    .communityWelcome {
        min-height: 177px;
        padding: 24px;
    }
    .communityWelcomeArt {
        right: -74px;
        width: 65%;
        opacity: .25;
    }
    .communityStats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .communityServiceCharts,
    .communityDashboardGrid > .communityDashboardColumn:last-child {
        grid-template-columns: minmax(0, 1fr);
    }
    .communityRegistration {
        grid-template-columns: minmax(0, 1fr);
    }
    .communityPanel,
    .communityAdmin .ibox-content,
    .communityAdmin .vc-main .ibox .ibox-content {
        padding: 16px;
    }
    .communityAdmin .ibox-title,
    .communityAdmin .vc-main .ibox .ibox-title {
        padding-left: 16px;
    }
    .communityAdmin .ibox-tools {
        right: 12px;
    }
    .communityAdmin .modal-body {
        padding: 18px;
    }
    .communityLoginLayout {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px;
    }
    .communityLoginStory {
        min-height: auto;
        padding: 24px;
    }
    .communityLoginMessage {
        margin-top: 30px;
    }
    .communityLoginMessage h1 {
        font-size: 30px;
    }
    .communityLoginMessage p,
    .communityLoginScene,
    .communityLoginStoryFooter,
    .communityLoginSideLabel {
        display: none;
    }
    .communityLoginFormSide {
        min-height: 580px;
        padding: 48px 20px 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .communityAdmin *,
    .communityLogin * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .communityAdmin .communityTopbar,
    .communityAdmin .communitySidebar,
    .communityAdmin #breadcrumb {
        display: none !important;
    }
    body.communityAdmin,
    .communityPrimary > .vc-page,
    .communityPrimary .vc-main,
    .communityPrimary .vc-main-content {
        height: auto;
        overflow: visible;
        background: #fff;
    }
    .communityAdmin .ibox,
    .communityPanel {
        box-shadow: none;
    }
}

/* Unified developer menu management and role authorization. */
.unifiedManagement {
    color: #334155;
}

.unifiedPanel {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #e4eaf1;
    border-radius: 8px;
    background: #fff;
}

.unifiedStoreTabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    padding: 5px;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #e4eaf1;
    border-radius: 8px;
    background: #fff;
}

.unifiedStoreTabs button {
    padding: 10px 22px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #64748b;
    white-space: nowrap;
    cursor: pointer;
}

.unifiedStoreTabs button.active {
    background: #eaf2ff;
    color: #2563eb;
    font-weight: 600;
}

.unifiedFilters,
.unifiedActions,
.unifiedToolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.unifiedFilters {
    align-items: flex-end;
    gap: 16px;
}

.unifiedFilters label,
.unifiedEditorGrid > label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    font-weight: 400;
}

.unifiedFilters label {
    min-width: 180px;
}

.unifiedFilters label:first-child {
    min-width: 230px;
}

.unifiedFilters > .btn {
    min-height: 35px;
}

.unifiedToolbar {
    justify-content: space-between;
    margin-bottom: 20px;
}

.unifiedToolbar h3 {
    margin: 0 0 7px;
    color: #1e293b;
    font-size: 17px;
    font-weight: 600;
}

.unifiedToolbar p,
.unifiedEditorGrid small {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.unifiedTableScroll {
    width: 100%;
    overflow-x: auto;
}

.unifiedTreeTable {
    margin: 0;
    font-size: 13px;
}

.unifiedTreeTable th {
    padding: 13px 12px;
    border: 0;
    background: #f5f7fa;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
}

.unifiedTreeTable td {
    padding: 14px 12px;
    border-top: 1px solid #edf1f5;
    vertical-align: middle;
}

.unifiedTreeTable tbody tr:hover {
    background: #fafcff;
}

.unifiedNameColumn {
    min-width: 245px;
}

.unifiedOperationColumn {
    min-width: 200px;
}

.unifiedTreeName {
    display: flex;
    align-items: center;
    min-height: 26px;
    white-space: nowrap;
}

.unifiedTreeToggle,
.unifiedTreeSpacer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 26px;
    margin-right: 5px;
}

.unifiedTreeToggle {
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
}

.unifiedTypeTag {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    white-space: nowrap;
}

.unifiedTypeTag.menu {
    border-color: #cdece1;
    background: #f0faf6;
    color: #16845c;
}

.unifiedTypeTag.button {
    border-color: #e4dff4;
    background: #f7f4ff;
    color: #7c55b3;
}

.unifiedCode {
    font-family: Consolas, monospace;
    font-size: 12px;
}

.unifiedPath {
    min-width: 180px;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unifiedRowActions {
    display: flex;
    gap: 14px;
    white-space: nowrap;
}

.unifiedRowActions button,
.unifiedTextButton {
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    cursor: pointer;
}

.unifiedRowActions button:hover,
.unifiedTextButton:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.unifiedError {
    margin-bottom: 16px;
    padding: 11px 14px;
    border: 1px solid #fecaca;
    border-radius: 5px;
    background: #fff5f5;
    color: #b91c1c;
    line-height: 1.7;
}

.unifiedEmpty,
.unifiedTreeTable td.unifiedEmpty {
    margin: 0;
    padding: 28px 12px;
    color: #94a3b8;
    text-align: center;
}

.unifiedEditorGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.unifiedFullWidth {
    grid-column: 1 / -1;
}

.unifiedEditorGrid b,
.unifiedRoleForm b {
    color: #e05a5a;
}

.unifiedIconInput {
    display: flex;
    align-items: center;
    gap: 12px;
}

.unifiedIconInput > i {
    width: 28px;
    color: #64748b;
    text-align: center;
    font-size: 20px;
}

.unifiedRoleDialog {
    max-width: 680px;
}

.unifiedRoleForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.unifiedRoleForm > label,
.unifiedRolePermissions {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin: 0;
    font-weight: 400;
}

.unifiedRoleForm > label > span,
.unifiedFieldLabel {
    padding-top: 9px;
    text-align: right;
}

.unifiedTreeControls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 9px 0 14px;
}

.unifiedTreeControls label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.unifiedTreeControls input {
    margin: 0;
    accent-color: #2563eb;
}

.unifiedRoleTree {
    min-height: 100px;
    max-height: 380px;
    overflow: auto;
    padding: 12px;
    border: 1px solid #dce3ec;
    border-radius: 5px;
    background: #fff;
}

.unifiedRoleTree .jstree-container-ul,
.unifiedRoleTree .jstree-children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.unifiedRoleTree .jstree-node {
    min-height: 30px;
    margin: 0 0 0 22px;
    padding: 0;
    line-height: 30px;
    list-style: none;
    white-space: nowrap;
}

.unifiedRoleTree > .jstree-container-ul > .jstree-node {
    margin-left: 0;
}

.unifiedRoleTree .jstree-open > .jstree-children {
    display: block;
}

.unifiedRoleTree .jstree-closed > .jstree-children,
.unifiedRoleTree .jstree-leaf > .jstree-children {
    display: none;
}

.unifiedRoleTree .jstree-icon,
.unifiedRoleTree .jstree-icon:empty {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 30px;
    margin: 0;
    vertical-align: top;
    background: none;
}

.unifiedRoleTree .jstree-ocl {
    cursor: pointer;
}

.unifiedRoleTree .jstree-open > .jstree-ocl::after,
.unifiedRoleTree .jstree-closed > .jstree-ocl::after {
    position: absolute;
    top: 10px;
    left: 6px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #7c8799;
    border-bottom: 1.5px solid #7c8799;
    content: '';
    transform: rotate(-45deg);
}

.unifiedRoleTree .jstree-open > .jstree-ocl::after {
    top: 9px;
    transform: rotate(45deg);
}

.unifiedRoleTree .jstree-leaf > .jstree-ocl {
    cursor: default;
}

.unifiedRoleTree .jstree-anchor > .jstree-themeicon {
    display: none;
}

.unifiedRoleTree .jstree-anchor {
    display: inline-block;
    height: 30px;
    padding: 0 8px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 30px;
    text-decoration: none;
    vertical-align: top;
    border-radius: 3px;
}

.unifiedRoleTree > .jstree-container-ul > .jstree-node > .jstree-anchor {
    font-weight: 600;
}

/* Draw controls locally so the permission tree does not depend on theme sprites. */
.unifiedRoleTree .jstree-anchor > .jstree-checkbox {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 8px 8px 0 0;
    border: 1px solid #b8c4d3;
    border-radius: 3px;
    background: #fff;
}

.unifiedRoleTree .jstree-clicked > .jstree-checkbox,
.unifiedRoleTree .jstree-anchor > .jstree-undetermined {
    border-color: var(--communityAccent);
    background: var(--communityAccent);
}

.unifiedRoleTree .jstree-clicked > .jstree-checkbox::after {
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
    transform: rotate(45deg);
}

.unifiedRoleTree .jstree-anchor > .jstree-undetermined::after {
    position: absolute;
    top: 5px;
    left: 2px;
    width: 8px;
    height: 2px;
    background: #fff;
    content: '';
    transform: none;
}

.unifiedRoleTree .jstree-anchor:focus-visible {
    outline: 2px solid var(--communityAccent);
    outline-offset: -2px;
}

.unifiedRoleTree .jstree-hovered {
    border-radius: 3px;
    background: #eff6ff;
    box-shadow: none;
}

.unifiedDisabled {
    pointer-events: none;
    opacity: .6;
}

.unifiedManagement .modal-body {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

.unifiedManagement button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

.unifiedManagement button:disabled {
    cursor: default;
    opacity: .55;
}

@media (max-width: 767px) {
    .unifiedPanel {
        padding: 16px;
    }

    .unifiedFilters label,
    .unifiedFilters label:first-child {
        min-width: 0;
        width: 100%;
    }

    .unifiedEditorGrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .unifiedRoleForm > label,
    .unifiedRolePermissions {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .unifiedRoleForm > label > span,
    .unifiedFieldLabel {
        padding-top: 0;
        text-align: left;
    }
}

/* Keep action cells in the table layout; only their button containers use flex. */
.communityAdmin .table td:has(
    > .btn-group,
    > button,
    > .el-button-group,
    > .el-dropdown,
    > .unifiedRowActions,
    > a,
    > div:not(.modal):not(.unifiedTreeName) .btn-group,
    > div:not(.modal):not(.unifiedTreeName) > button
) {
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.communityAdmin .table td .btn-group,
.communityAdmin .table td > .unifiedRowActions,
.communityAdmin .table td > div:not(.modal):not(.dropdown-menu):not(.unifiedTreeName):has(
    .btn-group,
    > button
) {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    vertical-align: middle;
}

.communityAdmin .table td .btn-group {
    flex-shrink: 0;
    margin: 0 2px;
}

.communityAdmin .table td .btn,
.communityAdmin .table td .el-button,
.communityAdmin .table td .unifiedRowActions > button {
    flex-shrink: 0;
    white-space: nowrap;
}

.communityAdmin .table td .btn-group .btn {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
}

.communityAdmin .table td .dropdown-menu {
    white-space: normal;
}

.communityAdmin .ownerTableScroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.communityAdmin .ownerTableScroll .hc-table-fix-right-td {
    position: sticky;
    right: 0;
    white-space: nowrap;
    box-shadow: -1px 0 0 var(--communityBorder);
}

.communityAdmin .ownerTableScroll thead .hc-table-fix-right-td {
    z-index: 3;
}

.communityAdmin .ownerTableActions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    white-space: nowrap;
}

.communityAdmin .ownerTableActions > .el-button {
    margin-left: 0;
}

.communityAdmin .room-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.communityAdmin .room-selection-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 236px;
    padding: 20px;
    border: 1px solid var(--communityBorder);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgb(39 54 75 / 4%);
    cursor: pointer;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.communityAdmin .room-selection-card:hover,
.communityAdmin .room-selection-card:focus-visible {
    border-color: var(--communityAccent);
    box-shadow: 0 8px 20px rgb(58 109 184 / 13%);
    transform: translateY(-2px);
}

.communityAdmin .room-selection-card.is-selected {
    border-color: var(--communityAccent);
    background: var(--communityAccentSoft);
    box-shadow: 0 0 0 2px rgb(58 109 184 / 12%);
}

.communityAdmin .room-selection-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.communityAdmin .room-selection-card__eyebrow,
.communityAdmin .room-selection-card__details span {
    display: block;
    color: var(--communityMuted);
    font-size: 12px;
}

.communityAdmin .room-selection-card h3 {
    margin: 2px 0 0;
    color: var(--communityInk);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.communityAdmin .room-selection-card__state {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--communityAccent);
    background: #dce9fc;
    font-size: 12px;
    white-space: nowrap;
}

.communityAdmin .room-selection-card__location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 18px 0;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--communityInk);
    background: #f6f8fb;
    font-size: 13px;
}

.communityAdmin .room-selection-card__location i {
    color: #a5afbd;
    font-size: 12px;
}

.communityAdmin .room-selection-card__details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.communityAdmin .room-selection-card__details strong {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--communityInk);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.communityAdmin .room-selection-card__details small {
    margin-left: 2px;
    color: var(--communityMuted);
    font-size: 11px;
    font-weight: 400;
}

.communityAdmin .room-selection-empty {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed var(--communityBorder);
    border-radius: 8px;
    color: var(--communityMuted);
}

.communityAdmin .room-selection-empty i {
    color: #aeb8c6;
    font-size: 28px;
}

@media (max-width: 575.98px) {
    .communityAdmin .room-selection-grid {
        grid-template-columns: 1fr;
    }

    .communityAdmin .room-selection-card {
        min-height: 220px;
    }
}

.communityAdmin .categoryFilterPage .categoryFilterRow {
    align-items: flex-start;
    row-gap: 12px;
}

.communityAdmin .categoryFilterPage .categoryFilterRow + .categoryFilterRow {
    margin-top: 12px;
}

.communityAdmin .categoryFilterPage .categoryFilterRow > [class*="col-"] {
    flex: 0 1 240px;
    width: 240px;
    max-width: 100%;
    min-width: 0;
}

.communityAdmin .categoryFilterPage .categoryFilterRow .form-group {
    margin-bottom: 0;
}

.communityAdmin .categoryFilterPage .categoryFilterRow .form-control,
.communityAdmin .categoryFilterPage .categoryFilterRow .custom-select {
    width: 100%;
    min-width: 0;
}

.communityAdmin .categoryFilterActions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

@media (max-width: 575.98px) {
    .communityAdmin .categoryFilterPage .categoryFilterRow > [class*="col-"] {
        flex-basis: 100%;
        width: 100%;
    }
}

/* 房屋列表选中行高亮 - 覆盖 Bootstrap table-striped */
.communityAdmin .ibox-content .table-striped > tbody > tr.selected-row > td,
.communityAdmin .ibox-content .table-striped > tbody > tr.selected-row:nth-child(odd) > td,
.communityAdmin .ibox-content .table-striped > tbody > tr.selected-row:nth-child(even) > td {
    background-color: #e8f4fd !important;
}

.communityAdmin .ibox-content .table-striped > tbody > tr.selected-row {
    cursor: pointer;
}

/* Keep action columns visible while wide tables scroll inside their panels. */
.communityAdmin .hc-table-action-scroll {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.communityAdmin .table.hc-table-action-layout {
    width: 100%;
    min-width: max-content;
    margin-bottom: 0;
}

.communityAdmin .table .hc-table-action-cell {
    position: sticky;
    right: 0;
    z-index: 2;
    width: 1%;
    min-width: 0;
    max-width: none;
    white-space: nowrap;
    background-color: #fff;
    box-shadow: -1px 0 0 var(--communityBorder);
}

.communityAdmin .table thead .hc-table-action-cell {
    z-index: 3;
    white-space: nowrap;
    background-color: #f2f4f6;
}

.communityAdmin .table-striped > tbody > tr:nth-of-type(odd) > .hc-table-action-cell,
.communityAdmin .table-stripped > tbody > tr:nth-of-type(odd) > .hc-table-action-cell {
    background-color: #f9fbfd;
}

.communityAdmin .table > tbody > tr:hover > .hc-table-action-cell {
    background-color: #eff2f6;
}

.communityAdmin .table td > .hc-table-action-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: max-content;
    max-width: min(360px, 38vw);
    margin: 0 auto;
}

.communityAdmin .hc-table-action-buttons > div:not(.modal):not(.dropdown-menu):not(.unifiedTreeName) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: max-content;
    max-width: 100%;
}

.communityAdmin .hc-table-action-buttons .btn-group {
    margin: 0;
}

.communityAdmin .propertyCompanyTable .propertyCompanyActions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    gap: 16px;
}

.communityAdmin .propertyCompanyActions .el-button--text {
    margin: 0;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--communityAccent);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.communityAdmin .propertyCompanyActions .el-button--text:hover,
.communityAdmin .propertyCompanyActions .el-button--text:focus {
    color: var(--communityAccentHover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.communityAdmin .propertyCompanyActions .propertyCompanyMoreTrigger {
    color: #657387;
}

.communityAdmin .propertyCompanyMoreTrigger .el-icon-arrow-down {
    margin-left: 3px;
    font-size: 11px;
}

.communityAdmin .propertyCompanyMoreMenu {
    min-width: 142px;
    padding: 6px 0;
    border-radius: 6px;
}

.communityAdmin .propertyCompanyMoreMenu .el-dropdown-menu__item {
    padding: 0 16px;
    line-height: 36px;
}

.communityAdmin .propertyCompanyMoreMenu .propertyCompanyDeleteAction {
    color: #d14343;
}

.communityAdmin .propertyCompanyMoreMenu .propertyCompanyDeleteAction:hover,
.communityAdmin .propertyCompanyMoreMenu .propertyCompanyDeleteAction:focus {
    background-color: #fff1f0;
    color: #c12f2f;
}

.communityAdmin .roomDataTable .roomRowActions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.communityAdmin .roomRowActions .el-button {
    flex: 0 0 auto;
    margin: 0;
    padding: 4px 0;
    white-space: nowrap;
}

.communityAdmin .roomRowActions .roomNoActions {
    color: var(--communityMuted);
}

.communityAdmin .roomRowActions .roomRowDeleteAction {
    color: #d14343;
}

.communityAdmin .roomRowActions .roomRowDeleteAction:hover,
.communityAdmin .roomRowActions .roomRowDeleteAction:focus {
    color: #c12f2f;
}

.communityAdmin .vcElementTable {
    width: 100%;
    margin-bottom: 16px;
}

.communityAdmin .vcElementTable .vcElementCell {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.communityAdmin .vcElementTable .vcElementActions,
.communityAdmin .vcElementActions > .vcElementCell,
.communityAdmin .vcElementActions .btn-group,
.communityAdmin .vcElementActions .ownerTableActions,
.communityAdmin .vcElementActions .unifiedRowActions {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    max-width: none;
    margin: 0;
    white-space: nowrap;
}

.communityAdmin .vcElementActions .el-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    white-space: nowrap;
}

.communityAdmin .vcElementActions .el-button--text {
    padding: 5px 0;
    font-size: 13px;
    line-height: 20px;
}

.communityAdmin .vcElementActions .vcElementDangerAction {
    color: #d14343;
}

.communityAdmin .vcElementTable .table-danger > td {
    background-color: #fff1f0;
}

.communityAdmin .vcElementTable .selected-row > td {
    background-color: #e8f4fd;
}

.communityAdmin .acceptanceTablePanel {
    min-width: 0;
    padding-top: 16px;
}

.communityAdmin .acceptanceTableToolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

.communityAdmin .acceptanceTableToolbar .el-button {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.communityAdmin .acceptanceTablePanel .el-table__header .cell {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

/* Rows keep their Vue conditions while their controls share one wrapping flow. */
.communityAdmin .communityQueryPanel:has(> .communityQueryRow) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 30px;
}

.communityAdmin .communityQueryPanel > .communityQueryRow {
    display: contents;
}

.communityAdmin .communityQueryPanel > .communityQueryRow > .communityQueryField {
    flex: 0 1 210px;
    width: 210px;
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.communityAdmin .communityQueryRow .form-group {
    margin-bottom: 0;
}

.communityAdmin .communityQueryRow .form-control,
.communityAdmin .communityQueryRow .custom-select,
.communityAdmin .communityQueryRow .bootstrap-select,
.communityAdmin .communityQueryRow .el-date-editor,
.communityAdmin .communityQueryRow .el-select,
.communityAdmin .communityQueryRow .el-cascader {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.communityAdmin .communityQueryRow .input-group > .form-control {
    width: 1%;
}

.communityAdmin .communityQueryPanel > .communityQueryRow > .communityQueryActions,
.communityAdmin .unifiedFilters > .communityQueryActions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    order: 1;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin-top: 0 !important;
    padding-right: 0;
    padding-left: 0;
}

.communityAdmin .communityQueryActions .form-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.communityAdmin .communityQueryActions .btn,
.communityAdmin .communityQueryActions .el-button {
    flex: 0 0 auto;
    margin: 0 !important;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .communityAdmin .communityQueryPanel > .communityQueryRow > .communityQueryField {
        flex-basis: 100%;
        width: 100%;
    }
}

.communityAdmin .add-staff-org-popper .el-cascader-menu {
    min-height: 0;
}

.communityAdmin .add-staff-org-popper .el-cascader-menu__wrap {
    height: auto;
    max-height: 240px;
    overflow-x: hidden;
}

.communityAdmin .add-staff-org-popper .el-cascader-menu__list {
    min-height: 0;
}

.communityAdmin .add-staff-org-popper .el-cascader-node > .el-radio {
    display: inline-flex;
    align-items: center;
    margin: 0;
    line-height: 1;
}

.communityAdmin .add-staff-org-popper .el-radio__input {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.communityAdmin .complaintEventFlow {
    min-height: 160px;
    padding: 12px 8px 8px;
}

.communityAdmin .complaintEventTimeline {
    margin: 0;
    padding: 0 0 0 8px;
}

.communityAdmin .complaintEventTimeline .el-timeline-item {
    padding-bottom: 28px;
}

.communityAdmin .complaintEventTimeline .el-timeline-item:last-child {
    padding-bottom: 0;
}

.communityAdmin .complaintEventTimeline .el-timeline-item__node {
    left: -6px;
    width: 24px;
    height: 24px;
}

.communityAdmin .complaintEventTimeline .el-timeline-item__node--primary {
    background: var(--communityAccent);
}

.communityAdmin .complaintEventTimeline .el-timeline-item__node--success {
    background: var(--communitySuccess, #28755a);
}

.communityAdmin .complaintEventTimeline .el-timeline-item__node--warning {
    background: var(--communityWarning, #946619);
}

.communityAdmin .complaintEventTimeline .el-timeline-item__tail {
    border-color: var(--communityBorder);
}

.communityAdmin .complaintEventTimeline .el-timeline-item__wrapper {
    top: 0;
    min-width: 0;
    padding-left: 36px;
}

.communityAdmin .complaintEventTimeline .el-timeline-item__timestamp {
    margin-bottom: 8px;
    padding-top: 4px;
    color: var(--communityMuted);
    font-size: 12px;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.communityAdmin .complaintEventHeading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 20px;
    color: var(--communityInk);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.communityAdmin .complaintEventHeading strong {
    font-weight: 600;
}

.communityAdmin .complaintEventOperator {
    color: var(--communityMuted);
    font-size: 13px;
}

.communityAdmin .complaintEventRemark {
    margin-top: 8px;
    color: var(--communityInk);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.communityAdmin .complaintEventPhotos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.communityAdmin .complaintEventPhotos .el-image {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border: 1px solid var(--communityBorder);
    border-radius: 6px;
    cursor: pointer;
}

.communityAdmin .complaintEventStatus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 136px;
    color: var(--communityMuted);
}

.communityAdmin .complaintDetailSection {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--communityBorder);
}

.communityAdmin .complaintDetailSectionTitle {
    margin: 0 0 16px;
    color: var(--communityInk);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.communityAdmin .complaintDetailSummary {
    min-height: 56px;
}

.communityAdmin .complaintSummaryStatus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    color: var(--communityMuted);
    font-size: 13px;
}

.communityAdmin .complaintTypeSummary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 16px 32px;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.communityAdmin .complaintTypeSummary dt {
    margin-bottom: 6px;
    color: var(--communityMuted);
    font-weight: 400;
}

.communityAdmin .complaintTypeSummary dd {
    margin: 0;
    color: var(--communityInk);
    overflow-wrap: anywhere;
}

.communityAdmin .complaintAppraiseEntry + .complaintAppraiseEntry {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--communityBorder);
}

.communityAdmin .complaintAppraiseHeading,
.communityAdmin .complaintAppraiseAuthor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}

.communityAdmin .complaintAppraiseHeading {
    justify-content: space-between;
}

.communityAdmin .complaintAppraiseAuthor strong {
    color: var(--communityInk);
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.communityAdmin .complaintAppraiseAuthor span {
    color: var(--communityMuted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.communityAdmin .complaintAppraiseContent {
    margin: 12px 0 0;
    color: var(--communityInk);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.communityAdmin .complaintAppraiseEntry .el-rate__icon {
    font-size: 18px;
}

@media (max-width: 767.98px) {
    .communityAdmin .complaintTypeSummary {
        grid-template-columns: minmax(0, 1fr);
    }

    .communityAdmin .complaintAppraiseHeading {
        align-items: flex-start;
        flex-direction: column;
    }
}
