.oc-register-block .oc-notice--error {
    background: #fff4bf;
    border-left-color: #ffd447;
    color: #3e2f00;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}

.oc-datepicker.ui-datepicker {
    z-index: 999999 !important;
    width: 356px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 60px rgba(15, 23, 42, .12);
    font-family: inherit
}

.oc-datepicker .ui-datepicker-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 0;
    background: transparent;
    color: #0f172a
}

.oc-datepicker .ui-datepicker-title {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(88px, 104px);
    gap: 8px;
    align-items: center;
    width: auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    text-align: center
}

.oc-datepicker .ui-datepicker-month,
.oc-datepicker .ui-datepicker-year {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 34px 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 4.35 6 8.15l3.8-3.8' fill='none' stroke='%2364748b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none
}

.oc-datepicker .ui-datepicker-month::-ms-expand,
.oc-datepicker .ui-datepicker-year::-ms-expand {
    display: none
}

.oc-datepicker .ui-datepicker-month:disabled,
.oc-datepicker .ui-datepicker-year:disabled {
    background-image: none !important;
    padding-right: 10px
}

.wp-core-ui .oc-datepicker select.disabled,
.wp-core-ui .oc-datepicker select:disabled {
    background-image: none !important;
    background-size: 0 0 !important
}

.oc-datepicker .ui-datepicker-prev,
.oc-datepicker .ui-datepicker-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease
}

.oc-datepicker .ui-datepicker-prev::before {
    content: '←';
    font-size: 16px;
    line-height: 1
}

.oc-datepicker .ui-datepicker-next::before {
    content: '→';
    font-size: 16px;
    line-height: 1
}

.oc-datepicker .ui-datepicker-prev span,
.oc-datepicker .ui-datepicker-next span {
    display: none
}

.oc-datepicker .ui-datepicker-prev-hover,
.oc-datepicker .ui-datepicker-next-hover,
.oc-datepicker .ui-datepicker-prev:hover,
.oc-datepicker .ui-datepicker-next:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    color: #0f172a
}

.oc-datepicker table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px
}

.oc-datepicker th {
    padding: 0 0 8px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em
}

.oc-datepicker td {
    padding: 0
}

.oc-datepicker td span,
.oc-datepicker td a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border-radius: 14px;
    color: #111827;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease
}

.oc-datepicker td a:hover {
    background: #f3f4f6;
    color: #111827
}

.oc-datepicker .ui-datepicker-other-month a,
.oc-datepicker .ui-datepicker-other-month span {
    color: #c0c7d1
}

.oc-datepicker .ui-state-active,
.oc-datepicker td .ui-state-active {
    background: #111827 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .18);
    font-weight: 700
}

.oc-datepicker .ui-datepicker-today a {
    border: 2px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-weight: 700
}

.oc-datepicker .ui-state-disabled span {
    opacity: .42
}

:root {
    --main-color: rgba(255, 255, 20, .4);
    --main-fon-yellow: #ff0;
    --main-fon-color: #010f77;
    --main-button-font: #373737;
    --main-bgfon-color: #f9f9f9;
    --main-hov: #1e59cf4a;
    --main-hov-color: #1c49a3;
    --main-fon-hover-color: #0535ba;
    --main-bg-white: #fff;
    --font-size_m: .875rem;
    --font-size_n: .775rem;
    --font-size_l: .675rem
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box
}

:focus,
a:active {
    outline: none
}

a,
a:visited,
a:hover {
    text-decoration: none
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: var(--main-button-font)
}

nav,
footer,
header,
aside,
address {
    display: block
}

html,
body {
    width: 100%;
    height: 100%;
    font-size: 18px;
    line-height: 1.8rem;
    word-break: break-word;
    word-wrap: break-word;
    font-family: "FreeSetC", "Fira Sans", "Work Sans", "Nunito", sans-serif;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--main-fon-color)
}

input,
button,
textarea {
    font-family: inherit
}

input::-ms-clear {
    display: none
}

button::-moz-focus-inner {
    padding: 0;
    border: 0
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

p {
    margin-top: .83em;
    margin-bottom: 1rem;
    text-indent: 0;
    word-wrap: break-word;
    font-weight: 400;
    line-height: 1.3rem;
    font-size: var(--font-size_m);
    color: #000
}

h1 {
    font-size: 1.85rem;
    font-weight: 700;
    font-style: normal;
    line-height: 2.1rem;
    color: var(--main-bg-white)
}

h2 {
    font-size: 1.625rem;
    line-height: 1.6rem
}

h3 {
    font-size: 1.375rem;
    line-height: 1.4rem
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4rem
}

h5 {
    font-size: 1rem;
    line-height: 1.1rem
}

h6 {
    font-size: .875rem;
    line-height: 1.4rem
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

time {
    display: flex;
    align-items: center;
    font-size: .775rem
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8px
}

.wrapper {
    display: grid;
    grid-gap: 1rem;
    grid-template-rows: 318.16px minmax(465px, 1fr) auto;
    background: var(--main-fon-color);
    transition: all 0.5s ease 0s;
    min-height: 100vh
}

.wrapper.lock,
body.lock {
    background-color: var(--main-fon-color)
}

.main {
    z-index: 38;
    order: 38
}

.main.lock,
.footer.lock {
    display: none
}

.header {
    background: var(--main-fon-color) url(../img/top_blu.jpg) no-repeat center / cover
}

.header-wrap {
    display: grid;
    grid-column-gap: 2.5rem;
    grid-template: 1fr auto / auto 1fr;
    grid-template-areas: "logo title" "menu-wrapper menu-wrapper"
}

.header-logo {
    grid-area: logo;
    position: relative;
    top: 4px
}

.custom-logo-link img {
    width: 213px;
    height: 213px
}

.header-title {
    grid-area: title;
    position: relative;
    top: 4px;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-bg-white);
    font-family: 'FreeSetC', sans-serif;
    font-size: 1.8rem;
    line-height: normal;
    letter-spacing: 2px;
    text-align: left;
    text-transform: uppercase
}

.header-title_slogan {
    grid-area: slogan;
    position: relative;
    color: var(--main-bg-white)
}

.header-title_slogan_a {
    position: absolute;
    top: 32px;
    right: 217px;
    font-family: "AmadeusAP";
    font-size: 2.1rem
}

.header-title_slogan_b {
    position: absolute;
    top: 95px;
    right: 0;
    font-family: "AmadeusAP";
    font-size: 4.1rem
}

.header-title_slogan_c {
    position: absolute;
    top: 155px;
    right: 97px;
    font-family: "FreeSetC";
    font-size: 1.5rem
}

.header-burger {
    display: none
}

.header-menu {
    grid-area: menu-wrapper;
    padding-top: 1rem
}

.header-list {
    display: grid;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    grid-template-columns: repeat(auto-fit, minmax(90px, auto))
}

.header-item {
    position: relative;
    height: 76px;
    font-family: 'FreeSetC', sans-serif;
    font-size: 1rem;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.5s 0s
}

.header-item:hover {
    background: var(--main-hov)
}

.header-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: .2rem;
    background-color: var(--main-fon-yellow);
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: opacity 200ms, transform 600ms
}

.header-item:hover::after,
.header-item:focus::after {
    opacity: 1;
    transform: scale(1)
}

.header-menu li {
    width: 100%
}

.header-list:hover a {
    opacity: .7
}

.header-list:hover a:hover {
    opacity: 1
}

.header-item a {
    display: grid;
    width: 100%;
    height: 100%;
    color: var(--main-bg-white);
    grid-auto-flow: row;
    grid-template-rows: 50px 26px;
    justify-items: center
}

.header-item.active a {
    color: var(--main-fon-yellow)
}

.header-link span {
    margin-top: 4px
}

.header-link span span {
    display: block
}

.icon {
    width: 48px;
    height: 48px;
    margin-top: 2px;
    background-repeat: no-repeat;
    background-size: cover
}

.icon-1 {
    background-image: url(../img/profile.svg)
}

.icon-face {
    background-image: url(../img/face.svg)
}

.icon-2 {
    background-image: url(../img/delete.svg)
}

.icon-3 {
    background-image: url(../img/exit.svg)
}

.icon-4 {
    background-image: url(../img/new_message.svg)
}

.icon-5 {
    background-image: url(../img/help.png)
}

.icon-6 {
    background-image: url(../img/documents.svg)
}

.icon-7 {
    background-image: url(../img/news.svg)
}

.icon-8 {
    background-image: url(../img/partnership.svg)
}

.icon-9 {
    background-image: url(../img/us.svg)
}

.icon-10 {
    background-image: url(../img/new_message.svg)
}

.pagination-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 8px 0
}

.pagination-nav a,
.pagination-nav span {
    display: inline-block;
    padding: 8px 16px;
    background: var(--main-bg-white);
    color: var(--main-fon-color);
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(1, 15, 119, .08);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s
}

.pagination-nav a:hover {
    background: var(--main-fon-hover-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(1, 15, 119, .15)
}

.pagination-nav .current,
.pagination-nav .active {
    background: var(--main-fon-yellow) !important;
    color: var(--main-fon-color) !important;
    border: 1px solid var(--main-fon-color);
    box-shadow: 0 4px 16px rgba(1, 15, 119, .2)
}

.pagination-nav .disabled {
    opacity: .4;
    cursor: default
}

@media all and (max-width:575.98px) {
    .pagination-nav {
        gap: 4px;
        flex-wrap: wrap
    }

    .pagination-nav a,
    .pagination-nav span {
        padding: 6px 10px;
        font-size: .8em;
        min-width: 32px;
        text-align: center
    }

    .pagination-nav a.prev,
    .pagination-nav a.next,
    .pagination-nav span.prev,
    .pagination-nav span.next {
        flex: 1 1 auto;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 4px;
        order: 0
    }
}

.news-post-item h2 {
    font-size: 1.1rem
}

.news-post-item a {
    grid-column: 2 / -1
}

.news-post-item .button {
    font-size: .775rem
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 1rem;
    font-size: .875rem;
    letter-spacing: .03rem;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.5s 0s;
    background: var(--main-bg-white);
    color: var(--main-fon-color)
}

.button:hover {
    background: var(--main-fon-hover-color);
    color: #fff;
    cursor: pointer
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: .7rem;
    padding-bottom: .7rem;
    color: var(--main-bg-white);
    letter-spacing: .05rem;
    text-align: center;
    text-transform: uppercase
}

.shadow {
    border-radius: 4px
}

.shadow {
    background: var(--main-bg-white);
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .1);
    transition: box-shadow 0.3s ease-in
}

.footer {
    z-index: 39;
    order: 39;
    font-family: "FreeSetC";
    background: url(../img/bottom_blu.jpg) no-repeat center / cover;
    background-color: var(--main-fon-color)
}

.footer-wrap {
    display: block;
    height: 100%;
    padding-top: 2rem;
    padding-bottom: 1rem;
    justify-items: center;
    justify-content: center
}

.footer-widget-copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    grid-area: copyright
}

.copyright-text {
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    color: var(--main-bg-white)
}

.copyright-text a {
    color: var(--main-bg-white);
    transition: color 0.5s
}

.copyright-text a:hover {
    color: var(--main-fon-yellow)
}

.footer li {
    margin-top: .5rem
}

