
.cnm-wrap{
  /* ---------- প্রিমিয়াম কালার প্যালেট ---------- */
  --cnm-paper:#FBF8F1;           /* উষ্ণ ক্রিম ব্যাকগ্রাউন্ড */
  --cnm-paper-line:#E7E0CC;      /* নরম সোনালি-বাদামি বর্ডার */
  --cnm-ink:#1A2233;             /* গাঢ় নেভি টেক্সট */
  --cnm-ink-muted:#6B7280;
  --cnm-gold:#C89A3C;            /* সমৃদ্ধ সোনালি */
  --cnm-gold-deep:#9C7220;
  --cnm-gold-soft:#F3E6C4;
  --cnm-teal:#0E5B45;            /* গভীর এমারেল্ড */
  --cnm-teal-deep:#0A3E30;
  --cnm-teal-soft:#EAF3EF;
  --cnm-card:#FFFFFF;
  --cnm-red:#B3261E;             /* লক-থাকা ডাউনলোড বোতামের লাল */
  --cnm-red-deep:#8C1D17;

  max-width:760px;
  margin:0 auto;
  padding:24px 20px 60px;

  color:var(--cnm-ink);
}
.cnm-wrap input,
.cnm-wrap button,
.cnm-wrap select,
.cnm-wrap textarea{
  font-family:inherit;
}

/* ---------- Header (মাঝ বরাবর) ---------- */
.cnm-header{
  padding:20px 0 26px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.cnm-header__eyebrow{
  font-size:12.5px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--cnm-gold-deep); margin:0 0 8px;
}
.cnm-header__title{
  font-size:34px;
  line-height:1.15;
  font-weight:800;
  margin:0;
  color:var(--cnm-teal-deep);
  letter-spacing:-0.01em;
}
.cnm-header__rule{
  display:block;
  width:64px; height:3px; border-radius:3px;
  margin:14px auto 16px;
  background:linear-gradient(90deg, var(--cnm-gold-deep), var(--cnm-gold));
}
.cnm-header__lede{
  font-size:15.5px; line-height:1.75; color:var(--cnm-ink-muted);
  max-width:52ch; margin:0 auto;
}

