/* Questions and answers styles. */

#tab-recordings {
    gap: 1.5rem;
}

#tab-recordings .qa-hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
    padding: clamp(1.4rem, 4vw, 2.25rem);
    border: 1px solid rgba(129, 140, 248, .24);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 88% 12%, rgba(129, 140, 248, .25), transparent 30%),
        linear-gradient(120deg, #171c35 0%, #111827 58%, #17243b 100%);
    box-shadow: 0 18px 48px rgba(2, 6, 23, .22);
}

#tab-recordings .qa-hero::after {
    position: absolute;
    right: 16%;
    bottom: -5rem;
    width: 12rem;
    height: 12rem;
    border: 1px solid rgba(165, 180, 252, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

#tab-recordings .qa-hero-copy,
#tab-recordings .qa-hero-art {
    position: relative;
    z-index: 1;
}

#tab-recordings .qa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #a5b4fc;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#tab-recordings .qa-hero h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.3;
}

#tab-recordings .qa-hero p {
    max-width: 42rem;
    margin-top: .65rem;
    color: #b6c2d4;
    line-height: 1.75;
}

#tab-recordings .qa-hero-art {
    display: grid;
    width: 5.5rem;
    height: 5.5rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(199, 210, 254, .22);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(99, 102, 241, .42), rgba(79, 70, 229, .12));
    color: #c7d2fe;
    font-size: 2.2rem;
    box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 14px 30px rgba(4, 6, 24, .24);
    transform: rotate(4deg);
}

#student-question-filters {
    display: grid;
    grid-template-columns: minmax(12rem, 1.5fr) repeat(2, minmax(10rem, 1fr)) auto;
    align-items: end;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid #293750;
    border-radius: .95rem;
    background: rgba(17, 24, 39, .82);
}

#student-question-filters .qa-filter-search {
    position: relative;
    display: block;
    min-width: 0;
}

#student-question-filters .qa-filter-search i {
    position: absolute;
    top: 50%;
    left: .8rem;
    color: #94a3b8;
    transform: translateY(-50%);
}

#student-question-filters input,
#student-question-filters select {
    width: 100%;
    min-height: 2.65rem;
    border: 1px solid #34435d !important;
    border-radius: .7rem !important;
    background: #0c1423 !important;
    color: #e5eaf4 !important;
    font-size: .85rem;
}

#student-question-filters input { padding: .55rem .75rem .55rem 2.3rem; }

#student-question-filters select { margin-top: .3rem; padding: .5rem .65rem; }

#student-question-filters input:focus,
#student-question-filters select:focus {
    border-color: #818cf8 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .14);
    outline: none;
}

#student-question-filters .qa-filter-select-label {
    color: #aebbd0;
    font-size: .72rem;
    font-weight: 650;
}

#student-question-filters .qa-filter-count {
    padding: .45rem .65rem;
    color: #c7d2fe;
    font-size: .78rem;
    white-space: nowrap;
}

#student-questions-list .qa-toggle-comments {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .5rem;
    padding: .45rem .7rem;
    border: 1px solid #3a4b68;
    border-radius: .65rem;
    background: rgba(79, 70, 229, .12);
    color: #c7d2fe !important;
    font-size: .8rem;
    font-weight: 650;
    transition: background-color .15s ease, border-color .15s ease;
}

#student-questions-list .qa-toggle-comments:hover {
    border-color: #818cf8;
    background: rgba(79, 70, 229, .22);
}

#student-questions-list .qa-comments-panel {
    padding: .85rem !important;
    border-top: 1px solid #293750 !important;
    background: rgba(10, 17, 30, .48) !important;
}

@media (max-width: 720px) {
    #student-question-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #student-question-filters .qa-filter-search { grid-column: 1 / -1; }
    #student-question-filters .qa-filter-count { grid-column: 1 / -1; padding: 0 .2rem; }
}

#student-question-form {
    padding: clamp(1.2rem, 3vw, 2rem) !important;
    border: 1px solid #293750 !important;
    border-radius: 1.25rem !important;
    background: linear-gradient(145deg, #151d2d, #111827 72%) !important;
    box-shadow: 0 18px 42px rgba(2, 6, 23, .2) !important;
}

#student-question-form > label,
#student-question-form .qa-field-label {
    color: #d7deea !important;
    font-size: .9rem;
    font-weight: 650;
}

#student-question-form select,
#student-question-form textarea {
    min-height: 3rem;
    margin-top: .55rem;
    padding: .8rem .95rem;
    border: 1px solid #34435d !important;
    border-radius: .8rem !important;
    background-color: #0c1423 !important;
    color: #e5eaf4 !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

#student-question-form textarea {
    min-height: 8rem;
    line-height: 1.65;
}

