/* AX Education, Update 40 (27 Oct 2026), loaded only in AX Education (js/eduhub.js).
   1. The school's Dashboard card: the Neon Rail card of css/axcards.css (.axm-nr) with the school's figures. Only
      .axm-sch, so the members' Dashboard card stays exactly as approved.
   2. The feature cards under it (his ask, 13:20: "Notifications comes as two lines, I want everything to be perfectly
      aligned"; picture approved 13:26): the icon on top, the name on one line across the full card, one short line
      under it, every card the same height; a name never breaks inside a word. */

.axm-sch .axnr-hh{gap:8px}
.axm-sch .sch-live{flex:none;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:12px;background:#EAF6F0;color:#14805F;font-size:11px;font-weight:700;line-height:1}
.axm-sch .sch-live i{width:6px;height:6px;border-radius:50%;background:#1FB36B;box-shadow:0 0 0 3px rgba(31,179,107,.18)}
html .axm-nr.axm-sch .sch-go{background:#135333;border-color:#135333;color:#fff;box-shadow:0 0 0 4px rgba(19,83,51,.08)}
.axm-sch .axnr-ring b{gap:1px}
.axm-sch .axnr-ring b small{font-size:9px;font-weight:700;color:#4A6A60;margin-top:2px}
.axm-sch .axnr-ring .sch-nd{font-style:normal;font-size:9px;font-weight:700;color:#6B807A;letter-spacing:-.01em;white-space:nowrap}
.axm-sch .axnr-tile em{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.axm-sch .sch-nums{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:10px;padding-top:9px;border-top:1px solid #EAF0ED}
.axm-sch .sch-nums>span{display:flex;flex-direction:column;align-items:center;min-width:0;padding:2px;cursor:pointer}
.axm-sch .sch-nums>span+span{border-inline-start:1px solid #EAF0ED}
.axm-sch .sch-nums b{font-size:16px;font-weight:800;color:#10302A;line-height:1.15;min-height:18px}
.axm-sch .sch-nums small{font-size:10.5px;font-weight:600;color:#4A6A60;margin-top:2px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.axm-sch .sch-task{display:flex;align-items:center;gap:10px;margin-top:10px;padding:8px 10px;border-radius:14px;background:#FBF8EA;border:1px solid #EFE6BF;cursor:pointer;min-width:0}
.axm-sch .sch-task.calm{background:#F3F9F6;border-color:#DCEDE5}
.axm-sch .sch-ti{flex:none;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9px;background:#fff;color:#A79421}
.axm-sch .sch-task.calm .sch-ti{color:#14A07E}
.axm-sch .sch-tt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.axm-sch .sch-tt b{font-size:12.5px;font-weight:700;color:#3D3A1C;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.axm-sch .sch-tt small{font-size:11px;color:#7C7650;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.axm-sch .sch-task.calm .sch-tt b{color:#10302A}
.axm-sch .sch-task.calm .sch-tt small{color:#4A6A60}
.axm-sch .sch-task em{flex:none;font-style:normal;font-size:11px;font-weight:700;color:#fff;background:#A79421;border-radius:10px;padding:4px 9px;line-height:1.1;white-space:nowrap}
.axm-sch .sch-task.calm em{background:#14A07E}
.axm-sch .axnr-tile:focus-visible,.axm-sch .sch-nums>span:focus-visible,.axm-sch .sch-task:focus-visible{outline:2px solid #14A07E;outline-offset:2px}
@media (max-width:360px){
  .axm-sch .sch-live{display:none}
  .axm-sch .sch-nums small{font-size:9px}
  .axm-sch .axnr-ring .sch-nd{font-size:8px}
}
@media (min-width:900px){
  .axm-sch .axnr-ring b small{font-size:11px}
  .axm-sch .axnr-ring .sch-nd{font-size:11px}
  .axm-sch .sch-nums b{font-size:20px;min-height:23px}
  .axm-sch .sch-nums small{font-size:12px}
  .axm-sch .sch-task{padding:11px 14px}
  .axm-sch .sch-tt b{font-size:14px}
  .axm-sch .sch-tt small{font-size:12px}
}

/* 2. the feature cards */
html.ax-edu .axm-grid.cmp .axm-card.c{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;min-height:108px;padding:14px}
html.ax-edu .axm-grid.cmp .axm-card.c .axm-cc{width:100%;margin-top:auto;padding-top:12px}
html.ax-edu .axm-grid.cmp .axm-card.c .axm-cc b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
html.ax-edu .axm-grid.cmp .axm-card.c .axm-cc small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ax-edu .axm-grid.cmp .axm-card.c.w1{flex-direction:row;align-items:center;min-height:66px}
html.ax-edu .axm-grid.cmp .axm-card.c.w1 .axm-cc{margin-top:0;padding-top:0;margin-inline-start:12px}
@media (max-width:360px){ html.ax-edu .axm-grid.cmp .axm-card.c{padding:13px 12px} html.ax-edu .axm-grid.cmp .axm-card.c .axm-cc b{font-size:13px;letter-spacing:-.02em} }

/* 3. The gold Welcome card (Update 42, picture approved 27 Oct 2026, 15:49): the school's own card leads AXHub, with
   the arrow to the full dashboard, the join code with Copy, the academic year, four numbers, Compliance and School
   Plan, the most serious alert, Academic Setup and Readiness. Only .axm-edw, in AX Education. */
html .axm-hero.axm-edw,html.axm-gold .axm-hero.axm-edw,html .v-board .axm-body>.axm-hero.axm-edw,html.axm-gold .v-board .axm-body>.axm-hero.axm-edw{
  position:relative;overflow:hidden;padding:16px 16px 14px!important;border-radius:24px!important;color:#1F1A08;cursor:pointer;
  background:linear-gradient(150deg,#FBF4DD 0%,#F6EBC8 55%,#FBF6E6 100%)!important;border:1px solid #EAD9A0!important;
  box-shadow:0 14px 30px -18px rgba(140,110,20,.45)!important}
html .axm-hero.axm-edw::before,html .axm-hero.axm-edw::after{display:none!important}
.axm-edw .edw-rings{position:absolute;inset-inline-end:-70px;top:-60px;width:260px;height:260px;border-radius:50%;border:1.5px solid rgba(167,148,33,.16);pointer-events:none}
.axm-edw .edw-rings::after{content:"";position:absolute;inset:34px;border-radius:50%;border:1.5px solid rgba(167,148,33,.14)}
.axm-edw .edw-h{position:relative;display:flex;align-items:center;gap:12px}
.axm-edw .edw-lg{flex:none;width:52px;height:52px;border-radius:50%;background:#FFFDF6;border:1px solid #EAD9A0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.axm-edw .edw-lg img{width:100%;height:100%;object-fit:cover}
.axm-edw .edw-lg i{font-style:normal;font-size:18px;font-weight:700;color:#7A6512}
.axm-edw .edw-who{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.axm-edw .edw-who b{font-size:13.5px;font-weight:700;color:#7A6512;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.axm-edw .edw-who small{font-size:12.5px;color:#8C7B3A;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.axm-edw .edw-go{flex:none;width:40px;height:40px;border-radius:50%;background:#135333;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 4px rgba(19,83,51,.10);cursor:pointer}
[dir=rtl] .axm-edw .edw-go svg{transform:scaleX(-1)}
.axm-edw .edw-t{position:relative;display:block;margin-top:14px;font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.15;color:#6E5A0C;overflow-wrap:anywhere}
.axm-edw .edw-rows{position:relative;display:block;margin-top:8px}
.axm-edw .edw-r{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid rgba(167,148,33,.22);font-size:14px}
.axm-edw .edw-r:last-child{border-bottom:0}
.axm-edw .edw-r>span:first-child{color:#6F6332;flex:none}
.axm-edw .edw-r b{font-weight:700;color:#1F1A08;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.axm-edw .edw-r b.g{color:#8A7414;letter-spacing:.02em}
.axm-edw .edw-r b.nd{color:#8C7B3A;font-weight:600}
.axm-edw .edw-cp{display:inline-flex;align-items:center;gap:8px;min-width:0}
.axm-edw .edw-copy{flex:none;width:32px;height:32px;border-radius:10px;background:#fff;border:1px solid #EAD9A0;color:#8A7414;display:flex;align-items:center;justify-content:center;cursor:pointer}
.axm-edw .edw-copy:active{transform:scale(.94)}
.axm-edw .edw-stats{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px}
.axm-edw .edw-stats>span{display:flex;flex-direction:column;align-items:center;min-width:0;background:rgba(255,255,255,.72);border:1px solid #EFE2B8;border-radius:14px;padding:9px 3px 8px;cursor:pointer}
.axm-edw .edw-stats b{font-size:17px;font-weight:700;color:#1F1A08;line-height:1.1;min-height:19px;white-space:nowrap}
.axm-edw .edw-stats b small{font-size:10px;color:#8C7B3A;font-weight:700;margin-inline-start:1px}
.axm-edw .edw-stats b small.nd{font-size:11px;font-weight:600}
.axm-edw .edw-stats>span>small{font-size:10.5px;font-weight:600;color:#7A6E3A;margin-top:3px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.axm-edw .edw-duo{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.axm-edw .edw-mt{display:flex;flex-direction:column;min-width:0;background:rgba(255,255,255,.72);border:1px solid #EFE2B8;border-radius:14px;padding:10px 11px;cursor:pointer}
.axm-edw .edw-mtt{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;color:#5A4E1A;white-space:nowrap;overflow:hidden}
.axm-edw .edw-mtt i{flex:none;width:22px;height:22px;border-radius:7px;display:flex;align-items:center;justify-content:center}
.axm-edw .edw-mtt i.c{background:#E6F4EE;color:#135333}.axm-edw .edw-mtt i.p{background:#FBF1D2;color:#8A7414}
.axm-edw .edw-v{display:flex;align-items:baseline;gap:4px;margin-top:6px;min-height:24px;white-space:nowrap;overflow:hidden}
.axm-edw .edw-v b{font-size:20px;font-weight:800;color:#1F1A08}
.axm-edw .edw-v b.nd{font-size:13px;font-weight:700;color:#8C7B3A}
.axm-edw .edw-v small{font-size:11px;color:#7A6E3A;font-weight:600;overflow:hidden;text-overflow:ellipsis}
.axm-edw .edw-bar{display:block;height:6px;border-radius:4px;background:#EFE6C6;margin-top:6px;overflow:hidden}
.axm-edw .edw-bar i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#14A07E,#135333)}
.axm-edw .edw-bar.g i{background:linear-gradient(90deg,#D6AD3A,#A79421)}
.axm-edw .edw-al{position:relative;display:flex;align-items:center;gap:10px;margin-top:8px;background:#FFFDF6;border:1px solid #EFE2B8;border-radius:14px;padding:8px 10px;cursor:pointer;min-width:0}
.axm-edw .edw-al>i{flex:none;width:30px;height:30px;border-radius:9px;background:#FBF1D2;color:#8A7414;display:flex;align-items:center;justify-content:center}
.axm-edw .edw-al.crit>i{background:#FBE9E0;color:#B4532C}
.axm-edw .edw-al.calm>i{background:#E6F4EE;color:#135333}
.axm-edw .edw-at{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.axm-edw .edw-at b{font-size:12.5px;font-weight:700;color:#1F1A08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.axm-edw .edw-at small{font-size:11px;color:#7A6E3A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.axm-edw .edw-al em{flex:none;font-style:normal;font-size:11px;font-weight:700;color:#fff;background:#A79421;border-radius:10px;padding:4px 9px;white-space:nowrap}
.axm-edw .edw-al.crit em{background:#B4532C}
.axm-edw .edw-bt{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.axm-edw .edw-bt>span{height:46px;border-radius:23px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.axm-edw .edw-bt .p{background:#135333;color:#fff}
.axm-edw .edw-bt .s{background:#fff;color:#6E5A0C;border:1px solid #EAD9A0}
.axm-edw [data-esk]:focus-visible{outline:2px solid #135333;outline-offset:2px}
@media (max-width:360px){
  .axm-edw .edw-t{font-size:21px}
  .axm-edw .edw-stats{gap:5px}.axm-edw .edw-stats b{font-size:15px}.axm-edw .edw-stats>span>small{font-size:9.5px}
  .axm-edw .edw-bt>span{font-size:13px}
}
@media (min-width:900px){
  html .axm-hero.axm-edw{padding:22px 24px 20px!important}
  .axm-edw .edw-t{font-size:28px}
  .axm-edw .edw-stats b{font-size:21px}.axm-edw .edw-stats>span>small{font-size:12px}
}
