.upload-file__container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .375rem;
    margin-bottom: .375rem;
}
.upload-file__controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    border: var(--system-border-width) solid var(--system-border-color-weak);
    border-radius: var(--system-border-radius-large);
    gap: 1rem;
    padding: .25rem;
    cursor: pointer;
    background-color: var(--system-color-white);
    transition: height .19s ease-in-out;
}
.upload-file__controls:hover,
.upload-file__controls:hover .button {
    background-color: var(--system-color-gray-25);
}
.upload-file__controls.is-active {
    height: 6rem;
    border-style: dashed;
    border-width: 2px;
    background-color: var(--system-color-gray-25);
}
.upload-file__description,
.upload-file__label {
    font-size: var(--system-font-size-small);
}
.upload-file__extensions {
    font-size: var(--system-font-size-least);
}
.upload-file__uploaded-files {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.upload-file__uploaded-file {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 1rem;
    border-radius: 12px;
    width: 25.625rem !important;
    border: var(--system-border-width) solid var(--system-border-color-weak);
}
.upload-file__uploaded-file .icon {
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.upload-file__uploaded-file__description {
    display: flex;
    flex-direction: column;
    color: var(--system-color-gray-700);
    font-size: var(--system-font-size-small);
}
.upload-file__uploaded-file__extension {
    width: 2rem;
    position: relative;
}
.upload-file__uploaded-file__extension .corner {
    position: absolute;
    top: 0;
    right: 0;
}
.upload-file__uploaded-file__extension:after {
    content: attr(data-type);
    text-transform: uppercase;
    font-weight: var(--system-font-weight-semibold);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 3px;
    background-color: var(--system-color-primary);
    position: absolute;
    left: -6px;
    top: 20px;
    color: var(--system-color-white);
    border-radius: 2px;
    line-height: 1;
    letter-spacing: -2%;
}

.file-progress {
    position: relative;
    height: .5rem;
    border-radius: .25rem;
    width: 290px !important;
    background-color: var(--system-color-gray-200);
    overflow: hidden;
    flex: 1;
}
.file-progress-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--system-color-primary);
    left: -100%;
    border-radius: .25rem;
}
.upload-file__uploaded-file__progress {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    gap: 4px;
}
.file-progress-proc {
    display: inline-flex;
    align-items: center;
    width: 2.5rem;
    color: var(--system-color-gray-500);
    font-size: var(--system-font-size-small);
}
.upload-file__uploaded-file__name {
    width: 300px;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
}





.main__title {
    display: inline-flex;
    align-items: center;
    font-size: var(--system-font-size-large);
    font-weight: var(--system-font-weight-semibold);
    padding: 1.5rem 0 .5rem;
}




.switch input[type="checkbox"]:checked + .check::before {
    transform: translate3d(108%, 0, 0);
}
.switch input[type="checkbox"] + .check::before {
    width: 16px;
    height: 16px;
}


.link-with-icon {
    font-size: var(--system-font-size-small);
    font-weight: var(--system-font-weight-semibold);
    color: black;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.link-with-icon .icon i {
    color: var(--system-color-primary) !important;
    font-size: 1rem;
}

.reference-information {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reference-information__main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.reference-information__title {
    font-size: var(--system-font-size-medium);
    font-weight: var(--system-font-weight-semibold);
}
.reference-information__content {
    text-align: justify;
}

.reference-information__links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}
.reference-information__link-container {
    flex: 1;
    height: 30rem;
}
.reference-information__link-container {
    position: relative;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.reference-information__link-container:nth-child(1) {
    background-image: url('/static/img/rf1.png');
}
.reference-information__link-container:nth-child(2) {
    background-image: url('/static/img/rf2.png');
}
.reference-information__link-container:nth-child(3) {
    background-image: url('/static/img/rf3.png');
}
.reference-information__link-container:nth-child(4) {
    background-image: url('/static/img/rf4.png');
}
.reference-information__link {
    position: absolute;
    background-color: hsla(0, 0%, 100%, 0.3);
    color: hsla(0, 0%, 100%);
    height: 7.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid hsla(0, 0%, 100%, 0.3);
    bottom: 20px;
    left: 20px;
    right: 20px;
    font-size: 30px;
    font-weight: var(--system-font-weight-semibold);
    padding: 20px;
}
.reference-information__block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--system-color-gray-300)
}
.reference-information__block-content__title {
    font-size: var(--system-font-size-small);
    font-weight: var(--system-font-weight-semibold);
    color: var(--system-color-gray-700);
}
.reference-information__block-content__description {
    font-size: var(--system-font-size-small);
    color: var(--system-color-gray-600);
    display: inline-flex;
    gap: 4px;
}
.reference-information__block-content {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-self: flex-start;
    flex: 1;
}
.reference-information__label {
    height: 23px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid hsla(220, 6%, 85%, 1);
    color: var(--system-color-gray-700);
}
.reference-information__icon {
    height: 40px;
    width: 40px;
    border: 1px solid hsla(220, 5%, 92%, 1);
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 hsla(220, 43%, 11%, 0.05),
                0 -2px 0 0 hsla(220, 29%, 5%, 0.05) inset,
                0 0 0 1px hsla(220, 29%, 5%, 0.18) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}
