/* ArabAI Virtual Lab — هوية بصرية: بترول داكن + عاجي + نحاسي */
.vlab {
	--vlab-ink: #0e2a32;
	--vlab-teal: #14555f;
	--vlab-teal-soft: #e7eff0;
	--vlab-brass: #c29a4b;
	--vlab-ivory: #f8f6f0;
	--vlab-green: #2e7d5b;
	--vlab-line: #dfe6e4;
	direction: rtl;
	font-family: 'Tajawal', system-ui, sans-serif;
	color: var(--vlab-ink);
	line-height: 1.7;
	/* كسر حدود الثيم: عرض كامل للشاشة مهما كان قالب الصفحة */
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 10px clamp(16px, 4vw, 48px) 40px;
	box-sizing: border-box;
	background: #fff;
}
/* توسيط المحتوى داخل العرض الكامل */
.vlab > * { max-width: 1280px; margin-inline: auto; }
.vlab .vlab-hero, .vlab .vlab-section { max-width: 1280px; }
.vlab h1, .vlab h2, .vlab h3, .vlab h4 {
	font-family: 'Alexandria', 'Tajawal', sans-serif;
	color: var(--vlab-ink);
	line-height: 1.35;
	margin: 0 0 .5em;
}
.vlab a { color: var(--vlab-teal); text-decoration: none; }
.vlab a:hover { color: var(--vlab-brass); }
.vlab a:focus-visible, .vlab button:focus-visible { outline: 3px solid var(--vlab-brass); outline-offset: 2px; }

/* إخفاء عنوان الصفحة الافتراضي للثيم في صفحات المختبر */
.vlab-page .entry-title,
.vlab-page .page-title,
.vlab-page h1.entry-header,
.vlab-page .entry-header .entry-title { display: none; }

