.ds-view{max-width:1160px;margin:auto;color:#172b43}.ds-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:22px 26px;background:#0e4f7f;color:#fff}.ds-head h2{margin:12px 0 8px;color:#fff}.ds-status{display:block;min-height:1.1em;font-size:13px;color:#dbeafe}.ds-view button,.ds-view select{border:1px solid #cbd7e1;background:#fff;color:#174c73!important;border-radius:9px;padding:10px 14px;min-height:42px;font:inherit;cursor:pointer}.ds-head button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;color:#0e4f7f!important;font-weight:800}.ds-history-glyph{display:block!important;color:#0e4f7f!important;font-family:Arial,sans-serif!important;font-size:27px!important;font-weight:700!important;line-height:1!important}.ds-head button svg{width:18px;height:18px;color:currentColor!important;stroke:currentColor!important}.ds-head [data-ds-print]{background:#144c76;color:#fff!important;border-color:#8dbbd6}.ds-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px;background:#f1f6fa;border-radius:12px;margin-bottom:20px}.ds-toolbar label{display:flex;align-items:center;gap:10px}.ds-toolbar [data-ds-progress]{margin-left:auto;color:#067647!important;border-color:#9fd6bb;background:#edfff5;font-weight:800}.ds-toolbar [data-ds-progress].is-complete{background:#067647;color:#fff!important}.ds-lesson{border:1px solid #d8e2eb;border-radius:16px;padding:22px;margin:0 0 22px;background:white}.ds-lesson h3{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;font-size:21px}.ds-lesson-complete{padding:5px 9px;border-radius:999px;background:#dff8ea;color:#067647;font-size:.76rem;white-space:nowrap}.ds-lesson-done{border-color:#9fd6bb;background:#f7fffa}.ds-tracks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.ds-track{min-width:0;border:1px solid #d8e2eb;border-radius:12px;background:#fff;overflow:hidden}.ds-track-book{display:block;min-height:42px;box-sizing:border-box;padding:11px 13px;background:#eaf1f6;color:#243b53;font-size:15px;line-height:1.25;text-align:center}.ds-track-sections{display:grid;gap:10px;padding:10px}.ds-section{padding:13px;border:1px solid #ccdce7;border-top:4px solid #32809e;border-radius:9px;background:#f8fcff}.ds-homework{border-top-color:#bc8235;background:#fffaf2}.ds-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:700;margin-bottom:8px}.ds-section-head input{width:20px;height:20px;vertical-align:middle;accent-color:#167354;margin-right:7px}.ds-view textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #c6d3df;border-radius:7px;background:white;font:inherit;font-size:16px;line-height:1.4;resize:vertical;color:#172b43}.ds-done{border-color:#78c99f;border-top-color:#078348;background:#eaf9f1}.ds-done .ds-section-head small{color:#136745}.ds-done .ds-section-head label,.ds-done .ds-track-book{color:#416154}.ds-done textarea{background:#f5fbf7;color:#60756b;text-decoration:line-through;text-decoration-thickness:1.5px}.ds-notes{margin-top:18px;border-top:1px solid #dce5ed;padding-top:16px}.ds-notes summary{cursor:pointer;font-weight:700;color:#174c73}.ds-note-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:16px}.ds-note-grid label{display:flex;flex-direction:column;gap:8px}.ds-note-grid small{font-size:12px;color:#5e7184}.ds-reminders{padding:12px 16px;background:#fff4d8;border:1px solid #e5cf99;border-radius:10px;color:#694810;line-height:1.6;margin:0 0 16px}.ds-reminders strong{display:block}.ds-empty{padding:32px;text-align:center;color:#52667a}.ds-view :focus-visible{outline:3px solid #2e8dcc;outline-offset:2px}@media(max-width:700px){.ds-view{width:calc(100% - 20px)}.ds-tracks,.ds-note-grid{grid-template-columns:1fr}.ds-head{align-items:flex-start;flex-direction:column;padding:18px}.ds-head-actions{width:100%}.ds-toolbar{align-items:stretch;flex-direction:column}.ds-toolbar label{justify-content:space-between;flex-wrap:wrap}.ds-toolbar [data-ds-progress]{margin-left:0}.ds-lesson{padding:14px}}
/* Carried grades stay visible beside the linked syllabus without blending into current-class work. */
.ds-transferred-grades { margin: 14px 0; border: 1px solid #e6cb8d; border-radius: 14px; background: #fffaf0; color: #513708; }
.ds-transferred-grades > summary { display: flex; align-items: center; gap: 10px; padding: 13px 15px; cursor: pointer; font-weight: 900; list-style: none; }
.ds-transferred-grades > summary::-webkit-details-marker { display: none; }
.ds-transferred-grades > summary small { margin-left: auto; color: #8b7446; font-size: .72rem; }
.ds-transferred-grade-list { display: grid; gap: 10px; padding: 0 14px 14px; }
.ds-transferred-grade-list > article { padding: 11px; border: 1px solid #eadfc4; border-radius: 11px; background: #fff; }
.ds-transferred-grade-list > article > header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.ds-transferred-grade-list > article > header strong { color: #123f66; }
.ds-transferred-grade-list > article > header span { color: #6c7783; font-size: .72rem; font-weight: 750; }
.ds-transferred-grade-list article section + section { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ece5d6; }
.ds-transfer-origin { display: flex; flex-wrap: wrap; gap: 5px 9px; margin-bottom: 7px; font-size: .78rem; }
.ds-transfer-origin span { color: #7a6844; }
.ds-transfer-grade-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-transfer-grade-chips > span { display: inline-flex; gap: 6px; padding: 6px 9px; border-radius: 999px; background: #fff4d8; font-size: .72rem; }
.ds-transfer-grade-chips b { color: #173e62; }
.ds-transfer-grade-chips em { color: #61420b; font-style: normal; font-weight: 800; }
@media (max-width: 640px) {
  .ds-transferred-grade-list > article > header { align-items: flex-start; flex-direction: column; }
}
