/* Fitted tables: never hide overflowing information. Narrow layouts use labeled records. */
.dashboard-page .fit-table-v1004{width:100%;min-width:0;overflow:visible;container-type:inline-size}
.dashboard-page .fit-table-v1004 table.v10-table{width:100%!important;min-width:0!important;table-layout:fixed}
.dashboard-page .fit-table-v1004 table col.student-name-col{width:20ch}
.dashboard-page .fit-table-v1004 table col.student-equal-col{width:auto}
.dashboard-page .fit-table-v1004 table th,.dashboard-page .fit-table-v1004 table td{padding:14px 10px;text-align:left;min-width:0}
.dashboard-page .fit-table-v1004 table thead th{font-size:var(--fit-heading-size,var(--v09-table-title-size,13px))!important;line-height:1.4;white-space:normal;overflow-wrap:normal;word-break:normal}
.dashboard-page .fit-table-v1004[data-fit-ready] table thead th{white-space:nowrap}
.dashboard-page .fit-table-v1004 table td{overflow-wrap:anywhere;white-space:normal}
.dashboard-page .fit-table-v1004 table td .button,.dashboard-page .fit-table-v1004 table td button{padding:9px 10px;min-height:44px;white-space:normal;font-size:12px;max-width:100%;margin:0}
.grades-actions-v1004{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.history-tab-list-v1004{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.history-tab-list-v1004 .button{white-space:normal}
.history-selector-v1004{display:none}
.history-panel-v1004[hidden]{display:none!important}
.history-selector-v1004 .field{width:100%;margin:0}
.history-tabs-v1004[data-history-ready] .history-select-submit{display:none}
.history-tabs-v1004 .history-panel-v1004{width:100%;min-width:0}
.approval-switch-v1004 input{width:22px;height:22px;accent-color:#04175b}
#grade-status-form fieldset{border:1px solid var(--dash-border,#dce2ef);border-radius:10px;padding:16px}
#grade-status-form legend{font-weight:600;padding:0 6px}
/* JavaScript fallback when even 12px headings do not fit: complete record cards. */
.dashboard-page .fit-table-v1004.fit-cards-v1004 table,.dashboard-page .fit-table-v1004.fit-cards-v1004 tbody{display:block}
.dashboard-page .fit-table-v1004.fit-cards-v1004 colgroup,.dashboard-page .fit-table-v1004.fit-cards-v1004 thead{display:none}
.dashboard-page .fit-table-v1004.fit-cards-v1004 tbody tr{display:grid;grid-template-columns:minmax(0,1fr);padding:10px;border-bottom:1px solid var(--dash-border,#dce2ef)}
.dashboard-page .fit-table-v1004.fit-cards-v1004 tbody td{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);gap:8px;padding:10px 6px;border:0;width:auto!important}
.dashboard-page .fit-table-v1004.fit-cards-v1004 td[data-label]:before{content:attr(data-label);font-weight:600;color:var(--dash-text,#182641);overflow-wrap:anywhere}
.dashboard-page .fit-table-v1004.fit-cards-v1004 td[colspan],.dashboard-page .fit-table-v1004.fit-cards-v1004 td[data-label=""]{display:block}
.dashboard-page .fit-table-v1004.fit-cards-v1004 td[colspan]:before,.dashboard-page .fit-table-v1004.fit-cards-v1004 td[data-label=""]:before{display:none}
.dashboard-page .fit-table-v1004.fit-cards-v1004 td>span,.dashboard-page .fit-table-v1004.fit-cards-v1004 td>div{min-width:0;justify-self:start}
@media(max-width:800px){
 .history-tab-list-v1004{display:none}.history-selector-v1004{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
 .dashboard-page .fit-table-v1004 table thead th{font-size:12px!important}
}
.dashboard-page .fit-table-v1004 table thead th:first-child{border-top-left-radius:var(--dash-radius)}
.dashboard-page .fit-table-v1004 table thead th:last-child{border-top-right-radius:var(--dash-radius)}
