/* Load after all legacy panel styles. Dashboard owns its header; drawers replace bottom nav. */
body.jm-super-admin #jm-admin-nav{display:none!important}
body.jm-super-admin.jm-dashboard-route #jm-admin-header{display:none!important}
body.jm-super-admin #app{padding-bottom:24px!important}
body.jm-super-admin.jm-dashboard-route #app{margin:0 auto!important;padding-top:0!important;min-height:100dvh!important}
body.jm-super-admin.jm-dashboard-route{padding-top:0!important;padding-bottom:0!important}
body.jm-super-admin.jm-dashboard-route #app>.tabs,body.jm-super-admin.jm-dashboard-route #app>.toolbar{display:none!important}
body.jm-super-admin .jd2 .jd2-brand{margin:0;padding:16px 4px 20px;min-height:0}
body.jm-super-admin .jd2 .jd2-brand button{width:40px;height:40px;display:grid;place-items:center;padding:6px;flex:none}
body.jm-super-admin .jd2 .jd2-brand svg{width:27px;height:27px}
body.jm-super-admin .jd2 .jd2-title{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 18px;width:100%}
body.jm-super-admin .jd2 .jd2-title h2{flex:1 1 auto;min-width:0;white-space:nowrap;margin:0;font-size:27px;line-height:1.5}
body.jm-super-admin .jd2 #jd2-period{width:124px!important;max-width:44%;flex:0 0 124px;min-width:0;height:43px;margin:0!important;padding:7px 12px;line-height:1.5;font-size:14px}
body.jm-super-admin .jd2 .jd2-chart-period select{width:auto;max-width:100%;min-width:160px;margin:0}
#jm-admin-menu.jm-drawer{position:fixed;inset:0 0 0 auto;margin:0;border:0;border-radius:0;width:min(330px,88vw);max-width:88vw;height:100dvh;max-height:100dvh;padding:0;overflow:hidden;box-shadow:-10px 0 40px #10234033;background:#fff;color:#172d4e;direction:rtl}
#jm-admin-menu.jm-drawer::backdrop{background:#14233b66;backdrop-filter:blur(2px)}
#jm-admin-menu .jm-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:20px 18px;border-bottom:1px solid #e1e8f2;height:76px;background:#fff}
#jm-admin-menu .jm-drawer-head strong{font-size:19px}
#jm-admin-menu .jm-drawer-head button{background:#edf3fb;color:#244b7d;border:0;border-radius:9px;width:38px;height:38px;padding:0;font-size:26px}
#jm-admin-menu .jm-drawer-links{display:block;position:static;height:calc(100% - 76px);overflow-y:auto;overscroll-behavior:contain;padding:0 14px calc(25px + env(safe-area-inset-bottom));background:#fff}
#jm-admin-menu .jm-drawer-links section{border:0;border-bottom:1px solid #e5edf7;padding:15px 0;margin:0;box-shadow:none;border-radius:0}
#jm-admin-menu .jm-drawer-links h2{font-size:12px;color:#8794a9;margin:0 12px 8px}
#jm-admin-menu .jm-drawer-links a,#jm-admin-menu .jm-drawer-links button{display:flex;width:100%;align-items:center;gap:12px;font:inherit;font-size:14px;line-height:1.6;text-decoration:none;color:#2c4462;border:0;border-radius:10px;background:transparent;padding:12px;text-align:right}
#jm-admin-menu .jm-drawer-links svg{width:22px;height:22px;flex:none;color:#46688f}
#jm-admin-menu .jm-drawer-links span{flex:1}#jm-admin-menu .jm-drawer-links b{font-size:18px;font-weight:400}
#jm-admin-menu .jm-drawer-links a[aria-current],#jm-admin-menu .jm-drawer-links a:hover{background:#eaf2ff;color:#0863e6}
#jm-admin-menu a:focus-visible,#jm-admin-menu button:focus-visible{outline:2px solid #1976ce;outline-offset:-2px}
@media(max-width:700px){body.jm-super-admin.jm-dashboard-route #app{width:100%!important;padding-left:12px!important;padding-right:12px!important;box-sizing:border-box}body.jm-super-admin .jd2 .jd2-brand{padding-top:14px;padding-bottom:18px}body.jm-super-admin .jd2 .jd2-title h2{font-size:25px}body.jm-super-admin .jd2 .jd2-brand b{font-size:28px}}

body.jm-super-admin .jd2 .jd2-brand .jd2-logo{display:block;width:138px;height:50px;object-fit:contain;flex:none;margin:0}

/* Compact action list with 44px touch targets. */
body.jm-super-admin .jd2 .jd2-attention{padding:12px!important}
body.jm-super-admin .jd2 .jd2-attention h3{margin:0 0 6px!important;line-height:1.5}
body.jm-super-admin .jd2 .jd2-attention .jd2-task{box-sizing:border-box;min-height:44px;height:auto;margin:0!important;padding:6px 0!important;gap:8px;line-height:1.4}
body.jm-super-admin .jd2 .jd2-attention .jd2-task svg{width:21px;height:21px;flex:none}
body.jm-super-admin .jd2 .jd2-attention .jd2-task span{font-size:13px;line-height:1.5}
body.jm-super-admin .jd2 .jd2-attention .jd2-task b{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:2px 8px;border-radius:8px;font-size:14px;line-height:1}
body.jm-super-admin .jd2 .jd2-attention .jd2-task i{font-size:20px;line-height:1;margin-right:2px}