#student-question-form select:focus,
#student-question-form textarea:focus,
#student-questions-list textarea:focus {
    border-color: #818cf8 !important;
    background-color: #101a2d !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .16);
    outline: none;
}

#student-question-form select:disabled,
#student-question-form textarea:disabled {
    cursor: not-allowed;
    opacity: .58;
}

#student-questions-list > article {
    border: 1px solid #293750 !important;
    border-left: 3px solid rgba(129, 140, 248, .68) !important;
    border-radius: .95rem !important;
    background: linear-gradient(120deg, rgba(30, 35, 68, .88), rgba(16, 25, 42, .98) 70%) !important;
    box-shadow: 0 14px 36px rgba(2, 6, 23, .17) !important;
    transition: border-color .2s ease, transform .2s ease;
}

#student-questions-list > article:nth-of-type(3n + 2) {
    border-left-color: rgba(103, 232, 249, .7) !important;
    background: linear-gradient(120deg, rgba(16, 47, 60, .8), rgba(16, 25, 42, .98) 70%) !important;
}

#student-questions-list > article:nth-of-type(3n) {
    border-left-color: rgba(251, 191, 36, .72) !important;
    background: linear-gradient(120deg, rgba(55, 42, 30, .68), rgba(16, 25, 42, .98) 70%) !important;
}

#student-questions-list > article:hover {
    border-top-color: #465477 !important;
    border-right-color: #465477 !important;
    border-bottom-color: #465477 !important;
    transform: translateY(-1px);
}

#student-questions-list > article > div:first-child {
    padding: .95rem !important;
}

#student-questions-list > article > div:last-child {
    border-color: #293750 !important;
    background: rgba(10, 17, 30, .48) !important;
    padding: .85rem !important;
    gap: .65rem !important;
}

#student-questions-list > article > div:last-child > .space-y-2 {
    margin-top: .55rem !important;
}

#student-questions-list > article > div:last-child > form[data-question-answer-form] {
    margin-top: .55rem !important;
}

#student-questions-list .qa-classification {
    display: inline-flex;
    align-items: center;
    padding: .25rem .55rem;
    border: 1px solid rgba(129, 140, 248, .32);
    border-radius: 999px;
    background: rgba(79, 70, 229, .18);
    color: #c7d2fe !important;
    font-size: .72rem;
    font-weight: 700;
}

#student-questions-list .qa-question-bubble {
    margin-top: .7rem;
    padding: .65rem .85rem;
    border: 1px solid rgba(96, 165, 250, .32);
    border-radius: .8rem .8rem .8rem .3rem;
    background: linear-gradient(130deg, rgba(30, 58, 95, .72), rgba(25, 37, 62, .9));
    box-shadow: inset 3px 0 #60a5fa, 0 8px 22px rgba(2, 6, 23, .16);
}

#student-questions-list .qa-question-bubble .qa-question-text {
    margin: 0;
    color: #f8fafc !important;
    font-size: 1rem;
    font-weight: 550;
    line-height: 1.6;
}

#student-questions-list .qa-question-meta {
    margin-top: .55rem;
    color: #b9c8dc !important;
    font-size: .74rem;
}

#student-questions-list .qa-question-meta strong {
    color: #93c5fd !important;
}

#student-questions-list [data-answer-node] {
    border: 1px solid #344b70 !important;
    border-left: 3px solid #a78bfa !important;
    border-radius: .8rem .8rem .8rem .3rem;
    background: linear-gradient(135deg, #1b2942, #172338);
    color: #f1f5f9 !important;
    padding: .65rem .8rem;
    box-shadow: 0 7px 18px rgba(2, 6, 23, .14);
}

#student-questions-list [data-answer-node] .qa-answer-meta {
    color: #b7c5d9 !important;
    font-size: .72rem;
}

#student-questions-list [data-answer-node] .qa-answer-author {
    color: #c4b5fd !important;
    font-weight: 700;
}

#student-questions-list [data-answer-node] .qa-answer-text {
    margin-top: .35rem !important;
    color: #f8fafc !important;
    font-size: .92rem;
    line-height: 1.55;
}

#student-questions-list .qa-content-actions button {
    padding: .2rem .45rem;
    font-size: .75rem;
    border-radius: 999px;
    font-weight: 650;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

#student-questions-list .qa-content-actions button[data-toggle-reply] { color: #a5b4fc !important; }

#student-questions-list .qa-content-actions button[data-report-type] { color: #fda4af !important; }

#student-questions-list .qa-content-actions button[data-edit-toggle] { color: #7dd3fc !important; }

#student-questions-list .qa-content-actions button[data-delete-toggle] { color: #fca5a5 !important; }

#student-questions-list .qa-content-actions button:hover:not(:disabled) { background: rgba(148, 163, 184, .14); }

