/* JanCares mobile release: persistent Allen T-style navigation and clean workspaces. */
@media (min-width:601px) and (max-width:920px){
 body.admin-authenticated .shell,body.member-authenticated .shell{
  display:grid!important;grid-template-columns:194px minmax(0,1fr)!important;align-items:start
 }
 body.admin-authenticated .side,body.member-authenticated .side{
  display:block!important;grid-column:1!important;grid-row:1!important;position:sticky!important;
  inset:auto!important;top:0!important;transform:none!important;visibility:visible!important;
  pointer-events:auto!important;width:194px!important;height:100dvh!important;max-height:100dvh!important;
  padding:22px 12px!important;background:#fff!important;border-right:1px solid #dbe6ef!important;
  box-shadow:none!important;overflow-y:auto!important;z-index:45!important
 }
 body.admin-authenticated .main,body.member-authenticated .main{
  grid-column:2!important;grid-row:1!important;min-width:0!important;
  width:100%!important;padding:0 18px 36px!important
 }
 body.admin-authenticated .side .brand,body.member-authenticated .side .brand{display:block!important;font-size:21px!important}
 body.admin-authenticated .side .nav,body.member-authenticated .side .nav{border:0!important;margin:23px 0 0!important}
 body.admin-authenticated .side .nav button,body.member-authenticated .side .nav button{
  flex-direction:row!important;justify-content:flex-start!important;min-height:46px!important;
  padding:10px 9px!important;font-size:12px!important;gap:9px!important
 }
 body.admin-authenticated .side .nav .jc-nav-label,body.member-authenticated .side .nav .jc-nav-label{font-size:12px!important;text-align:left!important}
 body.admin-authenticated .side .nav button.active,body.member-authenticated .side .nav button.active{
  color:#1264a2!important;background:#edf6ff!important;border-left:3px solid #1687cf!important
 }
 .jc-nav-trigger,.jc-drawer-close,.jc-nav-backdrop,.jc-drawer-footer{display:none!important}
 body.admin-authenticated .top,body.member-authenticated .top{margin:0 -18px 18px!important;padding:13px 18px!important}
}
@media (max-width:600px){
 :root{--jc-rail-width:69px}
 body.admin-authenticated .shell,body.member-authenticated .shell{
  display:grid!important;grid-template-columns:var(--jc-rail-width) minmax(0,1fr)!important;
  align-items:start!important;min-width:0!important
 }
 body.admin-authenticated .side,body.member-authenticated .side{
  display:block!important;grid-column:1!important;grid-row:1!important;
  position:sticky!important;top:0!important;left:auto!important;bottom:auto!important;
  transform:none!important;visibility:visible!important;pointer-events:auto!important;
  width:var(--jc-rail-width)!important;height:100dvh!important;max-height:100dvh!important;
  padding:13px 5px calc(20px + env(safe-area-inset-bottom))!important;
  border:0!important;border-right:1px solid #dce8f2!important;border-radius:0!important;
  background:#fff!important;box-shadow:1px 0 14px #23466a0b!important;
  overflow-x:hidden!important;overflow-y:auto!important;z-index:50!important
 }
 body.admin-authenticated .main,body.member-authenticated .main{
  display:block!important;grid-column:2!important;grid-row:1!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0 10px calc(34px + env(safe-area-inset-bottom))!important;
  overflow-wrap:break-word!important
 }
 body.admin-authenticated .side .brand,body.member-authenticated .side .brand{display:none!important}
 body.admin-authenticated .side .nav,body.member-authenticated .side .nav{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;margin:9px 0 0!important;padding:0!important;
  border:0!important;overflow:visible!important
 }
 body.admin-authenticated .side .nav button,body.member-authenticated .side .nav button{
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
  width:100%!important;min-height:61px!important;padding:7px 2px!important;
  gap:4px!important;border:1px solid transparent!important;border-left:2px solid transparent!important;
  border-radius:11px!important;background:transparent!important;color:#526b84!important;
  box-shadow:none!important;white-space:normal!important
 }
 body.admin-authenticated .side .nav button.active,body.member-authenticated .side .nav button.active{
  background:#eaf5ff!important;color:#1269ad!important;border-color:#cde7fb!important;
  border-left-color:#208acc!important
 }
 body.admin-authenticated .side .nav .jc-nav-icon,body.member-authenticated .side .nav .jc-nav-icon{
  font-size:21px!important;min-width:0!important;line-height:1.1!important
 }
 body.admin-authenticated .side .nav .jc-nav-label,body.member-authenticated .side .nav .jc-nav-label{
  font-size:9px!important;font-weight:760!important;line-height:1.15!important;
  text-align:center!important;overflow-wrap:anywhere!important
 }
 body.admin-authenticated .side .jc-drawer-close,body.member-authenticated .side .jc-drawer-close,
 body.admin-authenticated .side .jc-drawer-footer,body.member-authenticated .side .jc-drawer-footer{display:none!important}
 body.admin-authenticated .side.jc-expanded,body.member-authenticated .side.jc-expanded{
  position:fixed!important;inset:0 auto 0 0!important;grid-column:auto!important;
  width:min(294px,85vw)!important;height:100dvh!important;
  padding:22px 14px calc(20px + env(safe-area-inset-bottom))!important;
  background:#fff!important;z-index:101!important;box-shadow:16px 0 50px #092d5440!important;
  visibility:visible!important;pointer-events:auto!important
 }
 body.admin-authenticated .side.jc-expanded .brand,body.member-authenticated .side.jc-expanded .brand{
  display:block!important;font-size:23px!important;margin:0 43px 20px 4px!important;
  padding:0!important;color:#144b7a!important
 }
 body.admin-authenticated .side.jc-expanded .nav,body.member-authenticated .side.jc-expanded .nav{margin-top:18px!important}
 body.admin-authenticated .side.jc-expanded .nav button,body.member-authenticated .side.jc-expanded .nav button{
  flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;
  min-height:49px!important;padding:11px 12px!important;gap:12px!important
 }
 body.admin-authenticated .side.jc-expanded .nav .jc-nav-icon,body.member-authenticated .side.jc-expanded .nav .jc-nav-icon{font-size:22px!important}
 body.admin-authenticated .side.jc-expanded .nav .jc-nav-label,body.member-authenticated .side.jc-expanded .nav .jc-nav-label{font-size:13px!important;text-align:left!important}
 body.admin-authenticated .side.jc-expanded .jc-drawer-close,body.member-authenticated .side.jc-expanded .jc-drawer-close{
  display:flex!important;position:absolute!important;right:12px!important;top:16px!important
 }
 body.admin-authenticated .side.jc-expanded .jc-drawer-footer,body.member-authenticated .side.jc-expanded .jc-drawer-footer{display:grid!important}
 .jc-nav-trigger{display:inline-flex!important;min-width:39px!important;width:40px!important;min-height:40px!important;height:40px!important;border-radius:11px!important}
 body.admin-authenticated .top,body.member-authenticated .top{
  display:flex!important;align-items:center!important;gap:7px!important;min-height:64px!important;
  margin:0 -10px 13px!important;padding:9px 10px!important;flex-wrap:nowrap!important
 }
 body.admin-authenticated .top h1,body.member-authenticated .top h1{font-size:19px!important}
 body.admin-authenticated .top .eyebrow,body.member-authenticated .top .eyebrow{font-size:9px!important}
 body.admin-authenticated .top .jc-theme-switch,body.member-authenticated .top .jc-theme-switch{width:38px!important;min-width:38px!important;height:40px!important}
 body.admin-authenticated .hero,body.member-authenticated .hero{padding:16px!important;border-radius:17px!important}
 body.admin-authenticated .hero .btn,body.member-authenticated .hero .btn{display:none!important}
 body.admin-authenticated .hero h2,body.member-authenticated .hero h2{font-size:20px!important;line-height:1.2!important}
 body.admin-authenticated .hero p,body.member-authenticated .hero p{font-size:11px!important;line-height:1.4!important}
 body.admin-authenticated .hero .pill,body.member-authenticated .hero .pill{font-size:9px!important;padding:5px 9px!important}
 body.admin-authenticated .stats,body.member-authenticated .stats{gap:8px!important;margin:9px 0 14px!important}
 body.admin-authenticated .stat,body.member-authenticated .stat{padding:13px!important;border-radius:14px!important}
 body.admin-authenticated .stat label,body.member-authenticated .stat label{font-size:10px!important}
 body.admin-authenticated .stat span,body.member-authenticated .stat span{display:none!important}
 body.admin-authenticated .stat strong,body.member-authenticated .stat strong{font-size:21px!important;margin:8px 0 0!important}
 body.admin-authenticated .panel,body.member-authenticated .panel{
  padding:14px!important;border-radius:15px!important;overflow-x:auto!important;max-width:100%!important
 }
 body.admin-authenticated .panel h3,body.member-authenticated .panel h3{font-size:15px!important;margin-bottom:13px!important}
 body.admin-authenticated .panel .footnote,body.member-authenticated .panel .footnote{font-size:11px!important;line-height:1.35!important;margin-top:9px!important}
 body.admin-authenticated .workspace-view .layout,body.member-authenticated .jc-member-view .layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.admin-authenticated .main input,body.member-authenticated .main input,
 body.admin-authenticated .main select,body.member-authenticated .main select,
 body.admin-authenticated .main textarea,body.member-authenticated .main textarea{font-size:16px!important;min-width:0!important;max-width:100%!important}
 body.admin-authenticated .jc-application-toolbar,body.member-authenticated .jc-control-line{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
 body.admin-authenticated .report-grid,body.admin-authenticated .scheme-metrics{grid-template-columns:minmax(0,1fr)!important}
}
@media (max-width:420px){
 body.admin-authenticated .stats,body.member-authenticated .stats,
 body.admin-authenticated .workspace-view .stats,body.member-authenticated .jc-member-view .stats{
  grid-template-columns:minmax(0,1fr)!important
 }
 body.admin-authenticated .stat:last-child,body.member-authenticated .stat:last-child{grid-column:auto!important}
 body.admin-authenticated .scheme-switch,body.member-authenticated .scheme-switch{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
}
@media (max-width:600px){
 #adminGate{padding:14px 13px 35px!important;gap:11px!important;grid-template-columns:minmax(0,1fr)!important}
 #adminGate .gate-intro{padding:14px 6px 4px!important}
 #adminGate .gate-intro h1{font-size:clamp(22px,6vw,27px)!important;line-height:1.15!important}
 #adminGate .gate-intro p{font-size:12px!important;line-height:1.4!important}
 #adminGate .auth-tabs{max-width:100%!important}
 #adminGate .lock{max-width:100%!important;margin:0!important;padding:19px 16px!important;border-radius:17px!important}
 #adminGate .lock h2{font-size:20px!important}
 #adminGate .lock p{font-size:12px!important;line-height:1.4!important}
 #adminGate input{min-width:0!important;max-width:100%!important;font-size:16px!important}
 #memberOnboarding{padding:18px 14px calc(35px + env(safe-area-inset-bottom))!important}
 #memberOnboarding .welcome{margin-bottom:14px!important;padding:0!important}
 #memberOnboarding .welcome h1{font-size:24px!important;margin:5px 0!important}
 #memberOnboarding .welcome p{font-size:12px!important;line-height:1.4!important}
 #memberOnboarding .lock,#memberOnboarding .jc-step{padding:17px 14px!important;border-radius:17px!important;margin-bottom:12px!important}
 #memberOnboarding .lock h2,#memberOnboarding .jc-step h2{font-size:20px!important;margin:0 0 12px!important}
 #memberOnboarding .lock p,#memberOnboarding .jc-step p{font-size:12px!important;line-height:1.4!important}
 #memberOnboarding .lock label,#memberOnboarding .jc-step label{font-size:12px!important}
 #memberOnboarding input:not([type=checkbox]),#memberOnboarding select,#memberOnboarding textarea{min-height:47px!important}
}
html[data-jc-theme=dark] body.admin-authenticated .side,
html[data-jc-theme=dark] body.member-authenticated .side{
 background:#172538!important;color:#e9f3ff!important;border-color:#2f4760!important
}
html[data-jc-theme=dark] body.admin-authenticated .side .nav button,
html[data-jc-theme=dark] body.member-authenticated .side .nav button{color:#bdcee2!important}
html[data-jc-theme=dark] body.admin-authenticated .side .nav button.active,
html[data-jc-theme=dark] body.member-authenticated .side .nav button.active{
 background:#254869!important;color:#f1f7ff!important;border-color:#426b90!important
}
html[data-jc-theme=dark] body.admin-authenticated .main,
html[data-jc-theme=dark] body.member-authenticated .main{background:#0b111b!important}
@media(prefers-reduced-motion:reduce){
 body.admin-authenticated .side,body.member-authenticated .side{transition:none!important}
}
