@layer ecosystem {
/* Latest education posts on the public home as swipeable cards. */
.home-course-grid.education-home-slider{
  display:flex;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  padding:4px 2px 14px;
  
}
.home-course-grid.education-home-slider>article{
  flex:0 0 min(340px,82vw);
  min-width:min(340px,82vw);
  scroll-snap-align:start;
  min-height:230px;
}
@media(min-width:900px){
  .home-course-grid.education-home-slider>article{flex-basis:360px;min-width:360px;}
}

/* central users mobile layout, profile detail cards and refined mobile drawer. */


.unified-platform .up-sidebar-footer{padding:10px 10px max(10px,env(safe-area-inset-bottom));}
.unified-platform .up-brand-favicon{width:42px;height:42px;object-fit:contain;border-radius:13px;flex:0 0 42px;background:#fff;border:1px solid var(--ed-border);padding:4px;}
.unified-platform .central-users-search{display:grid;grid-template-columns:minmax(220px,360px) auto;align-items:end;gap:8px;}
.unified-platform .central-users-search-field{min-width:0;}
.unified-platform .central-users-list-head{align-items:flex-end;}
.unified-platform .central-user-stats .up-stat{text-align:center;align-content:center;min-height:112px;}
.unified-platform .central-user-stats .up-stat span{order:1;font-size:var(--ed-font-md);}
.unified-platform .central-user-stats .up-stat strong{order:2;}
.unified-platform .user-profile-summary{margin-bottom:16px;}
.unified-platform .user-profile-summary-head{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.unified-platform .user-profile-summary-head h1{margin:8px 0 4px;font-size:24px;}
.unified-platform .user-profile-summary-head p{margin:0;color:var(--ed-muted);}
.unified-platform .user-profile-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px;}
.unified-platform .user-profile-summary-grid>div{border:1px solid var(--ed-border);border-radius:12px;padding:11px 12px;background:#f8fafc;display:grid;gap:5px;min-width:0;}
.unified-platform .user-profile-summary-grid small{color:var(--ed-muted);font-size:var(--ed-font-xs);}
.unified-platform .user-profile-summary-grid b{font-size:var(--ed-font-md);overflow-wrap:anywhere;}
.unified-platform .user-profile-metrics .metric-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;min-height:108px;}
.unified-platform .user-profile-metrics .metric-card small{order:1;margin:0;color:var(--ed-muted);font-size:var(--ed-font-sm);}
.unified-platform .user-profile-metrics .metric-card strong{order:2;margin:0;font-size:20px;}
@media(max-width:820px){
  .unified-platform .up-sidebar{overflow-y:auto;overflow-x:visible;padding-top:12px;}
  .unified-platform .up-brand{flex:0 0 auto;padding-inline:4px;}
  
  .unified-platform .up-brand button[data-up-menu-close]{display:grid;place-items:center;position:absolute;left:-21px;right:auto;top:22px;width:42px;height:42px;min-width:42px;border-radius:50%;border:1px solid #dbe3f0;background:#fff;color:#111827;box-shadow:0 7px 22px rgba(15,23,42,.16);font-size:27px;line-height:1;z-index:4;}
  .unified-platform .up-sidebar-footer{padding-bottom:max(8px,env(safe-area-inset-bottom));}
  .unified-platform .central-users-list-head{display:grid;grid-template-columns:1fr;gap:12px;overflow:visible;}
  .unified-platform .central-users-search{width:100%;grid-template-columns:1fr auto;gap:8px;}
  .unified-platform .central-users-search .up-btn{width:auto;min-width:92px;}
  .unified-platform .central-user-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .unified-platform .central-users-table-wrap{border:0;overflow:visible;}
  .unified-platform .central-users-table{display:block;min-width:0;white-space:normal;}
  .unified-platform .central-users-table thead{display:none;}
  .unified-platform .central-users-table tbody{display:grid;gap:10px;}
  .unified-platform .central-users-table tr{display:grid;grid-template-columns:1fr;border:1px solid var(--ed-border);border-radius:14px;background:var(--ed-surface);padding:10px 12px;box-shadow:0 5px 16px rgba(15,23,42,.04);}
  .unified-platform .central-users-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px dashed #edf0f4;white-space:normal;text-align:left;min-width:0;}
  .unified-platform .central-users-table td:last-child{border-bottom:0;padding-bottom:0;}
  .unified-platform .central-users-table td:before{content:attr(data-label);color:var(--ed-muted);font-size:var(--ed-font-xs);font-weight:800;flex:0 0 auto;text-align:right;}
  .unified-platform .central-users-table td>*{min-width:0;overflow-wrap:anywhere;}
  .unified-platform .central-user-row-actions{width:auto;display:flex;grid-template-columns:none;flex-wrap:wrap;justify-content:flex-end;}
  .unified-platform .central-user-row-actions .up-btn{width:auto;min-width:72px;}
  .unified-platform .user-profile-summary-head{align-items:flex-start;gap:10px;}
  .unified-platform .user-profile-summary-head>div{min-width:0;flex:1;}
  .unified-platform .user-profile-summary-head .status-dot{flex:0 0 auto;margin-top:28px;}
  .unified-platform .user-profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .unified-platform .user-profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
}
@media(max-width:480px){
  .unified-platform .central-users-search{grid-template-columns:1fr;}
  .unified-platform .central-users-search .up-btn{width:100%;}
  .unified-platform .user-profile-summary-grid{grid-template-columns:1fr;}
}
@media(max-width:820px){
  .unified-platform .up-sidebar{overflow:visible;height:100dvh;max-height:100dvh;}
  .unified-platform .up-nav{-webkit-overflow-scrolling:touch;padding-bottom:6px;}
  
}

/* action icon alignment and mobile brand-row close button. */
.unified-platform .up-icon-btn,.unified-platform .up-row-icon-action{
  width:34px;height:34px;min-width:34px;min-height:34px;
  padding:0;border:1px solid var(--ed-border);border-radius:10px;
  background:var(--ed-surface);color:var(--ed-text);display:inline-grid;
  place-items:center;line-height:1;vertical-align:middle;text-decoration:none;
  box-shadow:none;cursor:pointer
;}
.unified-platform .up-icon-btn .ui-icon,.unified-platform .up-row-icon-action .ui-icon{width:18px;height:18px;margin:0;display:block;}
.unified-platform .up-icon-btn.danger,.unified-platform .up-row-icon-action.danger{color:#dc2626;border-color:#fecaca;background:#fff7f7;}
.unified-platform .up-actions,.unified-platform td .up-actions{align-items:center;}
.unified-platform td form.up-row-action-form{display:inline-flex;align-items:center;justify-content:center;margin:0;}

@media(max-width:820px){
  .unified-platform .up-brand{position:static;display:flex;align-items:center;gap:8px;padding:8px 6px;min-width:0;}
  .unified-platform .up-brand>a{display:flex;align-items:center;gap:9px;flex:1 1 auto;min-width:0;padding:0;}
  .unified-platform .up-brand>a>div{min-width:0;}
  .unified-platform .up-brand>a b,.unified-platform .up-brand>a small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
  .unified-platform .up-brand button[data-up-menu-close],.unified-platform .up-brand .up-brand-close{
    position:static;inset:auto;margin-inline-start:auto;flex:0 0 38px;
    width:38px;height:38px;min-width:38px;min-height:38px;
    display:grid;place-items:center;border-radius:11px;border:1px solid var(--ed-border);
    background:var(--ed-surface);color:var(--ed-text);box-shadow:none;padding:0;line-height:1
  ;}
  .unified-platform .up-brand button[data-up-menu-close] .ui-icon{width:19px;height:19px;margin:0;}
}


/* Alias/Merge educational-data header + course/chapter filter parity.
   This page intentionally keeps the "درس‌ها / فصل‌ها" selector below the heading on
   both desktop and mobile. It prevents the generic responsive .up-page-head rule from
   placing the tabs beside the title (or clipping them) and keeps the selector usable as
   the primary scope/filter for mappings. No typography or global form rules are changed. */
.unified-platform.app-admin[data-platform-route="master-aliases"] .up-page-head{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  justify-items:stretch;
  gap:12px;
  width:100%;
  max-width:100%;
  overflow:visible;
}
.unified-platform.app-admin[data-platform-route="master-aliases"] .up-page-head>div{
  min-width:0;
  max-width:100%;
  width:100%;
}
.unified-platform.app-admin[data-platform-route="master-aliases"] .up-page-head .up-tabs,
.unified-platform.app-admin[data-platform-route="master-aliases"] .up-content>.up-tabs{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:18px;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0;
  padding:0;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
}
.unified-platform.app-admin[data-platform-route="master-aliases"] .up-page-head .up-tabs a,
.unified-platform.app-admin[data-platform-route="master-aliases"] .up-content>.up-tabs a{
  flex:0 0 auto;
  min-width:max-content;
  white-space:nowrap;
}
.unified-platform.app-admin[data-platform-route="master-aliases"] .master-alias-purpose{
  max-width:980px;
  line-height:2;
}
@media(max-width:820px){
  .unified-platform.app-admin[data-platform-route="master-aliases"] .up-page-head{
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    margin-bottom:16px;
  }
  .unified-platform.app-admin[data-platform-route="master-aliases"] .up-page-head .up-tabs,
  .unified-platform.app-admin[data-platform-route="master-aliases"] .up-content>.up-tabs{
    padding-bottom:1px;
  }
}

/* definitive ecosystem sidebar contract.
   The root management hub and every child platform use the same geometry and behavior:
   desktop = full-height rail with optional persistent collapse; mobile = full-height drawer;
   only the navigation region scrolls, while brand and logout stay fixed. Typography is untouched. */
.unified-platform .up-sidebar{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  height:100vh;
  height:100dvh;
  min-height:100vh;
  max-height:100dvh;
}
.unified-platform .up-brand{flex:0 0 auto;min-width:0;}
.unified-platform .up-nav{
  flex:1 1 0;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.unified-platform .up-sidebar-footer{flex:0 0 auto;margin-top:0;}
.unified-platform .up-sidebar-edge-toggle{
  display:none;
  place-items:center;
  position:absolute;
  left:-16px;
  right:auto;
  top:82px;
  z-index:6;
  width:32px;
  height:32px;
  min-width:32px;
  min-height:32px;
  padding:0;
  border:1px solid var(--ed-border);
  border-radius:999px;
  background:var(--ed-surface,#fff);
  color:var(--ed-text,#101828);
  box-shadow:0 5px 16px rgba(15,23,42,.10);
  cursor:pointer;
  line-height:1;
}
.unified-platform .up-sidebar-edge-toggle .ui-icon{width:15px;height:15px;margin:0;transition:transform .18s ease;}

@media(min-width:821px){
  .unified-platform .up-shell{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    min-height:100vh;
    min-height:100dvh;
  }
  .unified-platform .up-sidebar{
    position:sticky;
    top:0;
    right:auto;
    left:auto;
    bottom:auto;
    width:260px;
    max-width:260px;
    padding:14px 12px;
    margin:0;
    border-radius:0;
    overflow:visible!important;
    z-index:30100;
    box-shadow:none;
  }
  .unified-platform .up-sidebar-edge-toggle{display:grid;left:-17px;z-index:30101;}
  body.unified-platform.up-sidebar-collapsed .up-shell{grid-template-columns:76px minmax(0,1fr);}
  body.unified-platform.up-sidebar-collapsed .up-sidebar{width:76px;max-width:76px;padding-inline:8px;}
  body.unified-platform.up-sidebar-collapsed .up-brand>a{justify-content:center;padding-inline:0;}
  body.unified-platform.up-sidebar-collapsed .up-brand>a>div,
  body.unified-platform.up-sidebar-collapsed .up-nav-label,
  body.unified-platform.up-sidebar-collapsed .up-nav a>span,
  body.unified-platform.up-sidebar-collapsed .up-sidebar-footer .up-logout-btn>span{display:none;}
  body.unified-platform.up-sidebar-collapsed .up-nav a,
  body.unified-platform.up-sidebar-collapsed .up-sidebar-footer .up-logout-btn{justify-content:center;padding-inline:8px;gap:0;}
  body.unified-platform.up-sidebar-collapsed .up-nav{margin-top:14px;}
  body.unified-platform.up-sidebar-collapsed .up-sidebar-edge-toggle .ui-icon{transform:rotate(180deg);}
  .unified-platform .up-main{position:relative;z-index:1;min-width:0;width:100%;max-width:none;}
  .unified-platform .up-brand-close{display:none!important;}
}

@media(max-width:820px){
  body.unified-platform.up-sidebar-collapsed .up-shell{display:block;}
  .unified-platform .up-sidebar-edge-toggle{display:none;}
  .unified-platform .up-sidebar,
  .unified-platform .up-sidebar.open{
    position:fixed;
    right:0;
    left:auto;
    top:0;
    bottom:0;
    width:min(310px,88vw);
    max-width:min(310px,88vw);
    height:100vh;
    height:100dvh;
    min-height:100dvh;
    max-height:100dvh;
    margin:0;
    padding-top:max(12px,env(safe-area-inset-top));
    padding-bottom:max(10px,env(safe-area-inset-bottom));
    border-radius:0;
    overflow:hidden;
  }
  .unified-platform .up-sidebar{display:none;visibility:hidden;pointer-events:none;}
  .unified-platform .up-sidebar.open{display:flex;visibility:visible;pointer-events:auto;}
  .unified-platform .up-nav{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;touch-action:pan-y;}
  .unified-platform .up-sidebar-footer{flex:0 0 auto;margin-top:0;background:var(--ed-surface,#fff);}
}

/* Shared public footer, graphical feature demos,
 * education article slider dots and WordPress-like post management. */

/* Public footer: namespaced shared component for homepage and public article pages. */
.public-site-footer{margin-top:42px;background:var(--public-footer-bg-light,var(--ed-surface));color:var(--ed-text);border-top:1px solid var(--ed-border);direction:rtl;display:block;width:100%;}
html.unified-dark .public-site-footer,body.dark-ui .public-site-footer{background:var(--public-footer-bg-dark,var(--ed-surface));}
.public-site-footer-main{max-width:1420px;margin:0 auto;padding:42px 28px 32px;display:grid;grid-template-columns:minmax(280px,1.45fr) minmax(220px,1fr) minmax(210px,.9fr) minmax(220px,.9fr);gap:34px;align-items:start;}
.public-site-footer h3,.public-site-footer h4{margin:0;color:var(--ed-text);}.public-site-footer h3{font-size:18px;}.public-site-footer h4{font-size:var(--ed-font-base);margin-bottom:15px;}.public-site-footer p{margin:14px 0 0;color:var(--ed-muted);font-size:var(--ed-font-md);line-height:2.05;max-width:520px;}
.public-site-footer-brand-head{display:flex;align-items:center;gap:12px;}.public-site-footer-brand-head>div{display:grid;gap:3px;}.public-site-footer-brand-head small{color:var(--ed-muted);font-size:var(--ed-font-xs);}.public-site-footer-favicon{width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:14px;padding:6px;background:var(--ed-surface-soft);border:1px solid var(--ed-border);}
.public-site-footer-contact{display:grid;grid-template-columns:1fr;gap:9px;}.public-site-footer-contact>div{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:9px 0;border-bottom:1px solid var(--ed-border);}.public-site-footer-contact>div:last-child{border-bottom:0;}.public-site-footer-contact .ui-icon{width:18px;height:18px;flex:0 0 18px;color:var(--ed-primary);margin-top:3px;}.public-site-footer-contact span{display:grid;min-width:0;gap:2px;}.public-site-footer-contact small{color:var(--ed-muted);font-size:var(--ed-font-micro);}.public-site-footer-contact b{color:var(--ed-text);font-size:var(--ed-font-sm);font-weight:700;line-height:1.9;overflow-wrap:anywhere;}
.public-site-footer-links{display:grid;gap:4px;}.public-site-footer-links a{display:flex;align-items:center;gap:7px;color:var(--ed-text);text-decoration:none;padding:7px 0;font-size:var(--ed-font-sm);border-bottom:1px solid var(--ed-border);}.public-site-footer-links a:last-child{border-bottom:0;}.public-site-footer-links a:hover{color:var(--ed-primary);}.public-site-footer-links .ui-icon{width:14px;height:14px;color:var(--ed-primary);transform:rotate(180deg);}
.public-site-footer-trust-list{display:grid;gap:10px}.public-site-footer-trust{display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid var(--ed-border);border-radius:14px;background:var(--ed-surface-soft);}.public-site-footer-trust-image{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;border-radius:11px;background:var(--ed-surface);border:1px solid var(--ed-border);overflow:hidden;text-decoration:none;}.public-site-footer-trust-image img,.public-site-footer-trust img{display:block;width:100%;height:100%;object-fit:contain;padding:4px;background:var(--ed-surface);}.public-site-footer-trust-embed>a{display:grid;place-items:center;width:100%;height:100%;}.public-site-footer-trust-embed>a>img{max-width:100%;max-height:100%;object-fit:contain;}.public-site-footer-trust>.ui-icon{width:25px;height:25px;flex:0 0 25px;color:var(--ed-primary);}.public-site-footer-trust div{display:grid;gap:5px;}.public-site-footer-trust b{font-size:var(--ed-font-sm);color:var(--ed-text);}.public-site-footer-trust span{font-size:var(--ed-font-xs);color:var(--ed-muted);line-height:1.9;}
.public-site-footer-bottom{border-top:1px solid var(--ed-border);max-width:1420px;margin:0 auto;padding:16px 28px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--ed-muted);font-size:var(--ed-font-xs);}.public-site-footer-bottom a{color:var(--ed-text);text-decoration:none;}.public-site-footer-bottom a:hover{color:var(--ed-primary);}
.unified-platform .public-site-footer{margin-top:auto;}.unified-platform .public-site-footer-main,.unified-platform .public-site-footer-bottom{max-width:none;}
@media(max-width:1100px){.public-site-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.public-site-footer{margin-top:28px;}.public-site-footer-main{grid-template-columns:1fr;padding:30px 18px 22px;gap:25px;}.public-site-footer-bottom{padding:15px 18px 18px;flex-direction:column;align-items:center;justify-content:center;text-align:center;}.public-site-footer-bottom>*{text-align:center;}.public-site-footer-favicon{width:44px;height:44px;flex-basis:44px;}}

/* Graphical mini-demos on the public home page. */
.platform-demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px;}
.platform-demo-card{position:relative;overflow:hidden;min-width:0;min-height:340px;padding:18px;border:1px solid var(--ed-border);border-radius:20px;background:var(--ed-surface);box-shadow:var(--ed-shadow);display:flex;flex-direction:column;gap:14px;}
.platform-demo-card:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;background:rgba(36,87,230,.065);top:-70px;left:-55px;pointer-events:none;}.platform-demo-head{display:flex;align-items:center;gap:10px;position:relative;z-index:1;}.platform-demo-head>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--ed-primary-soft);color:var(--ed-primary);flex:0 0 42px;}.platform-demo-head .ui-icon{width:22px;height:22px;}.platform-demo-head>div{display:grid;gap:2px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;}.platform-demo-head b{font-size:var(--ed-font-body);color:var(--ed-text)!important;}.platform-demo-head small{font-size:var(--ed-font-micro);color:var(--ed-muted);}.platform-demo-card>p{margin:auto 0 0;color:var(--ed-muted);font-size:var(--ed-font-sm);line-height:1.95;}
.demo-window{border:1px solid #e2e8f0;border-radius:15px;background:#f8fafc;padding:12px;display:grid;gap:9px;}.demo-filter-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;}.demo-filter-row i{font-style:normal;font-size:var(--ed-font-micro);color:#667085;text-align:center;padding:6px 3px;background:#fff;border:1px solid #e3e8ef;border-radius:7px;}.demo-question{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px;padding:8px;background:#fff;border:1px solid #edf0f4;border-radius:9px;}.demo-question>span{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#eef4ff;color:#2457e6;font-size:var(--ed-font-micro);font-weight:900;}.demo-question>div{display:grid;gap:4px;}.demo-question b{display:block;height:5px;border-radius:9px;background:#e8edf5;}.demo-question b:nth-child(2){width:82%;}.demo-question b:nth-child(3){width:60%;}.demo-action-bar{display:flex;align-items:center;gap:6px;}.demo-action-bar i{width:26px;height:26px;border-radius:7px;background:#fff;border:1px solid #e3e8ef;}.demo-action-bar strong{margin-right:auto;background:#2457e6;color:#fff;border-radius:8px;padding:7px 11px;font-size:var(--ed-font-micro);}
.demo-review-stack{position:relative;height:190px;margin:2px 10px;}.demo-flashcard{position:absolute;inset:18px 8px 0;border:1px solid #dfe6f0;border-radius:16px;background:#fff;}.demo-flashcard.back{transform:rotate(-4deg) translateY(5px);background:#edf3ff;}.demo-flashcard.mid{transform:rotate(3deg) translateY(2px);background:#f7f9fd;}.demo-flashcard.front{padding:19px;display:grid;align-content:start;gap:10px;box-shadow:0 14px 28px rgba(36,87,230,.09);}.demo-flashcard.front>span{font-size:var(--ed-font-micro);color:#2457e6;font-weight:800;}.demo-flashcard.front>b{height:7px;background:#e5eaf2;border-radius:8px;}.demo-flashcard.front>b:nth-of-type(2){width:70%;}.demo-flashcard.front>div{display:flex;gap:6px;margin-top:auto;}.demo-flashcard.front i{font-style:normal;font-size:var(--ed-font-micro);padding:5px 8px;border-radius:999px;background:#eef4ff;color:#2457e6;}
.demo-note-sheet{position:relative;border:1px solid #e0e6ef;border-radius:15px;background:#fff;padding:12px;min-height:190px;box-shadow:inset 0 0 0 5px #fafbfc;}.demo-note-toolbar{display:flex;gap:5px;border-bottom:1px solid #edf0f4;padding-bottom:8px;margin-bottom:13px;}.demo-note-toolbar i{font-style:normal;min-width:24px;height:24px;border:1px solid #e2e8f0;border-radius:6px;display:grid;place-items:center;font-size:var(--ed-font-micro);color:#475467;}.demo-note-sheet h4,.demo-note-sheet p{height:7px;background:#dfe5ee;border-radius:7px;margin:8px 0;}.demo-note-sheet h4{width:55%;height:9px;background:#cfd8e7;}.demo-note-sheet p.short{width:64%;}.demo-highlight{position:absolute;right:28px;bottom:43px;width:46%;height:10px;background:#fff0a6;border-radius:4px;opacity:.72;}
.demo-week{border:1px solid #e2e8f0;border-radius:15px;background:#fff;padding:12px;}.demo-week-head,.demo-week-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;}.demo-week-head span{text-align:center;font-size:var(--ed-font-micro);color:#98a2b3;}.demo-week-grid{margin-top:8px;}.demo-week-grid i{height:45px;border-radius:8px;background:#f5f7fa;border:1px solid #edf0f4;}.demo-week-grid i.active{background:#eef4ff;border-color:#cbd9ff;}.demo-week-grid i.task{background:linear-gradient(180deg,#fff,#effaf6);border-color:#c8ecdf;position:relative;}.demo-week-grid i.task:after{content:"";position:absolute;right:7px;left:7px;bottom:8px;height:5px;border-radius:6px;background:#17a673;}
.demo-analytics-box{border:1px solid #e2e8f0;border-radius:15px;padding:13px;background:#fff;}.demo-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;}.demo-metrics span{display:grid;text-align:center;padding:8px;border-radius:9px;background:#f8fafc;}.demo-metrics b{font-size:15px;color:#101828;}.demo-metrics small{font-size:var(--ed-font-micro);color:#98a2b3;}.demo-chart{height:105px;display:flex;align-items:end;gap:7px;margin-top:12px;border-bottom:1px solid #e5e7eb;}.demo-chart i{flex:1;min-height:12px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#6f91f5,#2457e6);}
.demo-rank-box{display:grid;gap:10px;}.demo-rank-score{display:flex;align-items:center;justify-content:space-between;padding:15px;border-radius:13px;background:#101828;color:#fff;}.demo-rank-score span{font-size:var(--ed-font-micro);color:#cbd5e1;}.demo-rank-score strong{font-size:22px;}.demo-rank-list{display:grid;gap:7px;}.demo-rank-list i{height:34px;border:1px solid #e2e8f0;border-radius:10px;background:linear-gradient(90deg,#f8fafc 0 72%,#eef4ff 72%);}.demo-rank-chip{justify-self:start;border-radius:999px;padding:6px 9px;background:#ecfdf3;color:#067647;font-size:var(--ed-font-micro);font-weight:800;}
@media(max-width:1050px){.platform-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:620px){.platform-demo-grid{grid-template-columns:1fr;gap:13px;}.platform-demo-card{min-height:310px;padding:15px;}}

/* Article slider: hide the raw scrollbar and use clickable/observable dots. */
.home-course-grid.education-home-slider{scrollbar-width:none;padding-bottom:6px;}.home-course-grid.education-home-slider::-webkit-scrollbar{display:none;}.education-slider-dots{display:flex;justify-content:center;align-items:center;gap:7px;min-height:28px;margin:9px auto 2px;}.education-slider-dots button{appearance:none;border:0;padding:0;width:7px;height:7px;border-radius:999px;background:#cbd5e1;cursor:pointer;transition:width .18s ease,background .18s ease;}.education-slider-dots button.active{width:24px;background:#2457e6;}.education-slider-dots button:focus-visible{outline:2px solid #2457e6;outline-offset:3px;}

/* Education module — consolidated. Public and management markup is server-rendered. */
.education-public-page{margin:0;background:#f7f9fc;color:var(--ed-text,#101828);font-family:inherit;min-height:100vh;}
.education-public-page .landing-header{position:sticky;top:0;z-index:80;}
.education-public-flash{padding-top:16px;}.education-public-main{max-width:1450px;margin:0 auto;padding:32px 22px;min-height:55vh;}
.education-public-hero{display:grid;gap:10px;margin-bottom:24px;padding:30px;border:1px solid #e5eaf1;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.04);}.education-public-hero h1{margin:0;font-size:clamp(26px,4vw,40px);color:#101828;}.education-public-hero>p{margin:0;color:#667085;font-size:var(--ed-font-base);line-height:2;}.education-public-filter{display:grid;grid-template-columns:minmax(240px,2fr) minmax(180px,1fr) auto;gap:10px;margin-top:10px;}.education-public-filter :is(input,select){min-height:44px;border:1px solid #dce3ec;border-radius:11px;padding:8px 12px;background:#fff;font:inherit;}.education-active-filter{margin:0 0 18px;padding:10px 13px;background:#eef4ff;color:#344054;border-radius:11px;font-size:var(--ed-font-sm);}.education-active-filter a{color:#2457e6;margin-right:8px;}
.education-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}.education-post-card{overflow:hidden;border:1px solid #e4e9f1;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.035);display:flex;flex-direction:column;min-width:0;}.education-post-cover{height:205px;background:linear-gradient(135deg,#eef4ff,#f8fafc);display:grid;place-items:center;overflow:hidden;color:#2457e6;}.education-post-cover img{width:100%;height:100%;object-fit:cover;}.education-post-cover .ui-icon{width:46px;height:46px;}.education-post-card-body{padding:18px;display:grid;gap:10px;flex:1;}.education-post-meta,.education-post-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#98a2b3;font-size:var(--ed-font-micro);}.education-post-meta span{color:#2457e6;font-weight:850;}.education-post-card h2{margin:0;font-size:17px;line-height:1.85;}.education-post-card h2 a{text-decoration:none;color:#101828;}.education-post-card p{margin:0;color:#667085;font-size:var(--ed-font-sm);line-height:2;min-height:66px;}.education-post-card-foot{margin-top:auto;padding-top:9px;border-top:1px solid #f0f2f5;}.education-post-card-foot a{color:#2457e6;text-decoration:none;font-weight:850;}.education-public-empty{grid-column:1/-1;padding:28px;border:1px dashed #d8e0ea;border-radius:16px;text-align:center;color:#667085;background:#fff;}.education-public-pagination,.education-comments-pagination{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:20px;}.education-public-pagination a,.education-comments-pagination a{min-width:34px;height:34px;display:grid;place-items:center;border:1px solid #dce3ec;border-radius:9px;text-decoration:none;color:#344054;background:#fff;font-size:var(--ed-font-xs);}.education-public-pagination a.active,.education-comments-pagination a.active{background:#2457e6;color:#fff;border-color:#2457e6;}
.education-taxonomy-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}.education-taxonomy-public-grid>a{display:grid;gap:6px;padding:18px;border:1px solid #e4e9f1;border-radius:15px;background:#fff;text-decoration:none;color:#101828;}.education-taxonomy-public-grid>a span{color:#2457e6;font-size:var(--ed-font-xs);}.education-taxonomy-public-grid>a small{color:#667085;line-height:1.9;}.education-public-tags{margin-top:28px;padding:22px;border:1px solid #e4e9f1;border-radius:18px;background:#fff;}.education-public-tags h2{margin:0 0 14px;font-size:18px;}.education-public-tags>div{display:flex;flex-wrap:wrap;gap:8px;}.education-public-tags a{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#f2f5fa;color:#344054;text-decoration:none;font-size:var(--ed-font-xs);}.education-public-tags a small{color:#98a2b3;}.education-article-tags{margin-top:24px;padding:16px 0 0;border:0;border-top:1px solid #eef1f5;border-radius:0;display:flex;flex-wrap:wrap;gap:8px;}

/* Public article: same homepage header/footer, one 80/20 article/TOC structure. */
.education-article-page-main{padding:32px 0 12px;min-height:55vh;}.education-article-page-container{width:min(1480px,calc(100% - 36px));margin-inline:auto;}.education-article-shell{display:grid;grid-template-columns:minmax(0,4fr) minmax(230px,1fr);grid-template-areas:"content toc";gap:24px;align-items:start;direction:ltr;width:100%;min-width:0;}.education-article-shell-no-toc{grid-template-columns:1fr;}.education-article-content-column{grid-area:content;direction:rtl;min-width:0;}.education-public-article{background:#fff;border:1px solid #e4e9f1;border-radius:22px;box-shadow:0 12px 34px rgba(15,23,42,.045);padding:34px;min-width:0;}.education-public-article-head{display:grid;gap:12px;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #eef1f5;}.education-public-category{justify-self:start;display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#eef4ff;color:#2457e6;text-decoration:none;font-size:var(--ed-font-xs);font-weight:850;}.education-public-article-head h1{margin:0;font-size:clamp(26px,3vw,42px);line-height:1.65;color:#101828;letter-spacing:-.02em;}.education-public-excerpt{margin:0;color:#667085;font-size:var(--ed-font-base);line-height:2.05;}.education-public-meta{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;color:#98a2b3;font-size:var(--ed-font-xs);}.education-public-featured{margin:0 0 26px;}.education-public-featured img{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:17px;}.education-public-content{font-size:var(--ed-font-body);line-height:2.25;color:#344054;overflow-wrap:anywhere;}.education-public-content :is(h1,h2,h3,h4,h5,h6){color:#101828;scroll-margin-top:100px;line-height:1.75;margin:1.6em 0 .55em;}.education-public-content h2{font-size:24px;}.education-public-content h3{font-size:19px;}.education-public-content h4{font-size:16px;}.education-public-content :is(p,ul,ol,blockquote,pre,table){margin:0 0 1.15em;}.education-public-content img{max-width:100%;height:auto;border-radius:14px;}.education-public-content a{color:#2457e6;}.education-public-content blockquote{border-right:4px solid #2457e6;background:#f8faff;padding:14px 18px;border-radius:10px;}.education-public-content table{width:100%;border-collapse:collapse;overflow:auto;}.education-public-content th,.education-public-content td{padding:9px;border:1px solid #e4e9f1;}.education-public-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px;}.education-public-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;}.education-article-toc{grid-area:toc;direction:rtl;position:sticky;top:96px;max-height:calc(100dvh - 116px);overflow:auto;border:1px solid #e4e9f1;border-radius:18px;background:#fff;padding:14px;box-shadow:0 10px 28px rgba(15,23,42,.04);scrollbar-width:thin;}.education-article-toc-title{display:flex;align-items:center;gap:9px;padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid #e4e9f1;}.education-article-toc-title>span{width:8px;height:34px;border-radius:999px;background:#2457e6;}.education-article-toc-title>div{display:grid;gap:2px;}.education-article-toc-title b{font-size:var(--ed-font-md);}.education-article-toc-title small{font-size:var(--ed-font-micro);color:#64748b;}.education-article-toc nav{display:grid;gap:3px;}.education-article-toc a{display:block;text-decoration:none;color:#64748b;padding:7px 9px;border-radius:8px;font-size:var(--ed-font-xs);line-height:1.7;border-right:2px solid transparent;}.education-article-toc a:hover,.education-article-toc a.active{background:#eef4ff;color:#2457e6;border-right-color:#2457e6;}.education-article-toc .toc-level-h1,.education-article-toc .toc-level-h2{font-weight:850;color:#101828;}.education-article-toc .toc-level-h3{padding-right:18px;}.education-article-toc .toc-level-h4{padding-right:28px;font-size:var(--ed-font-micro);}.education-article-toc .toc-level-h5,.education-article-toc .toc-level-h6{padding-right:36px;font-size:var(--ed-font-micro);}.education-public-article-page .public-site-footer{margin-top:42px;}html{scroll-behavior:smooth;}

/* Comments — public and admin use the same persisted education_comments table. */
.education-comments{margin-top:20px;border:1px solid #e4e9f1;border-radius:20px;background:#fff;padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.04);}.education-comments-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}.education-comments-head>div{display:grid;gap:4px;}.education-comments-head h2{margin:0;font-size:18px;}.education-comments-kicker{font-size:var(--ed-font-micro);font-weight:850;color:#2457e6;}.education-comments-count{font-size:var(--ed-font-xs);color:#64748b;padding:6px 9px;border:1px solid #e4e9f1;border-radius:999px;}.education-comments-list{display:grid;gap:12px;}.education-comment-branch{display:grid;gap:10px;}.education-comment-branch[data-depth]:not([data-depth="0"]){margin-right:28px;padding-right:13px;border-right:2px solid #e7ecf4;}.education-comment{border:1px solid #e4e9f1;border-radius:13px;padding:13px;background:#fff;}.education-comment-head{display:flex;align-items:center;gap:9px;}.education-comment-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eef4ff;color:#2457e6;font-weight:900;}.education-comment-head>div{display:grid;gap:1px;}.education-comment-head b{font-size:var(--ed-font-sm);}.education-comment-head small{font-size:var(--ed-font-micro);color:#64748b;}.education-comment-body{margin:10px 0;font-size:var(--ed-font-sm);line-height:2;color:#344054;}.education-comment-reply-btn{border:0;background:transparent;color:#2457e6;font:inherit;font-size:var(--ed-font-micro);font-weight:850;cursor:pointer;padding:3px 0;}.education-comments-empty,.education-comments-closed{padding:16px;border:1px dashed var(--ed-border,#dce3ec);border-radius:12px;color:var(--ed-muted,#64748b);font-size:var(--ed-font-xs);text-align:center;}.education-comment-form{margin-top:16px;padding-top:16px;border-top:1px solid #e4e9f1;display:grid;gap:12px;}.education-comment-form label{display:grid;gap:6px;font-size:var(--ed-font-xs);font-weight:800;}.education-comment-form :is(input,textarea){width:100%;border:1px solid #dce3ec;border-radius:10px;background:#fff;color:#101828;padding:10px 12px;font:inherit;}.education-comment-guest-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}.education-comment-form-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;}.education-comment-form-foot small{font-size:var(--ed-font-micro);color:#64748b;}.education-comment-replying:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:9px;background:#eef4ff;color:#2457e6;font-size:var(--ed-font-micro);}.education-comment-replying button{border:0;background:transparent;color:inherit;font:inherit;font-weight:850;cursor:pointer;}

/* Education management list. */
.unified-platform.app-education[data-platform-route^="manage"] .up-content{overflow-x:hidden;overflow-x:clip;}.unified-platform.app-education[data-platform-route^="manage"] .education-manage-filter{display:grid;grid-template-columns:minmax(240px,2fr) repeat(2,minmax(150px,1fr)) auto;gap:9px;align-items:end;width:100%;margin-bottom:14px;padding:12px;border:1px solid var(--ed-border);border-radius:14px;background:var(--ed-surface);}.education-manage-filter label{display:grid;gap:5px;font-size:var(--ed-font-xs);font-weight:800;color:#475467;}.education-manage-filter :is(input,select){width:100%;min-height:40px;border:1px solid #d0d5dd;border-radius:10px;background:var(--ed-surface);color:var(--ed-text);padding:8px 10px;font:inherit;font-size:var(--ed-font-sm);outline:none;}.education-manage-filter :is(input,select):focus{border-color:#8aa9ff;box-shadow:0 0 0 3px rgba(36,87,230,.09);}.education-manage-filter button{width:100%;min-height:40px;}.education-admin-posts{display:grid;gap:10px;}.education-admin-post-row{display:flex;align-items:center;justify-content:space-between;gap:14px;}.education-admin-post-main{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;flex:1;}.education-admin-post-main h3{margin:0 0 6px;font-size:var(--ed-font-base);}.education-admin-post-main code{direction:ltr;font-size:var(--ed-font-micro);color:var(--ed-muted);overflow-wrap:anywhere;}.education-admin-post-meta{display:flex;gap:8px 14px;flex-wrap:wrap;color:var(--ed-muted);font-size:var(--ed-font-micro);}.education-admin-post-meta b{color:#b54708;}.education-admin-post-actions{display:flex;flex-wrap:wrap;gap:6px;}.education-admin-post-actions form{margin:0;}.education-edit-head-actions{display:flex;gap:7px;flex-wrap:wrap;}

/* Single persisted article editor. Visual/source are tabs of the same field, never two boxes. */
/* Single persisted article editor. Visual/source are two views of one content field. */
#education-post-form{width:100%;max-width:100%;min-width:0;overflow-x:hidden;}.education-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:14px;align-items:start;width:100%;min-width:0;max-width:100%;overflow:visible;}.education-editor-main,.education-editor-side{display:grid;gap:10px;min-width:0;max-width:100%;}.education-editor-main{grid-column:1;}.education-editor-side{grid-column:2;position:sticky;top:82px;max-height:calc(100dvh - 100px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;padding-bottom:4px;}.education-editor-group,.education-editor-side>.education-editor-group{border:1px solid var(--ed-border);border-radius:14px;background:var(--ed-surface);padding:13px;margin:0;display:grid;gap:8px;min-width:0;max-width:100%;}.education-editor-group>h3{margin:0 0 1px;font-size:var(--ed-font-base);}.education-editor-group label{display:grid;gap:5px;font-size:var(--ed-font-xs);font-weight:800;color:#475467;min-width:0;}.education-editor-group :is(input:not([type=checkbox]),textarea,select){display:block;width:100%;max-width:100%;min-height:40px;border:1px solid #d0d5dd;border-radius:10px;background:var(--ed-surface);color:var(--ed-text);padding:8px 10px;font:inherit;font-size:var(--ed-font-sm);outline:none;}.education-editor-group textarea{min-height:76px;resize:vertical;line-height:1.9;}.education-editor-group :is(input:not([type=checkbox]),textarea,select):focus{border-color:#8aa9ff;box-shadow:0 0 0 3px rgba(36,87,230,.09);}.education-editor-group small{color:var(--ed-muted);font-size:var(--ed-font-micro);line-height:1.75;}.education-title-card{display:grid;gap:9px;}.education-seo-card{order:999;}.education-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;}.education-form-span{grid-column:1/-1;}.education-check{display:flex;align-items:center;gap:7px;}.education-check input{width:auto;min-height:0;}.education-save-post{width:100%;}
.education-wp-editor{border:1px solid var(--ed-border);border-radius:12px;background:var(--ed-surface);overflow:hidden;min-width:0;max-width:100%;}.education-wp-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid var(--ed-border);background:#f8fafc;}.education-wp-editor-head>strong{font-size:var(--ed-font-md);}.education-wp-editor-tabs{display:flex;gap:4px;}.education-wp-editor-tabs button{border:0;background:transparent;color:#667085;padding:6px 10px;border-radius:7px;font:inherit;font-size:var(--ed-font-xs);font-weight:800;cursor:pointer;}.education-wp-editor-tabs button.active{background:#fff;color:#2457e6;box-shadow:0 0 0 1px #dbe4f2;}.education-wp-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px 10px;border-bottom:1px solid var(--ed-border);background:var(--ed-surface);}.education-wp-toolbar button{height:31px;min-width:31px;border:1px solid #d7dee9;border-radius:7px;background:#fff;color:#344054;padding:0 8px;font:inherit;font-size:var(--ed-font-xs);cursor:pointer;}.education-wp-visual{min-height:390px;max-width:100%;padding:20px;background:var(--ed-surface);color:var(--ed-text);line-height:2.15;outline:none;overflow-wrap:anywhere;word-break:break-word;text-align:right;overflow-x:auto;}.education-wp-visual :is(img,video,iframe,table,pre){max-width:100%;}.education-wp-visual:focus{box-shadow:inset 0 0 0 2px rgba(36,87,230,.12);}.education-wp-source{width:100%;max-width:100%;min-height:390px;border:0;border-radius:0;padding:16px;background:#111827;color:#e5e7eb;direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--ed-font-md);line-height:1.8;overflow:auto;}.education-wp-source[hidden],.education-wp-visual[hidden],.education-wp-toolbar[hidden]{display:none;}
.education-media-card{display:grid;gap:9px;}.education-media-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}.education-media-card-head>div{display:grid;gap:4px;min-width:0;}.education-media-card-head h3{margin:0;font-size:var(--ed-font-base);}.education-media-card-head small{font-size:var(--ed-font-micro);color:var(--ed-muted);line-height:1.8;}.education-media-open{white-space:nowrap;}.education-media-summary{display:flex;gap:8px;flex-wrap:wrap;min-height:68px;padding:9px;border:1px dashed var(--ed-border);border-radius:11px;background:#fafbfc;max-width:100%;overflow:hidden;}.education-media-thumb{width:78px;display:grid;gap:4px;min-width:0;}.education-media-thumb img{width:78px;height:64px;object-fit:cover;border-radius:9px;border:1px solid var(--ed-border);background:#fff;}.education-media-thumb small{font-size:var(--ed-font-micro);color:var(--ed-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.education-media-empty{align-self:center;color:var(--ed-muted);font-size:var(--ed-font-micro);}
.education-media-modal[hidden]{display:none;}.education-media-modal{position:fixed;inset:0;z-index:var(--ed-z-modal,40000);display:grid;place-items:center;padding:18px;overflow:hidden;}.education-media-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.68);backdrop-filter:blur(3px);}.education-media-dialog{position:relative;z-index:1;width:min(1060px,calc(100vw - 28px));height:min(760px,calc(100dvh - 28px));max-width:100%;max-height:100%;min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:var(--ed-surface,#fff);border:1px solid var(--ed-border,#e2e8f0);border-radius:18px;box-shadow:0 30px 80px rgba(2,6,23,.28);}.education-media-dialog>header,.education-media-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px;border-bottom:1px solid var(--ed-border);min-width:0;}.education-media-dialog>header>div{display:grid;gap:3px;min-width:0;}.education-media-dialog>header b{font-size:var(--ed-font-body);}.education-media-dialog>header small{font-size:var(--ed-font-micro);color:var(--ed-muted);line-height:1.7;}.education-media-dialog>footer{border-top:1px solid var(--ed-border);border-bottom:0;}.education-media-dialog>footer>div{display:flex;gap:7px;flex-wrap:wrap;}.education-media-dialog>footer .up-btn{white-space:nowrap;}.education-media-close{border:0;background:transparent;font-size:28px;color:var(--ed-muted);cursor:pointer;flex:0 0 auto;}.education-media-panel{min-height:0;overflow:auto;padding:14px;-webkit-overflow-scrolling:touch;}.education-media-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;}.education-media-item{position:relative;display:grid;gap:5px;min-width:0;border:2px solid transparent;border-radius:11px;background:#f8fafc;padding:6px;cursor:pointer;text-align:right;}.education-media-item>span{aspect-ratio:1;overflow:hidden;border-radius:8px;background:#e9eef6;}.education-media-item img{width:100%;height:100%;object-fit:cover;}.education-media-item small{font-size:var(--ed-font-micro);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.education-media-item i{position:absolute;top:9px;left:9px;width:22px;height:22px;border-radius:999px;display:none;place-items:center;background:#2457e6;color:#fff;font-style:normal;}.education-media-item.selected{border-color:#2457e6;}.education-media-item.selected i{display:grid;}.education-media-no-items{text-align:center;color:var(--ed-muted);padding:40px;}.education-media-modal-open{overflow:hidden;}

/* Comment switch and moderation. */
.education-comment-setting-card>div{display:grid;gap:4px;}.education-comment-setting-card small{font-size:var(--ed-font-micro);color:var(--ed-muted);}.education-comment-switch{display:flex;align-items:center;gap:8px;cursor:pointer;}.education-comment-switch input{position:absolute;opacity:0;pointer-events:none;}.education-comment-switch span{width:38px;height:21px;border-radius:999px;background:#cbd5e1;position:relative;transition:.18s;}.education-comment-switch span:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#fff;top:3px;right:3px;transition:.18s;box-shadow:0 1px 4px rgba(0,0,0,.2);}.education-comment-switch input:checked+span{background:#17a673;}.education-comment-switch input:checked+span:after{right:20px;}.education-comment-switch em{font-style:normal;font-size:var(--ed-font-micro);color:var(--ed-muted);}.education-comments-admin{display:grid;gap:14px;}.education-comments-admin-head h1{margin:3px 0;font-size:20px;}.education-comments-admin-head p{margin:0;color:var(--ed-muted);font-size:var(--ed-font-xs);}.education-comments-filter{display:grid;grid-template-columns:minmax(240px,2fr) minmax(160px,1fr) auto;gap:10px;align-items:end;}.education-comments-filter label{display:grid;gap:5px;font-size:var(--ed-font-micro);font-weight:800;}.education-comments-filter :is(input,select){min-height:40px;width:100%;border:1px solid var(--ed-border);border-radius:10px;background:var(--ed-surface);color:var(--ed-text);padding:9px 10px;font:inherit;font-size:var(--ed-font-sm);outline:none;transition:border-color .18s ease,box-shadow .18s ease;}.education-comments-filter :is(input,select):focus{border-color:var(--ed-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--ed-primary) 14%,transparent);}.education-comment-status-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}.education-comment-status-cards a{text-decoration:none;border:1px solid var(--ed-border);background:var(--ed-surface);border-radius:13px;padding:13px;display:grid;gap:3px;color:var(--ed-text);}.education-comment-status-cards b{font-size:18px;}.education-comment-status-cards span{font-size:var(--ed-font-micro);color:var(--ed-muted);}.education-comments-admin-list{display:grid;gap:10px;}.education-comment-admin-row{display:grid;gap:11px;}.education-comment-admin-meta{display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,1.3fr) auto;gap:10px;align-items:center;}.education-comment-admin-meta>div{display:grid;gap:2px;}.education-comment-admin-meta b{font-size:var(--ed-font-xs);}.education-comment-admin-meta small{font-size:var(--ed-font-micro);color:var(--ed-muted);}.education-comment-admin-meta>a{font-size:var(--ed-font-micro);color:#2457e6;text-decoration:none;}.education-comment-status{font-size:var(--ed-font-micro);font-weight:850;padding:5px 8px;border-radius:999px;background:#f2f4f7;color:#667085;}.education-comment-status.approved{background:#ecfdf3;color:#067647;}.education-comment-status.pending{background:#fffaeb;color:#b54708;}.education-comment-status.trash{background:#fff1f3;color:#c01048;}.education-comment-admin-body{font-size:var(--ed-font-xs);line-height:2;padding:11px;border:1px solid var(--ed-border);border-radius:12px;background:var(--ed-surface-soft);color:var(--ed-text);}.education-comment-admin-actions{display:flex;flex-wrap:wrap;gap:7px;}.education-comment-admin-actions form{margin:0;}.education-comment-admin-reply{display:grid;grid-template-columns:1fr auto;gap:8px;}.education-comment-admin-reply textarea{width:100%;min-height:72px;border:1px solid var(--ed-border);border-radius:12px;padding:10px 11px;background:var(--ed-surface);color:var(--ed-text);font:inherit;outline:0;resize:vertical}.education-comment-admin-reply textarea:focus{border-color:var(--ed-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--ed-primary) 12%,transparent)}
.education-taxonomy-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}.education-taxonomy-admin-grid>.up-card{display:grid;gap:14px;align-content:start;}.education-taxonomy-admin-grid h2{margin:0;}.education-taxonomy-form{display:grid;grid-template-columns:1fr 1fr;gap:9px;}.education-taxonomy-form label{display:grid;gap:5px;font-size:var(--ed-font-micro);font-weight:800;}.education-taxonomy-form :is(input,select,textarea){width:100%;min-height:40px;border:1px solid var(--ed-border);border-radius:10px;background:var(--ed-surface);color:var(--ed-text);padding:9px 10px;font:inherit;font-size:var(--ed-font-sm);outline:none;transition:border-color .18s ease,box-shadow .18s ease;}.education-taxonomy-form textarea{min-height:86px;resize:vertical;}.education-taxonomy-form :is(input,select,textarea):focus{border-color:var(--ed-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--ed-primary) 14%,transparent);}.education-taxonomy-form label:has(textarea){grid-column:1/-1;}.education-taxonomy-list{display:grid;gap:8px;}.education-taxonomy-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--ed-border);}.education-taxonomy-list article>div{display:grid;gap:3px;}.education-taxonomy-list small{font-size:var(--ed-font-micro);color:var(--ed-muted);}


/* Central email and SMTP settings. */
.up-email-settings{gap:14px;}.email-smtp-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.email-design-card{margin-top:0;}.email-brand-grid{display:grid;grid-template-columns:minmax(190px,.58fr) minmax(300px,1fr) minmax(300px,1fr);gap:14px;margin-top:14px;align-items:stretch;}.email-brand-item{min-width:0;border:1px solid var(--ed-border);border-radius:16px;background:var(--ed-surface);padding:14px;display:grid;gap:10px;align-content:start;}.email-brand-grid label,.email-template-editor label{display:grid;gap:7px;color:#475467;font-size:var(--ed-font-xs);font-weight:800;}.email-brand-grid :is(input,select,textarea),.email-template-editor :is(input,select,textarea){width:100%;min-height:40px;border:1px solid #d0d5dd;border-radius:10px;background:var(--ed-surface);color:var(--ed-text);padding:8px 10px;font:inherit;font-size:var(--ed-font-sm);}.email-brand-grid textarea{min-height:96px;resize:vertical;line-height:1.9;}.email-brand-color-control{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;min-height:82px;padding:10px;border:1px solid var(--ed-border);border-radius:12px;background:var(--ed-surface-soft,#f8fafc);}.email-brand-color-control span{font-size:var(--ed-font-micro);color:var(--ed-muted);font-weight:700;line-height:1.8;}.email-brand-grid input[type=color]{width:72px;height:48px;min-height:48px;padding:4px;border-radius:11px;cursor:pointer;}.email-customizer{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.82fr);gap:18px;margin-top:18px;padding-top:16px;border-top:1px solid var(--ed-border);}.email-template-editor,[data-email-template-panel]{display:grid;gap:10px;min-width:0;}.email-template-editor textarea{min-height:180px;resize:vertical;line-height:1.9;}.email-live-preview{position:sticky;top:90px;align-self:start;min-width:0;}.email-preview-label{font-weight:900;font-size:var(--ed-font-sm);margin-bottom:8px;}.email-preview-frame{--mail-brand:#2457e6;background:#fff;border:1px solid #dce3ef;border-radius:18px;overflow:hidden;box-shadow:0 16px 40px rgba(30,45,85,.09);color:#111827;max-width:100%;}.email-preview-head{background:linear-gradient(135deg,var(--mail-brand),#111827);padding:24px;color:#fff;text-align:center;display:grid;gap:10px;justify-items:center;}.email-preview-head b{color:#fff;}.email-preview-logo{width:54px;height:54px;border-radius:14px;background:rgba(255,255,255,.16);display:grid;place-items:center;color:#fff;font-size:22px;font-weight:900;overflow:hidden;}.email-preview-logo:empty:before{content:"✓";}.email-preview-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain;}.email-preview-body{padding:26px;line-height:2;min-height:190px;color:#111827;overflow-wrap:anywhere;}.email-preview-body .mail-code{font-size:25px;text-align:center;border:1px dashed var(--mail-brand);padding:12px;border-radius:12px;margin:15px 0;}.email-preview-body .mail-btn{display:inline-block;background:var(--mail-brand);color:#fff;text-decoration:none;padding:8px 14px;border-radius:9px;margin-top:10px;}.email-preview-foot{padding:14px;background:#f8fafc;border-top:1px solid #e5e7eb;color:#64748b;text-align:center;font-size:var(--ed-font-xs);line-height:1.9;}.email-operations-grid,.email-log-section{margin-top:14px;}.email-log-section{min-width:0;}
@media(max-width:900px){.email-customizer{grid-template-columns:1fr;}.email-live-preview{position:static;}.email-brand-grid{grid-template-columns:1fr 1fr;}.email-brand-footer{grid-column:1/-1;}.email-brand-color-card,.email-logo-field{min-height:168px;}.email-smtp-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:620px){.up-inline-switches{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}.up-inline-switches>.up-switch-row{padding:9px 8px;gap:6px;font-size:var(--ed-font-micro);}.email-brand-grid,.email-smtp-grid{grid-template-columns:1fr;}.email-brand-item{padding:12px;border-radius:14px;}.email-brand-footer{grid-column:auto;}.email-brand-color-card,.email-logo-field{min-height:0;}.email-brand-color-control{grid-template-columns:64px minmax(0,1fr);min-height:72px;}.email-brand-grid input[type=color]{width:64px;height:44px;min-height:44px;}.email-preview-body{padding:18px;min-height:150px;}.email-preview-head{padding:18px;}.email-customizer{gap:12px;}}
html.unified-dark .education-public-page,html.unified-dark body.education-public-page{background:#0b1220;color:#e5e7eb;}html.unified-dark .education-public-hero,html.unified-dark .education-post-card,html.unified-dark .education-taxonomy-public-grid>a,html.unified-dark .education-public-tags,html.unified-dark .education-public-article,html.unified-dark .education-article-toc,html.unified-dark .education-comments,html.unified-dark .education-comment{background:#111a29;border-color:#273449;color:#e5e7eb;}html.unified-dark .education-public-hero h1,html.unified-dark .education-post-card h2 a,html.unified-dark .education-public-article-head h1,html.unified-dark .education-public-content,html.unified-dark .education-public-content :is(h1,h2,h3,h4,h5,h6),html.unified-dark .education-article-toc .toc-level-h1,html.unified-dark .education-article-toc .toc-level-h2,html.unified-dark .education-comment-body{color:#e5e7eb;}html.unified-dark .education-comment-form :is(input,textarea),html.unified-dark .education-public-filter :is(input,select){background:#0e1726;color:#e5e7eb;border-color:#334155;}html.unified-dark .education-wp-editor-head,html.unified-dark .education-media-summary{background:#111a29;}html.unified-dark .education-wp-toolbar button{background:#0e1726;color:#e5e7eb;border-color:#334155;}

@media(max-width:1100px){.education-post-grid,.education-taxonomy-public-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.education-media-grid{grid-template-columns:repeat(5,minmax(0,1fr));}.education-editor-layout{grid-template-columns:minmax(0,1fr) minmax(230px,290px);}}
@media(max-width:900px){.education-public-filter{grid-template-columns:1fr 1fr;}.education-public-filter button{grid-column:1/-1;}.education-article-shell{grid-template-columns:1fr;grid-template-areas:"toc" "content";gap:14px;}.education-article-toc{position:relative;top:auto;max-height:none;}.education-editor-layout{grid-template-columns:1fr;}.education-editor-main,.education-editor-side{grid-column:auto;}.education-editor-side{position:static;max-height:none;overflow:visible;}.unified-platform.app-education[data-platform-route^="manage"] .education-manage-filter{grid-template-columns:repeat(2,minmax(0,1fr));}.unified-platform.app-education[data-platform-route^="manage"] .education-manage-filter>*:first-child{grid-column:1/-1;}.education-admin-post-row,.education-admin-post-main{align-items:flex-start;flex-direction:column;}.education-admin-post-actions{width:100%;}.education-wp-visual,.education-wp-source{min-height:300px;}.education-comment-admin-meta{grid-template-columns:1fr;}.education-comments-filter{grid-template-columns:1fr 1fr;}.education-comments-filter button{grid-column:1/-1;}.education-media-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.education-taxonomy-admin-grid{grid-template-columns:1fr;}}
@media(max-width:620px){.education-public-main{padding:18px 10px;}.education-public-hero{padding:20px 15px;}.education-post-grid,.education-taxonomy-public-grid,.education-public-filter{grid-template-columns:1fr;}.education-public-filter button{grid-column:auto;}.education-article-page-main{padding-top:18px;}.education-article-page-container{width:calc(100% - 14px);}.education-public-article{padding:18px 14px;border-radius:18px;}.education-public-article-head h1{font-size:24px;}.education-public-meta{display:grid;gap:5px;}.education-public-content{font-size:var(--ed-font-base);}.education-public-content h2{font-size:21px;}.education-public-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}.education-comments{padding:15px;}.education-comment-guest-grid,.education-comment-status-cards,.education-comments-filter,.education-form-grid,.education-taxonomy-form{grid-template-columns:1fr;}.education-comment-form-foot{align-items:stretch;flex-direction:column;}.education-comment-form-foot .up-btn{width:100%;}.education-comment-branch[data-depth]:not([data-depth="0"]){margin-right:12px;padding-right:8px;}.unified-platform.app-education[data-platform-route^="manage"] .education-manage-filter{grid-template-columns:1fr;}.unified-platform.app-education[data-platform-route^="manage"] .education-manage-filter>*{grid-column:auto;}.education-wp-editor-head{align-items:flex-start;flex-direction:column;}.education-wp-toolbar{gap:4px;}.education-wp-toolbar button{height:32px;}.education-wp-visual{padding:14px;}.education-comment-admin-reply{grid-template-columns:1fr;}.education-comment-admin-reply .up-btn{width:100%;}.education-media-card-head{display:grid;}.education-media-open{width:100%;}.education-media-modal{padding:6px;}.education-media-dialog{width:100%;height:calc(100dvh - 12px);border-radius:14px;}.education-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.education-media-dialog>footer{align-items:stretch;flex-direction:column;padding:10px;}.education-media-dialog>footer>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}.education-media-dialog>footer .up-btn{width:100%;min-width:0;padding-inline:6px;}.education-media-panel{padding:10px;}.education-form-span{grid-column:auto;}.education-taxonomy-form label:has(textarea){grid-column:auto;}}


@media(max-width:420px){.education-media-modal{padding:0;}.education-media-dialog{width:100vw;height:100dvh;border-radius:0;border-left:0;border-right:0;}.education-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.education-media-dialog>footer>div{grid-template-columns:1fr;}.education-media-dialog>footer>span{font-size:var(--ed-font-micro);}.education-editor-group{padding:11px;}.education-title-card,.education-editor-main,.education-editor-side{gap:8px;}}
}
.education-comment-avatar{overflow:hidden}.education-comment-avatar img{width:100%;height:100%;display:block;object-fit:cover}

/* r18: email logo is a media-library asset, never a raw URL field. */
.email-brand-grid .email-logo-field{align-self:stretch}.email-brand-grid .email-logo-picker-preview{min-height:82px;border-style:dashed;border-radius:12px;background:var(--ed-surface-soft,#f8fafc);padding:9px}.email-brand-grid .email-logo-picker-preview img{max-height:64px;max-width:100%;object-fit:contain}.email-logo-picker-actions{grid-template-columns:1fr 1fr}.email-logo-picker-actions .up-btn{width:100%;min-width:0;min-height:38px}.email-brand-footer textarea{height:100%;min-height:116px}
@media(max-width:900px){.email-brand-grid .email-logo-field{grid-column:auto}.email-logo-picker-actions{grid-template-columns:1fr 1fr}.email-brand-footer textarea{min-height:92px}}
@media(max-width:620px){.email-logo-picker-actions{grid-template-columns:1fr 1fr}.email-brand-grid .email-logo-picker-preview{min-height:76px}.email-brand-footer textarea{min-height:88px}}


/* r32: commercial communications UI contracts. */
.unified-platform [data-sms-provider-panel][hidden],
.unified-platform [data-sms-otp-pattern-field][hidden],
.unified-platform [data-sms-otp-native-field][hidden],
.unified-platform [data-sms-otp-simple-field][hidden],
.unified-platform [data-email-template-panel][hidden]{display:none;}
.unified-platform .sms-provider-selector{margin-bottom:14px;}
.unified-platform .sms-provider-card [data-sms-provider-panel]{border-top:1px solid var(--ed-border);padding-top:14px;}
.email-template-editor>[data-email-template-panel]{
  border:1px solid var(--ed-border);
  border-radius:16px;
  padding:14px;
  background:var(--ed-surface);
  gap:14px;
}
.email-template-editor>[data-email-template-panel]>label{gap:8px;}
.email-rich-editor{
  border:1px solid #d0d5dd;
  border-radius:14px;
  background:var(--ed-surface);
  overflow:hidden;
  min-width:0;
}
.email-rich-toolbar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  padding:9px 10px;
  border-bottom:1px solid var(--ed-border);
  background:#f8fafc;
}
.email-rich-toolbar button{
  min-height:34px;
  border:1px solid #d0d5dd;
  border-radius:8px;
  background:#fff;
  color:#344054;
  padding:5px 9px;
  font:inherit;
  font-size:var(--ed-font-xs);
  font-weight:800;
  cursor:pointer;
}
.email-rich-visual{
  min-height:180px;
  padding:14px 16px;
  line-height:2;
  outline:0;
  color:var(--ed-text);
  background:var(--ed-surface);
  overflow-wrap:anywhere;
}
.email-rich-visual:focus{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ed-primary) 18%,transparent);}
.email-template-editor>[data-email-template-panel]>label>small{margin-top:2px;line-height:1.9;}
.email-test-result-card{margin-top:18px;}
html.unified-dark .email-rich-toolbar{background:#0e1726;border-color:var(--ed-border);}
html.unified-dark .email-rich-toolbar button{background:#111a29;color:var(--ed-text);border-color:#334155;}
@media(max-width:620px){
  .email-template-editor>[data-email-template-panel]{padding:11px;border-radius:14px;gap:11px;}
  .email-rich-toolbar{gap:5px;padding:8px;}
  .email-rich-toolbar button{flex:0 0 auto;min-height:32px;padding:5px 8px;}
  .email-rich-visual{min-height:155px;padding:12px 13px;}
  .email-test-result-card{margin-top:14px;}
}

/* r34: compact commercial SMS provider/method controls. */
.unified-platform .sms-provider-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px;align-items:stretch;}
.unified-platform .sms-provider-compact-grid>.sms-provider-field,
.unified-platform .sms-provider-compact-grid>.up-switch-row{min-width:0;margin:0;}
.unified-platform .sms-provider-compact-grid>.sms-provider-field{display:grid;gap:7px;align-content:center;}
.unified-platform [data-sms-provider-panel][hidden],
.unified-platform [data-sms-otp-pattern-field][hidden],
.unified-platform [data-sms-otp-native-field][hidden],
.unified-platform [data-sms-otp-simple-field][hidden]{display:none;}
@media(max-width:620px){.unified-platform .sms-provider-compact-grid{grid-template-columns:1fr;}}
/* r39 inline nested comment management inside article/product edit pages */
.inline-comment-manager{margin-top:22px}.inline-comment-manager>.up-section-head{margin-bottom:14px}.inline-comment-tree{display:grid;gap:12px}.inline-comment-node{border:1px solid var(--ed-border,#dbe3ef);border-radius:16px;padding:14px;background:var(--ed-surface,#fff);margin-inline-start:calc(var(--comment-depth,0) * 18px)}.inline-comment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.inline-comment-head b,.inline-comment-head small{display:block}.inline-comment-head small{margin-top:3px;color:var(--ed-text,#64748b)}.inline-comment-meta{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.inline-comment-body{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:var(--ed-bg-alt,#f7f8fb);line-height:1.9;white-space:pre-line}
/* The editors stay closed until asked for, so a list of comments reads as a list. */
.inline-comment-editor{display:grid;gap:9px;margin-top:10px}
/* `display:grid` above would otherwise win over the hidden attribute. */
.inline-comment-editor[hidden]{display:none}
.inline-comment-editor textarea{min-width:0;width:100%}
.inline-comment-editor .up-actions{margin:0}
/* One compact row of controls at the comment's bottom-left. */
.inline-comment-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:10px}
.inline-comment-actions form{margin:0}
.inline-comment-children{display:grid;gap:10px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--ed-border,#dbe3ef)}
@media(max-width:640px){.inline-comment-node{margin-inline-start:calc(var(--comment-depth,0) * 8px);padding:11px}.inline-comment-head{align-items:flex-start;flex-direction:column}.inline-comment-actions{justify-content:flex-start}.inline-comment-editor .up-btn{width:100%}}
/* Academy products on the public landing page. */
.academy-home-slider{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:24px}.academy-home-card{min-width:0;background:var(--ed-surface);border:1px solid var(--ed-border);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--ed-shadow)}.academy-home-card-image{position:relative;display:block;height:190px;background:var(--ed-primary-soft);overflow:hidden;color:var(--ed-primary)}.academy-home-card-image img{width:100%;height:100%;object-fit:cover}.academy-home-card-placeholder{display:grid;place-items:center}.academy-home-card-placeholder svg{width:48px;height:48px}.academy-home-card-body{padding:16px;display:grid;gap:11px;height:100%}.academy-home-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.academy-home-card h3{margin:0;font-size:16px;color:var(--ed-text)}.academy-home-card p{margin:0;color:var(--ed-muted);line-height:1.9;min-height:50px}.academy-home-card-foot{margin-top:auto}.academy-home-price{display:grid;gap:2px}.academy-home-price b{font-size:var(--ed-font-body)}.academy-home-price del{font-size:var(--ed-font-xs);color:var(--ed-muted)}.academy-home-card.empty-card{min-height:220px}.home-card-badge,.home-card-rating{position:absolute;top:12px;z-index:2;display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.94);color:var(--ed-primary);border:1px solid rgba(36,87,230,.12);box-shadow:0 5px 16px rgba(15,23,42,.08);font-size:var(--ed-font-xs);font-weight:850;line-height:1;backdrop-filter:blur(8px)}.home-card-badge{left:12px}.home-card-rating{right:12px;color:#a16207}

.home-instructor-slider{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;gap:16px;margin-top:24px;padding:4px 2px 10px;scrollbar-width:none}.home-instructor-slider::-webkit-scrollbar{display:none}.home-instructor-card{flex:0 0 min(350px,84vw);min-width:min(350px,84vw);scroll-snap-align:center;display:grid;grid-template-columns:78px minmax(0,1fr);gap:14px;align-items:start;padding:18px;border:1px solid var(--ed-border);border-radius:20px;background:var(--ed-surface);box-shadow:var(--ed-shadow);color:var(--ed-text)}.home-instructor-avatar{width:78px;height:78px;border-radius:22px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,var(--ed-primary-soft),var(--ed-surface-soft));border:1px solid var(--ed-border);color:var(--ed-primary);font-size:30px;font-weight:900}.home-instructor-avatar img{width:100%;height:100%;object-fit:cover}.home-instructor-copy{display:grid;gap:8px;min-width:0}.home-instructor-copy h3{margin:0;color:var(--ed-text);font-size:17px}.home-instructor-copy p{margin:0;color:var(--ed-muted);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-instructor-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.home-instructor-stats span{display:grid;gap:2px;text-align:center;padding:7px 5px;border:1px solid var(--ed-border);border-radius:11px;background:var(--ed-surface-soft);font-size:var(--ed-font-micro);color:var(--ed-muted)}.home-instructor-stats b{font-size:var(--ed-font-md);color:var(--ed-text)}.home-instructor-copy .btn{justify-self:start}.dark-ui .home-instructor-card,html.unified-dark .home-instructor-card{background:var(--ed-surface);border-color:var(--ed-border);color:var(--ed-text)}
@media(max-width:560px){.home-instructor-card{grid-template-columns:64px minmax(0,1fr);padding:14px;gap:11px}.home-instructor-avatar{width:64px;height:64px;border-radius:18px}.home-instructor-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:1100px){.academy-home-slider{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.academy-home-slider{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;gap:14px;padding:4px 2px 14px;scrollbar-width:none}.academy-home-slider::-webkit-scrollbar{display:none}.academy-home-card{flex:0 0 82vw;min-width:82vw;scroll-snap-align:start}.academy-home-card-image{height:175px}.academy-home-card-body{padding:14px}.academy-home-card-foot{align-items:flex-end}}

/* Shared rich-content editor for articles and academy products. */
.ed-rich-editor{border:1px solid var(--ed-border,#dbe3ef);border-radius:16px;overflow:hidden;background:var(--ed-surface,#fff)}.ed-rich-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--ed-border,#e2e8f0)}.ed-rich-editor-tabs,.ed-rich-editor-toolbar{display:flex;flex-wrap:wrap;gap:6px}.ed-rich-editor-tabs button,.ed-rich-editor-toolbar button{border:1px solid var(--ed-border,#dbe3ef);background:transparent;border-radius:8px;min-height:34px;padding:5px 10px;cursor:pointer;color:inherit}.ed-rich-editor-tabs button.active{background:var(--ed-primary,#2457e6);color:#fff;border-color:var(--ed-primary,#2457e6)}.ed-rich-editor-toolbar{padding:10px 12px;border-bottom:1px solid var(--ed-border,#e2e8f0);background:rgba(148,163,184,.06)}.ed-rich-editor-visual{min-height:260px;padding:16px;outline:0;line-height:2}.ed-rich-editor-visual img{max-width:100%;height:auto;border-radius:12px}.ed-rich-editor textarea.ed-rich-editor-source{width:100%;min-height:280px;border:0;border-radius:0;padding:16px;direction:ltr;text-align:left;font-family:monospace}.ed-rich-editor-visual figure{margin:18px 0}.ed-rich-editor-visual figcaption{font-size:var(--ed-font-md);color:#64748b;text-align:center;margin-top:6px}
@media(max-width:760px){.ed-media-picker{padding:8px}.ed-media-picker-dialog{width:100%;height:96vh;border-radius:20px;grid-template-rows:auto auto auto minmax(0,1fr) auto}.ed-media-picker-head{padding:14px}.ed-media-picker-toolbar{grid-template-columns:1fr 1fr;padding:10px 12px}.ed-media-search{grid-column:1/-1}.ed-media-picker-toolbar .up-btn{width:100%}.ed-media-upload-row{grid-template-columns:1fr 1fr}.ed-media-upload-row .ed-media-file-control,.ed-media-upload-row input[name=title]{grid-column:1/-1}.ed-media-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}.ed-media-thumb{height:130px}.ed-media-picker-footer{padding:10px 12px;display:grid;grid-template-columns:1fr}.ed-media-pages,.ed-media-picker-actions{justify-content:space-between}.ed-media-picker-actions .up-btn{flex:1}.ed-media-inline-upload{padding:10px 12px}.ed-media-upload-progress{grid-template-columns:1fr auto}.ed-media-upload-progress small{grid-column:1/-1}.ed-rich-editor-head{align-items:flex-start;flex-direction:column}.ed-rich-editor-visual{min-height:220px}}

/* r40 — Academy product management follows the compact article-management pattern. */
.academy-manage-head-actions,.academy-edit-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.academy-products-list-card{display:grid;gap:14px;}
.academy-manage-filter{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:end;}
.academy-manage-filter label{display:grid;gap:6px;font-size:var(--ed-font-sm);font-weight:800;}
.academy-manage-filter input{width:100%;min-height:40px;border:1px solid var(--ed-border);border-radius:10px;padding:8px 10px;background:var(--ed-surface);color:var(--ed-text);font:inherit;}
.academy-product-search-submit,.academy-product-search-clear{width:40px;height:40px;min-width:40px;min-height:40px;align-self:end}.academy-product-search-submit .ui-icon,.academy-product-search-clear .ui-icon{width:18px;height:18px}
.academy-admin-products{display:grid;gap:8px;}
.academy-admin-product-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--ed-border);border-radius:14px;background:var(--ed-surface-soft,#f8fafc);}
.academy-admin-product-main{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:14px;}
.academy-admin-product-main h3{margin:0 0 6px;font-size:var(--ed-font-base);}.academy-admin-product-main code{direction:ltr;font-size:var(--ed-font-micro);color:var(--ed-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px;}
.academy-admin-product-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--ed-muted);font-size:var(--ed-font-micro)}.academy-admin-product-meta :is(span,b){padding:3px 7px;border-radius:999px;background:var(--ed-surface);border:1px solid var(--ed-border);font-weight:700;}
.academy-product-row-actions{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-end;gap:5px!important;flex-wrap:nowrap!important;width:auto!important;min-width:max-content;}
.academy-product-row-actions form{display:block;margin:0;flex:0 0 auto;}.academy-product-row-actions .up-icon-btn{width:36px;height:36px;min-width:36px;display:inline-grid;place-items:center;border:1px solid var(--ed-border);border-radius:10px;background:var(--ed-surface);color:var(--ed-text);padding:0;text-decoration:none;cursor:pointer}.academy-product-row-actions .up-icon-btn.danger{color:var(--ed-danger);border-color:color-mix(in srgb,var(--ed-danger) 28%,var(--ed-border));background:color-mix(in srgb,var(--ed-danger) 5%,var(--ed-surface));}.academy-product-row-actions .ui-icon{width:18px;height:18px;}
.academy-products-pagination{display:flex;justify-content:center;align-items:center;gap:6px;padding-top:4px}.academy-products-pagination a{width:34px;height:34px;display:grid;place-items:center;text-decoration:none;border:1px solid var(--ed-border);border-radius:9px;background:var(--ed-surface);color:var(--ed-text);font-size:var(--ed-font-xs);font-weight:800}.academy-products-pagination a.active{background:var(--ed-primary);color:#fff;border-color:var(--ed-primary)}

.academy-product-editor{display:block}.academy-product-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:14px;align-items:start}.academy-product-editor-main,.academy-product-editor-side{display:grid;gap:12px;min-width:0}.academy-product-editor-side{position:sticky;top:86px}.academy-editor-card{display:grid;gap:12px}.academy-editor-card>h3{margin:0;font-size:var(--ed-font-base)}.academy-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.academy-editor-grid label,.academy-product-editor label{display:grid;gap:6px;font-size:var(--ed-font-xs);font-weight:800;color:#475467;min-width:0}.academy-editor-grid :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select),.academy-product-editor-side :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select){width:100%;min-width:0;min-height:40px;border:1px solid #d0d5dd;border-radius:10px;background:var(--ed-surface);color:var(--ed-text);padding:8px 10px;font:inherit;font-size:var(--ed-font-sm)}.academy-editor-span{grid-column:1/-1}.academy-save-product{width:100%}.product-media-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.product-media-section-head h3{margin:0 0 4px}.product-media-section-head p{margin:0;color:var(--ed-muted);font-size:var(--ed-font-micro)}.product-media-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-media-field{border:1px solid var(--ed-border);border-radius:12px;padding:11px;display:grid;gap:9px;min-width:0}.product-media-field-wide{grid-column:1/-1}.product-media-label{display:flex;justify-content:space-between;gap:8px;align-items:center}.product-media-label span{font-size:var(--ed-font-micro);color:var(--ed-muted)}.product-media-selected{min-height:68px;display:flex;gap:8px;flex-wrap:wrap}.product-media-selected-item{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;padding:7px 8px;border:1px solid var(--ed-border);border-radius:10px;background:var(--ed-surface-soft)}.product-media-selected-item img{width:54px;height:48px;object-fit:cover;border-radius:7px}.product-media-selected-item>span:not(.product-media-type){display:grid;min-width:0}.product-media-selected-item b,.product-media-selected-item small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-media-selected-item b{font-size:var(--ed-font-micro)}.product-media-selected-item small{font-size:var(--ed-font-micro);color:var(--ed-muted)}.product-media-type{width:48px;height:48px;display:grid;place-items:center;border-radius:7px;background:var(--ed-primary-soft);color:var(--ed-primary);font-size:var(--ed-font-micro);font-weight:900}.product-media-remove{border:0;background:transparent;color:var(--ed-danger);font-size:18px;cursor:pointer}.product-media-empty{color:var(--ed-muted);font-size:var(--ed-font-micro);align-self:center}.academy-media-actions{display:flex;gap:6px;flex-wrap:wrap}

/* Native checkbox sizing for article SEO and taxonomy forms. */
.academy-native-check{display:flex!important;align-items:center!important;gap:8px!important;grid-template-columns:none!important;}.academy-native-check input[type="checkbox"]{appearance:auto!important;-webkit-appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;margin:0!important;padding:0!important;flex:0 0 18px!important;accent-color:var(--ed-primary,#2457e6);box-shadow:none!important;}
.education-check{display:flex!important;align-items:center!important;gap:8px!important;grid-template-columns:none!important;}.education-check input[type="checkbox"],.education-check input[type="radio"]{appearance:auto!important;-webkit-appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;margin:0!important;padding:0!important;flex:0 0 18px!important;accent-color:var(--ed-primary,#2457e6);box-shadow:none!important;}
.education-taxonomy-form .education-check{justify-content:flex-start;width:max-content;max-width:100%;padding:6px 0}.education-taxonomy-list article small{color:var(--ed-muted)}

/* Academy product carousel deliberately mirrors the article carousel. */
.academy-home-slider{display:flex!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;gap:16px!important;margin-top:24px;padding:4px 2px 8px;scrollbar-width:none}.academy-home-slider::-webkit-scrollbar{display:none}.academy-home-card{flex:0 0 min(360px,84vw);min-width:min(360px,84vw);scroll-snap-align:center}.education-slider-dots,.academy-slider-dots{display:flex;justify-content:center;align-items:center;gap:7px;min-height:28px;margin:9px auto 2px}.education-slider-dots button,.academy-slider-dots button{appearance:none;border:0;padding:0;width:7px;height:7px;border-radius:999px;background:#cbd5e1;cursor:pointer;transition:width .18s ease,background .18s ease}.education-slider-dots button.active,.academy-slider-dots button.active{width:24px;background:#2457e6}.education-slider-dots button:focus-visible,.academy-slider-dots button:focus-visible{outline:2px solid #2457e6;outline-offset:3px}

/* Mobile article/product editors: cards remain separate but become a single clean column. */
@media(max-width:900px){
  .education-editor-layout,.academy-product-editor-layout{grid-template-columns:minmax(0,1fr)!important;display:grid!important}.education-editor-main,.education-editor-side{grid-column:auto!important}.education-editor-side,.academy-product-editor-side{position:static!important;top:auto!important;max-height:none!important;overflow:visible!important}.academy-manage-head-actions,.academy-edit-head-actions{width:100%}.academy-manage-head-actions .up-btn,.academy-edit-head-actions .up-btn{flex:1 1 auto}.academy-admin-product-row{grid-template-columns:minmax(0,1fr) auto}.academy-admin-product-main{display:grid;gap:7px}.academy-admin-product-main code{max-width:100%}
}
@media(max-width:640px){
  .academy-manage-filter{grid-template-columns:minmax(0,1fr) auto auto}.academy-manage-filter label{grid-column:auto}.academy-product-search-submit,.academy-product-search-clear{width:38px;height:38px;min-width:38px;min-height:38px}.academy-admin-product-row{padding:10px;gap:8px}.academy-admin-product-meta{gap:4px}.academy-product-row-actions{gap:4px!important}.academy-product-row-actions .up-icon-btn{width:34px;height:34px;min-width:34px}.academy-editor-grid,.product-media-fields,.education-form-grid{grid-template-columns:1fr!important}.academy-editor-span,.product-media-field-wide,.education-form-span{grid-column:auto!important}.product-media-section-head,.education-media-card-head{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important}.product-media-section-head .up-btn,.education-media-card-head .up-btn{width:100%}.education-wp-editor-head{align-items:flex-start;flex-direction:column}.education-wp-editor-tabs{width:100%}.education-wp-editor-tabs button{flex:1}.education-wp-toolbar{gap:4px}.education-wp-toolbar button{min-width:34px}.education-wp-visual,.education-wp-source{min-height:300px}.education-media-summary{min-height:60px}.education-media-thumb,.education-media-thumb img{width:64px}.education-media-thumb img{height:54px}
}

/* r41 education/product edit compact controls */
.education-comment-setting-card .education-comment-switch.compact{display:inline-flex;align-items:center;gap:10px;justify-self:start;}
.education-comment-setting-card .education-comment-switch.compact input{order:3;}
.education-comment-setting-card .education-comment-switch.compact span{order:2;}
.education-comment-setting-card .education-comment-switch.compact em{order:1;font-style:normal;color:var(--ed-muted);}
.up-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.up-section-head>.up-badge{margin-inline-start:auto;}
.inline-comment-manager .up-section-head>.up-badge{order:2;}
@media (max-width:768px){.up-section-head{align-items:flex-start;}.inline-comment-manager .up-section-head>.up-badge{margin-inline-start:0;}}

/* === EduNex r41: taller media, shorter card body, stable taxonomy/comment controls === */
.academy-home-card{min-height:0!important;height:auto!important;}
.academy-home-card-image{height:240px!important;}
.academy-home-card-body{
  padding:13px 14px!important;display:grid!important;gap:6px!important;height:auto!important;min-height:0!important;align-content:start!important;
}
.academy-home-card h3{margin:0!important;line-height:1.55!important;}
.academy-home-card p{margin:0!important;min-height:0!important;line-height:1.65!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.academy-home-card-foot{margin-top:3px!important;align-items:end!important;}
.taxonomy-row-actions,.academy-category-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;flex-wrap:nowrap!important;}
.taxonomy-row-actions form,.academy-category-actions form{margin:0!important;display:inline-flex!important;}
.education-taxonomy-list article,.academy-category-row{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;}
@media(max-width:760px){.academy-home-card-image{height:215px!important;}.academy-home-card-body{padding:12px 13px!important;gap:5px!important;}}

/* r41 taxonomy toggle keeps native checkbox proportions on every viewport. */
.academy-inline-toggle input[type="checkbox"]{appearance:auto!important;-webkit-appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;margin:0!important;padding:0!important;accent-color:var(--ed-primary,#2457e6);box-shadow:none!important;}
.academy-inline-toggle{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;}

/* EduNex r48: deep-learning showcase is a compact swipeable rail on every viewport. */
.platform-demo-grid[data-learn-slider]{
  display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;padding:4px 2px 8px;scrollbar-width:none;
}
.platform-demo-grid[data-learn-slider]::-webkit-scrollbar{display:none}
.platform-demo-grid[data-learn-slider]>.platform-demo-card{
  flex:0 0 min(360px,84vw);width:min(360px,84vw);min-width:min(360px,84vw);max-width:min(360px,84vw);
  scroll-snap-align:center;min-height:310px;
}
html.unified-dark .landing-page .platform-demo-grid[data-learn-slider]>.platform-demo-card,
body.dark-ui.landing-page .platform-demo-grid[data-learn-slider]>.platform-demo-card{
  background:transparent;box-shadow:none;border-color:var(--ed-dark-border,var(--ed-border));
}
html.unified-dark .landing-page .platform-demo-grid[data-learn-slider]>.platform-demo-card:before,
body.dark-ui.landing-page .platform-demo-grid[data-learn-slider]>.platform-demo-card:before{display:none}
html.unified-dark .landing-page .home-card-badge,html.unified-dark .landing-page .home-card-rating,body.dark-ui.landing-page .home-card-badge,body.dark-ui.landing-page .home-card-rating{background:color-mix(in srgb,var(--ed-surface) 92%,transparent);border-color:var(--ed-border);color:#9db7ff}

/* Article slider cards must not inherit generic course-card padding/min-height. */
.home-course-grid.education-home-slider>article.education-home-card{
  padding:0;gap:0;min-height:0;height:auto;align-self:flex-start;
}
.landing-page .education-home-slider .education-home-card-body{padding:12px 14px;gap:5px;align-content:start}
.landing-page .education-home-slider .education-home-card-foot{margin-top:2px;padding-bottom:0}
@media(max-width:760px){
  .landing-page .education-home-slider .education-home-card-body{padding:11px 12px;gap:4px}
  .education-home-card-foot .btn{min-height:38px;padding-block:7px}
}

/* EduNex r53: academy comment moderation follows the shared admin field/card contract. */
.education-comment-admin-row{background:var(--ed-surface);color:var(--ed-text)}
.education-comment-admin-actions{align-items:center}.education-comment-admin-actions .up-btn{min-height:36px}
.education-comment-admin-reply{align-items:end}.education-comment-admin-reply .up-btn{min-height:42px}
html.unified-dark .education-comment-admin-row,body.dark-ui .education-comment-admin-row{background:var(--ed-surface);border-color:var(--ed-border)}
html.unified-dark .education-comment-status,body.dark-ui .education-comment-status{background:var(--ed-surface-soft);color:var(--ed-muted);border:1px solid var(--ed-border)}
html.unified-dark .education-comment-status.approved,body.dark-ui .education-comment-status.approved{background:color-mix(in srgb,#12b76a 12%,var(--ed-surface));color:#6ce9a6}
html.unified-dark .education-comment-status.pending,body.dark-ui .education-comment-status.pending{background:color-mix(in srgb,#f79009 12%,var(--ed-surface));color:#fec84b}
html.unified-dark .education-comment-status.trash,body.dark-ui .education-comment-status.trash{background:color-mix(in srgb,#f04438 12%,var(--ed-surface));color:#fda29b}

/* Content-review workflow shared by Education admins and content producers. */
.education-review-queue{display:grid;gap:12px;margin-bottom:14px}.education-review-list{display:grid;gap:10px}.education-review-card{display:grid;gap:10px;padding:12px;border:1px solid var(--ed-border);border-radius:15px;background:var(--ed-surface-soft)}.education-review-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}.education-review-card-head b,.education-review-card-head small{display:block}.education-review-card-head small{margin-top:4px;color:var(--ed-muted);font-size:var(--ed-font-micro)}.education-review-preview-actions{display:flex;gap:7px;flex-wrap:wrap}.education-review-decision{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center}.education-review-decision>input{min-width:0;width:100%;min-height:38px;border:1px solid var(--ed-border);border-radius:11px;background:var(--ed-surface);color:var(--ed-text);padding:8px 10px;font:inherit}.education-review-required{color:var(--ed-muted);font-size:var(--ed-font-micro)}.education-editor-approval-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.education-revision-preview-shell{display:grid;gap:14px}.education-revision-mode-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.education-revision-mode-tabs a{flex:0 0 auto;min-height:36px;padding:8px 12px;border:1px solid var(--ed-border);border-radius:11px;background:var(--ed-surface);color:var(--ed-text);text-decoration:none;font-size:var(--ed-font-xs);font-weight:850}.education-revision-mode-tabs a.active{background:var(--ed-primary);border-color:var(--ed-primary);color:#fff}.education-revision-diff-list{display:grid;gap:9px}.education-revision-diff-list article{display:grid;gap:8px;padding:11px;border:1px solid var(--ed-border);border-radius:13px;background:var(--ed-surface-soft)}.education-revision-diff-list article>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.education-revision-diff-list article span{display:grid;gap:4px;min-width:0;padding:9px;border-radius:10px;background:var(--ed-surface);overflow-wrap:anywhere;white-space:pre-wrap}.education-revision-diff-list article small{color:var(--ed-muted);font-size:var(--ed-font-micro)}.education-content-preview{display:grid;gap:12px}.education-content-preview header{display:grid;gap:6px}.education-content-preview h2{margin:0}.education-content-preview header p{margin:0;color:var(--ed-muted)}.education-content-preview-body{padding:16px;border:1px solid var(--ed-border);border-radius:14px;background:var(--ed-surface);color:var(--ed-text);line-height:2;overflow-wrap:anywhere}.education-content-preview footer{display:flex;gap:12px;flex-wrap:wrap;color:var(--ed-muted);font-size:var(--ed-font-micro)}.education-revision-decision-card{display:grid;gap:11px;margin-top:14px}
@media(max-width:620px){.education-review-decision{grid-template-columns:1fr 1fr}.education-review-decision>input{grid-column:1/-1}.education-review-preview-actions{display:grid;grid-template-columns:1fr 1fr}.education-review-preview-actions .up-btn:last-child{grid-column:1/-1}.education-revision-diff-list article>div{grid-template-columns:1fr}.education-editor-approval-actions{grid-template-columns:1fr 1fr}}

/* EduNex r72: provider-neutral SMS center */
.sms-core-settings{display:grid;gap:14px}
.sms-provider-compact-grid{display:grid;grid-template-columns:minmax(240px,1.25fr) repeat(3,minmax(180px,1fr));gap:10px;align-items:stretch}
.sms-provider-compact-grid>.sms-provider-field{display:grid;gap:7px;align-content:center;min-width:0}
.sms-provider-compact-grid>.sms-provider-field small{color:var(--ed-muted);line-height:1.7}
.sms-provider-compact-grid>.up-switch-row,.sms-provider-compact-grid>.switch-row{margin:0;min-width:0}
.sms-common-timing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sms-provider-panel{display:grid;gap:14px;padding:14px;border:1px solid var(--ed-border);border-radius:16px;background:var(--ed-surface-soft)}
.sms-provider-panel[hidden],.sms-provider-panel.is-hidden,[data-sms-otp-dependent][hidden],[data-sms-otp-dependent].is-hidden{display:none!important}
.sms-provider-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--ed-border)}
.sms-provider-panel__head h3,.sms-provider-panel__head p{margin:0}.sms-provider-panel__head p{margin-top:4px;color:var(--ed-muted)}
.sms-provider-badge{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid var(--ed-border);border-radius:999px;background:var(--ed-surface);color:var(--ed-muted);direction:ltr;white-space:nowrap}
.sms-provider-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sms-provider-fields>.span-2{grid-column:1/-1}
.sms-provider-fields label{min-width:0}
.sms-provider-fields label>small{display:block;margin-top:5px;color:var(--ed-muted);line-height:1.65}
.sms-sandbox-switch{align-self:end;min-height:44px}
.sms-otp-native-note{display:grid;gap:4px;align-content:center;min-height:74px;padding:10px 12px;border:1px dashed var(--ed-border);border-radius:12px;background:var(--ed-surface)}
.sms-otp-native-note small{color:var(--ed-muted)}
.sms-pattern-manager,.sms-template-group{border:1px solid var(--ed-border);border-radius:14px;background:var(--ed-surface);overflow:hidden}
.sms-pattern-manager>summary,.sms-template-group>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;font-weight:850}
.sms-pattern-manager>summary::-webkit-details-marker,.sms-template-group>summary::-webkit-details-marker{display:none}
.sms-pattern-manager>summary:after,.sms-template-group>summary:after{content:"⌄";flex:0 0 auto;font-size:18px;transition:transform .18s ease}
.sms-pattern-manager[open]>summary:after,.sms-template-group[open]>summary:after{transform:rotate(180deg)}
.sms-pattern-manager>summary small{font-weight:500;color:var(--ed-muted);line-height:1.65}
.sms-pattern-list{display:grid;border-top:1px solid var(--ed-border)}
.sms-pattern-row{display:grid;grid-template-columns:minmax(210px,1fr) minmax(180px,.75fr) minmax(260px,1.2fr);gap:10px;align-items:end;padding:11px 14px;border-bottom:1px dashed var(--ed-border)}
.sms-pattern-row:last-child{border-bottom:0}
.sms-pattern-row__meta{display:grid;gap:4px;min-width:0;align-self:center}
.sms-pattern-row__meta small{color:var(--ed-muted);line-height:1.65;overflow-wrap:anywhere}
.sms-switch-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.sms-template-groups{display:grid;gap:10px}
.sms-template-group>summary{background:var(--ed-surface-soft)}
.sms-template-grid{padding:12px 14px;border-top:1px solid var(--ed-border);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sms-template-grid label,.sms-template-grid .field{min-width:0}
.sms-template-grid small{display:block;margin-top:5px;color:var(--ed-muted);line-height:1.65;overflow-wrap:anywhere}
.sms-test-grid form{align-content:start}

@media(max-width:1180px){
  .sms-provider-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sms-switch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sms-pattern-row{grid-template-columns:minmax(190px,.8fr) minmax(160px,.7fr) minmax(220px,1fr)}
}
@media(max-width:760px){
  .sms-provider-compact-grid,.sms-common-timing-grid,.sms-provider-fields,.sms-template-grid{grid-template-columns:1fr!important}
  .sms-provider-fields>.span-2{grid-column:auto}
  .sms-provider-panel{padding:11px;border-radius:13px}
  .sms-provider-panel__head{display:grid}
  .sms-provider-badge{justify-self:start}
  .sms-switch-grid{grid-template-columns:1fr!important}
  .sms-pattern-manager>summary{display:grid}
  .sms-pattern-row{grid-template-columns:1fr;align-items:stretch;padding:11px}
}

/* === EduNex r75: linked product/article rows, thumbnails and Academy buyers === */
.academy-manage-filter{grid-template-columns:minmax(240px,2fr) minmax(180px,1fr) auto auto;}
.academy-manage-filter :is(input,select){width:100%;min-height:40px;border:1px solid var(--ed-border);border-radius:10px;padding:8px 10px;background:var(--ed-surface);color:var(--ed-text);font:inherit;outline:none;}
.academy-manage-filter :is(input,select):focus{border-color:#8aa9ff;box-shadow:0 0 0 3px rgba(36,87,230,.09);}
.academy-admin-product-main{justify-content:flex-start;gap:12px;}
.academy-admin-item-thumb,.education-admin-item-thumb{flex:0 0 auto;width:76px;height:64px;border:1px solid var(--ed-border);border-radius:12px;overflow:hidden;background:linear-gradient(135deg,var(--ed-surface-soft,#f8fafc),var(--ed-surface,#fff));display:grid;place-items:center;color:#2457e6;}
.academy-admin-item-thumb img,.education-admin-item-thumb img{display:block;width:100%;height:100%;object-fit:cover;}
.academy-admin-item-thumb .ui-icon,.education-admin-item-thumb .ui-icon{width:27px;height:27px;}
.academy-admin-product-copy,.education-admin-post-copy{min-width:0;flex:1;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.academy-admin-product-copy>div,.education-admin-post-copy>div{min-width:0;}
.academy-admin-product-meta :is(a,span,b){display:inline-flex;align-items:center;min-height:25px;padding:3px 7px;border-radius:999px;background:var(--ed-surface);border:1px solid var(--ed-border);font-weight:700;line-height:1.4;}
.academy-admin-product-meta a,.education-admin-post-meta a{color:inherit;text-decoration:none;transition:border-color .16s ease,color .16s ease,background .16s ease;}
.academy-admin-product-meta a:hover,.education-admin-post-meta a:hover{color:#2457e6;border-color:#b7c8fb;background:#eef4ff;}
.education-admin-post-main{justify-content:flex-start;gap:12px;}
.education-admin-post-copy code{direction:ltr;font-size:var(--ed-font-micro);color:var(--ed-muted);overflow-wrap:anywhere;}
.education-admin-post-meta a{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid var(--ed-border);border-radius:999px;background:var(--ed-surface-soft,#f8fafc);font-weight:750;}

.academy-buyers-card{display:grid;gap:14px;}
.academy-buyers-filter{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(165px,.75fr) minmax(220px,1fr) auto;gap:9px;align-items:end;}
.academy-buyers-filter label{display:grid;gap:6px;font-size:var(--ed-font-sm);font-weight:800;color:var(--ed-text);}
.academy-buyers-filter :is(input,select){width:100%;min-height:40px;border:1px solid var(--ed-border);border-radius:10px;padding:8px 10px;background:var(--ed-surface);color:var(--ed-text);font:inherit;outline:none;}
.academy-buyers-filter :is(input,select):focus{border-color:#8aa9ff;box-shadow:0 0 0 3px rgba(36,87,230,.09);}
.academy-buyer-list{display:grid;gap:8px;}
.academy-buyer-row{display:grid;grid-template-columns:minmax(190px,.9fr) minmax(0,2.5fr) auto;align-items:center;gap:14px;padding:12px;border:1px solid var(--ed-border);border-radius:13px;background:var(--ed-surface-soft,#f8fafc);}
.academy-buyer-identity{display:flex;align-items:center;gap:10px;min-width:0;}
.academy-buyer-avatar{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;background:#eef4ff;color:#2457e6;font-weight:900;font-size:var(--ed-font-md);}
.academy-buyer-identity>div{min-width:0;display:grid;gap:2px;}.academy-buyer-identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.academy-buyer-identity small{color:var(--ed-muted);font-size:var(--ed-font-xs);direction:ltr;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.academy-buyer-meta{display:grid;grid-template-columns:minmax(170px,1.6fr) repeat(4,minmax(95px,1fr));gap:8px;min-width:0;}
.academy-buyer-meta>span{min-width:0;display:grid;gap:2px;padding-inline-start:8px;border-inline-start:1px dashed var(--ed-border);}.academy-buyer-meta small{color:var(--ed-muted);font-size:var(--ed-font-micro);}.academy-buyer-meta b{font-size:var(--ed-font-xs);overflow-wrap:anywhere;}

@media(max-width:900px){
  .academy-manage-filter{grid-template-columns:minmax(0,1fr) minmax(150px,.7fr) auto auto;}
  .academy-admin-product-main,.education-admin-post-main{display:flex;flex-direction:row;align-items:flex-start;}
  .academy-admin-product-copy,.education-admin-post-copy{display:grid;gap:6px;}
  .academy-admin-product-copy code,.education-admin-post-copy code{max-width:100%;}
  .education-admin-post-row{align-items:flex-start;flex-direction:column;}
  .academy-buyers-filter{grid-template-columns:1fr 1fr;}.academy-buyers-filter label:last-of-type{grid-column:1/-1;}.academy-buyers-filter .up-btn{grid-column:1/-1;}
  .academy-buyer-row{grid-template-columns:1fr auto;}.academy-buyer-meta{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));}.academy-buyer-row>.up-btn{grid-column:2;grid-row:1;}
}
@media(max-width:640px){
  .academy-manage-filter{grid-template-columns:minmax(0,1fr) auto auto;}.academy-product-category-filter{grid-column:1/-1;grid-row:2;}.academy-product-search-submit,.academy-product-search-clear{align-self:end;}
  .academy-admin-item-thumb,.education-admin-item-thumb{width:58px;height:54px;border-radius:10px;}.academy-admin-item-thumb .ui-icon,.education-admin-item-thumb .ui-icon{width:23px;height:23px;}
  .academy-admin-product-row{align-items:start;}.academy-admin-product-copy h3,.education-admin-post-copy h3{font-size:var(--ed-font-sm);line-height:1.65;}
  .academy-admin-product-meta,.education-admin-post-meta{gap:4px 6px;}.academy-admin-product-meta :is(a,span,b){font-size:var(--ed-font-micro);}
  .academy-buyers-filter{grid-template-columns:1fr;}.academy-buyers-filter label,.academy-buyers-filter label:last-of-type,.academy-buyers-filter .up-btn{grid-column:auto;}
  .academy-buyer-row{grid-template-columns:1fr;}.academy-buyer-row>.up-btn{grid-column:auto;grid-row:auto;width:100%;}.academy-buyer-meta{grid-column:auto;grid-row:auto;grid-template-columns:1fr 1fr;}.academy-buyer-meta>span:first-child{grid-column:1/-1;}
}

/* === EduNex r76: Academy certificates, live learning showcase and public certificate preview === */
.academy-certificate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.academy-certificate-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;padding:14px;overflow:hidden}.academy-certificate-card-visual{position:relative;min-height:190px;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:15px;background:linear-gradient(145deg,color-mix(in srgb,var(--certificate-accent,#315efb) 20%,var(--ed-surface)),var(--ed-surface-soft));color:var(--certificate-accent,#315efb);border:1px solid color-mix(in srgb,var(--certificate-accent,#315efb) 24%,var(--ed-border))}.academy-certificate-card-visual::after{content:"";position:absolute;width:120px;height:120px;border-radius:999px;top:-45px;left:-40px;background:color-mix(in srgb,var(--certificate-accent,#315efb) 18%,transparent)}.academy-certificate-card-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.2}.academy-certificate-card-visual>span{position:absolute;top:18px;right:18px}.academy-certificate-card-visual>span .ui-icon,.academy-certificate-card-visual>.ui-icon{width:44px;height:44px}.academy-certificate-card-visual b,.academy-certificate-card-visual small{position:relative;z-index:1}.academy-certificate-card-visual b{font-size:19px}.academy-certificate-card-copy{min-width:0;display:grid;gap:11px;align-content:start}.academy-certificate-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.academy-certificate-card-head h2{font-size:17px;margin:7px 0 0}.academy-certificate-score{font-weight:900;font-size:20px;color:var(--ed-primary);white-space:nowrap}.academy-certificate-card-meta{display:flex;flex-wrap:wrap;gap:7px 12px;color:var(--ed-muted);font-size:var(--ed-font-xs)}.academy-certificate-card-meta span{display:inline-flex;align-items:center;gap:5px}.academy-certificate-card-meta .ui-icon{width:15px;height:15px}.academy-certificate-code{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:11px;background:var(--ed-surface-soft);border:1px dashed var(--ed-border)}.academy-certificate-code small{color:var(--ed-muted)}.academy-certificate-code b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--ed-font-xs);overflow-wrap:anywhere}.academy-certificate-empty{min-height:260px;display:grid;place-items:center;text-align:center;align-content:center;gap:9px}.academy-certificate-empty>.ui-icon{width:46px;height:46px;color:var(--ed-primary)}
.public-certificate-preview{padding:34px 0 54px}.public-certificate-preview-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}.public-certificate-preview-head h1{margin:7px 0}.public-certificate-preview-head p{max-width:720px;color:var(--ed-muted);line-height:1.9}.public-certificate-preview .academy-certificate-page{max-width:1120px}.public-certificate-preview .academy-certificate-sheet{border-radius:6px}
.academy-tools-section{position:relative;overflow:hidden}.academy-tools-section::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;top:-250px;right:-180px;background:radial-gradient(circle,rgba(36,87,230,.12),transparent 68%);pointer-events:none}.academy-tools-grid{position:relative;display:flex;gap:15px;overflow-x:auto;overflow-y:hidden;padding:8px 3px 13px;scroll-snap-type:x mandatory;scrollbar-width:none}.academy-tools-grid::-webkit-scrollbar{display:none}.academy-tool-card{--tool-accent:#2457e6;position:relative;flex:0 0 min(310px,78vw);min-height:230px;scroll-snap-align:center;overflow:hidden;display:flex;flex-direction:column;gap:13px;padding:20px;border:1px solid color-mix(in srgb,var(--tool-accent) 22%,var(--ed-border));border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--tool-accent) 8%,var(--ed-surface)),var(--ed-surface));color:var(--ed-text);text-decoration:none;box-shadow:0 12px 34px rgba(15,23,42,.07);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.academy-tool-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--tool-accent) 55%,var(--ed-border));box-shadow:0 18px 42px rgba(15,23,42,.11)}.academy-tool-card::before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;top:-70px;left:-55px;background:color-mix(in srgb,var(--tool-accent) 13%,transparent)}.academy-tool-card.theme-purple{--tool-accent:#7c3aed}.academy-tool-card.theme-cyan{--tool-accent:#0891b2}.academy-tool-card.theme-green{--tool-accent:#059669}.academy-tool-card.theme-orange{--tool-accent:#ea580c}.academy-tool-card.theme-rose{--tool-accent:#e11d48}.academy-tool-orb{position:relative;width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:color-mix(in srgb,var(--tool-accent) 13%,var(--ed-surface));color:var(--tool-accent);border:1px solid color-mix(in srgb,var(--tool-accent) 22%,transparent)}.academy-tool-orb .ui-icon{width:24px;height:24px}.academy-tool-badge{position:absolute;top:18px;left:18px;z-index:1;display:inline-flex;padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--tool-accent) 11%,var(--ed-surface));color:var(--tool-accent);font-size:var(--ed-font-micro);font-weight:900;border:1px solid color-mix(in srgb,var(--tool-accent) 18%,transparent)}.academy-tool-card h3{margin:0 0 6px;font-size:18px;color:var(--ed-text)}.academy-tool-card p{margin:0;color:var(--ed-muted);line-height:1.9;font-size:var(--ed-font-sm)}.academy-tool-arrow{margin-top:auto;align-self:flex-end;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:var(--tool-accent);background:color-mix(in srgb,var(--tool-accent) 9%,var(--ed-surface-soft))}.academy-tool-arrow .ui-icon{width:18px;height:18px}
@media(max-width:900px){.academy-certificate-list{grid-template-columns:1fr}.academy-certificate-card{grid-template-columns:160px minmax(0,1fr)}.public-certificate-preview-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.academy-certificate-card{grid-template-columns:1fr;padding:11px}.academy-certificate-card-visual{min-height:150px}.academy-certificate-card-head{align-items:center}.academy-certificate-card-copy .up-actions{display:grid;grid-template-columns:1fr 1fr}.academy-certificate-card-copy .up-actions .up-btn{width:100%;justify-content:center}.public-certificate-preview{padding-top:22px}.academy-tool-card{flex-basis:84vw;min-height:215px;padding:17px}.academy-tool-card h3{font-size:16px}}

/* === EduNex r77: certificate language outputs and operations center === */
.academy-certificate-language-switches{display:grid;gap:8px;align-content:start}.academy-certificate-download-actions{align-items:center}.certificate-public-actions{align-items:center;justify-content:flex-end}.academy-certificate-admin-section{margin-top:16px}.academy-certificate-admin-grid{margin-top:16px}.academy-certificate-admin-actions{display:flex;align-items:center;gap:8px;min-width:360px}.academy-certificate-review-form{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:8px;align-items:center}.academy-certificate-review-form input{min-width:0;min-height:40px;border:1px solid var(--ed-border);border-radius:12px;background:var(--ed-surface);color:var(--ed-text);padding:8px 11px;font:inherit;outline:none}.academy-certificate-review-form input:focus{border-color:var(--ed-primary);box-shadow:0 0 0 3px rgba(49,94,251,.12)}.academy-certificate-translation-editor{grid-column:1/-1;border:1px solid var(--ed-border);border-radius:12px;background:var(--ed-surface-soft);padding:0 10px}.academy-certificate-translation-editor summary{cursor:pointer;padding:9px 2px;font-weight:800;color:var(--ed-primary)}.academy-certificate-translation-editor>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 0 10px}.academy-certificate-translation-editor label{display:grid;gap:5px;color:var(--ed-muted);font-size:var(--ed-font-xs)}.academy-certificate-activity-list{display:grid;gap:8px}.academy-certificate-activity-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--ed-border);border-radius:12px;background:var(--ed-surface-soft)}.academy-certificate-activity-list article>div{display:grid;gap:3px;min-width:0}.academy-certificate-activity-list article>div:last-child{text-align:left}.academy-certificate-activity-list span,.academy-certificate-activity-list small{color:var(--ed-muted);font-size:var(--ed-font-xs)}
@media(max-width:760px){.certificate-public-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.certificate-public-actions .btn{justify-content:center}.academy-certificate-admin-actions{min-width:300px}.academy-certificate-review-form{grid-template-columns:1fr 1fr}.academy-certificate-review-form>.academy-certificate-review-note{grid-column:1/-1}.academy-certificate-translation-editor>div{grid-template-columns:1fr}

}
}
/* Comment moderation row: every control for a comment sits on one line at the
   end of the card (visual left in RTL), and the reply editor is revealed there
   rather than being printed open for every comment. */
.education-comment-admin-actions{justify-content:flex-end}
.education-comment-admin-actions .up-btn{min-height:34px;padding-inline:12px}
.education-comment-admin-actions [data-comment-reply][aria-expanded="true"]{border-color:var(--ed-primary);color:var(--ed-primary)}
.education-comment-admin-reply{margin-top:2px}
.education-comment-admin-reply[hidden]{display:none}

/* Pagination: steps and a windowed set of page numbers on one row. */
.education-comments-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin-top:16px}
.education-comments-pagination>a{display:grid;place-items:center;min-width:34px;min-height:34px;padding:0 9px;border:1px solid var(--ed-border);border-radius:10px;background:var(--ed-surface);color:var(--ed-text);font-size:var(--ed-font-micro);text-decoration:none}
.education-comments-pagination>a:hover{border-color:var(--ed-primary)}
.education-comments-pagination>a.active{background:var(--ed-primary);border-color:var(--ed-primary);color:#fff;font-weight:700}
.education-comments-pagination>a.is-step{padding:0 13px}
.education-comments-pagination>.is-gap{padding:0 2px;color:var(--ed-muted)}
@media(max-width:620px){
  .education-comment-admin-actions{justify-content:flex-start}
  .education-comments-pagination>a.is-step{flex:1 1 100%}
