/* V10: scoped to desktop; all colours follow Daylight / Night tokens. */
body.desktop-app.desktop-student:not(#_)>main{padding:0!important;align-items:stretch!important;scroll-padding:0!important}
body.desktop-app.desktop-student #live-action-dock{display:none!important}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-page{width:100%;max-width:none;color:var(--ink);font:400 14px/1.5 var(--font)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-page *{text-align:left!important;text-transform:none;letter-spacing:normal;box-sizing:border-box}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-header{display:flex;align-items:flex-start;gap:12px;padding:20px 32px;border-bottom:1px solid rgb(var(--divider-rgb));background:var(--surface)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-header-copy{min-width:0}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:4px 0}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-page h1{margin:0;font:700 26px/1.25 var(--font);letter-spacing:-.03em}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-page h2{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 4px;font:700 16px/1.5 var(--font)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-content{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:24px;max-width:1244px;width:100%;margin:0 auto;padding:28px 32px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-column{display:flex;flex-direction:column;gap:24px;min-width:0}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-card{min-width:0;overflow:hidden;padding:20px;border-radius:12px;border:1px solid rgb(var(--divider-rgb));background:var(--surface)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-muted{font-size:12px;color:var(--muted);font-weight:400}
body.desktop-app:not(#_) :is(main,#live-action-dock) :is(.student-history-empty,.student-history-error){padding:12px 0;color:var(--muted);font-size:13px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-content>.student-history-error{grid-column:1/-1}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:44px;min-height:44px;max-width:none;padding:8px 12px;margin:0;border:0;border-radius:16px;background:transparent;box-shadow:none;color:var(--ink);font:600 14px/1.4 var(--font);white-space:nowrap;cursor:pointer}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-button:hover{background:var(--brand-tint)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-button:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-score{justify-self:start;display:inline-flex;align-items:baseline;white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;background:var(--brand-tint);color:var(--muted)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-strong{background:var(--tint-green);color:var(--score-high)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-middle{background:var(--tint-yellow);color:var(--score-middle)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-help{background:var(--tint-red);color:var(--score-low)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-absent{color:var(--absent);background:var(--brand-tint)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-table{overflow-x:auto;margin:12px -20px -20px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-test-row{display:grid;grid-template-columns:minmax(100px,1fr) 90px 80px 120px 152px;align-items:center;gap:12px;min-width:650px;min-height:56px;padding:6px 20px;border-bottom:1px solid rgb(var(--divider-rgb))}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-test-row>strong{font-weight:600;overflow-wrap:anywhere}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-table-head{min-height:32px;font-size:11px;font-weight:600;color:var(--muted);border-top:1px solid rgb(var(--divider-rgb))}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-tests{padding:0;margin:0;list-style:none}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-test-row:last-child{border-bottom:0}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-actions{display:flex;gap:0}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-band{display:inline-flex;align-items:center;gap:8px;font-size:13px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-band i{height:8px;width:8px;border-radius:50%;flex-shrink:0}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-fill-strong{background:var(--marks-strong)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-fill-middle{background:var(--marks-middle)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-fill-help{background:var(--marks-help)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-topic{margin-top:16px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-topic-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-topic-bar{height:6px;background:var(--brand-tint);border-radius:999px;overflow:hidden;margin:6px 0 4px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-topic-bar>span{display:block;height:100%;border-radius:inherit}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-absence-count{font-size:24px;font-variant-numeric:tabular-nums}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-absence{display:flex;justify-content:space-between;gap:12px;margin-top:8px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-trend-scroll{overflow-x:auto;padding:16px 0 0}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-trend{height:240px;position:relative;margin-top:8px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-trend svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-guide{stroke:rgb(var(--divider-rgb));stroke-dasharray:4 4;vector-effect:non-scaling-stroke}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-guide-label{position:absolute;right:0;transform:translateY(-50%);font-size:10px;background:var(--surface);color:var(--muted);padding-left:4px;z-index:1}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-line{stroke:var(--brand);fill:none;stroke-width:2.5;stroke-linejoin:round}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-point{position:absolute;transform:translate(-50%,-100%);font-size:11px;font-weight:700;white-space:nowrap;padding:2px 5px;border-radius:999px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-point:not(.student-history-absent)::after{content:'';position:absolute;bottom:-6px;left:calc(50% - 5px);height:10px;width:10px;border:2px solid var(--surface);border-radius:50%}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-dot-strong::after{background:var(--marks-strong)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-dot-middle::after{background:var(--marks-middle)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-dot-help::after{background:var(--marks-help)}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-chart-labels{position:relative;height:60px;margin-top:8px;min-width:450px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-chart-labels>span{position:absolute;width:100px;transform:translateX(-50%);font-size:11px}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-chart-labels :is(strong,span.student-history-muted){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-loader{min-width:0;padding:16px;grid-column:1/-1}
@media(min-width:1024px) and (max-width:1279px){body.desktop-app:not(#_) :is(main,#live-action-dock) .student-history-content{grid-template-columns:minmax(0,1fr)}}