#student-questions-list .qa-content-actions button:disabled { opacity: .45; }

#student-questions-list .qa-question-meta + .qa-content-actions {
    margin-top: .35rem !important;
}

#student-questions-list .qa-answer-children {
    margin-top: .4rem !important;
}

#student-questions-list > article {
    margin-top: .75rem !important;
}

#student-questions-list .qa-overflow-menu {
    position: relative;
    display: inline-flex;
    margin-left: auto;
}

#student-questions-list .qa-overflow-toggle {
    display: inline-grid;
    width: 1.85rem;
    height: 1.85rem;
    place-items: center;
    border: 1px solid #3a4b68;
    border-radius: 999px;
    background: rgba(9, 16, 29, .65);
    color: #cbd5e1 !important;
    font-size: .85rem;
}

#student-questions-list .qa-overflow-toggle:hover,
#student-questions-list .qa-overflow-toggle[aria-expanded="true"] {
    border-color: #818cf8;
    background: rgba(79, 70, 229, .2);
    color: #e0e7ff !important;
}

#student-questions-list .qa-overflow-items {
    position: absolute;
    z-index: 20;
    top: calc(100% + .35rem);
    right: 0;
    display: grid;
    min-width: 8.5rem;
    gap: .2rem;
    padding: .4rem;
    border: 1px solid #3a4b68;
    border-radius: .85rem;
    background: #111b2d;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .42);
}

#student-questions-list .qa-overflow-items.hidden { display: none; }

#student-questions-list .qa-overflow-items button {
    justify-content: flex-start;
    width: 100%;
    padding: .4rem .6rem;
    font-size: .78rem;
    border-radius: .55rem;
    text-align: left;
    white-space: nowrap;
}

#student-questions-list .qa-overflow-items button:hover:not(:disabled) {
    background: rgba(148, 163, 184, .12);
}

#student-questions-list textarea {
    min-height: 2.4rem;
    padding: .55rem .7rem !important;
    border: 1px solid #34435d !important;
    border-radius: .75rem !important;
    background: #0c1423 !important;
    color: #e5eaf4 !important;
}

#student-questions-list button[data-report-type],
#student-questions-list button[data-toggle-reply] {
    border-radius: .5rem;
    transition: color .15s ease, background-color .15s ease;
}

#student-questions-list button[data-report-type]:hover,
#student-questions-list button[data-toggle-reply]:hover {
    background: rgba(99, 102, 241, .12);
}

#student-questions-list .qa-empty-state,
#student-questions-list .qa-error-state {
    padding: 2.25rem 1.5rem;
    border: 1px solid #293750;
    border-radius: 1.15rem;
    background: radial-gradient(circle at 50% 0, rgba(99, 102, 241, .11), transparent 48%), #111827;
    color: #aebbd0;
    text-align: center;
}

#student-questions-list .qa-error-state i,
#student-questions-list .qa-empty-state i {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto .9rem;
    place-items: center;
    border: 1px solid rgba(129, 140, 248, .22);
    border-radius: 1.1rem;
    background: rgba(79, 70, 229, .16);
    color: #a5b4fc;
    font-size: 1.35rem;
}

#tab-recordings .qa-hero {
    border-color: rgba(167, 139, 250, .3);
    background:
        radial-gradient(circle at 88% 12%, rgba(244, 114, 182, .16), transparent 30%),
        radial-gradient(circle at 8% 100%, rgba(99, 102, 241, .17), transparent 40%),
        linear-gradient(120deg, #1b1b38 0%, #111827 58%, #241b36 100%);
}

#tab-recordings .qa-eyebrow {
    color: #f0abfc;
}

#tab-recordings .qa-hero-art {
    border-color: rgba(240, 171, 252, .28);
    background: linear-gradient(145deg, rgba(217, 70, 239, .3), rgba(99, 102, 241, .16));
    color: #f0abfc;
}

#student-question-form {
    border-top-color: rgba(192, 132, 252, .44) !important;
    background: linear-gradient(125deg, #1a1c36, #111827 70%, #1d1930) !important;
}

#student-question-filters {
    border-color: rgba(167, 139, 250, .22);
    background: linear-gradient(110deg, rgba(36, 28, 57, .82), rgba(17, 24, 39, .9));
}

#student-questions-list .qa-question-card {
    border: 1px solid #202b3d !important;
    border-left: 1px solid #202b3d !important;
    border-radius: 1rem !important;
    background: #0e1523 !important;
    box-shadow: none !important;
    transform: none !important;
}

#student-questions-list .qa-question-card:nth-of-type(3n + 2),
#student-questions-list .qa-question-card:nth-of-type(3n) {
    border-left-color: #202b3d !important;
    background: #0e1523 !important;
}

#student-questions-list .qa-question-card > div:first-child {
    padding: 1.2rem !important;
}

