.jaygah-save-status{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-block:12px;line-height:1.8}.jaygah-save-status.is-error{color:var(--jaygah-danger)}.jaygah-save-status button{min-height:44px;background:transparent;color:inherit;text-decoration:underline;border:0;cursor:pointer}.jaygah-next-reason{display:block;color:var(--jaygah-accent-text,var(--jaygah-primary));font-weight:700;margin-block:8px}.jaygah-recent-replies{padding:var(--jaygah-space);background:var(--jaygah-primary-soft);border-radius:var(--jaygah-radius-lg);margin-block:16px}.jaygah-recent-replies a{display:block;padding:10px;min-height:44px}.jaygah-empty-help{display:block;margin-block:16px;color:var(--jaygah-accent-text,var(--jaygah-primary))}
@media(prefers-reduced-motion:no-preference){body:not(.jaygah-reduced-motion) :where(.jaygah-button,form.login .submit-btn){transition:box-shadow .18s ease,filter .18s ease}body:not(.jaygah-reduced-motion) :where(.jaygah-button,form.login .submit-btn):is(:hover,:focus-visible){filter:brightness(1.06);box-shadow:var(--jaygah-action-shadow)}}
@media(prefers-reduced-motion:reduce){:where(.jaygah-button,.jaygah-curriculum-rail,.jaygah-curriculum-backdrop){transition:none!important;animation:none!important}}

