/* SCRIPT PRO 1.18: scoped navigation, counters and administration. */
.sp-wrap>.sp-account-nav{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:10px;width:100%;margin:0 0 24px;padding:16px;border:1px solid #dce5f2;border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(27,48,82,.045);box-sizing:border-box}
.sp-wrap>.sp-account-nav .sp-account-nav__link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:11px 17px;border:1px solid #dce5f2;border-radius:10px;background:#f7f9fd;color:var(--sp-catalog-accent,#315be7);text-decoration:none!important;font:600 14px/1.45 Arial,"Segoe UI",sans-serif;text-align:center;overflow-wrap:anywhere;transition:background-color .15s,border-color .15s,box-shadow .15s;box-sizing:border-box}
.sp-wrap>.sp-account-nav .sp-account-nav__link:hover{border-color:var(--sp-catalog-accent,#315be7);background:#edf3fd;box-shadow:0 3px 10px rgba(27,48,82,.07)}
.sp-wrap>.sp-account-nav .sp-account-nav__link.is-active{background:var(--sp-catalog-accent,#315be7);border-color:var(--sp-catalog-accent,#315be7);color:#fff}
.sp-account-nav__link:focus-visible,.sp-site-admin-nav a:focus-visible{outline:3px solid #9dbbfa;outline-offset:3px}
.sp-site-admin-nav{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 0 20px;padding:12px;border:1px solid #dce5f2;border-radius:12px;background:#fff}
.sp-site-admin-nav a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:10px 18px;border-radius:9px;background:#f2f6ff;color:#284fac;text-decoration:none!important;font-weight:600}
.sp-counter-warning{padding:14px 16px;border:1px solid #ead9a8;border-radius:10px;background:#fff9e9;color:#634f22!important;line-height:1.65}
.sp-counter-code{display:block;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;min-height:200px;max-height:480px;resize:vertical!important;overflow:auto;font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace!important;text-transform:none!important;tab-size:2}
.sp-counter-form{min-width:0}.sp-counter-form label{min-width:0}.sp-counter-form .sp-check{display:flex;align-items:flex-start;gap:9px;line-height:1.5}.sp-counter-form .sp-check input{flex:0 0 auto;margin-top:4px}
.sp-footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;min-width:0;margin-left:0!important;margin-right:0!important}
.sp-footer-bottom:before,.sp-footer-bottom:after{display:none!important}
.sp-footer-bottom>.sp-footer-copyright{flex:1 1 320px;min-width:0;max-width:100%;float:none;overflow-wrap:anywhere}
.sp-footer-bottom>.sp-footer-counter-column{flex:1 1 320px;min-width:0;max-width:100%;float:none}
.sp-footer-bottom>.sp-footer-socials{flex:0 1 auto;min-width:0;float:none}
.sp-footer-bottom>.sp-footer-links{flex:1 1 360px;min-width:0;max-width:100%;float:none!important}
.sp-footer-bottom p{margin-bottom:0}.sp-footer-links ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;float:none!important}
.sp-footer-counters{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;max-width:100%;min-width:0;padding:2px 0;line-height:1.4;text-align:center}
.sp-footer-counter{display:flex;flex:0 1 auto;flex-wrap:wrap;align-items:center;justify-content:center;max-width:100%;min-width:0;overflow:hidden;box-sizing:border-box}
.sp-footer-counter img,.sp-footer-counter iframe{max-width:100%!important;box-sizing:border-box}.sp-footer-counter img{height:auto}.sp-footer-counter script{display:none}
@media(max-width:640px){.sp-wrap>.sp-account-nav{padding:12px;gap:8px;margin-bottom:20px}.sp-wrap>.sp-account-nav .sp-account-nav__link{flex:1 1 145px;padding:11px 10px;font-size:13px}.sp-footer-bottom{flex-direction:column;gap:18px}.sp-footer-bottom>.sp-footer-copyright,.sp-footer-bottom>.sp-footer-counter-column,.sp-footer-bottom>.sp-footer-links{flex:0 1 auto;width:100%;text-align:center}.sp-footer-bottom .ts_copyright{text-align:center}.sp-footer-counter{max-width:100%}}
@media(prefers-reduced-motion:reduce){.sp-account-nav__link{transition:none!important}}