#student-questions-list .qa-question-meta {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1rem;
}

#student-questions-list .qa-author-avatar {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(167, 139, 250, .4);
    border-radius: 50%;
    background: #292246;
    color: #ddd6fe;
    font-size: .78rem;
    font-weight: 750;
}

#student-questions-list .qa-author-details {
    display: grid;
    gap: .1rem;
}

#student-questions-list .qa-author-details strong {
    color: #d8deea !important;
}

#student-questions-list .qa-author-details span {
    color: #718096;
    font-size: .68rem;
}

#student-questions-list .qa-question-bubble {
    margin-top: .8rem;
    padding: .8rem .9rem;
    border: 1px solid #1d2738;
    border-radius: .8rem;
    background: #090f1c;
    box-shadow: none;
}

#student-questions-list .qa-question-engagement {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid #1d2738;
}

#student-questions-list .qa-vote-group {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #202b3d;
    border-radius: .75rem;
    background: #090f1c;
}

#student-questions-list .qa-vote-group button,
#student-questions-list .qa-question-tools > button {
    display: inline-flex;
    min-width: 2.8rem;
    min-height: 2.55rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .45rem .7rem;
    border: 0;
    background: transparent;
    color: #9aa8bd;
    font-size: .82rem;
    transition: color .15s ease, background-color .15s ease;
}

#student-questions-list .qa-vote-group button + button {
    border-left: 1px solid #202b3d;
}

#student-questions-list .qa-vote-group button:hover,
#student-questions-list .qa-question-tools > button:hover {
    background: #172235;
    color: #e2e8f0;
}

#student-questions-list .qa-vote-group button[aria-pressed="true"][data-question-vote="1"] {
    background: rgba(99, 102, 241, .16);
    color: #c4b5fd;
}

#student-questions-list .qa-vote-group button[aria-pressed="true"][data-question-vote="-1"] {
    background: rgba(244, 63, 94, .12);
    color: #fda4af;
}

#student-questions-list .qa-question-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-left: auto;
}

#student-questions-list .qa-question-tools > button {
    border: 1px solid #202b3d;
    border-radius: .75rem;
    background: #090f1c;
}

#student-questions-list .qa-question-tools > button[aria-pressed="true"] {
    border-color: rgba(167, 139, 250, .4);
    color: #c4b5fd;
}

#student-questions-list .qa-question-tools .qa-toggle-comments {
    min-height: 2.55rem;
    margin-top: 0;
    border: 1px solid #202b3d;
    border-radius: .75rem;
    background: #090f1c;
}

#student-questions-list [data-question-action-feedback] {
    flex-basis: 100%;
    color: #fda4af;
    font-size: .75rem;
}

#student-questions-list .qa-vote-group button:disabled,
#student-questions-list .qa-question-tools button:disabled {
    cursor: wait;
    opacity: .6;
}

@media (max-width: 520px) {
    #student-questions-list .qa-question-tools {
        width: 100%;
        margin-left: 0;
    }
    #student-questions-list .qa-question-tools .qa-toggle-comments {
        flex: 1;
    }
}

#tab-recordings .qa-hero {
    border-color: rgba(167, 139, 250, .34);
    background:
        radial-gradient(circle at 88% 8%, rgba(147, 51, 234, .28), transparent 31%),
        radial-gradient(circle at 5% 100%, rgba(79, 70, 229, .2), transparent 42%),
        linear-gradient(120deg, #21183d 0%, #13182b 58%, #20183d 100%);
    box-shadow: 0 20px 50px rgba(2, 6, 23, .27), inset 0 1px rgba(255, 255, 255, .04);
}

#tab-recordings .qa-eyebrow { color: #d8b4fe; }

#tab-recordings .qa-hero-art {
    border-color: rgba(216, 180, 254, .32);
    background: linear-gradient(145deg, rgba(168, 85, 247, .36), rgba(79, 70, 229, .2));
    color: #e9d5ff;
    box-shadow: 0 0 40px rgba(147, 51, 234, .14), inset 0 1px rgba(255, 255, 255, .1);
}

#tab-recordings .qa-compose-card,
#tab-recordings .qa-feed {
    min-width: 0;
    border: 1px solid rgba(71, 85, 115, .65);
    border-radius: 1.15rem;
    background: rgba(15, 23, 42, .78);
    box-shadow: 0 15px 38px rgba(2, 6, 23, .17), inset 0 1px rgba(255, 255, 255, .025);
    backdrop-filter: blur(14px);
}

#tab-recordings .qa-compose-card {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.4rem);
}

#tab-recordings .qa-compose-heading {
    display: flex;
    align-items: center;
    gap: .8rem;
}

