@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --font-sans: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-soft: #f8f9fd;
    --line: #dce2ef;
    --text: #1d2749;
    --muted: #667390;
    --muted-strong: #44526f;
    --primary: #1f2d68;
    --primary-soft: #edf1fb;
    --accent: #b59a62;
    --accent-soft: #f7efdf;
    --success: #0f8a5f;
    --success-soft: #e8f7f1;
    --warning: #8d7641;
    --warning-soft: #f9f1df;
    --danger: #b42318;
    --danger-soft: #ffe9e6;
    --shadow-lg: 0 22px 48px rgba(24, 37, 84, 0.12);
    --shadow-md: 0 14px 34px rgba(24, 37, 84, 0.09);
    --shadow-sm: 0 8px 22px rgba(24, 37, 84, 0.06);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --sidebar-width: 286px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 24%),
        radial-gradient(circle at top right, rgba(181, 154, 98, 0.08), transparent 22%),
        linear-gradient(180deg, #fbfcff 0%, #eef2f8 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

textarea {
    resize: vertical;
    min-height: 130px;
}

.layout-auth {
    overflow-x: hidden;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.auth-card {
    width: min(100%, 460px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(31, 45, 104, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 36px;
    backdrop-filter: blur(16px);
    display: grid;
    gap: 20px;
    justify-items: center;
}

.auth-card__intro {
    width: 100%;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 12px;
}

.auth-logo {
    width: min(100%, 220px);
    height: auto;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-card h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
}

.auth-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.auth-card__intro > p:not(.auth-card__summary) {
    display: none;
}

.auth-card__summary {
    max-width: 340px;
    color: var(--muted);
    line-height: 1.7;
}

.auth-card__footer {
    display: none;
}

.auth-card > * {
    width: 100%;
}

.auth-form {
    width: 100%;
}

.auth-form .form-field {
    text-align: left;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: rgba(251, 252, 255, 0.96);
    border-right: 1px solid rgba(31, 45, 104, 0.12);
    backdrop-filter: blur(18px);
    padding: 22px;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar__brand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.sidebar__brand a {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 12px;
    align-items: flex-start;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827 0%, #2b3447 100%);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-logo {
    width: min(100%, 190px);
    height: auto;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-copy strong {
    font-size: 16px;
    line-height: 1.25;
    color: var(--primary);
}

.brand-copy small {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sidebar__close,
.topbar__menu-button {
    display: none;
    border: none;
    background: var(--primary-soft);
    color: var(--primary);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    cursor: pointer;
}

.sidebar__nav {
    display: grid;
    gap: 8px;
}

.sidebar__link {
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--muted-strong);
    font-weight: 600;
    transition: 0.22s ease;
}

.sidebar__link:hover,
.sidebar__link.is-active {
    background: linear-gradient(135deg, var(--primary) 0%, #31418a 100%);
    color: #fff;
    transform: translateX(2px);
    box-shadow: inset 0 0 0 1px rgba(181, 154, 98, 0.18);
}

.sidebar__footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted);
}

.sidebar__footer a {
    color: var(--text);
    font-weight: 700;
}

.app-main {
    flex: 1;
    min-width: 0;
    padding: 24px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 4px 22px;
}

.topbar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    color: var(--primary);
}

.topbar p {
    margin: 6px 0 0;
    color: var(--muted);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.user-pill__avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--primary);
    font-weight: 800;
}

.content {
    display: grid;
    gap: 24px;
}

.page-header,
.panel,
.metric-card,
.course-card,
.lesson-item,
.question-card,
.hero-card,
.stat-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(231, 231, 234, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.page-header {
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.page-header h2,
.hero-card h2,
.panel h3 {
    margin: 0 0 8px;
    color: var(--primary);
}

.page-header p,
.hero-card p,
.panel p,
.muted {
    color: var(--muted);
}

.panel {
    padding: 24px;
}

.panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.panel__header h3 {
    margin: 0;
}

.panel__header p {
    margin: 6px 0 0;
}

.grid-4,
.grid-3,
.grid-2,
.course-grid,
.stats-grid {
    display: grid;
    gap: 18px;
}

.grid-4,
.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3,
.course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.stat-card {
    padding: 22px;
}

.metric-card span,
.stat-card span {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 14px;
}

.metric-card strong,
.stat-card strong {
    display: block;
    font-size: 32px;
    line-height: 1.1;
}

.button-row,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.button.is-loading,
.button[aria-disabled="true"] {
    opacity: 0.72;
    pointer-events: none;
}

.button--primary {
    background: linear-gradient(135deg, var(--primary) 0%, #31418a 100%);
    color: #fff;
}

.button--secondary {
    background: var(--primary-soft);
    color: var(--primary);
}

.button--danger {
    background: var(--danger);
    color: #fff;
}

.button--ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--line);
}

.button--full {
    width: 100%;
}

.form-stack,
.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-weight: 700;
    color: var(--muted-strong);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field textarea {
    min-height: 160px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(31, 45, 104, 0.28);
    box-shadow: 0 0 0 4px rgba(31, 45, 104, 0.08);
}

.form-note {
    margin-top: -4px;
    color: var(--muted);
    font-size: 13px;
}

.table-wrapper {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table th,
.table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
}

.table th {
    color: var(--muted-strong);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #fbfbfc;
}

.table tr:last-child td {
    border-bottom: none;
}

.table td small,
.subtext {
    color: var(--muted);
    display: block;
    margin-top: 4px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.badge--success {
    background: var(--success-soft);
    color: var(--success);
}

.badge--warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.badge--danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.badge--muted {
    background: var(--primary-soft);
    color: var(--muted-strong);
}

.alert {
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 16px;
    font-weight: 600;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.alert.is-hidden {
    opacity: 0;
    transform: translateY(-6px);
}

.alert--success {
    background: var(--success-soft);
    color: var(--success);
}

.alert--danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.alert--warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.alert--info {
    background: var(--primary-soft);
    color: var(--muted-strong);
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: auto -60px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 154, 98, 0.16), transparent 68%);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-meta span {
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--muted-strong);
    font-weight: 600;
}

.course-card {
    overflow: hidden;
}

.course-card__cover {
    height: 160px;
    background: linear-gradient(135deg, var(--primary) 0%, #4052a0 100%);
}

.course-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card__body {
    padding: 22px;
    display: grid;
    gap: 14px;
}

.course-card__body h3 {
    margin: 0;
}

.info-list {
    display: grid;
    gap: 10px;
}

.info-list span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: var(--surface-soft);
    border-radius: 14px;
    color: var(--muted-strong);
}

.detail-summary {
    display: grid;
    gap: 10px;
}

.detail-summary span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #fcfcfd 0%, #f7f8fa 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--muted-strong);
}

.detail-summary--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-style: italic;
    text-align: right;
}

.summary-link-button:hover {
    text-decoration: underline;
}

.lesson-list {
    display: grid;
    gap: 14px;
}

.lesson-item {
    padding: 18px 20px;
}

.lesson-item h4 {
    margin: 0 0 8px;
}

.lesson-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.lesson-item__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
}

.embed-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 9;
}

