@font-face {
  font-family: "Lahzeh";
  src: url("../font/Lahzeh-FaNumVF.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #1b1f24;
  --muted: #5d6670;
  --line: #e4e7eb;
  --surface: #f6f7f9;
  --accent: #2c6bed;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.sh-summary {
  font-family: "Lahzeh", Tahoma, sans-serif;
  color: #fff;
  background: linear-gradient(160deg, #03213f 0%, #0a4a7a 40%, #1487b8 75%, #5fd3e6 100%) fixed;
  min-height: 100vh;
  line-height: 1.8;
}
body.sh-summary .sh-section h2,
body.sh-summary .sh-lead { color: #fff; }
body.sh-summary .sh-section { background: transparent; }
.sh-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sh-summary a { color: inherit; text-decoration: none; }

/* هدر */
.sh-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.sh-header .sh-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

/* شمارهٔ نسخه در گوشهٔ هدر */
.sh-ver {
  display: inline-flex; align-items: center; gap: 6px;
  margin-inline-start: 10px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px; line-height: 1;
  background: linear-gradient(135deg, #0b2a4a 0%, #17406b 100%);
  border: 1px solid rgba(255, 214, 10, .5);
  box-shadow: 0 4px 12px rgba(11, 42, 74, .16), inset 0 1px 0 rgba(255, 255, 255, .08);
  white-space: nowrap; user-select: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sh-ver:hover {
  border-color: #ffd60a;
  box-shadow: 0 6px 16px rgba(11, 42, 74, .22), inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}
.sh-ver__v {
  font-size: 1.05rem; font-weight: 800; letter-spacing: .02em;
  color: #ffd60a; text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.sh-ver__num {
  font-size: .67rem; font-weight: 600; letter-spacing: .04em;
  color: #d3e0ee;
}
@media (max-width: 560px) {
  .sh-ver { display: none; }
}
.sh-brand { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.sh-brand small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.sh-nav { display: flex; align-items: center; gap: 20px; white-space: nowrap; flex: 0 1 auto; }
.sh-nav a { margin: 0; color: var(--muted); font-size: .95rem; }
.sh-nav a:hover { color: var(--accent); }
@media (max-width: 1024px) {
  .sh-nav { gap: 13px; }
  .sh-nav a { font-size: .87rem; }
}

/* ساعت آنالوگ کوچک هدر */
.sh-headstart { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sh-clock { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: #0b2a4a; }
.sh-clock svg { display: block; width: 32px; height: 32px; flex: 0 0 auto; }
.sh-clock__face { fill: #fff; stroke: #c9d5e2; stroke-width: 1.4; }
.sh-clock__tick { stroke: #b7c5d4; stroke-width: 1; stroke-linecap: round; }
.sh-clock__tick.is-major { stroke: #6f8399; stroke-width: 1.8; }
.sh-clock__hand { stroke: #0b2a4a; stroke-linecap: round; }
.sh-clock__hour { stroke-width: 3; }
.sh-clock__min { stroke-width: 2.1; }
.sh-clock__sec { stroke: var(--accent); stroke-width: 1.1; }
.sh-clock__pin { fill: var(--accent); }
.sh-clock__dig { font-size: .82rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .03em; }

/* نوار بزرگ دانلود/به‌روزرسانی اپ اندروید در صفحهٔ اصلی */
.sh-appband { padding: 26px 0 4px; }
.sh-appband__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, #0b2a4a 0%, #17406b 100%);
  border: 1px solid rgba(255, 214, 10, .45);
  border-radius: 18px; padding: 22px 26px;
  box-shadow: 0 16px 40px rgba(3, 20, 40, .35);
}
.sh-appband__text h2 { margin: 0 0 5px; font-size: 1.2rem; color: #fff; }
.sh-appband__text p { margin: 0; color: #cfe0ef; font-size: .93rem; }
.sh-appband__meta { display: inline-block; margin-top: 7px; font-size: .78rem; color: #ffd60a; }
.sh-appband__btn {
  flex: 0 0 auto; background: #ffd60a; color: #1b1f24 !important;
  padding: 14px 28px; border-radius: 12px; font-weight: 800; font-size: 1rem;
  box-shadow: 0 10px 24px rgba(255, 214, 10, .28);
  transition: transform .15s, box-shadow .2s;
}
.sh-appband__btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 214, 10, .36); }
.sh-appband__actions { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.sh-appband__btn--ios {
  background: transparent; color: #ffd60a !important;
  border: 1px solid rgba(255, 214, 10, .55); box-shadow: none;
  font-size: .92rem; padding: 11px 24px;
}
.sh-appband__btn--ios:hover { background: rgba(255, 214, 10, .12); box-shadow: none; }
@media (max-width: 640px) {
  .sh-appband { padding: 18px 0 2px; }
  .sh-appband__inner { flex-direction: column; text-align: center; padding: 18px; }
  .sh-appband__actions { width: 100%; }
  .sh-appband__btn { width: 100%; }
}

/* راهنمای نصب روی آیفون */
.sh-ios {
  position: fixed; inset: 0; z-index: 80; padding: 18px;
  background: rgba(4, 18, 32, .62);
  display: flex; align-items: center; justify-content: center;
}
.sh-ios[hidden] { display: none; }
.sh-ios__box {
  position: relative; width: 100%; max-width: 420px;
  background: #fff; color: var(--ink); border-radius: 16px;
  padding: 24px 22px 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.sh-ios__box h3 { margin: 0 0 10px; font-size: 1.15rem; color: #0b2a4a; }
.sh-ios__box ol { margin: 0; padding-inline-start: 20px; font-size: .93rem; line-height: 2.05; color: #26313c; }
.sh-ios__box b { color: #0b2a4a; }
.sh-ios__note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.sh-ios__close {
  position: absolute; top: 8px; left: 10px; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: #f1f4f8; color: #26313c;
  font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.sh-ios__close:hover { background: #e4eaf2; }

/* نام کاربر در هدر */
.sh-userchip {
  display: inline-block; max-width: 150px; padding: 6px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: #fbfcfd;
  font-size: .78rem; font-weight: 700; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* بخش‌ها */
.sh-section { padding: clamp(28px, 4vw, 48px) 0; }
.sh-section h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 8px; }
.sh-lead { color: var(--muted); margin: 0 0 28px; }

/* دوره‌ها */
.sh-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.sh-course {
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: box-shadow .2s, transform .2s;
}
.sh-course:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.sh-course h3 { font-size: 1.15rem; margin: 0 0 8px; line-height: 1.6; color: var(--ink); }
.sh-course p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; flex: 1; }
.sh-price { font-weight: 700; margin-bottom: 8px; color: #0b2a4a; font-size: 1.1rem; display: block; }
.sh-price small { font-weight: 400; color: var(--muted); }
.sh-price del { color: #9aa3ad; font-weight: 400; margin-inline-end: 8px; font-size: .95rem; }
.sh-price ins { text-decoration: none; color: #0a7a3d; font-size: 1.3rem; }
.sh-badge { display: inline-block; background: #ffe8a3; color: #7a4b00; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin: 0 0 12px; }
.sh-badge--timer { background: #fff4e5; color: #a35a00; border: 1px solid #ffe0b8; margin-inline-start: 6px; }
.sh-courses .sh-btn, a.sh-btn {
  display: inline-block; text-align: center; padding: 10px 16px;
  border-radius: 10px; background: #ffd60a; color: #1b1f24 !important; font-weight: 700;
}
.sh-btn.sh-buy { background: #16a34a; color: #fff !important; margin-top: 8px; }

/* ---------- گروه دوره‌های رایگان و تخصصی ---------- */
.sh-course-group { margin-top: 6px; margin-bottom: 34px; }
.sh-course-group:last-child { margin-bottom: 0; }
.sh-grouphead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px 16px; flex-wrap: wrap; margin: 0 0 16px;
}
.sh-grouphead h3 { font-size: 1.18rem; margin: 0; }
.sh-grouphead__note { font-size: .85rem; color: var(--muted); }
body.sh-summary .sh-grouphead__note { color: rgba(255, 255, 255, .78); }
.sh-course-group--free {
  padding: clamp(16px, 2.4vw, 26px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 214, 10, .16), transparent 58%),
    linear-gradient(180deg, #fffdf6, #ffffff);
  border: 1px solid #f2e4bd;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: 0 18px 44px rgba(11, 42, 74, .07);
}
#free-courses .sh-grouphead h3 { color: #8a5a00; }
#free-courses .sh-grouphead__note { color: #6b6b6b; }
.sh-course--free { border-top: 3px solid #ffd60a; }
.sh-course--free .sh-badge--free { align-self: flex-start; }

/* مجوز */
.sh-license {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.sh-license__head { max-width: 340px; }
.sh-license .sh-license__eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  color: #8a6d00; background: #fff6d6; border: 1px solid #ffe58a;
  border-radius: 999px; padding: 1px 10px; margin-bottom: 8px;
}
.sh-license strong { display: block; font-size: 1.05rem; color: var(--ink); }
.sh-license span { color: var(--muted); font-size: .95rem; }
.sh-qr { display: inline-block; background: #fff; padding: 6px; border-radius: 10px; border: 1px solid var(--line); line-height: 0; }
.sh-qr img, .sh-owner { width: 110px; height: 110px; object-fit: contain; border-radius: 10px; }
.sh-owner { background: #fff; padding: 4px; border: 1px solid var(--line); }
.sh-zp {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-width: 132px; min-height: 110px; padding: 10px 14px;
  background: #fff; border: 1px solid #ffe58a; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(255,214,10,.18); text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sh-zp:hover { border-color: #ffd100; box-shadow: 0 10px 24px rgba(255,214,10,.3); transform: translateY(-2px); }
.sh-zp__mark { display: inline-flex; line-height: 0; }
.sh-zp__text { display: flex; flex-direction: column; line-height: 1.6; }
.sh-zp__text b { font-size: .82rem; color: #0b2a4a; }
.sh-zp__text small { font-size: .7rem; font-weight: 700; color: #0a9e5a; }

/* هیرو با تصویر هدر */
.sh-hero {
  position: relative; color: #fff;
  min-height: clamp(380px, 48vw, 640px);
  display: flex; align-items: flex-end;
  padding: clamp(48px, 7vw, 90px) 0 clamp(44px, 6vw, 70px);
  background: #03213f url("../img/hero.webp") center / cover no-repeat;
}
.sh-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,33,63,.94) 0%, rgba(3,33,63,.62) 42%, rgba(3,33,63,.12) 78%, rgba(3,33,63,0) 100%),
    linear-gradient(180deg, rgba(3,33,63,0) 62%, rgba(3,33,63,.9) 92%, #03213f 100%);
}
.sh-hero .sh-wrap { position: relative; z-index: 1; text-align: left; }
.sh-hero .sh-studio { max-width: 640px; }
.sh-studio {
  font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 900; line-height: 1.5; margin: 18px 0 22px;
  background: linear-gradient(90deg, #ffffff 0%, #ffd60a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 6px 30px rgba(0,0,0,.55);
}
.sh-studio::after { content: ""; display: block; width: 120px; height: 4px; margin: 14px 0 0; border-radius: 4px; background: #ffd60a; }
.sh-hero p { font-size: clamp(1rem, 1.6vw, 1.15rem); opacity: .92; max-width: 560px; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.sh-eyebrow { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .9rem; }

/* اعتماد */
.sh-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sh-trust a[referrerpolicy] img { display: block; }

/* فوتر */
.sh-footer {
  margin-top: 44px; padding: 46px 0 0; font-size: .9rem; color: #c7d5e4;
  background:
    radial-gradient(120% 140% at 88% -10%, rgba(255,214,10,.12), transparent 55%),
    linear-gradient(180deg, #062440 0%, #03213f 100%);
  border-top: 1px solid rgba(255,214,10,.35);
  box-shadow: 0 -18px 46px rgba(3,20,38,.28);
}
.sh-footer__grid { display: grid; grid-template-columns: 1.5fr 1.15fr .85fr; gap: 36px; align-items: start; }
.sh-footer .sh-footer__logo { display: inline-block; font-weight: 800; font-size: 1.15rem; color: #fff; }
.sh-footer__logo small { display: block; font-weight: 400; font-size: .78rem; color: #ffd60a; }
.sh-footer__intro { margin: 12px 0 18px; max-width: 36ch; color: #a9bccf; font-size: .85rem; line-height: 2; }

/* دکمهٔ دانلود اپ اندروید در فوتر */
.sh-appdl {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px; padding: 9px 14px 9px 10px;
  border: 1px solid rgba(255, 214, 10, .35); border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 214, 10, .12), rgba(255, 255, 255, .03));
  color: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
.sh-appdl:hover {
  border-color: #ffd60a;
  background: linear-gradient(135deg, rgba(255, 214, 10, .2), rgba(255, 255, 255, .05));
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28);
  transform: translateY(-1px);
}
.sh-appdl__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px;
  background: linear-gradient(135deg, #ffd60a, #f0b400); color: #0b2a4a;
  box-shadow: 0 4px 10px rgba(255, 214, 10, .28);
}
.sh-appdl__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.25; }
.sh-appdl__text b { font-size: .88rem; font-weight: 800; color: #fff; }
.sh-appdl__text small { font-size: .7rem; color: #a9bccf; }
.sh-appdl__arrow { display: inline-flex; margin-inline-start: 6px; color: #ffd60a; }
.sh-appdl:hover .sh-appdl__arrow { animation: sh-appdl-bounce .9s ease-in-out infinite; }
@keyframes sh-appdl-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.sh-footer h4 { position: relative; margin: 0 0 16px; padding-bottom: 8px; font-size: .95rem; color: #fff; }
.sh-footer h4::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: #ffd60a; }
.sh-footer__col p { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0 0 10px; line-height: 1.9; font-size: .86rem; }
.sh-footer__col p span { min-width: 96px; color: #7f96ad; font-size: .78rem; }
.sh-footer .sh-footer__col a { color: #e8eff7; }
.sh-footer .sh-footer__col a:hover { color: #ffd60a; }
.sh-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sh-footer .sh-footer__links a { display: inline-flex; align-items: center; gap: 7px; color: #c7d5e4; font-size: .86rem; }
.sh-footer__links a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,214,10,.75); }
.sh-footer .sh-footer__links a:hover { color: #ffd60a; }
.sh-footer .sh-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-footer .sh-socials a {
  padding: 5px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  background: rgba(255,255,255,.04); color: #d7e3ef; font-size: .8rem;
  transition: border-color .2s, color .2s, background .2s;
}
.sh-footer .sh-socials a:hover { border-color: rgba(255,214,10,.6); background: rgba(255,214,10,.08); color: #ffd60a; }
.sh-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 36px; padding: 16px 0 18px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .79rem; color: #8ea6bd;
}
.sh-footer__pay { color: #9fb4c8; }
.sh-footer .sh-footer__admin { color: #ffd60a; border-bottom: 1px dotted rgba(255,214,10,.5); }
.sh-footer .sh-footer__admin:hover { color: #fff; border-bottom-color: #fff; }

/* ===== مشاورهٔ رایگان ۱۵ دقیقه ===== */
.sh-consult {
  position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 950;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.sh-consult__fab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 14px;
  border: 0; border-radius: 999px; background: #0b2a4a; color: #fff;
  font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 28px rgba(3,20,38,.35), inset 0 0 0 1px rgba(255,214,10,.35);
  transition: transform .2s, box-shadow .2s;
}
.sh-consult__fab:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(3,20,38,.45), inset 0 0 0 1px rgba(255,214,10,.65); }
.sh-consult__fab-icon { display: inline-flex; color: #ffd60a; }
.sh-consult__card {
  position: relative; width: min(300px, calc(100vw - 36px));
  background: #fff; color: var(--ink); border: 1px solid #e6ebf1; border-radius: 16px;
  padding: 18px 18px 16px; box-shadow: 0 22px 50px rgba(3,20,38,.35);
  animation: shConsultIn .18s ease-out;
}
.sh-consult__card[hidden] { display: none; }
.sh-consult__card h3 { margin: 0 0 6px; font-size: 1rem; color: #0b2a4a; }
.sh-consult__card p { margin: 0 0 14px; font-size: .83rem; line-height: 1.9; color: var(--muted); }
.sh-consult__tag { display: inline-block; margin-bottom: 8px; padding: 1px 9px; border-radius: 999px; background: #e7f8ee; color: #0a7a3d; font-size: .68rem; font-weight: 700; }
.sh-consult__close {
  position: absolute; top: 8px; inset-inline-end: 8px; width: 26px; height: 26px;
  border: 0; border-radius: 8px; background: transparent; color: #8a95a1;
  font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.sh-consult__close:hover { background: #f1f3f6; color: #1b1f24; }
.sh-consult__actions { display: flex; gap: 8px; }
.sh-consult__cta { flex: 1; padding: 9px 12px; border-radius: 10px; background: #ffd60a; color: #1b1f24 !important; font-size: .84rem; font-weight: 700; text-align: center; }
.sh-consult__ghost { padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: .84rem; }
@keyframes shConsultIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ===== داشبورد مدیر: مدیریت ویدیوها ===== */
.sh-admin__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sh-admin__eyebrow {
  display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px;
  background: #eef4ff; color: #1e40af; font-size: .72rem; font-weight: 700;
}
.sh-admin__head h1 { margin: 0 0 4px; }
.sh-admin__head p { margin: 0; max-width: 52ch; font-size: .9rem; }
.sh-admin__nav { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-admin__nav a {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .84rem; font-weight: 600; color: var(--ink) !important; background: #fff;
}
.sh-admin__nav a:hover { border-color: #c9d3de; background: #f7f9fb; }
.sh-admin__nav a.is-active { background: #0b2a4a; border-color: #0b2a4a; color: #fff !important; }

.sh-admin__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 8px; }
.sh-stat {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fbfcfd;
  display: flex; flex-direction: column; gap: 2px;
}
.sh-stat b { font-size: 1.15rem; color: #0b2a4a; }
.sh-stat span { font-size: .76rem; color: var(--muted); }

.sh-admin__course { margin-top: 28px; }
.sh-admin__course h2 { font-size: 1.05rem; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sh-admin__course h2 small { font-weight: 400; }
.sh-vrows { display: flex; flex-direction: column; gap: 8px; }

.sh-vrow { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.sh-vrow[open] { border-color: #c9d3de; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.sh-vrow > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; cursor: pointer; list-style: none;
}
.sh-vrow > summary::-webkit-details-marker { display: none; }
.sh-vrow__title { font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.7; }
.sh-vrow__meta { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sh-vrow__play { font-size: .78rem; color: var(--accent); text-decoration: underline; }
.sh-vrow__caret { color: #9aa3ad; transition: transform .2s; }
.sh-vrow[open] .sh-vrow__caret { transform: rotate(180deg); }
.sh-chip {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; white-space: nowrap;
  background: #f1f3f6; color: #5d6670;
}
.sh-chip.is-uploaded { background: #e7f7ee; color: #0a7a3d; }
.sh-chip.is-link { background: #eef4ff; color: #1e40af; }
.sh-chip.is-config { background: #fff6d6; color: #8a6d00; }
.sh-chip.is-empty { background: #f1f3f6; color: #8a95a1; }

.sh-vrow__body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #f0f2f5; }
.sh-vrow__upload { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.sh-file {
  position: relative; flex: 1 1 240px; min-width: 0; display: flex; align-items: center;
  padding: 10px 14px; border: 1px dashed #c7d2dd; border-radius: 10px;
  background: #fbfcfd; color: var(--muted); font-size: .82rem; cursor: pointer;
}
.sh-file:hover { border-color: #9fb4c8; background: #f6f9fc; }
.sh-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sh-file.is-selected { border-color: #16a34a; background: #f2fbf5; color: #0a7a3d; font-weight: 600; }
.sh-vrow__upload .sh-btn { padding: 10px 18px; border: 0; border-radius: 10px; background: #16a34a; color: #fff !important; font: inherit; font-weight: 700; cursor: pointer; }
.sh-vrow__upload .sh-btn:disabled { opacity: .6; cursor: progress; }
.sh-progress { flex: 1 1 100%; height: 8px; border-radius: 999px; background: #eef1f5; overflow: hidden; }
.sh-progress i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #16a34a, #22c55e); transition: width .15s; }
.sh-vrow__msg { flex: 1 1 100%; margin: 0; font-size: .8rem; }
.sh-vrow__msg.is-ok { color: #0a7a3d; }
.sh-vrow__msg.is-err { color: #b42318; }

.sh-vrow__url { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-vrow__url input {
  flex: 1 1 240px; min-width: 0; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; font-size: .82rem; color: var(--ink); background: #fff;
}
.sh-vrow__url input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.sh-vrow__url .sh-btn--ghost { padding: 9px 16px; font-size: .82rem; }
.sh-vrow__del { margin: 0; }

@media (max-width: 720px) {
  .sh-admin__stats { grid-template-columns: repeat(2, 1fr); }
  .sh-admin__nav { width: 100%; }
  .sh-vrow > summary { flex-wrap: wrap; }
  .sh-vrow__meta { width: 100%; justify-content: space-between; }
  .sh-vrow__upload .sh-btn, .sh-vrow__url .sh-btn--ghost { width: 100%; }
}

/* ===== داشبورد مدیر: سفارش‌ها و فروش ===== */
.sh-sales { margin: 22px 0 6px; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 14px; background: #fbfcfd; }
.sh-sales__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sh-sales__head h2 { margin: 0; font-size: .95rem; }
.sh-chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; }
.sh-chart__col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; min-width: 0; }
.sh-chart__val { font-size: .66rem; color: #0a7a3d; font-weight: 700; height: 14px; }
.sh-chart__bar {
  display: block; width: 100%; max-width: 46px; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #34d399, #16a34a); min-height: 3px;
}
.sh-chart__day { font-size: .72rem; color: var(--muted); }

.sh-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 14px; }
.sh-filters select, .sh-filters input[type="search"] {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .82rem; color: var(--ink); background: #fff; min-width: 0;
}
.sh-filters input[type="search"] { flex: 1 1 220px; }
.sh-filters select:focus, .sh-filters input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.sh-filters .sh-btn { padding: 9px 18px; border: 0; border-radius: 10px; background: #0b2a4a; color: #fff !important; font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; }
.sh-filters .sh-btn--ghost { background: #fff; border: 1px solid var(--line); color: var(--ink) !important; }

.sh-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.sh-table { width: 100%; border-collapse: collapse; font-size: .82rem; min-width: 860px; }
.sh-table th, .sh-table td { padding: 10px 12px; text-align: start; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
.sh-table th { background: #fbfcfd; color: var(--muted); font-weight: 700; font-size: .74rem; white-space: nowrap; }
.sh-table tbody tr:last-child td { border-bottom: 0; }
.sh-table tbody tr:hover { background: #fafbfc; }
.sh-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-table td small { display: block; font-size: .72rem; }

.sh-status { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.sh-status.is-paid { background: #e7f7ee; color: #0a7a3d; }
.sh-status.is-pending { background: #fff6d6; color: #8a6d00; }
.sh-status.is-canceled { background: #f1f3f6; color: #8a95a1; }

.sh-row-actions { display: inline-flex; gap: 10px; align-items: center; }
.sh-row-actions form { margin: 0; }
.sh-linkbtn--danger { color: #b42318; }

.sh-pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sh-pager__item {
  min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 8px; border: 1px solid var(--line); border-radius: 9px;
  font-size: .8rem; color: var(--ink) !important; background: #fff;
}
.sh-pager__item:hover { border-color: #c9d3de; background: #f7f9fb; }
.sh-pager__item.is-active { background: #0b2a4a; border-color: #0b2a4a; color: #fff !important; font-weight: 700; }
.sh-pager__dots { align-self: center; color: var(--muted); font-size: .8rem; }

@media (max-width: 640px) {
  .sh-chart { height: 104px; gap: 5px; }
  .sh-filters select, .sh-filters input[type="search"] { flex: 1 1 100%; }
  .sh-filters .sh-btn { flex: 1 1 100%; text-align: center; }

  /* جدول سفارش‌ها در موبایل به کارت تبدیل می‌شود */
  .sh-table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .sh-table { min-width: 0; display: block; }
  .sh-table thead { display: none; }
  .sh-table tbody { display: flex; flex-direction: column; gap: 10px; }
  .sh-table tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  }
  .sh-table tbody tr:hover { background: #fff; }
  .sh-table td { border: 0; padding: 0; white-space: normal; }
  .sh-table td.num { white-space: normal; }
  .sh-table td::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-size: .68rem; font-weight: 700; color: #9aa3ad;
  }
  .sh-table td:nth-child(3), .sh-table td:nth-child(4), .sh-table td:nth-child(8) { grid-column: 1 / -1; }
  .sh-table td:nth-child(1) { order: -1; }
  .sh-table td small { display: inline; margin-inline-start: 4px; }
}

/* ===== پنل مشتری ===== */
.sh-acct__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sh-acct__head h1 { margin: 2px 0 4px; }
.sh-acct__head p { margin: 0; }
.sh-acct__title { font-size: 1.05rem; margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sh-acct__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }

/* دکمهٔ خروج در پنل مشتری */
.sh-admin__nav a.sh-acct__logout {
  display: inline-flex; align-items: center; gap: 6px;
  border-color: #f3c9c4; color: #b42318 !important; background: #fdf3f2;
}
.sh-admin__nav a.sh-acct__logout:hover { background: #fbe6e3; border-color: #e9b0a9; }

/* مارکت دوره‌های نخریده در پنل مشتری */
.sh-market__lead { margin: -4px 0 12px; font-size: .85rem; }
.sh-market { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sh-market__card {
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fbfcfd;
}
.sh-market__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-tag {
  font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #eef4ff; color: #1e40af; border: 1px solid #dbe7ff;
}
.sh-tag--market { background: #ffd60a; border-color: #ffd60a; color: #1b1f24; }
.sh-tag--update { background: #e7f7ee; border-color: #cdebd8; color: #0a7a3d; }
.sh-tag--soon { background: #fff4e5; border-color: #ffe0b8; color: #a35a00; }
.sh-tag--free { background: #0a7a3d; border-color: #0a7a3d; color: #fff; }
.sh-course-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin: 6px 0 12px; }
.sh-course-status b { color: var(--ink); }
.sh-course-status .sh-tag { margin: 0; }
.sh-market__card h3 { margin: 0; font-size: .96rem; line-height: 1.8; color: var(--ink); }
.sh-market__date { margin: 0; font-size: .78rem; color: var(--muted); }
.sh-market__date b { color: var(--ink); font-weight: 700; }
.sh-market__price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.sh-market__timer { margin: 0; font-size: .76rem; font-weight: 700; color: #a35a00; background: #fff4e5; border: 1px solid #ffe0b8; border-radius: 8px; padding: 6px 9px; }
.sh-market__price s { color: var(--muted); font-size: .8rem; }
.sh-market__price b { font-size: 1rem; color: var(--ink); }
.sh-market__actions { margin-top: auto; }
.sh-market__actions .sh-btn { padding: 9px 16px; font-size: .85rem; }

.sh-progressbar { height: 8px; border-radius: 999px; background: #eef1f5; overflow: hidden; }
.sh-progressbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #16a34a, #22c55e); transition: width .3s; }

.sh-mycards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sh-mycard { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.sh-mycard__head { display: flex; flex-direction: column; gap: 6px; }
.sh-mycard__badge { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: #eef4ff; color: #1e40af; font-size: .68rem; font-weight: 700; }
.sh-mycard h3 { margin: 0; font-size: .98rem; line-height: 1.7; color: var(--ink); }
.sh-mycard__meta { margin: 0; font-size: .8rem; color: var(--muted); }
.sh-mycard__done { color: #0a7a3d; font-weight: 700; }
.sh-mycard__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.sh-mycard__actions .sh-btn { padding: 9px 14px; font-size: .82rem; }
.sh-mycard__actions .sh-btn--ghost { padding: 9px 14px; font-size: .82rem; }

.sh-empty-state { text-align: center; padding: 26px 16px; border: 1px dashed #d6dde5; border-radius: 14px; background: #fbfcfd; }
.sh-empty-state p { margin: 0 0 12px; }

/* ===== پخش ویدیو ===== */
.sh-watch__crumb { margin: 0 0 12px; font-size: .84rem; color: #dbe8f4; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sh-watch__crumb a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
.sh-watch__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.sh-watch__player {
  position: relative; aspect-ratio: 16 / 9; background: #02121f; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(2, 12, 24, .45);
}
.sh-watch__player video, .sh-watch__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #02121f; }
.sh-watch__soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #c7d5e4; text-align: center; padding: 20px; }
.sh-watch__soon span { font-size: 2.4rem; }
.sh-watch__soon p { margin: 0; font-size: .9rem; }
.sh-wm { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.sh-wm__text {
  position: absolute; top: 12px; left: 12px; max-width: 80%;
  padding: 2px 8px; border-radius: 6px;
  font-size: .76rem; line-height: 1.9; color: rgba(255, 255, 255, .92);
  background: rgba(2, 18, 31, .28); text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
  opacity: .55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: top .9s ease, left .9s ease;
}
@media (max-width: 640px) { .sh-wm__text { font-size: .68rem; opacity: .5; } }

.sh-devices {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 16px 0 6px; padding: 12px 16px; border-radius: 12px;
  background: #f4f8fc; border: 1px solid var(--line);
}
.sh-devices__info { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--ink); }
.sh-devices__info .sh-muted { font-size: .76rem; line-height: 1.9; }
.sh-devices .sh-btn { padding: 8px 14px; font-size: .8rem; }

/* ویرایش نام در پنل مشتری */
.sh-nameedit { margin-top: 8px; font-size: .78rem; }
.sh-nameedit summary { cursor: pointer; color: #0b2a4a; font-weight: 700; }
.sh-nameedit__form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sh-nameedit__form input {
  flex: 1 1 200px; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; font-size: .82rem; color: var(--ink);
}
.sh-nameedit__form .sh-btn {
  padding: 9px 16px; border: 0; border-radius: 10px; background: #0b2a4a;
  color: #fff !important; font: inherit; font-weight: 700; cursor: pointer;
}

/* ===== داشبورد مدیر: پشتیبان‌گیری ===== */
.sh-bk { margin-top: 8px; }
.sh-bk__form { display: flex; flex-direction: column; gap: 12px; }
.sh-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.sh-check {
  display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd;
  font-size: .82rem; line-height: 1.7; cursor: pointer;
}
.sh-check input { margin-top: 4px; accent-color: #0b2a4a; }
.sh-check:hover { border-color: #c9d6e4; background: #f6f9fc; }
.sh-bk__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sh-bk__actions .sh-btn {
  padding: 10px 20px; border: 0; border-radius: 10px; background: #0b2a4a;
  color: #fff !important; font: inherit; font-weight: 700; cursor: pointer;
}
.sh-bk__list { display: flex; flex-direction: column; gap: 10px; }
.sh-bk__item {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.sh-bk__main { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sh-bk__main b { font-size: .84rem; overflow-wrap: anywhere; }
.sh-bk__meta { font-size: .74rem; color: var(--muted); }
.sh-bk__parts { display: flex; flex-wrap: wrap; gap: 4px; }
.sh-bk__btns { display: flex; gap: 8px; align-items: center; }
.sh-bk__btns form { margin: 0; }
.sh-bk__btns .sh-btn { padding: 8px 14px; font-size: .78rem; }
.sh-btn--danger {
  background: #fdecec; color: #b42318 !important; border: 1px solid #f3c9c5;
  border-radius: 10px; padding: 8px 14px; font: inherit; font-size: .78rem;
  font-weight: 700; cursor: pointer;
}
.sh-btn--danger:hover { background: #fbdcd9; }
.sh-bk__restore { flex: 1 1 100%; border-top: 1px dashed var(--line); padding-top: 10px; }
.sh-bk__restore summary { cursor: pointer; font-size: .8rem; font-weight: 700; color: #0b2a4a; }
.sh-bk__restore form { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.sh-bk__warn { font-size: .74rem; margin: 0; }
.sh-bk__note { font-size: .74rem; margin-top: 18px; }
@media (max-width: 640px) { .sh-checks { grid-template-columns: 1fr; } }

.sh-smslog {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px;
  font-size: .72rem; font-family: ui-monospace, Consolas, monospace;
}
.sh-smslog li {
  padding: 6px 10px; border-radius: 8px; background: #f7f9fb;
  border: 1px solid var(--line); overflow-wrap: anywhere;
}
.sh-smslog li.is-ok { background: #f0fbf4; border-color: #cdebd8; }
.sh-smslog li.is-err { background: #fdf3f2; border-color: #f3d2ce; }

/* فهرست زیپ‌های به‌روزرسانی */
.sh-updlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sh-updlist li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd;
}
.sh-updlist__meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sh-updlist__meta b { font-size: .85rem; overflow-wrap: anywhere; }
.sh-updlist__meta span { font-size: .74rem; color: var(--muted); }
.sh-updlist__actions { display: flex; gap: 8px; }
.sh-updlist__actions form { margin: 0; }
.sh-updlist__actions .sh-btn { padding: 8px 14px; font-size: .8rem; }

/* سابقهٔ تغییرات */
.sh-changelog { display: flex; flex-direction: column; gap: 10px; }
.sh-changelog__item {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fbfcfd;
}
.sh-changelog__item.is-current { border-color: #cdebd8; background: #f4fcf7; }
.sh-changelog__item header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sh-changelog__item header b { font-size: .85rem; color: var(--ink); }
.sh-changelog__item ul { margin: 0; padding-inline-start: 18px; }
.sh-changelog__item li { font-size: .82rem; color: var(--ink); line-height: 1.9; }
@media (max-width: 560px) {
  .sh-updlist__actions { width: 100%; }
  .sh-updlist__actions form { flex: 1; }
  .sh-updlist__actions .sh-btn { width: 100%; }
}
.sh-watch__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 14px; padding: 14px 18px; background: #fff; border-radius: 14px; box-shadow: 0 10px 26px rgba(0,0,0,.16);
}
.sh-watch__kicker { font-size: .74rem; color: var(--accent); font-weight: 700; }
.sh-watch__info h1 { margin: 2px 0 0; font-size: 1.02rem; color: var(--ink); line-height: 1.7; }
.sh-watch__nav { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-watch__nav .sh-btn, .sh-watch__nav .sh-btn--ghost { padding: 9px 14px; font-size: .82rem; }

.sh-watch__side { background: #fff; border-radius: 16px; padding: 16px 16px 12px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.sh-watch__side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sh-watch__side-head h2 { margin: 0; font-size: .95rem; color: var(--ink); }
.sh-watch__side-head span { font-size: .74rem; }
.sh-playlist { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 460px; overflow-y: auto; }
.sh-playlist__item {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 10px;
  border: 1px solid transparent; color: var(--ink); font-size: .82rem; line-height: 1.7;
}
.sh-playlist__item:hover { background: #f6f9fc; border-color: var(--line); }
.sh-playlist__item.is-active { background: #eef4ff; border-color: #cfdcff; font-weight: 700; }
.sh-playlist__item.is-seen .sh-playlist__num { background: #e7f7ee; color: #0a7a3d; }
.sh-playlist__num {
  flex: 0 0 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: #f1f3f6; color: #5d6670; font-size: .72rem; font-weight: 700;
}
.sh-playlist__title { flex: 1; min-width: 0; }

.sh-locked { text-align: center; }
.sh-locked__icon { font-size: 2.4rem; display: block; margin-bottom: 6px; }
.sh-locked__price { margin: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sh-locked__price .sh-addcart { width: 100%; max-width: 320px; }
.sh-locked__price .sh-addcart .sh-btn { width: 100%; }

/* یادداشت دسترسی در صفحهٔ دوره */
.sh-access-note {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; font-size: .86rem;
  background: #fff6d6; color: #7a5c00; border: 1px solid #ffe58a;
}
.sh-access-note.is-ok { background: #e7f7ee; color: #0a7a3d; border-color: #cdeed8; }
.sh-access-note a { font-weight: 700; text-decoration: underline; }
.sh-lesson__play {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 10px; background: #0b2a4a; color: #fff !important; font-size: .84rem; font-weight: 700;
}
.sh-lesson__play:hover { background: #123a63; }
.sh-lesson__lock { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.sh-lesson__lock a { color: var(--accent); font-weight: 700; }
.sh-lesson.is-locked { background: #fbfcfd; }

@media (max-width: 900px) {
  .sh-watch__grid { grid-template-columns: 1fr; }
  .sh-playlist { max-height: none; }
}
@media (max-width: 640px) {
  .sh-watch__bar { padding: 12px 14px; }
  .sh-watch__nav { width: 100%; }
  .sh-watch__nav .sh-btn, .sh-watch__nav .sh-btn--ghost { flex: 1; text-align: center; }
  .sh-mycard__actions .sh-btn, .sh-mycard__actions .sh-btn--ghost { flex: 1; }
}

/* صفحهٔ دوره */
.course-page { max-width: 920px; margin: 0 auto; padding: 40px 20px; line-height: 2; color: var(--ink); }
.course-page h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.6; }
.course-page h2 { margin-top: 32px; font-size: 1.25rem; }
.course-page .kicker { color: var(--accent); font-size: .9rem; font-weight: 600; }
.course-page a { color: var(--accent); }
.course-page .course-cta { margin: 32px 0; padding: 24px; border-radius: var(--radius); background: var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* فهرست جلسه‌ها با دکمهٔ پخش */
.sh-lessons { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sh-lesson {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.sh-lesson__title { font-weight: 600; color: var(--ink); }
.sh-lesson .sh-film-btn { width: auto; margin: 0; padding: 8px 14px; font-size: .85rem; }
@media (max-width: 640px) {
  .sh-lesson { flex-direction: column; align-items: stretch; }
  .sh-lesson .sh-film-btn { width: 100%; }
}

@media (max-width: 640px) {
  .sh-nav { display: none; }
  .sh-header .sh-wrap { height: 64px; }
  html, body { overflow-x: hidden; max-width: 100%; }
  .sh-wrap { padding: 0 14px; }
  .sh-courses { grid-template-columns: 1fr; }
  .sh-studio { font-size: clamp(2rem, 11vw, 3rem); }
  .sh-hero { padding-left: 8px; padding-right: 8px; }
  .sh-btn, .sh-courses .sh-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }
  .sh-qr, .sh-owner, .sh-trust { margin-inline: auto; justify-content: center; }
  .sh-license { text-align: center; justify-content: center; }
  .sh-license__head { max-width: none; }
  .sh-footer__grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .sh-footer__intro { margin-inline: auto; }
  .sh-footer h4::after { inset-inline-start: 50%; transform: translateX(50%); }
  .sh-footer__col p { justify-content: center; }
  .sh-footer__links { align-items: center; }
  .sh-footer .sh-socials { justify-content: center; }
  .sh-footer__bottom { justify-content: center; text-align: center; padding-bottom: 68px; }
  .sh-consult { inset-inline-start: 12px; bottom: 12px; }
  .sh-consult__fab { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .sh-consult__fab-label { display: none; }
  img, iframe { max-width: 100%; height: auto; }
}

/* ===== حالت فیلم (پیش‌نمایش سینمایی) ===== */
.sh-film-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px 16px; margin: 0 0 12px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  background: #0b2a4a; color: #fff; font: inherit; font-weight: 700;
  cursor: pointer; transition: transform .15s, background .2s;
}
.sh-film-btn:hover { background: #123a63; transform: translateY(-1px); }
.sh-play {
  width: 0; height: 0; display: inline-block;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* بنر سینمایی در صفحهٔ دوره */
.sh-cinema {
  position: relative; margin: 24px 0 8px; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 8; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #03213f, #0a4a7a 60%, #1487b8);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.sh-cinema__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: .16; padding: 24px;
}
.sh-cinema .sh-film-btn {
  position: relative; width: auto; padding: 14px 28px; font-size: 1.05rem;
  background: #ffd60a; color: #1b1f24; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.sh-cinema .sh-film-btn:hover { background: #ffe14d; }

/* مودال */
.sh-film { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sh-film[hidden] { display: none; }
.sh-film__backdrop { position: absolute; inset: 0; background: rgba(2,10,20,.86); backdrop-filter: blur(4px); }
.sh-film__stage {
  position: relative; width: min(1100px, 100%); max-height: 92vh;
  display: flex; flex-direction: column; gap: 14px; color: #fff;
  animation: shFilmIn .25s ease;
}
@keyframes shFilmIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.sh-film__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.sh-film__frame video, .sh-film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sh-film__soon {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px; text-align: center; color: #dfe7f0;
  background: radial-gradient(circle at 50% 40%, #0a4a7a, #02101f);
}
.sh-film__soon-icon { font-size: 3rem; }
.sh-film__meta h3 { margin: 0 0 4px; font-size: 1.2rem; }
.sh-film__meta p { margin: 0; color: #c7d2de; font-size: .95rem; }
.sh-film__close {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #ffd60a; color: #1b1f24; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
@media (max-width: 640px) {
  .sh-film { padding: 10px; }
  .sh-film__stage { gap: 10px; }
  .sh-film__meta h3 { font-size: 1.05rem; }
}

/* ===== صفحه‌های داخلی: فرم، حساب، تیکت ===== */
button.sh-btn {
  display: inline-block; padding: 10px 16px; border: 0; border-radius: 10px;
  background: #ffd60a; color: #1b1f24; font: inherit; font-weight: 700; cursor: pointer;
}
button.sh-btn:hover { background: #ffe14d; }

.sh-page { max-width: 760px; margin: 0 auto; padding: 40px 20px; }
.sh-panel {
  background: #fff; color: var(--ink); border-radius: 16px; padding: 28px;
  box-shadow: 0 16px 50px rgba(0,0,0,.25);
}
.sh-panel h1 { font-size: 1.5rem; margin: 0 0 8px; }
.sh-panel h2 { color: var(--ink); }
.sh-panel p { color: var(--muted); }
.sh-panel a { color: var(--accent); }

.sh-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.sh-form label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.sh-form input, .sh-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
.sh-form input:focus, .sh-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.sh-form .sh-btn { align-self: flex-start; }

.sh-otp__sent { margin: 16px 0 0; font-size: .92rem; color: var(--ink); }
.sh-otp__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sh-otp__actions form { margin: 0; }
button.sh-btn--ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  padding: 9px 14px; font-size: .85rem; font-weight: 600;
}
button.sh-btn--ghost:hover { background: #f4f6f8; }
button.sh-btn--ghost:disabled { opacity: .55; cursor: not-allowed; background: #fff; }

.sh-alert { padding: 10px 14px; border-radius: 10px; margin: 12px 0; font-size: .9rem; }
.sh-alert-ok { background: #e7f7ee; color: #0a7a3d; }
.sh-alert-err { background: #fdeaea; color: #b42318; }
.sh-alert-info { background: #eef4ff; color: #1e40af; }

.sh-google {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  background: #fff; color: #1b1f24 !important; border: 1px solid var(--line);
  padding: 11px 18px; border-radius: 10px; font-weight: 700;
}
.sh-google span { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: #ea4335; color: #fff; font-weight: 800; }

.sh-authways { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; max-width: 340px; }
.sh-authways .sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

.sh-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.sh-list li {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  display: flex; justify-content: space-between; gap: 10px; align-items: center; color: var(--ink);
}
.sh-muted { color: var(--muted); font-size: .88rem; }

.sh-thread { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.sh-msg { border-radius: 12px; padding: 12px 16px; max-width: 90%; }
.sh-msg.is-user { background: #f2f6ff; border: 1px solid #dbe6ff; align-self: flex-start; }
.sh-msg.is-admin { background: #eefaf1; border: 1px solid #cdeed8; align-self: flex-end; }
.sh-msg__meta { font-size: .75rem; color: var(--muted); margin-bottom: 4px; }
.sh-msg__body { color: var(--ink); }

.sh-gateways { display: flex; gap: 10px; flex-wrap: wrap; }
.sh-gateway {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  cursor: pointer; font-weight: 600; color: var(--ink);
}
.sh-gateway input { width: auto; }

@media (max-width: 640px) {
  .sh-page { padding: 24px 12px; }
  .sh-panel { padding: 20px; }
  .sh-msg { max-width: 100%; }
}

/* ===== دکمهٔ سبد در هدر ===== */
.sh-demobar {
  background: #7f1d1d; color: #ffe9e9; font-size: .82rem; line-height: 1.9;
  padding: 8px 16px; text-align: center;
}
.sh-demobar code { background: rgba(255,255,255,.16); padding: 1px 6px; border-radius: 6px; font-size: .8rem; }

.sh-actions { display: flex; align-items: center; gap: 10px; }
.sh-actions .sh-cartbtn { margin-inline-start: 0; }

/* آیکن دانلود اپ اندروید در هدر، کنار سبد خرید */
.sh-header .sh-iconbtn.sh-appbtn {
  display: inline-flex;
  background: linear-gradient(135deg, #fff6d6, #ffffff);
  border-color: rgba(255, 214, 10, .6);
  color: #0b2a4a;
}
.sh-header .sh-iconbtn.sh-appbtn:hover {
  border-color: #ffd60a;
  color: #0b2a4a;
  box-shadow: 0 6px 18px rgba(255, 214, 10, .28);
}
/* روی نمایشگرهای خیلی باریک، برای کاربر واردشده جا باز کنیم */
@media (max-width: 380px) {
  .sh-actions.has-user .sh-appbtn { display: none; }
}

.sh-header .sh-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: #0b2a4a;
  transition: box-shadow .2s, border-color .2s, color .2s, background .2s;
}
.sh-header .sh-iconbtn:hover { border-color: #c9d3de; box-shadow: 0 6px 18px rgba(0,0,0,.08); color: var(--accent); }
.sh-header .sh-iconbtn--accent { background: #0b2a4a; border-color: #0b2a4a; color: #ffd60a; }
.sh-header .sh-iconbtn--accent:hover { background: #123a63; border-color: #123a63; color: #fff; }
.sh-header .sh-iconbtn--admin { background: #ffd60a; border-color: #ffd60a; color: #1b1f24; }
.sh-header .sh-iconbtn--admin:hover { background: #ffe14d; border-color: #ffe14d; color: #1b1f24; box-shadow: 0 6px 18px rgba(255,214,10,.35); }
.sh-header .sh-iconbtn--out:hover { border-color: #f3c9c4; color: #b42318; background: #fdf3f2; }

.sh-cartbtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-inline-start: 18px; vertical-align: middle;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0;
  transition: box-shadow .2s, border-color .2s;
}
.sh-cartbtn:hover { border-color: #c9d3de; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.sh-cartbtn__badge {
  position: absolute; top: -6px; inset-inline-end: -6px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: #9aa3ad; color: #fff; font-size: .72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.sh-cartbtn.has-items .sh-cartbtn__badge { background: #16a34a; }
.sh-cartbtn.has-items { border-color: #b9e7c8; }

/* ===== کشوی سبد خرید ===== */
body.sh-no-scroll { overflow: hidden; }
.sh-cart { position: fixed; inset: 0; z-index: 1300; }
.sh-cart[hidden] { display: none; }
.sh-cart__backdrop {
  position: absolute; inset: 0; background: rgba(2, 10, 20, .55);
  opacity: 0; transition: opacity .25s ease;
}
.sh-cart.is-open .sh-cart__backdrop { opacity: 1; }
.sh-cart__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(430px, 94vw);
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  box-shadow: 0 0 60px rgba(0,0,0,.35);
  transform: translateX(-102%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.sh-cart.is-open .sh-cart__panel { transform: none; }
.sh-cart__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd;
}
.sh-cart__head h2 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.sh-cart__count { color: var(--muted); font-weight: 400; font-size: .9rem; }
.sh-cart__close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.sh-cart__close:hover { background: #f1f3f6; }
.sh-cart__body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 18px; }
.sh-cart__items { display: flex; flex-direction: column; gap: 12px; }
.sh-cart__empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 40px 24px; text-align: center;
}
.sh-cart__empty-icon { font-size: 2.6rem; }
.sh-cart__empty p { color: var(--muted); margin: 0 0 6px; }

.sh-cart-item {
  position: relative; display: flex; gap: 12px; padding: 14px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.sh-cart-item.is-new { border-color: #ffd60a; background: #fffdf0; box-shadow: 0 6px 18px rgba(255,214,10,.18); }
.sh-cart-item__thumb {
  flex: 0 0 62px; height: 62px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  background: linear-gradient(135deg, #03213f, #0a4a7a 60%, #1487b8);
}
.sh-cart-item__info { flex: 1; min-width: 0; }
.sh-cart-item__title {
  display: block; padding-inline-end: 26px;
  font-weight: 700; font-size: .92rem; line-height: 1.7; color: var(--ink); text-decoration: none;
}
.sh-cart-item__title:hover { color: var(--accent); }
.sh-cart-item__meta { color: var(--muted); font-size: .74rem; }
.sh-cart-item__price { margin-top: 6px; font-size: .88rem; color: #0b2a4a; }
.sh-cart-item__price del { color: #9aa3ad; margin-inline-end: 8px; }
.sh-cart-item__price ins { text-decoration: none; font-weight: 800; color: #0a7a3d; }
.sh-cart-item__tag {
  display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px;
  background: #fff3bf; color: #7a4b00; font-size: .7rem; font-weight: 700;
}
.sh-cart-item__remove { position: absolute; top: 8px; inset-inline-end: 8px; margin: 0; }
.sh-cart-item__remove button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: #b42318; font-size: 1rem; line-height: 1; cursor: pointer;
}
.sh-cart-item__remove button:hover { background: #fdeaea; border-color: #f5c2c0; }

.sh-cart__suggest h3 { font-size: .86rem; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.sh-cart-suggest {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 8px;
}
.sh-cart-suggest__title { flex: 1 1 100%; font-size: .85rem; font-weight: 600; color: var(--ink); line-height: 1.6; }
.sh-cart-suggest__price { font-size: .8rem; color: var(--muted); }
.sh-cart-suggest__add {
  margin-inline-start: auto; border: 1px solid #b9e7c8; background: #f2fdf6; color: #0a7a3d;
  font: inherit; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; cursor: pointer;
}
.sh-cart-suggest__add:hover { background: #e3f9ec; }

.sh-cart__foot {
  border-top: 1px solid var(--line); background: #fbfcfd;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 8px;
}
.sh-cart__row { display: flex; justify-content: space-between; font-size: .86rem; color: var(--muted); }
.sh-cart__row.is-discount { color: #0a7a3d; font-weight: 700; }
.sh-cart__total {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 800; color: var(--ink); font-size: 1.02rem;
  padding-top: 10px; margin-top: 2px; border-top: 1px dashed var(--line);
}
.sh-cart__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ===== دکمه‌های مشترک ===== */
.sh-btn--pay {
  display: block; width: 100%; text-align: center; padding: 14px 18px;
  border: 0; border-radius: 12px; font: inherit; font-weight: 800; font-size: 1rem;
  color: #fff !important; cursor: pointer;
  background: linear-gradient(135deg, #0a7a3d, #16a34a);
  box-shadow: 0 10px 24px rgba(22,163,74,.28);
  transition: transform .15s, box-shadow .2s;
}
.sh-btn--pay:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(22,163,74,.34); }
.sh-btn--ghost {
  display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink) !important; font: inherit; font-weight: 700; cursor: pointer;
  text-align: center;
}
.sh-btn--ghost:hover { background: #f3f5f8; }
.sh-linkbtn {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  color: var(--accent); font: inherit; font-size: .85rem; text-decoration: underline;
}
.sh-secure { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* ===== دکمه‌های خرید در کارت دوره ===== */
.sh-addcart { margin: 0 0 8px; }
.sh-addcart .sh-btn { width: 100%; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.sh-addcart .sh-btn.is-loading { opacity: .65; cursor: progress; }
.sh-quickbuy { display: inline-block; font-size: .82rem; color: var(--accent); text-decoration: none; }
.sh-quickbuy:hover { text-decoration: underline; }
.sh-course__more {
  display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted); text-decoration: none;
}
.sh-course__more:hover { color: var(--accent); }

/* ===== صفحهٔ خرید و سبد ===== */
.sh-page--wide { max-width: 1060px; }
.sh-steps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 18px; }
.sh-steps span {
  padding: 8px 16px; border-radius: 999px; font-size: .82rem;
  background: rgba(255,255,255,.14); color: #eaf3fb;
}
.sh-steps .is-done { background: rgba(22,163,74,.30); color: #eafff2; }
.sh-steps .is-active { background: #ffd60a; color: #1b1f24; font-weight: 800; }

.sh-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.sh-checkout__main { min-width: 0; }
.sh-checkout__aside { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 92px; }

.sh-form__title {
  margin: 18px 0 2px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .98rem; color: var(--ink);
}
.sh-form > .sh-form__title:first-of-type { margin-top: 4px; padding-top: 0; border-top: 0; }
.sh-form input[readonly] { background: #f6f7f9; color: var(--muted); }
.sh-form .sh-btn--pay { align-self: stretch; margin-top: 6px; }

.sh-coupon { display: flex; gap: 8px; }
.sh-coupon input { flex: 1; width: auto; }
.sh-coupon .sh-btn--ghost { flex: 0 0 auto; }
.sh-coupon.is-applied {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #e7f7ee; border: 1px solid #cdeed8; border-radius: 10px;
  padding: 10px 14px; color: #0a7a3d; font-size: .88rem;
}

.sh-gateway-card {
  position: relative; flex: 1 1 150px; display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.sh-gateway-card input { position: absolute; opacity: 0; pointer-events: none; }
.sh-gateway-card__name { font-weight: 700; font-size: .92rem; color: var(--ink); }
.sh-gateway-card__note { font-size: .74rem; color: var(--muted); }
.sh-gateway-card:has(input:checked) {
  border-color: #16a34a; background: #f4fdf7;
  box-shadow: 0 0 0 2px rgba(22,163,74,.16);
}

.sh-terms { display: flex; align-items: center; gap: 10px; font-weight: 500 !important; color: var(--ink); }
.sh-form .sh-terms input { width: 18px; height: 18px; flex: 0 0 18px; }

.sh-card {
  background: #fff; color: var(--ink); border-radius: 16px; padding: 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,.25);
}
.sh-card h2 { margin: 0 0 14px; font-size: 1rem; }
.sh-card__course {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.sh-card__course:last-of-type { border-bottom: 0; }
.sh-card__thumb {
  flex: 0 0 44px; height: 44px; border-radius: 9px; color: #fff; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #03213f, #1487b8);
}
.sh-card__course strong { display: block; font-size: .86rem; line-height: 1.7; }
.sh-card__course small { color: var(--muted); font-size: .72rem; }
.sh-card__row { display: flex; justify-content: space-between; font-size: .86rem; color: var(--muted); padding: 5px 0; }
.sh-card__row.is-discount { color: #0a7a3d; font-weight: 700; }
.sh-card__total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-weight: 800; color: var(--ink); font-size: 1rem;
}

.sh-cartpage-items { margin: 16px 0; }
.sh-cartpage-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.sh-cartpage-empty { text-align: center; }

@media (max-width: 860px) {
  .sh-checkout { grid-template-columns: 1fr; }
  .sh-checkout__aside { position: static; }
  .sh-cart__panel { width: min(420px, 100vw); }
}
@media (max-width: 640px) {
  .sh-actions { gap: 5px; margin-inline-start: 8px; flex-shrink: 0; }
  .sh-header .sh-iconbtn, .sh-cartbtn { width: 38px; height: 38px; }
  /* روی موبایل نام برند خودش لینک خانه است؛ آیکن خانه حذف می‌شود تا هدر جا شود */
  .sh-homebtn { display: none; }
  .sh-brand { font-size: .95rem; }
  .sh-brand small { font-size: .7rem; }
  .sh-clock { gap: 5px; }
  .sh-clock svg { width: 26px; height: 26px; }
  .sh-clock__dig { font-size: .74rem; }
  .sh-headstart { gap: 7px; }
  .sh-userchip { max-width: 64px; padding: 5px 8px; font-size: .68rem; }
  .sh-cart__foot { padding-bottom: 20px; }
  .sh-steps span { font-size: .74rem; padding: 6px 12px; }
  .sh-card { padding: 18px; }
}

@media (max-width: 360px) {
  .sh-userchip { max-width: 52px; font-size: .64rem; padding: 4px 7px; }
  .sh-clock svg { width: 22px; height: 22px; }
  .sh-clock__dig { font-size: .7rem; }
  .sh-headstart { gap: 5px; }
}

/* ===== نقل‌قول هیرو ===== */
.sh-quote {
  margin: 22px 0 0; padding: 0 0 0 16px;
  border-inline-start: 3px solid rgba(255, 214, 10, .85);
  max-width: 560px;
}
.sh-quote p {
  font-size: clamp(.95rem, 1.4vw, 1.08rem) !important;
  line-height: 2 !important; margin: 0 !important; opacity: .95 !important;
  color: #fff;
}
.sh-quote cite {
  display: block; margin-top: 6px;
  font-style: normal; font-size: .78rem; opacity: .72; color: #dbe9f6;
}

/* ===== خدمات ما ===== */
.sh-services {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr;
  gap: 20px; align-items: stretch;
}

/* همان کادر کارت دوره، با هویت متفاوت (آبی/فیروزه‌ای) */
.sh-service {
  position: relative;
  background: #fbfdff;
  border-color: #dbe6f3;
  box-shadow: 0 8px 26px rgba(3, 33, 63, .10);
}
.sh-service::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #1e40af, #2c6bed 55%, #1487b8);
}
.sh-service:hover {
  border-color: #bcd3ef;
  box-shadow: 0 16px 40px rgba(44, 107, 237, .18);
}
.sh-service h3 { color: #0b2a4a; }
.sh-service__tag {
  align-self: flex-start; margin-bottom: 10px;
  background: #e8f0fe; color: #1e40af;
  font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px;
}
.sh-service__features {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sh-service__features li {
  font-size: .75rem; background: #eef4ff; color: #1e40af;
  border: 1px solid #dbe6ff; border-radius: 999px; padding: 3px 10px; line-height: 1.8;
}
.sh-service .sh-price { margin-bottom: 10px; }
.sh-service .sh-price ins { color: #1e40af; }
.sh-service__from { font-size: .8rem; }
.sh-service .sh-badge { background: #e8f0fe; color: #1e40af; }
.sh-service .sh-addcart .sh-btn,
.sh-service .sh-buy {
  background: linear-gradient(135deg, #1e40af, #2c6bed);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(44, 107, 237, .25);
}
.sh-service .sh-addcart .sh-btn:hover,
.sh-service .sh-buy:hover { background: linear-gradient(135deg, #1b3a9e, #2563eb); }
.sh-service a.sh-buy { display: block; width: 100%; text-align: center; }
.sh-service .sh-course__more { margin-top: 12px; }
.sh-service__note { display: block; margin-top: 8px; font-size: .74rem; color: var(--muted); line-height: 1.8; }

/* کارت ویژه (کسب‌وکار) */
.sh-service.is-featured {
  background: linear-gradient(160deg, #03213f 0%, #0a4a7a 55%, #1487b8 100%);
  border-color: rgba(255, 214, 10, .55);
  box-shadow: 0 22px 60px rgba(3, 33, 63, .45), 0 0 0 1px rgba(255, 214, 10, .25) inset;
  padding: 30px 26px;
}
.sh-service.is-featured::before {
  background: linear-gradient(90deg, #ffd60a, rgba(255, 214, 10, .35));
}
.sh-service.is-featured h3 { color: #fff; font-size: 1.32rem; }
.sh-service.is-featured p { color: #d6e6f5; }
.sh-service.is-featured .sh-service__tag { background: rgba(255, 214, 10, .18); color: #ffd60a; }
.sh-service.is-featured .sh-service__features li {
  background: rgba(255, 255, 255, .10); color: #eaf4fd; border-color: rgba(255, 255, 255, .18);
}
.sh-service.is-featured .sh-price ins { color: #ffd60a; }
.sh-service.is-featured .sh-price small { color: #cfe2f2; }
.sh-service.is-featured .sh-badge { background: rgba(255, 214, 10, .18); color: #ffe680; }
.sh-service.is-featured .sh-service__note { color: #b9d2e6; }
.sh-service.is-featured .sh-addcart .sh-btn {
  background: #ffd60a; color: #1b1f24 !important;
  box-shadow: 0 10px 26px rgba(255, 214, 10, .3);
}
.sh-service.is-featured .sh-course__more {
  color: #cfe2f2; border-top-color: rgba(255, 255, 255, .18);
}
.sh-service.is-featured .sh-course__more:hover { color: #ffd60a; }
.sh-service__ribbon {
  position: absolute; top: -12px; inset-inline-start: 22px;
  background: #ffd60a; color: #1b1f24; font-size: .74rem; font-weight: 800;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

@media (max-width: 900px) {
  .sh-services { grid-template-columns: 1fr; }
  .sh-service.is-featured { order: -1; }
}

/* ---------- تب‌ها، استخدام و مشاوره ---------- */
.sh-form select {
  font: inherit; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.sh-form select:focus { outline: 2px solid var(--accent); border-color: transparent; }

.sh-tabs {
  display: flex; gap: 8px; margin: 18px 0 6px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.sh-tabs__item {
  padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 700;
  text-decoration: none !important; color: var(--muted) !important;
  background: #f2f4f7;
}
.sh-tabs__item.is-active { background: var(--ink); color: #fff !important; }

.sh-jobs__intro {
  margin: 18px 0 4px; padding: 18px 20px; border-radius: 14px;
  background: linear-gradient(135deg, #f7f9fc, #eef3fb);
  border: 1px solid var(--line); position: relative;
}
.sh-jobs__intro h2 { margin: 10px 0 6px; font-size: 1.2rem; }
.sh-jobs__intro p { margin: 0 0 10px; font-size: .9rem; line-height: 1.9; }
.sh-jobs__badge {
  display: inline-block; background: #ffd60a; color: #1b1f24;
  font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.sh-jobs__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sh-jobs__points li { font-size: .85rem; color: var(--muted); padding-inline-start: 18px; position: relative; }
.sh-jobs__points li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

.sh-consultpage__tag {
  display: inline-block; background: rgba(255, 214, 10, .9); color: #1b1f24;
  font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.sh-consultpage__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; margin-top: 6px; align-items: start;
}
.sh-consultpage__aside {
  background: #f7f9fc; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
}
.sh-consultpage__aside h3 { margin: 0 0 10px; font-size: 1rem; color: var(--ink); }
.sh-consultpage__aside ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.sh-consultpage__aside li { font-size: .85rem; color: var(--muted); padding-inline-start: 20px; position: relative; }
.sh-consultpage__aside li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; color: #0a7a3d; font-weight: 800;
}
.sh-consultpage__contact { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 4px; }
.sh-consultpage__contact span { font-size: .74rem; color: var(--muted); }
.sh-consultpage__contact a { font-weight: 800; color: var(--ink) !important; font-size: 1.05rem; }
.sh-consultpage__contact small { color: var(--muted); font-size: .76rem; }

.sh-inline { display: inline-block; margin: 0; }
.sh-inline select { font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }

@media (max-width: 760px) {
  .sh-consultpage__grid { grid-template-columns: 1fr; }
  .sh-consultpage__aside { order: -1; }
}

.sh-appband__inner.is-app { justify-content: center; }

/* ---------- جست‌وجوی زنده ---------- */
.sh-search { position: fixed; inset: 0; z-index: 1400; display: flex; justify-content: center; padding: 10vh 16px 20px; }
.sh-search[hidden] { display: none; }
.sh-search__backdrop { position: absolute; inset: 0; background: rgba(3, 20, 38, .55); backdrop-filter: blur(3px); }
.sh-search__box {
  position: relative; width: 100%; max-width: 640px; align-self: flex-start;
  background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(3, 20, 38, .35);
  padding: 10px; max-height: 76vh; display: flex; flex-direction: column; overflow: hidden;
}
.sh-search__form { display: flex; align-items: center; gap: 8px; padding: 4px 6px; }
.sh-search__icon { color: var(--muted); flex: 0 0 auto; }
.sh-search__form input {
  flex: 1; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 10px 4px;
  background: transparent; color: var(--ink);
}
.sh-search__close {
  border: 0; background: #f2f4f7; color: var(--muted); width: 32px; height: 32px;
  border-radius: 50%; font-size: 1.2rem; line-height: 1; cursor: pointer; flex: 0 0 auto;
}
.sh-search__hint { font-size: .78rem; color: var(--muted); padding: 6px 10px 8px; border-top: 1px solid var(--line); }
.sh-search__list { list-style: none; margin: 0; padding: 0 4px 6px; overflow-y: auto; }
.sh-search__list li a {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px;
  padding: 10px 10px; border-radius: 10px; text-decoration: none !important; color: var(--ink) !important;
}
.sh-search__list li a:hover { background: #f4f7fb; }
.sh-search__type {
  font-size: .68rem; font-weight: 800; background: #eef3fb; color: #2c6bed;
  padding: 2px 8px; border-radius: 999px; flex: 0 0 auto;
}
.sh-search__list b { font-size: .92rem; }
.sh-search__list small { flex-basis: 100%; color: var(--muted); font-size: .78rem; }

.sh-searchresults { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.sh-searchresults li a {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none !important; color: var(--ink) !important; background: #fff;
}
.sh-searchresults li a:hover { border-color: #c9d6ea; background: #fafcff; }
.sh-searchresults__type {
  font-size: .68rem; font-weight: 800; background: #eef3fb; color: #2c6bed;
  padding: 2px 8px; border-radius: 999px;
}
.sh-searchresults small { flex-basis: 100%; color: var(--muted); font-size: .8rem; }
.sh-searchresults__price { margin-inline-start: auto; font-size: .8rem; font-weight: 800; color: #0a7a3d; }
.sh-searchform { display: flex; gap: 10px; margin-top: 14px; }
.sh-searchform input {
  flex: 1; font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
}
.sh-searchform input:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---------- دستیار هوشمند ---------- */
.sh-chat { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 1200; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.sh-chat__fab {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #ffd60a, #f2b705); color: #1b1f24;
  box-shadow: 0 14px 30px rgba(3, 20, 38, .35), inset 0 0 0 1px rgba(255, 255, 255, .35);
  transition: transform .15s ease;
}
.sh-chat__fab:hover { transform: translateY(-2px); }
.sh-chat.is-open .sh-chat__fab { display: none; }
.sh-chat__panel {
  width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px));
  background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(3, 20, 38, .3);
  display: flex; flex-direction: column; overflow: hidden;
}
.sh-chat__panel[hidden] { display: none; }
.sh-chat__head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: linear-gradient(135deg, #0b2a4a, #14507f); color: #fff;
}
.sh-chat__avatar {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 214, 10, .18);
  color: #ffd60a; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.sh-chat__meta { display: flex; flex-direction: column; line-height: 1.4; flex: 1; }
.sh-chat__meta b { font-size: .92rem; }
.sh-chat__meta small { font-size: .7rem; color: #cfe2f2; }
.sh-chat__close {
  border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 30px; height: 30px;
  border-radius: 50%; font-size: 1.15rem; line-height: 1; cursor: pointer;
}
.sh-chat__body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f7f9fc; }
.sh-chat__msg {
  max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: .84rem; line-height: 1.85;
  white-space: pre-wrap; word-break: break-word;
}
.sh-chat__msg.is-bot { background: #fff; color: var(--ink); border: 1px solid var(--line); align-self: flex-start; border-start-start-radius: 4px; }
.sh-chat__msg.is-user { background: #0b2a4a; color: #fff; align-self: flex-end; border-end-end-radius: 4px; }
.sh-chat__msg.is-typing { background: #fff; border: 1px solid var(--line); color: var(--muted); align-self: flex-start; letter-spacing: 2px; }
.sh-chat__chips { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; background: #fff; border-top: 1px solid var(--line); }
.sh-chat__chips button {
  flex: 0 0 auto; font: inherit; font-size: .74rem; padding: 6px 12px; border-radius: 999px;
  border: 1px solid #d9e2ee; background: #f4f8fd; color: #14507f; cursor: pointer;
}
.sh-chat__chips button:hover { background: #e8f1fb; }
.sh-chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.sh-chat__form input {
  flex: 1; font: inherit; font-size: .86rem; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #f7f9fc;
}
.sh-chat__form input:focus { outline: 2px solid var(--accent); border-color: transparent; background: #fff; }
.sh-chat__form button {
  width: 40px; height: 40px; border: 0; border-radius: 10px; cursor: pointer;
  background: #0b2a4a; color: #ffd60a; display: inline-flex; align-items: center; justify-content: center;
}

@media (max-width: 640px) {
  .sh-search { padding-top: 6vh; }
  .sh-chat { inset-inline-end: 12px; bottom: 76px; }
  .sh-chat__fab { width: 50px; height: 50px; }
  .sh-chat__panel { height: min(70vh, 520px); }
}

.sh-searchform input { min-width: 0; }
@media (max-width: 640px) {
  .sh-searchform { flex-direction: column; }
  .sh-searchform .sh-btn { width: 100%; }
}

/* ---------- لوگوی دوره‌ها ---------- */
.sh-clogo {
  width: 46px; height: 46px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; color: #fff; flex: 0 0 auto;
  background: linear-gradient(140deg, #0b2a4a, #14507f);
  box-shadow: 0 8px 18px rgba(11, 42, 74, .22);
}
.sh-clogo--ai { background: linear-gradient(140deg, #6d5efc, #3b82f6); }
.sh-clogo--trade { background: linear-gradient(140deg, #0f9d58, #34d399); }
.sh-clogo--medical { background: linear-gradient(140deg, #e11d48, #fb7185); }
.sh-clogo--moho { background: linear-gradient(140deg, #f59e0b, #f97316); }
.sh-clogo--free-video { background: linear-gradient(140deg, #0ea5e9, #22d3ee); }
.sh-clogo--free-comic { background: linear-gradient(140deg, #8b5cf6, #ec4899); }
.sh-clogo--free-story { background: linear-gradient(140deg, #0d9488, #14b8a6); }
.sh-clogo--free-special { background: linear-gradient(140deg, #f43f5e, #f59e0b); }
.sh-clogo--lg { width: 52px; height: 52px; border-radius: 16px; }
.sh-course > .sh-clogo { margin-bottom: 12px; }
.sh-coursetitle { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sh-mycard__head .sh-clogo { width: 36px; height: 36px; border-radius: 11px; }
.sh-mycard__head .sh-clogo svg { width: 18px; height: 18px; }

/* ---------- نتایج مرتبط جست‌وجو ---------- */
.sh-search__rel, .sh-searchresults__rel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 0 10px 10px; font-size: .74rem; color: var(--muted);
}
.sh-searchresults__rel { padding: 8px 16px 0; }
.sh-search__rel a, .sh-searchresults__rel a {
  background: #f1f6fd; color: #14507f !important; text-decoration: none !important;
  padding: 3px 9px; border-radius: 999px; font-weight: 700;
}
.sh-search__rel a:hover, .sh-searchresults__rel a:hover { background: #e2edfb; }

/* ---------- دکمه‌های گفت‌وگو ---------- */
.sh-chat__msg a { color: #14507f; text-decoration: underline; word-break: break-all; }
.sh-chat__msg.is-user a { color: #ffe680; }
.sh-chat__actions { display: flex; gap: 6px; flex-wrap: wrap; align-self: flex-start; margin-top: -2px; }
.sh-chat__actions a {
  font-size: .72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: #0b2a4a; color: #ffd60a !important; text-decoration: none !important;
}
.sh-chat__actions a + a { background: #eef3fb; color: #14507f !important; }

/* ---------- تاریخچهٔ گفت‌وگو در پنل ---------- */
.sh-chatlog { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.sh-chatlog__row {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.sh-chatlog__row.is-user { background: #f4f8fd; }
.sh-chatlog__who { font-size: .7rem; font-weight: 800; color: var(--muted); }
.sh-chatlog__text { font-size: .86rem; line-height: 1.9; color: var(--ink); }
.sh-chatlog__meta { font-size: .7rem; color: var(--muted); }

/* ---------- درگاه استادی ---------- */
.sh-teacher-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sh-teacher-head h1 { margin: 6px 0 4px; }
.sh-teacher-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; }
.sh-teacher-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff;
  display: flex; flex-direction: column; gap: 8px;
}
.sh-teacher-card h3 { margin: 0; font-size: .98rem; color: var(--ink); }
.sh-teacher-card__stats { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); }
.sh-teacher-card__stats b { color: var(--ink); }
.sh-teacher-card__stats .is-share b { color: #0a7a3d; }
.sh-teacher-card .sh-course__more { margin-top: auto; }
.sh-checks { display: grid; gap: 8px; }
.sh-checks__item {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 10px; font-size: .86rem; font-weight: 500;
}
.sh-checks__item input { width: 18px; height: 18px; flex: 0 0 18px; }
.sh-teacher-auth { max-width: 520px; margin-inline: auto; }

@media (max-width: 640px) {
  .sh-teacher-head { flex-direction: column; }
  .sh-teacher-courses { grid-template-columns: 1fr; }
}

/* ---------- کیف پول استاد ---------- */
.sh-wallet {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 16px; display: flex; flex-direction: column; gap: 10px; margin-top: 14px;
}
.sh-wallet__balance {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px;
  background: linear-gradient(135deg, #0b2a4a, #14507f); color: #fff;
}
.sh-wallet__balance span { font-size: .78rem; opacity: .82; }
.sh-wallet__balance b { font-size: 1.5rem; letter-spacing: .5px; }
.sh-wallet__balance b small { font-size: .72rem; font-weight: 500; opacity: .85; }
.sh-wallet__balance small { font-size: .74rem; opacity: .78; }

/* ---------- بخش بازشو (details) ---------- */
.sh-expand { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sh-expand > summary {
  cursor: pointer; list-style: none; padding: 12px 16px; font-weight: 700; font-size: .88rem;
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.sh-expand > summary::-webkit-details-marker { display: none; }
.sh-expand > summary::after { content: "+"; font-size: 1.1rem; color: var(--muted); line-height: 1; }
.sh-expand[open] > summary::after { content: "−"; }
.sh-expand[open] > summary { border-bottom: 1px solid var(--line); }
.sh-expand > form, .sh-expand > .sh-table-wrap, .sh-expand > .sh-lessonlist { padding: 12px 16px; }
.sh-expand .sh-table-wrap { padding: 0; }

/* ---------- فهرست جلسه‌ها ---------- */
.sh-lessonlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sh-lessonlist li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border-radius: 10px; background: #f7f9fc; font-size: .84rem; color: var(--ink);
}
.sh-lessonlist li.is-off { opacity: .55; text-decoration: line-through; }
.sh-lessonlist li form { margin: 0; }

/* ---------- دکمه‌های کوچک ---------- */
.sh-mini {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: .76rem; font-weight: 700; cursor: pointer; text-decoration: none;
  font-family: inherit; line-height: 1.6;
}
.sh-mini:hover { border-color: #14507f; color: #14507f; }
.sh-mini--danger { color: #b42318; border-color: #f3c1bd; }
.sh-mini--danger:hover { background: #fdf1f0; color: #b42318; border-color: #b42318; }
.sh-mini[disabled] { opacity: .45; cursor: not-allowed; }
.sh-teacher-card__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sh-teacher-card__actions form { margin: 0; }

/* ---------- پنل کارمند ---------- */
.sh-staffgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.sh-staffcard {
  display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sh-staffcard:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 42, 74, .1); border-color: #14507f; }
.sh-staffcard b { font-size: .92rem; }
.sh-staffcard small { font-size: .74rem; color: var(--muted); }

@media (max-width: 640px) {
  .sh-wallet__balance b { font-size: 1.2rem; }
  .sh-staffgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-lessonlist li { flex-wrap: wrap; }
}

/* ---------- راهنمای آپلود ویدیو ---------- */
.sh-upload-guide ul { margin: 8px 0 0; padding-inline-start: 20px; display: grid; gap: 6px; font-size: .84rem; line-height: 1.9; }
.sh-upload-guide b { color: var(--ink); }
.sh-upload-guide code { background: #eef3fb; padding: 1px 5px; border-radius: 6px; font-size: .78rem; }

/* ---------- تنظیمات سایت دانلود ---------- */
.sh-dlbase { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 16px; margin-top: 12px; display: grid; gap: 10px; }
.sh-dlbase__row { display: flex; gap: 8px; align-items: center; }
.sh-dlbase__row input { flex: 1; }
.sh-dlbase__hint { margin: 6px 0 0; font-size: .8rem; line-height: 1.9; }
.sh-dlbase__snippet pre {
  margin: 8px 0 0; padding: 12px; border-radius: 10px; background: #0b2a4a; color: #e8f0fb;
  font-size: .74rem; line-height: 1.8; overflow-x: auto; direction: ltr; text-align: left; white-space: pre;
}
.sh-dlbase__snippet { padding: 12px 16px; }
@media (max-width: 640px) { .sh-dlbase__row { flex-direction: column; align-items: stretch; } }

/* ---------- نشان کاربر/کارمند در هدر ---------- */
.sh-userchip { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sh-userchip.has-role { max-width: 210px; }
.sh-userchip__name { overflow: hidden; text-overflow: ellipsis; }
.sh-userchip__role {
  font-size: .66rem; font-weight: 700; color: #0b2a4a; background: #ffd60a;
  border-radius: 999px; padding: 1px 7px; white-space: nowrap;
}
.sh-rolebadge {
  display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0;
  padding: 4px 12px; border-radius: 999px; background: #fff4c2; color: #6b4e00;
  font-size: .8rem; font-weight: 700;
}
.sh-rolebadge span { opacity: .75; font-weight: 600; }
@media (max-width: 640px) {
  .sh-userchip.has-role { max-width: 110px; }
  .sh-userchip__role { display: none; }
}

/* ===== داشبورد مدیریت ===== */
.sh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 6px; }
.sh-kpi {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; background: linear-gradient(180deg, #ffffff, #f7f9fc);
  display: flex; flex-direction: column; gap: 2px;
}
.sh-kpi::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px;
  background: #cfd9e6;
}
.sh-kpi--gold::before { background: linear-gradient(180deg, #ffd60a, #e0a800); }
.sh-kpi__label { font-size: .76rem; color: var(--muted); font-weight: 600; }
.sh-kpi b { font-size: 1.35rem; color: #0b2a4a; letter-spacing: .2px; }
.sh-kpi small { font-size: .72rem; color: var(--muted); }
.sh-kpi small a { color: #14507f; font-weight: 700; }

.sh-dash__title { font-size: 1.02rem; margin: 26px 0 12px; }
.sh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sh-tile {
  display: flex; flex-direction: column; gap: 4px; padding: 16px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  color: var(--ink) !important; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sh-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 42, 74, .1); border-color: #14507f; }
.sh-tile__icon { font-size: 1.35rem; line-height: 1; }
.sh-tile b { font-size: .9rem; }
.sh-tile small { font-size: .74rem; color: var(--muted); }

.sh-dash__cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: 22px; }
.sh-dash__card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 16px 18px; }
.sh-dash__cardhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sh-dash__cardhead h2 { margin: 0; font-size: .95rem; }
.sh-dash__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sh-dash__list li { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #f7f9fc; }
.sh-dash__list a { color: var(--ink) !important; font-weight: 700; font-size: .86rem; text-decoration: none; }
.sh-dash__list a:hover { color: #14507f !important; }

@media (max-width: 980px) {
  .sh-kpis, .sh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-dash__cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .sh-kpis { grid-template-columns: 1fr; }
  .sh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-kpi b { font-size: 1.15rem; }
}

/* دکمهٔ دانلود نسخهٔ ویندوز */
.sh-appdl--win { margin-top: -8px; border-color: rgba(148, 190, 235, .35); }
.sh-appdl--win .sh-appdl__icon { background: linear-gradient(135deg, #9cc7f5, #6aa7e8); color: #0b2a4a; box-shadow: 0 4px 10px rgba(106, 167, 232, .28); }
.sh-appdl--win:hover { border-color: #9cc7f5; }

/* دکمهٔ نسخهٔ ویندوز در بنر اپ‌ها */
.sh-appband__btn--win {
  background: linear-gradient(135deg, #e9f2ff, #cfe3ff); color: #0b2a4a !important;
  border: 1px solid rgba(255, 255, 255, .5); box-shadow: none;
  font-size: .92rem; padding: 11px 24px;
}
.sh-appband__btn--win:hover { background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.sh-appband__btn--win::before { content: "⊞"; margin-inline-end: 7px; font-size: 1rem; }

/* ===== داشبورد مدیریت — نسخهٔ حرفه‌ای ===== */
.sh-dash__hero { display: flex; align-items: center; gap: 14px; }
.sh-dash__logo {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b2a4a, #17406b);
  color: #ffd60a; font-size: 1.5rem; font-weight: 800;
  box-shadow: 0 10px 22px rgba(11, 42, 74, .28);
}
.sh-dash__hero h1 { margin: 2px 0 2px; font-size: 1.55rem; letter-spacing: -.2px; }
.sh-dash__headacts { display: flex; gap: 8px; align-items: center; }

.sh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0 4px; }
.sh-kpi {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid #e6ecf3; border-radius: 16px; padding: 16px 16px 14px;
  background: #fff; box-shadow: 0 2px 10px rgba(11, 42, 74, .04);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.sh-kpi:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 42, 74, .1); border-color: #cfdcec; }
.sh-kpi::before { display: none; }
.sh-kpi__ico {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; background: #eef4ff;
}
.sh-kpi--gold .sh-kpi__ico { background: #fff6cc; }
.sh-kpi__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sh-kpi__label { font-size: .76rem; color: #6b7c90; font-weight: 700; }
.sh-kpi b { font-size: 1.32rem; color: #0b2a4a; line-height: 1.35; }
.sh-kpi small { font-size: .72rem; color: #8593a5; }
.sh-kpi small a { color: #14507f; font-weight: 700; }

.sh-dash__title {
  position: relative; font-size: 1.02rem; margin: 30px 0 14px; padding-inline-start: 12px;
}
.sh-dash__title::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 18px; border-radius: 4px; background: linear-gradient(180deg, #ffd60a, #e0a800);
}

.sh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sh-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px;
  border: 1px solid #e6ecf3; border-radius: 16px; background: #fff;
  color: var(--ink) !important; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.sh-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(11, 42, 74, .12); border-color: #b9cfe8; }
.sh-tile__icon {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.15rem;
  background: linear-gradient(135deg, #eef4ff, #e2edff);
}
.sh-tile b { font-size: .92rem; }
.sh-tile small { font-size: .74rem; color: #7b8a9c; line-height: 1.7; }
.sh-tile::after {
  content: "←"; position: absolute; inset-inline-end: 14px; top: 16px;
  color: #c3d1e0; font-size: .95rem; transition: transform .16s ease, color .16s ease;
}
.sh-tile:hover::after { transform: translateX(-3px); color: #14507f; }

.sh-dash__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 26px; }
.sh-dash__card { border: 1px solid #e6ecf3; border-radius: 16px; background: #fff; padding: 16px 18px; box-shadow: 0 2px 10px rgba(11, 42, 74, .04); }
.sh-dash__cardhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sh-dash__cardhead h2 { margin: 0; font-size: .96rem; }
.sh-dash__card .sh-table tbody tr:hover { background: #f7faff; }

@media (max-width: 980px) {
  .sh-kpis, .sh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-dash__cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .sh-kpis { grid-template-columns: 1fr; }
  .sh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-dash__logo { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.25rem; }
  .sh-dash__hero h1 { font-size: 1.3rem; }
  .sh-kpi b { font-size: 1.15rem; }
  .sh-tile::after { display: none; }
}

/* ===== مودال پیش‌نمایش — نسخهٔ حرفه‌ای ===== */
.sh-film__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 2px;
}
.sh-film__badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 214, 10, .14); color: #ffd60a; font-size: .74rem; font-weight: 800;
}
.sh-film__badge::before { content: "▶"; font-size: .6rem; }
.sh-film__baracts { display: flex; align-items: center; gap: 8px; }
.sh-film__act {
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06); color: #e6eef8 !important; font-size: .76rem;
  font-weight: 700; cursor: pointer; text-decoration: none; font-family: inherit;
}
.sh-film__act:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 214, 10, .5); }
.sh-film__close {
  position: static; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: #ffd60a; color: #1b1f24; font-size: 1.35rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sh-film__close:hover { background: #ffe14d; }
.sh-film__loader {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: #04101d; color: #cfe0ef; font-size: .85rem;
  transition: opacity .25s ease;
}
.sh-film__loader.is-hidden { opacity: 0; pointer-events: none; }
.sh-film__spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(255, 214, 10, .25); border-top-color: #ffd60a;
  animation: shFilmSpin .8s linear infinite;
}
@keyframes shFilmSpin { to { transform: rotate(360deg); } }
.sh-film__retry {
  margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: #ffd60a;
  color: #1b1f24 !important; font-weight: 800; font-size: .82rem; text-decoration: none;
}
.sh-film__meta { padding: 0 4px; }
.sh-film__meta h3 { color: #fff; }
@media (max-width: 640px) {
  .sh-film__act { padding: 6px 10px; font-size: .7rem; }
  .sh-film__baracts { gap: 6px; }
}

/* ===== اپ ویندوز: حذف هدر تکراری سایت ===== */
body.is-winapp .sh-header { display: none !important; }
body.is-winapp .sh-appband { display: none !important; }
body.is-winapp .sh-page { padding-top: 18px; }
body.is-winapp .sh-footer { margin-top: 26px; }

/* ===== حسابداری ===== */
.sh-acct__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sh-acct__grid label,
.sh-acct__wide { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--ink); }
.sh-acct__grid input,
.sh-acct__grid select,
.sh-acct__wide textarea {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.sh-acct__grid input:focus,
.sh-acct__grid select:focus,
.sh-acct__wide textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.sh-acct__wide { margin-top: 10px; }
.sh-acct__filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.sh-acct__filters select,
.sh-acct__filters input {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.sh-acct__filters input[name="q"] { flex: 1 1 220px; min-width: 150px; }
.sh-acct__rate { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: var(--ink); }
.sh-acct__rate input {
  width: 92px;
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.sh-acct__badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.sh-acct__badge--in { background: #e7f7ee; color: #0a7a3d; }
.sh-acct__badge--out { background: #fdeaea; color: #b42318; }
.sh-acct__pos,
.sh-kpi__body b.sh-acct__pos { color: #0a7a3d; }
.sh-acct__neg,
.sh-kpi__body b.sh-acct__neg { color: #b42318; }
.sh-acct__pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .sh-acct__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sh-acct__grid { grid-template-columns: 1fr; } }

/* ===== دورهٔ رایگان و جلسهٔ کمیک ===== */
.sh-badge--free { background: #e7f7ee; color: #0a7a3d; }
.sh-tag--comic { background: #eef4ff; border-color: #d5e3ff; color: #1e40af; }
.sh-watch__player.is-comic { aspect-ratio: auto; background: transparent; box-shadow: none; overflow: visible; }
.sh-comic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sh-comic__panel {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0B2A4A;
  box-shadow: 0 14px 34px rgba(2, 12, 24, .35);
}
.sh-comic__panel img { display: block; width: 100%; height: auto; }
.sh-comic__panel figcaption {
  padding: 10px 14px;
  font-size: .84rem;
  font-weight: 700;
  color: #e8f1fb;
  background: rgba(2, 18, 31, .55);
}
@media (max-width: 720px) { .sh-comic { grid-template-columns: 1fr; } }
.sh-tag--story { background: #fff4e5; border-color: #ffe0b8; color: #a35a00; }
.sh-story {
  background: #0f3357;
  border: 1px solid rgba(255, 214, 10, .25);
  border-radius: 16px;
  padding: 26px 30px;
  color: #e8f1fb;
  font-size: 1.02rem;
  line-height: 2.1;
}
.sh-story p { margin: 0 0 14px; }
.sh-story p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .sh-story { padding: 18px 18px; font-size: .95rem; } }

/* ================= داشبورد دانشجو ================= */
.sh-dash__head { align-items: center; }
.sh-dash__hello h1 { margin: 2px 0 4px; }
.sh-dash__headside { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sh-dash__last { margin: 0; font-size: .78rem; color: var(--muted); }
.sh-dash__last b { color: #0b2a4a; }
.sh-ring {
  --p: 0;
  position: relative; width: 104px; height: 104px; border-radius: 50%;
  background: conic-gradient(#16a34a calc(var(--p) * 1%), #e6ebf1 0);
  display: grid; place-items: center; flex: 0 0 auto;
}
.sh-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.sh-ring__val { position: relative; font-weight: 800; font-size: 1.25rem; color: #0b2a4a; line-height: 1; }
.sh-ring__val small { font-size: .7rem; font-weight: 700; }
.sh-ring__cap { position: absolute; bottom: 15px; font-size: .58rem; color: var(--muted); }

.sh-continue {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px;
  margin: 18px 0 6px; padding: 22px; border-radius: 18px;
  background: radial-gradient(120% 160% at 0% 0%, rgba(255, 214, 10, .16), transparent 55%),
              linear-gradient(135deg, #0b2a4a, #14507f);
  color: #fff; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 16px 40px rgba(11, 42, 74, .18);
}
.sh-continue h2 { color: #fff; margin: 2px 0 6px; font-size: 1.2rem; }
.sh-continue__top { display: flex; align-items: center; gap: 14px; }
.sh-continue__kicker { display: inline-block; font-size: .72rem; font-weight: 700; color: #ffd60a; letter-spacing: .2px; }
.sh-continue__lesson { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .86); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sh-continue__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sh-continue .sh-progressbar { background: rgba(255, 255, 255, .18); }
.sh-continue .sh-progress__label { color: #fff; }
.sh-continue .sh-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff !important; border: 1px solid rgba(255, 255, 255, .28); }
.sh-continue__side { border-inline-start: 1px solid rgba(255, 255, 255, .16); padding-inline-start: 18px; }
.sh-continue__side h3 { margin: 0 0 10px; font-size: .82rem; color: rgba(255, 255, 255, .8); font-weight: 700; }
.sh-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sh-recent a { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 10px; color: #fff; text-decoration: none; transition: background .15s; }
.sh-recent a:hover, .sh-recent a:focus-visible { background: rgba(255, 255, 255, .1); }
.sh-recent b { font-size: .82rem; font-weight: 700; }
.sh-recent span { font-size: .76rem; color: rgba(255, 255, 255, .82); }
.sh-recent small { font-size: .68rem; color: rgba(255, 255, 255, .6); }
.sh-continue--empty { grid-template-columns: 1fr; text-align: center; }
.sh-continue--empty .sh-muted { color: rgba(255, 255, 255, .78); }

.sh-progress { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sh-progress .sh-progressbar { flex: 1; }
.sh-progress__label { font-size: .78rem; font-weight: 700; color: #0b2a4a; min-width: 38px; text-align: end; }

.sh-statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.sh-statgrid .sh-stat { background: #fff; }

.sh-mycard__badge.is-active { background: #e7f7ee; color: #0a7a3d; }
.sh-mycard__badge.is-done { background: #eef4ff; color: #1e40af; }
.sh-mycard__next { margin: 0; font-size: .78rem; color: var(--muted); }

.sh-dash__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.sh-cardbox { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 18px; }
.sh-cardbox h2 { font-size: 1rem; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); }

.sh-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sh-timeline li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.sh-timeline__kind { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.sh-timeline__kind.is-lesson { background: #eef4ff; color: #1e40af; }
.sh-timeline__kind.is-deal { background: #fff4e5; color: #a35a00; }
.sh-timeline__kind.is-soon { background: #e7f7ee; color: #0a7a3d; }
.sh-timeline__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sh-timeline__body a { color: var(--ink); font-size: .85rem; text-decoration: none; }
.sh-timeline__body a:hover { color: #0b2a4a; text-decoration: underline; }
.sh-timeline__body span { font-size: .76rem; color: var(--muted); }
.sh-timeline time { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.sh-annlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sh-annlist li { border-inline-start: 3px solid #14507f; background: #f8fafc; border-radius: 0 10px 10px 0; padding: 9px 12px; }
.sh-annlist li.is-success { border-inline-start-color: #16a34a; }
.sh-annlist li.is-warn { border-inline-start-color: #f59e0b; }
.sh-annlist li.is-danger { border-inline-start-color: #e11d48; }
.sh-annlist b { display: block; font-size: .86rem; color: var(--ink); }
.sh-annlist p { margin: 3px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.9; }
.sh-annlist small { display: block; margin-top: 4px; font-size: .68rem; color: #9aa3ad; }
.sh-annlist__pin { font-size: .8rem; }

.sh-lib { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sh-lib li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.sh-lib a { font-size: .85rem; font-weight: 700; color: #0b2a4a; }
.sh-lib span { font-size: .72rem; }

.sh-fold { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 16px; }
.sh-fold > summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: .9rem; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 8px; }
.sh-fold > summary::-webkit-details-marker { display: none; }
.sh-fold > summary::before { content: "▸"; color: #0b2a4a; transition: transform .15s; }
.sh-fold[open] > summary::before { transform: rotate(90deg); }
.sh-fold > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.sh-fold .sh-devices { margin: 0 0 14px; }
.sh-fold .sh-table-wrap { margin-bottom: 14px; }

.sh-tag--video { background: #eef4ff; border-color: #d5e3ff; color: #1e40af; }
.sh-btn--lg { padding: 12px 22px; font-size: .95rem; }
.sh-watch__resume { display: inline-block; margin-top: 6px; font-size: .76rem; color: #ffd60a; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .sh-continue { grid-template-columns: 1fr; }
  .sh-continue__side { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding-inline-start: 0; padding-top: 14px; }
  .sh-dash__cols { grid-template-columns: 1fr; }
  .sh-dash__headside { width: 100%; justify-content: space-between; }
}
@media (max-width: 520px) {
  .sh-ring { width: 88px; height: 88px; }
  .sh-ring__val { font-size: 1.05rem; }
  .sh-timeline li { grid-template-columns: auto 1fr; }
  .sh-timeline time { grid-column: 2; }
}

/* ================= داشبورد استاد ================= */
.sh-teacher-card__head { display: flex; align-items: center; gap: 10px; }
.sh-teacher-card__head h3 { margin: 0; }
.sh-teacher-card__head .sh-tag { margin-top: 3px; }
.sh-teacher-card__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-coursefilter { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin: 4px 0 12px; }
.sh-coursefilter label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.sh-coursefilter select, .sh-coursefilter input {
  font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); min-width: 150px;
}
.sh-coursefilter select:focus, .sh-coursefilter input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.sh-tasklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sh-tasklist li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: #fbfcfd;
}
.sh-tasklist li.is-urgent { border-color: #f3c9c4; background: #fdf6f5; }
.sh-tasklist__type { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef4ff; color: #1e40af; white-space: nowrap; }
.sh-tasklist li.is-urgent .sh-tasklist__type { background: #fde8e6; color: #b42318; }
.sh-tasklist__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sh-tasklist__body b { font-size: .85rem; color: var(--ink); }
.sh-tasklist__body span { font-size: .76rem; color: var(--muted); }
.sh-risklist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.sh-risklist li { border: 1px solid #f3e3b8; background: #fffdf6; border-radius: 12px; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; }
.sh-risklist b { font-size: .85rem; color: var(--ink); }
.sh-risklist span { font-size: .74rem; color: var(--muted); }
.sh-risklist small { font-size: .72rem; color: #a35a00; font-weight: 700; }
.sh-subtitle { font-size: .9rem; margin: 14px 0 8px; color: var(--ink); }
.sh-lessonlist__warn { display: inline-block; margin-inline-start: 6px; font-size: .66rem; color: #b42318; background: #fde8e6; padding: 1px 7px; border-radius: 999px; }
@media (max-width: 520px) {
  .sh-tasklist li { grid-template-columns: auto 1fr; }
  .sh-tasklist li .sh-mini { grid-column: 2; justify-self: start; }
}

.sh-preview-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sh-preview-bar .sh-mini { margin-inline-start: auto; }

/* ================= تکالیف، نمره‌دهی، حضور و مدارک ================= */
.sh-gradegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 12px; }
.sh-gradecard { display: flex; flex-direction: column; gap: 8px; }
.sh-gradecard.is-graded { border-color: #bfe3cd; background: #f7fdf9; }
.sh-gradecard__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sh-gradecard__head b { font-size: .92rem; color: var(--ink); }
.sh-gradecard__text { font-size: .82rem; color: #41556a; line-height: 1.9; margin: 0; background: #f7f9fc; border-radius: 10px; padding: 9px 12px; }
.sh-gradecard__score { font-size: .9rem; color: var(--navy); margin: 0; }
.sh-gradecard__score b { font-size: 1.25rem; color: #0a7a3d; }
.sh-gradecard .sh-form { margin-top: 4px; }
.sh-gradecard .sh-form input, .sh-gradecard .sh-form textarea { font-size: .85rem; }
.sh-certlist { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sh-certlist li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  border: 1px solid #f0e2b6; background: linear-gradient(180deg,#fffdf5,#fff); border-radius: 14px; padding: 12px 16px;
}
.sh-certlist__icon { font-size: 1.6rem; }
.sh-certlist b { display: block; font-size: .9rem; color: var(--ink); }
.sh-certlist span { font-size: .74rem; }
@media (max-width: 520px) {
  .sh-certlist li { grid-template-columns: auto 1fr; }
  .sh-certlist li .sh-mini { grid-column: 2; justify-self: start; }
}

/* ================= داشبورد حسابداری ================= */
.sh-accview { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.sh-accview a {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .85rem; font-weight: 700; color: var(--ink); text-decoration: none;
}
.sh-accview a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sh-accview__sync { margin-inline-start: auto; font-size: .72rem; color: var(--muted); }
.sh-accfilter { flex-wrap: wrap; }
.sh-accfilter label { display: flex; flex-direction: column; gap: 3px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.sh-accfilter input, .sh-accfilter select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.sh-accgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.sh-accmini { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sh-accmini span { flex: 1; min-width: 120px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fbfcfd; font-size: .78rem; color: var(--muted); }
.sh-accmini b { display: block; font-size: 1.15rem; color: var(--navy); }
.sh-accinline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sh-accinline input { font: inherit; font-size: .76rem; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; max-width: 130px; }
.sh-expand--mini { margin-top: 6px; }
.sh-expand--mini summary { font-size: .72rem; }
.sh-auditlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sh-auditlist li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; background: #fbfcfd; }
.sh-auditlist__act { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef4ff; color: #1e40af; white-space: nowrap; }
.sh-auditlist__act.is-ابطال { background: #fde8e6; color: #b42318; }
.sh-auditlist__act.is-اصلاح { background: #fff4d6; color: #a35a00; }
.sh-auditlist b { display: block; font-size: .82rem; color: var(--ink); }
.sh-auditlist span { font-size: .72rem; color: var(--muted); }
.sh-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sh-checklist li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .82rem; background: #fbfcfd; }
.sh-checklist li b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: .8rem; }
.sh-checklist li.is-done { border-color: #bfe3cd; background: #f7fdf9; color: #0a7a3d; }
.sh-checklist li.is-done b { background: #d9f2e3; color: #0a7a3d; }
.sh-checklist li.is-todo { border-color: #f3e3b8; background: #fffdf6; color: #8a5a00; }
.sh-checklist li.is-todo b { background: #fbeccb; color: #8a5a00; }
@media (max-width: 620px) {
  .sh-accview__sync { margin-inline-start: 0; width: 100%; }
}

/* ================= ویرایش جلسه در داشبورد استاد ================= */
.sh-lessonlist li { flex-wrap: wrap; }
.sh-lessonedit { flex-basis: 100%; }
.sh-lessonedit > summary { font-size: .72rem; font-weight: 700; color: var(--accent); cursor: pointer; }
.sh-lessonedit .sh-form { margin-top: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.sh-lessonedit .sh-form input { font-size: .8rem; }

/* ================= داشبرد خریدار (کتابخانه، اعلان، تنظیمات، پشتیبانی) ================= */
.sh-quickbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.sh-quickbar__item {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .82rem; font-weight: 700;
  text-decoration: none; transition: .18s; position: relative;
}
.sh-quickbar__item:hover { border-color: #b9c9da; background: #f6f9fc; transform: translateY(-1px); }
.sh-quickbar__item.is-primary { background: var(--navy, #0b2a4a); border-color: var(--navy, #0b2a4a); color: #fff; }
.sh-quickbar__item.is-primary:hover { background: #123c66; }
.sh-quickbar__badge {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ffd60a; color: #3b2f00;
  font-size: .68rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 560px) {
  .sh-quickbar { gap: 6px; }
  .sh-quickbar__item { padding: 7px 11px; font-size: .76rem; }
}

.sh-libfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.sh-libfilter input, .sh-libfilter select {
  flex: 1 1 180px; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; font-size: .82rem; color: var(--ink);
}
.sh-libfilter input:focus, .sh-libfilter select:focus { outline: 2px solid rgba(199,127,81,.35); border-color: var(--accent, #c77f51); }
.sh-libfilter__empty { text-align: center; padding: 18px 0; }
.sh-mycard[hidden] { display: none !important; }
.sh-mycard__badge.is-free { background: #e6f7f1; color: #0a7a5c; }

.sh-cardbox__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sh-cardbox__head h2 { flex: 1 1 auto; }
.sh-annlist__count {
  display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px;
  background: #fff1c2; color: #7a5a00; font-size: .66rem; font-weight: 800; vertical-align: middle;
}
.sh-annlist__all { margin: 0 0 10px; }
.sh-annlist li.is-read { opacity: .62; }
.sh-annlist__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.sh-annlist__foot small { margin: 0; }
.sh-annlist__foot form { margin: 0; }
.sh-annlist__read { font-size: .68rem; font-weight: 700; color: #0a7a3d; }

.sh-code { font-size: .72rem; padding: 1px 6px; border-radius: 6px; background: #f1f5f9; color: #334155; }

.sh-settings, .sh-support { margin-top: 16px; }
.sh-settings__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 16px; margin-bottom: 12px; }
.sh-settings__grid > div { display: flex; flex-direction: column; gap: 5px; }
.sh-settings__grid label { font-size: .78rem; font-weight: 700; color: var(--ink); }
.sh-settings__grid small { font-size: .68rem; line-height: 1.7; }
.sh-settings__checks { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 14px; }
.sh-settings__checks .sh-check { flex: 1 1 200px; }
.sh-settings__note { margin: 12px 0 0; font-size: .72rem; line-height: 1.9; }
.sh-support__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sh-support .sh-form textarea { width: 100%; }

.sh-status.is-failed, .sh-status.is-cancelled { background: #fde8e6; color: #b42318; }
.sh-cardbox__head { border-bottom: 1px solid var(--line); margin-bottom: 12px; padding-bottom: 8px; }
.sh-cardbox__head h2 { border: 0; margin: 0; padding: 0; }
.sh-settings__grid input:disabled { background: #f4f6f8; color: #6b7783; }

@media (max-width: 640px) {
  .sh-table td:nth-child(9) { grid-column: 1 / -1; }
  .sh-settings__grid { grid-template-columns: 1fr; }
  .sh-settings__checks .sh-check { flex: 1 1 100%; }
}
