.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 80% 10%,#19634e,#102638 70%)}.auth-card{width:min(460px,100%);padding:36px;background:#fff;border:1px solid #dce8e4;border-radius:20px;box-shadow:0 22px 70px #0004}.auth-card h1{font-size:30px;margin:14px 0 25px}.auth-card .field{display:block;margin:18px 0}.auth-submit{width:100%;margin-top:14px;justify-content:center}.auth-card .muted{font-size:12px;margin:20px 0}.auth-card .error{display:block}.accounts{max-width:1000px;margin:auto;padding:30px 20px}.accounts>h1{margin:25px 0}.accounts>.card{margin:20px 0}.accounts .field{display:block;margin:15px 0;max-width:420px}.accounts textarea{width:100%;font-size:13px}.accounts td form{margin:0}.auth-card a,.accounts a{color:#087959;text-decoration:underline}.auth-card input:focus{border-color:#108560;box-shadow:0 0 0 3px #11966618}
.account-row{display:flex;align-items:center;gap:16px;padding:10px 0}.account-row span{flex:1}.install-check{padding:10px;background:#eff7f3;border-radius:8px;margin-bottom:18px}

/* Explicit auth palette: shared dark theme must never mix with a white card. */
.auth-card{color:#172e29;color-scheme:light}.auth-card h1,.auth-card .field>span{color:#172e29}.auth-card p{color:#486259}.auth-card input{background:#fff;color:#142e27;border:1px solid #9bb6ab}.auth-card input::placeholder{color:#61786f;opacity:1}.auth-card .eyebrow{color:#087959}.auth-card .primary{background:#087959;color:#fff}.auth-card .auth-links{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px}
[data-theme=dark] .auth-card{background:#142b36;color:#f1f7fa;border-color:#45616e;color-scheme:dark}[data-theme=dark] .auth-card h1,[data-theme=dark] .auth-card .field>span{color:#f1f7fa}[data-theme=dark] .auth-card p{color:#c4d7e0}[data-theme=dark] .auth-card input{background:#0c1e29;color:#f8fafc;border-color:#63808e}[data-theme=dark] .auth-card input::placeholder{color:#b0c6d1;opacity:1}[data-theme=dark] .auth-card a,[data-theme=dark] .auth-card .eyebrow{color:#76edc3}[data-theme=dark] .auth-card .primary{background:#087959;color:#fff}[data-theme=dark] .auth-card .error{background:#47252c;color:#ffdde2;border-color:#bf7886}[data-theme=dark] .auth-card .notice{background:#123d34;color:#d4ffed}
