/* AX Enterprise and AX Family (js/edition.js, 16 Oct 2026). Every rule is scoped to html.ax-ed or to the edition parts, so AxioraX never sees it. */

/* the mark: the AxioraX mark with the app word beside it */
.ed-lock{display:inline-flex;align-items:center;line-height:1;direction:ltr}
.ed-lock svg{flex:none}
html.ax-ed .door-mid .ed-lock,html.ax-ed .amark .ed-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 .ed-lock svg{width:auto;height:24px;max-width:210px}

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

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

/* the app 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-ed .hb-mode{display:none}
/* Create account and Log in: one kind of member only (16 Oct 2026): one quiet line where the Student, Teacher, Institution switch was */
html.ax-ed .auth.one .ed-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 one non-tappable badge under the greeting */
.eh-who{cursor:default}
/* My children count (AX Family) */
.ed-count{margin-top:18px;padding:16px 18px;border-radius:26px;background:var(--green-soft)}
.ed-cr{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.ed-cr b{font-size:17px;line-height:22px;color:var(--green)}
.ed-cr span{font-size:14px;color:#4F6B5C}
.ed-bar{height:8px;margin-top:12px;border-radius:4px;background:#fff;overflow:hidden}
.ed-bar i{display:block;height:100%;border-radius:4px;background:var(--green)}

/* the badge under the greeting is a plain label here, not a button */
html.ax-ed .eh-who{padding:0 14px 0 12px}
/* AX Family: a new account is made with email and the 6 digit code, so that it is always a parent account; Google and Apple stay on Log in for parents who already have an account */
html.ax-fam .auth.one[data-mode="new"] .one-soc{display:none!important}

/* AX Enterprise, one dashboard (js/ent.js, 19 Oct 2026): the company at the top of the panel, the company dashboard's
   groups of pages, and the Lite and Advanced switch beside the admin's name and plan at its foot */
html.ax-ent .drawer.ent-nav .ent-co{display:flex;align-items:center;gap:12px;flex:none;margin:calc(var(--sat) + 10px) 12px 0;padding:8px 10px;min-height:58px;border-radius:18px;text-align:start;color:var(--ink)}
html.ax-ent .drawer.ent-nav .ent-co:active{background:#F4F4F4}
html.ax-ent .drawer.ent-nav .ent-co > span:not([class]){flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
html.ax-ent .drawer.ent-nav .ent-co b{font-size:17px;line-height:22px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:start}
html.ax-ent .drawer.ent-nav .ent-co small{font-size:13px;line-height:18px;font-weight:500;color:var(--ph);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ax-ent .drawer.ent-nav .ent-co > svg{flex:none}
html.ax-ent .drawer.ent-nav .ent-co + .dsearch{margin-top:8px}
html.ax-desk.ax-ent .drawer.ent-nav .ent-co{margin-top:0}
html.ax-ent .drawer.ent-nav .ent-me{flex:none;display:grid;grid-template-columns:36px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:1px;align-items:center;padding-inline:18px 12px}
html.ax-ent .drawer.ent-nav .ent-av{grid-column:1;grid-row:1 / span 2;width:36px;height:36px;display:grid;place-items:center}
html.ax-ent .drawer.ent-nav .ent-nm{grid-column:2 / span 2;grid-row:1;min-width:0;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ax-ent .drawer.ent-nav .ent-pl{grid-column:2;grid-row:2;min-width:0;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ax-ent .drawer.ent-nav .ent-me .ent-mode{grid-column:3;grid-row:2}
html.ax-ent .drawer.ent-nav .ent-mode{display:inline-grid;grid-template-columns:auto auto;gap:2px;padding:3px;border-radius:18px;background:#F1F2F1;flex:none}
html.ax-ent .drawer.ent-nav .ent-mode button{position:relative;height:28px;padding:0 10px;border-radius:14px;font-size:12.5px;line-height:28px;font-weight:600;color:#6B6B6B;white-space:nowrap;transition:background .15s,color .15s}
html.ax-ent .drawer.ent-nav .ent-mode button::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
html.ax-ent .drawer.ent-nav .ent-mode button.on[data-emode="lite"]{background:var(--green);color:#fff;box-shadow:0 1px 3px rgba(19,83,51,.3)}
html.ax-ent .drawer.ent-nav .ent-mode button.on[data-emode="advanced"]{background:var(--gold);color:var(--ink);box-shadow:0 1px 3px rgba(140,122,20,.32)}
html.ax-desk.ax-ent .drawer.ent-nav .ent-me:hover{background:transparent}
/* on a computer the panel is narrower: the plan keeps its whole line and Lite and Advanced sit under it */
html.ax-desk.ax-ent .drawer.ent-nav .ent-me{grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto auto}
html.ax-desk.ax-ent .drawer.ent-nav .ent-av{grid-row:1 / span 2}
html.ax-desk.ax-ent .drawer.ent-nav .ent-nm{grid-column:2}
html.ax-desk.ax-ent .drawer.ent-nav .ent-me .ent-mode{grid-column:2;grid-row:3;justify-self:start;margin-top:8px}
html.ax-desk.ax-ent .drawer.ent-nav .ent-mode button{cursor:pointer}
