.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}}
.ahi-app-root{min-height:100dvh}
.th-auth-page{background:#f5f7fa;color:#142540}.th-auth-card{border-color:#e4e9f0;border-radius:18px;box-shadow:0 14px 45px #1425400d}.th-auth-brand{background:#142540;border-radius:10px}.th-auth-brand img{width:154px;max-height:44px;object-fit:contain}.th-auth-card h1,.th-auth-field,.th-auth-links a,.th-auth-links button{color:#142540}.th-auth-field input:focus,.th-auth-field select:focus{outline-color:#d7aa43}.th-auth-check input{accent-color:#d7aa43}.th-auth-submit{background:linear-gradient(120deg,#ecd097,#d7aa43);color:#142540;border-radius:10px}.th-parent-dialog{border-radius:18px}.th-parent-dialog h2,.th-parent-actions button,.th-parent-actions a{color:#142540}.th-parent-actions .is-primary,.th-parent-actions a{background:#d7aa43;border-color:#d7aa43;color:#142540;border-radius:10px}.ahi-app-standalone,.ahi-app-standalone body{touch-action:pan-x pan-y;overscroll-behavior-y:none}.ahi-app-standalone input,.ahi-app-standalone select,.ahi-app-standalone textarea{font-size:16px!important}.ahi-install-dialog button:focus-visible{outline:3px solid #d7aa43;outline-offset:3px}
@media(max-width:480px){.th-auth-field input,.th-auth-field select{font-size:16px}}
.ahi-app-standalone .ahi-app-root{background:#142540}
.ahi-app-standalone .clean-preview{inset:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.ahi-app-standalone .th-auth-page{padding-top:calc(18px + env(safe-area-inset-top));padding-bottom:calc(18px + env(safe-area-inset-bottom))}
.th-auth-page{background:radial-gradient(ellipse at 85% 5%,#ecd0971f,transparent 45%),#f5f7fa}.th-auth-card{padding:36px;border:1px solid #e4e9f0;box-shadow:0 14px 42px #1425400a}.th-auth-field input,.th-auth-field select{min-height:48px;border-radius:10px;background:#fbfcfe;transition:border-color 200ms ease,box-shadow 200ms ease}.th-auth-field input:focus,.th-auth-field select:focus{box-shadow:0 0 0 3px #d7aa4317}.th-auth-submit,.th-parent-actions button,.th-parent-actions a{box-sizing:border-box;min-height:44px;border-radius:10px;line-height:1.4;transition:transform 200ms ease,box-shadow 200ms ease,background-color 200ms ease}.th-auth-submit:hover:not(:disabled),.th-parent-actions .is-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 14px #14254012}.th-parent-dialog{border:1px solid #e4e9f0;box-shadow:0 16px 60px #07162726}.th-auth-links a{min-height:30px;display:inline-flex;align-items:center}.th-auth-check{min-height:32px}
@media(max-width:480px){.th-auth-card{padding:26px 20px}}
@media(prefers-reduced-motion:reduce){.th-auth-field input,.th-auth-field select,.th-auth-submit,.th-parent-actions button,.th-parent-actions a{transition:none}.th-auth-submit:hover:not(:disabled),.th-parent-actions .is-primary:hover:not(:disabled){transform:none}}
