.th-auth-page{min-height:100dvh;display:grid;place-items:center;padding:35px 18px;background:#f6f6f8;font-family:Roboto,Arial,sans-serif;color:#566985}
.th-auth-card{width:100%;max-width:500px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;box-shadow:0 12px 35px #384f9510;padding:35px;box-sizing:border-box}
.th-auth-brand{display:inline-block;background:#2e3f6e;border-radius:5px;padding:13px 20px;margin-bottom:24px}.th-auth-brand img{display:block;width:142px;height:auto}
.th-auth-card h1{font-size:25px;color:#384f95;margin:0 0 25px;text-align:start;font-weight:700}
.th-auth-field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;font-size:13px;line-height:1.5;font-weight:600;color:#566985}
.th-auth-field input,.th-auth-field select{width:100%;box-sizing:border-box;min-height:46px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:4px;background:#f9f9f9;color:#566985;font:400 14px Roboto,Arial,sans-serif}
.th-auth-field input:focus,.th-auth-field select:focus{outline:2px solid #4db7fe;outline-offset:2px}
.th-auth-check{display:flex;gap:8px;align-items:center;font-size:12px;margin-bottom:20px}.th-auth-check input{width:17px;height:17px;accent-color:#384f95}
.th-auth-submit{width:100%;padding:14px 20px;background:#384f95;color:#fff;border:0;border-radius:4px;font-weight:600;font-size:14px;cursor:pointer}.th-auth-submit:disabled{opacity:.6;cursor:wait}
.th-auth-links{display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;margin-top:20px;font-size:12px}.th-auth-links a,.th-auth-links button{color:#384f95;text-decoration:none}.th-auth-links button{background:transparent;border:0;cursor:pointer;font:inherit;padding:0}
.th-auth-name{display:grid;grid-template-columns:1fr 1fr;gap:15px}.th-auth-note{font-size:12px;line-height:1.6;color:#7d93b2}
.th-auth-page .th-error,.th-auth-page .th-success{font-size:13px;line-height:1.6;border-radius:4px;padding:12px;background:#fff0f0;color:#9b293c}.th-auth-page .th-success{background:#edf9f3;color:#216b4b}
.th-parent-backdrop{position:fixed;inset:0;background:#17233bd9;z-index:100000;display:grid;place-items:center;padding:20px;font-family:Roboto,Arial,sans-serif}
.th-parent-dialog{max-width:450px;width:100%;padding:28px;border-radius:10px;background:#fff;box-shadow:0 15px 70px #0004;box-sizing:border-box}.th-parent-dialog h2{margin:0 0 15px;color:#384f95;font-size:21px}.th-parent-dialog p{line-height:1.65;font-size:14px;color:#566985;overflow-wrap:anywhere}
.th-parent-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.th-parent-actions button,.th-parent-actions a{font:600 13px Roboto,Arial,sans-serif;border:1px solid #e5e7eb;border-radius:4px;padding:12px 18px;color:#384f95;background:#f9f9f9;text-decoration:none;cursor:pointer}.th-parent-actions .is-primary,.th-parent-actions a{background:#384f95;color:#fff;border-color:#384f95}
@media(max-width:480px){.th-auth-page{padding:18px 12px}.th-auth-card{padding:24px 20px}.th-auth-name{grid-template-columns:1fr;gap:0}.th-parent-dialog{padding:24px 20px}}
