/* Scoped repair for the public login/landing page only. */
.th-public-shell,.th-public-shell *{box-sizing:border-box}
.th-public-shell{display:block!important;width:100%!important;max-width:100%!important;overflow-x:clip;background:#f6f8fd}
.th-public-shell .th-public-header{display:flex!important;width:100%!important;max-width:1100px!important;margin:0 auto!important;padding:16px!important;align-items:center!important;justify-content:space-between!important;position:relative!important;gap:12px!important}
.th-public-shell .th-logo{display:inline-flex!important;align-items:center!important;font-size:22px!important;font-weight:800!important;text-decoration:none!important;color:#2458cb!important}
.th-public-shell .th-menu-toggle{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;width:46px!important;height:44px!important;padding:9px!important;border:1px solid #d8e1f2!important;border-radius:12px!important;background:#fff!important;cursor:pointer!important;z-index:1002!important}
.th-bars{display:flex;flex-direction:column;gap:5px}.th-bars span{display:block;width:23px;height:2.5px;background:#1d376a;border-radius:4px;transition:transform .2s,opacity .2s}
.th-menu-toggle[aria-expanded=true] .th-bars span:first-child{transform:translateY(7.5px) rotate(45deg)}
.th-menu-toggle[aria-expanded=true] .th-bars span:nth-child(2){opacity:0}
.th-menu-toggle[aria-expanded=true] .th-bars span:last-child{transform:translateY(-7.5px) rotate(-45deg)}
.th-public-shell .th-public-menu{display:none!important;position:absolute!important;top:calc(100% - 3px)!important;right:16px!important;left:auto!important;width:min(300px,calc(100vw - 32px))!important;z-index:1001!important;background:white!important;border:1px solid #dfe6f4!important;box-shadow:0 20px 45px #142a4b2b!important;border-radius:16px!important;padding:8px!important;flex-direction:column!important;gap:2px!important}
.th-public-shell .th-public-menu.is-open{display:flex!important}
.th-public-shell .th-public-menu a{display:block!important;width:100%!important;padding:13px 14px!important;color:#203653!important;text-decoration:none!important;font-size:15px!important;border-radius:9px!important}
.th-public-shell .th-public-menu a:focus-visible,.th-public-shell .th-public-menu a:hover{background:#edf3ff!important}
.th-public-shell .th-public-layout{display:block!important;width:100%!important;max-width:1050px!important;margin:0 auto!important;padding:12px 16px 64px!important}
.th-public-shell .th-public-layout>.th-landing{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;position:static!important;float:none!important}
.th-public-shell .th-landing-hero{width:100%!important;padding:34px 20px!important;text-align:center!important}
.th-public-shell .th-landing h1{font-size:clamp(27px,6vw,46px)!important;line-height:1.25!important;overflow-wrap:anywhere!important}
.th-public-shell .th-feature-grid,.th-public-shell .th-step-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.th-public-shell .th-feature-grid article,.th-public-shell .th-step-grid article{min-width:0!important}
.th-public-shell .th-public-layout>.auth-container[hidden]{display:none!important}
.th-public-shell .th-public-layout>.auth-container.th-auth-visible{display:flex!important;position:fixed!important;inset:0!important;z-index:9999!important;width:100vw!important;max-width:none!important;min-height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;align-items:flex-start!important;justify-content:center!important;margin:0!important;padding:65px 14px 24px!important;background:#0e1830bb!important;transform:none!important}
.th-public-shell .th-public-layout>.auth-container.th-auth-visible>.auth-card{display:block!important;width:100%!important;max-width:430px!important;margin:0 auto!important;position:relative!important;min-width:0!important}
.th-public-shell .th-public-layout>.auth-container .th-auth-close{position:fixed!important;right:16px!important;top:12px!important;z-index:10010!important}
@media(max-width:700px){.th-public-shell .th-feature-grid,.th-public-shell .th-step-grid{grid-template-columns:1fr!important}.th-public-shell .th-hero-actions{display:flex!important;flex-direction:column!important;gap:12px!important}.th-public-shell .th-hero-actions button{width:100%!important}.th-public-shell .th-public-layout{padding:8px 14px 50px!important}}
