:root{--wine:#75162e;--dark:#681229;--gold:#d4a437;--ivory:#fff8e9;--line:#e8ddd1;--muted:#6c6266}*{box-sizing:border-box}body{margin:0;background:#f8f5ef;color:#2c2025;font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}header{background:var(--ivory);border-bottom:5px solid var(--wine);padding:19px max(24px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.identity{display:flex;gap:17px;align-items:center}.identity img{height:104px;width:104px;object-fit:contain;flex-shrink:0}.eyebrow{font-size:11px;letter-spacing:.11em;color:var(--wine);font-weight:800}h1{font-family:Georgia,serif;font-size:23px;color:var(--wine);margin:6px 0 2px;font-weight:700}header p{margin:0;font-size:13px;color:var(--muted)}.identity-copy{min-width:0}.institute-name{font-family:Georgia,serif;font-size:34px;line-height:1.1;font-weight:800;color:var(--wine);letter-spacing:.045em}.institute-subname{font-size:17px;line-height:1.35;font-weight:800;letter-spacing:.045em;color:var(--wine);margin-top:3px}.headright{display:flex;align-items:center;gap:12px}.pill{border:1px solid #ddc998;background:#fff6db;border-radius:25px;padding:5px 12px;color:#72501e;font-size:12px;white-space:nowrap}main{max-width:1160px;margin:36px auto 80px;padding:0 24px;min-height:60vh}.panel{border:1px solid var(--line);background:white;border-radius:15px;padding:28px;margin:22px 0;box-shadow:0 4px 15px #2c202509}.panel h2,.panel h3{color:var(--wine);margin:0 0 12px;font-family:Georgia,serif}.panel p{color:#594f53}.auth{max-width:480px;margin:55px auto;padding:36px}.lock{font-size:36px;color:var(--gold)}label{display:block;font-weight:650;margin:16px 0 6px}input{width:100%;padding:12px 14px;border:1px solid #cfc6c8;border-radius:8px;font:inherit}button{font:inherit;cursor:pointer}.primary{background:var(--wine);color:white;border:0;border-radius:8px;padding:13px 20px;font-weight:700;margin-top:22px;width:100%}.outline{border:1px solid var(--wine);color:var(--wine);border-radius:8px;padding:9px 15px;background:transparent}.message{font-size:14px;color:#76501b}.auth small,.panel small{color:var(--muted)}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px}.welcome h2{font:30px Georgia,serif;color:var(--wine);margin:4px 0}.welcome p{margin:0;color:var(--muted);font-size:14px}.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-top:27px;border-bottom:2px solid #e2d8d8}.tab{padding:12px 17px;border:0;border-bottom:3px solid transparent;background:transparent;color:#55434a;font-weight:650}.tab.active{color:var(--wine);border-color:var(--gold)}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}.tile{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:12px}.tile span{font-size:14px;color:#65555c}.tile strong{font:23px Georgia,serif;color:var(--wine)}.tile small{color:var(--muted)}.split{display:flex;justify-content:space-between;gap:16px;align-items:start}.note{background:#fff6e8;padding:12px;border-left:3px solid var(--gold)}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:12px;border-bottom:1px solid var(--line);font-size:14px}th{background:#faf5eb;color:var(--wine)}footer{padding:25px;background:var(--dark);color:#f8e4bb;text-align:center;font-size:13px}footer span{display:block;color:#d0c1c5;margin-top:6px}@media(max-width:800px){header{padding:15px;align-items:start}.identity img{width:70px;height:70px}.institute-name{font-size:26px}.institute-subname{font-size:13px}h1{font-size:19px}.cards{grid-template-columns:repeat(2,1fr)}.welcome{align-items:start;flex-direction:column}}@media(max-width:520px){.cards{grid-template-columns:1fr}.headright .pill{display:none}.auth{padding:22px}main{padding:0 15px}}

@media(max-width:520px){header{gap:8px}.identity{gap:10px}.identity img{width:56px;height:56px}.institute-name{font-size:22px}.institute-subname{font-size:11px;letter-spacing:0}header h1{font-size:17px}header p{font-size:11px}.headright{align-self:flex-start}}

/* Review revision: keep the crest close to the centered institutional labels. */
header{display:flex;justify-content:center;align-items:center;position:relative;gap:0}
.identity{display:flex;align-items:center;gap:10px}
.identity img{width:104px;height:104px;flex-shrink:0}
.identity-copy{text-align:center;min-width:0}
.headright{position:absolute;right:24px;top:50%;transform:translateY(-50%)}
.institute-name{font-size:38px;letter-spacing:.045em}
.institute-subname{font-size:18px;letter-spacing:.035em}
@media(max-width:900px){header{padding-right:110px;padding-left:12px}.identity{gap:8px}.identity img{width:75px;height:75px}.institute-name{font-size:29px}.institute-subname{font-size:14px}.headright{right:12px}}
@media(max-width:600px){header{padding:14px 10px;display:flex;flex-direction:column;gap:8px}.identity{gap:7px;width:100%;justify-content:center}.identity img{width:58px;height:58px}.identity-copy{flex:1}.institute-name{font-size:25px}.institute-subname{font-size:12px}header h1{font-size:16px}header p{font-size:10px}.headright{position:static;transform:none;align-self:center}}

/* Header refinement: slim gold outline and clean circular crest edge. */
header{border:2px solid #d4a437;border-bottom:5px solid #75162e;outline:1px solid #d4a437;outline-offset:-7px}
.identity img{border-radius:50%;clip-path:circle(49.2% at 50% 50%);object-fit:contain}

/* SFIS form extension: preserve V1.1 theme and layout. */
.staff-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 20px}.staff-fields select{width:100%;padding:12px 14px;border:1px solid #cfc6c8;border-radius:8px;background:white;font:inherit}.staff-submit{max-width:280px}.staff-fields input:focus,.staff-fields select:focus{outline:2px solid var(--gold);outline-offset:2px}@media(max-width:650px){.staff-fields{grid-template-columns:1fr}.staff-submit{max-width:none}}

/* Staff record editing, matched to approved V1.1 visual system. */
.staff-edit-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.staff-edit-actions .primary{width:auto;min-width:210px}.staff-edit-actions .outline{margin-top:22px}.staff-edit-button{padding:5px 12px;font-size:13px}@media(max-width:650px){.staff-edit-actions .primary{width:100%}}

/* Password controls use the approved V1.1 palette. */
.password-wrap{position:relative}.password-wrap input{padding-right:78px}.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--wine);padding:7px 9px;font-weight:650}.text-action{display:inline-block;background:none;border:0;color:var(--wine);text-decoration:underline;padding:8px 0;margin-top:9px;font-weight:600}.password-toggle:focus-visible,.text-action:focus-visible{outline:2px solid var(--gold);outline-offset:2px}#changePasswordPanel{max-width:550px}#changePasswordPanel .staff-submit{width:auto}

/* Center registry column headings and corresponding entries only. */
#staff .tablewrap th,
#staff .tablewrap td { text-align: center; vertical-align: middle; }

/* V1.4: separate, compact staff status controls */
.staff-status-button { margin-left: 8px; white-space: nowrap; }

