
.edivc-app{font-family:Montserrat,Arial,sans-serif;max-width:1100px;margin:32px auto;padding:26px;border:1px solid #dce5ef;border-radius:18px;background:#fff;color:#192840;box-shadow:0 12px 36px rgba(14,39,72,.06)}.edivc-head{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e6ebf1;padding-bottom:16px;margin-bottom:20px}.edivc-head small{font-weight:800;letter-spacing:.1em;color:#ef8a1b}.edivc-head h2{margin:6px 0;font-size:27px;color:#152d4c}.edivc-head p{margin:0;color:#667589}.edivc-head span{font-size:12px;background:#eaf0f7;border-radius:20px;padding:9px 12px}.edivc-app label{display:block;font-size:13px;font-weight:700;margin:12px 0;color:#34465c}.edivc-app input,.edivc-app select,.edivc-app textarea{display:block;width:100%;min-height:42px;margin-top:6px;border:1px solid #cdd9e6;border-radius:8px;padding:10px;font:inherit;font-weight:400;background:#fff;color:#192840;box-sizing:border-box}.edivc-app button{background:#173c63;color:white;border:0;border-radius:8px;padding:11px 15px;margin:6px 7px 6px 0;cursor:pointer;font-weight:700}.edivc-app button:hover{background:#245782}.edivc-app button:disabled{opacity:.5;cursor:not-allowed}.edivc-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid #dce5ef;padding-bottom:10px;margin-bottom:16px}.edivc-tabs button{background:#edf2f7;color:#233d58}.edivc-tabs button.active{background:#f29124;color:#172b42}.edivc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.edivc-app section h3{margin:20px 0 10px;color:#152d4c}.edivc-app section h4{margin:22px 0 8px}.edivc-hint{font-size:12px;color:#6c7888}.edivc-entry{border:1px solid #e0e7f0;border-radius:10px;padding:13px;margin:9px 0;background:#f9fbfd}.edivc-entry strong{display:block}.edivc-entry small{color:#657589}.edivc-entry select{max-width:260px}.edivc-entry button{font-size:12px;padding:8px 12px}.edivc-app #edivc-message{font-size:13px;font-weight:600;color:#a94b16}.edivc-report-page{padding:18px;border:1px solid #dce5ef;margin-top:15px}.edivc-report-page table{width:100%;border-collapse:collapse;font-size:13px}.edivc-report-page td,.edivc-report-page th{padding:8px;border-bottom:1px solid #ddd;text-align:left}.edivc-app [hidden]{display:none!important}@media(max-width:650px){.edivc-app{padding:15px}.edivc-head{display:block}.edivc-head span{display:inline-block;margin-top:10px}}@media print{body *{visibility:hidden!important}#edivc-report,#edivc-report *{visibility:visible!important}#edivc-report{position:absolute;top:0;left:0;width:100%;color:black!important}.edivc-report-page{border:0}}

/* EDIV visual refresh — loaded as a real stylesheet outside Avada's code block */
#edivc-app.edivc-app{max-width:1120px!important;margin:24px auto!important;padding:clamp(18px,3vw,36px)!important;border:1px solid #dfe6ee!important;border-radius:22px!important;background:#fff!important;color:#1a2d47!important;box-shadow:0 16px 50px rgba(19,42,71,.07)!important;font-family:Montserrat,Arial,sans-serif!important;font-size:15px!important;line-height:1.55!important}
#edivc-app *{box-sizing:border-box}
#edivc-app .edivc-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;padding:0 0 24px!important;margin:0 0 25px!important;border-bottom:1px solid #e5ebf1!important}
#edivc-app .edivc-head small{display:block!important;font-size:11px!important;letter-spacing:.14em!important;text-transform:uppercase!important;font-weight:800!important;color:#e88314!important}
#edivc-app .edivc-head h2{font-family:Montserrat,Arial,sans-serif!important;font-size:clamp(25px,3vw,34px)!important;line-height:1.2!important;font-weight:800!important;color:#142b48!important;margin:7px 0 8px!important}
#edivc-app .edivc-head p{font-size:14px!important;color:#687b90!important;margin:0!important}
#edivc-app #edivc-identity{display:inline-block!important;background:#eff4fa!important;border:1px solid #e0e9f2!important;border-radius:50px!important;padding:10px 15px!important;color:#284666!important;font-size:12px!important;font-weight:700!important;white-space:normal!important}
#edivc-app .edivc-tabs{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin:0 0 26px!important;padding:0 0 19px!important;border-bottom:1px solid #e5ebf1!important}
#edivc-app button{font-family:Montserrat,Arial,sans-serif!important;font-size:13px!important;line-height:1.3!important;font-weight:750!important;letter-spacing:0!important;text-transform:none!important;background:#173e65!important;color:#fff!important;border:1px solid #173e65!important;border-radius:11px!important;padding:12px 17px!important;margin:7px 8px 7px 0!important;min-height:44px!important;box-shadow:none!important;cursor:pointer!important;transition:background .15s ease,transform .15s ease!important}
#edivc-app button:hover{background:#245b8d!important;border-color:#245b8d!important;transform:translateY(-1px)!important}
#edivc-app button:focus-visible,#edivc-app input:focus-visible,#edivc-app select:focus-visible,#edivc-app textarea:focus-visible{outline:3px solid rgba(255,148,24,.35)!important;outline-offset:2px!important}
#edivc-app .edivc-tabs button{background:#f2f5f9!important;color:#2c4663!important;border-color:#e2eaf2!important;border-radius:12px!important;padding:12px 15px!important;margin:0!important}
#edivc-app .edivc-tabs button.active{background:#ff9418!important;border-color:#ff9418!important;color:#172c47!important}
#edivc-app #edivc-exit{margin-left:auto!important;background:#fff!important;color:#53677e!important;border-color:#dbe4ed!important}
#edivc-app section[data-panel]{padding:24px!important;border:1px solid #e5ebf1!important;border-radius:18px!important;background:#fbfcfe!important}
#edivc-app section h3{font-family:Montserrat,Arial,sans-serif!important;font-size:22px!important;font-weight:800!important;line-height:1.3!important;margin:0 0 20px!important;color:#173252!important}
#edivc-app section h4{font-family:Montserrat,Arial,sans-serif!important;font-size:16px!important;font-weight:750!important;margin:25px 0 12px!important;color:#173252!important}
#edivc-app label{display:block!important;font-family:Montserrat,Arial,sans-serif!important;font-size:12px!important;font-weight:750!important;color:#3d5067!important;margin:14px 0!important;line-height:1.5!important}
#edivc-app input,#edivc-app select,#edivc-app textarea{display:block!important;width:100%!important;max-width:100%!important;min-height:46px!important;margin:7px 0 0!important;padding:11px 13px!important;border:1px solid #cbd8e6!important;border-radius:10px!important;background:#fff!important;color:#1c334f!important;font-family:Montserrat,Arial,sans-serif!important;font-size:14px!important;font-weight:500!important;line-height:1.4!important;box-shadow:none!important;appearance:auto!important}
#edivc-app textarea{min-height:100px!important;resize:vertical!important}
#edivc-app .edivc-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important;gap:12px 20px!important;align-items:end!important}
#edivc-app .edivc-hint{display:block!important;padding:12px 15px!important;border-left:3px solid #ff9418!important;border-radius:0 9px 9px 0!important;background:#fff6eb!important;color:#6e5b46!important;font-size:12px!important;line-height:1.6!important;margin:16px 0!important}
#edivc-app .edivc-entry{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 16px!important;margin:10px 0!important;padding:15px 18px!important;border:1px solid #e1e9f2!important;border-radius:13px!important;background:#fff!important}
#edivc-app .edivc-entry strong{display:block!important;flex-basis:100%!important;color:#1b3552!important;font-size:14px!important;font-weight:800!important}
#edivc-app .edivc-entry small{display:block!important;color:#6a7c8f!important;font-size:12px!important}
#edivc-app .edivc-entry select{width:auto!important;min-width:180px!important;max-width:100%!important;margin:0!important}
#edivc-app .edivc-entry button{margin:0!important;font-size:12px!important;min-height:39px!important;padding:9px 13px!important}
#edivc-app #edivc-login{max-width:470px!important;margin:30px auto!important;padding:28px!important;border:1px solid #e4eaf2!important;border-radius:18px!important;background:#f9fbfe!important}
#edivc-app #edivc-login #edivc-enter{width:100%!important;margin:9px 0!important;background:#ff9418!important;border-color:#ff9418!important;color:#172c47!important}
#edivc-app #edivc-message{font-size:13px!important;font-weight:650!important;color:#8b531a!important;margin:18px 0 0!important}
#edivc-app .edivc-report-page{background:white!important;border:1px solid #dfe7ef!important;border-radius:13px!important;padding:24px!important;margin:20px 0 0!important;overflow-x:auto!important}
#edivc-app .edivc-report-page table{width:100%!important;border-collapse:collapse!important;font-size:12px!important}
#edivc-app .edivc-report-page th,#edivc-app .edivc-report-page td{padding:12px!important;border-bottom:1px solid #e6ebf2!important;text-align:left!important}
#edivc-app .edivc-report-page th{background:#eff4f9!important;color:#213d59!important}
#edivc-app [hidden]{display:none!important}
@media(max-width:700px){#edivc-app.edivc-app{padding:16px!important}#edivc-app .edivc-head{display:block!important}#edivc-app #edivc-identity{margin-top:15px!important}#edivc-app section[data-panel]{padding:16px!important}#edivc-app .edivc-tabs button{flex:1 1 auto!important}#edivc-app #edivc-exit{margin-left:0!important}#edivc-app .edivc-entry{display:block!important}#edivc-app .edivc-entry select{width:100%!important;margin:10px 0!important}}
@media print{#edivc-app .edivc-report-page{border:0!important;padding:0!important}#edivc-app .edivc-report-page table{font-size:10px!important}}

/* EDIV 0.1.5: pasar lista con una única acción */
#edivc-app .edivc-att-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 10px}#edivc-app .edivc-att-head h4{margin:0}#edivc-app .edivc-att-head span{font-size:13px;color:#64748b}#edivc-app .edivc-att-rows{border:1px solid #e3e8f0;border-radius:14px;overflow:hidden;background:#fff}#edivc-app .edivc-att-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px;margin:0;border-bottom:1px solid #edf0f5;cursor:pointer}#edivc-app .edivc-att-row:last-child{border-bottom:0}#edivc-app .edivc-att-row:hover{background:#f8fafc}#edivc-app .edivc-att-name{display:flex;flex-direction:column;gap:3px}#edivc-app .edivc-att-name strong{font-size:14px;color:#1a2941}#edivc-app .edivc-att-name small{font-size:12px;color:#6b7789}#edivc-app .edivc-att-check{display:inline-flex;align-items:center;gap:9px;color:#9b3b36;font-weight:700;font-size:13px}#edivc-app .edivc-att-check input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:20px;height:20px;margin:0;accent-color:#d4554b;cursor:pointer}#edivc-app .edivc-save-all{display:block;width:100%;margin:18px 0 8px;padding:15px 20px;background:#17365d;color:white;border-radius:10px;font-size:15px;font-weight:800;cursor:pointer}#edivc-app .edivc-save-all:disabled{opacity:.6;cursor:wait}

/* 0.1.6: dos columnas en la lista de asistencia en PC */
@media (min-width: 900px) {
 #edivc-app .edivc-att-rows {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
 #edivc-app .edivc-att-row {min-width:0!important;border-bottom:1px solid #edf0f5!important}
 #edivc-app .edivc-att-row:nth-child(odd) {border-right:1px solid #edf0f5!important}
 #edivc-app .edivc-att-name {min-width:0!important}
 #edivc-app .edivc-att-name strong {overflow-wrap:anywhere!important}
}
@media (max-width:899px) {#edivc-app .edivc-att-rows {display:block!important}}

/* 0.1.9: formulario de edición de deportista visible y ordenado */
#edivc-app #edivc-athlete-edit:not([hidden]){display:block!important;background:#fff8ef!important;border:2px solid #f29124!important;padding:20px!important;margin-top:18px!important}
#edivc-app #edivc-athlete-edit label{display:block!important;width:100%!important}
#edivc-app #edivc-athlete-edit select{width:100%!important;max-width:none!important}

/* v0.2.0: edición desplegable dentro de la tarjeta */
#edivc-app .edivc-athlete-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
#edivc-app .edivc-athlete-summary>div{flex:1;min-width:170px}
#edivc-app .edivc-athlete-inline:not([hidden]){display:block;margin-top:15px;padding-top:15px;border-top:1px solid #e5eaf0}
#edivc-app .edivc-inline-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
#edivc-app .edivc-athlete-inline input,#edivc-app .edivc-athlete-inline select{width:100%;max-width:100%}

/* v0.2.1 */
#edivc-app .edivc-actions{display:inline-flex;gap:8px;flex-wrap:wrap;align-items:center}
#edivc-app button.edivc-danger{background:#fff2f1!important;color:#aa2929!important;border:1px solid #e9b4b0!important}
#edivc-app button.edivc-danger:hover{background:#ffe2df!important}

/* v0.2.8: botón de retirar incorporaciones puntuales */
#edivc-app .edivc-remove-extra{display:block!important;width:max-content!important;max-width:100%!important;margin:7px 0 0!important;padding:5px 10px!important;font-size:13px!important;line-height:1.35!important;background:#fff4f2!important;border:1px solid #e4b2ac!important;border-radius:7px!important;color:#9d2b27!important;cursor:pointer!important;box-shadow:none!important}
#edivc-app .edivc-remove-extra:hover{background:#ffe5e0!important}
#edivc-app .edivc-remove-extra:disabled{opacity:.5!important;cursor:wait!important}

.edivc-cal-stats{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.edivc-cal-stats span{background:#f0f5fa;padding:14px 18px;border-radius:12px;color:#183e66}.edivc-cal-stats strong{font-size:1.35em;display:block}.edivc-cal-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.edivc-cal-entry small{display:block}.edivc-app [data-panel=calendar] .edivc-grid{margin:16px 0}

/* 0.3.0 · Generador de calendario */
#edivc-app .edivc-cal-generator{margin:20px 0 28px;padding:22px;border:1px solid #dce6f1;border-radius:18px;background:#f6f9fd}
#edivc-app .edivc-gen-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
#edivc-app .edivc-gen-week{display:flex;align-items:center;gap:10px;padding:10px;background:white;border:1px solid #dce6f1;border-radius:10px;cursor:pointer}
#edivc-app .edivc-gen-week input{width:19px;height:19px;flex-shrink:0}
#edivc-app .edivc-gen-week small{display:block;color:#607086}
@media(max-width:700px){#edivc-app .edivc-gen-list{grid-template-columns:1fr}}

/* v0.3.1: calendario compacto mensual */
#edivc-app .edivc-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:16px 0}
#edivc-app .edivc-day-head{text-align:center;color:#667b91;font-weight:700;padding:7px}
#edivc-app .edivc-day{min-width:0;min-height:75px;padding:9px!important;border:1px solid #dce6f1!important;border-radius:10px!important;background:#fff!important;color:#193b5f!important;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;box-shadow:none!important;text-align:left}
#edivc-app .edivc-day.empty{border:0!important;background:transparent!important}
#edivc-app .edivc-day.has-events{background:#f3f7fc!important}
#edivc-app .edivc-day.selected{border:2px solid #ff9418!important;background:#fff7ed!important}
#edivc-app .edivc-day-number{font-weight:700}
#edivc-app .edivc-day-dots{display:flex;gap:4px;flex-wrap:wrap}
#edivc-app .edivc-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#275d8a;flex-shrink:0}
#edivc-app .edivc-dot.infantil{background:#ff9418}
#edivc-app .edivc-dot.competition{background:#8a59b6}
#edivc-app .edivc-dot.cancelled{background:#b5b5b5}
#edivc-app .edivc-cal-legend{display:flex;gap:14px;flex-wrap:wrap;color:#576b81;font-size:14px;margin:10px 0 22px}
#edivc-app .edivc-cal-legend span{display:flex;gap:6px;align-items:center}
#edivc-app .edivc-day-detail{border:1px solid #dce6f1;border-radius:14px;padding:16px;margin:14px 0 20px}
#edivc-app .edivc-day-detail:empty{display:none}
#edivc-app .edivc-cal-fold{border:1px solid #dce6f1;border-radius:14px;padding:12px 16px;margin:16px 0}
#edivc-app .edivc-cal-fold>summary{cursor:pointer;color:#193b5f;font-weight:700;padding:6px}
#edivc-app .edivc-cal-fold .edivc-cal-generator{border:0;background:transparent;margin:12px 0 0;padding:8px}
@media(max-width:650px){#edivc-app .edivc-month-grid{gap:2px}#edivc-app .edivc-day{min-height:53px;padding:5px!important}#edivc-app .edivc-dot{width:6px;height:6px}}

/* v0.3.3: edición compacta a ancho completo, sin grupo redundante */
#edivc-app .edivc-athlete-card{display:block!important;max-width:100%!important;min-width:0!important}
#edivc-app .edivc-athlete-inline:not([hidden]){display:block!important;width:100%!important;box-sizing:border-box!important;margin:12px 0 0!important;padding:16px 0 0!important}
#edivc-app .edivc-athlete-edit-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 14px!important;align-items:end!important;width:100%!important}
#edivc-app .edivc-athlete-edit-grid label{display:block!important;min-width:0!important;margin:0!important;font-size:13px!important}
#edivc-app .edivc-athlete-edit-grid .edivc-edit-name{grid-column:span 3!important}
#edivc-app .edivc-athlete-edit-grid input,#edivc-app .edivc-athlete-edit-grid select{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:42px!important;margin:5px 0 0!important;padding:8px 10px!important}
#edivc-app .edivc-athlete-inline .edivc-inline-actions{justify-content:flex-end!important;margin:10px 0 0!important}
@media(max-width:750px){#edivc-app .edivc-athlete-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#edivc-app .edivc-athlete-edit-grid .edivc-edit-name{grid-column:span 2!important}}
@media(max-width:480px){#edivc-app .edivc-athlete-edit-grid{grid-template-columns:minmax(0,1fr)!important}#edivc-app .edivc-athlete-edit-grid .edivc-edit-name{grid-column:span 1!important}}

/* 0.3.5: selector mensual y asistencia de tres estados */
#edivc-app .edivc-att-check .edivc-att-status{appearance:none;-webkit-appearance:none;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#f1f5f9!important;color:#17365d!important;font-size:13px!important;font-weight:700!important;min-width:145px;padding:9px 12px!important;line-height:1.3!important;cursor:pointer!important;box-shadow:none!important}
#edivc-app .edivc-att-check .edivc-att-status[data-status="absent"]{background:#fff0ef!important;border-color:#f3aaa6!important;color:#af2929!important}
#edivc-app .edivc-att-check .edivc-att-status[data-status="excused"]{background:#e9f8ef!important;border-color:#88d5a5!important;color:#176d3e!important}
#edivc-app .edivc-att-check .edivc-att-status:focus-visible{outline:3px solid #ff9418!important;outline-offset:2px}
@media(max-width:580px){#edivc-app .edivc-att-check .edivc-att-status{min-width:115px!important;font-size:12px!important;padding:8px!important}}

/* v0.3.8 · controles compactos de asistencia */
#edivc-app .edivc-att-check .edivc-att-status{min-width:0!important;width:43px!important;height:43px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:26px!important;line-height:1!important;border-radius:10px!important}
#edivc-app .edivc-att-check .edivc-att-status[data-status="present"]{background:#e9f7ef!important;border-color:#a6d9b9!important;color:#167345!important}
#edivc-app .edivc-att-check .edivc-att-status[data-status="absent"]{background:#fff0ef!important;border-color:#f3aaa6!important;color:#af2929!important}
#edivc-app .edivc-att-check .edivc-att-status[data-status="excused"]{background:#e9f8ef!important;border-color:#88d5a5!important;color:#176d3e!important}
#edivc-app .edivc-remove-extra{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;font-size:19px!important;line-height:1!important;border-radius:8px!important;margin:4px 0 0!important}
#edivc-app .edivc-att-row{align-items:center!important}

/* 0.3.9 - Estado azul y valoración compacta de nivel respecto al grupo */
#edivc-app .edivc-att-check .edivc-att-status[data-status="present"]{background:#e8f2ff!important;border-color:#8db6ed!important;color:#1763b4!important}
#edivc-app .edivc-att-check{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important}
#edivc-app .edivc-level-options{display:inline-flex!important;align-items:center!important;gap:3px!important;border:1px solid #d9e2ee!important;border-radius:9px!important;padding:3px!important;background:#f8fafc!important}
#edivc-app .edivc-level-btn{width:32px!important;height:35px!important;min-width:32px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:1px solid transparent!important;border-radius:6px!important;color:#53647b!important;font-size:19px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer!important}
#edivc-app .edivc-level-btn[data-selected="1"]{background:#173b61!important;color:#fff!important;border-color:#173b61!important}
#edivc-app .edivc-level-btn:focus-visible{outline:2px solid #ff9418!important;outline-offset:2px}
@media(max-width:600px){#edivc-app .edivc-att-row{padding:10px!important;gap:6px!important}#edivc-app .edivc-level-btn{width:28px!important;min-width:28px!important;height:32px!important}}

/* EDIV 0.4.0: asistencia izquierda, nivel centro, observaciones derecha */
#edivc-app .edivc-att-rows{display:block!important}
#edivc-app .edivc-att-row{display:grid!important;grid-template-columns:minmax(170px,1fr) minmax(190px,auto) minmax(210px,1.1fr)!important;align-items:center!important;gap:14px!important;padding:12px 15px!important;border-right:0!important;min-height:76px!important}
#edivc-app .edivc-att-name{grid-column:1!important;min-width:0!important}
#edivc-app .edivc-att-controls{display:contents!important}
#edivc-app .edivc-att-check{grid-column:2!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;flex-wrap:nowrap!important}
#edivc-app .edivc-att-note-label{grid-column:3!important;display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
#edivc-app .edivc-note-caption{font-size:11px!important;color:#64748b!important;font-weight:500!important}
#edivc-app .edivc-att-note{width:100%!important;max-width:none!important;min-width:0!important;height:43px!important;padding:8px 10px!important;border:1px solid #d5e1ee!important;border-radius:9px!important;background:#fff!important;font-size:13px!important;box-sizing:border-box!important}
#edivc-app .edivc-att-note:focus{border-color:#ff9418!important;outline:2px solid #ff941833!important}
@media(max-width:800px){#edivc-app .edivc-att-row{grid-template-columns:1fr auto!important;gap:9px!important}#edivc-app .edivc-att-name{grid-column:1!important}#edivc-app .edivc-att-check{grid-column:2!important}#edivc-app .edivc-att-note-label{grid-column:1 / -1!important}}
@media(max-width:430px){#edivc-app .edivc-att-row{grid-template-columns:1fr!important}#edivc-app .edivc-att-name,#edivc-app .edivc-att-check,#edivc-app .edivc-att-note-label{grid-column:1!important}}

/* EDIV 0.4.1: nivel explícito y observaciones ampliables */
#edivc-app .edivc-level-wrapper{display:flex;flex-direction:column;gap:5px;min-width:0}
#edivc-app .edivc-level-caption{font-size:11px;color:#64748b;font-weight:600;white-space:nowrap}
#edivc-app .edivc-att-note{display:block!important;resize:vertical!important;min-height:43px!important;height:43px!important;line-height:23px!important;overflow:hidden!important;transition:min-height .15s ease!important}
#edivc-app .edivc-att-note:focus{min-height:125px!important;height:125px!important;overflow:auto!important;white-space:pre-wrap!important}
#edivc-app .edivc-att-note-required-error{border-color:#c62828!important;outline:2px solid #f9b5b5!important}
#edivc-app .edivc-att-note:focus:not(.edivc-note-required-error){outline:2px solid #ff941833!important}
@media(min-width:801px){#edivc-app .edivc-att-row{grid-template-columns:minmax(170px,1fr) minmax(240px,auto) minmax(230px,1.1fr)!important}}

/* EDIV 0.4.2: alertas inmediatas y mini-informe individual */
#edivc-app .edivc-att-note[data-level-required="1"]:placeholder-shown,#edivc-app .edivc-att-note.edivc-note-required-error{border:2px solid #d63838!important;background:#fff0f0!important;box-shadow:0 0 0 3px rgba(214,56,56,.10)!important}
#edivc-app .edivc-att-note[data-level-required="1"]:not(:placeholder-shown){border-color:#83b99b!important;background:#fff!important;box-shadow:none!important}
#edivc-app .edivc-mini-report-toggle{border:0!important;background:transparent!important;padding:2px 0!important;color:#1d5d9b!important;font-size:12px!important;text-align:left!important;cursor:pointer!important;width:max-content!important;min-height:0!important}
#edivc-app .edivc-mini-report-toggle:hover{text-decoration:underline!important}
#edivc-app .edivc-mini-report[hidden]{display:none!important}
#edivc-app .edivc-mini-report{display:block!important;width:100%!important;max-width:350px!important;background:#f5f8fc!important;border:1px solid #dce7f2!important;border-radius:10px!important;padding:12px!important;margin-top:7px!important;font-size:12px!important}
#edivc-app .edivc-mini-report-title{font-weight:700!important;margin-bottom:7px!important}
#edivc-app .edivc-mini-stats{display:flex!important;gap:10px!important;flex-wrap:wrap!important}
#edivc-app .edivc-mini-stats span{font-size:11px!important}
#edivc-app .edivc-mini-bar{height:9px!important;border-radius:8px!important;background:#f4d6d6!important;overflow:hidden!important;margin:9px 0 4px!important}
#edivc-app .edivc-mini-bar i{display:block!important;height:100%!important;background:#2474bd!important}
#edivc-app .edivc-mini-dates{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:8px!important}
#edivc-app .edivc-mini-day{padding:3px 5px!important;border-radius:5px!important;background:#e4efff!important;color:#125397!important;font-size:10px!important}
#edivc-app .edivc-mini-day.is-absent{background:#ffe2e2!important;color:#a11b1b!important}
#edivc-app .edivc-mini-day.is-excused{background:#d8f4df!important;color:#17632b!important}

/* EDIV 0.4.3: informe ancho completo y valoración compacta por colores */
#edivc-app .edivc-att-row{grid-template-columns:minmax(200px,1.2fr) minmax(280px,auto) minmax(240px,1.2fr)!important;column-gap:14px!important;row-gap:9px!important}
#edivc-app .edivc-att-name{display:flex!important;flex-direction:column!important;gap:5px!important}
#edivc-app .edivc-level-wrapper{gap:3px!important}
#edivc-app .edivc-level-caption{font-size:12px!important;font-weight:600!important;color:#173b61!important}
#edivc-app .edivc-level-options{gap:3px!important;padding:2px!important;border-radius:8px!important}
#edivc-app .edivc-level-btn{height:28px!important;min-height:28px!important;width:32px!important;min-width:32px!important;font-size:17px!important;border-radius:5px!important}
#edivc-app .edivc-level-btn[data-level="below"][data-selected="1"]{background:#c83232!important;border-color:#c83232!important;color:white!important}
#edivc-app .edivc-level-btn[data-level="same"][data-selected="1"]{background:#1964a8!important;border-color:#1964a8!important;color:white!important}
#edivc-app .edivc-level-btn[data-level="above"][data-selected="1"]{background:#19835a!important;border-color:#19835a!important;color:white!important}
#edivc-app .edivc-mini-report{grid-column:1/-1!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;margin-top:2px!important;padding:13px 16px!important}
#edivc-app .edivc-mini-stats{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:9px 0!important}
#edivc-app .edivc-mini-stats>span{flex:1 1 110px!important;display:flex!important;align-items:baseline!important;gap:5px!important;padding:9px 12px!important;background:white!important;border:1px solid #e0e9f3!important;border-radius:8px!important}
#edivc-app .edivc-mini-stats b{font-size:23px!important;color:#173b61!important}
#edivc-app .edivc-mini-bar{height:10px!important;border-radius:20px!important;overflow:hidden!important}
#edivc-app .edivc-mini-dates{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:10px!important}
@media(max-width:900px){#edivc-app .edivc-att-row{grid-template-columns:minmax(150px,1fr) minmax(210px,auto)!important}#edivc-app .edivc-att-note-label{grid-column:1/-1!important}#edivc-app .edivc-mini-report{grid-column:1/-1!important}}
@media(max-width:550px){#edivc-app .edivc-att-row{grid-template-columns:1fr!important}#edivc-app .edivc-att-name,#edivc-app .edivc-att-check,#edivc-app .edivc-att-note-label,#edivc-app .edivc-mini-report{grid-column:1!important}#edivc-app .edivc-att-check{justify-content:space-between!important}}

/* EDIV 0.4.4: filas compactas y alertas de evolución técnica */
@media(min-width:901px){
#edivc-app .edivc-att-row{grid-template-columns:minmax(210px,1.25fr) minmax(260px,auto) minmax(260px,1.35fr)!important;min-height:64px!important;padding:9px 14px!important;gap:9px 13px!important}
#edivc-app .edivc-att-name{gap:1px!important}
#edivc-app .edivc-att-name strong{font-size:15px!important;line-height:1.3!important}
#edivc-app .edivc-att-check{gap:10px!important}
#edivc-app .edivc-att-status{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;font-size:24px!important;padding:2px!important}
#edivc-app .edivc-level-caption,#edivc-app .edivc-note-caption{font-size:10px!important;line-height:1.1!important}
#edivc-app .edivc-level-options{padding:1px 3px!important}
#edivc-app .edivc-level-btn{height:25px!important;min-height:25px!important;width:29px!important;min-width:29px!important}
#edivc-app .edivc-att-note{height:37px!important;min-height:37px!important;line-height:19px!important;padding:7px 9px!important}
#edivc-app .edivc-att-note:focus{height:120px!important;min-height:120px!important}
}
#edivc-app .edivc-technical-summary{margin-top:12px!important;padding-top:10px!important;border-top:1px solid #dbe5ef!important}
#edivc-app .edivc-technical-counts{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin:8px 0!important}
#edivc-app .edivc-technical-counts span{padding:5px 9px!important;border-radius:7px!important;font-weight:600!important}
#edivc-app .edivc-technical-counts .is-below,#edivc-app .edivc-technical-timeline .is-below{background:#ffe7e7!important;color:#a92323!important}
#edivc-app .edivc-technical-counts .is-same,#edivc-app .edivc-technical-timeline .is-same{background:#e2efff!important;color:#145b9d!important}
#edivc-app .edivc-technical-counts .is-above,#edivc-app .edivc-technical-timeline .is-above{background:#e0f5e9!important;color:#167448!important}
#edivc-app .edivc-technical-timeline{display:flex!important;gap:5px!important;flex-wrap:wrap!important}
#edivc-app .edivc-technical-timeline span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:27px!important;height:27px!important;border-radius:6px!important;font-size:17px!important;font-weight:700!important}
#edivc-app .edivc-technical-alert{background:#fff4db!important;border-left:4px solid #e3a12a!important;padding:10px 12px!important;border-radius:6px!important;margin-top:10px!important;color:#69460c!important}
#edivc-app .edivc-technical-alert.is-priority{background:#ffe7e7!important;border-left-color:#c83232!important;color:#8e1e1e!important}

/* v0.4.5: informe del deportista y coordinación */
#edivc-app .edivc-management-notes,#edivc-app .edivc-management-review,#edivc-app .edivc-review-form{margin-top:14px;padding:14px;border:1px solid #dbe4f0;border-radius:12px;background:#f8fbff;}
#edivc-app .edivc-management-text{white-space:normal;line-height:1.55;padding:10px 0;}
#edivc-app .edivc-management-editor,#edivc-app [data-review-decision]{display:block;width:100%;min-height:85px;margin:8px 0;box-sizing:border-box;}
#edivc-app .edivc-management-save,#edivc-app [data-mark-reviewed]{width:auto;min-height:38px;padding:8px 14px;}
#edivc-app .edivc-reviewed-label{color:#177245;font-weight:600;}

/* EDIV 0.4.7: notas individuales y confirmaciones de lectura */
#edivc-app .edivc-mini-report-toggle.edivc-report-unread{color:#b42318!important;font-weight:750!important;}
#edivc-app .edivc-coord-notes-list{display:flex;flex-direction:column;gap:9px;margin:10px 0 16px;}
#edivc-app .edivc-coord-note{border:1px solid #d8e3f1;border-radius:10px;padding:12px;background:#fff;}
#edivc-app .edivc-coord-note.is-unread{border-left:4px solid #d34b3f;}
#edivc-app .edivc-coord-note.is-read{background:#f7f9fc;}
#edivc-app .edivc-coord-note-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;}
#edivc-app .edivc-coord-note-top small{display:block;color:#66768d;font-size:12px;margin-top:2px;}
#edivc-app .edivc-coord-note-check{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:13px;white-space:nowrap;}
#edivc-app .edivc-coord-note-check input{width:18px;height:18px;accent-color:#1760a5;cursor:pointer;}
#edivc-app .edivc-coord-note p{margin:8px 0 0;white-space:normal;overflow-wrap:anywhere;}
#edivc-app .edivc-no-coord-notes{font-size:13px;color:#66768d;margin:7px 0 12px;}

/* v0.4.8: notas de coordinación compactas y desplegables */
#edivc-app .edivc-coord-notes-list{gap:6px;margin:8px 0 12px;}
#edivc-app .edivc-coord-note{padding:7px 10px;border-radius:9px;}
#edivc-app .edivc-coord-note-top{flex-wrap:nowrap;align-items:center;gap:10px;}
#edivc-app .edivc-coord-note-details{min-width:0;flex:1;}
#edivc-app .edivc-coord-note-details summary{cursor:pointer;display:flex;align-items:center;gap:10px;min-width:0;list-style:none;}
#edivc-app .edivc-coord-note-details summary::-webkit-details-marker{display:none;}
#edivc-app .edivc-coord-note-details summary:before{content:'▸';font-size:13px;color:#637891;flex-shrink:0;}
#edivc-app .edivc-coord-note-details[open] summary:before{content:'▾';}
#edivc-app .edivc-coord-note-meta{display:flex;flex-direction:column;min-width:135px;flex-shrink:0;line-height:1.3;}
#edivc-app .edivc-coord-note-meta strong{font-size:13px;}
#edivc-app .edivc-coord-note-meta small{font-size:11px;margin:0;}
#edivc-app .edivc-coord-note-preview{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#334861;}
#edivc-app .edivc-coord-note-details[open] .edivc-coord-note-preview{display:none;}
#edivc-app .edivc-coord-note-details p{margin:8px 0 3px 18px;font-size:14px;line-height:1.5;}
#edivc-app .edivc-coord-note-check{margin:0;flex-shrink:0;font-size:12px;}
@media(max-width:650px){#edivc-app .edivc-coord-note-meta{min-width:0;max-width:130px;}#edivc-app .edivc-coord-note-details summary{gap:5px;}#edivc-app .edivc-coord-note-preview{font-size:12px;}#edivc-app .edivc-coord-note-check span{display:none;}}

#edivc-app .edivc-moderate-delete{flex-shrink:0;width:32px;min-width:32px;height:32px;padding:3px;border:1px solid #f2c4c4;border-radius:8px;background:#fff6f6;color:#b42323;font-size:15px;cursor:pointer}#edivc-app .edivc-observation-history{margin-top:15px}#edivc-app .edivc-observation-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e4eaf3;font-size:13px}#edivc-app .edivc-observation-entry span{min-width:0;overflow-wrap:anywhere}

/* v0.5.1: notas compactas, lectura para entrenadores y coordinador adjunto */
#edivc-app .edivc-coord-notes-list{gap:5px!important;margin:7px 0 10px!important}
#edivc-app .edivc-coord-note{padding:7px 10px!important;min-height:0!important}
#edivc-app .edivc-coord-note-top{min-height:32px!important;gap:8px!important}
#edivc-app .edivc-coord-note-details summary{min-height:30px!important}
#edivc-app .edivc-coord-note-meta{min-width:125px!important}
#edivc-app .edivc-coord-note-eye{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;flex-shrink:0!important;border:1px solid #c9d7e7!important;border-radius:8px!important;background:#fff!important;color:#1c568b!important;font-size:23px!important;line-height:1!important;padding:0!important;cursor:pointer!important}
#edivc-app .edivc-coord-note-eye.is-read{background:#e9f4ff!important;color:#2776a8!important;cursor:default!important}
#edivc-app .edivc-coord-note-eye:focus-visible{outline:2px solid #ff9418!important}
@media(max-width:650px){#edivc-app .edivc-coord-note{padding:6px 8px!important}#edivc-app .edivc-coord-note-meta{min-width:0!important;max-width:112px!important}}

/* v0.5.2: moderación y seguimiento de lectura */
#edivc-app .edivc-moderate-delete{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;border:1px solid #e8a7a7!important;background:#fff5f5!important;color:#ad2929!important;border-radius:7px!important;font-size:23px!important;font-weight:500!important;line-height:22px!important;padding:0!important} 
#edivc-app .edivc-moderate-delete:hover{background:#ffe6e6!important}
#edivc-app .edivc-coord-receipts{display:flex;flex-wrap:wrap;gap:4px 14px;margin:3px 0 0 18px;font-size:11px;line-height:1.35;color:#63758a}
#edivc-app .edivc-coord-receipts:empty{display:none}
#edivc-app .edivc-receipt-read{color:#24734d}
#edivc-app .edivc-receipt-pending{color:#a35d20}

/* v0.5.3: control de lectura claro, pequeño y accesible */
#edivc-app button.edivc-note-eye{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:1px solid #a8bfd6!important;border-radius:50%!important;background:#fff!important;color:#234e75!important;font-family:Arial,sans-serif!important;font-size:18px!important;font-weight:700!important;box-shadow:none!important;line-height:1!important}
#edivc-app button.edivc-note-eye.is-read{background:#e5f4eb!important;border-color:#9acbab!important;color:#187444!important}
#edivc-app button.edivc-note-eye:disabled{opacity:1!important}

/* 0.5.4 - Asistencia compacta y autoguardado */
#edivc-app .edivc-status-col{display:flex;flex-direction:column;align-items:center;gap:5px}
#edivc-app .edivc-status-caption{font-size:11px;line-height:1.2;color:#52657f;font-weight:600}
#edivc-app .edivc-autosave-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:9px 0 12px!important;font-size:12px;color:#32634e}
#edivc-app .edivc-autosave-bar .is-error{color:#bb3030}
#edivc-app .edivc-save-fallback{font-size:12px!important;padding:7px 12px!important;min-height:30px!important}
#edivc-app .edivc-extra-compact{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-top:8px}
#edivc-app .edivc-extra-compact label{flex:1;min-width:190px;margin:0!important}
#edivc-app .edivc-extra-compact select{width:100%;max-width:none}
#edivc-app .edivc-extra-compact button{width:auto!important;min-height:38px!important;padding:8px 13px!important;margin:0!important}
#edivc-app .edivc-att-row{min-height:58px!important;padding:8px 12px!important}
#edivc-app .edivc-att-check{align-items:center!important}
#edivc-app .edivc-att-status{width:40px!important;height:40px!important;min-height:40px!important;padding:3px!important}
#edivc-app .edivc-level-options{min-height:40px!important}
@media(max-width:550px){#edivc-app .edivc-extra-compact{display:block}#edivc-app .edivc-extra-compact button{margin-top:8px!important}}

/* Vista de asistencia general para coordinación */
#edivc-app .edivc-att-view-switch{display:flex;gap:8px;margin:12px 0 16px;flex-wrap:wrap}
#edivc-app .edivc-att-view-switch[hidden],#edivc-app #edivc-att-all[hidden],#edivc-app #edivc-att-detail[hidden]{display:none!important}
#edivc-app .edivc-att-view-switch button{padding:9px 16px;border-radius:9px;background:#f1f5f9;color:#173d63;border:1px solid #d8e3f1}
#edivc-app .edivc-att-view-switch button.is-active{background:#173d63;color:white}
#edivc-app .edivc-all-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0;color:#173d63}
#edivc-app .edivc-all-group{margin:14px 0;border:1px solid #d8e3f1;border-radius:12px;overflow:hidden}
#edivc-app .edivc-all-group h4{background:#edf3fa;padding:12px 16px;margin:0;font-size:17px;color:#173d63}
#edivc-app .edivc-all-group h4 small{font-size:13px;font-weight:400;margin-left:10px}
#edivc-app .edivc-all-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:4px 16px}
#edivc-app .edivc-all-athlete{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #e7edf5;min-width:0}
#edivc-app .edivc-all-athlete span{font-size:15px;overflow-wrap:anywhere}
#edivc-app button.edivc-all-status{width:38px;height:38px;min-width:38px;padding:0;border-radius:9px;font-size:24px;line-height:1;font-weight:700;background:#e7f1ff;color:#1762b4;border:1px solid #a9caff}
#edivc-app button.edivc-all-status[data-status="absent"]{background:#fee9e9;color:#b91c1c;border-color:#f6b6b6}
#edivc-app button.edivc-all-status[data-status="excused"]{background:#e4f8ed;color:#16784c;border-color:#a3dfbd}
#edivc-app button.edivc-all-status:disabled{opacity:.5}
#edivc-app #edivc-all-feedback{font-size:13px;color:#365a7a;margin:10px 0}
@media(max-width:700px){#edivc-app .edivc-all-rows{grid-template-columns:1fr}}

/* 0.5.6: alta exclusiva de coordinación y estados inequívocos */
#edivc-app #edivc-athlete-create-fields[hidden]{display:none!important}
#edivc-app .edivc-athlete-report-link{font-size:13px;padding:7px 11px;background:#edf4fd;color:#173d63;border:1px solid #d6e4f4;border-radius:8px;white-space:nowrap}
#edivc-app .edivc-athlete-summary{gap:10px;flex-wrap:wrap}
#edivc-app button.edivc-all-status{background:#e7f1ff!important;color:#1762b4!important;border-color:#a9caff!important}
#edivc-app button.edivc-all-status[data-status="absent"]{background:#fee9e9!important;color:#b91c1c!important;border-color:#f6b6b6!important}
#edivc-app button.edivc-all-status[data-status="excused"]{background:#e4f8ed!important;color:#16784c!important;border-color:#a3dfbd!important}

/* Informe unificado: misma presentación que el historial de asistencia */
#edivc-app .edivc-report-unified .edivc-mini-report{display:block;margin-top:18px;}
#edivc-app .edivc-report-unified .edivc-report-unified-details{margin:4px 0 14px;color:#667991;}
#edivc-app .edivc-report-unified .edivc-management-notes{break-inside:avoid;}
@media print{#edivc-app .edivc-report-unified .edivc-mini-report{display:block!important;}#edivc-app .edivc-report-unified button,#edivc-app .edivc-report-unified textarea{display:none!important;}}

/* EDIV 0.5.8: calendario compacto y planificación técnica */
#edivc-app .edivc-cal-compact{padding:12px 14px!important;min-height:0!important;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#edivc-app .edivc-cal-compact small{display:block;font-size:12px;margin-top:2px}
#edivc-app .edivc-plan-trigger{font-size:13px!important;padding:9px 12px!important;margin-left:auto}
#edivc-app .edivc-exercise-planner{border:1px solid #d5e1ee;background:#f7faff;border-radius:16px;padding:18px;margin:14px 0}
#edivc-app .edivc-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#edivc-app .edivc-plan-heading strong{font-size:19px;color:#173b60}
#edivc-app .edivc-plan-heading small{display:block;color:#657a90}
#edivc-app .edivc-plan-help{font-size:13px;color:#53677c;margin:12px 0}
#edivc-app .edivc-plan-category{border:1px solid #d9e4f0;border-radius:9px;background:#fff;margin:8px 0;padding:0 12px}
#edivc-app .edivc-plan-category summary{padding:12px 0;cursor:pointer;font-weight:600;color:#193f65}
#edivc-app .edivc-plan-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 0 14px}
#edivc-app .edivc-plan-choices label{display:flex;align-items:center;gap:9px;border:1px solid #e0e8f1;border-radius:9px;padding:10px;font-size:14px;cursor:pointer}
#edivc-app .edivc-plan-choices input{width:17px;height:17px;flex:none}
#edivc-app .edivc-plan-footer{display:flex;align-items:center;gap:12px;margin-top:14px}
@media(max-width:650px){#edivc-app .edivc-plan-choices{grid-template-columns:1fr}}

.edivc-training-report{padding:18px;margin:16px 0;border:1px solid #d5e2ef;border-radius:14px;background:#f7faff}.edivc-training-report h4{margin:0 0 8px;color:#183d63}.edivc-radar-layout{display:grid;grid-template-columns:minmax(200px,440px) 1fr;align-items:center;gap:16px}.edivc-radar-layout svg{width:100%;max-height:350px}.edivc-radar-legend{display:grid;gap:8px}.edivc-radar-legend div{border-bottom:1px solid #e0e8f2;padding:5px 0;display:flex;justify-content:space-between;gap:12px}.edivc-radar-legend span{color:#60748a;white-space:nowrap}@media(max-width:680px){.edivc-radar-layout{grid-template-columns:1fr}.edivc-radar-legend div{flex-wrap:wrap}}

/* EDIV v0.6.0 · planificación personal */
#edivc-app .edivc-plan-trigger.is-completed{background:#18754d!important;color:white!important;border-color:#18754d!important}
#edivc-app .edivc-training-stats{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}
#edivc-app .edivc-training-stats span{background:#eef4fa;padding:12px 16px;border-radius:12px;flex:1;min-width:145px}
#edivc-app .edivc-training-stats b{font-size:24px;color:#173d63;margin-right:7px}
#edivc-app .edivc-training-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#edivc-app .edivc-training-card{border:1px solid #d9e5f0;background:#f8fbff;border-radius:15px;padding:18px;min-width:0}
#edivc-app .edivc-training-card h4{margin:0 0 14px}
#edivc-app .edivc-training-card label{display:block;margin:12px 0}
#edivc-app .edivc-training-step{display:flex;align-items:center;gap:8px;margin:8px 0}
#edivc-app .edivc-training-step select{flex:1;min-width:0}
#edivc-app .edivc-training-step input{width:68px;flex:none}
#edivc-app .edivc-training-step button{padding:6px 10px!important;background:#fff!important;color:#b52b2b!important;border:1px solid #efcaca!important}
#edivc-app .edivc-training-card svg{display:block;max-width:340px;margin:auto}
#edivc-app .edivc-training-category-list>div{display:flex;justify-content:space-between;gap:10px;padding:5px;border-bottom:1px solid #dbe6f1;font-size:13px}
#edivc-app .edivc-training-unused{margin:18px 0}
#edivc-app .edivc-training-unused summary{cursor:pointer;font-weight:600}
#edivc-app .edivc-training-unused>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
#edivc-app .edivc-training-unused span{font-size:12px;padding:5px 9px;border:1px solid #dce6f0;border-radius:20px;background:#fff}
#edivc-app .edivc-training-alert{padding:12px 16px;border-left:3px solid #f3921e;background:#fff6e9;border-radius:7px;margin:14px 0}
#edivc-app .edivc-training-history>div{display:flex;gap:14px;border-bottom:1px solid #dce6f0;padding:9px 0;font-size:13px}
#edivc-app .edivc-training-history strong{white-space:nowrap}
@media(max-width:800px){#edivc-app .edivc-training-columns{grid-template-columns:1fr}#edivc-app .edivc-training-step{flex-wrap:wrap}#edivc-app .edivc-training-step select{flex-basis:100%}}

/* v0.6.1: selector de ejercicios visible en planificación */
#edivc-app .edivc-training-step{display:grid;grid-template-columns:minmax(0,1fr) 88px auto 44px;align-items:end;gap:10px;margin:12px 0;padding:10px;border:1px solid #d9e5f1;border-radius:12px;background:#fff}
#edivc-app .edivc-training-step label{display:flex;flex-direction:column;gap:5px;font-size:13px;min-width:0}
#edivc-app .edivc-training-step .edivc-step-exercise select{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:44px!important;max-width:100%!important;margin:0!important}
#edivc-app .edivc-training-step .edivc-step-minutes input{width:100%!important;min-height:44px;margin:0!important}
#edivc-app .edivc-training-step>span{padding-bottom:12px}
#edivc-app .edivc-prep-image{margin-left:8px;background:#e8f2fc!important;color:#173e65!important}
@media(max-width:700px){#edivc-app .edivc-training-step{grid-template-columns:minmax(0,1fr) 75px auto 36px}#edivc-app .edivc-training-step .edivc-step-exercise{grid-column:1/-1}#edivc-app .edivc-prep-image{margin:8px 0 0;display:block}}

/* Supervisión de entrenamientos */
.edivc-supervision-plan{border:1px solid #d7e3f2;border-radius:12px;margin:9px 0;background:#f8fbff;overflow:hidden}.edivc-supervision-plan summary{cursor:pointer;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 16px;list-style:none}.edivc-supervision-plan summary strong{min-width:145px}.edivc-supervision-plan summary span{font-size:.9em}.edivc-supervision-plan>div{padding:5px 20px 16px;border-top:1px solid #e1e9f2}.edivc-supervision-done{color:#087647;font-weight:700}.edivc-supervision-pending{color:#9a651c}.edivc-supervision-person{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #dbe5f0}.edivc-supervision-person span{color:#62758a}@media(max-width:650px){.edivc-supervision-plan summary{display:grid;grid-template-columns:1fr 1fr}.edivc-supervision-person{flex-direction:column;gap:3px}}