.footer li a,
.footer li p {
    color: var(--main-bg-white);
    transition: color 0.5s
}

.footer li a:hover,
.footer li a:focus,
.footer li a:active {
    color: var(--main-fon-yellow)
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50%)
    }

    100% {
        opacity: 1;
        transform: translateY(0%)
    }
}

form {
    position: relative;
    width: auto;
    margin-top: 1rem
}

input,
button {
    background: transparent;
    color: var(--main-button-font);
    outline: none
}

input {
    width: 100%;
    height: 42px;
    padding-left: 15px;
    background-color: #f7f7f7;
    border: 2px solid #f1f5f9;
    border-radius: 4px
}

input:focus {
    background-color: azure;
    border-color: var(--main-fon-yellow);
    font-size: 1rem
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0
}

button {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    border: none;
    cursor: pointer
}

.request {
    text-align: center
}

.request p {
    margin: 2px 0;
    font-size: 1.2rem
}

.request button {
    margin-top: 0;
    margin-bottom: 0
}

#request_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 48px;
    margin: 6px auto 0;
    padding-top: 6px;
    color: var(--main-bg-white);
    font-size: var(--font-size_l);
    line-height: 1.2rem;
    letter-spacing: .03rem;
    text-transform: uppercase;
    background: var(--main-fon-color);
    border: 1px solid #fff;
    border-radius: 4px;
    transition: all 0.5s 0s
}

#request_button:hover {
    background: var(--main-fon-hover-color)
}

.request_text p {
    margin-top: 10px;
    font-size: 1.2rem
}

.request_text span {
    font-weight: 700
}

#fileSelect {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #007bff;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s
}

#fileSelect:focus {
    border-color: #0056b3
}

#downloadBtn {
    position: relative;
    width: 100%;
    padding: 10px 20px;
    color: var(--main-bg-white);
    font-size: 16px;
    background: var(--main-fon-color);
    border: 1px solid #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s
}

#downloadBtn:hover {
    background: var(--main-fon-hover-color)
}

.back-color {
    background: var(--main-fon-color)
}

.main-color,
.main-color a {
    color: #fff
}

.wrap-container {
    display: flex;
    width: 100%;
    min-height: 16vh;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
    box-sizing: border-box;
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.wrap-block {
    position: relative;
    width: 100%;
    max-width: 768px;
    background: var(--main-fon-color);
    border-radius: 4px
}

.wrap-block h2 {
    display: flex;
    margin-top: 16px;
    justify-content: center;
    color: var(--main-bg-white)
}

.info-body h2 {
    color: #000
}

.select-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #94a3b8;
    font-size: var(--font-size_m);
    line-height: 1;
    letter-spacing: .03rem;
    transition: box-shadow 0.3s ease-in
}

select {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: var(--font-size_l);
    border: 2px solid #f1f5f9;
    border-radius: 4px;
    box-sizing: border-box
}

.checkbox {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center
}

#md5 {
    grid-column: 1 / 2;
    grid-row: 2
}

#md5_send {
    margin-top: -6px;
    margin-left: 6px;
    cursor: pointer
}

.checkbox-input {
    width: 18px;
    margin: 0 8px 0 0
}

.checkbox {
    margin-top: 1rem
}

.checkbox .txt {
    font-size: var(--font-size_l);
    color: var(--main-bg-white)
}

.login-form {
    width: 100%;
    margin-top: 8px
}

.active-hide {
    display: none
}

.flex-w {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.login-form-title {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
    font-family: 'FreeSetC', sans-serif
}

.login-form-title h2 {
    margin-top: 0;
    color: var(--main-fon-color)
}

.text-center {
    text-align: center
}

.container-login-form-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1rem
}

#passrecover_a {
    cursor: pointer
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px
}

.form-container input {
    width: 170px;
    margin: 8px
}

.form-container .submit {
    color: var(--main-bg-white);
    font-size: var(--font-size_l);
    letter-spacing: .03rem;
    text-transform: uppercase;
    background-color: var(--main-fon-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.5s 0s
}

.wrap-input {
    position: relative;
    width: 100%;
    margin-left: 8px
}

.wrap-input .txt {
    color: #fff;
    font-size: var(--font-size_l);
    font-weight: bolder
}

.input_wrapper_abonent,
.input-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 16px 12px 0;
    background: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 4px;
    transition: box-shadow 0.3s ease-in
}

.input_wrapper_abonent {
    flex-direction: column
}

#hidden0_info {
    order: 1
}

[class*="_info"] {
    color: crimson;
    font-size: var(--font-size_l);
    line-height: 1rem
}

.ui-com-input,
.input-control {
    width: 100%;
    margin: 0 0 2px;
    padding: 2px 0 0;
    background: 0;
    background-color: #fff;
    border: none
}

.input-label {
    position: absolute;
    top: 6px;
    left: 12px;
    color: #94a3b8;
    font-size: var(--font-size_l);
    font-weight: bolder;
    line-height: 1
}

.input_wrapper_abonent:hover,
.input_wrapper_abonent:active,
.input_wrapper_abonent:focus,
.input_wrapper_date:hover,
.input_wrapper_date:active,
.input_wrapper_date:focus,
.select-container:hover,
.select-container:active,
.select-container:focus,
.input-wrapper:hover,
.input-wrapper:active,
.input-wrapper:focus {
    box-shadow: 0 0 12px 6px rgba(0, 0, 0, .1)
}

.txt {
    color: #94a3b8;
    font-size: var(--font-size_m);
    line-height: 1;
    letter-spacing: .03rem
}

.objaz {
    font-size: var(--font-size_l)
}

span.objaz {
    margin-left: 2px;
    color: red
}

.checkbox-container-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-left: 8px;
    font-size: var(--font-size_n)
}

.checkbox-container-row span {
    color: #fff;
    font-size: var(--font-size_n)
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    font-size: var(--font-size_n);
    line-height: 1
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: var(--main-bg-white);
    font-size: var(--font-size_n)
}

.checkbox-label :active,
.checkbox-label:hover,
.checkbox-label:focus {
    outline: 0;
    outline-offset: 0
}

.login-form-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 204px;
    height: 36px;
    margin: 0 auto;
    color: var(--main-bg-white);
    font-size: var(--font-size_l);
    line-height: 1.2rem;
    letter-spacing: .03rem;
    text-transform: uppercase;
    background: var(--main-fon-color);
    border-radius: 4px;
    transition: all 0.5s 0s
}

.white {
    color: var(--main-fon-color);
    background: var(--main-bg-white)
}

.login-form-btn i {
    font-style: normal
}

.login-form-btn:hover,
.login-form-btn:focus-visible {
    background: var(--main-fon-hover-color);
    color: #fff;
    cursor: pointer
}

.submit:hover .login-form-btn:hover {
    background: var(--main-fon-hover-color)
}

textarea[name="zah"],
textarea[name="message"] {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    overflow-y: scroll;
    font-family: Arial;
    font-size: .875rem;
    background-color: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 4px;
    outline: none;
    resize: none
}

textarea[name="zah"]:hover,
textarea[name="message"]:hover {
    border-color: var(--main-fon-hover-color)
}

.hidden {
    display: none
}

.chars {
    position: absolute;
    bottom: 12px;
    right: 26px;
    color: var(--main-fon-hover-color)
}

#upload2 {
    position: relative;
    margin-top: 8px
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer
}

#status {
    display: flex;
    justify-content: center;
    justify-items: center;
    padding: 8px 0
}

#status a {
    color: #1e3a8a
}

#status div {
    margin-right: 6px;
    color: #fff;
    font-size: var(--font-size_l)
}

#status img {
    display: flex;
    align-self: center;
    width: 22px;
    height: 22px
}

#tut {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05);
    margin-top: 10px;
    padding: 0
}

#tut::-webkit-scrollbar {
    width: 6px
}

#tut::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px
}

#file {
    display: flex;
    justify-content: space-between;
    max-width: 360px;
    margin: 0 auto
}

#file .cell .text {
    color: #fff
}

#file .cell {
    flex: 1 0 auto
}

#file .images {
    background: #fff;
    border-radius: 4px;
    cursor: pointer
}

.file-item {
    display: grid;
    align-items: center;
    cursor: pointer;
    grid-template-columns: 1fr 40px;
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s
}

.file-item:last-child {
    border-bottom: none
}

#tut2 {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05);
    margin-top: 10px;
    padding: 0
}

#tut2 .file-item:nth-child(even) {
    background-color: #fafafa
}

#tut2 .file-item:nth-child(odd) {
    background-color: #fff
}

#tut2 .file-item:hover {
    background-color: #f1f8ff
}

.cell {
    position: relative;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    text-align: left
}

.cell .cell-file:hover .text {
    color: var(--main-fon-hover-color)
}

.cell-file {
    display: flex;
    align-items: center;
    gap: 12px
}

.cell-file div:nth-child(2) {
    flex: 1;
    font-weight: 600;
    color: #334155;
    font-size: var(--font-size_m);
    text-align: left
}

.images,
.cell-file .images {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 0
}

.images img,
.cell img {
    max-width: 20px;
    max-height: 20px;
    object-fit: contain
}

.cell-file .text {
    color: #64748b;
    font-size: .775rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.file-item>.images {
    width: 32px;
    height: 32px;
    background: transparent;
    justify-self: center;
    transition: transform 0.2s, background-color 0.2s
}

.file-item>.images:hover {
    transform: scale(1.1);
    background-color: #fee2e2
}

.file-item>.images {
    width: 32px;
    height: 32px;
    background: transparent;
    justify-self: center;
    transition: transform 0.2s, background-color 0.2s
}

.file-item>.images:hover {
    transform: scale(1.1);
    background-color: #fee2e2
}

.container-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px
}

.col {
    margin-left: 3px;
    color: yellow;
    font-style: normal;
    font-weight: 700
}

.col:before {
    content: "("
}

.col:after {
    content: ")"
}

.green {
    color: green
}

.messages-list {
    max-height: max(280px, calc(100vh - 440px));
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 12px 2px 6px;
    margin: 0 -12px 16px -6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.08);
}

.messages-list::-webkit-scrollbar {
    width: 6px;
}

.messages-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.messages-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

.messages-list::-webkit-scrollbar-thumb:hover {
    background: var(--main-fon-yellow, #ff0);
}

.messages-list .message:last-child,
.messages-list .row:last-child {
    margin-bottom: 6px;
}

.messages-list .table {
    background: transparent;
}

@media all and (max-width: 1199.98px) {
    .messages-list {
        max-height: max(260px, calc(100vh - 380px));
    }
}

@media all and (max-width: 990.98px) {
    .messages-list {
        max-height: max(240px, calc(100vh - 330px));
    }
}

@media all and (max-width: 767.98px) {
    .messages-list {
        max-height: max(220px, calc(100vh - 220px));
        padding: 4px 6px 2px 4px;
        margin: 0 -6px 14px -4px;
    }
}

.message {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: #555;
    background-color: #fff;
    border: 1px solid rgba(2, 148, 202, .8);
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .5);
    transition: box-shadow 0.3s ease-in
}

.message:hover {
    box-shadow: 0 0 18px var(--main-hov-color)
}

.message-warp {
    width: 100%;
    margin: 6px
}

