.auth-page,.shell-nav{--bg: #f6f7f9;--surface: #ffffff;--border: #d9dde3;--text: #1a1d21;--muted: #5b636e;--accent: #1f2933;--accent-text: #ffffff;--error: #b42318;--error-bg: #fef3f2;--notice-bg: #eef4ff;--notice: #1d3f8a}body:has(.auth-page){margin:0}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px;box-sizing:border-box;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.5}@media(prefers-color-scheme:dark){.auth-page,.shell-nav{--bg: #111315;--surface: #1a1d21;--border: #30353c;--text: #e8eaed;--muted: #9aa3ad;--accent: #e8eaed;--accent-text: #111315;--error: #f97066;--error-bg: #2a1614;--notice-bg: #16213a;--notice: #a4bcfd}}.auth-page .card{width:100%;max-width:380px;padding:32px 28px;box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:12px}.auth-page .card.wide{max-width:440px}.auth-page h1{margin:0 0 8px;font-size:22px;font-weight:600}.auth-page h2{margin:0 0 8px;font-size:16px;font-weight:600}.auth-page .lede{margin:0;color:var(--muted)}.auth-page form{display:flex;flex-direction:column;gap:14px;margin-top:16px}.auth-page label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}.auth-page .label-row{display:flex;justify-content:space-between;align-items:baseline}.auth-page input,.auth-page select,.auth-page textarea{padding:9px 11px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px}.auth-page a{color:var(--text);font-weight:500}.auth-page .quiet{font-size:13px;font-weight:400;color:var(--muted)}.auth-page input:focus-visible,.auth-page select:focus-visible,.auth-page textarea:focus-visible,.auth-page button:focus-visible,.auth-page a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.auth-page button{padding:10px 14px;font:inherit;font-weight:500;border-radius:8px;cursor:pointer}.auth-page .primary{color:var(--accent-text);background:var(--accent);border:1px solid var(--accent)}.auth-page .secondary{color:var(--text);background:transparent;border:1px solid var(--border)}.auth-page .actions{display:flex;gap:10px}.auth-page .actions>*{flex:1}.auth-page .full{width:100%;margin-top:10px}.auth-page hr{margin:24px 0 20px;border:0;border-top:1px solid var(--border)}.auth-page .error,.auth-page .notice{margin:12px 0 0;padding:10px 12px;border-radius:8px;font-size:14px}.auth-page .error{color:var(--error);background:var(--error-bg)}.auth-page .notice{color:var(--notice);background:var(--notice-bg)}.auth-page .footer{margin:20px 0 0;font-size:14px;color:var(--muted)}.auth-page ul.rows{margin:0;padding:0;list-style:none}.auth-page ul.rows li{display:flex;flex-direction:column;padding:8px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.auth-page ul.rows li:last-child{border-bottom:0}.auth-page textarea{resize:vertical}.auth-page code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;overflow-wrap:anywhere}.auth-page .status{margin:0 0 4px;font-size:13px;font-weight:500;color:var(--muted)}.shell-nav{position:absolute;top:0;left:0;right:0;padding:12px 16px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.5}.shell-nav ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.shell-nav a{display:inline-block;padding:5px 12px;color:var(--text);font-weight:500;text-decoration:none;background:var(--surface);border:1px solid var(--border);border-radius:999px}.shell-nav a:hover{border-color:var(--muted)}.shell-nav a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell-nav+.auth-page{padding-top:72px}
