.auth-page{min-height:calc(100dvh - 32px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;gap:20px}.auth-card{width:100%;max-width:448px;padding:32px;background:var(--panel);border:1px solid var(--line);border-radius:27px;box-shadow:0 20px 70px rgba(15,23,42,.09);backdrop-filter:blur(20px)}.auth-brand{padding-bottom:25px;border-bottom:1px solid var(--line)}.auth-brand .brand-logo{width:154px;max-width:100%}.auth-brand>p{font-size:12px;color:var(--muted);margin-top:12px}.auth-heading{padding:24px 0 22px}.auth-heading .eyebrow{color:var(--accent);font-size:10px;letter-spacing:.22em}.auth-heading h1{font-size:30px;font-weight:600;letter-spacing:-.04em;margin:10px 0}.auth-heading>p:last-child,.auth-subtitle{color:var(--muted);font-size:13px;line-height:24px}.credential-form{display:grid;gap:16px}.login-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:var(--soft);border-radius:12px;gap:4px;margin-bottom:4px}.login-tabs>button{border:0;background:transparent;color:var(--muted);border-radius:9px;padding:9px 12px;font-size:13px}.login-tabs>button.active{background:var(--panel);color:var(--accent);box-shadow:0 3px 10px #0f172a0b;font-weight:600}.credential-form .field{font-size:13px;gap:8px}.credential-form .field input{height:46px;border-radius:12px;background:var(--solid,var(--panel))}.password-input{position:relative;display:block}.password-input>input{padding-right:48px}.password-input>.icon-button{position:absolute;right:5px;top:5px;color:var(--muted)}.login-submit-button{width:100%;margin-top:3px;min-height:46px;border-radius:999px;font-size:14px}.auth-help{background:none;border:0;padding:3px;color:var(--accent);text-align:center}.auth-error,.auth-help{font-size:12px;line-height:22px}.auth-error{padding:12px 14px;border:1px solid #e5b1ac;border-radius:12px;background:#fff1ef;color:#9f3e34;margin-bottom:4px;overflow-wrap:anywhere}.dark .auth-error{background:#3a2425;border-color:#754244;color:#f3b5af}.auth-error .auth-help{margin-top:6px;color:inherit;text-decoration:underline}.auth-demo-footnote,.auth-preview-note{font-size:11px;line-height:21px;color:var(--muted);text-align:center;max-width:440px}.demo-credentials{border-top:1px solid var(--line);margin-top:24px;padding-top:16px;font-size:12px;color:var(--muted);line-height:23px}.demo-credentials>summary{cursor:pointer;color:var(--text);font-size:12px}.demo-credentials>p{margin-top:10px}.demo-credentials code{color:var(--text);font-size:12px}.demo-credentials dl{margin:12px 0}.demo-credentials dl>div{display:flex;justify-content:space-between;gap:16px}.demo-credentials dd{margin:0;font-family:ui-monospace,monospace;color:var(--text)}.account-anchor{position:relative}.account-anchor>.account-chip{background:none;border:0;padding:4px 0;color:var(--text);text-align:left}.account-scrim{position:fixed;inset:0;border:0;background:#0f172a1a;z-index:210;width:100%;height:100%}.account-panel{position:fixed;right:var(--account-right,24px);top:var(--account-top,100px);width:356px;max-width:calc(100vw - 32px);max-height:calc(100dvh - var(--account-top,100px) - 18px);overflow:auto;padding:20px;background:var(--solid,var(--panel));color:var(--text);border:1px solid var(--line);border-radius:22px;box-shadow:0 20px 70px #0f172a26;z-index:220}.account-panel-heading{display:flex;align-items:center;gap:8px;margin-bottom:20px;min-height:30px}.account-panel-heading h2{font-size:17px;font-weight:600}.account-panel-heading>span{font-size:14px;font-weight:600}.account-panel-heading>.icon-button:last-child{margin-left:auto}.account-person{display:flex;gap:13px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line)}.account-person>.avatar{height:46px;width:46px;font-size:17px}.account-person strong{font-size:16px}.account-person p{font-size:12px;color:var(--muted);margin:3px 0}.account-person small{font-size:11px;color:var(--muted)}.account-workspaces{padding:18px 0}.account-section-label{font-size:11px;color:var(--muted);margin-bottom:10px}.account-menu>button,.account-workspaces>button{display:flex;gap:10px;align-items:center;width:100%;padding:11px 12px;font-size:12px;line-height:22px;color:var(--text);border:1px solid transparent;background:none;border-radius:12px;text-align:left}.account-workspaces>button>span{flex:1}.account-menu>button:hover,.account-workspaces>button:hover{background:var(--soft)}.account-workspaces>button.selected{background:var(--soft);color:var(--accent);border-color:#4f86ff25}.account-menu{padding-top:10px;border-top:1px solid var(--line)}.account-menu>button>svg:last-child:not(:first-child){margin-left:auto}.account-menu>button.account-logout{color:#a6473b}.dark .account-menu>button.account-logout{color:#efaaa1}.account-loading{color:var(--muted);font-size:12px;line-height:24px;padding:8px 0}.account-profile{margin:0;display:grid;gap:18px;font-size:13px}.account-profile>div{display:grid;grid-template-columns:60px 1fr;gap:16px}.account-profile dt{color:var(--muted)}.account-profile dd{margin:0;overflow-wrap:anywhere}.account-panel>.auth-subtitle{margin-bottom:16px}.account-modal-backdrop{position:fixed;inset:0;z-index:280;background:#0f172a55;display:flex;align-items:center;justify-content:center;padding:20px}.account-confirm{width:100%;max-width:490px;padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--solid,var(--panel));box-shadow:var(--shadow)}.account-confirm h2{font-size:21px}.account-confirm p{font-size:13px;line-height:24px;color:var(--muted);margin-top:12px}.account-confirm>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.account-confirm .btn{font-size:12px}.account-panel .credential-form .login-tabs{margin-top:4px}@media(max-width:767px){.auth-page{justify-content:flex-start;padding:28px 16px;gap:16px}.auth-card{padding:26px 22px;border-radius:24px}.auth-heading h1{font-size:28px}.auth-brand .brand-logo{width:140px}.auth-preview-note{font-size:10px}.account-panel{top:auto;bottom:0;right:0;width:100%;max-width:none;max-height:90dvh;padding:22px 22px calc(22px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.account-scrim{background:#0f172a55}.account-panel-heading h2{font-size:19px}.account-menu>button,.account-workspaces>button{padding:12px;font-size:14px}.account-person strong{font-size:18px}.account-person p{font-size:13px}.account-person small{font-size:12px}.account-confirm{padding:24px}.account-confirm>div{flex-direction:column}.account-confirm .btn{width:100%}}.account-confirm-dialog{padding:20px;border:0;background:transparent;color:var(--text);width:530px;max-width:100vw;max-height:100dvh;overflow:auto;margin:auto}.account-confirm-dialog::backdrop{background:#0f172a55}.account-confirm-dialog .account-confirm{width:100%}