/* Unified owner-selected academy system. Shared across all existing editions. */
.academy-unified{font-family:"Readex Pro",AcademyPlex,Tahoma,Arial,sans-serif!important;color:#0f2338;background:#f8f5f2!important}
.academy-unified :is(button,input,select,textarea){font-family:inherit}
.academy-unified:not(:has(.pls)) h1{font-size:30px;line-height:1.5;font-weight:700}
.academy-unified:not(:has(.pls)) h2{font-size:23px;line-height:1.5}
.academy-unified:not(:has(.pls)) #screen{max-width:1240px;margin:auto;padding:20px 24px 60px}
.au-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 12px;direction:rtl}
.au-heading>div:first-child{display:flex;align-items:center;gap:12px}
.au-heading h1{margin:0}
.au-levels{display:flex;direction:rtl;gap:4px;border:1px solid #e6ded8;border-radius:13px;background:#fff;padding:4px;flex-shrink:0}
.au-levels button,.au-outline,.au-pager button,.au-unit-tabs button{font:inherit;min-height:44px;border:1px solid #e6ded8;border-radius:10px;background:white;color:#526575;padding:9px 20px;cursor:pointer}
.au-levels button{border-color:transparent}
.au-levels [aria-pressed=true],.au-unit-tabs [aria-pressed=true]{background:#f2f5f6;border-bottom:2px solid #aa5632;color:#0f2338;font-weight:700}
.au-unit-grid,.au-lesson-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;direction:rtl}
.au-unit-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:start;min-height:116px;padding:22px;border:1px solid #e6ded8;border-radius:14px;background:#fff;color:#0f2338;font:inherit;cursor:pointer}
.au-unit-card strong{font-size:20px}.au-unit-card span{color:#5d686f;font-size:15px}
.au-unit-card:hover,.au-lesson-card:hover{border-color:#aa5632}
.au-unit-tabs{display:flex;justify-content:flex-start;gap:4px;direction:rtl;margin:12px 0;background:#fff;border:1px solid #e6ded8;border-radius:14px;padding:5px;width:max-content;margin-inline-start:auto}
.au-unit-tabs button{border:0;font-size:17px}.au-unit-tabs small{font-size:13px;font-weight:400;margin-inline-start:8px}
.au-lesson-card{border:1px solid #e6ded8;border-radius:15px;background:#fff;padding:20px;min-width:0;display:flex;flex-direction:column}
.au-code{color:#5d686f;font-size:13px;text-align:start}
.au-lesson-card h2{margin:8px 0 4px}
.au-lesson-card p{color:#5d686f;font-size:16px;margin:6px 0}
.au-card-foot{margin-top:18px;padding-top:12px;border-top:1px solid #e6ded8;display:flex;justify-content:space-between;align-items:center;gap:12px}
.au-primary,.au-text{font:inherit;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px;cursor:pointer}
.au-primary{padding:10px 20px;background:#aa5632;border:1px solid #aa5632;color:#fff;border-radius:10px;font-weight:700}
.au-text{color:#8f4628;background:transparent;border:0;padding:0}
.au-pager{display:flex;justify-content:center;align-items:center;gap:14px;margin:100px 0 8px;direction:rtl;font-size:14px;color:#5d686f}
.au-pager button:disabled{color:#647681;background:#f1f3f4;cursor:not-allowed}
.au-context{font-size:14px;color:#5d686f;margin:10px 0 16px}
.au-route{display:grid;gap:16px;max-width:900px}
.au-route section,.au-empty{padding:24px;background:#fff;border:1px solid #e6ded8;border-radius:14px}
.au-route button{font:inherit;background:#fff;color:#2d6969;border:1px solid #9fb3bd;border-radius:9px;padding:8px 16px;min-height:44px;cursor:pointer}
.au-empty p{color:#5d686f;max-width:70ch}
.academy-unified .today-task{display:flex;align-items:flex-start;flex-direction:column;gap:5px;min-height:80px;text-align:start;text-decoration:none;font:inherit;color:#0f2338}
.academy-unified .today-task small{font-size:13px;color:#5d686f}
.academy-unified .today-primary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.academy-unified .today-continue h2{font-size:34px!important}
.academy-unified .today-facts{gap:16px}
.academy-unified .au-progress .stat{display:flex;flex-wrap:wrap;gap:15px}
.academy-unified .au-progress .stat>div{border:1px solid #e6ded8;border-radius:12px;background:#fff;box-shadow:none;padding:20px}
.academy-unified .au-progress .warn,.academy-unified .au-progress .res{background:#fff;border:1px solid #e6ded8;border-radius:12px;padding:18px;color:#0f2338}
.academy-unified :is(button,a,input,textarea,select):focus-visible{outline:3px solid #2d6969;outline-offset:3px}
.academy-unified ::selection{background:#f1ddd1;color:#0f2338}
#au-shared-shell{direction:rtl}
.au-top{background:#f8f5f2;border-bottom:1px solid #e6ded8;display:flex;justify-content:space-between;padding:8px max(24px,calc((100vw - 1810px)/2));font-size:13px;align-items:center;min-height:60px}
.au-top a{background:#fff;border:1px solid #e6ded8;border-radius:9px;padding:10px;color:#2d6969;text-decoration:none}
.au-mast{background:#fff;border-bottom:1px solid #e6ded8;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 3%;min-height:84px}
.au-brand{display:flex;align-items:center;gap:16px;color:#0f2338;text-decoration:none;direction:ltr}
.au-brand>span:first-child{font-size:30px;font-weight:700}.au-brand>span:first-child b{color:#aa5632}
.au-brand>img{width:52px;height:50px;object-fit:cover;object-position:left}
.au-academy{font-family:Georgia,serif;font-size:23px;border-inline-start:1px solid #e6ded8;padding-inline-start:14px}
.au-academy b{color:#2d6969}.au-academy small{display:block;font:11px Arial,sans-serif;color:#aa5632}
.au-mast nav{display:flex;gap:8px;direction:rtl}.au-mast nav a{color:#5d686f;padding:12px;text-decoration:none;font-size:17px;font-weight:600;border-radius:10px}
.au-mast nav a:hover{background:#f2f5f6}
#au-shared-footer{direction:rtl;display:flex;gap:16px;align-items:center;justify-content:center;border-top:1px solid #e6ded8;background:#fff;color:#5d686f;padding:14px;font-size:13px;margin-top:auto}
#au-shared-footer b{color:#0f2338}#au-shared-footer a{color:#2d6969}
.academy-unified.academy-a1>.site-header,.academy-unified.academy-a1 #app>.site-header,.academy-unified.academy-a1 #app>.site-footer,.academy-unified.academy-a2>.academy-bar,.academy-unified.academy-a2>header,.academy-unified.academy-a2>footer:not(#au-shared-footer){display:none!important}
.academy-unified:has(.pls) #au-shared-shell,.academy-unified:has(.pls) #au-shared-footer{display:none!important}
html.app-shell:has(.academy-unified:not(:has(.pls))){height:auto!important;overflow:auto!important}
.academy-unified.academy-a1:not(:has(.pls)){display:block!important;height:auto!important;overflow:auto!important}
.academy-unified.academy-a1:not(:has(.pls)) #app,.academy-unified.academy-a1:not(:has(.pls)) #main,.academy-unified.academy-a1:not(:has(.pls)) .shell-panel{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important}
.academy-unified.academy-a1:not(:has(.pls)) #main{max-width:1240px!important;padding:24px!important;margin:auto!important}
.academy-unified.academy-a1:not(:has(.pls)) .shell-panel::after{display:none!important}
@media(max-width:700px){.au-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.au-heading>div:first-child{align-items:flex-start}.au-heading h1,.academy-unified:not(:has(.pls)) h1{font-size:24px}.au-levels{margin-inline-start:auto}.au-levels button{padding-inline:16px}.au-unit-grid,.au-lesson-grid{grid-template-columns:1fr}.au-unit-card{min-height:100px}.au-pager{margin-top:32px}.academy-unified:not(:has(.pls)) #screen{padding:18px 16px 40px}.academy-unified .today-continue h2{font-size:27px!important}.au-brand>span:first-child{font-size:21px}.au-academy{display:none}.au-mast{padding:12px 16px;flex-wrap:wrap;gap:8px}.au-mast nav{width:100%;justify-content:center}.au-mast nav a{padding:10px;font-size:16px}#au-shared-footer{flex-wrap:wrap;gap:8px;text-align:center}.au-unit-tabs{max-width:100%}.au-unit-tabs button{font-size:15px}}

.au-unit-tabs{margin-inline-start:0;margin-inline-end:auto}
.au-code{text-align:right}
.academy-unified .today-task{flex-direction:row;gap:12px;align-items:center}
.academy-unified .today-task>span{display:flex;flex-direction:column;gap:5px;min-width:0}
.academy-unified .today-task svg{width:38px;height:38px;flex-shrink:0}
.au-context a{color:#2d6969}