.message-warp span {
    font-weight: 700
}

.message a {
    color: var(--main-button-font);
    text-decoration: none
}

.message-address {
    display: flex;
    flex-basis: 100%;
    justify-content: space-between;
    margin-right: 10px;
    margin-left: 10px
}

.message-conent {
    flex-basis: 100%;
    margin-bottom: 0;
    margin-left: 10px;
    text-align: left
}

.message-conent p {
    overflow-wrap: break-word
}

.message-file {
    display: flex;
    flex-basis: 100%;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    margin-bottom: 8px
}

.message-file i {
    display: block;
    margin-right: 10px;
    color: var(--main-hov-color);
    font-size: var(--font-size_l);
    line-height: 1rem
}

.message-status-img {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    padding-right: 10px;
    border-top: 2px solid #f1f5f9
}

.message-label {
    display: grid;
    width: 100%;
    gap: 8px;
    align-items: center;
    padding-top: 6px;
    padding-right: 10px;
    border-top: 2px solid #f1f5f9;
    grid-template-columns: auto 1fr auto
}

.message-label a:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px
}

.message-label a:first-child img {
    display: block;
    max-width: 100%;
    max-height: 100%
}

.message-label i {
    color: var(--main-fon-color);
    font-style: normal;
    font-weight: 700
}

.message-label a:last-child {
    white-space: nowrap;
    justify-self: end
}

.icon-in {
    background-image: url(../img/email-outline.svg);
    background-repeat: no-repeat
}

.icon-out {
    color: forestgreen;
    background-image: url(../img/email-filled.svg);
    background-repeat: no-repeat
}

.info-body {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    box-sizing: border-box
}

.info-body h2,
.info-body h1 {
    text-align: center
}

.info-body h1 span {
    color: green
}

.info-body h2 i {
    color: var(--main-fon-color);
    font-style: normal
}

.info-date {
    display: flex;
    justify-content: flex-end;
    line-height: .8rem
}

.info-row {
    display: flex;
    flex-direction: column
}

.info-row-file {
    display: flex;
    flex-direction: row;
    gap: 4px
}

.info-label-zmist {
    display: flex;
    justify-content: center;
    font-weight: 700
}

.info-label {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font-size_n);
    font-weight: 700
}

.info-label img {
    opacity: .7
}

.info-label i {
    font-style: normal
}

.info-med {
    padding: 0 4px;
    color: #fff;
    background: var(--main-fon-color)
}

.info-row .info-med {
    text-align: end;
    background: none
}

.info-row .info-med i {
    padding: 2px 4px;
    background: var(--main-fon-color)
}

.info-department {
    margin-bottom: 6px;
    font-style: normal;
    font-weight: 700
}

.info-content {
    align-self: center
}

.info-content ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px
}

.info-content a,
.info-content li {
    font-size: var(--font-size_m);
    text-transform: lowercase
}

.info-content p {
    margin: 0
}

.response {
    display: flex;
    align-items: center;
    margin-top: 16px
}

.response-content {
    display: flex;
    flex-direction: column;
    align-items: center
}

.response-content span {
    font-weight: 700
}

.response-answer {
    margin-top: 16px
}

.response-date {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size_l)
}

.response-status {
    display: flex;
    gap: 1rem;
    justify-content: space-around;
    font-size: var(--font-size_m)
}

.button-wrap {
    display: flex;
    flex-direction: row;
    column-gap: 8px;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 16px
}

.button-wrap .button {
    cursor: pointer
}

.button-wrap.oc-register-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: center;
    column-gap: 16px;
    margin-top: auto;
    position: static
}

.button-wrap.oc-register-actions .button {
    width: auto !important;
    max-width: max-content;
    flex: none;
    position: static
}

.button-wrap.oc-register-actions #oc-reg-submit {
    justify-self: start
}

.button-wrap.oc-register-actions a.button {
    justify-self: end;
    margin-left: 0
}

.wrap-block.oc-register-block {
    display: flex;
    flex-direction: column;
    min-height: 100%
}

.wrap-block.oc-register-block .login-form.flex-w {
    flex: 1 1 auto
}

.oc-register-consent {
    display: grid;
    gap: 10px;
    justify-content: center;
    margin: 4px 0 0;
    padding-inline: 12px
}

.oc-register-consent__label {
    display: grid;
    grid-template-columns: auto 16px minmax(0, auto);
    align-items: center;
    justify-content: start;
    column-gap: 10px;
    color: var(--main-bg-white);
    line-height: 1.2
}

.oc-register-consent__lead {
    min-width: 92px;
    color: var(--main-bg-white);
    font-size: var(--font-size_n);
    text-align: left
}

.oc-register-consent__label--offset .oc-register-consent__lead {
    visibility: hidden
}

.oc-register-consent .checkbox-input {
    width: 16px;
    height: 16px;
    margin: 0
}

.oc-register-consent__label span,
.oc-register-consent__link {
    color: var(--main-bg-white);
    font-size: var(--font-size_n)
}

.oc-register-consent__link {
    text-decoration: none
}

.oc-register-consent__link:hover,
.oc-register-consent__link:focus-visible {
    text-decoration: underline
}

@media (max-width:640px) {
    .oc-register-consent {
        justify-content: stretch;
        padding-inline: 0
    }

    .oc-register-consent__label {
        grid-template-columns: 16px 1fr;
        row-gap: 6px
    }

    .oc-register-consent__lead {
        grid-column: 1 / -1;
        min-width: 0
    }

    .oc-register-consent__label>.checkbox-input {
        grid-column: 1;
        justify-self: start
    }

    .oc-register-consent__label>span:last-child,
    .oc-register-consent__label>.oc-register-consent__link {
        grid-column: 2
    }
}

.table {
    width: 100%;
    background: var(--main-fon-color)
}

.table .row:nth-child(even) {
    background-color: #fff
}

.table .row:nth-child(odd) {
    background-color: #f6fcff
}

.adm-panel-layout {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%
}

.adm-route-form {
    display: grid;
    gap: 12px
}

.adm-route-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center
}

.adm-route-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.adm-route-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #CC0;
    background: #f8fbff;
    cursor: pointer
}

.adm-route-request-title {
    margin: 0;
    text-align: right
}

.adm-route-card {
    display: grid;
    gap: 2px;
    border: 1px solid rgba(2, 148, 202, .3);
    background: rgba(2, 148, 202, .08)
}

.adm-route-meta-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 170px;
    gap: 10px;
    align-items: start;
    background: #fff;
    padding: 8px
}

.adm-route-meta-content img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px
}

.adm-route-work-title {
    margin: 8px 0 0;
    text-align: center
}

.adm-route-history {
    display: grid;
    gap: 2px;
    border: 1px solid rgba(2, 148, 202, .3);
    background: rgba(2, 148, 202, .08)
}

.adm-route-history-head,
.adm-route-history-row {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.8fr 1.2fr 0.8fr 90px;
    gap: 8px;
    padding: 8px;
    background: #fff;
    align-items: start
}

.adm-route-input-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 12px;
    align-items: start
}

.adm-route-input-main {
    display: grid;
    gap: 2px;
    border: 1px solid rgba(2, 148, 202, .3);
    background: rgba(2, 148, 202, .08)
}

.adm-route-input-row {
    background: #fff;
    padding: 8px
}

.adm-route-input-row select,
.adm-route-textarea {
    width: 100%
}

.adm-route-input-row:first-child {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: center
}

.adm-route-upload-panel {
    display: grid;
    gap: 8px
}

.adm-route-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    background: #f1f5f9;
    color: #475569;
    font-size: var(--font-size_l, 16px);
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .05)
}

.adm-route-upload-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8
}

.adm-route-upload-btn:active {
    transform: scale(.98)
}

.adm-route-upload-btn img {
    filter: brightness(0) invert(.3);
    width: 20px;
    height: 20px
}

.adm-route-upload-status {
    text-align: center
}

.adm-route-upload-list-wrap {
    border: 1px solid rgba(2, 148, 202, .3);
    background: #fff;
    padding: 6px
}

.adm-route-upload-list {
    overflow-y: auto;
    height: 150px
}

@media all and (max-width:991.98px) {
    .adm-route-toolbar {
        grid-template-columns: 1fr
    }

    .adm-route-request-title {
        text-align: left
    }

    .adm-route-meta-row {
        grid-template-columns: 110px minmax(0, 1fr)
    }

    .adm-route-meta-files {
        grid-column: 1 / -1
    }

    .adm-route-input-grid {
        grid-template-columns: 1fr
    }
}

@media all and (max-width:640px) {
    .adm-route-meta-row {
        grid-template-columns: 1fr
    }
}

.adm-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px
}

.adm-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #dbe7ff;
    border-radius: 4px;
    background: #f8fbff;
    cursor: pointer
}

.adm-action-btn:hover {
    background: #eef5ff
}

.adm-actions-separator {
    color: darkgray
}

.adm-filter-form {
    width: 100%
}

.adm-filter-grid {
    display: grid;
    grid-template-columns: minmax(120px, auto) minmax(280px, 1fr) minmax(220px, 1fr) auto minmax(130px, auto) auto minmax(220px, 1fr) auto minmax(130px, auto);
    gap: 8px 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #dbe7ff;
    border-radius: 4px;
    background: #f8fbff
}

.adm-filter-found {
    text-align: center
}

.adm-filter-category {
    display: grid;
    gap: 6px
}

.adm-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.adm-statuses span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size_l)
}

.adm-filter-abonent {
    display: grid;
    gap: 4px
}

.adm-filter-submit {
    display: flex;
    align-items: center;
    justify-content: center
}

.adm-filter-find {
    display: flex;
    gap: 8px;
    align-items: center
}

.adm-list-form {
    width: 100%
}

.adm-list {
    display: grid;
    width: 100%;
    gap: 8px
}

.adm-list-head,
.adm-list-row {
    display: grid;
    grid-template-columns: 48px 56px 92px minmax(130px, 1fr) minmax(220px, 1.3fr) minmax(130px, 1fr) minmax(120px, 0.95fr);
    gap: 8px;
    align-items: start
}

.adm-list-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 8px;
    color: var(--main-bg-white);
    background: var(--main-fon-color);
    border-radius: 4px;
    font-size: var(--font-size_l);
    font-weight: 700
}

.adm-list-row {
    padding: 10px 8px;
    background: var(--main-bg-white);
    border: 1px solid rgba(2, 148, 202, .3);
    border-radius: 4px
}

.adm-list-row.onx {
    background: #f8fbff
}

.adm-cell {
    font-size: var(--font-size_l);
    line-height: 1.2rem;
    word-break: break-word
}

.adm-cell img {
    max-width: 22px;
    height: auto
}

@media all and (max-width:1199.98px) {
    .adm-filter-grid {
        grid-template-columns: repeat(6, minmax(120px, 1fr))
    }

    .adm-filter-found {
        grid-column: 1 / 2
    }

    .adm-filter-category {
        grid-column: 2 / 4
    }

    .adm-filter-abonent {
        grid-column: 4 / 7
    }

    .adm-filter-find {
        grid-column: 1 / 4
    }

    .adm-list-head,
    .adm-list-row {
        grid-template-columns: 42px 44px 48px 74px minmax(110px, 1fr) minmax(150px, 1.1fr) minmax(180px, 1.3fr) minmax(130px, 1fr) minmax(110px, 1fr) minmax(110px, 0.95fr)
    }
}