.reference-information__icon i {
    color: var(--system-color-black);
}
.reference-information-table .list__controls__filters form {
    width: 100%;
}
.reference-information-table .list__controls__filters form > *:not(.button) {
    width: calc(26% - 16px);
    --system-control-height: var(--system-control-compressed-height);
}
.reference-information-table .list__controls__filters form .button {
    flex: 1;
}
.reference-information-table .list__controls {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}
.reference-information-table .list__content .table th:not(:last-child) {
    width: 26%;
}
.reference-information-table .list__content .table th:last-child {
    width: 22%;
}
.closing-documents {
    gap: 1rem;
}
.closing-document__title {
    font-size: var(--system-font-size-small);
    font-weight: var(--system-font-weight-semibold);
    color: var(--system-color-gray-700);
}
.closing-document__container {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: .75rem;
    border: 1px solid var(--system-border-color);
}

/* Обращения */
.appeals__files .upload-file__uploaded-file {
    width: auto !important;
    height: 100%;
    padding-right: 4rem !important;
}
.appeals__files > .grid {
    gap: 1rem;
}
.appeals__files .upload-file__uploaded-file__name {
    width: auto;
    text-overflow: initial;
    text-wrap: wrap;
    white-space: break-spaces;
    overflow: auto;
    color: var(--system-color-gray-700);
    font-weight: var(--system-font-weight-semibold);
}
.appeals__files__status {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.appeals__files .upload-file__uploaded-file .icon {
    position: relative;
    top: auto;
    right: auto;
    font-size: 18px;
    color: var(--system-color-gray-300);
    margin-top: -1px;
}
.appeals__files .upload-file__uploaded-file .icon > i {
    font-size: 18px;
    font-weight: var(--system-font-weight-light);
    color: var(--system-color-gray-400);
    margin-top: -2px;
}
.appeals__files .icon-button-load {
    background-image: url('/static/img/svg/load-file.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35%;
    height: 2rem;
    width: 2rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}
.list__container.list__filters__compressed .choices {
    --system-control-height: var(--system-control-compressed-height) !important;
}
.list__container.list__filters__compressed .choices .choices__item {
    text-wrap: nowrap !important;
    font-weight: var(--system-font-weight-semibold) !important;
    font-size: var(--system-font-size-small) !important;
    color: var(--system-color-gray-500) !important;
}
.list__container.is-filters-full-width form {
    width: 100%;
    justify-content: space-between;
}
.list__container.is-filters-full-width input,
.list__container.is-filters-full-width .choices,
.list__container.is-filters-full-width .select {
    width: 100%;
}
.modal-select-container {
    display: flex;
}
.modal-select-container .choices {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.modal-select-container .choices .choices__inner {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.modal-select-container .modal-select-action {
    width: var(--system-control-height) !important;
    height: var(--system-control-height) !important;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}
.modal-select-container .modal-select-action .icon {
    margin: 0 !important;
}