/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.6;
}
a { color: #4361ee; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Navbar === */
.navbar {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand a { color: #fff; font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: #ccc; font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-logout { color: #ff6b6b !important; }
.nav-hamburger { display: none; }
.nav-dropdown { display: none; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }

/* === Page Header === */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #4361ee;
}
.page-header h1 { 
    font-size: 2.2rem; 
    color: #1a1a2e; 
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}
.btn:hover { background: #f5f5f5; text-decoration: none; }
.btn-primary { background: #4361ee; color: #fff; border-color: #4361ee; }
.btn-primary:hover { background: #3a56d4; }
.btn-success { background: #2ec4b6; color: #fff; border-color: #2ec4b6; }
.btn-success:hover { background: #28b0a3; }
.btn-full { width: 100%; text-align: center; }
.btn-sm { padding: 0.3rem 0.6rem; font-size: 0.8rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* === Cards === */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
}
.card h2 { font-size: 1.2rem; margin-bottom: 1rem; color: #1a1a2e; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

/* === Stats === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.stat-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.15);
    border-left: 5px solid #4361ee;
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.25);
}
.stat-card.stat-success { 
    border-left-color: #2ec4b6; 
    background: linear-gradient(135deg, #fff 0%, #f0fffe 100%);
    box-shadow: 0 4px 16px rgba(46, 196, 182, 0.15);
}
.stat-card.stat-success:hover {
    box-shadow: 0 8px 24px rgba(46, 196, 182, 0.25);
}
.stat-card.stat-warning { 
    border-left-color: #ff9f1c; 
    background: linear-gradient(135deg, #fff 0%, #fff9f0 100%);
    box-shadow: 0 4px 16px rgba(255, 159, 28, 0.15);
}
.stat-card.stat-warning:hover {
    box-shadow: 0 8px 24px rgba(255, 159, 28, 0.25);
}
.stat-number { 
    font-size: 3rem; 
    font-weight: 800; 
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.stat-label { 
    color: #555; 
    font-size: 0.95rem; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Recent Videos List === */
.recent-video-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.15s;
}
.recent-video-item:last-child {
    border-bottom: none;
}
.recent-video-item:hover {
    background: #f8f9ff;
}
.recent-video-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    font-size: 0.9rem;
}
.recent-video-icon {
    font-size: 1rem;
}
.recent-video-title {
    font-weight: 600;
    color: #1a1a2e;
}
.recent-video-question {
    color: #999;
    font-size: 0.85rem;
}
.recent-video-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
}

/* === Dashboard Action Buttons === */
.dashboard-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.dashboard-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fff;
    border: 2px solid #e1e6ff;
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    padding: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.dashboard-action-btn:hover { border-color: #4361ee; box-shadow: 0 4px 12px rgba(67,97,238,0.12); transform: translateY(-1px); text-decoration: none; color: #1a1a2e; }
.dashboard-action-btn-primary {
    background: #4361ee;
    border-color: transparent;
    color: #fff;
}
.dashboard-action-btn-primary:hover { color: #fff; }

/* === Dashboard Content === */
.dashboard-content {
    max-width: 1100px;
    margin: 0 auto;
}

/* === Dashboard Section Grid === */
.dashboard-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}

@media (max-width: 1024px) {
    .dashboard-section-grid {
        grid-template-columns: 1fr;
    }
}

/* === Mypage Grid === */
.mypage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) { .mypage-grid { grid-template-columns: 1fr; } }

/* === Section Activity Box === */
.section-activity-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border: 2px solid #e1e6ff;
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.section-activity-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.12);
    border-color: #4361ee;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #4361ee;
}
.section-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a1a2e;
    font-weight: 700;
}
.section-stat {
    font-size: 0.95rem;
    font-weight: 700;
    color: #4361ee;
    background: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 2px solid #4361ee;
}

/* === Topic Activity Row (dashboard) === */
.topic-activity-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.1s;
    font-size: 0.88rem;
    border-radius: 4px;
}
.topic-activity-row:last-child { border-bottom: none; }
.topic-activity-row:hover { background: #f8f9ff; }
.topic-activity-num {
    background: #e8edff;
    color: #4361ee;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}
.topic-activity-count {
    background: #f0f0f0;
    color: #888;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.topic-video-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-top: 0.6rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}
.topic-video-scroll::-webkit-scrollbar { display: none; }
.topic-video-card {
    flex-shrink: 0;
    width: 120px;
    background: #f8f9ff;
    border: 1px solid #e1e6ff;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.topic-video-card:hover { background: #e8edff; border-color: #4361ee; }
.topic-video-card-title {
    font-size: 0.78rem;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0.2rem;
}
.topic-video-card-time {
    font-size: 0.72rem;
    font-weight: 600;
}

.topic-activity-name {
    flex: 1;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.topic-activity-info {
    color: #999;
    font-size: 0.8rem;
    flex-shrink: 0;
    white-space: nowrap;
}

/* === Activity === */
.activity-item {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.activity-item:last-child { border-bottom: none; }
.activity-meta { font-size: 0.85rem; margin-top: 0.2rem; }

/* === Badges === */
.badge {
    display: inline-block;
    vertical-align: middle;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e9ecef;
    color: #666;
}
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-info { background: #d1ecf1; color: #0c5460; }

/* === Progress Bar === */
.progress-bar {
    background: #e9ecef;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin: 0.5rem 0;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4361ee, #2ec4b6);
    border-radius: 10px;
    transition: width 0.3s;
}
.progress-indeterminate {
    width: 30% !important;
    animation: indeterminate 1.5s infinite ease-in-out;
}
@keyframes indeterminate {
    0% { margin-left: 0; }
    50% { margin-left: 70%; }
    100% { margin-left: 0; }
}

/* === Subject Stats === */
.subject-stat { margin-bottom: 1rem; }
.subject-stat strong { display: block; margin-bottom: 0.3rem; }

/* === Model Checkboxes === */
.model-checkbox-group { display: flex; flex-direction: column; gap: 0.5rem; }
.model-checkbox-item { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem 0.75rem; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: background 0.15s; 
}
.model-checkbox-item:hover { background: #f5f5f5; }
.model-checkbox-item input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
.model-checkbox-item label { cursor: pointer; font-size: 0.95rem; flex: 1; }
.model-checkbox-item .model-tag { font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 4px; color: #fff; }

/* === Progress Steps === */
.progress-step { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem 0; 
    font-size: 0.95rem; 
}
.step-icon { font-size: 1.1rem; width: 24px; text-align: center; }
.step-text { flex: 1; }
.step-done .step-text { color: #4caf50; font-weight: 500; }
.step-fail .step-text { color: #f44336; font-weight: 500; }
.step-wait .step-text { color: #999; }

/* === Model Tabs === */
.model-tabs {
    display: flex;
    gap: 0.2rem;
    background: #f0f1f3;
    padding: 0.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.model-tab {
    padding: 0.4rem 0.9rem;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    transition: all 0.15s;
    border: none;
    background: transparent;
    user-select: none;
    white-space: nowrap;
}
.model-tab:hover { background: rgba(255,255,255,0.7); color: #333; }
.model-tab.active { background: #fff; color: #4361ee; box-shadow: 0 1px 4px rgba(0,0,0,0.13); }
.model-tab.disabled { color: #bbb; cursor: not-allowed; }
.model-tab.disabled:hover { background: transparent; color: #bbb; }

/* === Grade Cards (video_detail) === */
.grade-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    transition: border-color 0.15s;
}
.grade-card:hover { border-color: #d0d0d0; }
.grade-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}
.grade-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.grade-card-btn {
    font-size: 0.75rem;
    padding: 0.18rem 0.65rem;
    border-radius: 20px;
    border: 1.5px solid #e0e0e0;
    background: transparent;
    cursor: pointer;
    color: #777;
    font-weight: 500;
    transition: all 0.15s;
    white-space: nowrap;
}
.grade-card-btn:hover:not(:disabled) { border-color: #4361ee; color: #4361ee; background: #f0f3ff; }
.grade-card-btn:disabled { opacity: 0.4; cursor: not-allowed; }


/* === Result Content Markdown === */
.result-content table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 1rem 0; 
    font-size: 0.9rem; 
}
.result-content th, .result-content td { 
    border: 1px solid #ddd; 
    padding: 0.35rem 0.5rem; 
    text-align: left; 
    font-size: 0.85rem;
}
.result-content th { background: #f5f5f5; font-weight: 600; }
.result-content tr:hover { background: #fafafa; }

/* === Model Badges (Results Page) === */
.model-badges { display: flex; gap: 0.3rem; margin-top: 0.5rem; flex-wrap: wrap; }
.model-badge { 
    font-size: 0.7rem; 
    padding: 0.15rem 0.5rem; 
    border-radius: 4px; 
    color: #fff; 
}
.model-badge.failed { opacity: 0.4; text-decoration: line-through; }

/* === Questions Page === */
.section-header-questions { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin: 1.5rem 0 0.5rem; 
    cursor: pointer; 
    user-select: none; 
}
.section-header-questions h2 { margin: 0; font-size: 1.3rem; }
.section-id { color: #999; font-size: 0.9rem; font-weight: 500; }
.topic-row { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    padding: 0.6rem 1rem; 
    border-bottom: 1px solid #f0f0f0; 
}
.topic-row:last-child { border-bottom: none; }
.topic-number { color: #999; font-size: 0.85rem; min-width: 2rem; }
.topic-name { flex: 1; font-size: 0.95rem; }
.topic-rubrics { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.rubric-chip { 
    padding: 0.25rem 0.6rem; 
    background: #e3f2fd; 
    color: #1565c0; 
    border-radius: 4px; 
    font-size: 0.8rem; 
    cursor: pointer; 
    transition: background 0.15s; 
}
.rubric-chip:hover { background: #bbdefb; }
.no-rubric { color: #ccc; font-size: 0.8rem; }

/* === Learning Pages === */
.learning-sections {
    max-width: 1100px;
    margin: 0 auto;
}

.section-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s;
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.section-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.section-card-header h2 {
    font-size: 1.3rem;
    margin: 0;
    color: #1a1a2e;
}

.section-badge {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4361ee;
    background: #e3f2fd;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.learning-topics {
    max-width: 900px;
    margin: 0 auto;
}

.topic-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s;
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.topic-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.topic-num {
    background: #4361ee;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
}

.topic-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.topic-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.stat-item {
    color: #666;
}

.topic-learning-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .topic-learning-grid {
        grid-template-columns: 1fr;
    }
}

.video-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 1rem;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: all 0.2s;
}

.video-item:hover {
    background: #f8f9ff;
    border-color: #4361ee;
}

.rubric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.rubric-item:hover {
    background: #f8f9ff;
    border-color: #4361ee;
}

/* === Practice Cards (learning_topic) === */
.practice-list { max-width: 860px; margin: 0 auto; }

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 0.9rem;
}
@media (max-width: 600px) {
    .practice-grid { grid-template-columns: 1fr; }
}

.practice-card {
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.practice-card:hover {
    border-color: #4361ee;
    box-shadow: 0 2px 12px rgba(67,97,238,0.08);
}
.practice-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.practice-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #4361ee;
}
.practice-card-title:hover { text-decoration: underline; }
.practice-card-meta {
    font-size: 0.82rem;
    color: #999;
    margin-top: 0.15rem;
}
.practice-card-right {
    text-align: right;
    flex-shrink: 0;
}
.practice-feedback {
    background: #f8f9ff;
    border-left: 3px solid #4361ee;
    border-radius: 0 6px 6px 0;
    padding: 0.55rem 0.8rem;
    margin: 0.7rem 0 0.4rem;
}
.practice-feedback-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 0.25rem;
    letter-spacing: 0.3px;
}
.practice-feedback-text {
    font-size: 0.88rem;
    white-space: pre-wrap;
    color: #333;
    line-height: 1.55;
}
.practice-card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.6rem;
}


/* === Profile Section === */
.profile-section h3 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.stats-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
.summary-item {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border: 2px solid #e1e6ff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}
.summary-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4361ee;
    margin-bottom: 0.3rem;
}
.summary-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

/* === Login === */
/* === Landing / Login === */
.landing-page {
    min-height: 100vh;
    margin: -2rem;
    background: linear-gradient(160deg, #0f0c29 0%, #1a1a4e 50%, #0d2137 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 3rem;
    box-sizing: border-box;
}
.landing-header {
    width: 100%;
    max-width: 900px;
    margin-bottom: 3rem;
}
.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
/* 히어로 + 로그인 나란히 */
.hero-login-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    width: 100%;
    max-width: 900px;
    margin-bottom: 3rem;
}
.landing-hero {
    flex: 1;
    min-width: 0;
    padding-top: 2rem;
}
.landing-eyebrow {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.landing-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.landing-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 로그인 카드 */
.login-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 340px;
    flex-shrink: 0;
}
.auth-tabs {
    display: flex;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 1.5rem;
    gap: 4px;
}
.auth-tab {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.auth-tab.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.login-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}
.login-card .form-group label {
    color: rgba(255,255,255,0.7);
}
.login-card .form-group input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.login-card .form-group input::placeholder {
    color: rgba(255,255,255,0.35);
}
.login-card .form-group input:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
    outline: none;
    box-shadow: none;
}
/* 자동완성 배경 덮어쓰기 */
.login-card .form-group input:-webkit-autofill,
.login-card .form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(30,30,80,0.9) inset !important;
    -webkit-text-fill-color: #fff !important;
}
#confirm-group {
    transition: max-height 0.3s ease, margin-bottom 0.3s ease;
}
.toggle-auth { text-align: center; margin-top: 1.2rem; font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.toggle-auth a { color: rgba(255,255,255,0.8); font-weight: 600; text-decoration: none; }
.toggle-auth a:hover { color: #fff; }

/* 기능 카드 */
.features-scroll-wrapper {
    width: 100%;
    max-width: 900px;
    margin-bottom: 2.5rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.2rem 1rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.feature-card-label {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
    width: fit-content;
}
.feature-card-title {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.feature-card img {
    width: 100%;
    border-radius: 8px 8px 0 0;
    display: block;
}
.landing-footer {
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

/* 모바일 */
@media (max-width: 700px) {
    .landing-page { padding: 1.5rem 1rem 3rem; }
    .hero-login-row { flex-direction: column; gap: 2rem; margin-bottom: 2rem; }
    .login-card { max-width: 100%; }
    .landing-title { font-size: 2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .landing-page { margin: -0.75rem; }
    .features-grid { gap: 0.75rem; grid-template-columns: 1fr; }
}

/* 이전 레이아웃 잔재 제거 */
.landing-wrapper { display: none; }

/* 왼쪽 랜딩 */
.landing-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #0f0c29, #1a1a4e, #0d2137);
    padding: 2.5rem 3rem;
    overflow: hidden;
    min-width: 0;
}
.landing-header {
    margin-bottom: 2.5rem;
}
.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.landing-hero {
    margin-bottom: 2rem;
}
.landing-eyebrow {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.landing-title {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.landing-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 기능 슬라이드 */
.feature-slider {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.feature-slides {
    flex: 1;
    position: relative;
    min-height: 0;
}
.feature-slide {
    display: none;
    flex-direction: column;
    height: 100%;
}
.feature-slide.active {
    display: flex;
}
.feature-slide-text {
    margin-bottom: 0.8rem;
}
.feature-num {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.4rem;
}
.feature-caption {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}
.feature-slide img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.slide-dots {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}
.dot.active {
    background: #fff;
    width: 20px;
    border-radius: 3px;
}


@media (max-width: 768px) {
    .landing-wrapper { flex-direction: column; }
    .landing-left { padding: 2rem 1.5rem; min-height: auto; }
    .landing-title { font-size: 1.8rem; }
    .landing-right { min-width: unset; max-width: unset; width: 100%; }
    .feature-slide img { max-height: 180px; }
}
@media (max-width: 600px) {
    .landing-wrapper { margin: -0.75rem; }
}

/* === Form === */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.9rem; color: #333; }
.form-group input, .form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: #4361ee; }
.error-msg { background: #fff5f5; color: #c53030; padding: 0.7rem; border-radius: 8px; font-size: 0.9rem; margin-bottom: 1rem; }

/* === Upload === */
.upload-card { max-width: 600px; margin: 0 auto; }
.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.drop-zone:hover, .drop-zone.drag-over { border-color: #4361ee; background: #f8f9ff; }
.drop-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.file-info #file-name { font-weight: 600; flex: 1; }
.file-info #file-size { color: #666; }

/* === Video Cards === */
.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.video-thumb {
    background: #1a1a2e;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-icon { font-size: 3rem; color: rgba(255,255,255,0.8); }
.video-card-body { padding: 1rem; }
.video-card-body h3 { font-size: 0.95rem; margin-bottom: 0.3rem; word-break: break-all; }
.video-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }

/* === Result Cards === */
.result-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.result-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.result-card-header { margin-bottom: 0.5rem; }
.result-card-body h3 { font-size: 0.95rem; margin-bottom: 0.3rem; word-break: break-all; }

/* === Detail Single Column === */
.detail-single {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* === Info Table === */
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.info-table th, .info-table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e9ecef;
    text-align: left;
}
.info-table th {
    background: #f8f9fa;
    color: #666;
    font-weight: 600;
    white-space: nowrap;
}
.info-table td {
    color: #1a1a2e;
}
@media (max-width: 600px) {
    .info-table, .info-table thead, .info-table tbody, .info-table tr, .info-table th, .info-table td {
        display: block;
        width: 100%;
    }
    .info-table thead tr { display: none; }
    .info-table td {
        padding: 0.4rem 0.75rem;
        border: none;
        border-bottom: 1px solid #f0f0f0;
    }
    .info-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        display: block;
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
}

/* === Video Player === */
.video-player-card { padding: 0; overflow: hidden; }
.video-player-card video { display: block; border-radius: 12px; }

/* === Grade Card === */
.grade-card {
    padding: 0.75rem 1.2rem;
}
.grade-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.grade-row + .grade-row {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid #f0f0f0;
}

/* === Grade Bar (compact) === */
.grade-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.grade-bar-models {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    flex: 1;
}
.grade-bar-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    background: #fff;
}
.grade-bar-chip:hover { border-color: #4361ee; background: #f8f9ff; }
.grade-bar-chip:has(input:checked) { border-color: #4361ee; background: #e8edff; color: #4361ee; font-weight: 600; }
.grade-bar-chip input { display: none; }
.grade-bar-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .grade-bar { flex-direction: column; align-items: stretch; }
    .grade-bar-actions { justify-content: stretch; }
    .grade-bar-actions .btn { flex: 1; text-align: center; }
}

/* === Result Content === */
.result-content {
    line-height: 1.8;
    font-size: 0.95rem;
}
.result-content h2 { font-size: 1.2rem; margin: 1rem 0 0.5rem; color: #1a1a2e; }
.result-content h3 { font-size: 1.05rem; margin: 0.8rem 0 0.4rem; color: #333; }
.mark-o { color: #2ec4b6; font-weight: 700; }
.mark-x { color: #ff6b6b; font-weight: 700; }

/* === Questions === */
.subject-section { margin-bottom: 2rem; }
.subject-section h2 { font-size: 1.4rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #4361ee; }
.question-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.question-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.question-card.disabled { opacity: 0.5; cursor: default; }
.question-card.disabled:hover { transform: none; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.question-card h3 { margin-bottom: 0.5rem; }

/* === Modal === */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
}
.modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}
.modal-header h2 { font-size: 1.3rem; }
.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}
.modal-body { padding: 1.5rem; }
.checklist-section { margin-bottom: 1.5rem; }
.checklist-section h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #1a1a2e; }
.checklist-section ol { padding-left: 1.5rem; }
.checklist-section li { margin-bottom: 0.4rem; line-height: 1.5; }

/* === Format Guide === */
.format-guide { display: flex; flex-direction: column; gap: 1rem; }
.guide-item code {
    display: block;
    background: #f8f9fa;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #4361ee;
    margin-bottom: 0.3rem;
}
.guide-item p { font-size: 0.85rem; }

/* === Empty State === */
.empty-state { text-align: center; padding: 3rem; grid-column: 1 / -1; }
.empty-state p { color: #666; margin-bottom: 1rem; font-size: 1.1rem; }

/* === Utilities === */
.text-muted { color: #888; }
.text-center { text-align: center; }

/* === Alert Boxes === */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 4px solid;
    background: #fff;
}
.alert-warning {
    border-left-color: #ff9f1c;
    background: linear-gradient(135deg, #fff9f0 0%, #fffbf5 100%);
}
.alert-info {
    border-left-color: #4361ee;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8faff 100%);
}
.alert strong {
    display: block;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.alert ul {
    color: #555;
    line-height: 1.8;
}
.alert ul li {
    margin: 0.3rem 0;
}

/* === Feedback Page === */
.feedback-filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-tab-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab-btn {
    padding: 0.45rem 1.1rem;
    border: 2px solid #e1e6ff;
    border-radius: 20px;
    background: #fff;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
}
.filter-tab-btn:hover { border-color: #4361ee; color: #4361ee; }
.filter-tab-btn.active { border-color: #4361ee; background: #4361ee; color: #fff; }

.filter-sub { padding-top: 0.25rem; }

.period-btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.period-btn {
    padding: 0.4rem 1rem;
    border: 2px solid #e1e6ff;
    border-radius: 8px;
    background: #fff;
    color: #555;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s;
}
.period-btn:hover { border-color: #4361ee; color: #4361ee; }
.period-btn.active { border-color: #4361ee; background: #e8edff; color: #4361ee; font-weight: 700; }

.filter-select {
    padding: 0.45rem 0.9rem;
    border: 2px solid #e1e6ff;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s;
}
.filter-select:focus { outline: none; border-color: #4361ee; }

.filter-date-input {
    padding: 0.45rem 0.8rem;
    border: 2px solid #e1e6ff;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    transition: border-color 0.15s;
}
.filter-date-input:focus { outline: none; border-color: #4361ee; }

.feedback-count-bar {
    font-size: 0.95rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
}

.feedback-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    margin-bottom: 0.7rem;
    cursor: pointer;
    transition: box-shadow 0.15s;
    border: 1px solid #e8e8e8;
    border-top: 3px solid #f0f0f0;
}
.feedback-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #d5d5d5;
    border-top-color: #d5d5d5;
}

.feedback-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}
.feedback-meta-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.feedback-date {
    font-size: 0.82rem;
    color: #999;
    flex-shrink: 0;
}

.feedback-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
}

.feedback-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 0.4rem 0;
}

.feedback-text {
    font-size: 0.92rem;
    color: #333;
    white-space: pre-wrap;
    line-height: 1.65;
}

.feedback-sep {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0 0 0.7rem;
}

.feedback-card-empty {
    opacity: 0.55;
}
.feedback-card-empty:hover {
    opacity: 0.75;
}

.feedback-empty-inline {
    font-size: 0.88rem;
    color: #bbb;
    font-style: italic;
}

.include-empty-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #666;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}
.include-empty-toggle input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #4361ee;
}

.feedback-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #555;
    font-size: 1.05rem;
}

/* === Responsive === */
@media (max-width: 600px) {
    .navbar { padding: 0 0.75rem; height: 45px; overflow: visible; }
    .nav-brand a { font-size: 0.85rem; white-space: nowrap; }
    .nav-links { gap: 0.75rem; }
    .nav-links a { font-size: 0.8rem; white-space: nowrap; }
    .nav-secondary { display: none; }
    .nav-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 4px;
        color: #fff;
        font-size: 1rem;
        width: 30px;
        height: 28px;
        cursor: pointer;
        flex-shrink: 0;
    }
    .nav-dropdown {
        position: absolute;
        top: 45px;
        right: 0.75rem;
        width: 180px;
        background: #1a1a2e;
        flex-direction: column;
        z-index: 99;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .nav-dropdown.open { display: flex; }
    .nav-dropdown a {
        color: #ccc;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        text-decoration: none;
    }
    .nav-dropdown a:hover { color: #fff; background: rgba(255,255,255,0.05); }
    .nav-dropdown .nav-logout { color: #ff6b6b !important; }
    .container { padding: 0.75rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }

    .page-header { margin-bottom: 1.2rem; padding-bottom: 0.75rem; }
    .page-header h1 { font-size: 1.4rem; }

    .card { padding: 1rem; margin-bottom: 0.75rem; }
    .card h2 { font-size: 1rem; margin-bottom: 0.75rem; }

    .stat-card { padding: 1.2rem 1rem; }
    .stat-number { font-size: 2rem; }

    .practice-card { padding: 0.75rem 0.9rem; }
    .practice-grid { gap: 0.6rem; }

    /* Learning pages */
    .section-card { padding: 0.75rem 0.9rem; }
    .section-card-header h2 { font-size: 0.9rem; }
    .section-badge { font-size: 0.72rem; padding: 0.15rem 0.5rem; }
    .topic-card { padding: 0.7rem 0.85rem; }
    .topic-card-header { gap: 0.5rem; margin-bottom: 0.5rem; }
    .topic-card-header h3 { font-size: 0.88rem; }
    .topic-num { font-size: 0.72rem; min-width: 30px; padding: 0.2rem 0.4rem; }
    .topic-stats { font-size: 0.78rem; gap: 0.6rem; }
    .rubric-item { padding: 0.5rem 0.7rem; }
    .practice-card-title { font-size: 0.88rem; }
    .practice-card-meta { font-size: 0.76rem; }
    .practice-feedback-text { font-size: 0.82rem; }

    /* Dashboard */
    .dashboard-action-row { grid-template-columns: 1fr 1fr; }
    .dashboard-action-btn:last-child { grid-column: 1 / -1; }

    /* Feedback page */
    .feedback-filter-bar { padding: 0.85rem 1rem; gap: 0.75rem; }
    .filter-tab-btn { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
    .period-btn { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
    .filter-select { padding: 0.35rem 0.6rem; font-size: 0.82rem; }
    .filter-date-input { padding: 0.35rem 0.6rem; font-size: 0.82rem; }
    .feedback-count-bar { font-size: 0.82rem; }
    .feedback-card { padding: 0.85rem 1rem; margin-bottom: 0.4rem; }
    .feedback-sep { margin: 0 0 0.4rem; }
    .feedback-meta { margin-bottom: 0.35rem; }
    .feedback-title { font-size: 0.88rem; margin-bottom: 0.35rem; }
    .feedback-divider { margin: 0.35rem 0; }
    .feedback-text { font-size: 0.84rem; }
    .include-empty-toggle { font-size: 0.8rem; }
    .dashboard-section-grid { gap: 0.7rem; }
    .section-activity-box { padding: 0.75rem 0.85rem; }
    .section-header { margin-bottom: 0.45rem; padding-bottom: 0.4rem; }
    .section-header h4 { font-size: 0.88rem; }
    .section-stat { font-size: 0.78rem; padding: 0.15rem 0.55rem; }
    .activity-item { padding: 0.5rem 0; }
    .activity-meta { font-size: 0.76rem; }
    .recent-video-info { font-size: 0.82rem; }
    .recent-video-meta { font-size: 0.78rem; }
    .recent-video-title { font-size: 0.82rem; }
    .badge { font-size: 0.65rem; padding: 0.1rem 0.45rem; }
}
