@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');

:root {
    --tx2-ink: #14201b;
    --tx2-ink-soft: #34443d;
    --tx2-muted: #69766f;
    --tx2-canvas: #eef3f0;
    --tx2-paper: #fbfaf7;
    --tx2-white: #fff;
    --tx2-pine: #07523d;
    --tx2-pine-dark: #033c2c;
    --tx2-mint: #d9f3e7;
    --tx2-acid: #e0ff91;
    --tx2-lilac: #dcd5ff;
    --tx2-sky: #c6e5ff;
    --tx2-peach: #ffd0b5;
    --tx2-line: rgba(20, 32, 27, .13);
    --tx2-line-strong: rgba(20, 32, 27, .23);
    --tx2-danger: #b42318;
    --tx2-warning: #9a5b00;
    --tx2-success: #087443;
    --tx2-radius-sm: 10px;
    --tx2-radius-md: 18px;
    --tx2-radius-lg: 30px;
    --tx2-shadow: 0 1px 2px rgba(10, 35, 26, .04), 0 18px 50px rgba(10, 35, 26, .08);
    --tx2-shadow-raised: 0 36px 90px rgba(7, 40, 29, .16);
    --tx2-content: 1380px;
    --tx2-ease: cubic-bezier(.22, 1, .36, 1);
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html:has(body.tx-rebuilt) {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

body.tx-rebuilt {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    align-items: initial !important;
    justify-content: initial !important;
    color: var(--tx2-ink);
    background: var(--tx2-canvas);
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    letter-spacing: -.012em;
}

body.tx-rebuilt::before,
body.tx-rebuilt::after { display: none !important; }

body.tx-rebuilt *,
body.tx-rebuilt *::before,
body.tx-rebuilt *::after { box-sizing: border-box; }

body.tx-rebuilt ::selection { color: var(--tx2-pine-dark); background: var(--tx2-acid); }

.tx-skip-link {
    position: fixed;
    z-index: 100000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: var(--tx2-pine-dark);
    transform: translateY(-150%);
}

.tx-skip-link:focus { transform: none; }

.tx-rebuilt-frame,
.tx-rebuilt-content { min-width: 0; width: 100%; }

.tx-rebuilt-frame { position: relative; min-height: 100vh; isolation: isolate; }
.tx-rebuilt-content { position: relative; z-index: 2; }

.tx-rebuilt-ambient {
    position: fixed;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.tx-rebuilt-ambient i {
    position: absolute;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    filter: blur(1px);
    opacity: .62;
}

.tx-rebuilt-ambient i:nth-child(1) { top: -19rem; right: -10rem; background: var(--tx2-lilac); }
.tx-rebuilt-ambient i:nth-child(2) { top: 34%; left: -24rem; background: var(--tx2-mint); }
.tx-rebuilt-ambient i:nth-child(3) { right: 12%; bottom: -28rem; background: var(--tx2-sky); }

body.tx-rebuilt :where(h1, h2) {
    color: var(--tx2-ink);
    font-family: "Newsreader", Georgia, serif;
    font-weight: 600;
    letter-spacing: -.045em;
    text-wrap: balance;
}

body.tx-rebuilt :where(h3, h4, h5, h6) { color: var(--tx2-ink); letter-spacing: -.027em; text-wrap: balance; }
body.tx-rebuilt :where(p, li, label, input, select, textarea, button) { line-height: 1.55; }
body.tx-rebuilt :where(p, li) { text-wrap: pretty; }
body.tx-rebuilt :where(a) { text-underline-offset: .2em; text-decoration-thickness: 1px; }

body.tx-rebuilt :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid rgba(7, 82, 61, .3) !important;
    outline-offset: 3px;
}

body.tx-rebuilt :where(input, select, textarea) {
    max-width: 100%;
    border: 1px solid var(--tx2-line-strong);
    border-radius: var(--tx2-radius-sm);
    background: rgba(255, 255, 255, .95);
    color: var(--tx2-ink);
    font-family: inherit;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.tx-rebuilt :where(input, select, textarea):focus {
    border-color: var(--tx2-pine) !important;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(7, 82, 61, .1) !important;
}

body.tx-rebuilt :where(input, select, textarea)::placeholder { color: #87918c; }

body.tx-rebuilt :where(.btn, button[class*="btn"], a[class*="btn"], input[type="submit"]) {
    font-family: inherit;
    font-weight: 750;
    letter-spacing: -.01em;
}

body.tx-rebuilt:not(.tx-exam):not(.tx-classroom) :where(.btn, button[class*="btn"], a[class*="btn"], input[type="submit"]) {
    border-radius: 999px;
    transition: transform .2s var(--tx2-ease), box-shadow .2s ease, background-color .2s ease;
}

body.tx-rebuilt:not(.tx-exam):not(.tx-classroom) :where(.btn, button[class*="btn"], a[class*="btn"], input[type="submit"]):not(:disabled):hover {
    transform: translateY(-2px);
}

body.tx-rebuilt :where(.btn-primary, .primary-btn, .submit-btn, .login-btn, .register-btn, input[type="submit"]) {
    border-color: var(--tx2-pine) !important;
    background: var(--tx2-pine) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(7, 82, 61, .2);
}

body.tx-rebuilt :where(.card, [class$="-card"], [class*="-card "], .panel, .form-container) {
    border-color: var(--tx2-line);
    border-radius: var(--tx2-radius-md);
    box-shadow: var(--tx2-shadow);
}

body.tx-rebuilt :where(.alert, .message, .error, .success, .warning) { border-radius: var(--tx2-radius-sm); }

body.tx-rebuilt :where(.badge, [class*="badge"], [class*="status"]) {
    border-radius: 999px;
    font-weight: 750;
}

.tx-table-scroll { width: 100%; overflow-x: auto; border-radius: var(--tx2-radius-md); -webkit-overflow-scrolling: touch; }
body.tx-rebuilt :where(table) { width: 100%; border-collapse: separate; border-spacing: 0; background: rgba(255,255,255,.94); }
body.tx-rebuilt :where(th) { background: #e7eeea; color: #4e5c55; font-size: .73rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
body.tx-rebuilt :where(th, td) { border-color: rgba(20, 32, 27, .09); }
body.tx-rebuilt :where(tbody tr) { transition: background-color .18s ease; }
body.tx-rebuilt :where(tbody tr):hover { background: rgba(217, 243, 231, .38); }

/* New split-page structure for authentication and payment */
body.tx-auth,
body.tx-payment { background: var(--tx2-paper) !important; }

body.tx-auth .tx-rebuilt-frame,
body.tx-payment .tx-rebuilt-frame {
    display: grid;
    grid-template-columns: minmax(330px, .85fr) minmax(480px, 1.15fr);
}

.tx-rebuilt-story {
    position: sticky;
    top: 0;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(32px, 5vw, 76px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 86% 7%, rgba(224,255,145,.52), transparent 18rem),
        radial-gradient(circle at 2% 92%, rgba(220,213,255,.28), transparent 24rem),
        var(--tx2-pine-dark);
}

.tx-rebuilt-story::after {
    content: "";
    position: absolute;
    right: -7rem;
    bottom: 15%;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 48% 52% 68% 32%;
    transform: rotate(22deg);
}

.tx-rebuilt-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 1.08rem; font-weight: 800; text-decoration: none; }
.tx-rebuilt-brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: var(--tx2-pine-dark); background: var(--tx2-acid); font-family: "Newsreader", serif; font-size: 1.35rem; }
.tx-rebuilt-brand-mark img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0) saturate(100%) invert(20%) sepia(23%) saturate(1201%) hue-rotate(111deg) brightness(88%) contrast(103%); }
body.tx-auth .brand-logo img { object-fit: contain; filter: brightness(0) saturate(100%) invert(27%) sepia(27%) saturate(1262%) hue-rotate(112deg) brightness(88%) contrast(101%); }
.tx-rebuilt-story-copy { position: relative; z-index: 1; max-width: 590px; }
.tx-rebuilt-eyebrow { display: block; margin-bottom: 22px; color: var(--tx2-acid); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.tx-rebuilt-story h1 { margin: 0 0 24px; color: #fff !important; font-size: clamp(3.1rem, 5.3vw, 6.7rem); line-height: .92; }
.tx-rebuilt-story p { max-width: 550px; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.75; }
.tx-rebuilt-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tx-rebuilt-proof span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.82); font-size: .72rem; font-weight: 700; }
.tx-rebuilt-story-note { margin: 0 !important; font-size: .76rem !important; letter-spacing: .04em; }

body.tx-auth .tx-rebuilt-content,
body.tx-payment .tx-rebuilt-content {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: clamp(24px, 5vw, 72px);
    background:
        linear-gradient(90deg, transparent 49.9%, rgba(20,32,27,.045) 50%, transparent 50.1%),
        radial-gradient(circle at 92% 4%, rgba(220,213,255,.58), transparent 27rem),
        var(--tx2-paper);
}

body.tx-auth .tx-rebuilt-content > :where(.container, .card, .auth-card, .login-container, .register-container, .reset-container, .form-container),
body.tx-payment .tx-rebuilt-content > :where(.container, .wrap, .card, main) {
    width: min(100%, 720px);
    margin-inline: auto;
}

body.tx-auth :where(.container, .card, .auth-card, .login-container, .register-container, .reset-container, .form-container) {
    border: 1px solid var(--tx2-line) !important;
    border-radius: var(--tx2-radius-lg) !important;
    background: rgba(255,255,255,.9) !important;
    box-shadow: var(--tx2-shadow-raised) !important;
    backdrop-filter: blur(18px);
}

body.tx-auth :where(h1, h2, .form-title) { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: .96; }

/* Compact, product-style authentication panels. The source pages contain
   generous legacy spacing; these rules keep the complete flow visible on a
   typical laptop while preserving comfortable touch targets. */
body.tx-auth .tx-rebuilt-frame {
    grid-template-columns: minmax(300px, .78fr) minmax(420px, 1fr);
    min-height: calc(100svh - 76px);
}

body.tx-auth .tx-rebuilt-story {
    min-height: calc(100svh - 76px);
    padding: clamp(28px, 4vw, 58px);
}
body.tx-auth .tx-rebuilt-story h1 { font-size: clamp(2.65rem, 4.5vw, 5.25rem); }

body.tx-auth .tx-rebuilt-content {
    align-items: center;
    min-height: calc(100svh - 76px);
    padding: clamp(18px, 3vw, 42px);
}

body.tx-auth .tx-rebuilt-content > :where(.container, .card, .auth-card, .login-container, .register-container, .reset-container, .form-container) {
    width: min(100%, 460px);
    max-width: 460px !important;
    padding: clamp(22px, 3vw, 32px) !important;
    border-radius: 22px !important;
}

body.tx-auth :where(.brand-header) { margin-bottom: 1.15rem !important; }
body.tx-auth :where(.brand-logo) { margin-bottom: .35rem !important; }
body.tx-auth :where(h1, h2, .form-title) {
    margin-bottom: .3rem !important;
    font-size: clamp(1.8rem, 3vw, 2.35rem) !important;
    line-height: 1.05;
}
body.tx-auth :where(.subtitle) { margin-bottom: 1rem !important; }
body.tx-auth :where(form) { gap: .8rem !important; }
body.tx-auth :where(label) { font-size: .82rem !important; }
body.tx-auth :where(input[type="text"], input[type="email"], input[type="password"]) {
    min-height: 44px !important;
    margin-top: .3rem !important;
    padding: .68rem .85rem !important;
    border-width: 1px !important;
}
body.tx-auth :where(button, .google-btn) { min-height: 44px !important; padding: .68rem .9rem !important; }
body.tx-auth :where(.divider) { margin: .9rem 0 !important; }
body.tx-auth :where(.register-link) { margin-top: 1rem !important; }
body.tx-auth :where(.links) { margin-top: 1rem !important; padding-top: 1rem !important; }
body.tx-auth :where(.trial-info-box) { margin-bottom: 1rem !important; padding: .75rem .9rem !important; }
body.tx-auth :where(.error-list) { margin-bottom: .9rem !important; padding: .75rem .9rem !important; }

/* Teacher and student workspaces */
body.tx-dashboard {
    background:
        linear-gradient(180deg, rgba(217,243,231,.72), transparent 430px),
        var(--tx2-canvas) !important;
}

body.tx-dashboard .tx-rebuilt-content { min-height: 100vh; padding-block: clamp(10px, 2vw, 28px); }

body.tx-dashboard :where(.container, .main, .dashboard-container, .main-container) {
    width: min(var(--tx2-content), calc(100% - 40px));
    margin-inline: auto;
}

body.tx-dashboard :where(.header, .dashboard-header, .app-top-bar) {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--tx2-radius-lg);
    background:
        radial-gradient(circle at 86% 0, rgba(224,255,145,.24), transparent 24rem),
        var(--tx2-pine-dark) !important;
    color: #fff;
    box-shadow: var(--tx2-shadow);
}