@media all and (max-width:767.98px) {
    .adm-actions {
        justify-content: center
    }

    .adm-filter-grid {
        grid-template-columns: 1fr
    }

    .adm-filter-category,
    .adm-filter-abonent,
    .adm-filter-find {
        grid-column: auto
    }

    .adm-filter-find {
        flex-direction: column;
        align-items: stretch
    }

    .adm-list-head {
        display: none
    }

    .adm-list-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px
    }

    .adm-cell {
        display: grid;
        grid-template-columns: 110px 1fr;
        gap: 8px;
        align-items: start
    }

    .adm-cell::before {
        content: attr(data-label);
        color: var(--main-fon-color);
        font-weight: 700
    }
}

.adm-filter-grid>*,
.adm-list-head>*,
.adm-list-row>*,
.adm-route-history-head>*,
.adm-route-history-row>* {
    min-width: 0
}

.adm-route-meta-content,
.adm-cell,
.adm-route-history-row>* {
    word-break: break-word;
    overflow-wrap: break-word
}

.adm-filter-submit input[type="image"] {
    width: 38px;
    height: 38px;
    padding: 6px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff
}

@media all and (max-width:1199.98px) {
    .adm-filter-grid {
        grid-template-columns: 1fr 1fr
    }

    .adm-filter-found,
    .adm-filter-category,
    .adm-filter-abonent,
    .adm-filter-find {
        grid-column: 1 / -1
    }

    .adm-filter-submit {
        justify-content: flex-start
    }

    .adm-filter-grid input[type="text"],
    .adm-filter-grid select,
    #adm_text {
        width: 100% !important;
        max-width: 100%
    }

    .adm-list-form {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .adm-list {
        min-width: 980px
    }

    .adm-route-history,
    .adm-route-card {
        overflow-x: auto
    }

    .adm-route-history-head,
    .adm-route-history-row {
        min-width: 980px
    }
}

@media all and (max-width:991.98px) {
    .adm-list-form {
        overflow-x: visible
    }

    .adm-list {
        min-width: 0
    }

    .adm-list-head {
        display: none
    }

    .adm-list-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 10px
    }

    .adm-cell {
        display: grid;
        grid-template-columns: minmax(96px, 116px) minmax(0, 1fr);
        gap: 8px;
        align-items: start
    }

    .adm-cell::before {
        content: attr(data-label);
        color: var(--main-fon-color);
        font-weight: 700
    }
}

@media all and (max-width:767.98px) {
    .adm-filter-grid {
        grid-template-columns: 1fr
    }

    .adm-filter-submit {
        justify-content: center
    }

    .adm-list {
        min-width: 0
    }

    .adm-route-toolbar-actions {
        width: 100%
    }

    .adm-route-action {
        width: 100%;
        justify-content: center
    }

    .adm-route-input-grid {
        grid-template-columns: 1fr
    }
}

@media all and (max-width:640px) {
    .adm-route-meta-row {
        grid-template-columns: 110px minmax(0, 1fr)
    }
}

.adm-panel-layout,
.adm-route-form {
    gap: 16px
}

.adm-actions {
    gap: 12px
}

.adm-action-btn,
.adm-route-action {
    border: 1px solid #d7e2ef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05)
}

.adm-action-btn {
    min-height: 38px;
    padding: 8px 12px
}

.adm-action-btn:hover,
.adm-route-action:hover {
    background: #f5f8ff;
    border-color: #b9cbe4
}

.adm-action-btn .name,
.adm-route-action span {
    font-weight: 700;
    font-size: var(--font-size_l)
}

.adm-filter-grid {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff
}

.adm-filter-grid select,
.adm-filter-grid input[type="text"] {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff
}

.adm-filter-grid select:focus,
.adm-filter-grid input[type="text"]:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, .25)
}

.adm-statuses span {
    padding: 2px 8px;
    border: 1px solid #e6edf5;
    border-radius: 999px;
    background: #f8fafc
}

.adm-list {
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.adm-list-head {
    position: static;
    padding: 10px 8px;
    color: #475569;
    background: #f8fafc;
    border-radius: 0;
    border-bottom: 1px solid #e2e8f0
}

.adm-list-row {
    margin: 0;
    border: 0;
    border-top: 1px solid #eef2f7;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 8px;
    background: #fff
}

.adm-list-row.on {
    background: #fff8e8;
    border-top-color: #f5d48a
}

.adm-list-row.onx {
    background: #eef7ff;
    border-top-color: #bfdcfb
}

.adm-list .adm-directory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center
}

.adm-list .adm-icon-btn {
    position: static;
    top: auto;
    right: auto;
    min-width: 32px;
    min-height: 32px;
    padding: 0
}

.adm-route-toolbar,
.adm-route-card,
.adm-route-history,
.adm-route-input-main,
.adm-route-upload-list-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff
}

.adm-route-toolbar {
    padding: 12px;
    align-items: center
}

.adm-route-request-title {
    color: var(--main-fon-color)
}

.adm-route-card,
.adm-route-input-main {
    gap: 0;
    overflow: hidden
}

.adm-route-history {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.adm-route-meta-row,
.adm-route-history-row,
.adm-route-input-row {
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #eef2f7
}

.adm-route-meta-row:first-child,
.adm-route-history-row:first-child,
.adm-route-input-row:first-child {
    border-top: 0
}

.adm-route-history-head {
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 700
}

.adm-route-input-row select,
.adm-route-textarea {
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff
}

.adm-route-input-row select {
    height: 38px;
    padding: 0 10px
}

.adm-route-textarea {
    min-height: 120px;
    padding: 10px;
    resize: vertical
}

.adm-route-upload-status {
    color: #64748b;
    font-size: var(--font-size_l)
}

.row {
    margin-top: 16px;
    padding: 10px;
    color: #555;
    background: var(--main-bg-white);
    border: 1px solid rgba(2, 148, 202, .8);
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .5);
    transition: box-shadow 0.3s ease-in
}

.row:hover {
    box-shadow: 0 0 18px var(--main-hov-color)
}

.row span {
    font-size: var(--font-size_n)
}

.row span:first-child,
.row span:nth-child(2),
.row-day span:nth-child(3) {
    font-size: var(--font-size_n);
    font-weight: 700
}

.row-item {
    display: grid;
    font-size: var(--font-size_n);
    grid-template-columns: 30% 70%
}

.row-day {
    display: grid;
    align-items: center;
    font-size: var(--font-size_m);
    grid-template: 1fr / 30% 2fr 20% 10%
}

.row-day span:nth-child(2) {
    font-size: var(--font-size_l);
    font-weight: 400;
    line-height: 1rem
}

.row-day span:nth-child(4) {
    font-size: var(--font-size_l);
    line-height: 1rem
}

.row-checkbox {
    display: grid;
    align-items: center;
    grid-template: 1fr / 30% 1fr 10%
}

.row-ab {
    display: grid;
    grid-template: 1fr / 30% 1fr
}

.row-ab span {
    display: flex;
    align-items: center
}

.row-ab img {
    width: 10%;
    height: auto;
    opacity: .7
}

.item3 {
    font-size: var(--font-size_m);
    grid-column: 2 / 3
}

.row_image {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr
}

.row-image:hover {
    opacity: 1
}

.row-image {
    display: flex;
    justify-content: center;
    margin: 4px;
    padding: 0;
    background: var(--main-bg-white);
    border-radius: 4px;
    opacity: .7;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .1);
    cursor: pointer;
    transition: all 0.5s ease 0s
}

.row-image a img,
.row-image img {
    display: block;
    width: 36px;
    height: auto
}

.title-grid {
    display: grid;
    align-items: center;
    justify-items: flex-end;
    grid-template: 1fr / 85% 1fr 1fr
}

.abonentinfo {
    display: grid;
    grid-gap: 4px;
    grid-template-columns: auto auto auto
}

.abonentinfo i {
    font-size: var(--font-size_m);
    font-weight: 700
}

.row-ab .abonentinfo {
    display: flex;
    align-items: center
}

.abonentinfo img {
    display: flex;
    width: 100%;
    height: 100%
}

.row-status {
    display: grid;
    border-bottom: 1px solid #f1f5f9;
    grid-template: 1fr / 30% auto auto
}

.row-cat {
    display: grid;
    margin-top: 8px;
    margin-bottom: 8px;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    font-size: var(--font-size_m);
    line-height: 1.2rem;
    grid-template: 1fr / 1fr
}

.row-comment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: var(--font-size_m);
    line-height: 1.2rem
}

.row-comment span {
    font-size: var(--font-size_m);
    font-weight: 700;
    display: inline-block
}

.row-comment div {
    display: inline-block
}

.row-edit {
    display: grid;
    align-items: center;
    justify-content: space-between;
    grid-template: 1fr / 35% auto
}

.row-edit span:nth-child(2) {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-self: center;
    justify-self: center;
    font-size: var(--font-size_n);
    line-height: 1rem
}

.abonent-anketa {
    display: flex;
    flex-direction: column
}

.rows {
    display: grid;
    grid-template: 1fr / 48px 1fr
}

.rows img:first-child {
    margin-top: 3px;
    opacity: .7
}

.row .rows a,
.row .rows span:nth-child(2) {
    font-size: var(--font-size_m);
    font-weight: 700
}

.red span:first-child {
    background-image: url(../img/link_off.svg);
    background-repeat: no-repeat;
    opacity: .7
}

.red span i:last-child {
    margin-left: 4px;
    color: red;
    font-style: normal
}

.green span:first-child {
    background-image: url(../img/link.svg);
    background-repeat: no-repeat;
    opacity: .7
}

.green span i:last-child {
    margin-left: 4px;
    color: green;
    font-style: normal
}

.abonent-sys {
    display: grid;
    align-items: center;
    justify-content: space-between;
    grid-template: 1fr 1fr / 30% 1fr
}

.abonent-sys span:nth-child(3) {
    font-size: var(--font-size_n);
    font-weight: 700
}

.abonent-sys img {
    justify-content: space-between;
    opacity: .7
}

.abonent-sys span:nth-child(6) {
    display: flex;
    gap: 4px;
    justify-content: flex-start
}

table.tpageselect_outer_table {
    display: flex;
    width: 48px;
    height: auto;
    justify-content: space-between
}

td.tpageselect_table_left {
    width: 100px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    background-image: none;
    background-repeat: no-repeat;
    background-position: left
}

td.tpageselect_table_right {
    width: 100px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    background-image: none;
    background-repeat: no-repeat;
    background-position: right
}

td.tpageselect_table_center {
    flex-grow: 1;
    text-align: center
}

table.tpageselect_inner_table {
    display: flex;
    width: 100%;
    justify-content: space-between
}

td.tpageselect_pages_back {
    display: flex;
    align-items: center;
    height: 100%
}

table.tpageselect_pages_table {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px
}

td.tpageselect_page {
    width: 48px;
    height: 100%;
    font-size: 14px;
    font-weight: 400;
    text-align: center
}

a.tpageselect_page:link,
a.tpageselect_page:active,
a.tpageselect_page:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    text-decoration: none;
    cursor: pointer
}

