html{scroll-behavior:smooth}body.sm-production-page{margin:0!important;padding:0!important;background:#fff!important;min-width:320px;overflow-x:hidden;color:#0B1220}body.sm-production-page #page,body.sm-production-page .site,body.sm-production-page .site-content,body.sm-production-page .content-area,body.sm-production-page .site-main{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}#sm-production-root{min-height:100vh;background:#fff}body.sm-production-page .entry-header,body.sm-production-page .entry-title,body.sm-production-page .site-header,body.sm-production-page .site-footer,body.sm-production-page #ast-scroll-top,body.sm-production-page .ast-scroll-to-top-right{display:none!important}body.sm-production-page .sm-header{top:0}body.admin-bar.sm-production-page .sm-header{top:32px}@media(max-width:782px){body.admin-bar.sm-production-page .sm-header{top:46px}}
.sm-header{box-shadow:0 1px 0 rgba(11,18,32,.03)}.sm-header-inner{position:relative}.sm-mobile-toggle{display:none;width:42px;height:42px;border:1px solid var(--sm-line);background:#fff;border-radius:11px;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer}.sm-mobile-toggle i{display:block;width:18px;height:2px;background:var(--sm-navy);border-radius:9px;transition:.2s}.sm-mobile-toggle[aria-expanded="true"] i:nth-child(1){transform:translateY(6px) rotate(45deg)}.sm-mobile-toggle[aria-expanded="true"] i:nth-child(2){opacity:0}.sm-mobile-toggle[aria-expanded="true"] i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.sm-btn:focus-visible,.sm-nav a:focus-visible,.sm-link-btn:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:3px}
.sm-dashboard-shell{min-height:calc(100vh - 78px)}.sm-dashboard-main{min-width:0}.sm-dashboard-main button,.sm-dashboard-main input,.sm-dashboard-main select,.sm-dashboard-main textarea{max-width:100%}.sm-account-card,.sm-onboarding-card,.sm-auth-card{box-shadow:0 16px 45px rgba(11,18,32,.07)}
.sm-production-page img{max-width:100%;height:auto}.sm-production-page input,.sm-production-page textarea,.sm-production-page select,.sm-production-page button{font:inherit}.sm-production-page a{-webkit-tap-highlight-color:transparent}.sm-production-page .sm-muted{color:#667085}
.sm-prod-banner{display:none}.sm-production-page .sm-alert{border-radius:12px;padding:12px 14px}.sm-production-page .sm-alert-error{background:#fff2f0;color:#b42318;border:1px solid #ffd3cc}.sm-production-page .sm-alert-success{background:#ecfdf3;color:#067647;border:1px solid #abefc6}
@media(max-width:980px){.sm-mobile-toggle{display:flex}.sm-header-inner{gap:12px}.sm-nav{position:absolute;left:0;right:0;top:calc(100% + 1px);background:#fff;border:1px solid var(--sm-line);border-top:0;border-radius:0 0 16px 16px;padding:14px;box-shadow:0 20px 35px rgba(11,18,32,.12);display:none;flex-direction:column;align-items:stretch;gap:4px}.sm-nav.sm-nav-open{display:flex}.sm-nav a,.sm-nav a:not(.sm-btn){display:flex!important;justify-content:center;padding:12px;border-radius:10px}.sm-nav a:not(.sm-btn):hover{background:#f6f8fc}.sm-brand{margin-right:auto}.sm-dashboard-shell{min-height:auto}}
@media(max-width:640px){body.sm-production-page .sm-header{position:sticky}.sm-header-inner{height:66px}.sm-brand{width:190px!important;max-width:64vw!important}.sm-mobile-toggle{width:38px;height:38px}.sm-hero h1,.sm-inner-hero h1{font-size:clamp(38px,12vw,54px)}.sm-hero-copy>p,.sm-inner-hero p{font-size:17px}.sm-auth{width:min(100% - 24px,520px);margin:36px auto;padding:24px}.sm-auth-layout{padding-top:32px;padding-bottom:44px}.sm-account-header{align-items:flex-start;flex-wrap:wrap}.sm-account-header .sm-btn{width:100%}.sm-onboarding-shell{padding-top:28px;padding-bottom:48px}.sm-price-grid article,.sm-three article,.sm-feature-grid article,.sm-tool-grid article{padding:22px}.sm-dashboard-card{border-radius:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.sm-btn,.sm-mobile-toggle i{transition:none!important}.sm-btn:hover{transform:none}}

/* Phase 16.3: dashboard header must not cover automation forms while scrolling. */
body.sm-production-page.sm-page-dashboard .sm-header{position:relative!important;top:auto!important;}
body.admin-bar.sm-production-page.sm-page-dashboard .sm-header{top:auto!important;}
body.sm-production-page.sm-page-dashboard #sm-production-root{overflow:visible;}

/* 40.8.0 public tool SEO content: visible, useful and Rank-Math-friendly on-page structure */
.sm-t8-seo{margin-top:32px;padding:32px;border:1px solid #dbe4f0;border-radius:20px;background:#fff}
.sm-t8-seo-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:36px;align-items:start}
.sm-t8-seo h2{margin:8px 0 16px;font-size:clamp(28px,3vw,40px);line-height:1.12;color:#0b1220}
.sm-t8-seo h3{margin:24px 0 8px;font-size:20px;color:#0b1220}
.sm-t8-seo p{margin:0 0 12px;color:#475569;line-height:1.75;font-size:16px}
.sm-t8-seo a{color:#2563eb;text-decoration:underline;text-underline-offset:3px}
.sm-t8-seo-aside{background:#f7f9fc;border:1px solid #e1e8f2;border-radius:16px;padding:20px;position:sticky;top:110px}
.sm-t8-seo-aside img{display:block;max-width:180px;width:100%;height:auto;margin:0 0 18px}
.sm-t8-seo-aside h3{margin:0 0 12px;font-size:18px}
.sm-t8-seo-aside ul{margin:0;padding-left:20px;color:#475569;line-height:1.7}
@media(max-width:900px){.sm-t8-seo-grid{grid-template-columns:1fr}.sm-t8-seo-aside{position:static}.sm-t8-seo{padding:24px}}

/* 1.0.2 device polish */
@media(max-width:760px){.sm-shell,.smc-shell,.smt-shell{width:calc(100% - 30px)!important;max-width:100%!important}.sm-grid,.smt-grid{grid-template-columns:1fr!important}input,select,textarea,button{max-width:100%;box-sizing:border-box}}