body.tx-dashboard :where(.header, .dashboard-header, .app-top-bar) :where(h1,h2,h3,a) { color: inherit; }

body.tx-dashboard :where(.sidebar, .side-nav) {
    border: 1px solid rgba(255,255,255,.1);
    background: var(--tx2-ink) !important;
    color: rgba(255,255,255,.78);
}

body.tx-dashboard :where(.sidebar, .side-nav) a { color: inherit; border-radius: var(--tx2-radius-sm); }
body.tx-dashboard :where(.sidebar, .side-nav) a:hover,
body.tx-dashboard :where(.sidebar, .side-nav) a.active { color: var(--tx2-acid); background: rgba(224,255,145,.12); }

body.tx-dashboard :where(.stat-card, .metric-card, .dashboard-card, .course-card, .exam-card, .class-card, .card) {
    border: 1px solid var(--tx2-line);
    background: rgba(255,255,255,.92);
}

body.tx-dashboard :where(.stat-card, .metric-card):nth-child(4n + 1) { background: var(--tx2-mint); }
body.tx-dashboard :where(.stat-card, .metric-card):nth-child(4n + 2) { background: var(--tx2-lilac); }
body.tx-dashboard :where(.stat-card, .metric-card):nth-child(4n + 3) { background: var(--tx2-sky); }
body.tx-dashboard :where(.stat-card, .metric-card):nth-child(4n + 4) { background: var(--tx2-peach); }

