body{background:#f5f7fc} .card{border-radius:20px!important;box-shadow:0 8px 28px rgba(25,45,80,.06)!important} .btn{border-radius:12px!important} .form-input{border-radius:12px!important} .auth-card{box-shadow:0 16px 50px rgba(15,38,90,.12)!important} @media(max-width:700px){.grid-3{gap:14px!important}.card{padding:18px!important}}
/* Landing + mobile navigation refinements */
.th-landing{max-width:1000px;margin:26px auto 70px;padding:0 18px;color:#18253f;font-family:system-ui,sans-serif}.th-landing-hero{padding:30px;border-radius:24px;background:linear-gradient(135deg,#eef4ff,#f4edff);text-align:center}.th-landing h1{font-size:clamp(24px,4vw,40px);line-height:1.2;margin:12px 0}.th-landing p{line-height:1.6}.th-eyebrow{color:#315fca;font-size:12px;font-weight:800;letter-spacing:.1em}.th-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.th-pills span{background:white;border-radius:50px;padding:8px 12px;font-size:13px}.th-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.th-feature-grid article{background:white;border:1px solid #e6eaf4;padding:18px;border-radius:16px}.th-landing-note{font-size:12px;text-align:center;color:#66748b}.th-more-menu{display:none;position:fixed;bottom:78px;right:12px;width:min(280px,calc(100vw - 24px));z-index:1200;background:white;box-shadow:0 8px 35px #1e2b4b33;border-radius:18px;padding:10px}.th-more-menu.th-open{display:grid;gap:4px}.th-more-menu button{padding:12px;text-align:left;border:0;background:transparent;border-radius:10px;font-weight:650}.th-more-menu button:active{background:#edf2ff}.th-more-trigger{border:0;background:transparent;cursor:pointer}.bottom-nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))}.bottom-nav .bn-item{min-width:0}.bottom-nav .bn-item span{font-size:10px}@media(max-width:680px){.th-feature-grid{grid-template-columns:1fr}.th-landing{margin-top:20px}.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(min-width:769px){.th-more-menu{display:none!important}}

/* Public landing page: independent full-width mobile layout */
body:has(.th-public-shell){overflow-x:hidden}.th-public-shell{width:100%;min-height:100vh;background:linear-gradient(145deg,#f6f9ff 0%,#fff 56%,#f4f0ff 100%);color:#17233b}.th-public-header{max-width:1160px;margin:auto;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;position:relative;gap:20px}.th-logo{font-size:24px;font-weight:850;color:#2059c9;text-decoration:none;display:flex;gap:10px;align-items:center}.th-public-menu{display:flex;gap:24px;align-items:center}.th-public-menu a{font-size:14px;color:#344563;text-decoration:none;font-weight:700}.th-public-menu a:hover{color:#2563eb}.th-menu-toggle{display:none;border:1px solid #dce4f4;background:white;border-radius:12px;padding:10px 12px;font-size:23px;cursor:pointer}.th-public-layout{max-width:1160px;margin:20px auto 0;padding:0 24px 80px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:36px;align-items:start}.th-public-layout>.auth-container{grid-column:2;grid-row:1;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;transform:none!important}.th-public-layout>.auth-container>.auth-card{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow:hidden}.th-public-layout>.th-landing{grid-column:1;grid-row:1;min-width:0;max-width:100%;margin:0;padding:0;text-align:left}.th-landing-hero{text-align:left;padding:36px}.th-landing .th-pills{justify-content:flex-start}.th-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.th-feature-grid article{min-width:0}.th-steps,.th-pricing{margin-top:20px;background:white;border:1px solid #e3e9f5;border-radius:22px;padding:24px}.th-steps h2,.th-pricing h2{font-size:22px;margin:0 0 16px}.th-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.th-step-grid article{background:#f5f8ff;padding:14px;border-radius:14px}.th-step-grid b{color:#2d63dd}.th-step-grid h3{font-size:14px;margin:10px 0 5px}.th-step-grid p{font-size:12px;margin:0}.th-pricing button{background:#245cde;color:white;border:0;padding:12px 18px;border-radius:12px;font-weight:800;cursor:pointer}.th-dashboard-menu-button{background:white;border:1px solid #dce3ef;border-radius:12px;padding:9px;font-size:22px;margin-right:8px}.th-more-menu{max-height:65vh;overflow-y:auto}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}.bottom-nav #bn-settings{display:none!important}
@media(max-width:850px){.th-public-layout{grid-template-columns:minmax(0,1fr);gap:22px}.th-public-layout>.auth-container{grid-column:1;grid-row:2}.th-public-layout>.th-landing{grid-column:1;grid-row:1}.th-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.th-menu-toggle{display:block}.th-public-menu{display:none;position:absolute;z-index:100;top:calc(100% - 4px);left:20px;right:20px;flex-direction:column;align-items:stretch;gap:0;background:white;border:1px solid #e1e7f3;box-shadow:0 18px 35px #1d31502b;border-radius:16px;padding:8px}.th-public-menu.is-open{display:flex}.th-public-menu a{padding:13px;border-radius:9px}}
@media(max-width:600px){.th-public-header{padding:16px}.th-public-layout{padding:0 16px 65px;margin-top:8px}.th-landing-hero{padding:24px 20px}.th-landing h1{font-size:29px}.th-feature-grid,.th-step-grid{grid-template-columns:1fr}.th-public-layout>.auth-container>.auth-card{border-radius:22px!important}.th-steps,.th-pricing{padding:20px}.th-landing .th-pills{justify-content:flex-start}.th-public-layout .form-input{width:100%;max-width:100%;box-sizing:border-box}}

/* Landing-first experience: never display auth beside landing */
.th-public-layout{display:block!important;max-width:1100px!important;margin:0 auto!important;padding:0 18px 70px!important}
.th-public-layout>.th-landing{display:block!important;max-width:100%!important;width:100%!important;grid-column:auto!important;grid-row:auto!important;margin:0 auto!important}
.th-public-layout>.auth-container[hidden]{display:none!important}
.th-public-layout>.auth-container.th-auth-visible{display:flex!important;position:fixed!important;inset:0!important;z-index:9999!important;width:100%!important;max-width:none!important;min-height:100dvh!important;overflow-y:auto!important;align-items:center!important;justify-content:center!important;padding:28px 16px!important;background:rgba(14,24,46,.72)!important;box-sizing:border-box!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
.th-public-layout>.auth-container.th-auth-visible>.auth-card{width:min(100%,440px)!important;max-width:440px!important;flex-shrink:0!important;overflow:hidden!important;box-shadow:0 24px 70px #07152b55!important}
.th-auth-close{position:fixed;right:18px;top:18px;border:0;background:white;border-radius:50%;width:42px;height:42px;font-size:30px;line-height:1;z-index:10001;cursor:pointer}
body.th-auth-open{overflow:hidden!important}
.th-hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:22px 0 28px}
.th-hero-actions button{border:0;background:#285ee5;color:white;border-radius:14px;padding:14px 22px;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 7px 20px #285ee52b}
.th-hero-actions button.th-ghost{background:white;color:#285ee5;border:1px solid #c9d7fa;box-shadow:none}
.th-public-layout .th-landing-hero{text-align:center!important}
.th-public-layout .th-landing .th-pills{justify-content:center!important}
.th-public-layout .th-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:700px){.th-public-layout .th-feature-grid,.th-public-layout .th-step-grid{grid-template-columns:1fr!important}.th-public-layout{padding:0 14px 48px!important}.th-public-layout .th-landing-hero{padding:30px 20px!important}.th-hero-actions button{width:100%}.th-public-layout>.auth-container.th-auth-visible{padding:18px 12px!important}}
