/* ESDE 15.10.314. Scoped fixes: adaptive academic tables and user-only visual trajectory labels. */
html body .esde-cert244 .esde314-visual-selector{display:grid;gap:2px;align-items:center;font:700 9px/1.2 Montserrat,Poppins,sans-serif!important;color:#17232D!important;max-width:215px;flex:1 1 140px;}
html body .esde-cert244 .esde314-visual-selector select{width:100%;min-width:0!important;max-width:100%;min-height:31px!important;height:auto!important;border:1px solid #A8B5BF!important;border-radius:8px!important;background:#fff!important;color:#17232D!important;font:700 10px/1.4 Montserrat,Poppins,sans-serif!important;padding:5px!important;}
html body .esde-cert244 :is(.esde314-hide-toggle,.esde314-archive-program,.esde314-show-hidden){min-height:31px!important;border:1px solid #849DAA!important;border-radius:8px!important;background:#fff!important;color:#17232D!important;font:700 10px/1.3 Montserrat,Poppins,sans-serif!important;padding:6px 8px!important;cursor:pointer;}
html body .esde-cert244 .esde314-archive-program{border-color:#B86161!important;color:#8B1E24!important;}
html body .esde-cert244 .esde314-show-hidden{white-space:nowrap;margin-left:auto!important;align-self:center!important;}
html body .esde-cert244 .esde-cert251-profile.esde314-user-hidden{display:none!important;}
html body .esde-cert244 .esde-cert237-list.esde314-showing-hidden .esde-cert251-profile.esde314-user-hidden{display:block!important;opacity:.87;}
html body .esde-cert244 .esde-cert251-profile > summary.esde-cert251-profile-summary[data-esde314-visual-label="programacion"],
html body .esde-cert244 .esde-cert251-profile[open] > summary.esde-cert251-profile-summary[data-esde314-visual-label="programacion"]{background:#D5F366!important;border-color:#A0BC36!important;color:#171D0D!important;}
html body .esde-cert244 .esde-cert251-profile > summary.esde-cert251-profile-summary[data-esde314-visual-label="desarrollo"],
html body .esde-cert244 .esde-cert251-profile[open] > summary.esde-cert251-profile-summary[data-esde314-visual-label="desarrollo"]{background:#FFDA4B!important;border-color:#E2B92D!important;color:#17232D!important;}
html body .esde-cert244 .esde-cert251-profile > summary.esde-cert251-profile-summary[data-esde314-visual-label="observacion"],
html body .esde-cert244 .esde-cert251-profile[open] > summary.esde-cert251-profile-summary[data-esde314-visual-label="observacion"]{background:#B91C34!important;border-color:#901327!important;color:#fff!important;}
html body .esde-cert244 .esde-cert251-profile > summary.esde-cert251-profile-summary[data-esde314-visual-label="coordinacion"],
html body .esde-cert244 .esde-cert251-profile[open] > summary.esde-cert251-profile-summary[data-esde314-visual-label="coordinacion"]{background:#6ADDDC!important;border-color:#18A1A6!important;color:#17232D!important;}
html body .esde-cert244 .esde-cert251-profile > summary.esde-cert251-profile-summary[data-esde314-visual-label="observacion"] :is(.esde-cert251-participant-name,.esde-cert251-program-title,.esde-cert243-participant-label,.esde-cert243-participant-login,.esde-cert243-participant-role){color:#fff!important;}
html body .esde-cert244 .esde-cert251-profile > summary.esde-cert251-profile-summary[data-esde314-visual-label="observacion"] .esde-cert251-profile-chevron{color:#152A34!important;background:#fff!important;}
html body .esde-cert244 .esde-cert251-profile-summary .esde314-visual-selector{color:inherit!important;}
html body .esde-cert244 .esde-cert311-summary-actions{gap:5px!important;}

/* Tabulación: exactly six columns. Metadata kept within the first/third cells. No horizontal scroll on desktop. */
html body .esde-cert244[data-esde-theme] .esde-cert256-table-wrap{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:visible!important;overflow-y:visible!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table-wrap table.esde-cert256-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;font-size:11px!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table th:nth-child(1){width:18%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table th:nth-child(2){width:11%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table th:nth-child(3){width:15%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table th:nth-child(4){width:22%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table th:nth-child(5){width:14%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table th:nth-child(6){width:20%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table thead th{padding:9px 6px!important;font-size:10px!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table tbody td{padding:10px 6px!important;font-size:11px!important;overflow-wrap:anywhere!important;vertical-align:middle!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table tbody td small{display:block!important;font:500 10px/1.35 Poppins,sans-serif!important;color:#557083!important;margin-top:3px!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table .esde-cert276-score-form{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table .esde-cert276-score-form input[type=number]{width:60px!important;flex:0 0 60px!important;height:32px!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table :is([data-esde270-save-score],.esde-cert259-publish-button){min-height:32px!important;padding:6px!important;font-size:10px!important;}
html body .esde-cert244[data-esde-theme] .esde-cert256-table .esde-cert259-activity-totals :is(th,td){padding:10px 8px!important;}

/* Historias ocupan toda la superficie del contenedor, sin tabla parcial ni espacio muerto. */
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:visible!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table th:nth-child(1){width:13%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table th:nth-child(2){width:14%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table th:nth-child(3){width:25%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table th:nth-child(4){width:11%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table th:nth-child(5){width:20%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table th:nth-child(6){width:17%!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table :is(td,th){white-space:normal!important;overflow-wrap:anywhere!important;padding:9px 8px!important;color:#223C50!important;}
html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table thead th{background:#E7F8FC!important;color:#16384C!important;}

/* Explicit non-destructive AJAX creation feedback */
html body .esde-cert244 .esde314-create-message{margin-top:10px!important;padding:10px 12px!important;background:#E7F8FC!important;border:1px solid #B6E3EC!important;color:#173B50!important;border-radius:8px!important;font:600 12px/1.5 Poppins,sans-serif!important;}
html body .esde-cert244 .esde314-create-message[data-kind="error"]{background:#FFF1F1!important;border-color:#E0ABAB!important;color:#8B232C!important;}
@media(max-width:780px){
 html body .esde-cert244[data-esde-theme] .esde-cert256-table-wrap,
 html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals{overflow-x:auto!important;}
 html body .esde-cert244[data-esde-theme] .esde-cert256-table-wrap table.esde-cert256-table{min-width:730px!important;}
 html body .esde-cert244[data-esde-theme] .esde-cert237-evals.esde-cert238-evals table{min-width:620px!important;}
}