.embed-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-poster {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #0f0f11;
    cursor: pointer;
    overflow: hidden;
}

.video-poster img,
.video-poster__fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-poster__fallback {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.04em;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 28%),
        linear-gradient(135deg, var(--primary) 0%, #324188 100%);
}

.video-poster__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.12) 0%, rgba(7, 10, 18, 0.18) 36%, rgba(7, 10, 18, 0.7) 100%);
}

.video-poster__badge,
.video-poster__play,
.video-poster__hint {
    position: absolute;
    left: 24px;
    color: #fff;
    z-index: 1;
}

.video-poster__badge {
    top: 24px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(31, 45, 104, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-poster__play {
    bottom: 70px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
}

.video-poster__hint {
    bottom: 28px;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 600;
}

.question-card {
    padding: 18px 20px;
    display: grid;
    gap: 12px;
}

.question-card__header,
.flex-between {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.question-card__headline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.question-answer {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.question-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.question-follow-up-inline {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px dashed #d0d8e4;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f7fa 100%);
}

.question-follow-up-inline[hidden] {
    display: none;
}

.question-context {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.question-context__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.question-meta-list {
    display: grid;
    gap: 10px;
}

.question-meta-list span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--muted-strong);
}

.empty-state {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed #d7dce3;
    color: var(--muted);
    text-align: center;
}

.cover-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--primary-soft);
}

.status-panel {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.search-bar > * {
    flex: 1 1 180px;
}

.search-bar .button,
.search-bar a {
    flex: 0 0 auto;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
}

.attachment-list {
    display: grid;
    gap: 12px;
}

.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.attachment-item strong {
    display: block;
}

.helper-text {
    font-size: 13px;
    color: var(--muted);
}

.follow-up-banner {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--primary-soft);
    border: 1px solid rgba(31, 45, 104, 0.12);
    color: var(--muted-strong);
}

.follow-up-banner[hidden] {
    display: none;
}

.conversation-thread {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.conversation-disclosure {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #fcfcfd 0%, #f7f8fa 100%);
}

.conversation-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 800;
    color: var(--text);
    list-style: none;
}

.conversation-disclosure summary::-webkit-details-marker {
    display: none;
}

.conversation-disclosure summary::after {
    content: '+';
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 18px;
    line-height: 1;
}

.conversation-disclosure[open] summary::after {
    content: '-';
}

.conversation-thread__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.conversation-thread__header h4 {
    margin: 0;
}

.conversation-thread__header small {
    color: var(--muted);
}

.conversation-item {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(250, 250, 252, 0.95);
}

.conversation-item.is-current {
    border-color: #c7d2e2;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.05);
}

body.modal-open {
    overflow: hidden;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.42);
    backdrop-filter: blur(6px);
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-card {
    width: min(100%, 820px);
    max-height: min(88vh, 860px);
    overflow: auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(231, 231, 234, 0.96);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 20px;
}

.modal-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.modal-card__header h3 {
    margin: 0 0 8px;
}

.modal-card__header p {
    margin: 0;
    color: var(--muted);
}

.modal-close {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.modal-grid span {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--muted-strong);
}

.modal-grid strong {
    color: var(--text);
}

@media (max-width: 1180px) {
    .grid-4,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3,
    .course-grid,
    .split-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        z-index: 1000;
        box-shadow: var(--shadow-lg);
    }

    .sidebar__close,
    .topbar__menu-button {
        display: inline-grid;
        place-items: center;
    }

    .sidebar-open .sidebar {
        transform: translateX(0);
    }

    .app-main {
        padding: 18px;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar__right {
        width: 100%;
    }

    .user-pill {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .auth-shell {
        padding: 18px;
    }

    .auth-card,
    .hero-card,
    .page-header,
    .panel,
    .metric-card,
    .stat-card {
        padding: 20px;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .stats-grid,
    .course-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .topbar h1 {
        font-size: 24px;
    }

    .table th,
    .table td {
        padding: 12px;
    }

    .attachment-item,
    .lesson-item__footer,
    .page-header,
    .flex-between,
    .question-card__header,
    .detail-summary span,
    .question-meta-list span,
    .modal-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .video-poster__badge,
    .video-poster__play,
    .video-poster__hint {
        left: 18px;
    }

    .video-poster__play {
        bottom: 62px;
        font-size: 24px;
    }

    .video-poster__hint {
        bottom: 20px;
        max-width: calc(100% - 36px);
        font-size: 13px;
    }
}
