/* Dedicated student credit center; shared TLS/teacher/admin presentation is untouched. */
[data-tls-student-summary]:has(> .sccr) { background:transparent; border:0; padding:0; margin:0; }
.student-view[data-view="credits"]:has(> [data-tls-student-summary] > .sccr) > .module-head,
.student-view[data-view="credits"]:has(> [data-tls-student-summary] > .sccr) > [data-credit-summary],
.student-view[data-view="credits"]:has(> [data-tls-student-summary] > .sccr) > [data-credit-detail] { display:none; }
.sccr { --cr-ink:#202b45; --cr-muted:#6c778e; --cr-line:#e5e9f2; --cr-primary:#4f5bd5; color:var(--cr-ink); min-width:0; font-size:14px; line-height:1.65; }
.sccr * { box-sizing:border-box; }
.sccr h1,.sccr h2,.sccr h3,.sccr p { margin:0; }
.sccr button,.sccr input,.sccr select { font:inherit; }
.sccr button { min-height:44px; border:1px solid var(--cr-line); border-radius:10px; padding:9px 13px; background:#fff; color:var(--cr-primary); cursor:pointer; }
.sccr button:disabled { opacity:.5; cursor:default; }
.sccr button:focus-visible,.sccr select:focus-visible,.sccr input:focus-visible,.sccr summary:focus-visible { outline:3px solid #9ba5ff; outline-offset:3px; }
.sccr [hidden] { display:none!important; }
.sccr svg { width:20px; height:20px; max-height:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.sccr-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:21px; }
.sccr-heading > div { flex-shrink:0; }
.sccr-heading h1 { font-size:28px; font-weight:750; color:var(--cr-ink); line-height:1.4; }
.sccr-heading p { color:var(--cr-muted); margin-top:6px; font-size:13px; }
.sccr-filters { display:grid; grid-template-columns:minmax(220px,1.2fr) minmax(150px,.85fr) auto; gap:10px; min-width:0; }
.sccr-filters label { display:block; min-width:0; }
.sccr-filters label > span:first-child { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
.sccr-select { display:flex; align-items:center; gap:9px; min-width:0; min-height:44px; padding:0 12px; border:1px solid #dce1ee; border-radius:11px; background:#fff; color:var(--cr-primary); }
.sccr-filters select { min-width:0; width:0; flex:1; min-height:44px; padding:8px 0; border:0; border-radius:8px; color:var(--cr-ink); background:#fff; font-size:13px; }
.sccr-refresh { display:flex; align-items:center; justify-content:center; gap:6px; }
.sccr-hero { position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template-columns:minmax(245px,.9fr) minmax(0,1.2fr); column-gap:30px; padding:28px 30px 20px; color:#fff; border-radius:19px; background:linear-gradient(112deg,#263270,#3546a5 70%,#4c61d0); box-shadow:0 8px 24px #28336f13; }
.sccr .sccr-hero-art { position:absolute; z-index:-1; right:0; bottom:0; width:46%; height:100%; max-height:none; fill:none; stroke:#ffffff21; stroke-width:.9; }
.sccr-total > span { font-size:14px; color:#edf0ff; font-weight:600; }
.sccr-total > strong { display:block; font-size:46px; line-height:1.3; font-weight:750; font-variant-numeric:tabular-nums; letter-spacing:-1px; overflow-wrap:anywhere; }
.sccr-total > strong small { display:inline; margin-left:8px; color:#e2e7ff; font-size:15px; font-weight:400; letter-spacing:normal; }
.sccr-total p { color:#e2e7ff; font-size:12px; margin-top:3px; }
.sccr-parts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:15px; }
.sccr-parts > div { display:flex; align-items:center; gap:12px; min-width:0; padding:0 12px 0 21px; border-left:1px solid #ffffff33; }
.sccr-parts > div > div { min-width:0; }
.sccr-part-icon { display:grid; place-items:center; flex:0 0 40px; width:40px; height:40px; color:#24856f; background:#d9f2e9; border-radius:50%; }
.sccr-part-icon.sccr-tls-icon { color:#6556cb; background:#e9e4ff; }
.sccr-parts div > span:not(.sccr-part-icon) { color:#edf0ff; font-size:13px; }
.sccr-parts strong { display:block; color:#fff; font-size:29px; font-weight:700; line-height:1.4; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.sccr-hero-note { display:flex; align-items:center; gap:7px; grid-column:1/-1; margin-top:19px!important; color:#e4e9ff; font-size:11px; }
.sccr-hero-note svg { width:15px; height:15px; }
.sccr-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:min(450px,100%); gap:4px; margin:20px 0; padding:4px; border-radius:12px; background:#e9edf7; }
.sccr-tabs button { min-width:0; padding:8px 10px; border:1px solid transparent; background:transparent; color:#5c6984; font-size:13px; }
.sccr-tabs button[aria-pressed="true"] { color:#fff; background:var(--cr-primary); box-shadow:0 3px 7px #4f5bd51a; }
.sccr [data-sccr-tab-panel] { min-width:0; scroll-margin-top:20px; outline:none; }
.sccr-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.sccr-section-head h2 { color:var(--cr-ink); font-size:20px; font-weight:700; }
.sccr-section-head > span { color:var(--cr-muted); font-size:12px; }
.sccr-course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:16px; }
.sccr-course { min-width:0; padding:16px 14px 4px; border:1px solid var(--cr-line); border-radius:15px; background:#fff; box-shadow:0 5px 18px #202b4504; display:flex; flex-direction:column; }
.sccr-course-head { display:flex; gap:10px; align-items:flex-start; min-width:0; }
.sccr-book { display:grid; place-items:center; flex:0 0 35px; width:35px; height:37px; color:#5a64cf; border-radius:10px; background:#f0f2ff; }
.sccr-book svg { width:23px; height:23px; }
.sccr-course h3 { flex:1; min-width:0; font-size:15px; font-weight:650; line-height:1.65; color:var(--cr-ink); overflow-wrap:anywhere; }
.sccr-course-head > div { flex-shrink:0; text-align:right; }
.sccr-course-head > div > span { display:block; color:var(--cr-muted); font-size:10px; }
.sccr-course-head strong { display:block; color:var(--cr-ink); font-size:21px; font-weight:750; line-height:1.4; font-variant-numeric:tabular-nums; }
.sccr-breakdown { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-top:14px; }
.sccr-breakdown > div { display:flex; align-items:center; gap:7px; min-width:0; padding:8px; border-radius:9px; color:#24856f; background:#edf8f3; }
.sccr-breakdown > div + div { color:#6456c9; background:#f2effe; }
.sccr-breakdown svg { width:17px; height:17px; }
.sccr-breakdown span { min-width:0; color:var(--cr-muted); font-size:10px; }
.sccr-breakdown strong { display:block; color:#24785f; font-size:16px; font-weight:700; line-height:1.4; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.sccr-breakdown > div + div strong { color:#5c4cb8; }
.sccr-course > button { display:flex; align-items:center; justify-content:flex-end; gap:4px; width:100%; margin-top:auto; padding:7px 0; border:0; border-radius:7px; background:transparent; color:var(--cr-primary); font-size:12px; }
.sccr-course > button svg { width:14px; height:14px; }
.sccr-note { margin-top:14px!important; color:var(--cr-muted); font-size:12px; line-height:1.85; }
.sccr-negative { color:#ad414d!important; }
.sccr-empty { padding:28px 18px; color:var(--cr-muted); border:1px solid var(--cr-line); border-radius:14px; background:#fff; text-align:center; font-size:14px; }
.sccr-course-grid > .sccr-empty { grid-column:1/-1; }
.sccr-error { color:#a33d3d; }
.sccr-empty button { display:block; margin:12px auto 0; }
.sccr-notice { padding:12px 14px; margin-bottom:14px!important; color:#885d1d; border:1px solid #f0dfbf; border-radius:10px; background:#fff8eb; font-size:12px; }
.sccr-ledger-tools { display:grid; grid-template-columns:minmax(120px,.5fr) minmax(180px,1fr); gap:10px; margin-bottom:14px; }
.sccr-ledger-tools label { min-width:0; }
.sccr-ledger-tools select,.sccr-ledger-tools input { width:100%; min-width:0; min-height:44px; padding:8px 12px; border:1px solid #dce1ef; border-radius:10px; color:var(--cr-ink); background:#fff; }
.sccr-record { margin-bottom:10px; border:1px solid var(--cr-line); border-radius:13px; background:#fff; overflow:hidden; }
.sccr-record > summary { display:flex; align-items:center; gap:13px; min-height:80px; padding:15px 17px; cursor:pointer; list-style:none; }
.sccr-record > summary::-webkit-details-marker,.sccr-supervision > summary::-webkit-details-marker { display:none; }
.sccr-record-icon { display:grid; place-items:center; flex:0 0 38px; width:38px; height:40px; color:#26816b; border-radius:11px; background:#eaf7f1; }
.sccr-record-icon.sccr-record-tls { color:#6b5ac6; background:#f0ecfc; }
.sccr-record-title { flex:1; min-width:0; }
.sccr-record-title > strong { display:block; color:var(--cr-ink); font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.sccr-record-title > small { display:block; color:var(--cr-muted); margin-top:4px; font-size:11px; overflow-wrap:anywhere; }
.sccr-status { display:inline-block; margin-top:5px; padding:1px 7px; border-radius:6px; background:#edf6f1; color:#26735e; font-size:10px; }
.sccr-status.sccr-pending { background:#fff3df; color:#986316; }
.sccr-record-value { display:flex; align-items:center; gap:7px; color:var(--cr-ink); font-size:18px; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.sccr-record-value svg { width:15px; height:15px; color:#8b95a7; }
.sccr-record[open] .sccr-record-value svg { transform:rotate(90deg); }
.sccr-record-more { padding:0 18px 17px 68px; color:var(--cr-muted); font-size:12px; overflow-wrap:anywhere; }
.sccr-record-more p + p { margin-top:7px; }
.sccr-record-more button { margin-top:10px; }
.sccr-pages { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; color:var(--cr-muted); margin:16px 0; font-size:12px; }
.sccr-pages > div { display:flex; gap:8px; }
.sccr-pages button { padding:8px 12px; font-size:12px; }
.sccr-trend { margin:16px 0; padding:15px 20px; border:1px solid var(--cr-line); border-radius:15px; background:#fff; }
.sccr-trend svg { display:block; width:100%; height:auto; max-height:250px; stroke:none; }
.sccr-trend > div { display:flex; justify-content:space-between; gap:10px; color:var(--cr-muted); font-size:12px; }
.sccr-day-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.sccr-day-grid article { padding:13px 15px; border:1px solid var(--cr-line); border-radius:12px; background:#fff; }
.sccr-day-grid strong { color:var(--cr-ink); font-size:13px; }
.sccr-day-grid article > span { display:block; color:#267d67; font-size:16px; font-weight:600; }
.sccr-day-grid p { color:var(--cr-muted); font-size:11px; }
.sccr-supervision { border:1px solid var(--cr-line); border-radius:13px; background:#fff; margin-top:21px; overflow:hidden; }
.sccr-supervision > summary { display:flex; align-items:center; gap:10px; min-height:55px; padding:12px 17px; cursor:pointer; list-style:none; }
.sccr-supervision > summary > strong { font-size:13px; font-weight:600; }
.sccr-supervision > summary > span { flex:1; text-align:right; color:var(--cr-muted); font-size:11px; }
.sccr-supervision > summary > svg { width:17px; height:17px; color:#60718c; }
.sccr-supervision[open] > summary > svg:last-child { transform:rotate(90deg); }
.sccr-supervision > div { border-top:1px solid var(--cr-line); padding:0 17px 16px; }
.sccr-supervision article { padding:14px 0; border-bottom:1px solid var(--cr-line); font-size:12px; }
.sccr-supervision article > div { display:flex; justify-content:space-between; gap:10px; }
.sccr-supervision article p { color:var(--cr-muted); margin-top:6px; overflow-wrap:anywhere; }
.sccr-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:1250px) and (min-width:1121px), (max-width:1000px) {
  .sccr-heading { flex-direction:column; align-items:stretch; }
  .sccr-filters { grid-template-columns:minmax(200px,1fr) minmax(150px,1fr) auto; }
  .sccr-course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sccr-hero { column-gap:15px; padding:24px; }
  .sccr-parts > div { padding-left:13px; gap:9px; }
  .sccr-parts strong { font-size:24px; }
}
@media(max-width:650px) {
  body:has(.student-view.active > [data-tls-student-summary] > .sccr) .student-topbar { flex-wrap:nowrap; align-items:center; gap:10px; min-height:66px; }
  body:has(.student-view.active > [data-tls-student-summary] > .sccr) .student-topbar > div:not(.topbar-actions) { flex:1; min-width:0; }
  body:has(.student-view.active > [data-tls-student-summary] > .sccr) .student-topbar [data-page-title] { overflow:hidden; font-size:16px; white-space:nowrap; text-overflow:ellipsis; }
  body:has(.student-view.active > [data-tls-student-summary] > .sccr) .student-topbar [data-page-subtitle] { display:none; }
  body:has(.student-view.active > [data-tls-student-summary] > .sccr) .topbar-actions { flex:0 0 auto; width:auto; margin-left:auto; }
  .sccr-heading { gap:15px; margin-bottom:15px; }
  .sccr-heading h1 { font-size:25px; }
  .sccr-heading p { margin-top:4px; font-size:12px; }
  .sccr-filters { grid-template-columns:minmax(0,1fr) 44px; gap:9px; }
  .sccr-filters > label:first-child { grid-column:1/-1; }
  .sccr-select { padding:0 11px; }
  .sccr-filters select { min-height:46px; font-size:16px; }
  .sccr-refresh { padding:9px!important; }
  .sccr-refresh > span { display:none; }
  .sccr-hero { grid-template-columns:1fr; gap:0; padding:17px 15px 13px; border-radius:16px; }
  .sccr .sccr-hero-art { width:74%; height:100%; }
  .sccr-total > span { font-size:13px; }
  .sccr-total > strong { font-size:41px; letter-spacing:-.8px; }
  .sccr-total > strong small { margin-left:5px; font-size:13px; }
  .sccr-total p { font-size:11px; }
  .sccr-parts { gap:8px; margin-top:12px; }
  .sccr-parts > div { gap:8px; padding:7px; border:1px solid #ffffff25; border-radius:11px; background:#ffffff09; }
  .sccr-part-icon { flex-basis:31px; width:31px; height:31px; }
  .sccr-part-icon svg { width:18px; height:18px; }
  .sccr-parts div > span:not(.sccr-part-icon) { font-size:10px; }
  .sccr-parts strong { font-size:21px; }
  .sccr-hero-note { gap:6px; margin-top:11px!important; font-size:10px; }
  .sccr-hero-note svg { width:13px; height:13px; }
  .sccr-tabs { width:100%; margin:16px 0 18px; }
  .sccr-tabs button { font-size:12px; }
  .sccr-section-head { margin-bottom:11px; }
  .sccr-section-head h2 { font-size:18px; }
  .sccr-section-head > span { font-size:11px; }
  .sccr-course-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .sccr-course { padding:13px 12px 2px; }
  .sccr-course h3 { font-size:15px; }
  .sccr-course-head { gap:10px; }
  .sccr-course-head strong { font-size:21px; }
  .sccr-breakdown { margin-top:11px; }
  .sccr-breakdown > div { padding:7px 9px; }
  .sccr-note { font-size:11px; }
  .sccr-ledger-tools { grid-template-columns:minmax(110px,.7fr) minmax(0,1fr); }
  .sccr-ledger-tools select,.sccr-ledger-tools input { padding:8px; font-size:16px; }
  .sccr-record > summary { gap:9px; padding:13px 11px; }
  .sccr-record-icon { flex-basis:31px; width:31px; height:34px; border-radius:9px; }
  .sccr-record-icon svg { width:18px; height:18px; }
  .sccr-record-title > strong { font-size:13px; }
  .sccr-record-title > small { font-size:10px; }
  .sccr-record-value { font-size:16px; gap:3px; }
  .sccr-record-more { padding:0 13px 14px 51px; font-size:11px; }
  .sccr-day-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sccr-day-grid article { padding:11px 10px; }
  .sccr-supervision > summary { gap:7px; padding:12px; }
  .sccr-supervision > summary > span { font-size:10px; }
}
@media(max-width:360px) {
  .sccr-parts > div { gap:6px; padding:8px 6px; }
  .sccr-part-icon { flex-basis:27px; width:27px; height:29px; }
  .sccr-parts strong { font-size:19px; }
  .sccr-total > strong { font-size:38px; }
  .sccr-book { flex-basis:31px; width:31px; }
  .sccr-course-head { gap:7px; }
  .sccr-course h3 { font-size:14px; }
  .sccr-course-head strong { font-size:19px; }
  .sccr-breakdown { gap:6px; }
}
