/* ═══════════════════════════════════════════════════════════
   lessonday.css — «روزِ تدریس» (آزمایشی)
   همان پالتِ طرحِ تازه: آبی، بنفش، صورتی، نارنجی، سبز.
   ═══════════════════════════════════════════════════════════ */

.ld, .ld-ov{
  --b:#4E8BFF; --v:#7C6BFF; --p:#FF3D71; --o:#FF9A2B; --g:#24C98A;
  --r:18px;
}

/* ── سرصفحه ───────────────────────────────────────────── */
.ld-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; flex-wrap:wrap; margin-bottom:14px;
}
.ld-head-t{ display:flex; align-items:center; gap:8px }
.ld-head-t b{ font-size:1.18rem; font-weight:800 }
.ld-beta{
  font-size:.64rem; font-weight:800; color:#fff; padding:2px 9px;
  border-radius:99px; background:linear-gradient(135deg,var(--o),var(--p));
}
.ld-head-d{ font-size:.78rem; color:var(--text2,#64748b) }

/* ── حالتِ خالی و فرمِ چیدنِ روز ─────────────────────────── */
.ld-empty{ text-align:center; padding:18px 12px 6px }
.ld-empty img{ width:78px; height:78px; object-fit:contain; margin-bottom:6px }
.ld-empty b{ display:block; font-size:1.02rem; font-weight:800 }
.ld-empty p{ margin:6px auto 0; max-width:340px; font-size:.82rem; line-height:1.9; color:var(--text2,#64748b) }

.ld-form{
  margin-top:14px; padding:14px; border-radius:var(--r);
  background:var(--card,#fff); border:1px solid var(--border,rgba(15,23,42,.09));
}
.ld-row-h b{ font-size:.9rem; font-weight:800 }
.ld-row{
  display:flex; align-items:center; gap:7px; margin-top:10px;
}
.ld-row-n{ flex:0 0 auto; font-size:.74rem; color:var(--text2,#64748b); min-width:48px }
.ld-row select, .ld-row input{
  min-width:0; min-height:42px; border-radius:12px; font:inherit;
  border:1px solid var(--border,rgba(15,23,42,.14)); padding:0 9px;
  background:var(--bg3,#f8fafc); color:inherit;
}
.ld-row .ld-f-subj{ flex:1 1 auto }
.ld-row .ld-f-ch, .ld-row .ld-f-ls{ flex:0 0 66px; text-align:center }
.ld-row-x{
  flex:0 0 auto; width:34px; height:34px; border-radius:10px; cursor:pointer;
  border:1px solid var(--border,rgba(15,23,42,.12)); background:none;
  color:var(--text2,#94a3b8); font:inherit;
}
.ld-add{
  margin-top:12px; width:100%; min-height:44px; border-radius:13px; cursor:pointer;
  border:1px dashed var(--border,rgba(15,23,42,.22)); background:none;
  color:var(--b); font:inherit; font-weight:700; font-size:.84rem;
}
.ld-form-go{ display:flex; gap:9px; margin-top:14px; flex-wrap:wrap }
.ld-primary{
  flex:1 1 150px; min-height:46px; border-radius:14px; border:0; cursor:pointer;
  background:linear-gradient(135deg,var(--b),var(--v)); color:#fff;
  font:inherit; font-weight:800; font-size:.9rem;
}
.ld-ghost{
  flex:1 1 150px; min-height:46px; border-radius:14px; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  border:1px solid var(--border,rgba(15,23,42,.14)); background:var(--card,#fff);
  color:var(--text,#334155); font:inherit; font-weight:700; font-size:.84rem;
}

/* ── نوارِ زنگ‌ها ──────────────────────────────────────── */
.ld-strip{
  display:flex; gap:8px; overflow-x:auto; padding:2px 2px 10px;
  scrollbar-width:none;
}
.ld-strip::-webkit-scrollbar{ display:none }
.ld-p{
  flex:0 0 auto; min-width:86px; min-height:56px; cursor:pointer; font:inherit;
  border-radius:15px; padding:8px 12px; text-align:center;
  border:1px solid var(--border,rgba(15,23,42,.1)); background:var(--card,#fff);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
}
.ld-p b{ font-size:.72rem; color:var(--text2,#64748b); font-weight:700 }
.ld-p span{ font-size:.86rem; font-weight:800 }
.ld-p.on{
  background:var(--pc,#4E8BFF); border-color:transparent; color:#fff;
  box-shadow:0 8px 20px rgba(19,26,46,.18);
}
.ld-p.on b{ color:rgba(255,255,255,.85) }
.ld-p.edit{ min-width:48px; color:var(--text2,#94a3b8); font-size:1rem }

/* ── نوارِ کارهای روز ─────────────────────────────────── */
.ld-daybar{ display:flex; gap:8px; flex-wrap:wrap; margin:4px 0 14px }
.ld-daybar button{
  flex:1 1 auto; min-height:42px; border-radius:13px; cursor:pointer; font:inherit;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  border:1px solid var(--border,rgba(15,23,42,.1)); background:var(--card,#fff);
  color:var(--text,#334155); font-weight:700; font-size:.8rem; white-space:nowrap;
}

/* ── بسته نیست ────────────────────────────────────────── */
.ld-missing{
  text-align:center; padding:26px 16px; border-radius:var(--r);
  background:var(--card,#fff); border:1px dashed var(--border,rgba(15,23,42,.18));
}
.ld-missing img{ width:74px; height:74px; object-fit:contain }
.ld-missing b{ display:block; margin-top:6px; font-size:.98rem; font-weight:800 }
.ld-missing p{ margin:5px 0 10px; font-size:.82rem; color:var(--text2,#64748b) }
.ld-missing code{
  display:inline-block; padding:6px 12px; border-radius:9px;
  background:var(--bg3,#f1f5f9); font-family:ui-monospace,monospace; font-size:.76rem;
  direction:ltr;
}
.ld-missing-go{ display:flex; gap:8px; justify-content:center; margin-top:14px; flex-wrap:wrap }
.ld-missing-go button{
  min-height:42px; padding:0 15px; border-radius:12px; cursor:pointer; font:inherit;
  border:1px solid var(--border,rgba(15,23,42,.12)); background:var(--bg3,#f8fafc);
  color:var(--text,#334155); font-weight:700; font-size:.8rem;
}

/* ── بسته ─────────────────────────────────────────────── */
.ld-pack{
  border-radius:var(--r); background:var(--card,#fff);
  border:1px solid var(--border,rgba(15,23,42,.09)); overflow:hidden;
}
.ld-pack-h{
  display:flex; align-items:baseline; gap:9px; padding:14px 15px 0;
}
.ld-pack-h b{ flex:1 1 auto; font-size:1rem; font-weight:800; line-height:1.6 }
.ld-pack-h span{ flex:0 0 auto; font-size:.72rem; color:var(--text2,#94a3b8) }
.ld-goal{ margin:6px 15px 0; font-size:.83rem; line-height:1.9; color:var(--text2,#64748b) }

.ld-tabs{
  display:flex; gap:6px; overflow-x:auto; padding:12px 15px 0;
  scrollbar-width:none; border-bottom:1px solid var(--border,rgba(15,23,42,.08));
}
.ld-tabs::-webkit-scrollbar{ display:none }
.ld-tab{
  flex:0 0 auto; min-height:40px; padding:0 13px; cursor:pointer; font:inherit;
  border:0; background:none; color:var(--text2,#64748b);
  font-weight:700; font-size:.83rem; border-bottom:3px solid transparent;
  display:inline-flex; align-items:center; gap:5px;
}
.ld-tab i{
  font-style:normal; font-size:.66rem; font-weight:800; color:#fff;
  background:var(--v); border-radius:99px; padding:1px 6px;
}
.ld-tab.on{ color:var(--v); border-bottom-color:var(--v) }
.ld-tabbody{ padding:14px 15px 16px }

.ld-blk{ margin-bottom:14px }
.ld-blk > b{ display:block; font-size:.86rem; font-weight:800; margin-bottom:6px }
.ld-blk p{ margin:0; font-size:.83rem; line-height:1.95; color:var(--text2,#475569) }
.ld-blk ul, .ld-blk ol{ margin:0; padding-inline-start:20px }
.ld-blk li{ font-size:.83rem; line-height:1.95 }
.ld-blk.note{ padding:11px 13px; border-radius:13px; background:rgba(255,154,43,.1) }
.ld-blk.hinge{ padding:12px 13px; border-radius:13px; background:rgba(124,107,255,.08) }
.ld-blk.hinge li.ok{ font-weight:800; color:#0E9A67 }
.ld-blk.hinge small{ display:block; margin-top:7px; font-size:.74rem; color:var(--text2,#94a3b8) }
.ld-blk.hw{ padding:12px 13px; border-radius:13px; background:rgba(36,201,138,.09) }
.ld-blk.hw small{ display:block; margin-top:3px; font-size:.78rem; color:var(--text2,#64748b) }
.ld-blk.roles ul{ display:flex; flex-wrap:wrap; gap:7px; padding:0; list-style:none }
.ld-blk.roles li{
  padding:5px 12px; border-radius:99px; font-size:.78rem; font-weight:700;
  background:rgba(78,139,255,.1); color:#2B66D9;
}

.ld-step{ display:flex; gap:10px; margin-top:9px }
.ld-step-m{
  flex:0 0 auto; min-width:40px; height:26px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg3,#f1f5f9); font-size:.7rem; font-weight:800; color:var(--text2,#64748b);
}
.ld-step b{ font-size:.84rem; font-weight:800 }
.ld-step p{ margin:2px 0 0 }

.ld-q{
  display:flex; align-items:flex-start; gap:8px; padding:10px 0;
  border-bottom:1px solid var(--border,rgba(15,23,42,.07));
}
.ld-q:last-child{ border-bottom:0 }
.ld-q b{ color:var(--v); font-size:.82rem }
.ld-q span{ flex:1 1 auto; font-size:.84rem; line-height:1.85 }
.ld-q i{ font-style:normal; font-size:.76rem; color:#0E9A67; font-weight:700 }

.ld-media{
  display:flex; align-items:center; gap:9px; width:100%; margin-bottom:9px;
  min-height:48px; padding:0 14px; border-radius:14px; cursor:pointer; font:inherit;
  text-decoration:none; border:1px solid var(--border,rgba(15,23,42,.1));
  background:var(--card,#fff); color:var(--text,#334155);
  font-weight:700; font-size:.85rem;
}
.ld-media.tool{ background:rgba(255,61,113,.07); border-color:rgba(255,61,113,.2); color:#C92A55 }
.ld-media.game{ background:rgba(36,201,138,.08); border-color:rgba(36,201,138,.22); color:#0E9A67 }

.ld-hint{ font-size:.8rem; line-height:1.95; color:var(--text2,#94a3b8) }
.ld-print{
  margin-top:6px; min-height:44px; padding:0 16px; border-radius:13px; cursor:pointer;
  display:inline-flex; align-items:center; gap:7px; font:inherit; font-weight:700; font-size:.82rem;
  border:1px solid var(--border,rgba(15,23,42,.12)); background:var(--bg3,#f8fafc); color:var(--text,#334155);
}

/* ── کشوی نمره‌دهی ────────────────────────────────────── */
.ld-ov{
  position:fixed; inset:0; z-index:9000; background:rgba(10,18,40,.5);
  display:flex; align-items:flex-end; justify-content:center;
  -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
}
.ld-sheet{
  width:min(560px,100%); max-height:82vh; overflow:auto;
  background:var(--card,#fff); border-radius:22px 22px 0 0; padding:16px 16px 22px;
}
.ld-sheet-h{ display:flex; align-items:center; gap:10px; margin-bottom:8px }
.ld-sheet-h b{ flex:1 1 auto; font-size:1rem; font-weight:800 }
.ld-sheet-h button{
  width:36px; height:36px; border-radius:11px; cursor:pointer; font:inherit;
  border:1px solid var(--border,rgba(15,23,42,.12)); background:none; color:var(--text2,#94a3b8);
}
.ld-sheet-b{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:12px }
.ld-sb{
  display:flex; flex-direction:column; align-items:center; gap:7px; cursor:pointer; font:inherit;
  min-height:86px; padding:12px 8px; border-radius:16px;
  border:1px solid var(--border,rgba(15,23,42,.1)); background:var(--bg3,#f8fafc);
  color:var(--text,#334155); font-weight:700; font-size:.8rem; text-align:center;
}
.ld-sb i{
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--b),var(--v)); color:#fff;
}

@media (min-width:760px){
  .ld-sheet{ border-radius:22px; margin-bottom:5vh }
  .ld-ov{ align-items:center }
  .ld-sheet-b{ grid-template-columns:repeat(3,minmax(0,1fr)) }
}

/* ── دروازه‌ها: برنامه‌ی هفتگی و کارِ گروهی ───────────────── */
.ld-gate{
  text-align:center; padding:26px 18px; border-radius:var(--r);
  background:var(--card,#fff); border:1px solid var(--border,rgba(15,23,42,.1));
  box-shadow:0 10px 26px rgba(19,26,46,.06);
}
.ld-gate-i{ font-size:2.4rem; line-height:1; margin-bottom:8px }
.ld-gate b{ display:block; font-size:1.05rem; font-weight:800 }
.ld-gate p{ margin:8px auto 0; max-width:360px; font-size:.84rem; line-height:1.95; color:var(--text2,#64748b) }
.ld-gate p small{ font-size:.74rem; color:var(--text2,#94a3b8) }
.ld-gate-b{ display:flex; gap:9px; justify-content:center; flex-wrap:wrap; margin-top:16px }
.ld-gate-b .ld-primary, .ld-gate-b .ld-ghost{ flex:0 1 220px }

.ld-next{
  margin:0 0 10px; padding:9px 12px; border-radius:12px; font-size:.8rem; line-height:1.8;
  background:rgba(255,154,43,.1); color:#9a4d06;
}

/* ── زیرنویسِ فصل و جلسه روی دکمه‌ی هر زنگ ─────────────────── */
.ld-p i{ font-style:normal; font-size:.64rem; font-weight:700; opacity:.8; white-space:nowrap }
.ld-p.on i{ opacity:.92 }

/* ── دکمه‌ی «کارِ گروهی امروز» ────────────────────────────── */
.ld-daybar .ld-grp{ flex:0 0 auto }
.ld-daybar .ld-grp.on{ background:#EEF0FF; border-color:#7C6BFF; color:#4B3FD0 }

/* ═══════════════════════════════════════════════════════════
   شش مرحله‌ی کلاس (js/lessonday.stages.js) — مهر ۱۴۰۵
   آرام و خوانا: یک رنگِ اصلی، ✓ سبز برای مرحله‌ی آماده.
   ═══════════════════════════════════════════════════════════ */
.ldx{ display:flex; flex-direction:column; gap:12px }
.ldx-h{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; flex-wrap:wrap;
  background:var(--card,#fff); border:1px solid var(--border,rgba(15,23,42,.1)); border-radius:16px; padding:12px 14px }
.ldx-ht{ display:flex; flex-direction:column; gap:3px; min-width:0; flex:1 1 260px }
.ldx-ht b{ font-size:1.05rem; font-weight:800 }
.ldx-ht small{ color:var(--text2,#64748b); font-size:.78rem }
.ldx-sel{ margin-top:6px; max-width:100%; min-height:38px; border-radius:10px; padding:0 10px; font:inherit; font-size:.82rem;
  border:1px solid var(--border,rgba(15,23,42,.14)); background:var(--bg3,#f8fafc); color:var(--text,#334155) }
.ldx-q{ display:flex; gap:6px; flex-wrap:wrap; align-items:center }
.ldx-b{ min-height:38px; padding:0 12px; border-radius:11px; font:inherit; font-size:.8rem; font-weight:700; cursor:pointer;
  border:1px solid var(--border,rgba(15,23,42,.14)); background:var(--card,#fff); color:var(--text,#334155) }
.ldx-b.pri{ background:#4F5BD5; border-color:#4F5BD5; color:#fff }
.ldx-list{ display:flex; flex-direction:column; gap:8px }
.ldx-st{ background:var(--card,#fff); border:1px solid var(--border,rgba(15,23,42,.1)); border-radius:14px; overflow:hidden }
.ldx-sh{ width:100%; display:flex; align-items:center; gap:12px; padding:11px 14px; border:0; background:none; cursor:pointer; font:inherit; text-align:start; color:inherit }
.ldx-ck{ flex:0 0 auto; width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-weight:900; font-size:.9rem;
  border:2px dashed var(--border,rgba(15,23,42,.25)); color:transparent }
.ldx-st.ok .ldx-ck{ background:#24C98A; border:0; color:#fff }
.ldx-st-t{ flex:1 1 auto; display:flex; flex-direction:column }
.ldx-st-t b{ font-weight:800; font-size:.92rem }
.ldx-st-t small{ color:var(--text2,#64748b); font-size:.74rem }
.ldx-ar{ color:var(--text2,#94a3b8); transition:transform .2s }
.ldx-st.open .ldx-ar{ transform:rotate(180deg) }
.ldx-sb{ display:none; padding:0 14px 14px 14px; font-size:.86rem; line-height:1.9 }
.ldx-st.open .ldx-sb{ display:block }
.ldx-sb p{ margin:4px 0 }
.ldx-hint{ color:var(--text2,#64748b) }
.ldx-hook{ padding:9px 12px; border-radius:11px; background:var(--bg3,#f8fafc); margin:6px 0 }
.ldx-hook ol{ margin:4px 0 0; padding-inline-start:1.3em }
.ldx-sb details{ display:inline-block; margin-inline-start:8px; color:#0B8A62 }
.ldx-sb summary{ cursor:pointer; color:var(--text2,#64748b); font-size:.78rem }
.ldx-qa, .ldx-top{ margin:4px 0; padding-inline-start:1.3em }
.ldx-acts{ display:flex; gap:6px; flex-wrap:wrap; margin:8px 0 }
.ldx-tl{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin:8px 0 }
.ldx-tl small{ width:100%; color:var(--text2,#64748b); font-weight:700 }
.ldx-tl button{ min-height:34px; padding:0 10px; border-radius:99px; font:inherit; font-size:.78rem; cursor:pointer;
  border:1px solid var(--border,rgba(15,23,42,.14)); background:var(--bg3,#f8fafc); color:var(--text,#334155) }
.ldx-files{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin-top:10px; padding-top:10px; border-top:1px dashed var(--border,rgba(15,23,42,.14)) }
.ldx-file{ display:inline-flex; align-items:center; gap:4px; padding:3px 4px 3px 10px; border-radius:99px; background:#EEF0FB; font-size:.78rem }
.ldx-file a{ color:#3A44A8; text-decoration:none; max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.ldx-file button{ width:22px; height:22px; border-radius:50%; border:0; background:none; cursor:pointer; color:#94a3b8 }
.ldx-add{ display:inline-flex; align-items:center; min-height:32px; padding:0 12px; border-radius:99px; cursor:pointer; font-size:.78rem; font-weight:700;
  border:1px dashed #7C6BFF; color:#4B3FD0 }
.ldx-up{ font-size:.76rem; color:var(--text2,#64748b) }
/* طرحِ درس */
.ldx-plan{ width:min(760px,100%); max-height:88vh; overflow:auto; background:var(--card,#fff); border-radius:18px; padding:16px; font-size:.86rem; line-height:1.9 }
.ldx-plan-h{ display:flex; align-items:center; gap:10px } .ldx-plan-h b{ flex:1; font-size:1rem }
.ldx-plan-h button{ width:36px; height:36px; border-radius:11px; border:1px solid var(--border,rgba(15,23,42,.12)); background:none; cursor:pointer }
.ldx-plan table{ width:100%; border-collapse:collapse; margin:8px 0 }
.ldx-plan td, .ldx-plan th{ border:1px solid var(--border,rgba(15,23,42,.14)); padding:7px; vertical-align:top; text-align:start }
.ldx-plan th{ background:var(--bg3,#f8fafc) }
/* پنجره‌ی سریع */
.ldq-ov{ position:fixed; inset:0; z-index:9000; background:rgba(10,18,40,.4); display:flex; align-items:flex-end; justify-content:center }
.ldq{ width:min(420px,100%); background:var(--card,#fff); border-radius:20px 20px 0 0; padding:14px 16px 20px; display:flex; flex-direction:column; gap:10px; align-items:stretch }
.ldq-h{ display:flex; align-items:center } .ldq-h b{ flex:1; font-weight:800 }
.ldq-h button{ width:36px; height:36px; border-radius:11px; border:1px solid var(--border,rgba(15,23,42,.12)); background:none; cursor:pointer }
.ldq-mic{ align-self:center; width:84px; height:84px; border-radius:50%; border:0; font-size:2rem; cursor:pointer; background:#EEF0FB }
.ldq-mic.on{ background:#FF3D71; animation:ldqPulse 1.2s infinite }
@keyframes ldqPulse{ 50%{ box-shadow:0 0 0 12px rgba(255,61,113,.18) } }
.ldq-ex{ text-align:center; font-size:.8rem; color:var(--text2,#64748b) }
.ldq textarea{ font:inherit; font-size:.9rem; border-radius:12px; padding:8px 10px; border:1px solid var(--border,rgba(15,23,42,.14)); resize:vertical }
.ldq-a{ display:flex; justify-content:flex-end }
.ldq-s{ font-size:.78rem; color:var(--text2,#64748b); text-align:center; min-height:1.4em }
.ldq-s.ok{ color:#0B8A62; font-weight:700 } .ldq-s.warn{ color:#C2264A; font-weight:700 }
@media (min-width:760px){ .ldq-ov{ align-items:center } .ldq{ border-radius:20px } }

/* ── 📚 فهرستِ درس‌های زنگ (lessonday.stages.js — مهر ۱۴۰۵) ── */
.ldl{background:var(--card,#fff);border:1.5px solid var(--border,#e5e7eb);border-radius:18px;margin:0 0 12px;overflow:hidden}
.ldl-h{display:flex;align-items:center;gap:10px;padding:10px 12px}
.ldl-hi{font-size:1.3rem}
.ldl-ht{flex:1;min-width:0;display:flex;flex-direction:column}
.ldl-ht b{font-size:.9rem}
.ldl-ht small{font-size:.78rem;color:var(--text2,#475569);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ldl-b{display:none;padding:0 10px 10px;max-height:min(60vh,520px);overflow-y:auto;overscroll-behavior:contain}
.ldl.open .ldl-b{display:block}
.ldl.open{border-color:var(--p,#6366f1);box-shadow:0 10px 28px rgba(99,102,241,.14)}
.ldl-ch{margin:6px 0 10px}
.ldl-cht{font-weight:800;font-size:.8rem;color:var(--p,#4f46e5);margin:4px 2px 6px}
.ldl-r{display:flex;align-items:stretch;gap:6px;margin:4px 0}
.ldl-go{flex:1;min-width:0;display:flex;align-items:center;gap:8px;text-align:right;border:1px solid var(--border,#e5e7eb);
  background:var(--bg2,#f8fafc);border-radius:12px;padding:9px 10px;cursor:pointer;font:inherit;font-size:.84rem;color:var(--text,#1e293b)}
.ldl-go:hover{border-color:var(--p,#6366f1)}
.ldl-r.on .ldl-go{border:2px solid var(--p,#6366f1);background:rgba(99,102,241,.08)}
.ldl-ck{width:22px;height:22px;flex:none;border-radius:50%;border:2px solid #cbd5e1;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:900;color:#fff}
.ldl-r.done .ldl-ck{background:#16A36B;border-color:#16A36B}
.ldl-tt{min-width:0;line-height:1.7}
.ldl-tt i{font-style:normal;font-size:.68rem;font-weight:800;background:#FFF1D6;color:#9A5B00;border-radius:999px;padding:1px 8px;margin-inline-start:4px;white-space:nowrap}
.ldl-rn{border:1px dashed var(--border,#cbd5e1);background:transparent;border-radius:12px;width:38px;cursor:pointer;font:inherit;color:var(--text2,#64748b)}
.ldl-rn-i{width:100%;box-sizing:border-box;font:inherit;font-size:.92rem;border:1.5px solid var(--border,#cbd5e1);border-radius:12px;padding:10px 12px;margin:0 0 14px}
.ldl-done{display:flex;justify-content:center;margin:12px 0 4px}
.ldl-done.on .ldx-b{background:#E9FBF2;color:#0F5F43;border-color:#9FE3C4}
:root[data-theme="dark"] .ldl-tt i{background:#3A2A0C;color:#FCE7B2}

/* ── سؤال‌های بانک در مرحله‌ها + «روی پرده» (مرحله‌ی ۷) ── */
.ldx-op{ display:flex; flex-wrap:wrap; gap:2px 12px; font-size:.8rem; color:var(--text2,#475569); margin:2px 0 }
.ldx-op i{ font-style:normal }
.ldb{ position:fixed; inset:0; z-index:9000; background:#0f172a; color:#fff; display:flex; flex-direction:column; padding:max(16px,env(safe-area-inset-top)) 16px 16px; font-family:inherit; overflow:auto }
.ldb-top{ display:flex; align-items:center; justify-content:space-between; font-size:1rem; opacity:.8 }
.ldb-top button{ width:44px; height:44px; border-radius:12px; border:1px solid rgba(255,255,255,.25); background:none; color:#fff; font-size:1.1rem; cursor:pointer }
.ldb-q{ flex:0 0 auto; font-size:clamp(1.3rem,4.2vw,2.6rem); font-weight:900; line-height:1.8; text-align:center; margin:auto 0 18px; padding-top:12px }
.ldb-o{ display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:1100px; width:100%; margin:0 auto }
.ldb-o div{ display:flex; align-items:center; gap:10px; padding:14px 16px; border-radius:16px; background:rgba(255,255,255,.08); border:2px solid rgba(255,255,255,.14); font-size:clamp(1rem,2.6vw,1.6rem); font-weight:700 }
.ldb-o div span{ flex:0 0 auto; width:2em; height:2em; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.14); font-size:.8em }
.ldb-o div.ok{ background:rgba(16,185,129,.25); border-color:#10b981 }
.ldb-blank{ height:2px; max-width:420px; width:60%; margin:10px auto; background:rgba(255,255,255,.25) }
.ldb-a{ min-height:2.4em; text-align:center; font-size:clamp(1.1rem,3vw,1.8rem); font-weight:900; color:#6ee7b7; margin:16px 0 auto }
.ldb-nav{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; padding-top:12px }
.ldb-nav button{ min-height:48px; padding:0 20px; border-radius:14px; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08); color:#fff; font:inherit; font-weight:700; cursor:pointer }
.ldb-nav button.pri{ background:#6C63FF; border-color:#6C63FF }
.ldb-nav button:disabled{ opacity:.35; cursor:default }
@media (max-width:600px){ .ldb-o{ grid-template-columns:1fr } }
