.curr-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}.curr-toolbar label{flex:1;min-width:200px}.curr-tabs{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:12px}.curr-tabs [aria-selected=true]{background:var(--green);color:white}.curr-scroll{overflow:auto;max-height:60vh;margin:18px 0}.curr-scroll table{width:100%;border-collapse:collapse;min-width:850px}.curr-scroll th{position:sticky;top:0;background:var(--ui-soft, #eef2ff);z-index:1}.curr-scroll td,.curr-scroll th{padding:10px;border-bottom:1px solid var(--line);vertical-align:top}#cuItemsTable{min-width:1570px}#cuItemsTable td:first-child input{width:270px}#cuItemsTable td:nth-child(2) input{width:110px}#cuItemsTable td:nth-child(3) input{width:150px}#cuItemsTable input[type=number]{width:95px}.curr-scroll input[type=checkbox]{width:18px;min-width:18px;max-width:18px;height:18px}.curr-scroll td:last-child{white-space:nowrap}#cuEditor{border:1px solid var(--line);border-radius:14px;padding:20px;margin-top:20px}#cuEditor legend{font-weight:800;padding:0 10px}.curr-proposals{padding:15px;background:var(--ui-soft, #eef2ff);border-radius:12px;margin-top:16px}.curr-sources{margin:16px 0}.curr-warning{padding:12px;border-radius:10px;background:#fff6d8;color:#725700}#cuApplyProposal article{padding:14px;border:1px solid var(--line);border-radius:10px;margin:12px 0}#curriculumView label{display:grid;gap:7px;margin:12px 0}#curriculumView input,#curriculumView textarea,#curriculumView select{max-width:100%;box-sizing:border-box}#curriculumView textarea{width:100%}#curriculumView [hidden]{display:none!important}.curr-file{font-size:13px}#cuStatus{white-space:pre-line}#cuCourseDetail{margin-top:24px}#cuItemsTable button{padding:6px;margin:2px}@media(max-width:720px){#cuEditor{padding:10px}.curr-tabs button{flex:1}.curr-toolbar>*{width:100%}}

#cuEditor,#cuForm{min-width:0}#curriculumView .curr-scroll{max-width:100%;min-width:0}#curriculumView .curr-tabs button[aria-selected="true"]{background:var(--green);color:#fff}#curriculumView .attendance-fields>*{min-width:0}#curriculumView .curr-toolbar{min-width:0}#curriculumView .curr-toolbar label{min-width:180px}#curriculumView .curr-proposals{min-width:0}#cuCoursesPanel>.curr-scroll{max-height:72vh}
.cc-group{margin:22px 0}.cc-group h4{padding:12px 16px;background:var(--ui-soft, #eef2ff);border-radius:10px;color:var(--ui-accent, #315BCB)}.cc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.cc-card{display:flex;flex-direction:column;align-items:start;text-align:left;gap:8px;padding:18px!important;border:1px solid var(--line);border-radius:12px;background:white}.cc-card span,.cc-card small{font-weight:400;line-height:1.5}.cc-card span{color:var(--ui-accent, #315BCB)}.cc-card:hover{background:var(--ui-soft, #eef2ff)}.cc-card small{font-size:11px;color:#63738b}.cc-dual{display:grid;grid-template-columns:minmax(200px,1fr) minmax(300px,2fr);gap:24px;margin:20px 0}.cc-dual>section{min-width:0}#ccAvailable{width:100%;min-height:250px;margin-bottom:12px}.cc-subject{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.cc-subject small{display:block;color:#66758b;margin-top:6px}.cc-actions{display:flex;flex-wrap:wrap;gap:5px;flex-shrink:0}.cc-actions button{padding:6px 9px!important}#ccAssigned{max-height:60vh;overflow:auto;border:1px solid var(--line);border-radius:12px}.cc-check{display:flex!important;align-items:center;gap:10px!important}.cc-check input{width:18px!important;height:18px}.cc-dual p{font-size:12px;color:#66758b}#ccFields{border:0;padding:0;min-width:0}#ccEditor{border-top:1px solid var(--line);margin-top:20px;min-width:0}#ccCatalog{margin-top:24px}#ccItemDialog{max-width:530px;width:90%;border:1px solid var(--line);border-radius:16px;padding:24px}#ccItemDialog::backdrop{background:#102a3e80}#ccStatus{white-space:pre-line}#ccExtraResults{width:100%}@media(max-width:760px){.cc-dual{grid-template-columns:1fr}.cc-subject{align-items:start;flex-direction:column}.cc-cards{grid-template-columns:1fr}.curr-toolbar label{min-width:0!important}}

.cp-dual{display:grid;grid-template-columns:minmax(200px,1fr) 190px minmax(200px,1fr);gap:18px;align-items:center}.cp-dual select{width:100%;height:360px;font-size:13px}.cp-actions{display:grid;gap:10px}#cpContent>label{display:grid;gap:8px}#cpReason{width:100%}#ccItemDialog{max-height:88vh;overflow:auto}#ccItemDialog form{display:grid;gap:8px}#ccItemDialog label{margin:4px 0}#ccItemDialog .cc-check{display:flex;gap:8px;align-items:center}@media(max-width:850px){.cp-dual{grid-template-columns:1fr}.cp-actions{grid-template-columns:1fr 1fr}}

#ccItemDialog input:not([type=checkbox]),#ccItemDialog select{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--ui-border, #d5deeb);border-radius:8px;font:inherit}#ccItemDialog .cc-check input{width:18px;height:18px;flex:none}#ccItemDialog button{padding:10px 16px;border:1px solid var(--ui-border, #d5deeb);border-radius:8px;background:white;color:var(--ui-accent, #315BCB);font:inherit}#ccItemDialog button.primary{background:var(--ui-accent, #315BCB);color:white}