a.tpageselect_page:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer
}

div.tpageselect_page {
    width: 48px;
    height: 100%;
    color: var(--main-bg-white);
    background-color: var(--main-fon-hover-color);
    cursor: pointer;
    transition: all 0.5s ease 0s
}

div.tpageselect_page:hover {
    width: 48px;
    height: 100%;
    color: #f1ff00;
    background-color: var(--main-fon-hover-color)
}

td.tpageselect_selected {
    width: 48px;
    height: auto;
    color: var(--main-bg-white);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    background-color: var(--main-fon-hover-color);
    border: 1px solid #fff
}

td.tpageselect_button_b,
td.tpageselect_button_f,
td.tpageselect_button_bb,
td.tpageselect_button_ff {
    width: 48px;
    height: auto;
    background-color: var(--main-fon-hover-color);
    background-repeat: no-repeat;
    background-position: center;
    opacity: .7;
    cursor: pointer;
    transition: all 0.5s ease 0s
}

td.tpageselect_button_b:hover,
td.tpageselect_button_f:hover,
td.tpageselect_button_bb:hover,
td.tpageselect_button_ff:hover {
    color: var(--main-bg-white);
    opacity: 1;
    cursor: pointer
}

td.tpageselect_button_b {
    background-image: url(../img/arrow_back.svg)
}

td.tpageselect_button_b:hover {
    background-image: url(../img/arrow_back_hover.svg)
}

td.tpageselect_button_f {
    background-image: url(../img/arrow_forward.svg)
}

td.tpageselect_button_f:hover {
    background-image: url(../img/arrow_forward_hover.svg)
}

td.tpageselect_button_bb {
    background-image: url(../img/first_page.svg)
}

td.tpageselect_button_bb:hover {
    background-image: url(../img/first_page_hover.svg)
}

td.tpageselect_button_ff {
    background-image: url(../img/last_page.svg)
}

td.tpageselect_button_ff:hover {
    background-image: url(../img/last_page_hover.svg)
}

.containers {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px
}

.tabl {
    display: grid;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #ddd;
    border-radius: 8px;
    grid-template-columns: 1fr
}

.tabl-row {
    display: grid;
    gap: 1px;
    grid-template-columns: 1fr minmax(150px, auto)
}

.tabl-cell {
    padding: 12px 15px;
    background-color: #f9f9f9;
    color: #222;
    font-size: 1em
}

.tabl-cell-header {
    background-color: #0535ba;
    color: #fff;
    font-weight: 600
}

.tabl-row:nth-child(even) .tabl-cell {
    background-color: #f2f2f2
}

.tabl-row:nth-child(odd) .tabl-cell {
    background-color: #e9f5e9
}

.tabl-row.tabl-header .tabl-cell {
    background-color: #0535ba;
    color: #fff;
    font-weight: 600
}

.dropdown {
    display: inline-block;
    margin-left: 10px
}

.tabl select {
    width: 100%;
    max-width: 150px;
    padding: 5px;
    font-size: 1em
}

.buttont-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    width: 100%
}

.buttont-wrapper .button {
    width: 100%
}

@media all and (max-width:1199.98px) {
    .wrapper {
        grid-template-rows: 256.16px 1fr auto
    }

    .custom-logo-link img {
        width: 160px;
        height: 160px
    }

    .header-title {
        max-width: max-content;
        font-size: 1.5rem
    }

    .header-title_slogan_a {
        top: 29px;
        right: 162px;
        font-size: 1.81rem
    }

    .header-title_slogan_b {
        top: 77px;
        right: 0;
        font-size: 3.1rem
    }

    .header-title_slogan_c {
        top: 125px;
        right: 84px;
        font-size: 1rem
    }

    .header-item {
        height: 67px;
        font-size: .7rem
    }

    .header-item a {
        grid-template-rows: 47px 21px
    }

    .header-link span {
        margin-top: 1px
    }

    .icon {
        width: 36px;
        height: 36px
    }

    .preview {
        flex-flow: column-reverse wrap-reverse;
        align-items: center;
        justify-content: space-between
    }

    .text-preview {
        flex: 1 1 auto
    }

    .text-preview p {
        text-align: justify
    }
}

@media all and (max-width:990.98px) {
    .wrapper {
        grid-template-rows: 207.16px 1fr auto
    }

    h1 {
        font-size: 1.25rem;
        line-height: 27px
    }

    h2 {
        font-size: 1.2rem
    }

    h3 {
        font-size: 1.1rem
    }

    .header-title {
        font-size: 1.2rem
    }

    .header-wrap {
        grid-column-gap: 1.5rem;
        grid-template: 1fr auto / 1fr 5fr;
        grid-template-areas: "logo title" "menu-wrapper menu-wrapper"
    }

    .custom-logo-link {
        width: 119px;
        height: 119px
    }

    .custom-logo-link img {
        width: 119px;
        height: 119px
    }

    .header-title_slogan_a {
        top: 14px;
        right: 141px;
        font-size: 1.4rem
    }

    .header-title_slogan_b {
        top: 55px;
        right: 4px;
        font-size: 2.6rem
    }

    .header-title_slogan_c {
        top: 92px;
        right: 79px;
        font-size: .775rem
    }

    .header-list {
        grid-template-columns: repeat(auto-fit, minmax(50px, auto))
    }

    .header-item {
        height: 59px;
        font-size: .55rem
    }

    .header-item a {
        grid-template-rows: 44px 16px
    }

    .item-grey a,
    .item-grey,
    .widget-post a {
        font-size: .775rem
    }

    .widget-post a {
        line-height: 1.4
    }

    .cat-wrap span,
    .bottom-wrap span {
        font-size: 1rem
    }

    .news-post-item {
        grid-template: auto auto minmax(20px, auto) 1fr auto / 1fr minmax(48px, auto)
    }

    .widget-title {
        padding-top: 18px;
        padding-bottom: 14px
    }

    .wp-block-media-text__content {
        margin-top: 1rem
    }

    .copyright-text,
    .footer a,
    .footer li p,
    .footer li a {
        font-size: .675rem
    }
}

@media all and (max-width:767.98px) {
    body {
        --wp--preset--font-size--medium: 1rem
    }

    h1 {
        font-size: 1.125rem;
        line-height: 1.8rem
    }

    h2 {
        font-size: 1rem
    }

    h3 {
        font-size: .975rem
    }

    h4 {
        font-size: .9rem
    }

    h5 {
        font-size: .875rem;
        line-height: 1rem
    }

    .wrapper {
        grid-template-rows: auto minmax(365px, 1fr) auto
    }

    .header-wrap {
        display: grid;
        align-items: center;
        justify-items: center;
        grid-template: 100px / 87px 1fr 64px;
        grid-template-areas: "logo title menu-burger" "menu-wrapper menu-wrapper menu-wrapper"
    }

    .header-title {
        top: 0;
        z-index: 44;
        order: 44;
        font-size: .7rem;
        text-align: center
    }

    .header-logo {
        z-index: 41;
        order: 41
    }

    .custom-logo-link img {
        width: 87px;
        height: auto
    }

    .header-title_slogan {
        display: none
    }

    .header-menu {
        position: absolute;
        top: 79px;
        left: -100%;
        z-index: 40;
        order: 40;
        width: 100%;
        overflow: auto;
        transition: all 0.5s ease 0s
    }

    .header-menu.active {
        left: 0
    }

    .header-list {
        display: grid;
        align-items: baseline;
        justify-items: baseline;
        background-color: var(--main-fon-color);
        grid-template-columns: 1fr
    }

    .header-menu li {
        padding-left: 18px;
        border-top: 1px solid var(--main-bg-white)
    }

    .header-menu li:last-child {
        border-bottom: 1px solid var(--main-bg-white)
    }

    .header-item {
        height: auto;
        font-size: .9rem;
        overflow-y: hidden
    }

    .header-item a {
        align-items: center;
        justify-items: start;
        grid-column-gap: 0;
        grid-template-columns: 77px auto
    }

    .header-item span {
        padding-top: 1rem
    }

    .icon {
        width: 48px;
        height: 48px;
        margin-top: 11px
    }

    .header-link {
        display: grid;
        align-items: baseline;
        justify-items: baseline;
        grid-column-gap: 40px;
        grid-template-columns: 13px 1fr
    }

    .header-burger {
        position: relative;
        display: block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        background-image: url(../img/user_w.svg);
        grid-area: menu-burger;
        z-index: 42;
        order: 42
    }

    .header-burger i {
        position: absolute;
        top: 24px;
        left: 17px;
        color: yellow;
        font-size: 12px
    }

    .has-numbers {
        background-image: url(../img/user_y.svg)
    }

    .has-numbers.active {
        background-image: url(../img/user_y.svg)
    }

    .header-burger.active {
        background-image: url(../img/user_w.svg)
    }

    .header-burger:before,
    .header-burger:after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--main-bg-white);
        transition: all 0.5s ease 0s
    }

    .header-burger:before {
        top: 0
    }

    .header-burger:after {
        bottom: 0
    }

    .header-burger span {
        position: absolute;
        top: 22px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--main-bg-white);
        transition: all 0.5s ease 0s
    }

    .header-burger.active:before {
        top: 22px;
        transform: rotate(0deg);
        background-color: var(--main-bg-white)
    }

    .header-burger.active:after {
        bottom: 22px;
        width: 13px;
        left: 18px;
        transform: rotate(0deg);
        background-color: var(--main-bg-white)
    }

    .header-burger.active i {
        color: yellow
    }

    .main-hello {
        display: none
    }

    .main-content {
        grid-template: 1fr auto / 1fr
    }

    .button {
        font-size: .675rem
    }

    .title {
        font-size: 1rem
    }

    .nav-links a,
    .nav-links span {
        font-size: .875rem;
        border: 1px solid var(--main-bgfon-color)
    }

    .widget {
        margin-bottom: 1rem
    }

    .widget-post a {
        font-size: .775rem;
        line-height: 1.4
    }

    .footer-wrap {
        padding-top: 1rem;
        grid-gap: 1rem;
        grid-template-rows: auto;
        grid-template-columns: minmax(100px, 1fr);
        grid-template-areas: "card" "adress" "social" "copyright"
    }

    .footer-wrap h4 {
        text-align: center
    }

    .custom-html-widget {
        padding-top: .5rem
    }

    .article-published,
    .article-tags {
        width: auto;
        justify-self: flex-end;
        grid-column: 1 / -1
    }

    .question_wrap {
        font-size: .75rem
    }

    .question_head {
        padding: 1rem 1rem 1rem .3rem;
        font-size: .85rem;
        font-weight: 700
    }

    .question_head:hover {
        padding: 1rem 1rem 1rem 1.5rem;
        font-size: .85rem
    }

    .question_head-title {
        font-size: .85rem;
        font-weight: 700
    }

    .info_wrap {
        margin: 10px;
        padding: 15px
    }

    .underline {
        font-size: 1em
    }

    .request {
        top: 0;
        padding: 15px
    }

    .request p,
    .request_text p {
        font-size: 1rem
    }

    .request_button {
        padding: 8px;
        font-size: .9rem
    }

    .exposition_wrap {
        flex-direction: column
    }

    .exposition_body {
        max-width: 100%;
        margin: 10px 0
    }

    .login-form-title {
        font-size: 1.2rem
    }

    .login-form-title h2 {
        margin-top: 0
    }

    .next-news {
        grid-template-columns: repeat(auto-fit, minmax(228px, 1fr))
    }

    .us-pagenation {
        grid-template-columns: 1fr
    }

    .info-label {
        flex-direction: column;
        justify-content: space-between
    }

    .tabl {
        grid-template-columns: 1fr
    }

    .tabl-row {
        gap: 0;
        grid-template-columns: 1fr 0.5fr
    }

    .tabl-cell {
        padding: 10px;
        font-size: .95em
    }

    .tabl-cell-header {
        font-size: 1em
    }
}

