/* Crystal Shell v2 — local, namespaced, non-destructive */
body.crystal-shell-v2{
  --cs-left: 286px;
  --cs-right: 310px;
  --cs-top: 78px;
  background:#020814;
}
body.crystal-shell-v2 .cs-topbar,
body.crystal-shell-v2 .cs-left,
body.crystal-shell-v2 .cs-right{box-sizing:border-box;font-family:inherit;}
body.crystal-shell-v2 .cs-topbar{
  position:fixed;top:0;left:var(--cs-left);right:var(--cs-right);height:var(--cs-top);z-index:900;
  display:flex;align-items:center;gap:18px;padding:0 24px;
  background:linear-gradient(180deg,rgba(5,9,22,.96),rgba(5,9,22,.78));
  border-bottom:1px solid rgba(100,210,255,.16);backdrop-filter:blur(18px);
  transition:left .25s ease,right .25s ease;
}
body.crystal-shell-v2 .cs-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;min-width:220px;}
body.crystal-shell-v2 .cs-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#00eaff,#9b5cff);box-shadow:0 0 28px rgba(0,234,255,.35);}
body.crystal-shell-v2 .cs-brand strong{display:block;font-size:18px;letter-spacing:.12em;line-height:1;color:#8ff7ff;}
body.crystal-shell-v2 .cs-brand span{display:block;font-size:10px;letter-spacing:.18em;color:#64d9ff;text-transform:uppercase;margin-top:4px;}
body.crystal-shell-v2 .cs-corpnav{display:flex;align-items:center;gap:10px;flex:1;justify-content:center;min-width:0;}
body.crystal-shell-v2 .cs-corpnav a{color:rgba(230,245,255,.82);font-size:12px;font-weight:900;text-decoration:none;letter-spacing:.12em;text-transform:uppercase;padding:9px 11px;border-radius:10px;white-space:nowrap;}
body.crystal-shell-v2 .cs-corpnav a:hover,body.crystal-shell-v2 .cs-corpnav a.active{background:rgba(0,220,255,.12);color:#8ff7ff;}
body.crystal-shell-v2 .cs-actions{display:flex;align-items:center;gap:10px;}
body.crystal-shell-v2 .cs-btn{border:1px solid rgba(0,220,255,.25);background:rgba(12,20,45,.7);color:#fff;text-decoration:none;border-radius:12px;padding:9px 13px;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
body.crystal-shell-v2 .cs-toggle{width:42px;height:42px;border-radius:14px;border:1px solid rgba(130,91,255,.55);background:rgba(35,18,78,.85);color:#fff;font-weight:900;cursor:pointer;flex-shrink:0;}
body.crystal-shell-v2 .cs-toggle[aria-expanded="true"]{border-color:rgba(0,220,255,.55);box-shadow:0 0 20px rgba(0,220,255,.25);}
body.crystal-shell-v2 .cs-left,
body.crystal-shell-v2 .cs-right{
  position:fixed;top:0;bottom:0;z-index:920;background:linear-gradient(180deg,rgba(4,8,25,.98),rgba(7,8,22,.96));
  border-color:rgba(100,210,255,.16);backdrop-filter:blur(18px);overflow:auto;
  transition:transform .25s ease,visibility .25s ease;
}
body.crystal-shell-v2 .cs-left{left:0;width:var(--cs-left);border-right:1px solid rgba(100,210,255,.16);padding:22px 16px;}
body.crystal-shell-v2 .cs-right{right:0;width:var(--cs-right);border-left:1px solid rgba(120,90,255,.2);padding:20px 16px;}

@media (min-width: 981px){
  body.crystal-shell-v2.cs-left-closed .cs-left{
    transform:translateX(-100%);
    visibility:hidden;
    pointer-events:none;
  }
  body.crystal-shell-v2.cs-right-closed .cs-right{
    transform:translateX(100%);
    visibility:hidden;
    pointer-events:none;
  }
  body.crystal-shell-v2.cs-left-closed .cs-topbar{left:0;}
  body.crystal-shell-v2.cs-right-closed .cs-topbar{right:0;}
  body.crystal-shell-v2.cs-left-closed main,
  body.crystal-shell-v2.cs-left-closed footer,
  body.crystal-shell-v2.cs-left-closed section[data-quantara-theme-cta]{margin-left:0!important;}
  body.crystal-shell-v2.cs-right-closed main,
  body.crystal-shell-v2.cs-right-closed footer,
  body.crystal-shell-v2.cs-right-closed section[data-quantara-theme-cta]{margin-right:0!important;}
  body.crystal-shell-v2.cs-left-closed.cs-right-closed .cs-topbar{left:0;right:0;}
}

body.crystal-shell-v2 .cs-side-head{display:flex;align-items:center;gap:12px;margin-bottom:26px;position:relative;padding-right:46px;}
body.crystal-shell-v2 .cs-side-logo{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;border:1px solid rgba(0,220,255,.32);background:rgba(15,22,50,.85);color:#65f7ff;font-weight:900;flex-shrink:0;}
body.crystal-shell-v2 .cs-side-head strong{display:block;color:#fff;font-size:18px;letter-spacing:.04em;}
body.crystal-shell-v2 .cs-side-head span{display:block;color:#9fb4d8;font-size:12px;margin-top:3px;}
body.crystal-shell-v2 .cs-group{margin:22px 0;}
body.crystal-shell-v2 .cs-group-title{color:#60efff;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;margin:0 0 12px;}
body.crystal-shell-v2 .cs-link{display:flex;align-items:center;gap:12px;color:#d9e8ff;text-decoration:none;font-weight:800;font-size:14px;padding:12px 10px;border-radius:13px;margin:5px 0;background:rgba(255,255,255,.025);border:1px solid transparent;}
body.crystal-shell-v2 .cs-link:hover,body.crystal-shell-v2 .cs-link.active{background:rgba(41,24,91,.82);border-color:rgba(118,91,255,.42);color:#fff;}
body.crystal-shell-v2 .cs-icon{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:rgba(0,220,255,.08);color:#75f7ff;flex-shrink:0;}
body.crystal-shell-v2 .cs-right .cs-side-head{margin-bottom:20px;}
body.crystal-shell-v2 .cs-cta{display:block;margin:14px 0;padding:14px 16px;border-radius:16px;border:1px solid rgba(0,220,255,.24);background:linear-gradient(135deg,rgba(0,220,255,.12),rgba(139,91,255,.16));text-decoration:none;color:#fff;font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:12px;}
body.crystal-shell-v2 main{margin-left:var(--cs-left);margin-right:var(--cs-right);padding-top:var(--cs-top);transition:margin .25s ease;}
body.crystal-shell-v2 footer,body.crystal-shell-v2 section[data-quantara-theme-cta]{margin-left:var(--cs-left);margin-right:var(--cs-right);transition:margin .25s ease;}
body.crystal-shell-v2 .hero{padding-top:90px;}
body.crystal-shell-v2 .cs-panel-close{
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border-radius:12px;
  border:1px solid rgba(120,220,255,.28);
  background:linear-gradient(135deg,rgba(0,220,255,.12),rgba(139,91,255,.20));
  color:#fff;font-weight:900;cursor:pointer;display:grid;place-items:center;
  box-shadow:0 0 18px rgba(0,220,255,.10);
}
body.crystal-shell-v2 .cs-panel-close:hover{border-color:rgba(120,220,255,.55);box-shadow:0 0 24px rgba(0,220,255,.22);}
body.crystal-shell-v2 .cs-drawer-backdrop{
  display:none;position:fixed;inset:0;z-index:1190;
  background:rgba(2,6,18,.62);backdrop-filter:blur(4px);
}
body.crystal-shell-v2.cs-shell-drawer-open .cs-drawer-backdrop{display:block;}
@media(max-width:1180px){
  body.crystal-shell-v2{--cs-left:250px;--cs-right:280px;}
  body.crystal-shell-v2 .cs-corpnav a{font-size:11px;padding:8px 7px;}
}
@media(max-width:980px){
  body.crystal-shell-v2 .cs-left,
  body.crystal-shell-v2 .cs-right{
    width:min(86vw,320px)!important;
    top:68px!important;
    bottom:0!important;
    z-index:1200!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  body.crystal-shell-v2 .cs-left{left:0!important;right:auto!important;transform:translateX(-105%)!important;}
  body.crystal-shell-v2 .cs-right{right:0!important;left:auto!important;transform:translateX(105%)!important;}
  body.crystal-shell-v2.cs-left-open .cs-left{transform:translateX(0)!important;}
  body.crystal-shell-v2.cs-right-open .cs-right{transform:translateX(0)!important;}
  body.crystal-shell-v2 .cs-topbar{left:0!important;right:0!important;height:68px;padding:0 12px;}
  body.crystal-shell-v2 .cs-corpnav{display:none;}
  body.crystal-shell-v2 main,
  body.crystal-shell-v2 footer,
  body.crystal-shell-v2 section[data-quantara-theme-cta]{margin-left:0!important;margin-right:0!important;}
  body.crystal-shell-v2 .hero{padding-top:78px;}
  body.crystal-shell-v2 .cs-panel-close{display:grid!important;}
  body.crystal-shell-v2.cs-left-open .cs-left,
  body.crystal-shell-v2.cs-right-open .cs-right{box-shadow:0 30px 80px rgba(0,0,0,.55);}
}
