/* Ax Edu (js/edu.js, 15 Oct 2026). Every rule is scoped to html.ax-edu or to the Ax Edu parts, so AxioraX never sees it. */

/* the mark: the AxioraX mark with Edu beside it */
.edu-lock{display:inline-flex;align-items:center;line-height:1;direction:ltr}
.edu-lock svg{flex:none}
html.ax-edu .door-mid .edu-lock,html.ax-edu .amark .edu-lock{margin:0 auto}
/* in the computer's side panel the mark keeps its own width (desk.css sizes a lone mark to 30px) */
html.ax-desk .drawer.desk-side .desk-brand .edu-lock svg{width:auto;height:24px;max-width:210px}

/* one space: Know Yourself has no switch */
html.ax-edu .asx-sw{display:none}
/* the menu has one list: no Lite and Advanced */
html.ax-edu .dmode{display:none}

/* Create account: Student, Teacher, Institution */

/* Ax Edu Home */
.eh-who{display:inline-flex;align-items:center;gap:7px;height:34px;margin:10px 0 0 .667px;padding:0 10px 0 12px;border-radius:17px;background:var(--green-soft);color:var(--green);font-size:14.5px;font-weight:600}
.eh-who .chev{opacity:.8}
[dir=rtl] .eh-who .chev{transform:scaleX(-1)}
.eh-hero{position:relative;margin-top:18px;padding:20px 20px 18px;border-radius:26px;color:#fff;overflow:hidden;
  background:linear-gradient(150deg,#1C6A43 0%,#135333 62%,#0F462B 100%);box-shadow:0 10px 26px rgba(19,83,51,.20)}
.eh-hero::after{content:"";position:absolute;inset-inline-end:-46px;top:-46px;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,rgba(228,190,63,.30) 0%,rgba(228,190,63,0) 70%);pointer-events:none}
.eh-hero.gold{background:linear-gradient(150deg,#B3A02A 0%,#8C7A14 70%,#7A6A10 100%);box-shadow:0 10px 26px rgba(140,122,20,.22)}
.eh-hero.gold::after{background:radial-gradient(circle,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 70%)}
.eh-hk{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;opacity:.92;max-width:100%}
.eh-hk span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eh-ht{margin-top:8px;font-size:22px;line-height:28px;font-weight:700;letter-spacing:-.01em;max-width:320px}
.eh-hs{margin:6px 0 0;font-size:15px;line-height:21px;opacity:.9;max-width:340px}
.eh-hb{position:relative;z-index:1;display:inline-flex;align-items:center;gap:4px;height:44px;margin-top:16px;padding:0 14px 0 18px;border-radius:22px;background:#fff;color:var(--green);font-size:15.5px;font-weight:700}
.eh-hero.gold .eh-hb{color:#7A6A10}
[dir=rtl] .eh-hb .chev{transform:scaleX(-1)}
.eh-sec{display:flex;align-items:center;justify-content:space-between;margin:26px 0 8px;margin-inline-start:18.667px}
.eh-sec span{font-size:17px;line-height:24px;color:var(--ph)}
.eh-sec button{min-height:36px;padding:0 6px;font-size:15px;font-weight:600;color:var(--green)}
.eh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.eh-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:start;min-height:132px;padding:16px 15px 15px;border-radius:24px;background:var(--row);color:var(--ink)}
.eh-ti{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--green-soft);color:var(--green);margin-bottom:12px}
.eh-tile.gold .eh-ti{background:var(--gold-soft);color:var(--gold-ink)}
.eh-tile b{font-size:16px;line-height:21px;font-weight:700}
.eh-tile span:last-child{margin-top:3px;font-size:13.5px;line-height:18px;color:var(--sub)}
.eh-tile:active,.eh-hb:active{transform:scale(.98)}
.eh .grp{margin-top:0}
html.ax-desk .eh-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
html.ax-desk .eh-tile{cursor:pointer}
html.ax-desk .eh-tile:hover{background:#ECEFEC}
html.ax-desk .eh-hero{padding:26px 28px 24px}
html.ax-desk .eh-ht{font-size:26px;line-height:33px;max-width:520px}
html.ax-desk .eh-hs{max-width:520px}
html.ax-edu .hb-mode{display:none}
/* Create account and Log in: institutions only (16 Oct 2026): one quiet line where the Student, Teacher, Institution switch was */
html.ax-edu .auth.one .edu-only{display:block;flex:none;margin:16px auto 18px;padding:0 4px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;color:#4F6B5C;font:500 clamp(9.8px,3.05vw,13px)/1.4 PJS,'Plus Jakarta Sans',sans-serif;letter-spacing:0}

/* The AX Education dashboard (js/edu.js, 19 Oct 2026) */
/* while the school's dashboard opens (or when it could not): Try again under the line that says so */
html.ax-edu .v-overview .eds-retry{position:absolute;left:50%;top:calc(var(--sat) + 196px);transform:translateX(-50%);width:auto;min-width:160px;padding:0 22px;z-index:2}
html.ax-edu .v-overview .eds-retry[hidden]{display:none}
html.ax-edu .ws-deck.eds-thru{pointer-events:none}
html.ax-edu .v-overview .ws-wait.bare [data-wsw]{max-width:300px;padding:0 20px;text-align:center;line-height:21px}
/* the one left panel: the school at the top (its logo, its whole name, AX Education dashboard under it) */
html.ax-edu .drawer.eds-nav .eds-co{display:flex;align-items:center;gap:12px;flex:none;margin:calc(var(--sat) + 10px) 12px 0;padding-block:8px;padding-inline:5px 10px;min-height:60px;border-radius:18px;text-align:start;color:var(--ink)}
html.ax-edu .drawer.eds-nav .eds-co:active{background:#F4F4F4}
html.ax-edu .drawer.eds-nav .eds-logo{flex:none;width:42px;height:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--green-soft);color:var(--green);box-shadow:inset 0 0 0 1px rgba(19,83,51,.08)}
html.ax-edu .drawer.eds-nav .eds-logo img{width:100%;height:100%;object-fit:cover;display:block}
html.ax-edu .drawer.eds-nav .eds-logo i{font-style:normal;font-size:15px;line-height:1;font-weight:700;letter-spacing:.02em}
html.ax-edu .drawer.eds-nav .eds-cot{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
html.ax-edu .drawer.eds-nav .eds-cot b{font-size:17px;line-height:22px;font-weight:700;text-align:start;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
html.ax-edu .drawer.eds-nav .eds-cot small{font-size:13px;line-height:18px;font-weight:500;color:var(--ph);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:start}
html.ax-edu .drawer.eds-nav .eds-co + .dsearch{margin-top:8px}
html.ax-desk.ax-edu .drawer.eds-nav .eds-co{margin-top:0;cursor:pointer}
html.ax-desk.ax-edu .drawer.eds-nav .eds-co:hover{background:#EEF1EE}
/* the admin at the foot: the name on its own line, whole, the plan under it */
html.ax-edu .drawer.eds-nav .eds-me .eds-mt{min-width:0;flex:1 1 auto}
html.ax-edu .drawer.eds-nav .eds-me .n{overflow-wrap:anywhere}
html.ax-edu .drawer.eds-nav .eds-me .p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* AX Education opens on the school's dashboard (22 Oct 2026): an individual account is shown the way to it */
.eh .eh-sd{margin-top:6px;font-size:15px;line-height:22px;color:var(--sub)}
.eh .eh-who.eh-sw{margin-top:16px}
