/* =====================================================================
   জিন্নাহ স্কুল — মূল স্টাইল
   থিম: সবুজ/সাদা, মোবাইল-প্রথম (mobile-first) ডিজাইন
   ফন্ট: SolaimanLipi (ওয়েব-সেফ, বিজয়-স্টাইল লুক) + Hind Siliguri fallback
   ===================================================================== */

:root {
  --green: #0a7a42;
  --green-dark: #065c31;
  --green-light: #e9f6ee;
  --ink: #1d2b22;
  --muted: #5c6f63;
  --line: #d8e6dc;
  --danger: #b3261e;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(6, 92, 49, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "SolaimanLipi", "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  color: var(--ink);
  background: #f4f9f5;
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; }
a { color: var(--green-dark); }

.container {
  width: 100%;
  /* পুরো সাইটের কন্টেন্ট ফুটারের ছবির সমান চওড়া (মালিকের অনুমোদিত
     ডিজাইন ব্যতিক্রম, 2026-11-09): প্রথমে শুধু অফিস প্যানেল
     (mockup4), পরে মালিকের সরাসরি অর্ডারে পাবলিক পেজেও একই নিয়ম।
     max() কৌশলে কোনো স্ক্রিনেই কন্টেন্ট আগের 980px-এর চেয়ে সরু
     হয় না — ছোট স্ক্রিনে চেহারা হুবহু আগের মতো, বড় স্ক্রিনে
     ফুটারের ছবির (88%) ধারের সঙ্গে ধার মেলে। */
  max-width: max(980px, 88%);
  margin: 0 auto;
  padding: 0 14px;
}

