/* Responsive layout for the public site, cabinet and administration. */
.snt-mobile-nav-toggle,.snt-mobile-side-toggle{display:none}
.snt-mobile-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
@media(max-width:900px){
 html{scroll-padding-top:85px;-webkit-text-size-adjust:100%}
 body{min-width:0}body *{box-sizing:border-box}
 img,video{max-width:100%;height:auto}main,section,article,form{min-width:0}
 .topbar,.snt-work-topbar{position:relative!important;top:0!important;width:100%;z-index:50}
 .topbar.topbar-home{background:#173328;border-bottom:1px solid #ffffff20}
 .topbar .header-inner,.topbar:not(.topbar-home) .header-inner,.snt-work-topbar .header-inner{display:flex!important;flex-wrap:wrap;align-items:center!important;justify-content:space-between;gap:10px!important;width:calc(100% - 32px)!important;min-height:74px!important;padding:12px 0!important}
 .topbar .logo{min-width:0!important;max-width:calc(100% - 98px);flex:1 1 auto;gap:10px;white-space:normal!important}
 .topbar .logo>span:last-child{min-width:0}
 .topbar .logo strong{font-size:14px!important;line-height:1.35;white-space:normal!important;overflow-wrap:anywhere}
 .topbar .logo small{font-size:11px;line-height:1.4;white-space:normal!important}
 .topbar .logo .logo-icon{width:38px;height:38px;min-width:38px;border-radius:12px}
 .snt-mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid #dbe7df;border-radius:12px;background:#edf5ef;color:#173328;font:600 14px system-ui;cursor:pointer;flex:0 0 auto}
 .topbar-home .snt-mobile-nav-toggle{color:#fff;background:#ffffff18;border-color:#ffffff40}
 .topbar .site-nav,.topbar-home .site-nav,.snt-work-topbar .site-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 0 100%;width:100%!important;max-width:100%!important;margin:0!important;padding:10px!important;gap:6px!important;overflow:visible!important;border-radius:14px;white-space:normal!important;box-shadow:none}
 .topbar.snt-mobile-nav-ready:not(.snt-mobile-nav-open) .site-nav{display:none!important}
 .topbar .site-nav a{display:flex;align-items:center;justify-content:flex-start;white-space:normal;min-height:44px;height:auto!important;padding:11px 12px!important;font-size:14px!important;line-height:1.35;border-radius:9px}
 .topbar-home .site-nav{background:#173b2d!important;border:1px solid #ffffff28}
 .topbar-home .site-nav a{color:#fff!important;text-shadow:none!important}
 .topbar-home .site-nav .nav-primary{color:#173328!important;background:#f0f8f2}
 .topbar .site-nav a:focus-visible,.snt-mobile-nav-toggle:focus-visible,.snt-mobile-side-toggle:focus-visible{outline:3px solid #80b998;outline-offset:2px}
 body.snt-admin .admin-shell{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:0}
 body.snt-admin .admin-shell .admin-side{position:relative!important;top:0!important;height:auto!important;min-height:0!important;width:100%!important;padding:14px 16px!important;gap:10px!important}
 .snt-admin .admin-side .admin-brand{padding:0 0 8px!important;border:0}.snt-admin .admin-side .admin-brand-back{margin-bottom:6px}.snt-admin .admin-side .admin-brand strong{font-size:16px}.snt-admin .admin-side .admin-brand small{display:none}
 .snt-mobile-side-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;border:1px solid #ffffff38;border-radius:10px;padding:11px 13px;background:#ffffff12;color:#fff;font:600 14px system-ui;text-align:left}
 .snt-admin .admin-side nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}
 .snt-admin .admin-side nav a{min-height:44px;display:flex;align-items:center;font-size:13px!important;overflow-wrap:anywhere}
 .snt-admin .snt-mobile-side-ready:not(.snt-mobile-side-open) nav,.snt-admin .snt-mobile-side-ready:not(.snt-mobile-side-open) .account-side-actions{display:none!important}
 body.snt-admin .admin-main{padding:0 16px 30px!important;min-width:0}.snt-admin .admin-content{width:100%!important;padding:0!important;max-width:100%}.snt-admin .admin-top{height:auto!important;min-height:48px;flex-wrap:wrap;gap:8px;padding:12px 0;margin-bottom:20px;font-size:12px}
 .snt-admin .admin-top>span{min-width:0;overflow-wrap:anywhere}
 .snt-admin .admin-content>h1{font-size:26px!important;line-height:1.2}
 .snt-admin .admin-grid,.snt-profile-form,.snt-profile-edit-grid,.snt-profile-details,.snt-password-panel .snt-account-form{grid-template-columns:minmax(0,1fr)!important}
 .snt-profile-form>*{grid-column:auto!important}.snt-profile-head{flex-wrap:wrap}.snt-profile-head>div{min-width:0}
 .snt-profile-card,.snt-profile-edit-panel,.snt-cabinet-welcome,.snt-user-profile,.snt-admin .admin-box{max-width:100%;padding:20px!important}
 .snt-admin .admin-box{min-height:0}
 .snt-profile-details p,.snt-profile-head h2,.snt-profile-details a{overflow-wrap:anywhere}
 .snt-switch{width:100%}.snt-switch>span:last-child{min-width:0}.snt-switch strong{font-size:14px}.snt-switch small{font-size:12px}
 .snt-admin table{width:100%;min-width:600px}.snt-admin td,.snt-admin th{padding:12px!important;font-size:13px}
 .snt-admin input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.snt-admin select,.snt-admin textarea{max-width:100%;width:100%;font-size:16px!important;min-height:44px}
 .snt-mail-settings,.snt-mail-settings form{grid-template-columns:minmax(0,1fr)!important}.snt-mail-actions{flex-direction:column;align-items:stretch}.snt-mail-actions .button{width:100%!important}
 .container:not(.home-main):not(.admin-content){width:calc(100% - 32px)!important;max-width:100%;padding-left:0;padding-right:0}
 .snt-section-hero{padding:24px!important;gap:18px;min-height:0;flex-direction:column;align-items:flex-start}.snt-section-hero h1{font-size:30px!important;line-height:1.2;overflow-wrap:anywhere}
 .snt-content-card,.snt-document-card{max-width:100%;padding:18px!important}.snt-document-card{grid-template-columns:44px minmax(0,1fr);gap:14px}.snt-document-copy h2{font-size:16px;line-height:1.4}.snt-document-card>.button{grid-column:1/-1;width:100%;min-height:46px}
 .snt-auth-layout,.snt-auth-login-layout,.snt-auth-register-layout{grid-template-columns:minmax(0,1fr)!important;max-width:100%;margin:20px 0 30px;min-height:0;border-radius:18px}.snt-auth-layout .snt-auth-story{min-height:0;padding:22px!important}.snt-auth-story .snt-auth-kicker{margin-top:22px}.snt-auth-story h2{font-size:28px!important}.snt-auth-story .snt-auth-note{display:none}.snt-auth-layout .snt-auth-main{padding:22px!important}.snt-auth-card{max-width:100%;padding:0!important}.snt-auth-card input,.snt-auth-card select{font-size:16px!important;min-height:48px}
 .snt-finance-stat-grid{grid-template-columns:minmax(0,1fr)!important}.snt-finance-history{padding:18px 14px!important}.snt-finance-history-head{flex-wrap:wrap;gap:10px}
 .snt-poll-options{grid-template-columns:minmax(0,1fr)!important}.snt-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.snt-gallery-album-head{display:block}
 .snt-gallery-album-head h2{overflow-wrap:anywhere}.snt-gallery-album input[type=file]{width:100%;max-width:100%}
 .snt-admin button,.snt-admin .button,.snt-auth-card .button{min-height:44px}.snt-password-eye{min-width:44px;min-height:44px}
 .snt-appeals-page form,.snt-appeals-page textarea{max-width:100%}iframe{max-width:100%}
 body .home-main .hero.hero-home{height:auto!important;min-height:calc(100svh - 74px)!important;padding:40px 24px 48px!important;align-items:center;background-position:60% center!important}
 .home-main .hero-home:before{background:linear-gradient(90deg,rgba(8,28,20,.86),rgba(8,28,20,.44))!important}
 .home-main .hero-copy{max-width:560px;width:100%;min-width:0}
 body .home-main .hero-home h1{font-size:clamp(34px,7.8vw,52px)!important;line-height:1.08!important;letter-spacing:-.8px;max-width:100%;margin:16px 0 20px;overflow-wrap:normal}
 .home-main .hero-home .badge{max-width:100%;white-space:normal;line-height:1.5;font-size:11px;padding:8px 12px}
 .home-main .hero-home .hero-kicker{font-size:11px;letter-spacing:1.5px;line-height:1.5;margin:22px 0 10px}
 .home-main .hero-home .hero-lead{font-size:16px!important;line-height:1.65;max-width:100%;margin-bottom:0}
 .home-main .hero-buttons{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:26px;width:100%;max-width:380px}
 .home-main .hero-buttons .button{width:100%;min-height:48px;padding:12px 16px;white-space:normal;text-align:center;font-size:15px}
 .home-main .hero-note{font-size:11px;line-height:1.6;margin-top:20px}
}
@media(max-width:380px){
 .topbar .header-inner,.topbar:not(.topbar-home) .header-inner,.snt-work-topbar .header-inner{width:calc(100% - 24px)!important}
 .topbar .logo strong{font-size:12px!important}.topbar .logo small{font-size:10px}.snt-mobile-nav-toggle{padding:9px 10px;font-size:13px}
 body .home-main .hero.hero-home{padding:30px 18px 38px!important}body .home-main .hero-home h1{font-size:32px!important}.home-main .hero-home .hero-lead{font-size:15px!important}
 .snt-gallery-grid{grid-template-columns:minmax(0,1fr)!important}.snt-admin .admin-side nav{grid-template-columns:minmax(0,1fr)}
}
@media(max-height:540px) and (max-width:900px) and (orientation:landscape){body .home-main .hero.hero-home{min-height:0!important;padding:30px 24px!important}.home-main .hero-buttons{grid-template-columns:repeat(2,minmax(0,1fr));max-width:500px}body .home-main .hero-home h1{font-size:34px!important}}

/* Full-height workspace sidebar on desktop. */
@media(min-width:901px){
 body.snt-admin{--snt-sidebar-width:248px}
 body.snt-admin .snt-work-topbar{margin-left:var(--snt-sidebar-width);width:calc(100% - var(--snt-sidebar-width));top:0}
 body.snt-admin .admin-shell{display:block!important;margin-left:var(--snt-sidebar-width);min-width:0;min-height:calc(100vh - 70px)}
 body.snt-admin .admin-shell .admin-side{position:fixed!important;top:0!important;bottom:0;left:0;width:var(--snt-sidebar-width);height:100vh!important;height:100dvh!important;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;z-index:100;box-sizing:border-box}
 body.snt-admin .admin-main{width:100%;min-width:0;box-sizing:border-box}
 body.snt-admin .admin-side .account-side-actions{margin-top:auto;flex-shrink:0}
 body.snt-admin .admin-side>nav{flex-shrink:0}
}
@media(max-width:900px){.topbar .header-inner,.topbar:not(.topbar-home) .header-inner{position:relative!important;padding-right:0!important}.topbar .logo{max-width:calc(100% - 128px)!important;flex:0 1 calc(100% - 128px)!important}.topbar .snt-mobile-nav-toggle{position:absolute!important;top:50%;right:0;transform:translateY(-50%);width:auto!important;min-width:94px;flex:0 0 auto!important}.topbar .site-nav{flex:1 0 100%!important;width:100%!important;margin-top:10px!important}}