@media all and (max-width:576px) {
    .image-preview {
        max-width: 100%
    }

    .header-title {
        font-size: .675rem
    }

    .nav-links {
        justify-content: space-between;
        grid-auto-flow: row;
        grid-row-gap: 4px;
        grid-template-columns: auto auto auto auto
    }
}

@media all and (max-width:519px) {
    .next-news_info a:after {
        height: 11%
    }
}

@media all and (max-width:379px) {
    .header-title {
        display: none
    }
}

@media all and (max-width:359px) {
    .header-title {
        display: none
    }

    .header-wrap {
        justify-content: space-between;
        grid-template: 87px / auto auto;
        grid-template-areas: "logo menu-burger" "menu-wrapper menu-wrapper"
    }

    .custom-logo-link {
        width: 89px;
        height: 89px
    }

    .custom-logo-link img {
        width: 70px;
        height: auto
    }

    .main-bg-white {
        top: 0
    }

    .header-menu {
        top: 67px
    }

    .title {
        padding-top: .5rem;
        padding-bottom: .6rem;
        font-size: .756rem
    }

    .nav-links a,
    .nav-links span {
        font-size: .675rem;
        border: 0 solid var(--main-fon-yellow)
    }
}

.adm-list-form {
    overflow-x: visible !important
}

.adm-list {
    width: 100%;
    min-width: 0 !important
}

.adm-list-head,
.adm-list-row {
    gap: 6px
}

.adm-list-head {
    padding: 8px 6px;
    font-size: var(--font-size_m)
}

.adm-list-row {
    padding: 8px 6px
}

.adm-cell {
    font-size: var(--font-size_m);
    line-height: 1.1rem
}

.adm-cell img {
    max-width: 18px
}

@media all and (max-width:1199.98px) {
    .adm-list-head {
        display: none
    }

    .adm-list-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px 8px
    }

    .adm-cell {
        display: grid;
        grid-template-columns: minmax(92px, 108px) minmax(0, 1fr);
        gap: 6px;
        align-items: start
    }

    .adm-cell::before {
        content: attr(data-label);
        color: var(--main-fon-color);
        font-weight: 700;
        font-size: var(--font-size_m)
    }
}

@media all and (max-width:575.98px) {
    .adm-list-row {
        padding: 8px 6px
    }

    .adm-cell {
        grid-template-columns: 1fr;
        gap: 2px
    }
}

.adm-add-form {
    width: 100%
}

.adm-add-form .adm-route-toolbar,
.adm-add-form .adm-route-input-grid,
.adm-add-form .adm-route-input-main,
.adm-add-form .adm-route-upload-panel {
    width: 100%
}

.adm-add-form .adm-route-input-grid {
    grid-template-columns: 1fr
}

.adm-add-main .adm-route-input-row:first-child {
    grid-template-columns: 1fr
}

.adm-add-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: start
}

.adm-add-label {
    margin-top: 8px;
    color: var(--main-fon-color);
    font-size: var(--font-size_l);
    font-weight: 700
}

.adm-add-field {
    display: grid;
    gap: 6px;
    min-width: 0
}

.adm-add-input,
.adm-add-textarea {
    width: 100%;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff
}

.adm-add-input {
    height: 38px;
    padding: 0 10px
}

.adm-add-textarea {
    min-height: 250px;
    padding: 10px;
    resize: vertical
}

.adm-add-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    margin-top: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: var(--font-size_l, 16px);
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .05)
}

.adm-add-upload-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8
}

.adm-add-upload-btn:active {
    transform: scale(.98)
}

.adm-add-upload-btn img {
    filter: brightness(0) invert(.3);
    width: 20px;
    height: 20px
}

@media all and (max-width:767.98px) {
    .adm-add-row {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .adm-add-label {
        margin-top: 0
    }
}

.del {
    cursor: pointer
}

.adm-settings {
    display: grid;
    gap: 12px
}

.adm-settings button {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    height: auto
}

.adm-settings-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc
}

.adm-settings-tabs__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: var(--font-size_l);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease
}

.adm-settings-tabs__btn:hover {
    border-color: #93c5fd;
    background: #eff6ff
}

.adm-settings-tabs__btn.is-active {
    border-color: #3b82f6;
    background: #dbeafe;
    color: #1e3a8a
}

.adm-settings-panel {
    display: none;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff
}

.adm-settings-panel.is-active {
    display: grid
}

.adm-admin-hub {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)
}

.adm-admin-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px
}

.adm-admin-hub-card {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .06)
}

.adm-admin-hub-title {
    margin: 0;
    color: #0f172a;
    font-size: var(--font-size_l);
    font-weight: 700
}

.adm-admin-hub-text {
    margin: 0;
    color: #64748b;
    font-size: var(--font-size_m);
    line-height: 1.45
}

.adm-admin-hub-actions {
    justify-content: flex-start;
    margin-top: 2px
}

.adm-admin-hub-actions .adm-directory-add {
    min-width: 134px
}

.adm-settings-title {
    margin-top: 11px;
    color: var(--main-fon-color)
}

.adm-settings-form {
    display: grid;
    gap: 12px
}

.adm-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.adm-settings-field {
    display: grid;
    gap: 6px
}

.adm-settings-field label {
    color: var(--main-fon-color);
    font-size: var(--font-size_l);
    font-weight: 700
}

.adm-settings-field input,
.adm-settings-field select,
.adm-settings-field textarea {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff
}

.adm-settings-field textarea {
    min-height: 100px;
    resize: vertical
}

.adm-settings-role-list {
    display: grid;
    gap: 10px
}

.adm-settings-role-item {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e6edf5;
    border-radius: 10px;
    background: #f8fafc
}

.adm-settings-role-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: baseline
}

.adm-settings-role-head span {
    color: #64748b;
    font-size: var(--font-size_m)
}

.adm-settings-role-perms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px
}

.adm-settings-role-perms label {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.adm-settings-actions {
    display: flex;
    justify-content: flex-end
}

.adm-settings-subtitle {
    margin: 4px 0 0;
    color: var(--main-fon-color)
}

.adm-directory {
    display: grid;
    gap: 12px
}

.adm-directory-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.adm-directory-add {
    text-decoration: none
}

.adm-directory-filters {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc
}

.adm-directory-filters-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr))
}

.adm-directory-filters-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end
}

.adm-org-controls {
    display: grid;
    gap: 10px
}

.adm-org-structure-field {
    display: grid;
    gap: 6px
}

.adm-org-structure-select {
    width: 100%;
    max-width: 100%
}

.adm-org-structure-select select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff;
    padding: 8px 10px
}

.adm-org-sort-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px
}

.adm-ai-settings-form {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc
}

.adm-ai-settings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.adm-ai-settings-field--wide {
    grid-column: span 3
}

.adm-ai-settings-switches {
    display: grid;
    gap: 8px
}

.adm-ai-settings-switches label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--main-fon-color);
    font-weight: 700
}

.adm-ai-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end
}

.adm-directory-add svg,
.adm-form-action svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.adm-directory-scroll {
    overflow: hidden;
    max-width: 100%
}

.adm-directory-list {
    display: grid;
    width: 100%;
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.adm-directory-head,
.adm-directory-row {
    display: grid;
    gap: 4px;
    align-items: center;
    padding: 6px 8px;
    font-size: 13px;
    word-break: break-word
}

.adm-directory-list--users .adm-directory-head,
.adm-directory-list--users .adm-directory-row {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.8fr) minmax(0, 0.95fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1.35fr) minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.7fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.2fr)
}

.adm-directory-list--users .adm-directory-head {
    align-items: center
}

.adm-directory-list--users .adm-directory-row {
    align-items: start
}

.adm-directory-list--users .adm-directory-row>div {
    line-height: 1.3
}

.adm-directory-list--departments {
    min-width: 0
}

.adm-directory-list--departments .adm-directory-head,
.adm-directory-list--departments .adm-directory-row {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 0.8fr)
}

.adm-directory-list--templates .adm-directory-head,
.adm-directory-list--templates .adm-directory-row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr)
}

.adm-directory-list--response-templates .adm-directory-head,
.adm-directory-list--response-templates .adm-directory-row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 3fr) minmax(0, 1.5fr) minmax(0, 2fr) minmax(0, 0.8fr)
}

.adm-directory-list--organizations .adm-directory-head,
.adm-directory-list--organizations .adm-directory-row {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr) minmax(0, 0.9fr) minmax(0, 0.65fr) minmax(0, 1.7fr) minmax(0, 1fr)
}

.adm-directory-list--ip-blocks .adm-directory-head,
.adm-directory-list--ip-blocks .adm-directory-row {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.9fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr)
}

.adm-directory-head {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 700
}

.adm-directory-row {
    border-top: 1px solid #eef2f7;
    min-width: 0
}

.adm-directory-row.on {
    background: #fff8e8
}

.adm-directory-row.onx {
    background: #eef7ff
}

.adm-directory-row>div {
    min-width: 0
}

.adm-access-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: var(--font-size_m);
    font-weight: 700
}

.adm-access-badge--member {
    background: #e0f2fe;
    color: #075985
}

.adm-access-badge--moderator {
    background: #ede9fe;
    color: #5b21b6
}

.adm-access-badge--boss {
    background: #fee2e2;
    color: #991b1b
}

.adm-online-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: var(--font-size_m);
    font-weight: 700
}

.adm-online-indicator::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor
}

.adm-online-indicator.is-online {
    color: #047857;
    background: #d1fae5
}

.adm-online-indicator.is-offline {
    color: #475569;
    background: #e2e8f0
}

.adm-user-ident-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: var(--font-size_m);
    font-weight: 700
}

.adm-user-ident-status--yes {
    color: #166534;
    background: #dcfce7
}

.adm-user-ident-status--no {
    color: #92400e;
    background: #fef3c7
}

.adm-user-devices {
    display: flex;
    flex-wrap: wrap;
    gap: 4px
}

.adm-user-device-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid #dbe7ff;
    background: #f8fbff;
    color: #1e3a8a;
    font-size: var(--font-size_m);
    font-weight: 700
}

.adm-user-ip-list {
    display: grid;
    gap: 2px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    color: #334155
}

.adm-directory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%
}