/* V1.5 staff profile extensions */
.staff-fields textarea{width:100%;padding:12px 14px;border:1px solid #cfc6c8;border-radius:8px;font:inherit;resize:vertical}.staff-fields input[readonly]{background:#f4f0e8;color:#574a4f}.staff-fields textarea:focus{outline:2px solid var(--gold);outline-offset:2px}.staff-fields small{display:block;margin-top:4px}

#sensitivePanel h4 {margin-top:1.4rem} #sensitivePanel textarea {width:100%;min-height:5rem} #numberPanel {border-top:3px solid #d4a437}

/* V1.5.3: responsive header; keep identity and account controls in separate flow areas. */
header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-content:normal;column-gap:24px;row-gap:12px;padding:19px max(24px,calc((100vw - 1200px)/2));}
header .identity{min-width:0;justify-self:center;grid-column:1;gap:10px;}
header .headright{position:static;transform:none;grid-column:2;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;min-width:0;}
header .headright .pill{display:inline-block;}
@media(max-width:1050px){
 header{grid-template-columns:minmax(0,1fr);padding:16px 18px;}
 header .identity{grid-column:1;justify-self:center;max-width:100%;}
 header .headright{grid-column:1;justify-self:center;justify-content:center;align-self:auto;}
}
@media(max-width:600px){
 header{display:grid;grid-template-columns:minmax(0,1fr);padding:14px 12px;gap:12px;}
 header .identity{width:100%;justify-content:center;}
 header .identity img{width:58px;height:58px;}
 header .identity-copy{flex:0 1 auto;}
 header .institute-name{font-size:clamp(20px,5vw,25px);}
 header .institute-subname{font-size:clamp(10px,2.5vw,12px);}
 header h1{font-size:clamp(15px,3.5vw,17px);}
 header p{font-size:10px;}
 header .headright{position:static;transform:none;align-self:auto;}
}
@media(max-width:380px){header .identity img{width:44px;height:44px}header .identity{gap:5px}}

/* V1.5.3: make the staff action column usable without stacked/overlapping buttons. */
#staff .tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
#staff .tablewrap table{min-width:760px;}
#staff .tablewrap th:last-child,#staff .tablewrap td:last-child{min-width:190px;white-space:nowrap;}
#staff .tablewrap td:last-child .staff-edit-button,
#staff .tablewrap td:last-child .staff-status-button{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin:3px 4px;padding:8px 12px;white-space:nowrap;}
#staff .tablewrap td:last-child .staff-status-button[hidden]{display:none;}
#staff .tablewrap td:last-child .staff-status-button:disabled{display:none;}