.jaygah-reduced-motion :is(.jaygah-button,.jaygah-motion-icon,.jaygah-motion-icon *,.jaygah-progress>span){transition:none!important;animation:none!important}
.jaygah-start-guide{box-sizing:border-box;width:100%;min-width:0;margin-block:20px;padding:var(--jaygah-space,20px);background:var(--jaygah-card-bg,#fff);color:var(--jaygah-text,#18343d);border-radius:var(--jaygah-radius-lg,24px);box-shadow:var(--jaygah-shadow);font-family:var(--jaygah-font,inherit);line-height:2;text-align:start;overflow-wrap:anywhere}.jaygah-start-guide summary{cursor:pointer;min-height:44px;font-weight:700}.jaygah-start-guide ol{padding-inline-start:24px}.jaygah-start-guide li{margin-block:12px}.jaygah-start-guide a{color:var(--jaygah-accent-text,var(--jaygah-primary,#008a90));text-decoration:underline;text-underline-offset:4px}.jaygah-login-help{font-size:13px}.jaygah-login-help .jaygah-empty-help{min-height:44px}
.jaygah-work-queue{display:flex;gap:12px;flex-wrap:wrap;margin-block:16px}.jaygah-reply-editor{padding:20px;border-radius:var(--jaygah-radius-lg);background:var(--jaygah-surface);margin-block:16px}.jaygah-reply-editor fieldset{display:grid;gap:12px;padding:16px;margin-block:12px;border:1px solid #dce7e8;border-radius:var(--jaygah-radius-md)}.jaygah-reply-editor input,.jaygah-reply-editor textarea{width:100%;max-width:100%;box-sizing:border-box;padding:12px;border-radius:var(--jaygah-radius-sm)}.jaygah-reply-editor button{min-height:44px;margin:6px;padding:8px 14px;cursor:pointer}.jaygah-reply-editor summary{cursor:pointer;min-height:44px}.jaygah-dashboard-continue .jaygah-next-reason{color:color-mix(in srgb,var(--jaygah-primary) 50%,white)}

/* Student overview compatibility aliases inherit the existing JDS contract.
 * Keep shared home renders, account navigation and extension siblings unchanged.
 */
:where(
    body.jaygah-account-app.jaygah-workspace-student
    .user-panel-dashboard-pnlt >
    :is(.jaygah-dashboard-continue, .jaygah-dashboard-empty, .jaygah-learning-summary)
) {
    --jaygah-primary: var(--jds-color-primary);
    --jaygah-surface: var(--jds-color-surface);
    --jaygah-surface-soft: var(--jds-color-surface-soft);
    --jaygah-text: var(--jds-color-text);
    --jaygah-muted: var(--jds-color-muted);
    --jaygah-primary-soft: var(--jds-color-primary-soft);
    --jaygah-accent-text: var(--jds-color-accent-text);
    --jaygah-success: var(--jds-color-success);
    --jaygah-warning: var(--jds-color-warning);
    --jaygah-danger: var(--jds-color-danger);
    --jaygah-radius-sm: var(--jds-radius-control);
    --jaygah-radius-md: var(--jds-radius-media);
    --jaygah-radius-lg: var(--jds-radius-card);
    --jaygah-shadow: var(--jds-shadow-card);
    --jaygah-shadow-low: var(--jds-shadow-sm);
    --jaygah-shadow-medium: var(--jds-shadow-card);
    --jaygah-shadow-high: var(--jds-shadow-raised);
    --jaygah-touch: var(--jds-touch-target);
}

/* ==========================================================================
   Gemini Premium Visual Design Recovery — Student Overview Dashboard
   Authoritative, minimal, elegant Persian SaaS experience built on JDS.
   ========================================================================== */

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue,.jaygah-dashboard-empty,.jaygah-learning-summary) {
    font-family: var(--jds-font-family);
    color: var(--jds-color-text);
    letter-spacing: normal;
}

/* --- Hero Active Learning Command Center --- */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue,.jaygah-dashboard-empty) {
    box-sizing: border-box;
    position: relative;
    gap: var(--jds-space-6);
    padding: clamp(var(--jds-space-5), 3vw, var(--jds-space-8));
    border: 1px solid color-mix(in srgb, var(--jds-color-primary) 18%, var(--jds-color-border));
    border-radius: var(--jds-radius-card);
    background: var(--jds-color-surface);
    background-image: radial-gradient(ellipse 75% 55% at 95% 0%, color-mix(in srgb, var(--jds-color-primary) 10%, transparent) 0%, transparent 68%);
    box-shadow: var(--jds-shadow-card);
    text-align: start;
    overflow: hidden;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem);
    align-items: center;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-dashboard-copy {
    gap: var(--jds-space-4);
    min-width: 0;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue,.jaygah-dashboard-empty) .jaygah-eyebrow {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: var(--jds-space-2);
    padding: var(--jds-space-1) var(--jds-space-3);
    border: 1px solid color-mix(in srgb, var(--jds-color-primary) 22%, transparent);
    border-radius: var(--jds-radius-pill);
    background: var(--jds-color-primary-soft);
    color: var(--jds-color-accent-text);
    font-size: var(--jds-type-meta);
    font-weight: var(--jds-weight-label);
    line-height: var(--jds-leading-heading);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue,.jaygah-dashboard-empty) .jaygah-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--jds-color-primary);
    /* Status is indicated by color and text, without glow. */
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-dashboard-copy h2,
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-empty h2 {
    margin: 0;
    color: var(--jds-color-text);
    font: var(--jds-weight-heading) var(--jds-type-section)/1.32 var(--jds-font-heading);
    letter-spacing: -0.015em;
    overflow-wrap: anywhere;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-dashboard-copy p,
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-empty p {
    margin: var(--jds-space-1) 0 0;
    color: var(--jds-color-muted);
    font-size: var(--jds-type-small);
    line-height: var(--jds-leading-body);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-next-reason {
    margin: 0;
    color: var(--jds-color-accent-text);
    font-size: var(--jds-type-meta);
    font-weight: var(--jds-weight-label);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-dashboard-cover {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 180px;
    padding: var(--jds-space-4);
    border: 1px solid color-mix(in srgb, var(--jds-color-primary) 16%, var(--jds-color-border));
    border-radius: var(--jds-radius-media);
    background: linear-gradient(150deg, color-mix(in srgb, var(--jds-color-primary) 8%, var(--jds-color-surface)), var(--jds-color-surface));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), var(--jds-shadow-sm);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-course-journey {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--jds-space-2);
    min-height: 0;
    padding: var(--jds-space-2);
    border: 0;
    background: transparent;
    color: var(--jds-color-accent-text);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-course-journey svg {
    width: calc(var(--jds-space-10) * 1.8);
    height: calc(var(--jds-space-8) * 1.6);
    color: var(--jds-color-primary);
    filter: drop-shadow(0 3px 6px color-mix(in srgb, var(--jds-color-primary) 20%, transparent));
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-course-journey strong {
    color: var(--jds-color-text);
    font-size: var(--jds-type-caption);
    font-weight: var(--jds-weight-label);
    line-height: var(--jds-leading-heading);
    text-align: center;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-status-pill {
    margin-block-start: var(--jds-space-2);
    padding: 3px var(--jds-space-3);
    border: 1px solid color-mix(in srgb, var(--jds-color-success) 24%, transparent);
    border-radius: var(--jds-radius-pill);
    background: color-mix(in srgb, var(--jds-color-success) 10%, var(--jds-color-surface));
    color: var(--jds-color-success);
    font-size: var(--jds-type-caption);
    font-weight: 700;
    line-height: var(--jds-leading-heading);
}

body:is(.dark-mode-shkrn, [data-theme="dark"]):where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-status-pill,
body:is(.dark-mode-shkrn, [data-theme="dark"]) :where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-status-pill {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.32);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--jds-space-2) var(--jds-space-4);
    color: var(--jds-color-muted);
    font-size: var(--jds-type-meta);
    line-height: var(--jds-leading-body);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-progress-meta strong {
    color: var(--jds-color-primary);
    font-weight: 800;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue,.jaygah-learning-summary) .jaygah-progress {
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: var(--jds-radius-pill);
    background: color-mix(in srgb, var(--jds-color-text) 8%, var(--jds-color-surface));
    overflow: hidden;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue,.jaygah-learning-summary) .jaygah-progress > span {
    background: linear-gradient(90deg, var(--jds-color-primary), color-mix(in srgb, var(--jds-color-primary) 85%, #fff));
    border-radius: inherit;
    box-shadow: 0 0 10px color-mix(in srgb, var(--jds-color-primary) 35%, transparent);
}

/* Shared action: panel-components.css. */

/* Shared action: panel-components.css. */

/* --- Student Overview Summary Section & Shared Metric Surface --- */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary {
    gap: var(--jds-space-6);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats {
    gap: var(--jds-space-4);
}

/* Uniform card geometry and surface across all summary cards */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats article,
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary :is(.jaygah-feedback-queue,.jaygah-review-queue,.jaygah-dashboard-recent) {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: var(--jds-space-5);
    border: 1px solid var(--jds-color-border);
    border-radius: var(--jds-radius-card);
    background: var(--jds-color-surface);
    color: var(--jds-color-text);
    box-shadow: var(--jds-shadow-card);
    text-align: start;
    transition: transform var(--jds-duration-fast) var(--jds-ease), border-color var(--jds-duration-fast) var(--jds-ease), box-shadow var(--jds-duration-fast) var(--jds-ease);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats article:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--jds-color-primary) 28%, var(--jds-color-border));
    box-shadow: 0 14px 32px -10px color-mix(in srgb, var(--jds-color-primary) 12%, rgba(0, 0, 0, 0.05)), var(--jds-shadow-card);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats > article > a,
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* Card Header: Label + Refined Icon Squircle Badge */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats article > a > span:first-child,
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats article > span:first-child,
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats summary > span:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--jds-color-muted);
    font-size: var(--jds-type-small);
    font-weight: var(--jds-weight-label);
    line-height: var(--jds-leading-heading);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats article > a > span:first-child::after,
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats article > span:first-child::after,
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats summary > span:first-child::after {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--jds-color-primary) 18%, transparent);
    background: var(--jds-color-primary-soft);
    color: var(--jds-color-accent-text);
    box-shadow: 0 2px 6px color-mix(in srgb, var(--jds-color-primary) 10%, transparent);
    transition: transform var(--jds-duration-fast) var(--jds-ease);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats article:hover :is(a, summary, span):first-child::after {
    transform: scale(1.06);
}

/* Confident, Tabular Persian Numerical Display */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats strong {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-block: var(--jds-space-2) var(--jds-space-3);
    color: var(--jds-color-text);
    font: 800 clamp(1.85rem, 2.5vw, 2.25rem)/1.15 var(--jds-font-family);
    letter-spacing: -0.02em;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats small {
    display: block;
    margin-top: auto;
    color: var(--jds-color-muted);
    font-size: var(--jds-type-meta);
    line-height: var(--jds-leading-body);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats :is(article > a,summary,article) > small:last-child {
    padding-block-start: var(--jds-space-3);
    border-top: 1px solid var(--jds-color-border);
}

/* Streak card week tracker nodes */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-flame {
    display: inline-block;
    width: 13px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    vertical-align: middle;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-streak-week {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-block: var(--jds-space-1) var(--jds-space-3);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-streak-week > span {
    flex: 1;
    height: 7px;
    border-radius: var(--jds-radius-pill);
    background: color-mix(in srgb, var(--jds-color-text) 8%, var(--jds-color-surface));
    border: 1px solid var(--jds-color-border);
    color: transparent;
    font-size: 0;
    transition: all 0.2s ease;
}

/* Gamified daily reward action (strictly contrast-tested >= 4.5 in light & dark) */
body:where(.jaygah-account-app.jaygah-workspace-student) .user-panel-dashboard-pnlt > .jaygah-learning-summary .jaygah-student-stats .jaygah-button {
    --jaygah-action-foreground: var(--jds-color-accent-text);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    min-width: 44px;
    padding: 10px 16px;
    margin-block-end: var(--jds-space-2);
    border: 1px solid color-mix(in srgb, var(--jds-color-primary) 32%, var(--jds-color-border));
    border-radius: var(--jds-radius-control);
    background: var(--jds-color-primary-soft);
    color: var(--jds-color-accent-text);
    font: var(--jds-weight-label) var(--jds-type-small)/1.6 var(--jds-font-family);
    text-align: center;
    box-shadow: none;
    transform: none;
    cursor: pointer;
    transition: background var(--jds-duration-fast) var(--jds-ease), border-color var(--jds-duration-fast) var(--jds-ease), box-shadow var(--jds-duration-fast) var(--jds-ease);
}

body:where(.jaygah-account-app.jaygah-workspace-student) .user-panel-dashboard-pnlt > .jaygah-learning-summary .jaygah-student-stats .jaygah-button:not(:disabled):not([aria-disabled=true]):hover {
    --jaygah-action-foreground: var(--jds-color-text);
    background: var(--jds-color-surface-soft);
    color: var(--jds-color-text);
    border-color: var(--jds-color-primary);
    box-shadow: var(--jds-shadow-sm);
    transform: none;
}

/* Badge list disclosure styling */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-badge-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-badge-list summary {
    cursor: pointer;
    list-style: none;
    outline: none;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-badge-list summary::-webkit-details-marker {
    display: none;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-badge-list ul {
    display: grid;
    gap: var(--jds-space-2);
    margin: var(--jds-space-2) 0 0;
    padding: var(--jds-space-3);
    border: 1px solid var(--jds-color-border);
    border-radius: var(--jds-radius-control);
    background: var(--jds-color-surface-soft);
    list-style: none;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-badge-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: var(--jds-space-2) 0;
    border-bottom: 1px solid var(--jds-color-border);
    font-size: var(--jds-type-caption);
    line-height: var(--jds-leading-body);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-badge-list li:last-child {
    border-bottom: 0;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-badge-list li a {
    color: var(--jds-color-accent-text);
    text-decoration: none;
    font-weight: var(--jds-weight-label);
}

/* --- Actionable Upcoming Assessments --- */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary :is(.jaygah-feedback-queue,.jaygah-review-queue) h2 {
    display: flex;
    align-items: center;
    gap: var(--jds-space-2);
    margin: 0 0 var(--jds-space-4);
    color: var(--jds-color-text);
    font: var(--jds-weight-heading) var(--jds-type-card-title)/var(--jds-leading-heading) var(--jds-font-heading);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary :is(.jaygah-feedback-queue,.jaygah-review-queue) h2::before {
    content: '';
    width: 3px;
    height: 16px;
    border-radius: var(--jds-radius-pill);
    background: var(--jds-color-primary);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-feedback-queue a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--jds-space-3);
    min-height: var(--jds-touch-target);
    padding: var(--jds-space-3) var(--jds-space-4);
    border: 1px solid var(--jds-color-border);
    border-radius: var(--jds-radius-control);
    background: var(--jds-color-surface-soft);
    color: var(--jds-color-text);
    font-size: var(--jds-type-small);
    line-height: var(--jds-leading-body);
    text-decoration: none;
    transition: border-color var(--jds-duration-fast) var(--jds-ease), background var(--jds-duration-fast) var(--jds-ease), transform var(--jds-duration-fast) var(--jds-ease);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-feedback-queue a:hover {
    border-color: var(--jds-color-primary);
    background: var(--jds-color-primary-soft);
    transform: translateY(-1px);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-feedback-queue a > strong {
    font-weight: var(--jds-weight-label);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-feedback-queue a > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: var(--jds-radius-pill);
    background: var(--jds-color-surface);
    color: var(--jds-color-accent-text);
    border: 1px solid var(--jds-color-border);
    font-size: var(--jds-type-meta);
    font-weight: 700;
    box-shadow: var(--jds-shadow-sm);
}

/* --- Recent Activity Stream Grid --- */
body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--jds-space-3);
    margin-block-end: var(--jds-space-4);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent h2 {
    display: flex;
    align-items: center;
    gap: var(--jds-space-2);
    margin: 0;
    color: var(--jds-color-text);
    font: var(--jds-weight-heading) var(--jds-type-card-title)/var(--jds-leading-heading) var(--jds-font-heading);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent h2::before {
    content: '';
    width: 3px;
    height: 16px;
    border-radius: var(--jds-radius-pill);
    background: var(--jds-color-primary);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent > header > a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: var(--jds-space-1) var(--jds-space-4);
    border: 1px solid var(--jds-color-border);
    border-radius: var(--jds-radius-pill);
    color: var(--jds-color-accent-text);
    background: var(--jds-color-surface-soft);
    font-size: var(--jds-type-meta);
    font-weight: var(--jds-weight-label);
    text-decoration: none;
    transition: all var(--jds-duration-fast) var(--jds-ease);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent > header > a:hover {
    border-color: var(--jds-color-primary);
    background: var(--jds-color-primary-soft);
    color: var(--jds-color-primary);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--jds-space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent li {
    display: flex;
    align-items: center;
    gap: var(--jds-space-3);
    padding: var(--jds-space-3) var(--jds-space-4);
    border: 1px solid var(--jds-color-border);
    border-radius: var(--jds-radius-control);
    background: var(--jds-color-surface-soft);
    transition: transform var(--jds-duration-fast) var(--jds-ease), border-color var(--jds-duration-fast) var(--jds-ease), box-shadow var(--jds-duration-fast) var(--jds-ease);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent li:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--jds-color-primary) 30%, var(--jds-color-border));
    background: var(--jds-color-surface);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--jds-color-primary) 8%, rgba(0, 0, 0, 0.04));
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent li > span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: var(--jds-space-10);
    height: var(--jds-space-10);
    border: 1px solid color-mix(in srgb, var(--jds-color-primary) 18%, transparent);
    border-radius: var(--jds-radius-control);
    background: var(--jds-color-primary-soft);
    color: var(--jds-color-primary);
    font-size: 13px;
    box-shadow: none;
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent strong {
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    font-size: var(--jds-type-small);
    font-weight: var(--jds-weight-label);
    line-height: var(--jds-leading-heading);
    color: var(--jds-color-text);
}

body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent time {
    display: block;
    margin-block-start: 2px;
    color: var(--jds-color-muted);
    font-size: var(--jds-type-meta);
    line-height: var(--jds-leading-body);
}

/* --- Dark Mode Surface Polish --- */
body.dark-mode-shkrn:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue, .jaygah-dashboard-empty) {
    background-image: radial-gradient(ellipse 75% 55% at 95% 0%, color-mix(in srgb, var(--jds-color-primary) 14%, transparent) 0%, transparent 68%);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode-shkrn:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-student-stats article,
body.dark-mode-shkrn:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary :is(.jaygah-feedback-queue,.jaygah-review-queue,.jaygah-dashboard-recent) {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

body.dark-mode-shkrn:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent li {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.025);
}

body.dark-mode-shkrn:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent li:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

/* --- Responsive Adaptations --- */
@media (max-width: 1023px) {
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue {
        grid-template-columns: minmax(0, 1fr);
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-dashboard-copy {
        order: -1;
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-dashboard-cover {
        width: min(16rem, 100%);
        justify-self: start;
    }
}

@media (max-width: 980px) {
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue,.jaygah-dashboard-empty) {
        padding: var(--jds-space-5);
        gap: var(--jds-space-4);
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-empty {
        grid-template-columns: minmax(0, 1fr);
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > :is(.jaygah-dashboard-continue,.jaygah-dashboard-empty) .jaygah-button {
        width: 100%;
        margin-block-start: 0;
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-dashboard-cover {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--jds-space-3);
        width: 100%;
        min-height: 0;
        padding: var(--jds-space-3);
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-dashboard-cover > :is(img,.jaygah-course-journey) {
        flex: 0 0 calc(var(--jds-space-10) * 2);
        width: calc(var(--jds-space-10) * 2);
        min-height: 0;
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-course-journey {
        aspect-ratio: auto;
        padding: var(--jds-space-2);
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-course-journey svg {
        width: var(--jds-space-10);
        height: var(--jds-space-8);
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-course-journey strong {
        display: none;
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-dashboard-continue .jaygah-status-pill {
        margin-block-start: 0;
    }
    body:where(.jaygah-account-app.jaygah-workspace-student) :where(.user-panel-dashboard-pnlt) > .jaygah-learning-summary .jaygah-dashboard-recent ol {
        grid-template-columns: minmax(0, 1fr);
    }
}
