/* =====================================================================
   Wakeel (وكيل) — shared UI for all panels (RTL-first, logical properties)
   Tokens first: a re-skin only changes :root.
   ===================================================================== */

@font-face { font-family: "Tajawal"; src: url("../vendor/fonts/tajawal-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Tajawal"; src: url("../vendor/fonts/tajawal-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Tajawal"; src: url("../vendor/fonts/tajawal-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Tajawal"; src: url("../vendor/fonts/tajawal-arabic-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Tajawal"; src: url("../vendor/fonts/tajawal-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Tajawal"; src: url("../vendor/fonts/tajawal-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Tajawal"; src: url("../vendor/fonts/tajawal-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Tajawal"; src: url("../vendor/fonts/tajawal-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
	--lt-font: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;

	--lt-bg: #f3f6fb;
	--lt-surface: #ffffff;
	--lt-surface-2: #f8fafd;
	--lt-line: #e6ebf3;
	--lt-text: #0f1b33;
	--lt-text-2: #4a5873;
	--lt-muted: #8592ab;

	--lt-side: #0f1d33;
	--lt-side-2: #15284a;
	--lt-side-text: #c9d6ef;
	--lt-side-active: #d92b3a;

	--lt-primary: #d92b3a;
	--lt-primary-soft: #fdecee;

	--lt-blue: #2563eb;   --lt-blue-soft: #e8f0fe;
	--lt-green: #16a34a;  --lt-green-soft: #e6f6ec;
	--lt-purple: #7c3aed; --lt-purple-soft: #f1ebfe;
	--lt-orange: #f59e0b; --lt-orange-soft: #fff4e0;
	--lt-teal: #0d9488;   --lt-teal-soft: #e2f5f3;
	--lt-rose: #e11d48;   --lt-rose-soft: #fde8ed;

	--lt-hover: #f1f4f9;
	--lt-track: #edf1f7;
	--lt-chip: #eef1f6;
	--lt-row-hover: #fafcff;
	--lt-unread: #f4f8ff;
	--lt-col: #eef2f8;
	--lt-top-bg: rgba(255, 255, 255, .92);
	--lt-flash: #fff6d6;
	--lt-focus: #c7d6f5;

	--lt-radius: 14px;
	--lt-radius-sm: 10px;
	--lt-shadow: 0 1px 2px rgba(16, 33, 74, .04), 0 4px 14px rgba(16, 33, 74, .05);
	--lt-side-w: 252px;
	--lt-top-h: 70px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0; font-family: var(--lt-font); background: var(--lt-bg); color: var(--lt-text);
	font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--lt-primary); text-decoration: none; }
a:hover { color: #b31f2c; }
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: 0; }
.btn { font-weight: 700; border-radius: var(--lt-radius-sm); }
.btn-primary { background: var(--lt-primary); border-color: var(--lt-primary); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: #b31f2c !important; border-color: #b31f2c !important; }
.form-control, .form-select { border-radius: var(--lt-radius-sm); border-color: var(--lt-line); padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: #f2a3aa; box-shadow: 0 0 0 .2rem rgba(217, 43, 58, .12); }
.form-label { font-weight: 700; font-size: .88rem; color: var(--lt-text-2); }
[dir="ltr"] .lt-arrow-flip { transform: scaleX(-1); }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------------- shell ---------------- */
.lt-app { display: flex; min-height: 100vh; }
.lt-side {
	position: fixed; inset-block: 0; inset-inline-start: 0; width: var(--lt-side-w);
	background: linear-gradient(180deg, var(--lt-side) 0%, #0b1628 100%);
	color: var(--lt-side-text); display: flex; flex-direction: column; z-index: 1040;
	transition: transform .25s ease;
}
.lt-brand { display: flex; align-items: center; gap: 12px; padding: 22px 22px 18px; color: #fff; }
.lt-brand:hover { color: #fff; }
.lt-brand-mark { display: grid; place-items: center; }
.lt-brand-text b { display: block; font-size: 1.22rem; font-weight: 800; line-height: 1.1; direction: ltr; text-align: start; }
.lt-brand-text small { color: #8fa6d1; font-size: .78rem; }
.lt-nav { flex: 1; overflow-y: auto; padding: 6px 14px 14px; scrollbar-width: thin; scrollbar-color: #24447f transparent; }
.lt-nav-h { font-size: .72rem; font-weight: 700; color: #6f88b8; margin: 16px 10px 6px; letter-spacing: .02em; }
.lt-nav a {
	display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 3px;
	color: var(--lt-side-text); border-radius: 11px; font-weight: 500; font-size: .95rem; position: relative;
	transition: background .15s, color .15s;
}
.lt-nav a i { font-size: 1.22rem; width: 22px; text-align: center; opacity: .9; }
.lt-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lt-nav a.active { background: var(--lt-side-active); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(217, 43, 58, .35); }
.lt-nav-badge {
	margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
	background: #ef4444; color: #fff; font-size: .72rem; display: grid; place-items: center; font-weight: 700;
}
.lt-side-foot { padding: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
.lt-help { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--lt-side-text); border-radius: 11px; }
.lt-help:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lt-help i { font-size: 1.25rem; }

.lt-main { flex: 1; min-width: 0; margin-inline-start: var(--lt-side-w); display: flex; flex-direction: column; }
.lt-top {
	height: var(--lt-top-h); position: sticky; top: 0; z-index: 1030; background: var(--lt-top-bg);
	backdrop-filter: blur(10px); border-bottom: 1px solid var(--lt-line);
	display: flex; align-items: center; gap: 16px; padding: 0 26px;
}
.lt-burger { display: none; }
.lt-search { position: relative; flex: 0 1 480px; }
.lt-search > i { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--lt-muted); font-size: 1.1rem; }
.lt-search input {
	width: 100%; height: 44px; border: 1px solid transparent; background: var(--lt-hover); border-radius: 12px;
	padding-inline: 42px 14px; font: inherit; color: var(--lt-text); outline: none; transition: .15s;
}
.lt-search input:focus { background: var(--lt-surface); border-color: var(--lt-focus); box-shadow: 0 0 0 4px rgba(37, 99, 235, .08); }
.lt-search-results {
	position: absolute; top: calc(100% + 6px); inset-inline: 0; background: var(--lt-surface); border: 1px solid var(--lt-line);
	border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 33, 74, .14); max-height: 380px; overflow: auto; padding: 6px;
}
.lt-search-results a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--lt-text); }
.lt-search-results a:hover, .lt-search-results a.on { background: var(--lt-primary-soft); }
.lt-search-results small { color: var(--lt-muted); display: block; font-size: .78rem; }
.lt-top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lt-icon-btn {
	position: relative; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent;
	display: grid; place-items: center; color: var(--lt-text-2); font-size: 1.35rem; cursor: pointer;
}
.lt-icon-btn:hover { background: var(--lt-hover); color: var(--lt-text); }
.lt-dot-badge {
	position: absolute; top: 4px; inset-inline-end: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: #ef4444; color: #fff; font-size: .68rem; display: grid; place-items: center; border: 2px solid var(--lt-surface);
}
.lt-rt-dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; margin-inline-end: 4px; transition: background .3s; }
.lt-rt-dot.on { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.lt-me { display: flex; align-items: center; gap: 10px; background: transparent; border: 0; padding: 4px 6px; border-radius: 12px; color: var(--lt-text); }
.lt-me:hover { background: var(--lt-hover); }
.lt-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #ef4b58, #b31f2c); color: #fff; display: grid; place-items: center; font-weight: 800; }
.lt-me-t { text-align: start; line-height: 1.25; }
.lt-me-t b { display: block; font-size: .95rem; }
.lt-me-t small { color: var(--lt-muted); font-size: .8rem; }
.lt-drop { border: 1px solid var(--lt-line); border-radius: 14px; box-shadow: 0 18px 44px rgba(16, 33, 74, .14); padding: 6px; min-width: 250px; }
.lt-drop .dropdown-item { border-radius: 9px; padding: 8px 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.lt-drop .dropdown-item i { font-size: 1.1rem; color: var(--lt-muted); }
.lt-drop .dropdown-item.active, .lt-drop .dropdown-item:active { background: var(--lt-primary-soft); color: var(--lt-text); }
.lt-drop-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 6px; font-size: .9rem; }
.lt-ctx span { display: flex; flex-direction: column; line-height: 1.25; }
.lt-ctx small { color: var(--lt-muted); font-size: .76rem; }
.lt-notif-drop { width: 360px; }
.lt-notif-list { max-height: 420px; overflow-y: auto; }
.lt-notif { display: flex; gap: 10px; padding: 10px; border-radius: 10px; color: var(--lt-text); position: relative; }
.lt-notif:hover { background: var(--lt-surface-2); color: var(--lt-text); }
.lt-notif.unread { background: var(--lt-unread); }
.lt-notif.unread::after { content: ""; position: absolute; inset-inline-end: 10px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--lt-primary); }
.lt-notif-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lt-primary-soft); color: var(--lt-primary); flex: none; font-size: 1.1rem; }
.lt-notif b { display: block; font-size: .88rem; padding-inline-end: 14px; }
.lt-notif p { margin: 0; color: var(--lt-text-2); font-size: .8rem; }
.lt-notif small { color: var(--lt-muted); font-size: .74rem; }
.lt-empty-s { padding: 22px; text-align: center; color: var(--lt-muted); font-size: .88rem; }

.lt-page { padding: 24px 26px 40px; flex: 1; }
.lt-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 2000; pointer-events: none; }
.lt-progress::before { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f87171, #d92b3a); transition: width .3s ease, opacity .4s; opacity: 0; }
.lt-progress.run::before { width: 70%; opacity: 1; transition: width 2.5s cubic-bezier(.1, .6, .2, 1); }
.lt-progress.done::before { width: 100%; opacity: 0; transition: width .2s, opacity .4s .2s; }
.lt-page.lt-swapping { opacity: .55; transition: opacity .15s; }

/* ---------------- grid ---------------- */
.lt-grid { display: grid; gap: 20px; }
.lt-dash { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.lt-col { display: grid; gap: 22px; min-width: 0; }
.lt-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lt-row-2.wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.lt-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ---------------- cards ---------------- */
.lt-card { background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); box-shadow: var(--lt-shadow); padding: 20px; min-width: 0; }
.lt-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.lt-card-h h3 { font-size: 1.12rem; margin: 0; }
.lt-card-h a { font-size: .85rem; font-weight: 700; white-space: nowrap; }
.lt-card-h a i { vertical-align: -2px; }
[dir="ltr"] .lt-card-h a i.ri-arrow-left-line, [dir="ltr"] .lt-stat a i { display: inline-block; transform: scaleX(-1); }
.lt-card.p0 { padding: 0; }
.lt-card.p0 .lt-card-h { padding: 18px 20px 0; }

/* hero */
.lt-hero {
	position: relative; overflow: hidden; border-radius: var(--lt-radius); color: #fff; min-height: 150px;
	background: radial-gradient(120% 140% at 100% 0%, #6b1d2c 0%, #1c2a48 55%, #0f1d33 100%);
	display: flex; align-items: center; justify-content: space-between; padding: 26px 30px; gap: 20px;
}
.lt-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.lt-hero-t { position: relative; z-index: 1; }
.lt-hero h1 { font-size: 1.85rem; margin: 0 0 4px; }
.lt-hero p { margin: 0 0 14px; color: #c8d7f5; font-size: 1.02rem; }
.lt-hero-date { display: inline-flex; align-items: center; gap: 8px; color: #e2eafa; font-size: .92rem; background: rgba(255, 255, 255, .1); padding: 6px 12px; border-radius: 10px; }
.lt-hero-date em { font-style: normal; color: #a9bfe9; }
.lt-hero-art { position: relative; z-index: 1; flex: none; margin-block: -10px -26px; }
.lt-hero-art svg { display: block; width: 290px; height: auto; }

/* stat cards (two looks: soft = first screenshot, .solid = second) */
.lt-stat { display: flex; align-items: flex-start; gap: 14px; background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); padding: 18px; box-shadow: var(--lt-shadow); position: relative; overflow: hidden; }
.lt-stat-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; flex: none; color: #fff; background: var(--c); box-shadow: 0 0 0 6px var(--cs); }
.lt-stat-b b { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.lt-stat-long .lt-stat-b b { font-size: 1.15rem; line-height: 1.35; }
.lt-stat-b span { color: var(--lt-text-2); font-size: .9rem; }
.lt-stat-b a { display: block; margin-top: 8px; font-size: .84rem; font-weight: 700; color: var(--c); }
.lt-blue { --c: var(--lt-blue); --cs: var(--lt-blue-soft); }
.lt-green { --c: var(--lt-green); --cs: var(--lt-green-soft); }
.lt-purple { --c: var(--lt-purple); --cs: var(--lt-purple-soft); }
.lt-orange { --c: var(--lt-orange); --cs: var(--lt-orange-soft); }
.lt-teal { --c: var(--lt-teal); --cs: var(--lt-teal-soft); }
.lt-rose { --c: var(--lt-rose); --cs: var(--lt-rose-soft); }
.lt-stat.lt-orange { background: linear-gradient(180deg, var(--lt-orange-soft), var(--lt-surface)); }
.lt-stats.solid .lt-stat { background: var(--c); border: 0; color: #fff; flex-direction: column; gap: 6px; }
.lt-stats.solid .lt-stat-ic { background: transparent; box-shadow: none; width: auto; height: auto; justify-content: start; font-size: 1.9rem; }
.lt-stats.solid .lt-stat-b span, .lt-stats.solid .lt-stat-b a { color: rgba(255, 255, 255, .92); }
.lt-stats.solid .lt-stat.lt-orange { background: var(--lt-orange); }

/* class tiles (my classes) */
.lt-class-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.lt-tile { border: 1px solid var(--lt-line); border-radius: 12px; overflow: hidden; background: var(--lt-surface); display: flex; flex-direction: column; color: var(--lt-text); transition: transform .15s, box-shadow .15s; }
.lt-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 33, 74, .1); color: var(--lt-text); }
.lt-tile-top { background: var(--c); color: #fff; padding: 14px; min-height: 92px; }
.lt-tile-top i { font-size: 1.5rem; }
.lt-tile-top b { display: block; font-size: .95rem; margin-top: 6px; line-height: 1.3; }
.lt-tile-top small { opacity: .9; font-size: .8rem; }
.lt-tile-b { padding: 12px 14px; font-size: .8rem; color: var(--lt-text-2); display: grid; gap: 6px; }
.lt-tile-b .lt-bar { margin-top: 4px; }
.lt-bar { height: 6px; border-radius: 3px; background: var(--lt-track); overflow: hidden; }
.lt-bar > i { display: block; height: 100%; background: var(--c, var(--lt-primary)); border-radius: 3px; transition: width .6s; }

/* schedule timeline */
.lt-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.lt-timeline::before { content: ""; position: absolute; inset-inline-start: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--lt-line); }
.lt-timeline li { position: relative; padding-inline-start: 28px; padding-block: 10px; border-bottom: 1px solid var(--lt-line); display: flex; gap: 10px; align-items: flex-start; }
.lt-timeline li:last-child { border-bottom: 0; }
.lt-timeline li::before { content: ""; position: absolute; inset-inline-start: 1px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--lt-surface); border: 4px solid var(--c, var(--lt-primary)); }
.lt-timeline li.now { background: linear-gradient(90deg, transparent, var(--lt-primary-soft)); border-radius: 10px; }
[dir="rtl"] .lt-timeline li.now { background: linear-gradient(270deg, transparent, var(--lt-primary-soft)); }
.lt-timeline .tm { font-size: .82rem; color: var(--lt-text-2); direction: ltr; unicode-bidi: isolate; }
.lt-timeline b { display: block; font-size: .95rem; }
.lt-timeline small { color: var(--lt-muted); font-size: .8rem; }
.lt-timeline .grow { flex: 1; min-width: 0; }
.lt-live-btn { font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--lt-primary-soft); color: var(--lt-primary); white-space: nowrap; border: 0; }
.lt-live-btn.on { background: #ef4444; color: #fff; animation: lt-pulse 1.6s infinite; }
@keyframes lt-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .45); } 50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); } }

/* quick actions */
.lt-qas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lt-qa { border: 1px solid var(--lt-line); border-radius: 12px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--lt-text); background: var(--lt-surface); transition: .15s; }
.lt-qa span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; background: var(--cs); color: var(--c); }
.lt-qa b { font-size: .8rem; font-weight: 700; line-height: 1.3; }
.lt-qa:hover { border-color: var(--c); color: var(--lt-text); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16, 33, 74, .07); }

/* lists */
.lt-list { list-style: none; margin: 0; padding: 0; }
.lt-list > li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--lt-line); }
.lt-list > li:last-child { border-bottom: 0; }
.lt-list .grow { flex: 1; min-width: 0; }
.lt-list b { display: block; font-size: .93rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-list small { color: var(--lt-muted); font-size: .8rem; }
.lt-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex: none; background: var(--cs, var(--lt-primary-soft)); color: var(--c, var(--lt-primary)); }
.lt-ic.round { border-radius: 50%; }
.lt-dot { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 0 5px var(--cs); }
.lt-av { width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: calc(var(--s) * .38); flex: none; }
.lt-badge-sq { width: 38px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .78rem; background: var(--c); flex: none; }

