.sd-register { max-width: 1120px; margin: auto; padding: 24px 18px; }
.sd-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sd-heading p { color: #60728b; margin-top: 6px; }
.sd-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding: 14px; }
.sd-filters label, .sd-form label { display: grid; gap: 6px; font-size: 13px; }
.sd-filters input, .sd-filters select, .sd-form input, .sd-form textarea, .sd-form select {
  padding: 8px; width: 100%; min-height: 40px; border: 1px solid #cbd7e6; border-radius: 7px;
  background: white; color: #18354d; font: inherit;
}
.sd-message { margin: 10px 0; color: #415974; overflow-wrap: anywhere; }
.sd-form .sd-reason-hint { margin-top: -6px; color: #50657d; font-size: 12px; }
.sd-records { display: grid; gap: 10px; }
.sd-record, .sd-card { border: 1px solid #d9e4f0; border-radius: 14px; padding: 16px; background: #fff; color: #18354d; }
.sd-record h2 { font-size: 16px; margin: 0 0 5px; }
.sd-record p { margin: 5px 0; overflow-wrap: anywhere; }
.sd-record details { margin-top: 8px; }
.sd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sd-dialog { width: min(520px, calc(100vw - 24px)); max-height: 88dvh; overflow: auto; padding: 20px; border: 1px solid #dce5f2; border-radius: 14px; color: #18354d; }
.sd-dialog::backdrop { background: #14284266; }
.sd-dialog h2 { margin: 0 0 10px; font-size: 19px; }
.sd-dialog button { padding: 7px 12px; border: 1px solid #cbd7e6; border-radius: 7px; background: #fff; color: #18354d; }
.sd-dialog button.primary { background: #1268ed; color: #fff; border-color: #1268ed; }
.sd-form { display: grid; gap: 12px; }
.sd-form label.sd-check { display: flex; align-items: center; }
.sd-form input[type=checkbox] { width: auto; min-height: 0; }
.sd-form [hidden], .sd-card[hidden] { display: none !important; }
.sd-card { grid-area: discipline; min-width: 0; }
.student-home-v2.sd-present { grid-template-areas: "hero credit" "discipline discipline" "stats stats" "tasks quick" "tasks growth" "learning note" "more more" "footer footer"; }
.student-home-v2.sh-has-error.sd-present { grid-template-areas: "status status" "hero credit" "discipline discipline" "stats stats" "tasks quick" "tasks growth" "learning note" "more more" "footer footer"; }
.sd-card header { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.sd-card h2 { font-size: 18px; }
.sd-card header small, .sd-dates { color: #596b80; font-size: 11px; }
.sd-card header button { color: #195f9c; background: none; border: 0; padding: 5px; }
.sd-current { display: inline-block; margin-top: 10px; padding: 5px 9px; background: #e1eeff; color: #1250a2; border-radius: 20px; font-weight: 600; }
.sd-axis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; padding: 0; margin: 18px auto 14px; max-width: 580px; }
.sd-axis li { position: relative; display: grid; justify-items: center; gap: 8px; color: #647387; font-size: 11px; text-align: center; }
.sd-axis li::before { content: ""; position: absolute; left: -50%; width: 100%; height: 3px; top: 5px; background: #d0d6df; }
.sd-axis li:first-child::before { display: none; }
.sd-axis li i { position: relative; width: 13px; height: 13px; border: 2px solid #c4cedb; border-radius: 50%; background: #f4f6f8; }
.sd-axis .sd-reached { color: #145fc3; font-weight: 650; }
.sd-axis .sd-reached::before, .sd-axis .sd-reached i { background: #1268ed; border-color: #1268ed; }
.sd-axis [aria-current] i { box-shadow: 0 0 0 2px white, 0 0 0 4px #5596f5; }
.sd-progress { border-top: 1px solid #e3eaf2; padding-top: 10px; }
.sd-progress h3 { font-size: 14px; }
.sd-progress p { font-size: 12px; margin-top: 8px; }
.sd-progress progress { width: 100%; height: 12px; margin-top: 6px; accent-color: #1268ed; }
.sd-dates { display: flex; justify-content: space-between; gap: 10px; }
.sd-dates span:last-child { text-align: right; }
@media (max-width: 720px) {
  .student-home-v2.sd-present { grid-template-areas: "greeting" "hero" "discipline" "stats" "credit" "tasks" "quick" "learning" "note" "more" "footer"; }
  .student-home-v2.sh-has-error.sd-present { grid-template-areas: "greeting" "status" "hero" "discipline" "stats" "credit" "tasks" "quick" "learning" "note" "more" "footer"; }
  .sd-card { padding: 14px 11px; }
}
