.operational-module { padding-bottom: 40px; }
.module-header-actions { display: flex; gap: 9px; }
.module-summary .info-card { text-align: left; cursor: pointer; color: var(--ink); }
.module-summary .info-card:hover { border-color: var(--teal); transform: translateY(-1px); }
.module-worklist, .report-output { margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.worklist-head { display: flex; align-items: end; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.worklist-head h3 { margin: 0; }
.worklist-head > span { color: var(--muted); font-size: .78rem; }
.module-record { display: grid; grid-template-columns: 48px minmax(220px,1fr) auto auto; gap: 13px; align-items: center; padding: 15px 18px; border-bottom: 1px solid #e6edef; cursor: pointer; }
.module-record:last-child { border-bottom: 0; }
.module-record:hover { background: #f4faf9; }
.record-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: #e5f6f3; color: #087d72; font-size: .72rem; font-weight: 900; }
.record-main b, .record-main small, .record-main em { display: block; }
.record-main small { color: #4f6572; margin-top: 4px; line-height: 1.4; }
.record-main em { color: #7a8b94; margin-top: 5px; font-size: .7rem; font-style: normal; }
.record-status { background: #eef4f6; color: #2f566c; padding: 6px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.record-actions { display: flex; gap: 6px; }
.compact { padding: 8px 10px; font-size: .76rem; }
.module-empty { padding: 34px; text-align: center; color: var(--muted); }
.module-record-dialog { width: min(700px,92vw); }
.module-record-dialog > form { padding: 25px; }
.module-form-grid { margin: 20px 0 14px; }
.report-output { position: relative; padding: 20px; border-color: #a8ded3; background: #f1fbf9; }
.report-output .icon-button { position: absolute; right: 15px; top: 15px; }
.report-output h3 { margin: 0; }
.report-output > p { color: #45636d; }
.report-findings { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.report-findings span { background: #fff; border: 1px solid #cfe6e1; border-radius: 9px; padding: 10px; font-weight: 750; }
.reports-audit { margin-top: 18px; }
.audit-entry { border-bottom: 1px solid var(--line); }
.audit-entry:last-child { border-bottom: 0; }
.audit-entry summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px; cursor: pointer; list-style: none; }
.audit-entry summary::-webkit-details-marker { display: none; }
.audit-entry summary span:first-child b, .audit-entry summary span:first-child small { display: block; }
.audit-entry summary span:first-child small { margin-top: 5px; color: var(--muted); }
.audit-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px 18px; }
.audit-comparison pre { max-height: 220px; overflow: auto; white-space: pre-wrap; background: #f4f7f8; border: 1px solid #dce5e9; border-radius: 9px; padding: 10px; font-size: .72rem; color: #213845; }
.assignment-grid { display: grid; }
.student-bus-row { display: grid; grid-template-columns: minmax(220px,1fr) minmax(210px,320px); align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.student-bus-row:last-child { border-bottom: 0; }
.student-bus-row b, .student-bus-row small { display: block; }
.student-bus-row small { margin-top: 4px; color: var(--muted); }
.student-bus-row select { width: 100%; }
@media(max-width:800px){.module-record{grid-template-columns:42px 1fr}.record-status,.record-actions{grid-column:2}.record-actions{flex-wrap:wrap}.module-header{align-items:flex-start;gap:14px}.module-header-actions{flex-direction:column}.report-findings,.audit-comparison{grid-template-columns:1fr}.student-bus-row{grid-template-columns:1fr}}
