:root {
    --bg: #f7f7f8;
    --surface: #ffffff;
    --text: #171717;
    --muted: #666b73;
    --line: #e4e7eb;
    --accent: #a435f0;
    --accent-2: #f96816;
    --shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
body { line-height: 1.45; }

.topbar {
    height: 68px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10;
}
.logo, .brand-block { display: flex; align-items: center; gap: 12px; }
.logo-badge, .brand-mark {
    width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; font-weight: 700;
}
.site-logo { width: auto; max-width: 220px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.brand-icon { width: 36px; height: 36px; padding: 4px; border-radius: 8px; object-fit: contain; background: #fff; flex: 0 0 auto; }
.logo-preview { display: flex; align-items: center; gap: 14px; margin: 16px 0; color: var(--muted); }
.logo-preview img { width: auto; max-width: 220px; height: 64px; object-fit: contain; border: 1px solid var(--line); padding: 8px; background: #fff; }
.favicon-preview { display: flex; align-items: center; gap: 14px; margin: 12px 0; color: var(--muted); }
.favicon-preview img { width: 42px; height: 42px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: #fff; }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.topnav { display: flex; gap: 18px; color: var(--muted); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.hero {
    width: min(1180px, calc(100% - 32px)); margin: 24px auto; border-radius: 20px; overflow: hidden;
    display: grid; grid-template-columns: 1.1fr .9fr; background: linear-gradient(135deg, #1c1d1f 0%, #2b2d33 100%); color: #fff; box-shadow: var(--shadow);
}
.hero-copy { padding: 52px; }
.hero-copy h1 { font-size: 44px; line-height: 1.08; margin: 8px 0 16px; max-width: 14ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; color: #d0d4dc; font-size: 12px; }
.hero-text { max-width: 56ch; color: #d4d7dd; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-visual { min-height: 380px; }
.hero-visual img, .course-card img, .course-hero-media img { height: 100%; object-fit: cover; }

.btn {
    border: 1px solid transparent; border-radius: 10px; padding: 12px 16px; display: inline-flex;
    align-items: center; justify-content: center; font-weight: 700; cursor: pointer;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.btn.secondary { background: #fff; color: #26222c; border-color: #cfd2d8; }

.section-head, .page-head, .admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 16px; }
.section-head h2, .page-head h1, .admin-head h1 { margin: 0; }
.searchbar { display: flex; gap: 10px; }
.searchbar input, .panel input, .panel select, .panel textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit;
}

.course-grid, .trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stats-grid, .integration-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.course-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.course-card img { height: 190px; }
.course-body { padding: 16px; }
.course-body h3 { margin: 10px 0 8px; font-size: 18px; }
.course-body p { color: var(--muted); margin: 0 0 14px; min-height: 48px; }
.course-meta, .course-stats, .summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #f0e7fb; color: #6b2ab9; font-size: 12px; font-weight: 700; }

.trust-card, .stat-card, .integration-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow);
}
.trust-card span, .integration-card span, .stat-card span { display: block; color: var(--muted); margin-top: 6px; }
.stat-card strong { display: block; font-size: 30px; margin-top: 12px; }

.course-detail, .checkout-grid, .settings-stack, .login-wrap { padding-bottom: 32px; }
.course-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.course-hero-copy, .course-hero-media { background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.course-hero-copy { padding: 28px; }
.course-hero-copy h1 { margin: 12px 0; font-size: 36px; }
.course-hero-media img { height: 100%; min-height: 340px; }
.content-grid, .checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 18px; }
.panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px;
}
.lesson-list { list-style: none; padding: 0; margin: 0; }
.lesson-list li, .summary-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.lesson-list li:last-child, .summary-row:last-child { border-bottom: 0; }
.lesson-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: center; }
.lesson-list li > small { color: var(--muted); }
.lesson-preview { grid-column: 1 / -1; width: min(720px, 100%); aspect-ratio: 16 / 9; margin-top: 10px; background: #111; }
.lesson-preview iframe, .lesson-preview video { width: 100%; height: 100%; border: 0; display: block; }
.quiz-row .text-link { grid-column: 1 / -1; width: max-content; }
.text-link { color: #6b21a8; font-weight: 700; }
.price-box { font-size: 34px; font-weight: 800; color: var(--accent-2); margin-top: 12px; }

.login-wrap { display: grid; place-items: center; min-height: calc(100vh - 80px); }
.login-panel { width: min(420px, 100%); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; align-items: center; grid-column: 1 / -1; }
.settings-stack { display: grid; gap: 18px; }
.stack-form { display: grid; gap: 14px; }
.stack-form label, .form-grid label { font-weight: 700; }
.stack-form input, .stack-form select, .stack-form textarea { margin-top: 6px; }
.form-grid.compact { gap: 10px; }
.check-line { display: flex; align-items: center; gap: 9px; }
.check-line input { width: auto; margin: 0; }
.muted, .empty-state, .last-update { color: var(--muted); }
.checkout-form { display: grid; gap: 14px; }
.checkout-form h1, .checkout-form p { margin: 0; }
.checkout-form label { display: grid; gap: 6px; font-weight: 700; }
.checkout-form label small { color: var(--muted); font-weight: 400; }
.notice { padding: 14px; border: 1px solid var(--line); background: #f6f7f8; }
.notice.error { border-color: #e5aaa7; background: #fff1f0; color: #8d1d18; }
.payment-page, .payment-result { padding: 28px 0 48px; }
.payment-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.payment-heading h1 { margin: 4px 0; }
.payment-heading .eyebrow, .payment-result .eyebrow { color: #6b21a8; }
.payment-heading > strong { font-size: 24px; }
.payment-frame { display: block; width: 100%; min-height: 720px; border: 1px solid var(--line); background: #fff; }
.payment-result { display: grid; place-items: center; min-height: calc(100vh - 68px); }
.payment-result > .panel { width: min(620px, 100%); }
.payment-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.status-pill { display: inline-flex; padding: 5px 8px; border-radius: 4px; background: #eceef2; color: #4d5158; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-pill.paid { background: #e3f5e9; color: #176b34; }
.status-pill.failed { background: #fdecec; color: #9a1a1a; }
.status-pill.sent { background: #e3f5e9; color: #176b34; }
.status-pill.queued, .status-pill.retry { background: #fff4d6; color: #805b00; }
.status-pill.processing { background: #e8eefc; color: #294f9b; }
.status-pill.awaiting_payment { background: #fff4d6; color: #805b00; }
.status-pill.awaiting_transfer, .status-pill.transfer_review, .status-pill.pending { background: #fff4d6; color: #805b00; }
.status-pill.transfer_rejected, .status-pill.rejected { background: #fdecec; color: #9a1a1a; }
.status-pill.approved { background: #e3f5e9; color: #176b34; }
.coupon-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; margin-top: 18px; }
.coupon-form label { display: grid; gap: 6px; font-weight: 700; }
.coupon-form .btn { min-height: 46px; }
.discount-row { color: #176b34; }
.total-row strong { font-size: 20px; }
.coupon-error, .coupon-success { padding: 10px 12px; margin: 10px 0 0; font-size: 13px; }
.coupon-error { background: #fdecec; color: #9a1a1a; }
.coupon-success { background: #e9f9ef; color: #176b34; }
.course-scope { margin: 4px 0; padding: 14px; border: 1px solid var(--line); }
.course-scope legend { padding: 0 6px; font-weight: 800; }
.course-scope p { margin: 0 0 10px; }
.course-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; max-height: 220px; overflow: auto; }
.coupon-list { display: grid; gap: 0; }
.coupon-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.coupon-item:last-child { border-bottom: 0; }
.coupon-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.coupon-item-head > strong { font-size: 18px; }
.coupon-item h3 { margin: 8px 0 4px; font-size: 16px; }
.coupon-item p { margin: 4px 0; color: var(--muted); }
.course-rating { color: #b26b00; font-weight: 700; white-space: nowrap; }
.course-rating small { color: var(--muted); font-weight: 400; }
.reviews-section { margin-top: 24px; padding-bottom: 36px; }
.reviews-section .section-head { margin-top: 0; }
.reviews-section .eyebrow { color: #6b21a8; margin-bottom: 4px; }
.rating-large { color: #b26b00; font-size: 24px; }
.review-form { display: grid; gap: 12px; margin-bottom: 18px; }
.review-form h3 { margin: 0; }
.review-form label { display: grid; gap: 6px; font-weight: 700; }
.review-list { background: #fff; border-top: 1px solid var(--line); }
.review-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-meta span { color: #b26b00; }
.review-meta small { color: var(--muted); font-weight: 400; }
.review-item p { margin: 8px 0 0; white-space: normal; }
.qa-answer { margin: 14px 0 0 20px; padding: 12px 14px; border-left: 3px solid #6b21a8; background: #f7f5fa; }
.qa-answer p { margin: 5px 0; }
.review-admin-list { display: grid; }
.review-admin-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-admin-item:last-child { border-bottom: 0; }
.review-admin-item p { margin: 8px 0; }
.review-admin-item small { color: var(--muted); }
.community-access { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-question-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.admin-question-item:last-child { border-bottom: 0; }
.admin-question-item .review-meta > div { display: grid; gap: 4px; }
.question-copy { font-size: 16px; }
.question-reply-form { margin-top: 16px; }
.question-reply-form label { display: grid; gap: 6px; font-weight: 700; }
.bank-transfer-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; }
.bank-details h2, .bank-transfer-grid h2 { margin-top: 0; }
.bank-details dl { margin: 0; }
.bank-details dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bank-details dt { color: var(--muted); }
.bank-details dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.iban-value { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.bank-instructions, .email-notice, .inline-alert { margin-top: 16px; padding: 14px; background: #f5f6f8; }
.inline-alert.error { background: #fdecec; color: #9a1a1a; }
.inline-alert p { margin-bottom: 0; }
.panel-title-row, .email-notice { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-title-row h2 { margin: 0; }
.bank-order-detail { display: grid; gap: 5px; min-width: 260px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.bank-order-detail small { color: var(--muted); }
.bank-order-detail a { color: #5b2494; font-weight: 700; }
.bank-review-actions { display: grid; gap: 8px; margin-top: 8px; }
.bank-review-actions form { display: flex; gap: 8px; }
.bank-review-actions input { min-width: 150px; }
.full-field { grid-column: 1 / -1; }
.site-footer { margin-top: 30px; border-top: 1px solid var(--line); background: #fff; }
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 24px; padding-bottom: 24px; }
.footer-signature { display: grid; gap: 4px; }
.footer-signature span, .paytr-footer span { color: var(--muted); font-size: 12px; }
.paytr-footer { display: grid; justify-items: end; gap: 8px; max-width: 680px; text-align: right; }
.payment-marks { display: flex; align-items: center; justify-content: flex-end; gap: 14px; color: inherit; }
.payment-marks img { width: 48px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.payment-marks .paytr-mark { width: 96px; }
.payment-mark-divider { width: 1px; height: 28px; background: var(--line); }
.certificate-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px; background: #f0f1f3; }
.certificate-paper { width: min(900px, 100%); min-height: 600px; padding: 72px; text-align: center; background: #fff; border: 14px solid #292b31; box-shadow: var(--shadow); }
.certificate-paper .eyebrow, .certificate-verify-page .eyebrow { color: #6b21a8; }
.certificate-paper h1 { margin: 26px 0 12px; font-size: 38px; }
.certificate-paper h2 { margin: 42px 0 8px; font-size: 32px; }
.certificate-lead, .certificate-course { color: var(--muted); }
.certificate-course { font-size: 20px; font-weight: 700; }
.certificate-meta { display: flex; justify-content: center; gap: 80px; margin: 48px 0 24px; }
.certificate-meta span { color: var(--muted); }
.certificate-meta strong { display: block; margin-top: 5px; color: var(--text); }
.certificate-verify { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.certificate-verify a { color: #6b21a8; }
.print-button { margin-top: 16px; }
.certificate-verify-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 0; }
.certificate-verify-page > .panel { width: min(650px, 100%); }
.verify-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 24px; }
.verify-form label { display: grid; gap: 6px; font-weight: 700; }
.verification-success, .verification-error { margin-top: 24px; padding: 18px; }
.verification-success { background: #e9f9ef; color: #176b34; }
.verification-error { background: #fdecec; color: #9a1a1a; }

.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: #141417; color: #fff; padding: 22px; }
.brand-sub, .side-nav { color: #a7abb5; }
.side-nav { display: grid; gap: 10px; margin-top: 24px; }
.side-nav a { padding: 12px 14px; border-radius: 6px; background: rgba(255,255,255,.04); }
.side-nav-group{min-width:0;border-bottom:1px solid #343438;padding-bottom:8px}
.side-nav-group summary{padding:12px 4px;cursor:pointer;font-size:14px;font-weight:700;color:#e8e9ed;overflow-wrap:anywhere}
.side-nav-links{display:grid;gap:4px;padding:2px 0 8px 10px}
.side-nav .side-nav-links a{background:transparent;padding:9px 10px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.side-nav a:hover,.side-nav .side-nav-links a:hover{background:#29292f;color:#fff}
.side-nav a[aria-current=page],.side-nav .side-nav-links a[aria-current=page]{background:#234438;color:#e4fff0;box-shadow:inset 3px 0 #6ccea0}
.side-nav summary:focus-visible,.side-nav a:focus-visible,.side-nav button:focus-visible{outline:2px solid #6ccea0;outline-offset:2px}
.side-nav-account{display:grid;gap:12px;padding-top:8px}
.side-nav-account form{padding:8px 14px}
.main-stage { min-width: 0; padding: 24px; }
.flash { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; }
.flash.success { background: #e9f9ef; color: #176b34; }
.flash.error { background: #fdecec; color: #9a1a1a; }

.table-wrap { width: 100%; max-width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.actions { display: flex; gap: 10px; align-items: center; }
.actions form { margin: 0; }
.actions button { border: 0; background: transparent; color: #b91c1c; cursor: pointer; }

.admin-content-grid, .update-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.content-list-panel { margin-top: 18px; }
.content-items { display: grid; }
.content-item, .question-admin, .backup-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.content-item:last-child, .question-admin:last-child, .backup-row:last-child { border-bottom: 0; }
.content-item > div:first-child { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; }
.content-item small { grid-column: 2; color: var(--muted); }
.content-kind { background: #e8f2ff; color: #165a98; border-radius: 4px; padding: 4px 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.content-kind.test { background: #f0e7fb; color: #6b2ab9; }
.item-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.item-actions a { font-weight: 700; color: #5b2494; }
.danger-link { border: 0; padding: 0; background: transparent; color: #b42318; font: inherit; cursor: pointer; }
.question-admin { align-items: flex-start; justify-content: flex-start; }
.question-admin > div:nth-child(2) { flex: 1; }
.question-admin p { margin: 6px 0; color: var(--muted); }
.question-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #eee8f5; font-weight: 800; flex: 0 0 auto; }
.count-badge, .version-chip { display: inline-flex; align-items: center; border-radius: 4px; padding: 5px 9px; background: #eceef2; color: #4d5158; font-size: 13px; }
.version-chip { font-weight: 800; padding: 8px 12px; }

.quiz-page { padding-bottom: 44px; }
.quiz-page .page-head { align-items: flex-start; }
.quiz-page .eyebrow { color: #6b21a8; }
.quiz-form { display: grid; gap: 16px; }
.quiz-question { margin: 0; min-width: 0; }
.quiz-question legend { padding: 0 8px; font-size: 17px; font-weight: 800; }
.answer-option { display: block; margin: 9px 0; cursor: pointer; }
.answer-option input { position: absolute; opacity: 0; }
.answer-option span { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.answer-option input:checked + span { border-color: #7c3aed; background: #f5f0fb; }
.answer-feedback { margin-top: 12px; color: var(--muted); font-weight: 700; }
.answer-correct { border-color: #53a877; }
.answer-wrong { border-color: #d47770; }
.result-banner { display: flex; align-items: center; gap: 14px; margin: 18px 0; padding: 18px; border-left: 5px solid; background: #fff; }
.result-banner strong { font-size: 28px; }
.result-banner small { margin-left: auto; }
.result-banner.passed { border-color: #238451; }
.result-banner.failed { border-color: #bd3e35; }
.safe-list { margin: 0; padding-left: 20px; }
.safe-list li { padding: 7px 0; }
.update-upload p { color: var(--muted); }
.backup-row span { color: var(--muted); }

.auth-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 36px 16px; }
.auth-panel { width: min(520px, 100%); }
.auth-panel h1 { margin: 5px 0 8px; font-size: 30px; }
.auth-panel > p { color: var(--muted); }
.auth-panel > label { display: block; margin: 15px 0; font-weight: 700; }
.auth-panel .eyebrow, .student-page .eyebrow, .lesson-info .eyebrow { color: #6b21a8; }
.auth-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.auth-actions a, .auth-foot a { color: #6b21a8; font-weight: 700; }
.auth-foot { padding-top: 16px; border-top: 1px solid var(--line); }
.terms-line { font-size: 13px; color: var(--muted); }
.checkout-form label.terms-line{display:block;line-height:1.7;font-weight:400;overflow-wrap:anywhere}
.checkout-form .terms-line input[type=checkbox]{display:inline-block;width:16px;height:16px;margin:0 8px 0 0;vertical-align:middle}
.checkout-form .terms-line a{display:inline;text-decoration:underline;text-underline-offset:2px}

.student-page { padding: 30px 0 50px; }
.student-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.student-welcome h1 { margin: 5px 0; font-size: 32px; }
.student-welcome p { margin: 0; color: var(--muted); }
.student-course-list { display: grid; gap: 16px; }
.student-course { display: grid; grid-template-columns: 260px 1fr; min-height: 190px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.student-course > img { height: 100%; object-fit: cover; }
.student-course-body { padding: 20px; }
.student-course-body h2 { margin: 9px 0 6px; }
.student-course-body p { color: var(--muted); }
.student-course-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.progress-track { height: 8px; overflow: hidden; border-radius: 4px; background: #e7e9ed; }
.progress-track span { display: block; height: 100%; background: #6d28d9; }
.empty-courses { padding: 50px 20px; text-align: center; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty-courses p { color: var(--muted); }

.learning-shell { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 330px 1fr; background: #111216; color: #fff; }
.curriculum-panel { background: #fff; color: var(--text); border-right: 1px solid var(--line); }
.curriculum-panel > h2, .curriculum-panel > .progress-track, .curriculum-panel > small { margin-left: 20px; margin-right: 20px; }
.curriculum-panel > h2 { font-size: 18px; margin-top: 18px; margin-bottom: 14px; }
.curriculum-panel > small { display: block; color: var(--muted); margin-top: 7px; }
.learning-back { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line); color: #6b21a8; font-weight: 700; }
.curriculum-list { display: grid; margin-top: 18px; border-top: 1px solid var(--line); }
.curriculum-list > a { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.curriculum-list > a.active { background: #f3edf9; border-left: 4px solid #6d28d9; padding-left: 14px; }
.curriculum-list small { display: block; color: var(--muted); margin-top: 2px; }
.lesson-state { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #c9ccd2; border-radius: 50%; font-size: 12px; font-weight: 800; }
.lesson-state.done { background: #238451; border-color: #238451; color: #fff; }
.lesson-stage { min-width: 0; }
.lesson-player { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 220px); background: #08090b; }
.lesson-player iframe, .lesson-player video { width: 100%; height: 100%; display: block; border: 0; }
.lesson-video-watermark { position: absolute; z-index: 4; left: 8%; top: 12%; max-width: 84%; color: #fff; font-size: 14px; line-height: 1.35; text-shadow: 0 1px 3px #000, 0 0 6px #000; opacity: .42; pointer-events: none; user-select: none; overflow-wrap: anywhere; }
.video-placeholder { min-height: 420px; display: grid; place-items: center; color: #b7bac2; background: #0b0c0f; }
.lesson-info { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; }
.lesson-info h1 { margin: 4px 0; font-size: 25px; }
.lesson-info p { margin: 0; color: #b7bac2; }
.complete-badge { padding: 9px 12px; border: 1px solid #3f9b68; color: #72d29c; border-radius: 4px; font-weight: 700; }
.enroll-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.enroll-form label { font-weight: 700; }

.homepage-editor-section { position: relative; }
.editor-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.editor-section-head h2 { margin: 0 0 4px; }
.editor-section-head p { margin: 0; color: var(--muted); }
.switch-line { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; }
.switch-line input { width: 18px; height: 18px; margin: 0; }
.homepage-editor-section label small { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; }
.homepage-image-preview { width: min(560px, 100%); aspect-ratio: 16 / 7; margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #f0f1f3; }
.homepage-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.trust-editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-editor { border-left: 3px solid #d7c2ea; padding-left: 14px; }
.trust-editor > strong { display: block; margin-bottom: 10px; }
.trust-editor label { display: block; margin-top: 10px; font-weight: 700; }
.sticky-save { position: sticky; bottom: 0; z-index: 3; display: flex; justify-content: flex-end; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(20,20,20,.07); }

@media (max-width: 960px) {
    .hero, .course-hero, .content-grid, .checkout-grid, .admin-layout, .course-grid, .stats-grid, .integration-grid, .trust-row, .form-grid, .admin-content-grid, .update-grid, .trust-editor-grid, .bank-transfer-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy h1 { font-size: 34px; }
    .topbar { position: static; }
    .content-item, .backup-row { align-items: flex-start; flex-direction: column; }
    .result-banner { align-items: flex-start; flex-direction: column; }
    .result-banner small { margin-left: 0; }
    .editor-section-head { flex-direction: column; }
    .site-footer-inner, .community-access, .email-notice { align-items: flex-start; flex-direction: column; text-align: left; }
    .paytr-footer { justify-items: start; text-align: left; }
    .payment-marks { justify-content: flex-start; flex-wrap: wrap; }
    .student-course, .learning-shell, .enroll-form { grid-template-columns: 1fr; }
    .student-course > img { height: 210px; }
    .student-welcome, .lesson-info { align-items: flex-start; flex-direction: column; }
    .curriculum-panel { border-right: 0; }
    .lesson-player { max-height: none; }
    .video-placeholder { min-height: 240px; }
    .topnav { gap: 12px; font-size: 13px; }
    .payment-heading { align-items: flex-start; flex-direction: column; }
    .payment-frame { min-height: 660px; }
    .coupon-form, .course-checks { grid-template-columns: 1fr; }
.review-admin-item, .review-meta { align-items: flex-start; flex-direction: column; }
    .certificate-paper { min-height: 0; padding: 38px 20px; border-width: 8px; }
    .certificate-paper h1 { font-size: 28px; }
    .certificate-paper h2 { font-size: 25px; margin-top: 30px; }
    .certificate-meta, .verify-form { grid-template-columns: 1fr; flex-direction: column; gap: 18px; }
}
@media (max-width: 640px) {
    .topbar { padding: 0 14px; }
    .logo > span:last-child { display: none; }
    .site-logo { max-width: 120px; height: 34px; }
}
/* 2.7 professional administration */
.side-nav form,.nav-form{margin:0}.side-nav form button,.nav-form button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;width:100%;text-align:left;padding:inherit}.topnav .nav-form{display:inline-flex}.topnav .nav-form button{width:auto;padding:0}.footer-legal{display:flex;gap:10px 16px;flex-wrap:wrap;margin-top:8px}.footer-legal a{color:inherit;text-decoration:underline;text-underline-offset:3px}.legal-page{padding-block:44px}.legal-content{white-space:normal;line-height:1.75}.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.health-item{border:1px solid var(--border,#dedfe3);padding:16px;border-radius:6px;display:grid;gap:8px}.health-item .status-pill{justify-self:start}.settings-stack textarea{width:100%}.admin-inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-inline-actions form{display:flex;gap:6px;align-items:center}.admin-inline-actions input{min-width:120px}
.admin-nav-control,.admin-nav-toggle{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:960px){
    .sidebar{padding:16px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
    .brand-block{min-width:0}.brand-sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .admin-nav-toggle{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:6px;cursor:pointer}
    .admin-nav-toggle>span:first-child,.admin-nav-toggle>span:first-child::before,.admin-nav-toggle>span:first-child::after{display:block;width:20px;height:2px;background:#fff;content:"";transition:transform .18s ease}
    .admin-nav-toggle>span:first-child{position:relative}.admin-nav-toggle>span:first-child::before{position:absolute;top:-6px}.admin-nav-toggle>span:first-child::after{position:absolute;top:6px}
    .side-nav{grid-column:1/-1;margin-top:4px;max-height:calc(100vh - 100px);overflow:auto;padding-right:4px}
    .admin-nav-control:not(:checked)~.side-nav{display:none}
    .admin-nav-control:checked+.admin-nav-toggle>span:first-child{background:transparent}
    .admin-nav-control:checked+.admin-nav-toggle>span:first-child::before{top:0;transform:rotate(45deg)}
    .admin-nav-control:checked+.admin-nav-toggle>span:first-child::after{top:0;transform:rotate(-45deg)}
    .main-stage{padding:20px 16px}
}

/* 2.8 commerce */
.nav-count{display:inline-grid;min-width:20px;height:20px;padding:0 5px;place-items:center;border-radius:10px;background:#ece4f7;color:#5b21b6;font-size:11px;font-weight:800}.student-nav-actions,.course-buy-actions,.card-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.student-nav-actions form,.course-buy-actions form,.card-actions form{margin:0}.card-actions{padding:0 16px 16px}.card-actions .btn{font-size:13px;padding:9px 11px}.commerce-page{padding-block:30px 50px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.cart-list,.order-list{display:grid;gap:12px}.cart-item{display:grid;grid-template-columns:150px minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:12px;background:#fff;border:1px solid var(--line)}.cart-item img{width:150px;height:92px;object-fit:cover}.cart-item h2{font-size:18px;margin:8px 0 4px}.cart-item p{margin:0;color:var(--muted)}.cart-total{position:sticky;top:85px;display:grid;gap:14px}.cart-total>strong{font-size:30px}.student-order{display:grid;grid-template-columns:150px minmax(0,1fr) auto auto auto;gap:16px;align-items:center}.student-order>div{display:grid;gap:4px}.student-order ul{margin:0;padding-left:18px}.catalog-filters{display:grid;grid-template-columns:2fr repeat(5,minmax(110px,1fr)) auto auto;gap:10px;align-items:end;margin-bottom:14px}.catalog-filters label{display:grid;gap:5px;font-size:12px;font-weight:700}.catalog-result-count{margin-bottom:18px;color:var(--muted)}.pagination{display:flex;justify-content:center;gap:7px;padding-bottom:44px}.pagination a{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--line);background:#fff}.pagination a.active{background:#6d28d9;color:#fff;border-color:#6d28d9}
@media(max-width:960px){.catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cart-layout,.student-order{grid-template-columns:1fr}.cart-total{position:static}.cart-item{grid-template-columns:100px minmax(0,1fr)}.cart-item img{width:100px;height:76px}}
@media(max-width:560px){.catalog-filters,.cart-item{grid-template-columns:1fr}.cart-item img{width:100%;height:160px}.student-nav-actions{align-items:stretch}.student-nav-actions .btn{width:100%;text-align:center}}

/* 2.9 learning experience */
.curriculum-section{padding:15px 20px 9px;background:#f5f5f6;border-bottom:1px solid var(--line)}.curriculum-section>strong{display:block;font-size:13px;text-transform:uppercase}.curriculum-section>small{display:block;margin-top:4px;color:var(--muted)}.curriculum-list>a.locked{opacity:.52;cursor:not-allowed}.curriculum-quizzes{display:grid;padding:18px 20px;border-top:1px solid var(--line);gap:8px}.curriculum-quizzes>a{display:flex;justify-content:space-between;gap:10px;color:#6b21a8;font-weight:700}.curriculum-quizzes small{color:var(--muted);font-weight:400}.lesson-description{max-width:760px;line-height:1.65}.lesson-navigation{display:flex;justify-content:space-between;gap:12px;padding:0 28px 22px}.learning-tools{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 28px 28px}.learning-tool{min-width:0;padding:20px;background:#fff;color:var(--text)}.learning-tool h2,.course-announcements h2{margin-top:0;font-size:19px}.bookmark-form{display:grid;grid-template-columns:1fr auto;gap:8px}.bookmark-list{display:grid;margin-top:14px}.bookmark-list>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.bookmark-seek{appearance:none;border:0;background:transparent;padding:0;color:#6b21a8;text-align:left;cursor:pointer}.course-announcements{margin:0 28px 32px;padding:22px;background:#fff;color:var(--text)}.course-announcements article{padding:14px 0;border-top:1px solid var(--line)}.course-announcements article>div{display:flex;justify-content:space-between;gap:14px}.course-announcements p{line-height:1.65}.learning-admin-grid{margin-bottom:20px}.compact-list{display:grid;margin-top:16px}.compact-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.compact-list span{display:grid;gap:3px}.release-notes{margin-top:20px}.release-notes-text{line-height:1.75;white-space:normal}
@media(max-width:960px){.learning-tools{grid-template-columns:1fr;padding:0 18px 18px}.lesson-navigation{padding:0 18px 18px}.course-announcements{margin:0 18px 24px}.bookmark-form{grid-template-columns:1fr}.course-announcements article>div{flex-direction:column}}

/* 3.0 instructor marketplace */
.marketplace-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.payout-balance{display:grid;gap:5px;margin:22px 0;padding:18px;border-left:4px solid #6d28d9;background:#f6f2fa}.payout-balance strong{font-size:30px}.instructor-admin-list{display:grid;gap:16px}.instructor-admin-item{border:1px solid var(--line);padding:18px}.instructor-summary{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,auto);gap:18px;align-items:center;margin-bottom:16px}.instructor-summary>div{display:grid;gap:3px}.payout-action{display:grid;gap:6px;min-width:220px}.table-wrap td>small{display:block;margin-top:4px;color:var(--muted)}button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:960px){.marketplace-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.instructor-summary{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.marketplace-stats,.instructor-summary{grid-template-columns:1fr}}

/* 3.1 learning analytics */
.analytics-filter{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(150px,1fr)) auto auto;gap:10px;align-items:end}.analytics-filter label{display:grid;min-width:0;gap:5px;font-size:12px;font-weight:700}.analytics-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.analytics-stats>*{min-width:0}.metric-bar{width:110px;height:7px;overflow:hidden;background:#e7e9ed;border-radius:4px}.metric-bar span{display:block;height:100%;background:#238451}.analytics-stats .stat-card strong{font-size:26px}
@media(max-width:1180px){.analytics-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.analytics-stats,.analytics-filter{grid-template-columns:minmax(0,1fr)}.analytics-filter .btn{width:100%;text-align:center}.metric-bar{width:90px}.admin-head{align-items:flex-start;flex-direction:column}.admin-head .btn{width:100%;text-align:center}}

@media(max-width:1000px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;gap:12px;padding-block:12px}.topbar .logo{flex-shrink:0;max-width:100%}.topnav{flex-wrap:wrap;align-items:center;min-width:0;gap:10px 16px}.topnav>a{white-space:nowrap}}
@media(max-width:600px){.topnav{width:100%}.topbar .logo>span:not(.logo-badge){display:inline}}

.support-attachments{padding-left:20px;overflow-wrap:anywhere}.support-attachments li{margin:8px 0}.support-attachments a{color:#17613c;text-decoration:underline}.support-attachments small{color:var(--muted)}.support-page input[type=file]{white-space:normal;font-size:13px}

.support-report-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.support-report-filters label{display:grid;gap:6px;min-width:140px;flex:1}.support-report-filters .check-line{display:flex;min-width:190px;padding-block:10px}.support-report-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;padding:20px 0;border-block:1px solid var(--line)}.support-report-stats>div{min-width:0}.support-report-stats dt{font-size:13px;color:var(--muted)}.support-report-stats dd{margin:8px 0;font-size:25px;font-weight:700;overflow-wrap:anywhere}.support-report-stats small{font-size:12px;color:var(--muted)}.support-report-table{width:100%;overflow-x:auto}.support-report-table table{width:100%;border-collapse:collapse;min-width:680px;table-layout:fixed}.support-report-table th,.support-report-table td{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;vertical-align:top;font-size:14px}.support-report-table th{background:#eef2f0;font-size:13px}.support-report-table td small{display:block;margin-top:5px;color:var(--muted)}.support-report-table a{text-decoration:underline}.support-report-table th:first-child{width:32%}.support-overdue{color:#a62727;font-weight:700}
@media(max-width:1100px){.support-report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.support-report-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.support-report-stats dd{font-size:22px}.support-report-filters label{flex-basis:100%}}

.support-priority-fields{border:1px solid var(--line);padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.support-priority-fields legend{padding:0 6px;overflow-wrap:anywhere}.support-priority-fields label{min-width:0}
@media(max-width:1000px){.support-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.support-priority-fields,.support-filters{grid-template-columns:minmax(0,1fr)}}

/* Editable navigation and priority filters */
.topbar{height:auto;min-height:68px;gap:16px;flex-wrap:wrap;padding-block:12px}
.topbar .topnav{flex-wrap:wrap;min-width:0;max-width:100%;align-items:center}
.topbar .topnav>a,.topbar .topnav .nav-form{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.topbar .topnav .nav-form button{white-space:normal;overflow-wrap:anywhere;max-width:100%}
.navigation-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 110px;gap:16px;align-items:center;min-width:0;border:0;border-bottom:1px solid var(--line);padding:16px 0}
.navigation-editor-row label{min-width:0;display:grid;gap:6px}.navigation-editor-row .check-line{display:flex}.navigation-editor-row legend{font-size:14px;overflow-wrap:anywhere}
.support-page .support-filters{grid-template-columns:repeat(4,minmax(0,1fr)) auto auto}
@media(max-width:1000px){.support-page .support-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.navigation-editor-row,.support-page .support-filters{grid-template-columns:minmax(0,1fr)}}

/* 3.3 support center */
.support-page{padding-block:28px 48px;min-width:0;letter-spacing:0}.support-page h1{font-size:28px;overflow-wrap:anywhere;margin:8px 0}.support-page h2{font-size:20px;margin:26px 0 14px}.support-page .admin-head{gap:20px}.support-page .admin-head>div{min-width:0}.support-copy{overflow-wrap:anywhere;line-height:1.65}.support-compose,.support-category{border-block:1px solid var(--line);padding:16px 0;margin-bottom:20px}.support-page summary{cursor:pointer;font-weight:700;overflow-wrap:anywhere}.support-page details form{margin-top:20px;max-width:760px}.support-filters{display:grid;grid-template-columns:minmax(150px,2fr) repeat(2,minmax(120px,1fr)) auto auto;gap:12px;align-items:end;margin:24px 0}.support-filters label,.support-status-form label{display:grid;gap:6px;min-width:0;font-size:14px}.support-page input,.support-page select,.support-page textarea{min-width:0;max-width:100%;width:100%}.support-page input[type=checkbox]{width:auto}.support-total{font-size:14px;color:var(--muted);font-weight:400}.support-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,auto);gap:20px;padding:18px 4px;border-bottom:1px solid var(--line)}.support-row:hover{background:#edf5f2}.support-row>div{min-width:0;display:grid;gap:7px;align-content:start}.support-row strong{overflow-wrap:anywhere}.support-row small{color:var(--muted);overflow-wrap:anywhere}.support-status{display:inline-block;justify-self:start;align-self:start;padding:4px 8px;font-size:13px;line-height:1.4;border-radius:4px;background:#eceef0;color:#414751;overflow-wrap:anywhere}.status-open{background:#fff0cc;color:#765000}.status-answered{background:#def3e7;color:#17613c}.support-pagination{display:flex;justify-content:flex-end;gap:20px;align-items:center;padding:24px 0}.support-status-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:20px 0}.support-reply,.support-settings-form{max-width:800px;padding-block:20px;border-bottom:1px solid var(--line)}.support-page .stack-form>.btn{justify-self:start}.support-message{border:1px solid var(--line);border-radius:6px;margin:14px 0;padding:20px;background:#fff}.support-admin-message{border-left:3px solid #238451}.support-message header{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}.support-message time{font-size:13px;color:var(--muted)}.support-page .btn{white-space:normal;overflow-wrap:anywhere}
.support-page input:not([type=checkbox]):not([type=hidden]),.support-page select,.support-page textarea{border:1px solid #cbd0d6;border-radius:5px;background:#fff;color:#22272c;padding:10px 12px;font:inherit;box-sizing:border-box}.support-page textarea{resize:vertical;min-height:110px}.support-page input:focus,.support-page select:focus,.support-page textarea:focus{outline:2px solid #238451;outline-offset:2px}.support-category-descriptions{margin:0;font-size:13px;color:var(--muted)}.support-category-descriptions dt{font-weight:700;margin-top:6px}.support-category-descriptions dd{margin:2px 0 10px}
@media(max-width:1000px){.support-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.support-page h1{font-size:24px}.support-filters,.support-row{grid-template-columns:minmax(0,1fr)}.support-row{gap:12px}.support-message{padding:16px}.support-status-form>*{max-width:100%}.support-page .admin-head{flex-direction:column;align-items:flex-start}}

/* 3.2 course bundles */
.bundle-catalog{padding-block:24px 54px}.bundle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.bundle-card{display:grid;grid-template-rows:auto 1fr;overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow)}.bundle-image{position:relative;aspect-ratio:16/9;background:#eceef2}.bundle-image img{width:100%;height:100%;object-fit:cover}.bundle-image>span{position:absolute;left:12px;bottom:12px;padding:6px 9px;border-radius:4px;background:#17181c;color:#fff;font-size:12px;font-weight:800}.bundle-card-body{display:flex;flex-direction:column;padding:18px}.bundle-card-body>small{color:#6b21a8;font-weight:800}.bundle-card-body h2{font-size:21px;margin:8px 0}.bundle-card-body p{flex:1;color:var(--muted);line-height:1.55}.bundle-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.bundle-price strong{font-size:24px}.bundle-price del{color:var(--muted)}.bundle-price span{font-weight:700;color:#238451}.bundle-hero{padding:48px 0;background:#17181c;color:#fff}.bundle-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,460px);gap:46px;align-items:center}.bundle-hero h1{font-size:42px;margin:8px 0 14px}.bundle-hero p{max-width:720px;line-height:1.7;color:#d6d8de}.bundle-hero img{width:100%;aspect-ratio:16/10;object-fit:cover}.bundle-price.large strong{font-size:34px}.bundle-course-list{padding-block:34px 54px}.bundle-course-list>article{display:grid;grid-template-columns:34px 120px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.bundle-course-list>article>span{display:grid;width:30px;height:30px;place-items:center;background:#ece4f7;color:#5b21b6;font-weight:800}.bundle-course-list img{width:120px;height:72px;object-fit:cover}.bundle-course-list h3{margin:0 0 5px}.bundle-course-list p{margin:0;color:var(--muted)}.bundle-course-picker{display:grid;gap:9px;padding:14px;border:1px solid var(--line);max-height:300px;overflow:auto}.bundle-course-picker legend{padding:0 6px;font-weight:800}.bundle-admin-list{display:grid}.bundle-admin-list>article{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.bundle-admin-list img{width:76px;height:52px;object-fit:cover;background:#eceef2}.bundle-admin-list>article>div:nth-child(2){display:grid;gap:4px}.bundle-cart-item{border-left:4px solid #6d28d9}.summary-row span small{display:block;margin-top:3px;color:var(--muted)}
@media(max-width:960px){.bundle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bundle-hero-inner{grid-template-columns:1fr}.bundle-hero img{max-width:620px}.bundle-admin-list>article{grid-template-columns:64px minmax(0,1fr)}.bundle-admin-list .admin-inline-actions{grid-column:1/-1}}
@media(max-width:640px){.bundle-grid{grid-template-columns:1fr}.bundle-hero{padding:30px 0}.bundle-hero h1{font-size:32px}.bundle-course-list>article{grid-template-columns:30px 84px minmax(0,1fr)}.bundle-course-list img{width:84px;height:56px}.bundle-course-list>article>strong{grid-column:3}.bundle-cart-item{grid-template-columns:1fr}}
