.page-home {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    margin: 20px 20px 0 20px;
}

.page-home>.buttons-list {
    padding: 10px;
    margin-bottom: 40px;
    background: var(--ColorThemes1);
    color: var(--ColorThemes3);
    border: 1px solid var(--ColorThemes2);
    box-shadow: var(--shadow-l1);
    border-radius: var(--border-radius);
    overflow: auto;
    display: flex;
}

.page-home>.buttons-list>button,
.page-home>.buttons-list>a {
    cursor: pointer;
    border-radius: calc(var(--border-radius) - 5px);
    padding: 0 10px;
    margin-right: 20px;
    min-width: fit-content;
    min-height: 40px;
    background: var(--PrimaryColor);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-home>.buttons-list>button>span,
.page-home>.buttons-list>a>span {
    color: var(--PrimaryColorText);
    font-size: var(--FontSize3);
    font-weight: normal;
}

.page-home>.buttons-list>button>svg,
.page-home>.buttons-list>a>svg {
    width: 20px;
    height: 20px;
    fill: var(--PrimaryColorText);
    margin-right: 10px;
}

.page-home details {
    border-radius: var(--border-radius);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 10px;
    background: var(--ColorThemes1);
    color: var(--ColorThemes3);
    border: 1px solid var(--ColorThemes2);
    box-shadow: var(--shadow-l1);
}

.page-home>details[disabled] summary,
.page-home>details.disabled summary {
    pointer-events: none;
    user-select: none;
}

.page-home>details summary::-webkit-details-marker,
.page-home>details summary::marker {
    display: none;
    content: "";
}

.page-home summary {
    width: calc(100% - 40px);
    cursor: pointer;
    color: var(--ColorThemes3);
    border-radius: var(--border-radius);
    font-size: var(--FontSize5);
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-home summary span {
    font-weight: 500;
    width: 100%;
}


.page-home #home-personal-territory-list,
.page-home #home-group-territory-list,
.page-home #home-joint-territory-list {
    width: calc(100% - 20px);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    justify-content: center;
    overflow-y: auto;
    align-items: flex-start;
    transition: .3s ease;
    gap: 20px;
    padding: 10px;
}