/* ---------- Tabs (কেন্দ্রীভূত পিল টগল) ---------- */
.cnm-tabs{
  display:flex; justify-content:center; gap:4px;
  margin:26px auto 18px;
  padding:5px;
  width:fit-content;
  background:var(--cnm-teal-soft);
  border:1px solid var(--cnm-paper-line);
  border-radius:999px;
}
.cnm-tab{
  font-weight:700;
  font-size:14.5px;
  background:transparent;
  border:none;
  border-radius:999px;
  padding:10px 26px;
  cursor:pointer;
  color:var(--cnm-teal-deep);
  transition:background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.cnm-tab.active{
  color:#fff;
  background:linear-gradient(135deg, var(--cnm-teal), var(--cnm-teal-deep));
  box-shadow:0 4px 12px rgba(10,62,48,0.28);
}
.cnm-tab:not(.active):hover{ background:rgba(14,91,69,0.08); }

/* ---------- Panel ---------- */
.cnm-panel{
  background:var(--cnm-card);
  border:1px solid var(--cnm-paper-line);
  border-radius:16px;
  box-shadow:0 10px 30px rgba(26,34,51,0.07);
  overflow:hidden;
}
.cnm-panel-top{
  display:flex; align-items:center; gap:10px;
  padding:18px 22px; border-bottom:1px solid var(--cnm-paper-line);
  background:linear-gradient(180deg, var(--cnm-teal-soft), var(--cnm-card));
}
.cnm-search{
  flex:1; display:flex; align-items:center; gap:8px;
  background:var(--cnm-card); border:1px solid var(--cnm-paper-line);
  border-radius:9px; padding:9px 13px;
}
.cnm-search svg{ flex:none; opacity:0.5; color:var(--cnm-teal-deep); }
.cnm-search-input{
  border:none; background:transparent; outline:none;
  font-size:14.5px; color:var(--cnm-ink); width:100%;
}
.cnm-search-input::placeholder{ color:#9AA1AC; }
.cnm-count{
  font-size:12.5px; font-weight:700; color:var(--cnm-teal-deep);
  white-space:nowrap; background:var(--cnm-gold-soft); padding:6px 12px; border-radius:999px;
}

/* ---------- Chapter list — নির্ধারিত দূরত্বে সাজানো গ্রিড ---------- */
.cnm-chapters{ list-style:none; margin:0; padding:0; }
.cnm-chapters.cnm-hidden-paper{ display:none; }
.cnm-row{
  display:grid;
  grid-template-columns:40px 108px 1fr auto;
  align-items:center;
  column-gap:18px;
  row-gap:12px;
  padding:16px 22px;
  border-bottom:1px solid var(--cnm-paper-line);
  transition:background 0.15s ease;
}
.cnm-row:last-child{ border-bottom:none; }
.cnm-row:hover{ background:#FBFAF5; }
.cnm-row.cnm-hidden{ display:none; }
.cnm-row--empty{
  display:block; color:var(--cnm-ink-muted); font-size:14.5px; padding:16px 22px;
}

.cnm-num{
  width:38px; height:38px; border-radius:50%;
  border:1.5px solid var(--cnm-gold);
  display:flex; align-items:center; justify-content:center;
  font-size:15px; font-weight:700; color:var(--cnm-teal-deep);
  background:var(--cnm-gold-soft);
}
.cnm-ordinal{
  font-size:13px; font-weight:700; color:var(--cnm-teal-deep);
  background:var(--cnm-teal-soft); border:1px solid var(--cnm-paper-line);
  border-radius:7px; padding:6px 10px; text-align:center; white-space:nowrap;
}
.cnm-chapter-title{ min-width:0; }
.cnm-name{ display:block; font-size:16px; font-weight:700; color:var(--cnm-ink); }

.cnm-action{ display:flex; justify-content:flex-end; }
.cnm-btn-download{
  display:inline-flex; align-items:center; gap:6px;
  background:linear-gradient(135deg, var(--cnm-gold), var(--cnm-gold-deep)); color:#fff;
  font-weight:700; font-size:14px;
  text-decoration:none; padding:9px 18px; border-radius:8px;
  box-shadow:0 4px 10px rgba(156,114,32,0.28);
  transition:filter 0.15s ease, transform 0.15s ease;
}
.cnm-btn-download:hover{ filter:brightness(1.06); color:#fff; transform:translateY(-1px); }
.cnm-status-soon{
  font-size:13px; color:#9AA3AC; background:#F1F2F0;
  padding:8px 14px; border-radius:8px; border:1px dashed #D6D9D5;
}

/* লক করা অধ্যায় — লাল ব্যাকগ্রাউন্ড, সাদা ফন্ট, পাশে লক আইকন */
.cnm-btn-lock{
  display:inline-flex; align-items:center; gap:7px;
  background:linear-gradient(135deg, var(--cnm-red), var(--cnm-red-deep));
  color:#fff; border:none;
  font-weight:700; font-size:14px;
  padding:9px 18px; border-radius:8px; cursor:pointer;
  box-shadow:0 4px 10px rgba(140,29,23,0.32);
  transition:filter 0.15s ease, transform 0.15s ease;
}
.cnm-btn-lock:hover{ filter:brightness(1.08); transform:translateY(-1px); }
.cnm-btn-lock__icon{ flex:none; }

.cnm-unlock-form{
  grid-column:1 / -1;
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  margin-top:2px; padding-top:14px; border-top:1px dashed var(--cnm-paper-line);
}
.cnm-unlock-form input[type="password"]{
  font-family:inherit; font-size:14px; color:var(--cnm-ink);
  border:1px solid var(--cnm-paper-line); border-radius:8px; padding:9px 13px; min-width:180px;
  background:var(--cnm-paper);
}
.cnm-unlock-form input[type="password"]:focus{ outline:none; border-color:var(--cnm-teal); background:#fff; }
.cnm-unlock-error{ color:var(--cnm-red-deep); font-size:13px; font-weight:600; }

.cnm-empty-state{
  padding:48px 20px; text-align:center; color:var(--cnm-ink-muted); font-size:14.5px; display:none;
}
.cnm-empty-state.show{ display:block; }

/* ---------- Subject list (landing) ---------- */
.cnm-subject-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));
  gap:14px; padding:8px 0;
}
.cnm-subject-card{
  display:flex; flex-direction:column; gap:6px;
  background:var(--cnm-card); border:1px solid var(--cnm-paper-line);
  border-radius:12px; padding:20px; text-decoration:none;
  box-shadow:0 6px 20px rgba(26,34,51,0.06);
  transition:transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cnm-subject-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(26,34,51,0.1);
  border-color:var(--cnm-gold);
}
.cnm-subject-card__name{ font-size:19px; font-weight:700; color:var(--cnm-teal-deep); }
.cnm-subject-card__meta{ font-size:13px; color:var(--cnm-ink-muted); }

@media (max-width:560px){
  .cnm-header__title{ font-size:27px; }
  .cnm-panel{ border-radius:14px; background:var(--cnm-paper); }
  .cnm-panel-top{ border-radius:14px 14px 0 0; }
  .cnm-chapters{ padding:12px; display:flex; flex-direction:column; gap:12px; }

  /* প্রতিটি অধ্যায় এখন নিজস্ব বর্ডারওয়ালা কার্ড — ক্রম নম্বর বাঁ পাশে স্থির থাকে,
     আর মাঝখানে ওপর থেকে নিচে: কততম অধ্যায় -> অধ্যায়ের নাম -> ডাউনলোড বোতাম। */
  .cnm-row{
    display:grid;
    grid-template-columns:46px 1fr;
    grid-template-areas:
      "num ordinal"
      "num name"
      "num action";
    align-items:start;
    column-gap:14px;
    row-gap:8px;
    padding:16px;
    border:1.5px solid var(--cnm-paper-line);
    border-radius:12px;
    background:var(--cnm-card);
    box-shadow:0 3px 10px rgba(26,34,51,0.05);
  }
  .cnm-row:last-child{ border-bottom:1.5px solid var(--cnm-paper-line); }

  .cnm-num{
    grid-area:num; align-self:center; justify-self:start;
    width:36px; height:36px; font-size:15px;
  }
  .cnm-ordinal{
    grid-area:ordinal; justify-self:start;
    font-size:14px; padding:6px 11px;
  }
  .cnm-chapter-title{ grid-area:name; }
  .cnm-name{ font-size:16.5px; line-height:1.4; }
  .cnm-action{ grid-area:action; justify-content:flex-start; margin-left:0; }
  .cnm-btn-download,
  .cnm-btn-lock{
    width:100%; justify-content:center;
    font-size:15px; padding:11px 18px;
  }
  .cnm-status-soon{ font-size:14px; }

  .cnm-tabs{ width:100%; }
  .cnm-tab{ flex:1; padding:10px 12px; text-align:center; }
  .cnm-unlock-form{ grid-column:1 / -1; }
}

.cnm-wrap :focus-visible{ outline:2px solid var(--cnm-teal-deep); outline-offset:2px; }


/* =========================================================
   Mobile typography polish — v1.1
   Cleaner Bengali rendering, tighter spacing and proportions.
   ========================================================= */
.cnm-name,
.cnm-ordinal,
.cnm-num,
.cnm-tab,
.cnm-count,
.cnm-status-soon,
.cnm-btn-download,
.cnm-btn-lock,
.cnm-search-input,
.cnm-header__title,
.cnm-header__lede{
  letter-spacing:0;
  font-kerning:normal;
  font-variant-ligatures:normal;
}

@media (max-width:560px){
  .cnm-wrap{
    padding:16px 12px 48px;
  }

  .cnm-header{
    padding:10px 4px 18px;
  }

  .cnm-header__eyebrow{
    font-size:12px;
    margin-bottom:5px;
    letter-spacing:0;
  }

  .cnm-header__title{
    font-size:25px;
    line-height:1.35;
    font-weight:700;
  }

  .cnm-header__rule{
    width:52px;
    height:2px;
    margin:9px auto 10px;
  }

  .cnm-header__lede{
    font-size:13.5px;
    line-height:1.65;
  }

  .cnm-tabs{
    margin:16px auto 14px;
    padding:4px;
    border-radius:18px;
  }

  .cnm-tab{
    font-size:14px;
    line-height:1.4;
    padding:9px 10px;
  }

  .cnm-panel{
    border-radius:13px;
  }

  .cnm-panel-top{
    gap:8px;
    padding:12px;
  }

  .cnm-search{
    gap:7px;
    padding:8px 10px;
    min-width:0;
    border-radius:9px;
  }

  .cnm-search svg{
    width:17px;
    height:17px;
  }

  .cnm-search-input{
    font-size:13.5px;
    line-height:1.5;
  }

  .cnm-count{
    font-size:11.5px;
    padding:6px 9px;
  }

  .cnm-chapters{
    padding:10px;
    gap:10px;
  }

  .cnm-row{
    grid-template-columns:40px 1fr;
    column-gap:12px;
    row-gap:6px;
    padding:14px 13px;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(26,34,51,0.045);
  }

  .cnm-num{
    width:34px;
    height:34px;
    font-size:14px;
    border-width:1.25px;
  }

  .cnm-ordinal{
    font-size:13px;
    line-height:1.45;
    padding:5px 9px;
    border-radius:7px;
  }

  .cnm-name{
    font-size:18px;
    line-height:1.55;
    font-weight:600;
    overflow-wrap:anywhere;
  }

  .cnm-action{
    margin-top:2px;
  }

  .cnm-btn-download,
  .cnm-btn-lock{
    min-height:43px;
    font-size:15px;
    line-height:1.4;
    padding:9px 14px;
    border-radius:9px;
  }

  .cnm-btn-lock{
    gap:7px;
  }

  .cnm-status-soon{
    font-size:13px;
    line-height:1.4;
    padding:7px 12px;
  }
}

/* Very small phones: keep the search/count row from feeling cramped. */
@media (max-width:380px){
  .cnm-panel-top{
    flex-wrap:wrap;
  }

  .cnm-search{
    flex:1 1 100%;
  }

  .cnm-count{
    margin-left:auto;
  }

  .cnm-name{
    font-size:17px;
  }
}


/* =========================================================
   Mobile full-width alignment — match the site's main menu
   ========================================================= */
@media (max-width:560px){
  /* The WordPress theme may wrap page content inside a narrower
     content column. Let the notes UI use the same full mobile
     width as the main navigation. */
  .cnm-wrap{
    width:100vw;
    max-width:none;
    box-sizing:border-box;
    margin-left:50%;
    margin-right:0;
    transform:translateX(-50%);
    padding:12px 10px 44px;
    overflow-x:hidden;
  }

  /* Keep the top controls and the chapter panel on exactly the
     same left/right edges. */
  .cnm-tabs,
  .cnm-panel{
    width:100%;
    max-width:none;
    box-sizing:border-box;
  }

  .cnm-tabs{
    margin-left:0;
    margin-right:0;
  }

  .cnm-panel{
    border-radius:12px;
  }

  .cnm-panel-top{
    padding:10px;
  }

  .cnm-chapters{
    padding:8px;
    gap:9px;
  }

  .cnm-row{
    width:100%;
    box-sizing:border-box;
    padding:14px 13px;
    border-radius:11px;
  }

  .cnm-name{
    font-size:18px;
    line-height:1.5;
  }
}

@media (max-width:380px){
  .cnm-wrap{ padding-left:8px; padding-right:8px; }
  .cnm-panel-top{ padding:9px; }
  .cnm-chapters{ padding:7px; gap:8px; }
  .cnm-row{ padding:13px 12px; }
}

/* =========================================================
   Screenshot-matched icon polish + floating scroll control
   ========================================================= */
.cnm-tab{display:inline-flex;align-items:center;justify-content:center;gap:14px}
.cnm-icon{display:block;flex:none}
.cnm-icon--book{width:28px;height:28px}
.cnm-count{display:inline-flex;align-items:center;gap:9px}
.cnm-count__text{display:inline-block}
.cnm-icon--stack{width:28px;height:28px}
.cnm-row-chevron{grid-column:5;color:#2C806C;display:block;justify-self:end;transition:transform .16s ease}
.cnm-row:hover .cnm-row-chevron{transform:translateX(2px)}
.cnm-btn-lock,.cnm-btn-download{gap:10px}
.cnm-btn-lock__download,.cnm-btn-lock__icon{flex:none;display:block}
.cnm-scroll-top{
  position:fixed;right:24px;bottom:24px;width:58px;height:58px;border:0;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:var(--cnm-teal);color:#fff;
  box-shadow:0 10px 24px rgba(10,62,48,.28);cursor:pointer;z-index:999;
  transition:transform .18s ease,filter .18s ease,opacity .18s ease;
}
.cnm-scroll-top:hover{transform:translateY(-2px);filter:brightness(1.06)}
.cnm-scroll-top[hidden]{display:none}
@media (max-width:560px){
  .cnm-tab{gap:10px}
  .cnm-icon--book{width:26px;height:26px}
  .cnm-row{grid-template-columns:40px 1fr 22px;grid-template-areas:"num ordinal chevron" "num name chevron" "num action chevron"}
  .cnm-row-chevron{grid-area:chevron;align-self:center;justify-self:end}
  .cnm-action{grid-area:action}
  .cnm-btn-lock__download{width:22px;height:22px}
  .cnm-btn-lock__icon{width:17px;height:17px}
  .cnm-scroll-top{right:14px;bottom:16px;width:54px;height:54px}
}

/* =========================================================
   Premium Student Notes Library — v1.2
   ========================================================= */
.cnm-wrap{
  --cnm-bg:#f5f8f7;
  --cnm-teal:#087a63;
  --cnm-teal-deep:#064d40;
  --cnm-teal-2:#0b9276;
  --cnm-mint:#e9f7f3;
  --cnm-gold:#c99535;
  --cnm-text:#14211f;
  --cnm-muted:#71807d;
  --cnm-line:#e2ebe8;
  max-width:900px;
  padding:18px 18px 72px;
  background:var(--cnm-bg);
  border-radius:28px;
}

.cnm-subject-hero{
  position:relative;
  overflow:hidden;
  padding:18px 22px 22px;
  border:1px solid var(--cnm-line);
  border-radius:26px;
  background:#ffffff;
  box-shadow:0 14px 40px rgba(25,54,48,.08);
  text-align:left;
}
.cnm-hero-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.cnm-back-link{display:inline-flex;align-items:center;gap:6px;color:var(--cnm-teal-deep);text-decoration:none;font-weight:700;font-size:13px}
.cnm-back-link:hover{color:var(--cnm-teal)}
.cnm-hero-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#fff;border:1px solid var(--cnm-line);font-size:12px;font-weight:700;color:var(--cnm-teal-deep);box-shadow:0 4px 14px rgba(12,71,60,.06)}
.cnm-hero-badge__dot{width:7px;height:7px;border-radius:50%;background:#22a982;box-shadow:0 0 0 4px #dcf5ed}
.cnm-hero-icon{position:relative;z-index:2;width:62px;height:62px;border-radius:19px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#0d9276,#05614f);color:#fff;box-shadow:0 12px 25px rgba(8,122,99,.24);margin-bottom:14px}
.cnm-header__eyebrow{position:relative;z-index:2;margin:0 0 4px;color:var(--cnm-gold);font-size:12px;font-weight:800;letter-spacing:.04em}
.cnm-header__title{position:relative;z-index:2;margin:0;color:var(--cnm-teal-deep);font-size:35px;line-height:1.2;font-weight:800}
.cnm-header__lede{position:relative;z-index:2;margin:10px 0 18px;max-width:680px;color:var(--cnm-muted);font-size:14.5px;line-height:1.75}
.cnm-hero-stats{position:relative;z-index:2;display:flex;gap:9px;max-width:600px}
.cnm-stat{min-width:108px;flex:1;padding:10px 13px;border-radius:15px;background:#f7faf9;border:1px solid var(--cnm-line)}
.cnm-stat strong{display:block;color:var(--cnm-teal-deep);font-size:19px;line-height:1.15}
.cnm-stat span{display:block;margin-top:3px;color:var(--cnm-muted);font-size:11.5px;font-weight:600}

@media (min-width:561px){
  .cnm-subject-hero{text-align:center}
  .cnm-hero-top{flex-direction:column;align-items:center;justify-content:center;gap:10px}
  .cnm-hero-icon{margin-left:auto;margin-right:auto}
  .cnm-header__lede{margin-left:auto;margin-right:auto}
  .cnm-hero-stats{margin:0 auto;justify-content:center}
  .cnm-hero-badge{font-size:15px;padding:10px 18px;gap:9px}
  .cnm-hero-badge__dot{width:9px;height:9px}
  .cnm-stat{background:linear-gradient(160deg,#f0f9f6,#e6f3ef);border-color:#cfe6de;box-shadow:0 6px 16px rgba(12,71,60,.07)}
  .cnm-stat strong{font-weight:900}
  .cnm-stat span{font-weight:800}
}

.cnm-tabs{margin:18px 0 14px;padding:4px;width:100%;justify-content:stretch;border-radius:15px;background:#edf5f2;border:1px solid var(--cnm-line)}
.cnm-tab{flex:1;min-height:45px;font-size:14px}

.cnm-panel{border:1px solid var(--cnm-line);border-radius:22px;background:#fff;box-shadow:0 14px 40px rgba(25,54,48,.08)}
.cnm-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 20px 13px}
.cnm-section-kicker{display:block;color:var(--cnm-gold);font-size:11px;font-weight:800;margin-bottom:2px}
.cnm-panel-heading h2{margin:0;color:var(--cnm-text);font-size:20px;line-height:1.35;font-weight:800}
.cnm-live-pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:7px 10px;border-radius:999px;background:#effaf7;color:var(--cnm-teal);font-size:11px;font-weight:700}
.cnm-live-pill span{width:6px;height:6px;border-radius:50%;background:#16a47d}
.cnm-panel-top{margin:0 14px;padding:11px;background:#f7faf9;border:1px solid var(--cnm-line);border-radius:14px}
.cnm-search{border-radius:11px;background:#fff}
.cnm-count{background:#fff3dc;color:#916a22;border:1px solid #f1dfba}

.cnm-chapters{padding:13px 14px 15px;display:flex;flex-direction:column;gap:9px}
.cnm-row{position:relative;display:grid;grid-template-columns:44px 110px minmax(0,1fr) auto 22px;column-gap:12px;row-gap:8px;padding:15px 14px;border:1px solid var(--cnm-line);border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(19,57,50,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.cnm-row:hover{transform:translateY(-1px);background:#fcfffe;border-color:#cfe4de;box-shadow:0 9px 24px rgba(12,75,63,.08)}
.cnm-num{width:36px;height:36px;border:none;background:#eaf7f3;color:var(--cnm-teal-deep);font-size:14px}
.cnm-ordinal{padding:5px 9px;border-radius:999px;background:#f3f7f6;border-color:#e4ece9;color:#58706b;font-size:12px}
.cnm-name{font-size:15.5px;line-height:1.5;font-weight:700;color:var(--cnm-text)}
.cnm-action{z-index:1}
.cnm-btn-download,.cnm-btn-lock{min-height:40px;padding:8px 14px;border-radius:10px;font-size:13px}
.cnm-btn-download{background:linear-gradient(135deg,#0b9477,#08715f);box-shadow:0 6px 14px rgba(8,113,95,.20)}
.cnm-btn-lock{background:linear-gradient(135deg,#d4554d,#aa2d27);box-shadow:0 6px 14px rgba(170,45,39,.16)}
.cnm-row-chevron{color:#7b9790}
.cnm-status-soon{padding:7px 11px;border-radius:999px;font-size:12px}

@media (max-width:560px){
  .cnm-wrap{width:100%;max-width:none;margin:0;padding:9px 10px 58px;border-radius:0;background:var(--cnm-bg)}
  .cnm-subject-hero{padding:14px 15px 16px;border-radius:21px}
  .cnm-hero-top{margin-bottom:14px}
  .cnm-back-link{font-size:12px}
  .cnm-hero-badge{font-size:10.5px;padding:6px 9px}
  .cnm-hero-icon{width:52px;height:52px;border-radius:16px;margin-bottom:10px}
  .cnm-hero-icon svg{width:28px;height:28px}
  .cnm-header__eyebrow{font-size:11px}
  .cnm-header__title{font-size:27px;line-height:1.25}
  .cnm-header__lede{font-size:13px;line-height:1.65;margin:7px 0 14px}
  .cnm-hero-stats{gap:7px}
  .cnm-stat{min-width:0;padding:9px 8px;border-radius:12px;text-align:center}
  .cnm-stat strong{font-size:16px}
  .cnm-stat span{font-size:10px}
  .cnm-tabs{margin:12px 0 10px}
  .cnm-tab{min-height:42px;padding:8px 9px;font-size:13px}
  .cnm-panel{border-radius:17px}
  .cnm-panel-heading{padding:15px 13px 10px}
  .cnm-section-kicker{font-size:10px}
  .cnm-panel-heading h2{font-size:16px}
  .cnm-live-pill{font-size:9.5px;padding:6px 8px}
  .cnm-panel-top{margin:0 10px;padding:9px;border-radius:12px}
  .cnm-count{font-size:10px;padding:5px 8px}
  .cnm-chapters{padding:10px;gap:8px}
  .cnm-row{grid-template-columns:38px 1fr 21px;grid-template-areas:"num ordinal chevron" "num name chevron" "num action chevron";column-gap:10px;row-gap:6px;padding:13px 11px;border-radius:14px}
  .cnm-num{grid-area:num;width:33px;height:33px;align-self:center}
  .cnm-ordinal{grid-area:ordinal;justify-self:start;font-size:11.5px;padding:4px 8px}
  .cnm-chapter-title{grid-area:name}
  .cnm-name{font-size:16px;line-height:1.5}
  .cnm-action{grid-area:action;justify-content:flex-start;margin-top:2px}
  .cnm-btn-download,.cnm-btn-lock{width:100%;justify-content:center;min-height:42px;font-size:13.5px;padding:9px 10px}
  .cnm-row-chevron{grid-area:chevron;align-self:center}
  .cnm-btn-lock__download{width:20px;height:20px}
}

@media (max-width:380px){
  .cnm-header__title{font-size:24px}
  .cnm-header__lede{font-size:12.5px}
  .cnm-stat strong{font-size:15px}
  .cnm-stat span{font-size:9.5px}
  .cnm-panel-heading h2{font-size:15px}
  .cnm-live-pill{display:none}
  .cnm-name{font-size:15.5px}
}

/* =========================================================
   FINAL MOBILE SAFETY OVERRIDES — v1.2.2
   Prevent theme/container overflow and keep the student page
   inside the viewport on phones.
   ========================================================= */
.cnm-wrap,
.cnm-wrap *{
  box-sizing:border-box;
}
.cnm-wrap{
  width:100% !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  transform:none !important;
  overflow:visible !important;
  min-width:0 !important;
}
.cnm-subject-hero,
.cnm-panel,
.cnm-tabs{
  width:100%;
  max-width:100%;
  min-width:0;
}
.cnm-subject-hero,
.cnm-panel,
.cnm-panel-heading,
.cnm-panel-top,
.cnm-chapters,
.cnm-row{
  min-width:0;
}
.cnm-header__lede,
.cnm-name{
  overflow-wrap:anywhere;
  word-break:normal;
}

@media (max-width:560px){
  .cnm-wrap{
    width:100% !important;
    max-width:100% !important;
    padding:8px 8px 52px !important;
    margin:0 !important;
  }

  /* Compact centered header, similar in width/height to a login card. */
  .cnm-subject-hero{
    width:100%;
    padding:12px 12px 13px !important;
    border-radius:18px !important;
    text-align:center;
  }
  .cnm-hero-top{
    margin-bottom:8px !important;
    justify-content:space-between;
    text-align:left;
  }
  .cnm-hero-icon{
    width:42px !important;
    height:42px !important;
    border-radius:13px !important;
    margin:0 auto 7px !important;
  }
  .cnm-hero-icon svg{width:23px;height:23px}
  .cnm-header__eyebrow{
    font-size:9.5px !important;
    margin-bottom:1px !important;
  }
  .cnm-header__title{
    font-size:22px !important;
    line-height:1.2 !important;
  }
  .cnm-header__lede{
    max-width:560px;
    margin:5px auto 9px !important;
    font-size:11.5px !important;
    line-height:1.5 !important;
  }
  .cnm-hero-stats{
    width:100%;
    max-width:520px;
    margin:0 auto;
    gap:5px !important;
  }
  .cnm-stat{
    padding:6px 5px !important;
    border-radius:9px !important;
  }
  .cnm-stat strong{font-size:14px !important}
  .cnm-stat span{font-size:8.5px !important;margin-top:1px !important}

  .cnm-tabs{
    margin:9px 0 8px !important;
    border-radius:13px !important;
  }
  .cnm-tab{
    min-height:38px !important;
    padding:6px 7px !important;
    font-size:12px !important;
  }
  .cnm-icon--book{width:20px !important;height:20px !important}

  .cnm-panel{border-radius:15px !important}
  .cnm-panel-heading{
    padding:12px 11px 8px !important;
  }
  .cnm-panel-heading h2{font-size:15px !important}
  .cnm-panel-top{
    margin:0 8px !important;
    padding:7px !important;
  }
  .cnm-search{min-width:0;flex:1 1 auto}
  .cnm-search-input{min-width:0;font-size:12.5px !important}
  .cnm-count{flex:0 0 auto;font-size:9.5px !important}
  .cnm-chapters{padding:8px !important;gap:7px !important}
  .cnm-row{
    width:100% !important;
    max-width:100% !important;
    grid-template-columns:34px minmax(0,1fr) 18px !important;
    padding:11px 9px !important;
    column-gap:9px !important;
    border-radius:12px !important;
  }
  .cnm-num{width:30px !important;height:30px !important;font-size:13px !important}
  .cnm-ordinal{font-size:10.5px !important;padding:3px 7px !important}
  .cnm-name{font-size:15px !important;line-height:1.42 !important}
  .cnm-btn-download,.cnm-btn-lock{
    width:100% !important;
    min-width:0 !important;
    min-height:39px !important;
    font-size:12.5px !important;
    padding:8px 8px !important;
  }
  .cnm-btn-lock__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .cnm-status-soon{font-size:11px !important;padding:6px 9px !important}
  .cnm-scroll-top{right:10px !important;bottom:12px !important;width:48px !important;height:48px !important}
}

@media (max-width:380px){
  .cnm-wrap{padding-left:6px !important;padding-right:6px !important}
  .cnm-header__title{font-size:20px !important}
  .cnm-header__lede{font-size:11px !important}
  .cnm-stat strong{font-size:13px !important}
  .cnm-row{grid-template-columns:31px minmax(0,1fr) 17px !important;column-gap:7px !important;padding:10px 8px !important}
  .cnm-num{width:28px !important;height:28px !important}
  .cnm-name{font-size:14px !important}
}

/* =========================================================
   Desktop only — widen the student notes page and align its
   palette with the teacher-dashboard theme so both pages read
   as one visual family. Mobile (<=560px) is left untouched.
   ========================================================= */
@media (min-width:561px){
  .cnm-wrap{
    --cnm-ink:#102f2a;
    --cnm-ink-muted:#6b7d78;
    --cnm-teal:#147a67;
    --cnm-teal-deep:#0b5548;
    --cnm-teal-2:#0d9276;
    --cnm-teal-soft:#e9f7f3;
    --cnm-gold:#c9852d;
    --cnm-gold-deep:#8F6526;
    --cnm-gold-soft:#f6e6cf;
    --cnm-text:#102f2a;
    --cnm-muted:#6b7d78;
    --cnm-bg:#f6f9f7;
    --cnm-paper:#f6f9f7;
    --cnm-line:#e2ebe6;
    --cnm-paper-line:#e2ebe6;

    padding:clamp(20px,3vw,34px) clamp(20px,3vw,36px) 64px;
    border-radius:28px;
    background:
      radial-gradient(circle at 10% 0%, rgba(20,122,103,.08), transparent 28%),
      radial-gradient(circle at 100% 12%, rgba(201,133,45,.07), transparent 24%),
      linear-gradient(180deg,#f7fbf9 0%,#f5f8f7 42%,#fff 100%);
  }
  .cnm-hero-icon{
    background:linear-gradient(145deg, var(--cnm-teal-2), var(--cnm-teal-deep));
  }
  .cnm-subject-hero{
    border-color:var(--cnm-line);
    background:#ffffff;
  }
  .cnm-tabs{ background:#edf5f2; border-color:var(--cnm-line); }
  .cnm-panel{ border-color:var(--cnm-line); }
  .cnm-subject-grid{ gap:16px; }
}

/* =========================================================
   Theme-width fluid container — v1.2.3
   Inherit the active WordPress theme's content width instead of
   forcing a separate 900px/760px container. This keeps the page
   visually aligned on desktop, tablet and mobile.
   ========================================================= */
.cnm-wrap{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  transform:none !important;
  box-sizing:border-box !important;
  padding-inline:clamp(12px, 2.2vw, 32px) !important;
  padding-top:clamp(12px, 2vw, 24px) !important;
  padding-bottom:clamp(44px, 5vw, 72px) !important;
}

/* Never let an inner component create horizontal overflow. */
.cnm-wrap,
.cnm-wrap > *,
.cnm-wrap .cnm-subject-hero,
.cnm-wrap .cnm-tabs,
.cnm-wrap .cnm-panel,
.cnm-wrap .cnm-panel-heading,
.cnm-wrap .cnm-panel-top,
.cnm-wrap .cnm-chapters,
.cnm-wrap .cnm-row{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}

/* Use the theme's own global content width when it exposes one,
   while still respecting the actual parent content column. */
@supports (width: min(100%, var(--wp--style--global--content-size))) {
  .cnm-wrap{
    width:min(100%, var(--wp--style--global--content-size)) !important;
    margin-inline:auto !important;
  }
}

/* Wide screens: comfortable reading width without a second,
   arbitrary plugin container. */
@media (min-width:901px){
  .cnm-wrap{padding-inline:clamp(18px, 2.4vw, 34px) !important;}
}

/* Tablet: keep the same proportional width as the theme. */
@media (min-width:561px) and (max-width:900px){
  .cnm-wrap{padding-inline:clamp(14px, 2.5vw, 24px) !important;}
}

/* Mobile: edge-to-edge inside the theme's content column,
   with a small consistent gutter. */
@media (max-width:560px){
  .cnm-wrap{
    width:100% !important;
    max-width:100% !important;
    margin-inline:0 !important;
    padding-inline:10px !important;
    padding-top:8px !important;
    padding-bottom:52px !important;
  }
}

@media (max-width:380px){
  .cnm-wrap{padding-inline:7px !important;}
}


/* =========================================================
   Mobile card width refinement — v1.3
   Make every frontend card use the available mobile content
   width with a slim, consistent side gutter.
   ========================================================= */
@media (max-width:560px){
  .cnm-wrap{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:5px !important;
    padding-right:5px !important;
  }
  .cnm-subject-hero,
  .cnm-tabs,
  .cnm-panel{
    width:100% !important;
    max-width:none !important;
  }
  .cnm-chapters{
    width:100% !important;
    padding-left:6px !important;
    padding-right:6px !important;
  }
  .cnm-row{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }
  .cnm-subject-grid{
    width:100% !important;
    grid-template-columns:1fr !important;
  }
  .cnm-subject-card{
    width:100% !important;
    box-sizing:border-box !important;
  }
}

@media (max-width:380px){
  .cnm-wrap{
    padding-left:3px !important;
    padding-right:3px !important;
  }
  .cnm-chapters{
    padding-left:4px !important;
    padding-right:4px !important;
  }
}


/* =========================================================
   Mobile width correction — v1.4
   Match the theme header/menu width on phones.
   ========================================================= */
@media (max-width:560px){
  .cnm-wrap{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:0 !important;
    padding-left:7px !important;
    padding-right:7px !important;
    box-sizing:border-box !important;
  }
  .cnm-subject-hero,
  .cnm-tabs,
  .cnm-panel{
    width:100% !important;
    max-width:none !important;
  }
  .cnm-chapters{
    padding-left:4px !important;
    padding-right:4px !important;
  }
  .cnm-row{
    width:100% !important;
    max-width:none !important;
  }
}
@media (max-width:380px){
  .cnm-wrap{
    padding-left:5px !important;
    padding-right:5px !important;
  }
  .cnm-chapters{
    padding-left:3px !important;
    padding-right:3px !important;
  }
}

/* =========================================================
   FINAL MOBILE PREMIUM HEADER + CENTERED STATS — v1.5
   Keep the subject summary balanced, centered and compact.
   ========================================================= */
.cnm-hero-stats{
  width:100%;
  margin:0 auto;
  justify-content:center;
  align-items:stretch;
}
.cnm-stat{
  text-align:center;
}

@media (max-width:560px){
  /* Smaller premium top information card: less empty space above/below. */
  .cnm-subject-hero{
    padding:10px 11px 11px !important;
    border-radius:16px !important;
  }
  .cnm-hero-top{
    margin-bottom:6px !important;
  }
  .cnm-hero-icon{
    width:38px !important;
    height:38px !important;
    border-radius:11px !important;
    margin-bottom:5px !important;
  }
  .cnm-hero-icon svg{width:21px !important;height:21px !important}
  .cnm-header__eyebrow{
    font-size:9px !important;
    line-height:1.25 !important;
  }
  .cnm-header__title{
    font-size:21px !important;
    line-height:1.2 !important;
  }
  .cnm-header__lede{
    margin:4px auto 7px !important;
    font-size:11px !important;
    line-height:1.45 !important;
    max-width:95% !important;
  }

  /* ২১ অধ্যায় / ৪ PDF / ১৭ শীঘ্রই — always centered. */
  .cnm-hero-stats{
    display:flex !important;
    width:100% !important;
    margin:0 auto !important;
    justify-content:center !important;
    align-items:stretch !important;
    gap:5px !important;
  }
  .cnm-stat{
    flex:1 1 0 !important;
    min-width:0 !important;
    max-width:none !important;
    padding:6px 4px !important;
    border-radius:9px !important;
    text-align:center !important;
  }
  .cnm-stat strong{
    font-size:14px !important;
    line-height:1.15 !important;
    text-align:center !important;
  }
  .cnm-stat span{
    font-size:8.5px !important;
    line-height:1.25 !important;
    text-align:center !important;
  }
}

@media (max-width:380px){
  .cnm-subject-hero{padding:9px 9px 10px !important}
  .cnm-header__title{font-size:20px !important}
  .cnm-header__lede{font-size:10.5px !important}
  .cnm-stat{padding:5px 3px !important}
  .cnm-stat strong{font-size:13px !important}
  .cnm-stat span{font-size:8px !important}
}

/* =========================================================
   FINAL MOBILE HEADER ALIGNMENT — v1.6
   Center every header element and place "নোট লাইব্রেরি" first.
   ========================================================= */
@media (max-width:560px){
  .cnm-subject-hero{
    text-align:center !important;
  }

  /* Library label at the very top, centered and more prominent. */
  .cnm-hero-top{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    margin-bottom:8px !important;
    text-align:center !important;
  }
  .cnm-hero-badge{
    order:1 !important;
    align-self:center !important;
    font-size:13px !important;
    line-height:1.2 !important;
    padding:7px 13px !important;
    border-radius:999px !important;
  }
  .cnm-hero-badge__dot{
    width:7px !important;
    height:7px !important;
  }

  /* Back link is no longer left-aligned. Keep it centered below the label. */
  .cnm-back-link{
    order:2 !important;
    align-self:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:11.5px !important;
    margin:0 !important;
  }

  /* SVG icon and all text stay centered. */
  .cnm-hero-icon{
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .cnm-header__eyebrow,
  .cnm-header__title,
  .cnm-header__lede{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }
  .cnm-header__lede{
    padding-left:2px !important;
    padding-right:2px !important;
  }
}

@media (max-width:380px){
  .cnm-hero-badge{
    font-size:12.5px !important;
    padding:6px 12px !important;
  }
  .cnm-back-link{font-size:11px !important}
}

/* =========================================================
   Chapter card content refinement — typography/alignment only
   Card dimensions, spacing, colors, layout logic and behavior unchanged.
   ========================================================= */
@media (max-width:560px){
  .cnm-ordinal,
  .cnm-chapter-title,
  .cnm-action{
    justify-self:center;
    text-align:center;
  }
  .cnm-name{
    font-size:16px !important;
    line-height:1.45 !important;
    font-weight:700 !important;
  }
  .cnm-ordinal{
    font-size:11px !important;
    font-weight:600 !important;
  }
  .cnm-action{
    width:100%;
  }
  .cnm-status-soon{
    font-size:11px !important;
    font-weight:500 !important;
  }
  .cnm-btn-download,
  .cnm-btn-lock{
    font-size:13px !important;
    font-weight:600 !important;
  }
}

@media (max-width:380px){
  .cnm-name{font-size:15px !important;}
  .cnm-ordinal{font-size:10.5px !important;}
  .cnm-btn-download,
  .cnm-btn-lock{font-size:12.5px !important;}
}

/* =========================================================
   FINAL CHAPTER CARD BORDER REFINEMENT — v1.7
   Visual-only: keeps card dimensions, spacing, layout and all
   PHP/JS functionality unchanged.
   ========================================================= */
.cnm-wrap .cnm-row{
  border:1.5px solid #c7d9d4 !important;
  box-shadow:0 3px 12px rgba(19,57,50,.045) !important;
}
.cnm-wrap .cnm-row:hover{
  border-color:#b5cec7 !important;
  box-shadow:0 9px 24px rgba(12,75,63,.085) !important;
}

@media (max-width:560px){
  .cnm-wrap .cnm-row{
    border:1.5px solid #c7d9d4 !important;
  }
}


/* =========================================================
   Desktop chapter cards — v1.8
   The chapter/download area now visually belongs to the
   subject hero above it. Desktop only; mobile is untouched.
   ========================================================= */
@media (min-width:561px){
  /* Give the chapter panel a soft continuation of the hero card. */
  .cnm-panel{
    background:
      radial-gradient(circle at 8% 0%, rgba(20,122,103,.045), transparent 30%),
      radial-gradient(circle at 100% 100%, rgba(201,133,45,.035), transparent 28%),
      linear-gradient(180deg,#f9fcfb 0%,#ffffff 100%) !important;
    border-color:#dce9e4 !important;
  }

  .cnm-panel-heading{
    background:linear-gradient(180deg,rgba(238,248,244,.72),rgba(255,255,255,0)) !important;
  }

  .cnm-panel-top{
    background:linear-gradient(135deg,#f0f8f5 0%,#fbfdfc 100%) !important;
    border-color:#d9e8e2 !important;
  }

  /* Each chapter card echoes the green/cream hero palette,
     instead of looking like a separate white block. */
  .cnm-wrap .cnm-row{
    background:linear-gradient(135deg,#f5faf8 0%,#ffffff 72%,#fffaf3 100%) !important;
    border:1.5px solid #c9ddd6 !important;
    box-shadow:0 4px 14px rgba(19,57,50,.055) !important;
  }

  .cnm-wrap .cnm-row:hover{
    background:linear-gradient(135deg,#edf8f4 0%,#ffffff 68%,#fff8ed 100%) !important;
    border-color:#aecaC1 !important;
    box-shadow:0 10px 26px rgba(12,75,63,.10) !important;
  }

  .cnm-wrap .cnm-num{
    background:linear-gradient(145deg,#e6f5f0,#f5ead8) !important;
    border:1px solid #cfe3db !important;
  }

  .cnm-wrap .cnm-ordinal{
    background:rgba(255,255,255,.78) !important;
    border-color:#d9e6e1 !important;
  }

  .cnm-wrap .cnm-status-soon{
    background:linear-gradient(135deg,#f3f7f5,#faf5ea) !important;
    border-color:#d8e2dd !important;
  }
}

/* =========================================================
   Desktop chapter/download area — v1.9 final polish
   Matches the subject hero card. Desktop only.
   Mobile styles are intentionally left unchanged.
   ========================================================= */
@media (min-width: 901px){
  .cnm-wrap .cnm-panel{
    position:relative;
    overflow:hidden;
    border-color:#cfe4dc !important;
    background:
      radial-gradient(circle at 8% 0%, rgba(13,146,118,.075), transparent 31%),
      radial-gradient(circle at 96% 100%, rgba(201,149,53,.065), transparent 29%),
      linear-gradient(180deg,#f5fbf8 0%,#ffffff 48%,#fffdf8 100%) !important;
    box-shadow:0 14px 40px rgba(25,54,48,.075) !important;
  }

  .cnm-wrap .cnm-panel-heading{
    padding:21px 22px 14px !important;
    background:linear-gradient(180deg,rgba(234,247,243,.72),rgba(255,255,255,0)) !important;
  }

  .cnm-wrap .cnm-panel-top{
    background:linear-gradient(135deg,#eef9f5 0%,#fbfdfc 62%,#fffaf1 100%) !important;
    border-color:#d4e7e0 !important;
    box-shadow:0 4px 12px rgba(25,54,48,.025);
  }

  .cnm-wrap .cnm-chapters{
    padding:14px 15px 17px !important;
    gap:10px !important;
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,250,241,.22));
  }

  .cnm-wrap .cnm-row{
    grid-template-columns:44px 112px minmax(0,1fr) auto 22px !important;
    min-height:67px;
    padding:14px 15px !important;
    border:1px solid #cfe2db !important;
    border-radius:17px !important;
    background:
      linear-gradient(112deg,#edf8f4 0%,#ffffff 55%,#fffaf1 100%) !important;
    box-shadow:0 4px 14px rgba(19,57,50,.045) !important;
  }

  .cnm-wrap .cnm-row:hover{
    transform:translateY(-2px);
    border-color:#a9cfc2 !important;
    background:
      linear-gradient(112deg,#e5f5ef 0%,#ffffff 53%,#fff7e9 100%) !important;
    box-shadow:0 11px 28px rgba(12,75,63,.095) !important;
  }

  .cnm-wrap .cnm-num{
    width:38px !important;
    height:38px !important;
    border:1px solid #c5dfd5 !important;
    background:linear-gradient(145deg,#dff3ec,#f4ead8) !important;
    color:#064d40 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
  }

  .cnm-wrap .cnm-ordinal{
    background:rgba(255,255,255,.76) !important;
    border-color:#d6e6e0 !important;
    color:#41665e !important;
  }

  .cnm-wrap .cnm-name{
    color:#14211f !important;
  }

  .cnm-wrap .cnm-action{
    padding-left:8px;
  }

  .cnm-wrap .cnm-btn-download,
  .cnm-wrap .cnm-btn-lock{
    min-height:42px;
    padding:9px 15px !important;
    border-radius:10px !important;
  }

  .cnm-wrap .cnm-status-soon{
    background:linear-gradient(135deg,#f2f7f5,#fbf4e8) !important;
    border:1px dashed #cfded8 !important;
    color:#71807d !important;
  }

  .cnm-wrap .cnm-row-chevron{
    color:#73978d !important;
    opacity:.82;
  }

  .cnm-wrap .cnm-row--empty{
    background:linear-gradient(135deg,#f3faf7,#fffdf8) !important;
    border:1px dashed #cfe2db !important;
    border-radius:15px !important;
  }
}

/* =========================================================
   "শীঘ্রই" ব্যাজ — মোবাইলে "ডাউনলোড করুন" বাটন যে জায়গা/প্রস্থ নেয়,
   ঠিক সেই একই জায়গা/প্রস্থ যেন নেয়, তার position ভিন্ন না হয় — v1.9.1
   শুধু width/alignment ঠিক করা হয়েছে, রং/আকার/লজিক অপরিবর্তিত।
   ========================================================= */
@media (max-width:560px){
  .cnm-wrap .cnm-status-soon{
    display:block !important;
    width:100% !important;
    box-sizing:border-box !important;
    text-align:center !important;
  }
}

