*{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
body{margin:0;font-family:var(--theme-font,'Tiro Bangla'),Arial,Helvetica,sans-serif;background:var(--theme-page-bg,#f4f8f6);color:#123;line-height:1.55}
a{color:#0b6752;text-decoration:none}
img{max-width:100%;height:auto}
.wrap{width:min(100%,1180px);margin:0 auto;padding:0 16px}

/* Header */
.site-header{background:#fff;box-shadow:0 2px 18px rgba(9,44,37,.08);position:relative;z-index:20}
.brand{display:flex;align-items:center;gap:14px;padding-top:14px;padding-bottom:14px}
.brand-logo img{width:62px;height:62px;object-fit:contain;display:block}
.brand-text h1{margin:0;font-size:26px;color:#073b31;line-height:1.1}
.brand-text p{margin:5px 0 0;color:#53635f;font-size:14px}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:14px}
.langs{white-space:nowrap;font-size:13px}
.menu-toggle{display:none;width:42px;height:38px;border:1px solid #cfe3dd;background:#fff;border-radius:9px;padding:8px;cursor:pointer}
.menu-toggle span{display:block;height:3px;background:#0b6752;border-radius:2px;margin:4px 0;transition:.2s}
.menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.main-nav{background:var(--theme-primary,#0b6752)}
.nav-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}
.main-nav a{color:#fff;display:inline-block;padding:11px 12px;font-size:14px;border-radius:6px}
.main-nav a:hover{background:rgba(255,255,255,.12)}

/* Home redesign */
.home-hero{background:linear-gradient(135deg,#eaf6f1 0%,#f8fbfa 55%,#e1f3ed 100%);padding:28px 0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.85fr);gap:22px;align-items:stretch}
.hero-slider{width:100%;max-width:1100px;margin:0 auto}
.image-slider{width:100%;max-width:1100px;height:100%;position:relative;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 14px 34px rgba(9,44,37,.14)}
.slide{display:none;position:relative;height:100%}
.slide.active{display:block}
.slide img{display:block;width:100%;height:430px;object-fit:cover}
.slide-caption{position:absolute;left:22px;right:22px;bottom:20px;padding:14px 18px;background:rgba(7,59,49,.82);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(6px);border-radius:14px;color:#fff}
.slide-caption h2{margin:0;font-size:28px;line-height:1.2}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(7,59,49,.82);color:#fff;width:42px;height:42px;border-radius:50%;font-size:30px;line-height:38px;cursor:pointer;z-index:2}
.slider-btn.prev{left:14px}
.slider-btn.next{right:14px}
.hero-panel{background:#073b31;color:#fff;border-radius:18px;padding:30px;box-shadow:0 14px 34px rgba(9,44,37,.14);display:flex;flex-direction:column;justify-content:center;min-height:360px}
.eyebrow{display:inline-block;width:max-content;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);padding:6px 10px;border-radius:999px;font-size:13px;margin-bottom:14px}
.hero-panel h2{margin:0 0 12px;font-size:32px;line-height:1.18}
.hero-panel p{margin:0;color:#d7eee8}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.btn{background:var(--theme-primary,#0b6752);color:#fff;border:0;padding:10px 15px;border-radius:9px;cursor:pointer;display:inline-block;font-weight:700}
.btn:hover{filter:brightness(.94)}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,.52);color:#fff}

.notice-board-home{background:#fff;border:1px solid #dce5e2;border-radius:18px;padding:22px;box-shadow:0 14px 34px rgba(9,44,37,.12);min-height:360px;display:flex;flex-direction:column;overflow:hidden}
.notice-board-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e0ebe8;padding-bottom:12px;margin-bottom:10px}
.notice-board-head .eyebrow{background:#c1121f;color:#fff;border:0;margin:0}
.notice-board-head h2{margin:0;color:#073b31;font-size:26px}
.notice-list-home{display:grid;gap:9px;overflow:auto;padding-right:4px;max-height:320px}
.notice-item-home{border-bottom:1px dashed #d6e2de;padding:8px 0 10px}
.notice-item-home:last-child{border-bottom:0}
.notice-date{font-size:12px;font-weight:700;color:#c1121f;margin-bottom:3px}
.notice-item-home a,.notice-item-home strong{display:block;color:#073b31;font-size:16px;font-weight:800;line-height:1.35}
.notice-item-home a:hover{text-decoration:underline}
.notice-item-home p{margin:5px 0 0;color:#5f6f6a;font-size:13px;line-height:1.45}
.notice-empty{background:#f8faf9;color:#647067;border:1px dashed #dce5e2;border-radius:12px;padding:16px;text-align:center}

.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.quick-card{background:#fff;border:1px solid #dce5e2;border-radius:16px;padding:18px;box-shadow:0 8px 20px rgba(9,44,37,.07);display:flex;flex-direction:column;gap:6px;min-height:100px}
.quick-card strong{font-size:18px;color:#073b31}
.quick-card span{color:#62706c;font-size:14px}
.message-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding-top:22px;padding-bottom:28px}
.feature-card{background:#fff;border:1px solid #dce5e2;border-radius:var(--theme-card-radius,16px);padding:20px;box-shadow:0 8px 20px rgba(9,44,37,.07)}
.feature-card h2{margin:0 0 10px;color:#073b31;font-size:21px}
.feature-card h3{margin:0 0 12px;color:#0b6752;font-size:16px}
.feature-card p{margin:0 0 12px;color:#33433f}
.feature-card.highlight{background:#0b6752;color:#fff;border-color:#0b6752}
.feature-card.highlight h2,.feature-card.highlight p{color:#fff}
.text-link{font-weight:700}

/* Common old pages/admin support */
.home-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding-top:18px}
.small{padding:6px 10px}
.danger-btn{background:#b42318}
.muted{color:#647067}
.center{text-align:center}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;padding-top:24px;padding-bottom:30px}
.card,.page{background:#fff;border:1px solid #dce5e2;border-radius:12px;padding:22px;margin-top:24px}
.profile{display:flex;gap:20px}
.profile img{width:160px;height:200px;object-fit:cover;border-radius:8px}
.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.form h3{grid-column:1/-1}
.simple{display:grid;gap:14px;max-width:600px}
.inline{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}
label{display:flex;flex-direction:column;font-weight:bold;gap:5px}
input,select,textarea{padding:10px;border:1px solid #ccd8d5;border-radius:7px;font:inherit;width:100%}
textarea{min-height:90px}
.alert{padding:12px;border-radius:8px;margin:12px 0}
.success{background:#e7f8ee;color:#087443}
.danger{background:#fdecec;color:#b42318}
.appid{font-size:28px;font-weight:bold;color:#0b6752;margin:20px}
.login{display:grid;place-items:center;min-height:100vh;padding:18px}
.loginbox{background:#fff;padding:28px;border-radius:12px;display:grid;gap:14px;min-width:340px;max-width:100%}
.admin{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}
.admin aside{background:var(--theme-admin-sidebar,#092c25);color:#fff;padding:18px}
.admin aside a{display:block;color:#fff;padding:10px;border-radius:6px}
.admin aside a:hover{background:rgba(255,255,255,.1)}
.adminmain{padding:25px;overflow:auto}
.table-responsive,.table-scroll{overflow-x:auto}
table{width:100%;border-collapse:collapse;background:#fff;margin-top:15px}
td,th{border:1px solid #dce5e2;padding:10px;text-align:left;vertical-align:top}
.admin-thumb,.thumb{width:140px;height:80px;object-fit:cover;border-radius:8px;border:1px solid #dce5e2}
.edit-slider,.mini-form{grid-template-columns:repeat(2,minmax(130px,1fr));align-items:end}
.stacked-actions,.action-form{margin:0 0 8px}
.full{grid-column:1/-1}
.check{flex-direction:row;align-items:center}
.check input{width:auto}
.stat{font-size:38px;font-weight:bold;color:#0b6752}
.mini{gap:6px;margin:0}
.mini textarea{min-height:45px}
.mini select,.mini input,.mini textarea{padding:6px}
.decimal{text-align:right}

/* Compact footer */
.site-footer{background:#092c25;color:#fff;margin-top:24px;padding:13px 0}
.footer-content{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}
.footer-developer{text-align:right}
.footer-developer a{color:#d8fff5}
.footer-left{min-width:180px}



/* Animated registration menu text */
.animated-registration-menu span{display:inline-block;font-weight:800;animation:registrationMenuPulse 1.35s ease-in-out infinite}
@keyframes registrationMenuPulse{0%,100%{transform:scale(1);text-shadow:none}50%{transform:scale(1.08);text-shadow:0 0 10px rgba(255,255,255,.95)}}
@media (prefers-reduced-motion: reduce){.animated-registration-menu span{animation:none}.notice-marquee span{animation:none;padding-left:0}}

/* Registration animated red notice */
.registration-red-notice{background:#c1121f;color:#fff;border:2px solid #8f0d17;border-radius:12px;overflow:hidden;margin:16px 0 20px;box-shadow:0 8px 20px rgba(193,18,31,.22)}
.notice-marquee{white-space:nowrap;overflow:hidden;padding:11px 0;font-weight:800;font-size:18px;letter-spacing:.2px}
.notice-marquee span{display:inline-block;padding-left:100%;animation:registrationNoticeMarquee 18s linear infinite}
.registration-red-notice:hover .notice-marquee span{animation-play-state:paused}
@keyframes registrationNoticeMarquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
@media(max-width:620px){.notice-marquee{font-size:15px;padding:9px 0}.notice-marquee span{animation-duration:14s}}

@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  .hero-panel{min-height:auto}
  .notice-board-home{min-height:auto}
  .notice-list-home{max-height:360px}
  .slide img{height:360px}
  .message-preview{grid-template-columns:1fr 1fr}
  .quick-links{grid-template-columns:1fr 1fr}
  .admin{grid-template-columns:1fr}
  .admin aside{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
  .admin aside h3{width:100%;margin:0 0 8px}
  .admin aside a{padding:8px 10px;background:rgba(255,255,255,.06)}
  .adminmain{padding:18px}
}
@media(max-width:800px){
  .brand-text h1{font-size:22px}
  .brand-text p{font-size:13px}
  .menu-toggle{display:block}
  .main-nav{display:none}
  .main-nav.open{display:block}
  .nav-inner{display:grid;grid-template-columns:1fr;padding:8px 16px}
  .main-nav a{padding:12px 10px;border-bottom:1px solid rgba(255,255,255,.13);border-radius:0}
  .form{grid-template-columns:1fr}
  .profile{flex-direction:column}
  .footer-content{align-items:flex-start}
  .footer-developer{text-align:left}
}
@media(max-width:620px){
  .wrap{padding:0 12px}
  .brand{gap:10px;padding-top:10px;padding-bottom:10px}
  .brand-logo img{width:50px;height:50px}
  .brand-text h1{font-size:18px}
  .brand-text p{display:none}
  .header-actions{gap:8px}
  .langs{font-size:12px}
  .home-hero{padding:14px 0}
  .image-slider{border-radius:12px}
  .slide img{height:240px}
  .slide-caption{left:12px;right:12px;bottom:12px;padding:10px 12px;border-radius:10px}
  .slide-caption h2{font-size:19px}
  .slider-btn{width:34px;height:34px;font-size:24px;line-height:31px}
  .hero-panel{padding:20px;border-radius:14px}
  .notice-board-home{padding:16px;border-radius:14px}
  .notice-board-head{display:block}
  .notice-board-head .eyebrow{margin-bottom:8px}
  .notice-item-home a,.notice-item-home strong{font-size:15px}
  .notice-list-home{max-height:none}
  .hero-panel h2{font-size:23px}
  .hero-actions .btn{width:100%;text-align:center}
  .quick-links,.message-preview{grid-template-columns:1fr}
  .quick-links{margin-top:14px}
  .card,.page{padding:16px;margin-top:16px}
  .grid{grid-template-columns:1fr;padding-top:18px;padding-bottom:18px}
  .loginbox{min-width:0;width:100%}
  td,th{padding:8px;font-size:14px}
  .admin-thumb,.thumb{width:100px;height:60px}
  .footer-content{display:block;text-align:center}
  .footer-developer{text-align:center;margin-top:6px}
}


/* Footer developer backlink */
.site-footer .footer-content{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.site-footer .footer-developer{margin-left:auto;text-align:right}
.site-footer .footer-developer a{color:#d8fff5;font-weight:700;text-decoration:none}
.site-footer .footer-developer a:hover{text-decoration:underline}
@media(max-width:800px){
  .site-footer .footer-content{justify-content:center;text-align:center}
  .site-footer .footer-developer{margin-left:0;text-align:center;width:100%}
}


/* Footer developer credit alignment */
.site-footer{
  background:#092c25;
  color:#fff;
  margin-top:24px;
  padding:14px 0;
}
.site-footer .wrap.footer-content{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding-left:30px;
  padding-right:30px;
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:nowrap;
}
.site-footer .footer-left{
  min-width:0;
  flex:0 1 auto;
  text-align:left;
}
.site-footer .footer-developer{
  margin-left:auto !important;
  flex:0 0 auto;
  text-align:right !important;
  white-space:nowrap;
}
.site-footer .footer-developer a{
  color:#d8fff5;
  font-weight:700;
  text-decoration:none;
}
.site-footer .footer-developer a:hover{
  text-decoration:underline;
}
@media(max-width:700px){
  .site-footer .wrap.footer-content{
    padding-left:16px;
    padding-right:16px;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    gap:6px;
  }
  .site-footer .footer-left,
  .site-footer .footer-developer{
    width:100%;
    text-align:center !important;
    white-space:normal;
    margin-left:0 !important;
  }
}


/* Header logo and EIIN styling */
.brand-logo img{background:#fff;border-radius:10px}
.brand-text p{color:#0b6752;font-weight:600;letter-spacing:.1px}
.lookup-card{margin-top:18px;margin-bottom:18px}
.full-flex{flex:1 1 360px}
.registration-lookup{align-items:flex-end}

.registration-minimal-form{max-width:900px;margin-left:auto;margin-right:auto}
.registration-minimal-form .hint-box{background:#eef6f3;border:1px solid #cde3db;border-radius:10px;padding:12px;color:#0b6752}

.locked-field, input[readonly].locked-field{background:#eef3f2;color:#33413d;border-color:#b9c9c4;cursor:not-allowed;}

.form-field-control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;background:#f7faf9;border:1px solid #dce5e2;border-radius:10px;padding:12px}

/* Homepage chairman/head teacher image cards */
.message-card-home{display:flex;gap:16px;align-items:flex-start}
.message-home-photo{flex:0 0 115px}
.message-home-photo img{width:115px;height:135px;object-fit:cover;border-radius:12px;border:3px solid #e8f3ef;background:#f4faf7;display:block}
.message-home-content{min-width:0;flex:1}
.message-home-content h2{margin-top:0}
@media(max-width:720px){.message-card-home{flex-direction:column;text-align:center}.message-home-photo{margin:0 auto}.message-home-content{text-align:left}.message-home-content h2,.message-home-content h3{text-align:center}}

/* v25 compact animated Notice Board */
.notice-board-home{padding:16px;border-radius:16px;min-height:0;max-height:365px}
.notice-board-head{padding-bottom:9px;margin-bottom:8px}
.notice-board-head h2{font-size:21px}
.notice-scroll-window{height:280px;overflow:hidden;position:relative}
.notice-scroll-window:before,.notice-scroll-window:after{content:"";position:absolute;left:0;right:0;height:18px;z-index:2;pointer-events:none}
.notice-scroll-window:before{top:0;background:linear-gradient(#fff,rgba(255,255,255,0))}
.notice-scroll-window:after{bottom:0;background:linear-gradient(rgba(255,255,255,0),#fff)}
.notice-list-home{display:block;max-height:none;overflow:visible;padding-right:0}
.notice-scroll-animate{animation:noticeBoardScroll 18s linear infinite}
.notice-scroll-window:hover .notice-scroll-animate{animation-play-state:paused}
.notice-item-home{padding:7px 8px 9px;margin-bottom:6px;border:1px solid #e5efec;border-radius:10px;background:#fbfdfc;box-shadow:0 4px 12px rgba(9,44,37,.04)}
.notice-item-home a,.notice-item-home strong{display:flex;align-items:center;gap:7px;color:#073b31;font-size:14px;font-weight:800;line-height:1.35}
.notice-item-home p{font-size:12px;margin:4px 0 0;color:#63716d}
.notice-date{font-size:11px;margin-bottom:2px;color:#0b6752}
.new-badge{display:inline-block;background:#0b6752;color:#fff;border-radius:999px;padding:2px 6px;font-style:normal;font-size:10px;line-height:1;font-weight:900;letter-spacing:.4px;flex:0 0 auto}
.notice-item-home.is-important{border-color:#f3b0b0;background:#fff4f4}
.notice-item-home.is-important a,.notice-item-home.is-important strong,.notice-item-home.is-important .notice-date{color:#c1121f}
.notice-item-home.is-important .new-badge{background:#c1121f}
.important-label{display:inline-block;background:#c1121f;color:#fff;border-radius:999px;padding:4px 9px;font-size:12px;vertical-align:middle}
.notice-detail-date{color:#0b6752;font-weight:700}
.notice-detail-text{background:#fbfdfc;border:1px solid #dce5e2;border-radius:12px;padding:16px;margin:14px 0;line-height:1.8}
@keyframes noticeBoardScroll{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}
@media (prefers-reduced-motion: reduce){.notice-scroll-animate{animation:none}}
@media(max-width:620px){.notice-board-home{padding:14px}.notice-scroll-window{height:265px}.notice-item-home a,.notice-item-home strong{font-size:13px}.notice-scroll-animate{animation-duration:15s}}


/* v26 redesigned homepage notices */
.notice-board-home{
  padding:12px 14px !important;
  border-radius:18px !important;
  min-height:0 !important;
  max-height:342px !important;
  background:linear-gradient(180deg,#ffffff 0%,#f6fbf9 100%) !important;
  border:1px solid #d9e9e4 !important;
  box-shadow:0 12px 28px rgba(9,44,37,.10) !important;
}
.notice-board-head{display:none !important}
.notice-scroll-window{height:300px !important;overflow:hidden;position:relative;border-radius:14px}
.notice-scroll-window:before,.notice-scroll-window:after{height:22px !important}
.notice-scroll-window:before{background:linear-gradient(#fff,rgba(255,255,255,0)) !important}
.notice-scroll-window:after{background:linear-gradient(rgba(255,255,255,0),#f6fbf9) !important}
.notice-list-home{display:block;max-height:none;overflow:visible;padding:2px 1px 0 !important}
.notice-scroll-animate{animation:noticeBoardScroll 17s linear infinite}
.notice-item-home{
  position:relative;
  padding:9px 10px 9px 14px !important;
  margin:0 0 7px !important;
  border:1px solid #dcece7 !important;
  border-left:5px solid #0b6752 !important;
  border-radius:13px !important;
  background:#ffffff !important;
  box-shadow:0 5px 15px rgba(9,44,37,.055) !important;
}
.notice-item-home a,.notice-item-home strong{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  color:#073b31 !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1.35 !important;
}
.notice-date{font-size:11px !important;font-weight:900 !important;color:#0b6752 !important;margin:0 0 3px !important}
.notice-item-home p{font-size:12px !important;margin:5px 0 0 !important;color:#5d6d68 !important;line-height:1.42 !important}
.notice-item-home.is-important,.notice-item-home.important-notice{
  border-color:#f3b0b0 !important;
  border-left-color:#c1121f !important;
  background:#fff1f1 !important;
  box-shadow:0 7px 18px rgba(193,18,31,.12) !important;
}
.notice-item-home.is-important:before,.notice-item-home.important-notice:before{
  content:"!";
  position:absolute;
  top:9px;
  right:10px;
  width:18px;
  height:18px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#c1121f;
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.notice-item-home.is-important a,.notice-item-home.important-notice a,
.notice-item-home.is-important strong,.notice-item-home.important-notice strong,
.notice-item-home.is-important .notice-date,.notice-item-home.important-notice .notice-date{
  color:#c1121f !important;
}
.new-badge{
  display:inline-block !important;
  background:#0b6752 !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:3px 7px !important;
  font-style:normal !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.5px !important;
  flex:0 0 auto !important;
  animation:newBadgePulse .9s ease-in-out infinite alternate !important;
}
.notice-item-home.is-important .new-badge,.notice-item-home.important-notice .new-badge{background:#c1121f !important;color:#fff !important}
@keyframes newBadgePulse{0%{transform:scale(1);opacity:.75;box-shadow:0 0 0 rgba(11,103,82,0)}100%{transform:scale(1.12);opacity:1;box-shadow:0 0 12px rgba(11,103,82,.35)}}
@media (prefers-reduced-motion: reduce){.new-badge{animation:none !important}.notice-scroll-animate{animation:none !important}}
@media(max-width:620px){.notice-board-home{padding:10px !important}.notice-scroll-window{height:285px !important}.notice-item-home a,.notice-item-home strong{font-size:13px !important}.notice-scroll-animate{animation-duration:15s}}


/* v27 forced homepage notice board styles - fixes cache/design/important/new badge */
.notice-board-v27{
  background:linear-gradient(145deg,#ffffff 0%,#eef8f4 100%) !important;
  border:1px solid #cfe3dc !important;
  border-radius:18px !important;
  padding:12px !important;
  max-height:342px !important;
  min-height:0 !important;
  box-shadow:0 12px 28px rgba(7,59,49,.13) !important;
  overflow:hidden !important;
}
.notice-board-v27 .notice-window-v27{
  height:300px !important;
  overflow:hidden !important;
  position:relative !important;
  border-radius:14px !important;
}
.notice-board-v27 .notice-window-v27:before,
.notice-board-v27 .notice-window-v27:after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  height:22px !important;
  z-index:3 !important;
  pointer-events:none !important;
}
.notice-board-v27 .notice-window-v27:before{top:0 !important;background:linear-gradient(#fff,rgba(255,255,255,0)) !important}
.notice-board-v27 .notice-window-v27:after{bottom:0 !important;background:linear-gradient(rgba(255,255,255,0),#eef8f4) !important}
.notice-board-v27 .notice-list-v27{
  display:block !important;
  max-height:none !important;
  overflow:visible !important;
  padding:2px 2px 0 !important;
}
.notice-board-v27 .notice-scroll-animate{animation:noticeBoardScroll 18s linear infinite !important}
.notice-board-v27:hover .notice-scroll-animate{animation-play-state:paused !important}
.notice-board-v27 .notice-item-home{
  position:relative !important;
  display:block !important;
  margin:0 0 8px !important;
  padding:9px 36px 9px 13px !important;
  border:1px solid #d8e8e3 !important;
  border-left:5px solid #0b6752 !important;
  border-radius:13px !important;
  background:#fff !important;
  box-shadow:0 6px 16px rgba(7,59,49,.065) !important;
}
.notice-board-v27 .notice-date{
  display:block !important;
  margin:0 0 4px !important;
  color:#0b6752 !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
}
.notice-board-v27 .notice-item-home a{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  color:#073b31 !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1.35 !important;
  text-decoration:none !important;
}
.notice-board-v27 .notice-item-home a:hover{text-decoration:underline !important}
.notice-board-v27 .notice-item-home p{
  margin:5px 0 0 !important;
  color:#526762 !important;
  font-size:12px !important;
  line-height:1.45 !important;
}
.notice-board-v27 .notice-item-home.is-important,
.notice-board-v27 .notice-item-home.important-notice{
  border-color:#efb4b4 !important;
  border-left-color:#d00000 !important;
  background:#fff0f0 !important;
  box-shadow:0 7px 18px rgba(208,0,0,.14) !important;
}
.notice-board-v27 .notice-item-home.is-important:after,
.notice-board-v27 .notice-item-home.important-notice:after{
  content:"!" !important;
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  width:18px !important;
  height:18px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:50% !important;
  background:#d00000 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
}
.notice-board-v27 .notice-item-home.is-important .notice-date,
.notice-board-v27 .notice-item-home.important-notice .notice-date,
.notice-board-v27 .notice-item-home.is-important a,
.notice-board-v27 .notice-item-home.important-notice a,
.notice-board-v27 .notice-item-home.is-important p,
.notice-board-v27 .notice-item-home.important-notice p{
  color:#c1121f !important;
}
.notice-board-v27 .new-badge-v27{
  display:inline-flex !important;
  gap:1px !important;
  align-items:center !important;
  background:#0b6752 !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:3px 7px !important;
  font-style:normal !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.4px !important;
  flex:0 0 auto !important;
}
.notice-board-v27 .new-badge-v27 span{display:inline-block !important;animation:newLetterFlash 1s ease-in-out infinite !important}
.notice-board-v27 .new-badge-v27 span:nth-child(2){animation-delay:.15s !important}
.notice-board-v27 .new-badge-v27 span:nth-child(3){animation-delay:.3s !important}
.notice-board-v27 .notice-item-home.is-important .new-badge-v27,
.notice-board-v27 .notice-item-home.important-notice .new-badge-v27{background:#d00000 !important;color:#fff !important}
@keyframes newLetterFlash{0%,100%{opacity:.45;transform:translateY(0) scale(1)}50%{opacity:1;transform:translateY(-1px) scale(1.18)}}
@keyframes noticeBoardScroll{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}
@media (prefers-reduced-motion: reduce){.notice-board-v27 .notice-scroll-animate,.notice-board-v27 .new-badge-v27 span{animation:none !important}}
@media(max-width:620px){.notice-board-v27{padding:10px !important}.notice-board-v27 .notice-window-v27{height:285px !important}.notice-board-v27 .notice-item-home a{font-size:13px !important}}

/* v28 notice board title */
.notice-board-v27 .notice-board-title-v28{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 0 10px !important;
  padding:8px 12px !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#0b6752,#073b31) !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
  box-shadow:0 8px 18px rgba(7,59,49,.16) !important;
}
.notice-board-v27 .notice-window-v27{height:300px !important}
@media(max-width:620px){.notice-board-v27 .notice-board-title-v28{font-size:16px !important;padding:7px 10px !important}.notice-board-v27 .notice-window-v27{height:285px !important}}


/* v29 equal height slider and notice board */
@media (min-width:981px){
  .home-hero .hero-grid{
    align-items:stretch !important;
  }
  .home-hero .hero-slider,
  .home-hero .notice-board-v27{
    height:430px !important;
    min-height:430px !important;
  }
  .home-hero .hero-slider,
  .home-hero .image-slider{
    display:block !important;
  }
  .home-hero .image-slider,
  .home-hero .slide,
  .home-hero .slide.active,
  .home-hero .slide img{
    height:430px !important;
  }
  .home-hero .notice-board-v27{
    max-height:none !important;
    display:flex !important;
    flex-direction:column !important;
    box-sizing:border-box !important;
  }
  .home-hero .notice-board-v27 .notice-board-title-v28{
    flex:0 0 auto !important;
  }
  .home-hero .notice-board-v27 .notice-window-v27{
    flex:1 1 auto !important;
    height:auto !important;
    min-height:0 !important;
  }
}
@media (max-width:980px){
  .home-hero .hero-slider,
  .home-hero .notice-board-v27{
    height:auto !important;
    min-height:0 !important;
  }
}

.admin-menu-heading{margin:14px 0 6px;padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.12);color:#d8fff5;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.admin aside a.menu-highlight{background:#f7c948!important;color:#092c25!important;font-weight:700}
.admin aside a.menu-highlight:hover{background:#ffd966!important;color:#092c25!important}

.admin aside a.admission-fields-link{background:#ffdf5d!important;color:#062f28!important;border:2px solid #fff!important;box-shadow:0 0 0 2px rgba(255,223,93,.25);font-weight:800!important}
.admin aside a.admission-fields-link::before{content:"★ ";}

/* Admin sidebar parent/submenu for Admission Management */
.admin-parent-menu{
  margin:14px 0 6px;
  padding:10px 12px;
  border-radius:8px;
  background:rgba(255,255,255,.14);
  color:#d8fff5;
  font-weight:800;
  font-size:14px;
  border-left:4px solid #f7c948;
}
.admin-submenu{
  margin:0 0 6px 10px;
  padding-left:10px;
  border-left:2px solid rgba(216,255,245,.35);
  display:grid;
  gap:3px;
}
.admin aside .admin-submenu a{
  padding:8px 10px;
  font-size:14px;
  background:rgba(255,255,255,.055);
  border-radius:6px;
}
.admin aside .admin-submenu a:hover{
  background:rgba(247,201,72,.18);
  color:#fff;
}
@media(max-width:980px){
  .admin-parent-menu{width:100%;margin:8px 0 0}
  .admin-submenu{width:100%;margin:0 0 8px 0;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));border-left:0;padding-left:0}
}

/* v37: Admission Management dropdown menu */
.admin-dropdown-toggle{
  width:100%;
  margin:14px 0 6px;
  padding:10px 12px;
  border:0;
  border-radius:8px;
  background:rgba(255,255,255,.14);
  color:#d8fff5;
  font-weight:800;
  font-size:14px;
  border-left:4px solid #f7c948;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  font-family:inherit;
}
.admin-dropdown-toggle:hover,
.admin-dropdown-toggle.open{
  background:rgba(247,201,72,.18);
  color:#fff;
}
.admin-dropdown-toggle .dropdown-arrow{
  transition:transform .2s ease;
  font-size:15px;
  line-height:1;
}
.admin-dropdown-toggle.open .dropdown-arrow{
  transform:rotate(180deg);
}
.admin-dropdown-panel{
  display:none !important;
}
.admin-dropdown-panel.open{
  display:grid !important;
}
@media(max-width:980px){
  .admin-dropdown-toggle{width:100%;margin:8px 0 0}
}


/* v38: Admin Home Page dropdown shares the existing admin dropdown style */
.admin-dropdown-panel[data-admin-dropdown-panel="home"] a{
  border-left:3px solid rgba(216,255,245,.18);
}
.admin-dropdown-toggle[data-admin-dropdown="home"]{
  border-left-color:#48cae4;
}
.admin-dropdown-toggle[data-admin-dropdown="home"].open{
  background:rgba(72,202,228,.18);
}

/* v47: Admin Fees Management dropdown */
.admin-dropdown-panel[data-admin-dropdown-panel="fees"] a{
  border-left:3px solid rgba(216,255,245,.18);
}
.admin-dropdown-toggle[data-admin-dropdown="fees"]{
  border-left-color:#80ed99;
}
.admin-dropdown-toggle[data-admin-dropdown="fees"].open{
  background:rgba(128,237,153,.18);
}

/* Admin developer footer */
.admin-dev-footer{
  margin:30px 0 0;
  padding:14px 18px;
  background:#092c25;
  color:#fff;
  border-radius:12px;
  text-align:center;
  font-size:14px;
  line-height:1.7;
  box-shadow:0 8px 20px rgba(9,44,37,.12);
}
.admin-dev-footer a{color:#d8fff5;font-weight:700;text-decoration:none}
.admin-dev-footer a:hover{text-decoration:underline}
@media(max-width:700px){.admin-dev-footer{font-size:13px;padding:12px}}

/* v49: Admin Registration dropdown */
.admin-dropdown-panel[data-admin-dropdown-panel="registration"] a{
  border-left:3px solid rgba(216,255,245,.18);
}
.admin-dropdown-toggle[data-admin-dropdown="registration"]{
  border-left-color:#ff9f1c;
}
.admin-dropdown-toggle[data-admin-dropdown="registration"].open{
  background:rgba(255,159,28,.18);
}

.group-suggest-list{margin:12px 0 0;padding-left:20px;line-height:2;font-weight:700}


/* v5.11 public people directories */
.page-hero{padding:42px 0;background:linear-gradient(135deg,#073b31,#0b5d4d);color:#fff}.page-hero h2{margin:0 0 8px;font-size:clamp(28px,4vw,44px)}.page-hero p{margin:0;opacity:.9}.section{padding:36px 0}.public-search{display:flex;gap:10px;margin:0 0 24px}.public-search input,.public-search select{min-height:46px;padding:10px 13px;border:1px solid #d6ddd9;border-radius:8px;background:#fff}.public-search input{flex:1}.public-search-wide select{min-width:180px}.people-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:20px}.person-card{background:#fff;border:1px solid #e4e9e6;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(8,55,46,.08)}.person-card img{width:100%;height:250px;object-fit:cover;background:#eef3f0}.person-card>div{padding:18px}.person-card h3{margin:0 0 7px}.person-card p{margin:5px 0}.person-role{font-weight:700;color:#0b5d4d}.public-avatar{width:52px;height:52px;object-fit:cover;border-radius:50%;background:#eef3f0}.public-table th{white-space:nowrap}
@media(max-width:700px){.public-search{display:grid}.public-search-wide select{min-width:0}.person-card img{height:220px}}
/* Employee admin dropdown */
.admin-dropdown-toggle[data-admin-dropdown="employees"]{border-left-color:#b8f2e6}.admin-dropdown-toggle[data-admin-dropdown="employees"].open{background:rgba(184,242,230,.18)}

/* Public result page v5.13 */
.result-page{padding-top:28px;padding-bottom:36px}.result-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#073b31,#0b6752);color:#fff;border-radius:20px;padding:30px 34px;box-shadow:0 16px 36px rgba(7,59,49,.18)}.result-hero h2{font-size:32px;margin:7px 0 5px;color:#fff}.result-hero p{margin:0;color:#d9f4ed}.result-eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:800;color:#f2d58a}.result-hero-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);border:2px solid rgba(255,255,255,.25);font-size:38px;font-weight:800}.result-search-card{margin:-18px auto 0;position:relative;z-index:2;width:min(760px,calc(100% - 28px));background:#fff;border:1px solid #dce5e2;border-radius:16px;padding:20px 22px;box-shadow:0 15px 32px rgba(9,44,37,.12)}.result-search-row{display:grid;grid-template-columns:1fr auto;gap:10px}.result-search-btn{min-width:150px;border:0}.student-result-profile{display:grid;grid-template-columns:105px 1fr;gap:20px;align-items:center;background:#fff;border:1px solid #dce5e2;border-radius:18px;padding:22px;margin-top:26px;box-shadow:0 9px 24px rgba(9,44,37,.07)}.student-result-photo img,.student-photo-placeholder{width:100px;height:112px;object-fit:cover;border-radius:13px;border:1px solid #dce5e2}.student-photo-placeholder{display:grid;place-items:center;background:#edf4f1;font-size:40px}.student-result-main>span{font-size:12px;color:#0b6752;font-weight:800;text-transform:uppercase}.student-result-main h3{margin:4px 0 13px;color:#073b31;font-size:25px}.student-result-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.student-result-meta div{background:#f5f8f7;border:1px solid #e1e9e6;border-radius:10px;padding:9px 11px}.student-result-meta small{display:block;color:#687772;font-size:11px}.student-result-meta b{color:#173d34}.result-list{display:grid;gap:22px;margin-top:22px}.result-card{background:#fff;border:1px solid #dce5e2;border-radius:18px;overflow:hidden;box-shadow:0 10px 27px rgba(9,44,37,.08)}.result-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:21px 24px;background:#f8fbfa;border-bottom:1px solid #e0e9e6}.result-card-head h3{margin:3px 0;color:#073b31;font-size:23px}.result-card-head p{margin:0;color:#687772}.result-number{font-size:11px;font-weight:800;color:#0b6752;text-transform:uppercase}.result-status{padding:7px 14px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.5px}.result-status.is-pass{background:#e5f7ed;color:#087443}.result-status.is-fail{background:#fde9e8;color:#b42318}.result-summary-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:#dce5e2;border-bottom:1px solid #dce5e2}.result-summary-grid div{background:#fff;padding:14px 15px;text-align:center}.result-summary-grid small{display:block;color:#687772;font-size:11px}.result-summary-grid strong{font-size:19px;color:#073b31}.result-table-wrap{overflow-x:auto;padding:5px 20px 15px}.result-marks-table{margin-top:14px}.result-marks-table th{background:#eaf3f0;color:#173d34}.result-card-actions{display:flex;justify-content:flex-end;padding:0 20px 20px}.result-empty{display:grid;gap:4px;text-align:center;background:#fff;border:1px dashed #b8ccc6;border-radius:15px;padding:28px;margin-top:24px;color:#556761}.result-empty strong{color:#173d34;font-size:18px}.result-error{background:#fff8f7;border-color:#e4aaa5}.result-error strong{color:#a52a20}
@media(max-width:800px){.result-hero{padding:24px}.result-hero h2{font-size:26px}.result-hero-icon{display:none}.student-result-meta{grid-template-columns:repeat(2,1fr)}.result-summary-grid{grid-template-columns:repeat(2,1fr)}.result-summary-grid div:last-child{grid-column:1/-1}.result-card-head{padding:18px}.result-table-wrap{padding:0 14px 14px}}
@media(max-width:620px){.result-page{padding-top:16px}.result-search-row{grid-template-columns:1fr}.result-search-btn{width:100%}.student-result-profile{grid-template-columns:1fr;text-align:center}.student-result-photo{display:flex;justify-content:center}.student-result-meta{grid-template-columns:1fr 1fr;text-align:left}.result-card-head{display:block}.result-status{display:inline-block;margin-top:10px}.result-marks-table thead{display:none}.result-marks-table,.result-marks-table tbody,.result-marks-table tr,.result-marks-table td{display:block;width:100%}.result-marks-table tr{border:1px solid #dce5e2;border-radius:10px;margin:10px 0;overflow:hidden}.result-marks-table td{border:0;border-bottom:1px solid #edf1ef;text-align:right;padding-left:47%;position:relative}.result-marks-table td:last-child{border-bottom:0}.result-marks-table td:before{content:attr(data-label);position:absolute;left:10px;width:42%;text-align:left;font-weight:800;color:#48605a}.result-card-actions .btn{width:100%;text-align:center}}

/* v5.16: redesigned public teacher directory */
.teacher-directory-hero{
  position:relative;
  overflow:hidden;
  padding:58px 0 72px;
  background:
    radial-gradient(circle at 82% 18%,rgba(242,213,138,.22),transparent 24%),
    linear-gradient(135deg,#052f28 0%,#08604d 58%,#0c765d 100%);
  color:#fff;
}
.teacher-directory-hero:before,.teacher-directory-hero:after{
  content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.12)
}
.teacher-directory-hero:before{width:290px;height:290px;right:-75px;top:-115px}
.teacher-directory-hero:after{width:190px;height:190px;right:80px;bottom:-128px}
.teacher-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:42px;align-items:center}
.teacher-hero-kicker{display:inline-flex;align-items:center;gap:8px;color:#f3d68d;font-size:12px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}
.teacher-hero-kicker:before{content:"";width:32px;height:2px;background:#f3d68d;border-radius:99px}
.teacher-hero-copy h2{margin:10px 0 10px;color:#fff;font-size:clamp(34px,5vw,56px);line-height:1.12}
.teacher-hero-copy p{max-width:680px;margin:0;color:#d9eee8;font-size:17px;line-height:1.8}
.teacher-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:14px}
.teacher-stat-card{min-width:140px;padding:21px 20px;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px);text-align:center;box-shadow:0 12px 30px rgba(2,27,22,.14)}
.teacher-stat-card strong{display:block;color:#fff;font-size:31px;line-height:1;margin-bottom:8px}
.teacher-stat-card span{color:#dff4ee;font-size:13px;font-weight:700}
.teacher-directory-section{padding:0 0 54px;background:linear-gradient(#f5f9f7,#fff 280px)}
.teacher-search-panel{position:relative;z-index:2;display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);gap:28px;align-items:center;margin:-34px 0 28px;padding:24px 26px;border:1px solid #dfeae6;border-radius:20px;background:#fff;box-shadow:0 18px 40px rgba(7,59,49,.11)}
.teacher-search-panel p{margin:4px 0 0;color:#667a74;font-size:13px}
.teacher-search-label{display:block;color:#073b31;font-size:20px;font-weight:900}
.teacher-search-form{display:flex;gap:10px;align-items:center}
.teacher-search-input-wrap{position:relative;flex:1}
.teacher-search-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:25px;color:#6b817a;line-height:1}
.teacher-search-input-wrap input{width:100%;height:50px;padding:10px 15px 10px 45px;border:1px solid #cadbd5;border-radius:12px;background:#f9fbfa;font:inherit;outline:none;transition:.2s ease}
.teacher-search-input-wrap input:focus{border-color:#0b755d;background:#fff;box-shadow:0 0 0 4px rgba(11,117,93,.1)}
.teacher-search-btn{height:50px;min-width:105px;border:0;border-radius:12px}
.teacher-clear-btn{display:inline-grid;place-items:center;height:50px;padding:0 15px;border:1px solid #d5e1dd;border-radius:12px;color:#48605a;font-weight:800;text-decoration:none;background:#fff}
.teacher-clear-btn:hover{background:#f1f6f4;color:#073b31}
.teacher-results-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 18px;padding:0 3px;color:#60736d}
.teacher-results-bar strong{color:#073b31;font-size:22px;margin-right:5px}
.teacher-results-bar small{padding:6px 10px;border-radius:999px;background:#edf5f2;color:#48605a}
.teacher-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.teacher-profile-card{position:relative;overflow:hidden;border:1px solid #dfe9e5;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(7,59,49,.07);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.teacher-profile-card:hover{transform:translateY(-6px);border-color:#b9d4ca;box-shadow:0 20px 44px rgba(7,59,49,.14)}
.teacher-card-top{position:absolute;z-index:2;left:14px;right:14px;top:14px;display:flex;justify-content:space-between;gap:8px;align-items:center}
.teacher-card-number{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(4,45,37,.84);color:#fff;font-size:11px;font-weight:900;backdrop-filter:blur(5px)}

.teacher-photo-frame{height:285px;overflow:hidden;background:linear-gradient(145deg,#e8f2ee,#d9eae4)}
.teacher-photo-frame img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .45s ease}
.teacher-profile-card:hover .teacher-photo-frame img{transform:scale(1.035)}
.teacher-photo-placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(145deg,#d9ebe5,#f1f7f5);color:#0b6752;font-size:76px;font-weight:900}
.teacher-card-body{padding:22px 21px 20px;text-align:center}
.teacher-card-body h3{margin:0 0 7px;color:#073b31;font-size:21px;line-height:1.35}
.teacher-designation{margin:0;color:#0a755c;font-size:14px;font-weight:900}
.teacher-card-divider{width:48px;height:3px;margin:17px auto;border-radius:99px;background:linear-gradient(90deg,#0b755d,#e4c36f)}
.teacher-meta-list{display:grid;gap:10px;margin:0;text-align:left}
.teacher-meta-list>div{padding:10px 12px;border-radius:11px;background:#f6f9f8;border:1px solid #e8efec}
.teacher-meta-list dt{margin:0 0 3px;color:#71837d;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.5px}
.teacher-meta-list dd{margin:0;color:#294b42;font-size:13px;font-weight:700;line-height:1.5}
.teacher-empty-state{padding:55px 24px;border:1px dashed #bdd2ca;border-radius:20px;background:#fff;text-align:center;box-shadow:0 10px 26px rgba(7,59,49,.05)}
.teacher-empty-icon{font-size:54px;margin-bottom:10px}
.teacher-empty-state h3{margin:0 0 7px;color:#073b31;font-size:24px}
.teacher-empty-state p{margin:0 0 20px;color:#647771}
@media(max-width:980px){
  .teacher-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .teacher-search-panel{grid-template-columns:1fr}
}
@media(max-width:760px){
  .teacher-directory-hero{padding:42px 0 62px}
  .teacher-hero-grid{grid-template-columns:1fr;gap:26px}
  .teacher-hero-stats{max-width:360px;width:100%}
  .teacher-search-panel{padding:20px;margin-top:-30px}
  .teacher-search-form{display:grid;grid-template-columns:1fr auto}
  .teacher-search-input-wrap{grid-column:1/-1}
  .teacher-clear-btn{min-width:86px}
}
@media(max-width:580px){
  .teacher-hero-copy h2{font-size:34px}
  .teacher-hero-copy p{font-size:15px}
  .teacher-stat-card{min-width:0;padding:18px 10px}
  .teacher-card-grid{grid-template-columns:1fr}
  .teacher-photo-frame{height:315px}
  .teacher-results-bar{align-items:flex-start;flex-direction:column}
  .teacher-search-form{grid-template-columns:1fr}
  .teacher-search-input-wrap{grid-column:auto}
  .teacher-search-btn,.teacher-clear-btn{width:100%}
}

/* v5.19 teacher public ordering */
.head-teacher-feature{margin:0 0 34px}.head-teacher-label{width:max-content;margin:0 auto 14px;padding:8px 22px;border-radius:999px;background:#0b5748;color:#fff;font-weight:800;box-shadow:0 8px 20px rgba(11,87,72,.18)}.head-teacher-single{grid-template-columns:minmax(280px,420px)!important;justify-content:center}.head-teacher-card{border:2px solid #d7b55b;box-shadow:0 18px 46px rgba(102,75,8,.15)}


/* v6.0 Academic suite, responsive admin and theme variables */
a{color:var(--theme-primary,#0b6752)}
.card,.page,.feature-card,.quick-card,.notice-board-home{border-radius:var(--theme-card-radius,16px)}
.message-card-home{width:100%;min-width:0}
.message-preview>.message-card-home:only-child{grid-column:1/-1;max-width:760px;justify-self:center}
@media(max-width:760px){.message-preview{grid-template-columns:1fr}}

.admin-mobile-toggle{display:none;position:fixed;left:12px;top:12px;z-index:1200;width:44px;height:44px;border:0;border-radius:10px;background:var(--theme-primary,#0b6752);color:#fff;font-size:23px;box-shadow:0 8px 22px rgba(0,0,0,.2)}
.admin-sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1090}
.admin-sidebar-head{padding:3px 4px 14px;border-bottom:1px solid rgba(255,255,255,.14);margin-bottom:10px}
.admin-sidebar-head h3{margin:0}.admin-sidebar-head small{color:rgba(255,255,255,.68)}
.module-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.module-toolbar h2,.module-toolbar p{margin:0}
.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.full-flex{flex:1 1 320px}
.theme-customizer-form input[type=color]{height:52px;padding:4px}
.gallery-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.gallery-admin-card{margin-top:0}.gallery-admin-card>img{width:100%;height:190px;object-fit:cover;border-radius:12px}
.page-heading{text-align:center;padding:32px 0 5px}.page-heading h2{margin:0;color:var(--theme-secondary,#073b31);font-size:36px}.page-heading p{color:#62706c}
.routine-page{padding-bottom:35px}.routine-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.routine-filter label{flex:1 1 220px}.routine-filter .btn{height:44px}.routine-day-grid{display:grid;gap:18px;margin-top:22px}.routine-day-card{background:#fff;border:1px solid #dce5e2;border-radius:var(--theme-card-radius,16px);overflow:hidden;box-shadow:0 8px 22px rgba(9,44,37,.06)}.routine-day-card h3{margin:0;padding:13px 18px;background:var(--theme-secondary,#073b31);color:#fff}.routine-day-card table{margin:0}
.public-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:22px 0 38px}.gallery-card{margin:0;background:#fff;border:1px solid #dce5e2;border-radius:var(--theme-card-radius,16px);overflow:hidden;box-shadow:0 12px 28px rgba(9,44,37,.08)}.gallery-card img{width:100%;height:250px;object-fit:cover;display:block}.gallery-card figcaption{padding:16px}.gallery-card h3{margin:0 0 4px;color:var(--theme-secondary,#073b31)}.gallery-card time{font-size:12px;color:var(--theme-primary,#0b6752)}.gallery-card p{margin:8px 0 0;color:#5c6d68}
.leadership-directory{margin-bottom:35px}.section-title-center{text-align:center;color:var(--theme-secondary,#073b31);margin:4px 0 18px}.leadership-card-grid{grid-template-columns:repeat(2,minmax(280px,420px));justify-content:center}.leadership-profile-card{border:2px solid var(--theme-accent,#f3d68d)}.leadership-role-label{text-align:center;padding:9px;background:var(--theme-secondary,#073b31);color:#fff;font-weight:800}
@media(max-width:980px){
  .admin{display:block;min-height:100vh}.admin-mobile-toggle{display:block}.admin aside.admin-sidebar{display:block;position:fixed;left:0;top:0;bottom:0;width:min(86vw,300px);overflow-y:auto;z-index:1100;transform:translateX(-105%);transition:transform .25s ease;box-shadow:12px 0 30px rgba(0,0,0,.18)}.admin.sidebar-open aside.admin-sidebar{transform:translateX(0)}.admin.sidebar-open .admin-sidebar-overlay{display:block}.adminmain{padding:72px 14px 24px;min-width:0}.admin aside h3{width:auto}.admin aside a{background:transparent}.admin-dropdown-toggle{width:100%}
  .backup-grid{grid-template-columns:1fr}.public-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.leadership-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){.public-gallery-grid,.leadership-card-grid{grid-template-columns:1fr}.gallery-card img{height:230px}.routine-filter{display:grid;grid-template-columns:1fr}.routine-filter label,.routine-filter .btn{width:100%}.adminmain h1{font-size:25px}.adminmain .card{padding:15px}.adminmain table{font-size:13px}.adminmain td,.adminmain th{padding:8px}.module-toolbar .btn{width:100%;text-align:center}}

/* v6.1 compact teacher directory and profile subject controls */
.admin .form select[multiple]{min-height:225px;padding:8px;line-height:1.45;background:#fff}
.admin .form select[multiple] option{padding:7px 9px;border-bottom:1px solid #edf1ef}
.admin .form label>small{display:block;margin-top:6px;color:#64746f;font-size:12px;line-height:1.5}

.teacher-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.teacher-profile-card{border-radius:16px;box-shadow:0 8px 22px rgba(7,59,49,.07)}
.teacher-profile-card:hover{transform:translateY(-4px);box-shadow:0 15px 32px rgba(7,59,49,.13)}
.teacher-card-top{left:10px;right:10px;top:10px}
.teacher-card-number{width:29px;height:29px;font-size:10px}
.teacher-photo-frame{height:210px}
.teacher-photo-placeholder{font-size:60px}
.teacher-card-body{padding:15px 14px 14px}
.teacher-card-body h3{margin-bottom:5px;font-size:19px;line-height:1.35}
.teacher-designation{font-size:13.5px;line-height:1.45}
.teacher-card-divider{width:38px;height:2px;margin:10px auto 11px}
.teacher-meta-list{gap:6px}
.teacher-meta-list>div{padding:7px 9px;border-radius:9px}
.teacher-meta-list dt{margin-bottom:3px;font-size:10.5px;line-height:1.35;letter-spacing:.3px}
.teacher-meta-list dd{font-size:13.5px;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}
.teacher-meta-list dd a{color:var(--theme-primary,#0b6752);text-decoration:none}
.teacher-meta-list dd a:hover{text-decoration:underline}
.leadership-directory{margin-bottom:30px}
.leadership-card-grid{grid-template-columns:repeat(2,minmax(260px,360px));gap:18px}
.leadership-profile-card{border-width:1px;box-shadow:0 12px 30px rgba(92,68,9,.1)}
.leadership-role-label{padding:7px 10px;font-size:12px;letter-spacing:.2px}

@media(max-width:1120px){
  .teacher-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .leadership-card-grid{grid-template-columns:repeat(2,minmax(260px,360px))}
}
@media(max-width:820px){
  .teacher-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .teacher-photo-frame{height:225px}
}
@media(max-width:560px){
  .teacher-card-grid,.leadership-card-grid{grid-template-columns:1fr}
  .teacher-profile-card{width:100%;max-width:390px;margin-inline:auto}
  .teacher-photo-frame{height:245px}
  .teacher-card-body{padding:16px}
  .teacher-card-body h3{font-size:20px}
  .teacher-designation{font-size:14px}
  .teacher-meta-list dt{font-size:11px}
  .teacher-meta-list dd{font-size:14px}
}

/* v6.2 co-curricular activities module */
.co-curricular-section{
  position:relative;
  overflow:hidden;
  padding:54px 0 64px;
  background:
    radial-gradient(circle at 8% 10%,color-mix(in srgb,var(--theme-accent,#f3d68d) 28%,transparent) 0,transparent 28%),
    linear-gradient(180deg,#f9fcfb 0%,color-mix(in srgb,var(--theme-page-bg,#f4f8f6) 78%,#fff) 100%);
  border-top:1px solid rgba(7,59,49,.07);
}
.co-curricular-section:before,.co-curricular-section:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.co-curricular-section:before{width:280px;height:280px;right:-120px;top:-130px;border:50px solid color-mix(in srgb,var(--theme-primary,#0b6752) 7%,transparent)}
.co-curricular-section:after{width:180px;height:180px;left:-100px;bottom:-110px;background:color-mix(in srgb,var(--theme-accent,#f3d68d) 15%,transparent)}
.home-section-heading{position:relative;z-index:1;max-width:760px;margin:0 auto 28px;text-align:center}
.home-section-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:9px;padding:7px 13px;border-radius:999px;background:color-mix(in srgb,var(--theme-primary,#0b6752) 10%,#fff);color:var(--theme-primary,#0b6752);font-size:12px;font-weight:800;letter-spacing:.2px}
.home-section-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--theme-primary,#0b6752);box-shadow:0 0 0 5px color-mix(in srgb,var(--theme-primary,#0b6752) 12%,transparent)}
.home-section-heading h2{margin:0;color:var(--theme-secondary,#073b31);font-size:34px;line-height:1.25}
.home-section-heading p{max-width:660px;margin:10px auto 0;color:#5d6d68;line-height:1.75}
.co-curricular-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.co-curricular-card{min-width:0;overflow:hidden;background:#fff;border:1px solid rgba(7,59,49,.09);border-radius:var(--theme-card-radius,16px);box-shadow:0 10px 28px rgba(7,59,49,.08);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.co-curricular-card:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--theme-primary,#0b6752) 25%,#dce5e2);box-shadow:0 18px 38px rgba(7,59,49,.14)}
.co-curricular-image-wrap{position:relative;height:178px;overflow:hidden;background:#eaf2ef}
.co-curricular-image-wrap:after{content:"";position:absolute;inset:auto 0 0;height:48%;background:linear-gradient(180deg,transparent,rgba(3,28,23,.58));pointer-events:none}
.co-curricular-image-wrap img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}
.co-curricular-card:hover .co-curricular-image-wrap img{transform:scale(1.055)}
.co-curricular-number{position:absolute;z-index:2;left:12px;top:12px;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.92);color:var(--theme-secondary,#073b31);font-size:12px;font-weight:900;box-shadow:0 5px 15px rgba(0,0,0,.14)}
.co-curricular-image-wrap time{position:absolute;z-index:2;left:13px;bottom:11px;color:#fff;font-size:11px;font-weight:700;text-shadow:0 1px 5px rgba(0,0,0,.45)}
.co-curricular-card-body{padding:16px 16px 17px}
.co-curricular-card-body h3{margin:0;color:var(--theme-secondary,#073b31);font-size:17px;line-height:1.4}
.co-curricular-card-body p{margin:8px 0 0;color:#5d6b67;font-size:13px;line-height:1.65}
.co-curricular-link{display:inline-flex;align-items:center;gap:7px;margin-top:12px;color:var(--theme-primary,#0b6752);font-size:13px;font-weight:800;text-decoration:none}
.co-curricular-link span{transition:transform .2s ease}
.co-curricular-link:hover span{transform:translateX(4px)}

.activity-current-image{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px;border:1px dashed #cbd8d4;border-radius:12px;background:#f8fbfa}
.activity-current-image img{width:150px;height:90px;object-fit:cover;border-radius:10px}
.activity-list-heading{margin:25px 0 12px}
.activity-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.activity-admin-card{margin:0;padding:0;overflow:hidden}
.activity-admin-image-wrap{position:relative;height:185px;background:#edf4f1}
.activity-admin-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.activity-status-badge{position:absolute;right:10px;top:10px;padding:6px 10px;border-radius:999px;color:#fff;font-size:11px;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.14)}
.activity-status-badge.is-active{background:#16865f}.activity-status-badge.is-inactive{background:#7d8985}
.activity-admin-body{padding:15px}
.activity-admin-body h3{margin:0 0 3px;color:var(--theme-secondary,#073b31)}
.activity-en-title{margin:0 0 10px;font-size:12px}
.activity-admin-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0 14px;color:#64736f;font-size:12px}
.activity-admin-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.activity-admin-actions form{margin:0}
.empty-admin-state{text-align:center;color:#657570}

@media(max-width:1080px){
  .co-curricular-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .activity-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
  .co-curricular-section{padding:42px 0 50px}
  .home-section-heading h2{font-size:29px}
  .co-curricular-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
  .co-curricular-image-wrap{height:190px}
}
@media(max-width:560px){
  .home-section-heading{margin-bottom:22px}
  .home-section-heading h2{font-size:26px}
  .home-section-heading p{font-size:14px}
  .co-curricular-grid,.activity-admin-grid{grid-template-columns:1fr}
  .co-curricular-card{max-width:410px;width:100%;margin-inline:auto}
  .co-curricular-image-wrap{height:215px}
  .activity-admin-image-wrap{height:210px}
}


/* v6.6 draggable public menu order and six-line homepage messages */
.message-home-excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:6;
  overflow:hidden;
  max-height:10.5em;
  margin:10px 0 12px;
  color:#53635e;
  line-height:1.75;
  white-space:pre-line;
}
.message-detail-section{padding:38px 0 58px;background:linear-gradient(180deg,#f7fbf9 0%,var(--theme-page-bg,#f4f8f6) 100%)}
.message-detail-wrap{max-width:940px}
.message-back-link{display:inline-flex;margin-bottom:16px;color:var(--theme-primary,#0b6752);font-weight:800;text-decoration:none}
.message-detail-card{overflow:hidden;background:#fff;border:1px solid rgba(7,59,49,.1);border-radius:22px;box-shadow:0 18px 45px rgba(7,59,49,.1)}
.message-detail-header{display:flex;align-items:center;gap:24px;padding:28px 34px;background:linear-gradient(135deg,var(--theme-secondary,#073b31),var(--theme-primary,#0b6752));color:#fff}
.message-detail-photo{flex:0 0 126px;width:126px;height:126px;padding:5px;border-radius:50%;background:rgba(255,255,255,.2)}
.message-detail-photo img{width:100%;height:100%;object-fit:cover;border-radius:50%;background:#eef4f2}
.message-detail-kicker{display:inline-block;margin-bottom:7px;color:var(--theme-accent,#f3d68d);font-size:14px;font-weight:800}
.message-detail-header h1{margin:0 0 5px;color:#fff;font-size:30px;line-height:1.3}
.message-detail-header p{margin:0;color:rgba(255,255,255,.85);font-size:16px}
.message-detail-body{padding:34px;color:#33443f;font-size:17px;line-height:2;text-align:justify;white-space:pre-line}
.message-detail-body:first-letter{color:var(--theme-primary,#0b6752);font-size:38px;font-weight:800;line-height:1}
.message-detail-signature{display:flex;flex-direction:column;align-items:flex-end;padding:0 34px 32px;color:var(--theme-secondary,#073b31)}
.message-detail-signature:before{content:"";width:180px;margin-bottom:8px;border-top:1px solid #9baba6}
.message-detail-signature span{font-size:13px;color:#687872}

.menu-order-intro p{margin:5px 0}
.menu-order-form{max-width:780px}
.menu-sortable-list{display:grid;gap:9px;margin:0 0 20px;padding:0;list-style:none;counter-reset:none}
.menu-sortable-item{display:grid;grid-template-columns:42px 38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;background:#fff;border:1px solid #dbe5e1;border-radius:12px;box-shadow:0 4px 12px rgba(7,59,49,.05);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.menu-sortable-item:hover{border-color:color-mix(in srgb,var(--theme-primary,#0b6752) 35%,#dbe5e1);box-shadow:0 8px 20px rgba(7,59,49,.09)}
.menu-sortable-item.is-dragging{z-index:2;opacity:.72;transform:scale(1.015);border-color:var(--theme-primary,#0b6752);box-shadow:0 14px 28px rgba(7,59,49,.17)}
.menu-drag-handle{width:38px;height:38px;border:0;border-radius:9px;background:color-mix(in srgb,var(--theme-primary,#0b6752) 10%,#fff);color:var(--theme-primary,#0b6752);font-size:20px;cursor:grab;touch-action:none}
.menu-drag-handle:active{cursor:grabbing}
.menu-position-number{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#eef4f2;color:#52635e;font-size:12px;font-weight:800}
.menu-sortable-label{display:flex;flex-direction:column;min-width:0}
.menu-sortable-label strong{color:var(--theme-secondary,#073b31);font-size:15px}
.menu-sortable-label small{margin-top:2px;color:#74827e;font-size:12px}
.menu-order-actions{display:flex;gap:5px}
.menu-move-btn{width:34px;height:34px;border:1px solid #d7e1de;border-radius:8px;background:#f8fbfa;color:#294d43;font-size:17px;cursor:pointer}
.menu-move-btn:hover{background:var(--theme-primary,#0b6752);color:#fff}
@media(max-width:620px){
  .message-detail-section{padding:22px 0 38px}.message-detail-header{flex-direction:column;padding:24px 20px;text-align:center}.message-detail-photo{width:112px;height:112px;flex-basis:112px}.message-detail-header h1{font-size:25px}.message-detail-body{padding:24px 20px;font-size:16px;line-height:1.9;text-align:left}.message-detail-signature{padding:0 20px 25px}.menu-sortable-item{grid-template-columns:38px 30px minmax(0,1fr)}.menu-order-actions{grid-column:3;justify-self:start}.menu-drag-handle{width:36px;height:36px}.menu-sortable-label strong{font-size:14px}
}

/* SCL v6.7 public nested website menu */
.nav-menu-group{position:relative;display:flex;align-items:stretch}
.nav-parent-wrap{display:flex;align-items:stretch}
.main-nav .nav-parent-link,.main-nav .nav-direct-link{display:flex;align-items:center;color:#fff;padding:11px 12px;font-size:14px;border-radius:6px}
.nav-submenu-toggle{width:28px;border:0;background:transparent;color:#fff;cursor:pointer;border-radius:6px;padding:0 7px 0 2px}
.nav-submenu-toggle span{display:block;transition:transform .18s ease}
.nav-menu-group:hover>.nav-parent-wrap,.nav-menu-group.is-open>.nav-parent-wrap{background:rgba(255,255,255,.12);border-radius:6px}
.nav-menu-group:hover .nav-submenu-toggle span,.nav-menu-group.is-open .nav-submenu-toggle span{transform:rotate(180deg)}
.nav-submenu{position:absolute;left:0;top:calc(100% - 1px);z-index:30;display:none;min-width:225px;padding:7px;background:#fff;border:1px solid rgba(7,59,49,.12);border-radius:0 0 12px 12px;box-shadow:0 16px 36px rgba(7,59,49,.2)}
.nav-menu-group:hover>.nav-submenu,.nav-menu-group.is-open>.nav-submenu{display:grid}
.main-nav .nav-submenu a{display:block;padding:10px 12px;color:var(--theme-secondary,#073b31);font-size:13.5px;border-radius:8px;white-space:nowrap}
.main-nav .nav-submenu a:hover{color:#fff;background:var(--theme-primary,#0b6752)}

/* SCL v6.7 website menu builder */
.menu-builder-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:18px;align-items:start}
.menu-builder-panel,.menu-editor-card{min-width:0}
.menu-builder-toolbar{align-items:flex-start}
.menu-builder-toolbar h2,.menu-editor-card h2{margin:0 0 5px}
.menu-builder-root,.menu-builder-children{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.menu-builder-root{margin-bottom:20px}
.menu-builder-item{position:relative;min-width:0}
.menu-builder-row{display:grid;grid-template-columns:42px 42px minmax(170px,1fr) auto auto;gap:9px;align-items:center;padding:10px 11px;background:#fff;border:1px solid #d7e3df;border-radius:12px;box-shadow:0 4px 12px rgba(7,59,49,.05);transition:.16s ease}
.menu-builder-row:hover{border-color:#9fc2b7;box-shadow:0 8px 19px rgba(7,59,49,.09)}
.menu-builder-item.is-dragging>.menu-builder-row{opacity:.68;border-color:var(--theme-primary,#0b6752);box-shadow:0 14px 28px rgba(7,59,49,.18);transform:scale(1.01)}
.menu-builder-item.is-inactive>.menu-builder-row{background:#f5f6f6;opacity:.78}
.menu-builder-copy{min-width:0}
.menu-builder-title{display:flex;align-items:baseline;gap:8px;min-width:0}
.menu-builder-title strong{color:var(--theme-secondary,#073b31);font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu-builder-title span{color:#63736e;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu-builder-copy small{display:block;margin-top:2px;color:#87948f;font:11px/1.4 Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu-builder-badges{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.menu-type-badge{display:inline-flex;padding:3px 7px;border-radius:999px;background:#e8f2ef;color:#29574a;font:700 10px/1.2 Arial,sans-serif;letter-spacing:.25px}
.menu-type-badge.custom{background:#e9edff;color:#3e4f9b}.menu-type-badge.submenu{background:#fff1cf;color:#805d0b}.menu-type-badge.hidden{background:#fee7e7;color:#9a3434}
.menu-builder-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}
.menu-icon-btn{width:31px;height:31px;border:1px solid #d6e1de;background:#f8fbfa;color:#31584d;border-radius:8px;font-size:15px;cursor:pointer}
.menu-icon-btn:hover{color:#fff;background:var(--theme-primary,#0b6752)}
.menu-builder-children{position:relative;margin:8px 0 1px 50px;padding:9px 0 3px 17px;border-left:2px dashed #b8cec7;min-height:26px}
.menu-builder-children:before{content:"";position:absolute;left:-2px;top:0;width:17px;border-top:2px dashed #b8cec7}
.menu-builder-empty{padding:8px 11px;border:1px dashed #c5d7d1;border-radius:9px;color:#879690;background:#f8fbfa;font-size:12px;text-align:center}
.menu-builder-item.is-child>.menu-builder-row{background:#fcfefd}
.menu-builder-dragging,.menu-builder-dragging *{cursor:grabbing!important;user-select:none}
.menu-editor-card{position:sticky;top:16px}
.menu-editor-form{grid-template-columns:1fr}
.menu-editor-form .check-row{display:flex;align-items:center;gap:8px;padding:9px 0}
.menu-editor-form .check-row input{width:auto;margin:0}

@media(max-width:980px){
  .menu-builder-layout{grid-template-columns:1fr}.menu-editor-card{position:static}
  .menu-builder-row{grid-template-columns:38px 36px minmax(130px,1fr) auto}.menu-builder-badges{grid-column:3;justify-content:flex-start}.menu-builder-actions{grid-column:4;grid-row:1 / span 2}
}
@media(max-width:800px){
  .nav-menu-group{display:block;width:100%}.nav-parent-wrap{display:grid;grid-template-columns:minmax(0,1fr) 44px;width:100%}
  .main-nav .nav-parent-link,.main-nav .nav-direct-link{padding:12px 10px;border-bottom:1px solid rgba(255,255,255,.13);border-radius:0}
  .nav-submenu-toggle{width:44px;border-bottom:1px solid rgba(255,255,255,.13);border-left:1px solid rgba(255,255,255,.1);border-radius:0}
  .nav-menu-group:hover>.nav-submenu{display:none}.nav-menu-group.is-open>.nav-submenu{display:grid}
  .nav-submenu{position:static;min-width:0;padding:3px 0 5px 18px;background:rgba(0,0,0,.1);border:0;border-radius:0;box-shadow:none}
  .main-nav .nav-submenu a{color:#fff;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08);border-radius:0;white-space:normal}
}
@media(max-width:640px){
  .menu-builder-row{grid-template-columns:36px 32px minmax(0,1fr);padding:9px}.menu-builder-title{display:grid;gap:0}.menu-builder-badges{grid-column:3}.menu-builder-actions{grid-column:1 / -1;grid-row:auto;justify-content:flex-start;padding-left:68px}.menu-builder-children{margin-left:24px;padding-left:10px}.menu-builder-copy small{white-space:normal;word-break:break-all}
}


/* SCL v6.7.3 current academic-year student statistics */
.student-count-section{padding:34px 0 18px;background:linear-gradient(180deg,#f5faf8 0%,#fff 100%)}
.student-count-heading{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:24px;align-items:center;margin-bottom:18px}
.student-count-kicker{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;background:color-mix(in srgb,var(--theme-primary,#0b6752) 11%,#fff);color:var(--theme-primary,#0b6752);font-size:12px;font-weight:800;letter-spacing:.2px}
.student-count-heading h2{margin:8px 0 4px;color:var(--theme-secondary,#073b31);font-size:29px;line-height:1.22}
.student-count-heading p{margin:0;color:#63746f;font-size:15px}
.student-total-card{position:relative;overflow:hidden;display:grid;justify-items:center;padding:18px 15px;border-radius:17px;background:linear-gradient(135deg,var(--theme-secondary,#073b31),var(--theme-primary,#0b6752));color:#fff;box-shadow:0 13px 28px rgba(7,59,49,.18)}
.student-total-card:after{content:"";position:absolute;right:-25px;bottom:-38px;width:105px;height:105px;border:17px solid rgba(255,255,255,.08);border-radius:50%}
.student-total-card span{font-size:13px;font-weight:700;color:#d9f4ec}.student-total-card strong{position:relative;z-index:1;margin:2px 0;font:800 39px/1.05 Arial,"Tiro Bangla",sans-serif;color:#fff}.student-total-card small{font-size:11px;color:#d9f4ec}
.student-class-count-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.student-class-count-card{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:9px;align-items:center;min-width:0;padding:13px 12px;background:#fff;border:1px solid #dce8e4;border-radius:14px;box-shadow:0 6px 17px rgba(7,59,49,.065);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.student-class-count-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--theme-primary,#0b6752) 36%,#dce8e4);box-shadow:0 12px 24px rgba(7,59,49,.11)}
.student-class-count-icon{grid-row:1 / 3;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:color-mix(in srgb,var(--theme-primary,#0b6752) 10%,#fff);color:var(--theme-primary,#0b6752);font:800 12px/1 Arial,"Tiro Bangla",sans-serif}
.student-class-count-card div{min-width:0}.student-class-count-card small{display:block;color:#84918d;font-size:10px;line-height:1.1}.student-class-count-card h3{overflow:hidden;margin:2px 0 0;color:var(--theme-secondary,#073b31);font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.student-class-count-card>strong{grid-row:1 / 3;grid-column:3;font:800 24px/1 Arial,"Tiro Bangla",sans-serif;color:var(--theme-primary,#0b6752)}
.student-count-unit{grid-column:2 / 4;margin-top:6px;padding-top:6px;border-top:1px dashed #e1e9e6;color:#74837f;font-size:10px;text-align:right}
@media(max-width:1100px){.student-class-count-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.student-count-section{padding-top:25px}.student-count-heading{grid-template-columns:1fr 175px;gap:15px}.student-count-heading h2{font-size:25px}.student-class-count-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.student-count-heading{grid-template-columns:1fr}.student-total-card{grid-template-columns:1fr auto;justify-items:start;align-items:center;text-align:left}.student-total-card strong{grid-row:1 / 3;grid-column:2;font-size:36px}.student-total-card small{grid-column:1}.student-class-count-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.student-class-count-card{padding:12px 10px}.student-count-heading p{font-size:14px}}
@media(max-width:380px){.student-class-count-grid{grid-template-columns:1fr}}


/* SCL v6.7.4 grouped counts for classes nine and ten */
.student-class-count-card.has-group-breakdown{grid-column:span 2;align-content:start}
.student-group-breakdown{grid-column:1 / -1;display:grid;gap:6px;margin-top:9px;padding-top:9px;border-top:1px solid #e4ece9}
.student-group-count-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px;align-items:center;padding:7px 8px;border-radius:9px;background:color-mix(in srgb,var(--theme-primary,#0b6752) 6%,#fff)}
.student-group-count-row span{overflow:hidden;color:var(--theme-secondary,#073b31);font-size:11px;font-weight:750;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.student-group-count-row strong{color:var(--theme-primary,#0b6752);font:800 16px/1 Arial,"Tiro Bangla",sans-serif}
.student-group-count-row small{color:#75837f;font-size:9px}
@media(max-width:620px){.student-class-count-card.has-group-breakdown{grid-column:1 / -1}.student-group-count-row{padding:8px}.student-group-count-row span{font-size:12px}.student-group-count-row strong{font-size:18px}}
