.history-tools654{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:18px 22px;flex-wrap:wrap}.history-tools654 label{display:grid;gap:7px;font-size:14px}.history-tools654 select{min-width:230px}.history-legend654{display:flex;flex-wrap:wrap;gap:16px;padding:0 22px;font-size:13px;color:#52677f}.history-legend654 .present{color:#237344}.history-legend654 .absent{color:#ad3038}.history-scroll654{max-height:65vh;overflow:auto;border-top:1px solid #d4e0ed}.history-table654{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;color:#173c60}.history-table654 th,.history-table654 td{border-right:1px solid #dce5ef;border-bottom:1px solid #dce5ef;padding:10px 12px;min-width:88px;text-align:center;font-size:13px}.history-table654 thead th{position:sticky;top:0;z-index:2;background:#eaf0f7}.history-table654 th:first-child{position:sticky;left:0;min-width:210px;max-width:260px;text-align:left;background:#f5f8fc;z-index:1}.history-table654 thead th:first-child{z-index:3;background:#eaf0f7}.history-table654 tbody th{font-weight:400}.history-table654 thead button{border:0;background:transparent;color:#173c60;font-size:12px;font-weight:600;padding:0}.history-table654 small{display:block;font-size:11px;margin-top:4px}.history-table654 td span{font-size:18px}.history-table654 .history-present654{background:#eaf6ee;color:#237344}.history-table654 .history-absent654{background:#fff0f0;color:#ad3038}.history-table654 .history-unmarked654{color:#8394a7}.history-table654 .history-excused654{background:#fff7e2;color:#8a6317}.history-table654 .history-outside654,.history-table654 .history-cancelled654{background:#edf0f3;color:#8b96a3}.history-note654,.history-empty654{padding:14px 22px;font-size:13px;color:#52677f}.history-dialog654{max-height:55vh;overflow:auto;margin-bottom:18px}.history-dialog654 table{width:100%}/* Compact course summary; editable administrator form retains its own layout. */
.course-config-panel656>.course-panel-head242{background:#173c60;color:#fff;padding:16px 22px}
.course-config-panel656>.course-panel-head242 h2{display:flex;align-items:center;gap:10px;color:inherit;margin:0;font-size:16px;font-weight:600}
.course-config-panel656>.course-panel-head242 svg,.course-read654 h3 svg{width:20px;height:20px;flex:none}
.course-read654{padding:20px 22px 22px}
.course-read654 .course-read-note656{padding:0;margin:0 0 18px;color:#61758d;font-size:13px;line-height:1.5}
.course-read-grid656{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.course-read654 section{min-width:0;border:1px solid #dce5ef;border-radius:5px;overflow:hidden}
.course-read654 h3{display:flex;align-items:center;gap:9px;background:#173c60;color:#fff;margin:0;padding:12px 16px;font-size:15px;font-weight:600;line-height:1.4}
.course-read654 dl{margin:0;padding:4px 16px}
.course-read654 dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #e5ecf4;align-items:baseline}
.course-read654 dl>div:last-child{border-bottom:0}
.course-read654 dt,.course-read654 dd{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.course-read654 dt{color:#61758d}.course-read654 dd{color:#173c60;font-weight:500}
.course-read654 section>p{margin:0;padding:4px 16px 14px;color:#61758d;font-size:13px;line-height:1.5}
.course-read-signup656{grid-column:1/-1}
.course-read-signup656 dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.course-read-signup656 dl>div{border-bottom:0}
@media(max-width:1050px){.course-read-grid656{grid-template-columns:1fr}.course-read-signup656 dl{grid-template-columns:1fr;gap:0}.course-read-signup656 dl>div:first-child{border-bottom:1px solid #e5ecf4}}
@media(max-width:540px){.course-read654{padding:16px}.course-read654 dl>div{grid-template-columns:minmax(0,1fr);gap:3px}.course-read654 h3{padding:12px 14px}}
#course-config242 .group-content414{max-height:none;overflow:visible;padding:20px}#course-config242 .group-content414>section{border:1px solid #dce5ef;border-radius:5px;padding:16px;margin-bottom:18px}#course-config242 .group-content414>section>h3{margin:0 0 16px;font-size:15px;color:#173c60}

/* Attendance history follows the shared course panel headings. */
.course-history-panel658>.course-panel-head242{background:#173c60;color:#fff;padding:16px 22px}
.course-history-panel658>.course-panel-head242 h2{display:flex;align-items:center;gap:10px;margin:0;color:inherit;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4}
.course-history-panel658>.course-panel-head242 svg{width:20px;height:20px;flex:none}
.course-history-panel658 .history-tools654{align-items:flex-end;padding:18px 22px 16px;gap:16px}
.course-history-panel658 .history-tools654 label{margin:0;font-size:14px;font-weight:500;line-height:1.5;gap:8px}
.course-history-panel658 .history-tools654 select{box-sizing:border-box;height:44px;margin:0;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4}
.course-history-panel658 .history-tools654 button{box-sizing:border-box;min-height:44px;margin:0;font-family:inherit;font-size:14px;line-height:1.4}
.course-history-panel658 .history-legend654{margin:0;padding:0 22px 16px;gap:8px 18px;line-height:1.5;font-family:inherit;font-size:13px}
.course-history-panel658 .history-table654 th,.course-history-panel658 .history-table654 td{font-family:inherit;font-size:14px;line-height:1.45}
.course-history-panel658 .history-table654 thead th{font-weight:600}
.course-history-panel658 .history-table654 thead button{display:block;width:100%;font-family:inherit;font-size:13px;line-height:1.45;font-weight:600}
.course-history-panel658 .history-table654 tbody th{font-weight:400}
.course-history-panel658 .history-table654 small{font-family:inherit;font-size:12px;line-height:1.4;font-weight:400;margin-top:4px}
@media(max-width:540px){.course-history-panel658>.course-panel-head242{padding:14px 16px}.course-history-panel658 .history-tools654{padding:16px}.course-history-panel658 .history-tools654 label{width:100%}.course-history-panel658 .history-tools654 select{width:100%;min-width:0}.course-history-panel658 .history-legend654{padding:0 16px 16px}}
