.library-main.auth-native{width:min(calc(100% - 32px),640px);margin:32px auto;padding:28px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-sizing:border-box;overflow-wrap:anywhere}
.auth-native h1{font-size:1.7rem;line-height:1.3;margin:0 0 16px}.auth-native h2{font-size:1.2rem;margin-top:28px}.auth-native p,.auth-help{color:var(--muted);line-height:1.6}
.auth-native form{display:grid;gap:16px;margin:24px 0}.auth-field{display:grid;gap:8px;min-width:0}.auth-field label{font-weight:600}.auth-help{font-size:.875rem}
.auth-native input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.auth-native textarea,.auth-native select{box-sizing:border-box;width:100%;min-height:46px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit}
.auth-native textarea{resize:vertical}.auth-native input[readonly],.auth-native textarea[readonly]{font-family:monospace;line-height:1.7}.auth-native .auth-check{display:flex;gap:10px;align-items:center;min-height:44px;cursor:pointer}.auth-check input{width:18px;height:18px;flex:none}
.auth-native button:not(.ifp-password-toggle){min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:10px;background:#2563eb;color:#fff;font:inherit;font-weight:650;cursor:pointer}.auth-native button[form=logout-from-stage]{background:var(--surface-soft);color:var(--ink);border-color:var(--line)}
.auth-native button:disabled{opacity:.55;cursor:not-allowed}.auth-native input:focus-visible,.auth-native textarea:focus-visible,.auth-native button:focus-visible,.auth-native a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.auth-native .ifp-password-wrap>input{padding-inline-end:54px!important}.auth-native .ifp-password-toggle{color:var(--muted);padding:0;min-height:42px}.auth-native .ifp-password-toggle:hover{color:var(--ink);background:var(--surface-soft)}
.auth-native img{display:block;max-width:min(100%,240px);height:auto;margin:20px auto;background:#fff;padding:8px;border-radius:10px}.auth-native ul.errorlist{padding-inline-start:20px;margin:4px 0}.auth-native .auth-field-error input{border-color:var(--accent)}
.auth-native a{color:var(--accent);text-underline-offset:3px}.auth-native hr{border:0;border-top:1px solid var(--line);margin:24px 0}.auth-native details{padding:12px;border:1px solid var(--line);border-radius:10px}.auth-native summary{cursor:pointer;min-height:32px}
.auth-messages{margin:0 0 20px;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.auth-messages p{margin:4px 0}.account-profile-tools{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.account-profile-tools h2{font-size:1.15rem;margin:0 0 12px}.account-profile-tools p{font-size:.875rem}.account-profile-tools .account-profile-links{border:0;padding:0}
.auth-administration-navigation{padding:10px 16px;display:flex;gap:16px;flex-wrap:wrap}
@media(max-width:600px){.library-main.auth-native{width:calc(100% - 24px);padding:20px;margin:20px auto}.auth-native button:not(.ifp-password-toggle){width:100%}.auth-native h1{font-size:1.5rem}}

@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("google/google-sans-latin-500.dcdbc7b9947e.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("google/google-sans-cyrillic-500.202c1f21ce4d.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.auth-native button.google-sign-in {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  align-items: center;
  column-gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #747775;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font: 500 0.875rem/1.25rem "Google Sans", system-ui, sans-serif;
  text-align: center;
}

.auth-native button.google-sign-in:hover {
  background: #f8faff;
}

.auth-native .google-sign-in img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
