.avk-system-page{max-width:760px;margin:32px auto;line-height:1.7}
.avk-system-page h1{font-size:28px;line-height:1.3;margin:12px 0 20px}
.avk-system-page h2{margin-top:24px}
.avk-system-page .precision-panel{padding:32px}
.avk-system-page a,.avk-auth-page a{color:var(--navy);text-underline-offset:3px}
.avk-system-page a.precision-button{color:#fff}
.avk-system-search{display:grid;gap:12px;margin:24px 0}
.avk-system-search input{box-sizing:border-box;width:100%;min-height:48px;border:1px solid var(--border);padding:12px;font:inherit}
.avk-auth-page .bx-auth,.avk-auth-page .bx-authform{max-width:100%;width:auto;margin:0}
/* This pilot uses the native login/password flow, not legacy OpenID widgets. */
.avk-auth-page .bx-authform-social,.avk-auth-page .bx-authform-social-popup{display:none}
.avk-auth-page form{max-width:100%;margin:20px 0}
.avk-auth-page table{width:100%;max-width:100%;border:0;border-collapse:collapse;font-size:14px}
.avk-auth-page td,.avk-auth-page th{padding:8px 6px;border:0;text-align:left;vertical-align:middle}
.avk-auth-page td:first-child{width:35%;overflow-wrap:anywhere}
.avk-auth-page input:not([type=hidden]):not([type=checkbox]):not([type=radio]){box-sizing:border-box;width:100%;max-width:100%;min-height:48px;padding:12px;border:1px solid var(--border);border-radius:6px;font:inherit;background:var(--panel)}
.avk-auth-page input[type=submit],.avk-auth-page button[type=submit]{width:auto!important;max-width:100%;min-height:48px;background:var(--navy)!important;color:#fff;border:0;font-weight:700;cursor:pointer;white-space:normal}
.avk-auth-page img{max-width:100%;object-fit:contain}
.avk-auth-page .errortext,.avk-auth-page .notetext{display:block;margin:16px 0;padding:12px;background:var(--panel);overflow-wrap:anywhere}
.avk-auth-page .errortext{color:#8f1616;background:#fff0f0}
.avk-auth-back{margin-top:24px}
@media(max-width:767px){
 .avk-system-page{margin:18px auto}
 .avk-system-page .precision-panel{padding:20px}
 .avk-system-page h1{font-size:24px}
 .avk-auth-page table,.avk-auth-page tbody,.avk-auth-page thead,.avk-auth-page tfoot,.avk-auth-page tr,.avk-auth-page td,.avk-auth-page th{display:block;box-sizing:border-box;width:100%!important}
 .avk-auth-page td{padding:4px 0}
 .avk-auth-page td:empty{display:none}
 .avk-auth-page input:not([type=hidden]):not([type=checkbox]):not([type=radio]){font-size:16px}
 .avk-auth-page input[type=submit]{width:100%!important;margin-top:12px}
}

.avk-yandexid-signin:empty{display:none}.avk-yandexid-signin:not(:empty){margin-top:1rem}