/* ---------------- হেডার ---------------- */
.site-header {
  background: var(--green);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  will-change: transform;
}
/* স্ক্রল ডাউনে হেডার উপরে ভ্যানিশ, স্ক্রল আপে আবার ভেসে ওঠে (app.js থেকে .header-hidden টগল হয়) */
.site-header.header-hidden { transform: translateY(-100%); }
/* ডেস্কটপে মেনু স্থায়ী (মালিকের নির্দেশ ৫ নভে ২০২৬): স্ক্রলেও হেডার/মেনু লুকাবে না */
@media (min-width: 900px) {
  .site-header.header-hidden { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
.header-inner {
  position: relative;
  z-index: 1;
  /* হেডারও 88% নিয়মে (মালিকের অনুমোদিত মকআপ mockup5, 2026-11-09):
     হেডার, মেনু (.container, আগেই 88%), স্লাইডশো, কন্টেন্ট আর
     ফুটারের ছবি — সব দুই ধার এক লাইনে। */
  max-width: max(980px, 88%);
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex: 1 1 auto;
  min-width: 0;
}
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid #fff;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-name { font-size: 1.45rem; font-weight: 700; }
.brand-slogan { font-size: 0.82rem; opacity: 0.92; }

/* ভাষা বদলের পিল সুইচ — বাংলা / EN (পোর্টফোলিও সাইটের মতো) */
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 3px;
  flex: 0 0 auto;
}
.lang-pill button {
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 4px 13px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-pill button:hover { background: rgba(255, 255, 255, 0.22); }
.lang-pill button.active {
  background: #fff;
  color: var(--green-dark);
}
.lang-pill button.active:hover { background: #fff; }

.nav-toggle {
  margin-left: auto;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  border-radius: 8px;
  font-size: 1.15rem;
  padding: 4px 12px;
  cursor: pointer;
}

/* মেনু (সমন্বিত ডিজাইন, মালিকের পছন্দ ৫ নভে ২০২৬): ফোনে বাম পাশের
   ড্রয়ার, ডেস্কটপে হেডারের নিচে গোছানো পিল-রিবন। */
.main-nav { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    /* মকআপ mockup5 অনুযায়ী (2026-11-09): মেনু ব্যান্ডটাও হেডার/
       কন্টেন্টের মতো 88% ক্যাপে — পিলগুলো মাঝখানে গুচ্ছ নয়,
       কন্টেন্টের বাম ধার থেকে শুরু, ফাঁক সামান্য বাড়ানো।
       (ব্যান্ডের দুই পাশে হেডারের নিজের সবুজই দেখায়।) */
    width: 100%;
    max-width: max(980px, 88%);
    margin: 0 auto;
    justify-content: flex-start;
    gap: 10px;
    background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
    border-top: 1px solid rgba(255,255,255,0.22);
    padding: 8px 12px 10px;
  }
  .main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.13);
    white-space: nowrap;
  }
  .main-nav a:hover { background: rgba(255,255,255,0.25); }
  .main-nav a.active { background: #fff; color: var(--green-dark); font-weight: 700; }
  .nav-more { position: relative; display: flex; }
  .nav-more-btn {
    color: #fff; background: rgba(255,255,255,0.13); border: 0;
    border-radius: 999px; padding: 7px 13px; font-size: 0.95rem; cursor: pointer; font-family: inherit;
    white-space: nowrap;
  }
  .nav-more-btn:hover { background: rgba(255,255,255,0.25); }
  .nav-more-menu {
    display: none; flex-direction: column; gap: 2px;
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
    background: var(--green-dark); border-radius: 12px; padding: 6px;
    min-width: 170px; box-shadow: var(--shadow);
  }
  .nav-more.open .nav-more-menu { display: flex; }
  .nav-more-menu a { display: block; }
}
@media (min-width: 1360px) {
  .main-nav { flex-wrap: nowrap; }
}
@media (min-width: 900px) and (max-width: 1359px) {
  .main-nav a, .nav-more-btn { font-size: 0.88rem; padding: 6px 10px; }
}

/* পাশের ড্রয়ার (ফোন) */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(6,32,17,0.55);
  z-index: 290; opacity: 0; transition: opacity 0.3s ease;
}
.drawer-overlay.show { opacity: 1; }
.side-drawer {
  position: fixed; top: 0; left: 0; height: 100dvh; width: min(300px, 84vw);
  background: linear-gradient(180deg, #0d7a40 0%, #075c2e 100%);
  color: #fff; z-index: 300;
  transform: translateX(-106%); transition: transform 0.3s ease;
  display: flex; flex-direction: column;
  box-shadow: 8px 0 24px rgba(0,0,0,0.3);
}
.side-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.3);
}
.drawer-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid #fff; flex: 0 0 auto; }
.drawer-title { display: flex; flex-direction: column; line-height: 1.25; }
.drawer-title strong { font-size: 1.12rem; }
.drawer-title small { opacity: 0.9; font-size: 0.82rem; }
.drawer-close {
  margin-left: auto; background: transparent; color: #fff; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.7); border-radius: 8px;
  width: 34px; height: 34px; font-size: 0.95rem; flex: 0 0 auto;
}
.drawer-nav { display: flex; flex-direction: column; gap: 2px; padding: 10px; overflow-y: auto; }
.drawer-nav a {
  display: flex; align-items: center; gap: 11px;
  color: #fff; text-decoration: none;
  padding: 11px 12px; border-radius: 10px; font-size: 1.02rem;
}
.drawer-nav a svg, .drawer-office svg {
  width: 19px; height: 19px; flex: 0 0 auto;
  stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.drawer-nav a:hover { background: rgba(255,255,255,0.14); }
.drawer-nav a.active, .drawer-office.active { background: #fff; color: #075c2e; font-weight: 700; }
.drawer-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.3); padding: 14px; }
.drawer-office {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  color: #075c2e; text-decoration: none;
  padding: 12px; border-radius: 11px; margin: 0; width: 100%;
  background: #fff; border: 0;
  font-size: 1.02rem; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.drawer-office:hover { background: rgba(255,255,255,0.88); }
body.drawer-open { overflow: hidden; }

/* ভর্তি নিয়ন্ত্রণ কার্ড: স্ট্যাটাস পিল, রেডিও পছন্দ, টগল, প্রিভিউ (অফিস) */
.adm-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 0.95rem;
  background: var(--green-light); color: var(--green-dark);
  border: 1px solid var(--green); border-radius: 999px;
  padding: 5px 13px; margin: 2px 0 12px;
}
.adm-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.adm-status.is-closed { background: #fdeceb; color: #8f1d15; border-color: #d66; }
.adm-status.is-closed .dot { background: #c62828; }
.adm-lbl { font-weight: 700; color: var(--green-dark); margin: 0 0 7px; }
.adm-mode-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; }
.adm-radio {
  display: flex; align-items: flex-start; gap: 9px;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 9px 11px; cursor: pointer; background: #fff;
}
.adm-radio.on { border-color: var(--green); background: var(--green-light); }
.adm-radio input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); flex: 0 0 auto; }
.adm-radio small { display: block; color: #667; font-weight: 400; font-size: 0.82rem; margin-top: 1px; }
.adm-toggle-row {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--green-dark); margin: 4px 0 10px;
}
.switch { position: relative; display: inline-block; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.switch-track {
  display: block; width: 40px; height: 22px; border-radius: 999px;
  background: #b9c8be; transition: background 0.2s ease; pointer-events: none;
}
.switch-track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: left 0.2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.switch input:checked + .switch-track { background: var(--green); }
.switch input:checked + .switch-track::after { left: 21px; }
.adm-hint { display: block; color: #77877c; font-size: 0.8rem; margin-top: 4px; font-weight: 400; }
.adm-preview {
  border: 1.5px dashed var(--line); border-radius: 10px;
  padding: 9px 11px; margin-top: 12px; background: #fbfdfc;
}
.adm-preview small { display: block; color: #77877c; font-size: 0.78rem; margin-bottom: 3px; }
.adm-preview p { margin: 0; }
#admissionControlCard #admControlSave { width: 100%; margin-top: 10px; }

/* ভর্তি আবেদনের তালিকা: শ্রেণি ভাগ, খোঁজা, ছোট কার্ড (অফিস) */
.app-tools { margin: 10px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.app-search {
  width: 100%; padding: 9px 12px; font: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
.app-search:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,122,66,0.15); }
.app-group-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--green-dark); font-size: 1.02rem;
  margin: 16px 0 8px;
}
.app-group-head .g-count { background: var(--green); color: #fff; border-radius: 999px; font-size: 0.78rem; padding: 1px 9px; }
.app-group-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.app-card-head { margin-bottom: 2px; }
.app-details { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 8px; }
.app-card .app-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.app-card .app-actions .btn { flex: 1 1 auto; }
@media (min-width: 900px) {
  .side-drawer, .drawer-overlay { display: none; }
}

/* ব্যাক বাটন: হোম ছাড়া সব ভিউয়ের উপরে */
.view-back {
  display: inline-block; background: #fff; color: var(--green-dark);
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 6px 14px; font-size: 1rem; cursor: pointer; font-family: inherit;
  margin: 0 0 12px;
}
.view-back:hover { background: var(--green-light); }
.view-back[hidden] { display: none; }

/* ---------------- ভিউ / কার্ড ---------------- */
.view { display: none; padding-bottom: 34px; }
.view.active { display: block; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  margin: 16px 0;
}
.card h1 { font-size: 1.5rem; margin: 0 0 10px; color: var(--green-dark); }
.card h2.page-title { font-size: 1.5rem; margin: 0 0 10px; color: var(--green-dark); }
.card h2 { font-size: 1.25rem; margin: 0 0 12px; color: var(--green-dark); }
.card h3.list-title { font-size: 1.08rem; margin: 20px 0 8px; color: var(--green-dark); }
.muted { color: var(--muted); }
.small-note { font-size: 0.88rem; }

.intro-card { text-align: center; }
.slogan-line {
  font-size: 1.15rem;
  color: var(--green-dark);
  font-weight: 600;
}
.intro-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.intro-card .intro-actions { justify-content: center; }

/* ---------------- বোতাম ---------------- */
.btn {
  display: inline-block;
  border-radius: 9px;
  padding: 10px 18px;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid var(--green);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn .btn-ico { width: 1.15em; height: 1.15em; vertical-align: -0.24em; margin-right: 0.45em; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: #fff; color: var(--green-dark); }
.btn-outline:hover { background: var(--green-light); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-danger {
  border-color: var(--danger);
  color: var(--danger);
  background: #fff;
  padding: 5px 12px;
  font-size: 0.9rem;
}
.btn-danger:hover { background: #fdecea; }
.btn-small { padding: 5px 12px; font-size: 0.9rem; }
button:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------------- স্লাইডশো ---------------- */
.slideshow {
  position: relative;
  width: 100%;
  max-width: max(980px, 88%);
  margin: 14px auto 0;
  padding: 0 14px;
}
.slideshow .slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-light);
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slideshow .slide.active { opacity: 1; }
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(6, 92, 49, 0.55);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 3;
}
.slide-arrow.prev { left: 24px; }
.slide-arrow.next { right: 24px; }
.slide-arrow:hover { background: rgba(6, 92, 49, 0.85); }
.slide-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 3;
}
.slide-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255,255,255,0.35);
  padding: 0;
  cursor: pointer;
}
.slide-dots button.active { background: #fff; }

/* ---------------- নোটিশ ---------------- */
.notice-item {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.notice-item:last-child { border-bottom: none; }
.notice-item h3 { margin: 0 0 4px; font-size: 1.08rem; color: var(--ink); }
.notice-item p { margin: 0; white-space: pre-wrap; }
.notice-date { font-size: 0.85rem; color: var(--muted); }

/* ---------------- হোম পেজ (নতুন নকশা) ---------------- */

/* ---------------- হোম: চলন্ত নোটিশ টিকার ---------------- */
.notice-ticker {
  display: flex;
  align-items: stretch;
  background: var(--green-dark);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  /* বারটাও ৮৮% লাইনে (মালিকের অনুমোদিত মকআপ mockup6, 2026-11-09):
     গোল-ধার বার, ধার হেডার/মেনু/কন্টেন্টের সঙ্গে এক লাইনে।
     মোবাইলে কন্টেন্টের 14px ধারঘেঁষা (width calc), ডেস্কটপে
     max-width + auto মার্জিনে কেন্দ্রে 88%। */
  width: calc(100% - 28px);
  max-width: max(980px, 88%);
  margin: 10px auto 0;
  border-radius: 999px;
}
.notice-ticker[hidden] { display: none; }
.ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.22);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 7px 12px;
  white-space: nowrap;
  z-index: 1;
  /* গোল বারের ভেতরে আলাদা চিপের মতো (mockup6) */
  margin: 5px 0 5px 6px;
  border-radius: 999px;
}
.ticker-track {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-move {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll linear infinite;
}
.ticker-text {
  white-space: nowrap;
  font-size: 0.95rem;
  padding: 7px 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.notice-ticker:hover .ticker-move,
.notice-ticker.paused .ticker-move { animation-play-state: paused; }
/* টিকারে reduced-motion ব্যতিক্রম রাখা হলো না (মালিকের নির্দেশ
   2026-11-09): অনেক অফিস-পিসিতে Windows-এর "animation effects"
   বন্ধ থাকায় Chrome reduced-motion ধরে টিকার পুরোপুরি স্থির
   করে দিচ্ছিল — মালিকের ডেস্কটপে টিকার চলতেই হবে। */
/* হোমের প্রথম পর্দা (মালিকের নকশা, 2026-11-09): মোবাইলে এক কলামে
   স্লাইডের নিচে স্বাগতম; ডেস্কটপে পাশাপাশি অর্ধেক-অর্ধেক। */
.home-top .slideshow { max-width: none; margin-left: 0; margin-right: 0; padding: 0; }
@media (min-width: 900px) {
  .home-top { display: flex; align-items: center; gap: 22px; }
  .home-top .slideshow { flex: 1 1 50%; min-width: 0; }
  .home-top .home-hero { flex: 1 1 50%; min-width: 0; }
}
.home-hero { text-align: center; padding: 10px 0 2px; }
.home-hero h1 {
  font-size: 1.9rem;
  margin: 8px 0 4px;
  color: var(--green-dark);
}
.home-subline { margin: 0; color: var(--muted); }
.home-cta { justify-content: center; }
/* মালিকের নির্দেশ 2026-11-09: ভর্তি/রেজাল্ট বোতাম দুটি সবসময়
   এক লাইনে পাশাপাশি, সমান চওড়া — ফোনেও দুই লাইনে ভাঙবে না */
.home-cta { flex-wrap: nowrap; }
.home-cta .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }
@media (max-width: 560px) {
  .home-cta .btn { padding-left: 6px; padding-right: 6px; font-size: 14.5px; }
}
/* অ্যাপ ডাউনলোড কার্ড (পেজের নিচে স্থায়ী) + ইনস্টল গাইড */
.app-dl-wrap { padding: 14px 0 4px; }
.app-dl-wrap[hidden] { display: none; }
.app-dl-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #d8e8dc; border-radius: 16px; box-shadow: 0 4px 16px rgba(6,92,49,.13); padding: 12px 14px; }
.app-dl-ico svg { width: 40px; height: 40px; display: block; }
.app-dl-texts { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-dl-title { font-weight: 800; font-size: 1.03rem; color: #17301c; }
.app-dl-sub { font-size: .8rem; color: #64806c; }
.app-dl-btn { background: var(--green); color: #fff; border: none; font: inherit; font-weight: 800; font-size: .97rem; padding: 11px 18px; border-radius: 999px; box-shadow: 0 3px 8px rgba(6,92,49,.35); cursor: pointer; white-space: nowrap; }
.app-guide-card { text-align: left; }
.g-step { display: flex; gap: 11px; align-items: flex-start; margin: 10px 0; }
.g-num { background: var(--green); color: #fff; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; font-size: .92rem; display: flex; align-items: center; justify-content: center; flex: none; }
.g-step p { margin: 2px 0 0; }
.app-guide-ok { width: 100%; margin-top: 14px; }
.app-land-overlay { position: fixed; inset: 0; z-index: 400; background: linear-gradient(160deg, #065c31, #043d20); display: flex; align-items: center; justify-content: center; padding: 18px; overflow-y: auto; }
.app-land-overlay[hidden] { display: none; }
.app-land-card { background: #fff; border-radius: 24px; padding: 30px 24px 22px; text-align: center; max-width: 350px; width: 100%; box-shadow: 0 18px 50px rgba(0,0,0,.35); cursor: pointer; }
.app-land-logo { width: 84px; height: 84px; border-radius: 20px; }
.app-land-title { margin: 14px 0 4px; font-size: 1.45rem; color: #17301c; }
.app-land-sub { margin: 0 0 18px; color: #64806c; font-size: .92rem; }
.app-land-btn { background: var(--green); color: #fff; border: none; font: inherit; font-weight: 800; font-size: 1.2rem; padding: 15px 30px; border-radius: 999px; box-shadow: 0 5px 14px rgba(6,92,49,.4); cursor: pointer; width: 100%; white-space: nowrap; }
.app-land-hint { margin: 12px 0 0; font-size: .85rem; color: #64806c; }
.app-land-guide { text-align: left; margin-top: 16px; }
.app-land-skip { margin-top: 18px; background: none; border: none; font: inherit; color: #64806c; text-decoration: underline; cursor: pointer; font-size: .92rem; padding: 6px; }
.pwa-install-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 16px auto 0; padding: 12px 26px;
  background: var(--green-dark); color: #fff;
  border: none; border-radius: 14px; cursor: pointer;
  font: inherit; box-shadow: 0 4px 14px rgba(6, 92, 49, .25);
}
.pwa-install-btn[hidden] { display: none; }
.pwa-install-ico { font-size: 1.7rem; line-height: 1; }
.pwa-install-texts { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.pwa-install-title { font-weight: 700; font-size: 1.05rem; }
.pwa-install-sub { font-size: .8rem; opacity: .85; }
.home-band {
  background: var(--green-light);
  padding: 18px 0 20px;
  margin-top: 22px;
}
.home-section { margin: 22px 0 4px; }
.section-title {
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: var(--green-dark);
}

/* সেবা কার্ড */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
}
.svc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.svc-card:hover { border-color: var(--green); }
.svc-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-green { background: #0a7a42; }
.svc-blue { background: #2563eb; }
.svc-orange { background: #ea6a17; }
.svc-purple { background: #9333ea; }
.svc-teal { background: #0e7490; }
/* গ্রিডের নিচে মাঝখানে একক সেবা কার্ড (রুটিন ও হোমওয়ার্ক) */
.svc-center { display: flex; justify-content: center; margin-top: 12px; }
.svc-center .svc-card { flex: 0 1 300px; }

/* আমাদের সম্পর্কে */
.about-strip {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 12px;
}

/* শ্রেণি চিপ */
.cls-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cls-chip {
  background: #fff;
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 6px 16px;
  text-decoration: none;
  font-weight: 600;
}
a.cls-chip:hover { background: var(--green-light); }

/* কেন জিন্নাহ স্কুল */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
.why-card {
  background: var(--green-light);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.why-check {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-check svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card h3 { margin: 0 0 2px; font-size: 1.02rem; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* নোটিশ কার্ড (তারিখ ব্যাজসহ) */
.home-notices { scroll-margin-top: 84px; }
.notice-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.notice-card:last-child { border-bottom: none; }
.notice-badge {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  background: #fdf0dc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9a6206;
  line-height: 1.15;
}
.notice-badge .nb-day { font-size: 1.25rem; font-weight: 700; }
.notice-badge .nb-mon { font-size: 0.78rem; }
.notice-main h3 { margin: 0 0 3px; font-size: 1.05rem; color: var(--ink); }
.notice-preview {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* নোটিশ বোর্ডের পেজার: ‹ আগের, পৃষ্ঠা নম্বর, › পরের (সক্রিয় পৃষ্ঠা সবুজ ভরাট) */
.notice-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.notice-pager[hidden] { display: none; }
.pager-btn {
  font: inherit;
  font-weight: 600;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
  line-height: 1;
}
.pager-btn:hover:not(:disabled) { border-color: var(--green); }
.pager-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.pager-btn:disabled { opacity: 0.4; cursor: default; }

/* হোমে শিক্ষকদের ঝলক */
.home-teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  text-align: center;
}
.home-teacher-item h3 { margin: 2px 0; font-size: 1rem; }
.home-teacher-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.home-teacher-item .ht-desig { color: #0a7a42; font-weight: 700; }
.teachers-more { text-align: center; margin: 12px 0 0; font-weight: 600; }

/* হোমে গ্যালারি */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item { margin: 0; }
.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 12px;
}
.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.gallery-thumb:hover img { border-color: var(--green); }
.gallery-item figcaption {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

/* গ্যালারি লাইটবক্স */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 22, 14, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(92vw, 1000px); text-align: center; }
.lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
}
.lb-figure figcaption { color: #e8f2ea; margin-top: 10px; font-size: 1rem; }
.lb-close, .lb-nav {
  position: absolute;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.3); }

/* গ্যালারি: অ্যাডমিন প্রিভিউ ও তালিকার থাম্বনেইল */
.gallery-preview { margin: 4px 0 2px; }
.gallery-preview img {
  max-width: 100%;
  max-height: 240px;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.gallery-admin-info { display: flex; gap: 10px; align-items: center; }
.gallery-thumb-sm {
  width: 64px; height: 48px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
  flex: 0 0 auto;
  background: var(--green-light);
}

/* ব্যানার স্লাইড প্যানেল (গ্যালারি ট্যাব): চওড়া থাম্বনেইল + লিংক বদলের সারি */
.slide-thumb-sm {
  width: 112px; height: 66px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
  flex: 0 0 auto;
  background: var(--green-light);
}
.slide-edit-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 10px;
}
.slide-edit-row .slide-url-input {
  flex: 1 1 240px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.slides-interval-row { margin-top: 14px; }
.slides-interval-row select {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  margin: 0 4px;
}

/* ফুটারে ডেভেলপার ক্রেডিট */
.footer-credit { font-size: 0.88rem; }
.footer-credit a { font-weight: 600; }

/* ---------------- ফর্ম ---------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  margin: 12px 0;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-weight: 600; font-size: 0.97rem; }
.field em { color: var(--danger); font-style: normal; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 10px 11px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #fff;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(10, 122, 66, 0.15);
}
.form-msg { min-height: 1.4em; margin: 8px 0; font-weight: 600; }
.form-msg.error { color: var(--danger); }
.form-msg.ok { color: var(--green-dark); }

.optional-box {
  border: 1px dashed var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  margin: 6px 0 12px;
}
.optional-box summary { cursor: pointer; font-weight: 600; color: var(--green-dark); }

/* নিশ্চিতকরণ বাক্স */
.confirm-box {
  text-align: center;
  border: 2px solid var(--green);
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 24px 16px;
  margin-top: 16px;
}
.confirm-icon { font-size: 2.4rem; }
.confirm-box .serial {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green-dark);
  margin: 4px 0 10px;
}

/* ---------------- শিক্ষক গ্রিড ---------------- */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.teacher-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  background: #fdfefd;
}
.teacher-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  display: block;
  background: var(--green-light);
  border: 2px solid var(--line);
}
.teacher-initial {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
}
.teacher-card h3 { margin: 2px 0; font-size: 1.05rem; }
.teacher-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------------- অফিস তালিকা ---------------- */
.office-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.office-head-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* নতুন আবেদনের সাউন্ড-অ্যালার্টের ভাসমান বার্তা (অফিস প্যানেল) */
.app-toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px;
  z-index: 9999; background: #0a7a42; color: #fff; padding: 12px 18px;
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  font-size: 15px; cursor: pointer; max-width: 92vw; text-align: center;
}
.app-toast[hidden] { display: none; }
.admin-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  margin: 9px 0;
  background: #fdfefd;
}
.admin-item .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.admin-item p { margin: 2px 0; }
/* সংরক্ষিত রেজাল্ট: শ্রেণিভিত্তিক ভাঁজ-খোলা সেকশন */
/* ডিলিট নিশ্চিতকরণ পপআপ */
.modal-overlay { position: fixed; inset: 0; background: rgba(10, 15, 30, .55); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.modal-overlay[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 16px; padding: 24px 22px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.modal-icon { font-size: 40px; line-height: 1; }
.modal-title { margin: 10px 0 6px; font-size: 22px; }
.modal-item { background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; font-weight: 600; margin: 10px 0 4px; word-break: break-word; }
.modal-actions { display: flex; gap: 10px; margin-top: 16px; }
.modal-actions .btn { flex: 1; }
@media print { .modal-overlay { display: none !important; } }
/* প্যানেল সারসংক্ষেপ (ড্যাশবোর্ড) */
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash-head h2 { margin: 0; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-month { margin-top: 4px; }
.dash-month-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px; border-bottom: 1px dashed #dbe3ef; }
.dash-month-row.total { border-bottom: none; font-size: 1.06em; }
.dash-item { background: #f1f5fb; border: 1px solid #dbe3ef; border-radius: 12px; padding: 14px 8px; text-align: center; }
.dash-num { font-size: 26px; font-weight: 700; color: #065c31; line-height: 1.15; }
@media (max-width: 640px) { .dash-num { font-size: 21px; } .dash-item { padding: 10px 4px; } }
.dash-group-title { margin: 16px 0 8px; font-size: 17px; }
.dash-head + .dash-group-title { margin-top: 2px; }
#office-tab-dashboard [data-dash-section][hidden] { display: none; }
/* শিক্ষার্থী সার্চ */
/* বকেয়ার ঘর (শিক্ষার্থী প্রোফাইলের ফি অংশে) */
.dues-box { border: 1px solid #fde68a; background: #fffbeb; border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.dues-box:not(.has-dues) { border-color: #bbf7d0; background: #f0fdf4; }
.dues-box p { margin: 2px 0; }
.stu-search { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; margin: 4px 0 10px; font: inherit; background: #fff; color: inherit; }
.res-subnav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
@media (max-width: 700px) { .res-subnav { grid-template-columns: repeat(3, 1fr); } }
.res-subbtn { padding: 3px 4px; border-radius: 8px; border: 1px solid var(--green); background: #fff; color: var(--green-dark); font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.res-subbtn.active { background: var(--green); color: #fff; }
#office-tab-results [data-res-section][hidden] { display: none; }
#office-tab-students [hidden] { display: none !important; }
.res-group { margin-bottom: 10px; }
.res-group-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: var(--green-light); border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 700; color: var(--green-dark); cursor: pointer; }
.res-group-body { padding-top: 8px; }
.res-group-body[hidden] { display: none; }
.res-exam { margin-bottom: 8px; }
.res-exam-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 600; color: var(--green-dark); cursor: pointer; }
.res-exam-body { padding-top: 8px; }
.res-exam-body[hidden] { display: none; }
.admin-item .actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* ---------------- অফিস প্যানেল: ট্যাব ---------------- */
.office-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 2px 12px;
}
.office-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 4px 13px 4px 5px;
  border-radius: 999px;
  border: 1.5px solid #86c79b;
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(6, 92, 49, 0.13);
}
.office-tab:hover { background: var(--green-light); }
.office-tab.active { background: var(--green); border-color: var(--green); color: #fff; }
/* জরুরি: .office-tab-এর display:inline-flex নিয়মটা hidden
   অ্যাট্রিবিউটকে হারিয়ে দিত — ফলে শিক্ষক/স্টাফ রোলে নিষিদ্ধ
   ট্যাব বোতামগুলো লুকানোর বদলে দেখা যেত (অডিট 2B-C, 2026-11-09) */
.office-tab[hidden] { display: none; }
.tab-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
}
.office-tab.active .tab-ico { background: #fff; }
/* ফোনে অফিস ট্যাব: সমান ৩-কলাম গ্রিডে সাজানো — লেবেলের মাপে এলোমেলো মোড়ক নয় */
@media (max-width: 700px) {
  .office-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .office-tab { justify-content: flex-start; text-align: left; padding: 5px 6px 5px 5px; font-size: 13px; gap: 6px; min-height: 42px; line-height: 1.25; }
  .tab-ico { width: 23px; height: 23px; font-size: 12.5px; }
}
.acc-subnav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
@media (max-width: 700px) { .acc-subnav { grid-template-columns: repeat(3, 1fr); } }
.acc-sub { padding: 3px 4px; border-radius: 8px; border: 1px solid var(--green); background: #fff; color: var(--green-dark); font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.acc-sub.active { background: var(--green); color: #fff; }

/* ---------------- আবেদন: ফিল্টার চিপ ও অবস্থা ব্যাজ ---------------- */
.app-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.filter-chip {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--green); }
.filter-chip.active {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
}
.chip-count { font-weight: 700; }
.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  vertical-align: middle;
  margin-inline-start: 6px;
  white-space: nowrap;
}
.badge-pending { background: #fdf3e0; color: #9a6a00; border: 1px solid #e8c87a; }
.badge-confirmed { background: var(--green-light); color: var(--green-dark); border: 1px solid var(--green); }
.badge-rejected { background: #fdecea; color: #b3261e; border: 1px solid #e57373; }
.rejected-note { color: #b3261e; font-weight: 600; }
.confirmed-note {
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.9rem;
  align-self: center;
  white-space: nowrap;
}
.admin-item .actions { flex-wrap: wrap; align-items: center; }

/* ---------------- আবেদন ট্র্যাকিং (পাবলিক) ---------------- */
.track-box {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  background: #fdfefd;
}
.track-box p { margin: 3px 0; }
.track-status { font-weight: 700; margin-top: 8px; }
.track-status.is-pending { color: #9a6a00; }
.track-status.is-confirmed { color: var(--green-dark); }
.track-status.is-rejected { color: #b3261e; }

/* ---------------- শিক্ষার্থী প্রোফাইল ---------------- */
#studentProfile { margin-top: 4px; }
#profileBack { margin-bottom: 12px; }
.profile-head h2 { margin: 2px 0; }
.profile-head p { margin: 0; }
.profile-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 18px;
  margin: 12px 0 2px;
}
@media (min-width: 640px) {
  .profile-info { grid-template-columns: 1fr 1fr; }
}
.profile-info p { margin: 2px 0; }
.profile-info b { color: var(--green-dark); }
.profile-section {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.profile-section h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: var(--green-dark);
}
.result-row {
  display: flex;
  justify-content: space-between;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
}
.result-row:last-child { border-bottom: none; }

/* ---------------- বেতন / ফি ---------------- */
.fee-year-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.fee-year-row select {
  font: inherit;
  font-size: 1rem;
  padding: 7px 11px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.fee-year-row select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(10, 122, 66, 0.15);
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .month-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .month-grid { grid-template-columns: repeat(6, 1fr); }
}
.month-cell {
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  line-height: 1.4;
  overflow: hidden;
}
.month-cell:hover { border-color: var(--green); }
/* মাসের ঘরের মূল অংশ (ক্লিকে পরিশোধ বদলায়) ও রসিদ বোতাম */
.cell-main {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 9px 6px 5px;
  color: inherit;
  width: 100%;
}
.cell-receipt {
  font: inherit;
  font-size: 0.8rem;
  margin: 0 6px 7px;
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid var(--green);
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
  align-self: center;
}
.cell-receipt:hover { background: var(--green-light); }
.month-cell .m-name { font-weight: 700; font-size: 0.95rem; }
.month-cell .m-amt { font-weight: 700; }
.month-cell .m-date,
.month-cell .m-pay { font-size: 0.82rem; color: var(--muted); }
.month-cell.paid { background: var(--green-light); border-color: var(--green); }
.month-cell.paid .m-amt { color: var(--green-dark); }
.month-cell.due { background: #fdf1ee; border-color: #e3b7ae; }
.month-cell.due .m-pay { color: var(--danger); font-weight: 700; }
/* ফি-শুরুর আগের মাস: বন্ধ ঘর (মালিকের ডিজাইন 2026-11-09) — ধূসর, ক্লিক চলে না */
.month-cell.na { background: #f1f5f1; border-style: dashed; opacity: 0.75; }
.month-cell.na:hover { border-color: var(--line); }
.month-cell .cell-static { cursor: default; }
.month-cell .m-na { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.fee-summary { font-weight: 600; margin: 12px 0 2px; }
/* ভর্তির আগের সালে ফি অংশের লক-নোট ও নিষ্ক্রিয় নিয়ন্ত্রণ (2026-11-09) */
.fee-lock-note { background: #f1f5f1; border: 1.5px dashed var(--line); border-radius: 9px; padding: 9px 12px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
#profileFees button[disabled], #profileFees input[disabled] { opacity: 0.55; cursor: not-allowed; }
.fee-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  margin: 8px 0;
  background: #fdfefd;
}
.fee-row p { margin: 2px 0; }
.fee-row .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fee-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  align-self: end;
  padding-bottom: 11px;
}
.fee-check input { width: 19px; height: 19px; accent-color: var(--green); }

/* ---------------- যোগাযোগ ---------------- */
.contact-list p { margin: 9px 0; font-size: 1.03rem; }
.contact-list .fb-logo { width: 1.12em; height: 1.12em; vertical-align: -0.2em; margin-right: 0.38em; }

/* ---------------- ফুটার ---------------- */
.site-footer {
  background: var(--green-dark);
  color: #eaf5ee;
  padding: 13px 0 15px;
  margin-top: 10px;
}
.footer-inner { text-align: center; }
.footer-inner p { margin: 2px 0; line-height: 1.45; }
.footer-inner .footer-name { font-size: 1.04rem; }
.footer-sep { color: #7fae8f; margin: 0 7px; }
.footer-inner a { color: #fff; }
.footer-fb svg { width: 14px; height: 14px; fill: #fff; vertical-align: -2px; margin-right: 5px; }
.footer-fb { font-weight: 600; text-decoration: none; }
.footer-fb:hover { text-decoration: underline; }
.footer-inner .muted { color: #bcd8c6; font-size: 0.88rem; }
.footer-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  background: #fff;
  margin-bottom: 3px;
}

/* ================= মার্কশীট ================= */
.marksheet-wrap { margin: 16px 0; }
.marksheet {
  background: #fff;
  border: 2.5px solid var(--green-dark);
  border-radius: 6px;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow);
}
.ms-head {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2.5px solid var(--green-dark);
  padding-bottom: 12px;
}
.ms-logo {
  width: 84px; height: 84px;
  object-fit: contain;
  flex: 0 0 auto;
}
.ms-title { text-align: center; flex: 1; }
.ms-title h2 { margin: 0; font-size: 1.7rem; color: var(--green-dark); }
.ms-title p { margin: 1px 0; font-size: 0.95rem; }
.ms-doc-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 12px 0 4px;
}
.ms-doc-title span {
  border: 1.5px solid var(--green-dark);
  border-radius: 20px;
  padding: 2px 18px;
  color: var(--green-dark);
  background: var(--green-light);
}
.ms-student {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  margin: 12px 0;
  font-size: 1rem;
}
.ms-student p { margin: 0; }
.ms-student b { color: var(--green-dark); }

.ms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 12px;
  font-size: 0.98rem;
}
.ms-table th, .ms-table td {
  border: 1px solid #9db8a6;
  padding: 6px 8px;
  text-align: center;
}
.ms-table th { background: var(--green-light); color: var(--green-dark); }
.ms-table td.subj { text-align: left; font-weight: 600; }
.ms-table tr.total-row td { font-weight: 700; background: #f2f8f3; }

.ms-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 1.02rem;
  margin: 6px 0 4px;
}
.ms-summary b { color: var(--green-dark); }
.ms-status-pass { color: var(--green-dark); font-weight: 700; }
.ms-status-fail { color: var(--danger); font-weight: 700; }

.ms-signatures {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
}
.ms-signatures .sig { text-align: center; flex: 1; }
.ms-signatures .sig .line {
  border-top: 1.5px solid var(--ink);
  padding-top: 5px;
  font-size: 0.95rem;
}
.marksheet-actions { margin: 12px 0 4px; text-align: center; }

/* ================= আবেদন প্রিন্টআউট ================= */
/* #printArea পর্দায় কখনো দেখা যায় না — শুধু আবেদন প্রিন্টের সময়,
   body.printing-app থাকলে প্রিন্টে দেখা যায় */
#printArea { display: none; }
.app-print {
  background: #fff;
  border: 2.5px solid var(--green-dark);
  border-radius: 6px;
  padding: 22px 20px 18px;
}
.app-print-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 8px;
  font-size: 1rem;
}
.app-print-table th, .app-print-table td {
  border: 1px solid #9db8a6;
  padding: 7px 10px;
  text-align: left;
}
.app-print-table th {
  width: 34%;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
  white-space: nowrap;
}
/* আবেদনকারীর কপির অতিরিক্ত চিহ্ন ও নোট (শুধু ছাপার লেআউটে) */
.copy-label {
  text-align: center;
  font-weight: 700;
  color: var(--green-dark);
  margin: 2px 0 0;
  font-size: 1rem;
}
.copy-note {
  text-align: center;
  font-size: 0.95rem;
  margin: 10px 0 0;
}
/* ট্র্যাকিং ফলাফলের নিচে কপি প্রিন্টের এলাকা */
.track-copy { margin-top: 12px; }
.track-copy .btn { margin-top: 4px; }

/* ================= বাল্ক রেজাল্ট ইমপোর্ট ================= */
.badge-error { background: #fdecec; color: #a11818; border: 1px solid #e5a3a3; }
.imp-summary { font-weight: 700; margin: 14px 0 0; }
.imp-table-wrap { overflow-x: auto; margin-top: 10px; }
.imp-table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.imp-table tr.tab-fail td { color: #b91c1c; }
.tab-print-info { text-align: center; margin: 2mm 0 3mm; font-size: 10.5pt; }
.tab-print-table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
.tab-print-table th, .tab-print-table td { border: 1px solid #9ca3af; padding: 3px 5px; text-align: center; }
.tab-print-table th { background: #15803d; color: #fff; }
.tab-print-table td.name { text-align: left; }
.tab-print-table tr.tab-fail td { color: #b91c1c; }
.tab-print-sum { margin-top: 3mm; border: 1px solid #86c79b; background: #f0fdf4; padding: 2mm 3mm; font-weight: 600; font-size: 10.5pt; }
.imp-table th, .imp-table td {
  border: 1px solid #d7e5d7;
  padding: 6px 8px;
  text-align: center;
  vertical-align: middle;
}
.imp-table th { background: var(--green-light); color: var(--green-dark); white-space: nowrap; }
/* পাবলিক রুটিন টেবিলের সাজানো নকশা (মালিক ছবি দেখে অনুমোদন করেছেন 2026-11-09):
   ঘন সারি, বিষয় বামে, সময় এক লাইনে, টিফিনের সারি হালকা হলুদ ব্যান্ডে */
.routine-table { font-size: 0.9rem; }
.routine-table th, .routine-table td { padding: 5px 8px; }
.routine-table td.rt-subject { text-align: left; }
.routine-table td.rt-time { white-space: nowrap; }
.routine-table tbody tr:nth-child(even) td { background: #f5f9f4; }
.routine-table tbody tr.row-tiffin td { background: #fdf3d3; color: #8a6d1c; font-weight: 600; }
.imp-table td.name { text-align: left; }
.imp-table tr.imp-row-error td { background: #fdf3f3; }
.imp-table tr.imp-row-warn td { background: #fffaf0; }
.imp-mark {
  width: 62px;
  padding: 4px 6px;
  border: 1px solid #c9d6c9;
  border-radius: 6px;
  text-align: center;
  font: inherit;
}
.imp-mark.invalid { border-color: var(--danger); background: #fdf0f0; }
.imp-status { text-align: left; }
.imp-status .badge { margin: 2px 4px 2px 0; white-space: normal; }
#impSaveBtn { margin-top: 14px; }

/* একসাথে মার্কশিট: প্রিন্ট-পূর্ব সারাংশ (প্রিন্টের লেআউট-নিয়ম
   index.html-এর <style id="bulkPageStyle">-তে — শুধু প্রিন্টের সময়) */
#bmSummary { margin-top: 6px; }
.bm-missing { color: #9a6a00; font-weight: 600; margin: 6px 0 0; }

/* বাল্ক শিক্ষার্থী ইমপোর্ট: প্রিভিউর সম্পাদনাযোগ্য ঘর */
.stu-text {
  width: 100%;
  min-width: 120px;
  padding: 4px 6px;
  border: 1px solid #c9d6c9;
  border-radius: 6px;
  font: inherit;
}
.stu-text.invalid { border-color: var(--danger); background: #fdf0f0; }
#stuSaveBtn { margin-top: 14px; }

/* ================= ফুটার লিংক ================= */
.footer-links {
  display: flex;
  gap: 6px 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 4px;
}
.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ================= ভর্তি ফর্ম: সম্মতি ================= */
.consent-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
  cursor: pointer;
  padding-top: 4px;
}
.consent-check input {
  width: 19px; height: 19px;
  accent-color: var(--green);
  flex: 0 0 auto;
  margin-top: 4px;
}

/* ================= নির্দেশিকা / গোপনীয়তা (লম্বা লেখা) ================= */
.prose p { margin: 8px 0; }
.prose h3 { margin: 20px 0 4px; color: var(--green-dark); }
.prose ol, .prose ul { margin: 6px 0 10px; padding-left: 24px; }
.prose li { margin: 4px 0; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 14px;
  margin: 8px 0;
  background: #fdfefd;
}
.faq-item summary { font-weight: 700; cursor: pointer; color: var(--green-dark); }
.faq-item p { margin: 8px 0 2px; }

/* ================= শিক্ষক কার্ড: বিষয় ================= */
.teacher-sub { font-weight: 600; color: var(--green-dark); }

/* ================= হাজিরা ================= */
.att-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 12px;
  margin: 6px 0;
  background: #fdfefd;
}
.att-toggle { min-width: 104px; }
.att-toggle.is-present { background: var(--green); color: #fff; border: 1.5px solid var(--green); }
.att-toggle.is-absent { background: #fdf1ee; color: var(--danger); border: 1.5px solid #e3b7ae; }

/* ================= অডিট লগ ================= */
.audit-item { padding: 9px 12px; }
.audit-item p { margin: 2px 0; }

/* ================= SMS ================= */
.sms-sample {
  background: var(--green-light);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  white-space: pre-wrap;
  margin: 4px 0 10px;
}

/* ================= মাসিক আদায় রিপোর্ট ================= */
.report-box {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 14px;
  margin-top: 10px;
  background: #fdfefd;
}
.report-box p { margin: 4px 0; }

/* ================= প্রিন্ট (মার্কশীট / আবেদন) ================= */
@media print {
  body { background: #fff; font-size: 13px; }
  .site-header, .site-footer, .no-print, .marksheet-actions { display: none !important; }
  .view { display: none !important; padding: 0; }
  #view-result { display: block !important; }
  .container { max-width: none; padding: 0; }
  .marksheet-wrap { margin: 0; }
  .marksheet { box-shadow: none; border-width: 2px; }
  /* আবেদন প্রিন্টের সময় মার্কশীটের বদলে শুধু #printArea ছাপা হবে */
  body.printing-app #view-result { display: none !important; }
  body.printing-app #printArea { display: block !important; }
  .app-print { border-width: 2px; }
}
@page { size: A4; margin: 12mm; }

/* রুটিন প্রিন্ট (#printArea-র ভেতরে; রঙ ছাড়াও পড়া যায় এমন নকশা) */
.rtn-print-page { color: #111; page-break-after: always; }
.rtn-print-page:last-of-type { page-break-after: auto; }
.rtn-print-head { text-align: center; border-bottom: 3px solid #0a7a42; padding-bottom: 8px; margin-bottom: 10px; }
.rtn-print-school { font-size: 26px; font-weight: 800; color: #065c31; }
.rtn-print-addr { font-size: 13px; color: #444; }
.rtn-print-title { display: inline-block; margin-top: 8px; border: 1.5px solid #0a7a42; color: #065c31; font-weight: 700; font-size: 16px; padding: 3px 18px; border-radius: 999px; }
.rtn-print-day { margin: 14px 0 6px; font-size: 15px; color: #065c31; }
.rtn-print-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rtn-print-table th, .rtn-print-table td { border: 1px solid #9db8a6; padding: 6px 8px; text-align: left; }
.rtn-print-table th { background: #e9f6ee; }
.rtn-print-foot { margin-top: 14px; font-size: 12px; color: #666; text-align: right; }
.rtn-print-empty, .rtn-print-note { font-size: 13.5px; color: #555; }

/* =====================================================================
   অফিস প্যানেলের থিম: স্কুলের সবুজ (শুধু #view-office-এর ভেতরে; আগে গাঢ় নীল ছিল — মালিকের নির্দেশে ৫ নভে ২০২৬-এ সবুজ)
   কৌশল: প্যানেলের কন্টেইনারে থিম-ভেরিয়েবলগুলো নীল দিয়ে পুনঃসংজ্ঞায়িত
   করা হয়েছে — প্যানেলের প্রায় সব উপাদানই (বোতাম, ট্যাব, চিপ, শিরোনাম,
   ফোকাস, লিংক, টিন্ট) var(--green*) ব্যবহার করে, তাই এক জায়গা থেকেই
   পুরো প্যানেল নীল হয়ে যায়। #view-office-এর বাইরে (পাবলিক পেজ,
   হেডার/ফুটার, আর <body>-র সরাসরি সন্তান #printArea) কোনো প্রভাব পড়ে না,
   তাই সব ছাপার আউটপুট আগের মতোই সবুজ/আনুষ্ঠানিক থাকে।
   অর্থবহ (semantic) রং — নিশ্চিত/সফল/পরিশোধিত = সবুজ, অপেক্ষমাণ = অ্যাম্বার,
   মুছুন/ত্রুটি = লাল — ইচ্ছা করে সবুজ/আগের রঙেই রাখা হয়েছে (নিচে পিন করা)।
   ===================================================================== */
#view-office {
  --green: #0a7a42;        /* মাঝারি সবুজ: প্রধান বোতাম, সক্রিয় ট্যাব/চিপ, ফোকাস */
  --green-dark: #065c31;   /* গাঢ় সবুজ: শিরোনাম, হোভার, গাঢ় অ্যাকসেন্ট */
  --green-light: #e9f6ee;  /* হালকা সবুজ টিন্ট */
  --line: #cfe0d5;         /* বর্ডারের হালকা সবুজ-ধূসর */
  --shadow: 0 2px 10px rgba(6, 92, 49, 0.12);
  background: #f4f8f5;
}

/* প্যানেলের নিজস্ব হেডার বার: গাঢ় নীল পটভূমিতে সাদা লেখা */
#view-office .office-head {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}
#view-office .office-head h1, #view-office .office-head h2.page-title { color: #fff; }
#view-office .office-head .muted { color: #cfe8d8; }
#view-office .office-head .btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
#view-office .office-head .btn-outline:hover { background: rgba(255, 255, 255, 0.16); }

/* ফর্ম ফোকাসের সবুজ আভা (মূল নিয়মে হার্ড-কোডেড rgba) প্যানেলে নীল */
#view-office .field input:focus,
#view-office .field select:focus,
#view-office .field textarea:focus,
#view-office .fee-year-row select:focus {
  box-shadow: 0 0 0 3px rgba(10, 122, 66, 0.16);
}

/* ইমপোর্ট টেবিল/ঘরের সবুজাভ-ধূসর বর্ডার প্যানেলে হালকা নীল-ধূসর */
#view-office .imp-table th,
#view-office .imp-table td { border-color: #d3e6da; }
#view-office .imp-mark,
#view-office .stu-text { border-color: #c2dccd; }

/* ---- অর্থবহ রং পিন: এগুলো প্যানেলেও সবুজই থাকবে ---- */
/* নিশ্চিত ব্যাজ ও নিশ্চিতের নোট (সফল অবস্থা) */
#view-office .badge-confirmed {
  background: #e9f6ee;
  color: #065c31;
  border-color: #0a7a42;
}
#view-office .confirmed-note { color: #065c31; }
/* সফল ফর্ম-বার্তা */
#view-office .form-msg.ok { color: #065c31; }
/* ফি খাতায় "পরিশোধিত" মাসের ঘর (সফল অবস্থা) */
#view-office .month-cell.paid {
  background: #e9f6ee;
  border-color: #0a7a42;
}
#view-office .month-cell.paid .m-amt { color: #065c31; }
/* হাজিরায় "উপস্থিত" অবস্থা ("অনুপস্থিত"-এর লালচে রঙের বিপরীত অর্থবহ জুটি) */
#view-office .att-toggle.is-present {
  background: #0a7a42;
  border-color: #0a7a42;
  color: #fff;
}

/* ---- ভিজিটর পরিসংখ্যান (নিজস্ব গণনা): কার্ড + ৭ দিনের বার চার্ট ---- */
.vs-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0 6px;
}
@media (min-width: 640px) {
  .vs-cards { grid-template-columns: repeat(3, 1fr); }
}
.vs-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 6px solid #0a7a42;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vs-label { color: #64748b; font-weight: 600; }
.vs-num { font-size: 2.2rem; font-weight: 800; line-height: 1.15; }
.vs-green { color: #168039; }
.vs-navy { color: #0a7a42; }
.vs-amber { color: #b45309; }
.vs-sub { color: #64748b; font-size: 0.9rem; }
.vs-chart {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 190px;
  margin-top: 8px;
}
.vs-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.vs-val { font-weight: 700; }
.vs-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.vs-bar {
  width: 100%;
  background: #0a7a42;
  border-radius: 6px 6px 0 0;
  min-height: 3px;
}
.vs-col:last-child .vs-bar { background: #168039; }
.vs-day { color: #64748b; font-size: 0.85rem; text-align: center; }

/* ---- বই ও বিষয় / সুরক্ষা / সম্পর্কে: নতুন পেজগুলোর স্টাইল ---- */
.book-block { margin: 18px 0; }
.book-block h3 { margin-bottom: 6px; }
.book-block ul { margin: 0; padding-left: 22px; }
.book-block li { margin: 3px 0; }
.book-block .pdf-link { margin-left: 6px; white-space: nowrap; }
.helpline-list { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 4px; }
@media (min-width: 640px) {
  .helpline-list { flex-direction: row; flex-wrap: wrap; }
}
.btn-whatsapp { background: #1faa55; border: 1px solid #1faa55; color: #fff; }
.about-sign { font-style: italic; }
/* প্রধান শিক্ষকের বার্তা — ছবিসহ কার্ড (About পেজ, 2026-11-08) */
.principal-card { display: flex; gap: 22px; background: #f2f8f4; border: 1.5px solid #d8ebdf; border-radius: 14px; padding: 20px 22px; margin: 10px 0 6px; }
.principal-photo { flex: 0 0 150px; text-align: center; }
.principal-photo img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid #0a7a42; }
.principal-name { font-weight: 700; margin-top: 8px; }
.principal-desig { color: #0a7a42; font-weight: 700; font-size: 14.5px; }
.prose .principal-text { margin: 0; text-align: justify; }
@media (max-width: 700px) {
  .principal-card { flex-direction: column; align-items: center; }
  .principal-photo { flex: none; }
}
/* পাবলিক পরীক্ষার সময়সূচি (রুটিন পেজ, 2026-11-08) */
.examsched-block { margin-top: 14px; }
.examsched-exam { font-size: 16.5px; color: #33463a; margin: 0 0 8px; }
.examsched-exam strong { color: #0a7a42; }
tr.sched-done td { opacity: .55; }
.sched-badge { background: #eef2ee; color: #55665b; border: 1px solid #cfdccf;
  font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px;
  margin-left: 6px; white-space: nowrap; }

/* ---- ফুটারের আকাশরেখা (স্মৃতিসৌধ সিলুয়েট) + হালনাগাদ নোট ---- */
.footer-skyline { line-height: 0; margin-top: 26px; }
.footer-skyline svg { display: block; width: 100%; height: auto; }
.footer-note {
  background: #ffffff;
  color: #52606d;
  text-align: center;
  padding: 9px 0 5px;
}
.footer-note p { margin: 0; font-size: 11.5px; line-height: 1.5; }
.footer-skyline + .footer-note + .site-footer { margin-top: 0; }
@media print {
  .footer-skyline, .footer-note, .footer-design { display: none !important; }
}

.footer-design img { width: 88%; height: auto; display: block; margin: 0 auto; }

/* ===== স্ক্রল অ্যানিমেশন (ডেমো দেখে মালিকের অনুমোদনে লাইভ) =====
   html.anim শ্রেণিটি <head>-এর ছোট স্ক্রিপ্টে বসে — JS/অবজার্ভার
   কোনো কারণে না চললেও .rv লুকানো অবস্থা প্রযোজ্য হবে না। */
html.anim .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
html.anim .rv.in { opacity: 1; transform: none; }
.home-hero h1 { animation: animUp .8s .1s cubic-bezier(.22,.61,.36,1) both; }
.home-hero .home-subline { animation: animUp .8s .28s cubic-bezier(.22,.61,.36,1) both; }
.home-hero .home-cta { animation: animUp .8s .46s cubic-bezier(.22,.61,.36,1) both; }
@keyframes animUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slides .slide.active img { animation: animZoom 7s ease-out both; }
@keyframes animZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (hover:hover) {
  .svc-card, #view-home .card { transition: transform .3s ease, box-shadow .3s ease; }
  .svc-card:hover, #view-home .card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(20,60,35,.16); }
  .cls-chip { transition: transform .25s ease; }
  a.cls-chip:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html.anim .rv { opacity: 1; transform: none; transition: none; }
  .home-hero h1, .home-hero .home-subline, .home-hero .home-cta, .slides .slide.active img { animation: none; }
}

/* ===== আইডি কার্ড ও এডমিট কার্ড (প্রিন্ট) ===== */
.profile-photo { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; margin-bottom: 6px; }
.left-banner { background: #fdf3f2; border: 1.5px solid #f0cfcb; border-radius: 12px; padding: 12px 14px; margin: 10px 0 4px; color: #7c2d26; line-height: 1.6; }
.left-form { background: #faf7f2; border: 1.5px solid #e8ddcb; border-radius: 12px; padding: 14px; margin: 8px 0; }
.left-form h4 { margin: 0 0 10px; color: #7c4a12; }
.left-badge { display: inline-block; background: #b3261e; color: #fff; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 1px 8px; vertical-align: 2px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 2px; }
.profile-actions select { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.idc-sheet { display: grid; grid-template-columns: repeat(2, 86mm); gap: 6mm; justify-content: center; }
.id-card { width: 86mm; height: 54mm; border: 1px dashed #9aa5a1; border-radius: 3mm; overflow: hidden; display: flex; flex-direction: column; font-size: 8.5pt; page-break-inside: avoid; }
.idc-head { display: flex; align-items: center; gap: 2.5mm; background: var(--green); color: #fff; padding: 2mm 3mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.idc-head img { width: 9mm; height: 9mm; border-radius: 50%; background: #fff; }
.idc-school { font-weight: 700; font-size: 11pt; margin: 0; line-height: 1.15; }
.idc-slogan { margin: 0; font-size: 6.5pt; opacity: .92; }
.idc-body { display: flex; gap: 3mm; padding: 2.5mm 3mm; flex: 1; }
.idc-photo { width: 19mm; height: 24mm; object-fit: cover; border: .4mm solid #cfd8d3; border-radius: 1.5mm; flex: none; }
.idc-photo-ph { display: flex; align-items: center; justify-content: center; color: #8a978f; background: #eef3f0; font-size: 8pt; }
.idc-fields p { margin: 0 0 .8mm; line-height: 1.3; }
.idc-name { font-weight: 700; font-size: 10.5pt; }
.idc-foot { background: var(--green-light); padding: 1.4mm 3mm; font-size: 6.8pt; text-align: center; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.admit-card { border: .6mm solid #1d5c38; border-radius: 4mm; padding: 6mm 7mm; margin: 0 auto 8mm; max-width: 175mm; page-break-inside: avoid; font-size: 10.5pt; color: #14251b; }
.adc-head { display: flex; align-items: center; gap: 4mm; }
.adc-head img { width: 14mm; height: 14mm; border-radius: 50%; }
.adc-head h3 { margin: 0; font-size: 15pt; color: #1d5c38; }
.adc-head p { margin: 0; font-size: 9pt; }
.adc-title { text-align: center; margin: 4mm 0 1mm; }
.adc-title span { background: #1d5c38; color: #fff; padding: 1.2mm 7mm; border-radius: 999px; font-weight: 700; font-size: 12pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.adc-exam { text-align: center; margin: 0 0 3mm; font-size: 10pt; }
.adc-student { display: flex; flex-wrap: wrap; gap: 1mm 8mm; margin-bottom: 3mm; }
.adc-student p { margin: 0; }
.adc-table { width: 100%; border-collapse: collapse; }
.adc-table th, .adc-table td { border: .3mm solid #7d8f85; padding: 1.4mm 2mm; text-align: left; }
.adc-table th { background: #e7f0e9; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.adc-table td:nth-child(3), .adc-table td:nth-child(4) { width: 32mm; }
.adc-note { font-size: 9pt; margin: 3mm 0 0; }
.adc-signs { display: flex; justify-content: space-between; gap: 10mm; margin-top: 10mm; }

/* পরীক্ষার তারিখ-সময় সম্পাদক (রেজাল্ট → প্রিন্ট) */
.card-sep { border: none; border-top: 1px solid var(--line); margin: 18px 0 12px; }
.sched-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 8px; align-items: center; margin-bottom: 8px; }
.sched-row input { padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; width: 100%; background: var(--card-bg, #fff); }
.sched-subj { font-weight: 600; }

/* তারিখ-সময় ঘরের লেবেল + মোবাইলে চওড়া সাজ (লেবেল কেটে যেত) */
.sched-cell { display: flex; flex-direction: column; gap: 2px; }
.sched-cell > span { font-size: 11px; font-weight: 600; color: #5c6f63; }
@media (max-width: 560px) {
  .sched-row { grid-template-columns: 1fr 1fr; }
  .sched-subj { grid-column: 1 / -1; }
}

/* প্রমোশন প্রিভিউ টেবিল */
.promo-row { display: grid; grid-template-columns: 28px 1.4fr .8fr 110px; gap: 8px; align-items: center; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.promo-row input[type="number"] { padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; width: 100%; }
.promo-head { font-weight: 700; }
.promo-arrow { color: #1d5c38; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .promo-row { grid-template-columns: 28px 1fr 100px; }
  .promo-arrow { display: none; }
}

/* এডমিট কার্ড: ছবি (থাকলে), নির্দেশনা, ওয়েবসাইট QR */
.adc-main { display: flex; gap: 5mm; align-items: flex-start; margin-bottom: 3mm; }
.adc-photo { width: 22mm; height: 27mm; object-fit: cover; border: .4mm solid #cfd8d3; border-radius: 1.5mm; flex: none; }
.adc-main .adc-student { flex: 1; margin-bottom: 0; }
.adc-instr { margin-top: 3mm; font-size: 9pt; }
.adc-instr p { margin: 0 0 .6mm; }
.adc-instr-title { font-weight: 700; }
.adc-signs { align-items: flex-end; }
.adc-qr { text-align: center; flex: none; }
.adc-qr img { width: 20mm; height: 20mm; display: block; }
.adc-qr span { display: block; font-size: 6pt; color: #44584c; margin-top: .8mm; }

/* ================= বোর্ড-স্টাইল এডমিট কার্ড (A5, জোড়ায় A4 ল্যান্ডস্কেপ) =================
   নকশা: মালিকের অনুমোদিত নমুনা (২০২৬-১১-০২)। নামকরা পৃষ্ঠা (named page)
   ব্যবহার করা হয়েছে, যাতে শুধু এডমিট ছাপার সময়ই কাগজ ল্যান্ডস্কেপ হয় —
   মার্কশিট/আবেদনের পোর্ট্রেট ছাপা আগের মতোই থাকে। */
@page nabLand { size: A4 landscape; margin: 10mm; }
.nab-page { page: nabLand; display: flex; gap: 6mm; align-items: flex-start; break-inside: avoid; page-break-inside: avoid; width: 100%; box-sizing: border-box; }
.nab-frame {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  box-sizing: border-box;
  break-inside: avoid;
  page-break-inside: avoid;
  border: .9mm solid #c19a2e;
  padding: 1.2mm;
  background: #fff;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.nab-card { flex: 1 1 auto; min-width: 0; box-sizing: border-box; border: .4mm solid #c19a2e; padding: 3mm 5mm 2mm; position: relative; overflow: hidden; background: #fff; line-height: 1.3; break-inside: avoid; page-break-inside: avoid; }
.nab-wm { position: absolute; top: 54%; left: 50%; width: 78mm; height: 78mm; transform: translate(-50%, -50%); opacity: .05; }
.nab-top { display: flex; gap: 4mm; position: relative; }
.nab-head { flex: 1; text-align: center; }
.nab-schoolrow { display: flex; align-items: center; justify-content: center; gap: 2.8mm; }
.nab-schoolrow img { width: 12.5mm; height: 12.5mm; }
.nab-school { font-size: 17pt; font-weight: 800; color: #14532d; letter-spacing: .3px; margin: 0; }
.nab-addr { margin: .8mm 0 0; font-size: 9pt; color: #222; }
.nab-examline { margin: 2.2mm 0 0; font-weight: 700; font-size: 10pt; color: #111; }
.nab-pill {
  display: inline-block; background: #14532d; color: #fff; font-weight: 800;
  font-size: 13.5pt; padding: 1.4mm 9mm; border-radius: 3.4mm; margin-top: 2.2mm; letter-spacing: .8px;
  print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
.nab-rail { width: 26.5mm; flex: none; text-align: center; }
.nab-photo { border: .45mm solid #c19a2e; width: 26.5mm; height: 24mm; overflow: hidden; background: #fff; }
.nab-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nab-qr { margin-top: 1.5mm; }
.nab-qr img { width: 12mm; height: 12mm; }
.nab-qr span { display: block; font-size: 4.6pt; color: #44584c; margin-top: .5mm; }
.nab-card table { width: 100%; border-collapse: collapse; position: relative; table-layout: fixed; overflow-wrap: anywhere; }
.nab-info { margin-top: 3mm; font-size: 10pt; }
.nab-info td { border: .3mm solid #333; padding: 1.05mm 2.4mm; }
.nab-info td.lbl { width: 28mm; background: #f4f8f4; }
.nab-info td.val { font-weight: 700; }
.nab-info td.roll-lbl { width: 16mm; background: #f4f8f4; }
.nab-info td.roll-val { width: 13mm; font-weight: 700; text-align: center; }
.nab-subjects { margin-top: 3mm; font-size: 9.5pt; line-height: 1.15; }
.nab-subjects th, .nab-subjects td { border: .3mm solid #333; padding: .7mm 2.2mm; vertical-align: middle; }
/* বিষয়ের সব ঘর সমান উচ্চতা: ১ লাইনের বিষয়ও ২ লাইনের বিষয়ের সমান উঁচু হবে। */
.nab-subjects tbody tr, .nab-subjects tbody td { height: 8mm; }
.nab-subjects th { background: #cfe3d2; text-align: left; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.nab-subjects td.c { text-align: center; }
/* বাংলা “ক্রমিক নং” ৮মিমি-তে অক্ষরে অক্ষরে ভেঙে হেডার লম্বা করছিল — ১৩মিমি করলে ২ লাইনে বসে। */
.nab-subjects th.w-no { width: 13mm; }
.nab-subjects th.w-date { width: 21mm; }
.nab-subjects th.w-day { width: 19mm; }
.nab-subjects th.w-time { width: 15mm; }
.nab-instr { margin-top: 2.5mm; position: relative; }
.nab-instr h4 { margin: 0 0 1mm; font-size: 8.5pt; letter-spacing: .3px; }
.nab-instr p { margin: 0 0 .5mm; font-size: 7.5pt; }
.nab-sign { margin-top: 6mm; text-align: right; position: relative; }
.nab-sign span { display: inline-block; border-top: .3mm solid #333; padding-top: 1mm; font-size: 8.5pt; min-width: 44mm; text-align: center; }
@media print {
  /* উচ্চতা নির্দিষ্ট নয় — কার্ড নিজের কনটেন্টের মাপে বসে, তাই বর্ডারসহ
     পুরো কার্ড এক পৃষ্ঠায় থাকে; জোড়ার পরে পৃষ্ঠা বদলায়।
     Chrome named page (@page nabLand) মানে না বলে শুধু ওটার উপর ভরসা
     করা যায় না — printAdmitCards ছাপার আগে @page landscape স্টাইল
     ঢুকিয়ে দেয়, ছাপা শেষে তা সরিয়ে নেয়, যাতে অন্য ছাপা পোর্ট্রেটই থাকে। */
  .nab-page { page-break-after: always; break-after: page; width: 100%; zoom: 0.95; break-inside: avoid; page-break-inside: avoid; display: block; font-size: 0; }
  .nab-page:last-child { page-break-after: auto; break-after: auto; }
  .nab-frame { flex: none; display: inline-block; width: calc(50% - 3mm); vertical-align: top; font-size: initial; min-width: 0; }
  .nab-frame + .nab-frame { margin-left: 6mm; }
  .nab-card { min-width: 0; break-inside: avoid; page-break-inside: avoid; }
}


/* ================= অ্যাকাডেমিক ট্রান্সক্রিপ্ট (বোর্ড-ধাঁচ) =================
   নকশা: মালিকের অনুমোদিত নমুনা (২০২৬-১১-০২)। A4 পোর্ট্রেটে একটা করে,
   সাইটের স্বাভাবিক @page নিয়মেই ছাপা হয় (আলাদা named page নয় —
   ওতে ফোনের প্রিন্টে প্রথম পৃষ্ঠা ফাঁকা আসছিল, ?v=59-এ ঠিক করা)।
   দুটি সংস্করণ একই গায়ে — 'office'-এ স্বাক্ষরের লাইন,
   'online'-এ তার বদলে অনলাইন-কপির নোট। */
.ts-page { break-after: page; page-break-after: always; break-inside: avoid; page-break-inside: avoid; }
.ts-page:last-child { break-after: auto; page-break-after: auto; }
.ts-frame {
  border: 1mm solid #c19a2e; padding: 1.4mm; background: #fff;
  box-shadow: 0 2px 14px rgba(20, 60, 35, .12);
}
.ts-sheet {
  border: .45mm solid #c19a2e; padding: 7mm 8mm 8mm;
  position: relative; overflow: hidden; color: #111;
  font-family: "Hind Siliguri", sans-serif;
}
.ts-wm {
  position: absolute; top: 55%; left: 50%; width: 95mm; height: 95mm;
  transform: translate(-50%, -50%); opacity: .05; pointer-events: none;
}
.ts-board {
  text-align: center; font-family: Georgia, "Times New Roman", serif;
  font-size: 20pt; font-weight: 700; letter-spacing: .5px;
  color: #14532d; margin: 0;
}
.ts-addr { text-align: center; margin: 1.5mm 0 0; font-size: 11pt; letter-spacing: 2px; }
.ts-exam { text-align: center; font-weight: 700; font-size: 12.5pt; margin: 2.5mm 0 0; }
.ts-midrow { display: flex; align-items: flex-start; margin-top: 4mm; position: relative; }
.ts-mid-side { flex: 1; }
.ts-mid-logo { flex: 1; text-align: center; }
.ts-mid-logo img { width: 24mm; height: 24mm; }
.ts-mid-right { display: flex; justify-content: flex-end; }
.ts-scale { border-collapse: collapse; font-size: 8pt; }
.ts-scale th, .ts-scale td { border: .3mm solid #333; padding: .7mm 1.8mm; text-align: center; }
.ts-title {
  text-align: center; margin: 3mm 0 0; font-size: 13.5pt; font-weight: 800;
  text-decoration: underline; letter-spacing: 1px;
}
.ts-info { margin-top: 5mm; font-size: 11.5pt; position: relative; }
.ts-irow { display: flex; margin-bottom: 2.2mm; }
.ts-lbl { width: 48mm; font-weight: 700; flex: none; }
.ts-sep { width: 6mm; flex: none; }
.ts-val { font-weight: 600; }
.ts-half { display: flex; flex: 1; }
.ts-lbl-roll { width: 30mm; }
.ts-marks { width: 100%; border-collapse: collapse; margin-top: 4mm; font-size: 11pt; position: relative; }
.ts-marks th, .ts-marks td { border: .3mm solid #333; padding: 2mm 2.6mm; }
.ts-marks th { text-align: center; font-weight: 700; }
.ts-marks th.w-sl { width: 14mm; }
.ts-marks th.w-marks { width: 26mm; }
.ts-marks th.w-grade { width: 20mm; }
.ts-marks th.w-point { width: 20mm; }
.ts-marks th.w-gpa { width: 22mm; }
.ts-marks td.c { text-align: center; }
.ts-marks td { text-align: center; }
.ts-marks td:nth-child(2) { text-align: left; }
.ts-marks td.ts-gpa { text-align: center; vertical-align: middle; font-size: 17pt; font-weight: 800; }
.ts-marks tr.ts-total td { font-weight: 800; }
.ts-marks tr.ts-total td:first-child { text-align: right; }
.ts-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 12mm; position: relative;
}
.ts-pubdate { font-size: 10.5pt; margin: 0; }
.ts-sign-line {
  border-top: .35mm solid #333; padding-top: 1.2mm;
  font-size: 10.5pt; min-width: 48mm; text-align: center;
}
.ts-note {
  font-size: 9.5pt; font-style: italic; color: #555;
  max-width: 92mm; text-align: right; margin: 0;
}
@media print {
  .ts-frame { box-shadow: none; }
  body.printing-bulk #view-result { display: none !important; }
  body.printing-bulk #printArea { display: block !important; }
}

/* রেজাল্ট যাচাই (এক অংকের যোগ) — ফর্মের ভেতরে এক লাইনে */
.verify-row { margin-top: 12px; }
/* Board-style framed result form (label : field rows, like educationboard) */
#resultForm.board-frame { border: 1px solid #888; background: #fff; padding: 28px 24px; max-width: 100%; }
.board-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; min-width: 0; }
.board-row .board-label { width: 170px; flex-shrink: 0; font-weight: 700; }
.board-row .board-label em { color: var(--danger); font-style: normal; }
.board-row .board-colon { width: 16px; flex-shrink: 0; }
.board-row select, .board-row input[type="number"] { flex: 1; min-width: 0; max-width: 420px; padding: 8px 10px; border: 1px solid #888; border-radius: 3px; font-size: 1rem; }
.board-row select:focus, .board-row input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.board-row .verify-q { flex: 1; }
.board-actions { display: flex; gap: 12px; margin: 24px 0 0 198px; }
.btn-reset-solid { background: #e53935; border-color: #e53935; color: #fff; }
.btn-reset-solid:hover { background: #c62828; }
@media (max-width: 600px) {
  #resultForm.board-frame { padding: 20px 14px; }
  .board-row { flex-wrap: wrap; gap: 6px; }
  .board-row .board-label { width: 100%; }
  .board-row .board-colon { display: none; }
  .board-row select, .board-row input[type="number"] { max-width: none; width: 100%; flex: 1 1 100%; min-width: 0; }
  .board-actions { margin-left: 0; }
}
.verify-q { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verify-q #r-verify-q { font-size: 1.1rem; font-weight: 700; }
.verify-q #r-verify-a { width: 70px; text-align: center; }

/* Homework public card (notice style) — added 2026-11-06 */
.hw-card{background:#fff;border:1px solid #d8e6dc;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(6,92,49,.08);margin:10px 0}
.hw-card-head{background:linear-gradient(90deg,#0a7a42,#065c31);color:#fff;padding:9px 12px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.hw-card-title{font-size:16px;font-weight:700}
.hw-due-badge{background:#f5b921;color:#3a2a02;font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;white-space:nowrap}
.hw-card-body{padding:10px 12px 12px}
.hw-card-date{font-size:12.5px;color:#5b7a66;font-weight:600;margin-bottom:7px}
.hw-card-details{background:#f2f7f3;border-radius:9px;padding:9px 11px;font-size:14.5px;line-height:1.6;color:#26332a}

/* ---- দ্বি-ধাপ যাচাই (2FA) প্যানেল অংশ ---- */
.mfa-code-input { text-align: center; font-size: 22px !important; letter-spacing: 8px; font-weight: 700; }
.mfa-qr { text-align: center; margin: 10px 0 4px; }
.mfa-qr img { width: 172px; height: 172px; image-rendering: pixelated; }
.mfa-key { text-align: center; word-break: break-all; }
.mfa-key b { letter-spacing: 1px; color: #44584c; }
.mfa-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #f7fbf8; border: 1px solid #e3efe7; border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.mfa-warn { background: #fdf6e0; border: 1px solid #f0d98c; border-radius: 8px; padding: 8px 12px; font-size: 13.5px; color: #6b5510; }
.mfa-switch { position: relative; display: inline-block; width: 48px; height: 27px; flex: none; }
.mfa-switch input { opacity: 0; width: 0; height: 0; }
.mfa-switch span { position: absolute; inset: 0; background: #b9c8be; border-radius: 999px; transition: .2s; cursor: pointer; }
.mfa-switch span::after { content: ""; position: absolute; width: 21px; height: 21px; background: #fff; border-radius: 50%; top: 3px; left: 3px; transition: .2s; }
.mfa-switch input:checked + span { background: #0a7a42; }
.mfa-switch input:checked + span::after { left: 24px; }

/* অফিস প্যানেল ভিউতে পাবলিক হেডার, মেনু ও নোটিশ টিকার লুকানো থাকে —
   শুধু প্যানেলের নিজের হেডার ও ট্যাব দেখা যায় (মালিকের নির্দেশ, 2026-11-07) */
body.in-office .site-header,
body.in-office .notice-ticker,
body.in-office .app-dl-wrap { display: none !important; }
body.in-office .app-land-overlay { display: none !important; }