/* Unified teacher/student dashboard surface */
body.tx-dashboard .tx-rebuilt-content { padding-block: 18px 34px; }
body.tx-dashboard :where(.container, .main) { width: min(1240px, calc(100% - 32px)); }
body.tx-dashboard :where(.header, .topbar) {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: radial-gradient(circle at 84% 0, rgba(224,255,145,.22), transparent 20rem), var(--tx2-pine-dark) !important;
    box-shadow: 0 16px 40px rgba(3,60,44,.13);
}
body.tx-dashboard .topbar { width: min(1240px, calc(100% - 32px)); margin: 0 auto 18px; }
body.tx-dashboard :where(.header h1, .header h2, .topbar h1, .topbar h2) { color: #fff !important; }
body.tx-dashboard :where(.stats-row, .stats) { gap: 12px; }
body.tx-dashboard :where(.stat-card, .stat) {
    min-width: 0;
    border: 1px solid var(--tx2-line) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 8px 24px rgba(10,35,26,.05) !important;
}
body.tx-dashboard :where(.stat-card, .stat):nth-child(4n + 1) { background: var(--tx2-mint) !important; }
body.tx-dashboard :where(.stat-card, .stat):nth-child(4n + 2) { background: var(--tx2-lilac) !important; }
body.tx-dashboard :where(.stat-card, .stat):nth-child(4n + 3) { background: var(--tx2-sky) !important; }
body.tx-dashboard :where(.stat-card, .stat):nth-child(4n + 4) { background: var(--tx2-peach) !important; }
body.tx-dashboard :where(.content, .main) { padding-top: 18px; }
body.tx-dashboard :where(.card, .item-card) { border-radius: 18px !important; }
body.tx-dashboard :where(.section-divider) { margin-block: 26px; }
body.tx-dashboard :where(.cards-grid) { gap: 16px; }
body.tx-dashboard :where(.join-bar) { border-radius: 18px; box-shadow: 0 12px 30px rgba(3,60,44,.12); }

/* Admin console */
body.tx-admin {
    background:
        linear-gradient(180deg, rgba(220,213,255,.62), transparent 420px),
        var(--tx2-canvas) !important;
}

body.tx-admin .tx-rebuilt-content { min-height: 100vh; padding-bottom: 48px; }
body.tx-admin :where(.dashboard-container, .wrap, .main-container) { width: min(1480px, calc(100% - 40px)); margin-inline: auto; }
body.tx-admin :where(.admin-header, .top) { border: 0; background: var(--tx2-ink) !important; color: #fff; box-shadow: none; }
body.tx-admin :where(.admin-header, .top) :where(h1,h2,h3,a) { color: inherit; }
body.tx-admin :where(.admin-menu) { position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--tx2-line); background: rgba(251,250,247,.9) !important; backdrop-filter: blur(18px); }
body.tx-admin :where(.menu-item) { border-radius: 999px; color: var(--tx2-ink-soft); }
body.tx-admin :where(.menu-item.active, .menu-item:hover) { color: #fff; background: var(--tx2-pine) !important; }
body.tx-admin :where(.stat-card, .action-card, .card, form.card) { border: 1px solid var(--tx2-line); background: rgba(255,255,255,.93); }

/* Exam and classroom views stay dense and control-safe */
body.tx-exam,
body.tx-classroom { background: #e9efec !important; }

body.tx-exam .tx-rebuilt-content,
body.tx-classroom .tx-rebuilt-content { min-height: 100vh; }

body.tx-exam :where(.exam-container, .question-card, .exam-card, .content-card, .main-card, .card),
body.tx-classroom :where(.class-container, .room-panel, .participants-panel, .chat-panel, .control-panel, .main-card, .card) {
    border: 1px solid var(--tx2-line);
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 32px rgba(10,35,26,.07);
}

body.tx-exam :where(.exam-header, .question-header),
body.tx-classroom :where(.class-header, .room-header) { background: var(--tx2-ink) !important; color: #fff; }
body.tx-exam :where(.exam-header, .question-header) :where(h1,h2,h3),
body.tx-classroom :where(.class-header, .room-header) :where(h1,h2,h3) { color: inherit; }
body.tx-exam :where(.timer, .exam-timer) { border: 1px solid rgba(180,35,24,.16); border-radius: 999px; background: #fff1ef; color: var(--tx2-danger); font-variant-numeric: tabular-nums; }

/* Live classroom is a self-contained dark product surface. These selectors
   intentionally load after the shared light-page defaults. */
body.tx-classroom.tx-live-classroom {
    overflow: hidden !important;
    color: #edf5f2;
    background: #070b0e !important;
}

body.tx-classroom .zoom-classroom {
    color: #edf5f2;
    background:
        radial-gradient(circle at 50% -18%, rgba(19, 121, 89, .18), transparent 34rem),
        linear-gradient(180deg, #0a1013 0%, #06090c 100%) !important;
}

body.tx-classroom .zoom-topbar {
    border-bottom-color: rgba(141, 234, 201, .13) !important;
    background: rgba(7, 13, 16, .92) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

body.tx-classroom .zoom-logo {
    min-width: max-content;
    padding: 4px 10px 4px 5px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 11px;
    color: #f7fbf9 !important;
    background: rgba(255, 255, 255, .045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

body.tx-classroom .zoom-logo img {
    display: block;
    padding: 4px;
    border-radius: 8px !important;
    background: linear-gradient(145deg, rgba(18, 112, 82, .72), rgba(5, 67, 49, .72));
    filter: none !important;
}

body.tx-classroom .zoom-logo span {
    color: #f7fbf9 !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.02em;
}

body.tx-classroom .class-name {
    max-width: min(42vw, 580px);
    overflow: hidden;
    color: #f4faf7 !important;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.tx-classroom .topbar-btn,
body.tx-classroom .class-timer-badge {
    border-color: rgba(255, 255, 255, .11) !important;
    color: #dce8e3 !important;
    background: rgba(255, 255, 255, .055) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

body.tx-classroom .topbar-btn:hover {
    border-color: rgba(99, 224, 178, .32) !important;
    color: #fff !important;
    background: rgba(19, 121, 89, .2) !important;
}

body.tx-classroom .zoom-video-area {
    background:
        radial-gradient(circle at 50% 45%, rgba(16, 92, 70, .11), transparent 42%),
        #05090c !important;
}

body.tx-classroom .zoom-video-tile {
    border-color: rgba(174, 211, 198, .16) !important;
    border-radius: 12px !important;
    background: linear-gradient(155deg, #0d151a, #070b0f) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

body.tx-classroom .zoom-video-tile:hover {
    border-color: rgba(69, 218, 163, .5) !important;
    box-shadow: 0 20px 52px rgba(0, 0, 0, .42), 0 0 0 1px rgba(69, 218, 163, .12) !important;
}

body.tx-classroom .zoom-video-tile.camera-off {
    background: var(--tile-accent-bg, linear-gradient(155deg, #0d151a, #070b0f)) !important;
    box-shadow: var(--tile-accent-glow, none), 0 18px 44px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

body.tx-classroom .zoom-video-tile.speaking {
    border-color: #35d39a !important;
    box-shadow: 0 0 0 3px rgba(53, 211, 154, .26), 0 20px 48px rgba(0, 0, 0, .4) !important;
}

body.tx-classroom .video-nameplate {
    border-color: rgba(113, 224, 184, .24) !important;
    color: #f6fbf9 !important;
    background: rgba(3, 11, 14, .86) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .06);
}

body.tx-classroom .participant-name,
body.tx-classroom .video-nameplate > span:not([class*="badge"]) { color: #f6fbf9 !important; }

body.tx-classroom .zoom-toolbar {
    border-top-color: rgba(141, 234, 201, .12) !important;
    background: rgba(7, 12, 15, .96) !important;
    box-shadow: 0 -16px 38px rgba(0, 0, 0, .28);
}

body.tx-classroom .toolbar-btn {
    border: 1px solid transparent;
    color: #e6efeb !important;
}

body.tx-classroom .toolbar-btn:hover {
    border-color: rgba(255, 255, 255, .08);
    color: #fff !important;
    background: rgba(255, 255, 255, .075) !important;
}

body.tx-classroom .toolbar-btn svg { color: currentColor; }
body.tx-classroom .toolbar-label { color: currentColor !important; opacity: .92 !important; font-weight: 650; }
body.tx-classroom .toolbar-btn.active { color: #ff646c !important; }
body.tx-classroom .toolbar-btn.hand-raised,
body.tx-classroom .toolbar-btn.break-pending { color: #fbbf24 !important; }
body.tx-classroom .toolbar-btn.break-active { color: #39d9a0 !important; }
body.tx-classroom .toolbar-btn.break-limit-reached { color: #89938f !important; }
body.tx-classroom .toolbar-btn-green { border-color: rgba(78, 220, 165, .24); color: #fff !important; background: #087252 !important; }
body.tx-classroom .toolbar-btn-end { border-color: rgba(255, 255, 255, .12); color: #fff !important; background: #e63e46 !important; }

body.tx-classroom .settings-overlay {
    background: rgba(1, 5, 8, .7) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.tx-classroom .zoom-settings {
    width: min(520px, calc(100vw - 28px));
    max-width: 520px;
    max-height: min(82vh, 760px);
    overflow: hidden;
    border: 1px solid rgba(145, 231, 200, .18) !important;
    border-radius: 18px !important;
    color: #e9f2ee !important;
    background:
        radial-gradient(circle at 100% 0, rgba(35, 155, 112, .13), transparent 16rem),
        linear-gradient(155deg, #182126 0%, #10171b 100%) !important;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .62), inset 0 1px 0 rgba(255, 255, 255, .055) !important;
}

body.tx-classroom .settings-header {
    padding: 18px 20px;
    border-bottom-color: rgba(255, 255, 255, .09) !important;
    background: rgba(255, 255, 255, .025);
}

body.tx-classroom .settings-header h3 {
    margin: 0;
    color: #f8fbfa !important;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.015em;
}

body.tx-classroom .settings-header h3 svg { color: #63dfae; }
body.tx-classroom .settings-header button { color: #f4f8f6 !important; }

body.tx-classroom .settings-body {
    color: #dbe7e2 !important;
    scrollbar-color: rgba(116, 202, 170, .5) transparent;
    scrollbar-width: thin;
}

body.tx-classroom .settings-body::-webkit-scrollbar { width: 7px; }
body.tx-classroom .settings-body::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(116, 202, 170, .42); }
body.tx-classroom .settings-section-title { color: #a9bbb4 !important; }

body.tx-classroom .settings-surface {
    border-color: rgba(255, 255, 255, .09) !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, .045) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

body.tx-classroom .settings-copy { color: #eef5f2 !important; font-weight: 700 !important; }
body.tx-classroom .settings-help { color: #93a59e !important; }

body.tx-classroom .more-feature-btn {
    min-height: 88px;
    border-radius: 13px !important;
    color: #e8f1ed !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

body.tx-classroom .more-feature-btn span { color: inherit; font-weight: 750; }
body.tx-classroom .more-feature-btn:hover { border-color: rgba(115, 228, 186, .3) !important; box-shadow: 0 12px 28px rgba(0, 0, 0, .24); }

body.tx-classroom .setting-group label { color: #dfeae6 !important; font-weight: 700; }
body.tx-classroom .setting-group select,
body.tx-classroom #break-max-count {
    border-color: rgba(255, 255, 255, .13) !important;
    color: #f4f8f6 !important;
    background: #0b1216 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

@media (max-width: 768px) {
    body.tx-classroom .zoom-settings { width: calc(100vw - 20px); max-height: calc(100dvh - 92px); border-radius: 16px !important; }
    body.tx-classroom .settings-header { padding: 15px 16px; }
    body.tx-classroom .settings-body { padding: 14px !important; }
    body.tx-classroom .more-feature-btn { min-height: 76px; padding: 10px 6px; }
    body.tx-classroom .zoom-video-tile { border-radius: 8px !important; }
}

@media (max-width: 480px) {
    body.tx-classroom .topbar-left .zoom-logo span { display: inline !important; }
    body.tx-classroom .topbar-center { display: none; }
    body.tx-classroom .zoom-logo { padding-right: 8px; }
    body.tx-classroom .zoom-logo img { width: 25px !important; height: 25px !important; }
    body.tx-classroom .more-feature-btn { min-height: 72px; font-size: 10px; }
}

/* Public PHP pages */
body.tx-public {
    background:
        linear-gradient(90deg, transparent 49.94%, rgba(20,32,27,.05) 50%, transparent 50.06%),
        radial-gradient(circle at 86% 4%, rgba(220,213,255,.74), transparent 31rem),
        radial-gradient(circle at 6% 42%, rgba(217,243,231,.84), transparent 34rem),
        var(--tx2-paper) !important;
}

body.tx-public .tx-rebuilt-content { min-height: 100vh; }
body.tx-public :where(.container, .wrap, .main-container, main) { width: min(1320px, calc(100% - 40px)); margin-inline: auto; }
body.tx-public :where(section) { position: relative; }
body.tx-public :where(.hero, .hero-section) h1 { font-size: clamp(3.3rem, 7vw, 7.5rem); line-height: .93; }
body.tx-public :where(.feature-card, .service-card, .pricing-card, .trust-card, .card) { border: 1px solid var(--tx2-line); background: rgba(255,255,255,.82); }
body.tx-public :where(.feature-card, .service-card, .pricing-card, .trust-card, .card):hover { box-shadow: var(--tx2-shadow-raised); }

/* Motion is opt-in after JS initializes */
body.tx-ready [data-tx2-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--tx2-ease), transform .65s var(--tx2-ease); transition-delay: var(--tx2-delay, 0ms); }
body.tx-ready [data-tx2-reveal].tx2-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
    body.tx-auth .tx-rebuilt-frame,
    body.tx-payment .tx-rebuilt-frame { grid-template-columns: 1fr; }
    .tx-rebuilt-story { position: relative; min-height: auto; padding: 28px clamp(22px,5vw,52px); }
    body.tx-auth .tx-rebuilt-story { min-height: auto; }
    .tx-rebuilt-story-copy { display: none; }
    .tx-rebuilt-story-note { display: none; }
    body.tx-auth .tx-rebuilt-content,
    body.tx-payment .tx-rebuilt-content { min-height: calc(100vh - 92px); }
}

@media (max-width: 760px) {
    :root { --tx2-radius-lg: 22px; --tx2-radius-md: 15px; }
    body.tx-rebuilt { font-size: 15px; }
    body.tx-auth .tx-rebuilt-content,
    body.tx-payment .tx-rebuilt-content { padding: 20px 14px 34px; }
    body.tx-dashboard :where(.container, .main, .dashboard-container, .main-container),
    body.tx-admin :where(.dashboard-container, .wrap, .main-container),
    body.tx-public :where(.container, .wrap, .main-container, main) { width: min(100% - 24px, var(--tx2-content)); }
    body.tx-dashboard .tx-rebuilt-content { padding-block: 8px 22px; }
    body.tx-dashboard :where(.header, .dashboard-header) { border-radius: 18px; }
    .tx-table-scroll table { min-width: 680px; }
    .tx-rebuilt-ambient i { width: 25rem; height: 25rem; opacity: .44; }
    body.tx-auth .tx-rebuilt-content > :where(.container, .card, .auth-card, .login-container, .register-container, .reset-container, .form-container) {
        padding: 20px 16px !important;
        border-radius: 18px !important;
    }
    body.tx-dashboard .tx-rebuilt-content { padding-block: 0 24px; }
    body.tx-dashboard :where(.container, .main), body.tx-dashboard .topbar { width: 100%; }
    body.tx-dashboard :where(.header, .topbar) { border-radius: 0 0 20px 20px; }
}

@media (max-height: 760px) and (min-width: 1101px) {
    body.tx-auth .tx-rebuilt-content { align-items: start; overflow-y: auto; }
    body.tx-auth .tx-rebuilt-content > :where(.container, .card, .auth-card, .login-container, .register-container, .reset-container, .form-container) { margin-block: auto; }
    body.tx-auth .tx-rebuilt-story-copy p { line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.tx-rebuilt *, body.tx-rebuilt *::before, body.tx-rebuilt *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    body.tx-ready [data-tx2-reveal] { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   Professional UI baseline
   ------------------------------------------------------------------------- */
body.tx-rebuilt {
    color: #1c2521;
    background: #f4f6f5 !important;
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}
.tx-rebuilt-ambient { display: none !important; }
body.tx-rebuilt :where(h1,h2,h3,h4,h5,h6) {
    font-family: inherit !important;
    letter-spacing: -.025em !important;
    text-wrap: pretty;
}
body.tx-rebuilt :where(input,select,textarea) {
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}
body.tx-rebuilt :where(.btn,button[class*="btn"],a[class*="btn"],input[type="submit"]) {
    border-radius: 8px !important;
    box-shadow: none !important;
}
body.tx-rebuilt:not(.tx-exam):not(.tx-classroom) :where(.btn,button[class*="btn"],a[class*="btn"],input[type="submit"]):not(:disabled):hover {
    transform: none;
}
body.tx-rebuilt :where(.card,[class$="-card"],[class*="-card "],.panel,.form-container) {
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15,35,27,.04), 0 8px 22px rgba(15,35,27,.05);
}

/* Authentication */
body.tx-auth { background: #f4f6f5 !important; }
body.tx-auth .tx-rebuilt-frame { grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr); }
body.tx-auth .tx-rebuilt-story {
    padding: clamp(36px,5vw,68px);
    background: #123d30 !important;
}
body.tx-auth .tx-rebuilt-story::after { display: none; }
body.tx-auth .tx-rebuilt-story h1 { max-width: 520px; font-size: clamp(2.45rem,4.3vw,4.4rem); line-height: 1; letter-spacing: -.04em; }
body.tx-auth .tx-rebuilt-eyebrow { margin-bottom: 18px; color: #cfe4db; letter-spacing: .1em; }
body.tx-auth .tx-rebuilt-proof span { border-radius: 6px; }
body.tx-auth .tx-rebuilt-content { background: #f4f6f5; }
body.tx-auth .tx-rebuilt-content > :where(.container,.card,.auth-card,.login-container,.register-container,.reset-container,.form-container) {
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 12px 34px rgba(15,35,27,.09) !important;
}
body.tx-auth :where(h1,h2,.form-title) { font-size: clamp(1.75rem,3vw,2.2rem) !important; line-height: 1.12; }

/* Dashboards and administration */
body.tx-dashboard,
body.tx-admin { background: #f4f6f5 !important; }
body.tx-dashboard :where(.header,.dashboard-header,.app-top-bar),
body.tx-admin :where(.admin-header,.top) {
    border-radius: 10px;
    background: #123d30 !important;
    box-shadow: none;
}
body.tx-dashboard :where(.stat-card,.metric-card,.stat),
body.tx-dashboard :where(.stat-card,.metric-card,.stat):nth-child(n),
body.tx-admin :where(.stat-card,.action-card,.card,form.card) {
    border-color: #dce3df !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15,35,27,.04) !important;
}
body.tx-dashboard :where(.sidebar,.side-nav) { background: #152b23 !important; }
body.tx-dashboard :where(.sidebar,.side-nav) a.active { color: #fff; background: rgba(255,255,255,.1); }
body.teacher-dashboard .dashboard-sidebar { background: #123d30 !important; }
body.teacher-dashboard .dashboard-sidebar::before,
body.teacher-dashboard .dashboard-sidebar::after { display: none !important; }
body.teacher-dashboard :where(.dashboard-toolbar h2,.header h1,.stat-number,.section-title) {
    font-family: Inter, Manrope, "Segoe UI", sans-serif !important;
    letter-spacing: -.025em !important;
}
body.teacher-dashboard .dashboard-toolbar h2 { font-size: clamp(2rem,3vw,2.75rem) !important; line-height: 1.08 !important; }
body.teacher-dashboard :where(.quick-action,.stat-card,.dashboard-card,.content-card) { border-radius: 9px !important; box-shadow: none !important; }
body.teacher-dashboard .quick-action:hover { transform: none; box-shadow: none; }

/* Public and feature pages */
body.tx-public { background: #fff !important; }
body.tx-public :where(.hero,.hero-section) h1 { font-size: clamp(2.75rem,5vw,4.6rem); line-height: 1.03; }
body.tx-public :where(.feature-card,.service-card,.pricing-card,.trust-card,.card) {
    border-color: #dce3df;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15,35,27,.04);
}
body.tx-public :where(.feature-card,.service-card,.pricing-card,.trust-card,.card):hover { box-shadow: 0 6px 18px rgba(15,35,27,.07); }

body.tx-feature-page { background: #fff !important; }
body.tx-feature-page .fl-hero { min-height: auto; gap: clamp(42px,6vw,76px); padding-block: 76px 92px; }
body.tx-feature-page .fl-hero h1 { max-width: 620px; font-family: Inter, Manrope, sans-serif !important; font-size: clamp(2.9rem,5.2vw,4.7rem); font-weight: 700; line-height: 1.02; letter-spacing: -.045em !important; }
body.tx-feature-page .fl-hero h1 em { color: var(--fl-green); font: inherit; font-style: normal; }
body.tx-feature-page .fl-product::before { display: none; }
body.tx-feature-page .fl-window { border-color: #ccd7d2; border-radius: 10px; box-shadow: 0 12px 34px rgba(15,35,27,.12); transform: none; }
body.tx-feature-page :where(.fl-video,.fl-question,.fl-signal,.fl-feature,.fl-path,.fl-join) { border-radius: 8px; }
body.tx-feature-page .fl-band { padding-block: 80px; background: #142820; }
body.tx-feature-page .fl-band h2,
body.tx-feature-page .fl-paths h2 { font-size: clamp(2.2rem,3.8vw,3.4rem); line-height: 1.08; }
body.tx-feature-page .fl-feature { min-height: 210px; border-color: rgba(255,255,255,.12); }
body.tx-feature-page .fl-paths { padding-block: 80px; }
body.tx-feature-page .fl-path { min-height: 230px; background: #fff; }
body.tx-feature-page .fl-path--accent { border-color: rgba(7,88,63,.35); background: #f3f8f5; }
body.tx-feature-page :where(.fl-button,.fl-nav__cta) { border-radius: 8px !important; box-shadow: none; }
body.tx-feature-page :where(.fl-button,.fl-nav__cta):hover { transform: none; }

/* Coming-soon screen */
body.cs-page { background: #fff !important; }
body.cs-page h1 { font: 700 clamp(2.8rem,5vw,4.5rem)/1.03 Inter, Manrope, sans-serif !important; letter-spacing: -.045em; }
body.cs-page :where(.cs-visual::before,.cs-orbit,.cs-float-card) { display: none; }
body.cs-page .cs-preview { border-color: #ccd7d2; border-radius: 10px; box-shadow: 0 12px 34px rgba(15,35,27,.12); transform: none; }
body.cs-page .cs-status { border-radius: 6px; background: #f5f7f6; }
body.cs-page :where(.cs-button,.cs-nav__link,.cs-step) { border-radius: 8px; box-shadow: none; }
body.cs-page :where(.cs-button,.cs-nav__link):hover { transform: none; }
body.cs-page .cs-preview__heading strong { font-family: Inter, Manrope, sans-serif; }

/* Live classroom: flat, control-focused conferencing UI. */
body.tx-classroom.tx-live-classroom { background: #080b0d !important; }
body.tx-classroom .zoom-classroom { background: #080b0d !important; }
body.tx-classroom .zoom-topbar {
    border-bottom-color: #252c29 !important;
    background: #111614 !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.tx-classroom .zoom-logo { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.tx-classroom .zoom-logo img { padding: 0; border-radius: 0 !important; background: transparent; }
body.tx-classroom .class-name { font-weight: 650; }
body.tx-classroom :where(.topbar-btn,.class-timer-badge) { border-radius: 6px; box-shadow: none; }
body.tx-classroom .zoom-video-area { background: #06090b !important; }
body.tx-classroom .zoom-video-tile {
    border-color: #28312d !important;
    border-radius: 6px !important;
    background: #0d1214 !important;
    box-shadow: none !important;
}
body.tx-classroom .zoom-video-tile.camera-off { box-shadow: none !important; }
body.tx-classroom .zoom-video-tile:hover { border-color: #3b7d64 !important; box-shadow: none !important; }
body.tx-classroom .video-nameplate { border-radius: 6px; box-shadow: none; backdrop-filter: none; }
body.tx-classroom .zoom-toolbar {
    border-top-color: #252c29 !important;
    background: #111614 !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.tx-classroom .toolbar-btn { border-radius: 6px; }
body.tx-classroom .settings-overlay { background: rgba(0,0,0,.62) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.tx-classroom .zoom-settings {
    max-width: 500px;
    border-color: #35403b !important;
    border-radius: 10px !important;
    background: #171c1a !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.45) !important;
}
body.tx-classroom .settings-header { background: #1c221f; }
body.tx-classroom .settings-surface { border-radius: 8px !important; background: #1e2522 !important; }
body.tx-classroom .more-feature-btn { min-height: 80px; border-radius: 8px !important; box-shadow: none; }
body.tx-classroom .more-feature-btn:hover { box-shadow: none; transform: none; }

/* Monitoring sidebar is a dark, self-contained data surface. Keep global
   light table/card defaults from leaking into it. */
body.tx-classroom .zoom-sidebar {
    border-left-color: #303733;
    color: #edf3f0;
    background: #151917;
    box-shadow: -8px 0 24px rgba(0,0,0,.28);
}
body.tx-classroom .zoom-sidebar .sidebar-header {
    border-bottom-color: #303733;
    background: #111513;
}
body.tx-classroom .zoom-sidebar .sidebar-tab {
    color: #bdc7c2 !important;
    font-weight: 600;
}
body.tx-classroom .zoom-sidebar .sidebar-tab.active {
    color: #fff !important;
    background: #303532 !important;
}
body.tx-classroom .zoom-sidebar .sidebar-tab:hover:not(.active) {
    color: #f3f7f5 !important;
    background: #222724 !important;
}
body.tx-classroom .zoom-sidebar .sidebar-close { color: #f5f7f6 !important; }
body.tx-classroom .zoom-sidebar .sidebar-body { color: #e3ebe7; }
body.tx-classroom .zoom-sidebar .monitor-section-title {
    color: #aeb9b4 !important;
    font-size: 11px;
    letter-spacing: .06em;
}
body.tx-classroom .zoom-sidebar .monitor-section-title svg { color: #8f9d96; }
body.tx-classroom .zoom-sidebar .session-time-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid #303733;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 7px;
    table-layout: fixed;
    color: #eaf1ed;
    background: #191e1b !important;
    box-shadow: none !important;
}
body.tx-classroom .zoom-sidebar .session-time-table th {
    padding: 9px 10px;
    border-color: #343c38 !important;
    color: #aeb9b4 !important;
    background: #222824 !important;
    font-size: 10px;
    font-weight: 750;
}
body.tx-classroom .zoom-sidebar .session-time-table td {
    padding: 9px 10px;
    border-color: #2a312d !important;
    color: #edf3f0 !important;
    background: #191e1b !important;
}
body.tx-classroom .zoom-sidebar .session-time-table tbody tr:hover,
body.tx-classroom .zoom-sidebar .session-time-table tbody tr:hover td {
    color: #fff !important;
    background: #202622 !important;
}
body.tx-classroom .zoom-sidebar .session-time-table .name-cell span { color: inherit !important; }
body.tx-classroom .zoom-sidebar .session-time-badge {
    border: 1px solid rgba(52,211,153,.2);
    border-radius: 5px;
    color: #6ee7b7 !important;
    background: rgba(52,211,153,.1) !important;
}
body.tx-classroom .zoom-sidebar .session-time-badge.offline {
    border-color: #38413d;
    color: #b5bfba !important;
    background: #252b28 !important;
}
body.tx-classroom .zoom-sidebar #monitor-alerts { padding: 0 10px 12px; }
body.tx-classroom .zoom-sidebar .alert-item {
    border-top: 1px solid #343b37;
    border-right: 1px solid #343b37;
    border-bottom: 1px solid #343b37;
    border-radius: 6px;
    color: #e7eeea;
    background: #1c211e;
    box-shadow: none;
}
body.tx-classroom .zoom-sidebar .alert-student { color: #f5f8f6 !important; }
body.tx-classroom .zoom-sidebar .alert-time { color: #9eaaa4 !important; }
body.tx-classroom .zoom-sidebar .alert-message { color: #cbd5d0 !important; line-height: 1.5; }
body.tx-classroom .zoom-sidebar .status-message { color: #aeb9b4 !important; }

/* Sidebar tabs keep a dedicated close-button column, so Notes/Q&A can scroll
   without sliding underneath the close control. */
body.tx-classroom .zoom-sidebar .sidebar-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) 34px;
    gap: 8px;
}
body.tx-classroom .zoom-sidebar .sidebar-tabs {
    width: 100%;
    padding: 0 2px;
    scroll-padding-inline: 2px;
}
body.tx-classroom .zoom-sidebar .sidebar-close {
    position: relative;
    z-index: 2;
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    background: #1c211e;
}

/* Poll creation and results use neutral conference surfaces with a blue
   action accent. There are no glow, blur, reflection or floating effects. */
body.tx-classroom .poll-dialog {
    position: fixed;
    z-index: 10001;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    background: rgba(0,0,0,.72);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.tx-classroom .poll-dialog__panel {
    width: min(100%,480px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    border: 1px solid #343b45;
    border-radius: 12px;
    padding: 28px;
    color: #eef2f7;
    background: #181c21;
    box-shadow: none;
}
body.tx-classroom .poll-dialog__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: #f7f9fc !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em !important;
}
body.tx-classroom .poll-dialog__icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #3b4c66;
    border-radius: 8px;
    background: #26364d;
}
body.tx-classroom .poll-field { margin-bottom: 20px; }
body.tx-classroom .poll-field--options { margin-bottom: 24px; }
body.tx-classroom .poll-field label {
    display: block;
    margin-bottom: 8px;
    color: #dce3ec !important;
    font-size: 13px;
    font-weight: 650;
}
body.tx-classroom .poll-field label span { color: #929dac; font-weight: 500; }
body.tx-classroom .poll-input {
    width: 100%;
    min-height: 48px;
    margin: 0 0 10px;
    border: 1px solid #cdd4dd !important;
    border-radius: 8px !important;
    padding: 12px 14px;
    color: #1f2937 !important;
    background: #f7f8fa !important;
    box-shadow: none !important;
    font-size: 15px;
}
body.tx-classroom .poll-input::placeholder { color: #7a8491; }
body.tx-classroom .poll-input:focus {
    border-color: #5e8ee8 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(47,111,237,.16) !important;
}
body.tx-classroom .poll-add-option {
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
    border: 1px dashed #596474;
    border-radius: 8px;
    color: #c9d4e3;
    background: #20252c;
    box-shadow: none;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
body.tx-classroom .poll-add-option:hover { border-color: #6d96e5; color: #fff; background: #252c35; }
body.tx-classroom .poll-dialog__actions { display: flex; gap: 10px; }
body.tx-classroom .poll-button {
    flex: 1;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 11px 14px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
body.tx-classroom .poll-button--secondary { border-color: #424a54; color: #e2e7ed; background: #292e35; }
body.tx-classroom .poll-button--secondary:hover { background: #323840; }
body.tx-classroom .poll-button--primary { color: #fff; background: #2f6fed; }
body.tx-classroom .poll-button--primary:hover { background: #285fcd; }
body.tx-classroom .poll-button:disabled { opacity: .6; cursor: wait; }

body.tx-classroom .poll-display {
    position: fixed;
    z-index: 99999;
    right: 20px;
    bottom: 80px;
    width: 340px;
    max-width: calc(100vw - 32px);
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #343b45;
    border-radius: 12px;
    padding: 20px;
    color: #eef2f7;
    background: #181c21;
    box-shadow: none;
}
body.tx-classroom .poll-display__header { margin-bottom: 14px; }
body.tx-classroom .poll-display__kicker {
    color: #9ea9b8;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
body.tx-classroom .poll-widget__question {
    margin: 0 0 16px;
    color: #f7f9fc;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
}
body.tx-classroom .poll-widget__options { display: flex; flex-direction: column; gap: 9px; }
body.tx-classroom .poll-result-option {
    position: relative;
    width: 100%;
    min-height: 50px;
    overflow: hidden;
    border: 1px solid #39414b;
    border-radius: 8px;
    padding: 12px 13px;
    color: #eef2f7;
    background: #23282e;
    box-shadow: none;
    text-align: left;
}
body.tx-classroom button.poll-result-option { font: inherit; cursor: pointer; }
body.tx-classroom button.poll-result-option:hover { border-color: #5e8ee8; background: #282f38; transform: none; }
body.tx-classroom .poll-result-option__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: rgba(47,111,237,.2);
    transition: width .3s ease;
}
body.tx-classroom .poll-result-option__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
body.tx-classroom .poll-result-option__label { min-width: 0; overflow-wrap: anywhere; color: #f0f3f7; font-size: 14px; font-weight: 600; }
body.tx-classroom .poll-result-option__percent {
    flex: 0 0 auto;
    border-radius: 5px;
    padding: 3px 8px;
    color: #a9c5ff;
    background: #2a3850;
    font-size: 12px;
    font-weight: 750;
}
body.tx-classroom .poll-widget__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    border-top: 1px solid #343b45;
    padding-top: 14px;
    color: #b7c0cc;
    font-size: 13px;
}
body.tx-classroom .poll-widget__summary strong { color: #fff; }
body.tx-classroom .poll-widget__live {
    border-radius: 5px;
    padding: 3px 8px;
    color: #99e4bd;
    background: #244737;
    font-size: 11px;
    font-weight: 700;
}
body.tx-classroom .poll-end-button {
    width: 100%;
    min-height: 38px;
    margin-top: 10px;
    border: 1px solid #743b42;
    border-radius: 7px;
    color: #ffadb4;
    background: #382328;
    box-shadow: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
body.tx-classroom .poll-end-button:hover { border-color: #9d4b54; color: #ffd0d4; background: #47292f; }

@media (max-width: 1100px) {
    body.tx-auth .tx-rebuilt-frame { grid-template-columns: 1fr; }
    body.tx-auth .tx-rebuilt-story { padding: 24px 30px; }
}

@media (max-width: 760px) {
    body.tx-feature-page .fl-hero { padding-block: 52px 68px; }
    body.tx-feature-page .fl-hero h1,
    body.cs-page h1 { font-size: clamp(2.45rem,10.5vw,3.6rem) !important; }
    body.tx-feature-page :where(.fl-band,.fl-paths) { padding-block: 64px; }
    body.teacher-dashboard .dashboard-toolbar h2 { font-size: 2rem !important; }
    body.tx-classroom .zoom-settings { border-radius: 8px !important; }
    body.tx-classroom .poll-dialog { padding: 12px; }
    body.tx-classroom .poll-dialog__panel { padding: 22px 18px; }
    body.tx-classroom .poll-dialog__actions { flex-direction: column-reverse; }
    body.tx-classroom .poll-display { right: 12px; bottom: 76px; width: min(340px,calc(100vw - 24px)); padding: 16px; }
}

@media print {
    body.tx-rebuilt { background: #fff !important; }
    .tx-rebuilt-ambient, .tx-rebuilt-story, .tx-skip-link, body.tx-rebuilt :where(.sidebar, .admin-menu, .no-print) { display: none !important; }
    body.tx-auth .tx-rebuilt-frame, body.tx-payment .tx-rebuilt-frame { display: block; }
    body.tx-rebuilt :where(.card, [class$="-card"], table) { box-shadow: none !important; }
}
