/* Account entry screens use the same typography, surfaces and dividers as the portal. */
body.portal-page.portal-community-theme .pa-page {
  color:var(--portal-text);
  font-family:var(--font);
  --pa-auth-border:var(--portal-border);
}
body.portal-page.portal-community-theme .pa-page :is(h1,h2,h3,input,select,textarea,button,.pa-text-button,.pa-vk-button,.pa-vk-mark) {font-family:var(--font)}
body.portal-page.portal-community-theme .pa-page :is(h1,h2,h3) {color:var(--portal-text);font-weight:700;letter-spacing:-.035em}
body.portal-page.portal-community-theme .pa-page :is(.pa-card,.pa-login-intro) {border-color:var(--portal-border);border-radius:14px}
body.portal-page.portal-community-theme .pa-page .pa-card {background:var(--portal-panel);box-shadow:none}
body.portal-page.portal-community-theme .pa-page .pa-tabs {background:var(--portal-bg);border:1px solid var(--portal-border);border-radius:10px}
body.portal-page.portal-community-theme .pa-page .pa-tabs>a {color:var(--portal-muted);border-radius:8px}
body.portal-page.portal-community-theme .pa-page .pa-tabs>a[aria-current="page"] {background:color-mix(in srgb,var(--portal-accent) 12%,transparent);border-color:color-mix(in srgb,var(--portal-accent) 32%,transparent);color:var(--portal-accent);box-shadow:none}
body.portal-page.portal-community-theme .pa-page :is(.pa-card-heading p,.pa-card-bottom,.pa-help,.pa-check,.pa-back,.pa-intro>p,.pa-vk-unavailable,.pa-text-button) {color:var(--portal-muted)}
body.portal-page.portal-community-theme .pa-page :is(.eyebrow,.accent-dot,.pa-card-bottom a,.pa-form-options>a,.pa-check a,.pa-back:hover,.pa-verification-footer>a) {color:var(--portal-accent)}
body.portal-page.portal-community-theme .pa-page .pa-field>label {color:var(--portal-text)}
body.portal-page.portal-community-theme .pa-page :is(.pa-field>input,.pa-password>input,.pa-field>select,.pa-field>textarea) {background:var(--portal-bg)!important;color:var(--portal-text)!important;border:1px solid var(--portal-border);border-radius:10px;box-shadow:none;font-weight:400}
body.portal-page.portal-community-theme .pa-page :is(.pa-field,.pa-password) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
body.portal-page.portal-community-theme .pa-page :is(.pa-field>select,.pa-field>textarea) {background:var(--portal-bg)!important;color:var(--portal-text)!important;border-color:var(--portal-border)!important;border-radius:10px!important}
body.portal-page.portal-community-theme .pa-page :is(.pa-field,.pa-password) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]):focus,
body.portal-page.portal-community-theme .pa-page :is(.pa-field>select,.pa-field>textarea):focus {border-color:var(--portal-accent)!important}
body.portal-page.portal-community-theme .pa-page :is(.pa-field,.pa-password) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"])[aria-invalid="true"] {border-color:#a96358!important;background:#2b2020!important}
body.portal-page.portal-community-theme .pa-page :is(input,textarea)::placeholder {color:var(--portal-muted);opacity:.8}
body.portal-page.portal-community-theme .pa-page :is(input,textarea,select):focus {border-color:var(--portal-accent);outline:2px solid color-mix(in srgb,var(--portal-accent) 20%,transparent);outline-offset:2px}
body.portal-page.portal-community-theme .pa-page input:-webkit-autofill {-webkit-text-fill-color:var(--portal-text);-webkit-box-shadow:0 0 0 100px var(--portal-bg) inset;caret-color:var(--portal-text)}
body.portal-page.portal-community-theme .pa-page .pa-password-toggle {color:var(--portal-muted);border-radius:8px}
body.portal-page.portal-community-theme .pa-page .pa-password-toggle:is(:hover,[aria-pressed="true"]) {background:var(--portal-raised);color:var(--portal-accent)}
body.portal-page.portal-community-theme .pa-page input:is([type="checkbox"],[type="radio"]) {accent-color:var(--portal-accent)}
body.portal-page.portal-community-theme .pa-page .pa-submit {border-radius:8px!important}
body.portal-page.portal-community-theme .pa-page .pa-divider {color:var(--portal-muted)}
body.portal-page.portal-community-theme .pa-page .pa-divider::before {border-color:var(--portal-border)}
body.portal-page.portal-community-theme .pa-page .pa-divider>span {background:var(--portal-panel)}
body.portal-page.portal-community-theme .pa-page :is(.pa-password-recovery,.pa-verification-footer,.pa-card-bottom) {border-color:var(--portal-border)}
body.portal-page.portal-community-theme .pa-page .pa-vk-button {border-color:var(--portal-border);background:var(--portal-raised);color:var(--portal-text);border-radius:8px;box-shadow:none}
body.portal-page.portal-community-theme .pa-page .pa-vk-button:hover {border-color:var(--portal-accent);background:var(--portal-raised)}
body.portal-page.portal-community-theme .pa-page .pa-yandex-button {border-color:var(--portal-border);border-radius:8px;background:var(--portal-raised);color:var(--portal-text)}
body.portal-page.portal-community-theme .pa-page .pa-yandex-button:hover {border-color:var(--portal-accent);background:var(--portal-raised)}
body.portal-page.portal-community-theme .pa-page :focus-visible {outline:2px solid var(--portal-accent);outline-offset:3px}
body.portal-page.portal-community-theme .pa-page .pa-mail-mark {background:color-mix(in srgb,var(--portal-accent) 12%,transparent);color:var(--portal-accent);border:1px solid color-mix(in srgb,var(--portal-accent) 28%,transparent);border-radius:14px;font-family:var(--font)}
body.portal-page.portal-community-theme .pa-page .pa-notice {border-color:#705633;background:#30271b;color:#efc98d;border-radius:10px}
body.portal-page.portal-community-theme .pa-page .pa-notice-success {border-color:#36594d;background:#1c3028;color:#a2d6b6}
body.portal-page.portal-community-theme .pa-page .pa-error {color:#ef9c91}
body.portal-page.portal-community-theme .pa-page input[aria-invalid="true"] {border-color:#a96358;background:#2b2020}
@media(max-width:600px) {
  body.portal-page.portal-community-theme .pa-page .pa-card {border-radius:14px;padding:24px 20px}
  body.portal-page.portal-community-theme .pa-page :is(.pa-card,.pa-intro,.pa-login-layout) {min-width:0}
}
