.student-course-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),380px));gap:18px;margin-top:24px;}
.student-course-card {padding:0;overflow:hidden;max-width:380px;display:flex;flex-direction:column;}
.student-course-art {min-height:80px;background:linear-gradient(125deg,#1e315c,#0c1833);padding:16px 18px;display:flex;align-items:center;gap:12px;position:relative;color:#eef2ff;}
.student-course-art img,.student-course-art .hub-course-icon {width:44px;height:44px;border-radius:12px;}
.student-course-art>span:first-of-type {font-size:11px;font-weight:750;letter-spacing:.08em;}
.student-course-art .badge {display:none;}
.student-course-body {padding:18px;display:grid;gap:9px;flex:1;}
.student-course-body h2,.student-course-body p {margin:0;}
.student-course-body h2 {font-size:1.15rem;line-height:1.35;}
.student-course-body>button {margin-top:4px;padding:10px 14px;}
.student-course-body>.badge {justify-self:start;font-size:.72rem;}
.student-course-body>p:not(.muted) {font-size:.88rem;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
.student-course-body progress {margin:0;height:7px;}
.student-course-body>.muted {font-size:.78rem;}
.student-progress-label {display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:.875rem;}
.student-course-progress {margin:24px 0;display:grid;gap:16px;grid-template-columns:1fr auto;align-items:center;}
.student-course-progress h2 {font-size:1.3rem;margin:10px 0;}
.student-course-progress progress {grid-row:2;grid-column:1/-1;}
.student-course-path {display:grid;gap:18px;margin:24px 0 36px;padding-left:20px;position:relative;}
.student-course-path:before {content:"";position:absolute;left:36px;top:20px;bottom:20px;width:2px;background:var(--panel-line,var(--line));}
.student-unit-card {display:grid;grid-template-columns:38px 152px minmax(0,1fr) auto;gap:18px;align-items:center;position:relative;padding:20px;border:1px solid var(--panel-line,var(--line));border-radius:18px;background:var(--panel-surface,#111b2e);}
.student-unit-card.is-next {border-color:var(--panel-primary,var(--blue));box-shadow:0 0 0 1px var(--panel-primary,var(--blue));}
.student-path-marker {position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;background:var(--panel-surface,#16243c);border:1px solid var(--panel-line,var(--line));border-radius:50%;font-weight:750;color:var(--panel-muted,var(--muted));}
.student-unit-card.is-complete .student-path-marker {background:var(--panel-success-bg,#174637);color:var(--panel-success,#c4f7da);border-color:var(--panel-success,#3a9c70);}
.student-unit-card.is-next .student-path-marker {background:var(--panel-primary,var(--blue));color:white;}
.student-unit-cover {display:block;width:152px;aspect-ratio:16/9;object-fit:cover;border-radius:12px;max-width:100%;border:1px solid var(--panel-line,var(--line));}
.student-unit-fallback {display:grid;place-items:center;font-size:2rem;font-weight:750;background:linear-gradient(140deg,#243d73,#15233e);color:#dfe7ff;}
.student-unit-info {min-width:0;}
.student-unit-info h2 {font-size:1.15rem;margin:10px 0;overflow-wrap:anywhere;}
.student-unit-info p {font-size:.85rem;line-height:1.6;margin:0;}
.student-unit-navigation {display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:24px 0;}
.student-activity.trail-step {display:block;grid-template-columns:none;background:var(--panel-surface,#111b2e);border:1px solid var(--panel-line,var(--line));border-radius:16px;}
.student-activity.trail-step:before {display:none;}
.student-activity>summary {display:flex;align-items:center;gap:16px;padding:18px;cursor:pointer;list-style:none;}
.student-activity>summary::-webkit-details-marker {display:none;}
.student-activity>summary:after {content:"+";margin-left:auto;font-size:1.5rem;color:var(--panel-muted,var(--muted));}
.student-activity[open]>summary:after {content:"−";}
.student-activity .trail-step-marker {flex:none;}
.student-activity-thumbnail {width:132px;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--panel-line,var(--line));border-radius:10px;flex:none;}
.student-activity-thumbnail[role=button] {cursor:pointer;}
.student-activity-thumbnail[role=button]:focus-visible {outline:3px solid var(--panel-primary,var(--blue));outline-offset:4px;}
.student-activity-heading {min-width:0;}
.student-activity-heading h3 {font-size:1.05rem;line-height:1.45;margin:8px 0;overflow-wrap:anywhere;}
.student-activity-heading .badge {font-size:.7rem;}
.student-content-symbol {display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:12px;background:var(--panel-raised,#203355);color:var(--panel-muted,var(--muted));font-weight:700;}
.student-activity .trail-step-card {border:0;border-top:1px solid var(--panel-line,var(--line));border-radius:0 0 16px 16px;background:transparent;padding:24px;}
.student-activity .trail-editor-preview {padding:18px 0;}
.student-activity .lesson-body {margin-bottom:18px;}
@media(max-width:900px){.student-unit-card{grid-template-columns:36px 112px minmax(0,1fr);gap:14px;}.student-unit-cover{width:112px;}.student-unit-card>button{grid-column:2/-1;justify-self:start;}}
@media(max-width:600px){.student-course-progress{grid-template-columns:1fr;}.student-course-progress progress{grid-row:auto;}.student-course-progress>button{width:100%;}.student-course-path{padding-left:0;}.student-course-path:before{display:none;}.student-unit-card{padding:16px;grid-template-columns:28px minmax(0,1fr);gap:14px;}.student-path-marker{width:28px;height:28px;font-size:.75rem;}.student-unit-cover{grid-column:2;width:100%;max-width:220px;}.student-unit-info{grid-column:2;}.student-unit-card>button{grid-column:2;justify-self:stretch;}.student-activity>summary{gap:10px;padding:14px;flex-wrap:wrap;}.student-activity-thumbnail{width:100px;}.student-activity-heading{flex:1 1 130px;}.student-activity>summary:after{display:none;}.student-activity .trail-step-card{padding:18px 14px;}.student-activity .trail-step-marker{width:26px;height:26px;font-size:11px;}.student-content-symbol{width:42px;height:42px;}}
.student-demo {padding-top:38px;}
.student-demo-banner {position:fixed;top:0;left:0;right:0;z-index:150;background:#fde9b6;color:#483608;padding:9px 16px;text-align:center;font-size:12px;font-weight:700;}
@media(max-width:600px){.student-demo{padding-top:54px;}.student-demo-banner{font-size:11px;line-height:1.45;}}
main:has(.student-course-path),main:has(#unit-content) {scroll-margin-top:110px;}