#tab-recordings .qa-compose-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(192, 132, 252, .24);
    border-radius: .9rem;
    background: rgba(126, 34, 206, .17);
    color: #d8b4fe;
    font-size: 1.05rem;
}

#tab-recordings .qa-compose-heading h3,
#tab-recordings .qa-feed-heading h3 {
    margin: 0;
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -.015em;
}

#tab-recordings .qa-compose-heading p {
    margin: .2rem 0 0;
    color: #94a3b8;
    font-size: .77rem;
    line-height: 1.5;
}

#tab-recordings #student-question-form > .qa-field-label {
    display: grid;
    gap: .45rem;
    margin: 0;
    color: #cbd5e1 !important;
    font-size: .78rem;
    font-weight: 700;
}

#tab-recordings #question-text {
    min-height: 7rem;
    margin: 0;
    padding: .85rem 1rem;
    border: 1px solid #35415a !important;
    border-radius: .85rem !important;
    background: rgba(8, 15, 27, .7) !important;
    color: #e2e8f0 !important;
    font-size: .88rem;
    line-height: 1.6;
    transition: border-color .16s ease, box-shadow .16s ease;
}

#tab-recordings #question-text::placeholder,
#tab-recordings #student-questions-list textarea::placeholder {
    color: #718096;
}

#tab-recordings #question-text:focus,
#tab-recordings #student-questions-list textarea:focus {
    border-color: #a78bfa !important;
    background: #101629 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .2) !important;
    outline: none;
}

#tab-recordings #student-question-form > .qa-field-label small {
    margin: 0;
    color: #8998ad !important;
    font-size: .7rem;
    line-height: 1.5;
}

#tab-recordings .qa-compose-classification {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    padding: .9rem;
    border: 1px solid rgba(71, 85, 115, .48);
    border-radius: .85rem;
    background: rgba(8, 15, 27, .34);
}

#tab-recordings .qa-compose-classification.hidden { display: none; }

#tab-recordings .qa-compose-classification .qa-field-label {
    display: grid;
    gap: .4rem;
    color: #cbd5e1 !important;
    font-size: .74rem;
    font-weight: 650;
}

#tab-recordings .qa-compose-classification select {
    min-height: 2.65rem;
    margin: 0;
    padding: .6rem .75rem;
    border: 1px solid #35415a !important;
    border-radius: .7rem !important;
    background: #0b1220 !important;
    color: #e2e8f0 !important;
    font-size: .78rem;
}

#tab-recordings .qa-compose-classification select:focus {
    border-color: #a78bfa !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .16);
    outline: none;
}

#tab-recordings .qa-compose-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
}

#tab-recordings .qa-compose-footer > p {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin: 0;
    color: #94a3b8;
    font-size: .71rem;
    line-height: 1.5;
}

#tab-recordings .qa-compose-footer > p i { margin-top: .13rem; color: #c084fc; }

#tab-recordings .qa-compose-footer > div {
    display: flex;
    align-items: center;
    gap: .75rem;
}

#tab-recordings #question-status {
    margin: 0;
    color: #a5b4fc;
    font-size: .72rem;
}

#tab-recordings #question-submit-button {
    display: inline-flex;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border: 1px solid rgba(216, 180, 254, .22);
    border-radius: .75rem;
    background: linear-gradient(110deg, #7c3aed, #4f46e5);
    box-shadow: 0 8px 20px rgba(109, 40, 217, .22);
    color: white;
    font-size: .77rem;
    font-weight: 700;
}

#tab-recordings #question-submit-button:not(:disabled):hover {
    filter: brightness(1.1);
    box-shadow: 0 11px 26px rgba(109, 40, 217, .32);
}

#tab-recordings #question-submit-button:disabled { cursor: not-allowed; opacity: .48; }

#tab-recordings .qa-feed { overflow: hidden; }

#tab-recordings .qa-feed-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem .75rem;
}

#tab-recordings .qa-feed-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .3rem;
    color: #c4b5fd;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#tab-recordings .qa-filter-count {
    padding: .4rem .65rem;
    border: 1px solid rgba(167, 139, 250, .18);
    border-radius: 999px;
    background: rgba(124, 58, 237, .09);
    color: #c4b5fd;
    font-size: .7rem;
    font-weight: 650;
    white-space: nowrap;
}

#tab-recordings #student-question-filters {
    display: grid;
    grid-template-columns: minmax(12rem, 1.5fr) repeat(2, minmax(10rem, 1fr));
    align-items: end;
    gap: .7rem;
    padding: 0 1.2rem 1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}

#tab-recordings #student-question-filters .qa-filter-select-label {
    display: grid;
    gap: .35rem;
    color: #94a3b8;
    font-size: .69rem;
    font-weight: 650;
}

#tab-recordings #student-question-filters .qa-filter-search > i {
    left: .85rem;
    color: #a78bfa;
}

