/* Email, phone and VK share one account screen; provider availability is server-owned. */
#view-account:has(.account-shell[data-authenticated="false"]) > .workspace-heading { display:none; }
#view-account:has(.account-shell[data-authenticated="false"]) { padding-top:28px; }
.account-shell[data-authenticated="false"] > .section-eyebrow,
.account-shell[data-authenticated="false"] > h2,
.account-shell[data-authenticated="false"] > .account-banner { display:none; }
.account-shell[data-authenticated="false"] > .account-status { max-width:560px;margin:0 auto 14px;font-size:13px;color:#aebbd1; }
.account-card.auth-access { width:100%;max-width:560px;box-sizing:border-box;margin:0 auto;padding:34px 36px;border:1px solid #314259;border-radius:28px;background:radial-gradient(ellipse at top right,rgba(107,218,233,.09),transparent 58%),linear-gradient(145deg,#101d33,#0b1426);box-shadow:0 22px 80px rgba(0,0,0,.2); }
.auth-access [hidden] { display:none!important; }
.auth-tabs { display:flex;gap:28px;border-bottom:1px solid #304057;margin:0 0 27px; }
.auth-tabs .auth-tab { appearance:none;border:0;border-bottom:3px solid transparent;background:none;color:#91a3bd;padding:0 0 14px;min-height:48px;font:inherit;font-size:21px;font-weight:700;border-radius:0; }
.auth-tabs .auth-tab[aria-pressed="true"] { color:#f3f6ff;border-color:#75e9f4; }
.auth-access h2 { margin:0 0 9px;font-size:29px;line-height:1.2;letter-spacing:-.6px; }
.auth-intro { color:#b5c2d7;line-height:1.6;font-size:15px;margin:0 0 24px; }
.auth-methods { display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;border:1px solid #2d405a;border-radius:17px;margin-bottom:12px;background:#081326; }
.auth-access .auth-method { min-height:44px;background:transparent;border:0;border-radius:11px;color:#acbdd5;font:inherit;font-size:15px; }
.auth-access .auth-method[aria-pressed="true"] { background:#233b50;color:#9ef3f9;box-shadow:inset 0 0 0 1px #37566d; }
.auth-access .auth-vk { width:100%;min-height:52px;background:#14263e;border:1px solid #415a76;border-radius:15px;color:#eaf2ff;font:inherit;font-weight:600; }
.auth-method-notice { color:#91a6bf;font-size:12px;line-height:1.6;margin:10px 0 18px; }
.auth-divider { display:flex;align-items:center;gap:16px;color:#99acc5;font-size:11px;letter-spacing:1.7px;text-transform:uppercase;margin:21px 0; }
.auth-divider::before,.auth-divider::after { content:"";height:1px;background:#2d4058;flex:1; }
.auth-access .account-form { gap:19px; }
.auth-access .account-field { display:grid;gap:9px;font-size:12px;letter-spacing:.7px;color:#c0ccdd; }
.auth-access input { width:100%;box-sizing:border-box;min-width:0;min-height:56px;padding:15px 18px;border:1px solid #415875;border-radius:15px;background:#09162a;color:#f3f6ff;font:inherit;font-size:17px;letter-spacing:0;outline:none; }
.auth-access input:focus-visible { border-color:#7ceaf5;box-shadow:0 0 0 3px rgba(124,234,245,.14); }
.auth-access input::placeholder { color:#7e93ae;opacity:1; }
.auth-access button:focus-visible { outline:2px solid #99f5ff;outline-offset:4px; }
.auth-code-row { display:grid;grid-template-columns:minmax(95px,1fr) minmax(150px,1fr);gap:12px;margin-top:9px; }
.auth-code-row input { letter-spacing:5px; }
.auth-code-row input::placeholder { letter-spacing:0; }
.auth-access .auth-get-code { min-height:56px;padding:10px 13px;border:1px solid #6ad0e0;border-radius:15px;background:rgba(53,127,150,.12);color:#8aeaf5;font:inherit;font-weight:600;font-size:13px;line-height:1.4; }
.auth-access .auth-code-help { font-size:12px;line-height:1.6;margin:9px 0 0;min-height:20px;letter-spacing:0; }
.auth-access .account-actions { display:grid;gap:13px; }
.auth-access .auth-submit { width:100%;min-height:56px;border:0;border-radius:16px;background:linear-gradient(110deg,#7debf5,#b2bbff);color:#07172a;font-size:16px;font-weight:750;box-shadow:0 7px 28px rgba(113,223,240,.12); }
.auth-access button:disabled { opacity:.45;cursor:not-allowed;box-shadow:none; }
.auth-access .auth-password-toggle { display:block;margin:15px auto 24px;padding:8px;background:none;border:0;color:#c2ccf9;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:5px;min-height:40px; }
.auth-switch { border-top:1px solid #2c4056;padding-top:20px;margin-top:24px;text-align:center;color:#aebed3;font-size:14px; }
.auth-access .auth-switch-button { padding:8px 4px;min-height:40px;border:0;background:none;font:inherit;font-weight:600;color:#8cebf4; }
.auth-local-preview { margin:19px 0 0;padding:12px 15px;border:1px dashed #5a6c91;border-radius:12px;color:#c3cae9;font-size:12px;line-height:1.7; }
@media(max-width:600px) {
  .account-card.auth-access { padding:25px 20px;border-radius:23px; }
  .auth-tabs { gap:24px;margin-bottom:22px; }
  .auth-tabs .auth-tab { font-size:20px; }
  .auth-access h2 { font-size:26px; }
  .auth-intro { font-size:14px; }
  .auth-code-row { gap:9px;grid-template-columns:minmax(85px,1fr) minmax(135px,1fr); }
  .auth-access .auth-get-code { padding:9px;font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .auth-access * { transition:none!important; } }