@media all and (max-width:1299.98px) {
    .adm-admin-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .adm-ai-settings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .adm-ai-settings-field--wide {
        grid-column: span 2
    }

    .adm-directory-filters-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .adm-directory-list--users .adm-directory-head,
    .adm-directory-list--users .adm-directory-row {
        grid-template-columns: minmax(66px, 0.72fr) minmax(70px, 0.78fr) minmax(80px, 0.9fr) minmax(114px, 1.15fr) minmax(104px, 0.95fr) minmax(110px, 1fr) minmax(126px, 1.08fr) minmax(106px, 0.95fr) minmax(84px, 0.8fr) minmax(128px, 1.2fr) minmax(126px, 1.15fr) minmax(86px, 0.72fr) minmax(68px, 0.65fr) minmax(80px, 0.75fr) minmax(80px, 0.75fr) minmax(138px, 1.08fr);
        gap: 6px
    }

    .adm-directory-list--templates .adm-directory-head,
    .adm-directory-list--templates .adm-directory-row {
        grid-template-columns: minmax(180px, 1.9fr) minmax(110px, 1fr) minmax(120px, 1fr) minmax(130px, 1fr) minmax(130px, 1fr) minmax(120px, 1fr)
    }

    .adm-directory-list--organizations .adm-directory-head,
    .adm-directory-list--organizations .adm-directory-row {
        grid-template-columns: minmax(140px, 1.2fr) minmax(180px, 1.6fr) minmax(92px, 0.8fr) minmax(72px, 0.6fr) minmax(180px, 1.5fr) minmax(126px, 1fr)
    }
}

@media all and (max-width:1023.98px) {
    .adm-ai-settings-grid {
        grid-template-columns: 1fr
    }

    .adm-ai-settings-field--wide {
        grid-column: span 1
    }

    .adm-directory-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .adm-directory-list--users .adm-directory-head,
    .adm-directory-list--users .adm-directory-row {
        grid-template-columns: minmax(56px, 0.68fr) minmax(62px, 0.72fr) minmax(70px, 0.82fr) minmax(100px, 1.02fr) minmax(94px, 0.88fr) minmax(96px, 0.92fr) minmax(112px, 1.04fr) minmax(94px, 0.9fr) minmax(74px, 0.74fr) minmax(108px, 1.04fr) minmax(106px, 1.02fr) minmax(76px, 0.68fr) minmax(60px, 0.6fr) minmax(68px, 0.7fr) minmax(68px, 0.7fr) minmax(118px, 0.98fr);
        font-size: var(--font-size_m)
    }

    .adm-directory-list--templates .adm-directory-head,
    .adm-directory-list--templates .adm-directory-row {
        grid-template-columns: minmax(150px, 1.7fr) minmax(100px, 0.9fr) minmax(100px, 0.9fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(110px, 0.95fr)
    }

    .adm-directory-list--organizations .adm-directory-head,
    .adm-directory-list--organizations .adm-directory-row {
        grid-template-columns: minmax(120px, 1.05fr) minmax(150px, 1.35fr) minmax(84px, 0.75fr) minmax(64px, 0.6fr) minmax(146px, 1.2fr) minmax(112px, 0.9fr)
    }

    .adm-org-sort-grid {
        grid-template-columns: 1fr
    }

    .adm-icon-btn {
        width: 30px;
        height: 30px
    }
}

.adm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #dbe7ff;
    border-radius: 8px;
    background: #f8fbff;
    color: #1e3a8a;
    cursor: pointer
}

.adm-icon-btn svg,
.adm-member-count svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.adm-icon-btn:hover {
    background: #eaf1ff
}

.adm-icon-btn--danger {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff1f2
}

.adm-member-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid #d7e2ef;
    border-radius: 999px;
    background: #f8fafc;
    color: #1e3a8a;
    cursor: pointer
}

.adm-template-fill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #1e3a8a;
    cursor: pointer
}

.adm-template-fill-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.adm-template-fill-btn:hover {
    background: #eef4ff
}

.adm-org-inline-input {
    width: 100%;
    min-height: 34px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff;
    padding: 6px 10px;
    font-size: var(--font-size_m)
}

.adm-org-inline-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, .25)
}

.adm-org-order-input {
    width: 100%;
    max-width: 86px;
    min-height: 34px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff;
    padding: 6px 8px;
    text-align: center;
    font-size: var(--font-size_m)
}

.adm-org-order-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, .25)
}

.adm-org-disabled-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
}

.adm-org-disabled-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0
}

.adm-report-list {
    display: grid;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.adm-report-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.8fr) minmax(220px, 1.2fr) minmax(180px, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-top: 1px solid #eef2f7
}

.adm-report-row:first-child {
    border-top: 0
}

.adm-report-row:nth-child(odd) {
    background: #f8fbff
}

.adm-report-title {
    color: #1e293b;
    font-weight: 700
}

.adm-report-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.adm-report-controls select {
    min-height: 38px;
    min-width: 120px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff;
    padding: 0 10px
}

.adm-report-period-note {
    color: #64748b;
    font-weight: 600
}

.adm-report-value {
    color: #0f172a;
    font-size: var(--font-size_l);
    font-weight: 700;
    text-align: right
}

.adm-report-value--devices {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px
}

.adm-report-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f1f5f9;
    color: #1e293b;
    font-size: var(--font-size_m);
    font-weight: 700
}

.adm-appealed-page {
    gap: 14px
}

.adm-appealed-page .table {
    display: grid;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 10px
}

.adm-appealed-page .table .row {
    display: grid;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0)
}

.adm-appealed-page .row-status,
.adm-appealed-page .row-edit {
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 6px
}

.adm-appealed-page .row-status {
    grid-template-columns: minmax(120px, 0.7fr) minmax(120px, 1fr) minmax(160px, 1fr);
    align-items: center;
    gap: 8px
}

.adm-appealed-page .row-cat {
    margin: 0;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 8px
}

.adm-appealed-page .row-comment {
    justify-items: stretch;
    grid-template-columns: minmax(90px, 120px) minmax(0, 1fr);
    gap: 10px;
    line-height: 1.35
}

.adm-appealed-page .row-comment span {
    font-size: var(--font-size_m);
    font-weight: 700;
    color: #334155
}

.adm-appealed-page .row-comment div {
    grid-column: 2 / 3
}

.adm-appealed-page .row-comment p {
    margin: 0 0 6px
}

.adm-appealed-page .row-comment p:last-child {
    margin-bottom: 0
}

.adm-appealed-page .row-edit {
    grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1fr);
    align-items: center;
    justify-content: start
}

.adm-appealed-page .row-edit span:nth-child(2) {
    display: block;
    justify-self: end;
    text-align: right
}

.adm-appealed-page .userinfo {
    color: #1e3a8a;
    font-weight: 700;
    text-decoration: none
}

.adm-appealed-page .userinfo:hover {
    text-decoration: underline
}

.adm-appealed-form textarea {
    width: 100%;
    min-height: 180px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
    resize: vertical
}

.adm-appealed-ai-panel {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 12px
}

.adm-appealed-ai-panel__select {
    flex: 1 1 0%;
    min-width: 0;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff;
    font-size: var(--font-size_l);
    box-sizing: border-box
}

.adm-appealed-ai-btn {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%);
    color: #1e3a8a;
    font-weight: 700;
    font-size: var(--font-size_l);
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s
}

.adm-appealed-ai-btn:hover {
    background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
    box-shadow: 0 4px 10px rgba(59, 130, 246, .2)
}

.adm-appealed-ai-btn--muted {
    opacity: .92
}

.adm-appealed-ai-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.adm-appealed-form .file-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none
}

.adm-appealed-form #status2 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: var(--font-size_m)
}

.adm-appealed-form #status2 img {
    width: 18px;
    height: 18px
}

.adm-appealed-form #tut2 {
    max-height: 210px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff
}

.adm-add-page .adm-settings-panel {
    display: grid
}

.adm-add-actions {
    gap: 8px
}

.adm-add-actions .adm-form-action,
.adm-add-actions .adm-form-action--muted {
    flex: 0 0 180px;
    width: 180px
}

.adm-form-action {
    text-decoration: none
}

.adm-form-action--muted {
    opacity: .92
}

.adm-departments-list {
    display: grid;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.adm-departments-list__head,
.adm-departments-list__row {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px
}

.adm-departments-list__head {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 700
}

.adm-departments-list__row {
    border-top: 1px solid #eef2f7
}

.adm-departments-list__actions {
    display: inline-flex;
    gap: 8px
}

.adm-departments-list__actions .button {
    min-width: 108px;
    text-align: center
}

@media all and (max-width:767.98px) {
    .adm-admin-hub-grid {
        grid-template-columns: 1fr
    }

    .adm-directory-filters-grid {
        grid-template-columns: 1fr
    }

    .adm-directory-filters-actions {
        justify-content: stretch
    }

    .adm-directory-filters-actions .adm-form-action {
        width: 100%;
        justify-content: center
    }

    .adm-ai-settings-actions {
        justify-content: stretch
    }

    .adm-ai-settings-actions .adm-form-action {
        width: 100%;
        justify-content: center
    }

    .adm-settings-grid {
        grid-template-columns: 1fr
    }

    .adm-settings-tabs {
        flex-wrap: wrap;
        overflow: visible
    }

    .adm-settings-tabs__btn {
        white-space: nowrap
    }

    .adm-directory-scroll {
        overflow: visible
    }

    .adm-directory-list,
    .adm-directory-list--departments,
    .adm-directory-list--organizations {
        min-width: 0
    }

    .adm-directory-head {
        display: none
    }

    .adm-directory-list--users .adm-directory-row,
    .adm-directory-list--departments .adm-directory-row,
    .adm-directory-list--organizations .adm-directory-row {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .adm-directory-row>div {
        display: grid;
        grid-template-columns: minmax(120px, 140px) minmax(0, 1fr);
        gap: 8px
    }

    .adm-directory-row>div::before {
        content: attr(data-label);
        color: var(--main-fon-color);
        font-weight: 700
    }

    .adm-directory-row>.adm-directory-actions {
        display: flex;
        flex-wrap: wrap;
        grid-template-columns: none
    }

    .adm-departments-list__head {
        display: none
    }

    .adm-departments-list__row {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .adm-departments-list__row>div {
        display: grid;
        grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
        gap: 8px
    }

    .adm-departments-list__row>div::before {
        content: attr(data-label);
        color: var(--main-fon-color);
        font-weight: 700
    }

    .adm-departments-list__actions {
        display: flex;
        flex-wrap: wrap
    }

    .adm-report-row {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .adm-report-value {
        text-align: left
    }

    .adm-report-value--devices {
        justify-content: flex-start
    }

    .adm-appealed-page .row-status,
    .adm-appealed-page .row-comment,
    .adm-appealed-page .row-edit {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .adm-appealed-page .row-comment div {
        grid-column: 1 / 2
    }
}

@media all and (max-width:900px) {
    .adm-appealed-ai-panel {
        flex-wrap: wrap
    }

    .adm-appealed-ai-panel__select {
        flex: 1 1 100%
    }

    .adm-appealed-ai-btn {
        flex: 1 1 0%
    }
}

@media all and (max-width:560px) {
    .adm-appealed-ai-btn {
        flex: 1 1 100%
    }
}

.adm-filter-form .adm-filter-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    align-items: end
}

.adm-filter-form .adm-filter-found {
    grid-column: span 2;
    text-align: left;
    font-weight: 700
}

.adm-filter-form .adm-filter-category-group {
    grid-column: span 5;
    display: grid;
    gap: 8px
}

.adm-filter-form .adm-filter-abonent {
    grid-column: span 3
}

.adm-filter-form .adm-filter-search-group {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center !important;
    width: 100% !important
}

.adm-filter-form .adm-filter-find {
    display: grid !important;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 10px;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 0 !important
}

.adm-filter-form .adm-filter-find select {
    width: 100%;
    min-width: 0 !important;
    margin-right: 0 !important
}

.adm-filter-form .adm-filter-find input[type="text"] {
    width: 100% !important;
    min-width: 0 !important
}

.adm-filter-form .adm-filter-submit {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px
}

.adm-filter-form .adm-filter-submit button {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    min-height: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    border-radius: 10px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease
}

.adm-filter-form .adm-filter-submit .adm-form-action {
    border: 1px solid #bfdbfe;
    background: linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%);
    color: #1e3a8a
}

.adm-filter-form .adm-filter-submit .adm-form-action:hover {
    background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
    box-shadow: 0 4px 10px rgba(59, 130, 246, .2)
}

.adm-filter-form .adm-filter-reset {
    border: 1px solid #d7e2ef;
    background: #fff;
    color: #475569
}

.adm-filter-form .adm-filter-reset svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.adm-filter-form .adm-filter-reset:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 10px rgba(148, 163, 184, .16)
}

.adm-filter-form .adm-filter-submit button:active {
    transform: translateY(1px)
}

.adm-filter-form .adm-statuses {
    gap: 6px 8px
}

.adm-filter-form .adm-statuses span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px
}

.adm-filter-form .adm-statuses input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0
}