[hidden]{display:none!important}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d4a437;outline-offset:2px}
.staging{font-size:12px;color:#72501e;background:#fff6db;border:1px solid #ddc998;border-radius:24px;padding:5px 12px}
.portal-actions{display:flex;justify-content:center;gap:10px;margin-top:14px;align-items:center}
.workspace-label{font-size:11px;letter-spacing:.12em;font-weight:800;color:var(--wine)}
.view-title{font:30px Georgia,serif;color:var(--wine);margin:4px 0}
.view-sub{font-size:13px;color:var(--muted)}
.action-link{color:var(--wine);text-decoration:underline;border:0;background:none;padding:10px 0;cursor:pointer}
.sis-subnav{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.sis-subnav button{border:1px solid #e2d5cb;background:#fff;border-radius:7px;padding:9px 12px;color:#653c4b;font-weight:650}
.sis-subnav button.active{background:#fff4d7;border-color:var(--gold);color:var(--wine)}
.status-message{padding:12px 16px;border-radius:8px;margin:12px 0;background:#fff6e8;border-left:4px solid var(--gold);white-space:pre-wrap}
.status-message.error{background:#fff0f0;border-color:#aa2535;color:#8c1025}
.status-message.ok{background:#eff9f0;border-color:#44874b;color:#21582b}
.metric small{display:block;font-size:12px;color:#74676b}
.metric strong{font:28px Georgia,serif;color:var(--wine)}
.tablewrap td{max-width:290px;overflow-wrap:anywhere}
.muted{color:var(--muted)}
.auth{max-width:500px}
.auth .primary{margin-top:20px}
.login-note{margin-top:18px;font-size:13px;color:var(--muted)}
.empty{padding:18px;background:#faf6ef;border:1px solid var(--line);border-radius:8px}
footer{margin-top:40px}
@media(max-width:700px){.welcome{flex-direction:column;align-items:flex-start}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.cards{grid-template-columns:1fr}.auth{margin:22px auto}}

/* V3: mirror the approved SFIS V1.5.3 sign-in screen. */
.sfis-login{max-width:480px;margin:55px auto;padding:36px;border:1px solid var(--line);border-radius:15px;box-shadow:0 4px 15px #2c202509}
.sfis-login .login-emblem{color:#d49b24;font-size:32px;line-height:1;margin:6px 0 18px;font-family:Georgia,serif}
.sfis-login h2{font:700 25px/1.3 Georgia,serif;color:var(--wine);margin:0 0 20px}
.sfis-login>p:not(.login-note):not(.staging-disclaimer){margin:0 0 18px;color:#594f53;font-size:15px}
.sfis-login label{font-size:14px;font-weight:700;margin:16px 0 7px}
.sfis-login input{height:52px;border-radius:8px;font-size:15px}
.sfis-login .password-wrap{position:relative}
.sfis-login .password-wrap input{padding-right:82px}
.sfis-login .password-toggle{font-size:14px}
.sfis-login .primary{width:100%;margin-top:22px;height:51px;font-size:15px}
.sfis-login .text-action{font-size:14px;margin-top:12px;padding:5px 0}
.sfis-login .login-note{font-size:12px;line-height:1.9;margin-top:20px}
.sfis-login .staging-disclaimer{border-top:1px solid var(--line);padding-top:12px;margin-top:14px;color:#87672d;font-size:12px}
@media(max-width:520px){.sfis-login{padding:26px 22px;margin:32px auto}}

/* V4 application entry, matched to SFIS */
.application-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}
.primary.compact{width:auto;margin:0;padding:10px 17px}
.application-form-card{border:1px solid var(--line);border-top:3px solid var(--gold);padding:22px;border-radius:10px;background:#fffdf9;margin:20px 0}
.application-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}
.application-fields .wide{grid-column:1/-1}
.application-fields select,.application-fields textarea{width:100%;padding:12px 14px;border:1px solid #cfc6c8;border-radius:8px;font:inherit;background:white}
.application-fields small{display:block;margin-top:5px}
.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}
.section-heading{margin-top:30px;color:var(--wine);font:23px Georgia,serif}
@media(max-width:650px){.application-fields{grid-template-columns:1fr}.application-fields .wide{grid-column:auto}}

/* V5 catalogue */
.catalogue-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:8px 0 20px}.catalogue-head h3{margin-bottom:4px}.catalogue-filters{display:grid;grid-template-columns:auto minmax(130px,200px) auto minmax(180px,1fr);align-items:center;gap:12px;margin-bottom:16px}.catalogue-filters label{margin:0}.catalogue-filters select{border:1px solid #cfc6c8;background:white;border-radius:8px;padding:12px;font:inherit}.catalogue-filters input{min-width:0}@media(max-width:680px){.catalogue-filters{grid-template-columns:1fr}.catalogue-filters label{margin-top:8px}}

/* V5.1 professional catalogue table */
.programme-table{width:100%;border-collapse:collapse;table-layout:fixed}
.programme-table th,.programme-table td{text-align:center;vertical-align:middle;padding:14px 12px;overflow-wrap:anywhere}
.programme-table th{font-weight:750;color:#790b2c;background:#faf4e9}
.programme-table td:nth-child(3){line-height:1.5}
.programme-table th:nth-child(1){width:12%}
.programme-table th:nth-child(2){width:14%}
.programme-table th:nth-child(3){width:32%}
.programme-table th:nth-child(4){width:16%}
.programme-table th:nth-child(5){width:10%}
.programme-table th:nth-child(6){width:16%}
@media(max-width:760px){.programme-table{min-width:760px}.tablewrap{overflow-x:auto}}

/* V5.2: application register matches the approved programme catalogue styling */
.application-filters{display:grid;grid-template-columns:minmax(210px,1.5fr) minmax(180px,1fr) minmax(150px,1fr);gap:16px;align-items:end;margin:16px 0}
.application-filters label{display:block;margin:0 0 8px;font-weight:700}
.application-filters input,.application-filters select{display:block;width:100%;min-width:0;border:1px solid #cfc6c8;border-radius:8px;background:#fff;padding:12px;font:inherit}
.application-table{width:100%;border-collapse:collapse;table-layout:fixed}
.application-table th,.application-table td{text-align:center;vertical-align:middle;padding:14px 12px;overflow-wrap:anywhere;line-height:1.5}
.application-table th{font-weight:750;color:#790b2c;background:#faf4e9}
.application-table th:nth-child(1){width:19%}.application-table th:nth-child(2){width:18%}.application-table th:nth-child(3){width:15%}.application-table th:nth-child(4){width:16%}.application-table th:nth-child(5){width:14%}.application-table th:nth-child(6){width:18%}
@media(max-width:760px){.application-filters{grid-template-columns:1fr}.application-table{min-width:850px}}

/* V5.3 Finance Verification */
.finance-head{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.finance-head h3{margin-bottom:4px}.finance-table{width:100%;table-layout:fixed;border-collapse:collapse}.finance-table th,.finance-table td{text-align:center;vertical-align:middle;padding:14px 10px;overflow-wrap:anywhere}.finance-table th{background:#faf4e9;color:#790b2c}.finance-table th:nth-child(1){width:20%}.finance-table th:nth-child(2){width:15%}.finance-table th:nth-child(3){width:22%}.finance-table th:nth-child(4){width:15%}.finance-table th:nth-child(5),.finance-table th:nth-child(6){width:14%}@media(max-width:800px){.finance-table{min-width:850px}}

/* V5.5: application register editing controls */
.application-table th:last-child,.application-table td:last-child{text-align:center;white-space:nowrap}
.application-edit-button{padding:8px 15px;font-weight:700;min-height:36px}
.application-table th{text-align:center}
.application-table td{text-align:center;vertical-align:middle}

/* V5.6 register formatting and distinct registration workflow */
.admissions-table,.student-table{width:100%;border-collapse:collapse;table-layout:fixed}
.admissions-table th,.admissions-table td,.student-table th,.student-table td{text-align:center;vertical-align:middle;padding:14px 12px;overflow-wrap:anywhere;line-height:1.5}
.admissions-table th,.student-table th{background:#faf4e9;color:#790b2c;font-weight:750}
.admissions-table th:nth-child(1){width:19%}.admissions-table th:nth-child(2){width:18%}.admissions-table th:nth-child(3){width:14%}.admissions-table th:nth-child(4){width:13%}.admissions-table th:nth-child(5){width:22%}.admissions-table th:nth-child(6){width:14%}
.registration-checks{display:grid;gap:14px;margin:18px 0}.registration-checks label{display:flex;align-items:flex-start;gap:12px;font-weight:600}.registration-checks input{width:18px;height:18px;flex-shrink:0;margin-top:3px}
@media(max-width:800px){.admissions-table,.student-table{min-width:800px}}

/* SIS V5.6 dashboard refinement: labels, values and footnotes centered. */
.cards .tile.metric{align-items:center;text-align:center;justify-content:center;gap:10px;min-height:174px;}
.cards .tile.metric strong:first-child{font-family:Georgia,serif;font-size:20px;line-height:1.25;font-weight:600;overflow-wrap:break-word;}
.cards .tile.metric strong:nth-child(2){font-family:Georgia,serif;font-size:22px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;}
.cards .tile.metric small{font-size:11px;line-height:1.4;text-align:center;}

/* SIS V5.6: read-only Student Registry and Enrolments tables. */
.registry-readonly-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:850px}
.registry-readonly-table th,.registry-readonly-table td{text-align:center;vertical-align:middle;padding:14px 10px;overflow-wrap:anywhere;line-height:1.5}
.registry-readonly-table th{background:#faf4e9;color:#790b2c;font-weight:750}
.registry-readonly-table td{font-size:13px}
.registry-readonly-table tr+tr td{border-top:1px solid #e8ddd1}

/* V5.6 Applications Register: six visible desktop columns and accessible read-only details. */
.application-table{width:100%;table-layout:fixed;min-width:0}
.application-table th,.application-table td{padding:12px 7px;text-align:center;vertical-align:middle;overflow-wrap:anywhere;font-size:13px}
.application-table th:nth-child(1){width:18%}
.application-table th:nth-child(2){width:17%}
.application-table th:nth-child(3){width:11%}
.application-table th:nth-child(4){width:12%}
.application-table th:nth-child(5){width:27%}
.application-table th:nth-child(6){width:15%}
.application-table .application-actions{white-space:normal}
.application-actions button{display:inline-block;margin:3px 2px;padding:7px 10px;min-height:35px;font-size:13px}
.application-detail-row[hidden]{display:none}
.application-detail-row td{background:#fffaf2;padding:18px;text-align:left}
.application-detail-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;text-align:left}
.application-detail-content>div{display:flex;flex-direction:column;gap:3px}
.application-detail-content strong{color:var(--wine)}
@media(max-width:760px){.application-table{min-width:650px}.application-detail-content{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V5.6 student registry: concise identifiers, Ghana dates, read-only details. */
.student-table th,.student-table td{text-align:center;vertical-align:middle}
.student-detail-row td{background:#fffaf2;padding:18px;text-align:left}
.student-detail-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;text-align:left}
.student-detail-content>div{display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.student-detail-content strong{color:var(--wine)}
@media(max-width:760px){.student-detail-content{grid-template-columns:repeat(2,minmax(0,1fr))}}

.academic-form-panel{margin:18px 0}.academic-entry-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:end;margin:12px 0 22px}.academic-entry-form label{display:flex;flex-direction:column;gap:6px}.academic-entry-form button{align-self:end}.academic-entry-form select,.academic-entry-form input{width:100%;min-height:42px}

/* V5.10: compact academic enrolment register */
.academic-enrollment-detail{padding:12px 18px;text-align:left;background:#fffaf3;border-left:3px solid #d4a437;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px 20px}
.academic-enrollment-detail p{margin:6px 0;overflow-wrap:anywhere}
.academic-enrollment-detail details{grid-column:1/-1;font-size:.9em}
.registry-readonly-table td,.registry-readonly-table th{text-align:center;vertical-align:middle}
.registry-readonly-table td:last-child{white-space:nowrap}

/* SIS 5.11: readable, responsive expanded enrolment details */
.academic-enrollment-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:18px;padding:20px 22px;text-align:left;min-width:0}
.academic-enrollment-field{min-width:0;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere;line-height:1.45}
.academic-enrollment-field strong{display:block;color:#681329;font-size:.9rem}
.academic-enrollment-field span{display:block;overflow-wrap:anywhere}
.academic-enrollment-detail details{grid-column:1/-1;min-width:0;border-top:1px solid #e9dfd4;padding-top:12px}
.academic-enrollment-detail details p{overflow-wrap:anywhere}
@media(max-width:650px){.academic-enrollment-detail{grid-template-columns:minmax(0,1fr);padding:16px;row-gap:14px}}

/* SIS v5.12: explicit stacked field rows; no multi-column grid inside a table cell. */
.registry-readonly-table td:has(> .academic-enrollment-detail-v512){display:table-cell!important;text-align:left!important;padding:14px 12px!important;width:auto!important;max-width:none!important;white-space:normal!important;}
.academic-enrollment-detail-v512{display:block!important;width:100%;max-width:100%;min-width:0;box-sizing:border-box;background:#fffaf3;border-left:3px solid #d4a437;padding:16px 20px;text-align:left;white-space:normal;}
.academic-enrollment-field-v512{display:block!important;position:static!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:10px 0!important;border-bottom:1px solid #eee3d5;line-height:1.5;white-space:normal;overflow-wrap:anywhere;word-break:normal;}
.academic-enrollment-field-v512 strong{display:block!important;position:static!important;float:none!important;margin:0 0 3px!important;color:#681329;font-size:13px;line-height:1.5;}
.academic-enrollment-field-v512 span{display:block!important;position:static!important;float:none!important;width:auto!important;max-width:100%!important;margin:0!important;font-size:14px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;}
.academic-enrollment-detail-v512 details{display:block!important;margin-top:14px;padding-top:10px;border-top:1px solid #e9dfd4;font-size:13px;overflow-wrap:anywhere;}
.academic-enrollment-detail-v512 details p{margin:8px 0;overflow-wrap:anywhere;}
@media(max-width:650px){.academic-enrollment-detail-v512{padding:12px 14px;}}

/* V5.15: readable selections for programme intakes and training sessions. */
.academic-entry-form.academic-wide-selects{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:20px;}
.academic-wide-selects label{min-width:0;}
.academic-wide-selects select,.academic-wide-selects input{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:46px;font-size:14px;padding:10px 12px;}
.academic-wide-selects select{white-space:nowrap;text-overflow:clip;}
.academic-wide-selects button{min-height:46px;}
@media(max-width:700px){.academic-entry-form.academic-wide-selects{grid-template-columns:minmax(0,1fr);}}

/* SIS V5.16 */
.intake-assignment-v516{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0;padding:14px;border:1px solid #e7d9ca;border-radius:8px}.intake-assignment-v516 label{flex:1 1 310px;font-weight:600}.intake-assignment-v516 select{display:block;width:100%;margin-top:6px;min-width:0}.intake-assignment-v516 button{min-width:190px}.intake-assignment-v516 span{flex:1 1 100%;font-size:.9rem}

/* SIS V5.17: readable intake selector and responsive training sessions register. */
.intake-assignment-v516{align-items:stretch;gap:14px;padding:18px;}
.intake-assignment-v516 label{display:block;flex:1 1 100%;min-width:0;font-size:14px;line-height:1.5;}
.intake-assignment-v516 select{display:block;box-sizing:border-box;width:100%;height:auto;min-height:50px;padding:12px 14px;margin-top:8px;font:inherit;font-size:15px;line-height:1.5;color:#33232a;background-color:#fff;border:1px solid #bbaea5;border-radius:6px;}
.intake-assignment-v516 button{flex:1 1 100%;min-height:48px;}
.intake-assignment-v516 span{line-height:1.5;}
.training-session-table-v517{width:100%;min-width:1040px;border-collapse:collapse;table-layout:auto;}
.training-session-table-v517 th,.training-session-table-v517 td{padding:12px 14px;vertical-align:top;overflow-wrap:normal;word-break:normal;line-height:1.5;text-align:left;}
.training-session-table-v517 th{white-space:normal;}
.training-session-table-v517 td:nth-child(1),.training-session-table-v517 td:nth-child(6),.training-session-table-v517 td:nth-child(7),.training-session-table-v517 td:nth-child(9){white-space:nowrap;}

/* SIS V5.20: Programme Units shares the existing two-column responsive academic form. */

/* V5.24: align curriculum version and source headings with their values. */
.curriculum-versions-table th:nth-child(2),
.curriculum-versions-table td:nth-child(2),
.curriculum-versions-table th:nth-child(4),
.curriculum-versions-table td:nth-child(4) { text-align: center; }

/* V5.26: readable, responsive curriculum-version selector. */
.curriculum-version-picker{display:flex;flex-direction:column;align-items:stretch;gap:9px;width:min(100%,650px);margin:20px 0 24px;font-weight:700;}
.curriculum-version-picker select{display:block;width:100%;min-height:48px;padding:11px 14px;border:1px solid #cfc6c8;border-radius:8px;background:#fff;color:#2c2025;font:inherit;max-width:100%;}
.curriculum-version-picker select:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}

/* V5.26 allocation display refinement */
.curriculum-allocation-table th,.curriculum-allocation-table td{text-align:center;vertical-align:middle;}
.curriculum-allocation-heading{margin-top:22px!important;}

/* V5.26 Unit Enrolments: wider programme selectors, responsive two-column layout. */
.academic-entry-form.unit-enrolment-wide-v526{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:20px;}
.academic-entry-form.unit-enrolment-wide-v526 label{min-width:0;}
.academic-entry-form.unit-enrolment-wide-v526 select{width:100%;max-width:100%;min-width:0;min-height:48px;padding:10px 12px;box-sizing:border-box;}
@media(max-width:700px){.academic-entry-form.unit-enrolment-wide-v526{grid-template-columns:minmax(0,1fr);}}

/* V5.27: breathing room above Add curriculum unit heading. */
.curriculum-add-unit-heading{margin-top:24px!important;}

/* Center the Reason heading over its audit-history column. */
.curriculum-audit-table th:nth-child(3){text-align:center;}

/* V5.28: readiness checklist */
.curriculum-readiness{margin-top:28px;padding-top:16px;border-top:1px solid #e9dacc}
.curriculum-readiness label{display:block;width:min(100%,900px);max-width:100%;margin:14px 0 20px;font-weight:600}
.curriculum-readiness select{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:10px 14px;margin-top:8px;font:inherit;border-radius:8px}

/* V5.33: distinguish scheduling errors from successful saves. */
.schedule-feedback.error{color:#b42332;font-weight:650;}

/* V5.34: spacing between timetable and new schedule form. */
.schedule-add-heading{margin-top:32px!important;}

/* V5.37: accessible, immediately visible schedule editing dialog */
.schedule-edit-dialog{box-sizing:border-box;width:min(94vw,900px);max-width:900px;max-height:88vh;overflow-y:auto;border:1px solid #d7b36a;border-radius:14px;padding:28px;background:#fff;color:#421323;box-shadow:0 20px 65px rgba(0,0,0,.24)}
.schedule-edit-dialog::backdrop{background:rgba(25,16,20,.58)}
.schedule-edit-dialog h3{margin:0 0 20px;color:#75132b}
.schedule-edit-dialog .schedule-feedback{margin:0 0 12px}
.schedule-edit-dialog .academic-entry-form{width:100%;max-width:100%}
.schedule-edit-dialog button{cursor:pointer}
@media(max-width:650px){.schedule-edit-dialog{padding:18px;width:96vw}}

/* V5.38: accessible centered editor and readable timetable */
.schedule-edit-dialog[hidden]{display:none!important}
.schedule-edit-dialog.is-open{display:block!important;position:fixed!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;z-index:10001!important;background:#fff!important;max-height:88vh;overflow-y:auto}
body.schedule-modal-open:before{content:"";position:fixed;inset:0;background:rgba(25,16,20,.6);z-index:10000}
body.schedule-modal-open{overflow:hidden}
.schedule-timetable{width:100%;table-layout:auto;border-collapse:collapse;font-size:14px}
.schedule-timetable th,.schedule-timetable td{padding:13px 12px;vertical-align:middle;overflow-wrap:normal;word-break:normal}
.schedule-timetable th:nth-child(1),.schedule-timetable td:nth-child(1){min-width:190px;width:24%}
.schedule-timetable th:nth-child(2),.schedule-timetable td:nth-child(2){min-width:130px;text-align:center;white-space:nowrap}
.schedule-timetable th:nth-child(3),.schedule-timetable td:nth-child(3){min-width:95px;text-align:center;white-space:nowrap;text-transform:capitalize}
.schedule-timetable th:nth-child(4),.schedule-timetable td:nth-child(4){min-width:155px;text-align:center;white-space:nowrap}
.schedule-timetable th:nth-child(5),.schedule-timetable td:nth-child(5){min-width:125px}
.schedule-timetable th:nth-child(6),.schedule-timetable td:nth-child(6){min-width:135px}
.schedule-timetable th:nth-child(7),.schedule-timetable td:nth-child(7){min-width:90px;text-align:center;white-space:nowrap}
.schedule-timetable th:nth-child(8),.schedule-timetable td:nth-child(8){min-width:135px;white-space:nowrap}
.schedule-timetable .schedule-action-edit,.schedule-timetable .schedule-action-cancel{display:inline-block;border-radius:6px;padding:7px 11px;font-weight:600;cursor:pointer;margin:3px 5px 3px 0}
.schedule-timetable .schedule-action-edit{background:#75132b;color:#fff;border:1px solid #75132b}
.schedule-timetable .schedule-action-cancel{background:#fff8e9;color:#75132b;border:1px solid #d7b36a}
.tablewrap:has(.schedule-timetable){overflow-x:auto}

/* V5.39: compact, fully visible timetable actions and responsive layout */
.schedule-timetable{width:100%!important;min-width:0!important;table-layout:fixed!important;font-size:13px}
.schedule-timetable th,.schedule-timetable td{min-width:0!important;width:auto!important;padding:11px 7px!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important}
.schedule-timetable th:nth-child(1),.schedule-timetable td:nth-child(1){width:20%!important}
.schedule-timetable th:nth-child(2),.schedule-timetable td:nth-child(2){width:15%!important}
.schedule-timetable th:nth-child(3),.schedule-timetable td:nth-child(3){width:9%!important}
.schedule-timetable th:nth-child(4),.schedule-timetable td:nth-child(4){width:15%!important}
.schedule-timetable th:nth-child(5),.schedule-timetable td:nth-child(5){width:12%!important}
.schedule-timetable th:nth-child(6),.schedule-timetable td:nth-child(6){width:12%!important}
.schedule-timetable th:nth-child(7),.schedule-timetable td:nth-child(7){width:7%!important}
.schedule-timetable th:nth-child(8),.schedule-timetable td:nth-child(8){width:10%!important}
.schedule-timetable td:nth-child(8) button{display:block!important;width:100%!important;box-sizing:border-box!important;padding:6px 2px!important;margin:3px 0!important;font-size:12px!important;line-height:1.3}
.tablewrap:has(.schedule-timetable){overflow-x:visible!important}
@media(max-width:760px){.schedule-timetable{font-size:11px!important}.schedule-timetable th,.schedule-timetable td{padding:7px 3px!important}.schedule-timetable td:nth-child(8) button{font-size:10px!important}}

/* V5.40: readable status and staging facilitator workload summary */
.schedule-timetable th:nth-child(7),.schedule-timetable td:nth-child(7){width:10%!important;white-space:nowrap!important;overflow-wrap:normal!important;font-size:12px!important}
.schedule-timetable th:nth-child(1),.schedule-timetable td:nth-child(1){width:18%!important}
.schedule-timetable th:nth-child(2),.schedule-timetable td:nth-child(2){width:14%!important}
.schedule-timetable th:nth-child(8),.schedule-timetable td:nth-child(8){width:10%!important}
.schedule-workload-area{margin:32px 0 34px}
.schedule-workload-area h3{margin-bottom:12px}
.schedule-workload-filter{display:block;max-width:440px;margin:14px 0 18px;font-weight:600}
.schedule-workload-filter select{display:block;width:100%;margin-top:8px;padding:12px;background:#fff;border:1px solid #c9bcb6}
.schedule-workload-table{width:100%;table-layout:auto}
.schedule-workload-table th,.schedule-workload-table td{padding:12px 14px;vertical-align:middle}
.schedule-workload-table th:nth-child(n+3),.schedule-workload-table td:nth-child(n+3){text-align:center}

/* V5.41 restore cancelled class action */
.schedule-timetable td:nth-child(8) .schedule-action-restore{display:block;width:100%;box-sizing:border-box;border:1px solid #b98d31;border-radius:6px;background:#fff8e9;color:#75132b;font-weight:600;padding:7px 3px;cursor:pointer;font-size:12px}
.schedule-timetable .schedule-action-restore:disabled{opacity:.6;cursor:wait}

/* V5.42 assignment details */
.schedule-assignment-heading{margin:26px 0 10px;color:#76142c}
.schedule-assignment-table{width:100%;table-layout:auto}
.schedule-assignment-table th,.schedule-assignment-table td{padding:12px 10px;vertical-align:middle}
.schedule-assignment-table th:nth-child(6),.schedule-assignment-table td:nth-child(6){text-align:center;white-space:nowrap}
@media(max-width:850px){.schedule-workload-area{overflow-x:auto}.schedule-assignment-table{min-width:760px}}

/* V5.46.1 — Unit enrolment readability; presentation only */
.unit-registration-table-v5461 { width:100%; table-layout:fixed; border-collapse:collapse; }
.unit-registration-table-v5461 th, .unit-registration-table-v5461 td { padding:16px 14px; vertical-align:top; text-align:left; overflow-wrap:anywhere; line-height:1.5; }
.unit-registration-table-v5461 th:nth-child(1){width:19%}
.unit-registration-table-v5461 th:nth-child(2){width:17%}
.unit-registration-table-v5461 th:nth-child(3){width:28%}
.unit-registration-table-v5461 th:nth-child(4){width:23%}
.unit-registration-table-v5461 th:nth-child(5){width:13%}
.unit-reg-primary { font-weight:600; }
.unit-reg-secondary { font-size:.88em; opacity:.76; margin-top:4px; }
@media(max-width:750px){.unit-registration-table-v5461 { min-width:760px; }}

/* V5.46.1 alignment refinement: centered headers and compact data; unit descriptions left aligned. */
.unit-registration-table-v5461 thead th { text-align:center; vertical-align:middle; }
.unit-registration-table-v5461 tbody td { vertical-align:middle; }
.unit-registration-table-v5461 tbody td:nth-child(1),
.unit-registration-table-v5461 tbody td:nth-child(2),
.unit-registration-table-v5461 tbody td:nth-child(4),
.unit-registration-table-v5461 tbody td:nth-child(5) { text-align:center; }
.unit-registration-table-v5461 tbody td:nth-child(3) { text-align:left; }

/* V5.46.1 final: two-row academic unit registration cards */
.unit-registration-list-v5461{display:grid;gap:16px;margin-top:18px}
.unit-registration-list-v5461 h3{margin:0 0 2px}
.unit-registration-card-v5461{border:1px solid #e6d6c5;border-radius:10px;overflow:hidden;background:#fff}
.unit-registration-row-v5461{display:grid;align-items:start;gap:18px;padding:18px 22px}
.unit-registration-top-v5461{grid-template-columns:1.2fr 1fr .8fr;background:#fbf6ec}
.unit-registration-bottom-v5461{grid-template-columns:1.5fr 1fr;border-top:1px solid #e6d6c5}
.unit-registration-field-v5461{min-width:0;text-align:center;overflow-wrap:anywhere;line-height:1.5}
.unit-registration-label-v5461{color:#78142c;font-weight:700;font-size:.9rem;margin-bottom:8px}
.unit-registration-bottom-v5461 .unit-registration-field-v5461:first-child{text-align:left}
.unit-registration-card-v5461 .unit-reg-primary{font-weight:600}
.unit-registration-card-v5461 .unit-reg-secondary{margin-top:5px;color:#635c58;opacity:1}
@media(max-width:650px){.unit-registration-top-v5461{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-registration-top-v5461 .unit-registration-field-v5461:last-child{grid-column:1/-1}.unit-registration-bottom-v5461{grid-template-columns:1fr}.unit-registration-row-v5461{padding:16px;gap:16px}.unit-registration-bottom-v5461 .unit-registration-field-v5461:first-child{text-align:center}}

/* V5.46.1 approved single-row unit registration table */
.unit-registration-list-v5461{display:block;margin-top:16px}
.unit-registration-list-v5461 h3{margin:0 0 14px}
.unit-registration-scroll-v5461{width:100%;overflow-x:auto;border:1px solid #e8dfd6;border-radius:12px;background:#fff}
.unit-registration-scroll-v5461 .unit-registration-table-v5461{width:100%;min-width:670px;table-layout:fixed;border-collapse:collapse;margin:0}
.unit-registration-scroll-v5461 .unit-registration-table-v5461 th{background:#fbf8f3;text-align:left;font-size:.78rem;font-weight:600;color:#4a3b3c;padding:14px 12px;border-bottom:1px solid #e8dfd6}
.unit-registration-scroll-v5461 .unit-registration-table-v5461 td{text-align:left;padding:15px 12px;vertical-align:top;line-height:1.35;border-bottom:1px solid #eee7df;overflow-wrap:break-word}
.unit-registration-scroll-v5461 .unit-registration-table-v5461 tbody tr:last-child td{border-bottom:0}
.unit-registration-scroll-v5461 .unit-registration-table-v5461 th:nth-child(1){width:20%}
.unit-registration-scroll-v5461 .unit-registration-table-v5461 th:nth-child(2){width:15%}
.unit-registration-scroll-v5461 .unit-registration-table-v5461 th:nth-child(3){width:23%}
.unit-registration-scroll-v5461 .unit-registration-table-v5461 th:nth-child(4){width:26%}
.unit-registration-scroll-v5461 .unit-registration-table-v5461 th:nth-child(5){width:16%}
.unit-registration-scroll-v5461 .unit-reg-primary{font-weight:600;font-size:.92rem}
.unit-registration-scroll-v5461 .unit-reg-secondary{font-size:.79rem;color:#625b59;margin-top:4px;opacity:1}

/* V5.46.1: Center headings and entries consistently in the single-row unit enrolments table. */
.unit-registration-scroll-v5461 .unit-registration-table-v5461 th,
.unit-registration-scroll-v5461 .unit-registration-table-v5461 td { text-align:center; vertical-align:middle; }
.unit-registration-scroll-v5461 .unit-registration-table-v5461 .unit-reg-primary,
.unit-registration-scroll-v5461 .unit-registration-table-v5461 .unit-reg-secondary { text-align:center; }

/* V5.46.2 — student academic profile usability and alignment only */
.academic-profile-controls-v5462{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:16px 0 20px}
.academic-profile-controls-v5462 label{display:flex;flex-direction:column;gap:7px;font-weight:600;min-width:min(100%,380px)}
.academic-profile-controls-v5462 select{display:block;width:100%;min-width:0;min-height:45px;padding:10px 12px;font-size:15px;box-sizing:border-box}
.academic-profile-controls-v5462 button{min-height:45px}
.academic-profile-table-v5462{width:100%;table-layout:fixed;border-collapse:collapse}
.academic-profile-table-v5462 th,.academic-profile-table-v5462 td{text-align:center!important;vertical-align:middle!important;padding:13px 12px!important;overflow-wrap:break-word;line-height:1.5}
.academic-profile-table-v5462 th{font-weight:700}
@media(max-width:720px){.academic-profile-table-v5462{min-width:670px}.academic-profile-controls-v5462 label{width:100%}}

.assessment-creation[hidden]{display:none!important}.assessment-creation textarea,.assessment-detail-panel textarea{font:inherit;min-height:7rem;resize:vertical;padding:.65rem;box-sizing:border-box;width:100%}.assessment-creation select,.assessment-detail-panel select{font:inherit}.assessment-secondary{font:inherit;color:#801630;background:#fff8e9;border:1px solid #d4a437;border-radius:6px;padding:.45rem .8rem;cursor:pointer}.assessment-secondary:hover{background:#f4e6c6}.assessment-audit-table th,.assessment-audit-table td{text-align:center;vertical-align:middle}.assessment-audit-table small{display:block}.assessment-audit-table pre{white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;max-width:24rem;font-size:.8rem}.assessment-audit-table summary{color:#801630;cursor:pointer}

/* V5.48.2: scoped form alignment and full-width audit comparison */
.assessment-detail-panel .academic-entry-form,.assessment-creation .academic-entry-form{align-items:start}
.assessment-audit-expanded[hidden]{display:none!important}
.assessment-audit-table .assessment-audit-expanded>td{background:#fffaf1;padding:18px!important}
.assessment-audit-expanded h4{color:#801630;margin:0 0 8px}
.assessment-audit-expanded p{margin:8px 0;font-size:.9rem}
.assessment-change-table{width:100%;table-layout:fixed;border-collapse:collapse}
.assessment-change-table th:first-child{width:22%}
.assessment-change-table td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top!important}
.progress-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:16px 0}.progress-filters label{display:grid;gap:8px}.progress-filters select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:45px;padding:10px 12px;font:inherit;font-size:15px;background:#fff;color:#33232a}.progress-filters select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.progress-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:16px 0}.progress-cards>div{border:1px solid #e2d5c5;background:#fff8e9;border-radius:8px;padding:16px;text-align:center}.progress-cards strong{display:block;font-size:26px;color:#78152d;margin-top:8px}progress[aria-label="Assessment review progress"]{width:100%;accent-color:#78152d;margin-bottom:16px}

progress[aria-label="Assessment review progress not applicable"]{width:100%;accent-color:#78152d;margin-bottom:16px}
.monitoring-filters{grid-template-columns:repeat(6,minmax(0,1fr))}.monitoring-filters label{grid-column:span 2;min-width:0}.monitoring-filters label:nth-child(-n+2){grid-column:span 3}.monitoring-summary th:first-child{width:34%}.monitoring-summary th:not(:first-child){width:11%}.monitoring-register{min-width:1050px}.monitoring-register th:nth-child(1){width:10%}.monitoring-register th:nth-child(2){width:19%}.monitoring-register th:nth-child(3){width:14%}.monitoring-register th:nth-child(4){width:10%}.monitoring-register th:nth-child(5){width:8%}.monitoring-register th:nth-child(6){width:16%}.monitoring-register th:nth-child(7){width:9%}.monitoring-register th:nth-child(8){width:8%}.monitoring-register th:nth-child(9){width:12%}.monitoring-register .assessment-secondary{white-space:nowrap}.monitoring-register th,.monitoring-register td,.monitoring-summary th,.monitoring-summary td{padding:12px 6px!important}.monitoring-summary{min-width:760px}@media(max-width:720px){.monitoring-filters{grid-template-columns:1fr}.monitoring-filters label:nth-child(n){grid-column:1}}

/* V5.52: isolated Academic Assessment Monitoring layout. */
.monitoring-v552{min-width:0;color:#33232a}
.monitoring-v552 .monitoring-description{font-size:14px;line-height:1.55;margin:0 0 16px;color:#594f53}
.monitoring-v552 .monitoring-section{min-width:0;border:1px solid #e4d9ca;border-radius:10px;padding:18px;margin:0 0 18px;background:#fff}
.monitoring-v552 .monitoring-section h3{font-size:20px;margin:0 0 14px;line-height:1.25;color:#78152d}
.monitoring-v552 .monitoring-filters{gap:12px 16px;margin:0 0 14px}
.monitoring-v552 .monitoring-filters label{margin:0;font-size:14px;gap:6px}
.monitoring-v552 .monitoring-filters select{border:1px solid #cfc6c8;border-radius:6px;min-height:42px;font-size:14px}
.monitoring-v552 .monitoring-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.monitoring-v552 .monitoring-cards>div{border:1px solid #e2d5c5;background:#fff8e9;border-radius:8px;padding:12px 8px;min-height:72px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;box-sizing:border-box;gap:5px}
.monitoring-v552 .monitoring-cards span{font-size:12px;font-weight:650;letter-spacing:.025em;line-height:1.3}
.monitoring-v552 .monitoring-cards strong{font-size:25px;line-height:1.1;color:#78152d;font-variant-numeric:tabular-nums}
.monitoring-v552 .monitoring-progress{margin-top:16px;padding-top:14px;border-top:1px solid #e4d9ca}
.monitoring-v552 .monitoring-progress h4{margin:0 0 6px;font-size:15px;color:#78152d}
.monitoring-v552 .monitoring-progress p{margin:0 0 6px;font-size:13px}
.monitoring-v552 .monitoring-progress progress{height:10px;margin:0;display:block;width:100%;accent-color:#78152d}
.monitoring-v552 .monitoring-table-scroll{overflow-x:auto;max-width:100%;border:1px solid #eee4d7;border-radius:7px}
.monitoring-v552 table{width:100%;table-layout:fixed;border-collapse:collapse;margin:0;min-width:0}
.monitoring-v552 table th,.monitoring-v552 table td{box-sizing:border-box;width:auto;min-width:0;max-width:none;height:auto;min-height:0;padding:10px 5px!important;line-height:1.4;font-size:12px;text-align:center;vertical-align:middle;white-space:normal;overflow-wrap:normal;word-break:normal;border-bottom:1px solid #e4d9ca}
.monitoring-v552 table th{font-weight:700;background:#f8f2e8;color:#78152d}
.monitoring-v552 table tbody tr:last-child td{border-bottom:0}
.monitoring-v552 table tbody tr:nth-child(even){background:#fdfaf5}
.monitoring-v552 table tbody tr:hover{background:#fff8e9}
.monitoring-v552 .monitoring-summary-v552{min-width:900px}
.monitoring-v552 .monitoring-summary-v552 td:first-child,.monitoring-v552 .monitoring-summary-v552 th:first-child{padding-left:12px!important;padding-right:12px!important}
.monitoring-v552 .monitoring-register-v552{min-width:940px}
.monitoring-v552 .monitoring-register-v552 td:nth-child(2),.monitoring-v552 .monitoring-register-v552 td:nth-child(3),.monitoring-v552 .monitoring-register-v552 td:nth-child(6){overflow-wrap:anywhere}
.monitoring-v552 .monitoring-register-v552 td:nth-child(1),.monitoring-v552 .monitoring-register-v552 td:nth-child(7){white-space:nowrap;font-size:11px}
.monitoring-v552 .monitoring-register-v552 .assessment-secondary{font-size:11px;padding:7px 5px;white-space:normal;line-height:1.3;width:100%;box-sizing:border-box}
.monitoring-v552 .monitoring-detail{border:1px solid #e4d9ca;border-radius:7px;margin:8px 0;background:#fff}
.monitoring-v552 .monitoring-detail summary{cursor:pointer;color:#78152d;font-size:14px;font-weight:650;padding:11px 13px;background:#fbf7ef;border-radius:7px}
.monitoring-v552 .monitoring-detail summary .monitoring-count{float:right;min-width:24px;text-align:center;color:#78152d;font-variant-numeric:tabular-nums}
.monitoring-v552 .monitoring-detail .monitoring-table-scroll{margin:10px}
.monitoring-v552 .monitoring-empty{font-size:13px;margin:12px;color:#594f53}
.monitoring-v552 summary:focus-visible,.monitoring-v552 .monitoring-table-scroll:focus-visible{outline:2px solid #d4a437;outline-offset:2px}
@media(max-width:720px){.monitoring-v552 .monitoring-section{padding:12px}.monitoring-v552 .monitoring-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.monitoring-v552 .monitoring-filters{grid-template-columns:1fr}.monitoring-v552 .monitoring-filters label:nth-child(n){grid-column:1}}
@media(max-width:390px){.monitoring-v552 .monitoring-cards{grid-template-columns:1fr}}

/* V5.53 — readable, five-column monitoring register; scope excludes Unit Assessments. */
.monitoring-v552 .monitoring-register-v553{min-width:670px}
.monitoring-v552 .monitoring-register-v553 th,.monitoring-v552 .monitoring-register-v553 td{font-size:13px;padding:13px 9px!important;line-height:1.5;overflow-wrap:break-word}
.monitoring-v552 .monitoring-register-v553 th:nth-child(2),.monitoring-v552 .monitoring-register-v553 th:nth-child(3),.monitoring-v552 .monitoring-register-v553 td:nth-child(2),.monitoring-v552 .monitoring-register-v553 td:nth-child(3){text-align:left}
.monitoring-v552 .monitoring-stack{display:grid;gap:4px;min-width:0}
.monitoring-v552 .monitoring-primary{font-weight:650;color:#33232a}
.monitoring-v552 .monitoring-secondary{font-size:12px;color:#62565a}
.monitoring-v552 .monitoring-status-v553{font-size:12px;font-weight:600;color:#78152d}
.monitoring-v552 .monitoring-register-v553 .assessment-secondary{font-size:12px;padding:7px 9px;white-space:nowrap}

.student-identity-v554{display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;overflow-wrap:anywhere;line-height:1.35}.student-identity-v554 strong{color:#78152d;font-weight:650;font-size:1em}.student-identity-v554 small{color:#62575a;font-size:.86em;line-height:1.3}
/* V5.55 compact registry and reusable profile */
.v555-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:12px 0}.v555-controls label{flex:0 1 200px}.v555-controls select{width:100%}.v555-table{width:100%;border-collapse:collapse;table-layout:auto}.v555-table th,.v555-table td{padding:12px 10px;text-align:center;vertical-align:middle;border-bottom:1px solid #e5d8c8;overflow-wrap:normal}.v555-table th{background:#f7f1e7;color:#78152d;height:auto}.v555-table td:first-child{text-align:left}.v555-name-link{border:0!important;background:transparent!important;color:#78152d!important;padding:0!important;text-decoration:underline;font:inherit;font-weight:700;cursor:pointer;text-align:left;min-height:0!important;box-shadow:none!important}.v555-name-link:focus-visible{outline:2px solid #b38a30;outline-offset:3px}.v555-profile{display:grid;gap:18px}.v555-profile>button{justify-self:start}.v555-profile-header,.v555-profile-panel{border:1px solid #e3d4c3;border-radius:10px;padding:20px;background:#fff}.v555-profile-header{background:#fff8e9}.v555-profile-header h2{margin:0;color:#78152d}.v555-profile-tabs{display:flex;flex-wrap:wrap;gap:8px}.v555-profile-tabs button{background:#fff8e9;color:#78152d;border:1px solid #e3d4c3;border-radius:6px;padding:10px 14px}.v555-profile-tabs button.active{background:#78152d;color:white}.v555-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.v555-fields>div{display:grid;gap:5px;padding:12px;border:1px solid #e3d4c3;border-radius:6px;overflow-wrap:anywhere}.v555-fields strong{color:#78152d}.v555-profile-panel{overflow:auto}.v555-profile-panel h3{margin-top:0}

/* V5.56: registry controls and consistent centered student profile fields. */
.v555-controls label{flex:0 1 280px;min-width:0;display:flex;flex-direction:column;gap:7px}
.v555-controls select{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:10px 14px;border:1px solid #cfc6c8;border-radius:8px;background:#fff;color:#33232a;font:inherit;font-size:15px}
.v555-controls select:focus-visible{outline:2px solid #b38a30;outline-offset:2px}
.v555-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-items:stretch}
.v555-fields>div{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:100px;padding:16px;background:#fff8e9;box-sizing:border-box}
.v555-fields strong{font-size:12px;text-transform:uppercase;line-height:1.4;text-align:center}
.v555-fields span{font-size:15px;text-align:center;line-height:1.5;max-width:100%}
.v555-profile-panel .v555-table th,.v555-profile-panel .v555-table td{text-align:center;vertical-align:middle}
@media(max-width:620px){.v555-controls label{flex:1 1 220px}}

.v557-profile-section{border:1px solid #e3d4c3;border-radius:8px;padding:14px;margin:14px 0;background:#fff}.v557-table-wrap{overflow-x:auto}.v557-profile-section h3{margin:0 0 12px}.v557-profile-section .v555-table td{text-align:center}.v557-profile-section p{margin:8px 0}
/* V5.58 admissions master-detail: compact summary, detailed reasons only on demand. */
.v558-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 20px}.v558-metric{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:88px;border:1px solid #e3d4c3;border-radius:8px;background:#fff8e9;color:#78152d;padding:12px;text-align:center;cursor:pointer}.v558-metric strong{font-size:12px;text-transform:uppercase;line-height:1.4}.v558-metric span{font-size:25px;font-weight:750;line-height:1.25}.v558-metric:focus-visible{outline:2px solid #b38a30}.v558-search{margin:16px 0 8px;max-width:650px}.v558-search input{display:block;width:100%;min-height:48px;margin-top:6px;border-radius:8px;padding:10px 14px}.v558-admissions .v555-table{table-layout:fixed}.v558-admissions .v555-table th:first-child{width:28%}.v558-admissions .v555-table th:nth-child(2){width:32%}.v558-admissions .v555-table td{overflow-wrap:break-word}.v558-admissions .v555-table td:first-child small{display:inline-block;margin-top:4px}.v558-status{font-weight:650;color:#78152d}.v558-status[data-status="APPROVED"]{color:#28754a}.v558-status[data-status="REJECTED"]{color:#9b2637}.v558-status[data-status="DEFERRED"],.v558-status[data-status^="AWAITING"]{color:#805410}.v558-narrative{border:1px solid #e3d4c3;border-radius:8px;padding:14px 18px;margin-top:12px;background:white}.v558-narrative strong{display:block;text-align:center;color:#78152d;text-transform:uppercase;font-size:12px}.v558-narrative p{text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0}.v558-action{display:grid;gap:12px;margin-top:14px}.v558-action label{display:grid;gap:6px}.v558-action select{min-height:48px;padding:10px;border:1px solid #cfc6c8;border-radius:8px;width:100%}.v558-action textarea{width:100%}.v558-action button{justify-self:start}.v558-detail-card{margin-bottom:14px}@media(max-width:650px){.v558-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v558-admissions .v555-table{min-width:620px}}

/* V5.58.1: prominent record identity at decision point */
.v5581-action-identity {font-weight:700;color:#800020;background:#fff8e9;border:1px solid #e3d5c2;border-radius:6px;padding:12px;overflow-wrap:anywhere;}

.v559-identity h2{font-size:clamp(1.6rem,3vw,2rem);margin:0 0 5px}.v559-identity p{margin:6px 0}.v559-identity hr{border:0;border-top:1px solid #e3d4c3;margin:14px 0}.v559-reference{font-size:.88rem;color:#746761}.v559-status{font-weight:600;color:#78152d}.v559-actions{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.v555-controls input[type=search]{min-height:44px;flex:1 1 260px}.v555-controls select{min-height:44px;padding:10px 12px}
.v564-section{border:1px solid #e0d2be;border-radius:8px;padding:14px;margin:12px 0;background:#fffdf8}.v564-section summary{font-weight:700;color:#800020;cursor:pointer}.v564-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(220px,3fr);gap:12px;border-bottom:1px solid #e0d2be;padding:12px 0}.v564-row label{display:flex;flex-direction:column;gap:6px}.v564-row textarea{min-height:80px;width:100%}.v564-section input,.v564-section textarea{max-width:100%}.v564-section button{margin:8px 0}.v564-row button{justify-self:start}@media(max-width:650px){.v564-row{grid-template-columns:1fr}}

/* V5.66 scoring: use the approved compact academic profile design. */
.v566-scoring { margin: 1.2rem 0; padding: 1rem; border: 1px solid #d4a437; border-radius: 8px; background: #fffaf0; color: #391321; }
.v566-scoring > section,.v566-scoring details {margin: .8rem 0; padding: .8rem; border: 1px solid #e4d5b8; border-radius: 6px; background: #fff;}
.v566-scoring summary {cursor:pointer;font-weight:600;color:#641f37;}
.v566-scoring label:not(.v566-check) {display:flex;flex-direction:column;gap:.3rem;margin:.5rem 0;}
.v566-scoring .v566-check {display:flex;align-items:flex-start;gap:.5rem;padding:.45rem 0;line-height:1.4;}
.v566-scoring .v566-check input {width:auto;min-width:0;margin-top:.2rem;flex-shrink:0;}
.v566-result-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.6rem;margin:.7rem 0;}
.v566-result-cards > div {border:1px solid #d4a437;background:#fff8e9;padding:.7rem;border-radius:6px;display:flex;flex-direction:column;align-items:center;gap:.35rem;text-align:center;}
.v566-result-cards strong{font-size:.75rem;}.v566-result-cards span{font-size:1rem;font-weight:600;}
.v566-band {display:flex;align-items:end;gap:.5rem;flex-wrap:wrap;}.v566-band label{flex:1 1 140px;}.v566-observation{border-bottom:1px solid #e4d5b8;padding:.65rem 0;}
.v566-scoring td input[type=number]{width:100%;min-width:75px;max-width:150px;}.v566-scoring button{margin:.35rem .35rem .35rem 0;}.v566-scoring textarea{width:100%;}
