.document-icon-label { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; }
.document-icon-label > svg { width: 16px; height: 16px; flex-shrink: 0; }

            :root { --brand: #056FEC; --ink: #1F2A55; --muted: #667085; --paper: #fff; --soft: #f3f6f9; --line: #d8e0ea; --orange: #FF7F1C; --green: #087443; --shadow: 0 18px 50px rgba(16, 24, 40, .08); }
            * { box-sizing: border-box; }
            @keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
            @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
            @keyframes soft-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
            @keyframes shimmer-line { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
            @keyframes pulse-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(5, 111, 236, .18); } 50% { box-shadow: 0 0 0 8px rgba(5, 111, 236, 0); } }
            @keyframes skeleton-wave { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
            @keyframes spin { to { transform: rotate(360deg); } }
            @keyframes loader-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
            html { scroll-behavior: smooth; }
            body { background: radial-gradient(circle at top right, rgba(5, 111, 236, .09), transparent 330px), linear-gradient(180deg, #f4f8ff 0, var(--soft) 420px, #f7f9fc 100%); color: var(--ink); font-family: "Cairo", ui-sans-serif, system-ui, sans-serif; font-size: 14px; margin: 0; }
            a { color: inherit; text-decoration: none; }
            button, input, select, summary { font: inherit; }
            .container { margin: 0 auto; max-width: 1180px; padding: 0 22px; }
            .brand-public .site-main img[src$="/images/default-recorded-course.png"] { object-fit: contain; background: #0c3461; }
            .site-header { backdrop-filter: blur(18px); background: rgba(255, 255, 255, .86); border-bottom: 1px solid rgba(216, 224, 234, .72); position: sticky; top: 0; z-index: 20; }
            .nav { align-items: center; animation: fade-in .45s ease both; display: grid; gap: 18px; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 78px; }
            .brand { align-items: center; display: inline-flex; }
            .brand img { display: block; height: 50px; max-width: 178px; object-fit: contain; transition: transform .22s ease; width: 100%; }
            .brand:hover img { transform: translateY(-1px) scale(1.015); }
            .nav-links { align-items: center; background: rgba(244, 248, 255, .72); border: 1px solid #e4ebf5; border-radius: 999px; display: inline-flex; flex-wrap: nowrap; max-width: 100%; gap: 4px; justify-self: center; padding: 5px; }
            .nav-link { border-radius: 999px; color: #475467; display: inline-flex; font-size: 13px; font-weight: 900; min-height: 34px; padding: 0 13px; place-items: center; position: relative; transition: background .18s ease, color .18s ease, box-shadow .18s ease; white-space: nowrap; }
            .nav-link:hover, .nav-link.active { background: #fff; color: var(--brand); box-shadow: 0 8px 18px rgba(16, 24, 40, .08); }
            .nav-actions { align-items: center; display: flex; gap: 8px; justify-content: flex-end; }
            .header-services { position: relative; }
            .header-services summary { cursor: pointer; gap: 8px; list-style: none; }
            .header-services summary::-webkit-details-marker { display: none; }
            .header-services-panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 30px rgba(16, 24, 40, .16); display: grid; gap: 4px; inset-block-start: calc(100% + 10px); inset-inline-start: 0; min-width: 220px; padding: 8px; position: absolute; }
            .brand-public .nav-links .header-services-panel .nav-link { color: #1f2a55; min-height: 42px; }
            .brand-public .nav-links .header-services-panel .nav-link:hover { background: #eaf3ff; }
            .mobile-nav-menu { display: none; position: relative; }
            .mobile-nav-menu summary { list-style: none; }
            .mobile-nav-menu summary::-webkit-details-marker { display: none; }
            .mobile-menu-button { border-radius: 8px; gap: 0; height: 42px; min-height: 42px; padding: 0; width: 42px; }
            .mobile-menu-icon { display: grid; gap: 4px; width: 18px; }
            .mobile-menu-icon span { background: currentColor; border-radius: 999px; display: block; height: 2px; transition: transform .18s ease, opacity .18s ease; width: 100%; }
            .mobile-nav-menu[open] .mobile-menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
            .mobile-nav-menu[open] .mobile-menu-icon span:nth-child(2) { opacity: 0; }
            .mobile-nav-menu[open] .mobile-menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
            .mobile-nav-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 44px rgba(16, 24, 40, .14); display: grid; gap: 8px; inset-inline-end: 0; min-width: min(336px, calc(100vw - 24px)); padding: 10px; position: absolute; top: calc(100% + 10px); z-index: 30; }
            .mobile-nav-panel .nav-link, .mobile-nav-panel .button { border-radius: 8px; justify-content: flex-start; min-height: 42px; width: 100%; }
            .mobile-nav-panel .login-options { box-shadow: none; margin-top: 8px; position: static; }
            .login-menu { position: relative; }
            .login-menu summary { list-style: none; }
            .login-menu summary::-webkit-details-marker { display: none; }
            .language-switch { gap: 5px; padding-inline: 10px; }
            .language-switch svg { height: 16px; width: 16px; }
            .language-switch span { direction: ltr; }
            .account-menu-trigger { gap: 8px; max-width: 260px; padding: 3px 9px 3px 4px; }
            .account-menu-avatar { align-items: center; border-radius: 50%; display: inline-flex; flex: 0 0 30px; height: 30px; justify-content: center; width: 30px; }
            .account-menu-avatar-image { background: #eef4ff; border: 1px solid #dbe8ff; object-fit: cover; }
            .account-menu-avatar-initials { background: linear-gradient(135deg, var(--brand), #1F2A55); color: #fff; font-size: 11px; font-weight: 900; }
            .account-menu-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
            .account-notification-count { align-items: center; background: var(--brand); border-radius: 999px; color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 10px; font-weight: 900; justify-content: center; min-height: 20px; min-width: 20px; padding: 0 5px; }
            .account-options .account-notification-count { margin-inline-start: auto; }
            .account-menu-trigger::after { border-bottom: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; content: ''; flex: 0 0 6px; height: 6px; margin-inline-start: 2px; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; width: 6px; }
            .login-menu[open] .account-menu-trigger::after { transform: translateY(2px) rotate(225deg); }
            .login-options { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 44px rgba(16, 24, 40, .14); display: grid; gap: 4px; inset-inline-end: 0; min-width: 190px; padding: 8px; position: absolute; top: calc(100% + 8px); z-index: 25; }
            .login-options a, .login-options button { background: transparent; border: 0; border-radius: 8px; color: #344054; cursor: pointer; display: block; font-size: 13px; font-weight: 900; padding: 10px 11px; text-align: inherit; transition: background .18s ease, color .18s ease; width: 100%; }
            .login-options a:hover, .login-options button:hover { background: #eef4ff; color: var(--brand); }
            .login-options.account-options { max-height: min(70vh, 480px); overflow-y: auto; }
            .account-options a, .account-options button { align-items: center; display: flex; gap: 9px; }
            .account-options svg { color: var(--brand); }
            .account-options form { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
            .group-offer-card { border-radius: 16px; border: 1px solid #dce6f2; overflow: hidden; box-shadow: 0 6px 20px rgba(31,42,85,.05); }
            .group-offer-card .offer-card-head { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #edf1f6; }
            .group-offer-card .offer-card-head > div { flex: 1; min-width: 180px; }
            .group-offer-card .offer-title { font-size: 20px; line-height: 1.5; margin-block: 8px; }
            .group-offer-card .offer-teacher { display: flex; align-items: center; gap: 8px; margin-block: 8px; }
            .group-offer-card .offer-teacher-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
            .group-seat-badge { display: inline-flex; align-items: center; gap: 6px; align-self: start; padding: 6px 9px; font-size: 11px; font-weight: 700; color: #147b3d; background: #edf9f1; border-radius: 20px; }
            .group-seat-badge svg { width: 15px; height: 15px; }
            .group-seat-badge.is-full { background: #f1f5f9; color: #64748b; }
            .group-offer-card .offer-meta-grid { margin-block: 14px; gap: 10px; }
            .group-offer-card .offer-meta { background: #f8fafc; border: 1px solid #edf1f6; border-radius: 10px; padding: 10px; }
            .group-offer-card .offer-meta strong { line-height: 1.7; overflow-wrap: anywhere; }
            .group-offer-card .offer-actions { padding-top: 14px; border-top: 1px solid #edf1f6; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
            .group-offer-card .offer-price { font-size: 22px; color: var(--ink); }
            .group-offer-card .offer-actions .button { width: 100%; min-height: 46px; border-radius: 10px; }
            @media (max-width:680px) { .group-offer-card .offer-card-head > div { min-width: 150px; } .group-offer-card .offer-meta-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .group-offer-card .offer-title { font-size: 19px; } }
            .discovery-learning-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: 14px; }
            .discovery-learning-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
            .discovery-learning-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: #eef5ff; color: var(--brand); }
            .discovery-learning-option strong { font-size: 13px; }
            .discovery-learning-option p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
            @media (max-width: 680px) { .discovery-learning-strip { grid-template-columns: 1fr; gap: 8px; } .discovery-learning-option { padding: 9px 12px; } }
            .discovery-label, .discovery-heading { display: flex; align-items: center; gap: 10px; }
            .discovery-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
            .discovery-page .discovery-jump-nav .button { justify-content: space-between; }
            .discovery-page svg { width: 20px; height: 20px; flex-shrink: 0; }
            .discovery-heading > svg { color: var(--brand); width: 24px; height: 24px; }
            .discovery-jump-nav .discovery-label { background: transparent; padding: 0; border-radius: 0; }
            .discovery-intro { padding: 16px 20px; border-radius: 18px; background: linear-gradient(120deg,#edf5ff,#fff); border: 1px solid #dce9fb; margin-bottom: 12px; }
            .discovery-intro h1 { font-size: clamp(24px,3vw,30px); margin: 0 0 6px; }
            .discovery-intro p { max-width: 650px; line-height: 1.6; margin: 0; }
            .discovery-filter-card { background: #fff; border: 1px solid var(--line); padding: 16px; border-radius: 12px; margin-block: 14px; }
            .discovery-filter-card h2 { font-size: 16px; margin: 0 0 10px; }
            .discovery-filter-card .filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) auto; align-items: start; gap: 12px; margin: 0; }
            .discovery-filter-card .filters label { display: grid; gap: 4px; }
            .discovery-filter-card .filters button { margin-top: 29px; }
            .discovery-field-help { font-size: 12px; color: var(--muted); font-weight: 400; line-height: 1.8; }
            .discovery-jump-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
            .discovery-jump-nav .button { justify-content: space-between; gap: 10px; }
            .discovery-jump-nav span { border-radius: 20px; background: #edf5ff; color: var(--brand); padding: 2px 10px; }
            .discovery-empty { grid-column: 1 / -1; padding: 28px; background: #f8fafc; border: 1px dashed var(--line); border-radius: 12px; text-align: center; color: var(--muted); }
            .discovery-page > section { border-bottom: 1px solid var(--line); padding-block: 20px; }
            @media (max-width: 680px) { .discovery-filter-card .filters { grid-template-columns: 1fr; } .discovery-filter-card .filters button { margin-top: 0; } .discovery-jump-nav { grid-template-columns: repeat(2,minmax(0,1fr)); } .discovery-intro { padding: 14px; align-items: stretch; } .discovery-filter-card { padding: 12px; } }
            @media (max-width: 960px) and (min-width: 681px) {
                .discovery-filter-card .filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
                .discovery-filter-card .filters button { grid-column: 1 / -1; margin-top: 0; }
                .discovery-intro { flex-wrap: wrap; }
            }
            @media (max-width: 680px) {
                .discovery-page { padding-top: 12px; }
                .discovery-intro { display: flex; flex-direction: column; align-items: stretch; gap: 12px; border-radius: 12px; }
                .discovery-intro h1 { font-size: 23px; line-height: 1.5; }
                .discovery-intro p { font-size: 13px; }
                .discovery-intro > .pill-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; }
                .discovery-intro .button { min-height: 44px; font-size: 12px; padding-inline: 8px; }
                .discovery-learning-strip { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
                .discovery-learning-option { flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; text-align: center; }
                .discovery-learning-option strong { font-size: 11px; }
                .discovery-learning-option p { font-size: 11px; line-height: 1.6; }
                .discovery-learning-icon { width: 32px; height: 32px; }
                .discovery-filter-card .filters { gap: 12px; }
                .discovery-page .discovery-filter-card .filters input, .discovery-page .discovery-filter-card .filters select { width: 100%; min-width: 0; min-height: 46px; font-size: 16px; }
                .discovery-field-help { font-size: 11px; line-height: 1.6; }
                .discovery-filter-card .filters > button { width: 100%; min-height: 46px; }
                .discovery-jump-nav { gap: 8px; }
                .discovery-jump-nav .button { padding: 10px; min-height: 44px; font-size: 11px; gap: 6px; }
                .discovery-jump-nav .discovery-label { gap: 6px; }
                .discovery-jump-nav span:not(.discovery-label) { padding: 1px 7px; }
                .discovery-page > section > .section-head { display: flex; align-items: start; gap: 10px; }
                .discovery-page > section > .section-head h2 { font-size: 20px; }
                .discovery-page > section > .section-head p { font-size: 12px; line-height: 1.7; }
                .discovery-page > section > .section-head > .link { white-space: nowrap; font-size: 12px; }
                .discovery-page .offer-meta-grid { gap: 8px; }
                .discovery-page .offer-actions { gap: 10px; flex-wrap: wrap; }
            }
            .public-share { position: relative; display: inline-block; flex-shrink: 0; }
            .public-share-trigger { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #d8e7fc; border-radius: 12px; background: #eef5ff; color: #056fec; cursor: pointer; list-style: none; }
            .public-share-trigger::-webkit-details-marker { display: none; }
            .public-share-trigger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
            .course-primary-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
            .course-primary-actions > :first-child { flex: 1; min-width: 0; }
            .course-primary-actions .public-share-trigger { width: 44px; height: 44px; border-radius: 12px; color: #056fec; background: #eef5ff; }
            .public-share-trigger:hover, .public-share[open] .public-share-trigger { background: #eef5ff; color: #056fec; }
            .public-share-trigger:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
            .public-share-panel { position: absolute; z-index: 20; inset-inline-end: 0; bottom: calc(100% + 10px); width: 240px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(31,45,82,.15); }
            .teacher-hero [data-profile-actions] { align-items: flex-start; margin-top: 14px; margin-bottom: 14px; }
            .profile-primary-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; min-width: 0; }
            .teacher-hero .profile-primary-actions .profile-browse-lessons { flex: 1; width: auto; margin-top: 0; }
            .profile-primary-actions [data-profile-share-target] { flex: 0 0 auto; }
            .teacher-hero .profile-primary-actions .public-share-trigger { width: 48px; height: 48px; }
            .teacher-hero .profile-primary-actions .public-share-panel { position: absolute; top: calc(100% + 8px); bottom: auto; width: min(280px, calc(100vw - 56px)); margin-top: 0; box-shadow: 0 8px 30px rgba(31,45,82,.15); }
            .teacher-hero [data-profile-actions]:empty { display: none; }
            .teacher-hero .public-share { max-width: 100%; }
            .teacher-hero .public-share-panel { position: static; width: min(280px, 100%); margin-top: 10px; box-shadow: none; }
            .public-share-panel > strong { display: block; font-size: 13px; margin-bottom: 12px; color: #25335d; }
            .public-share-label { display: inline-flex; align-items: center; gap: 10px; margin-inline-end: auto; color: #25335d; font-size: 14px; }
            .public-share-label svg { width: 20px; height: 20px; color: #64748b; }
            .public-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
            .public-share .share-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 14px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
            .public-share .share-button { width: 44px; height: 44px; padding: 10px; }
            .share-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
            .share-button svg { width: 21px; height: 21px; flex-shrink: 0; }
            .share-button:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(31, 45, 82, .12); }
            .share-button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
            .public-share .share-whatsapp { background: #e9f8ee; color: #147b3d; border-color: #c8ecd5; }
            .public-share .share-facebook { background: #1877f2; color: #fff; }
            .public-share .share-x { background: #171717; color: #fff; }
            .public-share .share-copy { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
            .public-share-status { font-size: 12px; color: #147b3d; overflow-wrap: anywhere; width: 100%; }
            @media (max-width: 600px) { .public-share-actions { width: 100%; display: flex; } }
            .public-share-status:empty { display: none; }
            .site-main { min-height: calc(100vh - 150px); }
            .flash-notice { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; color: #9a3412; font-weight: 800; margin-top: 18px; padding: 14px 16px; }
            .button { align-items: center; background: #fff; border: 1px solid #d0d9e5; border-radius: 8px; color: #344054; cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 900; justify-content: center; min-height: 38px; padding: 0 14px; position: relative; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; white-space: nowrap; }
            .button:hover { border-color: #aab8ca; box-shadow: 0 10px 22px rgba(16, 24, 40, .10); transform: translateY(-1px); }
            .button:active { box-shadow: 0 3px 8px rgba(16, 24, 40, .08); transform: translateY(0); }
            .button[aria-busy="true"] { gap: 8px; opacity: .92; pointer-events: none; }
            .button[aria-busy="true"]::before { animation: spin .78s linear infinite; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; content: ""; display: inline-block; height: 16px; width: 16px; }
            .button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
            .button.orange { background: var(--orange); border-color: var(--orange); color: #fff; }
            .button.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
            .home-account-actions { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 0 4px; }
            .home-account-card { --account-color: #056fec; --account-tint: #eaf3ff; background: #fff; border: 1px solid #dce5f0; border-radius: 18px; box-shadow: 0 4px 18px rgba(31, 42, 85, .04); min-width: 0; padding: 18px; }
            .home-account-card.student { --account-color: var(--orange); --account-tint: #fff3e8; }
            .home-account-heading { align-items: center; display: flex; gap: 10px; margin-bottom: 14px; }
            .home-account-icon { align-items: center; background: var(--account-tint); border-radius: 12px; color: var(--account-color); display: inline-flex; flex: 0 0 40px; height: 40px; justify-content: center; }
            .home-account-icon svg { height: 23px; width: 23px; }
            .home-account-heading h2 { color: var(--ink); font-size: 18px; line-height: 1.5; margin: 0; }
            .home-account-buttons { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .home-account-actions .button { border-color: var(--account-color); border-radius: 11px; color: var(--account-color); font-size: 14px; line-height: 1.6; min-height: 48px; padding: 10px 12px; text-align: center; white-space: normal; }
            .home-account-actions .account-register { background: var(--account-color); color: #fff; }
            .home-account-actions .account-login { background: var(--account-tint); border-color: transparent; }
            .home-account-actions .button:hover { box-shadow: 0 4px 12px rgba(31, 42, 85, .12); }
            .home-account-actions .button:focus-visible { outline: 3px solid var(--account-color); outline-offset: 3px; }
            @media (max-width: 680px) { .home-account-actions { gap: 10px; padding-top: 14px; } .home-account-card { border-radius: 16px; padding: 12px; } .home-account-heading { flex-direction: column; gap: 6px; margin-bottom: 12px; text-align: center; } .home-account-heading h2 { font-size: 16px; } .home-account-buttons { gap: 8px; grid-template-columns: minmax(0, 1fr); } .home-account-actions .button { font-size: 13px; min-height: 46px; padding: 10px 6px; } }
            @media (prefers-reduced-motion: reduce) { .home-account-actions .button { transition: none; transform: none; } }
            .hero { animation: rise-in .55s ease both; padding: 20px 0 16px; }
            .hero-spotlight { align-items: center; background: linear-gradient(160deg, #eaf3ff, #f5f9ff); border: 1px solid #dce8f8; border-radius: 18px; display: flex; justify-content: center; min-height: 0; padding: 28px; position: relative; }
            .hero-content { margin: 0 auto; max-width: 900px; position: relative; text-align: center; width: 100%; z-index: 1; }
            .hero-spotlight h1 { color: var(--ink); font-size: 36px; line-height: 1.35; text-shadow: none; }
            .hero-spotlight .hero-copy { color: #475467; margin-inline: auto; }
            .hero-spotlight .pill { background: rgba(255, 255, 255, .92); }
            .hero-grid { align-items: stretch; display: grid; gap: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .hero-panel { display: flex; flex-direction: column; justify-content: center; min-height: 390px; }
            .eyebrow { background: #fff3e8; border: 1px solid #ffd5b3; border-radius: 999px; color: var(--orange); display: inline-flex; font-size: 11px; font-weight: 900; margin-bottom: 14px; padding: 6px 10px; }
            h1 { font-size: 52px; letter-spacing: 0; line-height: 1.12; margin: 0 0 12px; }
            .hero-copy { color: #475467; font-size: 16px; font-weight: 800; line-height: 1.75; margin: 0 0 18px; max-width: 800px; }
            .search-card, .filters { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); display: flex; gap: 10px; padding: 8px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
            .search-card { align-items: stretch; display: grid; gap: 0; grid-template-columns: minmax(260px, 1fr) minmax(150px, 190px) minmax(150px, 190px) auto; position: relative; }
            .search-suggestions { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); inset-inline: 0; max-height: 320px; overflow-y: auto; position: absolute; top: calc(100% + 6px); z-index: 10; }
            .search-suggestions[hidden] { display: none; }
            .search-suggestions a, .search-result-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; padding: 10px 14px; }
            .search-suggestions a:hover, .search-result-row:hover { background: #f4f8ff; }
            .search-suggestions strong, .search-result-row strong { overflow-wrap: anywhere; }
            .search-suggestions small, .search-result-row small { color: var(--muted); }
            .search-results-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .search-result-group h2 { font-size: 17px; margin: 0 0 8px; }
            @media (max-width: 680px) { .search-results-grid { grid-template-columns: 1fr; } }
            .search-card:focus-within, .filters:focus-within { border-color: rgba(5, 111, 236, .42); box-shadow: 0 22px 52px rgba(5, 111, 236, .14); transform: translateY(-1px); }
            .search-card input, .search-card select { background: #fff; border: 0; border-inline-end: 1px solid #e6eef8; color: var(--ink); flex: 1; font-size: 13px; font-weight: 900; min-height: 40px; min-width: 0; outline: 0; padding: 0 12px; }
            .search-card input { font-weight: 800; }
            .search-card input::placeholder { color: #8a96a8; font-weight: 800; }
            .search-card select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23667085' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 16px center; background-repeat: no-repeat; background-size: 18px 18px; cursor: pointer; padding-inline-end: 44px; -webkit-appearance: none; }
            html[dir="rtl"] .search-card select { background-position: left 16px center; padding-inline-end: 22px; padding-inline-start: 44px; }
            .search-card .button { border-radius: 8px; margin: 6px; min-width: 112px; }
            .search-card.is-loading, .filters.is-loading { border-color: rgba(5, 111, 236, .48); box-shadow: 0 22px 52px rgba(5, 111, 236, .14); }
            .hero .search-card { border-color: rgba(255, 255, 255, .76); border-radius: 10px; box-shadow: 0 18px 42px rgba(8, 18, 44, .24); margin: 20px auto 0; max-width: 880px; padding: 0; width: 100%; }
            .hero .search-card input, .hero .search-card select { font-size: 14px; min-height: 58px; padding: 0 16px; }
            .hero .search-card .button { font-size: 13px; min-height: 52px; min-width: 96px; }
            .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
            .visual { animation: soft-float 6.5s ease-in-out infinite; background: linear-gradient(135deg, #ddecff, #fff0e2); border-radius: 24px; min-height: 390px; padding: 18px; }
            .visual-inner { background: #fff; border-radius: 18px; box-shadow: var(--shadow); height: 100%; min-height: 354px; overflow: hidden; position: relative; }
            .visual-inner img { display: block; height: 230px; object-fit: cover; width: 100%; }
            .visual-card { background: var(--ink); border-radius: 16px; bottom: 18px; color: #fff; inset-inline: 22px; padding: 16px; position: absolute; }
            .visual-card strong { display: block; font-size: 18px; margin-bottom: 5px; }
            .visual-card span { color: #d0d5dd; display: block; font-size: 13px; font-weight: 800; }
            .section { animation: rise-in .5s ease both; padding: 24px 0; }
            .section:nth-of-type(2) { animation-delay: .05s; }
            .section:nth-of-type(3) { animation-delay: .10s; }
            .section:nth-of-type(4) { animation-delay: .15s; }
            .section:nth-of-type(5) { animation-delay: .20s; }
            .section-head { align-items: end; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 14px; }
            .section-head h2 { font-size: 26px; line-height: 1.2; margin: 0; }
            .section-head p { color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.7; margin: 0; max-width: 520px; }
            .grid, .course-grid, .teacher-grid { display: grid; gap: 14px; }
            .course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .teacher-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
            .path-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .card { animation: rise-in .45s ease both; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
            .card:hover { border-color: rgba(5, 111, 236, .36); box-shadow: 0 22px 58px rgba(16, 24, 40, .12); transform: translateY(-2px); }
            .card-pad { padding: 15px; }
            .teacher-card { display: flex; flex-direction: column; height: 100%; position: relative; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
            .teacher-card:hover { border-color: rgba(5, 111, 236, .42); box-shadow: 0 22px 58px rgba(16, 24, 40, .13); transform: translateY(-2px); }
            .teacher-card .card-pad { align-items: stretch; display: flex; flex: 1; flex-direction: column; min-height: 386px; padding: 12px; text-align: inherit; }
            .teacher-card::before { background: linear-gradient(90deg, var(--orange), var(--brand), #16a34a, var(--orange)); background-size: 200% 100%; content: ""; display: block; height: 5px; transition: opacity .18s ease; }
            .teacher-card:hover::before { animation: shimmer-line 1.8s linear infinite; }
            .teacher-cover { background: linear-gradient(135deg, #eaf3ff, #fff3e8); height: 84px; margin: -12px -12px 0; overflow: hidden; position: relative; }
            .teacher-cover img { display: block; height: 100%; object-fit: cover; opacity: .58; transform: scale(1.02); transition: opacity .2s ease, transform .2s ease; width: 100%; }
            .teacher-card:hover .teacher-cover img { opacity: .72; transform: scale(1.06); }
            .teacher-profile { align-items: flex-end; display: flex; gap: 8px; justify-content: space-between; margin-top: -36px; min-height: 70px; position: relative; z-index: 1; }
            .teacher-identity { display: grid; gap: 4px; margin-top: 7px; min-height: 56px; min-width: 0; }
            .teacher-card .teacher-name { color: var(--ink); display: block; font-size: 16px; font-weight: 900; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
            .teacher-user { align-items: center; background: #f8fbff; border: 1px solid #e6eef8; border-radius: 999px; color: #667085; direction: ltr; display: inline-flex; font-size: 10px; font-weight: 900; justify-self: start; max-width: 100%; min-height: 24px; overflow: hidden; padding: 0 7px; text-overflow: ellipsis; white-space: nowrap; }
            .rating-badge { align-items: center; background: #fff; border: 1px solid #ffe0ad; border-radius: 999px; box-shadow: 0 8px 20px rgba(247, 144, 9, .13); color: #f79009; display: inline-flex; font-size: 11px; font-weight: 900; gap: 4px; min-height: 28px; padding: 0 8px; white-space: nowrap; }
            .teacher-tags { background: #fbfdff; border: 1px solid #edf2f7; border-radius: 8px; display: grid; gap: 8px; margin-top: 8px; min-height: 82px; padding: 8px; }
            .teacher-tag-row { display: grid; gap: 5px; min-width: 0; }
            .teacher-tag-label { color: var(--muted); font-size: 9px; font-weight: 900; line-height: 1; }
            .teacher-tags .pill-row { margin-top: 0; max-height: 30px; overflow: hidden; }
            .teacher-tags .pill { font-size: 10px; padding: 4px 7px; }
            .teacher-rating { align-items: center; background: #fff7ed; border: 1px solid #ffedd5; border-radius: 8px; display: flex; gap: 7px; justify-content: space-between; margin-top: 8px; min-height: 32px; padding: 5px 7px; }
            .teacher-rating .meta { color: #9a3412; font-size: 10px; line-height: 1.3; text-align: end; }
            .teacher-metrics { display: grid; gap: 7px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: auto; width: 100%; }
            .metric { background: #fff; border: 1px solid #e6eef8; border-radius: 8px; min-height: 62px; padding: 8px 4px; text-align: center; }
            .metric strong { color: var(--ink); display: block; font-size: 15px; line-height: 1.2; }
            .metric > .metric-label { align-items: center; color: var(--muted); display: flex; font-size: 10px; font-weight: 900; gap: 5px; justify-content: center; line-height: 1.3; margin-top: 6px; }
            .metric > .metric-label > span { margin: 0; }
            .metric > .metric-label svg { background: #eef4ff; border-radius: 6px; box-sizing: content-box; color: var(--brand); height: 14px; padding: 4px; width: 14px; }
            .teacher-metrics .metric:nth-child(1) > .metric-label svg { background: #ecfdf3; color: #087443; }
            .teacher-metrics .metric:nth-child(2) > .metric-label svg { background: #eef4ff; color: var(--brand); }
            .teacher-metrics .metric:nth-child(3) > .metric-label svg { background: #fff3e8; color: var(--orange); }
            .teacher-action { margin-top: 10px; min-height: 36px; width: 100%; }
            .compact-teacher-card { background: #fff; border-color: #e1e8f2; box-shadow: 0 6px 18px rgba(16, 24, 40, .04); cursor: pointer; display: flex; flex-direction: column; gap: 10px; padding: 14px; width: 100%; height: 240px; }
            .compact-teacher-card:hover, .compact-teacher-card:focus-visible { border-color: #8bbef8; box-shadow: 0 12px 24px rgba(16, 24, 40, .08); transform: translateY(-2px); }
            .compact-teacher-header { display: flex; align-items: center; gap: 10px; min-height: 64px; }
            .compact-teacher-card .teacher-avatar { animation: none; height: 64px; width: 64px; flex: 0 0 64px; margin: 0; }
            .compact-teacher-card .teacher-name { display: -webkit-box; font-size: 15px; line-height: 1.5; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
            .compact-teacher-meta { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
            .compact-teacher-meta .pill { border-radius: 6px; font-size: 10px; padding: 4px 6px; line-height: 1.5; }
            .compact-teacher-rating { color: #667085; font-size: 11px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
            .compact-teacher-rating strong { color: var(--ink); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
            .compact-teacher-rating .rating-star { color: #c58a00; font-size: 15px; }
            .compact-teacher-availability { color: #087443; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
            .compact-teacher-action { margin-top: auto; padding-top: 8px; border-top: 1px solid #eef2f6; display: flex; align-items: center; justify-content: space-between; color: var(--brand); font-size: 12px; font-weight: 900; }
            [dir="rtl"] .compact-teacher-action svg { transform: rotate(180deg); }
            .home-reveal .card, .home-reveal .stage-grade-row { animation: rise-in .42s ease both; }
            .home-reveal .card:nth-child(2), .home-reveal .grade-teacher-card:nth-child(2), .home-reveal .stage-grade-row:nth-child(2) { animation-delay: .05s; }
            .home-reveal .card:nth-child(3), .home-reveal .grade-teacher-card:nth-child(3), .home-reveal .stage-grade-row:nth-child(3) { animation-delay: .10s; }
            .home-reveal .card:nth-child(4), .home-reveal .grade-teacher-card:nth-child(4), .home-reveal .stage-grade-row:nth-child(4) { animation-delay: .15s; }
            .path-card { padding: 14px; }
            .path-card::before { background: var(--accent); border-radius: 999px; content: ""; display: block; height: 6px; margin-bottom: 12px; width: 52px; }
            .path-card strong, .course-title, .teacher-name { display: block; font-size: 18px; line-height: 1.35; margin-bottom: 7px; }
            .muted, .meta { color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.7; }
            .course-image, .cover-image { background: #eaf3ff; display: block; height: 166px; object-fit: cover; width: 100%; }
            .teacher-avatar { animation: pulse-ring 4.8s ease-in-out infinite; background: #eaf3ff; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 10px 24px rgba(16, 24, 40, .14); display: block; flex: 0 0 auto; height: 66px; object-fit: cover; transition: transform .2s ease; width: 66px; }
            .teacher-card:hover .teacher-avatar { transform: scale(1.04); }
            .image-loading-frame { --loader-size: 34px; --loader-spinner-size: 18px; --loader-x: 50%; --loader-y: 50%; position: relative; }
            .image-loading-frame > img, img.image-loading-frame { opacity: 0; transition: opacity .24s ease, transform .24s ease; }
            .image-loading-frame.image-loaded > img, img.image-loading-frame.image-loaded { opacity: 1; }
            .teacher-cover.image-loading-frame.image-loaded > img { opacity: .58; }
            .teacher-card:hover .teacher-cover.image-loading-frame.image-loaded > img { opacity: .72; }
            .teacher-cover.image-loading-frame, .course-image-shell.image-loading-frame, .teacher-hero-cover.image-loading-frame, .course-hero-image.image-loading-frame { background: linear-gradient(135deg, #eaf3ff 0%, #f8fbff 48%, #fff3e8 100%); }
            .image-loading-frame::before { backdrop-filter: blur(8px); background: rgba(255, 255, 255, .88); border: 1px solid rgba(216, 224, 234, .8); border-radius: 999px; box-shadow: 0 10px 24px rgba(16, 24, 40, .12); content: ""; height: var(--loader-size); left: var(--loader-x); opacity: 1; pointer-events: none; position: absolute; top: var(--loader-y); transform: translate(-50%, -50%); transition: opacity .2s ease, transform .2s ease; width: var(--loader-size); z-index: 2; }
            .image-loading-frame::after { animation: loader-spin .78s linear infinite; border: 2px solid rgba(216, 224, 234, .95); border-top-color: var(--brand); border-radius: 50%; content: ""; height: var(--loader-spinner-size); left: var(--loader-x); opacity: 1; pointer-events: none; position: absolute; top: var(--loader-y); transform: translate(-50%, -50%); transition: opacity .2s ease; width: var(--loader-spinner-size); z-index: 3; }
            .image-loading-frame.image-loaded::before { opacity: 0; transform: translate(-50%, -50%) scale(.92); }
            .image-loading-frame.image-loaded::after { opacity: 0; }
            .teacher-profile.image-loading-frame, .teacher-main.image-loading-frame { --loader-x: 33px; --loader-y: 35px; }
            html[dir="rtl"] .teacher-profile.image-loading-frame, html[dir="rtl"] .teacher-main.image-loading-frame { --loader-x: calc(100% - 33px); }
            .compact-teacher-card.image-loading-frame { --loader-size: 30px; --loader-spinner-size: 16px; --loader-x: 37px; --loader-y: 46px; }
            html[dir="rtl"] .compact-teacher-card.image-loading-frame { --loader-x: calc(100% - 37px); }
            .course-image-shell { background: #eaf3ff; display: block; height: 166px; overflow: hidden; position: relative; }
            .course-image-shell .course-image { height: 100%; }
            .pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
            .pill, .badge { border-radius: 999px; display: inline-flex; font-size: 11px; font-weight: 900; padding: 5px 9px; white-space: nowrap; }
            .pill { background: #eef4ff; color: var(--brand); }
            .badge { background: #fff3e8; color: var(--orange); }
            .badge.enrolled { background: #ecfdf3; color: var(--green); }
            .stars { color: #f79009; font-size: 12px; font-weight: 900; letter-spacing: 0; white-space: nowrap; }
            .filters { align-items: end; box-shadow: 0 10px 24px rgba(16, 24, 40, .04); flex-wrap: wrap; margin-bottom: 16px; }
            .filters label { color: var(--muted); display: grid; flex: 1 1 150px; font-size: 11px; font-weight: 900; gap: 5px; }
            .filters input, .filters select { background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; min-height: 36px; padding: 0 9px; }
            .detail-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
            .detail-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 18px; }
            .teacher-hero { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
            .teacher-hero-cover { background: linear-gradient(135deg, #ddecff, #fff0e2); height: 400px; overflow: hidden; position: relative; }
            .teacher-hero-cover img { display: block; height: 100%; width: 100%; }
            .teacher-hero-cover .teacher-hero-backdrop { filter: blur(24px) brightness(.76); inset: 0; object-fit: cover; position: absolute; transform: scale(1.08); }
            .teacher-hero-cover .teacher-hero-image { object-fit: contain; position: relative; }
            .teacher-hero-cover[data-cover-mode="fill"] .teacher-hero-image { object-fit: cover; object-position: var(--cover-x) var(--cover-y); }
            .teacher-hero-cover::after { background: linear-gradient(180deg, rgba(31, 42, 85, 0), rgba(31, 42, 85, .12)); bottom: 0; content: ""; inset-inline: 0; pointer-events: none; position: absolute; top: 0; }
            .teacher-hero-body { align-items: end; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); padding: 0 22px 22px; }
            .teacher-hero-body > * { min-width: 0; }
            .teacher-summary { overflow-wrap: anywhere; }
            .teacher-main { align-items: flex-start; display: flex; gap: 16px; min-width: 0; position: relative; z-index: 1; }
            .teacher-main > div { min-width: 0; padding-top: 12px; }
            .teacher-main .teacher-avatar { height: 104px; margin-top: -48px; width: 104px; }
            .teacher-main h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.2; margin: 0 0 4px; overflow-wrap: anywhere; }
            .teacher-summary { color: var(--muted); font-weight: 800; line-height: 1.9; margin: 14px 0 0; max-width: 760px; }
            .teacher-stats-strip { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 16px; }
            .teacher-rating-form { background: #fff; border: 1px solid #e6eef8; border-radius: 8px; box-shadow: 0 14px 34px rgba(16, 24, 40, .06); display: grid; gap: 10px; margin-top: 14px; padding: 14px; }
            .teacher-rating-form-title { color: var(--ink); font-size: 13px; font-weight: 900; }
            .teacher-rating-form .star-inputs { direction: ltr; display: inline-flex; flex-direction: row-reverse; justify-self: start; }
            .teacher-rating-form .star-inputs input { height: 1px; opacity: 0; position: absolute; width: 1px; }
            .teacher-rating-form .star-inputs label { color: #cbd5e1; cursor: pointer; font-size: 26px; line-height: 1; padding-inline-end: 2px; transition: color .16s ease, transform .16s ease; }
            .teacher-rating-form .star-inputs label:hover, .teacher-rating-form .star-inputs label:hover ~ label, .teacher-rating-form .star-inputs input:checked ~ label { color: #f79009; transform: translateY(-1px); }
            .teacher-rating-form textarea { border: 1px solid #d8e3f0; border-radius: 8px; color: var(--ink); font: inherit; min-height: 72px; padding: 10px 12px; resize: vertical; width: 100%; }
            .teacher-intro-panel { align-self: end; background: #f8fbff; border: 1px solid #e6eef8; border-radius: 8px; padding: 12px; position: relative; z-index: 1; }
            .teacher-intro-title { align-items: center; display: flex; font-size: 13px; font-weight: 900; gap: 8px; justify-content: space-between; margin-bottom: 10px; }
            .intro-video-frame { background: #071120; border-radius: 8px; box-shadow: 0 14px 30px rgba(16, 24, 40, .12); overflow: hidden; }
            .intro-video-frame iframe, .intro-video-frame video { aspect-ratio: 16 / 9; border: 0; display: block; width: 100%; }
            .course-detail-layout { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .55fr); }
            .course-hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
            .course-hero-image { background: #eaf3ff; height: 320px; overflow: hidden; }
            .course-hero-image img { display: block; height: 100%; object-fit: cover; width: 100%; }
            .course-hero-body { padding: 24px; }
            .course-hero-body h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 14px; }
            .course-preview-panel { border-top: 1px solid var(--line); padding: 18px 24px 24px; }
            .course-preview-title { align-items: center; display: flex; font-size: 16px; font-weight: 900; gap: 8px; justify-content: space-between; margin: 0 0 12px; }
            .course-preview-title span:last-child { align-items: center; background: #fff3e8; border-radius: 50%; color: #c45500; display: inline-flex; height: 30px; justify-content: center; width: 30px; }
            .course-detail-layout > .course-hero-panel { grid-column: 1; grid-row: 1; }
            .course-detail-layout > .course-curriculum { grid-column: 1; grid-row: 2; min-width: 0; }
            .course-detail-layout > .course-sidebar { grid-column: 2; grid-row: 1 / span 2; }
            .course-lesson-list { grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
            .course-lesson-list .content-item::before { content: attr(data-lesson-number); counter-increment: none; }
            .course-lesson-list .content-main { overflow-wrap: anywhere; }
            @media (max-width: 960px) {
                .course-detail-layout > .course-hero-panel, .course-detail-layout > .course-curriculum, .course-detail-layout > .course-sidebar { grid-column: 1; grid-row: auto; }
            }
            .course-sidebar { display: grid; gap: 14px; align-self: start; position: sticky; top: 98px; }
            .enroll-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 22px 52px rgba(16, 24, 40, .10); padding: 16px; }
            .price-line { align-items: baseline; display: flex; gap: 8px; justify-content: space-between; }
            .price-line strong { color: var(--ink); font-size: 28px; line-height: 1.2; }
            .course-summary-grid { display: grid; gap: 8px; margin-top: 14px; }
            .summary-row { align-items: center; background: #f8fbff; border: 1px solid #e6eef8; border-radius: 8px; display: flex; gap: 10px; justify-content: space-between; padding: 10px; }
            .summary-row span { color: var(--muted); font-size: 12px; font-weight: 900; }
            .summary-row strong { font-size: 14px; }
            .course-card-teacher { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: start; max-width: 100%; color: var(--brand); font-size: 12px; font-weight: 700; }
            .course-card-teacher img { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; object-fit: cover; border: 1px solid #e0e7f1; }
            .course-card-teacher span { overflow-wrap: anywhere; }
            .course-card-teacher:hover { text-decoration: underline; }
            .course-teacher-mini { align-items: center; display: flex; gap: 12px; }
            .course-teacher-mini img { border: 3px solid #fff; border-radius: 50%; box-shadow: 0 8px 20px rgba(16, 24, 40, .12); height: 64px; object-fit: cover; width: 64px; }
            .content-list { counter-reset: content; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .content-item { align-items: stretch; background: #fff; border: 1px solid #e6eef8; border-radius: 8px; box-shadow: 0 14px 34px rgba(16, 24, 40, .06); display: grid; gap: 12px; grid-template-columns: auto minmax(0, 1fr); min-height: 118px; padding: 14px; position: relative; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
            .content-item:hover { border-color: rgba(5, 111, 236, .32); box-shadow: 0 20px 44px rgba(16, 24, 40, .10); transform: translateY(-2px); }
            .content-item::before { align-items: center; background: #eef4ff; border-radius: 50%; color: var(--brand); content: counter(content); counter-increment: content; display: inline-flex; font-size: 13px; font-weight: 900; height: 38px; justify-content: center; margin-top: 2px; width: 38px; }
            .content-main { min-width: 0; }
            .content-main strong { display: block; font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
            .content-meta { display: flex; flex-wrap: wrap; gap: 7px; }
            .content-meta .pill, .content-meta .badge { margin-top: 0; }
            .course-catalog { display: grid; gap: 16px; }
            .teacher-catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 18px 0; }
            .teacher-catalog-controls > div { min-width: 0; }
            .teacher-catalog-label { color: var(--muted); display: block; font-size: 12px; font-weight: 900; margin-bottom: 8px; }
            .teacher-grade-options, .teacher-type-tabs { display: flex; min-width: 0; max-width: 100%; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
            .teacher-grade-option, .teacher-type-tab { background: #fff; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); cursor: pointer; flex: 0 0 auto; font: inherit; font-size: 13px; font-weight: 800; min-height: 42px; padding: 8px 14px; }
            .teacher-grade-option[aria-pressed="true"] { background: #eef5ff; border-color: var(--brand); color: var(--brand); }
            .teacher-type-tabs { border-bottom: 1px solid var(--line); gap: 18px; }
            .teacher-type-tabs[hidden] { display: none; }
            .teacher-type-tab { background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding-inline: 2px; }
            .teacher-type-tab[aria-selected="true"] { border-bottom-color: var(--brand); color: var(--brand); }
            .teacher-type-tab span { color: var(--muted); font-size: 11px; margin-inline-start: 5px; }
            .teacher-offerings { min-height: 72px; }
            .teacher-offerings .offer-grid, .teacher-offerings .course-grid { margin-top: 0; }
            .teacher-offerings .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .teacher-offerings .course-grid.is-single { grid-template-columns: minmax(0, 1fr); }
            .teacher-offerings .course-grid.is-single .card { display: grid; grid-template-columns: minmax(220px, 32%) minmax(0, 1fr); }
            .teacher-offerings .course-grid.is-single .course-image-shell { height: 100%; min-height: 230px; }
            .teacher-offerings .course-grid.is-single .card-pad { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 20px; }
            .teacher-offerings .course-grid.is-single .card-pad > .pill-row:last-child { margin-top: auto; }
            .teacher-documents-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
            .teacher-document-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; direction: ltr; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 6px 20px rgba(31, 42, 85, .04); min-width: 0; overflow-wrap: anywhere; }
            @media(max-width: 900px) { .teacher-documents-grid { grid-template-columns: minmax(0, 1fr); } }
            .teacher-document-cover { width: 100%; height: 156px; object-fit: cover; border-radius: 10px; background: #eaf3ff; }
            .teacher-document-body { min-width: 0; display: flex; flex-direction: column; }
            .teacher-document-card .teacher-document-icon { display: none; }
            .teacher-document-card .teacher-document-head h2, .teacher-document-card .teacher-document-head h3 { font-size: 17px !important; line-height: 1.6; }
            .teacher-document-card .teacher-document-tags { margin-top: 10px; gap: 5px; }
            .teacher-document-card .document-catalog-teacher { margin-top: 10px; }
            .teacher-document-card > .teacher-document-footer { grid-column: 1 / -1; margin-top: 0; padding-top: 14px; gap: 12px; direction: ltr; }
            .teacher-document-card > .teacher-document-footer > .teacher-document-free { order: 2; }
            .teacher-document-card > .teacher-document-footer > :is(a, form) { order: 1; }
            @media(max-width: 600px) {
                .teacher-document-card { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 14px; }
                .teacher-document-cover { height: 116px; }
                .teacher-document-card .teacher-document-footer { flex-wrap: wrap; }
                .teacher-document-card .teacher-document-footer .button { padding-inline: 10px; font-size: 12px; }
            }
            .teacher-document-head { display: flex; align-items: center; gap: 14px; }
            .teacher-document-icon { display: grid; place-items: center; flex: 0 0 56px; height: 56px; border-radius: 16px; background: #eaf3ff; color: #056fec; }
            .teacher-document-icon svg { width: 28px; height: 28px; }
            .teacher-document-card.is-exam .teacher-document-icon { background: #fff3e8; color: #c45a00; }
            .teacher-document-kind { color: var(--muted); font-size: 12px; font-weight: 800; }
            .teacher-document-head h3 { font-size: 20px; line-height: 1.5; margin: 2px 0 0; }
            .teacher-document-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
            .teacher-document-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; background: #f4f7fb; color: var(--ink); font-size: 12px; }
            .teacher-document-tags svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
            .teacher-document-description { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 14px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
            .teacher-document-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
            .teacher-document-free { color: #087443; background: #edf8f2; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
            .teacher-document-free.is-paid { color: #934600; background: #fff3e8; border: 1px solid #ffd5b0; }
            .document-card-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 700; }
            .document-rating-stars { color: #e58b00; }
            .teacher-document-footer .button { gap: 8px; min-height: 42px; }
            .teacher-document-footer svg { width: 17px; height: 17px; }
            [dir="rtl"] .teacher-document-footer svg { transform: rotate(180deg); }
            .teacher-grade-empty { border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-weight: 800; padding: 28px 16px; text-align: center; }
            .course-group { background: rgba(255, 255, 255, .72); border: 1px solid rgba(216, 224, 234, .86); border-radius: 8px; box-shadow: 0 16px 38px rgba(16, 24, 40, .06); padding: 16px; }
            .course-group-head { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 14px; }
            .course-group-head h2 { font-size: 22px; margin: 0; }
            .course-type-block + .course-type-block { margin-top: 16px; }
            .course-type-title { align-items: center; color: var(--muted); display: flex; font-size: 13px; font-weight: 900; gap: 8px; margin-bottom: 10px; }
            .course-type-title::before { background: var(--orange); border-radius: 999px; content: ""; height: 8px; width: 28px; }
            .course-type-title.recorded::before { background: var(--brand); }
            .offer-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
            .offer-card { background: #fff; border: 1px solid #e6eef8; border-radius: 8px; box-shadow: 0 14px 34px rgba(16, 24, 40, .06); display: grid; gap: 12px; min-height: 188px; padding: 16px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
            .offer-card.is-shared { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(5, 111, 236, .14), 0 14px 34px rgba(16, 24, 40, .08); scroll-margin-top: 110px; }
            .offer-card:hover { border-color: rgba(5, 111, 236, .32); box-shadow: 0 20px 44px rgba(16, 24, 40, .10); transform: translateY(-2px); }
            .offer-card-head { align-items: start; display: flex; gap: 12px; justify-content: space-between; }
            .offer-card-head > div { min-width: 0; }
            .offer-title { color: var(--ink); display: block; font-size: 18px; font-weight: 900; line-height: 1.35; }
            .offer-teacher { align-items: center; color: #056fec; display: inline-flex; font-size: 12px; font-weight: 900; gap: 8px; line-height: 1.5; margin-top: 7px; max-width: 100%; }
            .offer-teacher-avatar { background: #eef4ff; border: 1px solid #dbe8ff; border-radius: 50%; flex: 0 0 32px; height: 32px; object-fit: cover; width: 32px; }
            .offer-teacher span { overflow-wrap: anywhere; }
            .offer-subtitle { color: var(--muted); display: block; font-size: 12px; font-weight: 800; line-height: 1.6; margin-top: 4px; }
            .offer-meta-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .offer-meta { background: #f8fbff; border: 1px solid #e6eef8; border-radius: 8px; padding: 9px; }
            .offer-meta span { color: var(--muted); display: block; font-size: 10px; font-weight: 900; margin-bottom: 3px; }
            .offer-meta strong { color: var(--ink); display: block; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
            .offer-actions { align-items: center; border-top: 1px solid #e6eef8; display: flex; gap: 10px; justify-content: space-between; margin-top: auto; padding-top: 12px; }
            .offer-price { color: var(--ink); display: block; font-size: 18px; font-weight: 900; line-height: 1.2; white-space: nowrap; }
            @media (max-width: 480px) {
                .filters label { flex-basis: 100%; }
                .filters button[type="submit"] { width: 100%; }
            }
            @media (max-width: 360px) {
                .course-grid { grid-template-columns: minmax(0, 1fr); }
                .offer-card { min-width: 0; }
                .offer-actions { align-items: stretch; flex-direction: column; }
                .offer-actions .button { width: 100%; }
            }
            .stat-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
            .stat { background: #f8fafc; border: 1px solid #e8eef5; border-radius: 8px; padding: 12px; }
            .stat span { color: var(--muted); display: block; font-size: 11px; font-weight: 900; margin-bottom: 4px; }
            .stat strong { display: block; font-size: 18px; }
            .list { display: grid; gap: 8px; }
            .list-row { align-items: center; background: #f8fafc; border: 1px solid #e8eef5; border-radius: 8px; display: flex; gap: 12px; justify-content: space-between; padding: 11px; }
            .contact-grid { display: grid; gap: 10px; }
            .contact-card { align-items: center; background: #fff; border: 1px solid #e6eef8; border-radius: 8px; box-shadow: 0 10px 24px rgba(16, 24, 40, .05); display: flex; gap: 12px; min-width: 0; padding: 14px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
            .contact-card:hover { border-color: rgba(5, 111, 236, .34); box-shadow: 0 14px 28px rgba(16, 24, 40, .09); transform: translateY(-1px); }
            .contact-card-icon, .contact-heading-icon { align-items: center; background: #eef5ff; border-radius: 8px; color: var(--brand); display: inline-flex; flex: 0 0 40px; height: 40px; justify-content: center; width: 40px; }
            .contact-card-icon.whatsapp-icon { background: #edf9f1; color: #16a34a; }
            .contact-card-copy { display: grid; gap: 2px; min-width: 0; }
            .contact-card-copy small, .contact-card-copy em { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 800; }
            .contact-card-copy strong { color: var(--ink); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
            .contact-card-arrow { color: var(--brand); font-size: 18px; font-weight: 900; margin-inline-start: auto; }
            .contact-layout { display: grid; gap: 18px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
            .contact-support { display: grid; gap: 12px; align-content: start; }
            .contact-page-heading .eyebrow { align-items: center; display: inline-flex; gap: 6px; margin-bottom: 8px; }
            .contact-page-heading h1 { margin-bottom: 4px; }
            .contact-column-heading, .contact-form-heading { align-items: flex-start; display: flex; gap: 10px; }
            .contact-column-heading .section-title, .contact-form-heading .section-title { margin: 0; }
            .contact-column-heading p, .contact-form-heading p { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.6; margin: 3px 0 0; }
            .contact-form { background: #fff; border: 1px solid #e6eef8; border-radius: 8px; box-shadow: 0 14px 34px rgba(16, 24, 40, .06); display: grid; gap: 16px; padding: 18px; }
            .contact-form label { color: var(--ink); display: grid; font-size: 12px; font-weight: 900; gap: 6px; }
            .contact-form input, .contact-form textarea { border: 1px solid #d8e3f0; border-radius: 8px; color: var(--ink); font: inherit; font-size: 14px; min-height: 44px; padding: 10px 12px; width: 100%; }
            .contact-form textarea { min-height: 130px; resize: vertical; }
            .contact-fields { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .contact-message-field { grid-column: 1 / -1; }
            .contact-form-footer { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
            .contact-form-footer small { color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.5; }
            .contact-form-footer .button { align-items: center; display: inline-flex; gap: 7px; white-space: nowrap; }
            .contact-help { border-top: 1px solid #e6eef8; margin-top: 4px; padding-top: 14px; }
            .contact-help h3 { color: var(--ink); font-size: 14px; margin: 0 0 10px; }
            .contact-help-list { display: grid; gap: 7px; }
            .contact-help-list span, .contact-response { align-items: center; color: var(--muted); display: flex; font-size: 12px; font-weight: 800; gap: 7px; line-height: 1.5; }
            .contact-help-list svg { color: #16a34a; }
            .contact-response { margin: 12px 0 0; }
            .site-footer { background: #fff; border-top: 1px solid #e6eef8; box-shadow: 0 -10px 30px rgba(16, 24, 40, .03); color: var(--muted); font-size: 12px; font-weight: 800; margin-top: 28px; padding: 26px 0; }
            .footer-inner { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(160px, .45fr)); }
            .footer-brand { display: grid; gap: 10px; justify-items: start; }
            .footer-brand .brand img { height: 42px; }
            .footer-title { color: var(--ink); display: block; font-size: 13px; font-weight: 900; margin-bottom: 8px; }
            .footer-links { display: grid; gap: 8px; }
            .footer-links a { color: var(--brand); font-weight: 900; }
            .icon-label { align-items: center; display: inline-flex; gap: 7px; }
            .catalog-heading { align-items: center; display: inline-flex; gap: 11px; }
            .catalog-heading-icon { align-items: center; background: #eef4ff; border: 1px solid #dbe8ff; border-radius: 10px; color: var(--brand); display: inline-flex; flex: 0 0 42px; height: 42px; justify-content: center; width: 42px; }
            .catalog-heading-icon svg { height: 21px; width: 21px; }
            .catalog-filter-label, .offer-meta-label { align-items: center; display: inline-flex; gap: 5px; }
            .catalog-filter-label svg, .offer-meta-label svg, .teacher-tag-label svg { color: var(--brand); height: 14px; width: 14px; }
            .offer-meta span.offer-meta-label { display: inline-flex; }
            .offer-meta-label > span { margin: 0; }
            .teacher-tag-label { align-items: center; display: inline-flex; gap: 5px; }
            .catalog-pill { align-items: center; display: inline-flex; gap: 5px; }
            .catalog-action { gap: 6px; }
            .course-card-footer { justify-content: space-between; }
            .recorded-catalog .section-head { margin-bottom: 20px; }
            .recorded-catalog .catalog-heading { font-size: clamp(30px, 3vw, 42px); }
            .recorded-catalog .filters { align-items: end; display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; padding: 16px; }
            .recorded-catalog .filters label { min-width: 0; }
            .recorded-catalog .filters input, .recorded-catalog .filters select { min-height: 44px; width: 100%; }
            .recorded-catalog .filters .button { min-height: 44px; }
            .recorded-catalog .course-grid { gap: 18px; }
            .recorded-catalog .catalog-course-card { border-radius: 14px; display: flex; flex-direction: column; height: 100%; min-width: 0; }
            .recorded-catalog .course-image-shell { aspect-ratio: 16 / 9; height: auto; }
            .recorded-catalog .course-card-body { display: flex; flex: 1; flex-direction: column; gap: 12px; min-width: 0; padding: 18px; }
            .recorded-catalog .course-title { font-size: 18px; font-weight: 900; line-height: 1.5; margin: 0; min-height: 3em; overflow-wrap: anywhere; }
            .recorded-catalog .course-card-body > .meta { min-height: 20px; }
            .recorded-catalog .course-card-body > .pill-row { margin-top: 0; }
            .recorded-catalog .course-card-body > .course-card-rating { align-items: center; border-top: 1px solid #edf2f7; gap: 8px; margin-top: auto; padding-top: 12px; }
            .recorded-catalog .course-card-rating .meta { line-height: 1.4; }
            .recorded-catalog .course-card-footer { align-items: stretch; border-top: 1px solid #edf2f7; display: grid; gap: 10px; justify-content: stretch; margin-top: 0; padding-top: 12px; }
            .recorded-catalog .course-card-price { font-size: 19px; line-height: 1.3; }
            .recorded-catalog .course-card-footer .button { min-height: 44px; width: 100%; }
            @media (max-width: 960px) { .recorded-catalog .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .recorded-catalog .filters .button { width: 100%; } }
            @media (max-width: 680px) { .recorded-catalog .filters { grid-template-columns: minmax(0, 1fr); padding: 12px; } .recorded-catalog .catalog-heading { font-size: 27px; } .recorded-catalog .course-card-body { padding: 15px; } }
            .about-path-card .path-card-icon { height: 40px; width: 40px; }
            .about-path-card .path-card-icon svg { height: 20px; width: 20px; }
            .about-links-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
            .about-link-card { align-items: start; background: #fff; border: 1px solid #e6eef8; border-radius: 8px; box-shadow: 0 10px 24px rgba(16, 24, 40, .05); color: var(--ink); display: grid; gap: 8px; padding: 16px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
            .about-link-card:hover, .about-link-card:focus-visible { border-color: rgba(5, 111, 236, .45); box-shadow: 0 16px 30px rgba(16, 24, 40, .09); transform: translateY(-2px); }
            .about-link-card .path-card-icon { height: 40px; margin: 0; width: 40px; }
            .about-link-card .path-card-icon svg { height: 20px; width: 20px; }
            .about-link-card strong { font-size: 15px; font-weight: 900; }
            .about-link-card .muted { font-size: 12px; line-height: 1.7; }
            .path-card-icon { align-items: center; background: color-mix(in srgb, var(--accent) 12%, white); border-radius: 8px; color: var(--accent); display: inline-flex; height: 34px; justify-content: center; margin-bottom: 8px; width: 34px; }
            .footer-bottom { border-top: 1px solid #edf2f7; margin-top: 18px; padding-top: 14px; }
            .grade-picks { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .grade-pick { display: grid; gap: 12px; }
            .grade-pick-head { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
            .grade-pick-head strong { font-size: 18px; }
            .grade-pick .teacher-card .card-pad { min-height: 398px; }
            #top-rated-by-grade .stage-grade-rows { background: rgba(255, 255, 255, .62); border: 1px solid rgba(216, 224, 234, .78); border-radius: 8px; box-shadow: 0 16px 38px rgba(16, 24, 40, .055); display: grid; gap: 10px; padding: 10px; }
            .stage-grade-rows { display: grid; gap: 14px; }
            .stage-grade-row { background: rgba(255, 255, 255, .84); border: 1px solid rgba(216, 224, 234, .78); border-radius: 8px; overflow: hidden; padding: 12px 0 0; position: relative; scroll-margin-top: 88px; }
            .stage-grade-title { align-items: center; display: flex; gap: 12px; justify-content: space-between; padding: 0 12px 8px; }
            .stage-grade-title strong { font-size: 18px; }
            .grade-scroller { direction: rtl; display: flex; gap: 10px; overflow-x: auto; padding: 4px 12px 14px; scroll-snap-type: x proximity; }
            html[dir="ltr"] .grade-scroller { direction: ltr; }
            .grade-scroller::-webkit-scrollbar { height: 8px; }
            .grade-scroller::-webkit-scrollbar-thumb { background: #c5d4e5; border-radius: 999px; }
            .grade-teacher-card { direction: inherit; display: flex; flex: 0 0 clamp(240px, 22vw, 260px); scroll-snap-align: start; }
            .grade-teacher-card .teacher-card .card-pad { min-height: 340px; }
            .grade-teacher-card:nth-child(2) { animation-delay: .04s; }
            .grade-teacher-card:nth-child(3) { animation-delay: .08s; }
            .grade-teacher-card:nth-child(4) { animation-delay: .12s; }
            .grade-teacher-card:nth-child(5) { animation-delay: .16s; }
            .grade-teacher-card:nth-child(6) { animation-delay: .20s; }
            .empty { color: var(--muted); font-weight: 800; }
            .loading-state { align-items: center; color: var(--muted); display: inline-flex; font-size: 12px; font-weight: 900; gap: 8px; }
            .loading-state .spinner { animation: spin .78s linear infinite; border: 2px solid #dbe7f5; border-top-color: var(--brand); border-radius: 50%; display: inline-block; height: 18px; width: 18px; }
            .skeleton-card { min-height: 262px; padding: 12px; pointer-events: none; }
            .skeleton-card.teacher-card .card-pad { min-height: 340px; }
            .skeleton-line, .skeleton-avatar, .skeleton-cover, .skeleton-pill, .skeleton-button { animation: skeleton-wave 1.35s ease-in-out infinite; background: linear-gradient(90deg, #edf3fa 0%, #f8fbff 42%, #e8f0fa 72%, #edf3fa 100%); background-size: 220% 100%; border-radius: 8px; display: block; }
            .skeleton-cover { height: 84px; margin: -12px -12px 0; }
            .skeleton-profile { align-items: flex-end; display: flex; justify-content: space-between; margin-top: -32px; min-height: 66px; position: relative; z-index: 1; }
            .skeleton-avatar { border: 4px solid #fff; border-radius: 50%; height: 64px; width: 64px; }
            .skeleton-pill { height: 28px; width: 74px; }
            .skeleton-line { height: 12px; margin-top: 10px; }
            .skeleton-line.title { height: 18px; width: 72%; }
            .skeleton-line.short { width: 44%; }
            .skeleton-line.medium { width: 62%; }
            .skeleton-tags { background: #fbfdff; border: 1px solid #edf2f7; border-radius: 8px; display: grid; gap: 8px; margin-top: 12px; padding: 10px; }
            .skeleton-metrics { display: grid; gap: 7px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: auto; }
            .skeleton-metrics span { height: 52px; }
            .skeleton-button { height: 36px; margin-top: 10px; width: 100%; }
            .pagination { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
            .pagination a, .pagination span { align-items: center; background: #fff; border: 1px solid #dbe3ea; border-radius: 8px; color: var(--ink); display: inline-flex; font-size: 12px; font-weight: 900; justify-content: center; min-height: 34px; min-width: 34px; padding: 0 10px; }
            .pagination a:hover { border-color: rgba(5, 111, 236, .42); box-shadow: 0 8px 18px rgba(16, 24, 40, .08); color: var(--brand); }
            .pagination .active { background: var(--brand); border-color: var(--brand); color: #fff; }
            .pagination .disabled { color: #98a2b3; }
            .sr-only { border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
            footer { color: var(--muted); font-size: 12px; font-weight: 800; padding: 30px 0; }
            @media (prefers-reduced-motion: reduce) {
                *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
            }
            @media (max-width: 960px) { .nav { gap: 12px; grid-template-columns: minmax(0, 1fr) auto; min-height: 66px; padding: 8px 0; } .brand { justify-content: flex-start; justify-self: start; } .brand img { height: 44px; max-width: 158px; } .nav-links, .nav-actions { display: none; } .mobile-nav-menu { display: block; justify-self: end; } .mobile-nav-panel .nav-link { color: #475467; font-size: 13px; padding: 0 12px; } .mobile-nav-panel .nav-link.active { background: #eef4ff; box-shadow: none; color: var(--brand); } .login-menu { min-width: 0; width: 100%; } .login-options { inset-inline: 0; min-width: 0; } .hero-grid, .detail-grid, .teacher-hero-body, .course-detail-layout, .contact-layout, .footer-inner { grid-template-columns: minmax(0, 1fr); } .hero-panel { min-height: auto; } .course-sidebar { position: static; } .course-grid, .teacher-grid, .path-grid, .grade-picks, .teacher-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
            @media (min-width: 681px) and (max-width: 960px) { .teacher-hero-cover { height: 320px; } }
            @media (max-width: 680px) { .container { padding: 0 12px; } .site-header { position: sticky; } .nav { gap: 10px; grid-template-columns: minmax(0, 1fr) auto; min-height: 60px; padding: 8px 0; } .brand { justify-content: flex-start; } .brand img { height: 40px; max-width: 146px; } .nav-links, .nav-actions { display: none; } .mobile-nav-menu { display: block; justify-self: end; } .mobile-nav-panel .nav-link { color: #475467; font-size: 13px; padding: 0 12px; } .mobile-nav-panel .nav-link.active { background: #eef4ff; box-shadow: none; color: var(--brand); } .login-menu { min-width: 0; width: 100%; } .login-options { inset-inline: 0; min-width: 0; } .hero { padding: 14px 0 18px; } .hero-spotlight { border-radius: 14px; min-height: 0; padding: 28px 18px; } .hero-content { text-align: start; } .eyebrow { font-size: 11px; margin-bottom: 12px; padding: 6px 10px; } .hero-copy { font-size: 14px; line-height: 1.75; margin-bottom: 14px; } .hero .search-card { grid-template-columns: 1fr; margin-top: 18px; padding: 8px; } .hero .search-card input, .hero .search-card select { border-inline-end: 0; border-bottom: 1px solid #e6eef8; flex: 0 0 auto; font-size: 13px; min-height: 46px; padding: 0 12px; width: 100%; } .hero .search-card input { border-radius: 8px 8px 0 0; } .hero .search-card .button { font-size: 12px; margin: 8px 0 0; min-height: 42px; width: 100%; } .section { padding: 18px 0; } .section-head, .search-card { align-items: stretch; } .section-head h2 { font-size: 24px; } .search-card { grid-template-columns: 1fr; } .search-card select { border-inline-start: 0; flex-basis: auto; width: 100%; } .course-grid, .teacher-grid, .path-grid, .grade-picks, .stat-grid, .content-list, .offer-grid, .offer-meta-grid, .contact-grid { grid-template-columns: 1fr; } .teacher-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .course-hero-image { height: 170px; } .course-hero-body, .enroll-card, .detail-panel, .contact-form { padding: 14px; } .course-hero-body h1, .teacher-main h1 { font-size: 30px; line-height: 1.16; } .teacher-summary { font-size: 13px; line-height: 1.75; } .teacher-hero-cover { height: 160px; } .teacher-hero-body { padding: 0 14px 14px; } .teacher-main { align-items: center; flex-direction: row; gap: 12px; margin-top: -40px; } .teacher-main .teacher-avatar { height: 88px; width: 88px; } .teacher-intro-panel { padding: 10px; } .content-item { min-height: 0; padding: 12px; } h1 { font-size: 32px; line-height: 1.12; } .contact-fields { grid-template-columns: 1fr; } .contact-message-field { grid-column: auto; } .contact-form-footer { align-items: stretch; flex-direction: column; } .contact-form-footer .button { justify-content: center; width: 100%; } }
            @media (max-width: 680px) { .mobile-nav-menu { margin-inline-end: 6px; } }
            @media (max-width: 960px) {
                .nav { position: relative; }
                .mobile-nav-menu { position: static; }
                .mobile-nav-panel { height: calc(100dvh - 78px); min-width: 0; overflow-y: auto; overscroll-behavior: contain; top: calc(100% + 6px); width: min(420px, calc(100vw - 44px)); }
                .mobile-nav-panel .login-options { border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; margin-top: 6px; min-width: 0; padding: 6px 0 0; position: static; width: 100%; }
                .mobile-nav-panel .login-options.account-options { max-height: none; overflow: visible; }
                .mobile-nav-panel .account-menu-trigger { max-width: none; }
            }
            @media (max-width: 680px) {
                .mobile-nav-panel { height: calc(100dvh - 72px); inset-inline: 0; width: auto; }
            }
            @media (max-width: 680px) { .hero .search-card select, .search-card select { padding-inline-end: 44px; } html[dir="rtl"] .hero .search-card select, html[dir="rtl"] .search-card select { padding-inline-end: 12px; padding-inline-start: 44px; } }
            @media (max-width: 680px) { .hero { padding: 10px 0 14px; } .hero-spotlight { padding: 22px 14px; } h1 { font-size: 28px; line-height: 1.12; } .hero-copy { font-size: 13px; line-height: 1.65; } .hero .search-card { margin-top: 14px; } .section { padding: 14px 0; } .section-head { margin-bottom: 10px; } .section-head h2 { font-size: 21px; } .section-head p { font-size: 12px; line-height: 1.6; } .path-card { padding: 12px; } .path-card strong { font-size: 16px; margin-bottom: 4px; } .stage-grade-rows { gap: 12px; } .stage-grade-row { padding-top: 10px; } .stage-grade-title strong { font-size: 17px; } .grade-scroller { gap: 10px; padding: 2px 10px 12px; } .grade-teacher-card { flex-basis: clamp(238px, 74vw, 260px); } .grade-teacher-card .teacher-card .card-pad { min-height: 0; } .teacher-cover { height: 78px; } .teacher-avatar { height: 60px; width: 60px; } .teacher-profile { margin-top: -32px; min-height: 64px; } .teacher-card .teacher-name { font-size: 15px; } .teacher-tags { min-height: 0; } }
            @media (max-width: 680px) {
                #learning-path .path-grid { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
                #learning-path .path-card { min-width: 0; padding: 10px 6px; text-align: center; }
                #learning-path .path-card::before { height: 4px; margin: 0 auto 8px; width: 28px; }
                #learning-path .path-card strong { font-size: 14px; line-height: 1.4; margin: 0; }
                #learning-path .path-card .muted { display: none; }
            }
            @media (max-width: 420px) { .nav-link { padding: 0 9px; } .hero-spotlight { margin-inline: -2px; padding: 20px 14px; } .teacher-card .card-pad, .grade-pick .teacher-card .card-pad, .grade-teacher-card .teacher-card .card-pad { min-height: 0; } .teacher-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } .teacher-stats-strip { grid-template-columns: 1fr 1fr; } }
            @media (max-width: 680px) { .teacher-offerings .course-grid { grid-template-columns: minmax(0, 1fr); } .teacher-offerings .course-grid.is-single .card { grid-template-columns: minmax(0, 1fr); } .teacher-offerings .course-grid.is-single .course-image-shell { height: 170px; min-height: 0; } .teacher-offerings .course-grid.is-single .card-pad { padding: 14px; } }
            @media (max-width: 680px) {
                .teacher-offerings .offer-card { gap: 10px; min-height: 0; padding: 12px; }
                .teacher-offerings .offer-title { font-size: 16px; }
                .teacher-offerings .offer-meta-grid { gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
                .teacher-offerings .offer-meta { min-width: 0; padding: 7px 8px; }
                .teacher-offerings .offer-meta span { font-size: 9px; margin-bottom: 2px; }
                .teacher-offerings .offer-meta strong { font-size: 11px; line-height: 1.35; }
                .teacher-offerings .offer-actions { gap: 8px; padding-top: 10px; }
                .teacher-offerings .offer-price { font-size: 15px; }
            }
            @media (max-width: 680px) {
                .teacher-hero-cover { height: 230px; }
                .teacher-hero-body { padding: 14px 14px 16px; }
                .teacher-main { align-items: center; margin-top: 0; }
                .teacher-main > div { padding-top: 0; }
                .teacher-main .teacher-avatar { flex: 0 0 64px; height: 64px; margin-top: 0; width: 64px; }
                .teacher-main h1 { font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
                .teacher-stats-strip { border-top: 1px solid var(--line); gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; padding-top: 10px; }
                .teacher-stats-strip .stat { background: none; border: 0; border-inline-end: 1px solid var(--line); border-radius: 0; min-width: 0; padding: 2px 5px; text-align: center; }
                .teacher-stats-strip .stat:nth-child(4) { border-inline-end: 0; }
                .teacher-stats-strip .stat:nth-child(5) { display: none; }
                .teacher-stats-strip .stat span { font-size: 9px; line-height: 1.3; margin-bottom: 3px; }
                .teacher-stats-strip .stat strong { font-size: 15px; line-height: 1.2; }
            }

            .home-live { background: linear-gradient(125deg, #eef5ff, #fff8f0); border: 1px solid #dce8f8; border-radius: 20px; padding: 24px; }
            .home-live .section-head h2 { display: flex; align-items: center; gap: 10px; }
            .home-live .section-head h2 svg { color: var(--brand); }
            .home-live-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
            .home-live-card { background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
            .home-live-time { background: #eef5ff; border-bottom: 1px solid #dce8f8; color: var(--ink); display: grid; gap: 8px; padding: 14px 16px; }
            .home-live-time-main, .home-live-time-note { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
            .home-live-time-main > span { font-size: 13px; font-weight: 800; }
            .home-live-time strong { color: var(--brand); font-size: 24px; line-height: 1.3; white-space: nowrap; }
            .home-live-time-note { min-height: 26px; }
            .home-live-time small { color: var(--muted); font-size: 10px; }
            .home-live-soon { background: #fff0df; border-radius: 99px; color: #934000; font-size: 10px; padding: 3px 8px; }
            .home-live-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
            .home-live-body .offer-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; line-height: 1.5; margin: 0; min-height: 51px; }
            .home-live-body .offer-teacher { margin: 0; font-size: 13px; gap: 10px; }
            .home-live-body .offer-teacher-avatar { width: 44px; height: 44px; flex-basis: 44px; }
            .home-live-badges { display: flex; flex-wrap: wrap; gap: 6px; }
            .home-live-badges span { background: #f3f6fb; border-radius: 6px; color: #475467; font-size: 11px; font-weight: 700; padding: 4px 8px; }
            .home-live-details { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 12px; }
            .home-live-details span { display: inline-flex; align-items: center; gap: 6px; }
            .home-live-details .home-live-seats { color: #087443; }
            .home-live-footer { border-top: 1px solid #eef2f6; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
            .home-live-footer .button { display: inline-flex; align-items: center; gap: 8px; }
            [dir="rtl"] .home-live-footer .button svg { transform: rotate(180deg); }
            @media (max-width: 760px) {
                .home-live { padding: 16px; border-radius: 14px; }
                .home-live .section-head { align-items: stretch; flex-direction: column; gap: 12px; }
                .home-live .section-head > .button { align-self: flex-start; }
                .home-live-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 12px; }
                .home-live-card { flex: 0 0 90%; scroll-snap-align: start; }
                .home-live-time strong { font-size: 22px; }
            }
            .hero .home-search-card { border: 1px solid #e0e7f0; border-radius: 18px; box-shadow: 0 4px 18px rgba(31, 42, 85, .05); gap: 14px; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto; padding: 20px; text-align: start; }
            .home-search-title { color: var(--ink); font-size: 20px; grid-column: 1 / -1; line-height: 1.5; margin: 0; }
            .home-search-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; position: relative; }
            .home-search-field label { color: #475467; font-size: 13px; font-weight: 800; line-height: 1.5; }
            .hero .home-search-card input:not([type="hidden"]), .hero .home-search-card select { background-color: #f8fafc; border: 1px solid #d6dfeb; border-radius: 11px; font-family: inherit; font-size: 16px; font-weight: 600; min-height: 50px; padding-inline: 12px; width: 100%; }
            .hero .home-search-card select { padding-inline-end: 38px; }
            html[dir="rtl"] .hero .home-search-card select { background-position: left 12px center; padding-inline-start: 12px; padding-inline-end: 38px; }
            html[dir="ltr"] .hero .home-search-card select { background-position: right 12px center; }
            .hero .home-search-card input::placeholder { color: #667085; font-weight: 500; }
            .hero .home-search-card input:focus, .hero .home-search-card select:focus { background-color: #fff; border-color: var(--brand); outline: 3px solid rgba(5, 111, 236, .16); outline-offset: 1px; }
            .hero .home-search-card select:disabled { color: #475467; cursor: default; opacity: 1; }
            .hero .home-search-card .button { align-self: end; border-radius: 11px; font-size: 15px; gap: 8px; margin: 0; min-height: 50px; padding: 10px 18px; }
            .home-search-query .search-suggestions { max-height: 260px; }
            @media (max-width: 960px) { .hero .home-search-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-search-query, .hero .home-search-card > .button { grid-column: 1 / -1; } }
            @media (max-width: 680px) { .hero .home-search-card { gap: 12px; margin-top: 18px; padding: 16px; } .home-search-title { font-size: 18px; } .hero .home-search-card .button { min-height: 52px; width: 100%; } }
            @media (max-width: 680px) {
                .hero.hero-spotlight { border-radius: 16px; padding: 18px 12px 12px; }
                .hero-spotlight h1 { font-size: 25px; line-height: 1.45; margin: 0; }
                .hero-spotlight .eyebrow, .hero-spotlight .hero-copy { display: none; }
                .hero .home-search-card { margin-top: 14px; }
            }
            .home-page .home-account-actions { gap: 10px; padding: 12px 0; }
            .home-page .home-account-card { padding: 12px; border: 1px solid #d9e5f3; border-radius: 16px; background: #edf4ff; box-shadow: none; }
            .home-page .home-account-card.student { background: #fff3e8; border-color: #ffdbbc; }
            .home-page .home-account-card.student .button { color: var(--ink); }
            .home-page .home-account-card.student .account-register { background: var(--orange); border-color: var(--orange); }
            .home-page .home-account-heading { flex-direction: row; gap: 6px; margin-bottom: 6px; }
            .home-page .home-account-heading h2 { font-size: 14px; color: var(--ink); }
            .home-page .home-account-icon { background: #fff; flex-basis: 28px; height: 28px; border-radius: 9px; }
            .home-page .home-account-icon svg { height: 16px; width: 16px; }
            .home-page .home-account-buttons { gap: 6px; }
            .home-page .home-account-actions .button { min-height: 44px; font-size: 12px; padding: 8px 5px; border-radius: 10px; }
            .home-page .account-login { background: #fff; border: 1px solid rgba(24, 43, 77, .08); }
            .home-return { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; padding: 16px 0; }
            .home-return strong { align-items: center; color: var(--brand); display: inline-flex; gap: 8px; }
            .home-page .hero.hero-spotlight { background: var(--ink); border: 1px solid #213c65; border-radius: 24px; padding: 24px; margin: 4px 0 16px; box-shadow: 0 12px 30px rgba(22, 41, 75, .12); }
            .home-page .hero .hero-copy { display: none; }
            .home-page .hero .eyebrow { display: inline-flex; background: transparent; border: 0; border-radius: 0; color: #b8cff0; font-size: 12px; line-height: 1.6; margin: 0 0 6px; padding: 0; }
            .home-page .hero h1 { color: #fff; font-size: 30px; font-weight: 900; line-height: 1.5; margin: 0 0 18px; }
            .home-page .hero-content { max-width: none; }
            .home-page .hero .home-search-card { background: #fff; border: 0; border-radius: 16px; box-shadow: none; margin: 0; max-width: none; padding: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .home-page .home-search-field[hidden] { display: none; }
            .home-page .home-search-query { grid-column: 1 / -1; order: 2; }
            .home-page .home-subject-field { order: 1; }
            .home-page .hero .home-search-card > .button { grid-column: 1 / -1; order: 3; }
            .home-page .section-head { align-items: center; display: flex; flex-direction: row; gap: 12px; justify-content: space-between; }
            .home-page .section-head h2 { color: var(--ink); font-size: 21px; font-weight: 900; line-height: 1.5; margin: 0; }
            .home-page .section-head > a { color: #056fec; flex: 0 0 auto; font-size: 12px; font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
            .home-teacher-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
            .home-page .compact-teacher-card { background: #fff; border: 1px solid #e0e7f1; border-radius: 18px; height: auto; padding: 16px; box-shadow: 0 4px 16px rgba(24, 43, 77, .04); min-width: 0; }
            .home-page .compact-teacher-header .teacher-avatar { border: 3px solid #f0f5fb; box-shadow: none; flex-basis: 52px; height: 52px; width: 52px; }
            .home-page .compact-teacher-header .teacher-name { font-size: 15px; }
            .home-page .compact-teacher-action { min-height: 44px; }
            .home-page .compact-teacher-meta .pill { background: #f1f5fa; border: 0; border-radius: 7px; color: #52617b; font-size: 11px; font-weight: 700; }
            .home-page .compact-teacher-rating { color: #6b7280; font-size: 12px; }
            .home-page .compact-teacher-rating strong { color: #9b4e00; }
            .home-page .compact-teacher-rating .rating-star { color: var(--orange); }
            .home-page .home-live { padding: 0; border: 0; background: none; }
            .home-page .home-live .section-head p { display: none; }
            .home-page .home-live .section-head > .button { border: 0; background: none; padding: 0; color: var(--brand); box-shadow: none; }
            .home-page .home-live-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 12px; }
            .home-page .home-live-time { background: #edf4ff; border: 0; padding: 12px 16px; }
            .home-page .home-live-time strong { font-size: 18px; }
            .home-page .home-live-body { padding: 14px; gap: 10px; }
            .home-page .offer-teacher { margin: 0; }
            .home-page .offer-teacher-avatar { flex-basis: 32px; height: 32px; width: 32px; }
            .home-page .home-live-body .offer-title { min-height: 0; }
            .home-page .home-live-footer .offer-price { font-size: 18px; }
            .footer-menu summary { cursor: pointer; min-height: 44px; }
            .footer-menu .footer-links { padding-block: 8px; }
            .site-footer .footer-brand .brand { display: none; }
            .site-footer .footer-inner { gap: 18px; padding-block: 20px; }
            @media (max-width: 760px) {
                .home-page .hero h1 { font-size: 24px; text-align: start; margin-bottom: 14px; }
                .home-page .hero.hero-spotlight { border-radius: 20px; padding: 16px 12px 12px; }
                .home-page .hero .home-search-card { gap: 10px; padding: 14px; border-radius: 14px; }
                .home-page .home-teacher-grid { grid-template-columns: 1fr; gap: 10px; }
                .home-page .compact-teacher-card { display: grid; gap: 10px; grid-template-columns: 1fr auto; }
                .home-page .compact-teacher-header, .home-page .compact-teacher-meta { grid-column: 1 / -1; }
                .home-page .compact-teacher-rating { margin: 0; }
                .home-page .compact-teacher-action { background: #edf4ff; border: 0; border-radius: 9px; color: #056fec; gap: 8px; padding: 6px 10px; margin: 0; min-height: 40px; }
                .home-page .compact-teacher-availability { display: none; }
                .home-page .home-live-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; gap: 12px; padding: 2px 2px 12px; scrollbar-width: thin; scrollbar-color: #b8cff0 transparent; }
                .home-page .home-live-card { min-width: 0; scroll-snap-align: start; }
                .site-footer .footer-inner { grid-template-columns: 1fr; }
                .site-footer .footer-brand { display: none; }
                .site-footer .footer-links { gap: 8px; }
                .site-footer .footer-links a { min-height: 40px; }
            }
            .home-page .home-teacher-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 2px 16px; scrollbar-width: thin; scrollbar-color: #b8cff0 transparent; }
            .home-page .home-teacher-grid > .empty { grid-column: 1 / -1; }
            .home-page .compact-teacher-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; scroll-snap-align: start; padding: 18px 12px 12px; }
            .home-page .compact-teacher-header { flex-direction: column; gap: 10px; width: 100%; }
            .home-page .compact-teacher-header .teacher-avatar { width: 88px; height: 88px; flex-basis: 88px; border-radius: 50%; object-fit: cover; border: 4px solid #edf4ff; }
            .home-page .compact-teacher-header .teacher-name { min-height: 45px; font-size: 15px; }
            .home-page .compact-teacher-meta, .home-page .compact-teacher-rating { justify-content: center; }
            .home-page .compact-teacher-meta { min-height: 56px; align-content: start; }
            .home-page .compact-teacher-availability { display: none; }
            .home-page .compact-teacher-action { background: #edf4ff; border: 0; border-radius: 10px; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: auto; padding: 8px; }
            .home-page .home-teacher-grid:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 18px; }
            @media (max-width: 760px) {
                .home-page .home-teacher-grid { grid-template-columns: none; grid-auto-columns: minmax(280px, 82%); gap: 10px; }
                .home-page .home-recommendations .section-head h2 { font-size: 18px; }
                .home-page .home-recommendations .section-head { gap: 8px; }
                .home-page .compact-teacher-header .teacher-avatar { width: 76px; height: 76px; flex-basis: 76px; }
            }
            .teacher-directory .catalog-heading { color: var(--ink); font-size: 28px; }
            .teacher-directory .section-head p { max-width: 560px; line-height: 1.8; }
            .teacher-directory .filters { background: #fff; border: 1px solid #e0e7f1; border-radius: 18px; padding: 16px; gap: 12px; margin-bottom: 20px; }
            .teacher-directory .filters input, .teacher-directory .filters select { min-height: 48px; border-radius: 10px; background: #f7f9fc; }
            .teacher-directory .teacher-card { border-radius: 18px; box-shadow: 0 4px 16px rgba(24,43,77,.04); }
            .teacher-directory .teacher-cover, .teacher-directory .teacher-user, .teacher-directory .teacher-metrics, .teacher-directory .teacher-rating .stars { display: none; }
            .teacher-directory .teacher-profile { margin-top: 0; align-items: center; gap: 10px; }
            .teacher-directory .teacher-avatar { width: 76px; height: 76px; border: 3px solid #edf4ff; border-radius: 50%; }
            .teacher-directory .rating-badge { position: static; color: #854300; background: #fff3e9; box-shadow: none; font-size: 12px; }
            .teacher-directory .teacher-action { min-height: 48px; border-radius: 10px; }
            .teacher-directory .teacher-grid > .empty { grid-column: 1 / -1; }
            @media (max-width: 680px) {
                .teacher-directory .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
                .teacher-directory .filters label { min-width: 0; }
                .teacher-directory .filters label:first-child, .teacher-directory .filters label:nth-child(4) { grid-column: 1 / -1; }
                .teacher-directory .filters input, .teacher-directory .filters select { font-size: 16px; width: 100%; min-width: 0; }
                .teacher-directory .filters .button { min-height: 48px; width: 100%; }
                .teacher-directory .filters button[type="submit"] { grid-column: 1 / -1; }
                .teacher-directory .directory-reset { grid-column: 1 / -1; background: transparent; border: 0; color: var(--brand); }
                .teacher-directory .teacher-grid { gap: 12px; }
                .teacher-directory .teacher-card .card-pad { padding: 16px; }
            }
            .teacher-directory .teacher-card .card-pad { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 12px; min-height: 0; flex: none; align-content: start; padding: 14px; }
            .teacher-directory .teacher-card::before { height: 3px; background: var(--brand); }
            .teacher-directory .teacher-profile { display: contents; }
            .teacher-directory .teacher-avatar { grid-column: 1; grid-row: 1 / span 2; width: 64px; height: 64px; margin: 0; }
            .teacher-directory .teacher-identity { grid-column: 2; grid-row: 1; min-height: 0; margin: 0; align-self: end; }
            .teacher-directory .teacher-name { line-height: 1.5; }
            .teacher-directory .rating-badge { grid-column: 2; grid-row: 2; justify-self: start; align-self: start; padding: 4px 8px; }
            .teacher-directory .teacher-tags { grid-column: 1 / -1; min-height: 0; margin: 4px 0 0; padding: 10px; gap: 8px; }
            .teacher-directory .teacher-tags .pill-row { max-height: none; flex-wrap: wrap; }
            .teacher-directory .teacher-rating { grid-column: 1 / -1; margin: 0; min-height: 0; padding: 0; background: none; border: 0; }
            .teacher-directory .teacher-rating .meta { color: var(--muted); font-size: 11px; }
            .teacher-directory .teacher-action { grid-column: 1 / -1; margin: 0; }
            .teacher-directory .filters .directory-reset { min-height: 44px; padding: 6px 10px; margin: 0; }
            .teacher-hero { border-radius: 20px; border: 1px solid #e0e7f1; box-shadow: 0 4px 16px rgba(31,42,85,.04); }
            .teacher-hero-body { align-items: start; padding-top: 16px; }
            .teacher-hero-body:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
            .teacher-hero .teacher-main { margin-top: 0; gap: 14px; align-items: center; }
            .teacher-hero .teacher-main > div { padding-top: 0; }
            .teacher-hero .teacher-main h1 { font-size: 28px; line-height: 1.4; }
            .teacher-hero .teacher-main .teacher-avatar { border: 4px solid #edf4ff; border-radius: 50%; width: 80px; height: 80px; flex: 0 0 80px; margin: 0; }
            .teacher-hero .teacher-summary { font-size: 14px; line-height: 1.8; margin-block: 12px; }
            .teacher-hero .profile-browse-lessons { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; border-radius: 12px; }
            .profile-browse-lessons svg { width: 18px; height: 18px; }
            #teacher-courses { scroll-margin-top: 90px; }
            #teacher-courses .teacher-catalog-controls { background: #fff; border: 1px solid #e0e7f1; border-radius: 16px; padding: 14px; gap: 16px; }
            #teacher-courses .teacher-grade-option, #teacher-courses .teacher-type-tab { min-height: 44px; border-radius: 10px; }
            #teacher-courses .teacher-grade-option[aria-pressed="true"], #teacher-courses .teacher-type-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
            .teacher-hero .teacher-intro-panel { border-radius: 14px; }
            @media (max-width: 680px) {
                .teacher-hero-cover { height: 120px; }
                .teacher-hero-body { gap: 14px; padding: 14px; }
                .teacher-hero .teacher-main h1 { font-size: 21px; }
                .teacher-hero .teacher-main .teacher-avatar { width: 68px; height: 68px; flex-basis: 68px; }
                .teacher-hero .teacher-main .pill-row { gap: 4px; }
                .teacher-hero .teacher-main .meta { font-size: 11px; }
                .teacher-hero .teacher-main .stars { font-size: 13px; }
                .teacher-hero .profile-browse-lessons { width: 100%; }
                .teacher-hero .teacher-stats-strip { display: none; }
                #teacher-courses .section-head h2 { font-size: 21px; }
                #teacher-courses .teacher-type-tabs { gap: 8px; padding-bottom: 4px; }
                #teacher-courses .teacher-type-tab { flex: 0 0 auto; font-size: 12px; padding: 10px; }
                #teacher-courses .teacher-grade-option { font-size: 12px; }
            }
            .teacher-directory .teacher-card .card-pad { flex: 1; grid-template-rows: auto auto 1fr auto auto; }
            .teacher-directory .teacher-tags { align-content: start; }
            @media (min-width: 681px) {
                .teacher-directory .filters { display: grid; grid-template-columns: minmax(180px, 1.3fr) repeat(3, minmax(120px, 1fr)) auto auto; align-items: end; }
                .teacher-directory .filters label { min-width: 0; }
                .teacher-directory .filters input, .teacher-directory .filters select { width: 100%; min-width: 0; }
                .teacher-directory .filters .button { min-height: 48px; white-space: nowrap; }
                .teacher-directory .filters .directory-reset { background: #edf4ff; border: 0; color: var(--brand); padding: 10px 12px; }
            }
            @media (min-width: 681px) and (max-width: 1100px) {
                .teacher-directory .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
                .teacher-directory .filters .button { width: 100%; }
                .teacher-directory .teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            }
            .groups-directory .course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
            .groups-directory .group-offer-card { display: flex; flex-direction: column; gap: 12px; border-radius: 18px; padding: 16px; min-width: 0; box-shadow: 0 4px 16px rgba(31,42,85,.04); }
            .groups-directory .offer-card-head { gap: 8px; padding: 0; border: 0; flex-direction: column; align-items: start; }
            .groups-directory .offer-card-head > div { min-width: 0; width: 100%; }
            .groups-directory .offer-title { font-size: 18px; line-height: 1.5; margin-block: 8px; }
            .groups-directory .offer-teacher { margin-block: 8px; }
            .groups-directory .offer-subtitle { line-height: 1.7; }
            .groups-directory .offer-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
            .groups-directory .offer-meta { min-width: 0; border-radius: 10px; padding: 9px; }
            .groups-directory .offer-meta:nth-child(2), .groups-directory .offer-meta:nth-child(3) { display: none; }
            .groups-directory .offer-meta strong { font-size: 12px; line-height: 1.6; }
            .groups-directory .offer-meta-label { font-size: 11px; }
            .groups-directory .offer-actions { display: flex; flex-direction: column; margin-top: auto; gap: 10px; padding-top: 12px; }
            .groups-directory .offer-price { font-size: 21px; }
            .groups-directory .offer-actions .button { min-height: 48px; width: 100%; border-radius: 10px; }
            .groups-directory .course-grid > .empty { grid-column: 1 / -1; }
            @media (max-width: 1100px) { .groups-directory .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
            @media (max-width: 680px) { .groups-directory .course-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .groups-directory .group-offer-card { padding: 14px; } }
            .live-directory .course-grid, .recorded-directory .course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
            .live-directory .course-grid > .empty, .recorded-directory .course-grid > .empty { grid-column: 1 / -1; }
            .groups-directory .group-offer-card .offer-card-head { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; }
            .groups-directory .group-offer-card .offer-card-head.has-teacher { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
            .groups-directory .group-card-teacher .offer-teacher { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0; gap: 8px; }
            .groups-directory .group-card-teacher .offer-teacher-avatar { width: 52px; height: 52px; flex-basis: 52px; }
            .groups-directory .group-card-teacher .offer-teacher span { min-width: 0; overflow-wrap: anywhere; }
            .groups-directory .group-seat-badge { grid-column: 1 / -1; justify-self: start; }
            @media (max-width: 680px) {
                .groups-directory .group-offer-card .offer-card-head.has-teacher { grid-template-columns: minmax(0, 1fr); }
                .groups-directory .group-card-teacher .offer-teacher { flex-direction: row; text-align: start; }
                .groups-directory .group-card-teacher .offer-teacher-avatar { width: 38px; height: 38px; flex-basis: 38px; }
            }
            .live-directory .offer-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; border-radius: 18px; padding: 16px; box-shadow: 0 4px 16px rgba(31,42,85,.04); }
            .live-directory .offer-card-head { display: block; }
            .live-directory .offer-card-head > .rating-badge { display: none; }
            .live-directory .offer-title { font-size: 18px; line-height: 1.5; margin-block: 8px; }
            .live-directory .offer-teacher { display: flex; align-items: center; gap: 8px; margin-block: 10px; }
            .live-directory .offer-teacher-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
            .live-directory .offer-subtitle { line-height: 1.7; }
            .live-directory .offer-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
            .live-directory .offer-meta { min-width: 0; border-radius: 10px; padding: 10px; background: #f7f9fc; }
            .live-directory .offer-meta:first-child { grid-column: 1 / -1; background: #edf4ff; }
            .live-directory .offer-meta:nth-child(3) { display: none; }
            .live-directory .offer-meta strong { font-size: 13px; line-height: 1.6; }
            .live-directory .offer-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid #edf2f7; padding-top: 12px; }
            .live-directory .offer-actions .button { min-height: 48px; border-radius: 10px; }
            .live-directory .offer-price { font-size: 21px; }
            .recorded-directory .catalog-course-card { border-radius: 18px; box-shadow: 0 4px 16px rgba(31,42,85,.04); }
            .recorded-directory .course-image-shell { height: 160px; }
            .recorded-directory .course-image { height: 100%; object-fit: cover; }
            .recorded-directory .course-card-body { gap: 10px; padding: 14px; }
            .recorded-directory .course-title { font-size: 18px; line-height: 1.5; min-height: 0; }
            .recorded-directory .course-card-footer { align-items: center; gap: 10px; }
            .recorded-directory .course-card-footer .button { min-height: 48px; border-radius: 10px; }
            @media (max-width: 1100px) { .live-directory .course-grid, .recorded-directory .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
            @media (max-width: 680px) {
                .live-directory .course-grid, .recorded-directory .course-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
                .live-directory .offer-card { padding: 14px; }
                .recorded-directory .course-image-shell { height: 150px; }
                .recorded-directory .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            }
            .home-page .home-return { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 12px; padding: 10px 12px; margin-block: 12px; background: #fff; min-height: 68px; }
            .home-return-person { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
            .home-return-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #edf4ff; color: var(--brand); }
            .home-return-avatar svg { width: 21px; height: 21px; }
            .home-return-identity { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
            .home-return-identity > span { color: var(--muted); font-size: 11px; }
            .home-return-identity bdi { color: var(--ink); font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
            .home-page .home-return > strong { flex: 0 0 auto; font-size: 12px; gap: 6px; min-height: 44px; }
            .home-return > strong svg { width: 16px; height: 16px; }
            html[dir="ltr"] .home-return > strong svg { transform: rotate(180deg); }
            @media (max-width: 360px) { .home-return-avatar { display: none; } .home-page .home-return { gap: 8px; } }
            .mobile-nav-panel .mobile-dashboard-shortcut { display: flex; align-items: center; gap: 10px; padding: 12px; background: #edf4ff; border: 1px solid #d4e3f8; border-radius: 12px; min-height: 64px; color: #1f2a55; }
            .mobile-dashboard-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
            .mobile-dashboard-copy bdi { font-size: 12px; overflow-wrap: anywhere; color: #526078; }
            .mobile-dashboard-copy strong { font-size: 14px; color: #056fec; }
            .mobile-dashboard-shortcut > svg { width: 18px; height: 18px; color: #056fec; flex: 0 0 18px; }
            html[dir="ltr"] .mobile-dashboard-shortcut > svg { transform: rotate(180deg); }
            .footer-menu summary::after { content: "+"; float: inline-end; color: var(--brand); }
            .footer-menu[open] summary::after { content: "−"; }
            .site-footer { padding-block: 16px; }
            .site-footer .footer-inner { align-items: start; padding-block: 0; }
            .site-footer .footer-inner > div:last-child .footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
            .site-footer .footer-links .icon-label { display: inline-flex; min-height: 40px; }
            .site-footer .footer-bottom { margin-top: 12px; padding-top: 12px; }
            .home-teacher-grid > .empty { grid-column: 1 / -1; padding: 20px; }
            .home-site { background: #f7f9fc; }
            .home-page .home-search-field label { color: #52617b; font-size: 12px; font-weight: 800; }
            .home-page .hero .home-search-card input:not([type="hidden"]), .home-page .hero .home-search-card select { background-color: #f4f7fb; border-color: #e0e7f1; border-radius: 10px; font-weight: 500; }
            .home-page .hero .home-search-card .button { background: #056fec; border: 0; border-radius: 11px; box-shadow: 0 4px 10px rgba(5, 111, 236, .18); font-weight: 900; }
            .home-page .home-search-query label { font-weight: 600; }
            .home-page .home-live-card { border-radius: 18px; box-shadow: 0 4px 16px rgba(24, 43, 77, .04); }
            .home-page .home-live-footer .button { border-radius: 10px; min-height: 44px; }
            .home-return { background: #edf4ff; border: 1px solid #d9e5f3; border-radius: 14px; margin: 12px 0; padding: 14px; }
            @media (min-width: 961px) {
                .home-page .hero-content { display: grid; align-items: center; column-gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); text-align: start; }
                .home-page .hero .eyebrow { align-self: end; grid-column: 1; }
                .home-page .hero h1 { align-self: start; font-size: 38px; grid-column: 1; grid-row: 2; }
                .home-page .hero .home-search-card { grid-column: 2; grid-row: 1 / 3; }
                .home-page .home-account-actions { padding-block: 18px; }
            }
            .home-hero-intro { grid-column: 1; grid-row: 1 / 3; }
            .home-hero-heading { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
            .home-hero-heading > div { flex: 1; min-width: 0; }
            .home-learning-art { display: block; flex: 0 0 144px; height: auto; max-width: 34%; width: 144px; }
            .home-mentor-preview { align-items: center; border-top: 1px solid rgba(255, 255, 255, .15); color: #dbe8ff; display: inline-flex; font-size: 12px; gap: 10px; margin-top: 16px; min-height: 44px; padding-top: 12px; }
            .home-mentor-avatars { display: inline-flex; padding-inline-start: 6px; }
            .home-mentor-avatars img { background: #eaf3ff; border: 2px solid var(--ink); border-radius: 50%; height: 32px; margin-inline-start: -6px; object-fit: cover; width: 32px; }
            .home-mentor-preview > svg { color: var(--orange); }
            [dir="ltr"] .home-mentor-preview > svg { transform: rotate(180deg); }
            .home-page .home-search-field label { align-items: center; display: flex; gap: 6px; }
            .home-page .home-search-field label svg { color: var(--brand); height: 15px; width: 15px; }
            .home-page .section-head h2 { align-items: center; display: inline-flex; gap: 8px; }
            .home-section-mark { align-items: center; background: #eaf3ff; border-radius: 10px; color: var(--brand); display: inline-flex; flex: 0 0 32px; height: 32px; justify-content: center; }
            .home-section-mark svg { height: 18px; width: 18px; }
            @media (max-width: 960px) {
                .home-page .hero .eyebrow { display: none; }
                .home-page .hero h1 { margin-bottom: 0; }
                .home-learning-art { flex-basis: 72px; width: 72px; }
                .home-mentor-preview { border: 0; font-size: 11px; margin-top: 4px; min-height: 36px; padding-top: 0; }
                .home-mentor-avatars img { height: 26px; width: 26px; }
                .home-page .hero .home-search-card { margin-top: 10px; }
            }
            .home-clear-filters { align-self: start; background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; font-size: 12px; grid-column: 1 / -1; justify-self: center; min-height: 44px; order: 4; padding: 8px; text-decoration: underline; }
            .home-page [hidden] { display: none !important; }
            .home-discovery-feedback { align-items: center; background: #edf4ff; border: 1px solid #cfe0f7; border-radius: 12px; color: var(--ink); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-block: 12px; padding: 12px; }
            .home-discovery-feedback p { flex: 1 1 200px; font-size: 13px; line-height: 1.7; margin: 0; }
            .home-discovery-feedback[data-state="loading"] p::before { animation: spin .8s linear infinite; border: 2px solid #c7dafa; border-top-color: var(--brand); border-radius: 50%; content: ""; display: inline-block; height: 14px; margin-inline-end: 8px; vertical-align: middle; width: 14px; }
            .home-discovery-feedback[data-state="error"] { background: #fff3e8; border-color: #ffd5b3; }
            .home-discovery-feedback .button, .home-teacher-grid .empty .button { min-height: 44px; padding: 8px 14px; }
            .home-page .home-search-card select { text-overflow: ellipsis; }
            .home-site .nav, .home-return > span, .home-return > strong { min-width: 0; overflow-wrap: anywhere; }
            .home-return strong { min-height: 44px; }
            @media (prefers-reduced-motion: reduce) { .home-discovery-feedback[data-state="loading"] p::before { animation: none; } }
            @media (max-width: 390px) {
                .home-site .mobile-nav-panel { max-width: 100vw; }
                .home-page .section-head h2 { font-size: 18px; }
                .home-page .hero h1 { font-size: 21px; }
                .home-learning-art { flex-basis: 56px; width: 56px; }
                .home-page .hero .home-search-card { padding: 10px; }
                .home-page .hero .home-search-card select { font-size: 16px; padding-inline-end: 30px; }
                html[dir="rtl"] .home-page .hero .home-search-card select { background-position: left 8px center; padding-inline: 8px 30px; }
                .home-return { align-items: stretch; flex-direction: column; }
            }
            .live-offer-card .offer-card-head.has-teacher { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: start; gap: 12px; }
            .live-offer-card .live-card-summary, .live-offer-card .live-card-teacher { min-width: 0; }
            .live-offer-card .live-card-teacher .offer-teacher { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
            .live-offer-card .offer-teacher-avatar { flex-shrink: 0; }
            .live-offer-card .offer-card-head > .rating-badge { grid-column: 1 / -1; justify-self: start; }
            @media (max-width: 680px) {
                .live-offer-card .offer-card-head.has-teacher { grid-template-columns: minmax(0, 1fr); }
                .live-offer-card .live-card-teacher .offer-teacher { flex-direction: row; width: 100%; text-align: start; }
                .live-offer-card .live-card-teacher .offer-teacher > span { flex: 1; min-width: 0; overflow-wrap: break-word; word-break: normal; }
            }
            .live-directory .offer-card-head.has-teacher { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: start; gap: 12px; }
            .live-directory .live-card-summary { min-width: 0; }
            .live-directory .live-card-teacher .offer-teacher { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin: 0; }
            .live-directory .live-card-teacher .offer-teacher-avatar { width: 52px; height: 52px; flex-basis: 52px; }
            .live-directory .live-card-teacher span { overflow-wrap: anywhere; font-size: 12px; line-height: 1.6; }
            .live-directory .live-card-summary .offer-title { font-size: 17px; line-height: 1.55; margin-block: 10px; }
            .live-directory .live-card-summary .offer-subtitle { font-size: 12px; line-height: 1.7; }
            @media (min-width: 681px) {
                .live-directory .offer-card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 12px; }
                .live-directory .offer-actions { margin-top: 0; align-self: end; }
            }
            @media (max-width: 680px) {
                .live-directory .offer-card-head.has-teacher { grid-template-columns: minmax(0, 1fr); }
                .live-directory .live-card-teacher .offer-teacher { flex-direction: row; text-align: start; }
                .live-directory .live-card-teacher .offer-teacher-avatar { width: 38px; height: 38px; flex-basis: 38px; }
            }
            .teaching-stats { width: 100%; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
            .teaching-stats > div { display: flex; flex-direction: column-reverse; text-align: center; background: #f4f7fc; border-radius: 10px; padding: 10px 6px; min-width: 0; gap: 4px; }
            .teaching-stats dt { color: #526078; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
            .teaching-stats dt { display: flex; flex-direction: column; align-items: center; justify-content: start; gap: 5px; }
            .teaching-stats dt svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--brand); }
            .teaching-stats dt span { word-break: normal; overflow-wrap: normal; }
            .home-page .teaching-stats > div { display: grid; grid-template-rows: auto 5em; align-content: start; }
            .home-page .teaching-stats dd { grid-row: 1; }
            .home-page .teaching-stats dt { grid-row: 2; }
            .teaching-stats dd { color: #1f2a55; font-size: 18px; font-weight: 900; margin: 0; font-variant-numeric: tabular-nums; }
            .teacher-directory .teaching-stats { margin: 8px 0; }
            .teacher-directory .teaching-stats > div { display: grid; grid-template-rows: auto minmax(54px, auto); align-content: start; gap: 4px; padding: 8px 6px; }
            .teacher-directory .teaching-stats dd { grid-row: 1; line-height: 1.4; }
            .teacher-directory .teaching-stats dt { grid-row: 2; line-height: 1.5; }