/* tables */
.lt-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.lt-table th { font-weight: 700; color: var(--lt-text-2); font-size: .8rem; background: var(--lt-surface-2); padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--lt-line); white-space: nowrap; }
.lt-table th:first-child { border-start-start-radius: 10px; }
.lt-table th:last-child { border-start-end-radius: 10px; }
.lt-table td { padding: 11px 12px; border-bottom: 1px solid var(--lt-line); vertical-align: middle; }
.lt-table tr:last-child td { border-bottom: 0; }
.lt-table tbody tr:hover td { background: var(--lt-row-hover); }
.lt-table tr.lt-flash td { animation: lt-flash 1.6s ease; }
@keyframes lt-flash { from { background: var(--lt-flash); } to { background: transparent; } }
.lt-table-wrap { overflow-x: auto; }

.lt-pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.lt-pill-green { background: var(--lt-green-soft); color: #15803d; }
.lt-pill-blue { background: var(--lt-blue-soft); color: #1d4ed8; }
.lt-pill-orange { background: var(--lt-orange-soft); color: #b45309; }
.lt-pill-red { background: var(--lt-rose-soft); color: #be123c; }
.lt-pill-purple { background: var(--lt-purple-soft); color: #6d28d9; }
.lt-pill-gray { background: var(--lt-chip); color: var(--lt-text-2); }
.lt-pill-teal { background: var(--lt-teal-soft); color: #0f766e; }

/* chart: grouped bars */
.lt-bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 14px; height: 170px; padding-top: 18px; border-bottom: 1px solid var(--lt-line); }
.lt-bars .g { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; height: 100%; justify-content: flex-end; }
.lt-bars .g > div { display: flex; align-items: flex-end; gap: 5px; height: 100%; }
.lt-bars .b { width: 16px; border-radius: 5px 5px 0 0; background: var(--lt-primary); position: relative; transition: height .6s; }
.lt-bars .b.alt { background: #bfd3fb; }
.lt-bars .b::before { content: attr(data-v); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: .68rem; color: var(--lt-text-2); padding-bottom: 2px; }
.lt-bars-l { display: flex; justify-content: space-around; font-size: .76rem; color: var(--lt-text-2); padding-top: 6px; }
.lt-legend { display: flex; gap: 16px; font-size: .8rem; color: var(--lt-text-2); margin-bottom: 4px; }
.lt-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; vertical-align: -1px; }

/* donut */
.lt-donut-wrap { display: flex; align-items: center; gap: 18px; }
.lt-donut { --p1: 60; --p2: 25; width: 150px; height: 150px; border-radius: 50%; flex: none; position: relative;
	background: conic-gradient(var(--lt-blue) 0 calc(var(--p1) * 1%), var(--lt-green) 0 calc((var(--p1) + var(--p2)) * 1%), var(--lt-orange) 0 100%); }
.lt-donut::after { content: ""; position: absolute; inset: 18px; background: var(--lt-surface); border-radius: 50%; }
.lt-donut span { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; text-align: center; line-height: 1.1; }
.lt-donut b { font-size: 1.7rem; color: var(--lt-green); display: block; }
.lt-donut small { font-size: .74rem; color: var(--lt-muted); }

/* activity feed (horizontal) */
.lt-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.lt-feed > div { display: flex; gap: 10px; }
.lt-feed b { font-size: .84rem; display: block; }
.lt-feed small { color: var(--lt-muted); font-size: .76rem; display: block; }

/* empty states */
.lt-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--lt-muted); padding: 30px 10px; text-align: center; }
.lt-empty i { font-size: 2.2rem; opacity: .6; }
.lt-empty-sm { padding: 16px 6px; }
.lt-empty-sm i { font-size: 1.5rem; }

/* page header */
.lt-ph { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.lt-ph h2 { font-size: 1.45rem; margin: 0; }
.lt-ph p { margin: 2px 0 0; color: var(--lt-muted); font-size: .9rem; }

/* children cards (parent) */
.lt-kid { display: flex; gap: 14px; align-items: center; }
.lt-kid-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.lt-kid-tab { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 14px; border: 1px solid var(--lt-line); background: var(--lt-surface); color: var(--lt-text); cursor: pointer; font: inherit; }
.lt-kid-tab.on { border-color: var(--lt-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.lt-kid-tab span { text-align: start; line-height: 1.25; }
.lt-kid-tab small { display: block; color: var(--lt-muted); font-size: .76rem; }

/* auth pages */
.lt-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.lt-auth-side { background: radial-gradient(120% 120% at 100% 0%, #0b6c86 0%, #12305a 50%, #0f1d33 100%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.lt-auth-side::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 20px 20px; }
.lt-auth-side > * { position: relative; }
.lt-auth-side h2 { font-size: 2.1rem; line-height: 1.35; max-width: 460px; }
.lt-auth-side p { color: #c8d7f5; max-width: 440px; }
.lt-auth-feats { display: grid; gap: 12px; margin-top: 18px; }
.lt-auth-feats div { display: flex; gap: 12px; align-items: center; color: #dbe6fb; }
.lt-auth-feats i { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 1.15rem; }
.lt-auth-main { display: grid; place-items: center; padding: 32px; background: var(--lt-surface); }
.lt-auth-card { width: 100%; max-width: 400px; }
.lt-auth-card h1 { font-size: 1.6rem; margin-bottom: 4px; }
.lt-auth-card .sub { color: var(--lt-muted); margin-bottom: 26px; }
.lt-auth-card .form-control { height: 50px; }
.lt-auth-card .btn { height: 50px; }
.lt-input-ic { position: relative; }
.lt-input-ic > i { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--lt-muted); font-size: 1.15rem; }
.lt-input-ic .form-control { padding-inline-start: 42px; }
.lt-ctx-list { display: grid; gap: 10px; }
.lt-ctx-card { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--lt-line); border-radius: 14px; color: var(--lt-text); transition: .15s; }
.lt-ctx-card:hover { border-color: var(--lt-primary); color: var(--lt-text); box-shadow: 0 8px 20px rgba(37, 99, 235, .1); }
.lt-ctx-card .lt-ic { width: 48px; height: 48px; font-size: 1.4rem; }
.lt-ctx-card b { display: block; }
.lt-ctx-card small { color: var(--lt-muted); }
.lt-ctx-card > i { margin-inline-start: auto; color: var(--lt-muted); }
[dir="ltr"] .lt-ctx-card > i { transform: scaleX(-1); }

/* toasts */
.lt-toast-stack { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 3000; display: grid; gap: 10px; width: 340px; max-width: calc(100vw - 36px); }
.lt-toast { background: #0f1b33; color: #fff; border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); animation: lt-in .25s ease; cursor: pointer; }
.lt-toast i { font-size: 1.3rem; color: #93c5fd; }
.lt-toast b { display: block; font-size: .9rem; }
.lt-toast span { font-size: .82rem; color: #cbd5e1; }
@keyframes lt-in { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* offcanvas forms (WorkUp style add/edit sidebars) */
.offcanvas { border: 0 !important; }
.offcanvas-header { border-bottom: 1px solid var(--lt-line); }
.offcanvas-title { font-weight: 800; }
.swal2-popup { font-family: var(--lt-font) !important; border-radius: 16px !important; }

/* ---------------- responsive ---------------- */
@media (max-width: 1400px) {
	.lt-dash { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1200px) {
	.lt-dash { grid-template-columns: minmax(0, 1fr); }
	.lt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
	.lt-side { transform: translateX(100%); }
	[dir="ltr"] .lt-side { transform: translateX(-100%); }
	body.side-open .lt-side { transform: none; }
	.lt-scrim { position: fixed; inset: 0; background: rgba(8, 20, 45, .45); z-index: 1035; display: none; }
	body.side-open .lt-scrim { display: block; }
	.lt-main { margin-inline-start: 0; }
	.lt-burger { display: grid; }
	.lt-row-2, .lt-row-2.wide, .lt-row-3 { grid-template-columns: minmax(0, 1fr); }
	.lt-hero-art { display: none; }
	.lt-auth { grid-template-columns: minmax(0, 1fr); }
	.lt-auth-side { display: none; }
	.lt-me-t { display: none; }
}
@media (max-width: 576px) {
	.lt-page { padding: 16px 14px 32px; }
	.lt-top { padding: 0 12px; gap: 8px; }
	.lt-stats { grid-template-columns: minmax(0, 1fr); }
	.lt-qas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lt-hero { padding: 22px; }
	.lt-hero h1 { font-size: 1.45rem; }
	.lt-notif-drop { width: calc(100vw - 24px); }
	.lt-search { display: none; }
}

/* ---------------- phase 3: management screens ---------------- */
.lt-grade-row { padding: 12px 0; border-top: 1px solid var(--lt-line); }
.lt-grade-row:first-of-type { border-top: 0; }
.lt-grade-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lt-grade-h b { display: block; }
.lt-grade-h small { color: var(--lt-muted); font-size: .8rem; }
.lt-grade-h .grow { flex: 1; }
.lt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lt-chip { border: 1px solid var(--lt-line); background: var(--lt-surface); border-radius: 12px; padding: 8px 12px; min-width: 104px; text-align: start; display: grid; gap: 2px; cursor: pointer; font: inherit; color: var(--lt-text); border-top: 3px solid var(--c); transition: .15s; }
.lt-chip:hover { box-shadow: 0 8px 18px rgba(16, 33, 74, .08); transform: translateY(-1px); }
.lt-chip b { font-size: 1rem; }
.lt-chip span { font-size: .78rem; color: var(--lt-text-2); direction: ltr; text-align: end; }
.lt-chip small { font-size: .72rem; color: var(--lt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.lt-chip-bar { display: block; height: 4px; background: var(--lt-track); border-radius: 2px; overflow: hidden; }
.lt-chip-bar > i { display: block; height: 100%; background: var(--c); }
.lt-chip-add { border-style: dashed; border-top-width: 1px; color: var(--lt-primary); display: flex; align-items: center; justify-content: center; gap: 4px; font-weight: 700; font-size: .85rem; }
.lt-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 16px 20px 0; }
.lt-toolbar .form-control, .lt-toolbar .form-select { max-width: 230px; }
.lt-sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; background: var(--c); vertical-align: -2px; }
.lt-icon-pick { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.lt-icon-pick label { border: 1px solid var(--lt-line); border-radius: 9px; height: 40px; display: grid; place-items: center; cursor: pointer; font-size: 1.2rem; color: var(--lt-text-2); }
.lt-icon-pick input { display: none; }
.lt-icon-pick input:checked + label { border-color: var(--lt-primary); background: var(--lt-primary-soft); color: var(--lt-primary); }
.lt-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--lt-line); margin-bottom: 18px; overflow-x: auto; }
.lt-tabs button { border: 0; background: none; padding: 10px 14px; font: inherit; font-weight: 700; color: var(--lt-text-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.lt-tabs button.on { color: var(--lt-primary); border-bottom-color: var(--lt-primary); }
.lt-kanban { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 14px; overflow-x: auto; align-items: start; padding-bottom: 6px; }
.lt-kcol { background: var(--lt-col); border-radius: 14px; padding: 10px; min-height: 120px; }
.lt-kcol h4 { font-size: .9rem; display: flex; justify-content: space-between; align-items: center; margin: 4px 6px 10px; }
.lt-kcard { background: var(--lt-surface); border-radius: 11px; padding: 10px 12px; margin-bottom: 8px; box-shadow: var(--lt-shadow); cursor: pointer; border: 1px solid transparent; }
.lt-kcard:hover { border-color: var(--lt-focus); }
.lt-kcard b { display: block; font-size: .9rem; }
.lt-kcard small { color: var(--lt-muted); font-size: .76rem; display: block; }
/* timetable grid */
.lt-tt { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; min-width: 760px; }
.lt-tt th { font-size: .8rem; color: var(--lt-text-2); text-align: center; font-weight: 700; }
.lt-tt th small { display: block; color: var(--lt-muted); font-weight: 500; direction: ltr; }
.lt-tt td { height: 74px; border-radius: 11px; background: var(--lt-surface-2); border: 1px dashed var(--lt-line); vertical-align: middle; text-align: center; cursor: pointer; padding: 6px; font-size: .8rem; transition: .12s; position: relative; }
.lt-tt td:hover { border-color: var(--lt-primary); }
.lt-tt td.on { background: color-mix(in srgb, var(--c) 14%, var(--lt-surface)); border: 1px solid color-mix(in srgb, var(--c) 40%, var(--lt-surface)); border-inline-start: 4px solid var(--c); text-align: start; }
.lt-tt td.on b { display: block; font-size: .85rem; color: var(--lt-text); }
.lt-tt td.on small { color: var(--lt-text-2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-tt td.brk { background: repeating-linear-gradient(45deg, var(--lt-surface-2), var(--lt-surface-2) 6px, var(--lt-chip) 6px, var(--lt-chip) 12px); cursor: default; border: 0; height: 30px; color: var(--lt-muted); }
.lt-tt th.day { width: 92px; }
.lt-quota { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-quota span { font-size: .78rem; padding: 4px 10px; border-radius: 20px; background: var(--lt-chip); }
.lt-quota span.ok { background: var(--lt-green-soft); color: #15803d; }
.lt-quota span.over { background: var(--lt-rose-soft); color: #be123c; }
.lt-perm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lt-perm-grid label { border: 1px solid var(--lt-line); border-radius: 10px; padding: 8px 10px; display: flex; gap: 8px; align-items: center; cursor: pointer; font-size: .88rem; }

/* ---------------- phase 4: teaching ---------------- */
.lt-tt-ro td { cursor: default; }
.lt-tt-ro td.free { background: transparent; border-style: dashed; }
.lt-tt-ro tr.today th.day { color: var(--lt-primary); }
.lt-tt-ro tr.today th.day small { color: var(--lt-primary); }
.lt-tt-ro td.now { box-shadow: 0 0 0 3px var(--lt-primary); }
.lt-att-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lt-line); }
.lt-att-row:last-child { border-bottom: 0; }
.lt-att-row .grow { flex: 1; min-width: 0; }
.lt-att-btns { display: flex; gap: 6px; }
.lt-att-btns button { border: 1px solid var(--lt-line); background: var(--lt-surface); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: .82rem; font-weight: 700; color: var(--lt-text-2); display: flex; align-items: center; gap: 4px; }
.lt-att-btns button.on[data-s=present] { background: var(--lt-green); border-color: var(--lt-green); color: #fff; }
.lt-att-btns button.on[data-s=absent] { background: var(--lt-rose); border-color: var(--lt-rose); color: #fff; }
.lt-att-btns button.on[data-s=late] { background: var(--lt-orange); border-color: var(--lt-orange); color: #fff; }
.lt-att-btns button.on[data-s=excused] { background: var(--lt-purple); border-color: var(--lt-purple); color: #fff; }
.lt-att-sum { display: flex; gap: 10px; flex-wrap: wrap; }
.lt-att-sum span { padding: 6px 12px; border-radius: 10px; background: var(--lt-surface-2); font-weight: 700; font-size: .85rem; }
.lt-grade-in { width: 84px; text-align: center; direction: ltr; }
.lt-sub-row td { vertical-align: top; }
.lt-file { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; background: var(--lt-surface-2); border: 1px solid var(--lt-line); font-size: .85rem; color: var(--lt-text); max-width: 100%; }
.lt-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-lesson { border: 1px solid var(--lt-line); border-radius: 12px; padding: 14px; margin-bottom: 10px; background: var(--lt-surface); }
.lt-lesson-h { display: flex; align-items: center; gap: 10px; }
.lt-lesson-h .grow { flex: 1; min-width: 0; }
.lt-lesson-body { margin-top: 10px; white-space: pre-wrap; color: var(--lt-text-2); font-size: .92rem; }
.lt-mats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lt-hw { border: 1px solid var(--lt-line); border-radius: 14px; padding: 16px; background: var(--lt-surface); display: flex; gap: 14px; align-items: flex-start; cursor: pointer; transition: .15s; }
.lt-hw:hover { box-shadow: 0 8px 20px rgba(16, 33, 74, .08); }
.lt-hw .grow { flex: 1; min-width: 0; }
.lt-hw b { display: block; }
.lt-hw small { color: var(--lt-muted); font-size: .8rem; }
.lt-hw-list { display: grid; gap: 10px; }
.lt-due-late { color: var(--lt-rose) !important; font-weight: 700; }

/* ---------------- dark theme (html[data-theme=dark]) ---------------- */
html[data-theme="dark"] {
	color-scheme: dark;
	--lt-bg: #0b1220;
	--lt-surface: #121b2e;
	--lt-surface-2: #172238;
	--lt-line: #233150;
	--lt-text: #e6ecf8;
	--lt-text-2: #a9b6d0;
	--lt-muted: #7b89a6;
	--lt-side: #070e1c;
	--lt-side-2: #0a1426;
	--lt-primary-soft: rgba(59, 130, 246, .16);
	--lt-blue-soft: rgba(59, 130, 246, .16);
	--lt-green-soft: rgba(34, 197, 94, .14);
	--lt-purple-soft: rgba(139, 92, 246, .16);
	--lt-orange-soft: rgba(245, 158, 11, .14);
	--lt-teal-soft: rgba(20, 184, 166, .14);
	--lt-rose-soft: rgba(244, 63, 94, .15);
	--lt-hover: #1a2640;
	--lt-track: #22304d;
	--lt-chip: #1d2a44;
	--lt-row-hover: #16213a;
	--lt-unread: #15233f;
	--lt-col: #0f1828;
	--lt-top-bg: rgba(14, 21, 37, .9);
	--lt-flash: rgba(245, 158, 11, .18);
	--lt-focus: #3b5b99;
	--lt-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
}
html[data-theme="dark"] body { background: var(--lt-bg); }
html[data-theme="dark"] .lt-pill-green { color: #4ade80; }
html[data-theme="dark"] .lt-pill-blue { color: #93c5fd; }
html[data-theme="dark"] .lt-pill-orange { color: #fbbf24; }
html[data-theme="dark"] .lt-pill-red { color: #fb7185; }
html[data-theme="dark"] .lt-pill-purple { color: #c4b5fd; }
html[data-theme="dark"] .lt-search input { background: var(--lt-surface-2); color: var(--lt-text); }
html[data-theme="dark"] .lt-hero { background: radial-gradient(120% 140% at 100% 0%, #1b3f8c 0%, #0d2150 55%, #081631 100%); }
html[data-theme="dark"] .lt-toast { background: #1e2a44; }
html[data-theme="dark"] .lt-table th { background: var(--lt-surface-2); }
html[data-theme="dark"] .text-muted { color: var(--lt-muted) !important; }
html[data-theme="dark"] .lt-stat.lt-orange { background: linear-gradient(180deg, rgba(245, 158, 11, .1), var(--lt-surface)); }
html[data-theme="dark"] .swal2-popup { background: var(--lt-surface) !important; color: var(--lt-text) !important; }
html[data-theme="dark"] .swal2-title, html[data-theme="dark"] .swal2-html-container { color: var(--lt-text) !important; }
html[data-theme="dark"] .alert-info { background: rgba(59, 130, 246, .12); border-color: #233150; color: #bcd3fb; }
html[data-theme="dark"] .alert-success { background: rgba(34, 197, 94, .12); border-color: #233150; color: #a7f3c4; }
html[data-theme="dark"] .alert-warning { background: rgba(245, 158, 11, .12); border-color: #233150; color: #fde68a; }
html[data-theme="dark"] .alert-danger { background: rgba(244, 63, 94, .12); border-color: #233150; color: #fecdd3; }
html[data-theme="dark"] .alert-secondary { background: var(--lt-surface-2); border-color: var(--lt-line); color: var(--lt-text-2); }
html[data-theme="dark"] .btn-light { background: var(--lt-surface-2); border-color: var(--lt-line); color: var(--lt-text); }
html[data-theme="dark"] .btn-light:hover { background: var(--lt-hover); color: var(--lt-text); }
html[data-theme="dark"] .form-control, html[data-theme="dark"] .form-select { background-color: var(--lt-surface-2); border-color: var(--lt-line); color: var(--lt-text); }
html[data-theme="dark"] .form-control::placeholder { color: var(--lt-muted); }
html[data-theme="dark"] .lt-hero-art svg { opacity: .9; }
.lt-theme-btn .ri-sun-line { display: none; }
html[data-theme="dark"] .lt-theme-btn .ri-sun-line { display: inline; }
html[data-theme="dark"] .lt-theme-btn .ri-moon-line { display: none; }
.lt-table td:first-child { min-width: 150px; }

/* ---------------- exams ---------------- */
.lt-qtypes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.lt-qtypes input { display: none; }
.lt-qtypes label { border: 1px solid var(--lt-line); border-radius: 12px; padding: 10px 4px; text-align: center; cursor: pointer; display: grid; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--lt-text-2); }
.lt-qtypes label i { font-size: 1.3rem; }
.lt-qtypes input:checked + label { border-color: var(--lt-primary); background: var(--lt-primary-soft); color: var(--lt-primary); }
.lt-q { border: 1px solid var(--lt-line); border-radius: 14px; padding: 16px; background: var(--lt-surface); margin-bottom: 12px; }
.lt-q-h { display: flex; gap: 10px; align-items: flex-start; }
.lt-q-h .grow { flex: 1; min-width: 0; }
.lt-q-body { white-space: pre-wrap; font-weight: 700; line-height: 1.7; }
.lt-q-opts { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.lt-q-opts li { border: 1px solid var(--lt-line); border-radius: 10px; padding: 8px 12px; display: flex; gap: 8px; align-items: center; font-size: .92rem; }
.lt-q-opts li.ok { border-color: var(--lt-green); background: var(--lt-green-soft); }
.lt-q-opts li.bad { border-color: var(--lt-rose); background: var(--lt-rose-soft); }
.lt-q-opts label { display: flex; gap: 10px; align-items: center; cursor: pointer; width: 100%; }
.lt-qnum { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--lt-primary-soft); color: var(--lt-primary); font-weight: 800; flex: none; }
.lt-exam-bar { position: sticky; top: var(--lt-top-h); z-index: 20; background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 14px; margin-bottom: 16px; box-shadow: var(--lt-shadow); }
.lt-timer { font-size: 1.5rem; font-weight: 800; direction: ltr; font-variant-numeric: tabular-nums; }
.lt-timer.warn { color: var(--lt-rose); animation: lt-pulse 1.6s infinite; border-radius: 8px; }
.lt-qnav { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-qnav a { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; border: 1px solid var(--lt-line); color: var(--lt-text-2); }
.lt-qnav a.done { background: var(--lt-primary); border-color: var(--lt-primary); color: #fff; }
.lt-save-st { font-size: .8rem; color: var(--lt-muted); }
@media (max-width: 768px) { .lt-qtypes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lt-stats.lt-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .lt-stats.lt-stats-3 { grid-template-columns: minmax(0, 1fr); } }
.lt-answer { background: var(--lt-chip); border-radius: 10px; padding: 10px 12px; font-size: .92rem; white-space: normal; }
.lt-prog { height: 6px; border-radius: 6px; background: var(--lt-chip); overflow: hidden; margin-bottom: 3px; }
.lt-prog i { display: block; height: 100%; background: var(--lt-primary); border-radius: 6px; transition: width .5s; }
.lt-exam-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
@media (max-width: 991px) { .lt-exam-grid { grid-template-columns: minmax(0, 1fr); } .lt-exam-grid > div:last-child { order: -1; } .lt-exam-grid > div:last-child .lt-card { position: static !important; } }
@media (max-width: 640px) { .lt-exam-bar { flex-wrap: wrap; gap: 8px; } .lt-exam-bar .grow { flex-basis: 100%; } }

/* ---------------------------------------------------------------- chat (§20) */
.lt-drop-f { display: block; text-align: center; font-size: .82rem; font-weight: 700; padding: 8px; border-top: 1px solid var(--lt-line); margin-top: 4px; }
.lt-chat { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: calc(100vh - var(--lt-top-h) - 64px); min-height: 460px; background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: 18px; overflow: hidden; box-shadow: var(--lt-shadow); }
.lt-chat-side { border-inline-end: 1px solid var(--lt-line); display: flex; flex-direction: column; min-height: 0; }
.lt-chat-side-h { display: flex; justify-content: space-between; align-items: center; padding: 16px; }
.lt-chat-side-h h2 { font-size: 1.15rem; margin: 0; font-weight: 800; }
.lt-chat-list { overflow-y: auto; flex: 1; padding: 0 8px 8px; }
.lt-chat-item { display: flex; gap: 10px; padding: 10px; border-radius: 12px; color: inherit; text-decoration: none; align-items: flex-start; }
.lt-chat-item:hover { background: var(--lt-row-hover); color: inherit; }
.lt-chat-item.active { background: var(--lt-primary-soft); }
.lt-chat-item b { font-size: .92rem; }
.lt-chat-item small { color: var(--lt-muted); font-size: .74rem; white-space: nowrap; }
.lt-chat-item .grow { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lt-chat-meta { overflow: hidden; text-overflow: ellipsis; }
.lt-chat-last { font-size: .82rem; color: var(--lt-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-chat-item.unread .lt-chat-last { color: var(--lt-text); font-weight: 700; }
.lt-chat-count { background: var(--lt-primary); color: #fff; border-radius: 10px; font-size: .7rem; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.lt-chat-av { position: relative; flex: none; }
.lt-online { position: absolute; bottom: 1px; inset-inline-end: 1px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--lt-surface); background: #cbd5e1; display: none; }
.lt-online.on { display: block; background: #22c55e; }
.lt-chat-main { display: flex; flex-direction: column; min-height: 0; position: relative; background: var(--lt-bg); }
.lt-chat-empty { margin: auto; text-align: center; display: flex; flex-direction: column; gap: 6px; color: var(--lt-muted); padding: 30px; }
.lt-chat-empty i { font-size: 3.4rem; color: var(--lt-primary); opacity: .55; }
.lt-chat-empty b { color: var(--lt-text); font-size: 1.05rem; }
.lt-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--lt-line); background: var(--lt-surface); }
.lt-chat-back { display: none; }
.lt-chat-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.lt-chat-day { text-align: center; margin: 10px 0 6px; }
.lt-chat-day span { background: var(--lt-chip); color: var(--lt-text-2); font-size: .72rem; padding: 3px 12px; border-radius: 20px; }
.lt-chat-hello { margin: auto; color: var(--lt-muted); font-size: .9rem; }
.lt-msg { display: flex; }
.lt-msg-b { max-width: min(560px, 78%); background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: 16px; border-start-start-radius: 4px; padding: 8px 12px 4px; font-size: .93rem; line-height: 1.6; overflow-wrap: anywhere; }
.lt-msg.me { justify-content: flex-end; }
.lt-msg.me .lt-msg-b { background: var(--lt-primary); border-color: var(--lt-primary); color: #fff; border-radius: 16px; border-start-end-radius: 4px; }
.lt-msg.me .lt-msg-b a { color: #fff; text-decoration: underline; }
.lt-msg-b small { display: block; text-align: end; font-size: .68rem; opacity: .7; margin-top: 2px; }
.lt-msg-b small i.read { color: #a7f3d0; opacity: 1; }
.lt-chat-att { display: flex; align-items: center; gap: 6px; font-weight: 700; padding: 6px 8px; border-radius: 10px; background: rgba(127, 127, 127, .12); margin-bottom: 4px; text-decoration: none; }
.lt-chat-typing { position: absolute; bottom: 74px; inset-inline-start: 20px; background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: 14px; padding: 4px 10px; display: flex; align-items: center; gap: 3px; }
.lt-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--lt-muted); animation: lt-blink 1.2s infinite; }
.lt-chat-typing span:nth-child(2) { animation-delay: .2s; } .lt-chat-typing span:nth-child(3) { animation-delay: .4s; }
.lt-chat-typing small { color: var(--lt-muted); margin-inline-start: 4px; }
@keyframes lt-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.lt-chat-compose { display: flex; gap: 8px; align-items: flex-end; padding: 12px 14px; border-top: 1px solid var(--lt-line); background: var(--lt-surface); }
.lt-chat-compose textarea { resize: none; max-height: 160px; border-radius: 14px; }
.lt-chat-attach, .lt-chat-send { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border-radius: 12px; flex: none; }
.lt-chat-file { font-size: .8rem; margin-bottom: 6px; color: var(--lt-text-2); }
.lt-contacts h6 { font-size: .78rem; color: var(--lt-muted); margin: 14px 0 6px; font-weight: 800; }
.lt-contact { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 8px; border-radius: 10px; text-align: start; color: inherit; }
.lt-contact:hover { background: var(--lt-row-hover); }
.lt-contact .grow { min-width: 0; display: flex; flex-direction: column; }
.lt-contact small { color: var(--lt-muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 860px) {
	.lt-chat { grid-template-columns: minmax(0, 1fr); height: calc(100vh - var(--lt-top-h) - 40px); }
	.lt-chat .lt-chat-main { display: none; }
	.lt-chat.has-thread .lt-chat-side { display: none; }
	.lt-chat.has-thread .lt-chat-main { display: flex; }
	.lt-chat-back { display: inline-block; }
}
.lt-notif-page { padding: 8px; }
.lt-notif-page .lt-notif { padding: 14px; border-bottom: 1px solid var(--lt-line); border-radius: 0; }
.lt-notif-page .lt-notif:last-child { border-bottom: 0; }
.lt-ann { padding: 14px 4px; border-bottom: 1px solid var(--lt-line); }
.lt-ann:last-child { border-bottom: 0; }
.lt-ann p { margin: 6px 0; color: var(--lt-text-2); font-size: .9rem; }
.lt-ann small { color: var(--lt-muted); font-size: .76rem; }
.lt-notif-page .lt-ann { padding: 14px; }
.lt-aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lt-aud label { cursor: pointer; }
.lt-aud input { display: none; }
.lt-aud span { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid var(--lt-line); border-radius: 12px; padding: 10px 6px; text-align: center; font-size: .82rem; height: 100%; }
.lt-aud span i { font-size: 1.3rem; color: var(--lt-text-2); }
.lt-aud small { color: var(--lt-muted); font-size: .7rem; }
.lt-aud input:checked + span { border-color: var(--lt-primary); background: var(--lt-primary-soft); }
.lt-aud input:checked + span i { color: var(--lt-primary); }
.lt-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; max-height: 220px; overflow-y: auto; border: 1px solid var(--lt-line); border-radius: 10px; padding: 10px; }
.lt-theme-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lt-theme-pick button { border: 2px solid var(--lt-line); border-radius: 14px; padding: 16px; background: var(--lt-surface); color: var(--lt-text); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lt-theme-pick button i { font-size: 1.6rem; }
.lt-theme-pick button.active { border-color: var(--lt-primary); color: var(--lt-primary); }
.lt-pw-meter { height: 5px; background: var(--lt-chip); border-radius: 5px; overflow: hidden; }
.lt-pw-meter i { display: block; height: 100%; width: 0; transition: width .3s, background .3s; }
.lt-chat-compose .grow { flex: 1; min-width: 0; }
.grow { flex: 1 1 auto; min-width: 0; }

/* ---------------------------------------------------------- finance (§22) */
.lt-invoice { background: #fff; color: #0f172a; border: 1px solid var(--lt-line); border-radius: 16px; padding: 34px; max-width: 900px; margin: 0 auto; box-shadow: var(--lt-shadow); }
.lt-invoice .text-muted { color: #64748b !important; }
.lt-inv-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid #0b2551; }
.lt-inv-seller { display: flex; align-items: flex-start; gap: 16px; }
.lt-inv-logo { width: 84px; height: 84px; object-fit: contain; border-radius: 12px; flex: none; }
.lt-inv-head h1 { font-size: 1.35rem; font-weight: 800; margin: 0 0 4px; color: #0b2551; }
.lt-inv-head h2 { font-size: 1.1rem; font-weight: 800; margin: 0; color: #0b2551; }
.lt-inv-head small { color: #475569; }
.lt-inv-to { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.lt-inv-to > div { background: #f1f5f9; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.lt-inv-to small { color: #64748b; font-size: .75rem; }
.lt-inv-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.lt-inv-table th { background: #0b2551; color: #fff; padding: 8px 10px; font-weight: 700; text-align: start; }
.lt-inv-table td { padding: 8px 10px; border-bottom: 1px solid #e2e8f0; }
.lt-inv-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 18px; }
.lt-inv-qr { text-align: center; width: 150px; }
.lt-inv-qr svg { width: 130px; height: 130px; }
.lt-inv-qr small { color: #64748b; font-size: .68rem; display: block; }
.lt-inv-sum { min-width: 320px; font-size: .9rem; }
.lt-inv-sum td { padding: 5px 8px; }
.lt-inv-sum td:last-child { text-align: end; font-weight: 700; }
.lt-inv-sum tr.big td { font-size: 1.02rem; border-top: 1px solid #e2e8f0; font-weight: 800; }
.lt-inv-note { margin: 22px 0 0; font-size: .74rem; color: #64748b; text-align: center; }
.lt-inv-en { display: block; font-size: .68em; font-weight: 500; opacity: .75; }
.lt-inv-to .lt-inv-en, .lt-inv-head small .lt-inv-en, .lt-inv-sum .lt-inv-en, .lt-inv-reason .lt-inv-en { display: inline; margin-inline-start: 4px; }
.lt-inv-reason { margin-top: 14px; background: #fef3c7; border-radius: 10px; padding: 8px 12px; font-size: .88rem; }
.lt-invoice h6 { font-weight: 800; color: #0b2551; }
@media (max-width: 700px) { .lt-invoice { padding: 18px; } .lt-inv-head, .lt-inv-foot { flex-direction: column; } .lt-inv-to { grid-template-columns: 1fr; } .lt-inv-sum { min-width: 0; width: 100%; } .lt-inv-table { font-size: .76rem; } }
@media print {
	@page { size: A4; margin: 12mm; }
	body { background: #fff !important; }
	.lt-side, .lt-top, .lt-noprint, #lt-toasts, .lt-progress { display: none !important; }
	.lt-main, .lt-page { margin: 0 !important; padding: 0 !important; }
	.lt-invoice { border: 0; box-shadow: none; padding: 0; max-width: none; }
	.lt-inv-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.lt-inv-to > div { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.lt-chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 160px; padding-top: 20px; }
.lt-chart-bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.lt-chart-bars i { display: block; width: 70%; max-width: 46px; background: linear-gradient(180deg, #ef4b58, #b31f2c); border-radius: 8px 8px 3px 3px; position: relative; min-height: 3px; }
.lt-chart-bars i::before { content: attr(data-v); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: .66rem; color: var(--lt-text-2); white-space: nowrap; font-style: normal; padding-bottom: 2px; }
.lt-chart-bars small { color: var(--lt-muted); font-size: .72rem; }
.lt-lines .row { --bs-gutter-x: 8px; }
.lt-suggest { position: absolute; z-index: 30; inset-inline: 0; top: 100%; background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: 12px; box-shadow: var(--lt-shadow); max-height: 260px; overflow-y: auto; padding: 4px; }
.lt-suggest button { display: flex; flex-direction: column; align-items: flex-start; width: 100%; border: 0; background: none; padding: 8px 10px; border-radius: 8px; color: var(--lt-text); text-align: start; }
.lt-suggest button:hover { background: var(--lt-row-hover); }
.lt-suggest small { color: var(--lt-muted); font-size: .76rem; }
.lt-inv-preview { display: flex; flex-wrap: wrap; gap: 8px 18px; background: var(--lt-chip); border-radius: 12px; padding: 12px 14px; font-size: .88rem; }
.lt-pay-form { background: var(--lt-chip); border-radius: 14px; padding: 14px; }
.lt-fee-inv { border: 1px solid var(--lt-line); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.lt-flash-box { border-color: var(--lt-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }

/* ---------------------------------------------------------- live classroom (§23) */
body.lt-in-room { overflow: hidden; }
.lt-room { position: fixed; inset: 0; z-index: 1040; background: #0b1220; color: #e2e8f0; display: flex; flex-direction: column; --rs: #111a2e; --rl: #1f2a44; }
.lt-room .text-muted { color: #8b9bb8 !important; }
.lt-room-top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--rl); background: var(--rs); }
.lt-room-btn { background: var(--rl); color: #e2e8f0; border: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; }
.lt-room-btn:hover { background: #2b3a5c; color: #fff; }
.lt-room-title { display: flex; flex-direction: column; min-width: 0; }
.lt-room-title b { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-room-title small { color: #8b9bb8; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-room-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(225, 29, 72, .15); color: #fb7185; font-weight: 800; font-size: .8rem; padding: 5px 10px; border-radius: 20px; white-space: nowrap; }
.lt-room-live i { width: 8px; height: 8px; border-radius: 50%; background: #f43f5e; animation: lt-pulse 1.4s infinite; }
.lt-room-live b { color: #fda4af; }
.lt-room-net { color: #64748b; font-size: 1.1rem; }
.lt-room-net.q-excellent, .lt-room-net.q-good { color: #22c55e; } .lt-room-net.q-poor { color: #f59e0b; } .lt-room-net.q-lost { color: #ef4444; }
.lt-room-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 0; }
.lt-stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 12px; gap: 10px; }
.lt-stage-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lt-stage-tabs button { background: var(--rs); border: 1px solid var(--rl); color: #cbd5e1; border-radius: 10px; padding: 6px 12px; font: inherit; font-size: .85rem; font-weight: 700; }
.lt-stage-tabs button.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.lt-stage-area { flex: 1; position: relative; min-height: 0; border-radius: 14px; overflow: hidden; background: #0f172a; }
.lt-board { position: absolute; inset: 0; display: grid; place-items: center; background: #1e293b; }
.lt-board canvas { background: #fff; border-radius: 8px; touch-action: none; cursor: crosshair; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.lt-board-tools { position: absolute; top: 10px; inset-inline-start: 50%; transform: translateX(50%); display: flex; align-items: center; gap: 4px; background: rgba(15, 23, 42, .92); padding: 6px 8px; border-radius: 12px; }
[dir="ltr"] .lt-board-tools { transform: translateX(-50%); }
.lt-board-tools button { width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: #cbd5e1; display: grid; place-items: center; }
.lt-board-tools button.on, .lt-board-tools button:hover { background: #334155; color: #fff; }
.lt-color { position: relative; }
.lt-color::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255, 255, 255, .7); }
.lt-color.on::after { box-shadow: 0 0 0 2px #60a5fa; }
.lt-tool-sep { width: 1px; height: 22px; background: #334155; margin: 0 4px; display: inline-block; }
.lt-board-pages { position: absolute; bottom: 10px; inset-inline-start: 10px; display: flex; gap: 4px; }
.lt-board-pages button { min-width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(15, 23, 42, .85); color: #cbd5e1; font-weight: 700; font-size: .8rem; }
.lt-board-pages button.on { background: #2563eb; color: #fff; }
.lt-board-pages button:disabled { opacity: 1; }
.lt-draw-badge { position: absolute; bottom: 10px; inset-inline-end: 10px; background: #16a34a; color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 20px; }
.lt-stage-media, .lt-stage-mat { position: absolute; inset: 0; display: grid; place-items: center; }
.lt-stage-media .lt-vtile { width: 100%; height: 100%; border-radius: 0; }
.lt-stage-media .lt-vtile video { object-fit: contain; }
.lt-stage-mat { background: #1e293b; grid-template-rows: auto 1fr; place-items: stretch; }
.lt-mat-h { padding: 8px 12px; font-weight: 700; font-size: .85rem; background: rgba(15, 23, 42, .8); display: flex; align-items: center; gap: 8px; min-width: 0; color: #e2e8f0; }
.lt-mat-h .grow { flex: 1; min-width: 0; }
.lt-pdf { position: relative; overflow: hidden; display: grid; place-items: center; background: #0f172a; min-height: 0; }
.lt-pdf canvas { display: block; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); background: #fff; }
.lt-pdf-load { color: #94a3b8; }
.lt-pdf-nav { display: inline-flex; align-items: center; gap: 6px; direction: rtl; }
.lt-pdf-nav b { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; direction: ltr; }
.lt-pdf-nav button, .lt-pdf-dl { width: 32px; height: 32px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .1); color: #e2e8f0; display: grid; place-items: center; font-size: 1.15rem; text-decoration: none; }
.lt-pdf-nav button:hover:not(:disabled), .lt-pdf-dl:hover { background: #2563eb; color: #fff; }
.lt-pdf-nav button:disabled { opacity: .35; }
.lt-stage-mat img, .lt-stage-mat video { max-width: 100%; max-height: 100%; margin: auto; display: block; object-fit: contain; }
.lt-stage-mat iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.lt-room .lt-empty { color: #8b9bb8; }
.lt-pip { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 220px; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); z-index: 3; }
.lt-pip .lt-vtile { width: 100%; height: 100%; }
.lt-cams { display: flex; gap: 8px; overflow-x: auto; }
.lt-cams:empty { display: none; }
.lt-cams .lt-vtile { width: 160px; flex: none; aspect-ratio: 4/3; }
.lt-vtile { position: relative; background: #000; border-radius: 10px; overflow: hidden; border: 2px solid transparent; transition: border-color .2s; }
.lt-vtile.speaking { border-color: #22c55e; }
.lt-vtile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lt-vtile-n { position: absolute; bottom: 6px; inset-inline-start: 6px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 10px; }
.lt-room-side { background: var(--rs); border-inline-start: 1px solid var(--rl); display: flex; flex-direction: column; min-height: 0; }
.lt-room-tabs { display: flex; border-bottom: 1px solid var(--rl); }
.lt-room-tabs button { flex: 1; border: 0; background: none; color: #94a3b8; padding: 12px 8px; font: inherit; font-weight: 700; font-size: .85rem; border-bottom: 3px solid transparent; position: relative; }
.lt-room-tabs button.on { color: #fff; border-bottom-color: #3b82f6; }
.lt-room-tabs .lt-dot-badge { position: static; display: inline-grid; }
.lt-room-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 10px 8px; }
.lt-people { overflow-y: auto; flex: 1; }
.lt-pp { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; }
.lt-pp:hover { background: var(--rl); }
.lt-pp.off { opacity: .45; }
.lt-pp.hand { background: rgba(245, 158, 11, .14); }
.lt-pp.speaking .lt-av { box-shadow: 0 0 0 3px #22c55e; }
.lt-pp .grow { display: flex; flex-direction: column; min-width: 0; }
.lt-pp b { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-pp small { color: #8b9bb8; font-size: .72rem; }
.lt-pp-hand { color: #f59e0b; font-size: 1.15rem; animation: lt-wave 1.2s infinite; }
@keyframes lt-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-18deg); } }
.lt-pp-act { display: flex; gap: 2px; }
.lt-pp-act button { width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent; color: #94a3b8; display: grid; place-items: center; }
.lt-pp-act button:hover { background: #2b3a5c; color: #fff; }
.lt-pp-act button.on { background: #2563eb; color: #fff; }
.lt-room-chat { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 4px; }
.lt-rc { background: var(--rl); border-radius: 12px; padding: 6px 10px; font-size: .86rem; max-width: 92%; align-self: flex-start; }
.lt-rc b { display: block; font-size: .72rem; color: #93c5fd; }
.lt-rc.t b { color: #fbbf24; }
.lt-rc.me { align-self: flex-end; background: #1d4ed8; }
.lt-rc.me b { color: #bfdbfe; }
.lt-room-say { display: flex; gap: 6px; padding-top: 8px; }
.lt-room-say input { background: #0b1220; border-color: var(--rl); color: #e2e8f0; }
.lt-room-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-top: 1px solid var(--rl); background: var(--rs); flex-wrap: wrap; }
.lt-rb { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 74px; padding: 6px 10px; border-radius: 12px; border: 0; background: var(--rl); color: #e2e8f0; font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; }
.lt-rb i { font-size: 1.25rem; }
.lt-rb:hover:not(:disabled) { background: #2b3a5c; }
.lt-rb.on { background: #2563eb; }
.lt-rb:disabled { opacity: .4; cursor: not-allowed; }
#rHand.on { background: #f59e0b; color: #111827; }
.lt-rb-sw { flex-direction: row; gap: 6px; min-width: 0; }
.lt-rb-sw input { accent-color: #3b82f6; }
.lt-rb-side { display: none; }
.lt-room-note { position: absolute; top: 68px; inset-inline-start: 50%; transform: translateX(50%); z-index: 5; background: #1e293b; border: 1px solid #334155; color: #e2e8f0; padding: 8px 12px; border-radius: 12px; font-size: .85rem; display: flex; gap: 8px; align-items: center; max-width: 92vw; }
[dir="ltr"] .lt-room-note { transform: translateX(-50%); }
.lt-room-note.warn { border-color: #b45309; background: #422006; color: #fde68a; }
.lt-room-note.position-static { transform: none; }
.lt-room-note .btn-close { filter: invert(1); }
.lt-room-end { position: absolute; inset: 0; background: rgba(2, 6, 23, .88); display: grid; place-items: center; z-index: 10; text-align: center; }
.lt-room-end > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lt-room-end i { font-size: 3rem; color: #93c5fd; }
.lt-room-end b { font-size: 1.2rem; }
.lt-live-banner { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #fff1f2, #fff); border: 1px solid #fecdd3; border-radius: 16px; padding: 14px 18px; margin-bottom: 16px; }
[data-theme="dark"] .lt-live-banner { background: linear-gradient(135deg, rgba(225, 29, 72, .14), transparent); border-color: rgba(244, 63, 94, .35); }
.lt-live-banner .grow { display: flex; flex-direction: column; }
.lt-live-banner small { color: var(--lt-muted); }
.lt-att-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--lt-line); flex-wrap: wrap; }
@media (max-width: 991px) {
	.lt-room-body { grid-template-columns: minmax(0, 1fr); }
	.lt-room-side { position: absolute; top: 59px; bottom: 66px; inset-inline-end: 0; width: min(340px, 92vw); z-index: 6; transform: translateX(-110%); transition: transform .25s; box-shadow: 0 0 30px rgba(0, 0, 0, .5); }
	[dir="ltr"] .lt-room-side { transform: translateX(110%); }
	.lt-room.side-open .lt-room-side { transform: none; }
	.lt-rb-side { display: flex; }
	.lt-pip { width: 140px; }
	.lt-room-live { display: none; }
	.lt-rb { min-width: 58px; padding: 6px; }
	.lt-rb-sw span { font-size: .66rem; }
}
@media (max-width: 640px) {
	.lt-board-tools { max-width: calc(100% - 16px); overflow-x: auto; top: 6px; padding: 4px; }
	.lt-board-tools button { width: 30px; height: 30px; flex: none; }
	.lt-stage { padding: 6px; }
	.lt-room-note { top: 60px; font-size: .78rem; }
}

/* ---------------------------------------------------------- reports (§24) */
.lt-gb-wrap { overflow: auto; max-height: calc(100vh - 230px); }
.lt-gb { font-size: .84rem; }
.lt-gb th { white-space: nowrap; vertical-align: bottom; position: sticky; top: 0; background: var(--lt-surface); z-index: 2; }
.lt-gb th small { display: block; color: var(--lt-muted); font-weight: 500; font-size: .7rem; }
.lt-gb .sticky { position: sticky; inset-inline-start: 0; background: var(--lt-surface); z-index: 3; min-width: 170px; box-shadow: -1px 0 0 var(--lt-line) inset; }
.lt-gb thead .sticky { z-index: 4; }
.lt-gb td { white-space: nowrap; }
.lt-gb-h { display: inline-flex; gap: 4px; align-items: center; }
.lt-gb-miss { color: var(--lt-rose); font-weight: 800; }
.lt-risk { display: flex; flex-wrap: wrap; gap: 4px; }
.lt-hbar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .85rem; }
.lt-hbar > span:first-child { width: 150px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-hbar .lt-prog { flex: 1; margin: 0; height: 9px; }
.lt-hbar b { width: 46px; text-align: end; }
.lt-ph .form-control, .lt-ph .form-select { width: auto; }
@media (max-width: 640px) { .lt-ph > .d-flex { width: 100%; } .lt-ph .form-control, .lt-ph .form-select { flex: 1 1 140px; min-width: 0; } }
.lt-chart-bars > div { min-width: 0; }
@media (max-width: 640px) { .lt-chart-bars { gap: 3px; } .lt-chart-bars small { font-size: .58rem; } .lt-chart-bars i::before { font-size: .55rem; } }
@media (max-width: 640px) { .lt-qtypes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lt-room-live.prep { background: rgba(245, 158, 11, .15); color: #fbbf24; }
.lt-room-live.prep i { background: #f59e0b; }
.lt-room-live.prep b { color: #fde68a; }
.lt-rb-mic span i { font-size: 1rem; }
.lt-bell-btn i { color: #f59e0b; }
.lt-sub-row { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--lt-line); border-radius: 12px; margin-bottom: 8px; cursor: default; }
.lt-sub-row.done { background: var(--lt-green-soft); border-color: transparent; }
label.lt-sub-row { cursor: pointer; }
.lt-sub-p { display: flex; flex-direction: column; align-items: center; min-width: 74px; font-size: .82rem; }
.lt-sub-p small { color: var(--lt-muted); }
@media (max-width: 640px) { .lt-sub-row { flex-wrap: wrap; } .lt-sub-row .form-select { max-width: none !important; width: 100%; } }

/* holiday / suspended day / upcoming holiday banner */
.lt-off-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 600;
	background: var(--lt-green-soft); color: var(--lt-green); border: 1px solid color-mix(in srgb, var(--lt-green) 25%, transparent); }
.lt-off-banner i { font-size: 1.35rem; }
.lt-off-banner span { flex: 1; min-width: 0; }
.lt-off-banner.warn { background: var(--lt-rose-soft); color: var(--lt-rose); border-color: color-mix(in srgb, var(--lt-rose) 25%, transparent); }
.lt-off-banner.soon { background: var(--lt-blue-soft); color: var(--lt-blue); border-color: color-mix(in srgb, var(--lt-blue) 25%, transparent); font-weight: 500; }
.lt-hol-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lt-line); }
.lt-hol-row:last-child { border-bottom: 0; }
.lt-hol-row.past { opacity: .55; }
.lt-hol-d { min-width: 64px; text-align: center; border-radius: 12px; padding: 6px 4px; background: var(--lt-green-soft); color: var(--lt-green); line-height: 1.1; }
.lt-hol-d b { display: block; font-size: 1.3rem; }
.lt-hol-d small { font-size: .72rem; }
.lt-hol-d.sus { background: var(--lt-rose-soft); color: var(--lt-rose); }
.lt-preset { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-preset button { border: 1px dashed var(--lt-line); background: transparent; color: var(--lt-text); border-radius: 999px; padding: 4px 12px; font-size: .82rem; }
.lt-preset button:hover { border-color: var(--lt-primary); color: var(--lt-primary); }
.lt-col > .lt-off-banner, .lt-dash .lt-off-banner { margin-bottom: 0; }

/* import wizard */
.lt-stepper { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 16px; overflow-x: auto; }
.lt-stepper li { flex: 1; min-width: 92px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--lt-surface); border: 1px solid var(--lt-line); color: var(--lt-muted); font-size: .86rem; }
.lt-stepper li b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lt-chip, var(--lt-line)); font-size: .8rem; flex: none; }
.lt-stepper li.on { border-color: var(--lt-primary); color: var(--lt-text); font-weight: 700; }
.lt-stepper li.on b { background: var(--lt-primary); color: #fff; }
.lt-stepper li.done b { background: var(--lt-green); color: #fff; }
.lt-dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 16px; border: 2px dashed var(--lt-line); border-radius: 16px; cursor: pointer; text-align: center; transition: .15s; }
.lt-dropzone i { font-size: 2.6rem; color: var(--lt-green); }
.lt-dropzone small { color: var(--lt-muted); }
.lt-dropzone:hover, .lt-dropzone.over { border-color: var(--lt-primary); background: var(--lt-primary-soft); }
.lt-imp-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.lt-imp-help > div { display: flex; gap: 10px; flex: 1; min-width: 240px; }
.lt-imp-help > div > i { font-size: 1.3rem; color: var(--lt-primary); }
.lt-imp-help p { margin: 2px 0 0; color: var(--lt-muted); font-size: .86rem; }
.lt-imp-cls { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--lt-line); }
.lt-imp-cls > i { color: var(--lt-muted); }
.lt-imp-from b { display: block; }
.lt-imp-from small { color: var(--lt-muted); }
.lt-imp-cls input[hidden] { display: none; }
@media (max-width: 760px) { .lt-imp-cls { grid-template-columns: 1fr 1fr; } .lt-imp-cls > i { display: none; } .lt-imp-from { grid-column: 1 / -1; } }
.lt-prog-lg { height: 12px; }
.lt-table-sm td, .lt-table-sm th { padding: 7px 10px !important; font-size: .85rem; white-space: nowrap; }

/* behaviour */
.lt-beh-res { max-height: 230px; overflow-y: auto; border: 1px solid var(--lt-line); border-radius: 12px; margin-bottom: 14px; }
.lt-beh-res:empty { display: none; }
.lt-beh-res button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 8px 12px; text-align: start; color: var(--lt-text); border-bottom: 1px solid var(--lt-line); }
.lt-beh-res button:last-child { border-bottom: 0; }
.lt-beh-res button:hover { background: var(--lt-hover, var(--lt-primary-soft)); }
.lt-beh-res small, .lt-beh-sel small { display: block; color: var(--lt-muted); font-size: .78rem; }
.lt-beh-sel { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--lt-primary-soft); }
.lt-beh-hint { padding: 10px 12px; border-radius: 12px; background: var(--lt-orange-soft); font-size: .86rem; }
.lt-beh-hint b, .lt-beh-hint span { display: block; }
.lt-beh-pend { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--lt-line); }
.lt-beh-pend:last-child { border-bottom: 0; }
.lt-cat-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 130px auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--lt-line); }
.lt-deg-row { display: grid; grid-template-columns: 90px 150px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--lt-line); }
@media (max-width: 640px) { .lt-cat-row { grid-template-columns: minmax(0, 1fr) 110px auto; } .lt-cat-row > .lt-pill, .lt-cat-row .form-switch { display: none; } .lt-deg-row { grid-template-columns: 1fr 1fr; } .lt-deg-row textarea { grid-column: 1 / -1; } }
.lt-sticky-save { position: sticky; bottom: -16px; background: var(--lt-surface); padding: 12px 0; margin-top: 12px; border-top: 1px solid var(--lt-line); }

/* report cards / printed letters (always light, A4) */
.lt-cert { background: #fff; color: #0f1b33; border: 1px solid var(--lt-line); border-radius: 14px; padding: 26px 30px; margin: 0 auto 22px; max-width: 820px; font-size: 14px; }
.lt-cert * { color: inherit; }
.lt-cert-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; border-bottom: 2px solid #0f1b33; padding-bottom: 12px; }
.lt-cert-lines { font-weight: 700; font-size: 13px; line-height: 1.7; }
.lt-cert-logo img { max-height: 84px; max-width: 120px; object-fit: contain; }
.lt-cert-meta { text-align: end; font-size: 12.5px; line-height: 1.8; }
.lt-cert-title { text-align: center; font-size: 21px; font-weight: 800; margin: 16px 0 12px; }
.lt-cert table { width: 100%; border-collapse: collapse; }
.lt-cert-info th, .lt-cert-info td, .lt-cert-marks th, .lt-cert-marks td { border: 1px solid #94a3b8; padding: 6px 10px; }
.lt-cert-info th { background: #f1f5f9; width: 16%; font-weight: 700; }
.lt-cert-marks { margin-top: 14px; text-align: center; }
.lt-cert-marks td:nth-child(2) { text-align: start; }
.lt-cert-marks thead th, .lt-cert-marks tfoot th, .lt-cert-marks tfoot td { background: #e2e8f0; font-weight: 700; }
.lt-cert-marks tr.low td { color: #b91c1c; }
.lt-cert-sum { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lt-cert-sum > div { flex: 1; min-width: 110px; border: 1px solid #94a3b8; border-radius: 8px; padding: 6px 10px; text-align: center; }
.lt-cert-sum small { display: block; font-size: 11.5px; color: #475569; }
.lt-cert-result { margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: #dcfce7; text-align: center; }
.lt-cert-result.fail { background: #fee2e2; }
.lt-cert-sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; text-align: center; }
.lt-cert-sign > div { position: relative; }
.lt-cert-sign small { display: block; color: #475569; }
.lt-cert-sign b { display: block; min-height: 20px; }
.lt-cert-sign i { display: block; border-bottom: 1px dotted #475569; margin: 26px 16px 0; }
.lt-cert-sign .stamp img { position: absolute; inset-inline-start: 50%; top: 18px; transform: translateX(50%); max-height: 96px; max-width: 120px; opacity: .85; mix-blend-mode: multiply; }
[dir="ltr"] .lt-cert-sign .stamp img { transform: translateX(-50%); }
.lt-cert-foot { margin: 22px 0 0; font-size: 11.5px; color: #475569; text-align: center; }
.lt-cert-verify { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 10px; width: max-content; max-width: 100%; }
.lt-cert-verify .qr { width: 86px; height: 86px; flex: none; }
.lt-cert-verify .qr svg { width: 100%; height: 100%; display: block; }
.lt-cert-verify b { display: block; font-size: 13px; }
.lt-cert-verify small { display: block; font-size: 10.5px; color: #475569; }
.lt-cert-verify span { display: block; font: 700 13px/1.6 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 1px; margin-top: 2px; }
.lt-cert-unapproved { margin-top: 22px; padding: 10px 14px; border: 1.5px dashed #b91c1c; border-radius: 10px; color: #b91c1c; font-weight: 700; text-align: center; font-size: 13.5px; }
.lt-sheet { background: #fff; color: #0f1b33; padding: 18px; border-radius: 14px; border: 1px solid var(--lt-line); overflow-x: auto; }
.lt-sheet table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: center; }
.lt-sheet th, .lt-sheet td { border: 1px solid #94a3b8; padding: 4px 6px; }
.lt-sheet thead th { background: #e2e8f0; }
.lt-sheet td.n { text-align: start; white-space: nowrap; }
.lt-sheet td.low { color: #b91c1c; font-weight: 700; }
.lt-letter { line-height: 2; font-size: 15px; }
.lt-letter p { margin: 0 0 8px; }
@media print {
	.lt-cert { border: 0; border-radius: 0; padding: 0; margin: 0; max-width: none; break-after: page; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.lt-cert:last-of-type { break-after: auto; }
	.lt-sheet { border: 0; padding: 0; overflow: visible; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	body.lt-landscape { }
	html[data-theme="dark"] body, html[data-theme="dark"] .lt-main { background: #fff !important; }
}
@page sheet { size: A4 landscape; margin: 8mm; }
@media print { .lt-sheet { page: sheet; } }
.lt-cell { width: 64px; border: 1px solid var(--lt-line); border-radius: 8px; padding: 4px 6px; text-align: center; background: var(--lt-surface); color: var(--lt-text); }
.lt-cell::placeholder { color: var(--lt-text-2); opacity: .85; }
.lt-cell.edited { border-color: var(--lt-primary); background: var(--lt-primary-soft); font-weight: 700; }
.lt-cell.low { color: var(--lt-rose); }
.lt-cert-grid td:first-child { min-width: 170px; }
.lt-pay-ic { font-size: 4rem; line-height: 1; margin-bottom: 10px; }
.lt-pay-ic.ok { color: var(--lt-green); } .lt-pay-ic.wait { color: var(--lt-orange); } .lt-pay-ic.bad { color: var(--lt-rose); }

/* first steps */
.lt-onb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.lt-onb-step { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--lt-line); border-radius: 12px; color: var(--lt-text); text-decoration: none; }
.lt-onb-step:hover { border-color: var(--lt-primary); }
.lt-onb-step > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--lt-chip); flex: none; font-size: 1.1rem; }
.lt-onb-step b { display: block; font-size: .9rem; }
.lt-onb-step small { color: var(--lt-muted); font-size: .78rem; }
.lt-onb-step.done { opacity: .6; }
.lt-onb-step.done > span { background: var(--lt-green-soft); color: var(--lt-green); }
.lt-onb-step.next { border-color: var(--lt-primary); background: var(--lt-primary-soft); }
.lt-onb-step.next > span { background: var(--lt-primary); color: #fff; }

/* whiteboard: shapes, text, pictures; class video (§34) */
.lt-shape-wrap { position: relative; display: inline-flex; }
.lt-shape-menu { position: fixed; z-index: 30; background: #0f172a; border: 1px solid #334155; border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.lt-shape-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 4px; }
.lt-shape-grid button { width: 100%; height: 42px; border: 0; border-radius: 8px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.lt-shape-grid button:hover { background: #334155; }
.lt-shape-grid button.on { background: #1d4ed8; }
.lt-shape-fill { display: flex; align-items: center; gap: 6px; color: #cbd5e1; font-size: .8rem; margin-top: 8px; padding-inline-start: 4px; cursor: pointer; }
.lt-board-text { position: absolute; z-index: 6; transform: translateY(-50%); min-width: 160px; background: rgba(255, 255, 255, .92); border: 2px dashed #2563eb; border-radius: 8px; padding: 2px 8px; font-weight: 700; font-family: Tajawal, sans-serif; outline: 0; }
.lt-board-busy { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(15, 23, 42, .9); color: #e2e8f0; padding: 6px 12px; border-radius: 10px; font-size: .82rem; display: flex; gap: 8px; align-items: center; }
.lt-stage-clip { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; background: #000; }
.lt-stage-clip > .lt-empty { grid-row: 1 / -1; align-self: center; color: #cbd5e1; }
.lt-stage-clip .lt-mat-h { display: flex; align-items: center; gap: 8px; color: #e2e8f0; }
.lt-clip-box { position: relative; min-height: 0; display: grid; place-items: center; }
.lt-clip-box video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lt-clip-box #rYt, .lt-clip-box iframe { width: 100%; height: 100%; border: 0; }
.lt-clip-unmute { position: absolute; bottom: 18px; inset-inline-start: 50%; transform: translateX(50%); z-index: 3; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
[dir="ltr"] .lt-clip-unmute { transform: translateX(-50%); }