#tab-recordings #student-question-filters input,
#tab-recordings #student-question-filters select {
    min-height: 2.7rem;
    margin: 0;
    padding: .6rem .75rem;
    border: 1px solid #303b52 !important;
    border-radius: .72rem !important;
    background: rgba(8, 15, 27, .72) !important;
    color: #e2e8f0 !important;
    font-size: .78rem;
}

#tab-recordings #student-question-filters input { padding-left: 2.35rem; }

#tab-recordings #student-question-filters input:focus,
#tab-recordings #student-question-filters select:focus {
    border-color: #a78bfa !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .16);
    outline: none;
}

#tab-recordings .qa-question-feed {
    display: grid;
    gap: .8rem;
    padding: 0 1.2rem 1.2rem;
}

#tab-recordings .qa-question-card,
#tab-recordings #student-questions-list > article {
    overflow: visible;
    border: 1px solid #29334a !important;
    border-radius: 1rem !important;
    background: linear-gradient(145deg, rgba(20, 27, 45, .96), rgba(13, 19, 33, .98)) !important;
    box-shadow: 0 8px 24px rgba(2, 6, 23, .14) !important;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

#tab-recordings .qa-question-card:hover {
    border-color: rgba(167, 139, 250, .38) !important;
    background: linear-gradient(145deg, #191d35, #111827) !important;
    box-shadow: 0 14px 30px rgba(2, 6, 23, .22) !important;
    transform: translateY(-1px);
}

#tab-recordings .qa-question-card > div:first-child { padding: 1rem 1.05rem !important; }

#tab-recordings .qa-classification {
    padding: .28rem .58rem;
    border: 1px solid rgba(167, 139, 250, .22);
    border-radius: 999px;
    background: rgba(124, 58, 237, .12);
    color: #d8b4fe !important;
    font-size: .67rem;
    font-weight: 700;
}

#tab-recordings .qa-question-meta { gap: .6rem; margin-top: .85rem; }

#tab-recordings .qa-author-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(196, 181, 253, .38);
    background: linear-gradient(145deg, #433078, #27264f);
    color: #ede9fe;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .08);
}

#tab-recordings .qa-author-details strong { color: #e2e8f0 !important; font-size: .78rem; }

#tab-recordings .qa-author-details span { color: #8190a7; font-size: .67rem; }

#tab-recordings .qa-question-bubble {
    margin-top: .75rem;
    padding: .8rem .9rem;
    border: 1px solid #283249;
    border-radius: .8rem;
    background: rgba(8, 13, 25, .6);
    box-shadow: none;
}

#tab-recordings .qa-question-bubble .qa-question-text {
    color: #e8edf7 !important;
    font-size: .88rem;
    line-height: 1.7;
}

#tab-recordings .qa-question-engagement {
    gap: .55rem;
    margin-top: .85rem;
    padding-top: .75rem;
    border-top-color: rgba(71, 85, 115, .42);
}

#tab-recordings .qa-vote-group {
    border-color: #29334a;
    border-radius: .7rem;
    background: rgba(8, 13, 25, .72);
}

#tab-recordings .qa-vote-group button,
#tab-recordings .qa-question-tools > button,
#tab-recordings .qa-question-tools .qa-toggle-comments {
    min-height: 2.3rem;
    border-color: #29334a;
    border-radius: .68rem;
    background: rgba(8, 13, 25, .72);
    color: #a8b4c8;
    font-size: .74rem;
}

#tab-recordings .qa-vote-group button { min-width: 2.45rem; }

#tab-recordings .qa-vote-group button:hover,
#tab-recordings .qa-question-tools > button:hover,
#tab-recordings .qa-question-tools .qa-toggle-comments:hover {
    background: rgba(139, 92, 246, .13);
    color: #e9d5ff;
}

#tab-recordings .qa-vote-group button[aria-pressed="true"][data-question-vote="1"] {
    background: rgba(139, 92, 246, .18);
    color: #d8b4fe;
}

#tab-recordings .qa-vote-group button[aria-pressed="true"][data-question-vote="-1"] {
    background: rgba(244, 63, 94, .12);
    color: #fda4af;
}

#tab-recordings .qa-question-tools { gap: .4rem; }

#tab-recordings .qa-question-tools > button[aria-pressed="true"] {
    border-color: rgba(196, 181, 253, .38);
    color: #d8b4fe;
}

#tab-recordings .qa-question-tools .qa-toggle-comments { margin: 0; }

#tab-recordings .qa-comments-panel {
    display: grid;
    gap: .75rem;
    padding: .9rem 1rem 1rem !important;
    border-top: 1px solid rgba(71, 85, 115, .48) !important;
    border-radius: 0 0 1rem 1rem;
    background: rgba(8, 13, 25, .42) !important;
}

