/* Student feature hubs */
.feature-page{background:#f5f7fb;min-height:100vh}
.feature-hero{padding:42px 0 24px;background:linear-gradient(180deg,#fff,#f8fbff);border-bottom:1px solid var(--line)}
.feature-hero-card{background:linear-gradient(135deg,#0f172a,#172554 58%,#1d4ed8 140%);color:#fff;border-radius:30px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;overflow:hidden;box-shadow:0 24px 70px rgba(15,23,42,.18)}
.feature-hero-card:before{content:"";position:absolute;width:320px;height:320px;border-radius:50%;background:rgba(96,165,250,.1);left:-120px;top:-180px}
.feature-hero-copy{position:relative;z-index:1}.feature-hero-copy h1{font-size:38px;line-height:1.2;margin:6px 0}.feature-hero-copy p{margin:0;color:#cbd5e1;max-width:700px;font-size:13px}
.feature-hero-art{font-size:70px;position:relative;z-index:1}
.feature-container{padding-top:26px;padding-bottom:76px}
.feature-toolbar{background:#fff;border:1px solid var(--line);border-radius:20px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.feature-tabs{display:flex;gap:7px;flex-wrap:wrap}.feature-tabs button{border:1px solid var(--line);background:#fff;color:#64748b;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900}.feature-tabs button.active{background:#0f172a;color:#fff;border-color:#0f172a}
.feature-filter{display:flex;gap:8px;flex-wrap:wrap}.feature-filter select,.feature-filter input{border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:9px 11px;outline:none;font-size:12px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feature-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:19px;box-shadow:0 8px 24px rgba(15,23,42,.04);transition:.18s}
.feature-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}
.feature-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.feature-card h3{font-size:17px;margin:5px 0}.feature-card p{font-size:12px;color:#64748b;margin:0}
.feature-card-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;font-size:21px}.feature-card-icon.blue{background:#dbeafe;color:#1d4ed8}.feature-card-icon.green{background:#dcfce7;color:#059669}.feature-card-icon.red{background:#fee2e2;color:#dc2626}.feature-card-icon.violet{background:#ede9fe;color:#7c3aed}.feature-card-icon.amber{background:#fef3c7;color:#d97706}
.feature-meta{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.feature-meta span{background:#f8fafc;border:1px solid #f1f5f9;border-radius:999px;padding:5px 8px;font-size:12px;color:#64748b;font-weight:800}
.feature-card-actions{display:flex;gap:7px;margin-top:14px}.feature-card-actions .btn{flex:1}
.feature-empty{grid-column:1/-1;background:#fff;border:1px dashed #cbd5e1;border-radius:22px;padding:48px 20px;text-align:center}.feature-empty span{font-size:46px}.feature-empty h3{margin:8px 0}.feature-empty p{font-size:12px;color:#64748b;margin:0}
.feature-stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.feature-stat-row article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;display:flex;align-items:center;gap:11px}.feature-stat-row strong,.feature-stat-row small{display:block}.feature-stat-row strong{font-size:18px}.feature-stat-row small{font-size:12px;color:#64748b}

/* Exam center */
.exam-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px}.exam-list{display:grid;gap:12px}.exam-card{background:#fff;border:1px solid var(--line);border-radius:21px;padding:18px;display:grid;grid-template-columns:52px 1fr auto;gap:13px;align-items:center}.exam-card .exam-icon{width:52px;height:52px;border-radius:16px;background:#dcfce7;color:#059669;display:grid;place-items:center;font-size:20px}.exam-card h3{font-size:14px;margin:0}.exam-card p{font-size:12px;color:#64748b;margin:3px 0}.exam-sidebar{display:grid;gap:14px;align-content:start}.exam-side-card{background:#fff;border:1px solid var(--line);border-radius:21px;padding:18px}.exam-side-card h3{margin:4px 0}.exam-history-list{display:grid;gap:7px;margin-top:10px}.exam-history-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid #f1f5f9;font-size:12px}.score-pill{border-radius:999px;padding:5px 8px;font-weight:900}.score-pill.good{background:#dcfce7;color:#047857}.score-pill.mid{background:#fef3c7;color:#b45309}.score-pill.low{background:#fee2e2;color:#b91c1c}

/* Leaderboard */
.leaderboard-shell{max-width:980px;margin:auto}.podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:12px;align-items:end;margin:28px 0}.podium-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;text-align:center;box-shadow:0 8px 24px rgba(15,23,42,.04)}.podium-card.first{padding-top:30px;box-shadow:0 22px 50px rgba(37,99,235,.12)}.podium-medal{font-size:42px}.podium-avatar{width:58px;height:58px;border-radius:18px;background:#dbeafe;color:#1d4ed8;display:grid;place-items:center;margin:8px auto;font-size:20px;font-weight:900}.podium-card h3{font-size:13px;margin:5px 0}.podium-card strong{color:#1d4ed8;font-size:16px}
.rank-list{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}.rank-row{display:grid;grid-template-columns:50px 1fr 100px 90px;gap:10px;align-items:center;padding:13px 16px;border-bottom:1px solid #f1f5f9}.rank-row:last-child{border-bottom:0}.rank-position{font-weight:900;color:#64748b}.rank-user{display:flex;align-items:center;gap:9px}.rank-avatar{width:38px;height:38px;border-radius:12px;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;font-weight:900}.rank-user strong,.rank-user small{display:block}.rank-user strong{font-size:12px}.rank-user small{font-size:12px;color:#64748b}.rank-xp{font-weight:900;color:#1d4ed8}.rank-level{font-size:12px;color:#64748b}

/* Live sessions */
.live-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.live-card{background:#fff;border:1px solid var(--line);border-radius:23px;overflow:hidden}.live-cover{min-height:160px;background:linear-gradient(135deg,#111827,#1e3a8a);display:grid;place-items:center;position:relative;color:#fff}.live-cover span{font-size:52px}.live-status{position:absolute;top:12px;right:12px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.live-status.live{background:#fee2e2;color:#b91c1c}.live-status.upcoming{background:#dbeafe;color:#1d4ed8}.live-status.ended{background:#e2e8f0;color:#475569}.live-card-body{padding:17px}.live-card-body h3{font-size:16px;margin:0}.live-card-body p{font-size:12px;color:#64748b}.live-actions{display:flex;gap:7px;margin-top:12px}.live-actions .btn{flex:1}
.live-viewer{position:fixed;inset:0;background:rgba(2,6,23,.72);z-index:160;display:grid;place-items:center;padding:18px;backdrop-filter:blur(8px)}.live-viewer-panel{width:min(980px,100%);background:#fff;border-radius:25px;overflow:hidden}.live-video{aspect-ratio:16/9;background:#020617}.live-video iframe{width:100%;height:100%;border:0}.live-viewer-head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px}.live-viewer-head h3{margin:0}

/* Library */
.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.library-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:17px;display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:11px}.library-icon{width:50px;height:50px;border-radius:15px;background:#fee2e2;color:#dc2626;display:grid;place-items:center;font-size:19px}.library-card h3{font-size:13px;margin:0}.library-card p{font-size:12px;color:#64748b;margin:3px 0}.library-open{width:34px;height:34px;border-radius:11px;background:#eff6ff;color:#2563eb;display:grid;place-items:center}

/* Community */
.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.community-feed{display:grid;gap:12px}.community-post{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px}.community-author{display:flex;align-items:center;gap:10px}.community-avatar{width:40px;height:40px;border-radius:13px;background:#ede9fe;color:#7c3aed;display:grid;place-items:center;font-weight:900}.community-author strong,.community-author small{display:block}.community-author strong{font-size:12px}.community-author small{font-size:12px;color:#64748b}.community-post h3{font-size:16px;margin:14px 0 5px}.community-post>p{font-size:12px;color:#475569;white-space:pre-wrap}.community-actions{display:flex;gap:14px;border-top:1px solid #f1f5f9;padding-top:10px;margin-top:12px}.community-actions button{border:0;background:none;color:#64748b;font-size:12px;font-weight:900}.community-actions button.liked{color:#e11d48}.community-side{display:grid;gap:14px;align-content:start}.community-side-card{background:#fff;border:1px solid var(--line);border-radius:21px;padding:17px}.group-list{display:grid;gap:8px;margin-top:10px}.study-group-card{border:1px solid var(--line);border-radius:15px;padding:11px}.study-group-card strong,.study-group-card small{display:block}.study-group-card strong{font-size:12px}.study-group-card small{font-size:12px;color:#64748b}.new-post-form{display:grid;gap:9px}.new-post-form input,.new-post-form textarea{border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:10px;outline:none}.new-post-form textarea{min-height:100px;resize:vertical}

/* Simulations */
.sim-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.sim-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:19px}.sim-card h3{margin:8px 0}.sim-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0}.sim-counts span{background:#f8fafc;border:1px solid #f1f5f9;border-radius:11px;padding:8px 5px;text-align:center;font-size:12px}.sim-counts strong{display:block;font-size:12px}.simulation-runner{position:fixed;inset:0;background:#f5f7fb;z-index:180;overflow:auto}.sim-runner-head{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2}.sim-runner-head h2{font-size:17px;margin:0}.sim-timer{background:#0f172a;color:#fff;border-radius:12px;padding:8px 12px;font-weight:900}.sim-runner-body{width:min(820px,calc(100% - 24px));margin:26px auto 80px}.sim-question{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px}.sim-question h3{font-size:18px}.sim-options{display:grid;gap:9px;margin-top:15px}.sim-option{border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px;text-align:right;font-weight:800}.sim-option.selected{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.sim-runner-nav{display:flex;justify-content:space-between;margin-top:14px}
.sim-result{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;text-align:center}.sim-result .big-score{font-size:52px;font-weight:900;color:#1d4ed8}

/* Analytics */
.analytics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.analytics-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px}.analytics-card h3{margin:4px 0 14px}.subject-progress-list{display:grid;gap:10px}.subject-progress-row{display:grid;grid-template-columns:130px 1fr 45px;align-items:center;gap:9px}.subject-progress-row strong{font-size:12px}.subject-progress-row span{font-size:12px;color:#64748b}.activity-bars{display:flex;align-items:end;gap:8px;height:180px;padding-top:20px}.activity-bar{flex:1;background:#dbeafe;border-radius:9px 9px 3px 3px;min-height:8px;position:relative}.activity-bar strong{position:absolute;bottom:-24px;right:50%;transform:translateX(50%);font-size:12px;color:#64748b}.activity-bar span{position:absolute;top:-18px;right:50%;transform:translateX(50%);font-size:12px;color:#64748b}

@media(max-width:1000px){.feature-grid,.sim-grid,.library-grid{grid-template-columns:repeat(2,1fr)}.exam-layout,.community-layout{grid-template-columns:1fr}.exam-sidebar,.community-side{grid-template-columns:repeat(2,1fr)}.live-grid{grid-template-columns:1fr}.analytics-grid{grid-template-columns:1fr}}
@media(max-width:700px){.feature-hero{padding-top:24px}.feature-hero-card{padding:24px;border-radius:25px;align-items:flex-start}.feature-hero-copy h1{font-size:29px}.feature-hero-art{font-size:48px}.feature-grid,.sim-grid,.library-grid{grid-template-columns:1fr}.feature-stat-row{grid-template-columns:repeat(2,1fr)}.exam-sidebar,.community-side{grid-template-columns:1fr}.podium{grid-template-columns:1fr}.podium-card.first{order:-1}.rank-row{grid-template-columns:40px 1fr 80px}.rank-level{display:none}.feature-toolbar{align-items:flex-start;flex-direction:column}.feature-filter{width:100%}.feature-filter select,.feature-filter input{flex:1;min-width:120px}.analytics-grid{grid-template-columns:1fr}.subject-progress-row{grid-template-columns:100px 1fr 38px}}
@media(max-width:480px){.feature-hero-art{display:none}.exam-card{grid-template-columns:44px 1fr}.exam-card>.btn{grid-column:2}.library-card{grid-template-columns:44px 1fr}.library-open{grid-column:2}.rank-row{padding:11px 10px}.rank-avatar{display:none}.community-post{padding:15px}.sim-counts{grid-template-columns:repeat(2,1fr)}}

/* Study planner */
.planner-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}
.planner-main,.planner-side{display:grid;gap:16px;align-content:start}.planner-side{position:sticky;top:94px;height:max-content}
.planner-add-card h2,.planner-list-card h2{margin:3px 0}
.planner-form{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:16px}.planner-form label>span{display:block;font-size:12px;font-weight:900;color:#64748b;margin-bottom:5px}.planner-form input,.planner-form select{width:100%;border:1px solid var(--line);background:#f8fafc;border-radius:13px;padding:11px;outline:none}.planner-full{grid-column:1/-1}
.planner-task-list{display:grid;gap:9px}.planner-task{border:1px solid var(--line);border-radius:17px;padding:13px;display:grid;grid-template-columns:38px 1fr 34px;align-items:center;gap:10px;background:#fff}.planner-task.done{opacity:.62;background:#f8fafc}.planner-task.done h3{text-decoration:line-through}.planner-check,.planner-delete{border:0;border-radius:11px;width:34px;height:34px;display:grid;place-items:center}.planner-check{background:#ecfdf5;color:#059669}.planner-delete{background:#fef2f2;color:#dc2626}.planner-task-copy h3{margin:0;font-size:12px}.planner-task-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:5px}.planner-task-meta span{font-size:12px;color:#64748b;background:#f8fafc;border-radius:999px;padding:4px 7px}.planner-task-meta .priority.high{background:#fff7ed;color:#c2410c}.planner-task-meta .priority.urgent{background:#fef2f2;color:#b91c1c}
.planner-suggestion{text-align:center}.planner-suggest-emoji{font-size:44px;display:block}.planner-suggestion strong{display:block;font-size:16px;margin-top:6px}.planner-suggestion p{font-size:12px;color:#64748b}
.planner-week-goal{text-align:center}.planner-ring{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;margin:10px auto;background:conic-gradient(#10b981 0deg,#e5e7eb 0deg);position:relative}.planner-ring:after{content:"";position:absolute;inset:10px;background:#fff;border-radius:50%}.planner-ring strong{position:relative;z-index:2;font-size:20px}.planner-week-goal p,.planner-tip-card p{font-size:12px;color:#64748b}.planner-tip-card>span{font-size:34px}
@media(max-width:900px){.planner-layout{grid-template-columns:1fr}.planner-side{position:static;grid-template-columns:1fr 1fr}.planner-tip-card{grid-column:1/-1}}
@media(max-width:640px){.planner-form{grid-template-columns:1fr}.planner-full{grid-column:auto}.planner-side{grid-template-columns:1fr}.planner-tip-card{grid-column:auto}.planner-task{grid-template-columns:34px 1fr}.planner-delete{grid-column:2;justify-self:start}.planner-task-meta{gap:4px}}

/* Assignments */
.assignment-filter-head{align-items:center}.assignment-list{display:grid;gap:11px}.assignment-card{border:1px solid var(--line);border-radius:20px;padding:16px;display:grid;grid-template-columns:52px 1fr auto;gap:14px;align-items:center;background:#fff;transition:.18s}.assignment-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,23,42,.06)}.assignment-card.overdue{border-color:#fecaca;background:#fffafa}.assignment-icon{width:52px;height:52px;border-radius:16px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-size:19px}.assignment-card.submitted .assignment-icon{background:#ecfeff;color:#0891b2}.assignment-card.graded .assignment-icon{background:#ecfdf5;color:#059669}.assignment-copy h3{margin:5px 0 2px;font-size:14px}.assignment-copy>p{font-size:12px;color:#64748b;margin:0}.assignment-topline,.assignment-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.assignment-topline>span:not(.status-pill),.assignment-meta span{font-size:12px;color:#64748b}.assignment-meta{margin-top:8px}.assignment-meta span{background:#f8fafc;border-radius:999px;padding:4px 7px}.assignment-side{display:grid;gap:8px;justify-items:end}.assignment-score{font-size:20px;color:#059669}.assignment-modal{max-width:760px;padding:28px}.assignment-modal-head h2{font-size:26px;margin:4px 0}.assignment-modal-head p{font-size:12px;line-height:1.8;color:#64748b}.assignment-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0}.assignment-detail-grid div{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:11px}.assignment-detail-grid small,.assignment-detail-grid strong{display:block}.assignment-detail-grid small{font-size:12px;color:#64748b}.assignment-detail-grid strong{font-size:12px;margin-top:3px}.assignment-submit-form{display:grid;gap:11px}.assignment-submit-form label>span{display:block;font-size:12px;font-weight:900;color:#475569;margin-bottom:5px}.assignment-submit-form textarea,.assignment-submit-form input{width:100%;border:1px solid var(--line);background:#f8fafc;border-radius:14px;padding:12px;outline:none;font-family:'Cairo',sans-serif}.assignment-submit-form textarea{min-height:180px;resize:vertical}.assignment-feedback{display:flex;gap:12px;padding:14px;border-radius:16px;background:#ecfdf5;border:1px solid #bbf7d0;margin:14px 0}.assignment-feedback>span{font-size:28px}.assignment-feedback strong{font-size:12px}.assignment-feedback p{font-size:12px;color:#64748b;margin:3px 0}.assignment-submission-preview{background:#f8fafc;border-radius:15px;padding:13px}.assignment-submission-preview small{font-size:12px;color:#64748b}.assignment-submission-preview p{font-size:12px;white-space:pre-wrap}.assignment-submission-preview a{font-size:12px;color:#2563eb;font-weight:800}
@media(max-width:720px){.assignment-card{grid-template-columns:44px 1fr}.assignment-icon{width:44px;height:44px}.assignment-side{grid-column:2;justify-items:start}.assignment-detail-grid{grid-template-columns:1fr}.assignment-filter-head{align-items:flex-start;flex-direction:column}}

/* Weekly report */
.weekly-report-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}.weekly-report-heading h2{font-size:30px;margin:3px 0}.weekly-report-heading p{font-size:12px;color:#64748b;margin:0}.weekly-report-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-bottom:16px}.weekly-bars{height:210px;display:flex;align-items:end;gap:10px;padding:20px 4px 0}.weekly-bar-col{flex:1;display:grid;grid-template-rows:auto 150px auto;gap:6px;align-items:end;text-align:center}.weekly-bar-value{font-size:12px;color:#64748b}.weekly-bar-track{height:150px;border-radius:10px;background:#f1f5f9;display:flex;align-items:end;overflow:hidden}.weekly-bar-track span{display:block;width:100%;min-height:4px;background:linear-gradient(180deg,#60a5fa,#2563eb);border-radius:10px}.weekly-bar-col strong{font-size:12px;color:#64748b}.weekly-comparison{display:grid;gap:8px}.weekly-compare-row{display:grid;grid-template-columns:32px 1fr auto auto;align-items:center;gap:9px;border:1px solid var(--line);border-radius:14px;padding:10px}.weekly-compare-row>span{font-size:20px}.weekly-compare-row strong,.weekly-compare-row small{display:block}.weekly-compare-row strong{font-size:12px}.weekly-compare-row small{font-size:12px;color:#94a3b8}.weekly-compare-row>b{font-size:13px}.weekly-compare-row em{font-style:normal;font-size:12px;font-weight:900;padding:4px 6px;border-radius:999px}.weekly-compare-row em.up{background:#ecfdf5;color:#059669}.weekly-compare-row em.down{background:#fef2f2;color:#dc2626}.weekly-compare-row em.flat{background:#f1f5f9;color:#64748b}.weekly-subjects{display:grid;gap:10px}.weekly-subject-row{display:grid;grid-template-columns:30px 1fr 40px;align-items:center;gap:9px}.weekly-subject-row>span{font-size:20px}.weekly-subject-row strong{display:block;font-size:12px;margin-bottom:5px}.weekly-subject-row .progress{height:7px}.weekly-subject-row .progress i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#2563eb);border-radius:inherit}.weekly-subject-row>b{text-align:left;font-size:12px}.weekly-recommendations{display:grid;gap:8px}.weekly-recommendation{border:1px solid var(--line);border-radius:15px;padding:11px;display:grid;grid-template-columns:34px 1fr 20px;gap:9px;align-items:center;color:inherit;text-decoration:none}.weekly-recommendation>span{font-size:23px}.weekly-recommendation strong{font-size:12px}.weekly-recommendation p{font-size:12px;color:#64748b;margin:2px 0}.weekly-recommendation>i{font-size:12px;color:#2563eb}.weekly-results{display:grid;gap:8px}.weekly-result-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border-bottom:1px solid #f1f5f9;padding:10px 0}.weekly-result-row:last-child{border-bottom:0}.weekly-result-row strong,.weekly-result-row small{display:block}.weekly-result-row strong{font-size:12px}.weekly-result-row small{font-size:12px;color:#94a3b8}
@media(max-width:850px){.weekly-report-grid{grid-template-columns:1fr}.weekly-report-heading{align-items:flex-start;flex-direction:column}}
@media print{.learning-header,.weekly-report-heading .btn{display:none!important}.feature-page{background:#fff}.feature-hero{padding-top:0}.feature-card,.feature-stat-grid article{box-shadow:none!important;break-inside:avoid}.weekly-report-grid{grid-template-columns:1fr 1fr}}

/* Smart schedule */
.schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.schedule-calendar-card{min-width:0}.schedule-side{display:grid;gap:16px;align-content:start;position:sticky;top:94px;height:max-content}.schedule-week{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:8px;overflow-x:auto;padding-bottom:5px}.schedule-day{border:1px solid var(--line);border-radius:17px;background:#f8fafc;min-width:150px;overflow:hidden}.schedule-day.today{border-color:#93c5fd;background:#eff6ff}.schedule-day>header{padding:11px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:7px}.schedule-day>header span{font-size:12px;font-weight:900}.schedule-day>header strong{font-size:12px;color:#64748b}.schedule-day-items{padding:8px;display:grid;gap:7px}.schedule-empty-day{min-height:75px;display:grid;place-items:center;text-align:center;font-size:12px;color:#94a3b8}.schedule-item{background:#fff;border:1px solid var(--line);border-radius:13px;padding:9px;display:grid;grid-template-columns:27px 1fr auto;gap:7px;align-items:start}.schedule-item.done{opacity:.55}.schedule-kind-icon{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;font-size:12px;background:#eff6ff;color:#2563eb}.schedule-item.live .schedule-kind-icon{background:#f5f3ff;color:#7c3aed}.schedule-item.task .schedule-kind-icon{background:#fff7ed;color:#d97706}.schedule-time{font-size:12px;color:#64748b}.schedule-item h4{font-size:12px;line-height:1.5;margin:2px 0}.schedule-item p{font-size:12px;color:#94a3b8;margin:0}.schedule-open{width:25px;height:25px;border-radius:8px;background:#f1f5f9;color:#475569;display:grid;place-items:center;font-size:12px}.next-schedule-item{text-align:center}.next-schedule-icon{width:62px;height:62px;border-radius:20px;margin:0 auto 10px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;font-size:24px}.next-schedule-icon.live{background:#f5f3ff;color:#7c3aed}.next-schedule-icon.task{background:#fff7ed;color:#d97706}.next-schedule-item strong{display:block;font-size:13px}.next-schedule-item p{font-size:12px;margin:4px 0}.next-schedule-item small{font-size:12px;color:#64748b}.schedule-filters{display:grid;gap:7px}.schedule-filters button{border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px;text-align:right;font-weight:800;color:#64748b}.schedule-filters button.active{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.feature-empty.compact{padding:18px 8px}
@media(max-width:950px){.schedule-layout{grid-template-columns:1fr}.schedule-side{position:static;grid-template-columns:1fr 1fr}}
@media(max-width:620px){.schedule-side{grid-template-columns:1fr}.schedule-week{grid-template-columns:repeat(7,170px)}}

/* Notification center */
.notification-center-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px}
.notification-filter-card{height:max-content;position:sticky;top:94px}.notification-filter-list{display:grid;gap:7px}.notification-filter-list button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 11px;display:flex;align-items:center;gap:9px;text-align:right;font-weight:800;color:#64748b}.notification-filter-list button.active{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.notification-filter-list button>span{margin-right:auto;min-width:24px;height:22px;border-radius:999px;background:#f1f5f9;display:grid;place-items:center;font-size:12px}.notification-center-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.notification-center-head h2{font-size:26px;margin:3px 0}.notification-center-head>span{font-size:12px;color:#64748b}.notification-center-list{display:grid;gap:9px}.notification-center-item{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:center;position:relative}.notification-center-item.unread{border-color:#bfdbfe;background:linear-gradient(135deg,#fff,#f8fbff)}.notification-center-item.priority-urgent{box-shadow:inset 3px 0 #ef4444}.notification-center-item.priority-high{box-shadow:inset 3px 0 #f59e0b}.notification-center-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:17px}.notification-center-icon.tone-blue{background:#eff6ff;color:#2563eb}.notification-center-icon.tone-green{background:#ecfdf5;color:#059669}.notification-center-icon.tone-amber{background:#fff7ed;color:#d97706}.notification-center-icon.tone-red{background:#fef2f2;color:#dc2626}.notification-center-icon.tone-violet{background:#f5f3ff;color:#7c3aed}.notification-center-icon.tone-orange{background:#fff7ed;color:#ea580c}.notification-center-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notification-center-title-row h3{font-size:12px;margin:0}.notification-new-dot{font-size:12px;font-weight:900;background:#2563eb;color:#fff;border-radius:999px;padding:3px 6px}.notification-center-copy>p{font-size:12px;line-height:1.7;color:#64748b;margin:4px 0}.notification-center-meta{display:flex;gap:7px;flex-wrap:wrap}.notification-center-meta span{font-size:12px;color:#94a3b8}.notification-center-actions{display:grid;gap:6px;justify-items:stretch}.notification-open-btn,.notification-read-btn{border:0;border-radius:10px;padding:7px 10px;font-size:12px;font-weight:900;white-space:nowrap}.notification-open-btn{background:#1d4ed8;color:#fff}.notification-read-btn{background:#f1f5f9;color:#64748b}
.notification-badge{position:absolute;top:-5px;left:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;font-weight:900;display:grid;place-items:center;border:2px solid #fff}.icon-btn.has-notification-badge{position:relative}
@media(max-width:780px){.notification-center-layout{grid-template-columns:1fr}.notification-filter-card{position:static}.notification-filter-list{display:flex;overflow-x:auto}.notification-filter-list button{min-width:max-content}.notification-center-item{grid-template-columns:42px 1fr}.notification-center-actions{grid-column:2;display:flex;flex-wrap:wrap}.notification-center-icon{width:42px;height:42px}.learning-user .btn#markAllNotifications{font-size:12px;padding:8px}}

/* Phase 1 semantic layout cleanup */
.progress-card-action{margin-top:12px}
.live-viewer-actions-row{padding:16px 18px;display:flex;gap:8px;flex-wrap:wrap}
.community-form-actions{display:flex;gap:8px;flex-wrap:wrap}
.community-rule-text{font-size:12px;color:#64748b;line-height:1.8}
.sim-runner-tools{display:flex;gap:8px;align-items:center}
@media(max-width:560px){
  .community-form-actions{flex-direction:column}.community-form-actions .btn{width:100%}
  .sim-runner-tools{width:100%;justify-content:space-between}
}

/* Phase 1 premium feature polish */
.exam-card,.library-card,.live-card,.community-post,.sim-card,.rank-row{
  border-color:#e5eaf1!important;
  box-shadow:0 7px 24px rgba(15,23,42,.04);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease
}
.exam-card:hover,.library-card:hover,.live-card:hover,.community-post:hover,.sim-card:hover,.rank-row:hover{
  transform:translateY(-2px);
  border-color:#cfd9e7!important;
  box-shadow:0 16px 38px rgba(15,23,42,.075)
}
.exam-card{position:relative;overflow:hidden}.exam-card:after{content:"";position:absolute;width:95px;height:95px;border-radius:50%;background:rgba(16,185,129,.04);left:-35px;bottom:-50px;pointer-events:none}
.exam-card .exam-icon{box-shadow:inset 0 0 0 1px rgba(16,185,129,.08)}
.exam-card>.btn{box-shadow:0 6px 16px rgba(37,99,235,.10)}
.library-card{min-height:86px}.library-icon{box-shadow:inset 0 0 0 1px rgba(220,38,38,.08)}.library-open{transition:.16s}.library-card:hover .library-open{transform:translateX(-2px);background:#dbeafe}
.live-card{position:relative}.live-card:hover .live-cover span{transform:scale(1.05)}.live-cover span{transition:transform .2s ease}.live-cover:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(96,165,250,.18),transparent 34%),radial-gradient(circle at 80% 80%,rgba(139,92,246,.14),transparent 30%);pointer-events:none}
.live-status{z-index:2}.live-status.live{display:flex;align-items:center;gap:6px}.live-status.live:before{content:"";width:7px;height:7px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 0 rgba(239,68,68,.35);animation:livePulse 1.6s infinite}
@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(239,68,68,.35)}70%{box-shadow:0 0 0 8px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}
.live-card-body{padding:18px}.live-card-body h3{line-height:1.55}.live-actions .btn{min-height:40px}
.community-post{position:relative}.community-post:before{content:"";position:absolute;right:0;top:18px;bottom:18px;width:3px;border-radius:999px;background:linear-gradient(180deg,#60a5fa,#7c3aed);opacity:.0;transition:.18s}.community-post:hover:before{opacity:1}
.community-author{padding-bottom:8px}.community-actions button{padding:6px 7px;border-radius:9px!important;transition:.15s}.community-actions button:hover{background:#f8fafc;color:#334155}
.community-side{position:sticky;top:94px;height:max-content}
.sim-card{position:relative;overflow:hidden}.sim-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:rgba(124,58,237,.045);left:-40px;bottom:-60px}
.rank-row{background:#fff}.rank-row:first-child{border-color:#fde68a!important;background:linear-gradient(90deg,#fffbeb,#fff)}.rank-row:nth-child(2){background:linear-gradient(90deg,#f8fafc,#fff)}.rank-row:nth-child(3){background:linear-gradient(90deg,#fff7ed,#fff)}
.rank-xp{font-size:12px}.rank-row:hover .rank-xp{color:#1d4ed8}
.feature-empty,.portal-empty-state,.empty-state{min-height:180px;display:grid;place-items:center;align-content:center}
.feature-empty span,.portal-empty-state span,.empty-state span{filter:drop-shadow(0 8px 14px rgba(15,23,42,.08))}
@media(max-width:1000px){.community-side{position:static}}
@media(max-width:700px){
  .exam-card,.library-card{border-radius:18px}
  .live-card{border-radius:20px}
  .community-post{border-radius:18px}
}

/* Phase 1 exam center premium polish */
.exam-layout{gap:18px}
.exam-list-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 2px 10px
}
.exam-list-head span{font-size:12px;font-weight:900;color:#0f172a}
.exam-list-head small{font-size:12px;color:#94a3b8}
.exam-filter-group{align-items:center}
.exam-search-field{
  min-width:240px;height:42px;display:flex;align-items:center;gap:8px;
  background:#fff;border:1px solid #dbe3ee;border-radius:12px;padding:0 10px
}
.exam-search-field:focus-within{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.08)}
.exam-search-field i{color:#94a3b8;font-size:12px}
.exam-search-field input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;min-height:0!important;width:100%;font-size:12px}
.exam-list{gap:10px}
.exam-card{
  border-radius:18px;padding:15px 16px;
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:14px;align-items:center;
  box-shadow:0 7px 24px rgba(15,23,42,.035);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease
}
.exam-card:hover{transform:translateY(-2px);border-color:#d4dfed;box-shadow:0 13px 32px rgba(15,23,42,.065)}
.exam-card.locked{background:linear-gradient(180deg,#fbfcfe,#f8fafc);opacity:.84}
.exam-card.locked:hover{transform:none;box-shadow:0 7px 24px rgba(15,23,42,.035)}
.exam-card-main{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;min-width:0}
.exam-card .exam-icon{width:48px;height:48px;border-radius:14px;font-size:18px}
.exam-card .exam-icon.locked{background:#f1f5f9;color:#94a3b8}
.exam-card-copy{min-width:0}
.exam-card-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.exam-card h3{font-size:13px;line-height:1.5;margin:0}
.exam-card p{font-size:12px;line-height:1.7;margin:2px 0;color:#64748b}
.exam-status{font-size:12px;font-weight:900;border-radius:999px;padding:3px 6px}
.exam-status.ready{background:#ecfdf5;color:#047857}
.exam-status.attempted{background:#eff6ff;color:#1d4ed8}
.exam-status.locked{background:#f1f5f9;color:#64748b}
.exam-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.exam-meta span{
  display:inline-flex;align-items:center;gap:4px;
  background:#f8fafc;border:1px solid #eef2f7;color:#64748b;
  border-radius:999px;padding:4px 7px;font-size:12px;font-weight:800
}
.exam-meta span i{font-size:12px}
.exam-card-action .btn{min-width:125px;white-space:nowrap}
.locked-exam-btn{cursor:pointer!important}
.locked-exam-btn:hover{background:#f1f5f9!important;color:#475569!important}

.exam-sidebar{gap:11px}
.exam-side-card{
  border-radius:18px;padding:16px;
  box-shadow:0 7px 23px rgba(15,23,42,.035)
}
.exam-side-card h3{font-size:15px;margin:4px 0}
.exam-side-card p{font-size:12px;line-height:1.8}
.exam-history-list{gap:3px}
.exam-history-item{
  padding:8px 0;gap:8px;
  transition:background .15s ease,border-color .15s ease
}
.exam-history-item>div{display:grid;min-width:0}
.exam-history-item>div strong{
  font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.exam-history-item>div span{font-size:12px;color:#94a3b8;margin-top:1px}
.exam-mini-empty{text-align:center;padding:15px 6px;color:#94a3b8}
.exam-mini-empty span{font-size:24px}.exam-mini-empty p{margin:4px 0 0}

.exam-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.exam-history-card{
  background:#fff;border:1px solid #e4eaf1;border-radius:18px;padding:15px;
  box-shadow:0 7px 24px rgba(15,23,42,.035);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease
}
.exam-history-card:hover{transform:translateY(-2px);border-color:#d4dfed;box-shadow:0 13px 30px rgba(15,23,42,.06)}
.exam-history-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.exam-icon.history{width:42px!important;height:42px!important;border-radius:13px!important;background:#eff6ff!important;color:#2563eb!important}
.exam-history-card h3{font-size:13px;margin:10px 0 2px}
.exam-history-card>p{font-size:12px;color:#64748b;margin:0;line-height:1.7}
.exam-history-meta{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.exam-history-meta span{
  background:#f8fafc;border:1px solid #eef2f7;border-radius:999px;
  padding:4px 7px;font-size:12px;color:#64748b;font-weight:800
}
.score-pill{font-size:12px}

@media(max-width:980px){
  .exam-layout{grid-template-columns:1fr}
  .exam-sidebar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .exam-side-card{height:100%}
}
@media(max-width:760px){
  .exam-filter-group{width:100%}
  .exam-search-field{min-width:0;flex:1}
  .exam-card{grid-template-columns:1fr;padding:13px}
  .exam-card-action .btn{width:100%;min-width:0}
  .exam-sidebar{grid-template-columns:1fr 1fr}
  .exam-sidebar .exam-side-card:first-child{grid-column:1/-1}
  .exam-history-grid{grid-template-columns:1fr}
}
@media(max-width:540px){
  .exam-list-head{align-items:flex-start;flex-direction:column;gap:2px}
  .exam-filter-group{flex-direction:column}
  .exam-search-field,.exam-filter-group select{width:100%}
  .exam-card-main{grid-template-columns:42px minmax(0,1fr);gap:9px}
  .exam-card .exam-icon{width:42px;height:42px;border-radius:12px}
  .exam-card-title-row{align-items:flex-start;flex-direction:column;gap:4px}
  .exam-meta{gap:4px}
  .exam-sidebar{grid-template-columns:1fr}
  .exam-sidebar .exam-side-card:first-child{grid-column:auto}
}

/* Phase 1 assignments premium polish */
.assignment-filter-head{gap:14px}
.assignment-toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.assignment-search-field{
  min-width:250px;height:42px;display:flex;align-items:center;gap:8px;
  background:#fff;border:1px solid #dbe3ee;border-radius:12px;padding:0 10px
}
.assignment-search-field:focus-within{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.08)}
.assignment-search-field i{font-size:12px;color:#94a3b8}
.assignment-search-field input{
  width:100%;border:0!important;outline:0!important;box-shadow:none!important;
  background:transparent!important;padding:0!important;min-height:0!important;font-size:12px
}
.assignment-list-summary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:0 2px 10px
}
.assignment-list-summary strong{font-size:12px;color:#0f172a}
.assignment-list-summary span{font-size:12px;color:#94a3b8}
.feature-filter-chips{display:flex;gap:5px;flex-wrap:wrap}
.feature-filter-chips button{
  border:1px solid #e5eaf1;background:#fff;color:#64748b;border-radius:999px;
  padding:7px 10px;font-size:12px;font-weight:900;transition:.15s
}
.feature-filter-chips button:hover{border-color:#cbd5e1;color:#334155}
.feature-filter-chips button.active{background:#0f172a;color:#fff;border-color:#0f172a;box-shadow:0 5px 14px rgba(15,23,42,.14)}

.assignment-list{gap:10px}
.assignment-card{
  border-radius:18px;padding:15px;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:12px;box-shadow:0 7px 23px rgba(15,23,42,.035)
}
.assignment-card:hover{transform:translateY(-2px);border-color:#d6e0ed;box-shadow:0 13px 31px rgba(15,23,42,.065)}
.assignment-card.overdue{border-color:#fecaca;background:linear-gradient(180deg,#fffafa,#fff)}
.assignment-card.due-soon:not(.overdue){border-color:#fde68a;background:linear-gradient(180deg,#fffdf7,#fff)}
.assignment-icon{width:48px;height:48px;border-radius:14px}
.assignment-card.overdue .assignment-icon{background:#fef2f2;color:#dc2626}
.assignment-card.due-soon .assignment-icon{background:#fff7ed;color:#d97706}
.assignment-copy h3{font-size:13px;line-height:1.5;margin:5px 0 2px}
.assignment-copy>p{line-height:1.7;max-width:75ch}
.assignment-topline{gap:5px}
.status-pill.danger{background:#fee2e2;color:#b91c1c}
.assignment-meta{gap:5px;margin-top:8px}
.assignment-meta span{border:1px solid #eef2f7}
.assignment-meta .danger-meta{background:#fef2f2;border-color:#fecaca;color:#b91c1c}
.assignment-meta .warning-meta{background:#fff7ed;border-color:#fed7aa;color:#c2410c}
.assignment-side{min-width:120px}
.assignment-side .btn{min-width:120px}
.assignment-score{font-size:20px}.assignment-score small{font-size:12px;color:#94a3b8}

.assignment-modal{
  width:min(780px,calc(100vw - 28px));max-height:min(88vh,820px);overflow:auto;
  border-radius:22px;padding:26px
}
.assignment-modal-head{padding-left:30px}
.assignment-modal-head h2{font-size:25px;line-height:1.45;margin:4px 0}
.assignment-modal-head p{font-size:12px;line-height:1.9;white-space:pre-wrap}
.assignment-detail-grid{gap:8px}
.assignment-detail-grid div{background:linear-gradient(180deg,#f8fafc,#fff);border-color:#e8edf4}
.assignment-detail-grid strong{line-height:1.55}
.danger-text{color:#b91c1c!important}
.assignment-deadline-warning,.assignment-submitted-state{
  display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border-radius:14px;margin:12px 0
}
.assignment-deadline-warning{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}
.assignment-deadline-warning>i{font-size:17px;margin-top:2px}
.assignment-deadline-warning strong,.assignment-submitted-state strong{font-size:12px}
.assignment-deadline-warning p,.assignment-submitted-state p{font-size:12px;margin:2px 0 0;line-height:1.7}
.assignment-submitted-state{background:#ecfdf5;border:1px solid #bbf7d0;color:#047857}
.assignment-submitted-state.late{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.assignment-submitted-state>i{font-size:17px;margin-top:2px}

.assignment-submit-form{margin-top:14px}
.assignment-submit-form label{display:block}
.assignment-submit-form textarea,.assignment-submit-form input{
  background:#fff;border-color:#dbe3ee;
  transition:border-color .15s ease,box-shadow .15s ease
}
.assignment-submit-form textarea:focus,.assignment-submit-form input:focus{
  border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.08)
}
.assignment-submit-form label>small{display:block;font-size:12px;color:#94a3b8;margin-top:4px}
.assignment-character-count{text-align:left}
.assignment-submit-form .btn{min-height:44px}

.assignment-feedback{
  align-items:center;background:linear-gradient(135deg,#ecfdf5,#f8fffb);
  border-color:#a7f3d0;padding:15px
}
.assignment-grade-ring{
  --grade:0;flex:0 0 62px;width:62px;height:62px;border-radius:50%;
  display:grid;place-items:center;position:relative;
  background:conic-gradient(#10b981 calc(var(--grade)*3.6deg),#d1fae5 0)
}
.assignment-grade-ring:after{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}
.assignment-grade-ring strong{position:relative;z-index:1;font-size:12px;color:#047857}
.assignment-feedback>div>strong{font-size:12px}
.assignment-submission-preview{
  margin-top:12px;border:1px solid #e6ebf2;background:#fbfcfe;
  border-radius:14px;padding:14px
}
.assignment-submission-preview p{line-height:1.9;max-height:260px;overflow:auto}
.assignment-submission-preview a{display:inline-flex;align-items:center;gap:5px;margin-top:6px}

@media(max-width:820px){
  .assignment-filter-head{align-items:flex-start;flex-direction:column}
  .assignment-toolbar-actions{width:100%;justify-content:stretch}
  .assignment-search-field{min-width:0;flex:1}
  .feature-filter-chips{width:100%}
}
@media(max-width:720px){
  .assignment-card{grid-template-columns:42px minmax(0,1fr);padding:13px}
  .assignment-icon{width:42px;height:42px;border-radius:12px}
  .assignment-side{grid-column:2;justify-items:stretch;min-width:0;width:100%}
  .assignment-side .btn{width:100%;min-width:0}
  .assignment-list-summary{align-items:flex-start;flex-direction:column;gap:2px}
  .assignment-detail-grid{grid-template-columns:1fr 1fr}
  .assignment-detail-grid div:last-child{grid-column:1/-1}
}
@media(max-width:540px){
  .assignment-toolbar-actions{flex-direction:column;align-items:stretch}
  .assignment-search-field{width:100%}
  .feature-filter-chips{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  .feature-filter-chips::-webkit-scrollbar{display:none}
  .feature-filter-chips button{white-space:nowrap;flex:0 0 auto}
  .assignment-card{grid-template-columns:38px minmax(0,1fr);gap:9px}
  .assignment-icon{width:38px;height:38px}
  .assignment-topline{align-items:flex-start}
  .assignment-meta{align-items:flex-start}
  .assignment-meta span{font-size:12px}
  .assignment-modal{width:calc(100vw - 16px);padding:19px;border-radius:18px;max-height:91vh}
  .assignment-modal-head{padding-left:26px}
  .assignment-modal-head h2{font-size:21px}
  .assignment-detail-grid{grid-template-columns:1fr}
  .assignment-detail-grid div:last-child{grid-column:auto}
  .assignment-feedback{align-items:flex-start}
  .assignment-grade-ring{width:54px;height:54px;flex-basis:54px}
}

/* Phase 1 study tools premium polish */
.learning-tools-nav-wrap{padding-top:14px}
.learning-tools-nav{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
  background:#fff;border:1px solid #e4eaf1;border-radius:17px;padding:6px;
  box-shadow:0 8px 25px rgba(15,23,42,.035)
}
.learning-tools-nav a{
  min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;
  border-radius:12px;text-decoration:none;color:#64748b;font-size:12px;font-weight:900;
  transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease
}
.learning-tools-nav a i{font-size:12px}
.learning-tools-nav a:hover{background:#f8fafc;color:#334155;transform:translateY(-1px)}
.learning-tools-nav a.active{
  background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff;
  box-shadow:0 7px 18px rgba(30,58,138,.16)
}

/* Progress */
.analytics-grid{gap:13px}
.analytics-card{
  border-radius:18px!important;padding:18px!important;
  border-color:#e4eaf1!important;box-shadow:0 8px 25px rgba(15,23,42,.04)
}
.analytics-card h3{font-size:17px;letter-spacing:-.01em}
.subject-progress-list{gap:7px}
.subject-progress-row{
  grid-template-columns:145px minmax(0,1fr) 42px 20px!important;
  min-height:45px;padding:7px 9px;border:1px solid #edf1f5;border-radius:12px;
  background:#fff;text-decoration:none;color:inherit;transition:.15s
}
.subject-progress-row:hover{background:#f8fbff;border-color:#d6e4f3;transform:translateX(-2px)}
.subject-progress-row strong{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.subject-progress-row .progress{height:7px;background:#eef2f7;border-radius:999px;overflow:hidden}
.subject-progress-row .progress span{display:block;height:100%;background:linear-gradient(90deg,#60a5fa,#2563eb);border-radius:inherit}
.progress-row-arrow{font-size:12px;color:#2563eb}
.activity-bars{
  height:190px;padding:28px 5px 25px;gap:9px;border-bottom:1px solid #eef2f7
}
.activity-bar{
  background:linear-gradient(180deg,#60a5fa,#2563eb)!important;
  border-radius:9px 9px 4px 4px!important;min-width:18px;
  box-shadow:0 6px 12px rgba(37,99,235,.1)
}
.activity-bar span{top:-20px!important;font-weight:900;color:#475569!important}
.activity-bar strong{bottom:-22px!important}
.analytics-card .exam-history-item>div{display:grid;min-width:0}
.analytics-card .exam-history-item>div strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.analytics-card .exam-history-item>div span{font-size:12px;color:#94a3b8;margin-top:1px}

/* Planner */
.planner-layout{gap:15px}
.planner-main,.planner-side{gap:13px}
.planner-side{top:90px}
.planner-add-card,.planner-list-card{border-radius:19px!important}
.planner-form{gap:9px;margin-top:13px}
.planner-form input,.planner-form select{
  min-height:43px;background:#fff!important;border-color:#dbe3ee!important;border-radius:11px!important;
  transition:border-color .15s ease,box-shadow .15s ease
}
.planner-form input:focus,.planner-form select:focus{
  border-color:#93c5fd!important;box-shadow:0 0 0 4px rgba(59,130,246,.08)
}
.planner-task-list{gap:7px}
.planner-task{
  border-radius:14px!important;padding:10px 11px!important;
  grid-template-columns:36px minmax(0,1fr) 34px!important;
  box-shadow:0 4px 15px rgba(15,23,42,.02);transition:.15s
}
.planner-task:hover{border-color:#d8e3ef;box-shadow:0 8px 20px rgba(15,23,42,.045)}
.planner-task.overdue{border-color:#fecaca;background:linear-gradient(180deg,#fffafa,#fff)}
.planner-task.done{opacity:.62}
.planner-check,.planner-delete{width:34px;height:34px}
.planner-check:disabled,.planner-delete:disabled{opacity:.45}
.planner-task-title-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.planner-task-copy h3{font-size:12px!important}
.planner-task-meta{gap:5px!important;margin-top:5px}
.planner-task-meta span{font-size:12px!important;padding:4px 6px!important}
.planner-task-meta .planner-overdue-date{background:#fef2f2!important;color:#b91c1c!important}
.planner-suggestion p,.planner-week-goal p,.planner-tip-card p{line-height:1.8}
.planner-ring{box-shadow:0 8px 25px rgba(16,185,129,.08)}
.feature-filter-chips button{transition:.15s}
.feature-filter-chips button[aria-selected="true"]{box-shadow:0 6px 16px rgba(15,23,42,.12)}

/* Schedule */
.schedule-layout{gap:14px}
.schedule-calendar-card{border-radius:19px!important}
.schedule-side{gap:12px;top:90px}
.schedule-week{gap:7px}
.schedule-day{
  border-radius:15px!important;background:#fbfcfe!important;
  border-color:#e7ecf2!important;box-shadow:0 4px 14px rgba(15,23,42,.02)
}
.schedule-day.today{
  background:linear-gradient(180deg,#eff6ff,#fff)!important;
  border-color:#93c5fd!important;box-shadow:0 8px 20px rgba(37,99,235,.06)
}
.schedule-day>header{padding:9px 10px!important}
.schedule-day.today>header span:after{
  content:"اليوم";display:inline-block;margin-right:5px;
  background:#2563eb;color:#fff;border-radius:999px;padding:2px 5px;font-size:12px
}
.schedule-day-items{padding:7px!important;gap:6px!important}
.schedule-item{
  border-radius:11px!important;padding:8px!important;
  box-shadow:0 3px 10px rgba(15,23,42,.025);transition:.15s
}
.schedule-item:hover{border-color:#d7e3ef;transform:translateY(-1px)}
.schedule-item.done{opacity:.5}
.schedule-open{transition:.15s}
.schedule-open:hover{background:#dbeafe;color:#1d4ed8}
.schedule-next-action{margin-top:10px}
.schedule-filters{gap:5px!important}
.schedule-filters button{min-height:39px;padding:8px 9px!important;transition:.15s}
.schedule-filters button:hover{border-color:#cbd5e1;color:#334155}
.schedule-filters button[aria-selected="true"]{
  background:#0f172a!important;color:#fff!important;border-color:#0f172a!important;
  box-shadow:0 5px 14px rgba(15,23,42,.12)
}

/* Weekly report */
.weekly-report-heading{
  align-items:center!important;padding:2px 2px 4px;margin-bottom:14px!important
}
.weekly-report-heading h2{font-size:27px!important;letter-spacing:-.018em}
.weekly-report-heading p{font-size:12px!important;line-height:1.8;max-width:760px}
.weekly-report-grid{gap:13px!important;margin-bottom:13px!important}
.weekly-bars{height:195px!important;gap:8px!important;padding-top:18px!important}
.weekly-bar-track{
  border-radius:9px!important;background:#eef2f7!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.035)
}
.weekly-bar-track span{background:linear-gradient(180deg,#60a5fa,#2563eb)!important}
.weekly-comparison{gap:6px!important}
.weekly-compare-row{
  border-radius:12px!important;padding:9px!important;border-color:#e8edf3!important;
  background:#fff;transition:.15s
}
.weekly-compare-row:hover{background:#f8fbff;border-color:#d7e4f2!important}
.weekly-subjects{gap:6px!important}
.weekly-subject-row{
  grid-template-columns:30px minmax(0,1fr) 38px!important;
  padding:8px;border:1px solid #edf1f5;border-radius:12px;
  text-decoration:none;color:inherit;transition:.15s
}
.weekly-subject-row:hover{background:#f8fbff;border-color:#d6e4f3}
.weekly-recommendations{gap:6px!important}
.weekly-recommendation{
  border-radius:13px!important;padding:9px 10px!important;border-color:#e7edf4!important;transition:.15s
}
.weekly-recommendation:hover{background:#f8fbff;border-color:#d4e1ef!important;transform:translateX(-2px)}
.weekly-result-row{padding:9px 0!important}

@media(max-width:900px){
  .learning-tools-nav{grid-template-columns:repeat(4,minmax(100px,1fr));overflow-x:auto;scrollbar-width:none}
  .learning-tools-nav::-webkit-scrollbar{display:none}
  .learning-tools-nav a{white-space:nowrap}
}
@media(max-width:700px){
  .learning-tools-nav-wrap{padding-top:10px}
  .learning-tools-nav{grid-template-columns:repeat(4,112px);justify-content:start}
  .learning-tools-nav a{min-height:40px;font-size:12px}
  .subject-progress-row{grid-template-columns:105px minmax(0,1fr) 36px 16px!important}
  .analytics-card{padding:15px!important}
  .planner-side,.schedule-side{grid-template-columns:1fr!important}
  .weekly-report-heading{align-items:flex-start!important}
}
@media(max-width:520px){
  .learning-tools-nav-wrap{padding-left:10px;padding-right:10px}
  .learning-tools-nav{border-radius:14px;padding:5px;gap:5px}
  .learning-tools-nav a{min-height:38px}
  .learning-tools-nav a i{font-size:12px}
  .activity-bars{gap:5px}
  .planner-task{grid-template-columns:34px minmax(0,1fr)!important}
  .planner-delete{grid-column:2;justify-self:start}
  .planner-task-title-row{align-items:flex-start}
  .schedule-week{grid-template-columns:repeat(7,165px)!important}
  .weekly-compare-row{grid-template-columns:28px minmax(0,1fr) auto!important}
  .weekly-compare-row em{grid-column:2/4;justify-self:start}
}
@media print{
  .learning-tools-nav-wrap{display:none!important}
}

/* Phase 1 engagement pages premium polish */

/* Shared engagement toolbars */
.feature-toolbar{
  border-radius:16px!important;padding:9px!important;
  border-color:#e4eaf1!important;box-shadow:0 7px 22px rgba(15,23,42,.035)
}
.feature-tabs{gap:5px!important}
.feature-tabs button{
  min-height:38px;padding:7px 10px!important;font-size:12px!important;
  transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease
}
.feature-tabs button:hover{border-color:#cbd5e1!important;color:#334155!important}
.feature-tabs button[aria-selected="true"],.feature-tabs button.active{
  box-shadow:0 5px 14px rgba(15,23,42,.12)
}
.feature-filter input,.feature-filter select{
  min-height:39px;background:#fff!important;border-color:#dbe3ee!important;
  border-radius:10px!important;font-size:12px!important
}
.feature-filter input:focus,.feature-filter select:focus{
  border-color:#93c5fd!important;box-shadow:0 0 0 4px rgba(59,130,246,.08)
}

/* Library */
.library-grid{gap:10px!important}
.library-card{
  grid-template-columns:46px minmax(0,1fr) 36px!important;
  padding:13px!important;border-radius:16px!important;
  border-color:#e5eaf1!important;box-shadow:0 6px 20px rgba(15,23,42,.03);
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease
}
.library-card:hover{transform:translateY(-2px);border-color:#d5e1ee!important;box-shadow:0 12px 28px rgba(15,23,42,.06)}
.library-icon{width:46px!important;height:46px!important;border-radius:13px!important;font-size:17px!important}
.library-card-copy{min-width:0}
.library-card h3{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.library-card p{font-size:12px!important;line-height:1.7}
.library-open{width:36px!important;height:36px!important;border-radius:10px!important;transition:.15s}
.library-open:hover{background:#dbeafe!important;transform:translateY(-1px)}
.library-open.disabled{background:#f1f5f9!important;color:#94a3b8!important}

/* Live */
.live-grid{gap:11px!important}
.live-card{
  border-radius:18px!important;border-color:#e4eaf1!important;
  box-shadow:0 7px 23px rgba(15,23,42,.035);transition:.16s
}
.live-card:hover{transform:translateY(-2px);border-color:#d4dfec!important;box-shadow:0 13px 30px rgba(15,23,42,.065)}
.live-card.live{border-color:#fecaca!important}
.live-cover{min-height:135px!important;background:linear-gradient(135deg,#07111f,#172554 60%,#1d4ed8)!important}
.live-cover>span:first-child{font-size:43px!important;filter:drop-shadow(0 9px 16px rgba(2,6,23,.25))}
.live-status{top:10px!important;right:10px!important;padding:5px 8px!important;font-size:12px!important}
.live-card-body{padding:14px!important}
.live-card-body h3{font-size:13px!important;line-height:1.5}
.live-card-body p{font-size:12px!important;line-height:1.65;margin:4px 0!important}
.live-actions{margin-top:9px!important}
.live-actions .btn{min-height:38px}
.live-viewer{z-index:210!important;padding:14px!important}
.live-viewer-panel{
  width:min(960px,100%)!important;border-radius:20px!important;
  box-shadow:0 28px 80px rgba(2,6,23,.30)
}
.live-viewer-head{padding:12px 15px!important;border-bottom:1px solid #eef2f7}
.live-viewer-head h3{font-size:15px}
.live-video-empty{height:100%;display:grid;place-items:center;color:#94a3b8;text-align:center;padding:25px}
.live-video-empty span{display:block;font-size:45px}
.live-video-empty strong{display:block;color:#e2e8f0;margin-top:5px}
.live-video-empty p{font-size:12px}
.live-viewer-actions-row{display:flex;gap:8px;flex-wrap:wrap;padding:13px 15px;background:#fff}
.live-viewer-actions-row .btn{flex:1;min-width:180px}
.live-no-actions{font-size:12px;color:#64748b}

/* Community */
.community-layout{gap:14px!important}
.community-feed{gap:9px!important}
.community-post{
  border-radius:17px!important;padding:14px!important;
  border-color:#e5eaf1!important;box-shadow:0 6px 20px rgba(15,23,42,.03);
  transition:border-color .15s ease,box-shadow .15s ease
}
.community-post:hover{border-color:#d7e2ef!important;box-shadow:0 10px 26px rgba(15,23,42,.045)}
.community-avatar{width:38px!important;height:38px!important;border-radius:11px!important}
.community-author strong{font-size:12px!important}
.community-author small{font-size:12px!important}
.community-post h3{font-size:14px!important;margin:11px 0 4px!important}
.community-post>p{font-size:12px!important;line-height:1.9;color:#475569!important}
.community-actions{gap:8px!important;padding-top:9px!important;margin-top:10px!important}
.community-actions button{
  min-height:32px;border-radius:9px!important;padding:5px 8px!important;
  background:#f8fafc!important;font-size:12px!important
}
.community-actions button:hover:not(:disabled){background:#f1f5f9!important}
.community-actions button.liked{background:#fff1f2!important;color:#e11d48!important}
.community-actions button:disabled{opacity:.55}
.community-side{gap:11px!important;position:sticky;top:90px;height:max-content}
.community-side-card{
  border-radius:17px!important;padding:14px!important;
  border-color:#e4eaf1!important;box-shadow:0 6px 20px rgba(15,23,42,.03)
}
.community-side-card h3{font-size:14px;margin:4px 0}
.community-rule-text{font-size:12px!important;line-height:1.9}
.new-post-form{gap:10px!important;background:linear-gradient(180deg,#fff,#fbfdff)}
.new-post-form label>span{display:block;font-size:12px;font-weight:900;color:#475569;margin-bottom:5px}
.new-post-form input,.new-post-form textarea{
  background:#fff!important;border-color:#dbe3ee!important;
  transition:border-color .15s ease,box-shadow .15s ease
}
.new-post-form input:focus,.new-post-form textarea:focus{
  border-color:#93c5fd!important;box-shadow:0 0 0 4px rgba(59,130,246,.08)
}
.community-char-count{display:block;text-align:left;font-size:12px;color:#94a3b8;margin-top:3px}
.community-form-actions{display:flex;gap:7px}
.community-form-actions .btn{min-width:110px}
.study-group-post .feature-card-head{align-items:center}

/* Leaderboard */
.leaderboard-shell{max-width:1020px!important}
.podium{gap:10px!important;margin:22px 0!important}
.podium-card{
  border-radius:19px!important;padding:17px!important;
  border-color:#e4eaf1!important;box-shadow:0 8px 24px rgba(15,23,42,.04)!important;
  transition:transform .16s ease,border-color .16s ease
}
.podium-card:hover{transform:translateY(-2px);border-color:#d4dfec!important}
.podium-card.first{
  padding-top:25px!important;
  background:linear-gradient(180deg,#f8fbff,#fff);
  border-color:#bfdbfe!important
}
.podium-card.is-me{box-shadow:inset 0 0 0 2px #60a5fa,0 10px 28px rgba(37,99,235,.08)!important}
.podium-medal{font-size:36px!important}
.podium-avatar{width:52px!important;height:52px!important;border-radius:15px!important;font-size:18px!important}
.podium-card h3{font-size:12px!important}
.podium-card h3 small{font-size:12px;color:#2563eb}
.podium-card strong{font-size:14px!important}
.podium-card p{font-size:12px!important;color:#64748b}
.rank-list{
  border-radius:17px!important;border-color:#e4eaf1!important;
  box-shadow:0 7px 23px rgba(15,23,42,.035)
}
.rank-row{
  grid-template-columns:42px minmax(0,1fr) 95px 82px!important;
  padding:10px 13px!important;transition:background .15s ease
}
.rank-row:hover{background:#f8fbff}
.rank-row.is-me{background:linear-gradient(90deg,#eff6ff,#fff);box-shadow:inset -3px 0 #2563eb}
.rank-position{font-size:12px}
.rank-avatar{width:35px!important;height:35px!important;border-radius:10px!important}
.rank-user strong{font-size:12px!important}
.rank-user small{font-size:12px!important}
.rank-xp{font-size:12px}
.rank-level{font-size:12px!important}

/* Notification center */
.notification-center-layout{gap:14px!important}
.notification-filter-card{
  top:90px!important;border-radius:17px!important;
  box-shadow:0 7px 23px rgba(15,23,42,.035)!important
}
.notification-filter-list{gap:5px!important}
.notification-filter-list button{
  min-height:39px;border-radius:10px!important;padding:8px 9px!important;font-size:12px!important;transition:.15s
}
.notification-filter-list button:hover{border-color:#cbd5e1;color:#334155}
.notification-filter-list button[aria-selected="true"]{
  background:#0f172a!important;color:#fff!important;border-color:#0f172a!important;
  box-shadow:0 5px 14px rgba(15,23,42,.12)
}
.notification-filter-list button[aria-selected="true"]>span{background:rgba(255,255,255,.13);color:#fff}
.notification-center-head{margin-bottom:9px!important}
.notification-center-head h2{font-size:22px!important}
.notification-center-head>span{font-size:12px!important}
.notification-center-list{gap:7px!important}
.notification-center-item{
  grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:10px!important;border-radius:14px!important;padding:11px!important;
  border-color:#e5eaf1!important;box-shadow:0 4px 15px rgba(15,23,42,.025);
  transition:border-color .15s ease,box-shadow .15s ease
}
.notification-center-item:hover{border-color:#d5e2ef!important;box-shadow:0 8px 22px rgba(15,23,42,.045)}
.notification-center-item.unread{background:linear-gradient(90deg,#f8fbff,#fff)!important}
.notification-center-icon{width:42px!important;height:42px!important;border-radius:12px!important;font-size:15px!important}
.notification-center-title-row h3{font-size:12px!important}
.notification-new-dot{font-size:12px!important;padding:2px 5px!important}
.notification-center-copy>p{font-size:12px!important;line-height:1.7!important}
.notification-center-meta span{font-size:12px!important}
.notification-center-actions{gap:5px!important}
.notification-open-btn,.notification-read-btn{min-height:32px;padding:6px 8px!important;font-size:12px!important}
.notification-open-btn:disabled,.notification-read-btn:disabled{opacity:.5}

@media(max-width:1000px){
  .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .community-layout{grid-template-columns:1fr!important}
  .community-side{position:static;grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .live-grid{grid-template-columns:1fr!important}
  .community-side{grid-template-columns:1fr!important}
  .podium{grid-template-columns:1fr 1fr 1fr!important}
  .podium-card{padding:13px!important}
  .rank-row{grid-template-columns:34px minmax(0,1fr) 75px!important}
  .rank-level{display:none!important}
  .notification-center-item{grid-template-columns:38px minmax(0,1fr)!important}
  .notification-center-icon{width:38px!important;height:38px!important}
  .notification-center-actions{grid-column:2;display:flex!important}
}
@media(max-width:540px){
  .library-grid{grid-template-columns:1fr!important}
  .library-card{grid-template-columns:42px minmax(0,1fr) 34px!important;padding:11px!important}
  .library-icon{width:42px!important;height:42px!important}
  .live-viewer{padding:7px!important}
  .live-viewer-panel{border-radius:16px!important}
  .live-viewer-actions-row{flex-direction:column}
  .live-viewer-actions-row .btn{width:100%;min-width:0}
  .community-form-actions{flex-direction:column}
  .community-form-actions .btn{width:100%}
  .podium{grid-template-columns:1fr!important}
  .podium-card.first{order:-1}
  .rank-row{grid-template-columns:30px minmax(0,1fr) 68px!important;padding:9px!important}
  .rank-avatar{display:none!important}
  .notification-center-actions{flex-direction:column}
  .notification-open-btn,.notification-read-btn{width:100%}
}

/* Premium 3D feature hub pages 2026 */
.feature-page main,.feature-container,.feature-page-content{overflow:visible;min-width:0}
.feature-page-content>*,.feature-container>*,.exam-layout>*,.planner-layout>*,.schedule-layout>*,.notification-center-layout>*{min-width:0}

.feature-hero-card{
  border-radius:22px!important;
  background:
    radial-gradient(circle at 84% 15%,rgba(131,191,255,.28),transparent 30%),
    radial-gradient(circle at 16% 100%,rgba(117,85,255,.15),transparent 28%),
    linear-gradient(135deg,#092f7e 0%,#0b57c7 55%,#167feb 100%)!important;
}
.feature-hero-copy{position:relative;z-index:2}
.feature-hero-card .feature-hero-art{
  width:96px;height:96px;border-radius:26px;
  display:grid!important;place-items:center!important;
  background:linear-gradient(145deg,rgba(255,255,255,.28),rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.34);
  box-shadow:0 18px 30px rgba(4,33,95,.22),inset 0 2px 0 rgba(255,255,255,.25);
  text-shadow:0 8px 15px rgba(4,33,95,.2)
}
.feature-stat-row,.feature-stat-grid{gap:11px!important}
.feature-stat-row article,.feature-stat-grid article{
  border-radius:17px!important;min-width:0;
  background:
    radial-gradient(circle at 88% 8%,rgba(92,155,255,.08),transparent 32%),
    linear-gradient(145deg,#fff,#f7faff)!important
}
.feature-stat-row .stat-icon,.feature-stat-grid .feature-card-icon{
  width:48px!important;height:48px!important;border-radius:14px!important;
  color:#fff!important
}
.stat-icon.blue,.feature-card-icon.blue{background:linear-gradient(145deg,#309cff,#1268df)!important}
.stat-icon.green,.feature-card-icon.green{background:linear-gradient(145deg,#28c99d,#0aa47d)!important}
.stat-icon.orange,.feature-card-icon.orange,.feature-card-icon.amber,.stat-icon.amber{background:linear-gradient(145deg,#ffb632,#f28a15)!important}
.stat-icon.violet,.feature-card-icon.violet{background:linear-gradient(145deg,#9d63ff,#7440df)!important}
.stat-icon.red,.feature-card-icon.red{background:linear-gradient(145deg,#ff6d7f,#e63f55)!important}
.feature-stat-row strong,.feature-stat-grid strong{font-size:21px!important;color:#132858!important}
.feature-stat-row small,.feature-stat-grid small{font-weight:800!important}

.exam-layout,.planner-layout,.schedule-layout,.notification-center-layout{gap:15px!important}
.exam-list,.assignment-list,.planner-task-list,.notification-center-list{display:grid;gap:9px!important}
.exam-card,.assignment-card,.planner-task,.sim-card{
  position:relative;overflow:hidden;
  border:1px solid #dfe8f5!important;border-radius:17px!important;
  background:
    radial-gradient(circle at 92% 5%,rgba(88,151,255,.09),transparent 27%),
    linear-gradient(145deg,#fff,#f7faff)!important;
  box-shadow:0 10px 23px rgba(31,73,139,.075),inset 0 1px 0 #fff!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important
}
.exam-card:before,.assignment-card:before,.sim-card:before{
  content:"";position:absolute;right:0;top:10px;bottom:10px;width:3px;border-radius:0 5px 5px 0;
  background:linear-gradient(180deg,#27a1ff,#6c5cff)
}
.exam-card:hover,.assignment-card:hover,.planner-task:hover,.sim-card:hover{
  transform:translateY(-4px)!important;border-color:#c7d9ef!important;
  box-shadow:0 17px 34px rgba(31,73,139,.13),inset 0 1px 0 #fff!important
}
.exam-card .exam-icon,.assignment-card .assignment-icon,.sim-card .sim-icon{
  box-shadow:0 9px 17px rgba(31,73,139,.16),inset 0 2px 0 rgba(255,255,255,.4)!important;
  transition:transform .18s ease
}
.exam-card:hover .exam-icon,.assignment-card:hover .assignment-icon,.sim-card:hover .sim-icon{transform:translateY(-3px) rotate(-4deg) scale(1.04)}
.exam-side-card,.planner-suggestion,.planner-week-goal,.planner-tip-card{
  border:1px solid #dfe8f4!important;border-radius:17px!important;
  background:linear-gradient(145deg,#fff,#f7faff)!important;
  box-shadow:0 11px 24px rgba(31,73,139,.075),inset 0 1px 0 #fff!important
}
.exam-side-card:nth-child(1){
  background:
    radial-gradient(circle at 90% 8%,rgba(139,91,255,.12),transparent 32%),
    linear-gradient(145deg,#fff,#f8f4ff)!important
}
.exam-side-card:nth-child(3){
  background:
    radial-gradient(circle at 90% 8%,rgba(255,185,50,.14),transparent 32%),
    linear-gradient(145deg,#fff,#fffaf0)!important
}
.exam-search-field,.assignment-search-field{
  border:1px solid #dce6f4!important;border-radius:11px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  box-shadow:inset 0 2px 4px rgba(30,68,127,.035),0 1px 0 #fff!important
}

.sim-grid{gap:12px!important}
.sim-card{
  min-width:0;
  box-shadow:0 12px 27px rgba(31,73,139,.085),inset 0 1px 0 #fff!important
}
.simulation-runner{
  background:
    radial-gradient(circle at 85% 0,rgba(50,139,255,.13),transparent 30%),
    linear-gradient(180deg,#f5f9ff,#eef5fd)!important
}
.sim-runner-head{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #dce7f5!important;
  box-shadow:0 7px 20px rgba(31,73,139,.07)!important
}
.sim-timer{
  border:1px solid #f8c967!important;background:linear-gradient(145deg,#fff9e8,#ffefc9)!important;
  color:#a95e00!important;box-shadow:0 7px 14px rgba(202,128,10,.12),inset 0 1px 0 #fff!important
}
.sim-question-card,.sim-result{
  border:1px solid #dfe8f5!important;border-radius:18px!important;
  background:linear-gradient(145deg,#fff,#f7faff)!important;
  box-shadow:0 14px 30px rgba(31,73,139,.09),inset 0 1px 0 #fff!important
}
.sim-option{
  border:1px solid #dfe7f4!important;background:linear-gradient(145deg,#fff,#f7faff)!important;
  box-shadow:0 5px 12px rgba(31,73,139,.05),inset 0 1px 0 #fff!important;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease!important
}
.sim-option:hover{transform:translateX(-3px);box-shadow:0 9px 17px rgba(31,73,139,.09)!important}
.sim-option.selected{border-color:#78b9fb!important;background:linear-gradient(145deg,#eef7ff,#e1efff)!important;box-shadow:0 8px 16px rgba(22,109,226,.12)!important}

.assignment-toolbar-actions{min-width:0}
.feature-filter-chips button{
  border:1px solid #dce6f3!important;background:linear-gradient(145deg,#fff,#f5f9ff)!important;
  box-shadow:0 5px 12px rgba(31,73,139,.055),inset 0 1px 0 #fff!important
}
.feature-filter-chips button.active,.feature-filter-chips button[aria-selected="true"]{
  background:linear-gradient(145deg,#2695ff,#1067df)!important;color:#fff!important;
  border-color:#0d61d3!important;box-shadow:0 8px 17px rgba(20,109,227,.22),inset 0 1px 0 rgba(255,255,255,.35)!important
}
.assignment-modal{
  border-radius:20px!important;
}
.assignment-modal .assignment-modal-hero{
  border-radius:16px!important;
  background:linear-gradient(145deg,#eef7ff,#e0efff)!important;
  border:1px solid #cfe1f7!important;box-shadow:inset 0 1px 0 #fff!important
}

.learning-tools-nav{
  border:1px solid #dfe8f5!important;background:linear-gradient(145deg,#fff,#f6faff)!important;
  box-shadow:0 10px 23px rgba(31,73,139,.07),inset 0 1px 0 #fff!important
}
.learning-tools-nav a{
  border:1px solid transparent!important;transition:transform .16s ease,box-shadow .16s ease!important
}
.learning-tools-nav a:hover{transform:translateY(-2px)!important}
.learning-tools-nav a.active{
  background:linear-gradient(145deg,#248ffc,#0c62d5)!important;
  box-shadow:0 8px 17px rgba(20,107,222,.22),inset 0 1px 0 rgba(255,255,255,.32)!important
}
.analytics-grid{min-width:0}
.analytics-card{
  border-radius:18px!important;
  background:
    radial-gradient(circle at 90% 5%,rgba(83,146,255,.08),transparent 26%),
    linear-gradient(145deg,#fff,#f8fbff)!important
}
.subject-progress-row{
  position:relative;overflow:hidden;
  border:1px solid #e1e9f5!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 6px 14px rgba(31,73,139,.05),inset 0 1px 0 #fff!important
}
.subject-progress-row:hover{transform:translateX(-3px) translateY(-1px)!important;box-shadow:0 10px 20px rgba(31,73,139,.09)!important}
.activity-bar{
  box-shadow:0 7px 13px rgba(37,99,235,.18),inset 0 1px 0 rgba(255,255,255,.34)!important
}
.exam-history-item,.weekly-result-row{
  border-bottom-color:#e9eef6!important
}

.planner-add-card,.planner-list-card,.schedule-calendar-card{
  border-radius:19px!important;
}
.planner-form input,.planner-form select{
  box-shadow:inset 0 2px 5px rgba(30,68,127,.04),0 1px 0 #fff!important
}
.planner-task{
  border:1px solid #e1e9f5!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 7px 16px rgba(31,73,139,.055),inset 0 1px 0 #fff!important
}
.planner-task.overdue{
  border-color:#f6c7c7!important;
  background:linear-gradient(145deg,#fff,#fff5f5)!important;
  box-shadow:0 8px 18px rgba(198,51,51,.07),inset 0 1px 0 #fff!important
}
.planner-check,.planner-delete{
  box-shadow:0 5px 11px rgba(31,73,139,.09),inset 0 1px 0 #fff!important;
  transition:transform .15s ease!important
}
.planner-check:hover,.planner-delete:hover{transform:translateY(-2px) scale(1.04)}
.planner-ring{
  box-shadow:0 10px 22px rgba(16,185,129,.13),inset 0 2px 0 rgba(255,255,255,.4)!important
}

.schedule-day{
  border:1px solid #e1e9f5!important;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 7px 16px rgba(31,73,139,.05),inset 0 1px 0 #fff!important;
  transition:transform .16s ease,box-shadow .16s ease!important
}
.schedule-day:hover{transform:translateY(-2px);box-shadow:0 11px 21px rgba(31,73,139,.085)!important}
.schedule-day.today{
  border-color:#80bdf8!important;background:linear-gradient(145deg,#eef7ff,#e2f0ff)!important;
  box-shadow:0 10px 21px rgba(22,109,226,.12),inset 0 1px 0 #fff!important
}
.schedule-item{
  border:1px solid #e1e9f4!important;
  background:linear-gradient(145deg,#fff,#f7faff)!important;
  box-shadow:0 5px 12px rgba(31,73,139,.045),inset 0 1px 0 #fff!important
}
.schedule-kind-icon{
  box-shadow:0 6px 13px rgba(31,73,139,.12),inset 0 1px 0 rgba(255,255,255,.45)!important
}

.weekly-bar-track{box-shadow:inset 0 3px 6px rgba(31,73,139,.07),0 1px 0 #fff!important}
.weekly-bar-track span{box-shadow:0 5px 10px rgba(37,99,235,.17),inset 0 1px 0 rgba(255,255,255,.35)!important}
.weekly-compare-row,.weekly-subject-row,.weekly-recommendation{
  border:1px solid #e1e9f4!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 6px 14px rgba(31,73,139,.05),inset 0 1px 0 #fff!important;
  transition:transform .15s ease,box-shadow .15s ease!important
}
.weekly-compare-row:hover,.weekly-subject-row:hover,.weekly-recommendation:hover{
  transform:translateY(-2px)!important;box-shadow:0 10px 20px rgba(31,73,139,.09)!important
}

.library-grid,.live-grid,.community-layout,.podium,.notification-center-layout{min-width:0}
.library-card{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 10px 23px rgba(31,73,139,.075),inset 0 1px 0 #fff!important
}
.library-card:before{
  content:"";position:absolute;right:-35px;top:-45px;width:100px;height:100px;border-radius:50%;
  background:rgba(36,135,246,.06);pointer-events:none
}
.library-card:hover{transform:translateY(-4px)!important;box-shadow:0 17px 32px rgba(31,73,139,.13),inset 0 1px 0 #fff!important}
.library-icon{
  background:linear-gradient(145deg,#ff6c7c,#e23d52)!important;color:#fff!important
}
.library-open{
  border:1px solid #d7e4f4!important;background:linear-gradient(145deg,#fff,#edf5ff)!important;
  box-shadow:0 5px 11px rgba(31,73,139,.08),inset 0 1px 0 #fff!important
}

.live-card{
  border:1px solid #dfe8f5!important;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 12px 27px rgba(31,73,139,.085),inset 0 1px 0 #fff!important
}
.live-card:hover{transform:translateY(-5px)!important;box-shadow:0 19px 37px rgba(31,73,139,.14),inset 0 1px 0 #fff!important}
.live-cover{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 30% 20%,rgba(74,149,255,.32),transparent 28%),
    linear-gradient(145deg,#081b45,#0a347a)!important;
  box-shadow:inset 0 -12px 30px rgba(2,17,54,.22)!important
}
.live-cover:after{
  content:"";position:absolute;left:10%;right:10%;top:5px;height:1px;background:rgba(255,255,255,.26)
}
.live-cover>span:first-child{animation:uiLiveFloat 3.8s ease-in-out infinite}
@keyframes uiLiveFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.04)}}
.live-status{box-shadow:0 5px 12px rgba(4,20,60,.14),inset 0 1px 0 rgba(255,255,255,.35)!important}
.live-viewer-panel{border-radius:22px!important}

.community-post{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,#fff,#f8fbff)!important
}
.community-avatar{
  background:linear-gradient(145deg,#2595ff,#0c63d8)!important;color:#fff!important;
  box-shadow:0 7px 14px rgba(20,105,220,.20),inset 0 1px 0 rgba(255,255,255,.35)!important
}
.community-actions button{
  border:1px solid #dfe7f3!important;background:linear-gradient(145deg,#fff,#f4f8ff)!important;
  box-shadow:0 4px 9px rgba(31,73,139,.055),inset 0 1px 0 #fff!important;
  transition:transform .15s ease,box-shadow .15s ease!important
}
.community-actions button:hover:not(:disabled){transform:translateY(-2px)!important;box-shadow:0 7px 13px rgba(31,73,139,.09)!important}
.community-actions button.liked{
  background:linear-gradient(145deg,#fff1f4,#ffe5eb)!important;border-color:#ffc8d4!important;
  color:#e03861!important
}
.community-side-card{
  background:
    radial-gradient(circle at 90% 8%,rgba(109,91,255,.08),transparent 30%),
    linear-gradient(145deg,#fff,#f8fbff)!important
}

.podium-card{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,#fff,#f7faff)!important;
  box-shadow:0 13px 29px rgba(31,73,139,.09),inset 0 1px 0 #fff!important
}
.podium-card:before{
  content:"";position:absolute;left:-25px;top:-35px;width:90px;height:90px;border-radius:50%;
  background:rgba(99,102,241,.06)
}
.podium-card:hover{transform:translateY(-5px)!important;box-shadow:0 20px 38px rgba(31,73,139,.14),inset 0 1px 0 #fff!important}
.podium-card.first{
  background:
    radial-gradient(circle at 50% 0,rgba(255,202,58,.20),transparent 35%),
    linear-gradient(145deg,#fffdf5,#fff8df)!important;
  border-color:#f5dc8d!important
}
.podium-medal{filter:drop-shadow(0 9px 8px rgba(135,91,9,.18));animation:uiMedal 3.5s ease-in-out infinite}
@keyframes uiMedal{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(-3deg)}}
.podium-avatar,.rank-avatar{
  background:linear-gradient(145deg,#2c98ff,#0e65dc)!important;color:#fff!important;
  box-shadow:0 7px 14px rgba(20,105,220,.19),inset 0 1px 0 rgba(255,255,255,.35)!important
}
.rank-list{
  border:1px solid #dfe8f5!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 12px 27px rgba(31,73,139,.075),inset 0 1px 0 #fff!important
}
.rank-row{transition:transform .15s ease,background .15s ease!important}
.rank-row:hover{transform:translateX(-2px);background:#f3f8ff!important}

.notification-filter-card,.notification-center-main{
  border:1px solid #dfe8f5!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 12px 27px rgba(31,73,139,.075),inset 0 1px 0 #fff!important
}
.notification-center-item{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 7px 16px rgba(31,73,139,.055),inset 0 1px 0 #fff!important
}
.notification-center-item.unread{
  border-color:#acd0f7!important;
  background:linear-gradient(145deg,#f5faff,#eaf4ff)!important;
  box-shadow:0 9px 19px rgba(20,108,225,.09),inset 3px 0 #1478f2!important
}
.notification-center-item:hover{transform:translateY(-3px)!important;box-shadow:0 13px 25px rgba(31,73,139,.105)!important}
.notification-read-btn,.notification-open-btn{
  border:1px solid #dce6f3!important;background:linear-gradient(145deg,#fff,#f3f8ff)!important;
  box-shadow:0 4px 9px rgba(31,73,139,.055),inset 0 1px 0 #fff!important
}

@media(max-width:980px){
  .exam-layout,.planner-layout,.schedule-layout,.notification-center-layout{grid-template-columns:minmax(0,1fr)!important}
  .exam-sidebar,.planner-side,.schedule-side,.notification-filter-card{position:relative!important;top:auto!important}
  .feature-stat-row,.feature-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .feature-hero-card{border-radius:17px!important}
  .feature-hero-card .feature-hero-art{width:70px;height:70px;border-radius:20px}
  .exam-layout,.planner-layout,.schedule-layout,.notification-center-layout{gap:10px!important}
  .library-grid,.live-grid{grid-template-columns:1fr!important}
  .podium{grid-template-columns:1fr!important}
  .podium-card.first{order:-1}
  .community-layout{grid-template-columns:1fr!important}
}
@media(max-width:520px){
  .feature-stat-row,.feature-stat-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .feature-stat-row article,.feature-stat-grid article{min-height:68px!important;padding:9px!important}
  .feature-stat-row .stat-icon,.feature-stat-grid .feature-card-icon{width:40px!important;height:40px!important;border-radius:12px!important}
  .feature-stat-row strong,.feature-stat-grid strong{font-size:17px!important}
  .feature-toolbar{align-items:stretch!important}
  .feature-tabs{overflow-x:auto;white-space:nowrap;scrollbar-width:none}
  .feature-tabs::-webkit-scrollbar{display:none}
  .feature-filter{width:100%}
  .feature-filter>*{min-width:0}
  .ref-tools-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
  .live-cover>span:first-child,.podium-medal{animation:none!important}
}

/* Vivid hub color layer 2026 */
.exam-card:nth-child(5n+1),.assignment-card:nth-child(5n+1),.sim-card:nth-child(5n+1){
  background:linear-gradient(145deg,#eef7ff,#d8ebff)!important;border-color:#b8dbff!important
}
.exam-card:nth-child(5n+2),.assignment-card:nth-child(5n+2),.sim-card:nth-child(5n+2){
  background:linear-gradient(145deg,#effff9,#cff7e8)!important;border-color:#a0e9d2!important
}
.exam-card:nth-child(5n+3),.assignment-card:nth-child(5n+3),.sim-card:nth-child(5n+3){
  background:linear-gradient(145deg,#f8efff,#e8d4ff)!important;border-color:#d1b2ff!important
}
.exam-card:nth-child(5n+4),.assignment-card:nth-child(5n+4),.sim-card:nth-child(5n+4){
  background:linear-gradient(145deg,#fff9e6,#ffe8ad)!important;border-color:#ffd36f!important
}
.exam-card:nth-child(5n+5),.assignment-card:nth-child(5n+5),.sim-card:nth-child(5n+5){
  background:linear-gradient(145deg,#fff1f5,#ffd4df)!important;border-color:#ffb4c7!important
}
.exam-card:before,.assignment-card:before,.sim-card:before{width:5px!important}
.exam-card:nth-child(5n+1):before,.assignment-card:nth-child(5n+1):before,.sim-card:nth-child(5n+1):before{background:linear-gradient(180deg,#0a8cff,#075fe0)!important}
.exam-card:nth-child(5n+2):before,.assignment-card:nth-child(5n+2):before,.sim-card:nth-child(5n+2):before{background:linear-gradient(180deg,#19d3a1,#009e74)!important}
.exam-card:nth-child(5n+3):before,.assignment-card:nth-child(5n+3):before,.sim-card:nth-child(5n+3):before{background:linear-gradient(180deg,#a15bff,#7033df)!important}
.exam-card:nth-child(5n+4):before,.assignment-card:nth-child(5n+4):before,.sim-card:nth-child(5n+4):before{background:linear-gradient(180deg,#ffb934,#f27a12)!important}
.exam-card:nth-child(5n+5):before,.assignment-card:nth-child(5n+5):before,.sim-card:nth-child(5n+5):before{background:linear-gradient(180deg,#ff6682,#e53c59)!important}
.exam-card:hover,.assignment-card:hover,.sim-card:hover{filter:saturate(1.08)}

.planner-task:nth-child(4n+1){background:linear-gradient(145deg,#f0f8ff,#ddecff)!important}
.planner-task:nth-child(4n+2){background:linear-gradient(145deg,#effff9,#d3f7ea)!important}
.planner-task:nth-child(4n+3){background:linear-gradient(145deg,#f8f1ff,#e8d9ff)!important}
.planner-task:nth-child(4n+4){background:linear-gradient(145deg,#fff9e9,#ffeab7)!important}
.planner-task.done{filter:saturate(.65);opacity:.66!important}
.planner-check{background:linear-gradient(145deg,#eafff6,#c8f4e3)!important;color:#009a70!important}
.planner-delete{background:linear-gradient(145deg,#fff2f4,#ffdce2)!important;color:#dc3b55!important}
.planner-suggestion{
  background:
    radial-gradient(circle at 90% 0,rgba(39,141,255,.14),transparent 30%),
    linear-gradient(145deg,#f8fbff,#eaf4ff)!important
}
.planner-week-goal{
  background:
    radial-gradient(circle at 90% 0,rgba(0,191,137,.14),transparent 30%),
    linear-gradient(145deg,#f8fffc,#eafaf4)!important
}
.planner-tip-card{
  background:
    radial-gradient(circle at 90% 0,rgba(255,180,40,.16),transparent 30%),
    linear-gradient(145deg,#fffdf5,#fff6df)!important
}

.schedule-day:nth-child(7n+1){background:linear-gradient(145deg,#f0f8ff,#e0eeff)!important}
.schedule-day:nth-child(7n+2){background:linear-gradient(145deg,#effff9,#d9f8ec)!important}
.schedule-day:nth-child(7n+3){background:linear-gradient(145deg,#f8f1ff,#eadcff)!important}
.schedule-day:nth-child(7n+4){background:linear-gradient(145deg,#fff9e9,#ffecbb)!important}
.schedule-day:nth-child(7n+5){background:linear-gradient(145deg,#fff2f5,#ffdce4)!important}
.schedule-day:nth-child(7n+6){background:linear-gradient(145deg,#edffff,#d5f4f5)!important}
.schedule-day:nth-child(7n+7){background:linear-gradient(145deg,#f2f4ff,#dfe4ff)!important}
.schedule-day.today{
  border:2px solid #4da5fb!important;
  box-shadow:0 13px 28px rgba(20,111,229,.17),inset 0 1px 0 #fff!important
}
.schedule-item{background:rgba(255,255,255,.82)!important}

.analytics-card:nth-child(4n+1){
  background:
    radial-gradient(circle at 92% 0,rgba(31,139,255,.10),transparent 28%),
    linear-gradient(145deg,#fff,#f1f8ff)!important
}
.analytics-card:nth-child(4n+2){
  background:
    radial-gradient(circle at 92% 0,rgba(0,188,134,.10),transparent 28%),
    linear-gradient(145deg,#fff,#f2fff9)!important
}
.analytics-card:nth-child(4n+3){
  background:
    radial-gradient(circle at 92% 0,rgba(128,64,244,.10),transparent 28%),
    linear-gradient(145deg,#fff,#faf5ff)!important
}
.analytics-card:nth-child(4n+4){
  background:
    radial-gradient(circle at 92% 0,rgba(255,174,34,.11),transparent 28%),
    linear-gradient(145deg,#fff,#fffaf1)!important
}
.subject-progress-row:nth-child(4n+1){border-right:4px solid #1687f5!important}
.subject-progress-row:nth-child(4n+2){border-right:4px solid #00ae7e!important}
.subject-progress-row:nth-child(4n+3){border-right:4px solid #7c42e8!important}
.subject-progress-row:nth-child(4n+4){border-right:4px solid #ef8a16!important}

.library-card:nth-child(5n+1){background:linear-gradient(145deg,#eef8ff,#dceeff)!important}
.library-card:nth-child(5n+2){background:linear-gradient(145deg,#effff9,#d8f8ec)!important}
.library-card:nth-child(5n+3){background:linear-gradient(145deg,#f8f1ff,#eadbff)!important}
.library-card:nth-child(5n+4){background:linear-gradient(145deg,#fff9e9,#ffeaba)!important}
.library-card:nth-child(5n+5){background:linear-gradient(145deg,#fff2f5,#ffdce4)!important}
.library-card .library-icon{width:52px!important;height:52px!important;border-radius:15px!important;font-size:19px!important}
.library-card:nth-child(5n+2) .library-icon{background:linear-gradient(145deg,#28d4a4,#00a67a)!important}
.library-card:nth-child(5n+3) .library-icon{background:linear-gradient(145deg,#a15cff,#7033df)!important}
.library-card:nth-child(5n+4) .library-icon{background:linear-gradient(145deg,#ffb932,#f27a12)!important}
.library-card:nth-child(5n+5) .library-icon{background:linear-gradient(145deg,#ff6681,#e43d58)!important}

.live-card:nth-child(4n+1){background:linear-gradient(145deg,#f1f8ff,#dcecff)!important}
.live-card:nth-child(4n+2){background:linear-gradient(145deg,#f7f0ff,#e7d7ff)!important}
.live-card:nth-child(4n+3){background:linear-gradient(145deg,#effff9,#d6f8eb)!important}
.live-card:nth-child(4n+4){background:linear-gradient(145deg,#fff6e9,#ffe4b9)!important}
.live-status.live{background:linear-gradient(145deg,#ff5d78,#df304e)!important;color:#fff!important}
.live-status.upcoming{background:linear-gradient(145deg,#2898ff,#0866dc)!important;color:#fff!important}
.live-status.ended{background:linear-gradient(145deg,#6f809d,#4d5d77)!important;color:#fff!important}

.community-post:nth-child(4n+1){background:linear-gradient(145deg,#f4f9ff,#e7f2ff)!important}
.community-post:nth-child(4n+2){background:linear-gradient(145deg,#f5fff9,#e2faef)!important}
.community-post:nth-child(4n+3){background:linear-gradient(145deg,#fbf6ff,#eee2ff)!important}
.community-post:nth-child(4n+4){background:linear-gradient(145deg,#fffaf2,#ffedc8)!important}
.community-post h3{color:#102458!important}
.community-avatar{width:42px!important;height:42px!important;border-radius:13px!important}
.community-actions button.liked{box-shadow:0 6px 12px rgba(222,56,97,.10),inset 0 1px 0 #fff!important}

.podium-card:nth-child(1){background:linear-gradient(145deg,#fff7db,#ffd86b)!important;border-color:#ffc53b!important}
.podium-card:nth-child(2){background:linear-gradient(145deg,#f2f5fa,#dce3ed)!important;border-color:#c6d0df!important}
.podium-card:nth-child(3){background:linear-gradient(145deg,#fff0e8,#ffc99d)!important;border-color:#f0a96e!important}
.podium-avatar{width:58px!important;height:58px!important;border-radius:17px!important;font-size:18px!important}
.rank-row:nth-child(even){background:#f7faff}
.rank-row.is-me{
  background:linear-gradient(90deg,#dff0ff,#f7fbff)!important;
  box-shadow:inset -4px 0 #087cff!important
}

.notification-center-item:nth-child(4n+1){border-right:4px solid #1889f8!important}
.notification-center-item:nth-child(4n+2){border-right:4px solid #00ae7e!important}
.notification-center-item:nth-child(4n+3){border-right:4px solid #7b40e7!important}
.notification-center-item:nth-child(4n+4){border-right:4px solid #ef8b17!important}
.notification-center-item.unread{
  background:linear-gradient(145deg,#eff8ff,#dceeff)!important
}
.notification-center-icon{width:46px!important;height:46px!important;border-radius:14px!important}

.weekly-recommendation:nth-child(3n+1){border-right:4px solid #1688f7!important}
.weekly-recommendation:nth-child(3n+2){border-right:4px solid #00ad7d!important}
.weekly-recommendation:nth-child(3n+3){border-right:4px solid #7b40e7!important}

@media(max-width:720px){
  .library-card .library-icon{width:46px!important;height:46px!important}
  .podium-avatar{width:50px!important;height:50px!important}
}

