/* Check Your SaaS · role-aware portal shell (isolated to portal pages) */
body.cys-portal-shell{--cys-sidebar-width:258px;--cys-shell-teal:#0d766a;--cys-shell-ink:#12283a;background:#f5f8fa!important;color:#182c3d}
body.cys-portal-shell>#cys-portal-sidebar{box-sizing:border-box;position:fixed;z-index:60;top:0;left:0;bottom:0;width:var(--cys-sidebar-width);display:flex;flex-direction:column;padding:23px 14px 14px;background:linear-gradient(175deg,#102b3d 0%,#123648 56%,#0c2535 100%);border-right:1px solid rgba(255,255,255,.09);box-shadow:10px 0 30px #0b25330c;color:#dce9f0;overflow-y:auto;overscroll-behavior:contain}
body.cys-portal-shell .cys-sidebar-heading{display:flex;align-items:center;gap:12px;padding:4px 10px 25px;border-bottom:1px solid #ffffff1e;margin-bottom:18px;line-height:1.15}
body.cys-portal-shell .cys-sidebar-logo{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;background:#dbf5eb;color:#0e3d42;font-size:14px;font-weight:900;border-radius:12px;letter-spacing:-.04em;text-decoration:none}
body.cys-portal-shell .cys-sidebar-heading strong{display:block;font-size:14px;color:#fff;font-weight:760;letter-spacing:-.01em}
body.cys-portal-shell .cys-sidebar-heading span{display:block;margin-top:7px;font-size:9px;font-weight:800;letter-spacing:.15em;color:#91b8c2}
body.cys-portal-shell .cys-side-links{display:flex;flex-direction:column;gap:4px}
body.cys-portal-shell .cys-side-link{min-height:44px;box-sizing:border-box;display:flex;align-items:center;gap:13px;padding:10px 13px;border:1px solid transparent;border-radius:11px;color:#cddfe7;text-decoration:none;font:600 13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;transition:background .15s,border-color .15s}
body.cys-portal-shell .cys-side-link:hover,body.cys-portal-shell .cys-side-link:focus-visible{background:#ffffff12;color:#fff;border-color:#ffffff24}
body.cys-portal-shell .cys-side-link.is-active{background:#d6f7eb16;border-color:#6be0b72d;color:#aaf5df}
body.cys-portal-shell .cys-side-icon{width:23px;text-align:center;font-size:19px;line-height:1;color:#83b4c1;font-weight:500;flex-shrink:0}
body.cys-portal-shell .cys-side-link.is-active .cys-side-icon{color:#7eebc7}
body.cys-portal-shell .cys-sidebar-foot{margin-top:auto;padding:18px 11px 7px;font:500 11px/1.6 system-ui;color:#87a8b4;border-top:1px solid #ffffff1e}
body.cys-portal-shell>header,body.cys-portal-shell>main,body.cys-portal-shell>footer{box-sizing:border-box;margin-left:var(--cys-sidebar-width)!important;width:calc(100% - var(--cys-sidebar-width));max-width:none}
body.cys-portal-shell>main{padding:26px clamp(20px,3vw,52px)!important;max-width:1630px;min-width:0}
body.cys-portal-shell>header{padding:15px clamp(20px,3vw,52px)!important;max-width:none;border-bottom:1px solid #e5eaee;background:#fff}
body.cys-portal-shell>header .brand,body.cys-portal-shell>header>.brand{font-weight:750}
body.cys-portal-shell>header .top-nav{display:none}
body.cys-portal-shell>main>.intro{border-radius:18px;box-sizing:border-box;max-width:none}
body.cys-portal-shell>main .card,body.cys-portal-shell>main .panel{border-radius:16px;box-shadow:0 10px 27px #203a5310;border:1px solid #dce6eb}
body.cys-portal-shell :is(button,a,input,select,textarea):focus-visible{outline:3px solid #4ac2ae;outline-offset:2px}
body.cys-portal-shell .cys-portal-toggle{display:none}
body.cys-portal-shell #cys-portal-backdrop{display:none}
body.cys-portal-shell .cys-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.cys-portal-shell [id]{scroll-margin-top:85px}
@media(max-width:960px){
 body.cys-portal-shell>header,body.cys-portal-shell>main,body.cys-portal-shell>footer{margin-left:0!important;width:100%}
 body.cys-portal-shell>header{padding-left:106px!important;min-height:65px}
 body.cys-portal-shell>main{padding:21px 16px!important}
 body.cys-portal-shell>#cys-portal-sidebar{transform:translateX(-105%);transition:transform .2s ease;box-shadow:14px 0 50px #0e253647;width:min(290px,87vw)}
 body.cys-portal-open>#cys-portal-sidebar{transform:translateX(0)}
 body.cys-portal-shell .cys-portal-toggle{box-sizing:border-box;display:block;position:fixed;top:11px;left:12px;z-index:62;padding:9px 12px;min-height:42px;border:1px solid #dae7e9;background:#fff;color:#133c47;border-radius:11px;font:750 12px/1 system-ui;box-shadow:0 3px 12px #132f421b;cursor:pointer}
 body.cys-portal-shell #cys-portal-backdrop{display:none;position:fixed;inset:0;background:#071b2fb0;border:0;z-index:59;cursor:pointer}
 body.cys-portal-open #cys-portal-backdrop{display:block}
}
@media(prefers-reduced-motion:reduce){body.cys-portal-shell .cys-side-link,body.cys-portal-shell>#cys-portal-sidebar{transition:none}}