/* ===== دوائر الأحرف (بدون صور نهائيًا) ===== */
.vlab-initial {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; color: #fff;
	font-family: 'Alexandria', 'Tajawal', sans-serif; font-weight: 800;
	line-height: 1; flex-shrink: 0; user-select: none;
}
.vlab-team-leader .vlab-initial { border: 2px solid var(--vlab-brass); box-sizing: border-box; }
.vlab-member.is-leader .vlab-member-top .vlab-initial { border: 3px solid var(--vlab-brass); box-sizing: border-box; }
.vlab-avatar-stack .vlab-initial { border: 2px solid #fff; margin-inline-start: -8px; box-sizing: border-box; }
.vlab-avatar-stack .vlab-initial:first-child { margin-inline-start: 0; }

/* ===== Hero ===== */
.vlab-hero {
	background:
		radial-gradient(1100px 420px at 85% -10%, rgba(194,154,75,.18), transparent 60%),
		linear-gradient(160deg, #0e2a32 0%, #14555f 100%);
	color: #fff;
	border-radius: 22px;
	padding: 56px 40px 44px;
	margin-bottom: 44px;
}
.vlab-eyebrow {
	display: inline-block;
	font-size: 13px; font-weight: 700; letter-spacing: .08em;
	color: var(--vlab-brass);
	border: 1px solid rgba(194,154,75,.5);
	border-radius: 999px;
	padding: 4px 14px;
	margin-bottom: 18px;
}
.vlab-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; }
.vlab-hero p { color: rgba(255,255,255,.82); max-width: 620px; font-size: 17px; margin: 0; }
.vlab-mission {
	max-width: 760px !important;
	font-size: clamp(16px, 2vw, 19px) !important;
	line-height: 2 !important;
}
.vlab-mission strong { color: var(--vlab-brass); font-weight: 700; }
.vlab-cta {
	display: inline-block;
	margin-top: 26px;
	font-family: 'Alexandria', 'Tajawal', sans-serif;
	font-size: clamp(16px, 2vw, 19px); font-weight: 800;
	color: #0e2a32 !important;
	background: linear-gradient(135deg, #e3b968, #c29a4b);
	border-radius: 14px;
	padding: 16px 34px;
	box-shadow: 0 8px 28px rgba(194,154,75,.45);
	transition: transform .15s ease, box-shadow .15s ease;
	animation: vlabPulse 2.4s ease-in-out infinite;
}
.vlab-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(194,154,75,.6); color: #0e2a32 !important; }
@keyframes vlabPulse {
	0%, 100% { box-shadow: 0 8px 28px rgba(194,154,75,.45); }
	50% { box-shadow: 0 8px 40px rgba(194,154,75,.75); }
}
.vlab-cta-hint { display: block; margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,.7); }

/* ===== بطاقات الأهداف ===== */
.vlab-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vlab-goal {
	background: #fff;
	border: 1px solid var(--vlab-line);
	border-radius: 16px;
	padding: 24px 22px;
	transition: transform .18s ease, box-shadow .18s ease;
}
.vlab-goal:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14,42,50,.10); }
.vlab-goal-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; font-size: 26px;
	border-radius: 14px; margin-bottom: 12px;
}
.vlab-goal h3 { font-size: 17px; margin-bottom: 6px; }
.vlab-goal p { font-size: 14px; color: #5c6b6a; margin: 0; line-height: 1.8; }
@media (prefers-reduced-motion: reduce) { .vlab-cta { animation: none; } }

.vlab-stats {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 14px; margin-top: 34px;
}
.vlab-stats > div {
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 14px;
	padding: 16px 18px;
	backdrop-filter: blur(2px);
}
.vlab-stats strong {
	display: block;
	font-family: 'Alexandria', sans-serif;
	font-size: 30px; font-weight: 800; color: var(--vlab-brass);
}
.vlab-stats span { font-size: 13px; color: rgba(255,255,255,.8); }

/* ===== Sections ===== */
.vlab-section { margin-bottom: 48px; }
.vlab-section > h2 {
	font-size: 25px; font-weight: 700;
	padding-inline-start: 14px;
	border-inline-start: 4px solid var(--vlab-brass);
	margin-bottom: 22px;
}
.vlab-single > h2 {
	font-size: 22px; margin: 34px 0 16px;
	padding-inline-start: 12px;
	border-inline-start: 4px solid var(--vlab-brass);
}
.vlab-empty {
	background: var(--vlab-ivory);
	border: 1px dashed var(--vlab-line);
	border-radius: 14px;
	padding: 26px; text-align: center; color: #5c6b6a;
}

/* ===== الأقسام العلمية ===== */
.vlab-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.vlab-field {
	display: flex; flex-direction: column; gap: 4px;
	background: var(--vlab-ivory);
	border: 1px solid var(--vlab-line);
	border-radius: 14px;
	padding: 18px 20px;
	transition: transform .18s ease, border-color .18s ease;
}
.vlab-field:hover { transform: translateY(-3px); border-color: var(--vlab-brass); }
.vlab-field-name { font-weight: 700; font-size: 16px; color: var(--vlab-ink); }
.vlab-field-count { font-size: 13px; color: var(--vlab-teal); }

/* ===== فرق البحث ===== */
.vlab-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.vlab-team {
	background: #fff;
	border: 1px solid var(--vlab-line);
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 1px 2px rgba(14,42,50,.05);
	transition: box-shadow .18s ease, transform .18s ease;
}
.vlab-team:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(14,42,50,.12); }
.vlab-tag {
	display: inline-block;
	font-size: 12px; font-weight: 700;
	color: var(--vlab-teal);
	background: var(--vlab-teal-soft);
	border-radius: 999px;
	padding: 3px 12px;
	margin-bottom: 10px;
}
.vlab-team h3 { font-size: 19px; }
.vlab-team-leader { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.vlab-team-leader img { border-radius: 50%; border: 2px solid var(--vlab-brass); }
.vlab-team-leader strong { display: block; font-size: 14px; }
.vlab-team-leader span { font-size: 12px; color: var(--vlab-brass); font-weight: 700; }
.vlab-team-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--vlab-line); font-size: 13px; color: #5c6b6a; }
.vlab-avatar-stack { display: flex; }
.vlab-avatar-stack img { border-radius: 50%; border: 2px solid #fff; margin-inline-start: -8px; }
.vlab-avatar-stack img:first-child { margin-inline-start: 0; }

/* ===== بطاقات الباحثين ===== */
.vlab-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.vlab-member {
	background: #fff;
	border: 1px solid var(--vlab-line);
	border-radius: 16px;
	padding: 22px 18px;
	text-align: center;
	transition: box-shadow .18s ease;
}
.vlab-member:hover { box-shadow: 0 8px 22px rgba(14,42,50,.10); }
.vlab-member.is-leader { border-color: var(--vlab-brass); background: linear-gradient(180deg, #fffdf7, #fff); }
.vlab-member-top { position: relative; display: inline-block; margin-bottom: 8px; }
.vlab-member-top img { border-radius: 50%; }
.vlab-member.is-leader .vlab-member-top img { border: 3px solid var(--vlab-brass); }
.vlab-leader-badge {
	position: absolute; bottom: -6px; right: 50%; transform: translateX(50%);
	background: var(--vlab-brass); color: #fff;
	font-size: 10.5px; font-weight: 700;
	border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.vlab-member h4 { font-size: 16px; margin: 8px 0 2px; }
.vlab-degree {
	display: inline-block; font-size: 12px; font-weight: 700;
	color: var(--vlab-teal); background: var(--vlab-teal-soft);
	border-radius: 999px; padding: 2px 12px; margin-bottom: 8px;
}
.vlab-uni, .vlab-spec { font-size: 13px; color: #5c6b6a; margin: 2px 0; }
.vlab-links { margin-top: 10px; display: flex; justify-content: center; gap: 8px; }
.vlab-links a {
	font-size: 12px; font-weight: 700; direction: ltr;
	border: 1px solid var(--vlab-line); border-radius: 8px;
	padding: 3px 10px;
}
.vlab-links a:hover { border-color: var(--vlab-brass); }

/* ===== المقالات + خط السير (العنصر المميز) ===== */
.vlab-papers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.vlab-paper {
	background: #fff;
	border: 1px solid var(--vlab-line);
	border-radius: 16px;
	padding: 22px;
}
.vlab-paper-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.vlab-paper h3 { font-size: 17px; }
.vlab-paper-authors { font-size: 13px; color: #5c6b6a; margin: 4px 0; }
.vlab-paper-journal { font-size: 13px; margin: 4px 0 0; }
.vlab-paper-team { font-size: 12.5px; font-weight: 700; }
.vlab-status {
	font-size: 12px; font-weight: 700;
	border-radius: 999px; padding: 3px 12px;
	background: var(--vlab-teal-soft); color: var(--vlab-teal);
}
.vlab-status--published { background: #e4f2ec; color: var(--vlab-green); }
.vlab-status--accepted { background: #f6efe0; color: #8a6a24; }

.vlab-pipeline {
	display: flex; align-items: flex-start;
	margin-top: 18px; padding-top: 14px;
	border-top: 1px dashed var(--vlab-line);
}
.vlab-step { flex: 1; position: relative; text-align: center; }
.vlab-step::before {
	content: ''; position: absolute; top: 6px; right: 50%;
	width: 100%; height: 2px; background: var(--vlab-line);
}
.vlab-step:first-child::before { display: none; }
.vlab-step.done::before, .vlab-step.current::before { background: var(--vlab-brass); }
.vlab-dot {
	position: relative; z-index: 1;
	display: inline-block; width: 14px; height: 14px;
	border-radius: 50%;
	background: #fff; border: 2px solid var(--vlab-line);
}
.vlab-step.done .vlab-dot { background: var(--vlab-brass); border-color: var(--vlab-brass); }
.vlab-step.current .vlab-dot {
	background: #fff; border-color: var(--vlab-brass);
	box-shadow: 0 0 0 4px rgba(194,154,75,.25);
}
.vlab-step-label { display: block; font-size: 10.5px; color: #8a9694; margin-top: 6px; }
.vlab-step.current .vlab-step-label { color: var(--vlab-ink); font-weight: 700; }
.vlab-step.done .vlab-step-label { color: var(--vlab-teal); }

/* حقائق المقالة في الصفحة المفردة */
.vlab-paper-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.vlab-paper-facts > div { background: var(--vlab-ivory); border: 1px solid var(--vlab-line); border-radius: 12px; padding: 14px 16px; }
.vlab-paper-facts span { display: block; font-size: 12px; color: #5c6b6a; margin-bottom: 3px; }

/* ===== فلتر الحالات ===== */
.vlab-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.vlab-filter button {
	font-family: inherit; font-size: 13px; font-weight: 700;
	background: #fff; color: var(--vlab-ink);
	border: 1px solid var(--vlab-line); border-radius: 999px;
	padding: 6px 16px; cursor: pointer;
	transition: all .15s ease;
}
.vlab-filter button:hover { border-color: var(--vlab-brass); }
.vlab-filter button.active { background: var(--vlab-ink); color: #fff; border-color: var(--vlab-ink); }

/* ===== نموذج التسجيل الذاتي ===== */
.vlab-join {
	background: #fff;
	border: 1px solid var(--vlab-line);
	border-radius: 20px;
	overflow: hidden;
	max-width: 920px;
	margin-inline: auto;
	box-shadow: 0 6px 24px rgba(14,42,50,.07);
}
.vlab-join-head {
	background: linear-gradient(160deg, #0e2a32 0%, #14555f 100%);
	color: #fff;
	padding: 34px 32px 28px;
}
.vlab-join-head h2 { color: #fff; font-size: 24px; margin: 12px 0 8px; }
.vlab-join-head p { color: rgba(255,255,255,.82); margin: 0; font-size: 15px; }
.vlab-form { padding: 30px 32px 34px; }
.vlab-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.vlab-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; color: var(--vlab-ink); }
.vlab-form input, .vlab-form select {
	font-family: inherit; font-size: 15px; font-weight: 400;
	border: 1.5px solid var(--vlab-line); border-radius: 10px;
	padding: 11px 14px; background: var(--vlab-ivory);
	transition: border-color .15s ease;
}
.vlab-form input:focus, .vlab-form select:focus {
	outline: none; border-color: var(--vlab-brass);
	background: #fff; box-shadow: 0 0 0 3px rgba(194,154,75,.18);
}
.vlab-form input[readonly] { opacity: .65; }
.vlab-hp { position: absolute !important; right: -9999px !important; height: 0; width: 0; opacity: 0; }
.vlab-submit {
	margin-top: 24px; width: 100%;
	font-family: 'Alexandria', 'Tajawal', sans-serif;
	font-size: 16px; font-weight: 700;
	color: #fff; background: var(--vlab-ink);
	border: none; border-radius: 12px;
	padding: 14px 20px; cursor: pointer;
	transition: background .15s ease, transform .1s ease;
}
.vlab-submit:hover { background: var(--vlab-teal); }
.vlab-submit:active { transform: scale(.99); }
.vlab-notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-weight: 700; max-width: 780px; margin-inline: auto; }
.vlab-notice--ok { background: #e4f2ec; color: var(--vlab-green); border: 1px solid #bfe0d1; }
.vlab-notice--err { background: #fbeaea; color: #a13232; border: 1px solid #f0c6c6; }
@media (max-width: 640px) {
	.vlab-form-grid { grid-template-columns: 1fr; }
	.vlab-join-head, .vlab-form { padding-inline: 20px; }
}

/* ===== ترحيب + تواصل الفريق + جدار النقاش ===== */
.vlab-welcome {
	background: linear-gradient(160deg, #0e2a32, #14555f);
	color: #fff;
	border-inline-start: 5px solid var(--vlab-brass);
	border-radius: 14px;
	padding: 20px 24px;
	margin: 10px 0 24px;
	font-size: 16px;
	line-height: 1.9;
	animation: vlabIn .5s ease both;
}
@keyframes vlabIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.vlab-team-comms { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; margin-bottom: 10px; }
.vlab-session {
	flex: 1 1 320px;
	background: #fffdf6;
	border: 1.5px solid var(--vlab-brass);
	border-radius: 16px;
	padding: 18px 22px;
}
.vlab-session-badge {
	display: inline-block; font-size: 11.5px; font-weight: 700;
	color: #fff; background: var(--vlab-brass);
	border-radius: 999px; padding: 3px 12px; margin-bottom: 8px;
}
.vlab-session h3 { font-size: 18px; margin: 4px 0; }
.vlab-session-when { font-size: 14px; color: #5c6b6a; margin: 4px 0 10px; }
.vlab-session-join {
	display: inline-block; font-weight: 700; font-size: 14px;
	color: #fff !important; background: var(--vlab-teal);
	border-radius: 10px; padding: 8px 18px;
}
.vlab-session-join:hover { background: var(--vlab-ink); }
.vlab-wa {
	flex: 0 1 280px;
	display: flex; align-items: center; justify-content: center; gap: 10px;
	background: #eafaf1; border: 1.5px solid #2ea36b; border-radius: 16px;
	color: #1c7a4d !important; font-weight: 700; font-size: 15px;
	padding: 18px 22px;
	transition: transform .15s ease;
}
.vlab-wa:hover { transform: translateY(-2px); }
.vlab-wa span { font-size: 22px; }

.vlab-discussion { background: var(--vlab-ivory); border: 1px solid var(--vlab-line); border-radius: 18px; padding: 22px; }
.vlab-msg { background: #fff; border: 1px solid var(--vlab-line); border-radius: 14px; padding: 14px 18px; margin-bottom: 12px; max-width: 720px; }
.vlab-msg.is-mine { border-inline-start: 4px solid var(--vlab-brass); }
.vlab-msg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.vlab-msg-head img { border-radius: 50%; }
.vlab-msg-head strong { font-size: 14.5px; display: inline-block; margin-inline-end: 8px; }
.vlab-msg-degree {
	font-size: 11px; font-weight: 700; color: var(--vlab-teal);
	background: var(--vlab-teal-soft); border-radius: 999px; padding: 1px 10px;
}
.vlab-msg-head time { display: block; font-size: 11.5px; color: #8a9694; }
.vlab-msg-del {
	margin-inline-start: auto;
	font-size: 15px; line-height: 1;
	opacity: .45; padding: 4px 8px; border-radius: 8px;
	transition: opacity .15s ease, background .15s ease;
}
.vlab-msg-del:hover { opacity: 1; background: #fbeaea; }
.vlab-msg-body { font-size: 15px; }
.vlab-msg-body p { margin: 0 0 .5em; }
.vlab-msg-form { margin-top: 18px; }
.vlab-msg-form textarea {
	width: 100%; box-sizing: border-box;
	font-family: inherit; font-size: 15px;
	border: 1.5px solid var(--vlab-line); border-radius: 12px;
	padding: 12px 16px; background: #fff; resize: vertical;
	margin-bottom: 10px;
}
.vlab-msg-form textarea:focus { outline: none; border-color: var(--vlab-brass); box-shadow: 0 0 0 3px rgba(194,154,75,.18); }
.vlab-msg-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.vlab-attach {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13.5px; font-weight: 700; color: var(--vlab-teal);
	background: #fff; border: 1.5px dashed var(--vlab-teal);
	border-radius: 10px; padding: 8px 16px; cursor: pointer;
}
.vlab-attach:hover { border-color: var(--vlab-brass); color: var(--vlab-brass); }
.vlab-attach input { font-size: 12px; max-width: 210px; }
.vlab-attach-hint { font-size: 12px; color: #8a9694; }
.vlab-msg-video { position: relative; width: 100%; max-width: 560px; aspect-ratio: 16/9; margin-top: 10px; border-radius: 12px; overflow: hidden; }
.vlab-msg-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vlab-msg-img { display: block; margin-top: 10px; max-width: 420px; }
.vlab-msg-img img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--vlab-line); }
.vlab-msg-file {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
	font-size: 13.5px; font-weight: 700;
	background: #fff; border: 1px solid var(--vlab-line); border-radius: 10px;
	padding: 8px 16px;
}
.vlab-msg-file:hover { border-color: var(--vlab-brass); }

/* ===== إعلان الرئيس + لوحة رئيس الفريق ===== */
.vlab-announce {
	background: #fffdf6;
	border: 1.5px solid var(--vlab-brass);
	border-inline-start-width: 6px;
	border-radius: 12px;
	padding: 14px 20px;
	margin-bottom: 18px;
	font-size: 15px;
}
.vlab-leader-panel {
	background: #0e2a32;
	border-radius: 16px;
	margin-bottom: 22px;
	overflow: hidden;
}
.vlab-leader-panel summary {
	cursor: pointer; list-style: none;
	color: #fff; font-weight: 700; font-size: 15.5px;
	font-family: 'Alexandria', 'Tajawal', sans-serif;
	padding: 16px 22px;
}
.vlab-leader-panel summary::-webkit-details-marker { display: none; }
.vlab-leader-panel[open] summary { border-bottom: 1px solid rgba(255,255,255,.12); }
.vlab-leader-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
	padding: 22px; background: #fff;
}
.vlab-leader-form h4 { font-size: 14px; margin: 14px 0 6px; color: var(--vlab-ink); }
.vlab-leader-form h4:first-child { margin-top: 0; }
.vlab-leader-form input, .vlab-leader-form select {
	width: 100%; box-sizing: border-box;
	font-family: inherit; font-size: 14px;
	border: 1.5px solid var(--vlab-line); border-radius: 10px;
	padding: 9px 12px; background: var(--vlab-ivory);
	margin-bottom: 8px;
}
.vlab-leader-form input:focus, .vlab-leader-form select:focus { outline: none; border-color: var(--vlab-brass); background: #fff; }
.vlab-leader-form .vlab-submit { margin-top: 10px; padding: 10px 18px; font-size: 14px; }
@media (max-width: 720px) { .vlab-leader-grid { grid-template-columns: 1fr; } }

/* ===== الجرس العائم + مشاركة واتساب ===== */
.vlab-bell {
	position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 99998;
	font-family: 'Tajawal', system-ui, sans-serif;
}
.vlab-bell summary {
	list-style: none; cursor: pointer;
	width: 54px; height: 54px;
	display: flex; align-items: center; justify-content: center;
	font-size: 24px;
	background: #0e2a32; border-radius: 50%;
	box-shadow: 0 8px 24px rgba(14,42,50,.35);
	position: relative;
	transition: transform .15s ease;
}
.vlab-bell summary:hover { transform: scale(1.07); }
.vlab-bell summary::-webkit-details-marker { display: none; }
.vlab-bell-count {
	position: absolute; top: -4px; inset-inline-end: -4px;
	min-width: 22px; height: 22px;
	display: flex; align-items: center; justify-content: center;
	background: #d64545; color: #fff;
	font-size: 12px; font-weight: 700;
	border-radius: 999px; padding: 0 5px;
	border: 2px solid #fff;
}
.vlab-bell-panel {
	position: absolute; bottom: 64px; inset-inline-start: 0;
	width: min(360px, 88vw); max-height: 60vh; overflow-y: auto;
	background: #fff; border: 1px solid #dfe6e4; border-radius: 16px;
	box-shadow: 0 16px 44px rgba(14,42,50,.22);
	direction: rtl;
}
.vlab-bell-head {
	display: flex; justify-content: space-between; align-items: center;
	padding: 14px 18px; border-bottom: 1px solid #eef1f0;
	position: sticky; top: 0; background: #fff;
}
.vlab-bell-head a { font-size: 12px; color: #14555f; text-decoration: none; }
.vlab-bell-item {
	display: block; padding: 12px 18px;
	border-bottom: 1px solid #f2f4f3;
	color: #0e2a32; text-decoration: none;
	font-size: 13.5px; line-height: 1.6;
}
.vlab-bell-item:hover { background: #f8f6f0; }
.vlab-bell-item.is-unread { background: #f2f7f7; border-inline-start: 3px solid #c29a4b; }
.vlab-bell-item time { display: block; font-size: 11px; color: #8a9694; margin-top: 2px; }
.vlab-bell-empty { padding: 20px 18px; font-size: 13.5px; color: #8a9694; margin: 0; }

.vlab-wa-share {
	display: block; text-align: center;
	margin-top: 8px;
	font-size: 13.5px; font-weight: 700;
	color: #1c7a4d !important;
	background: #eafaf1; border: 1.5px solid #2ea36b;
	border-radius: 10px; padding: 9px 14px;
	text-decoration: none;
}
.vlab-wa-share:hover { background: #dff5e8; }

/* ===== لوحة المدير: جداول وشارات ===== */
.vlab-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vlab-quick-btn {
	display: inline-block;
	font-size: 14px; font-weight: 700;
	color: #fff !important;
	background: rgba(255,255,255,.10);
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 10px; padding: 9px 18px;
	text-decoration: none;
	transition: background .15s ease;
}
.vlab-quick-btn:hover { background: rgba(194,154,75,.3); border-color: var(--vlab-brass); }
.vlab-tablewrap { overflow-x: auto; border: 1px solid var(--vlab-line); border-radius: 14px; background: #fff; }
.vlab-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.vlab-table th {
	text-align: right; background: var(--vlab-ivory);
	font-family: 'Alexandria', 'Tajawal', sans-serif; font-size: 13px;
	padding: 12px 16px; border-bottom: 2px solid var(--vlab-line);
	white-space: nowrap;
}
.vlab-table td { padding: 11px 16px; border-bottom: 1px solid #f0f2f1; vertical-align: middle; }
.vlab-table tbody tr:hover { background: #fbfaf6; }
.vlab-mini-btn {
	display: inline-block; font-size: 12px; font-weight: 700;
	color: var(--vlab-teal) !important;
	border: 1px solid var(--vlab-line); border-radius: 8px;
	padding: 4px 10px; text-decoration: none; white-space: nowrap;
}
.vlab-mini-btn:hover { border-color: var(--vlab-brass); color: var(--vlab-brass) !important; }
.vlab-mini-btn--warn { color: #a13232 !important; }
.vlab-mini-btn--warn:hover { border-color: #a13232; background: #fbeaea; }
.vlab-act { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.vlab-act--on    { background: #e4f2ec; color: #2e7d5b; }
.vlab-act--mid   { background: #f6efe0; color: #8a6a24; }
.vlab-act--off   { background: #fbeaea; color: #a13232; }
.vlab-act--never { background: #eceff0; color: #55666a; }
.vlab-inactive { list-style: none; margin: 0; padding: 0; }
.vlab-inactive li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 7px 0; border-bottom: 1px dashed var(--vlab-line); font-size: 13.5px; }

/* ===== الزر النابض للساحة + وميض الجرس + الأخبار والردود ===== */
.vlab-news-blink {
	background: linear-gradient(135deg, #e3b968, #c29a4b) !important;
	color: #0e2a32 !important;
	border: none !important;
	font-weight: 800 !important;
	animation: vlabNewsBlink 1.7s ease-in-out infinite;
}
@keyframes vlabNewsBlink {
	0%, 100% { box-shadow: 0 0 0 0 rgba(227,185,104,.75); }
	50%      { box-shadow: 0 0 0 14px rgba(227,185,104,0); }
}
.vlab-bell-flash { animation: vlabBellShake .8s ease; }
@keyframes vlabBellShake {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); }
	60% { transform: rotate(8deg); }  80% { transform: rotate(-6deg); }
}
.vlab-msg.vlab-news {
	border-inline-start: 5px solid var(--vlab-brass);
	background: #fffdf8;
	max-width: 100%;
}
.vlab-replies { margin: 10px 26px 4px 0; padding-inline-start: 14px; border-inline-start: 2px solid var(--vlab-line); }
.vlab-msg.vlab-reply { padding: 10px 14px; margin-bottom: 8px; background: #fbfbf9; }
.vlab-msg.vlab-reply .vlab-msg-body { font-size: 14px; }
.vlab-reply-form { display: flex; gap: 8px; margin: 6px 0 4px; }
.vlab-reply-form input[type="text"] {
	flex: 1; font-family: inherit; font-size: 13.5px;
	border: 1.5px solid var(--vlab-line); border-radius: 999px;
	padding: 8px 16px; background: #fff;
}
.vlab-reply-form input[type="text"]:focus { outline: none; border-color: var(--vlab-brass); }
.vlab-reply-form button {
	font-family: inherit; font-size: 13px; font-weight: 700;
	color: #fff; background: var(--vlab-teal);
	border: none; border-radius: 999px; padding: 8px 20px; cursor: pointer;
}
.vlab-reply-form button:hover { background: var(--vlab-ink); }
@media (prefers-reduced-motion: reduce) { .vlab-news-blink, .vlab-bell-flash { animation: none; } }

/* ===== لوحة التحكم ===== */
.vlab-admin-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; max-height: 260px; overflow-y: auto; border: 1px solid #dcdcde; border-radius: 8px; padding: 12px; }
.vlab-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; }
.vlab-authors-builder ol { margin: 12px 0 0; padding-inline-start: 22px; }
.vlab-authors-builder li { background: #f6f7f7; border: 1px solid #dcdcde; border-radius: 6px; padding: 6px 10px; margin-bottom: 6px; max-width: 420px; }
.vlab-author-remove { color: #b32d2e !important; margin-inline-start: 10px; cursor: pointer; }

/* ===== استجابة ===== */
@media (max-width: 760px) {
	.vlab-hero { padding: 36px 22px 30px; }
	.vlab-stats { grid-template-columns: repeat(2, 1fr); }
	.vlab-step-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
	.vlab * { transition: none !important; }
}

/* ===== نموذج تعيين الرئيس في لوحة القيادة ===== */
.vlab-appoint { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 8px; }
.vlab-appoint select {
	font-family: inherit; font-size: 12.5px;
	border: 1px solid var(--vlab-line); border-radius: 8px;
	padding: 4px 8px; background: #fff; max-width: 150px;
}
