/* NEXA Academy · administrative design layer */
:root{--nexa-navy:#102b50;--nexa-ocean:#115b7c;--nexa-teal:#0b938d;--nexa-gold:#d59f41}
body.academy-page,body.nexa-admin-page{background:#f0f5fb;color:#213754}
.ah-shell,.cx-shell,.admin-shell{background:linear-gradient(160deg,#f1f5fb,#f8fbff);min-height:100vh}
.ah-sidebar,.cx-sidebar,.admin-sidebar{background:radial-gradient(circle at -5% -7%,#438bd171,transparent 34%),radial-gradient(circle at 110% 90%,#1bafaa45,transparent 42%),linear-gradient(157deg,#102448,#123b60 68%,#136568)!important;color:#e4f5ff!important;box-shadow:8px 0 38px #001e3333}
.ah-brand,.admin-brand,.cx-logo{border-color:#ffffff23!important}
.ah-monogram,.admin-brand-mark,.cx-logo>span{background:linear-gradient(135deg,#27c8b4,#6b83e5)!important;box-shadow:0 8px 26px #002b3a80!important;border-radius:14px!important}
.ah-sidebar .ah-nav button,.ah-sidebar .ah-nav a,.cx-sidebar .cx-nav button,.admin-sidebar .admin-side-link{transition:background .15s,color .15s,transform .15s}
.ah-sidebar .ah-nav button:hover,.ah-sidebar .ah-nav button.active,.cx-sidebar .cx-nav button.active,.cx-sidebar .cx-nav button:hover,.admin-sidebar .admin-side-link.selected,.admin-sidebar .admin-side-link:hover{background:#ffffff24!important;color:#fff!important}
.ah-top,.cx-topbar,.admin-topbar{background:#ffffffed!important;border-bottom:1px solid #dde8f1!important;box-shadow:0 6px 20px #0d3d6810}
.ah-top-right{display:flex!important;gap:7px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.ah-top-right a,.admin-top-actions .admin-top-btn{border-color:#d3e6ee!important;background:#f7fafc!important;color:#165c7d!important}
.ah-top-right a[href*="admin-curriculum"]{background:linear-gradient(125deg,#0d8c8c,#1775ab)!important;color:white!important;border:0!important;box-shadow:0 8px 17px #098d9024}
.ah-content,.cx-content,.admin-main{background:transparent}
.ah-card,.cx-card,.admin-card{border:1px solid #dce8f0!important;border-radius:19px!important;box-shadow:0 9px 34px #1a47700d!important;background:white!important}
.ah-heading,.cx-header{padding:22px 27px;margin:0 0 22px;border-radius:18px;background:linear-gradient(115deg,#183669,#0d657a 95%);box-shadow:0 16px 29px #12507022}
.ah-heading h1,.cx-header h1{color:#fff!important;font-size:clamp(25px,3vw,34px)!important;letter-spacing:-.035em!important}
.ah-heading p,.cx-header p{color:#d7eff8!important;font-size:12px!important;line-height:1.7!important}
.ah-kicker,.cx-header small{color:#9ff3d6!important}
.ah-stat{border:1px solid #dfeaf2!important;border-radius:17px!important;box-shadow:0 8px 22px #0e446a0b!important}
.ah-stat:nth-child(6n+1),.cx-metric:nth-child(4n+1){background:linear-gradient(145deg,#e5f5ff,#fff)!important}
.ah-stat:nth-child(6n+2),.cx-metric:nth-child(4n+2){background:linear-gradient(145deg,#e6fdf2,#fff)!important}
.ah-stat:nth-child(6n+3),.cx-metric:nth-child(4n+3){background:linear-gradient(145deg,#fff6e3,#fff)!important}
.ah-stat:nth-child(6n+4),.cx-metric:nth-child(4n+4){background:linear-gradient(145deg,#f2ecff,#fff)!important}
.ah-stat:nth-child(6n+5){background:linear-gradient(145deg,#fceef3,#fff)!important}
.ah-stat:nth-child(6n+6){background:linear-gradient(145deg,#e4f9f8,#fff)!important}
.ah-stat strong,.cx-metric b{color:#183d64!important;font-weight:900!important}
.ah-card h2,.cx-card h2{color:#16385c!important}
.ah-btn.primary,.cx-btn.primary,.admin-primary,.ea-controls .accent{background:linear-gradient(120deg,#078f84,#187ba4)!important;color:#fff!important;border:0!important;box-shadow:0 6px 17px #13989920!important}
.ah-btn,.cx-btn{transition:transform .15s,background .15s,box-shadow .15s}
.ah-btn:hover,.cx-btn:hover{transform:translateY(-1px)}
.ah-field input:focus,.ah-field textarea:focus,.cx-form input:focus,.cx-form textarea:focus{outline:3px solid #17a6ad29!important;border-color:#26a69b!important}
.ah-alert,.cx-info{background:linear-gradient(130deg,#e8fbf3,#f7fcff)!important;color:#147f70!important;border:1px solid #bfead8!important;border-radius:13px!important;box-shadow:0 5px 20px #00996816!important}
.ah-alert.error,.cx-warning{background:#fff2ee!important;color:#b44345!important;border-color:#f0c4c2!important}
.ah-item,.cx-item{transition:background .2s}.ah-item:hover,.cx-item:hover{background:#f8fbff}
.ah-table th{background:#eaf2f9!important;color:#325c7e!important;font-weight:900}
.ah-table td{border-color:#edf1f5!important}
.admin-side-link[href*="admin-curriculum"]{color:#a0ffcf!important;font-weight:900!important}
.nx-admin-hub{gap:5px!important;flex-wrap:wrap!important;max-width:min(540px,calc(100vw - 30px))}.nx-admin-hub a{background:linear-gradient(125deg,#133b65,#0b857e)!important;box-shadow:0 7px 20px #124c6a3b!important}
@media(max-width:850px){.ah-heading,.cx-header{padding:19px!important}.ah-content,.cx-content{padding:17px!important}}
@media(max-width:680px){.nx-admin-hub{position:static!important;margin:15px!important;justify-content:center!important}.nx-admin-hub a{font-size:10px!important;padding:9px 12px!important}.ah-top-right{justify-content:flex-start}.ah-top{flex-wrap:wrap}.ah-stat strong{font-size:22px!important}}