#tab-recordings .qa-comments-panel.hidden { display: none; }

#tab-recordings .qa-answer-list > .space-y-2 { display: grid; gap: .6rem; }

#tab-recordings .qa-answer-list {
    max-height: min(26rem, 55vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: .25rem;
    scrollbar-color: #475569 transparent;
    scrollbar-width: thin;
}

#tab-recordings .qa-answer-list > [role="status"],
#tab-recordings .qa-answer-list > .space-y-2,
#tab-recordings .qa-answer-list > p {
    margin-bottom: .6rem;
}

#tab-recordings #student-questions-list [data-answer-node] {
    margin-top: .55rem;
    padding: .65rem .75rem;
    border: 1px solid #29334a !important;
    border-left: 2px solid #8b5cf6 !important;
    border-radius: .25rem .75rem .75rem .25rem;
    background: rgba(20, 27, 45, .72);
    box-shadow: none;
}

#tab-recordings #student-questions-list [data-answer-node] .qa-answer-meta { color: #8290a7 !important; font-size: .66rem; }

#tab-recordings #student-questions-list [data-answer-node] .qa-answer-author { color: #d8b4fe !important; }

#tab-recordings #student-questions-list [data-answer-node] .qa-answer-text {
    color: #dce4f1 !important;
    font-size: .8rem;
    line-height: 1.6;
}

#tab-recordings #student-questions-list .qa-answer-children {
    margin: .6rem 0 0 .45rem !important;
    padding-left: .55rem;
    border-left: 1px solid rgba(139, 92, 246, .22);
}

#tab-recordings #student-questions-list .qa-content-actions button { min-height: auto !important; }

#tab-recordings #student-questions-list .qa-comments-panel > form[data-question-answer-form] {
    position: sticky;
    bottom: .5rem;
    z-index: 2;
    align-items: stretch;
    padding: .65rem;
    border: 1px solid rgba(139, 92, 246, .22);
    border-radius: .85rem;
    background: rgba(15, 23, 42, .96);
    box-shadow: 0 8px 24px rgba(2, 6, 23, .24);
}

#tab-recordings #student-questions-list textarea {
    min-height: 2.7rem;
    padding: .7rem .8rem !important;
    border: 1px solid #35415a !important;
    border-radius: .7rem !important;
    background: #090f1c !important;
    color: #e2e8f0 !important;
    font-size: .78rem;
}

#tab-recordings #student-questions-list form[data-question-answer-form] > button {
    min-height: 2.65rem !important;
    align-self: stretch !important;
    padding-inline: .9rem !important;
    border: 1px solid rgba(216, 180, 254, .2);
    border-radius: .7rem;
    background: linear-gradient(110deg, #7c3aed, #4f46e5);
    color: white;
    font-size: .74rem !important;
    font-weight: 700;
}

#tab-recordings #student-questions-list .qa-empty-state,
#tab-recordings #student-questions-list .qa-error-state {
    border-color: #29334a;
    border-radius: 1rem;
    background: radial-gradient(circle at 50% 0, rgba(139, 92, 246, .12), transparent 48%), rgba(15, 23, 42, .7);
}

#tab-recordings #student-questions-list .qa-empty-state > p:first-of-type { color: #e2e8f0; font-weight: 700; }

@media (max-width: 720px) {
    #tab-recordings #student-question-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #tab-recordings #student-question-filters .qa-filter-search { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
    #tab-recordings .qa-hero { align-items: flex-start; padding: 1.1rem; }
    #tab-recordings .qa-hero-art { width: 3.5rem; height: 3.5rem; border-radius: 1rem; font-size: 1.4rem; }
    #tab-recordings .qa-compose-classification { grid-template-columns: minmax(0, 1fr); }
    #tab-recordings .qa-compose-footer { align-items: stretch; flex-direction: column; }
    #tab-recordings .qa-compose-footer > div { align-items: stretch; flex-direction: column; }
    #tab-recordings #question-submit-button { width: 100%; }
    #tab-recordings .qa-feed-heading,
    #tab-recordings #student-question-filters { padding-inline: .8rem; }
    #tab-recordings .qa-question-feed { padding-inline: .7rem; }
    #tab-recordings .qa-question-engagement { align-items: flex-start; }
    #tab-recordings .qa-question-tools { width: 100%; margin-left: 0; }
    #tab-recordings .qa-question-tools .qa-toggle-comments { flex: 1; justify-content: center; }
    #tab-recordings #student-questions-list form[data-question-answer-form] { flex-direction: column; }
    #tab-recordings #student-questions-list form[data-question-answer-form] > button { width: 100%; }
}

