@font-face { font-family: Tajawal; src: url(/system/assets/fonts/Tajawal-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Tajawal; src: url(/system/assets/fonts/Tajawal-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Tajawal; src: url(/system/assets/fonts/Tajawal-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --teal: #0f6a72; --teal-d: #0a4b52; --teal-dd: #06343a; --teal-l: #e4f1f1;
  --gold: #c69a3c; --gold-d: #a67f2c; --gold-l: #f7efdc;
  --paper: #faf8f3; --ink: #14292c; --ink2: #4a5f63; --muted: #7d8f92; --line: #e2e8e8;
  --bad: #b3261e; --ok: #1d8a5b;
  --r: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Tajawal, "Segoe UI", Tahoma, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.75; font-size: 16.5px; overflow-x: hidden; }
a { color: var(--teal); }
img { max-width: 100%; }
.i { flex: none; vertical-align: middle; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
.muted { color: var(--muted); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* رأس الصفحة */
.top { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-d); }
.brand b { display: block; white-space: nowrap; font-size: 1.12rem; font-weight: 800; line-height: 1.2; }
.brand small { display: block; color: var(--gold-d); font-weight: 700; font-size: .78rem; }
nav { display: flex; align-items: center; gap: 4px; }
nav a { text-decoration: none; color: var(--ink2); font-weight: 700; font-size: .93rem; padding: 8px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
nav a:hover { background: var(--teal-l); color: var(--teal-d); }
nav a.on { color: var(--teal-d); background: var(--teal-l); }
nav a.mut { color: var(--muted); }
nav a.member { color: var(--teal-d); }
nav a.cta { background: var(--gold); color: #241a05; margin-inline-start: 6px; }
nav a.cta:hover { background: #d4ab55; }
.menubtn { display: none; background: none; border: 0; color: var(--teal-d); padding: 8px; cursor: pointer; }

/* البطل */
.hero { background: radial-gradient(1100px 500px at 15% 10%, rgba(198,154,60,.18), transparent 60%), linear-gradient(135deg, var(--teal-dd), var(--teal) 70%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(198,154,60,.25); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; position: relative; z-index: 1; }
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .02em; font-size: .95rem; display: inline-block; margin-bottom: 10px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: #d3e6e6; font-size: 1.08rem; max-width: 600px; margin: 0 0 26px; }
.hero .logo-wrap { justify-self: center; border-radius: 50%; padding: 0; box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.25); }
.hero .logo-wrap img { display: block; width: 260px; height: 260px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: inherit; font-weight: 800; font-size: 1rem; padding: 13px 24px; border-radius: 40px; border: 2px solid transparent; cursor: pointer; transition: .15s; }
.btn.gold { background: var(--gold); color: #241a05; }
.btn.gold:hover { background: #d4ab55; }
.btn.light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn.light:hover { background: rgba(255,255,255,.1); }
.btn.teal { background: var(--teal); color: #fff; }
.btn.teal:hover { background: var(--teal-d); }
.btn.ghost { border-color: var(--line); color: var(--teal-d); background: #fff; }
.btn.ghost:hover { border-color: var(--teal); }
.btn.wa { background: #1fa855; color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* أقسام */
.sec { padding: 64px 0; }
.sec.alt { background: #fff; border-block: 1px solid var(--line); }
.sechead { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sechead span { color: var(--gold-d); font-weight: 800; font-size: .9rem; }
.sechead h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--teal-dd); }
.sechead p { color: var(--ink2); margin: 6px 0 0; max-width: 620px; }
.more { font-weight: 800; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--ink); transition: .2s; display: flex; flex-direction: column; gap: 8px; }
.pillar:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 16px 40px rgba(10,75,82,.10); }
.pillar .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--teal-l); color: var(--teal-d); display: inline-flex; align-items: center; justify-content: center; }
.pillar h3 { font-size: 1.12rem; color: var(--teal-dd); }
.pillar p { margin: 0; color: var(--ink2); font-size: .94rem; }

/* بطاقات المحتوى */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: .2s; }
.card-item:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,75,82,.10); }
.thumb { aspect-ratio: 16 / 9; position: relative; background: linear-gradient(135deg, var(--teal-d), var(--teal)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.thumb.t-lecture { background: linear-gradient(135deg, #6b4f17, var(--gold)); }
.thumb.t-article { background: linear-gradient(135deg, #24434a, #4b7b80); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge-ic { position: relative; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--teal-d); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.mem { position: absolute; top: 10px; right: 10px; background: rgba(6,52,58,.85); color: var(--gold); font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 20px; display: inline-flex; gap: 4px; align-items: center; }
.cbody { padding: 16px 18px 20px; }
.cat { color: var(--gold-d); font-weight: 800; font-size: .8rem; }
.cbody h3 { font-size: 1.08rem; color: var(--teal-dd); margin: 4px 0 6px; }
.cbody p { margin: 0; color: var(--ink2); font-size: .92rem; }
.card-item.locked .thumb::after { content: ""; position: absolute; inset: 0; background: rgba(6,52,58,.35); }
.empty { text-align: center; color: var(--muted); padding: 40px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r); }

/* شريط الدعوة */
.band { background: linear-gradient(135deg, var(--gold-l), #fff); border: 1px solid #ecdcb4; border-radius: 22px; padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.band h2 { color: var(--teal-dd); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-bottom: 6px; }
.band p { margin: 0; color: var(--ink2); }

/* الأسئلة الشائعة */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--teal-dd); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-d); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 0 16px; color: var(--ink2); white-space: pre-line; }
.faq .ans small { display: block; color: var(--gold-d); font-weight: 700; margin-bottom: 4px; }

/* صفحات داخلية */
.pagehero { background: linear-gradient(135deg, var(--teal-dd), var(--teal)); color: #fff; padding: 44px 0 46px; }
.pagehero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.pagehero p { color: #d3e6e6; margin: 8px 0 0; max-width: 680px; }
.crumbs { font-size: .85rem; color: #a9cfcf; margin-bottom: 8px; }
.crumbs a { color: #d3e6e6; text-decoration: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters a { text-decoration: none; padding: 7px 16px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--ink2); font-weight: 700; font-size: .9rem; }
.filters a.on { background: var(--teal); border-color: var(--teal); color: #fff; }

/* نماذج */
.formcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 60px rgba(10,75,82,.07); padding: 34px; max-width: 820px; margin: -34px auto 0; position: relative; }
.formcard h2 { font-size: 1.5rem; color: var(--teal-dd); margin-bottom: 4px; }
.formcard .sub { color: var(--muted); margin: 0 0 20px; }
fieldset { border: 0; padding: 0; margin: 0 0 6px; }
legend { font-weight: 800; color: var(--teal); padding: 0; margin: 18px 0 12px; display: flex; align-items: center; gap: 10px; width: 100%; }
legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.full { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .94rem; }
label small { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fbfaf7; border: 1px solid #d5dede; border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(15,106,114,.14); }
input[type=tel], input[type=number], input[type=password] { direction: ltr; text-align: right; }
.req { color: var(--gold-d); }
.err { color: var(--bad); font-size: .85rem; font-weight: 400; }
.alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; border: 1px solid; }
.alert.bad { background: #fbeceb; color: var(--bad); border-color: #f0c8c5; }
.alert.ok { background: #e6f5ee; color: #14593c; border-color: #bfe3d1; }
.alert.info { background: var(--gold-l); color: #6b4f17; border-color: #ecdcb4; }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; margin-top: 16px; }
.consent input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--teal); flex: none; }
.submit { margin-top: 22px; }

/* الاختبار */
.qitem { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; background: #fff; }
.qitem.miss { border-color: var(--bad); }
.qitem h3 { font-size: 1.04rem; color: var(--teal-dd); display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.qitem h3 .n { background: var(--teal); color: #fff; min-width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex: none; }
.qitem .help { color: var(--muted); font-size: .85rem; margin: 0 0 8px 38px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.opts label { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; cursor: pointer; transition: .12s; background: #fbfaf7; }
.opts label:hover { border-color: var(--teal); }
.opts input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; flex: none; }
.opts label:has(input:checked) { border-color: var(--teal); background: var(--teal-l); color: var(--teal-dd); font-weight: 700; }
.progress { position: sticky; top: 74px; z-index: 5; background: rgba(250,248,243,.95); padding: 10px 0; margin-bottom: 8px; }
.progress .track { height: 8px; border-radius: 6px; background: #e3eaea; overflow: hidden; }
.progress .track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--teal)); transition: width .25s; }
.progress small { color: var(--muted); }

/* صفحة المحتوى */
.item-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; padding: 34px 20px 60px; }
.player { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.lockbox { aspect-ratio: 16 / 9; border-radius: 18px; background: linear-gradient(135deg, var(--teal-dd), var(--teal)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 12px; }
.lockbox .ic { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.lockbox p { color: #d3e6e6; max-width: 440px; margin: 0; }
.item-title { font-size: clamp(24px, 3vw, 34px); color: var(--teal-dd); font-weight: 800; margin: 22px 0 6px; }
.meta { color: var(--muted); font-size: .9rem; display: flex; gap: 14px; flex-wrap: wrap; }
.prose { font-size: 1.04rem; color: var(--ink); white-space: pre-line; margin-top: 18px; }
.filebox { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-top: 18px; }
.filebox .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-l); color: var(--gold-d); display: flex; align-items: center; justify-content: center; flex: none; }
.filebox div { flex: 1; min-width: 0; }
.filebox b { display: block; overflow-wrap: anywhere; }
.side h3 { color: var(--teal-dd); font-size: 1.05rem; margin-bottom: 12px; }
.rel { display: flex; flex-direction: column; gap: 10px; }
.rel a { display: flex; gap: 10px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; align-items: center; }
.rel a:hover { border-color: var(--teal); }
.rel .mini { width: 46px; height: 46px; border-radius: 10px; background: var(--teal-l); color: var(--teal-d); display: flex; align-items: center; justify-content: center; flex: none; }
.rel span { font-weight: 700; font-size: .92rem; line-height: 1.4; }
.sidebox { background: var(--teal-dd); color: #fff; border-radius: 18px; padding: 22px; margin-top: 20px; }
.sidebox p { color: #cfe3e3; font-size: .94rem; }

/* نتيجة/شكر */
.done { text-align: center; padding: 20px 10px; }
.done .okic { width: 80px; height: 80px; border-radius: 50%; background: var(--teal); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.done h2 { margin-bottom: 8px; }
.done p { color: var(--ink2); max-width: 540px; margin: 0 auto 16px; }
.done .btns { justify-content: center; }

/* استفساراتي */
.inq-list { display: flex; flex-direction: column; gap: 8px; }
.inq { border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; }
.inq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; }
.inq summary::-webkit-details-marker { display: none; }
.inq .t { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.inq .t small { color: var(--muted); font-size: .82rem; }
.inq .prose.q { margin: 0 0 12px; color: var(--ink2); }
.inq .case-reply { margin: 0 0 14px; }

/* أولوية المتدربين */
.prio { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.prio .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--teal-l); color: var(--teal-d); display: flex; align-items: center; justify-content: center; flex: none; }
.prio div { display: flex; flex-direction: column; line-height: 1.5; }
.prio b { color: var(--teal-dd); }
.prio span { color: var(--ink2); font-size: .92rem; }
.prio.on { background: linear-gradient(135deg, var(--gold-l), #fff); border-color: #ecdcb4; }
.prio.on .ic { background: var(--gold); color: #fff; }

/* حقول كلمة المرور */
.pw-row { position: relative; display: flex; gap: 6px; width: 100%; }
.pw-row input { flex: 1; padding-left: 46px; min-width: 0; }
.pw-eye { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 7px; color: var(--muted); cursor: pointer; display: flex; border-radius: 10px; }
.pw-eye:hover { color: var(--teal-d); background: var(--teal-l); }

/* التذييل */
.foot { background: var(--teal-dd); color: #cfe3e3; margin-top: 30px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; }
.fgrid > div:first-child { display: flex; gap: 14px; align-items: flex-start; }
.fgrid img { border-radius: 50%; }
.fgrid b { color: #fff; display: block; margin-bottom: 6px; }
.fgrid a { display: block; color: #cfe3e3; text-decoration: none; padding: 3px 0; }
.fgrid a:hover { color: var(--gold); }
.copy { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; padding-bottom: 20px; font-size: .85rem; color: #8fb6b5; }

/* ───── v4: الدورات ───── */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(10,75,82,.12); border-color: #cfe0e0; }
.cc-img { aspect-ratio: 16 / 9; position: relative; background: radial-gradient(400px 200px at 80% 0, rgba(198,154,60,.35), transparent 60%), linear-gradient(135deg, var(--teal-dd), var(--teal)); display: flex; align-items: center; justify-content: center; }
.cc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-ph { color: var(--gold); opacity: .9; }
.cc-state { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--ok); font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.st-full .cc-state { color: var(--gold-d); } .st-closed .cc-state, .st-done .cc-state { color: var(--muted); }
.cc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cc-body h3 { font-size: 1.2rem; color: var(--teal-dd); margin: 4px 0 10px; }
.cc-facts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; color: var(--ink2); font-size: .93rem; }
.cc-facts li { display: flex; gap: 8px; align-items: center; }
.cc-facts .i { color: var(--teal); }
.seats { margin-bottom: 12px; }
.seats .track { height: 7px; border-radius: 6px; background: #e3eaea; overflow: hidden; }
.seats .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--teal)); border-radius: 6px; }
.seats small { color: var(--muted); font-size: .83rem; }
.seats b { color: #a3401e; }
.cc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.price { font-weight: 800; color: var(--teal-dd); }
.go { color: var(--gold-d); font-weight: 800; display: inline-flex; gap: 6px; align-items: center; font-size: .93rem; }
.cgrid.past .course-card { opacity: .78; }
.course-hero h1 { margin-top: 6px; }
.ch-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-l, .tag-s { font-size: .82rem; font-weight: 800; padding: 3px 12px; border-radius: 20px; background: rgba(255,255,255,.14); color: #fff; }
.tag-s { background: var(--gold); color: #241a05; }
.tag-s.st-closed, .tag-s.st-done { background: rgba(255,255,255,.25); color: #fff; }
.course-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; padding: 34px 20px 60px; align-items: start; }
.course-img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; display: block; margin-bottom: 20px; box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts-grid > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.facts-grid .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-l); color: var(--teal-d); display: flex; align-items: center; justify-content: center; }
.facts-grid small { color: var(--muted); font-size: .8rem; line-height: 1.2; }
.facts-grid b { color: var(--teal-dd); font-size: .98rem; line-height: 1.35; }
.h2 { font-size: 1.4rem; color: var(--teal-dd); margin: 30px 0 14px; font-weight: 800; }
.outline { list-style: none; counter-reset: o; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.outline li { counter-increment: o; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; display: flex; gap: 12px; align-items: baseline; font-weight: 700; }
.outline li::before { content: counter(o); background: var(--teal); color: #fff; min-width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex: none; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { color: var(--ok); margin-top: 4px; }
.trainer { margin-top: 30px; display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, var(--gold-l), #fff); border: 1px solid #ecdcb4; border-radius: 18px; padding: 16px 18px; }
.trainer img, .trainer .ic { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.trainer .ic { background: var(--teal); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.trainer div { display: flex; flex-direction: column; line-height: 1.4; }
.trainer small { color: var(--gold-d); font-weight: 800; }
.trainer b { color: var(--teal-dd); font-size: 1.1rem; }
.trainer span { color: var(--ink2); font-size: .92rem; }
.trainer a { font-weight: 800; text-decoration: none; font-size: .9rem; margin-top: 2px; display: inline-flex; gap: 4px; align-items: center; }
.bookbox { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 60px rgba(10,75,82,.10); padding: 24px; position: sticky; top: 94px; display: flex; flex-direction: column; gap: 12px; }
.bookbox h2 { color: var(--teal-dd); font-size: 1.35rem; }
.bookbox form { display: flex; flex-direction: column; gap: 12px; }
.bookbox .submit { margin-top: 6px; }
.bookbox .done { padding: 6px 0; }
.mob-book { display: none; }

/* عن الدكتور */
.about-hero { background: radial-gradient(900px 420px at 10% 0, rgba(198,154,60,.2), transparent 60%), linear-gradient(135deg, var(--teal-dd), var(--teal) 75%); color: #fff; }
.about-hero .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; padding-top: 56px; padding-bottom: 70px; }
.ah-photo img, .ah-photo span { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: var(--gold); box-shadow: 0 0 0 8px rgba(198,154,60,.35), 0 30px 60px rgba(0,0,0,.3); }
.about-hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; }
.ah-title { color: #f0d9a3; font-size: 1.15rem; font-weight: 700; margin: 6px 0 22px; }
.statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; margin-top: -36px; position: relative; box-shadow: 0 18px 44px rgba(10,75,82,.10); overflow: hidden; }
.statband div { padding: 20px; text-align: center; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; }
.statband div:first-child { border: 0; }
.statband b { font-size: 2rem; color: var(--teal); font-weight: 800; line-height: 1.2; direction: ltr; }
.statband span { color: var(--ink2); font-weight: 700; font-size: .92rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.about-grid .h2 { margin-top: 0; }
.creds { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.creds .checks { grid-template-columns: 1fr; }
.creds .checks .i { color: var(--gold-d); }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.links a { text-decoration: none; font-weight: 800; padding: 7px 16px; border-radius: 30px; border: 1px solid var(--line); background: #fff; }
.mini-courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-courses a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.mini-courses a:hover { border-color: var(--teal); }
.mini-courses .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--teal); color: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; }
.mini-courses span { display: flex; flex-direction: column; line-height: 1.4; }
.mini-courses b { color: var(--teal-dd); }
.mini-courses small { color: var(--muted); }

/* التحقق من الشهادات */
.verify-form { display: flex; gap: 10px; align-items: flex-end; }
.verify-form label { flex: 1; }
.verify-form input { font-size: 1.1rem; letter-spacing: .05em; text-align: center; }
.vres { display: flex; gap: 14px; margin-top: 22px; border-radius: 16px; padding: 18px; border: 1px solid; }
.vres .ic { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; font-weight: 800; font-size: 1.3rem; }
.vres.ok { background: #e6f5ee; border-color: #bfe3d1; } .vres.ok .ic { background: var(--ok); color: #fff; }
.vres.bad { background: #fbeceb; border-color: #f0c8c5; } .vres.bad .ic { background: var(--bad); color: #fff; }
.vres b { font-size: 1.15rem; display: block; margin-bottom: 4px; }
.vres p { margin: 0; color: var(--ink2); }
.vres dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 10px 0 14px; }
.vres dt { color: var(--muted); } .vres dd { margin: 0; font-weight: 700; }

/* حساب المتدرب */
.acc { padding: 0 20px 60px; margin-top: -30px; position: relative; display: flex; flex-direction: column; gap: 18px; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 10px 30px rgba(10,75,82,.05); }
.acc-card h2 { font-size: 1.15rem; color: var(--teal-dd); display: flex; gap: 8px; align-items: center; }
.ah { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.ah a { font-weight: 800; text-decoration: none; font-size: .9rem; }
.acc-progress { display: flex; gap: 24px; align-items: center; }
.ap-ring { --p: 0; width: 110px; height: 110px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--teal) calc(var(--p) * 1%), #e3eaea 0); position: relative; }
.ap-ring::before { content: ""; position: absolute; inset: 11px; background: #fff; border-radius: 50%; }
.ap-ring b { position: relative; font-size: 1.5rem; color: var(--teal-dd); font-weight: 800; }
.ap-txt p { margin: 4px 0 12px; color: var(--ink2); }
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.row-i { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.row-i:last-of-type { border-bottom: 0; }
.row-i div { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.row-i small { color: var(--muted); font-size: .85rem; }
.row-i.link:hover b { color: var(--teal); }
.pill { font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 20px; white-space: nowrap; background: #eef2f2; color: var(--ink2); }
.bk-new, .cs-new { background: var(--gold-l); color: #7a5810; }
.bk-confirmed { background: var(--teal-l); color: var(--teal-d); }
.bk-attended, .cs-answered { background: #e3f4ec; color: #17663f; }
.bk-waitlist { background: #e8f1f9; color: #2c6ea4; }
.chip-ok { display: inline-flex; gap: 6px; align-items: center; color: var(--ok); font-weight: 800; }
.pwbox summary { cursor: pointer; list-style: none; }
.pwbox summary::-webkit-details-marker { display: none; }
.pwbox[open] summary { margin-bottom: 14px; }
.pwbox .stackf { max-width: 420px; }
.stackf { display: flex; flex-direction: column; gap: 10px; }
.prog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prog-list a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.prog-list a:hover { border-color: var(--teal); }
.prog-list .st { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-l); color: var(--teal-d); display: flex; align-items: center; justify-content: center; flex: none; }
.prog-list .is-done .st { background: var(--ok); color: #fff; }
.prog-list .t { flex: 1; display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.prog-list .t b { font-size: .93rem; }
.prog-list .t small { color: var(--muted); font-size: .8rem; }
.prog-list .sc { font-weight: 800; color: var(--teal-d); direction: ltr; font-size: .9rem; }

/* الاختبار القصير والتقدم */
.quiz { margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.quiz h2 { color: var(--teal-dd); font-size: 1.3rem; display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.quiz .qitem { background: var(--paper); }
.qscore { display: flex; gap: 14px; align-items: center; background: #fbeceb; border-radius: 14px; padding: 14px 18px; margin: 10px 0 16px; }
.qscore.ok { background: #e6f5ee; }
.qscore b { font-size: 1.6rem; color: var(--teal-dd); direction: ltr; }
.opts label.right, .opts label.right:has(input:checked) { border-color: var(--ok); background: #e6f5ee; color: #14593c; font-weight: 700; }
.opts label.wrong, .opts label.wrong:has(input:checked) { border-color: var(--bad); background: #fbeceb; color: var(--bad); }
.opts input:disabled { opacity: 1; }
.explain { margin: 10px 0 0; color: var(--ink2); font-size: .92rem; background: var(--gold-l); border-radius: 10px; padding: 8px 12px; }
.progbox { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.progbox form { margin: 0; }

/* حالات المتدربين */
.case-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.case-files a { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: var(--paper); text-decoration: none; }
.case-files img { width: 100%; height: 100%; object-fit: cover; }
.case-files .pdf { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--bad); padding: 8px; text-align: center; }
.case-files .pdf small { color: var(--ink2); font-size: .75rem; overflow-wrap: anywhere; }
.case-reply { margin-top: 22px; background: var(--teal-l); border-radius: 16px; padding: 18px; border-inline-start: 4px solid var(--teal); }
.case-reply .rh { display: flex; gap: 8px; align-items: center; color: var(--teal-dd); }
.case-reply .rh small { color: var(--muted); margin-inline-start: auto; }
.case-reply .prose { margin-top: 8px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed #c8d6d6; border-radius: 16px; padding: 26px; color: var(--teal-d); background: #fbfaf7; cursor: pointer; font-weight: 700; text-align: center; }
.drop:hover { border-color: var(--teal); background: var(--teal-l); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }

@media (max-width: 1320px) and (min-width: 1021px) {
  nav a { padding: 8px 8px; font-size: .88rem; }
  nav a.cta { margin-inline-start: 2px; }
  .bar { gap: 10px; }
}
@media (max-width: 1020px) {
  nav { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08); display: none; }
  body.open nav { display: flex; }
  nav a { padding: 12px 14px; }
  nav a.cta { margin: 6px 0 0; justify-content: center; }
  .menubtn { display: inline-flex; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .item-wrap { grid-template-columns: 1fr; }
  .cgrid { grid-template-columns: 1fr 1fr; }
  .acc-grid { grid-template-columns: 1fr 1fr; }
  .course-wrap { grid-template-columns: 1fr; }
  .bookbox { position: static; scroll-margin-top: 80px; }
  .mob-book { display: flex; width: 100%; margin-top: 14px; }
  .mini-courses { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bar { height: 66px; }
  nav { inset: 66px 0 auto 0; }
  .brand img { width: 40px; height: 40px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 50px; gap: 26px; }
  .hero .logo-wrap { order: -1; }
  .hero .logo-wrap img { width: 130px; height: 130px; }
  .btns .btn { flex: 1 1 auto; white-space: nowrap; padding: 13px 18px; font-size: .95rem; }
  .sec { padding: 44px 0; }
  .pillars, .grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 24px; }
  .formcard { padding: 22px 16px; border-radius: 18px; margin-top: -24px; }
  .fgrid2, .opts { grid-template-columns: 1fr; }
  .qitem { padding: 16px; }
  .qitem .help { margin-inline-start: 0; }
  .item-wrap { padding: 20px 16px 40px; }
  .fgrid { grid-template-columns: 1fr; }
  .progress { top: 66px; }
  .cgrid { grid-template-columns: 1fr; }
  .course-wrap { padding: 20px 16px 40px; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .facts-grid > div { padding: 12px; grid-template-columns: 1fr; }
  .facts-grid .ic { grid-row: auto; width: 36px; height: 36px; margin-bottom: 6px; }
  .checks { grid-template-columns: 1fr; }
  .bookbox { padding: 20px 16px; }
  .about-hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 36px; gap: 22px; }
  .ah-photo { display: flex; justify-content: center; }
  .ah-photo img, .ah-photo span { width: 170px; height: 170px; }
  .about-hero .btns { justify-content: center; }
  .statband { grid-template-columns: 1fr 1fr; }
  .statband div:nth-child(3) { border-inline-start: 0; }
  .statband div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .acc { padding: 0 16px 40px; }
  .acc-grid, .prog-list { grid-template-columns: 1fr; }
  .acc-progress { flex-direction: column; text-align: center; }
  .acc-card { padding: 18px 16px; }
  .verify-form { flex-direction: column; align-items: stretch; }
  .quiz { padding: 18px 14px; }
}
#inquiries { scroll-margin-top: 90px; }

/* شريط العودة للموقع الرئيسي */
.grpbar { background: var(--teal-dd); color: #cfe3e3; font-size: .86rem; }
.grpbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 36px; }
.grpbar a { color: #e6f1f1; text-decoration: none; }
.grpbar a:hover { color: #fff; }
.grp-home { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.grp-links { display: flex; gap: 18px; }
@media (max-width: 640px) { .grp-links a:not(.lang) { display: none; } .grp-home { font-size: .8rem; } }

/* اختبار DIRAE */
.dirae-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--teal-dd); color: #fff; border-radius: 16px; padding: 18px 22px; margin-bottom: 18px; }
.dirae-intro > div { display: flex; flex-direction: column; text-align: left; }
.dirae-intro > div b { font-size: 1.7rem; letter-spacing: .08em; color: var(--gold); line-height: 1.1; }
.dirae-intro > div span { font-size: .85rem; color: #cfe3e3; }
.dirae-intro ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dirae-intro li { background: rgba(255,255,255,.1); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
.dirae-intro li b { color: var(--gold); }
.dsec legend { flex-wrap: wrap; row-gap: 2px; }
.dsec legend small { font-weight: 500; color: var(--muted); font-size: .85rem; order: 3; width: 100%; }
.qitem.ltr { text-align: left; font-family: Tajawal, "Segoe UI", Arial, sans-serif; }
.qitem.ltr h3 { line-height: 1.55; font-size: .98rem; }
@media (max-width: 600px) { .qitem.ltr { padding: 14px; } .qitem.ltr h3 { font-size: .93rem; } .qitem.ltr .opts label { font-size: .92rem; padding: 9px 12px; } }
.qitem.ltr .opts { grid-template-columns: 1fr; }
.qitem.ltr .opts label { line-height: 1.5; }
.qitem .ol { color: var(--teal); margin-inline-end: 4px; }
.btn.big-wa { font-size: 1.05rem; padding: 15px 26px; display: inline-flex; align-items: center; gap: 8px; }

/* ── اللغة الإنجليزية (LTR) ── */
.grpbar a.lang { font-weight: 800; color: #0a3a40; background: var(--gold); padding: 2px 12px; border-radius: 20px; font-family: Tajawal, "Segoe UI", Arial, sans-serif; }
.grpbar a.lang:hover { color: #000; background: #d4ab55; }
.grp-links { align-items: center; }
html[dir=ltr] body { line-height: 1.65; }
html[dir=ltr] h1, html[dir=ltr] h2, html[dir=ltr] h3 { letter-spacing: -.01em; }
html[dir=ltr] .mem { right: auto; left: 10px; }
html[dir=ltr] .cc-state { right: auto; left: 12px; }
html[dir=ltr] input[type=tel], html[dir=ltr] input[type=number], html[dir=ltr] input[type=password] { text-align: left; }
html[dir=ltr] .pw-row input { padding-left: 14px; padding-right: 46px; }
html[dir=ltr] .pw-eye { left: auto; right: 8px; }
html[dir=ltr] .dirae-intro > div { text-align: left; }
html[dir=ltr] .qr { text-align: left; }

/* خطوات اختبار DIRAE */
.dsteps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: none; }
.dsteps li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #f1f5f6; color: var(--ink2); font-weight: 700; font-size: .9rem; }
.dsteps li b { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--teal); flex: none; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.dsteps li.on { background: var(--teal); color: #fff; }
.dsteps li.on b { background: var(--gold); color: #1f1605; }
.dsteps li.ok { background: #e6f4ee; color: #1d6b4a; }
.dsteps li.ok b { background: #1d8a5b; color: #fff; }
@media (max-width: 640px) { .dsteps li { flex-direction: column; text-align: center; font-size: .78rem; padding: 8px 4px; gap: 4px; } }

/* ───── الكلاسات ───── */
.cls-hero { background: linear-gradient(135deg, var(--teal-dd), var(--teal) 70%); color: #fff; padding: 26px 0 70px; position: relative; overflow: hidden; }
.cls-hero::after { content: ""; position: absolute; inset-inline-start: -80px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: rgba(198,154,60,.16); pointer-events: none; }
.cls-hero .crumbs { font-size: .85rem; opacity: .85; }
.cls-hero .crumbs a { color: #fff; }
.cls-hero h1 { font-size: 1.8rem; font-weight: 800; margin: 8px 0 6px; }
.cls-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; position: relative; z-index: 1; }
.cls-meta span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); padding: 3px 12px; border-radius: 30px; }
.cls-meta .exp { background: var(--gold); color: #241a05; border: 0; font-weight: 700; }
.cls-body { margin-top: -48px; position: relative; z-index: 2; }
.cls-live { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r); padding: 16px 18px; box-shadow: 0 10px 30px rgba(6,52,58,.12); border: 1px solid var(--line); flex-wrap: wrap; }
.cls-live .dot { width: 12px; height: 12px; border-radius: 50%; background: #e0453a; flex: none; animation: clsPulse 1.6s infinite; }
.cls-live.soon .dot { background: var(--gold); animation: none; }
@keyframes clsPulse { 0% { box-shadow: 0 0 0 0 rgba(224,69,58,.6); } 70% { box-shadow: 0 0 0 12px rgba(224,69,58,0); } 100% { box-shadow: 0 0 0 0 rgba(224,69,58,0); } }
.cls-live b { display: block; font-size: 1.05rem; }
.cls-live small { color: var(--muted); }
.cls-live .go { margin-inline-start: auto; background: #e0453a; color: #fff; text-decoration: none; font-weight: 800; padding: 11px 20px; border-radius: 12px; display: inline-flex; gap: 8px; align-items: center; }
.cls-live .go.off { background: var(--line); color: var(--muted); pointer-events: none; }
.cls-tabs { display: flex; gap: 6px; margin: 18px 0 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cls-tabs a { white-space: nowrap; text-decoration: none; color: var(--ink2); font-weight: 700; padding: 9px 16px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-size: .92rem; }
.cls-tabs a.on { background: var(--teal-d); color: #fff; border-color: var(--teal-d); }
.cls-tabs em { font-style: normal; background: var(--gold); color: #241a05; border-radius: 20px; padding: 0 7px; font-size: .75rem; margin-inline-start: 4px; }
.cls-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.cls-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px; }
.cls-card h2 { font-size: 1.1rem; margin-bottom: 10px; }
.cls-card h3 { font-size: 1rem; margin-bottom: 10px; }
.cls-post .who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cls-av { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-l); display: grid; place-items: center; color: var(--teal-d); font-weight: 800; flex: none; }
.cls-av.dr { background: var(--teal-d); color: var(--gold); }
.cls-post .who b { display: block; font-size: .95rem; line-height: 1.4; }
.cls-post .who small { color: var(--muted); font-size: .8rem; }
.cls-post .txt { margin: 0 0 8px; white-space: pre-line; overflow-wrap: anywhere; }
.cls-pin { font-size: .75rem; color: var(--gold-d); font-weight: 800; }
.cls-att { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; text-decoration: none; color: var(--ink); margin-top: 6px; background: var(--paper); overflow-wrap: anywhere; }
.cls-att i { font-style: normal; background: var(--gold-l); color: var(--gold-d); font-weight: 800; font-size: .75rem; padding: 4px 8px; border-radius: 8px; flex: none; }
.cls-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
.cls-imgs a { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.cls-imgs img { width: 100%; height: 100%; object-fit: cover; }
.cls-cmts { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 6px; }
.cls-cmt { display: flex; gap: 8px; padding: 6px 0; font-size: .93rem; }
.cls-cmt .cls-av { width: 30px; height: 30px; font-size: .8rem; }
.cls-cmt .bub { background: var(--paper); border-radius: 12px; padding: 6px 12px; flex: 1; overflow-wrap: anywhere; }
.cls-cmt.dr .bub { background: var(--teal-l); }
.cls-cmt b { font-size: .85rem; }
.cls-cmt small { color: var(--muted); font-size: .75rem; }
.cls-cmt p { margin: 2px 0 0; white-space: pre-line; }
.cls-form { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.cls-form input[type=text], .cls-form textarea { flex: 1; border: 1px solid var(--line); border-radius: 22px; padding: 9px 16px; font: inherit; background: var(--paper); min-width: 0; }
.cls-form textarea { border-radius: 14px; resize: vertical; }
.cls-form button { border: 0; background: var(--teal); color: #fff; font: inherit; font-weight: 700; border-radius: 30px; padding: 9px 18px; cursor: pointer; white-space: nowrap; }
.cls-compose textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font: inherit; background: var(--paper); resize: vertical; }
.cls-compose .row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.cls-compose .fl { font-size: .85rem; color: var(--muted); }
.cls-up { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cls-up:last-child { border: 0; }
.cls-up .d { flex: none; width: 52px; text-align: center; border-radius: 12px; background: var(--teal-l); color: var(--teal-d); line-height: 1.15; padding: 6px 0; }
.cls-up .d b { display: block; font-size: 1.2rem; }
.cls-up .d small { font-size: .68rem; }
.cls-up .t b { display: block; font-size: .93rem; }
.cls-up .t small { color: var(--muted); font-size: .8rem; }
.cls-tag { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 20px; margin-inline-start: 4px; white-space: nowrap; }
.cls-tag.l { background: #fde8e6; color: #b3261e; } .cls-tag.h { background: var(--gold-l); color: var(--gold-d); } .cls-tag.ok { background: #e6f5ee; color: #14593c; } .cls-tag.mut { background: #eef2f2; color: var(--ink2); }
.cls-prog { height: 9px; background: var(--teal-l); border-radius: 9px; overflow: hidden; margin: 8px 0 4px; }
.cls-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.cls-lesson { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: .95rem; text-decoration: none; color: var(--ink); border-bottom: 1px dashed var(--line); }
.cls-lesson:last-child { border: 0; }
.cls-ck { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .74rem; line-height: 1; font-weight: 800; }
.cls-ck.ckd { background: var(--ok); color: #fff; } .cls-ck.ckn { border: 2px solid var(--gold); color: var(--gold-d); } .cls-ck.ckl { background: #eef2f2; color: var(--muted); }
.cls-lesson small { color: var(--muted); font-size: .8rem; display: block; }
.cls-sess { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cls-sess .t { flex: 1; min-width: 200px; }
.cls-fb { background: var(--teal-l); border-radius: 12px; padding: 10px 14px; margin-top: 10px; white-space: pre-line; }
.cls-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cls-people div { display: flex; gap: 10px; align-items: center; background: var(--paper); border-radius: 12px; padding: 8px 12px; }
.cls-list a { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 12px; transition: .15s; }
.cls-list a:hover { border-color: var(--teal); box-shadow: 0 6px 20px rgba(6,52,58,.08); }
.cls-list h2 { font-size: 1.15rem; color: var(--teal-d); }
.cls-list .m { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.cls-list a.off { opacity: .7; }
.cls-hide { display: none; }
@media (max-width: 860px) {
  .cls-grid { grid-template-columns: 1fr; }
  .cls-hero h1 { font-size: 1.4rem; }
  .cls-live .go { width: 100%; justify-content: center; margin: 0; }
}
.cls-file { position: relative; display: inline-flex; flex-direction: row; align-items: center; margin: 0; gap: 6px; border: 1px dashed var(--line); border-radius: 30px; padding: 7px 14px; font-size: .86rem; color: var(--ink2); cursor: pointer; background: #fff; }
.cls-file:hover, .cls-file.has { border-color: var(--teal); color: var(--teal-d); }
.cls-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
@media (max-width: 1500px) and (min-width: 1021px) {
  nav.navm a { padding: 8px 7px; font-size: .86rem; }
  nav.navm a.cta { margin-inline-start: 2px; padding: 8px 11px; }
  .bar:has(nav.navm) { gap: 8px; }
}