@media all and (max-width:1199.98px) {
    .adm-filter-form .adm-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .adm-filter-form .adm-filter-found,
    .adm-filter-form .adm-filter-category-group,
    .adm-filter-form .adm-filter-abonent,
    .adm-filter-form .adm-filter-search-group {
        grid-column: 1 / -1
    }

    .adm-filter-form .adm-filter-find {
        grid-template-columns: minmax(130px, 190px) minmax(0, 1fr)
    }
}

@media all and (max-width:767.98px) {
    .adm-filter-form .adm-filter-grid {
        grid-template-columns: 1fr
    }

    .adm-filter-form .adm-filter-find {
        grid-template-columns: 1fr
    }

    .adm-filter-form .adm-filter-search-group {
        grid-template-columns: 1fr;
        align-items: stretch !important
    }

    .adm-filter-form .adm-filter-submit {
        justify-content: center;
        flex-wrap: wrap
    }

    .adm-filter-form .adm-filter-submit button {
        width: 100%
    }
}

.adm-list-row,
.adm-directory-row,
.adm-route-meta-row,
.adm-route-history-row,
.adm-route-input-row {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease
}

.adm-list-row:hover,
.adm-directory-row:hover,
.adm-route-meta-row:hover,
.adm-route-history-row:hover,
.adm-route-input-row:hover {
    background: #f3f8ff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
    transform: translateY(-1px)
}

.adm-list-row.on:hover,
.adm-directory-row.on:hover {
    background: #fff2cf
}

.adm-list-row.onx:hover,
.adm-directory-row.onx:hover {
    background: #deefff
}

.adm-add-form .adm-route-input-main {
    border-color: #e5e7eb;
    background: #f8fafc
}

.adm-add-form .adm-route-input-row:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06)
}

.adm-add-form .adm-route-upload-panel {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    padding: 10px
}

.adm-add-form .adm-route-upload-list-wrap {
    border-color: #e5e7eb;
    background: #fff
}

.adm-add-form .adm-add-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end
}

.adm-add-form .adm-add-actions .adm-form-action,
.adm-add-form .adm-add-actions .adm-form-action--muted {
    flex: 0 1 180px;
    width: 180px
}

.adm-panel-layout .adm-route-toolbar-actions .adm-route-action,
.adm-directory-add,
.adm-filter-form .adm-filter-reset,
.adm-directory-filters-actions .adm-form-action,
.adm-directory-filters-actions .adm-form-action--muted,
.adm-ai-settings-actions .adm-form-action,
.adm-ai-settings-actions .adm-form-action--muted,
.adm-add-actions .adm-form-action,
.adm-add-actions .adm-form-action--muted {
    position: static;
    top: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%);
    color: #1e3a8a;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    cursor: pointer;
    opacity: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease
}

.adm-panel-layout .adm-route-toolbar-actions .adm-route-action:hover,
.adm-directory-add:hover,
.adm-filter-form .adm-filter-reset:hover,
.adm-directory-filters-actions .adm-form-action:hover,
.adm-directory-filters-actions .adm-form-action--muted:hover,
.adm-ai-settings-actions .adm-form-action:hover,
.adm-ai-settings-actions .adm-form-action--muted:hover,
.adm-add-actions .adm-form-action:hover,
.adm-add-actions .adm-form-action--muted:hover {
    background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
    box-shadow: 0 4px 10px rgba(59, 130, 246, .2)
}

.adm-panel-layout .adm-route-toolbar-actions .adm-route-action:active,
.adm-directory-add:active,
.adm-filter-form .adm-filter-reset:active,
.adm-directory-filters-actions .adm-form-action:active,
.adm-directory-filters-actions .adm-form-action--muted:active,
.adm-ai-settings-actions .adm-form-action:active,
.adm-ai-settings-actions .adm-form-action--muted:active,
.adm-add-actions .adm-form-action:active,
.adm-add-actions .adm-form-action--muted:active {
    transform: translateY(1px)
}

.adm-panel-layout .adm-route-toolbar-actions .adm-route-action svg,
.adm-directory-add svg,
.adm-filter-form .adm-filter-reset svg,
.adm-directory-filters-actions .adm-form-action svg,
.adm-directory-filters-actions .adm-form-action--muted svg,
.adm-ai-settings-actions .adm-form-action svg,
.adm-ai-settings-actions .adm-form-action--muted svg,
.adm-add-actions .adm-form-action svg,
.adm-add-actions .adm-form-action--muted svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.adm-panel-layout .adm-route-toolbar-actions .adm-route-action img {
    width: 16px;
    height: 16px;
    object-fit: contain
}

.adm-pagination-nav,
.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 4px
}

.adm-pagination-nav a,
.adm-pagination-nav span,
.pagination-nav a,
.pagination-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%);
    color: #1e3a8a;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease
}

.adm-pagination-nav a:hover,
.pagination-nav a:hover {
    background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
    box-shadow: 0 4px 10px rgba(59, 130, 246, .2)
}

.adm-pagination-nav .selected,
.adm-pagination-nav .active,
.adm-pagination-nav .current,
.pagination-nav .selected,
.pagination-nav .active,
.pagination-nav .current {
    background: var(--main-fon-yellow) !important;
    color: var(--main-fon-color) !important;
    border-color: var(--main-fon-color) !important;
    box-shadow: 0 4px 10px rgba(1, 15, 119, .2)
}

.adm-login-history-user-card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px 24px;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%)
}

.adm-login-history-user-card__row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px
}

.adm-login-history-user-card__label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap
}

.adm-login-history-user-card__value {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b
}

.adm-login-history-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 18px 0 8px;
    padding: 0 8px
}

.adm-login-history-filters {
    margin: 0 0 14px;
    padding: 14px 16px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #f8fbff
}

.adm-login-history-filters__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end
}

.adm-login-history-filters__field {
    display: grid;
    gap: 6px
}

.adm-login-history-filters__field label {
    font-size: 13px;
    font-weight: 700;
    color: #475569
}

.adm-login-history-filters__field input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #0f172a
}

.adm-login-history-filters__field input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .2)
}

.adm-login-history-filters__actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    width: 100%
}

.adm-login-history-filters__actions .adm-filter-reset,
.adm-login-history-filters__actions .adm-form-action {
    position: static;
    top: auto;
    right: auto;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    min-height: 42px;
    height: 42px;
    padding: 0 14px;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    box-sizing: border-box
}

.adm-login-history-filters__actions .adm-filter-reset {
    border: 1px solid #bfdbfe;
    background: linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%);
    color: #1e3a8a
}

.adm-login-history-filters__actions .adm-filter-reset:hover {
    background: linear-gradient(180deg, #eef5ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
    box-shadow: 0 4px 10px rgba(59, 130, 246, .2)
}

.adm-login-history-filters__actions .adm-filter-reset svg,
.adm-login-history-filters__actions .adm-form-action svg {
    stroke: currentColor;
    fill: none
}

.adm-login-history-filters__actions .adm-filter-reset span,
.adm-login-history-filters__actions .adm-form-action span {
    display: inline-flex;
    align-items: center
}

.adm-login-history-filters__actions .adm-filter-reset svg,
.adm-login-history-filters__actions .adm-form-action svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px
}

.adm-login-history-filters__summary {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155
}

.adm-directory-list--login-history .adm-directory-head,
.adm-directory-list--login-history .adm-directory-row {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 0.8fr)
}

.adm-directory-list--login-devices .adm-directory-head,
.adm-directory-list--login-devices .adm-directory-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr)
}

.adm-login-history-ip {
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    color: #334155;
    font-weight: 700
}

.adm-user-ip-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 6px;
    padding: 2px 4px;
    transition: background 0.2s ease
}

.adm-user-ip-link:hover {
    background: #dbeafe;
    color: #1e3a8a
}

.adm-user-ip-link span {
    text-decoration: underline;
    text-decoration-color: #93c5fd;
    text-underline-offset: 2px
}

.adm-login-history-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: var(--font-size_m);
    font-weight: 700
}

.adm-login-history-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor
}

.adm-login-history-status--success {
    color: #047857;
    background: #d1fae5
}

.adm-login-history-status--fail {
    color: #b91c1c;
    background: #fee2e2
}

.adm-directory-list--login-history {
    margin-bottom: 24px
}

.adm-login-history-empty {
    margin-top: 12px;
    padding: 16px;
    border: 1px dashed #bfdcfb;
    border-radius: 12px;
    background: #f8fbff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #64748b
}

.adm-directory-list--login-history .adm-pagination-nav {
    margin-top: 14px
}

@media (max-width:900px) {
    .adm-login-history-user-card {
        grid-template-columns: 1fr
    }

    .adm-login-history-filters__grid {
        grid-template-columns: 1fr
    }

    .adm-login-history-filters__actions {
        justify-content: stretch;
        flex-direction: column
    }

    .adm-login-history-filters__actions button {
        width: 100%;
        justify-content: center
    }

    .adm-directory-list--login-history .adm-directory-head,
    .adm-directory-list--login-devices .adm-directory-head {
        display: none
    }

    .adm-directory-list--login-history .adm-directory-row,
    .adm-directory-list--login-devices .adm-directory-row {
        grid-template-columns: 1fr
    }
}

.oc-notice {
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 12px
}

.oc-notice--success {
    background: #edfaef;
    border-left: 4px solid #00a32a;
    color: #1a6326;
    margin-top: 1rem
}

.oc-notice--error {
    background: #fdf2f2;
    border-left: 4px solid #d63638;
    color: #8a1f1f;
    margin-top: 1rem
}

.oc-register-block .oc-notice--error {
    background: #fff4bf;
    border-left-color: #ffd447;
    color: #3e2f00;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}