@media (min-width: 1100px) {
    #tab-recordings #student-questions-list > article.qa-question-card.has-open-comments {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(20rem, .9fr);
        align-items: start;
        gap: 1.15rem;
    }
    #tab-recordings #student-questions-list > article.qa-question-card.has-open-comments > div:first-child {
        min-width: 0;
    }
    #tab-recordings #student-questions-list > article.qa-question-card.has-open-comments > .qa-comments-panel {
        min-width: 0;
        align-self: stretch;
        border: 1px solid rgba(71, 85, 115, .42) !important;
        border-radius: .85rem;
    }
}

#tab-recordings .qa-hero {
    border-color: rgba(251, 191, 36, .3);
    background:
        radial-gradient(circle at 88% 8%, rgba(249, 115, 22, .2), transparent 31%),
        radial-gradient(circle at 5% 100%, rgba(245, 158, 11, .13), transparent 42%),
        linear-gradient(120deg, #302116, #131820 58%, #2b1d17);
}

#tab-recordings .qa-eyebrow,
#tab-recordings .qa-feed-kicker { color: #fcd34d; }

#tab-recordings .qa-hero-art {
    border-color: rgba(253, 186, 116, .3);
    background: linear-gradient(145deg, rgba(249, 115, 22, .32), rgba(245, 158, 11, .17));
    color: #fed7aa;
    box-shadow: 0 0 35px rgba(249, 115, 22, .1), inset 0 1px rgba(255, 255, 255, .1);
}

#tab-recordings .qa-compose-icon {
    border-color: rgba(251, 191, 36, .24);
    background: rgba(217, 119, 6, .16);
    color: #fcd34d;
}

#tab-recordings #question-text:focus,
#tab-recordings #student-questions-list textarea:focus,
#tab-recordings .qa-compose-classification select:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .17) !important;
}

#tab-recordings #student-question-form > .qa-field-label small { color: #c4a878 !important; }

#tab-recordings .qa-compose-footer > p i,
#tab-recordings .qa-filter-count { color: #fbbf24; }

#tab-recordings .qa-filter-count {
    border-color: rgba(251, 191, 36, .22);
    background: rgba(217, 119, 6, .11);
}

#tab-recordings #student-question-filters .qa-filter-search > i { color: #fbbf24; }

#tab-recordings #student-question-filters input:focus,
#tab-recordings #student-question-filters select:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
}

#tab-recordings #question-submit-button {
    border-color: rgba(253, 186, 116, .25);
    background: linear-gradient(110deg, #f59e0b, #ea580c);
    box-shadow: 0 8px 20px rgba(234, 88, 12, .2);
}

#tab-recordings #question-submit-button:not(:disabled):hover {
    box-shadow: 0 11px 26px rgba(234, 88, 12, .3);
}

#tab-recordings .qa-classification {
    border-color: rgba(251, 191, 36, .25);
    background: rgba(217, 119, 6, .12);
    color: #fcd34d !important;
}

#tab-recordings .qa-question-card:hover {
    border-color: rgba(251, 191, 36, .34) !important;
    background: linear-gradient(145deg, #252019, #111827) !important;
}

#tab-recordings .qa-question-tools .qa-toggle-comments {
    border-color: rgba(251, 191, 36, .2);
    background: rgba(120, 53, 15, .12);
    color: #fcd34d !important;
}

#tab-recordings .qa-question-tools .qa-toggle-comments:hover,
#tab-recordings .qa-vote-group button:hover,
#tab-recordings .qa-question-tools > button:hover {
    background: rgba(217, 119, 6, .16);
    color: #fed7aa;
}

#tab-recordings .qa-question-tools > button[aria-pressed="true"],
#tab-recordings .qa-vote-group button[aria-pressed="true"][data-question-vote="1"] {
    border-color: rgba(251, 191, 36, .34);
    background: rgba(217, 119, 6, .14);
    color: #fcd34d;
}

#tab-recordings #student-questions-list [data-answer-node] {
    border-left-color: #f59e0b !important;
}

#tab-recordings #student-questions-list [data-answer-node] .qa-answer-author { color: #fcd34d !important; }

#tab-recordings #student-questions-list .qa-answer-children {
    border-left-color: rgba(245, 158, 11, .28);
}

#tab-recordings #student-questions-list .qa-comments-panel > form[data-question-answer-form] {
    border-color: rgba(245, 158, 11, .24);
}

#tab-recordings #student-questions-list form[data-question-answer-form] > button {
    border-color: rgba(253, 186, 116, .22);
    background: linear-gradient(110deg, #f59e0b, #ea580c);
}

#tab-recordings #student-questions-list .qa-empty-state i,
#tab-recordings #student-questions-list .qa-error-state i {
    border-color: rgba(251, 191, 36, .24);
    background: rgba(217, 119, 6, .12);
    color: #fcd34d;
}
